@design-edito/tools 0.4.0 → 0.4.1
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.d.ts +1 -1
- package/agnostic/arrays/index.js +1 -1
- package/agnostic/colors/index.d.ts +5 -5
- package/agnostic/colors/index.js +5 -5
- package/agnostic/css/bem/index.js +3 -3
- package/agnostic/css/index.d.ts +2 -2
- package/agnostic/css/index.js +2 -2
- package/agnostic/css/scale/index.js +3 -3
- package/agnostic/html/hyper-json/cast/index.js +11 -12
- package/agnostic/html/hyper-json/index.js +13 -14
- package/agnostic/html/hyper-json/method/index.d.ts +2 -2
- package/agnostic/html/hyper-json/serialize/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +8 -8
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +8 -8
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/index.d.ts +8 -1
- package/agnostic/html/hyper-json/smart-tags/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +3 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +3 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +2 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +3 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +11 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +11 -12
- package/agnostic/html/hyper-json/transformer/index.d.ts +7 -7
- package/agnostic/html/hyper-json/transformer/index.js +1 -1
- package/agnostic/html/hyper-json/tree/index.js +11 -12
- package/agnostic/html/hyper-json/types/index.d.ts +4 -4
- package/agnostic/html/hyper-json/utils/index.js +11 -12
- package/agnostic/html/index.d.ts +1 -1
- package/agnostic/html/index.js +1 -1
- package/agnostic/index.d.ts +4 -4
- package/agnostic/index.js +4 -4
- package/agnostic/misc/crossenv/index.d.ts +1 -1
- package/agnostic/misc/crossenv/index.js +1 -1
- package/agnostic/misc/index.d.ts +1 -1
- package/agnostic/misc/index.js +1 -1
- package/agnostic/misc/logs/index.d.ts +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/numbers/index.d.ts +2 -2
- package/agnostic/numbers/index.js +2 -2
- package/agnostic/objects/index.d.ts +1 -1
- package/agnostic/objects/index.js +1 -1
- package/agnostic/strings/index.d.ts +2 -2
- package/agnostic/strings/index.js +2 -2
- package/agnostic/strings/replace-all/index.js +14 -3
- package/agnostic/time/index.d.ts +1 -1
- package/agnostic/time/index.js +1 -1
- package/chunks/{chunk-FJH35B3Q.js → chunk-B4HGXMP3.js} +2 -2
- package/chunks/{chunk-3JPY46VO.js → chunk-E33STMH3.js} +41 -46
- package/chunks/{chunk-QDHET2TE.js → chunk-HYGUIF2O.js} +5 -2
- package/chunks/{chunk-4STX5SQX.js → chunk-LEBGVBYD.js} +9 -2
- package/chunks/{chunk-FCABYQRX.js → chunk-MSU7JU63.js} +13 -1
- package/chunks/{chunk-H4KLHV6B.js → chunk-O32IRXDX.js} +1 -1
- package/chunks/{chunk-DU6U226H.js → chunk-RJRNYRPM.js} +2 -2
- package/components/Scrllgngn/index.js +5 -5
- package/components/index.d.ts +5 -5
- package/components/index.js +5 -5
- package/node/@aws-s3/storage/file/index.d.ts +3 -3
- package/node/@aws-s3/storage/file/index.js +3 -3
- package/node/@google-cloud/storage/file/index.d.ts +2 -2
- package/node/@google-cloud/storage/file/index.js +2 -2
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
- package/node/cloud-storage/operations/index.d.ts +2 -2
- package/node/cloud-storage/operations/index.js +2 -2
- package/node/files/index.d.ts +1 -1
- package/node/files/index.js +1 -1
- package/node/ftps/file/index.d.ts +3 -3
- package/node/ftps/file/index.js +3 -3
- package/node/images/transform/index.js +23 -23
- package/node/images/transform/operations/index.d.ts +4 -4
- package/node/images/transform/operations/index.js +4 -4
- package/node/index.d.ts +2 -2
- package/node/index.js +2 -2
- package/node/process/index.d.ts +1 -1
- package/node/process/index.js +1 -1
- package/node/sftp/directory/index.d.ts +1 -1
- package/node/sftp/directory/index.js +1 -1
- package/node/sftp/file/index.d.ts +1 -1
- package/node/sftp/file/index.js +1 -1
- package/package.json +1 -1
- package/chunks/chunk-EPUHVR7J.js +0 -17
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nodelist
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
4
|
-
import "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { type Types } from '../../../types/index.js';
|
|
2
|
-
|
|
2
|
+
type Main = Types.Tree.RestingValue | undefined;
|
|
3
|
+
export declare const nullFunc: [string, Types.SmartTags.SmartTag<Main, Types.Tree.RestingArrayValue, null>];
|
|
4
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nullFunc
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
4
|
-
import "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
4
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
5
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
6
6
|
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
7
7
|
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
8
8
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
number
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
4
|
-
import "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
record
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
4
|
-
import "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
func,
|
|
3
3
|
ref
|
|
4
|
-
} from "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-
|
|
6
|
-
import "../../../../../../chunks/chunk-QDHET2TE.js";
|
|
7
|
-
import "../../../../../../chunks/chunk-DU6U226H.js";
|
|
8
|
-
import "../../../../../../chunks/chunk-FCABYQRX.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-H4KLHV6B.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-4STX5SQX.js";
|
|
11
|
-
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
4
|
+
} from "../../../../../../chunks/chunk-E33STMH3.js";
|
|
5
|
+
import "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
12
6
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-RJRNYRPM.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-HYGUIF2O.js";
|
|
9
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
10
|
+
import "../../../../../../chunks/chunk-O32IRXDX.js";
|
|
11
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
12
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
13
13
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
14
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
15
|
-
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
16
14
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
15
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
17
16
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
19
|
-
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
20
17
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
19
|
+
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
22
21
|
import "../../../../../../chunks/chunk-PUQUSA6S.js";
|
|
23
22
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
string
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
4
|
-
import "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
text
|
|
3
|
-
} from "../../../../../../chunks/chunk-
|
|
4
|
-
import "../../../../../../chunks/chunk-
|
|
5
|
-
import "../../../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -2,12 +2,12 @@ import * as Outcome from '../../../misc/outcome/index.js';
|
|
|
2
2
|
import { Method } from '../method/index.js';
|
|
3
3
|
import { type Tree as TreeNamespace } from '../tree/index.js';
|
|
4
4
|
import { type Types } from '../types/index.js';
|
|
5
|
-
export declare class Transformer<Main extends Types.Tree.RestingValue = Types.Tree.RestingValue, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> {
|
|
5
|
+
export declare class Transformer<Main extends Types.Tree.RestingValue | undefined = Types.Tree.RestingValue | undefined, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> {
|
|
6
6
|
name: string;
|
|
7
7
|
mode: Types.Tree.Mode;
|
|
8
8
|
innerValue: Types.Tree.RestingValue;
|
|
9
9
|
typeChecks: {
|
|
10
|
-
mainValue: (mainValue
|
|
10
|
+
mainValue: (mainValue?: Types.Tree.RestingValue) => Outcome.Either<Main, {
|
|
11
11
|
expected: string;
|
|
12
12
|
found: string;
|
|
13
13
|
}>;
|
|
@@ -19,15 +19,15 @@ export declare class Transformer<Main extends Types.Tree.RestingValue = Types.Tr
|
|
|
19
19
|
};
|
|
20
20
|
func: Types.Transformations.Function<Main, Args, Output>;
|
|
21
21
|
sourceTree: TreeNamespace.Tree;
|
|
22
|
-
static clone<Main extends Types.Tree.RestingValue, Args extends Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue>(transformer: Transformer<Main, Args, Output>): Transformer<Main, Args, Output>;
|
|
22
|
+
static clone<Main extends Types.Tree.RestingValue | undefined, Args extends Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue>(transformer: Transformer<Main, Args, Output>): Transformer<Main, Args, Output>;
|
|
23
23
|
constructor(name: Transformer<Main, Args, Output>['name'], mode: Transformer<Main, Args, Output>['mode'], innerValue: Transformer<Main, Args, Output>['innerValue'], typeChecks: Transformer<Main, Args, Output>['typeChecks'], func: Transformer<Main, Args, Output>['func'], sourceTree: Transformer<Main, Args, Output>['sourceTree']);
|
|
24
24
|
getMainAndArgsValue(outerValue: Types.Tree.RestingValue): {
|
|
25
|
-
mainValue: Types.Tree.RestingValue;
|
|
25
|
+
mainValue: Types.Tree.RestingValue | undefined;
|
|
26
26
|
argsValue: Types.Tree.RestingArrayValue;
|
|
27
27
|
};
|
|
28
|
-
makeMainValueError(mainValue: Types.Tree.RestingValue, argsValue: Types.Tree.RestingArrayValue, expected: string, found: string, details?: any): Types.Transformations.MainValueFailurePayload;
|
|
29
|
-
makeArgsValueError(mainValue: Types.Tree.RestingValue, argsValue: Types.Tree.RestingArrayValue, expected: string, found: string, position?: number, details?: any): Types.Transformations.ArgsValueFailurePayload;
|
|
30
|
-
makeTransformationError(mainValue: Types.Tree.RestingValue, argsValue: Types.Tree.RestingArrayValue, details?: any): Types.Transformations.TransformationFailurePayload;
|
|
28
|
+
makeMainValueError(mainValue: Types.Tree.RestingValue | undefined, argsValue: Types.Tree.RestingArrayValue, expected: string, found: string, details?: any): Types.Transformations.MainValueFailurePayload;
|
|
29
|
+
makeArgsValueError(mainValue: Types.Tree.RestingValue | undefined, argsValue: Types.Tree.RestingArrayValue, expected: string, found: string, position?: number, details?: any): Types.Transformations.ArgsValueFailurePayload;
|
|
30
|
+
makeTransformationError(mainValue: Types.Tree.RestingValue | undefined, argsValue: Types.Tree.RestingArrayValue, details?: any): Types.Transformations.TransformationFailurePayload;
|
|
31
31
|
apply(outerValue: Types.Tree.RestingValue): Types.Transformations.Output;
|
|
32
32
|
toMethod(): Method<Main, Args, Output>;
|
|
33
33
|
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tree
|
|
3
|
-
} from "../../../../chunks/chunk-
|
|
4
|
-
import "../../../../chunks/chunk-
|
|
5
|
-
import "../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -23,11 +23,11 @@ export declare namespace Types {
|
|
|
23
23
|
name: string;
|
|
24
24
|
sourceTree: TreeNamespace.Tree;
|
|
25
25
|
};
|
|
26
|
-
type Function<Main extends Tree.RestingValue, Args extends Tree.Value[], Out extends Tree.RestingValue> = (mainValue: Main, args: Args, details: FunctionDetailsArg) => Outcome.Either<Out, FunctionFailurePayload>;
|
|
26
|
+
type Function<Main extends Tree.RestingValue | undefined, Args extends Tree.Value[], Out extends Tree.RestingValue> = (mainValue: Main, args: Args, details: FunctionDetailsArg) => Outcome.Either<Out, FunctionFailurePayload>;
|
|
27
27
|
type FailurePayloadCore = {
|
|
28
28
|
transformerName: string;
|
|
29
29
|
path: string;
|
|
30
|
-
mainValue
|
|
30
|
+
mainValue?: Tree.RestingValue;
|
|
31
31
|
argsValue: Tree.RestingArrayValue;
|
|
32
32
|
};
|
|
33
33
|
type MainValueFailurePayload = FailurePayloadCore & FunctionMainValueFailure & {
|
|
@@ -112,7 +112,7 @@ export declare namespace Types {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
namespace SmartTags {
|
|
115
|
-
type SmartTag<Main extends Types.Tree.RestingValue = Types.Tree.RestingValue, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
|
|
115
|
+
type SmartTag<Main extends Types.Tree.RestingValue | undefined = Types.Tree.RestingValue | undefined, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
|
|
116
116
|
defaultMode: Types.Tree.Mode;
|
|
117
117
|
isolationInitType: Exclude<Types.Tree.ValueTypeName, 'transformer' | 'method'>;
|
|
118
118
|
generator: (innerValue: Types.Tree.RestingValue, mode: Types.Tree.Mode, sourceTree: TreeNamespace.Tree) => {
|
|
@@ -120,7 +120,7 @@ export declare namespace Types {
|
|
|
120
120
|
method: Method<Main, Args, Output>;
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
type Descriptor<Main extends Types.Tree.RestingValue = Types.Tree.RestingValue, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
|
|
123
|
+
type Descriptor<Main extends Types.Tree.RestingValue | undefined = Types.Tree.RestingValue | undefined, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
|
|
124
124
|
name: string;
|
|
125
125
|
defaultMode: Types.Tree.Mode;
|
|
126
126
|
isolationInitType: Exclude<Types.Tree.ValueTypeName, 'transformer' | 'method'>;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Utils
|
|
3
|
-
} from "../../../../chunks/chunk-
|
|
4
|
-
import "../../../../chunks/chunk-
|
|
5
|
-
import "../../../../chunks/chunk-QDHET2TE.js";
|
|
6
|
-
import "../../../../chunks/chunk-DU6U226H.js";
|
|
7
|
-
import "../../../../chunks/chunk-FCABYQRX.js";
|
|
8
|
-
import "../../../../chunks/chunk-H4KLHV6B.js";
|
|
9
|
-
import "../../../../chunks/chunk-4STX5SQX.js";
|
|
10
|
-
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
3
|
+
} from "../../../../chunks/chunk-E33STMH3.js";
|
|
4
|
+
import "../../../../chunks/chunk-B4HGXMP3.js";
|
|
11
5
|
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
|
6
|
+
import "../../../../chunks/chunk-RJRNYRPM.js";
|
|
7
|
+
import "../../../../chunks/chunk-HYGUIF2O.js";
|
|
8
|
+
import "../../../../chunks/chunk-MSU7JU63.js";
|
|
9
|
+
import "../../../../chunks/chunk-O32IRXDX.js";
|
|
10
|
+
import "../../../../chunks/chunk-LEBGVBYD.js";
|
|
11
|
+
import "../../../../chunks/chunk-RW7VAKJW.js";
|
|
12
12
|
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
|
13
|
-
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
14
|
-
import "../../../../chunks/chunk-57YKZBJR.js";
|
|
15
13
|
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
|
14
|
+
import "../../../../chunks/chunk-E6MSDKON.js";
|
|
16
15
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
|
17
|
-
import "../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
-
import "../../../../chunks/chunk-EPUHVR7J.js";
|
|
19
16
|
import "../../../../chunks/chunk-6XL25OZX.js";
|
|
17
|
+
import "../../../../chunks/chunk-LUAYN7VJ.js";
|
|
18
|
+
import "../../../../chunks/chunk-57YKZBJR.js";
|
|
20
19
|
import "../../../../chunks/chunk-HQLRJ7XW.js";
|
|
21
20
|
import "../../../../chunks/chunk-PUQUSA6S.js";
|
|
22
21
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
package/agnostic/html/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
|
3
3
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
4
|
export * as insertNode from './insert-node/index.js'
|
|
5
5
|
export * as placeholders from './placeholders/index.js'
|
|
6
|
-
export * as selectorToElement from './selector-to-element/index.js'
|
|
7
6
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
|
+
export * as selectorToElement from './selector-to-element/index.js'
|
|
8
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
package/agnostic/html/index.js
CHANGED
|
@@ -3,6 +3,6 @@ export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
|
3
3
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
4
|
export * as insertNode from './insert-node/index.js'
|
|
5
5
|
export * as placeholders from './placeholders/index.js'
|
|
6
|
-
export * as selectorToElement from './selector-to-element/index.js'
|
|
7
6
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
|
+
export * as selectorToElement from './selector-to-element/index.js'
|
|
8
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
export * as arrays from './arrays/index.js'
|
|
2
|
+
export * as booleans from './booleans/index.js'
|
|
1
3
|
export * as colors from './colors/index.js'
|
|
2
4
|
export * as css from './css/index.js'
|
|
3
5
|
export * as errors from './errors/index.js'
|
|
4
|
-
export * as arrays from './arrays/index.js'
|
|
5
6
|
export * as html from './html/index.js'
|
|
6
|
-
export * as booleans from './booleans/index.js'
|
|
7
7
|
export * as misc from './misc/index.js'
|
|
8
|
-
export * as objects from './objects/index.js'
|
|
9
8
|
export * as numbers from './numbers/index.js'
|
|
9
|
+
export * as objects from './objects/index.js'
|
|
10
10
|
export * as optim from './optim/index.js'
|
|
11
11
|
export * as random from './random/index.js'
|
|
12
|
+
export * as regexps from './regexps/index.js'
|
|
12
13
|
export * as sanitization from './sanitization/index.js'
|
|
13
14
|
export * as strings from './strings/index.js'
|
|
14
15
|
export * as time from './time/index.js'
|
|
15
16
|
export * as typescript from './typescript/index.js'
|
|
16
|
-
export * as regexps from './regexps/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
export * as arrays from './arrays/index.js'
|
|
2
|
+
export * as booleans from './booleans/index.js'
|
|
1
3
|
export * as colors from './colors/index.js'
|
|
2
4
|
export * as css from './css/index.js'
|
|
3
5
|
export * as errors from './errors/index.js'
|
|
4
|
-
export * as arrays from './arrays/index.js'
|
|
5
6
|
export * as html from './html/index.js'
|
|
6
|
-
export * as booleans from './booleans/index.js'
|
|
7
7
|
export * as misc from './misc/index.js'
|
|
8
|
-
export * as objects from './objects/index.js'
|
|
9
8
|
export * as numbers from './numbers/index.js'
|
|
9
|
+
export * as objects from './objects/index.js'
|
|
10
10
|
export * as optim from './optim/index.js'
|
|
11
11
|
export * as random from './random/index.js'
|
|
12
|
+
export * as regexps from './regexps/index.js'
|
|
12
13
|
export * as sanitization from './sanitization/index.js'
|
|
13
14
|
export * as strings from './strings/index.js'
|
|
14
15
|
export * as time from './time/index.js'
|
|
15
16
|
export * as typescript from './typescript/index.js'
|
|
16
|
-
export * as regexps from './regexps/index.js'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * as assert from './assert/index.js'
|
|
2
2
|
export * as cast from './cast/index.js'
|
|
3
|
+
export * as connection from './connection/index.js'
|
|
3
4
|
export * as crawler from './crawler/index.js'
|
|
4
5
|
export * as crossenv from './crossenv/index.js'
|
|
5
|
-
export * as connection from './connection/index.js'
|
|
6
6
|
export * as dataSize from './data-size/index.js'
|
|
7
7
|
export * as isNullish from './is-nullish/index.js'
|
|
8
8
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
package/agnostic/misc/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * as assert from './assert/index.js'
|
|
2
2
|
export * as cast from './cast/index.js'
|
|
3
|
+
export * as connection from './connection/index.js'
|
|
3
4
|
export * as crawler from './crawler/index.js'
|
|
4
5
|
export * as crossenv from './crossenv/index.js'
|
|
5
|
-
export * as connection from './connection/index.js'
|
|
6
6
|
export * as dataSize from './data-size/index.js'
|
|
7
7
|
export * as isNullish from './is-nullish/index.js'
|
|
8
8
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as approximateRational from './approximate-rational/index.js'
|
|
2
1
|
export * as absoluteModulo from './absolute-modulo/index.js'
|
|
2
|
+
export * as approximateRational from './approximate-rational/index.js'
|
|
3
3
|
export * as clamp from './clamp/index.js'
|
|
4
4
|
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
5
|
-
export * as round from './round/index.js'
|
|
6
5
|
export * as interpolate from './interpolate/index.js'
|
|
6
|
+
export * as round from './round/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as approximateRational from './approximate-rational/index.js'
|
|
2
1
|
export * as absoluteModulo from './absolute-modulo/index.js'
|
|
2
|
+
export * as approximateRational from './approximate-rational/index.js'
|
|
3
3
|
export * as clamp from './clamp/index.js'
|
|
4
4
|
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
5
|
-
export * as round from './round/index.js'
|
|
6
5
|
export * as interpolate from './interpolate/index.js'
|
|
6
|
+
export * as round from './round/index.js'
|
|
@@ -2,8 +2,8 @@ export * as deepGetProperty from './deep-get-property/index.js'
|
|
|
2
2
|
export * as enums from './enums/index.js'
|
|
3
3
|
export * as flattenGetters from './flatten-getters/index.js'
|
|
4
4
|
export * as isObject from './is-object/index.js'
|
|
5
|
-
export * as recordFormat from './record-format/index.js'
|
|
6
5
|
export * as isRecord from './is-record/index.js'
|
|
7
6
|
export * as recordMap from './record-map/index.js'
|
|
7
|
+
export * as recordFormat from './record-format/index.js'
|
|
8
8
|
export * as sortKeys from './sort-keys/index.js'
|
|
9
9
|
export * as validation from './validation/index.js'
|
|
@@ -2,8 +2,8 @@ export * as deepGetProperty from './deep-get-property/index.js'
|
|
|
2
2
|
export * as enums from './enums/index.js'
|
|
3
3
|
export * as flattenGetters from './flatten-getters/index.js'
|
|
4
4
|
export * as isObject from './is-object/index.js'
|
|
5
|
-
export * as recordFormat from './record-format/index.js'
|
|
6
5
|
export * as isRecord from './is-record/index.js'
|
|
7
6
|
export * as recordMap from './record-map/index.js'
|
|
7
|
+
export * as recordFormat from './record-format/index.js'
|
|
8
8
|
export * as sortKeys from './sort-keys/index.js'
|
|
9
9
|
export * as validation from './validation/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as charCodes from './char-codes/index.js'
|
|
2
|
+
export * as normalizeIndent from './normalize-indent/index.js'
|
|
2
3
|
export * as matches from './matches/index.js'
|
|
4
|
+
export * as parseTable from './parse-table/index.js'
|
|
3
5
|
export * as replaceAll from './replace-all/index.js'
|
|
4
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
5
|
-
export * as normalizeIndent from './normalize-indent/index.js'
|
|
6
|
-
export * as parseTable from './parse-table/index.js'
|
|
7
7
|
export * as trim from './trim/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as charCodes from './char-codes/index.js'
|
|
2
|
+
export * as normalizeIndent from './normalize-indent/index.js'
|
|
2
3
|
export * as matches from './matches/index.js'
|
|
4
|
+
export * as parseTable from './parse-table/index.js'
|
|
3
5
|
export * as replaceAll from './replace-all/index.js'
|
|
4
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
5
|
-
export * as normalizeIndent from './normalize-indent/index.js'
|
|
6
|
-
export * as parseTable from './parse-table/index.js'
|
|
7
7
|
export * as trim from './trim/index.js'
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
replaceAll
|
|
3
|
-
} from "../../../chunks/chunk-EPUHVR7J.js";
|
|
4
1
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
2
|
+
|
|
3
|
+
// src/agnostic/strings/replace-all/index.ts
|
|
4
|
+
function replaceAll(input, pattern, replacer) {
|
|
5
|
+
console.warn("[DEPRECATED] Use String.replaceAll instead");
|
|
6
|
+
const found = Array.from(input.match(pattern) ?? []);
|
|
7
|
+
const foundReplaced = typeof replacer === "string" ? found.map(() => replacer) : found.map((e) => replacer(e));
|
|
8
|
+
const splitted = input.split(pattern);
|
|
9
|
+
const replaced = splitted.map((chunk, chunkPos) => {
|
|
10
|
+
const isLast = chunkPos === splitted.length - 1;
|
|
11
|
+
if (isLast) return [chunk];
|
|
12
|
+
return [chunk, foundReplaced[chunkPos] ?? ""];
|
|
13
|
+
}).flat().join("");
|
|
14
|
+
return replaced;
|
|
15
|
+
}
|
|
5
16
|
export {
|
|
6
17
|
replaceAll
|
|
7
18
|
};
|
package/agnostic/time/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export * as dates from './dates/index.js'
|
|
1
2
|
export * as duration from './duration/index.js'
|
|
2
3
|
export * as timeout from './timeout/index.js'
|
|
3
4
|
export * as transitions from './transitions/index.js'
|
|
4
5
|
export * as wait from './wait/index.js'
|
|
5
|
-
export * as dates from './dates/index.js'
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export * as dates from './dates/index.js'
|
|
1
2
|
export * as duration from './duration/index.js'
|
|
2
3
|
export * as timeout from './timeout/index.js'
|
|
3
4
|
export * as transitions from './transitions/index.js'
|
|
4
5
|
export * as wait from './wait/index.js'
|
|
5
|
-
export * as dates from './dates/index.js'
|