@design-edito/tools 0.1.64 → 0.1.65

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 (413) hide show
  1. package/agnostic/arrays/find-duplicates/index.js +1 -1
  2. package/agnostic/arrays/index.js +5 -5
  3. package/agnostic/arrays/is-array-of/index.js +1 -1
  4. package/agnostic/arrays/make/index.js +1 -1
  5. package/agnostic/arrays/random-pick/index.js +1 -1
  6. package/agnostic/arrays/shuffle/index.js +1 -1
  7. package/agnostic/booleans/index.js +1 -1
  8. package/agnostic/booleans/is-falsy/index.js +1 -1
  9. package/agnostic/colors/complement-color/index.d.ts +1 -0
  10. package/agnostic/colors/complement-color/index.js +7 -0
  11. package/agnostic/colors/hex-to-rgb/index.d.ts +1 -0
  12. package/agnostic/colors/hex-to-rgb/index.js +7 -0
  13. package/agnostic/colors/hsl-to-rgb/index.d.ts +1 -0
  14. package/agnostic/colors/hsl-to-rgb/index.js +7 -0
  15. package/agnostic/colors/index.d.ts +16 -0
  16. package/agnostic/colors/index.js +37 -0
  17. package/agnostic/colors/lighten-color/index.d.ts +2 -0
  18. package/agnostic/colors/lighten-color/index.js +11 -0
  19. package/agnostic/colors/rgb-to-hex/index.d.ts +1 -0
  20. package/agnostic/colors/rgb-to-hex/index.js +7 -0
  21. package/agnostic/colors/rgb-to-hsl/index.d.ts +1 -0
  22. package/agnostic/colors/rgb-to-hsl/index.js +7 -0
  23. package/agnostic/colors/saturate-color/index.d.ts +2 -0
  24. package/agnostic/colors/saturate-color/index.js +11 -0
  25. package/agnostic/css/bem/index.js +1 -1
  26. package/agnostic/css/generate-nice-color/index.js +1 -1
  27. package/agnostic/css/index.js +4 -4
  28. package/agnostic/css/is-valid-css-class-name/index.js +1 -1
  29. package/agnostic/css/styles-set/index.js +1 -1
  30. package/agnostic/errors/index.js +1 -1
  31. package/agnostic/errors/register/index.js +1 -1
  32. package/agnostic/errors/unknown-to-string/index.js +1 -1
  33. package/agnostic/html/get-node-ancestors/index.js +1 -1
  34. package/agnostic/html/get-position-inside-parent/index.js +1 -1
  35. package/agnostic/html/hyper-json/cast/index.d.ts +1 -1
  36. package/agnostic/html/hyper-json/cast/index.js +5 -5
  37. package/agnostic/html/hyper-json/index.js +6 -6
  38. package/agnostic/html/hyper-json/method/index.js +1 -1
  39. package/agnostic/html/hyper-json/serialize/index.js +1 -1
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +3 -1
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +2 -2
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +3 -1
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +2 -2
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  81. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  82. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  83. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +3 -1
  84. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  85. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +3 -1
  86. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  87. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  88. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  89. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  90. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  91. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  92. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  93. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  94. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  95. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  96. package/agnostic/html/hyper-json/smart-tags/index.js +1 -1
  97. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -1
  98. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -1
  99. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  100. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  101. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  102. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  103. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  104. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  105. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
  106. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  107. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  108. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  109. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  110. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  111. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  112. package/agnostic/html/hyper-json/tree/index.js +5 -5
  113. package/agnostic/html/hyper-json/types/index.js +1 -1
  114. package/agnostic/html/hyper-json/utils/index.d.ts +5 -0
  115. package/agnostic/html/hyper-json/utils/index.js +5 -5
  116. package/agnostic/html/index.js +9 -9
  117. package/agnostic/html/insert-node/index.js +1 -1
  118. package/agnostic/html/placeholders/index.js +1 -1
  119. package/agnostic/html/replace-in-element/index.js +1 -1
  120. package/agnostic/html/sanitize/index.js +1 -1
  121. package/agnostic/html/selector-to-element/index.js +1 -1
  122. package/agnostic/html/string-to-nodes/index.js +1 -1
  123. package/agnostic/index.d.ts +2 -0
  124. package/agnostic/misc/assert/index.js +1 -1
  125. package/agnostic/misc/cast/index.js +1 -1
  126. package/agnostic/misc/crawler/index.js +1 -1
  127. package/agnostic/misc/crossenv/detect-runtime/index.js +1 -1
  128. package/agnostic/misc/crossenv/index.js +1 -1
  129. package/agnostic/misc/crossenv/types/index.js +1 -1
  130. package/agnostic/misc/crossenv/window/index.js +1 -1
  131. package/agnostic/misc/data-size/index.js +2 -2
  132. package/agnostic/misc/elo/index.js +1 -1
  133. package/agnostic/misc/get-current-downlink/index.js +1 -1
  134. package/agnostic/misc/index.js +18 -18
  135. package/agnostic/misc/is-constructor-function/index.js +1 -1
  136. package/agnostic/misc/is-nullish/index.js +1 -1
  137. package/agnostic/misc/logs/index.js +3 -3
  138. package/agnostic/misc/logs/logger/index.js +1 -1
  139. package/agnostic/misc/logs/make-text-block/index.js +1 -1
  140. package/agnostic/misc/logs/styles/index.js +1 -1
  141. package/agnostic/misc/lorem-ipsum/index.js +6 -6
  142. package/agnostic/misc/outcome/index.js +1 -1
  143. package/agnostic/numbers/absolute-modulo/index.js +1 -1
  144. package/agnostic/numbers/clamp/index.js +1 -1
  145. package/agnostic/numbers/index.js +1 -1
  146. package/agnostic/numbers/interpolate/index.js +1 -1
  147. package/agnostic/numbers/responsive-harmonics/index.js +1 -1
  148. package/agnostic/numbers/round/index.js +1 -1
  149. package/agnostic/objects/deep-get-property/index.js +1 -1
  150. package/agnostic/objects/enums/index.js +1 -1
  151. package/agnostic/objects/enums/is-in-enum/index.js +1 -1
  152. package/agnostic/objects/flatten-getters/index.js +1 -1
  153. package/agnostic/objects/index.js +7 -7
  154. package/agnostic/objects/is-object/index.js +1 -1
  155. package/agnostic/objects/is-record/index.js +1 -1
  156. package/agnostic/objects/record-format/index.js +1 -1
  157. package/agnostic/objects/record-map/index.js +1 -1
  158. package/agnostic/objects/validation/index.js +1 -1
  159. package/agnostic/optim/index.js +1 -1
  160. package/agnostic/optim/memoize/index.js +1 -1
  161. package/agnostic/optim/throttle-debounce/index.js +1 -1
  162. package/agnostic/random/hex-char/index.js +1 -1
  163. package/agnostic/random/index.js +1 -1
  164. package/agnostic/random/random/index.js +1 -1
  165. package/agnostic/random/uuid/index.js +1 -1
  166. package/agnostic/regexps/index.js +1 -1
  167. package/agnostic/sanitization/index.d.ts +3 -0
  168. package/agnostic/sanitization/index.js +1311 -0
  169. package/agnostic/strings/char-codes/index.js +1 -1
  170. package/agnostic/strings/index.js +4 -4
  171. package/agnostic/strings/matches/index.js +1 -1
  172. package/agnostic/strings/normalize-indent/index.js +1 -1
  173. package/agnostic/strings/replace-all/index.js +1 -1
  174. package/agnostic/strings/to-alphanum/index.js +1 -1
  175. package/agnostic/strings/trim/index.js +1 -1
  176. package/agnostic/time/dates/format-date/index.js +1 -1
  177. package/agnostic/time/dates/index.js +1 -1
  178. package/agnostic/time/duration/index.js +1 -1
  179. package/agnostic/time/index.js +5 -5
  180. package/agnostic/time/timeout/index.js +1 -1
  181. package/agnostic/time/transitions/index.js +1 -1
  182. package/agnostic/time/wait/index.js +1 -1
  183. package/chunks/chunk-26QQ56SS.js +36 -0
  184. package/chunks/chunk-2H5RIOJO.js +16 -0
  185. package/chunks/chunk-2POD3TAX.js +11 -0
  186. package/chunks/chunk-2TJCB6IM.js +12 -0
  187. package/chunks/chunk-334MFRHI.js +56 -0
  188. package/chunks/chunk-33YK4WOA.js +18 -0
  189. package/chunks/chunk-3KN4IIQU.js +23 -0
  190. package/chunks/chunk-3LAWRHHB.js +23 -0
  191. package/chunks/chunk-3XNFVOJF.js +20 -0
  192. package/chunks/chunk-45WKBXSF.js +39 -0
  193. package/chunks/chunk-4TGRV2AB.js +18 -0
  194. package/chunks/chunk-4WZEYD3R.js +56 -0
  195. package/chunks/chunk-5GBYBDYQ.js +36 -0
  196. package/chunks/chunk-5JNJVGDX.js +20 -0
  197. package/chunks/chunk-5SWBMXLR.js +98 -0
  198. package/chunks/chunk-5TRAENM3.js +31 -0
  199. package/chunks/chunk-6HPXM6ED.js +20 -0
  200. package/chunks/chunk-76QORXDC.js +19 -0
  201. package/chunks/chunk-7BCQCDGQ.js +31 -0
  202. package/chunks/chunk-7FJKDVBE.js +49 -0
  203. package/chunks/chunk-7KCMLH6B.js +22 -0
  204. package/chunks/chunk-ADTQQNIQ.js +47 -0
  205. package/chunks/chunk-AMXIZUFB.js +16 -0
  206. package/chunks/chunk-AWVQJNGX.js +101 -0
  207. package/chunks/chunk-AZOSX3LU.js +191 -0
  208. package/chunks/chunk-BANYGSW4.js +20 -0
  209. package/chunks/chunk-BWXVJB4I.js +20 -0
  210. package/chunks/chunk-CP454IJD.js +231 -0
  211. package/chunks/chunk-CSZFW4R5.js +69 -0
  212. package/chunks/chunk-CYIUZX2T.js +31 -0
  213. package/chunks/chunk-DEQ5N53D.js +21 -0
  214. package/chunks/chunk-E7J4E6OB.js +65 -0
  215. package/chunks/chunk-EA4L7AGZ.js +48 -0
  216. package/chunks/chunk-FAXNZG5C.js +10 -0
  217. package/chunks/chunk-FMRPJBUC.js +20 -0
  218. package/chunks/chunk-FTT6ZCCS.js +29 -0
  219. package/chunks/chunk-GCHQD7MH.js +63 -0
  220. package/chunks/chunk-GXICX4F6.js +31 -0
  221. package/chunks/chunk-H73SGDQI.js +20 -0
  222. package/chunks/chunk-H7LDIXVY.js +48 -0
  223. package/chunks/chunk-HDK7W7GS.js +20 -0
  224. package/chunks/chunk-HUC2IRGW.js +205 -0
  225. package/chunks/chunk-IARWH6LC.js +34 -0
  226. package/chunks/chunk-IJAFLBHD.js +16 -0
  227. package/chunks/chunk-JBSS64SA.js +6 -0
  228. package/chunks/chunk-JBZR6R5B.js +15 -0
  229. package/chunks/chunk-JRYI4VBX.js +22 -0
  230. package/chunks/chunk-KFMYB672.js +31 -0
  231. package/chunks/chunk-LOAOXFA2.js +2369 -0
  232. package/chunks/chunk-LOY7C5BP.js +151 -0
  233. package/chunks/chunk-MAE5XZGF.js +37 -0
  234. package/chunks/chunk-MB7HWF22.js +23 -0
  235. package/chunks/chunk-MFWKY3DT.js +32 -0
  236. package/chunks/chunk-MOBGB2PH.js +54 -0
  237. package/chunks/chunk-MOVLLUDL.js +25 -0
  238. package/chunks/chunk-MTGZYBK2.js +129 -0
  239. package/chunks/chunk-MV2LDBDF.js +164 -0
  240. package/chunks/chunk-MVNQWIVH.js +151 -0
  241. package/chunks/chunk-MZZOFFFT.js +21 -0
  242. package/chunks/chunk-NA3M6VUU.js +20 -0
  243. package/chunks/chunk-NZLE2WMY.js +35 -0
  244. package/chunks/chunk-O7UEQQ6H.js +49 -0
  245. package/chunks/chunk-OCM3RLO6.js +73 -0
  246. package/chunks/chunk-OPU4CANL.js +35 -0
  247. package/chunks/chunk-OSZ4BWDE.js +32 -0
  248. package/chunks/chunk-OUJTDMHK.js +16 -0
  249. package/chunks/chunk-OWCPJD6O.js +16 -0
  250. package/chunks/chunk-PEUWFUEZ.js +98 -0
  251. package/chunks/chunk-PXRLKO5Y.js +23 -0
  252. package/chunks/chunk-QAE3OWOI.js +79 -0
  253. package/chunks/chunk-QLC3A6PC.js +17 -0
  254. package/chunks/chunk-QUDIXNB2.js +18 -0
  255. package/chunks/chunk-RGGOIE34.js +20 -0
  256. package/chunks/chunk-RLTBF5FT.js +23 -0
  257. package/chunks/chunk-RPWYARS3.js +18 -0
  258. package/chunks/chunk-RVZ32GPI.js +55 -0
  259. package/chunks/chunk-S2PB2PLY.js +191 -0
  260. package/chunks/chunk-SC54OKBX.js +43 -0
  261. package/chunks/chunk-SJFY537W.js +84 -0
  262. package/chunks/chunk-SNRRHDIZ.js +31 -0
  263. package/chunks/chunk-SZQHLC4K.js +31 -0
  264. package/chunks/chunk-T55QIYYV.js +32 -0
  265. package/chunks/chunk-TXGV4KJD.js +31 -0
  266. package/chunks/chunk-U57Q62IN.js +23 -0
  267. package/chunks/chunk-U7CF7IDN.js +35 -0
  268. package/chunks/chunk-UUSZJMJB.js +37 -0
  269. package/chunks/chunk-V4S34MIM.js +32 -0
  270. package/chunks/chunk-VHAGPTVR.js +37 -0
  271. package/chunks/chunk-WLGIDY6A.js +2456 -0
  272. package/chunks/chunk-WMSE5GRO.js +63 -0
  273. package/chunks/chunk-WU3JQC7W.js +164 -0
  274. package/chunks/chunk-XEAHMN2T.js +4063 -0
  275. package/chunks/chunk-XF5QBETN.js +48 -0
  276. package/chunks/chunk-XN44EWRS.js +21 -0
  277. package/chunks/chunk-XSVBWVVC.js +20 -0
  278. package/chunks/chunk-XZ7II65Z.js +31 -0
  279. package/chunks/chunk-YLKBLE6G.js +30 -0
  280. package/chunks/chunk-YRQ7LODK.js +177 -0
  281. package/chunks/chunk-YVLJKJV2.js +17 -0
  282. package/chunks/chunk-YW5ASSIQ.js +31 -0
  283. package/chunks/chunk-YXJXNTCV.js +65 -0
  284. package/chunks/chunk-YYA5VRE4.js +177 -0
  285. package/chunks/chunk-ZRWVPWQC.js +36 -0
  286. package/chunks/chunk-ZZH6RUS3.js +48 -0
  287. package/components/Comp/index.js +1 -1
  288. package/node/@aws-s3/index.js +5 -5
  289. package/node/@aws-s3/storage/file/download/index.js +2 -2
  290. package/node/@aws-s3/storage/file/index.js +6 -6
  291. package/node/@aws-s3/storage/file/upload/index.js +2 -2
  292. package/node/@aws-s3/storage/index.js +5 -5
  293. package/node/@design-edito/index.js +2 -7
  294. package/node/@design-edito/thumbnails/index.d.ts +1 -5
  295. package/node/@design-edito/thumbnails/index.js +1 -20
  296. package/node/@express/@multer/index.js +2 -2
  297. package/node/@express/index.js +2 -2
  298. package/node/@google-cloud/index.js +17 -17
  299. package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
  300. package/node/@google-cloud/storage/bucket/index.js +6 -6
  301. package/node/@google-cloud/storage/bucket/list/index.js +2 -2
  302. package/node/@google-cloud/storage/file/copy/index.js +2 -2
  303. package/node/@google-cloud/storage/file/download/index.js +2 -2
  304. package/node/@google-cloud/storage/file/erase/index.js +2 -2
  305. package/node/@google-cloud/storage/file/exists/index.js +2 -2
  306. package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
  307. package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
  308. package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
  309. package/node/@google-cloud/storage/file/index.js +23 -23
  310. package/node/@google-cloud/storage/file/move/index.js +2 -2
  311. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
  312. package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
  313. package/node/@google-cloud/storage/file/upload/index.js +2 -2
  314. package/node/@google-cloud/storage/index.js +19 -19
  315. package/node/cloud-storage/client/index.js +3 -3
  316. package/node/cloud-storage/credentials/index.js +2 -2
  317. package/node/cloud-storage/endpoint/index.js +2 -2
  318. package/node/cloud-storage/index.js +15 -15
  319. package/node/cloud-storage/operations/download/index.js +7 -7
  320. package/node/cloud-storage/operations/index.js +15 -15
  321. package/node/cloud-storage/operations/upload/index.js +7 -7
  322. package/node/encryption/@aes-256-gcm/buffer/index.js +3 -3
  323. package/node/encryption/@aes-256-gcm/index.js +4 -4
  324. package/node/encryption/@aes-256-gcm/uint8-array/index.js +2 -2
  325. package/node/encryption/index.js +7 -7
  326. package/node/encryption/key/index.js +2 -2
  327. package/node/files/index.js +4 -4
  328. package/node/files/is-in-directory/index.js +1 -1
  329. package/node/files/read-write/index.js +1 -1
  330. package/node/files/subpaths/index.js +1 -1
  331. package/node/ftps/file/download/index.js +2 -2
  332. package/node/ftps/file/index.js +6 -6
  333. package/node/ftps/file/upload/index.js +2 -2
  334. package/node/ftps/index.js +4 -4
  335. package/node/images/format/index.d.ts +52 -0
  336. package/node/images/format/index.js +27 -0
  337. package/node/images/index.d.ts +1 -1
  338. package/node/images/index.js +50 -17
  339. package/node/images/prepare/index.d.ts +11 -4
  340. package/node/images/prepare/index.js +50 -15
  341. package/node/images/transform/_utils/color-schema/index.d.ts +3 -0
  342. package/node/images/transform/_utils/color-schema/index.js +8 -0
  343. package/node/images/transform/_utils/operation-names/index.d.ts +20 -0
  344. package/node/images/transform/_utils/operation-names/index.js +7 -0
  345. package/node/images/transform/_utils/positions/index.d.ts +33 -0
  346. package/node/images/transform/_utils/positions/index.js +10 -0
  347. package/node/images/transform/blur/index.d.ts +10 -0
  348. package/node/images/transform/blur/index.js +9 -0
  349. package/node/images/transform/brighten/index.d.ts +8 -0
  350. package/node/images/transform/brighten/index.js +9 -0
  351. package/node/images/transform/compose/index.d.ts +38 -0
  352. package/node/images/transform/compose/index.js +11 -0
  353. package/node/images/transform/extend/index.d.ts +16 -0
  354. package/node/images/transform/extend/index.js +10 -0
  355. package/node/images/transform/extract/index.d.ts +13 -0
  356. package/node/images/transform/extract/index.js +9 -0
  357. package/node/images/transform/flatten/index.d.ts +11 -0
  358. package/node/images/transform/flatten/index.js +10 -0
  359. package/node/images/transform/flip/index.d.ts +10 -0
  360. package/node/images/transform/flip/index.js +9 -0
  361. package/node/images/transform/flop/index.d.ts +10 -0
  362. package/node/images/transform/flop/index.js +9 -0
  363. package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +155 -0
  364. package/node/images/transform/frame/backgrounds/create-line-background/index.js +10 -0
  365. package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +106 -0
  366. package/node/images/transform/frame/backgrounds/create-tile-background/index.js +10 -0
  367. package/node/images/transform/frame/index.d.ts +44 -0
  368. package/node/images/transform/frame/index.js +13 -0
  369. package/node/images/transform/hue-rotate/index.d.ts +8 -0
  370. package/node/images/transform/hue-rotate/index.js +9 -0
  371. package/node/images/transform/index.d.ts +24 -6
  372. package/node/images/transform/index.js +52 -15
  373. package/node/images/transform/lighten/index.d.ts +8 -0
  374. package/node/images/transform/lighten/index.js +9 -0
  375. package/node/images/transform/lineate-levels/index.d.ts +11 -0
  376. package/node/images/transform/lineate-levels/index.js +9 -0
  377. package/node/images/transform/modulate/index.d.ts +13 -0
  378. package/node/images/transform/modulate/index.js +9 -0
  379. package/node/images/transform/normalize/index.d.ts +11 -0
  380. package/node/images/transform/normalize/index.js +9 -0
  381. package/node/images/transform/operations/_utils/compose/index.d.ts +3 -0
  382. package/node/images/transform/operations/_utils/compose/index.js +8 -0
  383. package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.d.ts +6 -0
  384. package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +12 -0
  385. package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.d.ts +14 -0
  386. package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +14 -0
  387. package/node/images/transform/operations/_utils/frame/create-color-palette/index.d.ts +11 -0
  388. package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +17 -0
  389. package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.d.ts +10 -0
  390. package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +11 -0
  391. package/node/images/transform/operations/_utils/frame/index.d.ts +7 -0
  392. package/node/images/transform/operations/_utils/frame/index.js +24 -0
  393. package/node/images/transform/operations/_utils/positions/index.d.ts +16 -0
  394. package/node/images/transform/operations/_utils/positions/index.js +11 -0
  395. package/node/images/transform/operations/_utils/scale/index.d.ts +3 -0
  396. package/node/images/transform/operations/_utils/scale/index.js +7 -0
  397. package/node/images/transform/operations/index.d.ts +0 -207
  398. package/node/images/transform/operations/index.js +0 -21
  399. package/node/images/transform/resize/index.d.ts +16 -0
  400. package/node/images/transform/resize/index.js +10 -0
  401. package/node/images/transform/rotate/index.d.ts +9 -0
  402. package/node/images/transform/rotate/index.js +9 -0
  403. package/node/images/transform/saturate/index.d.ts +8 -0
  404. package/node/images/transform/saturate/index.js +9 -0
  405. package/node/images/transform/scale/index.d.ts +13 -0
  406. package/node/images/transform/scale/index.js +10 -0
  407. package/node/process/index.js +1 -1
  408. package/node/process/on-exit/index.js +1 -1
  409. package/node/sftp/file/download/index.js +2 -2
  410. package/node/sftp/file/index.js +6 -6
  411. package/node/sftp/file/upload/index.js +2 -2
  412. package/node/sftp/index.js +4 -4
  413. package/package.json +3 -2
