@paydock/client-sdk 1.104.3-beta → 1.105.1
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/.nvmrc +1 -0
- package/README.md +572 -290
- package/api.d.ts +1 -0
- package/api.js +1 -0
- package/bundles/widget.umd.js +9130 -8655
- package/bundles/widget.umd.min.js +1 -2
- package/canvas3ds.d.ts +1 -0
- package/canvas3ds.js +1 -0
- package/checkout-button.d.ts +1 -0
- package/checkout-button.js +1 -0
- package/inicialization-guide.md +7 -0
- package/{bundles/types → lib}/api/api-base.d.ts +1 -2
- package/lib/api/api-base.js +101 -0
- package/lib/api/api-base.js.map +1 -0
- package/{bundles/types → lib}/api/api-charge-internal.d.ts +0 -1
- package/lib/api/api-charge-internal.js +30 -0
- package/lib/api/api-charge-internal.js.map +1 -0
- package/{bundles/types → lib}/api/api-charge.d.ts +0 -1
- package/lib/api/api-charge.js +49 -0
- package/lib/api/api-charge.js.map +1 -0
- package/{bundles/types → lib}/api/api-internal.d.ts +0 -1
- package/lib/api/api-internal.js +13 -0
- package/lib/api/api-internal.js.map +1 -0
- package/{bundles/types → lib}/api/api-service-internal.d.ts +0 -1
- package/lib/api/api-service-internal.js +18 -0
- package/lib/api/api-service-internal.js.map +1 -0
- package/{bundles/types → lib}/api/api.d.ts +1 -2
- package/lib/api/api.js +62 -0
- package/lib/api/api.js.map +1 -0
- package/lib/api/index.d.ts +1 -0
- package/lib/api/index.js +2 -0
- package/lib/api/index.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/canvas-3ds.d.ts +1 -2
- package/lib/canvas-3ds/canvas-3ds.js +157 -0
- package/lib/canvas-3ds/canvas-3ds.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/index.d.ts +0 -1
- package/lib/canvas-3ds/index.js +2 -0
- package/lib/canvas-3ds/index.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/services/gpayments-service.d.ts +0 -1
- package/lib/canvas-3ds/services/gpayments-service.js +181 -0
- package/lib/canvas-3ds/services/gpayments-service.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/services/index.d.ts +0 -1
- package/lib/canvas-3ds/services/index.js +2 -0
- package/lib/canvas-3ds/services/index.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/services/standalone3ds-service.d.ts +0 -1
- package/lib/canvas-3ds/services/standalone3ds-service.js +32 -0
- package/lib/canvas-3ds/services/standalone3ds-service.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/afterpay/afterpay-checkout-button.d.ts +1 -2
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js +50 -0
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/afterpay/afterpay.runner.d.ts +0 -1
- package/lib/checkout-button/afterpay/afterpay.runner.js +41 -0
- package/lib/checkout-button/afterpay/afterpay.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/checkout-button.d.ts +1 -2
- package/{bundles/types → lib}/checkout-button/checkout-button.interface.d.ts +0 -1
- package/lib/checkout-button/checkout-button.interface.js +45 -0
- package/lib/checkout-button/checkout-button.interface.js.map +1 -0
- package/lib/checkout-button/checkout-button.js +266 -0
- package/lib/checkout-button/checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/checkout-contextual-handler.d.ts +0 -1
- package/lib/checkout-button/checkout-contextual-handler.js +75 -0
- package/lib/checkout-button/checkout-contextual-handler.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/index.d.ts +1 -2
- package/lib/checkout-button/index.js +85 -0
- package/lib/checkout-button/index.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/paypal/paypal-checkout-button.d.ts +1 -2
- package/lib/checkout-button/paypal/paypal-checkout-button.js +25 -0
- package/lib/checkout-button/paypal/paypal-checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/paypal/paypal.runner.d.ts +0 -1
- package/lib/checkout-button/paypal/paypal.runner.js +14 -0
- package/lib/checkout-button/paypal/paypal.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/base.runner.d.ts +3 -4
- package/lib/checkout-button/runner/base.runner.js +13 -0
- package/lib/checkout-button/runner/base.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/contextual.runner.d.ts +1 -2
- package/lib/checkout-button/runner/contextual.runner.js +40 -0
- package/lib/checkout-button/runner/contextual.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/index.d.ts +0 -1
- package/lib/checkout-button/runner/index.js +11 -0
- package/lib/checkout-button/runner/index.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/popup.runner.d.ts +1 -2
- package/lib/checkout-button/runner/popup.runner.js +68 -0
- package/lib/checkout-button/runner/popup.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/redirect.runner.d.ts +1 -2
- package/lib/checkout-button/runner/redirect.runner.js +15 -0
- package/lib/checkout-button/runner/redirect.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js +64 -0
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js +78 -0
- package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js +49 -0
- package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney.config.d.ts +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.config.js +4 -0
- package/lib/checkout-button/zipmoney/zipmoney.config.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney.runner.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney.runner.js +23 -0
- package/lib/checkout-button/zipmoney/zipmoney.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney.types.d.ts +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.types.js +1 -0
- package/lib/checkout-button/zipmoney/zipmoney.types.js.map +1 -0
- package/{bundles/types → lib}/components/ability-guard.d.ts +0 -1
- package/lib/components/ability-guard.js +44 -0
- package/lib/components/ability-guard.js.map +1 -0
- package/{bundles/types → lib}/components/background.d.ts +0 -1
- package/lib/components/background.js +193 -0
- package/lib/components/background.js.map +1 -0
- package/{bundles/types → lib}/components/container.d.ts +1 -1
- package/lib/components/container.js +63 -0
- package/lib/components/container.js.map +1 -0
- package/{bundles/types → lib}/components/dispatcher.d.ts +1 -2
- package/lib/components/dispatcher.js +39 -0
- package/lib/components/dispatcher.js.map +1 -0
- package/{bundles/types → lib}/components/element-style.d.ts +1 -2
- package/lib/components/element-style.js +52 -0
- package/lib/components/element-style.js.map +1 -0
- package/{bundles/types → lib}/components/flypay-iframe-event.d.ts +0 -1
- package/lib/components/flypay-iframe-event.js +28 -0
- package/lib/components/flypay-iframe-event.js.map +1 -0
- package/{bundles/types/components/form-interceptor.d.ts → lib/components/form-Interceptor.d.ts} +0 -1
- package/lib/components/form-Interceptor.js +38 -0
- package/lib/components/form-Interceptor.js.map +1 -0
- package/{bundles/types → lib}/components/http-core.d.ts +0 -1
- package/lib/components/http-core.js +57 -0
- package/lib/components/http-core.js.map +1 -0
- package/{bundles/types → lib}/components/iframe-event.d.ts +15 -13
- package/lib/components/iframe-event.js +75 -0
- package/lib/components/iframe-event.js.map +1 -0
- package/{bundles/types → lib}/components/iframe.d.ts +0 -1
- package/lib/components/iframe.js +62 -0
- package/lib/components/iframe.js.map +1 -0
- package/{bundles/types → lib}/components/link.d.ts +1 -2
- package/lib/components/link.js +59 -0
- package/lib/components/link.js.map +1 -0
- package/{bundles/types → lib}/components/loader.d.ts +0 -1
- package/lib/components/loader.js +234 -0
- package/lib/components/loader.js.map +1 -0
- package/{bundles/types → lib}/components/param.d.ts +9 -12
- package/lib/components/param.js +147 -0
- package/lib/components/param.js.map +1 -0
- package/{bundles/types → lib}/components/popup.d.ts +0 -1
- package/lib/components/popup.js +104 -0
- package/lib/components/popup.js.map +1 -0
- package/{bundles/types → lib}/components/storage-dispatcher.d.ts +0 -1
- package/lib/components/storage-dispatcher.js +75 -0
- package/lib/components/storage-dispatcher.js.map +1 -0
- package/{bundles/types → lib}/components/trigger.d.ts +0 -1
- package/lib/components/trigger.js +49 -0
- package/lib/components/trigger.js.map +1 -0
- package/{bundles/types → lib}/components/vault-display-iframe-event.d.ts +0 -1
- package/lib/components/vault-display-iframe-event.js +27 -0
- package/lib/components/vault-display-iframe-event.js.map +1 -0
- package/{bundles/types → lib}/components/wallet-background.d.ts +2 -2
- package/lib/components/wallet-background.js +63 -0
- package/lib/components/wallet-background.js.map +1 -0
- package/{bundles/types → lib}/components/wallet-trigger.d.ts +0 -1
- package/lib/components/wallet-trigger.js +27 -0
- package/lib/components/wallet-trigger.js.map +1 -0
- package/{bundles/types/configs/env/environment.paydock.d.ts → lib/configs/env/env.d.ts} +8 -5
- package/lib/configs/env/env.js +117 -0
- package/lib/configs/env/env.js.map +1 -0
- package/{bundles/types → lib}/configs/sdk.d.ts +2 -3
- package/lib/configs/sdk.js +16 -0
- package/lib/configs/sdk.js.map +1 -0
- package/lib/constants/validators.d.ts +44 -0
- package/lib/constants/validators.js +42 -0
- package/lib/constants/validators.js.map +1 -0
- package/{bundles/types → lib}/external-checkout/builder.d.ts +0 -1
- package/lib/external-checkout/builder.js +45 -0
- package/lib/external-checkout/builder.js.map +1 -0
- package/{bundles/types → lib}/external-checkout/checker.d.ts +0 -1
- package/lib/external-checkout/checker.js +22 -0
- package/lib/external-checkout/checker.js.map +1 -0
- package/lib/external-checkout/index.d.ts +2 -0
- package/lib/external-checkout/index.js +3 -0
- package/lib/external-checkout/index.js.map +1 -0
- package/{bundles/types → lib}/helper/access-token.d.ts +0 -1
- package/lib/helper/access-token.js +44 -0
- package/lib/helper/access-token.js.map +1 -0
- package/{bundles/types → lib}/helper/browser.d.ts +0 -1
- package/lib/helper/browser.js +79 -0
- package/lib/helper/browser.js.map +1 -0
- package/{bundles/types → lib}/helper/event-emitter.d.ts +0 -1
- package/lib/helper/event-emitter.js +23 -0
- package/lib/helper/event-emitter.js.map +1 -0
- package/{bundles/types → lib}/helper/event.d.ts +0 -1
- package/lib/helper/event.js +23 -0
- package/lib/helper/event.js.map +1 -0
- package/{bundles/types → lib}/helper/ms.d.ts +0 -1
- package/lib/helper/ms.js +32 -0
- package/lib/helper/ms.js.map +1 -0
- package/{bundles/types → lib}/helper/object.d.ts +0 -1
- package/lib/helper/object.js +6 -0
- package/lib/helper/object.js.map +1 -0
- package/{bundles/types → lib}/helper/url.d.ts +0 -1
- package/lib/helper/url.js +11 -0
- package/lib/helper/url.js.map +1 -0
- package/{bundles/types → lib}/helper/uuid.d.ts +0 -1
- package/lib/helper/uuid.js +26 -0
- package/lib/helper/uuid.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/{bundles/types → lib}/payment-source/builder.d.ts +0 -1
- package/lib/payment-source/builder.js +49 -0
- package/lib/payment-source/builder.js.map +1 -0
- package/{bundles/types → lib}/payment-source/index.d.ts +0 -1
- package/lib/payment-source/index.js +2 -0
- package/lib/payment-source/index.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/html-payment-source-widget.d.ts +17 -14
- package/lib/payment-source-widget/html-payment-source-widget.js +172 -0
- package/lib/payment-source-widget/html-payment-source-widget.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/index.d.ts +0 -1
- package/lib/payment-source-widget/index.js +35 -0
- package/lib/payment-source-widget/index.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/interfaces.d.ts +0 -1
- package/lib/payment-source-widget/interfaces.js +2 -0
- package/lib/payment-source-widget/interfaces.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/payment-source-widget.d.ts +1 -2
- package/lib/payment-source-widget/payment-source-widget.js +142 -0
- package/lib/payment-source-widget/payment-source-widget.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/index.d.ts +0 -1
- package/lib/secure-remote-commerce/index.js +2 -0
- package/lib/secure-remote-commerce/index.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/interfaces.d.ts +5 -6
- package/lib/secure-remote-commerce/interfaces.js +28 -0
- package/lib/secure-remote-commerce/interfaces.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/providers/src-provider.d.ts +0 -1
- package/lib/secure-remote-commerce/providers/src-provider.js +1 -0
- package/lib/secure-remote-commerce/providers/src-provider.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/providers/visa-src/helper.d.ts +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/helper.js +36 -0
- package/lib/secure-remote-commerce/providers/visa-src/helper.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/providers/visa-src/index.d.ts +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/index.js +2 -0
- package/lib/secure-remote-commerce/providers/visa-src/index.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/providers/visa-src/visa-src.d.ts +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.js +113 -0
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/providers/visa-src/visa-src.styles.d.ts +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js +10 -0
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/secure-remote-commerce.d.ts +1 -2
- package/lib/secure-remote-commerce/secure-remote-commerce.js +239 -0
- package/lib/secure-remote-commerce/secure-remote-commerce.js.map +1 -0
- package/{bundles/types → lib}/vault-display-widget/index.d.ts +0 -1
- package/lib/vault-display-widget/index.js +14 -0
- package/lib/vault-display-widget/index.js.map +1 -0
- package/{bundles/types → lib}/vault-display-widget/vault-display-widget.d.ts +1 -2
- package/lib/vault-display-widget/vault-display-widget.js +99 -0
- package/lib/vault-display-widget/vault-display-widget.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/afterpay.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/afterpay.wallet-service.js +152 -0
- package/lib/wallet-buttons/afterpay.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/apple.wallet-service.d.ts +2 -1
- package/lib/wallet-buttons/apple.wallet-service.js +324 -0
- package/lib/wallet-buttons/apple.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/flypay-v2.wallet-service.d.ts +9 -2
- package/lib/wallet-buttons/flypay-v2.wallet-service.js +165 -0
- package/lib/wallet-buttons/flypay-v2.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/flypay.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/flypay.wallet-service.js +117 -0
- package/lib/wallet-buttons/flypay.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/google.wallet-service.d.ts +3 -1
- package/lib/wallet-buttons/google.wallet-service.js +301 -0
- package/lib/wallet-buttons/google.wallet-service.js.map +1 -0
- package/lib/wallet-buttons/helpers/flypay-v2.helper.d.ts +3 -0
- package/lib/wallet-buttons/helpers/flypay-v2.helper.js +151 -0
- package/lib/wallet-buttons/helpers/flypay-v2.helper.js.map +1 -0
- package/lib/wallet-buttons/index.d.ts +127 -0
- package/lib/wallet-buttons/index.js +128 -0
- package/lib/wallet-buttons/index.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/interfaces.d.ts +3 -1
- package/lib/wallet-buttons/interfaces.js +1 -0
- package/lib/wallet-buttons/interfaces.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/mastercard.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/mastercard.wallet-service.js +27 -0
- package/lib/wallet-buttons/mastercard.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/paypal.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/paypal.wallet-service.js +144 -0
- package/lib/wallet-buttons/paypal.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/stripe.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/stripe.wallet-service.js +100 -0
- package/lib/wallet-buttons/stripe.wallet-service.js.map +1 -0
- package/{bundles/types/wallet-buttons/wallet-cba-buttons.d.ts → lib/wallet-buttons/wallet-buttons.d.ts} +92 -115
- package/lib/wallet-buttons/wallet-buttons.js +479 -0
- package/lib/wallet-buttons/wallet-buttons.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/wallet-service.d.ts +7 -1
- package/lib/wallet-buttons/wallet-service.js +60 -0
- package/lib/wallet-buttons/wallet-service.js.map +1 -0
- package/{bundles/types → lib}/widget/configuration.d.ts +2 -3
- package/lib/widget/configuration.js +260 -0
- package/lib/widget/configuration.js.map +1 -0
- package/lib/widget/html-multi-widget.d.ts +336 -0
- package/lib/widget/html-multi-widget.js +422 -0
- package/lib/widget/html-multi-widget.js.map +1 -0
- package/{bundles/types → lib}/widget/html-widget.d.ts +1 -2
- package/lib/widget/html-widget.js +127 -0
- package/lib/widget/html-widget.js.map +1 -0
- package/{bundles/types → lib}/widget/index.d.ts +1 -2
- package/lib/widget/index.js +132 -0
- package/lib/widget/index.js.map +1 -0
- package/{bundles/types → lib}/widget/meta.d.ts +0 -1
- package/lib/widget/meta.js +8 -0
- package/lib/widget/meta.js.map +1 -0
- package/{bundles/types → lib}/widget/multi-widget.d.ts +1 -2
- package/lib/widget/multi-widget.js +437 -0
- package/lib/widget/multi-widget.js.map +1 -0
- package/{bundles/types → lib}/widget/style.d.ts +0 -1
- package/lib/widget/style.js +204 -0
- package/lib/widget/style.js.map +1 -0
- package/package.json +42 -164
- package/payment-source-widget.d.ts +1 -0
- package/payment-source-widget.js +1 -0
- package/slate.md +136 -107
- package/tslint.json +129 -0
- package/typings/globals/@auspayplus/open-payments-checkout/index.d.ts +43 -0
- package/typings/globals/jasmine/index.d.ts +576 -0
- package/typings/globals/jasmine-ajax/index.d.ts +83 -0
- package/typings/globals/jquery/index.d.ts +3759 -0
- package/typings/index.d.ts +4 -0
- package/vault-display-widget.d.ts +1 -0
- package/vault-display-widget.js +1 -0
- package/vendors/zipmoney.d.ts +18 -0
- package/vendors/zipmoney.js +2 -0
- package/widget.d.ts +1 -0
- package/widget.js +1 -0
- package/bundles/index.cjs +0 -10674
- package/bundles/index.cjs.d.ts +0 -3163
- package/bundles/index.cjs.map +0 -1
- package/bundles/index.mjs +0 -10642
- package/bundles/index.mjs.d.ts +0 -3163
- package/bundles/index.mjs.map +0 -1
- package/bundles/types/api/api-base.d.ts.map +0 -1
- package/bundles/types/api/api-charge-internal.d.ts.map +0 -1
- package/bundles/types/api/api-charge.d.ts.map +0 -1
- package/bundles/types/api/api-internal.d.ts.map +0 -1
- package/bundles/types/api/api-service-internal.d.ts.map +0 -1
- package/bundles/types/api/api.d.ts.map +0 -1
- package/bundles/types/api/index.d.ts +0 -2
- package/bundles/types/api/index.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/index.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/services/index.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +0 -1
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +0 -1
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +0 -1
- package/bundles/types/checkout-button/index.d.ts.map +0 -1
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/base.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/index.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/index.d.ts +0 -4
- package/bundles/types/checkout-button/zipmoney/index.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +0 -1
- package/bundles/types/components/ability-guard.d.ts.map +0 -1
- package/bundles/types/components/background.d.ts.map +0 -1
- package/bundles/types/components/container.d.ts.map +0 -1
- package/bundles/types/components/dispatcher.d.ts.map +0 -1
- package/bundles/types/components/element-style.d.ts.map +0 -1
- package/bundles/types/components/flypay-iframe-event.d.ts.map +0 -1
- package/bundles/types/components/form-interceptor.d.ts.map +0 -1
- package/bundles/types/components/http-core.d.ts.map +0 -1
- package/bundles/types/components/iframe-event.d.ts.map +0 -1
- package/bundles/types/components/iframe.d.ts.map +0 -1
- package/bundles/types/components/link.d.ts.map +0 -1
- package/bundles/types/components/loader.d.ts.map +0 -1
- package/bundles/types/components/param.d.ts.map +0 -1
- package/bundles/types/components/popup.d.ts.map +0 -1
- package/bundles/types/components/storage-dispatcher.d.ts.map +0 -1
- package/bundles/types/components/trigger.d.ts.map +0 -1
- package/bundles/types/components/vault-display-iframe-event.d.ts.map +0 -1
- package/bundles/types/components/wallet-background.d.ts.map +0 -1
- package/bundles/types/components/wallet-trigger.d.ts.map +0 -1
- package/bundles/types/configs/env/environment.cba.d.ts +0 -29
- package/bundles/types/configs/env/environment.cba.d.ts.map +0 -1
- package/bundles/types/configs/env/environment.interface.d.ts +0 -12
- package/bundles/types/configs/env/environment.interface.d.ts.map +0 -1
- package/bundles/types/configs/env/environment.paydock.d.ts.map +0 -1
- package/bundles/types/configs/env/index.d.ts +0 -3
- package/bundles/types/configs/env/index.d.ts.map +0 -1
- package/bundles/types/configs/sdk.d.ts.map +0 -1
- package/bundles/types/external-checkout/builder.d.ts.map +0 -1
- package/bundles/types/external-checkout/checker.d.ts.map +0 -1
- package/bundles/types/external-checkout/index.d.ts +0 -3
- package/bundles/types/external-checkout/index.d.ts.map +0 -1
- package/bundles/types/helper/access-token.d.ts.map +0 -1
- package/bundles/types/helper/browser.d.ts.map +0 -1
- package/bundles/types/helper/event-emitter.d.ts.map +0 -1
- package/bundles/types/helper/event.d.ts.map +0 -1
- package/bundles/types/helper/ms.d.ts.map +0 -1
- package/bundles/types/helper/object.d.ts.map +0 -1
- package/bundles/types/helper/url.d.ts.map +0 -1
- package/bundles/types/helper/uuid.d.ts.map +0 -1
- package/bundles/types/index-cba.d.ts +0 -13
- package/bundles/types/index-cba.d.ts.map +0 -1
- package/bundles/types/index.d.ts +0 -14
- package/bundles/types/index.d.ts.map +0 -1
- package/bundles/types/payment-source/builder.d.ts.map +0 -1
- package/bundles/types/payment-source/index.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/index.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/interfaces.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/index.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/visa-src/helper.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/visa-src/index.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/visa-src/visa-src.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/visa-src/visa-src.styles.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +0 -1
- package/bundles/types/vault-display-widget/index.d.ts.map +0 -1
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/afterpay.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/apple.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/flypay.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/google.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/index-cba.d.ts +0 -2
- package/bundles/types/wallet-buttons/index-cba.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/index.d.ts +0 -2
- package/bundles/types/wallet-buttons/index.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/interfaces.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/mastercard.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/paypal.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/stripe.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts +0 -366
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/wallet-service.d.ts.map +0 -1
- package/bundles/types/widget/configuration.d.ts.map +0 -1
- package/bundles/types/widget/html-multi-widget.d.ts +0 -266
- package/bundles/types/widget/html-multi-widget.d.ts.map +0 -1
- package/bundles/types/widget/html-widget.d.ts.map +0 -1
- package/bundles/types/widget/index.d.ts.map +0 -1
- package/bundles/types/widget/meta.d.ts.map +0 -1
- package/bundles/types/widget/multi-widget.d.ts.map +0 -1
- package/bundles/types/widget/style.d.ts.map +0 -1
- package/bundles/widget.umd.js.d.ts +0 -3163
- package/bundles/widget.umd.js.map +0 -1
- package/bundles/widget.umd.js.min.d.ts +0 -3163
- package/bundles/widget.umd.min.js.map +0 -1
- package/docs/api-canvas3ds.md +0 -158
- package/docs/api-checkout-button.md +0 -912
- package/docs/api-examples.md +0 -65
- package/docs/api-ps-widget.md +0 -585
- package/docs/api-vault-display.md +0 -94
- package/docs/api-widget.md +0 -2444
- package/docs/api-wrapper.md +0 -78
- package/docs/canvas3ds-examples.md +0 -242
- package/docs/cba-header.md +0 -13
- package/docs/cba-license.md +0 -2
- package/docs/checkout-examples.md +0 -248
- package/docs/header.md +0 -15
- package/docs/html/layout.html +0 -78
- package/docs/html/marked.js +0 -23
- package/docs/html/style.css +0 -365
- package/docs/install/npm.content.md +0 -16
- package/docs/install/npm.example.md +0 -24
- package/docs/install/umd.content.md +0 -20
- package/docs/install/umd.example.md +0 -6
- package/docs/install.md +0 -43
- package/docs/install.readme.t.md +0 -17
- package/docs/install.slate.t.md +0 -17
- package/docs/license.md +0 -2
- package/docs/partials/header.hbs +0 -3
- package/docs/ps-examples.md +0 -129
- package/docs/secure-remote-commerce-examples.md +0 -258
- package/docs/secure-remote-commerce.md +0 -265
- package/docs/vault-display-example.md +0 -132
- package/docs/wallet-buttons-examples.md +0 -580
- package/docs/wallet-buttons.md +0 -424
- package/docs/wallet-cba-buttons-examples.md +0 -388
- package/docs/widget-examples.md +0 -134
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Current constant include available type of element for styling
|
|
3
|
+
* @const STYLABLE_ELEMENT
|
|
4
|
+
* @type {object}
|
|
5
|
+
* @param {string} INPUT=input.
|
|
6
|
+
* These states are available: [STYLABLE_ELEMENT_STATE.ERROR]{@link STYLABLE_ELEMENT_STATE}, [STYLABLE_ELEMENT_STATE.FOCUS]{@link STYLABLE_ELEMENT_STATE}.
|
|
7
|
+
* These styles are available [IElementStyleInput]{@link IElementStyleInput}
|
|
8
|
+
* @param {string} SUBMIT_BUTTON=submit_button
|
|
9
|
+
* These states are available: [STYLABLE_ELEMENT_STATE.HOVER]{@link STYLABLE_ELEMENT_STATE}.
|
|
10
|
+
* These styles are available [IElementStyleSubmitButton]{@link IElementStyleSubmitButton}
|
|
11
|
+
* @param {string} LABEL=label.
|
|
12
|
+
* These styles are available [IElementStyleLabel]{@link IElementStyleLabel}
|
|
13
|
+
* @param {string} TITLE=title.
|
|
14
|
+
* These styles are available [IElementStyleTitle]{@link IElementStyleTitle}
|
|
15
|
+
* @param {string} TITLE_DESCRIPTION=title_description.
|
|
16
|
+
* These styles are available [IElementStyleTitleDescription]{@link IElementStyleTitleDescription}
|
|
17
|
+
* */
|
|
18
|
+
export const STYLABLE_ELEMENT = {
|
|
19
|
+
INPUT: 'input',
|
|
20
|
+
SUBMIT_BUTTON: 'submit_button',
|
|
21
|
+
LABEL: 'label',
|
|
22
|
+
TITLE: 'title',
|
|
23
|
+
TITLE_DESCRIPTION: 'title_description',
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Current constant include available states of element for styling
|
|
27
|
+
* @const STYLABLE_ELEMENT_STATE
|
|
28
|
+
* @type {object}
|
|
29
|
+
* @param {string} ERROR=error client|server validation. This state applies to: input
|
|
30
|
+
* @param {string} FOCUS=focus focus. This state applies to: input
|
|
31
|
+
* @param {string} HOVER=hover focus. This state applies to: submit_button
|
|
32
|
+
* */
|
|
33
|
+
export const STYLABLE_ELEMENT_STATE = {
|
|
34
|
+
ERROR: 'error',
|
|
35
|
+
FOCUS: 'focus',
|
|
36
|
+
HOVER: 'hover',
|
|
37
|
+
};
|
|
38
|
+
export const stylableElements = [
|
|
39
|
+
{
|
|
40
|
+
element: STYLABLE_ELEMENT.INPUT,
|
|
41
|
+
states: [
|
|
42
|
+
STYLABLE_ELEMENT_STATE.FOCUS,
|
|
43
|
+
STYLABLE_ELEMENT_STATE.ERROR,
|
|
44
|
+
],
|
|
45
|
+
styles: [
|
|
46
|
+
'color',
|
|
47
|
+
'border',
|
|
48
|
+
'border_radius',
|
|
49
|
+
'background_color',
|
|
50
|
+
'height',
|
|
51
|
+
'text_decoration',
|
|
52
|
+
'font_size',
|
|
53
|
+
'font_family',
|
|
54
|
+
'line_height',
|
|
55
|
+
'font_weight',
|
|
56
|
+
'padding',
|
|
57
|
+
'margin',
|
|
58
|
+
'transition',
|
|
59
|
+
],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
element: STYLABLE_ELEMENT.SUBMIT_BUTTON,
|
|
63
|
+
states: [
|
|
64
|
+
STYLABLE_ELEMENT_STATE.HOVER,
|
|
65
|
+
],
|
|
66
|
+
styles: [
|
|
67
|
+
'color',
|
|
68
|
+
'border',
|
|
69
|
+
'border_radius',
|
|
70
|
+
'background_color',
|
|
71
|
+
'text_decoration',
|
|
72
|
+
'font_size',
|
|
73
|
+
'font_family',
|
|
74
|
+
'line_height',
|
|
75
|
+
'font_weight',
|
|
76
|
+
'padding',
|
|
77
|
+
'margin',
|
|
78
|
+
'transition',
|
|
79
|
+
'opacity',
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
element: STYLABLE_ELEMENT.LABEL,
|
|
84
|
+
states: [],
|
|
85
|
+
styles: [
|
|
86
|
+
'color',
|
|
87
|
+
'text_decoration',
|
|
88
|
+
'font_size',
|
|
89
|
+
'font_family',
|
|
90
|
+
'line_height',
|
|
91
|
+
'font_weight',
|
|
92
|
+
'padding',
|
|
93
|
+
'margin',
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
element: STYLABLE_ELEMENT.TITLE,
|
|
98
|
+
states: [],
|
|
99
|
+
styles: [
|
|
100
|
+
'color',
|
|
101
|
+
'text_decoration',
|
|
102
|
+
'font_size',
|
|
103
|
+
'font_family',
|
|
104
|
+
'line_height',
|
|
105
|
+
'font_weight',
|
|
106
|
+
'padding',
|
|
107
|
+
'margin',
|
|
108
|
+
'text_align',
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
element: STYLABLE_ELEMENT.TITLE_DESCRIPTION,
|
|
113
|
+
states: [],
|
|
114
|
+
styles: [
|
|
115
|
+
'color',
|
|
116
|
+
'text_decoration',
|
|
117
|
+
'font_size',
|
|
118
|
+
'font_family',
|
|
119
|
+
'line_height',
|
|
120
|
+
'font_weight',
|
|
121
|
+
'padding',
|
|
122
|
+
'margin',
|
|
123
|
+
'text_align',
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
];
|
|
127
|
+
/**
|
|
128
|
+
* Interface for styling input element.
|
|
129
|
+
* @interface IElementStyleInput
|
|
130
|
+
*
|
|
131
|
+
* @param {string} [color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/color}
|
|
132
|
+
* @param {string} [border] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/border}
|
|
133
|
+
* @param {string} [border_radius] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius}
|
|
134
|
+
* @param {string} [background_color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/background-color}
|
|
135
|
+
* @param {string} [height] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/height}
|
|
136
|
+
* @param {string} [text_decoration] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}
|
|
137
|
+
* @param {string} [font_size] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}
|
|
138
|
+
* @param {string} [font_family] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-family}
|
|
139
|
+
* @param {string} [transition] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/transition}
|
|
140
|
+
* @param {string} [line_height] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/line-height}
|
|
141
|
+
* @param {string} [font_weight] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}
|
|
142
|
+
* @param {string} [padding] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding}
|
|
143
|
+
* @param {string} [margin] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* Interface for styling submit_button element.
|
|
147
|
+
* @interface IElementStyleSubmitButton
|
|
148
|
+
*
|
|
149
|
+
* @param {string} [color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/color}
|
|
150
|
+
* @param {string} [border] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/border}
|
|
151
|
+
* @param {string} [border_radius] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius}
|
|
152
|
+
* @param {string} [background_color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/background-color}
|
|
153
|
+
* @param {string} [text_decoration] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}
|
|
154
|
+
* @param {string} [font_size] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}
|
|
155
|
+
* @param {string} [font_family] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-family}
|
|
156
|
+
* @param {string} [padding] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding}
|
|
157
|
+
* @param {string} [margin] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
|
|
158
|
+
* @param {string} [transition] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/transition}
|
|
159
|
+
* @param {string} [line_height] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/line-height}
|
|
160
|
+
* @param {string} [font_weight] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}
|
|
161
|
+
* @param {string} [opacity] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/opacity}
|
|
162
|
+
*/
|
|
163
|
+
/**
|
|
164
|
+
* Interface for styling label element.
|
|
165
|
+
* @interface IElementStyleLabel
|
|
166
|
+
*
|
|
167
|
+
* @param {string} [color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/color}
|
|
168
|
+
* @param {string} [text_decoration] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}
|
|
169
|
+
* @param {string} [font_size] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}
|
|
170
|
+
* @param {string} [font_family] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-family}
|
|
171
|
+
* @param {string} [line_height] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/line-height}
|
|
172
|
+
* @param {string} [font_weight] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}
|
|
173
|
+
* @param {string} [padding] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding}
|
|
174
|
+
* @param {string} [margin] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
|
|
175
|
+
*/
|
|
176
|
+
/**
|
|
177
|
+
* Interface for styling title element.
|
|
178
|
+
* @interface IElementStyleTitle
|
|
179
|
+
*
|
|
180
|
+
* @param {string} [color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/color}
|
|
181
|
+
* @param {string} [text_decoration] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}
|
|
182
|
+
* @param {string} [font_size] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}
|
|
183
|
+
* @param {string} [font_family] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-family}
|
|
184
|
+
* @param {string} [line_height] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/line-height}
|
|
185
|
+
* @param {string} [font_weight] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}
|
|
186
|
+
* @param {string} [padding] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding}
|
|
187
|
+
* @param {string} [margin] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
|
|
188
|
+
* @param {string} ['text-align',] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-align}
|
|
189
|
+
*/
|
|
190
|
+
/**
|
|
191
|
+
* Interface for styling title_description element.
|
|
192
|
+
* @interface IElementStyleTitleDescription
|
|
193
|
+
*
|
|
194
|
+
* @param {string} [color] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/color}
|
|
195
|
+
* @param {string} [text_decoration] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}
|
|
196
|
+
* @param {string} [font_size] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-size}
|
|
197
|
+
* @param {string} [font_family] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-family}
|
|
198
|
+
* @param {string} [line_height] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/line-height}
|
|
199
|
+
* @param {string} [font_weight] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}
|
|
200
|
+
* @param {string} [padding] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding}
|
|
201
|
+
* @param {string} [margin] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
|
|
202
|
+
* @param {string} ['text-align',] Look more [mozilla.org/color]{@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-align}
|
|
203
|
+
*/
|
|
204
|
+
//# sourceMappingURL=../../src/lib/widget/style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../widget/style.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;KAgBK;AACL,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,iBAAiB,EAAE,mBAAmB;CACzC,CAAA;AAGD;;;;;;;KAOK;AACL,MAAM,CAAC,MAAM,sBAAsB,GAAG;IAClC,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACjB,CAAA;AAyED,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAC9C;QACI,OAAO,EAAE,gBAAgB,CAAC,KAAK;QAC/B,MAAM,EAAE;YACJ,sBAAsB,CAAC,KAAK;YAC5B,sBAAsB,CAAC,KAAK;SAC/B;QACD,MAAM,EAAE;YACJ,OAAO;YACP,QAAQ;YACR,eAAe;YACf,kBAAkB;YAClB,QAAQ;YACR,iBAAiB;YACjB,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;YACb,SAAS;YACT,QAAQ;YACR,YAAY;SACf;KACJ;IAED;QACI,OAAO,EAAE,gBAAgB,CAAC,aAAa;QACvC,MAAM,EAAE;YACJ,sBAAsB,CAAC,KAAK;SAC/B;QACD,MAAM,EAAE;YACJ,OAAO;YACP,QAAQ;YACR,eAAe;YACf,kBAAkB;YAClB,iBAAiB;YACjB,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;YACb,SAAS;YACT,QAAQ;YACR,YAAY;YACZ,SAAS;SACZ;KACJ;IAED;QACI,OAAO,EAAE,gBAAgB,CAAC,KAAK;QAC/B,MAAM,EAAE,EACP;QACD,MAAM,EAAE;YACJ,OAAO;YACP,iBAAiB;YACjB,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;YACb,SAAS;YACT,QAAQ;SACX;KACJ;IAED;QACI,OAAO,EAAE,gBAAgB,CAAC,KAAK;QAC/B,MAAM,EAAE,EACP;QACD,MAAM,EAAE;YACJ,OAAO;YACP,iBAAiB;YACjB,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;YACb,SAAS;YACT,QAAQ;YACR,YAAY;SACf;KACJ;IACD;QACI,OAAO,EAAE,gBAAgB,CAAC,iBAAiB;QAC3C,MAAM,EAAE,EACP;QACD,MAAM,EAAE;YACJ,OAAO;YACP,iBAAiB;YACjB,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;YACb,SAAS;YACT,QAAQ;YACR,YAAY;SACf;KACJ;CACJ,CAAC;AAGF;;;;;;;;;;;;;;;;;GAiBG;AAGH;;;;;;;;;;;;;;;;;GAiBG;AAGH;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;GAaG"}
|
package/package.json
CHANGED
|
@@ -1,164 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"name": "Paydock, Ltd.",
|
|
4
|
-
"url": "https://paydock.com/"
|
|
5
|
-
},
|
|
6
|
-
"bugs": {
|
|
7
|
-
"email": "support@paydock.com"
|
|
8
|
-
},
|
|
2
|
+
"name": "@paydock/client-sdk",
|
|
9
3
|
"description": "Paydock client sdk",
|
|
4
|
+
"version": "1.105.1",
|
|
10
5
|
"homepage": "https://paydock.com",
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"examples",
|
|
15
|
-
"package.json",
|
|
16
|
-
"README.md",
|
|
17
|
-
"slate.md"
|
|
18
|
-
],
|
|
19
|
-
"browser": "./bundles/widget.umd.js",
|
|
20
|
-
"main": "./bundles/index.cjs",
|
|
21
|
-
"module": "./bundles/index.mjs",
|
|
22
|
-
"types": "./bundles/index.mjs.d.ts",
|
|
23
|
-
"unpkg": "./bundles/widget.umd.js",
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"import": {
|
|
27
|
-
"default": "./bundles/index.mjs",
|
|
28
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
29
|
-
},
|
|
30
|
-
"module": {
|
|
31
|
-
"default": "./bundles/index.mjs",
|
|
32
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"node": {
|
|
35
|
-
"default": "./bundles/index.cjs",
|
|
36
|
-
"types": "./bundles/index.cjs.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"require": {
|
|
39
|
-
"default": "./bundles/index.cjs",
|
|
40
|
-
"types": "./bundles/index.cjs.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"default": "./bundles/index.mjs.js",
|
|
43
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
44
|
-
},
|
|
45
|
-
"./api": {
|
|
46
|
-
"import": {
|
|
47
|
-
"default": "./bundles/index.mjs",
|
|
48
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"module": {
|
|
51
|
-
"default": "./bundles/index.mjs",
|
|
52
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"./canvas3ds": {
|
|
56
|
-
"import": {
|
|
57
|
-
"default": "./bundles/index.mjs",
|
|
58
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
59
|
-
},
|
|
60
|
-
"module": {
|
|
61
|
-
"default": "./bundles/index.mjs",
|
|
62
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"./checkout-button": {
|
|
66
|
-
"import": {
|
|
67
|
-
"default": "./bundles/index.mjs",
|
|
68
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
69
|
-
},
|
|
70
|
-
"module": {
|
|
71
|
-
"default": "./bundles/index.mjs",
|
|
72
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"./payment-source-widget": {
|
|
76
|
-
"import": {
|
|
77
|
-
"default": "./bundles/index.mjs",
|
|
78
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
79
|
-
},
|
|
80
|
-
"module": {
|
|
81
|
-
"default": "./bundles/index.mjs",
|
|
82
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"./vault-display-widget": {
|
|
86
|
-
"import": {
|
|
87
|
-
"default": "./bundles/index.mjs",
|
|
88
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
89
|
-
},
|
|
90
|
-
"module": {
|
|
91
|
-
"default": "./bundles/index.mjs",
|
|
92
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"./widget": {
|
|
96
|
-
"import": {
|
|
97
|
-
"default": "./bundles/index.mjs",
|
|
98
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
99
|
-
},
|
|
100
|
-
"module": {
|
|
101
|
-
"default": "./bundles/index.mjs",
|
|
102
|
-
"types": "./bundles/index.mjs.d.ts"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
6
|
+
"author": {},
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": ""
|
|
105
9
|
},
|
|
106
|
-
"
|
|
107
|
-
"version": "1.104.3-beta",
|
|
10
|
+
"main": "lib/index",
|
|
108
11
|
"scripts": {
|
|
109
|
-
"build:
|
|
110
|
-
"build:
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"clean:bundles": "rimraf ./bundles/",
|
|
115
|
-
"clean:lib": "rimraf ./lib/",
|
|
116
|
-
"compute:checksums:bundles": "find ./bundles -type f -exec sha256sum {} \\;",
|
|
117
|
-
"compute:sha:bundles:short": "npm run compute:sha:bundles | tail -1 | cut -c 1-7",
|
|
118
|
-
"compute:sha:bundles": "npm run compute:checksums:bundles | sha256sum",
|
|
119
|
-
"doc:cba": "run-s clean:lib tsc:cba markdown:cba",
|
|
120
|
-
"doc:paydock": "run-s clean:lib tsc:paydock markdown:paydock",
|
|
121
|
-
"lint": "tslint -c tslint.json 'src/**/*.ts{,x}'",
|
|
122
|
-
"markdown:cba": "grunt cba_docs",
|
|
123
|
-
"markdown:paydock": "grunt docs",
|
|
124
|
-
"publish:local": "./publish-to-local-registry.sh",
|
|
125
|
-
"replace:hosts": "grunt replace_hosts",
|
|
126
|
-
"test:browsers": "karma start --browsers Chrome,Firefox,ChromeHeadlessNoSandbox --single-run",
|
|
127
|
-
"test:chromium": "karma start --browsers ChromeHeadlessNoSandbox --single-run",
|
|
128
|
-
"test": "run-s test:chromium",
|
|
129
|
-
"tsc:cba": "tsc --project tsconfig.cba.json",
|
|
130
|
-
"tsc:paydock": "tsc --project tsconfig.paydock.json",
|
|
131
|
-
"typecheck": "tsc -b"
|
|
132
|
-
},
|
|
133
|
-
"dependencies": {
|
|
134
|
-
"@auspayplus/open-payments-checkout": "1.7.3",
|
|
135
|
-
"@stripe/stripe-js": "^1.11.0"
|
|
12
|
+
"build:dev": "node_modules/grunt-cli/bin/grunt build && node_modules/grunt-cli/bin/grunt replace_hosts",
|
|
13
|
+
"build:full": "node_modules/grunt-cli/bin/grunt build:full",
|
|
14
|
+
"docs:only": "node_modules/grunt-cli/bin/grunt docs:only",
|
|
15
|
+
"docs:update": "node_modules/grunt-cli/bin/grunt docs",
|
|
16
|
+
"lint": "tslint -c tslint.json 'src/**/*.ts{,x}'"
|
|
136
17
|
},
|
|
137
18
|
"devDependencies": {
|
|
138
|
-
"@babel/cli": "^7.23.
|
|
139
|
-
"@babel/core": "^7.
|
|
140
|
-
"@babel/plugin-external-helpers": "^7.
|
|
141
|
-
"@babel/plugin-transform-modules-umd": "^7.
|
|
142
|
-
"@babel/plugin-transform-object-assign": "^7.
|
|
143
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
144
|
-
"@babel/polyfill": "^7.
|
|
145
|
-
"@babel/preset-env": "^7.
|
|
146
|
-
"@babel/runtime": "^7.
|
|
147
|
-
"@babel/runtime-corejs2": "^7.24.0",
|
|
148
|
-
"@rollup/plugin-babel": "^6.0.4",
|
|
149
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
150
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
151
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
152
|
-
"@rollup/plugin-replace": "^5.0.5",
|
|
153
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
154
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
155
|
-
"@rollup/pluginutils": "^5.1.0",
|
|
156
|
-
"@types/applepayjs": "^3.0.1",
|
|
19
|
+
"@babel/cli": "^7.23.3",
|
|
20
|
+
"@babel/core": "^7.23.3",
|
|
21
|
+
"@babel/plugin-external-helpers": "^7.0.0",
|
|
22
|
+
"@babel/plugin-transform-modules-umd": "^7.0.0",
|
|
23
|
+
"@babel/plugin-transform-object-assign": "^7.0.0",
|
|
24
|
+
"@babel/plugin-transform-runtime": "^7.0.0",
|
|
25
|
+
"@babel/polyfill": "^7.0.0",
|
|
26
|
+
"@babel/preset-env": "^7.0.0",
|
|
27
|
+
"@babel/runtime-corejs2": "^7.0.0",
|
|
157
28
|
"@types/es6-promise": "^3.3.0",
|
|
158
|
-
"@types/googlepay": "^0.6.3",
|
|
159
|
-
"@types/jasmine": "^5.1.4",
|
|
160
|
-
"@types/jasmine-ajax": "^3.3.5",
|
|
161
|
-
"@types/jquery": "^3.5.29",
|
|
162
29
|
"babelify": "^10.0.0",
|
|
163
30
|
"base64-js": "^1.2.0",
|
|
164
31
|
"browser-resolve": "^1.11.2",
|
|
@@ -167,10 +34,16 @@
|
|
|
167
34
|
"buffer": "^5.0.5",
|
|
168
35
|
"fs": "0.0.2",
|
|
169
36
|
"grunt": "^1.6.1",
|
|
37
|
+
"grunt-babel": "^8.0.0",
|
|
170
38
|
"grunt-cli": "^1.2.0",
|
|
39
|
+
"grunt-contrib-clean": "^1.0.0",
|
|
40
|
+
"grunt-contrib-watch": "^1.0.0",
|
|
171
41
|
"grunt-jsdoc-to-markdown": "^6.0.0",
|
|
42
|
+
"grunt-karma": "^4.0.2",
|
|
172
43
|
"grunt-replace": "^2.0.2",
|
|
44
|
+
"grunt-rollup": "^11.5.0",
|
|
173
45
|
"grunt-template-render": "0.0.1",
|
|
46
|
+
"grunt-ts": "^6.0.0-beta.22",
|
|
174
47
|
"highlight.js": "^11.5.1",
|
|
175
48
|
"ieee754": "^1.1.8",
|
|
176
49
|
"include-all": "^0.1.6",
|
|
@@ -181,22 +54,27 @@
|
|
|
181
54
|
"karma": "^6.4.2",
|
|
182
55
|
"karma-browserify": "^8.1.0",
|
|
183
56
|
"karma-chrome-launcher": "^2.2.0",
|
|
184
|
-
"karma-cli": "^2.0.0",
|
|
185
57
|
"karma-firefox-launcher": "^1.0.1",
|
|
186
58
|
"karma-jasmine": "^1.1.0",
|
|
187
59
|
"karma-jasmine-ajax": "^0.1.13",
|
|
188
60
|
"karma-mocha-reporter": "^2.2.2",
|
|
61
|
+
"karma-typescript": "^5.5.4",
|
|
189
62
|
"marked": "^4.0.14",
|
|
190
|
-
"npm-run-all": "^4.1.5",
|
|
191
63
|
"process": "^0.11.9",
|
|
192
|
-
"
|
|
193
|
-
"rollup": "^4.
|
|
194
|
-
"rollup-plugin-
|
|
64
|
+
"rollup": "^1.32.1",
|
|
65
|
+
"rollup-plugin-babel": "^4.0.1",
|
|
66
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
67
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
68
|
+
"rollup-plugin-uglify": "^6.0.4",
|
|
195
69
|
"tsify": "^3.0.1",
|
|
196
|
-
"tslib": "^2.6.2",
|
|
197
70
|
"tslint": "^5.8.0",
|
|
198
|
-
"typescript": "
|
|
199
|
-
|
|
71
|
+
"typescript": "3.9.7"
|
|
72
|
+
},
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"@auspayplus/open-payments-checkout": "1.7.3",
|
|
75
|
+
"@stripe/stripe-js": "^1.11.0",
|
|
76
|
+
"@types/applepayjs": "^3.0.1",
|
|
77
|
+
"@types/googlepay": "^0.6.3"
|
|
200
78
|
},
|
|
201
79
|
"overrides": {
|
|
202
80
|
"grunt-ts": {
|
|
@@ -209,11 +87,11 @@
|
|
|
209
87
|
},
|
|
210
88
|
"license": "UNLICENSED",
|
|
211
89
|
"keywords": [
|
|
212
|
-
"client-sdk",
|
|
213
|
-
"es2015",
|
|
214
90
|
"paydock",
|
|
91
|
+
"widget",
|
|
92
|
+
"client-sdk",
|
|
215
93
|
"sdk",
|
|
216
94
|
"typeScript",
|
|
217
|
-
"
|
|
95
|
+
"es2015"
|
|
218
96
|
]
|
|
219
97
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/payment-source-widget';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/payment-source-widget';
|