@getlupa/client 1.15.12 → 1.15.13

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.
@@ -19794,7 +19794,8 @@ and ensure you are accounting for this risk.
19794
19794
  return props.panel.showGoToResults;
19795
19795
  });
19796
19796
  const extractedInitialFilters = computed(() => {
19797
- return __spreadValues2({}, processExtractionObject(props.searchBoxOptions.initialFilters));
19797
+ var _a;
19798
+ return __spreadValues2({}, processExtractionObject((_a = props.panel) == null ? void 0 : _a.initialFilters));
19798
19799
  });
19799
19800
  const inputValueProp = computed(() => props.inputValue);
19800
19801
  onMounted(() => {
@@ -20246,9 +20247,6 @@ and ensure you are accounting for this risk.
20246
20247
  const focused = ref(false);
20247
20248
  const searchBoxInput = ref(null);
20248
20249
  const { highlightedDocument } = storeToRefs(searchBoxStore);
20249
- computed(() => {
20250
- return __spreadValues2({}, processExtractionObject(props.options.initialFilters));
20251
- });
20252
20250
  const searchValue = computed(() => {
20253
20251
  return suggestedValue.value.override ? suggestedValue.value.item.suggestion : inputValue.value;
20254
20252
  });
@@ -20274,8 +20272,7 @@ and ensure you are accounting for this risk.
20274
20272
  "hideMoreResultsButtonOnNoResults",
20275
20273
  "showNoResultsPanel",
20276
20274
  "expandOnSinglePanel",
20277
- "showMoreResultsButton",
20278
- "initialFilters"
20275
+ "showMoreResultsButton"
20279
20276
  ])
20280
20277
  );
20281
20278
  const searchTriggers = computed(() => {
@@ -25176,12 +25173,12 @@ and ensure you are accounting for this risk.
25176
25173
  "data-cy": "lupa-no-results-in-page"
25177
25174
  };
25178
25175
  const _hoisted_4$4 = {
25179
- key: 3,
25176
+ key: 4,
25180
25177
  class: "lupa-empty-results",
25181
25178
  "data-cy": "lupa-no-results"
25182
25179
  };
25183
- const _hoisted_5$1 = { key: 4 };
25184
- const _hoisted_6$1 = { key: 5 };
25180
+ const _hoisted_5$1 = { key: 5 };
25181
+ const _hoisted_6$1 = { key: 6 };
25185
25182
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25186
25183
  __name: "SearchResultsProducts",
25187
25184
  props: {
@@ -25302,10 +25299,11 @@ and ensure you are accounting for this risk.
25302
25299
  location: "top",
25303
25300
  sdkOptions: _ctx.options.options
25304
25301
  }, null, 8, ["options", "sdkOptions"]),
25305
- createVNode(_sfc_main$i, {
25302
+ _ctx.options.relatedQueries ? (openBlock(), createBlock(_sfc_main$i, {
25303
+ key: 1,
25306
25304
  options: _ctx.options.relatedQueries
25307
- }, null, 8, ["options"]),
25308
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
25305
+ }, null, 8, ["options"])) : createCommentVNode("", true),
25306
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25309
25307
  showTopFilters.value ? (openBlock(), createBlock(_sfc_main$H, {
25310
25308
  key: 0,
25311
25309
  options: (_a = _ctx.options.filters) != null ? _a : {}
@@ -25325,7 +25323,7 @@ and ensure you are accounting for this risk.
25325
25323
  expandable: !desktopFiltersExpanded.value
25326
25324
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
25327
25325
  ], 64)) : createCommentVNode("", true),
25328
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25326
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
25329
25327
  createVNode(_sfc_main$B, {
25330
25328
  class: "lupa-toolbar-top",
25331
25329
  options: _ctx.options,
@@ -19794,7 +19794,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
19794
19794
  return props.panel.showGoToResults;
19795
19795
  });
19796
19796
  const extractedInitialFilters = computed(() => {
19797
- return __spreadValues2({}, processExtractionObject(props.searchBoxOptions.initialFilters));
19797
+ var _a;
19798
+ return __spreadValues2({}, processExtractionObject((_a = props.panel) == null ? void 0 : _a.initialFilters));
19798
19799
  });
19799
19800
  const inputValueProp = computed(() => props.inputValue);
19800
19801
  onMounted(() => {
@@ -20246,9 +20247,6 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
20246
20247
  const focused = ref(false);
20247
20248
  const searchBoxInput = ref(null);
20248
20249
  const { highlightedDocument } = storeToRefs(searchBoxStore);
20249
- computed(() => {
20250
- return __spreadValues2({}, processExtractionObject(props.options.initialFilters));
20251
- });
20252
20250
  const searchValue = computed(() => {
20253
20251
  return suggestedValue.value.override ? suggestedValue.value.item.suggestion : inputValue.value;
20254
20252
  });
@@ -20274,8 +20272,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
20274
20272
  "hideMoreResultsButtonOnNoResults",
20275
20273
  "showNoResultsPanel",
20276
20274
  "expandOnSinglePanel",
20277
- "showMoreResultsButton",
20278
- "initialFilters"
20275
+ "showMoreResultsButton"
20279
20276
  ])
