@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,65 @@
|
|
1
|
+
import {
|
2
|
+
zod_default
|
3
|
+
} from "./chunk-FI675VZO.js";
|
4
|
+
|
5
|
+
// src/node/images/transform/frame/backgrounds/create-tile-background/index.ts
|
6
|
+
var TransitionNames = [
|
7
|
+
"linear",
|
8
|
+
"ease-in-quad",
|
9
|
+
"ease-out-quad",
|
10
|
+
"ease-in-out-quad",
|
11
|
+
"ease-in-cubic",
|
12
|
+
"ease-out-cubic",
|
13
|
+
"ease-in-out-cubic",
|
14
|
+
"ease-in-quart",
|
15
|
+
"ease-out-quart",
|
16
|
+
"ease-in-out-quart",
|
17
|
+
"ease-in-quint",
|
18
|
+
"ease-out-quint",
|
19
|
+
"ease-in-out-quint",
|
20
|
+
"ease-in-sine",
|
21
|
+
"ease-out-sine",
|
22
|
+
"ease-in-out-sine",
|
23
|
+
"ease-in-expo",
|
24
|
+
"ease-out-expo",
|
25
|
+
"ease-in-out-expo",
|
26
|
+
"ease-in-circ",
|
27
|
+
"ease-out-circ",
|
28
|
+
"ease-in-out-circ",
|
29
|
+
"ease-in-back",
|
30
|
+
"ease-out-back",
|
31
|
+
"ease-in-out-back",
|
32
|
+
"ease-in-elastic",
|
33
|
+
"ease-out-elastic",
|
34
|
+
"ease-in-out-elastic",
|
35
|
+
"ease-in-bounce",
|
36
|
+
"ease-out-bounce",
|
37
|
+
"ease-in-out-bounce"
|
38
|
+
];
|
39
|
+
var createTileBackgroundSchema = zod_default.object({
|
40
|
+
type: zod_default.literal("tile"),
|
41
|
+
params: zod_default.object({
|
42
|
+
coverageRatio: zod_default.number(),
|
43
|
+
densityA: zod_default.object({
|
44
|
+
min: zod_default.number(),
|
45
|
+
max: zod_default.number()
|
46
|
+
}),
|
47
|
+
densityB: zod_default.object({
|
48
|
+
min: zod_default.number(),
|
49
|
+
max: zod_default.number()
|
50
|
+
}),
|
51
|
+
format: zod_default.enum([
|
52
|
+
"random",
|
53
|
+
"default",
|
54
|
+
"portrait",
|
55
|
+
"landscape"
|
56
|
+
]),
|
57
|
+
xEasing: zod_default.enum(TransitionNames),
|
58
|
+
yEasing: zod_default.enum(TransitionNames)
|
59
|
+
})
|
60
|
+
});
|
61
|
+
|
62
|
+
export {
|
63
|
+
TransitionNames,
|
64
|
+
createTileBackgroundSchema
|
65
|
+
};
|
@@ -0,0 +1,151 @@
|
|
1
|
+
import {
|
2
|
+
formatImage
|
3
|
+
} from "./chunk-C2MFLI7A.js";
|
4
|
+
import {
|
5
|
+
transform
|
6
|
+
} from "./chunk-7CHYRYXJ.js";
|
7
|
+
import {
|
8
|
+
__export
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
10
|
+
|
11
|
+
// src/node/images/prepare/index.ts
|
12
|
+
var prepare_exports = {};
|
13
|
+
__export(prepare_exports, {
|
14
|
+
MAX_NB_OUTPUTS: () => MAX_NB_OUTPUTS,
|
15
|
+
OUTPUT_ZIP_FOLDER: () => OUTPUT_ZIP_FOLDER,
|
16
|
+
exportZipBuffer: () => exportZipBuffer,
|
17
|
+
prepareImage: () => prepareImage
|
18
|
+
});
|
19
|
+
import sharp from "sharp";
|
20
|
+
import { Writable } from "node:stream";
|
21
|
+
import archiver from "archiver";
|
22
|
+
var MAX_NB_OUTPUTS = 50;
|
23
|
+
var OUTPUT_ZIP_FOLDER = "./output-zips";
|
24
|
+
async function prepareImage(imageBuffer, customOptions) {
|
25
|
+
const sharpImage = sharp(imageBuffer);
|
26
|
+
const sharpImageMetadata = await sharpImage.metadata();
|
27
|
+
const imageBufferMetadata = {
|
28
|
+
width: sharpImageMetadata.width ?? 0,
|
29
|
+
height: sharpImageMetadata.height ?? 0,
|
30
|
+
format: sharpImageMetadata.format || "png"
|
31
|
+
};
|
32
|
+
const options = getOptions(imageBufferMetadata, customOptions);
|
33
|
+
const nbOutputs = options.qualities.length * (options.ratios.length + 1) * (options.widths.length + 1) * (options.heights.length + 1);
|
34
|
+
if (nbOutputs > MAX_NB_OUTPUTS) throw Error("Nb output exceeds supported max nb output");
|
35
|
+
let transformedBuffer = imageBuffer;
|
36
|
+
try {
|
37
|
+
transformedBuffer = await transform(imageBuffer, options.inputOperations, options.checkValidOperations);
|
38
|
+
} catch (e) {
|
39
|
+
console.log("Images:Prepare:Transform:Buffer:Error", { e });
|
40
|
+
}
|
41
|
+
const transformedBufferMetadata = await sharp(transformedBuffer).metadata();
|
42
|
+
const exportsBuffers = [
|
43
|
+
{
|
44
|
+
buffer: imageBuffer,
|
45
|
+
name: generateFileName({
|
46
|
+
...imageBufferMetadata,
|
47
|
+
quality: 100,
|
48
|
+
suffix: "original",
|
49
|
+
prefix: options.name
|
50
|
+
})
|
51
|
+
},
|
52
|
+
{
|
53
|
+
buffer: transformedBuffer,
|
54
|
+
name: generateFileName({
|
55
|
+
width: transformedBufferMetadata.width || 0,
|
56
|
+
height: transformedBufferMetadata.height || 0,
|
57
|
+
format: transformedBufferMetadata.format || "png",
|
58
|
+
quality: 100,
|
59
|
+
suffix: "transformed-unresized",
|
60
|
+
prefix: options.name
|
61
|
+
})
|
62
|
+
}
|
63
|
+
];
|
64
|
+
for (const width of options.widths) {
|
65
|
+
for (const height of options.heights) {
|
66
|
+
for (const quality of options.qualities) {
|
67
|
+
for (const format of options.formats) {
|
68
|
+
const exportBuffer = await formatImage(transformedBuffer, {
|
69
|
+
format,
|
70
|
+
quality,
|
71
|
+
width,
|
72
|
+
height
|
73
|
+
});
|
74
|
+
exportsBuffers.push({
|
75
|
+
buffer: exportBuffer,
|
76
|
+
name: generateFileName({
|
77
|
+
width,
|
78
|
+
height,
|
79
|
+
quality,
|
80
|
+
format,
|
81
|
+
prefix: options.name
|
82
|
+
})
|
83
|
+
});
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
console.log("Images:Transform:Export:ZIP", generateZipName(options.name));
|
89
|
+
const zipBuffer = exportZipBuffer(exportsBuffers, generateZipName(options.name));
|
90
|
+
return zipBuffer;
|
91
|
+
}
|
92
|
+
function exportZipBuffer(zipSources, zipDirectoryName) {
|
93
|
+
return new Promise(async (resolve) => {
|
94
|
+
const archive = archiver("zip", { zlib: { level: 9 } });
|
95
|
+
if (zipDirectoryName) {
|
96
|
+
archive.directory(zipDirectoryName + "/", false);
|
97
|
+
}
|
98
|
+
zipSources.forEach((zipSource) => {
|
99
|
+
const fileName = zipDirectoryName ? `${zipDirectoryName}/${zipSource.name}` : zipSource.name;
|
100
|
+
archive.append(zipSource.buffer, { name: fileName });
|
101
|
+
});
|
102
|
+
const chunks = [];
|
103
|
+
const writable = new Writable();
|
104
|
+
writable._write = (chunk, _enc, callback) => {
|
105
|
+
chunks.push(chunk);
|
106
|
+
callback();
|
107
|
+
};
|
108
|
+
archive.pipe(writable);
|
109
|
+
await archive.finalize();
|
110
|
+
const bufferZip = Buffer.concat(chunks);
|
111
|
+
resolve(bufferZip);
|
112
|
+
});
|
113
|
+
}
|
114
|
+
function getOptions(imageBufferMetadata, options) {
|
115
|
+
return {
|
116
|
+
center: [0.5, 0.5],
|
117
|
+
qualities: [100],
|
118
|
+
inputOperations: [],
|
119
|
+
...options,
|
120
|
+
checkValidOperations: options?.checkValidOperations ?? false,
|
121
|
+
name: options?.name ?? "",
|
122
|
+
formats: [imageBufferMetadata.format, ...options?.formats ? options.formats : []],
|
123
|
+
ratios: [...options?.ratios ? options.ratios : []],
|
124
|
+
widths: [imageBufferMetadata.width, ...options?.widths ? options.widths : []],
|
125
|
+
heights: [imageBufferMetadata.height, ...options?.heights ? options.heights : []]
|
126
|
+
};
|
127
|
+
}
|
128
|
+
function generateZipName(name = "") {
|
129
|
+
const date = /* @__PURE__ */ new Date();
|
130
|
+
return `${name}_image-exports_${date.toLocaleDateString()}_${date.toLocaleTimeString()}_${date.getTime()}`.replace(/\/|:/g, "-").replace(/ /g, "").trim();
|
131
|
+
}
|
132
|
+
function generateFileName({
|
133
|
+
width,
|
134
|
+
height,
|
135
|
+
quality,
|
136
|
+
format,
|
137
|
+
suffix,
|
138
|
+
prefix
|
139
|
+
}) {
|
140
|
+
prefix = prefix ? `${prefix}_` : "image-formats_";
|
141
|
+
suffix = `${suffix ? `_${suffix}` : ""}.${format}`;
|
142
|
+
return `${prefix}${width}x${height}_Q${quality}${suffix}`;
|
143
|
+
}
|
144
|
+
|
145
|
+
export {
|
146
|
+
MAX_NB_OUTPUTS,
|
147
|
+
OUTPUT_ZIP_FOLDER,
|
148
|
+
prepareImage,
|
149
|
+
exportZipBuffer,
|
150
|
+
prepare_exports
|
151
|
+
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import {
|
2
|
+
OperationNames
|
3
|
+
} from "./chunk-MOVLLUDL.js";
|
4
|
+
import {
|
5
|
+
zod_default
|
6
|
+
} from "./chunk-OT4SVHDX.js";
|
7
|
+
|
8
|
+
// src/node/images/transform/saturate/index.ts
|
9
|
+
var saturateSchema = zod_default.object({
|
10
|
+
name: zod_default.literal(OperationNames.Saturate),
|
11
|
+
params: zod_default.number().min(0)
|
12
|
+
});
|
13
|
+
|
14
|
+
export {
|
15
|
+
saturateSchema
|
16
|
+
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import {
|
2
|
+
stat as stat4
|
3
|
+
} from "./chunk-W3RXHN5I.js";
|
4
|
+
import {
|
5
|
+
stat as stat3
|
6
|
+
} from "./chunk-VROZGPC5.js";
|
7
|
+
import {
|
8
|
+
stat
|
9
|
+
} from "./chunk-CNYSX2L2.js";
|
10
|
+
import {
|
11
|
+
stat as stat2
|
12
|
+
} from "./chunk-TGVYEQIA.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/stat-file/index.ts
|
27
|
+
var stat_file_exports = {};
|
28
|
+
__export(stat_file_exports, {
|
29
|
+
statFile: () => statFile
|
30
|
+
});
|
31
|
+
async function statFile(client, path, options) {
|
32
|
+
if (isGcsBucket(client)) return stat4(client, path, options);
|
33
|
+
if (isS3ClientWithBucket(client)) return stat3(client.client, path, client.bucketName, options);
|
34
|
+
if (isFtpClient(client)) return stat(client, path);
|
35
|
+
if (isSftpClient(client)) return stat2(client, path);
|
36
|
+
return Outcome.makeFailure("Invalid client type");
|
37
|
+
}
|
38
|
+
|
39
|
+
export {
|
40
|
+
statFile,
|
41
|
+
stat_file_exports
|
42
|
+
};
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import {
|
2
2
|
nullFunc
|
3
3
|
} from "./chunk-QAVYONH6.js";
|
4
|
-
import {
|
5
|
-
any
|
6
|
-
} from "./chunk-FHLCPVND.js";
|
7
|
-
import {
|
8
|
-
array
|
9
|
-
} from "./chunk-QAQZEKIF.js";
|
10
4
|
import {
|
11
5
|
Serialize
|
12
6
|
} from "./chunk-SXRWMH3U.js";
|
13
7
|
import {
|
14
8
|
Types
|
15
9
|
} from "./chunk-XEQ2PBT2.js";
|
10
|
+
import {
|
11
|
+
any
|
12
|
+
} from "./chunk-FHLCPVND.js";
|
13
|
+
import {
|
14
|
+
array
|
15
|
+
} from "./chunk-QAQZEKIF.js";
|
16
16
|
import {
|
17
17
|
SmartTags
|
18
18
|
} from "./chunk-UT2J62LH.js";
|
@@ -35,15 +35,15 @@ import {
|
|
35
35
|
isRecord
|
36
36
|
} from "./chunk-YDIBNEGA.js";
|
37
37
|
import {
|
38
|
-
|
39
|
-
} from "./chunk-
|
38
|
+
replaceAll
|
39
|
+
} from "./chunk-ZTDVUXPR.js";
|
40
40
|
import {
|
41
41
|
trimEnd,
|
42
42
|
trimStart
|
43
43
|
} from "./chunk-6XL25OZX.js";
|
44
44
|
import {
|
45
|
-
|
46
|
-
} from "./chunk-
|
45
|
+
Outcome
|
46
|
+
} from "./chunk-JMU5PDBD.js";
|
47
47
|
import {
|
48
48
|
Window
|
49
49
|
} from "./chunk-RLJOYG64.js";
|
@@ -92,10 +92,10 @@ var Cast;
|
|
92
92
|
if (input instanceof Text2) return input.cloneNode(true);
|
93
93
|
return document2.createTextNode((0, Cast2.toString)(input));
|
94
94
|
};
|
95
|
-
Cast2.toElement = (input) => {
|
95
|
+
Cast2.toElement = (input, tagName) => {
|
96
96
|
const { Element: Element2, Text: Text2, NodeList, document: document2 } = Window.get();
|
97
97
|
if (input instanceof Element2) return input.cloneNode(true);
|
98
|
-
const returned = document2.createElement("div");
|
98
|
+
const returned = document2.createElement(tagName ?? "div");
|
99
99
|
if (input instanceof Text2) {
|
100
100
|
returned.append(input.cloneNode(true));
|
101
101
|
return returned;
|
@@ -377,11 +377,25 @@ var addclass = SmartTags.makeSmartTag({
|
|
377
377
|
name: "addclass",
|
378
378
|
defaultMode: "coalescion",
|
379
379
|
isolationInitType: "array",
|
380
|
-
mainValueCheck: (m) => Utils.Tree.TypeChecks.typeCheck(m, "element"),
|
380
|
+
mainValueCheck: (m) => Utils.Tree.TypeChecks.typeCheck(m, "element", "nodelist"),
|
381
381
|
argsValueCheck: (a) => Utils.Tree.TypeChecks.typeCheckMany(a, "string", "text"),
|
382
382
|
func: (main, args) => {
|
383
|
-
|
384
|
-
|
383
|
+
const { Element: Element2 } = Window.get();
|
384
|
+
if (main instanceof Element2) {
|
385
|
+
main.classList.add(...args.map((arg) => Cast.toString(arg)));
|
386
|
+
return Outcome.makeSuccess(main);
|
387
|
+
}
|
388
|
+
const children = Array.from(main).map((child) => {
|
389
|
+
if (child instanceof Element2) {
|
390
|
+
child.classList.add(...args.map((arg) => Cast.toString(arg)));
|
391
|
+
return child;
|
392
|
+
}
|
393
|
+
return child;
|
394
|
+
});
|
395
|
+
const frag = document.createDocumentFragment();
|
396
|
+
frag.append(...children);
|
397
|
+
const nodelist2 = frag.childNodes;
|
398
|
+
return Outcome.makeSuccess(nodelist2);
|
385
399
|
}
|
386
400
|
});
|
387
401
|
|
@@ -991,7 +1005,7 @@ var removeattribute = SmartTags.makeSmartTag({
|
|
991
1005
|
mainValueCheck: (m) => {
|
992
1006
|
const { typeCheck, typeCheckMany } = Utils.Tree.TypeChecks;
|
993
1007
|
if (Array.isArray(m)) return typeCheckMany(m, "element");
|
994
|
-
return typeCheck(m, "element");
|
1008
|
+
return typeCheck(m, "element", "nodelist");
|
995
1009
|
},
|
996
1010
|
argsValueCheck: (a) => {
|
997
1011
|
const { makeFailure, makeSuccess } = Outcome;
|
@@ -1004,13 +1018,26 @@ var removeattribute = SmartTags.makeSmartTag({
|
|
1004
1018
|
return checked;
|
1005
1019
|
},
|
1006
1020
|
func: (main, args) => {
|
1007
|
-
const
|
1008
|
-
const
|
1009
|
-
const
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1021
|
+
const argsStr = args.map((e) => Cast.toString(e));
|
1022
|
+
const [name] = argsStr;
|
1023
|
+
const { NodeList } = Window.get();
|
1024
|
+
if (main instanceof NodeList) {
|
1025
|
+
const children = Array.from(main).map((child) => {
|
1026
|
+
const cloned = Utils.clone(child);
|
1027
|
+
if (cloned instanceof Element) cloned.removeAttribute(name);
|
1028
|
+
return cloned;
|
1029
|
+
});
|
1030
|
+
const frag = document.createDocumentFragment();
|
1031
|
+
frag.append(...children);
|
1032
|
+
const nodelist2 = frag.childNodes;
|
1033
|
+
return Outcome.makeSuccess(nodelist2);
|
1034
|
+
} else {
|
1035
|
+
const mainArr = Array.isArray(main) ? main : [main];
|
1036
|
+
const mainArrCloned = mainArr.map((e) => Utils.clone(e));
|
1037
|
+
mainArrCloned.forEach((e) => e.removeAttribute(name));
|
1038
|
+
if (Array.isArray(main)) return Outcome.makeSuccess(mainArrCloned);
|
1039
|
+
return Outcome.makeSuccess(mainArrCloned[0]);
|
1040
|
+
}
|
1014
1041
|
}
|
1015
1042
|
});
|
1016
1043
|
|
@@ -1019,11 +1046,25 @@ var removeclass = SmartTags.makeSmartTag({
|
|
1019
1046
|
name: "removeclass",
|
1020
1047
|
defaultMode: "coalescion",
|
1021
1048
|
isolationInitType: "array",
|
1022
|
-
mainValueCheck: (m) => Utils.Tree.TypeChecks.typeCheck(m, "element"),
|
1049
|
+
mainValueCheck: (m) => Utils.Tree.TypeChecks.typeCheck(m, "element", "nodelist"),
|
1023
1050
|
argsValueCheck: (a) => Utils.Tree.TypeChecks.typeCheckMany(a, "string", "text"),
|
1024
1051
|
func: (main, args) => {
|
1025
|
-
|
1026
|
-
|
1052
|
+
const { Element: Element2 } = Window.get();
|
1053
|
+
if (main instanceof Element2) {
|
1054
|
+
main.classList.remove(...args.map((arg) => Cast.toString(arg)));
|
1055
|
+
return Outcome.makeSuccess(main);
|
1056
|
+
}
|
1057
|
+
const children = Array.from(main).map((child) => {
|
1058
|
+
if (child instanceof Element2) {
|
1059
|
+
child.classList.remove(...args.map((arg) => Cast.toString(arg)));
|
1060
|
+
return child;
|
1061
|
+
}
|
1062
|
+
return child;
|
1063
|
+
});
|
1064
|
+
const frag = document.createDocumentFragment();
|
1065
|
+
frag.append(...children);
|
1066
|
+
const nodelist2 = frag.childNodes;
|
1067
|
+
return Outcome.makeSuccess(nodelist2);
|
1027
1068
|
}
|
1028
1069
|
});
|
1029
1070
|
|
@@ -1164,7 +1205,7 @@ var setattribute = SmartTags.makeSmartTag({
|
|
1164
1205
|
mainValueCheck: (m) => {
|
1165
1206
|
const { typeCheck, typeCheckMany } = Utils.Tree.TypeChecks;
|
1166
1207
|
if (Array.isArray(m)) return typeCheckMany(m, "element");
|
1167
|
-
return typeCheck(m, "element");
|
1208
|
+
return typeCheck(m, "element", "nodelist");
|
1168
1209
|
},
|
1169
1210
|
argsValueCheck: (a) => {
|
1170
1211
|
const { makeFailure, makeSuccess } = Outcome;
|
@@ -1177,13 +1218,26 @@ var setattribute = SmartTags.makeSmartTag({
|
|
1177
1218
|
return checked;
|
1178
1219
|
},
|
1179
1220
|
func: (main, args) => {
|
1180
|
-
const mainArr = Array.isArray(main) ? main : [main];
|
1181
|
-
const mainArrCloned = mainArr.map((e) => Utils.clone(e));
|
1182
1221
|
const argsStr = args.map((e) => Cast.toString(e));
|
1183
1222
|
const [name, value = ""] = argsStr;
|
1184
|
-
|
1185
|
-
if (
|
1186
|
-
|
1223
|
+
const { NodeList } = Window.get();
|
1224
|
+
if (main instanceof NodeList) {
|
1225
|
+
const children = Array.from(main).map((child) => {
|
1226
|
+
const cloned = Utils.clone(child);
|
1227
|
+
if (cloned instanceof Element) cloned.setAttribute(name, value);
|
1228
|
+
return cloned;
|
1229
|
+
});
|
1230
|
+
const frag = document.createDocumentFragment();
|
1231
|
+
frag.append(...children);
|
1232
|
+
const nodelist2 = frag.childNodes;
|
1233
|
+
return Outcome.makeSuccess(nodelist2);
|
1234
|
+
} else {
|
1235
|
+
const mainArr = Array.isArray(main) ? main : [main];
|
1236
|
+
const mainArrCloned = mainArr.map((e) => Utils.clone(e));
|
1237
|
+
mainArrCloned.forEach((e) => e.setAttribute(name, value));
|
1238
|
+
if (Array.isArray(main)) return Outcome.makeSuccess(mainArrCloned);
|
1239
|
+
return Outcome.makeSuccess(mainArrCloned[0]);
|
1240
|
+
}
|
1187
1241
|
}
|
1188
1242
|
});
|
1189
1243
|
|
@@ -1374,8 +1428,13 @@ var toelement = SmartTags.makeSmartTag({
|
|
1374
1428
|
defaultMode: "coalescion",
|
1375
1429
|
isolationInitType: "array",
|
1376
1430
|
mainValueCheck: (m) => Outcome.makeSuccess(m),
|
1377
|
-
argsValueCheck: (a) => Utils.
|
1378
|
-
func: (m) =>
|
1431
|
+
argsValueCheck: (a) => Utils.Tree.TypeChecks.typeCheckManyWithLength(a, 0, 1, "string", "text"),
|
1432
|
+
func: (m, a) => {
|
1433
|
+
const [rawTagName] = a;
|
1434
|
+
const castedTagName = rawTagName !== void 0 ? Cast.toString(rawTagName) : void 0;
|
1435
|
+
const tagName = castedTagName !== "" ? castedTagName : void 0;
|
1436
|
+
return Outcome.makeSuccess(Cast.toElement(m, tagName?.trim().toLowerCase()));
|
1437
|
+
}
|
1379
1438
|
});
|
1380
1439
|
|
1381
1440
|
// src/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.ts
|
@@ -1383,11 +1442,25 @@ var toggleclass = SmartTags.makeSmartTag({
|
|
1383
1442
|
name: "toggleclass",
|
1384
1443
|
defaultMode: "coalescion",
|
1385
1444
|
isolationInitType: "array",
|
1386
|
-
mainValueCheck: (m) => Utils.Tree.TypeChecks.typeCheck(m, "element"),
|
1445
|
+
mainValueCheck: (m) => Utils.Tree.TypeChecks.typeCheck(m, "element", "nodelist"),
|
1387
1446
|
argsValueCheck: (a) => Utils.Tree.TypeChecks.typeCheckMany(a, "string", "text"),
|
1388
1447
|
func: (main, args) => {
|
1389
|
-
|
1390
|
-
|
1448
|
+
const { Element: Element2 } = Window.get();
|
1449
|
+
if (main instanceof Element2) {
|
1450
|
+
args.forEach((arg) => main.classList.toggle(Cast.toString(arg)));
|
1451
|
+
return Outcome.makeSuccess(main);
|
1452
|
+
}
|
1453
|
+
const children = Array.from(main).map((child) => {
|
1454
|
+
if (child instanceof Element2) {
|
1455
|
+
args.forEach((arg) => child.classList.toggle(Cast.toString(arg)));
|
1456
|
+
return child;
|
1457
|
+
}
|
1458
|
+
return child;
|
1459
|
+
});
|
1460
|
+
const frag = document.createDocumentFragment();
|
1461
|
+
frag.append(...children);
|
1462
|
+
const nodelist2 = frag.childNodes;
|
1463
|
+
return Outcome.makeSuccess(nodelist2);
|
1391
1464
|
}
|
1392
1465
|
});
|
1393
1466
|
|
@@ -2255,6 +2328,20 @@ var Utils;
|
|
2255
2328
|
return Outcome.makeSuccess(values);
|
2256
2329
|
}
|
2257
2330
|
TypeChecks2.typeCheckMany = typeCheckMany;
|
2331
|
+
function typeCheckManyWithLength(values, minLength, maxLength, ...types) {
|
2332
|
+
if (minLength !== void 0 && values.length < minLength) return Outcome.makeFailure({
|
2333
|
+
position: values.length + 1,
|
2334
|
+
expected: `min length: ${minLength}`,
|
2335
|
+
found: `length: ${values.length}`
|
2336
|
+
});
|
2337
|
+
if (maxLength !== void 0 && values.length > maxLength) return Outcome.makeFailure({
|
2338
|
+
position: maxLength + 1,
|
2339
|
+
expected: `max length: ${maxLength}`,
|
2340
|
+
found: `length: ${values.length}`
|
2341
|
+
});
|
2342
|
+
return typeCheckMany(values, ...types);
|
2343
|
+
}
|
2344
|
+
TypeChecks2.typeCheckManyWithLength = typeCheckManyWithLength;
|
2258
2345
|
TypeChecks2.isTreeMode = (name) => name === "isolation" || name === "coalescion";
|
2259
2346
|
TypeChecks2.isValueTypeName = (name) => {
|
2260
2347
|
const list = [
|
@@ -1,6 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
require_dist_cjs4 as require_dist_cjs
|
3
|
-
} from "./chunk-IZP4VIFZ.js";
|
4
1
|
import {
|
5
2
|
Outcome
|
6
3
|
} from "./chunk-JMU5PDBD.js";
|
@@ -8,21 +5,22 @@ import {
|
|
8
5
|
unknownToString
|
9
6
|
} from "./chunk-FENXVJYO.js";
|
10
7
|
import {
|
11
|
-
__export
|
12
|
-
|
13
|
-
} from "./chunk-KH45J4DC.js";
|
8
|
+
__export
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
14
10
|
|
15
11
|
// src/node/@aws-s3/storage/file/exists/index.ts
|
16
12
|
var exists_exports = {};
|
17
13
|
__export(exists_exports, {
|
18
14
|
exists: () => exists
|
19
15
|
});
|
20
|
-
|
16
|
+
import {
|
17
|
+
HeadObjectCommand
|
18
|
+
} from "@aws-sdk/client-s3";
|
21
19
|
async function exists(client, bucketName, sourcePath, options) {
|
22
20
|
const { headObjectOptions } = options ?? {};
|
23
21
|
try {
|
24
22
|
await client.send(
|
25
|
-
new
|
23
|
+
new HeadObjectCommand({
|
26
24
|
Bucket: bucketName,
|
27
25
|
Key: sourcePath,
|
28
26
|
...headObjectOptions
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
copy_dir_exports
|
3
|
+
} from "./chunk-4XBUJAQU.js";
|
4
|
+
import {
|
5
|
+
list_exports
|
6
|
+
} from "./chunk-ZSUG52DO.js";
|
7
|
+
import {
|
8
|
+
move_dir_exports
|
9
|
+
} from "./chunk-ON6LC3HE.js";
|
10
|
+
import {
|
11
|
+
remove_dir_exports
|
12
|
+
} from "./chunk-4XSDRT23.js";
|
13
|
+
import {
|
14
|
+
__export
|
15
|
+
} from "./chunk-WSFCRVEQ.js";
|
16
|
+
|
17
|
+
// src/node/@aws-s3/storage/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
|
+
};
|