@design-edito/tools 0.2.12 → 0.2.14
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/colors/index.js +7 -7
- package/agnostic/css/index.js +13 -13
- 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 +12 -12
- package/agnostic/misc/data-size/index.d.ts +26 -0
- package/agnostic/misc/data-size/index.js +27 -1
- package/agnostic/misc/index.js +21 -21
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +8 -8
- package/agnostic/numbers/index.js +5 -5
- package/agnostic/objects/index.js +13 -13
- package/agnostic/strings/index.js +15 -15
- package/agnostic/time/index.js +4 -4
- package/chunks/{chunk-ZLPSLEWD.js → chunk-3TA4CDWX.js} +4 -4
- package/chunks/{chunk-5VOJAEZH.js → chunk-DEW6LPOS.js} +31 -20
- package/chunks/{chunk-WNP3U5KJ.js → chunk-DWCRT664.js} +5 -5
- package/chunks/{chunk-SDKHL27Y.js → chunk-G4ZB72XY.js} +52 -0
- package/chunks/{chunk-EAAX4SOA.js → chunk-GU34O65H.js} +14 -14
- package/chunks/{chunk-5CUF5ZK2.js → chunk-HMZMKLMR.js} +3 -3
- package/chunks/chunk-IFQA5PWI.js +112 -0
- package/chunks/{chunk-CFE44ZUR.js → chunk-KRDVV6K3.js} +2 -2
- package/node/@aws-s3/index.js +8 -8
- package/node/@aws-s3/storage/directory/index.js +4 -4
- package/node/@aws-s3/storage/file/index.js +8 -8
- package/node/@aws-s3/storage/index.js +8 -8
- package/node/@google-cloud/index.js +13 -13
- 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 +26 -26
- package/node/cloud-storage/operations/index.js +33 -33
- package/node/files/index.js +3 -3
- package/node/ftps/directory/index.js +4 -4
- package/node/ftps/file/index.js +8 -8
- package/node/ftps/index.js +7 -7
- package/node/images/index.js +11 -10
- package/node/images/transform/index.d.ts +9 -2
- package/node/images/transform/index.js +8 -7
- package/node/images/transform/operations/composite/index.d.ts +7 -0
- package/node/images/transform/operations/composite/index.js +12 -0
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +8 -8
- package/node/sftp/index.js +7 -7
- package/package.json +1 -1
- package/chunks/{chunk-2J5PIJ7N.js → chunk-5TRAENM3.js} +9 -9
- package/chunks/{chunk-AY7SJG3R.js → chunk-6EJIBLPQ.js} +7 -7
- package/chunks/{chunk-IGFA7IDA.js → chunk-A7K5DUP7.js} +3 -3
- package/chunks/{chunk-HRSRRKOC.js → chunk-C5BQQUAG.js} +12 -12
- package/chunks/{chunk-LE23WL3C.js → chunk-CNMP2GU4.js} +3 -3
- package/chunks/{chunk-LV4WOREW.js → chunk-LEYJ4I5W.js} +7 -7
- package/chunks/{chunk-QN3UAKIU.js → chunk-MJQF3YZO.js} +3 -3
- package/chunks/{chunk-MWB5N33V.js → chunk-NRABY36Z.js} +9 -9
- package/chunks/{chunk-LRBVQNQI.js → chunk-S5MTHWQ7.js} +7 -7
- package/chunks/{chunk-OMTDHKJI.js → chunk-UEAMPAHK.js} +3 -3
- package/chunks/{chunk-4HPG6TEE.js → chunk-X5F6XGEP.js} +3 -3
- package/chunks/{chunk-G6C3VTOA.js → chunk-ZBAKY6DB.js} +3 -3
- package/chunks/{chunk-G5RRNREY.js → chunk-ZPDKBMUH.js} +3 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
text
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../../../chunks/chunk-NRABY36Z.js";
|
|
4
4
|
import "../../../../../../chunks/chunk-QAQZEKIF.js";
|
|
5
5
|
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
|
6
6
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
|
7
8
|
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
|
8
9
|
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
|
10
10
|
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
|
11
11
|
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
13
14
|
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
14
15
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
15
|
-
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
16
|
-
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
|
17
16
|
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
|
18
17
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
|
19
19
|
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
|
20
20
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
21
21
|
export {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tree
|
|
3
|
-
} from "../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../chunks/chunk-NRABY36Z.js";
|
|
4
4
|
import "../../../../chunks/chunk-QAQZEKIF.js";
|
|
5
5
|
import "../../../../chunks/chunk-QAVYONH6.js";
|
|
6
6
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
|
7
|
+
import "../../../../chunks/chunk-SXRWMH3U.js";
|
|
7
8
|
import "../../../../chunks/chunk-FHLCPVND.js";
|
|
8
9
|
import "../../../../chunks/chunk-UT2J62LH.js";
|
|
9
|
-
import "../../../../chunks/chunk-SXRWMH3U.js";
|
|
10
10
|
import "../../../../chunks/chunk-BKO7GLC2.js";
|
|
11
11
|
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
+
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
13
14
|
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
14
15
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
|
15
|
-
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
16
|
-
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
|
17
16
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
|
18
17
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
+
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
|
19
19
|
import "../../../../chunks/chunk-RLJOYG64.js";
|
|
20
20
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
|
21
21
|
export {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Utils
|
|
3
|
-
} from "../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../chunks/chunk-NRABY36Z.js";
|
|
4
4
|
import "../../../../chunks/chunk-QAQZEKIF.js";
|
|
5
5
|
import "../../../../chunks/chunk-QAVYONH6.js";
|
|
6
6
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
|
7
|
+
import "../../../../chunks/chunk-SXRWMH3U.js";
|
|
7
8
|
import "../../../../chunks/chunk-FHLCPVND.js";
|
|
8
9
|
import "../../../../chunks/chunk-UT2J62LH.js";
|
|
9
|
-
import "../../../../chunks/chunk-SXRWMH3U.js";
|
|
10
10
|
import "../../../../chunks/chunk-BKO7GLC2.js";
|
|
11
11
|
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
+
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
13
14
|
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
14
15
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
|
15
|
-
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
16
|
-
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
|
17
16
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
|
18
17
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
+
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
|
19
19
|
import "../../../../chunks/chunk-RLJOYG64.js";
|
|
20
20
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
|
21
21
|
export {
|
package/agnostic/html/index.js
CHANGED
|
@@ -2,41 +2,41 @@ import {
|
|
|
2
2
|
Placeholders
|
|
3
3
|
} from "../../chunks/chunk-VYW4IADX.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "../../chunks/chunk-
|
|
5
|
+
selectorToElement
|
|
6
|
+
} from "../../chunks/chunk-SKBOSWM2.js";
|
|
7
7
|
import {
|
|
8
8
|
stringToNodes
|
|
9
9
|
} from "../../chunks/chunk-ZBBU2P4D.js";
|
|
10
10
|
import {
|
|
11
11
|
Sanitize
|
|
12
12
|
} from "../../chunks/chunk-XB3EGDBI.js";
|
|
13
|
-
import {
|
|
14
|
-
selectorToElement
|
|
15
|
-
} from "../../chunks/chunk-SKBOSWM2.js";
|
|
16
13
|
import {
|
|
17
14
|
HyperJson
|
|
18
|
-
} from "../../chunks/chunk-
|
|
19
|
-
import "../../chunks/chunk-
|
|
15
|
+
} from "../../chunks/chunk-3TA4CDWX.js";
|
|
16
|
+
import "../../chunks/chunk-NRABY36Z.js";
|
|
20
17
|
import "../../chunks/chunk-QAQZEKIF.js";
|
|
21
18
|
import "../../chunks/chunk-QAVYONH6.js";
|
|
22
19
|
import "../../chunks/chunk-XEQ2PBT2.js";
|
|
20
|
+
import "../../chunks/chunk-SXRWMH3U.js";
|
|
23
21
|
import "../../chunks/chunk-FHLCPVND.js";
|
|
24
22
|
import "../../chunks/chunk-UT2J62LH.js";
|
|
25
|
-
import "../../chunks/chunk-SXRWMH3U.js";
|
|
26
23
|
import "../../chunks/chunk-BKO7GLC2.js";
|
|
27
24
|
import "../../chunks/chunk-RW7VAKJW.js";
|
|
25
|
+
import {
|
|
26
|
+
insertNode
|
|
27
|
+
} from "../../chunks/chunk-XA4HVHJ4.js";
|
|
28
28
|
import {
|
|
29
29
|
getPositionInsideParent
|
|
30
30
|
} from "../../chunks/chunk-VTPRO4NJ.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "../../chunks/chunk-
|
|
32
|
+
getNodeAncestors
|
|
33
|
+
} from "../../chunks/chunk-LUPVHC73.js";
|
|
34
|
+
import "../../chunks/chunk-XNF5MLCQ.js";
|
|
34
35
|
import "../../chunks/chunk-E6MSDKON.js";
|
|
35
36
|
import "../../chunks/chunk-YDIBNEGA.js";
|
|
36
|
-
import "../../chunks/chunk-XNF5MLCQ.js";
|
|
37
|
-
import "../../chunks/chunk-ZTDVUXPR.js";
|
|
38
37
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
39
38
|
import "../../chunks/chunk-6XL25OZX.js";
|
|
39
|
+
import "../../chunks/chunk-ZTDVUXPR.js";
|
|
40
40
|
import "../../chunks/chunk-TIER4TF4.js";
|
|
41
41
|
import "../../chunks/chunk-FR5H2OCV.js";
|
|
42
42
|
import "../../chunks/chunk-S2NMAH7K.js";
|
|
@@ -10,30 +10,56 @@ export declare class DataSize {
|
|
|
10
10
|
constructor(value: number, unit: Unit | UnitShort);
|
|
11
11
|
toBits(): number;
|
|
12
12
|
toBytes(): number;
|
|
13
|
+
toB: () => number;
|
|
13
14
|
toKiloBytes(): number;
|
|
15
|
+
toKB: () => number;
|
|
14
16
|
toMegabytes(): number;
|
|
17
|
+
toMB: () => number;
|
|
15
18
|
toGigabytes(): number;
|
|
19
|
+
toGB: () => number;
|
|
16
20
|
toTerabytes(): number;
|
|
21
|
+
toTB: () => number;
|
|
17
22
|
toPetabytes(): number;
|
|
23
|
+
toPB: () => number;
|
|
18
24
|
toExabytes(): number;
|
|
25
|
+
toEB: () => number;
|
|
19
26
|
toKibibytes(): number;
|
|
27
|
+
toKiB: () => number;
|
|
20
28
|
toMebibytes(): number;
|
|
29
|
+
toMiB: () => number;
|
|
21
30
|
toGibibytes(): number;
|
|
31
|
+
toGiB: () => number;
|
|
22
32
|
toTebibytes(): number;
|
|
33
|
+
toTiB: () => number;
|
|
23
34
|
toPebibytes(): number;
|
|
35
|
+
toPiB: () => number;
|
|
24
36
|
toExbibytes(): number;
|
|
37
|
+
toEiB: () => number;
|
|
25
38
|
}
|
|
26
39
|
export declare function bits(value: number): DataSize;
|
|
27
40
|
export declare function bytes(value: number): DataSize;
|
|
41
|
+
export declare const B: typeof bytes;
|
|
28
42
|
export declare function kiloBytes(value: number): DataSize;
|
|
43
|
+
export declare const KB: typeof kiloBytes;
|
|
29
44
|
export declare function megaBytes(value: number): DataSize;
|
|
45
|
+
export declare const MB: typeof megaBytes;
|
|
30
46
|
export declare function gigabytes(value: number): DataSize;
|
|
47
|
+
export declare const GB: typeof gigabytes;
|
|
31
48
|
export declare function terabytes(value: number): DataSize;
|
|
49
|
+
export declare const TB: typeof terabytes;
|
|
32
50
|
export declare function petabytes(value: number): DataSize;
|
|
51
|
+
export declare const PB: typeof petabytes;
|
|
33
52
|
export declare function exabytes(value: number): DataSize;
|
|
53
|
+
export declare const EB: typeof exabytes;
|
|
34
54
|
export declare function kibibytes(value: number): DataSize;
|
|
55
|
+
export declare const KiB: typeof kibibytes;
|
|
35
56
|
export declare function mebibytes(value: number): DataSize;
|
|
57
|
+
export declare const MiB: typeof mebibytes;
|
|
36
58
|
export declare function gibibytes(value: number): DataSize;
|
|
59
|
+
export declare const GiB: typeof gibibytes;
|
|
37
60
|
export declare function tebibytes(value: number): DataSize;
|
|
61
|
+
export declare const TiB: typeof tebibytes;
|
|
38
62
|
export declare function pebibytes(value: number): DataSize;
|
|
63
|
+
export declare const PiB: typeof pebibytes;
|
|
39
64
|
export declare function exbibytes(value: number): DataSize;
|
|
65
|
+
export declare const EiB: typeof exbibytes;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
+
B,
|
|
2
3
|
DataSize,
|
|
4
|
+
EB,
|
|
5
|
+
EiB,
|
|
6
|
+
GB,
|
|
7
|
+
GiB,
|
|
8
|
+
KB,
|
|
9
|
+
KiB,
|
|
10
|
+
MB,
|
|
11
|
+
MiB,
|
|
12
|
+
PB,
|
|
13
|
+
PiB,
|
|
14
|
+
TB,
|
|
15
|
+
TiB,
|
|
3
16
|
bits,
|
|
4
17
|
bytes,
|
|
5
18
|
exabytes,
|
|
@@ -14,10 +27,23 @@ import {
|
|
|
14
27
|
petabytes,
|
|
15
28
|
tebibytes,
|
|
16
29
|
terabytes
|
|
17
|
-
} from "../../../chunks/chunk-
|
|
30
|
+
} from "../../../chunks/chunk-G4ZB72XY.js";
|
|
18
31
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
19
32
|
export {
|
|
33
|
+
B,
|
|
20
34
|
DataSize,
|
|
35
|
+
EB,
|
|
36
|
+
EiB,
|
|
37
|
+
GB,
|
|
38
|
+
GiB,
|
|
39
|
+
KB,
|
|
40
|
+
KiB,
|
|
41
|
+
MB,
|
|
42
|
+
MiB,
|
|
43
|
+
PB,
|
|
44
|
+
PiB,
|
|
45
|
+
TB,
|
|
46
|
+
TiB,
|
|
21
47
|
bits,
|
|
22
48
|
bytes,
|
|
23
49
|
exabytes,
|
package/agnostic/misc/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Logs
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-L3OCRR3V.js";
|
|
3
|
+
} from "../../chunks/chunk-MJQF3YZO.js";
|
|
5
4
|
import "../../chunks/chunk-RASMASS4.js";
|
|
5
|
+
import "../../chunks/chunk-L3OCRR3V.js";
|
|
6
6
|
import "../../chunks/chunk-H4PP6AHP.js";
|
|
7
7
|
import {
|
|
8
8
|
LoremIpsum
|
|
9
|
-
} from "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-HMZMKLMR.js";
|
|
10
|
+
import {
|
|
11
|
+
Cast
|
|
12
|
+
} from "../../chunks/chunk-SNJJII7A.js";
|
|
10
13
|
import {
|
|
11
14
|
Assert
|
|
12
15
|
} from "../../chunks/chunk-WAMSK4A3.js";
|
|
13
16
|
import {
|
|
14
17
|
data_size_exports
|
|
15
|
-
} from "../../chunks/chunk-
|
|
18
|
+
} from "../../chunks/chunk-G4ZB72XY.js";
|
|
16
19
|
import {
|
|
17
20
|
Crawler
|
|
18
21
|
} from "../../chunks/chunk-YUP434IY.js";
|
|
@@ -20,25 +23,21 @@ import "../../chunks/chunk-4CIS3R7T.js";
|
|
|
20
23
|
import {
|
|
21
24
|
getCurrentDownlink
|
|
22
25
|
} from "../../chunks/chunk-7AWTHZLY.js";
|
|
23
|
-
import {
|
|
24
|
-
Cast
|
|
25
|
-
} from "../../chunks/chunk-SNJJII7A.js";
|
|
26
26
|
import {
|
|
27
27
|
Outcome
|
|
28
28
|
} from "../../chunks/chunk-JMU5PDBD.js";
|
|
29
|
-
import "../../chunks/chunk-2J5PIJ7N.js";
|
|
30
|
-
import "../../chunks/chunk-YS6WMSWC.js";
|
|
31
|
-
import "../../chunks/chunk-VJJIYJMY.js";
|
|
32
|
-
import "../../chunks/chunk-6RGDWX4A.js";
|
|
33
|
-
import {
|
|
34
|
-
isConstructorFunction
|
|
35
|
-
} from "../../chunks/chunk-RCO57B6F.js";
|
|
36
|
-
import "../../chunks/chunk-AQBJ6HNB.js";
|
|
37
|
-
import "../../chunks/chunk-RLAZR3NL.js";
|
|
38
29
|
import "../../chunks/chunk-OVG5RGI3.js";
|
|
39
30
|
import "../../chunks/chunk-75BICI4L.js";
|
|
40
31
|
import "../../chunks/chunk-OGBUSUE6.js";
|
|
41
32
|
import "../../chunks/chunk-D3ERTRDW.js";
|
|
33
|
+
import "../../chunks/chunk-QXAJXTXV.js";
|
|
34
|
+
import {
|
|
35
|
+
isNotNullish,
|
|
36
|
+
isNullish,
|
|
37
|
+
nullishValues
|
|
38
|
+
} from "../../chunks/chunk-HC6ZOHCS.js";
|
|
39
|
+
import "../../chunks/chunk-5TRAENM3.js";
|
|
40
|
+
import "../../chunks/chunk-AQBJ6HNB.js";
|
|
42
41
|
import "../../chunks/chunk-TIER4TF4.js";
|
|
43
42
|
import {
|
|
44
43
|
Crossenv
|
|
@@ -49,12 +48,13 @@ import "../../chunks/chunk-RLJOYG64.js";
|
|
|
49
48
|
import "../../chunks/chunk-WH6BPDAC.js";
|
|
50
49
|
import "../../chunks/chunk-QHLQVR3E.js";
|
|
51
50
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
52
|
-
import "../../chunks/chunk-
|
|
51
|
+
import "../../chunks/chunk-RLAZR3NL.js";
|
|
52
|
+
import "../../chunks/chunk-VJJIYJMY.js";
|
|
53
|
+
import "../../chunks/chunk-YS6WMSWC.js";
|
|
54
|
+
import "../../chunks/chunk-6RGDWX4A.js";
|
|
53
55
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
nullishValues
|
|
57
|
-
} from "../../chunks/chunk-HC6ZOHCS.js";
|
|
56
|
+
isConstructorFunction
|
|
57
|
+
} from "../../chunks/chunk-RCO57B6F.js";
|
|
58
58
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
59
59
|
|
|
60
60
|
// src/agnostic/misc/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Logs
|
|
3
|
-
} from "../../../chunks/chunk-
|
|
4
|
-
import "../../../chunks/chunk-L3OCRR3V.js";
|
|
3
|
+
} from "../../../chunks/chunk-MJQF3YZO.js";
|
|
5
4
|
import "../../../chunks/chunk-RASMASS4.js";
|
|
5
|
+
import "../../../chunks/chunk-L3OCRR3V.js";
|
|
6
6
|
import "../../../chunks/chunk-H4PP6AHP.js";
|
|
7
7
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
8
8
|
export {
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoremIpsum
|
|
3
|
-
} from "../../../chunks/chunk-
|
|
4
|
-
import "../../../chunks/chunk-2J5PIJ7N.js";
|
|
5
|
-
import "../../../chunks/chunk-YS6WMSWC.js";
|
|
6
|
-
import "../../../chunks/chunk-VJJIYJMY.js";
|
|
7
|
-
import "../../../chunks/chunk-6RGDWX4A.js";
|
|
8
|
-
import "../../../chunks/chunk-RCO57B6F.js";
|
|
9
|
-
import "../../../chunks/chunk-AQBJ6HNB.js";
|
|
10
|
-
import "../../../chunks/chunk-RLAZR3NL.js";
|
|
3
|
+
} from "../../../chunks/chunk-HMZMKLMR.js";
|
|
11
4
|
import "../../../chunks/chunk-OVG5RGI3.js";
|
|
12
5
|
import "../../../chunks/chunk-75BICI4L.js";
|
|
13
6
|
import "../../../chunks/chunk-OGBUSUE6.js";
|
|
14
7
|
import "../../../chunks/chunk-D3ERTRDW.js";
|
|
8
|
+
import "../../../chunks/chunk-5TRAENM3.js";
|
|
9
|
+
import "../../../chunks/chunk-AQBJ6HNB.js";
|
|
15
10
|
import "../../../chunks/chunk-TIER4TF4.js";
|
|
16
11
|
import "../../../chunks/chunk-FR5H2OCV.js";
|
|
17
12
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
|
@@ -20,6 +15,11 @@ import "../../../chunks/chunk-RLJOYG64.js";
|
|
|
20
15
|
import "../../../chunks/chunk-WH6BPDAC.js";
|
|
21
16
|
import "../../../chunks/chunk-QHLQVR3E.js";
|
|
22
17
|
import "../../../chunks/chunk-FENXVJYO.js";
|
|
18
|
+
import "../../../chunks/chunk-RLAZR3NL.js";
|
|
19
|
+
import "../../../chunks/chunk-VJJIYJMY.js";
|
|
20
|
+
import "../../../chunks/chunk-YS6WMSWC.js";
|
|
21
|
+
import "../../../chunks/chunk-6RGDWX4A.js";
|
|
22
|
+
import "../../../chunks/chunk-RCO57B6F.js";
|
|
23
23
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
24
24
|
export {
|
|
25
25
|
LoremIpsum
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
createScale,
|
|
3
|
+
getHarmonic
|
|
4
|
+
} from "../../chunks/chunk-KXIA3YGF.js";
|
|
4
5
|
import {
|
|
5
6
|
absoluteModulo
|
|
6
7
|
} from "../../chunks/chunk-DNIOWD7K.js";
|
|
@@ -8,9 +9,8 @@ import {
|
|
|
8
9
|
interpolate
|
|
9
10
|
} from "../../chunks/chunk-BJAYUP7M.js";
|
|
10
11
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "../../chunks/chunk-KXIA3YGF.js";
|
|
12
|
+
clamp
|
|
13
|
+
} from "../../chunks/chunk-OSAXBA7G.js";
|
|
14
14
|
import {
|
|
15
15
|
round
|
|
16
16
|
} from "../../chunks/chunk-EOE2ODJR.js";
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
recordFormat
|
|
3
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
|
4
|
+
import {
|
|
5
|
+
Validation
|
|
6
|
+
} from "../../chunks/chunk-FPEW3A27.js";
|
|
7
|
+
import {
|
|
8
|
+
recordMap
|
|
9
|
+
} from "../../chunks/chunk-XNF5MLCQ.js";
|
|
1
10
|
import {
|
|
2
11
|
Enums
|
|
3
12
|
} from "../../chunks/chunk-WOAYU6LB.js";
|
|
@@ -5,26 +14,17 @@ import "../../chunks/chunk-E6MSDKON.js";
|
|
|
5
14
|
import {
|
|
6
15
|
deepGetProperty
|
|
7
16
|
} from "../../chunks/chunk-SKMCIFS3.js";
|
|
8
|
-
import {
|
|
9
|
-
recordFormat
|
|
10
|
-
} from "../../chunks/chunk-YP64J65L.js";
|
|
11
|
-
import {
|
|
12
|
-
isNonNullObject,
|
|
13
|
-
isObject
|
|
14
|
-
} from "../../chunks/chunk-HQLRJ7XW.js";
|
|
15
17
|
import {
|
|
16
18
|
isRecord
|
|
17
19
|
} from "../../chunks/chunk-YDIBNEGA.js";
|
|
18
20
|
import {
|
|
19
21
|
flattenGetters
|
|
20
22
|
} from "../../chunks/chunk-VFJYLXCI.js";
|
|
21
|
-
import "../../chunks/chunk-SNJJII7A.js";
|
|
22
|
-
import {
|
|
23
|
-
recordMap
|
|
24
|
-
} from "../../chunks/chunk-XNF5MLCQ.js";
|
|
25
23
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
isNonNullObject,
|
|
25
|
+
isObject
|
|
26
|
+
} from "../../chunks/chunk-HQLRJ7XW.js";
|
|
27
|
+
import "../../chunks/chunk-SNJJII7A.js";
|
|
28
28
|
import "../../chunks/chunk-QXAJXTXV.js";
|
|
29
29
|
import "../../chunks/chunk-HC6ZOHCS.js";
|
|
30
30
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
replaceAll
|
|
3
|
-
} from "../../chunks/chunk-ZTDVUXPR.js";
|
|
4
|
-
import {
|
|
5
|
-
parseTable
|
|
6
|
-
} from "../../chunks/chunk-A3CDUWGR.js";
|
|
7
|
-
import "../../chunks/chunk-JMU5PDBD.js";
|
|
8
1
|
import {
|
|
9
2
|
CharCodes
|
|
10
3
|
} from "../../chunks/chunk-34U4HX4V.js";
|
|
11
4
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "../../chunks/chunk-6XL25OZX.js";
|
|
15
|
-
import {
|
|
16
|
-
toAlphanum
|
|
17
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
|
5
|
+
normalizeIndent
|
|
6
|
+
} from "../../chunks/chunk-JQXNEJAP.js";
|
|
18
7
|
import {
|
|
19
8
|
matches,
|
|
20
9
|
matchesEvery,
|
|
21
10
|
matchesSome
|
|
22
11
|
} from "../../chunks/chunk-R3AWQXMY.js";
|
|
23
12
|
import {
|
|
24
|
-
|
|
25
|
-
} from "../../chunks/chunk-
|
|
13
|
+
toAlphanum
|
|
14
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
|
15
|
+
import {
|
|
16
|
+
parseTable
|
|
17
|
+
} from "../../chunks/chunk-A3CDUWGR.js";
|
|
18
|
+
import "../../chunks/chunk-JMU5PDBD.js";
|
|
19
|
+
import {
|
|
20
|
+
trimEnd,
|
|
21
|
+
trimStart
|
|
22
|
+
} from "../../chunks/chunk-6XL25OZX.js";
|
|
23
|
+
import {
|
|
24
|
+
replaceAll
|
|
25
|
+
} from "../../chunks/chunk-ZTDVUXPR.js";
|
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
27
27
|
|
|
28
28
|
// src/agnostic/strings/index.ts
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/chunk-
|
|
2
|
+
timeout
|
|
3
|
+
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
|
4
4
|
import {
|
|
5
5
|
Transitions
|
|
6
6
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
} from "../../chunks/chunk-FZOU4OAW.js";
|
|
10
10
|
import "../../chunks/chunk-YQWZ3EP2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "../../chunks/chunk-
|
|
12
|
+
Duration
|
|
13
|
+
} from "../../chunks/chunk-6NYUQXJT.js";
|
|
14
14
|
import {
|
|
15
15
|
wait
|
|
16
16
|
} from "../../chunks/chunk-4CIS3R7T.js";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
Cast,
|
|
3
3
|
Tree,
|
|
4
4
|
Utils
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NRABY36Z.js";
|
|
6
6
|
import {
|
|
7
7
|
Types
|
|
8
8
|
} from "./chunk-XEQ2PBT2.js";
|
|
9
|
-
import {
|
|
10
|
-
SmartTags
|
|
11
|
-
} from "./chunk-UT2J62LH.js";
|
|
12
9
|
import {
|
|
13
10
|
Serialize
|
|
14
11
|
} from "./chunk-SXRWMH3U.js";
|
|
12
|
+
import {
|
|
13
|
+
SmartTags
|
|
14
|
+
} from "./chunk-UT2J62LH.js";
|
|
15
15
|
import {
|
|
16
16
|
Transformer
|
|
17
17
|
} from "./chunk-BKO7GLC2.js";
|
|
@@ -1,57 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
flop
|
|
3
|
-
} from "./chunk-YA2YCZUF.js";
|
|
4
1
|
import {
|
|
5
2
|
isLightenOperationParams,
|
|
6
3
|
lighten
|
|
7
4
|
} from "./chunk-RHKFMXM3.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./chunk-
|
|
6
|
+
composite,
|
|
7
|
+
isCompositeOperationParams
|
|
8
|
+
} from "./chunk-IFQA5PWI.js";
|
|
12
9
|
import {
|
|
13
10
|
hue,
|
|
14
11
|
isHueOperationParams
|
|
15
12
|
} from "./chunk-QSU3CVGF.js";
|
|
16
|
-
import {
|
|
17
|
-
isNormalizeOperationParams,
|
|
18
|
-
normalize
|
|
19
|
-
} from "./chunk-3G6FOHII.js";
|
|
20
13
|
import {
|
|
21
14
|
isSaturateOperationParams,
|
|
22
15
|
saturate
|
|
23
16
|
} from "./chunk-FQ4UTWMP.js";
|
|
17
|
+
import {
|
|
18
|
+
flip
|
|
19
|
+
} from "./chunk-WNDMYNDU.js";
|
|
20
|
+
import {
|
|
21
|
+
isNormalizeOperationParams,
|
|
22
|
+
normalize
|
|
23
|
+
} from "./chunk-3G6FOHII.js";
|
|
24
24
|
import {
|
|
25
25
|
isResizeOperationParams,
|
|
26
26
|
resize
|
|
27
27
|
} from "./chunk-EDJ3TVNV.js";
|
|
28
|
+
import {
|
|
29
|
+
flop
|
|
30
|
+
} from "./chunk-YA2YCZUF.js";
|
|
28
31
|
import {
|
|
29
32
|
isRotateOperationParams,
|
|
30
33
|
rotate
|
|
31
34
|
} from "./chunk-AI6AGF4I.js";
|
|
32
|
-
import {
|
|
33
|
-
brighten,
|
|
34
|
-
isBrightenOperationParams
|
|
35
|
-
} from "./chunk-SRXNICSE.js";
|
|
36
35
|
import {
|
|
37
36
|
blur,
|
|
38
37
|
isBlurOperationParams
|
|
39
38
|
} from "./chunk-P26Y7YUA.js";
|
|
40
39
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
brighten,
|
|
41
|
+
isBrightenOperationParams
|
|
42
|
+
} from "./chunk-SRXNICSE.js";
|
|
44
43
|
import {
|
|
45
44
|
extract,
|
|
46
45
|
isExtractOperationParams
|
|
47
46
|
} from "./chunk-HFZGH6V2.js";
|
|
47
|
+
import {
|
|
48
|
+
extend,
|
|
49
|
+
isExtendOperationParams
|
|
50
|
+
} from "./chunk-HMAK6VAF.js";
|
|
48
51
|
import {
|
|
49
52
|
flatten,
|
|
50
53
|
isFlattenOperationParams
|
|
51
54
|
} from "./chunk-2M33FCDG.js";
|
|
52
55
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
isLevelOperationParams,
|
|
57
|
+
level
|
|
58
|
+
} from "./chunk-2HJPX7E3.js";
|
|
55
59
|
import {
|
|
56
60
|
Outcome
|
|
57
61
|
} from "./chunk-JMU5PDBD.js";
|
|
@@ -74,6 +78,7 @@ import sharp from "sharp";
|
|
|
74
78
|
var OpName = /* @__PURE__ */ ((OpName2) => {
|
|
75
79
|
OpName2["BLUR"] = "blur";
|
|
76
80
|
OpName2["BRIGHTEN"] = "brighten";
|
|
81
|
+
OpName2["COMPOSITE"] = "composite";
|
|
77
82
|
OpName2["EXTEND"] = "extend";
|
|
78
83
|
OpName2["EXTRACT"] = "extract";
|
|
79
84
|
OpName2["FLATTEN"] = "flatten";
|
|
@@ -109,7 +114,8 @@ function isOperationDescriptor(obj) {
|
|
|
109
114
|
["normalize" /* NORMALIZE */]: isNormalizeOperationParams,
|
|
110
115
|
["resize" /* RESIZE */]: isResizeOperationParams,
|
|
111
116
|
["rotate" /* ROTATE */]: isRotateOperationParams,
|
|
112
|
-
["saturate" /* SATURATE */]: isSaturateOperationParams
|
|
117
|
+
["saturate" /* SATURATE */]: isSaturateOperationParams,
|
|
118
|
+
["composite" /* COMPOSITE */]: isCompositeOperationParams
|
|
113
119
|
};
|
|
114
120
|
const simpleOperations = /* @__PURE__ */ new Set(["flip" /* FLIP */, "flop" /* FLOP */]);
|
|
115
121
|
if (simpleOperations.has(name)) return Outcome.makeSuccess({ name });
|
|
@@ -126,6 +132,9 @@ var TransformErrCodes = /* @__PURE__ */ ((TransformErrCodes2) => {
|
|
|
126
132
|
return TransformErrCodes2;
|
|
127
133
|
})(TransformErrCodes || {});
|
|
128
134
|
async function transform(input, operationsSequence, limits) {
|
|
135
|
+
if (typeof input === "object" && "create" in input && input.create !== null) {
|
|
136
|
+
return transformSharpInstance(sharp(input), operationsSequence, limits);
|
|
137
|
+
}
|
|
129
138
|
if (Buffer.isBuffer(input)) return transformBuffer(input, operationsSequence, limits);
|
|
130
139
|
return transformSharpInstance(input, operationsSequence, limits);
|
|
131
140
|
}
|
|
@@ -176,6 +185,8 @@ async function transformSharpInstance(sharpInstance, operationsSequence, limits)
|
|
|
176
185
|
return rotate(sharpInstance, operation);
|
|
177
186
|
case "saturate" /* SATURATE */:
|
|
178
187
|
return saturate(sharpInstance, operation);
|
|
188
|
+
case "composite" /* COMPOSITE */:
|
|
189
|
+
return composite(sharpInstance, operation);
|
|
179
190
|
default:
|
|
180
191
|
return sharpInstance;
|
|
181
192
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
directory_exports
|
|
3
|
+
} from "./chunk-X5F6XGEP.js";
|
|
4
4
|
import {
|
|
5
5
|
bucket_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UEAMPAHK.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
file_exports
|
|
9
|
+
} from "./chunk-GU34O65H.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./chunk-WSFCRVEQ.js";
|