@design-edito/tools 0.3.0 → 0.3.1
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/is-array-of/index.js +1 -1
- package/agnostic/colors/channels/index.js +3 -3
- package/agnostic/colors/contrast/index.js +3 -3
- package/agnostic/colors/convert/index.js +2 -2
- package/agnostic/colors/distance/index.js +2 -2
- package/agnostic/colors/grayscale/index.js +2 -2
- package/agnostic/colors/invert/index.js +2 -2
- package/agnostic/colors/lerp/index.js +2 -2
- package/agnostic/colors/luminance/index.js +3 -3
- package/agnostic/colors/palette/index.js +4 -4
- package/agnostic/colors/rotate/index.js +4 -4
- package/agnostic/colors/tidy/index.js +2 -2
- package/agnostic/css/bem/index.js +3 -3
- package/agnostic/{numbers/responsive-harmonics → css/scale}/index.d.ts +7 -17
- package/agnostic/{numbers/responsive-harmonics → css/scale}/index.js +18 -30
- package/agnostic/css/scale/index.test.d.ts +1 -0
- package/agnostic/html/hyper-json/cast/index.js +7 -7
- package/agnostic/html/hyper-json/index.js +9 -9
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +7 -7
- package/agnostic/html/hyper-json/tree/index.js +7 -7
- package/agnostic/html/hyper-json/utils/index.js +7 -7
- package/agnostic/misc/crawler/index.d.ts +2 -2
- package/agnostic/misc/crawler/index.js +1 -1
- package/agnostic/misc/is-constructor-function/index.js +1 -1
- package/agnostic/numbers/geometric-progressions/index.d.ts +14 -0
- package/agnostic/numbers/geometric-progressions/index.js +7 -0
- package/agnostic/numbers/geometric-progressions/index.test.d.ts +1 -0
- package/chunks/chunk-5H3IRSOB.js +8 -0
- package/chunks/{chunk-P6K7NPUZ.js → chunk-6KOJFWH3.js} +1 -1
- package/chunks/chunk-ASXK7XCC.js +18 -0
- package/chunks/{chunk-PC62QFWI.js → chunk-FXISVWGE.js} +1 -1
- package/chunks/{chunk-ASNS7K6J.js → chunk-HMPY32F7.js} +1 -1
- package/chunks/{chunk-UL4SNGRK.js → chunk-MSAAQTCE.js} +4 -4
- package/chunks/{chunk-33SNWUIB.js → chunk-MZYCKOLN.js} +1 -1
- package/chunks/{chunk-AOR2M2H3.js → chunk-QFBVETGF.js} +1 -1
- package/chunks/{chunk-RJK53Q5I.js → chunk-TLWVLCIQ.js} +1 -1
- package/chunks/{chunk-THWQ7NVE.js → chunk-TTJXJX4E.js} +2 -2
- package/chunks/{chunk-QWBT7W6I.js → chunk-UR5BUIPU.js} +1 -1
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
- package/node/cloud-storage/operations/copy-dir/index.js +6 -6
- package/node/cloud-storage/operations/copy-file/index.js +3 -3
- package/node/cloud-storage/operations/download-file/index.js +3 -3
- package/node/cloud-storage/operations/exists-file/index.js +3 -3
- package/node/cloud-storage/operations/list-dir/index.js +3 -3
- package/node/cloud-storage/operations/move-dir/index.js +3 -3
- package/node/cloud-storage/operations/move-file/index.js +3 -3
- package/node/cloud-storage/operations/remove-dir/index.js +3 -3
- package/node/cloud-storage/operations/remove-file/index.js +3 -3
- package/node/cloud-storage/operations/stat-file/index.js +3 -3
- package/node/images/create/index.js +3 -3
- package/node/images/format/index.js +3 -3
- package/node/images/metadata/index.js +3 -3
- package/node/images/transform/index.js +38 -38
- package/node/images/transform/operations/extend/index.js +4 -4
- package/node/images/transform/operations/flatten/index.js +4 -4
- package/node/images/transform/operations/overlay/index.js +4 -4
- package/node/images/transform/operations/resize/index.js +4 -4
- package/node/images/transform/operations/rotate/index.js +4 -4
- package/node/images/utils/index.js +3 -3
- package/package.json +1 -1
- package/agnostic/misc/elo/index.d.ts +0 -29
- package/agnostic/misc/elo/index.js +0 -31
- package/chunks/chunk-RCO57B6F.js +0 -9
- package/chunks/{chunk-QQO4QKH2.js → chunk-7NIIWL3S.js} +18 -18
- package/chunks/{chunk-LU47ASMQ.js → chunk-RNXRHCHQ.js} +3 -3
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
string
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../../../chunks/chunk-7NIIWL3S.js";
|
|
4
4
|
import "../../../../../../chunks/chunk-AKNR3U25.js";
|
|
5
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-
|
|
6
|
+
import "../../../../../../chunks/chunk-DUCLFPGE.js";
|
|
7
7
|
import "../../../../../../chunks/chunk-ZKIQ753F.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-USIYKRNX.js";
|
|
8
9
|
import "../../../../../../chunks/chunk-HEY7J6GI.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-DUCLFPGE.js";
|
|
11
10
|
import "../../../../../../chunks/chunk-JVMFT3IT.js";
|
|
12
11
|
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
14
|
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
15
|
+
import "../../../../../../chunks/chunk-QEKI6WGQ.js";
|
|
16
|
+
import "../../../../../../chunks/chunk-ROWPCMQY.js";
|
|
15
17
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
16
18
|
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
17
19
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-QEKI6WGQ.js";
|
|
19
|
-
import "../../../../../../chunks/chunk-ROWPCMQY.js";
|
|
20
|
-
import "../../../../../../chunks/chunk-FENXVJYO.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
|
+
import "../../../../../../chunks/chunk-FENXVJYO.js";
|
|
22
22
|
import "../../../../../../chunks/chunk-XCBH6NLF.js";
|
|
23
23
|
export {
|
|
24
24
|
string
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
text
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../../../chunks/chunk-7NIIWL3S.js";
|
|
4
4
|
import "../../../../../../chunks/chunk-AKNR3U25.js";
|
|
5
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-
|
|
6
|
+
import "../../../../../../chunks/chunk-DUCLFPGE.js";
|
|
7
7
|
import "../../../../../../chunks/chunk-ZKIQ753F.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-USIYKRNX.js";
|
|
8
9
|
import "../../../../../../chunks/chunk-HEY7J6GI.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-DUCLFPGE.js";
|
|
11
10
|
import "../../../../../../chunks/chunk-JVMFT3IT.js";
|
|
12
11
|
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
14
|
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
15
|
+
import "../../../../../../chunks/chunk-QEKI6WGQ.js";
|
|
16
|
+
import "../../../../../../chunks/chunk-ROWPCMQY.js";
|
|
15
17
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
16
18
|
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
17
19
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-QEKI6WGQ.js";
|
|
19
|
-
import "../../../../../../chunks/chunk-ROWPCMQY.js";
|
|
20
|
-
import "../../../../../../chunks/chunk-FENXVJYO.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
|
+
import "../../../../../../chunks/chunk-FENXVJYO.js";
|
|
22
22
|
import "../../../../../../chunks/chunk-XCBH6NLF.js";
|
|
23
23
|
export {
|
|
24
24
|
text
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tree
|
|
3
|
-
} from "../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../chunks/chunk-7NIIWL3S.js";
|
|
4
4
|
import "../../../../chunks/chunk-AKNR3U25.js";
|
|
5
5
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
-
import "../../../../chunks/chunk-
|
|
6
|
+
import "../../../../chunks/chunk-DUCLFPGE.js";
|
|
7
7
|
import "../../../../chunks/chunk-ZKIQ753F.js";
|
|
8
|
+
import "../../../../chunks/chunk-USIYKRNX.js";
|
|
8
9
|
import "../../../../chunks/chunk-HEY7J6GI.js";
|
|
9
|
-
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
10
|
-
import "../../../../chunks/chunk-DUCLFPGE.js";
|
|
11
10
|
import "../../../../chunks/chunk-JVMFT3IT.js";
|
|
12
11
|
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
|
+
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
13
|
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
14
|
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
15
|
+
import "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
16
|
+
import "../../../../chunks/chunk-ROWPCMQY.js";
|
|
15
17
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
|
16
18
|
import "../../../../chunks/chunk-EPUHVR7J.js";
|
|
17
19
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
-
import "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
19
|
-
import "../../../../chunks/chunk-ROWPCMQY.js";
|
|
20
|
-
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
21
20
|
import "../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
|
+
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
22
22
|
import "../../../../chunks/chunk-XCBH6NLF.js";
|
|
23
23
|
export {
|
|
24
24
|
Tree
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Utils
|
|
3
|
-
} from "../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../chunks/chunk-7NIIWL3S.js";
|
|
4
4
|
import "../../../../chunks/chunk-AKNR3U25.js";
|
|
5
5
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
-
import "../../../../chunks/chunk-
|
|
6
|
+
import "../../../../chunks/chunk-DUCLFPGE.js";
|
|
7
7
|
import "../../../../chunks/chunk-ZKIQ753F.js";
|
|
8
|
+
import "../../../../chunks/chunk-USIYKRNX.js";
|
|
8
9
|
import "../../../../chunks/chunk-HEY7J6GI.js";
|
|
9
|
-
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
10
|
-
import "../../../../chunks/chunk-DUCLFPGE.js";
|
|
11
10
|
import "../../../../chunks/chunk-JVMFT3IT.js";
|
|
12
11
|
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
|
+
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
13
|
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
14
|
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
15
|
+
import "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
16
|
+
import "../../../../chunks/chunk-ROWPCMQY.js";
|
|
15
17
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
|
16
18
|
import "../../../../chunks/chunk-EPUHVR7J.js";
|
|
17
19
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
-
import "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
19
|
-
import "../../../../chunks/chunk-ROWPCMQY.js";
|
|
20
|
-
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
21
20
|
import "../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
|
+
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
22
22
|
import "../../../../chunks/chunk-XCBH6NLF.js";
|
|
23
23
|
export {
|
|
24
24
|
Utils
|
|
@@ -52,12 +52,12 @@ export type Options<T extends any> = {
|
|
|
52
52
|
* @param {Options<T>} options - Crawler configuration options.
|
|
53
53
|
* @returns {{
|
|
54
54
|
* crawl: (startUrl: string) => Promise<void>,
|
|
55
|
-
* push: (
|
|
55
|
+
* push: (...urls: string[]) => void,
|
|
56
56
|
* flush: () => void
|
|
57
57
|
* }} An object with methods to start crawling, enqueue URLs, and flush the waitlist.
|
|
58
58
|
*/
|
|
59
59
|
export declare function create<T extends any>(options: Options<T>): {
|
|
60
60
|
crawl: (startUrl: string) => Promise<void>;
|
|
61
|
-
push: (
|
|
61
|
+
push: (...urls: string[]) => void;
|
|
62
62
|
flush: () => void;
|
|
63
63
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Computes the value at a specific level in a geometric progression
|
|
3
|
+
* between a minimum and maximum over a given number of steps.
|
|
4
|
+
*
|
|
5
|
+
* This function divides the range [min, max] multiplicatively (logarithmically)
|
|
6
|
+
* across `steps` and returns the value corresponding to `level` (1-based).
|
|
7
|
+
*
|
|
8
|
+
* @param {number} min - The minimum value (must be non-zero).
|
|
9
|
+
* @param {number} max - The maximum value.
|
|
10
|
+
* @param {number} level - The current level (1-based, typically 1 ≤ level ≤ steps).
|
|
11
|
+
* @param {number} steps - Total number of steps (must be ≥ 1).
|
|
12
|
+
* @returns {number} The computed value at the specified level, or `NaN` if input is invalid.
|
|
13
|
+
*/
|
|
14
|
+
export declare function getGeometricStep(min: number, max: number, level: number, steps: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// src/agnostic/misc/is-constructor-function/index.ts
|
|
2
|
+
function isConstructorFunction(input) {
|
|
3
|
+
return typeof input === "function" && "prototype" in input && typeof input.prototype === "object" && "constructor" in input.prototype && input.prototype.constructor === input;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
isConstructorFunction
|
|
8
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/agnostic/numbers/geometric-progressions/index.ts
|
|
2
|
+
function getGeometricStep(min, max, level, steps) {
|
|
3
|
+
if (min === 0) {
|
|
4
|
+
console.warn("Cannot generate values if min value is zero");
|
|
5
|
+
return NaN;
|
|
6
|
+
}
|
|
7
|
+
if (steps < 1) {
|
|
8
|
+
console.warn("Cannot generate values if steps is lower than one");
|
|
9
|
+
return NaN;
|
|
10
|
+
}
|
|
11
|
+
const maxOverMin = max / min;
|
|
12
|
+
const factor = Math.pow(maxOverMin, 1 / steps);
|
|
13
|
+
return min * Math.pow(factor, level);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
getGeometricStep
|
|
18
|
+
};
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
viaLch,
|
|
14
14
|
viaRgb,
|
|
15
15
|
viaXyz
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
clamp
|
|
19
|
-
} from "./chunk-OSAXBA7G.js";
|
|
16
|
+
} from "./chunk-RNXRHCHQ.js";
|
|
20
17
|
import {
|
|
21
18
|
absoluteModulo
|
|
22
19
|
} from "./chunk-DNIOWD7K.js";
|
|
20
|
+
import {
|
|
21
|
+
clamp
|
|
22
|
+
} from "./chunk-OSAXBA7G.js";
|
|
23
23
|
|
|
24
24
|
// src/agnostic/colors/channels/index.ts
|
|
25
25
|
function setChannel(color, channel, value) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
remove
|
|
3
|
+
} from "../../../../../chunks/chunk-66BURDRK.js";
|
|
1
4
|
import {
|
|
2
5
|
upload
|
|
3
6
|
} from "../../../../../chunks/chunk-UZ4SWSOZ.js";
|
|
4
7
|
import {
|
|
5
8
|
download
|
|
6
9
|
} from "../../../../../chunks/chunk-O66PEU62.js";
|
|
7
|
-
import {
|
|
8
|
-
remove
|
|
9
|
-
} from "../../../../../chunks/chunk-66BURDRK.js";
|
|
10
10
|
import {
|
|
11
11
|
makeSuccess
|
|
12
12
|
} from "../../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
copyDir as copyDir4
|
|
3
|
-
} from "../../../../chunks/chunk-IBQQCUYV.js";
|
|
4
1
|
import {
|
|
5
2
|
copyDir as copyDir3
|
|
6
3
|
} from "../../../../chunks/chunk-VU6JYR3W.js";
|
|
4
|
+
import {
|
|
5
|
+
copyDir as copyDir4
|
|
6
|
+
} from "../../../../chunks/chunk-IBQQCUYV.js";
|
|
7
7
|
import {
|
|
8
8
|
copyDir as copyDir2
|
|
9
9
|
} from "../../../../chunks/chunk-OF2W4ZRG.js";
|
|
10
|
-
import {
|
|
11
|
-
copyDir
|
|
12
|
-
} from "../../../../chunks/chunk-RGQNRTBI.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
copyDir
|
|
18
|
+
} from "../../../../chunks/chunk-RGQNRTBI.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
copy as copy2
|
|
9
9
|
} from "../../../../chunks/chunk-O7UCJNVF.js";
|
|
10
|
-
import {
|
|
11
|
-
copy
|
|
12
|
-
} from "../../../../chunks/chunk-7B2E2NGH.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
copy
|
|
18
|
+
} from "../../../../chunks/chunk-7B2E2NGH.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
download as download2
|
|
9
9
|
} from "../../../../chunks/chunk-ULYGDEW2.js";
|
|
10
|
-
import {
|
|
11
|
-
download
|
|
12
|
-
} from "../../../../chunks/chunk-54KPQCVI.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
download
|
|
18
|
+
} from "../../../../chunks/chunk-54KPQCVI.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
exists as exists2
|
|
9
9
|
} from "../../../../chunks/chunk-JU23NBY2.js";
|
|
10
|
-
import {
|
|
11
|
-
exists
|
|
12
|
-
} from "../../../../chunks/chunk-J5D4OQ5U.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
exists
|
|
18
|
+
} from "../../../../chunks/chunk-J5D4OQ5U.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
list as list2
|
|
9
9
|
} from "../../../../chunks/chunk-EBQRPRRC.js";
|
|
10
|
-
import {
|
|
11
|
-
list
|
|
12
|
-
} from "../../../../chunks/chunk-DBNCEHTT.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
list
|
|
18
|
+
} from "../../../../chunks/chunk-DBNCEHTT.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
moveDir as moveDir2
|
|
9
9
|
} from "../../../../chunks/chunk-JN2UETL4.js";
|
|
10
|
-
import {
|
|
11
|
-
moveDir
|
|
12
|
-
} from "../../../../chunks/chunk-PTN2V757.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
moveDir
|
|
18
|
+
} from "../../../../chunks/chunk-PTN2V757.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
move as move2
|
|
9
9
|
} from "../../../../chunks/chunk-VYDUHDXW.js";
|
|
10
|
-
import {
|
|
11
|
-
move
|
|
12
|
-
} from "../../../../chunks/chunk-DBZAJJUF.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
move
|
|
18
|
+
} from "../../../../chunks/chunk-DBZAJJUF.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
removeDir as removeDir2
|
|
9
9
|
} from "../../../../chunks/chunk-6YVXSCRH.js";
|
|
10
|
-
import {
|
|
11
|
-
removeDir
|
|
12
|
-
} from "../../../../chunks/chunk-W5VY535B.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
removeDir
|
|
18
|
+
} from "../../../../chunks/chunk-W5VY535B.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
remove as remove2
|
|
9
9
|
} from "../../../../chunks/chunk-BHGRXDTS.js";
|
|
10
|
-
import {
|
|
11
|
-
remove
|
|
12
|
-
} from "../../../../chunks/chunk-S2I77NEE.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
remove
|
|
18
|
+
} from "../../../../chunks/chunk-S2I77NEE.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
stat as stat2
|
|
9
9
|
} from "../../../../chunks/chunk-EEPLTO3E.js";
|
|
10
|
-
import {
|
|
11
|
-
stat
|
|
12
|
-
} from "../../../../chunks/chunk-BQABPH3I.js";
|
|
13
10
|
import {
|
|
14
11
|
isFtpClient,
|
|
15
12
|
isGcsBucket,
|
|
16
13
|
isS3ClientWithBucket,
|
|
17
14
|
isSftpClient
|
|
18
15
|
} from "../../../../chunks/chunk-ISJONMNA.js";
|
|
16
|
+
import {
|
|
17
|
+
stat
|
|
18
|
+
} from "../../../../chunks/chunk-BQABPH3I.js";
|
|
19
19
|
import {
|
|
20
20
|
makeFailure
|
|
21
21
|
} from "../../../../chunks/chunk-QEKI6WGQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toCreateOptions
|
|
3
|
-
} from "../../../chunks/chunk-
|
|
4
|
-
import "../../../chunks/chunk-
|
|
5
|
-
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
3
|
+
} from "../../../chunks/chunk-6KOJFWH3.js";
|
|
4
|
+
import "../../../chunks/chunk-RNXRHCHQ.js";
|
|
6
5
|
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
6
|
+
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
7
7
|
import "../../../chunks/chunk-JDINERKY.js";
|
|
8
8
|
import "../../../chunks/chunk-HQLRJ7XW.js";
|
|
9
9
|
import "../../../chunks/chunk-KRYJVBO5.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toSharpColor,
|
|
3
3
|
toSharpInstance
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-6KOJFWH3.js";
|
|
5
5
|
import {
|
|
6
6
|
zod_default
|
|
7
7
|
} from "../../../chunks/chunk-LFHDJTZJ.js";
|
|
8
8
|
import {
|
|
9
9
|
makeSuccess
|
|
10
10
|
} from "../../../chunks/chunk-QEKI6WGQ.js";
|
|
11
|
-
import "../../../chunks/chunk-
|
|
11
|
+
import "../../../chunks/chunk-RNXRHCHQ.js";
|
|
12
|
+
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
12
13
|
import {
|
|
13
14
|
clamp
|
|
14
15
|
} from "../../../chunks/chunk-OSAXBA7G.js";
|
|
15
|
-
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
16
16
|
import {
|
|
17
17
|
isColor
|
|
18
18
|
} from "../../../chunks/chunk-JDINERKY.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toSharpInstance
|
|
3
|
-
} from "../../../chunks/chunk-
|
|
4
|
-
import "../../../chunks/chunk-
|
|
5
|
-
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
3
|
+
} from "../../../chunks/chunk-6KOJFWH3.js";
|
|
4
|
+
import "../../../chunks/chunk-RNXRHCHQ.js";
|
|
6
5
|
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
6
|
+
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
7
7
|
import "../../../chunks/chunk-JDINERKY.js";
|
|
8
8
|
import "../../../chunks/chunk-HQLRJ7XW.js";
|
|
9
9
|
import "../../../chunks/chunk-KRYJVBO5.js";
|