20280
20277
  );
20281
20278
  const searchTriggers = computed(() => {
@@ -25176,12 +25173,12 @@ const _hoisted_3$7 = {
25176
25173
  "data-cy": "lupa-no-results-in-page"
25177
25174
  };
25178
25175
  const _hoisted_4$4 = {
25179
- key: 3,
25176
+ key: 4,
25180
25177
  class: "lupa-empty-results",
25181
25178
  "data-cy": "lupa-no-results"
25182
25179
  };
25183
- const _hoisted_5$1 = { key: 4 };
25184
- const _hoisted_6$1 = { key: 5 };
25180
+ const _hoisted_5$1 = { key: 5 };
25181
+ const _hoisted_6$1 = { key: 6 };
25185
25182
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25186
25183
  __name: "SearchResultsProducts",
25187
25184
  props: {
@@ -25302,10 +25299,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25302
25299
  location: "top",
25303
25300
  sdkOptions: _ctx.options.options
25304
25301
  }, null, 8, ["options", "sdkOptions"]),
25305
- createVNode(_sfc_main$i, {
25302
+ _ctx.options.relatedQueries ? (openBlock(), createBlock(_sfc_main$i, {
25303
+ key: 1,
25306
25304
  options: _ctx.options.relatedQueries
25307
- }, null, 8, ["options"]),
25308
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
25305
+ }, null, 8, ["options"])) : createCommentVNode("", true),
25306
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25309
25307
  showTopFilters.value ? (openBlock(), createBlock(_sfc_main$H, {
25310
25308
  key: 0,
25311
25309
  options: (_a = _ctx.options.filters) != null ? _a : {}
@@ -25325,7 +25323,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25325
25323
  expandable: !desktopFiltersExpanded.value
25326
25324
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
25327
25325
  ], 64)) : createCommentVNode("", true),
25328
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25326
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
25329
25327
  createVNode(_sfc_main$B, {
25330
25328
  class: "lupa-toolbar-top",
25331
25329
  options: _ctx.options,
@@ -19792,7 +19792,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
19792
19792
  return props.panel.showGoToResults;
19793
19793
  });
19794
19794
  const extractedInitialFilters = computed(() => {
19795
- return __spreadValues2({}, processExtractionObject(props.searchBoxOptions.initialFilters));
19795
+ var _a;
19796
+ return __spreadValues2({}, processExtractionObject((_a = props.panel) == null ? void 0 : _a.initialFilters));
19796
19797
  });
19797
19798
  const inputValueProp = computed(() => props.inputValue);
19798
19799
  onMounted(() => {
@@ -20244,9 +20245,6 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
20244
20245
  const focused = ref(false);
20245
20246
  const searchBoxInput = ref(null);
20246
20247
  const { highlightedDocument } = storeToRefs(searchBoxStore);
20247
- computed(() => {
20248
- return __spreadValues2({}, processExtractionObject(props.options.initialFilters));
20249
- });
20250
20248
  const searchValue = computed(() => {
20251
20249
  return suggestedValue.value.override ? suggestedValue.value.item.suggestion : inputValue.value;
20252
20250
  });
@@ -20272,8 +20270,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
20272
20270
  "hideMoreResultsButtonOnNoResults",
20273
20271
  "showNoResultsPanel",
20274
20272
  "expandOnSinglePanel",
20275
- "showMoreResultsButton",
20276
- "initialFilters"
20273
+ "showMoreResultsButton"
20277
20274
  ])
20278
20275
  );
