@design-edito/tools 0.2.17 → 0.2.19

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 (231) hide show
  1. package/agnostic/arrays/index.js +8 -8
  2. package/agnostic/arrays/random-pick/index.js +4 -4
  3. package/agnostic/booleans/index.js +3 -12
  4. package/agnostic/colors/channels/index.js +4 -3
  5. package/agnostic/colors/contrast/index.js +5 -4
  6. package/agnostic/colors/convert/index.js +3 -2
  7. package/agnostic/colors/distance/index.js +4 -3
  8. package/agnostic/colors/grayscale/index.js +4 -3
  9. package/agnostic/colors/index.js +22 -20
  10. package/agnostic/colors/invert/index.js +4 -3
  11. package/agnostic/colors/lerp/index.js +4 -3
  12. package/agnostic/colors/luminance/index.js +4 -3
  13. package/agnostic/colors/palette/index.js +6 -5
  14. package/agnostic/colors/rotate/index.js +5 -4
  15. package/agnostic/colors/tidy/index.js +3 -2
  16. package/agnostic/colors/typechecks/index.js +2 -1
  17. package/agnostic/colors/types.js +7 -0
  18. package/agnostic/css/index.js +9 -29
  19. package/agnostic/css/styles-set/index.js +4 -4
  20. package/agnostic/errors/index.js +2 -2
  21. package/agnostic/html/hyper-json/cast/index.js +5 -5
  22. package/agnostic/html/hyper-json/index.js +6 -6
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  73. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  74. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  75. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  76. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  77. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  78. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  79. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  80. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  81. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  82. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  83. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  84. package/agnostic/html/hyper-json/tree/index.js +5 -5
  85. package/agnostic/html/hyper-json/utils/index.js +5 -5
  86. package/agnostic/html/index.js +17 -43
  87. package/agnostic/html/sanitize/index.js +4 -4
  88. package/agnostic/html/selector-to-element/index.js +4 -4
  89. package/agnostic/html/string-to-nodes/index.js +5 -5
  90. package/agnostic/index.js +144 -0
  91. package/agnostic/misc/assert/index.js +3 -3
  92. package/agnostic/misc/index.js +44 -66
  93. package/agnostic/misc/logs/index.js +2 -2
  94. package/agnostic/misc/lorem-ipsum/index.js +9 -9
  95. package/agnostic/numbers/index.js +7 -26
  96. package/agnostic/objects/index.js +10 -38
  97. package/agnostic/optim/index.js +4 -14
  98. package/agnostic/regexps/index.js +3 -88
  99. package/agnostic/strings/index.js +9 -38
  100. package/agnostic/time/index.js +4 -4
  101. package/chunks/{chunk-L5VJAZVW.js → chunk-2T2U5AD3.js} +33 -69
  102. package/chunks/chunk-3ED56VVR.js +31 -0
  103. package/chunks/{chunk-VA67YLZL.js → chunk-3LCD73SB.js} +1 -1
  104. package/chunks/{chunk-IDXUS2IO.js → chunk-4P6V6CHL.js} +5 -5
  105. package/chunks/{chunk-UX2O74SG.js → chunk-4PEPTXU3.js} +8 -8
  106. package/chunks/{chunk-MN4FVOU2.js → chunk-5CTAKAIP.js} +2 -2
  107. package/chunks/chunk-67V4BGOB.js +107 -0
  108. package/chunks/chunk-6KM4UT6T.js +34 -0
  109. package/chunks/chunk-6YQGM6N6.js +19 -0
  110. package/chunks/chunk-7ED4HK2W.js +43 -0
  111. package/chunks/{chunk-UG5EMKGN.js → chunk-7UGMWTP5.js} +1 -102
  112. package/chunks/chunk-7YJ4BB73.js +20 -0
  113. package/chunks/{chunk-D7PZ7633.js → chunk-A2C4VISH.js} +8 -8
  114. package/chunks/chunk-BLDUC7TT.js +17 -0
  115. package/chunks/{chunk-AQBJ6HNB.js → chunk-C7SRAQMW.js} +1 -1
  116. package/chunks/{chunk-ZBBU2P4D.js → chunk-CQEDNACN.js} +2 -2
  117. package/chunks/{chunk-O7VEAOGY.js → chunk-CRLUUTBS.js} +14 -14
  118. package/chunks/{chunk-BKIF2ELV.js → chunk-D5CCWCEI.js} +1 -1
  119. package/chunks/{chunk-JNQPNZTB.js → chunk-DPIPDGYH.js} +8 -8
  120. package/chunks/{chunk-WAMSK4A3.js → chunk-E4FJHD5R.js} +1 -1
  121. package/chunks/{chunk-D7SXHHU3.js → chunk-EGBJXHCW.js} +1 -1
  122. package/chunks/chunk-FKDPPFHV.js +42 -0
  123. package/chunks/{chunk-YZVZKBVJ.js → chunk-FNQAF6CQ.js} +4 -2
  124. package/chunks/{chunk-RXBMGIPJ.js → chunk-GHAF5VTP.js} +8 -8
  125. package/chunks/chunk-HXEFDFYT.js +20 -0
  126. package/chunks/{chunk-J4WGYUFY.js → chunk-IG4V2EWV.js} +4 -4
  127. package/chunks/chunk-IRTPQATN.js +16 -0
  128. package/chunks/{chunk-HX5PHI2P.js → chunk-JEMWHVTN.js} +8 -8
  129. package/chunks/chunk-JRRN5FOZ.js +32 -0
  130. package/chunks/{chunk-KDOMQ4LM.js → chunk-KGRQKEDD.js} +4 -4
  131. package/chunks/{chunk-ZQY2MR66.js → chunk-KVZMRVOB.js} +8 -8
  132. package/chunks/{chunk-P4YT4RBG.js → chunk-L7PIZQFC.js} +1 -1
  133. package/chunks/{chunk-IAOZM4EN.js → chunk-MCRHFVAD.js} +5 -5
  134. package/chunks/{chunk-XAYMIITK.js → chunk-MFIGSRSO.js} +1 -1
  135. package/chunks/chunk-MMXUMHPQ.js +112 -0
  136. package/chunks/{chunk-ISUDTAMN.js → chunk-MMZRJLHD.js} +8 -7
  137. package/chunks/chunk-MZQXUVFW.js +43 -0
  138. package/chunks/{chunk-ZJ63OCMA.js → chunk-NCYE5WML.js} +1 -1
  139. package/chunks/{chunk-RBCZWVQH.js → chunk-NLCZUDXC.js} +4 -4
  140. package/chunks/{chunk-CGITTQIW.js → chunk-OBTCE47R.js} +8 -8
  141. package/chunks/chunk-OKFZJ6DJ.js +9 -0
  142. package/chunks/{chunk-TIER4TF4.js → chunk-P2H6PV4O.js} +1 -1
  143. package/chunks/chunk-PB3KFN3E.js +20 -0
  144. package/chunks/chunk-PKCW2NJ4.js +16 -0
  145. package/chunks/{chunk-O7VFJHQX.js → chunk-PNJI3RCF.js} +4 -4
  146. package/chunks/{chunk-2EHYEUX4.js → chunk-PVRYR5KX.js} +1 -1
  147. package/chunks/{chunk-STW5RKR7.js → chunk-PX4DPCZM.js} +1 -1
  148. package/chunks/{chunk-XNWEMAIP.js → chunk-QB5OBWPS.js} +8 -8
  149. package/chunks/chunk-QHAB6XYD.js +30 -0
  150. package/chunks/{chunk-XB3EGDBI.js → chunk-RDQJSWRC.js} +1 -1
  151. package/chunks/{chunk-S7637BQZ.js → chunk-S3K2QPZ6.js} +4 -4
  152. package/chunks/{chunk-TFZOOTCF.js → chunk-SPLPZBQR.js} +8 -8
  153. package/chunks/chunk-TGJAXXJZ.js +84 -0
  154. package/chunks/{chunk-YVWQXQTE.js → chunk-TMB3PV3Q.js} +8 -8
  155. package/chunks/{chunk-HONCMQHQ.js → chunk-TTYILNFU.js} +1 -1
  156. package/chunks/chunk-UKD6DFES.js +31 -0
  157. package/chunks/chunk-UNXRB2AV.js +16 -0
  158. package/chunks/{chunk-JJ7DN7NN.js → chunk-VI2MRY6N.js} +7 -7
  159. package/chunks/{chunk-65NTXENV.js → chunk-WSC3WODJ.js} +1 -1
  160. package/chunks/{chunk-ZUQEHFGL.js → chunk-WWTWL2OF.js} +8 -8
  161. package/chunks/{chunk-SKBOSWM2.js → chunk-X5HMM3LD.js} +1 -1
  162. package/chunks/{chunk-QJXJT5JS.js → chunk-XLHOA3NR.js} +2 -2
  163. package/chunks/{chunk-GUBFCOBT.js → chunk-XPGAVZGK.js} +1 -1
  164. package/chunks/chunk-YPTFPS76.js +91 -0
  165. package/chunks/chunk-YUSINH7T.js +16 -0
  166. package/chunks/{chunk-QW34TQCS.js → chunk-YXLHZ2KW.js} +2 -2
  167. package/chunks/chunk-ZJSABMHZ.js +20 -0
  168. package/chunks/{chunk-5LK2YLTK.js → chunk-ZLBSI4TR.js} +1 -1
  169. package/chunks/chunk-ZQQ6H6BY.js +41 -0
  170. package/components/Comp/index.js +3 -6
  171. package/components/index.js +13 -0
  172. package/node/@aws-s3/index.js +6 -5
  173. package/node/@aws-s3/storage/directory/index.js +4 -4
  174. package/node/@aws-s3/storage/file/index.js +4 -4
  175. package/node/@aws-s3/storage/index.js +5 -5
  176. package/node/@design-edito/index.js +1 -0
  177. package/node/@express/index.js +1 -0
  178. package/node/@google-cloud/index.js +10 -9
  179. package/node/@google-cloud/storage/bucket/index.js +4 -4
  180. package/node/@google-cloud/storage/directory/index.js +4 -4
  181. package/node/@google-cloud/storage/file/index.js +8 -8
  182. package/node/@google-cloud/storage/index.js +11 -11
  183. package/node/cloud-storage/index.js +21 -20
  184. package/node/cloud-storage/operations/copy-dir/index.js +1 -1
  185. package/node/cloud-storage/operations/copy-file/index.js +1 -1
  186. package/node/cloud-storage/operations/download-file/index.js +1 -1
  187. package/node/cloud-storage/operations/exists-file/index.js +1 -1
  188. package/node/cloud-storage/operations/index.js +23 -23
  189. package/node/cloud-storage/operations/list-dir/index.js +1 -1
  190. package/node/cloud-storage/operations/move-dir/index.js +1 -1
  191. package/node/cloud-storage/operations/move-file/index.js +1 -1
  192. package/node/cloud-storage/operations/remove-dir/index.js +1 -1
  193. package/node/cloud-storage/operations/remove-file/index.js +1 -1
  194. package/node/cloud-storage/operations/stat-file/index.js +1 -1
  195. package/node/cloud-storage/operations/upload-file/index.js +1 -1
  196. package/node/encryption/index.js +4 -3
  197. package/node/files/index.js +9 -15
  198. package/node/ftps/directory/index.js +4 -4
  199. package/node/ftps/file/index.js +4 -4
  200. package/node/ftps/index.js +7 -6
  201. package/node/images/create/index.js +15 -14
  202. package/node/images/format/index.js +15 -14
  203. package/node/images/index.js +34 -30
  204. package/node/images/metadata/index.js +15 -14
  205. package/node/images/transform/index.js +27 -25
  206. package/node/images/transform/operations/extend/index.js +15 -14
  207. package/node/images/transform/operations/flatten/index.js +15 -14
  208. package/node/images/transform/operations/overlay/index.js +15 -14
  209. package/node/images/transform/operations/resize/index.js +15 -14
  210. package/node/images/transform/operations/rotate/index.js +15 -14
  211. package/node/images/types.js +9 -0
  212. package/node/images/utils/index.js +14 -13
  213. package/node/index.js +172 -0
  214. package/node/process/index.js +7 -13
  215. package/node/sftp/directory/index.js +4 -4
  216. package/node/sftp/file/index.js +4 -4
  217. package/node/sftp/index.js +7 -6
  218. package/package.json +1 -1
  219. package/{chunks/chunk-ALMK24GK.js → agnostic/optim/throttle-debounce/types.js} +0 -0
  220. package/chunks/{chunk-WH6BPDAC.js → chunk-2KT7AKRW.js} +3 -3
  221. package/chunks/{chunk-X5F6XGEP.js → chunk-4HPG6TEE.js} +3 -3
  222. package/chunks/{chunk-ASCJDM27.js → chunk-4P4MXSRC.js} +3 -3
  223. package/chunks/{chunk-ZBAKY6DB.js → chunk-G6C3VTOA.js} +3 -3
  224. package/chunks/{chunk-A7K5DUP7.js → chunk-IGFA7IDA.js} +3 -3
  225. package/chunks/{chunk-X5VXP4GS.js → chunk-IK3YAMUY.js} +3 -3
  226. package/chunks/{chunk-CNMP2GU4.js → chunk-LE23WL3C.js} +3 -3
  227. package/chunks/{chunk-QN3UAKIU.js → chunk-MJQF3YZO.js} +3 -3
  228. package/chunks/{chunk-UEAMPAHK.js → chunk-OMTDHKJI.js} +3 -3
  229. package/chunks/{chunk-2DW5MV3U.js → chunk-PCWD23PL.js} +3 -3
  230. package/chunks/{chunk-RBH5MYJ7.js → chunk-SQ7G3ZA7.js} +7 -7
  231. package/chunks/{chunk-7SZXDQVJ.js → chunk-WAPVSFU4.js} +11 -11
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  upload_file_exports
3
- } from "./chunk-ZUQEHFGL.js";
3
+ } from "./chunk-WWTWL2OF.js";
4
4
  import {
5
- exists_file_exports
6
- } from "./chunk-UX2O74SG.js";
5
+ download_file_exports
6
+ } from "./chunk-A2C4VISH.js";
7
7
  import {
8
- list_dir_exports
9
- } from "./chunk-RXBMGIPJ.js";
8
+ exists_file_exports
9
+ } from "./chunk-4PEPTXU3.js";
10
10
  import {
11
11
  move_dir_exports
12
- } from "./chunk-HX5PHI2P.js";
12
+ } from "./chunk-JEMWHVTN.js";
13
13
  import {
14
- download_file_exports
15
- } from "./chunk-D7PZ7633.js";
14
+ list_dir_exports
15
+ } from "./chunk-GHAF5VTP.js";
16
16
  import {
17
17
  move_file_exports
18
- } from "./chunk-CGITTQIW.js";
18
+ } from "./chunk-OBTCE47R.js";
19
19
  import {
20
20
  remove_file_exports
21
- } from "./chunk-TFZOOTCF.js";
21
+ } from "./chunk-SPLPZBQR.js";
22
22
  import {
23
23
  stat_file_exports
24
- } from "./chunk-YVWQXQTE.js";
24
+ } from "./chunk-TMB3PV3Q.js";
25
25
  import {
26
26
  remove_dir_exports
27
- } from "./chunk-JNQPNZTB.js";
27
+ } from "./chunk-DPIPDGYH.js";
28
28
  import {
29
29
  copy_dir_exports
30
- } from "./chunk-ZQY2MR66.js";
30
+ } from "./chunk-KVZMRVOB.js";
31
31
  import {
32
32
  copy_file_exports
33
- } from "./chunk-XNWEMAIP.js";
33
+ } from "./chunk-QB5OBWPS.js";
34
34
  import {
35
35
  __export
36
36
  } from "./chunk-WSFCRVEQ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tidy,
