@pibbl/core 0.0.1
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/LICENSE.txt +19 -0
- package/README.md +76 -0
- package/THIRD_PARTY_NOTICES.txt +205 -0
- package/dist/features/particles/index.d.ts +7 -0
- package/dist/features/particles/index.js +26 -0
- package/dist/features/particles/index.js.map +7 -0
- package/dist/features/particles/index.mjs +1 -0
- package/dist/features/particles/lib/canvas/birth-ledger.d.ts +69 -0
- package/dist/features/particles/lib/canvas/birth-ledger.js +752 -0
- package/dist/features/particles/lib/canvas/birth-ledger.js.map +7 -0
- package/dist/features/particles/lib/canvas/component.d.ts +14 -0
- package/dist/features/particles/lib/canvas/component.js +249 -0
- package/dist/features/particles/lib/canvas/component.js.map +7 -0
- package/dist/features/particles/lib/canvas/executor.d.ts +31 -0
- package/dist/features/particles/lib/canvas/executor.js +537 -0
- package/dist/features/particles/lib/canvas/executor.js.map +7 -0
- package/dist/features/particles/lib/canvas/primitive.d.ts +14 -0
- package/dist/features/particles/lib/canvas/primitive.js +50 -0
- package/dist/features/particles/lib/canvas/primitive.js.map +7 -0
- package/dist/features/particles/lib/canvas/raster-cache.d.ts +13 -0
- package/dist/features/particles/lib/canvas/raster-cache.js +106 -0
- package/dist/features/particles/lib/canvas/raster-cache.js.map +7 -0
- package/dist/features/particles/lib/color.d.ts +7 -0
- package/dist/features/particles/lib/color.js +159 -0
- package/dist/features/particles/lib/color.js.map +7 -0
- package/dist/features/particles/lib/compiler.d.ts +134 -0
- package/dist/features/particles/lib/compiler.js +443 -0
- package/dist/features/particles/lib/compiler.js.map +7 -0
- package/dist/features/particles/lib/curve.d.ts +19 -0
- package/dist/features/particles/lib/curve.js +129 -0
- package/dist/features/particles/lib/curve.js.map +7 -0
- package/dist/features/particles/lib/definition-records.d.ts +58 -0
- package/dist/features/particles/lib/definition-records.js +500 -0
- package/dist/features/particles/lib/definition-records.js.map +7 -0
- package/dist/features/particles/lib/definition.d.ts +18 -0
- package/dist/features/particles/lib/definition.js +602 -0
- package/dist/features/particles/lib/definition.js.map +7 -0
- package/dist/features/particles/lib/emission.d.ts +54 -0
- package/dist/features/particles/lib/emission.js +184 -0
- package/dist/features/particles/lib/emission.js.map +7 -0
- package/dist/features/particles/lib/flow/field.d.ts +81 -0
- package/dist/features/particles/lib/flow/field.js +585 -0
- package/dist/features/particles/lib/flow/field.js.map +7 -0
- package/dist/features/particles/lib/flow/hook.d.ts +158 -0
- package/dist/features/particles/lib/flow/hook.js +215 -0
- package/dist/features/particles/lib/flow/hook.js.map +7 -0
- package/dist/features/particles/lib/flow/population.d.ts +25 -0
- package/dist/features/particles/lib/flow/population.js +104 -0
- package/dist/features/particles/lib/flow/population.js.map +7 -0
- package/dist/features/particles/lib/particle.d.ts +113 -0
- package/dist/features/particles/lib/particle.js +192 -0
- package/dist/features/particles/lib/particle.js.map +7 -0
- package/dist/features/particles/lib/random.d.ts +16 -0
- package/dist/features/particles/lib/random.js +61 -0
- package/dist/features/particles/lib/random.js.map +7 -0
- package/dist/features/particles/lib/sample.d.ts +32 -0
- package/dist/features/particles/lib/sample.js +397 -0
- package/dist/features/particles/lib/sample.js.map +7 -0
- package/dist/features/particles/lib/signal-inputs.d.ts +6 -0
- package/dist/features/particles/lib/signal-inputs.js +41 -0
- package/dist/features/particles/lib/signal-inputs.js.map +7 -0
- package/dist/features/particles/lib/system/binding.d.ts +59 -0
- package/dist/features/particles/lib/system/binding.js +122 -0
- package/dist/features/particles/lib/system/binding.js.map +7 -0
- package/dist/features/particles/lib/system/controller.d.ts +58 -0
- package/dist/features/particles/lib/system/controller.js +1446 -0
- package/dist/features/particles/lib/system/controller.js.map +7 -0
- package/dist/features/particles/lib/system/hook.d.ts +13 -0
- package/dist/features/particles/lib/system/hook.js +52 -0
- package/dist/features/particles/lib/system/hook.js.map +7 -0
- package/dist/features/particles/lib/system/ownership.d.ts +26 -0
- package/dist/features/particles/lib/system/ownership.js +128 -0
- package/dist/features/particles/lib/system/ownership.js.map +7 -0
- package/dist/features/particles/lib/types.d.ts +983 -0
- package/dist/features/physics/2d-geometry.d.ts +216 -0
- package/dist/features/physics/2d-geometry.js +59 -0
- package/dist/features/physics/2d-geometry.js.map +7 -0
- package/dist/features/physics/2d-geometry.mjs +1 -0
- package/dist/features/physics/2d-testing.d.ts +80 -0
- package/dist/features/physics/2d-testing.js +141 -0
- package/dist/features/physics/2d-testing.js.map +7 -0
- package/dist/features/physics/2d-testing.mjs +1 -0
- package/dist/features/physics/2d.d.ts +165 -0
- package/dist/features/physics/2d.js +119 -0
- package/dist/features/physics/2d.js.map +7 -0
- package/dist/features/physics/2d.mjs +1 -0
- package/dist/features/physics/lib/2d/canvas/components.d.ts +46 -0
- package/dist/features/physics/lib/2d/canvas/components.js +212 -0
- package/dist/features/physics/lib/2d/canvas/components.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/custom.d.ts +24 -0
- package/dist/features/physics/lib/2d/canvas/custom.js +45 -0
- package/dist/features/physics/lib/2d/canvas/custom.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/debug.d.ts +23 -0
- package/dist/features/physics/lib/2d/canvas/debug.js +53 -0
- package/dist/features/physics/lib/2d/canvas/debug.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/inference.d.ts +9 -0
- package/dist/features/physics/lib/2d/canvas/inference.js +704 -0
- package/dist/features/physics/lib/2d/canvas/inference.js.map +7 -0
- package/dist/features/physics/lib/2d/canvas/presentation.d.ts +11 -0
- package/dist/features/physics/lib/2d/canvas/presentation.js +169 -0
- package/dist/features/physics/lib/2d/canvas/presentation.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/analytic.d.ts +15 -0
- package/dist/features/physics/lib/2d/collision/analytic.js +151 -0
- package/dist/features/physics/lib/2d/collision/analytic.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/casts.d.ts +37 -0
- package/dist/features/physics/lib/2d/collision/casts.js +631 -0
- package/dist/features/physics/lib/2d/collision/casts.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/epa.d.ts +21 -0
- package/dist/features/physics/lib/2d/collision/epa.js +102 -0
- package/dist/features/physics/lib/2d/collision/epa.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/gjk.d.ts +28 -0
- package/dist/features/physics/lib/2d/collision/gjk.js +233 -0
- package/dist/features/physics/lib/2d/collision/gjk.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/manifold.d.ts +35 -0
- package/dist/features/physics/lib/2d/collision/manifold.js +238 -0
- package/dist/features/physics/lib/2d/collision/manifold.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/pairs.d.ts +10 -0
- package/dist/features/physics/lib/2d/collision/pairs.js +285 -0
- package/dist/features/physics/lib/2d/collision/pairs.js.map +7 -0
- package/dist/features/physics/lib/2d/collision/support.d.ts +20 -0
- package/dist/features/physics/lib/2d/collision/support.js +155 -0
- package/dist/features/physics/lib/2d/collision/support.js.map +7 -0
- package/dist/features/physics/lib/2d/inspection-types.d.ts +159 -0
- package/dist/features/physics/lib/2d/math.d.ts +27 -0
- package/dist/features/physics/lib/2d/math.js +314 -0
- package/dist/features/physics/lib/2d/math.js.map +7 -0
- package/dist/features/physics/lib/2d/numeric-policy.d.ts +24 -0
- package/dist/features/physics/lib/2d/numeric-policy.js +51 -0
- package/dist/features/physics/lib/2d/numeric-policy.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/body-handle.d.ts +148 -0
- package/dist/features/physics/lib/2d/runtime/body-handle.js +305 -0
- package/dist/features/physics/lib/2d/runtime/body-handle.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/context.d.ts +9 -0
- package/dist/features/physics/lib/2d/runtime/context.js +57 -0
- package/dist/features/physics/lib/2d/runtime/context.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/controller.d.ts +106 -0
- package/dist/features/physics/lib/2d/runtime/controller.js +1317 -0
- package/dist/features/physics/lib/2d/runtime/controller.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/descriptors.d.ts +153 -0
- package/dist/features/physics/lib/2d/runtime/descriptors.js +526 -0
- package/dist/features/physics/lib/2d/runtime/descriptors.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/events.d.ts +56 -0
- package/dist/features/physics/lib/2d/runtime/events.js +153 -0
- package/dist/features/physics/lib/2d/runtime/events.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/obstacles.d.ts +22 -0
- package/dist/features/physics/lib/2d/runtime/obstacles.js +192 -0
- package/dist/features/physics/lib/2d/runtime/obstacles.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/ownership.d.ts +41 -0
- package/dist/features/physics/lib/2d/runtime/ownership.js +46 -0
- package/dist/features/physics/lib/2d/runtime/ownership.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/trace.d.ts +32 -0
- package/dist/features/physics/lib/2d/runtime/trace.js +22 -0
- package/dist/features/physics/lib/2d/runtime/trace.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/world-component.d.ts +18 -0
- package/dist/features/physics/lib/2d/runtime/world-component.js +41 -0
- package/dist/features/physics/lib/2d/runtime/world-component.js.map +7 -0
- package/dist/features/physics/lib/2d/runtime/world-props.d.ts +16 -0
- package/dist/features/physics/lib/2d/shape-records.d.ts +60 -0
- package/dist/features/physics/lib/2d/shape-records.js +26 -0
- package/dist/features/physics/lib/2d/shape-records.js.map +7 -0
- package/dist/features/physics/lib/2d/shapes.d.ts +191 -0
- package/dist/features/physics/lib/2d/shapes.js +543 -0
- package/dist/features/physics/lib/2d/shapes.js.map +7 -0
- package/dist/features/physics/lib/2d/types.d.ts +713 -0
- package/dist/features/physics/lib/2d/types.js +1 -0
- package/dist/features/physics/lib/2d/types.js.map +7 -0
- package/dist/features/physics/lib/2d/world/broad-phase.d.ts +77 -0
- package/dist/features/physics/lib/2d/world/broad-phase.js +762 -0
- package/dist/features/physics/lib/2d/world/broad-phase.js.map +7 -0
- package/dist/features/physics/lib/2d/world/ccd.d.ts +19 -0
- package/dist/features/physics/lib/2d/world/ccd.js +265 -0
- package/dist/features/physics/lib/2d/world/ccd.js.map +7 -0
- package/dist/features/physics/lib/2d/world/contact-cache.d.ts +81 -0
- package/dist/features/physics/lib/2d/world/contact-cache.js +497 -0
- package/dist/features/physics/lib/2d/world/contact-cache.js.map +7 -0
- package/dist/features/physics/lib/2d/world/integrator.d.ts +11 -0
- package/dist/features/physics/lib/2d/world/integrator.js +99 -0
- package/dist/features/physics/lib/2d/world/integrator.js.map +7 -0
- package/dist/features/physics/lib/2d/world/queries.d.ts +62 -0
- package/dist/features/physics/lib/2d/world/queries.js +424 -0
- package/dist/features/physics/lib/2d/world/queries.js.map +7 -0
- package/dist/features/physics/lib/2d/world/rapier-engine.js +7054 -0
- package/dist/features/physics/lib/2d/world/rapier-engine.js.map +7 -0
- package/dist/features/physics/lib/2d/world/rapier.d.ts +50 -0
- package/dist/features/physics/lib/2d/world/rapier.js +655 -0
- package/dist/features/physics/lib/2d/world/rapier.js.map +7 -0
- package/dist/features/physics/lib/2d/world/solver.d.ts +58 -0
- package/dist/features/physics/lib/2d/world/solver.js +660 -0
- package/dist/features/physics/lib/2d/world/solver.js.map +7 -0
- package/dist/features/physics/lib/2d/world/storage.d.ts +96 -0
- package/dist/features/physics/lib/2d/world/storage.js +371 -0
- package/dist/features/physics/lib/2d/world/storage.js.map +7 -0
- package/dist/features/physics/lib/2d/world/world.d.ts +265 -0
- package/dist/features/physics/lib/2d/world/world.js +1713 -0
- package/dist/features/physics/lib/2d/world/world.js.map +7 -0
- package/dist/features/physics/lib/shared/signal-inputs.d.ts +5 -0
- package/dist/features/physics/lib/shared/signal-inputs.js +20 -0
- package/dist/features/physics/lib/shared/signal-inputs.js.map +7 -0
- package/dist/features/physics/lib/shared/validation.d.ts +5 -0
- package/dist/features/physics/lib/shared/validation.js +48 -0
- package/dist/features/physics/lib/shared/validation.js.map +7 -0
- package/dist/features/sprites/formats/aseprite.js +23 -0
- package/dist/features/sprites/formats/aseprite.js.map +7 -0
- package/dist/features/sprites/formats/aseprite.mjs +1 -0
- package/dist/features/sprites/formats/texture-packer.js +14 -0
- package/dist/features/sprites/formats/texture-packer.js.map +7 -0
- package/dist/features/sprites/formats/texture-packer.mjs +1 -0
- package/dist/features/sprites/index.js +9 -0
- package/dist/features/sprites/index.js.map +7 -0
- package/dist/features/sprites/index.mjs +1 -0
- package/dist/features/sprites/loader.js +63 -0
- package/dist/features/sprites/loader.js.map +7 -0
- package/dist/features/sprites/model.js +64 -0
- package/dist/features/sprites/model.js.map +7 -0
- package/dist/features/sprites/sprite.js +31 -0
- package/dist/features/sprites/sprite.js.map +7 -0
- package/dist/features/textures/index.d.ts +22 -0
- package/dist/features/textures/index.js +31 -0
- package/dist/features/textures/index.js.map +7 -0
- package/dist/features/textures/index.mjs +1 -0
- package/dist/features/textures/lib/definitions.d.ts +117 -0
- package/dist/features/textures/lib/definitions.js +179 -0
- package/dist/features/textures/lib/definitions.js.map +7 -0
- package/dist/features/textures/lib/electric-boundary.d.ts +3 -0
- package/dist/features/textures/lib/electric-boundary.js +11 -0
- package/dist/features/textures/lib/electric-boundary.js.map +7 -0
- package/dist/features/textures/lib/electric-shared.d.ts +69 -0
- package/dist/features/textures/lib/electric-shared.js +43 -0
- package/dist/features/textures/lib/electric-shared.js.map +7 -0
- package/dist/features/textures/lib/electric-sources.d.ts +50 -0
- package/dist/features/textures/lib/electric-sources.js +43 -0
- package/dist/features/textures/lib/electric-sources.js.map +7 -0
- package/dist/features/textures/lib/lightning.d.ts +72 -0
- package/dist/features/textures/lib/lightning.js +139 -0
- package/dist/features/textures/lib/lightning.js.map +7 -0
- package/dist/features/textures/lib/material-field.d.ts +12 -0
- package/dist/features/textures/lib/material-field.js +31 -0
- package/dist/features/textures/lib/material-field.js.map +7 -0
- package/dist/features/textures/lib/palette.d.ts +45 -0
- package/dist/features/textures/lib/palette.js +52 -0
- package/dist/features/textures/lib/palette.js.map +7 -0
- package/dist/features/textures/lib/presentation.d.ts +54 -0
- package/dist/features/textures/lib/presentation.js +83 -0
- package/dist/features/textures/lib/presentation.js.map +7 -0
- package/dist/features/textures/lib/procedural-texture.d.ts +44 -0
- package/dist/features/textures/lib/procedural-texture.js +110 -0
- package/dist/features/textures/lib/procedural-texture.js.map +7 -0
- package/dist/features/textures/lib/rain-drops.d.ts +96 -0
- package/dist/features/textures/lib/rain-drops.js +322 -0
- package/dist/features/textures/lib/rain-drops.js.map +7 -0
- package/dist/features/textures/lib/reaction-diffusion.d.ts +67 -0
- package/dist/features/textures/lib/reaction-diffusion.js +210 -0
- package/dist/features/textures/lib/reaction-diffusion.js.map +7 -0
- package/dist/features/textures/lib/simulation.d.ts +16 -0
- package/dist/features/textures/lib/simulation.js +85 -0
- package/dist/features/textures/lib/simulation.js.map +7 -0
- package/dist/features/textures/lib/tendrils.d.ts +57 -0
- package/dist/features/textures/lib/tendrils.js +216 -0
- package/dist/features/textures/lib/tendrils.js.map +7 -0
- package/dist/features/textures/lib/wasm/cellular-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/cellular-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/cellular-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/electric.d.ts +88 -0
- package/dist/features/textures/lib/wasm/electric.js +299 -0
- package/dist/features/textures/lib/wasm/electric.js.map +7 -0
- package/dist/features/textures/lib/wasm/ink-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/ink-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/ink-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/lightning-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/lightning-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/lightning-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/marble-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/marble-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/marble-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/memory.d.ts +31 -0
- package/dist/features/textures/lib/wasm/memory.js +103 -0
- package/dist/features/textures/lib/wasm/memory.js.map +7 -0
- package/dist/features/textures/lib/wasm/paper-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/paper-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/paper-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/tendrils-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/tendrils-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/tendrils-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/water-surface-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/water-surface-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/water-surface-bytes.js.map +7 -0
- package/dist/features/textures/lib/wasm/water-waves-bytes.d.ts +1 -0
- package/dist/features/textures/lib/wasm/water-waves-bytes.js +5 -0
- package/dist/features/textures/lib/wasm/water-waves-bytes.js.map +7 -0
- package/dist/features/textures/lib/water-surface.d.ts +92 -0
- package/dist/features/textures/lib/water-surface.js +378 -0
- package/dist/features/textures/lib/water-surface.js.map +7 -0
- package/dist/features/textures/lib/water-waves.d.ts +60 -0
- package/dist/features/textures/lib/water-waves.js +154 -0
- package/dist/features/textures/lib/water-waves.js.map +7 -0
- package/dist/features/viz/index.d.ts +28 -0
- package/dist/features/viz/index.js +45 -0
- package/dist/features/viz/index.js.map +7 -0
- package/dist/features/viz/index.mjs +1 -0
- package/dist/features/viz/lib/anchored-layout.d.ts +104 -0
- package/dist/features/viz/lib/anchored-layout.js +166 -0
- package/dist/features/viz/lib/anchored-layout.js.map +7 -0
- package/dist/features/viz/lib/axis.d.ts +10 -0
- package/dist/features/viz/lib/axis.js +116 -0
- package/dist/features/viz/lib/axis.js.map +7 -0
- package/dist/features/viz/lib/band-scale.d.ts +3 -0
- package/dist/features/viz/lib/band-scale.js +57 -0
- package/dist/features/viz/lib/band-scale.js.map +7 -0
- package/dist/features/viz/lib/bar-fill.d.ts +16 -0
- package/dist/features/viz/lib/bar-fill.js +53 -0
- package/dist/features/viz/lib/bar-fill.js.map +7 -0
- package/dist/features/viz/lib/bar-series.d.ts +150 -0
- package/dist/features/viz/lib/bar-series.js +152 -0
- package/dist/features/viz/lib/bar-series.js.map +7 -0
- package/dist/features/viz/lib/hover-card.d.ts +92 -0
- package/dist/features/viz/lib/hover-card.js +146 -0
- package/dist/features/viz/lib/hover-card.js.map +7 -0
- package/dist/features/viz/lib/hover-data.d.ts +12 -0
- package/dist/features/viz/lib/hover-data.js +50 -0
- package/dist/features/viz/lib/hover-data.js.map +7 -0
- package/dist/features/viz/lib/hover-placement.d.ts +46 -0
- package/dist/features/viz/lib/hover-placement.js +51 -0
- package/dist/features/viz/lib/hover-placement.js.map +7 -0
- package/dist/features/viz/lib/hover-queries.d.ts +60 -0
- package/dist/features/viz/lib/hover-queries.js +185 -0
- package/dist/features/viz/lib/hover-queries.js.map +7 -0
- package/dist/features/viz/lib/hover-types.d.ts +277 -0
- package/dist/features/viz/lib/layout-pie.d.ts +13 -0
- package/dist/features/viz/lib/layout-pie.js +159 -0
- package/dist/features/viz/lib/layout-pie.js.map +7 -0
- package/dist/features/viz/lib/line-series.d.ts +11 -0
- package/dist/features/viz/lib/line-series.js +89 -0
- package/dist/features/viz/lib/line-series.js.map +7 -0
- package/dist/features/viz/lib/linear-scale.d.ts +3 -0
- package/dist/features/viz/lib/linear-scale.js +70 -0
- package/dist/features/viz/lib/linear-scale.js.map +7 -0
- package/dist/features/viz/lib/nearest.d.ts +82 -0
- package/dist/features/viz/lib/nearest.js +51 -0
- package/dist/features/viz/lib/nearest.js.map +7 -0
- package/dist/features/viz/lib/paint.d.ts +2 -0
- package/dist/features/viz/lib/paint.js +17 -0
- package/dist/features/viz/lib/paint.js.map +7 -0
- package/dist/features/viz/lib/pie-layout.d.ts +31 -0
- package/dist/features/viz/lib/pie-layout.js +324 -0
- package/dist/features/viz/lib/pie-layout.js.map +7 -0
- package/dist/features/viz/lib/pie-slices.d.ts +51 -0
- package/dist/features/viz/lib/pie-slices.js +50 -0
- package/dist/features/viz/lib/pie-slices.js.map +7 -0
- package/dist/features/viz/lib/pie-types.d.ts +215 -0
- package/dist/features/viz/lib/plot-series.d.ts +13 -0
- package/dist/features/viz/lib/plot-series.js +53 -0
- package/dist/features/viz/lib/plot-series.js.map +7 -0
- package/dist/features/viz/lib/plot-types.d.ts +63 -0
- package/dist/features/viz/lib/point-data.d.ts +5 -0
- package/dist/features/viz/lib/point-data.js +17 -0
- package/dist/features/viz/lib/point-data.js.map +7 -0
- package/dist/features/viz/lib/point-geometry.d.ts +2 -0
- package/dist/features/viz/lib/point-geometry.js +24 -0
- package/dist/features/viz/lib/point-geometry.js.map +7 -0
- package/dist/features/viz/lib/point-series.d.ts +11 -0
- package/dist/features/viz/lib/point-series.js +118 -0
- package/dist/features/viz/lib/point-series.js.map +7 -0
- package/dist/features/viz/lib/point-types.d.ts +94 -0
- package/dist/features/viz/lib/scale-adjust.d.ts +11 -0
- package/dist/features/viz/lib/scale-adjust.js +25 -0
- package/dist/features/viz/lib/scale-adjust.js.map +7 -0
- package/dist/features/viz/lib/scale-context.d.ts +8 -0
- package/dist/features/viz/lib/scale-context.js +61 -0
- package/dist/features/viz/lib/scale-context.js.map +7 -0
- package/dist/features/viz/lib/scale.d.ts +11 -0
- package/dist/features/viz/lib/scale.js +80 -0
- package/dist/features/viz/lib/scale.js.map +7 -0
- package/dist/features/viz/lib/types.d.ts +414 -0
- package/dist/features/viz/lib/use-scale.d.ts +20 -0
- package/dist/features/viz/lib/use-scale.js +10 -0
- package/dist/features/viz/lib/use-scale.js.map +7 -0
- package/dist/filters/displacement-gpu.d.ts +38 -0
- package/dist/filters/displacement-gpu.js +243 -0
- package/dist/filters/displacement-gpu.js.map +7 -0
- package/dist/filters/displacement-math.d.ts +5 -0
- package/dist/filters/displacement-math.js +22 -0
- package/dist/filters/displacement-math.js.map +7 -0
- package/dist/filters/displacement.d.ts +13 -0
- package/dist/filters/displacement.js +65 -0
- package/dist/filters/displacement.js.map +7 -0
- package/dist/filters/filter-executor.d.ts +21 -0
- package/dist/filters/filter-executor.js +120 -0
- package/dist/filters/filter-executor.js.map +7 -0
- package/dist/filters/native-canvas-filter.d.ts +4 -0
- package/dist/filters/native-canvas-filter.js +105 -0
- package/dist/filters/native-canvas-filter.js.map +7 -0
- package/dist/filters/native-color.d.ts +2 -0
- package/dist/filters/native-color.js +200 -0
- package/dist/filters/native-color.js.map +7 -0
- package/dist/filters/native-operations.d.ts +8 -0
- package/dist/filters/native-operations.js +7 -0
- package/dist/filters/native-operations.js.map +7 -0
- package/dist/filters/native.d.ts +113 -0
- package/dist/filters/native.js +115 -0
- package/dist/filters/native.js.map +7 -0
- package/dist/filters/reflected-light.d.ts +12 -0
- package/dist/filters/reflected-light.js +93 -0
- package/dist/filters/reflected-light.js.map +7 -0
- package/dist/filters/reflection-gpu.d.ts +58 -0
- package/dist/filters/reflection-gpu.js +266 -0
- package/dist/filters/reflection-gpu.js.map +7 -0
- package/dist/filters/render-displacement-boundary.d.ts +12 -0
- package/dist/filters/render-displacement-boundary.js +116 -0
- package/dist/filters/render-displacement-boundary.js.map +7 -0
- package/dist/filters/render-reflection-boundary.d.ts +15 -0
- package/dist/filters/render-reflection-boundary.js +127 -0
- package/dist/filters/render-reflection-boundary.js.map +7 -0
- package/dist/filters.d.ts +5 -0
- package/dist/filters.js +29 -0
- package/dist/filters.js.map +7 -0
- package/dist/filters.mjs +1 -0
- package/dist/index.d.ts +111 -0
- package/dist/index.js +300 -0
- package/dist/index.js.map +7 -0
- package/dist/index.mjs +1 -0
- package/dist/internal.d.ts +160 -0
- package/dist/internal.js +320 -0
- package/dist/internal.js.map +7 -0
- package/dist/internal.mjs +1 -0
- package/dist/jsx-dev-runtime.d.ts +35 -0
- package/dist/jsx-dev-runtime.js +6 -0
- package/dist/jsx-dev-runtime.js.map +7 -0
- package/dist/jsx-dev-runtime.mjs +1 -0
- package/dist/jsx-runtime.d.ts +35 -0
- package/dist/jsx-runtime.js +7 -0
- package/dist/jsx-runtime.js.map +7 -0
- package/dist/jsx-runtime.mjs +1 -0
- package/dist/lib/animation/definition.d.ts +140 -0
- package/dist/lib/animation/definition.js +605 -0
- package/dist/lib/animation/definition.js.map +7 -0
- package/dist/lib/animation/easing.d.ts +55 -0
- package/dist/lib/animation/easing.js +112 -0
- package/dist/lib/animation/easing.js.map +7 -0
- package/dist/lib/animation/evaluate.d.ts +118 -0
- package/dist/lib/animation/evaluate.js +2398 -0
- package/dist/lib/animation/evaluate.js.map +7 -0
- package/dist/lib/animation/playback.d.ts +30 -0
- package/dist/lib/animation/playback.js +932 -0
- package/dist/lib/animation/playback.js.map +7 -0
- package/dist/lib/animation/program.d.ts +145 -0
- package/dist/lib/animation/program.js +741 -0
- package/dist/lib/animation/program.js.map +7 -0
- package/dist/lib/animation/spring.d.ts +30 -0
- package/dist/lib/animation/spring.js +324 -0
- package/dist/lib/animation/spring.js.map +7 -0
- package/dist/lib/animation/types.d.ts +418 -0
- package/dist/lib/animation/writer-leases.d.ts +47 -0
- package/dist/lib/animation/writer-leases.js +314 -0
- package/dist/lib/animation/writer-leases.js.map +7 -0
- package/dist/lib/backend/canvas-2d-backend.d.ts +4 -0
- package/dist/lib/backend/canvas-2d-backend.js +97 -0
- package/dist/lib/backend/canvas-2d-backend.js.map +7 -0
- package/dist/lib/backend/types.d.ts +309 -0
- package/dist/lib/backend/types.js +26 -0
- package/dist/lib/backend/types.js.map +7 -0
- package/dist/lib/components/arc-geometry.d.ts +4 -0
- package/dist/lib/components/arc-geometry.js +46 -0
- package/dist/lib/components/arc-geometry.js.map +7 -0
- package/dist/lib/components/arc.d.ts +55 -0
- package/dist/lib/components/arc.js +91 -0
- package/dist/lib/components/arc.js.map +7 -0
- package/dist/lib/components/circle.d.ts +49 -0
- package/dist/lib/components/circle.js +46 -0
- package/dist/lib/components/circle.js.map +7 -0
- package/dist/lib/components/clip.d.ts +43 -0
- package/dist/lib/components/clip.js +24 -0
- package/dist/lib/components/clip.js.map +7 -0
- package/dist/lib/components/ellipse.d.ts +53 -0
- package/dist/lib/components/ellipse.js +59 -0
- package/dist/lib/components/ellipse.js.map +7 -0
- package/dist/lib/components/g.d.ts +56 -0
- package/dist/lib/components/g.js +24 -0
- package/dist/lib/components/g.js.map +7 -0
- package/dist/lib/components/horizontal-line.d.ts +56 -0
- package/dist/lib/components/horizontal-line.js +71 -0
- package/dist/lib/components/horizontal-line.js.map +7 -0
- package/dist/lib/components/html-box.d.ts +16 -0
- package/dist/lib/components/html-box.js +57 -0
- package/dist/lib/components/html-box.js.map +7 -0
- package/dist/lib/components/img.d.ts +24 -0
- package/dist/lib/components/img.js +150 -0
- package/dist/lib/components/img.js.map +7 -0
- package/dist/lib/components/layer-node-equality.d.ts +65 -0
- package/dist/lib/components/layer-node-equality.js +91 -0
- package/dist/lib/components/layer-node-equality.js.map +7 -0
- package/dist/lib/components/layer.d.ts +34 -0
- package/dist/lib/components/layer.js +172 -0
- package/dist/lib/components/layer.js.map +7 -0
- package/dist/lib/components/line.d.ts +51 -0
- package/dist/lib/components/line.js +76 -0
- package/dist/lib/components/line.js.map +7 -0
- package/dist/lib/components/path.d.ts +28 -0
- package/dist/lib/components/path.js +47 -0
- package/dist/lib/components/path.js.map +7 -0
- package/dist/lib/components/polygon.d.ts +45 -0
- package/dist/lib/components/polygon.js +93 -0
- package/dist/lib/components/polygon.js.map +7 -0
- package/dist/lib/components/rect.d.ts +24 -0
- package/dist/lib/components/rect.js +83 -0
- package/dist/lib/components/rect.js.map +7 -0
- package/dist/lib/components/regular-polygon.d.ts +102 -0
- package/dist/lib/components/regular-polygon.js +112 -0
- package/dist/lib/components/regular-polygon.js.map +7 -0
- package/dist/lib/components/rounded-corner-style.d.ts +7 -0
- package/dist/lib/components/rounded-corner-style.js +40 -0
- package/dist/lib/components/rounded-corner-style.js.map +7 -0
- package/dist/lib/components/shape-style.d.ts +7 -0
- package/dist/lib/components/shape-style.js +52 -0
- package/dist/lib/components/shape-style.js.map +7 -0
- package/dist/lib/components/star.d.ts +56 -0
- package/dist/lib/components/star.js +98 -0
- package/dist/lib/components/star.js.map +7 -0
- package/dist/lib/components/structural-events.d.ts +10 -0
- package/dist/lib/components/structural-events.js +8 -0
- package/dist/lib/components/structural-events.js.map +7 -0
- package/dist/lib/components/svg-path.d.ts +23 -0
- package/dist/lib/components/svg-path.js +25 -0
- package/dist/lib/components/svg-path.js.map +7 -0
- package/dist/lib/components/text-layout.d.ts +31 -0
- package/dist/lib/components/text-layout.js +139 -0
- package/dist/lib/components/text-layout.js.map +7 -0
- package/dist/lib/components/text.d.ts +29 -0
- package/dist/lib/components/text.js +174 -0
- package/dist/lib/components/text.js.map +7 -0
- package/dist/lib/components/vertical-line.d.ts +57 -0
- package/dist/lib/components/vertical-line.js +71 -0
- package/dist/lib/components/vertical-line.js.map +7 -0
- package/dist/lib/components/wedge.d.ts +55 -0
- package/dist/lib/components/wedge.js +93 -0
- package/dist/lib/components/wedge.js.map +7 -0
- package/dist/lib/define-primitive.d.ts +82 -0
- package/dist/lib/define-primitive.js +85 -0
- package/dist/lib/define-primitive.js.map +7 -0
- package/dist/lib/development.d.ts +2 -0
- package/dist/lib/development.js +5 -0
- package/dist/lib/development.js.map +7 -0
- package/dist/lib/element/children.d.ts +16 -0
- package/dist/lib/element/children.js +333 -0
- package/dist/lib/element/children.js.map +7 -0
- package/dist/lib/element/create-element.d.ts +34 -0
- package/dist/lib/element/create-element.js +75 -0
- package/dist/lib/element/create-element.js.map +7 -0
- package/dist/lib/element/fragment.d.ts +15 -0
- package/dist/lib/element/fragment.js +11 -0
- package/dist/lib/element/fragment.js.map +7 -0
- package/dist/lib/element/jsx-runtime.d.ts +48 -0
- package/dist/lib/element/jsx-runtime.js +16 -0
- package/dist/lib/element/jsx-runtime.js.map +7 -0
- package/dist/lib/element/metadata.d.ts +96 -0
- package/dist/lib/element/metadata.js +160 -0
- package/dist/lib/element/metadata.js.map +7 -0
- package/dist/lib/element/resolve-primitive-inputs.d.ts +12 -0
- package/dist/lib/element/resolve-primitive-inputs.js +83 -0
- package/dist/lib/element/resolve-primitive-inputs.js.map +7 -0
- package/dist/lib/element/types.d.ts +123 -0
- package/dist/lib/element-enhancers.d.ts +134 -0
- package/dist/lib/element-enhancers.js +193 -0
- package/dist/lib/element-enhancers.js.map +7 -0
- package/dist/lib/events/adapters/clipboard.d.ts +9 -0
- package/dist/lib/events/adapters/clipboard.js +23 -0
- package/dist/lib/events/adapters/clipboard.js.map +7 -0
- package/dist/lib/events/adapters/drag.d.ts +12 -0
- package/dist/lib/events/adapters/drag.js +29 -0
- package/dist/lib/events/adapters/drag.js.map +7 -0
- package/dist/lib/events/adapters/editing.d.ts +15 -0
- package/dist/lib/events/adapters/editing.js +41 -0
- package/dist/lib/events/adapters/editing.js.map +7 -0
- package/dist/lib/events/adapters/keyboard-focus.d.ts +12 -0
- package/dist/lib/events/adapters/keyboard-focus.js +36 -0
- package/dist/lib/events/adapters/keyboard-focus.js.map +7 -0
- package/dist/lib/events/adapters/mouse.d.ts +17 -0
- package/dist/lib/events/adapters/mouse.js +32 -0
- package/dist/lib/events/adapters/mouse.js.map +7 -0
- package/dist/lib/events/adapters/pointer.d.ts +19 -0
- package/dist/lib/events/adapters/pointer.js +40 -0
- package/dist/lib/events/adapters/pointer.js.map +7 -0
- package/dist/lib/events/adapters/touch.d.ts +16 -0
- package/dist/lib/events/adapters/touch.js +36 -0
- package/dist/lib/events/adapters/touch.js.map +7 -0
- package/dist/lib/events/adapters/wheel.d.ts +10 -0
- package/dist/lib/events/adapters/wheel.js +16 -0
- package/dist/lib/events/adapters/wheel.js.map +7 -0
- package/dist/lib/events/boundary-transitions.d.ts +9 -0
- package/dist/lib/events/boundary-transitions.js +16 -0
- package/dist/lib/events/boundary-transitions.js.map +7 -0
- package/dist/lib/events/dispatch.d.ts +21 -0
- package/dist/lib/events/dispatch.js +1078 -0
- package/dist/lib/events/dispatch.js.map +7 -0
- package/dist/lib/events/event-definitions.d.ts +23 -0
- package/dist/lib/events/event-definitions.js +74 -0
- package/dist/lib/events/event-definitions.js.map +7 -0
- package/dist/lib/events/event-facade.d.ts +19 -0
- package/dist/lib/events/event-facade.js +188 -0
- package/dist/lib/events/event-facade.js.map +7 -0
- package/dist/lib/events/event-path.d.ts +3 -0
- package/dist/lib/events/event-path.js +43 -0
- package/dist/lib/events/event-path.js.map +7 -0
- package/dist/lib/events/hit-test.d.ts +13 -0
- package/dist/lib/events/hit-test.js +135 -0
- package/dist/lib/events/hit-test.js.map +7 -0
- package/dist/lib/events/native-listener-hub.d.ts +10 -0
- package/dist/lib/events/native-listener-hub.js +72 -0
- package/dist/lib/events/native-listener-hub.js.map +7 -0
- package/dist/lib/events/paint-entry.d.ts +66 -0
- package/dist/lib/events/paint-entry.js +30 -0
- package/dist/lib/events/paint-entry.js.map +7 -0
- package/dist/lib/events/pointer-capture.d.ts +23 -0
- package/dist/lib/events/pointer-capture.js +339 -0
- package/dist/lib/events/pointer-capture.js.map +7 -0
- package/dist/lib/events/propagation.d.ts +7 -0
- package/dist/lib/events/propagation.js +56 -0
- package/dist/lib/events/propagation.js.map +7 -0
- package/dist/lib/events/registrations.d.ts +120 -0
- package/dist/lib/events/registrations.js +397 -0
- package/dist/lib/events/registrations.js.map +7 -0
- package/dist/lib/events/resolver-input.d.ts +25 -0
- package/dist/lib/events/resolver-input.js +62 -0
- package/dist/lib/events/resolver-input.js.map +7 -0
- package/dist/lib/events/types.d.ts +596 -0
- package/dist/lib/execute-render.d.ts +9 -0
- package/dist/lib/execute-render.js +195 -0
- package/dist/lib/execute-render.js.map +7 -0
- package/dist/lib/filter/canvas-state.d.ts +2 -0
- package/dist/lib/filter/canvas-state.js +31 -0
- package/dist/lib/filter/canvas-state.js.map +7 -0
- package/dist/lib/filter/filter-region.d.ts +33 -0
- package/dist/lib/filter/filter-region.js +291 -0
- package/dist/lib/filter/filter-region.js.map +7 -0
- package/dist/lib/filter/filter-surface-pool.d.ts +38 -0
- package/dist/lib/filter/filter-surface-pool.js +252 -0
- package/dist/lib/filter/filter-surface-pool.js.map +7 -0
- package/dist/lib/filter/render-filter-boundary.d.ts +14 -0
- package/dist/lib/filter/render-filter-boundary.js +211 -0
- package/dist/lib/filter/render-filter-boundary.js.map +7 -0
- package/dist/lib/focus/directional-navigation.d.ts +12 -0
- package/dist/lib/focus/directional-navigation.js +86 -0
- package/dist/lib/focus/directional-navigation.js.map +7 -0
- package/dist/lib/focus/dom-focus-host.d.ts +13 -0
- package/dist/lib/focus/dom-focus-host.js +352 -0
- package/dist/lib/focus/dom-focus-host.js.map +7 -0
- package/dist/lib/focus/dom-tab-stops.d.ts +3 -0
- package/dist/lib/focus/dom-tab-stops.js +71 -0
- package/dist/lib/focus/dom-tab-stops.js.map +7 -0
- package/dist/lib/focus/focus-events.d.ts +4 -0
- package/dist/lib/focus/focus-events.js +78 -0
- package/dist/lib/focus/focus-events.js.map +7 -0
- package/dist/lib/focus/focus-manager.d.ts +121 -0
- package/dist/lib/focus/focus-manager.js +1131 -0
- package/dist/lib/focus/focus-manager.js.map +7 -0
- package/dist/lib/focus/geometry.d.ts +4 -0
- package/dist/lib/focus/geometry.js +64 -0
- package/dist/lib/focus/geometry.js.map +7 -0
- package/dist/lib/focus/html-focus-region.d.ts +27 -0
- package/dist/lib/focus/keyboard-defaults.d.ts +7 -0
- package/dist/lib/focus/keyboard-defaults.js +110 -0
- package/dist/lib/focus/keyboard-defaults.js.map +7 -0
- package/dist/lib/focus/policy-components.d.ts +45 -0
- package/dist/lib/focus/policy-components.js +94 -0
- package/dist/lib/focus/policy-components.js.map +7 -0
- package/dist/lib/focus/types.d.ts +37 -0
- package/dist/lib/focus/types.js +7 -0
- package/dist/lib/focus/types.js.map +7 -0
- package/dist/lib/geometry/circle.d.ts +22 -0
- package/dist/lib/geometry/circle.js +13 -0
- package/dist/lib/geometry/circle.js.map +7 -0
- package/dist/lib/geometry/circular-sweep.d.ts +54 -0
- package/dist/lib/geometry/circular-sweep.js +95 -0
- package/dist/lib/geometry/circular-sweep.js.map +7 -0
- package/dist/lib/geometry/ellipse.d.ts +26 -0
- package/dist/lib/geometry/ellipse.js +17 -0
- package/dist/lib/geometry/ellipse.js.map +7 -0
- package/dist/lib/geometry/line.d.ts +20 -0
- package/dist/lib/geometry/line.js +15 -0
- package/dist/lib/geometry/line.js.map +7 -0
- package/dist/lib/geometry/path-arc.d.ts +25 -0
- package/dist/lib/geometry/path-arc.js +57 -0
- package/dist/lib/geometry/path-arc.js.map +7 -0
- package/dist/lib/geometry/path-bend-guide.d.ts +31 -0
- package/dist/lib/geometry/path-bend-guide.js +282 -0
- package/dist/lib/geometry/path-bend-guide.js.map +7 -0
- package/dist/lib/geometry/path-bend-spans.d.ts +31 -0
- package/dist/lib/geometry/path-bend-spans.js +109 -0
- package/dist/lib/geometry/path-bend-spans.js.map +7 -0
- package/dist/lib/geometry/path-bending.d.ts +90 -0
- package/dist/lib/geometry/path-bending.js +202 -0
- package/dist/lib/geometry/path-bending.js.map +7 -0
- package/dist/lib/geometry/path-conversion.d.ts +19 -0
- package/dist/lib/geometry/path-conversion.js +114 -0
- package/dist/lib/geometry/path-conversion.js.map +7 -0
- package/dist/lib/geometry/path-geometry.d.ts +218 -0
- package/dist/lib/geometry/path-geometry.js +557 -0
- package/dist/lib/geometry/path-geometry.js.map +7 -0
- package/dist/lib/geometry/path-radial.d.ts +15 -0
- package/dist/lib/geometry/path-radial.js +107 -0
- package/dist/lib/geometry/path-radial.js.map +7 -0
- package/dist/lib/geometry/path-transforms.d.ts +233 -0
- package/dist/lib/geometry/path-transforms.js +478 -0
- package/dist/lib/geometry/path-transforms.js.map +7 -0
- package/dist/lib/geometry/path-utilities.d.ts +78 -0
- package/dist/lib/geometry/path-utilities.js +341 -0
- package/dist/lib/geometry/path-utilities.js.map +7 -0
- package/dist/lib/geometry/path-wang.d.ts +18 -0
- package/dist/lib/geometry/path-wang.js +136 -0
- package/dist/lib/geometry/path-wang.js.map +7 -0
- package/dist/lib/geometry/path-warp-bezier.d.ts +17 -0
- package/dist/lib/geometry/path-warp-bezier.js +109 -0
- package/dist/lib/geometry/path-warp-bezier.js.map +7 -0
- package/dist/lib/geometry/path-warp.d.ts +27 -0
- package/dist/lib/geometry/path-warp.js +165 -0
- package/dist/lib/geometry/path-warp.js.map +7 -0
- package/dist/lib/geometry/polygon.d.ts +21 -0
- package/dist/lib/geometry/polygon.js +12 -0
- package/dist/lib/geometry/polygon.js.map +7 -0
- package/dist/lib/geometry/rectangle.d.ts +38 -0
- package/dist/lib/geometry/rectangle.js +22 -0
- package/dist/lib/geometry/rectangle.js.map +7 -0
- package/dist/lib/geometry/regular-polygon.d.ts +88 -0
- package/dist/lib/geometry/regular-polygon.js +67 -0
- package/dist/lib/geometry/regular-polygon.js.map +7 -0
- package/dist/lib/geometry/resolve-path.d.ts +4 -0
- package/dist/lib/geometry/resolve-path.js +16 -0
- package/dist/lib/geometry/resolve-path.js.map +7 -0
- package/dist/lib/geometry/rounded-corners.d.ts +28 -0
- package/dist/lib/geometry/rounded-corners.js +118 -0
- package/dist/lib/geometry/rounded-corners.js.map +7 -0
- package/dist/lib/geometry/star.d.ts +39 -0
- package/dist/lib/geometry/star.js +90 -0
- package/dist/lib/geometry/star.js.map +7 -0
- package/dist/lib/geometry/svg-path.d.ts +21 -0
- package/dist/lib/geometry/svg-path.js +7 -0
- package/dist/lib/geometry/svg-path.js.map +7 -0
- package/dist/lib/geometry/transform-bend.d.ts +46 -0
- package/dist/lib/geometry/transform-bend.js +219 -0
- package/dist/lib/geometry/transform-bend.js.map +7 -0
- package/dist/lib/geometry/transform-guide.d.ts +57 -0
- package/dist/lib/geometry/transform-guide.js +157 -0
- package/dist/lib/geometry/transform-guide.js.map +7 -0
- package/dist/lib/geometry/transform-math.d.ts +21 -0
- package/dist/lib/geometry/transform-math.js +91 -0
- package/dist/lib/geometry/transform-math.js.map +7 -0
- package/dist/lib/geometry/transform-mesh.d.ts +39 -0
- package/dist/lib/geometry/transform-mesh.js +129 -0
- package/dist/lib/geometry/transform-mesh.js.map +7 -0
- package/dist/lib/geometry/validation.d.ts +6 -0
- package/dist/lib/geometry/validation.js +42 -0
- package/dist/lib/geometry/validation.js.map +7 -0
- package/dist/lib/global-state.d.ts +63 -0
- package/dist/lib/global-state.js +176 -0
- package/dist/lib/global-state.js.map +7 -0
- package/dist/lib/hooks/hook-slot.d.ts +30 -0
- package/dist/lib/hooks/hook-slot.js +66 -0
- package/dist/lib/hooks/hook-slot.js.map +7 -0
- package/dist/lib/hooks/use-animated-value.d.ts +24 -0
- package/dist/lib/hooks/use-animated-value.js +169 -0
- package/dist/lib/hooks/use-animated-value.js.map +7 -0
- package/dist/lib/hooks/use-canvas-context.d.ts +10 -0
- package/dist/lib/hooks/use-canvas-context.js +13 -0
- package/dist/lib/hooks/use-canvas-context.js.map +7 -0
- package/dist/lib/hooks/use-computed.d.ts +13 -0
- package/dist/lib/hooks/use-computed.js +91 -0
- package/dist/lib/hooks/use-computed.js.map +7 -0
- package/dist/lib/hooks/use-const.d.ts +10 -0
- package/dist/lib/hooks/use-const.js +15 -0
- package/dist/lib/hooks/use-const.js.map +7 -0
- package/dist/lib/hooks/use-cursor.d.ts +16 -0
- package/dist/lib/hooks/use-cursor.js +51 -0
- package/dist/lib/hooks/use-cursor.js.map +7 -0
- package/dist/lib/hooks/use-event-listener.d.ts +10 -0
- package/dist/lib/hooks/use-event-listener.js +24 -0
- package/dist/lib/hooks/use-event-listener.js.map +7 -0
- package/dist/lib/hooks/use-event-target.d.ts +14 -0
- package/dist/lib/hooks/use-event-target.js +30 -0
- package/dist/lib/hooks/use-event-target.js.map +7 -0
- package/dist/lib/hooks/use-layout-box.d.ts +9 -0
- package/dist/lib/hooks/use-layout-box.js +8 -0
- package/dist/lib/hooks/use-layout-box.js.map +7 -0
- package/dist/lib/hooks/use-line-path.d.ts +14 -0
- package/dist/lib/hooks/use-line-path.js +13 -0
- package/dist/lib/hooks/use-line-path.js.map +7 -0
- package/dist/lib/hooks/use-paint-target.d.ts +3 -0
- package/dist/lib/hooks/use-paint-target.js +34 -0
- package/dist/lib/hooks/use-paint-target.js.map +7 -0
- package/dist/lib/hooks/use-playback.d.ts +21 -0
- package/dist/lib/hooks/use-playback.js +87 -0
- package/dist/lib/hooks/use-playback.js.map +7 -0
- package/dist/lib/hooks/use-reaction.d.ts +19 -0
- package/dist/lib/hooks/use-reaction.js +245 -0
- package/dist/lib/hooks/use-reaction.js.map +7 -0
- package/dist/lib/hooks/use-rect-path.d.ts +20 -0
- package/dist/lib/hooks/use-rect-path.js +25 -0
- package/dist/lib/hooks/use-rect-path.js.map +7 -0
- package/dist/lib/hooks/use-ref.d.ts +17 -0
- package/dist/lib/hooks/use-ref.js +8 -0
- package/dist/lib/hooks/use-ref.js.map +7 -0
- package/dist/lib/hooks/use-region.d.ts +11 -0
- package/dist/lib/hooks/use-region.js +34 -0
- package/dist/lib/hooks/use-region.js.map +7 -0
- package/dist/lib/hooks/use-signal.d.ts +12 -0
- package/dist/lib/hooks/use-signal.js +12 -0
- package/dist/lib/hooks/use-signal.js.map +7 -0
- package/dist/lib/hooks/use-svg-path.d.ts +11 -0
- package/dist/lib/hooks/use-svg-path.js +13 -0
- package/dist/lib/hooks/use-svg-path.js.map +7 -0
- package/dist/lib/hooks/use-value-memo-slot.d.ts +12 -0
- package/dist/lib/hooks/use-value-memo-slot.js +45 -0
- package/dist/lib/hooks/use-value-memo-slot.js.map +7 -0
- package/dist/lib/hooks/use-visibility-transition.d.ts +103 -0
- package/dist/lib/hooks/use-visibility-transition.js +195 -0
- package/dist/lib/hooks/use-visibility-transition.js.map +7 -0
- package/dist/lib/html/html-service.d.ts +30 -0
- package/dist/lib/html/html-service.js +281 -0
- package/dist/lib/html/html-service.js.map +7 -0
- package/dist/lib/html/overlay-config.d.ts +3 -0
- package/dist/lib/html/overlay-config.js +37 -0
- package/dist/lib/html/overlay-config.js.map +7 -0
- package/dist/lib/html/portable-clips.d.ts +4 -0
- package/dist/lib/html/portable-clips.js +20 -0
- package/dist/lib/html/portable-clips.js.map +7 -0
- package/dist/lib/html/types.d.ts +110 -0
- package/dist/lib/layout/absolute.d.ts +57 -0
- package/dist/lib/layout/absolute.js +348 -0
- package/dist/lib/layout/absolute.js.map +7 -0
- package/dist/lib/layout/box.d.ts +19 -0
- package/dist/lib/layout/box.js +209 -0
- package/dist/lib/layout/box.js.map +7 -0
- package/dist/lib/layout/context.d.ts +13 -0
- package/dist/lib/layout/context.js +42 -0
- package/dist/lib/layout/context.js.map +7 -0
- package/dist/lib/layout/diagnostics.d.ts +15 -0
- package/dist/lib/layout/diagnostics.js +30 -0
- package/dist/lib/layout/diagnostics.js.map +7 -0
- package/dist/lib/layout/flex.d.ts +64 -0
- package/dist/lib/layout/flex.js +803 -0
- package/dist/lib/layout/flex.js.map +7 -0
- package/dist/lib/layout/flow.d.ts +53 -0
- package/dist/lib/layout/flow.js +400 -0
- package/dist/lib/layout/flow.js.map +7 -0
- package/dist/lib/layout/grid.d.ts +64 -0
- package/dist/lib/layout/grid.js +597 -0
- package/dist/lib/layout/grid.js.map +7 -0
- package/dist/lib/layout/measure.d.ts +19 -0
- package/dist/lib/layout/measure.js +144 -0
- package/dist/lib/layout/measure.js.map +7 -0
- package/dist/lib/layout/overlay.d.ts +42 -0
- package/dist/lib/layout/overlay.js +151 -0
- package/dist/lib/layout/overlay.js.map +7 -0
- package/dist/lib/layout/place-child.d.ts +12 -0
- package/dist/lib/layout/place-child.js +72 -0
- package/dist/lib/layout/place-child.js.map +7 -0
- package/dist/lib/layout/positioning-diagnostics.d.ts +3 -0
- package/dist/lib/layout/positioning-diagnostics.js +15 -0
- package/dist/lib/layout/positioning-diagnostics.js.map +7 -0
- package/dist/lib/layout/types.d.ts +78 -0
- package/dist/lib/manipulation/controller-types.d.ts +299 -0
- package/dist/lib/manipulation/controller.d.ts +57 -0
- package/dist/lib/manipulation/controller.js +464 -0
- package/dist/lib/manipulation/controller.js.map +7 -0
- package/dist/lib/manipulation/coordinates.d.ts +9 -0
- package/dist/lib/manipulation/coordinates.js +55 -0
- package/dist/lib/manipulation/coordinates.js.map +7 -0
- package/dist/lib/manipulation/degrees.d.ts +10 -0
- package/dist/lib/manipulation/degrees.js +9 -0
- package/dist/lib/manipulation/degrees.js.map +7 -0
- package/dist/lib/manipulation/frame.d.ts +24 -0
- package/dist/lib/manipulation/frame.js +101 -0
- package/dist/lib/manipulation/frame.js.map +7 -0
- package/dist/lib/manipulation/geometry.d.ts +4 -0
- package/dist/lib/manipulation/geometry.js +26 -0
- package/dist/lib/manipulation/geometry.js.map +7 -0
- package/dist/lib/manipulation/handles.d.ts +298 -0
- package/dist/lib/manipulation/handles.js +598 -0
- package/dist/lib/manipulation/handles.js.map +7 -0
- package/dist/lib/manipulation/manipulable.d.ts +65 -0
- package/dist/lib/manipulation/manipulable.js +47 -0
- package/dist/lib/manipulation/manipulable.js.map +7 -0
- package/dist/lib/manipulation/ownership.d.ts +15 -0
- package/dist/lib/manipulation/ownership.js +80 -0
- package/dist/lib/manipulation/ownership.js.map +7 -0
- package/dist/lib/manipulation/snap.d.ts +6 -0
- package/dist/lib/manipulation/snap.js +40 -0
- package/dist/lib/manipulation/snap.js.map +7 -0
- package/dist/lib/manipulation/solve.d.ts +2 -0
- package/dist/lib/manipulation/solve.js +563 -0
- package/dist/lib/manipulation/solve.js.map +7 -0
- package/dist/lib/manipulation/types.d.ts +178 -0
- package/dist/lib/mount-pibbl.d.ts +25 -0
- package/dist/lib/mount-pibbl.js +278 -0
- package/dist/lib/mount-pibbl.js.map +7 -0
- package/dist/lib/optional-services.d.ts +8 -0
- package/dist/lib/optional-services.js +11 -0
- package/dist/lib/optional-services.js.map +7 -0
- package/dist/lib/pibbl.d.ts +17 -0
- package/dist/lib/pibbl.js +21 -0
- package/dist/lib/pibbl.js.map +7 -0
- package/dist/lib/primitive-presentation.d.ts +24 -0
- package/dist/lib/primitive-presentation.js +102 -0
- package/dist/lib/primitive-presentation.js.map +7 -0
- package/dist/lib/render-layer/controller.d.ts +67 -0
- package/dist/lib/render-layer/controller.js +603 -0
- package/dist/lib/render-layer/controller.js.map +7 -0
- package/dist/lib/render-layer/define-render-layer.d.ts +17 -0
- package/dist/lib/render-layer/define-render-layer.js +90 -0
- package/dist/lib/render-layer/define-render-layer.js.map +7 -0
- package/dist/lib/render-layer/types.d.ts +315 -0
- package/dist/lib/render-target.d.ts +27 -0
- package/dist/lib/render-target.js +118 -0
- package/dist/lib/render-target.js.map +7 -0
- package/dist/lib/render-transaction.d.ts +10 -0
- package/dist/lib/render-transaction.js +46 -0
- package/dist/lib/render-transaction.js.map +7 -0
- package/dist/lib/render.d.ts +3 -0
- package/dist/lib/render.js +385 -0
- package/dist/lib/render.js.map +7 -0
- package/dist/lib/scheduler/realm-scheduler.d.ts +52 -0
- package/dist/lib/scheduler/realm-scheduler.js +964 -0
- package/dist/lib/scheduler/realm-scheduler.js.map +7 -0
- package/dist/lib/scheduler/renderer-participant.d.ts +257 -0
- package/dist/lib/scheduler/renderer-participant.js +216 -0
- package/dist/lib/scheduler/renderer-participant.js.map +7 -0
- package/dist/lib/scheduler/simulation-participant.d.ts +103 -0
- package/dist/lib/scheduler/simulation-participant.js +229 -0
- package/dist/lib/scheduler/simulation-participant.js.map +7 -0
- package/dist/lib/scheduler/testing.d.ts +56 -0
- package/dist/lib/scheduler/testing.js +71 -0
- package/dist/lib/scheduler/testing.js.map +7 -0
- package/dist/lib/scheduler/types.d.ts +103 -0
- package/dist/lib/signals/edge.d.ts +44 -0
- package/dist/lib/signals/edge.js +245 -0
- package/dist/lib/signals/edge.js.map +7 -0
- package/dist/lib/signals/graph.d.ts +220 -0
- package/dist/lib/signals/graph.js +1035 -0
- package/dist/lib/signals/graph.js.map +7 -0
- package/dist/lib/signals/input-provision.d.ts +3 -0
- package/dist/lib/signals/input-provision.js +67 -0
- package/dist/lib/signals/input-provision.js.map +7 -0
- package/dist/lib/signals/render-consumer.d.ts +21 -0
- package/dist/lib/signals/render-consumer.js +218 -0
- package/dist/lib/signals/render-consumer.js.map +7 -0
- package/dist/lib/signals/resolve-signal-value.d.ts +10 -0
- package/dist/lib/signals/resolve-signal-value.js +17 -0
- package/dist/lib/signals/resolve-signal-value.js.map +7 -0
- package/dist/lib/signals/types.d.ts +80 -0
- package/dist/lib/style/diagnostics.d.ts +83 -0
- package/dist/lib/style/diagnostics.js +63 -0
- package/dist/lib/style/diagnostics.js.map +7 -0
- package/dist/lib/style/empty-style.d.ts +3 -0
- package/dist/lib/style/empty-style.js +5 -0
- package/dist/lib/style/empty-style.js.map +7 -0
- package/dist/lib/style/filter-types.d.ts +243 -0
- package/dist/lib/style/filter-types.js +5 -0
- package/dist/lib/style/filter-types.js.map +7 -0
- package/dist/lib/style/filter.d.ts +7 -0
- package/dist/lib/style/filter.js +50 -0
- package/dist/lib/style/filter.js.map +7 -0
- package/dist/lib/style/normalize.d.ts +18 -0
- package/dist/lib/style/normalize.js +50 -0
- package/dist/lib/style/normalize.js.map +7 -0
- package/dist/lib/style/positioning.d.ts +32 -0
- package/dist/lib/style/positioning.js +81 -0
- package/dist/lib/style/positioning.js.map +7 -0
- package/dist/lib/style/resolve-built-in.d.ts +6 -0
- package/dist/lib/style/resolve-built-in.js +58 -0
- package/dist/lib/style/resolve-built-in.js.map +7 -0
- package/dist/lib/style/resolve-dispatch.d.ts +20 -0
- package/dist/lib/style/resolve-dispatch.js +167 -0
- package/dist/lib/style/resolve-dispatch.js.map +7 -0
- package/dist/lib/style/resolve-length.d.ts +16 -0
- package/dist/lib/style/resolve-length.js +54 -0
- package/dist/lib/style/resolve-length.js.map +7 -0
- package/dist/lib/style/responsive.d.ts +31 -0
- package/dist/lib/style/responsive.js +172 -0
- package/dist/lib/style/responsive.js.map +7 -0
- package/dist/lib/style/types.d.ts +338 -0
- package/dist/lib/surface/resolve-surface.d.ts +4 -0
- package/dist/lib/surface/resolve-surface.js +184 -0
- package/dist/lib/surface/resolve-surface.js.map +7 -0
- package/dist/lib/surface/root-surface.d.ts +7 -0
- package/dist/lib/surface/root-surface.js +171 -0
- package/dist/lib/surface/root-surface.js.map +7 -0
- package/dist/lib/surface/transform.d.ts +4 -0
- package/dist/lib/surface/transform.js +16 -0
- package/dist/lib/surface/transform.js.map +7 -0
- package/dist/lib/surface/types.d.ts +132 -0
- package/dist/lib/teardowns.d.ts +14 -0
- package/dist/lib/teardowns.js +50 -0
- package/dist/lib/teardowns.js.map +7 -0
- package/dist/lib/textures/texture-protocol.d.ts +124 -0
- package/dist/lib/textures/texture-protocol.js +40 -0
- package/dist/lib/textures/texture-protocol.js.map +7 -0
- package/dist/lib/textures/texture.d.ts +170 -0
- package/dist/lib/textures/texture.js +385 -0
- package/dist/lib/textures/texture.js.map +7 -0
- package/dist/lib/transitions/bifrost.d.ts +47 -0
- package/dist/lib/transitions/bifrost.js +91 -0
- package/dist/lib/transitions/bifrost.js.map +7 -0
- package/dist/lib/transitions/binding.d.ts +14 -0
- package/dist/lib/transitions/binding.js +35 -0
- package/dist/lib/transitions/binding.js.map +7 -0
- package/dist/lib/transitions/capture.d.ts +21 -0
- package/dist/lib/transitions/capture.js +91 -0
- package/dist/lib/transitions/capture.js.map +7 -0
- package/dist/lib/transitions/common.d.ts +130 -0
- package/dist/lib/transitions/common.js +57 -0
- package/dist/lib/transitions/common.js.map +7 -0
- package/dist/lib/transitions/define-transition.d.ts +64 -0
- package/dist/lib/transitions/define-transition.js +31 -0
- package/dist/lib/transitions/define-transition.js.map +7 -0
- package/dist/lib/transitions/embers-physics.d.ts +114 -0
- package/dist/lib/transitions/embers-physics.js +161 -0
- package/dist/lib/transitions/embers-physics.js.map +7 -0
- package/dist/lib/transitions/embers.d.ts +67 -0
- package/dist/lib/transitions/embers.js +196 -0
- package/dist/lib/transitions/embers.js.map +7 -0
- package/dist/lib/transitions/fade.d.ts +41 -0
- package/dist/lib/transitions/fade.js +31 -0
- package/dist/lib/transitions/fade.js.map +7 -0
- package/dist/lib/transitions/hologram.d.ts +47 -0
- package/dist/lib/transitions/hologram.js +94 -0
- package/dist/lib/transitions/hologram.js.map +7 -0
- package/dist/lib/transitions/wasm/bifrost-bytes.d.ts +1 -0
- package/dist/lib/transitions/wasm/bifrost-bytes.js +5 -0
- package/dist/lib/transitions/wasm/bifrost-bytes.js.map +7 -0
- package/dist/lib/transitions/wasm/bifrost-kernel.d.ts +1 -0
- package/dist/lib/transitions/wasm/bifrost-kernel.js +27 -0
- package/dist/lib/transitions/wasm/bifrost-kernel.js.map +7 -0
- package/dist/lib/transitions/wasm/embers-bytes.d.ts +1 -0
- package/dist/lib/transitions/wasm/embers-bytes.js +5 -0
- package/dist/lib/transitions/wasm/embers-bytes.js.map +7 -0
- package/dist/lib/transitions/wasm/hologram-bytes.d.ts +1 -0
- package/dist/lib/transitions/wasm/hologram-bytes.js +5 -0
- package/dist/lib/transitions/wasm/hologram-bytes.js.map +7 -0
- package/dist/lib/transitions/wasm/kernel.d.ts +7 -0
- package/dist/lib/transitions/wasm/kernel.js +26 -0
- package/dist/lib/transitions/wasm/kernel.js.map +7 -0
- package/dist/lib/types.d.ts +570 -0
- package/dist/lib/update.d.ts +8 -0
- package/dist/lib/update.js +20 -0
- package/dist/lib/update.js.map +7 -0
- package/dist/lib/util/get-2d-context.d.ts +2 -0
- package/dist/lib/util/get-2d-context.js +11 -0
- package/dist/lib/util/get-2d-context.js.map +7 -0
- package/dist/lib/util/get-mouse-coordinates.d.ts +2 -0
- package/dist/lib/util/get-mouse-coordinates.js +32 -0
- package/dist/lib/util/get-mouse-coordinates.js.map +7 -0
- package/dist/lib/util/is-hit.d.ts +11 -0
- package/dist/lib/util/is-hit.js +52 -0
- package/dist/lib/util/is-hit.js.map +7 -0
- package/dist/lib/util/is-transparent.d.ts +1 -0
- package/dist/lib/util/is-transparent.js +8 -0
- package/dist/lib/util/is-transparent.js.map +7 -0
- package/dist/lib/util/pixel-grid-adjustments.d.ts +8 -0
- package/dist/lib/util/pixel-grid-adjustments.js +28 -0
- package/dist/lib/util/pixel-grid-adjustments.js.map +7 -0
- package/dist/lib/util/push-clipping-path.d.ts +6 -0
- package/dist/lib/util/push-clipping-path.js +28 -0
- package/dist/lib/util/push-clipping-path.js.map +7 -0
- package/dist/lib/util/wire-common-events.d.ts +2 -0
- package/dist/lib/util/wire-common-events.js +15 -0
- package/dist/lib/util/wire-common-events.js.map +7 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +7 -0
- package/dist/types.mjs +1 -0
- package/package.json +149 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type TexturePaint } from '../lib/textures/texture-protocol.js';
|
|
2
|
+
import type { PibblInstance } from '../lib/types.js';
|
|
3
|
+
import type { FilterWindows } from '../lib/filter/filter-region.js';
|
|
4
|
+
import { ReflectionGpu, type ReflectionSettings } from './reflection-gpu.js';
|
|
5
|
+
import type { PibblReflectedLightSource } from '../lib/style/filter-types.js';
|
|
6
|
+
import type { CustomPreparedFilter } from './filter-executor.js';
|
|
7
|
+
/** @internal Test-only read-only access; it never creates a GPU service. */
|
|
8
|
+
export declare function peekReflectionGpu(instance: PibblInstance): ReflectionGpu | undefined;
|
|
9
|
+
export declare function isReflectionImage(value: PibblReflectedLightSource): value is HTMLImageElement | ImageBitmap;
|
|
10
|
+
export declare function processReflection(source: OffscreenCanvas, windows: FilterWindows, paint: TexturePaint, light: PibblReflectedLightSource, settings: ReflectionSettings, region: Readonly<{
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
}>, warp?: CustomPreparedFilter['textureWarp']): ImageBitmap;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { borrowTextureRaster } from "../lib/textures/texture-protocol.js";
|
|
2
|
+
import { GLOBAL_STATE, getPibblInstance } from "../lib/global-state.js";
|
|
3
|
+
import { getOptionalService } from "../lib/optional-services.js";
|
|
4
|
+
import { update } from "../lib/update.js";
|
|
5
|
+
import { ReflectionGpu } from "./reflection-gpu.js";
|
|
6
|
+
const GPU_BORROWER = /* @__PURE__ */ Symbol("pibbl.reflection-borrower");
|
|
7
|
+
const rootServices = /* @__PURE__ */ new WeakMap();
|
|
8
|
+
class RootGpuService {
|
|
9
|
+
constructor(root) {
|
|
10
|
+
this.root = root;
|
|
11
|
+
this.gpu = new ReflectionGpu({
|
|
12
|
+
onContextRestored: () => {
|
|
13
|
+
if (this.disposed || this.recoveryRequested || this.root.mainTeardowns.closed) return;
|
|
14
|
+
this.recoveryRequested = true;
|
|
15
|
+
for (const borrower of this.borrowers) update(borrower.instance.canvas, void 0, true);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
root;
|
|
20
|
+
gpu;
|
|
21
|
+
borrowers = /* @__PURE__ */ new Set();
|
|
22
|
+
disposed = false;
|
|
23
|
+
recoveryRequested = false;
|
|
24
|
+
beginRender() {
|
|
25
|
+
this.recoveryRequested = false;
|
|
26
|
+
}
|
|
27
|
+
pruneMaps() {
|
|
28
|
+
const resources = /* @__PURE__ */ new Set();
|
|
29
|
+
for (const borrower of this.borrowers) for (const resource of borrower.resources) resources.add(resource);
|
|
30
|
+
this.gpu.retainMaps(resources);
|
|
31
|
+
}
|
|
32
|
+
dispose() {
|
|
33
|
+
this.disposed = true;
|
|
34
|
+
this.gpu.dispose();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
class GpuBorrower {
|
|
38
|
+
constructor(instance) {
|
|
39
|
+
this.instance = instance;
|
|
40
|
+
let root = instance;
|
|
41
|
+
while (root.parent) root = getPibblInstance(root.parent);
|
|
42
|
+
this.root = root;
|
|
43
|
+
let shared = rootServices.get(root);
|
|
44
|
+
if (!shared) {
|
|
45
|
+
shared = new RootGpuService(root);
|
|
46
|
+
rootServices.set(root, shared);
|
|
47
|
+
}
|
|
48
|
+
this.shared = shared;
|
|
49
|
+
shared.borrowers.add(this);
|
|
50
|
+
}
|
|
51
|
+
instance;
|
|
52
|
+
used = false;
|
|
53
|
+
resources = /* @__PURE__ */ new Set();
|
|
54
|
+
candidates = /* @__PURE__ */ new Set();
|
|
55
|
+
committed = false;
|
|
56
|
+
disposed = false;
|
|
57
|
+
shared;
|
|
58
|
+
root;
|
|
59
|
+
beginRender() {
|
|
60
|
+
this.shared.beginRender();
|
|
61
|
+
this.used = false;
|
|
62
|
+
this.candidates.clear();
|
|
63
|
+
}
|
|
64
|
+
useMap(resource) {
|
|
65
|
+
this.candidates.add(resource);
|
|
66
|
+
}
|
|
67
|
+
endRender(success) {
|
|
68
|
+
if (success && this.used) {
|
|
69
|
+
this.committed = true;
|
|
70
|
+
this.resources = new Set(this.candidates);
|
|
71
|
+
this.shared.pruneMaps();
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
if (success || !this.committed) {
|
|
75
|
+
this.dispose();
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
if (!this.shared.gpu.isContextLost) this.shared.pruneMaps();
|
|
79
|
+
}
|
|
80
|
+
dispose() {
|
|
81
|
+
if (this.disposed) return;
|
|
82
|
+
this.disposed = true;
|
|
83
|
+
this.instance.optionalServices.delete(GPU_BORROWER);
|
|
84
|
+
this.shared.borrowers.delete(this);
|
|
85
|
+
if (this.shared.borrowers.size === 0) {
|
|
86
|
+
rootServices.delete(this.root);
|
|
87
|
+
this.shared.dispose();
|
|
88
|
+
} else this.shared.pruneMaps();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function peekReflectionGpu(instance) {
|
|
92
|
+
let root = instance;
|
|
93
|
+
while (root.parent) root = getPibblInstance(root.parent);
|
|
94
|
+
return rootServices.get(root)?.gpu;
|
|
95
|
+
}
|
|
96
|
+
function isReflectionImage(value) {
|
|
97
|
+
return typeof HTMLImageElement !== "undefined" && value instanceof HTMLImageElement || typeof ImageBitmap !== "undefined" && value instanceof ImageBitmap;
|
|
98
|
+
}
|
|
99
|
+
function processReflection(source, windows, paint, light, settings, region, warp) {
|
|
100
|
+
const instance = GLOBAL_STATE.currentPibblInstance;
|
|
101
|
+
if (!instance) throw new Error("Reflection requires an active Pibbl instance.");
|
|
102
|
+
const borrower = getOptionalService(instance, GPU_BORROWER, () => new GpuBorrower(instance));
|
|
103
|
+
borrower.used = true;
|
|
104
|
+
return borrowTextureRaster(paint, (map) => {
|
|
105
|
+
borrower.useMap(map.resource);
|
|
106
|
+
const render = (input) => {
|
|
107
|
+
const coordinates = { originX: windows.source.backingX / windows.density, originY: windows.source.backingY / windows.density, density: windows.density, region };
|
|
108
|
+
if (warp) return borrowTextureRaster(warp.map, (raster) => {
|
|
109
|
+
borrower.useMap(raster.resource);
|
|
110
|
+
return borrower.shared.gpu.apply(source, map, input, settings, coordinates, { map: raster, strength: warp.strength, region: warp.region });
|
|
111
|
+
});
|
|
112
|
+
return borrower.shared.gpu.apply(source, map, input, settings, coordinates);
|
|
113
|
+
};
|
|
114
|
+
if (typeof light === "string") return render({ color: light });
|
|
115
|
+
if (isReflectionImage(light)) return render({ image: light });
|
|
116
|
+
return borrowTextureRaster(light, (raster) => {
|
|
117
|
+
borrower.useMap(raster.resource);
|
|
118
|
+
return render({ raster });
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
export {
|
|
123
|
+
isReflectionImage,
|
|
124
|
+
peekReflectionGpu,
|
|
125
|
+
processReflection
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=render-reflection-boundary.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/filters/render-reflection-boundary.ts"],
|
|
4
|
+
"sourcesContent": ["import { borrowTextureRaster, type TexturePaint } from '../lib/textures/texture-protocol.js';\nimport { GLOBAL_STATE, getPibblInstance } from '../lib/global-state.js';\nimport { getOptionalService } from '../lib/optional-services.js';\nimport { update } from '../lib/update.js';\nimport type { PibblInstance } from '../lib/types.js';\nimport type { FilterWindows } from '../lib/filter/filter-region.js';\nimport { ReflectionGpu, type ReflectionLight, type ReflectionSettings } from './reflection-gpu.js';\nimport type { PibblReflectedLightSource } from '../lib/style/filter-types.js';\nimport type { CustomPreparedFilter } from './filter-executor.js';\n\nconst GPU_BORROWER = Symbol('pibbl.reflection-borrower');\nconst rootServices = new WeakMap<PibblInstance, RootGpuService>();\n\nclass RootGpuService {\n readonly gpu: ReflectionGpu;\n readonly borrowers = new Set<GpuBorrower>();\n private disposed = false;\n private recoveryRequested = false;\n constructor(private readonly root: PibblInstance) {\n this.gpu = new ReflectionGpu({\n onContextRestored: () => {\n if (this.disposed || this.recoveryRequested || this.root.mainTeardowns.closed) return;\n this.recoveryRequested = true;\n for (const borrower of this.borrowers) update(borrower.instance.canvas, undefined, true);\n },\n });\n }\n beginRender(): void { this.recoveryRequested = false; }\n pruneMaps(): void {\n const resources = new Set<object>();\n for (const borrower of this.borrowers) for (const resource of borrower.resources) resources.add(resource);\n this.gpu.retainMaps(resources);\n }\n dispose(): void {\n this.disposed = true;\n this.gpu.dispose();\n }\n}\n\nclass GpuBorrower {\n used = false;\n resources = new Set<object>();\n private candidates = new Set<object>();\n private committed = false;\n private disposed = false;\n readonly shared: RootGpuService;\n private readonly root: PibblInstance;\n constructor(readonly instance: PibblInstance) {\n let root = instance;\n while (root.parent) root = getPibblInstance(root.parent);\n this.root = root;\n let shared = rootServices.get(root);\n if (!shared) { shared = new RootGpuService(root); rootServices.set(root, shared); }\n this.shared = shared;\n shared.borrowers.add(this);\n }\n beginRender(): void { this.shared.beginRender(); this.used = false; this.candidates.clear(); }\n useMap(resource: object): void { this.candidates.add(resource); }\n endRender(success: boolean): void {\n if (success && this.used) {\n this.committed = true;\n this.resources = new Set(this.candidates);\n this.shared.pruneMaps();\n return;\n }\n if (success || !this.committed) {\n this.dispose();\n return;\n }\n if (!this.shared.gpu.isContextLost) this.shared.pruneMaps();\n }\n dispose(): void {\n if (this.disposed) return;\n this.disposed = true;\n this.instance.optionalServices.delete(GPU_BORROWER);\n this.shared.borrowers.delete(this);\n if (this.shared.borrowers.size === 0) {\n rootServices.delete(this.root);\n this.shared.dispose();\n } else this.shared.pruneMaps();\n }\n}\n\n/** @internal Test-only read-only access; it never creates a GPU service. */\nexport function peekReflectionGpu(instance: PibblInstance): ReflectionGpu | undefined {\n let root = instance;\n while (root.parent) root = getPibblInstance(root.parent);\n return rootServices.get(root)?.gpu;\n}\n\nexport function isReflectionImage(value: PibblReflectedLightSource): value is HTMLImageElement | ImageBitmap {\n return (typeof HTMLImageElement !== 'undefined' && value instanceof HTMLImageElement) ||\n (typeof ImageBitmap !== 'undefined' && value instanceof ImageBitmap);\n}\nexport function processReflection(source: OffscreenCanvas, windows: FilterWindows, paint: TexturePaint,\n light: PibblReflectedLightSource, settings: ReflectionSettings,\n region: Readonly<{x:number;y:number;width:number;height:number}>, warp?: CustomPreparedFilter['textureWarp']): ImageBitmap {\n const instance=GLOBAL_STATE.currentPibblInstance;\n if(!instance) throw new Error('Reflection requires an active Pibbl instance.');\n const borrower=getOptionalService(instance,GPU_BORROWER,()=>new GpuBorrower(instance)); borrower.used=true;\n return borrowTextureRaster(paint,map=>{\n borrower.useMap(map.resource);\n const render=(input:ReflectionLight)=>{\n const coordinates={originX:windows.source.backingX/windows.density,originY:windows.source.backingY/windows.density,density:windows.density,region};\n if(warp) return borrowTextureRaster(warp.map,raster=>{\n borrower.useMap(raster.resource);\n return borrower.shared.gpu.apply(source,map,input,settings,coordinates,{map:raster,strength:warp.strength,region:warp.region});\n });\n return borrower.shared.gpu.apply(source,map,input,settings,coordinates);\n };\n if(typeof light==='string') return render({color:light});\n if(isReflectionImage(light)) return render({image:light});\n return borrowTextureRaster(light,raster=>{borrower.useMap(raster.resource);return render({raster});});\n });\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,2BAA8C;AACvD,SAAS,cAAc,wBAAwB;AAC/C,SAAS,0BAA0B;AACnC,SAAS,cAAc;AAGvB,SAAS,qBAAoE;AAI7E,MAAM,eAAe,uBAAO,2BAA2B;AACvD,MAAM,eAAe,oBAAI,QAAuC;AAEhE,MAAM,eAAe;AAAA,EAKnB,YAA6B,MAAqB;AAArB;AAC3B,SAAK,MAAM,IAAI,cAAc;AAAA,MAC3B,mBAAmB,MAAM;AACvB,YAAI,KAAK,YAAY,KAAK,qBAAqB,KAAK,KAAK,cAAc,OAAQ;AAC/E,aAAK,oBAAoB;AACzB,mBAAW,YAAY,KAAK,UAAW,QAAO,SAAS,SAAS,QAAQ,QAAW,IAAI;AAAA,MACzF;AAAA,IACF,CAAC;AAAA,EACH;AAAA,EAR6B;AAAA,EAJpB;AAAA,EACA,YAAY,oBAAI,IAAiB;AAAA,EAClC,WAAW;AAAA,EACX,oBAAoB;AAAA,EAU5B,cAAoB;AAAE,SAAK,oBAAoB;AAAA,EAAO;AAAA,EACtD,YAAkB;AAChB,UAAM,YAAY,oBAAI,IAAY;AAClC,eAAW,YAAY,KAAK,UAAW,YAAW,YAAY,SAAS,UAAW,WAAU,IAAI,QAAQ;AACxG,SAAK,IAAI,WAAW,SAAS;AAAA,EAC/B;AAAA,EACA,UAAgB;AACd,SAAK,WAAW;AAChB,SAAK,IAAI,QAAQ;AAAA,EACnB;AACF;AAEA,MAAM,YAAY;AAAA,EAQhB,YAAqB,UAAyB;AAAzB;AACnB,QAAI,OAAO;AACX,WAAO,KAAK,OAAQ,QAAO,iBAAiB,KAAK,MAAM;AACvD,SAAK,OAAO;AACZ,QAAI,SAAS,aAAa,IAAI,IAAI;AAClC,QAAI,CAAC,QAAQ;AAAE,eAAS,IAAI,eAAe,IAAI;AAAG,mBAAa,IAAI,MAAM,MAAM;AAAA,IAAG;AAClF,SAAK,SAAS;AACd,WAAO,UAAU,IAAI,IAAI;AAAA,EAC3B;AAAA,EARqB;AAAA,EAPrB,OAAO;AAAA,EACP,YAAY,oBAAI,IAAY;AAAA,EACpB,aAAa,oBAAI,IAAY;AAAA,EAC7B,YAAY;AAAA,EACZ,WAAW;AAAA,EACV;AAAA,EACQ;AAAA,EAUjB,cAAoB;AAAE,SAAK,OAAO,YAAY;AAAG,SAAK,OAAO;AAAO,SAAK,WAAW,MAAM;AAAA,EAAG;AAAA,EAC7F,OAAO,UAAwB;AAAE,SAAK,WAAW,IAAI,QAAQ;AAAA,EAAG;AAAA,EAChE,UAAU,SAAwB;AAChC,QAAI,WAAW,KAAK,MAAM;AACxB,WAAK,YAAY;AACjB,WAAK,YAAY,IAAI,IAAI,KAAK,UAAU;AACxC,WAAK,OAAO,UAAU;AACtB;AAAA,IACF;AACA,QAAI,WAAW,CAAC,KAAK,WAAW;AAC9B,WAAK,QAAQ;AACb;AAAA,IACF;AACA,QAAI,CAAC,KAAK,OAAO,IAAI,cAAe,MAAK,OAAO,UAAU;AAAA,EAC5D;AAAA,EACA,UAAgB;AACd,QAAI,KAAK,SAAU;AACnB,SAAK,WAAW;AAChB,SAAK,SAAS,iBAAiB,OAAO,YAAY;AAClD,SAAK,OAAO,UAAU,OAAO,IAAI;AACjC,QAAI,KAAK,OAAO,UAAU,SAAS,GAAG;AACpC,mBAAa,OAAO,KAAK,IAAI;AAC7B,WAAK,OAAO,QAAQ;AAAA,IACtB,MAAO,MAAK,OAAO,UAAU;AAAA,EAC/B;AACF;AAGO,SAAS,kBAAkB,UAAoD;AACpF,MAAI,OAAO;AACX,SAAO,KAAK,OAAQ,QAAO,iBAAiB,KAAK,MAAM;AACvD,SAAO,aAAa,IAAI,IAAI,GAAG;AACjC;AAEO,SAAS,kBAAkB,OAA2E;AAC3G,SAAQ,OAAO,qBAAqB,eAAe,iBAAiB,oBACjE,OAAO,gBAAgB,eAAe,iBAAiB;AAC5D;AACO,SAAS,kBAAkB,QAAyB,SAAwB,OACjF,OAAkC,UAClC,QAAkE,MAAyD;AAC3H,QAAM,WAAS,aAAa;AAC5B,MAAG,CAAC,SAAU,OAAM,IAAI,MAAM,+CAA+C;AAC7E,QAAM,WAAS,mBAAmB,UAAS,cAAa,MAAI,IAAI,YAAY,QAAQ,CAAC;AAAG,WAAS,OAAK;AACtG,SAAO,oBAAoB,OAAM,SAAK;AACpC,aAAS,OAAO,IAAI,QAAQ;AAC5B,UAAM,SAAO,CAAC,UAAwB;AACpC,YAAM,cAAY,EAAC,SAAQ,QAAQ,OAAO,WAAS,QAAQ,SAAQ,SAAQ,QAAQ,OAAO,WAAS,QAAQ,SAAQ,SAAQ,QAAQ,SAAQ,OAAM;AACjJ,UAAG,KAAM,QAAO,oBAAoB,KAAK,KAAI,YAAQ;AACnD,iBAAS,OAAO,OAAO,QAAQ;AAC/B,eAAO,SAAS,OAAO,IAAI,MAAM,QAAO,KAAI,OAAM,UAAS,aAAY,EAAC,KAAI,QAAO,UAAS,KAAK,UAAS,QAAO,KAAK,OAAM,CAAC;AAAA,MAC/H,CAAC;AACD,aAAO,SAAS,OAAO,IAAI,MAAM,QAAO,KAAI,OAAM,UAAS,WAAW;AAAA,IACxE;AACA,QAAG,OAAO,UAAQ,SAAU,QAAO,OAAO,EAAC,OAAM,MAAK,CAAC;AACvD,QAAG,kBAAkB,KAAK,EAAG,QAAO,OAAO,EAAC,OAAM,MAAK,CAAC;AACxD,WAAO,oBAAoB,OAAM,YAAQ;AAAC,eAAS,OAAO,OAAO,QAAQ;AAAE,aAAO,OAAO,EAAC,OAAM,CAAC;AAAA,IAAE,CAAC;AAAA,EACtG,CAAC;AACH;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { blur, brightness, contrast, dropShadow, grayscale, hueRotate, invert, opacity, saturate, sepia, } from './filters/native.js';
|
|
2
|
+
export { displacement } from './filters/displacement.js';
|
|
3
|
+
export type { PibblFilter, PibblBlurFilterOptions, PibblBrightnessFilterOptions, PibblContrastFilterOptions, PibblDropShadowFilterOptions, PibblGrayscaleFilterOptions, PibblHueRotateFilterOptions, PibblInvertFilterOptions, PibblOpacityFilterOptions, PibblSaturateFilterOptions, PibblSepiaFilterOptions, PibblDisplacementFilterOptions, } from './lib/style/filter-types.js';
|
|
4
|
+
export { reflectedLight } from './filters/reflected-light.js';
|
|
5
|
+
export type { PibblReflectedLightFilterOptions, PibblReflectedLightSource } from './lib/style/filter-types.js';
|
package/dist/filters.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
blur,
|
|
3
|
+
brightness,
|
|
4
|
+
contrast,
|
|
5
|
+
dropShadow,
|
|
6
|
+
grayscale,
|
|
7
|
+
hueRotate,
|
|
8
|
+
invert,
|
|
9
|
+
opacity,
|
|
10
|
+
saturate,
|
|
11
|
+
sepia
|
|
12
|
+
} from "./filters/native.js";
|
|
13
|
+
import { displacement } from "./filters/displacement.js";
|
|
14
|
+
import { reflectedLight } from "./filters/reflected-light.js";
|
|
15
|
+
export {
|
|
16
|
+
blur,
|
|
17
|
+
brightness,
|
|
18
|
+
contrast,
|
|
19
|
+
displacement,
|
|
20
|
+
dropShadow,
|
|
21
|
+
grayscale,
|
|
22
|
+
hueRotate,
|
|
23
|
+
invert,
|
|
24
|
+
opacity,
|
|
25
|
+
reflectedLight,
|
|
26
|
+
saturate,
|
|
27
|
+
sepia
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=filters.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/filters.ts"],
|
|
4
|
+
"sourcesContent": ["export {\n blur,\n brightness,\n contrast,\n dropShadow,\n grayscale,\n hueRotate,\n invert,\n opacity,\n saturate,\n sepia,\n} from './filters/native.js';\nexport { displacement } from './filters/displacement.js';\nexport type {\n PibblFilter,\n PibblBlurFilterOptions,\n PibblBrightnessFilterOptions,\n PibblContrastFilterOptions,\n PibblDropShadowFilterOptions,\n PibblGrayscaleFilterOptions,\n PibblHueRotateFilterOptions,\n PibblInvertFilterOptions,\n PibblOpacityFilterOptions,\n PibblSaturateFilterOptions,\n PibblSepiaFilterOptions,\n PibblDisplacementFilterOptions,\n} from './lib/style/filter-types.js';\n\nexport { reflectedLight } from './filters/reflected-light.js';\nexport type { PibblReflectedLightFilterOptions, PibblReflectedLightSource } from './lib/style/filter-types.js';\n"],
|
|
5
|
+
"mappings": "AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAAoB;AAgB7B,SAAS,sBAAsB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/filters.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filters.js';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export { meshTransform, arcBendTransform, pathBendTransform, type MeshTransformOptions, type ArcBendTransformOptions, type PathBendTransformOptions, transformPath, composeTransforms, affineTransform, quadTransform, envelopeTransform, type PathTransform, type PathPoint, type PathRect, type TransformPathOptions, type QuadTransformOptions, type PathQuadCorners, type PathQuadMode, type BendTransformOptions, type EnvelopeTransformOptions, type EnvelopeGuide, type PathGuide, type PathGuideOptions, type PathGuideStation, } from './lib/geometry/path-transforms.js';
|
|
2
|
+
export { type PathBendArc, type PathBendAlign, type PathBendBaseline, type PathBendFit, type PathBendOverflow } from './lib/geometry/path-bending.js';
|
|
3
|
+
export { flattenPathWang } from './lib/geometry/path-wang.js';
|
|
4
|
+
export { simplifyPathRadial } from './lib/geometry/path-radial.js';
|
|
5
|
+
export { PathGeometry, type PathSegment } from './lib/geometry/path-geometry.js';
|
|
6
|
+
export { toPath2D, toSvgPathData } from './lib/geometry/path-conversion.js';
|
|
7
|
+
export { flattenPath, simplifyPath, subdividePath, type FlattenPathOptions, type SimplifyPathOptions, type SubdividePathOptions, } from './lib/geometry/path-utilities.js';
|
|
8
|
+
export { Arc, type ArcProps, type ArcStyle } from './lib/components/arc.js';
|
|
9
|
+
export { Circle, type CircleProps, type CircleStyle, } from './lib/components/circle.js';
|
|
10
|
+
export { Clip, type ClipProps, type ClipStyle } from './lib/components/clip.js';
|
|
11
|
+
export { Ellipse, type EllipseProps, type EllipseStyle, } from './lib/components/ellipse.js';
|
|
12
|
+
export { Group, type GroupProps, type GStyle, } from './lib/components/g.js';
|
|
13
|
+
export { HorizontalLine, type HorizontalLineProps, type HorizontalLineStyle, } from './lib/components/horizontal-line.js';
|
|
14
|
+
export { Image, type ImageProps, } from './lib/components/img.js';
|
|
15
|
+
export { Layer, type LayerProps, type LayerStyle, } from './lib/components/layer.js';
|
|
16
|
+
export { Line, type LineProps, type LineStyle, } from './lib/components/line.js';
|
|
17
|
+
export { Path, type PathProps } from './lib/components/path.js';
|
|
18
|
+
export { Polygon, type PolygonProps, type PolygonStyle, } from './lib/components/polygon.js';
|
|
19
|
+
export { RegularPolygon, type RegularPolygonProps, type RegularPolygonStyle, } from './lib/components/regular-polygon.js';
|
|
20
|
+
export { Rectangle, type RectangleProps, } from './lib/components/rect.js';
|
|
21
|
+
export { Star, type StarProps, type StarStyle, } from './lib/components/star.js';
|
|
22
|
+
export { SvgPath, type SvgPathProps, } from './lib/components/svg-path.js';
|
|
23
|
+
export { Text, type TextProps } from './lib/components/text.js';
|
|
24
|
+
export { VerticalLine, type VerticalLineProps, type VerticalLineStyle, } from './lib/components/vertical-line.js';
|
|
25
|
+
export { Wedge, type WedgeProps, type WedgeStyle, } from './lib/components/wedge.js';
|
|
26
|
+
export { createArcPath, createWedgePath, type ArcPathOptions, type WedgePathOptions, } from './lib/geometry/circular-sweep.js';
|
|
27
|
+
export { createCirclePath, type CirclePathOptions, } from './lib/geometry/circle.js';
|
|
28
|
+
export { createEllipsePath, type EllipsePathOptions, } from './lib/geometry/ellipse.js';
|
|
29
|
+
export { createLinePath, type LinePathOptions, } from './lib/geometry/line.js';
|
|
30
|
+
export { createPolygonPath, type PolygonPathOptions, } from './lib/geometry/polygon.js';
|
|
31
|
+
export { createRectanglePath, type RectanglePathOptions, } from './lib/geometry/rectangle.js';
|
|
32
|
+
export { createRegularPolygonPath, type RegularPolygonNumericSize, type RegularPolygonPathOptions, type RegularPolygonPathPosition, } from './lib/geometry/regular-polygon.js';
|
|
33
|
+
export { createStarPath, type StarPathOptions, } from './lib/geometry/star.js';
|
|
34
|
+
export { createSvgPath, type SvgPathOptions, } from './lib/geometry/svg-path.js';
|
|
35
|
+
export type { RoundedCornerPathOptions } from './lib/geometry/rounded-corners.js';
|
|
36
|
+
export { pibbl } from './lib/pibbl.js';
|
|
37
|
+
export { batch, computed, isSignal, signal, untracked, } from './lib/signals/graph.js';
|
|
38
|
+
export { resolveSignalValue } from './lib/signals/resolve-signal-value.js';
|
|
39
|
+
export type { Signal, SignalEquals, SignalOptions, SignalValue, WritableSignal, } from './lib/signals/types.js';
|
|
40
|
+
export { easing } from './lib/animation/easing.js';
|
|
41
|
+
export { defineAnimation, keyframes, spring, stepper, tween, } from './lib/animation/definition.js';
|
|
42
|
+
export { marker, parallel, repeat, sequence, drive, wait, } from './lib/animation/program.js';
|
|
43
|
+
export type { PibblAnimationDefinition, PibblAnimationOptions, PibblAnimationProgram, PibblAnimationRepeatDirection, PibblAnimationRepeatOptions, PibblAnimationSampleInput, PibblSpringAnimatedValueOptions, PibblPlayback, PibblPlaybackEvent, PibblPlaybackOptions, PibblPlaybackStatus, PibblEasing, PibblInterpolator, PibblKeyframesOptions, PibblSpringOptions, PibblStepperOptions, PibblTweenOptions, PibblTweenAnimatedValueOptions, } from './lib/animation/types.js';
|
|
44
|
+
export type { PibblConfig, PibblFit, PibblFixedViewportConfig, PibblPixelRatio, PibblResponsiveViewportConfig, } from './lib/surface/types.js';
|
|
45
|
+
export { Absolute, type AbsoluteProps, type AbsoluteStyle, } from './lib/layout/absolute.js';
|
|
46
|
+
export { Overlay, type OverlayProps, type OverlayStyle, } from './lib/layout/overlay.js';
|
|
47
|
+
export { Flow, type FlowProps, type FlowStyle, } from './lib/layout/flow.js';
|
|
48
|
+
export { Flex, type FlexProps, type FlexStyle, } from './lib/layout/flex.js';
|
|
49
|
+
export { Grid, type GridProps, type GridStyle, type GridTrack, } from './lib/layout/grid.js';
|
|
50
|
+
export { measureElement } from './lib/layout/measure.js';
|
|
51
|
+
export { FocusManagement, KeyboardNavigation, type FocusManagementProps, type KeyboardNavigationProps, } from './lib/focus/policy-components.js';
|
|
52
|
+
export type { PibblKeyboardNavigationOptions } from './lib/focus/types.js';
|
|
53
|
+
export { definePrimitive } from './lib/define-primitive.js';
|
|
54
|
+
export { defineRenderLayer } from './lib/render-layer/define-render-layer.js';
|
|
55
|
+
export type { PibblRenderLayerComponentProps, PibblRenderLayerDefinition, PibblRenderLayerFrame, PibblRenderLayerContext, PibblRenderLayerHit, PibblRenderLayerInput, PibblRenderLayerInteraction, PibblRenderLayerInteractionSnapshot, PibblRenderLayerProps, PibblRenderLayerSize, PibblRenderLayerStyle, PibblRenderLayerTarget, } from './lib/render-layer/types.js';
|
|
56
|
+
export { createElement } from './lib/element/create-element.js';
|
|
57
|
+
export { Fragment } from './lib/element/fragment.js';
|
|
58
|
+
export type { BoxStyle, CursorStyle, EdgeValues, FlexItemStyle, GridItemStyle, ImgStyle, LayoutItemStyle, Length, PaintStyle, PathStyle, RectStyle, ResolvedBoxStyle, SvgPathStyle, TextFit, TextStyle, Percentage, RoundedCornerStyle, } from './lib/style/types.js';
|
|
59
|
+
export { LayoutDiagnostic, layoutDiagnostic, type LayoutDiagnosticContext, type LayoutDiagnosticInput, } from './lib/style/diagnostics.js';
|
|
60
|
+
export { normalizeEdges } from './lib/style/normalize.js';
|
|
61
|
+
export { resolveLength } from './lib/style/resolve-length.js';
|
|
62
|
+
export { resolveBox } from './lib/layout/box.js';
|
|
63
|
+
export type { PibblFilter, } from './lib/style/filter-types.js';
|
|
64
|
+
export type { Constraints, Edges, LayoutBox, Size, } from './lib/layout/types.js';
|
|
65
|
+
export { useCursor } from './lib/hooks/use-cursor.js';
|
|
66
|
+
export { useCanvasContext } from './lib/hooks/use-canvas-context.js';
|
|
67
|
+
export { useComputed } from './lib/hooks/use-computed.js';
|
|
68
|
+
export { useConst } from './lib/hooks/use-const.js';
|
|
69
|
+
export { useEventListener } from './lib/hooks/use-event-listener.js';
|
|
70
|
+
export { useEventTarget } from './lib/hooks/use-event-target.js';
|
|
71
|
+
export { useLinePath } from './lib/hooks/use-line-path.js';
|
|
72
|
+
export { useLayoutBox } from './lib/hooks/use-layout-box.js';
|
|
73
|
+
export { useRectPath } from './lib/hooks/use-rect-path.js';
|
|
74
|
+
export { useRef, type PibblRef } from './lib/hooks/use-ref.js';
|
|
75
|
+
export { usePlayback } from './lib/hooks/use-playback.js';
|
|
76
|
+
export { useReaction, type PibblReactionOptions, } from './lib/hooks/use-reaction.js';
|
|
77
|
+
export { useAnimatedValue } from './lib/hooks/use-animated-value.js';
|
|
78
|
+
export { useSignal } from './lib/hooks/use-signal.js';
|
|
79
|
+
export { useSvgPath } from './lib/hooks/use-svg-path.js';
|
|
80
|
+
export type { Canvas, CanvasMeasurementService, PibblController, PibblComponent, PibblContainerChild, PibblElement, PibblElementType, PibblEmptyNode, PibblKey, PibblNode, PibblNodeInput, PibblPhysics2DPropExtension, PibblPrimitiveComponent, PibblTextChild, PibblTextInput, PibblRenderResult, PibblSizeQuery, PibblStyleRule, PibblResponsiveStyle, PrimitiveInputOf, PrimitiveCapabilities, PrimitiveInput, PrimitiveProgramProps, PrimitiveRender, FillStyle, MeasureInput, MeasureResult, PixelGridAlignment, NormalizedStyle, RenderingContext2D, ResolvedStyle, SpecifiedStyle, StyleResolutionContext, StrokeStyle, SystemStyle, } from './lib/types.js';
|
|
81
|
+
export type { PibblClipboardEvent, PibblCompositionEvent, PibblDragEvent, PibblEvent, PibblEventCapturePropName, PibblEventHandler, PibblEventHandlers, PibblEventMap, PibblEventParticipationOptions, PibblEventPhase, PibblEventPropName, PibblEventTarget, PibblEventTargetOptions, PibblEventTargetSnapshot, PibblEventType, PibblFocusEvent, PibblInputEvent, PibblKeyboardEvent, PibblLogicalMouseEvent, PibblPointerEvent, PibblPointerEvents, PibblTouchEvent, PibblWheelEvent, } from './lib/events/types.js';
|
|
82
|
+
export { useManipulation } from './lib/manipulation/controller.js';
|
|
83
|
+
export { ManipulationFrame } from './lib/manipulation/frame.js';
|
|
84
|
+
export { DragHandle, ResizeHandle, ResizeHandles, RotationHandle } from './lib/manipulation/handles.js';
|
|
85
|
+
export type { PibblManipulationController, PibblManipulationOptions, PibblManipulationSnapshot, PibblManipulationEvent, PibblManipulationCommitEvent, PibblManipulationCancelEvent, PibblManipulationCancelReason, PibblManipulationGeometry, PibblManipulationOperation, PibblManipulationActive, PibblManipulationFrameProps, PibblManipulationMoveInput, PibblManipulationResizeInput, PibblManipulationRotateInput } from './lib/manipulation/controller-types.js';
|
|
86
|
+
export type { PibblManipulationBox, PibblManipulationPoint, PibblManipulationWhen, PibblResizePosition } from './lib/manipulation/types.js';
|
|
87
|
+
export type { PibblDragHandleProps, PibblDragHandleStyle } from './lib/manipulation/handles.js';
|
|
88
|
+
export type { PibblResizeHandleProps, PibblResizeHandlesProps, PibblRotationHandleProps, PibblResizeHandleStyle, PibblRotationHandleStyle, PibblManipulationReadoutStyle, PibblManipulationReadoutStateStyle, PibblRotationConnectorStyle, PibblRotationArcStyle } from './lib/manipulation/handles.js';
|
|
89
|
+
export { degrees } from './lib/manipulation/degrees.js';
|
|
90
|
+
export { Manipulable } from './lib/manipulation/manipulable.js';
|
|
91
|
+
export type { PibblManipulableProps } from './lib/manipulation/manipulable.js';
|
|
92
|
+
export { defineTexture, useTexture } from './lib/textures/texture.js';
|
|
93
|
+
export type { Texture, TexturePaint, TextureRecipe, TextureDefinition, TextureOptions, TexturePlacement, TextureContext, TextureFrame } from './lib/textures/texture.js';
|
|
94
|
+
export { HtmlBox } from './lib/components/html-box.js';
|
|
95
|
+
export type { HtmlBoxProps, HtmlBoxStyle, HtmlMountCallback, HtmlUpdateFunction, HtmlBoxFocusState } from './lib/html/types.js';
|
|
96
|
+
export { fade } from './lib/transitions/fade.js';
|
|
97
|
+
export type { PibblTransitionEffect } from './lib/transitions/fade.js';
|
|
98
|
+
export type { PibblTransitionBinding } from './lib/transitions/binding.js';
|
|
99
|
+
export { useVisibilityTransition } from './lib/hooks/use-visibility-transition.js';
|
|
100
|
+
export type { PibblVisibilityTransition, PibblVisibilityTransitionOptions, PibblVisibilityTransitionResult, PibblVisibilityTransitionStatus } from './lib/hooks/use-visibility-transition.js';
|
|
101
|
+
export { embers } from './lib/transitions/embers.js';
|
|
102
|
+
export type { PibblEmbersOptions } from './lib/transitions/embers.js';
|
|
103
|
+
export { hologram } from './lib/transitions/hologram.js';
|
|
104
|
+
export type { PibblHologramOptions } from './lib/transitions/hologram.js';
|
|
105
|
+
export { bifrost } from './lib/transitions/bifrost.js';
|
|
106
|
+
export type { PibblBifrostOptions } from './lib/transitions/bifrost.js';
|
|
107
|
+
export { slide, zoom, wipe, blurReveal, dissolve } from './lib/transitions/common.js';
|
|
108
|
+
export type { PibblSlideOptions, PibblZoomOptions, PibblWipeOptions, PibblBlurRevealOptions, PibblDissolveOptions } from './lib/transitions/common.js';
|
|
109
|
+
export { defineTransition } from './lib/transitions/define-transition.js';
|
|
110
|
+
export type { PibblTransitionDefinition, PibblTransitionRenderFrame } from './lib/transitions/define-transition.js';
|
|
111
|
+
export type { PibblEmbersPhysicsOptions, PibblEmberCollision } from './lib/transitions/embers-physics.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import {
|
|
2
|
+
meshTransform,
|
|
3
|
+
arcBendTransform,
|
|
4
|
+
pathBendTransform,
|
|
5
|
+
transformPath,
|
|
6
|
+
composeTransforms,
|
|
7
|
+
affineTransform,
|
|
8
|
+
quadTransform,
|
|
9
|
+
envelopeTransform
|
|
10
|
+
} from "./lib/geometry/path-transforms.js";
|
|
11
|
+
import { flattenPathWang } from "./lib/geometry/path-wang.js";
|
|
12
|
+
import { simplifyPathRadial } from "./lib/geometry/path-radial.js";
|
|
13
|
+
import { PathGeometry } from "./lib/geometry/path-geometry.js";
|
|
14
|
+
import { toPath2D, toSvgPathData } from "./lib/geometry/path-conversion.js";
|
|
15
|
+
import {
|
|
16
|
+
flattenPath,
|
|
17
|
+
simplifyPath,
|
|
18
|
+
subdividePath
|
|
19
|
+
} from "./lib/geometry/path-utilities.js";
|
|
20
|
+
import { Arc } from "./lib/components/arc.js";
|
|
21
|
+
import {
|
|
22
|
+
Circle
|
|
23
|
+
} from "./lib/components/circle.js";
|
|
24
|
+
import { Clip } from "./lib/components/clip.js";
|
|
25
|
+
import {
|
|
26
|
+
Ellipse
|
|
27
|
+
} from "./lib/components/ellipse.js";
|
|
28
|
+
import {
|
|
29
|
+
Group
|
|
30
|
+
} from "./lib/components/g.js";
|
|
31
|
+
import {
|
|
32
|
+
HorizontalLine
|
|
33
|
+
} from "./lib/components/horizontal-line.js";
|
|
34
|
+
import {
|
|
35
|
+
Image
|
|
36
|
+
} from "./lib/components/img.js";
|
|
37
|
+
import {
|
|
38
|
+
Layer
|
|
39
|
+
} from "./lib/components/layer.js";
|
|
40
|
+
import {
|
|
41
|
+
Line
|
|
42
|
+
} from "./lib/components/line.js";
|
|
43
|
+
import { Path } from "./lib/components/path.js";
|
|
44
|
+
import {
|
|
45
|
+
Polygon
|
|
46
|
+
} from "./lib/components/polygon.js";
|
|
47
|
+
import {
|
|
48
|
+
RegularPolygon
|
|
49
|
+
} from "./lib/components/regular-polygon.js";
|
|
50
|
+
import {
|
|
51
|
+
Rectangle
|
|
52
|
+
} from "./lib/components/rect.js";
|
|
53
|
+
import {
|
|
54
|
+
Star
|
|
55
|
+
} from "./lib/components/star.js";
|
|
56
|
+
import {
|
|
57
|
+
SvgPath
|
|
58
|
+
} from "./lib/components/svg-path.js";
|
|
59
|
+
import { Text } from "./lib/components/text.js";
|
|
60
|
+
import {
|
|
61
|
+
VerticalLine
|
|
62
|
+
} from "./lib/components/vertical-line.js";
|
|
63
|
+
import {
|
|
64
|
+
Wedge
|
|
65
|
+
} from "./lib/components/wedge.js";
|
|
66
|
+
import {
|
|
67
|
+
createArcPath,
|
|
68
|
+
createWedgePath
|
|
69
|
+
} from "./lib/geometry/circular-sweep.js";
|
|
70
|
+
import {
|
|
71
|
+
createCirclePath
|
|
72
|
+
} from "./lib/geometry/circle.js";
|
|
73
|
+
import {
|
|
74
|
+
createEllipsePath
|
|
75
|
+
} from "./lib/geometry/ellipse.js";
|
|
76
|
+
import {
|
|
77
|
+
createLinePath
|
|
78
|
+
} from "./lib/geometry/line.js";
|
|
79
|
+
import {
|
|
80
|
+
createPolygonPath
|
|
81
|
+
} from "./lib/geometry/polygon.js";
|
|
82
|
+
import {
|
|
83
|
+
createRectanglePath
|
|
84
|
+
} from "./lib/geometry/rectangle.js";
|
|
85
|
+
import {
|
|
86
|
+
createRegularPolygonPath
|
|
87
|
+
} from "./lib/geometry/regular-polygon.js";
|
|
88
|
+
import {
|
|
89
|
+
createStarPath
|
|
90
|
+
} from "./lib/geometry/star.js";
|
|
91
|
+
import {
|
|
92
|
+
createSvgPath
|
|
93
|
+
} from "./lib/geometry/svg-path.js";
|
|
94
|
+
import { pibbl } from "./lib/pibbl.js";
|
|
95
|
+
import {
|
|
96
|
+
batch,
|
|
97
|
+
computed,
|
|
98
|
+
isSignal,
|
|
99
|
+
signal,
|
|
100
|
+
untracked
|
|
101
|
+
} from "./lib/signals/graph.js";
|
|
102
|
+
import { resolveSignalValue } from "./lib/signals/resolve-signal-value.js";
|
|
103
|
+
import { easing } from "./lib/animation/easing.js";
|
|
104
|
+
import {
|
|
105
|
+
defineAnimation,
|
|
106
|
+
keyframes,
|
|
107
|
+
spring,
|
|
108
|
+
stepper,
|
|
109
|
+
tween
|
|
110
|
+
} from "./lib/animation/definition.js";
|
|
111
|
+
import {
|
|
112
|
+
marker,
|
|
113
|
+
parallel,
|
|
114
|
+
repeat,
|
|
115
|
+
sequence,
|
|
116
|
+
drive,
|
|
117
|
+
wait
|
|
118
|
+
} from "./lib/animation/program.js";
|
|
119
|
+
import {
|
|
120
|
+
Absolute
|
|
121
|
+
} from "./lib/layout/absolute.js";
|
|
122
|
+
import {
|
|
123
|
+
Overlay
|
|
124
|
+
} from "./lib/layout/overlay.js";
|
|
125
|
+
import {
|
|
126
|
+
Flow
|
|
127
|
+
} from "./lib/layout/flow.js";
|
|
128
|
+
import {
|
|
129
|
+
Flex
|
|
130
|
+
} from "./lib/layout/flex.js";
|
|
131
|
+
import {
|
|
132
|
+
Grid
|
|
133
|
+
} from "./lib/layout/grid.js";
|
|
134
|
+
import { measureElement } from "./lib/layout/measure.js";
|
|
135
|
+
import {
|
|
136
|
+
FocusManagement,
|
|
137
|
+
KeyboardNavigation
|
|
138
|
+
} from "./lib/focus/policy-components.js";
|
|
139
|
+
import { definePrimitive } from "./lib/define-primitive.js";
|
|
140
|
+
import { defineRenderLayer } from "./lib/render-layer/define-render-layer.js";
|
|
141
|
+
import { createElement } from "./lib/element/create-element.js";
|
|
142
|
+
import { Fragment } from "./lib/element/fragment.js";
|
|
143
|
+
import {
|
|
144
|
+
LayoutDiagnostic,
|
|
145
|
+
layoutDiagnostic
|
|
146
|
+
} from "./lib/style/diagnostics.js";
|
|
147
|
+
import { normalizeEdges } from "./lib/style/normalize.js";
|
|
148
|
+
import { resolveLength } from "./lib/style/resolve-length.js";
|
|
149
|
+
import { resolveBox } from "./lib/layout/box.js";
|
|
150
|
+
import { useCursor } from "./lib/hooks/use-cursor.js";
|
|
151
|
+
import { useCanvasContext } from "./lib/hooks/use-canvas-context.js";
|
|
152
|
+
import { useComputed } from "./lib/hooks/use-computed.js";
|
|
153
|
+
import { useConst } from "./lib/hooks/use-const.js";
|
|
154
|
+
import { useEventListener } from "./lib/hooks/use-event-listener.js";
|
|
155
|
+
import { useEventTarget } from "./lib/hooks/use-event-target.js";
|
|
156
|
+
import { useLinePath } from "./lib/hooks/use-line-path.js";
|
|
157
|
+
import { useLayoutBox } from "./lib/hooks/use-layout-box.js";
|
|
158
|
+
import { useRectPath } from "./lib/hooks/use-rect-path.js";
|
|
159
|
+
import { useRef } from "./lib/hooks/use-ref.js";
|
|
160
|
+
import { usePlayback } from "./lib/hooks/use-playback.js";
|
|
161
|
+
import {
|
|
162
|
+
useReaction
|
|
163
|
+
} from "./lib/hooks/use-reaction.js";
|
|
164
|
+
import { useAnimatedValue } from "./lib/hooks/use-animated-value.js";
|
|
165
|
+
import { useSignal } from "./lib/hooks/use-signal.js";
|
|
166
|
+
import { useSvgPath } from "./lib/hooks/use-svg-path.js";
|
|
167
|
+
import { useManipulation } from "./lib/manipulation/controller.js";
|
|
168
|
+
import { ManipulationFrame } from "./lib/manipulation/frame.js";
|
|
169
|
+
import { DragHandle, ResizeHandle, ResizeHandles, RotationHandle } from "./lib/manipulation/handles.js";
|
|
170
|
+
import { degrees } from "./lib/manipulation/degrees.js";
|
|
171
|
+
import { Manipulable } from "./lib/manipulation/manipulable.js";
|
|
172
|
+
import { defineTexture, useTexture } from "./lib/textures/texture.js";
|
|
173
|
+
import { HtmlBox } from "./lib/components/html-box.js";
|
|
174
|
+
import { fade } from "./lib/transitions/fade.js";
|
|
175
|
+
import { useVisibilityTransition } from "./lib/hooks/use-visibility-transition.js";
|
|
176
|
+
import { embers } from "./lib/transitions/embers.js";
|
|
177
|
+
import { hologram } from "./lib/transitions/hologram.js";
|
|
178
|
+
import { bifrost } from "./lib/transitions/bifrost.js";
|
|
179
|
+
import { slide, zoom, wipe, blurReveal, dissolve } from "./lib/transitions/common.js";
|
|
180
|
+
import { defineTransition } from "./lib/transitions/define-transition.js";
|
|
181
|
+
export {
|
|
182
|
+
Absolute,
|
|
183
|
+
Arc,
|
|
184
|
+
Circle,
|
|
185
|
+
Clip,
|
|
186
|
+
DragHandle,
|
|
187
|
+
Ellipse,
|
|
188
|
+
Flex,
|
|
189
|
+
Flow,
|
|
190
|
+
FocusManagement,
|
|
191
|
+
Fragment,
|
|
192
|
+
Grid,
|
|
193
|
+
Group,
|
|
194
|
+
HorizontalLine,
|
|
195
|
+
HtmlBox,
|
|
196
|
+
Image,
|
|
197
|
+
KeyboardNavigation,
|
|
198
|
+
Layer,
|
|
199
|
+
LayoutDiagnostic,
|
|
200
|
+
Line,
|
|
201
|
+
Manipulable,
|
|
202
|
+
ManipulationFrame,
|
|
203
|
+
Overlay,
|
|
204
|
+
Path,
|
|
205
|
+
PathGeometry,
|
|
206
|
+
Polygon,
|
|
207
|
+
Rectangle,
|
|
208
|
+
RegularPolygon,
|
|
209
|
+
ResizeHandle,
|
|
210
|
+
ResizeHandles,
|
|
211
|
+
RotationHandle,
|
|
212
|
+
Star,
|
|
213
|
+
SvgPath,
|
|
214
|
+
Text,
|
|
215
|
+
VerticalLine,
|
|
216
|
+
Wedge,
|
|
217
|
+
affineTransform,
|
|
218
|
+
arcBendTransform,
|
|
219
|
+
batch,
|
|
220
|
+
bifrost,
|
|
221
|
+
blurReveal,
|
|
222
|
+
composeTransforms,
|
|
223
|
+
computed,
|
|
224
|
+
createArcPath,
|
|
225
|
+
createCirclePath,
|
|
226
|
+
createElement,
|
|
227
|
+
createEllipsePath,
|
|
228
|
+
createLinePath,
|
|
229
|
+
createPolygonPath,
|
|
230
|
+
createRectanglePath,
|
|
231
|
+
createRegularPolygonPath,
|
|
232
|
+
createStarPath,
|
|
233
|
+
createSvgPath,
|
|
234
|
+
createWedgePath,
|
|
235
|
+
defineAnimation,
|
|
236
|
+
definePrimitive,
|
|
237
|
+
defineRenderLayer,
|
|
238
|
+
defineTexture,
|
|
239
|
+
defineTransition,
|
|
240
|
+
degrees,
|
|
241
|
+
dissolve,
|
|
242
|
+
drive,
|
|
243
|
+
easing,
|
|
244
|
+
embers,
|
|
245
|
+
envelopeTransform,
|
|
246
|
+
fade,
|
|
247
|
+
flattenPath,
|
|
248
|
+
flattenPathWang,
|
|
249
|
+
hologram,
|
|
250
|
+
isSignal,
|
|
251
|
+
keyframes,
|
|
252
|
+
layoutDiagnostic,
|
|
253
|
+
marker,
|
|
254
|
+
measureElement,
|
|
255
|
+
meshTransform,
|
|
256
|
+
normalizeEdges,
|
|
257
|
+
parallel,
|
|
258
|
+
pathBendTransform,
|
|
259
|
+
pibbl,
|
|
260
|
+
quadTransform,
|
|
261
|
+
repeat,
|
|
262
|
+
resolveBox,
|
|
263
|
+
resolveLength,
|
|
264
|
+
resolveSignalValue,
|
|
265
|
+
sequence,
|
|
266
|
+
signal,
|
|
267
|
+
simplifyPath,
|
|
268
|
+
simplifyPathRadial,
|
|
269
|
+
slide,
|
|
270
|
+
spring,
|
|
271
|
+
stepper,
|
|
272
|
+
subdividePath,
|
|
273
|
+
toPath2D,
|
|
274
|
+
toSvgPathData,
|
|
275
|
+
transformPath,
|
|
276
|
+
tween,
|
|
277
|
+
untracked,
|
|
278
|
+
useAnimatedValue,
|
|
279
|
+
useCanvasContext,
|
|
280
|
+
useComputed,
|
|
281
|
+
useConst,
|
|
282
|
+
useCursor,
|
|
283
|
+
useEventListener,
|
|
284
|
+
useEventTarget,
|
|
285
|
+
useLayoutBox,
|
|
286
|
+
useLinePath,
|
|
287
|
+
useManipulation,
|
|
288
|
+
usePlayback,
|
|
289
|
+
useReaction,
|
|
290
|
+
useRectPath,
|
|
291
|
+
useRef,
|
|
292
|
+
useSignal,
|
|
293
|
+
useSvgPath,
|
|
294
|
+
useTexture,
|
|
295
|
+
useVisibilityTransition,
|
|
296
|
+
wait,
|
|
297
|
+
wipe,
|
|
298
|
+
zoom
|
|
299
|
+
};
|
|
300
|
+
//# sourceMappingURL=index.js.map
|