@design-edito/tools 0.1.39 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/agnostic/css/bem/index.js +2 -2
- package/agnostic/css/index.js +13 -13
- package/agnostic/errors/index.js +2 -2
- package/agnostic/html/hyper-json/cast/index.d.ts +8 -14
- package/agnostic/html/hyper-json/cast/index.js +13 -8
- package/agnostic/html/hyper-json/index.d.ts +8 -4
- package/agnostic/html/hyper-json/index.js +14 -9
- package/agnostic/html/hyper-json/method/index.d.ts +7 -0
- package/agnostic/html/hyper-json/method/index.js +6 -0
- package/agnostic/html/hyper-json/serialize/index.d.ts +2 -2
- package/agnostic/html/hyper-json/serialize/index.js +4 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +3 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +6 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +23 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +8 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +1 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +6 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +3 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +6 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +5 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +3 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +9 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/index.js +9 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +10 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +10 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +2 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +10 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +7 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +23 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +21 -0
- package/agnostic/html/hyper-json/transformer/index.d.ts +33 -0
- package/agnostic/html/hyper-json/transformer/index.js +8 -0
- package/agnostic/html/hyper-json/tree/index.d.ts +50 -41
- package/agnostic/html/hyper-json/tree/index.js +15 -8
- package/agnostic/html/hyper-json/types/index.d.ts +138 -84
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.d.ts +49 -8
- package/agnostic/html/hyper-json/utils/index.js +13 -8
- package/agnostic/html/index.js +27 -22
- package/agnostic/html/replace-in-element/index.js +20 -3
- package/agnostic/html/sanitize/index.js +4 -4
- package/agnostic/html/selector-to-element/index.js +4 -4
- package/agnostic/html/string-to-nodes/index.js +5 -5
- package/agnostic/misc/index.js +16 -16
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/misc/outcome/index.js +3 -16
- package/agnostic/numbers/index.js +6 -6
- package/agnostic/objects/deep-get-property/index.d.ts +1 -0
- package/agnostic/objects/deep-get-property/index.js +7 -0
- package/agnostic/objects/index.d.ts +2 -0
- package/agnostic/objects/index.js +13 -9
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.js +3 -3
- package/agnostic/time/index.js +3 -3
- package/chunks/chunk-2G5MFJ66.js +2420 -0
- package/chunks/chunk-7VL2O6SQ.js +211 -0
- package/chunks/chunk-BKO7GLC2.js +133 -0
- package/chunks/chunk-EJEG2LDE.js +2427 -0
- package/chunks/chunk-FHLCPVND.js +23 -0
- package/chunks/chunk-FOLCH72D.js +211 -0
- package/chunks/chunk-GPWFYPER.js +211 -0
- package/chunks/chunk-JMU5PDBD.js +20 -0
- package/chunks/chunk-MAP7OSVR.js +37 -0
- package/chunks/chunk-PMYUC6VD.js +37 -0
- package/chunks/chunk-QAVYONH6.js +20 -0
- package/chunks/chunk-RW7VAKJW.js +15 -0
- package/chunks/chunk-SKMCIFS3.js +27 -0
- package/chunks/chunk-SXRWMH3U.js +78 -0
- package/chunks/chunk-UT2J62LH.js +37 -0
- package/chunks/chunk-VDNIN3V5.js +23 -0
- package/chunks/chunk-XEQ2PBT2.js +20 -0
- package/chunks/chunk-XPRBKRSB.js +37 -0
- package/chunks/chunk-YGJHHWBJ.js +37 -0
- package/chunks/chunk-YMNBUQVR.js +2420 -0
- package/chunks/chunk-YYE7TVB6.js +2420 -0
- package/node/files/index.js +3 -3
- package/package.json +1 -1
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
guess
|
3
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
6
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
7
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
9
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
10
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
15
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
16
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
17
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
18
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
19
|
+
export {
|
20
|
+
guess
|
21
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
nodelist
|
3
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
6
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
7
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
9
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
10
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
15
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
16
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
17
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
18
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
19
|
+
export {
|
20
|
+
nodelist
|
21
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import {
|
2
|
+
nullFunc
|
3
|
+
} from "../../../../../../chunks/chunk-QAVYONH6.js";
|
4
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
5
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
6
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
7
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
8
|
+
export {
|
9
|
+
nullFunc
|
10
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
number
|
3
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
6
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
7
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
9
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
10
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
15
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
16
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
17
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
18
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
19
|
+
export {
|
20
|
+
number
|
21
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
record
|
3
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
6
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
7
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
9
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
10
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
15
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
16
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
17
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
18
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
19
|
+
export {
|
20
|
+
record
|
21
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Types } from '../../../types';
|
2
|
+
type Main = string | Text;
|
3
|
+
type Args = [];
|
4
|
+
type Output = Types.Tree.RestingValue;
|
5
|
+
export declare const func: Types.Transformations.Function<Main, Args, Output>;
|
6
|
+
export declare const ref: [string, Types.SmartTags.SmartTag<Main, [], Types.Tree.RestingValue>];
|
7
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import {
|
2
|
+
func,
|
3
|
+
ref
|
4
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
5
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
6
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
7
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
8
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
9
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
10
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
11
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
12
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
13
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
14
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
15
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
16
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
17
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
18
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
19
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
20
|
+
export {
|
21
|
+
func,
|
22
|
+
ref
|
23
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
type Main = null | boolean | number | string | Text | Element | NodeListOf<Element | Text>;
|
2
|
+
type Args = Array<null | boolean | number | string | Text | Element | NodeListOf<Element | Text>>;
|
3
|
+
export declare const string: [string, import("../../../types").Types.SmartTags.SmartTag<Main, Args, string>];
|
4
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
string
|
3
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
6
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
7
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
9
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
10
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
15
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
16
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
17
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
18
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
19
|
+
export {
|
20
|
+
string
|
21
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
type Main = null | boolean | number | string | Text | Element | NodeListOf<Element | Text>;
|
2
|
+
type Args = Array<null | boolean | number | string | Text | Element | NodeListOf<Element | Text>>;
|
3
|
+
export declare const text: [string, import("../../../types").Types.SmartTags.SmartTag<Main, Args, Text>];
|
4
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {
|
2
|
+
text
|
3
|
+
} from "../../../../../../chunks/chunk-2G5MFJ66.js";
|
4
|
+
import "../../../../../../chunks/chunk-QAVYONH6.js";
|
5
|
+
import "../../../../../../chunks/chunk-XEQ2PBT2.js";
|
6
|
+
import "../../../../../../chunks/chunk-VDNIN3V5.js";
|
7
|
+
import "../../../../../../chunks/chunk-FHLCPVND.js";
|
8
|
+
import "../../../../../../chunks/chunk-UT2J62LH.js";
|
9
|
+
import "../../../../../../chunks/chunk-SXRWMH3U.js";
|
10
|
+
import "../../../../../../chunks/chunk-BKO7GLC2.js";
|
11
|
+
import "../../../../../../chunks/chunk-RW7VAKJW.js";
|
12
|
+
import "../../../../../../chunks/chunk-XA4HVHJ4.js";
|
13
|
+
import "../../../../../../chunks/chunk-E6MSDKON.js";
|
14
|
+
import "../../../../../../chunks/chunk-XNF5MLCQ.js";
|
15
|
+
import "../../../../../../chunks/chunk-YDIBNEGA.js";
|
16
|
+
import "../../../../../../chunks/chunk-JMU5PDBD.js";
|
17
|
+
import "../../../../../../chunks/chunk-ZTDVUXPR.js";
|
18
|
+
import "../../../../../../chunks/chunk-RLJOYG64.js";
|
19
|
+
export {
|
20
|
+
text
|
21
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { Outcome } from '~/agnostic/misc/outcome';
|
2
|
+
import { Method } from '../method';
|
3
|
+
import { Tree as TreeNamespace } from '../tree';
|
4
|
+
import { Types } from '../types';
|
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> {
|
6
|
+
name: string;
|
7
|
+
mode: Types.Tree.Mode;
|
8
|
+
innerValue: Types.Tree.RestingValue;
|
9
|
+
typeChecks: {
|
10
|
+
mainValue: (mainValue: Types.Tree.RestingValue) => Outcome.Either<Main, {
|
11
|
+
expected: string;
|
12
|
+
found: string;
|
13
|
+
}>;
|
14
|
+
argsValue: (argsValue: Types.Tree.RestingArrayValue, mainValue: Main) => Outcome.Either<Args, {
|
15
|
+
expected: string;
|
16
|
+
found: string;
|
17
|
+
position?: number;
|
18
|
+
}>;
|
19
|
+
};
|
20
|
+
func: Types.Transformations.Function<Main, Args, Output>;
|
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>;
|
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
|
+
getMainAndArgsValue(outerValue: Types.Tree.RestingValue): {
|
25
|
+
mainValue: Types.Tree.RestingValue;
|
26
|
+
argsValue: Types.Tree.RestingArrayValue;
|
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;
|
31
|
+
apply(outerValue: Types.Tree.RestingValue): Types.Transformations.Output;
|
32
|
+
toMethod(): Method<Main, Args, Output>;
|
33
|
+
}
|
@@ -1,45 +1,47 @@
|
|
1
1
|
import { Types } from '../types';
|
2
|
+
export declare const SMART_TAGS_REGISTER: Types.SmartTags.Register;
|
2
3
|
export declare namespace Tree {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
export function mergeValues(currentValue: Types.Value, incomingValue: Types.Value, mergeKey: string | number, initiatorTree: Tree): Types.Value;
|
7
|
-
type MergeNodesOptions = {
|
8
|
-
actionAttribute?: string;
|
9
|
-
keyAttribute?: string;
|
10
|
-
rootKey?: string;
|
11
|
-
};
|
12
|
-
export function mergeNodes(nodes: Array<Element | Text>, options?: MergeNodesOptions): Element | Text;
|
13
|
-
export function mergeRootNodes(...args: Parameters<typeof mergeNodes>): Element | Text;
|
14
|
-
export function from(nodes: Array<Element | Text>, options?: Partial<Types.TreeOptions & MergeNodesOptions>): Tree;
|
15
|
-
export class Tree<T extends Element | Text = Element | Text> {
|
16
|
-
readonly node: T;
|
17
|
-
readonly name: string | null;
|
4
|
+
class Tree {
|
5
|
+
readonly node: Element | Text;
|
6
|
+
readonly options: Types.Tree.Options;
|
18
7
|
readonly parent: Tree | null;
|
8
|
+
readonly parents: Tree[];
|
9
|
+
readonly pathFromParent: string | number | null;
|
19
10
|
readonly root: Tree;
|
20
11
|
readonly isRoot: boolean;
|
21
|
-
readonly path:
|
12
|
+
readonly path: Array<string | number>;
|
22
13
|
readonly pathString: string;
|
23
|
-
readonly
|
24
|
-
readonly
|
14
|
+
readonly attributes: ReadonlyArray<Readonly<Attr>> | null;
|
15
|
+
readonly isMethod: boolean;
|
16
|
+
readonly tagName: string | null;
|
17
|
+
readonly smartTagName: string | null;
|
18
|
+
readonly smartTagData: Types.SmartTags.SmartTag | null;
|
19
|
+
readonly mode: Types.Tree.Mode;
|
20
|
+
readonly isPreserved: boolean;
|
21
|
+
readonly isLiteral: boolean;
|
22
|
+
readonly isolationInitType: Exclude<Types.Tree.ValueTypeName, 'transformer' | 'method'>;
|
25
23
|
readonly subtrees: ReadonlyMap<string | number, Tree>;
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
static
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
private
|
42
|
-
private
|
24
|
+
static actionAttribute: string;
|
25
|
+
static keyAttribute: string;
|
26
|
+
static methodAttribute: string;
|
27
|
+
static initAttribute: string;
|
28
|
+
static modeAttribute: string;
|
29
|
+
static preserveAttribute: string;
|
30
|
+
static literalAttribute: string;
|
31
|
+
static defaultOptions: Types.Tree.Options;
|
32
|
+
static from(nodes: Element[], options: Types.Tree.Options): Tree;
|
33
|
+
constructor(node: Element | Text, parent: null, pathFromParent: null, options?: Types.Tree.Options);
|
34
|
+
constructor(node: Element | Text, parent: Tree, pathFromParent: string | number, options?: Types.Tree.Options);
|
35
|
+
resolve: Types.Tree.Resolver;
|
36
|
+
variablesStore: Map<string, Types.Tree.Serialized>;
|
37
|
+
setVariable(name: string, value: Types.Tree.RestingValue): void;
|
38
|
+
getVariable(name: string): Types.Tree.RestingValue | undefined;
|
39
|
+
private performSafetyChecks;
|
40
|
+
private computeValue;
|
41
|
+
private enforceEvaluation;
|
42
|
+
private cachedValue;
|
43
|
+
private getCachedValue;
|
44
|
+
private setCachedValue;
|
43
45
|
perfCounters: {
|
44
46
|
computed: number;
|
45
47
|
computeTime: number;
|
@@ -49,12 +51,19 @@ export declare namespace Tree {
|
|
49
51
|
cacheTimeAvg: number;
|
50
52
|
totalTime: number;
|
51
53
|
};
|
52
|
-
getPerfCounters(): [string,
|
54
|
+
getPerfCounters(): [string, {
|
55
|
+
computed: number;
|
56
|
+
computeTime: number;
|
57
|
+
computeTimeAvg: number;
|
58
|
+
cached: number;
|
59
|
+
cacheTime: number;
|
60
|
+
cacheTimeAvg: number;
|
61
|
+
totalTime: number;
|
62
|
+
} & {
|
63
|
+
tagName: string;
|
64
|
+
evaluated: Types.Tree.Serialized | undefined;
|
65
|
+
}][];
|
53
66
|
printPerfCounters(): void;
|
54
|
-
|
55
|
-
pushToEvalCallStack(path: string): void;
|
56
|
-
flushEvalCallStack(): void;
|
57
|
-
evaluate(this: Tree<T>): Types.Value;
|
67
|
+
evaluate(): Types.Tree.Value;
|
58
68
|
}
|
59
|
-
export {};
|
60
69
|
}
|
@@ -1,16 +1,23 @@
|
|
1
1
|
import {
|
2
|
+
SMART_TAGS_REGISTER,
|
2
3
|
Tree
|
3
|
-
} from "../../../../chunks/chunk-
|
4
|
-
import "../../../../chunks/chunk-
|
5
|
-
import "../../../../chunks/chunk-
|
6
|
-
import "../../../../chunks/chunk-
|
7
|
-
import "../../../../chunks/chunk-
|
8
|
-
import "../../../../chunks/chunk-
|
4
|
+
} from "../../../../chunks/chunk-2G5MFJ66.js";
|
5
|
+
import "../../../../chunks/chunk-QAVYONH6.js";
|
6
|
+
import "../../../../chunks/chunk-XEQ2PBT2.js";
|
7
|
+
import "../../../../chunks/chunk-VDNIN3V5.js";
|
8
|
+
import "../../../../chunks/chunk-FHLCPVND.js";
|
9
|
+
import "../../../../chunks/chunk-UT2J62LH.js";
|
10
|
+
import "../../../../chunks/chunk-SXRWMH3U.js";
|
11
|
+
import "../../../../chunks/chunk-BKO7GLC2.js";
|
12
|
+
import "../../../../chunks/chunk-RW7VAKJW.js";
|
13
|
+
import "../../../../chunks/chunk-XA4HVHJ4.js";
|
9
14
|
import "../../../../chunks/chunk-E6MSDKON.js";
|
15
|
+
import "../../../../chunks/chunk-XNF5MLCQ.js";
|
16
|
+
import "../../../../chunks/chunk-YDIBNEGA.js";
|
17
|
+
import "../../../../chunks/chunk-JMU5PDBD.js";
|
10
18
|
import "../../../../chunks/chunk-ZTDVUXPR.js";
|
11
19
|
import "../../../../chunks/chunk-RLJOYG64.js";
|
12
|
-
import "../../../../chunks/chunk-QXAJXTXV.js";
|
13
|
-
import "../../../../chunks/chunk-HC6ZOHCS.js";
|
14
20
|
export {
|
21
|
+
SMART_TAGS_REGISTER,
|
15
22
|
Tree
|
16
23
|
};
|