@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.
Files changed (276) hide show
  1. package/dist/design.js +141 -62
  2. package/dist/design.mjs +772 -685
  3. package/dist/node_modules/@cloudinary/react/index.d.ts +4 -0
  4. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/By3dLutAction.d.ts +16 -0
  5. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/FillLightAction.d.ts +23 -0
  6. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ImproveAction.d.ts +28 -0
  7. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/OpacityAdjustAction.d.ts +15 -0
  8. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/RecolorAction.d.ts +12 -0
  9. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ReplaceColorAction.d.ts +36 -0
  10. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/simple/ViesusCorrectAdjustAction.d.ts +22 -0
  11. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust.d.ts +263 -0
  12. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/animated.d.ts +54 -0
  13. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/border.d.ts +101 -0
  14. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/CustomFunctionAction.d.ts +30 -0
  15. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/RemoteAction.d.ts +6 -0
  16. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction.d.ts +25 -0
  17. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.d.ts +19 -0
  18. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceAction.d.ts +20 -0
  19. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceFromICCAction.d.ts +18 -0
  20. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryDPRAction.d.ts +19 -0
  21. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.d.ts +29 -0
  22. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryQualityAction.d.ts +28 -0
  23. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery.d.ts +156 -0
  24. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/AssistColorBlind.d.ts +27 -0
  25. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/BackgroundRemoval.d.ts +19 -0
  26. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Blur.d.ts +29 -0
  27. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Cartoonify.d.ts +38 -0
  28. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Colorize.d.ts +19 -0
  29. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Dither.d.ts +20 -0
  30. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/DropShadow.d.ts +40 -0
  31. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithBlend.d.ts +11 -0
  32. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithLevel.d.ts +11 -0
  33. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithStrength.d.ts +12 -0
  34. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/LeveledEffectAction.d.ts +23 -0
  35. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/SimpleEffectAction.d.ts +18 -0
  36. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Extract.d.ts +23 -0
  37. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeBackgroundReplace.d.ts +16 -0
  38. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRecolor.d.ts +21 -0
  39. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRemove.d.ts +25 -0
  40. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeReplace.d.ts +22 -0
  41. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GradientFade.d.ts +37 -0
  42. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Outline.d.ts +48 -0
  43. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/RemoveBackgroundAction.d.ts +31 -0
  44. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Shadow.d.ts +42 -0
  45. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/SimulateColorBlind.d.ts +23 -0
  46. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/StyleTransfer.d.ts +43 -0
  47. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Theme.d.ts +24 -0
  48. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Vectorize.d.ts +51 -0
  49. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Accelerate.d.ts +17 -0
  50. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Blackwhite.d.ts +11 -0
  51. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Deshake.d.ts +21 -0
  52. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeIn.d.ts +21 -0
  53. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeOut.d.ts +21 -0
  54. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Loop.d.ts +13 -0
  55. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/MakeTransparent.d.ts +26 -0
  56. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/pixelate/Pixelate.d.ts +29 -0
  57. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect.d.ts +516 -0
  58. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/layer/LayerAction.d.ts +75 -0
  59. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation/NamedTransformationAction.d.ts +15 -0
  60. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation.d.ts +27 -0
  61. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/overlay.d.ts +48 -0
  62. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/ClipAction.d.ts +31 -0
  63. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/GetLayerAction.d.ts +31 -0
  64. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/SmartObjectAction.d.ts +26 -0
  65. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools.d.ts +78 -0
  66. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAdvancedAction.d.ts +20 -0
  67. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAutoPadAction.d.ts +22 -0
  68. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeCropAction.d.ts +27 -0
  69. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeFillAction.d.ts +22 -0
  70. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFillAction.d.ts +10 -0
  71. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFitAction.d.ts +10 -0
  72. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitPadAction.d.ts +11 -0
  73. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeMinimumPadAction.d.ts +11 -0
  74. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizePadAction.d.ts +31 -0
  75. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeScaleAction.d.ts +16 -0
  76. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeSimpleAction.d.ts +52 -0
  77. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ThumbnailAction.d.ts +17 -0
  78. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize.d.ts +234 -0
  79. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate/RotateAction.d.ts +34 -0
  80. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate.d.ts +26 -0
  81. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners/RoundCornersAction.d.ts +29 -0
  82. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners.d.ts +30 -0
  83. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioCodecAction.d.ts +17 -0
  84. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioFrequencyAction.d.ts +17 -0
  85. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/BitRateAction.d.ts +24 -0
  86. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSAction.d.ts +20 -0
  87. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSRangeAction.d.ts +20 -0
  88. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/KeyframeIntervalsAction.d.ts +15 -0
  89. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/StreamingProfile.d.ts +17 -0
  90. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/ToAnimatedAction.d.ts +29 -0
  91. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/VideoCodecAction.d.ts +16 -0
  92. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode.d.ts +197 -0
  93. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/underlay.d.ts +50 -0
  94. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/ConcatenateAction.d.ts +56 -0
  95. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/PreviewAction.d.ts +37 -0
  96. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/TrimAction.d.ts +50 -0
  97. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/VolumeAction.d.ts +15 -0
  98. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit.d.ts +117 -0
  99. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions.d.ts +15 -0
  100. package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/createCloudinaryLegacyURL.d.ts +2 -0
  101. package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/expression.d.ts +160 -0
  102. package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/transformation.d.ts +191 -0
  103. package/dist/node_modules/@cloudinary/transformation-builder-sdk/index.d.ts +6 -0
  104. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.d.ts +45 -0
  105. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.d.ts +14 -0
  106. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.d.ts +7 -0
  107. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IAudioSourceModel.d.ts +12 -0
  108. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.d.ts +9 -0
  109. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IFetchSourceModel.d.ts +13 -0
  110. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IImageSourceModel.d.ts +12 -0
  111. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IStrokeModel.d.ts +12 -0
  112. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ITextSourceModel.d.ts +19 -0
  113. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.d.ts +7 -0
  114. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.d.ts +7 -0
  115. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/createGravityModel.d.ts +28 -0
  116. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.d.ts +7 -0
  117. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.d.ts +15 -0
  118. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.d.ts +37 -0
  119. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/GradientFade.d.ts +24 -0
  120. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat/AnimatedFormatQualifierValue.d.ts +8 -0
  121. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat.d.ts +39 -0
  122. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/artisticFilter.d.ts +136 -0
  123. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio/AspectRatioQualifierValue.d.ts +7 -0
  124. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio.d.ts +68 -0
  125. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioCodec.d.ts +40 -0
  126. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioFrequency.d.ts +100 -0
  127. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/autoFocus.d.ts +58 -0
  128. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BackgroundGenerativeFillQualifier.d.ts +20 -0
  129. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BlurredBackgroundAction.d.ts +29 -0
  130. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoBorderQualifier.d.ts +16 -0
  131. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoPredominantQualifier.d.ts +16 -0
  132. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BackgroundQualifier.d.ts +10 -0
  133. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseCommonBackground.d.ts +24 -0
  134. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseGradientBackground.d.ts +27 -0
  135. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundBorderGradientQualifier.d.ts +16 -0
  136. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundPredominantGradientQualifier.d.ts +16 -0
  137. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background.d.ts +85 -0
  138. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/blendMode/BlendModeQualifier.d.ts +16 -0
  139. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/chromaSubSampling.d.ts +23 -0
  140. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/color.d.ts +685 -0
  141. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/colorSpace.d.ts +33 -0
  142. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dither.d.ts +123 -0
  143. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dpr.d.ts +16 -0
  144. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression/ExpressionQualifier.d.ts +12 -0
  145. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression.d.ts +18 -0
  146. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.d.ts +14 -0
  147. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/focusOn.d.ts +256 -0
  148. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontHinting.d.ts +35 -0
  149. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontStyle.d.ts +23 -0
  150. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontWeight.d.ts +35 -0
  151. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.d.ts +11 -0
  152. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format.d.ts +522 -0
  153. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection/GradientDirectionQualifierValue.d.ts +8 -0
  154. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection.d.ts +41 -0
  155. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/GravityQualifier.d.ts +22 -0
  156. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/autoGravity/AutoGravity.d.ts +16 -0
  157. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/compassGravity/CompassGravity.d.ts +13 -0
  158. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/focusOnGravity/FocusOnGravity.d.ts +17 -0
  159. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/compass/CompassQualifier.d.ts +12 -0
  160. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/focusOn/FocusOnValue.d.ts +11 -0
  161. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/xyCenterGravity/XYCenterGravity.d.ts +10 -0
  162. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity.d.ts +97 -0
  163. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/improveMode.d.ts +33 -0
  164. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/outlineMode.d.ts +33 -0
  165. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position/PositionQualifier.d.ts +43 -0
  166. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position.d.ts +13 -0
  167. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.d.ts +28 -0
  168. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/quality.d.ts +81 -0
  169. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/CustomRegion.d.ts +30 -0
  170. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/NamedRegion.d.ts +10 -0
  171. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/RectangleRegion.d.ts +17 -0
  172. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region.d.ts +42 -0
  173. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotate/RotationModeQualifierValue.d.ts +12 -0
  174. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotationMode.d.ts +45 -0
  175. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/simulateColorBlind.d.ts +59 -0
  176. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/BaseSource.d.ts +32 -0
  177. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/AudioSource.d.ts +21 -0
  178. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/BaseTextSource.d.ts +32 -0
  179. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/FetchSource.d.ts +43 -0
  180. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/ImageSource.d.ts +43 -0
  181. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/SubtitlesSource.d.ts +28 -0
  182. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/TextSource.d.ts +14 -0
  183. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/VideoSource.d.ts +32 -0
  184. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source.d.ts +72 -0
  185. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/streamingProfile.d.ts +51 -0
  186. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textAlignment.d.ts +47 -0
  187. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textDecoration.d.ts +29 -0
  188. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStroke.d.ts +21 -0
  189. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStyle.d.ts +71 -0
  190. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/video/TimelinePosition.d.ts +29 -0
  191. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/videoCodecType/VideoCodecType.d.ts +43 -0
  192. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers.d.ts +31 -0
  193. package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.d.ts +9 -0
  194. package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.d.ts +196 -0
  195. package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.d.ts +9 -0
  196. package/dist/node_modules/@cloudinary/url-gen/actions/adjust.d.ts +3 -0
  197. package/dist/node_modules/@cloudinary/url-gen/actions/animated.d.ts +8 -0
  198. package/dist/node_modules/@cloudinary/url-gen/actions/border.d.ts +3 -0
  199. package/dist/node_modules/@cloudinary/url-gen/actions/customFunction.d.ts +2 -0
  200. package/dist/node_modules/@cloudinary/url-gen/actions/delivery.d.ts +2 -0
  201. package/dist/node_modules/@cloudinary/url-gen/actions/effect.d.ts +2 -0
  202. package/dist/node_modules/@cloudinary/url-gen/actions/namedTransformation.d.ts +2 -0
  203. package/dist/node_modules/@cloudinary/url-gen/actions/overlay.d.ts +2 -0
  204. package/dist/node_modules/@cloudinary/url-gen/actions/psdTools.d.ts +2 -0
  205. package/dist/node_modules/@cloudinary/url-gen/actions/resize.d.ts +3 -0
  206. package/dist/node_modules/@cloudinary/url-gen/actions/rotate.d.ts +2 -0
  207. package/dist/node_modules/@cloudinary/url-gen/actions/roundCorners.d.ts +2 -0
  208. package/dist/node_modules/@cloudinary/url-gen/actions/transcode.d.ts +2 -0
  209. package/dist/node_modules/@cloudinary/url-gen/actions/underlay.d.ts +2 -0
  210. package/dist/node_modules/@cloudinary/url-gen/actions/videoEdit.d.ts +2 -0
  211. package/dist/node_modules/@cloudinary/url-gen/actions.d.ts +15 -0
  212. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.d.ts +112 -0
  213. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.d.ts +12 -0
  214. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryMedia.d.ts +33 -0
  215. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.d.ts +179 -0
  216. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.d.ts +26 -0
  217. package/dist/node_modules/@cloudinary/url-gen/backwards/createCloudinaryLegacyURL.d.ts +2 -0
  218. package/dist/node_modules/@cloudinary/url-gen/backwards/expression.d.ts +160 -0
  219. package/dist/node_modules/@cloudinary/url-gen/backwards/generateTransformationString.d.ts +14 -0
  220. package/dist/node_modules/@cloudinary/url-gen/backwards/transformation.d.ts +191 -0
  221. package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.d.ts +4 -0
  222. package/dist/node_modules/@cloudinary/url-gen/config/CloudConfig.d.ts +26 -0
  223. package/dist/node_modules/@cloudinary/url-gen/config/CloudinaryConfig.d.ts +22 -0
  224. package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.d.ts +61 -0
  225. package/dist/node_modules/@cloudinary/url-gen/index.d.ts +16 -0
  226. package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.d.ts +13 -0
  227. package/dist/node_modules/@cloudinary/url-gen/qualifiers/GradientFade.d.ts +2 -0
  228. package/dist/node_modules/@cloudinary/url-gen/qualifiers/animatedFormat.d.ts +2 -0
  229. package/dist/node_modules/@cloudinary/url-gen/qualifiers/artisticFilter.d.ts +2 -0
  230. package/dist/node_modules/@cloudinary/url-gen/qualifiers/aspectRatio.d.ts +2 -0
  231. package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioCodec.d.ts +2 -0
  232. package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioFrequency.d.ts +2 -0
  233. package/dist/node_modules/@cloudinary/url-gen/qualifiers/background.d.ts +2 -0
  234. package/dist/node_modules/@cloudinary/url-gen/qualifiers/chromaSubSampling.d.ts +2 -0
  235. package/dist/node_modules/@cloudinary/url-gen/qualifiers/color.d.ts +3 -0
  236. package/dist/node_modules/@cloudinary/url-gen/qualifiers/colorSpace.d.ts +2 -0
  237. package/dist/node_modules/@cloudinary/url-gen/qualifiers/dither.d.ts +2 -0
  238. package/dist/node_modules/@cloudinary/url-gen/qualifiers/dpr.d.ts +2 -0
  239. package/dist/node_modules/@cloudinary/url-gen/qualifiers/expression.d.ts +2 -0
  240. package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontHinting.d.ts +2 -0
  241. package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontStyle.d.ts +2 -0
  242. package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontWeight.d.ts +2 -0
  243. package/dist/node_modules/@cloudinary/url-gen/qualifiers/format.d.ts +2 -0
  244. package/dist/node_modules/@cloudinary/url-gen/qualifiers/gradientDirection.d.ts +2 -0
  245. package/dist/node_modules/@cloudinary/url-gen/qualifiers/gravity.d.ts +2 -0
  246. package/dist/node_modules/@cloudinary/url-gen/qualifiers/improveMode.d.ts +2 -0
  247. package/dist/node_modules/@cloudinary/url-gen/qualifiers/outlineMode.d.ts +2 -0
  248. package/dist/node_modules/@cloudinary/url-gen/qualifiers/position.d.ts +2 -0
  249. package/dist/node_modules/@cloudinary/url-gen/qualifiers/quality.d.ts +2 -0
  250. package/dist/node_modules/@cloudinary/url-gen/qualifiers/region.d.ts +2 -0
  251. package/dist/node_modules/@cloudinary/url-gen/qualifiers/rotationMode.d.ts +2 -0
  252. package/dist/node_modules/@cloudinary/url-gen/qualifiers/simulateColorBlind.d.ts +2 -0
  253. package/dist/node_modules/@cloudinary/url-gen/qualifiers/source.d.ts +2 -0
  254. package/dist/node_modules/@cloudinary/url-gen/qualifiers/streamingProfile.d.ts +2 -0
  255. package/dist/node_modules/@cloudinary/url-gen/qualifiers/textAlignment.d.ts +2 -0
  256. package/dist/node_modules/@cloudinary/url-gen/qualifiers/textDecoration.d.ts +2 -0
  257. package/dist/node_modules/@cloudinary/url-gen/qualifiers/textStroke.d.ts +2 -0
  258. package/dist/node_modules/@cloudinary/url-gen/qualifiers.d.ts +31 -0
  259. package/dist/node_modules/@cloudinary/url-gen/transformation/ImageTransformation.d.ts +2 -0
  260. package/dist/node_modules/@cloudinary/url-gen/transformation/Transformation.d.ts +2 -0
  261. package/dist/node_modules/@cloudinary/url-gen/transformation/VideoTransformation.d.ts +2 -0
  262. package/dist/src/components/accordion/styles.d.ts +6 -0
  263. package/dist/src/components/accordion/types.d.ts +29 -0
  264. package/dist/src/components/accordion/utils.d.ts +11 -0
  265. package/dist/src/components/button/styles.d.ts +1 -0
  266. package/dist/src/components/button/types.d.ts +7 -3
  267. package/dist/src/components/button/utils.d.ts +3 -0
  268. package/dist/src/components/cloud-image/index.d.ts +3 -3
  269. package/dist/src/components/cloud-image/types.d.ts +2 -2
  270. package/dist/src/components/grid-layout/styles.d.ts +8 -1
  271. package/dist/style.css +1 -1
  272. package/package.json +1 -1
  273. package/dist/src/components/button/index.stories.d.ts +0 -10
  274. package/dist/src/components/container/index.stories.d.ts +0 -7
  275. package/dist/src/components/grid-layout/index.stories.d.ts +0 -5
  276. package/dist/src/components/tooltip/index.stories.d.ts +0 -8