3
3
  toRgb
4
- } from "./chunk-YZVZKBVJ.js";
4
+ } from "./chunk-FNQAF6CQ.js";
5
5
  import {
6
6
  isNonNullObject
7
7
  } from "./chunk-HQLRJ7XW.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
- removeDir as removeDir4
2
+ removeDir as removeDir2
3
3
  } from "./chunk-QLDN574K.js";
4
4
  import {
5
- removeDir as removeDir3
5
+ removeDir
6
6
  } from "./chunk-4XSDRT23.js";
7
7
  import {
8
- removeDir
8
+ removeDir as removeDir3
9
9
  } from "./chunk-BSUQNHAM.js";
10
10
  import {
11
- removeDir as removeDir2
11
+ removeDir as removeDir4
12
12
  } from "./chunk-5ZJ3KJPK.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(remove_dir_exports, {
29
29
  removeDir: () => removeDir5
30
30
  });
31
31
  async function removeDir5(client, sourcePath, options) {
32
- if (isGcsBucket(client)) return removeDir4(client, sourcePath, options);
33
- if (isS3ClientWithBucket(client)) return removeDir3(client.client, client.bucketName, sourcePath, options);
34
- if (isFtpClient(client)) return removeDir(client, sourcePath, options);
35
- if (isSftpClient(client)) return removeDir2(client, sourcePath, options);
32
+ if (isGcsBucket(client)) return removeDir2(client, sourcePath, options);
33
+ if (isS3ClientWithBucket(client)) return removeDir(client.client, client.bucketName, sourcePath, options);
34
+ if (isFtpClient(client)) return removeDir3(client, sourcePath, options);
35
+ if (isSftpClient(client)) return removeDir4(client, sourcePath, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-JMU5PDBD.js";
4
4
  import {
5
5
  Errors
6
- } from "./chunk-WH6BPDAC.js";
6
+ } from "./chunk-2KT7AKRW.js";
7
7
 
8
8
  // src/agnostic/misc/assert/index.ts
9
9
  var Assert;
@@ -2,7 +2,7 @@ import {
2
2
  viaLab,
3
3
  viaLch,
4
4
  viaRgb
5
- } from "./chunk-YZVZKBVJ.js";
5
+ } from "./chunk-FNQAF6CQ.js";
6
6
  import {
7
7
  absoluteModulo
8
8
  } from "./chunk-DNIOWD7K.js";
