@design-edito/tools 0.1.60 → 0.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agnostic/arrays/index.js +6 -6
- package/agnostic/arrays/random-pick/index.js +4 -4
- package/agnostic/css/bem/index.js +2 -2
- package/agnostic/css/index.js +11 -11
- package/agnostic/css/styles-set/index.js +4 -4
- package/agnostic/html/hyper-json/cast/index.js +5 -5
- package/agnostic/html/hyper-json/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
- package/agnostic/html/hyper-json/tree/index.js +5 -5
- package/agnostic/html/hyper-json/utils/index.js +5 -5
- package/agnostic/html/index.js +20 -20
- package/agnostic/html/sanitize/index.js +4 -4
- package/agnostic/html/selector-to-element/index.js +4 -4
- package/agnostic/html/string-to-nodes/index.js +5 -5
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/index.js +22 -22
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/numbers/index.js +6 -6
- package/agnostic/objects/index.js +14 -14
- package/agnostic/strings/index.js +6 -6
- package/agnostic/time/index.js +3 -3
- package/chunks/{chunk-5UM7HYXS.js → chunk-2JKV6KXE.js} +1 -1
- package/chunks/{chunk-6A7GLDXD.js → chunk-4HLAM4RP.js} +3 -3
- package/chunks/chunk-BGSJ5XCH.js +20 -0
- package/chunks/{chunk-OOETQRTY.js → chunk-HGQGQLLC.js} +1 -1
- package/chunks/{chunk-UL6OZKRF.js → chunk-ISFXCV7D.js} +2 -2
- package/chunks/chunk-JTJA7DGW.js +36 -0
- package/chunks/{chunk-344X5RHV.js → chunk-MZKZI6JL.js} +1 -1
- package/chunks/{chunk-5KEIMXTB.js → chunk-PDHAMES3.js} +1 -1
- package/chunks/{chunk-ITECXQUB.js → chunk-QPT6R6CL.js} +6 -6
- package/chunks/{chunk-EHOZ6VCE.js → chunk-R7J7Q2UL.js} +4 -4
- package/chunks/chunk-REZC75LB.js +55 -0
- package/chunks/{chunk-BX6M7WBE.js → chunk-V4KSJHTU.js} +1 -1
- package/chunks/{chunk-XC2YGMNJ.js → chunk-YVEMIEOT.js} +1 -1
- package/node/@aws-s3/index.js +3 -3
- package/node/@aws-s3/storage/file/index.js +4 -4
- package/node/@aws-s3/storage/index.js +3 -3
- package/node/@design-edito/index.js +3 -3
- package/node/@design-edito/thumbnails/index.js +7 -7
- package/node/@design-edito/thumbnails/layout/index.js +2 -2
- package/node/@google-cloud/index.js +7 -7
- package/node/@google-cloud/storage/file/index.js +12 -12
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +7 -7
- package/node/cloud-storage/index.js +9 -9
- package/node/cloud-storage/operations/download/index.js +2 -2
- package/node/cloud-storage/operations/index.js +10 -10
- package/node/cloud-storage/operations/upload/index.js +2 -2
- package/node/encryption/@aes-256-gcm/buffer/index.d.ts +20 -0
- package/node/encryption/@aes-256-gcm/buffer/index.js +12 -0
- package/node/encryption/@aes-256-gcm/index.d.ts +3 -0
- package/node/encryption/@aes-256-gcm/index.js +14 -0
- package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +21 -0
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +11 -0
- package/node/encryption/index.d.ts +2 -3
- package/node/encryption/index.js +6 -8
- package/node/files/index.js +3 -3
- package/node/ftps/file/index.js +4 -4
- package/node/ftps/index.js +2 -2
- package/node/images/index.js +8 -8
- package/node/images/prepare/index.js +6 -6
- package/node/images/transform/area-composition/index.js +4 -4
- package/node/images/transform/index.js +5 -5
- package/node/sftp/file/index.js +4 -4
- package/node/sftp/index.js +2 -2
- package/package.json +5 -5
- 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/html/hyper-json/transformers/append/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/append/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/classList/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/classList/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/index.d.ts +0 -4
- package/agnostic/html/hyper-json/transformers/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/join/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/join/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/length/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/length/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/print/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/print/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/push/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/push/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/querySelector/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/querySelector/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/ref/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/ref/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/replace/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/replace/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/split/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/split/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toArray/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toArray/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toBoolean/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toBoolean/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toElement/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toElement/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toNodeList/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toNodeList/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toNull/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toNull/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toNumber/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toNumber/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toRecord/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toRecord/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toRef/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toRef/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toString/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toString/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toText/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toText/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/toTransformer/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/toTransformer/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/transformSelected/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/transformSelected/index.js +0 -16
- package/agnostic/html/hyper-json/transformers/trim/index.d.ts +0 -2
- package/agnostic/html/hyper-json/transformers/trim/index.js +0 -16
- package/agnostic/objects/record-filter/index.d.ts +0 -1
- package/agnostic/objects/record-filter/index.js +0 -6
- package/chunks/chunk-22Q6VKLR.js +0 -2369
- package/chunks/chunk-27HRTQ7Z.js +0 -20
- package/chunks/chunk-2G5MFJ66.js +0 -2420
- package/chunks/chunk-2HU2AWWJ.js +0 -35
- package/chunks/chunk-2IV3O7FX.js +0 -27
- package/chunks/chunk-2KCKWG7R.js +0 -104
- package/chunks/chunk-2KT7AKRW.js +0 -17
- package/chunks/chunk-2U2J4P3O.js +0 -31
- package/chunks/chunk-2UJYUMTT.js +0 -37
- package/chunks/chunk-35W7XRC3.js +0 -173
- package/chunks/chunk-365LSZZ7.js +0 -37
- package/chunks/chunk-36CTYZYA.js +0 -28
- package/chunks/chunk-3C3MXKEW.js +0 -31
- package/chunks/chunk-3GTGE66Y.js +0 -32
- package/chunks/chunk-3N2LP2TN.js +0 -191
- package/chunks/chunk-3OMANUYH.js +0 -211
- package/chunks/chunk-3SSUHWUD.js +0 -56
- package/chunks/chunk-3TX6SJRO.js +0 -31
- package/chunks/chunk-3UAAYFXA.js +0 -56
- package/chunks/chunk-42ZKFWKF.js +0 -2369
- package/chunks/chunk-44XPTCIO.js +0 -49
- package/chunks/chunk-4EFX53Y4.js +0 -31
- package/chunks/chunk-4FOK7DUZ.js +0 -35
- package/chunks/chunk-4HPUOADZ.js +0 -37
- package/chunks/chunk-4LCL2RIC.js +0 -209
- package/chunks/chunk-4OH2EX3D.js +0 -191
- package/chunks/chunk-4WOAFIVN.js +0 -31
- package/chunks/chunk-4WOYAD35.js +0 -31
- package/chunks/chunk-53MBV4TG.js +0 -6212
- package/chunks/chunk-55MT7BMY.js +0 -16
- package/chunks/chunk-57RPA6DU.js +0 -56
- package/chunks/chunk-57YCNOX7.js +0 -15
- package/chunks/chunk-5CYZ66VE.js +0 -31
- package/chunks/chunk-5E7N4BDI.js +0 -186
- package/chunks/chunk-5GI5G45R.js +0 -27
- package/chunks/chunk-5HWYTIYR.js +0 -211
- package/chunks/chunk-5JMTDJWX.js +0 -37
- package/chunks/chunk-5P7LHIDR.js +0 -37
- package/chunks/chunk-5QVKJGTN.js +0 -95
- package/chunks/chunk-5RSHXPTG.js +0 -21
- package/chunks/chunk-5VHXL242.js +0 -37
- package/chunks/chunk-5ZTW4PHE.js +0 -173
- package/chunks/chunk-64SYLWJ7.js +0 -37
- package/chunks/chunk-65YZMVWZ.js +0 -35
- package/chunks/chunk-66X6D4HF.js +0 -191
- package/chunks/chunk-6DA4S65P.js +0 -37
- package/chunks/chunk-6FRKSLBC.js +0 -2369
- package/chunks/chunk-6GZXU2Z3.js +0 -191
- package/chunks/chunk-6JRUZYTL.js +0 -211
- package/chunks/chunk-6KWNKTNI.js +0 -173
- package/chunks/chunk-6PNTQUTX.js +0 -20
- package/chunks/chunk-6Z6GDMOR.js +0 -28
- package/chunks/chunk-72NLUT3X.js +0 -29
- package/chunks/chunk-72U4TDEB.js +0 -127
- package/chunks/chunk-75DDEILC.js +0 -191
- package/chunks/chunk-7DNQ6RM2.js +0 -211
- package/chunks/chunk-7ICUR6QY.js +0 -31
- package/chunks/chunk-7K2EL46G.js +0 -2391
- package/chunks/chunk-7KHJKCA7.js +0 -2369
- package/chunks/chunk-7NO34XJI.js +0 -26
- package/chunks/chunk-7QIYI4CK.js +0 -209
- package/chunks/chunk-7VL2O6SQ.js +0 -211
- package/chunks/chunk-7VTVA56L.js +0 -37
- package/chunks/chunk-7W5LABV2.js +0 -37
- package/chunks/chunk-7YW5HL6N.js +0 -168
- package/chunks/chunk-A4FSJC46.js +0 -58
- package/chunks/chunk-AF2MI5O5.js +0 -29
- package/chunks/chunk-AM26FWT6.js +0 -31
- package/chunks/chunk-APRHU5KY.js +0 -31
- package/chunks/chunk-ARDAQZRR.js +0 -239
- package/chunks/chunk-AXMMBQRD.js +0 -191
- package/chunks/chunk-B446JIN3.js +0 -29
- package/chunks/chunk-BLAAWANI.js +0 -191
- package/chunks/chunk-BNNAZPI2.js +0 -191
- package/chunks/chunk-BPOJYE4X.js +0 -1108
- package/chunks/chunk-BQV4DOSE.js +0 -1108
- package/chunks/chunk-BV67SWXG.js +0 -20
- package/chunks/chunk-BVCWBTHQ.js +0 -35
- package/chunks/chunk-BW3XNPCJ.js +0 -191
- package/chunks/chunk-C2VF2MJV.js +0 -60
- package/chunks/chunk-C5753KUP.js +0 -127
- package/chunks/chunk-C5CIYEMD.js +0 -191
- package/chunks/chunk-C7SRAQMW.js +0 -29
- package/chunks/chunk-CAMYGA44.js +0 -22
- package/chunks/chunk-CB52KVOZ.js +0 -22
- package/chunks/chunk-CHUOCTRP.js +0 -26
- package/chunks/chunk-CIJQHLIW.js +0 -31
- package/chunks/chunk-CK73EBO5.js +0 -35
- package/chunks/chunk-CMKKX7WQ.js +0 -56
- package/chunks/chunk-CNPV4DFI.js +0 -20
- package/chunks/chunk-COLNKMBN.js +0 -35
- package/chunks/chunk-CQ3R7BEH.js +0 -173
- package/chunks/chunk-CQEDNACN.js +0 -28
- package/chunks/chunk-CRGU2EHQ.js +0 -31
- package/chunks/chunk-CRGUZBZX.js +0 -37
- package/chunks/chunk-CRZMH2K5.js +0 -2369
- package/chunks/chunk-CSYW7AAI.js +0 -191
- package/chunks/chunk-CWRRSS4V.js +0 -27
- package/chunks/chunk-D2JMITOU.js +0 -37
- package/chunks/chunk-D2NTUAFE.js +0 -4284
- package/chunks/chunk-D2V6SYYA.js +0 -191
- package/chunks/chunk-D5E2CIDK.js +0 -20
- package/chunks/chunk-D6VWX3D6.js +0 -186
- package/chunks/chunk-DCKTGQOX.js +0 -29
- package/chunks/chunk-DCSNQUVT.js +0 -56
- package/chunks/chunk-DHMARF6D.js +0 -62
- package/chunks/chunk-DHWHB53F.js +0 -191
- package/chunks/chunk-DLGA4UD5.js +0 -37
- package/chunks/chunk-DLSXW4NB.js +0 -2369
- package/chunks/chunk-DMR2WE3C.js +0 -62
- package/chunks/chunk-DZME4OQW.js +0 -2369
- package/chunks/chunk-E4FJHD5R.js +0 -67
- package/chunks/chunk-ECKOTCS4.js +0 -2369
- package/chunks/chunk-EEIJDUNV.js +0 -209
- package/chunks/chunk-EHVYR4OU.js +0 -56
- package/chunks/chunk-EI6W5HLB.js +0 -56
- package/chunks/chunk-EJEG2LDE.js +0 -2427
- package/chunks/chunk-ERAFJXWH.js +0 -20
- package/chunks/chunk-EUY4OBBI.js +0 -100
- package/chunks/chunk-EVOTJ7SU.js +0 -35
- package/chunks/chunk-EWM3VOPO.js +0 -191
- package/chunks/chunk-EX7FS6IR.js +0 -28
- package/chunks/chunk-F5DWWSOB.js +0 -31
- package/chunks/chunk-F5GXXF3A.js +0 -31
- package/chunks/chunk-FCU6IHKD.js +0 -15
- package/chunks/chunk-FDPPGRBY.js +0 -211
- package/chunks/chunk-FEFY3V6P.js +0 -31
- package/chunks/chunk-FG53JEP2.js +0 -31
- package/chunks/chunk-FHEUGVMU.js +0 -37
- package/chunks/chunk-FJTOFK3C.js +0 -203
- package/chunks/chunk-FOLCH72D.js +0 -211
- package/chunks/chunk-FONURDTX.js +0 -211
- package/chunks/chunk-FQD3VK47.js +0 -37
- package/chunks/chunk-FTIDPZZ5.js +0 -209
- package/chunks/chunk-FWZSMFVA.js +0 -211
- package/chunks/chunk-GARJTJ6V.js +0 -6
- package/chunks/chunk-GB4UQS6V.js +0 -35
- package/chunks/chunk-GBMHGF7P.js +0 -20
- package/chunks/chunk-GDFWDU4Q.js +0 -2369
- package/chunks/chunk-GGT2PUZH.js +0 -21
- package/chunks/chunk-GKG3UQH3.js +0 -191
- package/chunks/chunk-GL54CDM2.js +0 -20
- package/chunks/chunk-GNZY3ZTH.js +0 -14
- package/chunks/chunk-GP44TBRI.js +0 -39
- package/chunks/chunk-GPWFYPER.js +0 -211
- package/chunks/chunk-GQMFBT5T.js +0 -191
- package/chunks/chunk-GWXVHCAB.js +0 -31
- package/chunks/chunk-H7WUTMKQ.js +0 -31
- package/chunks/chunk-HDNYKGJM.js +0 -31
- package/chunks/chunk-HE6F5XJQ.js +0 -20
- package/chunks/chunk-HNB6B4FO.js +0 -37
- package/chunks/chunk-HP3OH2K7.js +0 -27
- package/chunks/chunk-HP722G2E.js +0 -211
- package/chunks/chunk-HQACEDCF.js +0 -37
- package/chunks/chunk-HTNLTDQT.js +0 -28
- package/chunks/chunk-I2ILSLBK.js +0 -32
- package/chunks/chunk-I4EBRCSJ.js +0 -20
- package/chunks/chunk-I66DPQN2.js +0 -31
- package/chunks/chunk-IECKIGM7.js +0 -2391
- package/chunks/chunk-IGHRNHVK.js +0 -16
- package/chunks/chunk-IJ7SOXLA.js +0 -107
- package/chunks/chunk-ILG6VQTL.js +0 -100
- package/chunks/chunk-IMR3ZNXR.js +0 -211
- package/chunks/chunk-IMZIWMCE.js +0 -191
- package/chunks/chunk-IOWZMFCU.js +0 -28
- package/chunks/chunk-IPON4W2H.js +0 -31
- package/chunks/chunk-ISAIFQAY.js +0 -100
- package/chunks/chunk-IUFAHY2R.js +0 -38
- package/chunks/chunk-IYHWMMQE.js +0 -37
- package/chunks/chunk-JBSS64SA.js +0 -6
- package/chunks/chunk-JJ5ME3A2.js +0 -191
- package/chunks/chunk-JJK5733Z.js +0 -211
- package/chunks/chunk-JKWNIKHN.js +0 -37
- package/chunks/chunk-JNXO4QEM.js +0 -56
- package/chunks/chunk-JRXEHYIE.js +0 -37
- package/chunks/chunk-JRXTMXKV.js +0 -15967
- package/chunks/chunk-JSYVAPV6.js +0 -6
- package/chunks/chunk-JUIKU4XP.js +0 -191
- package/chunks/chunk-JWF5EKM2.js +0 -127
- package/chunks/chunk-JWKI6G6E.js +0 -102
- package/chunks/chunk-JYW5L62E.js +0 -211
- package/chunks/chunk-KB4BPJBE.js +0 -2369
- package/chunks/chunk-KD627A47.js +0 -191
- package/chunks/chunk-KEYRP27F.js +0 -191
- package/chunks/chunk-KFW3ORPQ.js +0 -20
- package/chunks/chunk-KQZK54ZT.js +0 -2369
- package/chunks/chunk-KTB7NX4Q.js +0 -56
- package/chunks/chunk-KUIQRVIC.js +0 -100
- package/chunks/chunk-KYMCGWPM.js +0 -31
- package/chunks/chunk-L2L27BLX.js +0 -56
- package/chunks/chunk-L5JWJRZ7.js +0 -484
- package/chunks/chunk-LAA2DQDK.js +0 -31
- package/chunks/chunk-LATEK24U.js +0 -31
- package/chunks/chunk-LDLSU4OG.js +0 -191
- package/chunks/chunk-LLGU4W6F.js +0 -37
- package/chunks/chunk-LLSKBXT7.js +0 -14
- package/chunks/chunk-LOFELEU3.js +0 -1108
- package/chunks/chunk-LVXK54LL.js +0 -27
- package/chunks/chunk-LWWXPVXY.js +0 -25173
- package/chunks/chunk-LXPG32TV.js +0 -31
- package/chunks/chunk-M6WWIEQJ.js +0 -37
- package/chunks/chunk-M737IMZM.js +0 -37
- package/chunks/chunk-M7YNPJYY.js +0 -173
- package/chunks/chunk-MAP7OSVR.js +0 -37
- package/chunks/chunk-MBWRDYGE.js +0 -191
- package/chunks/chunk-MC5RLVK5.js +0 -4284
- package/chunks/chunk-MF56TTC5.js +0 -15
- package/chunks/chunk-MMNQZ2IM.js +0 -20
- package/chunks/chunk-MMPJODO2.js +0 -31
- package/chunks/chunk-MOA6JFUQ.js +0 -2369
- package/chunks/chunk-MQPY7A3O.js +0 -211
- package/chunks/chunk-MTT7TVR3.js +0 -127
- package/chunks/chunk-MUYZV5F3.js +0 -2369
- package/chunks/chunk-MUZGZ3ZF.js +0 -50
- package/chunks/chunk-MV7CCO4Y.js +0 -4430
- package/chunks/chunk-MW3KNVTG.js +0 -29
- package/chunks/chunk-MY4VMHSH.js +0 -191
- package/chunks/chunk-MZ2RAM5Y.js +0 -62
- package/chunks/chunk-MZSIKE3H.js +0 -211
- package/chunks/chunk-N2AOS7WW.js +0 -20
- package/chunks/chunk-N37FT2RW.js +0 -2391
- package/chunks/chunk-N4BZJOGW.js +0 -56
- package/chunks/chunk-N4LMP4UM.js +0 -31
- package/chunks/chunk-NGYJGQT3.js +0 -25002
- package/chunks/chunk-NHQVXC4Y.js +0 -2391
- package/chunks/chunk-NIOOIUSD.js +0 -104
- package/chunks/chunk-NLHFSJYR.js +0 -15
- package/chunks/chunk-NQ5ESZNO.js +0 -191
- package/chunks/chunk-NRRDPNOH.js +0 -100
- package/chunks/chunk-NWFX6TEY.js +0 -28
- package/chunks/chunk-O2WG3EMN.js +0 -2369
- package/chunks/chunk-O6NULFZI.js +0 -37
- package/chunks/chunk-OAQG5VAW.js +0 -211
- package/chunks/chunk-OJI6SN6F.js +0 -31
- package/chunks/chunk-OJXN5JW7.js +0 -37
- package/chunks/chunk-OVMNSJOW.js +0 -6
- package/chunks/chunk-P2H6PV4O.js +0 -26
- package/chunks/chunk-PEEPNNRS.js +0 -173
- package/chunks/chunk-PEOXR2Q6.js +0 -191
- package/chunks/chunk-PIIE3634.js +0 -37
- package/chunks/chunk-PJDZMLNG.js +0 -127
- package/chunks/chunk-PM7FWQYD.js +0 -20
- package/chunks/chunk-PMYUC6VD.js +0 -37
- package/chunks/chunk-PPHUIOHO.js +0 -28
- package/chunks/chunk-PPK2JEO6.js +0 -28
- package/chunks/chunk-PVHLWKA6.js +0 -31
- package/chunks/chunk-PYVUC6EN.js +0 -191
- package/chunks/chunk-Q7HA7IAA.js +0 -20
- package/chunks/chunk-QAJYFNPZ.js +0 -211
- package/chunks/chunk-QHGZBCFZ.js +0 -1108
- package/chunks/chunk-QI67BXO6.js +0 -2370
- package/chunks/chunk-QIXAGMCI.js +0 -211
- package/chunks/chunk-QLJBBAQ5.js +0 -37
- package/chunks/chunk-QMWX2A56.js +0 -56
- package/chunks/chunk-QN3UAKIU.js +0 -21
- package/chunks/chunk-QPBY235R.js +0 -239
- package/chunks/chunk-QTTNO4T6.js +0 -37
- package/chunks/chunk-QUWGF5WZ.js +0 -191
- package/chunks/chunk-QZPBUDX2.js +0 -20
- package/chunks/chunk-R23B2MRN.js +0 -2405
- package/chunks/chunk-R57V5HA7.js +0 -211
- package/chunks/chunk-RDQJSWRC.js +0 -127
- package/chunks/chunk-REBANVPP.js +0 -104
- package/chunks/chunk-RHV7UOXD.js +0 -211
- package/chunks/chunk-RI37ZSKY.js +0 -2369
- package/chunks/chunk-ROJZUEYL.js +0 -37
- package/chunks/chunk-RORBHBEN.js +0 -20
- package/chunks/chunk-RRSHCFEP.js +0 -191
- package/chunks/chunk-RSMUYH5H.js +0 -31
- package/chunks/chunk-RTFKMYT7.js +0 -2369
- package/chunks/chunk-RVVJ4QD4.js +0 -173
- package/chunks/chunk-RWWYR54P.js +0 -31
- package/chunks/chunk-RX3BKRJU.js +0 -2407
- package/chunks/chunk-S7MJLTCR.js +0 -211
- package/chunks/chunk-SA2IY5LN.js +0 -35
- package/chunks/chunk-SBAY4ZKE.js +0 -211
- package/chunks/chunk-SEB7TFUB.js +0 -20
- package/chunks/chunk-SFYYQPAK.js +0 -37
- package/chunks/chunk-SJLH36CH.js +0 -26
- package/chunks/chunk-SJQNLCGS.js +0 -173
- package/chunks/chunk-SOAU5CRO.js +0 -56
- package/chunks/chunk-SPMF4X5X.js +0 -31
- package/chunks/chunk-SR2YFPJZ.js +0 -2419
- package/chunks/chunk-SYD5FZEO.js +0 -20
- package/chunks/chunk-T5C73QJF.js +0 -56
- package/chunks/chunk-TAVCC26N.js +0 -37
- package/chunks/chunk-TEB7KZWB.js +0 -21
- package/chunks/chunk-TL3JMADI.js +0 -2391
- package/chunks/chunk-TLTLM47Y.js +0 -27
- package/chunks/chunk-TOZXS7ZY.js +0 -2369
- package/chunks/chunk-TSQVG7GA.js +0 -31
- package/chunks/chunk-TXOUGP37.js +0 -62
- package/chunks/chunk-TYJOCMG7.js +0 -37
- package/chunks/chunk-U32YPAPW.js +0 -2369
- package/chunks/chunk-U6W7BPH4.js +0 -2369
- package/chunks/chunk-U6YRINXJ.js +0 -22
- package/chunks/chunk-UBFLFJMH.js +0 -37
- package/chunks/chunk-UDY37VIJ.js +0 -22
- package/chunks/chunk-UFKH5WD2.js +0 -21
- package/chunks/chunk-UG36UPJK.js +0 -31
- package/chunks/chunk-UHH75BZP.js +0 -56
- package/chunks/chunk-UMJX4S4M.js +0 -56
- package/chunks/chunk-UODICVLG.js +0 -173
- package/chunks/chunk-UT75PSLP.js +0 -20
- package/chunks/chunk-UXM54YBI.js +0 -68
- package/chunks/chunk-VDNIN3V5.js +0 -23
- package/chunks/chunk-VEKKX6Z5.js +0 -173
- package/chunks/chunk-VH4FK3TX.js +0 -31
- package/chunks/chunk-VHCD3Z4T.js +0 -20
- package/chunks/chunk-VHFMQI7Z.js +0 -20
- package/chunks/chunk-VKURVIRV.js +0 -28
- package/chunks/chunk-VLHSIIPO.js +0 -20
- package/chunks/chunk-VP3Y6EMX.js +0 -190
- package/chunks/chunk-VQEP2EQF.js +0 -100
- package/chunks/chunk-VV35APGM.js +0 -2369
- package/chunks/chunk-VV72XGJJ.js +0 -58
- package/chunks/chunk-VXSOUAUT.js +0 -100
- package/chunks/chunk-VZQ4WCBH.js +0 -2391
- package/chunks/chunk-W4OFHYWN.js +0 -1108
- package/chunks/chunk-W6BFU7Y5.js +0 -56
- package/chunks/chunk-W7YBGJ4H.js +0 -28
- package/chunks/chunk-WABWQCFE.js +0 -127
- package/chunks/chunk-WC2LQPQP.js +0 -26
- package/chunks/chunk-WDWDHE7I.js +0 -31
- package/chunks/chunk-WFED6NDN.js +0 -28
- package/chunks/chunk-WJMBLQRX.js +0 -29
- package/chunks/chunk-WKW34B3A.js +0 -2369
- package/chunks/chunk-WLHJM76F.js +0 -2369
- package/chunks/chunk-WNLP6R5Y.js +0 -191
- package/chunks/chunk-WO2R3QFK.js +0 -20
- package/chunks/chunk-WP7L5ZFP.js +0 -173
- package/chunks/chunk-WTAMA5WX.js +0 -37
- package/chunks/chunk-WTPUSGMJ.js +0 -104
- package/chunks/chunk-WXXW6YLW.js +0 -127
- package/chunks/chunk-WYY3N6PO.js +0 -2369
- package/chunks/chunk-WZC2HZ5W.js +0 -27
- package/chunks/chunk-X4XXZ44B.js +0 -37
- package/chunks/chunk-X5HMM3LD.js +0 -35
- package/chunks/chunk-XCBH6NLF.js +0 -42
- package/chunks/chunk-XDYRPW7Q.js +0 -37
- package/chunks/chunk-XDZD6C76.js +0 -37
- package/chunks/chunk-XETVQW6S.js +0 -56
- package/chunks/chunk-XGOWRHVM.js +0 -37
- package/chunks/chunk-XH6TZMNR.js +0 -211
- package/chunks/chunk-XI2XIH6L.js +0 -2391
- package/chunks/chunk-XK2PI5WI.js +0 -31
- package/chunks/chunk-XL7AQDAE.js +0 -31
- package/chunks/chunk-XPRBKRSB.js +0 -37
- package/chunks/chunk-XRUSQWPJ.js +0 -173
- package/chunks/chunk-XSOBXDGQ.js +0 -191
- package/chunks/chunk-XT6XKGKK.js +0 -20
- package/chunks/chunk-XWLQR4UY.js +0 -25
- package/chunks/chunk-XWU7O5KD.js +0 -211
- package/chunks/chunk-XXDQWJP3.js +0 -56
- package/chunks/chunk-YBYXIDGC.js +0 -20
- package/chunks/chunk-YCZQAM7E.js +0 -2407
- package/chunks/chunk-YDNQHZRS.js +0 -31
- package/chunks/chunk-YGJHHWBJ.js +0 -37
- package/chunks/chunk-YHT73ULP.js +0 -2369
- package/chunks/chunk-YKECGAIJ.js +0 -37
- package/chunks/chunk-YMNBUQVR.js +0 -2420
- package/chunks/chunk-YO5KOEJF.js +0 -27
- package/chunks/chunk-YRKWVEWA.js +0 -20
- package/chunks/chunk-YRSNU7IX.js +0 -49
- package/chunks/chunk-YTS4JME6.js +0 -2369
- package/chunks/chunk-YVHJ7TUJ.js +0 -211
- package/chunks/chunk-YVSS4IT2.js +0 -37
- package/chunks/chunk-YYE7TVB6.js +0 -2420
- package/chunks/chunk-YYYRFMNZ.js +0 -191
- package/chunks/chunk-YZDZQ7AZ.js +0 -37
- package/chunks/chunk-Z352MSRL.js +0 -127
- package/chunks/chunk-Z4SQDCFG.js +0 -37
- package/chunks/chunk-ZCPGE7H7.js +0 -64
- package/chunks/chunk-ZGYU6F7Q.js +0 -13
- package/chunks/chunk-ZLQUBC5B.js +0 -31
- package/chunks/chunk-ZNPRJEP5.js +0 -28
- package/chunks/chunk-ZS5OHINP.js +0 -31
- package/index.d.ts +0 -3
- package/node/encryption/buffer/index.d.ts +0 -56
- package/node/encryption/buffer/index.js +0 -16
- package/node/encryption/generate-key/index.d.ts +0 -16
- package/node/encryption/generate-key/index.js +0 -7
- package/node/encryption/uint8-array/index.d.ts +0 -57
- package/node/encryption/uint8-array/index.js +0 -15
- package/chunks/{chunk-3DJI3JTM.js → chunk-3CQON3DO.js} +9 -9
- package/chunks/{chunk-OPO25SDO.js → chunk-DW4ILX77.js} +3 -3
- package/chunks/{chunk-VKNWPV5T.js → chunk-FIVB3FON.js} +3 -3
- package/chunks/{chunk-EFLJJ5VF.js → chunk-FVFYLT5T.js} +6 -6
- package/chunks/{chunk-222367I5.js → chunk-HZGGYNZ5.js} +9 -9
- package/chunks/{chunk-GBBM5DLR.js → chunk-JSKVNOTW.js} +3 -3
- package/chunks/{chunk-AE6L2HYA.js → chunk-K4Q2MG65.js} +3 -3
- package/chunks/{chunk-EZFHN4ST.js → chunk-KTK3BMX2.js} +11 -11
- package/chunks/{chunk-EIU72AEZ.js → chunk-VWLJ5IEE.js} +7 -7
- package/chunks/{chunk-HQGZVWBB.js → chunk-XAZT2MME.js} +5 -5
package/chunks/chunk-2HU2AWWJ.js
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
register
|
3
|
-
} from "./chunk-WC2LQPQP.js";
|
4
|
-
|
5
|
-
// src/agnostic/html/selector-to-element/index.ts
|
6
|
-
function selectorToElement(selector, documentObj) {
|
7
|
-
const actualDocument = documentObj ?? window.document;
|
8
|
-
if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "The optional second parameter expects a Document object");
|
9
|
-
const tagRegexp = /^[A-Za-z]+/;
|
10
|
-
const idRegexp = /#[A-Za-z]+[\w\-\:]*/;
|
11
|
-
const classRegexp = /\.[A-Za-z]+[\w\-]*/;
|
12
|
-
const attributeRegexp = /\[[A-Za-z]+[\w\-]*(="[\w\-]+")?\]/;
|
13
|
-
const matchedTags = selector.match(tagRegexp) ?? [];
|
14
|
-
const matchedIds = selector.match(idRegexp) ?? [];
|
15
|
-
const matchedClasses = selector.match(classRegexp) ?? [];
|
16
|
-
const matchedAttrs = selector.match(attributeRegexp) ?? [];
|
17
|
-
const tag = matchedTags[matchedTags.length - 1] ?? "div";
|
18
|
-
const id = matchedIds[matchedIds.length - 1] ?? null;
|
19
|
-
const classes = matchedClasses.map((matchedClass) => matchedClass.replace(/^\./, ""));
|
20
|
-
const attributes = matchedAttrs.map((matchedAttr) => matchedAttr.replace(/^\[/, "").replace(/\]$/, "").split("="));
|
21
|
-
const element = actualDocument.createElement(tag);
|
22
|
-
if (id !== null) {
|
23
|
-
element.id = id;
|
24
|
-
}
|
25
|
-
element.classList.add(...classes);
|
26
|
-
attributes.forEach(([name, value = ""]) => {
|
27
|
-
if (name === void 0) return;
|
28
|
-
element.setAttribute(name, value);
|
29
|
-
});
|
30
|
-
return element;
|
31
|
-
}
|
32
|
-
|
33
|
-
export {
|
34
|
-
selectorToElement
|
35
|
-
};
|
package/chunks/chunk-2IV3O7FX.js
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Cast,
|
3
|
-
Transformers,
|
4
|
-
Tree,
|
5
|
-
Utils
|
6
|
-
} from "./chunk-W4OFHYWN.js";
|
7
|
-
import {
|
8
|
-
Serialize
|
9
|
-
} from "./chunk-ZCPGE7H7.js";
|
10
|
-
import {
|
11
|
-
Types
|
12
|
-
} from "./chunk-5GI5G45R.js";
|
13
|
-
|
14
|
-
// src/agnostic/html/hyper-json/index.ts
|
15
|
-
var HyperJson;
|
16
|
-
((HyperJson2) => {
|
17
|
-
HyperJson2.Cast = Cast;
|
18
|
-
HyperJson2.Serialize = Serialize;
|
19
|
-
HyperJson2.Transformers = Transformers;
|
20
|
-
HyperJson2.Tree = Tree;
|
21
|
-
HyperJson2.Types = Types;
|
22
|
-
HyperJson2.Utils = Utils;
|
23
|
-
})(HyperJson || (HyperJson = {}));
|
24
|
-
|
25
|
-
export {
|
26
|
-
HyperJson
|
27
|
-
};
|
package/chunks/chunk-2KCKWG7R.js
DELETED
@@ -1,104 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
transformImage
|
3
|
-
} from "./chunk-TXOUGP37.js";
|
4
|
-
import {
|
5
|
-
thumbnails_exports
|
6
|
-
} from "./chunk-IOWZMFCU.js";
|
7
|
-
import {
|
8
|
-
exportZipBuffer,
|
9
|
-
prepareExport
|
10
|
-
} from "./chunk-NGYJGQT3.js";
|
11
|
-
import {
|
12
|
-
require_lib
|
13
|
-
} from "./chunk-53MBV4TG.js";
|
14
|
-
import {
|
15
|
-
__export,
|
16
|
-
__toESM
|
17
|
-
} from "./chunk-XCBH6NLF.js";
|
18
|
-
|
19
|
-
// src/node/images/prepare/index.ts
|
20
|
-
var prepare_exports = {};
|
21
|
-
__export(prepare_exports, {
|
22
|
-
MAX_NB_OUTPUTS: () => MAX_NB_OUTPUTS,
|
23
|
-
OUTPUT_ZIP_FOLDER: () => OUTPUT_ZIP_FOLDER,
|
24
|
-
prepareImage: () => prepareImage
|
25
|
-
});
|
26
|
-
var import_sharp = __toESM(require_lib(), 1);
|
27
|
-
var MAX_NB_OUTPUTS = 50;
|
28
|
-
var OUTPUT_ZIP_FOLDER = "./output-zips";
|
29
|
-
async function prepareImage(imageBuffer, customOptions) {
|
30
|
-
const sharpImage = (0, import_sharp.default)(imageBuffer);
|
31
|
-
const sharpImageMetadata = await sharpImage.metadata();
|
32
|
-
const imageBufferMetadata = {
|
33
|
-
width: sharpImageMetadata.width || 0,
|
34
|
-
height: sharpImageMetadata.height || 0,
|
35
|
-
format: sharpImageMetadata.format || "png"
|
36
|
-
};
|
37
|
-
const options = getOptions(imageBufferMetadata, customOptions);
|
38
|
-
const nbOutputs = options.qualities.length * (options.ratios.length + 1) * (options.widths.length + 1) * (options.heights.length + 1);
|
39
|
-
if (nbOutputs > MAX_NB_OUTPUTS) {
|
40
|
-
throw Error("Nb output exceeds supported max nb output");
|
41
|
-
}
|
42
|
-
const transformedBuffer = await transformImage(imageBuffer, options.inputOperations, {
|
43
|
-
width: thumbnails_exports.Common.getArrayMax(options.widths) || 0,
|
44
|
-
height: thumbnails_exports.Common.getArrayMax(options.heights) || 0
|
45
|
-
});
|
46
|
-
const exportsBuffers = [{
|
47
|
-
buffer: imageBuffer,
|
48
|
-
name: generateFileName({
|
49
|
-
...imageBufferMetadata,
|
50
|
-
quality: 100,
|
51
|
-
suffix: "original",
|
52
|
-
preffix: options.name
|
53
|
-
})
|
54
|
-
}];
|
55
|
-
for await (const width of options.widths) {
|
56
|
-
for await (const height of options.heights) {
|
57
|
-
for await (const quality of options.qualities) {
|
58
|
-
for await (const format of options.formats) {
|
59
|
-
const exportBuffer = await prepareExport(transformedBuffer, {
|
60
|
-
format,
|
61
|
-
quality,
|
62
|
-
width,
|
63
|
-
height
|
64
|
-
});
|
65
|
-
exportsBuffers.push({
|
66
|
-
buffer: exportBuffer,
|
67
|
-
name: generateFileName({ width, height, quality, format, preffix: options.name })
|
68
|
-
});
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
const zipBuffer = exportZipBuffer(exportsBuffers, generateZipName());
|
74
|
-
return zipBuffer;
|
75
|
-
}
|
76
|
-
function getOptions(imageBufferMetadata, options) {
|
77
|
-
return {
|
78
|
-
center: [0.5, 0.5],
|
79
|
-
qualities: [100],
|
80
|
-
inputOperations: [],
|
81
|
-
...options,
|
82
|
-
name: options?.name || "",
|
83
|
-
formats: [imageBufferMetadata.format, ...options?.formats ? options.formats : []],
|
84
|
-
ratios: [...options?.ratios ? options.ratios : []],
|
85
|
-
widths: [imageBufferMetadata.width, ...options?.widths ? options.widths : []],
|
86
|
-
heights: [imageBufferMetadata.height, ...options?.heights ? options.heights : []]
|
87
|
-
};
|
88
|
-
}
|
89
|
-
function generateZipName() {
|
90
|
-
const date = /* @__PURE__ */ new Date();
|
91
|
-
return `image-exports_${date.toLocaleDateString()}_${date.toLocaleTimeString()}_${date.getTime()}`.replace(/\/|:/g, "-").replace(/ /g, "").trim();
|
92
|
-
}
|
93
|
-
function generateFileName({ width, height, quality, format, suffix, preffix }) {
|
94
|
-
const _preffix = preffix ? `${preffix}_` : "image-formats_";
|
95
|
-
const _suffix = `${suffix ? `_${suffix}` : ""}.${format}`;
|
96
|
-
return `${_preffix}${width}${height}_Q${quality}${_suffix}`;
|
97
|
-
}
|
98
|
-
|
99
|
-
export {
|
100
|
-
MAX_NB_OUTPUTS,
|
101
|
-
OUTPUT_ZIP_FOLDER,
|
102
|
-
prepareImage,
|
103
|
-
prepare_exports
|
104
|
-
};
|
package/chunks/chunk-2KT7AKRW.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
unknownToString
|
3
|
-
} from "./chunk-FENXVJYO.js";
|
4
|
-
import {
|
5
|
-
Register
|
6
|
-
} from "./chunk-QHLQVR3E.js";
|
7
|
-
|
8
|
-
// src/agnostic/errors/index.ts
|
9
|
-
var Errors;
|
10
|
-
((Errors2) => {
|
11
|
-
Errors2.Register = Register;
|
12
|
-
Errors2.unknownToString = unknownToString;
|
13
|
-
})(Errors || (Errors = {}));
|
14
|
-
|
15
|
-
export {
|
16
|
-
Errors
|
17
|
-
};
|
package/chunks/chunk-2U2J4P3O.js
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
findDuplicates
|
3
|
-
} from "./chunk-YS6WMSWC.js";
|
4
|
-
import {
|
5
|
-
isArrayOf
|
6
|
-
} from "./chunk-6RGDWX4A.js";
|
7
|
-
import {
|
8
|
-
randomPick,
|
9
|
-
randomPickMany
|
10
|
-
} from "./chunk-B446JIN3.js";
|
11
|
-
import {
|
12
|
-
shuffle
|
13
|
-
} from "./chunk-VJJIYJMY.js";
|
14
|
-
import {
|
15
|
-
make
|
16
|
-
} from "./chunk-RLAZR3NL.js";
|
17
|
-
|
18
|
-
// src/agnostic/arrays/index.tsx
|
19
|
-
var Arrays;
|
20
|
-
((Arrays2) => {
|
21
|
-
Arrays2.findDuplicates = findDuplicates;
|
22
|
-
Arrays2.isArrayOf = isArrayOf;
|
23
|
-
Arrays2.make = make;
|
24
|
-
Arrays2.randomPick = randomPick;
|
25
|
-
Arrays2.randomPickMany = randomPickMany;
|
26
|
-
Arrays2.shuffle = shuffle;
|
27
|
-
})(Arrays || (Arrays = {}));
|
28
|
-
|
29
|
-
export {
|
30
|
-
Arrays
|
31
|
-
};
|
package/chunks/chunk-2UJYUMTT.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Cast,
|
3
|
-
Tree,
|
4
|
-
Utils
|
5
|
-
} from "./chunk-RTFKMYT7.js";
|
6
|
-
import {
|
7
|
-
Serialize
|
8
|
-
} from "./chunk-SXRWMH3U.js";
|
9
|
-
import {
|
10
|
-
Types
|
11
|
-
} from "./chunk-XEQ2PBT2.js";
|
12
|
-
import {
|
13
|
-
SmartTags
|
14
|
-
} from "./chunk-UT2J62LH.js";
|
15
|
-
import {
|
16
|
-
Transformer
|
17
|
-
} from "./chunk-BKO7GLC2.js";
|
18
|
-
import {
|
19
|
-
Method
|
20
|
-
} from "./chunk-RW7VAKJW.js";
|
21
|
-
|
22
|
-
// src/agnostic/html/hyper-json/index.ts
|
23
|
-
var HyperJson;
|
24
|
-
((HyperJson2) => {
|
25
|
-
HyperJson2.Cast = Cast;
|
26
|
-
HyperJson2.Method = Method;
|
27
|
-
HyperJson2.Serialize = Serialize;
|
28
|
-
HyperJson2.SmartTags = SmartTags;
|
29
|
-
HyperJson2.Transformer = Transformer;
|
30
|
-
HyperJson2.Tree = Tree;
|
31
|
-
HyperJson2.Types = Types;
|
32
|
-
HyperJson2.Utils = Utils;
|
33
|
-
})(HyperJson || (HyperJson = {}));
|
34
|
-
|
35
|
-
export {
|
36
|
-
HyperJson
|
37
|
-
};
|
package/chunks/chunk-35W7XRC3.js
DELETED
@@ -1,173 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Random
|
3
|
-
} from "./chunk-DCKTGQOX.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
|
-
};
|
package/chunks/chunk-365LSZZ7.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Cast,
|
3
|
-
Tree,
|
4
|
-
Utils
|
5
|
-
} from "./chunk-WLHJM76F.js";
|
6
|
-
import {
|
7
|
-
SmartTags
|
8
|
-
} from "./chunk-UT2J62LH.js";
|
9
|
-
import {
|
10
|
-
Serialize
|
11
|
-
} from "./chunk-SXRWMH3U.js";
|
12
|
-
import {
|
13
|
-
Transformer
|
14
|
-
} from "./chunk-BKO7GLC2.js";
|
15
|
-
import {
|
16
|
-
Method
|
17
|
-
} from "./chunk-RW7VAKJW.js";
|
18
|
-
import {
|
19
|
-
Types
|
20
|
-
} from "./chunk-XEQ2PBT2.js";
|
21
|
-
|
22
|
-
// src/agnostic/html/hyper-json/index.ts
|
23
|
-
var HyperJson;
|
24
|
-
((HyperJson2) => {
|
25
|
-
HyperJson2.Cast = Cast;
|
26
|
-
HyperJson2.Method = Method;
|
27
|
-
HyperJson2.Serialize = Serialize;
|
28
|
-
HyperJson2.SmartTags = SmartTags;
|
29
|
-
HyperJson2.Transformer = Transformer;
|
30
|
-
HyperJson2.Tree = Tree;
|
31
|
-
HyperJson2.Types = Types;
|
32
|
-
HyperJson2.Utils = Utils;
|
33
|
-
})(HyperJson || (HyperJson = {}));
|
34
|
-
|
35
|
-
export {
|
36
|
-
HyperJson
|
37
|
-
};
|
package/chunks/chunk-36CTYZYA.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Sanitize
|
3
|
-
} from "./chunk-JWF5EKM2.js";
|
4
|
-
import {
|
5
|
-
register
|
6
|
-
} from "./chunk-CHUOCTRP.js";
|
7
|
-
|
8
|
-
// src/agnostic/html/string-to-nodes/index.ts
|
9
|
-
function stringToNodes(dirtyStr, options) {
|
10
|
-
const actualDocument = options?.documentObj ?? window.document;
|
11
|
-
if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
|
12
|
-
const sanitizeOptions = {
|
13
|
-
...options?.sanitize,
|
14
|
-
documentObj: options?.sanitize?.documentObj ?? options?.documentObj
|
15
|
-
};
|
16
|
-
const str = options?.sanitize !== void 0 ? Sanitize.sanitize(dirtyStr, sanitizeOptions) : dirtyStr;
|
17
|
-
const wrapperDiv = actualDocument.createElement("div");
|
18
|
-
wrapperDiv.innerHTML = str;
|
19
|
-
const nodes = Array.from(wrapperDiv.childNodes).filter((node) => {
|
20
|
-
const allowedNodeTypes = [Node.ELEMENT_NODE, Node.TEXT_NODE];
|
21
|
-
return allowedNodeTypes.includes(node.nodeType);
|
22
|
-
});
|
23
|
-
return nodes;
|
24
|
-
}
|
25
|
-
|
26
|
-
export {
|
27
|
-
stringToNodes
|
28
|
-
};
|
package/chunks/chunk-3C3MXKEW.js
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
randomPick,
|
3
|
-
randomPickMany
|
4
|
-
} from "./chunk-72NLUT3X.js";
|
5
|
-
import {
|
6
|
-
shuffle
|
7
|
-
} from "./chunk-VJJIYJMY.js";
|
8
|
-
import {
|
9
|
-
findDuplicates
|
10
|
-
} from "./chunk-YS6WMSWC.js";
|
11
|
-
import {
|
12
|
-
isArrayOf
|
13
|
-
} from "./chunk-6RGDWX4A.js";
|
14
|
-
import {
|
15
|
-
make
|
16
|
-
} from "./chunk-RLAZR3NL.js";
|
17
|
-
|
18
|
-
// src/agnostic/arrays/index.tsx
|
19
|
-
var Arrays;
|
20
|
-
((Arrays2) => {
|
21
|
-
Arrays2.findDuplicates = findDuplicates;
|
22
|
-
Arrays2.isArrayOf = isArrayOf;
|
23
|
-
Arrays2.make = make;
|
24
|
-
Arrays2.randomPick = randomPick;
|
25
|
-
Arrays2.randomPickMany = randomPickMany;
|
26
|
-
Arrays2.shuffle = shuffle;
|
27
|
-
})(Arrays || (Arrays = {}));
|
28
|
-
|
29
|
-
export {
|
30
|
-
Arrays
|
31
|
-
};
|
package/chunks/chunk-3GTGE66Y.js
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Outcome
|
3
|
-
} from "./chunk-JMU5PDBD.js";
|
4
|
-
import {
|
5
|
-
unknownToString
|
6
|
-
} from "./chunk-FENXVJYO.js";
|
7
|
-
import {
|
8
|
-
__export
|
9
|
-
} from "./chunk-WSFCRVEQ.js";
|
10
|
-
|
11
|
-
// src/node/@google-cloud/storage/file/move/index.ts
|
12
|
-
var move_exports = {};
|
13
|
-
__export(move_exports, {
|
14
|
-
move: () => move
|
15
|
-
});
|
16
|
-
async function move(sourcePath, destinationPath, bucket, options) {
|
17
|
-
const { fileOptions, copyOptions, deleteOptions } = options ?? {};
|
18
|
-
try {
|
19
|
-
const file = bucket.file(sourcePath, fileOptions);
|
20
|
-
await file.copy(destinationPath, copyOptions);
|
21
|
-
await file.delete(deleteOptions);
|
22
|
-
return Outcome.makeSuccess(true);
|
23
|
-
} catch (err) {
|
24
|
-
const errStr = unknownToString(err);
|
25
|
-
return Outcome.makeFailure(errStr);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
export {
|
30
|
-
move,
|
31
|
-
move_exports
|
32
|
-
};
|