@design-edito/tools 0.2.14 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agnostic/arrays/index.d.ts +5 -5
- package/agnostic/arrays/index.js +7 -7
- package/agnostic/arrays/is-array-of/index.d.ts +1 -1
- package/agnostic/arrays/random-pick/index.js +4 -4
- package/agnostic/booleans/index.d.ts +1 -1
- package/agnostic/booleans/is-falsy/index.d.ts +1 -1
- package/agnostic/colors/channels/index.d.ts +5 -0
- package/agnostic/colors/channels/index.js +18 -0
- package/agnostic/colors/contrast/index.d.ts +2 -0
- package/agnostic/colors/contrast/index.js +13 -0
- package/agnostic/colors/convert/index.d.ts +20 -0
- package/agnostic/colors/convert/index.js +45 -0
- package/agnostic/colors/distance/index.d.ts +2 -0
- package/agnostic/colors/distance/index.js +12 -0
- package/agnostic/colors/grayscale/index.d.ts +2 -0
- package/agnostic/colors/grayscale/index.js +12 -0
- package/agnostic/colors/index.d.ts +14 -16
- package/agnostic/colors/index.js +95 -27
- package/agnostic/colors/invert/index.d.ts +2 -0
- package/agnostic/colors/invert/index.js +12 -0
- package/agnostic/colors/lerp/index.d.ts +2 -0
- package/agnostic/colors/lerp/index.js +12 -0
- package/agnostic/colors/luminance/index.d.ts +2 -0
- package/agnostic/colors/luminance/index.js +12 -0
- package/agnostic/colors/palette/index.d.ts +2 -0
- package/agnostic/colors/palette/index.js +14 -0
- package/agnostic/colors/rotate/index.d.ts +2 -0
- package/agnostic/colors/rotate/index.js +13 -0
- package/agnostic/colors/tidy/index.d.ts +2 -0
- package/agnostic/colors/tidy/index.js +11 -0
- package/agnostic/colors/typechecks/index.d.ts +11 -0
- package/agnostic/colors/typechecks/index.js +26 -0
- package/agnostic/colors/types.d.ts +82 -0
- package/agnostic/css/bem/index.d.ts +2 -2
- package/agnostic/css/index.d.ts +3 -3
- package/agnostic/css/index.js +6 -6
- package/agnostic/css/styles-set/index.js +6 -6
- package/agnostic/errors/index.d.ts +2 -2
- package/agnostic/errors/index.js +2 -2
- package/agnostic/html/hyper-json/cast/index.d.ts +1 -1
- package/agnostic/html/hyper-json/cast/index.js +4 -4
- package/agnostic/html/hyper-json/index.d.ts +8 -8
- package/agnostic/html/hyper-json/index.js +5 -5
- package/agnostic/html/hyper-json/method/index.d.ts +2 -2
- package/agnostic/html/hyper-json/serialize/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +4 -4
- package/agnostic/html/hyper-json/transformer/index.d.ts +4 -4
- package/agnostic/html/hyper-json/tree/index.d.ts +1 -1
- package/agnostic/html/hyper-json/tree/index.js +4 -4
- package/agnostic/html/hyper-json/types/index.d.ts +5 -5
- package/agnostic/html/hyper-json/utils/index.d.ts +2 -2
- package/agnostic/html/hyper-json/utils/index.js +4 -4
- package/agnostic/html/index.d.ts +8 -8
- package/agnostic/html/index.js +18 -18
- package/agnostic/html/sanitize/index.js +4 -4
- package/agnostic/html/selector-to-element/index.js +4 -4
- package/agnostic/html/string-to-nodes/index.d.ts +1 -1
- package/agnostic/html/string-to-nodes/index.js +5 -5
- package/agnostic/index.d.ts +12 -12
- package/agnostic/misc/assert/index.d.ts +1 -1
- package/agnostic/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/detect-runtime/index.d.ts +1 -1
- package/agnostic/misc/crossenv/index.d.ts +3 -3
- package/agnostic/misc/crossenv/window/index.d.ts +1 -1
- package/agnostic/misc/index.d.ts +11 -11
- package/agnostic/misc/index.js +19 -19
- package/agnostic/misc/logs/index.d.ts +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +10 -10
- package/agnostic/numbers/index.d.ts +5 -5
- package/agnostic/numbers/index.js +6 -6
- package/agnostic/objects/enums/index.d.ts +1 -1
- package/agnostic/objects/index.d.ts +8 -8
- package/agnostic/objects/index.js +4 -4
- package/agnostic/optim/index.d.ts +2 -2
- package/agnostic/random/index.d.ts +3 -3
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.d.ts +7 -7
- package/agnostic/strings/index.js +13 -13
- package/agnostic/strings/parse-table/index.d.ts +1 -1
- package/agnostic/time/dates/index.d.ts +1 -1
- package/agnostic/time/index.d.ts +5 -5
- package/agnostic/time/index.js +6 -6
- package/chunks/chunk-2EHYEUX4.js +21 -0
- package/chunks/chunk-5LK2YLTK.js +21 -0
- package/chunks/chunk-65NTXENV.js +157 -0
- package/chunks/{chunk-6EJIBLPQ.js → chunk-73FF7HWQ.js} +9 -9
- package/chunks/{chunk-HMZMKLMR.js → chunk-AF2NAJS2.js} +2 -2
- package/chunks/chunk-ALMK24GK.js +0 -0
- package/chunks/chunk-BKIF2ELV.js +47 -0
- package/chunks/{chunk-AQBJ6HNB.js → chunk-C7SRAQMW.js} +1 -1
- package/chunks/{chunk-ZBBU2P4D.js → chunk-CQEDNACN.js} +2 -2
- package/chunks/chunk-D7SXHHU3.js +47 -0
- package/chunks/{chunk-GU34O65H.js → chunk-E33DCHHS.js} +15 -15
- package/chunks/{chunk-WAMSK4A3.js → chunk-E4FJHD5R.js} +1 -1
- package/chunks/chunk-GUBFCOBT.js +98 -0
- package/chunks/{chunk-5TRAENM3.js → chunk-I2HTBYNO.js} +1 -1
- package/chunks/chunk-IDXUS2IO.js +296 -0
- package/chunks/chunk-JHUOMGOX.js +81 -0
- package/chunks/{chunk-EDJ3TVNV.js → chunk-KDOMQ4LM.js} +15 -6
- package/chunks/chunk-MN4FVOU2.js +28 -0
- package/chunks/{chunk-2M33FCDG.js → chunk-O7VFJHQX.js} +11 -5
- package/chunks/{chunk-KRDVV6K3.js → chunk-OD2XVVE2.js} +3 -3
- package/chunks/{chunk-TIER4TF4.js → chunk-P2H6PV4O.js} +1 -1
- package/chunks/chunk-P4YT4RBG.js +51 -0
- package/chunks/{chunk-C5BQQUAG.js → chunk-PJSPZGT2.js} +12 -12
- package/chunks/{chunk-PLIJVLAB.js → chunk-PX4DPCZM.js} +5 -3
- package/chunks/{chunk-DWCRT664.js → chunk-QRS3G3YD.js} +3 -3
- package/chunks/{chunk-FQ4UTWMP.js → chunk-QTA7ZEVX.js} +3 -1
- package/chunks/chunk-QW34TQCS.js +48 -0
- package/chunks/{chunk-HMAK6VAF.js → chunk-RBCZWVQH.js} +11 -5
- package/chunks/{chunk-XB3EGDBI.js → chunk-RDQJSWRC.js} +1 -1
- package/chunks/{chunk-AI6AGF4I.js → chunk-S7637BQZ.js} +8 -5
- package/chunks/{chunk-3TA4CDWX.js → chunk-TQXFC6OS.js} +4 -4
- package/chunks/chunk-UG5EMKGN.js +265 -0
- package/chunks/chunk-VA67YLZL.js +26 -0
- package/chunks/{chunk-DEW6LPOS.js → chunk-VKNQ7MVZ.js} +90 -91
- package/chunks/{chunk-3TKBCG7Y.js → chunk-WV5N7ESL.js} +4 -1
- package/chunks/{chunk-SKBOSWM2.js → chunk-X5HMM3LD.js} +1 -1
- package/chunks/chunk-XAYMIITK.js +103 -0
- package/chunks/{chunk-H4LW6FP3.js → chunk-Y4THX4AN.js} +1 -1
- package/chunks/chunk-YZVZKBVJ.js +631 -0
- package/chunks/chunk-ZJ63OCMA.js +207 -0
- package/components/index.d.ts +1 -1
- package/node/@aws-s3/index.d.ts +1 -1
- package/node/@aws-s3/index.js +7 -7
- package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/index.d.ts +4 -4
- package/node/@aws-s3/storage/directory/list/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/move-dir/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/copy/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/download/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/exists/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/index.d.ts +7 -7
- package/node/@aws-s3/storage/file/index.js +10 -10
- package/node/@aws-s3/storage/file/move/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/remove/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/remove/index.js +1 -1
- package/node/@aws-s3/storage/file/stat/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/upload/index.d.ts +1 -1
- package/node/@aws-s3/storage/index.d.ts +2 -2
- package/node/@aws-s3/storage/index.js +9 -9
- package/node/@design-edito/index.d.ts +1 -1
- package/node/@express/@multer/index.d.ts +1 -1
- package/node/@express/index.d.ts +1 -1
- package/node/@google-cloud/index.d.ts +1 -1
- package/node/@google-cloud/index.js +11 -11
- package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +1 -1
- package/node/@google-cloud/storage/bucket/index.d.ts +4 -4
- package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/index.d.ts +4 -4
- package/node/@google-cloud/storage/directory/list/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/move-dir/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/copy/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/download/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/exists/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/get-metadata/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/get-permissions/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/index.d.ts +12 -12
- package/node/@google-cloud/storage/file/index.js +16 -16
- package/node/@google-cloud/storage/file/move/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/remove/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +4 -4
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/file/stat/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/update-metadata/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/upload/index.d.ts +1 -1
- package/node/@google-cloud/storage/index.d.ts +3 -3
- package/node/@google-cloud/storage/index.js +13 -13
- package/node/cloud-storage/index.d.ts +2 -2
- package/node/cloud-storage/index.js +23 -23
- package/node/cloud-storage/operations/copy-dir/index.d.ts +6 -6
- package/node/cloud-storage/operations/copy-file/index.d.ts +6 -6
- package/node/cloud-storage/operations/download-file/index.d.ts +6 -6
- package/node/cloud-storage/operations/exists-file/index.d.ts +4 -4
- package/node/cloud-storage/operations/index.d.ts +11 -11
- package/node/cloud-storage/operations/index.js +30 -30
- package/node/cloud-storage/operations/list-dir/index.d.ts +4 -4
- package/node/cloud-storage/operations/move-dir/index.d.ts +6 -6
- package/node/cloud-storage/operations/move-file/index.d.ts +6 -6
- package/node/cloud-storage/operations/remove-dir/index.d.ts +6 -6
- package/node/cloud-storage/operations/remove-file/index.d.ts +6 -6
- package/node/cloud-storage/operations/remove-file/index.js +2 -2
- package/node/cloud-storage/operations/stat-file/index.d.ts +6 -6
- package/node/cloud-storage/operations/upload-file/index.d.ts +6 -6
- package/node/encryption/@aes-256-gcm/buffer/index.d.ts +1 -1
- package/node/encryption/@aes-256-gcm/index.d.ts +2 -2
- package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +1 -1
- package/node/encryption/index.d.ts +2 -2
- package/node/encryption/index.js +3 -3
- package/node/files/index.d.ts +3 -3
- package/node/ftps/directory/copy-dir/index.d.ts +1 -1
- package/node/ftps/directory/index.d.ts +4 -4
- package/node/ftps/directory/list/index.d.ts +1 -1
- package/node/ftps/directory/move-dir/index.d.ts +1 -1
- package/node/ftps/directory/remove-dir/index.d.ts +1 -1
- package/node/ftps/file/copy/index.d.ts +1 -1
- package/node/ftps/file/download/index.d.ts +1 -1
- package/node/ftps/file/exists/index.d.ts +1 -1
- package/node/ftps/file/index.d.ts +7 -7
- package/node/ftps/file/index.js +9 -9
- package/node/ftps/file/move/index.d.ts +1 -1
- package/node/ftps/file/remove/index.d.ts +1 -1
- package/node/ftps/file/stat/index.d.ts +1 -1
- package/node/ftps/file/upload/index.d.ts +1 -1
- package/node/ftps/index.d.ts +2 -2
- package/node/ftps/index.js +7 -7
- package/node/images/create/index.d.ts +3 -0
- package/node/images/create/index.js +23 -0
- package/node/images/format/index.d.ts +18 -52
- package/node/images/format/index.js +30 -4
- package/node/images/index.d.ts +6 -4
- package/node/images/index.js +41 -21
- package/node/images/metadata/index.d.ts +3 -0
- package/node/images/metadata/index.js +23 -0
- package/node/images/transform/index.d.ts +3 -98
- package/node/images/transform/index.js +27 -16
- package/node/images/transform/operations/blur/index.d.ts +2 -4
- package/node/images/transform/operations/brighten/index.d.ts +2 -4
- package/node/images/transform/operations/extend/index.d.ts +2 -9
- package/node/images/transform/operations/extend/index.js +17 -2
- package/node/images/transform/operations/extract/index.d.ts +2 -7
- package/node/images/transform/operations/flatten/index.d.ts +2 -4
- package/node/images/transform/operations/flatten/index.js +17 -2
- package/node/images/transform/operations/hue/index.d.ts +2 -4
- package/node/images/transform/operations/level/index.d.ts +2 -5
- package/node/images/transform/operations/lighten/index.d.ts +2 -4
- package/node/images/transform/operations/normalize/index.d.ts +2 -5
- package/node/images/transform/operations/overlay/index.d.ts +5 -0
- package/node/images/transform/operations/overlay/index.js +27 -0
- package/node/images/transform/operations/resize/index.d.ts +2 -12
- package/node/images/transform/operations/resize/index.js +17 -2
- package/node/images/transform/operations/rotate/index.d.ts +2 -5
- package/node/images/transform/operations/rotate/index.js +17 -2
- package/node/images/transform/operations/saturate/index.d.ts +2 -4
- package/node/images/transform/operations/saturate/index.js +1 -1
- package/node/images/types.d.ts +252 -0
- package/node/images/utils/index.d.ts +7 -0
- package/node/images/utils/index.js +28 -0
- package/node/index.d.ts +11 -11
- package/node/process/index.d.ts +1 -1
- package/node/sftp/directory/copy-dir/index.d.ts +1 -1
- package/node/sftp/directory/index.d.ts +4 -4
- package/node/sftp/directory/list/index.d.ts +1 -1
- package/node/sftp/directory/move-dir/index.d.ts +1 -1
- package/node/sftp/directory/remove-dir/index.d.ts +1 -1
- package/node/sftp/file/copy/index.d.ts +1 -1
- package/node/sftp/file/download/index.d.ts +1 -1
- package/node/sftp/file/exists/index.d.ts +1 -1
- package/node/sftp/file/index.d.ts +7 -7
- package/node/sftp/file/index.js +9 -9
- package/node/sftp/file/move/index.d.ts +1 -1
- package/node/sftp/file/remove/index.d.ts +1 -1
- package/node/sftp/file/stat/index.d.ts +1 -1
- package/node/sftp/file/upload/index.d.ts +1 -1
- package/node/sftp/index.d.ts +2 -2
- package/node/sftp/index.js +7 -7
- package/package.json +1 -1
- package/shared/errors/index.d.ts +1 -1
- package/agnostic/colors/complement-color/index.d.ts +0 -1
- package/agnostic/colors/complement-color/index.js +0 -7
- package/agnostic/colors/hex-to-rgb/index.d.ts +0 -1
- package/agnostic/colors/hex-to-rgb/index.js +0 -7
- package/agnostic/colors/hsl-to-rgb/index.d.ts +0 -1
- package/agnostic/colors/hsl-to-rgb/index.js +0 -7
- package/agnostic/colors/lighten-color/index.d.ts +0 -2
- package/agnostic/colors/lighten-color/index.js +0 -11
- package/agnostic/colors/rgb-to-hex/index.d.ts +0 -1
- package/agnostic/colors/rgb-to-hex/index.js +0 -7
- package/agnostic/colors/rgb-to-hsl/index.d.ts +0 -1
- package/agnostic/colors/rgb-to-hsl/index.js +0 -7
- package/agnostic/colors/saturate-color/index.d.ts +0 -2
- package/agnostic/colors/saturate-color/index.js +0 -11
- package/chunks/chunk-2POD3TAX.js +0 -11
- package/chunks/chunk-2TJCB6IM.js +0 -12
- package/chunks/chunk-7EDDWSWS.js +0 -123
- package/chunks/chunk-FAXNZG5C.js +0 -10
- package/chunks/chunk-IFQA5PWI.js +0 -112
- package/chunks/chunk-MB7HWF22.js +0 -23
- package/chunks/chunk-MFYNJMVM.js +0 -18
- package/chunks/chunk-NYVARFI7.js +0 -20
- package/chunks/chunk-QLC3A6PC.js +0 -17
- package/chunks/chunk-U57Q62IN.js +0 -23
- package/chunks/chunk-YVLJKJV2.js +0 -17
- package/node/images/get-metadata/index.d.ts +0 -4
- package/node/images/get-metadata/index.js +0 -7
- package/node/images/transform/operations/composite/index.d.ts +0 -7
- package/node/images/transform/operations/composite/index.js +0 -12
- package/node/images/transform/utils/index.d.ts +0 -2
- package/node/images/transform/utils/index.js +0 -8
- package/chunks/{chunk-WH6BPDAC.js → chunk-2KT7AKRW.js} +3 -3
- package/chunks/{chunk-S5MTHWQ7.js → chunk-6QFELK4E.js} +8 -8
- package/chunks/{chunk-LEYJ4I5W.js → chunk-EXPVRDPR.js} +8 -8
- package/chunks/{chunk-ZPDKBMUH.js → chunk-LSZVKXDZ.js} +3 -3
- package/chunks/{chunk-NRABY36Z.js → chunk-MLLP7YSK.js} +9 -9
- package/chunks/{chunk-OVG5RGI3.js → chunk-S32K7POB.js} +4 -4
|
@@ -1,100 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../agnostic/misc/outcome';
|
|
3
|
-
import {
|
|
4
|
-
import { BrightenOperationParams } from './operations/brighten';
|
|
5
|
-
import { ExtendOperationParams } from './operations/extend';
|
|
6
|
-
import { ExtractOperationParams } from './operations/extract';
|
|
7
|
-
import { FlattenOperationParams } from './operations/flatten';
|
|
8
|
-
import { HueOperationParams } from './operations/hue';
|
|
9
|
-
import { LevelOperationParams } from './operations/level';
|
|
10
|
-
import { LightenOperationParams } from './operations/lighten';
|
|
11
|
-
import { NormalizeOperationParams } from './operations/normalize';
|
|
12
|
-
import { ResizeOperationParams } from './operations/resize';
|
|
13
|
-
import { RotateOperationParams } from './operations/rotate';
|
|
14
|
-
import { SaturateOperationParams } from './operations/saturate';
|
|
15
|
-
import { CompositeOperationParams } from './operations/composite';
|
|
16
|
-
export declare enum OpName {
|
|
17
|
-
BLUR = "blur",
|
|
18
|
-
BRIGHTEN = "brighten",
|
|
19
|
-
COMPOSITE = "composite",
|
|
20
|
-
EXTEND = "extend",
|
|
21
|
-
EXTRACT = "extract",
|
|
22
|
-
FLATTEN = "flatten",
|
|
23
|
-
FLIP = "flip",
|
|
24
|
-
FLOP = "flop",
|
|
25
|
-
HUE = "hue",
|
|
26
|
-
LEVEL = "level",
|
|
27
|
-
LIGHTEN = "lighten",
|
|
28
|
-
NORMALIZE = "normalize",
|
|
29
|
-
RESIZE = "resize",
|
|
30
|
-
ROTATE = "rotate",
|
|
31
|
-
SATURATE = "saturate"
|
|
32
|
-
}
|
|
33
|
-
export type BlurOperationDescriptor = {
|
|
34
|
-
name: OpName.BLUR;
|
|
35
|
-
} & BlurOperationParams;
|
|
36
|
-
export type BrightenOperationDescriptor = {
|
|
37
|
-
name: OpName.BRIGHTEN;
|
|
38
|
-
} & BrightenOperationParams;
|
|
39
|
-
export type ExtendOperationDescriptor = {
|
|
40
|
-
name: OpName.EXTEND;
|
|
41
|
-
} & ExtendOperationParams;
|
|
42
|
-
export type ExtractOperationDescriptor = {
|
|
43
|
-
name: OpName.EXTRACT;
|
|
44
|
-
} & ExtractOperationParams;
|
|
45
|
-
export type FlattenOperationDescriptor = {
|
|
46
|
-
name: OpName.FLATTEN;
|
|
47
|
-
} & FlattenOperationParams;
|
|
48
|
-
export type FlipOperationDescriptor = {
|
|
49
|
-
name: OpName.FLIP;
|
|
50
|
-
};
|
|
51
|
-
export type FlopOperationDescriptor = {
|
|
52
|
-
name: OpName.FLOP;
|
|
53
|
-
};
|
|
54
|
-
export type HueOperationDescriptor = {
|
|
55
|
-
name: OpName.HUE;
|
|
56
|
-
} & HueOperationParams;
|
|
57
|
-
export type LevelOperationDescriptor = {
|
|
58
|
-
name: OpName.LEVEL;
|
|
59
|
-
} & LevelOperationParams;
|
|
60
|
-
export type LightenOperationDescriptor = {
|
|
61
|
-
name: OpName.LIGHTEN;
|
|
62
|
-
} & LightenOperationParams;
|
|
63
|
-
export type NormalizeOperationDescriptor = {
|
|
64
|
-
name: OpName.NORMALIZE;
|
|
65
|
-
} & NormalizeOperationParams;
|
|
66
|
-
export type ResizeOperationDescriptor = {
|
|
67
|
-
name: OpName.RESIZE;
|
|
68
|
-
} & ResizeOperationParams;
|
|
69
|
-
export type RotateOperationDescriptor = {
|
|
70
|
-
name: OpName.ROTATE;
|
|
71
|
-
} & RotateOperationParams;
|
|
72
|
-
export type SaturateOperationDescriptor = {
|
|
73
|
-
name: OpName.SATURATE;
|
|
74
|
-
} & SaturateOperationParams;
|
|
75
|
-
export type CompositeOperationDescriptor = {
|
|
76
|
-
name: OpName.COMPOSITE;
|
|
77
|
-
} & CompositeOperationParams;
|
|
78
|
-
export type OperationDescriptor = BlurOperationDescriptor | BrightenOperationDescriptor | CompositeOperationDescriptor | ExtendOperationDescriptor | ExtractOperationDescriptor | FlattenOperationDescriptor | FlipOperationDescriptor | FlopOperationDescriptor | HueOperationDescriptor | LevelOperationDescriptor | LightenOperationDescriptor | NormalizeOperationDescriptor | ResizeOperationDescriptor | RotateOperationDescriptor | SaturateOperationDescriptor;
|
|
2
|
+
import { Outcome } from '../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import { OperationDescriptor, TransformLimits, TransformErr, ImageLike } from '../types.js';
|
|
79
4
|
export declare function isOperationDescriptor(obj: unknown): Outcome.Either<OperationDescriptor, string>;
|
|
80
|
-
export
|
|
81
|
-
timeoutMs?: number;
|
|
82
|
-
opTimeoutMs?: number;
|
|
83
|
-
width?: number;
|
|
84
|
-
height?: number;
|
|
85
|
-
};
|
|
86
|
-
export declare enum TransformErrCodes {
|
|
87
|
-
PROCESS_TIMEOUT = "process-timeout",
|
|
88
|
-
OP_TIMEOUT = "op-timeout",
|
|
89
|
-
WIDTH_LIMIT_EXCEEDED = "width-limit-exceeded",
|
|
90
|
-
HEIGHT_LIMIT_EXCEEDED = "height-limit-exceeded",
|
|
91
|
-
UNKNOWN_ERROR = "unknown-error"
|
|
92
|
-
}
|
|
93
|
-
export type TransformErr = {
|
|
94
|
-
code: TransformErrCodes;
|
|
95
|
-
details: string;
|
|
96
|
-
};
|
|
97
|
-
export declare function transform(input: Buffer | {
|
|
98
|
-
create: sharp.SharpOptions['create'];
|
|
99
|
-
}, operationsSequence: OperationDescriptor[], limits?: TransformLimits): Promise<Outcome.Either<sharp.Sharp, TransformErr>>;
|
|
100
|
-
export declare function transform(input: sharp.Sharp, operationsSequence: OperationDescriptor[], limits?: TransformLimits): Promise<Outcome.Either<sharp.Sharp, TransformErr>>;
|
|
5
|
+
export declare function transform(input: ImageLike, operationsSequence: OperationDescriptor[], limits?: TransformLimits): Promise<Outcome.Either<sharp.Sharp, TransformErr>>;
|
|
@@ -1,32 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
OpName,
|
|
3
|
-
TransformErrCodes,
|
|
4
2
|
isOperationDescriptor,
|
|
5
3
|
transform
|
|
6
|
-
} from "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-VKNQ7MVZ.js";
|
|
5
|
+
import "../../../chunks/chunk-2HJPX7E3.js";
|
|
7
6
|
import "../../../chunks/chunk-RHKFMXM3.js";
|
|
8
|
-
import "../../../chunks/chunk-IFQA5PWI.js";
|
|
9
|
-
import "../../../chunks/chunk-QSU3CVGF.js";
|
|
10
|
-
import "../../../chunks/chunk-FQ4UTWMP.js";
|
|
11
|
-
import "../../../chunks/chunk-WNDMYNDU.js";
|
|
12
7
|
import "../../../chunks/chunk-3G6FOHII.js";
|
|
13
|
-
import "../../../chunks/chunk-
|
|
14
|
-
import "../../../chunks/chunk-
|
|
15
|
-
import "../../../chunks/chunk-
|
|
8
|
+
import "../../../chunks/chunk-KDOMQ4LM.js";
|
|
9
|
+
import "../../../chunks/chunk-S7637BQZ.js";
|
|
10
|
+
import "../../../chunks/chunk-QTA7ZEVX.js";
|
|
11
|
+
import "../../../chunks/chunk-JHUOMGOX.js";
|
|
16
12
|
import "../../../chunks/chunk-P26Y7YUA.js";
|
|
17
13
|
import "../../../chunks/chunk-SRXNICSE.js";
|
|
14
|
+
import "../../../chunks/chunk-RBCZWVQH.js";
|
|
15
|
+
import "../../../chunks/chunk-O7VFJHQX.js";
|
|
16
|
+
import "../../../chunks/chunk-QSU3CVGF.js";
|
|
17
|
+
import "../../../chunks/chunk-WNDMYNDU.js";
|
|
18
|
+
import "../../../chunks/chunk-YA2YCZUF.js";
|
|
18
19
|
import "../../../chunks/chunk-HFZGH6V2.js";
|
|
19
|
-
import "../../../chunks/chunk-HMAK6VAF.js";
|
|
20
|
-
import "../../../chunks/chunk-2M33FCDG.js";
|
|
21
|
-
import "../../../chunks/chunk-2HJPX7E3.js";
|
|
22
|
-
import "../../../chunks/chunk-MFYNJMVM.js";
|
|
23
20
|
import "../../../chunks/chunk-DZ2T5DTY.js";
|
|
21
|
+
import "../../../chunks/chunk-BKIF2ELV.js";
|
|
24
22
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
23
|
+
import "../../../chunks/chunk-ALMK24GK.js";
|
|
24
|
+
import "../../../chunks/chunk-65NTXENV.js";
|
|
25
|
+
import "../../../chunks/chunk-D7SXHHU3.js";
|
|
26
|
+
import "../../../chunks/chunk-GUBFCOBT.js";
|
|
27
|
+
import "../../../chunks/chunk-XAYMIITK.js";
|
|
28
|
+
import "../../../chunks/chunk-QW34TQCS.js";
|
|
29
|
+
import "../../../chunks/chunk-ZJ63OCMA.js";
|
|
30
|
+
import "../../../chunks/chunk-MN4FVOU2.js";
|
|
31
|
+
import "../../../chunks/chunk-VA67YLZL.js";
|
|
32
|
+
import "../../../chunks/chunk-P4YT4RBG.js";
|
|
33
|
+
import "../../../chunks/chunk-YZVZKBVJ.js";
|
|
34
|
+
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
35
|
+
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
36
|
+
import "../../../chunks/chunk-UG5EMKGN.js";
|
|
37
|
+
import "../../../chunks/chunk-HQLRJ7XW.js";
|
|
25
38
|
import "../../../chunks/chunk-FENXVJYO.js";
|
|
26
39
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
27
40
|
export {
|
|
28
|
-
OpName,
|
|
29
|
-
TransformErrCodes,
|
|
30
41
|
isOperationDescriptor,
|
|
31
42
|
transform
|
|
32
43
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
sigma: number;
|
|
5
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { BlurOperationParams } from '../../../types.js';
|
|
6
4
|
export declare function isBlurOperationParams(obj: unknown): Outcome.Either<BlurOperationParams, string>;
|
|
7
5
|
export declare function blur(sharpInstance: sharp.Sharp, params: BlurOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
factor: number;
|
|
5
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { BrightenOperationParams } from '../../../types.js';
|
|
6
4
|
export declare function isBrightenOperationParams(obj: unknown): Outcome.Either<BrightenOperationParams, string>;
|
|
7
5
|
export declare function brighten(sharpInstance: sharp.Sharp, params: BrightenOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
left?: number;
|
|
5
|
-
right?: number;
|
|
6
|
-
top?: number;
|
|
7
|
-
bottom?: number;
|
|
8
|
-
extendWith?: sharp.ExtendWith;
|
|
9
|
-
background?: sharp.Color;
|
|
10
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { ExtendOperationParams } from '../../../types.js';
|
|
11
4
|
export declare function isExtendOperationParams(obj: unknown): Outcome.Either<ExtendOperationParams, string>;
|
|
12
5
|
export declare function extend(sharpInstance: sharp.Sharp, params: ExtendOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extend,
|
|
3
3
|
isExtendOperationParams
|
|
4
|
-
} from "../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../chunks/chunk-MFYNJMVM.js";
|
|
4
|
+
} from "../../../../../chunks/chunk-RBCZWVQH.js";
|
|
6
5
|
import "../../../../../chunks/chunk-DZ2T5DTY.js";
|
|
6
|
+
import "../../../../../chunks/chunk-BKIF2ELV.js";
|
|
7
7
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
8
|
+
import "../../../../../chunks/chunk-ALMK24GK.js";
|
|
9
|
+
import "../../../../../chunks/chunk-65NTXENV.js";
|
|
10
|
+
import "../../../../../chunks/chunk-D7SXHHU3.js";
|
|
11
|
+
import "../../../../../chunks/chunk-GUBFCOBT.js";
|
|
12
|
+
import "../../../../../chunks/chunk-XAYMIITK.js";
|
|
13
|
+
import "../../../../../chunks/chunk-QW34TQCS.js";
|
|
14
|
+
import "../../../../../chunks/chunk-ZJ63OCMA.js";
|
|
15
|
+
import "../../../../../chunks/chunk-MN4FVOU2.js";
|
|
16
|
+
import "../../../../../chunks/chunk-VA67YLZL.js";
|
|
17
|
+
import "../../../../../chunks/chunk-P4YT4RBG.js";
|
|
18
|
+
import "../../../../../chunks/chunk-YZVZKBVJ.js";
|
|
19
|
+
import "../../../../../chunks/chunk-DNIOWD7K.js";
|
|
20
|
+
import "../../../../../chunks/chunk-OSAXBA7G.js";
|
|
21
|
+
import "../../../../../chunks/chunk-UG5EMKGN.js";
|
|
22
|
+
import "../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
8
23
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
9
24
|
export {
|
|
10
25
|
extend,
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
left: number;
|
|
5
|
-
top: number;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { ExtractOperationParams } from '../../../types.js';
|
|
9
4
|
export declare function isExtractOperationParams(obj: unknown): Outcome.Either<ExtractOperationParams, string>;
|
|
10
5
|
export declare function extract(sharpInstance: sharp.Sharp, params: ExtractOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
background?: sharp.Color;
|
|
5
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { FlattenOperationParams } from '../../../types.js';
|
|
6
4
|
export declare function isFlattenOperationParams(obj: unknown): Outcome.Either<FlattenOperationParams, string>;
|
|
7
5
|
export declare function flatten(sharpInstance: sharp.Sharp, params: FlattenOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
flatten,
|
|
3
3
|
isFlattenOperationParams
|
|
4
|
-
} from "../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../chunks/chunk-MFYNJMVM.js";
|
|
4
|
+
} from "../../../../../chunks/chunk-O7VFJHQX.js";
|
|
6
5
|
import "../../../../../chunks/chunk-DZ2T5DTY.js";
|
|
6
|
+
import "../../../../../chunks/chunk-BKIF2ELV.js";
|
|
7
7
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
8
|
+
import "../../../../../chunks/chunk-ALMK24GK.js";
|
|
9
|
+
import "../../../../../chunks/chunk-65NTXENV.js";
|
|
10
|
+
import "../../../../../chunks/chunk-D7SXHHU3.js";
|
|
11
|
+
import "../../../../../chunks/chunk-GUBFCOBT.js";
|
|
12
|
+
import "../../../../../chunks/chunk-XAYMIITK.js";
|
|
13
|
+
import "../../../../../chunks/chunk-QW34TQCS.js";
|
|
14
|
+
import "../../../../../chunks/chunk-ZJ63OCMA.js";
|
|
15
|
+
import "../../../../../chunks/chunk-MN4FVOU2.js";
|
|
16
|
+
import "../../../../../chunks/chunk-VA67YLZL.js";
|
|
17
|
+
import "../../../../../chunks/chunk-P4YT4RBG.js";
|
|
18
|
+
import "../../../../../chunks/chunk-YZVZKBVJ.js";
|
|
19
|
+
import "../../../../../chunks/chunk-DNIOWD7K.js";
|
|
20
|
+
import "../../../../../chunks/chunk-OSAXBA7G.js";
|
|
21
|
+
import "../../../../../chunks/chunk-UG5EMKGN.js";
|
|
22
|
+
import "../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
8
23
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
9
24
|
export {
|
|
10
25
|
flatten,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
rotateDeg?: number;
|
|
5
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { HueOperationParams } from '../../../types.js';
|
|
6
4
|
export declare function isHueOperationParams(obj: unknown): Outcome.Either<HueOperationParams, string>;
|
|
7
5
|
export declare function hue(sharpInstance: sharp.Sharp, params: HueOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
multiplier?: number;
|
|
5
|
-
offset?: number;
|
|
6
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { LevelOperationParams } from '../../../types.js';
|
|
7
4
|
export declare function isLevelOperationParams(obj: unknown): Outcome.Either<LevelOperationParams, string>;
|
|
8
5
|
export declare function level(sharpInstance: sharp.Sharp, params: LevelOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
amount?: number;
|
|
5
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { LightenOperationParams } from '../../../types.js';
|
|
6
4
|
export declare function isLightenOperationParams(obj: unknown): Outcome.Either<LightenOperationParams, string>;
|
|
7
5
|
export declare function lighten(sharpInstance: sharp.Sharp, params: LightenOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
lower?: number;
|
|
5
|
-
upper?: number;
|
|
6
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { NormalizeOperationParams } from '../../../types.js';
|
|
7
4
|
export declare function isNormalizeOperationParams(obj: unknown): Outcome.Either<NormalizeOperationParams, string>;
|
|
8
5
|
export declare function normalize(sharpInstance: sharp.Sharp, params: NormalizeOperationParams): Promise<sharp.Sharp>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import sharp from 'sharp';
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { OverlayOperationParams } from '../../../types.js';
|
|
4
|
+
export declare function isOverlayOperationParams(obj: unknown): Outcome.Either<OverlayOperationParams, string>;
|
|
5
|
+
export declare function overlay(sharpInstance: sharp.Sharp, params: OverlayOperationParams): Promise<sharp.Sharp>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isOverlayOperationParams,
|
|
3
|
+
overlay
|
|
4
|
+
} from "../../../../../chunks/chunk-JHUOMGOX.js";
|
|
5
|
+
import "../../../../../chunks/chunk-DZ2T5DTY.js";
|
|
6
|
+
import "../../../../../chunks/chunk-BKIF2ELV.js";
|
|
7
|
+
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
8
|
+
import "../../../../../chunks/chunk-ALMK24GK.js";
|
|
9
|
+
import "../../../../../chunks/chunk-65NTXENV.js";
|
|
10
|
+
import "../../../../../chunks/chunk-D7SXHHU3.js";
|
|
11
|
+
import "../../../../../chunks/chunk-GUBFCOBT.js";
|
|
12
|
+
import "../../../../../chunks/chunk-XAYMIITK.js";
|
|
13
|
+
import "../../../../../chunks/chunk-QW34TQCS.js";
|
|
14
|
+
import "../../../../../chunks/chunk-ZJ63OCMA.js";
|
|
15
|
+
import "../../../../../chunks/chunk-MN4FVOU2.js";
|
|
16
|
+
import "../../../../../chunks/chunk-VA67YLZL.js";
|
|
17
|
+
import "../../../../../chunks/chunk-P4YT4RBG.js";
|
|
18
|
+
import "../../../../../chunks/chunk-YZVZKBVJ.js";
|
|
19
|
+
import "../../../../../chunks/chunk-DNIOWD7K.js";
|
|
20
|
+
import "../../../../../chunks/chunk-OSAXBA7G.js";
|
|
21
|
+
import "../../../../../chunks/chunk-UG5EMKGN.js";
|
|
22
|
+
import "../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
23
|
+
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
24
|
+
export {
|
|
25
|
+
isOverlayOperationParams,
|
|
26
|
+
overlay
|
|
27
|
+
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
width?: number;
|
|
5
|
-
height?: number;
|
|
6
|
-
fit?: keyof sharp.FitEnum;
|
|
7
|
-
position?: number | string;
|
|
8
|
-
background?: sharp.Color;
|
|
9
|
-
kernel?: keyof sharp.KernelEnum;
|
|
10
|
-
withoutEnlargement?: boolean;
|
|
11
|
-
withoutReduction?: boolean;
|
|
12
|
-
fastShrinkOnLoad?: boolean;
|
|
13
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { ResizeOperationParams } from '../../../types.js';
|
|
14
4
|
export declare function isResizeOperationParams(obj: unknown): Outcome.Either<ResizeOperationParams, string>;
|
|
15
5
|
export declare function resize(sharpInstance: sharp.Sharp, params: ResizeOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isResizeOperationParams,
|
|
3
3
|
resize
|
|
4
|
-
} from "../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../chunks/chunk-MFYNJMVM.js";
|
|
4
|
+
} from "../../../../../chunks/chunk-KDOMQ4LM.js";
|
|
6
5
|
import "../../../../../chunks/chunk-DZ2T5DTY.js";
|
|
6
|
+
import "../../../../../chunks/chunk-BKIF2ELV.js";
|
|
7
7
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
8
|
+
import "../../../../../chunks/chunk-ALMK24GK.js";
|
|
9
|
+
import "../../../../../chunks/chunk-65NTXENV.js";
|
|
10
|
+
import "../../../../../chunks/chunk-D7SXHHU3.js";
|
|
11
|
+
import "../../../../../chunks/chunk-GUBFCOBT.js";
|
|
12
|
+
import "../../../../../chunks/chunk-XAYMIITK.js";
|
|
13
|
+
import "../../../../../chunks/chunk-QW34TQCS.js";
|
|
14
|
+
import "../../../../../chunks/chunk-ZJ63OCMA.js";
|
|
15
|
+
import "../../../../../chunks/chunk-MN4FVOU2.js";
|
|
16
|
+
import "../../../../../chunks/chunk-VA67YLZL.js";
|
|
17
|
+
import "../../../../../chunks/chunk-P4YT4RBG.js";
|
|
18
|
+
import "../../../../../chunks/chunk-YZVZKBVJ.js";
|
|
19
|
+
import "../../../../../chunks/chunk-DNIOWD7K.js";
|
|
20
|
+
import "../../../../../chunks/chunk-OSAXBA7G.js";
|
|
21
|
+
import "../../../../../chunks/chunk-UG5EMKGN.js";
|
|
22
|
+
import "../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
8
23
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
9
24
|
export {
|
|
10
25
|
isResizeOperationParams,
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
angleDeg?: number;
|
|
5
|
-
background?: sharp.Color;
|
|
6
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { RotateOperationParams } from '../../../types.js';
|
|
7
4
|
export declare function isRotateOperationParams(obj: unknown): Outcome.Either<RotateOperationParams, string>;
|
|
8
5
|
export declare function rotate(sharpInstance: sharp.Sharp, params: RotateOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRotateOperationParams,
|
|
3
3
|
rotate
|
|
4
|
-
} from "../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../chunks/chunk-MFYNJMVM.js";
|
|
4
|
+
} from "../../../../../chunks/chunk-S7637BQZ.js";
|
|
6
5
|
import "../../../../../chunks/chunk-DZ2T5DTY.js";
|
|
6
|
+
import "../../../../../chunks/chunk-BKIF2ELV.js";
|
|
7
7
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
8
|
+
import "../../../../../chunks/chunk-ALMK24GK.js";
|
|
9
|
+
import "../../../../../chunks/chunk-65NTXENV.js";
|
|
10
|
+
import "../../../../../chunks/chunk-D7SXHHU3.js";
|
|
11
|
+
import "../../../../../chunks/chunk-GUBFCOBT.js";
|
|
12
|
+
import "../../../../../chunks/chunk-XAYMIITK.js";
|
|
13
|
+
import "../../../../../chunks/chunk-QW34TQCS.js";
|
|
14
|
+
import "../../../../../chunks/chunk-ZJ63OCMA.js";
|
|
15
|
+
import "../../../../../chunks/chunk-MN4FVOU2.js";
|
|
16
|
+
import "../../../../../chunks/chunk-VA67YLZL.js";
|
|
17
|
+
import "../../../../../chunks/chunk-P4YT4RBG.js";
|
|
18
|
+
import "../../../../../chunks/chunk-YZVZKBVJ.js";
|
|
19
|
+
import "../../../../../chunks/chunk-DNIOWD7K.js";
|
|
20
|
+
import "../../../../../chunks/chunk-OSAXBA7G.js";
|
|
21
|
+
import "../../../../../chunks/chunk-UG5EMKGN.js";
|
|
22
|
+
import "../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
8
23
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
9
24
|
export {
|
|
10
25
|
isRotateOperationParams,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
|
-
import { Outcome } from '../../../../../agnostic/misc/outcome';
|
|
3
|
-
|
|
4
|
-
saturation?: number;
|
|
5
|
-
};
|
|
2
|
+
import { Outcome } from '../../../../../agnostic/misc/outcome/index.js';
|
|
3
|
+
import type { SaturateOperationParams } from '../../../types.js';
|
|
6
4
|
export declare function isSaturateOperationParams(obj: unknown): Outcome.Either<SaturateOperationParams, string>;
|
|
7
5
|
export declare function saturate(sharpInstance: sharp.Sharp, params: SaturateOperationParams): Promise<sharp.Sharp>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isSaturateOperationParams,
|
|
3
3
|
saturate
|
|
4
|
-
} from "../../../../../chunks/chunk-
|
|
4
|
+
} from "../../../../../chunks/chunk-QTA7ZEVX.js";
|
|
5
5
|
import "../../../../../chunks/chunk-DZ2T5DTY.js";
|
|
6
6
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
7
7
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|