@design-edito/tools 0.2.2 → 0.2.4
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/colors/index.js +11 -11
- package/agnostic/css/index.js +4 -4
- package/agnostic/html/hyper-json/cast/index.js +5 -5
- package/agnostic/html/hyper-json/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
- package/agnostic/html/hyper-json/tree/index.js +5 -5
- package/agnostic/html/hyper-json/utils/index.js +5 -5
- package/agnostic/html/index.js +9 -9
- package/agnostic/misc/index.js +6 -6
- package/agnostic/numbers/index.js +5 -5
- package/agnostic/objects/index.js +12 -12
- package/agnostic/optim/index.js +3 -3
- package/agnostic/strings/index.d.ts +2 -0
- package/agnostic/strings/index.js +14 -9
- package/agnostic/strings/read-table/index.d.ts +38 -0
- package/agnostic/strings/read-table/index.js +10 -0
- package/agnostic/time/index.js +3 -3
- package/chunks/{chunk-FEIU5EB2.js → chunk-AIEEEZLK.js} +9 -9
- package/chunks/{chunk-HN7XLETR.js → chunk-AMJDX7MB.js} +19 -19
- package/chunks/chunk-BJVLBGZH.js +232 -0
- package/chunks/chunk-BLWSRM7I.js +38 -0
- package/chunks/{chunk-TLX7ZDXI.js → chunk-K2SL55BG.js} +4 -4
- package/chunks/{chunk-4W7NAQMC.js → chunk-QHQ3WLN4.js} +1 -1
- package/chunks/{chunk-TY6PMUBC.js → chunk-T4HGXBXC.js} +3 -3
- package/node/@aws-s3/index.js +8 -8
- package/node/@aws-s3/storage/directory/index.js +6 -6
- package/node/@aws-s3/storage/file/index.js +7 -7
- package/node/@aws-s3/storage/index.js +10 -10
- package/node/@google-cloud/index.js +11 -11
- package/node/@google-cloud/storage/bucket/index.js +5 -5
- package/node/@google-cloud/storage/directory/index.js +6 -6
- package/node/@google-cloud/storage/file/index.js +10 -10
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +11 -11
- package/node/cloud-storage/index.js +45 -45
- package/node/cloud-storage/operations/copy-dir/index.js +3 -3
- 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/index.js +53 -53
- 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/cloud-storage/operations/upload-file/index.js +3 -3
- package/node/files/index.js +3 -3
- package/node/ftps/directory/index.js +6 -6
- package/node/ftps/file/index.js +7 -7
- package/node/ftps/index.js +9 -9
- package/node/images/index.js +13 -12
- package/node/images/transform/index.d.ts +19 -2
- package/node/images/transform/index.js +9 -6
- package/node/sftp/directory/index.js +6 -6
- package/node/sftp/file/index.js +7 -7
- package/node/sftp/index.js +7 -7
- package/package.json +1 -1
- package/chunks/chunk-B6AUVPAA.js +0 -181
- package/chunks/{chunk-MJCOPMAD.js → chunk-24ZUWYIR.js} +5 -5
- package/chunks/{chunk-4OK2UH4M.js → chunk-2WIWINVL.js} +5 -5
- package/chunks/{chunk-7KSMK42F.js → chunk-42B5RQDS.js} +5 -5
- package/chunks/{chunk-KOHJNRP7.js → chunk-4ZPWZQVR.js} +6 -6
- package/chunks/{chunk-UWHQFQI2.js → chunk-646R6BQZ.js} +5 -5
- package/chunks/{chunk-GJGGDURA.js → chunk-6NLNUGBI.js} +5 -5
- package/chunks/{chunk-QT6N2QNW.js → chunk-CA3UPHYO.js} +5 -5
- package/chunks/{chunk-WWEDO42X.js → chunk-DPQRXSZH.js} +5 -5
- package/chunks/{chunk-PGT5NXPS.js → chunk-E4MMN22Y.js} +12 -12
- package/chunks/{chunk-VTZRFTRR.js → chunk-EOTOFHUR.js} +5 -5
- package/chunks/{chunk-NAN5WRTL.js → chunk-FS6LRTDK.js} +5 -5
- package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
- package/chunks/{chunk-ENCASRD5.js → chunk-GFQMBB2J.js} +6 -6
- package/chunks/{chunk-RCCKFZCR.js → chunk-H4LW6FP3.js} +5 -5
- package/chunks/{chunk-AIC5YAJU.js → chunk-HJARCTOH.js} +5 -5
- package/chunks/{chunk-74CFPDKM.js → chunk-MUOULXIW.js} +5 -5
- package/chunks/{chunk-3T67XKWX.js → chunk-NOLQR5RW.js} +5 -5
- package/chunks/{chunk-JVFAQFHD.js → chunk-OA7Y2A5T.js} +5 -5
- package/chunks/{chunk-UXEKCYL7.js → chunk-OMTDHKJI.js} +4 -4
- package/chunks/{chunk-VRFYLKZW.js → chunk-UK4HNSEJ.js} +5 -5
- package/chunks/{chunk-64TRCQ5C.js → chunk-ZMR2PK34.js} +6 -6
@@ -1,21 +1,21 @@
|
|
1
1
|
import {
|
2
2
|
string
|
3
|
-
} from "../../../../../../chunks/chunk-
|
3
|
+
} from "../../../../../../chunks/chunk-E4MMN22Y.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAQZEKIF.js";
|
4
5
|
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
6
|
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
6
7
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
7
8
|
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
-
import "../../../../../../chunks/chunk-QAQZEKIF.js";
|
9
9
|
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
10
10
|
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
11
|
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
15
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
13
16
|
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
14
17
|
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
15
18
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
16
|
-
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
17
|
-
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
18
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
19
19
|
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
20
20
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
21
21
|
export {
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import {
|
2
2
|
text
|
3
|
-
} from "../../../../../../chunks/chunk-
|
3
|
+
} from "../../../../../../chunks/chunk-E4MMN22Y.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAQZEKIF.js";
|
4
5
|
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
6
|
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
6
7
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
7
8
|
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
-
import "../../../../../../chunks/chunk-QAQZEKIF.js";
|
9
9
|
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
10
10
|
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
11
|
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
15
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
13
16
|
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
14
17
|
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
15
18
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
16
|
-
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
17
|
-
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
18
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
19
19
|
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
20
20
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
21
21
|
export {
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import {
|
2
2
|
Tree
|
3
|
-
} from "../../../../chunks/chunk-
|
3
|
+
} from "../../../../chunks/chunk-E4MMN22Y.js";
|
4
|
+
import "../../../../chunks/chunk-QAQZEKIF.js";
|
4
5
|
import "../../../../chunks/chunk-QAVYONH6.js";
|
5
6
|
import "../../../../chunks/chunk-SXRWMH3U.js";
|
6
7
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
7
8
|
import "../../../../chunks/chunk-FHLCPVND.js";
|
8
|
-
import "../../../../chunks/chunk-QAQZEKIF.js";
|
9
9
|
import "../../../../chunks/chunk-UT2J62LH.js";
|
10
10
|
import "../../../../chunks/chunk-BKO7GLC2.js";
|
11
11
|
import "../../../../chunks/chunk-RW7VAKJW.js";
|
12
12
|
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../chunks/chunk-YDIBNEGA.js";
|
15
|
+
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
13
16
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
14
17
|
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
15
18
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
16
|
-
import "../../../../chunks/chunk-YDIBNEGA.js";
|
17
|
-
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
18
|
-
import "../../../../chunks/chunk-E6MSDKON.js";
|
19
19
|
import "../../../../chunks/chunk-RLJOYG64.js";
|
20
20
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
21
21
|
export {
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import {
|
2
2
|
Utils
|
3
|
-
} from "../../../../chunks/chunk-
|
3
|
+
} from "../../../../chunks/chunk-E4MMN22Y.js";
|
4
|
+
import "../../../../chunks/chunk-QAQZEKIF.js";
|
4
5
|
import "../../../../chunks/chunk-QAVYONH6.js";
|
5
6
|
import "../../../../chunks/chunk-SXRWMH3U.js";
|
6
7
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
7
8
|
import "../../../../chunks/chunk-FHLCPVND.js";
|
8
|
-
import "../../../../chunks/chunk-QAQZEKIF.js";
|
9
9
|
import "../../../../chunks/chunk-UT2J62LH.js";
|
10
10
|
import "../../../../chunks/chunk-BKO7GLC2.js";
|
11
11
|
import "../../../../chunks/chunk-RW7VAKJW.js";
|
12
12
|
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../chunks/chunk-YDIBNEGA.js";
|
15
|
+
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
13
16
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
14
17
|
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
15
18
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
16
|
-
import "../../../../chunks/chunk-YDIBNEGA.js";
|
17
|
-
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
18
|
-
import "../../../../chunks/chunk-E6MSDKON.js";
|
19
19
|
import "../../../../chunks/chunk-RLJOYG64.js";
|
20
20
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
21
21
|
export {
|
package/agnostic/html/index.js
CHANGED
@@ -12,31 +12,31 @@ import {
|
|
12
12
|
} from "../../chunks/chunk-RDQJSWRC.js";
|
13
13
|
import {
|
14
14
|
HyperJson
|
15
|
-
} from "../../chunks/chunk-
|
16
|
-
import "../../chunks/chunk-
|
15
|
+
} from "../../chunks/chunk-QHQ3WLN4.js";
|
16
|
+
import "../../chunks/chunk-E4MMN22Y.js";
|
17
|
+
import "../../chunks/chunk-QAQZEKIF.js";
|
17
18
|
import "../../chunks/chunk-QAVYONH6.js";
|
18
19
|
import "../../chunks/chunk-SXRWMH3U.js";
|
19
20
|
import "../../chunks/chunk-XEQ2PBT2.js";
|
20
21
|
import "../../chunks/chunk-FHLCPVND.js";
|
21
|
-
import "../../chunks/chunk-QAQZEKIF.js";
|
22
22
|
import "../../chunks/chunk-UT2J62LH.js";
|
23
23
|
import "../../chunks/chunk-BKO7GLC2.js";
|
24
24
|
import "../../chunks/chunk-RW7VAKJW.js";
|
25
|
+
import {
|
26
|
+
insertNode
|
27
|
+
} from "../../chunks/chunk-XA4HVHJ4.js";
|
25
28
|
import {
|
26
29
|
getNodeAncestors
|
27
30
|
} from "../../chunks/chunk-LUPVHC73.js";
|
28
31
|
import {
|
29
32
|
getPositionInsideParent
|
30
33
|
} from "../../chunks/chunk-VTPRO4NJ.js";
|
31
|
-
import
|
32
|
-
|
33
|
-
|
34
|
+
import "../../chunks/chunk-E6MSDKON.js";
|
35
|
+
import "../../chunks/chunk-YDIBNEGA.js";
|
36
|
+
import "../../chunks/chunk-XNF5MLCQ.js";
|
34
37
|
import "../../chunks/chunk-JMU5PDBD.js";
|
35
38
|
import "../../chunks/chunk-ZTDVUXPR.js";
|
36
39
|
import "../../chunks/chunk-6XL25OZX.js";
|
37
|
-
import "../../chunks/chunk-YDIBNEGA.js";
|
38
|
-
import "../../chunks/chunk-XNF5MLCQ.js";
|
39
|
-
import "../../chunks/chunk-E6MSDKON.js";
|
40
40
|
import "../../chunks/chunk-P2H6PV4O.js";
|
41
41
|
import "../../chunks/chunk-FR5H2OCV.js";
|
42
42
|
import "../../chunks/chunk-S2NMAH7K.js";
|
package/agnostic/misc/index.js
CHANGED
@@ -4,15 +4,15 @@ import {
|
|
4
4
|
import "../../chunks/chunk-RASMASS4.js";
|
5
5
|
import "../../chunks/chunk-L3OCRR3V.js";
|
6
6
|
import "../../chunks/chunk-H4PP6AHP.js";
|
7
|
+
import {
|
8
|
+
getCurrentDownlink
|
9
|
+
} from "../../chunks/chunk-7AWTHZLY.js";
|
7
10
|
import {
|
8
11
|
LoremIpsum
|
9
12
|
} from "../../chunks/chunk-VQUF2TSY.js";
|
10
13
|
import {
|
11
14
|
Assert
|
12
15
|
} from "../../chunks/chunk-E4FJHD5R.js";
|
13
|
-
import {
|
14
|
-
Outcome
|
15
|
-
} from "../../chunks/chunk-JMU5PDBD.js";
|
16
16
|
import {
|
17
17
|
Crawler
|
18
18
|
} from "../../chunks/chunk-YUP434IY.js";
|
@@ -20,12 +20,12 @@ import "../../chunks/chunk-4CIS3R7T.js";
|
|
20
20
|
import {
|
21
21
|
data_size_exports
|
22
22
|
} from "../../chunks/chunk-7DV4CM2Z.js";
|
23
|
-
import {
|
24
|
-
getCurrentDownlink
|
25
|
-
} from "../../chunks/chunk-7AWTHZLY.js";
|
26
23
|
import {
|
27
24
|
Cast
|
28
25
|
} from "../../chunks/chunk-SNJJII7A.js";
|
26
|
+
import {
|
27
|
+
Outcome
|
28
|
+
} from "../../chunks/chunk-JMU5PDBD.js";
|
29
29
|
import "../../chunks/chunk-QXAJXTXV.js";
|
30
30
|
import {
|
31
31
|
isNotNullish,
|
@@ -2,18 +2,18 @@ import {
|
|
2
2
|
absoluteModulo
|
3
3
|
} from "../../chunks/chunk-DNIOWD7K.js";
|
4
4
|
import {
|
5
|
-
|
6
|
-
} from "../../chunks/chunk-
|
5
|
+
interpolate
|
6
|
+
} from "../../chunks/chunk-BJAYUP7M.js";
|
7
7
|
import {
|
8
8
|
createScale,
|
9
9
|
getHarmonic
|
10
10
|
} from "../../chunks/chunk-UYTXXUU7.js";
|
11
|
-
import {
|
12
|
-
interpolate
|
13
|
-
} from "../../chunks/chunk-BJAYUP7M.js";
|
14
11
|
import {
|
15
12
|
round
|
16
13
|
} from "../../chunks/chunk-32IRF4OP.js";
|
14
|
+
import {
|
15
|
+
clamp
|
16
|
+
} from "../../chunks/chunk-OSAXBA7G.js";
|
17
17
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
18
18
|
|
19
19
|
// src/agnostic/numbers/index.ts
|
@@ -1,20 +1,20 @@
|
|
1
|
+
import {
|
2
|
+
Enums
|
3
|
+
} from "../../chunks/chunk-WOAYU6LB.js";
|
4
|
+
import "../../chunks/chunk-E6MSDKON.js";
|
5
|
+
import {
|
6
|
+
recordFormat
|
7
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
1
8
|
import {
|
2
9
|
deepGetProperty
|
3
10
|
} from "../../chunks/chunk-SKMCIFS3.js";
|
4
11
|
import {
|
5
|
-
|
6
|
-
} from "../../chunks/chunk-
|
7
|
-
import "../../chunks/chunk-SNJJII7A.js";
|
12
|
+
isRecord
|
13
|
+
} from "../../chunks/chunk-YDIBNEGA.js";
|
8
14
|
import {
|
9
15
|
isNonNullObject,
|
10
16
|
isObject
|
11
17
|
} from "../../chunks/chunk-HQLRJ7XW.js";
|
12
|
-
import {
|
13
|
-
isRecord
|
14
|
-
} from "../../chunks/chunk-YDIBNEGA.js";
|
15
|
-
import {
|
16
|
-
recordFormat
|
17
|
-
} from "../../chunks/chunk-YP64J65L.js";
|
18
18
|
import {
|
19
19
|
recordMap
|
20
20
|
} from "../../chunks/chunk-XNF5MLCQ.js";
|
@@ -22,9 +22,9 @@ import {
|
|
22
22
|
Validation
|
23
23
|
} from "../../chunks/chunk-FPEW3A27.js";
|
24
24
|
import {
|
25
|
-
|
26
|
-
} from "../../chunks/chunk-
|
27
|
-
import "../../chunks/chunk-
|
25
|
+
flattenGetters
|
26
|
+
} from "../../chunks/chunk-VFJYLXCI.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";
|
package/agnostic/optim/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
+
import {
|
2
|
+
memoize
|
3
|
+
} from "../../chunks/chunk-JWBDZPQG.js";
|
1
4
|
import {
|
2
5
|
debounce,
|
3
6
|
throttle
|
4
7
|
} from "../../chunks/chunk-VZDUZTW6.js";
|
5
|
-
import {
|
6
|
-
memoize
|
7
|
-
} from "../../chunks/chunk-JWBDZPQG.js";
|
8
8
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
9
9
|
|
10
10
|
// src/agnostic/optim/index.ts
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { CharCodes as CharCodesNamespace } from './char-codes';
|
2
2
|
import { matches as matchesFunc, matchesSome as matchesSomeFunc, matchesEvery as matchesEveryFunc } from './matches';
|
3
|
+
import { readTable as readTableFunc } from './read-table';
|
3
4
|
import { replaceAll as replaceAllFunc } from './replace-all';
|
4
5
|
import { normalizeIndent as normalizeIndentFunc } from './normalize-indent';
|
5
6
|
import { toAlphanum as toAlphanumFunc } from './to-alphanum';
|
@@ -10,6 +11,7 @@ export declare namespace Strings {
|
|
10
11
|
const matchesSome: typeof matchesSomeFunc;
|
11
12
|
const matchesEvery: typeof matchesEveryFunc;
|
12
13
|
const normalizeIndent: typeof normalizeIndentFunc;
|
14
|
+
const readTable: typeof readTableFunc;
|
13
15
|
const replaceAll: typeof replaceAllFunc;
|
14
16
|
const toAlphanum: typeof toAlphanumFunc;
|
15
17
|
const trimStart: typeof trimStartFunc;
|
@@ -1,24 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
normalizeIndent
|
3
|
+
} from "../../chunks/chunk-JQXNEJAP.js";
|
1
4
|
import {
|
2
5
|
CharCodes
|
3
6
|
} from "../../chunks/chunk-34U4HX4V.js";
|
4
7
|
import {
|
5
|
-
|
6
|
-
} from "../../chunks/chunk-
|
8
|
+
readTable
|
9
|
+
} from "../../chunks/chunk-BLWSRM7I.js";
|
10
|
+
import "../../chunks/chunk-JMU5PDBD.js";
|
11
|
+
import {
|
12
|
+
matches,
|
13
|
+
matchesEvery,
|
14
|
+
matchesSome
|
15
|
+
} from "../../chunks/chunk-LQFKUNVQ.js";
|
7
16
|
import {
|
8
17
|
replaceAll
|
9
18
|
} from "../../chunks/chunk-ZTDVUXPR.js";
|
10
|
-
import {
|
11
|
-
toAlphanum
|
12
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
13
19
|
import {
|
14
20
|
trimEnd,
|
15
21
|
trimStart
|
16
22
|
} from "../../chunks/chunk-6XL25OZX.js";
|
17
23
|
import {
|
18
|
-
|
19
|
-
|
20
|
-
matchesSome
|
21
|
-
} from "../../chunks/chunk-LQFKUNVQ.js";
|
24
|
+
toAlphanum
|
25
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
22
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
23
27
|
|
24
28
|
// src/agnostic/strings/index.ts
|
@@ -29,6 +33,7 @@ var Strings;
|
|
29
33
|
Strings2.matchesSome = matchesSome;
|
30
34
|
Strings2.matchesEvery = matchesEvery;
|
31
35
|
Strings2.normalizeIndent = normalizeIndent;
|
36
|
+
Strings2.readTable = readTable;
|
32
37
|
Strings2.replaceAll = replaceAll;
|
33
38
|
Strings2.toAlphanum = toAlphanum;
|
34
39
|
Strings2.trimStart = trimStart;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { Outcome } from '../../misc/outcome';
|
2
|
+
export type ReadTableOptions<T extends Record<string, string>> = {
|
3
|
+
inputToLines: (input: string) => string[];
|
4
|
+
headLinePos: number;
|
5
|
+
headLineToHeaders: (input: string) => string[];
|
6
|
+
bodyLinesBounds: [number, number];
|
7
|
+
bodyLineToCellValue: (input: string) => string[];
|
8
|
+
schema: (obj: unknown) => T;
|
9
|
+
};
|
10
|
+
export declare const defaultOptions: ReadTableOptions<any>;
|
11
|
+
/**
|
12
|
+
* Parses a tabular string input into an array of objects, where each object represents a row in the table.
|
13
|
+
*
|
14
|
+
* The input table is expected to be a string with rows separated by newlines and columns separated by tabs.
|
15
|
+
* The first row is considered the header row, which defines the keys for the objects.
|
16
|
+
*
|
17
|
+
* @template T - The type of the objects in the resulting array, extending Record<string, string>.
|
18
|
+
* @param {string} table - The string representation of the table to be parsed.
|
19
|
+
* @param {ReadTableOptions<T>} [options=defaultOptions] - Configuration options for parsing the table.
|
20
|
+
* @param {function(string): string[]} options.inputToLines - Function to split the input string into lines.
|
21
|
+
* @param {number} options.headLinePos - The index of the header line in the lines array.
|
22
|
+
* @param {function(string): string[]} options.headLineToHeaders - Function to parse the header line into an array of header names.
|
23
|
+
* @param {[number, number]} options.bodyLinesBounds - Tuple indicating the start and end indices for body lines.
|
24
|
+
* @param {function(string): string[]} options.bodyLineToCellValue - Function to parse each body line into an array of cell values.
|
25
|
+
* @param {function(unknown): T} options.schema - Function to validate and transform each row object.
|
26
|
+
* @returns {Outcome.Either<T[], string>} An Outcome object containing either the array of parsed objects or an error message.
|
27
|
+
* @throws Will throw an error if the header line is not found.
|
28
|
+
* @example
|
29
|
+
* // Example usage:
|
30
|
+
* const table = 'name\tage\nAlice\t30\nBob\t25';
|
31
|
+
* const result = readTable(table);
|
32
|
+
* if (result.success) {
|
33
|
+
* console.log(result.payload); // [{ name: 'Alice', age: '30' }, { name: 'Bob', age: '25' }]
|
34
|
+
* } else {
|
35
|
+
* console.error(result.error);
|
36
|
+
* }
|
37
|
+
*/
|
38
|
+
export declare function readTable<T extends Record<string, string>>(table: string, options?: ReadTableOptions<T>): Outcome.Either<T[], string>;
|
package/agnostic/time/index.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import {
|
2
2
|
Duration
|
3
3
|
} from "../../chunks/chunk-6NYUQXJT.js";
|
4
|
+
import {
|
5
|
+
Transitions
|
6
|
+
} from "../../chunks/chunk-ENMBK6H7.js";
|
4
7
|
import {
|
5
8
|
Dates
|
6
9
|
} from "../../chunks/chunk-FZOU4OAW.js";
|
7
10
|
import "../../chunks/chunk-YQWZ3EP2.js";
|
8
|
-
import {
|
9
|
-
Transitions
|
10
|
-
} from "../../chunks/chunk-ENMBK6H7.js";
|
11
11
|
import {
|
12
12
|
timeout
|
13
13
|
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
revoke_signed_urls_exports
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-G5RRNREY.js";
|
4
4
|
import {
|
5
5
|
update_metadata_exports
|
6
6
|
} from "./chunk-HWVEI3RH.js";
|
7
|
+
import {
|
8
|
+
get_permissions_exports
|
9
|
+
} from "./chunk-YKPA3MQL.js";
|
7
10
|
import {
|
8
11
|
generate_signed_url_exports
|
9
12
|
} from "./chunk-PAIUCLVK.js";
|
@@ -11,8 +14,11 @@ import {
|
|
11
14
|
get_metadata_exports
|
12
15
|
} from "./chunk-42K3MQQ5.js";
|
13
16
|
import {
|
14
|
-
|
15
|
-
} from "./chunk-
|
17
|
+
remove_exports
|
18
|
+
} from "./chunk-7J7CYOXU.js";
|
19
|
+
import {
|
20
|
+
move_exports
|
21
|
+
} from "./chunk-6IYUA43Q.js";
|
16
22
|
import {
|
17
23
|
stat_exports
|
18
24
|
} from "./chunk-W3RXHN5I.js";
|
@@ -28,12 +34,6 @@ import {
|
|
28
34
|
import {
|
29
35
|
download_exports
|
30
36
|
} from "./chunk-2JH4TCT2.js";
|
31
|
-
import {
|
32
|
-
move_exports
|
33
|
-
} from "./chunk-6IYUA43Q.js";
|
34
|
-
import {
|
35
|
-
remove_exports
|
36
|
-
} from "./chunk-7J7CYOXU.js";
|
37
37
|
import {
|
38
38
|
__export
|
39
39
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -1,36 +1,36 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "./chunk-
|
2
|
+
remove_file_exports
|
3
|
+
} from "./chunk-H4LW6FP3.js";
|
4
4
|
import {
|
5
|
-
|
6
|
-
} from "./chunk-
|
5
|
+
move_file_exports
|
6
|
+
} from "./chunk-646R6BQZ.js";
|
7
7
|
import {
|
8
|
-
|
9
|
-
} from "./chunk-
|
8
|
+
stat_file_exports
|
9
|
+
} from "./chunk-UK4HNSEJ.js";
|
10
10
|
import {
|
11
|
-
|
12
|
-
} from "./chunk-
|
11
|
+
upload_file_exports
|
12
|
+
} from "./chunk-NOLQR5RW.js";
|
13
13
|
import {
|
14
14
|
copy_file_exports
|
15
|
-
} from "./chunk-
|
15
|
+
} from "./chunk-OA7Y2A5T.js";
|
16
16
|
import {
|
17
17
|
exists_file_exports
|
18
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-24ZUWYIR.js";
|
19
19
|
import {
|
20
|
-
|
21
|
-
} from "./chunk-
|
20
|
+
copy_dir_exports
|
21
|
+
} from "./chunk-6NLNUGBI.js";
|
22
22
|
import {
|
23
|
-
|
24
|
-
} from "./chunk-
|
23
|
+
download_file_exports
|
24
|
+
} from "./chunk-EOTOFHUR.js";
|
25
25
|
import {
|
26
26
|
move_dir_exports
|
27
|
-
} from "./chunk-
|
27
|
+
} from "./chunk-FS6LRTDK.js";
|
28
28
|
import {
|
29
|
-
|
30
|
-
} from "./chunk-
|
29
|
+
list_dir_exports
|
30
|
+
} from "./chunk-DPQRXSZH.js";
|
31
31
|
import {
|
32
|
-
|
33
|
-
} from "./chunk-
|
32
|
+
remove_dir_exports
|
33
|
+
} from "./chunk-CA3UPHYO.js";
|
34
34
|
import {
|
35
35
|
__export
|
36
36
|
} from "./chunk-WSFCRVEQ.js";
|