@ikas/storefront 6.1.0-beta.20 → 6.1.0-beta.201

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 (179) hide show
  1. package/build/analytics/analytics.d.ts +3 -3
  2. package/build/analytics/analytics.js +1 -1
  3. package/build/analytics/googleAnalytics.js +1 -1
  4. package/build/analytics/googleTagManager.d.ts +3 -2
  5. package/build/analytics/googleTagManager.js +1 -1
  6. package/build/analytics/ikasV3.d.ts +6 -0
  7. package/build/analytics/ikasV3.js +1 -1
  8. package/build/components/checkout/components/address-form/index.js +1 -1
  9. package/build/components/checkout/components/address-form/model.d.ts +5 -0
  10. package/build/components/checkout/components/address-form/model.js +1 -1
  11. package/build/components/checkout/components/adyen/index.js +1 -1
  12. package/build/components/checkout/components/button/index.d.ts +1 -0
  13. package/build/components/checkout/components/button/index.js +1 -1
  14. package/build/components/checkout/components/button/style.module.scss.js +1 -1
  15. package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
  16. package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -1
  17. package/build/components/checkout/components/cart-summary/index.d.ts +2 -1
  18. package/build/components/checkout/components/cart-summary/index.js +1 -1
  19. package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -1
  20. package/build/components/checkout/components/customer-addresses/index.d.ts +1 -0
  21. package/build/components/checkout/components/customer-addresses/index.js +1 -1
  22. package/build/components/checkout/components/error/stock-error/index.js +1 -1
  23. package/build/components/checkout/components/form-item/index.js +1 -1
  24. package/build/components/checkout/components/form-item/model.d.ts +5 -3
  25. package/build/components/checkout/components/form-item/model.js +1 -1
  26. package/build/components/checkout/components/form-item/style.module.scss.js +1 -1
  27. package/build/components/checkout/components/hepsipay/index.d.ts +9 -0
  28. package/build/components/checkout/components/hepsipay/index.js +1 -0
  29. package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -1
  30. package/build/components/checkout/components/modal/index.d.ts +1 -0
  31. package/build/components/checkout/components/modal/index.js +1 -1
  32. package/build/components/checkout/components/modal/style.module.scss.js +1 -1
  33. package/build/components/checkout/components/offer-product/index.js +1 -1
  34. package/build/components/checkout/components/offer-product/style.module.scss.js +1 -1
  35. package/build/components/checkout/components/phone-number-input/index.d.ts +1 -1
  36. package/build/components/checkout/components/phone-number-input/index.js +1 -1
  37. package/build/components/checkout/components/quick-registration/completed.js +1 -1
  38. package/build/components/checkout/components/quick-registration/index.js +1 -1
  39. package/build/components/checkout/components/stripe/checkout-form.js +1 -1
  40. package/build/components/checkout/components/svg/coupon-code-tag.d.ts +6 -0
  41. package/build/components/checkout/components/svg/coupon-code-tag.js +1 -0
  42. package/build/components/checkout/components/svg/credit-balance.d.ts +6 -0
  43. package/build/components/checkout/components/svg/credit-balance.js +1 -0
  44. package/build/components/checkout/components/svg/gift-cart-tag.d.ts +6 -0
  45. package/build/components/checkout/components/svg/gift-cart-tag.js +1 -0
  46. package/build/components/checkout/components/svg/store-credit-tag.d.ts +6 -0
  47. package/build/components/checkout/components/svg/store-credit-tag.js +1 -0
  48. package/build/components/checkout/components/svg/subscription.d.ts +6 -0
  49. package/build/components/checkout/components/svg/subscription.js +1 -0
  50. package/build/components/checkout/index.js +1 -1
  51. package/build/components/checkout/model.d.ts +26 -6
  52. package/build/components/checkout/model.js +1 -1
  53. package/build/components/checkout/steps/step-info/index.js +1 -1
  54. package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -1
  55. package/build/components/checkout/steps/step-payment/index.js +1 -1
  56. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
  57. package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/index.d.ts +7 -0
  58. package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/index.js +1 -0
  59. package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/style.module.scss.js +1 -0
  60. package/build/components/checkout/steps/step-shipping/index.js +1 -1
  61. package/build/components/checkout/steps/step-success/index.js +1 -1
  62. package/build/components/image/index.d.ts +1 -0
  63. package/build/components/image/index.js +1 -1
  64. package/build/components/index.d.ts +2 -0
  65. package/build/components/page/head.js +1 -1
  66. package/build/components/page/index.d.ts +6 -0
  67. package/build/components/page/index.js +1 -1
  68. package/build/components/page-editor/ThemeComponentEditor.js +1 -1
  69. package/build/components/page-editor/model.js +1 -1
  70. package/build/components/paypal-express-checkout/index.d.ts +9 -0
  71. package/build/components/paypal-express-checkout/index.js +1 -0
  72. package/build/components/plain-image/index.d.ts +13 -0
  73. package/build/components/plain-image/index.js +1 -0
  74. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
  75. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
  76. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/formatIncompletePhoneNumber.js +1 -0
  77. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/getCountries.js +1 -0
  78. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/getCountryCallingCode.js +1 -0
  79. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/isSupportedCountry.js +1 -0
  80. package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/parsePhoneNumber.js +1 -0
  81. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/ObserverComponent.js +1 -0
  82. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/index.js +1 -0
  83. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/observer.js +1 -0
  84. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/useObserver.js +1 -0
  85. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/UniversalFinalizationRegistry.js +1 -0
  86. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/assertEnvironment.js +1 -0
  87. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/observerBatching.js +1 -0
  88. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/observerFinalizationRegistry.js +1 -0
  89. package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/printDebugValue.js +1 -0
  90. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/button-element-renderer/index.js +1 -1
  91. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/checkbox-item-view/index.js +1 -1
  92. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/index.js +1 -1
  93. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/input-item-view/index.js +1 -1
  94. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/phone-input-item-view/get-countries.js +1 -0
  95. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/phone-input-item-view/index.js +1 -0
  96. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/image-column-element-renderer/index.js +1 -1
  97. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/image-element-renderer/index.js +1 -1
  98. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/index.js +1 -1
  99. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/product-list-renderer/index.js +1 -1
  100. package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/social-element-renderer/index.js +1 -1
  101. package/build/ext/@ikas/popup-renderer/build/popup-renderer/helpers/index.js +1 -1
  102. package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/form/form-settings/index.js +1 -1
  103. package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/image/index.js +1 -1
  104. package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/image-column/index.js +1 -1
  105. package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/product/index.js +1 -1
  106. package/build/hooks/useCustomerReviews.d.ts +2 -0
  107. package/build/hooks/useCustomerReviews.js +1 -1
  108. package/build/hooks/useStore.js +1 -1
  109. package/build/index.js +1 -1
  110. package/build/models/data/checkout-settings/index.d.ts +1 -0
  111. package/build/models/data/checkout-settings/index.js +1 -1
  112. package/build/models/data/customer/review/index.d.ts +4 -1
  113. package/build/models/data/customer/review/index.js +1 -1
  114. package/build/models/data/index.d.ts +1 -0
  115. package/build/models/data/order/gift-card-line/index.d.ts +2 -1
  116. package/build/models/data/order/gift-card-line/index.js +1 -1
  117. package/build/models/data/order/index.d.ts +2 -0
  118. package/build/models/data/order/index.js +1 -1
  119. package/build/models/data/order/line-item/bundle-product-settings/index.d.ts +7 -0
  120. package/build/models/data/order/line-item/bundle-product-settings/index.js +1 -0
  121. package/build/models/data/order/line-item/index.d.ts +4 -0
  122. package/build/models/data/order/line-item/index.js +1 -1
  123. package/build/models/data/order/line-item/order-line-item-subscription-plan/index.d.ts +8 -0
  124. package/build/models/data/order/line-item/order-line-item-subscription-plan/index.js +1 -0
  125. package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-discount/index.d.ts +6 -0
  126. package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-discount/index.js +1 -0
  127. package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-period/index.d.ts +14 -0
  128. package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-period/index.js +1 -0
  129. package/build/models/data/order/order-transaction-with-prices/index.d.ts +1 -0
  130. package/build/models/data/order/order-transaction-with-prices/index.js +1 -1
  131. package/build/models/data/product/campaign-offer/index.d.ts +2 -0
  132. package/build/models/data/product/campaign-offer/index.js +1 -1
  133. package/build/models/data/product/filter/index.d.ts +2 -0
  134. package/build/models/data/product/filter/index.js +1 -1
  135. package/build/models/data/product/index.d.ts +8 -0
  136. package/build/models/data/product/index.js +1 -1
  137. package/build/models/data/product/translations/index.d.ts +7 -0
  138. package/build/models/data/product/translations/index.js +1 -0
  139. package/build/models/data/product/variant/bundle-settings/bundle-product/index.js +1 -1
  140. package/build/models/data/product/variant/index.d.ts +3 -0
  141. package/build/models/data/product/variant/index.js +1 -1
  142. package/build/models/data/product/variant/subscription-plan/index.d.ts +12 -0
  143. package/build/models/data/product/variant/subscription-plan/index.js +1 -0
  144. package/build/models/data/product/variant/subscription-plan/product-subscription-plan-discount/index.d.ts +6 -0
  145. package/build/models/data/product/variant/subscription-plan/product-subscription-plan-period/index.d.ts +23 -0
  146. package/build/models/data/product/variant/subscription-plan/product-subscription-plan-period/index.js +1 -0
  147. package/build/models/data/store-credit-balance/index.d.ts +26 -0
  148. package/build/models/data/store-credit-balance/index.js +1 -0
  149. package/build/models/data/theme-json/component/prop/index.d.ts +1 -0
  150. package/build/models/data/theme-json/component/prop/index.js +1 -1
  151. package/build/models/data/theme-json/custom-data/index.d.ts +1 -0
  152. package/build/models/data/theme-json/custom-data/index.js +1 -1
  153. package/build/models/ui/customer-review-list/index.d.ts +8 -0
  154. package/build/models/ui/customer-review-list/index.js +1 -1
  155. package/build/models/ui/product-list/index.d.ts +17 -0
  156. package/build/models/ui/product-list/index.js +1 -1
  157. package/build/models/ui/validator/form/login.d.ts +20 -6
  158. package/build/models/ui/validator/form/login.js +1 -1
  159. package/build/models/ui/validator/form/register.d.ts +15 -6
  160. package/build/models/ui/validator/form/register.js +1 -1
  161. package/build/pages/checkout.js +1 -1
  162. package/build/store/cart/index.d.ts +1 -0
  163. package/build/store/cart/index.js +1 -1
  164. package/build/store/checkout/index.d.ts +4 -1
  165. package/build/store/checkout/index.js +1 -1
  166. package/build/store/customer/api.d.ts +15 -2
  167. package/build/store/customer/api.js +1 -1
  168. package/build/store/customer/index.d.ts +40 -5
  169. package/build/store/customer/index.js +1 -1
  170. package/build/store/product/index.d.ts +2 -1
  171. package/build/store/product/index.js +1 -1
  172. package/build/utils/helper.d.ts +1 -0
  173. package/build/utils/helper.js +1 -1
  174. package/package.json +13 -12
  175. package/build/components/popup/index.js +0 -1
  176. package/build/components/popup/renderer/index.js +0 -1
  177. package/build/components/popup/renderer/model.js +0 -1
  178. package/build/components/popup/utils/index.js +0 -1
  179. package/build/store/storefront-popup/index.js +0 -1
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export{Analytics}from"./analytics/analytics.js";export{AnalyticsBody,AnalyticsHead}from"./analytics/head/index.js";export{IkasPage}from"./components/page/index.js";export{IkasPageHead}from"./components/page/head.js";export{Image}from"./components/image/index.js";export{default as Link}from"./components/link/index.js";export{IkasEditorComponentLoader}from"./components/page-editor/loader/index.js";export{GoogleCaptcha}from"./components/google-captcha/index.js";export{useStore}from"./hooks/useStore.js";export{useCustomerReviews}from"./hooks/useCustomerReviews.js";import"react";export{IkasBaseModel}from"./models/data/base/index.js";export{IkasBlogCategory}from"./models/data/blog/category/index.js";export{IkasBlogContent}from"./models/data/blog/content/index.js";export{IkasBlogMetaData,IkasBlogMetaDataTargetType}from"./models/data/blog/meta-data/index.js";export{IkasBlogTag}from"./models/data/blog/tag/index.js";export{IkasBlogWriter}from"./models/data/blog/writer/index.js";export{IkasBlog}from"./models/data/blog/index.js";export{IkasProductBrandTranslation}from"./models/data/brand/translation/index.js";export{IkasBrand,IkasBrandOrderType}from"./models/data/brand/index.js";export{IkasCampaignOfferProduct,IkasCampaignOfferProductTranslation}from"./models/data/campaign-offer/product/index.js";export{IkasCampaignOffer,IkasCampaignOfferTriggerSettings}from"./models/data/campaign-offer/index.js";export{IkasAvailableShippingMethod}from"./models/data/cart/available-shipping-method/index.js";export{IkasCartCampaignOffer}from"./models/data/cart/campaign-offer/index.js";export{IkasCart}from"./models/data/cart/index.js";export{IkasCategoryPathItem}from"./models/data/category/path-item/index.js";export{IkasCategoryTranslation}from"./models/data/category/translations/index.js";export{IkasCategory}from"./models/data/category/index.js";export{IkasCheckout}from"./models/data/checkout/index.js";export{IkasCheckoutOption}from"./models/data/checkout-settings/option/index.js";export{IkasCheckoutSettingsPrice}from"./models/data/checkout-settings/price/index.js";export{IkasCheckoutSettings}from"./models/data/checkout-settings/index.js";export{IkasCity}from"./models/data/city/index.js";export{IkasContactForm}from"./models/data/contact-form/index.js";export{IkasCountry}from"./models/data/country/index.js";export{IkasCustomerAddressCity}from"./models/data/customer/address/city/index.js";export{IkasCustomerAddressCountry}from"./models/data/customer/address/country/index.js";export{IkasCustomerAddressDistrict}from"./models/data/customer/address/district/index.js";export{IkasCustomerAddressRegion}from"./models/data/customer/address/region/index.js";export{IkasCustomerAddressState}from"./models/data/customer/address/state/index.js";export{IkasCustomerAddress}from"./models/data/customer/address/index.js";export{IkasLocalizedCustomerAddress}from"./models/data/customer/address/ikas-localized-customer-address.js";export{IkasCustomerAttributeOption}from"./models/data/customer/attribute/option/index.js";export{IkasCustomerAttributeSalesChannel}from"./models/data/customer/attribute/sales-channel/index.js";export{IkasCustomerAttributeOptionTranslation}from"./models/data/customer/attribute/translation/option/index.js";export{IkasCustomerAttributeTranslation}from"./models/data/customer/attribute/translation/index.js";export{IkasCustomerAttributeValue}from"./models/data/customer/attribute/value/index.js";export{IkasCustomerAttribute}from"./models/data/customer/attribute/index.js";export{IkasCustomerPriceListRuleFilter}from"./models/data/customer/price-list-rule/filter/index.js";export{IkasCustomerPriceListRule}from"./models/data/customer/price-list-rule/index.js";export{IkasCustomerReviewSettings}from"./models/data/customer/review/settings/index.js";export{IkasCustomerReviewSummaryStar}from"./models/data/customer/review/summary/star/index.js";export{IkasCustomerReviewSummary}from"./models/data/customer/review/summary/index.js";export{IkasCustomerReview}from"./models/data/customer/review/index.js";export{IkasCustomer}from"./models/data/customer/index.js";export{IkasCustomerRegisterSubscriptionInput}from"./models/data/customer-form-data-input/customer-register-subscription-input/index.js";export{IkasCustomerGenderTypeEnum,IkasSaveCustomerFormDataInput}from"./models/data/customer-form-data-input/index.js";export{IkasDistrict}from"./models/data/district/index.js";export{IkasFavoriteProduct}from"./models/data/favorite-product/index.js";export{IkasFilterCategory}from"./models/data/filter-category/index.js";export{IkasHTMLMetaDataTranslations}from"./models/data/html-meta-data/translations/index.js";export{IkasHTMLMetaData,IkasHTMLMetaDataOverride,IkasHTMLMetaDataTargetType}from"./models/data/html-meta-data/index.js";export{IkasImage}from"./models/data/image/index.js";export{IkasLastViewedProduct}from"./models/data/last-viewed-product/index.js";export{IkasMerchantSettings}from"./models/data/merchant-settings/index.js";export{IkasOrderAddressCity}from"./models/data/order/address/city/index.js";export{IkasOrderAddressCountry}from"./models/data/order/address/country/index.js";export{IkasOrderAddressDistrict}from"./models/data/order/address/district/index.js";export{IkasOrderAddressRegion}from"./models/data/order/address/region/index.js";export{IkasOrderAddressState}from"./models/data/order/address/state/index.js";export{IkasOrderAddress}from"./models/data/order/address/index.js";export{IkasOrderAdjustmentAppliedOrderLine}from"./models/data/order/adjustment/applied-order-line/index.js";export{IkasOrderAdjustment}from"./models/data/order/adjustment/index.js";export{IkasOrderCustomer}from"./models/data/order/customer/index.js";export{IkasOrderGiftPackageLine}from"./models/data/order/gift-line/index.js";export{IkasInvoice}from"./models/data/order/invoice/index.js";export{IkasOrderLineDiscount}from"./models/data/order/line-item/discount/index.js";export{IkasOrderLineItemOptionValue}from"./models/data/order/line-item/option/value/index.js";export{IkasOrderLineItemOption}from"./models/data/order/line-item/option/index.js";export{IkasOrderLineVariantBrand}from"./models/data/order/line-item/variant/brand/index.js";export{IkasOrderLineVariantCategory,IkasOrderLineVariantCategoryPath}from"./models/data/order/line-item/variant/category/index.js";export{IkasOrderLineVariantPrice}from"./models/data/order/line-item/variant/price/index.js";export{IkasOrderLineVariantVariantValue}from"./models/data/order/line-item/variant/value/index.js";export{IkasOrderLineVariant}from"./models/data/order/line-item/variant/index.js";export{IkasOrderLineItem}from"./models/data/order/line-item/index.js";export{IkasOrderTransactionWithPrices}from"./models/data/order/order-transaction-with-prices/index.js";export{IkasTrackingInfo}from"./models/data/order/package/tracking-info/index.js";export{IkasOrderPackage}from"./models/data/order/package/index.js";export{IkasOrderPaymentMethod}from"./models/data/order/payment-method/index.js";export{IkasOrderRefundOrderLineInput}from"./models/data/order/refund/line-item/index.js";export{IkasOrderRefundSettings}from"./models/data/order/refund/settings/index.js";export{IkasRefund}from"./models/data/order/refund/index.js";export{IkasOrderShippingLine}from"./models/data/order/shipping-line/index.js";export{IkasOrderTaxLine}from"./models/data/order/tax-line/index.js";export{IkasTransactionError}from"./models/data/order/transaction/error/index.js";export{IkasTransactionInstallmentPrice}from"./models/data/order/transaction/payment-method-detail/installment-price/index.js";export{IkasTransactionPaymentMethodDetail}from"./models/data/order/transaction/payment-method-detail/index.js";export{IkasOrderTransaction}from"./models/data/order/transaction/index.js";export{IkasOrder}from"./models/data/order/index.js";export{IkasPaymentGatewayAdditionalPrice}from"./models/data/payment-gateway/additional-price/index.js";export{IkasPaymentGatewaySettings}from"./models/data/payment-gateway/settings/index.js";export{IkasPaymentGatewayTranslation}from"./models/data/payment-gateway/translation/index.js";export{IkasPaymentGateway}from"./models/data/payment-gateway/index.js";export{IkasProductAttributeOption}from"./models/data/product/attribute/option/index.js";export{IkasProductAttributeTableCell}from"./models/data/product/attribute/table-cell/index.js";export{IkasProductAttributeTableTemplate}from"./models/data/product/attribute/table-template/index.js";export{IkasProductAttributeOptionTranslation,IkasProductAttributeTranslation}from"./models/data/product/attribute/translation/index.js";export{IkasProductAttribute}from"./models/data/product/attribute/index.js";export{IkasAttributeTableCellValue,IkasProductAttributeMap,IkasProductAttributeValue}from"./models/data/product/attribute-value/index.js";export{IkasProductBackInStockSettings}from"./models/data/product/back-in-stock-settings/index.js";export{IkasApplicableProductFilterValue,IkasFilterRangeValue,IkasProductFilter,IkasProductFilterNumberRangeListOption,IkasProductFilterSettings,IkasProductFilterValue,parseRangeStr}from"./models/data/product/filter/index.js";export{IkasProductCampaignData}from"./models/data/product/campaign/data/index.js";export{IkasProductCampaignFilter}from"./models/data/product/campaign/filter/index.js";export{IkasProductBuyX,IkasProductBuyXThenGetY,IkasProductGetY}from"./models/data/product/campaign/product-buyx-then-gety/index.js";export{IkasProductCampaignDateRangeField}from"./models/data/product/campaign/product-campaign-date-range-field/index.js";export{IkasCampaignMinMaxRangeField,IkasProductFixedDiscount}from"./models/data/product/campaign/product-fixed-discount/index.js";export{IkasProductCampaign}from"./models/data/product/campaign/index.js";export{IkasProductCampaignOffer,IkasProductOffer}from"./models/data/product/campaign-offer/index.js";export{IkasProductImage}from"./models/data/product/image/index.js";export{IkasProductOption,IkasProductOptionDateSettings,IkasProductOptionFileSettings,IkasProductOptionOtherPrice,IkasProductOptionSelectSettings,IkasProductOptionSelectValue,IkasProductOptionTextSettings}from"./models/data/product/option-set/option/index.js";export{IkasProductOptionSelectValueTranslations,IkasProductOptionSet,IkasProductOptionSetTranslations,IkasProductOptionTranslations}from"./models/data/product/option-set/index.js";export{IkasProductStockLocations}from"./models/data/product/stock-location/index.js";export{IkasProductTag}from"./models/data/product/tag/index.js";export{IkasProductPrice}from"./models/data/product/variant/price/index.js";export{IkasProductVariant}from"./models/data/product/variant/index.js";export{IkasProductVariantType}from"./models/data/product/variant-type/index.js";export{IkasProduct}from"./models/data/product/index.js";export{IkasProductFile}from"./models/data/product-file/index.js";export{IkasRaffle,IkasRaffleAppliedProduct,IkasRaffleDateRangeField,IkasRaffleMetaData,IkasRaffleParticipant}from"./models/data/raffle/index.js";export{IkasSalesChannel,IkasSalesChannelPaymentGateway,IkasSalesChannelStockLocation}from"./models/data/sales-channel/index.js";export{IkasShippingZoneRegion}from"./models/data/shipping-zone/state/city/district/region/index.js";export{IkasShippingZoneDistrict}from"./models/data/shipping-zone/state/city/district/index.js";export{IkasShippingZoneCity}from"./models/data/shipping-zone/state/city/index.js";export{IkasShippingZoneState}from"./models/data/shipping-zone/state/index.js";export{IkasShippingZone}from"./models/data/shipping-zone/index.js";export{IkasState}from"./models/data/state/index.js";export{IkasStockLocationAddressCity}from"./models/data/stock-location/address/city/index.js";export{IkasStockLocationAddressCountry}from"./models/data/stock-location/address/country/index.js";export{IkasStockLocationAddressDistrict}from"./models/data/stock-location/address/district/index.js";export{IkasStockLocationAddressState}from"./models/data/stock-location/address/state/index.js";export{IkasStockLocationAddress}from"./models/data/stock-location/address/index.js";export{IkasAvailableStockLocation}from"./models/data/stock-location/available/index.js";export{IkasStockLocation}from"./models/data/stock-location/index.js";export{IkasStorefrontPopupAnalytics}from"./models/data/storefront-popup/storefront-popup-analytics/index.js";export{IkasStorefrontPopupDateFilter}from"./models/data/storefront-popup/storefront-popup-date-filter/index.js";export{IkasStorefrontPopupDisplayFilter,IkasStorefrontPopupDisplayFilterTypeEnum}from"./models/data/storefront-popup/storefront-popup-display-filter/index.js";export{IkasStorefrontPopupDisplayFrequencyEnum,IkasStorefrontPopupDisplaySettings,IkasStorefrontPopupDisplayTriggerTypeEnum}from"./models/data/storefront-popup/storefront-popup-display-settings/index.js";export{IkasStorefrontPopupPageFilter,IkasStorefrontPopupPageFilterTypeEnum}from"./models/data/storefront-popup/storefront-popup-page-filter/index.js";export{IkasStorefrontPopupRouting}from"./models/data/storefront-popup/storefront-popup-routing/index.js";export{IkasStorefrontPopup,IkasStorefrontPopupDeviceTypeEnum,IkasStorefrontPopupStatusEnum,IkasStorefrontPopupTypeEnum}from"./models/data/storefront-popup/index.js";export{IkasStorefrontB2BSettings}from"./models/data/storefront/b2b-settings/index.js";export{IkasStorefrontDomain}from"./models/data/storefront/domain/index.js";export{IkasIndexPageSeoSetting}from"./models/data/storefront/index-page-seo-setting/index.js";export{IkasStorefrontLocalization}from"./models/data/storefront/localization/index.js";export{IkasStorefrontDynamicCurrencySettings}from"./models/data/storefront/routing/dynamic-currency/index.js";export{IkasStorefrontRouting}from"./models/data/storefront/routing/index.js";export{IkasStorefrontTheme}from"./models/data/storefront/theme/index.js";export{IkasStorefrontThemeLocalization}from"./models/data/storefront/theme-localization/index.js";export{IkasStorefront}from"./models/data/storefront/index.js";export{IkasThemeJsonComponentProp}from"./models/data/theme-json/component/prop/index.js";export{ComponentTranslation,IkasThemeJsonComponent}from"./models/data/theme-json/component/index.js";export{IkasThemeJsonCustomData,IkasThemeJsonCustomDataEnumOptionTranslation,IkasThemeJsonCustomDataTranslation,IkasThemeJsonEnumOption}from"./models/data/theme-json/custom-data/index.js";export{IkasThemeJsonPageComponent}from"./models/data/theme-json/page/component/index.js";export{IkasThemeJsonPage,IkasThemeJsonPageSpecification}from"./models/data/theme-json/page/index.js";export{IkasThemeJsonColor,IkasThemeJsonColorTranslation}from"./models/data/theme-json/settings/color/index.js";export{IkasThemeJsonFavicon}from"./models/data/theme-json/settings/favicon/index.js";export{IkasThemeJsonFontFamily}from"./models/data/theme-json/settings/font-family/index.js";export{IkasThemeJsonSettings}from"./models/data/theme-json/settings/index.js";export{CHECKOUT_ID,IkasThemeJson}from"./models/data/theme-json/index.js";export{IkasVariantValue}from"./models/data/variant-type/variant-value/index.js";export{IkasVariantType}from"./models/data/variant-type/index.js";export{IkasVideo}from"./models/data/video/index.js";export{AddressFormItem,BillingFormItem}from"@ikas/localized-address";export{IkasBlogList,IkasBlogListType}from"./models/ui/blog-list/index.js";export{IkasBlogCategoryList,IkasBlogCategoryListType}from"./models/ui/blog-category-list/index.js";export{IkasBrandList,IkasBrandListSortType,IkasBrandListType}from"./models/ui/brand-list/index.js";export{IkasCategoryList,IkasCategoryListSortType,IkasCategoryListType}from"./models/ui/category-list/index.js";export{IkasNavigationLink}from"./models/ui/navigation-link/index.js";export{IkasProductList,IkasProductListSortByTypeEnum,IkasProductListSortType,IkasProductListType,IkasRelatedProductsType}from"./models/ui/product-list/index.js";export{IkasAttributeDetail}from"./models/ui/product-attribute-detail/index.js";export{IkasAttributeList}from"./models/ui/product-attribute-list/index.js";export{IkasCustomerReviewList}from"./models/ui/customer-review-list/index.js";export{IkasCustomerReviewSummaryList}from"./models/ui/customer-review-summary-list/index.js";export{Validator}from"./models/ui/validator/index.js";export{EmailRule,EqualsRule,IdentityNumberRule,LessThanRule,MaxRule,MinRule,PhoneRule,RequiredRule,ValidationRule,ValidatorErrorType}from"./models/ui/validator/rules/index.js";export{LoginForm}from"./models/ui/validator/form/login.js";export{AddressForm}from"./models/ui/validator/form/address.js";export{IkasAddressForm}from"./models/ui/validator/form/ikas-address.js";export{RegisterForm}from"./models/ui/validator/form/register.js";export{ContactForm}from"./models/ui/validator/form/contact-form.js";export{ForgotPasswordForm}from"./models/ui/validator/form/forgot-password.js";export{RecoverPasswordForm}from"./models/ui/validator/form/recover-password.js";export{AccountInfoForm}from"./models/ui/validator/form/account-info.js";export{RaffleForm}from"./models/ui/validator/form/raffle-form.js";export{CustomerReviewForm}from"./models/ui/validator/form/customer-review.js";export{IkasComponentRenderer}from"./models/ui/component-renderer/index.js";export{IkasRaffleList}from"./models/ui/raffle-list/index.js";import*as e from"./pages/home.js";export{e as IndexPage};import*as t from"./pages/_slug_/index.js";export{t as SlugPage};import*as o from"./pages/pages/_slug_.js";export{o as CustomPage};import*as a from"./pages/checkout.js";export{a as CheckoutPage};import*as r from"./pages/account/index.js";export{r as AccountPage};import*as s from"./pages/account/addresses.js";export{s as AddressesPage};import*as d from"./pages/account/orders/index.js";export{d as OrdersPage};import*as i from"./pages/account/orders/_id_.js";export{i as OrderDetailPage};import*as n from"./pages/account/login.js";export{n as LoginPage};import*as m from"./pages/account/register.js";export{m as RegisterPage};import*as p from"./pages/account/forgot-password.js";export{p as ForgotPasswordPage};import*as l from"./pages/account/recover-password.js";export{l as RecoverPasswordPage};import*as x from"./pages/cart.js";export{x as CartPage};import*as u from"./pages/editor.js";export{u as EditorPage};import*as c from"./pages/account/favorite-products.js";export{c as FavoriteProductsPage};import*as f from"./pages/search.js";export{f as SearchPage};import*as k from"./pages/404.js";export{k as NotFoundPage};import*as I from"./pages/blog/index.js";export{I as BlogPage};import*as g from"./pages/blog/_slug_.js";export{g as BlogSlugPage};import*as j from"./pages/raffle/_slug_.js";export{j as RafflePage};import*as y from"./pages/raffle/index.js";export{y as RafflesPage};import*as P from"./pages/account/raffles.js";export{P as AccountRafflesPage};import*as T from"./pages/account/activate.js";export{T as ActivateCustomerPage};export{IkasBaseStore}from"./store/base.js";export{IkasCustomerStore}from"./store/customer/index.js";export{IkasCartStore}from"./store/cart/index.js";export{formatDate}from"./utils/helper.js";export{formatCurrency}from"./utils/currency.js";export{createTranslationInputData,useTranslation}from"./utils/i18n.js";export{IkasAdjustmentType,IkasAmountType,IkasCampaignApplicablePrice,IkasCampaignCreatedFor,IkasCampaignFilterType,IkasCampaignOfferProductShowCriteria,IkasCampaignOfferTargetPageType,IkasCampaignType,IkasCartCampaignOfferStatus,IkasCategoryProductsOrderType as IkasCategoryOrderType,IkasCheckoutRequirement,IkasCustomerAccountStatus,IkasCustomerAttributeType,IkasCustomerEmailSubscriptionStatus,IkasCustomerPriceListRuleFilterType,IkasCustomerPriceListRuleValueType,IkasCustomerRegistrationSource,IkasCustomerReviewStatus,IkasInvoiceType,IkasOrderCancelReason,IkasOrderLineItemStatus,IkasOrderPackageFullfillStatus,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus,IkasPaymentGatewayAdditionalPriceType,IkasPaymentGatewaySettingsType,IkasPaymentGatewayTransactionFeeType,IkasPaymentGatewayType,IkasPaymentMethodType,IkasPaymentMethodTypeWithPrices,IkasProductAttributeType,IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType,IkasProductOptionSelectType,IkasProductOptionType,IkasProductStockFilterValue,IkasProductType,IkasRaffleMetadataTargetType,IkasRaffleVerificationType,IkasShippingMethod,IkasStockLocationDeliveryTime,IkasStockLocationType,IkasStorefrontB2BShowPricesEnum,IkasStorefrontB2BShowProductsEnum,IkasStorefrontStatus,IkasThemeJsonComponentPropType,IkasThemeJsonPageType,IkasThemeJsonStockPreference,IkasTransactionSourceWithPrices,IkasTransactionStatus,IkasTransactionStatusWithPrices,IkasTransactionType,IkasTransactionTypeWithPrices,IkasVariantSelectionType}from"@ikas/storefront-models";export{IkasTransactionWithPrices}from"./models/data/order/order-transaction-with-prices/transaction-with-prices/index.js";
1
+ export{Analytics}from"./analytics/analytics.js";export{AnalyticsBody,AnalyticsHead}from"./analytics/head/index.js";export{IkasPage}from"./components/page/index.js";export{IkasPageHead}from"./components/page/head.js";export{Image}from"./components/image/index.js";export{PlainImage}from"./components/plain-image/index.js";export{default as Link}from"./components/link/index.js";export{IkasEditorComponentLoader}from"./components/page-editor/loader/index.js";export{GoogleCaptcha}from"./components/google-captcha/index.js";export{PaypalExpressCheckout}from"./components/paypal-express-checkout/index.js";export{useStore}from"./hooks/useStore.js";export{useCustomerReviews}from"./hooks/useCustomerReviews.js";import"react";export{IkasBaseModel}from"./models/data/base/index.js";export{IkasBlogCategory}from"./models/data/blog/category/index.js";export{IkasBlogContent}from"./models/data/blog/content/index.js";export{IkasBlogMetaData,IkasBlogMetaDataTargetType}from"./models/data/blog/meta-data/index.js";export{IkasBlogTag}from"./models/data/blog/tag/index.js";export{IkasBlogWriter}from"./models/data/blog/writer/index.js";export{IkasBlog}from"./models/data/blog/index.js";export{IkasProductBrandTranslation}from"./models/data/brand/translation/index.js";export{IkasBrand,IkasBrandOrderType}from"./models/data/brand/index.js";export{IkasCampaignOfferProduct,IkasCampaignOfferProductTranslation}from"./models/data/campaign-offer/product/index.js";export{IkasCampaignOffer,IkasCampaignOfferTriggerSettings}from"./models/data/campaign-offer/index.js";export{IkasAvailableShippingMethod}from"./models/data/cart/available-shipping-method/index.js";export{IkasCartCampaignOffer}from"./models/data/cart/campaign-offer/index.js";export{IkasCart}from"./models/data/cart/index.js";export{IkasCategoryPathItem}from"./models/data/category/path-item/index.js";export{IkasCategoryTranslation}from"./models/data/category/translations/index.js";export{IkasCategory}from"./models/data/category/index.js";export{IkasCheckout}from"./models/data/checkout/index.js";export{IkasCheckoutOption}from"./models/data/checkout-settings/option/index.js";export{IkasCheckoutSettingsPrice}from"./models/data/checkout-settings/price/index.js";export{IkasCheckoutSettings}from"./models/data/checkout-settings/index.js";export{IkasCity}from"./models/data/city/index.js";export{IkasContactForm}from"./models/data/contact-form/index.js";export{IkasCountry}from"./models/data/country/index.js";export{IkasCustomerAddressCity}from"./models/data/customer/address/city/index.js";export{IkasCustomerAddressCountry}from"./models/data/customer/address/country/index.js";export{IkasCustomerAddressDistrict}from"./models/data/customer/address/district/index.js";export{IkasCustomerAddressRegion}from"./models/data/customer/address/region/index.js";export{IkasCustomerAddressState}from"./models/data/customer/address/state/index.js";export{IkasCustomerAddress}from"./models/data/customer/address/index.js";export{IkasLocalizedCustomerAddress}from"./models/data/customer/address/ikas-localized-customer-address.js";export{IkasCustomerAttributeOption}from"./models/data/customer/attribute/option/index.js";export{IkasCustomerAttributeSalesChannel}from"./models/data/customer/attribute/sales-channel/index.js";export{IkasCustomerAttributeOptionTranslation}from"./models/data/customer/attribute/translation/option/index.js";export{IkasCustomerAttributeTranslation}from"./models/data/customer/attribute/translation/index.js";export{IkasCustomerAttributeValue}from"./models/data/customer/attribute/value/index.js";export{IkasCustomerAttribute}from"./models/data/customer/attribute/index.js";export{IkasCustomerPriceListRuleFilter}from"./models/data/customer/price-list-rule/filter/index.js";export{IkasCustomerPriceListRule}from"./models/data/customer/price-list-rule/index.js";export{IkasCustomerReviewSettings}from"./models/data/customer/review/settings/index.js";export{IkasCustomerReviewSummaryStar}from"./models/data/customer/review/summary/star/index.js";export{IkasCustomerReviewSummary}from"./models/data/customer/review/summary/index.js";export{IkasCustomerReview}from"./models/data/customer/review/index.js";export{IkasCustomer}from"./models/data/customer/index.js";export{IkasCustomerRegisterSubscriptionInput}from"./models/data/customer-form-data-input/customer-register-subscription-input/index.js";export{IkasCustomerGenderTypeEnum,IkasSaveCustomerFormDataInput}from"./models/data/customer-form-data-input/index.js";export{IkasDistrict}from"./models/data/district/index.js";export{IkasFavoriteProduct}from"./models/data/favorite-product/index.js";export{IkasFilterCategory}from"./models/data/filter-category/index.js";export{IkasHTMLMetaDataTranslations}from"./models/data/html-meta-data/translations/index.js";export{IkasHTMLMetaData,IkasHTMLMetaDataOverride,IkasHTMLMetaDataTargetType}from"./models/data/html-meta-data/index.js";export{IkasImage}from"./models/data/image/index.js";export{IkasLastViewedProduct}from"./models/data/last-viewed-product/index.js";export{IkasMerchantSettings}from"./models/data/merchant-settings/index.js";export{IkasOrderAddressCity}from"./models/data/order/address/city/index.js";export{IkasOrderAddressCountry}from"./models/data/order/address/country/index.js";export{IkasOrderAddressDistrict}from"./models/data/order/address/district/index.js";export{IkasOrderAddressRegion}from"./models/data/order/address/region/index.js";export{IkasOrderAddressState}from"./models/data/order/address/state/index.js";export{IkasOrderAddress}from"./models/data/order/address/index.js";export{IkasOrderAdjustmentAppliedOrderLine}from"./models/data/order/adjustment/applied-order-line/index.js";export{IkasOrderAdjustment}from"./models/data/order/adjustment/index.js";export{IkasOrderCustomer}from"./models/data/order/customer/index.js";export{IkasOrderGiftPackageLine}from"./models/data/order/gift-line/index.js";export{IkasInvoice}from"./models/data/order/invoice/index.js";export{IkasOrderLineDiscount}from"./models/data/order/line-item/discount/index.js";export{IkasOrderLineItemOptionValue}from"./models/data/order/line-item/option/value/index.js";export{IkasOrderLineItemOption}from"./models/data/order/line-item/option/index.js";export{IkasOrderLineVariantBrand}from"./models/data/order/line-item/variant/brand/index.js";export{IkasOrderLineVariantCategory,IkasOrderLineVariantCategoryPath}from"./models/data/order/line-item/variant/category/index.js";export{IkasOrderLineVariantPrice}from"./models/data/order/line-item/variant/price/index.js";export{IkasOrderLineVariantVariantValue}from"./models/data/order/line-item/variant/value/index.js";export{IkasOrderLineVariant}from"./models/data/order/line-item/variant/index.js";export{IkasOrderLineItem}from"./models/data/order/line-item/index.js";export{IkasOrderTransactionWithPrices}from"./models/data/order/order-transaction-with-prices/index.js";export{IkasTrackingInfo}from"./models/data/order/package/tracking-info/index.js";export{IkasOrderPackage}from"./models/data/order/package/index.js";export{IkasOrderPaymentMethod}from"./models/data/order/payment-method/index.js";export{IkasOrderRefundOrderLineInput}from"./models/data/order/refund/line-item/index.js";export{IkasOrderRefundSettings}from"./models/data/order/refund/settings/index.js";export{IkasRefund}from"./models/data/order/refund/index.js";export{IkasOrderShippingLine}from"./models/data/order/shipping-line/index.js";export{IkasOrderTaxLine}from"./models/data/order/tax-line/index.js";export{IkasTransactionError}from"./models/data/order/transaction/error/index.js";export{IkasTransactionInstallmentPrice}from"./models/data/order/transaction/payment-method-detail/installment-price/index.js";export{IkasTransactionPaymentMethodDetail}from"./models/data/order/transaction/payment-method-detail/index.js";export{IkasOrderTransaction}from"./models/data/order/transaction/index.js";export{IkasOrder}from"./models/data/order/index.js";export{IkasPaymentGatewayAdditionalPrice}from"./models/data/payment-gateway/additional-price/index.js";export{IkasPaymentGatewaySettings}from"./models/data/payment-gateway/settings/index.js";export{IkasPaymentGatewayTranslation}from"./models/data/payment-gateway/translation/index.js";export{IkasPaymentGateway}from"./models/data/payment-gateway/index.js";export{IkasProductAttributeOption}from"./models/data/product/attribute/option/index.js";export{IkasProductAttributeTableCell}from"./models/data/product/attribute/table-cell/index.js";export{IkasProductAttributeTableTemplate}from"./models/data/product/attribute/table-template/index.js";export{IkasProductAttributeOptionTranslation,IkasProductAttributeTranslation}from"./models/data/product/attribute/translation/index.js";export{IkasProductAttribute}from"./models/data/product/attribute/index.js";export{IkasAttributeTableCellValue,IkasProductAttributeMap,IkasProductAttributeValue}from"./models/data/product/attribute-value/index.js";export{IkasProductBackInStockSettings}from"./models/data/product/back-in-stock-settings/index.js";export{IkasApplicableProductFilterValue,IkasFilterRangeValue,IkasProductFilter,IkasProductFilterNumberRangeListOption,IkasProductFilterSettings,IkasProductFilterValue,parseRangeStr}from"./models/data/product/filter/index.js";export{IkasProductCampaignData}from"./models/data/product/campaign/data/index.js";export{IkasProductCampaignFilter}from"./models/data/product/campaign/filter/index.js";export{IkasProductBuyX,IkasProductBuyXThenGetY,IkasProductGetY}from"./models/data/product/campaign/product-buyx-then-gety/index.js";export{IkasProductCampaignDateRangeField}from"./models/data/product/campaign/product-campaign-date-range-field/index.js";export{IkasCampaignMinMaxRangeField,IkasProductFixedDiscount}from"./models/data/product/campaign/product-fixed-discount/index.js";export{IkasProductCampaign}from"./models/data/product/campaign/index.js";export{IkasProductCampaignOffer,IkasProductOffer}from"./models/data/product/campaign-offer/index.js";export{IkasProductImage}from"./models/data/product/image/index.js";export{IkasProductOption,IkasProductOptionDateSettings,IkasProductOptionFileSettings,IkasProductOptionOtherPrice,IkasProductOptionSelectSettings,IkasProductOptionSelectValue,IkasProductOptionTextSettings}from"./models/data/product/option-set/option/index.js";export{IkasProductOptionSelectValueTranslations,IkasProductOptionSet,IkasProductOptionSetTranslations,IkasProductOptionTranslations}from"./models/data/product/option-set/index.js";export{IkasProductStockLocations}from"./models/data/product/stock-location/index.js";export{IkasProductTag}from"./models/data/product/tag/index.js";export{IkasProductPrice}from"./models/data/product/variant/price/index.js";export{IkasProductVariant}from"./models/data/product/variant/index.js";export{IkasProductVariantType}from"./models/data/product/variant-type/index.js";export{IkasProduct}from"./models/data/product/index.js";export{IkasProductFile}from"./models/data/product-file/index.js";export{IkasRaffle,IkasRaffleAppliedProduct,IkasRaffleDateRangeField,IkasRaffleMetaData,IkasRaffleParticipant}from"./models/data/raffle/index.js";export{IkasSalesChannel,IkasSalesChannelPaymentGateway,IkasSalesChannelStockLocation}from"./models/data/sales-channel/index.js";export{IkasShippingZoneRegion}from"./models/data/shipping-zone/state/city/district/region/index.js";export{IkasShippingZoneDistrict}from"./models/data/shipping-zone/state/city/district/index.js";export{IkasShippingZoneCity}from"./models/data/shipping-zone/state/city/index.js";export{IkasShippingZoneState}from"./models/data/shipping-zone/state/index.js";export{IkasShippingZone}from"./models/data/shipping-zone/index.js";export{IkasState}from"./models/data/state/index.js";export{IkasStockLocationAddressCity}from"./models/data/stock-location/address/city/index.js";export{IkasStockLocationAddressCountry}from"./models/data/stock-location/address/country/index.js";export{IkasStockLocationAddressDistrict}from"./models/data/stock-location/address/district/index.js";export{IkasStockLocationAddressState}from"./models/data/stock-location/address/state/index.js";export{IkasStockLocationAddress}from"./models/data/stock-location/address/index.js";export{IkasAvailableStockLocation}from"./models/data/stock-location/available/index.js";export{IkasStockLocation}from"./models/data/stock-location/index.js";export{IkasStoreCredit,IkasStoreCreditBalance,IkasStoreCreditSalesChannel}from"./models/data/store-credit-balance/index.js";export{IkasStorefrontPopupAnalytics}from"./models/data/storefront-popup/storefront-popup-analytics/index.js";export{IkasStorefrontPopupDateFilter}from"./models/data/storefront-popup/storefront-popup-date-filter/index.js";export{IkasStorefrontPopupDisplayFilter,IkasStorefrontPopupDisplayFilterTypeEnum}from"./models/data/storefront-popup/storefront-popup-display-filter/index.js";export{IkasStorefrontPopupDisplayFrequencyEnum,IkasStorefrontPopupDisplaySettings,IkasStorefrontPopupDisplayTriggerTypeEnum}from"./models/data/storefront-popup/storefront-popup-display-settings/index.js";export{IkasStorefrontPopupPageFilter,IkasStorefrontPopupPageFilterTypeEnum}from"./models/data/storefront-popup/storefront-popup-page-filter/index.js";export{IkasStorefrontPopupRouting}from"./models/data/storefront-popup/storefront-popup-routing/index.js";export{IkasStorefrontPopup,IkasStorefrontPopupDeviceTypeEnum,IkasStorefrontPopupStatusEnum,IkasStorefrontPopupTypeEnum}from"./models/data/storefront-popup/index.js";export{IkasStorefrontB2BSettings}from"./models/data/storefront/b2b-settings/index.js";export{IkasStorefrontDomain}from"./models/data/storefront/domain/index.js";export{IkasIndexPageSeoSetting}from"./models/data/storefront/index-page-seo-setting/index.js";export{IkasStorefrontLocalization}from"./models/data/storefront/localization/index.js";export{IkasStorefrontDynamicCurrencySettings}from"./models/data/storefront/routing/dynamic-currency/index.js";export{IkasStorefrontRouting}from"./models/data/storefront/routing/index.js";export{IkasStorefrontTheme}from"./models/data/storefront/theme/index.js";export{IkasStorefrontThemeLocalization}from"./models/data/storefront/theme-localization/index.js";export{IkasStorefront}from"./models/data/storefront/index.js";export{IkasThemeJsonComponentProp}from"./models/data/theme-json/component/prop/index.js";export{ComponentTranslation,IkasThemeJsonComponent}from"./models/data/theme-json/component/index.js";export{IkasThemeJsonCustomData,IkasThemeJsonCustomDataEnumOptionTranslation,IkasThemeJsonCustomDataTranslation,IkasThemeJsonEnumOption}from"./models/data/theme-json/custom-data/index.js";export{IkasThemeJsonPageComponent}from"./models/data/theme-json/page/component/index.js";export{IkasThemeJsonPage,IkasThemeJsonPageSpecification}from"./models/data/theme-json/page/index.js";export{IkasThemeJsonColor,IkasThemeJsonColorTranslation}from"./models/data/theme-json/settings/color/index.js";export{IkasThemeJsonFavicon}from"./models/data/theme-json/settings/favicon/index.js";export{IkasThemeJsonFontFamily}from"./models/data/theme-json/settings/font-family/index.js";export{IkasThemeJsonSettings}from"./models/data/theme-json/settings/index.js";export{CHECKOUT_ID,IkasThemeJson}from"./models/data/theme-json/index.js";export{IkasVariantValue}from"./models/data/variant-type/variant-value/index.js";export{IkasVariantType}from"./models/data/variant-type/index.js";export{IkasVideo}from"./models/data/video/index.js";export{AddressFormItem,BillingFormItem}from"@ikas/localized-address";export{IkasBlogList,IkasBlogListType}from"./models/ui/blog-list/index.js";export{IkasBlogCategoryList,IkasBlogCategoryListType}from"./models/ui/blog-category-list/index.js";export{IkasBrandList,IkasBrandListSortType,IkasBrandListType}from"./models/ui/brand-list/index.js";export{IkasCategoryList,IkasCategoryListSortType,IkasCategoryListType}from"./models/ui/category-list/index.js";export{IkasNavigationLink}from"./models/ui/navigation-link/index.js";export{IkasProductList,IkasProductListSortByTypeEnum,IkasProductListSortType,IkasProductListType,IkasRelatedProductsType}from"./models/ui/product-list/index.js";export{IkasAttributeDetail}from"./models/ui/product-attribute-detail/index.js";export{IkasAttributeList}from"./models/ui/product-attribute-list/index.js";export{IkasCustomerReviewList}from"./models/ui/customer-review-list/index.js";export{IkasCustomerReviewSummaryList}from"./models/ui/customer-review-summary-list/index.js";export{Validator}from"./models/ui/validator/index.js";export{EmailRule,EqualsRule,IdentityNumberRule,LessThanRule,MaxRule,MinRule,PhoneRule,RequiredRule,ValidationRule,ValidatorErrorType}from"./models/ui/validator/rules/index.js";export{LoginForm}from"./models/ui/validator/form/login.js";export{AddressForm}from"./models/ui/validator/form/address.js";export{IkasAddressForm}from"./models/ui/validator/form/ikas-address.js";export{RegisterForm}from"./models/ui/validator/form/register.js";export{ContactForm}from"./models/ui/validator/form/contact-form.js";export{ForgotPasswordForm}from"./models/ui/validator/form/forgot-password.js";export{RecoverPasswordForm}from"./models/ui/validator/form/recover-password.js";export{AccountInfoForm}from"./models/ui/validator/form/account-info.js";export{RaffleForm}from"./models/ui/validator/form/raffle-form.js";export{CustomerReviewForm}from"./models/ui/validator/form/customer-review.js";export{IkasComponentRenderer}from"./models/ui/component-renderer/index.js";export{IkasRaffleList}from"./models/ui/raffle-list/index.js";import*as e from"./pages/home.js";export{e as IndexPage};import*as t from"./pages/_slug_/index.js";export{t as SlugPage};import*as o from"./pages/pages/_slug_.js";export{o as CustomPage};import*as a from"./pages/checkout.js";export{a as CheckoutPage};import*as r from"./pages/account/index.js";export{r as AccountPage};import*as s from"./pages/account/addresses.js";export{s as AddressesPage};import*as d from"./pages/account/orders/index.js";export{d as OrdersPage};import*as i from"./pages/account/orders/_id_.js";export{i as OrderDetailPage};import*as n from"./pages/account/login.js";export{n as LoginPage};import*as m from"./pages/account/register.js";export{m as RegisterPage};import*as p from"./pages/account/forgot-password.js";export{p as ForgotPasswordPage};import*as l from"./pages/account/recover-password.js";export{l as RecoverPasswordPage};import*as x from"./pages/cart.js";export{x as CartPage};import*as u from"./pages/editor.js";export{u as EditorPage};import*as c from"./pages/account/favorite-products.js";export{c as FavoriteProductsPage};import*as f from"./pages/search.js";export{f as SearchPage};import*as k from"./pages/404.js";export{k as NotFoundPage};import*as I from"./pages/blog/index.js";export{I as BlogPage};import*as g from"./pages/blog/_slug_.js";export{g as BlogSlugPage};import*as j from"./pages/raffle/_slug_.js";export{j as RafflePage};import*as y from"./pages/raffle/index.js";export{y as RafflesPage};import*as P from"./pages/account/raffles.js";export{P as AccountRafflesPage};import*as S from"./pages/account/activate.js";export{S as ActivateCustomerPage};export{IkasBaseStore}from"./store/base.js";export{IkasCustomerStore}from"./store/customer/index.js";export{IkasCartStore}from"./store/cart/index.js";export{formatDate}from"./utils/helper.js";export{formatCurrency}from"./utils/currency.js";export{createTranslationInputData,useTranslation}from"./utils/i18n.js";export{IkasAdjustmentType,IkasAmountType,IkasCampaignApplicablePrice,IkasCampaignCreatedFor,IkasCampaignFilterType,IkasCampaignOfferProductShowCriteria,IkasCampaignOfferTargetPageType,IkasCampaignType,IkasCartCampaignOfferStatus,IkasCategoryProductsOrderType as IkasCategoryOrderType,IkasCheckoutRequirement,IkasCustomerAccountStatus,IkasCustomerAttributeType,IkasCustomerEmailSubscriptionStatus,IkasCustomerPriceListRuleFilterType,IkasCustomerPriceListRuleValueType,IkasCustomerRegistrationSource,IkasCustomerReviewStatus,IkasInvoiceType,IkasOrderCancelReason,IkasOrderLineItemStatus,IkasOrderPackageFullfillStatus,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus,IkasPaymentGatewayAdditionalPriceType,IkasPaymentGatewaySettingsType,IkasPaymentGatewayTransactionFeeType,IkasPaymentGatewayType,IkasPaymentMethodType,IkasPaymentMethodTypeWithPrices,IkasProductAttributeType,IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType,IkasProductOptionSelectType,IkasProductOptionType,IkasProductStockFilterValue,IkasProductType,IkasRaffleMetadataTargetType,IkasRaffleVerificationType,IkasShippingMethod,IkasStockLocationDeliveryTime,IkasStockLocationType,IkasStorefrontB2BShowPricesEnum,IkasStorefrontB2BShowProductsEnum,IkasStorefrontStatus,IkasThemeJsonComponentPropType,IkasThemeJsonPageType,IkasThemeJsonStockPreference,IkasTransactionSourceWithPrices,IkasTransactionStatus,IkasTransactionStatusWithPrices,IkasTransactionType,IkasTransactionTypeWithPrices,IkasVariantSelectionType}from"@ikas/storefront-models";export{IkasTransactionWithPrices}from"./models/data/order/order-transaction-with-prices/transaction-with-prices/index.js";
@@ -17,6 +17,7 @@ export declare class IkasCheckoutSettings extends IkasBaseModel implements IChec
17
17
  couponCodeRequirement: IkasCouponCodeRequirement | null;
