@design-edito/tools 0.2.0 → 0.2.2
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.js +12 -12
- package/agnostic/arrays/random-pick/index.js +6 -6
- package/agnostic/colors/index.js +11 -11
- package/agnostic/colors/lighten-color/index.js +2 -2
- package/agnostic/colors/saturate-color/index.js +2 -2
- package/agnostic/css/index.js +10 -10
- package/agnostic/css/styles-set/index.js +6 -6
- package/agnostic/errors/index.js +2 -2
- package/agnostic/html/hyper-json/cast/index.js +7 -7
- package/agnostic/html/hyper-json/index.js +8 -8
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +7 -7
- package/agnostic/html/hyper-json/tree/index.js +7 -7
- package/agnostic/html/hyper-json/utils/index.js +7 -7
- package/agnostic/html/index.js +19 -19
- package/agnostic/html/sanitize/index.js +6 -6
- package/agnostic/html/selector-to-element/index.js +6 -6
- package/agnostic/html/string-to-nodes/index.js +7 -7
- package/agnostic/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/index.js +21 -21
- package/agnostic/misc/lorem-ipsum/index.js +13 -13
- package/agnostic/numbers/index.js +3 -3
- package/agnostic/objects/index.js +14 -14
- package/agnostic/optim/index.js +3 -3
- package/agnostic/strings/index.js +9 -9
- package/agnostic/time/index.js +5 -5
- package/chunks/chunk-4UV3XIGE.js +18 -0
- package/chunks/chunk-5D472NLE.js +22 -0
- package/chunks/chunk-5EY3BYMT.js +32 -0
- package/chunks/chunk-5OZAL6GW.js +30 -0
- package/chunks/chunk-B6AUVPAA.js +181 -0
- package/chunks/chunk-BHEWHO2M.js +25 -0
- package/chunks/chunk-CLZY2DXU.js +27 -0
- package/chunks/chunk-DJJBT23A.js +24 -0
- package/chunks/chunk-DL5G2SYX.js +49 -0
- package/chunks/chunk-DOASQI7Y.js +24 -0
- package/chunks/chunk-GZDDL6RB.js +22 -0
- package/chunks/{chunk-O6TWC4IK.js → chunk-HN7XLETR.js} +21 -21
- package/chunks/chunk-IFH5LQHA.js +28 -0
- package/chunks/chunk-LIV7TJ46.js +24 -0
- package/chunks/chunk-NYVARFI7.js +20 -0
- package/chunks/chunk-OVLFK3C3.js +27 -0
- package/chunks/{chunk-C2MFLI7A.js → chunk-R765J7H2.js} +0 -27
- package/chunks/{chunk-Y6EREGHZ.js → chunk-TLX7ZDXI.js} +3 -3
- package/chunks/{chunk-KRICEY6O.js → chunk-TY6PMUBC.js} +3 -3
- package/chunks/{chunk-XOXH4XNN.js → chunk-VQUF2TSY.js} +1 -1
- package/chunks/chunk-WNDMYNDU.js +8 -0
- package/chunks/chunk-YA2YCZUF.js +8 -0
- package/node/@aws-s3/index.js +9 -9
- package/node/@aws-s3/storage/directory/index.js +4 -4
- package/node/@aws-s3/storage/file/index.js +10 -10
- package/node/@aws-s3/storage/index.js +11 -11
- package/node/@google-cloud/index.js +13 -13
- package/node/@google-cloud/storage/bucket/index.js +4 -4
- package/node/@google-cloud/storage/directory/index.js +4 -4
- package/node/@google-cloud/storage/file/index.js +13 -13
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +17 -17
- package/node/cloud-storage/index.js +45 -45
- package/node/cloud-storage/operations/copy-dir/index.js +3 -3
- package/node/cloud-storage/operations/copy-file/index.js +3 -3
- package/node/cloud-storage/operations/download-file/index.js +3 -3
- package/node/cloud-storage/operations/exists-file/index.js +3 -3
- package/node/cloud-storage/operations/index.js +57 -57
- package/node/cloud-storage/operations/list-dir/index.js +3 -3
- package/node/cloud-storage/operations/move-dir/index.js +3 -3
- package/node/cloud-storage/operations/move-file/index.js +3 -3
- package/node/cloud-storage/operations/remove-dir/index.js +3 -3
- package/node/cloud-storage/operations/remove-file/index.js +3 -3
- package/node/cloud-storage/operations/stat-file/index.js +3 -3
- package/node/cloud-storage/operations/upload-file/index.js +3 -3
- package/node/encryption/index.js +3 -3
- package/node/files/index.js +3 -3
- package/node/ftps/directory/index.js +4 -4
- package/node/ftps/file/index.js +10 -10
- package/node/ftps/index.js +10 -10
- package/node/images/format/index.d.ts +0 -7
- package/node/images/format/index.js +1 -3
- package/node/images/get-metadata/index.d.ts +4 -0
- package/node/images/get-metadata/index.js +7 -0
- package/node/images/index.d.ts +3 -3
- package/node/images/index.js +22 -48
- package/node/images/transform/index.d.ts +74 -22
- package/node/images/transform/index.js +20 -47
- package/node/images/transform/operations/blur/index.d.ts +7 -0
- package/node/images/transform/operations/blur/index.js +11 -0
- package/node/images/transform/operations/brighten/index.d.ts +7 -0
- package/node/images/transform/operations/brighten/index.js +11 -0
- package/node/images/transform/operations/extend/index.d.ts +12 -0
- package/node/images/transform/operations/extend/index.js +12 -0
- package/node/images/transform/operations/extract/index.d.ts +10 -0
- package/node/images/transform/operations/extract/index.js +11 -0
- package/node/images/transform/operations/flatten/index.d.ts +7 -0
- package/node/images/transform/operations/flatten/index.js +12 -0
- package/node/images/transform/operations/flip/index.d.ts +2 -0
- package/node/images/transform/operations/flip/index.js +7 -0
- package/node/images/transform/operations/flop/index.d.ts +2 -0
- package/node/images/transform/operations/flop/index.js +7 -0
- package/node/images/transform/operations/hue/index.d.ts +7 -0
- package/node/images/transform/operations/hue/index.js +11 -0
- package/node/images/transform/operations/level/index.d.ts +8 -0
- package/node/images/transform/operations/level/index.js +11 -0
- package/node/images/transform/operations/lighten/index.d.ts +7 -0
- package/node/images/transform/operations/lighten/index.js +11 -0
- package/node/images/transform/operations/normalize/index.d.ts +8 -0
- package/node/images/transform/operations/normalize/index.js +11 -0
- package/node/images/transform/operations/resize/index.d.ts +15 -0
- package/node/images/transform/operations/resize/index.js +12 -0
- package/node/images/transform/operations/rotate/index.d.ts +8 -0
- package/node/images/transform/operations/rotate/index.js +12 -0
- package/node/images/transform/operations/saturate/index.d.ts +7 -0
- package/node/images/transform/operations/saturate/index.js +11 -0
- package/node/images/transform/utils/index.d.ts +2 -0
- package/node/images/transform/utils/index.js +8 -0
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +10 -10
- package/node/sftp/index.js +10 -10
- package/package.json +1 -1
- package/chunks/chunk-24MJDYQE.js +0 -18
- package/chunks/chunk-24ZUWYIR.js +0 -42
- package/chunks/chunk-2V7TLVCV.js +0 -22
- package/chunks/chunk-2VJ4QISD.js +0 -28
- package/chunks/chunk-3BSVGWTK.js +0 -2456
- package/chunks/chunk-3XRPOHUB.js +0 -164
- package/chunks/chunk-4BPSIDYW.js +0 -60
- package/chunks/chunk-4EFX53Y4.js +0 -31
- package/chunks/chunk-4KNB7WYD.js +0 -19
- package/chunks/chunk-5BQFHNTR.js +0 -21
- package/chunks/chunk-5KVGIG6J.js +0 -31
- package/chunks/chunk-5PAFOSWF.js +0 -16
- package/chunks/chunk-5XBCPKNW.js +0 -18
- package/chunks/chunk-646R6BQZ.js +0 -42
- package/chunks/chunk-65YZMVWZ.js +0 -35
- package/chunks/chunk-6FMANHGH.js +0 -15
- package/chunks/chunk-6LDTWID7.js +0 -40
- package/chunks/chunk-6V6SYSHX.js +0 -31
- package/chunks/chunk-72NLUT3X.js +0 -29
- package/chunks/chunk-72U4TDEB.js +0 -127
- package/chunks/chunk-7CHYRYXJ.js +0 -177
- package/chunks/chunk-7GIJUKYP.js +0 -173
- package/chunks/chunk-ABQMMHCL.js +0 -16
- package/chunks/chunk-AKCO3SNC.js +0 -177
- package/chunks/chunk-AQBJ6HNB.js +0 -29
- package/chunks/chunk-AU6JLO5B.js +0 -151
- package/chunks/chunk-AW3I75FU.js +0 -79
- package/chunks/chunk-AWVQJNGX.js +0 -101
- package/chunks/chunk-AY7SJG3R.js +0 -40
- package/chunks/chunk-B5C6VXNI.js +0 -18
- package/chunks/chunk-BD56ZAYF.js +0 -28
- package/chunks/chunk-BN4MCFBZ.js +0 -35
- package/chunks/chunk-BP3KL5L2.js +0 -28
- package/chunks/chunk-BSLVDJVW.js +0 -32
- package/chunks/chunk-BVPHULMY.js +0 -21
- package/chunks/chunk-C4Q4PC53.js +0 -63
- package/chunks/chunk-CA3UPHYO.js +0 -42
- package/chunks/chunk-CAV4FNVR.js +0 -56
- package/chunks/chunk-CHKEZ72M.js +0 -191
- package/chunks/chunk-CKENYYWH.js +0 -28
- package/chunks/chunk-CP454IJD.js +0 -231
- package/chunks/chunk-CXUWFKJG.js +0 -21
- package/chunks/chunk-CYBPWE5F.js +0 -37
- package/chunks/chunk-D67AGMZF.js +0 -23
- package/chunks/chunk-D7PZ7633.js +0 -42
- package/chunks/chunk-DPQRXSZH.js +0 -42
- package/chunks/chunk-ELPQUBKJ.js +0 -30
- package/chunks/chunk-EWQDQMIO.js +0 -22
- package/chunks/chunk-EZ22Z22X.js +0 -28
- package/chunks/chunk-F4GFAM6X.js +0 -31
- package/chunks/chunk-FCB366FH.js +0 -40
- package/chunks/chunk-FI675VZO.js +0 -11609
- package/chunks/chunk-FRJBHV4A.js +0 -21
- package/chunks/chunk-FS6LRTDK.js +0 -42
- package/chunks/chunk-G4Y2EOVP.js +0 -18
- package/chunks/chunk-G5RRNREY.js +0 -37
- package/chunks/chunk-GE7DNPF6.js +0 -63
- package/chunks/chunk-GGT2PUZH.js +0 -21
- package/chunks/chunk-GGYWRA4A.js +0 -231
- package/chunks/chunk-GKCKBPY2.js +0 -16
- package/chunks/chunk-GZIEUPBF.js +0 -18
- package/chunks/chunk-H5O26IRG.js +0 -28
- package/chunks/chunk-HD7QU6D6.js +0 -40
- package/chunks/chunk-HRWQVASA.js +0 -40
- package/chunks/chunk-HY4V3SPP.js +0 -56
- package/chunks/chunk-IFZ4CMF4.js +0 -16
- package/chunks/chunk-JAENHN5Z.js +0 -42
- package/chunks/chunk-JQAOGZPV.js +0 -37
- package/chunks/chunk-JRYI4VBX.js +0 -22
- package/chunks/chunk-JV6I54AC.js +0 -16
- package/chunks/chunk-KIONYWA7.js +0 -168
- package/chunks/chunk-KOD5LUT3.js +0 -28
- package/chunks/chunk-KQCU3AXU.js +0 -24
- package/chunks/chunk-KUT7FQGS.js +0 -16
- package/chunks/chunk-LJO4SDD2.js +0 -79
- package/chunks/chunk-LNL6TUDC.js +0 -40
- package/chunks/chunk-LNSDOGTR.js +0 -63
- package/chunks/chunk-LQ2H2YVS.js +0 -60
- package/chunks/chunk-LQ3PCG4Z.js +0 -18
- package/chunks/chunk-LV4WOREW.js +0 -40
- package/chunks/chunk-LVCQ3CSC.js +0 -21
- package/chunks/chunk-M32C4GP2.js +0 -15
- package/chunks/chunk-MB7HWF22.js +0 -23
- package/chunks/chunk-MJFB3YE6.js +0 -20
- package/chunks/chunk-MJMBDBEH.js +0 -69
- package/chunks/chunk-MKHTR43Q.js +0 -231
- package/chunks/chunk-MOVLLUDL.js +0 -25
- package/chunks/chunk-NFSRT4ED.js +0 -18
- package/chunks/chunk-NHKKX4F7.js +0 -18
- package/chunks/chunk-NJVVOZVZ.js +0 -37
- package/chunks/chunk-NWGNIT4B.js +0 -151
- package/chunks/chunk-O3V5DTNL.js +0 -40
- package/chunks/chunk-OAGKCS7I.js +0 -24
- package/chunks/chunk-OCM3RLO6.js +0 -73
- package/chunks/chunk-OL4JB46K.js +0 -2456
- package/chunks/chunk-OMLGI3Y2.js +0 -16
- package/chunks/chunk-OVG5RGI3.js +0 -29
- package/chunks/chunk-PFYLNAAX.js +0 -24
- package/chunks/chunk-Q2SKOY7I.js +0 -37
- package/chunks/chunk-QTF7LWGT.js +0 -28
- package/chunks/chunk-QTPSR7ZJ.js +0 -65
- package/chunks/chunk-R4BWUNSM.js +0 -28
- package/chunks/chunk-REXT5ZMP.js +0 -32
- package/chunks/chunk-RNLVCCL2.js +0 -151
- package/chunks/chunk-SAFV7TBT.js +0 -31
- package/chunks/chunk-SEYXG56Q.js +0 -23
- package/chunks/chunk-SHXOKSK3.js +0 -164
- package/chunks/chunk-SJLH36CH.js +0 -26
- package/chunks/chunk-SKBOSWM2.js +0 -35
- package/chunks/chunk-SP7EOGMF.js +0 -30
- package/chunks/chunk-SX2M5777.js +0 -177
- package/chunks/chunk-SY65O2JU.js +0 -98
- package/chunks/chunk-TIER4TF4.js +0 -26
- package/chunks/chunk-TSAR3HF6.js +0 -35
- package/chunks/chunk-U2KKX7UV.js +0 -19
- package/chunks/chunk-U57Q62IN.js +0 -23
- package/chunks/chunk-UEAMPAHK.js +0 -28
- package/chunks/chunk-UJ5LGWZL.js +0 -191
- package/chunks/chunk-UK4HNSEJ.js +0 -42
- package/chunks/chunk-VEKKX6Z5.js +0 -173
- package/chunks/chunk-VISMB7RN.js +0 -60
- package/chunks/chunk-VJHE6WHS.js +0 -164
- package/chunks/chunk-VSM742EZ.js +0 -40
- package/chunks/chunk-W3G73JUU.js +0 -191
- package/chunks/chunk-WAMSK4A3.js +0 -67
- package/chunks/chunk-WG56WT6T.js +0 -20
- package/chunks/chunk-WH6BPDAC.js +0 -17
- package/chunks/chunk-WHLM3KTR.js +0 -20
- package/chunks/chunk-WJ3XV35I.js +0 -28
- package/chunks/chunk-WKGSTVTK.js +0 -28
- package/chunks/chunk-WMDZHUBQ.js +0 -56
- package/chunks/chunk-WP7L5ZFP.js +0 -173
- package/chunks/chunk-WS3JRFP7.js +0 -69
- package/chunks/chunk-X33GT7VY.js +0 -28
- package/chunks/chunk-XB3EGDBI.js +0 -127
- package/chunks/chunk-XNJYYULL.js +0 -177
- package/chunks/chunk-XNWEMAIP.js +0 -42
- package/chunks/chunk-XOUITWSM.js +0 -21
- package/chunks/chunk-XQ4V4LVP.js +0 -28
- package/chunks/chunk-XTOAQTLP.js +0 -98
- package/chunks/chunk-YB2KZLMN.js +0 -65
- package/chunks/chunk-YDIFL3IZ.js +0 -151
- package/chunks/chunk-YJE3G6BE.js +0 -16
- package/chunks/chunk-Z4B2Z7QO.js +0 -2456
- package/chunks/chunk-ZBBU2P4D.js +0 -28
- package/chunks/chunk-ZH3QMMVD.js +0 -28
- package/chunks/chunk-ZKAK6JOS.js +0 -98
- package/chunks/chunk-ZN6IQRZT.js +0 -141
- package/chunks/chunk-ZNPRJEP5.js +0 -28
- package/chunks/chunk-ZQY2MR66.js +0 -42
- package/chunks/chunk-ZRWVPWQC.js +0 -36
- package/chunks/chunk-ZUQEHFGL.js +0 -42
- package/node/images/prepare/index.d.ts +0 -24
- package/node/images/prepare/index.js +0 -59
- package/node/images/transform/_utils/color-schema/index.d.ts +0 -3
- package/node/images/transform/_utils/color-schema/index.js +0 -8
- package/node/images/transform/_utils/operation-names/index.d.ts +0 -20
- package/node/images/transform/_utils/operation-names/index.js +0 -7
- package/node/images/transform/_utils/positions/index.d.ts +0 -19
- package/node/images/transform/_utils/positions/index.js +0 -10
- package/node/images/transform/blur/index.d.ts +0 -10
- package/node/images/transform/blur/index.js +0 -9
- package/node/images/transform/brighten/index.d.ts +0 -8
- package/node/images/transform/brighten/index.js +0 -9
- package/node/images/transform/compose/index.d.ts +0 -38
- package/node/images/transform/compose/index.js +0 -11
- package/node/images/transform/extend/index.d.ts +0 -16
- package/node/images/transform/extend/index.js +0 -10
- package/node/images/transform/extract/index.d.ts +0 -13
- package/node/images/transform/extract/index.js +0 -9
- package/node/images/transform/flatten/index.d.ts +0 -11
- package/node/images/transform/flatten/index.js +0 -10
- package/node/images/transform/flip/index.d.ts +0 -10
- package/node/images/transform/flip/index.js +0 -9
- package/node/images/transform/flop/index.d.ts +0 -10
- package/node/images/transform/flop/index.js +0 -9
- package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +0 -62
- package/node/images/transform/frame/backgrounds/create-line-background/index.js +0 -10
- package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +0 -105
- package/node/images/transform/frame/backgrounds/create-tile-background/index.js +0 -10
- package/node/images/transform/frame/index.d.ts +0 -44
- package/node/images/transform/frame/index.js +0 -13
- package/node/images/transform/hue-rotate/index.d.ts +0 -8
- package/node/images/transform/hue-rotate/index.js +0 -9
- package/node/images/transform/lighten/index.d.ts +0 -8
- package/node/images/transform/lighten/index.js +0 -9
- package/node/images/transform/lineate-levels/index.d.ts +0 -11
- package/node/images/transform/lineate-levels/index.js +0 -9
- package/node/images/transform/modulate/index.d.ts +0 -13
- package/node/images/transform/modulate/index.js +0 -9
- package/node/images/transform/normalize/index.d.ts +0 -11
- package/node/images/transform/normalize/index.js +0 -9
- package/node/images/transform/operations/_utils/compose/index.d.ts +0 -3
- package/node/images/transform/operations/_utils/compose/index.js +0 -8
- package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.d.ts +0 -6
- package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +0 -12
- package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.d.ts +0 -14
- package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +0 -14
- package/node/images/transform/operations/_utils/frame/create-color-palette/index.d.ts +0 -11
- package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +0 -17
- package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.d.ts +0 -10
- package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +0 -11
- package/node/images/transform/operations/_utils/frame/index.d.ts +0 -7
- package/node/images/transform/operations/_utils/frame/index.js +0 -24
- package/node/images/transform/operations/_utils/positions/index.d.ts +0 -16
- package/node/images/transform/operations/_utils/positions/index.js +0 -11
- package/node/images/transform/operations/_utils/scale/index.d.ts +0 -3
- package/node/images/transform/operations/_utils/scale/index.js +0 -7
- package/node/images/transform/operations/index.d.ts +0 -0
- package/node/images/transform/operations/index.js +0 -0
- package/node/images/transform/resize/index.d.ts +0 -16
- package/node/images/transform/resize/index.js +0 -10
- package/node/images/transform/rotate/index.d.ts +0 -9
- package/node/images/transform/rotate/index.js +0 -9
- package/node/images/transform/saturate/index.d.ts +0 -8
- package/node/images/transform/saturate/index.js +0 -9
- package/node/images/transform/scale/index.d.ts +0 -13
- package/node/images/transform/scale/index.js +0 -10
- package/chunks/{chunk-NOLQR5RW.js → chunk-3T67XKWX.js} +5 -5
- package/chunks/{chunk-LRBVQNQI.js → chunk-64TRCQ5C.js} +9 -9
- package/chunks/{chunk-TQHR6A2P.js → chunk-ENCASRD5.js} +11 -11
- package/chunks/{chunk-7J2AUDU2.js → chunk-FEIU5EB2.js} +6 -6
- package/chunks/{chunk-6NLNUGBI.js → chunk-GJGGDURA.js} +5 -5
- package/chunks/{chunk-OA7Y2A5T.js → chunk-JVFAQFHD.js} +5 -5
- package/chunks/{chunk-3RLCDQOJ.js → chunk-KOHJNRP7.js} +8 -8
- package/chunks/{chunk-UX2O74SG.js → chunk-MJCOPMAD.js} +3 -3
- package/chunks/{chunk-HX5PHI2P.js → chunk-NAN5WRTL.js} +3 -3
- package/chunks/{chunk-7HSB4A2G.js → chunk-PENYZ6S7.js} +8 -8
- package/chunks/{chunk-JNQPNZTB.js → chunk-QT6N2QNW.js} +3 -3
- package/chunks/{chunk-H4LW6FP3.js → chunk-RCCKFZCR.js} +5 -5
- package/chunks/{chunk-CGITTQIW.js → chunk-UWHQFQI2.js} +3 -3
- package/chunks/{chunk-YVWQXQTE.js → chunk-VRFYLKZW.js} +3 -3
- package/chunks/{chunk-EOTOFHUR.js → chunk-VTZRFTRR.js} +5 -5
- package/chunks/{chunk-RXBMGIPJ.js → chunk-WWEDO42X.js} +3 -3
@@ -1,38 +0,0 @@
|
|
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 {};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
composeSchema
|
3
|
-
} from "../../../../chunks/chunk-AW3I75FU.js";
|
4
|
-
import "../../../../chunks/chunk-2V7TLVCV.js";
|
5
|
-
import "../../../../chunks/chunk-M32C4GP2.js";
|
6
|
-
import "../../../../chunks/chunk-MOVLLUDL.js";
|
7
|
-
import "../../../../chunks/chunk-OT4SVHDX.js";
|
8
|
-
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
9
|
-
export {
|
10
|
-
composeSchema
|
11
|
-
};
|
@@ -1,16 +0,0 @@
|
|
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>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
extendSchema
|
3
|
-
} from "../../../../chunks/chunk-F4GFAM6X.js";
|
4
|
-
import "../../../../chunks/chunk-M32C4GP2.js";
|
5
|
-
import "../../../../chunks/chunk-MOVLLUDL.js";
|
6
|
-
import "../../../../chunks/chunk-OT4SVHDX.js";
|
7
|
-
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
8
|
-
export {
|
9
|
-
extendSchema
|
10
|
-
};
|
@@ -1,13 +0,0 @@
|
|
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>;
|
@@ -1,11 +0,0 @@
|
|
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>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
flattenSchema
|
3
|
-
} from "../../../../chunks/chunk-CXUWFKJG.js";
|
4
|
-
import "../../../../chunks/chunk-M32C4GP2.js";
|
5
|
-
import "../../../../chunks/chunk-MOVLLUDL.js";
|
6
|
-
import "../../../../chunks/chunk-OT4SVHDX.js";
|
7
|
-
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
8
|
-
export {
|
9
|
-
flattenSchema
|
10
|
-
};
|
@@ -1,10 +0,0 @@
|
|
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>;
|
@@ -1,10 +0,0 @@
|
|
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>;
|
@@ -1,62 +0,0 @@
|
|
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<{
|
20
|
-
lighten: "lighten";
|
21
|
-
saturate: "saturate";
|
22
|
-
complement: "complement";
|
23
|
-
}>;
|
24
|
-
intensity: zod.ZodNumber;
|
25
|
-
intensityMode: zod.ZodEnum<{
|
26
|
-
set: "set";
|
27
|
-
add: "add";
|
28
|
-
}>;
|
29
|
-
}, zod.core.$strip>>;
|
30
|
-
export declare const createLineBackgroundSchema: zod.ZodObject<{
|
31
|
-
type: zod.ZodLiteral<"line">;
|
32
|
-
params: zod.ZodObject<{
|
33
|
-
nbLines: zod.ZodNumber;
|
34
|
-
colors: zod.ZodObject<{
|
35
|
-
selectColorPaletteIndex: zod.ZodUnion<readonly [zod.ZodLiteral<"first">, zod.ZodLiteral<"last">, zod.ZodNumber]>;
|
36
|
-
primaryTransformations: zod.ZodArray<zod.ZodObject<{
|
37
|
-
type: zod.ZodEnum<{
|
38
|
-
lighten: "lighten";
|
39
|
-
saturate: "saturate";
|
40
|
-
complement: "complement";
|
41
|
-
}>;
|
42
|
-
intensity: zod.ZodNumber;
|
43
|
-
intensityMode: zod.ZodEnum<{
|
44
|
-
set: "set";
|
45
|
-
add: "add";
|
46
|
-
}>;
|
47
|
-
}, zod.core.$strip>>;
|
48
|
-
secondaryTransformations: zod.ZodArray<zod.ZodObject<{
|
49
|
-
type: zod.ZodEnum<{
|
50
|
-
lighten: "lighten";
|
51
|
-
saturate: "saturate";
|
52
|
-
complement: "complement";
|
53
|
-
}>;
|
54
|
-
intensity: zod.ZodNumber;
|
55
|
-
intensityMode: zod.ZodEnum<{
|
56
|
-
set: "set";
|
57
|
-
add: "add";
|
58
|
-
}>;
|
59
|
-
}, zod.core.$strip>>;
|
60
|
-
}, zod.core.$strip>;
|
61
|
-
}, zod.core.$strip>;
|
62
|
-
}, zod.core.$strip>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
colorTransformationsSchema,
|
3
|
-
createLineBackgroundSchema
|
4
|
-
} from "../../../../../../chunks/chunk-SP7EOGMF.js";
|
5
|
-
import "../../../../../../chunks/chunk-OT4SVHDX.js";
|
6
|
-
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
7
|
-
export {
|
8
|
-
colorTransformationsSchema,
|
9
|
-
createLineBackgroundSchema
|
10
|
-
};
|
@@ -1,105 +0,0 @@
|
|
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
|
-
}, zod.core.$strip>;
|
28
|
-
densityB: zod.ZodObject<{
|
29
|
-
min: zod.ZodNumber;
|
30
|
-
max: zod.ZodNumber;
|
31
|
-
}, zod.core.$strip>;
|
32
|
-
format: zod.ZodEnum<{
|
33
|
-
default: "default";
|
34
|
-
random: "random";
|
35
|
-
portrait: "portrait";
|
36
|
-
landscape: "landscape";
|
37
|
-
}>;
|
38
|
-
xEasing: zod.ZodEnum<{
|
39
|
-
linear: "linear";
|
40
|
-
"ease-in-quad": "ease-in-quad";
|
41
|
-
"ease-out-quad": "ease-out-quad";
|
42
|
-
"ease-in-out-quad": "ease-in-out-quad";
|
43
|
-
"ease-in-cubic": "ease-in-cubic";
|
44
|
-
"ease-out-cubic": "ease-out-cubic";
|
45
|
-
"ease-in-out-cubic": "ease-in-out-cubic";
|
46
|
-
"ease-in-quart": "ease-in-quart";
|
47
|
-
"ease-out-quart": "ease-out-quart";
|
48
|
-
"ease-in-out-quart": "ease-in-out-quart";
|
49
|
-
"ease-in-quint": "ease-in-quint";
|
50
|
-
"ease-out-quint": "ease-out-quint";
|
51
|
-
"ease-in-out-quint": "ease-in-out-quint";
|
52
|
-
"ease-in-sine": "ease-in-sine";
|
53
|
-
"ease-out-sine": "ease-out-sine";
|
54
|
-
"ease-in-out-sine": "ease-in-out-sine";
|
55
|
-
"ease-in-expo": "ease-in-expo";
|
56
|
-
"ease-out-expo": "ease-out-expo";
|
57
|
-
"ease-in-out-expo": "ease-in-out-expo";
|
58
|
-
"ease-in-circ": "ease-in-circ";
|
59
|
-
"ease-out-circ": "ease-out-circ";
|
60
|
-
"ease-in-out-circ": "ease-in-out-circ";
|
61
|
-
"ease-in-back": "ease-in-back";
|
62
|
-
"ease-out-back": "ease-out-back";
|
63
|
-
"ease-in-out-back": "ease-in-out-back";
|
64
|
-
"ease-in-elastic": "ease-in-elastic";
|
65
|
-
"ease-out-elastic": "ease-out-elastic";
|
66
|
-
"ease-in-out-elastic": "ease-in-out-elastic";
|
67
|
-
"ease-in-bounce": "ease-in-bounce";
|
68
|
-
"ease-out-bounce": "ease-out-bounce";
|
69
|
-
"ease-in-out-bounce": "ease-in-out-bounce";
|
70
|
-
}>;
|
71
|
-
yEasing: zod.ZodEnum<{
|
72
|
-
linear: "linear";
|
73
|
-
"ease-in-quad": "ease-in-quad";
|
74
|
-
"ease-out-quad": "ease-out-quad";
|
75
|
-
"ease-in-out-quad": "ease-in-out-quad";
|
76
|
-
"ease-in-cubic": "ease-in-cubic";
|
77
|
-
"ease-out-cubic": "ease-out-cubic";
|
78
|
-
"ease-in-out-cubic": "ease-in-out-cubic";
|
79
|
-
"ease-in-quart": "ease-in-quart";
|
80
|
-
"ease-out-quart": "ease-out-quart";
|
81
|
-
"ease-in-out-quart": "ease-in-out-quart";
|
82
|
-
"ease-in-quint": "ease-in-quint";
|
83
|
-
"ease-out-quint": "ease-out-quint";
|
84
|
-
"ease-in-out-quint": "ease-in-out-quint";
|
85
|
-
"ease-in-sine": "ease-in-sine";
|
86
|
-
"ease-out-sine": "ease-out-sine";
|
87
|
-
"ease-in-out-sine": "ease-in-out-sine";
|
88
|
-
"ease-in-expo": "ease-in-expo";
|
89
|
-
"ease-out-expo": "ease-out-expo";
|
90
|
-
"ease-in-out-expo": "ease-in-out-expo";
|
91
|
-
"ease-in-circ": "ease-in-circ";
|
92
|
-
"ease-out-circ": "ease-out-circ";
|
93
|
-
"ease-in-out-circ": "ease-in-out-circ";
|
94
|
-
"ease-in-back": "ease-in-back";
|
95
|
-
"ease-out-back": "ease-out-back";
|
96
|
-
"ease-in-out-back": "ease-in-out-back";
|
97
|
-
"ease-in-elastic": "ease-in-elastic";
|
98
|
-
"ease-out-elastic": "ease-out-elastic";
|
99
|
-
"ease-in-out-elastic": "ease-in-out-elastic";
|
100
|
-
"ease-in-bounce": "ease-in-bounce";
|
101
|
-
"ease-out-bounce": "ease-out-bounce";
|
102
|
-
"ease-in-out-bounce": "ease-in-out-bounce";
|
103
|
-
}>;
|
104
|
-
}, zod.core.$strip>;
|
105
|
-
}, zod.core.$strip>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
TransitionNames,
|
3
|
-
createTileBackgroundSchema
|
4
|
-
} from "../../../../../../chunks/chunk-QTPSR7ZJ.js";
|
5
|
-
import "../../../../../../chunks/chunk-OT4SVHDX.js";
|
6
|
-
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
7
|
-
export {
|
8
|
-
TransitionNames,
|
9
|
-
createTileBackgroundSchema
|
10
|
-
};
|
@@ -1,44 +0,0 @@
|
|
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 {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
frameSchema
|
3
|
-
} from "../../../../chunks/chunk-WS3JRFP7.js";
|
4
|
-
import "../../../../chunks/chunk-SP7EOGMF.js";
|
5
|
-
import "../../../../chunks/chunk-QTPSR7ZJ.js";
|
6
|
-
import "../../../../chunks/chunk-2V7TLVCV.js";
|
7
|
-
import "../../../../chunks/chunk-M32C4GP2.js";
|
8
|
-
import "../../../../chunks/chunk-MOVLLUDL.js";
|
9
|
-
import "../../../../chunks/chunk-OT4SVHDX.js";
|
10
|
-
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
11
|
-
export {
|
12
|
-
frameSchema
|
13
|
-
};
|
@@ -1,8 +0,0 @@
|
|
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>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import zod from 'zod';
|
2
|
-
import { OperationNames } from '../_utils/operation-names';
|
3
|
-
export type LightenOperationParams = number;
|
4
|
-
export type LightenOperation = {
|
5
|
-
name: typeof OperationNames.Lighten;
|
6
|
-
params: LightenOperationParams;
|
7
|
-
};
|
8
|
-
export declare const lightenSchema: zod.ZodType<LightenOperation>;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import zod from 'zod';
|
2
|
-
import { OperationNames } from '../_utils/operation-names';
|
3
|
-
export type LineateLevelsOperationParams = {
|
4
|
-
multiplier: number | [number, number, number];
|
5
|
-
offset?: number | [number, number, number];
|
6
|
-
};
|
7
|
-
export type LineateLevelsOperation = {
|
8
|
-
name: typeof OperationNames.LineateLevels;
|
9
|
-
params: LineateLevelsOperationParams;
|
10
|
-
};
|
11
|
-
export declare const lineateLevelsSchema: zod.ZodType<LineateLevelsOperation>;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
lineateLevelsSchema
|
3
|
-
} from "../../../../chunks/chunk-TSAR3HF6.js";
|
4
|
-
import "../../../../chunks/chunk-MOVLLUDL.js";
|
5
|
-
import "../../../../chunks/chunk-OT4SVHDX.js";
|
6
|
-
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
7
|
-
export {
|
8
|
-
lineateLevelsSchema
|
9
|
-
};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import zod from 'zod';
|
2
|
-
import { OperationNames } from '../_utils/operation-names';
|
3
|
-
export type ModulateOperationParams = {
|
4
|
-
brightness?: number;
|
5
|
-
lightness?: number;
|
6
|
-
hue?: number;
|
7
|
-
saturation?: number;
|
8
|
-
};
|
9
|
-
export type ModulateOperation = {
|
10
|
-
name: typeof OperationNames.Modulate;
|
11
|
-
params: ModulateOperationParams;
|
12
|
-
};
|
13
|
-
export declare const modulateSchema: zod.ZodType<ModulateOperation>;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import zod from 'zod';
|
2
|
-
import { OperationNames } from '../_utils/operation-names';
|
3
|
-
export type NormalizeOperationParams = {
|
4
|
-
lower: number;
|
5
|
-
upper: number;
|
6
|
-
};
|
7
|
-
export type NormalizeOperation = {
|
8
|
-
name: typeof OperationNames.Normalize;
|
9
|
-
params: NormalizeOperationParams;
|
10
|
-
};
|
11
|
-
export declare const normalizeSchema: zod.ZodType<NormalizeOperation>;
|
package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.d.ts
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
import sharp from "sharp";
|
2
|
-
import { CreateLineBackground } from '../../../../../frame/backgrounds/create-line-background';
|
3
|
-
export declare function createLineBackground(background: CreateLineBackground, dimensions: {
|
4
|
-
widthPx: number;
|
5
|
-
heightPx: number;
|
6
|
-
}, palette: [number, number, number][]): Promise<sharp.OverlayOptions[]>;
|
package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
createLineBackground
|
3
|
-
} from "../../../../../../../../chunks/chunk-GE7DNPF6.js";
|
4
|
-
import "../../../../../../../../chunks/chunk-2POD3TAX.js";
|
5
|
-
import "../../../../../../../../chunks/chunk-U57Q62IN.js";
|
6
|
-
import "../../../../../../../../chunks/chunk-MB7HWF22.js";
|
7
|
-
import "../../../../../../../../chunks/chunk-QLC3A6PC.js";
|
8
|
-
import "../../../../../../../../chunks/chunk-YVLJKJV2.js";
|
9
|
-
import "../../../../../../../../chunks/chunk-WSFCRVEQ.js";
|
10
|
-
export {
|
11
|
-
createLineBackground
|
12
|
-
};
|
package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.d.ts
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import sharp from 'sharp';
|
2
|
-
import { CreateTileBackground } from '../../../../../frame/backgrounds/create-tile-background';
|
3
|
-
type Coordinates = {
|
4
|
-
x: number;
|
5
|
-
y: number;
|
6
|
-
w: number;
|
7
|
-
h: number;
|
8
|
-
};
|
9
|
-
export declare const DEFAULT_CREATE_BACKGROUND_TILE_PARAMS: CreateTileBackground['params'];
|
10
|
-
export declare function createTileBackground(background: CreateTileBackground, dimensions: {
|
11
|
-
widthPx: number;
|
12
|
-
heightPx: number;
|
13
|
-
}, imageCoordinates: Coordinates, colorPalette: [number, number, number][]): Promise<sharp.OverlayOptions[]>;
|
14
|
-
export {};
|
package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
DEFAULT_CREATE_BACKGROUND_TILE_PARAMS,
|
3
|
-
createTileBackground
|
4
|
-
} from "../../../../../../../../chunks/chunk-CP454IJD.js";
|
5
|
-
import "../../../../../../../../chunks/chunk-ENMBK6H7.js";
|
6
|
-
import "../../../../../../../../chunks/chunk-4CIS3R7T.js";
|
7
|
-
import "../../../../../../../../chunks/chunk-OSAXBA7G.js";
|
8
|
-
import "../../../../../../../../chunks/chunk-D3ERTRDW.js";
|
9
|
-
import "../../../../../../../../chunks/chunk-VJJIYJMY.js";
|
10
|
-
import "../../../../../../../../chunks/chunk-WSFCRVEQ.js";
|
11
|
-
export {
|
12
|
-
DEFAULT_CREATE_BACKGROUND_TILE_PARAMS,
|
13
|
-
createTileBackground
|
14
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { FrameCreateBackground } from "../../../../frame";
|
2
|
-
export type DensifyPaletteType = ('default' | 'default-lighten' | 'default-saturate' | 'complementary' | 'complementary-lighten' | 'complementary-saturate')[];
|
3
|
-
export declare function densifyPalette(RGBColors: [number, number, number][], types?: DensifyPaletteType, ligthenIntensity?: number, saturateIntensity?: number): [number, number, number][];
|
4
|
-
export declare function createColorPalette(image: {
|
5
|
-
buffer: Buffer<ArrayBufferLike>;
|
6
|
-
nbChannels: number;
|
7
|
-
dimensions: {
|
8
|
-
widthPx: number;
|
9
|
-
heightPx: number;
|
10
|
-
};
|
11
|
-
}, createPalette?: FrameCreateBackground['colorPalette']): [number, number, number][];
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
createColorPalette,
|
3
|
-
densifyPalette
|
4
|
-
} from "../../../../../../../chunks/chunk-XTOAQTLP.js";
|
5
|
-
import "../../../../../../../chunks/chunk-ZRWVPWQC.js";
|
6
|
-
import "../../../../../../../chunks/chunk-OSAXBA7G.js";
|
7
|
-
import "../../../../../../../chunks/chunk-2POD3TAX.js";
|
8
|
-
import "../../../../../../../chunks/chunk-U57Q62IN.js";
|
9
|
-
import "../../../../../../../chunks/chunk-MB7HWF22.js";
|
10
|
-
import "../../../../../../../chunks/chunk-QLC3A6PC.js";
|
11
|
-
import "../../../../../../../chunks/chunk-YVLJKJV2.js";
|
12
|
-
import "../../../../../../../chunks/chunk-VJJIYJMY.js";
|
13
|
-
import "../../../../../../../chunks/chunk-WSFCRVEQ.js";
|
14
|
-
export {
|
15
|
-
createColorPalette,
|
16
|
-
densifyPalette
|
17
|
-
};
|