marko 6.4.12 → 6.4.13
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/dist/debug/dom/catch.feat.js +1 -1
- package/dist/debug/dom/catch.feat.mjs +1 -1
- package/dist/debug/dom/compat.feat.js +2 -2
- package/dist/debug/dom/compat.feat.mjs +2 -2
- package/dist/debug/dom/controllable-input.feat.js +1 -1
- package/dist/debug/dom/controllable-input.feat.mjs +1 -1
- package/dist/debug/dom/controllable-open.feat.js +1 -1
- package/dist/debug/dom/controllable-open.feat.mjs +1 -1
- package/dist/debug/dom/controllable-select.feat.js +1 -1
- package/dist/debug/dom/controllable-select.feat.mjs +1 -1
- package/dist/debug/dom/controllable-textarea.feat.js +1 -1
- package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/debug/dom/controllable.feat.js +1 -1
- package/dist/debug/dom/controllable.feat.mjs +1 -1
- package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
- package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
- package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
- package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
- package/dist/debug/dom/lazy.feat.js +1 -1
- package/dist/debug/dom/lazy.feat.mjs +1 -1
- package/dist/debug/dom/placeholder.feat.js +1 -1
- package/dist/debug/dom/placeholder.feat.mjs +1 -1
- package/dist/debug/{dom-DaHYZpf2.mjs → dom-BORByF2b.mjs} +4 -2
- package/dist/debug/{dom-CtXOr4Nm.js → dom-sfzdCRAg.js} +3 -7
- package/dist/debug/dom.js +1 -1
- package/dist/debug/dom.mjs +1 -1
- package/dist/dom/catch.feat.js +3 -3
- package/dist/dom/catch.feat.mjs +1 -1
- package/dist/dom/compat.feat.js +15 -15
- package/dist/dom/compat.feat.mjs +2 -2
- package/dist/dom/controllable-input.feat.js +1 -1
- package/dist/dom/controllable-input.feat.mjs +1 -1
- package/dist/dom/controllable-open.feat.js +1 -1
- package/dist/dom/controllable-open.feat.mjs +1 -1
- package/dist/dom/controllable-select.feat.js +1 -1
- package/dist/dom/controllable-select.feat.mjs +1 -1
- package/dist/dom/controllable-textarea.feat.js +1 -1
- package/dist/dom/controllable-textarea.feat.mjs +1 -1
- package/dist/dom/controllable.feat.js +1 -1
- package/dist/dom/controllable.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-script.feat.js +2 -2
- package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
- package/dist/dom/dynamic-tag-var.feat.js +3 -3
- package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
- package/dist/dom/lazy.feat.js +1 -1
- package/dist/dom/lazy.feat.mjs +1 -1
- package/dist/dom/placeholder.feat.js +3 -3
- package/dist/dom/placeholder.feat.mjs +1 -1
- package/dist/{dom-BO-0hzLZ.mjs → dom-DKn1bCPC.mjs} +3 -2
- package/dist/{dom-BB-Te-3z.js → dom-DRiewpRL.js} +63 -67
- package/dist/dom.js +17 -17
- package/dist/dom.mjs +1 -1
- package/dist/translator/core/if.d.ts +0 -85
- package/dist/translator/core/index.d.ts +2 -85
- package/dist/translator/index.d.ts +2 -85
- package/dist/translator/index.js +35 -191
- package/dist/translator/interop/index.d.ts +2 -0
- package/package.json +4 -4
- package/tags/await.d.marko +9 -1
- package/tags/const.d.marko +7 -1
- package/tags/debug.d.marko +7 -1
- package/tags/define.d.marko +7 -1
- package/tags/effect.d.marko +6 -1
- package/tags/html-comment.d.marko +6 -0
- package/tags/html-script.d.marko +5 -0
- package/tags/html-style.d.marko +5 -0
- package/tags/id.d.marko +11 -1
- package/tags/let.d.marko +8 -1
- package/tags/lifecycle.d.marko +11 -1
- package/tags/log.d.marko +7 -1
- package/tags/script.d.marko +9 -1
- package/tags/show.d.marko +7 -1
- package/tags/try.d.marko +9 -1
|
@@ -1,89 +1,4 @@
|
|
|
1
1
|
import { types as t } from "@marko/compiler";
|
|
2
2
|
import { type Tag } from "@marko/compiler/babel-utils";
|
|
3
3
|
export declare const IfTag: Tag;
|
|
4
|
-
export declare const ElseIfTag: {
|
|
5
|
-
attributeGroups?: string[];
|
|
6
|
-
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
7
|
-
attributes?: {
|
|
8
|
-
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
9
|
-
};
|
|
10
|
-
description?: string;
|
|
11
|
-
nestedTags?: {
|
|
12
|
-
[x: string]: Tag & {
|
|
13
|
-
isRepeated?: boolean;
|
|
14
|
-
targetProperty?: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
htmlType?: "html" | "svg" | "math";
|
|
18
|
-
html?: boolean;
|
|
19
|
-
types?: string;
|
|
20
|
-
template?: string;
|
|
21
|
-
renderer?: string;
|
|
22
|
-
deprecated?: boolean;
|
|
23
|
-
openTagOnly?: boolean;
|
|
24
|
-
analyze?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
|
|
25
|
-
translate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
|
|
26
|
-
parse?: import("@marko/compiler/babel-utils").ParsePlugin<t.MarkoTag>;
|
|
27
|
-
transform?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
|
|
28
|
-
migrate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
|
|
29
|
-
parseOptions?: {
|
|
30
|
-
rootOnly?: boolean;
|
|
31
|
-
rawOpenTag?: boolean;
|
|
32
|
-
openTagOnly?: boolean;
|
|
33
|
-
controlFlow?: boolean;
|
|
34
|
-
ignoreAttributes?: boolean;
|
|
35
|
-
relaxRequireCommas?: boolean;
|
|
36
|
-
statement?: boolean;
|
|
37
|
-
preserveWhitespace?: boolean;
|
|
38
|
-
text?: boolean;
|
|
39
|
-
html?: boolean;
|
|
40
|
-
};
|
|
41
|
-
autocomplete: {
|
|
42
|
-
snippet: string;
|
|
43
|
-
description: string;
|
|
44
|
-
descriptionMoreURL: string;
|
|
45
|
-
}[];
|
|
46
|
-
};
|
|
47
|
-
export declare const ElseTag: {
|
|
48
|
-
attributeGroups?: string[];
|
|
49
|
-
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
50
|
-
attributes?: {
|
|
51
|
-
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
52
|
-
};
|
|
53
|
-
description?: string;
|
|
54
|
-
nestedTags?: {
|
|
55
|
-
[x: string]: Tag & {
|
|
56
|
-
isRepeated?: boolean;
|
|
57
|
-
targetProperty?: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
htmlType?: "html" | "svg" | "math";
|
|
61
|
-
html?: boolean;
|
|
62
|
-
types?: string;
|
|
63
|
-
template?: string;
|
|
64
|
-
renderer?: string;
|
|
65
|
-
deprecated?: boolean;
|
|
66
|
-
openTagOnly?: boolean;
|
|
67
|
-
analyze?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
|
|
68
|
-
translate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
|
|
69
|
-
parse?: import("@marko/compiler/babel-utils").ParsePlugin<t.MarkoTag>;
|
|
70
|
-
transform?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
|
|
71
|
-
migrate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
|
|
72
|
-
parseOptions?: {
|
|
73
|
-
rootOnly?: boolean;
|
|
74
|
-
rawOpenTag?: boolean;
|
|
75
|
-
openTagOnly?: boolean;
|
|
76
|
-
controlFlow?: boolean;
|
|
77
|
-
ignoreAttributes?: boolean;
|
|
78
|
-
relaxRequireCommas?: boolean;
|
|
79
|
-
statement?: boolean;
|
|
80
|
-
preserveWhitespace?: boolean;
|
|
81
|
-
text?: boolean;
|
|
82
|
-
html?: boolean;
|
|
83
|
-
};
|
|
84
|
-
autocomplete: {
|
|
85
|
-
description: string;
|
|
86
|
-
descriptionMoreURL: string;
|
|
87
|
-
}[];
|
|
88
|
-
};
|
|
89
4
|
export declare function flattenTextOnlyConditional(rootTag: t.NodePath<t.MarkoTag>): void;
|
|
@@ -8,91 +8,8 @@ declare const _default: {
|
|
|
8
8
|
"<debug>": import("@marko/compiler/babel-utils").Tag;
|
|
9
9
|
"<define>": import("@marko/compiler/babel-utils").Tag;
|
|
10
10
|
"<effect>": import("@marko/compiler/babel-utils").Tag;
|
|
11
|
-
"<else-if>":
|
|
12
|
-
|
|
13
|
-
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
14
|
-
attributes?: {
|
|
15
|
-
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
16
|
-
};
|
|
17
|
-
description?: string;
|
|
18
|
-
nestedTags?: {
|
|
19
|
-
[x: string]: import("@marko/compiler/babel-utils").Tag & {
|
|
20
|
-
isRepeated?: boolean;
|
|
21
|
-
targetProperty?: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
htmlType?: "html" | "svg" | "math";
|
|
25
|
-
html?: boolean;
|
|
26
|
-
types?: string;
|
|
27
|
-
template?: string;
|
|
28
|
-
renderer?: string;
|
|
29
|
-
deprecated?: boolean;
|
|
30
|
-
openTagOnly?: boolean;
|
|
31
|
-
analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
32
|
-
translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
33
|
-
parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
34
|
-
transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
35
|
-
migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
36
|
-
parseOptions?: {
|
|
37
|
-
rootOnly?: boolean;
|
|
38
|
-
rawOpenTag?: boolean;
|
|
39
|
-
openTagOnly?: boolean;
|
|
40
|
-
controlFlow?: boolean;
|
|
41
|
-
ignoreAttributes?: boolean;
|
|
42
|
-
relaxRequireCommas?: boolean;
|
|
43
|
-
statement?: boolean;
|
|
44
|
-
preserveWhitespace?: boolean;
|
|
45
|
-
text?: boolean;
|
|
46
|
-
html?: boolean;
|
|
47
|
-
};
|
|
48
|
-
autocomplete: {
|
|
49
|
-
snippet: string;
|
|
50
|
-
description: string;
|
|
51
|
-
descriptionMoreURL: string;
|
|
52
|
-
}[];
|
|
53
|
-
};
|
|
54
|
-
"<else>": {
|
|
55
|
-
attributeGroups?: string[];
|
|
56
|
-
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
57
|
-
attributes?: {
|
|
58
|
-
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
59
|
-
};
|
|
60
|
-
description?: string;
|
|
61
|
-
nestedTags?: {
|
|
62
|
-
[x: string]: import("@marko/compiler/babel-utils").Tag & {
|
|
63
|
-
isRepeated?: boolean;
|
|
64
|
-
targetProperty?: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
htmlType?: "html" | "svg" | "math";
|
|
68
|
-
html?: boolean;
|
|
69
|
-
types?: string;
|
|
70
|
-
template?: string;
|
|
71
|
-
renderer?: string;
|
|
72
|
-
deprecated?: boolean;
|
|
73
|
-
openTagOnly?: boolean;
|
|
74
|
-
analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
75
|
-
translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
76
|
-
parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
77
|
-
transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
78
|
-
migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
79
|
-
parseOptions?: {
|
|
80
|
-
rootOnly?: boolean;
|
|
81
|
-
rawOpenTag?: boolean;
|
|
82
|
-
openTagOnly?: boolean;
|
|
83
|
-
controlFlow?: boolean;
|
|
84
|
-
ignoreAttributes?: boolean;
|
|
85
|
-
relaxRequireCommas?: boolean;
|
|
86
|
-
statement?: boolean;
|
|
87
|
-
preserveWhitespace?: boolean;
|
|
88
|
-
text?: boolean;
|
|
89
|
-
html?: boolean;
|
|
90
|
-
};
|
|
91
|
-
autocomplete: {
|
|
92
|
-
description: string;
|
|
93
|
-
descriptionMoreURL: string;
|
|
94
|
-
}[];
|
|
95
|
-
};
|
|
11
|
+
"<else-if>": import("@marko/compiler/babel-utils").Tag;
|
|
12
|
+
"<else>": import("@marko/compiler/babel-utils").Tag;
|
|
96
13
|
"<export>": import("@marko/compiler/babel-utils").Tag;
|
|
97
14
|
"<for>": import("@marko/compiler/babel-utils").Tag;
|
|
98
15
|
"<html-comment>": import("@marko/compiler/babel-utils").Tag;
|
|
@@ -15,91 +15,8 @@ export declare const taglibs: (string | {
|
|
|
15
15
|
"<debug>": import("@marko/compiler/babel-utils").Tag;
|
|
16
16
|
"<define>": import("@marko/compiler/babel-utils").Tag;
|
|
17
17
|
"<effect>": import("@marko/compiler/babel-utils").Tag;
|
|
18
|
-
"<else-if>":
|
|
19
|
-
|
|
20
|
-
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
21
|
-
attributes?: {
|
|
22
|
-
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
23
|
-
};
|
|
24
|
-
description?: string;
|
|
25
|
-
nestedTags?: {
|
|
26
|
-
[x: string]: import("@marko/compiler/babel-utils").Tag & {
|
|
27
|
-
isRepeated?: boolean;
|
|
28
|
-
targetProperty?: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
htmlType?: "html" | "svg" | "math";
|
|
32
|
-
html?: boolean;
|
|
33
|
-
types?: string;
|
|
34
|
-
template?: string;
|
|
35
|
-
renderer?: string;
|
|
36
|
-
deprecated?: boolean;
|
|
37
|
-
openTagOnly?: boolean;
|
|
38
|
-
analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
39
|
-
translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
40
|
-
parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
41
|
-
transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
42
|
-
migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
43
|
-
parseOptions?: {
|
|
44
|
-
rootOnly?: boolean;
|
|
45
|
-
rawOpenTag?: boolean;
|
|
46
|
-
openTagOnly?: boolean;
|
|
47
|
-
controlFlow?: boolean;
|
|
48
|
-
ignoreAttributes?: boolean;
|
|
49
|
-
relaxRequireCommas?: boolean;
|
|
50
|
-
statement?: boolean;
|
|
51
|
-
preserveWhitespace?: boolean;
|
|
52
|
-
text?: boolean;
|
|
53
|
-
html?: boolean;
|
|
54
|
-
};
|
|
55
|
-
autocomplete: {
|
|
56
|
-
snippet: string;
|
|
57
|
-
description: string;
|
|
58
|
-
descriptionMoreURL: string;
|
|
59
|
-
}[];
|
|
60
|
-
};
|
|
61
|
-
"<else>": {
|
|
62
|
-
attributeGroups?: string[];
|
|
63
|
-
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
64
|
-
attributes?: {
|
|
65
|
-
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
66
|
-
};
|
|
67
|
-
description?: string;
|
|
68
|
-
nestedTags?: {
|
|
69
|
-
[x: string]: import("@marko/compiler/babel-utils").Tag & {
|
|
70
|
-
isRepeated?: boolean;
|
|
71
|
-
targetProperty?: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
htmlType?: "html" | "svg" | "math";
|
|
75
|
-
html?: boolean;
|
|
76
|
-
types?: string;
|
|
77
|
-
template?: string;
|
|
78
|
-
renderer?: string;
|
|
79
|
-
deprecated?: boolean;
|
|
80
|
-
openTagOnly?: boolean;
|
|
81
|
-
analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
82
|
-
translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
83
|
-
parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
84
|
-
transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
85
|
-
migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
|
|
86
|
-
parseOptions?: {
|
|
87
|
-
rootOnly?: boolean;
|
|
88
|
-
rawOpenTag?: boolean;
|
|
89
|
-
openTagOnly?: boolean;
|
|
90
|
-
controlFlow?: boolean;
|
|
91
|
-
ignoreAttributes?: boolean;
|
|
92
|
-
relaxRequireCommas?: boolean;
|
|
93
|
-
statement?: boolean;
|
|
94
|
-
preserveWhitespace?: boolean;
|
|
95
|
-
text?: boolean;
|
|
96
|
-
html?: boolean;
|
|
97
|
-
};
|
|
98
|
-
autocomplete: {
|
|
99
|
-
description: string;
|
|
100
|
-
descriptionMoreURL: string;
|
|
101
|
-
}[];
|
|
102
|
-
};
|
|
18
|
+
"<else-if>": import("@marko/compiler/babel-utils").Tag;
|
|
19
|
+
"<else>": import("@marko/compiler/babel-utils").Tag;
|
|
103
20
|
"<export>": import("@marko/compiler/babel-utils").Tag;
|
|
104
21
|
"<for>": import("@marko/compiler/babel-utils").Tag;
|
|
105
22
|
"<html-comment>": import("@marko/compiler/babel-utils").Tag;
|