@@ -0,0 +1,234 @@
1
+ import { ResizePadAction } from './resize/ResizePadAction.js';
2
+ import { ResizeSimpleAction } from './resize/ResizeSimpleAction.js';
3
+ import { ResizeScaleAction } from './resize/ResizeScaleAction.js';
4
+ import { ThumbResizeAction } from './resize/ThumbnailAction.js';
5
+ import { AutoGravity } from '../qualifiers/gravity/autoGravity/AutoGravity.js';
6
+ import { CompassGravity } from '../qualifiers/gravity/compassGravity/CompassGravity.js';
7
+ import { ResizeCropAction } from './resize/ResizeCropAction.js';
8
+ import { ResizeFillAction } from './resize/ResizeFillAction.js';
9
+ import { ResizeLimitFitAction } from './resize/ResizeLimitFitAction.js';
10
+ import { ResizeLimitFillAction } from './resize/ResizeLimitFillAction.js';
11
+ import { ResizeLimitPadAction } from './resize/ResizeLimitPadAction.js';
12
+ import { ResizeMinimumPadAction } from './resize/ResizeMinimumPadAction.js';
13
+ import { ResizeAdvancedAction } from './resize/ResizeAdvancedAction.js';
14
+ import { ResizeAutoPadAction } from './resize/ResizeAutoPadAction.js';
15
+ /**
16
+ * @summary action
17
+ * @description
18
+ * Changes the size of the image exactly to the given width and height without necessarily retaining the original aspect ratio:<br/>
19
+ * all original image parts are visible but might be stretched or shrunk.
20
+ * @memberOf Actions.Resize
21
+ * @param {number|string} width The required width of a transformed asset.
22
+ * @param {number|string} height The required height of a transformed asset.
23
+ * @return {Actions.Resize.ScaleAction}
24
+ */
25
+ declare function scale(width?: number | string, height?: number | string): ResizeScaleAction;
26
+ /**
27
+ * @summary action
28
+ * @description
29
+ * Scales your image based on automatically calculated areas of interest within each specific photo.
30
+ *
31
+ * For details, see the Imagga Crop and Scale {@link https://cloudinary.com/documentation/imagga_crop_and_scale_addon#smartly_scale_images|add-on documentation}.
32
+ * @memberOf Actions.Resize
33
+ * @param {number|string} width The required width of a transformed asset.
34
+ * @param {number|string} height The required height of a transformed asset.
35
+ * @return {Actions.Resize.ResizeSimpleAction}
36
+ */
37
+ declare function imaggaScale(width?: number | string, height?: number | string): ResizeSimpleAction;
38
+ /**
39
+ * @summary action
40
+ * @description
41
+ * Crops your image based on automatically calculated areas of interest within each specific photo.
42
+ *
43
+ * For details, see the Imagga Crop and Scale {@link https://cloudinary.com/documentation/imagga_crop_and_scale_addon#smartly_crop_images|add-on documentation}.
44
+ * @memberOf Actions.Resize
45
+ * @param {number|string} width The required width of a transformed asset.
46
+ * @param {number|string} height The required height of a transformed asset.
47
+ * @return {Actions.Resize.ResizeSimpleAction}
48
+ */
49
+ declare function imaggaCrop(width?: number | string, height?: number | string): ResizeSimpleAction;
50
+ /**
51
+ * @summary action
52
+ * @description Extracts a region of the given width and height out of the original image.
53
+ * @memberOf Actions.Resize
54
+ * @param {number|string} width The required width of a transformed asset.
55
+ * @param {number|string} height The required height of a transformed asset.
56
+ * @return {Actions.Resize.ResizeCropAction}
57
+ */
58
+ declare function crop(width?: number | string, height?: number | string): ResizeCropAction;
59
+ /**
60
+ * @summary action
61
+ * @description
62
+ * Creates an image with the exact given width and height without distorting the image.<br/>
63
+ * This option first scales up or down as much as needed to at least fill both of the given dimensions.<br/><br/>
64
+ * If the requested aspect ratio is different than the original, cropping will occur on the dimension that exceeds the requested size after scaling.
65
+ * @memberOf Actions.Resize
66
+ * @param {number|string} width The required width of a transformed asset.
67
+ * @param {number|string} height The required height of a transformed asset.
68
+ * @return {Actions.Resize.ResizeFillAction}
69
+ */
70
+ declare function fill(width?: string | number, height?: string | number): ResizeFillAction;
71
+ /**
72
+ * @summary action
73
+ * @description
74
+ * The image is resized so that it takes up as much space as possible within a bounding box defined by the given width and height parameters.</br>
75
+ * The original aspect ratio is retained and all of the original image is visible.
76
+ * @memberOf Actions.Resize
77
+ * @param {number|string} width The required width of a transformed asset.
78
+ * @param {number|string} height The required height of a transformed asset.
79
+ * @return {Actions.Resize.ResizeSimpleAction}
80
+ */
81
+ declare function fit(width?: string | number, height?: string | number): ResizeSimpleAction;
82
+ /**
83
+ * @summary action
84
+ * @description
85
+ * Resizes the asset to fill the given width and height while retaining the original aspect ratio.
86
+ *
87
+ * If the proportions of the original asset do not match the given width and height, padding is added to the asset
88
+ * to reach the required size.
89
+ * @memberOf Actions.Resize
90
+ * @param {number|string} width The required width of a transformed asset.
91
+ * @param {number|string} height The required height of a transformed asset.
92
+ * @return {Actions.Resize.ResizePadAction}
93
+ */
94
+ declare function pad(width?: string | number, height?: string | number): ResizePadAction<CompassGravity>;
95
+ /**
96
+ * @summary action
97
+ * @description
98
+ * Creates an asset with the exact given width and height without distorting the asset, but only if the original
99
+ * asset is larger than the specified resolution limits.
100
+ *
101
+ * The asset is scaled down to fill the given width and height without distorting the asset, and then the dimension
102
+ * that exceeds the request is cropped. If the original dimensions are both smaller than the requested size, it is
103
+ * not resized at all.
104
+ *
105
+ * @memberOf Actions.Resize
106
+ * @param {number|string} width The required width of a transformed asset.
107
+ * @param {number|string} height The required height of a transformed asset.
108
+ * @return {Actions.Resize.ResizeLimitFillAction}
109
+ */
110
+ declare function limitFill(width?: string | number, height?: string | number): ResizeLimitFillAction;
111
+ /**
112
+ * @summary action
113
+ * @description
114
+ * Resizes the asset so that it takes up as much space as possible within a bounding box defined by the given
115
+ * width and height parameters, but only if the original asset is larger than the given limit (width and height).
116
+ *
117
+ * The asset is scaled down, the original aspect ratio is retained and all of the original asset is visible.
118
+ * @memberOf Actions.Resize
119
+ * @param {number|string} width The required width of a transformed asset.
120
+ * @param {number|string} height The required height of a transformed asset.
121
+ * @return {Actions.Resize.ResizeSimpleAction}
122
+ */
123
+ declare function limitFit(width?: number | string, height?: number | string): ResizeLimitFitAction;
124
+ /**
125
+ * @summary action
126
+ * @description
127
+ * Resizes the asset to fill the given width and height while retaining the original aspect ratio, but only if the
128
+ * original asset is smaller than the given minimum (width and height).
129
+ *
130
+ * The asset is scaled up. If the proportions of the original asset do not match the given width and height,
131
+ * padding is added to the asset to reach the required size.
132
+ * @memberOf Actions.Resize
133
+ * @param {number|string} width The required width of a transformed asset.
134
+ * @param {number|string} height The required height of a transformed asset.
135
+ * @return {Actions.Resize.ResizePadAction}
136
+ */
137
+ declare function minimumPad(width?: string | number, height?: string | number): ResizeMinimumPadAction<CompassGravity>;
138
+ /**
139
+ * @summary action
140
+ * @description
141
+ * Resizes the asset so that it takes up as much space as possible within a bounding box defined by the given
142
+ * width and height parameters, but only if the original asset is smaller than the given minimum (width and height).
143
+ *
144
+ * The asset is scaled up, the original aspect ratio is retained and all of the original asset is visible.
145
+ * @memberOf Actions.Resize
146
+ * @param {number|string} width The required width of a transformed asset.
147
+ * @param {number|string} height The required height of a transformed asset.
148
+ * @return {Actions.Resize.ResizeSimpleAction}
149
+ */
150
+ declare function minimumFit(width?: number | string, height?: number | string): ResizeSimpleAction;
151
+ /**
152
+ * @summary action
153
+ * @memberOf Actions.Resize
154
+ * @description
155
+ * Tries to prevent a "bad crop" by first attempting to use the fill mode, but adding padding if it is determined
156
+ * that more of the original image needs to be included in the final image.
157
+ *
158
+ * Especially useful if the aspect ratio of the delivered image is considerably different from the original's
159
+ * aspect ratio.
160
+ *
161
+ * Only supported in conjunction with Automatic cropping.
162
+ *
163
+ * @param {number|string} width The required width of a transformed asset.
164
+ * @param {number|string} height The required height of a transformed asset.
165
+ * @return {Actions.Resize.ResizePadAction}
166
+ */
167
+ declare function fillPad(width?: string | number, height?: string | number): ResizePadAction<AutoGravity>;
168
+ /**
169
+ * @summary action
170
+ * @description
171
+ * The thumb cropping mode is specifically used for creating image thumbnails from either face or custom coordinates,</br>
172
+ * and must always be accompanied by the gravity parameter set to one of the face detection or custom values.
173
+ * @memberOf Actions.Resize
174
+ * @param {number|string} width The required width of a transformed asset.
175
+ * @param {number|string} height The required height of a transformed asset.
176
+ * @return {Actions.Resize.ThumbResizeAction}
177
+ */
178
+ declare function thumbnail(width?: string | number, height?: string | number): ThumbResizeAction;
179
+ /**
180
+ * @summary action
181
+ * @description
182
+ * Automatically determines the best crop based on the gravity and specified dimensions.
183
+ * @memberOf Actions.Resize
184
+ * @param {number|string} width The required width of a transformed asset.
185
+ * @param {number|string} height The required height of a transformed asset.
186
+ * @return {Actions.Resize.ThumbResizeAction}
187
+ */
188
+ declare function auto(width?: number | string, height?: number | string): ResizeAdvancedAction;
189
+ /**
190
+ * @summary action
191
+ * @description
192
+ * Resizes the asset to fill the given width and height while retaining the original aspect ratio, but only if the
193
+ * original asset is larger than the given limit (width and height).
194
+ *
195
+ * The asset is scaled down. If the proportions of the original asset do not match the given width and height,
196
+ * padding is added to the asset to reach the required size.
197
+ *
198
+ * @memberOf Actions.Resize
199
+ * @param {number|string} width The required width of a transformed asset.
200
+ * @param {number|string} height The required height of a transformed asset.
201
+ * @return {Actions.Resize.ResizePadAction}
202
+ */
203
+ declare function limitPad(width?: string | number, height?: string | number): ResizeLimitPadAction<CompassGravity>;
204
+ /**
205
+ * @summary action
206
+ * @description
207
+ * Tries to prevent a "bad crop" by first attempting to use the auto cropping mode, but adding some padding
208
+ * if the algorithm determines that more of the original image needs to be included in the final image.
209
+ *
210
+ * @memberOf Actions.Resize
211
+ * @param {number|string} width The required width of a transformed asset.
212
+ * @param {number|string} height The required height of a transformed asset.
213
+ * @return {Actions.Resize.ResizeAutoPadAction}
214
+ */
215
+ declare function autoPad(width?: string | number, height?: string | number): ResizeAutoPadAction;
216
+ declare const Resize: {
217
+ imaggaScale: typeof imaggaScale;
218
+ imaggaCrop: typeof imaggaCrop;
219
+ crop: typeof crop;
220
+ fill: typeof fill;
221
+ scale: typeof scale;
222
+ minimumPad: typeof minimumPad;
223
+ fit: typeof fit;
224
+ pad: typeof pad;
225
+ limitFit: typeof limitFit;
226
+ thumbnail: typeof thumbnail;
227
+ limitFill: typeof limitFill;
228
+ minimumFit: typeof minimumFit;
229
+ limitPad: typeof limitPad;
230
+ fillPad: typeof fillPad;
231
+ auto: typeof auto;
232
+ autoPad: typeof autoPad;
233
+ };
234
+ export { Resize, imaggaScale, imaggaCrop, crop, fill, scale, minimumPad, fit, pad, limitFit, thumbnail, limitFill, minimumFit, limitPad, fillPad, auto, autoPad };
@@ -0,0 +1,34 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { RotationModeQualifierValue } from '../../qualifiers/rotate/RotationModeQualifierValue.js';
3
+ import { RotationModeType } from '../../types/types.js';
4
+ import { IRotateByAngleActionModel } from '../../internal/models/IRotateActionModel.js';
5
+ import { IActionModel } from '../../internal/models/IActionModel.js';
6
+ /**
7
+ * @description Rotates or flips an image or video.
8
+ *
9
+ * <b>Learn more:</b> {@link https://cloudinary.com/documentation/effects_and_artistic_enhancements#rotating_images|Rotating images}
10
+ * {@link https://cloudinary.com/documentation/video_effects_and_enhancements#rotating_videos|Rotating videos}
11
+ * @extends SDK.Action
12
+ * @memberOf Actions.Rotate
13
+ * @see Visit {@link Actions.Rotate|Rotate} for an example
14
+ */
15
+ declare class RotateAction extends Action {
16
+ protected _actionModel: IRotateByAngleActionModel;
17
+ constructor(angle?: number);
18
+ /**
19
+ * @description Rotates an asset using a defined mode.
20
+ * @param {Qualifiers.RotationMode | RotationModeType | string} rotationMode
21
+ * For a list of supported rotation modes see {@link Qualifiers.RotationMode| types of rotation modes} for
22
+ * possible values
23
+ * @return {this}
24
+ */
25
+ mode(rotationMode: RotationModeQualifierValue | RotationModeType | string): this;
26
+ /**
27
+ * @description Rotates an asset by the specified degrees.
28
+ * @param {number} degrees rotation in degrees e.g 90, 45, 33
29
+ * @return {this}
30
+ */
31
+ angle(degrees: number): this;
32
+ static fromJson(actionModel: IActionModel): RotateAction;
33
+ }
34
+ export default RotateAction;
@@ -0,0 +1,26 @@
1
+ import { RotationModeQualifierValue } from '../qualifiers/rotate/RotationModeQualifierValue.js';
2
+ import { RotationModeType } from '../types/types.js';
3
+ import { default as RotateAction } from './rotate/RotateAction.js';
4
+ /**
5
+ * @summary action
6
+ * @description Rotate an image by using a rotationMode
7
+ * @param {RotationModeType|string} rotationMode
8
+ * For a list of supported rotation modes see {@link Qualifiers.RotationMode| types of rotation modes} for
9
+ * possible values
10
+ * @memberOf Actions.Rotate
11
+ * @return {Actions.Rotate.RotateAction}
12
+ */
13
+ declare function mode(rotationMode: RotationModeQualifierValue | RotationModeType | string): RotateAction;
14
+ /**
15
+ * @summary action
16
+ * @description Rotate an image by the given degrees.
17
+ * @param {number} angle Given degrees. (Range: 0 to 360, Default: 0).
18
+ * @return {Actions.Rotate.RotateAction}
19
+ * @memberOf Actions.Rotate
20
+ */
21
+ declare function byAngle(angle: number): RotateAction;
22
+ declare const Rotate: {
23
+ byAngle: typeof byAngle;
24
+ mode: typeof mode;
25
+ };
26
+ export { Rotate, byAngle, mode };
@@ -0,0 +1,29 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IRoundCornersActionModel, CornerRadiusValueType } from '../../internal/models/IRoundCornersActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description A class to round one or more corners of an image or video.
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.RoundCorners
8
+ * @see Visit {@link Actions.RoundCorners|RoundCorners} for an example
9
+ */
10
+ declare class RoundCornersAction extends Action {
11
+ protected _actionModel: IRoundCornersActionModel;
12
+ private _radius;
13
+ constructor();
14
+ /**
15
+ * @param {number} a
16
+ * @param {number} b
17
+ * @param {number} c
18
+ * @param {number} d
19
+ * @return {RoundCornersAction}
20
+ */
21
+ radius(a: number, b?: number, c?: number, d?: number): this;
22
+ /**
23
+ * @description Applies maximum rounding to the corners of the asset. An asset with square dimensions becomes a circle.
24
+ */
25
+ max(): this;
26
+ getRadius(): CornerRadiusValueType;
27
+ static fromJson(actionModel: IActionModel): RoundCornersAction;
28
+ }
29
+ export default RoundCornersAction;
@@ -0,0 +1,30 @@
1
+ import { default as RoundCornersAction } from './roundCorners/RoundCornersAction.js';
2
+ /**
3
+ * @summary action
4
+ * @description Generates an asset with a circular crop using the 'max' radius value.
5
+ * @memberOf Actions.RoundCorners
6
+ * @return {Actions.RoundCorners.RoundCornersAction}
7
+ */
8
+ declare function max(): RoundCornersAction;
9
+ /**
10
+ * @summary action
11
+ * @description Rounds the specified corners of an image or a video by specifying 1-4 pixel values as follows:
12
+ *
13
+ * * 1 value: All four corners are rounded equally according to the specified value.
14
+ * * 2 values: 1st value => top-left & bottom-right. 2nd value => top-right & bottom-left.
15
+ * * 3 values: 1st value => top-left. 2nd value => top-right & bottom-left. 3rd value => bottom-right.
16
+ * * 4 values: Each corner specified separately, in clockwise order, starting with top-left.
17
+ *
18
+ * @param {number} a
19
+ * @param {number} b
20
+ * @param {number} c
21
+ * @param {number} d
22
+ * @memberOf Actions.RoundCorners
23
+ * @return {Actions.RoundCorners.RoundCornersAction}
24
+ */
25
+ declare function byRadius(a: number, b?: number, c?: number, d?: number): RoundCornersAction;
26
+ declare const RoundCorners: {
27
+ byRadius: typeof byRadius;
28
+ max: typeof max;
29
+ };
30
+ export { RoundCorners, byRadius, max };
@@ -0,0 +1,17 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IAudioCodecActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @extends SDK.Action
6
+ * @memberOf Actions.Transcode
7
+ * @description Controls the audio codec or removes the audio channel.
8
+ *
9
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/audio_transformations#audio_frequency_control|Audio codec settings}
10
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
11
+ */
12
+ declare class AudioCodecAction extends Action {
13
+ protected _actionModel: IAudioCodecActionModel;
14
+ constructor(codec: string);
15
+ static fromJson(actionModel: IActionModel): AudioCodecAction;
16
+ }
17
+ export default AudioCodecAction;
@@ -0,0 +1,17 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IAudioFrequencyActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @extends SDK.Action
6
+ * @memberOf Actions.Transcode
7
+ * @description Controls audio sample frequency.
8
+ *
9
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/audio_transformations#audio_codec_settings|Audio frequency control}
10
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
11
+ */
12
+ declare class AudioFrequencyAction extends Action {
13
+ protected _actionModel: IAudioFrequencyActionModel;
14
+ constructor(freq: string | number);
15
+ static fromJson(actionModel: IActionModel): AudioFrequencyAction;
16
+ }
17
+ export default AudioFrequencyAction;
@@ -0,0 +1,24 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IBitRateActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @extends SDK.Action
6
+ * @memberOf Actions.Transcode
7
+ * @description Defines the video bitrate in bits per second.
8
+ *
9
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/video_optimization#bitrate_control|Bitrate control}
10
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
11
+ */
12
+ declare class BitRateAction extends Action {
13
+ private bitRate;
14
+ private isConstant;
15
+ protected _actionModel: IBitRateActionModel;
16
+ constructor(bitRate: string | number);
17
+ /**
18
+ * @description video plays with a constant bitrate (CBR).
19
+ */
20
+ constant(): this;
21
+ protected prepareQualifiers(): this;
22
+ static fromJson(actionModel: IActionModel): BitRateAction;
23
+ }
24
+ export default BitRateAction;
@@ -0,0 +1,20 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IFPSActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ import { default as FPSRangeAction } from './FPSRangeAction.js';
5
+ /**
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Transcode
8
+ * @description Controls the FPS (Frames Per Second) to ensure that video (even when optimized)
9
+ * is delivered with
10
+ * an expected FPS level (helps with sync to audio).
11
+ *
12
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/video_transformation_reference#video_settings|Video settings}
13
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
14
+ */
15
+ declare class FPSAction extends Action {
16
+ protected _actionModel: IFPSActionModel;
17
+ constructor(from: number);
18
+ static fromJson(actionModel: IActionModel): FPSAction | FPSRangeAction;
19
+ }
20
+ export default FPSAction;
@@ -0,0 +1,20 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IFPSRangeActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ /**
4
+ * @extends SDK.Action
5
+ * @memberOf Actions.Transcode
6
+ * @description Controls the range of acceptable FPS (Frames Per Second) to ensure that video (even when optimized)
7
+ * is delivered with
8
+ * an expected FPS level (helps with sync to audio).
9
+ *
10
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/video_transformation_reference#video_settings|Video settings}
11
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
12
+ */
13
+ declare class FPSRangeAction extends Action {
14
+ private from;
15
+ private to;
16
+ protected _actionModel: IFPSRangeActionModel;
17
+ constructor(from: number, to?: number);
18
+ protected prepareQualifiers(): this;
19
+ }
20
+ export default FPSRangeAction;
@@ -0,0 +1,15 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IKeyframeIntervalsActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @extends SDK.Action
6
+ * @memberOf Actions.Transcode
7
+ * @description Controls the keyframe interval of the delivered video.
8
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
9
+ */
10
+ declare class KeyframeIntervalsAction extends Action {
11
+ protected _actionModel: IKeyframeIntervalsActionModel;
12
+ constructor(interval: number | string);
13
+ static fromJson(actionModel: IActionModel): KeyframeIntervalsAction;
14
+ }
15
+ export default KeyframeIntervalsAction;
@@ -0,0 +1,17 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IStreamingProfileActionModel } from '../../internal/models/ITranscodeActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @extends SDK.Action
6
+ * @memberOf Actions.Transcode
7
+ * @description The predefined streaming profiles.
8
+ *
9
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/adaptive_bitrate_streaming#predefined_streaming_profiles|Predefined streaming profiles}
10
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
11
+ */
12
+ declare class StreamingProfileAction extends Action {
13
+ protected _actionModel: IStreamingProfileActionModel;
14
+ constructor(profile: string | number);
15
+ static fromJson(actionModel: IActionModel): StreamingProfileAction;
16
+ }
17
+ export default StreamingProfileAction;
@@ -0,0 +1,29 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { AnimatedFormatQualifierValue } from '../../qualifiers/animatedFormat/AnimatedFormatQualifierValue.js';
3
+ import { IToAnimatedActionModel } from '../../internal/models/ITranscodeActionModel.js';
4
+ import { IActionModel } from '../../internal/models/IActionModel.js';
5
+ /**
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Transcode
8
+ * @description Converts a video to an animated webp or gif.
9
+ * The resulting transformation includes format (f_format) and the animated flag (fl_animated).
10
+ * The flag fl_awebp is added only when an animated webp is requested.
11
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
12
+ */
13
+ declare class ToAnimatedAction extends Action {
14
+ protected _actionModel: IToAnimatedActionModel;
15
+ constructor(animatedFormat?: AnimatedFormatQualifierValue | string);
16
+ /**
17
+ * @description Sets the time between frames.
18
+ * @param delayValue The time in milliseconds.
19
+ */
20
+ delay(delayValue: number): this;
21
+ /**
22
+ * @description Sets the frequency at which the video is sampled.
23
+ * @param sampling As a string (e.g. '2.3s'), samples one frame every 2.3 seconds.<br>As a number (e.g. 20),
24
+ * samples that many equally spaced frames over the duration of the video.
25
+ */
26
+ sampling(sampling: string | number): this;
27
+ static fromJson(actionModel: IActionModel): ToAnimatedAction;
28
+ }
29
+ export default ToAnimatedAction;
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { AdvVideoCodecType, VideoCodecType } from '../../qualifiers/videoCodecType/VideoCodecType.js';
3
+ import { IVideoCodecActionModel } from '../../internal/models/ITranscodeActionModel.js';
4
+ import { IActionModel } from '../../internal/models/IActionModel.js';
5
+ /**
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Transcode
8
+ * @description Converts a video to an animated webp or gif.
9
+ * @see Visit {@link Actions.Transcode|Transcode} for an example
10
+ */
11
+ declare class VideoCodecAction extends Action {
12
+ protected _actionModel: IVideoCodecActionModel;
13
+ constructor(videoCodecTypeQualifier: VideoCodecType | AdvVideoCodecType);
14
+ static fromJson(actionModel: IActionModel): VideoCodecAction;
15
+ }
16
+ export { VideoCodecAction };