@getlupa/client 1.2.0 → 1.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.
@@ -9342,8 +9342,9 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
9342
9342
  }
9343
9343
  };
9344
9344
  const handleInput = (value) => {
9345
+ var _a2;
9345
9346
  opened.value = true;
9346
- inputValue.value = value.replace(/\s+$/, "");
9347
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9347
9348
  suggestedValue.value = defaultSuggestedValue;
9348
9349
  trackSearchQuery(value);
9349
9350
  if (props.isSearchContainer) {
@@ -26170,7 +26171,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26170
26171
  const searchBox2 = ref(null);
26171
26172
  const fullSearchBoxOptions = computed(() => {
26172
26173
  const options = lodashExports.cloneDeep(props.searchBoxOptions);
26173
- return lodashExports.merge(DEFAULT_SEARCH_BOX_OPTIONS, options);
26174
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_SEARCH_BOX_OPTIONS), options);
26174
26175
  });
26175
26176
  const fetch2 = () => {
26176
26177
  var _a;
@@ -26297,7 +26298,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26297
26298
  const searchResults2 = ref(null);
26298
26299
  const fullSearchResultsOptions = computed(() => {
26299
26300
  const options = lodashExports.cloneDeep(props.searchResultsOptions);
26300
- return lodashExports.merge(DEFAULT_OPTIONS_RESULTS, options);
26301
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_OPTIONS_RESULTS), options);
26301
26302
  });
26302
26303
  const fetch2 = () => {
26303
26304
  var _a;
@@ -9342,8 +9342,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
9342
9342
  }
9343
9343
  };
9344
9344
  const handleInput = (value) => {
9345
+ var _a2;
9345
9346
  opened.value = true;
9346
- inputValue.value = value.replace(/\s+$/, "");
9347
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9347
9348
  suggestedValue.value = defaultSuggestedValue;
9348
9349
  trackSearchQuery(value);
9349
9350
  if (props.isSearchContainer) {
@@ -26170,7 +26171,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26170
26171
  const searchBox2 = ref(null);
26171
26172
  const fullSearchBoxOptions = computed(() => {
26172
26173
  const options = lodashExports.cloneDeep(props.searchBoxOptions);
26173
- return lodashExports.merge(DEFAULT_SEARCH_BOX_OPTIONS, options);
26174
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_SEARCH_BOX_OPTIONS), options);
26174
26175
  });
26175
26176
  const fetch2 = () => {
26176
26177
  var _a;
@@ -26297,7 +26298,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26297
26298
  const searchResults2 = ref(null);
26298
26299
  const fullSearchResultsOptions = computed(() => {
26299
26300
  const options = lodashExports.cloneDeep(props.searchResultsOptions);
26300
- return lodashExports.merge(DEFAULT_OPTIONS_RESULTS, options);
26301
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_OPTIONS_RESULTS), options);
26301
26302
  });
26302
26303
  const fetch2 = () => {
26303
26304
  var _a;
@@ -9340,8 +9340,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
9340
9340
  }
9341
9341
  };
9342
9342
  const handleInput = (value) => {
9343
+ var _a2;
9343
9344
  opened.value = true;
9344
- inputValue.value = value.replace(/\s+$/, "");
9345
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9345
9346
  suggestedValue.value = defaultSuggestedValue;
9346
9347
  trackSearchQuery(value);
9347
9348
  if (props.isSearchContainer) {
@@ -26168,7 +26169,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26168
26169
  const searchBox2 = ref(null);
26169
26170
  const fullSearchBoxOptions = computed(() => {
26170
26171
  const options = lodashExports.cloneDeep(props.searchBoxOptions);
26171
- return lodashExports.merge(DEFAULT_SEARCH_BOX_OPTIONS, options);
26172
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_SEARCH_BOX_OPTIONS), options);
26172
26173
  });
26173
26174
  const fetch2 = () => {
26174
26175
  var _a;
@@ -26295,7 +26296,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26295
26296
  const searchResults2 = ref(null);
26296
26297
  const fullSearchResultsOptions = computed(() => {
26297
26298
  const options = lodashExports.cloneDeep(props.searchResultsOptions);
26298
- return lodashExports.merge(DEFAULT_OPTIONS_RESULTS, options);
26299
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_OPTIONS_RESULTS), options);
26299
26300
  });
26300
26301
  const fetch2 = () => {
26301
26302
  var _a;
@@ -9344,8 +9344,9 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
9344
9344
  }
9345
9345
  };
9346
9346
  const handleInput = (value) => {
9347
+ var _a2;
9347
9348
  opened.value = true;
9348
- inputValue.value = value.replace(/\s+$/, "");
9349
+ inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
9349
9350
  suggestedValue.value = defaultSuggestedValue;
9350
9351
  trackSearchQuery(value);
9351
9352
  if (props.isSearchContainer) {
@@ -26172,7 +26173,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26172
26173
  const searchBox2 = ref(null);
26173
26174
  const fullSearchBoxOptions = computed(() => {
26174
26175
  const options = lodashExports.cloneDeep(props.searchBoxOptions);
26175
- return lodashExports.merge(DEFAULT_SEARCH_BOX_OPTIONS, options);
26176
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_SEARCH_BOX_OPTIONS), options);
26176
26177
  });
26177
26178
  const fetch2 = () => {
26178
26179
  var _a;
@@ -26299,7 +26300,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26299
26300
  const searchResults2 = ref(null);
26300
26301
  const fullSearchResultsOptions = computed(() => {
26301
26302
  const options = lodashExports.cloneDeep(props.searchResultsOptions);
26302
- return lodashExports.merge(DEFAULT_OPTIONS_RESULTS, options);
26303
+ return lodashExports.merge(lodashExports.cloneDeep(DEFAULT_OPTIONS_RESULTS), options);
26303
26304
  });
26304
26305
  const fetch2 = () => {
26305
26306
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@getlupa/client-sdk": "^1.3.4",
23
- "@getlupa/vue": "0.2.0",
23
+ "@getlupa/vue": "0.2.1",
24
24
  "@rushstack/eslint-patch": "^1.3.2",
25
25
  "@tsconfig/node18": "^2.0.1",
26
26
  "@types/jsdom": "^21.1.1",