@paydock/client-sdk 0.0.3 → 0.1.2-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 +9050 -52
- package/bundles/index.cjs +38558 -0
- package/bundles/index.cjs.d.ts +4777 -0
- package/bundles/index.mjs +38519 -0
- package/bundles/index.mjs.d.ts +4777 -0
- package/bundles/types/api/api-base.d.ts +54 -0
- package/bundles/types/api/api-base.d.ts.map +1 -0
- package/bundles/types/api/api-charge-internal.d.ts +99 -0
- package/bundles/types/api/api-charge-internal.d.ts.map +1 -0
- package/bundles/types/api/api-charge.d.ts +36 -0
- package/bundles/types/api/api-charge.d.ts.map +1 -0
- package/bundles/types/api/api-checkout-internal.d.ts +58 -0
- package/bundles/types/api/api-checkout-internal.d.ts.map +1 -0
- package/bundles/types/api/api-gateway-internal.d.ts +12 -0
- package/bundles/types/api/api-gateway-internal.d.ts.map +1 -0
- package/bundles/types/api/api-internal.d.ts +13 -0
- package/bundles/types/api/api-internal.d.ts.map +1 -0
- package/bundles/types/api/api-service-internal.d.ts +19 -0
- package/bundles/types/api/api-service-internal.d.ts.map +1 -0
- package/bundles/types/api/api.d.ts +55 -0
- package/bundles/types/api/api.d.ts.map +1 -0
- package/bundles/types/api/index.d.ts +2 -0
- package/bundles/types/api/index.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts +109 -0
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/index.d.ts +2 -0
- package/bundles/types/canvas-3ds/index.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts +43 -0
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/services/index.d.ts +2 -0
- package/bundles/types/canvas-3ds/services/index.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts +22 -0
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +1 -0
- package/bundles/types/checkout/checkout.d.ts +107 -0
- package/bundles/types/checkout/checkout.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-handler.d.ts +25 -0
- package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-module.d.ts +6 -0
- package/bundles/types/checkout/helpers/instruction-module.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts +6 -0
- package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction.decorator.d.ts +5 -0
- package/bundles/types/checkout/helpers/instruction.decorator.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/resource-helper.d.ts +6 -0
- package/bundles/types/checkout/helpers/resource-helper.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/session-helper.d.ts +8 -0
- package/bundles/types/checkout/helpers/session-helper.d.ts.map +1 -0
- package/bundles/types/checkout/index.d.ts +2 -0
- package/bundles/types/checkout/index.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/index.d.ts +3 -0
- package/bundles/types/checkout/instructions/index.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/index.d.ts +4 -0
- package/bundles/types/checkout/instructions/v1/index.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts +20 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts +14 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts +15 -0
- package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts +11 -0
- package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts +19 -0
- package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts +20 -0
- package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts +21 -0
- package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts +26 -0
- package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts +21 -0
- package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts +19 -0
- package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/additionals.d.ts +3 -0
- package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts +9 -0
- package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/message.d.ts +34 -0
- package/bundles/types/checkout/layout-widgets/message.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +13 -0
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/payment-methods.d.ts +55 -0
- package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/payment-template.d.ts +3 -0
- package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +1 -0
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts +36 -0
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts +13 -0
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/checkout-button.d.ts +139 -0
- package/bundles/types/checkout-button/checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/checkout-button.interface.d.ts +49 -0
- package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +1 -0
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts +27 -0
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +1 -0
- package/bundles/types/checkout-button/index.d.ts +85 -0
- package/bundles/types/checkout-button/index.d.ts.map +1 -0
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts +21 -0
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts +6 -0
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/base.runner.d.ts +18 -0
- package/bundles/types/checkout-button/runner/base.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts +39 -0
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/index.d.ts +9 -0
- package/bundles/types/checkout-button/runner/index.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/popup.runner.d.ts +35 -0
- package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/redirect.runner.d.ts +17 -0
- package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/index.d.ts +4 -0
- package/bundles/types/checkout-button/zipmoney/index.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +49 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +39 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +26 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts +4 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts +10 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts +12 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +1 -0
- package/bundles/types/components/ability-guard.d.ts +12 -0
- package/bundles/types/components/ability-guard.d.ts.map +1 -0
- package/bundles/types/components/background.d.ts +43 -0
- package/bundles/types/components/background.d.ts.map +1 -0
- package/bundles/types/components/container.d.ts +12 -0
- package/bundles/types/components/container.d.ts.map +1 -0
- package/bundles/types/components/dispatcher.d.ts +14 -0
- package/bundles/types/components/dispatcher.d.ts.map +1 -0
- package/bundles/types/components/element-style.d.ts +17 -0
- package/bundles/types/components/element-style.d.ts.map +1 -0
- package/bundles/types/components/flypay-iframe-event.d.ts +15 -0
- package/bundles/types/components/flypay-iframe-event.d.ts.map +1 -0
- package/{lib/widget/components/form-Interceptor.d.ts → bundles/types/components/form-interceptor.d.ts} +2 -1
- package/bundles/types/components/form-interceptor.d.ts.map +1 -0
- package/bundles/types/components/http-core.d.ts +14 -0
- package/bundles/types/components/http-core.d.ts.map +1 -0
- package/bundles/types/components/iframe-event.d.ts +72 -0
- package/bundles/types/components/iframe-event.d.ts.map +1 -0
- package/bundles/types/components/iframe.d.ts +20 -0
- package/bundles/types/components/iframe.d.ts.map +1 -0
- package/bundles/types/components/link.d.ts +27 -0
- package/bundles/types/components/link.d.ts.map +1 -0
- package/bundles/types/components/loader.d.ts +5 -0
- package/bundles/types/components/loader.d.ts.map +1 -0
- package/bundles/types/components/param.d.ts +430 -0
- package/bundles/types/components/param.d.ts.map +1 -0
- package/bundles/types/components/popup.d.ts +30 -0
- package/bundles/types/components/popup.d.ts.map +1 -0
- package/bundles/types/components/storage-dispatcher.d.ts +31 -0
- package/bundles/types/components/storage-dispatcher.d.ts.map +1 -0
- package/bundles/types/components/trigger.d.ts +48 -0
- package/bundles/types/components/trigger.d.ts.map +1 -0
- package/bundles/types/components/vault-display-iframe-event.d.ts +5 -0
- package/bundles/types/components/vault-display-iframe-event.d.ts.map +1 -0
- package/bundles/types/components/wallet-background.d.ts +13 -0
- package/bundles/types/components/wallet-background.d.ts.map +1 -0
- package/bundles/types/components/wallet-trigger.d.ts +19 -0
- package/bundles/types/components/wallet-trigger.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.cba.d.ts +30 -0
- package/bundles/types/configs/env/environment.cba.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.interface.d.ts +12 -0
- package/bundles/types/configs/env/environment.interface.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.paydock.d.ts +49 -0
- package/bundles/types/configs/env/environment.paydock.d.ts.map +1 -0
- package/bundles/types/configs/env/index.d.ts +3 -0
- package/bundles/types/configs/env/index.d.ts.map +1 -0
- package/bundles/types/configs/sdk.d.ts +10 -0
- package/bundles/types/configs/sdk.d.ts.map +1 -0
- package/bundles/types/constants/validators.d.ts +45 -0
- package/bundles/types/constants/validators.d.ts.map +1 -0
- package/bundles/types/external-checkout/builder.d.ts +29 -0
- package/bundles/types/external-checkout/builder.d.ts.map +1 -0
- package/bundles/types/external-checkout/checker.d.ts +14 -0
- package/bundles/types/external-checkout/checker.d.ts.map +1 -0
- package/bundles/types/external-checkout/index.d.ts +3 -0
- package/bundles/types/external-checkout/index.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts +9 -0
- package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts +42 -0
- package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts +163 -0
- package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/index.d.ts +3 -0
- package/bundles/types/fraud-prevention/index.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts +79 -0
- package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts +2 -0
- package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts +20 -0
- package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts.map +1 -0
- package/bundles/types/helper/access-token.d.ts +26 -0
- package/bundles/types/helper/access-token.d.ts.map +1 -0
- package/bundles/types/helper/browser.d.ts +17 -0
- package/bundles/types/helper/browser.d.ts.map +1 -0
- package/bundles/types/helper/deep-clone.d.ts +13 -0
- package/bundles/types/helper/deep-clone.d.ts.map +1 -0
- package/bundles/types/helper/element-id.d.ts +5 -0
- package/bundles/types/helper/element-id.d.ts.map +1 -0
- package/bundles/types/helper/event-emitter.d.ts +7 -0
- package/bundles/types/helper/event-emitter.d.ts.map +1 -0
- package/bundles/types/helper/event-error.d.ts +55 -0
- package/bundles/types/helper/event-error.d.ts.map +1 -0
- package/bundles/types/helper/event.d.ts +10 -0
- package/bundles/types/helper/event.d.ts.map +1 -0
- package/bundles/types/helper/ms.d.ts +6 -0
- package/bundles/types/helper/ms.d.ts.map +1 -0
- package/{lib/widget → bundles/types}/helper/object.d.ts +1 -0
- package/bundles/types/helper/object.d.ts.map +1 -0
- package/bundles/types/helper/process-event-error.d.ts +9 -0
- package/bundles/types/helper/process-event-error.d.ts.map +1 -0
- package/bundles/types/helper/spiner.util.d.ts +6 -0
- package/bundles/types/helper/spiner.util.d.ts.map +1 -0
- package/bundles/types/helper/url.d.ts +5 -0
- package/bundles/types/helper/url.d.ts.map +1 -0
- package/bundles/types/helper/uuid.d.ts +6 -0
- package/bundles/types/helper/uuid.d.ts.map +1 -0
- package/bundles/types/index-cba.d.ts +52 -0
- package/bundles/types/index-cba.d.ts.map +1 -0
- package/bundles/types/index.d.ts +52 -0
- package/bundles/types/index.d.ts.map +1 -0
- package/bundles/types/payment-source/builder.d.ts +23 -0
- package/bundles/types/payment-source/builder.d.ts.map +1 -0
- package/bundles/types/payment-source/index.d.ts +2 -0
- package/bundles/types/payment-source/index.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts +181 -0
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/index.d.ts +35 -0
- package/bundles/types/payment-source-widget/index.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/interfaces.d.ts +12 -0
- package/bundles/types/payment-source-widget/interfaces.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts +93 -0
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/index.d.ts +23 -0
- package/bundles/types/paypal-data-collector/index.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts +58 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts +21 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts +17 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/index.d.ts +61 -0
- package/bundles/types/paypal-save-payment-source/index.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts +85 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts +83 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts +35 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
- package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/index.d.ts +105 -0
- package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/interfaces.d.ts +156 -0
- package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +2 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +25 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts +11 -0
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +86 -0
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -0
- package/bundles/types/shared/device/device-info.service.d.ts +13 -0
- package/bundles/types/shared/device/device-info.service.d.ts.map +1 -0
- package/bundles/types/shared/http/authorization-strategy.d.ts +41 -0
- package/bundles/types/shared/http/authorization-strategy.d.ts.map +1 -0
- package/bundles/types/shared/http/http-fetcher.d.ts +29 -0
- package/bundles/types/shared/http/http-fetcher.d.ts.map +1 -0
- package/bundles/types/shared/http/http-fetcher.factory.d.ts +17 -0
- package/bundles/types/shared/http/http-fetcher.factory.d.ts.map +1 -0
- package/bundles/types/shared/http/http-request.d.ts +14 -0
- package/bundles/types/shared/http/http-request.d.ts.map +1 -0
- package/bundles/types/shared/http/http-response.dto.d.ts +19 -0
- package/bundles/types/shared/http/http-response.dto.d.ts.map +1 -0
- package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts +12 -0
- package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -0
- package/bundles/types/shared/services/configuration-validation/types.d.ts +73 -0
- package/bundles/types/shared/services/configuration-validation/types.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts +15 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts +66 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts +14 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts +15 -0
- package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts +23 -0
- package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts +15 -0
- package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/index.d.ts +4 -0
- package/bundles/types/shared/services/instrumentation/repositories/index.d.ts.map +1 -0
- package/bundles/types/shared/shared.constants.d.ts +6 -0
- package/bundles/types/shared/shared.constants.d.ts.map +1 -0
- package/bundles/types/vault-display-widget/index.d.ts +14 -0
- package/bundles/types/vault-display-widget/index.d.ts.map +1 -0
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts +69 -0
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/enums.d.ts +12 -0
- package/bundles/types/wallet-buttons/enums.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +6 -0
- package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/index-cba.d.ts +2 -0
- package/bundles/types/wallet-buttons/index-cba.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/index.d.ts +138 -0
- package/bundles/types/wallet-buttons/index.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/interfaces.d.ts +128 -0
- package/bundles/types/wallet-buttons/interfaces.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts +321 -0
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts +330 -0
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +24 -0
- package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +49 -0
- package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +28 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +26 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts +35 -0
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts +8 -0
- package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +26 -0
- package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +19 -0
- package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +131 -0
- package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts +252 -0
- package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts +12 -0
- package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/index.d.ts +245 -0
- package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts +5 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +44 -0
- package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +9 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +11 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts +21 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts +9 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts +13 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts +9 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +22 -0
- package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts +58 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts +2 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts +5 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +22 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts +2 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts +2 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts +5 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +21 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts +21 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts +4 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts +164 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +32 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts +53 -0
- package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -0
- package/bundles/types/widget/configuration.d.ts +165 -0
- package/bundles/types/widget/configuration.d.ts.map +1 -0
- package/bundles/types/widget/html-multi-widget.d.ts +337 -0
- package/bundles/types/widget/html-multi-widget.d.ts.map +1 -0
- package/bundles/types/widget/html-widget.d.ts +107 -0
- package/bundles/types/widget/html-widget.d.ts.map +1 -0
- package/bundles/types/widget/index.d.ts +132 -0
- package/bundles/types/widget/index.d.ts.map +1 -0
- package/bundles/types/widget/meta.d.ts +8 -0
- package/bundles/types/widget/meta.d.ts.map +1 -0
- package/bundles/types/widget/multi-widget.d.ts +241 -0
- package/bundles/types/widget/multi-widget.d.ts.map +1 -0
- package/bundles/types/widget/style.d.ts +177 -0
- package/bundles/types/widget/style.d.ts.map +1 -0
- package/bundles/widget.umd.js +38429 -767
- package/bundles/widget.umd.js.d.ts +4777 -0
- package/bundles/widget.umd.js.min.d.ts +4777 -0
- package/bundles/widget.umd.min.js +1 -0
- package/docs/api-canvas3ds.md +158 -0
- package/docs/api-checkout-button.md +912 -0
- package/docs/api-examples.md +65 -0
- package/docs/api-ps-widget.md +585 -0
- package/docs/api-vault-display.md +94 -0
- package/docs/api-widget.md +2542 -0
- package/docs/api-wrapper.md +45 -0
- package/docs/canvas3ds-examples.md +242 -0
- package/docs/cba-header.md +13 -0
- package/docs/cba-license.md +2 -0
- package/docs/checkout-examples.md +248 -0
- package/docs/click-to-pay-examples.md +231 -0
- package/docs/click-to-pay.md +337 -0
- package/docs/fraud-prevention-examples.md +154 -0
- package/docs/fraud-prevention.md +0 -0
- package/docs/header.md +15 -0
- package/docs/html/layout.html +79 -0
- package/docs/html/marked.js +23 -0
- package/docs/html/style.css +365 -0
- package/docs/install/npm.content.md +16 -0
- package/docs/install/npm.example.md +24 -0
- package/docs/install/umd.content.md +20 -0
- package/docs/install/umd.example.md +6 -0
- package/docs/install.md +43 -0
- package/docs/install.readme.t.md +17 -0
- package/docs/install.slate.t.md +17 -0
- package/docs/license.md +2 -0
- package/docs/partials/header.hbs +3 -0
- package/docs/paypal-data-collector-examples.md +59 -0
- package/docs/paypal-data-collector.md +149 -0
- package/docs/paypal-save-payment-source-examples.md +63 -0
- package/docs/paypal-save-payment-source.md +256 -0
- package/docs/ps-examples.md +129 -0
- package/docs/vault-display-example.md +132 -0
- package/docs/wallet-buttons-examples.md +638 -0
- package/docs/wallet-buttons-express-examples.md +201 -0
- package/docs/wallet-buttons-express.md +1076 -0
- package/docs/wallet-buttons.md +625 -0
- package/docs/wallet-cba-buttons-examples.md +388 -0
- package/docs/widget-examples.md +271 -0
- package/examples/html-widget/actions.html +47 -0
- package/examples/html-widget/events.html +2 -2
- package/examples/html-widget/form.html +2 -3
- package/examples/html-widget/html-styles.html +29 -0
- package/examples/html-widget/insert-input.html +2 -2
- package/examples/html-widget/optional-settings.html +30 -0
- package/examples/html-widget/simple.html +3 -3
- package/examples/html-widget/styles.html +3 -3
- package/examples/multi-html-widget/extend.html +7 -2
- package/examples/multi-html-widget/simple.html +6 -8
- package/package.json +225 -55
- package/slate.md +2218 -0
- package/.npmignore +0 -15
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -3
- package/lib/index.js.map +0 -1
- package/lib/widget/components/container.d.ts +0 -9
- package/lib/widget/components/container.js +0 -18
- package/lib/widget/components/container.js.map +0 -1
- package/lib/widget/components/env.d.ts +0 -19
- package/lib/widget/components/env.js +0 -33
- package/lib/widget/components/env.js.map +0 -1
- package/lib/widget/components/event.d.ts +0 -26
- package/lib/widget/components/event.js +0 -49
- package/lib/widget/components/event.js.map +0 -1
- package/lib/widget/components/form-Interceptor.js +0 -38
- package/lib/widget/components/form-Interceptor.js.map +0 -1
- package/lib/widget/components/iframe.d.ts +0 -11
- package/lib/widget/components/iframe.js +0 -31
- package/lib/widget/components/iframe.js.map +0 -1
- package/lib/widget/components/link.d.ts +0 -13
- package/lib/widget/components/link.js +0 -37
- package/lib/widget/components/link.js.map +0 -1
- package/lib/widget/components/param.d.ts +0 -39
- package/lib/widget/components/param.js +0 -21
- package/lib/widget/components/param.js.map +0 -1
- package/lib/widget/components/trigger.d.ts +0 -19
- package/lib/widget/components/trigger.js +0 -22
- package/lib/widget/components/trigger.js.map +0 -1
- package/lib/widget/configuration.d.ts +0 -59
- package/lib/widget/configuration.js +0 -134
- package/lib/widget/configuration.js.map +0 -1
- package/lib/widget/helper/event.d.ts +0 -8
- package/lib/widget/helper/event.js +0 -15
- package/lib/widget/helper/event.js.map +0 -1
- package/lib/widget/helper/object.js +0 -6
- package/lib/widget/helper/object.js.map +0 -1
- package/lib/widget/helper/url.d.ts +0 -3
- package/lib/widget/helper/url.js +0 -8
- package/lib/widget/helper/url.js.map +0 -1
- package/lib/widget/html-multi-widget.d.ts +0 -56
- package/lib/widget/html-multi-widget.js +0 -89
- package/lib/widget/html-multi-widget.js.map +0 -1
- package/lib/widget/html-widget.d.ts +0 -37
- package/lib/widget/html-widget.js +0 -50
- package/lib/widget/html-widget.js.map +0 -1
- package/lib/widget/index.d.ts +0 -5
- package/lib/widget/index.js +0 -6
- package/lib/widget/index.js.map +0 -1
- package/lib/widget/multi-widget.d.ts +0 -22
- package/lib/widget/multi-widget.js +0 -83
- package/lib/widget/multi-widget.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAElC,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,eAAe,GAAG,MAAM,IAAI,iBAAiB,CAE3G;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,eAAe,GAAG,MAAM,IAAI,eAAe,CAEvG"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ICheckout } from '../../external-checkout/builder';
|
|
2
|
+
import { Dispatcher, IDispatcherData } from '../../components/dispatcher';
|
|
3
|
+
import { Popup } from '../../components/popup';
|
|
4
|
+
declare const PopupRunner_base: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
background: import("../../components/background").Background;
|
|
7
|
+
suspendedRedirectUri: string;
|
|
8
|
+
continue(): void;
|
|
9
|
+
stop(): void;
|
|
10
|
+
error(error: string, code: string, callback: any): void;
|
|
11
|
+
setSuspendedRedirectUri(uri: string): void;
|
|
12
|
+
setBackgroundTitle(text: string): void;
|
|
13
|
+
setBackgroundDescription(text: string): void;
|
|
14
|
+
turnOffBackdrop(): void;
|
|
15
|
+
widgetEnv: import("../../configs/env").Env;
|
|
16
|
+
setEnv(env: string, alias?: string): void;
|
|
17
|
+
};
|
|
18
|
+
} & import("./base.runner").Constructable;
|
|
19
|
+
export declare abstract class PopupRunner extends PopupRunner_base {
|
|
20
|
+
protected publicKey: string;
|
|
21
|
+
protected dispatcher: Dispatcher;
|
|
22
|
+
protected popup: Popup;
|
|
23
|
+
protected checkout: ICheckout | null;
|
|
24
|
+
constructor(publicKey: string);
|
|
25
|
+
run(): void;
|
|
26
|
+
isRunning(): boolean;
|
|
27
|
+
next(checkoutData: ICheckout): void;
|
|
28
|
+
continue(): void;
|
|
29
|
+
stop(): void;
|
|
30
|
+
onStop(cb: () => void): void;
|
|
31
|
+
onCheckout<T extends IDispatcherData>(event: string, cb: (checkout: ICheckout, data?: T) => void): void;
|
|
32
|
+
setEnv(env: string, alias?: string): void;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=popup.runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popup.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/popup.runner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;;;;;;AAO/C,8BAAsB,WAAY,SAAQ,gBAAkB;IAKrC,SAAS,CAAC,SAAS,EAAE,MAAM;IAJ9C,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;IACjC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAQ;gBAEf,SAAS,EAAE,MAAM;IAOvC,GAAG,IAAI,IAAI;IAQX,SAAS,IAAI,OAAO;IAIpB,IAAI,CAAC,YAAY,EAAE,SAAS;IAQ5B,QAAQ;IAIR,IAAI,IAAI,IAAI;IAIZ,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAQ5B,UAAU,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI;IAqBhG,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAKnD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IRunner, Constructable } from './base.runner';
|
|
2
|
+
export interface IRedirectRunner extends IRunner {
|
|
3
|
+
setRedirectUrl(url: string): void;
|
|
4
|
+
getRedirectUrl(): string;
|
|
5
|
+
getProxyRedirectUrl(): string;
|
|
6
|
+
}
|
|
7
|
+
export declare function RedirectRunner<BR extends Constructable>(Runner?: BR): {
|
|
8
|
+
new (...args: any[]): {
|
|
9
|
+
merchantRedirectUrl: string;
|
|
10
|
+
setRedirectUrl(url: string): void;
|
|
11
|
+
getRedirectUrl(): string;
|
|
12
|
+
error(error: string, code: string, callback: any): void;
|
|
13
|
+
widgetEnv: import("../../configs/env").Env;
|
|
14
|
+
setEnv(env: string, alias?: string): void;
|
|
15
|
+
};
|
|
16
|
+
} & BR;
|
|
17
|
+
//# sourceMappingURL=redirect.runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redirect.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/redirect.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnE,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC5C,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,cAAc,IAAI,MAAM,CAAC;IAEzB,mBAAmB,IAAI,MAAM,CAAC;CACjC;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,aAAa,EAAE,MAAM,GAAE,EAAqB;;6BAGzD,MAAM;4BAEA,MAAM,GAAG,IAAI;0BAIf,MAAM;qBAIX,MAAM,QAAQ,MAAM,kBAAa,IAAI;;;;OAIhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CheckoutButton } from '../checkout-button';
|
|
2
|
+
import { CHECKOUT_MODE } from '../checkout-button.interface';
|
|
3
|
+
import { ZipmoneyRunnerParams } from './zipmoney.types';
|
|
4
|
+
/**
|
|
5
|
+
* Class ZipmoneyCheckoutButton is wrapper of CheckoutButton transform usual button into checkout
|
|
6
|
+
*
|
|
7
|
+
* @extends CheckoutButton
|
|
8
|
+
*
|
|
9
|
+
* @constructor
|
|
10
|
+
*
|
|
11
|
+
* @param {string} selector - Selector of html element.
|
|
12
|
+
* @param {string} publicKey - PayDock users public key
|
|
13
|
+
* @param {string} [gatewayId=default] - PayDock's gatewayId. By default or if put 'default', it will use the selected default gateway
|
|
14
|
+
* @param {string} [gatewayId=default] - Checkout mode, it could be set to 'contextual' or 'redirect'. By default it 'contextual'
|
|
15
|
+
* @example
|
|
16
|
+
* var widget = new ZipmoneyCheckoutButton('#button', 'publicKey','gatewayId');
|
|
17
|
+
*/
|
|
18
|
+
declare class ZipmoneyCheckoutButton extends CheckoutButton {
|
|
19
|
+
protected publicKey: string;
|
|
20
|
+
protected gatewayId: string;
|
|
21
|
+
protected mode: CHECKOUT_MODE;
|
|
22
|
+
/** @constructs */ constructor(selector: string, publicKey: string, gatewayId?: string, mode?: CHECKOUT_MODE);
|
|
23
|
+
/**
|
|
24
|
+
* Method for setting suspended redirect uri. Redirect after referred checkout
|
|
25
|
+
*
|
|
26
|
+
* The URI is used for a redirect after the checkout is complete.
|
|
27
|
+
* This can be provided, even if using in-context checkout (sdk). By default, the standard styled page will be used.
|
|
28
|
+
* If using in-context (sdk) we will not automatically redirect to this URI.
|
|
29
|
+
*
|
|
30
|
+
|
|
31
|
+
* @param {uri} string - uri for suspended redirect (by default)
|
|
32
|
+
*/
|
|
33
|
+
setSuspendedRedirectUri(uri: string): void;
|
|
34
|
+
/**
|
|
35
|
+
* Method for setting the merchant redirect URL.
|
|
36
|
+
* The merchant's customers would be redirected to the specified URL
|
|
37
|
+
* at the end of ZipMoney checkout flow.
|
|
38
|
+
*
|
|
39
|
+
* Once the redirect URL would be set, the checkout flow would be immediately switched
|
|
40
|
+
* from 'contextual' mode to the 'redirect' mode.
|
|
41
|
+
* The merchant's customer would be automatically redirected to this URL after the checkout is complete.
|
|
42
|
+
*
|
|
43
|
+
* @param {url} string - URL for redirect
|
|
44
|
+
*/
|
|
45
|
+
setRedirectUrl(url: string): void;
|
|
46
|
+
protected buildAdditionalParams(): ZipmoneyRunnerParams;
|
|
47
|
+
}
|
|
48
|
+
export { ZipmoneyCheckoutButton };
|
|
49
|
+
//# sourceMappingURL=zipmoney-checkout-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zipmoney-checkout-button.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-checkout-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAgB,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD;;;;;;;;;;;;;GAaG;AACH,cAAM,sBAAuB,SAAQ,cAAc;IAK3C,SAAS,CAAC,SAAS,EAAE,MAAM;IAC3B,SAAS,CAAC,SAAS,EAAE,MAAM;IAC3B,SAAS,CAAC,IAAI,EAAE,aAAa;IALjC,kBAAkB,aAEd,QAAQ,EAAE,MAAM,EACN,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,MAAkB,EAC7B,IAAI,GAAE,aAAwC;IAK5D;;;;;;;;;OASG;IACI,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIjD;;;;;;;;;;OAUG;IACI,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAQxC,SAAS,CAAC,qBAAqB,IAAI,oBAAoB;CAU1D;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import '../../../vendors/zipmoney';
|
|
2
|
+
import { IContextualRunner } from '../runner/contextual.runner';
|
|
3
|
+
import { ZipmoneyRunner } from './zipmoney.runner';
|
|
4
|
+
import { ICheckout } from '../../external-checkout/builder';
|
|
5
|
+
import { EventEmitter } from '../../helper/event-emitter';
|
|
6
|
+
declare const ZipmoneyContextualRunner_base: {
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
background: import("../../components/background").Background;
|
|
9
|
+
suspendedRedirectUri: string;
|
|
10
|
+
continue(): void;
|
|
11
|
+
stop(): void;
|
|
12
|
+
error(error: string, code: string, callback: any): void;
|
|
13
|
+
setSuspendedRedirectUri(uri: string): void;
|
|
14
|
+
setBackgroundTitle(text: string): void;
|
|
15
|
+
setBackgroundDescription(text: string): void;
|
|
16
|
+
turnOffBackdrop(): void;
|
|
17
|
+
widgetEnv: import("../../configs/env").Env;
|
|
18
|
+
setEnv(env: string, alias?: string): void;
|
|
19
|
+
};
|
|
20
|
+
} & typeof ZipmoneyRunner;
|
|
21
|
+
export declare class ZipmoneyContextualRunner extends ZipmoneyContextualRunner_base implements IContextualRunner {
|
|
22
|
+
protected checkout: ICheckout;
|
|
23
|
+
protected runs: boolean;
|
|
24
|
+
protected eventEmitter: EventEmitter;
|
|
25
|
+
constructor();
|
|
26
|
+
run(): void;
|
|
27
|
+
isRunning(): boolean;
|
|
28
|
+
next(checkoutData: ICheckout): void;
|
|
29
|
+
getSuccessRedirectUri(): string;
|
|
30
|
+
getErrorRedirectUri(): string;
|
|
31
|
+
stop(): void;
|
|
32
|
+
onStop(cb: () => void): void;
|
|
33
|
+
onCheckout(event: string, cb: (checkout: ICheckout) => void): void;
|
|
34
|
+
protected eventHandler(args: {
|
|
35
|
+
state: Zip.ZIPMONEY_STATE;
|
|
36
|
+
}): void;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=zipmoney-contextual.runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zipmoney-contextual.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-contextual.runner.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAoB,iBAAiB,EAAgB,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAE,cAAc,EAAc,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;AAG1D,qBAAa,wBAAyB,SAAQ,6BAAiC,YAAW,iBAAiB;IACvG,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC9B,SAAS,CAAC,IAAI,UAAS;IACvB,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;;IAO9B,GAAG,IAAI,IAAI;IAKX,SAAS,IAAI,OAAO;IAIpB,IAAI,CAAC,YAAY,EAAE,SAAS;IAY5B,qBAAqB,IAAI,MAAM;IAI/B,mBAAmB,IAAI,MAAM;IAI7B,IAAI;IAUJ,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAO5B,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI;IAMlE,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC,cAAc,CAAA;KAAE;CA+B7D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import '../../../vendors/zipmoney';
|
|
2
|
+
import { IRedirectRunner } from '../runner';
|
|
3
|
+
import { ZipmoneyRunner } from './zipmoney.runner';
|
|
4
|
+
import { ICheckout } from '../../external-checkout/builder';
|
|
5
|
+
import { ZipmoneyRunnerParams } from './zipmoney.types';
|
|
6
|
+
declare const ZipmoneyRedirectRunner_base: {
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
merchantRedirectUrl: string;
|
|
9
|
+
setRedirectUrl(url: string): void;
|
|
10
|
+
getRedirectUrl(): string;
|
|
11
|
+
error(error: string, code: string, callback: any): void;
|
|
12
|
+
widgetEnv: import("../../configs/env").Env;
|
|
13
|
+
setEnv(env: string, alias?: string): void;
|
|
14
|
+
};
|
|
15
|
+
} & typeof ZipmoneyRunner;
|
|
16
|
+
export declare class ZipmoneyRedirectRunner extends ZipmoneyRedirectRunner_base implements IRedirectRunner {
|
|
17
|
+
private storageDispatcher;
|
|
18
|
+
constructor();
|
|
19
|
+
getProxyRedirectUrl(): string;
|
|
20
|
+
next(checkout: ICheckout, params: ZipmoneyRunnerParams): void;
|
|
21
|
+
getSuccessRedirectUri(): string;
|
|
22
|
+
getErrorRedirectUri(): string;
|
|
23
|
+
setEnv(env: string, alias?: string): void;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=zipmoney-redirect.runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zipmoney-redirect.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-redirect.runner.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAkB,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAAE,oBAAoB,EAA6B,MAAM,kBAAkB,CAAC;;;;;;;;;;;AAEnF,qBAAa,sBAAuB,SAAQ,2BAA+B,YAAW,eAAe;IACjG,OAAO,CAAC,iBAAiB,CAAoB;;IAQtC,mBAAmB;IAInB,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB;IA2BtD,qBAAqB,IAAI,MAAM;IAK/B,mBAAmB,IAAI,MAAM;IAI7B,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAInD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const ZIPMONEY_PROXY_REDIRECT_URL = "/checkout/zipmoney/response";
|
|
2
|
+
export declare const ZIPMONEY_DEFAULT_SUSPENDED_URL = "/checkout/zipmoney/suspended";
|
|
3
|
+
export declare const ZIPMONEY_MESSAGE_SOURCE = "zipmoney.checkout.paydock";
|
|
4
|
+
//# sourceMappingURL=zipmoney.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zipmoney.config.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,8BAA8B,iCAAiC,CAAC;AAE7E,eAAO,MAAM,uBAAuB,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseRunner, IRunner } from '../runner';
|
|
2
|
+
import { Env } from '../../configs/env';
|
|
3
|
+
export declare const LOG_PREFIX = "[CheckoutButton:Zipmoney]";
|
|
4
|
+
export declare class ZipmoneyRunner extends BaseRunner implements Partial<IRunner> {
|
|
5
|
+
protected apiEnv: Env;
|
|
6
|
+
constructor();
|
|
7
|
+
setEnv(env: string, alias?: string): void;
|
|
8
|
+
protected getCheckoutUri(redirectUri: string): string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=zipmoney.runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zipmoney.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAW,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKjD,eAAO,MAAM,UAAU,8BAA8B,CAAC;AAEtD,qBAAa,cAAe,SAAQ,UAAW,YAAW,OAAO,CAAC,OAAO,CAAC;IACtE,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;;IAOf,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAKhD,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM;CAO/C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AdditionalParams } from '../runner';
|
|
2
|
+
export interface ZipmoneyWidgetSessionData {
|
|
3
|
+
checkout_token: string;
|
|
4
|
+
gateway_id: string;
|
|
5
|
+
merchant_redirect_url: string;
|
|
6
|
+
public_key: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ZipmoneyRunnerParams extends AdditionalParams {
|
|
9
|
+
gateway_id: string;
|
|
10
|
+
public_key: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=zipmoney.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zipmoney.types.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,yBAAyB;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum ABILITY {
|
|
2
|
+
POPUP_CLOSE = 0,
|
|
3
|
+
BACKDROP_DISPLAY_CONTINUE = 1,
|
|
4
|
+
POPUP_FOCUS = 2
|
|
5
|
+
}
|
|
6
|
+
export declare class AbilityGuard {
|
|
7
|
+
protected usedGateway: string;
|
|
8
|
+
useGateway(gateway: string): void;
|
|
9
|
+
reset(): void;
|
|
10
|
+
isAllow(ability: number): boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ability-guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ability-guard.d.ts","sourceRoot":"","sources":["../../src/components/ability-guard.ts"],"names":[],"mappings":"AAKA,oBAAY,OAAO;IACf,WAAW,IAAA;IACX,yBAAyB,IAAA;IACzB,WAAW,IAAA;CACd;AAoBD,qBAAa,YAAY;IACrB,SAAS,CAAC,WAAW,EAAE,MAAM,CAAQ;IAE9B,UAAU,CAAC,OAAO,EAAE,MAAM;IAI1B,KAAK;IAIL,OAAO,CAAC,OAAO,EAAE,MAAM;CAYjC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter } from '../helper/event-emitter';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @type {object}
|
|
5
|
+
* @param {string} CLOSE=close
|
|
6
|
+
* @param {string} FOCUS=focus
|
|
7
|
+
*/
|
|
8
|
+
export declare const TRIGGER: {
|
|
9
|
+
CLOSE: string;
|
|
10
|
+
FOCUS: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Class Background create overlay for checkout
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* var overlay = new Background();
|
|
17
|
+
*/
|
|
18
|
+
declare class Background {
|
|
19
|
+
protected description: string;
|
|
20
|
+
protected title: string;
|
|
21
|
+
protected overlay: HTMLElement;
|
|
22
|
+
protected style: HTMLStyleElement;
|
|
23
|
+
protected eventEmitter: EventEmitter;
|
|
24
|
+
protected showControl: boolean;
|
|
25
|
+
protected showLoader: boolean;
|
|
26
|
+
constructor();
|
|
27
|
+
initControl(): void;
|
|
28
|
+
initLoader(): void;
|
|
29
|
+
private eventHandler;
|
|
30
|
+
clear(): void;
|
|
31
|
+
private createLoader;
|
|
32
|
+
protected createTemplate(): void;
|
|
33
|
+
private createStyles;
|
|
34
|
+
setBackdropDescription(text: string): void;
|
|
35
|
+
setBackdropTitle(text: string): void;
|
|
36
|
+
onTrigger(triggerName: string, cb: () => void): void;
|
|
37
|
+
isInit(): boolean;
|
|
38
|
+
hideContinueControl(): void;
|
|
39
|
+
turnOffControl(): void;
|
|
40
|
+
turnOffLoader(): void;
|
|
41
|
+
}
|
|
42
|
+
export { Background };
|
|
43
|
+
//# sourceMappingURL=background.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../src/components/background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAKvD;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAuEF;;;;;GAKG;AACH,cAAM,UAAU;IAEZ,SAAS,CAAC,WAAW,SAA0G;IAC/H,SAAS,CAAC,KAAK,SAAc;IAC7B,SAAS,CAAC,OAAO,EAAE,WAAW,CAAQ;IACtC,SAAS,CAAC,KAAK,EAAE,gBAAgB,CAAQ;IACzC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,WAAW,UAAQ;IAC7B,SAAS,CAAC,UAAU,UAAQ;;IAOrB,WAAW;IAaX,UAAU;IAQjB,OAAO,CAAC,YAAY;IAUb,KAAK;IAWZ,OAAO,CAAC,YAAY;IAcpB,SAAS,CAAC,cAAc,IAAI,IAAI;IAkBhC,OAAO,CAAC,YAAY;IAiBb,sBAAsB,CAAC,IAAI,EAAE,MAAM;IAInC,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAI7B,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,IAAI;IAI7C,MAAM,IAAI,OAAO;IAIjB,mBAAmB;IAOnB,cAAc,IAAI,IAAI;IAItB,aAAa,IAAI,IAAI;CAG/B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class Container {
|
|
2
|
+
protected selector: string;
|
|
3
|
+
constructor(selector: string);
|
|
4
|
+
isExist(): boolean;
|
|
5
|
+
getStyles<T>(allowValue: string[]): T | {};
|
|
6
|
+
on(name: any, cb: (event: MouseEvent) => void): void;
|
|
7
|
+
getAttr<T>(allowValue: string[]): T | {};
|
|
8
|
+
getElement(): Element;
|
|
9
|
+
getSelector(): string;
|
|
10
|
+
private convertConfigs;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/components/container.ts"],"names":[],"mappings":"AAIA,qBAAa,SAAS;IAElB,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC;gBAGf,QAAQ,EAAE,MAAM;IAKrB,OAAO,IAAI,OAAO;IAKlB,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;IAmB1C,EAAE,CAAC,IAAI,KAAA,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAI,IAAI;IAQvC,OAAO,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;IA0BxC,UAAU;IAIV,WAAW;IAKlB,OAAO,CAAC,cAAc;CAczB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Env } from '../configs/env';
|
|
2
|
+
export interface IDispatcherData {
|
|
3
|
+
message_source: string;
|
|
4
|
+
event: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class Dispatcher {
|
|
7
|
+
protected messageSource: string;
|
|
8
|
+
protected env: Env;
|
|
9
|
+
constructor(messageSource: string);
|
|
10
|
+
restartDispatcher(): void;
|
|
11
|
+
on<T extends IDispatcherData>(name: any, cb: (data: T) => void): void;
|
|
12
|
+
setEnv(env: string, alias?: string): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=dispatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../../src/components/dispatcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAc,MAAM,gBAAgB,CAAC;AAKjD,MAAM,WAAW,eAAe;IAAI,cAAc,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC;AAE1E,qBAAa,UAAU;IAGP,SAAS,CAAC,aAAa,EAAE,MAAM;IAF3C,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;gBAEG,aAAa,EAAE,MAAM;IAIpC,iBAAiB;IAYjB,EAAE,CAAC,CAAC,SAAS,eAAe,EAAE,IAAI,KAAA,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;IAezD,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;CAI5C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type StylableElements = StylableElement[];
|
|
2
|
+
export interface StylableElement {
|
|
3
|
+
element: string;
|
|
4
|
+
states: string[];
|
|
5
|
+
styles: string[];
|
|
6
|
+
}
|
|
7
|
+
export interface StyleElement {
|
|
8
|
+
element: string;
|
|
9
|
+
state: string;
|
|
10
|
+
styles: {};
|
|
11
|
+
}
|
|
12
|
+
export declare class ElementStyle {
|
|
13
|
+
static check(stylableElements: StylableElements, element: string, states: string, styles: any): boolean;
|
|
14
|
+
static encode(element: string, states: string, styles: any): string;
|
|
15
|
+
static decode(data: string): StyleElement;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=element-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-style.d.ts","sourceRoot":"","sources":["../../src/components/element-style.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG,eAAe,EAAE,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAA;CACnB;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,EAAE,CAAA;CACb;AAED,qBAAa,YAAY;WAEP,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;WAsBtF,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;WAgBnD,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;CA0BnD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFrameEvent } from './iframe-event';
|
|
2
|
+
export declare enum FLYPAY_EVENT {
|
|
3
|
+
AFTER_LOAD = "after_load",
|
|
4
|
+
UNAVAILABLE = "unavailable",
|
|
5
|
+
START_LOADING = "start_loading",
|
|
6
|
+
END_LOADING = "end_loading",
|
|
7
|
+
UPDATE = "update",
|
|
8
|
+
PAYMENT_SUCCESSFUL = "payment_successful",
|
|
9
|
+
PAYMENT_IN_REVIEW = "payment_in_review",
|
|
10
|
+
PAYMENT_ERROR = "payment_error"
|
|
11
|
+
}
|
|
12
|
+
export declare class FlypayIframeEvent extends IFrameEvent {
|
|
13
|
+
on<T>(eventName: string, widgetId: string, cb: (data: T) => void): void;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=flypay-iframe-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flypay-iframe-event.d.ts","sourceRoot":"","sources":["../../src/components/flypay-iframe-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,oBAAY,YAAY;IACpB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;CAClC;AAED,qBAAa,iBAAkB,SAAQ,WAAW;IACvC,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;CAc1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-interceptor.d.ts","sourceRoot":"","sources":["../../src/components/form-interceptor.ts"],"names":[],"mappings":"AACA,qBAAa,eAAe;IAExB,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,WAAW,UAAS;gBAElB,QAAQ,EAAE,MAAM;IAIrB,UAAU,IAAI,eAAe;IAI7B,OAAO,IAAI,OAAO;IAIlB,YAAY,CAAE,EAAE,EAAE,MAAM,IAAI;IAU5B,cAAc;IAYrB,OAAO,CAAC,SAAS;CAOpB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type SuccessCb = (data: any, status: number) => void;
|
|
2
|
+
export declare type ErrorCb = (err: any, status: number) => void;
|
|
3
|
+
export declare abstract class HttpCore {
|
|
4
|
+
private env;
|
|
5
|
+
constructor();
|
|
6
|
+
setEnv(env: string, alias?: string): void;
|
|
7
|
+
getEnv(): string;
|
|
8
|
+
protected getUrl(): string;
|
|
9
|
+
protected create(accessToken: string, data: any, cb: SuccessCb, errorCb: ErrorCb): void;
|
|
10
|
+
protected get(accessToken: string, cb: SuccessCb, errorCb: ErrorCb): void;
|
|
11
|
+
protected parser(text: any, status: number, cb: SuccessCb, errorCb: ErrorCb): void;
|
|
12
|
+
protected abstract getLink(): string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=http-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-core.d.ts","sourceRoot":"","sources":["../../src/components/http-core.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;AACpE,MAAM,CAAC,OAAO,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;AAEhE,8BAAsB,QAAQ;IAC1B,OAAO,CAAC,GAAG,CAAM;;IAMV,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAIlC,MAAM,IAAI,MAAM;IAIvB,SAAS,CAAC,MAAM;IAIhB,SAAS,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAchF,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE,MAAM,EAAG,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAcnE,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAa3E,SAAS,CAAC,QAAQ,CAAC,OAAO,IAAI,MAAM;CACvC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { PURPOSE } from "../widget";
|
|
2
|
+
import type { IEventError } from "../helper/event-error";
|
|
3
|
+
/**
|
|
4
|
+
* Contains basic information associated with the event.
|
|
5
|
+
*
|
|
6
|
+
* Including event (name), source of the message, purpose and a unique identifier
|
|
7
|
+
* for the event.
|
|
8
|
+
*
|
|
9
|
+
* @interface IEventData
|
|
10
|
+
*
|
|
11
|
+
* @param {string} event The name of the event.
|
|
12
|
+
* @param {string} message_source A system variable that identifies the event source.
|
|
13
|
+
* @param {string} purpose A system variable that states the purpose of the event.
|
|
14
|
+
* @param {string} [ref_id] Custom unique value that identifies result of processed operation.
|
|
15
|
+
*/
|
|
16
|
+
export interface IEventData {
|
|
17
|
+
event: string;
|
|
18
|
+
message_source: string;
|
|
19
|
+
purpose: PURPOSE;
|
|
20
|
+
widget_id: string;
|
|
21
|
+
data?: any;
|
|
22
|
+
ref_id?: string;
|
|
23
|
+
error?: IEventError;
|
|
24
|
+
}
|
|
25
|
+
export declare const EVENT: {
|
|
26
|
+
readonly AFTER_LOAD: "afterLoad";
|
|
27
|
+
readonly SUBMIT: "submit";
|
|
28
|
+
readonly FINISH: "finish";
|
|
29
|
+
readonly VALIDATION_ERROR: "validationError";
|
|
30
|
+
readonly SYSTEM_ERROR: "systemError";
|
|
31
|
+
readonly ERROR: "error";
|
|
32
|
+
/** @deprecated */
|
|
33
|
+
readonly CHECKOUT_SUCCESS: "checkoutSuccess";
|
|
34
|
+
readonly CHECKOUT_READY: "checkoutReady";
|
|
35
|
+
readonly CHECKOUT_ERROR: "checkoutError";
|
|
36
|
+
readonly CHECKOUT_COMPLETED: "checkoutCompleted";
|
|
37
|
+
readonly CHECKOUT_POPUP_OPEN: "checkoutPopupOpen";
|
|
38
|
+
readonly CHECKOUT_POPUP_CLOSE: "checkoutPopupClose";
|
|
39
|
+
readonly RECOGNITION_TOKEN_REQUESTED: "recognitionTokenRequested";
|
|
40
|
+
readonly RECOGNITION_TOKEN_DROPPED: "recognitionTokenDropped";
|
|
41
|
+
readonly VALIDATION: "validation";
|
|
42
|
+
readonly SELECT: "select";
|
|
43
|
+
readonly UNSELECT: "unselect";
|
|
44
|
+
readonly NEXT: "next";
|
|
45
|
+
readonly PREV: "prev";
|
|
46
|
+
readonly META_CHANGE: "metaChange";
|
|
47
|
+
readonly RESIZE: "resize";
|
|
48
|
+
readonly CHARGE_AUTH_SUCCESS: "chargeAuthSuccess";
|
|
49
|
+
readonly CHARGE_AUTH_REJECT: "chargeAuthReject";
|
|
50
|
+
readonly CHARGE_AUTH_CANCELLED: "chargeAuthCancelled";
|
|
51
|
+
readonly ADDITIONAL_DATA_SUCCESS: "additionalDataCollectSuccess";
|
|
52
|
+
readonly ADDITIONAL_DATA_REJECT: "additionalDataCollectReject";
|
|
53
|
+
readonly CHARGE_AUTH: "chargeAuth";
|
|
54
|
+
readonly DISPATCH_SUCCESS: "dispatchSuccess";
|
|
55
|
+
readonly DISPATCH_ERROR: "dispatchError";
|
|
56
|
+
};
|
|
57
|
+
export type EventTypes = typeof EVENT[keyof typeof EVENT];
|
|
58
|
+
export interface Listener {
|
|
59
|
+
event: string;
|
|
60
|
+
listener: (event: any) => void;
|
|
61
|
+
widget_id: string;
|
|
62
|
+
}
|
|
63
|
+
export declare type Listeners = Listener[];
|
|
64
|
+
export declare class IFrameEvent {
|
|
65
|
+
protected listeners: Listeners;
|
|
66
|
+
constructor(subject: Window | null);
|
|
67
|
+
emit(data: IEventData): void;
|
|
68
|
+
on<T>(eventName: string, widgetId: string, cb: (data: T) => void): void;
|
|
69
|
+
clear(): void;
|
|
70
|
+
private subscribe;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=iframe-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe-event.d.ts","sourceRoot":"","sources":["../../src/components/iframe-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,KAAK;;;;;;;IAOd,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;CAwBZ,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAE1D,MAAM,WAAW,QAAQ;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,QAAQ,EAAE,CAAC;AAE3C,qBAAa,WAAW;IACpB,SAAS,CAAC,SAAS,EAAE,SAAS,CAAM;gBAExB,OAAO,EAAE,MAAM,GAAG,IAAI;IAiB3B,IAAI,CAAC,IAAI,EAAE,UAAU;IAOrB,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;IAehE,KAAK;IAIZ,OAAO,CAAC,SAAS;CAOpB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Container } from "./container";
|
|
2
|
+
export declare class IFrame {
|
|
3
|
+
protected container: Container;
|
|
4
|
+
constructor(container: Container);
|
|
5
|
+
load(link: string, options?: {
|
|
6
|
+
title?: string;
|
|
7
|
+
}, iframeClass?: string): void;
|
|
8
|
+
loadFromHtml(content: string, options?: {
|
|
9
|
+
title?: string;
|
|
10
|
+
}, iframeClass?: string): void;
|
|
11
|
+
remove(): void;
|
|
12
|
+
show(): void;
|
|
13
|
+
hide(saveSize?: boolean): void;
|
|
14
|
+
isExist(): boolean;
|
|
15
|
+
getElement(): HTMLIFrameElement;
|
|
16
|
+
setStyle(property: string, value: string): void;
|
|
17
|
+
setIframeHeight(iframeElement: HTMLIFrameElement, iFrameDocument: Document, selector: string): void;
|
|
18
|
+
private setStyles;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=iframe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe.d.ts","sourceRoot":"","sources":["../../src/components/iframe.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,qBAAa,MAAM;IAEf,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;gBAEnB,SAAS,EAAE,SAAS;IAIzB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAM,EAAE,WAAW,CAAC,EAAE,MAAM;IAevE,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAM,EAAE,WAAW,CAAC,EAAE,MAAM;IAuBlF,MAAM;IAQN,IAAI;IAQJ,IAAI,CAAC,QAAQ,GAAE,OAAe;IAU9B,OAAO,IAAI,OAAO;IAIlB,UAAU;IAOV,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAKxC,eAAe,CAAC,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM;IAInG,OAAO,CAAC,SAAS;CAOpB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IParams, ISRCParams, IWalletParams } from './param';
|
|
2
|
+
import { Env } from '../configs/env';
|
|
3
|
+
export declare const WIDGET_LINK = "/remote-action";
|
|
4
|
+
export declare const VAULT_DISPLAY_WIDGET_LINK = "/vault-display";
|
|
5
|
+
export declare const PAYMENT_SOURCE_LINK = "/payment-sources";
|
|
6
|
+
export declare const SECURE_3D = "/3ds/webhook";
|
|
7
|
+
export declare const FLYPAY_LINK = "/wallet/flypay";
|
|
8
|
+
export declare const FLYPAY_LOGO_LINK = "/images/coles-pay-logo.png";
|
|
9
|
+
export declare const VISA_SRC = "/secure-remote-commerce/visa";
|
|
10
|
+
export declare const MESSAGE_WIDGET_LINK = "/message-widget";
|
|
11
|
+
export declare const MASTERCARD_SRC = "/secure-remote-commerce/mastercard";
|
|
12
|
+
export declare class Link {
|
|
13
|
+
protected env: Env;
|
|
14
|
+
protected linkResource: string;
|
|
15
|
+
protected params: IParams;
|
|
16
|
+
protected widgetId: string;
|
|
17
|
+
constructor(linkResource: string);
|
|
18
|
+
getNetUrl(): string;
|
|
19
|
+
getUrl(): string;
|
|
20
|
+
setParams(params: IParams | IWalletParams | ISRCParams): void;
|
|
21
|
+
concatParams(params: IParams): void;
|
|
22
|
+
getParams(): IParams;
|
|
23
|
+
setEnv(env: string, alias?: string): void;
|
|
24
|
+
getEnv(): string;
|
|
25
|
+
getBaseUrl(): string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/components/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAc,MAAM,gBAAgB,CAAC;AAKjD,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,SAAS,iBAAiB,CAAC;AACxC,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAC7D,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AACvD,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,eAAO,MAAM,cAAc,uCAAuC,CAAC;AAEnE,qBAAa,IAAI;IAEb,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;IACnB,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,OAAO,CAAM;IAC/B,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAmB;gBAGjC,YAAY,EAAE,MAAM;IAMzB,SAAS;IAIT,MAAM,IAAI,MAAM;IAWhB,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU;IAItD,YAAY,CAAC,MAAM,EAAE,OAAO;IAe5B,SAAS,IAAI,OAAO;IAIpB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAIlC,MAAM,IAAI,MAAM;IAIhB,UAAU,IAAI,MAAM;CAG9B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const TEMPLATE = "\n <div class=\"cs-loader\">\n <div class=\"cs-loader-inner\">\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n </div>\n </div>\n";
|
|
2
|
+
export declare const STYLE = "\n <style> \n .cs-loader {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n }\n \n .cs-loader-inner {\n transform: translateY(-50%);\n top: 50%;\n position: absolute;\n width: calc(100% - 200px);\n color: #8e8d8c;\n padding: 0 100px;\n text-align: center;\n }\n \n \n .cs-loader-inner label {\n font-size: 20px;\n opacity: 0;\n display:inline-block;\n }\n \n @keyframes lol {\n 0% {\n opacity: 0;\n transform: translateX(-300px);\n }\n 33% {\n opacity: 1;\n transform: translateX(0px);\n }\n 66% {\n opacity: 1;\n transform: translateX(0px);\n }\n 100% {\n opacity: 0;\n transform: translateX(300px);\n }\n }\n \n @-webkit-keyframes lol {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(-300px);\n }\n 33% {\n opacity: 1;\n -webkit-transform: translateX(0px);\n }\n 66% {\n opacity: 1;\n -webkit-transform: translateX(0px);\n }\n 100% {\n opacity: 0;\n -webkit-transform: translateX(300px);\n -moz-transform: translateX(300px);\n }\n }\n \n .cs-loader-inner label:nth-child(6) {\n -webkit-animation: lol 3s infinite ease-in-out;\n -moz-animation: lol 3s infinite ease-in-out;\n animation: lol 3s infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(5) {\n -webkit-animation: lol 3s 100ms infinite ease-in-out;\n -moz-animation: lol 3s 100ms infinite ease-in-out;\n animation: lol 3s 100ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(4) {\n -webkit-animation: lol 3s 200ms infinite ease-in-out;\n -moz-animation: lol 3s 200ms infinite ease-in-out;\n animation: lol 3s 200ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(3) {\n -webkit-animation: lol 3s 300ms infinite ease-in-out;\n -moz-animation: lol 3s 300ms infinite ease-in-out;\n animation: lol 3s 300ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(2) {\n -webkit-animation: lol 3s 400ms infinite ease-in-out;\n -moz-animation: lol 3s 400ms infinite ease-in-out;\n animation: lol 3s 400ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(1) {\n -webkit-animation: lol 3s 500ms infinite ease-in-out;\n -moz-animation: lol 3s 500ms infinite ease-in-out;\n animation: lol 3s 500ms infinite ease-in-out;\n }\n </style>\n";
|
|
3
|
+
export declare const EXTRA_TEMPLATE = "\n <div class=\"circ\">\n <div class=\"load\">A little patience ...</div>\n <div class=\"hands\"></div>\n <div class=\"body\"></div>\n <div class=\"head\">\n <div class=\"eye\"></div>\n </div>\n </div>\n";
|
|
4
|
+
export declare const EXTRA_STYLE = "\n <style>\n html{width: 100%;height: 100%;}\n body{margin: 0px;padding: 0px;background-color: #111;}\n \n .eye{\n width: 20px; height: 8px;\n background-color: #eee;\n border-radius:0px 0px 20px 20px;\n position: relative;\n top: 40px;\n left: 10px;\n box-shadow: 40px 0px 0px 0px #eee; \n }\n \n .head{\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden; \n position: relative;\n margin: -250px auto;\n width: 80px; height: 80px;\n background-color: #111;\n border-radius:50px;\n box-shadow: inset -4px 2px 0px 0px #eee;\n -webkit-animation:node 1.5s infinite alternate;\n -webkit-animation-timing-function:ease-out;\n -moz-animation:node 1.5s infinite alternate;\n -moz-animation-timing-function:ease-out;\n animation:node 1.5s infinite alternate;\n animation-timing-function:ease-out;\n }\n .body{ \n position: relative;\n margin: 90px auto;\n width: 140px; height: 120px;\n background-color: #111;\n border-radius: 50px/25px ;\n box-shadow: inset -5px 2px 0px 0px #eee;\n -webkit-animation:node2 1.5s infinite alternate;\n -webkit-animation-timing-function:ease-out; \n -moz-animation:node2 1.5s infinite alternate;\n -moz-animation-timing-function:ease-out; \n animation:node2 1.5s infinite alternate;\n animation-timing-function:ease-out; \n }\n \n @keyframes node {0%{ top:0px; }50%{ top:10px; }100% { top:0px;} }\n @keyframes node2 {0%{ top:-5px; }50%{ top:10px; }100% { top:-5px;}}\n @-moz-keyframes node {0%{ top:0px; }50%{ top:10px; }100% { top:0px;} }\n @-moz-keyframes node2 {0%{ top:-5px; }50%{ top:10px; }100% { top:-5px;}}\n @-webkit-keyframes node {0%{ top:0px; }50%{ top:10px; }100% { top:0px;} }\n @-webkit-keyframes node2 {0%{ top:-5px; }50%{ top:10px; }100% { top:-5px;}}\n \n \n .circ{\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n margin: 60px auto;\n width: 180px; height: 180px;\n background-color: #111;\n border-radius: 0px 0px 50px 50px;\n position: relative;\n z-index: -1; \n left: 0%;\n top: 20%;\n overflow: hidden;\n }\n \n .hands{\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n margin-top: 140px;\n width: 120px;height: 120px;\n position: absolute;\n background-color: #111;\n border-radius:20px;\n box-shadow:-1px -4px 0px 0px #eee;\n transform:rotate(45deg);\n -webkit-transform:rotate(45deg);\n -mox-transform:rotate(45deg);\n top:75%;left: 16%;\n z-index: 1;\n -webkit-animation:node2 1.5s infinite alternate;\n -webkit-animation-timing-function:ease-out;\n -moz-animation:node2 1.5s infinite alternate;\n -moz-animation-timing-function:ease-out;\n animation:node2 1.5s infinite alternate;\n animation-timing-function:ease-out;\n }\n \n .load{ position: absolute;\n width: 100px; height: 20px;\n margin: -10px auto;\n -webkit-font-smoothing: antialiased;\n -moz-font-smoothing: antialiased;\n font-smoothing: antialiased;\n font-family: 'Julius Sans One', sans-serif;\n font-size:30px;\n font-weight:400;\n color:#eee;\n left: 10%;\n top: 5%;\n }\n </style>\n";
|
|
5
|
+
//# sourceMappingURL=loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../src/components/loader.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,6SAWpB,CAAC;AAGF,eAAO,MAAM,KAAK,g/FAsGjB,CAAC;AAEF,eAAO,MAAM,cAAc,sPAS1B,CAAC;AAEF,eAAO,MAAM,WAAW,o6HA2GvB,CAAC"}
|