@paydock/client-sdk 1.127.1-beta → 1.131.0-beta
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/README.md +1466 -3901
- package/bundles/index.cjs +2845 -539
- package/bundles/index.cjs.d.ts +408 -196
- package/bundles/index.mjs +2844 -539
- package/bundles/index.mjs.d.ts +408 -196
- package/bundles/types/api/api-internal.d.ts +3 -1
- package/bundles/types/api/api-internal.d.ts.map +1 -1
- package/bundles/types/api/api-payment-source-internal.d.ts +8 -0
- package/bundles/types/api/api-payment-source-internal.d.ts.map +1 -0
- package/bundles/types/checkout/checkout.d.ts +8 -14
- package/bundles/types/checkout/checkout.d.ts.map +1 -1
- package/bundles/types/checkout/helpers/instruction-debugger.d.ts +4 -0
- package/bundles/types/checkout/helpers/instruction-debugger.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-handler.d.ts +4 -4
- package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -1
- package/bundles/types/checkout/images/card-icons.d.ts +10 -0
- package/bundles/types/checkout/images/card-icons.d.ts.map +1 -0
- package/bundles/types/checkout/index.d.ts +2 -1
- package/bundles/types/checkout/index.d.ts.map +1 -1
- package/bundles/types/checkout/models/checkout.models.d.ts +14 -0
- package/bundles/types/checkout/models/checkout.models.d.ts.map +1 -0
- package/bundles/types/checkout/utils/checkout-styles.util.d.ts +2 -0
- package/bundles/types/checkout/utils/checkout-styles.util.d.ts.map +1 -0
- package/bundles/types/checkout/utils/checkout-version-handler.util.d.ts +3 -0
- package/bundles/types/checkout/utils/checkout-version-handler.util.d.ts.map +1 -0
- package/bundles/types/checkout/v1/helpers/widget-structure-handler.d.ts +10 -0
- package/bundles/types/checkout/v1/helpers/widget-structure-handler.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/index.d.ts.map +1 -1
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.afterpay_checkout_form.show.d.ts +2 -2
- package/bundles/types/checkout/v1/instructions/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.afterpay_wallet_form.show.d.ts +3 -2
- package/bundles/types/checkout/v1/instructions/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.apple_pay_form.show.d.ts +3 -2
- package/bundles/types/checkout/v1/instructions/instruction.apple_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.bank_account_form.show.d.ts +2 -2
- package/bundles/types/checkout/v1/instructions/instruction.bank_account_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.canvas_3ds.show.d.ts.map +1 -1
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.card_form.show.d.ts +1 -1
- package/bundles/types/checkout/v1/instructions/instruction.card_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.disable_payment_method_event.emit.d.ts +2 -2
- package/bundles/types/checkout/v1/instructions/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.fraud_service.show.d.ts.map +1 -1
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.generic.show_message.d.ts +1 -1
- package/bundles/types/checkout/v1/instructions/instruction.generic.show_message.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.google_pay_form.show.d.ts +3 -2
- package/bundles/types/checkout/v1/instructions/instruction.google_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.merchant_event.emit.d.ts +2 -2
- package/bundles/types/checkout/v1/instructions/instruction.merchant_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.payment_methods.show.d.ts.map +1 -1
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.paypal_form.show.d.ts +2 -2
- package/bundles/types/checkout/v1/instructions/instruction.paypal_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.zip_checkout_form.show.d.ts +3 -2
- package/bundles/types/checkout/v1/instructions/instruction.zip_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v1/layout-widgets/additionals.d.ts +3 -0
- package/bundles/types/checkout/v1/layout-widgets/additionals.d.ts.map +1 -0
- package/bundles/types/checkout/v1/layout-widgets/default-variables.enum.d.ts.map +1 -0
- package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/message.d.ts +6 -6
- package/bundles/types/checkout/v1/layout-widgets/message.d.ts.map +1 -0
- package/bundles/types/checkout/v1/layout-widgets/payment-methods-template.d.ts.map +1 -0
- package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-methods.d.ts +5 -5
- package/bundles/types/checkout/v1/layout-widgets/payment-methods.d.ts.map +1 -0
- package/bundles/types/checkout/v1/layout-widgets/payment-template.d.ts.map +1 -0
- package/bundles/types/checkout/v1/models/checkout.models.d.ts +5 -0
- package/bundles/types/checkout/v1/models/checkout.models.d.ts.map +1 -0
- package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts +4 -0
- package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts.map +1 -0
- package/bundles/types/checkout/v3/components/list-items-wrapper/list-items-wrapper.d.ts +8 -0
- package/bundles/types/checkout/v3/components/list-items-wrapper/list-items-wrapper.d.ts.map +1 -0
- package/bundles/types/checkout/v3/components/payment-methods-list/payment-methods-list.d.ts +3 -0
- package/bundles/types/checkout/v3/components/payment-methods-list/payment-methods-list.d.ts.map +1 -0
- package/bundles/types/checkout/v3/components/payments-wrapper/payments-wrapper.d.ts +9 -0
- package/bundles/types/checkout/v3/components/payments-wrapper/payments-wrapper.d.ts.map +1 -0
- package/bundles/types/checkout/v3/helpers/widget-structure-handler.d.ts +10 -0
- package/bundles/types/checkout/v3/helpers/widget-structure-handler.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/index.d.ts +4 -0
- package/bundles/types/checkout/v3/instructions/index.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.afterpay_checkout_form.show.d.ts +20 -0
- package/bundles/types/checkout/v3/instructions/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.afterpay_wallet_form.show.d.ts +17 -0
- package/bundles/types/checkout/v3/instructions/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts +17 -0
- package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.bank_account_form.show.d.ts +14 -0
- package/bundles/types/checkout/v3/instructions/instruction.bank_account_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.canvas_3ds.show.d.ts +12 -0
- package/bundles/types/checkout/v3/instructions/instruction.canvas_3ds.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts +24 -0
- package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.disable_payment_method_event.emit.d.ts +21 -0
- package/bundles/types/checkout/v3/instructions/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.fraud_service.show.d.ts +21 -0
- package/bundles/types/checkout/v3/instructions/instruction.fraud_service.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.generic.show_message.d.ts +27 -0
- package/bundles/types/checkout/v3/instructions/instruction.generic.show_message.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts +17 -0
- package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.merchant_event.emit.d.ts +18 -0
- package/bundles/types/checkout/v3/instructions/instruction.merchant_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.payment_methods.show.d.ts +23 -0
- package/bundles/types/checkout/v3/instructions/instruction.payment_methods.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts +19 -0
- package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts +22 -0
- package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/instructions/instruction.zip_checkout_form.show.d.ts +19 -0
- package/bundles/types/checkout/v3/instructions/instruction.zip_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/v3/models/card.model.d.ts +20 -0
- package/bundles/types/checkout/v3/models/card.model.d.ts.map +1 -0
- package/bundles/types/checkout/v3/models/checkout-styles.model.d.ts +9 -0
- package/bundles/types/checkout/v3/models/checkout-styles.model.d.ts.map +1 -0
- package/bundles/types/checkout/v3/models/checkout.models.d.ts +4 -0
- package/bundles/types/checkout/v3/models/checkout.models.d.ts.map +1 -0
- package/bundles/types/checkout/v3/models/payment-methods.model.d.ts +13 -0
- package/bundles/types/checkout/v3/models/payment-methods.model.d.ts.map +1 -0
- package/bundles/types/checkout/v3/styles/additionals.d.ts +3 -0
- package/bundles/types/checkout/v3/styles/additionals.d.ts.map +1 -0
- package/bundles/types/checkout/v3/utils/checkout-customisation-styles.util.d.ts +3 -0
- package/bundles/types/checkout/v3/utils/checkout-customisation-styles.util.d.ts.map +1 -0
- package/bundles/types/components/param.d.ts +7 -0
- package/bundles/types/components/param.d.ts.map +1 -1
- package/bundles/types/configs/env/environment.uba.d.ts +28 -0
- package/bundles/types/configs/env/environment.uba.d.ts.map +1 -0
- package/bundles/types/constants/validators.d.ts +2 -2
- package/bundles/types/constants/validators.d.ts.map +1 -1
- package/bundles/types/fraud-prevention/providers/forter/templates/{forter-snippet-2025-02-06t14:19:34z.template.d.ts → forter-snippet-20250206141934.template.d.ts} +1 -1
- package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-20250206141934.template.d.ts.map +1 -0
- package/bundles/types/helper/card-scheme.d.ts +76 -0
- package/bundles/types/helper/card-scheme.d.ts.map +1 -0
- package/bundles/types/index-cba.d.ts +11 -11
- package/bundles/types/index-cba.d.ts.map +1 -1
- package/bundles/types/index.d.ts +12 -11
- package/bundles/types/index.d.ts.map +1 -1
- package/bundles/types/open-wallets/base/base-open-wallet.d.ts +33 -0
- package/bundles/types/open-wallets/base/base-open-wallet.d.ts.map +1 -0
- package/bundles/types/open-wallets/enum/event.enum.d.ts +8 -0
- package/bundles/types/open-wallets/enum/event.enum.d.ts.map +1 -0
- package/bundles/types/open-wallets/index.d.ts +6 -0
- package/bundles/types/open-wallets/index.d.ts.map +1 -0
- package/bundles/types/open-wallets/interfaces/base-service-config.interface.d.ts +30 -0
- package/bundles/types/open-wallets/interfaces/base-service-config.interface.d.ts.map +1 -0
- package/bundles/types/open-wallets/interfaces/base-wallet-meta.interface.d.ts +5 -0
- package/bundles/types/open-wallets/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/open-wallets/interfaces/events.interface.d.ts +34 -0
- package/bundles/types/open-wallets/interfaces/events.interface.d.ts.map +1 -0
- package/bundles/types/open-wallets/interfaces/index.d.ts +8 -0
- package/bundles/types/open-wallets/interfaces/index.d.ts.map +1 -0
- package/bundles/types/open-wallets/interfaces/payment-source.interface.d.ts +5 -0
- package/bundles/types/open-wallets/interfaces/payment-source.interface.d.ts.map +1 -0
- package/bundles/types/open-wallets/services/index.d.ts +9 -0
- package/bundles/types/open-wallets/services/index.d.ts.map +1 -0
- package/bundles/types/open-wallets/types/index.d.ts +5 -0
- package/bundles/types/open-wallets/types/index.d.ts.map +1 -0
- package/bundles/types/open-wallets/types/ott-backend.type.d.ts +26 -0
- package/bundles/types/open-wallets/types/ott-backend.type.d.ts.map +1 -0
- package/bundles/types/open-wallets/types/ott-response.type.d.ts +8 -0
- package/bundles/types/open-wallets/types/ott-response.type.d.ts.map +1 -0
- package/bundles/types/open-wallets/types/wallet-type.type.d.ts +6 -0
- package/bundles/types/open-wallets/types/wallet-type.type.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +2 -1
- package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -1
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +6 -4
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
- package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -1
- package/bundles/types/shared-ui/components/button.d.ts +23 -0
- package/bundles/types/shared-ui/components/button.d.ts.map +1 -0
- package/bundles/types/shared-ui/components/item-info-blocks.d.ts +20 -0
- package/bundles/types/shared-ui/components/item-info-blocks.d.ts.map +1 -0
- package/bundles/types/shared-ui/components/list-item.d.ts +13 -0
- package/bundles/types/shared-ui/components/list-item.d.ts.map +1 -0
- package/bundles/types/shared-ui/components/loading-spinner.d.ts +12 -0
- package/bundles/types/shared-ui/components/loading-spinner.d.ts.map +1 -0
- package/bundles/types/shared-ui/components/message-card.d.ts +19 -0
- package/bundles/types/shared-ui/components/message-card.d.ts.map +1 -0
- package/bundles/types/shared-ui/components/svg-container.d.ts +2 -0
- package/bundles/types/shared-ui/components/svg-container.d.ts.map +1 -0
- package/bundles/types/shared-ui/components/widget-wrapper.d.ts +2 -0
- package/bundles/types/shared-ui/components/widget-wrapper.d.ts.map +1 -0
- package/bundles/types/shared-ui/models/widget-root.model.d.ts +12 -0
- package/bundles/types/shared-ui/models/widget-root.model.d.ts.map +1 -0
- package/bundles/types/shared-ui/styles/widget-root-styles.d.ts +3 -0
- package/bundles/types/shared-ui/styles/widget-root-styles.d.ts.map +1 -0
- package/bundles/types/shared-ui/utils/loading-spinner.util.d.ts +8 -0
- package/bundles/types/shared-ui/utils/loading-spinner.util.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/enums.d.ts +2 -1
- package/bundles/types/wallet-buttons/enums.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/index.d.ts +6 -6
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts +14 -8
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +2 -2
- package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +3 -3
- package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +2 -2
- package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +7 -7
- package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +2 -2
- package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +3 -3
- package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +6 -6
- package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/index.d.ts +3 -3
- package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +2 -2
- package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +20 -0
- package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +5 -5
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +3 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +1 -1
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -1
- package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +4 -4
- package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -1
- package/bundles/types/widget/configuration.d.ts +2 -0
- package/bundles/types/widget/configuration.d.ts.map +1 -1
- package/bundles/types/widget/html-multi-widget.d.ts +7 -5
- package/bundles/types/widget/html-multi-widget.d.ts.map +1 -1
- package/bundles/types/widget/html-widget.d.ts +1 -0
- package/bundles/types/widget/html-widget.d.ts.map +1 -1
- package/bundles/types/widget/multi-widget.d.ts +16 -0
- package/bundles/types/widget/multi-widget.d.ts.map +1 -1
- package/bundles/widget.umd.js +2845 -539
- package/bundles/widget.umd.js.d.ts +408 -196
- package/bundles/widget.umd.js.min.d.ts +408 -196
- package/bundles/widget.umd.min.js +1 -1
- package/docs/api-checkout-button.md +0 -370
- package/docs/api-widget.md +0 -2110
- package/docs/checkout-examples.md +2 -127
- package/docs/license.md +1 -1
- package/docs/wallet-buttons-examples.md +3 -134
- package/docs/wallet-buttons-express-examples.md +528 -0
- package/docs/wallet-buttons.md +11 -10
- package/docs/wallet-cba-buttons-examples.md +1 -1
- package/package.json +3 -2
- package/slate.md +5 -524
- package/bundles/types/checkout/instructions/index.d.ts +0 -3
- package/bundles/types/checkout/instructions/index.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +0 -1
- package/bundles/types/checkout/layout-widgets/additionals.d.ts +0 -3
- package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +0 -1
- package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +0 -1
- package/bundles/types/checkout/layout-widgets/message.d.ts.map +0 -1
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +0 -1
- package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +0 -1
- package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +0 -1
- package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +0 -1
- package/docs/api-vault-display.md +0 -94
- /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/index.d.ts +0 -0
- /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.canvas_3ds.show.d.ts +0 -0
- /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.fraud_service.show.d.ts +0 -0
- /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.payment_methods.show.d.ts +0 -0
- /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/default-variables.enum.d.ts +0 -0
- /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-methods-template.d.ts +0 -0
- /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-template.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ott-response.type.d.ts","sourceRoot":"","sources":["../../../src/open-wallets/types/ott-response.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,UAAU,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet-type.type.d.ts","sourceRoot":"","sources":["../../../src/open-wallets/types/wallet-type.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC;AAEtC,oBAAY,YAAY;IACtB,SAAS,aAAa;IACtB,UAAU,cAAc;CACzB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Customer, IClickToPayMeta } from './interfaces';
|
|
2
2
|
import { SRC } from './secure-remote-commerce';
|
|
3
3
|
/**
|
|
4
4
|
* Class ClickToPay include methods for interacting with the ClickToPay checkout and Manual Card option
|
|
@@ -21,6 +21,7 @@ declare class ClickToPay extends SRC {
|
|
|
21
21
|
protected public_key_or_access_token: string;
|
|
22
22
|
protected meta: IClickToPayMeta;
|
|
23
23
|
protected holdingForCustomerData: boolean;
|
|
24
|
+
private pendingCustomerData;
|
|
24
25
|
/** @constructs */ constructor(iframe_selector: string, service_id: string, public_key_or_access_token: string, meta: IClickToPayMeta);
|
|
25
26
|
/**
|
|
26
27
|
* The final method after configuring the SRC to start the load process of Click To Pay checkout
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"click-to-pay-secure-remote-commerce.d.ts","sourceRoot":"","sources":["../../src/secure-remote-commerce/click-to-pay-secure-remote-commerce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"click-to-pay-secure-remote-commerce.d.ts","sourceRoot":"","sources":["../../src/secure-remote-commerce/click-to-pay-secure-remote-commerce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C;;;;;;;;;;;;;;GAcG;AACH,cAAM,UAAW,SAAQ,GAAG;IAKZ,SAAS,CAAC,eAAe,EAAE,MAAM;IAAE,SAAS,CAAC,UAAU,EAAE,MAAM;IAAE,SAAS,CAAC,0BAA0B,EAAE,MAAM;IAAE,SAAS,CAAC,IAAI,EAAE,eAAe;IAJ1J,SAAS,CAAC,sBAAsB,UAAS;IACzC,OAAO,CAAC,mBAAmB,CAAyB;IAEpD,kBAAkB,aACI,eAAe,EAAE,MAAM,EAAY,UAAU,EAAE,MAAM,EAAY,0BAA0B,EAAE,MAAM,EAAY,IAAI,EAAE,eAAe;IAY1J;;OAEG;IACI,IAAI,IAAI,IAAI;IAsBnB;;;;;;;;;;;OAWG;IACI,kBAAkB,CAAC,YAAY,EAAE,QAAQ,GAAG,IAAI;IAYvD;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;CAc/B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Link } from '../../../components/link';
|
|
2
1
|
import { Container } from '../../../components/container';
|
|
3
2
|
import { IFrame } from '../../../components/iframe';
|
|
4
3
|
import { IFrameEvent } from '../../../components/iframe-event';
|
|
5
|
-
import {
|
|
6
|
-
import { SRCProvider } from '../src-provider';
|
|
7
|
-
import { IClickToPayMeta, Customer } from '../../interfaces';
|
|
4
|
+
import { Link } from '../../../components/link';
|
|
8
5
|
import { Trigger } from '../../../components/trigger';
|
|
6
|
+
import type { EventEmitter } from "../../../helper/event-emitter";
|
|
7
|
+
import { type Customer, type IClickToPayMeta } from '../../interfaces';
|
|
8
|
+
import type { SRCProvider } from '../src-provider';
|
|
9
9
|
export type CustomerData = Customer;
|
|
10
10
|
export declare class ClickToPaySRC implements SRCProvider {
|
|
11
11
|
protected meta: IClickToPayMeta;
|
|
@@ -16,6 +16,8 @@ export declare class ClickToPaySRC implements SRCProvider {
|
|
|
16
16
|
protected iFrame: IFrame;
|
|
17
17
|
protected iFrameEvent: IFrameEvent;
|
|
18
18
|
protected trigger: Trigger;
|
|
19
|
+
private isIframeLoaded;
|
|
20
|
+
private injectedCustomerData;
|
|
19
21
|
constructor(iframe_selector: string, service_id: string, public_key: string, meta: IClickToPayMeta, eventEmitter: EventEmitter, autoResize: any, env: string, alias?: string);
|
|
20
22
|
private setupIFrameEvents;
|
|
21
23
|
load(): void;
|
package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mastercard-src.d.ts","sourceRoot":"","sources":["../../../../src/secure-remote-commerce/providers/mastercard-src/mastercard-src.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"mastercard-src.d.ts","sourceRoot":"","sources":["../../../../src/secure-remote-commerce/providers/mastercard-src/mastercard-src.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAmB,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAChF,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-validation/configuration-validation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration-validation.d.ts","sourceRoot":"","sources":["../../../../src/shared/services/configuration-validation/configuration-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,qBAAqB,EAMtB,MAAM,SAAS,CAAC;AAGjB,UAAU,sBAAuB,SAAQ,QAAQ;IAC/C,qBAAqB,EAAE;QACrB,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAC/B,GAAG,EAAE,MAAM,EAAE,CAAC;KACf,CAAC;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,QAAQ,GACtB,sBAAsB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"configuration-validation.d.ts","sourceRoot":"","sources":["../../../../src/shared/services/configuration-validation/configuration-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,qBAAqB,EAMtB,MAAM,SAAS,CAAC;AAGjB,UAAU,sBAAuB,SAAQ,QAAQ;IAC/C,qBAAqB,EAAE;QACrB,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAC/B,GAAG,EAAE,MAAM,EAAE,CAAC;KACf,CAAC;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,QAAQ,GACtB,sBAAsB,GAAG,SAAS,CA4BpC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum ButtonStyleType {
|
|
2
|
+
Base = "pd-base-button",
|
|
3
|
+
Success = "pd-success-button"
|
|
4
|
+
}
|
|
5
|
+
type ButtonOptions = {
|
|
6
|
+
id?: string;
|
|
7
|
+
buttonStyleType?: ButtonStyleType;
|
|
8
|
+
buttonType?: 'submit' | 'button' | 'reset';
|
|
9
|
+
children?: HTMLElement[];
|
|
10
|
+
styles?: Partial<CSSStyleDeclaration>;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
alignChildren?: 'left' | 'center' | 'right';
|
|
13
|
+
};
|
|
14
|
+
declare global {
|
|
15
|
+
interface Window {
|
|
16
|
+
buttonStylesAdded: boolean;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare function createButton({ id, buttonStyleType, buttonType, children, styles, onClick, alignChildren, }: ButtonOptions): HTMLButtonElement;
|
|
20
|
+
export declare function createButtonText(text: string): HTMLSpanElement;
|
|
21
|
+
export declare function toggleButtonsDisableState(availableButtons: NodeListOf<HTMLButtonElement>, disabled: boolean): void;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/button.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,IAAI,mBAAmB;IACvB,OAAO,sBAAsB;CAC9B;AAED,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CAC7C,CAAC;AA+DF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,iBAAiB,EAAE,OAAO,CAAC;KAC5B;CACF;AAED,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EACF,eAAsC,EACtC,UAAqB,EACrB,QAAa,EACb,MAAW,EACX,OAAkB,EAClB,aAAwB,GACzB,EAAE,aAAa,GAAG,iBAAiB,CA2CnC;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAK9D;AAED,wBAAgB,yBAAyB,CACvC,gBAAgB,EAAE,UAAU,CAAC,iBAAiB,CAAC,EAC/C,QAAQ,EAAE,OAAO,QAKlB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare enum ItemInfoTextType {
|
|
2
|
+
Primary = "pd-item-primary-text",
|
|
3
|
+
Secondary = "pd-item-secondary-text"
|
|
4
|
+
}
|
|
5
|
+
type ItemInfoBlockOptions = {
|
|
6
|
+
id?: string;
|
|
7
|
+
image?: HTMLElement;
|
|
8
|
+
primaryText: string;
|
|
9
|
+
secondaryText?: string;
|
|
10
|
+
styles?: Partial<CSSStyleDeclaration>;
|
|
11
|
+
};
|
|
12
|
+
declare global {
|
|
13
|
+
interface Window {
|
|
14
|
+
itemInfoBlockStylesAdded: boolean;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare function createItemInfoBlock(options: ItemInfoBlockOptions): HTMLDivElement;
|
|
18
|
+
export declare function createItemText(text: string, type: ItemInfoTextType): HTMLSpanElement;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=item-info-blocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-info-blocks.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/item-info-blocks.ts"],"names":[],"mappings":"AAAA,aAAK,gBAAgB;IACnB,OAAO,yBAAyB;IAChC,SAAS,2BAA2B;CACrC;AAED,KAAK,oBAAoB,GAAG;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC,CAAC;AA4CF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,wBAAwB,EAAE,OAAO,CAAC;KACnC;CACF;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,GAAG,cAAc,CA8BjF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,eAAe,CAKpF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type ListItemOptions = {
|
|
2
|
+
class?: string;
|
|
3
|
+
children?: HTMLElement[];
|
|
4
|
+
styles?: Partial<CSSStyleDeclaration>;
|
|
5
|
+
};
|
|
6
|
+
declare global {
|
|
7
|
+
interface Window {
|
|
8
|
+
listStylesAdded: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare function createListItem(options: ListItemOptions): HTMLLIElement;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/list-item.ts"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC,CAAC;AAkBF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,eAAe,EAAE,OAAO,CAAC;KAC1B;CACF;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAetE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type LoadingSpinnerOptions = {
|
|
2
|
+
class?: string;
|
|
3
|
+
styles?: Partial<CSSStyleDeclaration>;
|
|
4
|
+
};
|
|
5
|
+
declare global {
|
|
6
|
+
interface Window {
|
|
7
|
+
loadingSpinnerStylesAdded: boolean;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare function createLoadingSpinner(options?: LoadingSpinnerOptions): HTMLDivElement;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=loading-spinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-spinner.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/loading-spinner.ts"],"names":[],"mappings":"AAKA,KAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC,CAAC;AA8CF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,yBAAyB,EAAE,OAAO,CAAC;KACpC;CACF;AAED,wBAAgB,oBAAoB,CAClC,OAAO,GAAE,qBAA0B,GAClC,cAAc,CAYhB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
messageCardStylesAdded: boolean;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export declare enum MessageCardStyleType {
|
|
7
|
+
Success = "pd-success-card",
|
|
8
|
+
Error = "pd-error-card"
|
|
9
|
+
}
|
|
10
|
+
type MessageCardOptions = {
|
|
11
|
+
title: string;
|
|
12
|
+
text: string;
|
|
13
|
+
messageCardStyleType: MessageCardStyleType;
|
|
14
|
+
styles?: Partial<CSSStyleDeclaration>;
|
|
15
|
+
};
|
|
16
|
+
export declare function createMessageCard(options: MessageCardOptions): HTMLDivElement;
|
|
17
|
+
export declare function getCurrentMessageCards(): NodeListOf<HTMLDivElement>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=message-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-card.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/message-card.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,sBAAsB,EAAE,OAAO,CAAC;KACjC;CACF;AAED,oBAAY,oBAAoB;IAC9B,OAAO,oBAAoB;IAC3B,KAAK,kBAAkB;CACxB;AAED,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC,CAAC;AAgEF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,cAAc,CAY7E;AAED,wBAAgB,sBAAsB,IAAI,UAAU,CAAC,cAAc,CAAC,CAEnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg-container.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/svg-container.ts"],"names":[],"mappings":"AAMA,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAsB,GACxD,cAAc,CAOhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wrapper.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/components/widget-wrapper.ts"],"names":[],"mappings":"AAOA,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,CAM1E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum WidgetRootDefaultColors {
|
|
2
|
+
Button = "linear-gradient(92.03deg, #FFFFFF 0%, #F8F9FA 101.01%)",
|
|
3
|
+
ButtonHover = "#F8F9FA",
|
|
4
|
+
Border = "#BDBDBD",
|
|
5
|
+
Background = "#ffffff"
|
|
6
|
+
}
|
|
7
|
+
export declare enum WidgetRootDefaultTypography {
|
|
8
|
+
TextColor = "#000000",
|
|
9
|
+
FontFamily = "\"Inter\", sans-serif",
|
|
10
|
+
FontSize = "16px"
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=widget-root.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-root.model.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/models/widget-root.model.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,MAAM,2DAA2D;IACjE,WAAW,YAAY;IACvB,MAAM,YAAY;IAClB,UAAU,YAAY;CACvB;AAED,oBAAY,2BAA2B;IACrC,SAAS,YAAY;IACrB,UAAU,0BAAwB;IAClC,QAAQ,SAAS;CAClB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: "\n<style>\n @import url('https://fonts.cdnfonts.com/css/segoe-ui-4');\n @import url('https://fonts.cdnfonts.com/css/droid-sans-2');\n @import url('https://fonts.cdnfonts.com/css/helvetica-neue-55');\n @import url('https://fonts.googleapis.com/css2?family=Cantarell&family=Fira+Sans&family=Oxygen&family=Roboto&family=Ubuntu&display=swap');\n\n @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');\n \n :root {\n --pd-button-color: linear-gradient(92.03deg, #FFFFFF 0%, #F8F9FA 101.01%);\n --pd-button-color-hover: #F8F9FA;\n --pd-border-color: #BDBDBD;\n --pd-bg-color: #ffffff;\n --pd-text-color: #000000;\n --pd-font-family: \"Inter\", sans-serif;\n --pd-font-size: 16px;\n --pd-parent-height: 100%;\n }\n</style>\n";
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=widget-root-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-root-styles.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/styles/widget-root-styles.ts"],"names":[],"mappings":";AAKA,wBAoBE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-spinner.util.d.ts","sourceRoot":"","sources":["../../../src/shared-ui/utils/loading-spinner.util.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,oBAAoB,EAAE,OAAO,CAAC;KAC/B;CACF;AACD,wBAAgB,kBAAkB,SASjC;AAED,wBAAgB,kBAAkB,SAIjC"}
|
|
@@ -7,6 +7,7 @@ export declare enum EventEnum {
|
|
|
7
7
|
AUTH_TOKENS_CHANGED = "authTokensChanged",
|
|
8
8
|
ON_CLICK = "onClick",
|
|
9
9
|
ON_CHECKOUT_OPEN = "onCheckoutOpen",
|
|
10
|
-
ON_CHECKOUT_CLOSE = "onCheckoutClose"
|
|
10
|
+
ON_CHECKOUT_CLOSE = "onCheckoutClose",
|
|
11
|
+
ON_WALLET_LOADED = "onWalletLoaded"
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/wallet-buttons/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,kBAAkB,sBAAsB;IACxC,aAAa,iBAAiB;IAC9B,iBAAiB,oBAAoB;IACrC,mBAAmB,sBAAsB;IACzC,QAAQ,YAAY;IACpB,gBAAgB,mBAAmB;IACnC,iBAAiB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/wallet-buttons/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,kBAAkB,sBAAsB;IACxC,aAAa,iBAAiB;IAC9B,iBAAiB,oBAAoB;IACrC,mBAAmB,sBAAsB;IACzC,QAAQ,YAAY;IACpB,gBAAgB,mBAAmB;IACnC,iBAAiB,oBAAoB;IACrC,gBAAgB,mBAAmB;CACpC"}
|
|
@@ -73,8 +73,8 @@ export { WalletButtons, IWalletOnClickEvent, IWalletPaymentSuccessfulEvent, IWal
|
|
|
73
73
|
* @interface IWalletMeta
|
|
74
74
|
*
|
|
75
75
|
* @type {object}
|
|
76
|
-
* @param {string} [amount_label] Label shown next to the total amount to be paid. Required for [Stripe, ApplePay, GooglePay]. N/A for [
|
|
77
|
-
* @param {string} [country] Country of the user. 2 letter ISO code format. Required for [Stripe, ApplePay, GooglePay, Afterpay]. N/A for [
|
|
76
|
+
* @param {string} [amount_label] Label shown next to the total amount to be paid. Required for [Stripe, ApplePay, GooglePay]. N/A for [Flypay V2, PayPal, Afterpay].
|
|
77
|
+
* @param {string} [country] Country of the user. 2 letter ISO code format. Required for [Stripe, ApplePay, GooglePay, Afterpay]. N/A for [Flypay V2, PayPal].
|
|
78
78
|
* @param {boolean} [pay_later] Used to enable Pay Later feature in PayPal Smart Checkout WalletButton integration when available. Optional for [PayPal]. N/A for other wallets.
|
|
79
79
|
* @param {boolean} [hide_message] Used to hide Pay Later message in PayPal Smart Checkout WalletButton integration. Optional for [PayPal]. N/A for other wallets.
|
|
80
80
|
* @param {boolean} [standalone] Used to enable Standalone Buttons feature in PayPal Smart Checkout WalletButton integration. Used together with `pay_later`. Optional for [PayPal]. N/A for other wallets.
|
|
@@ -84,24 +84,24 @@ export { WalletButtons, IWalletOnClickEvent, IWalletPaymentSuccessfulEvent, IWal
|
|
|
84
84
|
* @param {boolean} [request_payer_phone] Used mainly for fraud purposes - recommended set to true. Optional for [Stripe]. N/A for other wallets.
|
|
85
85
|
* @param {string} [access_token] Used for Flypay V2 express flow. Optional for [Flypay V2]. N/A for other wallets.
|
|
86
86
|
* @param {string} [refresh_token] Used for Flypay V2 express flow. Optional for [Flypay V2]. N/A for other wallets.
|
|
87
|
-
* @param {boolean} [request_shipping] Used to request or not shipping address in the Wallet checkout, being able to handle amount changes via the `update` event. Optional for [
|
|
87
|
+
* @param {boolean} [request_shipping] Used to request or not shipping address in the Wallet checkout, being able to handle amount changes via the `update` event. Optional for [PayPal, ApplePay, GooglePay]. N/A for [Flypay V2, Stripe, Afterpay].
|
|
88
88
|
* @param {IApplePayShippingOption[] | IPayPalShippingOption[]} [shipping_options] Used to provide available shipping options.(To use shipping_options the request_shipping flag should be true). Optional for [ApplePay]. N/A for the other wallets.
|
|
89
89
|
* @param {string} [merchant_name] Merchant Name used for GooglePay integration via MPGS. Required for [GooglePay]. N/A for other wallets.
|
|
90
90
|
* @param {object} [raw_data_initialization] Used to provide values to initialize wallet with raw data. Optional for [ApplePay]. N/A for the other wallets.
|
|
91
91
|
* @param {object} [style] For **Paypal**: used to style the buttons, check possible values in the [style guide](https://developer.paypal.com/docs/business/checkout/reference/style-guide).
|
|
92
92
|
* When `standalone` and `pay_later`, extra options can be provided in `style.messages` with the [messages style options](https://developer.paypal.com/docs/checkout/pay-later/us/integrate/reference/#stylelayout).
|
|
93
93
|
* Also used at **ApplePay**, **GooglePay** and **Afterpay** to select button type.
|
|
94
|
-
* Optional for [PayPal, ApplePay, GooglePay, Afterpay]. N/A for [Stripe,
|
|
94
|
+
* Optional for [PayPal, ApplePay, GooglePay, Afterpay]. N/A for [Stripe, Flypay V2].
|
|
95
95
|
* @param {object} [style.button_type] Used to select ApplePay button type (e.g: 'buy','donate', etc), check possible values [here](https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_css).
|
|
96
96
|
* Also select button type for GooglePay (check GooglePayStyles) and Afterpay (check AfterpayStyles). Optional for [ApplePay, GooglePay, Afterpay]. N/A for other wallets.
|
|
97
97
|
* @param {object} [style.button_style] Used to select ApplePay button style (e.g: 'black', 'white', etc), check possible values [here](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaybuttonstyle). Optional for [ApplePay]. N/A for other wallets.
|
|
98
98
|
* @param {object} [style.height] Used to select Afterpay button height. Optional for [Afterpay]. N/A for other wallets.
|
|
99
99
|
* @param {array} [wallets] By default if this is not sent or empty, we will try to show either Apple Pay or Google Pay buttons. This can be limited sending the following array in this field: ['apple','google]. Optional for [Stripe, ApplePay, GooglePay]. N/A for other wallets.
|
|
100
|
-
* @param {string} [client_id] Client ID to be used in the provider system. Required for [Flypay V2]. N/A for [
|
|
100
|
+
* @param {string} [client_id] Client ID to be used in the provider system. Required for [Flypay V2]. N/A for [GooglePay, ApplePay, PayPal, Afterpay].
|
|
101
101
|
* @param {Array<'credentials_available' | 'credentials_status_unknown' | 'credentials_unavailable'>} [apple_pay_capabilities] Device capabilities needed for wallet button to be available.
|
|
102
102
|
* For further information about refer to [the documentation](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/4440085-applepaycapabilities).
|
|
103
103
|
* If the recognized value is credentials_status_unknown, the payment most possibly cannot be finished on the web, and the buyer must complete it on a compatible device, like Iphone, via QR scan.
|
|
104
|
-
* Optional parameter for [ApplePay]. N/A for [
|
|
104
|
+
* Optional parameter for [ApplePay]. N/A for [GooglePay, Flypay V2, PayPal, Afterpay].
|
|
105
105
|
**/
|
|
106
106
|
/**
|
|
107
107
|
* Interface of Shipping Options for ApplePay
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ApiInternal } from
|
|
2
|
-
import { Container } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { type IWalletMeta } from "../components/param";
|
|
6
|
-
import type { IWalletOnClick, IWalletPaymentSuccessful, IWalletUnavailable, IWalletUpdate } from "./interfaces";
|
|
1
|
+
import { ApiInternal } from '../api/api-internal';
|
|
2
|
+
import { Container } from '../components/container';
|
|
3
|
+
import { type IWalletMeta } from '../components/param';
|
|
4
|
+
import { EventEmitter } from '../helper/event-emitter';
|
|
7
5
|
import { EventEnum } from './enums';
|
|
6
|
+
import type { IWalletOnClick, IWalletPaymentSuccessful, IWalletUnavailable, IWalletUpdate } from './interfaces';
|
|
7
|
+
import { type IWalletService } from './wallet-services/wallet-service';
|
|
8
8
|
/**
|
|
9
9
|
* List of available event's name in the wallet button lifecycle
|
|
10
10
|
* @const EVENT
|
|
@@ -15,6 +15,7 @@ import { EventEnum } from './enums';
|
|
|
15
15
|
* @param {string} PAYMENT_SUCCESSFUL=paymentSuccessful
|
|
16
16
|
* @param {string} PAYMENT_ERROR=paymentError
|
|
17
17
|
* @param {string} ON_CLICK=onClick
|
|
18
|
+
* @param {string} LOADED=onWalletLoaded
|
|
18
19
|
*/
|
|
19
20
|
export declare const EVENT: {
|
|
20
21
|
UNAVAILABLE: EventEnum;
|
|
@@ -26,6 +27,7 @@ export declare const EVENT: {
|
|
|
26
27
|
ON_CLICK: EventEnum;
|
|
27
28
|
ON_CHECKOUT_OPEN: EventEnum;
|
|
28
29
|
ON_CHECKOUT_CLOSE: EventEnum;
|
|
30
|
+
ON_WALLET_LOADED: EventEnum;
|
|
29
31
|
};
|
|
30
32
|
export interface IEventData<T = any> {
|
|
31
33
|
event: string;
|
|
@@ -40,6 +42,9 @@ export interface IWalletUpdateEvent extends IEventData<IWalletUpdate> {
|
|
|
40
42
|
export interface IWalletUnavailableEvent extends IEventData<IWalletUnavailable> {
|
|
41
43
|
event: EventEnum.UNAVAILABLE;
|
|
42
44
|
}
|
|
45
|
+
export interface IWalletLoadedEvent extends IEventData<string> {
|
|
46
|
+
event: EventEnum.ON_WALLET_LOADED;
|
|
47
|
+
}
|
|
43
48
|
export interface IWalletOnClickEvent extends IEventData<IWalletOnClick> {
|
|
44
49
|
event: EventEnum.ON_CLICK;
|
|
45
50
|
}
|
|
@@ -47,7 +52,7 @@ export interface IWalletUpdateData {
|
|
|
47
52
|
success: boolean;
|
|
48
53
|
}
|
|
49
54
|
/**
|
|
50
|
-
* Class WalletButtons to work with different E-Wallets within html (currently supports Apple Pay, Google Pay, Google Pay™ and Apple Pay via Stripe, Flypay
|
|
55
|
+
* Class WalletButtons to work with different E-Wallets within html (currently supports Apple Pay, Google Pay, Google Pay™ and Apple Pay via Stripe, Flypay V2, Paypal, Afterpay)
|
|
51
56
|
* @constructor
|
|
52
57
|
*
|
|
53
58
|
* @example
|
|
@@ -82,7 +87,7 @@ declare class WalletButtons {
|
|
|
82
87
|
load(): void;
|
|
83
88
|
/**
|
|
84
89
|
* Triggers the update process of the wallet, if available.
|
|
85
|
-
* Currently supported by
|
|
90
|
+
* Currently supported by Paypal and ApplePay/GooglePay via MPGS Wallets.
|
|
86
91
|
*
|
|
87
92
|
* @example
|
|
88
93
|
* var button = new WalletButtons(
|
|
@@ -305,6 +310,7 @@ declare class WalletButtons {
|
|
|
305
310
|
*/
|
|
306
311
|
onCheckoutClose(handler?: (err: IEventData) => void): Promise<unknown> | (() => void);
|
|
307
312
|
private setupServiceCallbacks;
|
|
313
|
+
private setupOnWalletLoadedCallback;
|
|
308
314
|
private setupUnavailableCallback;
|
|
309
315
|
private setupUpdateCallback;
|
|
310
316
|
private setupOnClickCallback;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-buttons.d.ts","sourceRoot":"","sources":["../../src/wallet-buttons/wallet-buttons.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wallet-buttons.d.ts","sourceRoot":"","sources":["../../src/wallet-buttons/wallet-buttons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EACV,cAAc,EACd,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACd,MAAM,cAAc,CAAC;AAOtB,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,kCAAkC,CAAC;AAE1C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;CAWjB,CAAC;AAGF,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG;IACj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,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,2BAA2B;IASnC,OAAO,CAAC,4BAA4B;IASpC,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,oBAAoB;IA0C5B,OAAO,CAAC,2BAA2B;IASnC,OAAO,CAAC,4BAA4B;IASpC,OAAO,CAAC,yBAAyB;IASjC,OAAO,CAAC,8BAA8B;CAQvC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Container } from '../../components/container';
|
|
2
|
-
import { IWalletService, IWalletServiceMeta, WalletService } from './wallet-service';
|
|
1
|
+
import type { Container } from '../../components/container';
|
|
2
|
+
import { type IWalletService, type IWalletServiceMeta, WalletService } from './wallet-service';
|
|
3
3
|
declare global {
|
|
4
4
|
interface Window {
|
|
5
5
|
AfterPay: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"afterpay.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/afterpay.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"afterpay.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/afterpay.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAO5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAEvB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QAEd,QAAQ,EAAE,GAAG,CAAC;KACf;CACF;AASD,qBAAa,qBAAsB,SAAQ,aAAc,YAAW,cAAc;IAChF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;IACrD,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,cAAc,CAAU;gBAEpB,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB;IAY5C,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,GAAG;IAO/B,MAAM,CAAC,GAAG,EAAE,MAAM;IAQzB,OAAO,CAAC,KAAK;IAiBb,OAAO,CAAC,uBAAuB;IAyE/B,OAAO,CAAC,kBAAkB;IAoB1B,OAAO,CAAC,SAAS;IA4BjB,OAAO,CAAC,cAAc;IA+BtB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="applepayjs" />
|
|
2
|
-
import type { Container } from
|
|
3
|
-
import { type ApplePayRawDataInitialization, type ApplePayStyles, type IApplePayShippingOption } from
|
|
2
|
+
import type { Container } from '../../components/container';
|
|
3
|
+
import { type ApplePayRawDataInitialization, type ApplePayStyles, type IApplePayShippingOption } from '../../components/param';
|
|
4
4
|
import type { EventEmitter } from '../../helper/event-emitter';
|
|
5
|
-
import { type IWalletService, type IWalletServiceMeta, type IWalletServiceUpdate, WalletService } from
|
|
5
|
+
import { type IWalletService, type IWalletServiceMeta, type IWalletServiceUpdate, WalletService } from './wallet-service';
|
|
6
6
|
declare global {
|
|
7
7
|
interface Window {
|
|
8
8
|
ApplePaySession: ApplePaySession;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/apple.wallet-service.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"apple.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/apple.wallet-service.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AA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AAO,CAAC,IAAI,CAAC;IA4BhD,OAAO,CAAC,cAAc;IAwBf,MAAM,CAAC,IAAI,EAAE,oBAAoB;IA6CxC,OAAO,CAAC,iBAAiB;IAwBzB,OAAO,CAAC,KAAK;IAuBb,OAAO,CAAC,uBAAuB;IAW/B,OAAO,CAAC,eAAe,CAErB;IAEF,OAAO,CAAC,aAAa;IAiDrB,OAAO,CAAC,kBAAkB;IAqB1B,OAAO,CAAC,kBAAkB,CAgBxB;IAEF,OAAO,CAAC,gCAAgC;IAqBxC,OAAO,CAAC,mBAAmB,CAuDzB;IAEF,OAAO,CAAC,yBAAyB,CAW/B;IAEF,OAAO,CAAC,wBAAwB,CAc9B;IAEF,OAAO,CAAC,eAAe,CAmBrB;IAEF,OAAO,CAAC,qBAAqB,CAQvB;IAEN,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,iBAAiB;CAW1B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Checkout } from '@auspayplus/open-payments-checkout';
|
|
2
|
-
import { Container } from '../../components/container';
|
|
3
|
-
import { IWalletService, IWalletServiceMeta, WalletService } from './wallet-service';
|
|
2
|
+
import type { Container } from '../../components/container';
|
|
4
3
|
import { Link } from '../../components/link';
|
|
5
4
|
import { WalletBackground } from '../../components/wallet-background';
|
|
5
|
+
import { type IWalletService, type IWalletServiceMeta, WalletService } from './wallet-service';
|
|
6
6
|
export declare class FlypayV2WalletService extends WalletService implements IWalletService {
|
|
7
7
|
protected background: WalletBackground;
|
|
8
8
|
protected checkout: Checkout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flypay-v2.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/flypay-v2.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"flypay-v2.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services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
|
|
7
|
-
import { IWalletService, IWalletServiceMeta, IWalletServiceUpdate, WalletService } from
|
|
1
|
+
import type { Container } from '../../components/container';
|
|
2
|
+
import { FlypayIframeEvent } from '../../components/flypay-iframe-event';
|
|
3
|
+
import { IFrame } from '../../components/iframe';
|
|
4
|
+
import { Link } from '../../components/link';
|
|
5
|
+
import { WalletBackground } from '../../components/wallet-background';
|
|
6
|
+
import { WalletTrigger } from '../../components/wallet-trigger';
|
|
7
|
+
import { type IWalletService, type IWalletServiceMeta, type IWalletServiceUpdate, WalletService } from './wallet-service';
|
|
8
8
|
export declare class FlypayWalletService extends WalletService implements IWalletService {
|
|
9
9
|
protected link: Link;
|
|
10
10
|
protected container: Container;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flypay.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/flypay.wallet-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flypay.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/flypay.wallet-service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAgB,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAiC,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAW,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAQzE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAEzB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,qBAAa,mBAAoB,SAAQ,aAAc,YAAW,cAAc;IAC9E,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;IACrB,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,KAAK,EAAE,iBAAiB,CAAC;IACnC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACvC,SAAS,CAAC,cAAc,EAAE,aAAa,CAAC;gBAE5B,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB;IAyB5C,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAezC,KAAK,IAAI,IAAI;IAKb,MAAM,CAAC,IAAI,EAAE,oBAAoB;IAIjC,MAAM,CAAC,GAAG,EAAE,MAAM;IAKzB,OAAO,CAAC,cAAc;IAYtB,OAAO,CAAC,iBAAiB;IA+CzB,OAAO,CAAC,0BAA0B;IAWlC,OAAO,CAAC,eAAe;CA2CxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/google.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"google.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/google.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAE9B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAEzB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,qBAAa,mBAAoB,SAAQ,aAAc,Y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letService, type IWalletServiceUpdate, WalletService } from './wallet-service';
|
|
3
3
|
declare global {
|
|
4
4
|
interface Window {
|
|
5
5
|
paypal: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paypal.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/paypal.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"paypal.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/paypal.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAG5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAEzB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QAEd,MAAM,EAAE,GAAG,CAAC;KACb;CACF;AAED,qBAAa,mBAAoB,SAAQ,aAAc,YAAW,cAAc;IAE9E,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;IACtB,SAAS,CAAC,kCAAkC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvE,SAAS,CAAC,iCAAiC,EAAE,MAAM,IAAI,CAAC;IACxD,SAAS,CAAC,kBAAkB,CAAC,EAAE;QAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IAEF,SAAS,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAEzC,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAezC,MAAM,CAAC,IAAI,EAAE,oBAAoB;IAmBxC,OAAO,CAAC,2BAA2B;IAsBnC,OAAO,CAAC,+BAA+B;IAyCvC,OAAO,CAAC,iBAAiB;IAyEzB,OAAO,CAAC,eAAe;CA0BxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { PaymentRequest, PaymentRequestCompleteStatus, Stripe, StripePaymentRequestButtonElement } from '@stripe/stripe-js';
|
|
2
|
+
import type { Container } from '../../components/container';
|
|
3
|
+
import { type IWalletService, WalletService } from './wallet-service';
|
|
4
4
|
export declare const UI_COMPLETION_STATE: {
|
|
5
5
|
SUCCESS: PaymentRequestCompleteStatus;
|
|
6
6
|
FAIL: PaymentRequestCompleteStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/stripe.wallet-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stripe.wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/stripe.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EACd,4BAA4B,EAC5B,MAAM,EACN,iCAAiC,EAClC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAGL,KAAK,cAAc,EAEnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,mBAAmB;;;CAG/B,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,aAAc,YAAW,cAAc;IAC9E,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAEzC,SAAS,CAAC,kBAAkB,IAAI,cAAc;IAc9C,SAAS,CAAC,kBAAkB,IAAI,iCAAiC;IAM1D,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAYhD,OAAO,CAAC,iBAAiB;IAmBzB,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,0BAA0B;IA0ClC,OAAO,CAAC,aAAa;CAOtB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Container } from
|
|
2
|
-
import {
|
|
3
|
-
import { EventEmitter } from
|
|
1
|
+
import type { Container } from '../../components/container';
|
|
2
|
+
import type { IShippingOption, IWalletMeta, WALLET_TYPE } from '../../components/param';
|
|
3
|
+
import { EventEmitter } from '../../helper/event-emitter';
|
|
4
4
|
export interface IWalletButtonsAvailability {
|
|
5
5
|
apple_pay: boolean;
|
|
6
6
|
google_pay: boolean;
|
|
@@ -80,9 +80,9 @@ export declare const WALLET_EVENT: {
|
|
|
80
80
|
BUTTON_CLICK: string;
|
|
81
81
|
CHECKOUT_OPEN: string;
|
|
82
82
|
CHECKOUT_CLOSE: string;
|
|
83
|
+
LOADED: string;
|
|
83
84
|
};
|
|
84
|
-
export
|
|
85
|
-
}
|
|
85
|
+
export type IUnavailableWalletEventBody = Record<string, never>;
|
|
86
86
|
export interface IPaymentMethodSelectedWalletEventBody {
|
|
87
87
|
data: IPaymentMethod;
|
|
88
88
|
onSuccess: () => void;
|
|
@@ -110,7 +110,7 @@ export interface IWalletService {
|
|
|
110
110
|
enable(): void;
|
|
111
111
|
disable(): void;
|
|
112
112
|
setEnv(env: string): any;
|
|
113
|
-
on(eventName: string, cb?: (data: IUnavailableWalletEventBody | IPaymentMethodSelectedWalletEventBody |
|
|
113
|
+
on(eventName: string, cb?: (data: IUnavailableWalletEventBody | IPaymentMethodSelectedWalletEventBody | unknown) => void): any;
|
|
114
114
|
}
|
|
115
115
|
export declare abstract class WalletService {
|
|
116
116
|
protected publicKey: string;
|