@lwc/engine-core 6.6.4 → 6.6.5
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
|
@@ -27,7 +27,7 @@ export interface BaseVParent {
|
|
|
27
27
|
export interface BaseVNode {
|
|
28
28
|
type: VNodeType;
|
|
29
29
|
elm: Node | undefined;
|
|
30
|
-
sel: string
|
|
30
|
+
sel: string;
|
|
31
31
|
key: Key | undefined;
|
|
32
32
|
owner: VM;
|
|
33
33
|
}
|
|
@@ -35,6 +35,7 @@ export interface VScopedSlotFragment extends BaseVNode {
|
|
|
35
35
|
factory: (value: any, key: any) => VFragment;
|
|
36
36
|
type: VNodeType.ScopedSlotFragment;
|
|
37
37
|
slotName: unknown;
|
|
38
|
+
sel: '__scoped_slot_fragment__';
|
|
38
39
|
}
|
|
39
40
|
export interface VStaticPart {
|
|
40
41
|
readonly type: VStaticPartType;
|
|
@@ -56,7 +57,7 @@ export interface VStaticPartText extends VStaticPart {
|
|
|
56
57
|
export type VStaticPartData = Pick<VElementData, 'on' | 'ref' | 'attrs' | 'style' | 'className'>;
|
|
57
58
|
export interface VStatic extends BaseVNode {
|
|
58
59
|
readonly type: VNodeType.Static;
|
|
59
|
-
readonly sel:
|
|
60
|
+
readonly sel: '__static__';
|
|
60
61
|
readonly key: Key;
|
|
61
62
|
readonly fragment: Element;
|
|
62
63
|
readonly parts: VStaticPart[] | undefined;
|
|
@@ -64,7 +65,7 @@ export interface VStatic extends BaseVNode {
|
|
|
64
65
|
slotAssignment: string | undefined;
|
|
65
66
|
}
|
|
66
67
|
export interface VFragment extends BaseVNode, BaseVParent {
|
|
67
|
-
sel:
|
|
68
|
+
sel: '__fragment__';
|
|
68
69
|
type: VNodeType.Fragment;
|
|
69
70
|
stable: 0 | 1;
|
|
70
71
|
leading: VText | VComment;
|
|
@@ -72,15 +73,15 @@ export interface VFragment extends BaseVNode, BaseVParent {
|
|
|
72
73
|
}
|
|
73
74
|
export interface VText extends BaseVNode {
|
|
74
75
|
type: VNodeType.Text;
|
|
75
|
-
sel:
|
|
76
|
+
sel: '__text__';
|
|
76
77
|
text: string;
|
|
77
78
|
key: undefined;
|
|
78
79
|
}
|
|
79
80
|
export interface VComment extends BaseVNode {
|
|
80
81
|
type: VNodeType.Comment;
|
|
81
|
-
sel:
|
|
82
|
+
sel: '__comment__';
|
|
82
83
|
text: string;
|
|
83
|
-
key:
|
|
84
|
+
key: undefined;
|
|
84
85
|
}
|
|
85
86
|
export interface VBaseElement extends BaseVNode, BaseVParent {
|
|
86
87
|
sel: string;
|
package/dist/index.cjs.js
CHANGED
|
@@ -5059,7 +5059,7 @@ function ssf(slotName, factory) {
|
|
|
5059
5059
|
factory,
|
|
5060
5060
|
owner: getVMBeingRendered(),
|
|
5061
5061
|
elm: undefined,
|
|
5062
|
-
sel:
|
|
5062
|
+
sel: '__scoped_slot_fragment__',
|
|
5063
5063
|
key: undefined,
|
|
5064
5064
|
slotName,
|
|
5065
5065
|
};
|
|
@@ -5070,7 +5070,7 @@ function st(fragmentFactory, key, parts) {
|
|
|
5070
5070
|
const fragment = fragmentFactory(parts);
|
|
5071
5071
|
const vnode = {
|
|
5072
5072
|
type: 4 /* VNodeType.Static */,
|
|
5073
|
-
sel:
|
|
5073
|
+
sel: '__static__',
|
|
5074
5074
|
key,
|
|
5075
5075
|
elm: undefined,
|
|
5076
5076
|
fragment,
|
|
@@ -5088,7 +5088,7 @@ function fr(key, children, stable) {
|
|
|
5088
5088
|
const trailing = useCommentNodes ? co('') : t('');
|
|
5089
5089
|
return {
|
|
5090
5090
|
type: 5 /* VNodeType.Fragment */,
|
|
5091
|
-
sel:
|
|
5091
|
+
sel: '__fragment__',
|
|
5092
5092
|
key,
|
|
5093
5093
|
elm: undefined,
|
|
5094
5094
|
children: [leading, ...children, trailing],
|
|
@@ -5373,10 +5373,10 @@ function f(items) {
|
|
|
5373
5373
|
}
|
|
5374
5374
|
// [t]ext node
|
|
5375
5375
|
function t(text) {
|
|
5376
|
-
let
|
|
5376
|
+
let key, elm;
|
|
5377
5377
|
return {
|
|
5378
5378
|
type: 0 /* VNodeType.Text */,
|
|
5379
|
-
sel,
|
|
5379
|
+
sel: '__text__',
|
|
5380
5380
|
text,
|
|
5381
5381
|
elm,
|
|
5382
5382
|
key,
|
|
@@ -5385,13 +5385,13 @@ function t(text) {
|
|
|
5385
5385
|
}
|
|
5386
5386
|
// [co]mment node
|
|
5387
5387
|
function co(text) {
|
|
5388
|
-
let
|
|
5388
|
+
let elm, key;
|
|
5389
5389
|
return {
|
|
5390
5390
|
type: 1 /* VNodeType.Comment */,
|
|
5391
|
-
sel,
|
|
5391
|
+
sel: '__comment__',
|
|
5392
5392
|
text,
|
|
5393
5393
|
elm,
|
|
5394
|
-
key
|
|
5394
|
+
key,
|
|
5395
5395
|
owner: getVMBeingRendered(),
|
|
5396
5396
|
};
|
|
5397
5397
|
}
|
|
@@ -7965,5 +7965,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
7965
7965
|
exports.track = track;
|
|
7966
7966
|
exports.unwrap = unwrap;
|
|
7967
7967
|
exports.wire = wire;
|
|
7968
|
-
/** version: 6.6.
|
|
7968
|
+
/** version: 6.6.5 */
|
|
7969
7969
|
//# sourceMappingURL=index.cjs.js.map
|