@salesforcedevs/dx-components 1.3.299 → 1.3.301
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.301",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"volta": {
|
|
47
47
|
"node": "16.19.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "c17025bed29c9deb85b0e2d5e39e96d0b764932d"
|
|
50
50
|
}
|
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
data-enable-history="true"
|
|
6
6
|
data-pipeline={coveoSearchPipeline}
|
|
7
7
|
>
|
|
8
|
-
<div
|
|
8
|
+
<div
|
|
9
|
+
class="CoveoAnalytics"
|
|
10
|
+
data-search-hub="salesforcedevdoc"
|
|
11
|
+
data-endpoint={coveoAnalyticsEndpoint}
|
|
12
|
+
></div>
|
|
9
13
|
<div if:true={hasQuery} class="dx-search-header">
|
|
10
14
|
<div class="dx-search-header-container">
|
|
11
15
|
<p class="dx-search-header-title">
|
|
@@ -237,6 +237,10 @@ export default class SearchResults extends LightningElement {
|
|
|
237
237
|
return this.query !== "";
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
private get coveoAnalyticsEndpoint() {
|
|
241
|
+
return `https://${this.coveoOrganizationId}.analytics.org.coveo.com/rest/ua`;
|
|
242
|
+
}
|
|
243
|
+
|
|
240
244
|
private updateSearchQuery() {
|
|
241
245
|
Coveo.state(this.root!, "q", this._query);
|
|
242
246
|
}
|
|
@@ -447,7 +451,8 @@ export default class SearchResults extends LightningElement {
|
|
|
447
451
|
|
|
448
452
|
Coveo.SearchEndpoint.configureCloudV2Endpoint(
|
|
449
453
|
this.coveoOrganizationId,
|
|
450
|
-
this.coveoPublicAccessToken
|
|
454
|
+
this.coveoPublicAccessToken,
|
|
455
|
+
`https://${this.coveoOrganizationId}.org.coveo.com/rest/search`
|
|
451
456
|
);
|
|
452
457
|
|
|
453
458
|
this.attachListeners(this.root);
|