@design-edito/tools 0.1.62 → 0.1.64

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.
Files changed (145) hide show
  1. package/agnostic/arrays/index.js +3 -3
  2. package/agnostic/css/index.js +6 -6
  3. package/agnostic/html/hyper-json/cast/index.js +2 -2
  4. package/agnostic/html/hyper-json/index.js +3 -3
  5. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +2 -2
  6. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +2 -2
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +2 -2
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +2 -2
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +2 -2
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +2 -2
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +2 -2
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +2 -2
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +2 -2
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +2 -2
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +2 -2
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +2 -2
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +2 -2
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +2 -2
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +2 -2
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +2 -2
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +2 -2
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +2 -2
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +2 -2
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +2 -2
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +2 -2
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +2 -2
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +2 -2
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +2 -2
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +2 -2
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +2 -2
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +2 -2
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +2 -2
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +2 -2
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +2 -2
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +2 -2
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +2 -2
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +2 -2
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +2 -2
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +2 -2
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +2 -2
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +2 -2
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +2 -2
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +2 -2
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +2 -2
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +2 -2
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +2 -2
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +2 -2
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +2 -2
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +2 -2
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +2 -2
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +2 -2
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +2 -2
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +2 -2
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +2 -2
  55. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +2 -2
  56. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +2 -2
  57. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +2 -2
  58. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +2 -2
  59. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +2 -2
  60. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +2 -2
  61. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +2 -2
  62. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +2 -2
  63. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +2 -2
  64. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +2 -2
  65. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +2 -2
  66. package/agnostic/html/hyper-json/tree/index.js +2 -2
  67. package/agnostic/html/hyper-json/utils/index.js +2 -2
  68. package/agnostic/html/index.js +9 -9
  69. package/agnostic/misc/index.js +6 -6
  70. package/agnostic/misc/logs/index.js +2 -2
  71. package/agnostic/misc/lorem-ipsum/index.js +4 -4
  72. package/agnostic/numbers/index.js +4 -4
  73. package/agnostic/objects/index.js +5 -5
  74. package/agnostic/optim/index.js +3 -3
  75. package/agnostic/strings/index.js +9 -9
  76. package/chunks/chunk-46HTGOCE.js +56 -0
  77. package/chunks/chunk-4DNPGCIM.js +191 -0
  78. package/chunks/chunk-55MT7BMY.js +16 -0
  79. package/chunks/chunk-5J7H5WYC.js +82 -0
  80. package/chunks/chunk-5JAITHS2.js +48 -0
  81. package/chunks/chunk-6V7VQ32U.js +56 -0
  82. package/chunks/chunk-6Y7RZ5WD.js +48 -0
  83. package/chunks/chunk-7SS2R4B6.js +82 -0
  84. package/chunks/chunk-7SZ3QPTM.js +191 -0
  85. package/chunks/chunk-7WYDM5OX.js +37 -0
  86. package/chunks/chunk-D5E2CIDK.js +20 -0
  87. package/chunks/chunk-EBVYO2TY.js +48 -0
  88. package/chunks/chunk-ECWDSMDZ.js +20 -0
  89. package/chunks/chunk-HUT6SDJH.js +2369 -0
  90. package/chunks/chunk-I37MGRCT.js +20 -0
  91. package/chunks/chunk-IH25CV3F.js +20 -0
  92. package/chunks/chunk-JLXITDAV.js +48 -0
  93. package/chunks/chunk-JYYW4KOZ.js +72 -0
  94. package/chunks/chunk-KDTKA3SG.js +31 -0
  95. package/chunks/chunk-LVBXPZUO.js +104 -0
  96. package/chunks/chunk-NOBTN4IW.js +4471 -0
  97. package/chunks/chunk-OSCBZIZF.js +28 -0
  98. package/chunks/chunk-OXV3LVNK.js +191 -0
  99. package/chunks/chunk-QN3UAKIU.js +21 -0
  100. package/chunks/chunk-R6F2MFZZ.js +173 -0
  101. package/chunks/chunk-TC7A4P5S.js +34 -0
  102. package/chunks/chunk-VLHSIIPO.js +20 -0
  103. package/chunks/chunk-WO2R3QFK.js +20 -0
  104. package/chunks/chunk-X24BLY5H.js +31 -0
  105. package/chunks/chunk-X4XXZ44B.js +37 -0
  106. package/chunks/chunk-YSDPTGYO.js +31 -0
  107. package/chunks/chunk-YUJJEKYY.js +144 -0
  108. package/chunks/chunk-YZYA7LFK.js +20 -0
  109. package/node/@aws-s3/index.js +3 -3
  110. package/node/@aws-s3/storage/file/index.js +4 -4
  111. package/node/@aws-s3/storage/index.js +3 -3
  112. package/node/@design-edito/index.js +2 -2
  113. package/node/@design-edito/thumbnails/colors/index.d.ts +7 -4
  114. package/node/@design-edito/thumbnails/colors/index.js +7 -3
  115. package/node/@design-edito/thumbnails/index.js +4 -4
  116. package/node/@google-cloud/index.js +12 -12
  117. package/node/@google-cloud/storage/file/index.js +17 -17
  118. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  119. package/node/@google-cloud/storage/index.js +14 -14
  120. package/node/cloud-storage/index.js +11 -11
  121. package/node/cloud-storage/operations/download/index.d.ts +2 -2
  122. package/node/cloud-storage/operations/download/index.js +3 -4
  123. package/node/cloud-storage/operations/index.js +10 -11
  124. package/node/cloud-storage/operations/upload/index.d.ts +1 -2
  125. package/node/cloud-storage/operations/upload/index.js +3 -4
  126. package/node/files/index.js +3 -3
  127. package/node/ftps/file/index.js +4 -4
  128. package/node/ftps/index.js +2 -2
  129. package/node/images/index.js +9 -5
  130. package/node/images/prepare/index.js +9 -5
  131. package/node/images/transform/index.d.ts +4 -205
  132. package/node/images/transform/index.js +8 -6
  133. package/node/images/transform/operations/area-composition/area-line-composition/index.d.ts +19 -0
  134. package/node/images/transform/operations/area-composition/area-line-composition/index.js +14 -0
  135. package/node/images/transform/operations/area-composition/area-tile-composition/index.d.ts +30 -0
  136. package/node/images/transform/operations/area-composition/area-tile-composition/index.js +15 -0
  137. package/node/images/transform/operations/area-composition/index.d.ts +31 -0
  138. package/node/images/transform/operations/area-composition/index.js +15 -0
  139. package/node/images/transform/operations/index.d.ts +207 -0
  140. package/node/images/transform/operations/index.js +21 -0
  141. package/node/images/transform/operations/inner-resize/index.d.ts +25 -0
  142. package/node/images/transform/operations/inner-resize/index.js +13 -0
  143. package/node/sftp/file/index.js +4 -4
  144. package/node/sftp/index.js +2 -2
  145. package/package.json +1 -1
