@salesforcedevs/arch-components 1.27.17 → 1.30.1-node22-1
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/lwc.config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/arch-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.1-node22-1",
|
|
4
4
|
"description": "Architect Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "
|
|
7
|
+
"node": ">=22.0.0"
|
|
8
|
+
},
|
|
9
|
+
"volta": {
|
|
10
|
+
"node": "22.22.0",
|
|
11
|
+
"yarn": "1.22.22"
|
|
8
12
|
},
|
|
9
13
|
"publishConfig": {
|
|
10
14
|
"access": "public"
|
|
@@ -44,5 +48,5 @@
|
|
|
44
48
|
"eventsourcemock": "2.0.0",
|
|
45
49
|
"luxon": "3.4.4"
|
|
46
50
|
},
|
|
47
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "7874e944643e2f47606634d9d62ca585cefde113"
|
|
48
52
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LightningElement } from 'lwc';
|
|
2
|
-
|
|
3
|
-
export default class FooterMfe extends LightningElement {
|
|
4
|
-
private didRender = false;
|
|
5
|
-
|
|
6
|
-
renderedCallback() {
|
|
7
|
-
if (this.didRender) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
this.didRender = true;
|
|
11
|
-
|
|
12
|
-
// Since the footer is a third-party component, we need to create it dynamically (LWC won't recognize it as a valid component).
|
|
13
|
-
const footerElement = document.createElement('hgf-footer');
|
|
14
|
-
footerElement.setAttribute('origin', window.location.origin); // will call the route handler for `/c360/experience/v1/navigation`
|
|
15
|
-
footerElement.setAttribute('hide-language-selector', 'true');
|
|
16
|
-
footerElement.setAttribute('home-href', `/${window.location.host}`); // ugly hack: ideally this wouldn't be necessary, but the only way to remove the "See all ways to contact us" link from the footer is to set this to a non-empty value other than "us"; and given the way that the footer works, the non-empty value needs to be something that can be appended to `/` and work correctly
|
|
17
|
-
this.template.querySelector('div')!.appendChild(footerElement);
|
|
18
|
-
}
|
|
19
|
-
}
|