18
18
  showCheckoutNote: boolean | null;
19
19
  showCompanyInfoInShippingAddress: boolean | null;
20
+ showBillingAddressOnShippingStep: boolean | null;
20
21
  showTermsAndConditionsCheckbox: boolean;
21
22
  storefrontId: string;
22
23
  constructor(data: ICheckoutSettings);
@@ -1 +1 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCouponCodeRequirement as o}from"@ikas/storefront-models";export{IkasCheckoutRequirement}from"@ikas/storefront-models";import{IkasBaseModel as n}from"../base/index.js";import{IkasCheckoutOption as i}from"./option/index.js";import{IkasCheckoutSettingsPrice as t}from"./price/index.js";var s=function(n){function s(e){var s,r,u=this;return(u=n.call(this,e)||this).corporateInvoiceRequirement=null,u.giftPackagePriceList=null,u.identityNumberRequirement=null,u.isGiftPackageEnabled=null,u.isShowPostalCode=null,u.isTermsAndConditionsDefaultChecked=null,u.options=null,u.postalCodeRequirement=null,u.couponCodeRequirement=null,u.showCheckoutNote=null,u.showCompanyInfoInShippingAddress=null,u.corporateInvoiceRequirement=e.corporateInvoiceRequirement||null,u.giftPackagePriceList=(null===(s=e.giftPackagePriceList)||void 0===s?void 0:s.map((function(e){return new t(e)})))||null,u.identityNumberRequirement=e.identityNumberRequirement,u.isAccountRequired=e.isAccountRequired,u.isGiftPackageEnabled=e.isGiftPackageEnabled,u.isQuickRegistrationEnabled=e.isQuickRegistrationEnabled,u.isShowPostalCode=e.isShowPostalCode,u.isTermsAndConditionsDefaultChecked=e.isTermsAndConditionsDefaultChecked,u.options=(null===(r=e.options)||void 0===r?void 0:r.map((function(e){return new i(e)})))||null,u.phoneRequirement=e.phoneRequirement,u.postalCodeRequirement=e.postalCodeRequirement||null,u.couponCodeRequirement=e.couponCodeRequirement||o.DEFAULT,u.showCheckoutNote=e.showCheckoutNote||null,u.showCompanyInfoInShippingAddress=e.showCompanyInfoInShippingAddress||null,u.showTermsAndConditionsCheckbox=e.showTermsAndConditionsCheckbox,u.storefrontId=e.storefrontId,u}return e(s,n),s}(n);export{s as IkasCheckoutSettings};
1
+ import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCouponCodeRequirement as n}from"@ikas/storefront-models";export{IkasCheckoutRequirement}from"@ikas/storefront-models";import{IkasBaseModel as o}from"../base/index.js";import{IkasCheckoutOption as i}from"./option/index.js";import{IkasCheckoutSettingsPrice as t}from"./price/index.js";var s=function(o){function s(e){var s,r,l=this;return(l=o.call(this,e)||this).corporateInvoiceRequirement=null,l.giftPackagePriceList=null,l.identityNumberRequirement=null,l.isGiftPackageEnabled=null,l.isShowPostalCode=null,l.isTermsAndConditionsDefaultChecked=null,l.options=null,l.postalCodeRequirement=null,l.couponCodeRequirement=null,l.showCheckoutNote=null,l.showCompanyInfoInShippingAddress=null,l.showBillingAddressOnShippingStep=null,l.corporateInvoiceRequirement=e.corporateInvoiceRequirement||null,l.giftPackagePriceList=(null===(s=e.giftPackagePriceList)||void 0===s?void 0:s.map((function(e){return new t(e)})))||null,l.identityNumberRequirement=e.identityNumberRequirement,l.isAccountRequired=e.isAccountRequired,l.isGiftPackageEnabled=e.isGiftPackageEnabled,l.isQuickRegistrationEnabled=e.isQuickRegistrationEnabled,l.isShowPostalCode=e.isShowPostalCode,l.isTermsAndConditionsDefaultChecked=e.isTermsAndConditionsDefaultChecked,l.options=(null===(r=e.options)||void 0===r?void 0:r.map((function(e){return new i(e)})))||null,l.phoneRequirement=e.phoneRequirement,l.postalCodeRequirement=e.postalCodeRequirement||null,l.couponCodeRequirement=e.couponCodeRequirement||n.DEFAULT,l.showCheckoutNote=e.showCheckoutNote||null,l.showCompanyInfoInShippingAddress=e.showCompanyInfoInShippingAddress||null,l.showBillingAddressOnShippingStep=e.showBillingAddressOnShippingStep||null,l.showTermsAndConditionsCheckbox=e.showTermsAndConditionsCheckbox,l.storefrontId=e.storefrontId,l}return e(s,o),s}(o);export{s as IkasCheckoutSettings};
@@ -1,4 +1,4 @@
1
- import { IkasCustomerReviewStatus, IkasCustomerReview as ICustomerReview } from "@ikas/storefront-models";
1
+ import { IkasCustomerReviewStatus, IkasCustomerReview as ICustomerReview, IkasCustomerReviewReplyInfo } from "@ikas/storefront-models";
2
2
  import { IkasBaseModel } from "../../base";
