@salesforcedevs/dx-components 1.3.206-alpha.20 → 1.3.206-alpha.22
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,5 @@
|
|
|
1
1
|
import { LightningElement, api, track } from "lwc";
|
|
2
2
|
import type * as CoveoSDK from "coveo-search-ui";
|
|
3
|
-
import debounce from "debounce";
|
|
4
3
|
import { track as trackGTM } from "dxUtils/analytics";
|
|
5
4
|
import {
|
|
6
5
|
CONTENT_TYPE_LABELS,
|
|
@@ -117,7 +116,7 @@ const processParts = (parts: string[]) => {
|
|
|
117
116
|
part = part
|
|
118
117
|
.replace(/_/g, " ")
|
|
119
118
|
.replace(/-/g, " ")
|
|
120
|
-
.replace(/.
|
|
119
|
+
.replace(/.html*/g, " ")
|
|
121
120
|
.replace(/.xml/g, " ");
|
|
122
121
|
|
|
123
122
|
// Capitalize first letter of each word
|
|
@@ -321,11 +320,11 @@ export default class SearchResults extends LightningElement {
|
|
|
321
320
|
});
|
|
322
321
|
|
|
323
322
|
Coveo.$$(root).on(Coveo.QueryEvents.deferredQuerySuccess, () => {
|
|
324
|
-
|
|
323
|
+
setTimeout(() => {
|
|
324
|
+
this.processBreadcrumbs(this.root!);
|
|
325
|
+
}, 100);
|
|
325
326
|
|
|
326
|
-
window.onresize =
|
|
327
|
-
this.processBreadcrumbs(root);
|
|
328
|
-
}, 10);
|
|
327
|
+
window.onresize = () => this.processBreadcrumbs(root);
|
|
329
328
|
});
|
|
330
329
|
}
|
|
331
330
|
|