@getlupa/vue 0.23.1 → 0.23.2
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/lupaSearch.js +1 -0
- package/dist/lupaSearch.mjs +1 -0
- package/package.json +1 -1
package/dist/lupaSearch.js
CHANGED
|
@@ -30534,6 +30534,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
30534
30534
|
itemId: id.value,
|
|
30535
30535
|
searchQuery: query.value,
|
|
30536
30536
|
type: item.type,
|
|
30537
|
+
options: props.lupaClickTrackingType === "recommendedItemClick" ? { allowEmptySearchQuery: true } : void 0,
|
|
30537
30538
|
analytics: item.type === "addToCart" ? {
|
|
30538
30539
|
type: "search_add_to_cart",
|
|
30539
30540
|
label: title.value || id.value || link.value
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -30532,6 +30532,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30532
30532
|
itemId: id.value,
|
|
30533
30533
|
searchQuery: query.value,
|
|
30534
30534
|
type: item.type,
|
|
30535
|
+
options: props.lupaClickTrackingType === "recommendedItemClick" ? { allowEmptySearchQuery: true } : void 0,
|
|
30535
30536
|
analytics: item.type === "addToCart" ? {
|
|
30536
30537
|
type: "search_add_to_cart",
|
|
30537
30538
|
label: title.value || id.value || link.value
|