20279
20276
  const searchTriggers = computed(() => {
@@ -25174,12 +25171,12 @@ const _hoisted_3$7 = {
25174
25171
  "data-cy": "lupa-no-results-in-page"
25175
25172
  };
25176
25173
  const _hoisted_4$4 = {
25177
- key: 3,
25174
+ key: 4,
25178
25175
  class: "lupa-empty-results",
25179
25176
  "data-cy": "lupa-no-results"
25180
25177
  };
25181
- const _hoisted_5$1 = { key: 4 };
25182
- const _hoisted_6$1 = { key: 5 };
25178
+ const _hoisted_5$1 = { key: 5 };
25179
+ const _hoisted_6$1 = { key: 6 };
25183
25180
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25184
25181
  __name: "SearchResultsProducts",
25185
25182
  props: {
@@ -25300,10 +25297,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25300
25297
  location: "top",
25301
25298
  sdkOptions: _ctx.options.options
25302
25299
  }, null, 8, ["options", "sdkOptions"]),
25303
- createVNode(_sfc_main$i, {
25300
+ _ctx.options.relatedQueries ? (openBlock(), createBlock(_sfc_main$i, {
25301
+ key: 1,
25304
25302
  options: _ctx.options.relatedQueries
25305
- }, null, 8, ["options"]),
25306
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
25303
+ }, null, 8, ["options"])) : createCommentVNode("", true),
25304
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25307
25305
  showTopFilters.value ? (openBlock(), createBlock(_sfc_main$H, {
25308
25306
  key: 0,
25309
25307
  options: (_a = _ctx.options.filters) != null ? _a : {}
@@ -25323,7 +25321,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25323
25321
  expandable: !desktopFiltersExpanded.value
25324
25322
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
25325
25323
  ], 64)) : createCommentVNode("", true),
25326
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25324
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
25327
25325
  createVNode(_sfc_main$B, {
25328
25326
  class: "lupa-toolbar-top",
25329
25327
  options: _ctx.options,
@@ -19796,7 +19796,8 @@ and ensure you are accounting for this risk.
19796
19796
  return props.panel.showGoToResults;
19797
19797
  });
19798
19798
  const extractedInitialFilters = computed(() => {
19799
- return __spreadValues2({}, processExtractionObject(props.searchBoxOptions.initialFilters));
19799
+ var _a;
19800
+ return __spreadValues2({}, processExtractionObject((_a = props.panel) == null ? void 0 : _a.initialFilters));
19800
19801
  });
19801
19802
  const inputValueProp = computed(() => props.inputValue);
19802
19803
  onMounted(() => {
@@ -20248,9 +20249,6 @@ and ensure you are accounting for this risk.
20248
20249
  const focused = ref(false);
20249
20250
  const searchBoxInput = ref(null);
20250
20251
  const { highlightedDocument } = storeToRefs(searchBoxStore);
20251
- computed(() => {
20252
- return __spreadValues2({}, processExtractionObject(props.options.initialFilters));
20253
- });
20254
20252
  const searchValue = computed(() => {
20255
20253
  return suggestedValue.value.override ? suggestedValue.value.item.suggestion : inputValue.value;
20256
20254
  });
@@ -20276,8 +20274,7 @@ and ensure you are accounting for this risk.
20276
20274
  "hideMoreResultsButtonOnNoResults",
20277
20275
  "showNoResultsPanel",
20278
20276
  "expandOnSinglePanel",
20279
- "showMoreResultsButton",
20280
- "initialFilters"
20277
+ "showMoreResultsButton"
20281
20278
  ])
20282
20279
  );
20283
20280
  const searchTriggers = computed(() => {
@@ -25178,12 +25175,12 @@ and ensure you are accounting for this risk.
25178
25175
  "data-cy": "lupa-no-results-in-page"
25179
25176
  };
25180
25177
  const _hoisted_4$4 = {
25181
- key: 3,
25178
+ key: 4,
25182
25179
  class: "lupa-empty-results",
25183
25180
  "data-cy": "lupa-no-results"
25184
25181
  };
25185
- const _hoisted_5$1 = { key: 4 };
25186
- const _hoisted_6$1 = { key: 5 };
25182
+ const _hoisted_5$1 = { key: 5 };
25183
+ const _hoisted_6$1 = { key: 6 };
25187
25184
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25188
25185
  __name: "SearchResultsProducts",
25189
25186
  props: {
@@ -25304,10 +25301,11 @@ and ensure you are accounting for this risk.
25304
25301
  location: "top",
25305
25302
  sdkOptions: _ctx.options.options
25306
25303
  }, null, 8, ["options", "sdkOptions"]),
25307
- createVNode(_sfc_main$i, {
25304
+ _ctx.options.relatedQueries ? (openBlock(), createBlock(_sfc_main$i, {
25305
+ key: 1,
25308
25306
  options: _ctx.options.relatedQueries
25309
- }, null, 8, ["options"]),
25310
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
25307
+ }, null, 8, ["options"])) : createCommentVNode("", true),
25308
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25311
25309
  showTopFilters.value ? (openBlock(), createBlock(_sfc_main$H, {
25312
25310
  key: 0,
25313
25311
  options: (_a = _ctx.options.filters) != null ? _a : {}
@@ -25327,7 +25325,7 @@ and ensure you are accounting for this risk.
25327
25325
  expandable: !desktopFiltersExpanded.value
25328
25326
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
25329
25327
  ], 64)) : createCommentVNode("", true),
25330
- unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
25328
+ unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
25331
25329
  createVNode(_sfc_main$B, {
25332
25330
  class: "lupa-toolbar-top",
25333
25331
  options: _ctx.options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.15.12",
3
+ "version": "1.15.13",
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.15.12",
23
+ "@getlupa/vue": "0.15.13",
24
24
  "@rushstack/eslint-patch": "^1.3.2",
25
25
  "@tsconfig/node18": "^2.0.1",
26
26
  "@types/jsdom": "^21.1.1",