@getlupa/client 0.6.0-alpha-7 → 0.6.0-alpha-8

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.
@@ -32566,6 +32566,8 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
32566
32566
  }, {
32567
32567
  key: "mounted",
32568
32568
  value: function mounted() {
32569
+ console.log("m");
32570
+
32569
32571
  if (!this.query) {
32570
32572
  return;
32571
32573
  }
@@ -32577,6 +32579,7 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
32577
32579
  value: function handleQueryChange() {
32578
32580
  var _this2 = this;
32579
32581
 
32582
+ console.log("q");
32580
32583
  var context = getLupaTrackingContext();
32581
32584
  var query = Object.assign(Object.assign({}, context), {
32582
32585
  limit: this.panel.totalCountLimit,
@@ -37135,13 +37138,6 @@ var tracking = function tracking(options) {
37135
37138
  };
37136
37139
 
37137
37140
  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
-
37145
37141
  Vue$1.use(Vuex);
37146
37142
  app.box = new Vue$1({
37147
37143
  el: options.inputSelector,
@@ -37160,13 +37156,6 @@ var searchBox = function searchBox(options) {
37160
37156
  };
37161
37157
 
37162
37158
  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
-
37170
37159
  Vue$1.use(Vuex);
37171
37160
  app.results = new Vue$1({
37172
37161
  el: options.containerSelector,
@@ -37185,13 +37174,6 @@ var searchResults = function searchResults(options) {
37185
37174
  };
37186
37175
 
37187
37176
  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
-
37195
37177
  Vue$1.use(Vuex);
37196
37178
  app.productList = new Vue$1({
37197
37179
  el: options.containerSelector,
@@ -32562,6 +32562,8 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
32562
32562
  }, {
32563
32563
  key: "mounted",
32564
32564
  value: function mounted() {
32565
+ console.log("m");
32566
+
32565
32567
  if (!this.query) {
32566
32568
  return;
32567
32569
  }
@@ -32573,6 +32575,7 @@ var AdditionalPanels$1 = /*#__PURE__*/function (_Vue) {
32573
32575
  value: function handleQueryChange() {
32574
32576
  var _this2 = this;
32575
32577
 
32578
+ console.log("q");
32576
32579
  var context = getLupaTrackingContext();
32577
32580
  var query = Object.assign(Object.assign({}, context), {
32578
32581
  limit: this.panel.totalCountLimit,
@@ -37131,13 +37134,6 @@ var tracking = function tracking(options) {
37131
37134
  };
37132
37135
 
37133
37136
  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
-
37141
37137
  Vue$1.use(Vuex);
37142
37138
  app.box = new Vue$1({
37143
37139
  el: options.inputSelector,
@@ -37156,13 +37152,6 @@ var searchBox = function searchBox(options) {
37156
37152
  };
37157
37153
 
37158
37154
  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
-
37166
37155
  Vue$1.use(Vuex);
37167
37156
  app.results = new Vue$1({
37168
37157
  el: options.containerSelector,
@@ -37181,13 +37170,6 @@ var searchResults = function searchResults(options) {
37181
37170
  };
37182
37171
 
37183
37172
  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
-
37191
37173
  Vue$1.use(Vuex);
37192
37174
  app.productList = new Vue$1({
37193
37175
  el: options.containerSelector,