@@ -0,0 +1,144 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-WSFCRVEQ.js";
4
+
5
+ // src/node/@design-edito/thumbnails/colors/index.ts
6
+ var colors_exports = {};
7
+ __export(colors_exports, {
8
+ HEXToRGB: () => HEXToRGB,
9
+ HSLToRGB: () => HSLToRGB,
10
+ RGBToHSL: () => RGBToHSL,
11
+ RGBToHex: () => RGBToHex,
12
+ complementColor: () => complementColor,
13
+ extractPaletteFromImage: () => extractPaletteFromImage,
14
+ getPalette: () => getPalette,
15
+ getPixel: () => getPixel,
16
+ getPixels: () => getPixels,
17
+ lightenColor: () => lightenColor,
18
+ saturateColor: () => saturateColor,
19
+ setColorLuminance: () => setColorLuminance,
20
+ setColorSaturation: () => setColorSaturation,
21
+ toHex: () => toHex
22
+ });
23
+ import quantize from "quantize";
24
+ function extractPaletteFromImage(data, imageDimensions, additionalColors, options, nbChannels = 3) {
25
+ const pixels = getPixels(data, imageDimensions.w, imageDimensions.h, nbChannels);
26
+ const palette = additionalColors.length && options.useAdditionalColorsOnly ? additionalColors : getPalette(pixels, options.extractDensity);
27
+ const complementaryPalette = palette.map((color) => complementColor(color));
28
+ return {
29
+ default: {
30
+ default: palette,
31
+ saturate: palette.map((color) => saturateColor(color, options.saturateIntensity)),
32
+ lighten: palette.map((color) => lightenColor(color, options.lightenIntensity))
33
+ },
34
+ complementary: {
35
+ default: complementaryPalette,
36
+ saturate: complementaryPalette.map((color) => saturateColor(color, options.saturateIntensity)),
37
+ lighten: complementaryPalette.map((color) => lightenColor(color, options.lightenIntensity))
38
+ }
39
+ };
40
+ }
41
+ var getPixel = (data, x, y, width, nbChannels) => {
42
+ const index = nbChannels * (width * y + x);
43
+ const r = data[index] || 0;
44
+ const g = data[index + 1] || 0;
45
+ const b = data[index + 2] || 0;
46
+ return [r, g, b];
47
+ };
48
+ var getPixels = (data, width, height, nbChannels = 3) => {
49
+ const pixels = [];
50
+ for (let i = 0; i < width; i++) {
51
+ for (let j = 0; j < height; j++) {
52
+ const pixel = getPixel(data, i, j, width, nbChannels);
53
+ pixels.push(pixel);
54
+ }
55
+ }
56
+ return pixels;
57
+ };
58
+ var getPalette = (pixels, paletteDensity) => {
59
+ const _paletteDensity = Math.max(1, paletteDensity < 5 ? paletteDensity - 1 : paletteDensity);
60
+ const colorMap = quantize(pixels, _paletteDensity);
61
+ const palette = colorMap ? colorMap.palette() : [];
62
+ return palette;
63
+ };
64
+ var toHex = (c) => {
65
+ const hex = c.toString(16);
66
+ return hex.length === 1 ? `0${hex}` : hex;
67
+ };
68
+ var RGBToHSL = (color) => {
69
+ const r = color[0] / 255;
70
+ const g = color[1] / 255;
71
+ const b = color[2] / 255;
72
+ const l = Math.max(r, g, b);
73
+ const s = l - Math.min(r, g, b);
74
+ const h = s ? l === r ? (g - b) / s : l === g ? 2 + (b - r) / s : 4 + (r - g) / s : 0;
75
+ const outputH = 60 * h < 0 ? 60 * h + 360 : 60 * h;
76
+ const outputS = 100 * (s ? l <= 0.5 ? s / (2 * l - s) : s / (2 - (2 * l - s)) : 0);
77
+ const outputL = 100 * (2 * l - s) / 2;
78
+ return [outputH, outputS, outputL];
79
+ };
80
+ var HSLToRGB = (color) => {
81
+ const h = color[0];
82
+ const s = color[1] / 100;
83
+ const l = color[2] / 100;
84
+ const k = (n) => (n + h / 30) % 12;
85
+ const a = s * Math.min(l, 1 - l);
86
+ const f = (n) => l - a * Math.max(-1, Math.min(k(n) - 3, Math.min(9 - k(n), 1)));
87
+ const r = Math.round(255 * f(0));
88
+ const g = Math.round(255 * f(8));
89
+ const b = Math.round(255 * f(4));
90
+ return [r, g, b];
91
+ };
92
+ var HEXToRGB = (hexColor) => {
93
+ const _hexColor = hexColor.replace("#", "");
94
+ const r = Math.max(0, Math.min(255, parseInt(_hexColor.substring(0, 2), 16)));
95
+ const g = Math.max(0, Math.min(255, parseInt(_hexColor.substring(2, 4), 16)));
96
+ const b = Math.max(0, Math.min(255, parseInt(_hexColor.substring(4, 6), 16)));
97
+ return [r, g, b];
98
+ };
99
+ var RGBToHex = (color) => {
100
+ return `#${toHex(color[0])}${toHex(color[1])}${toHex(color[2])}`;
101
+ };
102
+ var complementColor = (color) => {
103
+ const [r, g, b] = color;
104
+ const m = Math.min(r, g, b) + Math.max(r, g, b);
105
+ return [m - r, m - g, m - b];
106
+ };
107
+ var lightenColor = (color, intensity = 20) => {
108
+ const [h, s, l] = RGBToHSL(color);
109
+ const rgb = HSLToRGB([h, s, Math.min(100, l + intensity)]);
110
+ return rgb;
111
+ };
112
+ var saturateColor = (color, intensity = 20) => {
113
+ const [h, s, l] = RGBToHSL(color);
114
+ const rgb = HSLToRGB([h, Math.min(100, s + intensity), l]);
115
+ return rgb;
116
+ };
117
+ var setColorSaturation = (color, intensity = 20) => {
118
+ const [h, s, l] = RGBToHSL(color);
119
+ const rgb = HSLToRGB([h, Math.min(100, intensity), l]);
120
+ return rgb;
121
+ };
122
+ var setColorLuminance = (color, intensity = 20) => {
123
+ const [h, s, l] = RGBToHSL(color);
124
+ const rgb = HSLToRGB([h, s, Math.min(100, intensity)]);
125
+ return rgb;
126
+ };
127
+
128
+ export {
129
+ extractPaletteFromImage,
130
+ getPixel,
131
+ getPixels,
132
+ getPalette,
133
+ toHex,
134
+ RGBToHSL,
135
+ HSLToRGB,
136
+ HEXToRGB,
137
+ RGBToHex,
138
+ complementColor,
139
+ lightenColor,
140
+ saturateColor,
141
+ setColorSaturation,
142
+ setColorLuminance,
143
+ colors_exports
144
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ file_exports
3
+ } from "./chunk-46HTGOCE.js";
4
+ import {
5
+ bucket_exports
6
+ } from "./chunk-YMRAUWRW.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/@google-cloud/storage/index.ts
12
+ var storage_exports = {};
13
+ __export(storage_exports, {
14
+ Bucket: () => bucket_exports,
15
+ File: () => file_exports
16
+ });
17
+
18
+ export {
19
+ storage_exports
20
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  storage_exports
3
- } from "../../chunks/chunk-W5LE6YQ5.js";
4
- import "../../chunks/chunk-2PNFMIXN.js";
5
- import "../../chunks/chunk-7N7BJA6C.js";
3
+ } from "../../chunks/chunk-55MT7BMY.js";
4
+ import "../../chunks/chunk-D5E2CIDK.js";
6
5
  import "../../chunks/chunk-N5QAGJXV.js";
