@paydock/client-sdk 1.128.2 → 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 +529 -0
- package/bundles/index.cjs +2661 -401
- package/bundles/index.cjs.d.ts +395 -194
- package/bundles/index.mjs +2660 -401
- package/bundles/index.mjs.d.ts +395 -194
- 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 +5 -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.d.ts +1 -0
- 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/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/wallet-buttons.d.ts +12 -6
- 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/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/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/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/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 +8 -0
- package/bundles/types/widget/multi-widget.d.ts.map +1 -1
- package/bundles/widget.umd.js +2661 -401
- package/bundles/widget.umd.js.d.ts +395 -194
- package/bundles/widget.umd.js.min.d.ts +395 -194
- package/bundles/widget.umd.min.js +1 -1
- package/docs/wallet-buttons-express-examples.md +528 -0
- package/docs/wallet-buttons.md +1 -0
- package/package.json +3 -2
- 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/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,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"}
|
|
@@ -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
|
}
|
|
@@ -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;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U9D;;;;;;;;;;;;;OAaG;IACI,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI;IAM3D;;;;;;;;;;OAUG;IACI,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,IAAI;IAUzD;;;;;;;;;;OAUG;IACI,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,IAAI;IAU1D,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,2BAA2B;IASnC,OAAO,CAAC,wBAAwB;IAShC,OAAO,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;AAC5D,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAI7B,MAAM,wBAAwB,CAAC;AAChC,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,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,eAAe,EAAE,eAAe,CAAC;KAClC;CACF;AAED,UAAU,kBAAkB;IAC1B,eAAe,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC;IACpD,cAAc,CAAC,EAAE,UAAU,CAAC,sBAAsB,CAAC;CACpD;AAID,qBAAa,kBAAmB,SAAQ,aAAc,YAAW,cAAc;IAU3E,SAAS,CAAC,WAAW,EAAE,MAAM;IAC7B,SAAS,CAAC,YAAY,EAAE,YAAY;IAVtC,OAAO,CAAC,cAAc,CAAkB;IACxC,SAAS,CAAC,kCAAkC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvE,SAAS,CAAC,iCAAiC,EAAE,MAAM,IAAI,CAAC;IACxD,SAAS,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;IAC1D,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAM;gBAGpD,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB,EACd,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY;IAMtC,SAAS,CAAC,cAAc,IAAI,MAAM;IAIlC,SAAS,CAAC,aAAa,IAAI,MAAM;IAIjC,SAAS,CAAC,aAAa,IAAI,cAAc;IAmBzC,SAAS,CAAC,4BAA4B,IAAI,6BAA6B;IAyBvE,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIhC,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,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/flypay-v2.wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAE9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAoB,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAStE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAEvB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,qBAAa,qBAAsB,SAAQ,aAAc,YAAW,cAAc;IAChF,SAAS,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACvC,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC7B,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;IACrB,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,cAAc,EAAE,iBAAiB,CAAC;IAG5C,OAAO,CAAC,QAAQ,CAAiB;gBAErB,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB;IAehD,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,GAAG;IAmB/B,MAAM,CAAC,GAAG,EAAE,MAAM;IAKlB,MAAM;IAQN,OAAO;IAQd,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,SAAS;IAgBjB,OAAO,CAAC,qBAAqB,CAsB3B;IAEF,OAAO,CAAC,gCAAgC;IAqBxC,OAAO,CAAC,UAAU;IAgBlB,OAAO,CAAC,gBAAgB;IA4CxB,OAAO,CAAC,cAAc;CAgBvB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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"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AC,wBAAwB;IAoBhC,OAAO,CAAC,gCAAgC;YAqB1B,eAAe;IAW7B,OAAO,CAAC,mBAAmB;IA2G3B,OAAO,CAAC,oBAAoB;IAoB5B,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,wBAAwB;IA4DhC,OAAO,CAAC,cAAc;IA0BtB,OAAO,CAAC,eAAe,CAuBrB;IAEF,OAAO,CAAC,qBAAqB,CAOvB;CACP"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Container } from '../../components/container';
|
|
2
|
+
import { type IWalletService, 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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"wallet-service.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons/wallet-services/wallet-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAExF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB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ACjB,EAAE,CAAC,EAAE,CACH,IAAI,EACA,2BAA2B,GAC3B,qCAAqC,GACrC,OAAO,KACR,IAAI,OACT;CACH;AAED,8BAAsB,aAAa;IAM/B,SAAS,CAAC,SAAS,EAAE,MAAM;IAC3B,SAAS,CAAC,IAAI,EAAE,kBAAkB;IANpC,SAAS,CAAC,GAAG,SAAe;IAC5B,SAAS,CAAC,YAAY,EAAE,cAAc,EAAE,CAAC;IACzC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;gBAGzB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB;IAMpC,SAAS,CAAC,sBAAsB;IAIhC,SAAS,CAAC,cAAc,IAAI,MAAM;IAK3B,MAAM,CAAC,GAAG,EAAE,MAAM;IAKlB,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAOzC,MAAM,CAAC,IAAI,EAAE,oBAAoB;IAKjC,MAAM;IAKN,OAAO;IAKP,EAAE,CACP,SAAS,EAAE,MAAM,EACjB,EAAE,CAAC,EAAE,CACH,IAAI,EAAE,2BAA2B,GAAG,qCAAqC,KACtE,IAAI;CAcZ"}
|
package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-wallet-token-meta.interface.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE;YACT,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,eAAe,CAAC,EAAE,MAAM,CAAC;YACzB,eAAe,CAAC,EAAE,MAAM,CAAC;YACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;YACjC,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,KAAK,CAAC;gBACd,EAAE,CAAC,EAAE,MAAM,CAAC;gBACZ,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,MAAM,CAAC,EAAE,MAAM,CAAC;gBAChB,MAAM,CAAC,EAAE,MAAM,CAAC;gBAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,IAAI,CAAC,EAAE,MAAM,CAAC;aACf,CAAC,CAAC;YACH,OAAO,CAAC,EAAE;gBACR,UAAU,CAAC,EAAE,MAAM,CAAC;gBACpB,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,MAAM,CAAC,EAAE,MAAM,CAAC;aACjB,CAAC;SACH,CAAC;KACH,CAAC;IACF,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"charge-wallet-token-meta.interface.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,CAAC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KACd,CAAC;CACH"}
|
package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import type { IShippingOption } from '../../components/param';
|
|
2
|
+
export interface Contact {
|
|
3
|
+
first_name?: string;
|
|
4
|
+
last_name?: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
phone?: string;
|
|
7
|
+
phone2?: string;
|
|
8
|
+
}
|
|
1
9
|
export interface WalletCaptureRequest {
|
|
2
10
|
payment_method_id?: string;
|
|
3
11
|
customer: {
|
|
@@ -18,5 +26,17 @@ export interface WalletCaptureRequest {
|
|
|
18
26
|
wallet_express?: boolean;
|
|
19
27
|
};
|
|
20
28
|
};
|
|
29
|
+
shipping?: {
|
|
30
|
+
address_line1?: string;
|
|
31
|
+
address_line2?: string;
|
|
32
|
+
address_line3?: string;
|
|
33
|
+
address_country?: string;
|
|
34
|
+
address_city?: string;
|
|
35
|
+
address_postcode?: string;
|
|
36
|
+
address_state?: string;
|
|
37
|
+
options?: IShippingOption[];
|
|
38
|
+
method?: string;
|
|
39
|
+
contact?: Contact;
|
|
40
|
+
};
|
|
21
41
|
}
|
|
22
42
|
//# sourceMappingURL=wallet-capture-request.interface.d.ts.map
|
package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-capture-request.interface.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons-express/interfaces/wallet-capture-request.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;
|
|
1
|
+
{"version":3,"file":"wallet-capture-request.interface.d.ts","sourceRoot":"","sources":["../../../src/wallet-buttons-express/interfaces/wallet-capture-request.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,OAAO;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;I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-
{"version":3,"file":"apple-pay.wallet-button-express.d.ts","sourceRoot":"","sources":["../../../../src/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAMvF;;;;;;;;;;;;;;GAcG;AACH,cAAM,2BAA4B,SAAQ,gBAAgB,CAAC,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"apple-pay.wallet-button-express.d.ts","sourceRoot":"","sources":["../../../../src/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAMvF;;;;;;;;;;;;;;GAcG;AACH,cAAM,2BAA4B,SAAQ,gBAAgB,CAAC,kBAAkB,CAAC;IAC5E,OAAO,CAAC,cAAc,CAAkB;IAExC,kBAAkB,aAEhB,QAAQ,EAAE,MAAM,EAChB,sBAAsB,EAAE,MAAM,EAC9B,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB;IAQ1B;;;;;;;OAOG;IACI,IAAI;IAyBX,OAAO,CAAC,cAAc;IA+BtB;;;;;;;;OAQG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAI9C,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,KAAK;IAsBb,OAAO,CAAC,uBAAuB,CAW7B;IAEF,OAAO,CAAC,aAAa;IAgDrB,OAAO,CAAC,kBAAkB,CAgBxB;IAEF,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,mBAAmB,CA6CzB;IAEF,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,eAAe,CAErB;IAEF,OAAO,CAAC,oBAAoB;IA6B5B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,+BAA+B,CA8BrC;IAEF,OAAO,CAAC,8BAA8B,CAgBpC;IAEF,OAAO,CAAC,8BAA8B;IAWtC,OAAO,CAAC,+BAA+B;IA+BvC,OAAO,CAAC,iBAAiB;CA0B1B;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|
package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts
CHANGED
|
@@ -7,10 +7,13 @@ export interface AppleShippingType {
|
|
|
7
7
|
};
|
|
8
8
|
address_line1: string;
|
|
9
9
|
address_line2: string;
|
|
10
|
+
address_line3?: string;
|
|
10
11
|
address_city: string;
|
|
11
12
|
address_postcode: string;
|
|
12
13
|
address_state: string;
|
|
13
14
|
address_country: string;
|
|
15
|
+
address_country_code?: string;
|
|
16
|
+
options?: IApplePayShippingOption[];
|
|
14
17
|
}
|
|
15
18
|
export interface IApplePayShippingOption {
|
|
16
19
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-pay-shipping-data.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"apple-pay-shipping-data.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -37,6 +37,7 @@ export interface IGeneral {
|
|
|
37
37
|
meta?: IPayPalMeta;
|
|
38
38
|
label?: string;
|
|
39
39
|
dynamic_fields_position?: boolean;
|
|
40
|
+
disable_result_message?: boolean;
|
|
40
41
|
}
|
|
41
42
|
export interface IPredefinedFields {
|
|
42
43
|
gateway_id: string;
|
|
@@ -160,6 +161,7 @@ declare class Configuration {
|
|
|
160
161
|
private getUrl;
|
|
161
162
|
private getDefaultGatewayUrl;
|
|
162
163
|
setGiftCardSchemeData(giftCardScheme: any, processingNetwork: any): void;
|
|
164
|
+
disableResultMessage(): void;
|
|
163
165
|
}
|
|
164
166
|
export { Configuration };
|
|
165
167
|
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/widget/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,K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AAC,EAAE,MAAM;IAIzC;;;;;;;OAOG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM;IAKtB,MAAM,IAAI,MAAM;IAIvB;;;;;;;;;;;;;;OAcG;IACI,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EAAE,OAAO,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAA0B;IAYlH,iBAAiB,CAAC,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC;IAqB5G,OAAO,CAAC,IAAI;IAqBL,UAAU,IAAI,QAAQ;IAK7B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,oBAAoB;IAIrB,qBAAqB,CAAC,cAAc,KAAA,EAAE,iBAAiB,KAAA;IAYvD,oBAAoB;CAG9B;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Container } from
|
|
2
|
-
import { IFrame } from
|
|
3
|
-
import { type IEventData } from
|
|
1
|
+
import { Container } from '../components/container';
|
|
2
|
+
import { IFrame } from '../components/iframe';
|
|
3
|
+
import { type IEventData } from '../components/iframe-event';
|
|
4
4
|
import { type IFormValidation, type IFormValues, type ValidatorFieldsMapKey } from '../components/param';
|
|
5
|
-
import { type ITriggerData, Trigger } from
|
|
6
|
-
import { MultiWidget } from
|
|
5
|
+
import { type ITriggerData, Trigger } from '../components/trigger';
|
|
6
|
+
import { MultiWidget } from './multi-widget';
|
|
7
7
|
export interface IEventMetaData extends IEventData {
|
|
8
8
|
configuration_token: string;
|
|
9
9
|
type: string;
|
|
@@ -19,6 +19,8 @@ export interface IEventAfterLoadData extends IEventData {
|
|
|
19
19
|
export interface IEventFinishData extends IEventData {
|
|
20
20
|
payment_source: string;
|
|
21
21
|
payment_source_token?: string;
|
|
22
|
+
card_scheme?: string;
|
|
23
|
+
save_card_consent_accepted?: boolean;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* Interface of data from validation event.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-multi-widget.d.ts","sourceRoot":"","sources":["../../src/widget/html-multi-widget.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html-multi-widget.d.ts","sourceRoot":"","sources":["../../src/widget/html-multi-widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,WAAW,EAKhB,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,YAAY,EAAW,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAK5E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,cAAe,SAAQ,UAAU;IAChD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,mBAAoB,SAAQ,UAAU;CAAG;AAE1D,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B,CAAC,EAAE,OAAO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I,IAAI,CAAC,QAAQ,EAAE,OAAO;IAI7B;;;;OAIG;IACI,IAAI;IAIX;;OAEG;IACI,MAAM;IAKb;;;;;;;;;;OAUG;IACI,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE;IAuBtC;;;;;;;;;;OAUG;IACI,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE;IAuBtC;;;;;;;;;;;;;OAaG;IACI,gBAAgB,CAAC,WAAW,EAAE,WAAW;IAQhD;;;;;;;;;;;OAWG;IACI,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAcjD;;;;;OAKG;IACI,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAMxD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACI,mBAAmB,CAAC,QAAQ,EAAE,MAAM;IAW3C;;OAEG;IACI,qBAAqB;IAa5B;;;;;;;;OAQG;IACI,aAAa;CAUrB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -102,6 +102,7 @@ declare class HtmlWidget extends HtmlMultiWidget {
|
|
|
102
102
|
*/
|
|
103
103
|
setMeta(meta: IPayPalMeta | IBamboraMeta): void;
|
|
104
104
|
setGiftCardScheme(giftCardScheme: any, processingNetwork: any): void;
|
|
105
|
+
disableResultMessage(): void;
|
|
105
106
|
}
|
|
106
107
|
export { HtmlWidget };
|
|
107
108
|
//# sourceMappingURL=html-widget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-widget.d.ts","sourceRoot":"","sources":["../../src/widget/html-widget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;;;;;;;;;;;;;;;;;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