@design-edito/tools 0.1.62 → 0.1.63

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 (97) hide show
  1. package/agnostic/arrays/index.js +5 -5
  2. package/agnostic/css/index.js +5 -5
  3. package/agnostic/html/hyper-json/cast/index.js +4 -4
  4. package/agnostic/html/hyper-json/index.js +5 -5
  5. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +4 -4
  6. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +4 -4
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +4 -4
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +4 -4
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +4 -4
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +4 -4
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +4 -4
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +4 -4
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +4 -4
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +4 -4
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +4 -4
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +4 -4
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +4 -4
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +4 -4
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +4 -4
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +4 -4
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +4 -4
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +4 -4
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +4 -4
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +4 -4
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +4 -4
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +4 -4
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +4 -4
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +4 -4
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +4 -4
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +4 -4
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +4 -4
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +4 -4
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +4 -4
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +4 -4
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +4 -4
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +4 -4
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +4 -4
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +4 -4
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +4 -4
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +4 -4
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +4 -4
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +4 -4
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +4 -4
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +4 -4
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +4 -4
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +4 -4
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +4 -4
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +4 -4
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +4 -4
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +4 -4
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +4 -4
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +4 -4
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +4 -4
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +4 -4
  55. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +4 -4
  56. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +4 -4
  57. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +4 -4
  58. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +4 -4
  59. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +4 -4
  60. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +4 -4
  61. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +4 -4
  62. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +4 -4
  63. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +4 -4
  64. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +4 -4
  65. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +4 -4
  66. package/agnostic/html/hyper-json/tree/index.js +4 -4
  67. package/agnostic/html/hyper-json/utils/index.js +4 -4
  68. package/agnostic/html/index.js +11 -11
  69. package/agnostic/misc/index.js +24 -24
  70. package/agnostic/misc/lorem-ipsum/index.js +8 -8
  71. package/agnostic/numbers/index.js +3 -3
  72. package/agnostic/objects/index.js +14 -14
  73. package/agnostic/strings/index.js +8 -8
  74. package/agnostic/time/index.js +3 -3
  75. package/chunks/chunk-4DNPGCIM.js +191 -0
  76. package/chunks/chunk-6V7VQ32U.js +56 -0
  77. package/chunks/chunk-6Y7RZ5WD.js +48 -0
  78. package/chunks/chunk-7SZ3QPTM.js +191 -0
  79. package/chunks/chunk-7WYDM5OX.js +37 -0
  80. package/chunks/chunk-EBVYO2TY.js +48 -0
  81. package/chunks/chunk-HUT6SDJH.js +2369 -0
  82. package/chunks/chunk-I37MGRCT.js +20 -0
  83. package/chunks/chunk-IH25CV3F.js +20 -0
  84. package/chunks/chunk-KDTKA3SG.js +31 -0
  85. package/chunks/chunk-QN3UAKIU.js +21 -0
  86. package/chunks/chunk-X24BLY5H.js +31 -0
  87. package/node/@google-cloud/index.js +5 -5
  88. package/node/@google-cloud/storage/file/index.js +10 -10
  89. package/node/@google-cloud/storage/index.js +5 -5
  90. package/node/cloud-storage/index.js +8 -8
  91. package/node/cloud-storage/operations/download/index.d.ts +2 -2
  92. package/node/cloud-storage/operations/download/index.js +1 -2
  93. package/node/cloud-storage/operations/index.js +4 -5
  94. package/node/cloud-storage/operations/upload/index.d.ts +1 -2
  95. package/node/cloud-storage/operations/upload/index.js +1 -2
  96. package/node/files/index.js +3 -3
  97. package/package.json +1 -1
@@ -0,0 +1,37 @@
1
+ import {
2
+ Cast,
3
+ Tree,
4
+ Utils
5
+ } from "./chunk-HUT6SDJH.js";
6
+ import {
7
+ Types
8
+ } from "./chunk-XEQ2PBT2.js";
9
+ import {
10
+ SmartTags
11
+ } from "./chunk-UT2J62LH.js";
12
+ import {
13
+ Serialize
14
+ } from "./chunk-SXRWMH3U.js";
15
+ import {
16
+ Transformer
17
+ } from "./chunk-BKO7GLC2.js";
18
+ import {
19
+ Method
20
+ } from "./chunk-RW7VAKJW.js";
21
+
22
+ // src/agnostic/html/hyper-json/index.ts
23
+ var HyperJson;
24
+ ((HyperJson2) => {
25
+ HyperJson2.Cast = Cast;
26
+ HyperJson2.Method = Method;
27
+ HyperJson2.Serialize = Serialize;
28
+ HyperJson2.SmartTags = SmartTags;
29
+ HyperJson2.Transformer = Transformer;
30
+ HyperJson2.Tree = Tree;
31
+ HyperJson2.Types = Types;
32
+ HyperJson2.Utils = Utils;
33
+ })(HyperJson || (HyperJson = {}));
34
+
35
+ export {
36
+ HyperJson
37
+ };
@@ -0,0 +1,48 @@
1
+ import {
2
+ download
3
+ } from "./chunk-6WVNJVBE.js";
4
+ import {
5
+ download as download2
6
+ } from "./chunk-7N7BJA6C.js";
7
+ import {
8
+ download as download4
9
+ } from "./chunk-OD33BN4K.js";
10
+ import {
11
+ s3IdentifierData
12
+ } from "./chunk-CMWR77VW.js";
13
+ import {
14
+ download as download3
15
+ } from "./chunk-UJN2WZGO.js";
16
+ import {
17
+ Outcome
18
+ } from "./chunk-JMU5PDBD.js";
19
+ import {
20
+ __export
21
+ } from "./chunk-WSFCRVEQ.js";
22
+
23
+ // src/node/cloud-storage/operations/download/index.ts
24
+ var download_exports = {};
25
+ __export(download_exports, {
26
+ download: () => download5
27
+ });
28
+ import { Bucket } from "@google-cloud/storage";
29
+ import { S3 } from "aws-sdk";
30
+ import { Client as FtpClient } from "basic-ftp";
31
+ import SftpClient from "ssh2-sftp-client";
32
+ async function download5(targetPath, endpointType, endpointIdentifier, client) {
33
+ if (endpointType === "gcs-bucket" /* GCS */ && client instanceof Bucket) return await download(targetPath, client);
34
+ if (endpointType === "s3-bucket" /* S3 */ && client instanceof S3) {
35
+ const { bucketName } = s3IdentifierData(endpointIdentifier);
36
+ if (bucketName === null) return Outcome.makeFailure("Invalid S3 bucket name");
37
+ return await download2(targetPath, bucketName, client);
38
+ }
39
+ if (endpointType === "ftp" /* FTP */ && client instanceof FtpClient) return await download3(targetPath, client);
40
+ if (endpointType === "ftps" /* FTPS */ && client instanceof FtpClient) return await download3(targetPath, client);
41
+ if (endpointType === "sftp" /* SFTP */ && client instanceof SftpClient) return await download4(targetPath, client);
42
+ return Outcome.makeFailure("Invalid endpoint or client type");
43
+ }
44
+
45
+ export {
46
+ download5 as download,
47
+ download_exports
48
+ };