@getlupa/client 0.10.6 → 0.11.0

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.
@@ -28,7 +28,7 @@ export default class TermFacet extends Vue {
28
28
  get statsSummary(): string;
29
29
  get separator(): string;
30
30
  get isIntegerRange(): boolean;
31
- get interval(): 1 | 0.01;
31
+ get interval(): number;
32
32
  get sliderInputFormat(): string | undefined;
33
33
  onMinValueChange(): void;
34
34
  onMaxValueChange(): void;
@@ -11254,7 +11254,7 @@ __vue_render__$1b._withStripped = true;
11254
11254
  /* style */
11255
11255
  const __vue_inject_styles__$1b = function (inject) {
11256
11256
  if (!inject) return
11257
- inject("data-v-219ea03b_0", { source: "\n.lupa-search-box-input-field,\n.lupa-hint {\n width: 100%;\n}\n.lupa-search-box-input-field {\n position: relative !important;\n background: transparent !important;\n}\n.lupa-hint {\n opacity: 0.5;\n position: absolute !important;\n pointer-events: none;\n}\n.lupa-input-clear {\n display: none;\n}\n", map: undefined, media: undefined });
11257
+ inject("data-v-af94f296_0", { source: "\n.lupa-search-box-input-field,\n.lupa-hint {\n width: 100%;\n}\n.lupa-search-box-input-field {\n position: relative !important;\n background: transparent !important;\n}\n.lupa-hint {\n opacity: 0.5;\n position: absolute !important;\n pointer-events: none;\n}\n.lupa-input-clear {\n display: none;\n}\n", map: undefined, media: undefined });
11258
11258
 
11259
11259
  };
11260
11260
  /* scoped */
@@ -31140,7 +31140,7 @@ __vue_render__$U._withStripped = true;
31140
31140
  /* style */
31141
31141
  const __vue_inject_styles__$U = function (inject) {
31142
31142
  if (!inject) return
31143
- inject("data-v-49023ab6_0", { source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n", map: undefined, media: undefined });
31143
+ inject("data-v-39831122_0", { source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n", map: undefined, media: undefined });
31144
31144
 
31145
31145
  };
31146
31146
  /* scoped */
@@ -40221,14 +40221,11 @@ var store = new Vuex.Store({
40221
40221
 
40222
40222
  const createShadowDom = (shadowId, managerId) => {
40223
40223
  let host = document.getElementById(shadowId);
40224
- let manager = document.getElementById(managerId);
40225
- if (!host) {
40226
- host = document.createElement("div");
40227
- manager = document.createElement("div");
40228
- }
40229
- if (!manager) {
40230
- manager = document.createElement("div");
40224
+ if (host) {
40225
+ host.remove();
40231
40226
  }
40227
+ host = document.createElement("div");
40228
+ const manager = document.createElement("div");
40232
40229
  host.setAttribute("id", shadowId);
40233
40230
  manager === null || manager === void 0 ? void 0 : manager.setAttribute("id", managerId);
40234
40231
  return { host, manager };
@@ -40431,7 +40428,7 @@ const clearSearchContainer = (selector) => {
40431
40428
  instance === null || instance === void 0 ? void 0 : instance.$destroy();
40432
40429
  return;
40433
40430
  }
40434
- for (const key in app.productList) {
40431
+ for (const key in app.searchContainer) {
40435
40432
  const instance = app.searchContainer[key];
40436
40433
  instance === null || instance === void 0 ? void 0 : instance.$destroy();
40437
40434
  }
@@ -28,7 +28,7 @@ export default class TermFacet extends Vue {
28
28
  get statsSummary(): string;
29
29
  get separator(): string;
30
30
  get isIntegerRange(): boolean;
31
- get interval(): 1 | 0.01;
31
+ get interval(): number;
32
32
  get sliderInputFormat(): string | undefined;
33
33
  onMinValueChange(): void;
34
34
  onMaxValueChange(): void;
@@ -11250,7 +11250,7 @@ __vue_render__$1b._withStripped = true;
11250
11250
  /* style */
11251
11251
  const __vue_inject_styles__$1b = function (inject) {
11252
11252
  if (!inject) return
11253
- inject("data-v-219ea03b_0", { source: "\n.lupa-search-box-input-field,\n.lupa-hint {\n width: 100%;\n}\n.lupa-search-box-input-field {\n position: relative !important;\n background: transparent !important;\n}\n.lupa-hint {\n opacity: 0.5;\n position: absolute !important;\n pointer-events: none;\n}\n.lupa-input-clear {\n display: none;\n}\n", map: undefined, media: undefined });
11253
+ inject("data-v-af94f296_0", { source: "\n.lupa-search-box-input-field,\n.lupa-hint {\n width: 100%;\n}\n.lupa-search-box-input-field {\n position: relative !important;\n background: transparent !important;\n}\n.lupa-hint {\n opacity: 0.5;\n position: absolute !important;\n pointer-events: none;\n}\n.lupa-input-clear {\n display: none;\n}\n", map: undefined, media: undefined });
11254
11254
 
11255
11255
  };
11256
11256
  /* scoped */
@@ -31136,7 +31136,7 @@ __vue_render__$U._withStripped = true;
31136
31136
  /* style */
31137
31137
  const __vue_inject_styles__$U = function (inject) {
31138
31138
  if (!inject) return
31139
- inject("data-v-49023ab6_0", { source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n", map: undefined, media: undefined });
31139
+ inject("data-v-39831122_0", { source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n", map: undefined, media: undefined });
31140
31140
 
31141
31141
  };
31142
31142
  /* scoped */
@@ -40217,14 +40217,11 @@ var store = new Vuex.Store({
40217
40217
 
40218
40218
  const createShadowDom = (shadowId, managerId) => {
40219
40219
  let host = document.getElementById(shadowId);
40220
- let manager = document.getElementById(managerId);
40221
- if (!host) {
40222
- host = document.createElement("div");
40223
- manager = document.createElement("div");
40224
- }
40225
- if (!manager) {
40226
- manager = document.createElement("div");
40220
+ if (host) {
40221
+ host.remove();
40227
40222
  }
40223
+ host = document.createElement("div");
40224
+ const manager = document.createElement("div");
40228
40225
  host.setAttribute("id", shadowId);
40229
40226
  manager === null || manager === void 0 ? void 0 : manager.setAttribute("id", managerId);
40230
40227
  return { host, manager };
@@ -40427,7 +40424,7 @@ const clearSearchContainer = (selector) => {
40427
40424
  instance === null || instance === void 0 ? void 0 : instance.$destroy();
40428
40425
  return;
40429
40426
  }
40430
- for (const key in app.productList) {
40427
+ for (const key in app.searchContainer) {
40431
40428
  const instance = app.searchContainer[key];
40432
40429
  instance === null || instance === void 0 ? void 0 : instance.$destroy();
40433
40430
  }
@@ -28,7 +28,7 @@ export default class TermFacet extends Vue {
28
28
  get statsSummary(): string;
29
29
  get separator(): string;
30
30
  get isIntegerRange(): boolean;
31
- get interval(): 1 | 0.01;
31
+ get interval(): number;
32
32
  get sliderInputFormat(): string | undefined;
33
33
  onMinValueChange(): void;
34
34
  onMaxValueChange(): void;