@getlupa/vue 0.1.2 → 0.1.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.
@@ -2216,6 +2216,15 @@ var SearchBoxPanelType = /* @__PURE__ */ ((SearchBoxPanelType2) => {
2216
2216
  SearchBoxPanelType2["DOCUMENT"] = "document";
2217
2217
  return SearchBoxPanelType2;
2218
2218
  })(SearchBoxPanelType || {});
2219
+ var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
2220
+ BadgeType2["DISCOUNTPERCENTAGE"] = "discountPercentage";
2221
+ BadgeType2["DISCOUNTAMOUNT"] = "discountAmount";
2222
+ BadgeType2["NEWITEM"] = "newItem";
2223
+ BadgeType2["TEXT"] = "text";
2224
+ BadgeType2["IMAGE"] = "image";
2225
+ BadgeType2["CUSTOM_HTML"] = "customHtml";
2226
+ return BadgeType2;
2227
+ })(BadgeType || {});
2219
2228
  const retrieveHistory = () => {
2220
2229
  try {
2221
2230
  const historyString = window.localStorage.getItem(HISTORY_LOCAL_STORAGE_KEY);
@@ -7792,15 +7801,6 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7792
7801
  };
7793
7802
  }
7794
7803
  });
7795
- var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
7796
- BadgeType2["DISCOUNTPERCENTAGE"] = "discountPercentage";
7797
- BadgeType2["DISCOUNTAMOUNT"] = "discountAmount";
7798
- BadgeType2["NEWITEM"] = "newItem";
7799
- BadgeType2["TEXT"] = "text";
7800
- BadgeType2["IMAGE"] = "image";
7801
- BadgeType2["CUSTOM_HTML"] = "customHtml";
7802
- return BadgeType2;
7803
- })(BadgeType || {});
7804
7804
  const _hoisted_1$p = { class: "lupa-generated-badges" };
7805
7805
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
7806
7806
  __name: "SearchResultGeneratedBadges",
@@ -15966,6 +15966,7 @@ const LupaSearch = {
15966
15966
  app.use(pinia);
15967
15967
  }
15968
15968
  };
15969
+ exports.BadgeType = BadgeType;
15969
15970
  exports.DocumentElementType = DocumentElementType;
15970
15971
  exports.LupaSearch = LupaSearch;
15971
15972
  exports.ProductList = _sfc_main$2;
@@ -2214,6 +2214,15 @@ var SearchBoxPanelType = /* @__PURE__ */ ((SearchBoxPanelType2) => {
2214
2214
  SearchBoxPanelType2["DOCUMENT"] = "document";
2215
2215
  return SearchBoxPanelType2;
2216
2216
  })(SearchBoxPanelType || {});
2217
+ var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
2218
+ BadgeType2["DISCOUNTPERCENTAGE"] = "discountPercentage";
2219
+ BadgeType2["DISCOUNTAMOUNT"] = "discountAmount";
2220
+ BadgeType2["NEWITEM"] = "newItem";
2221
+ BadgeType2["TEXT"] = "text";
2222
+ BadgeType2["IMAGE"] = "image";
2223
+ BadgeType2["CUSTOM_HTML"] = "customHtml";
2224
+ return BadgeType2;
2225
+ })(BadgeType || {});
2217
2226
  const retrieveHistory = () => {
2218
2227
  try {
2219
2228
  const historyString = window.localStorage.getItem(HISTORY_LOCAL_STORAGE_KEY);
@@ -7790,15 +7799,6 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
7790
7799
  };
7791
7800
  }
7792
7801
  });
7793
- var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
7794
- BadgeType2["DISCOUNTPERCENTAGE"] = "discountPercentage";
7795
- BadgeType2["DISCOUNTAMOUNT"] = "discountAmount";
7796
- BadgeType2["NEWITEM"] = "newItem";
7797
- BadgeType2["TEXT"] = "text";
7798
- BadgeType2["IMAGE"] = "image";
7799
- BadgeType2["CUSTOM_HTML"] = "customHtml";
7800
- return BadgeType2;
7801
- })(BadgeType || {});
7802
7802
  const _hoisted_1$p = { class: "lupa-generated-badges" };
7803
7803
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
7804
7804
  __name: "SearchResultGeneratedBadges",
@@ -15965,6 +15965,7 @@ const LupaSearch = {
15965
15965
  }
15966
15966
  };
15967
15967
  export {
15968
+ BadgeType,
15968
15969
  DocumentElementType,
15969
15970
  LupaSearch,
15970
15971
  _sfc_main$2 as ProductList,
@@ -7,7 +7,8 @@ import type { ProductRecommendationOptions, RecommendationABTestingOptions } fro
7
7
  import type { SearchBoxOptions } from './types/search-box/SearchBoxOptions';
8
8
  import { SearchBoxPanelType } from './types/search-box/SearchBoxPanel';
9
9
  import type { SearchContainerOptions, SearchContainerConfigOptions } from './types/search-container/SearchContainerOptions';
10
- import type { SearchResultBadgeType, SearchResultBadgeElement, BadgeGenerateSeed, BadgeGenerateOptions, BadgeOptions, BadgeType } from './types/search-results/BadgeOptions';
10
+ import type { SearchResultBadgeType, SearchResultBadgeElement, BadgeGenerateSeed, BadgeGenerateOptions, BadgeOptions } from './types/search-results/BadgeOptions';
11
+ import { BadgeType } from './types/search-results/BadgeOptions';
11
12
  import type { RoutingBehavior } from './types/search-results/RoutingBehavior';
12
13
  import type { SearchResultsOptions, FacetStyle, SearchResultEventCallbacks, CallbackContext, FacetFilterQuery, SearchResultsFilterOptions, ResultFacetOptions, DynamicData, SsrOptions } from './types/search-results/SearchResultsOptions';
13
14
  import type { AnchorPosition } from './types/search-results/SearchResultsProductCardOptions';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",