@@ -0,0 +1,42 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-WSFCRVEQ.js";
4
+
5
+ // src/node/images/types.ts
6
+ var types_exports = {};
7
+ __export(types_exports, {
8
+ OpName: () => OpName,
9
+ TransformErrCodes: () => TransformErrCodes
10
+ });
11
+ var OpName = /* @__PURE__ */ ((OpName2) => {
12
+ OpName2["BLUR"] = "blur";
13
+ OpName2["BRIGHTEN"] = "brighten";
14
+ OpName2["EXTEND"] = "extend";
15
+ OpName2["EXTRACT"] = "extract";
16
+ OpName2["FLATTEN"] = "flatten";
17
+ OpName2["FLIP"] = "flip";
18
+ OpName2["FLOP"] = "flop";
19
+ OpName2["HUE"] = "hue";
20
+ OpName2["LEVEL"] = "level";
21
+ OpName2["LIGHTEN"] = "lighten";
22
+ OpName2["NORMALIZE"] = "normalize";
23
+ OpName2["OVERLAY"] = "overlay";
24
+ OpName2["RESIZE"] = "resize";
25
+ OpName2["ROTATE"] = "rotate";
26
+ OpName2["SATURATE"] = "saturate";
27
+ return OpName2;
28
+ })(OpName || {});
29
+ var TransformErrCodes = /* @__PURE__ */ ((TransformErrCodes2) => {
30
+ TransformErrCodes2["PROCESS_TIMEOUT"] = "process-timeout";
31
+ TransformErrCodes2["OP_TIMEOUT"] = "op-timeout";
32
+ TransformErrCodes2["WIDTH_LIMIT_EXCEEDED"] = "width-limit-exceeded";
33
+ TransformErrCodes2["HEIGHT_LIMIT_EXCEEDED"] = "height-limit-exceeded";
34
+ TransformErrCodes2["UNKNOWN_ERROR"] = "unknown-error";
35
+ return TransformErrCodes2;
36
+ })(TransformErrCodes || {});
37
+
38
+ export {
39
+ OpName,
40
+ TransformErrCodes,
41
+ types_exports
42
+ };
@@ -5,7 +5,6 @@ import {
5
5
  clamp
6
6
  } from "./chunk-OSAXBA7G.js";