6
+ import "../../chunks/chunk-7N7BJA6C.js";
7
7
  import "../../chunks/chunk-JMU5PDBD.js";
8
8
  import "../../chunks/chunk-FENXVJYO.js";
9
9
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -1,10 +1,10 @@
1
- import "../../../../chunks/chunk-2PNFMIXN.js";
2
- import {
3
- download_exports
4
- } from "../../../../chunks/chunk-7N7BJA6C.js";
1
+ import "../../../../chunks/chunk-D5E2CIDK.js";
5
2
  import {
6
3
  upload_exports
7
4
  } from "../../../../chunks/chunk-N5QAGJXV.js";
5
+ import {
6
+ download_exports
7
+ } from "../../../../chunks/chunk-7N7BJA6C.js";
8
8
  import "../../../../chunks/chunk-JMU5PDBD.js";
9
9
  import "../../../../chunks/chunk-FENXVJYO.js";
10
10
  import "../../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
- import "../../../chunks/chunk-W5LE6YQ5.js";
1
+ import "../../../chunks/chunk-55MT7BMY.js";
2
2
  import {
3
3
  file_exports
4
- } from "../../../chunks/chunk-2PNFMIXN.js";
5
- import "../../../chunks/chunk-7N7BJA6C.js";
4
+ } from "../../../chunks/chunk-D5E2CIDK.js";
6
5
  import "../../../chunks/chunk-N5QAGJXV.js";
