@ikas/storefront 6.1.0-beta.40 → 6.1.0-beta.400
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/analytics/analytics.d.ts +8 -3
- package/build/analytics/analytics.js +1 -1
- package/build/analytics/events.d.ts +4 -1
- package/build/analytics/events.js +1 -1
- package/build/analytics/facebookPixel.d.ts +13 -0
- package/build/analytics/facebookPixel.js +1 -1
- package/build/analytics/googleAnalytics.d.ts +3 -2
- package/build/analytics/googleAnalytics.js +1 -1
- package/build/analytics/googleTagManager.d.ts +5 -3
- package/build/analytics/googleTagManager.js +1 -1
- package/build/analytics/head/index.d.ts +17 -2
- package/build/analytics/head/index.js +1 -1
- package/build/analytics/ikasV3.d.ts +2 -1
- package/build/analytics/ikasV3.js +1 -1
- package/build/analytics/openAiPixel.d.ts +31 -0
- package/build/analytics/openAiPixel.js +1 -0
- package/build/components/checkout/components/address-form/index.js +1 -1
- package/build/components/checkout/components/address-form/model.d.ts +5 -0
- package/build/components/checkout/components/address-form/model.js +1 -1
- package/build/components/checkout/components/adyen/index.js +1 -1
- package/build/components/checkout/components/button/index.d.ts +1 -0
- package/build/components/checkout/components/button/index.js +1 -1
- package/build/components/checkout/components/button/style.module.scss.js +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -1
- package/build/components/checkout/components/cart-summary/index.d.ts +3 -1
- package/build/components/checkout/components/cart-summary/index.js +1 -1
- package/build/components/checkout/components/cart-summary/loyalty/icons.d.ts +4 -0
- package/build/components/checkout/components/cart-summary/loyalty/icons.js +1 -0
- package/build/components/checkout/components/cart-summary/loyalty/index.d.ts +21 -0
- package/build/components/checkout/components/cart-summary/loyalty/index.js +1 -0
- package/build/components/checkout/components/cart-summary/loyalty/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -1
- package/build/components/checkout/components/checkbox/index.d.ts +1 -0
- package/build/components/checkout/components/checkbox/index.js +1 -1
- package/build/components/checkout/components/checkout-load-failed/index.d.ts +14 -0
- package/build/components/checkout/components/checkout-load-failed/index.js +1 -0
- package/build/components/checkout/components/checkout-load-failed/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -1
- package/build/components/checkout/components/customer-addresses/index.d.ts +1 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -1
- package/build/components/checkout/components/customer-addresses/model.js +1 -1
- package/build/components/checkout/components/error/stock-error/index.js +1 -1
- package/build/components/checkout/components/form-item/index.js +1 -1
- package/build/components/checkout/components/form-item/model.d.ts +5 -3
- package/build/components/checkout/components/form-item/model.js +1 -1
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -1
- package/build/components/checkout/components/hepsipay/index.d.ts +9 -0
- package/build/components/checkout/components/hepsipay/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -1
- package/build/components/checkout/components/iyzico/index.d.ts +8 -0
- package/build/components/checkout/components/iyzico/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +1 -1
- package/build/components/checkout/components/modal/index.d.ts +1 -0
- package/build/components/checkout/components/modal/index.js +1 -1
- package/build/components/checkout/components/modal/style.module.scss.js +1 -1
- package/build/components/checkout/components/offer-product/index.js +1 -1
- package/build/components/checkout/components/offer-product/style.module.scss.js +1 -1
- package/build/components/checkout/components/phone-number-input/index.d.ts +3 -1
- package/build/components/checkout/components/phone-number-input/index.js +1 -1
- package/build/components/checkout/components/quick-registration/completed.js +1 -1
- package/build/components/checkout/components/quick-registration/index.js +1 -1
- package/build/components/checkout/components/quick-registration/model.d.ts +5 -0
- package/build/components/checkout/components/quick-registration/model.js +1 -1
- package/build/components/checkout/components/quick-registration/verification-sent.d.ts +7 -0
- package/build/components/checkout/components/quick-registration/verification-sent.js +1 -0
- package/build/components/checkout/components/secure-card-form/index.d.ts +17 -0
- package/build/components/checkout/components/secure-card-form/index.js +1 -0
- package/build/components/checkout/components/secure-card-form/masterpass-bridge-model.d.ts +33 -0
- package/build/components/checkout/components/secure-card-form/masterpass-bridge-model.js +1 -0
- package/build/components/checkout/components/secure-card-form/model.d.ts +73 -0
- package/build/components/checkout/components/secure-card-form/model.js +1 -0
- package/build/components/checkout/components/secure-card-form/protocol.d.ts +240 -0
- package/build/components/checkout/components/secure-card-form/protocol.js +1 -0
- package/build/components/checkout/components/secure-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.d.ts +3 -0
- package/build/components/checkout/components/select-box/index.js +1 -1
- package/build/components/checkout/components/step-container/index.d.ts +5 -0
- package/build/components/checkout/components/step-container/index.js +1 -1
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -1
- package/build/components/checkout/components/stripe/checkout-form.js +1 -1
- package/build/components/checkout/components/stripe-express/index.d.ts +7 -0
- package/build/components/checkout/components/stripe-express/index.js +1 -0
- package/build/components/checkout/components/stripe-express/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/coupon-code-tag.d.ts +6 -0
- package/build/components/checkout/components/svg/coupon-code-tag.js +1 -0
- package/build/components/checkout/components/svg/credit-balance.d.ts +6 -0
- package/build/components/checkout/components/svg/credit-balance.js +1 -0
- package/build/components/checkout/components/svg/gift-cart-tag.d.ts +6 -0
- package/build/components/checkout/components/svg/gift-cart-tag.js +1 -0
- package/build/components/checkout/components/svg/gift-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/gift-loyalty.js +1 -0
- package/build/components/checkout/components/svg/info.d.ts +6 -0
- package/build/components/checkout/components/svg/info.js +1 -0
- package/build/components/checkout/components/svg/package-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/package-loyalty.js +1 -0
- package/build/components/checkout/components/svg/percentage-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/percentage-loyalty.js +1 -0
- package/build/components/checkout/components/svg/refresh.d.ts +6 -0
- package/build/components/checkout/components/svg/refresh.js +1 -0
- package/build/components/checkout/components/svg/star-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/star-loyalty.js +1 -0
- package/build/components/checkout/components/svg/store-credit-tag.d.ts +6 -0
- package/build/components/checkout/components/svg/store-credit-tag.js +1 -0
- package/build/components/checkout/components/svg/subscription.d.ts +6 -0
- package/build/components/checkout/components/svg/subscription.js +1 -0
- package/build/components/checkout/components/tkpay/index.d.ts +8 -0
- package/build/components/checkout/components/tkpay/index.js +1 -0
- package/build/components/checkout/components/toggle/index.d.ts +2 -0
- package/build/components/checkout/components/toggle/index.js +1 -1
- package/build/components/checkout/components/toggle/style.module.scss.js +1 -1
- package/build/components/checkout/index.d.ts +2 -0
- package/build/components/checkout/index.js +1 -1
- package/build/components/checkout/model.d.ts +232 -8
- package/build/components/checkout/model.js +1 -1
- package/build/components/checkout/modelMasterPass.d.ts +6 -2
- package/build/components/checkout/modelMasterPass.js +1 -1
- package/build/components/checkout/steps/step-info/index.js +1 -1
- package/build/components/checkout/steps/step-info/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -1
- package/build/components/checkout/steps/step-payment/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/header.d.ts +4 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/header.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/index.d.ts +14 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/login-required.d.ts +13 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/login-required.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/miles-smiles-logo.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/miles-smiles-logo.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/saved-cards/index.d.ts +10 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/saved-cards/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/saved-cards/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -1
- package/build/components/checkout/steps/step-shipping/index.js +1 -1
- package/build/components/checkout/steps/step-success/index.js +1 -1
- package/build/components/checkout/style.module.scss.js +1 -1
- package/build/components/image/index.d.ts +1 -0
- package/build/components/image/index.js +1 -1
- package/build/components/index.d.ts +3 -0
- package/build/components/page/head.js +1 -1
- package/build/components/page/index.d.ts +1 -1
- package/build/components/page/index.js +1 -1
- package/build/components/page/widgets/common.d.ts +2 -0
- package/build/components/page/widgets/common.js +1 -0
- package/build/components/page/widgets/loyaltyWidget.d.ts +13 -0
- package/build/components/page/widgets/loyaltyWidget.js +1 -0
- package/build/components/page/widgets/popupWidget.d.ts +16 -0
- package/build/components/page/widgets/popupWidget.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.js +1 -1
- package/build/components/page-editor/model.d.ts +2 -0
- package/build/components/page-editor/model.js +1 -1
- package/build/components/pay-with-ikas/index.d.ts +9 -0
- package/build/components/pay-with-ikas/index.js +1 -0
- package/build/components/paypal-express-checkout/index.d.ts +9 -0
- package/build/components/paypal-express-checkout/index.js +1 -0
- package/build/components/plain-image/index.d.ts +13 -0
- package/build/components/plain-image/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/config/index.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/getCountries.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/getCountryCallingCode.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/isSupportedCountry.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/parsePhoneNumber.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/ObserverComponent.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/index.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/observer.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/useObserver.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/UniversalFinalizationRegistry.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/assertEnvironment.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/observerBatching.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/observerFinalizationRegistry.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/printDebugValue.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/button-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/checkbox-item-view/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/input-item-view/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/phone-input-item-view/get-countries.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/phone-input-item-view/index.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/image-column-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/image-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/product-list-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/social-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/helpers/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/form/form-settings/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/image/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/image-column/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/product/index.js +1 -1
- package/build/hooks/useCustomerReviews.d.ts +2 -0
- package/build/hooks/useCustomerReviews.js +1 -1
- package/build/hooks/useDimension.js +1 -1
- package/build/hooks/useStore.js +1 -1
- package/build/index.js +1 -1
- package/build/models/data/cart/index.d.ts +2 -1
- package/build/models/data/cart/index.js +1 -1
- package/build/models/data/checkout-settings/address-field-restriction/index.d.ts +10 -0
- package/build/models/data/checkout-settings/address-field-restriction/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +3 -0
- package/build/models/data/checkout-settings/index.js +1 -1
- package/build/models/data/customer/address/ikas-localized-customer-address.d.ts +1 -0
- package/build/models/data/customer/address/ikas-localized-customer-address.js +1 -1
- package/build/models/data/customer/review/index.d.ts +4 -1
- package/build/models/data/customer/review/index.js +1 -1
- package/build/models/data/index.d.ts +6 -0
- package/build/models/data/order/address/ikas-localized-order-address.d.ts +1 -0
- package/build/models/data/order/address/ikas-localized-order-address.js +1 -1
- package/build/models/data/order/adjustment/index.d.ts +3 -1
- package/build/models/data/order/adjustment/index.js +1 -1
- package/build/models/data/order/gift-card-line/index.d.ts +2 -1
- package/build/models/data/order/gift-card-line/index.js +1 -1
- package/build/models/data/order/index.d.ts +21 -2
- package/build/models/data/order/index.js +1 -1
- package/build/models/data/order/line-item/bundle-product-settings/index.d.ts +9 -0
- package/build/models/data/order/line-item/bundle-product-settings/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +9 -1
- package/build/models/data/order/line-item/index.js +1 -1
- package/build/models/data/order/line-item/order-line-item-subscription-plan/index.d.ts +8 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/index.js +1 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-discount/index.d.ts +6 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-discount/index.js +1 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-period/index.d.ts +14 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-period/index.js +1 -0
- package/build/models/data/order/loyalty-line/index.d.ts +9 -0
- package/build/models/data/order/loyalty-line/index.js +1 -0
- package/build/models/data/order/order-transaction-with-prices/index.d.ts +1 -0
- package/build/models/data/order/order-transaction-with-prices/index.js +1 -1
- package/build/models/data/order/refund/reason/index.d.ts +8 -0
- package/build/models/data/order/refund/reason/index.js +1 -0
- package/build/models/data/order/refund/reason/translation/index.d.ts +6 -0
- package/build/models/data/order/refund/reason/translation/index.js +1 -0
- package/build/models/data/order/refund/refundable-line/index.d.ts +10 -0
- package/build/models/data/order/refund/refundable-line/index.js +1 -0
- package/build/models/data/order/refund/refundable-lines/index.d.ts +10 -0
- package/build/models/data/order/refund/refundable-lines/index.js +1 -0
- package/build/models/data/order/refund/settings/index.d.ts +1 -0
- package/build/models/data/order/refund/settings/index.js +1 -1
- package/build/models/data/order/refund/settings/translation/index.d.ts +6 -0
- package/build/models/data/order/refund/settings/translation/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +1 -0
- package/build/models/data/payment-gateway/index.js +1 -1
- package/build/models/data/product/campaign-offer/index.d.ts +2 -0
- package/build/models/data/product/campaign-offer/index.js +1 -1
- package/build/models/data/product/filter/index.d.ts +2 -0
- package/build/models/data/product/filter/index.js +1 -1
- package/build/models/data/product/index.d.ts +10 -0
- package/build/models/data/product/index.js +1 -1
- package/build/models/data/product/translations/index.d.ts +7 -0
- package/build/models/data/product/translations/index.js +1 -0
- package/build/models/data/product/variant/bundle-settings/bundle-product/index.js +1 -1
- package/build/models/data/product/variant/index.d.ts +3 -0
- package/build/models/data/product/variant/index.js +1 -1
- package/build/models/data/product/variant/subscription-plan/index.d.ts +12 -0
- package/build/models/data/product/variant/subscription-plan/index.js +1 -0
- package/build/models/data/product/variant/subscription-plan/product-subscription-plan-discount/index.d.ts +6 -0
- package/build/models/data/product/variant/subscription-plan/product-subscription-plan-period/index.d.ts +23 -0
- package/build/models/data/product/variant/subscription-plan/product-subscription-plan-period/index.js +1 -0
- package/build/models/data/store-credit-balance/index.d.ts +26 -0
- package/build/models/data/store-credit-balance/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +1 -0
- package/build/models/data/storefront/index.js +1 -1
- package/build/models/data/storefront-popup/index.d.ts +1 -0
- package/build/models/data/storefront-popup/index.js +1 -1
- package/build/models/data/storefront-popup/storefront-popup-display-filter/index.d.ts +4 -7
- package/build/models/data/storefront-popup/storefront-popup-display-filter/index.js +1 -1
- package/build/models/data/theme-json/component/prop/index.d.ts +1 -0
- package/build/models/data/theme-json/component/prop/index.js +1 -1
- package/build/models/data/theme-json/custom-data/index.d.ts +1 -0
- package/build/models/data/theme-json/custom-data/index.js +1 -1
- package/build/models/data/theme-json/index.js +1 -1
- package/build/models/ui/blog-category-list/index.js +1 -1
- package/build/models/ui/blog-list/index.d.ts +10 -1
- package/build/models/ui/blog-list/index.js +1 -1
- package/build/models/ui/brand-list/index.js +1 -1
- package/build/models/ui/category-list/index.js +1 -1
- package/build/models/ui/customer-review-list/index.d.ts +8 -0
- package/build/models/ui/customer-review-list/index.js +1 -1
- package/build/models/ui/customer-review-summary-list/index.js +1 -1
- package/build/models/ui/product-list/index.d.ts +25 -2
- package/build/models/ui/product-list/index.js +1 -1
- package/build/models/ui/raffle-list/index.js +1 -1
- package/build/models/ui/validator/form/account-info.js +1 -1
- package/build/models/ui/validator/form/address.js +1 -1
- package/build/models/ui/validator/form/ikas-address.js +1 -1
- package/build/models/ui/validator/form/login.d.ts +20 -6
- package/build/models/ui/validator/form/login.js +1 -1
- package/build/models/ui/validator/form/register.d.ts +15 -6
- package/build/models/ui/validator/form/register.js +1 -1
- package/build/page-data-init/index.d.ts +22 -0
- package/build/page-data-init/index.js +1 -1
- package/build/pages/checkout.js +1 -1
- package/build/store/blog/index.js +1 -1
- package/build/store/brand/index.js +1 -1
- package/build/store/cart/api.d.ts +3 -1
- package/build/store/cart/api.js +1 -1
- package/build/store/cart/index.d.ts +28 -2
- package/build/store/cart/index.js +1 -1
- package/build/store/category/index.js +1 -1
- package/build/store/checkout/index.d.ts +10 -1
- package/build/store/checkout/index.js +1 -1
- package/build/store/customer/api.d.ts +37 -13
- package/build/store/customer/api.js +1 -1
- package/build/store/customer/index.d.ts +100 -9
- package/build/store/customer/index.js +1 -1
- package/build/store/html-meta-data/index.js +1 -1
- package/build/store/index.d.ts +2 -0
- package/build/store/location/index.js +1 -1
- package/build/store/product/index.d.ts +2 -1
- package/build/store/product/index.js +1 -1
- package/build/utils/helper.d.ts +2 -0
- package/build/utils/helper.js +1 -1
- package/build/utils/miles-smiles.d.ts +19 -0
- package/build/utils/miles-smiles.js +1 -0
- package/package.json +18 -16
- package/build/components/popup/index.d.ts +0 -2
- package/build/components/popup/index.js +0 -1
- package/build/components/popup/renderer/index.d.ts +0 -8
- package/build/components/popup/renderer/index.js +0 -1
- package/build/components/popup/renderer/model.d.ts +0 -24
- package/build/components/popup/renderer/model.js +0 -1
- package/build/components/popup/utils/index.d.ts +0 -13
- package/build/components/popup/utils/index.js +0 -1
- package/build/store/storefront-popup/index.js +0 -1
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* postMessage contract between the checkout page (parent) and the
|
|
3
|
+
* secure card fields iframe served from its own origin
|
|
4
|
+
* (apps/secure-card-fields).
|
|
5
|
+
*
|
|
6
|
+
* Raw card data (PAN, CVV, expiry, holder name) must NEVER appear in any
|
|
7
|
+
* message below. The only card-derived values allowed to cross the frame
|
|
8
|
+
* boundary are the BIN (first 8 digits, needed for installment lookup) and
|
|
9
|
+
* the detected brand. The frame adds the card to the sale request itself and
|
|
10
|
+
* only returns the API's transaction result.
|
|
11
|
+
*
|
|
12
|
+
* This file has no imports on purpose: it is bundled into both the
|
|
13
|
+
* storefront and the iframe app.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SECURE_CARD_PROTOCOL = "ikas-secure-card";
|
|
16
|
+
export declare const SECURE_CARD_PROTOCOL_VERSION = 1;
|
|
17
|
+
export declare type SecureCardFieldName = "cardNumber" | "cardHolderName" | "expirationDate" | "cvv";
|
|
18
|
+
export declare const SECURE_CARD_FIELD_NAMES: SecureCardFieldName[];
|
|
19
|
+
export declare type SecureCardFieldState = {
|
|
20
|
+
isEmpty: boolean;
|
|
21
|
+
isValid: boolean;
|
|
22
|
+
};
|
|
23
|
+
export declare type SecureCardFieldsState = Record<SecureCardFieldName, SecureCardFieldState>;
|
|
24
|
+
export declare type SecureCardBrand = "VISA" | "MASTER_CARD" | "AMERICAN_EXPRESS" | "TROY" | "UNKNOWN";
|
|
25
|
+
/**
|
|
26
|
+
* Only these CSS custom properties are accepted by the frame. Values are
|
|
27
|
+
* validated inside the frame as well, so a hostile parent cannot inject
|
|
28
|
+
* `url(...)` or other CSS that could exfiltrate input values.
|
|
29
|
+
*/
|
|
30
|
+
export declare const SECURE_CARD_THEME_KEYS: readonly ["--checkout-primary-text-color", "--checkout-secondary-text-color", "--checkout-primary-bg-color", "--checkout-border-color", "--checkout-button-bg-color", "--checkout-error-color"];
|
|
31
|
+
export declare type SecureCardThemeKey = typeof SECURE_CARD_THEME_KEYS[number];
|
|
32
|
+
export declare type SecureCardTheme = Partial<Record<SecureCardThemeKey, string>> & {
|
|
33
|
+
fontFamily?: string;
|
|
34
|
+
fontSize?: string;
|
|
35
|
+
};
|
|
36
|
+
export declare type SecureCardLabels = {
|
|
37
|
+
cardNumber: string;
|
|
38
|
+
cardNumberError: string;
|
|
39
|
+
cardHolderName: string;
|
|
40
|
+
cardHolderNameError: string;
|
|
41
|
+
expirationDate: string;
|
|
42
|
+
expirationDateError: string;
|
|
43
|
+
cvv: string;
|
|
44
|
+
cvvError: string;
|
|
45
|
+
cvvTooltip: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* "Save card to MasterPass" consent, rendered inside the card frame so that
|
|
49
|
+
* only a real click there can authorise handing the card to MasterPass.
|
|
50
|
+
* Parts flagged `isLink` are rendered as a link to the MasterPass terms,
|
|
51
|
+
* whose URL is fixed inside the frame.
|
|
52
|
+
*/
|
|
53
|
+
export declare type SecureCardMasterPassConfig = {
|
|
54
|
+
labelParts: {
|
|
55
|
+
text: string;
|
|
56
|
+
isLink: boolean;
|
|
57
|
+
}[];
|
|
58
|
+
/** Phone number the card will be saved to, shown next to the checkbox. */
|
|
59
|
+
phoneNumber: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Which inputs the frame shows, from its `mode` query parameter.
|
|
63
|
+
* - `card`: the full card form.
|
|
64
|
+
* - `cvv`: only the CVC of a PayTR saved card (DEV-3623). The card itself is
|
|
65
|
+
* stored at PayTR; the frame adds the typed CVC to `savedCardDetail`.
|
|
66
|
+
*/
|
|
67
|
+
export declare type SecureCardFrameMode = "card" | "cvv";
|
|
68
|
+
/** `createSaleTransactionWithCart` input fields shared by both modes. */
|
|
69
|
+
export declare type SecureCardSaleBaseInput = {
|
|
70
|
+
cartId: string;
|
|
71
|
+
paymentGatewayId?: string | null;
|
|
72
|
+
masterPassDetail?: object | null;
|
|
73
|
+
metadata?: object | null;
|
|
74
|
+
milesSmiles?: object | null;
|
|
75
|
+
/** PayTR card storage (DEV-3623): save the card with this sale. */
|
|
76
|
+
storeCard?: boolean;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* `createSaleTransactionWithCart` input as built by the checkout, minus the
|
|
80
|
+
* card. In `card` mode `paymentMethodDetail` may only carry
|
|
81
|
+
* `installmentCount` and `threeDSecure` and the frame adds the card fields.
|
|
82
|
+
* In `cvv` mode `savedCardDetail` carries no CVC and the frame adds it.
|
|
83
|
+
*/
|
|
84
|
+
export declare type SecureCardSaleInput = SecureCardSaleBaseInput & ({
|
|
85
|
+
paymentMethodDetail: {
|
|
86
|
+
installmentCount: number;
|
|
87
|
+
threeDSecure: boolean;
|
|
88
|
+
};
|
|
89
|
+
savedCardDetail?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
savedCardDetail: {
|
|
92
|
+
savedCardId: string;
|
|
93
|
+
installmentCount: number;
|
|
94
|
+
};
|
|
95
|
+
paymentMethodDetail?: undefined;
|
|
96
|
+
});
|
|
97
|
+
/**
|
|
98
|
+
* Storefront API request headers the frame forwards (see setAPIClientConfig).
|
|
99
|
+
* `x-checkout-origin` is not here: the frame sets it from the verified parent
|
|
100
|
+
* origin, and the page must not be able to supply it.
|
|
101
|
+
*/
|
|
102
|
+
export declare const SECURE_CARD_API_HEADER_NAMES: readonly ["x-api-key", "x-sfid", "x-sfrid", "x-sid", "x-vid", "x-jid", "x-timezone", "x-coupon-code"];
|
|
103
|
+
export declare type SecureCardSaleRequest = {
|
|
104
|
+
input: SecureCardSaleInput;
|
|
105
|
+
headers: Partial<Record<typeof SECURE_CARD_API_HEADER_NAMES[number], string>>;
|
|
106
|
+
/** Customer token, sent as a Bearer token. */
|
|
107
|
+
token: string | null;
|
|
108
|
+
};
|
|
109
|
+
/** Mirrors the storefront API's TransactionResponse. */
|
|
110
|
+
export declare type SecureCardSaleResponse = {
|
|
111
|
+
error: {
|
|
112
|
+
code: string | null;
|
|
113
|
+
declineCode: string | null;
|
|
114
|
+
message: string | null;
|
|
115
|
+
} | null;
|
|
116
|
+
orderId: string | null;
|
|
117
|
+
orderNumber: string | null;
|
|
118
|
+
returnSlug: string | null;
|
|
119
|
+
sessionToken: string | null;
|
|
120
|
+
transactionId: string | null;
|
|
121
|
+
transactionStatus: string | null;
|
|
122
|
+
};
|
|
123
|
+
export declare type SecureCardGraphQLError = {
|
|
124
|
+
message: string;
|
|
125
|
+
extensions?: {
|
|
126
|
+
code?: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export declare type SecureCardSaleErrorCode = "INVALID_CARD" | "BAD_REQUEST" | "BUSY" | "NETWORK_ERROR" | "TIMEOUT";
|
|
130
|
+
export declare type SecureCardParentMessage = {
|
|
131
|
+
type: "init";
|
|
132
|
+
theme: SecureCardTheme;
|
|
133
|
+
labels: SecureCardLabels;
|
|
134
|
+
showErrors: boolean;
|
|
135
|
+
/** Loads the MasterPass SDK in the frame. */
|
|
136
|
+
masterPassEnabled: boolean;
|
|
137
|
+
} | {
|
|
138
|
+
type: "update";
|
|
139
|
+
theme?: SecureCardTheme;
|
|
140
|
+
labels?: SecureCardLabels;
|
|
141
|
+
showErrors?: boolean;
|
|
142
|
+
/** Brand resolved by the installment lookup, overrides local detection. */
|
|
143
|
+
cardBrand?: SecureCardBrand | null;
|
|
144
|
+
/** null hides the MasterPass consent checkbox. */
|
|
145
|
+
masterPass?: SecureCardMasterPassConfig | null;
|
|
146
|
+
} | {
|
|
147
|
+
type: "submitSale";
|
|
148
|
+
requestId: string;
|
|
149
|
+
request: SecureCardSaleRequest;
|
|
150
|
+
} | {
|
|
151
|
+
type: "reset";
|
|
152
|
+
};
|
|
153
|
+
export declare type SecureCardFrameMessage = {
|
|
154
|
+
type: "ready";
|
|
155
|
+
} | {
|
|
156
|
+
type: "change";
|
|
157
|
+
fields: SecureCardFieldsState;
|
|
158
|
+
isValid: boolean;
|
|
159
|
+
/** First 8 digits once at least 8 digits are entered, otherwise null. */
|
|
160
|
+
bin: string | null;
|
|
161
|
+
brand: SecureCardBrand;
|
|
162
|
+
} | {
|
|
163
|
+
type: "resize";
|
|
164
|
+
height: number;
|
|
165
|
+
} | {
|
|
166
|
+
type: "masterPassConsent";
|
|
167
|
+
checked: boolean;
|
|
168
|
+
} | {
|
|
169
|
+
type: "saleResult";
|
|
170
|
+
requestId: string;
|
|
171
|
+
ok: true;
|
|
172
|
+
data: SecureCardSaleResponse | null;
|
|
173
|
+
errors: SecureCardGraphQLError[];
|
|
174
|
+
} | {
|
|
175
|
+
type: "saleResult";
|
|
176
|
+
requestId: string;
|
|
177
|
+
ok: false;
|
|
178
|
+
errorCode: SecureCardSaleErrorCode;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* MasterPass calls. The card frame also hosts the MasterPass SDK, and every
|
|
182
|
+
* MasterPass call goes through it because the SDK keeps per-flow state (e.g.
|
|
183
|
+
* the token OTP validation refers to) in memory. For `register` the frame
|
|
184
|
+
* adds the card from its own inputs; the parent never sends card fields.
|
|
185
|
+
*/
|
|
186
|
+
export declare type MasterPassMethod = "checkMasterPass" | "register" | "linkCardToClient" | "validateTransaction" | "resendOtp" | "listCards" | "deleteCard";
|
|
187
|
+
/** Saved MasterPass card. `Value1` is masked by MasterPass (e.g. 557113******75). */
|
|
188
|
+
export declare type MasterPassCard = {
|
|
189
|
+
BankIca: string;
|
|
190
|
+
CardStatus: string;
|
|
191
|
+
EftCode: string;
|
|
192
|
+
IsMasterPassMember: string;
|
|
193
|
+
LoyaltyCode: string;
|
|
194
|
+
Name: string;
|
|
195
|
+
ProductName: string;
|
|
196
|
+
PromtCpin: string;
|
|
197
|
+
UniqueId: string;
|
|
198
|
+
Value1: string;
|
|
199
|
+
Value2: string;
|
|
200
|
+
};
|
|
201
|
+
export declare type MasterPassResponse = {
|
|
202
|
+
responseCode: string;
|
|
203
|
+
responseDescription?: string;
|
|
204
|
+
transactionId?: string;
|
|
205
|
+
accountStatus?: string;
|
|
206
|
+
url3D?: string;
|
|
207
|
+
cards?: MasterPassCard[];
|
|
208
|
+
};
|
|
209
|
+
export declare type MasterPassCallErrorCode = "SDK_UNAVAILABLE" | "BAD_REQUEST" | "CONSENT_REQUIRED" | "INVALID_CARD" | "SDK_ERROR";
|
|
210
|
+
export declare type MasterPassParentMessage = {
|
|
211
|
+
type: "masterPassCall";
|
|
212
|
+
requestId: string;
|
|
213
|
+
method: MasterPassMethod;
|
|
214
|
+
clientId: string;
|
|
215
|
+
/** Plain string params; card fields are rejected by the frame. */
|
|
216
|
+
params: Record<string, string>;
|
|
217
|
+
};
|
|
218
|
+
export declare type MasterPassFrameMessage = {
|
|
219
|
+
type: "masterPassResult";
|
|
220
|
+
requestId: string;
|
|
221
|
+
ok: true;
|
|
222
|
+
status: number;
|
|
223
|
+
response: MasterPassResponse;
|
|
224
|
+
} | {
|
|
225
|
+
type: "masterPassResult";
|
|
226
|
+
requestId: string;
|
|
227
|
+
ok: false;
|
|
228
|
+
errorCode: MasterPassCallErrorCode;
|
|
229
|
+
};
|
|
230
|
+
declare type AnyMessage = SecureCardParentMessage | SecureCardFrameMessage | MasterPassParentMessage | MasterPassFrameMessage;
|
|
231
|
+
export declare type SecureCardEnvelope<T extends AnyMessage> = {
|
|
232
|
+
protocol: typeof SECURE_CARD_PROTOCOL;
|
|
233
|
+
version: typeof SECURE_CARD_PROTOCOL_VERSION;
|
|
234
|
+
/** Distinguishes multiple frames on the same page. */
|
|
235
|
+
channelId: string;
|
|
236
|
+
payload: T;
|
|
237
|
+
};
|
|
238
|
+
export declare function createEnvelope<T extends AnyMessage>(channelId: string, payload: T): SecureCardEnvelope<T>;
|
|
239
|
+
export declare function isEnvelope(data: unknown, channelId: string): data is SecureCardEnvelope<any>;
|
|
240
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o="ikas-secure-card",r=1,c=["--checkout-primary-text-color","--checkout-secondary-text-color","--checkout-primary-bg-color","--checkout-border-color","--checkout-button-bg-color","--checkout-error-color"],e=["x-api-key","x-sfid","x-sfrid","x-sid","x-vid","x-jid","x-timezone","x-coupon-code"];function t(o,r){return{protocol:"ikas-secure-card",version:1,channelId:o,payload:r}}function a(o,r){if(!o||"object"!=typeof o)return!1;var c=o;return"ikas-secure-card"===c.protocol&&1===c.version&&c.channelId===r&&!!c.payload&&"string"==typeof c.payload.type}export{e as SECURE_CARD_API_HEADER_NAMES,o as SECURE_CARD_PROTOCOL,r as SECURE_CARD_PROTOCOL_VERSION,c as SECURE_CARD_THEME_KEYS,t as createEnvelope,a as isEnvelope};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'./../../../../ext/style-inject/dist/style-inject.es.js';var n={SecureCardForm:"style-module_SecureCardForm__lph3n",Frame:"style-module_Frame__jiho4",FrameHidden:"style-module_FrameHidden__pMTxp",Skeleton:"style-module_Skeleton__WRJA7",SkeletonHidden:"style-module_SkeletonHidden__I-m6B",SkeletonRow:"style-module_SkeletonRow__F3ARa",SkeletonGrid:"style-module_SkeletonGrid__Fl34l",SkeletonInput:"style-module_SkeletonInput__HB0su",SkeletonLabel:"style-module_SkeletonLabel__TauRG",SecureCardSkeletonPulse:"style-module_SecureCardSkeletonPulse__fPW1j"};e(".style-module_SecureCardForm__lph3n {\n position: relative;\n}\n\n.style-module_Frame__jiho4 {\n display: block;\n width: calc(100% + 4px);\n margin: -2px;\n border: 0;\n opacity: 1;\n transition: opacity 0.15s;\n}\n.style-module_FrameHidden__pMTxp {\n opacity: 0;\n visibility: hidden;\n}\n\n.style-module_Skeleton__WRJA7 {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n pointer-events: none;\n opacity: 1;\n transition: opacity 0.15s;\n}\n.style-module_SkeletonHidden__I-m6B {\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.15s, visibility 0s 0.15s;\n}\n\n.style-module_SkeletonRow__F3ARa {\n padding-bottom: 16px;\n}\n\n.style-module_SkeletonGrid__Fl34l {\n display: grid;\n grid-gap: 16px;\n grid-template-columns: repeat(2, 1fr);\n}\n\n.style-module_SkeletonInput__HB0su {\n box-sizing: border-box;\n height: 56px;\n border: 1px solid var(--checkout-border-color);\n border-radius: 8px;\n background-color: var(--checkout-primary-bg-color);\n padding: 0 16px;\n display: flex;\n align-items: center;\n}\n\n.style-module_SkeletonLabel__TauRG {\n height: 10px;\n width: 40%;\n max-width: 160px;\n border-radius: 5px;\n background-color: var(--checkout-border-color);\n animation: style-module_SecureCardSkeletonPulse__fPW1j 1.2s ease-in-out infinite;\n}\n@media (prefers-reduced-motion: reduce) {\n .style-module_SkeletonLabel__TauRG {\n animation: none;\n }\n}\n\n@keyframes style-module_SecureCardSkeletonPulse__fPW1j {\n 0%, 100% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n}");export{n as default};
|
|
@@ -6,6 +6,9 @@ declare type Props = {
|
|
|
6
6
|
rightContent?: React.ReactElement;
|
|
7
7
|
bottomContent?: React.ReactNode;
|
|
8
8
|
bottomContentVisible?: boolean;
|
|
9
|
+
/** Keeps bottomContent mounted (hidden) while not shown, e.g. for iframes
|
|
10
|
+
* that must not reload. */
|
|
11
|
+
keepBottomContentMounted?: boolean;
|
|
9
12
|
hasError?: boolean;
|
|
10
13
|
errorText?: string;
|
|
11
14
|
onClick?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{observer as t}from"mobx-react-lite";import o from"./style.module.scss.js";import{Toggle as
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import o from"./style.module.scss.js";import{Toggle as n}from"../toggle/index.js";var r=t((function(t){var r=t.label,a=t.description,l=t.isSelected,m=t.rightContent,s=t.bottomContent,i=t.bottomContentVisible,c=t.keepBottomContentMounted,d=t.hasError,u=t.errorText,v=t.onClick,p=e.useMemo((function(){var e=[o.SelectBox];return l&&e.push(o.Selected),l&&d&&e.push(o.Error),e.join(" ")}),[l]),C=e.useMemo((function(){return e.createElement("div",{className:o.BottomContent},s)}),[s]);return e.createElement("div",{className:o.SelectBoxContainer},e.createElement("div",{className:p,onClick:v},e.createElement("div",{className:o.TopContent},e.createElement(n,{value:l,label:r,description:a,removePadding:!0}),!!m&&e.createElement("div",{className:o.RightContent},m)),!!s&&(c?e.createElement("div",{className:o.BottomContent,style:l||i?void 0:{display:"none"}},s):(l||i)&&C)),!!u&&d&&l&&e.createElement("div",{className:o.SelectBoxError},u))}));export{r as default};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import CheckoutViewModel, { CheckoutStep } from "../../model";
|
|
2
3
|
declare type Props = {
|
|
3
4
|
steps: Step[];
|
|
4
5
|
stepContent: React.ReactElement;
|
|
6
|
+
step?: CheckoutStep;
|
|
7
|
+
hasTopMargin?: boolean;
|
|
8
|
+
vm: CheckoutViewModel;
|
|
9
|
+
isMobile?: boolean;
|
|
5
10
|
};
|
|
6
11
|
declare const StepContainer: React.FC<Props>;
|
|
7
12
|
export default StepContainer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import{makeAutoObservable as i}from"mobx";import n from"../checkbox/check.js";import a from"./style.module.scss.js";import{PayWithIkas as o}from"../../../pay-with-ikas/index.js";import{CheckoutStep as l}from"../../model.js";import{IkasStorefrontConfig as s}from"@ikas/storefront-config";import{isLoyaltyBlockVisible as r,LoyaltyPointsBlock as m}from"../cart-summary/loyalty/index.js";import c from"next/dynamic";c((function(){return import("../stripe-express/index.js").then((function(e){return e.default}))}));var d=t((function(t){var i=t.steps,c=t.stepContent,d=t.step,p=t.hasTopMargin,u=t.vm,f=t.isMobile;e.useEffect((function(){var e,t;if(document.body.getBoundingClientRect().width<768){var n=i.findIndex((function(e){return e.isSelected}));if(0===n)return;2===n?null===(e=document.getElementById("step-".concat(1)))||void 0===e||e.scrollIntoView():null===(t=document.getElementById("step-".concat(n)))||void 0===t||t.scrollIntoView()}}),[]);var h=s.getPayWithIkasUrl(),v=s.getCurrentRouting(),C="tr"===(null==v?void 0:v.locale)&&"TRY"===(null==v?void 0:v.currencyCode)&&h&&d===l.INFO,E=!!f&&r(u);return e.createElement("div",{className:a.StepContainer},E&&e.createElement(m,{vm:u}),C&&e.createElement("div",{className:[a.PayWithIkasContainer,p?a.HasTopMargin:""].join(" ")},e.createElement("div",{className:a.PayWithIkasContent},e.createElement("span",{className:a.PayWithIkasTitle},"Hızlı Öde ile Kolay Alışveriş"),e.createElement("span",{className:a.PayWithIkasDescription},"Bilgilerini bir kez kaydet, 20.000 e-ticaret sitesinde tek tıkla öde.")),e.createElement("div",{className:a.PayWithIkasButton},e.createElement(o,{useExistingCart:!0}))),i.map((function(t,i){return e.createElement("div",{className:a.Step},e.createElement("div",{id:"step-".concat(i),className:[a.StepTitleContainer,0===i?a.First:""].join(" ")},e.createElement("div",{className:[a.StepTitleTop,t.titleRightContent?a.WithRightContent:""].join(" ")},e.createElement("div",{className:[a.StepCircle,t.isSelected||t.isComplete?a.Selected:""].join(" ").trim()},t.isComplete?e.createElement(n,null):i+1),e.createElement("div",{className:[a.StepTitle,t.isSelected||t.isComplete?"":a.Light].join(" ")},t.label),!!t.titleRightContent&&e.createElement("div",{className:a.StepTitleRightContent},t.titleRightContent)),!!t.titleBottomContent&&e.createElement("div",{className:a.StepTitleBottom},t.titleBottomContent)),t.isSelected&&e.createElement("div",{className:a.StepContent},c))})))})),p=function(e,t,n,a,o){this.label=e,this.isSelected=t,this.isComplete=n,this.titleRightContent=a,this.titleBottomContent=o,i(this)};export{p as Step,d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from'./../../../../ext/style-inject/dist/style-inject.es.js';var t={StepContainer:"style-module_StepContainer__2C4C1",Step:"style-module_Step__y2Vro",StepTitleContainer:"style-module_StepTitleContainer__A8Lkg",First:"style-module_First__jH8s6",StepTitleTop:"style-module_StepTitleTop__3PuCO",WithRightContent:"style-module_WithRightContent__IhjA-",StepCircle:"style-module_StepCircle__PGY--",Selected:"style-module_Selected__-Y7Yq",StepTitle:"style-module_StepTitle__hyDmR",Light:"style-module_Light__y8MER",StepTitleRightContent:"style-module_StepTitleRightContent__oFGFw",StepContent:"style-module_StepContent__9pGUV"};e(".style-module_StepContainer__2C4C1 {\n width: 100%;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro {\n width: 100%;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg {\n padding: 24px 0;\n border-top: 1px solid var(--checkout-border-color);\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg.style-module_First__jH8s6 {\n border-top: none;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitleTop__3PuCO {\n display: flex;\n align-items: center;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitleTop__3PuCO.style-module_WithRightContent__IhjA- {\n align-items: flex-start;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepCircle__PGY-- {\n width: 32px;\n height: 32px;\n border-radius: 100%;\n border: 1px solid var(--checkout-button-bg-color);\n color: var(--checkout-button-bg-color);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 16px;\n flex: 0 0 auto;\n font-size: 20px;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepCircle__PGY--.style-module_Selected__-Y7Yq {\n background-color: var(--checkout-button-bg-color);\n color: var(--checkout-button-text-color);\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepCircle__PGY--.style-module_Selected__-Y7Yq svg {\n transform: scale(1.5);\n position: relative;\n right: -1px;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitle__hyDmR {\n font-size: 22px;\n color: var(--checkout-primary-text-color);\n flex: 0 0 auto;\n font-weight: 600;\n line-height: 32px;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitle__hyDmR.style-module_Light__y8MER {\n color: var(--checkout-button-disabled-text-color);\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitleRightContent__oFGFw {\n flex: 1 1 auto;\n}\n.style-module_StepContainer__2C4C1 .style-module_StepContent__9pGUV {\n padding-bottom: 24px;\n padding-left: 48px;\n width: 100%;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_StepContainer__2C4C1 {\n padding: 0 24px;\n }\n .style-module_StepContainer__2C4C1 .style-module_StepContent__9pGUV {\n padding-left: 0px;\n }\n}");export{t as default};
|
|
1
|
+
import e from'./../../../../ext/style-inject/dist/style-inject.es.js';var t={StepContainer:"style-module_StepContainer__2C4C1",Step:"style-module_Step__y2Vro",StepTitleContainer:"style-module_StepTitleContainer__A8Lkg",First:"style-module_First__jH8s6",StepTitleTop:"style-module_StepTitleTop__3PuCO",WithRightContent:"style-module_WithRightContent__IhjA-",StepCircle:"style-module_StepCircle__PGY--",Selected:"style-module_Selected__-Y7Yq",StepTitle:"style-module_StepTitle__hyDmR",Light:"style-module_Light__y8MER",StepTitleRightContent:"style-module_StepTitleRightContent__oFGFw",StepContent:"style-module_StepContent__9pGUV",PayWithIkasContainer:"style-module_PayWithIkasContainer__ex863",PayWithIkasContent:"style-module_PayWithIkasContent__WSxkH",PayWithIkasTitle:"style-module_PayWithIkasTitle__67vhn",PayWithIkasDescription:"style-module_PayWithIkasDescription__k6kqx",PayWithIkasButton:"style-module_PayWithIkasButton__Z1rka",HasTopMargin:"style-module_HasTopMargin__6-CHw"};e(".style-module_StepContainer__2C4C1 {\n width: 100%;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro {\n width: 100%;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg {\n padding: 24px 0;\n border-top: 1px solid var(--checkout-border-color);\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg.style-module_First__jH8s6 {\n border-top: none;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitleTop__3PuCO {\n display: flex;\n align-items: center;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitleTop__3PuCO.style-module_WithRightContent__IhjA- {\n align-items: flex-start;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepCircle__PGY-- {\n width: 32px;\n height: 32px;\n border-radius: 100%;\n border: 1px solid var(--checkout-button-bg-color);\n color: var(--checkout-button-bg-color);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 16px;\n flex: 0 0 auto;\n font-size: 20px;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepCircle__PGY--.style-module_Selected__-Y7Yq {\n background-color: var(--checkout-button-bg-color);\n color: var(--checkout-button-text-color);\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepCircle__PGY--.style-module_Selected__-Y7Yq svg {\n transform: scale(1.5);\n position: relative;\n right: -1px;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitle__hyDmR {\n font-size: 22px;\n color: var(--checkout-primary-text-color);\n flex: 0 0 auto;\n font-weight: 600;\n line-height: 32px;\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitle__hyDmR.style-module_Light__y8MER {\n color: var(--checkout-button-disabled-text-color);\n}\n.style-module_StepContainer__2C4C1 .style-module_Step__y2Vro .style-module_StepTitleContainer__A8Lkg .style-module_StepTitleRightContent__oFGFw {\n flex: 1 1 auto;\n}\n.style-module_StepContainer__2C4C1 .style-module_StepContent__9pGUV {\n padding-bottom: 24px;\n padding-left: 48px;\n width: 100%;\n}\n.style-module_StepContainer__2C4C1 .style-module_PayWithIkasContainer__ex863 {\n border-radius: 8px;\n border: 1px solid #f4f4f5;\n padding: 20px;\n gap: 32px;\n height: 112px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #fafafa;\n margin-bottom: 20px;\n}\n.style-module_StepContainer__2C4C1 .style-module_PayWithIkasContent__WSxkH {\n display: flex;\n flex-direction: column;\n}\n.style-module_StepContainer__2C4C1 .style-module_PayWithIkasTitle__67vhn {\n font-size: 18px;\n font-weight: 500;\n color: #09090b;\n line-height: 28px;\n margin-bottom: 4px;\n}\n.style-module_StepContainer__2C4C1 .style-module_PayWithIkasDescription__k6kqx {\n font-size: 14px;\n font-weight: 400;\n color: #52525b;\n line-height: 20px;\n}\n.style-module_StepContainer__2C4C1 .style-module_PayWithIkasButton__Z1rka {\n height: 56px;\n}\n.style-module_StepContainer__2C4C1 .style-module_HasTopMargin__6-CHw {\n margin-top: 24px;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_StepContainer__2C4C1 .style-module_PayWithIkasContainer__ex863 {\n border-radius: 8px;\n border: 1px solid #f4f4f5;\n padding: 20px;\n gap: 16px;\n height: auto;\n flex-direction: column;\n align-items: inherit;\n margin-bottom: 8px;\n margin-top: 24px;\n }\n}\n@media only screen and (max-width: 1000px) {\n .style-module_StepContainer__2C4C1 {\n padding: 0 24px;\n }\n .style-module_StepContainer__2C4C1 .style-module_StepContent__9pGUV {\n padding-left: 0px;\n }\n}");export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as e,__generator as r}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as
|
|
1
|
+
import{__awaiter as e,__generator as r}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as o}from"mobx-react-lite";import{ErrorType as n}from"../../model.js";import{useStripe as m,useElements as a,PaymentElement as s}from"@stripe/react-stripe-js";import i from"./style.module.scss.js";var l=o((function(o){var l=o.callbackUrl,c=o.vm,d=m(),u=a(),f=t.useState(!0),p=f[0],b=f[1];return t.createElement(t.Fragment,null,t.createElement("form",{className:i.Form,id:"stripe-form",onSubmit:function(t){return e(void 0,void 0,void 0,(function(){var e;return r(this,(function(r){switch(r.label){case 0:return t.preventDefault(),d&&u&&l?(b(!0),[4,d.confirmPayment({elements:u,confirmParams:{return_url:l}})]):[2];case 1:return(e=r.sent().error)&&(console.log("stripe error",e),c.handlePaymentError(n.PAYMENT_ERROR,e.message),c.isStepLoading=!1,b(!1)),[2]}}))}))}},t.createElement(s,{onReady:function(){return b(!1)}}),t.createElement("button",{id:"stripe-form-btn",hidden:!0,disabled:!d}),p&&t.createElement("div",{className:i.Disabled},t.createElement("div",{className:i.loader}))))}));export{l as CheckoutForm};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as t}from'./../../../../ext/tslib/tslib.es6.js';import*as s from"react";import{observer as r}from"mobx-react-lite";import{ErrorType as i}from"../../model.js";import{useStripe as n,useElements as o,ExpressCheckoutElement as a,Elements as c}from"@stripe/react-stripe-js";import{loadStripe as l}from"@stripe/stripe-js";import u from"./style.module.scss.js";import{useTranslation as p}from"../../../../utils/i18n.js";var m=r((function(r){var c=r.vm,l=n(),p=o(),m=c.stripeExpressCheckoutSessionResponse;if(!m)return null;return s.createElement("div",{className:u.ExpressCheckoutWrapper,style:{visibility:c.isStripeExpressCheckoutSessionVisible?"visible":"hidden"}},s.createElement(a,{onConfirm:function(){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return l&&p?[4,l.confirmPayment({elements:p,confirmParams:{return_url:m.callbackUrl}})]:[2];case 1:return(e=t.sent().error)&&c.handlePaymentError(i.PAYMENT_ERROR,e.message),[2]}}))}))},onReady:function(e){e.availablePaymentMethods&&(c.isStripeExpressCheckoutSessionVisible=!0)},onShippingAddressChange:function(s){var r=s.resolve,i=s.reject,n=s.address;return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return[4,c.updateStripeExpressCheckoutSession({address:{city:(null==n?void 0:n.city)||null,country:(null==n?void 0:n.country)||null,postalCode:(null==n?void 0:n.postal_code)||null,state:(null==n?void 0:n.state)||null}})];case 1:return e.sent()?r():i(),[2]}}))}))},onShippingRateChange:function(s){var r=s.resolve,i=s.reject,n=s.shippingRate;return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return[4,c.updateStripeExpressCheckoutSession({shippingZoneRateId:(null==n?void 0:n.id)||null})];case 1:return e.sent()?r():i(),[2]}}))}))}}))})),d=r((function(r){var i=r.vm,n=s.useState(null),o=n[0],a=n[1],d=p().t,v=i.stripeExpressCheckoutSessionResponse;return s.useEffect((function(){!function(){e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return v?[4,l(v.apiKey,{stripeAccount:v.accountId})]:[3,2];case 1:e=t.sent(),a(e),t.label=2;case 2:return[2]}}))}))}()}),[v]),v?s.createElement("div",{style:{display:i.isStripeExpressCheckoutSessionVisible?"block":"none"},className:u.StripeExpressCheckoutContainer},s.createElement("div",{className:u.StripeExpressCheckoutTitle},d("checkout-page:stripeExpressCheckoutTitle")),s.createElement("div",{className:u.Container},s.createElement(c,{stripe:o,options:{clientSecret:v.clientSecret}},s.createElement(m,{vm:i}))),s.createElement("div",{className:u.StripeExpressCheckoutDivider},s.createElement("span",{className:u.StripeExpressCheckoutDividerLine}),s.createElement("span",{className:u.StripeExpressCheckoutDividerText},d("checkout-page:or")),s.createElement("span",{className:u.StripeExpressCheckoutDividerLine}))):null}));export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'./../../../../ext/style-inject/dist/style-inject.es.js';var t={StripeExpressCheckoutContainer:"style-module_StripeExpressCheckoutContainer__08prd",StripeExpressCheckoutTitle:"style-module_StripeExpressCheckoutTitle__zeDIp",StripeExpressCheckoutDivider:"style-module_StripeExpressCheckoutDivider__JVT-A",StripeExpressCheckoutDividerLine:"style-module_StripeExpressCheckoutDividerLine__feAyn",StripeExpressCheckoutDividerText:"style-module_StripeExpressCheckoutDividerText__9mIdS"};e("@media only screen and (max-width: 768px) {\n .style-module_StripeExpressCheckoutContainer__08prd {\n margin-top: 16px;\n }\n}\n.style-module_StripeExpressCheckoutContainer__08prd .style-module_StripeExpressCheckoutTitle__zeDIp {\n font-size: 22px;\n font-weight: 500;\n color: var(--checkout-primary-text-color);\n line-height: 32px;\n margin-bottom: 24px;\n}\n.style-module_StripeExpressCheckoutContainer__08prd .style-module_StripeExpressCheckoutDivider__JVT-A {\n display: flex;\n align-items: center;\n gap: 14px;\n margin-top: 16px;\n}\n.style-module_StripeExpressCheckoutContainer__08prd .style-module_StripeExpressCheckoutDividerLine__feAyn {\n flex: 1;\n height: 1px;\n background-color: var(--checkout-border-color);\n}\n.style-module_StripeExpressCheckoutContainer__08prd .style-module_StripeExpressCheckoutDividerText__9mIdS {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n letter-spacing: 0.5px;\n}");export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{d:"M13.7293 8.93967L8.94927 13.7197C8.82544 13.8436 8.67839 13.942 8.51652 14.0091C8.35466 14.0762 8.18116 14.1107 8.00594 14.1107C7.83072 14.1107 7.65721 14.0762 7.49535 14.0091C7.33349 13.942 7.18643 13.8436 7.0626 13.7197L1.33594 7.99967V1.33301H8.0026L13.7293 7.05967C13.9776 7.30949 14.117 7.64743 14.117 7.99967C14.117 8.35192 13.9776 8.68986 13.7293 8.93967Z",fill:"#CFCED3"}),e.createElement("path",{d:"M4.66406 4.66699H4.67073",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("g",{filter:"url(#filter0_ii_4315_5854)"},e.createElement("rect",{width:"24",height:"24",rx:"6",fill:"#FFBC1F"}),e.createElement("rect",{x:"0.2",y:"0.2",width:"23.6",height:"23.6",rx:"5.8",stroke:"#FFBC1F","stroke-width":"0.4"}),e.createElement("g",{"clip-path":"url(#clip0_4315_5854)"},e.createElement("path",{d:"M14.6278 14.6251C16.9095 14.3196 18.6693 12.3653 18.6693 9.99992C18.6693 7.42259 16.5799 5.33325 14.0026 5.33325C11.6373 5.33325 9.68293 7.09303 9.37745 9.37476M9.0026 12.6666L10.0026 11.9999V15.6666M9.0026 15.6666H11.0026M14.6693 13.9999C14.6693 16.5772 12.5799 18.6666 10.0026 18.6666C7.42528 18.6666 5.33594 16.5772 5.33594 13.9999C5.33594 11.4226 7.42528 9.33325 10.0026 9.33325C12.5799 9.33325 14.6693 11.4226 14.6693 13.9999Z",stroke:"white","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}))),e.createElement("defs",null,e.createElement("filter",{id:"filter0_ii_4315_5854",x:"0",y:"0",width:"24",height:"24",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},e.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:"-1"}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.903339 0 0 0 0 0.658627 0 0 0 0 0.085197 0 0 0 1 0"}),e.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4315_5854"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:"1"}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.16 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4315_5854",result:"effect2_innerShadow_4315_5854"})),e.createElement("clipPath",{id:"clip0_4315_5854"},e.createElement("rect",{width:"16",height:"16",fill:"white",transform:"translate(4 4)"}))))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e.createElement("g",{"clip-path":"url(#clip0_4350_5612)"},e.createElement("path",{d:"M14.9565 3.11611H13.7919C13.9455 2.87299 14.0469 2.60008 14.0758 2.31145C14.1681 1.38905 13.6823 0.562174 12.8553 0.19558C12.0951 -0.141389 11.2408 -0.0036388 10.6257 0.554299L9.15506 1.88711C8.86866 1.57386 8.45694 1.37699 8 1.37699C7.54225 1.37699 7.12988 1.57449 6.84341 1.8887L5.37091 0.554142C4.75475 -0.00379503 3.90081 -0.141014 3.14097 0.195767C2.31416 0.562392 1.82828 1.38955 1.92091 2.31192C1.94987 2.60033 2.05119 2.87311 2.20478 3.11611H1.04347C0.467156 3.11611 0 3.5833 0 4.15958V5.7248C0 6.01292 0.233594 6.24655 0.52175 6.24655H15.4783C15.7664 6.24655 16 6.01295 16 5.7248V4.15958C16 3.5833 15.5328 3.11611 14.9565 3.11611ZM6.43478 2.9422V3.11611H3.98031C3.33181 3.11611 2.82144 2.51155 2.98341 1.83636C3.05475 1.53902 3.26937 1.28555 3.54697 1.15724C3.92816 0.981049 4.35041 1.03761 4.67056 1.32739L6.43522 2.92683C6.43512 2.93199 6.43478 2.93705 6.43478 2.9422ZM13.0404 2.17292C13.0016 2.7152 12.5117 3.11617 11.9681 3.11617H9.56522V2.94227C9.56522 2.93611 9.56484 2.93002 9.56478 2.92386C9.96453 2.56149 10.8317 1.77549 11.3021 1.34914C11.5694 1.10686 11.9434 0.993767 12.2892 1.09689C12.7853 1.24489 13.0767 1.66683 13.0404 2.17292Z",fill:"#CFCED3"}),e.createElement("path",{d:"M1.04688 7.29004V14.9422C1.04688 15.5185 1.51403 15.9857 2.09034 15.9857H6.95991V7.29004H1.04688Z",fill:"#CFCED3"}),e.createElement("path",{d:"M9.04688 7.29004V15.9857H13.9164C14.4928 15.9857 14.9599 15.5185 14.9599 14.9422V7.29004H9.04688Z",fill:"#CFCED3"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_4350_5612"},e.createElement("rect",{width:"16",height:"16",fill:"white"}))))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{d:"M2.66406 7.33398V10.0007C2.66406 12.2005 2.66406 13.3005 3.34748 13.9839C4.0309 14.6673 5.13084 14.6673 7.33073 14.6673H8.66406C10.8639 14.6673 11.9639 14.6673 12.6473 13.9839C13.3307 13.3005 13.3307 12.2005 13.3307 10.0007V7.33398",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M2 5.99935C2 5.50089 2 5.25166 2.13397 5.06602C2.22174 4.9444 2.34798 4.84341 2.5 4.7732C2.73205 4.66602 3.04359 4.66602 3.66667 4.66602H12.3333C12.9564 4.66602 13.2679 4.66602 13.5 4.7732C13.652 4.84341 13.7783 4.9444 13.866 5.06602C14 5.25166 14 5.50089 14 5.99935C14 6.49781 14 6.74702 13.866 6.93268C13.7783 7.05428 13.652 7.15528 13.5 7.22548C13.2679 7.33268 12.9564 7.33268 12.3333 7.33268H3.66667C3.04359 7.33268 2.73205 7.33268 2.5 7.22548C2.34798 7.15528 2.22174 7.05428 2.13397 6.93268C2 6.74702 2 6.49781 2 5.99935Z",stroke:"#272727","stroke-width":"1.2","stroke-linejoin":"round"}),e.createElement("path",{d:"M4 2.52446C4 1.86698 4.53299 1.33398 5.19047 1.33398H5.42857C6.84873 1.33398 8 2.48525 8 3.90541V4.66732H6.14286C4.95939 4.66732 4 3.70792 4 2.52446Z",stroke:"#272727","stroke-width":"1.2","stroke-linejoin":"round"}),e.createElement("path",{d:"M12 2.52446C12 1.86698 11.467 1.33398 10.8095 1.33398H10.5714C9.15127 1.33398 8 2.48525 8 3.90541V4.66732H9.85713C11.0406 4.66732 12 3.70792 12 2.52446Z",stroke:"#272727","stroke-width":"1.2","stroke-linejoin":"round"}),e.createElement("path",{d:"M8 7.33398V14.6673",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none"},e.createElement("g",{filter:"url(#filter0_ii_4722_14637)"},e.createElement("rect",{width:"28",height:"28",rx:"6",fill:"#FFBC1F"}),e.createElement("rect",{x:"0.2",y:"0.2",width:"27.6",height:"27.6",rx:"5.8",stroke:"#FFBC1F","stroke-width":"0.4"}),e.createElement("g",{"clip-path":"url(#clip0_4722_14637)"},e.createElement("path",{d:"M14 11.3333V14M14 16.6666H14.0067M20.6667 14C20.6667 17.6819 17.6819 20.6666 14 20.6666C10.3181 20.6666 7.33334 17.6819 7.33334 14C7.33334 10.3181 10.3181 7.33331 14 7.33331C17.6819 7.33331 20.6667 10.3181 20.6667 14Z",stroke:"white","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}))),e.createElement("defs",null,e.createElement("filter",{id:"filter0_ii_4722_14637",x:"0",y:"0",width:"28",height:"28",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},e.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:"-1"}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.903339 0 0 0 0 0.658627 0 0 0 0 0.085197 0 0 0 1 0"}),e.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4722_14637"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:"1"}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.16 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4722_14637",result:"effect2_innerShadow_4722_14637"})),e.createElement("clipPath",{id:"clip0_4722_14637"},e.createElement("rect",{width:"16",height:"16",fill:"white",transform:"translate(6 6)"}))))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{d:"M14 4.66602V7.99935M2 4.66602C2 6.70902 2 11.1821 2 11.4402C2 12.3619 3.29709 12.9098 5.89129 14.0057C6.93347 14.4459 7.45453 14.666 8 14.666V7.56922",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M10 12.6667C10 12.6667 10.5833 12.6667 11.1667 14C11.1667 14 13.0196 10.6667 14.6667 10",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M5.55061 6.46157L3.60315 5.51922C2.53438 5.00205 2 4.74347 2 4.33398C2 3.9245 2.53438 3.66592 3.60315 3.14875L5.55061 2.2064C6.75253 1.62479 7.35353 1.33398 8 1.33398C8.64647 1.33398 9.24747 1.62478 10.4494 2.2064L12.3969 3.14875C13.4656 3.66592 14 3.9245 14 4.33398C14 4.74347 13.4656 5.00205 12.3969 5.51922L10.4494 6.46157C9.24747 7.04318 8.64647 7.33398 8 7.33398C7.35353 7.33398 6.75253 7.04318 5.55061 6.46157Z",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M4 8L5.33333 8.66667",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M11.3307 2.66602L4.66406 5.99935",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{d:"M7.32812 6.66602H7.33812M7.33059 10.666H7.34059",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M4.66406 8.66602H9.9974",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M11.6641 3.33398C12.2163 3.33398 12.6641 3.7817 12.6641 4.33398C12.6641 4.88627 12.2163 5.33398 11.6641 5.33398C11.1118 5.33398 10.6641 4.88627 10.6641 4.33398C10.6641 3.7817 11.1118 3.33398 11.6641 3.33398Z",stroke:"#272727","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}),e.createElement("path",{d:"M1.85209 7.42992C1.18333 8.17685 1.16894 9.30372 1.78271 10.0965C3.00068 11.6695 4.33377 13.0026 5.90683 14.2205C6.69954 14.8343 7.82641 14.8199 8.57334 14.1512C10.6012 12.3355 12.4583 10.4379 14.2505 8.35258C14.4277 8.14645 14.5385 7.89378 14.5634 7.62305C14.6734 6.42597 14.8994 2.9771 13.9628 2.04048C13.0261 1.10386 9.57727 1.32983 8.38021 1.43982C8.10947 1.4647 7.85681 1.57554 7.65061 1.75272C5.56535 3.54496 3.66781 5.40206 1.85209 7.42992Z",stroke:"#272727","stroke-width":"1.2"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var r=function(r){var t=r.className;return e.createElement("svg",{className:t,width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M24.5 14.0001C24.5021 16.4294 23.6618 18.7843 22.1223 20.6635C20.5827 22.5428 18.4391 23.83 16.0569 24.3059C13.6746 24.7817 11.201 24.4168 9.0576 23.2733C6.91421 22.1298 5.23365 20.2785 4.30229 18.0348C3.37093 15.791 3.24641 13.2938 3.94994 10.9685C4.65347 8.64329 6.14152 6.63393 8.16052 5.28287C10.1795 3.93181 12.6045 3.32265 15.0223 3.55918C17.4401 3.79572 19.7011 4.86331 21.42 6.58005L24.5 9.33338",stroke:"currentColor",strokeWidth:"2.1",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M24.4993 3.5V9.33333H18.666",stroke:"currentColor",strokeWidth:"2.1",strokeLinecap:"round",strokeLinejoin:"round"}))};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as C from"react";var e=function(e){var t=e.className;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 17 16",fill:"none",className:t},C.createElement("path",{d:"M7.73445 1.21776C7.90731 0.867554 7.99375 0.692452 8.11108 0.636506C8.21317 0.587831 8.33178 0.587831 8.43386 0.636506C8.5512 0.692452 8.63763 0.867554 8.8105 1.21776L10.4505 4.54023C10.5015 4.64362 10.5271 4.69532 10.5643 4.73545C10.5974 4.77099 10.637 4.79978 10.6809 4.82024C10.7306 4.84334 10.7877 4.85168 10.9018 4.86835L14.5702 5.40455C14.9565 5.46101 15.1497 5.48925 15.239 5.5836C15.3168 5.66569 15.3534 5.77849 15.3386 5.8906C15.3216 6.01946 15.1817 6.15566 14.9021 6.42806L12.2485 9.01258C12.1658 9.09315 12.1245 9.13344 12.0978 9.18137C12.0742 9.22381 12.059 9.27043 12.0531 9.31865C12.0465 9.37311 12.0563 9.43002 12.0758 9.54382L12.7019 13.1944C12.768 13.5794 12.801 13.7719 12.7389 13.8861C12.6849 13.9855 12.589 14.0553 12.4778 14.0759C12.3499 14.0996 12.1771 14.0087 11.8313 13.8268L8.55174 12.1021C8.44956 12.0484 8.39847 12.0215 8.34464 12.011C8.29698 12.0016 8.24796 12.0016 8.2003 12.011C8.14648 12.0215 8.09539 12.0484 7.9932 12.1021L4.71365 13.8268C4.3679 14.0087 4.19502 14.0996 4.06719 14.0759C3.95597 14.0553 3.86 13.9855 3.80601 13.8861C3.74396 13.7719 3.77698 13.5794 3.84302 13.1944L4.46913 9.54382C4.48864 9.43002 4.4984 9.37311 4.4918 9.31865C4.48595 9.27043 4.47079 9.22381 4.44717 9.18137C4.42048 9.13344 4.37912 9.09315 4.2964 9.01258L1.64288 6.42806C1.36321 6.15566 1.22337 6.01946 1.20636 5.8906C1.19155 5.77849 1.22813 5.66569 1.3059 5.5836C1.39529 5.48925 1.58844 5.46101 1.97474 5.40455L5.64319 4.86835C5.75728 4.85168 5.81432 4.84334 5.864 4.82024C5.90798 4.79978 5.94758 4.77099 5.9806 4.73545C6.01789 4.69532 6.04341 4.64362 6.09444 4.54023L7.73445 1.21776Z",fill:"currentColor"}))};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e.createElement("g",{"clip-path":"url(#clip0_4350_5702)"},e.createElement("path",{d:"M13.2788 13.2818C16.131 12.8999 18.3307 10.457 18.3307 7.50033C18.3307 4.27866 15.7191 1.66699 12.4974 1.66699C9.54071 1.66699 7.0978 3.86672 6.71595 6.71888M6.2474 10.8337L7.4974 10.0003V14.5837M6.2474 14.5837H8.7474M13.3307 12.5003C13.3307 15.722 10.7191 18.3337 7.4974 18.3337C4.27573 18.3337 1.66406 15.722 1.66406 12.5003C1.66406 9.27866 4.27573 6.66699 7.4974 6.66699C10.7191 6.66699 13.3307 9.27866 13.3307 12.5003Z",stroke:"#8A8B94","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_4350_5702"},e.createElement("rect",{width:"20",height:"20",fill:"white"}))))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){return t.className,e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e.createElement("path",{d:"M1 7C1 7 1.06066 7.42462 2.81802 9.18198C4.57538 10.9393 7.42462 10.9393 9.18198 9.18198C9.80462 8.55934 10.2067 7.79964 10.3881 7M1 7V10M1 7H4M11 5C11 5 10.9393 4.57538 9.18198 2.81802C7.42462 1.06066 4.57538 1.06066 2.81802 2.81802C2.19538 3.44066 1.79335 4.20036 1.61191 5M11 5V2M11 5H8",stroke:"#5A44D5","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as e,__awaiter as t,__generator as n}from'./../../../../ext/tslib/tslib.es6.js';import*as r from"react";import{observer as a}from"mobx-react-lite";var s=["https://sandbox-app.tkpay.com","https://app.tkpay.com"],o=a((function(a){var o,i,c=a.vm;a.isSelected;var u=r.useRef(null),l=r.useRef(!1),p=null===(o=c.tkPayResponse)||void 0===o?void 0:o.paymentPageUrl,d=null===(i=c.tkPayResponse)||void 0===i?void 0:i.callbackUrl;return r.useEffect((function(){l.current=!1}),[p,d]),r.useEffect((function(){if(p){var e=function(e){e.status&&"SUCCESS"!==e.status||c.onTkPayPaymentSuccess((function(){return function(e){return t(void 0,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:if(!d||l.current)return[2];l.current=!0,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,fetch(d,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),l.current=!1,console.error("TkPay callback post failed",t),[3,4];case 4:return[2]}}))}))}(e)}))},r=function(t){if(s.includes(t.origin)){var n=t.data||{};if("tkpay:resize"!==n.type)"tkpay:success"===n.type&&n.payload&&e(n.payload);else{var r=Number(n.height||0);u.current&&r>0&&(u.current.style.height="".concat(r,"px"))}}};return window.addEventListener("message",r),function(){return window.removeEventListener("message",r)}}}),[p,d]),p?r.createElement("div",{style:e({},!c.showTkPayContainer&&{display:"none"})},r.createElement("iframe",{ref:u,src:p,id:"tkpay-payment-page",className:"responsive",title:"TKPay Payment",style:{width:"100%",height:"600px",border:"none"}})):null}));export{o as TkPay};
|
|
@@ -6,6 +6,8 @@ declare type Props = {
|
|
|
6
6
|
hasError?: boolean;
|
|
7
7
|
removePadding?: boolean;
|
|
8
8
|
onChange?: (value: boolean) => void;
|
|
9
|
+
/** "radio": ring + dot, for choices inside a payment method box. */
|
|
10
|
+
variant?: "check" | "radio";
|
|
9
11
|
};
|
|
10
12
|
export declare const Toggle: React.FC<Props>;
|
|
11
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{observer as a}from"mobx-react-lite";import o from"../checkbox/check.js";import r from"./style.module.scss.js";var c=a((function(a){var c=a.value,
|
|
1
|
+
import*as e from"react";import{observer as a}from"mobx-react-lite";import o from"../checkbox/check.js";import r from"./style.module.scss.js";var c=a((function(a){var c=a.value,i=a.label,t=a.description,n=a.hasError,l=a.removePadding,s=a.onChange,m=a.variant,h=void 0===m?"check":m,d=[r.CheckboxBorder],b=[r.CheckboxLabel],k=[r.CheckboxDescription],v=[r.CheckboxTick];return c&&(d.push(r.Checked),v.push(r.Visible)),n&&b.push(r.CheckboxLabelError),e.createElement("div",{className:[r.CheckboxWrapper,l?r.WithoutPadding:"",i?"":r.WithoutLabel,"radio"===h?r.Radio:""].join(" "),onClick:function(){s&&s(!c)}},e.createElement("div",{className:r.CheckboxContainer},e.createElement("div",{className:d.join(" ")}),e.createElement("div",{className:v.join(" ")},e.createElement(o,null))),e.createElement("div",{className:r.CheckboxLabelContainer},!!i&&e.createElement("div",{className:b.join(" ")},i),!!t&&e.createElement("div",{className:k.join(" ")},t)))}));export{c as Toggle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from'./../../../../ext/style-inject/dist/style-inject.es.js';var o={CheckboxWrapper:"style-module_CheckboxWrapper__5RhYr",WithoutPadding:"style-module_WithoutPadding__dZ4VI",WithoutLabel:"style-module_WithoutLabel__YoWH0",CheckboxContainer:"style-module_CheckboxContainer__26lKe",CheckboxBorder:"style-module_CheckboxBorder__7A2SL",Checked:"style-module_Checked__PPUk8",CheckboxTick:"style-module_CheckboxTick__Qp5qA",Visible:"style-module_Visible__M3y9g",CheckboxLabelContainer:"style-module_CheckboxLabelContainer__1g1JQ",CheckboxLabel:"style-module_CheckboxLabel__Oj6l8",CheckboxDescription:"style-module_CheckboxDescription__p7nar",CheckboxLabelError:"style-module_CheckboxLabelError__tYedL"};e(
|
|
1
|
+
import e from'./../../../../ext/style-inject/dist/style-inject.es.js';var o={CheckboxWrapper:"style-module_CheckboxWrapper__5RhYr",WithoutPadding:"style-module_WithoutPadding__dZ4VI",WithoutLabel:"style-module_WithoutLabel__YoWH0",CheckboxContainer:"style-module_CheckboxContainer__26lKe",CheckboxBorder:"style-module_CheckboxBorder__7A2SL",Checked:"style-module_Checked__PPUk8",CheckboxTick:"style-module_CheckboxTick__Qp5qA",Visible:"style-module_Visible__M3y9g",CheckboxLabelContainer:"style-module_CheckboxLabelContainer__1g1JQ",CheckboxLabel:"style-module_CheckboxLabel__Oj6l8",CheckboxDescription:"style-module_CheckboxDescription__p7nar",CheckboxLabelError:"style-module_CheckboxLabelError__tYedL",Radio:"style-module_Radio__2Dyu9"};e('.style-module_CheckboxWrapper__5RhYr {\n width: 100%;\n display: flex;\n padding: 0.5em 0;\n cursor: pointer;\n user-select: none;\n align-items: center;\n}\n.style-module_CheckboxWrapper__5RhYr.style-module_WithoutPadding__dZ4VI {\n padding: 0;\n}\n.style-module_CheckboxWrapper__5RhYr.style-module_WithoutLabel__YoWH0 {\n padding: 0;\n width: auto;\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxContainer__26lKe {\n position: relative;\n width: 20px;\n height: 20px;\n margin-right: 16px;\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxBorder__7A2SL {\n flex: 0 0 auto;\n width: 20px;\n height: 20px;\n border-radius: 100%;\n border: 1px solid var(--checkout-border-color);\n position: absolute;\n top: 0;\n left: 0;\n transition: border-width 0.2s ease-in-out;\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxBorder__7A2SL.style-module_Checked__PPUk8 {\n border: 10px solid var(--checkout-button-bg-color);\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxTick__Qp5qA {\n width: 20px;\n height: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n color: var(--checkout-button-text-color);\n z-index: 2;\n transition: all 0.2s ease-in-out;\n transition-delay: 0.1s;\n opacity: 0;\n transform: scale(0.2);\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxTick__Qp5qA.style-module_Visible__M3y9g {\n opacity: 1;\n transform: scale(1.2);\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxLabelContainer__1g1JQ {\n flex: 1 1 auto;\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxLabel__Oj6l8 {\n font-weight: normal;\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxDescription__p7nar {\n font-weight: normal;\n font-size: 0.9rem;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckboxWrapper__5RhYr .style-module_CheckboxLabelError__tYedL {\n color: var(--checkout-error-color);\n}\n.style-module_CheckboxWrapper__5RhYr.style-module_Radio__2Dyu9 .style-module_CheckboxBorder__7A2SL.style-module_Checked__PPUk8 {\n border: 1.5px solid var(--checkout-button-bg-color);\n}\n.style-module_CheckboxWrapper__5RhYr.style-module_Radio__2Dyu9 .style-module_CheckboxBorder__7A2SL.style-module_Checked__PPUk8::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 9px;\n height: 9px;\n border-radius: 100%;\n background: var(--checkout-button-bg-color);\n transform: translate(-50%, -50%);\n}\n.style-module_CheckboxWrapper__5RhYr.style-module_Radio__2Dyu9 .style-module_CheckboxTick__Qp5qA {\n display: none;\n}');export{o as default};
|
|
@@ -15,6 +15,7 @@ export declare type IkasCheckoutPageProps = {
|
|
|
15
15
|
export declare type IkasCheckoutCustomizationProps = {
|
|
16
16
|
logo?: IkasImage;
|
|
17
17
|
showTax?: boolean;
|
|
18
|
+
showLoyaltyPoints?: boolean;
|
|
18
19
|
showCampaignIsBiggerImage?: boolean;
|
|
19
20
|
showCampaignOffersDesign?: boolean;
|
|
20
21
|
campaignOfferIsSmallDesign?: boolean;
|
|
@@ -50,6 +51,7 @@ export declare type IkasCheckoutCustomizationProps = {
|
|
|
50
51
|
secondaryButtonBgColor?: string;
|
|
51
52
|
secondaryButtonTextColor?: string;
|
|
52
53
|
secondaryButtonBorderColor?: string;
|
|
54
|
+
loyaltyIconColor?: string;
|
|
53
55
|
};
|
|
54
56
|
declare const _default: React.FunctionComponent<IkasCheckoutPageProps>;
|
|
55
57
|
export default _default;
|