@komaci/esm-generator 246.0.2 → 246.0.4
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.
|
@@ -21,6 +21,10 @@ export default class ScriptTestClass extends LightningElement {
|
|
|
21
21
|
get propGetterArray(): any[];
|
|
22
22
|
get propPrivateState(): string;
|
|
23
23
|
testProp: any;
|
|
24
|
+
get variables(): {
|
|
25
|
+
id: any;
|
|
26
|
+
};
|
|
27
|
+
get record(): any;
|
|
24
28
|
}
|
|
25
29
|
import { LightningElement } from "lwc";
|
|
26
30
|
//# sourceMappingURL=actual.d.ts.map
|
|
@@ -37,6 +37,17 @@ class ScriptTestClass extends lwc_1.LightningElement {
|
|
|
37
37
|
get propPrivateState() {
|
|
38
38
|
return this.propString;
|
|
39
39
|
}
|
|
40
|
+
get variables() {
|
|
41
|
+
return {
|
|
42
|
+
id: this.record,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
get record() {
|
|
46
|
+
if (this.recordId) {
|
|
47
|
+
return this.recordId;
|
|
48
|
+
}
|
|
49
|
+
return '';
|
|
50
|
+
}
|
|
40
51
|
}
|
|
41
52
|
__decorate([
|
|
42
53
|
lwc_1.api
|
|
@@ -89,6 +89,7 @@ function generateResolvableModule(input, scriptKomaciDoc, templateKomaciDocMap,
|
|
|
89
89
|
astContext: (0, common_shared_1.getAstContextObject)(ast),
|
|
90
90
|
isExternal: (0, common_shared_1.isExternalModule)(input.moduleInfo.namespace),
|
|
91
91
|
};
|
|
92
|
+
(0, common_shared_1.setGetterPropertyTypeBeforeProcessing)(getters, componentDefaultAdgIndex, moduleMetadata);
|
|
92
93
|
(0, componentAstProcessing_1.processGetters)(componentDefaultAdgIndex, moduleContext, moduleMetadata, getters);
|
|
93
94
|
(0, componentAstProcessing_1.processTemplateStrings)(componentDefaultAdgIndex, moduleContext, moduleMetadata, templateStrings);
|
|
94
95
|
//If there is a render function, process it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@komaci/esm-generator",
|
|
3
|
-
"version": "246.0.
|
|
3
|
+
"version": "246.0.4",
|
|
4
4
|
"description": "Komaci generator for ADG ES modules",
|
|
5
5
|
"homepage": "https://komaci.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@babel/core": "^7.9.0",
|
|
30
30
|
"@babel/generator": "^7.9.0",
|
|
31
31
|
"@babel/types": "^7.9.0",
|
|
32
|
-
"@komaci/common-shared": "246.0.
|
|
33
|
-
"@komaci/static-analyzer": "246.0.
|
|
32
|
+
"@komaci/common-shared": "246.0.4",
|
|
33
|
+
"@komaci/static-analyzer": "246.0.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@komaci/types": "246.0.
|
|
36
|
+
"@komaci/types": "246.0.4",
|
|
37
37
|
"@lwc-platform/sfdc-lwc-compiler": "244.17.2-2.40.0",
|
|
38
38
|
"@lwc/metadata": "2.40.0-0"
|
|
39
39
|
}
|