3
3
  import { IkasImage } from "../../image";
4
4
  import { IkasProduct } from "../../product";
@@ -8,11 +8,14 @@ export declare class IkasCustomerReview extends IkasBaseModel implements ICustom
8
8
  email: string | null;
9
9
  firstName: string | null;
10
10
  imageIds: string[] | null;
11
+ isPrivateReply: boolean | null;
11
12
  lastName: string | null;
13
+ locale: string | null;
12
14
  orderId: string | null;
13
15
  orderNumber: string | null;
14
16
  productId: string;
15
17
  reply: string | null;
18
+ replyInfo: IkasCustomerReviewReplyInfo | null;
16
19
  salesChannelId: string | null;
17
20
  star: number;
18
21
  status: IkasCustomerReviewStatus | null;
@@ -1 +1 @@
1
- import{__extends as l}from'./../../../../ext/tslib/tslib.es6.js';export{IkasCustomerReviewStatus}from"@ikas/storefront-models";import{makeObservable as e,observable as r}from"mobx";import{IkasBaseModel as t}from"../../base/index.js";import{IkasImage as n}from"../../image/index.js";import{IkasProduct as s}from"../../product/index.js";var u=function(t){function u(l){var u,o=this;return(o=t.call(this,l)||this).comment=null,o.customerId=null,o.email=null,o.firstName=null,o.imageIds=null,o.lastName=null,o.orderId=null,o.orderNumber=null,o.reply=null,o.salesChannelId=null,o.status=null,o.storefrontId=null,o.title=null,o.product=null,o.comment=l.comment||null,o.customerId=l.customerId||null,o.email=l.email||null,o.firstName=l.firstName||null,o.imageIds=l.imageIds||null,o.lastName=l.lastName||null,o.orderId=l.orderId||null,o.orderNumber=l.orderNumber||null,o.productId=l.productId||"",o.reply=l.reply||null,o.salesChannelId=l.salesChannelId||null,o.star=l.star||0,o.status=l.status||null,o.storefrontId=l.storefrontId||null,o.title=l.title||null,o.images=(null===(u=l.images)||void 0===u?void 0:u.map((function(l){return new n(l)})))||null,o.product=l.product?new s(l.product):null,e(o,{comment:r,customerId:r,email:r,firstName:r,imageIds:r,lastName:r,orderId:r,orderNumber:r,productId:r,salesChannelId:r,star:r,status:r,storefrontId:r,title:r,images:r,product:r}),o}return l(u,t),u}(t);export{u as IkasCustomerReview};
1
+ import{__extends as l}from'./../../../../ext/tslib/tslib.es6.js';export{IkasCustomerReviewStatus}from"@ikas/storefront-models";import{makeObservable as e,observable as r}from"mobx";import{IkasBaseModel as t}from"../../base/index.js";import{IkasImage as n}from"../../image/index.js";import{IkasProduct as o}from"../../product/index.js";var u=function(t){function u(l){var u,s=this;return(s=t.call(this,l)||this).comment=null,s.customerId=null,s.email=null,s.firstName=null,s.imageIds=null,s.isPrivateReply=null,s.lastName=null,s.locale=null,s.orderId=null,s.orderNumber=null,s.reply=null,s.replyInfo=null,s.salesChannelId=null,s.status=null,s.storefrontId=null,s.title=null,s.product=null,s.comment=l.comment||null,s.customerId=l.customerId||null,s.email=l.email||null,s.firstName=l.firstName||null,s.imageIds=l.imageIds||null,s.isPrivateReply=l.isPrivateReply||null,s.lastName=l.lastName||null,s.locale=l.locale||null,s.orderId=l.orderId||null,s.orderNumber=l.orderNumber||null,s.productId=l.productId||"",s.reply=l.reply||null,s.replyInfo=l.replyInfo||null,s.salesChannelId=l.salesChannelId||null,s.star=l.star||0,s.status=l.status||null,s.storefrontId=l.storefrontId||null,s.title=l.title||null,s.images=(null===(u=l.images)||void 0===u?void 0:u.map((function(l){return new n(l)})))||null,s.product=l.product?new o(l.product):null,e(s,{comment:r,customerId:r,email:r,firstName:r,imageIds:r,isPrivateReply:r,lastName:r,locale:r,orderId:r,orderNumber:r,productId:r,reply:r,replyInfo:r,salesChannelId:r,star:r,status:r,storefrontId:r,title:r,images:r,product:r}),s}return l(u,t),u}(t);export{u as IkasCustomerReview};
@@ -130,6 +130,7 @@ export * from "./stock-location/address/state";
130
130
  export * from "./stock-location/address";