@@ -0,0 +1,7 @@
1
+ import {
2
+ OperationNames
3
+ } from "../../../../../chunks/chunk-MOVLLUDL.js";
4
+ import "../../../../../chunks/chunk-NZLE2WMY.js";
5
+ export {
6
+ OperationNames
7
+ };
@@ -0,0 +1,33 @@
1
+ import zod from 'zod';
2
+ export type Position = string | number;
3
+ export type Positions = {
4
+ top?: Position;
5
+ left?: Position;
6
+ right?: Position;
7
+ bottom?: Position;
8
+ translateX?: Position;
9
+ translateY?: Position;
10
+ };
11
+ export declare const positionSchema: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
12
+ export declare const positionsSchema: zod.ZodObject<{
13
+ top: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
14
+ left: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
15
+ bottom: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
16
+ right: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
17
+ translateX: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
18
+ translateY: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
19
+ }, "strip", zod.ZodTypeAny, {
20
+ top?: string | number | undefined;
21
+ left?: string | number | undefined;
22
+ bottom?: string | number | undefined;
23
+ right?: string | number | undefined;
24
+ translateX?: string | number | undefined;
25
+ translateY?: string | number | undefined;
26
+ }, {
27
+ top?: string | number | undefined;
28
+ left?: string | number | undefined;
29
+ bottom?: string | number | undefined;
30
+ right?: string | number | undefined;
31
+ translateX?: string | number | undefined;
32
+ translateY?: string | number | undefined;
33
+ }>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ positionSchema,
3
+ positionsSchema
4
+ } from "../../../../../chunks/chunk-7KCMLH6B.js";
5
+ import "../../../../../chunks/chunk-XEAHMN2T.js";
6
+ import "../../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ positionSchema,
9
+ positionsSchema
10
+ };
@@ -0,0 +1,10 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ export type BlurOperationParams = {
4
+ sigma: number;
5
+ };
6
+ export type BlurOperation = {
7
+ name: typeof OperationNames.Blur;
8
+ params: BlurOperationParams;
9
+ };
10
+ export declare const blurSchema: zod.ZodType<BlurOperation>;
@@ -0,0 +1,9 @@
1
+ import {
2
+ blurSchema
3
+ } from "../../../../chunks/chunk-QUDIXNB2.js";
4
+ import "../../../../chunks/chunk-XEAHMN2T.js";
5
+ import "../../../../chunks/chunk-MOVLLUDL.js";
6
+ import "../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ blurSchema
9
+ };
@@ -0,0 +1,8 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ export type BrightenOperationParams = number;
4
+ export type BrightenOperation = {
5
+ name: typeof OperationNames.Brighten;
6
+ params: BrightenOperationParams;
7
+ };
8
+ export declare const brightenSchema: zod.ZodType<BrightenOperation>;
@@ -0,0 +1,9 @@
1
+ import {
2
+ brightenSchema
3
+ } from "../../../../chunks/chunk-OUJTDMHK.js";
4
+ import "../../../../chunks/chunk-XEAHMN2T.js";
5
+ import "../../../../chunks/chunk-MOVLLUDL.js";
6
+ import "../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ brightenSchema
9
+ };
@@ -0,0 +1,38 @@
1
+ import zod from 'zod';
2
+ import sharp from 'sharp';
3
+ import { OperationNames } from '../_utils/operation-names';
4
+ import { Positions } from '../_utils/positions';
5
+ export type CreateCompositionFillOperationParams = {
6
+ mode: 'fill';
7
+ nbChannels?: sharp.Create['channels'];
8
+ background: sharp.Create['background'];
9
+ };
10
+ export type CreateCompositionGradientOperationParams = {
11
+ mode: 'gradient';
12
+ angleDeg: number;
13
+ colorStops: {
14
+ color: sharp.Color;
15
+ offsetPercent: number;
16
+ }[];
17
+ };
18
+ type CreateCompositionImage = (CreateCompositionFillOperationParams | CreateCompositionGradientOperationParams);
19
+ type CompositionImage = Buffer | CreateCompositionImage;
20
+ export type ComposeOperationParams = {
21
+ background?: sharp.Color;
22
+ images: {
23
+ input: CompositionImage;
24
+ dimensions?: {
25
+ widthPx?: sharp.Create['width'];
26
+ heightPx?: sharp.Create['height'];
27
+ };
28
+ blend?: sharp.Blend;
29
+ positions?: Positions;
30
+ tile?: boolean;
31
+ }[];
32
+ };
33
+ export type ComposeOperation = {
34
+ name: typeof OperationNames.Compose;
35
+ params: ComposeOperationParams;
36
+ };
37
+ export declare const composeSchema: zod.ZodType<ComposeOperation>;
38
+ export {};
@@ -0,0 +1,11 @@
1
+ import {
2
+ composeSchema
3
+ } from "../../../../chunks/chunk-QAE3OWOI.js";
4
+ import "../../../../chunks/chunk-7KCMLH6B.js";
5
+ import "../../../../chunks/chunk-JBZR6R5B.js";
6
+ import "../../../../chunks/chunk-XEAHMN2T.js";
7
+ import "../../../../chunks/chunk-MOVLLUDL.js";
8
+ import "../../../../chunks/chunk-NZLE2WMY.js";
9
+ export {
10
+ composeSchema
11
+ };
@@ -0,0 +1,16 @@
1
+ import sharp, { Color } from 'sharp';
2
+ import zod from 'zod';
3
+ import { OperationNames } from '../_utils/operation-names';
4
+ export type ExtendOperationParams = {
5
+ left: number;
6
+ right: number;
7
+ top: number;
8
+ bottom: number;
9
+ extendWith?: sharp.ExtendWith;
10
+ background?: Color;
11
+ };
12
+ export type ExtendOperation = {
13
+ name: typeof OperationNames.Extend;
14
+ params: ExtendOperationParams;
15
+ };
16
+ export declare const extendSchema: zod.ZodType<ExtendOperation>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ extendSchema
3
+ } from "../../../../chunks/chunk-CYIUZX2T.js";
4
+ import "../../../../chunks/chunk-JBZR6R5B.js";
5
+ import "../../../../chunks/chunk-XEAHMN2T.js";
6
+ import "../../../../chunks/chunk-MOVLLUDL.js";
7
+ import "../../../../chunks/chunk-NZLE2WMY.js";
8
+ export {
9
+ extendSchema
10
+ };
@@ -0,0 +1,13 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ export type ExtractOperationParams = {
4
+ left: number;
5
+ top: number;
6
+ width: number;
7
+ height: number;
8
+ };
9
+ export type ExtractOperation = {
10
+ name: typeof OperationNames.Extract;
11
+ params: ExtractOperationParams;
12
+ };
13
+ export declare const extractSchema: zod.ZodType<ExtractOperation>;
@@ -0,0 +1,9 @@
1
+ import {
2
+ extractSchema
3
+ } from "../../../../chunks/chunk-DEQ5N53D.js";
4
+ import "../../../../chunks/chunk-XEAHMN2T.js";
5
+ import "../../../../chunks/chunk-MOVLLUDL.js";
6
+ import "../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ extractSchema
9
+ };
@@ -0,0 +1,11 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ import { Color } from 'sharp';
4
+ export type FlattenOperationParams = {
5
+ background: Color;
6
+ };
7
+ export type FlattenOperation = {
8
+ name: typeof OperationNames.Flatten;
9
+ params: FlattenOperationParams;
10
+ };
11
+ export declare const flattenSchema: zod.ZodType<FlattenOperation>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ flattenSchema
3
+ } from "../../../../chunks/chunk-MZZOFFFT.js";
4
+ import "../../../../chunks/chunk-JBZR6R5B.js";
5
+ import "../../../../chunks/chunk-XEAHMN2T.js";
6
+ import "../../../../chunks/chunk-MOVLLUDL.js";
7
+ import "../../../../chunks/chunk-NZLE2WMY.js";
8
+ export {
9
+ flattenSchema
10
+ };
@@ -0,0 +1,10 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ export type FlipOperationParams = {
4
+ flip?: boolean;
5
+ };
6
+ export type FlipOperation = {
7
+ name: typeof OperationNames.Flip;
8
+ params: FlipOperationParams;
9
+ };
10
+ export declare const flipSchema: zod.ZodType<FlipOperation>;
@@ -0,0 +1,9 @@
1
+ import {
2
+ flipSchema
3
+ } from "../../../../chunks/chunk-RPWYARS3.js";
4
+ import "../../../../chunks/chunk-XEAHMN2T.js";
5
+ import "../../../../chunks/chunk-MOVLLUDL.js";
6
+ import "../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ flipSchema
9
+ };
@@ -0,0 +1,10 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ export type FlopOperationParams = {
4
+ flop?: boolean;
5
+ };
6
+ export type FlopOperation = {
7
+ name: typeof OperationNames.Flop;
8
+ params: FlopOperationParams;
9
+ };
10
+ export declare const flopSchema: zod.ZodType<FlopOperation>;
@@ -0,0 +1,9 @@
1
+ import {
2
+ flopSchema
3
+ } from "../../../../chunks/chunk-33YK4WOA.js";
4
+ import "../../../../chunks/chunk-XEAHMN2T.js";
5
+ import "../../../../chunks/chunk-MOVLLUDL.js";
6
+ import "../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ flopSchema
9
+ };
@@ -0,0 +1,155 @@
1
+ import zod from 'zod';
2
+ export type ColorTransformation = {
3
+ type: 'saturate' | 'lighten' | 'complement';
4
+ intensity: number;
5
+ intensityMode: 'add' | 'set';
6
+ };
7
+ export type CreateLineBackground = {
8
+ type: 'line';
9
+ params: {
10
+ nbLines: number;
11
+ colors: {
12
+ selectColorPaletteIndex: 'first' | 'last' | number;
13
+ primaryTransformations: ColorTransformation[];
14
+ secondaryTransformations: ColorTransformation[];
15
+ };
16
+ };
17
+ };
18
+ export declare const colorTransformationsSchema: zod.ZodArray<zod.ZodObject<{
19
+ type: zod.ZodEnum<["saturate", "lighten", "complement"]>;
20
+ intensity: zod.ZodNumber;
21
+ intensityMode: zod.ZodEnum<["add", "set"]>;
22
+ }, "strip", zod.ZodTypeAny, {
23
+ type: "lighten" | "saturate" | "complement";
24
+ intensity: number;
25
+ intensityMode: "set" | "add";
26
+ }, {
27
+ type: "lighten" | "saturate" | "complement";
28
+ intensity: number;
29
+ intensityMode: "set" | "add";
30
+ }>, "many">;
31
+ export declare const createLineBackgroundSchema: zod.ZodObject<{
32
+ type: zod.ZodLiteral<"line">;
33
+ params: zod.ZodObject<{
34
+ nbLines: zod.ZodNumber;
35
+ colors: zod.ZodObject<{
36
+ selectColorPaletteIndex: zod.ZodUnion<[zod.ZodLiteral<"first">, zod.ZodLiteral<"last">, zod.ZodNumber]>;
37
+ primaryTransformations: zod.ZodArray<zod.ZodObject<{
38
+ type: zod.ZodEnum<["saturate", "lighten", "complement"]>;
39
+ intensity: zod.ZodNumber;
40
+ intensityMode: zod.ZodEnum<["add", "set"]>;
41
+ }, "strip", zod.ZodTypeAny, {
42
+ type: "lighten" | "saturate" | "complement";
43
+ intensity: number;
44
+ intensityMode: "set" | "add";
45
+ }, {
46
+ type: "lighten" | "saturate" | "complement";
47
+ intensity: number;
48
+ intensityMode: "set" | "add";
49
+ }>, "many">;
50
+ secondaryTransformations: zod.ZodArray<zod.ZodObject<{
51
+ type: zod.ZodEnum<["saturate", "lighten", "complement"]>;
52
+ intensity: zod.ZodNumber;
53
+ intensityMode: zod.ZodEnum<["add", "set"]>;
54
+ }, "strip", zod.ZodTypeAny, {
55
+ type: "lighten" | "saturate" | "complement";
56
+ intensity: number;
57
+ intensityMode: "set" | "add";
58
+ }, {
59
+ type: "lighten" | "saturate" | "complement";
60
+ intensity: number;
61
+ intensityMode: "set" | "add";
62
+ }>, "many">;
63
+ }, "strip", zod.ZodTypeAny, {
64
+ selectColorPaletteIndex: number | "first" | "last";
65
+ primaryTransformations: {
66
+ type: "lighten" | "saturate" | "complement";
67
+ intensity: number;
68
+ intensityMode: "set" | "add";
69
+ }[];
70
+ secondaryTransformations: {
71
+ type: "lighten" | "saturate" | "complement";
72
+ intensity: number;
73
+ intensityMode: "set" | "add";
74
+ }[];
75
+ }, {
76
+ selectColorPaletteIndex: number | "first" | "last";
77
+ primaryTransformations: {
78
+ type: "lighten" | "saturate" | "complement";
79
+ intensity: number;
80
+ intensityMode: "set" | "add";
81
+ }[];
82
+ secondaryTransformations: {
83
+ type: "lighten" | "saturate" | "complement";
84
+ intensity: number;
85
+ intensityMode: "set" | "add";
86
+ }[];
87
+ }>;
88
+ }, "strip", zod.ZodTypeAny, {
89
+ nbLines: number;
90
+ colors: {
91
+ selectColorPaletteIndex: number | "first" | "last";
92
+ primaryTransformations: {
93
+ type: "lighten" | "saturate" | "complement";
94
+ intensity: number;
95
+ intensityMode: "set" | "add";
96
+ }[];
97
+ secondaryTransformations: {
98
+ type: "lighten" | "saturate" | "complement";
99
+ intensity: number;
100
+ intensityMode: "set" | "add";
101
+ }[];
102
+ };
103
+ }, {
104
+ nbLines: number;
105
+ colors: {
106
+ selectColorPaletteIndex: number | "first" | "last";
107
+ primaryTransformations: {
108
+ type: "lighten" | "saturate" | "complement";
109
+ intensity: number;
110
+ intensityMode: "set" | "add";
111
+ }[];
112
+ secondaryTransformations: {
113
+ type: "lighten" | "saturate" | "complement";
114
+ intensity: number;
115
+ intensityMode: "set" | "add";
116
+ }[];
117
+ };
118
+ }>;
119
+ }, "strip", zod.ZodTypeAny, {
120
+ params: {
121
+ nbLines: number;
122
+ colors: {
123
+ selectColorPaletteIndex: number | "first" | "last";
124
+ primaryTransformations: {
125
+ type: "lighten" | "saturate" | "complement";
126
+ intensity: number;
127
+ intensityMode: "set" | "add";
128
+ }[];
129
+ secondaryTransformations: {
130
+ type: "lighten" | "saturate" | "complement";
131
+ intensity: number;
132
+ intensityMode: "set" | "add";
133
+ }[];
134
+ };
135
+ };
136
+ type: "line";
137
+ }, {
138
+ params: {
139
+ nbLines: number;
140
+ colors: {
141
+ selectColorPaletteIndex: number | "first" | "last";
142
+ primaryTransformations: {
143
+ type: "lighten" | "saturate" | "complement";
144
+ intensity: number;
145
+ intensityMode: "set" | "add";
146
+ }[];
147
+ secondaryTransformations: {
148
+ type: "lighten" | "saturate" | "complement";
149
+ intensity: number;
150
+ intensityMode: "set" | "add";
151
+ }[];
152
+ };
153
+ };
154
+ type: "line";
155
+ }>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ colorTransformationsSchema,
3
+ createLineBackgroundSchema
4
+ } from "../../../../../../chunks/chunk-YLKBLE6G.js";
5
+ import "../../../../../../chunks/chunk-XEAHMN2T.js";
6
+ import "../../../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ colorTransformationsSchema,
9
+ createLineBackgroundSchema
10
+ };
@@ -0,0 +1,106 @@
1
+ import zod from 'zod';
2
+ export type CreateTileBackground = {
3
+ type: 'tile';
4
+ params: {
5
+ coverageRatio: number;
6
+ densityA: {
7
+ min: number;
8
+ max: number;
9
+ };
10
+ densityB: {
11
+ min: number;
12
+ max: number;
13
+ };
14
+ format: 'random' | 'default' | 'portrait' | 'landscape';
15
+ xEasing: typeof TransitionNames[number];
16
+ yEasing: typeof TransitionNames[number];
17
+ };
18
+ };
19
+ export declare const TransitionNames: readonly ["linear", "ease-in-quad", "ease-out-quad", "ease-in-out-quad", "ease-in-cubic", "ease-out-cubic", "ease-in-out-cubic", "ease-in-quart", "ease-out-quart", "ease-in-out-quart", "ease-in-quint", "ease-out-quint", "ease-in-out-quint", "ease-in-sine", "ease-out-sine", "ease-in-out-sine", "ease-in-expo", "ease-out-expo", "ease-in-out-expo", "ease-in-circ", "ease-out-circ", "ease-in-out-circ", "ease-in-back", "ease-out-back", "ease-in-out-back", "ease-in-elastic", "ease-out-elastic", "ease-in-out-elastic", "ease-in-bounce", "ease-out-bounce", "ease-in-out-bounce"];
20
+ export declare const createTileBackgroundSchema: zod.ZodObject<{
21
+ type: zod.ZodLiteral<"tile">;
22
+ params: zod.ZodObject<{
23
+ coverageRatio: zod.ZodNumber;
24
+ densityA: zod.ZodObject<{
25
+ min: zod.ZodNumber;
26
+ max: zod.ZodNumber;
27
+ }, "strip", zod.ZodTypeAny, {
28
+ min: number;
29
+ max: number;
30
+ }, {
31
+ min: number;
32
+ max: number;
33
+ }>;
34
+ densityB: zod.ZodObject<{
35
+ min: zod.ZodNumber;
36
+ max: zod.ZodNumber;
37
+ }, "strip", zod.ZodTypeAny, {
38
+ min: number;
39
+ max: number;
40
+ }, {
41
+ min: number;
42
+ max: number;
43
+ }>;
44
+ format: zod.ZodEnum<["random", "default", "portrait", "landscape"]>;
45
+ xEasing: zod.ZodEnum<["linear", "ease-in-quad", "ease-out-quad", "ease-in-out-quad", "ease-in-cubic", "ease-out-cubic", "ease-in-out-cubic", "ease-in-quart", "ease-out-quart", "ease-in-out-quart", "ease-in-quint", "ease-out-quint", "ease-in-out-quint", "ease-in-sine", "ease-out-sine", "ease-in-out-sine", "ease-in-expo", "ease-out-expo", "ease-in-out-expo", "ease-in-circ", "ease-out-circ", "ease-in-out-circ", "ease-in-back", "ease-out-back", "ease-in-out-back", "ease-in-elastic", "ease-out-elastic", "ease-in-out-elastic", "ease-in-bounce", "ease-out-bounce", "ease-in-out-bounce"]>;
46
+ yEasing: zod.ZodEnum<["linear", "ease-in-quad", "ease-out-quad", "ease-in-out-quad", "ease-in-cubic", "ease-out-cubic", "ease-in-out-cubic", "ease-in-quart", "ease-out-quart", "ease-in-out-quart", "ease-in-quint", "ease-out-quint", "ease-in-out-quint", "ease-in-sine", "ease-out-sine", "ease-in-out-sine", "ease-in-expo", "ease-out-expo", "ease-in-out-expo", "ease-in-circ", "ease-out-circ", "ease-in-out-circ", "ease-in-back", "ease-out-back", "ease-in-out-back", "ease-in-elastic", "ease-out-elastic", "ease-in-out-elastic", "ease-in-bounce", "ease-out-bounce", "ease-in-out-bounce"]>;
47
+ }, "strip", zod.ZodTypeAny, {
48
+ format: "default" | "random" | "portrait" | "landscape";
49
+ coverageRatio: number;
50
+ densityA: {
51
+ min: number;
52
+ max: number;
53
+ };
54
+ densityB: {
55
+ min: number;
56
+ max: number;
57
+ };
58
+ xEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
59
+ yEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
60
+ }, {
61
+ format: "default" | "random" | "portrait" | "landscape";
62
+ coverageRatio: number;
63
+ densityA: {
64
+ min: number;
65
+ max: number;
66
+ };
67
+ densityB: {
68
+ min: number;
69
+ max: number;
70
+ };
71
+ xEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
72
+ yEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
73
+ }>;
74
+ }, "strip", zod.ZodTypeAny, {
75
+ params: {
76
+ format: "default" | "random" | "portrait" | "landscape";
77
+ coverageRatio: number;
78
+ densityA: {
79
+ min: number;
80
+ max: number;
81
+ };
82
+ densityB: {
83
+ min: number;
84
+ max: number;
85
+ };
86
+ xEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
87
+ yEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
88
+ };
89
+ type: "tile";
90
+ }, {
91
+ params: {
92
+ format: "default" | "random" | "portrait" | "landscape";
93
+ coverageRatio: number;
94
+ densityA: {
95
+ min: number;
96
+ max: number;
97
+ };
98
+ densityB: {
99
+ min: number;
100
+ max: number;
101
+ };
102
+ xEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
103
+ yEasing: "linear" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-expo" | "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ" | "ease-in-back" | "ease-out-back" | "ease-in-out-back" | "ease-in-elastic" | "ease-out-elastic" | "ease-in-out-elastic" | "ease-in-bounce" | "ease-out-bounce" | "ease-in-out-bounce";
104
+ };
105
+ type: "tile";
106
+ }>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ TransitionNames,
3
+ createTileBackgroundSchema
4
+ } from "../../../../../../chunks/chunk-YXJXNTCV.js";
5
+ import "../../../../../../chunks/chunk-XEAHMN2T.js";
6
+ import "../../../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ TransitionNames,
9
+ createTileBackgroundSchema
10
+ };
@@ -0,0 +1,44 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ import { Positions } from '../_utils/positions';
4
+ import sharp from 'sharp';
5
+ import { CreateLineBackground } from './backgrounds/create-line-background';
6
+ import { CreateTileBackground } from './backgrounds/create-tile-background';
7
+ export type FrameOperation = {
8
+ name: typeof OperationNames.Frame;
9
+ params: FrameOperationParams;
10
+ };
11
+ export type FrameOperationParams = {
12
+ dimensions: {
13
+ widthPx: number;
14
+ heightPx: number;
15
+ };
16
+ imageScale?: {
17
+ xRatio?: number;
18
+ yRatio?: number;
19
+ };
20
+ background: sharp.Color | FrameCreateBackground;
21
+ positions: Positions;
22
+ };
23
+ export type FrameCreateBackground = (CreateLineBackground | CreateTileBackground) & FrameCreateBackgroundOptions;
24
+ type FrameCreateBackgroundOptions = {
25
+ colorPalette?: {
26
+ extract?: {
27
+ nbColor: number;
28
+ };
29
+ use?: {
30
+ RGBColors: [number, number, number][];
31
+ };
32
+ densify?: {
33
+ types: ('default' | 'default-lighten' | 'default-saturate' | 'complementary' | 'complementary-lighten' | 'complementary-saturate')[];
34
+ ligthenIntensity?: number;
35
+ saturateIntensity?: number;
36
+ };
37
+ compose?: {
38
+ nbColor?: number;
39
+ mix?: boolean;
40
+ };
41
+ };
42
+ };
43
+ export declare const frameSchema: zod.ZodType<FrameOperation>;
44
+ export {};
@@ -0,0 +1,13 @@
1
+ import {
2
+ frameSchema
3
+ } from "../../../../chunks/chunk-CSZFW4R5.js";
4
+ import "../../../../chunks/chunk-YLKBLE6G.js";
5
+ import "../../../../chunks/chunk-YXJXNTCV.js";
6
+ import "../../../../chunks/chunk-7KCMLH6B.js";
7
+ import "../../../../chunks/chunk-JBZR6R5B.js";
8
+ import "../../../../chunks/chunk-XEAHMN2T.js";
9
+ import "../../../../chunks/chunk-MOVLLUDL.js";
10
+ import "../../../../chunks/chunk-NZLE2WMY.js";
11
+ export {
12
+ frameSchema
13
+ };
@@ -0,0 +1,8 @@
1
+ import zod from 'zod';
2
+ import { OperationNames } from '../_utils/operation-names';
3
+ export type HueRotateOperationParams = number;
4
+ export type HueRotateOperation = {
5
+ name: typeof OperationNames.HueRotate;
6
+ params: HueRotateOperationParams;
7
+ };
8
+ export declare const hueRotateSchema: zod.ZodType<HueRotateOperation>;
@@ -0,0 +1,9 @@
1
+ import {
2
+ hueRotateSchema
3
+ } from "../../../../chunks/chunk-OWCPJD6O.js";
4
+ import "../../../../chunks/chunk-XEAHMN2T.js";
5
+ import "../../../../chunks/chunk-MOVLLUDL.js";
6
+ import "../../../../chunks/chunk-NZLE2WMY.js";
7
+ export {
8
+ hueRotateSchema
9
+ };