@getlupa/vue 0.2.0 → 0.2.1

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.
@@ -4698,8 +4698,9 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
4698
4698
  }
4699
4699
  };
4700
4700
  const handleInput = (value) => {
4701
+ var _a2;
4701
4702
  opened.value = true;
4702
- inputValue.value = value.replace(/\s+$/, "");
4703
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
4703
4704
  suggestedValue.value = defaultSuggestedValue;
4704
4705
  trackSearchQuery(value);
4705
4706
  if (props.isSearchContainer) {
@@ -4696,8 +4696,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4696
4696
  }
4697
4697
  };
4698
4698
  const handleInput = (value) => {
4699
+ var _a2;
4699
4700
  opened.value = true;
4700
- inputValue.value = value.replace(/\s+$/, "");
4701
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
4701
4702
  suggestedValue.value = defaultSuggestedValue;
4702
4703
  trackSearchQuery(value);
4703
4704
  if (props.isSearchContainer) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",