6
+ import "../../../chunks/chunk-7N7BJA6C.js";
7
7
  import "../../../chunks/chunk-JMU5PDBD.js";
8
8
  import "../../../chunks/chunk-FENXVJYO.js";
9
9
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,11 +1,11 @@
1
1
  import "../../chunks/chunk-L7EUEQZP.js";
2
2
  import {
3
3
  thumbnails_exports
4
- } from "../../chunks/chunk-DW4ILX77.js";
4
+ } from "../../chunks/chunk-OSCBZIZF.js";
5
5
  import "../../chunks/chunk-454MZ5UE.js";
6
6
  import "../../chunks/chunk-JJWKHBXD.js";
7
- import "../../chunks/chunk-X5FAZBWL.js";
8
7
  import "../../chunks/chunk-7DDXALPH.js";
8
+ import "../../chunks/chunk-YUJJEKYY.js";
9
9
  import "../../chunks/chunk-WSFCRVEQ.js";
10
10
  export {
11
11
  thumbnails_exports as Thumbnails
@@ -17,11 +17,12 @@ export type PaletteExtract = {
17
17
  export declare function extractPaletteFromImage(data: Buffer<ArrayBufferLike>, imageDimensions: {
18
18
  w: number;
19
19
  h: number;
20
- }, options: {
21
- extractPaletteDensity: number;
20
+ }, additionalColors: Palette, options: {
21
+ useAdditionalColorsOnly: boolean;
22
+ extractDensity: number;
22
23
  lightenIntensity: number;
23
24
  saturateIntensity: number;
24
- }): PaletteExtract;
25
+ }, nbChannels?: number): PaletteExtract;
25
26
  export declare const getPixel: (data: Buffer<ArrayBufferLike>, x: number, y: number, width: number, nbChannels: number) => RGBColor;
26
27
  export declare const getPixels: (data: Buffer<ArrayBufferLike>, width: number, height: number, nbChannels?: number) => Color[];
27
28
  export declare const getPalette: (pixels: Color[], paletteDensity: number) => Palette;
@@ -31,5 +32,7 @@ export declare const HSLToRGB: (color: Color) => RGBColor;
31
32
  export declare const HEXToRGB: (hexColor: string) => RGBColor;
32
33
  export declare const RGBToHex: (color: RGBColor) => string;
33
34
  export declare const complementColor: (color: RGBColor) => RGBColor;
34
- export declare const ligthenColor: (color: RGBColor, intensity?: number) => RGBColor;
35
+ export declare const lightenColor: (color: RGBColor, intensity?: number) => RGBColor;
35
36
  export declare const saturateColor: (color: RGBColor, intensity?: number) => RGBColor;
37
+ export declare const setColorSaturation: (color: RGBColor, intensity?: number) => RGBColor;
38
+ export declare const setColorLuminance: (color: RGBColor, intensity?: number) => RGBColor;
@@ -8,10 +8,12 @@ import {
8
8
  getPalette,
9
9
  getPixel,
10
10
  getPixels,
11
- ligthenColor,
11
+ lightenColor,
12
12
  saturateColor,
13
+ setColorLuminance,
14
+ setColorSaturation,
13
15
  toHex
14
- } from "../../../../chunks/chunk-X5FAZBWL.js";
16
+ } from "../../../../chunks/chunk-YUJJEKYY.js";
15
17
  import "../../../../chunks/chunk-WSFCRVEQ.js";
