@design-edito/tools 0.2.11 → 0.2.12
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 +11 -11
- package/agnostic/arrays/random-pick/index.js +6 -6
- package/agnostic/colors/index.js +9 -9
- package/agnostic/colors/lighten-color/index.js +2 -2
- package/agnostic/colors/saturate-color/index.js +2 -2
- package/agnostic/css/index.js +20 -20
- package/agnostic/css/styles-set/index.js +8 -8
- package/agnostic/errors/index.js +2 -2
- 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 +22 -22
- package/agnostic/html/sanitize/index.js +6 -6
- package/agnostic/html/selector-to-element/index.js +6 -6
- package/agnostic/html/string-to-nodes/index.js +7 -7
- package/agnostic/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/data-size/index.d.ts +1 -1
- package/agnostic/misc/data-size/index.js +1 -1
- package/agnostic/misc/index.js +30 -30
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +15 -15
- package/agnostic/numbers/index.js +7 -7
- package/agnostic/numbers/responsive-harmonics/index.js +2 -2
- package/agnostic/numbers/round/index.d.ts +2 -0
- package/agnostic/numbers/round/index.js +5 -1
- package/agnostic/objects/index.js +8 -8
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.js +14 -14
- package/agnostic/time/index.js +4 -4
- package/chunks/{chunk-3UIJ4IYZ.js → chunk-2J5PIJ7N.js} +6 -6
- package/chunks/{chunk-7NM3LHIZ.js → chunk-5CUF5ZK2.js} +4 -4
- package/chunks/{chunk-WJMBLQRX.js → chunk-AQBJ6HNB.js} +1 -1
- package/chunks/{chunk-H54GDVNS.js → chunk-CFE44ZUR.js} +2 -2
- package/chunks/{chunk-KFDXJEQ7.js → chunk-EAAX4SOA.js} +14 -14
- package/chunks/chunk-EOE2ODJR.js +19 -0
- package/chunks/{chunk-XIYECYET.js → chunk-HRSRRKOC.js} +22 -22
- package/chunks/{chunk-UYTXXUU7.js → chunk-KXIA3YGF.js} +1 -1
- package/chunks/{chunk-RVVJ4QD4.js → chunk-PLIJVLAB.js} +2 -2
- package/chunks/{chunk-7DV4CM2Z.js → chunk-SDKHL27Y.js} +15 -15
- package/chunks/{chunk-CK73EBO5.js → chunk-SKBOSWM2.js} +1 -1
- package/chunks/{chunk-7NO34XJI.js → chunk-TIER4TF4.js} +2 -2
- package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
- package/chunks/{chunk-SH4ACYVB.js → chunk-WNP3U5KJ.js} +5 -5
- package/chunks/{chunk-PJDZMLNG.js → chunk-XB3EGDBI.js} +1 -1
- package/chunks/{chunk-WFED6NDN.js → chunk-ZBBU2P4D.js} +2 -2
- package/chunks/{chunk-HKNCJOAR.js → chunk-ZLPSLEWD.js} +4 -4
- package/node/@aws-s3/index.js +10 -10
- package/node/@aws-s3/storage/directory/index.js +4 -4
- package/node/@aws-s3/storage/file/index.js +10 -10
- package/node/@aws-s3/storage/index.js +10 -10
- package/node/@google-cloud/index.js +14 -14
- package/node/@google-cloud/storage/bucket/index.js +4 -4
- package/node/@google-cloud/storage/directory/index.js +4 -4
- package/node/@google-cloud/storage/file/index.js +15 -15
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +16 -16
- package/node/cloud-storage/index.js +44 -44
- 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 +53 -53
- 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/files/index.js +3 -3
- package/node/ftps/directory/index.js +6 -6
- package/node/ftps/file/index.js +5 -5
- package/node/ftps/index.js +10 -10
- package/node/images/index.js +9 -9
- package/node/images/transform/index.js +6 -6
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +12 -12
- package/node/sftp/index.js +11 -11
- package/package.json +1 -1
- package/chunks/chunk-32IRF4OP.js +0 -9
- package/chunks/{chunk-MRCJT2LW.js → chunk-24ZUWYIR.js} +3 -3
- package/chunks/{chunk-X5F6XGEP.js → chunk-4HPG6TEE.js} +3 -3
- package/chunks/{chunk-B2A3V4QD.js → chunk-5VOJAEZH.js} +17 -17
- package/chunks/{chunk-N7TMNMOK.js → chunk-646R6BQZ.js} +3 -3
- package/chunks/{chunk-RG5U7D3R.js → chunk-6NLNUGBI.js} +3 -3
- package/chunks/{chunk-MQMIN4B7.js → chunk-AY7SJG3R.js} +9 -9
- package/chunks/{chunk-6AYH6N4T.js → chunk-CA3UPHYO.js} +3 -3
- package/chunks/{chunk-E7JWKPHC.js → chunk-DPQRXSZH.js} +3 -3
- package/chunks/{chunk-IIMYMEJ6.js → chunk-EOTOFHUR.js} +3 -3
- package/chunks/{chunk-GGT2PUZH.js → chunk-FR5H2OCV.js} +3 -3
- package/chunks/{chunk-AK5LBEW3.js → chunk-FS6LRTDK.js} +3 -3
- package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
- package/chunks/{chunk-ZBAKY6DB.js → chunk-G6C3VTOA.js} +3 -3
- package/chunks/{chunk-IH6TPXGZ.js → chunk-H4LW6FP3.js} +3 -3
- package/chunks/{chunk-A7K5DUP7.js → chunk-IGFA7IDA.js} +3 -3
- package/chunks/{chunk-TRGMY56Q.js → chunk-LE23WL3C.js} +5 -5
- package/chunks/{chunk-ZGCSADRX.js → chunk-LRBVQNQI.js} +4 -4
- package/chunks/{chunk-Y26GZH2J.js → chunk-LV4WOREW.js} +11 -11
- package/chunks/{chunk-PXRLKO5Y.js → chunk-MB7HWF22.js} +3 -3
- package/chunks/{chunk-XV6XLBSP.js → chunk-MWB5N33V.js} +10 -10
- package/chunks/{chunk-I3LKH6JC.js → chunk-NOLQR5RW.js} +3 -3
- package/chunks/{chunk-JZ6QNL7U.js → chunk-OA7Y2A5T.js} +3 -3
- package/chunks/{chunk-UEAMPAHK.js → chunk-OMTDHKJI.js} +3 -3
- package/chunks/{chunk-S32K7POB.js → chunk-OVG5RGI3.js} +4 -4
- package/chunks/{chunk-MJQF3YZO.js → chunk-QN3UAKIU.js} +3 -3
- package/chunks/{chunk-3LAWRHHB.js → chunk-U57Q62IN.js} +3 -3
- package/chunks/{chunk-NSB5NOKA.js → chunk-UK4HNSEJ.js} +3 -3
- package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
array
|
|
3
|
+
} from "./chunk-QAQZEKIF.js";
|
|
4
4
|
import {
|
|
5
5
|
nullFunc
|
|
6
6
|
} from "./chunk-QAVYONH6.js";
|
|
7
|
-
import {
|
|
8
|
-
Serialize
|
|
9
|
-
} from "./chunk-SXRWMH3U.js";
|
|
10
7
|
import {
|
|
11
8
|
Types
|
|
12
9
|
} from "./chunk-XEQ2PBT2.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
11
|
+
any
|
|
12
|
+
} from "./chunk-FHLCPVND.js";
|
|
16
13
|
import {
|
|
17
14
|
SmartTags
|
|
18
15
|
} from "./chunk-UT2J62LH.js";
|
|
16
|
+
import {
|
|
17
|
+
Serialize
|
|
18
|
+
} from "./chunk-SXRWMH3U.js";
|
|
19
19
|
import {
|
|
20
20
|
Transformer
|
|
21
21
|
} from "./chunk-BKO7GLC2.js";
|
|
@@ -34,12 +34,12 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
recordMap
|
|
36
36
|
} from "./chunk-XNF5MLCQ.js";
|
|
37
|
-
import {
|
|
38
|
-
Outcome
|
|
39
|
-
} from "./chunk-JMU5PDBD.js";
|
|
40
37
|
import {
|
|
41
38
|
replaceAll
|
|
42
39
|
} from "./chunk-ZTDVUXPR.js";
|
|
40
|
+
import {
|
|
41
|
+
Outcome
|
|
42
|
+
} from "./chunk-JMU5PDBD.js";
|
|
43
43
|
import {
|
|
44
44
|
trimEnd,
|
|
45
45
|
trimStart
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
upload as upload2
|
|
9
9
|
} from "./chunk-QDVDHFMZ.js";
|
|
10
|
+
import {
|
|
11
|
+
upload
|
|
12
|
+
} from "./chunk-CVDCTI7F.js";
|
|
10
13
|
import {
|
|
11
14
|
isFtpClient,
|
|
12
15
|
isGcsBucket,
|
|
13
16
|
isS3ClientWithBucket,
|
|
14
17
|
isSftpClient
|
|
15
18
|
} from "./chunk-V3GX7SIJ.js";
|
|
16
|
-
import {
|
|
17
|
-
upload
|
|
18
|
-
} from "./chunk-CVDCTI7F.js";
|
|
19
19
|
import {
|
|
20
20
|
Outcome
|
|
21
21
|
} from "./chunk-JMU5PDBD.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
copy as copy2
|
|
9
9
|
} from "./chunk-QH64MYGA.js";
|
|
10
|
+
import {
|
|
11
|
+
copy
|
|
12
|
+
} from "./chunk-NMYVJJXV.js";
|
|
10
13
|
import {
|
|
11
14
|
isFtpClient,
|
|
12
15
|
isGcsBucket,
|
|
13
16
|
isS3ClientWithBucket,
|
|
14
17
|
isSftpClient
|
|
15
18
|
} from "./chunk-V3GX7SIJ.js";
|
|
16
|
-
import {
|
|
17
|
-
copy
|
|
18
|
-
} from "./chunk-NMYVJJXV.js";
|
|
19
19
|
import {
|
|
20
20
|
Outcome
|
|
21
21
|
} from "./chunk-JMU5PDBD.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
get_metadata_exports
|
|
3
3
|
} from "./chunk-ZNA7SWFK.js";
|
|
4
|
-
import {
|
|
5
|
-
list_exports
|
|
6
|
-
} from "./chunk-37TRFYZT.js";
|
|
7
4
|
import {
|
|
8
5
|
move_dir_exports
|
|
9
6
|
} from "./chunk-BWYH445G.js";
|
|
7
|
+
import {
|
|
8
|
+
list_exports
|
|
9
|
+
} from "./chunk-37TRFYZT.js";
|
|
10
10
|
import {
|
|
11
11
|
remove_dir_exports
|
|
12
12
|
} from "./chunk-QLDN574K.js";
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
random,
|
|
3
|
-
randomInt
|
|
4
|
-
} from "./chunk-D3ERTRDW.js";
|
|
5
1
|
import {
|
|
6
2
|
randomHash,
|
|
7
3
|
randomHashPattern,
|
|
@@ -11,6 +7,10 @@ import {
|
|
|
11
7
|
hexChars,
|
|
12
8
|
randomHexChar
|
|
13
9
|
} from "./chunk-OGBUSUE6.js";
|
|
10
|
+
import {
|
|
11
|
+
random,
|
|
12
|
+
randomInt
|
|
13
|
+
} from "./chunk-D3ERTRDW.js";
|
|
14
14
|
|
|
15
15
|
// src/agnostic/random/index.ts
|
|
16
16
|
var Random;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
RGBToHSL
|
|
3
|
-
} from "./chunk-YVLJKJV2.js";
|
|
4
1
|
import {
|
|
5
2
|
HSLToRGB
|
|
6
3
|
} from "./chunk-QLC3A6PC.js";
|
|
4
|
+
import {
|
|
5
|
+
RGBToHSL
|
|
6
|
+
} from "./chunk-YVLJKJV2.js";
|
|
7
7
|
|
|
8
8
|
// src/agnostic/colors/lighten-color/index.ts
|
|
9
9
|
function lightenColor(color, intensity = 20) {
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
stat as stat2
|
|
9
9
|
} from "./chunk-TGVYEQIA.js";
|
|
10
|
+
import {
|
|
11
|
+
stat
|
|
12
|
+
} from "./chunk-CNYSX2L2.js";
|
|
10
13
|
import {
|
|
11
14
|
isFtpClient,
|
|
12
15
|
isGcsBucket,
|
|
13
16
|
isS3ClientWithBucket,
|
|
14
17
|
isSftpClient
|
|
15
18
|
} from "./chunk-V3GX7SIJ.js";
|
|
16
|
-
import {
|
|
17
|
-
stat
|
|
18
|
-
} from "./chunk-CNYSX2L2.js";
|
|
19
19
|
import {
|
|
20
20
|
Outcome
|
|
21
21
|
} from "./chunk-JMU5PDBD.js";
|