@design-edito/tools 0.1.72 → 0.2.0
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/find-duplicates/index.js +1 -1
- package/agnostic/arrays/index.js +6 -6
- package/agnostic/arrays/is-array-of/index.js +1 -1
- package/agnostic/arrays/make/index.js +1 -1
- package/agnostic/arrays/random-pick/index.js +1 -1
- package/agnostic/arrays/shuffle/index.js +1 -1
- package/agnostic/booleans/index.js +1 -1
- package/agnostic/booleans/is-falsy/index.js +1 -1
- package/agnostic/colors/complement-color/index.js +1 -1
- package/agnostic/colors/hex-to-rgb/index.js +1 -1
- package/agnostic/colors/hsl-to-rgb/index.js +1 -1
- package/agnostic/colors/index.js +12 -12
- package/agnostic/colors/lighten-color/index.js +3 -3
- package/agnostic/colors/rgb-to-hex/index.js +1 -1
- package/agnostic/colors/rgb-to-hsl/index.js +1 -1
- package/agnostic/colors/saturate-color/index.js +3 -3
- package/agnostic/css/bem/index.js +3 -3
- package/agnostic/css/generate-nice-color/index.js +1 -1
- package/agnostic/css/index.js +12 -12
- package/agnostic/css/is-valid-css-class-name/index.js +1 -1
- package/agnostic/css/styles-set/index.js +1 -1
- package/agnostic/errors/index.js +1 -1
- package/agnostic/errors/register/index.js +1 -1
- package/agnostic/errors/unknown-to-string/index.js +1 -1
- package/agnostic/html/get-node-ancestors/index.js +1 -1
- package/agnostic/html/get-position-inside-parent/index.js +1 -1
- package/agnostic/html/hyper-json/cast/index.js +3 -3
- package/agnostic/html/hyper-json/index.js +4 -4
- package/agnostic/html/hyper-json/method/index.js +1 -1
- package/agnostic/html/hyper-json/serialize/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
- package/agnostic/html/hyper-json/transformer/index.js +1 -1
- package/agnostic/html/hyper-json/tree/index.js +3 -3
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.js +3 -3
- package/agnostic/html/index.js +10 -10
- package/agnostic/html/insert-node/index.js +1 -1
- package/agnostic/html/placeholders/index.js +1 -1
- package/agnostic/html/replace-in-element/index.js +1 -1
- package/agnostic/html/sanitize/index.js +1 -1
- package/agnostic/html/selector-to-element/index.js +1 -1
- package/agnostic/html/string-to-nodes/index.js +1 -1
- package/agnostic/misc/assert/index.js +1 -1
- package/agnostic/misc/cast/index.js +1 -1
- package/agnostic/misc/crawler/index.js +1 -1
- package/agnostic/misc/crossenv/detect-runtime/index.js +1 -1
- package/agnostic/misc/crossenv/index.js +1 -1
- package/agnostic/misc/crossenv/types/index.js +1 -1
- package/agnostic/misc/crossenv/window/index.js +1 -1
- package/agnostic/misc/data-size/index.js +2 -2
- package/agnostic/misc/elo/index.js +1 -1
- package/agnostic/misc/get-current-downlink/index.js +1 -1
- package/agnostic/misc/index.js +17 -17
- package/agnostic/misc/is-constructor-function/index.js +1 -1
- package/agnostic/misc/is-nullish/index.js +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/misc/logs/logger/index.js +1 -1
- package/agnostic/misc/logs/make-text-block/index.js +1 -1
- package/agnostic/misc/logs/styles/index.js +1 -1
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/misc/normalize-extension/index.js +1 -1
- package/agnostic/misc/outcome/index.js +1 -1
- package/agnostic/numbers/absolute-modulo/index.js +1 -1
- package/agnostic/numbers/clamp/index.js +1 -1
- package/agnostic/numbers/index.js +4 -4
- package/agnostic/numbers/interpolate/index.js +1 -1
- package/agnostic/numbers/responsive-harmonics/index.js +1 -1
- package/agnostic/numbers/round/index.js +1 -1
- package/agnostic/objects/deep-get-property/index.js +1 -1
- package/agnostic/objects/enums/index.js +1 -1
- package/agnostic/objects/enums/is-in-enum/index.js +1 -1
- package/agnostic/objects/flatten-getters/index.js +1 -1
- package/agnostic/objects/index.js +11 -11
- package/agnostic/objects/is-object/index.js +1 -1
- package/agnostic/objects/is-record/index.js +1 -1
- package/agnostic/objects/record-format/index.js +1 -1
- package/agnostic/objects/record-map/index.js +1 -1
- package/agnostic/objects/validation/index.js +1 -1
- package/agnostic/optim/index.js +1 -1
- package/agnostic/optim/memoize/index.js +1 -1
- package/agnostic/optim/throttle-debounce/index.js +1 -1
- package/agnostic/random/hex-char/index.js +1 -1
- package/agnostic/random/index.js +1 -1
- package/agnostic/random/random/index.js +1 -1
- package/agnostic/random/uuid/index.js +1 -1
- package/agnostic/regexps/index.js +1 -1
- package/agnostic/sanitization/index.js +4 -1280
- package/agnostic/strings/char-codes/index.js +1 -1
- package/agnostic/strings/index.js +12 -12
- package/agnostic/strings/matches/index.js +1 -1
- package/agnostic/strings/normalize-indent/index.js +1 -1
- package/agnostic/strings/replace-all/index.js +1 -1
- package/agnostic/strings/to-alphanum/index.js +1 -1
- package/agnostic/strings/trim/index.js +1 -1
- package/agnostic/time/dates/format-date/index.js +1 -1
- package/agnostic/time/dates/index.js +1 -1
- package/agnostic/time/duration/index.js +1 -1
- package/agnostic/time/index.js +4 -4
- package/agnostic/time/timeout/index.js +1 -1
- package/agnostic/time/transitions/index.js +1 -1
- package/agnostic/time/wait/index.js +1 -1
- package/chunks/chunk-24MJDYQE.js +18 -0
- package/chunks/{chunk-OYUM24PM.js → chunk-24ZUWYIR.js} +6 -6
- package/chunks/{chunk-MPYCQ5IF.js → chunk-2JH4TCT2.js} +1 -1
- package/chunks/{chunk-HNFSETMT.js → chunk-2V7TLVCV.js} +6 -6
- package/chunks/{chunk-6RJY3F7A.js → chunk-2VJ4QISD.js} +7 -7
- package/chunks/{chunk-CEY7OIFX.js → chunk-37TRFYZT.js} +1 -1
- package/chunks/{chunk-26V5RC4U.js → chunk-3CLGBOHN.js} +1 -1
- package/chunks/{chunk-UU35YSBK.js → chunk-3RLCDQOJ.js} +12 -12
- package/chunks/{chunk-LBDZQNBM.js → chunk-3TKBCG7Y.js} +5 -9
- package/chunks/{chunk-XFMKYZKH.js → chunk-3XRPOHUB.js} +1 -1
- package/chunks/{chunk-6STIUASQ.js → chunk-42K3MQQ5.js} +1 -1
- package/chunks/{chunk-AOWLA5T2.js → chunk-4BPSIDYW.js} +19 -19
- package/chunks/{chunk-KOBZRZBX.js → chunk-4EFX53Y4.js} +10 -6
- package/chunks/chunk-4KNB7WYD.js +19 -0
- package/chunks/{chunk-3J4WAVX6.js → chunk-4OK2UH4M.js} +7 -7
- package/chunks/{chunk-24O4C4HG.js → chunk-4W7NAQMC.js} +4 -4
- package/chunks/{chunk-5WARYKLO.js → chunk-4XBUJAQU.js} +10 -10
- package/chunks/{chunk-LF4VYSOT.js → chunk-4XSDRT23.js} +8 -9
- package/chunks/chunk-5BQFHNTR.js +21 -0
- package/chunks/chunk-5KVGIG6J.js +31 -0
- package/chunks/chunk-5PAFOSWF.js +16 -0
- package/chunks/{chunk-BTJ2JXDV.js → chunk-5VHFXWFM.js} +1 -1
- package/chunks/chunk-5XBCPKNW.js +18 -0
- package/chunks/{chunk-FWR7ZA4M.js → chunk-5ZJ3KJPK.js} +1 -1
- package/chunks/{chunk-QP5GNEJY.js → chunk-646R6BQZ.js} +6 -6
- package/chunks/chunk-6FMANHGH.js +15 -0
- package/chunks/{chunk-XIMUZN5X.js → chunk-6IYUA43Q.js} +1 -1
- package/chunks/{chunk-V7FJOKAC.js → chunk-6LDTWID7.js} +10 -10
- package/chunks/{chunk-YXIFWOKO.js → chunk-6NLNUGBI.js} +6 -6
- package/chunks/{chunk-AVVDAISH.js → chunk-74CFPDKM.js} +7 -7
- package/chunks/{chunk-KBOL3LMK.js → chunk-7CHYRYXJ.js} +34 -34
- package/chunks/{chunk-VSYAOEKE.js → chunk-7DV4CM2Z.js} +1 -1
- package/chunks/chunk-7HSB4A2G.js +31 -0
- package/chunks/{chunk-GZWZ5SSG.js → chunk-7J2AUDU2.js} +19 -19
- package/chunks/{chunk-2RFYHF6F.js → chunk-7J7CYOXU.js} +1 -1
- package/chunks/{chunk-HL6LO6QF.js → chunk-7KSMK42F.js} +7 -7
- package/chunks/chunk-ABQMMHCL.js +16 -0
- package/chunks/{chunk-J5TWVAJJ.js → chunk-AIC5YAJU.js} +7 -7
- package/chunks/{chunk-XDTFPTMG.js → chunk-AKCO3SNC.js} +33 -33
- package/chunks/{chunk-J467ZNXE.js → chunk-ANPXBD2G.js} +1 -1
- package/chunks/{chunk-M6B5J46K.js → chunk-AU6JLO5B.js} +3 -3
- package/chunks/chunk-AW3I75FU.js +79 -0
- package/chunks/{chunk-OSZCNQBA.js → chunk-AY7SJG3R.js} +11 -11
- package/chunks/chunk-B5C6VXNI.js +18 -0
- package/chunks/{chunk-HY7RNBYE.js → chunk-BD56ZAYF.js} +7 -7
- package/chunks/{chunk-5HE6JLK7.js → chunk-BE7OXZRK.js} +1 -1
- package/chunks/{chunk-EAV5YDBD.js → chunk-BGSJ5XCH.js} +3 -3
- package/chunks/chunk-BN4MCFBZ.js +35 -0
- package/chunks/{chunk-YQ7FI6RT.js → chunk-BP3KL5L2.js} +9 -9
- package/chunks/chunk-BSLVDJVW.js +32 -0
- package/chunks/{chunk-EHLTUOGZ.js → chunk-BSUQNHAM.js} +1 -1
- package/chunks/chunk-BVPHULMY.js +21 -0
- package/chunks/{chunk-TQZ46CBX.js → chunk-BWYH445G.js} +1 -1
- package/chunks/{chunk-ME7RF24X.js → chunk-C2MFLI7A.js} +16 -16
- package/chunks/{chunk-3G4NTP23.js → chunk-C6QTHDDM.js} +8 -9
- package/chunks/{chunk-WQD2VKTO.js → chunk-CA3UPHYO.js} +6 -6
- package/chunks/{chunk-AXTDGCSY.js → chunk-CAV4FNVR.js} +19 -19
- package/chunks/chunk-CGITTQIW.js +42 -0
- package/chunks/{chunk-HP722G2E.js → chunk-CHKEZ72M.js} +4 -24
- package/chunks/chunk-CKENYYWH.js +28 -0
- package/chunks/{chunk-FR3BXMR5.js → chunk-CNYSX2L2.js} +1 -1
- package/chunks/{chunk-FTOEQNF6.js → chunk-CVDCTI7F.js} +1 -1
- package/chunks/{chunk-4XS5UIQF.js → chunk-CWZFRUBS.js} +1 -1
- package/chunks/{chunk-TLYXVMR5.js → chunk-CXUWFKJG.js} +6 -6
- package/chunks/{chunk-7WYDM5OX.js → chunk-CYBPWE5F.js} +1 -1
- package/chunks/chunk-D67AGMZF.js +23 -0
- package/chunks/{chunk-ZWWJ52EY.js → chunk-D7PZ7633.js} +8 -8
- package/chunks/{chunk-4MLQ42IU.js → chunk-DPQRXSZH.js} +6 -6
- package/chunks/chunk-ELPQUBKJ.js +30 -0
- package/chunks/chunk-EOTOFHUR.js +42 -0
- package/chunks/chunk-EWQDQMIO.js +22 -0
- package/chunks/{chunk-V4YB22WN.js → chunk-EZ22Z22X.js} +7 -7
- package/chunks/chunk-F4GFAM6X.js +31 -0
- package/chunks/{chunk-MP6CL7F7.js → chunk-FB3GNE2B.js} +1 -1
- package/chunks/chunk-FCB366FH.js +40 -0
- package/chunks/chunk-FD5WR2A5.js +63 -0
- package/chunks/{chunk-NX2FQWHA.js → chunk-FE4DECBU.js} +1 -1
- package/chunks/{chunk-QKK6WQDI.js → chunk-FF5NURFO.js} +1 -1
- package/chunks/chunk-FI675VZO.js +11609 -0
- package/chunks/chunk-FRJBHV4A.js +21 -0
- package/chunks/{chunk-JJA4KGAD.js → chunk-FS6LRTDK.js} +6 -6
- package/chunks/chunk-G4Y2EOVP.js +18 -0
- package/chunks/{chunk-UBJACMOZ.js → chunk-G5RRNREY.js} +4 -4
- package/chunks/chunk-GE7DNPF6.js +63 -0
- package/chunks/chunk-GGYWRA4A.js +231 -0
- package/chunks/chunk-GKCKBPY2.js +16 -0
- package/chunks/chunk-GZIEUPBF.js +18 -0
- package/chunks/{chunk-DJ7ABCYK.js → chunk-H4LW6FP3.js} +6 -6
- package/chunks/{chunk-HDGHODNO.js → chunk-H5O26IRG.js} +7 -7
- package/chunks/{chunk-LUZ7ZWWJ.js → chunk-HD7QU6D6.js} +11 -11
- package/chunks/{chunk-NCLB3UH3.js → chunk-HKTNK262.js} +1 -1
- package/chunks/{chunk-54B7VIY6.js → chunk-HRNDUTZE.js} +1 -1
- package/chunks/{chunk-TEQE3HY3.js → chunk-HRWQVASA.js} +14 -14
- package/chunks/{chunk-5RA25FYM.js → chunk-HWEGQVBQ.js} +1 -1
- package/chunks/{chunk-G2XDDBWE.js → chunk-HWVEI3RH.js} +1 -1
- package/chunks/chunk-HX5PHI2P.js +42 -0
- package/chunks/{chunk-2DYDNCZK.js → chunk-HY4V3SPP.js} +22 -22
- package/chunks/chunk-IFZ4CMF4.js +16 -0
- package/chunks/{chunk-H4NHF72W.js → chunk-IV75M3KE.js} +6 -8
- package/chunks/chunk-JAENHN5Z.js +42 -0
- package/chunks/chunk-JNQPNZTB.js +42 -0
- package/chunks/{chunk-B5OUYMUU.js → chunk-JQAOGZPV.js} +4 -4
- package/chunks/{chunk-NP5UEOSJ.js → chunk-JTJA7DGW.js} +2 -2
- package/chunks/chunk-JV6I54AC.js +16 -0
- package/chunks/{chunk-5CYREVPP.js → chunk-KJAEVOIW.js} +1 -1
- package/chunks/chunk-KOD5LUT3.js +28 -0
- package/chunks/{chunk-ESUBE7BB.js → chunk-KQCU3AXU.js} +6 -6
- package/chunks/{chunk-SCOY7PVB.js → chunk-KRICEY6O.js} +4 -4
- package/chunks/chunk-KUT7FQGS.js +16 -0
- package/chunks/chunk-LJO4SDD2.js +79 -0
- package/chunks/{chunk-KPYPESIY.js → chunk-LNL6TUDC.js} +14 -14
- package/chunks/chunk-LQ2H2YVS.js +60 -0
- package/chunks/chunk-LQ3PCG4Z.js +18 -0
- package/chunks/chunk-LRBVQNQI.js +40 -0
- package/chunks/chunk-LSZVKXDZ.js +37 -0
- package/chunks/chunk-LV4WOREW.js +40 -0
- package/chunks/chunk-LVCQ3CSC.js +21 -0
- package/chunks/chunk-M32C4GP2.js +15 -0
- package/chunks/{chunk-MYCT3HYF.js → chunk-MJFB3YE6.js} +3 -3
- package/chunks/chunk-MJMBDBEH.js +69 -0
- package/chunks/chunk-MKHTR43Q.js +231 -0
- package/chunks/{chunk-A3VTK5UF.js → chunk-N2T672IG.js} +1 -1
- package/chunks/chunk-NFSRT4ED.js +18 -0
- package/chunks/chunk-NHKKX4F7.js +18 -0
- package/chunks/{chunk-JZ6Z7V7F.js → chunk-NJVVOZVZ.js} +4 -4
- package/chunks/{chunk-Z2VDSEND.js → chunk-NMYVJJXV.js} +1 -1
- package/chunks/{chunk-4PAHEIPV.js → chunk-NOLQR5RW.js} +6 -6
- package/chunks/{chunk-YU5NILJC.js → chunk-NWGNIT4B.js} +3 -3
- package/chunks/chunk-O3V5DTNL.js +40 -0
- package/chunks/chunk-O6TWC4IK.js +56 -0
- package/chunks/{chunk-TOGOF74B.js → chunk-OA7Y2A5T.js} +6 -6
- package/chunks/chunk-OAGKCS7I.js +24 -0
- package/chunks/chunk-OMLGI3Y2.js +16 -0
- package/chunks/{chunk-2UPQ73EE.js → chunk-ON6LC3HE.js} +12 -11
- package/chunks/chunk-OT4SVHDX.js +11609 -0
- package/chunks/{chunk-6NZOSESD.js → chunk-PAIUCLVK.js} +1 -1
- package/chunks/chunk-PFYLNAAX.js +24 -0
- package/chunks/{chunk-HUT6SDJH.js → chunk-PGT5NXPS.js} +129 -42
- package/chunks/chunk-Q2SKOY7I.js +37 -0
- package/chunks/{chunk-BOJEVEPB.js → chunk-QCOO4PV5.js} +1 -1
- package/chunks/{chunk-IOZR2LGL.js → chunk-QDVDHFMZ.js} +1 -1
- package/chunks/{chunk-SSJ5YQMJ.js → chunk-QH64MYGA.js} +1 -1
- package/chunks/{chunk-6SSGHEQX.js → chunk-QLDN574K.js} +1 -1
- package/chunks/chunk-QTF7LWGT.js +28 -0
- package/chunks/{chunk-FTGHUU73.js → chunk-QTPSR7ZJ.js} +15 -15
- package/chunks/{chunk-ZO5FRL3M.js → chunk-QVPS2BCJ.js} +1 -1
- package/chunks/{chunk-QQAPFSMW.js → chunk-QWZ4ZNFA.js} +10 -10
- package/chunks/chunk-R4BWUNSM.js +28 -0
- package/chunks/chunk-REXT5ZMP.js +32 -0
- package/chunks/{chunk-CXU3QPN2.js → chunk-REZC75LB.js} +1 -1
- package/chunks/chunk-RNLVCCL2.js +151 -0
- package/chunks/{chunk-GKTDEHC6.js → chunk-RWO53U4X.js} +1 -1
- package/chunks/chunk-RXBMGIPJ.js +42 -0
- package/chunks/chunk-SEYXG56Q.js +23 -0
- package/chunks/{chunk-PUPASUMS.js → chunk-SHXOKSK3.js} +2 -2
- package/chunks/chunk-SP7EOGMF.js +30 -0
- package/chunks/chunk-SX2M5777.js +177 -0
- package/chunks/{chunk-PPJYUWHH.js → chunk-TGVYEQIA.js} +1 -1
- package/chunks/chunk-TQHR6A2P.js +40 -0
- package/chunks/chunk-TSAR3HF6.js +35 -0
- package/chunks/chunk-U2KKX7UV.js +19 -0
- package/chunks/{chunk-IQUEVQBN.js → chunk-UEAMPAHK.js} +7 -7
- package/chunks/{chunk-LUETT72P.js → chunk-UJ5LGWZL.js} +1 -1
- package/chunks/{chunk-7WUVBSIC.js → chunk-UK2F7CWI.js} +1 -1
- package/chunks/{chunk-EEZ3NV4Q.js → chunk-UK4HNSEJ.js} +6 -6
- package/chunks/chunk-UX2O74SG.js +42 -0
- package/chunks/chunk-UXEKCYL7.js +28 -0
- package/chunks/{chunk-4IHBBNAG.js → chunk-V3GX7SIJ.js} +4 -8
- package/chunks/{chunk-YCNUTWOG.js → chunk-V3L55I2S.js} +1 -1
- package/chunks/chunk-VEKKX6Z5.js +173 -0
- package/chunks/chunk-VISMB7RN.js +60 -0
- package/chunks/chunk-VJHE6WHS.js +164 -0
- package/chunks/{chunk-IIXTJZ6G.js → chunk-VROZGPC5.js} +6 -8
- package/chunks/chunk-VSM742EZ.js +40 -0
- package/chunks/{chunk-FNIJLHH2.js → chunk-W3G73JUU.js} +3 -3
- package/chunks/{chunk-JKAHSFJD.js → chunk-W3RXHN5I.js} +1 -1
- package/chunks/{chunk-HGDSHJEX.js → chunk-WAHPAZQS.js} +1 -1
- package/chunks/{chunk-V7JZNA6N.js → chunk-WG56WT6T.js} +3 -3
- package/chunks/chunk-WHLM3KTR.js +20 -0
- package/chunks/chunk-WJ3XV35I.js +28 -0
- package/chunks/chunk-WKGSTVTK.js +28 -0
- package/chunks/chunk-WMDZHUBQ.js +56 -0
- package/chunks/chunk-WS3JRFP7.js +69 -0
- package/chunks/chunk-WSFCRVEQ.js +9 -0
- package/chunks/chunk-X33GT7VY.js +28 -0
- package/chunks/chunk-XJ23DJY4.js +173 -0
- package/chunks/chunk-XNJYYULL.js +177 -0
- package/chunks/chunk-XNWEMAIP.js +42 -0
- package/chunks/chunk-XOUITWSM.js +21 -0
- package/chunks/{chunk-P5CBBXGK.js → chunk-XOXH4XNN.js} +3 -3
- package/chunks/chunk-XQ4V4LVP.js +28 -0
- package/chunks/chunk-Y6EREGHZ.js +20 -0
- package/chunks/chunk-YB2KZLMN.js +65 -0
- package/chunks/chunk-YDIFL3IZ.js +151 -0
- package/chunks/chunk-YJE3G6BE.js +16 -0
- package/chunks/{chunk-NXV33ZSC.js → chunk-YKPA3MQL.js} +1 -1
- package/chunks/chunk-YVWQXQTE.js +42 -0
- package/chunks/{chunk-S3GEV44K.js → chunk-Z4B2Z7QO.js} +124 -37
- package/chunks/{chunk-NHMEZ6ZP.js → chunk-ZEZCYPLQ.js} +6 -8
- package/chunks/chunk-ZH3QMMVD.js +28 -0
- package/chunks/{chunk-B7E3DQ4Z.js → chunk-ZJTWDCNZ.js} +1 -1
- package/chunks/chunk-ZKAK6JOS.js +98 -0
- package/chunks/chunk-ZN6IQRZT.js +141 -0
- package/chunks/{chunk-Z566RJUU.js → chunk-ZNA7SWFK.js} +1 -1
- package/chunks/chunk-ZQY2MR66.js +42 -0
- package/chunks/{chunk-ZAIWJI6A.js → chunk-ZSUG52DO.js} +6 -8
- package/chunks/chunk-ZUQEHFGL.js +42 -0
- package/components/Comp/index.js +1 -1
- package/node/@aws-s3/index.js +15 -16
- package/node/@aws-s3/storage/directory/copy-dir/index.js +2 -3
- package/node/@aws-s3/storage/directory/index.js +8 -9
- package/node/@aws-s3/storage/directory/list/index.js +2 -3
- package/node/@aws-s3/storage/directory/move-dir/index.js +2 -3
- package/node/@aws-s3/storage/directory/remove-dir/index.js +2 -3
- package/node/@aws-s3/storage/file/copy/index.js +2 -3
- package/node/@aws-s3/storage/file/download/index.js +2 -3
- package/node/@aws-s3/storage/file/exists/index.js +2 -3
- package/node/@aws-s3/storage/file/index.js +11 -12
- package/node/@aws-s3/storage/file/move/index.js +2 -3
- package/node/@aws-s3/storage/file/remove/index.js +2 -3
- package/node/@aws-s3/storage/file/stat/index.js +2 -3
- package/node/@aws-s3/storage/file/upload/index.js +2 -3
- package/node/@aws-s3/storage/index.js +15 -16
- package/node/@design-edito/index.js +1 -1
- package/node/@express/@multer/index.js +2 -2
- package/node/@express/index.js +2 -2
- package/node/@google-cloud/index.js +22 -22
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/bucket/index.js +8 -8
- package/node/@google-cloud/storage/directory/copy-dir/index.js +2 -2
- package/node/@google-cloud/storage/directory/index.js +8 -8
- package/node/@google-cloud/storage/directory/list/index.js +2 -2
- package/node/@google-cloud/storage/directory/move-dir/index.js +2 -2
- package/node/@google-cloud/storage/directory/remove-dir/index.js +2 -2
- package/node/@google-cloud/storage/file/copy/index.js +2 -2
- package/node/@google-cloud/storage/file/download/index.js +2 -2
- package/node/@google-cloud/storage/file/exists/index.js +2 -2
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
- package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
- package/node/@google-cloud/storage/file/index.js +19 -19
- package/node/@google-cloud/storage/file/move/index.js +2 -2
- package/node/@google-cloud/storage/file/remove/index.js +2 -2
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
- package/node/@google-cloud/storage/file/stat/index.js +2 -2
- package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/upload/index.js +2 -2
- package/node/@google-cloud/storage/index.js +24 -24
- package/node/cloud-storage/clients/index.js +2 -3
- package/node/cloud-storage/index.js +58 -59
- package/node/cloud-storage/operations/copy-dir/index.js +7 -8
- package/node/cloud-storage/operations/copy-file/index.js +7 -8
- package/node/cloud-storage/operations/download-file/index.js +7 -8
- package/node/cloud-storage/operations/exists-file/index.js +7 -8
- package/node/cloud-storage/operations/index.js +63 -64
- package/node/cloud-storage/operations/list-dir/index.js +7 -8
- package/node/cloud-storage/operations/move-dir/index.js +7 -8
- package/node/cloud-storage/operations/move-file/index.js +7 -8
- package/node/cloud-storage/operations/remove-dir/index.js +7 -8
- package/node/cloud-storage/operations/remove-file/index.js +7 -8
- package/node/cloud-storage/operations/stat-file/index.js +7 -8
- package/node/cloud-storage/operations/upload-file/index.js +7 -8
- package/node/encryption/@aes-256-gcm/buffer/index.js +3 -3
- package/node/encryption/@aes-256-gcm/index.js +4 -4
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +2 -2
- package/node/encryption/index.js +5 -5
- package/node/encryption/key/index.js +2 -2
- package/node/files/index.js +5 -5
- package/node/files/is-in-directory/index.js +1 -1
- package/node/files/read-write/index.js +1 -1
- package/node/files/subpaths/index.js +1 -1
- package/node/ftps/directory/copy-dir/index.js +2 -2
- package/node/ftps/directory/index.js +8 -8
- package/node/ftps/directory/list/index.js +2 -2
- package/node/ftps/directory/move-dir/index.js +2 -2
- package/node/ftps/directory/remove-dir/index.js +2 -2
- package/node/ftps/file/copy/index.js +2 -2
- package/node/ftps/file/download/index.js +2 -2
- package/node/ftps/file/exists/index.js +2 -2
- package/node/ftps/file/index.js +11 -11
- package/node/ftps/file/move/index.js +2 -2
- package/node/ftps/file/remove/index.js +2 -2
- package/node/ftps/file/stat/index.js +2 -2
- package/node/ftps/file/upload/index.js +2 -2
- package/node/ftps/index.js +14 -14
- package/node/images/format/index.js +3 -3
- package/node/images/index.js +35 -35
- package/node/images/prepare/index.js +35 -35
- package/node/images/transform/_utils/color-schema/index.js +3 -3
- package/node/images/transform/_utils/operation-names/index.js +1 -1
- package/node/images/transform/_utils/positions/index.d.ts +8 -22
- package/node/images/transform/_utils/positions/index.js +3 -3
- package/node/images/transform/blur/index.js +3 -3
- package/node/images/transform/brighten/index.js +3 -3
- package/node/images/transform/compose/index.js +5 -5
- package/node/images/transform/extend/index.js +4 -4
- package/node/images/transform/extract/index.js +3 -3
- package/node/images/transform/flatten/index.js +4 -4
- package/node/images/transform/flip/index.js +3 -3
- package/node/images/transform/flop/index.js +3 -3
- package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +34 -127
- package/node/images/transform/frame/backgrounds/create-line-background/index.js +3 -3
- package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +75 -76
- package/node/images/transform/frame/backgrounds/create-tile-background/index.js +3 -3
- package/node/images/transform/frame/index.js +7 -7
- package/node/images/transform/hue-rotate/index.js +3 -3
- package/node/images/transform/index.js +33 -33
- package/node/images/transform/lighten/index.js +3 -3
- package/node/images/transform/lineate-levels/index.js +3 -3
- package/node/images/transform/modulate/index.js +3 -3
- package/node/images/transform/normalize/index.js +3 -3
- package/node/images/transform/operations/_utils/compose/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +5 -5
- package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +5 -5
- package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/index.js +8 -8
- package/node/images/transform/operations/_utils/positions/index.js +1 -1
- package/node/images/transform/operations/_utils/scale/index.js +1 -1
- package/node/images/transform/resize/index.js +4 -4
- package/node/images/transform/rotate/index.js +3 -3
- package/node/images/transform/saturate/index.js +3 -3
- package/node/images/transform/scale/index.js +4 -4
- package/node/process/index.js +1 -1
- package/node/process/on-exit/index.js +1 -1
- package/node/sftp/directory/copy-dir/index.js +2 -2
- package/node/sftp/directory/index.js +8 -8
- package/node/sftp/directory/list/index.js +2 -2
- package/node/sftp/directory/move-dir/index.js +2 -2
- package/node/sftp/directory/remove-dir/index.js +2 -2
- package/node/sftp/file/copy/index.js +2 -2
- package/node/sftp/file/download/index.js +2 -2
- package/node/sftp/file/exists/index.js +2 -2
- package/node/sftp/file/index.js +11 -11
- package/node/sftp/file/move/index.js +2 -2
- package/node/sftp/file/remove/index.js +2 -2
- package/node/sftp/file/stat/index.js +2 -2
- package/node/sftp/file/upload/index.js +2 -2
- package/node/sftp/index.js +14 -14
- package/package.json +9 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +0 -21
- package/agnostic/misc/crossenv/get-document/index.d.ts +0 -2
- package/agnostic/misc/crossenv/get-document/index.js +0 -7
- package/agnostic/misc/crossenv/get-window/browser.d.ts +0 -2
- package/agnostic/misc/crossenv/get-window/index.d.ts +0 -2
- package/agnostic/misc/crossenv/get-window/index.js +0 -6
- package/agnostic/misc/crossenv/types.d.ts +0 -3
- package/chunks/chunk-2ALVFCSP.js +0 -211
- package/chunks/chunk-2NXYSAFE.js +0 -67
- package/chunks/chunk-2YGNPA2R.js +0 -79
- package/chunks/chunk-34C35EX6.js +0 -16
- package/chunks/chunk-36CTYZYA.js +0 -28
- package/chunks/chunk-45S766KF.js +0 -15
- package/chunks/chunk-4GUDL44X.js +0 -13
- package/chunks/chunk-4QQBKBYH.js +0 -59
- package/chunks/chunk-5HW7QLTB.js +0 -35
- package/chunks/chunk-5IR2PWO6.js +0 -211
- package/chunks/chunk-73FTH5T3.js +0 -211
- package/chunks/chunk-73V5RDSG.js +0 -13
- package/chunks/chunk-7647NLB2.js +0 -16
- package/chunks/chunk-B446JIN3.js +0 -29
- package/chunks/chunk-BEZTX3QU.js +0 -1
- package/chunks/chunk-BVCNQIKY.js +0 -18
- package/chunks/chunk-BW5CY5YB.js +0 -1
- package/chunks/chunk-CHUOCTRP.js +0 -26
- package/chunks/chunk-DIPJ73JH.js +0 -1
- package/chunks/chunk-DRH7Q4FL.js +0 -127
- package/chunks/chunk-E3NHW6J4.js +0 -211
- package/chunks/chunk-EAY65ZP6.js +0 -22
- package/chunks/chunk-EFFU6KXJ.js +0 -1
- package/chunks/chunk-EW46EXFB.js +0 -8
- package/chunks/chunk-EWQZUF22.js +0 -211
- package/chunks/chunk-EZW6DNPL.js +0 -23
- package/chunks/chunk-FCU6IHKD.js +0 -15
- package/chunks/chunk-FTDA7PRI.js +0 -2405
- package/chunks/chunk-FVPFKY5G.js +0 -2391
- package/chunks/chunk-GDYVCEWA.js +0 -38
- package/chunks/chunk-HCNRPWKW.js +0 -63
- package/chunks/chunk-HEJV6JIO.js +0 -133
- package/chunks/chunk-HLUWFMD7.js +0 -67
- package/chunks/chunk-HRWQ4TUA.js +0 -2405
- package/chunks/chunk-HZJY7N36.js +0 -2405
- package/chunks/chunk-IJIE2SLT.js +0 -211
- package/chunks/chunk-IPB3U2PD.js +0 -278
- package/chunks/chunk-IY44AG73.js +0 -69
- package/chunks/chunk-IZP4VIFZ.js +0 -35933
- package/chunks/chunk-JEYO7UP7.js +0 -44
- package/chunks/chunk-JFWEEBSR.js +0 -18
- package/chunks/chunk-JKISSFTR.js +0 -211
- package/chunks/chunk-JWF5EKM2.js +0 -127
- package/chunks/chunk-KH45J4DC.js +0 -48
- package/chunks/chunk-KNE7WIIW.js +0 -1
- package/chunks/chunk-LCFDDWJR.js +0 -278
- package/chunks/chunk-LCLAV6Q2.js +0 -1
- package/chunks/chunk-LVPFSXKA.js +0 -37
- package/chunks/chunk-LYMZZ4BB.js +0 -22
- package/chunks/chunk-MF56TTC5.js +0 -15
- package/chunks/chunk-MQ4Y3GBI.js +0 -19
- package/chunks/chunk-N4EJZLME.js +0 -21
- package/chunks/chunk-N7FA7QJK.js +0 -30
- package/chunks/chunk-NQNEYA4Z.js +0 -32
- package/chunks/chunk-O4AEYNFT.js +0 -16
- package/chunks/chunk-OO5SJJDW.js +0 -35
- package/chunks/chunk-P5TKDJ4T.js +0 -37
- package/chunks/chunk-PCAKH6ZJ.js +0 -1
- package/chunks/chunk-PO3V3I57.js +0 -23
- package/chunks/chunk-Q7XL3D4H.js +0 -37
- package/chunks/chunk-QQRJPDR7.js +0 -1
- package/chunks/chunk-R2H52CYP.js +0 -44
- package/chunks/chunk-R6KCN6CK.js +0 -40
- package/chunks/chunk-RUCTSKYQ.js +0 -2391
- package/chunks/chunk-S23WCXQK.js +0 -211
- package/chunks/chunk-S4FNXSMM.js +0 -18
- package/chunks/chunk-SA2IY5LN.js +0 -35
- package/chunks/chunk-SQZGZ3VT.js +0 -15
- package/chunks/chunk-T4KFB6QN.js +0 -4072
- package/chunks/chunk-UFKH5WD2.js +0 -21
- package/chunks/chunk-UOWPJDWO.js +0 -37
- package/chunks/chunk-UQVDRQ77.js +0 -2391
- package/chunks/chunk-UWAMSJ2X.js +0 -28
- package/chunks/chunk-VA6HXRX4.js +0 -211
- package/chunks/chunk-VDNIN3V5.js +0 -23
- package/chunks/chunk-W3MRYBZJ.js +0 -37
- package/chunks/chunk-W7YBGJ4H.js +0 -28
- package/chunks/chunk-WECTUHS5.js +0 -127
- package/chunks/chunk-WHGU2Q46.js +0 -31
- package/chunks/chunk-WTAMA5WX.js +0 -37
- package/chunks/chunk-WZ2EV5JB.js +0 -211
- package/chunks/chunk-WZBNXYN3.js +0 -1
- package/chunks/chunk-X2DODW4G.js +0 -211
- package/chunks/chunk-X7KWB2VQ.js +0 -21
- package/chunks/chunk-XCKXCF4A.js +0 -1
- package/chunks/chunk-XI2XIH6L.js +0 -2391
- package/chunks/chunk-XKMSDS3Z.js +0 -18
- package/chunks/chunk-XYNIGHGL.js +0 -654
- package/chunks/chunk-YCX3R64F.js +0 -211
- package/chunks/chunk-YMPNQJ4Z.js +0 -21
- package/chunks/chunk-YVUJ4WBL.js +0 -16
- package/chunks/chunk-YYE2MVZO.js +0 -211
- package/chunks/chunk-ZB73RE7P.js +0 -35
- package/chunks/chunk-ZONKYNKA.js +0 -28
- package/chunks/chunk-ZUWQPR2N.js +0 -37
- package/chunks/chunk-ZVJO36JU.js +0 -1
- package/index.d.ts +0 -3
- package/index.js +0 -96
- package/utils/agnostic/absolute-modulo/index.d.ts +0 -1
- package/utils/agnostic/absolute-modulo/index.js +0 -1
- package/utils/agnostic/array/index.d.ts +0 -7
- package/utils/agnostic/array/index.js +0 -1
- package/utils/agnostic/assert/index.d.ts +0 -3
- package/utils/agnostic/assert/index.js +0 -1
- package/utils/agnostic/await-timeout/index.d.ts +0 -2
- package/utils/agnostic/await-timeout/index.js +0 -1
- package/utils/agnostic/bem/BEM.d.ts +0 -29
- package/utils/agnostic/bem/getNamesArr.d.ts +0 -2
- package/utils/agnostic/bem/index.d.ts +0 -5
- package/utils/agnostic/bem/index.js +0 -1
- package/utils/agnostic/cast/index.d.ts +0 -7
- package/utils/agnostic/cast/index.js +0 -1
- package/utils/agnostic/charcode-string/index.d.ts +0 -2
- package/utils/agnostic/charcode-string/index.js +0 -1
- package/utils/agnostic/clamp/index.d.ts +0 -1
- package/utils/agnostic/clamp/index.js +0 -1
- package/utils/agnostic/clientside-html-sanitizer/index.d.ts +0 -22
- package/utils/agnostic/clientside-html-sanitizer/index.js +0 -1
- package/utils/agnostic/crossenv/index.d.ts +0 -11
- package/utils/agnostic/crossenv/index.js +0 -1
- package/utils/agnostic/flatten-getters/index.d.ts +0 -1
- package/utils/agnostic/flatten-getters/index.js +0 -1
- package/utils/agnostic/generate-html-placeholders/index.d.ts +0 -7
- package/utils/agnostic/generate-html-placeholders/index.js +0 -5
- package/utils/agnostic/generate-nice-color/index.d.ts +0 -3
- package/utils/agnostic/generate-nice-color/index.js +0 -1
- package/utils/agnostic/insert-node/index.d.ts +0 -2
- package/utils/agnostic/insert-node/index.js +0 -1
- package/utils/agnostic/interpolate/index.d.ts +0 -3
- package/utils/agnostic/interpolate/index.js +0 -1
- package/utils/agnostic/is-array-of/index.d.ts +0 -5
- package/utils/agnostic/is-array-of/index.js +0 -1
- package/utils/agnostic/is-constructor-function/index.d.ts +0 -2
- package/utils/agnostic/is-constructor-function/index.js +0 -1
- package/utils/agnostic/is-falsy/index.d.ts +0 -8
- package/utils/agnostic/is-falsy/index.js +0 -1
- package/utils/agnostic/is-in-enum/index.d.ts +0 -1
- package/utils/agnostic/is-in-enum/index.js +0 -1
- package/utils/agnostic/is-nullish/index.d.ts +0 -5
- package/utils/agnostic/is-nullish/index.js +0 -1
- package/utils/agnostic/is-object/index.d.ts +0 -1
- package/utils/agnostic/is-object/index.js +0 -1
- package/utils/agnostic/is-record/index.d.ts +0 -1
- package/utils/agnostic/is-record/index.js +0 -1
- package/utils/agnostic/is-valid-css-class-name/index.d.ts +0 -2
- package/utils/agnostic/is-valid-css-class-name/index.js +0 -1
- package/utils/agnostic/memoize/index.d.ts +0 -3
- package/utils/agnostic/memoize/index.js +0 -1
- package/utils/agnostic/object-validate-from-partial/index.d.ts +0 -1
- package/utils/agnostic/object-validate-from-partial/index.js +0 -1
- package/utils/agnostic/random/index.d.ts +0 -9
- package/utils/agnostic/random/index.js +0 -1
- package/utils/agnostic/record-format/index.d.ts +0 -11
- package/utils/agnostic/record-format/index.js +0 -1
- package/utils/agnostic/regexp/index.d.ts +0 -21
- package/utils/agnostic/regexp/index.js +0 -1
- package/utils/agnostic/replace-all/index.d.ts +0 -1
- package/utils/agnostic/replace-all/index.js +0 -1
- package/utils/agnostic/responsive-harmonics/index.d.ts +0 -10
- package/utils/agnostic/responsive-harmonics/index.js +0 -1
- package/utils/agnostic/round-numbers/index.d.ts +0 -1
- package/utils/agnostic/round-numbers/index.js +0 -1
- package/utils/agnostic/selector-to-element/index.d.ts +0 -1
- package/utils/agnostic/selector-to-element/index.js +0 -1
- package/utils/agnostic/silent-log/index.d.ts +0 -53
- package/utils/agnostic/silent-log/index.js +0 -9
- package/utils/agnostic/str-to-nodes/index.d.ts +0 -7
- package/utils/agnostic/str-to-nodes/index.js +0 -1
- package/utils/agnostic/string-matches/index.d.ts +0 -4
- package/utils/agnostic/string-matches/index.js +0 -1
- package/utils/agnostic/string-normalize-indent/index.d.ts +0 -1
- package/utils/agnostic/string-normalize-indent/index.js +0 -3
- package/utils/agnostic/throttle-debounce/index.d.ts +0 -30
- package/utils/agnostic/throttle-debounce/index.js +0 -1
- package/utils/agnostic/throttle-debounce/types.d.ts +0 -3
- package/utils/agnostic/to-alphanum/index.d.ts +0 -1
- package/utils/agnostic/to-alphanum/index.js +0 -1
- package/utils/agnostic/transition/index.d.ts +0 -39
- package/utils/agnostic/transition/index.js +0 -1
- package/utils/agnostic/wait/index.d.ts +0 -1
- package/utils/agnostic/wait/index.js +0 -1
- package/utils/browser/dynamic-css/index.d.ts +0 -4
- package/utils/browser/dynamic-css/index.js +0 -2
- package/utils/browser/get-current-downlink/index.d.ts +0 -1
- package/utils/browser/get-current-downlink/index.js +0 -1
- package/utils/browser/get-node-ancestors/index.d.ts +0 -1
- package/utils/browser/get-node-ancestors/index.js +0 -1
- package/utils/node/is-in-directory/index.d.ts +0 -1
- package/utils/node/is-in-directory/index.js +0 -1
- package/utils/node/list-subpaths/index.d.ts +0 -33
- package/utils/node/list-subpaths/index.js +0 -1
- package/utils/node/process-exit/index.d.ts +0 -5
- package/utils/node/process-exit/index.js +0 -1
- package/utils/node/read-write-file/index.d.ts +0 -12
- package/utils/node/read-write-file/index.js +0 -1
- package/chunks/{chunk-33GNX62K.js → chunk-3BSVGWTK.js} +6 -6
- package/chunks/{chunk-H5HM5EBO.js → chunk-6V6SYSHX.js} +5 -5
- package/chunks/{chunk-6LY5FJXY.js → chunk-OL4JB46K.js} +11 -11
- package/chunks/{chunk-DCKTGQOX.js → chunk-OVG5RGI3.js} +4 -4
- package/chunks/{chunk-2COSSNOE.js → chunk-SAFV7TBT.js} +6 -6
- package/chunks/{chunk-LMF52IW7.js → chunk-XTOAQTLP.js} +4 -4
@@ -0,0 +1,56 @@
|
|
1
|
+
import {
|
2
|
+
remove_file_exports
|
3
|
+
} from "./chunk-JAENHN5Z.js";
|
4
|
+
import {
|
5
|
+
upload_file_exports
|
6
|
+
} from "./chunk-ZUQEHFGL.js";
|
7
|
+
import {
|
8
|
+
stat_file_exports
|
9
|
+
} from "./chunk-YVWQXQTE.js";
|
10
|
+
import {
|
11
|
+
copy_dir_exports
|
12
|
+
} from "./chunk-ZQY2MR66.js";
|
13
|
+
import {
|
14
|
+
download_file_exports
|
15
|
+
} from "./chunk-D7PZ7633.js";
|
16
|
+
import {
|
17
|
+
copy_file_exports
|
18
|
+
} from "./chunk-XNWEMAIP.js";
|
19
|
+
import {
|
20
|
+
exists_file_exports
|
21
|
+
} from "./chunk-UX2O74SG.js";
|
22
|
+
import {
|
23
|
+
list_dir_exports
|
24
|
+
} from "./chunk-RXBMGIPJ.js";
|
25
|
+
import {
|
26
|
+
move_dir_exports
|
27
|
+
} from "./chunk-HX5PHI2P.js";
|
28
|
+
import {
|
29
|
+
remove_dir_exports
|
30
|
+
} from "./chunk-JNQPNZTB.js";
|
31
|
+
import {
|
32
|
+
move_file_exports
|
33
|
+
} from "./chunk-CGITTQIW.js";
|
34
|
+
import {
|
35
|
+
__export
|
36
|
+
} from "./chunk-WSFCRVEQ.js";
|
37
|
+
|
38
|
+
// src/node/cloud-storage/operations/index.ts
|
39
|
+
var operations_exports = {};
|
40
|
+
__export(operations_exports, {
|
41
|
+
CopyDir: () => copy_dir_exports,
|
42
|
+
CopyFile: () => copy_file_exports,
|
43
|
+
DownloadFile: () => download_file_exports,
|
44
|
+
ExistsFile: () => exists_file_exports,
|
45
|
+
ListDir: () => list_dir_exports,
|
46
|
+
MoveDir: () => move_dir_exports,
|
47
|
+
MoveFile: () => move_file_exports,
|
48
|
+
RemoveDir: () => remove_dir_exports,
|
49
|
+
RemoveFile: () => remove_file_exports,
|
50
|
+
StatFile: () => stat_file_exports,
|
51
|
+
UploadFile: () => upload_file_exports
|
52
|
+
});
|
53
|
+
|
54
|
+
export {
|
55
|
+
operations_exports
|
56
|
+
};
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import {
|
2
|
+
createLineBackgroundSchema
|
3
|
+
} from "./chunk-SP7EOGMF.js";
|
4
|
+
import {
|
5
|
+
createTileBackgroundSchema
|
6
|
+
} from "./chunk-QTPSR7ZJ.js";
|
7
|
+
import {
|
8
|
+
positionsSchema
|
9
|
+
} from "./chunk-2V7TLVCV.js";
|
10
|
+
import {
|
11
|
+
colorSchema
|
12
|
+
} from "./chunk-M32C4GP2.js";
|
13
|
+
import {
|
14
|
+
OperationNames
|
15
|
+
} from "./chunk-MOVLLUDL.js";
|
16
|
+
import {
|
17
|
+
zod_default
|
18
|
+
} from "./chunk-OT4SVHDX.js";
|
19
|
+
|
20
|
+
// src/node/images/transform/frame/index.tsx
|
21
|
+
var createBackgroundOptionsSchema = {
|
22
|
+
colorPalette: zod_default.optional(zod_default.object({
|
23
|
+
extract: zod_default.optional(zod_default.object({
|
24
|
+
nbColor: zod_default.number()
|
25
|
+
})),
|
26
|
+
use: zod_default.optional(zod_default.object({
|
27
|
+
RGBColors: zod_default.array(zod_default.tuple([zod_default.number(), zod_default.number(), zod_default.number()]))
|
28
|
+
})),
|
29
|
+
densify: zod_default.optional(zod_default.object({
|
30
|
+
types: zod_default.array(zod_default.enum([
|
31
|
+
"default",
|
32
|
+
"default-lighten",
|
33
|
+
"default-saturate",
|
34
|
+
"complementary",
|
35
|
+
"complementary-lighten",
|
36
|
+
"complementary-saturate"
|
37
|
+
])),
|
38
|
+
ligthenIntensity: zod_default.optional(zod_default.number()),
|
39
|
+
saturateIntensity: zod_default.optional(zod_default.number())
|
40
|
+
})),
|
41
|
+
compose: zod_default.optional(zod_default.object({
|
42
|
+
nbColor: zod_default.optional(zod_default.number()),
|
43
|
+
mix: zod_default.optional(zod_default.boolean())
|
44
|
+
}))
|
45
|
+
}))
|
46
|
+
};
|
47
|
+
var frameSchema = zod_default.object({
|
48
|
+
name: zod_default.literal(OperationNames.Frame),
|
49
|
+
params: zod_default.object({
|
50
|
+
dimensions: zod_default.object({
|
51
|
+
widthPx: zod_default.number().min(0),
|
52
|
+
heightPx: zod_default.number().min(0)
|
53
|
+
}),
|
54
|
+
imageScale: zod_default.object({
|
55
|
+
xRatio: zod_default.optional(zod_default.number().min(0).max(1)),
|
56
|
+
yRatio: zod_default.optional(zod_default.number().min(0).max(1))
|
57
|
+
}).optional(),
|
58
|
+
positions: positionsSchema,
|
59
|
+
background: zod_default.union([
|
60
|
+
colorSchema,
|
61
|
+
createLineBackgroundSchema.extend(createBackgroundOptionsSchema),
|
62
|
+
createTileBackgroundSchema.extend(createBackgroundOptionsSchema)
|
63
|
+
])
|
64
|
+
})
|
65
|
+
});
|
66
|
+
|
67
|
+
export {
|
68
|
+
frameSchema
|
69
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
move_dir_exports
|
3
|
+
} from "./chunk-RWO53U4X.js";
|
4
|
+
import {
|
5
|
+
remove_dir_exports
|
6
|
+
} from "./chunk-5ZJ3KJPK.js";
|
7
|
+
import {
|
8
|
+
copy_dir_exports
|
9
|
+
} from "./chunk-WAHPAZQS.js";
|
10
|
+
import {
|
11
|
+
list_exports
|
12
|
+
} from "./chunk-UK2F7CWI.js";
|
13
|
+
import {
|
14
|
+
__export
|
15
|
+
} from "./chunk-WSFCRVEQ.js";
|
16
|
+
|
17
|
+
// src/node/sftp/directory/index.ts
|
18
|
+
var directory_exports = {};
|
19
|
+
__export(directory_exports, {
|
20
|
+
CopyDir: () => copy_dir_exports,
|
21
|
+
List: () => list_exports,
|
22
|
+
MoveDir: () => move_dir_exports,
|
23
|
+
RemoveDir: () => remove_dir_exports
|
24
|
+
});
|
25
|
+
|
26
|
+
export {
|
27
|
+
directory_exports
|
28
|
+
};
|
@@ -0,0 +1,173 @@
|
|
1
|
+
import {
|
2
|
+
Random
|
3
|
+
} from "./chunk-S32K7POB.js";
|
4
|
+
import {
|
5
|
+
register
|
6
|
+
} from "./chunk-P2H6PV4O.js";
|
7
|
+
|
8
|
+
// src/agnostic/css/styles-set/index.tsx
|
9
|
+
import { Component } from "react";
|
10
|
+
import { createRoot as reactCreateRoot } from "react-dom/client";
|
11
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
12
|
+
var StylesSet = class _StylesSet {
|
13
|
+
static defaultPrivateIDAttribute = "data-styleset-private-id";
|
14
|
+
static defaultPublicIDAttribute = "data-styleset-public-id";
|
15
|
+
tagsPrivateIDAttribute = _StylesSet.defaultPrivateIDAttribute;
|
16
|
+
tagsPublicIDAttribute = _StylesSet.defaultPublicIDAttribute;
|
17
|
+
_items = /* @__PURE__ */ new Map();
|
18
|
+
get items() {
|
19
|
+
const sortedItemsArray = Array.from(this._items).map(([privateId, item]) => {
|
20
|
+
const targetPosition = this.getTargetPosition(privateId) ?? 0;
|
21
|
+
return { targetPosition, privateId, item };
|
22
|
+
}).sort((a, b) => a.targetPosition - b.targetPosition).map(({ item, privateId }) => [privateId, item]);
|
23
|
+
const sortedItemsMap = new Map(sortedItemsArray);
|
24
|
+
return sortedItemsMap;
|
25
|
+
}
|
26
|
+
getTargetPosition(privateId) {
|
27
|
+
const orderedStyles = Array.from(this._items).map(([privateId2, data]) => ({ privateId: privateId2, data })).sort((a, b) => {
|
28
|
+
const aPos = a.data.position ?? 0;
|
29
|
+
const bPos = b.data.position ?? 0;
|
30
|
+
return aPos - bPos;
|
31
|
+
});
|
32
|
+
const foundIndex = orderedStyles.findIndex((item) => item.privateId === privateId);
|
33
|
+
return foundIndex === -1 ? null : foundIndex;
|
34
|
+
}
|
35
|
+
setTagsPrivateIDAttribute(str) {
|
36
|
+
this.tagsPrivateIDAttribute = str;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
setTagsPublicIDAttribute(str) {
|
40
|
+
this.tagsPublicIDAttribute = str;
|
41
|
+
return this;
|
42
|
+
}
|
43
|
+
getById(id) {
|
44
|
+
const found = Array.from(this._items.values()).find((entry) => entry.id === id);
|
45
|
+
if (found === void 0) return void 0;
|
46
|
+
return found;
|
47
|
+
}
|
48
|
+
generateUniquePrivateId() {
|
49
|
+
const existingIds = Array.from(this._items.keys());
|
50
|
+
const generated = Random.randomHash(12);
|
51
|
+
if (existingIds.includes(generated)) return this.generateUniquePrivateId();
|
52
|
+
return generated;
|
53
|
+
}
|
54
|
+
_rendered = /* @__PURE__ */ new Map();
|
55
|
+
render(element) {
|
56
|
+
const root = reactCreateRoot(element);
|
57
|
+
const items = this.items;
|
58
|
+
root.render(/* @__PURE__ */ jsx(
|
59
|
+
StylesSetComp,
|
60
|
+
{
|
61
|
+
items,
|
62
|
+
privateIDAttribute: this.tagsPrivateIDAttribute,
|
63
|
+
publicIDAttribute: this.tagsPublicIDAttribute
|
64
|
+
}
|
65
|
+
));
|
66
|
+
this._rendered.set(element, root);
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
unmount(element) {
|
70
|
+
if (!this._rendered.has(element)) return this;
|
71
|
+
const root = this._rendered.get(element);
|
72
|
+
if (root === void 0) return this;
|
73
|
+
root.unmount();
|
74
|
+
this._rendered.delete(element);
|
75
|
+
return this;
|
76
|
+
}
|
77
|
+
updateRendered() {
|
78
|
+
const { items } = this;
|
79
|
+
this._rendered.forEach((root) => root.render(/* @__PURE__ */ jsx(
|
80
|
+
StylesSetComp,
|
81
|
+
{
|
82
|
+
items,
|
83
|
+
privateIDAttribute: this.tagsPrivateIDAttribute,
|
84
|
+
publicIDAttribute: this.tagsPublicIDAttribute
|
85
|
+
}
|
86
|
+
)));
|
87
|
+
return this;
|
88
|
+
}
|
89
|
+
addItem(item, abortIfIdExists = true) {
|
90
|
+
const existing = Array.from(this._items.entries()).map(([privateId2, entry]) => ({ privateId: privateId2, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === item.id);
|
91
|
+
if (existing !== void 0) {
|
92
|
+
if (abortIfIdExists) return this;
|
93
|
+
this._items.delete(existing.privateId);
|
94
|
+
}
|
95
|
+
const privateId = this.generateUniquePrivateId();
|
96
|
+
this._items.set(privateId, item);
|
97
|
+
this.updateRendered();
|
98
|
+
return this;
|
99
|
+
}
|
100
|
+
removeItem(idOrPosition) {
|
101
|
+
if (typeof idOrPosition === "string") {
|
102
|
+
const existing = Array.from(this._items.entries()).map(([privateId, entry]) => ({ privateId, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === idOrPosition);
|
103
|
+
if (existing === void 0) return this;
|
104
|
+
this._items.delete(existing.privateId);
|
105
|
+
this.updateRendered();
|
106
|
+
return this;
|
107
|
+
}
|
108
|
+
const toRemove = Array.from(this._items).map(([privateId, entry]) => ({ privateId, entry })).at(idOrPosition);
|
109
|
+
if (toRemove === void 0) return this;
|
110
|
+
this._items.delete(toRemove.privateId);
|
111
|
+
this.updateRendered();
|
112
|
+
return this;
|
113
|
+
}
|
114
|
+
async getDomString(documentObj) {
|
115
|
+
const actualDocumentObj = documentObj ?? window.document;
|
116
|
+
if (actualDocumentObj === null) throw register.getError("no-window-document-on-runtime" /* NO_DOCUMENT */);
|
117
|
+
return new Promise((resolve) => {
|
118
|
+
const tempElt = actualDocumentObj.createElement("div");
|
119
|
+
const tempRoot = reactCreateRoot(tempElt);
|
120
|
+
const { items } = this;
|
121
|
+
const onRendered = () => {
|
122
|
+
resolve(tempElt.innerHTML);
|
123
|
+
tempRoot.unmount();
|
124
|
+
tempElt.remove();
|
125
|
+
};
|
126
|
+
tempRoot.render(/* @__PURE__ */ jsx(
|
127
|
+
StylesSetComp,
|
128
|
+
{
|
129
|
+
items,
|
130
|
+
privateIDAttribute: this.tagsPrivateIDAttribute,
|
131
|
+
publicIDAttribute: this.tagsPublicIDAttribute,
|
132
|
+
onRendered
|
133
|
+
}
|
134
|
+
));
|
135
|
+
});
|
136
|
+
}
|
137
|
+
};
|
138
|
+
var StylesSetComp = class extends Component {
|
139
|
+
componentDidMount() {
|
140
|
+
const { props } = this;
|
141
|
+
const { onRendered } = props;
|
142
|
+
if (onRendered !== void 0) onRendered();
|
143
|
+
}
|
144
|
+
componentDidUpdate() {
|
145
|
+
const { props } = this;
|
146
|
+
const { onRendered } = props;
|
147
|
+
if (onRendered !== void 0) onRendered();
|
148
|
+
}
|
149
|
+
render() {
|
150
|
+
const { props } = this;
|
151
|
+
const items = props.items ?? /* @__PURE__ */ new Map();
|
152
|
+
const pidAttr = props.privateIDAttribute ?? StylesSet.defaultPrivateIDAttribute;
|
153
|
+
const idAttr = props.publicIDAttribute ?? StylesSet.defaultPublicIDAttribute;
|
154
|
+
return /* @__PURE__ */ jsx(Fragment, { children: Array.from(items).map(([privateId, itemData]) => {
|
155
|
+
const customAttributes = { [pidAttr]: privateId, [idAttr]: itemData.id };
|
156
|
+
if (itemData.type === "url") return /* @__PURE__ */ jsx(
|
157
|
+
"link",
|
158
|
+
{
|
159
|
+
onLoad: itemData.onLoad,
|
160
|
+
rel: "stylesheet",
|
161
|
+
href: itemData.content,
|
162
|
+
...customAttributes
|
163
|
+
}
|
164
|
+
);
|
165
|
+
return /* @__PURE__ */ jsx("style", { ...customAttributes, children: itemData.content });
|
166
|
+
}) });
|
167
|
+
}
|
168
|
+
};
|
169
|
+
|
170
|
+
export {
|
171
|
+
StylesSet,
|
172
|
+
StylesSetComp
|
173
|
+
};
|
@@ -0,0 +1,177 @@
|
|
1
|
+
import {
|
2
|
+
compose
|
3
|
+
} from "./chunk-AWVQJNGX.js";
|
4
|
+
import {
|
5
|
+
scale
|
6
|
+
} from "./chunk-JRYI4VBX.js";
|
7
|
+
import {
|
8
|
+
frame
|
9
|
+
} from "./chunk-3XRPOHUB.js";
|
10
|
+
import {
|
11
|
+
scaleSchema
|
12
|
+
} from "./chunk-D67AGMZF.js";
|
13
|
+
import {
|
14
|
+
frameSchema
|
15
|
+
} from "./chunk-WS3JRFP7.js";
|
16
|
+
import {
|
17
|
+
lightenSchema
|
18
|
+
} from "./chunk-KUT7FQGS.js";
|
19
|
+
import {
|
20
|
+
hueRotateSchema
|
21
|
+
} from "./chunk-ABQMMHCL.js";
|
22
|
+
import {
|
23
|
+
lineateLevelsSchema
|
24
|
+
} from "./chunk-TSAR3HF6.js";
|
25
|
+
import {
|
26
|
+
modulateSchema
|
27
|
+
} from "./chunk-5BQFHNTR.js";
|
28
|
+
import {
|
29
|
+
normalizeSchema
|
30
|
+
} from "./chunk-4KNB7WYD.js";
|
31
|
+
import {
|
32
|
+
resizeSchema
|
33
|
+
} from "./chunk-BSLVDJVW.js";
|
34
|
+
import {
|
35
|
+
rotateSchema
|
36
|
+
} from "./chunk-NHKKX4F7.js";
|
37
|
+
import {
|
38
|
+
saturateSchema
|
39
|
+
} from "./chunk-YJE3G6BE.js";
|
40
|
+
import {
|
41
|
+
composeSchema
|
42
|
+
} from "./chunk-AW3I75FU.js";
|
43
|
+
import {
|
44
|
+
blurSchema
|
45
|
+
} from "./chunk-NFSRT4ED.js";
|
46
|
+
import {
|
47
|
+
brightenSchema
|
48
|
+
} from "./chunk-JV6I54AC.js";
|
49
|
+
import {
|
50
|
+
extendSchema
|
51
|
+
} from "./chunk-F4GFAM6X.js";
|
52
|
+
import {
|
53
|
+
extractSchema
|
54
|
+
} from "./chunk-LVCQ3CSC.js";
|
55
|
+
import {
|
56
|
+
flattenSchema
|
57
|
+
} from "./chunk-CXUWFKJG.js";
|
58
|
+
import {
|
59
|
+
flopSchema
|
60
|
+
} from "./chunk-B5C6VXNI.js";
|
61
|
+
import {
|
62
|
+
flipSchema
|
63
|
+
} from "./chunk-24MJDYQE.js";
|
64
|
+
import {
|
65
|
+
OperationNames
|
66
|
+
} from "./chunk-MOVLLUDL.js";
|
67
|
+
import {
|
68
|
+
zod_default
|
69
|
+
} from "./chunk-OT4SVHDX.js";
|
70
|
+
import {
|
71
|
+
Outcome
|
72
|
+
} from "./chunk-JMU5PDBD.js";
|
73
|
+
import {
|
74
|
+
unknownToString
|
75
|
+
} from "./chunk-FENXVJYO.js";
|
76
|
+
import {
|
77
|
+
__export
|
78
|
+
} from "./chunk-WSFCRVEQ.js";
|
79
|
+
|
80
|
+
// src/node/images/transform/index.ts
|
81
|
+
var transform_exports = {};
|
82
|
+
__export(transform_exports, {
|
83
|
+
apply: () => apply,
|
84
|
+
isOperation: () => isOperation,
|
85
|
+
transform: () => transform
|
86
|
+
});
|
87
|
+
import sharp from "sharp";
|
88
|
+
var operationSchema = zod_default.union([
|
89
|
+
// areaComposeSchema,
|
90
|
+
blurSchema,
|
91
|
+
brightenSchema,
|
92
|
+
composeSchema,
|
93
|
+
extendSchema,
|
94
|
+
extractSchema,
|
95
|
+
flattenSchema,
|
96
|
+
flipSchema,
|
97
|
+
flopSchema,
|
98
|
+
frameSchema,
|
99
|
+
hueRotateSchema,
|
100
|
+
lightenSchema,
|
101
|
+
lineateLevelsSchema,
|
102
|
+
modulateSchema,
|
103
|
+
normalizeSchema,
|
104
|
+
resizeSchema,
|
105
|
+
rotateSchema,
|
106
|
+
saturateSchema,
|
107
|
+
scaleSchema
|
108
|
+
]);
|
109
|
+
function isOperation(operation) {
|
110
|
+
try {
|
111
|
+
return Outcome.makeSuccess(operationSchema.parse(operation));
|
112
|
+
} catch (err) {
|
113
|
+
return Outcome.makeFailure(unknownToString(err));
|
114
|
+
}
|
115
|
+
}
|
116
|
+
async function transform(imageBuffer, operations, checkValidOperations) {
|
117
|
+
let sharpInstance = sharp(imageBuffer);
|
118
|
+
const needsValidation = checkValidOperations ?? false;
|
119
|
+
for (const operation of operations) {
|
120
|
+
const _isOperation = isOperation(operation);
|
121
|
+
if (!needsValidation || _isOperation.success) {
|
122
|
+
console.log("Images:Transform:Operation:Start", operation.name);
|
123
|
+
sharpInstance = await apply(sharpInstance, operation);
|
124
|
+
console.log("Images:Transform:Operation:Done", operation.name);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
return sharpInstance.toBuffer();
|
128
|
+
}
|
129
|
+
async function apply(sharpInstance, operation) {
|
130
|
+
switch (operation.name) {
|
131
|
+
case OperationNames.Blur:
|
132
|
+
return sharpInstance.blur(operation.params.sigma);
|
133
|
+
case OperationNames.Brighten:
|
134
|
+
return sharpInstance.blur(operation.params);
|
135
|
+
case OperationNames.Compose:
|
136
|
+
return compose(sharpInstance, operation.params);
|
137
|
+
case OperationNames.Extend:
|
138
|
+
return sharpInstance.extend(operation.params);
|
139
|
+
case OperationNames.Extract:
|
140
|
+
return sharpInstance.extract(operation.params);
|
141
|
+
case OperationNames.Flip:
|
142
|
+
return sharpInstance.flip(operation.params.flip);
|
143
|
+
case OperationNames.Flop:
|
144
|
+
return sharpInstance.flop(operation.params.flop);
|
145
|
+
case OperationNames.Frame:
|
146
|
+
return frame(sharpInstance, operation.params);
|
147
|
+
case OperationNames.Flatten:
|
148
|
+
return sharpInstance.flatten(operation.params);
|
149
|
+
case OperationNames.HueRotate:
|
150
|
+
return sharpInstance.modulate({ hue: operation.params });
|
151
|
+
case OperationNames.Lighten:
|
152
|
+
return sharpInstance.modulate({ lightness: operation.params });
|
153
|
+
case OperationNames.LineateLevels:
|
154
|
+
return sharpInstance.linear(operation.params.multiplier, operation.params.offset);
|
155
|
+
case OperationNames.Modulate:
|
156
|
+
return sharpInstance.modulate(operation.params);
|
157
|
+
case OperationNames.Normalize:
|
158
|
+
return sharpInstance.normalize(operation.params);
|
159
|
+
case OperationNames.Resize:
|
160
|
+
return sharpInstance.resize(operation.params);
|
161
|
+
case OperationNames.Rotate:
|
162
|
+
return sharpInstance.rotate(operation.params.angle);
|
163
|
+
case OperationNames.Saturate:
|
164
|
+
return sharpInstance.modulate({ saturation: operation.params });
|
165
|
+
case OperationNames.Scale:
|
166
|
+
return scale(sharpInstance, operation.params);
|
167
|
+
default:
|
168
|
+
return sharpInstance;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
export {
|
173
|
+
isOperation,
|
174
|
+
transform,
|
175
|
+
apply,
|
176
|
+
transform_exports
|
177
|
+
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import {
|
2
|
+
copy as copy4
|
3
|
+
} from "./chunk-CWZFRUBS.js";
|
4
|
+
import {
|
5
|
+
copy as copy3
|
6
|
+
} from "./chunk-C6QTHDDM.js";
|
7
|
+
import {
|
8
|
+
copy
|
9
|
+
} from "./chunk-NMYVJJXV.js";
|
10
|
+
import {
|
11
|
+
copy as copy2
|
12
|
+
} from "./chunk-QH64MYGA.js";
|
13
|
+
import {
|
14
|
+
isFtpClient,
|
15
|
+
isGcsBucket,
|
16
|
+
isS3ClientWithBucket,
|
17
|
+
isSftpClient
|
18
|
+
} from "./chunk-V3GX7SIJ.js";
|
19
|
+
import {
|
20
|
+
Outcome
|
21
|
+
} from "./chunk-JMU5PDBD.js";
|
22
|
+
import {
|
23
|
+
__export
|
24
|
+
} from "./chunk-WSFCRVEQ.js";
|
25
|
+
|
26
|
+
// src/node/cloud-storage/operations/copy-file/index.ts
|
27
|
+
var copy_file_exports = {};
|
28
|
+
__export(copy_file_exports, {
|
29
|
+
copyFile: () => copyFile
|
30
|
+
});
|
31
|
+
async function copyFile(client, sourcePath, targetPath, options) {
|
32
|
+
if (isGcsBucket(client)) return copy4(client, sourcePath, targetPath, options);
|
33
|
+
if (isS3ClientWithBucket(client)) return copy3(client.client, client.bucketName, sourcePath, targetPath, options);
|
34
|
+
if (isFtpClient(client)) return copy(client, sourcePath, targetPath, options);
|
35
|
+
if (isSftpClient(client)) return copy2(client, sourcePath, targetPath, options);
|
36
|
+
return Outcome.makeFailure("Invalid client type");
|
37
|
+
}
|
38
|
+
|
39
|
+
export {
|
40
|
+
copyFile,
|
41
|
+
copy_file_exports
|
42
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
colorSchema
|
3
|
+
} from "./chunk-6FMANHGH.js";
|
4
|
+
import {
|
5
|
+
OperationNames
|
6
|
+
} from "./chunk-MOVLLUDL.js";
|
7
|
+
import {
|
8
|
+
zod_default
|
9
|
+
} from "./chunk-FI675VZO.js";
|
10
|
+
|
11
|
+
// src/node/images/transform/flatten/index.ts
|
12
|
+
var flattenSchema = zod_default.object({
|
13
|
+
name: zod_default.literal(OperationNames.Flatten),
|
14
|
+
params: zod_default.object({
|
15
|
+
background: colorSchema
|
16
|
+
})
|
17
|
+
});
|
18
|
+
|
19
|
+
export {
|
20
|
+
flattenSchema
|
21
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
remove_dir_exports
|
3
|
+
} from "./chunk-BSUQNHAM.js";
|
4
|
+
import {
|
5
|
+
copy_dir_exports
|
6
|
+
} from "./chunk-N2T672IG.js";
|
7
|
+
import {
|
8
|
+
move_dir_exports
|
9
|
+
} from "./chunk-BE7OXZRK.js";
|
10
|
+
import {
|
11
|
+
list_exports
|
12
|
+
} from "./chunk-3CLGBOHN.js";
|
13
|
+
import {
|
14
|
+
__export
|
15
|
+
} from "./chunk-WSFCRVEQ.js";
|
16
|
+
|
17
|
+
// src/node/ftps/directory/index.ts
|
18
|
+
var directory_exports = {};
|
19
|
+
__export(directory_exports, {
|
20
|
+
CopyDir: () => copy_dir_exports,
|
21
|
+
List: () => list_exports,
|
22
|
+
MoveDir: () => move_dir_exports,
|
23
|
+
RemoveDir: () => remove_dir_exports
|
24
|
+
});
|
25
|
+
|
26
|
+
export {
|
27
|
+
directory_exports
|
28
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import {
|
2
|
+
directory_exports
|
3
|
+
} from "./chunk-4OK2UH4M.js";
|
4
|
+
import {
|
5
|
+
file_exports
|
6
|
+
} from "./chunk-TQHR6A2P.js";
|
7
|
+
import {
|
8
|
+
__export
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
10
|
+
|
11
|
+
// src/node/@aws-s3/storage/index.ts
|
12
|
+
var storage_exports = {};
|
13
|
+
__export(storage_exports, {
|
14
|
+
Directory: () => directory_exports,
|
15
|
+
File: () => file_exports
|
16
|
+
});
|
17
|
+
|
18
|
+
export {
|
19
|
+
storage_exports
|
20
|
+
};
|