@getlupa/client 0.6.0-alpha-15 → 0.6.0-alpha-16

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.
@@ -34853,6 +34853,8 @@ var SearchResults = /*#__PURE__*/function (_Vue) {
34853
34853
  }, {
34854
34854
  key: "mounted",
34855
34855
  value: function mounted() {
34856
+ var _a, _b;
34857
+
34856
34858
  window.addEventListener("resize", this.handleResize);
34857
34859
  this.setSearchResultOptions({
34858
34860
  options: this.options
@@ -34861,6 +34863,7 @@ var SearchResults = /*#__PURE__*/function (_Vue) {
34861
34863
  this.setInitialFilters({
34862
34864
  initialFilters: this.initialFilters
34863
34865
  });
34866
+ (_b = (_a = this.options.callbacks) === null || _a === void 0 ? void 0 : _a.onMounted) === null || _b === void 0 ? void 0 : _b.call(_a);
34864
34867
  }
34865
34868
  }, {
34866
34869
  key: "beforeDestroy",
@@ -27,6 +27,7 @@ export declare type SearchResultEventCallbacks = {
27
27
  onSearchResults?: (context: CallbackContext) => unknown;
28
28
  onAdditionalPanelResults?: (context: CallbackContext) => unknown;
29
29
  onCategoryFilterResults?: (context: CallbackContext) => unknown;
30
+ onMounted?: () => unknown;
30
31
  };
31
32
  export declare type SearchResultsOptionLabels = SearchResultsPaginationLabels & SearchResultsDidYouMeanLabels & SearchResultsSimilarQueriesLabels & {
32
33
  sortBy: string;
@@ -34849,6 +34849,8 @@ var SearchResults = /*#__PURE__*/function (_Vue) {
34849
34849
  }, {
34850
34850
  key: "mounted",
34851
34851
  value: function mounted() {
34852
+ var _a, _b;
34853
+
34852
34854
  window.addEventListener("resize", this.handleResize);
34853
34855
  this.setSearchResultOptions({
34854
34856
  options: this.options
@@ -34857,6 +34859,7 @@ var SearchResults = /*#__PURE__*/function (_Vue) {
34857
34859
  this.setInitialFilters({
34858
34860
  initialFilters: this.initialFilters
34859
34861
  });
34862
+ (_b = (_a = this.options.callbacks) === null || _a === void 0 ? void 0 : _a.onMounted) === null || _b === void 0 ? void 0 : _b.call(_a);
34860
34863
  }
34861
34864
  }, {
34862
34865
  key: "beforeDestroy",
@@ -27,6 +27,7 @@ export declare type SearchResultEventCallbacks = {
27
27
  onSearchResults?: (context: CallbackContext) => unknown;
28
28
  onAdditionalPanelResults?: (context: CallbackContext) => unknown;
29
29
  onCategoryFilterResults?: (context: CallbackContext) => unknown;
30
+ onMounted?: () => unknown;
30
31
  };
31
32
  export declare type SearchResultsOptionLabels = SearchResultsPaginationLabels & SearchResultsDidYouMeanLabels & SearchResultsSimilarQueriesLabels & {
32
33
  sortBy: string;