@ikas/storefront 4.5.0-beta.3 → 4.5.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_virtual/axios.js +1 -0
- package/build/_virtual/index.js +1 -0
- package/build/analytics/analytics.d.ts +37 -0
- package/build/analytics/analytics.js +1 -0
- package/build/analytics/events.d.ts +37 -0
- package/build/analytics/events.js +1 -0
- package/build/analytics/facebookPixel.d.ts +15 -0
- package/build/analytics/facebookPixel.js +1 -0
- package/build/analytics/googleAnalytics.d.ts +13 -0
- package/build/analytics/googleAnalytics.js +1 -0
- package/build/analytics/googleTagManager.d.ts +209 -0
- package/build/analytics/googleTagManager.js +1 -0
- package/build/analytics/googleUniversal.d.ts +9 -0
- package/build/analytics/googleUniversal.js +1 -0
- package/build/analytics/head/index.d.ts +3 -0
- package/build/analytics/head/index.js +1 -0
- package/build/analytics/ikas.d.ts +135 -0
- package/build/analytics/ikas.js +1 -0
- package/build/analytics/index.d.ts +2 -0
- package/build/analytics/tiktokPixel.d.ts +13 -0
- package/build/analytics/tiktokPixel.js +1 -0
- package/build/components/checkout/components/address-form/index.d.ts +3 -0
- package/build/components/checkout/components/address-form/index.js +1 -0
- package/build/components/checkout/components/address-form/model.d.ts +87 -0
- package/build/components/checkout/components/address-form/model.js +1 -0
- package/build/components/checkout/components/adyen/adyen.module.scss.js +1 -0
- package/build/components/checkout/components/adyen/index.d.ts +8 -0
- package/build/components/checkout/components/adyen/index.js +1 -0
- package/build/components/checkout/components/button/index.d.ts +13 -0
- package/build/components/checkout/components/button/index.js +1 -0
- package/build/components/checkout/components/button/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +11 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-right.d.ts +2 -0
- package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-right.js +1 -0
- package/build/components/checkout/components/cart-summary/index.d.ts +12 -0
- package/build/components/checkout/components/cart-summary/index.js +1 -0
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
- package/build/components/checkout/components/checkbox/check.d.ts +6 -0
- package/build/components/checkout/components/checkbox/check.js +1 -0
- package/build/components/checkout/components/checkbox/index.d.ts +10 -0
- package/build/components/checkout/components/checkbox/index.js +1 -0
- package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
- package/build/components/checkout/components/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -0
- package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
- package/build/components/checkout/components/customer-addresses/index.d.ts +19 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -0
- package/build/components/checkout/components/customer-addresses/model.d.ts +21 -0
- package/build/components/checkout/components/customer-addresses/model.js +1 -0
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
- package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +10 -0
- package/build/components/checkout/components/delivery-methods/icon-button/index.js +1 -0
- package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/delivery-methods/icons/box.d.ts +6 -0
- package/build/components/checkout/components/delivery-methods/icons/box.js +1 -0
- package/build/components/checkout/components/delivery-methods/icons/store.d.ts +6 -0
- package/build/components/checkout/components/delivery-methods/icons/store.js +1 -0
- package/build/components/checkout/components/delivery-methods/index.d.ts +7 -0
- package/build/components/checkout/components/delivery-methods/index.js +1 -0
- package/build/components/checkout/components/delivery-methods/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
- package/build/components/checkout/components/error/index.d.ts +7 -0
- package/build/components/checkout/components/error/index.js +1 -0
- package/build/components/checkout/components/error/no-shipping-error/index.d.ts +3 -0
- package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
- package/build/components/checkout/components/error/payment-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/payment-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/stock-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/unknown-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/unknown-error/index.js +1 -0
- package/build/components/checkout/components/expandable-section/index.d.ts +6 -0
- package/build/components/checkout/components/expandable-section/index.js +1 -0
- package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
- package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
- package/build/components/checkout/components/form-item/caret-down.js +1 -0
- package/build/components/checkout/components/form-item/index.d.ts +3 -0
- package/build/components/checkout/components/form-item/index.js +1 -0
- package/build/components/checkout/components/form-item/model.d.ts +69 -0
- package/build/components/checkout/components/form-item/model.js +1 -0
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
- package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
- package/build/components/checkout/components/input-with-button/index.d.ts +12 -0
- package/build/components/checkout/components/input-with-button/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/klarna/index.d.ts +7 -0
- package/build/components/checkout/components/klarna/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +8 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/index.d.ts +8 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/index.js +1 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/close.d.ts +2 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/close.js +1 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/info-mark.d.ts +2 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/info-mark.js +1 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/master-pass-by-master-card-big.d.ts +2 -0
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/master-pass-by-master-card-big.js +1 -0
- package/build/components/checkout/components/master-pass/modal/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal/svg/master-pass-by-master-card-small.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal/svg/master-pass-by-master-card-small.js +1 -0
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-otp/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +1 -0
- package/build/components/checkout/components/master-pass/modal-response/index.d.ts +9 -0
- package/build/components/checkout/components/master-pass/modal-response/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-success/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/success.js +1 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +2 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +1 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.d.ts +6 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.js +1 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.d.ts +6 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.js +1 -0
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +3 -0
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +1 -0
- package/build/components/checkout/components/modal/index.d.ts +8 -0
- package/build/components/checkout/components/modal/index.js +1 -0
- package/build/components/checkout/components/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/modal/useEscape.d.ts +5 -0
- package/build/components/checkout/components/modal/useEscape.js +1 -0
- package/build/components/checkout/components/notification-box/index.d.ts +9 -0
- package/build/components/checkout/components/notification-box/index.js +1 -0
- package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/offer-product/index.d.ts +8 -0
- package/build/components/checkout/components/offer-product/index.js +1 -0
- package/build/components/checkout/components/offer-product/select/arrows.d.ts +6 -0
- package/build/components/checkout/components/offer-product/select/arrows.js +1 -0
- package/build/components/checkout/components/offer-product/select/index.d.ts +11 -0
- package/build/components/checkout/components/offer-product/select/index.js +1 -0
- package/build/components/checkout/components/offer-product/select/style.module.scss.js +1 -0
- package/build/components/checkout/components/offer-product/style.module.scss.js +1 -0
- package/build/components/checkout/components/paypal/index.d.ts +7 -0
- package/build/components/checkout/components/paypal/index.js +1 -0
- package/build/components/checkout/components/paypal/style.module.scss.js +1 -0
- package/build/components/checkout/components/phone-number-input/compare-strings.d.ts +2 -0
- package/build/components/checkout/components/phone-number-input/compare-strings.js +1 -0
- package/build/components/checkout/components/phone-number-input/get-countries.d.ts +7 -0
- package/build/components/checkout/components/phone-number-input/get-countries.js +1 -0
- package/build/components/checkout/components/phone-number-input/index.d.ts +10 -0
- package/build/components/checkout/components/phone-number-input/index.js +1 -0
- package/build/components/checkout/components/phone-number-input/style.module.scss.js +1 -0
- package/build/components/checkout/components/quick-registration/completed.d.ts +7 -0
- package/build/components/checkout/components/quick-registration/completed.js +1 -0
- package/build/components/checkout/components/quick-registration/index.d.ts +7 -0
- package/build/components/checkout/components/quick-registration/index.js +1 -0
- package/build/components/checkout/components/quick-registration/model.d.ts +19 -0
- package/build/components/checkout/components/quick-registration/model.js +1 -0
- package/build/components/checkout/components/quick-registration/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.d.ts +13 -0
- package/build/components/checkout/components/select-box/index.js +1 -0
- package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/step-container/index.d.ts +15 -0
- package/build/components/checkout/components/step-container/index.js +1 -0
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
- package/build/components/checkout/components/stripe/checkout-form.d.ts +8 -0
- package/build/components/checkout/components/stripe/checkout-form.js +1 -0
- package/build/components/checkout/components/stripe/index.d.ts +9 -0
- package/build/components/checkout/components/stripe/index.js +1 -0
- package/build/components/checkout/components/stripe/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/arrow-down.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-down.js +1 -0
- package/build/components/checkout/components/svg/arrow-left.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-right.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.js +1 -0
- package/build/components/checkout/components/svg/discount.d.ts +6 -0
- package/build/components/checkout/components/svg/external.d.ts +6 -0
- package/build/components/checkout/components/svg/external.js +1 -0
- package/build/components/checkout/components/svg/gift.d.ts +7 -0
- package/build/components/checkout/components/svg/gift.js +1 -0
- package/build/components/checkout/components/svg/ikas.d.ts +6 -0
- package/build/components/checkout/components/svg/ikas.js +1 -0
- package/build/components/checkout/components/svg/lock.d.ts +6 -0
- package/build/components/checkout/components/svg/lock.js +1 -0
- package/build/components/checkout/components/svg/shopping-cart.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.js +1 -0
- package/build/components/checkout/components/svg/tag.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.js +1 -0
- package/build/components/checkout/components/toggle/index.d.ts +10 -0
- package/build/components/checkout/components/toggle/index.js +1 -0
- package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
- package/build/components/checkout/components/tooltip/index.d.ts +8 -0
- package/build/components/checkout/components/tooltip/index.js +1 -0
- package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
- package/build/components/checkout/index.d.ts +34 -0
- package/build/components/checkout/index.js +1 -0
- package/build/components/checkout/model.d.ts +198 -0
- package/build/components/checkout/model.js +1 -0
- package/build/components/checkout/modelMasterPass.d.ts +204 -0
- package/build/components/checkout/modelMasterPass.js +1 -0
- package/build/components/checkout/steps/step-info/index.d.ts +7 -0
- package/build/components/checkout/steps/step-info/index.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
- package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
- package/build/components/checkout/steps/step-shipping/index.js +1 -0
- package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-success/index.d.ts +7 -0
- package/build/components/checkout/steps/step-success/index.js +1 -0
- package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
- package/build/components/checkout/style.module.scss.js +1 -0
- package/build/components/checkout/styles/common.module.scss.js +1 -0
- package/build/components/google-captcha/index.d.ts +9 -0
- package/build/components/google-captcha/index.js +1 -0
- package/build/components/image/index.d.ts +10 -0
- package/build/components/image/index.js +1 -0
- package/build/components/index.d.ts +6 -0
- package/build/components/link/index.d.ts +16 -0
- package/build/components/link/index.js +1 -0
- package/build/components/page/ThemeComponent.d.ts +21 -0
- package/build/components/page/ThemeComponent.js +1 -0
- package/build/components/page/head.d.ts +15 -0
- package/build/components/page/head.js +1 -0
- package/build/components/page/index.d.ts +23 -0
- package/build/components/page/index.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.d.ts +32 -0
- package/build/components/page-editor/ThemeComponentEditor.js +1 -0
- package/build/components/page-editor/error/index.d.ts +4 -0
- package/build/components/page-editor/error/index.js +1 -0
- package/build/components/page-editor/index.d.ts +4 -0
- package/build/components/page-editor/index.js +1 -0
- package/build/components/page-editor/loader/index.d.ts +6 -0
- package/build/components/page-editor/loader/index.js +1 -0
- package/build/components/page-editor/loader/style.module.scss.js +1 -0
- package/build/components/page-editor/model.d.ts +76 -0
- package/build/components/page-editor/model.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/core.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/utils/api.js +1 -0
- package/build/ext/axios/index.js +1 -0
- package/build/ext/axios/lib/adapters/xhr.js +1 -0
- package/build/ext/axios/lib/axios.js +1 -0
- package/build/ext/axios/lib/cancel/Cancel.js +1 -0
- package/build/ext/axios/lib/cancel/CancelToken.js +1 -0
- package/build/ext/axios/lib/cancel/isCancel.js +1 -0
- package/build/ext/axios/lib/core/Axios.js +1 -0
- package/build/ext/axios/lib/core/InterceptorManager.js +1 -0
- package/build/ext/axios/lib/core/buildFullPath.js +1 -0
- package/build/ext/axios/lib/core/createError.js +1 -0
- package/build/ext/axios/lib/core/dispatchRequest.js +1 -0
- package/build/ext/axios/lib/core/enhanceError.js +1 -0
- package/build/ext/axios/lib/core/mergeConfig.js +1 -0
- package/build/ext/axios/lib/core/settle.js +1 -0
- package/build/ext/axios/lib/core/transformData.js +1 -0
- package/build/ext/axios/lib/defaults/index.js +1 -0
- package/build/ext/axios/lib/defaults/transitional.js +1 -0
- package/build/ext/axios/lib/env/data.js +1 -0
- package/build/ext/axios/lib/helpers/bind.js +1 -0
- package/build/ext/axios/lib/helpers/buildURL.js +1 -0
- package/build/ext/axios/lib/helpers/combineURLs.js +1 -0
- package/build/ext/axios/lib/helpers/cookies.js +1 -0
- package/build/ext/axios/lib/helpers/isAbsoluteURL.js +1 -0
- package/build/ext/axios/lib/helpers/isAxiosError.js +1 -0
- package/build/ext/axios/lib/helpers/isURLSameOrigin.js +1 -0
- package/build/ext/axios/lib/helpers/normalizeHeaderName.js +1 -0
- package/build/ext/axios/lib/helpers/parseHeaders.js +1 -0
- package/build/ext/axios/lib/helpers/spread.js +1 -0
- package/build/ext/axios/lib/helpers/validator.js +1 -0
- package/build/ext/axios/lib/utils.js +1 -0
- package/build/ext/style-inject/dist/style-inject.es.js +1 -0
- package/build/ext/tslib/tslib.es6.js +1 -0
- package/build/hooks/index.d.ts +2 -0
- package/build/hooks/useCustomerReviews.d.ts +6 -0
- package/build/hooks/useCustomerReviews.js +1 -0
- package/build/hooks/useStore.d.ts +2 -0
- package/build/hooks/useStore.js +1 -0
- package/build/index.d.ts +7 -0
- package/build/index.js +1 -0
- package/build/models/data/base/index.d.ts +8 -0
- package/build/models/data/base/index.js +1 -0
- package/build/models/data/blog/category/index.d.ts +12 -0
- package/build/models/data/blog/category/index.js +1 -0
- package/build/models/data/blog/content/index.d.ts +6 -0
- package/build/models/data/blog/content/index.js +1 -0
- package/build/models/data/blog/index.d.ts +27 -0
- package/build/models/data/blog/index.js +1 -0
- package/build/models/data/blog/meta-data/index.d.ts +16 -0
- package/build/models/data/blog/meta-data/index.js +1 -0
- package/build/models/data/blog/tag/index.d.ts +6 -0
- package/build/models/data/blog/tag/index.js +1 -0
- package/build/models/data/blog/writer/index.d.ts +6 -0
- package/build/models/data/blog/writer/index.js +1 -0
- package/build/models/data/brand/index.d.ts +26 -0
- package/build/models/data/brand/index.js +1 -0
- package/build/models/data/brand/translation/index.d.ts +7 -0
- package/build/models/data/brand/translation/index.js +1 -0
- package/build/models/data/campaign-offer/index.d.ts +21 -0
- package/build/models/data/campaign-offer/index.js +1 -0
- package/build/models/data/campaign-offer/product/index.d.ts +25 -0
- package/build/models/data/campaign-offer/product/index.js +1 -0
- package/build/models/data/cart/available-shipping-method/index.d.ts +10 -0
- package/build/models/data/cart/available-shipping-method/index.js +1 -0
- package/build/models/data/cart/campaign-offer/index.d.ts +16 -0
- package/build/models/data/cart/campaign-offer/index.js +1 -0
- package/build/models/data/cart/index.d.ts +14 -0
- package/build/models/data/cart/index.js +1 -0
- package/build/models/data/category/index.d.ts +22 -0
- package/build/models/data/category/index.js +1 -0
- package/build/models/data/category/path-item/index.d.ts +14 -0
- package/build/models/data/category/path-item/index.js +1 -0
- package/build/models/data/category/translations/index.d.ts +7 -0
- package/build/models/data/category/translations/index.js +1 -0
- package/build/models/data/checkout/index.d.ts +26 -0
- package/build/models/data/checkout/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +21 -0
- package/build/models/data/checkout-settings/index.js +1 -0
- package/build/models/data/checkout-settings/option/index.d.ts +6 -0
- package/build/models/data/checkout-settings/option/index.js +1 -0
- package/build/models/data/checkout-settings/price/index.d.ts +7 -0
- package/build/models/data/checkout-settings/price/index.js +1 -0
- package/build/models/data/city/index.d.ts +12 -0
- package/build/models/data/city/index.js +1 -0
- package/build/models/data/contact-form/index.d.ts +9 -0
- package/build/models/data/contact-form/index.js +1 -0
- package/build/models/data/country/index.d.ts +18 -0
- package/build/models/data/country/index.js +1 -0
- package/build/models/data/country/location-translations/index.d.ts +7 -0
- package/build/models/data/customer/address/city/index.d.ts +7 -0
- package/build/models/data/customer/address/city/index.js +1 -0
- package/build/models/data/customer/address/country/index.d.ts +9 -0
- package/build/models/data/customer/address/country/index.js +1 -0
- package/build/models/data/customer/address/district/index.d.ts +7 -0
- package/build/models/data/customer/address/district/index.js +1 -0
- package/build/models/data/customer/address/ikas-localized-customer-address.d.ts +55 -0
- package/build/models/data/customer/address/ikas-localized-customer-address.js +1 -0
- package/build/models/data/customer/address/index.d.ts +40 -0
- package/build/models/data/customer/address/index.js +1 -0
- package/build/models/data/customer/address/state/index.d.ts +7 -0
- package/build/models/data/customer/address/state/index.js +1 -0
- package/build/models/data/customer/attribute/index.d.ts +18 -0
- package/build/models/data/customer/attribute/index.js +1 -0
- package/build/models/data/customer/attribute/option/index.d.ts +9 -0
- package/build/models/data/customer/attribute/option/index.js +1 -0
- package/build/models/data/customer/attribute/sales-channel/index.d.ts +8 -0
- package/build/models/data/customer/attribute/sales-channel/index.js +1 -0
- package/build/models/data/customer/attribute/translation/index.d.ts +9 -0
- package/build/models/data/customer/attribute/translation/index.js +1 -0
- package/build/models/data/customer/attribute/translation/option/index.d.ts +6 -0
- package/build/models/data/customer/attribute/translation/option/index.js +1 -0
- package/build/models/data/customer/attribute/value/index.d.ts +11 -0
- package/build/models/data/customer/attribute/value/index.js +1 -0
- package/build/models/data/customer/index.d.ts +38 -0
- package/build/models/data/customer/index.js +1 -0
- package/build/models/data/customer/review/index.d.ts +24 -0
- package/build/models/data/customer/review/index.js +1 -0
- package/build/models/data/customer/review/settings/index.d.ts +6 -0
- package/build/models/data/customer/review/settings/index.js +1 -0
- package/build/models/data/customer/review/summary/index.d.ts +10 -0
- package/build/models/data/customer/review/summary/index.js +1 -0
- package/build/models/data/customer/review/summary/star/index.d.ts +6 -0
- package/build/models/data/customer/review/summary/star/index.js +1 -0
- package/build/models/data/district/index.d.ts +12 -0
- package/build/models/data/district/index.js +1 -0
- package/build/models/data/favorite-product/index.d.ts +7 -0
- package/build/models/data/favorite-product/index.js +1 -0
- package/build/models/data/filter-category/index.d.ts +12 -0
- package/build/models/data/filter-category/index.js +1 -0
- package/build/models/data/html-meta-data/index.d.ts +28 -0
- package/build/models/data/html-meta-data/index.js +1 -0
- package/build/models/data/html-meta-data/translations/index.d.ts +7 -0
- package/build/models/data/html-meta-data/translations/index.js +1 -0
- package/build/models/data/image/index.d.ts +10 -0
- package/build/models/data/image/index.js +1 -0
- package/build/models/data/index.d.ts +139 -0
- package/build/models/data/last-viewed-product/index.d.ts +6 -0
- package/build/models/data/last-viewed-product/index.js +1 -0
- package/build/models/data/merchant-settings/index.d.ts +12 -0
- package/build/models/data/merchant-settings/index.js +1 -0
- package/build/models/data/order/address/city/index.d.ts +7 -0
- package/build/models/data/order/address/city/index.js +1 -0
- package/build/models/data/order/address/country/index.d.ts +9 -0
- package/build/models/data/order/address/country/index.js +1 -0
- package/build/models/data/order/address/district/index.d.ts +7 -0
- package/build/models/data/order/address/district/index.js +1 -0
- package/build/models/data/order/address/ikas-localized-order-address.d.ts +53 -0
- package/build/models/data/order/address/ikas-localized-order-address.js +1 -0
- package/build/models/data/order/address/index.d.ts +37 -0
- package/build/models/data/order/address/index.js +1 -0
- package/build/models/data/order/address/state/index.d.ts +7 -0
- package/build/models/data/order/address/state/index.js +1 -0
- package/build/models/data/order/adjustment/applied-order-line/index.d.ts +8 -0
- package/build/models/data/order/adjustment/applied-order-line/index.js +1 -0
- package/build/models/data/order/adjustment/index.d.ts +15 -0
- package/build/models/data/order/adjustment/index.js +1 -0
- package/build/models/data/order/customer/index.d.ts +11 -0
- package/build/models/data/order/customer/index.js +1 -0
- package/build/models/data/order/gift-line/index.d.ts +6 -0
- package/build/models/data/order/gift-line/index.js +1 -0
- package/build/models/data/order/index.d.ts +69 -0
- package/build/models/data/order/index.js +1 -0
- package/build/models/data/order/invoice/index.d.ts +12 -0
- package/build/models/data/order/invoice/index.js +1 -0
- package/build/models/data/order/line-item/base-unit/index.d.ts +9 -0
- package/build/models/data/order/line-item/base-unit/index.js +1 -0
- package/build/models/data/order/line-item/base-unit/unit-type/index.d.ts +6 -0
- package/build/models/data/order/line-item/base-unit/unit-type/index.js +1 -0
- package/build/models/data/order/line-item/discount/index.d.ts +11 -0
- package/build/models/data/order/line-item/discount/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +46 -0
- package/build/models/data/order/line-item/index.js +1 -0
- package/build/models/data/order/line-item/option/index.d.ts +10 -0
- package/build/models/data/order/line-item/option/index.js +1 -0
- package/build/models/data/order/line-item/option/value/index.d.ts +9 -0
- package/build/models/data/order/line-item/option/value/index.js +1 -0
- package/build/models/data/order/line-item/variant/brand/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/brand/index.js +1 -0
- package/build/models/data/order/line-item/variant/category/index.d.ts +12 -0
- package/build/models/data/order/line-item/variant/category/index.js +1 -0
- package/build/models/data/order/line-item/variant/index.d.ts +32 -0
- package/build/models/data/order/line-item/variant/index.js +1 -0
- package/build/models/data/order/line-item/variant/price/index.d.ts +10 -0
- package/build/models/data/order/line-item/variant/price/index.js +1 -0
- package/build/models/data/order/line-item/variant/tag/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/tag/index.js +1 -0
- package/build/models/data/order/line-item/variant/unit/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/unit/index.js +1 -0
- package/build/models/data/order/line-item/variant/value/index.d.ts +11 -0
- package/build/models/data/order/line-item/variant/value/index.js +1 -0
- package/build/models/data/order/package/index.d.ts +16 -0
- package/build/models/data/order/package/index.js +1 -0
- package/build/models/data/order/package/tracking-info/index.d.ts +9 -0
- package/build/models/data/order/package/tracking-info/index.js +1 -0
- package/build/models/data/order/payment-method/index.d.ts +9 -0
- package/build/models/data/order/payment-method/index.js +1 -0
- package/build/models/data/order/refund/index.d.ts +7 -0
- package/build/models/data/order/refund/index.js +1 -0
- package/build/models/data/order/refund/line-item/index.d.ts +6 -0
- package/build/models/data/order/refund/line-item/index.js +1 -0
- package/build/models/data/order/refund/settings/index.d.ts +7 -0
- package/build/models/data/order/refund/settings/index.js +1 -0
- package/build/models/data/order/shipping-line/index.d.ts +12 -0
- package/build/models/data/order/shipping-line/index.js +1 -0
- package/build/models/data/order/tax-line/index.d.ts +6 -0
- package/build/models/data/order/tax-line/index.js +1 -0
- package/build/models/data/order/transaction/error/index.d.ts +7 -0
- package/build/models/data/order/transaction/error/index.js +1 -0
- package/build/models/data/order/transaction/index.d.ts +26 -0
- package/build/models/data/order/transaction/index.js +1 -0
- package/build/models/data/order/transaction/payment-method-detail/index.d.ts +13 -0
- package/build/models/data/order/transaction/payment-method-detail/index.js +1 -0
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.d.ts +9 -0
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.js +1 -0
- package/build/models/data/payment-gateway/additional-price/index.d.ts +9 -0
- package/build/models/data/payment-gateway/additional-price/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +31 -0
- package/build/models/data/payment-gateway/index.js +1 -0
- package/build/models/data/payment-gateway/settings/index.d.ts +10 -0
- package/build/models/data/payment-gateway/settings/index.js +1 -0
- package/build/models/data/payment-gateway/translation/index.d.ts +7 -0
- package/build/models/data/payment-gateway/translation/index.js +1 -0
- package/build/models/data/product/attribute/index.d.ts +15 -0
- package/build/models/data/product/attribute/index.js +1 -0
- package/build/models/data/product/attribute/option/index.d.ts +6 -0
- package/build/models/data/product/attribute/option/index.js +1 -0
- package/build/models/data/product/attribute/table-cell/index.d.ts +6 -0
- package/build/models/data/product/attribute/table-cell/index.js +1 -0
- package/build/models/data/product/attribute/table-template/index.d.ts +7 -0
- package/build/models/data/product/attribute/table-template/index.js +1 -0
- package/build/models/data/product/attribute/translation/index.d.ts +13 -0
- package/build/models/data/product/attribute/translation/index.js +1 -0
- package/build/models/data/product/attribute-value/index.d.ts +28 -0
- package/build/models/data/product/attribute-value/index.js +1 -0
- package/build/models/data/product/back-in-stock-settings/index.d.ts +5 -0
- package/build/models/data/product/back-in-stock-settings/index.js +1 -0
- package/build/models/data/product/base-unit/index.d.ts +12 -0
- package/build/models/data/product/base-unit/index.js +1 -0
- package/build/models/data/product/campaign/data/index.d.ts +27 -0
- package/build/models/data/product/campaign/data/index.js +1 -0
- package/build/models/data/product/campaign/filter/index.d.ts +7 -0
- package/build/models/data/product/campaign/filter/index.js +1 -0
- package/build/models/data/product/campaign/index.d.ts +7 -0
- package/build/models/data/product/campaign/index.js +1 -0
- package/build/models/data/product/campaign/product-buyx-then-gety/index.d.ts +20 -0
- package/build/models/data/product/campaign/product-buyx-then-gety/index.js +1 -0
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.d.ts +6 -0
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.js +1 -0
- package/build/models/data/product/campaign/product-fixed-discount/index.d.ts +14 -0
- package/build/models/data/product/campaign/product-fixed-discount/index.js +1 -0
- package/build/models/data/product/filter/index.d.ts +82 -0
- package/build/models/data/product/filter/index.js +1 -0
- package/build/models/data/product/image/index.d.ts +10 -0
- package/build/models/data/product/image/index.js +1 -0
- package/build/models/data/product/index.d.ts +78 -0
- package/build/models/data/product/index.js +1 -0
- package/build/models/data/product/option-set/index.d.ts +29 -0
- package/build/models/data/product/option-set/index.js +1 -0
- package/build/models/data/product/option-set/option/index.d.ts +70 -0
- package/build/models/data/product/option-set/option/index.js +1 -0
- package/build/models/data/product/star/index.d.ts +6 -0
- package/build/models/data/product/star/index.js +1 -0
- package/build/models/data/product/stock-location/index.d.ts +8 -0
- package/build/models/data/product/stock-location/index.js +1 -0
- package/build/models/data/product/tag/index.d.ts +6 -0
- package/build/models/data/product/tag/index.js +1 -0
- package/build/models/data/product/variant/index.d.ts +31 -0
- package/build/models/data/product/variant/index.js +1 -0
- package/build/models/data/product/variant/price/index.d.ts +19 -0
- package/build/models/data/product/variant/price/index.js +1 -0
- package/build/models/data/product/variant/unit/index.d.ts +6 -0
- package/build/models/data/product/variant/unit/index.js +1 -0
- package/build/models/data/product/variant-type/index.d.ts +8 -0
- package/build/models/data/product/variant-type/index.js +1 -0
- package/build/models/data/raffle/index.d.ts +63 -0
- package/build/models/data/raffle/index.js +1 -0
- package/build/models/data/sales-channel/index.d.ts +19 -0
- package/build/models/data/sales-channel/index.js +1 -0
- package/build/models/data/state/index.d.ts +11 -0
- package/build/models/data/state/index.js +1 -0
- package/build/models/data/state/location-translations/index.d.ts +7 -0
- package/build/models/data/stock-location/address/city/index.d.ts +7 -0
- package/build/models/data/stock-location/address/city/index.js +1 -0
- package/build/models/data/stock-location/address/country/index.d.ts +7 -0
- package/build/models/data/stock-location/address/country/index.js +1 -0
- package/build/models/data/stock-location/address/district/index.d.ts +7 -0
- package/build/models/data/stock-location/address/district/index.js +1 -0
- package/build/models/data/stock-location/address/index.d.ts +15 -0
- package/build/models/data/stock-location/address/index.js +1 -0
- package/build/models/data/stock-location/address/state/index.d.ts +7 -0
- package/build/models/data/stock-location/address/state/index.js +1 -0
- package/build/models/data/stock-location/available/index.d.ts +10 -0
- package/build/models/data/stock-location/available/index.js +1 -0
- package/build/models/data/stock-location/index.d.ts +14 -0
- package/build/models/data/stock-location/index.js +1 -0
- package/build/models/data/storefront/domain/index.d.ts +9 -0
- package/build/models/data/storefront/domain/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +30 -0
- package/build/models/data/storefront/index.js +1 -0
- package/build/models/data/storefront/localization/index.d.ts +8 -0
- package/build/models/data/storefront/localization/index.js +1 -0
- package/build/models/data/storefront/meta-templates/index.d.ts +8 -0
- package/build/models/data/storefront/meta-templates/index.js +1 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +6 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.js +1 -0
- package/build/models/data/storefront/routing/index.d.ts +14 -0
- package/build/models/data/storefront/routing/index.js +1 -0
- package/build/models/data/storefront/theme/index.d.ts +10 -0
- package/build/models/data/storefront/theme/index.js +1 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +15 -0
- package/build/models/data/storefront/theme-localization/index.js +1 -0
- package/build/models/data/theme-json/component/index.d.ts +23 -0
- package/build/models/data/theme-json/component/index.js +1 -0
- package/build/models/data/theme-json/component/prop/index.d.ts +26 -0
- package/build/models/data/theme-json/component/prop/index.js +1 -0
- package/build/models/data/theme-json/custom-data/index.d.ts +43 -0
- package/build/models/data/theme-json/custom-data/index.js +1 -0
- package/build/models/data/theme-json/index.d.ts +16 -0
- package/build/models/data/theme-json/index.js +1 -0
- package/build/models/data/theme-json/page/component/index.d.ts +7 -0
- package/build/models/data/theme-json/page/component/index.js +1 -0
- package/build/models/data/theme-json/page/index.d.ts +21 -0
- package/build/models/data/theme-json/page/index.js +1 -0
- package/build/models/data/theme-json/settings/color/index.d.ts +15 -0
- package/build/models/data/theme-json/settings/color/index.js +1 -0
- package/build/models/data/theme-json/settings/favicon/index.d.ts +5 -0
- package/build/models/data/theme-json/settings/favicon/index.js +1 -0
- package/build/models/data/theme-json/settings/font-family/index.d.ts +6 -0
- package/build/models/data/theme-json/settings/font-family/index.js +1 -0
- package/build/models/data/theme-json/settings/index.d.ts +13 -0
- package/build/models/data/theme-json/settings/index.js +1 -0
- package/build/models/data/variant-type/index.d.ts +13 -0
- package/build/models/data/variant-type/index.js +1 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +12 -0
- package/build/models/data/variant-type/variant-value/index.js +1 -0
- package/build/models/index.d.ts +2 -0
- package/build/models/ui/blog-category-list/index.d.ts +51 -0
- package/build/models/ui/blog-category-list/index.js +1 -0
- package/build/models/ui/blog-list/index.d.ts +55 -0
- package/build/models/ui/blog-list/index.js +1 -0
- package/build/models/ui/brand-list/index.d.ts +61 -0
- package/build/models/ui/brand-list/index.js +1 -0
- package/build/models/ui/category-list/index.d.ts +61 -0
- package/build/models/ui/category-list/index.js +1 -0
- package/build/models/ui/component-renderer/index.d.ts +7 -0
- package/build/models/ui/component-renderer/index.js +1 -0
- package/build/models/ui/customer-review-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-list/index.js +1 -0
- package/build/models/ui/customer-review-summary-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-summary-list/index.js +1 -0
- package/build/models/ui/index.d.ts +27 -0
- package/build/models/ui/navigation-link/index.d.ts +8 -0
- package/build/models/ui/navigation-link/index.js +1 -0
- package/build/models/ui/product-attribute-detail/index.d.ts +8 -0
- package/build/models/ui/product-attribute-detail/index.js +1 -0
- package/build/models/ui/product-attribute-list/index.d.ts +8 -0
- package/build/models/ui/product-attribute-list/index.js +1 -0
- package/build/models/ui/product-list/index.d.ts +145 -0
- package/build/models/ui/product-list/index.js +1 -0
- package/build/models/ui/raffle-list/index.d.ts +53 -0
- package/build/models/ui/raffle-list/index.js +1 -0
- package/build/models/ui/validator/form/account-info.d.ts +39 -0
- package/build/models/ui/validator/form/account-info.js +1 -0
- package/build/models/ui/validator/form/address.d.ts +75 -0
- package/build/models/ui/validator/form/address.js +1 -0
- package/build/models/ui/validator/form/contact-form.d.ts +42 -0
- package/build/models/ui/validator/form/contact-form.js +1 -0
- package/build/models/ui/validator/form/customer-review.d.ts +34 -0
- package/build/models/ui/validator/form/customer-review.js +1 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +26 -0
- package/build/models/ui/validator/form/forgot-password.js +1 -0
- package/build/models/ui/validator/form/ikas-address.d.ts +156 -0
- package/build/models/ui/validator/form/ikas-address.js +1 -0
- package/build/models/ui/validator/form/login.d.ts +32 -0
- package/build/models/ui/validator/form/login.js +1 -0
- package/build/models/ui/validator/form/raffle-form.d.ts +62 -0
- package/build/models/ui/validator/form/raffle-form.js +1 -0
- package/build/models/ui/validator/form/recover-password.d.ts +33 -0
- package/build/models/ui/validator/form/recover-password.js +1 -0
- package/build/models/ui/validator/form/register.d.ts +82 -0
- package/build/models/ui/validator/form/register.js +1 -0
- package/build/models/ui/validator/index.d.ts +27 -0
- package/build/models/ui/validator/index.js +1 -0
- package/build/models/ui/validator/rules/index.d.ts +101 -0
- package/build/models/ui/validator/rules/index.js +1 -0
- package/build/page-data-init/index.d.ts +42 -0
- package/build/page-data-init/index.js +1 -0
- package/build/pages/404.d.ts +4 -0
- package/build/pages/404.js +1 -0
- package/build/pages/[slug]/index.d.ts +4 -0
- package/build/pages/_slug_/index.js +1 -0
- package/build/pages/account/activate.d.ts +4 -0
- package/build/pages/account/activate.js +1 -0
- package/build/pages/account/addresses.d.ts +4 -0
- package/build/pages/account/addresses.js +1 -0
- package/build/pages/account/favorite-products.d.ts +4 -0
- package/build/pages/account/favorite-products.js +1 -0
- package/build/pages/account/forgot-password.d.ts +4 -0
- package/build/pages/account/forgot-password.js +1 -0
- package/build/pages/account/index.d.ts +4 -0
- package/build/pages/account/index.js +1 -0
- package/build/pages/account/login.d.ts +4 -0
- package/build/pages/account/login.js +1 -0
- package/build/pages/account/orders/[id].d.ts +4 -0
- package/build/pages/account/orders/_id_.js +1 -0
- package/build/pages/account/orders/index.d.ts +4 -0
- package/build/pages/account/orders/index.js +1 -0
- package/build/pages/account/raffles.d.ts +4 -0
- package/build/pages/account/raffles.js +1 -0
- package/build/pages/account/recover-password.d.ts +4 -0
- package/build/pages/account/recover-password.js +1 -0
- package/build/pages/account/register.d.ts +4 -0
- package/build/pages/account/register.js +1 -0
- package/build/pages/blog/[slug].d.ts +4 -0
- package/build/pages/blog/_slug_.js +1 -0
- package/build/pages/blog/index.d.ts +4 -0
- package/build/pages/blog/index.js +1 -0
- package/build/pages/cart.d.ts +4 -0
- package/build/pages/cart.js +1 -0
- package/build/pages/checkout.d.ts +18 -0
- package/build/pages/checkout.js +1 -0
- package/build/pages/editor.d.ts +10 -0
- package/build/pages/editor.js +1 -0
- package/build/pages/home.d.ts +4 -0
- package/build/pages/home.js +1 -0
- package/build/pages/index.d.ts +23 -0
- package/build/pages/pages/[slug].d.ts +4 -0
- package/build/pages/pages/_slug_.js +1 -0
- package/build/pages/raffle/[slug].d.ts +4 -0
- package/build/pages/raffle/_slug_.js +1 -0
- package/build/pages/raffle/index.d.ts +4 -0
- package/build/pages/raffle/index.js +1 -0
- package/build/pages/search.d.ts +4 -0
- package/build/pages/search.js +1 -0
- package/build/store/base.d.ts +40 -0
- package/build/store/base.js +1 -0
- package/build/store/blog/index.d.ts +26 -0
- package/build/store/blog/index.js +1 -0
- package/build/store/brand/index.d.ts +12 -0
- package/build/store/brand/index.js +1 -0
- package/build/store/cart/api.d.ts +10 -0
- package/build/store/cart/api.js +1 -0
- package/build/store/cart/index.d.ts +40 -0
- package/build/store/cart/index.js +1 -0
- package/build/store/category/index.d.ts +12 -0
- package/build/store/category/index.js +1 -0
- package/build/store/checkout/index.d.ts +18 -0
- package/build/store/checkout/index.js +1 -0
- package/build/store/customer/api.d.ts +56 -0
- package/build/store/customer/api.js +1 -0
- package/build/store/customer/index.d.ts +91 -0
- package/build/store/customer/index.js +1 -0
- package/build/store/html-meta-data/index.d.ts +6 -0
- package/build/store/html-meta-data/index.js +1 -0
- package/build/store/index.d.ts +4 -0
- package/build/store/location/index.d.ts +9 -0
- package/build/store/location/index.js +1 -0
- package/build/store/merchant/index.d.ts +6 -0
- package/build/store/product/index.d.ts +47 -0
- package/build/store/product/index.js +1 -0
- package/build/store/raffle/index.d.ts +15 -0
- package/build/store/raffle/index.js +1 -0
- package/build/store/storefront/index.d.ts +5 -0
- package/build/utils/constants.d.ts +3 -0
- package/build/utils/constants.js +1 -0
- package/build/utils/currency.d.ts +7 -0
- package/build/utils/currency.js +1 -0
- package/build/utils/google-fonts.d.ts +2 -0
- package/build/utils/google-fonts.js +1 -0
- package/build/utils/helper.d.ts +5 -0
- package/build/utils/helper.js +1 -0
- package/build/utils/i18n.d.ts +11 -0
- package/build/utils/i18n.js +1 -0
- package/build/utils/index.d.ts +3 -0
- package/package.json +18 -14
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IkasBaseModel } from "../base";
|
|
2
|
+
import { IkasHTMLMetaDataTranslations } from "./translations";
|
|
3
|
+
import { IkasHTMLMetaData as IHTMLMetaData, IkasHTMLMetaDataOverride as IHTMLMetaDataOverride } from "@ikas/storefront-models";
|
|
4
|
+
export declare class IkasHTMLMetaData extends IkasBaseModel implements IHTMLMetaData {
|
|
5
|
+
canonicals?: string[] | null;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
disableIndex?: boolean | null;
|
|
8
|
+
pageTitle?: string | null;
|
|
9
|
+
slug: string;
|
|
10
|
+
targetId?: string | null;
|
|
11
|
+
targetType?: IkasHTMLMetaDataTargetType | null;
|
|
12
|
+
translations?: IkasHTMLMetaDataTranslations[] | null;
|
|
13
|
+
constructor(data: IHTMLMetaData);
|
|
14
|
+
}
|
|
15
|
+
export declare class IkasHTMLMetaDataOverride implements IHTMLMetaDataOverride {
|
|
16
|
+
description: string;
|
|
17
|
+
language: string | null;
|
|
18
|
+
pageTitle: string;
|
|
19
|
+
storefrontId: string | null;
|
|
20
|
+
storefrontRegionId: string | null;
|
|
21
|
+
constructor(data: IHTMLMetaDataOverride);
|
|
22
|
+
}
|
|
23
|
+
export declare enum IkasHTMLMetaDataTargetType {
|
|
24
|
+
BRAND = "BRAND",
|
|
25
|
+
CATEGORY = "CATEGORY",
|
|
26
|
+
PAGE = "PAGE",
|
|
27
|
+
PRODUCT = "PRODUCT"
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends as n}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as l}from"../base/index.js";import{IkasHTMLMetaDataTranslations as t}from"./translations/index.js";var e,i=function(l){function e(n){var e,i=this;return(i=l.call(this,n)||this).canonicals=null,i.description=null,i.disableIndex=null,i.pageTitle=null,i.targetId=null,i.targetType=null,i.translations=null,i.canonicals=n.canonicals||null,i.description=n.description||null,i.disableIndex=n.disableIndex||null,i.pageTitle=n.pageTitle||null,i.slug=n.slug,i.targetId=n.targetId||null,i.targetType=n.targetType||null,i.translations=(null===(e=n.translations)||void 0===e?void 0:e.map((function(n){return new t(n)})))||null,i}return n(e,l),e}(l),s=function(n){this.language=null,this.storefrontId=null,this.storefrontRegionId=null,this.description=n.description,this.language=n.language||null,this.pageTitle=n.pageTitle,this.storefrontId=n.storefrontId||null,this.storefrontRegionId=n.storefrontRegionId||null};!function(n){n.BRAND="BRAND",n.CATEGORY="CATEGORY",n.PAGE="PAGE",n.PRODUCT="PRODUCT"}(e||(e={}));export{i as IkasHTMLMetaData,s as IkasHTMLMetaDataOverride,e as IkasHTMLMetaDataTargetType};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasHTMLMetaDataTranslations as IHTMLMetaDataTranslations } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasHTMLMetaDataTranslations implements IHTMLMetaDataTranslations {
|
|
3
|
+
description: string | null;
|
|
4
|
+
locale: string;
|
|
5
|
+
pageTitle: string | null;
|
|
6
|
+
constructor(data: IHTMLMetaDataTranslations);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=function(i){this.description=null,this.pageTitle=null,this.description=i.description||null,this.locale=i.locale,this.pageTitle=i.pageTitle||null};export{i as IkasHTMLMetaDataTranslations};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasImage as IImage } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasImage implements IImage {
|
|
3
|
+
id: string;
|
|
4
|
+
isVideo: boolean;
|
|
5
|
+
altText?: string | null;
|
|
6
|
+
constructor(data: IImage);
|
|
7
|
+
get src(): string;
|
|
8
|
+
get thumbnailSrc(): string;
|
|
9
|
+
getSrc: (size: number) => string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasImageFunctions as t}from"@ikas/storefront-model-functions";import{makeObservable as e,observable as r,computed as i}from"mobx";var n=function(){function n(n){var o=this;this.getSrc=function(e){return t.getSrc(o,e)},this.id=n.id,this.isVideo=n.isVideo,this.altText=n.altText,e(this,{id:r,isVideo:r,altText:r,src:i,thumbnailSrc:i})}return Object.defineProperty(n.prototype,"src",{get:function(){return t.getDefaultSrc(this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbnailSrc",{get:function(){return t.getThumbnailSrc(this)},enumerable:!1,configurable:!0}),n}();export{n as IkasImage};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export * from "./base";
|
|
2
|
+
export * from "./blog/category";
|
|
3
|
+
export * from "./blog/content";
|
|
4
|
+
export * from "./blog/meta-data";
|
|
5
|
+
export * from "./blog/tag";
|
|
6
|
+
export * from "./blog/writer";
|
|
7
|
+
export * from "./blog";
|
|
8
|
+
export * from "./brand/translation";
|
|
9
|
+
export * from "./brand";
|
|
10
|
+
export * from "./campaign-offer/product";
|
|
11
|
+
export * from "./campaign-offer";
|
|
12
|
+
export * from "./cart/available-shipping-method";
|
|
13
|
+
export * from "./cart/campaign-offer";
|
|
14
|
+
export * from "./cart";
|
|
15
|
+
export * from "./category/path-item";
|
|
16
|
+
export * from "./category/translations";
|
|
17
|
+
export * from "./category";
|
|
18
|
+
export * from "./checkout";
|
|
19
|
+
export * from "./checkout-settings/option";
|
|
20
|
+
export * from "./checkout-settings/price";
|
|
21
|
+
export * from "./checkout-settings";
|
|
22
|
+
export * from "./city";
|
|
23
|
+
export * from "./contact-form";
|
|
24
|
+
export * from "./country";
|
|
25
|
+
export * from "./customer/address/city";
|
|
26
|
+
export * from "./customer/address/country";
|
|
27
|
+
export * from "./customer/address/district";
|
|
28
|
+
export * from "./customer/address/state";
|
|
29
|
+
export * from "./customer/address";
|
|
30
|
+
export * from "./customer/address/ikas-localized-customer-address";
|
|
31
|
+
export * from "./customer/attribute/option";
|
|
32
|
+
export * from "./customer/attribute/sales-channel";
|
|
33
|
+
export * from "./customer/attribute/translation/option";
|
|
34
|
+
export * from "./customer/attribute/translation";
|
|
35
|
+
export * from "./customer/attribute/value";
|
|
36
|
+
export * from "./customer/attribute";
|
|
37
|
+
export * from "./customer/review/settings";
|
|
38
|
+
export * from "./customer/review/summary/star";
|
|
39
|
+
export * from "./customer/review/summary";
|
|
40
|
+
export * from "./customer/review";
|
|
41
|
+
export * from "./customer";
|
|
42
|
+
export * from "./district";
|
|
43
|
+
export * from "./favorite-product";
|
|
44
|
+
export * from "./filter-category";
|
|
45
|
+
export * from "./html-meta-data/translations";
|
|
46
|
+
export * from "./html-meta-data";
|
|
47
|
+
export * from "./image";
|
|
48
|
+
export * from "./last-viewed-product";
|
|
49
|
+
export * from "./merchant-settings";
|
|
50
|
+
export * from "./order/address/city";
|
|
51
|
+
export * from "./order/address/country";
|
|
52
|
+
export * from "./order/address/district";
|
|
53
|
+
export * from "./order/address/state";
|
|
54
|
+
export * from "./order/address";
|
|
55
|
+
export * from "./order/adjustment/applied-order-line";
|
|
56
|
+
export * from "./order/adjustment";
|
|
57
|
+
export * from "./order/customer";
|
|
58
|
+
export * from "./order/gift-line";
|
|
59
|
+
export * from "./order/invoice";
|
|
60
|
+
export * from "./order/line-item/discount";
|
|
61
|
+
export * from "./order/line-item/option/value";
|
|
62
|
+
export * from "./order/line-item/option";
|
|
63
|
+
export * from "./order/line-item/variant/brand";
|
|
64
|
+
export * from "./order/line-item/variant/category";
|
|
65
|
+
export * from "./order/line-item/variant/price";
|
|
66
|
+
export * from "./order/line-item/variant/value";
|
|
67
|
+
export * from "./order/line-item/variant";
|
|
68
|
+
export * from "./order/line-item";
|
|
69
|
+
export * from "./order/package/tracking-info";
|
|
70
|
+
export * from "./order/package";
|
|
71
|
+
export * from "./order/payment-method";
|
|
72
|
+
export * from "./order/refund/line-item";
|
|
73
|
+
export * from "./order/refund/settings";
|
|
74
|
+
export * from "./order/refund";
|
|
75
|
+
export * from "./order/shipping-line";
|
|
76
|
+
export * from "./order/tax-line";
|
|
77
|
+
export * from "./order/transaction/error";
|
|
78
|
+
export * from "./order/transaction/payment-method-detail/installment-price";
|
|
79
|
+
export * from "./order/transaction/payment-method-detail";
|
|
80
|
+
export * from "./order/transaction";
|
|
81
|
+
export * from "./order";
|
|
82
|
+
export * from "./payment-gateway/additional-price";
|
|
83
|
+
export * from "./payment-gateway/settings";
|
|
84
|
+
export * from "./payment-gateway/translation";
|
|
85
|
+
export * from "./payment-gateway";
|
|
86
|
+
export * from "./product/attribute/option";
|
|
87
|
+
export * from "./product/attribute/table-cell";
|
|
88
|
+
export * from "./product/attribute/table-template";
|
|
89
|
+
export * from "./product/attribute/translation";
|
|
90
|
+
export * from "./product/attribute";
|
|
91
|
+
export * from "./product/attribute-value";
|
|
92
|
+
export * from "./product/back-in-stock-settings";
|
|
93
|
+
export * from "./product/filter";
|
|
94
|
+
export * from "./product/campaign/data";
|
|
95
|
+
export * from "./product/campaign/filter";
|
|
96
|
+
export * from "./product/campaign/product-buyx-then-gety";
|
|
97
|
+
export * from "./product/campaign/product-campaign-date-range-field";
|
|
98
|
+
export * from "./product/campaign/product-fixed-discount";
|
|
99
|
+
export * from "./product/campaign";
|
|
100
|
+
export * from "./product/image";
|
|
101
|
+
export * from "./product/option-set/option";
|
|
102
|
+
export * from "./product/option-set";
|
|
103
|
+
export * from "./product/stock-location";
|
|
104
|
+
export * from "./product/tag";
|
|
105
|
+
export * from "./product/variant/price";
|
|
106
|
+
export * from "./product/variant";
|
|
107
|
+
export * from "./product/variant-type";
|
|
108
|
+
export * from "./product";
|
|
109
|
+
export * from "./raffle/";
|
|
110
|
+
export * from "./sales-channel";
|
|
111
|
+
export * from "./state";
|
|
112
|
+
export * from "./stock-location/address/city";
|
|
113
|
+
export * from "./stock-location/address/country";
|
|
114
|
+
export * from "./stock-location/address/district";
|
|
115
|
+
export * from "./stock-location/address/state";
|
|
116
|
+
export * from "./stock-location/address";
|
|
117
|
+
export * from "./stock-location/available";
|
|
118
|
+
export * from "./stock-location";
|
|
119
|
+
export * from "./storefront/domain";
|
|
120
|
+
export * from "./storefront/localization";
|
|
121
|
+
export * from "./storefront/routing/dynamic-currency";
|
|
122
|
+
export * from "./storefront/routing";
|
|
123
|
+
export * from "./storefront/theme";
|
|
124
|
+
export * from "./storefront/theme-localization";
|
|
125
|
+
export * from "./storefront";
|
|
126
|
+
export * from "./theme-json/component/prop";
|
|
127
|
+
export * from "./theme-json/component";
|
|
128
|
+
export * from "./theme-json/custom-data";
|
|
129
|
+
export * from "./theme-json/page/component";
|
|
130
|
+
export * from "./theme-json/page";
|
|
131
|
+
export * from "./theme-json/settings/color";
|
|
132
|
+
export * from "./theme-json/settings/favicon";
|
|
133
|
+
export * from "./theme-json/settings/font-family";
|
|
134
|
+
export * from "./theme-json/settings";
|
|
135
|
+
export * from "./theme-json";
|
|
136
|
+
export * from "./variant-type/variant-value";
|
|
137
|
+
export * from "./variant-type";
|
|
138
|
+
export type { IkasSliderPropValueData as IkasSlider } from "@ikas/storefront-providers";
|
|
139
|
+
export { AddressFormItem, BillingFormItem } from "@ikas/localized-address";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";var r=function(r){this.productId=r.productId,this.variantId=r.variantId,t(this)};export{r as IkasLastViewedProduct};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasMerchantSettingsCurrencyFormat, IkasMerchantSettings as IMerchantSettings, IkasMerchantAddress } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasImage } from "../image";
|
|
3
|
+
export declare class IkasMerchantSettings implements IMerchantSettings {
|
|
4
|
+
currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;
|
|
5
|
+
address: IkasMerchantAddress | null;
|
|
6
|
+
logoId: string | null;
|
|
7
|
+
merchantId: string;
|
|
8
|
+
merchantName: string;
|
|
9
|
+
phone: string | null;
|
|
10
|
+
logo?: IkasImage | null;
|
|
11
|
+
constructor(data: IMerchantSettings);
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as o}from"mobx";import{IkasImage as t}from"../image/index.js";var i=function(i){this.currencyFormats=i.currencyFormats,this.logoId=i.logoId,this.merchantId=i.merchantId,this.merchantName=i.merchantName,this.phone=i.phone||null,this.address=i.address||null,this.logo=i.logo?new t(i.logo):null,!this.logo&&this.logoId&&(this.logo=new t({id:this.logoId,isVideo:!1})),o(this)};export{i as IkasMerchantSettings};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasOrderAddressCity as IOrderAddressCity } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderAddressCity implements IOrderAddressCity {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
constructor(data?: Partial<IOrderAddressCity>);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var o=function(o){void 0===o&&(o={}),this.code=null,this.id=null,this.code=o.code||null,this.id=o.id||null,this.name=o.name||"",i(this)};export{o as IkasOrderAddressCity};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IkasOrderAddressCountry as IOrderAddressCountry } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderAddressCountry implements IOrderAddressCountry {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
iso2: string | null;
|
|
6
|
+
iso3: string | null;
|
|
7
|
+
name: string;
|
|
8
|
+
constructor(data?: Partial<IOrderAddressCountry>);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var l=function(l){void 0===l&&(l={}),this.code=null,this.id=null,this.iso2=null,this.iso3=null,this.code=l.code||null,this.id=l.id||null,this.iso2=l.iso2||null,this.iso3=l.iso3||null,this.name=l.name||"",i(this)};export{l as IkasOrderAddressCountry};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasOrderAddressDistrict as IOrderAddressDistrict } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderAddressDistrict implements IOrderAddressDistrict {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string | null;
|
|
6
|
+
constructor(data: Partial<IOrderAddressDistrict>);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var l=function(l){this.code=null,this.id=null,this.name=null,this.code=l.code||null,this.id=l.id||null,this.name=l.name||"",i(this)};export{l as IkasOrderAddressDistrict};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IkasOrderAddress } from ".";
|
|
2
|
+
import { IkasOrderAddress as IOrderAddress } from "@ikas/storefront-models";
|
|
3
|
+
import { AddressFormItem, LocalizedAddressModel } from "@ikas/localized-address";
|
|
4
|
+
declare type IkasLocalizedOrderAddressConstructorData = {
|
|
5
|
+
countrySettings?: LocalizedAddressModel | null;
|
|
6
|
+
} & IOrderAddress;
|
|
7
|
+
export default class IkasLocalizedOrderAddress extends IkasOrderAddress {
|
|
8
|
+
countrySettings: LocalizedAddressModel | null;
|
|
9
|
+
constructor(data?: Partial<IkasLocalizedOrderAddressConstructorData>);
|
|
10
|
+
get fieldSettings(): {
|
|
11
|
+
firstName: import("@ikas/localized-address").AddressFormField;
|
|
12
|
+
lastName: import("@ikas/localized-address").AddressFormField;
|
|
13
|
+
identityNumber: import("@ikas/localized-address").AddressFormField;
|
|
14
|
+
addressLine1: import("@ikas/localized-address").AddressFormField;
|
|
15
|
+
addressLine2: import("@ikas/localized-address").AddressFormField;
|
|
16
|
+
postalCode: import("@ikas/localized-address").AddressFormField;
|
|
17
|
+
country: import("@ikas/localized-address").AddressFormField;
|
|
18
|
+
state: import("@ikas/localized-address").AddressFormField;
|
|
19
|
+
city: import("@ikas/localized-address").AddressFormField;
|
|
20
|
+
district: import("@ikas/localized-address").AddressFormField;
|
|
21
|
+
phone: import("@ikas/localized-address").AddressFormField;
|
|
22
|
+
company: import("@ikas/localized-address").AddressFormField;
|
|
23
|
+
taxOffice: import("@ikas/localized-address").AddressFormField;
|
|
24
|
+
taxNumber: import("@ikas/localized-address").AddressFormField;
|
|
25
|
+
} | undefined;
|
|
26
|
+
get addressFormat(): AddressFormItem[][] | undefined;
|
|
27
|
+
get addressFormatIgnoreCountry(): AddressFormItem[][] | undefined;
|
|
28
|
+
get billingFormat(): import("@ikas/localized-address").BillingFormItem[][] | undefined;
|
|
29
|
+
get countryCode(): string;
|
|
30
|
+
get validationResults(): {
|
|
31
|
+
firstName: import("@ikas/localized-address").ErrorType;
|
|
32
|
+
lastName: import("@ikas/localized-address").ErrorType;
|
|
33
|
+
identityNumber: import("@ikas/localized-address").ErrorType;
|
|
34
|
+
addressLine1: import("@ikas/localized-address").ErrorType;
|
|
35
|
+
addressLine2: import("@ikas/localized-address").ErrorType;
|
|
36
|
+
postalCode: import("@ikas/localized-address").ErrorType;
|
|
37
|
+
country: import("@ikas/localized-address").ErrorType;
|
|
38
|
+
state: import("@ikas/localized-address").ErrorType;
|
|
39
|
+
city: import("@ikas/localized-address").ErrorType;
|
|
40
|
+
district: import("@ikas/localized-address").ErrorType;
|
|
41
|
+
phone: import("@ikas/localized-address").ErrorType;
|
|
42
|
+
company: import("@ikas/localized-address").ErrorType;
|
|
43
|
+
taxOffice: import("@ikas/localized-address").ErrorType;
|
|
44
|
+
taxNumber: import("@ikas/localized-address").ErrorType;
|
|
45
|
+
} | undefined;
|
|
46
|
+
get isValidAddress(): boolean | undefined;
|
|
47
|
+
get fieldLabels(): import("@ikas/localized-address").IkasAddressFormLabels | undefined;
|
|
48
|
+
get isFreeTextCity(): boolean | undefined;
|
|
49
|
+
get isFreeTextDistrict(): boolean | undefined;
|
|
50
|
+
private get invisibleFields();
|
|
51
|
+
private get customAddressFormSettings();
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends as t}from'./../../../../ext/tslib/tslib.es6.js';import{makeObservable as e,observable as i}from"mobx";import{IkasOrderAddress as r}from"./index.js";import{IkasCheckoutRequirement as n}from"@ikas/storefront-models";import{AddressFormItem as s}from"@ikas/localized-address";var o=function(r){function o(t){void 0===t&&(t={});var n=r.call(this,t)||this;return n.countrySettings=t.countrySettings||null,e(n,{countrySettings:i}),n}return t(o,r),Object.defineProperty(o.prototype,"fieldSettings",{get:function(){if(this.countrySettings)return this.countrySettings.getFieldSettings({country:this.countryCode,invisibleAddressFields:this.invisibleFields,customAddressFormSettings:this.customAddressFormSettings})},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormat(this.countryCode,this.invisibleFields)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormatIgnoreCountry",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormatIgnoreCountry(this.countryCode,this.invisibleFields)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"billingFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getBillingFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"countryCode",{get:function(){var t;return(null===(t=this.country)||void 0===t?void 0:t.iso2)||"TR"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"validationResults",{get:function(){if(this.countrySettings)return this.countrySettings.getValidationResult({address:u(this),country:this.countryCode,invisibleAddressFields:this.invisibleFields,customAddressFormSettings:this.customAddressFormSettings})},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isValidAddress",{get:function(){if(this.countrySettings)return this.countrySettings.isValidAddress({address:u(this),country:this.countryCode,invisibleAddressFields:this.invisibleFields,customAddressFormSettings:this.customAddressFormSettings})},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fieldLabels",{get:function(){if(this.countrySettings)return this.countrySettings.getFieldLabels(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isFreeTextCity",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextCity(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isFreeTextDistrict",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextDistrict(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"invisibleFields",{get:function(){if(this.checkoutSettings){var t=[];return this.checkoutSettings.identityNumberRequirement===n.INVISIBLE&&t.push(s.IDENTITY_NUMBER),this.checkoutSettings.postalCodeRequirement===n.INVISIBLE&&t.push(s.POSTAL_CODE),this.checkoutSettings.phoneRequirement===n.INVISIBLE&&t.push(s.PHONE),t}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"customAddressFormSettings",{get:function(){if(this.checkoutSettings){var t={};return this.checkoutSettings.phoneRequirement&&(t.phone={required:this.checkoutSettings.phoneRequirement===n.MANDATORY}),this.checkoutSettings.postalCodeRequirement&&(t.postalCode={required:this.checkoutSettings.postalCodeRequirement===n.MANDATORY}),this.checkoutSettings.identityNumberRequirement&&(t.identityNumber={required:this.checkoutSettings.identityNumberRequirement===n.MANDATORY}),t}},enumerable:!1,configurable:!0}),o}(r),u=function(t){var e,i,r,n;return{firstName:t.firstName||"",lastName:t.lastName||"",identityNumber:t.identityNumber||"",addressLine1:t.addressLine1||"",addressLine2:t.addressLine2||"",postalCode:t.postalCode||"",country:(null===(e=t.country)||void 0===e?void 0:e.name)||"",state:(null===(i=t.state)||void 0===i?void 0:i.name)||"",city:(null===(r=t.city)||void 0===r?void 0:r.name)||"",district:(null===(n=t.district)||void 0===n?void 0:n.name)||"",phone:t.phone||"",company:t.company||"",taxOffice:t.taxOffice||"",taxNumber:t.taxNumber||""}};export{o as default};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IkasOrderAddressFunctions } from "@ikas/storefront-model-functions";
|
|
2
|
+
import { IkasOrderAddress as IOrderAddress } from "@ikas/storefront-models";
|
|
3
|
+
import { IkasCheckoutSettings } from "../../checkout-settings";
|
|
4
|
+
import { IkasOrderAddressCity } from "./city";
|
|
5
|
+
import { IkasOrderAddressCountry } from "./country";
|
|
6
|
+
import { IkasOrderAddressDistrict } from "./district";
|
|
7
|
+
import { IkasOrderAddressState } from "./state";
|
|
8
|
+
declare type IkasOrderAddressConstructorData = {
|
|
9
|
+
checkoutSettings?: IkasCheckoutSettings | null;
|
|
10
|
+
isDistrictRequired?: boolean;
|
|
11
|
+
} & IOrderAddress;
|
|
12
|
+
export declare class IkasOrderAddress implements IOrderAddress {
|
|
13
|
+
addressLine1: string;
|
|
14
|
+
addressLine2: string | null;
|
|
15
|
+
company: string | null;
|
|
16
|
+
firstName: string;
|
|
17
|
+
id: string | null;
|
|
18
|
+
identityNumber: string | null;
|
|
19
|
+
isDefault: boolean;
|
|
20
|
+
lastName: string;
|
|
21
|
+
phone: string | null;
|
|
22
|
+
postalCode: string | null;
|
|
23
|
+
taxNumber: string | null;
|
|
24
|
+
taxOffice: string | null;
|
|
25
|
+
country: IkasOrderAddressCountry | null;
|
|
26
|
+
state: IkasOrderAddressState | null;
|
|
27
|
+
city: IkasOrderAddressCity | null;
|
|
28
|
+
district: IkasOrderAddressDistrict | null;
|
|
29
|
+
checkoutSettings?: IkasCheckoutSettings | null;
|
|
30
|
+
isDistrictRequired?: boolean;
|
|
31
|
+
constructor(data?: Partial<IkasOrderAddressConstructorData>);
|
|
32
|
+
get addressText(): string;
|
|
33
|
+
get validationResult(): IkasOrderAddressFunctions.IkasOrderAddressValidationResult | undefined;
|
|
34
|
+
get isValid(): boolean;
|
|
35
|
+
toJSON(): this;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{IkasOrderAddressFunctions as i}from"@ikas/storefront-model-functions";import{makeObservable as e,observable as s,computed as n}from"mobx";import{IkasCheckoutSettings as l}from"../../checkout-settings/index.js";var r=function(){function r(t){void 0===t&&(t={}),this.addressLine2=null,this.company=null,this.id=null,this.identityNumber=null,this.phone=null,this.postalCode=null,this.taxNumber=null,this.taxOffice=null,this.country=null,this.state=null,this.city=null,this.district=null,this.checkoutSettings=null,this.addressLine1=t.addressLine1||"",this.addressLine2=t.addressLine2||null,this.company=t.company||null,this.firstName=t.firstName||"",this.id=t.id||null,this.identityNumber=t.identityNumber||null,this.isDefault=t.isDefault||!1,this.lastName=t.lastName||"",this.phone=t.phone||null,this.postalCode=t.postalCode||null,this.taxNumber=t.taxNumber||null,this.taxOffice=t.taxOffice||null,this.country=t.country||null,this.state=t.state||null,this.city=t.city||null,this.district=t.district||null,this.checkoutSettings=t.checkoutSettings?new l(t.checkoutSettings):null,this.isDistrictRequired=t.isDistrictRequired||!1,e(this,{addressLine1:s,addressLine2:s,company:s,firstName:s,id:s,identityNumber:s,isDefault:s,lastName:s,phone:s,postalCode:s,taxNumber:s,taxOffice:s,country:s,state:s,city:s,district:s,addressText:n,validationResult:n,isValid:n})}return Object.defineProperty(r.prototype,"addressText",{get:function(){return i.getAddressText(this)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"validationResult",{get:function(){if(this.checkoutSettings)return i.getValidationResult(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isValid",{get:function(){return!!this.checkoutSettings&&i.isValidAddress(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),r.prototype.toJSON=function(){var i=t({},this);return delete i.checkoutSettings,delete i.isDistrictRequired,i},r}();export{r as IkasOrderAddress};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasOrderAddressState as IOrderAddressState } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderAddressState implements IOrderAddressState {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string | null;
|
|
6
|
+
constructor(data: IOrderAddressState);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var n=function(n){this.code=n.code||null,this.id=n.id||null,this.name=n.name||null,i(this)};export{n as IkasOrderAddressState};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IkasOrderAdjustmentAppliedOrderLine as IOrderAdjustmentAppliedOrderLine } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderAdjustmentAppliedOrderLine implements IOrderAdjustmentAppliedOrderLine {
|
|
3
|
+
amount: number;
|
|
4
|
+
appliedQuantity: number;
|
|
5
|
+
isAutoCreated: boolean | null;
|
|
6
|
+
orderLineId: string;
|
|
7
|
+
constructor(data: IOrderAdjustmentAppliedOrderLine);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";var i=function(i){this.isAutoCreated=null,this.amount=i.amount,this.appliedQuantity=i.appliedQuantity,this.isAutoCreated=i.isAutoCreated,this.orderLineId=i.orderLineId,t(this)};export{i as IkasOrderAdjustmentAppliedOrderLine};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasOrderAdjustment as IOrderAdjustment, IkasAmountType, IkasAdjustmentType, IkasCampaignType } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasOrderAdjustmentAppliedOrderLine } from "./applied-order-line";
|
|
3
|
+
export declare class IkasOrderAdjustment implements IOrderAdjustment {
|
|
4
|
+
amount: number;
|
|
5
|
+
appliedOrderLines: IkasOrderAdjustmentAppliedOrderLine[] | null;
|
|
6
|
+
campaignId: string | null;
|
|
7
|
+
couponId: string | null;
|
|
8
|
+
name: string;
|
|
9
|
+
order: number;
|
|
10
|
+
amountType: IkasAmountType;
|
|
11
|
+
type: IkasAdjustmentType;
|
|
12
|
+
campaignType: IkasCampaignType | null;
|
|
13
|
+
constructor(data: IOrderAdjustment);
|
|
14
|
+
}
|
|
15
|
+
export { IkasAmountType, IkasAdjustmentType, IkasCampaignType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{IkasAdjustmentType,IkasAmountType,IkasCampaignType}from"@ikas/storefront-models";import{makeAutoObservable as n}from"mobx";import{IkasOrderAdjustmentAppliedOrderLine as i}from"./applied-order-line/index.js";var e=function(e){var p;this.appliedOrderLines=null,this.campaignId=null,this.couponId=null,this.campaignType=null,this.amount=e.amount,this.appliedOrderLines=(null===(p=e.appliedOrderLines)||void 0===p?void 0:p.map((function(n){return new i(n)})))||null,this.campaignId=e.campaignId||null,this.couponId=e.couponId||null,this.name=e.name,this.order=e.order,this.amountType=e.amountType,this.type=e.type,this.campaignType=e.campaignType||null,n(this)};export{e as IkasOrderAdjustment};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IkasOrderCustomer as IOrderCustomer } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderCustomer implements IOrderCustomer {
|
|
3
|
+
email: string | null;
|
|
4
|
+
firstName: string | null;
|
|
5
|
+
fullName: string | null;
|
|
6
|
+
id: string | null;
|
|
7
|
+
isGuestCheckout: boolean | null;
|
|
8
|
+
lastName: string | null;
|
|
9
|
+
notificationsAccepted: boolean | null;
|
|
10
|
+
constructor(data?: Partial<IOrderCustomer>);
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as l}from"mobx";var i=function(i){void 0===i&&(i={}),this.email=null,this.firstName=null,this.fullName=null,this.id=null,this.isGuestCheckout=null,this.lastName=null,this.notificationsAccepted=null,this.email=i.email||null,this.firstName=i.firstName||null,this.fullName=i.fullName||null,this.id=i.id||null,this.isGuestCheckout=i.isGuestCheckout||null,this.lastName=i.lastName||null,this.notificationsAccepted=i.notificationsAccepted||null,l(this)};export{i as IkasOrderCustomer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";var i=function(i){this.taxValue=null,this.price=i.price,this.taxValue=i.taxValue||null,t(this)};export{i as IkasOrderGiftPackageLine};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { IkasOrderAddress } from "./address";
|
|
2
|
+
import { IkasOrderShippingLine } from "./shipping-line";
|
|
3
|
+
import { IkasOrderLineItem } from "./line-item";
|
|
4
|
+
import { IkasOrderRefundSettings } from "./refund/settings";
|
|
5
|
+
import { IkasOrderCustomer } from "./customer";
|
|
6
|
+
import { IkasOrderGiftPackageLine } from "./gift-line";
|
|
7
|
+
import { IkasInvoice } from "./invoice";
|
|
8
|
+
import { IkasOrderPaymentMethod } from "./payment-method";
|
|
9
|
+
import { IkasOrderAdjustment } from "./adjustment";
|
|
10
|
+
import { IkasOrderPackage } from "./package";
|
|
11
|
+
import { IkasOrderTaxLine } from "./tax-line";
|
|
12
|
+
import { IkasBaseModel } from "../base";
|
|
13
|
+
import { IkasOrderCancelReason, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderShippingMethod, IkasOrderStatus } from "@ikas/storefront-models";
|
|
14
|
+
import { IkasOrder as IOrder } from "@ikas/storefront-models";
|
|
15
|
+
declare type IOrderConstructorData = {
|
|
16
|
+
refundSettings?: IkasOrderRefundSettings | null;
|
|
17
|
+
} & IOrder;
|
|
18
|
+
export declare class IkasOrder extends IkasBaseModel implements IOrder {
|
|
19
|
+
billingAddress: IkasOrderAddress | null;
|
|
20
|
+
cancelReason: IkasOrderCancelReason | null;
|
|
21
|
+
cancelledAt: number | null;
|
|
22
|
+
currencyCode: string;
|
|
23
|
+
currencySymbol: string | null;
|
|
24
|
+
customer: IkasOrderCustomer | null;
|
|
25
|
+
customerId: string | null;
|
|
26
|
+
giftPackageLines: IkasOrderGiftPackageLine[] | null;
|
|
27
|
+
giftPackageNote: string | null;
|
|
28
|
+
invoices: IkasInvoice[] | null;
|
|
29
|
+
isGiftPackage: boolean | null;
|
|
30
|
+
note: string | null;
|
|
31
|
+
orderAdjustments: IkasOrderAdjustment[] | null;
|
|
32
|
+
orderLineItems: IkasOrderLineItem[];
|
|
33
|
+
orderNumber: string | null;
|
|
34
|
+
orderPackageStatus: IkasOrderPackageStatus | null;
|
|
35
|
+
orderPackages: IkasOrderPackage[] | null;
|
|
36
|
+
orderPaymentStatus: IkasOrderPaymentStatus | null;
|
|
37
|
+
orderedAt: number | null;
|
|
38
|
+
paymentMethods: IkasOrderPaymentMethod[] | null;
|
|
39
|
+
shippingAddress: IkasOrderAddress | null;
|
|
40
|
+
shippingLines: IkasOrderShippingLine[] | null;
|
|
41
|
+
shippingMethod: IkasOrderShippingMethod;
|
|
42
|
+
status: IkasOrderStatus;
|
|
43
|
+
taxLines: IkasOrderTaxLine[] | null;
|
|
44
|
+
totalFinalPrice: number;
|
|
45
|
+
totalPrice: number;
|
|
46
|
+
refundSettings?: IkasOrderRefundSettings | null;
|
|
47
|
+
constructor(data: Partial<IOrderConstructorData>, removeObservableAddresses?: boolean);
|
|
48
|
+
get items(): IkasOrderLineItem[];
|
|
49
|
+
get itemCount(): number;
|
|
50
|
+
get itemQuantity(): number;
|
|
51
|
+
get refundableItems(): IkasOrderLineItem[];
|
|
52
|
+
get displayedPackages(): IkasOrderPackage[];
|
|
53
|
+
get unfullfilledItems(): IkasOrderLineItem[];
|
|
54
|
+
get refundedItems(): IkasOrderLineItem[];
|
|
55
|
+
get totalTax(): number;
|
|
56
|
+
get formattedTotalTax(): string;
|
|
57
|
+
get shippingTotal(): number;
|
|
58
|
+
get formattedShippingTotal(): string;
|
|
59
|
+
get formattedTotalFinalPrice(): string;
|
|
60
|
+
get formattedTotalPrice(): string;
|
|
61
|
+
get hasCustomer(): boolean;
|
|
62
|
+
get hasValidCustomerEmail(): boolean;
|
|
63
|
+
get customerFullName(): string;
|
|
64
|
+
get formattedDate(): string;
|
|
65
|
+
get couponAdjustment(): IkasOrderAdjustment;
|
|
66
|
+
get nonCouponAdjustments(): IkasOrderAdjustment[];
|
|
67
|
+
get isRefundEnabled(): boolean;
|
|
68
|
+
}
|
|
69
|
+
export { IkasOrderCancelReason, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderShippingMethod, IkasOrderStatus, };
|
|
@@ -0,0 +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 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{IkasOrderShippingMethod as m,IkasOrderStatus as p}from"@ikas/storefront-models";export{IkasOrderCancelReason,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus}from"@ikas/storefront-models";import{makeObservable as f,observable as g,computed as b}from"mobx";import{IkasOrderFunctions as y}from"@ikas/storefront-model-functions";import{formatCurrency as h}from"../../../utils/currency.js";var P=function(c){function P(e,y){var h,P,j,k,A,v,S,x,O,I,C=this;(C=c.call(this,e)||this).billingAddress=null,C.cancelReason=null,C.cancelledAt=null,C.currencySymbol=null,C.customer=null,C.customerId=null,C.giftPackageLines=null,C.giftPackageNote=null,C.invoices=null,C.isGiftPackage=null,C.note=null,C.orderAdjustments=null,C.orderNumber=null,C.orderPackageStatus=null,C.orderPackages=null,C.orderPaymentStatus=null,C.orderedAt=null,C.paymentMethods=null,C.shippingAddress=null,C.shippingLines=null,C.taxLines=null,C.billingAddress=e.billingAddress?new t(e.billingAddress):null,C.cancelReason=e.cancelReason||null,C.cancelledAt=e.cancelledAt||null,C.currencyCode=e.currencyCode||"",C.currencySymbol=e.currencySymbol||null,C.customer=e.customer?new o(e.customer):null,C.customerId=e.customerId||null,C.giftPackageLines=(null===(h=e.giftPackageLines)||void 0===h?void 0:h.map((function(e){return new i(e)})))||null,C.giftPackageNote=e.giftPackageNote||null,C.invoices=(null===(P=e.invoices)||void 0===P?void 0:P.map((function(e){return new u(e)})))||null,C.isGiftPackage=e.isGiftPackage||null,C.note=e.note||null,C.orderAdjustments=(null===(j=e.orderAdjustments)||void 0===j?void 0:j.map((function(e){return new a(e)})))||null,C.orderLineItems=(null===(k=e.orderLineItems)||void 0===k?void 0:k.map((function(e){return new r(e)})).filter((function(e){return!e.deleted})))||[],C.orderNumber=e.orderNumber||null,C.orderPackageStatus=e.orderPackageStatus||null,C.orderPackages=(null===(A=e.orderPackages)||void 0===A?void 0:A.map((function(e){return new s(e)})))||null,C.orderPaymentStatus=e.orderPaymentStatus||null,C.orderedAt=e.orderedAt||null,C.paymentMethods=(null===(v=e.paymentMethods)||void 0===v?void 0:v.map((function(e){return new l(e)})))||null,C.shippingAddress=e.shippingAddress?new t(e.shippingAddress):null,C.shippingLines=(null===(S=e.shippingLines)||void 0===S?void 0:S.map((function(e){return new n(e)})))||null,C.shippingMethod=e.shippingMethod||m.SHIPMENT,C.status=e.status||p.CREATED,C.taxLines=(null===(x=e.taxLines)||void 0===x?void 0:x.map((function(e){return new d(e)})))||null,C.totalFinalPrice=null!==(O=e.totalFinalPrice)&&void 0!==O?O:0,C.totalPrice=null!==(I=e.totalPrice)&&void 0!==I?I:0,C.refundSettings=e.refundSettings;var T={billingAddress:g,cancelReason:g,cancelledAt:g,currencyCode:g,currencySymbol:g,customer:g,customerId:g,giftPackageLines:g,giftPackageNote:g,invoices:g,isGiftPackage:g,note:g,orderAdjustments:g,orderLineItems:g,orderNumber:g,orderPackageStatus:g,orderPackages:g,orderPaymentStatus:g,orderedAt:g,paymentMethods:g,shippingAddress:g,shippingLines:g,shippingMethod:g,status:g,taxLines:g,totalFinalPrice:g,totalPrice:g,refundSettings:g,items:b,itemCount:b,refundableItems:b,unfullfilledItems:b,refundedItems:b,totalTax:b,formattedTotalTax:b,shippingTotal:b,formattedShippingTotal:b,formattedTotalFinalPrice:b,formattedTotalPrice:b,hasCustomer:b,hasValidCustomerEmail:b,customerFullName:b,formattedDate:b,couponAdjustment:b,nonCouponAdjustments:b};return y&&(delete T.billingAddress,delete T.shippingAddress),f(C,T),C}return e(P,c),Object.defineProperty(P.prototype,"items",{get:function(){return this.orderLineItems},enumerable:!1,configurable:!0}),Object.defineProperty(P.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(P.prototype,"itemQuantity",{get:function(){return this.items.reduce((function(e,t){return e+t.quantity}),0)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"refundableItems",{get:function(){return this.refundSettings?y.getRefundableItems(this,this.refundSettings):[]},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"displayedPackages",{get:function(){return y.getDisplayedPackages(this).map((function(e){return new s(e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"unfullfilledItems",{get:function(){return y.getUnfullfilledItems(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"refundedItems",{get:function(){return y.getRefundedItems(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"totalTax",{get:function(){return y.getTotalTax(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"formattedTotalTax",{get:function(){return h(this.totalTax,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"shippingTotal",{get:function(){return y.getShippingTotal(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"formattedShippingTotal",{get:function(){return h(this.shippingTotal,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"formattedTotalFinalPrice",{get:function(){return h(this.totalFinalPrice,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"formattedTotalPrice",{get:function(){return h(this.totalPrice,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"hasCustomer",{get:function(){return y.hasCustomer(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"hasValidCustomerEmail",{get:function(){return y.hasValidCustomerEmail(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"customerFullName",{get:function(){return y.getCustomerFullName(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"formattedDate",{get:function(){return y.getFormattedDate(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"couponAdjustment",{get:function(){return y.getCouponAdjustment(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"nonCouponAdjustments",{get:function(){return y.getNonCouponAdjustments(this)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"isRefundEnabled",{get:function(){return this.refundableItems.some((function(e){return null!==e.refundQuantity}))},enumerable:!1,configurable:!0}),P}(c);export{P as IkasOrder};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasInvoice as IInvoice, IkasInvoiceType } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasInvoice implements IInvoice {
|
|
3
|
+
appId: string;
|
|
4
|
+
appName: string;
|
|
5
|
+
createdAt: number | null;
|
|
6
|
+
id: string;
|
|
7
|
+
invoiceNumber: string;
|
|
8
|
+
storeAppId: string;
|
|
9
|
+
type: IkasInvoiceType;
|
|
10
|
+
constructor(data: IInvoice);
|
|
11
|
+
}
|
|
12
|
+
export { IkasInvoiceType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{IkasInvoiceType}from"@ikas/storefront-models";import{makeAutoObservable as t}from"mobx";var e=function(e){this.createdAt=null,this.appId=e.appId,this.appName=e.appName,this.createdAt=e.createdAt||null,this.id=e.id,this.invoiceNumber=e.invoiceNumber,this.storeAppId=e.storeAppId,this.type=e.type,t(this)};export{e as IkasInvoice};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IkasProductUnitType, IkasOrderLineBaseUnit as IOrderLineBaseUnit } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasOrderLineVariantUnitType } from "./unit-type";
|
|
3
|
+
export declare class IkasOrderLineBaseUnit implements IOrderLineBaseUnit {
|
|
4
|
+
baseAmount: number;
|
|
5
|
+
type: IkasProductUnitType;
|
|
6
|
+
unit: IkasOrderLineVariantUnitType | null;
|
|
7
|
+
constructor(data: IOrderLineBaseUnit);
|
|
8
|
+
}
|
|
9
|
+
export { IkasProductUnitType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{IkasProductUnitType}from"@ikas/storefront-models";import{makeAutoObservable as t}from"mobx";import{IkasOrderLineVariantUnitType as o}from"./unit-type/index.js";var i=function(i){this.baseAmount=i.baseAmount,this.type=i.type,this.unit=i.unit?new o(i.unit):null,t(this)};export{i as IkasOrderLineBaseUnit};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IkasOrderLineVariantUnitType as IOrderLineVariantUnitType } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasOrderLineVariantUnitType implements IOrderLineVariantUnitType {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data: IOrderLineVariantUnitType);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.id=t.id,this.name=t.name,i(this)};export{t as IkasOrderLineVariantUnitType};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IkasOrderLineDiscount as IOrderLineDiscount } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasAmountType } from "../../adjustment";
|
|
3
|
+
export declare class IkasOrderLineDiscount implements IOrderLineDiscount {
|
|
4
|
+
amount: number;
|
|
5
|
+
amountType: IkasAmountType;
|
|
6
|
+
campaignOfferId: string | null;
|
|
7
|
+
campaignOfferProductId: string | null;
|
|
8
|
+
maxApplicableQuantity: number | null;
|
|
9
|
+
reason: string | null;
|
|
10
|
+
constructor(data: IOrderLineDiscount);
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as a}from"mobx";var t=function(t){this.campaignOfferId=null,this.campaignOfferProductId=null,this.maxApplicableQuantity=null,this.reason=null,this.amount=t.amount,this.amountType=t.amountType,this.campaignOfferId=t.campaignOfferId||null,this.campaignOfferProductId=t.campaignOfferProductId||null,this.maxApplicableQuantity=t.maxApplicableQuantity||null,this.reason=t.reason||null,a(this)};export{t as IkasOrderLineDiscount};
|