7
7
  import {
8
- cssColors,
9
8
  isCmyk,
10
9
  isCssColor,
11
10
  isHex,
@@ -15,7 +14,10 @@ import {
15
14
  isLch,
16
15
  isRgb,
17
16
  isXyz
18
- } from "./chunk-UG5EMKGN.js";
17
+ } from "./chunk-67V4BGOB.js";
18
+ import {
19
+ cssColors
20
+ } from "./chunk-7UGMWTP5.js";
19
21
 
20
22
  // src/agnostic/colors/convert/index.ts
21
23
  function _hex2rgb(hex) {
@@ -1,14 +1,14 @@
1
1
  import {
2
- list as list4
2
+ list as list2
3
3
  } from "./chunk-37TRFYZT.js";
4
4
  import {
5
- list as list3
5
+ list
6
6
  } from "./chunk-ZSUG52DO.js";
7
7
  import {
8
- list
8
+ list as list3
9
9
  } from "./chunk-3CLGBOHN.js";
10
10
  import {
11
- list as list2
11
+ list as list4
12
12
  } from "./chunk-UK2F7CWI.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(list_dir_exports, {
29
29
  listDir: () => listDir
30
30
  });
31
31
  async function listDir(client, path, options) {
32
- if (isGcsBucket(client)) return list4(client, path, options);
33
- if (isS3ClientWithBucket(client)) return list3(client.client, client.bucketName, path, options);
34
- if (isFtpClient(client)) return list(client, path);
35
- if (isSftpClient(client)) return list2(client, path);
32
+ if (isGcsBucket(client)) return list2(client, path, options);
33
+ if (isS3ClientWithBucket(client)) return list(client.client, client.bucketName, path, options);
34
+ if (isFtpClient(client)) return list3(client, path);
35
+ if (isSftpClient(client)) return list4(client, path);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -0,0 +1,20 @@
1
+ import {
2
+ file_exports
3
+ } from "./chunk-IK3YAMUY.js";
4
+ import {
5
+ directory_exports
6
+ } from "./chunk-LE23WL3C.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/ftps/index.ts
12
+ var ftps_exports = {};
13
+ __export(ftps_exports, {
14
+ Directory: () => directory_exports,
15
+ File: () => file_exports
16
+ });
17
+
18
+ export {
19
+ ftps_exports
20
+ };
@@ -2,16 +2,16 @@ import {
2
2
  Cast,
3
3
  Tree,
4
4
  Utils
5
- } from "./chunk-7SZXDQVJ.js";
5
+ } from "./chunk-WAPVSFU4.js";
6
+ import {
7
+ Serialize
8
+ } from "./chunk-SXRWMH3U.js";
6
9
  import {
7
10
  Types
8
11
  } from "./chunk-XEQ2PBT2.js";
