marko 6.0.0-next.3.59 → 6.0.0-next.3.61
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/accessor.d.ts +24 -0
- package/dist/common/accessor.debug.d.ts +24 -0
- package/dist/common/types.d.ts +2 -17
- package/dist/debug/dom.js +348 -183
- package/dist/debug/dom.mjs +348 -183
- package/dist/debug/html.js +123 -44
- package/dist/debug/html.mjs +123 -44
- package/dist/dom/control-flow.d.ts +5 -0
- package/dist/dom/queue.d.ts +2 -1
- package/dist/dom/scope.d.ts +1 -0
- package/dist/dom.d.ts +2 -2
- package/dist/dom.js +282 -159
- package/dist/dom.mjs +282 -159
- package/dist/html/dynamic-tag.d.ts +3 -4
- package/dist/html/serializer.d.ts +2 -1
- package/dist/html/writer.d.ts +2 -3
- package/dist/html.js +107 -39
- package/dist/html.mjs +107 -39
- package/dist/translator/core/await.d.ts +7 -0
- package/dist/translator/core/try.d.ts +7 -0
- package/dist/translator/index.js +222 -43
- package/dist/translator/util/get-accessor-char.d.ts +4 -0
- package/dist/translator/util/sections.d.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare enum AccessorPrefix {
|
2
|
+
ClosureScopes = "a",
|
3
|
+
ClosureSignalIndex = "b",
|
4
|
+
ConditionalRenderer = "c",
|
5
|
+
ConditionalScope = "d",
|
6
|
+
ControlledHandler = "e",
|
7
|
+
ControlledType = "f",
|
8
|
+
ControlledValue = "g",
|
9
|
+
DynamicPlaceholderLastChild = "h",
|
10
|
+
EventAttributes = "i",
|
11
|
+
Getter = "j",
|
12
|
+
LifecycleAbortController = "k",
|
13
|
+
LoopScopeArray = "l",
|
14
|
+
LoopScopeMap = "m",
|
15
|
+
Promise = "n"
|
16
|
+
}
|
17
|
+
export declare enum AccessorProp {
|
18
|
+
BranchAccessor = "*",
|
19
|
+
CatchContent = "^",
|
20
|
+
PlaceholderBranch = "#",
|
21
|
+
PlaceholderContent = "%",
|
22
|
+
TagVariable = "/",
|
23
|
+
TagVariableChange = "@"
|
24
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare enum AccessorPrefix {
|
2
|
+
ClosureScopes = "ClosureScopes:",
|
3
|
+
ClosureSignalIndex = "ClosureSignalIndex:",
|
4
|
+
ConditionalRenderer = "ConditionalRenderer:",
|
5
|
+
ConditionalScope = "ConditionalScope:",
|
6
|
+
ControlledHandler = "ControlledHandler:",
|
7
|
+
ControlledType = "ControlledType:",
|
8
|
+
ControlledValue = "ControlledValue:",
|
9
|
+
DynamicPlaceholderLastChild = "DynamicPlaceholderLastChild:",
|
10
|
+
EventAttributes = "EventAttributes:",
|
11
|
+
Getter = "Getter:",
|
12
|
+
LifecycleAbortController = "LifecycleAbortController:",
|
13
|
+
LoopScopeArray = "LoopScopeArray:",
|
14
|
+
LoopScopeMap = "LoopScopeMap:",
|
15
|
+
Promise = "Promise:"
|
16
|
+
}
|
17
|
+
export declare enum AccessorProp {
|
18
|
+
BranchAccessor = "*BranchAccessor",
|
19
|
+
CatchContent = "^CatchContent",
|
20
|
+
PlaceholderBranch = "#PlaceholderBranch",
|
21
|
+
PlaceholderContent = "%PlaceholderContent",
|
22
|
+
TagVariable = "/TagVariable",
|
23
|
+
TagVariableChange = "@TagVariableChange"
|
24
|
+
}
|
package/dist/common/types.d.ts
CHANGED
@@ -9,6 +9,7 @@ export interface BranchScope extends Scope {
|
|
9
9
|
___abortScopes: Set<Scope> | undefined;
|
10
10
|
___branchScopes: Set<BranchScope> | undefined;
|
11
11
|
___renderer: ClientRenderer | string;
|
12
|
+
___pendingAsyncCount: number | undefined;
|
12
13
|
}
|
13
14
|
export interface Scope {
|
14
15
|
$global: Record<string, unknown> & {
|
@@ -30,23 +31,7 @@ export declare enum ResumeSymbol {
|
|
30
31
|
BranchSingleNodeOnlyChildInParent = "=",
|
31
32
|
ClosestBranch = "$"
|
32
33
|
}
|
33
|
-
export
|
34
|
-
ClosureScopes = "!",
|
35
|
-
ClosureSignalIndex = "(",
|
36
|
-
ConditionalScope = "!",
|
37
|
-
ConditionalRenderer = "(",
|
38
|
-
LoopScopeArray = "!",
|
39
|
-
LoopScopeMap = "(",
|
40
|
-
LifecycleAbortController = "-",
|
41
|
-
DynamicPlaceholderLastChild = "-",
|
42
|
-
TagVariable = "/",
|
43
|
-
TagVariableChange = "@",
|
44
|
-
EventAttributes = "~",
|
45
|
-
ControlledValue = ":",
|
46
|
-
ControlledHandler = ";",
|
47
|
-
ControlledType = "=",
|
48
|
-
Getter = ">"
|
49
|
-
}
|
34
|
+
export { AccessorPrefix, AccessorProp } from "./accessor.debug";
|
50
35
|
export declare enum NodeType {
|
51
36
|
Element = 1,
|
52
37
|
Text = 3,
|