@lwc/template-compiler 2.26.2 → 2.28.0

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.
Files changed (39) hide show
  1. package/README.md +1 -0
  2. package/dist/commonjs/codegen/codegen.js +10 -0
  3. package/dist/commonjs/codegen/codegen.js.map +1 -1
  4. package/dist/commonjs/codegen/index.js +17 -0
  5. package/dist/commonjs/codegen/index.js.map +1 -1
  6. package/dist/commonjs/config.js +4 -2
  7. package/dist/commonjs/config.js.map +1 -1
  8. package/dist/commonjs/parser/attribute.js +3 -0
  9. package/dist/commonjs/parser/attribute.js.map +1 -1
  10. package/dist/commonjs/parser/index.js +150 -32
  11. package/dist/commonjs/parser/index.js.map +1 -1
  12. package/dist/commonjs/parser/parser.js +4 -0
  13. package/dist/commonjs/parser/parser.js.map +1 -1
  14. package/dist/commonjs/shared/ast.js +44 -3
  15. package/dist/commonjs/shared/ast.js.map +1 -1
  16. package/dist/commonjs/shared/renderer-hooks.js +3 -13
  17. package/dist/commonjs/shared/renderer-hooks.js.map +1 -1
  18. package/dist/commonjs/shared/types.js +13 -1
  19. package/dist/commonjs/shared/types.js.map +1 -1
  20. package/dist/types/codegen/codegen.d.ts +7 -0
  21. package/dist/types/config.d.ts +4 -0
  22. package/dist/types/parser/parser.d.ts +4 -0
  23. package/dist/types/shared/ast.d.ts +8 -2
  24. package/dist/types/shared/renderer-hooks.d.ts +1 -5
  25. package/dist/types/shared/types.d.ts +36 -17
  26. package/package.json +4 -4
  27. package/dist/commonjs/codegen/formatters/function.js +0 -73
  28. package/dist/commonjs/codegen/formatters/function.js.map +0 -1
  29. package/dist/commonjs/codegen/scope.js +0 -61
  30. package/dist/commonjs/codegen/scope.js.map +0 -1
  31. package/dist/commonjs/parser/tag.js +0 -15
  32. package/dist/commonjs/parser/tag.js.map +0 -1
  33. package/dist/commonjs/shared/ir.js +0 -80
  34. package/dist/commonjs/shared/ir.js.map +0 -1
  35. package/dist/commonjs/tsconfig.tsbuildinfo +0 -1
  36. package/dist/types/codegen/formatters/function.d.ts +0 -22
  37. package/dist/types/codegen/scope.d.ts +0 -8
  38. package/dist/types/parser/tag.d.ts +0 -2
  39. package/dist/types/shared/ir.d.ts +0 -11
@@ -88,7 +88,13 @@ export interface PreserveCommentsDirective extends Directive<'PreserveComments'>
88
88
  export interface RefDirective extends Directive<'Ref'> {
89
89
  value: Literal<string>;
90
90
  }
91
- export declare type ElementDirective = KeyDirective | DynamicDirective | DomDirective | InnerHTMLDirective | RefDirective | SpreadDirective;
91
+ export interface SlotBindDirective extends Directive<'SlotBind'> {
92
+ value: Expression;
93
+ }
94
+ export interface SlotDataDirective extends Directive<'SlotData'> {
95
+ value: Identifier;
96
+ }
97
+ export declare type ElementDirective = KeyDirective | DynamicDirective | DomDirective | InnerHTMLDirective | RefDirective | SlotBindDirective | SlotDataDirective | SpreadDirective;
92
98
  export declare type RootDirective = RenderModeDirective | PreserveCommentsDirective;
