@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.
- package/agnostic/arrays/index.js +5 -5
- package/agnostic/css/index.js +5 -5
- 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 +11 -11
- package/agnostic/misc/index.js +24 -24
- package/agnostic/misc/lorem-ipsum/index.js +8 -8
- package/agnostic/numbers/index.js +3 -3
- package/agnostic/objects/index.js +14 -14
- package/agnostic/strings/index.js +8 -8
- package/agnostic/time/index.js +3 -3
- package/chunks/chunk-4DNPGCIM.js +191 -0
- package/chunks/chunk-6V7VQ32U.js +56 -0
- package/chunks/chunk-6Y7RZ5WD.js +48 -0
- package/chunks/chunk-7SZ3QPTM.js +191 -0
- package/chunks/chunk-7WYDM5OX.js +37 -0
- package/chunks/chunk-EBVYO2TY.js +48 -0
- package/chunks/chunk-HUT6SDJH.js +2369 -0
- package/chunks/chunk-I37MGRCT.js +20 -0
- package/chunks/chunk-IH25CV3F.js +20 -0
- package/chunks/chunk-KDTKA3SG.js +31 -0
- package/chunks/chunk-QN3UAKIU.js +21 -0
- package/chunks/chunk-X24BLY5H.js +31 -0
- package/node/@google-cloud/index.js +5 -5
- package/node/@google-cloud/storage/file/index.js +10 -10
- package/node/@google-cloud/storage/index.js +5 -5
- package/node/cloud-storage/index.js +8 -8
- package/node/cloud-storage/operations/download/index.d.ts +2 -2
- package/node/cloud-storage/operations/download/index.js +1 -2
- package/node/cloud-storage/operations/index.js +4 -5
- package/node/cloud-storage/operations/upload/index.d.ts +1 -2
- package/node/cloud-storage/operations/upload/index.js +1 -2
- package/node/files/index.js +3 -3
- package/package.json +1 -1
package/agnostic/misc/index.js
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
import {
|
2
|
+
LoremIpsum
|
3
|
+
} from "../../chunks/chunk-4DNPGCIM.js";
|
1
4
|
import {
|
2
5
|
Logs
|
3
6
|
} from "../../chunks/chunk-MJQF3YZO.js";
|
@@ -5,46 +8,43 @@ import "../../chunks/chunk-RASMASS4.js";
|
|
5
8
|
import "../../chunks/chunk-L3OCRR3V.js";
|
6
9
|
import "../../chunks/chunk-H4PP6AHP.js";
|
7
10
|
import {
|
8
|
-
|
9
|
-
} from "../../chunks/chunk-
|
11
|
+
Assert
|
12
|
+
} from "../../chunks/chunk-WAMSK4A3.js";
|
13
|
+
import {
|
14
|
+
Outcome
|
15
|
+
} from "../../chunks/chunk-JMU5PDBD.js";
|
10
16
|
import {
|
11
17
|
Crawler
|
12
18
|
} from "../../chunks/chunk-YUP434IY.js";
|
13
19
|
import "../../chunks/chunk-4CIS3R7T.js";
|
14
|
-
import {
|
15
|
-
data_size_exports
|
16
|
-
} from "../../chunks/chunk-7DV4CM2Z.js";
|
17
20
|
import {
|
18
21
|
getCurrentDownlink
|
19
22
|
} from "../../chunks/chunk-7AWTHZLY.js";
|
20
23
|
import {
|
21
|
-
|
22
|
-
} from "../../chunks/chunk-
|
24
|
+
data_size_exports
|
25
|
+
} from "../../chunks/chunk-7DV4CM2Z.js";
|
23
26
|
import {
|
24
|
-
|
25
|
-
} from "../../chunks/chunk-
|
27
|
+
Cast
|
28
|
+
} from "../../chunks/chunk-SNJJII7A.js";
|
29
|
+
import "../../chunks/chunk-KDTKA3SG.js";
|
30
|
+
import "../../chunks/chunk-AQBJ6HNB.js";
|
31
|
+
import "../../chunks/chunk-VJJIYJMY.js";
|
32
|
+
import "../../chunks/chunk-6RGDWX4A.js";
|
26
33
|
import {
|
27
|
-
|
28
|
-
} from "../../chunks/chunk-
|
29
|
-
import "../../chunks/chunk-
|
30
|
-
import "../../chunks/chunk-
|
31
|
-
import "../../chunks/chunk-75BICI4L.js";
|
32
|
-
import "../../chunks/chunk-OGBUSUE6.js";
|
34
|
+
isConstructorFunction
|
35
|
+
} from "../../chunks/chunk-RCO57B6F.js";
|
36
|
+
import "../../chunks/chunk-RLAZR3NL.js";
|
37
|
+
import "../../chunks/chunk-YS6WMSWC.js";
|
33
38
|
import "../../chunks/chunk-QXAJXTXV.js";
|
34
39
|
import {
|
35
40
|
isNotNullish,
|
36
41
|
isNullish,
|
37
42
|
nullishValues
|
38
43
|
} from "../../chunks/chunk-HC6ZOHCS.js";
|
39
|
-
import "../../chunks/chunk-
|
40
|
-
import "../../chunks/chunk-
|
41
|
-
import "../../chunks/chunk-
|
42
|
-
import "../../chunks/chunk-
|
43
|
-
import {
|
44
|
-
isConstructorFunction
|
45
|
-
} from "../../chunks/chunk-RCO57B6F.js";
|
46
|
-
import "../../chunks/chunk-VJJIYJMY.js";
|
47
|
-
import "../../chunks/chunk-AQBJ6HNB.js";
|
44
|
+
import "../../chunks/chunk-S32K7POB.js";
|
45
|
+
import "../../chunks/chunk-D3ERTRDW.js";
|
46
|
+
import "../../chunks/chunk-75BICI4L.js";
|
47
|
+
import "../../chunks/chunk-OGBUSUE6.js";
|
48
48
|
import "../../chunks/chunk-TIER4TF4.js";
|
49
49
|
import {
|
50
50
|
Crossenv
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import {
|
2
2
|
LoremIpsum
|
3
|
-
} from "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-4DNPGCIM.js";
|
4
|
+
import "../../../chunks/chunk-KDTKA3SG.js";
|
5
|
+
import "../../../chunks/chunk-AQBJ6HNB.js";
|
6
|
+
import "../../../chunks/chunk-VJJIYJMY.js";
|
7
|
+
import "../../../chunks/chunk-6RGDWX4A.js";
|
8
|
+
import "../../../chunks/chunk-RCO57B6F.js";
|
9
|
+
import "../../../chunks/chunk-RLAZR3NL.js";
|
10
|
+
import "../../../chunks/chunk-YS6WMSWC.js";
|
4
11
|
import "../../../chunks/chunk-S32K7POB.js";
|
5
12
|
import "../../../chunks/chunk-D3ERTRDW.js";
|
6
13
|
import "../../../chunks/chunk-75BICI4L.js";
|
7
14
|
import "../../../chunks/chunk-OGBUSUE6.js";
|
8
|
-
import "../../../chunks/chunk-FVFYLT5T.js";
|
9
|
-
import "../../../chunks/chunk-YS6WMSWC.js";
|
10
|
-
import "../../../chunks/chunk-RLAZR3NL.js";
|
11
|
-
import "../../../chunks/chunk-6RGDWX4A.js";
|
12
|
-
import "../../../chunks/chunk-RCO57B6F.js";
|
13
|
-
import "../../../chunks/chunk-VJJIYJMY.js";
|
14
|
-
import "../../../chunks/chunk-AQBJ6HNB.js";
|
15
15
|
import "../../../chunks/chunk-TIER4TF4.js";
|
16
16
|
import "../../../chunks/chunk-FR5H2OCV.js";
|
17
17
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
interpolate
|
3
|
-
} from "../../chunks/chunk-BJAYUP7M.js";
|
4
1
|
import {
|
5
2
|
clamp
|
6
3
|
} from "../../chunks/chunk-OSAXBA7G.js";
|
7
4
|
import {
|
8
5
|
absoluteModulo
|
9
6
|
} from "../../chunks/chunk-DNIOWD7K.js";
|
7
|
+
import {
|
8
|
+
interpolate
|
9
|
+
} from "../../chunks/chunk-BJAYUP7M.js";
|
10
10
|
import {
|
11
11
|
createScale,
|
12
12
|
getHarmonic
|
@@ -1,6 +1,20 @@
|
|
1
|
+
import {
|
2
|
+
flattenGetters
|
3
|
+
} from "../../chunks/chunk-VFJYLXCI.js";
|
4
|
+
import "../../chunks/chunk-SNJJII7A.js";
|
5
|
+
import {
|
6
|
+
isNonNullObject,
|
7
|
+
isObject
|
8
|
+
} from "../../chunks/chunk-HQLRJ7XW.js";
|
1
9
|
import {
|
2
10
|
recordFormat
|
3
11
|
} from "../../chunks/chunk-YP64J65L.js";
|
12
|
+
import {
|
13
|
+
Validation
|
14
|
+
} from "../../chunks/chunk-FPEW3A27.js";
|
15
|
+
import {
|
16
|
+
recordMap
|
17
|
+
} from "../../chunks/chunk-XNF5MLCQ.js";
|
4
18
|
import {
|
5
19
|
Enums
|
6
20
|
} from "../../chunks/chunk-WOAYU6LB.js";
|
@@ -8,23 +22,9 @@ import "../../chunks/chunk-E6MSDKON.js";
|
|
8
22
|
import {
|
9
23
|
deepGetProperty
|
10
24
|
} from "../../chunks/chunk-SKMCIFS3.js";
|
11
|
-
import {
|
12
|
-
flattenGetters
|
13
|
-
} from "../../chunks/chunk-VFJYLXCI.js";
|
14
25
|
import {
|
15
26
|
isRecord
|
16
27
|
} from "../../chunks/chunk-YDIBNEGA.js";
|
17
|
-
import {
|
18
|
-
isNonNullObject,
|
19
|
-
isObject
|
20
|
-
} from "../../chunks/chunk-HQLRJ7XW.js";
|
21
|
-
import {
|
22
|
-
recordMap
|
23
|
-
} from "../../chunks/chunk-XNF5MLCQ.js";
|
24
|
-
import {
|
25
|
-
Validation
|
26
|
-
} from "../../chunks/chunk-FPEW3A27.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,9 +1,13 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "../../chunks/chunk-
|
2
|
+
toAlphanum
|
3
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
4
4
|
import {
|
5
5
|
replaceAll
|
6
6
|
} from "../../chunks/chunk-ZTDVUXPR.js";
|
7
|
+
import {
|
8
|
+
trimEnd,
|
9
|
+
trimStart
|
10
|
+
} from "../../chunks/chunk-6XL25OZX.js";
|
7
11
|
import {
|
8
12
|
CharCodes
|
9
13
|
} from "../../chunks/chunk-34U4HX4V.js";
|
@@ -13,12 +17,8 @@ import {
|
|
13
17
|
matchesSome
|
14
18
|
} from "../../chunks/chunk-LQFKUNVQ.js";
|
15
19
|
import {
|
16
|
-
|
17
|
-
|
18
|
-
} from "../../chunks/chunk-6XL25OZX.js";
|
19
|
-
import {
|
20
|
-
toAlphanum
|
21
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
20
|
+
normalizeIndent
|
21
|
+
} from "../../chunks/chunk-JQXNEJAP.js";
|
22
22
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
23
23
|
|
24
24
|
// src/agnostic/strings/index.ts
|
package/agnostic/time/index.js
CHANGED
@@ -2,12 +2,12 @@ import {
|
|
2
2
|
Dates
|
3
3
|
} from "../../chunks/chunk-FZOU4OAW.js";
|
4
4
|
import "../../chunks/chunk-YQWZ3EP2.js";
|
5
|
-
import {
|
6
|
-
Duration
|
7
|
-
} from "../../chunks/chunk-6NYUQXJT.js";
|
8
5
|
import {
|
9
6
|
timeout
|
10
7
|
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
8
|
+
import {
|
9
|
+
Duration
|
10
|
+
} from "../../chunks/chunk-6NYUQXJT.js";
|
11
11
|
import {
|
12
12
|
Transitions
|
13
13
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
@@ -0,0 +1,191 @@
|
|
1
|
+
import {
|
2
|
+
Arrays
|
3
|
+
} from "./chunk-KDTKA3SG.js";
|
4
|
+
import {
|
5
|
+
Random
|
6
|
+
} from "./chunk-S32K7POB.js";
|
7
|
+
|
8
|
+
// src/agnostic/misc/lorem-ipsum/index.ts
|
9
|
+
var LoremIpsum;
|
10
|
+
((LoremIpsum2) => {
|
11
|
+
LoremIpsum2.words = [
|
12
|
+
"a",
|
13
|
+
"ac",
|
14
|
+
"accumsan",
|
15
|
+
"adipiscing",
|
16
|
+
"aenean",
|
17
|
+
"aliquam",
|
18
|
+
"aliquet",
|
19
|
+
"amet",
|
20
|
+
"ante",
|
21
|
+
"arcu",
|
22
|
+
"at",
|
23
|
+
"auctor",
|
24
|
+
"augue",
|
25
|
+
"bibendum",
|
26
|
+
"blandit",
|
27
|
+
"condimentum",
|
28
|
+
"consectetur",
|
29
|
+
"consequat",
|
30
|
+
"convallis",
|
31
|
+
"cras",
|
32
|
+
"curabitur",
|
33
|
+
"cursus",
|
34
|
+
"dapibus",
|
35
|
+
"diam",
|
36
|
+
"dictum",
|
37
|
+
"dictumst",
|
38
|
+
"dignissim",
|
39
|
+
"dolor",
|
40
|
+
"donec",
|
41
|
+
"dui",
|
42
|
+
"duis",
|
43
|
+
"efficitur",
|
44
|
+
"egestas",
|
45
|
+
"eget",
|
46
|
+
"eleifend",
|
47
|
+
"elementum",
|
48
|
+
"elit",
|
49
|
+
"enim",
|
50
|
+
"erat",
|
51
|
+
"eros",
|
52
|
+
"est",
|
53
|
+
"et",
|
54
|
+
"eu",
|
55
|
+
"euismod",
|
56
|
+
"ex",
|
57
|
+
"facilisis",
|
58
|
+
"faucibus",
|
59
|
+
"felis",
|
60
|
+
"feugiat",
|
61
|
+
"finibus",
|
62
|
+
"fringilla",
|
63
|
+
"fusce",
|
64
|
+
"gravida",
|
65
|
+
"habitasse",
|
66
|
+
"hac",
|
67
|
+
"hendrerit",
|
68
|
+
"iaculis",
|
69
|
+
"id",
|
70
|
+
"imperdiet",
|
71
|
+
"in",
|
72
|
+
"integer",
|
73
|
+
"interdum",
|
74
|
+
"ipsum",
|
75
|
+
"justo",
|
76
|
+
"lacinia",
|
77
|
+
"lacus",
|
78
|
+
"laoreet",
|
79
|
+
"lectus",
|
80
|
+
"leo",
|
81
|
+
"libero",
|
82
|
+
"ligula",
|
83
|
+
"lobortis",
|
84
|
+
"lorem",
|
85
|
+
"luctus",
|
86
|
+
"maecenas",
|
87
|
+
"magna",
|
88
|
+
"malesuada",
|
89
|
+
"massa",
|
90
|
+
"mattis",
|
91
|
+
"mauris",
|
92
|
+
"maximus",
|
93
|
+
"metus",
|
94
|
+
"mi",
|
95
|
+
"molestie",
|
96
|
+
"mollis",
|
97
|
+
"morbi",
|
98
|
+
"nam",
|
99
|
+
"nec",
|
100
|
+
"neque",
|
101
|
+
"nibh",
|
102
|
+
"nisi",
|
103
|
+
"nisl",
|
104
|
+
"non",
|
105
|
+
"nulla",
|
106
|
+
"nullam",
|
107
|
+
"nunc",
|
108
|
+
"odio",
|
109
|
+
"orci",
|
110
|
+
"ornare",
|
111
|
+
"pellentesque",
|
112
|
+
"pharetra",
|
113
|
+
"phasellus",
|
114
|
+
"placerat",
|
115
|
+
"platea",
|
116
|
+
"porta",
|
117
|
+
"porttitor",
|
118
|
+
"posuere",
|
119
|
+
"praesent",
|
120
|
+
"pulvinar",
|
121
|
+
"purus",
|
122
|
+
"quam",
|
123
|
+
"quis",
|
124
|
+
"quisque",
|
125
|
+
"risus",
|
126
|
+
"rutrum",
|
127
|
+
"sagittis",
|
128
|
+
"sapien",
|
129
|
+
"sed",
|
130
|
+
"sem",
|
131
|
+
"semper",
|
132
|
+
"sit",
|
133
|
+
"sodales",
|
134
|
+
"sollicitudin",
|
135
|
+
"suscipit",
|
136
|
+
"suspendisse",
|
137
|
+
"tellus",
|
138
|
+
"tempor",
|
139
|
+
"tempus",
|
140
|
+
"tincidunt",
|
141
|
+
"tortor",
|
142
|
+
"tristique",
|
143
|
+
"turpis",
|
144
|
+
"ultrices",
|
145
|
+
"ultricies",
|
146
|
+
"urna",
|
147
|
+
"ut",
|
148
|
+
"vehicula",
|
149
|
+
"vel",
|
150
|
+
"velit",
|
151
|
+
"venenatis",
|
152
|
+
"vestibulum",
|
153
|
+
"vitae",
|
154
|
+
"vivamus",
|
155
|
+
"viverra",
|
156
|
+
"volutpat",
|
157
|
+
"vulputate"
|
158
|
+
];
|
159
|
+
LoremIpsum2.generateSentence = (wordCount) => {
|
160
|
+
const resultArr = [];
|
161
|
+
let currentWordCound = wordCount;
|
162
|
+
for (let i = 0; i < currentWordCound; i++) {
|
163
|
+
const picked = Arrays.randomPick(LoremIpsum2.words);
|
164
|
+
if (typeof picked === "string") resultArr.push(picked);
|
165
|
+
else {
|
166
|
+
currentWordCound += 1;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
const [firstWord, ...otherWords] = resultArr;
|
170
|
+
if (firstWord === void 0) return "";
|
171
|
+
const capFirstLetter = firstWord?.charAt(0).toUpperCase();
|
172
|
+
const restOfFirstWord = firstWord?.slice(1);
|
173
|
+
const sentence = [
|
174
|
+
`${capFirstLetter}${restOfFirstWord}`,
|
175
|
+
...otherWords
|
176
|
+
].join(" ");
|
177
|
+
return `${sentence}.`;
|
178
|
+
};
|
179
|
+
LoremIpsum2.generateSentences = (sentencesCount, maxSentenceLength = 12, minSentenceLength = 4) => {
|
180
|
+
const sentences = [];
|
181
|
+
for (let i = 0; i < sentencesCount; i++) {
|
182
|
+
const length = Random.randomInt(maxSentenceLength, minSentenceLength) ?? 8;
|
183
|
+
sentences.push((0, LoremIpsum2.generateSentence)(length));
|
184
|
+
}
|
185
|
+
return sentences;
|
186
|
+
};
|
187
|
+
})(LoremIpsum || (LoremIpsum = {}));
|
188
|
+
|
189
|
+
export {
|
190
|
+
LoremIpsum
|
191
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import {
|
2
|
+
exists_exports
|
3
|
+
} from "./chunk-5VHFXWFM.js";
|
4
|
+
import {
|
5
|
+
generate_signed_url_exports
|
6
|
+
} from "./chunk-EM37BFXO.js";
|
7
|
+
import {
|
8
|
+
get_metadata_exports
|
9
|
+
} from "./chunk-QVIRBFMQ.js";
|
10
|
+
import {
|
11
|
+
get_permissions_exports
|
12
|
+
} from "./chunk-WOGRENMM.js";
|
13
|
+
import {
|
14
|
+
move_exports
|
15
|
+
} from "./chunk-4CAHGPFA.js";
|
16
|
+
import {
|
17
|
+
revoke_signed_urls_exports
|
18
|
+
} from "./chunk-LXZULGNN.js";
|
19
|
+
import {
|
20
|
+
erase_exports
|
21
|
+
} from "./chunk-G66DWXF3.js";
|
22
|
+
import {
|
23
|
+
update_metadata_exports
|
24
|
+
} from "./chunk-JBDWHJ4Q.js";
|
25
|
+
import {
|
26
|
+
copy_exports
|
27
|
+
} from "./chunk-5IPSIDXB.js";
|
28
|
+
import {
|
29
|
+
download_exports
|
30
|
+
} from "./chunk-6WVNJVBE.js";
|
31
|
+
import {
|
32
|
+
upload_exports
|
33
|
+
} from "./chunk-KH5JTC2N.js";
|
34
|
+
import {
|
35
|
+
__export
|
36
|
+
} from "./chunk-WSFCRVEQ.js";
|
37
|
+
|
38
|
+
// src/node/@google-cloud/storage/file/index.ts
|
39
|
+
var file_exports = {};
|
40
|
+
__export(file_exports, {
|
41
|
+
Copy: () => copy_exports,
|
42
|
+
Download: () => download_exports,
|
43
|
+
Erase: () => erase_exports,
|
44
|
+
Exists: () => exists_exports,
|
45
|
+
GenerateSignedUrl: () => generate_signed_url_exports,
|
46
|
+
GetMetaData: () => get_metadata_exports,
|
47
|
+
GetPermissions: () => get_permissions_exports,
|
48
|
+
Move: () => move_exports,
|
49
|
+
RevokeSignedUrls: () => revoke_signed_urls_exports,
|
50
|
+
UpdateMetadata: () => update_metadata_exports,
|
51
|
+
Upload: () => upload_exports
|
52
|
+
});
|
53
|
+
|
54
|
+
export {
|
55
|
+
file_exports
|
56
|
+
};
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import {
|
2
|
+
upload
|
3
|
+
} from "./chunk-KH5JTC2N.js";
|
4
|
+
import {
|
5
|
+
upload as upload2
|
6
|
+
} from "./chunk-N5QAGJXV.js";
|
7
|
+
import {
|
8
|
+
upload as upload4
|
9
|
+
} from "./chunk-AZLVQV5A.js";
|
10
|
+
import {
|
11
|
+
s3IdentifierData
|
12
|
+
} from "./chunk-CMWR77VW.js";
|
13
|
+
import {
|
14
|
+
upload as upload3
|
15
|
+
} from "./chunk-AIESW26U.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/upload/index.ts
|
24
|
+
var upload_exports = {};
|
25
|
+
__export(upload_exports, {
|
26
|
+
upload: () => upload5
|
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 upload5(fileReadable, targetPath, endpointType, endpointIdentifier, client) {
|
33
|
+
if (endpointType === "gcs-bucket" /* GCS */ && client instanceof Bucket) return await upload(fileReadable, 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 upload2(fileReadable, targetPath, bucketName, client);
|
38
|
+
}
|
39
|
+
if (endpointType === "ftp" /* FTP */ && client instanceof FtpClient) return await upload3(fileReadable, targetPath, client);
|
40
|
+
if (endpointType === "ftps" /* FTPS */ && client instanceof FtpClient) return await upload3(fileReadable, targetPath, client);
|
41
|
+
if (endpointType === "sftp" /* SFTP */ && client instanceof SftpClient) return await upload4(fileReadable, targetPath, client);
|
42
|
+
return Outcome.makeFailure("Invalid endpoint or client type");
|
43
|
+
}
|
44
|
+
|
45
|
+
export {
|
46
|
+
upload5 as upload,
|
47
|
+
upload_exports
|
48
|
+
};
|
@@ -0,0 +1,191 @@
|
|
1
|
+
import {
|
2
|
+
Random
|
3
|
+
} from "./chunk-S32K7POB.js";
|
4
|
+
import {
|
5
|
+
Arrays
|
6
|
+
} from "./chunk-X24BLY5H.js";
|
7
|
+
|
8
|
+
// src/agnostic/misc/lorem-ipsum/index.ts
|
9
|
+
var LoremIpsum;
|
10
|
+
((LoremIpsum2) => {
|
11
|
+
LoremIpsum2.words = [
|
12
|
+
"a",
|
13
|
+
"ac",
|
14
|
+
"accumsan",
|
15
|
+
"adipiscing",
|
16
|
+
"aenean",
|
17
|
+
"aliquam",
|
18
|
+
"aliquet",
|
19
|
+
"amet",
|
20
|
+
"ante",
|
21
|
+
"arcu",
|
22
|
+
"at",
|
23
|
+
"auctor",
|
24
|
+
"augue",
|
25
|
+
"bibendum",
|
26
|
+
"blandit",
|
27
|
+
"condimentum",
|
28
|
+
"consectetur",
|
29
|
+
"consequat",
|
30
|
+
"convallis",
|
31
|
+
"cras",
|
32
|
+
"curabitur",
|
33
|
+
"cursus",
|
34
|
+
"dapibus",
|
35
|
+
"diam",
|
36
|
+
"dictum",
|
37
|
+
"dictumst",
|
38
|
+
"dignissim",
|
39
|
+
"dolor",
|
40
|
+
"donec",
|
41
|
+
"dui",
|
42
|
+
"duis",
|
43
|
+
"efficitur",
|
44
|
+
"egestas",
|
45
|
+
"eget",
|
46
|
+
"eleifend",
|
47
|
+
"elementum",
|
48
|
+
"elit",
|
49
|
+
"enim",
|
50
|
+
"erat",
|
51
|
+
"eros",
|
52
|
+
"est",
|
53
|
+
"et",
|
54
|
+
"eu",
|
55
|
+
"euismod",
|
56
|
+
"ex",
|
57
|
+
"facilisis",
|
58
|
+
"faucibus",
|
59
|
+
"felis",
|
60
|
+
"feugiat",
|
61
|
+
"finibus",
|
62
|
+
"fringilla",
|
63
|
+
"fusce",
|
64
|
+
"gravida",
|
65
|
+
"habitasse",
|
66
|
+
"hac",
|
67
|
+
"hendrerit",
|
68
|
+
"iaculis",
|
69
|
+
"id",
|
70
|
+
"imperdiet",
|
71
|
+
"in",
|
72
|
+
"integer",
|
73
|
+
"interdum",
|
74
|
+
"ipsum",
|
75
|
+
"justo",
|
76
|
+
"lacinia",
|
77
|
+
"lacus",
|
78
|
+
"laoreet",
|
79
|
+
"lectus",
|
80
|
+
"leo",
|
81
|
+
"libero",
|
82
|
+
"ligula",
|
83
|
+
"lobortis",
|
84
|
+
"lorem",
|
85
|
+
"luctus",
|
86
|
+
"maecenas",
|
87
|
+
"magna",
|
88
|
+
"malesuada",
|
89
|
+
"massa",
|
90
|
+
"mattis",
|
91
|
+
"mauris",
|
92
|
+
"maximus",
|
93
|
+
"metus",
|
94
|
+
"mi",
|
95
|
+
"molestie",
|
96
|
+
"mollis",
|
97
|
+
"morbi",
|
98
|
+
"nam",
|
99
|
+
"nec",
|
100
|
+
"neque",
|
101
|
+
"nibh",
|
102
|
+
"nisi",
|
103
|
+
"nisl",
|
104
|
+
"non",
|
105
|
+
"nulla",
|
106
|
+
"nullam",
|
107
|
+
"nunc",
|
108
|
+
"odio",
|
109
|
+
"orci",
|
110
|
+
"ornare",
|
111
|
+
"pellentesque",
|
112
|
+
"pharetra",
|
113
|
+
"phasellus",
|
114
|
+
"placerat",
|
115
|
+
"platea",
|
116
|
+
"porta",
|
117
|
+
"porttitor",
|
118
|
+
"posuere",
|
119
|
+
"praesent",
|
120
|
+
"pulvinar",
|
121
|
+
"purus",
|
122
|
+
"quam",
|
123
|
+
"quis",
|
124
|
+
"quisque",
|
125
|
+
"risus",
|
126
|
+
"rutrum",
|
127
|
+
"sagittis",
|
128
|
+
"sapien",
|
129
|
+
"sed",
|
130
|
+
"sem",
|
131
|
+
"semper",
|
132
|
+
"sit",
|
133
|
+
"sodales",
|
134
|
+
"sollicitudin",
|
135
|
+
"suscipit",
|
136
|
+
"suspendisse",
|
137
|
+
"tellus",
|
138
|
+
"tempor",
|
139
|
+
"tempus",
|
140
|
+
"tincidunt",
|
141
|
+
"tortor",
|
142
|
+
"tristique",
|
143
|
+
"turpis",
|
144
|
+
"ultrices",
|
145
|
+
"ultricies",
|
146
|
+
"urna",
|
147
|
+
"ut",
|
148
|
+
"vehicula",
|
149
|
+
"vel",
|
150
|
+
"velit",
|
151
|
+
"venenatis",
|
152
|
+
"vestibulum",
|
153
|
+
"vitae",
|
154
|
+
"vivamus",
|
155
|
+
"viverra",
|
156
|
+
"volutpat",
|
157
|
+
"vulputate"
|
158
|
+
];
|
159
|
+
LoremIpsum2.generateSentence = (wordCount) => {
|
160
|
+
const resultArr = [];
|
161
|
+
let currentWordCound = wordCount;
|
162
|
+
for (let i = 0; i < currentWordCound; i++) {
|
163
|
+
const picked = Arrays.randomPick(LoremIpsum2.words);
|
164
|
+
if (typeof picked === "string") resultArr.push(picked);
|
165
|
+
else {
|
166
|
+
currentWordCound += 1;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
const [firstWord, ...otherWords] = resultArr;
|
170
|
+
if (firstWord === void 0) return "";
|
171
|
+
const capFirstLetter = firstWord?.charAt(0).toUpperCase();
|
172
|
+
const restOfFirstWord = firstWord?.slice(1);
|
173
|
+
const sentence = [
|
174
|
+
`${capFirstLetter}${restOfFirstWord}`,
|
175
|
+
...otherWords
|
176
|
+
].join(" ");
|
177
|
+
return `${sentence}.`;
|
178
|
+
};
|
179
|
+
LoremIpsum2.generateSentences = (sentencesCount, maxSentenceLength = 12, minSentenceLength = 4) => {
|
180
|
+
const sentences = [];
|
181
|
+
for (let i = 0; i < sentencesCount; i++) {
|
182
|
+
const length = Random.randomInt(maxSentenceLength, minSentenceLength) ?? 8;
|
183
|
+
sentences.push((0, LoremIpsum2.generateSentence)(length));
|
184
|
+
}
|
185
|
+
return sentences;
|
186
|
+
};
|
187
|
+
})(LoremIpsum || (LoremIpsum = {}));
|
188
|
+
|
189
|
+
export {
|
190
|
+
LoremIpsum
|
191
|
+
};
|