131
131
  export * from "./stock-location/available";
132
132
  export * from "./stock-location";
133
+ export * from "./store-credit-balance";
133
134
  export * from "./storefront-popup/storefront-popup-analytics";
134
135
  export * from "./storefront-popup/storefront-popup-date-filter";
135
136
  export * from "./storefront-popup/storefront-popup-display-filter";
@@ -1,8 +1,9 @@
1
- import { IkasOrderGiftCardLine as IOrderGiftCardLine } from "@ikas/storefront-models";
1
+ import { IkasGiftCardType, IkasOrderGiftCardLine as IOrderGiftCardLine } from "@ikas/storefront-models";
2
2
  export declare class IkasOrderGiftCardLine implements IOrderGiftCardLine {
3
3
  amount: number;
4
4
  code: string;
5
5
  giftCardId: string;
6
6
  id: string;
7
+ type: IkasGiftCardType;
7
8
  constructor(data: IOrderGiftCardLine);
8
9
  }
@@ -1 +1 @@
1
- import{makeAutoObservable as t}from"mobx";var i=function(i){this.amount=i.amount||0,this.code=i.code||"",this.giftCardId=i.giftCardId||"",this.id=i.id||"",t(this)};export{i as IkasOrderGiftCardLine};
1
+ import{IkasGiftCardType as t}from"@ikas/storefront-models";import{makeAutoObservable as i}from"mobx";var o=function(o){this.amount=o.amount||0,this.code=o.code||"",this.giftCardId=o.giftCardId||"",this.id=o.id||"",this.type=o.type||t.GIFT_CARD,i(this)};export{o as IkasOrderGiftCardLine};
@@ -24,6 +24,7 @@ export declare class IkasOrder extends IkasBaseModel implements IOrder {
24
24
  currencySymbol: string | null;
25
25
  customer: IkasOrderCustomer | null;
26
26
  customerId: string | null;
27
+ edited: boolean | null;
27
28
  giftCardLines: IkasOrderGiftCardLine[] | null;
28
29
  giftPackageLines: IkasOrderGiftPackageLine[] | null;
29
30
  giftPackageNote: string | null;
@@ -70,5 +71,6 @@ export declare class IkasOrder extends IkasBaseModel implements IOrder {
70
71
  get isRefundEnabled(): boolean;
71
72
  get displayedOrderAdjustments(): IkasOrderAdjustment[] | undefined;
72
73
  get orderProductFileIds(): string[];
74
+ get giftCardTotalPrice(): number;
73
75
  }
74
76
  export { IkasOrderCancelReason, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderShippingMethod, IkasOrderStatus, };
@@ -1 +1 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasOrderAddress as t}from"./address/index.js";import{IkasOrderShippingLine as n}from"./shipping-line/index.js";import{IkasOrderLineItem as r}from"./line-item/index.js";import{IkasOrderCustomer as o}from"./customer/index.js";import{IkasOrderGiftPackageLine as i}from"./gift-line/index.js";import{IkasInvoice as u}from"./invoice/index.js";import{IkasOrderPaymentMethod as l}from"./payment-method/index.js";import{IkasOrderAdjustment as s}from"./adjustment/index.js";import{IkasOrderPackage as a}from"./package/index.js";import{IkasOrderTaxLine as d}from"./tax-line/index.js";import{IkasBaseModel as c}from"../base/index.js";import{IkasCampaignType as m,IkasOrderShippingMethod as p,IkasOrderStatus as f}from"@ikas/storefront-models";export{IkasOrderCancelReason,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus}from"@ikas/storefront-models";import{makeObservable as g,observable as b,computed as y}from"mobx";import{IkasOrderFunctions as h}from"@ikas/storefront-model-functions";import{formatCurrency as P}from"../../../utils/currency.js";import{IkasOrderGiftCardLine as j}from"./gift-card-line/index.js";var v=function(c){function v(e,m){var h,P,v,A,k,I,S,O,x,C,L,T=this;(T=c.call(this,e)||this).billingAddress=null,T.cancelReason=null,T.cancelledAt=null,T.currencySymbol=null,T.customer=null,T.customerId=null,T.giftPackageLines=null,T.giftPackageNote=null,T.invoices=null,T.isGiftPackage=null,T.note=null,T.orderAdjustments=null,T.orderNumber=null,T.orderPackageStatus=null,T.orderPackages=null,T.orderPaymentStatus=null,T.orderedAt=null,T.priceListId=null,T.paymentMethods=null,T.shippingAddress=null,T.shippingLines=null,T.taxLines=null,T.billingAddress=e.billingAddress?new t(e.billingAddress):null,T.cancelReason=e.cancelReason||null,T.cancelledAt=e.cancelledAt||null,T.currencyCode=e.currencyCode||"",T.currencySymbol=e.currencySymbol||null,T.customer=e.customer?new o(e.customer):null,T.customerId=e.customerId||null,T.giftCardLines=(null===(h=e.giftCardLines)||void 0===h?void 0:h.map((function(e){return new j(e)})))||null,T.giftPackageLines=(null===(P=e.giftPackageLines)||void 0===P?void 0:P.map((function(e){return new i(e)})))||null,T.giftPackageNote=e.giftPackageNote||null,T.invoices=(null===(v=e.invoices)||void 0===v?void 0:v.map((function(e){return new u(e)})))||null,T.isGiftPackage=e.isGiftPackage||null,T.note=e.note||null,T.orderAdjustments=(null===(A=e.orderAdjustments)||void 0===A?void 0:A.map((function(e){return new s(e)})))||null,T.orderLineItems=(null===(k=e.orderLineItems)||void 0===k?void 0:k.map((function(e){return new r(e)})).filter((function(e){return!e.deleted})))||[],T.orderNumber=e.orderNumber||null,T.orderPackageStatus=e.orderPackageStatus||null,T.orderPackages=(null===(I=e.orderPackages)||void 0===I?void 0:I.map((function(e){return new a(e)})))||null,T.orderPaymentStatus=e.orderPaymentStatus||null,T.orderedAt=e.orderedAt||null,T.priceListId=e.priceListId||null,T.paymentMethods=(null===(S=e.paymentMethods)||void 0===S?void 0:S.map((function(e){return new l(e)})))||null,T.shippingAddress=e.shippingAddress?new t(e.shippingAddress):null,T.shippingLines=(null===(O=e.shippingLines)||void 0===O?void 0:O.map((function(e){return new n(e)})))||null,T.shippingMethod=e.shippingMethod||p.SHIPMENT,T.status=e.status||f.CREATED,T.taxLines=(null===(x=e.taxLines)||void 0===x?void 0:x.map((function(e){return new d(e)})))||null,T.totalFinalPrice=null!==(C=e.totalFinalPrice)&&void 0!==C?C:0,T.totalPrice=null!==(L=e.totalPrice)&&void 0!==L?L:0,T.refundSettings=e.refundSettings;var F={billingAddress:b,cancelReason:b,cancelledAt:b,currencyCode:b,currencySymbol:b,customer:b,customerId:b,giftCardLines:b,giftPackageLines:b,giftPackageNote:b,invoices:b,isGiftPackage:b,note:b,orderAdjustments:b,orderLineItems:b,orderNumber:b,orderPackageStatus:b,orderPackages:b,orderPaymentStatus:b,orderedAt:b,paymentMethods:b,shippingAddress:b,shippingLines:b,shippingMethod:b,status:b,taxLines:b,totalFinalPrice:b,totalPrice:b,refundSettings:b,items:y,itemCount:y,refundableItems:y,unfullfilledItems:y,refundedItems:y,totalTax:y,formattedTotalTax:y,shippingTotal:y,formattedShippingTotal:y,formattedTotalFinalPrice:y,formattedTotalPrice:y,hasCustomer:y,hasValidCustomerEmail:y,customerFullName:y,formattedDate:y,couponAdjustment:y,nonCouponAdjustments:y,orderProductFileIds:y};return m&&(delete F.billingAddress,delete F.shippingAddress),g(T,F),T}return e(v,c),Object.defineProperty(v.prototype,"items",{get:function(){return this.orderLineItems},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"itemCount",{get:function(){var e;return(null===(e=this.items)||void 0===e?void 0:e.length)||0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"itemQuantity",{get:function(){return this.items.reduce((function(e,t){return e+t.quantity}),0)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"refundableItems",{get:function(){return this.refundSettings?h.getRefundableItems(this,this.refundSettings):[]},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"displayedPackages",{get:function(){return h.getDisplayedPackages(this).map((function(e){return new a(e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"unfullfilledItems",{get:function(){return h.getUnfullfilledItems(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"refundedItems",{get:function(){return h.getRefundedItems(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"totalTax",{get:function(){return h.getTotalTax(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"formattedTotalTax",{get:function(){return P(this.totalTax,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"shippingTotal",{get:function(){return h.getShippingTotal(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"formattedShippingTotal",{get:function(){return P(this.shippingTotal,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"formattedTotalFinalPrice",{get:function(){return P(this.totalFinalPrice,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"formattedTotalPrice",{get:function(){return P(this.totalPrice,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"hasCustomer",{get:function(){return h.hasCustomer(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"hasValidCustomerEmail",{get:function(){return h.hasValidCustomerEmail(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"customerFullName",{get:function(){return h.getCustomerFullName(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"formattedDate",{get:function(){return h.getFormattedDate(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"couponAdjustment",{get:function(){return h.getCouponAdjustment(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"nonCouponAdjustments",{get:function(){return h.getNonCouponAdjustments(this)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isRefundEnabled",{get:function(){return this.refundableItems.some((function(e){return null!==e.refundQuantity}))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"displayedOrderAdjustments",{get:function(){var e;return null===(e=this.orderAdjustments)||void 0===e?void 0:e.filter((function(e){return e.campaignType!==m.FREE_SHIPPING}))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"orderProductFileIds",{get:function(){return h.getOrderProductFiles(this)},enumerable:!1,configurable:!0}),v}(c);export{v as IkasOrder};
1
+ import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasOrderAddress as t}from"./address/index.js";import{IkasOrderShippingLine as n}from"./shipping-line/index.js";import{IkasOrderLineItem as r}from"./line-item/index.js";import{IkasOrderCustomer as i}from"./customer/index.js";import{IkasOrderGiftPackageLine as o}from"./gift-line/index.js";import{IkasInvoice as u}from"./invoice/index.js";import{IkasOrderPaymentMethod as l}from"./payment-method/index.js";import{IkasOrderAdjustment as a}from"./adjustment/index.js";import{IkasOrderPackage as s}from"./package/index.js";import{IkasOrderTaxLine as d}from"./tax-line/index.js";import{IkasBaseModel as c}from"../base/index.js";import{IkasOrderLineItemStatus as m,IkasCampaignType as f,IkasOrderShippingMethod as p,IkasOrderStatus as g}from"@ikas/storefront-models";export{IkasOrderCancelReason,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus}from"@ikas/storefront-models";import{makeObservable as b,observable as y,computed as h}from"mobx";import{IkasOrderFunctions as P}from"@ikas/storefront-model-functions";import{formatCurrency as j}from"../../../utils/currency.js";import{IkasOrderGiftCardLine as v}from"./gift-card-line/index.js";var A=function(c){function A(e,m){var f,P,j,A,k,I,O,S,C,x,L,T=this;(T=c.call(this,e)||this).billingAddress=null,T.cancelReason=null,T.cancelledAt=null,T.currencySymbol=null,T.customer=null,T.customerId=null,T.edited=null,T.giftPackageLines=null,T.giftPackageNote=null,T.invoices=null,T.isGiftPackage=null,T.note=null,T.orderAdjustments=null,T.orderNumber=null,T.orderPackageStatus=null,T.orderPackages=null,T.orderPaymentStatus=null,T.orderedAt=null,T.priceListId=null,T.paymentMethods=null,T.shippingAddress=null,T.shippingLines=null,T.taxLines=null,T.billingAddress=e.billingAddress?new t(e.billingAddress):null,T.cancelReason=e.cancelReason||null,T.cancelledAt=e.cancelledAt||null,T.currencyCode=e.currencyCode||"",T.currencySymbol=e.currencySymbol||null,T.customer=e.customer?new i(e.customer):null,T.customerId=e.customerId||null,T.edited=e.edited||null,T.giftCardLines=(null===(f=e.giftCardLines)||void 0===f?void 0:f.map((function(e){return new v(e)})))||null,T.giftPackageLines=(null===(P=e.giftPackageLines)||void 0===P?void 0:P.map((function(e){return new o(e)})))||null,T.giftPackageNote=e.giftPackageNote||null,T.invoices=(null===(j=e.invoices)||void 0===j?void 0:j.map((function(e){return new u(e)})))||null,T.isGiftPackage=e.isGiftPackage||null,T.note=e.note||null,T.orderAdjustments=(null===(A=e.orderAdjustments)||void 0===A?void 0:A.map((function(e){return new a(e)})))||null,T.orderLineItems=(null===(k=e.orderLineItems)||void 0===k?void 0:k.map((function(e){return new r(e)})).filter((function(e){return!e.deleted})))||[],T.orderNumber=e.orderNumber||null,T.orderPackageStatus=e.orderPackageStatus||null,T.orderPackages=(null===(I=e.orderPackages)||void 0===I?void 0:I.map((function(e){return new s(e)})))||null,T.orderPaymentStatus=e.orderPaymentStatus||null,T.orderedAt=e.orderedAt||null,T.priceListId=e.priceListId||null,T.paymentMethods=(null===(O=e.paymentMethods)||void 0===O?void 0:O.map((function(e){return new l(e)})))||null,T.shippingAddress=e.shippingAddress?new t(e.shippingAddress):null,T.shippingLines=(null===(S=e.shippingLines)||void 0===S?void 0:S.map((function(e){return new n(e)})))||null,T.shippingMethod=e.shippingMethod||p.SHIPMENT,T.status=e.status||g.CREATED,T.taxLines=(null===(C=e.taxLines)||void 0===C?void 0:C.map((function(e){return new d(e)})))||null,T.totalFinalPrice=null!==(x=e.totalFinalPrice)&&void 0!==x?x:0,T.totalPrice=null!==(L=e.totalPrice)&&void 0!==L?L:0,T.refundSettings=e.refundSettings;var N={billingAddress:y,cancelReason:y,cancelledAt:y,currencyCode:y,currencySymbol:y,customer:y,customerId:y,edited:y,giftCardLines:y,giftPackageLines:y,giftPackageNote:y,invoices:y,isGiftPackage:y,note:y,orderAdjustments:y,orderLineItems:y,orderNumber:y,orderPackageStatus:y,orderPackages:y,orderPaymentStatus:y,orderedAt:y,paymentMethods:y,shippingAddress:y,shippingLines:y,shippingMethod:y,status:y,taxLines:y,totalFinalPrice:y,totalPrice:y,refundSettings:y,items:h,itemCount:h,refundableItems:h,unfullfilledItems:h,refundedItems:h,totalTax:h,formattedTotalTax:h,shippingTotal:h,formattedShippingTotal:h,formattedTotalFinalPrice:h,formattedTotalPrice:h,hasCustomer:h,hasValidCustomerEmail:h,customerFullName:h,formattedDate:h,couponAdjustment:h,nonCouponAdjustments:h,orderProductFileIds:h};return m&&(delete N.billingAddress,delete N.shippingAddress),b(T,N),T}return e(A,c),Object.defineProperty(A.prototype,"items",{get:function(){return this.orderLineItems.filter((function(e){return e.status!==m.CANCELLED}))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"itemCount",{get:function(){var e;return(null===(e=this.items)||void 0===e?void 0:e.length)||0},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"itemQuantity",{get:function(){return this.items.reduce((function(e,t){return e+t.quantity}),0)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"refundableItems",{get:function(){return this.refundSettings?P.getRefundableItems(this,this.refundSettings):[]},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"displayedPackages",{get:function(){return P.getDisplayedPackages(this).map((function(e){return new s(e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"unfullfilledItems",{get:function(){return P.getUnfullfilledItems(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"refundedItems",{get:function(){return P.getRefundedItems(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"totalTax",{get:function(){return P.getTotalTax(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"formattedTotalTax",{get:function(){return j(this.totalTax,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"shippingTotal",{get:function(){return P.getShippingTotal(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"formattedShippingTotal",{get:function(){return j(this.shippingTotal,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"formattedTotalFinalPrice",{get:function(){return j(this.totalFinalPrice,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"formattedTotalPrice",{get:function(){return j(this.totalPrice,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"hasCustomer",{get:function(){return P.hasCustomer(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"hasValidCustomerEmail",{get:function(){return P.hasValidCustomerEmail(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"customerFullName",{get:function(){return P.getCustomerFullName(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"formattedDate",{get:function(){return P.getFormattedDate(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"couponAdjustment",{get:function(){return P.getCouponAdjustment(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"nonCouponAdjustments",{get:function(){return P.getNonCouponAdjustments(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"isRefundEnabled",{get:function(){return this.refundableItems.some((function(e){return null!==e.refundQuantity}))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"displayedOrderAdjustments",{get:function(){var e;return null===(e=this.orderAdjustments)||void 0===e?void 0:e.filter((function(e){return e.campaignType!==f.FREE_SHIPPING}))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"orderProductFileIds",{get:function(){return P.getOrderProductFiles(this)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"giftCardTotalPrice",{get:function(){var e;return(null===(e=this.giftCardLines)||void 0===e?void 0:e.reduce((function(e,t){return e+t.amount}),0))||0},enumerable:!1,configurable:!0}),A}(c);export{A as IkasOrder};
@@ -0,0 +1,7 @@
1
+ import { IkasOrderLineBundleProductSettings as IOrderLineBundleProductSettings } from "@ikas/storefront-models";
2
+ export declare class IkasOrderLineBundleProductSettings implements IOrderLineBundleProductSettings {
3
+ bundleLineId: string;
4
+ bundleLineQuantity: number;
5
+ name: string | null;
6
+ constructor(data: IOrderLineBundleProductSettings);
7
+ }
@@ -0,0 +1 @@
1
+ import{makeAutoObservable as n}from"mobx";var i=function(i){this.bundleLineId=i.bundleLineId||"",this.bundleLineQuantity=i.bundleLineQuantity||0,this.name=i.name||null,n(this)};export{i as IkasOrderLineBundleProductSettings};
@@ -2,11 +2,14 @@ import { IkasOrderLineItem as IOrderLineItem, IkasOrderLineItemStatus } from "@i
2
2
  import { IkasOrderLineDiscount } from "./discount";
3
3
  import { IkasOrderLineVariant } from "./variant";
4
4
  import { IkasOrderLineItemOption } from "./option";
5
+ import { IkasOrderLineBundleProductSettings } from "./bundle-product-settings";
5
6
  import { IkasBaseModel } from "../../base";
7
+ import { IkasOrderLineItemSubscriptionPlan } from "./order-line-item-subscription-plan";
6
8
  declare type IOrderLineItemConstructorParams = {
7
9
  refundQuantity?: number;
8
10
  } & IOrderLineItem;
9
11
  export declare class IkasOrderLineItem extends IkasBaseModel implements IOrderLineItem {
12
+ bundleProductSettings: IkasOrderLineBundleProductSettings | null;
10
13
  currencyCode: string | null;
11
14
  currencySymbol: string | null;
12
15
  discount: IkasOrderLineDiscount | null;
@@ -24,6 +27,7 @@ export declare class IkasOrderLineItem extends IkasBaseModel implements IOrderLi
24
27
  unitPrice: number | null;
25
28
  variant: IkasOrderLineVariant;
26
29
  orderedAt: number;
30
+ subscriptionPlan: IkasOrderLineItemSubscriptionPlan | null;
27
31
  private _refundQuantity;
28
32
  constructor(data: IOrderLineItemConstructorParams);
29
33
  get priceWithQuantity(): number;
@@ -1 +1 @@
1
- import{__extends as t}from'./../../../../ext/tslib/tslib.es6.js';export{IkasOrderLineItemStatus}from"@ikas/storefront-models";import{IkasOrderLineDiscount as e}from"./discount/index.js";import{IkasOrderLineVariant as i}from"./variant/index.js";import{IkasOrderLineItemOption as r}from"./option/index.js";import{IkasBaseModel as n}from"../../base/index.js";import{makeObservable as o,observable as u,computed as c,action as a}from"mobx";import{IkasOrderLineItemFunctions as l}from"@ikas/storefront-model-functions";import{formatCurrency as d}from"../../../../utils/currency.js";import{IkasBaseStore as s}from"../../../../store/base.js";import"../../../../store/customer/index.js";import"../../../../store/cart/index.js";var f=function(n){function f(t){var l,d,s,f,y,m=this;return(m=n.call(this,t)||this).currencyCode=null,m.discount=null,m.discountPrice=null,m.finalPrice=null,m.options=null,m.originalOrderLineItemId=null,m.statusUpdatedAt=null,m.stockLocationId=null,m.taxValue=null,m._refundQuantity=null,m.currencyCode=t.currencyCode||null,m.currencySymbol=t.currencySymbol||null,m.discount=t.discount?new e(t.discount):null,m.discountPrice=null!==(l=t.discountPrice)&&void 0!==l?l:null,m.finalPrice=null!==(d=t.finalPrice)&&void 0!==d?d:null,m.finalUnitPrice=null!==(s=t.finalUnitPrice)&&void 0!==s?s:null,m.options=(null===(f=t.options)||void 0===f?void 0:f.map((function(t){return new r(t)})))||null,m.originalOrderLineItemId=t.originalOrderLineItemId||null,m.price=t.price,m.quantity=t.quantity,m.status=t.status,m.statusUpdatedAt=t.statusUpdatedAt,m.stockLocationId=t.stockLocationId,m.taxValue=t.taxValue,m.unitPrice=null!==(y=t.unitPrice)&&void 0!==y?y:null,m.variant=new i(t.variant),m.orderedAt=t.orderedAt,m.refundQuantity=t.refundQuantity,o(m,{currencyCode:u,currencySymbol:u,discount:u,discountPrice:u,finalPrice:u,finalUnitPrice:u,options:u,originalOrderLineItemId:u,price:u,quantity:u,status:u,statusUpdatedAt:u,stockLocationId:u,taxValue:u,unitPrice:u,variant:u,orderedAt:u,_refundQuantity:u,priceWithQuantity:c,formattedPriceWithQuantity:c,overridenPriceWithQuantity:c,formattedOverridenPriceWithQuantity:c,formattedFinalPrice:c,formattedUnitPrice:c,formattedFinalUnitPrice:c,formattedDiscountPrice:c,finalPriceWithQuantity:c,formattedFinalPriceWithQuantity:c,tax:c,formattedTax:c,refundQuantity:c,editLineItem:a.bound}),m}return t(f,n),Object.defineProperty(f.prototype,"priceWithQuantity",{get:function(){return l.getPriceWithQuantity(this)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedPriceWithQuantity",{get:function(){return d(this.priceWithQuantity,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"overridenPriceWithQuantity",{get:function(){return l.getOverridenPriceWithQuantity(this)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedOverridenPriceWithQuantity",{get:function(){return d(this.overridenPriceWithQuantity||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedFinalPrice",{get:function(){return d(this.finalPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedUnitPrice",{get:function(){return d(this.unitPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedFinalUnitPrice",{get:function(){return d(this.finalUnitPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"unitPriceText",{get:function(){var t,e,i;if(null!==this.finalUnitPrice)return"".concat(d(this.finalUnitPrice,this.currencyCode||"",this.currencySymbol||"")," / ").concat((null===(e=null===(t=this.variant.baseUnit)||void 0===t?void 0:t.unit)||void 0===e?void 0:e.name)||(null===(i=this.variant.baseUnit)||void 0===i?void 0:i.type))},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedDiscountPrice",{get:function(){return d(this.discountPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"finalPriceWithQuantity",{get:function(){return l.getFinalPriceWithQuantity(this)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedFinalPriceWithQuantity",{get:function(){return d(this.finalPriceWithQuantity||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"tax",{get:function(){return l.getTax(this)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"formattedTax",{get:function(){return d(this.tax,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"hasDiscount",{get:function(){return l.hasDiscount(this)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"refundQuantity",{get:function(){return this._refundQuantity},set:function(t){t?(t>this.quantity&&(t=this.quantity),t<=0&&(t=null),this._refundQuantity=t):this._refundQuantity=null},enumerable:!1,configurable:!0}),f.prototype.editLineItem=function(){var t,e=this.variant.href||"";e=e.includes("?")?e+"&editLineID="+this.id:e+"?editLineID="+this.id,null===(t=s.getInstance().router)||void 0===t||t.push(e)},f}(n);export{f as IkasOrderLineItem};
1
+ import{__extends as t}from'./../../../../ext/tslib/tslib.es6.js';export{IkasOrderLineItemStatus}from"@ikas/storefront-models";import{IkasOrderLineDiscount as e}from"./discount/index.js";import{IkasOrderLineVariant as i}from"./variant/index.js";import{IkasOrderLineItemOption as n}from"./option/index.js";import{IkasOrderLineBundleProductSettings as r}from"./bundle-product-settings/index.js";import{IkasBaseModel as o}from"../../base/index.js";import{makeObservable as u,observable as c,computed as a,action as l}from"mobx";import{IkasOrderLineItemFunctions as d}from"@ikas/storefront-model-functions";import{formatCurrency as s}from"../../../../utils/currency.js";import{IkasBaseStore as f}from"../../../../store/base.js";import"../../../../store/customer/index.js";import"../../../../store/cart/index.js";import{IkasOrderLineItemSubscriptionPlan as y}from"./order-line-item-subscription-plan/index.js";var p=function(o){function p(t){var d,s,f,p,m,b=this;return(b=o.call(this,t)||this).bundleProductSettings=null,b.currencyCode=null,b.discount=null,b.discountPrice=null,b.finalPrice=null,b.options=null,b.originalOrderLineItemId=null,b.statusUpdatedAt=null,b.stockLocationId=null,b.taxValue=null,b.subscriptionPlan=null,b._refundQuantity=null,b.bundleProductSettings=t.bundleProductSettings?new r(t.bundleProductSettings):null,b.currencyCode=t.currencyCode||null,b.currencySymbol=t.currencySymbol||null,b.discount=t.discount?new e(t.discount):null,b.discountPrice=null!==(d=t.discountPrice)&&void 0!==d?d:null,b.finalPrice=null!==(s=t.finalPrice)&&void 0!==s?s:null,b.finalUnitPrice=null!==(f=t.finalUnitPrice)&&void 0!==f?f:null,b.options=(null===(p=t.options)||void 0===p?void 0:p.map((function(t){return new n(t)})))||null,b.originalOrderLineItemId=t.originalOrderLineItemId||null,b.price=t.price,b.quantity=t.quantity,b.status=t.status,b.statusUpdatedAt=t.statusUpdatedAt,b.stockLocationId=t.stockLocationId,b.taxValue=t.taxValue,b.unitPrice=null!==(m=t.unitPrice)&&void 0!==m?m:null,b.variant=new i(t.variant),b.orderedAt=t.orderedAt,b.subscriptionPlan=t.subscriptionPlan?new y(t.subscriptionPlan):null,b.refundQuantity=t.refundQuantity,u(b,{bundleProductSettings:c,currencyCode:c,currencySymbol:c,discount:c,discountPrice:c,finalPrice:c,finalUnitPrice:c,options:c,originalOrderLineItemId:c,price:c,quantity:c,status:c,statusUpdatedAt:c,stockLocationId:c,taxValue:c,unitPrice:c,variant:c,orderedAt:c,subscriptionPlan:c,_refundQuantity:c,priceWithQuantity:a,formattedPriceWithQuantity:a,overridenPriceWithQuantity:a,formattedOverridenPriceWithQuantity:a,formattedFinalPrice:a,formattedUnitPrice:a,formattedFinalUnitPrice:a,formattedDiscountPrice:a,finalPriceWithQuantity:a,formattedFinalPriceWithQuantity:a,tax:a,formattedTax:a,refundQuantity:a,editLineItem:l.bound}),b}return t(p,o),Object.defineProperty(p.prototype,"priceWithQuantity",{get:function(){return d.getPriceWithQuantity(this)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedPriceWithQuantity",{get:function(){return s(this.priceWithQuantity,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"overridenPriceWithQuantity",{get:function(){return d.getOverridenPriceWithQuantity(this)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedOverridenPriceWithQuantity",{get:function(){return s(this.overridenPriceWithQuantity||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedFinalPrice",{get:function(){return s(this.finalPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedUnitPrice",{get:function(){return s(this.unitPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedFinalUnitPrice",{get:function(){return s(this.finalUnitPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"unitPriceText",{get:function(){var t,e,i,n;if(null!==this.finalUnitPrice){var r=null===(t=this.variant.baseUnit)||void 0===t?void 0:t.baseAmount,o=(null===(i=null===(e=this.variant.baseUnit)||void 0===e?void 0:e.unit)||void 0===i?void 0:i.name)||(null===(n=this.variant.baseUnit)||void 0===n?void 0:n.type);return"".concat(s(this.finalUnitPrice,this.currencyCode||"",this.currencySymbol||"")," / ").concat(r&&1!==r?r:"").concat(o)}},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedDiscountPrice",{get:function(){return s(this.discountPrice||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"finalPriceWithQuantity",{get:function(){return d.getFinalPriceWithQuantity(this)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedFinalPriceWithQuantity",{get:function(){return s(this.finalPriceWithQuantity||0,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"tax",{get:function(){return d.getTax(this)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"formattedTax",{get:function(){return s(this.tax,this.currencyCode||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"hasDiscount",{get:function(){return d.hasDiscount(this)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"refundQuantity",{get:function(){return this._refundQuantity},set:function(t){t?(t>this.quantity&&(t=this.quantity),t<=0&&(t=null),this._refundQuantity=t):this._refundQuantity=null},enumerable:!1,configurable:!0}),p.prototype.editLineItem=function(){var t,e=this.variant.href||"";e=e.includes("?")?e+"&editLineID="+this.id:e+"?editLineID="+this.id,null===(t=f.getInstance().router)||void 0===t||t.push(e)},p}(o);export{p as IkasOrderLineItem};
@@ -0,0 +1,8 @@
1
+ import { IkasOrderLineItemSubscriptionPlan as IOrderLineItemSubscriptionPlan } from "@ikas/storefront-models";
2
+ import { IkasOrderLineItemSubscriptionPlanPeriod } from "./order-line-item-subscription-plan-period";
3
+ export declare class IkasOrderLineItemSubscriptionPlan implements IOrderLineItemSubscriptionPlan {
4
+ id: string;
5
+ name: string;
6
+ period: IkasOrderLineItemSubscriptionPlanPeriod;
7
+ constructor(data: IOrderLineItemSubscriptionPlan);
8
+ }
@@ -0,0 +1 @@
1
+ import{makeAutoObservable as i}from"mobx";import{IkasOrderLineItemSubscriptionPlanPeriod as o}from"./order-line-item-subscription-plan-period/index.js";var r=function(r){this.id=r.id,this.name=r.name,this.period=new o(r.period),i(this)};export{r as IkasOrderLineItemSubscriptionPlan};
@@ -0,0 +1,6 @@
1
+ import { IkasOrderLineItemSubscriptionPlanDiscountAmountType, IkasOrderLineItemSubscriptionPlanDiscount as IOrderLineItemSubscriptionPlanDiscount } from "@ikas/storefront-models";
2
+ export declare class IkasOrderLineItemSubscriptionPlanDiscount implements IOrderLineItemSubscriptionPlanDiscount {
3
+ amount: number;
4
+ type: IkasOrderLineItemSubscriptionPlanDiscountAmountType;
5
+ constructor(data: IOrderLineItemSubscriptionPlanDiscount);
6
+ }
@@ -0,0 +1 @@
1
+ var t=function(t){this.amount=t.amount,this.type=t.type};export{t as IkasOrderLineItemSubscriptionPlanDiscount};
@@ -0,0 +1,14 @@
1
+ import { IkasOrderLineItemSubscriptionPlanPeriod as IOrderLineItemSubscriptionPlanPeriod, IkasOrderLineItemSubscriptionPlanDurationUnitType, IkasOrderLineItemSubscriptionPlanPaymentType } from "@ikas/storefront-models";
2
+ import { IkasOrderLineItemSubscriptionPlanDiscount } from "../order-line-item-subscription-plan-discount";
3
+ export declare class IkasOrderLineItemSubscriptionPlanPeriod implements IOrderLineItemSubscriptionPlanPeriod {
4
+ cutOffDay: number | null;
5
+ discount: IkasOrderLineItemSubscriptionPlanDiscount | null;
6
+ durationUnit: IkasOrderLineItemSubscriptionPlanDurationUnitType;
7
+ durationValue: number;
8
+ id: string;
9
+ maxOrders: number | null;
10
+ paymentType: IkasOrderLineItemSubscriptionPlanPaymentType;
11
+ scheduledOrderDay: number | null;
12
+ title: string;
13
+ constructor(data: IOrderLineItemSubscriptionPlanPeriod);
14
+ }
@@ -0,0 +1 @@
1
+ import{makeAutoObservable as t}from"mobx";import{IkasOrderLineItemSubscriptionPlanDiscount as i}from"../order-line-item-subscription-plan-discount/index.js";var e=function(e){this.cutOffDay=e.cutOffDay,this.discount=e.discount?new i(e.discount):null,this.durationUnit=e.durationUnit,this.durationValue=e.durationValue,this.id=e.id,this.maxOrders=e.maxOrders,this.paymentType=e.paymentType,this.scheduledOrderDay=e.scheduledOrderDay,this.title=e.title,t(this)};export{e as IkasOrderLineItemSubscriptionPlanPeriod};
@@ -4,6 +4,7 @@ import { IkasTransactionWithPrices } from "./transaction-with-prices";
4
4
  export declare class IkasOrderTransactionWithPrices implements IOrderTransactionWithPrices {
5
5
  chargedAmount: number | null;
6
6
  orderFinalPrice: number | null;
7
+ pendingAmount: number | null;
7
8
  refundableTransactions: IkasListOrderTransactionWithPricesRefundableTransaction[];
8
9
  refundedAmount: number | null;
9
10
  remainingBalance: number | null;
@@ -1 +1 @@
1
- export{IkasPaymentMethodTypeWithPrices,IkasTransactionSourceWithPrices,IkasTransactionStatusWithPrices,IkasTransactionTypeWithPrices}from"@ikas/storefront-models";import{makeAutoObservable as r}from"mobx";import{formatCurrency as n}from"../../../../utils/currency.js";import{IkasListOrderTransactionWithPricesRefundableTransaction as t}from"./list-order-transaction-refundable-transaction/index.js";import{IkasTransactionWithPrices as e}from"./transaction-with-prices/index.js";export{IkasTransactionWithPrices}from"./transaction-with-prices/index.js";var i=function(){function i(n){this.chargedAmount=n.chargedAmount||null,this.orderFinalPrice=n.orderFinalPrice||null,this.refundableTransactions=n.refundableTransactions?n.refundableTransactions.map((function(r){return new t(r)})):[],this.refundedAmount=n.refundedAmount||null,this.remainingBalance=n.remainingBalance||null,this.transactions=n.transactions?n.transactions.map((function(r){return new e(r)})):[],r(this)}return Object.defineProperty(i.prototype,"formattedChargedAmount",{get:function(){return n(this.chargedAmount||0,"","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formattedOrderFinalPrice",{get:function(){return n(this.orderFinalPrice||0,"","")},enumerable:!1,configurable:!0}),i}();export{i as IkasOrderTransactionWithPrices};
1
+ export{IkasPaymentMethodTypeWithPrices,IkasTransactionSourceWithPrices,IkasTransactionStatusWithPrices,IkasTransactionTypeWithPrices}from"@ikas/storefront-models";import{makeAutoObservable as n}from"mobx";import{formatCurrency as r}from"../../../../utils/currency.js";import{IkasListOrderTransactionWithPricesRefundableTransaction as t}from"./list-order-transaction-refundable-transaction/index.js";import{IkasTransactionWithPrices as e}from"./transaction-with-prices/index.js";export{IkasTransactionWithPrices}from"./transaction-with-prices/index.js";var i=function(){function i(r){this.chargedAmount=r.chargedAmount||null,this.orderFinalPrice=r.orderFinalPrice||null,this.pendingAmount=r.pendingAmount||null,this.refundableTransactions=r.refundableTransactions?r.refundableTransactions.map((function(n){return new t(n)})):[],this.refundedAmount=r.refundedAmount||null,this.remainingBalance=r.remainingBalance||null,this.transactions=r.transactions?r.transactions.map((function(n){return new e(n)})):[],n(this)}return Object.defineProperty(i.prototype,"formattedChargedAmount",{get:function(){return r(this.chargedAmount||0,"","")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formattedOrderFinalPrice",{get:function(){return r(this.orderFinalPrice||0,"","")},enumerable:!1,configurable:!0}),i}();export{i as IkasOrderTransactionWithPrices};
@@ -10,6 +10,8 @@ export declare class IkasProductOffer {
10
10
  product: IkasProduct;
11
11
  isSelected: boolean;
12
12
  quantity: number;
13
+ title: string | null;
14
+ description: string | null;
13
15
  constructor(data?: Partial<IkasProductOffer>);
14
16
  get isAccepted(): boolean;
15
17
  }
@@ -1 +1 @@
1
- import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as i}from"mobx";import{IkasCampaignOfferTargetPageType as e,IkasCartCampaignOfferStatus as r}from"@ikas/storefront-models";import{IkasProduct as o}from"../index.js";import{IkasBaseStore as n}from"../../../../store/base.js";import"../../../../store/customer/index.js";import"../../../../store/cart/index.js";var a=function(t){this.id=t.id||"",i(this)},s=function(){function a(e){var r,n,a;void 0===e&&(e={}),this.isSelected=!1,this.quantity=1,this.campaignOfferId=e.campaignOfferId||"",this.campaignOfferProductId=e.campaignOfferProductId||"",this.product=new o(t(t({},e.product),{selectedVariantValues:null===(a=(null===(r=e.product)||void 0===r?void 0:r.variants.find((function(t){return t.isActive})))||(null===(n=e.product)||void 0===n?void 0:n.variants[0]))||void 0===a?void 0:a.variantValues})),this.isSelected=e.isSelected||!1,this.quantity=e.quantity||1,i(this)}return Object.defineProperty(a.prototype,"isAccepted",{get:function(){var t,i,o=this;return(null===(i=null===(t=n.getInstance().cartStore.cart)||void 0===t?void 0:t.campaignOffers)||void 0===i?void 0:i.some((function(t){return o.campaignOfferId===t.campaignOfferId&&o.campaignOfferProductId===t.campaignOfferProductId&&t.targetPageTypes.some((function(t){return t===e.PRODUCT}))&&t.status===r.ACCEPTED})))||!1},enumerable:!1,configurable:!0}),a}();export{a as IkasProductCampaignOffer,s as IkasProductOffer};
1
+ import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as i}from"mobx";import{IkasCampaignOfferTargetPageType as e,IkasCartCampaignOfferStatus as r}from"@ikas/storefront-models";import{IkasProduct as n}from"../index.js";import{IkasBaseStore as o}from"../../../../store/base.js";import"../../../../store/customer/index.js";import"../../../../store/cart/index.js";var s=function(t){this.id=t.id||"",i(this)},a=function(){function s(e){var r,o,s;void 0===e&&(e={}),this.isSelected=!1,this.quantity=1,this.title=null,this.description=null,this.campaignOfferId=e.campaignOfferId||"",this.campaignOfferProductId=e.campaignOfferProductId||"",this.product=new n(t(t({},e.product),{selectedVariantValues:null===(s=(null===(r=e.product)||void 0===r?void 0:r.variants.find((function(t){return t.isActive})))||(null===(o=e.product)||void 0===o?void 0:o.variants[0]))||void 0===s?void 0:s.variantValues})),this.isSelected=e.isSelected||!1,this.quantity=e.quantity||1,this.title=e.title||null,this.description=e.description||null,i(this)}return Object.defineProperty(s.prototype,"isAccepted",{get:function(){var t,i,n=this;return(null===(i=null===(t=o.getInstance().cartStore.cart)||void 0===t?void 0:t.campaignOffers)||void 0===i?void 0:i.some((function(t){return n.campaignOfferId===t.campaignOfferId&&n.campaignOfferProductId===t.campaignOfferProductId&&t.targetPageTypes.some((function(t){return t===e.PRODUCT}))&&t.status===r.ACCEPTED})))||!1},enumerable:!1,configurable:!0}),s}();export{s as IkasProductCampaignOffer,a as IkasProductOffer};
@@ -24,6 +24,8 @@ export declare class IkasProductFilter implements IProductFilter {
24
24
  get valueList(): string[];
25
25
  get keyList(): string[];
26
26
  get displayedValues(): IkasApplicableProductFilterValue[];
27
+ get discountStatusMapping(): Record<string, string>;
28
+ get isDiscountStatusFilter(): boolean;
27
29
  onFilterValueClick: (filterValue: IkasApplicableProductFilterValue) => void;
28
30
  onNumberRangeClick: (option: IkasProductFilterNumberRangeListOption) => void;
29
31
  onNumberRangeChange: (numberRange: IkasFilterRangeValue | null) => void;
@@ -1 +1 @@
1
- import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{IkasImage as e}from"../../image/index.js";import{IkasProductFilterType as i,IkasProductFilterDisplayType as s,IkasProductFilterSortType as n}from"@ikas/storefront-models";export{IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType,IkasProductStockFilterValue}from"@ikas/storefront-models";import{makeAutoObservable as l}from"mobx";import{IkasProductFilterFunctions as o}from"@ikas/storefront-model-functions";var u=function(){function e(e,n){var u=this;if(this.productList=null,this.numberRange=null,this.numberRangeLimit=null,this.numberRangeListOptions=null,this.onFilterValueClick=function(t){var e;o.onFilterValueClick(u,t),null===(e=u.productList)||void 0===e||e.applyFilters()},this.onNumberRangeClick=function(t){var e;o.onNumberRangeClick(u,t),null===(e=u.productList)||void 0===e||e.applyFilters()},this.onNumberRangeChange=function(t){var e;o.onNumberRangeChange(u,t),null===(e=u.productList)||void 0===e||e.applyFilters()},this.clear=function(){o.clear(u)},this.toInput=function(){return o.toInput(u)},this.applyQueryParam=function(t){o.applyQueryParam(u,t)},this.id=e.id||"",this.key=e.key||"",this.name=e.name||"",this.order=e.order||0,this.type=e.type||i.BRAND,this.displayType=e.displayType||s.BOX,this.isMultiSelect=e.isMultiSelect||!1,this.isFacetFilter=e.isFacetFilter||!1,this.values=e.values?e.values.map((function(t){return new r(t)})):null,this.customValues=e.customValues||null,this.settings=e.settings?new h(e.settings):null,this.displayType===s.NUMBER_RANGE_LIST&&this.customValues&&this.customValues.length&&(this.numberRangeListOptions=this.customValues.map((function(e){return new c(t(t({key:e},m(e)),{isSelected:!1}))}))),this.displayType===s.NUMBER_RANGE&&this.customValues&&this.customValues.length){var a=this.customValues[0];this.numberRangeLimit=m(a)}this.productList=n,l(this)}return Object.defineProperty(e.prototype,"isCustomValueFilter",{get:function(){return o.isCustomValueFilter(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStockFilter",{get:function(){return o.isStockFilter(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"valueList",{get:function(){return o.getValueList(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"keyList",{get:function(){return o.getKeyList(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayedValues",{get:function(){return o.getDisplayedValues(this)},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e=t({},this);return delete e.productList,e},e}(),r=function(){function t(t){this.thumbnailImageId=null,this.thumbnailImage=null,this.id=t.id||"",this.key=t.key||"",this.name=t.name||"",this.colorCode=t.colorCode||null,this.thumbnailImageId=t.thumbnailImageId||null,this.thumbnailImageId&&(this.thumbnailImage=new e({id:this.thumbnailImageId,isVideo:!1})),this.isSelected=t.isSelected||!1,this.resultCount=void 0!==t.resultCount&&null!==t.resultCount?t.resultCount:null,this.slug=t.slug||null,l(this)}return Object.defineProperty(t.prototype,"href",{get:function(){return o.getIkasFilterHref(this)},enumerable:!1,configurable:!0}),t}(),a=function(t){this.id=t.id,this.type=t.type,this.displayType=t.displayType,this.valueList=t.valueList,l(this)},h=function(t){this.useAndFilter=t.useAndFilter||!1,this.showCollapsedOnDesktop=t.showCollapsedOnDesktop||!1,this.showCollapsedOnMobile=t.showCollapsedOnMobile||!1,this.sortType=t.sortType||n.ALPHABETICAL_ASC,this.customSortedValues=t.customSortedValues||null,l(this)},p=function(t){this.from=t.from||0,this.to=t.to||null,l(this)},c=function(){function e(t){this.from=t.from||0,this.to=t.to||null,this.key=t.key||"",this.isSelected=t.isSelected||!1,l(this)}return e.prototype.toJSON=function(){return t(t({},this),{isSelected:this.isSelected})},e}();function m(t){return o.parseRangeStr(t)}export{r as IkasApplicableProductFilterValue,p as IkasFilterRangeValue,u as IkasProductFilter,c as IkasProductFilterNumberRangeListOption,h as IkasProductFilterSettings,a as IkasProductFilterValue,m as parseRangeStr};
1
+ import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{IkasImage as e}from"../../image/index.js";import{IkasProductFilterType as i,IkasProductFilterDisplayType as s,IkasProductFilterSortType as n}from"@ikas/storefront-models";export{IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType,IkasProductStockFilterValue}from"@ikas/storefront-models";import{makeAutoObservable as o}from"mobx";import{IkasProductFilterFunctions as u}from"@ikas/storefront-model-functions";var r=function(){function e(e,n){var r=this;if(this.productList=null,this.numberRange=null,this.numberRangeLimit=null,this.numberRangeListOptions=null,this.onFilterValueClick=function(t){var e;u.onFilterValueClick(r,t),null===(e=r.productList)||void 0===e||e.applyFilters()},this.onNumberRangeClick=function(t){var e;u.onNumberRangeClick(r,t),null===(e=r.productList)||void 0===e||e.applyFilters()},this.onNumberRangeChange=function(t){var e;u.onNumberRangeChange(r,t),null===(e=r.productList)||void 0===e||e.applyFilters()},this.clear=function(){u.clear(r)},this.toInput=function(){return u.toInput(r)},this.applyQueryParam=function(t){u.applyQueryParam(r,t)},this.id=e.id||"",this.key=e.key||"",this.name=e.name||"",this.order=e.order||0,this.type=e.type||i.BRAND,this.displayType=e.displayType||s.BOX,this.isMultiSelect=e.isMultiSelect||!1,this.isFacetFilter=e.isFacetFilter||!1,this.values=e.values?e.values.map((function(t){return new l(t)})):null,this.customValues=e.customValues||null,this.settings=e.settings?new h(e.settings):null,this.displayType===s.NUMBER_RANGE_LIST&&this.customValues&&this.customValues.length&&(this.numberRangeListOptions=this.customValues.map((function(e){return new c(t(t({key:e},m(e)),{isSelected:!1}))}))),this.displayType===s.NUMBER_RANGE&&this.customValues&&this.customValues.length){var a=this.customValues[0];this.numberRangeLimit=m(a)}this.productList=n,o(this)}return Object.defineProperty(e.prototype,"isCustomValueFilter",{get:function(){return u.isCustomValueFilter(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStockFilter",{get:function(){return u.isStockFilter(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"valueList",{get:function(){return u.getValueList(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"keyList",{get:function(){return u.getKeyList(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayedValues",{get:function(){return u.getDisplayedValues(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"discountStatusMapping",{get:function(){return u.getDiscountStatusMapping()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDiscountStatusFilter",{get:function(){return u.isDiscountStatusFilter(this)},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e=t({},this);return delete e.productList,e},e}(),l=function(){function t(t){this.thumbnailImageId=null,this.thumbnailImage=null,this.id=t.id||"",this.key=t.key||"",this.name=t.name||"",this.colorCode=t.colorCode||null,this.thumbnailImageId=t.thumbnailImageId||null,this.thumbnailImageId&&(this.thumbnailImage=new e({id:this.thumbnailImageId,isVideo:!1})),this.isSelected=t.isSelected||!1,this.resultCount=void 0!==t.resultCount&&null!==t.resultCount?t.resultCount:null,this.slug=t.slug||null,o(this)}return Object.defineProperty(t.prototype,"href",{get:function(){return u.getIkasFilterHref(this)},enumerable:!1,configurable:!0}),t}(),a=function(t){this.id=t.id,this.type=t.type,this.displayType=t.displayType,this.valueList=t.valueList,o(this)},h=function(t){this.useAndFilter=t.useAndFilter||!1,this.showCollapsedOnDesktop=t.showCollapsedOnDesktop||!1,this.showCollapsedOnMobile=t.showCollapsedOnMobile||!1,this.sortType=t.sortType||n.ALPHABETICAL_ASC,this.customSortedValues=t.customSortedValues||null,o(this)},p=function(t){this.from=t.from||0,this.to=t.to||null,o(this)},c=function(){function e(t){this.from=t.from||0,this.to=t.to||null,this.key=t.key||"",this.isSelected=t.isSelected||!1,o(this)}return e.prototype.toJSON=function(){return t(t({},this),{isSelected:this.isSelected})},e}();function m(t){return u.parseRangeStr(t)}export{l as IkasApplicableProductFilterValue,p as IkasFilterRangeValue,r as IkasProductFilter,c as IkasProductFilterNumberRangeListOption,h as IkasProductFilterSettings,a as IkasProductFilterValue,m as parseRangeStr};
@@ -19,6 +19,7 @@ import { IkasProductGroupValue } from "./group/value";
19
19
  import { IkasProductGroupOrder } from "./group/order";
20
20
  import { IkasImage } from "../image";
21
21
  import { IkasProductSalesChannel } from "./sales-channel";
22
+ import { IkasProductTranslation } from "./translations";
22
23
  export declare class IkasProduct implements IProduct {
23
24
  id: string;
24
25
  name: string;
@@ -44,6 +45,7 @@ export declare class IkasProduct implements IProduct {
44
45
  campaignOffers: IkasProductCampaignOffer[] | null;
45
46
  productGroup: IkasProductGroup | null;
46
47
  salesChannels: IkasProductSalesChannel[] | null;
48
+ translations?: IkasProductTranslation[] | null;
47
49
  productOptionSet?: IkasProductOptionSet | null;
48
50
  campaigns?: IkasProductCampaign[] | null;
49
51
  selectedVariantValues: IkasVariantValue[];
@@ -79,11 +81,14 @@ export declare class IkasProduct implements IProduct {
79
81
  limit?: number;
80
82
  page?: number;
81
83
  hasImage?: boolean;
84
+ locale?: string;
85
+ sortWithImagesFirst?: boolean;
82
86
  }) => Promise<IkasCustomerReviewList>;
83
87
  getProductOptionSet: () => Promise<boolean>;
84
88
  initBundleProducts: () => Promise<void>;
85
89
  setShowVariantsInGroup: (value: boolean) => void;
86
90
  getBundleProductsOfVariant: (variant: IkasProductVariant) => Promise<void>;
91
+ getSubscriptionPlanOfVariant: (variant: IkasProductVariant) => Promise<void>;
87
92
  setOptionRealPrices: () => void;
88
93
  private setOptionPrices;
89
94
  }
@@ -104,6 +109,7 @@ export declare type IkasProductGroupItem = {
104
109
  href: string;
105
110
  groupValues: IkasProductGroupValue[];
106
111
  order: IkasProductGroupOrder;
112
+ hasStock: boolean;
107
113
  };
108
114
  export declare type IkasDisplayedProductGroup = {
109
115
  name: string;
@@ -114,4 +120,6 @@ export declare type IkasDisplayedProductGroupItem = {
114
120
  href: string;
115
121
  value: string;
116
122
  isSelected: boolean;
123
+ isSelectable: boolean;
124
+ hasStock: boolean;
117
125
  };