@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,4 @@
|
|
|
1
|
+
import { placeholder, accessibility, lazyload, responsive } from '@cloudinary/html';
|
|
2
|
+
import { AdvancedImage } from './AdvancedImage';
|
|
3
|
+
import { AdvancedVideo } from './AdvancedVideo';
|
|
4
|
+
export { placeholder, accessibility, lazyload, responsive, AdvancedImage, AdvancedVideo };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/By3dLutAction.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Creates the 3D_lut layer transformation
|
|
4
|
+
* @memberOf Actions.Adjust
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
*/
|
|
7
|
+
declare class By3dLutAction extends Action {
|
|
8
|
+
readonly publicId: string;
|
|
9
|
+
constructor(publicId: string);
|
|
10
|
+
/**
|
|
11
|
+
* Returns a string representation of the action
|
|
12
|
+
* @return {string}
|
|
13
|
+
*/
|
|
14
|
+
toString(): string;
|
|
15
|
+
}
|
|
16
|
+
export { By3dLutAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/FillLightAction.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Adjusts the fill light and blends the result with the original image.
|
|
4
|
+
* @memberOf Actions.Adjust
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
*/
|
|
7
|
+
declare class FillLightAction extends Action {
|
|
8
|
+
private lvl;
|
|
9
|
+
private biasLvl;
|
|
10
|
+
constructor();
|
|
11
|
+
/**
|
|
12
|
+
* @description Sets the level of adjustment
|
|
13
|
+
* @param {number} lvl How much to blend the adjusted fill light, where 0 means only use the original and 100 means only use the adjusted fill light result. (Range: 0 to 100, Server default: 100)
|
|
14
|
+
*/
|
|
15
|
+
blend(blend: number): this;
|
|
16
|
+
/**
|
|
17
|
+
* @description Sets the level of the bias
|
|
18
|
+
* @param {number} biasLvl The bias to apply to the fill light effect (Range: -100 to 100, Server default: 0).
|
|
19
|
+
*/
|
|
20
|
+
bias(biasLvl: number): this;
|
|
21
|
+
protected prepareQualifiers(): this;
|
|
22
|
+
}
|
|
23
|
+
export { FillLightAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ImproveAction.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { ImproveActionModel } from '../../internal/models/IAdjustActionModel.js';
|
|
3
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description Defines how to improve an image by automatically adjusting image colors, contrast and brightness.</br>
|
|
6
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/transformation_reference#e_improve|Image improvement effects}
|
|
7
|
+
* @memberOf Actions.Adjust
|
|
8
|
+
*/
|
|
9
|
+
declare class ImproveAction extends Action {
|
|
10
|
+
private modeValue;
|
|
11
|
+
private blendValue;
|
|
12
|
+
protected _actionModel: ImproveActionModel;
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @description The improve mode.
|
|
17
|
+
* @param {Qualifiers.ImproveMode | string} value
|
|
18
|
+
*/
|
|
19
|
+
mode(value: 'outdoor' | 'indoor' | string): this;
|
|
20
|
+
/**
|
|
21
|
+
* @description How much to blend the improved result with the original image, where 0 means only use the original and 100 means only use the improved result. (Range: 0 to 100, Server default: 100)
|
|
22
|
+
* @param {number} value
|
|
23
|
+
*/
|
|
24
|
+
blend(value: number): this;
|
|
25
|
+
protected prepareQualifiers(): this;
|
|
26
|
+
static fromJson(actionModel: IActionModel): ImproveAction;
|
|
27
|
+
}
|
|
28
|
+
export { ImproveAction };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { OpacityActionModel } from '../../internal/models/IOpacityActionModel.js';
|
|
3
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
4
|
+
/**
|
|
5
|
+
* @description OpacityAction class, used to define the opacity of an asset
|
|
6
|
+
* @memberOf Actions.Adjust
|
|
7
|
+
* @extends SDK.Action
|
|
8
|
+
*/
|
|
9
|
+
declare class OpacityAdjustAction extends Action {
|
|
10
|
+
private level;
|
|
11
|
+
protected _actionModel: OpacityActionModel;
|
|
12
|
+
constructor(level: number);
|
|
13
|
+
static fromJson(actionModel: IActionModel): OpacityAdjustAction;
|
|
14
|
+
}
|
|
15
|
+
export { OpacityAdjustAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/RecolorAction.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @extends SDK.Action
|
|
4
|
+
* @description Converts the colors of every pixel in an image based on the supplied color matrix, in which the value of each color channel is calculated based on the values from all other channels (e.g. a 3x3 matrix for RGB, a 4x4 matrix for RGBA or CMYK, etc).<br/>
|
|
5
|
+
* For every pixel in the image, take each color channel and adjust its value by the specified values of the matrix to get a new value.
|
|
6
|
+
* @memberOf Actions.Adjust
|
|
7
|
+
*/
|
|
8
|
+
declare class RecolorAction extends Action {
|
|
9
|
+
readonly matrix: number[][];
|
|
10
|
+
constructor(recolorMatrix: number[][]);
|
|
11
|
+
}
|
|
12
|
+
export { RecolorAction };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description
|
|
4
|
+
* Maps an input color and those similar to the input color to corresponding shades of a specified output color, taking luminosity and chroma into account, in order to recolor objects in your image in a natural way.</br>
|
|
5
|
+
* More highly saturated input colors usually give the best results. It is recommended to avoid input colors approaching white, black, or gray.</br>
|
|
6
|
+
*
|
|
7
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/effects_and_artistic_enhancements#replace_color_effect|Replace color examples}
|
|
8
|
+
* @memberOf Actions.Adjust
|
|
9
|
+
*/
|
|
10
|
+
declare class ReplaceColorAction extends Action {
|
|
11
|
+
private baseColor;
|
|
12
|
+
private toleranceLevel;
|
|
13
|
+
private targetColor;
|
|
14
|
+
/**
|
|
15
|
+
* @description Sets the target output color.
|
|
16
|
+
* @param {string} toColor - The HTML name or RGB/A hex code of the target output color.
|
|
17
|
+
*/
|
|
18
|
+
constructor(toColor: string);
|
|
19
|
+
/**
|
|
20
|
+
* @description Sets the tolerance threshold.
|
|
21
|
+
* @param {number} toleranceLevel - The tolerance threshold (a radius in the LAB color space) from the input color, </br>
|
|
22
|
+
* representing the span of colors that should be replaced with a correspondingly adjusted version of the target output color. </br>
|
|
23
|
+
* Larger values result in replacing more colors within the image. </br>
|
|
24
|
+
* The more saturated the original input color, the more a change in value will impact the result (Server default: 50).
|
|
25
|
+
* @return {this}
|
|
26
|
+
*/
|
|
27
|
+
tolerance(toleranceLevel: number): this;
|
|
28
|
+
/**
|
|
29
|
+
* @description Sets the base input color to map.
|
|
30
|
+
* @param {string} baseColor - The HTML name or RGB/A hex code of the base input color to map (Server default: the most prominent high-saturation color in the image).
|
|
31
|
+
* @return {this}
|
|
32
|
+
*/
|
|
33
|
+
fromColor(baseColor: string): this;
|
|
34
|
+
protected prepareQualifiers(): this;
|
|
35
|
+
}
|
|
36
|
+
export { ReplaceColorAction };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Action } from '../../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* Enhances an image to its best visual quality with the Viesus Automatic Image Enhancement add-on.</br>
|
|
4
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/viesus_automatic_image_enhancement_addon|Viesus Automatic Image Enhancement.}
|
|
5
|
+
* @memberOf Actions.Adjust
|
|
6
|
+
*/
|
|
7
|
+
declare class ViesusCorrectAdjustAction extends Action {
|
|
8
|
+
private _noRedEye;
|
|
9
|
+
private _skinSaturation;
|
|
10
|
+
private _skinSaturationLevel;
|
|
11
|
+
/**
|
|
12
|
+
* @description Enhances the image without correcting for red eye.
|
|
13
|
+
*/
|
|
14
|
+
noRedEye(): this;
|
|
15
|
+
/**
|
|
16
|
+
* @description Applies saturation to the skin tones in the image.
|
|
17
|
+
* @param level The saturation level. (Range: -100 to 100, Server default: 50).
|
|
18
|
+
*/
|
|
19
|
+
skinSaturation(level?: number): this;
|
|
20
|
+
protected prepareQualifiers(): void;
|
|
21
|
+
}
|
|
22
|
+
export { ViesusCorrectAdjustAction };
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { FillLightAction } from './adjust/FillLightAction.js';
|
|
2
|
+
import { RecolorAction } from './adjust/RecolorAction.js';
|
|
3
|
+
import { OpacityAdjustAction } from './adjust/OpacityAdjustAction.js';
|
|
4
|
+
import { By3dLutAction } from './adjust/By3dLutAction.js';
|
|
5
|
+
import { ImproveAction } from './adjust/ImproveAction.js';
|
|
6
|
+
import { ReplaceColorAction } from './adjust/ReplaceColorAction.js';
|
|
7
|
+
import { EffectActionWithLevel } from './effect/EffectActions/EffectActionWithLevel.js';
|
|
8
|
+
import { EffectActionWithStrength } from './effect/EffectActions/EffectActionWithStrength.js';
|
|
9
|
+
import { EffectActionWithBlend } from './effect/EffectActions/EffectActionWithBlend.js';
|
|
10
|
+
import { ViesusCorrectAdjustAction } from './adjust/simple/ViesusCorrectAdjustAction.js';
|
|
11
|
+
import { SimpleEffectAction } from './effect/EffectActions/SimpleEffectAction.js';
|
|
12
|
+
import { stringOrNumber } from '../types/types.js';
|
|
13
|
+
/**
|
|
14
|
+
* @description Adjusts the visual appearance of an image or video.
|
|
15
|
+
* @memberOf Actions
|
|
16
|
+
* @namespace Adjust
|
|
17
|
+
*/
|
|
18
|
+
export declare type IAdjustAction = FillLightAction | RecolorAction | OpacityAdjustAction | By3dLutAction | ImproveAction | ReplaceColorAction | EffectActionWithLevel | EffectActionWithStrength | EffectActionWithBlend | ViesusCorrectAdjustAction | SimpleEffectAction;
|
|
19
|
+
/**
|
|
20
|
+
* @summary action
|
|
21
|
+
* @memberOf Actions.Adjust
|
|
22
|
+
* @description Blends an image with one or more tint colors at a specified intensity. </br>
|
|
23
|
+
* You can optionally equalize colors before tinting and specify gradient blend positioning per color.</br>
|
|
24
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/effects_and_artistic_enhancements#tint|Tint effect examples}
|
|
25
|
+
* @param {string} value The full tint effect value, provided as a string.
|
|
26
|
+
* @return {Actions.Effect.SimpleEffectAction}
|
|
27
|
+
*/
|
|
28
|
+
declare function tint(value?: stringOrNumber): SimpleEffectAction;
|
|
29
|
+
/**
|
|
30
|
+
* @summary action
|
|
31
|
+
* @memberOf Actions.Adjust
|
|
32
|
+
* @description Adjusts the image or video brightness.
|
|
33
|
+
* @param {number} level The level of brightness. (Range: -99 to 100, Server default: 80)
|
|
34
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
35
|
+
*/
|
|
36
|
+
declare function brightness(level?: number): EffectActionWithLevel;
|
|
37
|
+
/**
|
|
38
|
+
* @summary action
|
|
39
|
+
* @memberOf Actions.Adjust
|
|
40
|
+
* @description
|
|
41
|
+
* Enhances an image to its best visual quality with the Viesus Automatic Image Enhancement add-on.</br>
|
|
42
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/viesus_automatic_image_enhancement_addon|Viesus Automatic Image Enhancement.}
|
|
43
|
+
* @return {Actions.Adjust.ViesusCorrectAdjustAction}
|
|
44
|
+
*/
|
|
45
|
+
declare function viesusCorrect(): ViesusCorrectAdjustAction;
|
|
46
|
+
/**
|
|
47
|
+
* @summary action
|
|
48
|
+
* @memberOf Actions.Adjust
|
|
49
|
+
* @description Adjusts the image's red channel.
|
|
50
|
+
* @param {number} level The level of red. (Range: -100 to 100, Server default: 0)
|
|
51
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
52
|
+
*/
|
|
53
|
+
declare function red(level?: number): EffectActionWithLevel;
|
|
54
|
+
/**
|
|
55
|
+
* @summary action
|
|
56
|
+
* @description Applies a sharpening filter to the image.
|
|
57
|
+
* @memberOf Actions.Adjust
|
|
58
|
+
* @param {number} strength The strength of the filter. (Range: 1 to 2000, Server default: 100)
|
|
59
|
+
* @return {Actions.Effect.EffectActionWithStrength}
|
|
60
|
+
*/
|
|
61
|
+
declare function sharpen(strength?: number): EffectActionWithStrength;
|
|
62
|
+
/**
|
|
63
|
+
* @summary action
|
|
64
|
+
* @memberOf Actions.Adjust
|
|
65
|
+
* @description Adjusts the color saturation.
|
|
66
|
+
* @param {number} level The level of color saturation (Range: -100 to 100, Server default: 80).
|
|
67
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
68
|
+
*/
|
|
69
|
+
declare function saturation(level?: number): EffectActionWithLevel;
|
|
70
|
+
/**
|
|
71
|
+
* @summary action
|
|
72
|
+
* @memberOf Actions.Adjust
|
|
73
|
+
* @description Adjusts the image or video contrast.
|
|
74
|
+
* @param {number} level The level of contrast. (Range: -100 to 100, Server default: 0)
|
|
75
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
76
|
+
*/
|
|
77
|
+
declare function contrast(level?: number): EffectActionWithLevel;
|
|
78
|
+
/**
|
|
79
|
+
* @summary action
|
|
80
|
+
* @memberOf Actions.Adjust
|
|
81
|
+
* @description
|
|
82
|
+
* Adjusts the gamma level
|
|
83
|
+
* @param {number} level The level of gamma (Range: -50 to 150, Server default: 0).
|
|
84
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
85
|
+
*/
|
|
86
|
+
declare function gamma(level?: number): EffectActionWithLevel;
|
|
87
|
+
/**
|
|
88
|
+
* @summary action
|
|
89
|
+
* @memberOf Actions.Adjust
|
|
90
|
+
* @description Adjusts the image's blue channel.
|
|
91
|
+
* @param {number} level - The level of blue. (Range: -100 to 100, Server default: 0)
|
|
92
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
93
|
+
*/
|
|
94
|
+
declare function blue(level?: number): EffectActionWithLevel;
|
|
95
|
+
/**
|
|
96
|
+
* @summary action
|
|
97
|
+
* @memberOf Actions.Adjust
|
|
98
|
+
* @description
|
|
99
|
+
* Adjusts image brightness modulation in HSB to prevent artifacts in some images.
|
|
100
|
+
* @param {number} level The level of modulation. (Range: -99 to 100, Server default: 80)
|
|
101
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
102
|
+
*/
|
|
103
|
+
declare function brightnessHSB(level?: number): EffectActionWithLevel;
|
|
104
|
+
/**
|
|
105
|
+
* @summary action
|
|
106
|
+
* @memberOf Actions.Adjust
|
|
107
|
+
* @description Causes all semi-transparent pixels in an image to be either fully transparent or fully opaque.
|
|
108
|
+
*
|
|
109
|
+
* Each pixel with an opacity lower than the specified threshold value is set to an opacity of 0%. Each pixel with
|
|
110
|
+
* an opacity greater than the specified threshold is set to an opacity of 100%. For example, setting
|
|
111
|
+
* opacity_threshold:0 makes all pixels non-transparent, while opacity_threshold:100 makes all semi-transparent
|
|
112
|
+
* pixels fully transparent. Note: This effect can be a useful solution when PhotoShop PSD files are delivered in a
|
|
113
|
+
* format supporting partial transparency, such as PNG, and the results without this effect are not as expected.
|
|
114
|
+
*
|
|
115
|
+
* @param {number} level The level of the threshold. (Range: 1 to 100, Server default: 50)
|
|
116
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
117
|
+
*/
|
|
118
|
+
declare function opacityThreshold(level?: number): EffectActionWithLevel;
|
|
119
|
+
/**
|
|
120
|
+
* @summary action
|
|
121
|
+
* @memberOf Actions.Adjust
|
|
122
|
+
* @description
|
|
123
|
+
* Adjusts the color balance and blends the result with the original image.
|
|
124
|
+
* @param {number} blend How much to blend the adjusted color result, where 0 means only use the original and 100 means only use the adjusted color result. </br>
|
|
125
|
+
* (Range: 0 to 100, Server default: 100)
|
|
126
|
+
* @return {Actions.Effect.EffectActionWithBlendPercentage}
|
|
127
|
+
*/
|
|
128
|
+
declare function autoColor(blend?: number): EffectActionWithBlend;
|
|
129
|
+
/**
|
|
130
|
+
* @summary action
|
|
131
|
+
* @memberOf Actions.Adjust
|
|
132
|
+
* @description
|
|
133
|
+
* Adjusts the brightness and blends the result with the original image.
|
|
134
|
+
* @param {number} blend How much to blend the adjusted brightness, where 0 means only use the original
|
|
135
|
+
* and 100 means only use the adjusted brightness result.
|
|
136
|
+
* (Range: 0 to 100, Server default: 100)
|
|
137
|
+
* @return {Actions.Effect.EffectActionWithBlendPercentage}
|
|
138
|
+
*/
|
|
139
|
+
declare function autoBrightness(blend?: number): EffectActionWithBlend;
|
|
140
|
+
/**
|
|
141
|
+
* @summary action
|
|
142
|
+
* @memberOf Actions.Adjust
|
|
143
|
+
* @description
|
|
144
|
+
* Adjusts the image's hue.
|
|
145
|
+
* @param {number} level The level of hue. (Range: -100 to 100, Server default: 80)
|
|
146
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
147
|
+
*/
|
|
148
|
+
declare function hue(level?: number): EffectActionWithLevel;
|
|
149
|
+
/**
|
|
150
|
+
* @summary action
|
|
151
|
+
* @memberOf Actions.Adjust
|
|
152
|
+
* @description Adjusts the image's green channel.
|
|
153
|
+
* @param {number} level The level of green. (Range: -100 to 100, Server default: 0)
|
|
154
|
+
* @return {Actions.Effect.EffectActionWithLevel}
|
|
155
|
+
*/
|
|
156
|
+
declare function green(level?: number): EffectActionWithLevel;
|
|
157
|
+
/**
|
|
158
|
+
* @summary action
|
|
159
|
+
* @description Applies an unsharp mask filter to the image.
|
|
160
|
+
* @memberOf Actions.Adjust
|
|
161
|
+
* @param {number} strength The strength of the filter. (Range: 1 to 2000, Server default: 100)
|
|
162
|
+
* @return {Actions.Effect.EffectActionWithStrength}
|
|
163
|
+
*/
|
|
164
|
+
declare function unsharpMask(strength?: number): EffectActionWithStrength;
|
|
165
|
+
/**
|
|
166
|
+
* @summary action
|
|
167
|
+
* @description Applies a vibrance filter on the image.
|
|
168
|
+
* @memberOf Actions.Adjust
|
|
169
|
+
* @param {number} strength The strength of the vibrance. (Range: -100 to 100, Server default: 20)
|
|
170
|
+
* @return {Actions.Effect.EffectActionWithStrength}
|
|
171
|
+
*/
|
|
172
|
+
declare function vibrance(strength?: number): EffectActionWithStrength;
|
|
173
|
+
/**
|
|
174
|
+
* @summary action
|
|
175
|
+
* @memberOf Actions.Adjust
|
|
176
|
+
* @description
|
|
177
|
+
* Adjusts the contrast and blends the result with the original image.
|
|
178
|
+
* @param {number} blend How much to blend the adjusted contrast, where 0 means only use the original
|
|
179
|
+
* and 100 means only use the adjusted contrast result.
|
|
180
|
+
* (Range: 0 to 100, Server default: 100)
|
|
181
|
+
* @return {Actions.Effect.EffectActionWithBlendPercentage}
|
|
182
|
+
*/
|
|
183
|
+
declare function autoContrast(blend?: number): EffectActionWithBlend;
|
|
184
|
+
/**
|
|
185
|
+
* @summary action
|
|
186
|
+
* @description Adjusts the opacity of the image and makes it semi-transparent.
|
|
187
|
+
* @memberOf Actions.Adjust
|
|
188
|
+
* @param {number} level
|
|
189
|
+
* @return {Actions.Adjust.OpacityAdjustAction}
|
|
190
|
+
*/
|
|
191
|
+
declare function opacity(level: number): OpacityAdjustAction;
|
|
192
|
+
/**
|
|
193
|
+
* @summary action
|
|
194
|
+
* @memberOf Actions.Adjust
|
|
195
|
+
* @description Adjusts the image colors, contrast and brightness.
|
|
196
|
+
* @return {Actions.Adjust.ImproveAction}
|
|
197
|
+
*/
|
|
198
|
+
declare function improve(): ImproveAction;
|
|
199
|
+
/**
|
|
200
|
+
* @summary action
|
|
201
|
+
* @memberOf Actions.Adjust
|
|
202
|
+
* @description
|
|
203
|
+
* Maps an input color and those similar to the input color to corresponding shades of a specified output color, taking luminosity and chroma into account, in order to recolor an object in a natural way.</br>
|
|
204
|
+
* More highly saturated input colors usually give the best results. It is recommended to avoid input colors approaching white, black, or gray.
|
|
205
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/effects_and_artistic_enhancements#replace_color_effect|Replace color examples}
|
|
206
|
+
* @param {string} toColor
|
|
207
|
+
* @return {Actions.Adjust.ReplaceColorAction}
|
|
208
|
+
*/
|
|
209
|
+
declare function replaceColor(toColor: string): ReplaceColorAction;
|
|
210
|
+
/**
|
|
211
|
+
* @summary action
|
|
212
|
+
* @memberOf Actions.Adjust
|
|
213
|
+
* @description Converts the colors of every pixel in an image based on the supplied color matrix, in which the value of each color channel is calculated based on the values from all other channels (e.g. a 3x3 matrix for RGB, a 4x4 matrix for RGBA or CMYK, etc).</br>
|
|
214
|
+
* For every pixel in the image, take each color channel and adjust its value by the specified values of the matrix to get a new value.
|
|
215
|
+
* @param {number[][]} matrix
|
|
216
|
+
* @return {Actions.Adjust.RecolorAction}
|
|
217
|
+
*/
|
|
218
|
+
declare function recolor(matrix: number[][]): RecolorAction;
|
|
219
|
+
/**
|
|
220
|
+
* @summary action
|
|
221
|
+
* @description Adjusts the fill light and blends the result with the original image.
|
|
222
|
+
* @memberOf Actions.Adjust
|
|
223
|
+
* @return {Actions.Adjust.FillLightAction}
|
|
224
|
+
*/
|
|
225
|
+
declare function fillLight(): FillLightAction;
|
|
226
|
+
/**
|
|
227
|
+
* @summary action
|
|
228
|
+
* @description
|
|
229
|
+
* Applies a look-up table (LUT) file to the image.</br>
|
|
230
|
+
* The 3dl file should be pre-uploaded as a raw file
|
|
231
|
+
*
|
|
232
|
+
* @param {string} publicId The public ID of the LUT file.
|
|
233
|
+
* @memberOf Actions.Adjust
|
|
234
|
+
* @return {Actions.Adjust.By3dLutAction}
|
|
235
|
+
*/
|
|
236
|
+
declare function by3dLut(publicId: string): By3dLutAction;
|
|
237
|
+
declare const Adjust: {
|
|
238
|
+
brightness: typeof brightness;
|
|
239
|
+
viesusCorrect: typeof viesusCorrect;
|
|
240
|
+
opacity: typeof opacity;
|
|
241
|
+
red: typeof red;
|
|
242
|
+
sharpen: typeof sharpen;
|
|
243
|
+
improve: typeof improve;
|
|
244
|
+
saturation: typeof saturation;
|
|
245
|
+
contrast: typeof contrast;
|
|
246
|
+
gamma: typeof gamma;
|
|
247
|
+
green: typeof green;
|
|
248
|
+
blue: typeof blue;
|
|
249
|
+
brightnessHSB: typeof brightnessHSB;
|
|
250
|
+
hue: typeof hue;
|
|
251
|
+
autoBrightness: typeof autoBrightness;
|
|
252
|
+
autoColor: typeof autoColor;
|
|
253
|
+
autoContrast: typeof autoContrast;
|
|
254
|
+
vibrance: typeof vibrance;
|
|
255
|
+
unsharpMask: typeof unsharpMask;
|
|
256
|
+
opacityThreshold: typeof opacityThreshold;
|
|
257
|
+
replaceColor: typeof replaceColor;
|
|
258
|
+
recolor: typeof recolor;
|
|
259
|
+
fillLight: typeof fillLight;
|
|
260
|
+
by3dLut: typeof by3dLut;
|
|
261
|
+
tint: typeof tint;
|
|
262
|
+
};
|
|
263
|
+
export { Adjust, brightness, viesusCorrect, opacity, red, sharpen, improve, saturation, contrast, gamma, green, blue, brightnessHSB, hue, autoBrightness, autoColor, autoContrast, vibrance, unsharpMask, opacityThreshold, replaceColor, recolor, fillLight, by3dLut, tint };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Action } from '../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Delivers an animated GIF that contains additional loops of the GIF.
|
|
4
|
+
* The total number of iterations is the number of additional loops plus one.
|
|
5
|
+
* You can also specify the loop effect without a numeric value to instruct it to loop the GIF infinitely.
|
|
6
|
+
*
|
|
7
|
+
* @memberOf Actions
|
|
8
|
+
* @namespace Animated
|
|
9
|
+
* @example
|
|
10
|
+
* import {Cloudinary} from "@cloudinary/url-gen";
|
|
11
|
+
* import {animated} from "@cloudinary/url-gen/actions/animated";
|
|
12
|
+
*
|
|
13
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
14
|
+
* const image = yourCldInstance.image('woman');
|
|
15
|
+
* image.animated(edit().delay(200).loop(3)));
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* @memberOf Actions.Animated
|
|
19
|
+
* @see Actions.Animated
|
|
20
|
+
* @example
|
|
21
|
+
* // Used through a builder function Animated.edit(), and not by creating a new instance
|
|
22
|
+
* import {Cloudinary} from "@cloudinary/url-gen";
|
|
23
|
+
* import {edit} from "@cloudinary/url-gen/actions/animated";
|
|
24
|
+
*
|
|
25
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
26
|
+
* const image = yourCldInstance.image('woman');
|
|
27
|
+
* image.animated(edit().delay(200).loop(3)));
|
|
28
|
+
*/
|
|
29
|
+
declare class AnimatedAction extends Action {
|
|
30
|
+
constructor();
|
|
31
|
+
/**
|
|
32
|
+
* @description Controls the time delay between the frames of an animated image, in milliseconds.
|
|
33
|
+
* @param {number} delayValue The delay in milliseconds
|
|
34
|
+
* @return {this}
|
|
35
|
+
*/
|
|
36
|
+
delay(delayValue: number): this;
|
|
37
|
+
/**
|
|
38
|
+
* @description Delivers an animated GIF that contains additional loops of the GIF.
|
|
39
|
+
* @param {number} additionalLoops The additional number of times to play the animated GIF.
|
|
40
|
+
* @return {this}
|
|
41
|
+
*/
|
|
42
|
+
loop(additionalLoops?: number): this;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @summary action
|
|
46
|
+
* @memberOf Actions.Animated
|
|
47
|
+
* @description Delivers an animated GIF.
|
|
48
|
+
* @return {Actions.Animated.AnimatedAction}
|
|
49
|
+
*/
|
|
50
|
+
declare function edit(): AnimatedAction;
|
|
51
|
+
declare const Animated: {
|
|
52
|
+
edit: typeof edit;
|
|
53
|
+
};
|
|
54
|
+
export { AnimatedAction, Animated, edit };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Action } from '../internal/Action.js';
|
|
2
|
+
import { SystemColors } from '../qualifiers/color.js';
|
|
3
|
+
import { default as RoundCornersAction } from './roundCorners/RoundCornersAction.js';
|
|
4
|
+
import { IBorderActionModel } from '../internal/models/IBorderActionModel.js';
|
|
5
|
+
import { IActionModel } from '../internal/models/IActionModel.js';
|
|
6
|
+
/**
|
|
7
|
+
* @description Adds a solid border around an image or video.
|
|
8
|
+
*
|
|
9
|
+
* <b>Learn more:</b>
|
|
10
|
+
* {@link https://cloudinary.com/documentation/effects_and_artistic_enhancements#borders|Adding image borders}
|
|
11
|
+
* @memberOf Actions
|
|
12
|
+
* @namespace Border
|
|
13
|
+
* @example
|
|
14
|
+
* import {Cloudinary} from "@cloudinary/url-gen";
|
|
15
|
+
* import {solid} from "@cloudinary/url-gen/actions/border";
|
|
16
|
+
*
|
|
17
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
18
|
+
* const image = yourCldInstance.image('woman');
|
|
19
|
+
* image.border(
|
|
20
|
+
* solid(15, 'green'),
|
|
21
|
+
* // Or alternatively
|
|
22
|
+
* solid().width(15).color('green')
|
|
23
|
+
* );
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* @memberOf Actions.Border
|
|
28
|
+
* @see Actions.Border
|
|
29
|
+
* @example
|
|
30
|
+
* // Used through a builder function Border.solid(), and not by creating a new instance
|
|
31
|
+
* import {Cloudinary} from "@cloudinary/url-gen";
|
|
32
|
+
*
|
|
33
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
34
|
+
* const image = yourCldInstance.image('woman');
|
|
35
|
+
* image.border(
|
|
36
|
+
* Border.solid(15, 'green'),
|
|
37
|
+
* // Or alternatively
|
|
38
|
+
* Border.solid().width(15).color('green')
|
|
39
|
+
* );
|
|
40
|
+
*/
|
|
41
|
+
declare class BorderAction extends Action {
|
|
42
|
+
private borderWidth;
|
|
43
|
+
private borderColor;
|
|
44
|
+
private borderType;
|
|
45
|
+
private _roundCorners;
|
|
46
|
+
protected _actionModel: IBorderActionModel;
|
|
47
|
+
/**
|
|
48
|
+
* @description Adds a border of the specified type around an image or video.
|
|
49
|
+
* @param {'solid'} borderType The type of border (currently only 'solid' is supported). Use values in {@link Qualifiers.Border|Border Values}.
|
|
50
|
+
* @param {string} color The color of the border.
|
|
51
|
+
* @param {number} borderWidth The width in pixels.
|
|
52
|
+
*/
|
|
53
|
+
constructor(borderType: string, color: SystemColors, borderWidth: number | string);
|
|
54
|
+
/**
|
|
55
|
+
* @description Sets the width of the border
|
|
56
|
+
* @param {number | string} borderWidth The width in pixels.
|
|
57
|
+
*/
|
|
58
|
+
width(borderWidth: number | string): this;
|
|
59
|
+
/**
|
|
60
|
+
* @description Sets the color of the border.
|
|
61
|
+
* @param {string} borderColor The color of the border.
|
|
62
|
+
*/
|
|
63
|
+
color(borderColor: SystemColors): this;
|
|
64
|
+
/**
|
|
65
|
+
* @description Rounds the specified corners of an image.
|
|
66
|
+
* @param {RoundCornersAction} roundCorners
|
|
67
|
+
* @return {this}
|
|
68
|
+
*/
|
|
69
|
+
roundCorners(roundCorners: RoundCornersAction): this;
|
|
70
|
+
/**
|
|
71
|
+
* @description Sets the style of the border.
|
|
72
|
+
* @param {number | string} width The width in pixels.
|
|
73
|
+
* @param {string} color The color of the border, e.g 'green', 'yellow'.
|
|
74
|
+
* @return {this}
|
|
75
|
+
*/
|
|
76
|
+
solid(width: number | string, color: SystemColors): BorderAction;
|
|
77
|
+
protected prepareQualifiers(): void;
|
|
78
|
+
static fromJson(actionModel: IActionModel): BorderAction;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @summary action
|
|
82
|
+
* @memberOf Actions.Border
|
|
83
|
+
* @description Sets the style of the border.
|
|
84
|
+
* @param {number | string} width The width in pixels.
|
|
85
|
+
* @param {string} color The color of the border, e.g 'green', 'yellow'.
|
|
86
|
+
* @return {Actions.Border.BorderAction}
|
|
87
|
+
*/
|
|
88
|
+
declare function solid(width: number | string, color: SystemColors): BorderAction;
|
|
89
|
+
/**
|
|
90
|
+
* @summary action
|
|
91
|
+
* @memberOf Actions.Border
|
|
92
|
+
* @description Sets the radius of the border.
|
|
93
|
+
* @param {Actions.RoundCorners.RoundCornersAction} roundCorners RoundCorners action.
|
|
94
|
+
* @return {Actions.Border.BorderAction}
|
|
95
|
+
*/
|
|
96
|
+
declare function roundCorners(roundCorners: RoundCornersAction): BorderAction;
|
|
97
|
+
declare const Border: {
|
|
98
|
+
solid: typeof solid;
|
|
99
|
+
roundCorners: typeof roundCorners;
|
|
100
|
+
};
|
|
101
|
+
export { BorderAction, Border, solid, roundCorners };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @memberOf Actions.CustomFunction
|
|
4
|
+
* @see Visit {@link Actions.CustomFunction|Custom functions} for an example
|
|
5
|
+
*/
|
|
6
|
+
declare class CustomFunctionAction extends Action {
|
|
7
|
+
private mode;
|
|
8
|
+
protected pre?: 'pre';
|
|
9
|
+
readonly fn: string;
|
|
10
|
+
private encodedFn;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param {string} fn The custom function to use, can be a URL or a publicID
|
|
14
|
+
*/
|
|
15
|
+
constructor(fn: string);
|
|
16
|
+
private encodeCustomFunctionString;
|
|
17
|
+
/**
|
|
18
|
+
* Use a WASM as a custom function,
|
|
19
|
+
* Used with the builders of `remote` and `wasm` from {@link Actions.CustomFunction|Custom functions}
|
|
20
|
+
*/
|
|
21
|
+
asWasm(): this;
|
|
22
|
+
/**
|
|
23
|
+
* Use a remote URL as a custom function
|
|
24
|
+
* Used with the builders of `remote` and `wasm` from {@link Actions.CustomFunction|Custom functions}
|
|
25
|
+
*/
|
|
26
|
+
asRemote(): this;
|
|
27
|
+
protected prepareQualifiers(): this;
|
|
28
|
+
toString(): string;
|
|
29
|
+
}
|
|
30
|
+
export default CustomFunctionAction;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as CustomFunctionAction } from './customFunction/CustomFunctionAction.js';
|
|
2
|
+
import { default as RemoteAction } from './customFunction/RemoteAction.js';
|
|
3
|
+
/**
|
|
4
|
+
* @summary action
|
|
5
|
+
* @description - Calls a custom function. </br>
|
|
6
|
+
* For more information about remote custom functions see {@link https://cloudinary.com/documentation/custom_functions#remote_functions|the documentation}
|
|
7
|
+
* @param {string} path - Specifies the URL of the remote custom function.
|
|
8
|
+
* @memberOf Actions.CustomFunction
|
|
9
|
+
* @return {Actions.CustomFunctionAction}
|
|
10
|
+
*/
|
|
11
|
+
declare function remote(path: string): RemoteAction;
|
|
12
|
+
/**
|
|
13
|
+
* @summary action
|
|
14
|
+
* @description - Calls a custom function. </br>
|
|
15
|
+
* For more information about wasm custom functions see {@link https://cloudinary.com/documentation/custom_functions#webassembly_functions|the documentation}
|
|
16
|
+
* @param {string} publicID - Specifies the publicID of the custom function stored in Cloudinary
|
|
17
|
+
* @memberOf Actions.CustomFunction
|
|
18
|
+
* @return {Actions.CustomFunctionAction}
|
|
19
|
+
*/
|
|
20
|
+
declare function wasm(publicID: string): CustomFunctionAction;
|
|
21
|
+
declare const CustomFunction: {
|
|
22
|
+
remote: typeof remote;
|
|
23
|
+
wasm: typeof wasm;
|
|
24
|
+
};
|
|
25
|
+
export { CustomFunction, remote, wasm };
|