marko 6.0.162 → 6.0.164
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/common/helpers.d.ts +0 -1
- package/dist/common/types.d.ts +0 -1
- package/dist/debug/dom.js +1 -1
- package/dist/debug/dom.mjs +1 -1
- package/dist/debug/html.js +9 -2
- package/dist/debug/html.mjs +8 -2
- package/dist/dom/dom.d.ts +0 -3
- package/dist/dom.js +1 -1
- package/dist/dom.mjs +1 -1
- package/dist/html/attrs.d.ts +0 -2
- package/dist/html/content.d.ts +1 -0
- package/dist/html/for.d.ts +4 -3
- package/dist/html/template.d.ts +0 -1
- package/dist/html/writer.d.ts +0 -2
- package/dist/html.d.ts +1 -1
- package/dist/html.js +8 -2
- package/dist/html.mjs +7 -2
- package/dist/translator/core/for.d.ts +2 -57
- package/dist/translator/core/if.d.ts +70 -27
- package/dist/translator/core/index.d.ts +70 -84
- package/dist/translator/index.d.ts +70 -84
- package/dist/translator/index.js +250 -248
- package/dist/translator/util/generate-uid.d.ts +0 -1
- package/dist/translator/util/get-compile-stage.d.ts +0 -8
- package/dist/translator/util/get-root.d.ts +2 -2
- package/dist/translator/util/nested-attribute-tags.d.ts +1 -1
- package/dist/translator/util/references.d.ts +0 -2
- package/dist/translator/util/resolve-relative-to-entry.d.ts +2 -0
- package/dist/translator/util/runtime.d.ts +2 -1
- package/dist/translator/util/scope-read.d.ts +1 -2
- package/dist/translator/util/sections.d.ts +0 -1
- package/dist/translator/util/serialize-reasons.d.ts +0 -3
- package/dist/translator/util/signals.d.ts +0 -2
- package/dist/translator/util/state.d.ts +1 -1
- package/dist/translator/visitors/program/index.d.ts +0 -11
- package/dist/translator/visitors/program/pre-analyze.d.ts +0 -1
- package/package.json +1 -1
- /package/dist/translator/util/{get-defined-binding-expression.d.ts → get-declared-binding-expression.d.ts} +0 -0
|
@@ -19,13 +19,41 @@ export declare const taglibs: (string | {
|
|
|
19
19
|
description: string;
|
|
20
20
|
descriptionMoreURL: string;
|
|
21
21
|
}[];
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
attributeGroups?: string[];
|
|
23
|
+
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
24
|
+
attributes?: {
|
|
25
|
+
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
description?: string;
|
|
28
|
+
nestedTags?: {
|
|
29
|
+
[x: string]: import("@marko/compiler/babel-utils").Tag & {
|
|
30
|
+
isRepeated?: boolean;
|
|
31
|
+
targetProperty?: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
htmlType?: "html" | "svg" | "math";
|
|
35
|
+
html?: boolean;
|
|
36
|
+
types?: string;
|
|
37
|
+
template?: string;
|
|
38
|
+
renderer?: string;
|
|
39
|
+
deprecated?: boolean;
|
|
40
|
+
openTagOnly?: boolean;
|
|
41
|
+
analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
42
|
+
translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
43
|
+
parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
44
|
+
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>[];
|
|
45
|
+
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>[];
|
|
46
|
+
parseOptions?: {
|
|
47
|
+
rootOnly?: boolean;
|
|
48
|
+
rawOpenTag?: boolean;
|
|
49
|
+
openTagOnly?: boolean;
|
|
50
|
+
controlFlow?: boolean;
|
|
51
|
+
ignoreAttributes?: boolean;
|
|
52
|
+
relaxRequireCommas?: boolean;
|
|
53
|
+
statement?: boolean;
|
|
54
|
+
preserveWhitespace?: boolean;
|
|
55
|
+
text?: boolean;
|
|
56
|
+
html?: boolean;
|
|
29
57
|
};
|
|
30
58
|
};
|
|
31
59
|
"<else>": {
|
|
@@ -33,92 +61,50 @@ export declare const taglibs: (string | {
|
|
|
33
61
|
description: string;
|
|
34
62
|
descriptionMoreURL: string;
|
|
35
63
|
}[];
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
};
|
|
41
|
-
parseOptions: {
|
|
42
|
-
controlFlow: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
"<export>": import("@marko/compiler/babel-utils").Tag;
|
|
46
|
-
"<for>": {
|
|
47
|
-
analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
|
|
48
|
-
translate: {
|
|
49
|
-
readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
|
|
50
|
-
readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
|
|
51
|
-
};
|
|
52
|
-
parseOptions: {
|
|
53
|
-
controlFlow: true;
|
|
64
|
+
attributeGroups?: string[];
|
|
65
|
+
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
|
|
66
|
+
attributes?: {
|
|
67
|
+
[x: string]: import("@marko/compiler/babel-utils").Attribute;
|
|
54
68
|
};
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}[];
|
|
61
|
-
};
|
|
62
|
-
in: {
|
|
63
|
-
type: string;
|
|
64
|
-
autocomplete: {
|
|
65
|
-
description: string;
|
|
66
|
-
}[];
|
|
67
|
-
};
|
|
68
|
-
to: {
|
|
69
|
-
type: string;
|
|
70
|
-
autocomplete: {
|
|
71
|
-
description: string;
|
|
72
|
-
}[];
|
|
73
|
-
};
|
|
74
|
-
until: {
|
|
75
|
-
type: string;
|
|
76
|
-
autocomplete: {
|
|
77
|
-
description: string;
|
|
78
|
-
}[];
|
|
79
|
-
};
|
|
80
|
-
from: {
|
|
81
|
-
type: string;
|
|
82
|
-
autocomplete: {
|
|
83
|
-
description: string;
|
|
84
|
-
}[];
|
|
85
|
-
};
|
|
86
|
-
step: {
|
|
87
|
-
type: string;
|
|
88
|
-
autocomplete: {
|
|
89
|
-
description: string;
|
|
90
|
-
}[];
|
|
69
|
+
description?: string;
|
|
70
|
+
nestedTags?: {
|
|
71
|
+
[x: string]: import("@marko/compiler/babel-utils").Tag & {
|
|
72
|
+
isRepeated?: boolean;
|
|
73
|
+
targetProperty?: string;
|
|
91
74
|
};
|
|
92
75
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
76
|
+
htmlType?: "html" | "svg" | "math";
|
|
77
|
+
html?: boolean;
|
|
78
|
+
types?: string;
|
|
79
|
+
template?: string;
|
|
80
|
+
renderer?: string;
|
|
81
|
+
deprecated?: boolean;
|
|
82
|
+
openTagOnly?: boolean;
|
|
83
|
+
analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
84
|
+
translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
85
|
+
parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
|
|
86
|
+
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>[];
|
|
87
|
+
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>[];
|
|
88
|
+
parseOptions?: {
|
|
89
|
+
rootOnly?: boolean;
|
|
90
|
+
rawOpenTag?: boolean;
|
|
91
|
+
openTagOnly?: boolean;
|
|
92
|
+
controlFlow?: boolean;
|
|
93
|
+
ignoreAttributes?: boolean;
|
|
94
|
+
relaxRequireCommas?: boolean;
|
|
95
|
+
statement?: boolean;
|
|
96
|
+
preserveWhitespace?: boolean;
|
|
97
|
+
text?: boolean;
|
|
98
|
+
html?: boolean;
|
|
99
|
+
};
|
|
102
100
|
};
|
|
101
|
+
"<export>": import("@marko/compiler/babel-utils").Tag;
|
|
102
|
+
"<for>": import("@marko/compiler/babel-utils").Tag;
|
|
103
103
|
"<html-comment>": import("@marko/compiler/babel-utils").Tag;
|
|
104
104
|
"<html-script>": import("@marko/compiler/babel-utils").Tag;
|
|
105
105
|
"<html-style>": import("@marko/compiler/babel-utils").Tag;
|
|
106
106
|
"<id>": import("@marko/compiler/babel-utils").Tag;
|
|
107
|
-
"<if>":
|
|
108
|
-
analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
|
|
109
|
-
translate: {
|
|
110
|
-
readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
|
|
111
|
-
readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
|
|
112
|
-
};
|
|
113
|
-
parseOptions: {
|
|
114
|
-
controlFlow: true;
|
|
115
|
-
};
|
|
116
|
-
autocomplete: {
|
|
117
|
-
snippet: string;
|
|
118
|
-
description: string;
|
|
119
|
-
descriptionMoreURL: string;
|
|
120
|
-
}[];
|
|
121
|
-
};
|
|
107
|
+
"<if>": import("@marko/compiler/babel-utils").Tag;
|
|
122
108
|
"<import>": import("@marko/compiler/babel-utils").Tag;
|
|
123
109
|
"<let>": import("@marko/compiler/babel-utils").Tag;
|
|
124
110
|
"<lifecycle>": import("@marko/compiler/babel-utils").Tag;
|