@react-native-ohos/react-native-svg 15.12.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.OpenSource +11 -0
- package/README.md +13 -0
- package/css/package.json +6 -0
- package/harmony/svg/BuildProfile.ets +17 -0
- package/harmony/svg/build-profile.json5 +9 -0
- package/harmony/svg/hvigorfile.ts +2 -0
- package/harmony/svg/index.ets +7 -0
- package/harmony/svg/oh-package.json5 +13 -0
- package/harmony/svg/src/main/cpp/Attribute.h +52 -0
- package/harmony/svg/src/main/cpp/CMakeLists.txt +32 -0
- package/harmony/svg/src/main/cpp/FallbackProps.h +0 -0
- package/harmony/svg/src/main/cpp/FontHolderBase.cpp +22 -0
- package/harmony/svg/src/main/cpp/FontHolderBase.h +54 -0
- package/harmony/svg/src/main/cpp/SVGPackage.cpp +135 -0
- package/harmony/svg/src/main/cpp/SVGPackage.h +153 -0
- package/harmony/svg/src/main/cpp/SvgArkUINode.cpp +75 -0
- package/harmony/svg/src/main/cpp/SvgArkUINode.h +45 -0
- package/harmony/svg/src/main/cpp/SvgBaseAttribute.h +83 -0
- package/harmony/svg/src/main/cpp/SvgCircle.cpp +29 -0
- package/harmony/svg/src/main/cpp/SvgCircle.h +29 -0
- package/harmony/svg/src/main/cpp/SvgClipPath.h +22 -0
- package/harmony/svg/src/main/cpp/SvgContext.cpp +56 -0
- package/harmony/svg/src/main/cpp/SvgContext.h +71 -0
- package/harmony/svg/src/main/cpp/SvgDefs.h +46 -0
- package/harmony/svg/src/main/cpp/SvgEllipse.cpp +32 -0
- package/harmony/svg/src/main/cpp/SvgEllipse.h +34 -0
- package/harmony/svg/src/main/cpp/SvgFilter.cpp +505 -0
- package/harmony/svg/src/main/cpp/SvgFilter.h +112 -0
- package/harmony/svg/src/main/cpp/SvgGradient.cpp +116 -0
- package/harmony/svg/src/main/cpp/SvgGradient.h +49 -0
- package/harmony/svg/src/main/cpp/SvgGraphic.cpp +553 -0
- package/harmony/svg/src/main/cpp/SvgGraphic.h +77 -0
- package/harmony/svg/src/main/cpp/SvgGroup.cpp +86 -0
- package/harmony/svg/src/main/cpp/SvgGroup.h +41 -0
- package/harmony/svg/src/main/cpp/SvgHost.cpp +27 -0
- package/harmony/svg/src/main/cpp/SvgHost.h +38 -0
- package/harmony/svg/src/main/cpp/SvgImage.cpp +168 -0
- package/harmony/svg/src/main/cpp/SvgImage.h +52 -0
- package/harmony/svg/src/main/cpp/SvgLine.cpp +28 -0
- package/harmony/svg/src/main/cpp/SvgLine.h +32 -0
- package/harmony/svg/src/main/cpp/SvgMarker.cpp +61 -0
- package/harmony/svg/src/main/cpp/SvgMarker.h +86 -0
- package/harmony/svg/src/main/cpp/SvgMask.cpp +72 -0
- package/harmony/svg/src/main/cpp/SvgMask.h +68 -0
- package/harmony/svg/src/main/cpp/SvgNode.cpp +289 -0
- package/harmony/svg/src/main/cpp/SvgNode.h +347 -0
- package/harmony/svg/src/main/cpp/SvgPath.cpp +42 -0
- package/harmony/svg/src/main/cpp/SvgPath.h +29 -0
- package/harmony/svg/src/main/cpp/SvgPattern.cpp +77 -0
- package/harmony/svg/src/main/cpp/SvgPattern.h +64 -0
- package/harmony/svg/src/main/cpp/SvgQuote.h +87 -0
- package/harmony/svg/src/main/cpp/SvgRect.cpp +58 -0
- package/harmony/svg/src/main/cpp/SvgRect.h +33 -0
- package/harmony/svg/src/main/cpp/SvgSvg.cpp +83 -0
- package/harmony/svg/src/main/cpp/SvgSvg.h +52 -0
- package/harmony/svg/src/main/cpp/SvgSymbol.cpp +25 -0
- package/harmony/svg/src/main/cpp/SvgSymbol.h +37 -0
- package/harmony/svg/src/main/cpp/SvgTSpan.cpp +501 -0
- package/harmony/svg/src/main/cpp/SvgTSpan.h +101 -0
- package/harmony/svg/src/main/cpp/SvgText.cpp +48 -0
- package/harmony/svg/src/main/cpp/SvgText.h +29 -0
- package/harmony/svg/src/main/cpp/SvgTextPath.cpp +35 -0
- package/harmony/svg/src/main/cpp/SvgTextPath.h +51 -0
- package/harmony/svg/src/main/cpp/SvgUse.cpp +65 -0
- package/harmony/svg/src/main/cpp/SvgUse.h +46 -0
- package/harmony/svg/src/main/cpp/SvgViewManager.cpp +36 -0
- package/harmony/svg/src/main/cpp/SvgViewManager.h +37 -0
- package/harmony/svg/src/main/cpp/TextBase.cpp +20 -0
- package/harmony/svg/src/main/cpp/TextBase.h +114 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGBaseComponentInstance.h +212 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGCircleComponentInstance.cpp +31 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGCircleComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGClipPathComponentInstance.cpp +23 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGClipPathComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGDefsComponentInstance.cpp +23 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGDefsComponentInstance.h +28 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGEllipseComponentInstance.cpp +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGEllipseComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeBlendComponentInstance.cpp +40 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeBlendComponentInstance.h +48 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeColorMatrixComponentInstance.cpp +33 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeColorMatrixComponentInstance.h +48 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeCompositeComponentInstance.cpp +39 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeCompositeComponentInstance.h +55 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeFloodComponentInstance.cpp +33 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeFloodComponentInstance.h +49 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeGaussianBlurComponentInstance.cpp +34 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeGaussianBlurComponentInstance.h +48 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeOffsetComponentInstance.cpp +35 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFeOffsetComponentInstance.h +46 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFilterComponentInstance.cpp +199 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGFilterComponentInstance.h +48 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGGroupComponentInstance.cpp +32 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGGroupComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGImageComponentInstance.cpp +100 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGImageComponentInstance.h +43 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGLineComponentInstance.cpp +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGLineComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGLinearGradientComponentInstance.cpp +30 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGLinearGradientComponentInstance.h +28 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGMarkerComponentInstance.cpp +35 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGMarkerComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGMaskComponentInstance.cpp +30 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGMaskComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGPathComponentInstance.cpp +33 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGPathComponentInstance.h +29 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGPatternComponentInstance.cpp +40 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGPatternComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGRadialGradientComponentInstance.cpp +32 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGRadialGradientComponentInstance.h +28 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGRectComponentInstance.cpp +36 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGRectComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGSvgViewComponentInstance.cpp +86 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGSvgViewComponentInstance.h +47 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGSymbolComponentInstance.cpp +30 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGSymbolComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGTSpanComponentInstance.cpp +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGTSpanComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGTextComponentInstance.cpp +25 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGTextComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGTextPathComponentInstance.cpp +32 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGTextPathComponentInstance.h +27 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGUseComponentInstance.cpp +32 -0
- package/harmony/svg/src/main/cpp/componentInstances/RNSVGUseComponentInstance.h +32 -0
- package/harmony/svg/src/main/cpp/downloadUtils/HttpTaskProcessor.cpp +207 -0
- package/harmony/svg/src/main/cpp/downloadUtils/HttpTaskProcessor.h +88 -0
- package/harmony/svg/src/main/cpp/downloadUtils/ImageSourceResolver.cpp +106 -0
- package/harmony/svg/src/main/cpp/downloadUtils/ImageSourceResolver.h +97 -0
- package/harmony/svg/src/main/cpp/downloadUtils/LRUCache.h +98 -0
- package/harmony/svg/src/main/cpp/drawing/Brush.cpp +50 -0
- package/harmony/svg/src/main/cpp/drawing/Brush.h +52 -0
- package/harmony/svg/src/main/cpp/drawing/GlyPathBag.cpp +20 -0
- package/harmony/svg/src/main/cpp/drawing/GlyPathBag.h +31 -0
- package/harmony/svg/src/main/cpp/drawing/Matrix.cpp +100 -0
- package/harmony/svg/src/main/cpp/drawing/Matrix.h +68 -0
- package/harmony/svg/src/main/cpp/drawing/Path.cpp +173 -0
- package/harmony/svg/src/main/cpp/drawing/Path.h +127 -0
- package/harmony/svg/src/main/cpp/drawing/Pen.cpp +57 -0
- package/harmony/svg/src/main/cpp/drawing/Pen.h +59 -0
- package/harmony/svg/src/main/cpp/drawing/Rect.cpp +47 -0
- package/harmony/svg/src/main/cpp/drawing/Rect.h +56 -0
- package/harmony/svg/src/main/cpp/drawing/RoundRect.cpp +24 -0
- package/harmony/svg/src/main/cpp/drawing/RoundRect.h +39 -0
- package/harmony/svg/src/main/cpp/drawing/ShaderEffect.cpp +37 -0
- package/harmony/svg/src/main/cpp/drawing/ShaderEffect.h +51 -0
- package/harmony/svg/src/main/cpp/drawing/TextStyle.cpp +49 -0
- package/harmony/svg/src/main/cpp/drawing/TextStyle.h +41 -0
- package/harmony/svg/src/main/cpp/drawing/Typography.cpp +9 -0
- package/harmony/svg/src/main/cpp/drawing/Typography.h +25 -0
- package/harmony/svg/src/main/cpp/drawing/TypographyStyle.cpp +31 -0
- package/harmony/svg/src/main/cpp/drawing/TypographyStyle.h +41 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGCircleJSIBinder.h +54 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGClipPathJSIBinder.h +54 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGDefsJSIBinder.h +38 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGEllipseJSIBinder.h +55 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeBlendJSIBinder.h +26 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeColorMatrixJSIBinder.h +26 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeCompositeJSIBinder.h +30 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeFloodJSIBinder.h +26 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeGaussianBlurJSIBinder.h +27 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFeOffsetJSIBinder.h +26 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGFilterJSIBinder.h +44 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGForeignObjectJSIBinder.h +57 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGGroupJSIBinder.h +54 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGImageJSIBinder.h +58 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGLineJSIBinder.h +55 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGLinearGradientJSIBinder.h +45 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGMarkerJSIBinder.h +66 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGMaskJSIBinder.h +60 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGPathJSIBinder.h +52 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGPatternJSIBinder.h +67 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGRadialGradientJSIBinder.h +47 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGRectJSIBinder.h +57 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGSvgViewAndroidJSIBinder.h +67 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGSvgViewJSIBinder.h +36 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGSymbolJSIBinder.h +60 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGTSpanJSIBinder.h +66 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGTextJSIBinder.h +65 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGTextPathJSIBinder.h +71 -0
- package/harmony/svg/src/main/cpp/generated/RNOH/generated/components/RNSVGUseJSIBinder.h +56 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/ComponentDescriptors.h +48 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/EventEmitters.cpp +20 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/EventEmitters.h +253 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/Props.cpp +977 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/Props.h +1280 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/ShadowNodes.cpp +45 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/ShadowNodes.h +331 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/States.cpp +18 -0
- package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/States.h +441 -0
- package/harmony/svg/src/main/cpp/properties/Color.cpp +458 -0
- package/harmony/svg/src/main/cpp/properties/Color.h +144 -0
- package/harmony/svg/src/main/cpp/properties/Decoration.cpp +41 -0
- package/harmony/svg/src/main/cpp/properties/Decoration.h +483 -0
- package/harmony/svg/src/main/cpp/properties/Dimension.cpp +64 -0
- package/harmony/svg/src/main/cpp/properties/Dimension.h +243 -0
- package/harmony/svg/src/main/cpp/properties/Font.cpp +166 -0
- package/harmony/svg/src/main/cpp/properties/Font.h +163 -0
- package/harmony/svg/src/main/cpp/properties/Offset.h +119 -0
- package/harmony/svg/src/main/cpp/properties/PaintState.h +240 -0
- package/harmony/svg/src/main/cpp/properties/Rect.h +423 -0
- package/harmony/svg/src/main/cpp/properties/Size.h +246 -0
- package/harmony/svg/src/main/cpp/properties/SvgPaintState.h +452 -0
- package/harmony/svg/src/main/cpp/properties/TextProperties.cpp +91 -0
- package/harmony/svg/src/main/cpp/properties/TextProperties.h +56 -0
- package/harmony/svg/src/main/cpp/properties/ViewBox.h +108 -0
- package/harmony/svg/src/main/cpp/svgImage/RNSVGImageComponentDescriptor.h +41 -0
- package/harmony/svg/src/main/cpp/svgImage/RNSVGImageShadowNode.cpp +62 -0
- package/harmony/svg/src/main/cpp/svgImage/RNSVGImageShadowNode.h +63 -0
- package/harmony/svg/src/main/cpp/svgImage/RNSVGImageState.cpp +17 -0
- package/harmony/svg/src/main/cpp/svgImage/RNSVGImageState.h +58 -0
- package/harmony/svg/src/main/cpp/turboModules/RNSVGImageModule.cpp +54 -0
- package/harmony/svg/src/main/cpp/turboModules/RNSVGImageModule.h +32 -0
- package/harmony/svg/src/main/cpp/turboModules/RNSVGRenderableModule.cpp +101 -0
- package/harmony/svg/src/main/cpp/turboModules/RNSVGRenderableModule.h +32 -0
- package/harmony/svg/src/main/cpp/turboModules/RNSVGSvgViewModule.cpp +71 -0
- package/harmony/svg/src/main/cpp/turboModules/RNSVGSvgViewModule.h +32 -0
- package/harmony/svg/src/main/cpp/utils/DynamicUtils.h +55 -0
- package/harmony/svg/src/main/cpp/utils/FilterManager.h +190 -0
- package/harmony/svg/src/main/cpp/utils/GlyphContext.cpp +221 -0
- package/harmony/svg/src/main/cpp/utils/GlyphContext.h +106 -0
- package/harmony/svg/src/main/cpp/utils/LinearMap.h +69 -0
- package/harmony/svg/src/main/cpp/utils/PathParserUtils.cpp +591 -0
- package/harmony/svg/src/main/cpp/utils/PathParserUtils.h +93 -0
- package/harmony/svg/src/main/cpp/utils/StringUtils.cpp +134 -0
- package/harmony/svg/src/main/cpp/utils/StringUtils.h +644 -0
- package/harmony/svg/src/main/cpp/utils/SvgAttributesParser.cpp +239 -0
- package/harmony/svg/src/main/cpp/utils/SvgAttributesParser.h +277 -0
- package/harmony/svg/src/main/cpp/utils/SvgMarkerPositionUtils.h +200 -0
- package/harmony/svg/src/main/cpp/utils/SvgUtils.h +176 -0
- package/harmony/svg/src/main/cpp/utils/TextPathHelper.cpp +94 -0
- package/harmony/svg/src/main/cpp/utils/TextPathHelper.h +61 -0
- package/harmony/svg/src/main/ets/RNSVGImageModule.ts +21 -0
- package/harmony/svg/src/main/ets/RNSVGRenderableModule.ts +16 -0
- package/harmony/svg/src/main/ets/RNSVGSvgViewModule.ts +18 -0
- package/harmony/svg/src/main/ets/SvgPackage.ts +58 -0
- package/harmony/svg/src/main/module.json5 +7 -0
- package/harmony/svg/src/main/resources/base/element/string.json +8 -0
- package/harmony/svg/src/main/resources/en_US/element/string.json +8 -0
- package/harmony/svg/src/main/resources/zh_CN/element/string.json +8 -0
- package/harmony/svg/ts.ts +8 -0
- package/harmony/svg.har +0 -0
- package/lib/commonjs/css/index.js +55 -0
- package/lib/commonjs/css/index.js.map +1 -0
- package/lib/commonjs/index.js +26 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/module/css/index.js +4 -0
- package/lib/module/css/index.js.map +1 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -0
- package/lib/typescript/babel.config.d.ts +8 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/example/babel.config.d.ts +3 -0
- package/lib/typescript/example/babel.config.d.ts.map +1 -0
- package/lib/typescript/example/contexts.d.ts +3 -0
- package/lib/typescript/example/contexts.d.ts.map +1 -0
- package/lib/typescript/example/harmony/entry/hvigorfile.d.ts +2 -0
- package/lib/typescript/example/harmony/entry/hvigorfile.d.ts.map +1 -0
- package/lib/typescript/example/harmony/hvigorfile.d.ts +2 -0
- package/lib/typescript/example/harmony/hvigorfile.d.ts.map +1 -0
- package/lib/typescript/example/index.d.ts +2 -0
- package/lib/typescript/example/index.d.ts.map +1 -0
- package/lib/typescript/example/jest.config.d.ts +3 -0
- package/lib/typescript/example/jest.config.d.ts.map +1 -0
- package/lib/typescript/example/metro.config.d.ts +3 -0
- package/lib/typescript/example/metro.config.d.ts.map +1 -0
- package/lib/typescript/example/react-native.config.d.ts +3 -0
- package/lib/typescript/example/react-native.config.d.ts.map +1 -0
- package/lib/typescript/example/scripts/create-build-profile.d.ts +2 -0
- package/lib/typescript/example/scripts/create-build-profile.d.ts.map +1 -0
- package/lib/typescript/example/src/index.d.ts +3 -0
- package/lib/typescript/example/src/index.d.ts.map +1 -0
- package/lib/typescript/src/css/index.d.ts +4 -0
- package/lib/typescript/src/css/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +54 -0
- package/src/css/index.tsx +20 -0
- package/src/index.tsx +3 -0
- package/tsconfig.json +12 -0
package/harmony/svg/src/main/cpp/generated/react/renderer/components/react_native_svg/States.h
ADDED
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
+
*
|
|
4
|
+
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
+
* once the code is regenerated.
|
|
6
|
+
*
|
|
7
|
+
* @generated by codegen project: GenerateStateH.js
|
|
8
|
+
*/
|
|
9
|
+
#pragma once
|
|
10
|
+
|
|
11
|
+
#ifdef ANDROID
|
|
12
|
+
#include <folly/dynamic.h>
|
|
13
|
+
#include <react/renderer/mapbuffer/MapBuffer.h>
|
|
14
|
+
#include <react/renderer/mapbuffer/MapBufferBuilder.h>
|
|
15
|
+
#endif
|
|
16
|
+
|
|
17
|
+
namespace facebook {
|
|
18
|
+
namespace react {
|
|
19
|
+
|
|
20
|
+
class RNSVGSvgViewAndroidState {
|
|
21
|
+
public:
|
|
22
|
+
RNSVGSvgViewAndroidState() = default;
|
|
23
|
+
|
|
24
|
+
#ifdef ANDROID
|
|
25
|
+
RNSVGSvgViewAndroidState(RNSVGSvgViewAndroidState const &previousState, folly::dynamic data){};
|
|
26
|
+
folly::dynamic getDynamic() const {
|
|
27
|
+
return {};
|
|
28
|
+
};
|
|
29
|
+
MapBuffer getMapBuffer() const {
|
|
30
|
+
return MapBufferBuilder::EMPTY();
|
|
31
|
+
};
|
|
32
|
+
#endif
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
class RNSVGCircleState {
|
|
36
|
+
public:
|
|
37
|
+
RNSVGCircleState() = default;
|
|
38
|
+
|
|
39
|
+
#ifdef ANDROID
|
|
40
|
+
RNSVGCircleState(RNSVGCircleState const &previousState, folly::dynamic data){};
|
|
41
|
+
folly::dynamic getDynamic() const {
|
|
42
|
+
return {};
|
|
43
|
+
};
|
|
44
|
+
MapBuffer getMapBuffer() const {
|
|
45
|
+
return MapBufferBuilder::EMPTY();
|
|
46
|
+
};
|
|
47
|
+
#endif
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
class RNSVGClipPathState {
|
|
51
|
+
public:
|
|
52
|
+
RNSVGClipPathState() = default;
|
|
53
|
+
|
|
54
|
+
#ifdef ANDROID
|
|
55
|
+
RNSVGClipPathState(RNSVGClipPathState const &previousState, folly::dynamic data){};
|
|
56
|
+
folly::dynamic getDynamic() const {
|
|
57
|
+
return {};
|
|
58
|
+
};
|
|
59
|
+
MapBuffer getMapBuffer() const {
|
|
60
|
+
return MapBufferBuilder::EMPTY();
|
|
61
|
+
};
|
|
62
|
+
#endif
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
class RNSVGDefsState {
|
|
66
|
+
public:
|
|
67
|
+
RNSVGDefsState() = default;
|
|
68
|
+
|
|
69
|
+
#ifdef ANDROID
|
|
70
|
+
RNSVGDefsState(RNSVGDefsState const &previousState, folly::dynamic data){};
|
|
71
|
+
folly::dynamic getDynamic() const {
|
|
72
|
+
return {};
|
|
73
|
+
};
|
|
74
|
+
MapBuffer getMapBuffer() const {
|
|
75
|
+
return MapBufferBuilder::EMPTY();
|
|
76
|
+
};
|
|
77
|
+
#endif
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
class RNSVGEllipseState {
|
|
81
|
+
public:
|
|
82
|
+
RNSVGEllipseState() = default;
|
|
83
|
+
|
|
84
|
+
#ifdef ANDROID
|
|
85
|
+
RNSVGEllipseState(RNSVGEllipseState const &previousState, folly::dynamic data){};
|
|
86
|
+
folly::dynamic getDynamic() const {
|
|
87
|
+
return {};
|
|
88
|
+
};
|
|
89
|
+
MapBuffer getMapBuffer() const {
|
|
90
|
+
return MapBufferBuilder::EMPTY();
|
|
91
|
+
};
|
|
92
|
+
#endif
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
class RNSVGForeignObjectState {
|
|
96
|
+
public:
|
|
97
|
+
RNSVGForeignObjectState() = default;
|
|
98
|
+
|
|
99
|
+
#ifdef ANDROID
|
|
100
|
+
RNSVGForeignObjectState(RNSVGForeignObjectState const &previousState, folly::dynamic data){};
|
|
101
|
+
folly::dynamic getDynamic() const {
|
|
102
|
+
return {};
|
|
103
|
+
};
|
|
104
|
+
MapBuffer getMapBuffer() const {
|
|
105
|
+
return MapBufferBuilder::EMPTY();
|
|
106
|
+
};
|
|
107
|
+
#endif
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
class RNSVGGroupState {
|
|
111
|
+
public:
|
|
112
|
+
RNSVGGroupState() = default;
|
|
113
|
+
|
|
114
|
+
#ifdef ANDROID
|
|
115
|
+
RNSVGGroupState(RNSVGGroupState const &previousState, folly::dynamic data){};
|
|
116
|
+
folly::dynamic getDynamic() const {
|
|
117
|
+
return {};
|
|
118
|
+
};
|
|
119
|
+
MapBuffer getMapBuffer() const {
|
|
120
|
+
return MapBufferBuilder::EMPTY();
|
|
121
|
+
};
|
|
122
|
+
#endif
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
class RNSVGSvgViewState {
|
|
126
|
+
public:
|
|
127
|
+
RNSVGSvgViewState() = default;
|
|
128
|
+
|
|
129
|
+
#ifdef ANDROID
|
|
130
|
+
RNSVGSvgViewState(RNSVGSvgViewState const &previousState, folly::dynamic data){};
|
|
131
|
+
folly::dynamic getDynamic() const {
|
|
132
|
+
return {};
|
|
133
|
+
};
|
|
134
|
+
MapBuffer getMapBuffer() const {
|
|
135
|
+
return MapBufferBuilder::EMPTY();
|
|
136
|
+
};
|
|
137
|
+
#endif
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
class RNSVGLinearGradientState {
|
|
141
|
+
public:
|
|
142
|
+
RNSVGLinearGradientState() = default;
|
|
143
|
+
|
|
144
|
+
#ifdef ANDROID
|
|
145
|
+
RNSVGLinearGradientState(RNSVGLinearGradientState const &previousState, folly::dynamic data){};
|
|
146
|
+
folly::dynamic getDynamic() const {
|
|
147
|
+
return {};
|
|
148
|
+
};
|
|
149
|
+
MapBuffer getMapBuffer() const {
|
|
150
|
+
return MapBufferBuilder::EMPTY();
|
|
151
|
+
};
|
|
152
|
+
#endif
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
class RNSVGLineState {
|
|
156
|
+
public:
|
|
157
|
+
RNSVGLineState() = default;
|
|
158
|
+
|
|
159
|
+
#ifdef ANDROID
|
|
160
|
+
RNSVGLineState(RNSVGLineState const &previousState, folly::dynamic data){};
|
|
161
|
+
folly::dynamic getDynamic() const {
|
|
162
|
+
return {};
|
|
163
|
+
};
|
|
164
|
+
MapBuffer getMapBuffer() const {
|
|
165
|
+
return MapBufferBuilder::EMPTY();
|
|
166
|
+
};
|
|
167
|
+
#endif
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
class RNSVGMarkerState {
|
|
171
|
+
public:
|
|
172
|
+
RNSVGMarkerState() = default;
|
|
173
|
+
|
|
174
|
+
#ifdef ANDROID
|
|
175
|
+
RNSVGMarkerState(RNSVGMarkerState const &previousState, folly::dynamic data){};
|
|
176
|
+
folly::dynamic getDynamic() const {
|
|
177
|
+
return {};
|
|
178
|
+
};
|
|
179
|
+
MapBuffer getMapBuffer() const {
|
|
180
|
+
return MapBufferBuilder::EMPTY();
|
|
181
|
+
};
|
|
182
|
+
#endif
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
class RNSVGMaskState {
|
|
186
|
+
public:
|
|
187
|
+
RNSVGMaskState() = default;
|
|
188
|
+
|
|
189
|
+
#ifdef ANDROID
|
|
190
|
+
RNSVGMaskState(RNSVGMaskState const &previousState, folly::dynamic data){};
|
|
191
|
+
folly::dynamic getDynamic() const {
|
|
192
|
+
return {};
|
|
193
|
+
};
|
|
194
|
+
MapBuffer getMapBuffer() const {
|
|
195
|
+
return MapBufferBuilder::EMPTY();
|
|
196
|
+
};
|
|
197
|
+
#endif
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
class RNSVGPathState {
|
|
201
|
+
public:
|
|
202
|
+
RNSVGPathState() = default;
|
|
203
|
+
|
|
204
|
+
#ifdef ANDROID
|
|
205
|
+
RNSVGPathState(RNSVGPathState const &previousState, folly::dynamic data){};
|
|
206
|
+
folly::dynamic getDynamic() const {
|
|
207
|
+
return {};
|
|
208
|
+
};
|
|
209
|
+
MapBuffer getMapBuffer() const {
|
|
210
|
+
return MapBufferBuilder::EMPTY();
|
|
211
|
+
};
|
|
212
|
+
#endif
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
class RNSVGPatternState {
|
|
216
|
+
public:
|
|
217
|
+
RNSVGPatternState() = default;
|
|
218
|
+
|
|
219
|
+
#ifdef ANDROID
|
|
220
|
+
RNSVGPatternState(RNSVGPatternState const &previousState, folly::dynamic data){};
|
|
221
|
+
folly::dynamic getDynamic() const {
|
|
222
|
+
return {};
|
|
223
|
+
};
|
|
224
|
+
MapBuffer getMapBuffer() const {
|
|
225
|
+
return MapBufferBuilder::EMPTY();
|
|
226
|
+
};
|
|
227
|
+
#endif
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
class RNSVGRadialGradientState {
|
|
231
|
+
public:
|
|
232
|
+
RNSVGRadialGradientState() = default;
|
|
233
|
+
|
|
234
|
+
#ifdef ANDROID
|
|
235
|
+
RNSVGRadialGradientState(RNSVGRadialGradientState const &previousState, folly::dynamic data){};
|
|
236
|
+
folly::dynamic getDynamic() const {
|
|
237
|
+
return {};
|
|
238
|
+
};
|
|
239
|
+
MapBuffer getMapBuffer() const {
|
|
240
|
+
return MapBufferBuilder::EMPTY();
|
|
241
|
+
};
|
|
242
|
+
#endif
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
class RNSVGRectState {
|
|
246
|
+
public:
|
|
247
|
+
RNSVGRectState() = default;
|
|
248
|
+
|
|
249
|
+
#ifdef ANDROID
|
|
250
|
+
RNSVGRectState(RNSVGRectState const &previousState, folly::dynamic data){};
|
|
251
|
+
folly::dynamic getDynamic() const {
|
|
252
|
+
return {};
|
|
253
|
+
};
|
|
254
|
+
MapBuffer getMapBuffer() const {
|
|
255
|
+
return MapBufferBuilder::EMPTY();
|
|
256
|
+
};
|
|
257
|
+
#endif
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
class RNSVGSymbolState {
|
|
261
|
+
public:
|
|
262
|
+
RNSVGSymbolState() = default;
|
|
263
|
+
|
|
264
|
+
#ifdef ANDROID
|
|
265
|
+
RNSVGSymbolState(RNSVGSymbolState const &previousState, folly::dynamic data){};
|
|
266
|
+
folly::dynamic getDynamic() const {
|
|
267
|
+
return {};
|
|
268
|
+
};
|
|
269
|
+
MapBuffer getMapBuffer() const {
|
|
270
|
+
return MapBufferBuilder::EMPTY();
|
|
271
|
+
};
|
|
272
|
+
#endif
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
class RNSVGTextState {
|
|
276
|
+
public:
|
|
277
|
+
RNSVGTextState() = default;
|
|
278
|
+
|
|
279
|
+
#ifdef ANDROID
|
|
280
|
+
RNSVGTextState(RNSVGTextState const &previousState, folly::dynamic data){};
|
|
281
|
+
folly::dynamic getDynamic() const {
|
|
282
|
+
return {};
|
|
283
|
+
};
|
|
284
|
+
MapBuffer getMapBuffer() const {
|
|
285
|
+
return MapBufferBuilder::EMPTY();
|
|
286
|
+
};
|
|
287
|
+
#endif
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
class RNSVGTextPathState {
|
|
291
|
+
public:
|
|
292
|
+
RNSVGTextPathState() = default;
|
|
293
|
+
|
|
294
|
+
#ifdef ANDROID
|
|
295
|
+
RNSVGTextPathState(RNSVGTextPathState const &previousState, folly::dynamic data){};
|
|
296
|
+
folly::dynamic getDynamic() const {
|
|
297
|
+
return {};
|
|
298
|
+
};
|
|
299
|
+
MapBuffer getMapBuffer() const {
|
|
300
|
+
return MapBufferBuilder::EMPTY();
|
|
301
|
+
};
|
|
302
|
+
#endif
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
class RNSVGTSpanState {
|
|
306
|
+
public:
|
|
307
|
+
RNSVGTSpanState() = default;
|
|
308
|
+
|
|
309
|
+
#ifdef ANDROID
|
|
310
|
+
RNSVGTSpanState(RNSVGTSpanState const &previousState, folly::dynamic data){};
|
|
311
|
+
folly::dynamic getDynamic() const {
|
|
312
|
+
return {};
|
|
313
|
+
};
|
|
314
|
+
MapBuffer getMapBuffer() const {
|
|
315
|
+
return MapBufferBuilder::EMPTY();
|
|
316
|
+
};
|
|
317
|
+
#endif
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
class RNSVGUseState {
|
|
321
|
+
public:
|
|
322
|
+
RNSVGUseState() = default;
|
|
323
|
+
|
|
324
|
+
#ifdef ANDROID
|
|
325
|
+
RNSVGUseState(RNSVGUseState const &previousState, folly::dynamic data){};
|
|
326
|
+
folly::dynamic getDynamic() const {
|
|
327
|
+
return {};
|
|
328
|
+
};
|
|
329
|
+
MapBuffer getMapBuffer() const {
|
|
330
|
+
return MapBufferBuilder::EMPTY();
|
|
331
|
+
};
|
|
332
|
+
#endif
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
class RNSVGFeBlendState {
|
|
336
|
+
public:
|
|
337
|
+
RNSVGFeBlendState() = default;
|
|
338
|
+
|
|
339
|
+
#ifdef ANDROID
|
|
340
|
+
RNSVGFeBlendState(RNSVGFeBlendState const &previousState, folly::dynamic data){};
|
|
341
|
+
folly::dynamic getDynamic() const {
|
|
342
|
+
return {};
|
|
343
|
+
};
|
|
344
|
+
MapBuffer getMapBuffer() const {
|
|
345
|
+
return MapBufferBuilder::EMPTY();
|
|
346
|
+
};
|
|
347
|
+
#endif
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
class RNSVGFeFloodState {
|
|
351
|
+
public:
|
|
352
|
+
RNSVGFeFloodState() = default;
|
|
353
|
+
|
|
354
|
+
#ifdef ANDROID
|
|
355
|
+
RNSVGFeFloodState(RNSVGFeFloodState const &previousState, folly::dynamic data){};
|
|
356
|
+
folly::dynamic getDynamic() const {
|
|
357
|
+
return {};
|
|
358
|
+
};
|
|
359
|
+
MapBuffer getMapBuffer() const {
|
|
360
|
+
return MapBufferBuilder::EMPTY();
|
|
361
|
+
};
|
|
362
|
+
#endif
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
class RNSVGFeCompositeState {
|
|
366
|
+
public:
|
|
367
|
+
RNSVGFeCompositeState() = default;
|
|
368
|
+
|
|
369
|
+
#ifdef ANDROID
|
|
370
|
+
RNSVGFeCompositeState(RNSVGFeCompositeState const &previousState, folly::dynamic data){};
|
|
371
|
+
folly::dynamic getDynamic() const {
|
|
372
|
+
return {};
|
|
373
|
+
};
|
|
374
|
+
MapBuffer getMapBuffer() const {
|
|
375
|
+
return MapBufferBuilder::EMPTY();
|
|
376
|
+
};
|
|
377
|
+
#endif
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
class RNSVGFeGaussianBlurState {
|
|
381
|
+
public:
|
|
382
|
+
RNSVGFeGaussianBlurState() = default;
|
|
383
|
+
|
|
384
|
+
#ifdef ANDROID
|
|
385
|
+
RNSVGFeGaussianBlurState(RNSVGFeGaussianBlurState const &previousState, folly::dynamic data){};
|
|
386
|
+
folly::dynamic getDynamic() const {
|
|
387
|
+
return {};
|
|
388
|
+
};
|
|
389
|
+
MapBuffer getMapBuffer() const {
|
|
390
|
+
return MapBufferBuilder::EMPTY();
|
|
391
|
+
};
|
|
392
|
+
#endif
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
class RNSVGFeColorMatrixState {
|
|
396
|
+
public:
|
|
397
|
+
RNSVGFeColorMatrixState() = default;
|
|
398
|
+
|
|
399
|
+
#ifdef ANDROID
|
|
400
|
+
RNSVGFeColorMatrixState(RNSVGFeColorMatrixState const &previousState, folly::dynamic data){};
|
|
401
|
+
folly::dynamic getDynamic() const {
|
|
402
|
+
return {};
|
|
403
|
+
};
|
|
404
|
+
MapBuffer getMapBuffer() const {
|
|
405
|
+
return MapBufferBuilder::EMPTY();
|
|
406
|
+
};
|
|
407
|
+
#endif
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
class RNSVGFeOffsetState {
|
|
411
|
+
public:
|
|
412
|
+
RNSVGFeOffsetState() = default;
|
|
413
|
+
|
|
414
|
+
#ifdef ANDROID
|
|
415
|
+
RNSVGFeOffsetState(RNSVGFeOffsetState const &previousState, folly::dynamic data){};
|
|
416
|
+
folly::dynamic getDynamic() const {
|
|
417
|
+
return {};
|
|
418
|
+
};
|
|
419
|
+
MapBuffer getMapBuffer() const {
|
|
420
|
+
return MapBufferBuilder::EMPTY();
|
|
421
|
+
};
|
|
422
|
+
#endif
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
class RNSVGFilterState {
|
|
426
|
+
public:
|
|
427
|
+
RNSVGFilterState() = default;
|
|
428
|
+
|
|
429
|
+
#ifdef ANDROID
|
|
430
|
+
RNSVGFilterState(RNSVGFilterState const &previousState, folly::dynamic data){};
|
|
431
|
+
folly::dynamic getDynamic() const {
|
|
432
|
+
return {};
|
|
433
|
+
};
|
|
434
|
+
MapBuffer getMapBuffer() const {
|
|
435
|
+
return MapBufferBuilder::EMPTY();
|
|
436
|
+
};
|
|
437
|
+
#endif
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
} // namespace react
|
|
441
|
+
} // namespace facebook
|