16
18
  export {
17
19
  HEXToRGB,
@@ -23,7 +25,9 @@ export {
23
25
  getPalette,
24
26
  getPixel,
25
27
  getPixels,
26
- ligthenColor,
28
+ lightenColor,
27
29
  saturateColor,
30
+ setColorLuminance,
31
+ setColorSaturation,
28
32
  toHex
29
33
  };
@@ -1,16 +1,16 @@
1
- import "../../../chunks/chunk-DW4ILX77.js";
1
+ import "../../../chunks/chunk-OSCBZIZF.js";
2
2
  import {
3
3
  layout_exports
4
4
  } from "../../../chunks/chunk-454MZ5UE.js";
5
5
  import {
6
6
  easings_exports
7
7
  } from "../../../chunks/chunk-JJWKHBXD.js";
8
- import {
9
- colors_exports
10
- } from "../../../chunks/chunk-X5FAZBWL.js";
11
8
  import {
12
9
  common_exports
13
10
  } from "../../../chunks/chunk-7DDXALPH.js";
11
+ import {
12
+ colors_exports
13
+ } from "../../../chunks/chunk-YUJJEKYY.js";
14
14
  import "../../../chunks/chunk-WSFCRVEQ.js";
15
15
  export {
16
16
  colors_exports as Colors,
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  storage_exports
3
- } from "../../chunks/chunk-V4KSJHTU.js";
4
- import "../../chunks/chunk-YMRAUWRW.js";
5
- import "../../chunks/chunk-ZNA7SWFK.js";
6
- import "../../chunks/chunk-7YSTZ7GY.js";
7
- import "../../chunks/chunk-3CQON3DO.js";
8
- import "../../chunks/chunk-LXZULGNN.js";
9
- import "../../chunks/chunk-5VHFXWFM.js";
10
- import "../../chunks/chunk-G66DWXF3.js";
11
- import "../../chunks/chunk-EM37BFXO.js";
12
- import "../../chunks/chunk-WOGRENMM.js";
13
- import "../../chunks/chunk-QVIRBFMQ.js";
3
+ } from "../../chunks/chunk-YZYA7LFK.js";
4
+ import "../../chunks/chunk-46HTGOCE.js";
14
5
  import "../../chunks/chunk-4CAHGPFA.js";
6
+ import "../../chunks/chunk-X4XXZ44B.js";
15
7
  import "../../chunks/chunk-JBDWHJ4Q.js";
16
8
  import "../../chunks/chunk-5IPSIDXB.js";
17
- import "../../chunks/chunk-6WVNJVBE.js";
9
+ import "../../chunks/chunk-G66DWXF3.js";
10
+ import "../../chunks/chunk-5VHFXWFM.js";
11
+ import "../../chunks/chunk-EM37BFXO.js";
12
+ import "../../chunks/chunk-QVIRBFMQ.js";
13
+ import "../../chunks/chunk-WOGRENMM.js";
14
+ import "../../chunks/chunk-YMRAUWRW.js";
15
+ import "../../chunks/chunk-ZNA7SWFK.js";
16
+ import "../../chunks/chunk-7YSTZ7GY.js";
18
17
  import "../../chunks/chunk-KH5JTC2N.js";
18
+ import "../../chunks/chunk-6WVNJVBE.js";
19
19
  import "../../chunks/chunk-JMU5PDBD.js";
20
20
  import "../../chunks/chunk-FENXVJYO.js";
21
21
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -1,37 +1,37 @@
1
- import "../../../../chunks/chunk-3CQON3DO.js";
1
+ import "../../../../chunks/chunk-46HTGOCE.js";
2
+ import {
3
+ move_exports
4
+ } from "../../../../chunks/chunk-4CAHGPFA.js";
2
5
  import {
3
6
  revoke_signed_urls_exports
4
- } from "../../../../chunks/chunk-LXZULGNN.js";
7
+ } from "../../../../chunks/chunk-X4XXZ44B.js";
5
8
  import {
6
- exists_exports
7
- } from "../../../../chunks/chunk-5VHFXWFM.js";
9
+ update_metadata_exports
10
+ } from "../../../../chunks/chunk-JBDWHJ4Q.js";
11
+ import {
12
+ copy_exports
13
+ } from "../../../../chunks/chunk-5IPSIDXB.js";
8
14
  import {
9
15
  erase_exports
10
16
  } from "../../../../chunks/chunk-G66DWXF3.js";
17
+ import {
18
+ exists_exports
19
+ } from "../../../../chunks/chunk-5VHFXWFM.js";
11
20
  import {
12
21
  generate_signed_url_exports
13
22
  } from "../../../../chunks/chunk-EM37BFXO.js";
14
- import {
15
- get_permissions_exports
16
- } from "../../../../chunks/chunk-WOGRENMM.js";
17
23
  import {
18
24
  get_metadata_exports
19
25
  } from "../../../../chunks/chunk-QVIRBFMQ.js";