93
99
  export interface Text extends BaseNode {
94
100
  type: 'Text';
@@ -129,59 +135,72 @@ export interface Root extends BaseParentNode {
129
135
  location: ElementSourceLocation;
130
136
  directives: RootDirective[];
131
137
  }
132
- interface DirectiveParentNode extends BaseParentNode {
138
+ export declare enum TemplateDirectiveName {
139
+ If = "if:true",
140
+ IfBlock = "lwc:if",
141
+ ElseifBlock = "lwc:elseif",
142
+ ElseBlock = "lwc:else",
143
+ ForEach = "for:each",
144
+ ForOf = "for:of",
145
+ ScopedSlotFragment = "lwc:slot-data"
146
+ }
147
+ interface DirectiveParentNode<T extends keyof typeof TemplateDirectiveName> extends BaseParentNode {
133
148
  directiveLocation: SourceLocation;
149
+ type: T;
134
150
  }
135
151
  /**
136
152
  * Node representing the if:true and if:false directives
137
153
  */
138
- export interface If extends DirectiveParentNode {
139
- type: 'If';
154
+ export interface If extends DirectiveParentNode<'If'> {
140
155
  modifier: string;
141
156
  condition: Expression;
142
157
  }
143
158
  /**
144
159
  * Node representing the lwc:if directive
145
160
  */
146
- export interface IfBlock extends DirectiveParentNode {
147
- type: 'IfBlock';
161
+ export interface IfBlock extends DirectiveParentNode<'IfBlock'> {
148
162
  condition: Expression;
149
163
  else?: ElseifBlock | ElseBlock;
150
164
  }
151
165
  /**
152
166
  * Node representing the lwc:elseif directive
153
167
  */
154
- export interface ElseifBlock extends DirectiveParentNode {
155
- type: 'ElseifBlock';
168
+ export interface ElseifBlock extends DirectiveParentNode<'ElseifBlock'> {
156
169
  condition: Expression;
157
170
  else?: ElseifBlock | ElseBlock;
158
171
  }
159
172
  /**
160
173
  * Node representing the lwc:else directive
161
174
  */
162
- export interface ElseBlock extends DirectiveParentNode {
163
- type: 'ElseBlock';
175
+ export interface ElseBlock extends DirectiveParentNode<'ElseBlock'> {
164
176
  }
165
- export interface ForEach extends DirectiveParentNode {
166
- type: 'ForEach';
177
+ export interface ForEach extends DirectiveParentNode<'ForEach'> {
167
178
  expression: Expression;
168
179
  item: Identifier;
169
180
  index?: Identifier;
170
181
  }
171
- export interface ForOf extends DirectiveParentNode {
172
- type: 'ForOf';
182
+ export interface ForOf extends DirectiveParentNode<'ForOf'> {
173
183
  expression: Expression;
174
184
  iterator: Identifier;
175
185
  }
186
+ /**
187
+ * Node representing lwc:slot-data directive
188
+ */
189
+ export interface ScopedSlotFragment extends DirectiveParentNode<'ScopedSlotFragment'> {
190
+ slotData: SlotDataDirective;
191
+ slotName: Literal;
192
+ }
176
193
  export declare type ForBlock = ForEach | ForOf;
177
- export declare type ParentNode = Root | ForBlock | If | IfBlock | ElseifBlock | ElseBlock | BaseElement;
178
- export declare type ChildNode = ForBlock | If | IfBlock | ElseifBlock | ElseBlock | BaseElement | Comment | Text;
179
- export declare type Node = Root | ForBlock | If | IfBlock | ElseifBlock | ElseBlock | BaseElement | Comment | Text;
194
+ export declare type ParentNode = Root | ForBlock | If | IfBlock | ElseifBlock | ElseBlock | BaseElement | ScopedSlotFragment;
195
+ export declare type ChildNode = ForBlock | If | IfBlock | ElseifBlock | ElseBlock | BaseElement | Comment | Text | ScopedSlotFragment;
196
+ export declare type Node = Root | ForBlock | If | IfBlock | ElseifBlock | ElseBlock | BaseElement | Comment | Text | ScopedSlotFragment;
180
197
  export declare enum ElementDirectiveName {
181
198
  Dom = "lwc:dom",
182
199
  Dynamic = "lwc:dynamic",
183
200
  InnerHTML = "lwc:inner-html",
184
201
  Ref = "lwc:ref",
202
+ SlotBind = "lwc:slot-bind",
203
+ SlotData = "lwc:slot-data",
185
204
  Spread = "lwc:spread",
186
205
  Key = "key"
187
206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lwc/template-compiler",
3
- "version": "2.26.2",
3
+ "version": "2.28.0",
4
4
  "description": "Template compiler package",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "//": "Currently can't upgrade: estree-walker to v3.0.0 because it dropped CommonJS support: https://git.io/JXguS, parse5 dropped cjs support in v7.0.0 https://github.com/inikulin/parse5/releases/tag/v7.0.0",
27
27
  "dependencies": {
28
- "@lwc/errors": "2.26.2",
29
- "@lwc/shared": "2.26.2",
28
+ "@lwc/errors": "2.28.0",
29
+ "@lwc/shared": "2.28.0",
30
30
  "acorn": "~8.8.0",
31
31
  "astring": "~1.8.3",
32
32
  "estree-walker": "~2.0.2",
@@ -48,4 +48,4 @@
48
48
  }
49
49
  }
50
50
  }
51
- }
51
+ }
@@ -1,73 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2018, salesforce.com, inc.
4
- * All rights reserved.
5
- * SPDX-License-Identifier: MIT
6
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7
- */
8
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
- if (k2 === undefined) k2 = k;
10
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.format = void 0;
29
- const t = __importStar(require("../../shared/estree"));
30
- const constants_1 = require("../../shared/constants");
31
- const helpers_1 = require("../helpers");
32
- const optimize_1 = require("../optimize");
33
- /**
34
- * Generate a function body AST from a template ESTree AST. This function can then be instantiated
35
- * via `new Function(code, modules)` The generated function retrieves receives the dependent LWC
36
- * components as arguments and returns the template function.
37
- *
38
- * @example
39
- * ```js
40
- * const {
41
- * // Components names
42
- * } = modules;
43
- *
44
- * function tmpl() {
45
- * // Template generated code
46
- * }
47
- * // Template metadata
48
- *
49
- * return tmpl;
50
- * ```
51
- */
52
- function format(templateFn, codeGen) {
53
- const lookups = Array.from(codeGen.referencedComponents)
54
- .sort()
55
- .map((name) => {
56
- const localIdentifier = (0, helpers_1.identifierFromComponentName)(name);
57
- return t.variableDeclaration('const', [
58
- t.variableDeclarator(localIdentifier, t.memberExpression(t.identifier(constants_1.TEMPLATE_MODULES_PARAMETER), t.literal(name), {
59
- computed: true,
60
- })),
61
- ]);
62
- });
63
- const optimizedTemplateDeclarations = (0, optimize_1.optimizeStaticExpressions)(templateFn);
64
- const metadata = (0, helpers_1.generateTemplateMetadata)(codeGen);
65
- return t.program([
66
- ...lookups,
67
- ...optimizedTemplateDeclarations,
68
- ...metadata,
69
- t.returnStatement(t.identifier(constants_1.TEMPLATE_FUNCTION_NAME)),
70
- ]);
71
- }
72
- exports.format = format;
73
- //# sourceMappingURL=function.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"function.js","sourceRoot":"","sources":["../../../../src/codegen/formatters/function.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;AAEH,uDAAyC;AACzC,sDAA4F;AAG5F,wCAAmF;AACnF,0CAAwD;AAExD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,MAAM,CAAC,UAAiC,EAAE,OAAgB;IACtE,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC;SACnD,IAAI,EAAE;SACN,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACV,MAAM,eAAe,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QAE1D,OAAO,CAAC,CAAC,mBAAmB,CAAC,OAAO,EAAE;YAClC,CAAC,CAAC,kBAAkB,CAChB,eAAe,EACf,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,sCAA0B,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBAC1E,QAAQ,EAAE,IAAI;aACjB,CAAC,CACL;SACJ,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEP,MAAM,6BAA6B,GAAG,IAAA,oCAAyB,EAAC,UAAU,CAAC,CAAC;IAE5E,MAAM,QAAQ,GAAG,IAAA,kCAAwB,EAAC,OAAO,CAAC,CAAC;IAEnD,OAAO,CAAC,CAAC,OAAO,CAAC;QACb,GAAG,OAAO;QACV,GAAG,6BAA6B;QAChC,GAAG,QAAQ;QACX,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC,kCAAsB,CAAC,CAAC;KAC1D,CAAC,CAAC;AACP,CAAC;AA1BD,wBA0BC"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.bindExpression = void 0;
23
- /*
24
- * Copyright (c) 2018, salesforce.com, inc.
25
- * All rights reserved.
26
- * SPDX-License-Identifier: MIT
27
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
28
- */
29
- const estree_walker_1 = require("estree-walker");
30
- const t = __importStar(require("../shared/estree"));
31
- const constants_1 = require("../shared/constants");
32
- const ir_1 = require("../shared/ir");
33
- /**
34
- * Bind the passed expression to the component instance. It applies the following transformation to the expression:
35
- * - {value} --> {$cmp.value}
36
- * - {value[index]} --> {$cmp.value[$cmp.index]}
37
- */
38
- function bindExpression(expression, irNode) {
39
- if (t.isIdentifier(expression)) {
40
- if (ir_1.isComponentProp(expression, irNode)) {
41
- return t.memberExpression(t.identifier(constants_1.TEMPLATE_PARAMS.INSTANCE), expression);
42
- }
43
- else {
44
- return expression;
45
- }
46
- }
47
- estree_walker_1.walk(expression, {
48
- leave(node, parent) {
49
- if (parent !== null &&
50
- t.isIdentifier(node) &&
51
- t.isMemberExpression(parent) &&
52
- parent.object === node &&
53
- ir_1.isComponentProp(node, irNode)) {
54
- this.replace(t.memberExpression(t.identifier(constants_1.TEMPLATE_PARAMS.INSTANCE), node));
55
- }
56
- },
57
- });
58
- return expression;
59
- }
60
- exports.bindExpression = bindExpression;
61
- //# sourceMappingURL=scope.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scope.js","sourceRoot":"","sources":["../../../src/codegen/scope.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;GAKG;AACH,iDAAqC;AAErC,oDAAsC;AACtC,mDAAsD;AACtD,qCAA+C;AAG/C;;;;GAIG;AACH,SAAgB,cAAc,CAAC,UAA8B,EAAE,MAAc;IACzE,IAAI,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE;QAC5B,IAAI,oBAAe,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE;YACrC,OAAO,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,2BAAe,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;SACjF;aAAM;YACH,OAAO,UAAU,CAAC;SACrB;KACJ;IAED,oBAAI,CAAC,UAAU,EAAE;QACb,KAAK,CAAC,IAAI,EAAE,MAAM;YACd,IACI,MAAM,KAAK,IAAI;gBACf,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;gBACpB,CAAC,CAAC,kBAAkB,CAAC,MAAM,CAAC;gBAC5B,MAAM,CAAC,MAAM,KAAK,IAAI;gBACtB,oBAAe,CAAC,IAAI,EAAE,MAAM,CAAC,EAC/B;gBACE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,2BAAe,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;aAClF;QACL,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,UAAU,CAAC;AACtB,CAAC;AAxBD,wCAwBC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2018, salesforce.com, inc.
4
- * All rights reserved.
5
- * SPDX-License-Identifier: MIT
6
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.isUnsafeTopLevelSerializableElement = void 0;
10
- const constants_1 = require("./constants");
11
- function isUnsafeTopLevelSerializableElement(element) {
12
- return constants_1.TAGS_THAT_CANNOT_BE_PARSED_AS_TOP_LEVEL.has(element.name);
13
- }
14
- exports.isUnsafeTopLevelSerializableElement = isUnsafeTopLevelSerializableElement;
15
- //# sourceMappingURL=tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/parser/tag.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,2CAAsE;AAEtE,SAAgB,mCAAmC,CAAC,OAAoB;IACpE,OAAO,mDAAuC,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC;AAFD,kFAEC"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isComponentProp = exports.isSlot = exports.isTemplate = exports.isCustomElement = exports.isCommentNode = exports.isTextNode = exports.isElement = exports.createComment = exports.createText = exports.createElement = void 0;
4
- function createElement(original, parent) {
5
- return {
6
- type: 'element',
7
- tag: original.tagName,
8
- namespace: original.namespaceURI,
9
- attrsList: original.attrs,
10
- parent,
11
- children: [],
12
- __original: original,
13
- };
14
- }
15
- exports.createElement = createElement;
16
- function createText(original, parent, value) {
17
- return {
18
- type: 'text',
19
- parent,
20
- value,
21
- __original: original,
22
- };
23
- }
24
- exports.createText = createText;
25
- function createComment(original, parent, value) {
26
- return {
27
- type: 'comment',
28
- parent,
29
- value,
30
- __original: original,
31
- };
32
- }
33
- exports.createComment = createComment;
34
- function isElement(node) {
35
- return node.type === 'element';
36
- }
37
- exports.isElement = isElement;
38
- function isTextNode(node) {
39
- return node.type === 'text';
40
- }
41
- exports.isTextNode = isTextNode;
42
- function isCommentNode(node) {
43
- return node.type === 'comment';
44
- }
45
- exports.isCommentNode = isCommentNode;
46
- function isCustomElement(node) {
47
- return isElement(node) && node.component !== undefined;
48
- }
49
- exports.isCustomElement = isCustomElement;
50
- function isTemplate(element) {
51
- return element.tag === 'template';
52
- }
53
- exports.isTemplate = isTemplate;
54
- function isSlot(element) {
55
- return element.tag === 'slot';
56
- }
57
- exports.isSlot = isSlot;
58
- function isComponentProp(identifier, root) {
59
- var _a;
60
- const { name } = identifier;
61
- let current = root;
62
- // Walking up the AST and checking for each node to find if the identifer name is identical to
63
- // an iteration variable.
64
- while (current !== undefined) {
65
- if (isElement(current)) {
66
- const { forEach, forOf } = current;
67
- if ((forEach === null || forEach === void 0 ? void 0 : forEach.item.name) === name ||
68
- ((_a = forEach === null || forEach === void 0 ? void 0 : forEach.index) === null || _a === void 0 ? void 0 : _a.name) === name ||
69
- (forOf === null || forOf === void 0 ? void 0 : forOf.iterator.name) === name) {
70
- return false;
71
- }
72
- }
73
- current = current.parent;
74
- }
75
- // The identifier is bound to a component property if no match is found after reaching to AST
76
- // root.
77
- return true;
78
- }
79
- exports.isComponentProp = isComponentProp;
80
- //# sourceMappingURL=ir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ir.js","sourceRoot":"","sources":["../../../src/shared/ir.ts"],"names":[],"mappings":";;;AAkBA,SAAgB,aAAa,CAAC,QAAqB,EAAE,MAAkB;IACnE,OAAO;QACH,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,QAAQ,CAAC,OAAO;QACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;QAChC,SAAS,EAAE,QAAQ,CAAC,KAAK;QACzB,MAAM;QACN,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,QAAQ;KACvB,CAAC;AACN,CAAC;AAVD,sCAUC;AAED,SAAgB,UAAU,CACtB,QAAkB,EAClB,MAAiB,EACjB,KAAkC;IAElC,OAAO;QACH,IAAI,EAAE,MAAM;QACZ,MAAM;QACN,KAAK;QACL,UAAU,EAAE,QAAQ;KACvB,CAAC;AACN,CAAC;AAXD,gCAWC;AAED,SAAgB,aAAa,CAAC,QAAqB,EAAE,MAAiB,EAAE,KAAa;IACjF,OAAO;QACH,IAAI,EAAE,SAAS;QACf,MAAM;QACN,KAAK;QACL,UAAU,EAAE,QAAQ;KACvB,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,SAAS,CAAC,IAAY;IAClC,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC;AACnC,CAAC;AAFD,8BAEC;AAED,SAAgB,UAAU,CAAC,IAAY;IACnC,OAAO,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC;AAChC,CAAC;AAFD,gCAEC;AAED,SAAgB,aAAa,CAAC,IAAY;IACtC,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC;AACnC,CAAC;AAFD,sCAEC;AAED,SAAgB,eAAe,CAAC,IAAY;IACxC,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC;AAC3D,CAAC;AAFD,0CAEC;AAED,SAAgB,UAAU,CAAC,OAAkB;IACzC,OAAO,OAAO,CAAC,GAAG,KAAK,UAAU,CAAC;AACtC,CAAC;AAFD,gCAEC;AAED,SAAgB,MAAM,CAAC,OAAkB;IACrC,OAAO,OAAO,CAAC,GAAG,KAAK,MAAM,CAAC;AAClC,CAAC;AAFD,wBAEC;AAED,SAAgB,eAAe,CAAC,UAA8B,EAAE,IAAY;;IACxE,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;IAC5B,IAAI,OAAO,GAAuB,IAAI,CAAC;IAEvC,8FAA8F;IAC9F,yBAAyB;IACzB,OAAO,OAAO,KAAK,SAAS,EAAE;QAC1B,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE;YACpB,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;YAEnC,IACI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,IAAI,MAAK,IAAI;gBAC3B,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,IAAI,MAAK,IAAI;gBAC7B,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,CAAC,IAAI,MAAK,IAAI,EAC/B;gBACE,OAAO,KAAK,CAAC;aAChB;SACJ;QAED,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;KAC5B;IAED,6FAA6F;IAC7F,QAAQ;IACR,OAAO,IAAI,CAAC;AAChB,CAAC;AAzBD,0CAyBC"}
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../errors/dist/types/shared/types.d.ts","../../../errors/dist/types/compiler/utils.d.ts","../../../errors/dist/types/compiler/error-info/compiler.d.ts","../../../errors/dist/types/compiler/error-info/lwc-class.d.ts","../../../errors/dist/types/compiler/error-info/template-transform.d.ts","../../../errors/dist/types/compiler/error-info/index.d.ts","../../../errors/dist/types/compiler/errors.d.ts","../../../errors/dist/types/index.d.ts","../../../shared/types/assert.d.ts","../../../shared/types/aria.d.ts","../../../shared/types/language.d.ts","../../../shared/types/global-this.d.ts","../../../shared/types/keys.d.ts","../../../shared/types/void-elements.d.ts","../../../shared/types/html-attributes.d.ts","../../../shared/types/html-escape.d.ts","../../../shared/types/symbol.d.ts","../../../shared/types/namespaces.d.ts","../../../shared/types/meta.d.ts","../../../shared/types/index.d.ts","../../src/shared/types.ts","../../src/state.ts","../../src/shared/renderer-hooks.ts","../../src/shared/constants.ts","../../src/shared/utils.ts","../../src/config.ts","../../../../../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../../../../../node_modules/@types/parse5/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../src/shared/estree.ts","../../src/shared/parse5.ts","../../src/shared/ast.ts","../../src/parser/parser.ts","../../../../../node_modules/@types/he/index.d.ts","../../src/parser/parse5errors.ts","../../src/parser/html.ts","../../../../../node_modules/acorn/dist/acorn.d.ts","../../src/parser/utils/javascript.ts","../../src/parser/expression.ts","../../src/parser/utils/html-element-attributes.ts","../../src/parser/utils/html-elements.ts","../../src/parser/utils/svg-elements.ts","../../src/parser/constants.ts","../../src/parser/attribute.ts","../../src/parser/index.ts","../../../../../node_modules/@types/estree/index.d.ts","../../../../../node_modules/source-map/source-map.d.ts","../../../../../node_modules/astring/astring.d.ts","../../../../../node_modules/estree-walker/types/index.d.ts","../../src/codegen/helpers.ts","../../src/codegen/static-element-serializer.ts","../../src/codegen/codegen.ts","../../src/shared/naming.ts","../../src/codegen/optimize.ts","../../src/codegen/formatters/module.ts","../../src/codegen/index.ts","../../src/index.ts","../../typings/parse5.d.ts","../../typings/parse5errors.d.ts","../../../../../node_modules/@types/node/assert.d.ts","../../../../../node_modules/@types/node/assert/strict.d.ts","../../../../../node_modules/@types/node/globals.d.ts","../../../../../node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/@types/node/buffer.d.ts","../../../../../node_modules/@types/node/child_process.d.ts","../../../../../node_modules/@types/node/cluster.d.ts","../../../../../node_modules/@types/node/console.d.ts","../../../../../node_modules/@types/node/constants.d.ts","../../../../../node_modules/@types/node/crypto.d.ts","../../../../../node_modules/@types/node/dgram.d.ts","../../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../../node_modules/@types/node/dns.d.ts","../../../../../node_modules/@types/node/dns/promises.d.ts","../../../../../node_modules/@types/node/domain.d.ts","../../../../../node_modules/@types/node/events.d.ts","../../../../../node_modules/@types/node/fs.d.ts","../../../../../node_modules/@types/node/fs/promises.d.ts","../../../../../node_modules/@types/node/http.d.ts","../../../../../node_modules/@types/node/http2.d.ts","../../../../../node_modules/@types/node/https.d.ts","../../../../../node_modules/@types/node/inspector.d.ts","../../../../../node_modules/@types/node/module.d.ts","../../../../../node_modules/@types/node/net.d.ts","../../../../../node_modules/@types/node/os.d.ts","../../../../../node_modules/@types/node/path.d.ts","../../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/@types/node/process.d.ts","../../../../../node_modules/@types/node/punycode.d.ts","../../../../../node_modules/@types/node/querystring.d.ts","../../../../../node_modules/@types/node/readline.d.ts","../../../../../node_modules/@types/node/readline/promises.d.ts","../../../../../node_modules/@types/node/repl.d.ts","../../../../../node_modules/@types/node/stream.d.ts","../../../../../node_modules/@types/node/stream/promises.d.ts","../../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../../node_modules/@types/node/stream/web.d.ts","../../../../../node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/@types/node/test.d.ts","../../../../../node_modules/@types/node/timers.d.ts","../../../../../node_modules/@types/node/timers/promises.d.ts","../../../../../node_modules/@types/node/tls.d.ts","../../../../../node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/@types/node/tty.d.ts","../../../../../node_modules/@types/node/url.d.ts","../../../../../node_modules/@types/node/util.d.ts","../../../../../node_modules/@types/node/v8.d.ts","../../../../../node_modules/@types/node/vm.d.ts","../../../../../node_modules/@types/node/wasi.d.ts","../../../../../node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/@types/node/zlib.d.ts","../../../../../node_modules/@types/node/globals.global.d.ts","../../../../../node_modules/@types/node/index.d.ts","../../../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../../../node_modules/chalk/index.d.ts","../../../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../../../node_modules/@jest/schemas/build/index.d.ts","../../../../../node_modules/pretty-format/build/index.d.ts","../../../../../node_modules/jest-diff/build/index.d.ts","../../../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../../../node_modules/expect/build/index.d.ts","../../../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"0c2688c5c931f158e87fdc6c834e89022eef5d4181da7cea4192cc931ee87c6b","0360f035b87f550ab13ae949c6119234e24f635f23736f4bb3ebc792c213b54d","b067941c3c4a837dd1150c293488cd5a02092a00236e697e8100fe3a80586a08","e2df276da57fd72312c273d62123db2a07a917b63e5aa57f2263d64a6c47b059","7b5337bcfd10ca53645f572abc07e4f2ebb48494d5faf04284f76de088bd560d","90e1d49cc0cfa081c759185963e116c01b747924ba8b54c930ef711ac676ad22","caf3ffb6e478622b2fc1d98c95444e1eeb395299e959fd00c844d2e20dac3d4f","726a097b9ce9a3fefbb699c5fab5bea66bf5f6b1e20116c176b0a2abbfda1270","8494a3dc8f565edd441155b56356bd2466b16a49a2d492b2f256dd88d041fbaf","7e364697a745323e02e12bacd886f2f6133c341118df8bc0ff56c10e94a1a9d4","ee27a5427780587d16a6b25b56045bae504bf604b89b4404644421cb932b790d","257512983583338c7b4b90bcbd255d3a581eb60e7438341e5395cd115fbe7670","0e48bef0afb7c7171485d7014a6d0de52a63945c194076c7295a3ee51e4e3862","a84f03bb615c2fb55c25423c273c71ff79128dff5aeaa7ecc200a1c95b71e42b","6abe9dfe6f1188d0385f5bd4e0bb20e576b8f9c19d9b970829ad164cc37cfe47","e6a19d18a10341a12b5d3a46b90136f5f457a49e0e118db8ad539030ca135174","cc740d575e845b7e69b10b52bccc807b3ab289c6e261e41d2693eaa149f5eb51","b17afd905168a64361055b3d55fcb21d3684c8d4f9daf873ff1143858a0d3590","a07b31a126e7479080aa899fd74e987ab83a06b5eecb993fb11a78009e8f2c1a","35b62981e074bab5e1e63f35e4ab81b6618aa525c962cf1385ffde8f36026822",{"version":"ccc47c520908edc215c3611879bf3086dae8527ff4e1ccc78dd8adca7b2a83f5","signature":"389438217ea6037174f5420a51d5d23f43bbf0b9065b944a905b41fcfdf34675"},{"version":"fa968978c037c265f923891920a74fa4a9faedbfd9d21ada7a68878959f60c58","signature":"1b6906312b3e34a943d142fcc14a3dcbf6875b7ba2193274b88de500124e0430"},{"version":"439851f389775b49220c22142b2b0fd7c4839068f3d4a21b3152b28ca53c22e9","signature":"b4a39b2803265e9e0f9c5368eb2b605cad0c86abebb2391de66a2c00afa901b2"},{"version":"5cb93c6b235a98f97189237a892d4eb481497e4c0a82ce9f4f9724928d32f99c","signature":"c35d5e8204477e10cbc8d328c2514ca0a90768b35b0d23ff9f84e20fa259a8ac"},{"version":"22fe4f6a065f22915f946e13830a2a15a8af5e5bbeb4458dd5c2e2d02f97e0b9","signature":"ebc7bee79a23a4412ef58d9d51b9fd904d0bf62203f9a6e53b13e0f0100cabf5"},{"version":"85dc76588102a409930bbc9888116d3d13039cf9aa17792ce9c4491e6e710bdf","signature":"e2f96e55f878975448c81f370c912683fbd4c1f74b46c85fa2c531ba0eb53e6a"},"fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd",{"version":"f16c9686c565d96115b73b53f4c989f4789477c5febf7c1525b1d1be958a4ecb","signature":"cf7e8f946c84e0c45af54e3c6e558315439fce92d9444d67be863cf00433921d"},{"version":"fafc19f9509f392b8b6a5ad6e5fba80f0738ef1b8ab5e2a7a81196e569124dad","signature":"2e8cc465f2e1d3f201d8e60c5745a958a422cd2537c88536610116be31eba449"},{"version":"726e42d79f7dd543dd264d74aff8746eca5b996e992a6701be517b4f3dde5596","signature":"46761f7ac25dd108c288a7d932338e7e53f8a27909707eb4bd2a83fd815b27e6"},{"version":"a3ff5b7d7ba8c9dea0366189b0ccee6545254923db2af393557c35ab6334c80a","signature":"53b95b891a24dd21a993762b0e3a2db9c795141be6c1b79a17053da033f8e47c"},"61a047439420bbbd844fc7d8413d44b5b14502d06593f560cfa2196aead46933",{"version":"730e030bb2520fdd4813b0594da1d3a13a79d9db1bddac16d7abedc8203f4f5c","signature":"86e72a880d60aecfe7b1796bc87113fc881136fc84c65a3b30f95db25de2b0ea"},{"version":"99e2511317c517e8134acdc50238b3477d0a6987096bfb22f7346870ed78a1c0","signature":"c884f9423210c52f8e841268de70c8d0e3c42a0f724c9483c1dacb0835e31ce3"},"7c987ce34525ee919325847c465b3a27578e5472166c2162b871d24152d3569c",{"version":"69afba5dada2b534268c0d2539e6ebeedc472218df4388be0046b6db1a499d2b","signature":"f062654657ada3ba5f789450f4702e2e742e99b89c4a0908a32e7f969e2047b2"},{"version":"cd5ebb7bf8b2d8d341e3338cab420c7c3e9f658954a03dfff6a4f2bf1279bcc9","signature":"36badfb5484113be482e095a1fd20d060681618f77720365b76b06e7f9c92b4f"},{"version":"145ec98c2fe2f9f57604ac8fddb602a06f9d43c35a79b1ddf4791c13903b004a","signature":"bdfe44adb48fda152cd482b92f05bc879147b059aea4fd093ba7548de72ddc04"},{"version":"3dcaf69d459d98abf488fd2b3ceedf8597fa0d4cec57f121cf6d5a6da34ad9ce","signature":"fad36f4288a82fc8c2901d032048d865cb12a1abd89db0476757d217797b1096"},{"version":"16bc73bf99cc85ce0ffd81c73b1a4e2cd8a17d35685f0e198b076f500fa92fc9","signature":"d3d3a7ab03394ae51366dc0d04433ff6bc5fc411adcf0c53ffbaac971f03c5ee"},{"version":"4b17cdeca58e53f78db2dc5e93f9a5a54ff83567a3202626ae9f0305909d881e","signature":"66df6728b31c59a5b0ee4e5f1d7d872389bffc955931e0b08d08f54d2185ea38"},{"version":"66a6dd08cfa3eef99dd4e768a36ef4e08c2d497d9205ac0511fe09c1ccddfae3","signature":"bbfb0b1e2431a00818c9d7cf8c1461ee4531dbb5bf8a9edfbea36a090e9dd7c1"},{"version":"6a5eb6532bb5ac96a02ecb3b135ad6ab98897d45931def25636fc4c1d32f1f34","signature":"7a75180ddb3624183abf9b7ee113247bf422cf38f45015c15d7991d646b25784"},"89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","c516ef79d74c3671fc738a704d83a3345c1cb7b8720d00353189c1f2a5c53270","c52be5c79280bfcfcf359c084c6f2f70f405b0ad14dde96b6703dbc5ef2261f5",{"version":"3d0fb83738a1127983b6384a07482220b8a7d0820a6dd62ce678e5993863f288","signature":"1ed472bd697f769c96ec3161099f00a04cf8128a2666af31d478d99bea4fc6bf"},{"version":"25655be9526a123a01cff34897a490a71da405dc51112924090c7b6e8f0a67bf","signature":"87dcdcf4330434779de75b564eb93904519daedcb75e4b15e093833d447f6454"},{"version":"d9727434db740f8d8f6820ed5f0fed615b7ef2934bd54e101a9de42fc8499b69","signature":"3e5bc0bd76e1fcffee59f185c126b66352c158f82c8f6f54a401c7bf1f5f6a56"},{"version":"3fd4693611116304047e3b373bd44d9f043e0cf7833d43a7ef4ad2c628a3119f","signature":"740d5a994a57ec3a0b793e7e8bea3ce5a3a797fd31613fbaa9fa11e21dfd1325"},{"version":"8f9b03527dc21b5de38ff0007a4751f0c5a18c9c4c8251407cc7fda87073503a","signature":"ab939f3af049c6e5a8ebe5459f6293fa4694d65d4181435406067ee8555d7d09"},{"version":"64c6681c2e0bd8d37c498c57d5fcfc92231d1d445b0e774c0c5d3c67cfecd491","signature":"b53a0e5453e3aa4f16184b80e31d72140081cf4fb778b239d6080ce4bebfdf63"},{"version":"e97d6632858f801aac7a370ec4317b47d9a0ffae9118a8c24d1a5bacd7268209","signature":"a66cfb877cd5ed3419420e363847cd9f6cb131ad726374247965a27f861b9fd3"},{"version":"36c96bf57d56a1456950d546f1aa768f1e814a6f9c8d73bfad239d0f46a34898","signature":"fb21697e3a9ee73e6f74022a32472c5a4ffd936a92772bc5b16ccf69fe365400"},"7040dc84418e8d9cc7dd924ebaefb5326cfa3df1b0619a92ea1f98fdc3a5654f","3a20bf02d206afa9b0b0c9010402808ac8192410cdf31289ce401d5859938d56","9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","8d29e25413cb756265753e20fffbba96c1c531a260a8d866b184c7f9ba8f9c41","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","68915895d4a136df5cf5f90aaa41d8e1e47ec047e7781a150b5d0cf273dbb7a9","acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","763e521cf114b80e0dd0e21ca49b9f8ae62e8999555a5e7bade8ce36b33001c2","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","f72f8428f3c1caa22e9c247d046603b85b442c0dae7b77a7a0bc092c18867cb7",{"version":"195f63105abc03e72b6a176e3e34dfb5ac932b55db378fdc7874b1617e24b465","affectsGlobalScope":true}],"options":{"declaration":true,"declarationDir":"../types","esModuleInterop":true,"module":1,"outDir":"./","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[145],[145,155],[145,157,160],[100,145],[103,145],[104,109,145],[105,115,116,123,133,144,145],[105,106,115,123,145],[107,145],[108,109,116,124,145],[109,133,141,145],[110,112,115,123,145],[111,145],[112,113,145],[114,115,145],[115,145],[115,116,117,133,144,145],[115,116,117,133,136,145],[145,149],[118,123,133,144,145],[115,116,118,119,123,133,141,144,145],[118,120,133,141,144,145],[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],[115,121,145],[122,144,145],[112,115,123,133,145],[124,145],[125,145],[103,126,145],[127,143,145,149],[128,145],[129,145],[115,130,131,145],[130,132,145,147],[115,133,134,135,136,145],[133,135,145],[133,134,145],[136,145],[137,145],[115,139,140,145],[139,140,145],[109,123,133,141,145],[142,145],[123,143,145],[104,118,129,144,145],[109,145],[133,145,146],[145,147],[145,148],[104,109,115,117,126,133,144,145,147,149],[133,145,150],[67,145],[68,98,145],[86,87,133,145],[86,145],[145,153,159],[145,157],[145,154,158],[145,156],[41,145],[43,44,45,145],[41,42,46,145],[41,47,145],[49,50,51,52,53,54,55,56,57,58,59,145],[60,61,62,64,70,72,89,90,91,145],[64,70,90,92,93,94,145],[61,62,63,64,65,70,72,84,92,145],[48,60,61,62,63,64,70,72,84,88,90,92,95,145],[70,88,89,145],[60,61,72,145],[48,60,63,65,145],[48,61,62,63,66,85,96,145],[48,60,61,64,65,68,72,73,79,83,98,145],[60,80,81,82,145],[48,61,66,70,73,77,78,145],[48,68,72,73,74,75,98,145],[48,60,61,62,64,65,68,70,71,72,73,76,79,83,84,98,145],[48,61,66,72,145],[60,145],[60,61,68,98,145],[69,145],[48,61,62,145],[48,145],[64,145],[61,66,145],[61,62,69,70],[70,92],[61,62,70,92],[61,62],[70],[61],[63],[61,63,66],[61,68,73,98],[61,73],[68,73,98],[48,61,66],[61,68,98],[86],[68,98],[48],[61,66]],"referencedMap":[[153,1],[156,2],[155,1],[86,1],[74,1],[161,3],[100,4],[101,4],[103,5],[104,6],[105,7],[106,8],[107,9],[108,10],[109,11],[110,12],[111,13],[112,14],[113,14],[114,15],[115,16],[116,17],[117,18],[102,19],[151,1],[118,20],[119,21],[120,22],[152,23],[121,24],[122,25],[123,26],[124,27],[125,28],[126,29],[127,30],[128,31],[129,32],[130,33],[131,33],[132,34],[133,35],[135,36],[134,37],[136,38],[137,39],[138,1],[139,40],[140,41],[141,42],[142,43],[143,44],[144,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[68,52],[67,53],[77,1],[88,54],[154,1],[89,55],[160,56],[158,57],[159,58],[157,59],[87,1],[9,1],[8,1],[2,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[3,1],[4,1],[21,1],[18,1],[19,1],[20,1],[22,1],[23,1],[24,1],[5,1],[25,1],[26,1],[27,1],[28,1],[6,1],[29,1],[30,1],[31,1],[32,1],[7,1],[33,1],[38,1],[39,1],[34,1],[35,1],[36,1],[37,1],[1,1],[40,1],[43,60],[46,61],[44,60],[45,60],[47,62],[42,60],[48,63],[41,1],[50,1],[49,1],[52,1],[55,1],[56,1],[60,64],[53,1],[51,1],[59,1],[58,1],[57,1],[54,1],[69,1],[92,65],[95,66],[90,67],[96,68],[94,69],[91,70],[66,71],[97,72],[84,73],[83,74],[79,75],[76,76],[85,77],[75,1],[73,78],[80,79],[81,1],[78,1],[82,1],[72,80],[64,1],[70,81],[93,1],[71,53],[63,82],[61,83],[65,84],[62,85],[98,53],[99,1]],"exportedModulesMap":[[153,1],[156,2],[155,1],[86,1],[74,1],[161,3],[100,4],[101,4],[103,5],[104,6],[105,7],[106,8],[107,9],[108,10],[109,11],[110,12],[111,13],[112,14],[113,14],[114,15],[115,16],[116,17],[117,18],[102,19],[151,1],[118,20],[119,21],[120,22],[152,23],[121,24],[122,25],[123,26],[124,27],[125,28],[126,29],[127,30],[128,31],[129,32],[130,33],[131,33],[132,34],[133,35],[135,36],[134,37],[136,38],[137,39],[138,1],[139,40],[140,41],[141,42],[142,43],[143,44],[144,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[68,52],[67,53],[77,1],[88,54],[154,1],[89,55],[160,56],[158,57],[159,58],[157,59],[87,1],[9,1],[8,1],[2,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[3,1],[4,1],[21,1],[18,1],[19,1],[20,1],[22,1],[23,1],[24,1],[5,1],[25,1],[26,1],[27,1],[28,1],[6,1],[29,1],[30,1],[31,1],[32,1],[7,1],[33,1],[38,1],[39,1],[34,1],[35,1],[36,1],[37,1],[1,1],[40,1],[43,60],[46,61],[44,60],[45,60],[47,62],[42,60],[48,63],[41,1],[50,1],[49,1],[52,1],[55,1],[56,1],[60,64],[53,1],[51,1],[59,1],[58,1],[57,1],[54,1],[69,1],[92,86],[95,87],[90,88],[96,89],[94,90],[91,91],[66,92],[97,93],[84,94],[79,95],[76,96],[85,89],[73,97],[72,98],[70,99],[71,100],[63,89],[61,101],[62,102],[98,53],[99,1]],"semanticDiagnosticsPerFile":[153,156,155,86,74,161,100,101,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,102,151,118,119,120,152,121,122,123,124,125,126,127,128,129,130,131,132,133,135,134,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,68,67,77,88,154,89,160,158,159,157,87,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,29,30,31,32,7,33,38,39,34,35,36,37,1,40,43,46,44,45,47,42,48,41,50,49,52,55,56,60,53,51,59,58,57,54,69,92,95,90,96,94,91,66,97,84,83,79,76,85,75,73,80,81,78,82,72,64,70,93,71,63,61,65,62,98,99]},"version":"4.7.4"}
@@ -1,22 +0,0 @@
1
- import * as t from '../../shared/estree';
2
- import CodeGen from '../codegen';
3
- /**
4
- * Generate a function body AST from a template ESTree AST. This function can then be instantiated
5
- * via `new Function(code, modules)` The generated function retrieves receives the dependent LWC
6
- * components as arguments and returns the template function.
7
- *
8
- * @example
9
- * ```js
10
- * const {
11
- * // Components names
12
- * } = modules;
13
- *
14
- * function tmpl() {
15
- * // Template generated code
16
- * }
17
- * // Template metadata
18
- *
19
- * return tmpl;
20
- * ```
21
- */
22
- export declare function format(templateFn: t.FunctionDeclaration, codeGen: CodeGen): t.Program;
@@ -1,8 +0,0 @@
1
- import * as t from '../shared/estree';
2
- import { IRNode, TemplateExpression } from '../shared/types';
3
- /**
4
- * Bind the passed expression to the component instance. It applies the following transformation to the expression:
5
- * - {value} --> {$cmp.value}
6
- * - {value[index]} --> {$cmp.value[$cmp.index]}
7
- */
8
- export declare function bindExpression(expression: TemplateExpression, irNode: IRNode): t.Expression;
@@ -1,2 +0,0 @@
1
- import { BaseElement } from '../shared/types';
2
- export declare function isUnsafeTopLevelSerializableElement(element: BaseElement): boolean;
@@ -1,11 +0,0 @@
1
- import { TemplateIdentifier, TemplateExpression, IRNode, IRText, IRElement, HTMLElement, HTMLText, HTMLComment, IRComment } from './types';
2
- export declare function createElement(original: HTMLElement, parent?: IRElement): IRElement;
3
- export declare function createText(original: HTMLText, parent: IRElement, value: string | TemplateExpression): IRText;
4
- export declare function createComment(original: HTMLComment, parent: IRElement, value: string): IRComment;
5
- export declare function isElement(node: IRNode): node is IRElement;
6
- export declare function isTextNode(node: IRNode): node is IRText;
7
- export declare function isCommentNode(node: IRNode): node is IRComment;
8
- export declare function isCustomElement(node: IRNode): boolean;
9
- export declare function isTemplate(element: IRElement): boolean;
10
- export declare function isSlot(element: IRElement): boolean;
11
- export declare function isComponentProp(identifier: TemplateIdentifier, root: IRNode): boolean;