9
12
  import {
10
13
  SmartTags
11
14
  } from "./chunk-UT2J62LH.js";
12
- import {
13
- Serialize
14
- } from "./chunk-SXRWMH3U.js";
15
15
  import {
16
16
  Transformer
17
17
  } from "./chunk-BKO7GLC2.js";
@@ -0,0 +1,16 @@
1
+ import {
2
+ thumbnails_exports
3
+ } from "./chunk-JBSS64SA.js";
4
+ import {
5
+ __export
6
+ } from "./chunk-WSFCRVEQ.js";
7
+
8
+ // src/node/@design-edito/index.ts
9
+ var design_edito_exports = {};
10
+ __export(design_edito_exports, {
11
+ Thumbnails: () => thumbnails_exports
12
+ });
13
+
14
+ export {
15
+ design_edito_exports
16
+ };
@@ -1,14 +1,14 @@
1
1
  import {
2
- moveDir as moveDir4
2
+ moveDir as moveDir2
3
3
  } from "./chunk-BWYH445G.js";
4
4
  import {
5
- moveDir as moveDir3
5
+ moveDir
6
6
  } from "./chunk-ON6LC3HE.js";
7
7
  import {
8
- moveDir
8
+ moveDir as moveDir3
9
9
  } from "./chunk-BE7OXZRK.js";
