@getlupa/client 0.6.0-alpha-6 → 0.6.0-alpha-7
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 +21 -3
- package/dist/es/index.min.js +21 -3
- package/dist/iife/index.min.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.min.js
CHANGED
|
@@ -32566,8 +32566,6 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
|
|
|
32566
32566
|
}, {
|
|
32567
32567
|
key: "mounted",
|
|
32568
32568
|
value: function mounted() {
|
|
32569
|
-
console.log("m");
|
|
32570
|
-
|
|
32571
32569
|
if (!this.query) {
|
|
32572
32570
|
return;
|
|
32573
32571
|
}
|
|
@@ -32579,7 +32577,6 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
|
|
|
32579
32577
|
value: function handleQueryChange() {
|
|
32580
32578
|
var _this2 = this;
|
|
32581
32579
|
|
|
32582
|
-
console.log("q");
|
|
32583
32580
|
var context = getLupaTrackingContext();
|
|
32584
32581
|
var query = Object.assign(Object.assign({}, context), {
|
|
32585
32582
|
limit: this.panel.totalCountLimit,
|
|
@@ -37138,6 +37135,13 @@ var tracking = function tracking(options) {
|
|
|
37138
37135
|
};
|
|
37139
37136
|
|
|
37140
37137
|
var searchBox = function searchBox(options) {
|
|
37138
|
+
var _a;
|
|
37139
|
+
|
|
37140
|
+
try {
|
|
37141
|
+
(_a = app.box) === null || _a === void 0 ? void 0 : _a.$destroy();
|
|
37142
|
+
} catch (_b) {// Does not exist, do nothing
|
|
37143
|
+
}
|
|
37144
|
+
|
|
37141
37145
|
Vue$1.use(Vuex);
|
|
37142
37146
|
app.box = new Vue$1({
|
|
37143
37147
|
el: options.inputSelector,
|
|
@@ -37156,6 +37160,13 @@ var searchBox = function searchBox(options) {
|
|
|
37156
37160
|
};
|
|
37157
37161
|
|
|
37158
37162
|
var searchResults = function searchResults(options) {
|
|
37163
|
+
var _a;
|
|
37164
|
+
|
|
37165
|
+
try {
|
|
37166
|
+
(_a = app.results) === null || _a === void 0 ? void 0 : _a.$destroy();
|
|
37167
|
+
} catch (_b) {// Does not exist, do nothing
|
|
37168
|
+
}
|
|
37169
|
+
|
|
37159
37170
|
Vue$1.use(Vuex);
|
|
37160
37171
|
app.results = new Vue$1({
|
|
37161
37172
|
el: options.containerSelector,
|
|
@@ -37174,6 +37185,13 @@ var searchResults = function searchResults(options) {
|
|
|
37174
37185
|
};
|
|
37175
37186
|
|
|
37176
37187
|
var productList = function productList(options) {
|
|
37188
|
+
var _a;
|
|
37189
|
+
|
|
37190
|
+
try {
|
|
37191
|
+
(_a = app.productList) === null || _a === void 0 ? void 0 : _a.$destroy();
|
|
37192
|
+
} catch (_b) {// Does not exist, do nothing
|
|
37193
|
+
}
|
|
37194
|
+
|
|
37177
37195
|
Vue$1.use(Vuex);
|
|
37178
37196
|
app.productList = new Vue$1({
|
|
37179
37197
|
el: options.containerSelector,
|
package/dist/es/index.min.js
CHANGED
|
@@ -32562,8 +32562,6 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
|
|
|
32562
32562
|
}, {
|
|
32563
32563
|
key: "mounted",
|
|
32564
32564
|
value: function mounted() {
|
|
32565
|
-
console.log("m");
|
|
32566
|
-
|
|
32567
32565
|
if (!this.query) {
|
|
32568
32566
|
return;
|
|
32569
32567
|
}
|
|
@@ -32575,7 +32573,6 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
|
|
|
32575
32573
|
value: function handleQueryChange() {
|
|
32576
32574
|
var _this2 = this;
|
|
32577
32575
|
|
|
32578
|
-
console.log("q");
|
|
32579
32576
|
var context = getLupaTrackingContext();
|
|
32580
32577
|
var query = Object.assign(Object.assign({}, context), {
|
|
32581
32578
|
limit: this.panel.totalCountLimit,
|
|
@@ -37134,6 +37131,13 @@ var tracking = function tracking(options) {
|
|
|
37134
37131
|
};
|
|
37135
37132
|
|
|
37136
37133
|
var searchBox = function searchBox(options) {
|
|
37134
|
+
var _a;
|
|
37135
|
+
|
|
37136
|
+
try {
|
|
37137
|
+
(_a = app.box) === null || _a === void 0 ? void 0 : _a.$destroy();
|
|
37138
|
+
} catch (_b) {// Does not exist, do nothing
|
|
37139
|
+
}
|
|
37140
|
+
|
|
37137
37141
|
Vue$1.use(Vuex);
|
|
37138
37142
|
app.box = new Vue$1({
|
|
37139
37143
|
el: options.inputSelector,
|
|
@@ -37152,6 +37156,13 @@ var searchBox = function searchBox(options) {
|
|
|
37152
37156
|
};
|
|
37153
37157
|
|
|
37154
37158
|
var searchResults = function searchResults(options) {
|
|
37159
|
+
var _a;
|
|
37160
|
+
|
|
37161
|
+
try {
|
|
37162
|
+
(_a = app.results) === null || _a === void 0 ? void 0 : _a.$destroy();
|
|
37163
|
+
} catch (_b) {// Does not exist, do nothing
|
|
37164
|
+
}
|
|
37165
|
+
|
|
37155
37166
|
Vue$1.use(Vuex);
|
|
37156
37167
|
app.results = new Vue$1({
|
|
37157
37168
|
el: options.containerSelector,
|
|
@@ -37170,6 +37181,13 @@ var searchResults = function searchResults(options) {
|
|
|
37170
37181
|
};
|
|
37171
37182
|
|
|
37172
37183
|
var productList = function productList(options) {
|
|
37184
|
+
var _a;
|
|
37185
|
+
|
|
37186
|
+
try {
|
|
37187
|
+
(_a = app.productList) === null || _a === void 0 ? void 0 : _a.$destroy();
|
|
37188
|
+
} catch (_b) {// Does not exist, do nothing
|
|
37189
|
+
}
|
|
37190
|
+
|
|
37173
37191
|
Vue$1.use(Vuex);
|
|
37174
37192
|
app.productList = new Vue$1({
|
|
37175
37193
|
el: options.containerSelector,
|