@lightspeed/ecom-headless 1.1.2 → 1.1.4-rc.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -3
  3. package/dist/api/index.cjs +1 -1
  4. package/dist/api/index.cjs.map +1 -1
  5. package/dist/api/index.d.cts +24 -2
  6. package/dist/api/index.d.mts +24 -2
  7. package/dist/api/index.d.ts +24 -2
  8. package/dist/api/index.mjs +1 -1
  9. package/dist/api/index.mjs.map +1 -1
  10. package/dist/index.cjs +1 -1
  11. package/dist/index.d.cts +4 -4
  12. package/dist/index.d.mts +4 -4
  13. package/dist/index.d.ts +4 -4
  14. package/dist/index.mjs +1 -1
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/plugin-visualizer/bundle.html +1 -1
  17. package/dist/shared/{ecom-headless.D2QPHn5F.d.ts → ecom-headless.B47rEAOn.d.ts} +2 -2
  18. package/dist/shared/{ecom-headless.BTRqua6N.d.cts → ecom-headless.BTXuBMcG.d.cts} +2 -2
  19. package/dist/shared/{ecom-headless.BTRqua6N.d.mts → ecom-headless.BTXuBMcG.d.mts} +2 -2
  20. package/dist/shared/{ecom-headless.BTRqua6N.d.ts → ecom-headless.BTXuBMcG.d.ts} +2 -2
  21. package/dist/shared/{ecom-headless.DTL4WyVk.d.cts → ecom-headless.Bm1MKC5K.d.cts} +264 -38
  22. package/dist/shared/{ecom-headless.DTL4WyVk.d.mts → ecom-headless.Bm1MKC5K.d.mts} +264 -38
  23. package/dist/shared/{ecom-headless.DTL4WyVk.d.ts → ecom-headless.Bm1MKC5K.d.ts} +264 -38
  24. package/dist/shared/{ecom-headless.fwEDqznC.d.mts → ecom-headless.CdAf5aSI.d.cts} +2 -2
  25. package/dist/shared/ecom-headless.CiGkSfL9.cjs.map +1 -1
  26. package/dist/shared/ecom-headless.biFHUae1.mjs.map +1 -1
  27. package/dist/shared/{ecom-headless.n2b3FM61.d.cts → ecom-headless.r8wgepwM.d.mts} +2 -2
  28. package/dist/storefront/index.cjs.map +1 -1
  29. package/dist/storefront/index.d.cts +2 -2
  30. package/dist/storefront/index.d.mts +2 -2
  31. package/dist/storefront/index.d.ts +2 -2
  32. package/dist/storefront/index.mjs.map +1 -1
  33. package/dist/types/index.d.cts +3 -3
  34. package/dist/types/index.d.mts +3 -3
  35. package/dist/types/index.d.ts +3 -3
  36. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- export { downloadProductFile, getApiConfig, getProduct, getProductType, getProductVariation, getStoreProfile, initStorefrontApi, searchCategories, searchCategoriesByPath, searchProductBrands, searchProductTypes, searchProductVariations, searchProducts } from './api/index.mjs';
