@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.
Files changed (140) hide show
  1. package/agnostic/colors/index.js +11 -11
  2. package/agnostic/css/index.js +4 -4
  3. package/agnostic/html/hyper-json/cast/index.js +5 -5
  4. package/agnostic/html/hyper-json/index.js +6 -6
  5. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  6. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  66. package/agnostic/html/hyper-json/tree/index.js +5 -5
  67. package/agnostic/html/hyper-json/utils/index.js +5 -5
  68. package/agnostic/html/index.js +9 -9
  69. package/agnostic/misc/index.js +6 -6
  70. package/agnostic/numbers/index.js +5 -5
  71. package/agnostic/objects/index.js +12 -12
  72. package/agnostic/optim/index.js +3 -3
  73. package/agnostic/strings/index.d.ts +2 -0
  74. package/agnostic/strings/index.js +14 -9
  75. package/agnostic/strings/read-table/index.d.ts +38 -0
  76. package/agnostic/strings/read-table/index.js +10 -0
  77. package/agnostic/time/index.js +3 -3
  78. package/chunks/{chunk-FEIU5EB2.js → chunk-AIEEEZLK.js} +9 -9
  79. package/chunks/{chunk-HN7XLETR.js → chunk-AMJDX7MB.js} +19 -19
  80. package/chunks/chunk-BJVLBGZH.js +232 -0
  81. package/chunks/chunk-BLWSRM7I.js +38 -0
  82. package/chunks/{chunk-TLX7ZDXI.js → chunk-K2SL55BG.js} +4 -4
  83. package/chunks/{chunk-4W7NAQMC.js → chunk-QHQ3WLN4.js} +1 -1
  84. package/chunks/{chunk-TY6PMUBC.js → chunk-T4HGXBXC.js} +3 -3
  85. package/node/@aws-s3/index.js +8 -8
  86. package/node/@aws-s3/storage/directory/index.js +6 -6
  87. package/node/@aws-s3/storage/file/index.js +7 -7
  88. package/node/@aws-s3/storage/index.js +10 -10
  89. package/node/@google-cloud/index.js +11 -11
  90. package/node/@google-cloud/storage/bucket/index.js +5 -5
  91. package/node/@google-cloud/storage/directory/index.js +6 -6
  92. package/node/@google-cloud/storage/file/index.js +10 -10
  93. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  94. package/node/@google-cloud/storage/index.js +11 -11
  95. package/node/cloud-storage/index.js +45 -45
  96. package/node/cloud-storage/operations/copy-dir/index.js +3 -3
  97. package/node/cloud-storage/operations/copy-file/index.js +3 -3
  98. package/node/cloud-storage/operations/download-file/index.js +3 -3
  99. package/node/cloud-storage/operations/exists-file/index.js +3 -3
  100. package/node/cloud-storage/operations/index.js +53 -53
  101. package/node/cloud-storage/operations/list-dir/index.js +3 -3
  102. package/node/cloud-storage/operations/move-dir/index.js +3 -3
  103. package/node/cloud-storage/operations/move-file/index.js +3 -3
  104. package/node/cloud-storage/operations/remove-dir/index.js +3 -3
  105. package/node/cloud-storage/operations/remove-file/index.js +3 -3
  106. package/node/cloud-storage/operations/stat-file/index.js +3 -3
  107. package/node/cloud-storage/operations/upload-file/index.js +3 -3
  108. package/node/files/index.js +3 -3
  109. package/node/ftps/directory/index.js +6 -6
  110. package/node/ftps/file/index.js +7 -7
  111. package/node/ftps/index.js +9 -9
  112. package/node/images/index.js +13 -12
  113. package/node/images/transform/index.d.ts +19 -2
  114. package/node/images/transform/index.js +9 -6
  115. package/node/sftp/directory/index.js +6 -6
  116. package/node/sftp/file/index.js +7 -7
  117. package/node/sftp/index.js +7 -7
  118. package/package.json +1 -1
  119. package/chunks/chunk-B6AUVPAA.js +0 -181
  120. package/chunks/{chunk-MJCOPMAD.js → chunk-24ZUWYIR.js} +5 -5
  121. package/chunks/{chunk-4OK2UH4M.js → chunk-2WIWINVL.js} +5 -5
  122. package/chunks/{chunk-7KSMK42F.js → chunk-42B5RQDS.js} +5 -5
  123. package/chunks/{chunk-KOHJNRP7.js → chunk-4ZPWZQVR.js} +6 -6
  124. package/chunks/{chunk-UWHQFQI2.js → chunk-646R6BQZ.js} +5 -5
  125. package/chunks/{chunk-GJGGDURA.js → chunk-6NLNUGBI.js} +5 -5
  126. package/chunks/{chunk-QT6N2QNW.js → chunk-CA3UPHYO.js} +5 -5
  127. package/chunks/{chunk-WWEDO42X.js → chunk-DPQRXSZH.js} +5 -5
  128. package/chunks/{chunk-PGT5NXPS.js → chunk-E4MMN22Y.js} +12 -12
  129. package/chunks/{chunk-VTZRFTRR.js → chunk-EOTOFHUR.js} +5 -5
  130. package/chunks/{chunk-NAN5WRTL.js → chunk-FS6LRTDK.js} +5 -5
  131. package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
  132. package/chunks/{chunk-ENCASRD5.js → chunk-GFQMBB2J.js} +6 -6
  133. package/chunks/{chunk-RCCKFZCR.js → chunk-H4LW6FP3.js} +5 -5
  134. package/chunks/{chunk-AIC5YAJU.js → chunk-HJARCTOH.js} +5 -5
  135. package/chunks/{chunk-74CFPDKM.js → chunk-MUOULXIW.js} +5 -5
  136. package/chunks/{chunk-3T67XKWX.js → chunk-NOLQR5RW.js} +5 -5
  137. package/chunks/{chunk-JVFAQFHD.js → chunk-OA7Y2A5T.js} +5 -5
  138. package/chunks/{chunk-UXEKCYL7.js → chunk-OMTDHKJI.js} +4 -4
  139. package/chunks/{chunk-VRFYLKZW.js → chunk-UK4HNSEJ.js} +5 -5
  140. package/chunks/{chunk-64TRCQ5C.js → chunk-ZMR2PK34.js} +6 -6
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  string
3
- } from "../../../../../../chunks/chunk-PGT5NXPS.js";
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-PGT5NXPS.js";
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-PGT5NXPS.js";
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-PGT5NXPS.js";
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 {
@@ -12,31 +12,31 @@ import {
12
12
  } from "../../chunks/chunk-RDQJSWRC.js";
13
13
  import {
14
14
  HyperJson
15
- } from "../../chunks/chunk-4W7NAQMC.js";
16
- import "../../chunks/chunk-PGT5NXPS.js";
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
- insertNode
33
- } from "../../chunks/chunk-XA4HVHJ4.js";
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";
@@ -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
- clamp
6
- } from "../../chunks/chunk-OSAXBA7G.js";
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
- flattenGetters
6
- } from "../../chunks/chunk-VFJYLXCI.js";
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
- Enums
26
- } from "../../chunks/chunk-WOAYU6LB.js";
27
- import "../../chunks/chunk-E6MSDKON.js";
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";
@@ -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
- normalizeIndent
6
- } from "../../chunks/chunk-JQXNEJAP.js";
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
- matches,
19
- matchesEvery,
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>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ defaultOptions,
3
+ readTable
4
+ } from "../../../chunks/chunk-BLWSRM7I.js";
5
+ import "../../../chunks/chunk-JMU5PDBD.js";
6
+ import "../../../chunks/chunk-WSFCRVEQ.js";
7
+ export {
8
+ defaultOptions,
9
+ readTable
10
+ };
@@ -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-LSZVKXDZ.js";
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
- get_permissions_exports
15
- } from "./chunk-YKPA3MQL.js";
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
- stat_file_exports
3
- } from "./chunk-VRFYLKZW.js";
2
+ remove_file_exports
3
+ } from "./chunk-H4LW6FP3.js";
4
4
  import {
5
- upload_file_exports
6
- } from "./chunk-3T67XKWX.js";
5
+ move_file_exports
6
+ } from "./chunk-646R6BQZ.js";
7
7
  import {
8
- remove_dir_exports
9
- } from "./chunk-QT6N2QNW.js";
8
+ stat_file_exports
9
+ } from "./chunk-UK4HNSEJ.js";
10
10
  import {
11
- copy_dir_exports
12
- } from "./chunk-GJGGDURA.js";
11
+ upload_file_exports
12
+ } from "./chunk-NOLQR5RW.js";
13
13
  import {
14
14
  copy_file_exports
15
- } from "./chunk-JVFAQFHD.js";
15
+ } from "./chunk-OA7Y2A5T.js";
16
16
  import {
17
17
  exists_file_exports
18
- } from "./chunk-MJCOPMAD.js";
18
+ } from "./chunk-24ZUWYIR.js";
19
19
  import {
20
- download_file_exports
21
- } from "./chunk-VTZRFTRR.js";
20
+ copy_dir_exports
21
+ } from "./chunk-6NLNUGBI.js";
22
22
  import {
23
- list_dir_exports
24
- } from "./chunk-WWEDO42X.js";
23
+ download_file_exports
24
+ } from "./chunk-EOTOFHUR.js";
25
25
  import {
26
26
  move_dir_exports
27
- } from "./chunk-NAN5WRTL.js";
27
+ } from "./chunk-FS6LRTDK.js";
28
28
  import {
29
- move_file_exports
30
- } from "./chunk-UWHQFQI2.js";
29
+ list_dir_exports
30
+ } from "./chunk-DPQRXSZH.js";
31
31
  import {
32
- remove_file_exports
33
- } from "./chunk-RCCKFZCR.js";
32
+ remove_dir_exports
33
+ } from "./chunk-CA3UPHYO.js";
34
34
  import {
35
35
  __export
36
36
  } from "./chunk-WSFCRVEQ.js";