@getlupa/client 0.8.0-alpha-3 → 0.8.0-alpha-4
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/dist/cjs/index.min.js +7 -4
- package/dist/es/index.min.js +7 -4
- package/dist/iife/index.min.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.min.js
CHANGED
|
@@ -20695,6 +20695,10 @@ __vue_render__$5._withStripped = true;
|
|
|
20695
20695
|
undefined
|
|
20696
20696
|
);
|
|
20697
20697
|
|
|
20698
|
+
const setDocumentTitle = (template, textToInsert = "") => {
|
|
20699
|
+
document.title = addParamsToLabel(template, textToInsert);
|
|
20700
|
+
};
|
|
20701
|
+
|
|
20698
20702
|
const searchResult$1 = namespace("searchResult");
|
|
20699
20703
|
const params$1 = namespace("params");
|
|
20700
20704
|
const options$1 = namespace("options");
|
|
@@ -20742,6 +20746,9 @@ let SearchResults = class SearchResults extends Vue$1 {
|
|
|
20742
20746
|
}
|
|
20743
20747
|
handleMounted() {
|
|
20744
20748
|
this.handleResize();
|
|
20749
|
+
if (this.isProductList) {
|
|
20750
|
+
setDocumentTitle(this.options.labels.htmlTitleTemplate, "");
|
|
20751
|
+
}
|
|
20745
20752
|
const params = new URLSearchParams(window.location.search);
|
|
20746
20753
|
this.handleUrlChange(params);
|
|
20747
20754
|
this.addParams(parseParams(params));
|
|
@@ -21945,10 +21952,6 @@ HistoryModule = __decorate([
|
|
|
21945
21952
|
], HistoryModule);
|
|
21946
21953
|
var history = HistoryModule;
|
|
21947
21954
|
|
|
21948
|
-
const setDocumentTitle = (template, textToInsert = "") => {
|
|
21949
|
-
document.title = addParamsToLabel(template, textToInsert);
|
|
21950
|
-
};
|
|
21951
|
-
|
|
21952
21955
|
let SearchResultModule = class SearchResultModule extends VuexModule {
|
|
21953
21956
|
constructor() {
|
|
21954
21957
|
super(...arguments);
|
package/dist/es/index.min.js
CHANGED
|
@@ -20691,6 +20691,10 @@ __vue_render__$5._withStripped = true;
|
|
|
20691
20691
|
undefined
|
|
20692
20692
|
);
|
|
20693
20693
|
|
|
20694
|
+
const setDocumentTitle = (template, textToInsert = "") => {
|
|
20695
|
+
document.title = addParamsToLabel(template, textToInsert);
|
|
20696
|
+
};
|
|
20697
|
+
|
|
20694
20698
|
const searchResult$1 = namespace("searchResult");
|
|
20695
20699
|
const params$1 = namespace("params");
|
|
20696
20700
|
const options$1 = namespace("options");
|
|
@@ -20738,6 +20742,9 @@ let SearchResults = class SearchResults extends Vue$1 {
|
|
|
20738
20742
|
}
|
|
20739
20743
|
handleMounted() {
|
|
20740
20744
|
this.handleResize();
|
|
20745
|
+
if (this.isProductList) {
|
|
20746
|
+
setDocumentTitle(this.options.labels.htmlTitleTemplate, "");
|
|
20747
|
+
}
|
|
20741
20748
|
const params = new URLSearchParams(window.location.search);
|
|
20742
20749
|
this.handleUrlChange(params);
|
|
20743
20750
|
this.addParams(parseParams(params));
|
|
@@ -21941,10 +21948,6 @@ HistoryModule = __decorate([
|
|
|
21941
21948
|
], HistoryModule);
|
|
21942
21949
|
var history = HistoryModule;
|
|
21943
21950
|
|
|
21944
|
-
const setDocumentTitle = (template, textToInsert = "") => {
|
|
21945
|
-
document.title = addParamsToLabel(template, textToInsert);
|
|
21946
|
-
};
|
|
21947
|
-
|
|
21948
21951
|
let SearchResultModule = class SearchResultModule extends VuexModule {
|
|
21949
21952
|
constructor() {
|
|
21950
21953
|
super(...arguments);
|