@fluidattacks/design 1.2.9 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design.js +141 -62
- package/dist/design.mjs +772 -685
- package/dist/node_modules/@cloudinary/react/index.d.ts +4 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/By3dLutAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/FillLightAction.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ImproveAction.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/OpacityAdjustAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/RecolorAction.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ReplaceColorAction.d.ts +36 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/simple/ViesusCorrectAdjustAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust.d.ts +263 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/animated.d.ts +54 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/border.d.ts +101 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/CustomFunctionAction.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/RemoteAction.d.ts +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction.d.ts +25 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceFromICCAction.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryDPRAction.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryQualityAction.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery.d.ts +156 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/AssistColorBlind.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/BackgroundRemoval.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Blur.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Cartoonify.d.ts +38 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Colorize.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Dither.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/DropShadow.d.ts +40 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithBlend.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithLevel.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithStrength.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/LeveledEffectAction.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/SimpleEffectAction.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Extract.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeBackgroundReplace.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRecolor.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRemove.d.ts +25 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeReplace.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GradientFade.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Outline.d.ts +48 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/RemoveBackgroundAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Shadow.d.ts +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/SimulateColorBlind.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/StyleTransfer.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Theme.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Vectorize.d.ts +51 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Accelerate.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Blackwhite.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Deshake.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeIn.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeOut.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Loop.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/MakeTransparent.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/pixelate/Pixelate.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect.d.ts +516 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/layer/LayerAction.d.ts +75 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation/NamedTransformationAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/overlay.d.ts +48 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/ClipAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/GetLayerAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/SmartObjectAction.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools.d.ts +78 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAdvancedAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAutoPadAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeCropAction.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeFillAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFillAction.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFitAction.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitPadAction.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeMinimumPadAction.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizePadAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeScaleAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeSimpleAction.d.ts +52 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ThumbnailAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize.d.ts +234 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate/RotateAction.d.ts +34 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners/RoundCornersAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioCodecAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioFrequencyAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/BitRateAction.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSRangeAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/KeyframeIntervalsAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/StreamingProfile.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/ToAnimatedAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/VideoCodecAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode.d.ts +197 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/underlay.d.ts +50 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/ConcatenateAction.d.ts +56 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/PreviewAction.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/TrimAction.d.ts +50 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/VolumeAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit.d.ts +117 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/createCloudinaryLegacyURL.d.ts +2 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/expression.d.ts +160 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/transformation.d.ts +191 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/index.d.ts +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.d.ts +45 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IAudioSourceModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.d.ts +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IFetchSourceModel.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IImageSourceModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IStrokeModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ITextSourceModel.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/createGravityModel.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/GradientFade.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat/AnimatedFormatQualifierValue.d.ts +8 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat.d.ts +39 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/artisticFilter.d.ts +136 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio/AspectRatioQualifierValue.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio.d.ts +68 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioCodec.d.ts +40 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioFrequency.d.ts +100 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/autoFocus.d.ts +58 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BackgroundGenerativeFillQualifier.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BlurredBackgroundAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoBorderQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoPredominantQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BackgroundQualifier.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseCommonBackground.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseGradientBackground.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundBorderGradientQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundPredominantGradientQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background.d.ts +85 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/blendMode/BlendModeQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/chromaSubSampling.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/color.d.ts +685 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/colorSpace.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dither.d.ts +123 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dpr.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression/ExpressionQualifier.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/focusOn.d.ts +256 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontHinting.d.ts +35 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontStyle.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontWeight.d.ts +35 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format.d.ts +522 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection/GradientDirectionQualifierValue.d.ts +8 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection.d.ts +41 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/GravityQualifier.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/autoGravity/AutoGravity.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/compassGravity/CompassGravity.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/focusOnGravity/FocusOnGravity.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/compass/CompassQualifier.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/focusOn/FocusOnValue.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/xyCenterGravity/XYCenterGravity.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity.d.ts +97 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/improveMode.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/outlineMode.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position/PositionQualifier.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/quality.d.ts +81 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/CustomRegion.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/NamedRegion.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/RectangleRegion.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region.d.ts +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotate/RotationModeQualifierValue.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotationMode.d.ts +45 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/simulateColorBlind.d.ts +59 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/BaseSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/AudioSource.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/BaseTextSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/FetchSource.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/ImageSource.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/SubtitlesSource.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/TextSource.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/VideoSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source.d.ts +72 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/streamingProfile.d.ts +51 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textAlignment.d.ts +47 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textDecoration.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStroke.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStyle.d.ts +71 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/video/TimelinePosition.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/videoCodecType/VideoCodecType.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.d.ts +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.d.ts +196 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.d.ts +9 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/adjust.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/animated.d.ts +8 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/border.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/customFunction.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/delivery.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/effect.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/namedTransformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/overlay.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/psdTools.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/resize.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/rotate.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/roundCorners.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/transcode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/underlay.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/videoEdit.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions.d.ts +15 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.d.ts +112 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.d.ts +12 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryMedia.d.ts +33 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.d.ts +179 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.d.ts +26 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/createCloudinaryLegacyURL.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/expression.d.ts +160 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/generateTransformationString.d.ts +14 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/transformation.d.ts +191 -0
- package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.d.ts +4 -0
- package/dist/node_modules/@cloudinary/url-gen/config/CloudConfig.d.ts +26 -0
- package/dist/node_modules/@cloudinary/url-gen/config/CloudinaryConfig.d.ts +22 -0
- package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.d.ts +61 -0
- package/dist/node_modules/@cloudinary/url-gen/index.d.ts +16 -0
- package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.d.ts +13 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/GradientFade.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/animatedFormat.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/artisticFilter.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/aspectRatio.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioCodec.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioFrequency.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/background.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/chromaSubSampling.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/color.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/colorSpace.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/dither.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/dpr.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/expression.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontHinting.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontStyle.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontWeight.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/format.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/gradientDirection.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/gravity.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/improveMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/outlineMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/position.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/quality.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/region.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/rotationMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/simulateColorBlind.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/source.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/streamingProfile.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textAlignment.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textDecoration.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textStroke.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers.d.ts +31 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/ImageTransformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/Transformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/VideoTransformation.d.ts +2 -0
- package/dist/src/components/accordion/styles.d.ts +6 -0
- package/dist/src/components/accordion/types.d.ts +29 -0
- package/dist/src/components/accordion/utils.d.ts +11 -0
- package/dist/src/components/button/styles.d.ts +1 -0
- package/dist/src/components/button/types.d.ts +7 -3
- package/dist/src/components/button/utils.d.ts +3 -0
- package/dist/src/components/cloud-image/index.d.ts +3 -3
- package/dist/src/components/cloud-image/types.d.ts +2 -2
- package/dist/src/components/grid-layout/styles.d.ts +8 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/button/index.stories.d.ts +0 -10
- package/dist/src/components/container/index.stories.d.ts +0 -7
- package/dist/src/components/grid-layout/index.stories.d.ts +0 -5
- package/dist/src/components/tooltip/index.stories.d.ts +0 -8
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { IGenerativeRemoveModel } from '../../internal/models/IEffectActionModel.js';
|
|
3
|
+
import { RectangleRegion } from '../../qualifiers/region/RectangleRegion.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description A class that defines how to remove objects from an asset using Generative AI
|
|
6
|
+
* @extends SDK.Action
|
|
7
|
+
* @memberOf Actions.Effect
|
|
8
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
9
|
+
*/
|
|
10
|
+
declare class GenerativeRemove extends Action {
|
|
11
|
+
private _prompts;
|
|
12
|
+
private _regions;
|
|
13
|
+
private _detectMultiple;
|
|
14
|
+
private _removeShadow;
|
|
15
|
+
constructor();
|
|
16
|
+
prompt(...value: string[]): this;
|
|
17
|
+
region(...value: RectangleRegion[]): this;
|
|
18
|
+
detectMultiple(value?: boolean): this;
|
|
19
|
+
removeShadow(value?: boolean): this;
|
|
20
|
+
protected prepareQualifiers(): void;
|
|
21
|
+
private preparePromptValue;
|
|
22
|
+
private prepareRegionValue;
|
|
23
|
+
static fromJson(actionModel: IGenerativeRemoveModel): GenerativeRemove;
|
|
24
|
+
}
|
|
25
|
+
export { GenerativeRemove };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { IGenerativeReplaceModel } from '../../internal/models/IEffectActionModel.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Uses generative AI to replace parts of your image with something else.
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
* @memberOf Actions.Effect
|
|
7
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class GenerativeReplace extends Action {
|
|
10
|
+
private _from;
|
|
11
|
+
private _to;
|
|
12
|
+
private _preserveGeometry;
|
|
13
|
+
private _detectMultiple;
|
|
14
|
+
constructor();
|
|
15
|
+
from(value: string): GenerativeReplace;
|
|
16
|
+
to(value: string): GenerativeReplace;
|
|
17
|
+
preserveGeometry(value?: boolean): GenerativeReplace;
|
|
18
|
+
detectMultiple(value?: boolean): this;
|
|
19
|
+
protected prepareQualifiers(): void;
|
|
20
|
+
static fromJson(actionModel: IGenerativeReplaceModel): GenerativeReplace;
|
|
21
|
+
}
|
|
22
|
+
export { GenerativeReplace };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GradientFade.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { IGradientFadeEffecModel } from '../../internal/models/IEffectActionModel.js';
|
|
3
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description Applies a gradient fade effect from one edge of the image.
|
|
6
|
+
* @extends SDK.Action
|
|
7
|
+
* @memberOf Actions.Effect
|
|
8
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
9
|
+
*/
|
|
10
|
+
declare class GradientFadeEffectAction extends Action {
|
|
11
|
+
private _strength;
|
|
12
|
+
private _type;
|
|
13
|
+
protected _actionModel: IGradientFadeEffecModel;
|
|
14
|
+
/**
|
|
15
|
+
* @description Sets the strength of the fade effect.
|
|
16
|
+
* @param {number} strength The strength of the fade effect. (Range: 0 to 100, Server default: 20)
|
|
17
|
+
*/
|
|
18
|
+
strength(strength: number): this;
|
|
19
|
+
/**
|
|
20
|
+
* @description Sets the mode of gradient fade.
|
|
21
|
+
* @param {string | Qualifiers.GradientFade} type The mode of gradient fade.
|
|
22
|
+
*/
|
|
23
|
+
type(type: string): this;
|
|
24
|
+
/**
|
|
25
|
+
* @description Sets the x dimension of the start point.
|
|
26
|
+
* @param {number | string} x The x dimension of the start point.
|
|
27
|
+
*/
|
|
28
|
+
horizontalStartPoint(x: number | string): this;
|
|
29
|
+
/**
|
|
30
|
+
* @description Sets the y dimension of the start point.
|
|
31
|
+
* @param {number | string} y The y dimension of the start point.
|
|
32
|
+
*/
|
|
33
|
+
verticalStartPoint(y: number | string): this;
|
|
34
|
+
protected prepareQualifiers(): void;
|
|
35
|
+
static fromJson(actionModel: IActionModel): GradientFadeEffectAction;
|
|
36
|
+
}
|
|
37
|
+
export { GradientFadeEffectAction };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { SystemColors } from '../../qualifiers/color.js';
|
|
3
|
+
import { OutlineModeType } from '../../types/types.js';
|
|
4
|
+
import { IEffectOutlineModel } from '../../internal/models/IEffectActionModel.js';
|
|
5
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
6
|
+
/**
|
|
7
|
+
* @description Adds an outline to a transparent image. For examples, see the Image Transformations guide.
|
|
8
|
+
* @extends SDK.Action
|
|
9
|
+
* @memberOf Actions.Effect
|
|
10
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
11
|
+
*/
|
|
12
|
+
declare class EffectOutline extends Action {
|
|
13
|
+
private _mode;
|
|
14
|
+
private _width;
|
|
15
|
+
private _blurLevel;
|
|
16
|
+
protected _actionModel: IEffectOutlineModel;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* @description
|
|
20
|
+
* How to apply the outline effect which can be one of the following values:
|
|
21
|
+
* inner, inner_fill, outer, fill.
|
|
22
|
+
* @param {OutlineModeType|string} mode The type of outline effect. Use the constants defined in Outline.
|
|
23
|
+
* @return {this}
|
|
24
|
+
*/
|
|
25
|
+
mode(mode?: OutlineModeType | string): this;
|
|
26
|
+
/**
|
|
27
|
+
* The thickness of the outline in pixels. (Range: 1 to 100, Server default: 5)
|
|
28
|
+
* @param {number} width
|
|
29
|
+
* @return {this}
|
|
30
|
+
*/
|
|
31
|
+
width(width?: number | string): this;
|
|
32
|
+
/**
|
|
33
|
+
* @description
|
|
34
|
+
* The level of blur of the outline.
|
|
35
|
+
* Range: 0 to 2000, Server default: 0
|
|
36
|
+
* @param {number | string} lvl
|
|
37
|
+
* @return {this}
|
|
38
|
+
*/
|
|
39
|
+
blurLevel(lvl?: number | string): this;
|
|
40
|
+
/**
|
|
41
|
+
* @param {string | Qualifiers.Color} color One of the SDK Color values, string, or rgba: '#fff'
|
|
42
|
+
* @return {this}
|
|
43
|
+
*/
|
|
44
|
+
color(color: SystemColors): this;
|
|
45
|
+
protected prepareQualifiers(): void;
|
|
46
|
+
static fromJson(actionModel: IActionModel): EffectOutline;
|
|
47
|
+
}
|
|
48
|
+
export { EffectOutline };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { SystemColors } from '../../qualifiers/color.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description A class that defines how to remove the background of an asset
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
* @memberOf Actions.Effect
|
|
7
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class RemoveBackgroundAction extends Action {
|
|
10
|
+
private _screen;
|
|
11
|
+
private _colorToRemove;
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* @description Everytime this method is called, it will overwrite the e_bgremoval qualifier with new values
|
|
15
|
+
* @private
|
|
16
|
+
*/
|
|
17
|
+
private overwriteQualifier;
|
|
18
|
+
/**
|
|
19
|
+
* @description The strength of the shadow. (Range: 0 to 100, Server default: 40)
|
|
20
|
+
* @param {number} useScreen Boolean, defaults to true
|
|
21
|
+
* @return {this}
|
|
22
|
+
*/
|
|
23
|
+
screen(useScreen?: boolean): this;
|
|
24
|
+
/**
|
|
25
|
+
* @description The color to remove from the background
|
|
26
|
+
* @param {SystemColors} color
|
|
27
|
+
* @return {this}
|
|
28
|
+
*/
|
|
29
|
+
colorToRemove(color: SystemColors): this;
|
|
30
|
+
}
|
|
31
|
+
export { RemoveBackgroundAction };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { SystemColors } from '../../qualifiers/color.js';
|
|
3
|
+
import { ExpressionQualifier } from '../../qualifiers/expression/ExpressionQualifier.js';
|
|
4
|
+
import { IShadowEffectActionModel } from '../../internal/models/IEffectActionModel.js';
|
|
5
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
6
|
+
/**
|
|
7
|
+
* @description Applies a shadow filter to the asset.
|
|
8
|
+
* @memberOf Actions.Effect
|
|
9
|
+
* @extends SDK.Action
|
|
10
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
11
|
+
*/
|
|
12
|
+
declare class ShadowEffectAction extends Action {
|
|
13
|
+
protected _actionModel: IShadowEffectActionModel;
|
|
14
|
+
private effectType;
|
|
15
|
+
constructor(effectType: string, strength: number);
|
|
16
|
+
/**
|
|
17
|
+
* @description The strength of the shadow. (Range: 0 to 100, Server default: 40)
|
|
18
|
+
* @param {number} strength
|
|
19
|
+
* @return {this}
|
|
20
|
+
*/
|
|
21
|
+
strength(strength: number): this;
|
|
22
|
+
/**
|
|
23
|
+
* @description The X offset the shadow
|
|
24
|
+
* @param {number | SDK.ExpressionQualifier} x
|
|
25
|
+
* @return {this}
|
|
26
|
+
*/
|
|
27
|
+
offsetX(x: number | ExpressionQualifier): this;
|
|
28
|
+
/**
|
|
29
|
+
* @description The Y offset the shadow
|
|
30
|
+
* @param {number | SDK.ExpressionQualifier} y
|
|
31
|
+
* @return {this}
|
|
32
|
+
*/
|
|
33
|
+
offsetY(y: number | ExpressionQualifier): this;
|
|
34
|
+
/**
|
|
35
|
+
* @description The color of the shadow (Server default: gray)
|
|
36
|
+
* @param color
|
|
37
|
+
* @return {this}
|
|
38
|
+
*/
|
|
39
|
+
color(color: SystemColors): this;
|
|
40
|
+
static fromJson(actionModel: IActionModel): ShadowEffectAction;
|
|
41
|
+
}
|
|
42
|
+
export { ShadowEffectAction };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { SimulateColorBlindType } from '../../types/types.js';
|
|
3
|
+
import { ISimulateColorBlindEffectModel } from '../../internal/models/IEffectActionModel.js';
|
|
4
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
5
|
+
/**
|
|
6
|
+
* @description Simulates the way an image would appear to someone with the specified color blind condition
|
|
7
|
+
* @extends SDK.Action
|
|
8
|
+
* @memberOf Actions.Effect
|
|
9
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
10
|
+
*/
|
|
11
|
+
declare class SimulateColorBlindEffectAction extends Action {
|
|
12
|
+
protected _actionModel: ISimulateColorBlindEffectModel;
|
|
13
|
+
constructor();
|
|
14
|
+
private setQualifier;
|
|
15
|
+
/**
|
|
16
|
+
* @description Sets the color blind condition to simulate.
|
|
17
|
+
* @param {Qualifiers.simulateColorBlindValues | SimulateColorBlindType | string} cond
|
|
18
|
+
* @return {this}
|
|
19
|
+
*/
|
|
20
|
+
condition(cond: SimulateColorBlindType | string): this;
|
|
21
|
+
static fromJson(actionModel: IActionModel): SimulateColorBlindEffectAction;
|
|
22
|
+
}
|
|
23
|
+
export { SimulateColorBlindEffectAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/StyleTransfer.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { ImageSource } from '../../qualifiers/source/sourceTypes/ImageSource.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description - This Action, while belonging to Effect, acts as a modified overlay.
|
|
5
|
+
* The class implements the Builder pattern, where strength() and preserveColor()
|
|
6
|
+
* are applied to the instance, and toString() is responsible to combining them into the right result.
|
|
7
|
+
* @extends SDK.Action
|
|
8
|
+
* @memberOf Actions.Effect
|
|
9
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
10
|
+
*/
|
|
11
|
+
declare class StyleTransfer extends Action {
|
|
12
|
+
private imageSource;
|
|
13
|
+
private effectStrength;
|
|
14
|
+
private preserve;
|
|
15
|
+
/**
|
|
16
|
+
* The Image Source used to create the style transfer,
|
|
17
|
+
* Use the Image Source builder to quickly create a source:
|
|
18
|
+
* </br>Import: {@link Qualifiers.Source|import Sources from '@cloudinary/url-gen/qualifiers/sources';}
|
|
19
|
+
* </br>Create: `Source.image('dog')`
|
|
20
|
+
* @param {ImageSource} imageSource
|
|
21
|
+
*/
|
|
22
|
+
constructor(imageSource: ImageSource);
|
|
23
|
+
/**
|
|
24
|
+
* Determines the strength in which the styleTransfer is applied.
|
|
25
|
+
* @param {number} [effectStrength] - The strength level, 1-100, default: 100
|
|
26
|
+
* @return {this}
|
|
27
|
+
*/
|
|
28
|
+
strength(effectStrength?: number): this;
|
|
29
|
+
/**
|
|
30
|
+
* More aggressively preserves the colors of the the target photo,
|
|
31
|
+
* Can be used with `strength()` to enhance this behaviour
|
|
32
|
+
* @param {boolean} bool
|
|
33
|
+
* @return {this}
|
|
34
|
+
*/
|
|
35
|
+
preserveColor(bool?: boolean): this;
|
|
36
|
+
/**
|
|
37
|
+
* The `build` phase of the Action, used internally to concat all the options received into a single string.
|
|
38
|
+
* The result of this method is the toString() of the imageLayer provided in the constructor.
|
|
39
|
+
* @return {string}
|
|
40
|
+
*/
|
|
41
|
+
toString(): string;
|
|
42
|
+
}
|
|
43
|
+
export { StyleTransfer };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { SystemColors } from '../../qualifiers/color.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Changes the main background color to the one specified, as if a 'theme change' was applied (e.g. dark mode vs light mode).
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
* @memberOf {Actions.Effect}
|
|
7
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class ThemeEffect extends Action {
|
|
10
|
+
private color;
|
|
11
|
+
private _photosensitivity;
|
|
12
|
+
private effectName;
|
|
13
|
+
constructor(color: SystemColors);
|
|
14
|
+
/**
|
|
15
|
+
* @description The sensitivity to photographic elements of an image.
|
|
16
|
+
* A value of 0 treats the whole image as non-photographic.
|
|
17
|
+
* A value of 200 treats the whole image as photographic, so no theme change is applied.
|
|
18
|
+
* @param {number} photosensitivity
|
|
19
|
+
* @return {this}
|
|
20
|
+
*/
|
|
21
|
+
photosensitivity(photosensitivity: number): this;
|
|
22
|
+
protected prepareQualifiers(): void;
|
|
23
|
+
}
|
|
24
|
+
export { ThemeEffect };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Vectorize.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { IVectorizeEffectModel } from '../../internal/models/IEffectActionModel.js';
|
|
3
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description Vectorizes the image.
|
|
6
|
+
* @extends SDK.Action
|
|
7
|
+
* @memberOf Actions.Effect
|
|
8
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
9
|
+
*/
|
|
10
|
+
declare class VectorizeEffectAction extends Action {
|
|
11
|
+
private _numOfColors;
|
|
12
|
+
private _detailsLevel;
|
|
13
|
+
private _despeckleLevel;
|
|
14
|
+
private _cornersLevel;
|
|
15
|
+
private _paths;
|
|
16
|
+
protected _actionModel: IVectorizeEffectModel;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* @description The number of colors. (Range: 2 to 30, Server default: 10)
|
|
20
|
+
* @param {number | string} num
|
|
21
|
+
* @return {this}
|
|
22
|
+
*/
|
|
23
|
+
numOfColors(num: number | string): this;
|
|
24
|
+
/**
|
|
25
|
+
* @description The level of detail. Specify either a percentage of the original image (Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 1000). (Server default: 300)
|
|
26
|
+
* @param {number | string} num
|
|
27
|
+
* @return {this}
|
|
28
|
+
*/
|
|
29
|
+
detailsLevel(num: number | string): this;
|
|
30
|
+
/**
|
|
31
|
+
* @description The size of speckles to suppress. Specify either a percentage of the original image (Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 100, Server default: 2)
|
|
32
|
+
* @param {number | string} num
|
|
33
|
+
* @return {this}
|
|
34
|
+
*/
|
|
35
|
+
despeckleLevel(num: number | string): this;
|
|
36
|
+
/**
|
|
37
|
+
* @description The corner threshold. Specify 100 for no smoothing (polygon corners), 0 for completely smooth corners. (Range: 0 to 100, Default: 25)
|
|
38
|
+
* @param {number | string} num
|
|
39
|
+
* @return {this}
|
|
40
|
+
*/
|
|
41
|
+
cornersLevel(num: number | string): this;
|
|
42
|
+
/**
|
|
43
|
+
* @description The optimization value. Specify 100 for least optimization and the largest file. (Range: 0 to 100, Server default: 100).
|
|
44
|
+
* @param {number} num
|
|
45
|
+
* @return {this}
|
|
46
|
+
*/
|
|
47
|
+
paths(num: number): this;
|
|
48
|
+
protected prepareQualifiers(): void;
|
|
49
|
+
static fromJson(actionModel: IActionModel): VectorizeEffectAction;
|
|
50
|
+
}
|
|
51
|
+
export { VectorizeEffectAction };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Action } from '../../../internal/Action.js';
|
|
2
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
3
|
+
import { IAccelerateActionModel } from '../../../internal/models/IEffectActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description Changes the speed of the video playback using the rate() method
|
|
6
|
+
* @memberOf Actions.Effect
|
|
7
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class AccelerationEffectAction extends Action {
|
|
10
|
+
private _rate;
|
|
11
|
+
protected _actionModel: IAccelerateActionModel;
|
|
12
|
+
constructor(rate?: string | number);
|
|
13
|
+
rate(rate: number | string): this;
|
|
14
|
+
protected prepareQualifiers(): this;
|
|
15
|
+
static fromJson(actionModel: IActionModel): AccelerationEffectAction;
|
|
16
|
+
}
|
|
17
|
+
export { AccelerationEffectAction };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LeveledEffectAction } from '../EffectActions/LeveledEffectAction.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Converts the image to black and white.
|
|
4
|
+
* @extends LeveledEffectAction
|
|
5
|
+
* @memberOf Actions.Effect
|
|
6
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
7
|
+
*/
|
|
8
|
+
declare class BlackwhiteEffectAction extends LeveledEffectAction {
|
|
9
|
+
threshold(value: number | string): this;
|
|
10
|
+
}
|
|
11
|
+
export { BlackwhiteEffectAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Deshake.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LeveledEffectAction } from '../EffectActions/LeveledEffectAction.js';
|
|
2
|
+
import { ExpressionQualifier } from '../../../qualifiers/expression/ExpressionQualifier.js';
|
|
3
|
+
import { IDeshakeEffectModel } from '../../../internal/models/IEffectActionModel.js';
|
|
4
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
5
|
+
declare type pixels = 16 | 32 | 48 | 64;
|
|
6
|
+
/**
|
|
7
|
+
* @description Removes small motion shifts from the video. with a maximum extent of movement in the horizontal and vertical direction of 32 pixels
|
|
8
|
+
* @extends LeveledEffectAction
|
|
9
|
+
* @memberOf Actions.Effect
|
|
10
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
11
|
+
*/
|
|
12
|
+
declare class DeshakeEffectAction extends LeveledEffectAction {
|
|
13
|
+
protected _actionModel: IDeshakeEffectModel;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum number of pixels in the horizontal and vertical direction that will be addressed. (Possible values: 16, 32, 48, 64. Server default: 16)
|
|
16
|
+
* @param value Possible values: 16, 32, 48, 64. Server default: 16.
|
|
17
|
+
*/
|
|
18
|
+
shakeStrength(value: pixels | string | ExpressionQualifier): this;
|
|
19
|
+
static fromJson(actionModel: IActionModel): DeshakeEffectAction;
|
|
20
|
+
}
|
|
21
|
+
export { DeshakeEffectAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeIn.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Action } from '../../../internal/Action.js';
|
|
2
|
+
import { IFadeInEffectActionModel } from '../../../internal/models/IEffectActionModel.js';
|
|
3
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description Fade out at the end of the video, use the length() method to set the time in ms for the fade to occur. (Server default: 2000)
|
|
6
|
+
* @extends Action
|
|
7
|
+
* @memberOf Actions.Effect
|
|
8
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
9
|
+
*/
|
|
10
|
+
declare class FadeInEffectAction extends Action {
|
|
11
|
+
protected _actionModel: IFadeInEffectActionModel;
|
|
12
|
+
constructor(duration?: number);
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @description Sets the duration level for the action
|
|
16
|
+
* @param {string | number} duration - The duration of the effect
|
|
17
|
+
*/
|
|
18
|
+
duration(duration: number | string): this;
|
|
19
|
+
static fromJson(actionModel: IActionModel): FadeInEffectAction;
|
|
20
|
+
}
|
|
21
|
+
export { FadeInEffectAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeOut.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Action } from '../../../internal/Action.js';
|
|
2
|
+
import { IFadeOutEffectActionModel } from '../../../internal/models/IEffectActionModel.js';
|
|
3
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description Fade out at the end of the video, use the length() method to set the time in ms for the fade to occur. (Server default: 2000)
|
|
6
|
+
* @extends LeveledEffectAction
|
|
7
|
+
* @memberOf Actions.Effect
|
|
8
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
9
|
+
*/
|
|
10
|
+
declare class FadeOutEffectAction extends Action {
|
|
11
|
+
protected _actionModel: IFadeOutEffectActionModel;
|
|
12
|
+
constructor(duration: number);
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @description Sets the duration level for the action
|
|
16
|
+
* @param {string | number} duration - The duration of the effect
|
|
17
|
+
*/
|
|
18
|
+
duration(duration: number | string): this;
|
|
19
|
+
static fromJson(actionModel: IActionModel): FadeOutEffectAction;
|
|
20
|
+
}
|
|
21
|
+
export { FadeOutEffectAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Loop.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LeveledEffectAction } from '../EffectActions/LeveledEffectAction.js';
|
|
2
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Delivers a video or animated GIF that contains additional loops of the video/GIF.
|
|
5
|
+
* @extends LeveledEffectAction
|
|
6
|
+
* @memberOf Actions.Effect
|
|
7
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class LoopEffectAction extends LeveledEffectAction {
|
|
10
|
+
additionalIterations(value: number | string): this;
|
|
11
|
+
static fromJson(actionModel: IActionModel): LoopEffectAction;
|
|
12
|
+
}
|
|
13
|
+
export { LoopEffectAction };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LeveledEffectAction } from '../EffectActions/LeveledEffectAction.js';
|
|
2
|
+
import { SystemColors } from '../../../qualifiers/color.js';
|
|
3
|
+
import { IMakeTransparentEffectModel } from '../../../internal/models/IEffectActionModel.js';
|
|
4
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
5
|
+
/**
|
|
6
|
+
* @description Makes the background of the image transparent (or solid white for formats that do not support transparency).
|
|
7
|
+
* @extends LeveledEffectAction
|
|
8
|
+
* @memberOf Actions.Effect
|
|
9
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
10
|
+
*/
|
|
11
|
+
declare class MakeTransparentEffectAction extends LeveledEffectAction {
|
|
12
|
+
protected _actionModel: IMakeTransparentEffectModel;
|
|
13
|
+
/**
|
|
14
|
+
* @description Sets the tolerance used to accommodate variance in the background color.
|
|
15
|
+
* @param {number | string} value The tolerance used to accommodate variance in the background color. (Range: 0 to 100, Server default: 10)
|
|
16
|
+
*/
|
|
17
|
+
tolerance(value: number | string): this;
|
|
18
|
+
/**
|
|
19
|
+
* @description Sets the color to make transparent.
|
|
20
|
+
* @param {string} color The HTML name of the color (red, green, etc.) or RGB hex code.
|
|
21
|
+
* @return {this}
|
|
22
|
+
*/
|
|
23
|
+
colorToReplace(color: SystemColors): this;
|
|
24
|
+
static fromJson(actionModel: IActionModel): MakeTransparentEffectAction;
|
|
25
|
+
}
|
|
26
|
+
export { MakeTransparentEffectAction };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { NamedRegion } from '../../../qualifiers/region/NamedRegion.js';
|
|
2
|
+
import { Action } from '../../../internal/Action.js';
|
|
3
|
+
import { IPixelateModel } from '../../../internal/models/IEffectActionModel.js';
|
|
4
|
+
import { IActionModel } from '../../../internal/models/IActionModel.js';
|
|
5
|
+
/**
|
|
6
|
+
* @description The Action class of the pixelate Builder
|
|
7
|
+
* @extends SDK.Action
|
|
8
|
+
* @memberOf Actions.Effect
|
|
9
|
+
* @see Visit {@link Actions.Effect|Effect} for an example
|
|
10
|
+
*/
|
|
11
|
+
declare class Pixelate extends Action {
|
|
12
|
+
private _region?;
|
|
13
|
+
private _squareSize;
|
|
14
|
+
protected _actionModel: IPixelateModel;
|
|
15
|
+
constructor(squareSize: number | string);
|
|
16
|
+
/**
|
|
17
|
+
* @description Specifies the region to piexlate.
|
|
18
|
+
* @param {NamedRegion} pixelateRegion
|
|
19
|
+
*/
|
|
20
|
+
region(pixelateRegion: NamedRegion): this;
|
|
21
|
+
/**
|
|
22
|
+
* @description Sets the squareSize of the pixelate effect.
|
|
23
|
+
* @param {number | string} squareSize
|
|
24
|
+
*/
|
|
25
|
+
squareSize(squareSize: number | string): this;
|
|
26
|
+
protected prepareQualifiers(): void;
|
|
27
|
+
static fromJson(actionModel: IActionModel): Pixelate;
|
|
28
|
+
}
|
|
29
|
+
export { Pixelate };
|