2
- export { q as Cart, r as Customer, E as EcwidWidgetValues, O as OnCartChanged, k as OnConsentChanged, l as OnPageLoad, m as OnPageLoaded, n as OnPageSwitch, p as OnSetProfile, f as formatCurrency, g as getAppPublicConfig, a as getAppPublicToken, b as getInitializedWidgets, c as getOwnerId, d as getStoreId, e as getStorefrontLang, h as getTrackingConsent, i as getVisitorLocation, j as isStorefrontV3, o as openPage, s as setTrackingConsent } from './shared/ecom-headless.fwEDqznC.mjs';
3
- export { a as AddProductData, b as AddProductParameter, A as AddProductRecurringChargeSettings, v as BaseJsApiPage, B as BillingPerson, d as CartAddProductCallback, i as CartApi, g as CartCalculateTotalCallback, f as CartClearCallback, p as CartData, n as CartDominatingColor, c as CartGetCallback, h as CartGoToCheckoutCallback, m as CartImageBorderInfo, o as CartItem, k as CartMediaItem, j as CartProduct, e as CartRemoveProductCallback, l as CartVideoInfo, s as CustomerApi, C as CustomerCookieConsentValues, t as CustomerData, q as CustomerGetCallback, r as CustomerSignOutCallback, E as EcwidApiPromise, w as JsApiFilterParams, u as JsApiPage, J as JsApiPageValues, L as LegalPageTypeValues, O as Order, R as RecurringChargeSettings, S as ShippingAddress, T as TrackingConsent, x as VisitorLocation, V as VisitorLocationSourceValues } from './shared/ecom-headless.BTRqua6N.mjs';
4
- export { aW as AbandonedSales, a4 as Account, a6 as AccountBilling, ac as AddressFormat, am as AdminMessages, b5 as ApiConfig, av as ApplePay, aw as ApplePayOptions, a2 as AsQueryParams, aN as BlackoutDates, aM as BusinessHours, a7 as BusinessRegistrationID, aJ as CarrierMethod, aL as CarrierSettings, C as Category, a as CategoryImage, b as CategoryImageAlt, a8 as Company, b1 as CustomTipSettings, al as CustomerMarketingMessages, an as CustomerOrderMessages, a9 as DesignSettings, Q as DownloadProductFileParams, O as DownloadProductFileResponse, aa as FbMessengerSettings, ab as FeatureToggle, az as FilterSection, aB as FlatRate, ad as FormatsAndUnits, ae as GeneralInfo, aQ as GeoPolygon, N as GetProductParams, M as GetProductResponse, Z as GetProductTypeParams, Y as GetProductTypeResponse, V as GetProductVariationParams, U as GetProductVariationResponse, b4 as GetStoreProfileParams, b3 as GetStoreProfileResponse, af as GiftCardProduct, ag as GiftCardSettings, aI as HandlingFee, as as InstructionsForCustomer, ah as Languages, ai as LegalPage, aj as LegalPagesSettings, a5 as LimitsAndRestrictions, L as LowestPriceSettings, ao as MailNotifications, ak as MailNotificationsSettings, ap as MailchimpSettings, aq as OrderInvoiceSettings, a0 as PaginatedResponse, ax as Payment, au as PaymentOption, ar as PaymentShippingSettings, at as PaymentSurcharge, ay as PhoneNotifications, aK as PostageDimensions, I as Product, h as ProductAttribute, g as ProductAttributeType, P as ProductAttributeVisibility, r as ProductBorderInfo, i as ProductBrand, j as ProductCategory, l as ProductCombination, k as ProductCombinationOption, m as ProductCompositeComponent, n as ProductDimensions, q as ProductDominatingColor, o as ProductFavorites, p as ProductFile, aA as ProductFiltersSettings, s as ProductGalleryImage, t as ProductImage, u as ProductImageAlt, x as ProductMedia, v as ProductMediaImage, w as ProductMediaVideo, z as ProductOption, y as ProductOptionChoice, E as ProductRecurringChargeSettings, A as ProductRelatedCategory, B as ProductRelatedProducts, D as ProductShipping, F as ProductSubscriptionSettings, G as ProductTax, H as ProductType, a1 as QueryParams, aF as Rate, aE as RateCondition, aD as Rates, aC as RatesTable, aY as RecurringSubscriptionsSettings, aG as RegistrationAnswers, aH as SalePrice, f as SearchCategoriesByPathParams, e as SearchCategoriesByPathResponse, d as SearchCategoriesParams, c as SearchCategoriesResponse, $ as SearchProductBrandsParams, _ as SearchProductBrandsResponse, X as SearchProductTypesResponse, T as SearchProductVariationsParams, R as SearchProductVariationsResponse, K as SearchProductsParams, J as SearchProductsResponse, aP as Shipping, aO as ShippingOption, aS as SocialLink, aT as SocialLinksSettings, S as SortByValues, aU as StarterSite, aV as StoreProfile, aX as StoreSettings, aR as StoreZone, aZ as SupportedPaymentMethodsStatuses, a$ as Tax, a_ as TaxRule, b0 as TaxSettings, b2 as TipsSettings, a3 as Translations, W as WholesalePrice } from './shared/ecom-headless.DTL4WyVk.mjs';
1
+ export { downloadProductFile, getApiConfig, getProduct, getProductType, getProductVariation, getReviews, getStoreProfile, initStorefrontApi, searchCategories, searchCategoriesByPath, searchProductBrands, searchProductTypes, searchProductVariations, searchProducts } from './api/index.mjs';
2
+ export { i as Cart, a as Customer, E as EcwidWidgetValues, O as OnCartChanged, b as OnConsentChanged, c as OnPageLoad, d as OnPageLoaded, e as OnPageSwitch, f as OnSetProfile, g as formatCurrency, h as getAppPublicConfig, j as getAppPublicToken, k as getInitializedWidgets, l as getOwnerId, m as getStoreId, n as getStorefrontLang, o as getTrackingConsent, p as getVisitorLocation, q as isStorefrontV3, r as openPage, s as setTrackingConsent } from './shared/ecom-headless.r8wgepwM.mjs';
3
+ export { A as AddProductData, a as AddProductParameter, b as AddProductRecurringChargeSettings, B as BaseJsApiPage, c as BillingPerson, C as CartAddProductCallback, d as CartApi, e as CartCalculateTotalCallback, f as CartClearCallback, g as CartData, h as CartDominatingColor, i as CartGetCallback, j as CartGoToCheckoutCallback, k as CartImageBorderInfo, l as CartItem, m as CartMediaItem, n as CartProduct, o as CartRemoveProductCallback, p as CartVideoInfo, q as CustomerApi, r as CustomerCookieConsentValues, s as CustomerData, t as CustomerGetCallback, u as CustomerSignOutCallback, E as EcwidApiPromise, J as JsApiFilterParams, v as JsApiPage, w as JsApiPageValues, L as LegalPageTypeValues, O as Order, R as RecurringChargeSettings, S as ShippingAddress, T as TrackingConsent, V as VisitorLocation, x as VisitorLocationSourceValues } from './shared/ecom-headless.BTXuBMcG.mjs';
4
+ export { A as AbandonedSales, a as Account, b as AccountBilling, c as AddressFormat, d as AdminMessages, e as ApiConfig, f as ApplePay, g as ApplePayOptions, h as AsQueryParams, B as BlackoutDates, i as BusinessHours, j as BusinessRegistrationID, C as CarrierMethod, k as CarrierSettings, l as Category, m as CategoryImage, n as CategoryImageAlt, o as Company, p as CustomTipSettings, q as CustomerMarketingMessages, r as CustomerOrderMessages, D as DesignSettings, s as DownloadProductFileParams, t as DownloadProductFileResponse, F as FbMessengerSettings, u as FeatureToggle, v as FilterSection, w as FlatRate, x as FormatsAndUnits, G as GeneralInfo, y as GeoPolygon, z as GetProductParams, E as GetProductResponse, H as GetProductTypeParams, I as GetProductTypeResponse, J as GetProductVariationParams, K as GetProductVariationResponse, L as GetReviewsParams, M as GetReviewsResponse, N as GetStoreProfileParams, O as GetStoreProfileResponse, P as GiftCardProduct, Q as GiftCardSettings, R as HandlingFee, S as InstructionsForCustomer, T as Languages, U as LegalPage, V as LegalPagesSettings, W as LimitsAndRestrictions, X as LowestPriceSettings, Y as MailNotifications, Z as MailNotificationsSettings, _ as MailchimpSettings, $ as OrderInvoiceSettings, a0 as PaginatedResponse, a1 as Payment, a2 as PaymentOption, a3 as PaymentShippingSettings, a4 as PaymentSurcharge, a5 as PhoneNotifications, a6 as PostageDimensions, a7 as Product, a8 as ProductAttribute, a9 as ProductAttributeType, aa as ProductAttributeVisibility, ab as ProductBorderInfo, ac as ProductBrand, ad as ProductCategory, ae as ProductCombination, af as ProductCombinationOption, ag as ProductCompositeComponent, ah as ProductDimensions, ai as ProductDominatingColor, aj as ProductFavorites, ak as ProductFile, al as ProductFiltersSettings, am as ProductGalleryImage, an as ProductImage, ao as ProductImageAlt, ap as ProductMedia, aq as ProductMediaImage, ar as ProductMediaVideo, as as ProductOption, at as ProductOptionChoice, au as ProductRecurringChargeSettings, av as ProductRelatedCategory, aw as ProductRelatedProducts, ax as ProductShipping, ay as ProductSubscriptionSettings, az as ProductTax, aA as ProductType, aB as QueryParams, aC as Rate, aD as RateCondition, aE as Rates, aF as RatesTable, aG as RecurringSubscriptionsSettings, aH as RegistrationAnswers, aI as SalePrice, aJ as SearchCategoriesByPathParams, aK as SearchCategoriesByPathResponse, aL as SearchCategoriesParams, aM as SearchCategoriesResponse, aN as SearchProductBrandsParams, aO as SearchProductBrandsResponse, aP as SearchProductTypesResponse, aQ as SearchProductVariationsParams, aR as SearchProductVariationsResponse, aS as SearchProductsParams, aT as SearchProductsResponse, aU as Shipping, aV as ShippingOption, aW as SocialLink, aX as SocialLinksSettings, aY as SortByValues, aZ as StarterSite, a_ as StoreProfile, a$ as StoreSettings, b0 as StoreZone, b1 as SupportedPaymentMethodsStatuses, b2 as Tax, b3 as TaxRule, b4 as TaxSettings, b5 as TipsSettings, b6 as Translations, b7 as WholesalePrice } from './shared/ecom-headless.Bm1MKC5K.mjs';
5
5
  import 'buffer';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { downloadProductFile, getApiConfig, getProduct, getProductType, getProductVariation, getStoreProfile, initStorefrontApi, searchCategories, searchCategoriesByPath, searchProductBrands, searchProductTypes, searchProductVariations, searchProducts } from './api/index.js';
