@design-edito/tools 0.2.16 → 0.2.18
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 +10 -10
- package/agnostic/arrays/random-pick/index.js +6 -6
- package/agnostic/booleans/index.js +3 -12
- package/agnostic/colors/channels/index.js +4 -3
- package/agnostic/colors/contrast/index.js +5 -4
- package/agnostic/colors/convert/index.js +3 -2
- package/agnostic/colors/distance/index.js +4 -3
- package/agnostic/colors/grayscale/index.js +4 -3
- package/agnostic/colors/index.js +22 -20
- package/agnostic/colors/invert/index.js +4 -3
- package/agnostic/colors/lerp/index.js +4 -3
- package/agnostic/colors/luminance/index.js +4 -3
- package/agnostic/colors/palette/index.js +6 -5
- package/agnostic/colors/rotate/index.js +5 -4
- package/agnostic/colors/tidy/index.js +3 -2
- package/agnostic/colors/typechecks/index.js +2 -1
- package/agnostic/colors/types.js +7 -0
- package/agnostic/css/index.js +13 -33
- package/agnostic/css/styles-set/index.js +8 -8
- package/agnostic/errors/index.js +2 -2
- package/agnostic/html/hyper-json/cast/index.js +4 -4
- package/agnostic/html/hyper-json/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +4 -4
- package/agnostic/html/hyper-json/tree/index.js +4 -4
- package/agnostic/html/hyper-json/utils/index.js +4 -4
- package/agnostic/html/index.js +19 -45
- package/agnostic/html/sanitize/index.js +6 -6
- package/agnostic/html/selector-to-element/index.js +6 -6
- package/agnostic/html/string-to-nodes/index.js +7 -7
- package/agnostic/index.js +144 -0
- package/agnostic/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/index.js +45 -67
- package/agnostic/misc/lorem-ipsum/index.js +13 -13
- package/agnostic/numbers/index.js +7 -26
- package/agnostic/objects/index.js +10 -38
- package/agnostic/optim/index.js +4 -14
- package/agnostic/random/index.js +2 -2
- package/agnostic/regexps/index.js +3 -88
- package/agnostic/strings/index.js +9 -38
- package/agnostic/time/index.js +4 -4
- package/chunks/{chunk-CQEDNACN.js → chunk-36CTYZYA.js} +2 -2
- package/chunks/{chunk-VA67YLZL.js → chunk-3LCD73SB.js} +1 -1
- package/chunks/chunk-3TLGAIZT.js +20 -0
- package/chunks/{chunk-TQXFC6OS.js → chunk-3XMJVCCD.js} +4 -4
- package/chunks/{chunk-CA3UPHYO.js → chunk-4INHLHJT.js} +10 -10
- package/chunks/{chunk-IDXUS2IO.js → chunk-4P6V6CHL.js} +5 -5
- package/chunks/chunk-56YRW5PS.js +32 -0
- package/chunks/{chunk-MN4FVOU2.js → chunk-5CTAKAIP.js} +2 -2
- package/chunks/{chunk-UK4HNSEJ.js → chunk-5KJLSEJK.js} +10 -10
- package/chunks/chunk-67V4BGOB.js +107 -0
- package/chunks/chunk-6B26LYUI.js +43 -0
- package/chunks/chunk-6KM4UT6T.js +34 -0
- package/chunks/chunk-6NAA5YPG.js +16 -0
- package/chunks/chunk-6WMQTBOB.js +16 -0
- package/chunks/chunk-7HD4NMIG.js +20 -0
- package/chunks/{chunk-UG5EMKGN.js → chunk-7UGMWTP5.js} +1 -102
- package/chunks/{chunk-FS6LRTDK.js → chunk-7VYHSW6T.js} +10 -10
- package/chunks/chunk-7YJ4BB73.js +20 -0
- package/chunks/{chunk-JHUOMGOX.js → chunk-ATB2CQBE.js} +25 -5
- package/chunks/{chunk-C7SRAQMW.js → chunk-B446JIN3.js} +1 -1
- package/chunks/chunk-BK373LU6.js +84 -0
- package/chunks/chunk-BLDUC7TT.js +17 -0
- package/chunks/{chunk-VKNQ7MVZ.js → chunk-C4NNY3VS.js} +33 -69
- package/chunks/{chunk-QRS3G3YD.js → chunk-CFHCESPR.js} +5 -5
- package/chunks/{chunk-P2H6PV4O.js → chunk-CHUOCTRP.js} +2 -2
- package/chunks/chunk-CMAS4BKV.js +19 -0
- package/chunks/{chunk-PX4DPCZM.js → chunk-CYUEPBUN.js} +2 -2
- package/chunks/{chunk-BKIF2ELV.js → chunk-D5CCWCEI.js} +1 -1
- package/chunks/{chunk-OD2XVVE2.js → chunk-E3EYBGWM.js} +2 -2
- package/chunks/{chunk-D7SXHHU3.js → chunk-EGBJXHCW.js} +1 -1
- package/chunks/chunk-EPRR53QH.js +20 -0
- package/chunks/{chunk-646R6BQZ.js → chunk-EZUU2UVI.js} +10 -10
- package/chunks/chunk-FKDPPFHV.js +42 -0
- package/chunks/{chunk-YZVZKBVJ.js → chunk-FNQAF6CQ.js} +4 -2
- package/chunks/chunk-HXYHJZB7.js +112 -0
- package/chunks/{chunk-I2HTBYNO.js → chunk-IPON4W2H.js} +9 -9
- package/chunks/chunk-IRTPQATN.js +16 -0
- package/chunks/{chunk-AF2NAJS2.js → chunk-JOWI6DST.js} +2 -2
- package/chunks/chunk-JS56UXSY.js +31 -0
- package/chunks/{chunk-RDQJSWRC.js → chunk-JWF5EKM2.js} +1 -1
- package/chunks/{chunk-KDOMQ4LM.js → chunk-KGRQKEDD.js} +4 -4
- package/chunks/{chunk-E33DCHHS.js → chunk-KPVAVWAJ.js} +15 -15
- package/chunks/{chunk-P4YT4RBG.js → chunk-L7PIZQFC.js} +1 -1
- package/chunks/chunk-LIO72OKF.js +31 -0
- package/chunks/{chunk-XAYMIITK.js → chunk-MFIGSRSO.js} +1 -1
- package/chunks/{chunk-PJSPZGT2.js → chunk-MVFHSJLO.js} +21 -21
- package/chunks/{chunk-ZJ63OCMA.js → chunk-NCYE5WML.js} +1 -1
- package/chunks/{chunk-RBCZWVQH.js → chunk-NLCZUDXC.js} +4 -4
- package/chunks/{chunk-NOLQR5RW.js → chunk-O3UJRWTQ.js} +10 -10
- package/chunks/chunk-OKFZJ6DJ.js +9 -0
- package/chunks/{chunk-OA7Y2A5T.js → chunk-OPDP7KUM.js} +10 -10
- package/chunks/{chunk-O7VFJHQX.js → chunk-PNJI3RCF.js} +4 -4
- package/chunks/{chunk-2EHYEUX4.js → chunk-PVRYR5KX.js} +1 -1
- package/chunks/{chunk-Y4THX4AN.js → chunk-RZMX74FI.js} +10 -10
- package/chunks/chunk-RZV3B2H7.js +41 -0
- package/chunks/{chunk-S7637BQZ.js → chunk-S3K2QPZ6.js} +4 -4
- package/chunks/{chunk-X5HMM3LD.js → chunk-SA2IY5LN.js} +1 -1
- package/chunks/{chunk-DPQRXSZH.js → chunk-TS2ETUL7.js} +10 -10
- package/chunks/chunk-UNXRB2AV.js +16 -0
- package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
- package/chunks/{chunk-6NLNUGBI.js → chunk-WPQFUS4I.js} +10 -10
- package/chunks/chunk-WS4AWN7O.js +30 -0
- package/chunks/{chunk-65NTXENV.js → chunk-WSC3WODJ.js} +1 -1
- package/chunks/{chunk-GUBFCOBT.js → chunk-XPGAVZGK.js} +1 -1
- package/chunks/{chunk-24ZUWYIR.js → chunk-Y2HSS4DG.js} +10 -10
- package/chunks/chunk-YPTFPS76.js +91 -0
- package/chunks/{chunk-QW34TQCS.js → chunk-YXLHZ2KW.js} +2 -2
- package/chunks/{chunk-5LK2YLTK.js → chunk-ZLBSI4TR.js} +1 -1
- package/chunks/{chunk-EOTOFHUR.js → chunk-ZSUJVMQM.js} +10 -10
- package/chunks/chunk-ZUOQTT7I.js +43 -0
- package/components/Comp/index.js +3 -6
- package/components/index.js +13 -0
- package/node/@aws-s3/index.js +9 -8
- package/node/@aws-s3/storage/directory/index.js +7 -7
- package/node/@aws-s3/storage/file/index.js +10 -10
- package/node/@aws-s3/storage/index.js +8 -8
- package/node/@design-edito/index.js +1 -0
- package/node/@express/index.js +1 -0
- package/node/@google-cloud/index.js +13 -12
- package/node/@google-cloud/storage/bucket/index.js +4 -4
- package/node/@google-cloud/storage/directory/index.js +7 -7
- package/node/@google-cloud/storage/file/index.js +16 -16
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +14 -14
- package/node/cloud-storage/index.js +39 -38
- package/node/cloud-storage/operations/copy-dir/index.js +2 -2
- package/node/cloud-storage/operations/copy-file/index.js +2 -2
- package/node/cloud-storage/operations/download-file/index.js +2 -2
- package/node/cloud-storage/operations/exists-file/index.js +2 -2
- package/node/cloud-storage/operations/index.js +46 -46
- package/node/cloud-storage/operations/list-dir/index.js +2 -2
- package/node/cloud-storage/operations/move-dir/index.js +2 -2
- package/node/cloud-storage/operations/move-file/index.js +2 -2
- package/node/cloud-storage/operations/remove-dir/index.js +2 -2
- package/node/cloud-storage/operations/remove-file/index.js +2 -2
- package/node/cloud-storage/operations/stat-file/index.js +2 -2
- package/node/cloud-storage/operations/upload-file/index.js +2 -2
- package/node/encryption/index.js +4 -3
- package/node/files/index.js +9 -15
- package/node/ftps/directory/index.js +7 -7
- package/node/ftps/file/index.js +7 -7
- package/node/ftps/index.js +10 -9
- package/node/images/create/index.js +15 -14
- package/node/images/format/index.js +15 -14
- package/node/images/index.js +34 -30
- package/node/images/metadata/index.js +15 -14
- package/node/images/transform/index.js +27 -25
- package/node/images/transform/operations/extend/index.js +15 -14
- package/node/images/transform/operations/flatten/index.js +15 -14
- package/node/images/transform/operations/overlay/index.js +15 -14
- package/node/images/transform/operations/resize/index.js +15 -14
- package/node/images/transform/operations/rotate/index.js +15 -14
- package/node/images/types.d.ts +1 -1
- package/node/images/types.js +9 -0
- package/node/images/utils/index.js +14 -13
- package/node/index.js +172 -0
- package/node/process/index.js +7 -13
- package/node/sftp/directory/index.js +7 -7
- package/node/sftp/file/index.js +10 -10
- package/node/sftp/index.js +10 -9
- package/package.json +1 -1
- package/{chunks/chunk-ALMK24GK.js → agnostic/optim/throttle-debounce/types.js} +0 -0
- package/chunks/{chunk-ZBAKY6DB.js → chunk-4OK2UH4M.js} +6 -6
- package/chunks/{chunk-73FF7HWQ.js → chunk-66S3WWJV.js} +9 -9
- package/chunks/{chunk-A7K5DUP7.js → chunk-74CFPDKM.js} +6 -6
- package/chunks/{chunk-X5F6XGEP.js → chunk-AIC5YAJU.js} +6 -6
- package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
- package/chunks/{chunk-S32K7POB.js → chunk-OVG5RGI3.js} +4 -4
- package/chunks/{chunk-MLLP7YSK.js → chunk-Q6KRGRCE.js} +10 -10
- package/chunks/{chunk-FR5H2OCV.js → chunk-UFKH5WD2.js} +3 -3
- package/chunks/{chunk-CNMP2GU4.js → chunk-UORTIJVT.js} +6 -6
- package/chunks/{chunk-UEAMPAHK.js → chunk-UXEKCYL7.js} +3 -3
- package/chunks/{chunk-6QFELK4E.js → chunk-VLPG725T.js} +6 -6
- package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
- package/chunks/{chunk-EXPVRDPR.js → chunk-XXRTRR5D.js} +9 -9
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Logs
|
|
3
|
+
} from "./chunk-MJQF3YZO.js";
|
|
4
|
+
import {
|
|
5
|
+
getCurrentDownlink
|
|
6
|
+
} from "./chunk-7AWTHZLY.js";
|
|
7
|
+
import {
|
|
8
|
+
LoremIpsum
|
|
9
|
+
} from "./chunk-JOWI6DST.js";
|
|
10
|
+
import {
|
|
11
|
+
Assert
|
|
12
|
+
} from "./chunk-WAMSK4A3.js";
|
|
13
|
+
import {
|
|
14
|
+
Crawler
|
|
15
|
+
} from "./chunk-YUP434IY.js";
|
|
16
|
+
import {
|
|
17
|
+
Cast
|
|
18
|
+
} from "./chunk-SNJJII7A.js";
|
|
19
|
+
import {
|
|
20
|
+
data_size_exports
|
|
21
|
+
} from "./chunk-G4ZB72XY.js";
|
|
22
|
+
import {
|
|
23
|
+
Outcome
|
|
24
|
+
} from "./chunk-JMU5PDBD.js";
|
|
25
|
+
import {
|
|
26
|
+
isNotNullish,
|
|
27
|
+
isNullish,
|
|
28
|
+
nullishValues
|
|
29
|
+
} from "./chunk-HC6ZOHCS.js";
|
|
30
|
+
import {
|
|
31
|
+
isConstructorFunction
|
|
32
|
+
} from "./chunk-RCO57B6F.js";
|
|
33
|
+
import {
|
|
34
|
+
Crossenv
|
|
35
|
+
} from "./chunk-UFKH5WD2.js";
|
|
36
|
+
import {
|
|
37
|
+
__export
|
|
38
|
+
} from "./chunk-WSFCRVEQ.js";
|
|
39
|
+
|
|
40
|
+
// src/agnostic/misc/index.ts
|
|
41
|
+
var misc_exports = {};
|
|
42
|
+
__export(misc_exports, {
|
|
43
|
+
Assert: () => Assert2,
|
|
44
|
+
Cast: () => Cast2,
|
|
45
|
+
Crawler: () => Crawler2,
|
|
46
|
+
Crossenv: () => Crossenv2,
|
|
47
|
+
DataSize: () => data_size_exports,
|
|
48
|
+
Logs: () => Logs2,
|
|
49
|
+
LoremIpsum: () => LoremIpsum2,
|
|
50
|
+
Outcome: () => Outcome2,
|
|
51
|
+
getCurrentDownlink: () => getCurrentDownlink2,
|
|
52
|
+
isConstructorFunction: () => isConstructorFunction2,
|
|
53
|
+
isNotNullish: () => isNotNullish2,
|
|
54
|
+
isNullish: () => isNullish2,
|
|
55
|
+
nullishValues: () => nullishValues2
|
|
56
|
+
});
|
|
57
|
+
var Assert2 = Assert;
|
|
58
|
+
var Cast2 = Cast;
|
|
59
|
+
var Crawler2 = Crawler;
|
|
60
|
+
var Crossenv2 = Crossenv;
|
|
61
|
+
var getCurrentDownlink2 = getCurrentDownlink;
|
|
62
|
+
var isConstructorFunction2 = isConstructorFunction;
|
|
63
|
+
var nullishValues2 = nullishValues;
|
|
64
|
+
var isNullish2 = isNullish;
|
|
65
|
+
var isNotNullish2 = isNotNullish;
|
|
66
|
+
var Logs2 = Logs;
|
|
67
|
+
var LoremIpsum2 = LoremIpsum;
|
|
68
|
+
var Outcome2 = Outcome;
|
|
69
|
+
|
|
70
|
+
export {
|
|
71
|
+
Assert2 as Assert,
|
|
72
|
+
Cast2 as Cast,
|
|
73
|
+
Crawler2 as Crawler,
|
|
74
|
+
Crossenv2 as Crossenv,
|
|
75
|
+
getCurrentDownlink2 as getCurrentDownlink,
|
|
76
|
+
isConstructorFunction2 as isConstructorFunction,
|
|
77
|
+
nullishValues2 as nullishValues,
|
|
78
|
+
isNullish2 as isNullish,
|
|
79
|
+
isNotNullish2 as isNotNullish,
|
|
80
|
+
Logs2 as Logs,
|
|
81
|
+
LoremIpsum2 as LoremIpsum,
|
|
82
|
+
Outcome2 as Outcome,
|
|
83
|
+
misc_exports
|
|
84
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
falsyValues,
|
|
3
|
+
isFalsy,
|
|
4
|
+
isNotFalsy
|
|
5
|
+
} from "./chunk-QXAJXTXV.js";
|
|
6
|
+
|
|
7
|
+
// src/agnostic/booleans/index.ts
|
|
8
|
+
var Booleans;
|
|
9
|
+
((Booleans2) => {
|
|
10
|
+
Booleans2.falsyValues = falsyValues;
|
|
11
|
+
Booleans2.isFalsy = isFalsy;
|
|
12
|
+
Booleans2.isNotFalsy = isNotFalsy;
|
|
13
|
+
})(Booleans || (Booleans = {}));
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
Booleans
|
|
17
|
+
};
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isLevelOperationParams,
|
|
3
|
-
level
|
|
4
|
-
} from "./chunk-2HJPX7E3.js";
|
|
5
|
-
import {
|
|
6
|
-
isLightenOperationParams,
|
|
7
|
-
lighten
|
|
8
|
-
} from "./chunk-RHKFMXM3.js";
|
|
9
1
|
import {
|
|
10
2
|
isNormalizeOperationParams,
|
|
11
3
|
normalize
|
|
12
4
|
} from "./chunk-3G6FOHII.js";
|
|
5
|
+
import {
|
|
6
|
+
isOverlayOperationParams,
|
|
7
|
+
overlay
|
|
8
|
+
} from "./chunk-ATB2CQBE.js";
|
|
13
9
|
import {
|
|
14
10
|
isResizeOperationParams,
|
|
15
11
|
resize
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KGRQKEDD.js";
|
|
17
13
|
import {
|
|
18
14
|
isRotateOperationParams,
|
|
19
15
|
rotate
|
|
20
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S3K2QPZ6.js";
|
|
21
17
|
import {
|
|
22
18
|
isSaturateOperationParams,
|
|
23
19
|
saturate
|
|
24
20
|
} from "./chunk-QTA7ZEVX.js";
|
|
25
|
-
import {
|
|
26
|
-
isOverlayOperationParams,
|
|
27
|
-
overlay
|
|
28
|
-
} from "./chunk-JHUOMGOX.js";
|
|
29
|
-
import {
|
|
30
|
-
blur,
|
|
31
|
-
isBlurOperationParams
|
|
32
|
-
} from "./chunk-P26Y7YUA.js";
|
|
33
|
-
import {
|
|
34
|
-
brighten,
|
|
35
|
-
isBrightenOperationParams
|
|
36
|
-
} from "./chunk-SRXNICSE.js";
|
|
37
21
|
import {
|
|
38
22
|
extend,
|
|
39
23
|
isExtendOperationParams
|
|
40
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NLCZUDXC.js";
|
|
25
|
+
import {
|
|
26
|
+
extract,
|
|
27
|
+
isExtractOperationParams
|
|
28
|
+
} from "./chunk-HFZGH6V2.js";
|
|
29
|
+
import {
|
|
30
|
+
flip
|
|
31
|
+
} from "./chunk-WNDMYNDU.js";
|
|
41
32
|
import {
|
|
42
33
|
flatten,
|
|
43
34
|
isFlattenOperationParams
|
|
44
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PNJI3RCF.js";
|
|
36
|
+
import {
|
|
37
|
+
flop
|
|
38
|
+
} from "./chunk-YA2YCZUF.js";
|
|
39
|
+
import {
|
|
40
|
+
isLevelOperationParams,
|
|
41
|
+
level
|
|
42
|
+
} from "./chunk-2HJPX7E3.js";
|
|
45
43
|
import {
|
|
46
44
|
hue,
|
|
47
45
|
isHueOperationParams
|
|
48
46
|
} from "./chunk-QSU3CVGF.js";
|
|
49
47
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
isLightenOperationParams,
|
|
49
|
+
lighten
|
|
50
|
+
} from "./chunk-RHKFMXM3.js";
|
|
52
51
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./chunk-
|
|
52
|
+
toSharpInstance
|
|
53
|
+
} from "./chunk-D5CCWCEI.js";
|
|
55
54
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
55
|
+
blur,
|
|
56
|
+
isBlurOperationParams
|
|
57
|
+
} from "./chunk-P26Y7YUA.js";
|
|
59
58
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
brighten,
|
|
60
|
+
isBrightenOperationParams
|
|
61
|
+
} from "./chunk-SRXNICSE.js";
|
|
62
62
|
import {
|
|
63
63
|
Outcome
|
|
64
64
|
} from "./chunk-JMU5PDBD.js";
|
|
@@ -78,41 +78,6 @@ __export(transform_exports, {
|
|
|
78
78
|
isOperationDescriptor: () => isOperationDescriptor,
|
|
79
79
|
transform: () => transform
|
|
80
80
|
});
|
|
81
|
-
|
|
82
|
-
// src/node/images/types.ts
|
|
83
|
-
var types_exports = {};
|
|
84
|
-
__export(types_exports, {
|
|
85
|
-
OpName: () => OpName,
|
|
86
|
-
TransformErrCodes: () => TransformErrCodes
|
|
87
|
-
});
|
|
88
|
-
var OpName = /* @__PURE__ */ ((OpName2) => {
|
|
89
|
-
OpName2["BLUR"] = "blur";
|
|
90
|
-
OpName2["BRIGHTEN"] = "brighten";
|
|
91
|
-
OpName2["EXTEND"] = "extend";
|
|
92
|
-
OpName2["EXTRACT"] = "extract";
|
|
93
|
-
OpName2["FLATTEN"] = "flatten";
|
|
94
|
-
OpName2["FLIP"] = "flip";
|
|
95
|
-
OpName2["FLOP"] = "flop";
|
|
96
|
-
OpName2["HUE"] = "hue";
|
|
97
|
-
OpName2["LEVEL"] = "level";
|
|
98
|
-
OpName2["LIGHTEN"] = "lighten";
|
|
99
|
-
OpName2["NORMALIZE"] = "normalize";
|
|
100
|
-
OpName2["OVERLAY"] = "overlay";
|
|
101
|
-
OpName2["RESIZE"] = "resize";
|
|
102
|
-
OpName2["ROTATE"] = "rotate";
|
|
103
|
-
OpName2["SATURATE"] = "saturate";
|
|
104
|
-
return OpName2;
|
|
105
|
-
})(OpName || {});
|
|
106
|
-
var TransformErrCodes = /* @__PURE__ */ ((TransformErrCodes2) => {
|
|
107
|
-
TransformErrCodes2["PROCESS_TIMEOUT"] = "process-timeout";
|
|
108
|
-
TransformErrCodes2["OP_TIMEOUT"] = "op-timeout";
|
|
109
|
-
TransformErrCodes2["WIDTH_LIMIT_EXCEEDED"] = "width-limit-exceeded";
|
|
110
|
-
TransformErrCodes2["HEIGHT_LIMIT_EXCEEDED"] = "height-limit-exceeded";
|
|
111
|
-
TransformErrCodes2["UNKNOWN_ERROR"] = "unknown-error";
|
|
112
|
-
return TransformErrCodes2;
|
|
113
|
-
})(TransformErrCodes || {});
|
|
114
|
-
|
|
115
|
-
// src/node/images/transform/index.ts
|
|
116
81
|
var validators = {
|
|
117
82
|
["blur" /* BLUR */]: isBlurOperationParams,
|
|
118
83
|
["brighten" /* BRIGHTEN */]: isBrightenOperationParams,
|
|
@@ -235,7 +200,6 @@ async function transform(input, operationsSequence, limits) {
|
|
|
235
200
|
}
|
|
236
201
|
|
|
237
202
|
export {
|
|
238
|
-
types_exports,
|
|
239
203
|
isOperationDescriptor,
|
|
240
204
|
transform,
|
|
241
205
|
transform_exports
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
directory_exports
|
|
3
|
-
} from "./chunk-X5F6XGEP.js";
|
|
4
1
|
import {
|
|
5
2
|
file_exports
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KPVAVWAJ.js";
|
|
7
4
|
import {
|
|
8
5
|
bucket_exports
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UXEKCYL7.js";
|
|
7
|
+
import {
|
|
8
|
+
directory_exports
|
|
9
|
+
} from "./chunk-AIC5YAJU.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./chunk-WSFCRVEQ.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
memoize
|
|
3
|
+
} from "./chunk-JWBDZPQG.js";
|
|
4
|
+
import {
|
|
5
|
+
debounce,
|
|
6
|
+
throttle
|
|
7
|
+
} from "./chunk-VZDUZTW6.js";
|
|
8
|
+
|
|
9
|
+
// src/agnostic/optim/index.ts
|
|
10
|
+
var Optim;
|
|
11
|
+
((Optim2) => {
|
|
12
|
+
Optim2.memoize = memoize;
|
|
13
|
+
Optim2.throttle = throttle;
|
|
14
|
+
Optim2.debounce = debounce;
|
|
15
|
+
})(Optim || (Optim = {}));
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
Optim
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
file_exports
|
|
3
|
+
} from "./chunk-XXRTRR5D.js";
|
|
4
|
+
import {
|
|
5
|
+
directory_exports
|
|
6
|
+
} from "./chunk-74CFPDKM.js";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
|
10
|
+
|
|
11
|
+
// src/node/sftp/index.ts
|
|
12
|
+
var sftp_exports = {};
|
|
13
|
+
__export(sftp_exports, {
|
|
14
|
+
Directory: () => directory_exports,
|
|
15
|
+
File: () => file_exports
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
sftp_exports
|
|
20
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
move as
|
|
2
|
+
move as move2
|
|
3
3
|
} from "./chunk-6IYUA43Q.js";
|
|
4
4
|
import {
|
|
5
|
-
move
|
|
5
|
+
move
|
|
6
6
|
} from "./chunk-QWZ4ZNFA.js";
|
|
7
7
|
import {
|
|
8
|
-
move as
|
|
8
|
+
move as move4
|
|
9
9
|
} from "./chunk-FE4DECBU.js";
|
|
10
|
-
import {
|
|
11
|
-
move
|
|
12
|
-
} from "./chunk-HRNDUTZE.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "./chunk-V3GX7SIJ.js";
|
|
16
|
+
import {
|
|
17
|
+
move as move3
|
|
18
|
+
} from "./chunk-HRNDUTZE.js";
|
|
19
19
|
import {
|
|
20
20
|
Outcome
|
|
21
21
|
} from "./chunk-JMU5PDBD.js";
|
|
@@ -29,10 +29,10 @@ __export(move_file_exports, {
|
|
|
29
29
|
moveFile: () => moveFile
|
|
30
30
|
});
|
|
31
31
|
async function moveFile(client, sourcePath, targetPath, options) {
|
|
32
|
-
if (isGcsBucket(client)) return
|
|
33
|
-
if (isS3ClientWithBucket(client)) return
|
|
34
|
-
if (isFtpClient(client)) return
|
|
35
|
-
if (isSftpClient(client)) return
|
|
32
|
+
if (isGcsBucket(client)) return move2(client, sourcePath, targetPath, options);
|
|
33
|
+
if (isS3ClientWithBucket(client)) return move(client.client, client.bucketName, sourcePath, targetPath, options);
|
|
34
|
+
if (isFtpClient(client)) return move3(client, sourcePath, targetPath);
|
|
35
|
+
if (isSftpClient(client)) return move4(client, sourcePath, targetPath);
|
|
36
36
|
return Outcome.makeFailure("Invalid client type");
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./chunk-WSFCRVEQ.js";
|
|
4
|
+
|
|
5
|
+
// src/node/images/types.ts
|
|
6
|
+
var types_exports = {};
|
|
7
|
+
__export(types_exports, {
|
|
8
|
+
OpName: () => OpName,
|
|
9
|
+
TransformErrCodes: () => TransformErrCodes
|
|
10
|
+
});
|
|
11
|
+
var OpName = /* @__PURE__ */ ((OpName2) => {
|
|
12
|
+
OpName2["BLUR"] = "blur";
|
|
13
|
+
OpName2["BRIGHTEN"] = "brighten";
|
|
14
|
+
OpName2["EXTEND"] = "extend";
|
|
15
|
+
OpName2["EXTRACT"] = "extract";
|
|
16
|
+
OpName2["FLATTEN"] = "flatten";
|
|
17
|
+
OpName2["FLIP"] = "flip";
|
|
18
|
+
OpName2["FLOP"] = "flop";
|
|
19
|
+
OpName2["HUE"] = "hue";
|
|
20
|
+
OpName2["LEVEL"] = "level";
|
|
21
|
+
OpName2["LIGHTEN"] = "lighten";
|
|
22
|
+
OpName2["NORMALIZE"] = "normalize";
|
|
23
|
+
OpName2["OVERLAY"] = "overlay";
|
|
24
|
+
OpName2["RESIZE"] = "resize";
|
|
25
|
+
OpName2["ROTATE"] = "rotate";
|
|
26
|
+
OpName2["SATURATE"] = "saturate";
|
|
27
|
+
return OpName2;
|
|
28
|
+
})(OpName || {});
|
|
29
|
+
var TransformErrCodes = /* @__PURE__ */ ((TransformErrCodes2) => {
|
|
30
|
+
TransformErrCodes2["PROCESS_TIMEOUT"] = "process-timeout";
|
|
31
|
+
TransformErrCodes2["OP_TIMEOUT"] = "op-timeout";
|
|
32
|
+
TransformErrCodes2["WIDTH_LIMIT_EXCEEDED"] = "width-limit-exceeded";
|
|
33
|
+
TransformErrCodes2["HEIGHT_LIMIT_EXCEEDED"] = "height-limit-exceeded";
|
|
34
|
+
TransformErrCodes2["UNKNOWN_ERROR"] = "unknown-error";
|
|
35
|
+
return TransformErrCodes2;
|
|
36
|
+
})(TransformErrCodes || {});
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
OpName,
|
|
40
|
+
TransformErrCodes,
|
|
41
|
+
types_exports
|
|
42
|
+
};
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
clamp
|
|
6
6
|
} from "./chunk-OSAXBA7G.js";
|
|
7
7
|
import {
|
|
8
|
-
cssColors,
|
|
9
8
|
isCmyk,
|
|
10
9
|
isCssColor,
|
|
11
10
|
isHex,
|
|
@@ -15,7 +14,10 @@ import {
|
|
|
15
14
|
isLch,
|
|
16
15
|
isRgb,
|
|
17
16
|
isXyz
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-67V4BGOB.js";
|
|
18
|
+
import {
|
|
19
|
+
cssColors
|
|
20
|
+
} from "./chunk-7UGMWTP5.js";
|
|
19
21
|
|
|
20
22
|
// src/agnostic/colors/convert/index.ts
|
|
21
23
|
function _hex2rgb(hex) {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
grayscale
|
|
3
|
+
} from "./chunk-WSC3WODJ.js";
|
|
4
|
+
import {
|
|
5
|
+
lerp
|
|
6
|
+
} from "./chunk-XPGAVZGK.js";
|
|
7
|
+
import {
|
|
8
|
+
invert
|
|
9
|
+
} from "./chunk-EGBJXHCW.js";
|
|
10
|
+
import {
|
|
11
|
+
palette
|
|
12
|
+
} from "./chunk-MFIGSRSO.js";
|
|
13
|
+
import {
|
|
14
|
+
rotate
|
|
15
|
+
} from "./chunk-YXLHZ2KW.js";
|
|
16
|
+
import {
|
|
17
|
+
contrast
|
|
18
|
+
} from "./chunk-5CTAKAIP.js";
|
|
19
|
+
import {
|
|
20
|
+
luminance
|
|
21
|
+
} from "./chunk-3LCD73SB.js";
|
|
22
|
+
import {
|
|
23
|
+
addChannel,
|
|
24
|
+
getChannel,
|
|
25
|
+
multChannel,
|
|
26
|
+
setChannel
|
|
27
|
+
} from "./chunk-NCYE5WML.js";
|
|
28
|
+
import {
|
|
29
|
+
distance
|
|
30
|
+
} from "./chunk-L7PIZQFC.js";
|
|
31
|
+
import {
|
|
32
|
+
tidy,
|
|
33
|
+
toCmyk,
|
|
34
|
+
toHsb,
|
|
35
|
+
toHsl,
|
|
36
|
+
toLab,
|
|
37
|
+
toLch,
|
|
38
|
+
toRgb,
|
|
39
|
+
toXyz,
|
|
40
|
+
viaCmyk,
|
|
41
|
+
viaHsb,
|
|
42
|
+
viaHsl,
|
|
43
|
+
viaLab,
|
|
44
|
+
viaLch,
|
|
45
|
+
viaRgb,
|
|
46
|
+
viaXyz
|
|
47
|
+
} from "./chunk-FNQAF6CQ.js";
|
|
48
|
+
import {
|
|
49
|
+
isCmyk,
|
|
50
|
+
isColor,
|
|
51
|
+
isCssColor,
|
|
52
|
+
isHex,
|
|
53
|
+
isHsb,
|
|
54
|
+
isHsl,
|
|
55
|
+
isLab,
|
|
56
|
+
isLch,
|
|
57
|
+
isRgb,
|
|
58
|
+
isXyz
|
|
59
|
+
} from "./chunk-67V4BGOB.js";
|
|
60
|
+
import {
|
|
61
|
+
types_exports
|
|
62
|
+
} from "./chunk-7UGMWTP5.js";
|
|
63
|
+
import {
|
|
64
|
+
__export
|
|
65
|
+
} from "./chunk-WSFCRVEQ.js";
|
|
66
|
+
|
|
67
|
+
// src/agnostic/colors/index.ts
|
|
68
|
+
var colors_exports = {};
|
|
69
|
+
__export(colors_exports, {
|
|
70
|
+
Types: () => types_exports,
|
|
71
|
+
addChannel: () => addChannel,
|
|
72
|
+
contrast: () => contrast,
|
|
73
|
+
distance: () => distance,
|
|
74
|
+
getChannel: () => getChannel,
|
|
75
|
+
grayscale: () => grayscale,
|
|
76
|
+
invert: () => invert,
|
|
77
|
+
isCmyk: () => isCmyk,
|
|
78
|
+
isColor: () => isColor,
|
|
79
|
+
isCssColor: () => isCssColor,
|
|
80
|
+
isHex: () => isHex,
|
|
81
|
+
isHsb: () => isHsb,
|
|
82
|
+
isHsl: () => isHsl,
|
|
83
|
+
isLab: () => isLab,
|
|
84
|
+
isLch: () => isLch,
|
|
85
|
+
isRgb: () => isRgb,
|
|
86
|
+
isXyz: () => isXyz,
|
|
87
|
+
lerp: () => lerp,
|
|
88
|
+
luminance: () => luminance,
|
|
89
|
+
multChannel: () => multChannel,
|
|
90
|
+
palette: () => palette,
|
|
91
|
+
rotate: () => rotate,
|
|
92
|
+
setChannel: () => setChannel,
|
|
93
|
+
tidy: () => tidy,
|
|
94
|
+
toCmyk: () => toCmyk,
|
|
95
|
+
toHsb: () => toHsb,
|
|
96
|
+
toHsl: () => toHsl,
|
|
97
|
+
toLab: () => toLab,
|
|
98
|
+
toLch: () => toLch,
|
|
99
|
+
toRgb: () => toRgb,
|
|
100
|
+
toXyz: () => toXyz,
|
|
101
|
+
viaCmyk: () => viaCmyk,
|
|
102
|
+
viaHsb: () => viaHsb,
|
|
103
|
+
viaHsl: () => viaHsl,
|
|
104
|
+
viaLab: () => viaLab,
|
|
105
|
+
viaLch: () => viaLch,
|
|
106
|
+
viaRgb: () => viaRgb,
|
|
107
|
+
viaXyz: () => viaXyz
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export {
|
|
111
|
+
colors_exports
|
|
112
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
findDuplicates
|
|
3
|
+
} from "./chunk-YS6WMSWC.js";
|
|
4
|
+
import {
|
|
5
|
+
isArrayOf
|
|
6
|
+
} from "./chunk-6RGDWX4A.js";
|
|
5
7
|
import {
|
|
6
8
|
make
|
|
7
9
|
} from "./chunk-RLAZR3NL.js";
|
|
10
|
+
import {
|
|
11
|
+
randomPick,
|
|
12
|
+
randomPickMany
|
|
13
|
+
} from "./chunk-B446JIN3.js";
|
|
8
14
|
import {
|
|
9
15
|
shuffle
|
|
10
16
|
} from "./chunk-VJJIYJMY.js";
|
|
11
|
-
import {
|
|
12
|
-
findDuplicates
|
|
13
|
-
} from "./chunk-YS6WMSWC.js";
|
|
14
|
-
import {
|
|
15
|
-
isArrayOf
|
|
16
|
-
} from "./chunk-6RGDWX4A.js";
|
|
17
17
|
|
|
18
18
|
// src/agnostic/arrays/index.tsx
|
|
19
19
|
var Arrays;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
thumbnails_exports
|
|
3
|
+
} from "./chunk-JBSS64SA.js";
|
|
4
|
+
import {
|
|
5
|
+
__export
|
|
6
|
+
} from "./chunk-WSFCRVEQ.js";
|
|
7
|
+
|
|
8
|
+
// src/node/@design-edito/index.ts
|
|
9
|
+
var design_edito_exports = {};
|
|
10
|
+
__export(design_edito_exports, {
|
|
11
|
+
Thumbnails: () => thumbnails_exports
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
design_edito_exports
|
|
16
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createScale,
|
|
3
|
+
getHarmonic
|
|
4
|
+
} from "./chunk-KXIA3YGF.js";
|
|
5
|
+
import {
|
|
6
|
+
round
|
|
7
|
+
} from "./chunk-EOE2ODJR.js";
|
|
8
|
+
import {
|
|
9
|
+
interpolate
|
|
10
|
+
} from "./chunk-BJAYUP7M.js";
|
|
11
|
+
import {
|
|
12
|
+
absoluteModulo
|
|
13
|
+
} from "./chunk-DNIOWD7K.js";
|
|
14
|
+
import {
|
|
15
|
+
clamp
|
|
16
|
+
} from "./chunk-OSAXBA7G.js";
|
|
17
|
+
|
|
18
|
+
// src/agnostic/numbers/index.ts
|
|
19
|
+
var Numbers;
|
|
20
|
+
((Numbers2) => {
|
|
21
|
+
Numbers2.absoluteModulo = absoluteModulo;
|
|
22
|
+
Numbers2.clamp = clamp;
|
|
23
|
+
Numbers2.interpolate = interpolate;
|
|
24
|
+
Numbers2.getHarmonic = getHarmonic;
|
|
25
|
+
Numbers2.createScale = createScale;
|
|
26
|
+
Numbers2.round = round;
|
|
27
|
+
})(Numbers || (Numbers = {}));
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
Numbers
|
|
31
|
+
};
|