20
26
  import {
21
- move_exports
22
- } from "../../../../chunks/chunk-4CAHGPFA.js";
23
- import {
24
- update_metadata_exports
25
- } from "../../../../chunks/chunk-JBDWHJ4Q.js";
27
+ get_permissions_exports
28
+ } from "../../../../chunks/chunk-WOGRENMM.js";
26
29
  import {
27
- copy_exports
28
- } from "../../../../chunks/chunk-5IPSIDXB.js";
30
+ upload_exports
31
+ } from "../../../../chunks/chunk-KH5JTC2N.js";
29
32
  import {
30
33
  download_exports
31
34
  } from "../../../../chunks/chunk-6WVNJVBE.js";
32
- import {
33
- upload_exports
34
- } from "../../../../chunks/chunk-KH5JTC2N.js";
35
35
  import "../../../../chunks/chunk-JMU5PDBD.js";
36
36
  import "../../../../chunks/chunk-FENXVJYO.js";
37
37
  import "../../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  revokeSignedUrls
3
- } from "../../../../../chunks/chunk-LXZULGNN.js";
3
+ } from "../../../../../chunks/chunk-X4XXZ44B.js";
4
4
  import "../../../../../chunks/chunk-G66DWXF3.js";
5
- import "../../../../../chunks/chunk-6WVNJVBE.js";
6
5
  import "../../../../../chunks/chunk-KH5JTC2N.js";
6
+ import "../../../../../chunks/chunk-6WVNJVBE.js";
7
7
  import "../../../../../chunks/chunk-JMU5PDBD.js";
8
8
  import "../../../../../chunks/chunk-FENXVJYO.js";
9
9
  import "../../../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,23 +1,23 @@
1
- import "../../../chunks/chunk-V4KSJHTU.js";
2
- import {
3
- bucket_exports
4
- } from "../../../chunks/chunk-YMRAUWRW.js";
5
- import "../../../chunks/chunk-ZNA7SWFK.js";
6
- import "../../../chunks/chunk-7YSTZ7GY.js";
1
+ import "../../../chunks/chunk-YZYA7LFK.js";
7
2
  import {
8
3
  file_exports
9
- } from "../../../chunks/chunk-3CQON3DO.js";
10
- import "../../../chunks/chunk-LXZULGNN.js";
11
- import "../../../chunks/chunk-5VHFXWFM.js";
12
- import "../../../chunks/chunk-G66DWXF3.js";
13
- import "../../../chunks/chunk-EM37BFXO.js";
14
- import "../../../chunks/chunk-WOGRENMM.js";
15
- import "../../../chunks/chunk-QVIRBFMQ.js";
4
+ } from "../../../chunks/chunk-46HTGOCE.js";
16
5
  import "../../../chunks/chunk-4CAHGPFA.js";
6
+ import "../../../chunks/chunk-X4XXZ44B.js";
17
7
  import "../../../chunks/chunk-JBDWHJ4Q.js";
18
8
  import "../../../chunks/chunk-5IPSIDXB.js";
19
- import "../../../chunks/chunk-6WVNJVBE.js";
9
+ import "../../../chunks/chunk-G66DWXF3.js";
10
+ import "../../../chunks/chunk-5VHFXWFM.js";
11
+ import "../../../chunks/chunk-EM37BFXO.js";
12
+ import "../../../chunks/chunk-QVIRBFMQ.js";
13
+ import "../../../chunks/chunk-WOGRENMM.js";
14
+ import {
15
+ bucket_exports
16
+ } from "../../../chunks/chunk-YMRAUWRW.js";
17
+ import "../../../chunks/chunk-ZNA7SWFK.js";
18
+ import "../../../chunks/chunk-7YSTZ7GY.js";
20
19
  import "../../../chunks/chunk-KH5JTC2N.js";
20
+ import "../../../chunks/chunk-6WVNJVBE.js";
21
21
  import "../../../chunks/chunk-JMU5PDBD.js";
22
22
  import "../../../chunks/chunk-FENXVJYO.js";
23
23
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,25 +1,25 @@
1
+ import {
2
+ client_exports
3
+ } from "../../chunks/chunk-P3QFJTAE.js";
1
4
  import {
2
5
  credentials_exports
3
6
  } from "../../chunks/chunk-NJ4ANCLV.js";
4
7
  import {
5
8
  operations_exports
6
- } from "../../chunks/chunk-R7J7Q2UL.js";
7
- import "../../chunks/chunk-FIVB3FON.js";
8
- import "../../chunks/chunk-6WVNJVBE.js";
9
- import "../../chunks/chunk-7N7BJA6C.js";
10
- import "../../chunks/chunk-JSKVNOTW.js";
9
+ } from "../../chunks/chunk-ECWDSMDZ.js";
10
+ import "../../chunks/chunk-5JAITHS2.js";
11
11
  import "../../chunks/chunk-KH5JTC2N.js";
12
+ import "../../chunks/chunk-AZLVQV5A.js";
12
13
  import "../../chunks/chunk-N5QAGJXV.js";