2
- export { q as Cart, r as Customer, E as EcwidWidgetValues, O as OnCartChanged, k as OnConsentChanged, l as OnPageLoad, m as OnPageLoaded, n as OnPageSwitch, p as OnSetProfile, f as formatCurrency, g as getAppPublicConfig, a as getAppPublicToken, b as getInitializedWidgets, c as getOwnerId, d as getStoreId, e as getStorefrontLang, h as getTrackingConsent, i as getVisitorLocation, j as isStorefrontV3, o as openPage, s as setTrackingConsent } from './shared/ecom-headless.D2QPHn5F.js';
3
- export { a as AddProductData, b as AddProductParameter, A as AddProductRecurringChargeSettings, v as BaseJsApiPage, B as BillingPerson, d as CartAddProductCallback, i as CartApi, g as CartCalculateTotalCallback, f as CartClearCallback, p as CartData, n as CartDominatingColor, c as CartGetCallback, h as CartGoToCheckoutCallback, m as CartImageBorderInfo, o as CartItem, k as CartMediaItem, j as CartProduct, e as CartRemoveProductCallback, l as CartVideoInfo, s as CustomerApi, C as CustomerCookieConsentValues, t as CustomerData, q as CustomerGetCallback, r as CustomerSignOutCallback, E as EcwidApiPromise, w as JsApiFilterParams, u as JsApiPage, J as JsApiPageValues, L as LegalPageTypeValues, O as Order, R as RecurringChargeSettings, S as ShippingAddress, T as TrackingConsent, x as VisitorLocation, V as VisitorLocationSourceValues } from './shared/ecom-headless.BTRqua6N.js';
4
- export { aW as AbandonedSales, a4 as Account, a6 as AccountBilling, ac as AddressFormat, am as AdminMessages, b5 as ApiConfig, av as ApplePay, aw as ApplePayOptions, a2 as AsQueryParams, aN as BlackoutDates, aM as BusinessHours, a7 as BusinessRegistrationID, aJ as CarrierMethod, aL as CarrierSettings, C as Category, a as CategoryImage, b as CategoryImageAlt, a8 as Company, b1 as CustomTipSettings, al as CustomerMarketingMessages, an as CustomerOrderMessages, a9 as DesignSettings, Q as DownloadProductFileParams, O as DownloadProductFileResponse, aa as FbMessengerSettings, ab as FeatureToggle, az as FilterSection, aB as FlatRate, ad as FormatsAndUnits, ae as GeneralInfo, aQ as GeoPolygon, N as GetProductParams, M as GetProductResponse, Z as GetProductTypeParams, Y as GetProductTypeResponse, V as GetProductVariationParams, U as GetProductVariationResponse, b4 as GetStoreProfileParams, b3 as GetStoreProfileResponse, af as GiftCardProduct, ag as GiftCardSettings, aI as HandlingFee, as as InstructionsForCustomer, ah as Languages, ai as LegalPage, aj as LegalPagesSettings, a5 as LimitsAndRestrictions, L as LowestPriceSettings, ao as MailNotifications, ak as MailNotificationsSettings, ap as MailchimpSettings, aq as OrderInvoiceSettings, a0 as PaginatedResponse, ax as Payment, au as PaymentOption, ar as PaymentShippingSettings, at as PaymentSurcharge, ay as PhoneNotifications, aK as PostageDimensions, I as Product, h as ProductAttribute, g as ProductAttributeType, P as ProductAttributeVisibility, r as ProductBorderInfo, i as ProductBrand, j as ProductCategory, l as ProductCombination, k as ProductCombinationOption, m as ProductCompositeComponent, n as ProductDimensions, q as ProductDominatingColor, o as ProductFavorites, p as ProductFile, aA as ProductFiltersSettings, s as ProductGalleryImage, t as ProductImage, u as ProductImageAlt, x as ProductMedia, v as ProductMediaImage, w as ProductMediaVideo, z as ProductOption, y as ProductOptionChoice, E as ProductRecurringChargeSettings, A as ProductRelatedCategory, B as ProductRelatedProducts, D as ProductShipping, F as ProductSubscriptionSettings, G as ProductTax, H as ProductType, a1 as QueryParams, aF as Rate, aE as RateCondition, aD as Rates, aC as RatesTable, aY as RecurringSubscriptionsSettings, aG as RegistrationAnswers, aH as SalePrice, f as SearchCategoriesByPathParams, e as SearchCategoriesByPathResponse, d as SearchCategoriesParams, c as SearchCategoriesResponse, $ as SearchProductBrandsParams, _ as SearchProductBrandsResponse, X as SearchProductTypesResponse, T as SearchProductVariationsParams, R as SearchProductVariationsResponse, K as SearchProductsParams, J as SearchProductsResponse, aP as Shipping, aO as ShippingOption, aS as SocialLink, aT as SocialLinksSettings, S as SortByValues, aU as StarterSite, aV as StoreProfile, aX as StoreSettings, aR as StoreZone, aZ as SupportedPaymentMethodsStatuses, a$ as Tax, a_ as TaxRule, b0 as TaxSettings, b2 as TipsSettings, a3 as Translations, W as WholesalePrice } from './shared/ecom-headless.DTL4WyVk.js';
1
+ export { downloadProductFile, getApiConfig, getProduct, getProductType, getProductVariation, getReviews, getStoreProfile, initStorefrontApi, searchCategories, searchCategoriesByPath, searchProductBrands, searchProductTypes, searchProductVariations, searchProducts } from './api/index.js';
2
+ export { i as Cart, a as Customer, E as EcwidWidgetValues, O as OnCartChanged, b as OnConsentChanged, c as OnPageLoad, d as OnPageLoaded, e as OnPageSwitch, f as OnSetProfile, g as formatCurrency, h as getAppPublicConfig, j as getAppPublicToken, k as getInitializedWidgets, l as getOwnerId, m as getStoreId, n as getStorefrontLang, o as getTrackingConsent, p as getVisitorLocation, q as isStorefrontV3, r as openPage, s as setTrackingConsent } from './shared/ecom-headless.B47rEAOn.js';
3
+ export { A as AddProductData, a as AddProductParameter, b as AddProductRecurringChargeSettings, B as BaseJsApiPage, c as BillingPerson, C as CartAddProductCallback, d as CartApi, e as CartCalculateTotalCallback, f as CartClearCallback, g as CartData, h as CartDominatingColor, i as CartGetCallback, j as CartGoToCheckoutCallback, k as CartImageBorderInfo, l as CartItem, m as CartMediaItem, n as CartProduct, o as CartRemoveProductCallback, p as CartVideoInfo, q as CustomerApi, r as CustomerCookieConsentValues, s as CustomerData, t as CustomerGetCallback, u as CustomerSignOutCallback, E as EcwidApiPromise, J as JsApiFilterParams, v as JsApiPage, w as JsApiPageValues, L as LegalPageTypeValues, O as Order, R as RecurringChargeSettings, S as ShippingAddress, T as TrackingConsent, V as VisitorLocation, x as VisitorLocationSourceValues } from './shared/ecom-headless.BTXuBMcG.js';
4
+ export { A as AbandonedSales, a as Account, b as AccountBilling, c as AddressFormat, d as AdminMessages, e as ApiConfig, f as ApplePay, g as ApplePayOptions, h as AsQueryParams, B as BlackoutDates, i as BusinessHours, j as BusinessRegistrationID, C as CarrierMethod, k as CarrierSettings, l as Category, m as CategoryImage, n as CategoryImageAlt, o as Company, p as CustomTipSettings, q as CustomerMarketingMessages, r as CustomerOrderMessages, D as DesignSettings, s as DownloadProductFileParams, t as DownloadProductFileResponse, F as FbMessengerSettings, u as FeatureToggle, v as FilterSection, w as FlatRate, x as FormatsAndUnits, G as GeneralInfo, y as GeoPolygon, z as GetProductParams, E as GetProductResponse, H as GetProductTypeParams, I as GetProductTypeResponse, J as GetProductVariationParams, K as GetProductVariationResponse, L as GetReviewsParams, M as GetReviewsResponse, N as GetStoreProfileParams, O as GetStoreProfileResponse, P as GiftCardProduct, Q as GiftCardSettings, R as HandlingFee, S as InstructionsForCustomer, T as Languages, U as LegalPage, V as LegalPagesSettings, W as LimitsAndRestrictions, X as LowestPriceSettings, Y as MailNotifications, Z as MailNotificationsSettings, _ as MailchimpSettings, $ as OrderInvoiceSettings, a0 as PaginatedResponse, a1 as Payment, a2 as PaymentOption, a3 as PaymentShippingSettings, a4 as PaymentSurcharge, a5 as PhoneNotifications, a6 as PostageDimensions, a7 as Product, a8 as ProductAttribute, a9 as ProductAttributeType, aa as ProductAttributeVisibility, ab as ProductBorderInfo, ac as ProductBrand, ad as ProductCategory, ae as ProductCombination, af as ProductCombinationOption, ag as ProductCompositeComponent, ah as ProductDimensions, ai as ProductDominatingColor, aj as ProductFavorites, ak as ProductFile, al as ProductFiltersSettings, am as ProductGalleryImage, an as ProductImage, ao as ProductImageAlt, ap as ProductMedia, aq as ProductMediaImage, ar as ProductMediaVideo, as as ProductOption, at as ProductOptionChoice, au as ProductRecurringChargeSettings, av as ProductRelatedCategory, aw as ProductRelatedProducts, ax as ProductShipping, ay as ProductSubscriptionSettings, az as ProductTax, aA as ProductType, aB as QueryParams, aC as Rate, aD as RateCondition, aE as Rates, aF as RatesTable, aG as RecurringSubscriptionsSettings, aH as RegistrationAnswers, aI as SalePrice, aJ as SearchCategoriesByPathParams, aK as SearchCategoriesByPathResponse, aL as SearchCategoriesParams, aM as SearchCategoriesResponse, aN as SearchProductBrandsParams, aO as SearchProductBrandsResponse, aP as SearchProductTypesResponse, aQ as SearchProductVariationsParams, aR as SearchProductVariationsResponse, aS as SearchProductsParams, aT as SearchProductsResponse, aU as Shipping, aV as ShippingOption, aW as SocialLink, aX as SocialLinksSettings, aY as SortByValues, aZ as StarterSite, a_ as StoreProfile, a$ as StoreSettings, b0 as StoreZone, b1 as SupportedPaymentMethodsStatuses, b2 as Tax, b3 as TaxRule, b4 as TaxSettings, b5 as TipsSettings, b6 as Translations, b7 as WholesalePrice } from './shared/ecom-headless.Bm1MKC5K.js';
5
5
  import 'buffer';
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{downloadProductFile,getApiConfig,getProduct,getProductType,getProductVariation,getStoreProfile,initStorefrontApi,searchCategories,searchCategoriesByPath,searchProductBrands,searchProductTypes,searchProductVariations,searchProducts}from"./api/index.mjs";export{Cart,Customer,OnCartChanged,OnConsentChanged,OnPageLoad,OnPageLoaded,OnPageSwitch,OnSetProfile,formatCurrency,getAppPublicConfig,getAppPublicToken,getInitializedWidgets,getStorefrontLang,getTrackingConsent,getVisitorLocation,isStorefrontV3,openPage,setTrackingConsent}from"./storefront/index.mjs";export{g as getOwnerId,a as getStoreId}from"./shared/ecom-headless.biFHUae1.mjs";const E={UNDEFINED:"UNDEFINED",ACCEPTED:"ACCEPTED",DECLINED:"DECLINED",ANALYTICS_ONLY:"ANALYTICS_ONLY",PERSONALIZATION_ONLY:"PERSONALIZATION_ONLY"},C={MINICART:"Minicart",SEARCH_PANEL:"SearchPanel",PRODUCT_BROWSER:"ProductBrowser",CATEGORIES:"Categories",PRODUCT:"Product"},S={ACCOUNT_REGISTRATION:"ACCOUNT_REGISTRATION",ACCOUNT_RESET_PASSWORD:"ACCOUNT_RESET_PASSWORD",ACCOUNT_REVIEWS:"ACCOUNT_REVIEWS",ACCOUNT_ROOT:"ACCOUNT_ROOT",ACCOUNT_SUBSCRIPTION:"ACCOUNT_SUBSCRIPTION",CART:"CART",CATEGORY:"CATEGORY",CHECKOUT_ADDRESS:"CHECKOUT_ADDRESS",CHECKOUT_DELIVERY:"CHECKOUT_DELIVERY",CHECKOUT_ORDER_CONFIRMATION:"ORDER_CONFIRMATION",CHECKOUT_ORDER_FAILURE:"ORDER_FAILURE",CHECKOUT_PAYMENT:"CHECKOUT_PAYMENT_DETAILS",CHECKOUT_RESULT:"CHECKOUT_RESULT",CHECKOUT_TAX_INFORMATION:"CHECKOUT_TAX_INFORMATION",DOWNLOAD_ERROR:"DOWNLOAD_ERROR",FAVORITES:"FAVORITES",MISSING:"MISSING",PRODUCT:"PRODUCT",SEARCH:"SEARCH",SIGN_IN:"SIGN_IN",SUBSCRIBE:"SUBSCRIBE_PAGE",TERMS:"TERMS",UNSUBSCRIBE:"UNSUBSCRIBE_PAGE"},A={ABOUT:"about",PRIVACY_POLICY:"privacy-policy",RETURNS:"returns",SHIPPING_PAYMENT:"shipping-payment",TERMS:"terms"},T={RELEVANCE:"RELEVANCE",DEFINED_BY_STORE_OWNER:"DEFINED_BY_STORE_OWNER",ADDED_TIME_DESC:"ADDED_TIME_DESC",ADDED_TIME_ASC:"ADDED_TIME_ASC",NAME_ASC:"NAME_ASC",NAME_DESC:"NAME_DESC",PRICE_ASC:"PRICE_ASC",PRICE_DESC:"PRICE_DESC",UPDATED_TIME_ASC:"UPDATED_TIME_ASC",UPDATED_TIME_DESC:"UPDATED_TIME_DESC"},R={SHIPPING_ADDRESS:"SHIPPING_ADDRESS",BILLING_ADDRESS:"BILLING_ADDRESS",IP_ADDRESS:"IP_ADDRESS"};export{E as CustomerCookieConsentValues,C as EcwidWidgetValues,S as JsApiPageValues,A as LegalPageTypeValues,T as SortByValues,R as VisitorLocationSourceValues};
1
+ export{downloadProductFile,getApiConfig,getProduct,getProductType,getProductVariation,getReviews,getStoreProfile,initStorefrontApi,searchCategories,searchCategoriesByPath,searchProductBrands,searchProductTypes,searchProductVariations,searchProducts}from"./api/index.mjs";export{Cart,Customer,OnCartChanged,OnConsentChanged,OnPageLoad,OnPageLoaded,OnPageSwitch,OnSetProfile,formatCurrency,getAppPublicConfig,getAppPublicToken,getInitializedWidgets,getStorefrontLang,getTrackingConsent,getVisitorLocation,isStorefrontV3,openPage,setTrackingConsent}from"./storefront/index.mjs";export{g as getOwnerId,a as getStoreId}from"./shared/ecom-headless.biFHUae1.mjs";const E={UNDEFINED:"UNDEFINED",ACCEPTED:"ACCEPTED",DECLINED:"DECLINED",ANALYTICS_ONLY:"ANALYTICS_ONLY",PERSONALIZATION_ONLY:"PERSONALIZATION_ONLY"},C={MINICART:"Minicart",SEARCH_PANEL:"SearchPanel",PRODUCT_BROWSER:"ProductBrowser",CATEGORIES:"Categories",PRODUCT:"Product"},S={ACCOUNT_REGISTRATION:"ACCOUNT_REGISTRATION",ACCOUNT_RESET_PASSWORD:"ACCOUNT_RESET_PASSWORD",ACCOUNT_REVIEWS:"ACCOUNT_REVIEWS",ACCOUNT_ROOT:"ACCOUNT_ROOT",ACCOUNT_SUBSCRIPTION:"ACCOUNT_SUBSCRIPTION",CART:"CART",CATEGORY:"CATEGORY",CHECKOUT_ADDRESS:"CHECKOUT_ADDRESS",CHECKOUT_DELIVERY:"CHECKOUT_DELIVERY",CHECKOUT_ORDER_CONFIRMATION:"ORDER_CONFIRMATION",CHECKOUT_ORDER_FAILURE:"ORDER_FAILURE",CHECKOUT_PAYMENT:"CHECKOUT_PAYMENT_DETAILS",CHECKOUT_RESULT:"CHECKOUT_RESULT",CHECKOUT_TAX_INFORMATION:"CHECKOUT_TAX_INFORMATION",DOWNLOAD_ERROR:"DOWNLOAD_ERROR",FAVORITES:"FAVORITES",MISSING:"MISSING",PRODUCT:"PRODUCT",SEARCH:"SEARCH",SIGN_IN:"SIGN_IN",SUBSCRIBE:"SUBSCRIBE_PAGE",TERMS:"TERMS",UNSUBSCRIBE:"UNSUBSCRIBE_PAGE"},A={ABOUT:"about",PRIVACY_POLICY:"privacy-policy",RETURNS:"returns",SHIPPING_PAYMENT:"shipping-payment",TERMS:"terms"},T={RELEVANCE:"RELEVANCE",DEFINED_BY_STORE_OWNER:"DEFINED_BY_STORE_OWNER",ADDED_TIME_DESC:"ADDED_TIME_DESC",ADDED_TIME_ASC:"ADDED_TIME_ASC",NAME_ASC:"NAME_ASC",NAME_DESC:"NAME_DESC",PRICE_ASC:"PRICE_ASC",PRICE_DESC:"PRICE_DESC",UPDATED_TIME_ASC:"UPDATED_TIME_ASC",UPDATED_TIME_DESC:"UPDATED_TIME_DESC"},R={SHIPPING_ADDRESS:"SHIPPING_ADDRESS",BILLING_ADDRESS:"BILLING_ADDRESS",IP_ADDRESS:"IP_ADDRESS"};export{E as CustomerCookieConsentValues,C as EcwidWidgetValues,S as JsApiPageValues,A as LegalPageTypeValues,T as SortByValues,R as VisitorLocationSourceValues};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/constants/customer-cookie-consent.ts","../src/constants/ecwid-widget.ts","../src/constants/js-api-page.ts","../src/constants/legal-page-type.ts","../src/constants/sort-by.ts","../src/constants/visitor-location-source.ts"],"sourcesContent":["export const CustomerCookieConsentValues = {\n /** Customer hasn't given their consent yet. */\n UNDEFINED: 'UNDEFINED',\n /** Collect all types of cookies. */\n ACCEPTED: 'ACCEPTED',\n /** Collect only essential cookies. */\n DECLINED: 'DECLINED',\n /** Collect essential and analytics cookies only. */\n ANALYTICS_ONLY: 'ANALYTICS_ONLY',\n /** Collect essential and personalization cookies. */\n PERSONALIZATION_ONLY: 'PERSONALIZATION_ONLY',\n} as const;\n\nexport type CustomerCookieConsentType = typeof CustomerCookieConsentValues[keyof typeof CustomerCookieConsentValues];\n","export const EcwidWidgetValues = {\n /** Minicart widget */\n MINICART: 'Minicart',\n /** Search widget */\n SEARCH_PANEL: 'SearchPanel',\n /** Main storefront widget, contains full Ecwid store */\n PRODUCT_BROWSER: 'ProductBrowser',\n /** Horizontal categories menu widget */\n CATEGORIES: 'Categories',\n /** Widget with an embedded product page */\n PRODUCT: 'Product',\n} as const;\n\nexport type EcwidWidgetType = typeof EcwidWidgetValues[keyof typeof EcwidWidgetValues];\n","export const JsApiPageValues = {\n ACCOUNT_REGISTRATION: 'ACCOUNT_REGISTRATION',\n ACCOUNT_RESET_PASSWORD: 'ACCOUNT_RESET_PASSWORD',\n ACCOUNT_REVIEWS: 'ACCOUNT_REVIEWS',\n ACCOUNT_ROOT: 'ACCOUNT_ROOT',\n ACCOUNT_SUBSCRIPTION: 'ACCOUNT_SUBSCRIPTION',\n CART: 'CART',\n CATEGORY: 'CATEGORY',\n CHECKOUT_ADDRESS: 'CHECKOUT_ADDRESS',\n CHECKOUT_DELIVERY: 'CHECKOUT_DELIVERY',\n CHECKOUT_ORDER_CONFIRMATION: 'ORDER_CONFIRMATION',\n CHECKOUT_ORDER_FAILURE: 'ORDER_FAILURE',\n CHECKOUT_PAYMENT: 'CHECKOUT_PAYMENT_DETAILS',\n CHECKOUT_RESULT: 'CHECKOUT_RESULT',\n CHECKOUT_TAX_INFORMATION: 'CHECKOUT_TAX_INFORMATION',\n DOWNLOAD_ERROR: 'DOWNLOAD_ERROR',\n FAVORITES: 'FAVORITES',\n MISSING: 'MISSING',\n PRODUCT: 'PRODUCT',\n SEARCH: 'SEARCH',\n SIGN_IN: 'SIGN_IN',\n SUBSCRIBE: 'SUBSCRIBE_PAGE',\n TERMS: 'TERMS',\n UNSUBSCRIBE: 'UNSUBSCRIBE_PAGE',\n} as const;\n\nexport type JsApiPageType = typeof JsApiPageValues[keyof typeof JsApiPageValues];\n","export const LegalPageTypeValues = {\n ABOUT: 'about',\n PRIVACY_POLICY: 'privacy-policy',\n RETURNS: 'returns',\n SHIPPING_PAYMENT: 'shipping-payment',\n TERMS: 'terms',\n} as const;\n\nexport type LegalPageType = typeof LegalPageTypeValues[keyof typeof LegalPageTypeValues];\n","export const SortByValues = {\n RELEVANCE: 'RELEVANCE',\n DEFINED_BY_STORE_OWNER: 'DEFINED_BY_STORE_OWNER',\n ADDED_TIME_DESC: 'ADDED_TIME_DESC',\n ADDED_TIME_ASC: 'ADDED_TIME_ASC',\n NAME_ASC: 'NAME_ASC',\n NAME_DESC: 'NAME_DESC',\n PRICE_ASC: 'PRICE_ASC',\n PRICE_DESC: 'PRICE_DESC',\n UPDATED_TIME_ASC: 'UPDATED_TIME_ASC',\n UPDATED_TIME_DESC: 'UPDATED_TIME_DESC',\n} as const;\n\nexport type SortByType = typeof SortByValues[keyof typeof SortByValues];\n","export const VisitorLocationSourceValues = {\n SHIPPING_ADDRESS: 'SHIPPING_ADDRESS',\n BILLING_ADDRESS: 'BILLING_ADDRESS',\n IP_ADDRESS: 'IP_ADDRESS',\n} as const;\n\nexport type VisitorLocationSourceType = typeof VisitorLocationSourceValues[keyof typeof VisitorLocationSourceValues];\n"],"names":["CustomerCookieConsentValues","EcwidWidgetValues","JsApiPageValues","LegalPageTypeValues","SortByValues","VisitorLocationSourceValues"],"mappings":"qoBAAa,MAAAA,EAA8B,CAEzC,UAAW,YAEX,SAAU,WAEV,SAAU,WAEV,eAAgB,iBAEhB,qBAAsB,sBACxB,ECXaC,EAAoB,CAE/B,SAAU,WAEV,aAAc,cAEd,gBAAiB,iBAEjB,WAAY,aAEZ,QAAS,SACX,ECXaC,EAAkB,CAC7B,qBAAsB,uBACtB,uBAAwB,yBACxB,gBAAiB,kBACjB,aAAc,eACd,qBAAsB,uBACtB,KAAM,OACN,SAAU,WACV,iBAAkB,mBAClB,kBAAmB,oBACnB,4BAA6B,qBAC7B,uBAAwB,gBACxB,iBAAkB,2BAClB,gBAAiB,kBACjB,yBAA0B,2BAC1B,eAAgB,iBAChB,UAAW,YACX,QAAS,UACT,QAAS,UACT,OAAQ,SACR,QAAS,UACT,UAAW,iBACX,MAAO,QACP,YAAa,kBACf,ECxBaC,EAAsB,CACjC,MAAO,QACP,eAAgB,iBAChB,QAAS,UACT,iBAAkB,mBAClB,MAAO,OACT,ECNaC,EAAe,CAC1B,UAAW,YACX,uBAAwB,yBACxB,gBAAiB,kBACjB,eAAgB,iBAChB,SAAU,WACV,UAAW,YACX,UAAW,YACX,WAAY,aACZ,iBAAkB,mBAClB,kBAAmB,mBACrB,ECXaC,EAA8B,CACzC,iBAAkB,mBAClB,gBAAiB,kBACjB,WAAY,YACd"}
1
+ {"version":3,"file":"index.mjs","sources":["../src/constants/customer-cookie-consent.ts","../src/constants/ecwid-widget.ts","../src/constants/js-api-page.ts","../src/constants/legal-page-type.ts","../src/constants/sort-by.ts","../src/constants/visitor-location-source.ts"],"sourcesContent":["export const CustomerCookieConsentValues = {\n /** Customer hasn't given their consent yet. */\n UNDEFINED: 'UNDEFINED',\n /** Collect all types of cookies. */\n ACCEPTED: 'ACCEPTED',\n /** Collect only essential cookies. */\n DECLINED: 'DECLINED',\n /** Collect essential and analytics cookies only. */\n ANALYTICS_ONLY: 'ANALYTICS_ONLY',\n /** Collect essential and personalization cookies. */\n PERSONALIZATION_ONLY: 'PERSONALIZATION_ONLY',\n} as const;\n\nexport type CustomerCookieConsentType = typeof CustomerCookieConsentValues[keyof typeof CustomerCookieConsentValues];\n","export const EcwidWidgetValues = {\n /** Minicart widget */\n MINICART: 'Minicart',\n /** Search widget */\n SEARCH_PANEL: 'SearchPanel',\n /** Main storefront widget, contains full Ecwid store */\n PRODUCT_BROWSER: 'ProductBrowser',\n /** Horizontal categories menu widget */\n CATEGORIES: 'Categories',\n /** Widget with an embedded product page */\n PRODUCT: 'Product',\n} as const;\n\nexport type EcwidWidgetType = typeof EcwidWidgetValues[keyof typeof EcwidWidgetValues];\n","export const JsApiPageValues = {\n ACCOUNT_REGISTRATION: 'ACCOUNT_REGISTRATION',\n ACCOUNT_RESET_PASSWORD: 'ACCOUNT_RESET_PASSWORD',\n ACCOUNT_REVIEWS: 'ACCOUNT_REVIEWS',\n ACCOUNT_ROOT: 'ACCOUNT_ROOT',\n ACCOUNT_SUBSCRIPTION: 'ACCOUNT_SUBSCRIPTION',\n CART: 'CART',\n CATEGORY: 'CATEGORY',\n CHECKOUT_ADDRESS: 'CHECKOUT_ADDRESS',\n CHECKOUT_DELIVERY: 'CHECKOUT_DELIVERY',\n CHECKOUT_ORDER_CONFIRMATION: 'ORDER_CONFIRMATION',\n CHECKOUT_ORDER_FAILURE: 'ORDER_FAILURE',\n CHECKOUT_PAYMENT: 'CHECKOUT_PAYMENT_DETAILS',\n CHECKOUT_RESULT: 'CHECKOUT_RESULT',\n CHECKOUT_TAX_INFORMATION: 'CHECKOUT_TAX_INFORMATION',\n DOWNLOAD_ERROR: 'DOWNLOAD_ERROR',\n FAVORITES: 'FAVORITES',\n MISSING: 'MISSING',\n PRODUCT: 'PRODUCT',\n SEARCH: 'SEARCH',\n SIGN_IN: 'SIGN_IN',\n SUBSCRIBE: 'SUBSCRIBE_PAGE',\n TERMS: 'TERMS',\n UNSUBSCRIBE: 'UNSUBSCRIBE_PAGE',\n} as const;\n\nexport type JsApiPageType = typeof JsApiPageValues[keyof typeof JsApiPageValues];\n","export const LegalPageTypeValues = {\n ABOUT: 'about',\n PRIVACY_POLICY: 'privacy-policy',\n RETURNS: 'returns',\n SHIPPING_PAYMENT: 'shipping-payment',\n TERMS: 'terms',\n} as const;\n\nexport type LegalPageType = typeof LegalPageTypeValues[keyof typeof LegalPageTypeValues];\n","export const SortByValues = {\n RELEVANCE: 'RELEVANCE',\n DEFINED_BY_STORE_OWNER: 'DEFINED_BY_STORE_OWNER',\n ADDED_TIME_DESC: 'ADDED_TIME_DESC',\n ADDED_TIME_ASC: 'ADDED_TIME_ASC',\n NAME_ASC: 'NAME_ASC',\n NAME_DESC: 'NAME_DESC',\n PRICE_ASC: 'PRICE_ASC',\n PRICE_DESC: 'PRICE_DESC',\n UPDATED_TIME_ASC: 'UPDATED_TIME_ASC',\n UPDATED_TIME_DESC: 'UPDATED_TIME_DESC',\n} as const;\n\nexport type SortByType = typeof SortByValues[keyof typeof SortByValues];\n","export const VisitorLocationSourceValues = {\n SHIPPING_ADDRESS: 'SHIPPING_ADDRESS',\n BILLING_ADDRESS: 'BILLING_ADDRESS',\n IP_ADDRESS: 'IP_ADDRESS',\n} as const;\n\nexport type VisitorLocationSourceType = typeof VisitorLocationSourceValues[keyof typeof VisitorLocationSourceValues];\n"],"names":["CustomerCookieConsentValues","EcwidWidgetValues","JsApiPageValues","LegalPageTypeValues","SortByValues","VisitorLocationSourceValues"],"mappings":"gpBAAO,MAAMA,EAA8B,CAEzC,UAAW,YAEX,SAAU,WAEV,SAAU,WAEV,eAAgB,iBAEhB,qBAAsB,sBACxB,ECXaC,EAAoB,CAE/B,SAAU,WAEV,aAAc,cAEd,gBAAiB,iBAEjB,WAAY,aAEZ,QAAS,SACX,ECXaC,EAAkB,CAC7B,qBAAsB,uBACtB,uBAAwB,yBACxB,gBAAiB,kBACjB,aAAc,eACd,qBAAsB,uBACtB,KAAM,OACN,SAAU,WACV,iBAAkB,mBAClB,kBAAmB,oBACnB,4BAA6B,qBAC7B,uBAAwB,gBACxB,iBAAkB,2BAClB,gBAAiB,kBACjB,yBAA0B,2BAC1B,eAAgB,iBAChB,UAAW,YACX,QAAS,UACT,QAAS,UACT,OAAQ,SACR,QAAS,UACT,UAAW,iBACX,MAAO,QACP,YAAa,kBACf,ECxBaC,EAAsB,CACjC,MAAO,QACP,eAAgB,iBAChB,QAAS,UACT,iBAAkB,mBAClB,MAAO,OACT,ECNaC,EAAe,CAC1B,UAAW,YACX,uBAAwB,yBACxB,gBAAiB,kBACjB,eAAgB,iBAChB,SAAU,WACV,UAAW,YACX,UAAW,YACX,WAAY,aACZ,iBAAkB,mBAClB,kBAAmB,mBACrB,ECXaC,EAA8B,CACzC,iBAAkB,mBAClB,gBAAiB,kBACjB,WAAY,YACd"}