@getlupa/vue 0.2.2 → 0.2.3

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.
@@ -7658,12 +7658,12 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7658
7658
  setSortValue();
7659
7659
  });
7660
7660
  const handleSelect = () => {
7661
- var _a, _b;
7661
+ var _a, _b, _c;
7662
7662
  const value = (_a = sortItems.value.find((x) => x.key === selectedKey.value)) == null ? void 0 : _a.key;
7663
7663
  if (!value) {
7664
7664
  return;
7665
7665
  }
7666
- (_b = props.callbacks) == null ? void 0 : _b.onSortChange({ selectedSortKey: value });
7666
+ (_c = (_b = props.callbacks) == null ? void 0 : _b.onSortChange) == null ? void 0 : _c.call(_b, { selectedSortKey: value });
7667
7667
  paramStore.appendParams({
7668
7668
  params: [{ name: QUERY_PARAMS.SORT, value }],
7669
7669
  paramsToRemove: [QUERY_PARAMS.PAGE]
@@ -7656,12 +7656,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
7656
7656
  setSortValue();
7657
7657
  });
7658
7658
  const handleSelect = () => {
7659
- var _a, _b;
7659
+ var _a, _b, _c;
7660
7660
  const value = (_a = sortItems.value.find((x) => x.key === selectedKey.value)) == null ? void 0 : _a.key;
7661
7661
  if (!value) {
7662
7662
  return;
7663
7663
  }
7664
- (_b = props.callbacks) == null ? void 0 : _b.onSortChange({ selectedSortKey: value });
7664
+ (_c = (_b = props.callbacks) == null ? void 0 : _b.onSortChange) == null ? void 0 : _c.call(_b, { selectedSortKey: value });
7665
7665
  paramStore.appendParams({
7666
7666
  params: [{ name: QUERY_PARAMS.SORT, value }],
7667
7667
  paramsToRemove: [QUERY_PARAMS.PAGE]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",