@lwc/engine-core 6.4.1 → 6.4.3
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/framework/vnodes.d.ts +7 -6
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -22,7 +22,7 @@ export interface BaseVParent {
|
|
|
22
22
|
export interface BaseVNode {
|
|
23
23
|
type: VNodeType;
|
|
24
24
|
elm: Node | undefined;
|
|
25
|
-
sel: string
|
|
25
|
+
sel: string;
|
|
26
26
|
key: Key | undefined;
|
|
27
27
|
owner: VM;
|
|
28
28
|
}
|
|
@@ -30,6 +30,7 @@ export interface VScopedSlotFragment extends BaseVNode {
|
|
|
30
30
|
factory: (value: any, key: any) => VFragment;
|
|
31
31
|
type: VNodeType.ScopedSlotFragment;
|
|
32
32
|
slotName: unknown;
|
|
33
|
+
sel: '__scoped_slot_fragment__';
|
|
33
34
|
}
|
|
34
35
|
export interface VStaticPart {
|
|
35
36
|
readonly type: VStaticPartType;
|
|
@@ -51,7 +52,7 @@ export interface VStaticPartText extends VStaticPart {
|
|
|
51
52
|
export type VStaticPartData = Pick<VElementData, 'on' | 'ref' | 'attrs' | 'style' | 'className'>;
|
|
52
53
|
export interface VStatic extends BaseVNode {
|
|
53
54
|
readonly type: VNodeType.Static;
|
|
54
|
-
readonly sel:
|
|
55
|
+
readonly sel: '__static__';
|
|
55
56
|
readonly key: Key;
|
|
56
57
|
readonly fragment: Element;
|
|
57
58
|
readonly parts: VStaticPart[] | undefined;
|
|
@@ -59,7 +60,7 @@ export interface VStatic extends BaseVNode {
|
|
|
59
60
|
slotAssignment: string | undefined;
|
|
60
61
|
}
|
|
61
62
|
export interface VFragment extends BaseVNode, BaseVParent {
|
|
62
|
-
sel:
|
|
63
|
+
sel: '__fragment__';
|
|
63
64
|
type: VNodeType.Fragment;
|
|
64
65
|
stable: 0 | 1;
|
|
65
66
|
leading: VText | VComment;
|
|
@@ -67,15 +68,15 @@ export interface VFragment extends BaseVNode, BaseVParent {
|
|
|
67
68
|
}
|
|
68
69
|
export interface VText extends BaseVNode {
|
|
69
70
|
type: VNodeType.Text;
|
|
70
|
-
sel:
|
|
71
|
+
sel: '__text__';
|
|
71
72
|
text: string;
|
|
72
73
|
key: undefined;
|
|
73
74
|
}
|
|
74
75
|
export interface VComment extends BaseVNode {
|
|
75
76
|
type: VNodeType.Comment;
|
|
76
|
-
sel:
|
|
77
|
+
sel: '__comment__';
|
|
77
78
|
text: string;
|
|
78
|
-
key:
|
|
79
|
+
key: undefined;
|
|
79
80
|
}
|
|
80
81
|
export interface VBaseElement extends BaseVNode, BaseVParent {
|
|
81
82
|
sel: string;
|
package/dist/index.cjs.js
CHANGED
|
@@ -4943,7 +4943,7 @@ function ssf(slotName, factory) {
|
|
|
4943
4943
|
factory,
|
|
4944
4944
|
owner: getVMBeingRendered(),
|
|
4945
4945
|
elm: undefined,
|
|
4946
|
-
sel:
|
|
4946
|
+
sel: '__scoped_slot_fragment__',
|
|
4947
4947
|
key: undefined,
|
|
4948
4948
|
slotName,
|
|
4949
4949
|
};
|
|
@@ -4954,7 +4954,7 @@ function st(fragmentFactory, key, parts) {
|
|
|
4954
4954
|
const fragment = fragmentFactory(parts);
|
|
4955
4955
|
const vnode = {
|
|
4956
4956
|
type: 4 /* VNodeType.Static */,
|
|
4957
|
-
sel:
|
|
4957
|
+
sel: '__static__',
|
|
4958
4958
|
key,
|
|
4959
4959
|
elm: undefined,
|
|
4960
4960
|
fragment,
|
|
@@ -4972,7 +4972,7 @@ function fr(key, children, stable) {
|
|
|
4972
4972
|
const trailing = useCommentNodes ? co('') : t('');
|
|
4973
4973
|
return {
|
|
4974
4974
|
type: 5 /* VNodeType.Fragment */,
|
|
4975
|
-
sel:
|
|
4975
|
+
sel: '__fragment__',
|
|
4976
4976
|
key,
|
|
4977
4977
|
elm: undefined,
|
|
4978
4978
|
children: [leading, ...children, trailing],
|
|
@@ -5255,10 +5255,10 @@ function f(items) {
|
|
|
5255
5255
|
}
|
|
5256
5256
|
// [t]ext node
|
|
5257
5257
|
function t(text) {
|
|
5258
|
-
let
|
|
5258
|
+
let key, elm;
|
|
5259
5259
|
return {
|
|
5260
5260
|
type: 0 /* VNodeType.Text */,
|
|
5261
|
-
sel,
|
|
5261
|
+
sel: '__text__',
|
|
5262
5262
|
text,
|
|
5263
5263
|
elm,
|
|
5264
5264
|
key,
|
|
@@ -5267,13 +5267,13 @@ function t(text) {
|
|
|
5267
5267
|
}
|
|
5268
5268
|
// [co]mment node
|
|
5269
5269
|
function co(text) {
|
|
5270
|
-
let
|
|
5270
|
+
let elm, key;
|
|
5271
5271
|
return {
|
|
5272
5272
|
type: 1 /* VNodeType.Comment */,
|
|
5273
|
-
sel,
|
|
5273
|
+
sel: '__comment__',
|
|
5274
5274
|
text,
|
|
5275
5275
|
elm,
|
|
5276
|
-
key
|
|
5276
|
+
key,
|
|
5277
5277
|
owner: getVMBeingRendered(),
|
|
5278
5278
|
};
|
|
5279
5279
|
}
|
|
@@ -7847,5 +7847,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
7847
7847
|
exports.track = track;
|
|
7848
7848
|
exports.unwrap = unwrap;
|
|
7849
7849
|
exports.wire = wire;
|
|
7850
|
-
/** version: 6.4.
|
|
7850
|
+
/** version: 6.4.3 */
|
|
7851
7851
|
//# sourceMappingURL=index.cjs.js.map
|