@shopify/react-native-skia 1.3.11 → 1.3.13
Sign up to get free protection for your applications and to get access to all the features.
- package/android/cpp/jni/JniSkiaManager.cpp +8 -2
- package/cpp/jsi/JsiHostObject.h +9 -15
- package/lib/commonjs/Platform/IPlatform.d.ts +0 -1
- package/lib/commonjs/Platform/IPlatform.js.map +1 -1
- package/lib/commonjs/Platform/Platform.js.map +1 -1
- package/lib/commonjs/Platform/Platform.web.js +5 -1
- package/lib/commonjs/Platform/Platform.web.js.map +1 -1
- package/lib/commonjs/Platform/index.js.map +1 -1
- package/lib/commonjs/__tests__/globalSetup.d.ts +9 -0
- package/lib/commonjs/__tests__/globalTeardown.d.ts +2 -0
- package/lib/commonjs/__tests__/setup.d.ts +18 -0
- package/lib/commonjs/animation/functions/index.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolate.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolateColors.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolatePaths.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolateVector.js.map +1 -1
- package/lib/commonjs/animation/index.js.map +1 -1
- package/lib/commonjs/dom/__tests__/Compose.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Demos.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/DrawingContext.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Group.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Paint.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/RenderNodes.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Shaders.spec.d.ts +1 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js +2 -2
- package/lib/commonjs/dom/nodes/DrawingNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/GroupNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/JsiSkDOM.js.map +1 -1
- package/lib/commonjs/dom/nodes/LayerNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/Node.js +2 -2
- package/lib/commonjs/dom/nodes/Node.js.map +1 -1
- package/lib/commonjs/dom/nodes/PaintNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/RenderNode.js +2 -2
- package/lib/commonjs/dom/nodes/RenderNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Circle.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Enum.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Path.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Transform.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/index.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/Box.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/FillNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/LineNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PathNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js +2 -2
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/RectNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/Text.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/index.js.map +1 -1
- package/lib/commonjs/dom/nodes/index.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/BlendNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/PathEffects.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/Shaders.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/index.js.map +1 -1
- package/lib/commonjs/dom/types/ColorFilters.js.map +1 -1
- package/lib/commonjs/dom/types/Common.js.map +1 -1
- package/lib/commonjs/dom/types/DeclarationContext.js +2 -2
- package/lib/commonjs/dom/types/DeclarationContext.js.map +1 -1
- package/lib/commonjs/dom/types/DrawingContext.js +2 -2
- package/lib/commonjs/dom/types/DrawingContext.js.map +1 -1
- package/lib/commonjs/dom/types/Drawings.js.map +1 -1
- package/lib/commonjs/dom/types/ImageFilters.js.map +1 -1
- package/lib/commonjs/dom/types/MaskFilters.js.map +1 -1
- package/lib/commonjs/dom/types/Node.js.map +1 -1
- package/lib/commonjs/dom/types/NodeType.js.map +1 -1
- package/lib/commonjs/dom/types/Paragraph.js.map +1 -1
- package/lib/commonjs/dom/types/PathEffects.js.map +1 -1
- package/lib/commonjs/dom/types/Shaders.js.map +1 -1
- package/lib/commonjs/dom/types/SkDOM.js.map +1 -1
- package/lib/commonjs/dom/types/index.js.map +1 -1
- package/lib/commonjs/external/ModuleProxy.js.map +1 -1
- package/lib/commonjs/external/index.js.map +1 -1
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js.map +1 -1
- package/lib/commonjs/external/reanimated/buffers.d.ts +4 -4
- package/lib/commonjs/external/reanimated/buffers.js +1 -1
- package/lib/commonjs/external/reanimated/buffers.js.map +1 -1
- package/lib/commonjs/external/reanimated/index.js.map +1 -1
- package/lib/commonjs/external/reanimated/interpolators.js +1 -1
- package/lib/commonjs/external/reanimated/interpolators.js.map +1 -1
- package/lib/commonjs/external/reanimated/renderHelpers.js +1 -1
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +1 -1
- package/lib/commonjs/external/reanimated/textures.js +1 -1
- package/lib/commonjs/external/reanimated/textures.js.map +1 -1
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +1 -1
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -1
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js +1 -1
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js.map +1 -1
- package/lib/commonjs/external/reanimated/useVideo.js +1 -1
- package/lib/commonjs/external/reanimated/useVideo.js.map +1 -1
- package/lib/commonjs/external/reanimated/useVideoLoading.js +1 -1
- package/lib/commonjs/external/reanimated/useVideoLoading.js.map +1 -1
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js.map +1 -1
- package/lib/commonjs/headless/index.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mock/index.js +4 -0
- package/lib/commonjs/mock/index.js.map +1 -1
- package/lib/commonjs/renderer/Canvas.d.ts +2 -2
- package/lib/commonjs/renderer/Canvas.js +2 -2
- package/lib/commonjs/renderer/Canvas.js.map +1 -1
- package/lib/commonjs/renderer/Container.d.ts +1 -0
- package/lib/commonjs/renderer/Container.js +3 -2
- package/lib/commonjs/renderer/Container.js.map +1 -1
- package/lib/commonjs/renderer/DrawingContext.js.map +1 -1
- package/lib/commonjs/renderer/HostComponents.js.map +1 -1
- package/lib/commonjs/renderer/HostConfig.d.ts +0 -1
- package/lib/commonjs/renderer/HostConfig.js +7 -3
- package/lib/commonjs/renderer/HostConfig.js.map +1 -1
- package/lib/commonjs/renderer/Offscreen.js.map +1 -1
- package/lib/commonjs/renderer/Reconciler.js +4 -3
- package/lib/commonjs/renderer/Reconciler.js.map +1 -1
- package/lib/commonjs/renderer/__tests__/Data.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/FitBox.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Glyphs.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Image.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Paths.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Picture.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Simple.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/SkiaDOM.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Surfaces.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Text.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/TouchHandler.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Transform.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/Group.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/getting-started/HelloWorld.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/paint/Overview.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/shapes/Box.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/AnimatedImages.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Atlas.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/BackdropFilters.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Blending.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Blur.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Box.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ColorFilters.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/CoonPatch.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/DataEncoding.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/FontMgr.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Gradient.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Group.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Image.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ImageEncoding.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ImageFilters.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Mask.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Matrix4.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/NativeBuffer.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Offscreen.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Opacity.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Paint.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ParagraphPaint.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Paragraphs.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/PathEffects.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Paths.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Picture.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Point.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Rect.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/RuntimeShader.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/SDF.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/SVG.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Shader.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Snapshot.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Surfaces.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Text.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/TextPath.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Transforms.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Vertices.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Video.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/Paragraph.d.ts +19 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/SVG.d.ts +12 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/SkiaObject.d.ts +11 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/index.d.ts +3 -0
- package/lib/commonjs/renderer/__tests__/examples/BlendModes.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/setup.d.ts +66 -0
- package/lib/commonjs/renderer/components/Blend.js +1 -1
- package/lib/commonjs/renderer/components/Blend.js.map +1 -1
- package/lib/commonjs/renderer/components/Group.js +3 -3
- package/lib/commonjs/renderer/components/Group.js.map +1 -1
- package/lib/commonjs/renderer/components/Mask.js +1 -1
- package/lib/commonjs/renderer/components/Mask.js.map +1 -1
- package/lib/commonjs/renderer/components/Paint.js +1 -1
- package/lib/commonjs/renderer/components/Paint.js.map +1 -1
- package/lib/commonjs/renderer/components/Picture.js +1 -1
- package/lib/commonjs/renderer/components/Picture.js.map +1 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js +2 -2
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js.map +1 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js +1 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js.map +1 -1
- package/lib/commonjs/renderer/components/backdrop/index.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/index.js.map +1 -1
- package/lib/commonjs/renderer/components/image/Image.js +1 -1
- package/lib/commonjs/renderer/components/image/Image.js.map +1 -1
- package/lib/commonjs/renderer/components/image/ImageSVG.js +1 -1
- package/lib/commonjs/renderer/components/image/ImageSVG.js.map +1 -1
- package/lib/commonjs/renderer/components/image/ImageShader.js +2 -2
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +1 -1
- package/lib/commonjs/renderer/components/image/index.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Blur.js +2 -2
- package/lib/commonjs/renderer/components/imageFilters/Blur.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js +1 -1
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js +2 -2
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Offset.js +2 -2
- package/lib/commonjs/renderer/components/imageFilters/Offset.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js +1 -1
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/index.js.map +1 -1
- package/lib/commonjs/renderer/components/index.js.map +1 -1
- package/lib/commonjs/renderer/components/maskFilters/Blur.js +2 -2
- package/lib/commonjs/renderer/components/maskFilters/Blur.js.map +1 -1
- package/lib/commonjs/renderer/components/maskFilters/index.js.map +1 -1
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js +1 -1
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js.map +1 -1
- package/lib/commonjs/renderer/components/paragraph/index.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Corner.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Corner.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Dash.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Dash.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js +2 -2
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Sum.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Sum.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/index.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/Color.js +1 -1
- package/lib/commonjs/renderer/components/shaders/Color.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js +2 -2
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/Shader.js +2 -2
- package/lib/commonjs/renderer/components/shaders/Shader.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/Turbulence.js +2 -2
- package/lib/commonjs/renderer/components/shaders/Turbulence.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/index.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Atlas.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Atlas.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Box.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Box.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Circle.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Circle.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/DiffRect.js +1 -1
- package/lib/commonjs/renderer/components/shapes/DiffRect.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Fill.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Fill.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/FitBox.js +1 -1
- package/lib/commonjs/renderer/components/shapes/FitBox.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Line.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Line.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Oval.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Oval.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Patch.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Patch.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Path.js +2 -2
- package/lib/commonjs/renderer/components/shapes/Path.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Points.js +2 -2
- package/lib/commonjs/renderer/components/shapes/Points.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Rect.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Rect.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js +1 -1
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Vertices.js +2 -2
- package/lib/commonjs/renderer/components/shapes/Vertices.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/index.js.map +1 -1
- package/lib/commonjs/renderer/components/text/Glyphs.js +2 -2
- package/lib/commonjs/renderer/components/text/Glyphs.js.map +1 -1
- package/lib/commonjs/renderer/components/text/Text.js +2 -2
- package/lib/commonjs/renderer/components/text/Text.js.map +1 -1
- package/lib/commonjs/renderer/components/text/TextBlob.js +2 -2
- package/lib/commonjs/renderer/components/text/TextBlob.js.map +1 -1
- package/lib/commonjs/renderer/components/text/TextPath.js +2 -2
- package/lib/commonjs/renderer/components/text/TextPath.js.map +1 -1
- package/lib/commonjs/renderer/components/text/index.js.map +1 -1
- package/lib/commonjs/renderer/index.js.map +1 -1
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -1
- package/lib/commonjs/renderer/processors/Animations/index.js.map +1 -1
- package/lib/commonjs/renderer/processors/index.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/Coordinates.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/Math.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/Transforms.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/index.js.map +1 -1
- package/lib/commonjs/renderer/typeddash.js.map +1 -1
- package/lib/commonjs/skia/NativeSetup.js +1 -1
- package/lib/commonjs/skia/NativeSetup.js.map +1 -1
- package/lib/commonjs/skia/Skia.js.map +1 -1
- package/lib/commonjs/skia/Skia.web.js.map +1 -1
- package/lib/commonjs/skia/__tests__/ColorFilter.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Data.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Enums.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Geometry.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/ImageFilter.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Mock.spec.d.ts +0 -0
- package/lib/commonjs/skia/__tests__/Paint.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Path.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/RuntimeEffect.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Shader.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Text.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Transform.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Vertices.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/setup.d.ts +19 -0
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/commonjs/skia/core/AnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/core/Data.d.ts +3 -3
- package/lib/commonjs/skia/core/Data.js.map +1 -1
- package/lib/commonjs/skia/core/Font.d.ts +1 -1
- package/lib/commonjs/skia/core/Font.js.map +1 -1
- package/lib/commonjs/skia/core/Image.d.ts +2 -3
- package/lib/commonjs/skia/core/Image.js.map +1 -1
- package/lib/commonjs/skia/core/Matrix.js.map +1 -1
- package/lib/commonjs/skia/core/Picture.d.ts +1 -1
- package/lib/commonjs/skia/core/Picture.js.map +1 -1
- package/lib/commonjs/skia/core/RRect.js.map +1 -1
- package/lib/commonjs/skia/core/Rect.js.map +1 -1
- package/lib/commonjs/skia/core/SVG.d.ts +1 -1
- package/lib/commonjs/skia/core/SVG.js.map +1 -1
- package/lib/commonjs/skia/core/SVG.web.d.ts +1 -1
- package/lib/commonjs/skia/core/SVG.web.js.map +1 -1
- package/lib/commonjs/skia/core/Typeface.d.ts +1 -1
- package/lib/commonjs/skia/core/Typeface.js.map +1 -1
- package/lib/commonjs/skia/core/Vector.js.map +1 -1
- package/lib/commonjs/skia/core/index.js.map +1 -1
- package/lib/commonjs/skia/index.js.map +1 -1
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -1
- package/lib/commonjs/skia/types/AnimatedImage/index.js.map +1 -1
- package/lib/commonjs/skia/types/Canvas.js.map +1 -1
- package/lib/commonjs/skia/types/Color.js.map +1 -1
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js.map +1 -1
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/types/ColorFilter/index.js.map +1 -1
- package/lib/commonjs/skia/types/ContourMeasure.js.map +1 -1
- package/lib/commonjs/skia/types/Data/Data.d.ts +1 -1
- package/lib/commonjs/skia/types/Data/Data.js.map +1 -1
- package/lib/commonjs/skia/types/Data/DataFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Data/index.js.map +1 -1
- package/lib/commonjs/skia/types/Font/Font.js.map +1 -1
- package/lib/commonjs/skia/types/Font/FontMgr.js.map +1 -1
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Font/index.js.map +1 -1
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -1
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +16 -16
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Image/index.js.map +1 -1
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +1 -1
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/types/ImageFilter/index.js.map +1 -1
- package/lib/commonjs/skia/types/JsiInstance.js.map +1 -1
- package/lib/commonjs/skia/types/MaskFilter.d.ts +3 -3
- package/lib/commonjs/skia/types/MaskFilter.js.map +1 -1
- package/lib/commonjs/skia/types/Matrix.js.map +1 -1
- package/lib/commonjs/skia/types/Matrix4.js.map +1 -1
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +3 -3
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/types/NativeBuffer/index.js.map +1 -1
- package/lib/commonjs/skia/types/Paint/BlendMode.d.ts +28 -28
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +1 -1
- package/lib/commonjs/skia/types/Paint/Paint.js.map +1 -1
- package/lib/commonjs/skia/types/Paint/index.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/index.js.map +1 -1
- package/lib/commonjs/skia/types/Path/Path.d.ts +4 -4
- package/lib/commonjs/skia/types/Path/Path.js.map +1 -1
- package/lib/commonjs/skia/types/Path/PathFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Path/index.js.map +1 -1
- package/lib/commonjs/skia/types/PathEffect.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/Picture.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/PictureFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/index.js.map +1 -1
- package/lib/commonjs/skia/types/Point.js.map +1 -1
- package/lib/commonjs/skia/types/RRect.js.map +1 -1
- package/lib/commonjs/skia/types/RSXform.js.map +1 -1
- package/lib/commonjs/skia/types/Rect.js.map +1 -1
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -1
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -1
- package/lib/commonjs/skia/types/RuntimeEffect/index.js.map +1 -1
- package/lib/commonjs/skia/types/SVG/SVG.js.map +1 -1
- package/lib/commonjs/skia/types/SVG/SVGFactory.js.map +1 -1
- package/lib/commonjs/skia/types/SVG/index.js.map +1 -1
- package/lib/commonjs/skia/types/Shader/Shader.js.map +1 -1
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Shader/index.js.map +1 -1
- package/lib/commonjs/skia/types/Size.js.map +1 -1
- package/lib/commonjs/skia/types/Skia.js.map +1 -1
- package/lib/commonjs/skia/types/Surface/Surface.js.map +1 -1
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Surface/index.js.map +1 -1
- package/lib/commonjs/skia/types/TextBlob.js.map +1 -1
- package/lib/commonjs/skia/types/Typeface/Typeface.js.map +1 -1
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Typeface/index.js.map +1 -1
- package/lib/commonjs/skia/types/Vertices/Vertices.js.map +1 -1
- package/lib/commonjs/skia/types/Vertices/index.js.map +1 -1
- package/lib/commonjs/skia/types/Video/Video.js.map +1 -1
- package/lib/commonjs/skia/types/Video/index.js.map +1 -1
- package/lib/commonjs/skia/types/index.js.map +1 -1
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js +2 -2
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -1
- package/lib/commonjs/skia/web/Host.js +2 -2
- package/lib/commonjs/skia/web/Host.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js +2 -2
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/commonjs/skia/web/JsiSkCanvas.js +2 -2
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkColor.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkColorFilter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +2 -2
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkData.js +2 -2
- package/lib/commonjs/skia/web/JsiSkData.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkDataFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkFont.js +2 -2
- package/lib/commonjs/skia/web/JsiSkFont.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkFontMgr.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImage.js +2 -2
- package/lib/commonjs/skia/web/JsiSkImage.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkMatrix.js +2 -2
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +1 -1
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPaint.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPath.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPathEffect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPicture.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPicture.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPoint.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPoint.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRRect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRSXform.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSVG.js +2 -2
- package/lib/commonjs/skia/web/JsiSkSVG.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkShader.js +2 -2
- package/lib/commonjs/skia/web/JsiSkShader.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSurface.js +2 -2
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +2 -2
- package/lib/commonjs/skia/web/JsiSkTextBlob.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTextStyle.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypeface.js +2 -2
- package/lib/commonjs/skia/web/JsiSkTypeface.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +2 -2
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkVertices.js +2 -2
- package/lib/commonjs/skia/web/JsiSkVertices.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkia.js.map +1 -1
- package/lib/commonjs/skia/web/JsiVideo.js +2 -2
- package/lib/commonjs/skia/web/JsiVideo.js.map +1 -1
- package/lib/commonjs/skia/web/index.js.map +1 -1
- package/lib/commonjs/specs/NativeSkiaModule.js.map +1 -1
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +1 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +0 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js +1 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js.map +1 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +0 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +1 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +1 -1
- package/lib/commonjs/views/SkiaBaseWebView.js +4 -4
- package/lib/commonjs/views/SkiaBaseWebView.js.map +1 -1
- package/lib/commonjs/views/SkiaDomView.d.ts +0 -4
- package/lib/commonjs/views/SkiaDomView.js +4 -12
- package/lib/commonjs/views/SkiaDomView.js.map +1 -1
- package/lib/commonjs/views/SkiaDomView.web.js.map +1 -1
- package/lib/commonjs/views/SkiaJSDomView.js +4 -4
- package/lib/commonjs/views/SkiaJSDomView.js.map +1 -1
- package/lib/commonjs/views/SkiaJSDomView.web.js.map +1 -1
- package/lib/commonjs/views/SkiaPictureView.js +4 -4
- package/lib/commonjs/views/SkiaPictureView.js.map +1 -1
- package/lib/commonjs/views/SkiaPictureView.web.js.map +1 -1
- package/lib/commonjs/views/SkiaViewNativeId.js.map +1 -1
- package/lib/commonjs/views/api.js.map +1 -1
- package/lib/commonjs/views/index.js.map +1 -1
- package/lib/commonjs/views/types.js.map +1 -1
- package/lib/commonjs/views/useTouchHandler.js.map +1 -1
- package/lib/commonjs/web/LoadSkiaWeb.js +1 -1
- package/lib/commonjs/web/LoadSkiaWeb.js.map +1 -1
- package/lib/commonjs/web/WithSkiaWeb.js +1 -1
- package/lib/commonjs/web/WithSkiaWeb.js.map +1 -1
- package/lib/commonjs/web/index.js.map +1 -1
- package/lib/module/Platform/IPlatform.d.ts +0 -1
- package/lib/module/Platform/IPlatform.js.map +1 -1
- package/lib/module/Platform/Platform.js.map +1 -1
- package/lib/module/Platform/Platform.web.js +4 -0
- package/lib/module/Platform/Platform.web.js.map +1 -1
- package/lib/module/Platform/index.js.map +1 -1
- package/lib/module/__tests__/globalSetup.d.ts +9 -0
- package/lib/module/__tests__/globalTeardown.d.ts +2 -0
- package/lib/module/__tests__/setup.d.ts +18 -0
- package/lib/module/animation/functions/index.js.map +1 -1
- package/lib/module/animation/functions/interpolate.js.map +1 -1
- package/lib/module/animation/functions/interpolateColors.js.map +1 -1
- package/lib/module/animation/functions/interpolatePaths.js.map +1 -1
- package/lib/module/animation/functions/interpolateVector.js.map +1 -1
- package/lib/module/animation/index.js.map +1 -1
- package/lib/module/dom/__tests__/Compose.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Demos.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/DrawingContext.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Group.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Paint.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/RenderNodes.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Shaders.spec.d.ts +1 -0
- package/lib/module/dom/nodes/DrawingNode.js +2 -2
- package/lib/module/dom/nodes/DrawingNode.js.map +1 -1
- package/lib/module/dom/nodes/GroupNode.js.map +1 -1
- package/lib/module/dom/nodes/JsiSkDOM.js.map +1 -1
- package/lib/module/dom/nodes/LayerNode.js.map +1 -1
- package/lib/module/dom/nodes/Node.js +2 -2
- package/lib/module/dom/nodes/Node.js.map +1 -1
- package/lib/module/dom/nodes/PaintNode.js.map +1 -1
- package/lib/module/dom/nodes/RenderNode.js +2 -2
- package/lib/module/dom/nodes/RenderNode.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Circle.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Enum.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Fitting.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Gradient.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Path.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Radius.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Rect.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Transform.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/index.js.map +1 -1
- package/lib/module/dom/nodes/drawings/AtlasNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/Box.js.map +1 -1
- package/lib/module/dom/nodes/drawings/CircleNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/DiffRectNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/FillNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/ImageNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/ImageSVG.js.map +1 -1
- package/lib/module/dom/nodes/drawings/LineNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/OvalNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/ParagraphNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PatchNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PathNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PictureNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PointsNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/RRectNode.js +2 -2
- package/lib/module/dom/nodes/drawings/RRectNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/RectNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/Text.js.map +1 -1
- package/lib/module/dom/nodes/drawings/VerticesNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/index.js.map +1 -1
- package/lib/module/dom/nodes/index.js.map +1 -1
- package/lib/module/dom/nodes/paint/BlendNode.js.map +1 -1
- package/lib/module/dom/nodes/paint/ColorFilters.js.map +1 -1
- package/lib/module/dom/nodes/paint/ImageFilters.js.map +1 -1
- package/lib/module/dom/nodes/paint/MaskFilters.js.map +1 -1
- package/lib/module/dom/nodes/paint/PathEffects.js.map +1 -1
- package/lib/module/dom/nodes/paint/Shaders.js.map +1 -1
- package/lib/module/dom/nodes/paint/index.js.map +1 -1
- package/lib/module/dom/types/ColorFilters.js.map +1 -1
- package/lib/module/dom/types/Common.js.map +1 -1
- package/lib/module/dom/types/DeclarationContext.js +2 -2
- package/lib/module/dom/types/DeclarationContext.js.map +1 -1
- package/lib/module/dom/types/DrawingContext.js +2 -2
- package/lib/module/dom/types/DrawingContext.js.map +1 -1
- package/lib/module/dom/types/Drawings.js.map +1 -1
- package/lib/module/dom/types/ImageFilters.js.map +1 -1
- package/lib/module/dom/types/MaskFilters.js.map +1 -1
- package/lib/module/dom/types/Node.js.map +1 -1
- package/lib/module/dom/types/NodeType.js.map +1 -1
- package/lib/module/dom/types/Paragraph.js.map +1 -1
- package/lib/module/dom/types/PathEffects.js.map +1 -1
- package/lib/module/dom/types/Shaders.js.map +1 -1
- package/lib/module/dom/types/SkDOM.js.map +1 -1
- package/lib/module/dom/types/index.js.map +1 -1
- package/lib/module/external/ModuleProxy.js.map +1 -1
- package/lib/module/external/index.js.map +1 -1
- package/lib/module/external/reanimated/ReanimatedProxy.js.map +1 -1
- package/lib/module/external/reanimated/buffers.d.ts +4 -4
- package/lib/module/external/reanimated/buffers.js.map +1 -1
- package/lib/module/external/reanimated/index.js.map +1 -1
- package/lib/module/external/reanimated/interpolators.js.map +1 -1
- package/lib/module/external/reanimated/renderHelpers.js.map +1 -1
- package/lib/module/external/reanimated/textures.js.map +1 -1
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -1
- package/lib/module/external/reanimated/useDerivedValueOnJS.js.map +1 -1
- package/lib/module/external/reanimated/useVideo.js.map +1 -1
- package/lib/module/external/reanimated/useVideoLoading.js.map +1 -1
- package/lib/module/external/reanimated/useVideoLoading.web.js.map +1 -1
- package/lib/module/headless/index.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/mock/index.js +4 -0
- package/lib/module/mock/index.js.map +1 -1
- package/lib/module/renderer/Canvas.d.ts +2 -2
- package/lib/module/renderer/Canvas.js +1 -1
- package/lib/module/renderer/Canvas.js.map +1 -1
- package/lib/module/renderer/Container.d.ts +1 -0
- package/lib/module/renderer/Container.js +3 -2
- package/lib/module/renderer/Container.js.map +1 -1
- package/lib/module/renderer/DrawingContext.js.map +1 -1
- package/lib/module/renderer/HostComponents.js.map +1 -1
- package/lib/module/renderer/HostConfig.d.ts +0 -1
- package/lib/module/renderer/HostConfig.js +7 -3
- package/lib/module/renderer/HostConfig.js.map +1 -1
- package/lib/module/renderer/Offscreen.js.map +1 -1
- package/lib/module/renderer/Reconciler.js +3 -2
- package/lib/module/renderer/Reconciler.js.map +1 -1
- package/lib/module/renderer/__tests__/Data.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/FitBox.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Glyphs.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Image.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Paths.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Picture.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Simple.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/SkiaDOM.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Surfaces.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Text.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/TouchHandler.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Transform.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/Group.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/getting-started/HelloWorld.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/paint/Overview.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/shapes/Box.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/AnimatedImages.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Atlas.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/BackdropFilters.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Blending.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Blur.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Box.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ColorFilters.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/CoonPatch.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/DataEncoding.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Drawings.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/FontMgr.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Gradient.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Group.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Image.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ImageEncoding.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ImageFilters.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Mask.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Matrix4.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/NativeBuffer.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Offscreen.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Opacity.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Paint.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ParagraphPaint.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Paragraphs.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/PathEffects.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Paths.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Picture.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Point.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Rect.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/RuntimeShader.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/SDF.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/SVG.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Shader.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Snapshot.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Surfaces.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Text.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/TextPath.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Transforms.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Vertices.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Video.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/setup/Paragraph.d.ts +19 -0
- package/lib/module/renderer/__tests__/e2e/setup/SVG.d.ts +12 -0
- package/lib/module/renderer/__tests__/e2e/setup/SkiaObject.d.ts +11 -0
- package/lib/module/renderer/__tests__/e2e/setup/index.d.ts +3 -0
- package/lib/module/renderer/__tests__/examples/BlendModes.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/setup.d.ts +66 -0
- package/lib/module/renderer/components/Blend.js.map +1 -1
- package/lib/module/renderer/components/Group.js +2 -2
- package/lib/module/renderer/components/Group.js.map +1 -1
- package/lib/module/renderer/components/Mask.js.map +1 -1
- package/lib/module/renderer/components/Paint.js.map +1 -1
- package/lib/module/renderer/components/Picture.js.map +1 -1
- package/lib/module/renderer/components/backdrop/BackdropBlur.js +1 -1
- package/lib/module/renderer/components/backdrop/BackdropBlur.js.map +1 -1
- package/lib/module/renderer/components/backdrop/BackdropFilter.js.map +1 -1
- package/lib/module/renderer/components/backdrop/index.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/BlendColor.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/Lerp.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/Matrix.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/index.js.map +1 -1
- package/lib/module/renderer/components/image/Image.js.map +1 -1
- package/lib/module/renderer/components/image/ImageSVG.js.map +1 -1
- package/lib/module/renderer/components/image/ImageShader.js +1 -1
- package/lib/module/renderer/components/image/ImageShader.js.map +1 -1
- package/lib/module/renderer/components/image/index.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Blur.js +1 -1
- package/lib/module/renderer/components/imageFilters/Blur.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Morphology.js +1 -1
- package/lib/module/renderer/components/imageFilters/Morphology.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Offset.js +1 -1
- package/lib/module/renderer/components/imageFilters/Offset.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Shadow.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/index.js.map +1 -1
- package/lib/module/renderer/components/index.js.map +1 -1
- package/lib/module/renderer/components/maskFilters/Blur.js +1 -1
- package/lib/module/renderer/components/maskFilters/Blur.js.map +1 -1
- package/lib/module/renderer/components/maskFilters/index.js.map +1 -1
- package/lib/module/renderer/components/paragraph/Paragraph.js.map +1 -1
- package/lib/module/renderer/components/paragraph/index.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Corner.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Dash.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Discrete.js +1 -1
- package/lib/module/renderer/components/pathEffects/Discrete.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Line2D.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Path1D.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Path2D.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Sum.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/index.js.map +1 -1
- package/lib/module/renderer/components/shaders/Color.js.map +1 -1
- package/lib/module/renderer/components/shaders/FractalNoise.js +1 -1
- package/lib/module/renderer/components/shaders/FractalNoise.js.map +1 -1
- package/lib/module/renderer/components/shaders/LinearGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/RadialGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/Shader.js +1 -1
- package/lib/module/renderer/components/shaders/Shader.js.map +1 -1
- package/lib/module/renderer/components/shaders/ShaderLib.js.map +1 -1
- package/lib/module/renderer/components/shaders/SweepGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/Turbulence.js +1 -1
- package/lib/module/renderer/components/shaders/Turbulence.js.map +1 -1
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/index.js.map +1 -1
- package/lib/module/renderer/components/shapes/Atlas.js.map +1 -1
- package/lib/module/renderer/components/shapes/Box.js.map +1 -1
- package/lib/module/renderer/components/shapes/Circle.js.map +1 -1
- package/lib/module/renderer/components/shapes/DiffRect.js.map +1 -1
- package/lib/module/renderer/components/shapes/Fill.js.map +1 -1
- package/lib/module/renderer/components/shapes/FitBox.js.map +1 -1
- package/lib/module/renderer/components/shapes/Line.js.map +1 -1
- package/lib/module/renderer/components/shapes/Oval.js.map +1 -1
- package/lib/module/renderer/components/shapes/Patch.js.map +1 -1
- package/lib/module/renderer/components/shapes/Path.js +1 -1
- package/lib/module/renderer/components/shapes/Path.js.map +1 -1
- package/lib/module/renderer/components/shapes/Points.js +1 -1
- package/lib/module/renderer/components/shapes/Points.js.map +1 -1
- package/lib/module/renderer/components/shapes/Rect.js.map +1 -1
- package/lib/module/renderer/components/shapes/RoundedRect.js.map +1 -1
- package/lib/module/renderer/components/shapes/Vertices.js +1 -1
- package/lib/module/renderer/components/shapes/Vertices.js.map +1 -1
- package/lib/module/renderer/components/shapes/index.js.map +1 -1
- package/lib/module/renderer/components/text/Glyphs.js +1 -1
- package/lib/module/renderer/components/text/Glyphs.js.map +1 -1
- package/lib/module/renderer/components/text/Text.js +1 -1
- package/lib/module/renderer/components/text/Text.js.map +1 -1
- package/lib/module/renderer/components/text/TextBlob.js +1 -1
- package/lib/module/renderer/components/text/TextBlob.js.map +1 -1
- package/lib/module/renderer/components/text/TextPath.js +1 -1
- package/lib/module/renderer/components/text/TextPath.js.map +1 -1
- package/lib/module/renderer/components/text/index.js.map +1 -1
- package/lib/module/renderer/index.js.map +1 -1
- package/lib/module/renderer/processors/Animations/Animations.js.map +1 -1
- package/lib/module/renderer/processors/Animations/index.js.map +1 -1
- package/lib/module/renderer/processors/index.js.map +1 -1
- package/lib/module/renderer/processors/math/Coordinates.js.map +1 -1
- package/lib/module/renderer/processors/math/Math.js.map +1 -1
- package/lib/module/renderer/processors/math/Transforms.js.map +1 -1
- package/lib/module/renderer/processors/math/index.js.map +1 -1
- package/lib/module/renderer/typeddash.js.map +1 -1
- package/lib/module/skia/NativeSetup.js.map +1 -1
- package/lib/module/skia/Skia.js.map +1 -1
- package/lib/module/skia/Skia.web.js.map +1 -1
- package/lib/module/skia/__tests__/ColorFilter.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Data.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Enums.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Geometry.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/ImageFilter.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Mock.spec.d.ts +0 -0
- package/lib/module/skia/__tests__/Paint.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Path.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/RuntimeEffect.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Shader.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Text.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Transform.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Vertices.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/setup.d.ts +19 -0
- package/lib/module/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/module/skia/core/AnimatedImage.js.map +1 -1
- package/lib/module/skia/core/Data.d.ts +3 -3
- package/lib/module/skia/core/Data.js.map +1 -1
- package/lib/module/skia/core/Font.d.ts +1 -1
- package/lib/module/skia/core/Font.js.map +1 -1
- package/lib/module/skia/core/Image.d.ts +2 -3
- package/lib/module/skia/core/Image.js.map +1 -1
- package/lib/module/skia/core/Matrix.js.map +1 -1
- package/lib/module/skia/core/Picture.d.ts +1 -1
- package/lib/module/skia/core/Picture.js.map +1 -1
- package/lib/module/skia/core/RRect.js.map +1 -1
- package/lib/module/skia/core/Rect.js.map +1 -1
- package/lib/module/skia/core/SVG.d.ts +1 -1
- package/lib/module/skia/core/SVG.js.map +1 -1
- package/lib/module/skia/core/SVG.web.d.ts +1 -1
- package/lib/module/skia/core/SVG.web.js.map +1 -1
- package/lib/module/skia/core/Typeface.d.ts +1 -1
- package/lib/module/skia/core/Typeface.js.map +1 -1
- package/lib/module/skia/core/Vector.js.map +1 -1
- package/lib/module/skia/core/index.js.map +1 -1
- package/lib/module/skia/index.js.map +1 -1
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js.map +1 -1
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -1
- package/lib/module/skia/types/AnimatedImage/index.js.map +1 -1
- package/lib/module/skia/types/Canvas.js.map +1 -1
- package/lib/module/skia/types/Color.js.map +1 -1
- package/lib/module/skia/types/ColorFilter/ColorFilter.js.map +1 -1
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -1
- package/lib/module/skia/types/ColorFilter/index.js.map +1 -1
- package/lib/module/skia/types/ContourMeasure.js.map +1 -1
- package/lib/module/skia/types/Data/Data.d.ts +1 -1
- package/lib/module/skia/types/Data/Data.js.map +1 -1
- package/lib/module/skia/types/Data/DataFactory.js.map +1 -1
- package/lib/module/skia/types/Data/index.js.map +1 -1
- package/lib/module/skia/types/Font/Font.js.map +1 -1
- package/lib/module/skia/types/Font/FontMgr.js.map +1 -1
- package/lib/module/skia/types/Font/FontMgrFactory.js.map +1 -1
- package/lib/module/skia/types/Font/index.js.map +1 -1
- package/lib/module/skia/types/Image/Image.js.map +1 -1
- package/lib/module/skia/types/Image/ImageFactory.d.ts +16 -16
- package/lib/module/skia/types/Image/ImageFactory.js.map +1 -1
- package/lib/module/skia/types/Image/index.js.map +1 -1
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +1 -1
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -1
- package/lib/module/skia/types/ImageFilter/index.js.map +1 -1
- package/lib/module/skia/types/JsiInstance.js.map +1 -1
- package/lib/module/skia/types/MaskFilter.d.ts +3 -3
- package/lib/module/skia/types/MaskFilter.js.map +1 -1
- package/lib/module/skia/types/Matrix.js.map +1 -1
- package/lib/module/skia/types/Matrix4.js.map +1 -1
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +3 -3
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/module/skia/types/NativeBuffer/index.js.map +1 -1
- package/lib/module/skia/types/Paint/BlendMode.d.ts +28 -28
- package/lib/module/skia/types/Paint/BlendMode.js.map +1 -1
- package/lib/module/skia/types/Paint/Paint.js.map +1 -1
- package/lib/module/skia/types/Paint/index.js.map +1 -1
- package/lib/module/skia/types/Paragraph/Paragraph.js.map +1 -1
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js.map +1 -1
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js.map +1 -1
- package/lib/module/skia/types/Paragraph/TextStyle.js.map +1 -1
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -1
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -1
- package/lib/module/skia/types/Paragraph/index.js.map +1 -1
- package/lib/module/skia/types/Path/Path.d.ts +4 -4
- package/lib/module/skia/types/Path/Path.js.map +1 -1
- package/lib/module/skia/types/Path/PathFactory.js.map +1 -1
- package/lib/module/skia/types/Path/index.js.map +1 -1
- package/lib/module/skia/types/PathEffect.js.map +1 -1
- package/lib/module/skia/types/Picture/Picture.js.map +1 -1
- package/lib/module/skia/types/Picture/PictureFactory.js.map +1 -1
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +1 -1
- package/lib/module/skia/types/Picture/index.js.map +1 -1
- package/lib/module/skia/types/Point.js.map +1 -1
- package/lib/module/skia/types/RRect.js.map +1 -1
- package/lib/module/skia/types/RSXform.js.map +1 -1
- package/lib/module/skia/types/Rect.js.map +1 -1
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -1
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -1
- package/lib/module/skia/types/RuntimeEffect/index.js.map +1 -1
- package/lib/module/skia/types/SVG/SVG.js.map +1 -1
- package/lib/module/skia/types/SVG/SVGFactory.js.map +1 -1
- package/lib/module/skia/types/SVG/index.js.map +1 -1
- package/lib/module/skia/types/Shader/Shader.js.map +1 -1
- package/lib/module/skia/types/Shader/ShaderFactory.js.map +1 -1
- package/lib/module/skia/types/Shader/index.js.map +1 -1
- package/lib/module/skia/types/Size.js.map +1 -1
- package/lib/module/skia/types/Skia.js.map +1 -1
- package/lib/module/skia/types/Surface/Surface.js.map +1 -1
- package/lib/module/skia/types/Surface/SurfaceFactory.js.map +1 -1
- package/lib/module/skia/types/Surface/index.js.map +1 -1
- package/lib/module/skia/types/TextBlob.js.map +1 -1
- package/lib/module/skia/types/Typeface/Typeface.js.map +1 -1
- package/lib/module/skia/types/Typeface/TypefaceFactory.js.map +1 -1
- package/lib/module/skia/types/Typeface/index.js.map +1 -1
- package/lib/module/skia/types/Vertices/Vertices.js.map +1 -1
- package/lib/module/skia/types/Vertices/index.js.map +1 -1
- package/lib/module/skia/types/Video/Video.js.map +1 -1
- package/lib/module/skia/types/Video/index.js.map +1 -1
- package/lib/module/skia/types/index.js.map +1 -1
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js +2 -2
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -1
- package/lib/module/skia/web/Host.js +2 -2
- package/lib/module/skia/web/Host.js.map +1 -1
- package/lib/module/skia/web/JsiSkAnimatedImage.js +2 -2
- package/lib/module/skia/web/JsiSkAnimatedImage.js.map +1 -1
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/module/skia/web/JsiSkCanvas.js +2 -2
- package/lib/module/skia/web/JsiSkCanvas.js.map +1 -1
- package/lib/module/skia/web/JsiSkColor.js.map +1 -1
- package/lib/module/skia/web/JsiSkColorFilter.js +2 -2
- package/lib/module/skia/web/JsiSkColorFilter.js.map +1 -1
- package/lib/module/skia/web/JsiSkColorFilterFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkContourMeasure.js +2 -2
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +1 -1
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +2 -2
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +1 -1
- package/lib/module/skia/web/JsiSkData.js +2 -2
- package/lib/module/skia/web/JsiSkData.js.map +1 -1
- package/lib/module/skia/web/JsiSkDataFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkFont.js +2 -2
- package/lib/module/skia/web/JsiSkFont.js.map +1 -1
- package/lib/module/skia/web/JsiSkFontMgr.js.map +1 -1
- package/lib/module/skia/web/JsiSkFontMgrFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkImage.js +2 -2
- package/lib/module/skia/web/JsiSkImage.js.map +1 -1
- package/lib/module/skia/web/JsiSkImageFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkImageFilter.js +2 -2
- package/lib/module/skia/web/JsiSkImageFilter.js.map +1 -1
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkMaskFilter.js +2 -2
- package/lib/module/skia/web/JsiSkMaskFilter.js.map +1 -1
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkMatrix.js +2 -2
- package/lib/module/skia/web/JsiSkMatrix.js.map +1 -1
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +1 -1
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPaint.js +2 -2
- package/lib/module/skia/web/JsiSkPaint.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraph.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraphBuilder.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraphStyle.d.ts +1 -1
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +1 -1
- package/lib/module/skia/web/JsiSkPath.js +2 -2
- package/lib/module/skia/web/JsiSkPath.js.map +1 -1
- package/lib/module/skia/web/JsiSkPathEffect.js +2 -2
- package/lib/module/skia/web/JsiSkPathEffect.js.map +1 -1
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPathFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPicture.js +2 -2
- package/lib/module/skia/web/JsiSkPicture.js.map +1 -1
- package/lib/module/skia/web/JsiSkPictureFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPictureRecorder.js +2 -2
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +1 -1
- package/lib/module/skia/web/JsiSkPoint.js +2 -2
- package/lib/module/skia/web/JsiSkPoint.js.map +1 -1
- package/lib/module/skia/web/JsiSkRRect.js +2 -2
- package/lib/module/skia/web/JsiSkRRect.js.map +1 -1
- package/lib/module/skia/web/JsiSkRSXform.js +2 -2
- package/lib/module/skia/web/JsiSkRSXform.js.map +1 -1
- package/lib/module/skia/web/JsiSkRect.js +2 -2
- package/lib/module/skia/web/JsiSkRect.js.map +1 -1
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +2 -2
- package/lib/module/skia/web/JsiSkRuntimeEffect.js.map +1 -1
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkSVG.js +2 -2
- package/lib/module/skia/web/JsiSkSVG.js.map +1 -1
- package/lib/module/skia/web/JsiSkSVGFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkShader.js +2 -2
- package/lib/module/skia/web/JsiSkShader.js.map +1 -1
- package/lib/module/skia/web/JsiSkShaderFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkSurface.js +2 -2
- package/lib/module/skia/web/JsiSkSurface.js.map +1 -1
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkTextBlob.js +2 -2
- package/lib/module/skia/web/JsiSkTextBlob.js.map +1 -1
- package/lib/module/skia/web/JsiSkTextBlobFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkTextStyle.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypeface.js +2 -2
- package/lib/module/skia/web/JsiSkTypeface.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypefaceFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +2 -2
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkVertices.js +2 -2
- package/lib/module/skia/web/JsiSkVertices.js.map +1 -1
- package/lib/module/skia/web/JsiSkVerticesFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkia.js.map +1 -1
- package/lib/module/skia/web/JsiVideo.js +2 -2
- package/lib/module/skia/web/JsiVideo.js.map +1 -1
- package/lib/module/skia/web/index.js.map +1 -1
- package/lib/module/specs/NativeSkiaModule.js.map +1 -1
- package/lib/module/specs/NativeSkiaModule.web.js.map +1 -1
- package/lib/module/specs/SkiaDomViewNativeComponent.d.ts +0 -1
- package/lib/module/specs/SkiaDomViewNativeComponent.js.map +1 -1
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +0 -1
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +1 -1
- package/lib/module/views/SkiaBaseWebView.js +3 -3
- package/lib/module/views/SkiaBaseWebView.js.map +1 -1
- package/lib/module/views/SkiaDomView.d.ts +0 -4
- package/lib/module/views/SkiaDomView.js +3 -11
- package/lib/module/views/SkiaDomView.js.map +1 -1
- package/lib/module/views/SkiaDomView.web.js.map +1 -1
- package/lib/module/views/SkiaJSDomView.js +3 -3
- package/lib/module/views/SkiaJSDomView.js.map +1 -1
- package/lib/module/views/SkiaJSDomView.web.js.map +1 -1
- package/lib/module/views/SkiaPictureView.js +3 -3
- package/lib/module/views/SkiaPictureView.js.map +1 -1
- package/lib/module/views/SkiaPictureView.web.js.map +1 -1
- package/lib/module/views/SkiaViewNativeId.js.map +1 -1
- package/lib/module/views/api.js.map +1 -1
- package/lib/module/views/index.js.map +1 -1
- package/lib/module/views/types.js.map +1 -1
- package/lib/module/views/useTouchHandler.js.map +1 -1
- package/lib/module/web/LoadSkiaWeb.js.map +1 -1
- package/lib/module/web/WithSkiaWeb.js.map +1 -1
- package/lib/module/web/index.js.map +1 -1
- package/lib/typescript/jest.config.d.ts +2 -0
- package/lib/typescript/lib/commonjs/Platform/IPlatform.d.ts +1 -0
- package/lib/typescript/lib/commonjs/Platform/Platform.d.ts +9 -0
- package/lib/typescript/lib/commonjs/Platform/Platform.web.d.ts +14 -0
- package/lib/typescript/lib/commonjs/Platform/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/animation/functions/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolate.d.ts +7 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolatePaths.d.ts +18 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolateVector.d.ts +9 -0
- package/lib/typescript/lib/commonjs/animation/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/DrawingNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/GroupNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/JsiSkDOM.d.ts +70 -0
- package/lib/typescript/lib/commonjs/dom/nodes/LayerNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/Node.d.ts +20 -0
- package/lib/typescript/lib/commonjs/dom/nodes/PaintNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/RenderNode.d.ts +16 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +3 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Enum.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Fitting.d.ts +45 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +16 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Path.d.ts +3 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Radius.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +4 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/AtlasNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/CircleNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/DiffRectNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/FillNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/ImageNode.d.ts +13 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/ImageSVG.d.ts +9 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/LineNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/OvalNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/ParagraphNode.d.ts +9 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PatchNode.d.ts +14 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PathNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PictureNode.d.ts +9 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PointsNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/RectNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/Text.d.ts +34 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/VerticesNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/BlendNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/ColorFilters.d.ts +29 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/ImageFilters.d.ts +35 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/MaskFilters.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/PathEffects.d.ts +34 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/Shaders.d.ts +40 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/ColorFilters.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/Common.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/DeclarationContext.d.ts +26 -0
- package/lib/typescript/lib/commonjs/dom/types/DrawingContext.d.ts +13 -0
- package/lib/typescript/lib/commonjs/dom/types/Drawings.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/ImageFilters.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/MaskFilters.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/Node.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/NodeType.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/types/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/PathEffects.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/Shaders.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/SkDOM.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/external/ModuleProxy.d.ts +11 -0
- package/lib/typescript/lib/commonjs/external/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/external/reanimated/ReanimatedProxy.d.ts +5 -0
- package/lib/typescript/lib/commonjs/external/reanimated/buffers.d.ts +5 -0
- package/lib/typescript/lib/commonjs/external/reanimated/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/external/reanimated/interpolators.d.ts +6 -0
- package/lib/typescript/lib/commonjs/external/reanimated/renderHelpers.d.ts +4 -0
- package/lib/typescript/lib/commonjs/external/reanimated/textures.d.ts +6 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useAnimatedImageValue.d.ts +2 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useDerivedValueOnJS.d.ts +2 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useVideo.d.ts +9 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useVideoLoading.d.ts +2 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useVideoLoading.web.d.ts +2 -0
- package/lib/typescript/lib/commonjs/headless/index.d.ts +6 -0
- package/lib/typescript/lib/commonjs/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/mock/index.d.ts +64 -0
- package/lib/typescript/lib/commonjs/renderer/Canvas.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/Container.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/DrawingContext.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/HostComponents.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/HostConfig.d.ts +38 -0
- package/lib/typescript/lib/commonjs/renderer/Offscreen.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/Reconciler.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/components/Blend.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/Group.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/Mask.d.ts +7 -0
- package/lib/typescript/lib/commonjs/renderer/components/Paint.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/Picture.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/backdrop/BackdropBlur.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/backdrop/BackdropFilter.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/backdrop/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/BlendColor.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/Lerp.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/Matrix.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/Image.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/ImageSVG.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/ImageShader.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Blur.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/DisplacementMap.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Morphology.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Offset.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/RuntimeShader.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Shadow.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/maskFilters/Blur.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/paragraph/Paragraph.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Corner.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Dash.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Discrete.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Line2D.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Path1D.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Path2D.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Sum.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/Color.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/FractalNoise.d.ts +7 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/LinearGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/RadialGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/Shader.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/ShaderLib.d.ts +8 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/SweepGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/Turbulence.d.ts +7 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Atlas.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Box.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Circle.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/DiffRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Fill.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/FitBox.d.ts +8 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Line.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Oval.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Patch.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Path.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Points.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Rect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/RoundedRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Vertices.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/Glyphs.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/Text.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/TextBlob.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/TextPath.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/processors/Animations/Animations.d.ts +0 -0
- package/lib/typescript/lib/commonjs/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/processors/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/Coordinates.d.ts +25 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/Math.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/typeddash.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/Skia.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/Skia.web.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/core/Data.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/core/Font.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/core/Image.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/core/Matrix.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/Picture.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/core/RRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/Rect.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/core/SVG.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/SVG.web.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/Typeface.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/core/Vector.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/core/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/AnimatedImage/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Canvas.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Color.d.ts +0 -0
- package/lib/typescript/lib/commonjs/skia/types/ColorFilter/ColorFilter.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/ColorFilter/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/ContourMeasure.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Data/Data.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Data/DataFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Data/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/Font.d.ts +16 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/FontMgr.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/FontMgrFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Image/Image.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Image/ImageFactory.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Image/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/ImageFilter/ImageFilter.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/ImageFilter/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/JsiInstance.d.ts +0 -0
- package/lib/typescript/lib/commonjs/skia/types/MaskFilter.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Matrix.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Matrix4.d.ts +31 -0
- package/lib/typescript/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paint/BlendMode.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Paint/Paint.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/types/Paint/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/ParagraphStyle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/TextStyle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Path/Path.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/types/Path/PathFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Path/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/PathEffect.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/Picture.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/PictureFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Point.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/RRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/RSXform.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Rect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/RuntimeEffect/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/SVG/SVG.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/SVG/SVGFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/SVG/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Shader/Shader.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Shader/ShaderFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Shader/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Size.d.ts +0 -0
- package/lib/typescript/lib/commonjs/skia/types/Skia.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Surface/Surface.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Surface/SurfaceFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Surface/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/TextBlob.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Typeface/Typeface.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Typeface/TypefaceFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Typeface/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Vertices/Vertices.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Video/Video.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/Host.d.ts +18 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkAnimatedImage.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkCanvas.d.ts +45 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkColorFilterFactory.d.ts +12 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkContourMeasure.d.ts +11 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkData.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkDataFactory.d.ts +16 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkFont.d.ts +33 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkFontMgr.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkFontMgrFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImage.d.ts +21 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +17 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkMaskFilterFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkMatrix.d.ts +18 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPaint.d.ts +28 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraph.d.ts +17 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +14 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPath.d.ts +56 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPathEffectFactory.d.ts +13 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPicture.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPictureFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPictureRecorder.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPoint.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRRect.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRSXform.d.ts +11 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRect.d.ts +11 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +13 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSVG.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSVGFactory.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkShader.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkShaderFactory.d.ts +13 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTextBlobFactory.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTextStyle.d.ts +38 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypeface.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypefaceFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkVertices.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkVerticesFactory.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkia.d.ts +64 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiVideo.d.ts +23 -0
- package/lib/typescript/lib/commonjs/skia/web/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/specs/NativeSkiaModule.d.ts +4 -0
- package/lib/typescript/lib/commonjs/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +3 -0
- package/lib/typescript/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +3 -0
- package/lib/typescript/lib/commonjs/views/SkiaBaseWebView.d.ts +53 -0
- package/lib/typescript/lib/commonjs/views/SkiaDomView.d.ts +27 -0
- package/lib/typescript/lib/commonjs/views/SkiaDomView.web.d.ts +5 -0
- package/lib/typescript/lib/commonjs/views/SkiaJSDomView.d.ts +26 -0
- package/lib/typescript/lib/commonjs/views/SkiaJSDomView.web.d.ts +3 -0
- package/lib/typescript/lib/commonjs/views/SkiaPictureView.d.ts +21 -0
- package/lib/typescript/lib/commonjs/views/SkiaPictureView.web.d.ts +5 -0
- package/lib/typescript/lib/commonjs/views/SkiaViewNativeId.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/api.d.ts +2 -0
- package/lib/typescript/lib/commonjs/views/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/views/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/views/useTouchHandler.d.ts +12 -0
- package/lib/typescript/lib/commonjs/web/LoadSkiaWeb.d.ts +3 -0
- package/lib/typescript/lib/commonjs/web/WithSkiaWeb.d.ts +6 -0
- package/lib/typescript/lib/commonjs/web/index.d.ts +1 -0
- package/lib/typescript/lib/module/Platform/IPlatform.d.ts +1 -0
- package/lib/typescript/lib/module/Platform/Platform.d.ts +9 -0
- package/lib/typescript/lib/module/Platform/Platform.web.d.ts +17 -0
- package/lib/typescript/lib/module/Platform/index.d.ts +1 -0
- package/lib/typescript/lib/module/animation/functions/index.d.ts +4 -0
- package/lib/typescript/lib/module/animation/functions/interpolate.d.ts +6 -0
- package/lib/typescript/lib/module/animation/functions/interpolateColors.d.ts +2 -0
- package/lib/typescript/lib/module/animation/functions/interpolatePaths.d.ts +1 -0
- package/lib/typescript/lib/module/animation/functions/interpolateVector.d.ts +8 -0
- package/lib/typescript/lib/module/animation/index.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/DrawingNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/GroupNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/JsiSkDOM.d.ts +119 -0
- package/lib/typescript/lib/module/dom/nodes/LayerNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/Node.d.ts +19 -0
- package/lib/typescript/lib/module/dom/nodes/PaintNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/RenderNode.d.ts +15 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Circle.d.ts +2 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Fitting.d.ts +44 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Gradient.d.ts +15 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Path.d.ts +2 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Radius.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Rect.d.ts +3 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Transform.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/AtlasNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/BackdropFilterNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/Box.d.ts +14 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/DiffRectNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/FillNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/ImageNode.d.ts +22 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/ImageSVG.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/LineNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PatchNode.d.ts +13 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PointsNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/RRectNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/Text.d.ts +33 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/typescript/lib/module/dom/nodes/index.d.ts +3 -0
- package/lib/typescript/lib/module/dom/nodes/paint/BlendNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/paint/ColorFilters.d.ts +28 -0
- package/lib/typescript/lib/module/dom/nodes/paint/ImageFilters.d.ts +34 -0
- package/lib/typescript/lib/module/dom/nodes/paint/MaskFilters.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/paint/PathEffects.d.ts +33 -0
- package/lib/typescript/lib/module/dom/nodes/paint/Shaders.d.ts +39 -0
- package/lib/typescript/lib/module/dom/nodes/paint/index.d.ts +6 -0
- package/lib/typescript/lib/module/dom/types/ColorFilters.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Common.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/DeclarationContext.d.ts +25 -0
- package/lib/typescript/lib/module/dom/types/DrawingContext.d.ts +12 -0
- package/lib/typescript/lib/module/dom/types/Drawings.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/ImageFilters.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/MaskFilters.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Node.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/NodeType.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/PathEffects.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Shaders.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/SkDOM.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/index.d.ts +13 -0
- package/lib/typescript/lib/module/external/ModuleProxy.d.ts +6 -0
- package/lib/typescript/lib/module/external/index.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/ReanimatedProxy.d.ts +4 -0
- package/lib/typescript/lib/module/external/reanimated/buffers.d.ts +4 -0
- package/lib/typescript/lib/module/external/reanimated/index.d.ts +7 -0
- package/lib/typescript/lib/module/external/reanimated/interpolators.d.ts +5 -0
- package/lib/typescript/lib/module/external/reanimated/renderHelpers.d.ts +3 -0
- package/lib/typescript/lib/module/external/reanimated/textures.d.ts +5 -0
- package/lib/typescript/lib/module/external/reanimated/useAnimatedImageValue.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/useVideo.d.ts +8 -0
- package/lib/typescript/lib/module/external/reanimated/useVideoLoading.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/useVideoLoading.web.d.ts +1 -0
- package/lib/typescript/lib/module/headless/index.d.ts +6 -0
- package/lib/typescript/lib/module/index.d.ts +10 -0
- package/lib/typescript/lib/module/mock/index.d.ts +474 -0
- package/lib/typescript/lib/module/renderer/Canvas.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/Container.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/DrawingContext.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/HostComponents.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/HostConfig.d.ts +37 -0
- package/lib/typescript/lib/module/renderer/Offscreen.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/Reconciler.d.ts +9 -0
- package/lib/typescript/lib/module/renderer/components/Blend.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/Group.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/Mask.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/components/Paint.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/Picture.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/backdrop/BackdropBlur.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/components/backdrop/BackdropFilter.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/BlendColor.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/Lerp.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/LumaColorFilter.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/Matrix.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/image/Image.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/image/ImageSVG.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/image/ImageShader.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/components/image/index.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Blur.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/DisplacementMap.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Morphology.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Offset.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/RuntimeShader.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Shadow.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/index.d.ts +16 -0
- package/lib/typescript/lib/module/renderer/components/maskFilters/Blur.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/components/paragraph/Paragraph.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Corner.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Dash.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Discrete.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Line2D.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Path1D.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Path2D.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Sum.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/Color.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/FractalNoise.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/LinearGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/RadialGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/Shader.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/shaders/ShaderLib.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/SweepGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/Turbulence.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/TwoPointConicalGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/index.d.ts +9 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Atlas.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Box.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Circle.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/DiffRect.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Fill.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/FitBox.d.ts +34 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Line.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Oval.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Patch.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Path.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Points.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Rect.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/RoundedRect.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Vertices.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/shapes/index.d.ts +14 -0
- package/lib/typescript/lib/module/renderer/components/text/Glyphs.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/text/Text.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/text/TextBlob.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/text/TextPath.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/text/index.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/processors/Animations/Animations.d.ts +0 -0
- package/lib/typescript/lib/module/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/processors/index.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/processors/math/Coordinates.d.ts +24 -0
- package/lib/typescript/lib/module/renderer/processors/math/Math.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/processors/math/Transforms.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/processors/math/index.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/typeddash.d.ts +3 -0
- package/lib/typescript/lib/module/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/lib/module/skia/Skia.d.ts +4 -0
- package/lib/typescript/lib/module/skia/Skia.web.d.ts +35 -0
- package/lib/typescript/lib/module/skia/core/AnimatedImage.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Data.d.ts +4 -0
- package/lib/typescript/lib/module/skia/core/Font.d.ts +4 -0
- package/lib/typescript/lib/module/skia/core/Image.d.ts +2 -0
- package/lib/typescript/lib/module/skia/core/Matrix.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Picture.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/RRect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Rect.d.ts +7 -0
- package/lib/typescript/lib/module/skia/core/SVG.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/SVG.web.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Typeface.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Vector.d.ts +6 -0
- package/lib/typescript/lib/module/skia/core/index.d.ts +11 -0
- package/lib/typescript/lib/module/skia/index.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/AnimatedImage/AnimatedImage.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Canvas.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Color.d.ts +0 -0
- package/lib/typescript/lib/module/skia/types/ColorFilter/ColorFilter.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/ColorFilter/ColorFilterFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/ContourMeasure.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Data/Data.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Data/DataFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Data/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Font/Font.d.ts +15 -0
- package/lib/typescript/lib/module/skia/types/Font/FontMgr.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Font/FontMgrFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Font/index.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Image/Image.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Image/ImageFactory.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Image/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/ImageFilter/ImageFilter.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/JsiInstance.d.ts +0 -0
- package/lib/typescript/lib/module/skia/types/MaskFilter.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Matrix.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Matrix4.d.ts +15 -0
- package/lib/typescript/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paint/BlendMode.d.ts +28 -0
- package/lib/typescript/lib/module/skia/types/Paint/Paint.d.ts +4 -0
- package/lib/typescript/lib/module/skia/types/Paint/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/ParagraphBuilder.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/ParagraphStyle.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/TextStyle.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/TypefaceFontProvider.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/typescript/lib/module/skia/types/Path/Path.d.ts +7 -0
- package/lib/typescript/lib/module/skia/types/Path/PathFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Path/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/PathEffect.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Picture/Picture.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Picture/PictureFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Picture/PictureRecorder.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Picture/index.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Point.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RRect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RSXform.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Rect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RuntimeEffect/RuntimeEffect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/SVG/SVG.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/SVG/SVGFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/SVG/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Shader/Shader.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Shader/ShaderFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Shader/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Size.d.ts +0 -0
- package/lib/typescript/lib/module/skia/types/Skia.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Surface/Surface.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Surface/SurfaceFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Surface/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/TextBlob.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Typeface/Typeface.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Typeface/TypefaceFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Typeface/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Vertices/Vertices.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Video/Video.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/index.d.ts +30 -0
- package/lib/typescript/lib/module/skia/web/CanvasKitWebGLBufferImpl.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/Host.d.ts +17 -0
- package/lib/typescript/lib/module/skia/web/JsiSkAnimatedImage.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkAnimatedImageFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkCanvas.d.ts +44 -0
- package/lib/typescript/lib/module/skia/web/JsiSkColor.d.ts +1 -0
- package/lib/typescript/lib/module/skia/web/JsiSkColorFilter.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkColorFilterFactory.d.ts +11 -0
- package/lib/typescript/lib/module/skia/web/JsiSkContourMeasure.d.ts +10 -0
- package/lib/typescript/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkData.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkDataFactory.d.ts +15 -0
- package/lib/typescript/lib/module/skia/web/JsiSkFont.d.ts +32 -0
- package/lib/typescript/lib/module/skia/web/JsiSkFontMgr.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkFontMgrFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImage.d.ts +20 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImageFactory.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImageFilter.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +16 -0
- package/lib/typescript/lib/module/skia/web/JsiSkMaskFilter.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkMaskFilterFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkMatrix.d.ts +17 -0
- package/lib/typescript/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPaint.d.ts +27 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraph.d.ts +16 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +13 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraphBuilderFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraphStyle.d.ts +3 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPath.d.ts +55 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPathEffect.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPathEffectFactory.d.ts +12 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPathFactory.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPicture.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPictureFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPictureRecorder.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPoint.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRRect.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRSXform.d.ts +10 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRect.d.ts +10 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +12 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRuntimeEffectFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSVG.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSVGFactory.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkShader.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkShaderFactory.d.ts +12 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSurface.d.ts +11 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTextBlob.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTextBlobFactory.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTextStyle.d.ts +37 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypeface.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypefaceFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypefaceFontProvider.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkVertices.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkVerticesFactory.d.ts +2 -0
- package/lib/typescript/lib/module/skia/web/JsiSkia.d.ts +63 -0
- package/lib/typescript/lib/module/skia/web/JsiVideo.d.ts +22 -0
- package/lib/typescript/lib/module/skia/web/index.d.ts +1 -0
- package/lib/typescript/lib/module/specs/NativeSkiaModule.d.ts +2 -0
- package/lib/typescript/lib/module/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/lib/module/specs/SkiaDomViewNativeComponent.d.ts +2 -0
- package/lib/typescript/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +2 -0
- package/lib/typescript/lib/module/views/SkiaBaseWebView.d.ts +50 -0
- package/lib/typescript/lib/module/views/SkiaDomView.d.ts +24 -0
- package/lib/typescript/lib/module/views/SkiaDomView.web.d.ts +4 -0
- package/lib/typescript/lib/module/views/SkiaJSDomView.d.ts +23 -0
- package/lib/typescript/lib/module/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/typescript/lib/module/views/SkiaPictureView.d.ts +18 -0
- package/lib/typescript/lib/module/views/SkiaPictureView.web.d.ts +4 -0
- package/lib/typescript/lib/module/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/typescript/lib/module/views/api.d.ts +1 -0
- package/lib/typescript/lib/module/views/index.d.ts +4 -0
- package/lib/typescript/lib/module/views/types.d.ts +1 -0
- package/lib/typescript/lib/module/views/useTouchHandler.d.ts +2 -0
- package/lib/typescript/lib/module/web/LoadSkiaWeb.d.ts +2 -0
- package/lib/typescript/lib/module/web/WithSkiaWeb.d.ts +6 -0
- package/lib/typescript/lib/module/web/index.d.ts +2 -0
- package/lib/typescript/src/Platform/IPlatform.d.ts +0 -1
- package/lib/typescript/src/__tests__/globalSetup.d.ts +9 -0
- package/lib/typescript/src/__tests__/globalTeardown.d.ts +2 -0
- package/lib/typescript/src/__tests__/setup.d.ts +18 -0
- package/lib/typescript/src/dom/__tests__/Compose.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Demos.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/DrawingContext.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Group.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Paint.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/RenderNodes.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Shaders.spec.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/buffers.d.ts +4 -4
- package/lib/typescript/src/renderer/Canvas.d.ts +2 -2
- package/lib/typescript/src/renderer/Container.d.ts +1 -0
- package/lib/typescript/src/renderer/HostConfig.d.ts +0 -1
- package/lib/typescript/src/renderer/__tests__/Data.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/FitBox.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Glyphs.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Image.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Paths.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Picture.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Simple.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/SkiaDOM.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Surfaces.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Text.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/TouchHandler.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Transform.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/Group.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/getting-started/HelloWorld.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/paint/Overview.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/shapes/Box.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/AnimatedImages.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Atlas.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/BackdropFilters.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Blending.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Blur.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Box.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ColorFilters.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/CoonPatch.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/DataEncoding.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/FontMgr.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Gradient.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Group.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Image.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ImageEncoding.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ImageFilters.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Mask.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Matrix4.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/NativeBuffer.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Offscreen.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Opacity.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Paint.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ParagraphPaint.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Paragraphs.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/PathEffects.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Paths.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Picture.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Point.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Rect.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/RuntimeShader.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/SDF.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/SVG.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Shader.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Snapshot.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Surfaces.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Text.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/TextPath.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Transforms.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Vertices.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Video.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/Paragraph.d.ts +19 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/SVG.d.ts +12 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/SkiaObject.d.ts +11 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/index.d.ts +3 -0
- package/lib/typescript/src/renderer/__tests__/examples/BlendModes.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/setup.d.ts +66 -0
- package/lib/typescript/src/skia/__tests__/ColorFilter.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Data.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Enums.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Geometry.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/ImageFilter.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Mock.spec.d.ts +0 -0
- package/lib/typescript/src/skia/__tests__/Paint.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Path.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/RuntimeEffect.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Shader.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Text.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Transform.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Vertices.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/setup.d.ts +19 -0
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/typescript/src/skia/core/Data.d.ts +3 -3
- package/lib/typescript/src/skia/core/Font.d.ts +1 -1
- package/lib/typescript/src/skia/core/Image.d.ts +2 -3
- package/lib/typescript/src/skia/core/Picture.d.ts +1 -1
- package/lib/typescript/src/skia/core/SVG.d.ts +1 -1
- package/lib/typescript/src/skia/core/SVG.web.d.ts +1 -1
- package/lib/typescript/src/skia/core/Typeface.d.ts +1 -1
- package/lib/typescript/src/skia/types/Data/Data.d.ts +1 -1
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +16 -16
- package/lib/typescript/src/skia/types/MaskFilter.d.ts +3 -3
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +3 -3
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +28 -28
- package/lib/typescript/src/skia/types/Path/Path.d.ts +4 -4
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +1 -1
- package/lib/typescript/src/skia/web/JsiSkParagraphStyle.d.ts +1 -1
- package/lib/typescript/src/specs/SkiaDomViewNativeComponent.d.ts +0 -1
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +0 -1
- package/lib/typescript/src/views/SkiaDomView.d.ts +0 -4
- package/libs/ios/libskia.xcframework/Info.plist +5 -5
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/ios/libskottie.xcframework/Info.plist +5 -5
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/ios/libsksg.xcframework/Info.plist +5 -5
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/ios/libskunicode.xcframework/Info.plist +5 -5
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e/libskunicode.a +0 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode.a +0 -0
- package/libs/ios/libsvg.xcframework/Info.plist +5 -5
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +52 -32
- package/scripts/setup-canvaskit.js +0 -0
- package/src/Platform/Platform.web.tsx +4 -0
- package/src/__tests__/globalSetup.ts +51 -0
- package/src/__tests__/globalTeardown.ts +11 -0
- package/src/__tests__/setup.ts +129 -0
- package/src/__tests__/snapshots/animated-images/bird.png +0 -0
- package/src/__tests__/snapshots/animations/green.png +0 -0
- package/src/__tests__/snapshots/animations/lightblue.png +0 -0
- package/src/__tests__/snapshots/animations/quarter-lightblue.png +0 -0
- package/src/__tests__/snapshots/animations/red.png +0 -0
- package/src/__tests__/snapshots/atlas/identity.png +0 -0
- package/src/__tests__/snapshots/atlas/rsxform.png +0 -0
- package/src/__tests__/snapshots/atlas/rsxform1.png +0 -0
- package/src/__tests__/snapshots/atlas/simple.png +0 -0
- package/src/__tests__/snapshots/atlas/simple2.png +0 -0
- package/src/__tests__/snapshots/box/box-shadow.png +0 -0
- package/src/__tests__/snapshots/box/box-shadow2.png +0 -0
- package/src/__tests__/snapshots/box/box-shadow3.png +0 -0
- package/src/__tests__/snapshots/box/box-stroke.png +0 -0
- package/src/__tests__/snapshots/color-filter/color-filter-composition.png +0 -0
- package/src/__tests__/snapshots/color-filter/matrix1.png +0 -0
- package/src/__tests__/snapshots/color-filter/matrix3.png +0 -0
- package/src/__tests__/snapshots/color-filter/zurich-sepia.png +0 -0
- package/src/__tests__/snapshots/coons-patch/patch-with-opacity.png +0 -0
- package/src/__tests__/snapshots/coons-patch/simple.png +0 -0
- package/src/__tests__/snapshots/cyan-buffer.png +0 -0
- package/src/__tests__/snapshots/data/oslo.png +0 -0
- package/src/__tests__/snapshots/data/red.png +0 -0
- package/src/__tests__/snapshots/data/zurich.png +0 -0
- package/src/__tests__/snapshots/demos/apple-breathe.png +0 -0
- package/src/__tests__/snapshots/demos/apple-breathe1.png +0 -0
- package/src/__tests__/snapshots/demos/breathe.png +0 -0
- package/src/__tests__/snapshots/demos/breathe2.png +0 -0
- package/src/__tests__/snapshots/demos/product.png +0 -0
- package/src/__tests__/snapshots/demos/product2.png +0 -0
- package/src/__tests__/snapshots/demos/skia-neon.png +0 -0
- package/src/__tests__/snapshots/demos/skia-neon1.png +0 -0
- package/src/__tests__/snapshots/drawings/arc.png +0 -0
- package/src/__tests__/snapshots/drawings/blend-mode-multiply.png +0 -0
- package/src/__tests__/snapshots/drawings/blend-modes.png +0 -0
- package/src/__tests__/snapshots/drawings/blur-node.png +0 -0
- package/src/__tests__/snapshots/drawings/blur.png +0 -0
- package/src/__tests__/snapshots/drawings/blur2.png +0 -0
- package/src/__tests__/snapshots/drawings/custom-drawing.png +0 -0
- package/src/__tests__/snapshots/drawings/cyan-circle.png +0 -0
- package/src/__tests__/snapshots/drawings/cyan.png +0 -0
- package/src/__tests__/snapshots/drawings/default-props.png +0 -0
- package/src/__tests__/snapshots/drawings/hello-world.png +0 -0
- package/src/__tests__/snapshots/drawings/image-default-props.png +0 -0
- package/src/__tests__/snapshots/drawings/lightblue-quarter-circle.png +0 -0
- package/src/__tests__/snapshots/drawings/lightblue-rect.png +0 -0
- package/src/__tests__/snapshots/drawings/line.png +0 -0
- package/src/__tests__/snapshots/drawings/multiple-paints.png +0 -0
- package/src/__tests__/snapshots/drawings/nested-shader.png +0 -0
- package/src/__tests__/snapshots/drawings/nested-shader2.png +0 -0
- package/src/__tests__/snapshots/drawings/opacity-image.png +0 -0
- package/src/__tests__/snapshots/drawings/opacity-multiplication.png +0 -0
- package/src/__tests__/snapshots/drawings/opacity-multiplication2.png +0 -0
- package/src/__tests__/snapshots/drawings/points.png +0 -0
- package/src/__tests__/snapshots/drawings/purple.png +0 -0
- package/src/__tests__/snapshots/drawings/rotated-image.png +0 -0
- package/src/__tests__/snapshots/drawings/rotated-scaled-image.png +0 -0
- package/src/__tests__/snapshots/drawings/rrect-aa.png +0 -0
- package/src/__tests__/snapshots/drawings/rrect-no-aa.png +0 -0
- package/src/__tests__/snapshots/drawings/scaled-image.png +0 -0
- package/src/__tests__/snapshots/drawings/scaled-image2.png +0 -0
- package/src/__tests__/snapshots/drawings/shader-opacity-reference.png +0 -0
- package/src/__tests__/snapshots/drawings/skew-transform.png +0 -0
- package/src/__tests__/snapshots/drawings/skew-transform2.png +0 -0
- package/src/__tests__/snapshots/drawings/small-lightblue-rect.png +0 -0
- package/src/__tests__/snapshots/drawings/stroke.png +0 -0
- package/src/__tests__/snapshots/drawings/transform-origin.png +0 -0
- package/src/__tests__/snapshots/drawings/transparent.png +0 -0
- package/src/__tests__/snapshots/drawings/violet.png +0 -0
- package/src/__tests__/snapshots/font/green.png +0 -0
- package/src/__tests__/snapshots/font/red.png +0 -0
- package/src/__tests__/snapshots/glyphs/simple.png +0 -0
- package/src/__tests__/snapshots/gradient/linear-with-opacity.png +0 -0
- package/src/__tests__/snapshots/gradient/linear.png +0 -0
- package/src/__tests__/snapshots/green.png +0 -0
- package/src/__tests__/snapshots/image-filter/blur.png +0 -0
- package/src/__tests__/snapshots/image-filter/test-shadow.png +0 -0
- package/src/__tests__/snapshots/images/bundle-android.png +0 -0
- package/src/__tests__/snapshots/images/bundle-ios.png +0 -0
- package/src/__tests__/snapshots/images/bundle-node.png +0 -0
- package/src/__tests__/snapshots/images/bundle.png +0 -0
- package/src/__tests__/snapshots/images/filter.png +0 -0
- package/src/__tests__/snapshots/leak.png +0 -0
- package/src/__tests__/snapshots/matrix4/perspective.png +0 -0
- package/src/__tests__/snapshots/paint/blend-mode.png +0 -0
- package/src/__tests__/snapshots/paint/circle.png +0 -0
- package/src/__tests__/snapshots/paint/colors.png +0 -0
- package/src/__tests__/snapshots/paint/dither.png +0 -0
- package/src/__tests__/snapshots/paint/path-paint.png +0 -0
- package/src/__tests__/snapshots/paint/without-dither.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-auto-linebreaks-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-auto-linebreaks-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-bounding-box-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-bounding-box-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-bounding-box-node.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-ellipse-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-ellipse-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-linebreaks-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-linebreaks-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-center-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-center-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-justify-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-justify-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-left-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-left-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-right-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-right-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-rtl-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-rtl-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-colors-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-colors-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-decoration-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-decoration-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-shadow-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-shadow-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-android-box.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-ios-box.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-in-paragraph-style-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-in-paragraph-style-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-with-provider-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-with-provider-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-with-provider-node.png +0 -0
- package/src/__tests__/snapshots/path/interpolate.png +0 -0
- package/src/__tests__/snapshots/path/logo.png +0 -0
- package/src/__tests__/snapshots/path-effects/discrete.png +0 -0
- package/src/__tests__/snapshots/path-effects/sum.png +0 -0
- package/src/__tests__/snapshots/path-effects/sum2.png +0 -0
- package/src/__tests__/snapshots/paths/arc.png +0 -0
- package/src/__tests__/snapshots/paths/emptyPath.png +0 -0
- package/src/__tests__/snapshots/paths/interpolation1.png +0 -0
- package/src/__tests__/snapshots/paths/oval.png +0 -0
- package/src/__tests__/snapshots/paths/pattern.png +0 -0
- package/src/__tests__/snapshots/paths/poly.png +0 -0
- package/src/__tests__/snapshots/paths/rrect.png +0 -0
- package/src/__tests__/snapshots/paths/skia-trimmed.png +0 -0
- package/src/__tests__/snapshots/paths/skia.png +0 -0
- package/src/__tests__/snapshots/pictures/create-picture.png +0 -0
- package/src/__tests__/snapshots/pictures/green.png +0 -0
- package/src/__tests__/snapshots/pictures/hello-world.png +0 -0
- package/src/__tests__/snapshots/pictures/red.png +0 -0
- package/src/__tests__/snapshots/pictures/simple-picture.png +0 -0
- package/src/__tests__/snapshots/platform-buffer-bgra.png +0 -0
- package/src/__tests__/snapshots/platform-buffer.png +0 -0
- package/src/__tests__/snapshots/points/points.png +0 -0
- package/src/__tests__/snapshots/points/points2.png +0 -0
- package/src/__tests__/snapshots/render-nodes/simple.png +0 -0
- package/src/__tests__/snapshots/render-nodes/simple2.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-burn.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-burn2.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-burn3.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-dodge.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-multiply.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/int-uniform.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/linear-gradient.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/linear-gradient2.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/small-spiral.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/spiral.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/scaled-circle.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/scaled-circle2.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/simple.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/spiral.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/unscaled-image.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot1-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot1-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot1-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot2-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot2-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot2-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot3-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot3-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot3-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot4-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot4-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot4-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot5-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot5-ios.png +0 -0
- package/src/__tests__/snapshots/sdf/circle.png +0 -0
- package/src/__tests__/snapshots/sdf/heart.png +0 -0
- package/src/__tests__/snapshots/sdf/line.png +0 -0
- package/src/__tests__/snapshots/sdf/rectangle.png +0 -0
- package/src/__tests__/snapshots/shader/bilinear-interpolation.png +0 -0
- package/src/__tests__/snapshots/shader/hue.png +0 -0
- package/src/__tests__/snapshots/shader/hue2.png +0 -0
- package/src/__tests__/snapshots/shader/shader1.png +0 -0
- package/src/__tests__/snapshots/shader/shader2.png +0 -0
- package/src/__tests__/snapshots/shader/sweep-gradient.png +0 -0
- package/src/__tests__/snapshots/text/text-bounds-android.png +0 -0
- package/src/__tests__/snapshots/text/text-bounds-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-default-font-android.png +0 -0
- package/src/__tests__/snapshots/text/text-default-font-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path-bug-android.png +0 -0
- package/src/__tests__/snapshots/text/text-path-bug-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path-bug-node.png +0 -0
- package/src/__tests__/snapshots/text/text-path1-android.png +0 -0
- package/src/__tests__/snapshots/text/text-path1-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path1-node.png +0 -0
- package/src/__tests__/snapshots/text/text-path2-android.png +0 -0
- package/src/__tests__/snapshots/text/text-path2-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path2-node.png +0 -0
- package/src/__tests__/snapshots/transform/rectangles.png +0 -0
- package/src/__tests__/snapshots/transform/rotate-radiants.png +0 -0
- package/src/__tests__/snapshots/transform/rotate.png +0 -0
- package/src/__tests__/snapshots/transform/scale-origin.png +0 -0
- package/src/__tests__/snapshots/transform/scale.png +0 -0
- package/src/__tests__/snapshots/transform/skew.png +0 -0
- package/src/__tests__/snapshots/transparent.png +0 -0
- package/src/__tests__/snapshots/vertices/billinear-gradient.png +0 -0
- package/src/__tests__/snapshots/vertices/strip.png +0 -0
- package/src/__tests__/snapshots/vertices/vertices.png +0 -0
- package/src/dom/__tests__/Compose.spec.tsx +42 -0
- package/src/dom/__tests__/Demos.spec.tsx +145 -0
- package/src/dom/__tests__/DrawingContext.spec.tsx +99 -0
- package/src/dom/__tests__/Drawings.spec.tsx +95 -0
- package/src/dom/__tests__/Group.spec.tsx +132 -0
- package/src/dom/__tests__/Paint.spec.tsx +100 -0
- package/src/dom/__tests__/RenderNodes.spec.tsx +44 -0
- package/src/dom/__tests__/Shaders.spec.tsx +123 -0
- package/src/external/reanimated/buffers.ts +1 -1
- package/src/mock/index.ts +4 -0
- package/src/renderer/Container.tsx +1 -0
- package/src/renderer/HostConfig.ts +7 -3
- package/src/renderer/Reconciler.tsx +1 -0
- package/src/renderer/__tests__/Data.spec.tsx +67 -0
- package/src/renderer/__tests__/Drawings.spec.tsx +96 -0
- package/src/renderer/__tests__/FitBox.spec.tsx +126 -0
- package/src/renderer/__tests__/Glyphs.spec.tsx +46 -0
- package/src/renderer/__tests__/Image.spec.tsx +45 -0
- package/src/renderer/__tests__/Paths.spec.tsx +75 -0
- package/src/renderer/__tests__/Picture.spec.tsx +82 -0
- package/src/renderer/__tests__/Simple.spec.tsx +81 -0
- package/src/renderer/__tests__/SkiaDOM.spec.tsx +46 -0
- package/src/renderer/__tests__/Surfaces.spec.tsx +73 -0
- package/src/renderer/__tests__/Text.spec.tsx +134 -0
- package/src/renderer/__tests__/TouchHandler.spec.tsx +113 -0
- package/src/renderer/__tests__/Transform.spec.tsx +72 -0
- package/src/renderer/__tests__/documentation/Group.spec.tsx +171 -0
- package/src/renderer/__tests__/documentation/getting-started/HelloWorld.spec.tsx +51 -0
- package/src/renderer/__tests__/documentation/paint/Overview.spec.tsx +84 -0
- package/src/renderer/__tests__/documentation/shapes/Box.spec.tsx +46 -0
- package/src/renderer/__tests__/e2e/AnimatedImages.spec.tsx +88 -0
- package/src/renderer/__tests__/e2e/Atlas.spec.tsx +358 -0
- package/src/renderer/__tests__/e2e/BackdropFilters.spec.tsx +141 -0
- package/src/renderer/__tests__/e2e/Blending.spec.tsx +115 -0
- package/src/renderer/__tests__/e2e/Blur.spec.tsx +56 -0
- package/src/renderer/__tests__/e2e/Box.spec.tsx +83 -0
- package/src/renderer/__tests__/e2e/ColorFilters.spec.tsx +212 -0
- package/src/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.tsx +81 -0
- package/src/renderer/__tests__/e2e/CoonPatch.spec.tsx +74 -0
- package/src/renderer/__tests__/e2e/DataEncoding.spec.tsx +75 -0
- package/src/renderer/__tests__/e2e/Drawings.spec.tsx +209 -0
- package/src/renderer/__tests__/e2e/FontMgr.spec.tsx +150 -0
- package/src/renderer/__tests__/e2e/Gradient.spec.tsx +40 -0
- package/src/renderer/__tests__/e2e/Group.spec.tsx +129 -0
- package/src/renderer/__tests__/e2e/Image.spec.tsx +139 -0
- package/src/renderer/__tests__/e2e/ImageEncoding.spec.tsx +255 -0
- package/src/renderer/__tests__/e2e/ImageFilters.spec.tsx +230 -0
- package/src/renderer/__tests__/e2e/Mask.spec.tsx +85 -0
- package/src/renderer/__tests__/e2e/Matrix4.spec.tsx +275 -0
- package/src/renderer/__tests__/e2e/NativeBuffer.spec.tsx +156 -0
- package/src/renderer/__tests__/e2e/Offscreen.spec.tsx +109 -0
- package/src/renderer/__tests__/e2e/Opacity.spec.tsx +278 -0
- package/src/renderer/__tests__/e2e/Paint.spec.tsx +170 -0
- package/src/renderer/__tests__/e2e/ParagraphPaint.spec.tsx +262 -0
- package/src/renderer/__tests__/e2e/Paragraphs.spec.tsx +615 -0
- package/src/renderer/__tests__/e2e/PathEffects.spec.tsx +73 -0
- package/src/renderer/__tests__/e2e/Paths.spec.tsx +390 -0
- package/src/renderer/__tests__/e2e/Picture.spec.tsx +134 -0
- package/src/renderer/__tests__/e2e/Point.spec.tsx +35 -0
- package/src/renderer/__tests__/e2e/Rect.spec.tsx +139 -0
- package/src/renderer/__tests__/e2e/RuntimeShader.spec.tsx +324 -0
- package/src/renderer/__tests__/e2e/SDF.spec.tsx +148 -0
- package/src/renderer/__tests__/e2e/SVG.spec.tsx +191 -0
- package/src/renderer/__tests__/e2e/Shader.spec.tsx +260 -0
- package/src/renderer/__tests__/e2e/Snapshot.spec.tsx +29 -0
- package/src/renderer/__tests__/e2e/Surfaces.spec.tsx +17 -0
- package/src/renderer/__tests__/e2e/Text.spec.tsx +109 -0
- package/src/renderer/__tests__/e2e/TextPath.spec.tsx +45 -0
- package/src/renderer/__tests__/e2e/Transforms.spec.tsx +63 -0
- package/src/renderer/__tests__/e2e/Vertices.spec.tsx +30 -0
- package/src/renderer/__tests__/e2e/Video.ts +69 -0
- package/src/renderer/__tests__/e2e/setup/Paragraph.ts +56 -0
- package/src/renderer/__tests__/e2e/setup/SVG.ts +27 -0
- package/src/renderer/__tests__/e2e/setup/SkiaObject.ts +31 -0
- package/src/renderer/__tests__/e2e/setup/index.ts +3 -0
- package/src/renderer/__tests__/examples/BlendModes.spec.tsx +123 -0
- package/src/renderer/__tests__/setup.tsx +489 -0
- package/src/skia/__tests__/ColorFilter.spec.ts +67 -0
- package/src/skia/__tests__/Data.spec.ts +29 -0
- package/src/skia/__tests__/Drawings.spec.ts +119 -0
- package/src/skia/__tests__/Enums.spec.ts +114 -0
- package/src/skia/__tests__/Geometry.spec.ts +39 -0
- package/src/skia/__tests__/ImageFilter.spec.ts +19 -0
- package/src/skia/__tests__/Mock.spec.ts +7 -0
- package/src/skia/__tests__/Paint.spec.ts +25 -0
- package/src/skia/__tests__/Path.spec.ts +386 -0
- package/src/skia/__tests__/RuntimeEffect.spec.ts +66 -0
- package/src/skia/__tests__/Shader.spec.ts +96 -0
- package/src/skia/__tests__/Text.spec.ts +32 -0
- package/src/skia/__tests__/Transform.spec.ts +89 -0
- package/src/skia/__tests__/Vertices.spec.ts +40 -0
- package/src/skia/__tests__/assets/DIN-Medium.ttf +0 -0
- package/src/skia/__tests__/assets/NotoColorEmoji.ttf +0 -0
- package/src/skia/__tests__/assets/NotoSansSC-Regular.otf +0 -0
- package/src/skia/__tests__/assets/Pacifico-Regular.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-BlackItalic.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Bold.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Italic.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Medium.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Regular.ttf +0 -0
- package/src/skia/__tests__/assets/UberMove-Medium_mono.ttf +0 -0
- package/src/skia/__tests__/assets/bird.gif +0 -0
- package/src/skia/__tests__/assets/box.png +0 -0
- package/src/skia/__tests__/assets/box2.png +0 -0
- package/src/skia/__tests__/assets/card.png +0 -0
- package/src/skia/__tests__/assets/mask.png +0 -0
- package/src/skia/__tests__/assets/oslo.jpg +0 -0
- package/src/skia/__tests__/assets/product.png +0 -0
- package/src/skia/__tests__/assets/skia_logo.png +0 -0
- package/src/skia/__tests__/assets/skia_logo_jpeg.jpg +0 -0
- package/src/skia/__tests__/assets/tiger.svg +724 -0
- package/src/skia/__tests__/assets/zurich.jpg +0 -0
- package/src/skia/__tests__/setup.ts +77 -0
- package/src/skia/core/Picture.ts +2 -1
- package/src/skia/types/Matrix4.ts +2 -7
- package/src/skia/web/JsiSkCanvas.ts +26 -26
- package/src/skia/web/JsiSkNativeBufferFactory.ts +1 -5
- package/src/skia/web/JsiSkParagraphStyle.ts +2 -1
- package/src/views/SkiaDomView.tsx +0 -8
@@ -8,8 +8,8 @@ var _Host = require("./Host");
|
|
8
8
|
var _JsiSkShader = require("./JsiSkShader");
|
9
9
|
var _JsiSkMatrix = require("./JsiSkMatrix");
|
10
10
|
var _JsiSkRect = require("./JsiSkRect");
|
11
|
-
function _defineProperty(
|
12
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
11
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
13
13
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } // TODO: suggest to rename SkPicture to Picture for consistency
|
14
14
|
class JsiSkPicture extends _Host.HostObject {
|
15
15
|
constructor(CanvasKit, ref) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkShader","_JsiSkMatrix","_JsiSkRect","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkShader","_JsiSkMatrix","_JsiSkRect","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkPicture","HostObject","constructor","CanvasKit","ref","delete","makeShader","tmx","tmy","mode","localMatrix","tileRect","JsiSkShader","getEnum","TileMode","FilterMode","JsiSkMatrix","fromValue","undefined","JsiSkRect","serialize","exports"],"sources":["JsiSkPicture.ts"],"sourcesContent":["// TODO: suggest to rename SkPicture to Picture for consistency\nimport type { CanvasKit, SkPicture as Picture } from \"canvaskit-wasm\";\n\nimport type {\n FilterMode,\n SkRect,\n TileMode,\n SkPicture,\n SkMatrix,\n} from \"../types\";\n\nimport { HostObject, getEnum } from \"./Host\";\nimport { JsiSkShader } from \"./JsiSkShader\";\nimport { JsiSkMatrix } from \"./JsiSkMatrix\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkPicture\n extends HostObject<Picture, \"Picture\">\n implements SkPicture\n{\n constructor(CanvasKit: CanvasKit, ref: Picture) {\n super(CanvasKit, ref, \"Picture\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n\n makeShader(\n tmx: TileMode,\n tmy: TileMode,\n mode: FilterMode,\n localMatrix?: SkMatrix,\n tileRect?: SkRect\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.ref.makeShader(\n getEnum(this.CanvasKit.TileMode, tmx),\n getEnum(this.CanvasKit.TileMode, tmy),\n getEnum(this.CanvasKit.FilterMode, mode),\n localMatrix ? JsiSkMatrix.fromValue(localMatrix) : undefined,\n tileRect ? JsiSkRect.fromValue(this.CanvasKit, tileRect) : undefined\n )\n );\n }\n\n serialize() {\n return this.ref.serialize();\n }\n}\n"],"mappings":";;;;;;AAWA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAwC,SAAAI,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA,KAdxC;AAgBO,MAAMgB,YAAY,SACfC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAY,EAAE;IAC9C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,SAAS,CAAC;IAACvB,eAAA,kBAGzB,MAAM;MACd,IAAI,CAACuB,GAAG,CAACC,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;EAMAC,UAAUA,CACRC,GAAa,EACbC,GAAa,EACbC,IAAgB,EAChBC,WAAsB,EACtBC,QAAiB,EACjB;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACC,GAAG,CAACE,UAAU,CACjB,IAAAO,aAAO,EAAC,IAAI,CAACV,SAAS,CAACW,QAAQ,EAAEP,GAAG,CAAC,EACrC,IAAAM,aAAO,EAAC,IAAI,CAACV,SAAS,CAACW,QAAQ,EAAEN,GAAG,CAAC,EACrC,IAAAK,aAAO,EAAC,IAAI,CAACV,SAAS,CAACY,UAAU,EAAEN,IAAI,CAAC,EACxCC,WAAW,GAAGM,wBAAW,CAACC,SAAS,CAACP,WAAW,CAAC,GAAGQ,SAAS,EAC5DP,QAAQ,GAAGQ,oBAAS,CAACF,SAAS,CAAC,IAAI,CAACd,SAAS,EAAEQ,QAAQ,CAAC,GAAGO,SAC7D,CACF,CAAC;EACH;EAEAE,SAASA,CAAA,EAAG;IACV,OAAO,IAAI,CAAChB,GAAG,CAACgB,SAAS,CAAC,CAAC;EAC7B;AACF;AAACC,OAAA,CAAArB,YAAA,GAAAA,YAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkPicture","JsiSkPictureFactory","Host","constructor","CanvasKit","MakePicture","bytes","pic","JsiSkPicture","exports"],"sources":["JsiSkPictureFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { PictureFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkPicture } from \"./JsiSkPicture\";\n\nexport class JsiSkPictureFactory extends Host implements PictureFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakePicture(bytes: Uint8Array | ArrayBuffer) {\n const pic = this.CanvasKit.MakePicture(bytes);\n if (pic === null) {\n return null;\n }\n return new JsiSkPicture(this.CanvasKit, pic);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,mBAAmB,SAASC,UAAI,CAA2B;EACtEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,WAAWA,CAACC,KAA+B,EAAE;IAC3C,MAAMC,GAAG,GAAG,IAAI,CAACH,SAAS,CAACC,WAAW,CAACC,KAAK,CAAC;IAC7C,IAAIC,GAAG,KAAK,IAAI,EAAE;MAChB,OAAO,IAAI;IACb;IACA,OAAO,IAAIC,0BAAY,CAAC,IAAI,CAACJ,SAAS,EAAEG,GAAG,CAAC;EAC9C;AACF;AAACE,OAAA,CAAAR,mBAAA,GAAAA,mBAAA"}
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkPicture","JsiSkPictureFactory","Host","constructor","CanvasKit","MakePicture","bytes","pic","JsiSkPicture","exports"],"sources":["JsiSkPictureFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { PictureFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkPicture } from \"./JsiSkPicture\";\n\nexport class JsiSkPictureFactory extends Host implements PictureFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakePicture(bytes: Uint8Array | ArrayBuffer) {\n const pic = this.CanvasKit.MakePicture(bytes);\n if (pic === null) {\n return null;\n }\n return new JsiSkPicture(this.CanvasKit, pic);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,mBAAmB,SAASC,UAAI,CAA2B;EACtEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,WAAWA,CAACC,KAA+B,EAAE;IAC3C,MAAMC,GAAG,GAAG,IAAI,CAACH,SAAS,CAACC,WAAW,CAACC,KAAK,CAAC;IAC7C,IAAIC,GAAG,KAAK,IAAI,EAAE;MAChB,OAAO,IAAI;IACb;IACA,OAAO,IAAIC,0BAAY,CAAC,IAAI,CAACJ,SAAS,EAAEG,GAAG,CAAC;EAC9C;AACF;AAACE,OAAA,CAAAR,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
@@ -8,8 +8,8 @@ var _Host = require("./Host");
|
|
8
8
|
var _JsiSkCanvas = require("./JsiSkCanvas");
|
9
9
|
var _JsiSkPicture = require("./JsiSkPicture");
|
10
10
|
var _JsiSkRect = require("./JsiSkRect");
|
11
|
-
function _defineProperty(
|
12
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
11
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
13
13
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
14
14
|
class JsiSkPictureRecorder extends _Host.HostObject {
|
15
15
|
constructor(CanvasKit, ref) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkCanvas","_JsiSkPicture","_JsiSkRect","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkCanvas","_JsiSkPicture","_JsiSkRect","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkPictureRecorder","HostObject","constructor","CanvasKit","ref","delete","beginRecording","bounds","JsiSkCanvas","JsiSkRect","fromValue","Float32Array","of","finishRecordingAsPicture","JsiSkPicture","exports"],"sources":["JsiSkPictureRecorder.ts"],"sourcesContent":["import type { CanvasKit, PictureRecorder } from \"canvaskit-wasm\";\n\nimport type { SkRect } from \"../types\";\nimport type { SkPictureRecorder } from \"../types/Picture/PictureRecorder\";\n\nimport { HostObject } from \"./Host\";\nimport { JsiSkCanvas } from \"./JsiSkCanvas\";\nimport { JsiSkPicture } from \"./JsiSkPicture\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkPictureRecorder\n extends HostObject<PictureRecorder, \"PictureRecorder\">\n implements SkPictureRecorder\n{\n constructor(CanvasKit: CanvasKit, ref: PictureRecorder) {\n super(CanvasKit, ref, \"PictureRecorder\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n\n beginRecording(bounds?: SkRect) {\n return new JsiSkCanvas(\n this.CanvasKit,\n this.ref.beginRecording(\n bounds\n ? JsiSkRect.fromValue(this.CanvasKit, bounds)\n : Float32Array.of(0, 0, 2_000_000, 2_000_000)\n )\n );\n }\n\n finishRecordingAsPicture() {\n return new JsiSkPicture(\n this.CanvasKit,\n this.ref.finishRecordingAsPicture()\n );\n }\n}\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAwC,SAAAI,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEjC,MAAMgB,oBAAoB,SACvBC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAoB,EAAE;IACtD,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,iBAAiB,CAAC;IAACvB,eAAA,kBAGjC,MAAM;MACd,IAAI,CAACuB,GAAG,CAACC,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;EAMAC,cAAcA,CAACC,MAAe,EAAE;IAC9B,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACL,SAAS,EACd,IAAI,CAACC,GAAG,CAACE,cAAc,CACrBC,MAAM,GACFE,oBAAS,CAACC,SAAS,CAAC,IAAI,CAACP,SAAS,EAAEI,MAAM,CAAC,GAC3CI,YAAY,CAACC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,OAAS,EAAE,OAAS,CAChD,CACF,CAAC;EACH;EAEAC,wBAAwBA,CAAA,EAAG;IACzB,OAAO,IAAIC,0BAAY,CACrB,IAAI,CAACX,SAAS,EACd,IAAI,CAACC,GAAG,CAACS,wBAAwB,CAAC,CACpC,CAAC;EACH;AACF;AAACE,OAAA,CAAAf,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkPoint = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkPoint extends _Host.BaseHostObject {
|
12
12
|
static fromValue(point) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkPoint","BaseHostObject","fromValue","point","ref","Float32Array","x","y","constructor","CanvasKit","exports"],"sources":["JsiSkPoint.ts"],"sourcesContent":["import type { CanvasKit, Point } from \"canvaskit-wasm\";\n\nimport type { SkPoint } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\n\nexport class JsiSkPoint\n extends BaseHostObject<Point, \"Point\">\n implements SkPoint\n{\n static fromValue(point: SkPoint) {\n if (point instanceof JsiSkPoint) {\n return point.ref;\n }\n return new Float32Array([point.x, point.y]);\n }\n\n constructor(CanvasKit: CanvasKit, ref: Point) {\n super(CanvasKit, ref, \"Point\");\n }\n\n dispose = () => {\n // Float32Array\n };\n\n get x() {\n return this.ref[0];\n }\n\n get y() {\n return this.ref[1];\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAwC,SAAAC,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEjC,MAAMgB,UAAU,SACbC,oBAAc,CAExB;EACE,OAAOC,SAASA,CAACC,KAAc,EAAE;IAC/B,IAAIA,KAAK,YAAYH,UAAU,EAAE;MAC/B,OAAOG,KAAK,CAACC,GAAG;IAClB;IACA,OAAO,IAAIC,YAAY,CAAC,CAACF,KAAK,CAACG,CAAC,EAAEH,KAAK,CAACI,CAAC,CAAC,CAAC;EAC7C;EAEAC,WAAWA,CAACC,SAAoB,EAAEL,GAAU,EAAE;IAC5C,KAAK,CAACK,SAAS,EAAEL,GAAG,EAAE,OAAO,CAAC;IAACvB,eAAA,kBAGvB,MAAM;MACd;IAAA,CACD;EAJD;EAMA,IAAIyB,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIG,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC;EACpB;AACF;AAACM,OAAA,CAAAV,UAAA,GAAAA,UAAA","ignoreList":[]}
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.JsiSkRRect = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
8
|
var _JsiSkRect = require("./JsiSkRect");
|
9
|
-
function _defineProperty(
|
10
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
9
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
11
11
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
12
12
|
class JsiSkRRect extends _Host.BaseHostObject {
|
13
13
|
static fromValue(CanvasKit, rect) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkRect","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkRect","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkRRect","BaseHostObject","fromValue","CanvasKit","rect","JsiSkRect","ref","Float32Array","of","x","y","width","height","topLeft","topRight","bottomRight","bottomLeft","RRectXY","rx","ry","constructor","Infinity","scale","Math","min","exports"],"sources":["JsiSkRRect.ts"],"sourcesContent":["import type { CanvasKit, RRect } from \"canvaskit-wasm\";\n\nimport type { InputRRect, SkRect, SkRRect } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkRRect\n extends BaseHostObject<RRect, \"RRect\">\n implements SkRRect\n{\n dispose = () => {\n // Float32Array\n };\n\n static fromValue(CanvasKit: CanvasKit, rect: InputRRect) {\n if (rect instanceof JsiSkRect) {\n return rect.ref;\n }\n if (\n \"topLeft\" in rect &&\n \"topRight\" in rect &&\n \"bottomRight\" in rect &&\n \"bottomLeft\" in rect\n ) {\n return Float32Array.of(\n rect.rect.x,\n rect.rect.y,\n rect.rect.x + rect.rect.width,\n rect.rect.y + rect.rect.height,\n rect.topLeft.x,\n rect.topLeft.y,\n rect.topRight.x,\n rect.topRight.y,\n rect.bottomRight.x,\n rect.bottomRight.y,\n rect.bottomLeft.x,\n rect.bottomLeft.y\n );\n }\n return CanvasKit.RRectXY(\n JsiSkRect.fromValue(CanvasKit, rect.rect),\n rect.rx,\n rect.ry\n );\n }\n\n constructor(CanvasKit: CanvasKit, rect: SkRect, rx: number, ry: number) {\n // based on https://github.com/google/skia/blob/main/src/core/SkRRect.cpp#L51\n if (rx === Infinity || ry === Infinity) {\n rx = ry = 0;\n }\n if (rect.width < rx + rx || rect.height < ry + ry) {\n // At most one of these two divides will be by zero, and neither numerator is zero.\n const scale = Math.min(rect.width / (rx + rx), rect.height / (ry + ry));\n rx *= scale;\n ry *= scale;\n }\n const ref = CanvasKit.RRectXY(JsiSkRect.fromValue(CanvasKit, rect), rx, ry);\n super(CanvasKit, ref, \"RRect\");\n }\n\n get rx() {\n return this.ref[4];\n }\n\n get ry() {\n return this.ref[5];\n }\n\n get rect() {\n return new JsiSkRect(\n this.CanvasKit,\n Float32Array.of(this.ref[0], this.ref[1], this.ref[2], this.ref[3])\n );\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAAwC,SAAAE,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEjC,MAAMgB,UAAU,SACbC,oBAAc,CAExB;EAKE,OAAOC,SAASA,CAACC,SAAoB,EAAEC,IAAgB,EAAE;IACvD,IAAIA,IAAI,YAAYC,oBAAS,EAAE;MAC7B,OAAOD,IAAI,CAACE,GAAG;IACjB;IACA,IACE,SAAS,IAAIF,IAAI,IACjB,UAAU,IAAIA,IAAI,IAClB,aAAa,IAAIA,IAAI,IACrB,YAAY,IAAIA,IAAI,EACpB;MACA,OAAOG,YAAY,CAACC,EAAE,CACpBJ,IAAI,CAACA,IAAI,CAACK,CAAC,EACXL,IAAI,CAACA,IAAI,CAACM,CAAC,EACXN,IAAI,CAACA,IAAI,CAACK,CAAC,GAAGL,IAAI,CAACA,IAAI,CAACO,KAAK,EAC7BP,IAAI,CAACA,IAAI,CAACM,CAAC,GAAGN,IAAI,CAACA,IAAI,CAACQ,MAAM,EAC9BR,IAAI,CAACS,OAAO,CAACJ,CAAC,EACdL,IAAI,CAACS,OAAO,CAACH,CAAC,EACdN,IAAI,CAACU,QAAQ,CAACL,CAAC,EACfL,IAAI,CAACU,QAAQ,CAACJ,CAAC,EACfN,IAAI,CAACW,WAAW,CAACN,CAAC,EAClBL,IAAI,CAACW,WAAW,CAACL,CAAC,EAClBN,IAAI,CAACY,UAAU,CAACP,CAAC,EACjBL,IAAI,CAACY,UAAU,CAACN,CAClB,CAAC;IACH;IACA,OAAOP,SAAS,CAACc,OAAO,CACtBZ,oBAAS,CAACH,SAAS,CAACC,SAAS,EAAEC,IAAI,CAACA,IAAI,CAAC,EACzCA,IAAI,CAACc,EAAE,EACPd,IAAI,CAACe,EACP,CAAC;EACH;EAEAC,WAAWA,CAACjB,SAAoB,EAAEC,IAAY,EAAEc,EAAU,EAAEC,EAAU,EAAE;IACtE;IACA,IAAID,EAAE,KAAKG,QAAQ,IAAIF,EAAE,KAAKE,QAAQ,EAAE;MACtCH,EAAE,GAAGC,EAAE,GAAG,CAAC;IACb;IACA,IAAIf,IAAI,CAACO,KAAK,GAAGO,EAAE,GAAGA,EAAE,IAAId,IAAI,CAACQ,MAAM,GAAGO,EAAE,GAAGA,EAAE,EAAE;MACjD;MACA,MAAMG,KAAK,GAAGC,IAAI,CAACC,GAAG,CAACpB,IAAI,CAACO,KAAK,IAAIO,EAAE,GAAGA,EAAE,CAAC,EAAEd,IAAI,CAACQ,MAAM,IAAIO,EAAE,GAAGA,EAAE,CAAC,CAAC;MACvED,EAAE,IAAII,KAAK;MACXH,EAAE,IAAIG,KAAK;IACb;IACA,MAAMhB,GAAG,GAAGH,SAAS,CAACc,OAAO,CAACZ,oBAAS,CAACH,SAAS,CAACC,SAAS,EAAEC,IAAI,CAAC,EAAEc,EAAE,EAAEC,EAAE,CAAC;IAC3E,KAAK,CAAChB,SAAS,EAAEG,GAAG,EAAE,OAAO,CAAC;IAACzB,eAAA,kBAhDvB,MAAM;MACd;IAAA,CACD;EA+CD;EAEA,IAAIqC,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACZ,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIa,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACb,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIF,IAAIA,CAAA,EAAG;IACT,OAAO,IAAIC,oBAAS,CAClB,IAAI,CAACF,SAAS,EACdI,YAAY,CAACC,EAAE,CAAC,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC,CACpE,CAAC;EACH;AACF;AAACmB,OAAA,CAAAzB,UAAA,GAAAA,UAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkRSXform = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkRSXform extends _Host.BaseHostObject {
|
12
12
|
static fromValue(rsxform) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkRSXform","BaseHostObject","fromValue","rsxform","ref","Float32Array","of","scos","ssin","tx","ty","constructor","CanvasKit","set","exports"],"sources":["JsiSkRSXform.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkRSXform } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\n\nexport type RSXform = Float32Array;\n\nexport class JsiSkRSXform\n extends BaseHostObject<RSXform, \"RSXform\">\n implements SkRSXform\n{\n static fromValue(rsxform: SkRSXform) {\n if (rsxform instanceof JsiSkRSXform) {\n return rsxform.ref;\n }\n return Float32Array.of(rsxform.scos, rsxform.ssin, rsxform.tx, rsxform.ty);\n }\n\n constructor(CanvasKit: CanvasKit, ref: RSXform) {\n super(CanvasKit, ref, \"RSXform\");\n }\n set(scos: number, ssin: number, tx: number, ty: number) {\n this.ref[0] = scos;\n this.ref[1] = ssin;\n this.ref[2] = tx;\n this.ref[3] = ty;\n }\n get scos() {\n return this.ref[0];\n }\n get ssin() {\n return this.ref[1];\n }\n get tx() {\n return this.ref[2];\n }\n get ty() {\n return this.ref[3];\n }\n dispose = () => {\n // nothing to do here, RSXform is a Float32Array\n };\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAwC,SAAAC,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAIjC,MAAMgB,YAAY,SACfC,oBAAc,CAExB;EACE,OAAOC,SAASA,CAACC,OAAkB,EAAE;IACnC,IAAIA,OAAO,YAAYH,YAAY,EAAE;MACnC,OAAOG,OAAO,CAACC,GAAG;IACpB;IACA,OAAOC,YAAY,CAACC,EAAE,CAACH,OAAO,CAACI,IAAI,EAAEJ,OAAO,CAACK,IAAI,EAAEL,OAAO,CAACM,EAAE,EAAEN,OAAO,CAACO,EAAE,CAAC;EAC5E;EAEAC,WAAWA,CAACC,SAAoB,EAAER,GAAY,EAAE;IAC9C,KAAK,CAACQ,SAAS,EAAER,GAAG,EAAE,SAAS,CAAC;IAACvB,eAAA,kBAoBzB,MAAM;MACd;IAAA,CACD;EArBD;EACAgC,GAAGA,CAACN,IAAY,EAAEC,IAAY,EAAEC,EAAU,EAAEC,EAAU,EAAE;IACtD,IAAI,CAACN,GAAG,CAAC,CAAC,CAAC,GAAGG,IAAI;IAClB,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC,GAAGI,IAAI;IAClB,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC,GAAGK,EAAE;IAChB,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC,GAAGM,EAAE;EAClB;EACA,IAAIH,IAAIA,CAAA,EAAG;IACT,OAAO,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC;EACpB;EACA,IAAII,IAAIA,CAAA,EAAG;IACT,OAAO,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC;EACpB;EACA,IAAIK,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC;EACpB;EACA,IAAIM,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACN,GAAG,CAAC,CAAC,CAAC;EACpB;AAIF;AAACU,OAAA,CAAAd,YAAA,GAAAA,YAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkRect = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkRect extends _Host.BaseHostObject {
|
12
12
|
static fromValue(CanvasKit, rect) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkRect","BaseHostObject","fromValue","CanvasKit","rect","ref","XYWHRect","x","y","width","height","constructor","setXYWH","exports"],"sources":["JsiSkRect.ts"],"sourcesContent":["import type { CanvasKit, Rect } from \"canvaskit-wasm\";\n\nimport type { SkHostRect, SkRect } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\n\nexport class JsiSkRect\n extends BaseHostObject<Rect, \"Rect\">\n implements SkHostRect\n{\n static fromValue(CanvasKit: CanvasKit, rect: SkRect) {\n if (rect instanceof JsiSkRect) {\n return rect.ref;\n }\n return CanvasKit.XYWHRect(rect.x, rect.y, rect.width, rect.height);\n }\n\n dispose = () => {\n // Float32Array\n };\n\n constructor(CanvasKit: CanvasKit, ref: Rect) {\n super(CanvasKit, ref, \"Rect\");\n }\n\n setXYWH(x: number, y: number, width: number, height: number): void {\n this.ref[0] = x;\n this.ref[1] = y;\n this.ref[2] = x + width;\n this.ref[3] = y + height;\n }\n\n get x() {\n return this.ref[0];\n }\n\n get y() {\n return this.ref[1];\n }\n\n get width() {\n return this.ref[2] - this.ref[0];\n }\n\n get height() {\n return this.ref[3] - this.ref[1];\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAwC,SAAAC,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEjC,MAAMgB,SAAS,SACZC,oBAAc,CAExB;EACE,OAAOC,SAASA,CAACC,SAAoB,EAAEC,IAAY,EAAE;IACnD,IAAIA,IAAI,YAAYJ,SAAS,EAAE;MAC7B,OAAOI,IAAI,CAACC,GAAG;IACjB;IACA,OAAOF,SAAS,CAACG,QAAQ,CAACF,IAAI,CAACG,CAAC,EAAEH,IAAI,CAACI,CAAC,EAAEJ,IAAI,CAACK,KAAK,EAAEL,IAAI,CAACM,MAAM,CAAC;EACpE;EAMAC,WAAWA,CAACR,SAAoB,EAAEE,GAAS,EAAE;IAC3C,KAAK,CAACF,SAAS,EAAEE,GAAG,EAAE,MAAM,CAAC;IAACxB,eAAA,kBALtB,MAAM;MACd;IAAA,CACD;EAID;EAEA+B,OAAOA,CAACL,CAAS,EAAEC,CAAS,EAAEC,KAAa,EAAEC,MAAc,EAAQ;IACjE,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC,GAAGE,CAAC;IACf,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC,GAAGG,CAAC;IACf,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC,GAAGE,CAAC,GAAGE,KAAK;IACvB,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC,GAAGG,CAAC,GAAGE,MAAM;EAC1B;EAEA,IAAIH,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIG,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAII,KAAKA,CAAA,EAAG;IACV,OAAO,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC;EAClC;EAEA,IAAIK,MAAMA,CAAA,EAAG;IACX,OAAO,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC;EAClC;AACF;AAACQ,OAAA,CAAAb,SAAA,GAAAA,SAAA","ignoreList":[]}
|
@@ -7,8 +7,8 @@ exports.JsiSkRuntimeEffect = void 0;
|
|
7
7
|
var _Host = require("./Host");
|
8
8
|
var _JsiSkMatrix = require("./JsiSkMatrix");
|
9
9
|
var _JsiSkShader = require("./JsiSkShader");
|
10
|
-
function _defineProperty(
|
11
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
10
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
12
12
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
13
13
|
class JsiSkRuntimeEffect extends _Host.HostObject {
|
14
14
|
constructor(CanvasKit, ref, sksl) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkMatrix","_JsiSkShader","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkMatrix","_JsiSkShader","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkRuntimeEffect","HostObject","constructor","CanvasKit","ref","sksl","delete","source","makeShader","uniforms","localMatrix","JsiSkShader","undefined","JsiSkMatrix","fromValue","makeShaderWithChildren","children","map","child","getUniform","index","getUniformCount","getUniformFloatCount","getUniformName","exports"],"sources":["JsiSkRuntimeEffect.ts"],"sourcesContent":["import type { CanvasKit, RuntimeEffect } from \"canvaskit-wasm\";\n\nimport type { SkMatrix, SkShader } from \"../types\";\nimport type { SkRuntimeEffect } from \"../types/RuntimeEffect/RuntimeEffect\";\n\nimport { HostObject } from \"./Host\";\nimport { JsiSkMatrix } from \"./JsiSkMatrix\";\nimport { JsiSkShader } from \"./JsiSkShader\";\n\nexport class JsiSkRuntimeEffect\n extends HostObject<RuntimeEffect, \"RuntimeEffect\">\n implements SkRuntimeEffect\n{\n constructor(CanvasKit: CanvasKit, ref: RuntimeEffect, private sksl: string) {\n super(CanvasKit, ref, \"RuntimeEffect\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n\n source() {\n return this.sksl;\n }\n\n makeShader(uniforms: number[], localMatrix?: SkMatrix) {\n return new JsiSkShader(\n this.CanvasKit,\n this.ref.makeShader(\n uniforms,\n localMatrix !== undefined\n ? JsiSkMatrix.fromValue(localMatrix)\n : localMatrix\n )\n );\n }\n\n makeShaderWithChildren(\n uniforms: number[],\n children?: SkShader[],\n localMatrix?: SkMatrix\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.ref.makeShaderWithChildren(\n uniforms,\n children?.map((child) => JsiSkShader.fromValue(child)),\n localMatrix !== undefined\n ? JsiSkMatrix.fromValue(localMatrix)\n : localMatrix\n )\n );\n }\n\n getUniform(index: number) {\n return this.ref.getUniform(index);\n }\n\n getUniformCount() {\n return this.ref.getUniformCount();\n }\n\n getUniformFloatCount() {\n return this.ref.getUniformFloatCount();\n }\n\n getUniformName(index: number) {\n return this.ref.getUniformName(index);\n }\n}\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAA4C,SAAAG,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAErC,MAAMgB,kBAAkB,SACrBC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAkB,EAAUC,IAAY,EAAE;IAC1E,KAAK,CAACF,SAAS,EAAEC,GAAG,EAAE,eAAe,CAAC;IAAC,KADqBC,IAAY,GAAZA,IAAY;IAAAxB,eAAA,kBAIhE,MAAM;MACd,IAAI,CAACuB,GAAG,CAACE,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;EAMAC,MAAMA,CAAA,EAAG;IACP,OAAO,IAAI,CAACF,IAAI;EAClB;EAEAG,UAAUA,CAACC,QAAkB,EAAEC,WAAsB,EAAE;IACrD,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACR,SAAS,EACd,IAAI,CAACC,GAAG,CAACI,UAAU,CACjBC,QAAQ,EACRC,WAAW,KAAKE,SAAS,GACrBC,wBAAW,CAACC,SAAS,CAACJ,WAAW,CAAC,GAClCA,WACN,CACF,CAAC;EACH;EAEAK,sBAAsBA,CACpBN,QAAkB,EAClBO,QAAqB,EACrBN,WAAsB,EACtB;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACR,SAAS,EACd,IAAI,CAACC,GAAG,CAACW,sBAAsB,CAC7BN,QAAQ,EACRO,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEC,GAAG,CAAEC,KAAK,IAAKP,wBAAW,CAACG,SAAS,CAACI,KAAK,CAAC,CAAC,EACtDR,WAAW,KAAKE,SAAS,GACrBC,wBAAW,CAACC,SAAS,CAACJ,WAAW,CAAC,GAClCA,WACN,CACF,CAAC;EACH;EAEAS,UAAUA,CAACC,KAAa,EAAE;IACxB,OAAO,IAAI,CAAChB,GAAG,CAACe,UAAU,CAACC,KAAK,CAAC;EACnC;EAEAC,eAAeA,CAAA,EAAG;IAChB,OAAO,IAAI,CAACjB,GAAG,CAACiB,eAAe,CAAC,CAAC;EACnC;EAEAC,oBAAoBA,CAAA,EAAG;IACrB,OAAO,IAAI,CAAClB,GAAG,CAACkB,oBAAoB,CAAC,CAAC;EACxC;EAEAC,cAAcA,CAACH,KAAa,EAAE;IAC5B,OAAO,IAAI,CAAChB,GAAG,CAACmB,cAAc,CAACH,KAAK,CAAC;EACvC;AACF;AAACI,OAAA,CAAAxB,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkRuntimeEffect","JsiSkRuntimeEffectFactory","Host","constructor","CanvasKit","Make","sksl","re","RuntimeEffect","JsiSkRuntimeEffect","exports"],"sources":["JsiSkRuntimeEffectFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { RuntimeEffectFactory } from \"../types/RuntimeEffect/RuntimeEffectFactory\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkRuntimeEffect } from \"./JsiSkRuntimeEffect\";\n\nexport class JsiSkRuntimeEffectFactory\n extends Host\n implements RuntimeEffectFactory\n{\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make(sksl: string) {\n const re = this.CanvasKit.RuntimeEffect.Make(sksl);\n if (re === null) {\n return null;\n }\n return new JsiSkRuntimeEffect(this.CanvasKit, re, sksl);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AAEO,MAAME,yBAAyB,SAC5BC,UAAI,CAEd;EACEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAACC,IAAY,EAAE;IACjB,MAAMC,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,aAAa,CAACH,IAAI,CAACC,IAAI,CAAC;IAClD,IAAIC,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIE,sCAAkB,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,EAAED,IAAI,CAAC;EACzD;AACF;AAACI,OAAA,CAAAT,yBAAA,GAAAA,yBAAA"}
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkRuntimeEffect","JsiSkRuntimeEffectFactory","Host","constructor","CanvasKit","Make","sksl","re","RuntimeEffect","JsiSkRuntimeEffect","exports"],"sources":["JsiSkRuntimeEffectFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { RuntimeEffectFactory } from \"../types/RuntimeEffect/RuntimeEffectFactory\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkRuntimeEffect } from \"./JsiSkRuntimeEffect\";\n\nexport class JsiSkRuntimeEffectFactory\n extends Host\n implements RuntimeEffectFactory\n{\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make(sksl: string) {\n const re = this.CanvasKit.RuntimeEffect.Make(sksl);\n if (re === null) {\n return null;\n }\n return new JsiSkRuntimeEffect(this.CanvasKit, re, sksl);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AAEO,MAAME,yBAAyB,SAC5BC,UAAI,CAEd;EACEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAACC,IAAY,EAAE;IACjB,MAAMC,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,aAAa,CAACH,IAAI,CAACC,IAAI,CAAC;IAClD,IAAIC,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIE,sCAAkB,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,EAAED,IAAI,CAAC;EACzD;AACF;AAACI,OAAA,CAAAT,yBAAA,GAAAA,yBAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkSVG = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkSVG extends _Host.HostObject {
|
12
12
|
constructor(CanvasKit, ref) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkSVG","HostObject","constructor","CanvasKit","ref","parentNode","removeChild","width","height","exports"],"sources":["JsiSkSVG.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkSVG } from \"../types\";\n\nimport { HostObject } from \"./Host\";\n\nexport class JsiSkSVG\n extends HostObject<HTMLImageElement, \"SVG\">\n implements SkSVG\n{\n constructor(CanvasKit: CanvasKit, ref: HTMLImageElement) {\n super(CanvasKit, ref, \"SVG\");\n }\n\n width(): number {\n return this.ref.width;\n }\n height(): number {\n return this.ref.height;\n }\n\n dispose = () => {\n if (this.ref.parentNode) {\n this.ref.parentNode.removeChild(this.ref);\n }\n };\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAoC,SAAAC,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAE7B,MAAMgB,QAAQ,SACXC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAqB,EAAE;IACvD,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,KAAK,CAAC;IAACvB,eAAA,kBAUrB,MAAM;MACd,IAAI,IAAI,CAACuB,GAAG,CAACC,UAAU,EAAE;QACvB,IAAI,CAACD,GAAG,CAACC,UAAU,CAACC,WAAW,CAAC,IAAI,CAACF,GAAG,CAAC;MAC3C;IACF,CAAC;EAbD;EAEAG,KAAKA,CAAA,EAAW;IACd,OAAO,IAAI,CAACH,GAAG,CAACG,KAAK;EACvB;EACAC,MAAMA,CAAA,EAAW;IACf,OAAO,IAAI,CAACJ,GAAG,CAACI,MAAM;EACxB;AAOF;AAACC,OAAA,CAAAT,QAAA,GAAAA,QAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkSVG","JsiSkSVGFactory","Host","constructor","CanvasKit","MakeFromData","data","decoder","TextDecoder","str","decode","ref","MakeFromString","parser","DOMParser","svgDoc","parseFromString","svgElement","documentElement","attrWidth","getAttribute","attrHeight","width","parseFloat","height","svgDataUrl","encodeURIComponent","img","Image","src","style","display","alt","viewBox","viewBoxValues","split","length","onerror","e","console","error","document","body","appendChild","JsiSkSVG","exports"],"sources":["JsiSkSVGFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkSVG } from \"../types\";\nimport type { SVGFactory } from \"../types/SVG/SVGFactory\";\n\nimport { Host } from \"./Host\";\nimport type { JsiSkData } from \"./JsiSkData\";\nimport { JsiSkSVG } from \"./JsiSkSVG\";\n\nexport class JsiSkSVGFactory extends Host implements SVGFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeFromData(data: JsiSkData): SkSVG | null {\n const decoder = new TextDecoder(\"utf-8\");\n const str = decoder.decode(data.ref);\n return this.MakeFromString(str);\n }\n\n MakeFromString(str: string): SkSVG | null {\n const parser = new DOMParser();\n const svgDoc = parser.parseFromString(str, \"image/svg+xml\");\n const svgElement = svgDoc.documentElement;\n\n const attrWidth = svgElement.getAttribute(\"width\");\n const attrHeight = svgElement.getAttribute(\"height\");\n let width = attrWidth ? parseFloat(attrWidth) : null;\n let height = attrHeight ? parseFloat(attrHeight) : null;\n\n const svgDataUrl =\n \"data:image/svg+xml;charset=utf-8,\" + encodeURIComponent(str);\n // Create a new HTMLImageElement\n const img = new Image();\n img.src = svgDataUrl;\n\n // Optionally set styles or attributes on the image\n img.style.display = \"none\";\n img.alt = \"SVG Image\";\n if (!width || !height) {\n const viewBox = svgElement.getAttribute(\"viewBox\");\n if (viewBox) {\n const viewBoxValues = viewBox.split(\" \");\n if (viewBoxValues.length === 4) {\n width = width || parseFloat(viewBoxValues[2]);\n height = height || parseFloat(viewBoxValues[3]);\n }\n }\n }\n if (width && height) {\n img.width = width;\n img.height = height;\n }\n\n img.onerror = (e) => {\n console.error(\"SVG failed to load\", e);\n };\n document.body.appendChild(img);\n return new JsiSkSVG(this.CanvasKit, img);\n }\n}\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AAEO,MAAME,eAAe,SAASC,UAAI,CAAuB;EAC9DC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,YAAYA,CAACC,IAAe,EAAgB;IAC1C,MAAMC,OAAO,GAAG,IAAIC,WAAW,CAAC,OAAO,CAAC;IACxC,MAAMC,GAAG,GAAGF,OAAO,CAACG,MAAM,CAACJ,IAAI,CAACK,GAAG,CAAC;IACpC,OAAO,IAAI,CAACC,cAAc,CAACH,GAAG,CAAC;EACjC;EAEAG,cAAcA,CAACH,GAAW,EAAgB;IACxC,MAAMI,MAAM,GAAG,IAAIC,SAAS,CAAC,CAAC;IAC9B,MAAMC,MAAM,GAAGF,MAAM,CAACG,eAAe,CAACP,GAAG,EAAE,eAAe,CAAC;IAC3D,MAAMQ,UAAU,GAAGF,MAAM,CAACG,eAAe;IAEzC,MAAMC,SAAS,GAAGF,UAAU,CAACG,YAAY,CAAC,OAAO,CAAC;IAClD,MAAMC,UAAU,GAAGJ,UAAU,CAACG,YAAY,CAAC,QAAQ,CAAC;IACpD,IAAIE,KAAK,GAAGH,SAAS,GAAGI,UAAU,CAACJ,SAAS,CAAC,GAAG,IAAI;IACpD,IAAIK,MAAM,GAAGH,UAAU,GAAGE,UAAU,CAACF,UAAU,CAAC,GAAG,IAAI;IAEvD,MAAMI,UAAU,GACd,mCAAmC,GAAGC,kBAAkB,CAACjB,GAAG,CAAC;IAC/D;IACA,MAAMkB,GAAG,GAAG,IAAIC,KAAK,CAAC,CAAC;IACvBD,GAAG,CAACE,GAAG,GAAGJ,UAAU;;IAEpB;IACAE,GAAG,CAACG,KAAK,CAACC,OAAO,GAAG,MAAM;IAC1BJ,GAAG,CAACK,GAAG,GAAG,WAAW;IACrB,IAAI,CAACV,KAAK,IAAI,CAACE,MAAM,EAAE;MACrB,MAAMS,OAAO,GAAGhB,UAAU,CAACG,YAAY,CAAC,SAAS,CAAC;MAClD,IAAIa,OAAO,EAAE;QACX,MAAMC,aAAa,GAAGD,OAAO,CAACE,KAAK,CAAC,GAAG,CAAC;QACxC,IAAID,aAAa,CAACE,MAAM,KAAK,CAAC,EAAE;UAC9Bd,KAAK,GAAGA,KAAK,IAAIC,UAAU,CAACW,aAAa,CAAC,CAAC,CAAC,CAAC;UAC7CV,MAAM,GAAGA,MAAM,IAAID,UAAU,CAACW,aAAa,CAAC,CAAC,CAAC,CAAC;QACjD;MACF;IACF;IACA,IAAIZ,KAAK,IAAIE,MAAM,EAAE;MACnBG,GAAG,CAACL,KAAK,GAAGA,KAAK;MACjBK,GAAG,CAACH,MAAM,GAAGA,MAAM;IACrB;IAEAG,GAAG,CAACU,OAAO,GAAIC,CAAC,IAAK;MACnBC,OAAO,CAACC,KAAK,CAAC,oBAAoB,EAAEF,CAAC,CAAC;IACxC,CAAC;IACDG,QAAQ,CAACC,IAAI,CAACC,WAAW,CAAChB,GAAG,CAAC;IAC9B,OAAO,IAAIiB,kBAAQ,CAAC,IAAI,CAACxC,SAAS,EAAEuB,GAAG,CAAC;EAC1C;AACF;AAACkB,OAAA,CAAA5C,eAAA,GAAAA,eAAA"}
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkSVG","JsiSkSVGFactory","Host","constructor","CanvasKit","MakeFromData","data","decoder","TextDecoder","str","decode","ref","MakeFromString","parser","DOMParser","svgDoc","parseFromString","svgElement","documentElement","attrWidth","getAttribute","attrHeight","width","parseFloat","height","svgDataUrl","encodeURIComponent","img","Image","src","style","display","alt","viewBox","viewBoxValues","split","length","onerror","e","console","error","document","body","appendChild","JsiSkSVG","exports"],"sources":["JsiSkSVGFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkSVG } from \"../types\";\nimport type { SVGFactory } from \"../types/SVG/SVGFactory\";\n\nimport { Host } from \"./Host\";\nimport type { JsiSkData } from \"./JsiSkData\";\nimport { JsiSkSVG } from \"./JsiSkSVG\";\n\nexport class JsiSkSVGFactory extends Host implements SVGFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeFromData(data: JsiSkData): SkSVG | null {\n const decoder = new TextDecoder(\"utf-8\");\n const str = decoder.decode(data.ref);\n return this.MakeFromString(str);\n }\n\n MakeFromString(str: string): SkSVG | null {\n const parser = new DOMParser();\n const svgDoc = parser.parseFromString(str, \"image/svg+xml\");\n const svgElement = svgDoc.documentElement;\n\n const attrWidth = svgElement.getAttribute(\"width\");\n const attrHeight = svgElement.getAttribute(\"height\");\n let width = attrWidth ? parseFloat(attrWidth) : null;\n let height = attrHeight ? parseFloat(attrHeight) : null;\n\n const svgDataUrl =\n \"data:image/svg+xml;charset=utf-8,\" + encodeURIComponent(str);\n // Create a new HTMLImageElement\n const img = new Image();\n img.src = svgDataUrl;\n\n // Optionally set styles or attributes on the image\n img.style.display = \"none\";\n img.alt = \"SVG Image\";\n if (!width || !height) {\n const viewBox = svgElement.getAttribute(\"viewBox\");\n if (viewBox) {\n const viewBoxValues = viewBox.split(\" \");\n if (viewBoxValues.length === 4) {\n width = width || parseFloat(viewBoxValues[2]);\n height = height || parseFloat(viewBoxValues[3]);\n }\n }\n }\n if (width && height) {\n img.width = width;\n img.height = height;\n }\n\n img.onerror = (e) => {\n console.error(\"SVG failed to load\", e);\n };\n document.body.appendChild(img);\n return new JsiSkSVG(this.CanvasKit, img);\n }\n}\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AAEO,MAAME,eAAe,SAASC,UAAI,CAAuB;EAC9DC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,YAAYA,CAACC,IAAe,EAAgB;IAC1C,MAAMC,OAAO,GAAG,IAAIC,WAAW,CAAC,OAAO,CAAC;IACxC,MAAMC,GAAG,GAAGF,OAAO,CAACG,MAAM,CAACJ,IAAI,CAACK,GAAG,CAAC;IACpC,OAAO,IAAI,CAACC,cAAc,CAACH,GAAG,CAAC;EACjC;EAEAG,cAAcA,CAACH,GAAW,EAAgB;IACxC,MAAMI,MAAM,GAAG,IAAIC,SAAS,CAAC,CAAC;IAC9B,MAAMC,MAAM,GAAGF,MAAM,CAACG,eAAe,CAACP,GAAG,EAAE,eAAe,CAAC;IAC3D,MAAMQ,UAAU,GAAGF,MAAM,CAACG,eAAe;IAEzC,MAAMC,SAAS,GAAGF,UAAU,CAACG,YAAY,CAAC,OAAO,CAAC;IAClD,MAAMC,UAAU,GAAGJ,UAAU,CAACG,YAAY,CAAC,QAAQ,CAAC;IACpD,IAAIE,KAAK,GAAGH,SAAS,GAAGI,UAAU,CAACJ,SAAS,CAAC,GAAG,IAAI;IACpD,IAAIK,MAAM,GAAGH,UAAU,GAAGE,UAAU,CAACF,UAAU,CAAC,GAAG,IAAI;IAEvD,MAAMI,UAAU,GACd,mCAAmC,GAAGC,kBAAkB,CAACjB,GAAG,CAAC;IAC/D;IACA,MAAMkB,GAAG,GAAG,IAAIC,KAAK,CAAC,CAAC;IACvBD,GAAG,CAACE,GAAG,GAAGJ,UAAU;;IAEpB;IACAE,GAAG,CAACG,KAAK,CAACC,OAAO,GAAG,MAAM;IAC1BJ,GAAG,CAACK,GAAG,GAAG,WAAW;IACrB,IAAI,CAACV,KAAK,IAAI,CAACE,MAAM,EAAE;MACrB,MAAMS,OAAO,GAAGhB,UAAU,CAACG,YAAY,CAAC,SAAS,CAAC;MAClD,IAAIa,OAAO,EAAE;QACX,MAAMC,aAAa,GAAGD,OAAO,CAACE,KAAK,CAAC,GAAG,CAAC;QACxC,IAAID,aAAa,CAACE,MAAM,KAAK,CAAC,EAAE;UAC9Bd,KAAK,GAAGA,KAAK,IAAIC,UAAU,CAACW,aAAa,CAAC,CAAC,CAAC,CAAC;UAC7CV,MAAM,GAAGA,MAAM,IAAID,UAAU,CAACW,aAAa,CAAC,CAAC,CAAC,CAAC;QACjD;MACF;IACF;IACA,IAAIZ,KAAK,IAAIE,MAAM,EAAE;MACnBG,GAAG,CAACL,KAAK,GAAGA,KAAK;MACjBK,GAAG,CAACH,MAAM,GAAGA,MAAM;IACrB;IAEAG,GAAG,CAACU,OAAO,GAAIC,CAAC,IAAK;MACnBC,OAAO,CAACC,KAAK,CAAC,oBAAoB,EAAEF,CAAC,CAAC;IACxC,CAAC;IACDG,QAAQ,CAACC,IAAI,CAACC,WAAW,CAAChB,GAAG,CAAC;IAC9B,OAAO,IAAIiB,kBAAQ,CAAC,IAAI,CAACxC,SAAS,EAAEuB,GAAG,CAAC;EAC1C;AACF;AAACkB,OAAA,CAAA5C,eAAA,GAAAA,eAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkShader = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkShader extends _Host.HostObject {
|
12
12
|
constructor(CanvasKit, ref) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkShader","HostObject","constructor","CanvasKit","ref","delete","exports"],"sources":["JsiSkShader.ts"],"sourcesContent":["import type { CanvasKit, Shader } from \"canvaskit-wasm\";\n\nimport type { SkShader } from \"../types\";\n\nimport { HostObject } from \"./Host\";\n\nexport class JsiSkShader\n extends HostObject<Shader, \"Shader\">\n implements SkShader\n{\n constructor(CanvasKit: CanvasKit, ref: Shader) {\n super(CanvasKit, ref, \"Shader\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAoC,SAAAC,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAE7B,MAAMgB,WAAW,SACdC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAW,EAAE;IAC7C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,QAAQ,CAAC;IAACvB,eAAA,kBAGxB,MAAM;MACd,IAAI,CAACuB,GAAG,CAACC,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;AAKF;AAACC,OAAA,CAAAN,WAAA,GAAAA,WAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkMatrix","_JsiSkPoint","_JsiSkShader","JsiSkShaderFactory","Host","constructor","CanvasKit","MakeLinearGradient","start","end","colors","pos","mode","localMatrix","flags","JsiSkShader","Shader","JsiSkPoint","fromValue","getEnum","TileMode","undefined","JsiSkMatrix","MakeRadialGradient","center","radius","MakeTwoPointConicalGradient","startRadius","endRadius","MakeSweepGradient","cx","cy","startAngleInDegrees","endAngleInDegrees","MakeTurbulence","baseFreqX","baseFreqY","octaves","seed","tileW","tileH","MakeFractalNoise","MakeBlend","one","two","BlendMode","MakeColor","color","ColorSpace","SRGB","exports"],"sources":["JsiSkShaderFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type {\n BlendMode,\n SkColor,\n SkMatrix,\n SkPoint,\n SkShader,\n TileMode,\n} from \"../types\";\nimport type { ShaderFactory } from \"../types/Shader/ShaderFactory\";\n\nimport { Host, getEnum } from \"./Host\";\nimport { JsiSkMatrix } from \"./JsiSkMatrix\";\nimport { JsiSkPoint } from \"./JsiSkPoint\";\nimport { JsiSkShader } from \"./JsiSkShader\";\n\nexport class JsiSkShaderFactory extends Host implements ShaderFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeLinearGradient(\n start: SkPoint,\n end: SkPoint,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix,\n flags?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeLinearGradient(\n JsiSkPoint.fromValue(start),\n JsiSkPoint.fromValue(end),\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags\n )\n );\n }\n\n MakeRadialGradient(\n center: SkPoint,\n radius: number,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix,\n flags?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeRadialGradient(\n JsiSkPoint.fromValue(center),\n radius,\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags\n )\n );\n }\n\n MakeTwoPointConicalGradient(\n start: SkPoint,\n startRadius: number,\n end: SkPoint,\n endRadius: number,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix,\n flags?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeTwoPointConicalGradient(\n JsiSkPoint.fromValue(start),\n startRadius,\n JsiSkPoint.fromValue(end),\n endRadius,\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags\n )\n );\n }\n\n MakeSweepGradient(\n cx: number,\n cy: number,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix | null,\n flags?: number,\n startAngleInDegrees?: number,\n endAngleInDegrees?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeSweepGradient(\n cx,\n cy,\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined || localMatrix === null\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags,\n startAngleInDegrees,\n endAngleInDegrees\n )\n );\n }\n\n MakeTurbulence(\n baseFreqX: number,\n baseFreqY: number,\n octaves: number,\n seed: number,\n tileW: number,\n tileH: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeTurbulence(\n baseFreqX,\n baseFreqY,\n octaves,\n seed,\n tileW,\n tileH\n )\n );\n }\n\n MakeFractalNoise(\n baseFreqX: number,\n baseFreqY: number,\n octaves: number,\n seed: number,\n tileW: number,\n tileH: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeFractalNoise(\n baseFreqX,\n baseFreqY,\n octaves,\n seed,\n tileW,\n tileH\n )\n );\n }\n\n MakeBlend(mode: BlendMode, one: SkShader, two: SkShader) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeBlend(\n getEnum(this.CanvasKit.BlendMode, mode),\n JsiSkShader.fromValue(one),\n JsiSkShader.fromValue(two)\n )\n );\n }\n\n MakeColor(color: SkColor) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeColor(color, this.CanvasKit.ColorSpace.SRGB)\n );\n }\n}\n"],"mappings":";;;;;;AAYA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEO,MAAMI,kBAAkB,SAASC,UAAI,CAA0B;EACpEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,kBAAkBA,CAChBC,KAAc,EACdC,GAAY,EACZC,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAAsB,EACtBC,KAAc,EACd;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACT,kBAAkB,CACtCU,sBAAU,CAACC,SAAS,CAACV,KAAK,CAAC,EAC3BS,sBAAU,CAACC,SAAS,CAACT,GAAG,CAAC,EACzBC,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,GACrBA,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KACF,CACF,CAAC;EACH;EAEAS,kBAAkBA,CAChBC,MAAe,EACfC,MAAc,EACdf,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAAsB,EACtBC,KAAc,EACd;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACO,kBAAkB,CACtCN,sBAAU,CAACC,SAAS,CAACM,MAAM,CAAC,EAC5BC,MAAM,EACNf,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,GACrBA,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KACF,CACF,CAAC;EACH;EAEAY,2BAA2BA,CACzBlB,KAAc,EACdmB,WAAmB,EACnBlB,GAAY,EACZmB,SAAiB,EACjBlB,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAAsB,EACtBC,KAAc,EACd;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACU,2BAA2B,CAC/CT,sBAAU,CAACC,SAAS,CAACV,KAAK,CAAC,EAC3BmB,WAAW,EACXV,sBAAU,CAACC,SAAS,CAACT,GAAG,CAAC,EACzBmB,SAAS,EACTlB,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,GACrBA,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KACF,CACF,CAAC;EACH;EAEAe,iBAAiBA,CACfC,EAAU,EACVC,EAAU,EACVrB,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAA6B,EAC7BC,KAAc,EACdkB,mBAA4B,EAC5BC,iBAA0B,EAC1B;IACA,OAAO,IAAIlB,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACa,iBAAiB,CACrCC,EAAE,EACFC,EAAE,EACFrB,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,IAAIR,WAAW,KAAK,IAAI,GAC7CQ,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KAAK,EACLkB,mBAAmB,EACnBC,iBACF,CACF,CAAC;EACH;EAEAC,cAAcA,CACZC,SAAiB,EACjBC,SAAiB,EACjBC,OAAe,EACfC,IAAY,EACZC,KAAa,EACbC,KAAa,EACb;IACA,OAAO,IAAIzB,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACkB,cAAc,CAClCC,SAAS,EACTC,SAAS,EACTC,OAAO,EACPC,IAAI,EACJC,KAAK,EACLC,KACF,CACF,CAAC;EACH;EAEAC,gBAAgBA,CACdN,SAAiB,EACjBC,SAAiB,EACjBC,OAAe,EACfC,IAAY,EACZC,KAAa,EACbC,KAAa,EACb;IACA,OAAO,IAAIzB,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACyB,gBAAgB,CACpCN,SAAS,EACTC,SAAS,EACTC,OAAO,EACPC,IAAI,EACJC,KAAK,EACLC,KACF,CACF,CAAC;EACH;EAEAE,SAASA,CAAC9B,IAAe,EAAE+B,GAAa,EAAEC,GAAa,EAAE;IACvD,OAAO,IAAI7B,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAAC0B,SAAS,CAC7B,IAAAvB,aAAO,EAAC,IAAI,CAACb,SAAS,CAACuC,SAAS,EAAEjC,IAAI,CAAC,EACvCG,wBAAW,CAACG,SAAS,CAACyB,GAAG,CAAC,EAC1B5B,wBAAW,CAACG,SAAS,CAAC0B,GAAG,CAC3B,CACF,CAAC;EACH;EAEAE,SAASA,CAACC,KAAc,EAAE;IACxB,OAAO,IAAIhC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAAC8B,SAAS,CAACC,KAAK,EAAE,IAAI,CAACzC,SAAS,CAAC0C,UAAU,CAACC,IAAI,CACvE,CAAC;EACH;AACF;AAACC,OAAA,CAAA/C,kBAAA,GAAAA,kBAAA"}
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkMatrix","_JsiSkPoint","_JsiSkShader","JsiSkShaderFactory","Host","constructor","CanvasKit","MakeLinearGradient","start","end","colors","pos","mode","localMatrix","flags","JsiSkShader","Shader","JsiSkPoint","fromValue","getEnum","TileMode","undefined","JsiSkMatrix","MakeRadialGradient","center","radius","MakeTwoPointConicalGradient","startRadius","endRadius","MakeSweepGradient","cx","cy","startAngleInDegrees","endAngleInDegrees","MakeTurbulence","baseFreqX","baseFreqY","octaves","seed","tileW","tileH","MakeFractalNoise","MakeBlend","one","two","BlendMode","MakeColor","color","ColorSpace","SRGB","exports"],"sources":["JsiSkShaderFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type {\n BlendMode,\n SkColor,\n SkMatrix,\n SkPoint,\n SkShader,\n TileMode,\n} from \"../types\";\nimport type { ShaderFactory } from \"../types/Shader/ShaderFactory\";\n\nimport { Host, getEnum } from \"./Host\";\nimport { JsiSkMatrix } from \"./JsiSkMatrix\";\nimport { JsiSkPoint } from \"./JsiSkPoint\";\nimport { JsiSkShader } from \"./JsiSkShader\";\n\nexport class JsiSkShaderFactory extends Host implements ShaderFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeLinearGradient(\n start: SkPoint,\n end: SkPoint,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix,\n flags?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeLinearGradient(\n JsiSkPoint.fromValue(start),\n JsiSkPoint.fromValue(end),\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags\n )\n );\n }\n\n MakeRadialGradient(\n center: SkPoint,\n radius: number,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix,\n flags?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeRadialGradient(\n JsiSkPoint.fromValue(center),\n radius,\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags\n )\n );\n }\n\n MakeTwoPointConicalGradient(\n start: SkPoint,\n startRadius: number,\n end: SkPoint,\n endRadius: number,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix,\n flags?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeTwoPointConicalGradient(\n JsiSkPoint.fromValue(start),\n startRadius,\n JsiSkPoint.fromValue(end),\n endRadius,\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags\n )\n );\n }\n\n MakeSweepGradient(\n cx: number,\n cy: number,\n colors: SkColor[],\n pos: number[] | null,\n mode: TileMode,\n localMatrix?: SkMatrix | null,\n flags?: number,\n startAngleInDegrees?: number,\n endAngleInDegrees?: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeSweepGradient(\n cx,\n cy,\n colors,\n pos,\n getEnum(this.CanvasKit.TileMode, mode),\n localMatrix === undefined || localMatrix === null\n ? undefined\n : JsiSkMatrix.fromValue(localMatrix),\n flags,\n startAngleInDegrees,\n endAngleInDegrees\n )\n );\n }\n\n MakeTurbulence(\n baseFreqX: number,\n baseFreqY: number,\n octaves: number,\n seed: number,\n tileW: number,\n tileH: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeTurbulence(\n baseFreqX,\n baseFreqY,\n octaves,\n seed,\n tileW,\n tileH\n )\n );\n }\n\n MakeFractalNoise(\n baseFreqX: number,\n baseFreqY: number,\n octaves: number,\n seed: number,\n tileW: number,\n tileH: number\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeFractalNoise(\n baseFreqX,\n baseFreqY,\n octaves,\n seed,\n tileW,\n tileH\n )\n );\n }\n\n MakeBlend(mode: BlendMode, one: SkShader, two: SkShader) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeBlend(\n getEnum(this.CanvasKit.BlendMode, mode),\n JsiSkShader.fromValue(one),\n JsiSkShader.fromValue(two)\n )\n );\n }\n\n MakeColor(color: SkColor) {\n return new JsiSkShader(\n this.CanvasKit,\n this.CanvasKit.Shader.MakeColor(color, this.CanvasKit.ColorSpace.SRGB)\n );\n }\n}\n"],"mappings":";;;;;;AAYA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEO,MAAMI,kBAAkB,SAASC,UAAI,CAA0B;EACpEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,kBAAkBA,CAChBC,KAAc,EACdC,GAAY,EACZC,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAAsB,EACtBC,KAAc,EACd;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACT,kBAAkB,CACtCU,sBAAU,CAACC,SAAS,CAACV,KAAK,CAAC,EAC3BS,sBAAU,CAACC,SAAS,CAACT,GAAG,CAAC,EACzBC,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,GACrBA,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KACF,CACF,CAAC;EACH;EAEAS,kBAAkBA,CAChBC,MAAe,EACfC,MAAc,EACdf,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAAsB,EACtBC,KAAc,EACd;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACO,kBAAkB,CACtCN,sBAAU,CAACC,SAAS,CAACM,MAAM,CAAC,EAC5BC,MAAM,EACNf,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,GACrBA,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KACF,CACF,CAAC;EACH;EAEAY,2BAA2BA,CACzBlB,KAAc,EACdmB,WAAmB,EACnBlB,GAAY,EACZmB,SAAiB,EACjBlB,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAAsB,EACtBC,KAAc,EACd;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACU,2BAA2B,CAC/CT,sBAAU,CAACC,SAAS,CAACV,KAAK,CAAC,EAC3BmB,WAAW,EACXV,sBAAU,CAACC,SAAS,CAACT,GAAG,CAAC,EACzBmB,SAAS,EACTlB,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,GACrBA,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KACF,CACF,CAAC;EACH;EAEAe,iBAAiBA,CACfC,EAAU,EACVC,EAAU,EACVrB,MAAiB,EACjBC,GAAoB,EACpBC,IAAc,EACdC,WAA6B,EAC7BC,KAAc,EACdkB,mBAA4B,EAC5BC,iBAA0B,EAC1B;IACA,OAAO,IAAIlB,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACa,iBAAiB,CACrCC,EAAE,EACFC,EAAE,EACFrB,MAAM,EACNC,GAAG,EACH,IAAAQ,aAAO,EAAC,IAAI,CAACb,SAAS,CAACc,QAAQ,EAAER,IAAI,CAAC,EACtCC,WAAW,KAAKQ,SAAS,IAAIR,WAAW,KAAK,IAAI,GAC7CQ,SAAS,GACTC,wBAAW,CAACJ,SAAS,CAACL,WAAW,CAAC,EACtCC,KAAK,EACLkB,mBAAmB,EACnBC,iBACF,CACF,CAAC;EACH;EAEAC,cAAcA,CACZC,SAAiB,EACjBC,SAAiB,EACjBC,OAAe,EACfC,IAAY,EACZC,KAAa,EACbC,KAAa,EACb;IACA,OAAO,IAAIzB,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACkB,cAAc,CAClCC,SAAS,EACTC,SAAS,EACTC,OAAO,EACPC,IAAI,EACJC,KAAK,EACLC,KACF,CACF,CAAC;EACH;EAEAC,gBAAgBA,CACdN,SAAiB,EACjBC,SAAiB,EACjBC,OAAe,EACfC,IAAY,EACZC,KAAa,EACbC,KAAa,EACb;IACA,OAAO,IAAIzB,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAACyB,gBAAgB,CACpCN,SAAS,EACTC,SAAS,EACTC,OAAO,EACPC,IAAI,EACJC,KAAK,EACLC,KACF,CACF,CAAC;EACH;EAEAE,SAASA,CAAC9B,IAAe,EAAE+B,GAAa,EAAEC,GAAa,EAAE;IACvD,OAAO,IAAI7B,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAAC0B,SAAS,CAC7B,IAAAvB,aAAO,EAAC,IAAI,CAACb,SAAS,CAACuC,SAAS,EAAEjC,IAAI,CAAC,EACvCG,wBAAW,CAACG,SAAS,CAACyB,GAAG,CAAC,EAC1B5B,wBAAW,CAACG,SAAS,CAAC0B,GAAG,CAC3B,CACF,CAAC;EACH;EAEAE,SAASA,CAACC,KAAc,EAAE;IACxB,OAAO,IAAIhC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACA,SAAS,CAACU,MAAM,CAAC8B,SAAS,CAACC,KAAK,EAAE,IAAI,CAACzC,SAAS,CAAC0C,UAAU,CAACC,IAAI,CACvE,CAAC;EACH;AACF;AAACC,OAAA,CAAA/C,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
@@ -8,8 +8,8 @@ var _Host = require("./Host");
|
|
8
8
|
var _JsiSkCanvas = require("./JsiSkCanvas");
|
9
9
|
var _JsiSkImage = require("./JsiSkImage");
|
10
10
|
var _JsiSkRect = require("./JsiSkRect");
|
11
|
-
function _defineProperty(
|
12
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
11
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
13
13
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
14
14
|
class JsiSkSurface extends _Host.HostObject {
|
15
15
|
constructor(CanvasKit, ref) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkCanvas","_JsiSkImage","_JsiSkRect","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkCanvas","_JsiSkImage","_JsiSkRect","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkSurface","HostObject","constructor","CanvasKit","ref","dispose","flush","width","height","getCanvas","JsiSkCanvas","makeImageSnapshot","bounds","image","Array","from","JsiSkRect","fromValue","undefined","JsiSkImage","exports"],"sources":["JsiSkSurface.ts"],"sourcesContent":["import type { CanvasKit, Surface } from \"canvaskit-wasm\";\n\nimport type { SkCanvas, SkImage, SkRect, SkSurface } from \"../types\";\n\nimport { HostObject } from \"./Host\";\nimport { JsiSkCanvas } from \"./JsiSkCanvas\";\nimport { JsiSkImage } from \"./JsiSkImage\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkSurface\n extends HostObject<Surface, \"Surface\">\n implements SkSurface\n{\n constructor(CanvasKit: CanvasKit, ref: Surface) {\n super(CanvasKit, ref, \"Surface\");\n }\n\n dispose = () => {\n this.ref.dispose();\n };\n\n flush() {\n this.ref.flush();\n }\n\n width() {\n return this.ref.width();\n }\n\n height() {\n return this.ref.height();\n }\n\n getCanvas(): SkCanvas {\n return new JsiSkCanvas(this.CanvasKit, this.ref.getCanvas());\n }\n\n makeImageSnapshot(bounds?: SkRect): SkImage {\n const image = this.ref.makeImageSnapshot(\n bounds\n ? Array.from(JsiSkRect.fromValue(this.CanvasKit, bounds))\n : undefined\n );\n return new JsiSkImage(this.CanvasKit, image);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAwC,SAAAI,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEjC,MAAMgB,YAAY,SACfC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAY,EAAE;IAC9C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,SAAS,CAAC;IAACvB,eAAA,kBAGzB,MAAM;MACd,IAAI,CAACuB,GAAG,CAACC,OAAO,CAAC,CAAC;IACpB,CAAC;EAJD;EAMAC,KAAKA,CAAA,EAAG;IACN,IAAI,CAACF,GAAG,CAACE,KAAK,CAAC,CAAC;EAClB;EAEAC,KAAKA,CAAA,EAAG;IACN,OAAO,IAAI,CAACH,GAAG,CAACG,KAAK,CAAC,CAAC;EACzB;EAEAC,MAAMA,CAAA,EAAG;IACP,OAAO,IAAI,CAACJ,GAAG,CAACI,MAAM,CAAC,CAAC;EAC1B;EAEAC,SAASA,CAAA,EAAa;IACpB,OAAO,IAAIC,wBAAW,CAAC,IAAI,CAACP,SAAS,EAAE,IAAI,CAACC,GAAG,CAACK,SAAS,CAAC,CAAC,CAAC;EAC9D;EAEAE,iBAAiBA,CAACC,MAAe,EAAW;IAC1C,MAAMC,KAAK,GAAG,IAAI,CAACT,GAAG,CAACO,iBAAiB,CACtCC,MAAM,GACFE,KAAK,CAACC,IAAI,CAACC,oBAAS,CAACC,SAAS,CAAC,IAAI,CAACd,SAAS,EAAES,MAAM,CAAC,CAAC,GACvDM,SACN,CAAC;IACD,OAAO,IAAIC,sBAAU,CAAC,IAAI,CAAChB,SAAS,EAAEU,KAAK,CAAC;EAC9C;AACF;AAACO,OAAA,CAAApB,YAAA,GAAAA,YAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkSurface","JsiSkSurfaceFactory","Host","constructor","CanvasKit","Make","width","height","JsiSkSurface","MakeSurface","MakeOffscreen","OC","globalThis","OffscreenCanvas","surface","undefined","offscreen","webglContext","GetWebGLContext","grContext","MakeWebGLContext","Error","MakeRenderTarget","exports"],"sources":["JsiSkSurfaceFactory.ts"],"sourcesContent":["import type { CanvasKit, Surface } from \"canvaskit-wasm\";\n\nimport type { SurfaceFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkSurface } from \"./JsiSkSurface\";\n\nexport class JsiSkSurfaceFactory extends Host implements SurfaceFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make(width: number, height: number) {\n return new JsiSkSurface(\n this.CanvasKit,\n this.CanvasKit.MakeSurface(width, height)!\n );\n }\n\n MakeOffscreen(width: number, height: number) {\n // OffscreenCanvas may be unvailable in some environments.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const OC = (globalThis as any).OffscreenCanvas;\n let surface: Surface | null;\n if (OC === undefined) {\n return this.Make(width, height);\n } else {\n const offscreen = new OC(width, height);\n const webglContext = this.CanvasKit.GetWebGLContext(offscreen);\n const grContext = this.CanvasKit.MakeWebGLContext(webglContext);\n if (!grContext) {\n throw new Error(\"Could not make a graphics context\");\n }\n surface = this.CanvasKit.MakeRenderTarget(grContext, width, height);\n }\n if (!surface) {\n return null;\n }\n return new JsiSkSurface(this.CanvasKit, surface);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,mBAAmB,SAASC,UAAI,CAA2B;EACtEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAACC,KAAa,EAAEC,MAAc,EAAE;IAClC,OAAO,IAAIC,0BAAY,CACrB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,WAAW,CAACH,KAAK,EAAEC,MAAM,CAC1C,CAAC;EACH;EAEAG,aAAaA,CAACJ,KAAa,EAAEC,MAAc,EAAE;IAC3C;IACA;IACA,MAAMI,EAAE,GAAIC,UAAU,CAASC,eAAe;IAC9C,IAAIC,OAAuB;IAC3B,IAAIH,EAAE,KAAKI,SAAS,EAAE;MACpB,OAAO,IAAI,CAACV,IAAI,CAACC,KAAK,EAAEC,MAAM,CAAC;IACjC,CAAC,MAAM;MACL,MAAMS,SAAS,GAAG,IAAIL,EAAE,CAACL,KAAK,EAAEC,MAAM,CAAC;MACvC,MAAMU,YAAY,GAAG,IAAI,CAACb,SAAS,CAACc,eAAe,CAACF,SAAS,CAAC;MAC9D,MAAMG,SAAS,GAAG,IAAI,CAACf,SAAS,CAACgB,gBAAgB,CAACH,YAAY,CAAC;MAC/D,IAAI,CAACE,SAAS,EAAE;QACd,MAAM,IAAIE,KAAK,CAAC,mCAAmC,CAAC;MACtD;MACAP,OAAO,GAAG,IAAI,CAACV,SAAS,CAACkB,gBAAgB,CAACH,SAAS,EAAEb,KAAK,EAAEC,MAAM,CAAC;IACrE;IACA,IAAI,CAACO,OAAO,EAAE;MACZ,OAAO,IAAI;IACb;IACA,OAAO,IAAIN,0BAAY,CAAC,IAAI,CAACJ,SAAS,EAAEU,OAAO,CAAC;EAClD;AACF;AAACS,OAAA,CAAAtB,mBAAA,GAAAA,mBAAA"}
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkSurface","JsiSkSurfaceFactory","Host","constructor","CanvasKit","Make","width","height","JsiSkSurface","MakeSurface","MakeOffscreen","OC","globalThis","OffscreenCanvas","surface","undefined","offscreen","webglContext","GetWebGLContext","grContext","MakeWebGLContext","Error","MakeRenderTarget","exports"],"sources":["JsiSkSurfaceFactory.ts"],"sourcesContent":["import type { CanvasKit, Surface } from \"canvaskit-wasm\";\n\nimport type { SurfaceFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkSurface } from \"./JsiSkSurface\";\n\nexport class JsiSkSurfaceFactory extends Host implements SurfaceFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make(width: number, height: number) {\n return new JsiSkSurface(\n this.CanvasKit,\n this.CanvasKit.MakeSurface(width, height)!\n );\n }\n\n MakeOffscreen(width: number, height: number) {\n // OffscreenCanvas may be unvailable in some environments.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const OC = (globalThis as any).OffscreenCanvas;\n let surface: Surface | null;\n if (OC === undefined) {\n return this.Make(width, height);\n } else {\n const offscreen = new OC(width, height);\n const webglContext = this.CanvasKit.GetWebGLContext(offscreen);\n const grContext = this.CanvasKit.MakeWebGLContext(webglContext);\n if (!grContext) {\n throw new Error(\"Could not make a graphics context\");\n }\n surface = this.CanvasKit.MakeRenderTarget(grContext, width, height);\n }\n if (!surface) {\n return null;\n }\n return new JsiSkSurface(this.CanvasKit, surface);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,mBAAmB,SAASC,UAAI,CAA2B;EACtEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAACC,KAAa,EAAEC,MAAc,EAAE;IAClC,OAAO,IAAIC,0BAAY,CACrB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,WAAW,CAACH,KAAK,EAAEC,MAAM,CAC1C,CAAC;EACH;EAEAG,aAAaA,CAACJ,KAAa,EAAEC,MAAc,EAAE;IAC3C;IACA;IACA,MAAMI,EAAE,GAAIC,UAAU,CAASC,eAAe;IAC9C,IAAIC,OAAuB;IAC3B,IAAIH,EAAE,KAAKI,SAAS,EAAE;MACpB,OAAO,IAAI,CAACV,IAAI,CAACC,KAAK,EAAEC,MAAM,CAAC;IACjC,CAAC,MAAM;MACL,MAAMS,SAAS,GAAG,IAAIL,EAAE,CAACL,KAAK,EAAEC,MAAM,CAAC;MACvC,MAAMU,YAAY,GAAG,IAAI,CAACb,SAAS,CAACc,eAAe,CAACF,SAAS,CAAC;MAC9D,MAAMG,SAAS,GAAG,IAAI,CAACf,SAAS,CAACgB,gBAAgB,CAACH,YAAY,CAAC;MAC/D,IAAI,CAACE,SAAS,EAAE;QACd,MAAM,IAAIE,KAAK,CAAC,mCAAmC,CAAC;MACtD;MACAP,OAAO,GAAG,IAAI,CAACV,SAAS,CAACkB,gBAAgB,CAACH,SAAS,EAAEb,KAAK,EAAEC,MAAM,CAAC;IACrE;IACA,IAAI,CAACO,OAAO,EAAE;MACZ,OAAO,IAAI;IACb;IACA,OAAO,IAAIN,0BAAY,CAAC,IAAI,CAACJ,SAAS,EAAEU,OAAO,CAAC;EAClD;AACF;AAACS,OAAA,CAAAtB,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkTextBlob = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkTextBlob extends _Host.HostObject {
|
12
12
|
constructor(CanvasKit, ref) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_defineProperty","
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","JsiSkTextBlob","HostObject","constructor","CanvasKit","ref","delete","exports"],"sources":["JsiSkTextBlob.ts"],"sourcesContent":["import type { CanvasKit, TextBlob } from \"canvaskit-wasm\";\n\nimport type { SkTextBlob } from \"../types\";\n\nimport { HostObject } from \"./Host\";\n\nexport class JsiSkTextBlob\n extends HostObject<TextBlob, \"TextBlob\">\n implements SkTextBlob\n{\n constructor(CanvasKit: CanvasKit, ref: TextBlob) {\n super(CanvasKit, ref, \"TextBlob\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAoC,SAAAC,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAE7B,MAAMgB,aAAa,SAChBC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAa,EAAE;IAC/C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,UAAU,CAAC;IAACvB,eAAA,kBAG1B,MAAM;MACd,IAAI,CAACuB,GAAG,CAACC,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;AAKF;AAACC,OAAA,CAAAN,aAAA,GAAAA,aAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_Host","require","_JsiSkFont","_JsiSkTextBlob","_JsiSkRSXform","JsiSkTextBlobFactory","Host","constructor","CanvasKit","MakeFromText","str","font","JsiSkTextBlob","TextBlob","JsiSkFont","fromValue","MakeFromGlyphs","glyphs","MakeFromRSXform","rsxforms","map","f","Array","from","JsiSkRSXform","flat","MakeFromRSXformGlyphs","transforms","flatMap","s","exports"],"sources":["JsiSkTextBlobFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkFont } from \"../types\";\nimport type { TextBlobFactory } from \"../types/TextBlob\";\nimport type { SkRSXform } from \"../types/RSXform\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkFont } from \"./JsiSkFont\";\nimport { JsiSkTextBlob } from \"./JsiSkTextBlob\";\nimport { JsiSkRSXform } from \"./JsiSkRSXform\";\n\nexport class JsiSkTextBlobFactory extends Host implements TextBlobFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeFromText(str: string, font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromText(str, JsiSkFont.fromValue(font))\n );\n }\n\n MakeFromGlyphs(glyphs: number[], font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromGlyphs(glyphs, JsiSkFont.fromValue(font))\n );\n }\n\n MakeFromRSXform(str: string, rsxforms: SkRSXform[], font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromRSXform(\n str,\n rsxforms.map((f) => Array.from(JsiSkRSXform.fromValue(f))).flat(),\n JsiSkFont.fromValue(font)\n )\n );\n }\n\n MakeFromRSXformGlyphs(glyphs: number[], rsxforms: SkRSXform[], font: SkFont) {\n const transforms = rsxforms.flatMap((s) =>\n Array.from(JsiSkRSXform.fromValue(s))\n );\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromRSXformGlyphs(\n glyphs,\n transforms,\n JsiSkFont.fromValue(font)\n )\n );\n }\n}\n"],"mappings":";;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AAEO,MAAMI,oBAAoB,SAASC,UAAI,CAA4B;EACxEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,YAAYA,CAACC,GAAW,EAAEC,IAAY,EAAE;IACtC,OAAO,IAAIC,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACJ,YAAY,CAACC,GAAG,EAAEI,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAAC,CACrE,CAAC;EACH;EAEAK,cAAcA,CAACC,MAAgB,EAAEN,IAAY,EAAE;IAC7C,OAAO,IAAIC,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACG,cAAc,CAACC,MAAM,EAAEH,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAAC,CAC1E,CAAC;EACH;EAEAO,eAAeA,CAACR,GAAW,EAAES,QAAqB,EAAER,IAAY,EAAE;IAChE,OAAO,IAAIC,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACK,eAAe,CACrCR,GAAG,EACHS,QAAQ,CAACC,GAAG,CAAEC,CAAC,IAAKC,KAAK,CAACC,IAAI,CAACC,0BAAY,CAACT,SAAS,CAACM,CAAC,CAAC,CAAC,CAAC,CAACI,IAAI,CAAC,CAAC,EACjEX,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAC1B,CACF,CAAC;EACH;EAEAe,qBAAqBA,CAACT,MAAgB,EAAEE,QAAqB,EAAER,IAAY,EAAE;IAC3E,MAAMgB,UAAU,GAAGR,QAAQ,CAACS,OAAO,CAAEC,CAAC,IACpCP,KAAK,CAACC,IAAI,CAACC,0BAAY,CAACT,SAAS,CAACc,CAAC,CAAC,CACtC,CAAC;IACD,OAAO,IAAIjB,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACa,qBAAqB,CAC3CT,MAAM,EACNU,UAAU,EACVb,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAC1B,CACF,CAAC;EACH;AACF;AAACmB,OAAA,CAAAzB,oBAAA,GAAAA,oBAAA"}
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkFont","_JsiSkTextBlob","_JsiSkRSXform","JsiSkTextBlobFactory","Host","constructor","CanvasKit","MakeFromText","str","font","JsiSkTextBlob","TextBlob","JsiSkFont","fromValue","MakeFromGlyphs","glyphs","MakeFromRSXform","rsxforms","map","f","Array","from","JsiSkRSXform","flat","MakeFromRSXformGlyphs","transforms","flatMap","s","exports"],"sources":["JsiSkTextBlobFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkFont } from \"../types\";\nimport type { TextBlobFactory } from \"../types/TextBlob\";\nimport type { SkRSXform } from \"../types/RSXform\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkFont } from \"./JsiSkFont\";\nimport { JsiSkTextBlob } from \"./JsiSkTextBlob\";\nimport { JsiSkRSXform } from \"./JsiSkRSXform\";\n\nexport class JsiSkTextBlobFactory extends Host implements TextBlobFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeFromText(str: string, font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromText(str, JsiSkFont.fromValue(font))\n );\n }\n\n MakeFromGlyphs(glyphs: number[], font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromGlyphs(glyphs, JsiSkFont.fromValue(font))\n );\n }\n\n MakeFromRSXform(str: string, rsxforms: SkRSXform[], font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromRSXform(\n str,\n rsxforms.map((f) => Array.from(JsiSkRSXform.fromValue(f))).flat(),\n JsiSkFont.fromValue(font)\n )\n );\n }\n\n MakeFromRSXformGlyphs(glyphs: number[], rsxforms: SkRSXform[], font: SkFont) {\n const transforms = rsxforms.flatMap((s) =>\n Array.from(JsiSkRSXform.fromValue(s))\n );\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromRSXformGlyphs(\n glyphs,\n transforms,\n JsiSkFont.fromValue(font)\n )\n );\n }\n}\n"],"mappings":";;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AAEO,MAAMI,oBAAoB,SAASC,UAAI,CAA4B;EACxEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,YAAYA,CAACC,GAAW,EAAEC,IAAY,EAAE;IACtC,OAAO,IAAIC,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACJ,YAAY,CAACC,GAAG,EAAEI,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAAC,CACrE,CAAC;EACH;EAEAK,cAAcA,CAACC,MAAgB,EAAEN,IAAY,EAAE;IAC7C,OAAO,IAAIC,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACG,cAAc,CAACC,MAAM,EAAEH,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAAC,CAC1E,CAAC;EACH;EAEAO,eAAeA,CAACR,GAAW,EAAES,QAAqB,EAAER,IAAY,EAAE;IAChE,OAAO,IAAIC,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACK,eAAe,CACrCR,GAAG,EACHS,QAAQ,CAACC,GAAG,CAAEC,CAAC,IAAKC,KAAK,CAACC,IAAI,CAACC,0BAAY,CAACT,SAAS,CAACM,CAAC,CAAC,CAAC,CAAC,CAACI,IAAI,CAAC,CAAC,EACjEX,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAC1B,CACF,CAAC;EACH;EAEAe,qBAAqBA,CAACT,MAAgB,EAAEE,QAAqB,EAAER,IAAY,EAAE;IAC3E,MAAMgB,UAAU,GAAGR,QAAQ,CAACS,OAAO,CAAEC,CAAC,IACpCP,KAAK,CAACC,IAAI,CAACC,0BAAY,CAACT,SAAS,CAACc,CAAC,CAAC,CACtC,CAAC;IACD,OAAO,IAAIjB,4BAAa,CACtB,IAAI,CAACJ,SAAS,EACd,IAAI,CAACA,SAAS,CAACK,QAAQ,CAACa,qBAAqB,CAC3CT,MAAM,EACNU,UAAU,EACVb,oBAAS,CAACC,SAAS,CAACJ,IAAI,CAC1B,CACF,CAAC;EACH;AACF;AAACmB,OAAA,CAAAzB,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["JsiSkTextStyle","toTextStyle","value","backgroundColor","color","decoration","decorationColor","decorationStyle","undefined","decorationThickness","fontFamilies","fontSize","fontStyle","slant","weight","width","fontFeatures","foregroundColor","fontVariations","halfLeading","heightMultiplier","letterSpacing","locale","shadows","map","shadow","blurRadius","offset","x","y","textBaseline","wordSpacing","exports"],"sources":["JsiSkTextStyle.ts"],"sourcesContent":["import type { TextStyle } from \"canvaskit-wasm\";\n\nimport type { SkTextStyle } from \"../types\";\n\nexport class JsiSkTextStyle {\n static toTextStyle(value: SkTextStyle): TextStyle {\n return {\n backgroundColor: value.backgroundColor,\n color: value.color,\n decoration: value.decoration,\n decorationColor: value.decorationColor,\n decorationStyle: value.decorationStyle\n ? { value: value.decorationStyle }\n : undefined,\n decorationThickness: value.decorationThickness,\n fontFamilies: value.fontFamilies,\n fontSize: value.fontSize,\n fontStyle: value.fontStyle\n ? {\n slant: value.fontStyle.slant\n ? { value: value.fontStyle.slant }\n : undefined,\n weight: value.fontStyle.weight\n ? { value: value.fontStyle.weight }\n : undefined,\n width: value.fontStyle.width\n ? { value: value.fontStyle.width }\n : undefined,\n }\n : undefined,\n fontFeatures: value.fontFeatures,\n foregroundColor: value.foregroundColor,\n fontVariations: value.fontVariations,\n halfLeading: value.halfLeading,\n heightMultiplier: value.heightMultiplier,\n letterSpacing: value.letterSpacing,\n locale: value.locale,\n shadows: value.shadows\n ? value.shadows.map((shadow) => ({\n blurRadius: shadow.blurRadius,\n color: shadow.color,\n offset: shadow.offset\n ? [shadow.offset.x, shadow.offset.y]\n : undefined,\n }))\n : undefined,\n textBaseline: value.textBaseline\n ? { value: value.textBaseline }\n : undefined,\n wordSpacing: value.wordSpacing,\n };\n }\n}\n"],"mappings":";;;;;;AAIO,MAAMA,cAAc,CAAC;EAC1B,OAAOC,WAAWA,CAACC,KAAkB,EAAa;IAChD,OAAO;MACLC,eAAe,EAAED,KAAK,CAACC,eAAe;MACtCC,KAAK,EAAEF,KAAK,CAACE,KAAK;MAClBC,UAAU,EAAEH,KAAK,CAACG,UAAU;MAC5BC,eAAe,EAAEJ,KAAK,CAACI,eAAe;MACtCC,eAAe,EAAEL,KAAK,CAACK,eAAe,GAClC;QAAEL,KAAK,EAAEA,KAAK,CAACK;MAAgB,CAAC,GAChCC,SAAS;MACbC,mBAAmB,EAAEP,KAAK,CAACO,mBAAmB;MAC9CC,YAAY,EAAER,KAAK,CAACQ,YAAY;MAChCC,QAAQ,EAAET,KAAK,CAACS,QAAQ;MACxBC,SAAS,EAAEV,KAAK,CAACU,SAAS,GACtB;QACEC,KAAK,EAAEX,KAAK,CAACU,SAAS,CAACC,KAAK,GACxB;UAAEX,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACC;QAAM,CAAC,GAChCL,SAAS;QACbM,MAAM,EAAEZ,KAAK,CAACU,SAAS,CAACE,MAAM,GAC1B;UAAEZ,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACE;QAAO,CAAC,GACjCN,SAAS;QACbO,KAAK,EAAEb,KAAK,CAACU,SAAS,CAACG,KAAK,GACxB;UAAEb,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACG;QAAM,CAAC,GAChCP;MACN,CAAC,GACDA,SAAS;MACbQ,YAAY,EAAEd,KAAK,CAACc,YAAY;MAChCC,eAAe,EAAEf,KAAK,CAACe,eAAe;MACtCC,cAAc,EAAEhB,KAAK,CAACgB,cAAc;MACpCC,WAAW,EAAEjB,KAAK,CAACiB,WAAW;MAC9BC,gBAAgB,EAAElB,KAAK,CAACkB,gBAAgB;MACxCC,aAAa,EAAEnB,KAAK,CAACmB,aAAa;MAClCC,MAAM,EAAEpB,KAAK,CAACoB,MAAM;MACpBC,OAAO,EAAErB,KAAK,CAACqB,OAAO,GAClBrB,KAAK,CAACqB,OAAO,CAACC,GAAG,CAAEC,MAAM,KAAM;QAC7BC,UAAU,EAAED,MAAM,CAACC,UAAU;QAC7BtB,KAAK,EAAEqB,MAAM,CAACrB,KAAK;QACnBuB,MAAM,EAAEF,MAAM,CAACE,MAAM,GACjB,CAACF,MAAM,CAACE,MAAM,CAACC,CAAC,EAAEH,MAAM,CAACE,MAAM,CAACE,CAAC,CAAC,GAClCrB;MACN,CAAC,CAAC,CAAC,GACHA,SAAS;MACbsB,YAAY,EAAE5B,KAAK,CAAC4B,YAAY,GAC5B;QAAE5B,KAAK,EAAEA,KAAK,CAAC4B;MAAa,CAAC,GAC7BtB,SAAS;MACbuB,WAAW,EAAE7B,KAAK,CAAC6B;IACrB,CAAC;EACH;AACF;AAACC,OAAA,CAAAhC,cAAA,GAAAA,cAAA"}
|
1
|
+
{"version":3,"names":["JsiSkTextStyle","toTextStyle","value","backgroundColor","color","decoration","decorationColor","decorationStyle","undefined","decorationThickness","fontFamilies","fontSize","fontStyle","slant","weight","width","fontFeatures","foregroundColor","fontVariations","halfLeading","heightMultiplier","letterSpacing","locale","shadows","map","shadow","blurRadius","offset","x","y","textBaseline","wordSpacing","exports"],"sources":["JsiSkTextStyle.ts"],"sourcesContent":["import type { TextStyle } from \"canvaskit-wasm\";\n\nimport type { SkTextStyle } from \"../types\";\n\nexport class JsiSkTextStyle {\n static toTextStyle(value: SkTextStyle): TextStyle {\n return {\n backgroundColor: value.backgroundColor,\n color: value.color,\n decoration: value.decoration,\n decorationColor: value.decorationColor,\n decorationStyle: value.decorationStyle\n ? { value: value.decorationStyle }\n : undefined,\n decorationThickness: value.decorationThickness,\n fontFamilies: value.fontFamilies,\n fontSize: value.fontSize,\n fontStyle: value.fontStyle\n ? {\n slant: value.fontStyle.slant\n ? { value: value.fontStyle.slant }\n : undefined,\n weight: value.fontStyle.weight\n ? { value: value.fontStyle.weight }\n : undefined,\n width: value.fontStyle.width\n ? { value: value.fontStyle.width }\n : undefined,\n }\n : undefined,\n fontFeatures: value.fontFeatures,\n foregroundColor: value.foregroundColor,\n fontVariations: value.fontVariations,\n halfLeading: value.halfLeading,\n heightMultiplier: value.heightMultiplier,\n letterSpacing: value.letterSpacing,\n locale: value.locale,\n shadows: value.shadows\n ? value.shadows.map((shadow) => ({\n blurRadius: shadow.blurRadius,\n color: shadow.color,\n offset: shadow.offset\n ? [shadow.offset.x, shadow.offset.y]\n : undefined,\n }))\n : undefined,\n textBaseline: value.textBaseline\n ? { value: value.textBaseline }\n : undefined,\n wordSpacing: value.wordSpacing,\n };\n }\n}\n"],"mappings":";;;;;;AAIO,MAAMA,cAAc,CAAC;EAC1B,OAAOC,WAAWA,CAACC,KAAkB,EAAa;IAChD,OAAO;MACLC,eAAe,EAAED,KAAK,CAACC,eAAe;MACtCC,KAAK,EAAEF,KAAK,CAACE,KAAK;MAClBC,UAAU,EAAEH,KAAK,CAACG,UAAU;MAC5BC,eAAe,EAAEJ,KAAK,CAACI,eAAe;MACtCC,eAAe,EAAEL,KAAK,CAACK,eAAe,GAClC;QAAEL,KAAK,EAAEA,KAAK,CAACK;MAAgB,CAAC,GAChCC,SAAS;MACbC,mBAAmB,EAAEP,KAAK,CAACO,mBAAmB;MAC9CC,YAAY,EAAER,KAAK,CAACQ,YAAY;MAChCC,QAAQ,EAAET,KAAK,CAACS,QAAQ;MACxBC,SAAS,EAAEV,KAAK,CAACU,SAAS,GACtB;QACEC,KAAK,EAAEX,KAAK,CAACU,SAAS,CAACC,KAAK,GACxB;UAAEX,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACC;QAAM,CAAC,GAChCL,SAAS;QACbM,MAAM,EAAEZ,KAAK,CAACU,SAAS,CAACE,MAAM,GAC1B;UAAEZ,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACE;QAAO,CAAC,GACjCN,SAAS;QACbO,KAAK,EAAEb,KAAK,CAACU,SAAS,CAACG,KAAK,GACxB;UAAEb,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACG;QAAM,CAAC,GAChCP;MACN,CAAC,GACDA,SAAS;MACbQ,YAAY,EAAEd,KAAK,CAACc,YAAY;MAChCC,eAAe,EAAEf,KAAK,CAACe,eAAe;MACtCC,cAAc,EAAEhB,KAAK,CAACgB,cAAc;MACpCC,WAAW,EAAEjB,KAAK,CAACiB,WAAW;MAC9BC,gBAAgB,EAAElB,KAAK,CAACkB,gBAAgB;MACxCC,aAAa,EAAEnB,KAAK,CAACmB,aAAa;MAClCC,MAAM,EAAEpB,KAAK,CAACoB,MAAM;MACpBC,OAAO,EAAErB,KAAK,CAACqB,OAAO,GAClBrB,KAAK,CAACqB,OAAO,CAACC,GAAG,CAAEC,MAAM,KAAM;QAC7BC,UAAU,EAAED,MAAM,CAACC,UAAU;QAC7BtB,KAAK,EAAEqB,MAAM,CAACrB,KAAK;QACnBuB,MAAM,EAAEF,MAAM,CAACE,MAAM,GACjB,CAACF,MAAM,CAACE,MAAM,CAACC,CAAC,EAAEH,MAAM,CAACE,MAAM,CAACE,CAAC,CAAC,GAClCrB;MACN,CAAC,CAAC,CAAC,GACHA,SAAS;MACbsB,YAAY,EAAE5B,KAAK,CAAC4B,YAAY,GAC5B;QAAE5B,KAAK,EAAEA,KAAK,CAAC4B;MAAa,CAAC,GAC7BtB,SAAS;MACbuB,WAAW,EAAE7B,KAAK,CAAC6B;IACrB,CAAC;EACH;AACF;AAACC,OAAA,CAAAhC,cAAA,GAAAA,cAAA","ignoreList":[]}
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.JsiSkTypeface = void 0;
|
7
7
|
var _Host = require("./Host");
|
8
|
-
function _defineProperty(
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
10
10
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
11
|
class JsiSkTypeface extends _Host.HostObject {
|
12
12
|
constructor(CanvasKit, ref) {
|