@lwrjs/base-view-provider 0.11.0-alpha.8 → 0.11.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/cjs/index.cjs +0 -5
- package/build/es/index.js +0 -5
- package/package.json +4 -4
package/build/cjs/index.cjs
CHANGED
|
@@ -82,7 +82,6 @@ var BaseViewProvider = class {
|
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
async getView(viewId) {
|
|
85
|
-
const {rootComponent} = viewId;
|
|
86
85
|
const viewSource = await this.getViewSource(viewId);
|
|
87
86
|
return {
|
|
88
87
|
...viewSource,
|
|
@@ -91,10 +90,6 @@ var BaseViewProvider = class {
|
|
|
91
90
|
render: async (context) => {
|
|
92
91
|
return {
|
|
93
92
|
renderedView: this.renderView(viewSource.originalSource, context),
|
|
94
|
-
metadata: {
|
|
95
|
-
customElements: rootComponent ? [{tagName: rootComponent}] : [],
|
|
96
|
-
assetReferences: []
|
|
97
|
-
},
|
|
98
93
|
options: {
|
|
99
94
|
skipMetadataCollection: false
|
|
100
95
|
}
|
package/build/es/index.js
CHANGED
|
@@ -59,7 +59,6 @@ export default class BaseViewProvider {
|
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
async getView(viewId) {
|
|
62
|
-
const { rootComponent } = viewId;
|
|
63
62
|
// This view provider supports the default layout and content with root components
|
|
64
63
|
const viewSource = await this.getViewSource(viewId);
|
|
65
64
|
return {
|
|
@@ -70,10 +69,6 @@ export default class BaseViewProvider {
|
|
|
70
69
|
render: async (context) => {
|
|
71
70
|
return {
|
|
72
71
|
renderedView: this.renderView(viewSource.originalSource, context),
|
|
73
|
-
metadata: {
|
|
74
|
-
customElements: rootComponent ? [{ tagName: rootComponent }] : [],
|
|
75
|
-
assetReferences: [],
|
|
76
|
-
},
|
|
77
72
|
options: {
|
|
78
73
|
skipMetadataCollection: false,
|
|
79
74
|
},
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.0
|
|
7
|
+
"version": "0.11.0",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lwrjs/shared-utils": "0.11.0
|
|
33
|
+
"@lwrjs/shared-utils": "0.11.0",
|
|
34
34
|
"escape-goat": "^3.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@lwrjs/types": "0.11.0
|
|
37
|
+
"@lwrjs/types": "0.11.0"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=16.0.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "fbc883ea90a12672ce6f1adc2201144fda8762bd"
|
|
43
43
|
}
|