14
+ import "../../chunks/chunk-AIESW26U.js";
15
+ import "../../chunks/chunk-JLXITDAV.js";
16
+ import "../../chunks/chunk-6WVNJVBE.js";
13
17
  import "../../chunks/chunk-OD33BN4K.js";
14
- import "../../chunks/chunk-AZLVQV5A.js";
15
- import {
16
- client_exports
17
- } from "../../chunks/chunk-P3QFJTAE.js";
18
+ import "../../chunks/chunk-7N7BJA6C.js";
19
+ import "../../chunks/chunk-UJN2WZGO.js";
18
20
  import {
19
21
  endpoint_exports
20
22
  } from "../../chunks/chunk-CMWR77VW.js";
21
- import "../../chunks/chunk-UJN2WZGO.js";
22
- import "../../chunks/chunk-AIESW26U.js";
23
23
  import "../../chunks/chunk-HQLRJ7XW.js";
24
24
  import "../../chunks/chunk-JMU5PDBD.js";
25
25
  import "../../chunks/chunk-FENXVJYO.js";
@@ -1,5 +1,5 @@
1
+ import { Readable } from 'node:stream';
1
2
  import { Outcome } from '../../../../agnostic/misc/outcome';
2
3
  import { Client } from '../../client';
3
- import { Credentials } from '../../credentials';
4
4
  import { Type, Endpoint } from '../../endpoint';
5
- export declare function download<T extends Type>(targetPath: string, endpointType: T, endpointIdentifier: Endpoint<T>['identifier'], credentials: Credentials<T>, client?: Client<T>): Promise<Outcome.Either<import("stream").Readable, string>>;
5
+ export declare function download<T extends Type>(targetPath: string, endpointType: T, endpointIdentifier: Endpoint<T>['identifier'], client: Client<T>): Promise<Outcome.Either<Readable, string>>;
@@ -1,12 +1,11 @@
1
1
  import {
2
2
  download
3
- } from "../../../../chunks/chunk-FIVB3FON.js";
3
+ } from "../../../../chunks/chunk-JLXITDAV.js";
4
4
  import "../../../../chunks/chunk-6WVNJVBE.js";
5
- import "../../../../chunks/chunk-7N7BJA6C.js";
6
5
  import "../../../../chunks/chunk-OD33BN4K.js";
7
- import "../../../../chunks/chunk-P3QFJTAE.js";
8
- import "../../../../chunks/chunk-CMWR77VW.js";
6
+ import "../../../../chunks/chunk-7N7BJA6C.js";
9
7
  import "../../../../chunks/chunk-UJN2WZGO.js";
8
+ import "../../../../chunks/chunk-CMWR77VW.js";
10
9
  import "../../../../chunks/chunk-JMU5PDBD.js";
11
10
  import "../../../../chunks/chunk-FENXVJYO.js";
12
11
  import "../../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,20 +1,19 @@
1
- import "../../../chunks/chunk-R7J7Q2UL.js";
2
- import {
3
- download_exports
4
- } from "../../../chunks/chunk-FIVB3FON.js";
5
- import "../../../chunks/chunk-6WVNJVBE.js";
6
- import "../../../chunks/chunk-7N7BJA6C.js";
1
+ import "../../../chunks/chunk-ECWDSMDZ.js";
7
2
  import {
8
3
  upload_exports
9
- } from "../../../chunks/chunk-JSKVNOTW.js";
4
+ } from "../../../chunks/chunk-5JAITHS2.js";
10
5
  import "../../../chunks/chunk-KH5JTC2N.js";
6
+ import "../../../chunks/chunk-AZLVQV5A.js";
11
7
  import "../../../chunks/chunk-N5QAGJXV.js";
8
+ import "../../../chunks/chunk-AIESW26U.js";
9
+ import {
10
+ download_exports
11
+ } from "../../../chunks/chunk-JLXITDAV.js";
12
+ import "../../../chunks/chunk-6WVNJVBE.js";
12
13
  import "../../../chunks/chunk-OD33BN4K.js";
13
- import "../../../chunks/chunk-AZLVQV5A.js";
14
- import "../../../chunks/chunk-P3QFJTAE.js";
15
- import "../../../chunks/chunk-CMWR77VW.js";
14
+ import "../../../chunks/chunk-7N7BJA6C.js";
16
15
  import "../../../chunks/chunk-UJN2WZGO.js";
17
- import "../../../chunks/chunk-AIESW26U.js";
16
+ import "../../../chunks/chunk-CMWR77VW.js";
18
17
  import "../../../chunks/chunk-JMU5PDBD.js";
19
18
  import "../../../chunks/chunk-FENXVJYO.js";
20
19
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,6 +1,5 @@
1
1
  import { Readable } from 'node:stream';
2
2
  import { Outcome } from '../../../../agnostic/misc/outcome';
3
3
  import { Client } from '../../client';
