@getlupa/client 0.13.0-alpha → 0.13.0-alpha-2
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
CHANGED
|
@@ -39079,6 +39079,10 @@ let SearchContainerEntry = class SearchContainerEntry extends Vue$1 {
|
|
|
39079
39079
|
this.checkExistingQuery();
|
|
39080
39080
|
this.isOpen = Boolean((_a = this.containerOptions.options) === null || _a === void 0 ? void 0 : _a.isOpenInitially);
|
|
39081
39081
|
}
|
|
39082
|
+
fetch() {
|
|
39083
|
+
var _a;
|
|
39084
|
+
(_a = this.$refs.productList) === null || _a === void 0 ? void 0 : _a.fetch();
|
|
39085
|
+
}
|
|
39082
39086
|
beforeDestroy() {
|
|
39083
39087
|
var _a;
|
|
39084
39088
|
(_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.removeEventListener("focus", this.openSearchContainer);
|
|
@@ -40403,9 +40407,9 @@ const productList = (options, mountOptions) => {
|
|
|
40403
40407
|
};
|
|
40404
40408
|
const searchContainer = (options, mountOptions) => {
|
|
40405
40409
|
var _a, _b;
|
|
40406
|
-
const existingInstance = app.
|
|
40410
|
+
const existingInstance = app.searchContainer[options.trigger];
|
|
40407
40411
|
if (existingInstance) {
|
|
40408
|
-
existingInstance.
|
|
40412
|
+
existingInstance.searchContainerOptions = options;
|
|
40409
40413
|
if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
|
|
40410
40414
|
setTimeout(() => {
|
|
40411
40415
|
var _a;
|
package/dist/es/index.min.js
CHANGED
|
@@ -39075,6 +39075,10 @@ let SearchContainerEntry = class SearchContainerEntry extends Vue$1 {
|
|
|
39075
39075
|
this.checkExistingQuery();
|
|
39076
39076
|
this.isOpen = Boolean((_a = this.containerOptions.options) === null || _a === void 0 ? void 0 : _a.isOpenInitially);
|
|
39077
39077
|
}
|
|
39078
|
+
fetch() {
|
|
39079
|
+
var _a;
|
|
39080
|
+
(_a = this.$refs.productList) === null || _a === void 0 ? void 0 : _a.fetch();
|
|
39081
|
+
}
|
|
39078
39082
|
beforeDestroy() {
|
|
39079
39083
|
var _a;
|
|
39080
39084
|
(_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.removeEventListener("focus", this.openSearchContainer);
|
|
@@ -40399,9 +40403,9 @@ const productList = (options, mountOptions) => {
|
|
|
40399
40403
|
};
|
|
40400
40404
|
const searchContainer = (options, mountOptions) => {
|
|
40401
40405
|
var _a, _b;
|
|
40402
|
-
const existingInstance = app.
|
|
40406
|
+
const existingInstance = app.searchContainer[options.trigger];
|
|
40403
40407
|
if (existingInstance) {
|
|
40404
|
-
existingInstance.
|
|
40408
|
+
existingInstance.searchContainerOptions = options;
|
|
40405
40409
|
if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
|
|
40406
40410
|
setTimeout(() => {
|
|
40407
40411
|
var _a;
|