@getlupa/client 0.5.1-alpha-16 → 0.5.1-alpha-19
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.
- package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -0
- package/dist/cjs/index.min.js +366 -341
- package/dist/cjs/store/modules/options.d.ts +1 -0
- package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/cjs/utils/string.utils.d.ts +1 -0
- package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -0
- package/dist/es/index.min.js +366 -341
- package/dist/es/store/modules/options.d.ts +1 -0
- package/dist/es/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/es/utils/string.utils.d.ts +1 -0
- package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -0
- package/dist/iife/index.min.js +1 -1
- package/dist/iife/store/modules/options.d.ts +1 -0
- package/dist/iife/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/iife/utils/string.utils.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/index.min.js
CHANGED
|
@@ -18134,6 +18134,256 @@ $$b({
|
|
|
18134
18134
|
}
|
|
18135
18135
|
});
|
|
18136
18136
|
|
|
18137
|
+
var global$6 = global$13;
|
|
18138
|
+
|
|
18139
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$9;
|
|
18140
|
+
|
|
18141
|
+
var toString$2 = toString$h;
|
|
18142
|
+
|
|
18143
|
+
var requireObjectCoercible$2 = requireObjectCoercible$c;
|
|
18144
|
+
|
|
18145
|
+
var RangeError$2 = global$6.RangeError; // `String.prototype.repeat` method implementation
|
|
18146
|
+
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
18147
|
+
|
|
18148
|
+
var stringRepeat = function repeat(count) {
|
|
18149
|
+
var str = toString$2(requireObjectCoercible$2(this));
|
|
18150
|
+
var result = '';
|
|
18151
|
+
var n = toIntegerOrInfinity$1(count);
|
|
18152
|
+
if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
|
|
18153
|
+
|
|
18154
|
+
for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
18155
|
+
|
|
18156
|
+
return result;
|
|
18157
|
+
};
|
|
18158
|
+
|
|
18159
|
+
var $$a = _export;
|
|
18160
|
+
|
|
18161
|
+
var global$5 = global$13;
|
|
18162
|
+
|
|
18163
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
18164
|
+
|
|
18165
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$9;
|
|
18166
|
+
|
|
18167
|
+
var thisNumberValue = thisNumberValue$2;
|
|
18168
|
+
|
|
18169
|
+
var $repeat = stringRepeat;
|
|
18170
|
+
|
|
18171
|
+
var fails$2 = fails$F;
|
|
18172
|
+
|
|
18173
|
+
var RangeError$1 = global$5.RangeError;
|
|
18174
|
+
var String$1 = global$5.String;
|
|
18175
|
+
var floor$2 = Math.floor;
|
|
18176
|
+
var repeat = uncurryThis$5($repeat);
|
|
18177
|
+
var stringSlice$3 = uncurryThis$5(''.slice);
|
|
18178
|
+
var un$ToFixed = uncurryThis$5(1.0.toFixed);
|
|
18179
|
+
|
|
18180
|
+
var pow$1 = function (x, n, acc) {
|
|
18181
|
+
return n === 0 ? acc : n % 2 === 1 ? pow$1(x, n - 1, acc * x) : pow$1(x * x, n / 2, acc);
|
|
18182
|
+
};
|
|
18183
|
+
|
|
18184
|
+
var log = function (x) {
|
|
18185
|
+
var n = 0;
|
|
18186
|
+
var x2 = x;
|
|
18187
|
+
|
|
18188
|
+
while (x2 >= 4096) {
|
|
18189
|
+
n += 12;
|
|
18190
|
+
x2 /= 4096;
|
|
18191
|
+
}
|
|
18192
|
+
|
|
18193
|
+
while (x2 >= 2) {
|
|
18194
|
+
n += 1;
|
|
18195
|
+
x2 /= 2;
|
|
18196
|
+
}
|
|
18197
|
+
|
|
18198
|
+
return n;
|
|
18199
|
+
};
|
|
18200
|
+
|
|
18201
|
+
var multiply = function (data, n, c) {
|
|
18202
|
+
var index = -1;
|
|
18203
|
+
var c2 = c;
|
|
18204
|
+
|
|
18205
|
+
while (++index < 6) {
|
|
18206
|
+
c2 += n * data[index];
|
|
18207
|
+
data[index] = c2 % 1e7;
|
|
18208
|
+
c2 = floor$2(c2 / 1e7);
|
|
18209
|
+
}
|
|
18210
|
+
};
|
|
18211
|
+
|
|
18212
|
+
var divide = function (data, n) {
|
|
18213
|
+
var index = 6;
|
|
18214
|
+
var c = 0;
|
|
18215
|
+
|
|
18216
|
+
while (--index >= 0) {
|
|
18217
|
+
c += data[index];
|
|
18218
|
+
data[index] = floor$2(c / n);
|
|
18219
|
+
c = c % n * 1e7;
|
|
18220
|
+
}
|
|
18221
|
+
};
|
|
18222
|
+
|
|
18223
|
+
var dataToString = function (data) {
|
|
18224
|
+
var index = 6;
|
|
18225
|
+
var s = '';
|
|
18226
|
+
|
|
18227
|
+
while (--index >= 0) {
|
|
18228
|
+
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
18229
|
+
var t = String$1(data[index]);
|
|
18230
|
+
s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
|
|
18231
|
+
}
|
|
18232
|
+
}
|
|
18233
|
+
|
|
18234
|
+
return s;
|
|
18235
|
+
};
|
|
18236
|
+
|
|
18237
|
+
var FORCED = fails$2(function () {
|
|
18238
|
+
return un$ToFixed(0.00008, 3) !== '0.000' || un$ToFixed(0.9, 0) !== '1' || un$ToFixed(1.255, 2) !== '1.25' || un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
|
|
18239
|
+
}) || !fails$2(function () {
|
|
18240
|
+
// V8 ~ Android 4.3-
|
|
18241
|
+
un$ToFixed({});
|
|
18242
|
+
}); // `Number.prototype.toFixed` method
|
|
18243
|
+
// https://tc39.es/ecma262/#sec-number.prototype.tofixed
|
|
18244
|
+
|
|
18245
|
+
$$a({
|
|
18246
|
+
target: 'Number',
|
|
18247
|
+
proto: true,
|
|
18248
|
+
forced: FORCED
|
|
18249
|
+
}, {
|
|
18250
|
+
toFixed: function toFixed(fractionDigits) {
|
|
18251
|
+
var number = thisNumberValue(this);
|
|
18252
|
+
var fractDigits = toIntegerOrInfinity(fractionDigits);
|
|
18253
|
+
var data = [0, 0, 0, 0, 0, 0];
|
|
18254
|
+
var sign = '';
|
|
18255
|
+
var result = '0';
|
|
18256
|
+
var e, z, j, k;
|
|
18257
|
+
if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits'); // eslint-disable-next-line no-self-compare -- NaN check
|
|
18258
|
+
|
|
18259
|
+
if (number != number) return 'NaN';
|
|
18260
|
+
if (number <= -1e21 || number >= 1e21) return String$1(number);
|
|
18261
|
+
|
|
18262
|
+
if (number < 0) {
|
|
18263
|
+
sign = '-';
|
|
18264
|
+
number = -number;
|
|
18265
|
+
}
|
|
18266
|
+
|
|
18267
|
+
if (number > 1e-21) {
|
|
18268
|
+
e = log(number * pow$1(2, 69, 1)) - 69;
|
|
18269
|
+
z = e < 0 ? number * pow$1(2, -e, 1) : number / pow$1(2, e, 1);
|
|
18270
|
+
z *= 0x10000000000000;
|
|
18271
|
+
e = 52 - e;
|
|
18272
|
+
|
|
18273
|
+
if (e > 0) {
|
|
18274
|
+
multiply(data, 0, z);
|
|
18275
|
+
j = fractDigits;
|
|
18276
|
+
|
|
18277
|
+
while (j >= 7) {
|
|
18278
|
+
multiply(data, 1e7, 0);
|
|
18279
|
+
j -= 7;
|
|
18280
|
+
}
|
|
18281
|
+
|
|
18282
|
+
multiply(data, pow$1(10, j, 1), 0);
|
|
18283
|
+
j = e - 1;
|
|
18284
|
+
|
|
18285
|
+
while (j >= 23) {
|
|
18286
|
+
divide(data, 1 << 23);
|
|
18287
|
+
j -= 23;
|
|
18288
|
+
}
|
|
18289
|
+
|
|
18290
|
+
divide(data, 1 << j);
|
|
18291
|
+
multiply(data, 1, 1);
|
|
18292
|
+
divide(data, 2);
|
|
18293
|
+
result = dataToString(data);
|
|
18294
|
+
} else {
|
|
18295
|
+
multiply(data, 0, z);
|
|
18296
|
+
multiply(data, 1 << -e, 0);
|
|
18297
|
+
result = dataToString(data) + repeat('0', fractDigits);
|
|
18298
|
+
}
|
|
18299
|
+
}
|
|
18300
|
+
|
|
18301
|
+
if (fractDigits > 0) {
|
|
18302
|
+
k = result.length;
|
|
18303
|
+
result = sign + (k <= fractDigits ? '0.' + repeat('0', fractDigits - k) + result : stringSlice$3(result, 0, k - fractDigits) + '.' + stringSlice$3(result, k - fractDigits));
|
|
18304
|
+
} else {
|
|
18305
|
+
result = sign + result;
|
|
18306
|
+
}
|
|
18307
|
+
|
|
18308
|
+
return result;
|
|
18309
|
+
}
|
|
18310
|
+
});
|
|
18311
|
+
|
|
18312
|
+
var getNormalizedString = function getNormalizedString(str) {
|
|
18313
|
+
if (!str) {
|
|
18314
|
+
return "";
|
|
18315
|
+
}
|
|
18316
|
+
|
|
18317
|
+
var transformedStr = typeof str === "string" ? str : str.toString();
|
|
18318
|
+
return transformedStr.normalize === undefined ? transformedStr.toLocaleLowerCase() : transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "");
|
|
18319
|
+
};
|
|
18320
|
+
var capitalize = function capitalize(str) {
|
|
18321
|
+
if (!str) {
|
|
18322
|
+
return "";
|
|
18323
|
+
}
|
|
18324
|
+
|
|
18325
|
+
return str[0].toLocaleUpperCase() + str.slice(1);
|
|
18326
|
+
};
|
|
18327
|
+
var addParamsToLabel = function addParamsToLabel(label) {
|
|
18328
|
+
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
18329
|
+
params[_key - 1] = arguments[_key];
|
|
18330
|
+
}
|
|
18331
|
+
|
|
18332
|
+
if (!params || params.length < 1) {
|
|
18333
|
+
return label;
|
|
18334
|
+
}
|
|
18335
|
+
|
|
18336
|
+
var paramKeys = Array.from(Array(params.length).keys());
|
|
18337
|
+
return paramKeys.reduce(function (a, c) {
|
|
18338
|
+
return a.replace("{".concat(c + 1, "}"), params[c]);
|
|
18339
|
+
}, label);
|
|
18340
|
+
};
|
|
18341
|
+
var getRandomString = function getRandomString(length) {
|
|
18342
|
+
var chars = "0123456789abcdefghijklmnopqrstuvwxyz";
|
|
18343
|
+
var result = "";
|
|
18344
|
+
|
|
18345
|
+
for (var i = length; i > 0; --i) {
|
|
18346
|
+
result += chars[Math.floor(Math.random() * chars.length)];
|
|
18347
|
+
}
|
|
18348
|
+
|
|
18349
|
+
return result;
|
|
18350
|
+
};
|
|
18351
|
+
|
|
18352
|
+
var toFixedIfNecessary = function toFixedIfNecessary(value) {
|
|
18353
|
+
var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
18354
|
+
return (+parseFloat(value).toFixed(precision)).toString();
|
|
18355
|
+
};
|
|
18356
|
+
|
|
18357
|
+
var getDisplayValue = function getDisplayValue(value) {
|
|
18358
|
+
if (value === undefined) {
|
|
18359
|
+
return "";
|
|
18360
|
+
}
|
|
18361
|
+
|
|
18362
|
+
if (typeof value === "string") {
|
|
18363
|
+
return value;
|
|
18364
|
+
}
|
|
18365
|
+
|
|
18366
|
+
return toFixedIfNecessary(value.toString());
|
|
18367
|
+
};
|
|
18368
|
+
var getProductKey = function getProductKey(index, product, idKey) {
|
|
18369
|
+
if (!idKey) {
|
|
18370
|
+
return index;
|
|
18371
|
+
}
|
|
18372
|
+
|
|
18373
|
+
if (product[idKey]) {
|
|
18374
|
+
return product[idKey];
|
|
18375
|
+
}
|
|
18376
|
+
|
|
18377
|
+
return index;
|
|
18378
|
+
};
|
|
18379
|
+
var escapeHtml = function escapeHtml(value) {
|
|
18380
|
+
if (!value) {
|
|
18381
|
+
return "";
|
|
18382
|
+
}
|
|
18383
|
+
|
|
18384
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
18385
|
+
};
|
|
18386
|
+
|
|
18137
18387
|
var pick = function pick(obj, keys) {
|
|
18138
18388
|
var ret = Object.create({});
|
|
18139
18389
|
|
|
@@ -18154,11 +18404,13 @@ var pick = function pick(obj, keys) {
|
|
|
18154
18404
|
return ret;
|
|
18155
18405
|
};
|
|
18156
18406
|
var getHint = function getHint(suggestion, inputValue) {
|
|
18157
|
-
var
|
|
18407
|
+
var _a;
|
|
18408
|
+
|
|
18409
|
+
if (!inputValue) {
|
|
18410
|
+
return escapeHtml(suggestion);
|
|
18411
|
+
}
|
|
18158
18412
|
|
|
18159
|
-
|
|
18160
|
-
return "<strong>".concat(inputValue, "</strong>").concat(hint);
|
|
18161
|
-
} else return suggestion;
|
|
18413
|
+
return (_a = suggestion === null || suggestion === void 0 ? void 0 : suggestion.replace(inputValue, "<strong>".concat(escapeHtml(inputValue), "</strong>"))) !== null && _a !== void 0 ? _a : "";
|
|
18162
18414
|
}; // https://stackoverflow.com/a/56781239
|
|
18163
18415
|
|
|
18164
18416
|
var reverseKeyValue = function reverseKeyValue(obj) {
|
|
@@ -18270,25 +18522,25 @@ function merge$1(a, b) {
|
|
|
18270
18522
|
return res;
|
|
18271
18523
|
}
|
|
18272
18524
|
|
|
18273
|
-
var $$
|
|
18525
|
+
var $$9 = _export;
|
|
18274
18526
|
|
|
18275
|
-
var uncurryThis$
|
|
18527
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
18276
18528
|
|
|
18277
18529
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
18278
18530
|
|
|
18279
18531
|
var toLength = toLength$7;
|
|
18280
18532
|
|
|
18281
|
-
var toString$
|
|
18533
|
+
var toString$1 = toString$h;
|
|
18282
18534
|
|
|
18283
18535
|
var notARegExp = notARegexp;
|
|
18284
18536
|
|
|
18285
|
-
var requireObjectCoercible$
|
|
18537
|
+
var requireObjectCoercible$1 = requireObjectCoercible$c;
|
|
18286
18538
|
|
|
18287
18539
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
18288
18540
|
|
|
18289
18541
|
|
|
18290
|
-
var un$StartsWith = uncurryThis$
|
|
18291
|
-
var stringSlice$
|
|
18542
|
+
var un$StartsWith = uncurryThis$4(''.startsWith);
|
|
18543
|
+
var stringSlice$2 = uncurryThis$4(''.slice);
|
|
18292
18544
|
var min = Math.min;
|
|
18293
18545
|
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); // https://github.com/zloirock/core-js/pull/702
|
|
18294
18546
|
|
|
@@ -18298,7 +18550,7 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
|
18298
18550
|
}(); // `String.prototype.startsWith` method
|
|
18299
18551
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
|
18300
18552
|
|
|
18301
|
-
$$
|
|
18553
|
+
$$9({
|
|
18302
18554
|
target: 'String',
|
|
18303
18555
|
proto: true,
|
|
18304
18556
|
forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC
|
|
@@ -18306,11 +18558,11 @@ $$a({
|
|
|
18306
18558
|
startsWith: function startsWith(searchString
|
|
18307
18559
|
/* , position = 0 */
|
|
18308
18560
|
) {
|
|
18309
|
-
var that = toString$
|
|
18561
|
+
var that = toString$1(requireObjectCoercible$1(this));
|
|
18310
18562
|
notARegExp(searchString);
|
|
18311
18563
|
var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
|
|
18312
|
-
var search = toString$
|
|
18313
|
-
return un$StartsWith ? un$StartsWith(that, search, index) : stringSlice$
|
|
18564
|
+
var search = toString$1(searchString);
|
|
18565
|
+
return un$StartsWith ? un$StartsWith(that, search, index) : stringSlice$2(that, index, index + search.length) === search;
|
|
18314
18566
|
}
|
|
18315
18567
|
});
|
|
18316
18568
|
|
|
@@ -18638,7 +18890,7 @@ var __vue_component__$17 = /*#__PURE__*/normalizeComponent({
|
|
|
18638
18890
|
staticRenderFns: __vue_staticRenderFns__$17
|
|
18639
18891
|
}, __vue_inject_styles__$17, __vue_script__$17, __vue_scope_id__$17, __vue_is_functional_template__$17, __vue_module_identifier__$17, false, createInjector, undefined, undefined);
|
|
18640
18892
|
|
|
18641
|
-
var $$
|
|
18893
|
+
var $$8 = _export;
|
|
18642
18894
|
|
|
18643
18895
|
var $find = arrayIteration.find;
|
|
18644
18896
|
|
|
@@ -18652,7 +18904,7 @@ if (FIND in []) Array(1)[FIND](function () {
|
|
|
18652
18904
|
}); // `Array.prototype.find` method
|
|
18653
18905
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
18654
18906
|
|
|
18655
|
-
$$
|
|
18907
|
+
$$8({
|
|
18656
18908
|
target: 'Array',
|
|
18657
18909
|
proto: true,
|
|
18658
18910
|
forced: SKIPS_HOLES
|
|
@@ -18881,272 +19133,97 @@ var __vue_scope_id__$15 = undefined;
|
|
|
18881
19133
|
var __vue_module_identifier__$15 = undefined;
|
|
18882
19134
|
/* functional template */
|
|
18883
19135
|
|
|
18884
|
-
var __vue_is_functional_template__$15 = false;
|
|
18885
|
-
/* style inject */
|
|
18886
|
-
|
|
18887
|
-
/* style inject SSR */
|
|
18888
|
-
|
|
18889
|
-
/* style inject shadow dom */
|
|
18890
|
-
|
|
18891
|
-
var __vue_component__$15 = /*#__PURE__*/normalizeComponent({
|
|
18892
|
-
render: __vue_render__$15,
|
|
18893
|
-
staticRenderFns: __vue_staticRenderFns__$15
|
|
18894
|
-
}, __vue_inject_styles__$15, __vue_script__$15, __vue_scope_id__$15, __vue_is_functional_template__$15, __vue_module_identifier__$15, false, undefined, undefined, undefined);
|
|
18895
|
-
|
|
18896
|
-
var SearchBoxProductDescription = /*#__PURE__*/function (_Vue) {
|
|
18897
|
-
_inherits(SearchBoxProductDescription, _Vue);
|
|
18898
|
-
|
|
18899
|
-
var _super = _createSuper(SearchBoxProductDescription);
|
|
18900
|
-
|
|
18901
|
-
function SearchBoxProductDescription() {
|
|
18902
|
-
_classCallCheck(this, SearchBoxProductDescription);
|
|
18903
|
-
|
|
18904
|
-
return _super.apply(this, arguments);
|
|
18905
|
-
}
|
|
18906
|
-
|
|
18907
|
-
_createClass(SearchBoxProductDescription, [{
|
|
18908
|
-
key: "description",
|
|
18909
|
-
get: function get() {
|
|
18910
|
-
return this.item[this.options.key];
|
|
18911
|
-
}
|
|
18912
|
-
}, {
|
|
18913
|
-
key: "isHtml",
|
|
18914
|
-
get: function get() {
|
|
18915
|
-
var _a;
|
|
18916
|
-
|
|
18917
|
-
return (_a = this.options.isHtml) !== null && _a !== void 0 ? _a : false;
|
|
18918
|
-
}
|
|
18919
|
-
}]);
|
|
18920
|
-
|
|
18921
|
-
return SearchBoxProductDescription;
|
|
18922
|
-
}(Vue$1);
|
|
18923
|
-
|
|
18924
|
-
__decorate([Prop()], SearchBoxProductDescription.prototype, "item", void 0);
|
|
18925
|
-
|
|
18926
|
-
__decorate([Prop()], SearchBoxProductDescription.prototype, "options", void 0);
|
|
18927
|
-
|
|
18928
|
-
SearchBoxProductDescription = __decorate([Component], SearchBoxProductDescription);
|
|
18929
|
-
var script$13 = SearchBoxProductDescription;
|
|
18930
|
-
|
|
18931
|
-
var __vue_script__$14 = script$13;
|
|
18932
|
-
/* template */
|
|
18933
|
-
|
|
18934
|
-
var __vue_render__$14 = function __vue_render__() {
|
|
18935
|
-
var _vm = this;
|
|
18936
|
-
|
|
18937
|
-
var _h = _vm.$createElement;
|
|
18938
|
-
|
|
18939
|
-
var _c = _vm._self._c || _h;
|
|
18940
|
-
|
|
18941
|
-
return _vm.isHtml ? _c("div", {
|
|
18942
|
-
staticClass: "lupa-search-box-product-description",
|
|
18943
|
-
domProps: {
|
|
18944
|
-
innerHTML: _vm._s(_vm.description)
|
|
18945
|
-
}
|
|
18946
|
-
}) : _c("div", {
|
|
18947
|
-
staticClass: "lupa-search-box-product-description"
|
|
18948
|
-
}, [_vm._v("\n " + _vm._s(_vm.description) + "\n")]);
|
|
18949
|
-
};
|
|
18950
|
-
|
|
18951
|
-
var __vue_staticRenderFns__$14 = [];
|
|
18952
|
-
__vue_render__$14._withStripped = true;
|
|
18953
|
-
/* style */
|
|
18954
|
-
|
|
18955
|
-
var __vue_inject_styles__$14 = undefined;
|
|
18956
|
-
/* scoped */
|
|
18957
|
-
|
|
18958
|
-
var __vue_scope_id__$14 = undefined;
|
|
18959
|
-
/* module identifier */
|
|
18960
|
-
|
|
18961
|
-
var __vue_module_identifier__$14 = undefined;
|
|
18962
|
-
/* functional template */
|
|
18963
|
-
|
|
18964
|
-
var __vue_is_functional_template__$14 = false;
|
|
18965
|
-
/* style inject */
|
|
18966
|
-
|
|
18967
|
-
/* style inject SSR */
|
|
18968
|
-
|
|
18969
|
-
/* style inject shadow dom */
|
|
18970
|
-
|
|
18971
|
-
var __vue_component__$14 = /*#__PURE__*/normalizeComponent({
|
|
18972
|
-
render: __vue_render__$14,
|
|
18973
|
-
staticRenderFns: __vue_staticRenderFns__$14
|
|
18974
|
-
}, __vue_inject_styles__$14, __vue_script__$14, __vue_scope_id__$14, __vue_is_functional_template__$14, __vue_module_identifier__$14, false, undefined, undefined, undefined);
|
|
18975
|
-
|
|
18976
|
-
var global$6 = global$13;
|
|
18977
|
-
|
|
18978
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$9;
|
|
18979
|
-
|
|
18980
|
-
var toString$1 = toString$h;
|
|
18981
|
-
|
|
18982
|
-
var requireObjectCoercible$1 = requireObjectCoercible$c;
|
|
18983
|
-
|
|
18984
|
-
var RangeError$2 = global$6.RangeError; // `String.prototype.repeat` method implementation
|
|
18985
|
-
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
18986
|
-
|
|
18987
|
-
var stringRepeat = function repeat(count) {
|
|
18988
|
-
var str = toString$1(requireObjectCoercible$1(this));
|
|
18989
|
-
var result = '';
|
|
18990
|
-
var n = toIntegerOrInfinity$1(count);
|
|
18991
|
-
if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
|
|
18992
|
-
|
|
18993
|
-
for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
18994
|
-
|
|
18995
|
-
return result;
|
|
18996
|
-
};
|
|
18997
|
-
|
|
18998
|
-
var $$8 = _export;
|
|
18999
|
-
|
|
19000
|
-
var global$5 = global$13;
|
|
19001
|
-
|
|
19002
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
19003
|
-
|
|
19004
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$9;
|
|
19005
|
-
|
|
19006
|
-
var thisNumberValue = thisNumberValue$2;
|
|
19007
|
-
|
|
19008
|
-
var $repeat = stringRepeat;
|
|
19009
|
-
|
|
19010
|
-
var fails$2 = fails$F;
|
|
19011
|
-
|
|
19012
|
-
var RangeError$1 = global$5.RangeError;
|
|
19013
|
-
var String$1 = global$5.String;
|
|
19014
|
-
var floor$2 = Math.floor;
|
|
19015
|
-
var repeat = uncurryThis$4($repeat);
|
|
19016
|
-
var stringSlice$2 = uncurryThis$4(''.slice);
|
|
19017
|
-
var un$ToFixed = uncurryThis$4(1.0.toFixed);
|
|
19018
|
-
|
|
19019
|
-
var pow$1 = function (x, n, acc) {
|
|
19020
|
-
return n === 0 ? acc : n % 2 === 1 ? pow$1(x, n - 1, acc * x) : pow$1(x * x, n / 2, acc);
|
|
19021
|
-
};
|
|
19022
|
-
|
|
19023
|
-
var log = function (x) {
|
|
19024
|
-
var n = 0;
|
|
19025
|
-
var x2 = x;
|
|
19026
|
-
|
|
19027
|
-
while (x2 >= 4096) {
|
|
19028
|
-
n += 12;
|
|
19029
|
-
x2 /= 4096;
|
|
19030
|
-
}
|
|
19136
|
+
var __vue_is_functional_template__$15 = false;
|
|
19137
|
+
/* style inject */
|
|
19031
19138
|
|
|
19032
|
-
|
|
19033
|
-
n += 1;
|
|
19034
|
-
x2 /= 2;
|
|
19035
|
-
}
|
|
19139
|
+
/* style inject SSR */
|
|
19036
19140
|
|
|
19037
|
-
|
|
19038
|
-
};
|
|
19141
|
+
/* style inject shadow dom */
|
|
19039
19142
|
|
|
19040
|
-
var
|
|
19041
|
-
|
|
19042
|
-
|
|
19143
|
+
var __vue_component__$15 = /*#__PURE__*/normalizeComponent({
|
|
19144
|
+
render: __vue_render__$15,
|
|
19145
|
+
staticRenderFns: __vue_staticRenderFns__$15
|
|
19146
|
+
}, __vue_inject_styles__$15, __vue_script__$15, __vue_scope_id__$15, __vue_is_functional_template__$15, __vue_module_identifier__$15, false, undefined, undefined, undefined);
|
|
19043
19147
|
|
|
19044
|
-
|
|
19045
|
-
|
|
19046
|
-
data[index] = c2 % 1e7;
|
|
19047
|
-
c2 = floor$2(c2 / 1e7);
|
|
19048
|
-
}
|
|
19049
|
-
};
|
|
19148
|
+
var SearchBoxProductDescription = /*#__PURE__*/function (_Vue) {
|
|
19149
|
+
_inherits(SearchBoxProductDescription, _Vue);
|
|
19050
19150
|
|
|
19051
|
-
var
|
|
19052
|
-
var index = 6;
|
|
19053
|
-
var c = 0;
|
|
19151
|
+
var _super = _createSuper(SearchBoxProductDescription);
|
|
19054
19152
|
|
|
19055
|
-
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
|
|
19153
|
+
function SearchBoxProductDescription() {
|
|
19154
|
+
_classCallCheck(this, SearchBoxProductDescription);
|
|
19155
|
+
|
|
19156
|
+
return _super.apply(this, arguments);
|
|
19059
19157
|
}
|
|
19060
|
-
};
|
|
19061
19158
|
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19159
|
+
_createClass(SearchBoxProductDescription, [{
|
|
19160
|
+
key: "description",
|
|
19161
|
+
get: function get() {
|
|
19162
|
+
return this.item[this.options.key];
|
|
19163
|
+
}
|
|
19164
|
+
}, {
|
|
19165
|
+
key: "isHtml",
|
|
19166
|
+
get: function get() {
|
|
19167
|
+
var _a;
|
|
19065
19168
|
|
|
19066
|
-
|
|
19067
|
-
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
19068
|
-
var t = String$1(data[index]);
|
|
19069
|
-
s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
|
|
19169
|
+
return (_a = this.options.isHtml) !== null && _a !== void 0 ? _a : false;
|
|
19070
19170
|
}
|
|
19071
|
-
}
|
|
19171
|
+
}]);
|
|
19072
19172
|
|
|
19073
|
-
return
|
|
19074
|
-
};
|
|
19173
|
+
return SearchBoxProductDescription;
|
|
19174
|
+
}(Vue$1);
|
|
19075
19175
|
|
|
19076
|
-
|
|
19077
|
-
return un$ToFixed(0.00008, 3) !== '0.000' || un$ToFixed(0.9, 0) !== '1' || un$ToFixed(1.255, 2) !== '1.25' || un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
|
|
19078
|
-
}) || !fails$2(function () {
|
|
19079
|
-
// V8 ~ Android 4.3-
|
|
19080
|
-
un$ToFixed({});
|
|
19081
|
-
}); // `Number.prototype.toFixed` method
|
|
19082
|
-
// https://tc39.es/ecma262/#sec-number.prototype.tofixed
|
|
19176
|
+
__decorate([Prop()], SearchBoxProductDescription.prototype, "item", void 0);
|
|
19083
19177
|
|
|
19084
|
-
|
|
19085
|
-
target: 'Number',
|
|
19086
|
-
proto: true,
|
|
19087
|
-
forced: FORCED
|
|
19088
|
-
}, {
|
|
19089
|
-
toFixed: function toFixed(fractionDigits) {
|
|
19090
|
-
var number = thisNumberValue(this);
|
|
19091
|
-
var fractDigits = toIntegerOrInfinity(fractionDigits);
|
|
19092
|
-
var data = [0, 0, 0, 0, 0, 0];
|
|
19093
|
-
var sign = '';
|
|
19094
|
-
var result = '0';
|
|
19095
|
-
var e, z, j, k;
|
|
19096
|
-
if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits'); // eslint-disable-next-line no-self-compare -- NaN check
|
|
19178
|
+
__decorate([Prop()], SearchBoxProductDescription.prototype, "options", void 0);
|
|
19097
19179
|
|
|
19098
|
-
|
|
19099
|
-
|
|
19180
|
+
SearchBoxProductDescription = __decorate([Component], SearchBoxProductDescription);
|
|
19181
|
+
var script$13 = SearchBoxProductDescription;
|
|
19100
19182
|
|
|
19101
|
-
|
|
19102
|
-
|
|
19103
|
-
|
|
19183
|
+
var __vue_script__$14 = script$13;
|
|
19184
|
+
/* template */
|
|
19185
|
+
|
|
19186
|
+
var __vue_render__$14 = function __vue_render__() {
|
|
19187
|
+
var _vm = this;
|
|
19188
|
+
|
|
19189
|
+
var _h = _vm.$createElement;
|
|
19190
|
+
|
|
19191
|
+
var _c = _vm._self._c || _h;
|
|
19192
|
+
|
|
19193
|
+
return _vm.isHtml ? _c("div", {
|
|
19194
|
+
staticClass: "lupa-search-box-product-description",
|
|
19195
|
+
domProps: {
|
|
19196
|
+
innerHTML: _vm._s(_vm.description)
|
|
19104
19197
|
}
|
|
19198
|
+
}) : _c("div", {
|
|
19199
|
+
staticClass: "lupa-search-box-product-description"
|
|
19200
|
+
}, [_vm._v("\n " + _vm._s(_vm.description) + "\n")]);
|
|
19201
|
+
};
|
|
19105
19202
|
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
z *= 0x10000000000000;
|
|
19110
|
-
e = 52 - e;
|
|
19203
|
+
var __vue_staticRenderFns__$14 = [];
|
|
19204
|
+
__vue_render__$14._withStripped = true;
|
|
19205
|
+
/* style */
|
|
19111
19206
|
|
|
19112
|
-
|
|
19113
|
-
|
|
19114
|
-
j = fractDigits;
|
|
19207
|
+
var __vue_inject_styles__$14 = undefined;
|
|
19208
|
+
/* scoped */
|
|
19115
19209
|
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
j -= 7;
|
|
19119
|
-
}
|
|
19210
|
+
var __vue_scope_id__$14 = undefined;
|
|
19211
|
+
/* module identifier */
|
|
19120
19212
|
|
|
19121
|
-
|
|
19122
|
-
|
|
19213
|
+
var __vue_module_identifier__$14 = undefined;
|
|
19214
|
+
/* functional template */
|
|
19123
19215
|
|
|
19124
|
-
|
|
19125
|
-
|
|
19126
|
-
j -= 23;
|
|
19127
|
-
}
|
|
19216
|
+
var __vue_is_functional_template__$14 = false;
|
|
19217
|
+
/* style inject */
|
|
19128
19218
|
|
|
19129
|
-
|
|
19130
|
-
multiply(data, 1, 1);
|
|
19131
|
-
divide(data, 2);
|
|
19132
|
-
result = dataToString(data);
|
|
19133
|
-
} else {
|
|
19134
|
-
multiply(data, 0, z);
|
|
19135
|
-
multiply(data, 1 << -e, 0);
|
|
19136
|
-
result = dataToString(data) + repeat('0', fractDigits);
|
|
19137
|
-
}
|
|
19138
|
-
}
|
|
19219
|
+
/* style inject SSR */
|
|
19139
19220
|
|
|
19140
|
-
|
|
19141
|
-
k = result.length;
|
|
19142
|
-
result = sign + (k <= fractDigits ? '0.' + repeat('0', fractDigits - k) + result : stringSlice$2(result, 0, k - fractDigits) + '.' + stringSlice$2(result, k - fractDigits));
|
|
19143
|
-
} else {
|
|
19144
|
-
result = sign + result;
|
|
19145
|
-
}
|
|
19221
|
+
/* style inject shadow dom */
|
|
19146
19222
|
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
|
|
19223
|
+
var __vue_component__$14 = /*#__PURE__*/normalizeComponent({
|
|
19224
|
+
render: __vue_render__$14,
|
|
19225
|
+
staticRenderFns: __vue_staticRenderFns__$14
|
|
19226
|
+
}, __vue_inject_styles__$14, __vue_script__$14, __vue_scope_id__$14, __vue_is_functional_template__$14, __vue_module_identifier__$14, false, undefined, undefined, undefined);
|
|
19150
19227
|
|
|
19151
19228
|
var getAmount = function getAmount(price) {
|
|
19152
19229
|
var separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ".";
|
|
@@ -21604,74 +21681,6 @@ var CURRENCY_KEY_INDICATOR = "price";
|
|
|
21604
21681
|
var DEFAULT_PAGE_SIZE = 12;
|
|
21605
21682
|
var LUPA_ROUTING_EVENT = "lupaRedirect";
|
|
21606
21683
|
|
|
21607
|
-
var getNormalizedString = function getNormalizedString(str) {
|
|
21608
|
-
if (!str) {
|
|
21609
|
-
return "";
|
|
21610
|
-
}
|
|
21611
|
-
|
|
21612
|
-
var transformedStr = typeof str === "string" ? str : str.toString();
|
|
21613
|
-
return transformedStr.normalize === undefined ? transformedStr.toLocaleLowerCase() : transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "");
|
|
21614
|
-
};
|
|
21615
|
-
var capitalize = function capitalize(str) {
|
|
21616
|
-
if (!str) {
|
|
21617
|
-
return "";
|
|
21618
|
-
}
|
|
21619
|
-
|
|
21620
|
-
return str[0].toLocaleUpperCase() + str.slice(1);
|
|
21621
|
-
};
|
|
21622
|
-
var addParamsToLabel = function addParamsToLabel(label) {
|
|
21623
|
-
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
21624
|
-
params[_key - 1] = arguments[_key];
|
|
21625
|
-
}
|
|
21626
|
-
|
|
21627
|
-
if (!params || params.length < 1) {
|
|
21628
|
-
return label;
|
|
21629
|
-
}
|
|
21630
|
-
|
|
21631
|
-
var paramKeys = Array.from(Array(params.length).keys());
|
|
21632
|
-
return paramKeys.reduce(function (a, c) {
|
|
21633
|
-
return a.replace("{".concat(c + 1, "}"), params[c]);
|
|
21634
|
-
}, label);
|
|
21635
|
-
};
|
|
21636
|
-
var getRandomString = function getRandomString(length) {
|
|
21637
|
-
var chars = "0123456789abcdefghijklmnopqrstuvwxyz";
|
|
21638
|
-
var result = "";
|
|
21639
|
-
|
|
21640
|
-
for (var i = length; i > 0; --i) {
|
|
21641
|
-
result += chars[Math.floor(Math.random() * chars.length)];
|
|
21642
|
-
}
|
|
21643
|
-
|
|
21644
|
-
return result;
|
|
21645
|
-
};
|
|
21646
|
-
|
|
21647
|
-
var toFixedIfNecessary = function toFixedIfNecessary(value) {
|
|
21648
|
-
var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
21649
|
-
return (+parseFloat(value).toFixed(precision)).toString();
|
|
21650
|
-
};
|
|
21651
|
-
|
|
21652
|
-
var getDisplayValue = function getDisplayValue(value) {
|
|
21653
|
-
if (value === undefined) {
|
|
21654
|
-
return "";
|
|
21655
|
-
}
|
|
21656
|
-
|
|
21657
|
-
if (typeof value === "string") {
|
|
21658
|
-
return value;
|
|
21659
|
-
}
|
|
21660
|
-
|
|
21661
|
-
return toFixedIfNecessary(value.toString());
|
|
21662
|
-
};
|
|
21663
|
-
var getProductKey = function getProductKey(index, product, idKey) {
|
|
21664
|
-
if (!idKey) {
|
|
21665
|
-
return index;
|
|
21666
|
-
}
|
|
21667
|
-
|
|
21668
|
-
if (product[idKey]) {
|
|
21669
|
-
return product[idKey];
|
|
21670
|
-
}
|
|
21671
|
-
|
|
21672
|
-
return index;
|
|
21673
|
-
};
|
|
21674
|
-
|
|
21675
21684
|
var formatRange = function formatRange(filter) {
|
|
21676
21685
|
var _a, _b;
|
|
21677
21686
|
|
|
@@ -22138,7 +22147,7 @@ var getPageUrl = function getPageUrl(pathnameOverride) {
|
|
|
22138
22147
|
|
|
22139
22148
|
var history$3 = namespace("history");
|
|
22140
22149
|
var tracking$5 = namespace("tracking");
|
|
22141
|
-
var options$
|
|
22150
|
+
var options$a = namespace("options");
|
|
22142
22151
|
|
|
22143
22152
|
var SearchBoxProduct = /*#__PURE__*/function (_Vue) {
|
|
22144
22153
|
_inherits(SearchBoxProduct, _Vue);
|
|
@@ -22236,7 +22245,7 @@ __decorate([Prop({
|
|
|
22236
22245
|
default: false
|
|
22237
22246
|
})], SearchBoxProduct.prototype, "highlighted", void 0);
|
|
22238
22247
|
|
|
22239
|
-
__decorate([options$
|
|
22248
|
+
__decorate([options$a.Getter("boxRoutingBehavior")], SearchBoxProduct.prototype, "boxRoutingBehavior", void 0);
|
|
22240
22249
|
|
|
22241
22250
|
__decorate([tracking$5.Action("track")], SearchBoxProduct.prototype, "trackClick", void 0);
|
|
22242
22251
|
|
|
@@ -23667,7 +23676,7 @@ var defaultSuggestedValue = {
|
|
|
23667
23676
|
var history$1 = namespace("history");
|
|
23668
23677
|
var params$d = namespace("params");
|
|
23669
23678
|
var searchBox$2 = namespace("searchBox");
|
|
23670
|
-
var options$
|
|
23679
|
+
var options$9 = namespace("options");
|
|
23671
23680
|
var tracking$4 = namespace("tracking");
|
|
23672
23681
|
|
|
23673
23682
|
var SearchBox = /*#__PURE__*/function (_Vue) {
|
|
@@ -23737,7 +23746,8 @@ var SearchBox = /*#__PURE__*/function (_Vue) {
|
|
|
23737
23746
|
|
|
23738
23747
|
var el = document.getElementById("lupa-search-box");
|
|
23739
23748
|
var elementClass = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.className) !== null && _b !== void 0 ? _b : "";
|
|
23740
|
-
var
|
|
23749
|
+
var hasLupaClass = typeof elementClass.includes == "function" && elementClass.includes("lupa-search-box");
|
|
23750
|
+
var isOutsideElement = el && !el.contains(e.target) && !hasLupaClass;
|
|
23741
23751
|
|
|
23742
23752
|
if (!isOutsideElement) {
|
|
23743
23753
|
return;
|
|
@@ -23951,7 +23961,7 @@ __decorate([tracking$4.Action("track")], SearchBox.prototype, "trackClick", void
|
|
|
23951
23961
|
|
|
23952
23962
|
__decorate([params$d.Action("setSearchResultsLink")], SearchBox.prototype, "setSearchResultsLink", void 0);
|
|
23953
23963
|
|
|
23954
|
-
__decorate([options$
|
|
23964
|
+
__decorate([options$9.Mutation("setSearchBoxOptions")], SearchBox.prototype, "setSearchBoxOptions", void 0);
|
|
23955
23965
|
|
|
23956
23966
|
__decorate([params$d.Action("goToResults")], SearchBox.prototype, "goToResults", void 0);
|
|
23957
23967
|
|
|
@@ -24011,7 +24021,7 @@ __vue_render__$Q._withStripped = true;
|
|
|
24011
24021
|
|
|
24012
24022
|
var __vue_inject_styles__$Q = function __vue_inject_styles__(inject) {
|
|
24013
24023
|
if (!inject) return;
|
|
24014
|
-
inject("data-v-
|
|
24024
|
+
inject("data-v-73ed57d5_0", {
|
|
24015
24025
|
source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n",
|
|
24016
24026
|
map: undefined,
|
|
24017
24027
|
media: undefined
|
|
@@ -25600,7 +25610,7 @@ var toggleHierarchyParam = function toggleHierarchyParam() {
|
|
|
25600
25610
|
|
|
25601
25611
|
var searchResult$g = namespace("searchResult");
|
|
25602
25612
|
var params$c = namespace("params");
|
|
25603
|
-
var options$
|
|
25613
|
+
var options$8 = namespace("options");
|
|
25604
25614
|
|
|
25605
25615
|
var CurrentFilters = /*#__PURE__*/function (_Vue) {
|
|
25606
25616
|
_inherits(CurrentFilters, _Vue);
|
|
@@ -25677,7 +25687,7 @@ __decorate([searchResult$g.Getter("displayFilters")], CurrentFilters.prototype,
|
|
|
25677
25687
|
|
|
25678
25688
|
__decorate([searchResult$g.Getter("currentFilterCount")], CurrentFilters.prototype, "currentFilterCount", void 0);
|
|
25679
25689
|
|
|
25680
|
-
__decorate([options$
|
|
25690
|
+
__decorate([options$8.Getter("initialFilters")], CurrentFilters.prototype, "initialFilters", void 0);
|
|
25681
25691
|
|
|
25682
25692
|
__decorate([params$c.Action("removeParams")], CurrentFilters.prototype, "removeParams", void 0);
|
|
25683
25693
|
|
|
@@ -28612,7 +28622,7 @@ var _typeof = _typeof$2.exports.default;
|
|
|
28612
28622
|
|
|
28613
28623
|
var VueSlider = /*@__PURE__*/getDefaultExportFromCjs(vueSliderComponent_umd_min.exports);
|
|
28614
28624
|
|
|
28615
|
-
var options$
|
|
28625
|
+
var options$7 = namespace("options");
|
|
28616
28626
|
|
|
28617
28627
|
var TermFacet = /*#__PURE__*/function (_Vue) {
|
|
28618
28628
|
_inherits(TermFacet, _Vue);
|
|
@@ -28819,7 +28829,7 @@ __decorate([Prop({
|
|
|
28819
28829
|
}
|
|
28820
28830
|
})], TermFacet.prototype, "currentFilters", void 0);
|
|
28821
28831
|
|
|
28822
|
-
__decorate([options$
|
|
28832
|
+
__decorate([options$7.State(function (s) {
|
|
28823
28833
|
return s.searchResultOptions;
|
|
28824
28834
|
})], TermFacet.prototype, "searchResultOptions", void 0);
|
|
28825
28835
|
|
|
@@ -29935,7 +29945,7 @@ var __vue_component__$F = /*#__PURE__*/normalizeComponent({
|
|
|
29935
29945
|
staticRenderFns: __vue_staticRenderFns__$F
|
|
29936
29946
|
}, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, undefined, undefined);
|
|
29937
29947
|
|
|
29938
|
-
var options$
|
|
29948
|
+
var options$6 = namespace("options");
|
|
29939
29949
|
|
|
29940
29950
|
var CategoryFilter = /*#__PURE__*/function (_Vue) {
|
|
29941
29951
|
_inherits(CategoryFilter, _Vue);
|
|
@@ -30065,7 +30075,7 @@ var CategoryFilter = /*#__PURE__*/function (_Vue) {
|
|
|
30065
30075
|
|
|
30066
30076
|
__decorate([Prop()], CategoryFilter.prototype, "options", void 0);
|
|
30067
30077
|
|
|
30068
|
-
__decorate([options$
|
|
30078
|
+
__decorate([options$6.Getter("envOptions")], CategoryFilter.prototype, "envOptions", void 0);
|
|
30069
30079
|
|
|
30070
30080
|
CategoryFilter = __decorate([Component({
|
|
30071
30081
|
name: "categoryFilter",
|
|
@@ -31052,7 +31062,7 @@ var __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
|
31052
31062
|
staticRenderFns: __vue_staticRenderFns__$w
|
|
31053
31063
|
}, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, undefined, undefined);
|
|
31054
31064
|
|
|
31055
|
-
var options$
|
|
31065
|
+
var options$5 = namespace("options");
|
|
31056
31066
|
|
|
31057
31067
|
var SearchResultsProductTitle = /*#__PURE__*/function (_Vue) {
|
|
31058
31068
|
_inherits(SearchResultsProductTitle, _Vue);
|
|
@@ -31105,7 +31115,7 @@ __decorate([Prop({
|
|
|
31105
31115
|
default: ""
|
|
31106
31116
|
})], SearchResultsProductTitle.prototype, "link", void 0);
|
|
31107
31117
|
|
|
31108
|
-
__decorate([options$
|
|
31118
|
+
__decorate([options$5.State(function (o) {
|
|
31109
31119
|
return o.searchResultOptions;
|
|
31110
31120
|
})], SearchResultsProductTitle.prototype, "searchResultOptions", void 0);
|
|
31111
31121
|
|
|
@@ -32016,6 +32026,7 @@ var __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
|
32016
32026
|
var tracking$3 = namespace("tracking");
|
|
32017
32027
|
var params$9 = namespace("params");
|
|
32018
32028
|
var searchResult$b = namespace("searchResult");
|
|
32029
|
+
var options$4 = namespace("options");
|
|
32019
32030
|
|
|
32020
32031
|
var SearchResultsProductCard = /*#__PURE__*/function (_Vue) {
|
|
32021
32032
|
_inherits(SearchResultsProductCard, _Vue);
|
|
@@ -32081,7 +32092,7 @@ var SearchResultsProductCard = /*#__PURE__*/function (_Vue) {
|
|
|
32081
32092
|
}, {
|
|
32082
32093
|
key: "hasEventRouting",
|
|
32083
32094
|
get: function get() {
|
|
32084
|
-
return this.
|
|
32095
|
+
return this.searchResultsRoutingBehavior === "event";
|
|
32085
32096
|
}
|
|
32086
32097
|
}, {
|
|
32087
32098
|
key: "mounted",
|
|
@@ -32186,6 +32197,8 @@ __decorate([searchResult$b.State(function (state) {
|
|
|
32186
32197
|
return state.layout;
|
|
32187
32198
|
})], SearchResultsProductCard.prototype, "layout", void 0);
|
|
32188
32199
|
|
|
32200
|
+
__decorate([options$4.Getter("searchResultsRoutingBehavior")], SearchResultsProductCard.prototype, "searchResultsRoutingBehavior", void 0);
|
|
32201
|
+
|
|
32189
32202
|
__decorate([params$9.Getter("query")], SearchResultsProductCard.prototype, "query", void 0);
|
|
32190
32203
|
|
|
32191
32204
|
__decorate([tracking$3.Action("track")], SearchResultsProductCard.prototype, "trackClick", void 0);
|
|
@@ -34788,6 +34801,11 @@ var SearchResults = /*#__PURE__*/function (_Vue) {
|
|
|
34788
34801
|
var query = Object.assign(Object.assign(Object.assign({}, publicQuery), context), {
|
|
34789
34802
|
limit: limit
|
|
34790
34803
|
});
|
|
34804
|
+
|
|
34805
|
+
if (!query.searchText && this.options.disallowEmptyQuery) {
|
|
34806
|
+
return;
|
|
34807
|
+
}
|
|
34808
|
+
|
|
34791
34809
|
getLupaSdk.query(this.options.queryKey, query, this.options.options).then(function (res) {
|
|
34792
34810
|
var _a, _b;
|
|
34793
34811
|
|
|
@@ -36884,6 +36902,13 @@ var OptionsModule = /*#__PURE__*/function (_VuexModule) {
|
|
|
36884
36902
|
|
|
36885
36903
|
return (_a = this.searchBoxOptions.routingBehavior) !== null && _a !== void 0 ? _a : "direct-link";
|
|
36886
36904
|
}
|
|
36905
|
+
}, {
|
|
36906
|
+
key: "searchResultsRoutingBehavior",
|
|
36907
|
+
get: function get() {
|
|
36908
|
+
var _a;
|
|
36909
|
+
|
|
36910
|
+
return (_a = this.searchResultOptions.routingBehavior) !== null && _a !== void 0 ? _a : "direct-link";
|
|
36911
|
+
}
|
|
36887
36912
|
}, {
|
|
36888
36913
|
key: "defaultSearchResultPageSize",
|
|
36889
36914
|
get: function get() {
|