@getlupa/vue 0.1.5 → 0.1.6

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.
@@ -9289,12 +9289,10 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
9289
9289
  vue.onMounted(() => {
9290
9290
  var _a, _b;
9291
9291
  window.addEventListener("resize", handleResize);
9292
- optionStore.setSearchResultOptions({ options: props.options });
9293
9292
  if (props.initialData) {
9294
9293
  searchResultStore.add(__spreadValues({}, props.initialData));
9295
9294
  }
9296
9295
  handleMounted();
9297
- optionStore.setInitialFilters({ initialFilters: initialFilters.value });
9298
9296
  (_b = (_a = props.options.callbacks) == null ? void 0 : _a.onMounted) == null ? void 0 : _b.call(_a);
9299
9297
  mounted.value = true;
9300
9298
  });
@@ -9380,6 +9378,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
9380
9378
  };
9381
9379
  const handleMounted = () => {
9382
9380
  var _a;
9381
+ optionStore.setSearchResultOptions({ options: props.options });
9382
+ optionStore.setInitialFilters({ initialFilters: initialFilters.value });
9383
9383
  handleResize();
9384
9384
  if (props.isProductList) {
9385
9385
  const pageTitle = props.options.labels.htmlTitleTemplate;
@@ -9287,12 +9287,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
9287
9287
  onMounted(() => {
9288
9288
  var _a, _b;
9289
9289
  window.addEventListener("resize", handleResize);
9290
- optionStore.setSearchResultOptions({ options: props.options });
9291
9290
  if (props.initialData) {
9292
9291
  searchResultStore.add(__spreadValues({}, props.initialData));
9293
9292
  }
9294
9293
  handleMounted();
9295
- optionStore.setInitialFilters({ initialFilters: initialFilters.value });
9296
9294
  (_b = (_a = props.options.callbacks) == null ? void 0 : _a.onMounted) == null ? void 0 : _b.call(_a);
9297
9295
  mounted.value = true;
9298
9296
  });
@@ -9378,6 +9376,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
9378
9376
  };
9379
9377
  const handleMounted = () => {
9380
9378
  var _a;
9379
+ optionStore.setSearchResultOptions({ options: props.options });
9380
+ optionStore.setInitialFilters({ initialFilters: initialFilters.value });
9381
9381
  handleResize();
9382
9382
  if (props.isProductList) {
9383
9383
  const pageTitle = props.options.labels.htmlTitleTemplate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",