@motionscript/core 0.1.0-alpha.8 → 0.1.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/CHANGELOG.md +25 -0
- package/LICENSE +201 -201
- package/NOTICE +49 -49
- package/README.md +91 -91
- package/dist/assets/asset-index.js.map +1 -1
- package/dist/assets/catalog.js.map +1 -1
- package/dist/assets/errors.js.map +1 -1
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/manager.js.map +1 -1
- package/dist/assets/manifest.js.map +1 -1
- package/dist/assets/record.js.map +1 -1
- package/dist/assets/scope.js.map +1 -1
- package/dist/attributes/audio/effects/chain.js.map +1 -1
- package/dist/attributes/audio/effects/implementations/echo.js.map +1 -1
- package/dist/attributes/audio/effects/implementations/gain.js.map +1 -1
- package/dist/attributes/audio/effects/implementations/highpass.js.map +1 -1
- package/dist/attributes/audio/effects/implementations/lowpass.js.map +1 -1
- package/dist/attributes/audio/effects/implementations/tremolo.js.map +1 -1
- package/dist/attributes/audio/effects/index.js.map +1 -1
- package/dist/attributes/audio/effects/registry.js.map +1 -1
- package/dist/attributes/audio/effects/union.js.map +1 -1
- package/dist/attributes/audio/ramp.js.map +1 -1
- package/dist/attributes/audio/request.js.map +1 -1
- package/dist/attributes/audio/schedule.js.map +1 -1
- package/dist/attributes/audio/sound.js.map +1 -1
- package/dist/attributes/audio/transition.js.map +1 -1
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/layout/alignment.js.map +1 -1
- package/dist/attributes/layout/index.js.map +1 -1
- package/dist/attributes/layout/insets.js.map +1 -1
- package/dist/attributes/layout/matrix2d.js.map +1 -1
- package/dist/attributes/layout/size.js.map +1 -1
- package/dist/attributes/layout/space3d.js.map +1 -1
- package/dist/attributes/layout/transform3d.js.map +1 -1
- package/dist/attributes/layout/vector2.js.map +1 -1
- package/dist/attributes/layout/world-transform.js.map +1 -1
- package/dist/attributes/mask/boolean.js.map +1 -1
- package/dist/attributes/mask/mask.js.map +1 -1
- package/dist/attributes/properties/decorator.js.map +1 -1
- package/dist/attributes/properties/inputs.js.map +1 -1
- package/dist/attributes/properties/typed.js.map +1 -1
- package/dist/attributes/render3d/orbit.js.map +1 -1
- package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
- package/dist/attributes/shape/corners/corner-style.js.map +1 -1
- package/dist/attributes/shape/corners/corners.js.map +1 -1
- package/dist/attributes/shape/corners/index.js.map +1 -1
- package/dist/attributes/shape/effects/backdrop.js.map +1 -1
- package/dist/attributes/shape/effects/chain.js.map +1 -1
- package/dist/attributes/shape/effects/effect-data.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/curves.d.ts +2 -2
- package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/dither.d.ts +2 -2
- package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glow.d.ts +4 -4
- package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/invert.d.ts +2 -2
- package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.d.ts +2 -2
- package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
- package/dist/attributes/shape/effects/index.js.map +1 -1
- package/dist/attributes/shape/effects/registry.js.map +1 -1
- package/dist/attributes/shape/effects/spec.js.map +1 -1
- package/dist/attributes/shape/effects/union.js.map +1 -1
- package/dist/attributes/shape/fill/blend.js.map +1 -1
- package/dist/attributes/shape/fill/chain.js.map +1 -1
- package/dist/attributes/shape/fill/coerce.js.map +1 -1
- package/dist/attributes/shape/fill/color/constants.js.map +1 -1
- package/dist/attributes/shape/fill/color/parser.d.ts.map +1 -1
- package/dist/attributes/shape/fill/color/parser.js +20 -5
- package/dist/attributes/shape/fill/color/parser.js.map +1 -1
- package/dist/attributes/shape/fill/gradient-stops.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/canvas3d.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/color.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/conic-gradient.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/dot-grid.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/fractal-noise.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/grid.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/image.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/linear-gradient.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/noise.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/radial-gradient.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/stripe.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/video.js.map +1 -1
- package/dist/attributes/shape/fill/index.js.map +1 -1
- package/dist/attributes/shape/fill/lerp.js.map +1 -1
- package/dist/attributes/shape/fill/media-preset.js.map +1 -1
- package/dist/attributes/shape/fill/registry.js.map +1 -1
- package/dist/attributes/shape/fill/union.js.map +1 -1
- package/dist/attributes/shape/filters/chain.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/alpha.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/blur.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-adjustment.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/echo.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/exposure.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/grayscale.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/posterize-time.js.map +1 -1
- package/dist/attributes/shape/filters/index.js.map +1 -1
- package/dist/attributes/shape/filters/registry.js.map +1 -1
- package/dist/attributes/shape/filters/union.js.map +1 -1
- package/dist/attributes/shape/path/anchors.js.map +1 -1
- package/dist/attributes/shape/path/bezier.js.map +1 -1
- package/dist/attributes/shape/path/index.js.map +1 -1
- package/dist/attributes/shape/path/measure.js.map +1 -1
- package/dist/attributes/shape/path/morph.js.map +1 -1
- package/dist/attributes/shape/path/ops.js.map +1 -1
- package/dist/attributes/shape/path/types.js.map +1 -1
- package/dist/attributes/shape/path/walk.js.map +1 -1
- package/dist/attributes/shape/shaders/index.js.map +1 -1
- package/dist/attributes/shape/shaders/language.js.map +1 -1
- package/dist/attributes/shape/shaders/pack.js.map +1 -1
- package/dist/attributes/shape/shaders/resolve.js.map +1 -1
- package/dist/attributes/shape/shadow/index.js.map +1 -1
- package/dist/attributes/shape/shadow/shadow.js.map +1 -1
- package/dist/attributes/shape/stroke/index.js.map +1 -1
- package/dist/attributes/shape/stroke/stroke.js.map +1 -1
- package/dist/attributes/shared/operators.js.map +1 -1
- package/dist/attributes/text/index.js.map +1 -1
- package/dist/attributes/text/ops.js.map +1 -1
- package/dist/attributes/text/types.js.map +1 -1
- package/dist/browser/chunks/{chunk-LKUYVFU3.js → chunk-4BDLFEOC.js} +1 -1
- package/dist/browser/chunks/chunk-4BDLFEOC.js.map +7 -0
- package/dist/browser/chunks/chunk-CCGVIR4F.js +3 -0
- package/dist/browser/chunks/chunk-CCGVIR4F.js.map +7 -0
- package/dist/browser/chunks/chunk-N4WSN5WY.js +13 -0
- package/dist/browser/chunks/chunk-N4WSN5WY.js.map +7 -0
- package/dist/browser/chunks/chunk-WZSI3GSK.js +6 -0
- package/dist/browser/chunks/chunk-WZSI3GSK.js.map +7 -0
- package/dist/browser/component.js +1 -1
- package/dist/browser/experimental.js +1 -1
- package/dist/browser/experimental.js.map +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/manifest.json +1 -1
- package/dist/browser/sdk.js +1 -1
- package/dist/component.js.map +1 -1
- package/dist/components/builtins/audio/audio.js.map +1 -1
- package/dist/components/builtins/geometry/composite.js.map +1 -1
- package/dist/components/builtins/geometry/geometry.js.map +1 -1
- package/dist/components/builtins/geometry/shape-outline.js.map +1 -1
- package/dist/components/builtins/layout/layout.js.map +1 -1
- package/dist/components/builtins/media/media.js.map +1 -1
- package/dist/components/builtins/providers/providers.js.map +1 -1
- package/dist/components/builtins/text/number-format.js.map +1 -1
- package/dist/components/builtins/text/number-pattern.js.map +1 -1
- package/dist/components/builtins/text/text-defaults.js.map +1 -1
- package/dist/components/builtins/text/text-layout.js.map +1 -1
- package/dist/components/builtins/text/text.d.ts +9 -9
- package/dist/components/builtins/text/text.js.map +1 -1
- package/dist/components/builtins/three/canvas3d.js.map +1 -1
- package/dist/components/builtins/three/grid-geometry3d.js.map +1 -1
- package/dist/components/builtins/three/three.js.map +1 -1
- package/dist/components/factory/api.js.map +1 -1
- package/dist/components/factory/clip-of.js.map +1 -1
- package/dist/components/factory/commands-for.js.map +1 -1
- package/dist/components/factory/component-audio.js.map +1 -1
- package/dist/components/factory/component2d.js.map +1 -1
- package/dist/components/factory/component3d.js.map +1 -1
- package/dist/components/factory/factory.js.map +1 -1
- package/dist/components/factory/timeline.js.map +1 -1
- package/dist/components/factory/type-def.js.map +1 -1
- package/dist/components/factory/types.js.map +1 -1
- package/dist/components/factory/views.d.ts.map +1 -1
- package/dist/components/factory/views.js +41 -1
- package/dist/components/factory/views.js.map +1 -1
- package/dist/components/modules/aim.js.map +1 -1
- package/dist/components/modules/corners.js.map +1 -1
- package/dist/components/modules/flow.js.map +1 -1
- package/dist/components/modules/material.js.map +1 -1
- package/dist/components/modules/paint.js.map +1 -1
- package/dist/components/modules/shapes.js.map +1 -1
- package/dist/components/modules/text-layout.js.map +1 -1
- package/dist/components/modules/text-style.d.ts +1 -1
- package/dist/components/modules/text-style.js.map +1 -1
- package/dist/components/modules/three-entries.js.map +1 -1
- package/dist/components/modules/view3d.js.map +1 -1
- package/dist/components/trees/2d/group-bounds.js.map +1 -1
- package/dist/components/trees/2d/node-lifecycle.js.map +1 -1
- package/dist/components/trees/2d/node-motion.js.map +1 -1
- package/dist/components/trees/2d/node-render.js.map +1 -1
- package/dist/components/trees/2d/node-space.js.map +1 -1
- package/dist/components/trees/2d/node-transform.js.map +1 -1
- package/dist/components/trees/2d/node2d.js.map +1 -1
- package/dist/components/trees/audio/index.js.map +1 -1
- package/dist/components/trees/audio/node-audio.js.map +1 -1
- package/dist/components/trees/index.js.map +1 -1
- package/dist/components/trees/node/node-editor-state.js.map +1 -1
- package/dist/components/trees/node/node-reactive.d.ts +3 -4
- package/dist/components/trees/node/node-reactive.d.ts.map +1 -1
- package/dist/components/trees/node/node-reactive.js +13 -10
- package/dist/components/trees/node/node-reactive.js.map +1 -1
- package/dist/components/trees/node/node-time.js.map +1 -1
- package/dist/components/trees/node/node-walk.js.map +1 -1
- package/dist/components/trees/node/node.js.map +1 -1
- package/dist/components/trees/root/canvas2d-node.js.map +1 -1
- package/dist/components/trees/three/node3d.js.map +1 -1
- package/dist/document/audio.js.map +1 -1
- package/dist/document/builtins.js.map +1 -1
- package/dist/document/command-traits.d.ts +8 -0
- package/dist/document/command-traits.d.ts.map +1 -1
- package/dist/document/command-traits.js +17 -0
- package/dist/document/command-traits.js.map +1 -1
- package/dist/document/deny-globals.js.map +1 -1
- package/dist/document/diff.js.map +1 -1
- package/dist/document/doc-index.js.map +1 -1
- package/dist/document/expression/compile.js.map +1 -1
- package/dist/document/expression/index.js.map +1 -1
- package/dist/document/expression/ops.js.map +1 -1
- package/dist/document/expression/parse.js.map +1 -1
- package/dist/document/expression/refs.js.map +1 -1
- package/dist/document/expression/types.js.map +1 -1
- package/dist/document/expression/walk.js.map +1 -1
- package/dist/document/index.js.map +1 -1
- package/dist/document/migrate.js.map +1 -1
- package/dist/document/missing-node.js.map +1 -1
- package/dist/document/node-decorator.js.map +1 -1
- package/dist/document/node-descriptor.js.map +1 -1
- package/dist/document/placement.js.map +1 -1
- package/dist/document/project.js.map +1 -1
- package/dist/document/prop-evolution.js.map +1 -1
- package/dist/document/registry.js.map +1 -1
- package/dist/document/settled-index.d.ts +6 -0
- package/dist/document/settled-index.d.ts.map +1 -1
- package/dist/document/settled-index.js +18 -1
- package/dist/document/settled-index.js.map +1 -1
- package/dist/document/timeline-patch.js.map +1 -1
- package/dist/document/timeline.d.ts.map +1 -1
- package/dist/document/timeline.js +26 -6
- package/dist/document/timeline.js.map +1 -1
- package/dist/document/types.js.map +1 -1
- package/dist/document/validate.js.map +1 -1
- package/dist/document/vocabulary.js.map +1 -1
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/layout/bounds.js.map +1 -1
- package/dist/layout/constraints.js.map +1 -1
- package/dist/layout/flex.js.map +1 -1
- package/dist/layout/freeform.js.map +1 -1
- package/dist/layout/grid.js.map +1 -1
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/item.js.map +1 -1
- package/dist/layout/ops.js.map +1 -1
- package/dist/layout/types.js.map +1 -1
- package/dist/platform/audio-sink.js.map +1 -1
- package/dist/platform/exporter.js.map +1 -1
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/stepped-clock.js.map +1 -1
- package/dist/platform/storage-adapter.js.map +1 -1
- package/dist/platform/ticker.js.map +1 -1
- package/dist/project/config.js.map +1 -1
- package/dist/project/index.js.map +1 -1
- package/dist/project/tree.js.map +1 -1
- package/dist/props/host.d.ts +5 -0
- package/dist/props/host.d.ts.map +1 -1
- package/dist/props/host.js +3 -1
- package/dist/props/host.js.map +1 -1
- package/dist/props/index.js.map +1 -1
- package/dist/props/layout.d.ts +29 -0
- package/dist/props/layout.d.ts.map +1 -0
- package/dist/props/layout.js +84 -0
- package/dist/props/layout.js.map +1 -0
- package/dist/props/observer.js.map +1 -1
- package/dist/props/slot.js.map +1 -1
- package/dist/renamed-scene-names.js.map +1 -1
- package/dist/render/canvas-render-context2d.js.map +1 -1
- package/dist/render/clip-contains.js.map +1 -1
- package/dist/render/clip.js.map +1 -1
- package/dist/render/descriptors/ellipse.js.map +1 -1
- package/dist/render/descriptors/line.js.map +1 -1
- package/dist/render/descriptors/path-builder.js.map +1 -1
- package/dist/render/descriptors/path.js.map +1 -1
- package/dist/render/descriptors/polygon.js.map +1 -1
- package/dist/render/descriptors/polygram.js.map +1 -1
- package/dist/render/descriptors/rect.js.map +1 -1
- package/dist/render/descriptors/richtext.js.map +1 -1
- package/dist/render/descriptors/shape.js.map +1 -1
- package/dist/render/descriptors/text.js.map +1 -1
- package/dist/render/descriptors/transform.js.map +1 -1
- package/dist/render/graphics2d.js.map +1 -1
- package/dist/render/index.js.map +1 -1
- package/dist/render/measure-context.js.map +1 -1
- package/dist/render/null-render-context.js.map +1 -1
- package/dist/render/render-context2d.js.map +1 -1
- package/dist/render/render-issue.js.map +1 -1
- package/dist/render/surface.js.map +1 -1
- package/dist/render/text-defaults.js.map +1 -1
- package/dist/render/text-layout.js.map +1 -1
- package/dist/render3d/bounds3d.js.map +1 -1
- package/dist/render3d/builders.js.map +1 -1
- package/dist/render3d/camera.js.map +1 -1
- package/dist/render3d/fill3d.js.map +1 -1
- package/dist/render3d/geometry.js.map +1 -1
- package/dist/render3d/graphics3d.js.map +1 -1
- package/dist/render3d/index.js.map +1 -1
- package/dist/render3d/inert.js.map +1 -1
- package/dist/render3d/light.js.map +1 -1
- package/dist/render3d/material.js.map +1 -1
- package/dist/render3d/matrix4.js.map +1 -1
- package/dist/render3d/render-context3d.js.map +1 -1
- package/dist/render3d/resources.js.map +1 -1
- package/dist/render3d/rounded-box.js.map +1 -1
- package/dist/render3d/scene-settings.js.map +1 -1
- package/dist/render3d/scene3d.js.map +1 -1
- package/dist/render3d/segments.js.map +1 -1
- package/dist/render3d/texture.js.map +1 -1
- package/dist/render3d/tracking.js.map +1 -1
- package/dist/render3d/transform.js.map +1 -1
- package/dist/render3d/vector3.js.map +1 -1
- package/dist/render3d/walk.js.map +1 -1
- package/dist/runtime/asset-refine.js.map +1 -1
- package/dist/runtime/asset-timeline.js.map +1 -1
- package/dist/runtime/asset-update.js.map +1 -1
- package/dist/runtime/audio-index.js.map +1 -1
- package/dist/runtime/builtin-context.js.map +1 -1
- package/dist/runtime/clip-instance.js.map +1 -1
- package/dist/runtime/clip-store.js.map +1 -1
- package/dist/runtime/engine.js.map +1 -1
- package/dist/runtime/frame-time.js.map +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/node-picking.js.map +1 -1
- package/dist/runtime/node-picking3d.js.map +1 -1
- package/dist/runtime/placement.js.map +1 -1
- package/dist/runtime/playback-controller.js.map +1 -1
- package/dist/runtime/playback.js.map +1 -1
- package/dist/runtime/precompisition.js.map +1 -1
- package/dist/runtime/project-assets.js.map +1 -1
- package/dist/runtime/session.js.map +1 -1
- package/dist/runtime/settle.js.map +1 -1
- package/dist/runtime/state-evaluator.js.map +1 -1
- package/dist/runtime/text-geometry.js.map +1 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/tween/command-decorator.js.map +1 -1
- package/dist/tween/command.js.map +1 -1
- package/dist/tween/ease/constants.js.map +1 -1
- package/dist/tween/ease/curve.js.map +1 -1
- package/dist/tween/ease/describe.js.map +1 -1
- package/dist/tween/ease/spec.js.map +1 -1
- package/dist/tween/ease/type.js.map +1 -1
- package/dist/tween/index.js.map +1 -1
- package/dist/tween/inert.js.map +1 -1
- package/dist/tween/lerp.js.map +1 -1
- package/dist/tween/loop.js.map +1 -1
- package/dist/tween/prepare.js.map +1 -1
- package/dist/tween/stepper.js.map +1 -1
- package/dist/tween/to-command.js.map +1 -1
- package/dist/util/clamp.js.map +1 -1
- package/dist/util/context.js.map +1 -1
- package/dist/util/csv.js.map +1 -1
- package/dist/util/generateList.js.map +1 -1
- package/dist/util/index.js.map +1 -1
- package/dist/util/metrics.js.map +1 -1
- package/dist/util/random.js.map +1 -1
- package/dist/util/reference.js.map +1 -1
- package/dist/util/scheduler.js.map +1 -1
- package/package.json +1 -1
- package/dist/attributes/audio/filters/chain.d.ts +0 -113
- package/dist/attributes/audio/filters/chain.d.ts.map +0 -1
- package/dist/attributes/audio/filters/chain.js +0 -104
- package/dist/attributes/audio/filters/chain.js.map +0 -1
- package/dist/attributes/audio/filters/curve.d.ts +0 -152
- package/dist/attributes/audio/filters/curve.d.ts.map +0 -1
- package/dist/attributes/audio/filters/curve.js +0 -250
- package/dist/attributes/audio/filters/curve.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/echo.d.ts +0 -14
- package/dist/attributes/audio/filters/implementations/echo.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/echo.js +0 -11
- package/dist/attributes/audio/filters/implementations/echo.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/gain.d.ts +0 -10
- package/dist/attributes/audio/filters/implementations/gain.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/gain.js +0 -6
- package/dist/attributes/audio/filters/implementations/gain.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/highpass.d.ts +0 -12
- package/dist/attributes/audio/filters/implementations/highpass.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/highpass.js +0 -10
- package/dist/attributes/audio/filters/implementations/highpass.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/lowpass.d.ts +0 -12
- package/dist/attributes/audio/filters/implementations/lowpass.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/lowpass.js +0 -10
- package/dist/attributes/audio/filters/implementations/lowpass.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/speed.d.ts +0 -18
- package/dist/attributes/audio/filters/implementations/speed.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/speed.js +0 -6
- package/dist/attributes/audio/filters/implementations/speed.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/tremolo.d.ts +0 -12
- package/dist/attributes/audio/filters/implementations/tremolo.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/tremolo.js +0 -10
- package/dist/attributes/audio/filters/implementations/tremolo.js.map +0 -1
- package/dist/attributes/audio/filters/index.d.ts +0 -22
- package/dist/attributes/audio/filters/index.d.ts.map +0 -1
- package/dist/attributes/audio/filters/index.js +0 -8
- package/dist/attributes/audio/filters/index.js.map +0 -1
- package/dist/attributes/audio/filters/registry.d.ts +0 -36
- package/dist/attributes/audio/filters/registry.d.ts.map +0 -1
- package/dist/attributes/audio/filters/registry.js +0 -82
- package/dist/attributes/audio/filters/registry.js.map +0 -1
- package/dist/attributes/audio/filters/union.d.ts +0 -18
- package/dist/attributes/audio/filters/union.d.ts.map +0 -1
- package/dist/attributes/audio/filters/union.js +0 -28
- package/dist/attributes/audio/filters/union.js.map +0 -1
- package/dist/attributes/shape/sksl-uniforms.d.ts +0 -146
- package/dist/attributes/shape/sksl-uniforms.d.ts.map +0 -1
- package/dist/attributes/shape/sksl-uniforms.js +0 -0
- package/dist/attributes/shape/sksl-uniforms.js.map +0 -1
- package/dist/browser/chunks/chunk-AOT33LMS.js +0 -13
- package/dist/browser/chunks/chunk-AOT33LMS.js.map +0 -7
- package/dist/browser/chunks/chunk-GKM6UZJR.js +0 -6
- package/dist/browser/chunks/chunk-GKM6UZJR.js.map +0 -7
- package/dist/browser/chunks/chunk-LKUYVFU3.js.map +0 -7
- package/dist/browser/chunks/chunk-ZRPZPWZU.js +0 -3
- package/dist/browser/chunks/chunk-ZRPZPWZU.js.map +0 -7
- package/dist/component/api.d.ts +0 -508
- package/dist/component/api.d.ts.map +0 -1
- package/dist/component/api.js +0 -4
- package/dist/component/api.js.map +0 -1
- package/dist/component/builtins/audio.d.ts +0 -26
- package/dist/component/builtins/audio.d.ts.map +0 -1
- package/dist/component/builtins/audio.js +0 -41
- package/dist/component/builtins/audio.js.map +0 -1
- package/dist/component/builtins/canvas3d.d.ts +0 -98
- package/dist/component/builtins/canvas3d.d.ts.map +0 -1
- package/dist/component/builtins/canvas3d.js +0 -21
- package/dist/component/builtins/canvas3d.js.map +0 -1
- package/dist/component/builtins/composite.d.ts +0 -56
- package/dist/component/builtins/composite.d.ts.map +0 -1
- package/dist/component/builtins/composite.js +0 -25
- package/dist/component/builtins/composite.js.map +0 -1
- package/dist/component/builtins/geometry.d.ts +0 -505
- package/dist/component/builtins/geometry.d.ts.map +0 -1
- package/dist/component/builtins/geometry.js +0 -107
- package/dist/component/builtins/geometry.js.map +0 -1
- package/dist/component/builtins/layout.d.ts +0 -88
- package/dist/component/builtins/layout.d.ts.map +0 -1
- package/dist/component/builtins/layout.js +0 -84
- package/dist/component/builtins/layout.js.map +0 -1
- package/dist/component/builtins/media.d.ts +0 -95
- package/dist/component/builtins/media.d.ts.map +0 -1
- package/dist/component/builtins/media.js +0 -149
- package/dist/component/builtins/media.js.map +0 -1
- package/dist/component/builtins/providers.d.ts +0 -23
- package/dist/component/builtins/providers.d.ts.map +0 -1
- package/dist/component/builtins/providers.js +0 -30
- package/dist/component/builtins/providers.js.map +0 -1
- package/dist/component/builtins/text.d.ts +0 -193
- package/dist/component/builtins/text.d.ts.map +0 -1
- package/dist/component/builtins/text.js +0 -113
- package/dist/component/builtins/text.js.map +0 -1
- package/dist/component/builtins/three.d.ts +0 -1085
- package/dist/component/builtins/three.d.ts.map +0 -1
- package/dist/component/builtins/three.js +0 -265
- package/dist/component/builtins/three.js.map +0 -1
- package/dist/component/clip-of.d.ts +0 -5
- package/dist/component/clip-of.d.ts.map +0 -1
- package/dist/component/clip-of.js +0 -33
- package/dist/component/clip-of.js.map +0 -1
- package/dist/component/commands-for.d.ts +0 -19
- package/dist/component/commands-for.d.ts.map +0 -1
- package/dist/component/commands-for.js +0 -5
- package/dist/component/commands-for.js.map +0 -1
- package/dist/component/component-audio.d.ts +0 -9
- package/dist/component/component-audio.d.ts.map +0 -1
- package/dist/component/component-audio.js +0 -18
- package/dist/component/component-audio.js.map +0 -1
- package/dist/component/component2d.d.ts +0 -9
- package/dist/component/component2d.d.ts.map +0 -1
- package/dist/component/component2d.js +0 -239
- package/dist/component/component2d.js.map +0 -1
- package/dist/component/component3d.d.ts +0 -9
- package/dist/component/component3d.d.ts.map +0 -1
- package/dist/component/component3d.js +0 -99
- package/dist/component/component3d.js.map +0 -1
- package/dist/component/factory.d.ts +0 -63
- package/dist/component/factory.d.ts.map +0 -1
- package/dist/component/factory.js +0 -313
- package/dist/component/factory.js.map +0 -1
- package/dist/component/modules/aim.d.ts +0 -30
- package/dist/component/modules/aim.d.ts.map +0 -1
- package/dist/component/modules/aim.js +0 -39
- package/dist/component/modules/aim.js.map +0 -1
- package/dist/component/modules/corners.d.ts +0 -13
- package/dist/component/modules/corners.d.ts.map +0 -1
- package/dist/component/modules/corners.js +0 -12
- package/dist/component/modules/corners.js.map +0 -1
- package/dist/component/modules/flow.d.ts +0 -26
- package/dist/component/modules/flow.d.ts.map +0 -1
- package/dist/component/modules/flow.js +0 -55
- package/dist/component/modules/flow.js.map +0 -1
- package/dist/component/modules/material.d.ts +0 -40
- package/dist/component/modules/material.d.ts.map +0 -1
- package/dist/component/modules/material.js +0 -75
- package/dist/component/modules/material.js.map +0 -1
- package/dist/component/modules/paint.d.ts +0 -71
- package/dist/component/modules/paint.d.ts.map +0 -1
- package/dist/component/modules/paint.js +0 -106
- package/dist/component/modules/paint.js.map +0 -1
- package/dist/component/modules/shapes.d.ts +0 -31
- package/dist/component/modules/shapes.d.ts.map +0 -1
- package/dist/component/modules/shapes.js +0 -43
- package/dist/component/modules/shapes.js.map +0 -1
- package/dist/component/modules/text-layout.d.ts +0 -26
- package/dist/component/modules/text-layout.d.ts.map +0 -1
- package/dist/component/modules/text-layout.js +0 -57
- package/dist/component/modules/text-layout.js.map +0 -1
- package/dist/component/modules/text-style.d.ts +0 -48
- package/dist/component/modules/text-style.d.ts.map +0 -1
- package/dist/component/modules/text-style.js +0 -63
- package/dist/component/modules/text-style.js.map +0 -1
- package/dist/component/modules/three-entries.d.ts +0 -23
- package/dist/component/modules/three-entries.d.ts.map +0 -1
- package/dist/component/modules/three-entries.js +0 -41
- package/dist/component/modules/three-entries.js.map +0 -1
- package/dist/component/modules/view3d.d.ts +0 -55
- package/dist/component/modules/view3d.d.ts.map +0 -1
- package/dist/component/modules/view3d.js +0 -160
- package/dist/component/modules/view3d.js.map +0 -1
- package/dist/component/timeline.d.ts +0 -22
- package/dist/component/timeline.d.ts.map +0 -1
- package/dist/component/timeline.js +0 -128
- package/dist/component/timeline.js.map +0 -1
- package/dist/component/type-def.d.ts +0 -26
- package/dist/component/type-def.d.ts.map +0 -1
- package/dist/component/type-def.js +0 -16
- package/dist/component/type-def.js.map +0 -1
- package/dist/component/types.d.ts +0 -91
- package/dist/component/types.d.ts.map +0 -1
- package/dist/component/types.js +0 -88
- package/dist/component/types.js.map +0 -1
- package/dist/component/views.d.ts +0 -121
- package/dist/component/views.d.ts.map +0 -1
- package/dist/component/views.js +0 -413
- package/dist/component/views.js.map +0 -1
- package/dist/document/withdraw.d.ts +0 -28
- package/dist/document/withdraw.d.ts.map +0 -1
- package/dist/document/withdraw.js +0 -61
- package/dist/document/withdraw.js.map +0 -1
- package/dist/jsx/jsx-dev-runtime.d.ts +0 -3
- package/dist/jsx/jsx-dev-runtime.d.ts.map +0 -1
- package/dist/jsx/jsx-dev-runtime.js +0 -3
- package/dist/jsx/jsx-dev-runtime.js.map +0 -1
- package/dist/jsx/jsx-runtime.d.ts +0 -27
- package/dist/jsx/jsx-runtime.d.ts.map +0 -1
- package/dist/jsx/jsx-runtime.js +0 -26
- package/dist/jsx/jsx-runtime.js.map +0 -1
- package/dist/nodes/2d/node-lifecycle.d.ts +0 -46
- package/dist/nodes/2d/node-lifecycle.d.ts.map +0 -1
- package/dist/nodes/2d/node-lifecycle.js +0 -264
- package/dist/nodes/2d/node-lifecycle.js.map +0 -1
- package/dist/nodes/2d/node-motion.d.ts +0 -56
- package/dist/nodes/2d/node-motion.d.ts.map +0 -1
- package/dist/nodes/2d/node-motion.js +0 -86
- package/dist/nodes/2d/node-motion.js.map +0 -1
- package/dist/nodes/2d/node-render.d.ts +0 -44
- package/dist/nodes/2d/node-render.d.ts.map +0 -1
- package/dist/nodes/2d/node-render.js +0 -80
- package/dist/nodes/2d/node-render.js.map +0 -1
- package/dist/nodes/2d/node-space.d.ts +0 -63
- package/dist/nodes/2d/node-space.d.ts.map +0 -1
- package/dist/nodes/2d/node-space.js +0 -131
- package/dist/nodes/2d/node-space.js.map +0 -1
- package/dist/nodes/2d/node-transform.d.ts +0 -55
- package/dist/nodes/2d/node-transform.d.ts.map +0 -1
- package/dist/nodes/2d/node-transform.js +0 -73
- package/dist/nodes/2d/node-transform.js.map +0 -1
- package/dist/nodes/2d/node2d.d.ts +0 -1111
- package/dist/nodes/2d/node2d.d.ts.map +0 -1
- package/dist/nodes/2d/node2d.js +0 -1665
- package/dist/nodes/2d/node2d.js.map +0 -1
- package/dist/nodes/2d/paint-node.d.ts +0 -142
- package/dist/nodes/2d/paint-node.d.ts.map +0 -1
- package/dist/nodes/2d/paint-node.js +0 -232
- package/dist/nodes/2d/paint-node.js.map +0 -1
- package/dist/nodes/audio/audio-bus.d.ts +0 -28
- package/dist/nodes/audio/audio-bus.d.ts.map +0 -1
- package/dist/nodes/audio/audio-bus.js +0 -33
- package/dist/nodes/audio/audio-bus.js.map +0 -1
- package/dist/nodes/audio/index.d.ts +0 -4
- package/dist/nodes/audio/index.d.ts.map +0 -1
- package/dist/nodes/audio/index.js +0 -2
- package/dist/nodes/audio/index.js.map +0 -1
- package/dist/nodes/audio/node-audio.d.ts +0 -107
- package/dist/nodes/audio/node-audio.d.ts.map +0 -1
- package/dist/nodes/audio/node-audio.js +0 -179
- package/dist/nodes/audio/node-audio.js.map +0 -1
- package/dist/nodes/audio/sound-node.d.ts +0 -41
- package/dist/nodes/audio/sound-node.d.ts.map +0 -1
- package/dist/nodes/audio/sound-node.js +0 -71
- package/dist/nodes/audio/sound-node.js.map +0 -1
- package/dist/nodes/geometry/boolean-node.d.ts +0 -28
- package/dist/nodes/geometry/boolean-node.d.ts.map +0 -1
- package/dist/nodes/geometry/boolean-node.js +0 -81
- package/dist/nodes/geometry/boolean-node.js.map +0 -1
- package/dist/nodes/geometry/bounds-shape-node.d.ts +0 -149
- package/dist/nodes/geometry/bounds-shape-node.d.ts.map +0 -1
- package/dist/nodes/geometry/bounds-shape-node.js +0 -181
- package/dist/nodes/geometry/bounds-shape-node.js.map +0 -1
- package/dist/nodes/geometry/box-path-node.d.ts +0 -89
- package/dist/nodes/geometry/box-path-node.d.ts.map +0 -1
- package/dist/nodes/geometry/box-path-node.js +0 -116
- package/dist/nodes/geometry/box-path-node.js.map +0 -1
- package/dist/nodes/geometry/ellipse-node.d.ts +0 -18
- package/dist/nodes/geometry/ellipse-node.d.ts.map +0 -1
- package/dist/nodes/geometry/ellipse-node.js +0 -45
- package/dist/nodes/geometry/ellipse-node.js.map +0 -1
- package/dist/nodes/geometry/group-bounds.d.ts +0 -56
- package/dist/nodes/geometry/group-bounds.d.ts.map +0 -1
- package/dist/nodes/geometry/group-bounds.js +0 -87
- package/dist/nodes/geometry/group-bounds.js.map +0 -1
- package/dist/nodes/geometry/mask-node.d.ts +0 -33
- package/dist/nodes/geometry/mask-node.d.ts.map +0 -1
- package/dist/nodes/geometry/mask-node.js +0 -66
- package/dist/nodes/geometry/mask-node.js.map +0 -1
- package/dist/nodes/geometry/path-node.d.ts +0 -26
- package/dist/nodes/geometry/path-node.d.ts.map +0 -1
- package/dist/nodes/geometry/path-node.js +0 -58
- package/dist/nodes/geometry/path-node.js.map +0 -1
- package/dist/nodes/geometry/polygon-node.d.ts +0 -26
- package/dist/nodes/geometry/polygon-node.d.ts.map +0 -1
- package/dist/nodes/geometry/polygon-node.js +0 -47
- package/dist/nodes/geometry/polygon-node.js.map +0 -1
- package/dist/nodes/geometry/polygram-node.d.ts +0 -33
- package/dist/nodes/geometry/polygram-node.d.ts.map +0 -1
- package/dist/nodes/geometry/polygram-node.js +0 -52
- package/dist/nodes/geometry/polygram-node.js.map +0 -1
- package/dist/nodes/geometry/rect-node.d.ts +0 -38
- package/dist/nodes/geometry/rect-node.d.ts.map +0 -1
- package/dist/nodes/geometry/rect-node.js +0 -56
- package/dist/nodes/geometry/rect-node.js.map +0 -1
- package/dist/nodes/geometry/shape-node.d.ts +0 -71
- package/dist/nodes/geometry/shape-node.d.ts.map +0 -1
- package/dist/nodes/geometry/shape-node.js +0 -140
- package/dist/nodes/geometry/shape-node.js.map +0 -1
- package/dist/nodes/geometry/shape-outline.d.ts +0 -93
- package/dist/nodes/geometry/shape-outline.d.ts.map +0 -1
- package/dist/nodes/geometry/shape-outline.js +0 -470
- package/dist/nodes/geometry/shape-outline.js.map +0 -1
- package/dist/nodes/index.d.ts +0 -53
- package/dist/nodes/index.d.ts.map +0 -1
- package/dist/nodes/index.js +0 -35
- package/dist/nodes/index.js.map +0 -1
- package/dist/nodes/layout/camera-node.d.ts +0 -80
- package/dist/nodes/layout/camera-node.d.ts.map +0 -1
- package/dist/nodes/layout/camera-node.js +0 -153
- package/dist/nodes/layout/camera-node.js.map +0 -1
- package/dist/nodes/layout/orbit-camera-node.d.ts +0 -80
- package/dist/nodes/layout/orbit-camera-node.d.ts.map +0 -1
- package/dist/nodes/layout/orbit-camera-node.js +0 -118
- package/dist/nodes/layout/orbit-camera-node.js.map +0 -1
- package/dist/nodes/layout/rotated-box.d.ts +0 -20
- package/dist/nodes/layout/rotated-box.d.ts.map +0 -1
- package/dist/nodes/layout/rotated-box.js +0 -76
- package/dist/nodes/layout/rotated-box.js.map +0 -1
- package/dist/nodes/media/video-node.d.ts +0 -229
- package/dist/nodes/media/video-node.d.ts.map +0 -1
- package/dist/nodes/media/video-node.js +0 -350
- package/dist/nodes/media/video-node.js.map +0 -1
- package/dist/nodes/node/declare-paints.d.ts +0 -19
- package/dist/nodes/node/declare-paints.d.ts.map +0 -1
- package/dist/nodes/node/declare-paints.js +0 -27
- package/dist/nodes/node/declare-paints.js.map +0 -1
- package/dist/nodes/node/node-editor-state.d.ts +0 -53
- package/dist/nodes/node/node-editor-state.d.ts.map +0 -1
- package/dist/nodes/node/node-editor-state.js +0 -23
- package/dist/nodes/node/node-editor-state.js.map +0 -1
- package/dist/nodes/node/node-reactive.d.ts +0 -89
- package/dist/nodes/node/node-reactive.d.ts.map +0 -1
- package/dist/nodes/node/node-reactive.js +0 -135
- package/dist/nodes/node/node-reactive.js.map +0 -1
- package/dist/nodes/node/node-time.d.ts +0 -39
- package/dist/nodes/node/node-time.d.ts.map +0 -1
- package/dist/nodes/node/node-time.js +0 -14
- package/dist/nodes/node/node-time.js.map +0 -1
- package/dist/nodes/node/node-walk.d.ts +0 -46
- package/dist/nodes/node/node-walk.d.ts.map +0 -1
- package/dist/nodes/node/node-walk.js +0 -74
- package/dist/nodes/node/node-walk.js.map +0 -1
- package/dist/nodes/node/node.d.ts +0 -445
- package/dist/nodes/node/node.d.ts.map +0 -1
- package/dist/nodes/node/node.js +0 -745
- package/dist/nodes/node/node.js.map +0 -1
- package/dist/nodes/node/text-defaults.d.ts +0 -32
- package/dist/nodes/node/text-defaults.d.ts.map +0 -1
- package/dist/nodes/node/text-defaults.js +0 -37
- package/dist/nodes/node/text-defaults.js.map +0 -1
- package/dist/nodes/root/canvas2d-node.d.ts +0 -163
- package/dist/nodes/root/canvas2d-node.d.ts.map +0 -1
- package/dist/nodes/root/canvas2d-node.js +0 -264
- package/dist/nodes/root/canvas2d-node.js.map +0 -1
- package/dist/nodes/root/provider-node.d.ts +0 -47
- package/dist/nodes/root/provider-node.d.ts.map +0 -1
- package/dist/nodes/root/provider-node.js +0 -63
- package/dist/nodes/root/provider-node.js.map +0 -1
- package/dist/nodes/root/theme-provider-node.d.ts +0 -29
- package/dist/nodes/root/theme-provider-node.d.ts.map +0 -1
- package/dist/nodes/root/theme-provider-node.js +0 -43
- package/dist/nodes/root/theme-provider-node.js.map +0 -1
- package/dist/nodes/text/default-text-style-node.d.ts +0 -103
- package/dist/nodes/text/default-text-style-node.d.ts.map +0 -1
- package/dist/nodes/text/default-text-style-node.js +0 -146
- package/dist/nodes/text/default-text-style-node.js.map +0 -1
- package/dist/nodes/text/number-format.d.ts +0 -66
- package/dist/nodes/text/number-format.d.ts.map +0 -1
- package/dist/nodes/text/number-format.js +0 -227
- package/dist/nodes/text/number-format.js.map +0 -1
- package/dist/nodes/text/number-node.d.ts +0 -94
- package/dist/nodes/text/number-node.d.ts.map +0 -1
- package/dist/nodes/text/number-node.js +0 -86
- package/dist/nodes/text/number-node.js.map +0 -1
- package/dist/nodes/text/number-pattern.d.ts +0 -51
- package/dist/nodes/text/number-pattern.d.ts.map +0 -1
- package/dist/nodes/text/number-pattern.js +0 -77
- package/dist/nodes/text/number-pattern.js.map +0 -1
- package/dist/nodes/text/richtext-node.d.ts +0 -68
- package/dist/nodes/text/richtext-node.d.ts.map +0 -1
- package/dist/nodes/text/richtext-node.js +0 -78
- package/dist/nodes/text/richtext-node.js.map +0 -1
- package/dist/nodes/text/text-base.d.ts +0 -118
- package/dist/nodes/text/text-base.d.ts.map +0 -1
- package/dist/nodes/text/text-base.js +0 -153
- package/dist/nodes/text/text-base.js.map +0 -1
- package/dist/nodes/text/text-layout.d.ts +0 -87
- package/dist/nodes/text/text-layout.d.ts.map +0 -1
- package/dist/nodes/text/text-layout.js +0 -368
- package/dist/nodes/text/text-layout.js.map +0 -1
- package/dist/nodes/text/text-node.d.ts +0 -84
- package/dist/nodes/text/text-node.d.ts.map +0 -1
- package/dist/nodes/text/text-node.js +0 -188
- package/dist/nodes/text/text-node.js.map +0 -1
- package/dist/nodes/text/text-selection.d.ts +0 -125
- package/dist/nodes/text/text-selection.d.ts.map +0 -1
- package/dist/nodes/text/text-selection.js +0 -209
- package/dist/nodes/text/text-selection.js.map +0 -1
- package/dist/nodes/three/camera-nodes.d.ts +0 -109
- package/dist/nodes/three/camera-nodes.d.ts.map +0 -1
- package/dist/nodes/three/camera-nodes.js +0 -112
- package/dist/nodes/three/camera-nodes.js.map +0 -1
- package/dist/nodes/three/canvas3d-node.d.ts +0 -295
- package/dist/nodes/three/canvas3d-node.d.ts.map +0 -1
- package/dist/nodes/three/canvas3d-node.js +0 -486
- package/dist/nodes/three/canvas3d-node.js.map +0 -1
- package/dist/nodes/three/drawable-nodes.d.ts +0 -173
- package/dist/nodes/three/drawable-nodes.d.ts.map +0 -1
- package/dist/nodes/three/drawable-nodes.js +0 -284
- package/dist/nodes/three/drawable-nodes.js.map +0 -1
- package/dist/nodes/three/environment-nodes.d.ts +0 -106
- package/dist/nodes/three/environment-nodes.d.ts.map +0 -1
- package/dist/nodes/three/environment-nodes.js +0 -134
- package/dist/nodes/three/environment-nodes.js.map +0 -1
- package/dist/nodes/three/geometry-nodes.d.ts +0 -197
- package/dist/nodes/three/geometry-nodes.d.ts.map +0 -1
- package/dist/nodes/three/geometry-nodes.js +0 -322
- package/dist/nodes/three/geometry-nodes.js.map +0 -1
- package/dist/nodes/three/grid-geometry3d.d.ts +0 -62
- package/dist/nodes/three/grid-geometry3d.d.ts.map +0 -1
- package/dist/nodes/three/grid-geometry3d.js +0 -114
- package/dist/nodes/three/grid-geometry3d.js.map +0 -1
- package/dist/nodes/three/group3d.d.ts +0 -23
- package/dist/nodes/three/group3d.d.ts.map +0 -1
- package/dist/nodes/three/group3d.js +0 -21
- package/dist/nodes/three/group3d.js.map +0 -1
- package/dist/nodes/three/light-nodes.d.ts +0 -120
- package/dist/nodes/three/light-nodes.d.ts.map +0 -1
- package/dist/nodes/three/light-nodes.js +0 -173
- package/dist/nodes/three/light-nodes.js.map +0 -1
- package/dist/nodes/three/mesh3d.d.ts +0 -117
- package/dist/nodes/three/mesh3d.d.ts.map +0 -1
- package/dist/nodes/three/mesh3d.js +0 -147
- package/dist/nodes/three/mesh3d.js.map +0 -1
- package/dist/nodes/three/node3d.d.ts +0 -230
- package/dist/nodes/three/node3d.d.ts.map +0 -1
- package/dist/nodes/three/node3d.js +0 -337
- package/dist/nodes/three/node3d.js.map +0 -1
- package/dist/render/descriptors/latex.d.ts +0 -6
- package/dist/render/descriptors/latex.d.ts.map +0 -1
- package/dist/render/descriptors/latex.js +0 -2
- package/dist/render/descriptors/latex.js.map +0 -1
- package/dist/tween/seekable.d.ts +0 -81
- package/dist/tween/seekable.d.ts.map +0 -1
- package/dist/tween/seekable.js +0 -137
- package/dist/tween/seekable.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/nodes/node/node.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAsD,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG3D,OAAO,EAAW,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIrD,OAAO,EAAE,eAAe,EAAkC,MAAM,mCAAmC,CAAC;AACpG,OAAO,EACH,SAAS,EACT,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,eAAe,EACf,SAAS,GACZ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,eAAe,EAAE,cAAc,EAAuC,MAAM,wBAAwB,CAAC;AAE9G,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAQpD,iFAAiF;AACjF,MAAM,QAAQ,GAAkC;IAC5C,IAAI,EAAE,2EAA2E;IACjF,IAAI,EAAE,wEAAwE;IAC9E,KAAK,EAAE,mEAAmE;CAC7E,CAAC;AAEF,0GAA0G;AAC1G,SAAS,aAAa,CAAC,IAAkB;IACrC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC;IACpC,MAAM,QAAQ,GAAG,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S,KAAK,IAAI;YAAE,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACtD,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAC9C,IAAI,OAAO,EAAE,CAAC;YACV,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;YACvB,OAAO,CAAC,MAAM,EAAE,CAAC;QACrB,CAAC;IACL,CAAC;IAED,OAAO;QACH,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;gBAC7C,IAAI,CAAC,OAAO,EAAE,CAAC;YACnB,CAAC;QACL,CAAC;QACD,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,oFAAoF;QACpF,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC/B,CAAC;CACJ;AAteG;IADC,OAAO,EAAE;8BAGT;AA6KD;IADC,OAAO,EAAE;mCAST;AAyOD;IADC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC;sCAKrC","sourcesContent":["import { _observer, PropSlot } from \"@/props/slot\";\r\nimport { STRUCTURE_SLOT } from \"@/props/observer\";\r\nimport { PropHost, type PropCells } from \"@/props/host\";\r\nimport { EasingFunction } from \"@/tween/ease/type\";\r\nimport { toCommand } from \"@/tween/to-command\";\r\nimport { makeCommand, type Command, type CommandArgs, type CommandTarget } from \"@/tween/command\";\r\nimport { prepareNumericCellTween } from \"@/tween/prepare\";\r\nimport { inertCommand, inertStepper } from \"@/tween/inert\";\r\nimport { TweenStepper } from \"@/tween/stepper\";\r\nimport { RefTarget } from \"@/util/reference\";\r\nimport { Context, ContextMap } from \"@/util/context\";\r\nimport { AssetCatalog } from \"@/assets/catalog\";\r\nimport type { AssetScope } from \"@/assets/scope\";\r\nimport type { AudioScope } from \"@/attributes/audio/schedule\";\r\nimport { getPropertyMeta, PropOptions, type PropertyMeta } from \"@/attributes/properties/decorator\";\r\nimport {\r\n applyProp,\r\n applySnapshotLayer,\r\n collectProperties,\r\n popState,\r\n restoreAnimated,\r\n saveState,\r\n} from \"./node-reactive\";\r\nimport type { PropLayer } from \"./node-reactive\";\r\nimport { advanceNodeTime, createNodeTime, type MutableNodeTime, type NodeTime } from \"@/nodes/node/node-time\";\r\nimport type { PropInputs } from \"@/attributes/properties/inputs\";\r\nimport { command } from \"@/tween/command-decorator\";\r\n\r\nexport type { NodeTime } from \"@/nodes/node/node-time\";\r\nexport type { PropInput, PropInputs } from \"@/attributes/properties/inputs\";\r\n\r\n/** Which scene graph a node belongs to. See {@link Node.dimension}. */\r\nexport type NodeDimension = \"2d\" | \"3d\" | \"audio\";\r\n\r\n/** Where a node of each dimension is allowed to live, for the mismatch error. */\r\nconst HOSTS_OF: Record<NodeDimension, string> = {\r\n \"2d\": \"2D nodes go in the 2D tree, or inside a Canvas3D as a HUD over its scene.\",\r\n \"3d\": \"Put 3D nodes inside a Canvas3D, which is the one node that holds both.\",\r\n audio: \"Put audio nodes under an AudioBus, or directly on the scene root.\",\r\n};\r\n\r\n/** A withdrawn prop's options: every write, a tween's included, maps to the value its default maps to. */\r\nfunction heldAtDefault(meta: PropertyMeta): PropOptions<unknown, unknown> {\r\n const mapper = meta.options?.mapper;\r\n const declared = typeof meta.default === \"function\" ? (meta.default as () => unknown)() : meta.default;\r\n const held = declared === undefined || !mapper ? declared : mapper(declared, undefined);\r\n return { ...meta.options, mapper: () => held };\r\n}\r\n\r\nexport interface NodeMetadata<T extends Node> {\r\n /**\r\n * Handle written with this node at construction. Typed as {@link RefTarget}\r\n * rather than `Reference<T>` so a ref declared as one of `T`'s *supertypes*\r\n * is accepted (`createRef<ShapeNode>()` on a `<Rect>`) — see the note there\r\n * for why that direction is the sound one.\r\n */\r\n ref?: RefTarget<T>;\r\n}\r\n\r\nexport type NodeConfig<T extends Node, P> = PropInputs<P> & NodeMetadata<T>;\r\n\r\n/**\r\n * Everything {@link Node.attach} needs to put a subtree into a live scene.\r\n *\r\n * The three things tree membership supplies, and the only three: what assets are\r\n * available, what context the ancestors provide, and where the playhead is.\r\n */\r\nexport interface AttachScope {\r\n /** Metadata for the assets this scene may declare. */\r\n assets: AssetCatalog;\r\n /** The token map the parent provides to this node. */\r\n context: ContextMap;\r\n /** Clip-relative time, in seconds. */\r\n time: number;\r\n}\r\n\r\n/**\r\n * A JSX/`children` child: a single {@link Node}, an arbitrarily-nested array of\r\n * children, or a falsy value. Nesting is allowed so `.map()` results can be\r\n * dropped straight in as a child, and falsy values are allowed so\r\n * `{condition && <Node/>}` works like in React — the constructor flattens\r\n * (`.flat(Infinity)`) and filters out everything but `Node` instances.\r\n */\r\nexport type NodeChildren = Node | false | null | undefined | NodeChildren[];\r\n\r\n/**\r\n * The props every node has, in either dimension.\r\n *\r\n * Deliberately tiny. Everything that reads as \"a box on a page\" — `x`/`y`,\r\n * `width`/`height`, `padding`, `flex`, anchors, `opacity` — lives on\r\n * {@link Node2DProps}, and everything that reads as \"a thing in space\" —\r\n * `position`, `quaternion`, `castShadow` — lives on `Node3DProps`, because a\r\n * prop that means nothing for half the tree is worse than no prop at all.\r\n */\r\nexport interface NodeProps {\r\n children: NodeChildren;\r\n /**\r\n * Seeds {@link Node.id}. A document's `NodeSpec.id` supplies it — see\r\n * `Registry.instantiate` — so an instantiated node answers to the identity\r\n * its row was authored under. Left out, the node falls back to a UUID, which\r\n * is what every hand-written `new Rect({…})` and JSX element gets.\r\n */\r\n id?: string;\r\n /**\r\n * The handle a node is *referenced by*, as against {@link NodeProps.id},\r\n * which addresses it. `\"=[card.x]\"` in any prop reads the `x` of the node\r\n * keyed `card` — see `NodeSpec.key`.\r\n *\r\n * Optional and never generated — a node has one only because an author wrote\r\n * one, which is what makes it safe to point a formula at — and unique per\r\n * document, which `document/validate.ts` enforces.\r\n */\r\n key?: string;\r\n}\r\n\r\n/**\r\n * The dimension-agnostic base of the scene graph: tree, identity, reactive\r\n * properties, commands, context, clock, asset declaration, teardown. Nothing\r\n * about *where* a node is or *how* it draws — that's {@link Node2D} / `Node3D`.\r\n * They meet only at `Canvas3D`; mixing them anywhere else throws (see\r\n * {@link acceptsChild}).\r\n *\r\n * Subclasses call {@link initProps} from their own constructor rather than the\r\n * base doing it: a subclass's field initializers only run *after* `super()`\r\n * returns, so applying `@property` defaults any earlier would write into cells\r\n * that don't exist yet.\r\n */\r\nexport abstract class Node<P extends NodeProps = NodeProps> implements PropHost {\r\n /**\r\n * Which scene graph this node belongs to.\r\n *\r\n * A getter rather than a field so it is answerable from the prototype during\r\n * construction, before any subclass field initializer has run.\r\n */\r\n abstract get dimension(): NodeDimension;\r\n\r\n /** The trees this type takes children from, answerable from the prototype as {@link dimension} is. */\r\n get _childTrees(): readonly NodeDimension[] {\r\n return [this.dimension];\r\n }\r\n\r\n constructor(props?: NodeConfig<any, P>) {\r\n // Retain the raw props (see _props doc) so a provider's provideContext can\r\n // read which keys the author passed. Captured before any default\r\n // application so it reflects exactly what the author passed. The object is\r\n // retained by reference, so a subclass expanding prop sugar in place\r\n // afterwards (`size`, `transform3D`) is reflected here too.\r\n this._props = props;\r\n // Neither is a @property: identity does not tween, so neither has any\r\n // business in the table `set()`, `to()` and the baseline restore walk\r\n // iterate.\r\n const identity = props as { id?: string; key?: string } | undefined;\r\n this.key = identity?.key;\r\n // Nullish, never falsy: `\"\"` is the scene root's real id, not a missing\r\n // one (`checkRootShape` in document/validate.ts defines the root as the\r\n // row holding it), and a UUID in its place would have the host's tree\r\n // report a root no document row mentions.\r\n this.id = identity?.id ?? crypto.randomUUID();\r\n }\r\n\r\n /** See {@link NodeProps.key}. */\r\n key?: string;\r\n\r\n private _hidden = false;\r\n private _locked = false;\r\n\r\n /**\r\n * Hidden by the editor — no paint, no pick, no layout slot. See\r\n * {@link NodeEditorState.hidden}.\r\n */\r\n get hidden(): boolean {\r\n return this._hidden;\r\n }\r\n\r\n /** Locked by the editor — unpickable, but drawn. See {@link NodeEditorState.locked}. */\r\n get locked(): boolean {\r\n return this._locked;\r\n }\r\n\r\n /**\r\n * @internal — written only by `applyEditorStates`, which owns both flags for\r\n * the whole tree. Not a setter pair, so a caller cannot set one and leave the\r\n * other holding a previous frame's answer.\r\n */\r\n _setEditorState(hidden: boolean, locked: boolean): void {\r\n this._hidden = hidden;\r\n this._locked = locked;\r\n }\r\n\r\n /**\r\n * Fire the `ref` and apply every `@property()`-decorated field, reading\r\n * initial values from `props`.\r\n *\r\n * Called by the concrete constructor ({@link Node2D}'s, `Node3D`'s) rather\r\n * than by this one, because a subclass's field initializers run *after*\r\n * `super()` returns: doing this here would apply props while the cells those\r\n * props write into are still `undefined`.\r\n */\r\n protected initProps(props?: NodeConfig<any, P>): void {\r\n if (props?.ref) {\r\n props.ref(this as any);\r\n }\r\n\r\n // Apply all @property()-decorated fields, reading initial values from props.\r\n for (const meta of getPropertyMeta(this)) {\r\n if (meta.withdrawn) {\r\n this.applyProp(meta.key, meta.default, heldAtDefault(meta));\r\n continue;\r\n }\r\n const propsVal = props ? (props as any)[meta.key] : undefined;\r\n const initial = propsVal !== undefined ? propsVal : meta.default;\r\n this.applyProp(meta.key, initial, meta.options);\r\n }\r\n }\r\n\r\n /**\r\n * Adopt the `children` prop. Called by the concrete constructor after its own\r\n * defaults are in place, so a child never lands in a tree whose parent has not\r\n * finished sizing itself.\r\n */\r\n protected adoptChildrenProp(props?: NodeConfig<any, P>): void {\r\n if (props && (props as any).children) {\r\n const raw = Array.isArray((props as any).children) ? (props as any).children : [(props as any).children];\r\n const flat = (raw as unknown[]).flat(Infinity)\r\n .filter((c: unknown): c is Node => c instanceof Node);\r\n if (flat.length > 0) this._addChildren(flat);\r\n }\r\n }\r\n\r\n /**\r\n * Whether `child` may be adopted by this node.\r\n *\r\n * A node holds children of its own dimension; the places the trees meet are\r\n * `Canvas3D`, which takes 2D and 3D, and `Canvas2D`, which takes 2D and\r\n * audio. Both partition what they accept. Rejecting the mix here rather than\r\n * letting it through is deliberate: a `Box3D` parented to a `Rect` would be\r\n * silently skipped by both the layout walk and the 3D walk, and would simply\r\n * never appear.\r\n */\r\n protected acceptsChild(child: Node): boolean {\r\n return child.dimension === this.dimension;\r\n }\r\n\r\n /** Throw if `child` cannot go here: by its tree, by what this node takes, or by where the child says it goes. */\r\n protected assertAcceptsChild(child: Node): void {\r\n if (!this.acceptsChild(child)) {\r\n const why = child.dimension === this.dimension ? this._childRule() : HOSTS_OF[child.dimension];\r\n throw new TypeError(`${this.className} (${this.dimension}) cannot hold ${child.className} (${child.dimension}).${why ? ` ${why}` : \"\"}`);\r\n }\r\n const refusal = child._parentRefusal(this);\r\n if (refusal) throw new TypeError(refusal);\r\n }\r\n\r\n /** What this node takes, for the error when it refuses a child of its own tree. */\r\n protected _childRule(): string {\r\n return \"\";\r\n }\r\n\r\n /** Why this node cannot go inside `parent`, or `null`: only a node that names its parents refuses one. */\r\n _parentRefusal(_parent: Node): string | null {\r\n return null;\r\n }\r\n\r\n private _assets: AssetCatalog | null = null;\r\n protected _parent: Node | null = null;\r\n\r\n /**\r\n * Whether this node is in a live scene tree. Gates measure/layout/render,\r\n * asset declaration and every command — checked at the handful of places\r\n * the framework dispatches from, not per method.\r\n */\r\n private _mounted = false;\r\n\r\n /** See {@link _mounted}. */\r\n get mounted(): boolean {\r\n return this._mounted;\r\n }\r\n\r\n get parent(): Node | null {\r\n if (_observer !== null) _observer.read(this._structureSlot());\r\n return this._parent;\r\n }\r\n\r\n get assets(): AssetCatalog {\r\n if (!this._assets) throw new Error(\"Assets not bound — this node is not attached to a scene. See Node.attach().\");\r\n return this._assets;\r\n }\r\n\r\n /** Token→value map pushed down from ancestor providers, bound by {@link attach}. */\r\n private _context: ContextMap = ContextMap.EMPTY;\r\n /** True once {@link attach} has reached this node. */\r\n private _contextBound = false;\r\n\r\n /** Raw constructor props, retained so {@link provideContext} can see which keys were explicitly passed. Kept through {@link dispose} so a reused instance re-derives context on the next attach. */\r\n protected _props?: NodeConfig<any, P>;\r\n\r\n /** Read the nearest ancestor provider's value for `ctx` (or its default). */\r\n useContext<T>(ctx: Context<T>): T {\r\n return this._context.get(ctx);\r\n }\r\n\r\n /** Assigned in the constructor — see {@link NodeProps.id}. */\r\n readonly id: string;\r\n\r\n /**\r\n * The slots behind this node's `@property` fields. See {@link PropCells}.\r\n *\r\n * @internal — the authoring surface is the declared props themselves, plus\r\n * `set()`/`to()`/`captureProps()`.\r\n */\r\n __cells?: PropCells;\r\n\r\n protected _children: Node[] = [];\r\n\r\n /**\r\n * Flatten a constructor's raw `children` prop into the `Node` instances it\r\n * contains, without mutating or adding them — the same normalisation the\r\n * constructor applies before adding them, exposed standalone so\r\n * {@link applyDefaultSize} overrides can inspect children's own resolved\r\n * `width`/`height` *before* they're attached (JSX children are constructed,\r\n * defaults and all, before being passed in as props).\r\n */\r\n protected static flattenChildrenProp(props: { children?: unknown } | undefined): Node[] {\r\n const childProp = props ? props.children : undefined;\r\n if (!childProp) return [];\r\n const raw = Array.isArray(childProp) ? childProp : [childProp];\r\n return (raw as unknown[]).flat(Infinity).filter((c: unknown): c is Node => c instanceof Node);\r\n }\r\n\r\n // ---- Reactive properties ----------------------------------------------\r\n\r\n /**\r\n * Declare a prop on this node. Creates a {@link PropSlot}-backed accessor\r\n * for `field`, applies an initial value (callback → binding; otherwise\r\n * constant), and registers optional tween/mapper metadata used by `set()`\r\n * and `to()`.\r\n *\r\n * Subsequent calls for the same field reuse the existing slot and act as\r\n * a value assignment, so subclasses can override a parent's default by\r\n * calling applyProp again without losing the slot or its bindings.\r\n */\r\n protected applyProp<Ext, Int = Ext>(\r\n field: string,\r\n initial: Ext | (() => Ext) | undefined,\r\n options?: PropOptions<Ext, Int>,\r\n ): void {\r\n applyProp(this, field, initial, options);\r\n }\r\n\r\n /** @internal Hot-path prop write (mapper- and binding-aware). Public-but-underscored like `_prepareStep` so reactive companions in this directory can call it; not part of the authoring surface. */\r\n _writeProp(field: string, value: unknown): void {\r\n if (value === undefined) return;\r\n const slot = this.__cells?.slots.get(field);\r\n if (!slot) return;\r\n const mapper = this.__cells?.mappers?.get(field);\r\n if (typeof value === \"function\") {\r\n const extFn = value as () => any;\r\n if (mapper) {\r\n // A binding that reads `undefined` — a node reference to a node that is\r\n // not there — leaves the prop as a node built without it, and never\r\n // reaches the mapper, which holds the shape the prop's readers go through.\r\n let unset: { value: unknown } | undefined;\r\n slot.bind(() => {\r\n const read = extFn();\r\n return read === undefined\r\n ? (unset ??= { value: this._unsetValue(field, mapper) }).value\r\n : mapper(read, slot.get());\r\n });\r\n } else {\r\n slot.bind(extFn);\r\n }\r\n } else {\r\n slot.set(mapper ? mapper(value, slot.get()) : value);\r\n }\r\n }\r\n\r\n get properties(): P {\r\n return collectProperties(this) as P;\r\n }\r\n\r\n /**\r\n * This node's **class** name, for a message or a host's type column. Not an\r\n * authored identity — those are {@link id} and {@link key}, and nothing in\r\n * the document model is called a name any more. Nor is it the registry key a\r\n * document writes in `NodeSpec.type`: a minifier is free to rename a class.\r\n */\r\n get className(): string {\r\n return this.constructor.name;\r\n }\r\n\r\n set(props: { [K in keyof P]?: P[K] | (() => P[K]) }): void {\r\n const slots = this.__cells?.slots;\r\n if (!slots) return;\r\n // Iterate the caller's keys (usually 1–3) rather than every registered\r\n // prop (15+): set() runs in the per-frame hot path. Only keys backed by\r\n // a slot are written; unknown keys are ignored — which is also what\r\n // lets a subclass distribute its own sugar (2D's `size`, `transform3D`)\r\n // into real keys and then delegate here.\r\n for (const key in props) {\r\n const val = (props as any)[key];\r\n if (val !== undefined && slots.has(key)) this._writeProp(key, val);\r\n }\r\n }\r\n\r\n @command()\r\n to<D extends Partial<P> = Partial<P>>(args: CommandArgs<D> & { duration: number }): Command<P> {\r\n return toCommand<P>(this, args.data ?? {}, args.duration, args.easing);\r\n }\r\n\r\n /**\r\n * Build a {@link Command} from a pure function of normalized time — an\r\n * animation this node can be *evaluated* at, not only run through.\r\n *\r\n * The pair to {@link to}, and the seam a named command is written against.\r\n * `to()` covers \"move these props there\", which is most of it; this covers\r\n * everything a node wants to choreograph itself, where the values at time\r\n * `t` are a function the node knows and nobody outside could reconstruct\r\n * from a prop list.\r\n *\r\n * ```ts\r\n * @command()\r\n * draw(duration = 1, easing?: EasingFunction): Command<ChartProps> {\r\n * const from = this.progress;\r\n * return this.command((t) => ({ progress: lerpNumber(from, 1, t) }), duration, easing);\r\n * }\r\n * ```\r\n *\r\n * Snapshot whatever the animation starts from *outside* the callback, as\r\n * above — reading `this.progress` inside it would re-read the value the\r\n * command is itself writing, and the tween would chase its own tail.\r\n *\r\n * Prefer this over a `*method(): FrameGenerator`. A generator can only be\r\n * advanced, so a host that wants frame N has to run frames 0..N-1 to get it;\r\n * the same choreography as a `Command` can be asked directly.\r\n *\r\n * (The `@command()` above it is the *decorator*, which only records that the\r\n * method is offerable. This builds the thing it returns.)\r\n */\r\n protected command<Props = P>(\r\n at: (t: number) => Partial<Props>,\r\n duration: number = 1,\r\n easing?: EasingFunction,\r\n ): Command<Props> {\r\n if (!this._mounted) return inertCommand<Props>(this, duration);\r\n return makeCommand<Props>(\r\n this as unknown as CommandTarget<Props>,\r\n at,\r\n duration,\r\n easing,\r\n );\r\n }\r\n\r\n /**\r\n * Resolve a single `to()` step into a flat {@link TweenStepper} — all the\r\n * per-key setup (mapper, numeric-vs-custom routing) happens once here, then\r\n * `advance(dt)` is allocation-free. Used by both a chain's iterator path and\r\n * the batched `parallel` path.\r\n *\r\n * A subclass with positional sugar of its own (2D's `size` and anchors)\r\n * expands `to` in place and then delegates here.\r\n */\r\n _prepareStep(to: Partial<P>, duration: number, easing?: EasingFunction): TweenStepper {\r\n if (!this._mounted) return inertStepper(duration);\r\n // A tween runs in stored space, so the destination is mapped once, here,\r\n // and every step after it is a stored value written to the slot as it is.\r\n // Writing a step through the setter would map it a second time, which only\r\n // an idempotent mapper survives.\r\n const numCells: PropSlot<number>[] = [];\r\n const numFrom: number[] = [];\r\n const numEnd: number[] = [];\r\n const customLerps: Array<(t: number) => void> = [];\r\n const stringSnaps: Array<[PropSlot<string>, string]> = [];\r\n\r\n for (const key of Object.keys(to)) {\r\n const slot = this.__cells?.slots.get(key);\r\n if (!slot) continue;\r\n const extVal = (to as any)[key];\r\n const mapper = this.__cells?.mappers?.get(key);\r\n const targetVal = mapper ? mapper(extVal, (this as any)[key]) : extVal;\r\n const tweenFn = this.__cells?.tweens?.get(key);\r\n if (tweenFn) {\r\n const from = (this as any)[key];\r\n customLerps.push((t) => {\r\n slot.set(tweenFn(from, targetVal, t));\r\n });\r\n } else if (typeof targetVal === 'number') {\r\n numCells.push(slot as PropSlot<number>);\r\n numFrom.push((this as any)[key] as number);\r\n numEnd.push(targetVal as number);\r\n } else if (typeof targetVal === 'string') {\r\n stringSnaps.push([slot as PropSlot<string>, targetVal]);\r\n }\r\n }\r\n\r\n const lerp = prepareNumericCellTween(numCells, numFrom, numEnd);\r\n const hasCustom = customLerps.length > 0;\r\n const hasSnaps = stringSnaps.length > 0;\r\n\r\n const apply = (t: number): void => {\r\n const easedT = easing ? easing(t) : t;\r\n lerp(easedT);\r\n if (hasCustom) for (const fn of customLerps) fn(easedT);\r\n // A discrete prop has nothing between its endpoints, so it snaps at\r\n // the end rather than interpolating. Applied here rather than only in\r\n // `advance` because a `seek` past the end has, by definition, reached\r\n // that end — leaving it out meant `seek(duration)` and running to\r\n // `duration` produced different nodes, and only the second was right.\r\n if (hasSnaps && t >= 1) for (const [slot, val] of stringSnaps) slot.set(val);\r\n };\r\n\r\n let elapsed = 0;\r\n return {\r\n // Tracks `elapsed`, so a seek and a subsequent advance agree about\r\n // where the tween is. Without it, seeking forward then advancing\r\n // rewound to `dt`.\r\n seek: (e: number) => {\r\n elapsed = e;\r\n apply(duration > 0 ? Math.min(e / duration, 1) : 1);\r\n },\r\n advance: (dt: number): boolean => {\r\n elapsed += dt;\r\n if (elapsed < duration) {\r\n apply(elapsed / duration);\r\n return false;\r\n }\r\n apply(1);\r\n return true;\r\n },\r\n };\r\n }\r\n\r\n /** What a node constructed without `field` holds: its declared default, through the mapper. */\r\n private _unsetValue(field: string, mapper: (ext: any, prev?: any) => any): unknown {\r\n const declared = getPropertyMeta(this).find((meta) => meta.key === field)?.default;\r\n const initial = typeof declared === \"function\" ? declared() : declared;\r\n return initial === undefined ? undefined : mapper(initial, undefined);\r\n }\r\n\r\n // ---- State stack (save / restore) -------------------------------------\r\n // A per-node LIFO stack of property snapshots, mirroring Motion Canvas's\r\n // node.save()/restore(). `save()` pushes a snapshot of every declared prop;\r\n // `restore()` pops the most recent one and either snaps to it (no duration)\r\n // or tweens the numeric props back to it over `duration`.\r\n\r\n /** @internal LIFO stack of save() snapshot layers. Underscore-internal so the prop companion can read it; not authoring surface. */\r\n _stateStack: PropLayer[] = [];\r\n\r\n /**\r\n * Push a snapshot of this node's current state onto its save stack.\r\n *\r\n * Every reactive prop (`x`, `y`, `scale`, `opacity`, `fill`, …) is captured,\r\n * preserving reactive bindings — a prop bound to `() => other().x` is saved\r\n * as the binding, not just its resolved value, so {@link restore} re-binds\r\n * it rather than freezing the value. Calls stack: each `save()` pushes a new\r\n * layer, and each {@link restore} pops the most recent one.\r\n *\r\n * @example\r\n * node.save();\r\n * node.moveTo({ data: { x: 200, y: 0 }, duration: 1 });\r\n * node.restore({ duration: 1 }); // animate back to where it was saved\r\n */\r\n save(): void {\r\n saveState(this);\r\n }\r\n\r\n /**\r\n * Pop the most recent {@link save} snapshot and roll this node back to it.\r\n *\r\n * Called with no `duration` (or `0`), every prop is reapplied instantly —\r\n * plain values are set, reactive bindings are re-bound. Called with a\r\n * positive `duration`, the numeric props (and any with a custom `tween`)\r\n * animate toward their saved values over that many seconds; once the tween\r\n * finishes the full snapshot is reapplied, which re-binds any reactive props\r\n * and snaps non-tweenable props (e.g. strings) to their saved values.\r\n *\r\n * A no-op (returns immediately) if there is nothing on the stack.\r\n */\r\n restore(): void;\r\n restore(args: CommandArgs<Record<string, never>> & { duration: number }): Command<Record<string, never>>;\r\n @command()\r\n restore(args?: CommandArgs<Record<string, never>>): void | Command<Record<string, never>> {\r\n const layer = popState(this);\r\n const duration = args?.duration;\r\n if (duration === undefined || duration <= 0) {\r\n if (layer) applySnapshotLayer(this, layer);\r\n return;\r\n }\r\n return restoreAnimated(this, layer, duration, args?.easing);\r\n }\r\n\r\n // ---- Clock ------------------------------------------------------------\r\n\r\n protected _time: MutableNodeTime = createNodeTime();\r\n\r\n /**\r\n * Per-frame hook, called after this node's {@link time} has been advanced.\r\n *\r\n * Nothing to do in the general case. Override it for state that has to\r\n * follow the clock but isn't a prop — a {@link Video}'s audio playhead is\r\n * the one built-in example. Read `this.time` for the current frame.\r\n */\r\n public tick(): void { }\r\n\r\n /** This node's place on the scene clock. See {@link NodeTime}. */\r\n public get time(): NodeTime {\r\n if (_observer !== null) _observer.clock?.(this);\r\n return this._time;\r\n }\r\n\r\n /**\r\n * Advance **this node's** clock to `total` clip-seconds, tick it, and\r\n * sample its derived render state.\r\n *\r\n * Per-node, not per-subtree: {@link attach} already recurses, so a recursive\r\n * advance here would re-advance every descendant once per ancestor.\r\n *\r\n * Sampling happens here, not at render: this runs on every advanced frame in\r\n * every playback path (forward, scrub, precomp), whereas `render` runs only\r\n * for displayed frames. Sampling per-frame is what makes velocity correct on\r\n * the first frame after a scrub/rewind, where sampling only at render time\r\n * read zero. The advance loop runs before `generator.next()` (so audio\r\n * scheduling in generator bodies reads the right time), which means x/y here\r\n * still hold the previous frame's value — velocity therefore trails the\r\n * rendered position by one frame. That lag is constant and identical forward\r\n * vs. scrub, and imperceptible for motion blur.\r\n */\r\n private _advanceOwnTime(total: number): void {\r\n advanceNodeTime(this._time, total);\r\n this.tick();\r\n this._sample();\r\n }\r\n\r\n /**\r\n * Sample this node's own derived render state for the current frame. Nothing\r\n * to derive in the general case; {@link Node2D} samples its motion here.\r\n *\r\n * @internal The per-node half of `sampleTree` — a walk, not a node method.\r\n */\r\n _sample(): void { }\r\n\r\n /**\r\n * Record this node's current position as the motion history's previous\r\n * frame, stamped `at`, deriving no velocity.\r\n *\r\n * @internal The per-node half of `primeMotionTree`.\r\n */\r\n _primeMotion(at: number): void { }\r\n\r\n // ---- Attachment -------------------------------------------------------\r\n\r\n /**\r\n * Put this subtree into the scene: mark it mounted, bind the asset catalog\r\n * and inherited context, advance its clock to `scope.time`.\r\n *\r\n * Safe and cheap to call every frame — an unchanged catalog/context\r\n * short-circuits, and {@link resolveContext} fires only on first attach.\r\n *\r\n * @internal Driven by `ClipInstance` per frame, and by {@link add} for a mid-frame subtree.\r\n */\r\n attach(scope: AttachScope): void {\r\n const first = !this._mounted;\r\n this._mounted = true;\r\n\r\n if (this._assets !== scope.assets) this._assets = scope.assets;\r\n\r\n const next = this.provideContext(scope.context);\r\n // Unchanged map, already bound, and not this instance's first attach ⇒\r\n // the whole subtree already holds `next` and the walk below would be pure\r\n // repetition of the context half. The time half still has to run.\r\n const contextChanged = !this._contextBound || this._context !== next;\r\n if (contextChanged) {\r\n this._context = next;\r\n this._contextBound = true;\r\n }\r\n if (first) this.resolveContext(next);\r\n\r\n this._advanceOwnTime(scope.time);\r\n\r\n if (this._children.length === 0) return;\r\n const childScope = next === scope.context ? scope : { ...scope, context: next };\r\n for (const child of this._children) child.attach(childScope);\r\n }\r\n\r\n /**\r\n * Take this subtree out of the scene. Not a teardown — props/children/bindings\r\n * stay, so it can be attached elsewhere (`reparent`). {@link dispose} tears down.\r\n *\r\n * @internal Driven by {@link remove}/{@link clear}.\r\n */\r\n detach(): void {\r\n if (!this._mounted) return;\r\n this._mounted = false;\r\n for (const child of this._children) child.detach();\r\n }\r\n\r\n /** The scope this node was last attached with, for handing to a late child. */\r\n private _currentScope(): AttachScope | null {\r\n return this._assets && this._contextBound\r\n ? { assets: this._assets, context: this._context, time: this._time.total }\r\n : null;\r\n }\r\n\r\n /** Attach `child` if this node is itself attached; otherwise leave it for the walk. */\r\n /** @internal Shared with `Node2D.addChildAt`, which splices rather than pushes. */\r\n protected _attachChild(child: Node): void {\r\n if (!this._mounted) return;\r\n const scope = this._currentScope();\r\n if (scope) child.attach(scope);\r\n }\r\n\r\n // ---- Context lifecycle ------------------------------------------------\r\n\r\n /**\r\n * Apply inherited context **values** to this node, once, after it's linked\r\n * into the tree and ancestor providers have resolved. Runs exactly once per\r\n * instance — never write idempotency guards here.\r\n *\r\n * Structure (which children exist) belongs in the constructor via\r\n * {@link add}, from props — never here. This only writes context-derived\r\n * values onto that already-built structure, via refs.\r\n *\r\n * @example\r\n * protected override resolveContext(ctx: ContextMap): void {\r\n * this.accent().set({ fill: ctx.get(ThemeToken).accent });\r\n * }\r\n */\r\n protected resolveContext(ctx: ContextMap): void { }\r\n\r\n /**\r\n * Providers override this to attach their token(s) to the {@link ContextMap}\r\n * handed to descendants. Base passes the parent's map through unchanged.\r\n */\r\n protected provideContext(parent: ContextMap): ContextMap {\r\n return parent;\r\n }\r\n\r\n /**\r\n * Bind `node`'s asset catalog, context and clock without making it a child —\r\n * for a node used purely as a pixel source (`Tex.surface`), laid out on\r\n * demand rather than sitting in the tree.\r\n */\r\n protected attachDetached(node: Node): void {\r\n const scope = this._currentScope();\r\n if (scope) node.attach(scope);\r\n }\r\n\r\n /**\r\n * Declare what this node draws from its props and inherited context alone —\r\n * never `layoutBounds` or the clock. The runtime records what this reads and\r\n * calls it again only when one of those props is written, so anything else it\r\n * depends on is a change nobody will ask about.\r\n */\r\n declareAssets(assets: AssetScope): void { }\r\n\r\n /**\r\n * Declare the clips this node plays. Called once, in the state the node enters\r\n * the tree in: a request is scheduled ahead of time, so a later write to what\r\n * it reads is not heard — automate a level with a curve, or split the row.\r\n */\r\n declareAudio(audio: AudioScope): void { }\r\n\r\n get children(): Node[] {\r\n if (_observer !== null) _observer.read(this._structureSlot());\r\n return this._children;\r\n }\r\n\r\n /**\r\n * Every child, both dimensions, unfiltered — unlike {@link children}, which\r\n * a {@link Node2D} filters to its own kind. Used where index has to match\r\n * the authored tree (picking), since filtering would renumber it.\r\n */\r\n get _allChildren(): readonly Node[] {\r\n if (_observer !== null) _observer.read(this._structureSlot());\r\n return this._children;\r\n }\r\n\r\n /**\r\n * Add children — a node, an array, or a nested/JSX mix; falsy entries\r\n * (`cond && <Node/>`) are dropped. A child of the other dimension throws —\r\n * see {@link acceptsChild}.\r\n */\r\n add(child: NodeChildren): void {\r\n if (child instanceof Node) {\r\n this._addChild(child);\r\n return;\r\n }\r\n const flat = Node.flattenChildrenProp({ children: child });\r\n if (flat.length > 0) this._addChildren(flat);\r\n }\r\n\r\n /** Remove children — same shapes as {@link add}. Not a child of this one is a no-op. */\r\n remove(child: NodeChildren): void {\r\n if (child instanceof Node) {\r\n this._removeChild(child);\r\n return;\r\n }\r\n for (const node of Node.flattenChildrenProp({ children: child })) {\r\n this._removeChild(node);\r\n }\r\n }\r\n\r\n /** Remove every child, detaching each (see {@link remove}). */\r\n clear(): void {\r\n for (const child of this._children) {\r\n if (_observer !== null) this._structureChanged(child);\r\n child._parent = null;\r\n child.detach();\r\n }\r\n this._children.length = 0;\r\n }\r\n\r\n /**\r\n * Insert `child` at `index` among this node's children.\r\n *\r\n * On {@link Node} rather than {@link Node2D} because it is tree machinery —\r\n * `ClipTimeline.syncPresence` reaches for it on whatever a spec's\r\n * `parentId` names, which since audio joined the graph is not always a 2D\r\n * node. `Node2D` overrides it for the animated insert, which measures the\r\n * child off-tree and so needs a laid-out one.\r\n */\r\n @command({ args: [\"child\", \"index\"] })\r\n addChildAt(args: CommandArgs<{ child: Node; index: number }>): void | Command<Record<string, never>> {\r\n const { child, index } = args.data as { child: Node; index: number };\r\n this.assertAcceptsChild(child);\r\n this._insertChildAt(child, index);\r\n }\r\n\r\n /** @internal Shared with `Node2D.addChildAt`'s instant branch. */\r\n protected _insertChildAt(child: Node, index: number): void {\r\n if (_observer !== null) this._structureChanged(child);\r\n this._children.splice(index, 0, child);\r\n child._parent = this;\r\n this._attachChild(child);\r\n }\r\n\r\n /**\r\n * @internal The pseudo-slot {@link children} and {@link parent} report to an\r\n * observer. Allocated on first observation, so a tree nobody observes carries none.\r\n */\r\n _structureSlot(): PropSlot<null> {\r\n return this._structure ??= new PropSlot<null>(null, this, STRUCTURE_SLOT);\r\n }\r\n\r\n /** @internal Report a child entering or leaving this node — its parent link changes with it. Call only while observed. */\r\n _structureChanged(child: Node | null): void {\r\n _observer!.write(this._structureSlot());\r\n if (child) _observer!.write(child._structureSlot());\r\n }\r\n\r\n private _structure: PropSlot<null> | null = null;\r\n\r\n private _addChild(child: Node): void {\r\n this.assertAcceptsChild(child);\r\n if (_observer !== null) this._structureChanged(child);\r\n this._children.push(child);\r\n child._parent = this;\r\n this._attachChild(child);\r\n }\r\n\r\n private _addChildren(children: Node[]): void {\r\n for (const child of children) this.assertAcceptsChild(child);\r\n if (_observer !== null) for (const child of children) this._structureChanged(child);\r\n this._children.push(...children);\r\n for (const child of children) child._parent = this;\r\n for (const child of children) this._attachChild(child);\r\n }\r\n\r\n private _removeChild(child: Node): void {\r\n const i = this._children.indexOf(child);\r\n if (i < 0) return;\r\n if (_observer !== null) this._structureChanged(child);\r\n const [removed] = this._children.splice(i, 1);\r\n if (removed) {\r\n removed._parent = null;\r\n removed.detach();\r\n }\r\n }\r\n\r\n dispose(): void {\r\n if (this.__cells) {\r\n for (const slot of this.__cells.slots.values()) {\r\n slot.dispose();\r\n }\r\n }\r\n this.__cells = undefined;\r\n this._assets = null;\r\n this._mounted = false;\r\n // _props is retained (authored identity) so provideContext still works after reuse.\r\n this._context = ContextMap.EMPTY;\r\n this._contextBound = false;\r\n }\r\n}\r\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The family a component's text falls back to when the document names none.
|
|
3
|
-
*
|
|
4
|
-
* A node that draws a caption of its own — a button's label, a window's title —
|
|
5
|
-
* has to put *some* family on it, because the renderer's font provider holds
|
|
6
|
-
* only what the manifest registered and a family called `""` shapes against
|
|
7
|
-
* nothing and paints no glyphs. Which family that is, though, is a fact about
|
|
8
|
-
* the application: which fonts it vendored, which it licensed, what its UI is
|
|
9
|
-
* set in. A component shipped as its own package cannot know it, and the engine
|
|
10
|
-
* has no built-in family to offer in its place.
|
|
11
|
-
*
|
|
12
|
-
* So the answer is *supplied*, once, by the host application's composition
|
|
13
|
-
* root, through {@link setHostTextFamily}. Until a host does, the answer is
|
|
14
|
-
* `""`, and a host that ships a typeface says so instead of every node learning
|
|
15
|
-
* its name.
|
|
16
|
-
*
|
|
17
|
-
* This is deliberately **not** a prop. The prop is the node's own `fontFamily`,
|
|
18
|
-
* which a host's props mapping can fill in from here when the author has left
|
|
19
|
-
* it empty. What lives here is only the answer to "empty means what?", which is
|
|
20
|
-
* one answer for the whole application rather than one per node.
|
|
21
|
-
*/
|
|
22
|
-
/**
|
|
23
|
-
* Declares the family this application's components fall back to.
|
|
24
|
-
*
|
|
25
|
-
* Called by the composition root before the first build. Left unset, components
|
|
26
|
-
* fall back to `""`, which paints no glyphs — a legible blank rather than a
|
|
27
|
-
* silently wrong typeface, and the same bargain an unregistered node type makes.
|
|
28
|
-
*/
|
|
29
|
-
export declare function setHostTextFamily(family: string): void;
|
|
30
|
-
/** The family to use where the document names none. */
|
|
31
|
-
export declare function hostTextFamily(): string;
|
|
32
|
-
//# sourceMappingURL=text-defaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-defaults.d.ts","sourceRoot":"","sources":["../../../src/nodes/node/text-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAIH;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEtD;AAED,uDAAuD;AACvD,wBAAgB,cAAc,IAAI,MAAM,CAEvC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The family a component's text falls back to when the document names none.
|
|
3
|
-
*
|
|
4
|
-
* A node that draws a caption of its own — a button's label, a window's title —
|
|
5
|
-
* has to put *some* family on it, because the renderer's font provider holds
|
|
6
|
-
* only what the manifest registered and a family called `""` shapes against
|
|
7
|
-
* nothing and paints no glyphs. Which family that is, though, is a fact about
|
|
8
|
-
* the application: which fonts it vendored, which it licensed, what its UI is
|
|
9
|
-
* set in. A component shipped as its own package cannot know it, and the engine
|
|
10
|
-
* has no built-in family to offer in its place.
|
|
11
|
-
*
|
|
12
|
-
* So the answer is *supplied*, once, by the host application's composition
|
|
13
|
-
* root, through {@link setHostTextFamily}. Until a host does, the answer is
|
|
14
|
-
* `""`, and a host that ships a typeface says so instead of every node learning
|
|
15
|
-
* its name.
|
|
16
|
-
*
|
|
17
|
-
* This is deliberately **not** a prop. The prop is the node's own `fontFamily`,
|
|
18
|
-
* which a host's props mapping can fill in from here when the author has left
|
|
19
|
-
* it empty. What lives here is only the answer to "empty means what?", which is
|
|
20
|
-
* one answer for the whole application rather than one per node.
|
|
21
|
-
*/
|
|
22
|
-
let fallbackFamily = "";
|
|
23
|
-
/**
|
|
24
|
-
* Declares the family this application's components fall back to.
|
|
25
|
-
*
|
|
26
|
-
* Called by the composition root before the first build. Left unset, components
|
|
27
|
-
* fall back to `""`, which paints no glyphs — a legible blank rather than a
|
|
28
|
-
* silently wrong typeface, and the same bargain an unregistered node type makes.
|
|
29
|
-
*/
|
|
30
|
-
export function setHostTextFamily(family) {
|
|
31
|
-
fallbackFamily = family;
|
|
32
|
-
}
|
|
33
|
-
/** The family to use where the document names none. */
|
|
34
|
-
export function hostTextFamily() {
|
|
35
|
-
return fallbackFamily;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=text-defaults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-defaults.js","sourceRoot":"","sources":["../../../src/nodes/node/text-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,IAAI,cAAc,GAAG,EAAE,CAAA;AAEvB;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAc;IAC9C,cAAc,GAAG,MAAM,CAAA;AACzB,CAAC;AAED,uDAAuD;AACvD,MAAM,UAAU,cAAc;IAC5B,OAAO,cAAc,CAAA;AACvB,CAAC","sourcesContent":["/**\r\n * The family a component's text falls back to when the document names none.\r\n *\r\n * A node that draws a caption of its own — a button's label, a window's title —\r\n * has to put *some* family on it, because the renderer's font provider holds\r\n * only what the manifest registered and a family called `\"\"` shapes against\r\n * nothing and paints no glyphs. Which family that is, though, is a fact about\r\n * the application: which fonts it vendored, which it licensed, what its UI is\r\n * set in. A component shipped as its own package cannot know it, and the engine\r\n * has no built-in family to offer in its place.\r\n *\r\n * So the answer is *supplied*, once, by the host application's composition\r\n * root, through {@link setHostTextFamily}. Until a host does, the answer is\r\n * `\"\"`, and a host that ships a typeface says so instead of every node learning\r\n * its name.\r\n *\r\n * This is deliberately **not** a prop. The prop is the node's own `fontFamily`,\r\n * which a host's props mapping can fill in from here when the author has left\r\n * it empty. What lives here is only the answer to \"empty means what?\", which is\r\n * one answer for the whole application rather than one per node.\r\n */\r\n\r\nlet fallbackFamily = \"\"\r\n\r\n/**\r\n * Declares the family this application's components fall back to.\r\n *\r\n * Called by the composition root before the first build. Left unset, components\r\n * fall back to `\"\"`, which paints no glyphs — a legible blank rather than a\r\n * silently wrong typeface, and the same bargain an unregistered node type makes.\r\n */\r\nexport function setHostTextFamily(family: string): void {\r\n fallbackFamily = family\r\n}\r\n\r\n/** The family to use where the document names none. */\r\nexport function hostTextFamily(): string {\r\n return fallbackFamily\r\n}\r\n"]}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { RenderContext2D, RenderPass2D } from "../../render/render-context2d.js";
|
|
2
|
-
import { Clip } from "../../render/clip.js";
|
|
3
|
-
import { type Command, type CommandArgs } from "../../tween/command.js";
|
|
4
|
-
import { type LookAt, type SpaceCamera } from "../../attributes/layout/space3d.js";
|
|
5
|
-
import { type Projection3D } from "../../attributes/layout/matrix2d.js";
|
|
6
|
-
import { Alignment } from "../../attributes/layout/alignment.js";
|
|
7
|
-
import type { FlowMode, FlowProps, FlowSettings, GapSize } from "../../layout/types.js";
|
|
8
|
-
import { FillResolved } from "../../attributes/shape/fill/union.js";
|
|
9
|
-
import { Fill } from "../../attributes/shape/fill/chain.js";
|
|
10
|
-
import type { AssetScope } from "../../assets/scope.js";
|
|
11
|
-
import { CameraScope, Node2D, NodeConfig, Node2DProps } from "../../nodes/2d/node2d.js";
|
|
12
|
-
import type { Node, NodeDimension } from "../../nodes/node/node.js";
|
|
13
|
-
import { NodeAudio } from "../../nodes/audio/node-audio.js";
|
|
14
|
-
/** @internal */
|
|
15
|
-
export interface Canvas2DProps extends Node2DProps, FlowProps {
|
|
16
|
-
/**
|
|
17
|
-
* Background fill layer(s). Each item can be a CSS color string, a fill
|
|
18
|
-
* prop object, an already-resolved fill, or a {@link FillChain} from the
|
|
19
|
-
* `Fills` builder. Painted behind the scene's children.
|
|
20
|
-
*/
|
|
21
|
-
fill: Fill;
|
|
22
|
-
/**
|
|
23
|
-
* Overlay layer(s) — same loose values as {@link fill}, but painted *over*
|
|
24
|
-
* the fill **and** the children (clipped to the viewport). Use for textures
|
|
25
|
-
* laid across the whole scene, e.g. a VHS-grain image or video.
|
|
26
|
-
*/
|
|
27
|
-
overlay: Fill;
|
|
28
|
-
/** Camera magnification factor. Values > 1 zoom in; < 1 zoom out. */
|
|
29
|
-
zoom: number;
|
|
30
|
-
/**
|
|
31
|
-
* World-space point that maps to the centre of the viewport. In a
|
|
32
|
-
* {@link space3D} it is also what the camera orbits, and `z` puts it in
|
|
33
|
-
* depth — the same sense as a node's `depth`, so a negative `z` flies in.
|
|
34
|
-
*/
|
|
35
|
-
lookAt: LookAt;
|
|
36
|
-
/** Rotation of the camera view in degrees (clockwise). */
|
|
37
|
-
heading: number;
|
|
38
|
-
/**
|
|
39
|
-
* Place the children in one 3D space seen through this camera, rather than
|
|
40
|
-
* each projecting through a perspective of its own. Their `depth` and tilt
|
|
41
|
-
* are then positions and turns in that space, and siblings paint far to
|
|
42
|
-
* near. A switch rather than something read off the camera's numbers, so
|
|
43
|
-
* turning it on can never jump a tween.
|
|
44
|
-
*
|
|
45
|
-
* While it is on, `perspective` is the camera's distance from {@link lookAt}
|
|
46
|
-
* at `dolly: 0` — CSS's convention, so that plane draws 1:1 and `0` is a
|
|
47
|
-
* parallel projection — and the stage's own tilt and depth are unused.
|
|
48
|
-
*/
|
|
49
|
-
space3D: boolean;
|
|
50
|
-
/** Degrees about the vertical axis through {@link lookAt}. 0 is head-on; positive moves the camera to the right. Same as `Camera3D`. */
|
|
51
|
-
orbit: number;
|
|
52
|
-
/** Degrees above the layers. Positive looks down on them. Same as `Camera3D`. */
|
|
53
|
-
elevation: number;
|
|
54
|
-
/** Px the camera has moved in toward {@link lookAt}. Inert with no perspective, as depth is. */
|
|
55
|
-
dolly: number;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* The single root container every clip document builds into.
|
|
59
|
-
*
|
|
60
|
-
* A `Canvas2D` is a plain {@link Node2D} that doubles as the clip's layout frame
|
|
61
|
-
* and camera. It lays its children out (flex `horizontal`/`vertical` or
|
|
62
|
-
* `freeform`, with `gap`, `align`, `padding`) and paints a scene-wide background
|
|
63
|
-
* (`fill`) and `overlay` — *and* views those laid-out children through a viewport
|
|
64
|
-
* transform (`zoom`, `lookAt`, `heading`).
|
|
65
|
-
*
|
|
66
|
-
* Unlike a {@link Rect} it is **not a shape**: it has no stroke, shadow, corner,
|
|
67
|
-
* or `start`/`end` props. It carries only the scene-wide concerns — background
|
|
68
|
-
* paint, child layout, and camera — so `stage.fill`, `stage.flow`, etc. read
|
|
69
|
-
* the root directly without exposing per-shape geometry the scene root never has.
|
|
70
|
-
*
|
|
71
|
-
* Its layout props are the arrangement {@link Node2D} lays its children out by,
|
|
72
|
-
* the same as a {@link Rect}'s — see {@link flowArrangement}.
|
|
73
|
-
*/
|
|
74
|
-
/** @internal */
|
|
75
|
-
export declare class Canvas2D extends Node2D<Canvas2DProps> {
|
|
76
|
-
fill: Fill;
|
|
77
|
-
overlay: Fill;
|
|
78
|
-
flow: FlowMode;
|
|
79
|
-
readonly gap: GapSize;
|
|
80
|
-
readonly wrap: boolean;
|
|
81
|
-
readonly crossGap: number | undefined;
|
|
82
|
-
readonly columns: number;
|
|
83
|
-
align: Alignment;
|
|
84
|
-
/** Camera magnification factor (default: 1). */
|
|
85
|
-
zoom: number;
|
|
86
|
-
/** World-space focus point (default: {x:0, y:0}). */
|
|
87
|
-
lookAt: LookAt;
|
|
88
|
-
/** Camera view rotation in degrees (default: 0). */
|
|
89
|
-
heading: number;
|
|
90
|
-
space3D: boolean;
|
|
91
|
-
orbit: number;
|
|
92
|
-
elevation: number;
|
|
93
|
-
dolly: number;
|
|
94
|
-
constructor(props: NodeConfig<Canvas2D, Canvas2DProps>);
|
|
95
|
-
/** Animate `zoom`. Values > 1 zoom in; < 1 zoom out. */
|
|
96
|
-
zoomTo(args: CommandArgs<{
|
|
97
|
-
zoom: number;
|
|
98
|
-
}> & {
|
|
99
|
-
duration: number;
|
|
100
|
-
}): Command<Canvas2DProps>;
|
|
101
|
-
/** Pan — animate `lookAt`, the world-space point mapped to the viewport center. `z` moves it in depth. */
|
|
102
|
-
panTo(args: CommandArgs<{
|
|
103
|
-
lookAt: LookAt;
|
|
104
|
-
}> & {
|
|
105
|
-
duration: number;
|
|
106
|
-
}): Command<Canvas2DProps>;
|
|
107
|
-
/**
|
|
108
|
-
* Swing the camera round {@link lookAt}. The argument names are the ones the
|
|
109
|
-
* 3D components' `orbitTo` takes, less `zoom`: here that is the lens, not a
|
|
110
|
-
* distance, and it has a command of its own.
|
|
111
|
-
*/
|
|
112
|
-
orbitTo(args: CommandArgs<{
|
|
113
|
-
orbit?: number;
|
|
114
|
-
elevation?: number;
|
|
115
|
-
}> & {
|
|
116
|
-
duration: number;
|
|
117
|
-
}): Command<Canvas2DProps>;
|
|
118
|
-
/** Move the camera in toward {@link lookAt} (positive) or back out. */
|
|
119
|
-
dollyTo(args: CommandArgs<{
|
|
120
|
-
dolly: number;
|
|
121
|
-
}> & {
|
|
122
|
-
duration: number;
|
|
123
|
-
}): Command<Canvas2DProps>;
|
|
124
|
-
/** Animate the view rotation (`heading`), in degrees clockwise. */
|
|
125
|
-
headingTo(args: CommandArgs<{
|
|
126
|
-
heading: number;
|
|
127
|
-
}> & {
|
|
128
|
-
duration: number;
|
|
129
|
-
}): Command<Canvas2DProps>;
|
|
130
|
-
fillTo(args: CommandArgs<Fill, FillResolved[]> & {
|
|
131
|
-
duration: number;
|
|
132
|
-
}): Command<Canvas2DProps>;
|
|
133
|
-
overlayTo(args: CommandArgs<Fill, FillResolved[]> & {
|
|
134
|
-
duration: number;
|
|
135
|
-
}): Command<Canvas2DProps>;
|
|
136
|
-
protected flowArrangement(): FlowSettings;
|
|
137
|
-
private shapeGraphics;
|
|
138
|
-
protected renderSelf(draw: RenderContext2D): void;
|
|
139
|
-
protected renderOverlay(ctx: RenderContext2D): void;
|
|
140
|
-
/**
|
|
141
|
-
* Accept audio children as well as 2D ones.
|
|
142
|
-
*
|
|
143
|
-
* The scene root is where the two trees meet, mirroring `Canvas3D` — and for
|
|
144
|
-
* the same reason it is *this* node: a composition already carries both
|
|
145
|
-
* halves of a clip, so a voiceover belongs in the document that shows the
|
|
146
|
-
* picture it is narrating rather than in a second document beside it.
|
|
147
|
-
*
|
|
148
|
-
* Nothing partitions them by hand. `Node2D.children` already filters to its
|
|
149
|
-
* own kind, so layout and render skip the audio subtree for free, and the
|
|
150
|
-
* audio declaration walk reads the unfiltered list.
|
|
151
|
-
*/
|
|
152
|
-
protected acceptsChild(child: Node): boolean;
|
|
153
|
-
get _childTrees(): readonly NodeDimension[];
|
|
154
|
-
/** This node's children in the audio tree. */
|
|
155
|
-
get childrenAudio(): NodeAudio[];
|
|
156
|
-
declareAssets(assets: AssetScope): void;
|
|
157
|
-
protected clipSelf(): Clip;
|
|
158
|
-
_cameraScope(): CameraScope | null;
|
|
159
|
-
_spaceCamera(): SpaceCamera | null;
|
|
160
|
-
protected _projection(): Projection3D;
|
|
161
|
-
protected renderChildren(ctx: RenderPass2D): void;
|
|
162
|
-
}
|
|
163
|
-
//# sourceMappingURL=canvas2d-node.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"canvas2d-node.d.ts","sourceRoot":"","sources":["../../../src/nodes/root/canvas2d-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEjE,OAAO,EAAc,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEjF,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjF,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAIrD,gBAAgB;AAChB,MA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