10
10
  import {
11
- moveDir as moveDir2
11
+ moveDir as moveDir4
12
12
  } from "./chunk-RWO53U4X.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(move_dir_exports, {
29
29
  moveDir: () => moveDir5
30
30
  });
31
31
  async function moveDir5(client, sourcePath, targetPath, options) {
32
- if (isGcsBucket(client)) return moveDir4(client, sourcePath, targetPath, options);
33
- if (isS3ClientWithBucket(client)) return moveDir3(client.client, client.bucketName, sourcePath, targetPath, options);
34
- if (isFtpClient(client)) return moveDir(client, sourcePath, targetPath, options);
35
- if (isSftpClient(client)) return moveDir2(client, sourcePath, targetPath, options);
32
+ if (isGcsBucket(client)) return moveDir2(client, sourcePath, targetPath, options);
33
+ if (isS3ClientWithBucket(client)) return moveDir(client.client, client.bucketName, sourcePath, targetPath, options);
34
+ if (isFtpClient(client)) return moveDir3(client, sourcePath, targetPath, options);
35
+ if (isSftpClient(client)) return moveDir4(client, sourcePath, targetPath, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -0,0 +1,32 @@
1
+ import {
2
+ create_exports
3
+ } from "./chunk-PVRYR5KX.js";
4
+ import {
5
+ format_exports
6
+ } from "./chunk-4P6V6CHL.js";
7
+ import {
8
+ metadata_exports
9
+ } from "./chunk-ZLBSI4TR.js";
10
+ import {
11
+ transform_exports
12
+ } from "./chunk-2T2U5AD3.js";
13
+ import {
14
+ types_exports
15
+ } from "./chunk-FKDPPFHV.js";
16
+ import {
17
+ __export
18
+ } from "./chunk-WSFCRVEQ.js";
19
+
20
+ // src/node/images/index.ts
21
+ var images_exports = {};
22
+ __export(images_exports, {
23
+ Create: () => create_exports,
24
+ Format: () => format_exports,
25
+ Metadata: () => metadata_exports,
26
+ Transform: () => transform_exports,
27
+ Types: () => types_exports
28
+ });
29
+
30
+ export {
31
+ images_exports
32
+ };
@@ -1,15 +1,15 @@
1
+ import {
2
+ toSharpColor
3
+ } from "./chunk-D5CCWCEI.js";
1
4
  import {
2
5
  zod_default
3
6
  } from "./chunk-DZ2T5DTY.js";
4
- import {
5
- toSharpColor
6
- } from "./chunk-BKIF2ELV.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
10
10
  import {
11
11
  isColor
12
- } from "./chunk-UG5EMKGN.js";
12
+ } from "./chunk-67V4BGOB.js";
13
13
 
14
14
  // src/node/images/transform/operations/resize/index.ts
15
15
  function isResizeOperationParams(obj) {
@@ -1,14 +1,14 @@
1
1
  import {
2
- copyDir as copyDir4
2
+ copyDir as copyDir2
3
3
  } from "./chunk-V3L55I2S.js";
4
4
  import {
5
- copyDir as copyDir3
5
+ copyDir
6
6
  } from "./chunk-4XBUJAQU.js";
7
7
  import {
8
- copyDir
8
+ copyDir as copyDir3
9
9
  } from "./chunk-N2T672IG.js";
10
10
  import {
11
- copyDir as copyDir2
11
+ copyDir as copyDir4
12
12
  } from "./chunk-WAHPAZQS.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(copy_dir_exports, {
29
29
  copyDir: () => copyDir5
30
30
  });
