@komaci/esm-generator 264.5.0 → 266.3.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.
- package/build/genericAstGeneration.js +80 -34
- package/package.json +1 -1
- package/build/__tests__/adgAstGeneration.spec.d.ts +0 -2
- package/build/__tests__/adgAstGeneration.spec.js +0 -447
- package/build/__tests__/compile-generated-module-fixtures.spec.d.ts +0 -2
- package/build/__tests__/compile-generated-module-fixtures.spec.js +0 -49
- package/build/__tests__/compilerConfigs.d.ts +0 -24
- package/build/__tests__/compilerConfigs.js +0 -126
- package/build/__tests__/compositionAstGeneration.spec.d.ts +0 -2
- package/build/__tests__/compositionAstGeneration.spec.js +0 -676
- package/build/__tests__/fixtures-combined-files/exclude-comps-unused-import-prop/actual.d.ts +0 -6
- package/build/__tests__/fixtures-combined-files/exclude-comps-unused-import-prop/actual.js +0 -28
- package/build/__tests__/fixtures-combined-files/exclude-partial-classProps-indirect-importRef-getter/actual.d.ts +0 -29
- package/build/__tests__/fixtures-combined-files/exclude-partial-classProps-indirect-importRef-getter/actual.js +0 -148
- package/build/__tests__/fixtures-combined-files/exclude-total-unused-import-getter-from-one/actual.d.ts +0 -9
- package/build/__tests__/fixtures-combined-files/exclude-total-unused-import-getter-from-one/actual.js +0 -35
- package/build/__tests__/fixtures-combined-files/exclude-total-unused-import-getter-from-two/actual.d.ts +0 -10
- package/build/__tests__/fixtures-combined-files/exclude-total-unused-import-getter-from-two/actual.js +0 -39
- package/build/__tests__/fixtures-combined-files/exclude-wire-unused-import-prop/actual.d.ts +0 -7
- package/build/__tests__/fixtures-combined-files/exclude-wire-unused-import-prop/actual.js +0 -34
- package/build/__tests__/fixtures-combined-files/image-type/actual.d.ts +0 -13
- package/build/__tests__/fixtures-combined-files/image-type/actual.js +0 -41
- package/build/__tests__/fixtures-combined-files/include-all-indirect-importRef-getter-complex/actual.d.ts +0 -14
- package/build/__tests__/fixtures-combined-files/include-all-indirect-importRef-getter-complex/actual.js +0 -79
- package/build/__tests__/fixtures-combined-files/include-class-prop-indirect-importRef-getter/actual.d.ts +0 -18
- package/build/__tests__/fixtures-combined-files/include-class-prop-indirect-importRef-getter/actual.js +0 -103
- package/build/__tests__/fixtures-combined-files/include-comps-used-import-prop/actual.d.ts +0 -6
- package/build/__tests__/fixtures-combined-files/include-comps-used-import-prop/actual.js +0 -28
- package/build/__tests__/fixtures-combined-files/include-salesforce-resourceUrl-imports/actual.d.ts +0 -6
- package/build/__tests__/fixtures-combined-files/include-salesforce-resourceUrl-imports/actual.js +0 -16
- package/build/__tests__/fixtures-combined-files/include-salesforce-resourceUrl-nonAnalyzable-imports/actual.d.ts +0 -4
- package/build/__tests__/fixtures-combined-files/include-salesforce-resourceUrl-nonAnalyzable-imports/actual.js +0 -18
- package/build/__tests__/fixtures-combined-files/include-template-strings/actual.d.ts +0 -10
- package/build/__tests__/fixtures-combined-files/include-template-strings/actual.js +0 -41
- package/build/__tests__/fixtures-combined-files/include-used-import-getter/actual.d.ts +0 -9
- package/build/__tests__/fixtures-combined-files/include-used-import-getter/actual.js +0 -38
- package/build/__tests__/fixtures-combined-files/include-wire-used-import-prop/actual.d.ts +0 -7
- package/build/__tests__/fixtures-combined-files/include-wire-used-import-prop/actual.js +0 -34
- package/build/__tests__/fixtures-combined-files/only-named-export-with-template/actual.d.ts +0 -1
- package/build/__tests__/fixtures-combined-files/only-named-export-with-template/actual.js +0 -2
- package/build/__tests__/fixtures-combined-files/unsupported-wire-from-supported-namespace/actual.d.ts +0 -6
- package/build/__tests__/fixtures-combined-files/unsupported-wire-from-supported-namespace/actual.js +0 -19
- package/build/__tests__/fixtures-combined-files-multiple-templates/invalid-renderFunc-no-valid-imports/c/component/component.d.ts +0 -5
- package/build/__tests__/fixtures-combined-files-multiple-templates/invalid-renderFunc-no-valid-imports/c/component/component.js +0 -14
- package/build/__tests__/fixtures-combined-files-multiple-templates/valid-render-function-complex/lightning/component/component.d.ts +0 -6
- package/build/__tests__/fixtures-combined-files-multiple-templates/valid-render-function-complex/lightning/component/component.js +0 -31
- package/build/__tests__/fixtures-combined-files-multiple-templates/valid-render-function-simple/lightning/component/component.d.ts +0 -6
- package/build/__tests__/fixtures-combined-files-multiple-templates/valid-render-function-simple/lightning/component/component.js +0 -27
- package/build/__tests__/fixtures-gql/multipleGqlQueries/c/component/component.d.ts +0 -15
- package/build/__tests__/fixtures-gql/multipleGqlQueries/c/component/component.js +0 -104
- package/build/__tests__/fixtures-script-files/class-extends-multiple-with-separate-imports/actual.d.ts +0 -8
- package/build/__tests__/fixtures-script-files/class-extends-multiple-with-separate-imports/actual.js +0 -17
- package/build/__tests__/fixtures-script-files/class-extends-separate-imports/actual.d.ts +0 -4
- package/build/__tests__/fixtures-script-files/class-extends-separate-imports/actual.js +0 -13
- package/build/__tests__/fixtures-script-files/class-extends-separate-imports-alias/actual.d.ts +0 -4
- package/build/__tests__/fixtures-script-files/class-extends-separate-imports-alias/actual.js +0 -10
- package/build/__tests__/fixtures-script-files/class-props/actual.d.ts +0 -30
- package/build/__tests__/fixtures-script-files/class-props/actual.js +0 -103
- package/build/__tests__/fixtures-script-files/empty-class/actual.d.ts +0 -4
- package/build/__tests__/fixtures-script-files/empty-class/actual.js +0 -7
- package/build/__tests__/fixtures-script-files/empty-doc/actual.d.ts +0 -1
- package/build/__tests__/fixtures-script-files/empty-doc/actual.js +0 -2
- package/build/__tests__/fixtures-script-files/empty-wire/actual.d.ts +0 -5
- package/build/__tests__/fixtures-script-files/empty-wire/actual.js +0 -16
- package/build/__tests__/fixtures-script-files/exclude-wire-unused-import-prop/actual.d.ts +0 -7
- package/build/__tests__/fixtures-script-files/exclude-wire-unused-import-prop/actual.js +0 -34
- package/build/__tests__/fixtures-script-files/exports/actual.d.ts +0 -22
- package/build/__tests__/fixtures-script-files/exports/actual.js +0 -63
- package/build/__tests__/fixtures-script-files/imports/actual.d.ts +0 -11
- package/build/__tests__/fixtures-script-files/imports/actual.js +0 -80
- package/build/__tests__/fixtures-script-files/imports-namespaced/actual.d.ts +0 -10
- package/build/__tests__/fixtures-script-files/imports-namespaced/actual.js +0 -63
- package/build/__tests__/fixtures-script-files/include-wire-unused-import-prop/actual.d.ts +0 -7
- package/build/__tests__/fixtures-script-files/include-wire-unused-import-prop/actual.js +0 -34
- package/build/__tests__/fixtures-script-files/inheritance-imports-default/actual.d.ts +0 -3
- package/build/__tests__/fixtures-script-files/inheritance-imports-default/actual.js +0 -10
- package/build/__tests__/fixtures-script-files/inheritance-imports-local/actual.d.ts +0 -9
- package/build/__tests__/fixtures-script-files/inheritance-imports-local/actual.js +0 -24
- package/build/__tests__/fixtures-script-files/inheritance-imports-named/actual.d.ts +0 -4
- package/build/__tests__/fixtures-script-files/inheritance-imports-named/actual.js +0 -17
- package/build/__tests__/fixtures-script-files/inheritance-parent-unresolved/actual.d.ts +0 -4
- package/build/__tests__/fixtures-script-files/inheritance-parent-unresolved/actual.js +0 -17
- package/build/__tests__/fixtures-script-files/unsupported-wire-from-supported-namespace/actual.d.ts +0 -6
- package/build/__tests__/fixtures-script-files/unsupported-wire-from-supported-namespace/actual.js +0 -19
- package/build/__tests__/fixtures-script-files/wire-basic/actual.d.ts +0 -8
- package/build/__tests__/fixtures-script-files/wire-basic/actual.js +0 -30
- package/build/__tests__/fixtures-script-files/wire-functions/actual.d.ts +0 -13
- package/build/__tests__/fixtures-script-files/wire-functions/actual.js +0 -46
- package/build/__tests__/fixtures-script-files/wire-imports/actual.d.ts +0 -11
- package/build/__tests__/fixtures-script-files/wire-imports/actual.js +0 -63
- package/build/__tests__/fixtures-source-code/badImportRef.d.ts +0 -4
- package/build/__tests__/fixtures-source-code/badImportRef.js +0 -31
- package/build/__tests__/fixtures-source-code/generalMockSourceCode.d.ts +0 -8
- package/build/__tests__/fixtures-source-code/generalMockSourceCode.js +0 -127
- package/build/__tests__/fixtures-source-code/gqlMockSource.d.ts +0 -3
- package/build/__tests__/fixtures-source-code/gqlMockSource.js +0 -95
- package/build/__tests__/functionAstGeneration.spec.d.ts +0 -2
- package/build/__tests__/functionAstGeneration.spec.js +0 -727
- package/build/__tests__/general-komaci-docs/assorted-template-strings/source.d.ts +0 -10
- package/build/__tests__/general-komaci-docs/assorted-template-strings/source.js +0 -41
- package/build/__tests__/general-komaci-docs/getters-and-compositions-collisions/source.d.ts +0 -7
- package/build/__tests__/general-komaci-docs/getters-and-compositions-collisions/source.js +0 -31
- package/build/__tests__/general-komaci-docs/import-types/source.d.ts +0 -18
- package/build/__tests__/general-komaci-docs/import-types/source.js +0 -108
- package/build/__tests__/general-komaci-docs/import-types/validationStuff.d.ts +0 -18
- package/build/__tests__/general-komaci-docs/import-types/validationStuff.js +0 -63
- package/build/__tests__/general-komaci-docs/template-component/source.d.ts +0 -8
- package/build/__tests__/general-komaci-docs/template-component/source.js +0 -34
- package/build/__tests__/generated-module/compile-graphql-with-scoped-import.spec.d.ts +0 -2
- package/build/__tests__/generated-module/compile-graphql-with-scoped-import.spec.js +0 -20
- package/build/__tests__/generated-module/lightning/component/component.d.ts +0 -18
- package/build/__tests__/generated-module/lightning/component/component.js +0 -168
- package/build/__tests__/genericAstGeneration.spec.d.ts +0 -2
- package/build/__tests__/genericAstGeneration.spec.js +0 -1052
- package/build/__tests__/index.spec.d.ts +0 -2
- package/build/__tests__/index.spec.js +0 -393
- package/build/__tests__/komaci-ast-unit.spec.d.ts +0 -2
- package/build/__tests__/komaci-ast-unit.spec.js +0 -422
- package/build/__tests__/komaci-bundle-module.fixtures.spec.d.ts +0 -2
- package/build/__tests__/komaci-bundle-module.fixtures.spec.js +0 -76
- package/build/__tests__/komaci-bundle-multiple-templates-module.fixtures.spec.d.ts +0 -2
- package/build/__tests__/komaci-bundle-multiple-templates-module.fixtures.spec.js +0 -117
- package/build/__tests__/komaci-gql.fixtures.spec.d.ts +0 -2
- package/build/__tests__/komaci-gql.fixtures.spec.js +0 -51
- package/build/__tests__/komaci-script-module.fixtures.spec.d.ts +0 -2
- package/build/__tests__/komaci-script-module.fixtures.spec.js +0 -70
- package/build/__tests__/komaci-template-module.fixtures.spec.d.ts +0 -2
- package/build/__tests__/komaci-template-module.fixtures.spec.js +0 -57
- package/build/__tests__/readAndParseBundle.d.ts +0 -22
- package/build/__tests__/readAndParseBundle.js +0 -80
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const lwc_1 = require("lwc");
|
|
13
|
-
const myLabel_1 = __importDefault(require("@salesforce/label/myLabel"));
|
|
14
|
-
class ScriptTestClass extends lwc_1.LightningElement {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.label = myLabel_1.default;
|
|
18
|
-
this.myAttr = 'Hello, World!';
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
__decorate([
|
|
22
|
-
lwc_1.api
|
|
23
|
-
], ScriptTestClass.prototype, "label", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
lwc_1.api
|
|
26
|
-
], ScriptTestClass.prototype, "myAttr", void 0);
|
|
27
|
-
exports.default = ScriptTestClass;
|
|
28
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export default class ScriptTestClass extends LightningElement {
|
|
2
|
-
recordId: any;
|
|
3
|
-
label: any;
|
|
4
|
-
label2: any;
|
|
5
|
-
defLbl: any;
|
|
6
|
-
nspLbl: any;
|
|
7
|
-
defMixedLbl: any;
|
|
8
|
-
nonDefMixedLbl: any;
|
|
9
|
-
defMixedLbl2: any;
|
|
10
|
-
nonDefMixedLbl2: any;
|
|
11
|
-
defMixedLbl31: any;
|
|
12
|
-
nonDefMixedLbl32: any;
|
|
13
|
-
nonDefMixedLbl33: any;
|
|
14
|
-
nonDefMixedLbl41: any;
|
|
15
|
-
nonDefMixedLbl42: any;
|
|
16
|
-
nonDefMixedLbl43: any;
|
|
17
|
-
nonDefMixedLbl44: any;
|
|
18
|
-
myAttr: string;
|
|
19
|
-
get myGetter(): string;
|
|
20
|
-
get myGetter2(): string;
|
|
21
|
-
get myGetter3(): string;
|
|
22
|
-
get myGetter4(): string;
|
|
23
|
-
get myGetter5(): string;
|
|
24
|
-
record: any;
|
|
25
|
-
record2: any;
|
|
26
|
-
record3: any;
|
|
27
|
-
}
|
|
28
|
-
import { LightningElement } from "lwc";
|
|
29
|
-
//# sourceMappingURL=actual.d.ts.map
|
|
@@ -1,148 +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
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
-
__setModuleDefault(result, mod);
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
|
-
};
|
|
34
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
const lwc_1 = require("lwc");
|
|
36
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
37
|
-
const shared_1 = require("force/shared");
|
|
38
|
-
const shared_2 = require("force/shared");
|
|
39
|
-
const transformWire_1 = __importDefault(require("laf/transformWire"));
|
|
40
|
-
const nspLabel = __importStar(require("formula/formulaEngine"));
|
|
41
|
-
const graphql_1 = __importStar(require("lightning/graphql"));
|
|
42
|
-
const batchingPortable_1 = __importStar(require("laf/batchingPortable"));
|
|
43
|
-
const shared_3 = __importStar(require("force/shared"));
|
|
44
|
-
class ScriptTestClass extends lwc_1.LightningElement {
|
|
45
|
-
constructor() {
|
|
46
|
-
super(...arguments);
|
|
47
|
-
this.label = shared_1.LABEL;
|
|
48
|
-
this.label2 = shared_2.LABEL2;
|
|
49
|
-
this.defLbl = transformWire_1.default;
|
|
50
|
-
this.nspLbl = nspLabel;
|
|
51
|
-
this.defMixedLbl = graphql_1.default;
|
|
52
|
-
this.nonDefMixedLbl = graphql_1.nonDefMixedLabel;
|
|
53
|
-
this.defMixedLbl2 = batchingPortable_1.default;
|
|
54
|
-
this.nonDefMixedLbl2 = batchingPortable_1.nonDefMixedLabel2;
|
|
55
|
-
this.defMixedLbl31 = shared_3.default;
|
|
56
|
-
this.nonDefMixedLbl32 = shared_3.nonDefMixedLabel32;
|
|
57
|
-
this.nonDefMixedLbl33 = shared_3.nonDefMixedLabel33;
|
|
58
|
-
this.nonDefMixedLbl41 = shared_3.nonDefMixedLabel41;
|
|
59
|
-
this.nonDefMixedLbl42 = shared_3.nonDefMixedLabel42;
|
|
60
|
-
this.nonDefMixedLbl43 = shared_3.nonDefMixedLabel43;
|
|
61
|
-
this.nonDefMixedLbl44 = shared_3.nonDefMixedLabel44;
|
|
62
|
-
this.myAttr = 'Hello, World!';
|
|
63
|
-
}
|
|
64
|
-
get myGetter() {
|
|
65
|
-
return 'something ' + this.myAttr;
|
|
66
|
-
}
|
|
67
|
-
get myGetter2() {
|
|
68
|
-
return 'something ' + this.label2 + this.myAttr;
|
|
69
|
-
}
|
|
70
|
-
get myGetter3() {
|
|
71
|
-
return 'something ' + this.label2 + this.nspLbl + this.defMixedLbl + this.myAttr;
|
|
72
|
-
}
|
|
73
|
-
get myGetter4() {
|
|
74
|
-
return 'something ' + this.nonDefMixedLbl2 + this.nonDefMixedLbl32 + this.myAttr;
|
|
75
|
-
}
|
|
76
|
-
get myGetter5() {
|
|
77
|
-
return ('something else ' +
|
|
78
|
-
this.nonDefMixedLbl41 +
|
|
79
|
-
this.nonDefMixedLbl43 +
|
|
80
|
-
this.myAttr);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
__decorate([
|
|
84
|
-
lwc_1.api
|
|
85
|
-
], ScriptTestClass.prototype, "recordId", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
lwc_1.api
|
|
88
|
-
], ScriptTestClass.prototype, "label", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
lwc_1.api
|
|
91
|
-
], ScriptTestClass.prototype, "label2", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
lwc_1.api
|
|
94
|
-
], ScriptTestClass.prototype, "defLbl", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
lwc_1.api
|
|
97
|
-
], ScriptTestClass.prototype, "nspLbl", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
lwc_1.api
|
|
100
|
-
], ScriptTestClass.prototype, "defMixedLbl", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
lwc_1.api
|
|
103
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
lwc_1.api
|
|
106
|
-
], ScriptTestClass.prototype, "defMixedLbl2", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
lwc_1.api
|
|
109
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl2", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
lwc_1.api
|
|
112
|
-
], ScriptTestClass.prototype, "defMixedLbl31", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
lwc_1.api
|
|
115
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl32", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
lwc_1.api
|
|
118
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl33", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
lwc_1.api
|
|
121
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl41", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
lwc_1.api
|
|
124
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl42", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
lwc_1.api
|
|
127
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl43", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
lwc_1.api
|
|
130
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl44", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
lwc_1.api
|
|
133
|
-
], ScriptTestClass.prototype, "myAttr", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, { recordId: '$myGetter', layoutTypes: ['Full'], modes: ['View'] })
|
|
136
|
-
], ScriptTestClass.prototype, "record", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecordUi, {
|
|
139
|
-
recordIds: '$myGetter2',
|
|
140
|
-
layoutTypes: ['Full'],
|
|
141
|
-
modes: ['View'],
|
|
142
|
-
})
|
|
143
|
-
], ScriptTestClass.prototype, "record2", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecordCreateDefaults, { objectApiName: '$myGetter3' })
|
|
146
|
-
], ScriptTestClass.prototype, "record3", void 0);
|
|
147
|
-
exports.default = ScriptTestClass;
|
|
148
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
const lwc_1 = require("lwc");
|
|
10
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
11
|
-
const shared_1 = require("force/shared");
|
|
12
|
-
class Example extends lwc_1.LightningElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.label = shared_1.LABEL;
|
|
16
|
-
this.myAttr = 'Hello, World!';
|
|
17
|
-
}
|
|
18
|
-
get myGetter() {
|
|
19
|
-
return 'something ' + this.myAttr;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
__decorate([
|
|
23
|
-
lwc_1.api
|
|
24
|
-
], Example.prototype, "recordId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
lwc_1.api
|
|
27
|
-
], Example.prototype, "label", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
lwc_1.api
|
|
30
|
-
], Example.prototype, "myAttr", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, { recordId: '$myGetter', layoutTypes: ['Full'], modes: ['View'] })
|
|
33
|
-
], Example.prototype, "record", void 0);
|
|
34
|
-
exports.default = Example;
|
|
35
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
const lwc_1 = require("lwc");
|
|
10
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
11
|
-
const shared_1 = require("force/shared");
|
|
12
|
-
class Example extends lwc_1.LightningElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.label = shared_1.LABEL;
|
|
16
|
-
this.label2 = shared_1.LABEL2;
|
|
17
|
-
this.myAttr = 'Hello, World!';
|
|
18
|
-
}
|
|
19
|
-
get myGetter() {
|
|
20
|
-
return 'something ' + this.myAttr;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
__decorate([
|
|
24
|
-
lwc_1.api
|
|
25
|
-
], Example.prototype, "recordId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
lwc_1.api
|
|
28
|
-
], Example.prototype, "label", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
lwc_1.api
|
|
31
|
-
], Example.prototype, "label2", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
lwc_1.api
|
|
34
|
-
], Example.prototype, "myAttr", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, { recordId: '$myGetter', layoutTypes: ['Full'], modes: ['View'] })
|
|
37
|
-
], Example.prototype, "record", void 0);
|
|
38
|
-
exports.default = Example;
|
|
39
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const lwc_1 = require("lwc");
|
|
13
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
14
|
-
const myLabel_1 = __importDefault(require("@salesforce/label/myLabel"));
|
|
15
|
-
class ScriptTestClass extends lwc_1.LightningElement {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.label = myLabel_1.default;
|
|
19
|
-
this.myAttr = 'hello, world';
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
__decorate([
|
|
23
|
-
lwc_1.api
|
|
24
|
-
], ScriptTestClass.prototype, "label", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
lwc_1.api
|
|
27
|
-
], ScriptTestClass.prototype, "myAttr", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, {
|
|
30
|
-
resourceId: '$myAttr',
|
|
31
|
-
})
|
|
32
|
-
], ScriptTestClass.prototype, "myWire", void 0);
|
|
33
|
-
exports.default = ScriptTestClass;
|
|
34
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default class WireFunction extends LightningElement {
|
|
2
|
-
recordId: any;
|
|
3
|
-
record: any;
|
|
4
|
-
testField: any;
|
|
5
|
-
imageObject: {
|
|
6
|
-
nested: {
|
|
7
|
-
imageName: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
wiredName: any;
|
|
11
|
-
}
|
|
12
|
-
import { LightningElement } from "lwc";
|
|
13
|
-
//# sourceMappingURL=actual.d.ts.map
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
const lwc_1 = require("lwc");
|
|
10
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
11
|
-
class WireFunction extends lwc_1.LightningElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.imageObject = {
|
|
15
|
-
nested: {
|
|
16
|
-
imageName: 'myImage.jpg',
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
__decorate([
|
|
22
|
-
lwc_1.api
|
|
23
|
-
], WireFunction.prototype, "recordId", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
lwc_1.track
|
|
26
|
-
], WireFunction.prototype, "record", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
lwc_1.api
|
|
29
|
-
], WireFunction.prototype, "testField", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
lwc_1.api
|
|
32
|
-
], WireFunction.prototype, "imageObject", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, {
|
|
35
|
-
resourceId: '$recordId',
|
|
36
|
-
fields: ['Name'],
|
|
37
|
-
recordType: '$recordType',
|
|
38
|
-
})
|
|
39
|
-
], WireFunction.prototype, "wiredName", void 0);
|
|
40
|
-
exports.default = WireFunction;
|
|
41
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default class Example extends LightningElement {
|
|
2
|
-
recordId: any;
|
|
3
|
-
label: any;
|
|
4
|
-
label2: any;
|
|
5
|
-
label3: any;
|
|
6
|
-
label4: any;
|
|
7
|
-
label5: any;
|
|
8
|
-
myAttr: string;
|
|
9
|
-
get myGetter(): string;
|
|
10
|
-
get myGetter2(): string;
|
|
11
|
-
record: any;
|
|
12
|
-
}
|
|
13
|
-
import { LightningElement } from "lwc";
|
|
14
|
-
//# sourceMappingURL=actual.d.ts.map
|
|
@@ -1,79 +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
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
-
__setModuleDefault(result, mod);
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
const lwc_1 = require("lwc");
|
|
33
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
34
|
-
const shared_1 = require("force/shared");
|
|
35
|
-
const shared_2 = __importStar(require("force/shared"));
|
|
36
|
-
const lbl5 = __importStar(require("laf/transformWire"));
|
|
37
|
-
class Example extends lwc_1.LightningElement {
|
|
38
|
-
constructor() {
|
|
39
|
-
super(...arguments);
|
|
40
|
-
this.label = shared_1.LABEL;
|
|
41
|
-
this.label2 = shared_1.LABEL2;
|
|
42
|
-
this.label3 = shared_2.default;
|
|
43
|
-
this.label4 = shared_2.LABEL4;
|
|
44
|
-
this.label5 = lbl5;
|
|
45
|
-
this.myAttr = 'Hello, World!';
|
|
46
|
-
}
|
|
47
|
-
get myGetter() {
|
|
48
|
-
return 'something ' + shared_1.LABEL + this.myAttr;
|
|
49
|
-
}
|
|
50
|
-
get myGetter2() {
|
|
51
|
-
return 'something ' + shared_1.LABEL2 + shared_2.default + shared_2.LABEL4 + lbl5 + shared_2.trouble + this.myAttr;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
__decorate([
|
|
55
|
-
lwc_1.api
|
|
56
|
-
], Example.prototype, "recordId", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
lwc_1.api
|
|
59
|
-
], Example.prototype, "label", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
lwc_1.api
|
|
62
|
-
], Example.prototype, "label2", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
lwc_1.api
|
|
65
|
-
], Example.prototype, "label3", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
lwc_1.api
|
|
68
|
-
], Example.prototype, "label4", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
lwc_1.api
|
|
71
|
-
], Example.prototype, "label5", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
lwc_1.api
|
|
74
|
-
], Example.prototype, "myAttr", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, { recordId: '$myGetter', layoutTypes: ['Full'], modes: ['View'] })
|
|
77
|
-
], Example.prototype, "record", void 0);
|
|
78
|
-
exports.default = Example;
|
|
79
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export default class ScriptTestClass extends LightningElement {
|
|
2
|
-
recordId: any;
|
|
3
|
-
label: any;
|
|
4
|
-
label2: any;
|
|
5
|
-
defLbl: any;
|
|
6
|
-
nspLbl: any;
|
|
7
|
-
defMixedLbl: any;
|
|
8
|
-
nonDefMixedLbl: any;
|
|
9
|
-
myAttr: string;
|
|
10
|
-
get myGetter(): string;
|
|
11
|
-
get myGetter2(): string;
|
|
12
|
-
get myGetter3(): string;
|
|
13
|
-
record: any;
|
|
14
|
-
record2: any;
|
|
15
|
-
record3: any;
|
|
16
|
-
}
|
|
17
|
-
import { LightningElement } from "lwc";
|
|
18
|
-
//# sourceMappingURL=actual.d.ts.map
|
|
@@ -1,103 +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
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
-
__setModuleDefault(result, mod);
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
|
-
};
|
|
34
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
const lwc_1 = require("lwc");
|
|
36
|
-
const uiRecordApi_1 = require("lightning/uiRecordApi");
|
|
37
|
-
const shared_1 = require("force/shared");
|
|
38
|
-
const transformWire_1 = require("laf/transformWire");
|
|
39
|
-
const formulaEngine_1 = __importDefault(require("formula/formulaEngine"));
|
|
40
|
-
const nspLabel = __importStar(require("lightning/graphql"));
|
|
41
|
-
const batchingPortable_1 = __importStar(require("laf/batchingPortable"));
|
|
42
|
-
class ScriptTestClass extends lwc_1.LightningElement {
|
|
43
|
-
constructor() {
|
|
44
|
-
super(...arguments);
|
|
45
|
-
this.label = shared_1.LABEL;
|
|
46
|
-
this.label2 = transformWire_1.LABEL2;
|
|
47
|
-
this.defLbl = formulaEngine_1.default;
|
|
48
|
-
this.nspLbl = nspLabel;
|
|
49
|
-
this.defMixedLbl = batchingPortable_1.default;
|
|
50
|
-
this.nonDefMixedLbl = batchingPortable_1.nonDefMixedLabel;
|
|
51
|
-
this.myAttr = 'Hello, World!';
|
|
52
|
-
}
|
|
53
|
-
get myGetter() {
|
|
54
|
-
return 'something ' + this.label + this.myAttr;
|
|
55
|
-
}
|
|
56
|
-
get myGetter2() {
|
|
57
|
-
return 'something ' + this.label2 + this.myAttr;
|
|
58
|
-
}
|
|
59
|
-
get myGetter3() {
|
|
60
|
-
return ('something ' +
|
|
61
|
-
this.label2 +
|
|
62
|
-
this.defLbl +
|
|
63
|
-
this.nspLbl +
|
|
64
|
-
this.defMixedLbl +
|
|
65
|
-
this.nonDefMixedLbl +
|
|
66
|
-
this.myAttr);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
__decorate([
|
|
70
|
-
lwc_1.api
|
|
71
|
-
], ScriptTestClass.prototype, "recordId", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
lwc_1.api
|
|
74
|
-
], ScriptTestClass.prototype, "label", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
lwc_1.api
|
|
77
|
-
], ScriptTestClass.prototype, "label2", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
lwc_1.api
|
|
80
|
-
], ScriptTestClass.prototype, "defLbl", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
lwc_1.api
|
|
83
|
-
], ScriptTestClass.prototype, "nspLbl", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
lwc_1.api
|
|
86
|
-
], ScriptTestClass.prototype, "defMixedLbl", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
lwc_1.api
|
|
89
|
-
], ScriptTestClass.prototype, "nonDefMixedLbl", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
lwc_1.api
|
|
92
|
-
], ScriptTestClass.prototype, "myAttr", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecord, { recordId: '$myGetter', layoutTypes: ['Full'], modes: ['View'] })
|
|
95
|
-
], ScriptTestClass.prototype, "record", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecordUi, { recordId: '$myGetter2', layoutTypes: ['Full'], modes: ['View'] })
|
|
98
|
-
], ScriptTestClass.prototype, "record2", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, lwc_1.wire)(uiRecordApi_1.getRecordCreateDefaults, { objectApiName: '$myGetter3' })
|
|
101
|
-
], ScriptTestClass.prototype, "record3", void 0);
|
|
102
|
-
exports.default = ScriptTestClass;
|
|
103
|
-
//# sourceMappingURL=actual.js.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const lwc_1 = require("lwc");
|
|
13
|
-
const myLabel_1 = __importDefault(require("@salesforce/label/myLabel"));
|
|
14
|
-
class ScriptTestClass extends lwc_1.LightningElement {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.label = myLabel_1.default;
|
|
18
|
-
this.myAttr = 'Hello, World!';
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
__decorate([
|
|
22
|
-
lwc_1.api
|
|
23
|
-
], ScriptTestClass.prototype, "label", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
lwc_1.api
|
|
26
|
-
], ScriptTestClass.prototype, "myAttr", void 0);
|
|
27
|
-
exports.default = ScriptTestClass;
|
|
28
|
-
//# sourceMappingURL=actual.js.map
|