@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,19 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { FormatQualifier } from '../../qualifiers/format/FormatQualifier.js';
3
+ import { IDefaultImageModel, IDeliveryColorSpaceActionModel, IDeliveryColorSpaceFromICCActionModel, IDeliveryFormatModel, IDeliveryQualityModel, IDensityModel } from '../../internal/models/IDeliveryActionModel.js';
4
+ /**
5
+ * @description Qualifies the delivery of an asset.
6
+ * @memberOf Actions.Delivery
7
+ * @extends SDK.Action
8
+ */
9
+ declare class DeliveryAction extends Action {
10
+ protected _actionModel: IDeliveryColorSpaceActionModel | IDeliveryColorSpaceFromICCActionModel | IDensityModel | IDefaultImageModel | IDeliveryFormatModel | IDeliveryQualityModel;
11
+ /**
12
+ * @param {string} deliveryKey A generic Delivery Action Key (such as q, f, dn, etc.)
13
+ * @param {string} deliveryType A Format Qualifiers for the action, such as Quality.auto()
14
+ * @param {string} modelProperty internal model property of the action, for example quality uses `level` while dpr uses `density`
15
+ * @see Visit {@link Actions.Delivery|Delivery} for an example
16
+ */
17
+ constructor(deliveryKey?: string, deliveryType?: FormatQualifier | string | number, modelProperty?: 'level' | 'density' | 'defaultImage' | 'colorSpaceType' | 'formatType');
18
+ }
19
+ export { DeliveryAction };
@@ -0,0 +1,20 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IActionModel } from '../../internal/models/IActionModel.js';
3
+ import { ColorSpaceType } from '../../types/types.js';
4
+ import { IDeliveryColorSpaceActionModel } from '../../internal/models/IDeliveryActionModel.js';
5
+ /**
6
+ * @description Specifies the color space to use.
7
+ * @memberOf Actions.Delivery
8
+ * @extends SDK.Action
9
+ * @see Visit {@link Actions.Delivery|Delivery} for an example
10
+ */
11
+ declare class DeliveryColorSpaceAction extends Action {
12
+ protected _actionModel: IDeliveryColorSpaceActionModel;
13
+ /**
14
+ * Create a new DeliveryColorSpaceAction
15
+ * @param mode
16
+ */
17
+ constructor(mode: ColorSpaceType);
18
+ static fromJson(actionModel: IActionModel): DeliveryColorSpaceAction;
19
+ }
20
+ export { DeliveryColorSpaceAction };
@@ -0,0 +1,18 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IActionModel } from '../../internal/models/IActionModel.js';
3
+ import { IDeliveryColorSpaceFromICCActionModel } from '../../internal/models/IDeliveryActionModel.js';
4
+ /**
5
+ * @description Specifies the ICC profile to use for the color space.
6
+ * @memberOf Actions.Delivery
7
+ * @extends SDK.Action
8
+ * @see Visit {@link Actions.Delivery|Delivery} for an example
9
+ */
10
+ declare class DeliveryColorSpaceFromICCAction extends Action {
11
+ protected _actionModel: IDeliveryColorSpaceFromICCActionModel;
12
+ /**
13
+ * @param {string} publicId
14
+ */
15
+ constructor(publicId: string);
16
+ static fromJson(actionModel: IActionModel): DeliveryColorSpaceFromICCAction;
17
+ }
18
+ export { DeliveryColorSpaceFromICCAction };
@@ -0,0 +1,19 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IActionModel } from '../../internal/models/IActionModel.js';
3
+ import { IDprModel } from '../../internal/models/IDeliveryActionModel.js';
4
+ /**
5
+ * @description Specifies the dpr.
6
+ * @memberOf Actions.Delivery
7
+ * @extends SDK.Action
8
+ * @see Visit {@link Actions.Delivery|Delivery} for an example
9
+ */
10
+ declare class DeliveryDPRAction extends Action {
11
+ protected _actionModel: IDprModel;
12
+ /**
13
+ * Create a new DeliveryDPRAction
14
+ * @param dprValue
15
+ */
16
+ constructor(dprValue: string | number);
17
+ static fromJson(actionModel: IActionModel): DeliveryDPRAction;
18
+ }
19
+ export { DeliveryDPRAction };
@@ -0,0 +1,29 @@
1
+ import { DeliveryAction } from './DeliveryAction.js';
2
+ import { ProgressiveQualifier } from '../../qualifiers/progressive.js';
3
+ import { FormatQualifier } from '../../qualifiers/format/FormatQualifier.js';
4
+ import { ProgressiveType } from '../../types/types.js';
5
+ import { IActionModel } from '../../internal/models/IActionModel.js';
6
+ /**
7
+ * @memberOf Actions.Delivery
8
+ * @extends {Actions.Delivery.DeliveryAction}
9
+ * @see Visit {@link Actions.Delivery|Delivery} for an example
10
+ */
11
+ declare class DeliveryFormatAction extends DeliveryAction {
12
+ constructor(deliveryKey?: string, deliveryType?: FormatQualifier | string | number);
13
+ /**
14
+ * @description Uses lossy compression when delivering animated GIF files.
15
+ * @return {this}
16
+ */
17
+ lossy(): this;
18
+ /**
19
+ * @description Uses progressive compression when delivering JPG file format.
20
+ * @return {this}
21
+ */
22
+ progressive(mode?: ProgressiveType | ProgressiveQualifier): this;
23
+ /**
24
+ * @description Ensures that images with a transparency channel are delivered in PNG format.
25
+ */
26
+ preserveTransparency(): this;
27
+ static fromJson(actionModel: IActionModel): DeliveryFormatAction;
28
+ }
29
+ export { DeliveryFormatAction };
@@ -0,0 +1,28 @@
1
+ import { DeliveryAction } from './DeliveryAction.js';
2
+ import { IActionModel } from '../../internal/models/IActionModel.js';
3
+ /**
4
+ * @description Controls the quality of the delivered image or video.
5
+ * @memberOf Actions.Delivery
6
+ * @extends {Actions.Delivery.DeliveryAction}
7
+ * @see Visit {@link Actions.Delivery|Delivery} for an example
8
+ */
9
+ declare class DeliveryQualityAction extends DeliveryAction {
10
+ private qualityValue;
11
+ /**
12
+ * @param {Qualifiers.Quality} qualityValue a Quality value
13
+ */
14
+ constructor(qualityValue: string | number);
15
+ /**
16
+ * Selet the Chroma sub sampling</br>
17
+ * <b>Learn more</b>: {@link https://cloudinary.com/documentation/image_optimization#toggle_chroma_subsampling|Toggling chroma subsampling}
18
+ * @param {420 | 444 | number} type The chroma sub sampling type
19
+ */
20
+ chromaSubSampling(type: 420 | 444 | number): this;
21
+ /**
22
+ * Controls the final quality by setting a maximum quantization percentage
23
+ * @param {number} val
24
+ */
25
+ quantization(val: number): this;
26
+ static fromJson(actionModel: IActionModel): DeliveryQualityAction;
27
+ }
28
+ export { DeliveryQualityAction };
@@ -0,0 +1,156 @@
1
+ import { DeliveryFormatAction } from './delivery/DeliveryFormatAction.js';
2
+ import { DeliveryQualityAction } from './delivery/DeliveryQualityAction.js';
3
+ import { FormatQualifier } from '../qualifiers/format/FormatQualifier.js';
4
+ import { DeliveryColorSpaceFromICCAction } from './delivery/DeliveryColorSpaceFromICCAction.js';
5
+ import { DeliveryAction } from './delivery/DeliveryAction.js';
6
+ import { ColorSpaceType, QualityTypes, ImageFormatType, VideoFormatType } from '../types/types.js';
7
+ import { DeliveryColorSpaceAction } from './delivery/DeliveryColorSpaceAction.js';
8
+ import { DeliveryDPRAction } from './delivery/DeliveryDPRAction.js';
9
+ export declare type IDeliveryAction = DeliveryAction | DeliveryColorSpaceAction | DeliveryColorSpaceFromICCAction | DeliveryDPRAction;
10
+ /**
11
+ * @summary action
12
+ * @description Defines the format of the delivered asset.
13
+ *
14
+ * <b>Learn more:</b>
15
+ * {@link https://cloudinary.com/documentation/image_transformations#image_format_support|Image formats}
16
+ * {@link https://cloudinary.com/documentation/video_manipulation_and_delivery#transcoding_video_to_other_formats|Video formats}
17
+ *
18
+ * @memberOf Actions.Delivery
19
+ * @param {string} format The file format. For a list of supported format types see {@link Qualifiers.Format| format types} for
20
+ * possible values
21
+ * @return {Actions.Delivery.DeliveryFormat}
22
+ * @example
23
+ * import {Cloudinary} from "@cloudinary/url-gen";
24
+ * import {format} from "@cloudinary/url-gen/actions/delivery";
25
+ *
26
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
27
+ * const image = yourCldInstance.image('woman');
28
+ * image.delivery(
29
+ * format('jpg'),
30
+ * );
31
+ *
32
+ */
33
+ declare function format(format: FormatQualifier | ImageFormatType | VideoFormatType | string): DeliveryFormatAction;
34
+ /**
35
+ * @summary action
36
+ * @description Deliver the image in the specified device pixel ratio.
37
+ * @memberOf Actions.Delivery
38
+ * @param {string} dpr The DPR (Device Pixel Ratio). Any positive float value.
39
+ * @return {Actions.Delivery.DeliveryAction}
40
+ * @example
41
+ * import {Cloudinary} from "@cloudinary/url-gen";
42
+ * import {dpr} from "@cloudinary/url-gen/actions/delivery";
43
+ *
44
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
45
+ * const image = yourCldInstance.image('woman');
46
+ * image.delivery(
47
+ * dpr('2.0'),
48
+ * );
49
+ */
50
+ declare function dpr(dpr: string | number): DeliveryDPRAction;
51
+ /**
52
+ * @summary action
53
+ * @description Controls the quality of the delivered image or video.
54
+ *
55
+ * <b>Learn more:</b> {@link https://cloudinary.com/documentation/image_optimization#how_to_optimize_image_quality|Image quality}
56
+ * {@link https://cloudinary.com/documentation/video_optimization#how_to_optimize_video_quality|Video quality}
57
+ * @memberOf Actions.Delivery
58
+ * @param {QualityTypes | string | number | Qualifiers.Quality} qualityType For a list of supported quality types see
59
+ * {@link Qualifiers.Quality| quality types} for
60
+ * possible values.
61
+ * @return {Actions.Delivery.DeliveryQualityAction}
62
+ * @example
63
+ * import {Cloudinary} from "@cloudinary/url-gen";
64
+ * import {quality} from "@cloudinary/url-gen/actions/delivery";
65
+ * import {quality} from "@cloudinary/url-gen/qualifiers/quantity";
66
+ *
67
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
68
+ * const image = yourCldInstance.image('woman');
69
+ * image.delivery(
70
+ * quality('auto'),
71
+ * );
72
+ */
73
+ declare function quality(qualityType: QualityTypes | string | number): DeliveryQualityAction;
74
+ /**
75
+ * @summary action
76
+ * @description Controls the density to use when delivering an image or when converting a vector file such as a PDF or EPS
77
+ * document to a web image delivery format.
78
+ * @memberOf Actions.Delivery
79
+ * @param {number | string} value The density in dpi.
80
+ * @return {Actions.Delivery.DeliveryAction}
81
+ * @example
82
+ * import {Cloudinary} from "@cloudinary/url-gen";
83
+ * import {density} from "@cloudinary/url-gen/actions/delivery";
84
+ *
85
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
86
+ * const image = yourCldInstance.image('woman');
87
+ * image.delivery(
88
+ * density(150),
89
+ * );
90
+ */
91
+ declare function density(value: number): DeliveryAction;
92
+ /**
93
+ * @summary action
94
+ * @description Default images can be used in the case that a requested image does not exist.
95
+ * @memberOf Actions.Delivery
96
+ * @param {string} publicIdWithExtension Default image public ID
97
+ * @return {Actions.Delivery.DeliveryAction}
98
+ * @example
99
+ * import {Cloudinary} from "@cloudinary/url-gen";
100
+ * import {defaultImage} from "@cloudinary/url-gen/actions/delivery";
101
+ *
102
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
103
+ * const image = yourCldInstance.image('woman');
104
+ * image.delivery(
105
+ * defaultImage('sample'),
106
+ * );
107
+ */
108
+ declare function defaultImage(publicIdWithExtension: string): DeliveryAction;
109
+ /**
110
+ * @summary action
111
+ * @description Controls the color space used for the delivered image.
112
+ * @memberOf Actions.Delivery
113
+ * @param {string | Qualifiers.ColorSpace} mode The color space.
114
+ * @return {Actions.Delivery.DeliveryAction}
115
+ * @example
116
+ * import {Cloudinary} from "@cloudinary/url-gen";
117
+ * import {colorSpace} from "@cloudinary/url-gen/actions/delivery";
118
+ * import {trueColor} from "@cloudinary/url-gen/qualifiers/colorSpace";
119
+ *
120
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
121
+ * const image = yourCldInstance.image('woman');
122
+ * image.delivery(
123
+ * colorSpace(trueColor()),
124
+ * );
125
+ */
126
+ declare function colorSpace(mode: ColorSpaceType): DeliveryColorSpaceAction;
127
+ /**
128
+ * @summary action
129
+ * @description Specifies the ICC profile to use for the color space.
130
+ * The ICC file must be uploaded to your account as a raw, authenticated file.
131
+ * @memberOf Actions.Delivery
132
+ * @param {string} publicId The public ID (including the file extension) of the ICC profile that defines the
133
+ * color space.
134
+ * @return {Actions.Delivery.DeliveryColorSpaceFromICC}
135
+ * @example
136
+ * import {Cloudinary} from "@cloudinary/url-gen";
137
+ * import {colorSpaceFromICC} from "@cloudinary/url-gen/actions/delivery";
138
+ * import {trueColor} from "@cloudinary/url-gen/qualifiers/colorSpace";
139
+ *
140
+ * const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
141
+ * const image = yourCldInstance.image('woman');
142
+ * image.delivery(
143
+ * colorSpaceFromICC('sample.icc'),
144
+ * );
145
+ */
146
+ declare function colorSpaceFromICC(publicId: string): DeliveryColorSpaceFromICCAction;
147
+ declare const Delivery: {
148
+ format: typeof format;
149
+ dpr: typeof dpr;
150
+ density: typeof density;
151
+ defaultImage: typeof defaultImage;
152
+ colorSpace: typeof colorSpace;
153
+ colorSpaceFromICC: typeof colorSpaceFromICC;
154
+ quality: typeof quality;
155
+ };
156
+ export { Delivery, format, dpr, quality, density, defaultImage, colorSpace, colorSpaceFromICC };
@@ -0,0 +1,27 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IAssistColorBlindEffectModel } from '../../internal/models/IEffectActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description Applies stripes to the image to help people with common color-blind conditions to differentiate between colors that are similar for them.
6
+ * You can replace colors using the xray() method.
7
+ * @extends SDK.Action
8
+ * @memberOf Actions.Effect
9
+ * @see Visit {@link Actions.Effect|Effect} for an example
10
+ */
11
+ declare class AssistColorBlindEffectAction extends Action {
12
+ protected _actionModel: IAssistColorBlindEffectModel;
13
+ constructor();
14
+ /**
15
+ * @description Replaces problematic colors with colors that are easier to differentiate.
16
+ * @return {this}
17
+ */
18
+ xray(): this;
19
+ /**
20
+ * @description Applies stripes of the specified intensity to help people with common color blind conditions to differentiate between colors that are similar for them.
21
+ * @param {number | string} strength The intensity of the stripes. (Range: 1 to 100, Server default: 10)
22
+ * @return {this}
23
+ */
24
+ stripesStrength(strength: number | string): this;
25
+ static fromJson(actionModel: IActionModel): AssistColorBlindEffectAction;
26
+ }
27
+ export { AssistColorBlindEffectAction };
@@ -0,0 +1,19 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { ForegroundObjectValue } from '../../qualifiers/foregroundObject.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description A class that defines how to remove the background of an asset
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class BackgroundRemoval extends Action {
11
+ private _fineEdges;
12
+ private _hints;
13
+ constructor();
14
+ fineEdges(value?: boolean): this;
15
+ hints(...values: ForegroundObjectValue[] | [ForegroundObjectValue[]]): this;
16
+ protected prepareQualifiers(): void;
17
+ static fromJson(actionModel: IActionModel): BackgroundRemoval;
18
+ }
19
+ export { BackgroundRemoval };
@@ -0,0 +1,29 @@
1
+ import { NamedRegion } from '../../qualifiers/region/NamedRegion.js';
2
+ import { Action } from '../../internal/Action.js';
3
+ import { IBlurModel } from '../../internal/models/IEffectActionModel.js';
4
+ import { IActionModel } from '../../internal/models/IActionModel.js';
5
+ /**
6
+ * @description The Action class of the blur Builder.
7
+ * @extends SDK.Action
8
+ * @memberOf Actions.Effect
9
+ * @see Visit {@link Actions.Effect|Effect} for an example
10
+ */
11
+ declare class BlurAction extends Action {
12
+ private _region?;
13
+ private _strength;
14
+ protected _actionModel: IBlurModel;
15
+ constructor(strength: number | string);
16
+ /**
17
+ * @description Specifies the region to blur.
18
+ * @param {NamedRegion} blurRegion
19
+ */
20
+ region(blurRegion: NamedRegion): this;
21
+ /**
22
+ * @description Sets the strength of the blur effect.
23
+ * @param {number | string} strength
24
+ */
25
+ strength(strength: number | string): this;
26
+ protected prepareQualifiers(): void;
27
+ static fromJson(actionModel: IActionModel): BlurAction;
28
+ }
29
+ export { BlurAction };
@@ -0,0 +1,38 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { ICartoonifyEffectModel } from '../../internal/models/IEffectActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description Applies a cartoon effect to an image.
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class CartoonifyEffect extends Action {
11
+ protected _actionModel: ICartoonifyEffectModel;
12
+ private colorReduction;
13
+ private cartoonifyStrength;
14
+ private effectName;
15
+ constructor(effectName: string, strength: number);
16
+ /**
17
+ * @description Sets the thickness of the lines.
18
+ * @param {number} lineStrength The thickness of the lines. (Range: 0 to 100, Server default: 50)
19
+ * @return {this}
20
+ */
21
+ lineStrength(lineStrength: number): this;
22
+ /**
23
+ * @description Achieves a black and white cartoon effect.
24
+ * @return {this}
25
+ */
26
+ blackwhite(): this;
27
+ /**
28
+ * @description
29
+ * Sets the decrease in the number of colors and corresponding saturation boost of the remaining colors. <br/>
30
+ * Higher reduction values result in a less realistic look.
31
+ * @param {number } level The decrease in the number of colors and corresponding saturation boost of the remaining colors. (Range: 0 to 100, Server default: automatically adjusts according to the line_strength value). Set to 'bw' for a black and white cartoon effect.
32
+ * @return {this}
33
+ */
34
+ colorReductionLevel(level: number): this;
35
+ protected prepareQualifiers(): void;
36
+ static fromJson(actionModel: IActionModel): CartoonifyEffect;
37
+ }
38
+ export { CartoonifyEffect };
@@ -0,0 +1,19 @@
1
+ import { EffectActionWithLevel } from './EffectActions/EffectActionWithLevel.js';
2
+ import { SystemColors } from '../../qualifiers/color.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description Applies a colorizing filter to the asset, use the methods in the class to adjust the filter
6
+ * @extends EffectActionWithLevel
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class ColorizeEffectAction extends EffectActionWithLevel {
11
+ /**
12
+ * @description The color to use for colorization. Specify HTML name or RGB hex code. (Server default: gray)
13
+ * @param {string} color HTML name(red, green, etc.) or RGB hex code. (Server default: gray)
14
+ * @return {this}
15
+ */
16
+ color(color: SystemColors): this;
17
+ static fromJson(actionModel: IActionModel): ColorizeEffectAction;
18
+ }
19
+ export { ColorizeEffectAction };
@@ -0,0 +1,20 @@
1
+ import { LeveledEffectAction } from './EffectActions/LeveledEffectAction.js';
2
+ import { IDitherModel } from '../../internal/models/IEffectActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description Applies an ordered dither filter to the image.
6
+ * @extends LeveledEffectAction
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class DitherEffectAction extends LeveledEffectAction {
11
+ protected _actionModel: IDitherModel;
12
+ /**
13
+ *
14
+ * @param {Qualifiers.Dither} ditherType - The dither type applied to the image
15
+ * @return {this}
16
+ */
17
+ type(ditherType: number): this;
18
+ static fromJson(actionModel: IActionModel): DitherEffectAction;
19
+ }
20
+ export { DitherEffectAction };
@@ -0,0 +1,40 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IDropShadowModel } from '../../internal/models/IEffectActionModel.js';
3
+ import { IActionModel } from '../../internal/models/IActionModel.js';
4
+ /**
5
+ * @description Adds a shadow to the object in an image.
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class DropShadow extends Action {
11
+ private _azimuth;
12
+ private _elevation;
13
+ private _spread;
14
+ protected _actionModel: IDropShadowModel;
15
+ constructor();
16
+ /**
17
+ * @description
18
+ * The direction the light is coming from to cause the shadow effect. (Range: 0 to 360, Server default: 215)
19
+ * @param {number} azimuth
20
+ * @return {this}
21
+ */
22
+ azimuth(azimuth?: number): this;
23
+ /**
24
+ * @description
25
+ * The height of the light source above the 'ground' to cause the shadow effect. (Range: 0 to 90, Server default: 45)
26
+ * @param {number} elevation
27
+ * @return {this}
28
+ */
29
+ elevation(elevation?: number): this;
30
+ /**
31
+ * @description
32
+ * The spread of the light source. A small number means 'point' light. A larger number means 'area' light. (Range: 0 to 100, Server default: 50)
33
+ * @param {number} spread
34
+ * @return {this}
35
+ */
36
+ spread(spread?: number): this;
37
+ protected prepareQualifiers(): void;
38
+ static fromJson(actionModel: IActionModel): DropShadow;
39
+ }
40
+ export { DropShadow };
@@ -0,0 +1,11 @@
1
+ import { LeveledEffectAction } from './LeveledEffectAction.js';
2
+ /**
3
+ * @description A class for all effects that include a blendPercentage method
4
+ * @extends {Actions.Effect.LeveledEffectAction}
5
+ * @memberOf Actions.Effect
6
+ * @see Visit {@link Actions.Effect|Effect} for an example
7
+ */
8
+ declare class EffectActionWithBlend extends LeveledEffectAction {
9
+ blend(value: number | string): this;
10
+ }
11
+ export { EffectActionWithBlend };
@@ -0,0 +1,11 @@
1
+ import { LeveledEffectAction } from './LeveledEffectAction.js';
2
+ /**
3
+ * @description A class that provides a built in level() method that sets the level of the effect
4
+ * @extends {Actions.Effect.LeveledEffectAction}
5
+ * @memberOf Actions.Effect
6
+ * @see Visit {@link Actions.Effect|Effect} for an example
7
+ */
8
+ declare class EffectActionWithLevel extends LeveledEffectAction {
9
+ level(value: number | string): this;
10
+ }
11
+ export { EffectActionWithLevel };
@@ -0,0 +1,12 @@
1
+ import { LeveledEffectAction } from './LeveledEffectAction.js';
2
+ /**
3
+ * @description A class for all effects that include a strength method
4
+ * @extends {Actions.Effect.LeveledEffectAction}
5
+ * @memberOf Actions.Effect
6
+ * @see Visit {@link Actions.Effect|Effect} for an example
7
+ */
8
+ declare class EffectActionWithStrength extends LeveledEffectAction {
9
+ LEVEL_NAME: string;
10
+ strength(value: number | string): this;
11
+ }
12
+ export { EffectActionWithStrength };
@@ -0,0 +1,23 @@
1
+ import { SimpleEffectAction } from './SimpleEffectAction.js';
2
+ import { ExpressionQualifier } from '../../../qualifiers/expression/ExpressionQualifier.js';
3
+ import { IColorizeModel, IEffectActionWithLevelModel } from '../../../internal/models/IEffectActionModel.js';
4
+ /**
5
+ * @description A base class for effects with a level, the extending class needs to implement a method that calls setLevel()
6
+ * @extends {Actions.Effect.SimpleEffectAction}
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class LeveledEffectAction extends SimpleEffectAction {
11
+ protected LEVEL_NAME: string;
12
+ protected _actionModel: IEffectActionWithLevelModel | IColorizeModel;
13
+ protected effectType: string;
14
+ constructor(effectType?: string, level?: number | string);
15
+ /**
16
+ *
17
+ * @description Sets the effect level for the action
18
+ * @param {string | number} level - The strength of the effect
19
+ * @protected
20
+ */
21
+ protected setLevel(level: string | number | ExpressionQualifier): this;
22
+ }
23
+ export { LeveledEffectAction };
@@ -0,0 +1,18 @@
1
+ import { Action } from '../../../internal/Action.js';
2
+ import { Qualifier } from '../../../internal/qualifier/Qualifier.js';
3
+ import { ExpressionQualifier } from '../../../qualifiers/expression/ExpressionQualifier.js';
4
+ import { ISimpleEffectActionModel } from '../../../internal/models/IEffectActionModel.js';
5
+ import { IActionModel } from '../../../internal/models/IActionModel.js';
6
+ /**
7
+ * @description A class that defines a simple effect of the type e_{effectName}
8
+ * @extends SDK.Action
9
+ * @memberOf Actions.Effect
10
+ * @see Visit {@link Actions.Effect|Effect} for an example
11
+ */
12
+ declare class SimpleEffectAction extends Action {
13
+ protected _actionModel: ISimpleEffectActionModel;
14
+ constructor(effectType?: string, level?: number | string);
15
+ protected createEffectQualifier(effectType: string, level?: number | string | ExpressionQualifier): Qualifier;
16
+ static fromJson(actionModel: IActionModel): SimpleEffectAction;
17
+ }
18
+ export { SimpleEffectAction };
@@ -0,0 +1,23 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IExtractModel } from '../../internal/models/IEffectActionModel.js';
3
+ import { ExtractModeType } from '../../types/types.js';
4
+ /**
5
+ * @description Extracts an area or multiple areas of an image, described in natural language.
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class Extract extends Action {
11
+ private _prompts;
12
+ private _detectMultiple;
13
+ private _mode;
14
+ private _invert;
15
+ constructor(prompts: string | string[]);
16
+ detectMultiple(value?: boolean): this;
17
+ mode(mode?: ExtractModeType): this;
18
+ invert(value?: boolean): this;
19
+ protected prepareQualifiers(): void;
20
+ private preparePromptValue;
21
+ static fromJson(actionModel: IExtractModel): Extract;
22
+ }
23
+ export { Extract };
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IGenerativeBackgroundReplaceModel } from '../../internal/models/IEffectActionModel.js';
3
+ /**
4
+ * @description Uses generative AI to replace background of your image with something else.
5
+ * @extends SDK.Action
6
+ * @memberOf Actions.Effect
7
+ * @see Visit {@link Actions.Effect|Effect} for an example
8
+ */
9
+ declare class GenerativeBackgroundReplace extends Action {
10
+ private _prompt;
11
+ constructor();
12
+ prompt(value: string): GenerativeBackgroundReplace;
13
+ protected prepareQualifiers(): void;
14
+ static fromJson(actionModel: IGenerativeBackgroundReplaceModel): GenerativeBackgroundReplace;
15
+ }
16
+ export { GenerativeBackgroundReplace };
@@ -0,0 +1,21 @@
1
+ import { Action } from '../../internal/Action.js';
2
+ import { IGenerativeRecolorModel } from '../../internal/models/IEffectActionModel.js';
3
+ import { SystemColors } from '../../qualifiers/color.js';
4
+ /**
5
+ * @description A class that defines how to recolor objects in an asset using Generative AI
6
+ * @extends SDK.Action
7
+ * @memberOf Actions.Effect
8
+ * @see Visit {@link Actions.Effect|Effect} for an example
9
+ */
10
+ declare class GenerativeRecolor extends Action {
11
+ private _prompts;
12
+ private _detectMultiple;
13
+ private _toColor;
14
+ constructor(prompts: string | string[], color: SystemColors);
15
+ detectMultiple(value?: boolean): this;
16
+ multiple: any;
17
+ protected prepareQualifiers(): void;
18
+ private preparePromptValue;
19
+ static fromJson(actionModel: IGenerativeRecolorModel): GenerativeRecolor;
20
+ }
21
+ export { GenerativeRecolor };