31
31
  async function copyDir5(client, sourcePath, targetPath, options) {
32
- if (isGcsBucket(client)) return copyDir4(client, sourcePath, targetPath, options);
33
- if (isS3ClientWithBucket(client)) return copyDir3(client.client, client.bucketName, sourcePath, targetPath, options);
34
- if (isFtpClient(client)) return copyDir(client, sourcePath, targetPath);
35
- if (isSftpClient(client)) return copyDir2(client, sourcePath, targetPath);
32
+ if (isGcsBucket(client)) return copyDir2(client, sourcePath, targetPath, options);
33
+ if (isS3ClientWithBucket(client)) return copyDir(client.client, client.bucketName, sourcePath, targetPath, options);
34
+ if (isFtpClient(client)) return copyDir3(client, sourcePath, targetPath);
35
+ if (isSftpClient(client)) return copyDir4(client, sourcePath, targetPath);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toLab
3
- } from "./chunk-YZVZKBVJ.js";
3
+ } from "./chunk-FNQAF6CQ.js";
4
4
 
5
5
  // src/agnostic/colors/distance/index.ts
6
6
  function distanceCiede2000(c1, c2) {
@@ -1,12 +1,12 @@
1
- import {
2
- bucket_exports
3
- } from "./chunk-UEAMPAHK.js";
4
1
  import {
5
2
  file_exports
6
- } from "./chunk-RBH5MYJ7.js";
3
+ } from "./chunk-SQ7G3ZA7.js";
4
+ import {
5
+ bucket_exports
6
+ } from "./chunk-OMTDHKJI.js";
7
7
  import {
8
8
  directory_exports
9
- } from "./chunk-X5F6XGEP.js";
9
+ } from "./chunk-4HPG6TEE.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-WSFCRVEQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rotate
3
- } from "./chunk-QW34TQCS.js";
3
+ } from "./chunk-YXLHZ2KW.js";
4
4
 
5
5
  // src/agnostic/colors/palette/index.ts
6
6
  function complementaryHsl(color) {
@@ -0,0 +1,112 @@
1
+ import {
2
+ palette
3
+ } from "./chunk-MFIGSRSO.js";
4
+ import {
5
+ rotate
6
+ } from "./chunk-YXLHZ2KW.js";
7
+ import {
8
+ addChannel,
9
+ getChannel,
10
+ multChannel,
11
+ setChannel
12
+ } from "./chunk-NCYE5WML.js";
13
+ import {
14
+ distance
15
+ } from "./chunk-L7PIZQFC.js";
16
+ import {
17
+ lerp
18
+ } from "./chunk-XPGAVZGK.js";
19
+ import {
20
+ invert
21
+ } from "./chunk-EGBJXHCW.js";
22
+ import {
23
+ grayscale
24
+ } from "./chunk-WSC3WODJ.js";
25
+ import {
26
+ contrast
27
+ } from "./chunk-5CTAKAIP.js";
28
+ import {
29
+ luminance
30
+ } from "./chunk-3LCD73SB.js";
31
+ import {
32
+ tidy,
33
+ toCmyk,
34
+ toHsb,
35
+ toHsl,
36
+ toLab,
37
+ toLch,
38
+ toRgb,
39
+ toXyz,
40
+ viaCmyk,
41
+ viaHsb,
42
+ viaHsl,
43
+ viaLab,
44
+ viaLch,
45
+ viaRgb,
46
+ viaXyz
47
+ } from "./chunk-FNQAF6CQ.js";
48
+ import {
49
+ isCmyk,
50
+ isColor,
51
+ isCssColor,
52
+ isHex,
53
+ isHsb,
54
+ isHsl,
55
+ isLab,
56
+ isLch,
57
+ isRgb,
58
+ isXyz
59
+ } from "./chunk-67V4BGOB.js";
60
+ import {
61
+ types_exports
62
+ } from "./chunk-7UGMWTP5.js";
63
+ import {
64
+ __export
65
+ } from "./chunk-WSFCRVEQ.js";
66
+
67
+ // src/agnostic/colors/index.ts
68
+ var colors_exports = {};
69
+ __export(colors_exports, {
70
+ Types: () => types_exports,
71
+ addChannel: () => addChannel,
72
+ contrast: () => contrast,
73
+ distance: () => distance,
74
+ getChannel: () => getChannel,
75
+ grayscale: () => grayscale,
76
+ invert: () => invert,
77
+ isCmyk: () => isCmyk,
78
+ isColor: () => isColor,
79
+ isCssColor: () => isCssColor,
80
+ isHex: () => isHex,
81
+ isHsb: () => isHsb,
82
+ isHsl: () => isHsl,
83
+ isLab: () => isLab,
84
+ isLch: () => isLch,
85
+ isRgb: () => isRgb,
86
+ isXyz: () => isXyz,
87
+ lerp: () => lerp,
88
+ luminance: () => luminance,
89
+ multChannel: () => multChannel,
90
+ palette: () => palette,
91
+ rotate: () => rotate,
92
+ setChannel: () => setChannel,
93
+ tidy: () => tidy,
94
+ toCmyk: () => toCmyk,
95
+ toHsb: () => toHsb,
96
+ toHsl: () => toHsl,
97
+ toLab: () => toLab,
98
+ toLch: () => toLch,
99
+ toRgb: () => toRgb,
100
+ toXyz: () => toXyz,
101
+ viaCmyk: () => viaCmyk,
102
+ viaHsb: () => viaHsb,
103
+ viaHsl: () => viaHsl,
104
+ viaLab: () => viaLab,
105
+ viaLch: () => viaLch,
106
+ viaRgb: () => viaRgb,
107
+ viaXyz: () => viaXyz
108
+ });
109
+
110
+ export {
111
+ colors_exports
112
+ };
@@ -1,18 +1,19 @@
1
- import {
2
- zod_default
3
- } from "./chunk-DZ2T5DTY.js";
4
1
  import {
5
2
  isDuckTypedSharpInstance,
6
3
  toSharpInstance
7
- } from "./chunk-BKIF2ELV.js";
4
+ } from "./chunk-D5CCWCEI.js";
5
+ import {
6
+ zod_default
7
+ } from "./chunk-DZ2T5DTY.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
11
11
  import {
12
12
  isColor
13
- } from "./chunk-UG5EMKGN.js";
13
+ } from "./chunk-67V4BGOB.js";
14
14
 