4
- import { Credentials } from '../../credentials';
5
4
  import { Type, Endpoint } from '../../endpoint';
6
- export declare function upload<T extends Type>(fileReadable: Readable, targetPath: string, endpointType: T, endpointIdentifier: Endpoint<T>['identifier'], credentials: Credentials<T>, client?: Client<T>): Promise<Outcome.Either<true, string>>;
5
+ export declare function upload<T extends Type>(fileReadable: Readable, targetPath: string, endpointType: T, endpointIdentifier: Endpoint<T>['identifier'], client: Client<T>): Promise<Outcome.Either<true, string>>;
@@ -1,12 +1,11 @@
1
1
  import {
2
2
  upload
3
- } from "../../../../chunks/chunk-JSKVNOTW.js";
3
+ } from "../../../../chunks/chunk-5JAITHS2.js";
4
4
  import "../../../../chunks/chunk-KH5JTC2N.js";
5
- import "../../../../chunks/chunk-N5QAGJXV.js";
6
5
  import "../../../../chunks/chunk-AZLVQV5A.js";
7
- import "../../../../chunks/chunk-P3QFJTAE.js";
8
- import "../../../../chunks/chunk-CMWR77VW.js";
6
+ import "../../../../chunks/chunk-N5QAGJXV.js";
9
7
  import "../../../../chunks/chunk-AIESW26U.js";
8
+ import "../../../../chunks/chunk-CMWR77VW.js";
10
9
  import "../../../../chunks/chunk-JMU5PDBD.js";
11
10
  import "../../../../chunks/chunk-FENXVJYO.js";
12
11
  import "../../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
- import {
2
- Subpaths
3
- } from "../../chunks/chunk-HGCG2J77.js";
4
1
  import {
5
2
  readWrite
6
3
  } from "../../chunks/chunk-7DBNMU6N.js";
4
+ import {
5
+ Subpaths
6
+ } from "../../chunks/chunk-HGCG2J77.js";
7
7
  import {
8
8
  isInDirectory
9
9
  } from "../../chunks/chunk-NRITRUZW.js";
@@ -1,10 +1,10 @@
1
- import "../../../chunks/chunk-QSSQOTGV.js";
2
- import {
3
- download_exports
4
- } from "../../../chunks/chunk-UJN2WZGO.js";
1
+ import "../../../chunks/chunk-WO2R3QFK.js";
5
2
  import {
6
3
  upload_exports
7
4
  } from "../../../chunks/chunk-AIESW26U.js";
5
+ import {
6
+ download_exports
7
+ } from "../../../chunks/chunk-UJN2WZGO.js";
8
8
  import "../../../chunks/chunk-JMU5PDBD.js";
9
9
  import "../../../chunks/chunk-FENXVJYO.js";
10
10
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  file_exports
3
- } from "../../chunks/chunk-QSSQOTGV.js";
4
- import "../../chunks/chunk-UJN2WZGO.js";
3
+ } from "../../chunks/chunk-WO2R3QFK.js";
5
4
  import "../../chunks/chunk-AIESW26U.js";
5
+ import "../../chunks/chunk-UJN2WZGO.js";
6
6
  import "../../chunks/chunk-JMU5PDBD.js";
7
7
  import "../../chunks/chunk-FENXVJYO.js";
8
8
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -1,19 +1,23 @@
1
1
  import {
2
2
  prepare_exports
3
- } from "../../chunks/chunk-QPT6R6CL.js";
3
+ } from "../../chunks/chunk-LVBXPZUO.js";
4
4
  import {
5
5
  exports_exports
6
6
  } from "../../chunks/chunk-5RGHYFQH.js";
7
7
  import {
8
8
  transform_exports
9
- } from "../../chunks/chunk-HGQGQLLC.js";
10
- import "../../chunks/chunk-YVEMIEOT.js";
9
+ } from "../../chunks/chunk-TC7A4P5S.js";
10
+ import "../../chunks/chunk-NOBTN4IW.js";
11
+ import "../../chunks/chunk-5J7H5WYC.js";
12
+ import "../../chunks/chunk-R6F2MFZZ.js";
13
+ import "../../chunks/chunk-7SS2R4B6.js";
14
+ import "../../chunks/chunk-JYYW4KOZ.js";
11
15
  import "../../chunks/chunk-L7EUEQZP.js";
12
- import "../../chunks/chunk-DW4ILX77.js";
16
+ import "../../chunks/chunk-OSCBZIZF.js";
13
17
  import "../../chunks/chunk-454MZ5UE.js";
14
18
  import "../../chunks/chunk-JJWKHBXD.js";
15
- import "../../chunks/chunk-X5FAZBWL.js";
16
19
  import "../../chunks/chunk-7DDXALPH.js";
20
+ import "../../chunks/chunk-YUJJEKYY.js";
17
21
  import "../../chunks/chunk-WSFCRVEQ.js";
18
22
  export {
19
23
  exports_exports as Exports,