@ikas/storefront 4.5.0-beta.1 → 4.5.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/build/_virtual/axios.js +0 -1
- package/build/_virtual/index.js +0 -1
- package/build/analytics/analytics.d.ts +0 -37
- package/build/analytics/analytics.js +0 -1
- package/build/analytics/events.d.ts +0 -37
- package/build/analytics/events.js +0 -1
- package/build/analytics/facebookPixel.d.ts +0 -15
- package/build/analytics/facebookPixel.js +0 -1
- package/build/analytics/googleAnalytics.d.ts +0 -13
- package/build/analytics/googleAnalytics.js +0 -1
- package/build/analytics/googleTagManager.d.ts +0 -209
- package/build/analytics/googleTagManager.js +0 -1
- package/build/analytics/googleUniversal.d.ts +0 -9
- package/build/analytics/googleUniversal.js +0 -1
- package/build/analytics/head/index.d.ts +0 -3
- package/build/analytics/head/index.js +0 -1
- package/build/analytics/ikas.d.ts +0 -134
- package/build/analytics/ikas.js +0 -1
- package/build/analytics/index.d.ts +0 -2
- package/build/analytics/tiktokPixel.d.ts +0 -13
- package/build/analytics/tiktokPixel.js +0 -1
- package/build/components/checkout/components/address-form/index.d.ts +0 -3
- package/build/components/checkout/components/address-form/index.js +0 -1
- package/build/components/checkout/components/address-form/model.d.ts +0 -87
- package/build/components/checkout/components/address-form/model.js +0 -1
- package/build/components/checkout/components/adyen/adyen.module.scss.js +0 -1
- package/build/components/checkout/components/adyen/index.d.ts +0 -8
- package/build/components/checkout/components/adyen/index.js +0 -1
- package/build/components/checkout/components/button/index.d.ts +0 -13
- package/build/components/checkout/components/button/index.js +0 -1
- package/build/components/checkout/components/button/style.module.scss.js +0 -1
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +0 -11
- package/build/components/checkout/components/cart-summary/cart-item/index.js +0 -1
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +0 -1
- package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-right.d.ts +0 -2
- package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-right.js +0 -1
- package/build/components/checkout/components/cart-summary/index.d.ts +0 -12
- package/build/components/checkout/components/cart-summary/index.js +0 -1
- package/build/components/checkout/components/cart-summary/style.module.scss.js +0 -1
- package/build/components/checkout/components/checkbox/check.d.ts +0 -6
- package/build/components/checkout/components/checkbox/check.js +0 -1
- package/build/components/checkout/components/checkbox/index.d.ts +0 -10
- package/build/components/checkout/components/checkbox/index.js +0 -1
- package/build/components/checkout/components/checkbox/style.module.scss.js +0 -1
- package/build/components/checkout/components/credit-card-form/index.d.ts +0 -7
- package/build/components/checkout/components/credit-card-form/index.js +0 -1
- package/build/components/checkout/components/credit-card-form/model.d.ts +0 -26
- package/build/components/checkout/components/credit-card-form/model.js +0 -1
- package/build/components/checkout/components/credit-card-form/style.module.scss.js +0 -1
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +0 -6
- package/build/components/checkout/components/credit-card-form/svg/amex.js +0 -1
- package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +0 -6
- package/build/components/checkout/components/credit-card-form/svg/master-card.js +0 -1
- package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +0 -6
- package/build/components/checkout/components/credit-card-form/svg/troy.js +0 -1
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +0 -6
- package/build/components/checkout/components/credit-card-form/svg/visa.js +0 -1
- package/build/components/checkout/components/customer-addresses/index.d.ts +0 -19
- package/build/components/checkout/components/customer-addresses/index.js +0 -1
- package/build/components/checkout/components/customer-addresses/model.d.ts +0 -21
- package/build/components/checkout/components/customer-addresses/model.js +0 -1
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +0 -1
- package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +0 -10
- package/build/components/checkout/components/delivery-methods/icon-button/index.js +0 -1
- package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +0 -1
- package/build/components/checkout/components/delivery-methods/icons/box.d.ts +0 -6
- package/build/components/checkout/components/delivery-methods/icons/box.js +0 -1
- package/build/components/checkout/components/delivery-methods/icons/store.d.ts +0 -6
- package/build/components/checkout/components/delivery-methods/icons/store.js +0 -1
- package/build/components/checkout/components/delivery-methods/index.d.ts +0 -7
- package/build/components/checkout/components/delivery-methods/index.js +0 -1
- package/build/components/checkout/components/delivery-methods/style.module.scss.js +0 -1
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +0 -8
- package/build/components/checkout/components/error/customer-login-required-error/index.js +0 -1
- package/build/components/checkout/components/error/index.d.ts +0 -7
- package/build/components/checkout/components/error/index.js +0 -1
- package/build/components/checkout/components/error/no-shipping-error/index.d.ts +0 -3
- package/build/components/checkout/components/error/no-shipping-error/index.js +0 -1
- package/build/components/checkout/components/error/payment-error/index.d.ts +0 -8
- package/build/components/checkout/components/error/payment-error/index.js +0 -1
- package/build/components/checkout/components/error/stock-error/index.d.ts +0 -8
- package/build/components/checkout/components/error/stock-error/index.js +0 -1
- package/build/components/checkout/components/error/stock-error/style.module.scss.js +0 -1
- package/build/components/checkout/components/error/unknown-error/index.d.ts +0 -8
- package/build/components/checkout/components/error/unknown-error/index.js +0 -1
- package/build/components/checkout/components/expandable-section/index.d.ts +0 -6
- package/build/components/checkout/components/expandable-section/index.js +0 -1
- package/build/components/checkout/components/expandable-section/style.module.scss.js +0 -1
- package/build/components/checkout/components/form-item/caret-down.d.ts +0 -6
- package/build/components/checkout/components/form-item/caret-down.js +0 -1
- package/build/components/checkout/components/form-item/index.d.ts +0 -3
- package/build/components/checkout/components/form-item/index.js +0 -1
- package/build/components/checkout/components/form-item/model.d.ts +0 -69
- package/build/components/checkout/components/form-item/model.js +0 -1
- package/build/components/checkout/components/form-item/style.module.scss.js +0 -1
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
- package/build/components/checkout/components/fullscreen-loading/index.js +0 -1
- package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +0 -1
- package/build/components/checkout/components/input-with-button/index.d.ts +0 -12
- package/build/components/checkout/components/input-with-button/index.js +0 -1
- package/build/components/checkout/components/input-with-button/style.module.scss.js +0 -1
- package/build/components/checkout/components/klarna/index.d.ts +0 -7
- package/build/components/checkout/components/klarna/index.js +0 -1
- package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +0 -8
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +0 -1
- package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/link-card-to-client/index.d.ts +0 -8
- package/build/components/checkout/components/master-pass/link-card-to-client/index.js +0 -1
- package/build/components/checkout/components/master-pass/link-card-to-client/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/close.d.ts +0 -2
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/close.js +0 -1
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/info-mark.d.ts +0 -2
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/info-mark.js +0 -1
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/master-pass-by-master-card-big.d.ts +0 -2
- package/build/components/checkout/components/master-pass/link-card-to-client/svg/master-pass-by-master-card-big.js +0 -1
- package/build/components/checkout/components/master-pass/modal/index.d.ts +0 -10
- package/build/components/checkout/components/master-pass/modal/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal/svg/master-pass-by-master-card-small.d.ts +0 -2
- package/build/components/checkout/components/master-pass/modal/svg/master-pass-by-master-card-small.js +0 -1
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +0 -2
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +0 -1
- package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +0 -10
- package/build/components/checkout/components/master-pass/modal-otp/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +0 -2
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +0 -1
- package/build/components/checkout/components/master-pass/modal-response/index.d.ts +0 -9
- package/build/components/checkout/components/master-pass/modal-response/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/index.d.ts +0 -10
- package/build/components/checkout/components/master-pass/modal-success/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +0 -2
- package/build/components/checkout/components/master-pass/modal-success/svg/success.js +0 -1
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +0 -2
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +0 -1
- package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.d.ts +0 -6
- package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.js +0 -1
- package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.d.ts +0 -6
- package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.js +0 -1
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +0 -3
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +0 -1
- package/build/components/checkout/components/modal/index.d.ts +0 -8
- package/build/components/checkout/components/modal/index.js +0 -1
- package/build/components/checkout/components/modal/style.module.scss.js +0 -1
- package/build/components/checkout/components/modal/useEscape.d.ts +0 -5
- package/build/components/checkout/components/modal/useEscape.js +0 -1
- package/build/components/checkout/components/notification-box/index.d.ts +0 -9
- package/build/components/checkout/components/notification-box/index.js +0 -1
- package/build/components/checkout/components/notification-box/style.module.scss.js +0 -1
- package/build/components/checkout/components/offer-product/index.d.ts +0 -8
- package/build/components/checkout/components/offer-product/index.js +0 -1
- package/build/components/checkout/components/offer-product/select/arrows.d.ts +0 -6
- package/build/components/checkout/components/offer-product/select/arrows.js +0 -1
- package/build/components/checkout/components/offer-product/select/index.d.ts +0 -11
- package/build/components/checkout/components/offer-product/select/index.js +0 -1
- package/build/components/checkout/components/offer-product/select/style.module.scss.js +0 -1
- package/build/components/checkout/components/offer-product/style.module.scss.js +0 -1
- package/build/components/checkout/components/phone-number-input/compare-strings.d.ts +0 -2
- package/build/components/checkout/components/phone-number-input/compare-strings.js +0 -1
- package/build/components/checkout/components/phone-number-input/get-countries.d.ts +0 -7
- package/build/components/checkout/components/phone-number-input/get-countries.js +0 -1
- package/build/components/checkout/components/phone-number-input/index.d.ts +0 -10
- package/build/components/checkout/components/phone-number-input/index.js +0 -1
- package/build/components/checkout/components/phone-number-input/style.module.scss.js +0 -1
- package/build/components/checkout/components/quick-registration/completed.d.ts +0 -7
- package/build/components/checkout/components/quick-registration/completed.js +0 -1
- package/build/components/checkout/components/quick-registration/index.d.ts +0 -7
- package/build/components/checkout/components/quick-registration/index.js +0 -1
- package/build/components/checkout/components/quick-registration/model.d.ts +0 -19
- package/build/components/checkout/components/quick-registration/model.js +0 -1
- package/build/components/checkout/components/quick-registration/style.module.scss.js +0 -1
- package/build/components/checkout/components/select-box/index.d.ts +0 -13
- package/build/components/checkout/components/select-box/index.js +0 -1
- package/build/components/checkout/components/select-box/style.module.scss.js +0 -1
- package/build/components/checkout/components/step-container/index.d.ts +0 -15
- package/build/components/checkout/components/step-container/index.js +0 -1
- package/build/components/checkout/components/step-container/style.module.scss.js +0 -1
- package/build/components/checkout/components/stripe/checkout-form.d.ts +0 -8
- package/build/components/checkout/components/stripe/checkout-form.js +0 -1
- package/build/components/checkout/components/stripe/index.d.ts +0 -9
- package/build/components/checkout/components/stripe/index.js +0 -1
- package/build/components/checkout/components/stripe/style.module.scss.js +0 -1
- package/build/components/checkout/components/svg/arrow-down.d.ts +0 -6
- package/build/components/checkout/components/svg/arrow-down.js +0 -1
- package/build/components/checkout/components/svg/arrow-left.d.ts +0 -6
- package/build/components/checkout/components/svg/arrow-right.d.ts +0 -6
- package/build/components/checkout/components/svg/cross.d.ts +0 -6
- package/build/components/checkout/components/svg/cross.js +0 -1
- package/build/components/checkout/components/svg/discount.d.ts +0 -6
- package/build/components/checkout/components/svg/external.d.ts +0 -6
- package/build/components/checkout/components/svg/external.js +0 -1
- package/build/components/checkout/components/svg/gift.d.ts +0 -7
- package/build/components/checkout/components/svg/gift.js +0 -1
- package/build/components/checkout/components/svg/ikas.d.ts +0 -6
- package/build/components/checkout/components/svg/ikas.js +0 -1
- package/build/components/checkout/components/svg/lock.d.ts +0 -6
- package/build/components/checkout/components/svg/lock.js +0 -1
- package/build/components/checkout/components/svg/shopping-cart.d.ts +0 -6
- package/build/components/checkout/components/svg/success-circle.d.ts +0 -6
- package/build/components/checkout/components/svg/success-circle.js +0 -1
- package/build/components/checkout/components/svg/tag.d.ts +0 -6
- package/build/components/checkout/components/svg/warning.d.ts +0 -6
- package/build/components/checkout/components/svg/warning.js +0 -1
- package/build/components/checkout/components/toggle/index.d.ts +0 -10
- package/build/components/checkout/components/toggle/index.js +0 -1
- package/build/components/checkout/components/toggle/style.module.scss.js +0 -1
- package/build/components/checkout/components/tooltip/index.d.ts +0 -8
- package/build/components/checkout/components/tooltip/index.js +0 -1
- package/build/components/checkout/components/tooltip/style.module.scss.js +0 -1
- package/build/components/checkout/index.d.ts +0 -34
- package/build/components/checkout/index.js +0 -1
- package/build/components/checkout/model.d.ts +0 -191
- package/build/components/checkout/model.js +0 -1
- package/build/components/checkout/modelMasterPass.d.ts +0 -204
- package/build/components/checkout/modelMasterPass.js +0 -1
- package/build/components/checkout/steps/step-info/index.d.ts +0 -7
- package/build/components/checkout/steps/step-info/index.js +0 -1
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +0 -7
- package/build/components/checkout/steps/step-payment/billing-address/index.js +0 -1
- package/build/components/checkout/steps/step-payment/index.d.ts +0 -7
- package/build/components/checkout/steps/step-payment/index.js +0 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -7
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +0 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -7
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +0 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +0 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +0 -1
- package/build/components/checkout/steps/step-payment/style.module.scss.js +0 -1
- package/build/components/checkout/steps/step-shipping/index.d.ts +0 -7
- package/build/components/checkout/steps/step-shipping/index.js +0 -1
- package/build/components/checkout/steps/step-shipping/style.module.scss.js +0 -1
- package/build/components/checkout/steps/step-success/index.d.ts +0 -7
- package/build/components/checkout/steps/step-success/index.js +0 -1
- package/build/components/checkout/steps/step-success/style.module.scss.js +0 -1
- package/build/components/checkout/style.module.scss.js +0 -1
- package/build/components/checkout/styles/common.module.scss.js +0 -1
- package/build/components/google-captcha/index.d.ts +0 -9
- package/build/components/google-captcha/index.js +0 -1
- package/build/components/image/index.d.ts +0 -10
- package/build/components/image/index.js +0 -1
- package/build/components/index.d.ts +0 -6
- package/build/components/link/index.d.ts +0 -16
- package/build/components/link/index.js +0 -1
- package/build/components/page/ThemeComponent.d.ts +0 -21
- package/build/components/page/ThemeComponent.js +0 -1
- package/build/components/page/head.d.ts +0 -15
- package/build/components/page/head.js +0 -1
- package/build/components/page/index.d.ts +0 -24
- package/build/components/page/index.js +0 -1
- package/build/components/page-editor/ThemeComponentEditor.d.ts +0 -32
- package/build/components/page-editor/ThemeComponentEditor.js +0 -1
- package/build/components/page-editor/error/index.d.ts +0 -4
- package/build/components/page-editor/error/index.js +0 -1
- package/build/components/page-editor/index.d.ts +0 -4
- package/build/components/page-editor/index.js +0 -1
- package/build/components/page-editor/loader/index.d.ts +0 -6
- package/build/components/page-editor/loader/index.js +0 -1
- package/build/components/page-editor/loader/style.module.scss.js +0 -1
- package/build/components/page-editor/model.d.ts +0 -76
- package/build/components/page-editor/model.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/core.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/index.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/utils/api.js +0 -1
- package/build/ext/axios/index.js +0 -1
- package/build/ext/axios/lib/adapters/xhr.js +0 -1
- package/build/ext/axios/lib/axios.js +0 -1
- package/build/ext/axios/lib/cancel/Cancel.js +0 -1
- package/build/ext/axios/lib/cancel/CancelToken.js +0 -1
- package/build/ext/axios/lib/cancel/isCancel.js +0 -1
- package/build/ext/axios/lib/core/Axios.js +0 -1
- package/build/ext/axios/lib/core/InterceptorManager.js +0 -1
- package/build/ext/axios/lib/core/buildFullPath.js +0 -1
- package/build/ext/axios/lib/core/createError.js +0 -1
- package/build/ext/axios/lib/core/dispatchRequest.js +0 -1
- package/build/ext/axios/lib/core/enhanceError.js +0 -1
- package/build/ext/axios/lib/core/mergeConfig.js +0 -1
- package/build/ext/axios/lib/core/settle.js +0 -1
- package/build/ext/axios/lib/core/transformData.js +0 -1
- package/build/ext/axios/lib/defaults/index.js +0 -1
- package/build/ext/axios/lib/defaults/transitional.js +0 -1
- package/build/ext/axios/lib/env/data.js +0 -1
- package/build/ext/axios/lib/helpers/bind.js +0 -1
- package/build/ext/axios/lib/helpers/buildURL.js +0 -1
- package/build/ext/axios/lib/helpers/combineURLs.js +0 -1
- package/build/ext/axios/lib/helpers/cookies.js +0 -1
- package/build/ext/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/build/ext/axios/lib/helpers/isAxiosError.js +0 -1
- package/build/ext/axios/lib/helpers/isURLSameOrigin.js +0 -1
- package/build/ext/axios/lib/helpers/normalizeHeaderName.js +0 -1
- package/build/ext/axios/lib/helpers/parseHeaders.js +0 -1
- package/build/ext/axios/lib/helpers/spread.js +0 -1
- package/build/ext/axios/lib/helpers/validator.js +0 -1
- package/build/ext/axios/lib/utils.js +0 -1
- package/build/ext/style-inject/dist/style-inject.es.js +0 -1
- package/build/ext/tslib/tslib.es6.js +0 -1
- package/build/hooks/index.d.ts +0 -1
- package/build/hooks/useStore.d.ts +0 -2
- package/build/hooks/useStore.js +0 -1
- package/build/index.d.ts +0 -7
- package/build/index.js +0 -1
- package/build/models/data/base/index.d.ts +0 -8
- package/build/models/data/base/index.js +0 -1
- package/build/models/data/blog/category/index.d.ts +0 -12
- package/build/models/data/blog/category/index.js +0 -1
- package/build/models/data/blog/content/index.d.ts +0 -6
- package/build/models/data/blog/content/index.js +0 -1
- package/build/models/data/blog/index.d.ts +0 -27
- package/build/models/data/blog/index.js +0 -1
- package/build/models/data/blog/meta-data/index.d.ts +0 -16
- package/build/models/data/blog/meta-data/index.js +0 -1
- package/build/models/data/blog/tag/index.d.ts +0 -6
- package/build/models/data/blog/tag/index.js +0 -1
- package/build/models/data/blog/writer/index.d.ts +0 -6
- package/build/models/data/blog/writer/index.js +0 -1
- package/build/models/data/brand/index.d.ts +0 -26
- package/build/models/data/brand/index.js +0 -1
- package/build/models/data/brand/translation/index.d.ts +0 -7
- package/build/models/data/brand/translation/index.js +0 -1
- package/build/models/data/campaign-offer/index.d.ts +0 -21
- package/build/models/data/campaign-offer/index.js +0 -1
- package/build/models/data/campaign-offer/product/index.d.ts +0 -25
- package/build/models/data/campaign-offer/product/index.js +0 -1
- package/build/models/data/cart/available-shipping-method/index.d.ts +0 -10
- package/build/models/data/cart/available-shipping-method/index.js +0 -1
- package/build/models/data/cart/campaign-offer/index.d.ts +0 -16
- package/build/models/data/cart/campaign-offer/index.js +0 -1
- package/build/models/data/cart/index.d.ts +0 -14
- package/build/models/data/cart/index.js +0 -1
- package/build/models/data/category/index.d.ts +0 -22
- package/build/models/data/category/index.js +0 -1
- package/build/models/data/category/path-item/index.d.ts +0 -14
- package/build/models/data/category/path-item/index.js +0 -1
- package/build/models/data/category/translations/index.d.ts +0 -7
- package/build/models/data/category/translations/index.js +0 -1
- package/build/models/data/checkout/country-settings-model.d.ts +0 -141
- package/build/models/data/checkout/country-settings-model.js +0 -1
- package/build/models/data/checkout/index.d.ts +0 -26
- package/build/models/data/checkout/index.js +0 -1
- package/build/models/data/checkout-settings/index.d.ts +0 -21
- package/build/models/data/checkout-settings/index.js +0 -1
- package/build/models/data/checkout-settings/option/index.d.ts +0 -6
- package/build/models/data/checkout-settings/option/index.js +0 -1
- package/build/models/data/checkout-settings/price/index.d.ts +0 -7
- package/build/models/data/checkout-settings/price/index.js +0 -1
- package/build/models/data/city/index.d.ts +0 -12
- package/build/models/data/city/index.js +0 -1
- package/build/models/data/contact-form/index.d.ts +0 -9
- package/build/models/data/contact-form/index.js +0 -1
- package/build/models/data/country/index.d.ts +0 -18
- package/build/models/data/country/index.js +0 -1
- package/build/models/data/country/location-translations/index.d.ts +0 -7
- package/build/models/data/customer/address/city/index.d.ts +0 -7
- package/build/models/data/customer/address/city/index.js +0 -1
- package/build/models/data/customer/address/country/index.d.ts +0 -9
- package/build/models/data/customer/address/country/index.js +0 -1
- package/build/models/data/customer/address/district/index.d.ts +0 -7
- package/build/models/data/customer/address/district/index.js +0 -1
- package/build/models/data/customer/address/ikas-localized-customer-address.d.ts +0 -50
- package/build/models/data/customer/address/ikas-localized-customer-address.js +0 -1
- package/build/models/data/customer/address/index.d.ts +0 -40
- package/build/models/data/customer/address/index.js +0 -1
- package/build/models/data/customer/address/state/index.d.ts +0 -7
- package/build/models/data/customer/address/state/index.js +0 -1
- package/build/models/data/customer/attribute/index.d.ts +0 -18
- package/build/models/data/customer/attribute/index.js +0 -1
- package/build/models/data/customer/attribute/option/index.d.ts +0 -9
- package/build/models/data/customer/attribute/option/index.js +0 -1
- package/build/models/data/customer/attribute/sales-channel/index.d.ts +0 -8
- package/build/models/data/customer/attribute/sales-channel/index.js +0 -1
- package/build/models/data/customer/attribute/translation/index.d.ts +0 -9
- package/build/models/data/customer/attribute/translation/index.js +0 -1
- package/build/models/data/customer/attribute/translation/option/index.d.ts +0 -6
- package/build/models/data/customer/attribute/translation/option/index.js +0 -1
- package/build/models/data/customer/attribute/value/index.d.ts +0 -11
- package/build/models/data/customer/attribute/value/index.js +0 -1
- package/build/models/data/customer/index.d.ts +0 -38
- package/build/models/data/customer/index.js +0 -1
- package/build/models/data/customer/review/index.d.ts +0 -22
- package/build/models/data/customer/review/index.js +0 -1
- package/build/models/data/customer/review/settings/index.d.ts +0 -6
- package/build/models/data/customer/review/settings/index.js +0 -1
- package/build/models/data/customer/review/summary/index.d.ts +0 -10
- package/build/models/data/customer/review/summary/index.js +0 -1
- package/build/models/data/customer/review/summary/star/index.d.ts +0 -6
- package/build/models/data/customer/review/summary/star/index.js +0 -1
- package/build/models/data/district/index.d.ts +0 -12
- package/build/models/data/district/index.js +0 -1
- package/build/models/data/favorite-product/index.d.ts +0 -7
- package/build/models/data/favorite-product/index.js +0 -1
- package/build/models/data/filter-category/index.d.ts +0 -12
- package/build/models/data/filter-category/index.js +0 -1
- package/build/models/data/html-meta-data/index.d.ts +0 -28
- package/build/models/data/html-meta-data/index.js +0 -1
- package/build/models/data/html-meta-data/translations/index.d.ts +0 -7
- package/build/models/data/html-meta-data/translations/index.js +0 -1
- package/build/models/data/image/index.d.ts +0 -10
- package/build/models/data/image/index.js +0 -1
- package/build/models/data/index.d.ts +0 -139
- package/build/models/data/last-viewed-product/index.d.ts +0 -6
- package/build/models/data/last-viewed-product/index.js +0 -1
- package/build/models/data/merchant-settings/index.d.ts +0 -12
- package/build/models/data/merchant-settings/index.js +0 -1
- package/build/models/data/order/address/city/index.d.ts +0 -7
- package/build/models/data/order/address/city/index.js +0 -1
- package/build/models/data/order/address/country/index.d.ts +0 -9
- package/build/models/data/order/address/country/index.js +0 -1
- package/build/models/data/order/address/district/index.d.ts +0 -7
- package/build/models/data/order/address/district/index.js +0 -1
- package/build/models/data/order/address/ikas-localized-order-address.d.ts +0 -32
- package/build/models/data/order/address/ikas-localized-order-address.js +0 -1
- package/build/models/data/order/address/index.d.ts +0 -37
- package/build/models/data/order/address/index.js +0 -1
- package/build/models/data/order/address/state/index.d.ts +0 -7
- package/build/models/data/order/address/state/index.js +0 -1
- package/build/models/data/order/adjustment/applied-order-line/index.d.ts +0 -8
- package/build/models/data/order/adjustment/applied-order-line/index.js +0 -1
- package/build/models/data/order/adjustment/index.d.ts +0 -15
- package/build/models/data/order/adjustment/index.js +0 -1
- package/build/models/data/order/customer/index.d.ts +0 -11
- package/build/models/data/order/customer/index.js +0 -1
- package/build/models/data/order/gift-line/index.d.ts +0 -6
- package/build/models/data/order/gift-line/index.js +0 -1
- package/build/models/data/order/index.d.ts +0 -69
- package/build/models/data/order/index.js +0 -1
- package/build/models/data/order/invoice/index.d.ts +0 -12
- package/build/models/data/order/invoice/index.js +0 -1
- package/build/models/data/order/line-item/base-unit/index.d.ts +0 -9
- package/build/models/data/order/line-item/base-unit/index.js +0 -1
- package/build/models/data/order/line-item/base-unit/unit-type/index.d.ts +0 -6
- package/build/models/data/order/line-item/base-unit/unit-type/index.js +0 -1
- package/build/models/data/order/line-item/discount/index.d.ts +0 -11
- package/build/models/data/order/line-item/discount/index.js +0 -1
- package/build/models/data/order/line-item/index.d.ts +0 -46
- package/build/models/data/order/line-item/index.js +0 -1
- package/build/models/data/order/line-item/option/index.d.ts +0 -10
- package/build/models/data/order/line-item/option/index.js +0 -1
- package/build/models/data/order/line-item/option/value/index.d.ts +0 -9
- package/build/models/data/order/line-item/option/value/index.js +0 -1
- package/build/models/data/order/line-item/variant/brand/index.d.ts +0 -6
- package/build/models/data/order/line-item/variant/brand/index.js +0 -1
- package/build/models/data/order/line-item/variant/category/index.d.ts +0 -12
- package/build/models/data/order/line-item/variant/category/index.js +0 -1
- package/build/models/data/order/line-item/variant/index.d.ts +0 -30
- package/build/models/data/order/line-item/variant/index.js +0 -1
- package/build/models/data/order/line-item/variant/price/index.d.ts +0 -10
- package/build/models/data/order/line-item/variant/price/index.js +0 -1
- package/build/models/data/order/line-item/variant/unit/index.d.ts +0 -6
- package/build/models/data/order/line-item/variant/unit/index.js +0 -1
- package/build/models/data/order/line-item/variant/value/index.d.ts +0 -11
- package/build/models/data/order/line-item/variant/value/index.js +0 -1
- package/build/models/data/order/package/index.d.ts +0 -16
- package/build/models/data/order/package/index.js +0 -1
- package/build/models/data/order/package/tracking-info/index.d.ts +0 -9
- package/build/models/data/order/package/tracking-info/index.js +0 -1
- package/build/models/data/order/payment-method/index.d.ts +0 -9
- package/build/models/data/order/payment-method/index.js +0 -1
- package/build/models/data/order/refund/index.d.ts +0 -7
- package/build/models/data/order/refund/index.js +0 -1
- package/build/models/data/order/refund/line-item/index.d.ts +0 -6
- package/build/models/data/order/refund/line-item/index.js +0 -1
- package/build/models/data/order/refund/settings/index.d.ts +0 -7
- package/build/models/data/order/refund/settings/index.js +0 -1
- package/build/models/data/order/shipping-line/index.d.ts +0 -12
- package/build/models/data/order/shipping-line/index.js +0 -1
- package/build/models/data/order/tax-line/index.d.ts +0 -6
- package/build/models/data/order/tax-line/index.js +0 -1
- package/build/models/data/order/transaction/error/index.d.ts +0 -7
- package/build/models/data/order/transaction/error/index.js +0 -1
- package/build/models/data/order/transaction/index.d.ts +0 -26
- package/build/models/data/order/transaction/index.js +0 -1
- package/build/models/data/order/transaction/payment-method-detail/index.d.ts +0 -13
- package/build/models/data/order/transaction/payment-method-detail/index.js +0 -1
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -9
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.js +0 -1
- package/build/models/data/payment-gateway/additional-price/index.d.ts +0 -9
- package/build/models/data/payment-gateway/additional-price/index.js +0 -1
- package/build/models/data/payment-gateway/index.d.ts +0 -31
- package/build/models/data/payment-gateway/index.js +0 -1
- package/build/models/data/payment-gateway/settings/index.d.ts +0 -10
- package/build/models/data/payment-gateway/settings/index.js +0 -1
- package/build/models/data/payment-gateway/translation/index.d.ts +0 -7
- package/build/models/data/payment-gateway/translation/index.js +0 -1
- package/build/models/data/product/attribute/index.d.ts +0 -15
- package/build/models/data/product/attribute/index.js +0 -1
- package/build/models/data/product/attribute/option/index.d.ts +0 -6
- package/build/models/data/product/attribute/option/index.js +0 -1
- package/build/models/data/product/attribute/table-cell/index.d.ts +0 -6
- package/build/models/data/product/attribute/table-cell/index.js +0 -1
- package/build/models/data/product/attribute/table-template/index.d.ts +0 -7
- package/build/models/data/product/attribute/table-template/index.js +0 -1
- package/build/models/data/product/attribute/translation/index.d.ts +0 -13
- package/build/models/data/product/attribute/translation/index.js +0 -1
- package/build/models/data/product/attribute-value/index.d.ts +0 -28
- package/build/models/data/product/attribute-value/index.js +0 -1
- package/build/models/data/product/back-in-stock-settings/index.d.ts +0 -5
- package/build/models/data/product/back-in-stock-settings/index.js +0 -1
- package/build/models/data/product/base-unit/index.d.ts +0 -12
- package/build/models/data/product/base-unit/index.js +0 -1
- package/build/models/data/product/campaign/data/index.d.ts +0 -27
- package/build/models/data/product/campaign/data/index.js +0 -1
- package/build/models/data/product/campaign/filter/index.d.ts +0 -7
- package/build/models/data/product/campaign/filter/index.js +0 -1
- package/build/models/data/product/campaign/index.d.ts +0 -7
- package/build/models/data/product/campaign/index.js +0 -1
- package/build/models/data/product/campaign/product-buyx-then-gety/index.d.ts +0 -20
- package/build/models/data/product/campaign/product-buyx-then-gety/index.js +0 -1
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.d.ts +0 -6
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.js +0 -1
- package/build/models/data/product/campaign/product-fixed-discount/index.d.ts +0 -14
- package/build/models/data/product/campaign/product-fixed-discount/index.js +0 -1
- package/build/models/data/product/filter/index.d.ts +0 -82
- package/build/models/data/product/filter/index.js +0 -1
- package/build/models/data/product/image/index.d.ts +0 -10
- package/build/models/data/product/image/index.js +0 -1
- package/build/models/data/product/index.d.ts +0 -76
- package/build/models/data/product/index.js +0 -1
- package/build/models/data/product/option-set/index.d.ts +0 -29
- package/build/models/data/product/option-set/index.js +0 -1
- package/build/models/data/product/option-set/option/index.d.ts +0 -70
- package/build/models/data/product/option-set/option/index.js +0 -1
- package/build/models/data/product/star/index.d.ts +0 -6
- package/build/models/data/product/star/index.js +0 -1
- package/build/models/data/product/stock-location/index.d.ts +0 -8
- package/build/models/data/product/stock-location/index.js +0 -1
- package/build/models/data/product/tag/index.d.ts +0 -6
- package/build/models/data/product/tag/index.js +0 -1
- package/build/models/data/product/variant/index.d.ts +0 -31
- package/build/models/data/product/variant/index.js +0 -1
- package/build/models/data/product/variant/price/index.d.ts +0 -19
- package/build/models/data/product/variant/price/index.js +0 -1
- package/build/models/data/product/variant/unit/index.d.ts +0 -6
- package/build/models/data/product/variant/unit/index.js +0 -1
- package/build/models/data/product/variant-type/index.d.ts +0 -8
- package/build/models/data/product/variant-type/index.js +0 -1
- package/build/models/data/raffle/index.d.ts +0 -63
- package/build/models/data/raffle/index.js +0 -1
- package/build/models/data/sales-channel/index.d.ts +0 -19
- package/build/models/data/sales-channel/index.js +0 -1
- package/build/models/data/state/index.d.ts +0 -11
- package/build/models/data/state/index.js +0 -1
- package/build/models/data/state/location-translations/index.d.ts +0 -7
- package/build/models/data/stock-location/address/city/index.d.ts +0 -7
- package/build/models/data/stock-location/address/city/index.js +0 -1
- package/build/models/data/stock-location/address/country/index.d.ts +0 -7
- package/build/models/data/stock-location/address/country/index.js +0 -1
- package/build/models/data/stock-location/address/district/index.d.ts +0 -7
- package/build/models/data/stock-location/address/district/index.js +0 -1
- package/build/models/data/stock-location/address/index.d.ts +0 -15
- package/build/models/data/stock-location/address/index.js +0 -1
- package/build/models/data/stock-location/address/state/index.d.ts +0 -7
- package/build/models/data/stock-location/address/state/index.js +0 -1
- package/build/models/data/stock-location/available/index.d.ts +0 -10
- package/build/models/data/stock-location/available/index.js +0 -1
- package/build/models/data/stock-location/index.d.ts +0 -14
- package/build/models/data/stock-location/index.js +0 -1
- package/build/models/data/storefront/domain/index.d.ts +0 -9
- package/build/models/data/storefront/domain/index.js +0 -1
- package/build/models/data/storefront/index.d.ts +0 -30
- package/build/models/data/storefront/index.js +0 -1
- package/build/models/data/storefront/localization/index.d.ts +0 -8
- package/build/models/data/storefront/localization/index.js +0 -1
- package/build/models/data/storefront/meta-templates/index.d.ts +0 -8
- package/build/models/data/storefront/meta-templates/index.js +0 -1
- package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +0 -6
- package/build/models/data/storefront/routing/dynamic-currency/index.js +0 -1
- package/build/models/data/storefront/routing/index.d.ts +0 -14
- package/build/models/data/storefront/routing/index.js +0 -1
- package/build/models/data/storefront/theme/index.d.ts +0 -10
- package/build/models/data/storefront/theme/index.js +0 -1
- package/build/models/data/storefront/theme-localization/index.d.ts +0 -15
- package/build/models/data/storefront/theme-localization/index.js +0 -1
- package/build/models/data/theme-json/component/index.d.ts +0 -23
- package/build/models/data/theme-json/component/index.js +0 -1
- package/build/models/data/theme-json/component/prop/index.d.ts +0 -26
- package/build/models/data/theme-json/component/prop/index.js +0 -1
- package/build/models/data/theme-json/custom-data/index.d.ts +0 -43
- package/build/models/data/theme-json/custom-data/index.js +0 -1
- package/build/models/data/theme-json/index.d.ts +0 -16
- package/build/models/data/theme-json/index.js +0 -1
- package/build/models/data/theme-json/page/component/index.d.ts +0 -7
- package/build/models/data/theme-json/page/component/index.js +0 -1
- package/build/models/data/theme-json/page/index.d.ts +0 -21
- package/build/models/data/theme-json/page/index.js +0 -1
- package/build/models/data/theme-json/settings/color/index.d.ts +0 -15
- package/build/models/data/theme-json/settings/color/index.js +0 -1
- package/build/models/data/theme-json/settings/favicon/index.d.ts +0 -5
- package/build/models/data/theme-json/settings/favicon/index.js +0 -1
- package/build/models/data/theme-json/settings/font-family/index.d.ts +0 -6
- package/build/models/data/theme-json/settings/font-family/index.js +0 -1
- package/build/models/data/theme-json/settings/index.d.ts +0 -13
- package/build/models/data/theme-json/settings/index.js +0 -1
- package/build/models/data/variant-type/index.d.ts +0 -13
- package/build/models/data/variant-type/index.js +0 -1
- package/build/models/data/variant-type/variant-value/index.d.ts +0 -12
- package/build/models/data/variant-type/variant-value/index.js +0 -1
- package/build/models/index.d.ts +0 -2
- package/build/models/ui/blog-category-list/index.d.ts +0 -51
- package/build/models/ui/blog-category-list/index.js +0 -1
- package/build/models/ui/blog-list/index.d.ts +0 -55
- package/build/models/ui/blog-list/index.js +0 -1
- package/build/models/ui/brand-list/index.d.ts +0 -61
- package/build/models/ui/brand-list/index.js +0 -1
- package/build/models/ui/category-list/index.d.ts +0 -61
- package/build/models/ui/category-list/index.js +0 -1
- package/build/models/ui/component-renderer/index.d.ts +0 -7
- package/build/models/ui/component-renderer/index.js +0 -1
- package/build/models/ui/customer-review-list/index.d.ts +0 -43
- package/build/models/ui/customer-review-list/index.js +0 -1
- package/build/models/ui/customer-review-summary-list/index.d.ts +0 -43
- package/build/models/ui/customer-review-summary-list/index.js +0 -1
- package/build/models/ui/index.d.ts +0 -27
- package/build/models/ui/navigation-link/index.d.ts +0 -8
- package/build/models/ui/navigation-link/index.js +0 -1
- package/build/models/ui/product-attribute-detail/index.d.ts +0 -8
- package/build/models/ui/product-attribute-detail/index.js +0 -1
- package/build/models/ui/product-attribute-list/index.d.ts +0 -8
- package/build/models/ui/product-attribute-list/index.js +0 -1
- package/build/models/ui/product-list/index.d.ts +0 -143
- package/build/models/ui/product-list/index.js +0 -1
- package/build/models/ui/raffle-list/index.d.ts +0 -53
- package/build/models/ui/raffle-list/index.js +0 -1
- package/build/models/ui/validator/form/account-info.d.ts +0 -39
- package/build/models/ui/validator/form/account-info.js +0 -1
- package/build/models/ui/validator/form/address.d.ts +0 -75
- package/build/models/ui/validator/form/address.js +0 -1
- package/build/models/ui/validator/form/contact-form.d.ts +0 -42
- package/build/models/ui/validator/form/contact-form.js +0 -1
- package/build/models/ui/validator/form/customer-review.d.ts +0 -34
- package/build/models/ui/validator/form/customer-review.js +0 -1
- package/build/models/ui/validator/form/forgot-password.d.ts +0 -26
- package/build/models/ui/validator/form/forgot-password.js +0 -1
- package/build/models/ui/validator/form/ikas-address.d.ts +0 -145
- package/build/models/ui/validator/form/ikas-address.js +0 -1
- package/build/models/ui/validator/form/login.d.ts +0 -32
- package/build/models/ui/validator/form/login.js +0 -1
- package/build/models/ui/validator/form/raffle-form.d.ts +0 -62
- package/build/models/ui/validator/form/raffle-form.js +0 -1
- package/build/models/ui/validator/form/recover-password.d.ts +0 -33
- package/build/models/ui/validator/form/recover-password.js +0 -1
- package/build/models/ui/validator/form/register.d.ts +0 -73
- package/build/models/ui/validator/form/register.js +0 -1
- package/build/models/ui/validator/index.d.ts +0 -27
- package/build/models/ui/validator/index.js +0 -1
- package/build/models/ui/validator/rules/index.d.ts +0 -101
- package/build/models/ui/validator/rules/index.js +0 -1
- package/build/page-data-init/index.d.ts +0 -41
- package/build/page-data-init/index.js +0 -1
- package/build/pages/404.d.ts +0 -4
- package/build/pages/404.js +0 -1
- package/build/pages/[slug]/index.d.ts +0 -4
- package/build/pages/_slug_/index.js +0 -1
- package/build/pages/account/addresses.d.ts +0 -4
- package/build/pages/account/addresses.js +0 -1
- package/build/pages/account/favorite-products.d.ts +0 -4
- package/build/pages/account/favorite-products.js +0 -1
- package/build/pages/account/forgot-password.d.ts +0 -4
- package/build/pages/account/forgot-password.js +0 -1
- package/build/pages/account/index.d.ts +0 -4
- package/build/pages/account/index.js +0 -1
- package/build/pages/account/login.d.ts +0 -4
- package/build/pages/account/login.js +0 -1
- package/build/pages/account/orders/[id].d.ts +0 -4
- package/build/pages/account/orders/_id_.js +0 -1
- package/build/pages/account/orders/index.d.ts +0 -4
- package/build/pages/account/orders/index.js +0 -1
- package/build/pages/account/raffles.d.ts +0 -4
- package/build/pages/account/raffles.js +0 -1
- package/build/pages/account/recover-password.d.ts +0 -4
- package/build/pages/account/recover-password.js +0 -1
- package/build/pages/account/register.d.ts +0 -4
- package/build/pages/account/register.js +0 -1
- package/build/pages/blog/[slug].d.ts +0 -4
- package/build/pages/blog/_slug_.js +0 -1
- package/build/pages/blog/index.d.ts +0 -4
- package/build/pages/blog/index.js +0 -1
- package/build/pages/cart.d.ts +0 -4
- package/build/pages/cart.js +0 -1
- package/build/pages/checkout.d.ts +0 -18
- package/build/pages/checkout.js +0 -1
- package/build/pages/editor.d.ts +0 -10
- package/build/pages/editor.js +0 -1
- package/build/pages/home.d.ts +0 -4
- package/build/pages/home.js +0 -1
- package/build/pages/index.d.ts +0 -22
- package/build/pages/pages/[slug].d.ts +0 -4
- package/build/pages/pages/_slug_.js +0 -1
- package/build/pages/raffle/[slug].d.ts +0 -4
- package/build/pages/raffle/_slug_.js +0 -1
- package/build/pages/raffle/index.d.ts +0 -4
- package/build/pages/raffle/index.js +0 -1
- package/build/pages/search.d.ts +0 -4
- package/build/pages/search.js +0 -1
- package/build/store/base.d.ts +0 -40
- package/build/store/base.js +0 -1
- package/build/store/blog/index.d.ts +0 -26
- package/build/store/blog/index.js +0 -1
- package/build/store/brand/index.d.ts +0 -12
- package/build/store/brand/index.js +0 -1
- package/build/store/cart/api.d.ts +0 -10
- package/build/store/cart/api.js +0 -1
- package/build/store/cart/index.d.ts +0 -40
- package/build/store/cart/index.js +0 -1
- package/build/store/category/index.d.ts +0 -12
- package/build/store/category/index.js +0 -1
- package/build/store/checkout/index.d.ts +0 -16
- package/build/store/checkout/index.js +0 -1
- package/build/store/customer/api.d.ts +0 -54
- package/build/store/customer/api.js +0 -1
- package/build/store/customer/index.d.ts +0 -84
- package/build/store/customer/index.js +0 -1
- package/build/store/html-meta-data/index.d.ts +0 -6
- package/build/store/html-meta-data/index.js +0 -1
- package/build/store/index.d.ts +0 -4
- package/build/store/location/index.d.ts +0 -9
- package/build/store/location/index.js +0 -1
- package/build/store/merchant/index.d.ts +0 -6
- package/build/store/product/index.d.ts +0 -47
- package/build/store/product/index.js +0 -1
- package/build/store/raffle/index.d.ts +0 -15
- package/build/store/raffle/index.js +0 -1
- package/build/store/storefront/index.d.ts +0 -5
- package/build/utils/constants.d.ts +0 -3
- package/build/utils/constants.js +0 -1
- package/build/utils/currency.d.ts +0 -7
- package/build/utils/currency.js +0 -1
- package/build/utils/google-fonts.d.ts +0 -2
- package/build/utils/google-fonts.js +0 -1
- package/build/utils/helper.d.ts +0 -5
- package/build/utils/helper.js +0 -1
- package/build/utils/i18n.d.ts +0 -11
- package/build/utils/i18n.js +0 -1
- package/build/utils/index.d.ts +0 -3
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { IkasCheckoutRequirement, IkasCheckoutSettings, IkasOrderAddress } from "@ikas/storefront-models";
|
|
2
|
-
export interface CountrySettingsModelConstructorData {
|
|
3
|
-
checkoutSettings?: IkasCheckoutSettings;
|
|
4
|
-
}
|
|
5
|
-
export default class CountrySettingsModel {
|
|
6
|
-
private _initialized;
|
|
7
|
-
private _addressFormCountrySettings;
|
|
8
|
-
private _addressFormCountryLabels;
|
|
9
|
-
private checkoutSettings?;
|
|
10
|
-
constructor(data?: CountrySettingsModelConstructorData);
|
|
11
|
-
init(): Promise<void>;
|
|
12
|
-
get initialized(): boolean;
|
|
13
|
-
waitUntilInitialized(): Promise<unknown>;
|
|
14
|
-
getCountrySettings(country: string): IkasAddressFormCountrySettings;
|
|
15
|
-
getCountryLabels(country: string): IkasAddressFormCountryLabels;
|
|
16
|
-
getFieldSettings(country: string): {
|
|
17
|
-
firstName: AddressFormField;
|
|
18
|
-
lastName: AddressFormField;
|
|
19
|
-
identityNumber: AddressFormField;
|
|
20
|
-
phone: AddressFormField;
|
|
21
|
-
addressLine1: AddressFormField;
|
|
22
|
-
addressLine2: AddressFormField;
|
|
23
|
-
postalCode: AddressFormField;
|
|
24
|
-
country: AddressFormField;
|
|
25
|
-
state: AddressFormField;
|
|
26
|
-
city: AddressFormField;
|
|
27
|
-
district: AddressFormField;
|
|
28
|
-
company?: AddressFormField | undefined;
|
|
29
|
-
taxOffice?: AddressFormField | undefined;
|
|
30
|
-
taxNumber?: AddressFormField | undefined;
|
|
31
|
-
};
|
|
32
|
-
getFieldLabels(country: string): IkasAddressFormLabels | undefined;
|
|
33
|
-
getAddressFormatView(addressFormat: string): AddressFormItem[][];
|
|
34
|
-
getBillingFormatView(billingFormat: string): BillingAddressFormItem[][];
|
|
35
|
-
getAddressFormat(country: string): AddressFormItem[][];
|
|
36
|
-
getBillingFormat(country: string): BillingAddressFormItem[][];
|
|
37
|
-
getAddressFormatIgnoreCountry(country: string): AddressFormItem[][];
|
|
38
|
-
getValidationResult(address: IkasOrderAddress): {
|
|
39
|
-
firstName: ErrorType;
|
|
40
|
-
lastName: ErrorType;
|
|
41
|
-
addressLine1: ErrorType;
|
|
42
|
-
addressLine2: ErrorType;
|
|
43
|
-
country: ErrorType;
|
|
44
|
-
state: ErrorType;
|
|
45
|
-
city: ErrorType;
|
|
46
|
-
district: ErrorType;
|
|
47
|
-
phone: ErrorType;
|
|
48
|
-
postalCode: ErrorType;
|
|
49
|
-
identityNumber: ErrorType;
|
|
50
|
-
} | undefined;
|
|
51
|
-
isValidAddress(address: IkasOrderAddress): boolean;
|
|
52
|
-
isValidField(field: string, fieldSettings: AddressFormField | undefined, checkoutRequirement?: IkasCheckoutRequirement | null): ErrorType;
|
|
53
|
-
isFreeTextCity(country: string): boolean;
|
|
54
|
-
isFreeTextDistrict(country: string): boolean;
|
|
55
|
-
getAddressFormCountrySettings(): Promise<void>;
|
|
56
|
-
getAddressFormCountryLabels(): Promise<void>;
|
|
57
|
-
validatePhoneNumber(str: string): boolean;
|
|
58
|
-
validateByRegexString(str: string, regexStr: string): boolean;
|
|
59
|
-
}
|
|
60
|
-
export declare type ErrorType = {
|
|
61
|
-
hasError: boolean;
|
|
62
|
-
isInvalid: boolean;
|
|
63
|
-
isEmpty: boolean;
|
|
64
|
-
};
|
|
65
|
-
export declare type IkasAddressFormCountrySettings = {
|
|
66
|
-
id: string;
|
|
67
|
-
addressFormat: string;
|
|
68
|
-
billingFormat: string;
|
|
69
|
-
code: string;
|
|
70
|
-
iso2: string;
|
|
71
|
-
iso3: string;
|
|
72
|
-
phoneCode: string;
|
|
73
|
-
fields: IkasAddressFormFields;
|
|
74
|
-
};
|
|
75
|
-
export declare type IkasAddressFormFields = {
|
|
76
|
-
firstName?: AddressFormField;
|
|
77
|
-
lastName?: AddressFormField;
|
|
78
|
-
identityNumber?: AddressFormField;
|
|
79
|
-
addressLine1?: AddressFormField;
|
|
80
|
-
addressLine2?: AddressFormField;
|
|
81
|
-
postalCode?: AddressFormField;
|
|
82
|
-
country?: AddressFormField;
|
|
83
|
-
state?: AddressFormField;
|
|
84
|
-
city?: AddressFormField;
|
|
85
|
-
district?: AddressFormField;
|
|
86
|
-
phone?: AddressFormField;
|
|
87
|
-
company?: AddressFormField;
|
|
88
|
-
taxOffice?: AddressFormField;
|
|
89
|
-
taxNumber?: AddressFormField;
|
|
90
|
-
};
|
|
91
|
-
export declare type AddressFormField = {
|
|
92
|
-
required?: boolean;
|
|
93
|
-
type?: IkasAddressFormInputType;
|
|
94
|
-
regex?: string;
|
|
95
|
-
};
|
|
96
|
-
export declare enum IkasAddressFormInputType {
|
|
97
|
-
TEXT = "text",
|
|
98
|
-
DROPDOWN = "dropdown"
|
|
99
|
-
}
|
|
100
|
-
export declare type IkasAddressFormCountryLabels = {
|
|
101
|
-
name: string;
|
|
102
|
-
fields: IkasAddressFormLabels;
|
|
103
|
-
};
|
|
104
|
-
export declare type IkasAddressFormLabels = {
|
|
105
|
-
firstName?: AddressFormLabel;
|
|
106
|
-
lastName?: AddressFormLabel;
|
|
107
|
-
identityNumber?: AddressFormLabel;
|
|
108
|
-
addressLine1?: AddressFormLabel;
|
|
109
|
-
addressLine2?: AddressFormLabel;
|
|
110
|
-
postalCode?: AddressFormLabel;
|
|
111
|
-
country?: AddressFormLabel;
|
|
112
|
-
state?: AddressFormLabel;
|
|
113
|
-
city?: AddressFormLabel;
|
|
114
|
-
district?: AddressFormLabel;
|
|
115
|
-
phone?: AddressFormLabel;
|
|
116
|
-
company?: AddressFormLabel;
|
|
117
|
-
taxOffice?: AddressFormLabel;
|
|
118
|
-
taxNumber?: AddressFormLabel;
|
|
119
|
-
};
|
|
120
|
-
export declare type AddressFormLabel = {
|
|
121
|
-
placeholder?: string;
|
|
122
|
-
label?: string;
|
|
123
|
-
};
|
|
124
|
-
export declare enum AddressFormItem {
|
|
125
|
-
FIRSTNAME = "firstName",
|
|
126
|
-
LASTNAME = "lastName",
|
|
127
|
-
IDENTITY_NUMBER = "identityNumber",
|
|
128
|
-
ADDRESS_LINE_1 = "addressLine1",
|
|
129
|
-
ADDRESS_LINE_2 = "addressLine2",
|
|
130
|
-
POSTAL_CODE = "postalCode",
|
|
131
|
-
COUNTRY = "country",
|
|
132
|
-
STATE = "state",
|
|
133
|
-
CITY = "city",
|
|
134
|
-
DISTRICT = "district",
|
|
135
|
-
PHONE = "phone"
|
|
136
|
-
}
|
|
137
|
-
export declare enum BillingAddressFormItem {
|
|
138
|
-
COMPANY = "company",
|
|
139
|
-
TAX_OFFICE = "taxOffice",
|
|
140
|
-
TAX_NUMBER = "taxNumber"
|
|
141
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__awaiter as t,__assign as e,__generator as i}from'./../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as r}from"mobx";import{IkasStorefrontConfig as n}from"@ikas/storefront-config";import{IkasCheckoutRequirement as s}from"@ikas/storefront-models";import o from"lodash/difference";import{COUNTRY_FORMS_LOCALES as d}from"../../../utils/constants.js";var u,a,l,c=function(){function l(t){void 0===t&&(t={}),this._initialized=!1,this.checkoutSettings=t.checkoutSettings,this.init(),r(this)}return l.prototype.init=function(){return t(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.getAddressFormCountrySettings()];case 1:return t.sent(),[4,this.getAddressFormCountryLabels()];case 2:return t.sent(),this._initialized=!0,[2]}}))}))},Object.defineProperty(l.prototype,"initialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),l.prototype.waitUntilInitialized=function(){var t=this;return new Promise((function(e){var i=setInterval((function(){t.initialized&&(clearInterval(i),e(null))}),100)}))},l.prototype.getCountrySettings=function(t){return this._addressFormCountrySettings.countrySettings[t]},l.prototype.getCountryLabels=function(t){return this._addressFormCountryLabels.countryLabels[t]},l.prototype.getFieldSettings=function(t){var i,r,n,o,d,u,a,l,c=this.getCountrySettings(t),h=e(e({},c.fields),{firstName:{required:!0},lastName:{required:!0},identityNumber:e(e({},c.fields.identityNumber),{required:(null===(i=c.fields.identityNumber)||void 0===i?void 0:i.required)||!1}),phone:e(e({},c.fields.phone),{required:(null===(r=c.fields.phone)||void 0===r?void 0:r.required)||!1}),addressLine1:{required:!0},addressLine2:e(e({},c.fields.addressLine2),{required:(null===(n=c.fields.addressLine2)||void 0===n?void 0:n.required)||!1}),postalCode:e(e({},c.fields.postalCode),{required:(null===(o=c.fields.postalCode)||void 0===o?void 0:o.required)||!1}),country:e(e({},c.fields.country),{required:(null===(d=c.fields.country)||void 0===d?void 0:d.required)||!1}),state:e(e({},c.fields.state),{required:(null===(u=c.fields.state)||void 0===u?void 0:u.required)||!1}),city:e(e({},c.fields.city),{required:(null===(a=c.fields.city)||void 0===a?void 0:a.required)||!1}),district:e(e({},c.fields.district),{required:(null===(l=c.fields.district)||void 0===l?void 0:l.required)||!1})});return this.checkoutSettings&&(this.checkoutSettings.phoneRequirement&&(h.phone.required=this.checkoutSettings.phoneRequirement===s.MANDATORY),this.checkoutSettings.postalCodeRequirement&&(h.postalCode.required=this.checkoutSettings.postalCodeRequirement===s.MANDATORY),this.checkoutSettings.identityNumberRequirement&&(h.identityNumber.required=this.checkoutSettings.identityNumberRequirement===s.MANDATORY)),h},l.prototype.getFieldLabels=function(t){var e=this.getCountryLabels(t);if(e)return e.fields},l.prototype.getAddressFormatView=function(t){return this._addressFormCountrySettings.addressFormats[t]},l.prototype.getBillingFormatView=function(t){return this._addressFormCountrySettings.billingFormats[t]},l.prototype.getAddressFormat=function(t){var e=this.getCountrySettings(t),i=this.getAddressFormatView(e.addressFormat);if(this.checkoutSettings&&i){var r=[];return this.checkoutSettings.identityNumberRequirement===s.INVISIBLE&&r.push(a.IDENTITY_NUMBER),this.checkoutSettings.postalCodeRequirement===s.INVISIBLE&&r.push(a.POSTAL_CODE),this.checkoutSettings.phoneRequirement===s.INVISIBLE&&r.push(a.PHONE),i.map((function(t){return o(t,r)}))||[]}return i},l.prototype.getBillingFormat=function(t){var e=this.getCountrySettings(t);return this.getBillingFormatView(e.billingFormat)},l.prototype.getAddressFormatIgnoreCountry=function(t){return this.getAddressFormat(t).map((function(t){return o(t,[a.COUNTRY])}))},l.prototype.getValidationResult=function(t){var e,i,r,n,o,d,u,a,l=this.getFieldSettings((null===(e=t.country)||void 0===e?void 0:e.iso2)||"TR");if(l){var c=!!t.phone&&t.phone.length>=10&&this.validatePhoneNumber(t.phone);return{firstName:this.isValidField(t.firstName,l.firstName),lastName:this.isValidField(t.lastName,l.lastName),addressLine1:this.isValidField(t.addressLine1,l.addressLine1),addressLine2:this.isValidField(t.addressLine2||"",l.addressLine2),country:this.isValidField((null===(i=t.country)||void 0===i?void 0:i.name)||"",l.country),state:this.isValidField((null===(r=t.state)||void 0===r?void 0:r.name)||"",l.state),city:this.isValidField((null===(n=t.city)||void 0===n?void 0:n.name)||"",l.city),district:this.isValidField((null===(o=t.district)||void 0===o?void 0:o.name)||"",l.district),phone:(null===(d=l.phone)||void 0===d?void 0:d.regex)?this.isValidField(t.phone||"",l.phone,this.checkoutSettings?this.checkoutSettings.phoneRequirement:void 0):(null===(u=this.checkoutSettings)||void 0===u?void 0:u.phoneRequirement)===s.MANDATORY||(null===(a=this.checkoutSettings)||void 0===a?void 0:a.phoneRequirement)===s.OPTIONAL&&t.phone?{hasError:!c,isInvalid:!c,isEmpty:!t.phone}:{hasError:!1,isInvalid:!1,isEmpty:!1},postalCode:this.isValidField(t.postalCode||"",l.postalCode,this.checkoutSettings?this.checkoutSettings.postalCodeRequirement:void 0),identityNumber:this.isValidField(t.identityNumber||"",l.identityNumber,this.checkoutSettings?this.checkoutSettings.identityNumberRequirement:void 0)}}},l.prototype.isValidAddress=function(t){var e=this.getValidationResult(t);return!!e&&Object.values(e).every((function(t){return!t.hasError}))},l.prototype.isValidField=function(t,e,i){var r=!1,n=!1,o=i?i===s.MANDATORY:(null==e?void 0:e.required)||!1,d=!!(null==e?void 0:e.regex)||!1;return o&&!d&&(n=!t),o&&d&&(n=!t,r=!this.validateByRegexString(t,e.regex)),!o&&d&&t&&(r=!this.validateByRegexString(t,e.regex)),{hasError:r||n,isInvalid:r,isEmpty:n}},l.prototype.isFreeTextCity=function(t){var e=this.getFieldSettings(t);return e&&e.city&&e.city.type===u.TEXT},l.prototype.isFreeTextDistrict=function(t){var e=this.getFieldSettings(t);return e&&e.district&&e.district.type===u.TEXT},l.prototype.getAddressFormCountrySettings=function(){return t(this,void 0,void 0,(function(){var t;return i(this,(function(e){switch(e.label){case 0:return"https://cdn.myikas.com/sf/static/location/settings.json",[4,fetch("https://cdn.myikas.com/sf/static/location/settings.json")];case 1:return[4,e.sent().json()];case 2:return t=e.sent(),this._addressFormCountrySettings=t,[2]}}))}))},l.prototype.getAddressFormCountryLabels=function(){return t(this,void 0,void 0,(function(){var t,e,r;return i(this,(function(i){switch(i.label){case 0:return t=n.getCurrentLocale(),d.find((function(e){return e===t}))||(t="en"),e="https://cdn.myikas.com/sf/static/location/".concat(t,".json"),[4,fetch(e)];case 1:return[4,i.sent().json()];case 2:return r=i.sent(),this._addressFormCountryLabels=r,[2]}}))}))},l.prototype.validatePhoneNumber=function(t){return/^\+?\d+$/.test(t)},l.prototype.validateByRegexString=function(t,e){return new RegExp(e).test(t)},l}();!function(t){t.TEXT="text",t.DROPDOWN="dropdown"}(u||(u={})),function(t){t.FIRSTNAME="firstName",t.LASTNAME="lastName",t.IDENTITY_NUMBER="identityNumber",t.ADDRESS_LINE_1="addressLine1",t.ADDRESS_LINE_2="addressLine2",t.POSTAL_CODE="postalCode",t.COUNTRY="country",t.STATE="state",t.CITY="city",t.DISTRICT="district",t.PHONE="phone"}(a||(a={})),function(t){t.COMPANY="company",t.TAX_OFFICE="taxOffice",t.TAX_NUMBER="taxNumber"}(l||(l={}));export{a as AddressFormItem,l as BillingAddressFormItem,u as IkasAddressFormInputType,c as default};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IkasCart } from "../cart";
|
|
2
|
-
import { IkasCheckout as ICheckout } from "@ikas/storefront-models";
|
|
3
|
-
import { IkasPaymentGateway } from "../payment-gateway";
|
|
4
|
-
import IkasLocalizedOrderAddress from "../order/address/ikas-localized-order-address";
|
|
5
|
-
import CountrySettingsModel from "./country-settings-model";
|
|
6
|
-
declare type IkasCheckoutConstructorData = {
|
|
7
|
-
appliedCouponCode?: string | null;
|
|
8
|
-
selectedPaymentGateway?: IkasPaymentGateway | null;
|
|
9
|
-
masterPassPaymentGateway?: IkasPaymentGateway | null;
|
|
10
|
-
} & ICheckout;
|
|
11
|
-
export declare class IkasCheckout extends IkasCart implements ICheckout {
|
|
12
|
-
appliedCouponCode?: string | null;
|
|
13
|
-
selectedPaymentGateway?: IkasPaymentGateway | null;
|
|
14
|
-
masterPassPaymentGateway?: IkasPaymentGateway | null;
|
|
15
|
-
billingAddress: IkasLocalizedOrderAddress | null;
|
|
16
|
-
shippingAddress: IkasLocalizedOrderAddress | null;
|
|
17
|
-
constructor(data: Partial<IkasCheckoutConstructorData>, countrySettings?: CountrySettingsModel);
|
|
18
|
-
get isComplete(): boolean;
|
|
19
|
-
get $totalFinalPrice(): number;
|
|
20
|
-
get $totalFinalPriceTaxModifier(): number;
|
|
21
|
-
get $totalTax(): number;
|
|
22
|
-
get $formattedTotalTax(): string;
|
|
23
|
-
get $formattedTotalFinalPrice(): string;
|
|
24
|
-
get dateStr(): string;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as e,__assign as t}from'./../../../ext/tslib/tslib.es6.js';import{IkasCart as r}from"../cart/index.js";import{IkasCheckoutFunctions as i,IkasOrderFunctions as a}from"@ikas/storefront-model-functions";import{formatCurrency as n}from"../../../utils/currency.js";import{makeObservable as o,observable as l,computed as s}from"mobx";import{formatDate as d}from"../../../utils/helper.js";import c from"../order/address/ikas-localized-order-address.js";var u=function(r){function u(e,i){var a=r.call(this,e,!0)||this;return a.appliedCouponCode=null,a.selectedPaymentGateway=null,a.masterPassPaymentGateway=null,a.billingAddress=null,a.shippingAddress=null,a.appliedCouponCode=e.couponCode,a.selectedPaymentGateway=e.selectedPaymentGateway,a.masterPassPaymentGateway=e.masterPassPaymentGateway,a.billingAddress=e.billingAddress?new c(t({countrySettings:i},e.billingAddress)):null,a.shippingAddress=e.shippingAddress?new c(t({countrySettings:i},e.shippingAddress)):null,o(a,{appliedCouponCode:l,selectedPaymentGateway:l,masterPassPaymentGateway:l,billingAddress:l,shippingAddress:l,isComplete:s,$totalFinalPrice:s,$totalFinalPriceTaxModifier:s,$totalTax:s,$formattedTotalTax:s,$formattedTotalFinalPrice:s}),a}return e(u,r),Object.defineProperty(u.prototype,"isComplete",{get:function(){return i.isComplete(this)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$totalFinalPrice",{get:function(){return this.selectedPaymentGateway?i.getTotalFinalPrice(this,this.selectedPaymentGateway):this.totalFinalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$totalFinalPriceTaxModifier",{get:function(){return this.$totalFinalPrice/this.totalFinalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$totalTax",{get:function(){return a.getTotalTax(this)*this.$totalFinalPriceTaxModifier},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$formattedTotalTax",{get:function(){return n(this.$totalTax,this.currencyCode,this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"$formattedTotalFinalPrice",{get:function(){return n(this.$totalFinalPrice,this.currencyCode,this.currencySymbol)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dateStr",{get:function(){var e=new Date;return e.setTime(this.updatedAt),d(e)},enumerable:!1,configurable:!0}),u}(r);export{u as IkasCheckout};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IkasCheckoutSettings as ICheckoutSettings, IkasCheckoutRequirement } from "@ikas/storefront-models";
|
|
2
|
-
import { IkasBaseModel } from "../base";
|
|
3
|
-
import { IkasCheckoutOption } from "./option";
|
|
4
|
-
import { IkasCheckoutSettingsPrice } from "./price";
|
|
5
|
-
export declare class IkasCheckoutSettings extends IkasBaseModel implements ICheckoutSettings {
|
|
6
|
-
giftPackagePriceList: IkasCheckoutSettingsPrice[] | null;
|
|
7
|
-
identityNumberRequirement: IkasCheckoutRequirement | null;
|
|
8
|
-
isAccountRequired: boolean;
|
|
9
|
-
isGiftPackageEnabled: boolean | null;
|
|
10
|
-
isQuickRegistrationEnabled: boolean | null;
|
|
11
|
-
isShowPostalCode: boolean | null;
|
|
12
|
-
isTermsAndConditionsDefaultChecked: boolean | null;
|
|
13
|
-
options: IkasCheckoutOption[] | null;
|
|
14
|
-
phoneRequirement: IkasCheckoutRequirement;
|
|
15
|
-
postalCodeRequirement: IkasCheckoutRequirement | null;
|
|
16
|
-
showCheckoutNote: boolean | null;
|
|
17
|
-
showTermsAndConditionsCheckbox: boolean;
|
|
18
|
-
storefrontId: string;
|
|
19
|
-
constructor(data: ICheckoutSettings);
|
|
20
|
-
}
|
|
21
|
-
export { IkasCheckoutRequirement };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';export{IkasCheckoutRequirement}from"@ikas/storefront-models";import{IkasBaseModel as i}from"../base/index.js";import{IkasCheckoutOption as o}from"./option/index.js";import{IkasCheckoutSettingsPrice as t}from"./price/index.js";var n=function(i){function n(e){var n,s,r=this;return(r=i.call(this,e)||this).giftPackagePriceList=null,r.identityNumberRequirement=null,r.isGiftPackageEnabled=null,r.isShowPostalCode=null,r.isTermsAndConditionsDefaultChecked=null,r.options=null,r.postalCodeRequirement=null,r.showCheckoutNote=null,r.giftPackagePriceList=(null===(n=e.giftPackagePriceList)||void 0===n?void 0:n.map((function(e){return new t(e)})))||null,r.identityNumberRequirement=e.identityNumberRequirement,r.isAccountRequired=e.isAccountRequired,r.isGiftPackageEnabled=e.isGiftPackageEnabled,r.isQuickRegistrationEnabled=e.isQuickRegistrationEnabled,r.isShowPostalCode=e.isShowPostalCode,r.isTermsAndConditionsDefaultChecked=e.isTermsAndConditionsDefaultChecked,r.options=(null===(s=e.options)||void 0===s?void 0:s.map((function(e){return new o(e)})))||null,r.phoneRequirement=e.phoneRequirement,r.postalCodeRequirement=e.postalCodeRequirement||null,r.showCheckoutNote=e.showCheckoutNote||null,r.showTermsAndConditionsCheckbox=e.showTermsAndConditionsCheckbox,r.storefrontId=e.storefrontId,r}return e(n,i),n}(i);export{n as IkasCheckoutSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=function(e){this.name=e.name,this.required=e.required};export{e as IkasCheckoutOption};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IkasCheckoutSettingsPrice as ICheckoutSettingsPrice } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCheckoutSettingsPrice implements ICheckoutSettingsPrice {
|
|
3
|
-
currencyCode: string;
|
|
4
|
-
currencySymbol: string | null;
|
|
5
|
-
price: number;
|
|
6
|
-
constructor(data: ICheckoutSettingsPrice);
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r=function(r){this.currencyCode=r.currencyCode,this.currencySymbol=r.currencySymbol||null,this.price=r.price};export{r as IkasCheckoutSettingsPrice};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IkasBaseModel } from "../base";
|
|
2
|
-
import { IkasCity as ICity } from "@ikas/storefront-models";
|
|
3
|
-
export declare class IkasCity extends IkasBaseModel implements ICity {
|
|
4
|
-
cityCode: string | null;
|
|
5
|
-
countryId: string;
|
|
6
|
-
latitude: string | null;
|
|
7
|
-
longitude: string | null;
|
|
8
|
-
name: string;
|
|
9
|
-
order: number | null;
|
|
10
|
-
stateId: string;
|
|
11
|
-
constructor(data: ICity);
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as t}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as e}from"../base/index.js";var o=function(e){function o(t){var o=e.call(this,t)||this;return o.cityCode=null,o.latitude=null,o.longitude=null,o.order=null,o.cityCode=t.cityCode,o.countryId=t.countryId,o.latitude=t.latitude,o.longitude=t.longitude,o.name=t.name,o.order=t.order,o.stateId=t.stateId,o}return t(o,e),o}(e);export{o as IkasCity};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IkasContactForm as IContactForm } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasContactForm implements IContactForm {
|
|
3
|
-
email: string;
|
|
4
|
-
firstName: string;
|
|
5
|
-
lastName: string;
|
|
6
|
-
message: string;
|
|
7
|
-
referer: string;
|
|
8
|
-
constructor(data: IContactForm);
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as e}from"mobx";var s=function(s){this.email=s.email,this.firstName=s.firstName,this.lastName=s.lastName,this.message=s.message,this.referer=s.referer,e(this)};export{s as IkasContactForm};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IkasBaseModel } from "../base";
|
|
2
|
-
import { IkasLocationTranslations } from "./location-translations";
|
|
3
|
-
import { IkasCountry as ICountry } from "@ikas/storefront-models";
|
|
4
|
-
export declare class IkasCountry extends IkasBaseModel implements ICountry {
|
|
5
|
-
capital: string | null;
|
|
6
|
-
currency: string | null;
|
|
7
|
-
emoji: string | null;
|
|
8
|
-
emojiString: string | null;
|
|
9
|
-
iso2: string | null;
|
|
10
|
-
iso3: string | null;
|
|
11
|
-
locationTranslations?: IkasLocationTranslations | null;
|
|
12
|
-
name: string;
|
|
13
|
-
native: string | null;
|
|
14
|
-
phoneCode: string | null;
|
|
15
|
-
region: string | null;
|
|
16
|
-
subregion: string | null;
|
|
17
|
-
constructor(data: ICountry);
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as n}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as l}from"../base/index.js";import{makeObservable as o,observable as i}from"mobx";var e=function(l){function e(n){var e=l.call(this,n)||this;return e.capital=null,e.currency=null,e.emoji=null,e.emojiString=null,e.iso2=null,e.iso3=null,e.locationTranslations=null,e.native=null,e.phoneCode=null,e.region=null,e.subregion=null,e.capital=n.capital||null,e.currency=n.currency||null,e.emoji=n.emoji||null,e.emojiString=n.emojiString||null,e.iso2=n.iso2||null,e.iso3=n.iso3||null,e.locationTranslations=n.locationTranslations||null,e.name=n.name||"",e.native=n.native||null,e.phoneCode=n.phoneCode||null,e.region=n.region||null,e.subregion=n.subregion||null,o(e,{capital:i,currency:i,emoji:i,emojiString:i,iso2:i,iso3:i,locationTranslations:i,name:i,native:i,phoneCode:i,region:i,subregion:i}),e}return n(e,l),e}(l);export{e as IkasCountry};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IkasLocationTranslations as ILocationTranslations } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasLocationTranslations implements ILocationTranslations {
|
|
3
|
-
de: string | null;
|
|
4
|
-
en: string;
|
|
5
|
-
tr: string;
|
|
6
|
-
constructor(data: ILocationTranslations);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddressCity as ICustomerAddressCity } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAddressCity implements ICustomerAddressCity {
|
|
3
|
-
code: string | null;
|
|
4
|
-
id: string | null;
|
|
5
|
-
name: string;
|
|
6
|
-
constructor(data: ICustomerAddressCity);
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAddressCity};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddressCountry as ICustomerAddressCountry } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAddressCountry implements ICustomerAddressCountry {
|
|
3
|
-
code: string | null;
|
|
4
|
-
id: string | null;
|
|
5
|
-
iso2: string | null;
|
|
6
|
-
iso3: string | null;
|
|
7
|
-
name: string;
|
|
8
|
-
constructor(data: ICustomerAddressCountry);
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as i}from"mobx";var s=function(s){this.code=null,this.id=null,this.iso2=null,this.iso3=null,this.code=s.code,this.id=s.id,this.iso2=s.iso2,this.iso3=s.iso3,this.name=s.name,i(this)};export{s as IkasCustomerAddressCountry};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddressDistrict as ICustomerAddressDistrict } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAddressDistrict implements ICustomerAddressDistrict {
|
|
3
|
-
code: string | null;
|
|
4
|
-
id: string | null;
|
|
5
|
-
name: string | null;
|
|
6
|
-
constructor(data: ICustomerAddressDistrict);
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.name=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAddressDistrict};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddress } from ".";
|
|
2
|
-
import { IkasCustomerAddress as ICustomerAddress } from "@ikas/storefront-models";
|
|
3
|
-
import CountrySettingsModel, { AddressFormField, ErrorType, IkasAddressFormLabels } from "../../checkout/country-settings-model";
|
|
4
|
-
declare type IkasLocalizedCustomerAddressConstructorData = {
|
|
5
|
-
countrySettings?: CountrySettingsModel | null;
|
|
6
|
-
} & ICustomerAddress;
|
|
7
|
-
export declare class IkasLocalizedCustomerAddress extends IkasCustomerAddress {
|
|
8
|
-
countrySettings: CountrySettingsModel | null;
|
|
9
|
-
constructor(data?: Partial<IkasLocalizedCustomerAddressConstructorData>);
|
|
10
|
-
get fieldSettings(): {
|
|
11
|
-
firstName: AddressFormField;
|
|
12
|
-
lastName: AddressFormField;
|
|
13
|
-
identityNumber: AddressFormField;
|
|
14
|
-
phone: AddressFormField;
|
|
15
|
-
addressLine1: AddressFormField;
|
|
16
|
-
addressLine2: AddressFormField;
|
|
17
|
-
postalCode: AddressFormField;
|
|
18
|
-
country: AddressFormField;
|
|
19
|
-
state: AddressFormField;
|
|
20
|
-
city: AddressFormField;
|
|
21
|
-
district: AddressFormField;
|
|
22
|
-
company?: AddressFormField | undefined;
|
|
23
|
-
taxOffice?: AddressFormField | undefined;
|
|
24
|
-
taxNumber?: AddressFormField | undefined;
|
|
25
|
-
title: AddressFormField;
|
|
26
|
-
} | undefined;
|
|
27
|
-
get addressFormat(): import("../../checkout/country-settings-model").AddressFormItem[][] | undefined;
|
|
28
|
-
get addressFormatIgnoreCountry(): import("../../checkout/country-settings-model").AddressFormItem[][] | undefined;
|
|
29
|
-
get billingFormat(): import("../../checkout/country-settings-model").BillingAddressFormItem[][] | undefined;
|
|
30
|
-
get countryCode(): string;
|
|
31
|
-
get validationResults(): {
|
|
32
|
-
firstName: ErrorType;
|
|
33
|
-
lastName: ErrorType;
|
|
34
|
-
addressLine1: ErrorType;
|
|
35
|
-
addressLine2: ErrorType;
|
|
36
|
-
country: ErrorType;
|
|
37
|
-
state: ErrorType;
|
|
38
|
-
city: ErrorType;
|
|
39
|
-
district: ErrorType;
|
|
40
|
-
phone: ErrorType;
|
|
41
|
-
postalCode: ErrorType;
|
|
42
|
-
identityNumber: ErrorType;
|
|
43
|
-
title: ErrorType;
|
|
44
|
-
} | undefined;
|
|
45
|
-
get isValidAddress(): boolean | undefined;
|
|
46
|
-
get fieldLabels(): IkasAddressFormLabels | undefined;
|
|
47
|
-
get isFreeTextCity(): boolean | undefined;
|
|
48
|
-
get isFreeTextDistrict(): boolean | undefined;
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{makeObservable as i,observable as r}from"mobx";import{IkasCustomerAddress as n}from"./index.js";var o=function(n){function o(t){void 0===t&&(t={});var e=n.call(this,t)||this;return e.countrySettings=t.countrySettings||null,i(e,{countrySettings:r}),e}return t(o,n),Object.defineProperty(o.prototype,"fieldSettings",{get:function(){if(this.countrySettings){var t=this.countrySettings.getFieldSettings(this.countryCode);if(t)return e({title:{required:!0}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormatIgnoreCountry",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormatIgnoreCountry(this.countryCode)},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){var t=this.countrySettings.getValidationResult(this);if(t)return e({title:{hasError:!this.title,isInvalid:!1,isEmpty:!this.title}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isValidAddress",{get:function(){if(this.countrySettings)return!!this.title&&this.countrySettings.isValidAddress(this)},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}),o}(n);export{o as IkasLocalizedCustomerAddress};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddressFunctions } from "@ikas/storefront-model-functions";
|
|
2
|
-
import { IkasCustomerAddress as ICustomerAddress } from "@ikas/storefront-models";
|
|
3
|
-
import { IkasBaseModel } from "../../base";
|
|
4
|
-
import { IkasCheckoutSettings } from "../../checkout-settings";
|
|
5
|
-
import { IkasCustomerAttributeValue } from "../attribute/value";
|
|
6
|
-
import { IkasCustomerAddressCity } from "./city";
|
|
7
|
-
import { IkasCustomerAddressCountry } from "./country";
|
|
8
|
-
import { IkasCustomerAddressDistrict } from "./district";
|
|
9
|
-
import { IkasCustomerAddressState } from "./state";
|
|
10
|
-
declare type IkasCustomerAddressConstructorData = {
|
|
11
|
-
checkoutSettings?: IkasCheckoutSettings | null;
|
|
12
|
-
isDistrictRequired?: boolean;
|
|
13
|
-
} & ICustomerAddress;
|
|
14
|
-
export declare class IkasCustomerAddress extends IkasBaseModel implements ICustomerAddress {
|
|
15
|
-
addressLine1: string;
|
|
16
|
-
addressLine2: string | null;
|
|
17
|
-
company: string | null;
|
|
18
|
-
firstName: string;
|
|
19
|
-
identityNumber: string | null;
|
|
20
|
-
isDefault: boolean;
|
|
21
|
-
lastName: string;
|
|
22
|
-
phone: string | null;
|
|
23
|
-
postalCode: string | null;
|
|
24
|
-
taxNumber: string | null;
|
|
25
|
-
taxOffice: string | null;
|
|
26
|
-
title: string;
|
|
27
|
-
attributes: IkasCustomerAttributeValue[] | null;
|
|
28
|
-
country: IkasCustomerAddressCountry | null;
|
|
29
|
-
state: IkasCustomerAddressState | null;
|
|
30
|
-
city: IkasCustomerAddressCity | null;
|
|
31
|
-
district: IkasCustomerAddressDistrict | null;
|
|
32
|
-
checkoutSettings?: IkasCheckoutSettings | null;
|
|
33
|
-
isDistrictRequired?: boolean;
|
|
34
|
-
constructor(data?: Partial<IkasCustomerAddressConstructorData>);
|
|
35
|
-
get addressText(): string;
|
|
36
|
-
get validationResult(): IkasCustomerAddressFunctions.IkasCustomerAddressValidationResult | undefined;
|
|
37
|
-
get isValid(): boolean;
|
|
38
|
-
toJSON(): this;
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddressFunctions as i}from"@ikas/storefront-model-functions";import{makeObservable as n,observable as s,computed as r}from"mobx";import{IkasBaseModel as l}from"../../base/index.js";import{IkasCheckoutSettings as u}from"../../checkout-settings/index.js";import{IkasCustomerAttributeValue as o}from"../attribute/value/index.js";var d=function(l){function d(t){void 0===t&&(t={});var e,i,d=this;return(d=l.call(this,{id:t.id||"",createdAt:t.createdAt||Date.now(),updatedAt:t.updatedAt||Date.now(),deleted:null!==(e=t.deleted)&&void 0!==e&&e})||this).addressLine2=null,d.company=null,d.identityNumber=null,d.phone=null,d.postalCode=null,d.taxNumber=null,d.taxOffice=null,d.country=null,d.state=null,d.city=null,d.district=null,d.checkoutSettings=null,d.addressLine1=t.addressLine1||"",d.addressLine2=t.addressLine2||null,d.company=t.company||null,d.firstName=t.firstName||"",d.id=t.id||"",d.identityNumber=t.identityNumber||null,d.isDefault=t.isDefault||!1,d.lastName=t.lastName||"",d.phone=t.phone||null,d.postalCode=t.postalCode||null,d.taxNumber=t.taxNumber||null,d.taxOffice=t.taxOffice||null,d.title=t.title||"",d.attributes=(null===(i=t.attributes)||void 0===i?void 0:i.map((function(t){return new o(t)})))||null,d.country=t.country||null,d.state=t.state||null,d.city=t.city||null,d.district=t.district||null,d.checkoutSettings=t.checkoutSettings?new u(t.checkoutSettings):null,d.isDistrictRequired=t.isDistrictRequired||!1,n(d,{addressLine1:s,addressLine2:s,attributes:s,city:s,company:s,country:s,district:s,firstName:s,identityNumber:s,isDefault:s,lastName:s,phone:s,postalCode:s,state:s,taxNumber:s,taxOffice:s,title:s,checkoutSettings:s,isDistrictRequired:s,addressText:r,validationResult:r,isValid:r}),d}return t(d,l),Object.defineProperty(d.prototype,"addressText",{get:function(){return i.getAddressText(this)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"validationResult",{get:function(){if(this.checkoutSettings)return i.getValidationResult(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"isValid",{get:function(){return!!this.checkoutSettings&&i.isValidAddress(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),d.prototype.toJSON=function(){var t=e({},this);return delete t.checkoutSettings,delete t.isDistrictRequired,t},d}(l);export{d as IkasCustomerAddress};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddressState as ICustomerAddressState } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAddressState implements ICustomerAddressState {
|
|
3
|
-
code: string | null;
|
|
4
|
-
id: string | null;
|
|
5
|
-
name: string | null;
|
|
6
|
-
constructor(data: ICustomerAddressState);
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.name=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAddressState};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IkasBaseModel } from "../../base";
|
|
2
|
-
import { IkasCustomerAttributeOption } from "./option";
|
|
3
|
-
import { IkasCustomerAttributeSalesChannel } from "./sales-channel";
|
|
4
|
-
import { IkasCustomerAttributeTranslation } from "./translation";
|
|
5
|
-
import { IkasCustomerAttribute as ICustomerAttribute, IkasCustomerAttributeType } from "@ikas/storefront-models";
|
|
6
|
-
export declare class IkasCustomerAttribute extends IkasBaseModel implements ICustomerAttribute {
|
|
7
|
-
description: string | null;
|
|
8
|
-
name: string;
|
|
9
|
-
type: IkasCustomerAttributeType;
|
|
10
|
-
options: IkasCustomerAttributeOption[] | null;
|
|
11
|
-
salesChannels: IkasCustomerAttributeSalesChannel[] | null;
|
|
12
|
-
translations?: IkasCustomerAttributeTranslation[] | null;
|
|
13
|
-
order: number | null;
|
|
14
|
-
constructor(data: ICustomerAttribute);
|
|
15
|
-
get accountPagePermission(): import("@ikas/storefront-models").IkasCustomerAttributePermission | undefined;
|
|
16
|
-
get registerPageRequirement(): import("@ikas/storefront-models").IkasCustomerAttributeRegisterPageRequirement | undefined;
|
|
17
|
-
}
|
|
18
|
-
export { IkasCustomerAttributeType };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as n}from"../../base/index.js";import{IkasCustomerAttributeOption as t}from"./option/index.js";import{IkasCustomerAttributeSalesChannel as o}from"./sales-channel/index.js";import{IkasCustomerAttributeTranslation as r}from"./translation/index.js";export{IkasCustomerAttributeType}from"@ikas/storefront-models";import{makeObservable as i,observable as s,computed as l}from"mobx";import{IkasCustomerAttributeFunctions as a}from"@ikas/storefront-model-functions";var u=function(n){function u(e){var a,u,m,p,c=this;return(c=n.call(this,e)||this).description=null,c.options=null,c.salesChannels=null,c.translations=null,c.description=e.description,c.name=e.name,c.type=e.type,c.options=(null===(a=e.options)||void 0===a?void 0:a.map((function(e){return new t(e)})))||null,c.salesChannels=(null===(u=e.salesChannels)||void 0===u?void 0:u.map((function(e){return new o(e)})))||null,c.translations=(null===(m=e.translations)||void 0===m?void 0:m.map((function(e){return new r(e)})))||null,c.order=null!==(p=e.order)&&void 0!==p?p:null,i(c,{description:s,name:s,type:s,options:s,salesChannels:s,translations:s,accountPagePermission:l,registerPageRequirement:l}),c}return e(u,n),Object.defineProperty(u.prototype,"accountPagePermission",{get:function(){return a.getAccountPagePermission(this)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"registerPageRequirement",{get:function(){return a.getRegisterPageRequirement(this)},enumerable:!1,configurable:!0}),u}(n);export{u as IkasCustomerAttribute};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAttributeOption as ICustomerAttributeOption } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAttributeOption implements ICustomerAttributeOption {
|
|
3
|
-
createdAt: number | null;
|
|
4
|
-
deleted: boolean | null;
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
updatedAt: number | null;
|
|
8
|
-
constructor(data: ICustomerAttributeOption);
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as t}from"mobx";var e=function(e){this.createdAt=null,this.deleted=null,this.updatedAt=null,this.createdAt=e.createdAt||null,this.deleted=e.deleted||null,this.id=e.id,this.name=e.name,this.updatedAt=e.updatedAt,t(this)};export{e as IkasCustomerAttributeOption};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAttributePermission, IkasCustomerAttributeRegisterPageRequirement, IkasCustomerAttributeSalesChannel as ICustomerAttributeSalesChannel } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAttributeSalesChannel implements ICustomerAttributeSalesChannel {
|
|
3
|
-
permission: IkasCustomerAttributePermission;
|
|
4
|
-
registerPageRequirement: IkasCustomerAttributeRegisterPageRequirement;
|
|
5
|
-
salesChannelId: string;
|
|
6
|
-
storefrontId: string;
|
|
7
|
-
constructor(data: ICustomerAttributeSalesChannel);
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as e}from"mobx";var s=function(s){this.permission=s.permission,this.registerPageRequirement=s.registerPageRequirement,this.salesChannelId=s.salesChannelId,this.storefrontId=s.storefrontId,e(this)};export{s as IkasCustomerAttributeSalesChannel};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAttributeOptionTranslation } from "./option";
|
|
2
|
-
import { IkasCustomerAttributeTranslation as ICustomerAttributeTranslation } from "@ikas/storefront-models";
|
|
3
|
-
export declare class IkasCustomerAttributeTranslation implements ICustomerAttributeTranslation {
|
|
4
|
-
description: string | null;
|
|
5
|
-
locale: string;
|
|
6
|
-
name: string | null;
|
|
7
|
-
options: IkasCustomerAttributeOptionTranslation[] | null;
|
|
8
|
-
constructor(data: ICustomerAttributeTranslation);
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{IkasCustomerAttributeOptionTranslation as i}from"./option/index.js";import{makeAutoObservable as o}from"mobx";var n=function(n){var t;this.description=null,this.name=null,this.options=null,this.description=n.description,this.locale=n.locale,this.name=n.name,this.options=(null===(t=n.options)||void 0===t?void 0:t.map((function(o){return new i(o)})))||null,o(this)};export{n as IkasCustomerAttributeTranslation};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAttributeOptionTranslation as ICustomerAttributeOptionTranslation } from "@ikas/storefront-models";
|
|
2
|
-
export declare class IkasCustomerAttributeOptionTranslation implements ICustomerAttributeOptionTranslation {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string | null;
|
|
5
|
-
constructor(data: ICustomerAttributeOptionTranslation);
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as i}from"mobx";var t=function(t){this.id=t.id,this.name=t.name,i(this)};export{t as IkasCustomerAttributeOptionTranslation};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAttribute } from "..";
|
|
2
|
-
import { IkasCustomerAttributeOption } from "../option";
|
|
3
|
-
import { IkasCustomerAttributeValue as ICustomerAttributeValue } from "@ikas/storefront-models";
|
|
4
|
-
export declare class IkasCustomerAttributeValue implements ICustomerAttributeValue {
|
|
5
|
-
customerAttributeId: string | null;
|
|
6
|
-
customerAttributeOptionId: string | null;
|
|
7
|
-
value: string | null;
|
|
8
|
-
customerAttribute: IkasCustomerAttribute | null;
|
|
9
|
-
customerAttributeOption: IkasCustomerAttributeOption | null;
|
|
10
|
-
constructor(data: ICustomerAttributeValue);
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{IkasCustomerAttribute as t}from"../index.js";import{IkasCustomerAttributeOption as i}from"../option/index.js";import{makeAutoObservable as r}from"mobx";var e=function(e){this.customerAttributeId=e.customerAttributeId,this.customerAttributeOptionId=e.customerAttributeOptionId,this.value=e.value,this.customerAttribute=e.customerAttribute?new t(e.customerAttribute):null,this.customerAttributeOption=e.customerAttributeOption?new i(e.customerAttributeOption):null,r(this)};export{e as IkasCustomerAttributeValue};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAddress } from "./address";
|
|
2
|
-
import { IkasCustomerAttributeValue } from "./attribute/value";
|
|
3
|
-
import { IkasBaseModel } from "../base";
|
|
4
|
-
import { IkasCustomerAccountStatus, IkasCustomerEmailSubscriptionStatus, IkasCustomerRegistrationSource, IkasCustomer as ICustomer } from "@ikas/storefront-models";
|
|
5
|
-
export declare class IkasCustomer extends IkasBaseModel implements ICustomer {
|
|
6
|
-
accountStatusUpdatedAt: number | null;
|
|
7
|
-
customerGroupIds: string[] | null;
|
|
8
|
-
customerSequence: number | null;
|
|
9
|
-
email: string | null;
|
|
10
|
-
emailVerifiedDate: number | null;
|
|
11
|
-
firstName: string;
|
|
12
|
-
fullName: string | null;
|
|
13
|
-
isEmailVerified: boolean | null;
|
|
14
|
-
isPhoneVerified: boolean | null;
|
|
15
|
-
lastName: string | null;
|
|
16
|
-
note: string | null;
|
|
17
|
-
orderCount: number | null;
|
|
18
|
-
passwordUpdateDate: number | null;
|
|
19
|
-
phone: string | null;
|
|
20
|
-
phoneVerifiedDate: number | null;
|
|
21
|
-
subscriptionStatusUpdatedAt: number | null;
|
|
22
|
-
tagIds: string[] | null;
|
|
23
|
-
registrationSource: IkasCustomerRegistrationSource | null;
|
|
24
|
-
accountStatus: IkasCustomerAccountStatus | null;
|
|
25
|
-
addresses: IkasCustomerAddress[] | null;
|
|
26
|
-
subscriptionStatus: IkasCustomerEmailSubscriptionStatus | null;
|
|
27
|
-
attributes: IkasCustomerAttributeValue[] | null;
|
|
28
|
-
constructor(data: ICustomer);
|
|
29
|
-
get isSubscribed(): boolean;
|
|
30
|
-
get basicInfo(): {
|
|
31
|
-
id: string;
|
|
32
|
-
firstName: string;
|
|
33
|
-
lastName: string | null;
|
|
34
|
-
email: string | null;
|
|
35
|
-
phone: string | null;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export { IkasCustomerAccountStatus, IkasCustomerEmailSubscriptionStatus, IkasCustomerRegistrationSource, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddress as t}from"./address/index.js";import{IkasCustomerAttributeValue as i}from"./attribute/value/index.js";import{IkasBaseModel as r}from"../base/index.js";export{IkasCustomerAccountStatus,IkasCustomerEmailSubscriptionStatus,IkasCustomerRegistrationSource}from"@ikas/storefront-models";import{makeObservable as s,observable as u,computed as o}from"mobx";import{IkasCustomerFunctions as n}from"@ikas/storefront-model-functions";var a=function(r){function a(e){var n=r.call(this,e)||this;return n.accountStatus=e.accountStatus||null,n.accountStatusUpdatedAt=e.accountStatusUpdatedAt||null,n.addresses=e.addresses?e.addresses.map((function(e){return new t(e)})):null,n.attributes=e.attributes?e.attributes.map((function(e){return new i(e)})):null,n.customerGroupIds=e.customerGroupIds||null,n.customerSequence=void 0!==e.customerSequence&&null!==e.customerSequence?e.customerSequence:null,n.email=e.email||null,n.emailVerifiedDate=e.emailVerifiedDate||null,n.firstName=e.firstName||"",n.fullName=e.fullName||null,n.isEmailVerified=void 0!==e.isEmailVerified&&null!==e.isEmailVerified?e.isEmailVerified:null,n.isPhoneVerified=void 0!==e.isPhoneVerified&&null!==e.isPhoneVerified?e.isPhoneVerified:null,n.lastName=e.lastName||null,n.note=e.note||null,n.orderCount=void 0!==e.orderCount&&null!==e.orderCount?e.orderCount:null,n.passwordUpdateDate=e.passwordUpdateDate||null,n.phone=e.phone||null,n.phoneVerifiedDate=e.phoneVerifiedDate||null,n.registrationSource=e.registrationSource||null,n.subscriptionStatus=e.subscriptionStatus||null,n.subscriptionStatusUpdatedAt=e.subscriptionStatusUpdatedAt||null,n.tagIds=e.tagIds||null,s(n,{accountStatus:u,accountStatusUpdatedAt:u,addresses:u,attributes:u,customerGroupIds:u,customerSequence:u,email:u,emailVerifiedDate:u,firstName:u,fullName:u,isEmailVerified:u,isPhoneVerified:u,lastName:u,note:u,orderCount:u,passwordUpdateDate:u,phone:u,phoneVerifiedDate:u,registrationSource:u,subscriptionStatus:u,subscriptionStatusUpdatedAt:u,tagIds:u,isSubscribed:o,basicInfo:o}),n}return e(a,r),Object.defineProperty(a.prototype,"isSubscribed",{get:function(){return n.isSubscribed(this)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicInfo",{get:function(){return n.getBasicInfo(this)},enumerable:!1,configurable:!0}),a}(r);export{a as IkasCustomer};
|