15
15
  // src/node/images/transform/operations/overlay/index.ts
16
+ import sharp from "sharp";
16
17
  function isOverlayOperationParams(obj) {
17
18
  const schema = zod_default.object({
18
19
  input: zod_default.union([
@@ -89,10 +90,10 @@ function isOverlayOperationParams(obj) {
89
90
  }
90
91
  async function overlay(sharpInstance, params) {
91
92
  const inputBuffer = params.input instanceof Buffer ? params.input : await (await toSharpInstance(params.input)).toBuffer();
92
- return sharpInstance.composite([{
93
+ return sharp(await sharpInstance.composite([{
93
94
  ...params,
94
95
  input: inputBuffer
95
- }]);
96
+ }]).webp().toBuffer());
96
97
  }
97
98
 
98
99
  export {
@@ -0,0 +1,43 @@
1
+ import {
2
+ recordFormat
3
+ } from "./chunk-YP64J65L.js";
4
+ import {
5
+ recordMap
6
+ } from "./chunk-XNF5MLCQ.js";
7
+ import {
8
+ Validation
9
+ } from "./chunk-FPEW3A27.js";
10
+ import {
11
+ Enums
12
+ } from "./chunk-WOAYU6LB.js";
13
+ import {
14
+ deepGetProperty
15
+ } from "./chunk-SKMCIFS3.js";
16
+ import {
17
+ isRecord
18
+ } from "./chunk-YDIBNEGA.js";
19
+ import {
20
+ flattenGetters
21
+ } from "./chunk-VFJYLXCI.js";
22
+ import {
23
+ isNonNullObject,
24
+ isObject
25
+ } from "./chunk-HQLRJ7XW.js";
26
+
27
+ // src/agnostic/objects/index.ts
28
+ var Objects;
29
+ ((Objects2) => {
30
+ Objects2.deepGetProperty = deepGetProperty;
31
+ Objects2.Enums = Enums;
32
+ Objects2.flattenGetters = flattenGetters;
33
+ Objects2.isObject = isObject;
34
+ Objects2.isNonNullObject = isNonNullObject;
35
+ Objects2.isRecord = isRecord;
36
+ Objects2.recordFormat = recordFormat;
37
+ Objects2.recordMap = recordMap;
38
+ Objects2.Validation = Validation;
39
+ })(Objects || (Objects = {}));
40
+
41
+ export {
42
+ Objects
43
+ };
@@ -13,7 +13,7 @@ import {
13
13
  viaLch,
14
14
  viaRgb,
15
15
  viaXyz
16
- } from "./chunk-YZVZKBVJ.js";
16
+ } from "./chunk-FNQAF6CQ.js";
17
17
  import {
18
18
  absoluteModulo
19
19
  } from "./chunk-DNIOWD7K.js";
@@ -1,15 +1,15 @@
1
+ import {
2
+ toSharpColor
3
+ } from "./chunk-D5CCWCEI.js";
1
4
  import {
2
5
  zod_default
3
6
  } from "./chunk-DZ2T5DTY.js";
4
- import {
5
- toSharpColor
6
- } from "./chunk-BKIF2ELV.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
10
10
  import {
11
11
  isColor
12
- } from "./chunk-UG5EMKGN.js";
12
+ } from "./chunk-67V4BGOB.js";
13
13
 
14
14
  // src/node/images/transform/operations/extend/index.ts
15
15
  function isExtendOperationParams(obj) {