@ikas/storefront 4.0.0-alpha.7 → 4.0.0-alpha.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/_virtual/axios.js +1 -0
- package/build/_virtual/index.js +1 -0
- package/build/_virtual/index2.js +1 -0
- package/build/_virtual/index3.js +1 -0
- package/build/_virtual/react-is.development.js +1 -0
- package/build/_virtual/react-is.production.min.js +1 -0
- package/build/_virtual/react-stripe.umd.js +1 -0
- package/build/analytics/analytics.d.ts +37 -0
- package/build/analytics/analytics.js +1 -0
- package/build/analytics/events.d.ts +37 -0
- package/build/analytics/events.js +1 -0
- package/build/analytics/facebookPixel.d.ts +15 -0
- package/build/analytics/facebookPixel.js +1 -0
- package/build/analytics/googleAnalytics.d.ts +13 -0
- package/build/analytics/googleAnalytics.js +1 -0
- package/build/analytics/googleTagManager.d.ts +203 -0
- package/build/analytics/googleTagManager.js +1 -0
- package/build/analytics/googleUniversal.d.ts +9 -0
- package/build/analytics/googleUniversal.js +1 -0
- package/build/analytics/head/index.d.ts +7 -0
- package/build/analytics/head/index.js +1 -0
- package/build/analytics/ikas.d.ts +134 -0
- package/build/analytics/ikas.js +1 -0
- package/build/analytics/index.d.ts +2 -0
- package/build/analytics/tiktokPixel.d.ts +13 -0
- package/build/analytics/tiktokPixel.js +1 -0
- package/build/components/checkout/components/address-form/index.d.ts +3 -0
- package/build/components/checkout/components/address-form/index.js +1 -0
- package/build/components/checkout/components/address-form/model.d.ts +87 -0
- package/build/components/checkout/components/address-form/model.js +1 -0
- package/build/components/checkout/components/button/index.d.ts +13 -0
- package/build/components/checkout/components/button/index.js +1 -0
- package/build/components/checkout/components/button/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/index.d.ts +8 -0
- package/build/components/checkout/components/cart-summary/index.js +1 -0
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
- package/build/components/checkout/components/checkbox/check.d.ts +6 -0
- package/build/components/checkout/components/checkbox/check.js +1 -0
- package/build/components/checkout/components/checkbox/index.d.ts +10 -0
- package/build/components/checkout/components/checkbox/index.js +1 -0
- package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
- package/build/components/checkout/components/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -0
- package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
- package/build/components/checkout/components/customer-addresses/index.d.ts +19 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -0
- package/build/components/checkout/components/customer-addresses/model.d.ts +21 -0
- package/build/components/checkout/components/customer-addresses/model.js +1 -0
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
- package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +10 -0
- package/build/components/checkout/components/delivery-methods/icon-button/index.js +1 -0
- package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/delivery-methods/icons/box.d.ts +6 -0
- package/build/components/checkout/components/delivery-methods/icons/box.js +1 -0
- package/build/components/checkout/components/delivery-methods/icons/store.d.ts +6 -0
- package/build/components/checkout/components/delivery-methods/icons/store.js +1 -0
- package/build/components/checkout/components/delivery-methods/index.d.ts +7 -0
- package/build/components/checkout/components/delivery-methods/index.js +1 -0
- package/build/components/checkout/components/delivery-methods/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
- package/build/components/checkout/components/error/index.d.ts +7 -0
- package/build/components/checkout/components/error/index.js +1 -0
- package/build/components/checkout/components/error/no-shipping-error/index.d.ts +3 -0
- package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
- package/build/components/checkout/components/error/payment-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/payment-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/stock-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/unknown-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/unknown-error/index.js +1 -0
- package/build/components/checkout/components/expandable-section/index.d.ts +6 -0
- package/build/components/checkout/components/expandable-section/index.js +1 -0
- package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
- package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
- package/build/components/checkout/components/form-item/caret-down.js +1 -0
- package/build/components/checkout/components/form-item/index.d.ts +3 -0
- package/build/components/checkout/components/form-item/index.js +1 -0
- package/build/components/checkout/components/form-item/model.d.ts +61 -0
- package/build/components/checkout/components/form-item/model.js +1 -0
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
- package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
- package/build/components/checkout/components/input-with-button/index.d.ts +11 -0
- package/build/components/checkout/components/input-with-button/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/klarna/index.d.ts +9 -0
- package/build/components/checkout/components/klarna/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +8 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal/index.d.ts +11 -0
- package/build/components/checkout/components/master-pass/modal/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-otp/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +1 -0
- package/build/components/checkout/components/master-pass/modal-response/index.d.ts +9 -0
- package/build/components/checkout/components/master-pass/modal-response/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-success/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/success.js +1 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +2 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +1 -0
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +3 -0
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +1 -0
- package/build/components/checkout/components/modal/index.d.ts +8 -0
- package/build/components/checkout/components/modal/index.js +1 -0
- package/build/components/checkout/components/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/modal/useEscape.d.ts +5 -0
- package/build/components/checkout/components/modal/useEscape.js +1 -0
- package/build/components/checkout/components/notification-box/index.d.ts +9 -0
- package/build/components/checkout/components/notification-box/index.js +1 -0
- package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/offer-product/index.d.ts +8 -0
- package/build/components/checkout/components/offer-product/index.js +1 -0
- package/build/components/checkout/components/offer-product/select/arrows.d.ts +6 -0
- package/build/components/checkout/components/offer-product/select/arrows.js +1 -0
- package/build/components/checkout/components/offer-product/select/index.d.ts +11 -0
- package/build/components/checkout/components/offer-product/select/index.js +1 -0
- package/build/components/checkout/components/offer-product/select/style.module.scss.js +1 -0
- package/build/components/checkout/components/offer-product/style.module.scss.js +1 -0
- package/build/components/checkout/components/phone-number-input/compare-strings.d.ts +2 -0
- package/build/components/checkout/components/phone-number-input/compare-strings.js +1 -0
- package/build/components/checkout/components/phone-number-input/get-countries.d.ts +7 -0
- package/build/components/checkout/components/phone-number-input/get-countries.js +1 -0
- package/build/components/checkout/components/phone-number-input/index.d.ts +10 -0
- package/build/components/checkout/components/phone-number-input/index.js +1 -0
- package/build/components/checkout/components/phone-number-input/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.d.ts +13 -0
- package/build/components/checkout/components/select-box/index.js +1 -0
- package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/step-container/index.d.ts +15 -0
- package/build/components/checkout/components/step-container/index.js +1 -0
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
- package/build/components/checkout/components/stripe/checkout-form.d.ts +8 -0
- package/build/components/checkout/components/stripe/checkout-form.js +1 -0
- package/build/components/checkout/components/stripe/index.d.ts +9 -0
- package/build/components/checkout/components/stripe/index.js +1 -0
- package/build/components/checkout/components/stripe/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/arrow-down.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-down.js +1 -0
- package/build/components/checkout/components/svg/arrow-left.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-right.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.js +1 -0
- package/build/components/checkout/components/svg/discount.d.ts +6 -0
- package/build/components/checkout/components/svg/external.d.ts +6 -0
- package/build/components/checkout/components/svg/external.js +1 -0
- package/build/components/checkout/components/svg/gift.d.ts +7 -0
- package/build/components/checkout/components/svg/gift.js +1 -0
- package/build/components/checkout/components/svg/ikas.d.ts +6 -0
- package/build/components/checkout/components/svg/ikas.js +1 -0
- package/build/components/checkout/components/svg/lock.d.ts +6 -0
- package/build/components/checkout/components/svg/lock.js +1 -0
- package/build/components/checkout/components/svg/shopping-cart.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.js +1 -0
- package/build/components/checkout/components/svg/tag.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.js +1 -0
- package/build/components/checkout/components/toggle/index.d.ts +10 -0
- package/build/components/checkout/components/toggle/index.js +1 -0
- package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
- package/build/components/checkout/components/tooltip/index.d.ts +8 -0
- package/build/components/checkout/components/tooltip/index.js +1 -0
- package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
- package/build/components/checkout/index.d.ts +34 -0
- package/build/components/checkout/index.js +1 -0
- package/build/components/checkout/model.d.ts +167 -0
- package/build/components/checkout/model.js +1 -0
- package/build/components/checkout/modelMasterPass.d.ts +201 -0
- package/build/components/checkout/modelMasterPass.js +1 -0
- package/build/components/checkout/steps/step-info/index.d.ts +7 -0
- package/build/components/checkout/steps/step-info/index.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
- package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
- package/build/components/checkout/steps/step-shipping/index.js +1 -0
- package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-success/index.d.ts +7 -0
- package/build/components/checkout/steps/step-success/index.js +1 -0
- package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
- package/build/components/checkout/style.module.scss.js +1 -0
- package/build/components/checkout/styles/common.module.scss.js +1 -0
- package/build/components/google-captcha/index.d.ts +9 -0
- package/build/components/google-captcha/index.js +1 -0
- package/build/components/image/index.d.ts +10 -0
- package/build/components/image/index.js +1 -0
- package/build/components/index.d.ts +6 -0
- package/build/components/link/index.d.ts +16 -0
- package/build/components/link/index.js +1 -0
- package/build/components/page/ThemeComponent.d.ts +21 -0
- package/build/components/page/ThemeComponent.js +1 -0
- package/build/components/page/head.d.ts +15 -0
- package/build/components/page/head.js +1 -0
- package/build/components/page/index.d.ts +23 -0
- package/build/components/page/index.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.d.ts +32 -0
- package/build/components/page-editor/ThemeComponentEditor.js +1 -0
- package/build/components/page-editor/error/index.d.ts +4 -0
- package/build/components/page-editor/error/index.js +1 -0
- package/build/components/page-editor/index.d.ts +4 -0
- package/build/components/page-editor/index.js +1 -0
- package/build/components/page-editor/loader/index.d.ts +6 -0
- package/build/components/page-editor/loader/index.js +1 -0
- package/build/components/page-editor/loader/style.module.scss.js +1 -0
- package/build/components/page-editor/model.d.ts +75 -0
- package/build/components/page-editor/model.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/core.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/utils/api.js +1 -0
- package/build/ext/@stripe/react-stripe-js/dist/react-stripe.umd.js +1 -0
- package/build/ext/@stripe/stripe-js/dist/stripe.esm.js +1 -0
- package/build/ext/axios/index.js +1 -0
- package/build/ext/axios/lib/adapters/xhr.js +1 -0
- package/build/ext/axios/lib/axios.js +1 -0
- package/build/ext/axios/lib/cancel/Cancel.js +1 -0
- package/build/ext/axios/lib/cancel/CancelToken.js +1 -0
- package/build/ext/axios/lib/cancel/isCancel.js +1 -0
- package/build/ext/axios/lib/core/Axios.js +1 -0
- package/build/ext/axios/lib/core/InterceptorManager.js +1 -0
- package/build/ext/axios/lib/core/buildFullPath.js +1 -0
- package/build/ext/axios/lib/core/createError.js +1 -0
- package/build/ext/axios/lib/core/dispatchRequest.js +1 -0
- package/build/ext/axios/lib/core/enhanceError.js +1 -0
- package/build/ext/axios/lib/core/mergeConfig.js +1 -0
- package/build/ext/axios/lib/core/settle.js +1 -0
- package/build/ext/axios/lib/core/transformData.js +1 -0
- package/build/ext/axios/lib/defaults/index.js +1 -0
- package/build/ext/axios/lib/defaults/transitional.js +1 -0
- package/build/ext/axios/lib/env/data.js +1 -0
- package/build/ext/axios/lib/helpers/bind.js +1 -0
- package/build/ext/axios/lib/helpers/buildURL.js +1 -0
- package/build/ext/axios/lib/helpers/combineURLs.js +1 -0
- package/build/ext/axios/lib/helpers/cookies.js +1 -0
- package/build/ext/axios/lib/helpers/isAbsoluteURL.js +1 -0
- package/build/ext/axios/lib/helpers/isAxiosError.js +1 -0
- package/build/ext/axios/lib/helpers/isURLSameOrigin.js +1 -0
- package/build/ext/axios/lib/helpers/normalizeHeaderName.js +1 -0
- package/build/ext/axios/lib/helpers/parseHeaders.js +1 -0
- package/build/ext/axios/lib/helpers/spread.js +1 -0
- package/build/ext/axios/lib/helpers/validator.js +1 -0
- package/build/ext/axios/lib/utils.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouType.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +1 -0
- package/build/ext/libphonenumber-js/es6/ParseError.js +1 -0
- package/build/ext/libphonenumber-js/es6/PhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/PhoneNumberMatcher.js +1 -0
- package/build/ext/libphonenumber-js/es6/constants.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/LRUCache.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/Leniency.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/RegExpCache.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/isValidCandidate.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/isValidPreCandidate.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/parsePreCandidate.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/utf-8.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/util.js +1 -0
- package/build/ext/libphonenumber-js/es6/findPhoneNumbers_.js +1 -0
- package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/format_.js +1 -0
- package/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/metadata.js +1 -0
- package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parse_.js +1 -0
- package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +1 -0
- package/build/ext/libphonenumber-js/es6/validate_.js +1 -0
- package/build/ext/libphonenumber-js/index.es6.exports/PhoneNumberSearch.js +1 -0
- package/build/ext/libphonenumber-js/metadata.min.json.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/AsYouType.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/Metadata.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/PhoneNumberMatcher.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/getCountries.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/getCountryCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/parsePhoneNumberFromString.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/withMetadataArgument.js +1 -0
- package/build/ext/object-assign/index.js +6 -0
- package/build/ext/prop-types/checkPropTypes.js +1 -0
- package/build/ext/prop-types/factoryWithThrowingShims.js +1 -0
- package/build/ext/prop-types/factoryWithTypeCheckers.js +1 -0
- package/build/ext/prop-types/index.js +1 -0
- package/build/ext/prop-types/lib/ReactPropTypesSecret.js +1 -0
- package/build/ext/prop-types/lib/has.js +1 -0
- package/build/ext/react-is/cjs/react-is.development.js +9 -0
- package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
- package/build/ext/react-is/index.js +1 -0
- package/build/ext/react-tooltip/dist/index.es.js +1 -0
- package/build/ext/style-inject/dist/style-inject.es.js +1 -0
- package/build/ext/tslib/tslib.es6.js +1 -0
- package/build/ext/uuid/dist/esm-browser/bytesToUuid.js +1 -0
- package/build/ext/uuid/dist/esm-browser/md5.js +1 -0
- package/build/ext/uuid/dist/esm-browser/rng.js +1 -0
- package/build/ext/uuid/dist/esm-browser/sha1.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v3.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v35.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v4.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v5.js +1 -0
- package/build/index.d.ts +6 -0
- package/build/index.js +1 -0
- package/build/models/data/base/index.d.ts +8 -0
- package/build/models/data/base/index.js +1 -0
- package/build/models/data/blog/category/index.d.ts +12 -0
- package/build/models/data/blog/category/index.js +1 -0
- package/build/models/data/blog/content/index.d.ts +6 -0
- package/build/models/data/blog/content/index.js +1 -0
- package/build/models/data/blog/index.d.ts +27 -0
- package/build/models/data/blog/index.js +1 -0
- package/build/models/data/blog/meta-data/index.d.ts +16 -0
- package/build/models/data/blog/meta-data/index.js +1 -0
- package/build/models/data/blog/tag/index.d.ts +6 -0
- package/build/models/data/blog/tag/index.js +1 -0
- package/build/models/data/blog/writer/index.d.ts +6 -0
- package/build/models/data/blog/writer/index.js +1 -0
- package/build/models/data/brand/index.d.ts +26 -0
- package/build/models/data/brand/index.js +1 -0
- package/build/models/data/brand/translation/index.d.ts +7 -0
- package/build/models/data/brand/translation/index.js +1 -0
- package/build/models/data/campaign-offer/index.d.ts +21 -0
- package/build/models/data/campaign-offer/index.js +1 -0
- package/build/models/data/campaign-offer/product/index.d.ts +24 -0
- package/build/models/data/campaign-offer/product/index.js +1 -0
- package/build/models/data/cart/available-shipping-method/index.d.ts +10 -0
- package/build/models/data/cart/available-shipping-method/index.js +1 -0
- package/build/models/data/cart/campaign-offer/index.d.ts +16 -0
- package/build/models/data/cart/campaign-offer/index.js +1 -0
- package/build/models/data/cart/index.d.ts +13 -0
- package/build/models/data/cart/index.js +1 -0
- package/build/models/data/category/index.d.ts +22 -0
- package/build/models/data/category/index.js +1 -0
- package/build/models/data/category/path-item/index.d.ts +14 -0
- package/build/models/data/category/path-item/index.js +1 -0
- package/build/models/data/category/translations/index.d.ts +7 -0
- package/build/models/data/category/translations/index.js +1 -0
- package/build/models/data/checkout/index.d.ts +22 -0
- package/build/models/data/checkout/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +20 -0
- package/build/models/data/checkout-settings/index.js +1 -0
- package/build/models/data/checkout-settings/option/index.d.ts +6 -0
- package/build/models/data/checkout-settings/option/index.js +1 -0
- package/build/models/data/checkout-settings/price/index.d.ts +7 -0
- package/build/models/data/checkout-settings/price/index.js +1 -0
- package/build/models/data/city/index.d.ts +12 -0
- package/build/models/data/city/index.js +1 -0
- package/build/models/data/contact-form/index.d.ts +9 -0
- package/build/models/data/contact-form/index.js +1 -0
- package/build/models/data/country/index.d.ts +18 -0
- package/build/models/data/country/index.js +1 -0
- package/build/models/data/country/location-translations/index.d.ts +7 -0
- package/build/models/data/customer/address/city/index.d.ts +7 -0
- package/build/models/data/customer/address/city/index.js +1 -0
- package/build/models/data/customer/address/country/index.d.ts +9 -0
- package/build/models/data/customer/address/country/index.js +1 -0
- package/build/models/data/customer/address/district/index.d.ts +7 -0
- package/build/models/data/customer/address/district/index.js +1 -0
- package/build/models/data/customer/address/index.d.ts +40 -0
- package/build/models/data/customer/address/index.js +1 -0
- package/build/models/data/customer/address/state/index.d.ts +7 -0
- package/build/models/data/customer/address/state/index.js +1 -0
- package/build/models/data/customer/attribute/index.d.ts +17 -0
- package/build/models/data/customer/attribute/index.js +1 -0
- package/build/models/data/customer/attribute/option/index.d.ts +9 -0
- package/build/models/data/customer/attribute/option/index.js +1 -0
- package/build/models/data/customer/attribute/sales-channel/index.d.ts +8 -0
- package/build/models/data/customer/attribute/sales-channel/index.js +1 -0
- package/build/models/data/customer/attribute/translation/index.d.ts +9 -0
- package/build/models/data/customer/attribute/translation/index.js +1 -0
- package/build/models/data/customer/attribute/translation/option/index.d.ts +6 -0
- package/build/models/data/customer/attribute/translation/option/index.js +1 -0
- package/build/models/data/customer/attribute/value/index.d.ts +11 -0
- package/build/models/data/customer/attribute/value/index.js +1 -0
- package/build/models/data/customer/index.d.ts +38 -0
- package/build/models/data/customer/index.js +1 -0
- package/build/models/data/customer/review/index.d.ts +22 -0
- package/build/models/data/customer/review/index.js +1 -0
- package/build/models/data/customer/review/settings/index.d.ts +6 -0
- package/build/models/data/customer/review/settings/index.js +1 -0
- package/build/models/data/customer/review/summary/index.d.ts +10 -0
- package/build/models/data/customer/review/summary/index.js +1 -0
- package/build/models/data/customer/review/summary/star/index.d.ts +6 -0
- package/build/models/data/customer/review/summary/star/index.js +1 -0
- package/build/models/data/district/index.d.ts +12 -0
- package/build/models/data/district/index.js +1 -0
- package/build/models/data/favorite-product/index.d.ts +7 -0
- package/build/models/data/favorite-product/index.js +1 -0
- package/build/models/data/filter-category/index.d.ts +12 -0
- package/build/models/data/filter-category/index.js +1 -0
- package/build/models/data/html-meta-data/index.d.ts +28 -0
- package/build/models/data/html-meta-data/index.js +1 -0
- package/build/models/data/html-meta-data/translations/index.d.ts +7 -0
- package/build/models/data/html-meta-data/translations/index.js +1 -0
- package/build/models/data/image/index.d.ts +9 -0
- package/build/models/data/image/index.js +1 -0
- package/build/models/data/index.d.ts +136 -0
- package/build/models/data/last-viewed-product/index.d.ts +6 -0
- package/build/models/data/last-viewed-product/index.js +1 -0
- package/build/models/data/merchant-settings/index.d.ts +12 -0
- package/build/models/data/merchant-settings/index.js +1 -0
- package/build/models/data/order/address/city/index.d.ts +7 -0
- package/build/models/data/order/address/city/index.js +1 -0
- package/build/models/data/order/address/country/index.d.ts +9 -0
- package/build/models/data/order/address/country/index.js +1 -0
- package/build/models/data/order/address/district/index.d.ts +7 -0
- package/build/models/data/order/address/district/index.js +1 -0
- package/build/models/data/order/address/index.d.ts +37 -0
- package/build/models/data/order/address/index.js +1 -0
- package/build/models/data/order/address/state/index.d.ts +7 -0
- package/build/models/data/order/address/state/index.js +1 -0
- package/build/models/data/order/adjustment/applied-order-line/index.d.ts +8 -0
- package/build/models/data/order/adjustment/applied-order-line/index.js +1 -0
- package/build/models/data/order/adjustment/index.d.ts +15 -0
- package/build/models/data/order/adjustment/index.js +1 -0
- package/build/models/data/order/customer/index.d.ts +11 -0
- package/build/models/data/order/customer/index.js +1 -0
- package/build/models/data/order/gift-line/index.d.ts +6 -0
- package/build/models/data/order/gift-line/index.js +1 -0
- package/build/models/data/order/index.d.ts +67 -0
- package/build/models/data/order/index.js +1 -0
- package/build/models/data/order/invoice/index.d.ts +12 -0
- package/build/models/data/order/invoice/index.js +1 -0
- package/build/models/data/order/line-item/base-unit/index.d.ts +9 -0
- package/build/models/data/order/line-item/base-unit/index.js +1 -0
- package/build/models/data/order/line-item/base-unit/unit-type/index.d.ts +6 -0
- package/build/models/data/order/line-item/base-unit/unit-type/index.js +1 -0
- package/build/models/data/order/line-item/discount/index.d.ts +11 -0
- package/build/models/data/order/line-item/discount/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +45 -0
- package/build/models/data/order/line-item/index.js +1 -0
- package/build/models/data/order/line-item/option/index.d.ts +10 -0
- package/build/models/data/order/line-item/option/index.js +1 -0
- package/build/models/data/order/line-item/option/value/index.d.ts +7 -0
- package/build/models/data/order/line-item/option/value/index.js +1 -0
- package/build/models/data/order/line-item/variant/brand/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/brand/index.js +1 -0
- package/build/models/data/order/line-item/variant/category/index.d.ts +12 -0
- package/build/models/data/order/line-item/variant/category/index.js +1 -0
- package/build/models/data/order/line-item/variant/index.d.ts +30 -0
- package/build/models/data/order/line-item/variant/index.js +1 -0
- package/build/models/data/order/line-item/variant/price/index.d.ts +10 -0
- package/build/models/data/order/line-item/variant/price/index.js +1 -0
- package/build/models/data/order/line-item/variant/unit/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/unit/index.js +1 -0
- package/build/models/data/order/line-item/variant/value/index.d.ts +11 -0
- package/build/models/data/order/line-item/variant/value/index.js +1 -0
- package/build/models/data/order/package/index.d.ts +14 -0
- package/build/models/data/order/package/index.js +1 -0
- package/build/models/data/order/package/tracking-info/index.d.ts +9 -0
- package/build/models/data/order/package/tracking-info/index.js +1 -0
- package/build/models/data/order/payment-method/index.d.ts +9 -0
- package/build/models/data/order/payment-method/index.js +1 -0
- package/build/models/data/order/refund/index.d.ts +7 -0
- package/build/models/data/order/refund/index.js +1 -0
- package/build/models/data/order/refund/line-item/index.d.ts +6 -0
- package/build/models/data/order/refund/line-item/index.js +1 -0
- package/build/models/data/order/refund/settings/index.d.ts +7 -0
- package/build/models/data/order/refund/settings/index.js +1 -0
- package/build/models/data/order/shipping-line/index.d.ts +12 -0
- package/build/models/data/order/shipping-line/index.js +1 -0
- package/build/models/data/order/tax-line/index.d.ts +6 -0
- package/build/models/data/order/tax-line/index.js +1 -0
- package/build/models/data/order/transaction/error/index.d.ts +7 -0
- package/build/models/data/order/transaction/error/index.js +1 -0
- package/build/models/data/order/transaction/index.d.ts +25 -0
- package/build/models/data/order/transaction/index.js +1 -0
- package/build/models/data/order/transaction/payment-method-detail/index.d.ts +13 -0
- package/build/models/data/order/transaction/payment-method-detail/index.js +1 -0
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.d.ts +9 -0
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.js +1 -0
- package/build/models/data/payment-gateway/additional-price/index.d.ts +9 -0
- package/build/models/data/payment-gateway/additional-price/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +31 -0
- package/build/models/data/payment-gateway/index.js +1 -0
- package/build/models/data/payment-gateway/settings/index.d.ts +10 -0
- package/build/models/data/payment-gateway/settings/index.js +1 -0
- package/build/models/data/payment-gateway/translation/index.d.ts +7 -0
- package/build/models/data/payment-gateway/translation/index.js +1 -0
- package/build/models/data/product/attribute/index.d.ts +15 -0
- package/build/models/data/product/attribute/index.js +1 -0
- package/build/models/data/product/attribute/option/index.d.ts +6 -0
- package/build/models/data/product/attribute/option/index.js +1 -0
- package/build/models/data/product/attribute/table-cell/index.d.ts +6 -0
- package/build/models/data/product/attribute/table-cell/index.js +1 -0
- package/build/models/data/product/attribute/table-template/index.d.ts +7 -0
- package/build/models/data/product/attribute/table-template/index.js +1 -0
- package/build/models/data/product/attribute/translation/index.d.ts +13 -0
- package/build/models/data/product/attribute/translation/index.js +1 -0
- package/build/models/data/product/attribute-value/index.d.ts +28 -0
- package/build/models/data/product/attribute-value/index.js +1 -0
- package/build/models/data/product/back-in-stock-settings/index.d.ts +5 -0
- package/build/models/data/product/back-in-stock-settings/index.js +1 -0
- package/build/models/data/product/base-unit/index.d.ts +12 -0
- package/build/models/data/product/base-unit/index.js +1 -0
- package/build/models/data/product/campaign/data/index.d.ts +27 -0
- package/build/models/data/product/campaign/data/index.js +1 -0
- package/build/models/data/product/campaign/filter/index.d.ts +7 -0
- package/build/models/data/product/campaign/filter/index.js +1 -0
- package/build/models/data/product/campaign/index.d.ts +7 -0
- package/build/models/data/product/campaign/index.js +1 -0
- package/build/models/data/product/campaign/product-buyx-then-gety/index.d.ts +20 -0
- package/build/models/data/product/campaign/product-buyx-then-gety/index.js +1 -0
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.d.ts +6 -0
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.js +1 -0
- package/build/models/data/product/campaign/product-fixed-discount/index.d.ts +14 -0
- package/build/models/data/product/campaign/product-fixed-discount/index.js +1 -0
- package/build/models/data/product/filter/index.d.ts +84 -0
- package/build/models/data/product/filter/index.js +1 -0
- package/build/models/data/product/image/index.d.ts +10 -0
- package/build/models/data/product/image/index.js +1 -0
- package/build/models/data/product/index.d.ts +62 -0
- package/build/models/data/product/index.js +1 -0
- package/build/models/data/product/option-set/index.d.ts +29 -0
- package/build/models/data/product/option-set/index.js +1 -0
- package/build/models/data/product/option-set/option/index.d.ts +72 -0
- package/build/models/data/product/option-set/option/index.js +1 -0
- package/build/models/data/product/tag/index.d.ts +6 -0
- package/build/models/data/product/tag/index.js +1 -0
- package/build/models/data/product/variant/index.d.ts +31 -0
- package/build/models/data/product/variant/index.js +1 -0
- package/build/models/data/product/variant/price/index.d.ts +19 -0
- package/build/models/data/product/variant/price/index.js +1 -0
- package/build/models/data/product/variant/unit/index.d.ts +6 -0
- package/build/models/data/product/variant/unit/index.js +1 -0
- package/build/models/data/product/variant-type/index.d.ts +8 -0
- package/build/models/data/product/variant-type/index.js +1 -0
- package/build/models/data/product/variant-type/init.d.ts +2 -0
- package/build/models/data/raffle/index.d.ts +63 -0
- package/build/models/data/raffle/index.js +1 -0
- package/build/models/data/sales-channel/index.d.ts +19 -0
- package/build/models/data/sales-channel/index.js +1 -0
- package/build/models/data/state/index.d.ts +8 -0
- package/build/models/data/state/index.js +1 -0
- package/build/models/data/stock-location/address/city/index.d.ts +7 -0
- package/build/models/data/stock-location/address/city/index.js +1 -0
- package/build/models/data/stock-location/address/country/index.d.ts +7 -0
- package/build/models/data/stock-location/address/country/index.js +1 -0
- package/build/models/data/stock-location/address/district/index.d.ts +7 -0
- package/build/models/data/stock-location/address/district/index.js +1 -0
- package/build/models/data/stock-location/address/index.d.ts +15 -0
- package/build/models/data/stock-location/address/index.js +1 -0
- package/build/models/data/stock-location/address/state/index.d.ts +7 -0
- package/build/models/data/stock-location/address/state/index.js +1 -0
- package/build/models/data/stock-location/available/index.d.ts +10 -0
- package/build/models/data/stock-location/available/index.js +1 -0
- package/build/models/data/stock-location/index.d.ts +14 -0
- package/build/models/data/stock-location/index.js +1 -0
- package/build/models/data/storefront/domain/index.d.ts +9 -0
- package/build/models/data/storefront/domain/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +27 -0
- package/build/models/data/storefront/index.js +1 -0
- package/build/models/data/storefront/localization/index.d.ts +8 -0
- package/build/models/data/storefront/localization/index.js +1 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +6 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.js +1 -0
- package/build/models/data/storefront/routing/index.d.ts +14 -0
- package/build/models/data/storefront/routing/index.js +1 -0
- package/build/models/data/storefront/theme/index.d.ts +10 -0
- package/build/models/data/storefront/theme/index.js +1 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +15 -0
- package/build/models/data/storefront/theme-localization/index.js +1 -0
- package/build/models/data/theme-json/component/index.d.ts +20 -0
- package/build/models/data/theme-json/component/index.js +1 -0
- package/build/models/data/theme-json/component/prop/index.d.ts +26 -0
- package/build/models/data/theme-json/component/prop/index.js +1 -0
- package/build/models/data/theme-json/custom-data/index.d.ts +43 -0
- package/build/models/data/theme-json/custom-data/index.js +1 -0
- package/build/models/data/theme-json/index.d.ts +16 -0
- package/build/models/data/theme-json/index.js +1 -0
- package/build/models/data/theme-json/page/component/index.d.ts +7 -0
- package/build/models/data/theme-json/page/component/index.js +1 -0
- package/build/models/data/theme-json/page/index.d.ts +21 -0
- package/build/models/data/theme-json/page/index.js +1 -0
- package/build/models/data/theme-json/settings/color/index.d.ts +15 -0
- package/build/models/data/theme-json/settings/color/index.js +1 -0
- package/build/models/data/theme-json/settings/favicon/index.d.ts +5 -0
- package/build/models/data/theme-json/settings/favicon/index.js +1 -0
- package/build/models/data/theme-json/settings/font-family/index.d.ts +6 -0
- package/build/models/data/theme-json/settings/font-family/index.js +1 -0
- package/build/models/data/theme-json/settings/index.d.ts +13 -0
- package/build/models/data/theme-json/settings/index.js +1 -0
- package/build/models/data/variant-type/index.d.ts +13 -0
- package/build/models/data/variant-type/index.js +1 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +12 -0
- package/build/models/data/variant-type/variant-value/index.js +1 -0
- package/build/models/index.d.ts +2 -0
- package/build/models/ui/blog-category-list/index.d.ts +51 -0
- package/build/models/ui/blog-category-list/index.js +1 -0
- package/build/models/ui/blog-list/index.d.ts +55 -0
- package/build/models/ui/blog-list/index.js +1 -0
- package/build/models/ui/brand-list/index.d.ts +61 -0
- package/build/models/ui/brand-list/index.js +1 -0
- package/build/models/ui/category-list/index.d.ts +61 -0
- package/build/models/ui/category-list/index.js +1 -0
- package/build/models/ui/component-renderer/index.d.ts +7 -0
- package/build/models/ui/component-renderer/index.js +1 -0
- package/build/models/ui/customer-review-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-list/index.js +1 -0
- package/build/models/ui/customer-review-summary-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-summary-list/index.js +1 -0
- package/build/models/ui/index.d.ts +25 -0
- package/build/models/ui/navigation-link/index.d.ts +8 -0
- package/build/models/ui/navigation-link/index.js +1 -0
- package/build/models/ui/product-attribute-detail/index.d.ts +8 -0
- package/build/models/ui/product-attribute-detail/index.js +1 -0
- package/build/models/ui/product-attribute-list/index.d.ts +8 -0
- package/build/models/ui/product-attribute-list/index.js +1 -0
- package/build/models/ui/product-list/index.d.ts +138 -0
- package/build/models/ui/product-list/index.js +1 -0
- package/build/models/ui/raffle-list/index.d.ts +53 -0
- package/build/models/ui/raffle-list/index.js +1 -0
- package/build/models/ui/validator/form/account-info.d.ts +39 -0
- package/build/models/ui/validator/form/account-info.js +1 -0
- package/build/models/ui/validator/form/address.d.ts +75 -0
- package/build/models/ui/validator/form/address.js +1 -0
- package/build/models/ui/validator/form/contact-form.d.ts +42 -0
- package/build/models/ui/validator/form/contact-form.js +1 -0
- package/build/models/ui/validator/form/customer-review.d.ts +34 -0
- package/build/models/ui/validator/form/customer-review.js +1 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +26 -0
- package/build/models/ui/validator/form/forgot-password.js +1 -0
- package/build/models/ui/validator/form/login.d.ts +32 -0
- package/build/models/ui/validator/form/login.js +1 -0
- package/build/models/ui/validator/form/raffle-form.d.ts +62 -0
- package/build/models/ui/validator/form/raffle-form.js +1 -0
- package/build/models/ui/validator/form/recover-password.d.ts +33 -0
- package/build/models/ui/validator/form/recover-password.js +1 -0
- package/build/models/ui/validator/form/register.d.ts +49 -0
- package/build/models/ui/validator/form/register.js +1 -0
- package/build/models/ui/validator/index.d.ts +27 -0
- package/build/models/ui/validator/index.js +1 -0
- package/build/models/ui/validator/rules/index.d.ts +101 -0
- package/build/models/ui/validator/rules/index.js +1 -0
- package/build/page-data-init/index.d.ts +40 -0
- package/build/page-data-init/index.js +1 -0
- package/build/pages/404.d.ts +4 -0
- package/build/pages/404.js +1 -0
- package/build/pages/[slug]/index.d.ts +4 -0
- package/build/pages/_slug_/index.js +1 -0
- package/build/pages/account/addresses.d.ts +4 -0
- package/build/pages/account/addresses.js +1 -0
- package/build/pages/account/favorite-products.d.ts +4 -0
- package/build/pages/account/favorite-products.js +1 -0
- package/build/pages/account/forgot-password.d.ts +4 -0
- package/build/pages/account/forgot-password.js +1 -0
- package/build/pages/account/index.d.ts +4 -0
- package/build/pages/account/index.js +1 -0
- package/build/pages/account/login.d.ts +4 -0
- package/build/pages/account/login.js +1 -0
- package/build/pages/account/orders/[id].d.ts +4 -0
- package/build/pages/account/orders/_id_.js +1 -0
- package/build/pages/account/orders/index.d.ts +4 -0
- package/build/pages/account/orders/index.js +1 -0
- package/build/pages/account/raffles.d.ts +4 -0
- package/build/pages/account/raffles.js +1 -0
- package/build/pages/account/recover-password.d.ts +4 -0
- package/build/pages/account/recover-password.js +1 -0
- package/build/pages/account/register.d.ts +4 -0
- package/build/pages/account/register.js +1 -0
- package/build/pages/blog/[slug].d.ts +4 -0
- package/build/pages/blog/_slug_.js +1 -0
- package/build/pages/blog/index.d.ts +4 -0
- package/build/pages/blog/index.js +1 -0
- package/build/pages/cart.d.ts +4 -0
- package/build/pages/cart.js +1 -0
- package/build/pages/checkout.d.ts +18 -0
- package/build/pages/checkout.js +1 -0
- package/build/pages/editor.d.ts +10 -0
- package/build/pages/editor.js +1 -0
- package/build/pages/home.d.ts +4 -0
- package/build/pages/home.js +1 -0
- package/build/pages/index.d.ts +22 -0
- package/build/pages/pages/[slug].d.ts +4 -0
- package/build/pages/pages/_slug_.js +1 -0
- package/build/pages/raffle/[slug].d.ts +4 -0
- package/build/pages/raffle/_slug_.js +1 -0
- package/build/pages/raffle/index.d.ts +4 -0
- package/build/pages/raffle/index.js +1 -0
- package/build/pages/search.d.ts +4 -0
- package/build/pages/search.js +1 -0
- package/build/store/base.d.ts +44 -0
- package/build/store/base.js +1 -0
- package/build/store/blog/index.d.ts +26 -0
- package/build/store/blog/index.js +1 -0
- package/build/store/brand/index.d.ts +12 -0
- package/build/store/brand/index.js +1 -0
- package/build/store/cart/api.d.ts +10 -0
- package/build/store/cart/api.js +1 -0
- package/build/store/cart/index.d.ts +27 -0
- package/build/store/cart/index.js +1 -0
- package/build/store/category/index.d.ts +12 -0
- package/build/store/category/index.js +1 -0
- package/build/store/checkout/index.d.ts +15 -0
- package/build/store/checkout/index.js +1 -0
- package/build/store/customer/api.d.ts +54 -0
- package/build/store/customer/api.js +1 -0
- package/build/store/customer/index.d.ts +80 -0
- package/build/store/customer/index.js +1 -0
- package/build/store/html-meta-data/index.d.ts +6 -0
- package/build/store/html-meta-data/index.js +1 -0
- package/build/store/index.d.ts +3 -0
- package/build/store/location/index.d.ts +9 -0
- package/build/store/location/index.js +1 -0
- package/build/store/merchant/index.d.ts +6 -0
- package/build/store/product/index.d.ts +37 -0
- package/build/store/product/index.js +1 -0
- package/build/store/raffle/index.d.ts +15 -0
- package/build/store/raffle/index.js +1 -0
- package/build/store/storefront/index.d.ts +5 -0
- package/build/utils/constants.d.ts +2 -0
- package/build/utils/constants.js +1 -0
- package/build/utils/currency.d.ts +7 -0
- package/build/utils/currency.js +1 -0
- package/build/utils/google-fonts.d.ts +2 -0
- package/build/utils/google-fonts.js +1 -0
- package/build/utils/helper.d.ts +4 -0
- package/build/utils/helper.js +1 -0
- package/build/utils/i18n.d.ts +11 -0
- package/build/utils/i18n.js +1 -0
- package/build/utils/index.d.ts +3 -0
- package/package.json +21 -19
- package/src/analytics/analytics.ts +0 -536
- package/src/analytics/events.ts +0 -116
- package/src/analytics/facebookPixel.ts +0 -226
- package/src/analytics/googleAnalytics.ts +0 -227
- package/src/analytics/googleTagManager.ts +0 -341
- package/src/analytics/googleUniversal.ts +0 -136
- package/src/analytics/head/index.tsx +0 -135
- package/src/analytics/ikas.ts +0 -558
- package/src/analytics/index.ts +0 -2
- package/src/analytics/tiktokPixel.ts +0 -223
- package/src/components/checkout/components/address-form/index.tsx +0 -406
- package/src/components/checkout/components/address-form/model.ts +0 -397
- package/src/components/checkout/components/button/index.tsx +0 -44
- package/src/components/checkout/components/button/style.module.scss +0 -103
- package/src/components/checkout/components/cart-summary/cart-item/index.tsx +0 -180
- package/src/components/checkout/components/cart-summary/cart-item/style.module.scss +0 -107
- package/src/components/checkout/components/cart-summary/index.tsx +0 -481
- package/src/components/checkout/components/cart-summary/style.module.scss +0 -251
- package/src/components/checkout/components/checkbox/check.tsx +0 -23
- package/src/components/checkout/components/checkbox/index.tsx +0 -50
- package/src/components/checkout/components/checkbox/style.module.scss +0 -72
- package/src/components/checkout/components/credit-card-form/index.tsx +0 -122
- package/src/components/checkout/components/credit-card-form/model.ts +0 -56
- package/src/components/checkout/components/credit-card-form/style.module.scss +0 -6
- package/src/components/checkout/components/credit-card-form/svg/amex.tsx +0 -30
- package/src/components/checkout/components/credit-card-form/svg/master-card.tsx +0 -38
- package/src/components/checkout/components/credit-card-form/svg/troy.tsx +0 -54
- package/src/components/checkout/components/credit-card-form/svg/visa.tsx +0 -46
- package/src/components/checkout/components/customer-addresses/index.tsx +0 -333
- package/src/components/checkout/components/customer-addresses/model.ts +0 -126
- package/src/components/checkout/components/customer-addresses/style.module.scss +0 -38
- package/src/components/checkout/components/delivery-methods/icon-button/index.tsx +0 -29
- package/src/components/checkout/components/delivery-methods/icon-button/style.module.scss +0 -41
- package/src/components/checkout/components/delivery-methods/icons/box.tsx +0 -22
- package/src/components/checkout/components/delivery-methods/icons/store.tsx +0 -22
- package/src/components/checkout/components/delivery-methods/index.tsx +0 -39
- package/src/components/checkout/components/delivery-methods/style.module.scss +0 -4
- package/src/components/checkout/components/error/customer-login-required-error/index.tsx +0 -23
- package/src/components/checkout/components/error/index.tsx +0 -54
- package/src/components/checkout/components/error/no-shipping-error/index.tsx +0 -14
- package/src/components/checkout/components/error/payment-error/index.tsx +0 -21
- package/src/components/checkout/components/error/stock-error/index.tsx +0 -72
- package/src/components/checkout/components/error/stock-error/style.module.scss +0 -11
- package/src/components/checkout/components/error/unknown-error/index.tsx +0 -19
- package/src/components/checkout/components/expandable-section/index.tsx +0 -37
- package/src/components/checkout/components/expandable-section/style.module.scss +0 -29
- package/src/components/checkout/components/form-item/caret-down.tsx +0 -20
- package/src/components/checkout/components/form-item/index.tsx +0 -207
- package/src/components/checkout/components/form-item/model.ts +0 -145
- package/src/components/checkout/components/form-item/style.module.scss +0 -216
- package/src/components/checkout/components/fullscreen-loading/index.tsx +0 -10
- package/src/components/checkout/components/fullscreen-loading/style.module.scss +0 -56
- package/src/components/checkout/components/input-with-button/index.tsx +0 -53
- package/src/components/checkout/components/input-with-button/style.module.scss +0 -104
- package/src/components/checkout/components/master-pass/credit-card-form/index.tsx +0 -160
- package/src/components/checkout/components/master-pass/credit-card-form/style.module.scss +0 -15
- package/src/components/checkout/components/master-pass/modal/index.tsx +0 -32
- package/src/components/checkout/components/master-pass/modal/style.module.scss +0 -42
- package/src/components/checkout/components/master-pass/modal/svg/modal-close.tsx +0 -20
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/index.tsx +0 -62
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss +0 -27
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.tsx +0 -19
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.tsx +0 -41
- package/src/components/checkout/components/master-pass/modal-otp/index.tsx +0 -202
- package/src/components/checkout/components/master-pass/modal-otp/style.module.scss +0 -47
- package/src/components/checkout/components/master-pass/modal-otp/svg/master-pass.tsx +0 -28
- package/src/components/checkout/components/master-pass/modal-response/index.tsx +0 -24
- package/src/components/checkout/components/master-pass/modal-response/style.module.scss +0 -7
- package/src/components/checkout/components/master-pass/modal-success/index.tsx +0 -54
- package/src/components/checkout/components/master-pass/modal-success/style.module.scss +0 -25
- package/src/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.tsx +0 -41
- package/src/components/checkout/components/master-pass/modal-success/svg/success.tsx +0 -21
- package/src/components/checkout/components/master-pass/payment-gateway/svg/master-card.tsx +0 -14
- package/src/components/checkout/components/master-pass/svg/master-pass-by-master-card.tsx +0 -34
- package/src/components/checkout/components/modal/index.tsx +0 -41
- package/src/components/checkout/components/modal/style.module.scss +0 -68
- package/src/components/checkout/components/modal/useEscape.tsx +0 -20
- package/src/components/checkout/components/notification-box/index.tsx +0 -70
- package/src/components/checkout/components/notification-box/style.module.scss +0 -69
- package/src/components/checkout/components/offer-product/index.tsx +0 -180
- package/src/components/checkout/components/offer-product/select/arrows.tsx +0 -22
- package/src/components/checkout/components/offer-product/select/index.tsx +0 -40
- package/src/components/checkout/components/offer-product/select/style.module.scss +0 -28
- package/src/components/checkout/components/offer-product/style.module.scss +0 -117
- package/src/components/checkout/components/phone-number-input/compare-strings.ts +0 -5
- package/src/components/checkout/components/phone-number-input/get-countries.ts +0 -52
- package/src/components/checkout/components/phone-number-input/index.tsx +0 -125
- package/src/components/checkout/components/phone-number-input/style.module.scss +0 -83
- package/src/components/checkout/components/select-box/index.tsx +0 -60
- package/src/components/checkout/components/select-box/style.module.scss +0 -55
- package/src/components/checkout/components/step-container/index.tsx +0 -107
- package/src/components/checkout/components/step-container/style.module.scss +0 -86
- package/src/components/checkout/components/stripe/checkout-form.tsx +0 -55
- package/src/components/checkout/components/stripe/index.tsx +0 -91
- package/src/components/checkout/components/stripe/style.module.scss +0 -75
- package/src/components/checkout/components/svg/arrow-down.tsx +0 -23
- package/src/components/checkout/components/svg/arrow-left.tsx +0 -23
- package/src/components/checkout/components/svg/arrow-right.tsx +0 -23
- package/src/components/checkout/components/svg/cross.tsx +0 -23
- package/src/components/checkout/components/svg/discount.tsx +0 -34
- package/src/components/checkout/components/svg/external.tsx +0 -101
- package/src/components/checkout/components/svg/gift.tsx +0 -40
- package/src/components/checkout/components/svg/ikas.tsx +0 -39
- package/src/components/checkout/components/svg/lock.tsx +0 -23
- package/src/components/checkout/components/svg/shopping-cart.tsx +0 -23
- package/src/components/checkout/components/svg/success-circle.tsx +0 -26
- package/src/components/checkout/components/svg/tag.tsx +0 -23
- package/src/components/checkout/components/svg/warning.tsx +0 -30
- package/src/components/checkout/components/toggle/index.tsx +0 -51
- package/src/components/checkout/components/toggle/style.module.scss +0 -75
- package/src/components/checkout/components/tooltip/index.tsx +0 -27
- package/src/components/checkout/components/tooltip/style.module.scss +0 -86
- package/src/components/checkout/index.tsx +0 -641
- package/src/components/checkout/model.ts +0 -1466
- package/src/components/checkout/modelMasterPass.ts +0 -1001
- package/src/components/checkout/steps/step-info/index.tsx +0 -85
- package/src/components/checkout/steps/step-payment/billing-address/index.tsx +0 -48
- package/src/components/checkout/steps/step-payment/index.tsx +0 -104
- package/src/components/checkout/steps/step-payment/payment-gateways/index.tsx +0 -218
- package/src/components/checkout/steps/step-payment/payment-gateways/installments/index.tsx +0 -54
- package/src/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss +0 -50
- package/src/components/checkout/steps/step-payment/payment-gateways/style.module.scss +0 -32
- package/src/components/checkout/steps/step-payment/style.module.scss +0 -32
- package/src/components/checkout/steps/step-shipping/index.tsx +0 -126
- package/src/components/checkout/steps/step-shipping/style.module.scss +0 -44
- package/src/components/checkout/steps/step-success/index.tsx +0 -366
- package/src/components/checkout/steps/step-success/style.module.scss +0 -161
- package/src/components/checkout/style.module.scss +0 -366
- package/src/components/checkout/styles/common.module.scss +0 -59
- package/src/components/checkout/styles/variables.scss +0 -40
- package/src/components/image/index.tsx +0 -43
- package/src/components/index.ts +0 -5
- package/src/components/link/index.tsx +0 -26
- package/src/components/page/ThemeComponent.tsx +0 -108
- package/src/components/page/head.tsx +0 -358
- package/src/components/page/index.tsx +0 -219
- package/src/components/page-editor/ThemeComponentEditor.tsx +0 -270
- package/src/components/page-editor/error/index.tsx +0 -18
- package/src/components/page-editor/index.tsx +0 -194
- package/src/components/page-editor/loader/index.tsx +0 -18
- package/src/components/page-editor/loader/style.module.scss +0 -59
- package/src/components/page-editor/model.ts +0 -847
- package/src/index.ts +0 -6
- package/src/models/data/base/index.ts +0 -15
- package/src/models/data/blog/category/index.ts +0 -36
- package/src/models/data/blog/content/index.ts +0 -16
- package/src/models/data/blog/index.ts +0 -75
- package/src/models/data/blog/meta-data/index.ts +0 -39
- package/src/models/data/blog/tag/index.ts +0 -16
- package/src/models/data/blog/writer/index.ts +0 -17
- package/src/models/data/brand/index.ts +0 -58
- package/src/models/data/brand/translation/index.ts +0 -16
- package/src/models/data/campaign-offer/index.ts +0 -79
- package/src/models/data/campaign-offer/product/index.ts +0 -69
- package/src/models/data/cart/available-shipping-method/index.ts +0 -25
- package/src/models/data/cart/campaign-offer/index.ts +0 -43
- package/src/models/data/cart/index.ts +0 -38
- package/src/models/data/category/index.ts +0 -69
- package/src/models/data/category/init.ts +0 -33
- package/src/models/data/category/path-item/index.ts +0 -42
- package/src/models/data/category/translations/index.ts +0 -16
- package/src/models/data/checkout/index.ts +0 -55
- package/src/models/data/checkout-settings/index.ts +0 -63
- package/src/models/data/checkout-settings/option/index.ts +0 -14
- package/src/models/data/checkout-settings/price/index.ts +0 -14
- package/src/models/data/city/index.ts +0 -34
- package/src/models/data/contact-form/index.ts +0 -20
- package/src/models/data/country/index.ts +0 -46
- package/src/models/data/customer/address/city/index.ts +0 -16
- package/src/models/data/customer/address/country/index.ts +0 -20
- package/src/models/data/customer/address/district/index.ts +0 -16
- package/src/models/data/customer/address/index.tsx +0 -136
- package/src/models/data/customer/address/state/index.ts +0 -16
- package/src/models/data/customer/attribute/index.ts +0 -61
- package/src/models/data/customer/attribute/option/index.ts +0 -20
- package/src/models/data/customer/attribute/sales-channel/index.ts +0 -24
- package/src/models/data/customer/attribute/translation/index.ts +0 -23
- package/src/models/data/customer/attribute/translation/option/index.ts +0 -16
- package/src/models/data/customer/attribute/value/index.ts +0 -29
- package/src/models/data/customer/index.ts +0 -122
- package/src/models/data/customer/review/index.ts +0 -70
- package/src/models/data/customer/review/settings/index.ts +0 -14
- package/src/models/data/customer/review/summary/index.ts +0 -29
- package/src/models/data/customer/review/summary/star/index.ts +0 -16
- package/src/models/data/district/index.ts +0 -36
- package/src/models/data/favorite-product/index.ts +0 -23
- package/src/models/data/filter-category/index.ts +0 -30
- package/src/models/data/html-meta-data/index.ts +0 -69
- package/src/models/data/html-meta-data/translations/index.ts +0 -16
- package/src/models/data/image/index.ts +0 -33
- package/src/models/data/index.ts +0 -192
- package/src/models/data/last-viewed-product/index.ts +0 -14
- package/src/models/data/merchant-settings/index.ts +0 -26
- package/src/models/data/order/address/city/index.ts +0 -16
- package/src/models/data/order/address/country/index.ts +0 -20
- package/src/models/data/order/address/district/index.ts +0 -16
- package/src/models/data/order/address/index.ts +0 -96
- package/src/models/data/order/address/state/index.ts +0 -16
- package/src/models/data/order/adjustment/applied-order-line/index.ts +0 -20
- package/src/models/data/order/adjustment/index.ts +0 -39
- package/src/models/data/order/customer/index.ts +0 -24
- package/src/models/data/order/gift-line/index.ts +0 -14
- package/src/models/data/order/index.ts +0 -241
- package/src/models/data/order/invoice/index.ts +0 -29
- package/src/models/data/order/line-item/discount/index.ts +0 -23
- package/src/models/data/order/line-item/index.ts +0 -153
- package/src/models/data/order/line-item/option/index.ts +0 -24
- package/src/models/data/order/line-item/option/value/index.ts +0 -16
- package/src/models/data/order/line-item/variant/brand/index.ts +0 -14
- package/src/models/data/order/line-item/variant/category/index.ts +0 -36
- package/src/models/data/order/line-item/variant/index.ts +0 -62
- package/src/models/data/order/line-item/variant/price/index.ts +0 -20
- package/src/models/data/order/line-item/variant/value/index.ts +0 -31
- package/src/models/data/order/package/index.ts +0 -41
- package/src/models/data/order/package/tracking-info/index.ts +0 -20
- package/src/models/data/order/payment-method/index.ts +0 -23
- package/src/models/data/order/refund/index.ts +0 -17
- package/src/models/data/order/refund/line-item/index.ts +0 -16
- package/src/models/data/order/refund/settings/index.ts +0 -16
- package/src/models/data/order/shipping-line/index.ts +0 -29
- package/src/models/data/order/tax-line/index.ts +0 -14
- package/src/models/data/order/transaction/error/index.ts +0 -16
- package/src/models/data/order/transaction/index.ts +0 -58
- package/src/models/data/order/transaction/payment-method-detail/index.ts +0 -33
- package/src/models/data/order/transaction/payment-method-detail/installment-price/index.ts +0 -22
- package/src/models/data/payment-gateway/additional-price/index.ts +0 -29
- package/src/models/data/payment-gateway/index.ts +0 -90
- package/src/models/data/payment-gateway/settings/index.ts +0 -21
- package/src/models/data/payment-gateway/translation/index.ts +0 -18
- package/src/models/data/product/attribute/index.ts +0 -37
- package/src/models/data/product/attribute/option/index.ts +0 -14
- package/src/models/data/product/attribute/table-cell/index.ts +0 -16
- package/src/models/data/product/attribute/table-template/index.ts +0 -19
- package/src/models/data/product/attribute/translation/index.ts +0 -39
- package/src/models/data/product/attribute-value/index.ts +0 -69
- package/src/models/data/product/back-in-stock-settings/index.ts +0 -14
- package/src/models/data/product/campaign/data/index.ts +0 -70
- package/src/models/data/product/campaign/filter/index.ts +0 -19
- package/src/models/data/product/campaign/index.ts +0 -15
- package/src/models/data/product/campaign/product-buyx-then-gety/index.ts +0 -57
- package/src/models/data/product/campaign/product-campaign-date-range-field/index.ts +0 -16
- package/src/models/data/product/campaign/product-fixed-discount/index.ts +0 -40
- package/src/models/data/product/filter/index.ts +0 -285
- package/src/models/data/product/image/index.ts +0 -22
- package/src/models/data/product/index.ts +0 -298
- package/src/models/data/product/option-set/index.ts +0 -94
- package/src/models/data/product/option-set/option/index.ts +0 -245
- package/src/models/data/product/tag/index.ts +0 -14
- package/src/models/data/product/variant/index.ts +0 -104
- package/src/models/data/product/variant/price/index.ts +0 -58
- package/src/models/data/product/variant-type/index.ts +0 -17
- package/src/models/data/product/variant-type/init.ts +0 -15
- package/src/models/data/raffle/index.ts +0 -155
- package/src/models/data/sales-channel/index.ts +0 -56
- package/src/models/data/state/index.ts +0 -18
- package/src/models/data/stock-location/address/city/index.ts +0 -16
- package/src/models/data/stock-location/address/country/index.ts +0 -18
- package/src/models/data/stock-location/address/district/index.ts +0 -18
- package/src/models/data/stock-location/address/index.ts +0 -34
- package/src/models/data/stock-location/address/state/index.ts +0 -18
- package/src/models/data/stock-location/available/index.ts +0 -22
- package/src/models/data/stock-location/index.ts +0 -35
- package/src/models/data/storefront/domain/index.ts +0 -20
- package/src/models/data/storefront/index.ts +0 -65
- package/src/models/data/storefront/localization/index.tsx +0 -18
- package/src/models/data/storefront/routing/dynamic-currency/index.ts +0 -16
- package/src/models/data/storefront/routing/index.tsx +0 -25
- package/src/models/data/storefront/theme/index.tsx +0 -25
- package/src/models/data/storefront/theme-localization/index.tsx +0 -31
- package/src/models/data/theme-json/component/index.ts +0 -41
- package/src/models/data/theme-json/component/prop/index.ts +0 -55
- package/src/models/data/theme-json/custom-data/index.ts +0 -132
- package/src/models/data/theme-json/index.ts +0 -210
- package/src/models/data/theme-json/page/component/index.ts +0 -22
- package/src/models/data/theme-json/page/index.ts +0 -54
- package/src/models/data/theme-json/settings/color/index.ts +0 -35
- package/src/models/data/theme-json/settings/favicon/index.ts +0 -12
- package/src/models/data/theme-json/settings/font-family/index.ts +0 -14
- package/src/models/data/theme-json/settings/index.ts +0 -30
- package/src/models/data/variant-type/index.ts +0 -44
- package/src/models/data/variant-type/variant-value/index.ts +0 -32
- package/src/models/index.ts +0 -2
- package/src/models/ui/blog-category-list/index.ts +0 -169
- package/src/models/ui/blog-list/index.ts +0 -175
- package/src/models/ui/brand-list/index.ts +0 -237
- package/src/models/ui/category-list/index.ts +0 -237
- package/src/models/ui/component-renderer/index.ts +0 -9
- package/src/models/ui/customer-review-list/index.ts +0 -173
- package/src/models/ui/customer-review-summary-list/index.ts +0 -175
- package/src/models/ui/index.ts +0 -40
- package/src/models/ui/navigation-link/index.ts +0 -23
- package/src/models/ui/product-attribute-detail/index.ts +0 -29
- package/src/models/ui/product-attribute-list/index.ts +0 -52
- package/src/models/ui/product-list/index.ts +0 -998
- package/src/models/ui/raffle-list/index.ts +0 -178
- package/src/models/ui/validator/form/account-info.ts +0 -167
- package/src/models/ui/validator/form/address.ts +0 -490
- package/src/models/ui/validator/form/contact-form.ts +0 -177
- package/src/models/ui/validator/form/customer-review.ts +0 -132
- package/src/models/ui/validator/form/forgot-password.ts +0 -96
- package/src/models/ui/validator/form/login.ts +0 -128
- package/src/models/ui/validator/form/raffle-form.ts +0 -276
- package/src/models/ui/validator/form/recover-password.ts +0 -148
- package/src/models/ui/validator/form/register.ts +0 -206
- package/src/models/ui/validator/index.ts +0 -121
- package/src/models/ui/validator/rules/index.ts +0 -310
- package/src/page-data-init/index.ts +0 -904
- package/src/pages/404.tsx +0 -10
- package/src/pages/[slug]/index.tsx +0 -9
- package/src/pages/account/addresses.tsx +0 -10
- package/src/pages/account/favorite-products.tsx +0 -9
- package/src/pages/account/forgot-password.tsx +0 -9
- package/src/pages/account/index.tsx +0 -9
- package/src/pages/account/login.tsx +0 -9
- package/src/pages/account/orders/[id].tsx +0 -9
- package/src/pages/account/orders/index.tsx +0 -9
- package/src/pages/account/raffles.tsx +0 -9
- package/src/pages/account/recover-password.tsx +0 -9
- package/src/pages/account/register.tsx +0 -9
- package/src/pages/blog/[slug].tsx +0 -9
- package/src/pages/blog/index.tsx +0 -9
- package/src/pages/cart.tsx +0 -9
- package/src/pages/checkout.tsx +0 -163
- package/src/pages/editor.tsx +0 -30
- package/src/pages/home.tsx +0 -10
- package/src/pages/index.ts +0 -22
- package/src/pages/pages/[slug].tsx +0 -9
- package/src/pages/raffle/[slug].tsx +0 -9
- package/src/pages/raffle/index.tsx +0 -9
- package/src/pages/search.tsx +0 -9
- package/src/store/base.ts +0 -238
- package/src/store/blog/index.ts +0 -49
- package/src/store/brand/index.ts +0 -16
- package/src/store/cart/api.ts +0 -58
- package/src/store/cart/index.ts +0 -311
- package/src/store/category/index.ts +0 -16
- package/src/store/checkout/index.ts +0 -92
- package/src/store/customer/api.ts +0 -273
- package/src/store/customer/index.ts +0 -658
- package/src/store/html-meta-data/index.ts +0 -16
- package/src/store/index.ts +0 -1
- package/src/store/location/index.ts +0 -56
- package/src/store/merchant/index.ts +0 -16
- package/src/store/product/index.ts +0 -113
- package/src/store/raffle/index.ts +0 -58
- package/src/store/storefront/index.ts +0 -18
- package/src/typings/global.d.ts +0 -7
- package/src/utils/constants.ts +0 -2
- package/src/utils/currency.ts +0 -250
- package/src/utils/google-fonts.ts +0 -52
- package/src/utils/helper.ts +0 -77
- package/src/utils/i18n.ts +0 -126
- package/src/utils/index.ts +0 -3
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { observer } from "mobx-react-lite";
|
|
3
|
-
|
|
4
|
-
import { FormItem } from "../../components/form-item";
|
|
5
|
-
import {
|
|
6
|
-
FormItemInputType,
|
|
7
|
-
FormItemType,
|
|
8
|
-
} from "../../components/form-item/model";
|
|
9
|
-
import CheckoutViewModel from "../../model";
|
|
10
|
-
import { Button } from "../../components/button";
|
|
11
|
-
import { Checkbox } from "../../components/checkbox";
|
|
12
|
-
import Errors from "../../components/error";
|
|
13
|
-
|
|
14
|
-
import commonStyles from "../../styles/common.module.scss";
|
|
15
|
-
import CustomerAddresses from "../../components/customer-addresses";
|
|
16
|
-
import CustomerAddressesViewModel from "../../components/customer-addresses/model";
|
|
17
|
-
import { useTranslation } from "../../../../utils";
|
|
18
|
-
|
|
19
|
-
type Props = {
|
|
20
|
-
vm: CheckoutViewModel;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const CheckoutStepInfo: React.FC<Props> = ({ vm }) => {
|
|
24
|
-
const { t } = useTranslation();
|
|
25
|
-
const onEmailChange = React.useCallback(
|
|
26
|
-
(value: string) => {
|
|
27
|
-
if (vm.checkout.customer)
|
|
28
|
-
vm.checkout.customer.email = value ? value.trim() : value;
|
|
29
|
-
},
|
|
30
|
-
[vm, vm.checkout, vm.checkout.customer]
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
const customerAddressesViewModel = React.useMemo(() => {
|
|
34
|
-
return new CustomerAddressesViewModel(vm, "shipping");
|
|
35
|
-
}, [vm]);
|
|
36
|
-
|
|
37
|
-
return (
|
|
38
|
-
<div>
|
|
39
|
-
<Errors vm={vm} />
|
|
40
|
-
{!vm.checkout.hasCustomer && (
|
|
41
|
-
<div style={{ marginTop: "8px", marginBottom: "40px" }}>
|
|
42
|
-
<div className={commonStyles.FormSectionTitle}>
|
|
43
|
-
<div className={commonStyles.Title}>
|
|
44
|
-
{t("checkout-page:contactInfo")}
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<FormItem
|
|
48
|
-
type={FormItemType.TEXT}
|
|
49
|
-
inputType={FormItemInputType.EMAIL}
|
|
50
|
-
label={t("checkout-page:email")}
|
|
51
|
-
autocomplete="email"
|
|
52
|
-
value={vm.checkout.customer?.email || ""}
|
|
53
|
-
onChange={onEmailChange}
|
|
54
|
-
hasError={vm.isErrorsVisible && !vm.checkout.hasValidCustomerEmail}
|
|
55
|
-
errorText={t("checkout-page:emailError")}
|
|
56
|
-
tooltipText={t("checkout-page:guestEmailTooltip")}
|
|
57
|
-
/>
|
|
58
|
-
<Checkbox
|
|
59
|
-
value={vm.checkout.customer?.notificationsAccepted || false}
|
|
60
|
-
label={t("checkout-page:customerConsentCta")}
|
|
61
|
-
onChange={vm.setCustomerConsentGranted}
|
|
62
|
-
/>
|
|
63
|
-
</div>
|
|
64
|
-
)}
|
|
65
|
-
<CustomerAddresses vm={customerAddressesViewModel} />
|
|
66
|
-
{!customerAddressesViewModel.editingCustomerAddress && (
|
|
67
|
-
<Button
|
|
68
|
-
style={{
|
|
69
|
-
width: "100%",
|
|
70
|
-
marginTop: vm.store.customerStore.customer ? "0px" : "32px",
|
|
71
|
-
}}
|
|
72
|
-
text={
|
|
73
|
-
vm.deliveryMethod === "address"
|
|
74
|
-
? t("checkout-page:actions.continueWithShipping")
|
|
75
|
-
: t("checkout-page:actions.continueWithPayment")
|
|
76
|
-
}
|
|
77
|
-
isLoading={vm.isStepLoading}
|
|
78
|
-
onClick={vm.onProceedToShippingClick}
|
|
79
|
-
/>
|
|
80
|
-
)}
|
|
81
|
-
</div>
|
|
82
|
-
);
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export default observer(CheckoutStepInfo);
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { observer } from "mobx-react-lite";
|
|
3
|
-
import CheckoutViewModel from "../../../model";
|
|
4
|
-
|
|
5
|
-
import { Checkbox } from "../../../../../components/checkout/components/checkbox";
|
|
6
|
-
import CustomerAddressesViewModel from "../../../../../components/checkout/components/customer-addresses/model";
|
|
7
|
-
import CustomerAddresses from "../../../../../components/checkout/components/customer-addresses";
|
|
8
|
-
import { useTranslation } from "../../../../../utils";
|
|
9
|
-
|
|
10
|
-
type Props = {
|
|
11
|
-
vm: CheckoutViewModel;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const BillingAddress: React.FC<Props> = observer(({ vm }) => {
|
|
15
|
-
const { t } = useTranslation();
|
|
16
|
-
const customerAddressesViewModel = React.useMemo(() => {
|
|
17
|
-
return new CustomerAddressesViewModel(vm, "billing");
|
|
18
|
-
}, [vm]);
|
|
19
|
-
|
|
20
|
-
React.useEffect(() => {
|
|
21
|
-
if (vm.deliveryMethod === "in-store") {
|
|
22
|
-
vm.setUseDifferentAddress(true);
|
|
23
|
-
}
|
|
24
|
-
}, [vm]);
|
|
25
|
-
|
|
26
|
-
return (
|
|
27
|
-
<React.Fragment>
|
|
28
|
-
<div
|
|
29
|
-
style={{
|
|
30
|
-
marginTop: "32px",
|
|
31
|
-
marginBottom: vm.useDifferentAddress ? "24px" : "0px",
|
|
32
|
-
}}
|
|
33
|
-
>
|
|
34
|
-
{vm.deliveryMethod === "address" && (
|
|
35
|
-
<Checkbox
|
|
36
|
-
value={!vm.useDifferentAddress}
|
|
37
|
-
hasError={vm.isErrorsVisible && !vm.isTermsAndConditionsChecked}
|
|
38
|
-
label={t("checkout-page:useShippingForBilling")}
|
|
39
|
-
onChange={(value) => vm.setUseDifferentAddress(!value)}
|
|
40
|
-
/>
|
|
41
|
-
)}
|
|
42
|
-
</div>
|
|
43
|
-
{vm.useDifferentAddress && (
|
|
44
|
-
<CustomerAddresses vm={customerAddressesViewModel} />
|
|
45
|
-
)}
|
|
46
|
-
</React.Fragment>
|
|
47
|
-
);
|
|
48
|
-
});
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { observer } from "mobx-react-lite";
|
|
3
|
-
import CheckoutViewModel from "../../model";
|
|
4
|
-
|
|
5
|
-
import { Checkbox } from "../../components/checkbox";
|
|
6
|
-
import Errors from "../../components/error";
|
|
7
|
-
|
|
8
|
-
import { PaymentGateways } from "./payment-gateways";
|
|
9
|
-
import { BillingAddress } from "./billing-address";
|
|
10
|
-
import styles from "./style.module.scss";
|
|
11
|
-
import { Button } from "../../components/button";
|
|
12
|
-
import SVGLock from "../../components/svg/lock";
|
|
13
|
-
import { useTranslation } from "../../../../utils";
|
|
14
|
-
import { createTranslationInputData } from "../../../../utils/i18n";
|
|
15
|
-
import { IkasStorefrontConfig } from "@ikas/storefront-config";
|
|
16
|
-
|
|
17
|
-
type Props = {
|
|
18
|
-
vm: CheckoutViewModel;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export const CheckoutStepPayment: React.FC<Props> = observer(({ vm }) => {
|
|
22
|
-
const { t } = useTranslation();
|
|
23
|
-
|
|
24
|
-
const onShowPrivacyPolicyClick = React.useCallback(
|
|
25
|
-
(e: React.MouseEvent) => {
|
|
26
|
-
e.stopPropagation();
|
|
27
|
-
vm.policyModalTitle = t("checkout-page:privacyPolicy");
|
|
28
|
-
vm.policyModalText = vm.privacyPolicy;
|
|
29
|
-
},
|
|
30
|
-
[vm, vm.privacyPolicy]
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
const onShowTermsOfServiceClick = React.useCallback(
|
|
34
|
-
(e: React.MouseEvent) => {
|
|
35
|
-
e.stopPropagation();
|
|
36
|
-
vm.policyModalTitle = t("checkout-page:termsOfService");
|
|
37
|
-
vm.policyModalText = vm.termsOfService;
|
|
38
|
-
},
|
|
39
|
-
[vm, vm.termsOfService]
|
|
40
|
-
);
|
|
41
|
-
|
|
42
|
-
const checkoutTranslations =
|
|
43
|
-
IkasStorefrontConfig.getTranslations()["checkout-page"];
|
|
44
|
-
const policyInputData = createTranslationInputData(
|
|
45
|
-
checkoutTranslations["ackPoliciesSentence"]
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
const policyLabel = policyInputData.map((p) =>
|
|
49
|
-
p.isVariable ? (
|
|
50
|
-
<span
|
|
51
|
-
className={styles.TermsLabelSpan}
|
|
52
|
-
onClick={
|
|
53
|
-
p.value === "{{ ackPrivacyPolicy }}"
|
|
54
|
-
? onShowPrivacyPolicyClick
|
|
55
|
-
: onShowTermsOfServiceClick
|
|
56
|
-
}
|
|
57
|
-
>
|
|
58
|
-
{p.value === "{{ ackPrivacyPolicy }}"
|
|
59
|
-
? t("checkout-page:ackPrivacyPolicy")
|
|
60
|
-
: t("checkout-page:ackTermsOfService")}
|
|
61
|
-
</span>
|
|
62
|
-
) : (
|
|
63
|
-
p.value
|
|
64
|
-
)
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
return (
|
|
68
|
-
<div className={[styles.StepPayment].join(" ")}>
|
|
69
|
-
<Errors vm={vm} />
|
|
70
|
-
<PaymentGateways vm={vm} />
|
|
71
|
-
<BillingAddress vm={vm} />
|
|
72
|
-
|
|
73
|
-
{vm.checkoutSettings.showTermsAndConditionsCheckbox && (
|
|
74
|
-
<div style={{ marginTop: vm.useDifferentAddress ? "12px" : "0px" }}>
|
|
75
|
-
<Checkbox
|
|
76
|
-
value={vm.isTermsAndConditionsChecked}
|
|
77
|
-
hasError={vm.isErrorsVisible && !vm.isTermsAndConditionsChecked}
|
|
78
|
-
label={<>{policyLabel}</>}
|
|
79
|
-
onChange={vm.onTermsAndConditionsCheckedChange}
|
|
80
|
-
/>
|
|
81
|
-
</div>
|
|
82
|
-
)}
|
|
83
|
-
|
|
84
|
-
<Button
|
|
85
|
-
style={{
|
|
86
|
-
width: "100%",
|
|
87
|
-
marginTop: "24px",
|
|
88
|
-
}}
|
|
89
|
-
text={t("checkout-page:actions.completeOrder")}
|
|
90
|
-
isLoading={vm.isStepLoading}
|
|
91
|
-
onClick={vm.onCompletePaymentClick}
|
|
92
|
-
/>
|
|
93
|
-
|
|
94
|
-
{!!t("checkout-page:securePaymentTooltip") && (
|
|
95
|
-
<div className={styles.SecurePaymentContainer}>
|
|
96
|
-
<span className={styles.Lock}>
|
|
97
|
-
<SVGLock />
|
|
98
|
-
</span>
|
|
99
|
-
<span>{t("checkout-page:securePaymentTooltip")}</span>
|
|
100
|
-
</div>
|
|
101
|
-
)}
|
|
102
|
-
</div>
|
|
103
|
-
);
|
|
104
|
-
});
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { observer } from "mobx-react-lite";
|
|
3
|
-
import CheckoutViewModel from "../../../model";
|
|
4
|
-
import {
|
|
5
|
-
IkasPaymentGatewayType,
|
|
6
|
-
IkasPaymentMethodType,
|
|
7
|
-
IkasPaymentGateway,
|
|
8
|
-
IkasPaymentGatewayTransactionFeeType,
|
|
9
|
-
IkasPaymentGatewayAdditionalPriceType,
|
|
10
|
-
} from "../../../../../models/data";
|
|
11
|
-
import { CreditCardForm } from "../../../components/credit-card-form";
|
|
12
|
-
import { Installments } from "./installments";
|
|
13
|
-
import SelectBox from "../../../components/select-box";
|
|
14
|
-
import styles from "./style.module.scss";
|
|
15
|
-
import { formatMoney, useTranslation } from "../../../../../utils";
|
|
16
|
-
import SVGExternal from "../../../components/svg/external";
|
|
17
|
-
import SVGMasterCard from "../../../components/master-pass/payment-gateway/svg/master-card";
|
|
18
|
-
import { IkasPaymentGatewayAdditionalPrice } from "../../../../../models/data/payment-gateway/additional-price";
|
|
19
|
-
import { StripeForm } from "../../../components/stripe";
|
|
20
|
-
import { Card as MasterPassCard } from "../../../modelMasterPass";
|
|
21
|
-
import CreditCardData from "../../../components/credit-card-form/model";
|
|
22
|
-
import CreditCardFormMasterPass from "../../../components/master-pass/credit-card-form";
|
|
23
|
-
|
|
24
|
-
type Props = {
|
|
25
|
-
vm: CheckoutViewModel;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export const PaymentGateways: React.FC<Props> = observer(({ vm }) => {
|
|
29
|
-
const { t } = useTranslation();
|
|
30
|
-
|
|
31
|
-
const PaymentMethodLogos = (props: any) => (
|
|
32
|
-
<div
|
|
33
|
-
style={{
|
|
34
|
-
display: "flex",
|
|
35
|
-
justifyContent: "flex-end",
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
flexWrap: "wrap",
|
|
38
|
-
}}
|
|
39
|
-
>
|
|
40
|
-
{props.children}
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
const PaymentMethodAdjustment = (props: any) => (
|
|
45
|
-
<div className={styles.AdditionalPrice}>{props.children}</div>
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
const getAdditionalPriceText = (ap: IkasPaymentGatewayAdditionalPrice) => {
|
|
49
|
-
if (ap.amount === 0) return "";
|
|
50
|
-
|
|
51
|
-
return `${
|
|
52
|
-
ap.amountType === IkasPaymentGatewayTransactionFeeType.AMOUNT
|
|
53
|
-
? formatMoney(ap.amount, vm.checkout.currencyCode)
|
|
54
|
-
: " %" + ap.amount
|
|
55
|
-
}${
|
|
56
|
-
ap.type === IkasPaymentGatewayAdditionalPriceType.DECREMENT
|
|
57
|
-
? " " + t("checkout-page:paymentMethodDiscount")
|
|
58
|
-
: " " + t("checkout-page:paymentMethodAdditionalPrice")
|
|
59
|
-
}`;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const renderMasterPassCard = (card: MasterPassCard, index: number) => {
|
|
63
|
-
const pg = vm.paymentGateways.find((pG) => pG.id === card.paymentGatewayId);
|
|
64
|
-
const rightContent = (
|
|
65
|
-
<button
|
|
66
|
-
className={styles.MasterPassSelectBoxDeleteButton}
|
|
67
|
-
onClick={(event) => {
|
|
68
|
-
event.stopPropagation();
|
|
69
|
-
vm.mpVM.deleteCard({
|
|
70
|
-
store: vm.store,
|
|
71
|
-
checkout: vm.checkout,
|
|
72
|
-
card,
|
|
73
|
-
});
|
|
74
|
-
}}
|
|
75
|
-
>
|
|
76
|
-
{t("checkout-page:masterPass.paymentGatewaySelectBox.delete")}
|
|
77
|
-
</button>
|
|
78
|
-
);
|
|
79
|
-
const label = (
|
|
80
|
-
<div style={{ display: "flex", alignItems: "center" }}>
|
|
81
|
-
<span className={styles.MasterPassSelectBoxLabelLogo}>
|
|
82
|
-
<SVGMasterCard />
|
|
83
|
-
</span>
|
|
84
|
-
{card.Name} {card.Value1}
|
|
85
|
-
</div>
|
|
86
|
-
);
|
|
87
|
-
const bottomContent: React.ReactNode = !pg?.id
|
|
88
|
-
? undefined
|
|
89
|
-
: pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD &&
|
|
90
|
-
pg.type === IkasPaymentGatewayType.INTERNAL
|
|
91
|
-
? vm.installmentInfo && <Installments vm={vm} />
|
|
92
|
-
: undefined;
|
|
93
|
-
const onClick = () => {
|
|
94
|
-
if (vm.mpVM.selectedCard?.UniqueId === card.UniqueId) return;
|
|
95
|
-
vm.checkout.selectedPaymentGateway = null;
|
|
96
|
-
vm.cardData = new CreditCardData();
|
|
97
|
-
vm.installmentInfo = undefined;
|
|
98
|
-
vm.mpVM.selectedCard = card;
|
|
99
|
-
|
|
100
|
-
if (card.Value1 && card.paymentGatewayId && vm.checkout.totalFinalPrice) {
|
|
101
|
-
vm.retrieveInstallmentInfo({
|
|
102
|
-
input: {
|
|
103
|
-
binNumber: card.Value1.slice(0, 6),
|
|
104
|
-
paymentGatewayId: card.paymentGatewayId,
|
|
105
|
-
price: vm.checkout.totalFinalPrice,
|
|
106
|
-
},
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
return (
|
|
112
|
-
<SelectBox
|
|
113
|
-
key={index}
|
|
114
|
-
isSelected={vm.mpVM.selectedCard?.UniqueId === card.UniqueId}
|
|
115
|
-
label={label}
|
|
116
|
-
rightContent={rightContent}
|
|
117
|
-
bottomContent={bottomContent}
|
|
118
|
-
onClick={onClick}
|
|
119
|
-
/>
|
|
120
|
-
);
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
const isCustomFlowStripe = (pg: IkasPaymentGateway) => {
|
|
124
|
-
return (
|
|
125
|
-
pg.code === "STRIPE" &&
|
|
126
|
-
pg.settings?.find(
|
|
127
|
-
(setting) =>
|
|
128
|
-
setting.label === "allow_custom_flow" && setting.value === "true"
|
|
129
|
-
)
|
|
130
|
-
);
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
const renderPaymentGateway = (pg: IkasPaymentGateway, index: number) => {
|
|
134
|
-
const bottomContent =
|
|
135
|
-
pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD &&
|
|
136
|
-
pg.type === IkasPaymentGatewayType.INTERNAL ? (
|
|
137
|
-
<>
|
|
138
|
-
{isCustomFlowStripe(pg) ? (
|
|
139
|
-
<StripeForm vm={vm} pg={pg} />
|
|
140
|
-
) : (
|
|
141
|
-
<div>
|
|
142
|
-
<CreditCardForm vm={vm} />
|
|
143
|
-
{vm.isPaymentGatewayHasMasterPass && (
|
|
144
|
-
<CreditCardFormMasterPass vm={vm} />
|
|
145
|
-
)}
|
|
146
|
-
{vm.installmentInfo && <Installments vm={vm} />}
|
|
147
|
-
</div>
|
|
148
|
-
)}
|
|
149
|
-
</>
|
|
150
|
-
) : pg.description ? (
|
|
151
|
-
<React.Fragment>
|
|
152
|
-
{pg.type === IkasPaymentGatewayType.EXTERNAL && (
|
|
153
|
-
<div
|
|
154
|
-
style={{
|
|
155
|
-
height: "52px",
|
|
156
|
-
display: "flex",
|
|
157
|
-
justifyContent: "center",
|
|
158
|
-
margin: "24px 0",
|
|
159
|
-
}}
|
|
160
|
-
>
|
|
161
|
-
<SVGExternal />
|
|
162
|
-
</div>
|
|
163
|
-
)}
|
|
164
|
-
<div dangerouslySetInnerHTML={{ __html: pg.description }}></div>
|
|
165
|
-
</React.Fragment>
|
|
166
|
-
) : undefined;
|
|
167
|
-
return (
|
|
168
|
-
<SelectBox
|
|
169
|
-
key={pg.id}
|
|
170
|
-
label={
|
|
171
|
-
pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD &&
|
|
172
|
-
pg.type === IkasPaymentGatewayType.INTERNAL
|
|
173
|
-
? isCustomFlowStripe(pg)
|
|
174
|
-
? " "
|
|
175
|
-
: t("checkout-page:creditCard")
|
|
176
|
-
: pg.name
|
|
177
|
-
}
|
|
178
|
-
isSelected={vm.selectedPaymentGatewayIndex === index}
|
|
179
|
-
rightContent={
|
|
180
|
-
pg.additionalPrices?.length ? (
|
|
181
|
-
<PaymentMethodAdjustment>
|
|
182
|
-
{getAdditionalPriceText(pg.additionalPrices[0])}
|
|
183
|
-
</PaymentMethodAdjustment>
|
|
184
|
-
) : (
|
|
185
|
-
<PaymentMethodLogos>
|
|
186
|
-
{!!pg.logoUrl && (
|
|
187
|
-
<div className={styles.PaymentLogoContainer}>
|
|
188
|
-
<img src={pg.logoUrl} />
|
|
189
|
-
</div>
|
|
190
|
-
)}
|
|
191
|
-
</PaymentMethodLogos>
|
|
192
|
-
)
|
|
193
|
-
}
|
|
194
|
-
bottomContent={bottomContent}
|
|
195
|
-
onClick={() => {
|
|
196
|
-
if (vm.selectedPaymentGatewayIndex === index) return;
|
|
197
|
-
vm.setPaymentGateway(index);
|
|
198
|
-
vm.mpVM.selectedCard = undefined;
|
|
199
|
-
}}
|
|
200
|
-
/>
|
|
201
|
-
);
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
return (
|
|
205
|
-
<React.Fragment>
|
|
206
|
-
{!!vm.mpVM.cards.length && vm.mpVM.cards.map(renderMasterPassCard)}
|
|
207
|
-
{vm.paymentGateways
|
|
208
|
-
.filter((pG) =>
|
|
209
|
-
vm.deliveryMethod === "in-store"
|
|
210
|
-
? pG.paymentMethodType !== IkasPaymentMethodType.CASH_ON_DELIVERY &&
|
|
211
|
-
pG.paymentMethodType !==
|
|
212
|
-
IkasPaymentMethodType.CREDIT_CARD_ON_DELIVERY
|
|
213
|
-
: true
|
|
214
|
-
)
|
|
215
|
-
.map(renderPaymentGateway)}
|
|
216
|
-
</React.Fragment>
|
|
217
|
-
);
|
|
218
|
-
});
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { observer } from "mobx-react-lite";
|
|
3
|
-
import CheckoutViewModel from "../../../../model";
|
|
4
|
-
|
|
5
|
-
import { formatMoney, useTranslation } from "../../../../../../utils";
|
|
6
|
-
import styles from "./style.module.scss";
|
|
7
|
-
import { Toggle } from "../../../../../../components/checkout/components/toggle";
|
|
8
|
-
|
|
9
|
-
type Props = {
|
|
10
|
-
vm: CheckoutViewModel;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const Installments: React.FC<Props> = observer(({ vm }) => {
|
|
14
|
-
const { t } = useTranslation();
|
|
15
|
-
|
|
16
|
-
return (
|
|
17
|
-
<div className={styles.Installments}>
|
|
18
|
-
<div className={styles.Title}>
|
|
19
|
-
{t("checkout-page:installmentOptions")}
|
|
20
|
-
</div>
|
|
21
|
-
<div className={styles.Container}>
|
|
22
|
-
{vm.installmentInfo?.installmentPrices?.map((ip, index) => (
|
|
23
|
-
<div
|
|
24
|
-
className={styles.Row}
|
|
25
|
-
onClick={() => vm.setInstallmentCount(ip.installmentCount || 1)}
|
|
26
|
-
>
|
|
27
|
-
<Toggle value={vm.selectedInstallmentIndex === index} />
|
|
28
|
-
<div className={styles.InstallmentInfo}>
|
|
29
|
-
<div className={styles.InstallmentCount}>
|
|
30
|
-
{ip.installmentCount === 1
|
|
31
|
-
? t("checkout-page:singleInstallment")
|
|
32
|
-
: `${ip.installmentCount} ${t("checkout-page:installments")}`}
|
|
33
|
-
</div>
|
|
34
|
-
{ip.installmentCount !== 1 && (
|
|
35
|
-
<div className={styles.InstallmentPrice}>
|
|
36
|
-
{formatMoney(
|
|
37
|
-
ip.installmentPrice!,
|
|
38
|
-
vm.checkout!.currencyCode,
|
|
39
|
-
)}
|
|
40
|
-
</div>
|
|
41
|
-
)}
|
|
42
|
-
</div>
|
|
43
|
-
<div className={styles.Price}>
|
|
44
|
-
{formatMoney(
|
|
45
|
-
ip.totalPrice!,
|
|
46
|
-
vm.checkout!.currencyCode,
|
|
47
|
-
)}
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
))}
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
);
|
|
54
|
-
});
|
package/src/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@import "../../../../styles/variables.scss";
|
|
2
|
-
|
|
3
|
-
.Installments {
|
|
4
|
-
margin-top: 32px;
|
|
5
|
-
|
|
6
|
-
.Title {
|
|
7
|
-
font-size: 16px;
|
|
8
|
-
line-height: 24px;
|
|
9
|
-
margin-bottom: 16px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.Container {
|
|
13
|
-
border: 1px solid $borderColor;
|
|
14
|
-
border-radius: 8px;
|
|
15
|
-
background: $primaryBgColor;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.Row {
|
|
19
|
-
height: 56px;
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
padding: 0 16px;
|
|
23
|
-
border-bottom: 1px solid $borderColor;
|
|
24
|
-
|
|
25
|
-
&:last-of-type {
|
|
26
|
-
border-bottom: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.InstallmentInfo {
|
|
30
|
-
flex: 1 1 auto;
|
|
31
|
-
|
|
32
|
-
.InstallmentCount {
|
|
33
|
-
font-size: 16px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.InstallmentPrice {
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
color: $secondaryTextColor;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.Price {
|
|
43
|
-
flex: 0 0 auto;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
font-size: 16px;
|
|
46
|
-
line-height: 24px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import "../../../styles/variables.scss";
|
|
2
|
-
|
|
3
|
-
.PaymentLogoContainer {
|
|
4
|
-
margin-left: 10px;
|
|
5
|
-
font-size: 0.7em;
|
|
6
|
-
|
|
7
|
-
img {
|
|
8
|
-
height: 20px;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.AdditionalPrice {
|
|
13
|
-
color: $primaryTextColor;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.MasterPassSelectBoxDeleteButton {
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
line-height: 20px;
|
|
20
|
-
color: $primaryTextColor;
|
|
21
|
-
padding: 4px 8px;
|
|
22
|
-
margin-right: -8px;
|
|
23
|
-
|
|
24
|
-
&:hover {
|
|
25
|
-
text-decoration: underline;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.MasterPassSelectBoxLabelLogo {
|
|
30
|
-
display: inline-block;
|
|
31
|
-
margin-right: 12px;
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import "../../styles/variables.scss";
|
|
2
|
-
|
|
3
|
-
.StepPayment {
|
|
4
|
-
margin-top: 8px;
|
|
5
|
-
|
|
6
|
-
.TermsLabelSpan {
|
|
7
|
-
color: $primaryTextColor;
|
|
8
|
-
|
|
9
|
-
&:hover {
|
|
10
|
-
text-decoration: underline;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.SecurePaymentContainer {
|
|
15
|
-
width: 100%;
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
align-items: center;
|
|
19
|
-
margin-top: 24px;
|
|
20
|
-
color: $secondaryTextColor;
|
|
21
|
-
|
|
22
|
-
.Lock {
|
|
23
|
-
color: #CFCED3;
|
|
24
|
-
margin-right: 8px;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
position: relative;
|
|
28
|
-
top: -1px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|