@xsolla/payment-client-core 0.2.101 → 0.2.103
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 +37 -52
- package/esm2022/lib/core/agreements-group.const.mjs +1 -1
- package/esm2022/lib/core/boolean-number.enum.mjs +1 -1
- package/esm2022/lib/core/combined-payment-methods/combined-payment-methods.interface.mjs +1 -1
- package/esm2022/lib/core/combined-payment-methods/combined-payment-methods.service.mjs +4 -4
- package/esm2022/lib/core/countries-api/countries-api.service.mjs +4 -4
- package/esm2022/lib/core/countries-api/country-response.interface.mjs +1 -1
- package/esm2022/lib/core/countries-api/country.interface.mjs +1 -1
- package/esm2022/lib/core/country/country-iso-code.enum.mjs +1 -1
- package/esm2022/lib/core/country/country.service.mjs +4 -4
- package/esm2022/lib/core/country/eu-countries.const.mjs +1 -1
- package/esm2022/lib/core/credit-card/credit-card-settings.interface.mjs +1 -1
- package/esm2022/lib/core/credit-card/credit-card-types.enum.mjs +1 -1
- package/esm2022/lib/core/credit-card/credit-card.interface.mjs +1 -1
- package/esm2022/lib/core/credit-card/credit-card.service.mjs +4 -4
- package/esm2022/lib/core/credit-card/credit-cards-map.const.mjs +1 -1
- package/esm2022/lib/core/credit-card/default-mask.const.mjs +1 -1
- package/esm2022/lib/core/credit-card/four-block-mask.const.mjs +1 -1
- package/esm2022/lib/core/credit-card/ordered-cards-settings.const.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/american-express.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/aura.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/china-union-pay.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/dankort.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/default-card.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/diners-clubs.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/discover.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/elo.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/hipercard.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/jcb.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/maestro.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/mastercard.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/mir.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/naranja.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/postepay.mjs +1 -1
- package/esm2022/lib/core/credit-card/types/visa.mjs +1 -1
- package/esm2022/lib/core/deep-readonly.type.mjs +1 -1
- package/esm2022/lib/core/device-finger-print/device-finger-print.service.mjs +5 -6
- package/esm2022/lib/core/device-finger-print/hash.type.mjs +1 -1
- package/esm2022/lib/core/edit-saved-methods/delete-method-response.interface.mjs +1 -1
- package/esm2022/lib/core/edit-saved-methods/edit-saved-methods.service.mjs +4 -4
- package/esm2022/lib/core/encrypt-credit-card/encrypt-credit-card.service.mjs +4 -4
- package/esm2022/lib/core/encrypt-credit-card/encrypted-card.interface.mjs +1 -1
- package/esm2022/lib/core/encrypt-credit-card/open-card.interface.mjs +1 -1
- package/esm2022/lib/core/environment.interface.mjs +1 -1
- package/esm2022/lib/core/errors-mapping/card-number-sanction-error-codes.const.mjs +1 -1
- package/esm2022/lib/core/errors-mapping/field-special-errors-map.const.mjs +1 -1
- package/esm2022/lib/core/errors-mapping/xps-response-errors-mapping.service.mjs +4 -4
- package/esm2022/lib/core/exceptions-handling/common-log-attributes/common-log-attributes.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/common-log-attributes/common-log-attributes.service.mjs +4 -4
- package/esm2022/lib/core/exceptions-handling/elk/additional-info.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/elk/elk-logger.service.mjs +4 -4
- package/esm2022/lib/core/exceptions-handling/elk/error-without-meta-fields.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/elk/log-message.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/api-error.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/app-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/elk-error-types.enum.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/encrypt-card-error.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/http-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/index.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/response-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/tagged-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/terminal-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/token-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/errors/ws-error.class.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/http-interceptor/http-error-data.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/http-interceptor/http-error-response-data.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/http-interceptor/http-exceptions.interceptor.mjs +4 -4
- package/esm2022/lib/core/exceptions-handling/logger/index.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/logger/log-handler.interface.mjs +1 -1
- package/esm2022/lib/core/exceptions-handling/logger/logger.service.mjs +4 -4
- package/esm2022/lib/core/extended-window.interface.mjs +1 -1
- package/esm2022/lib/core/http/secure-api/api-url.const.mjs +1 -1
- package/esm2022/lib/core/http/secure-api/options.interface.mjs +1 -1
- package/esm2022/lib/core/http/secure-api/secure-api.service.mjs +4 -4
- package/esm2022/lib/core/legal/disclaimer.service.mjs +4 -4
- package/esm2022/lib/core/legal/get-sctl-link.function.mjs +1 -1
- package/esm2022/lib/core/legal/legal.component.config.mjs +1 -1
- package/esm2022/lib/core/legal/legal.service.mjs +4 -4
- package/esm2022/lib/core/legal/refund-policy.service.mjs +5 -5
- package/esm2022/lib/core/payment/actions/action.interface.mjs +1 -1
- package/esm2022/lib/core/payment/actions/check-status/check-status.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/check-status/check-status.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/next-action.interface.mjs +1 -1
- package/esm2022/lib/core/payment/actions/next-action.service.mjs +4 -4
- package/esm2022/lib/core/payment/actions/next-actions.mjs +3 -1
- package/esm2022/lib/core/payment/actions/redirect/acquirers-with-redirect-in-new-window.const.mjs +1 -1
- package/esm2022/lib/core/payment/actions/redirect/google-three-ds-redirect.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/redirect/pay-station4-url.const.mjs +1 -1
- package/esm2022/lib/core/payment/actions/redirect/ps4-pages/pages-payment-methods-id.const.mjs +1 -1
- package/esm2022/lib/core/payment/actions/redirect/ps4-pages/pages-routes.const.mjs +1 -1
- package/esm2022/lib/core/payment/actions/redirect/redirect.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/redirect/redirect.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/server-error/server-error.action.class.mjs +22 -0
- package/esm2022/lib/core/payment/actions/server-error/server-error.action.type.mjs +2 -0
- package/esm2022/lib/core/payment/actions/show-cash-payment-instruction/show-cash-payment-instruction.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/show-cash-payment-instruction/show-cash-payment-instruction.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/show-errors/show-errors.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/show-errors/show-errors.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/show-fields/show-fields.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/show-fields/show-fields.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/show-mobile-payment-screen/show-mobile-payment-screen.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/show-mobile-payment-screen/show-mobile-payment-screen.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/show-qr-code/show-qr-code.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/show-qr-code/show-qr-code.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/show-xsolla-number/show-xsolla-number.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/show-xsolla-number/show-xsolla-number.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/special-button/special-button.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/special-button/special-button.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/status-updated/status-updated.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/status-updated/status-updated.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/three-ds/three-ds.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/three-ds/three-ds.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/actions/three-ds-redirect/three-ds-redirect.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/actions/three-ds-redirect/three-ds-redirect.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/cash-payment-data.interface.mjs +1 -1
- package/esm2022/lib/core/payment/checkout-item.interface.mjs +1 -1
- package/esm2022/lib/core/payment/config/config.service.mjs +4 -4
- package/esm2022/lib/core/payment/credit-card-payment-methods-id.variable.mjs +1 -1
- package/esm2022/lib/core/payment/credit-card-state/credit-card-state.interface.mjs +1 -1
- package/esm2022/lib/core/payment/credit-card-state/credit-card-state.service.mjs +4 -4
- package/esm2022/lib/core/payment/emit-data.service.abstract.mjs +1 -1
- package/esm2022/lib/core/payment/external-change-fields.const.mjs +1 -1
- package/esm2022/lib/core/payment/field-names.enum.mjs +1 -1
- package/esm2022/lib/core/payment/field.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/cart-item.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/cart-line.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/cart-summary.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/finance-details.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/finance-details.service.mjs +4 -4
- package/esm2022/lib/core/payment/finance-details/price.helpers.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/price.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/status/field-with-amount-and-currency.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/status/fields-with-currency.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/status/finance-info.interface.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/status/status-finance-details-adapter.service.mjs +4 -4
- package/esm2022/lib/core/payment/finance-details/summary/default-image-patterns.const.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/summary/sales-tax-details-key.enum.mjs +1 -1
- package/esm2022/lib/core/payment/finance-details/summary/summary-finance-details-adapter.service.mjs +4 -4
- package/esm2022/lib/core/payment/finance-details/vat-details-key.enum.mjs +1 -1
- package/esm2022/lib/core/payment/form/common-control-config.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/control-status.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/card-number/card-number-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/checkbox/checkbox-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/control-config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/control-config.service.mjs +4 -4
- package/esm2022/lib/core/payment/form/controls/control-type.type.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/coupon/coupon-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/phone-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/radio-control/radio-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/radio-control/radio-option.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/search-select/search-select-option.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/search-select/select-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/search-select/select-option.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/controls/text-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/birth-date/birth-date.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/card-expiration/card-expiration.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/card-month/card-month.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/card-number/card-number.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/card-year/card-year.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/cardholder-name/cardholder-name.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/checkbox/checkbox.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/converter.abstract.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/converters-map.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/converters-map.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/coupon/coupon.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/cpf-name/cpf-name-regex.variable.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/cpf-name/cpf-name.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/cpf-number/cpf-number.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/cvv/cvv-form-state.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/cvv/cvv.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/email/email-control.config.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/email/email.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/phone/phone.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/pin/pin.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/pricepoint/pricepoint.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/radio-group/radio-group.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/select/select.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/street-number/street-number-from-state.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/converters/street-number/street-number.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/text/text.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/converters/zip/zip.converter.mjs +4 -4
- package/esm2022/lib/core/payment/form/field-form-states.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/field-status.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/form-fields-status.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/form-state.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/form.module.mjs +5 -5
- package/esm2022/lib/core/payment/form/form.service.mjs +4 -4
- package/esm2022/lib/core/payment/form/input-event.enum.mjs +1 -1
- package/esm2022/lib/core/payment/form/overrided-fields/empty-validator.function.mjs +1 -1
- package/esm2022/lib/core/payment/form/overrided-fields/fields-allowed-to-override.mjs +1 -1
- package/esm2022/lib/core/payment/form/overrided-fields/override-field-config.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/async-validator-fn.type.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/birth-date/birth-date.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/card-expiration-date-validator/card-expiration-date.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/card-month/card-month.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/card-year/card-year.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/convert.function.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/coupon/coupon-validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/cpf-formula-validator/cpf-formula.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/credit-card-length/credit-card-max-length.validator.mjs +4 -4
- package/esm2022/lib/core/payment/form/validators/credit-card-length/credit-card-min-length.validator.mjs +4 -4
- package/esm2022/lib/core/payment/form/validators/email/email-validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/is-empty-input-value.function.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/luhn-formula-validator/luhn-formula.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/max-length-validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/min-length-validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/phone-validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/required/required.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/restricted-value/restricted-value.validator.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/validation-error-params.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/validation-error.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/validation-errors.interface.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/validator-fn.type.mjs +1 -1
- package/esm2022/lib/core/payment/form/validators/validators.module.mjs +5 -5
- package/esm2022/lib/core/payment/form-messages/form-messages.service.mjs +4 -4
- package/esm2022/lib/core/payment/form-response.interface.mjs +1 -1
- package/esm2022/lib/core/payment/initialize-actions/action.interface.mjs +1 -1
- package/esm2022/lib/core/payment/initialize-actions/initialize-next-action.service.mjs +4 -4
- package/esm2022/lib/core/payment/initialize-actions/initialize-next-actions.mjs +1 -1
- package/esm2022/lib/core/payment/initialize-actions/next-action.interface.mjs +1 -1
- package/esm2022/lib/core/payment/initialize-actions/special-button/special-button.action.class.mjs +4 -4
- package/esm2022/lib/core/payment/initialize-actions/special-button/special-button.action.type.mjs +1 -1
- package/esm2022/lib/core/payment/initialized-form.inteface.mjs +1 -1
- package/esm2022/lib/core/payment/invoice.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment-behaviour/behaviour-strategies.mjs +1 -1
- package/esm2022/lib/core/payment/payment-behaviour/payment-behaviour.module.mjs +5 -5
- package/esm2022/lib/core/payment/payment-behaviour/payment-behaviour.service.mjs +4 -4
- package/esm2022/lib/core/payment/payment-behaviour/strategies/apple-pay-with-shipping-address/apple-pay-with-shipping-address.strategy.mjs +4 -4
- package/esm2022/lib/core/payment/payment-behaviour/strategies/behaviour-strategy.abstract.mjs +4 -4
- package/esm2022/lib/core/payment/payment-behaviour/strategies/google-pay-instant-flow/google-pay-instant-flow.strategy.mjs +4 -4
- package/esm2022/lib/core/payment/payment-behaviour/strategies/google-pay-regular-flow/google-pay-regular-flow.strategy.mjs +4 -4
- package/esm2022/lib/core/payment/payment-configuration.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment-configurations/types/credit-card-form-configuration.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment-configurations/types/google-pay-form-configuration.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment-configurations/types/is-credit-card-settings.guard.mjs +1 -1
- package/esm2022/lib/core/payment/payment-configurations/types/is-google-pay-settings.guard.mjs +1 -1
- package/esm2022/lib/core/payment/payment-form.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment-settings/payment-settings-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment-settings/payment-settings.service.mjs +4 -4
- package/esm2022/lib/core/payment/payment.interface.mjs +1 -1
- package/esm2022/lib/core/payment/payment.service.mjs +4 -4
- package/esm2022/lib/core/payment/requests/initialize/initialize-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/payment/requests/initialize/initialize.service.mjs +16 -6
- package/esm2022/lib/core/payment/requests/initialize/is-initialize-response.function.mjs +1 -1
- package/esm2022/lib/core/payment/requests/initialize/response/initialize-response.class.mjs +1 -1
- package/esm2022/lib/core/payment/requests/initialize/response/initialize-response.token.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/is-submit-response.function.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/request/submit-request.class.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/request/submit-request.token.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/response/submit-response.class.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/response/submit-response.token.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/response/xsolla-number.interface.mjs +1 -1
- package/esm2022/lib/core/payment/requests/submit/submit.service.mjs +18 -6
- package/esm2022/lib/core/payment/requests/sync/field-async-validation.interface.mjs +1 -1
- package/esm2022/lib/core/payment/requests/sync/field-sync-state.interface.mjs +1 -1
- package/esm2022/lib/core/payment/requests/sync/request/sync-request.class.mjs +1 -1
- package/esm2022/lib/core/payment/requests/sync/request/sync-request.token.mjs +1 -1
- package/esm2022/lib/core/payment/requests/sync/response/sync-response.class.mjs +1 -1
- package/esm2022/lib/core/payment/requests/sync/response/sync-response.token.mjs +1 -1
- package/esm2022/lib/core/payment/requests/sync/sync.service.mjs +19 -6
- package/esm2022/lib/core/payment/status/check-status/check-status.service.mjs +4 -4
- package/esm2022/lib/core/payment/status/check-status/request/check-status-request.class.mjs +1 -1
- package/esm2022/lib/core/payment/status/check-status/request/check-status-request.token.mjs +1 -1
- package/esm2022/lib/core/payment/status/check-status/response/check-status-response.class.mjs +1 -1
- package/esm2022/lib/core/payment/status/check-status/response/check-status-response.token.mjs +1 -1
- package/esm2022/lib/core/payment/status/finance-info-field.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/line-item.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/listen-status/listen-status.service.mjs +4 -4
- package/esm2022/lib/core/payment/status/save-payment-method-status/api/saved-payment-account-changes.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/save-payment-method-status/api/saved-payment-account-changes.service.mjs +4 -4
- package/esm2022/lib/core/payment/status/save-payment-method-status/api/saved-payment-account.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/save-payment-method-status/save-payment-method-status.enum.mjs +1 -1
- package/esm2022/lib/core/payment/status/save-payment-method-status/save-payment-method-status.service.mjs +4 -4
- package/esm2022/lib/core/payment/status/status-finance-info.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-groups.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-order.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/request/status-request.class.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/request/status-request.token.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/required-status-search-params.const.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/response/status-response.class.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/response/status-response.token.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/status-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/status-request.service.mjs +4 -4
- package/esm2022/lib/core/payment/status/status-request/status-search-param.enum.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-request/status-search-params.map.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-settings.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/status-updated.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/status.enum.mjs +1 -1
- package/esm2022/lib/core/payment/status/status.interface.mjs +1 -1
- package/esm2022/lib/core/payment/status/status.service.mjs +4 -4
- package/esm2022/lib/core/payment/status/title-class.enum.mjs +1 -1
- package/esm2022/lib/core/payment/status/web-socket-client-type.enum.mjs +1 -1
- package/esm2022/lib/core/payment/status/websocket-status/websocket-status.enum.mjs +1 -1
- package/esm2022/lib/core/payment/status/websocket-status/websocket-status.service.mjs +4 -4
- package/esm2022/lib/core/payment/three-ds/api/notify-dfp-status/notify-dfp-status.service.mjs +4 -4
- package/esm2022/lib/core/payment/three-ds/api/notify-dfp-status/request/notify-dfp-status-request.class.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/notify-dfp-status/request/notify-dfp-status-request.token.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/request/status-three-ds-request.class.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/request/status-three-ds-request.token.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/response/status-three-ds-response.class.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/response/status-three-ds-response.token.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/status-three-ds-response.interface.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/status-three-ds.service.mjs +4 -4
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/status-types.enum.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/api/status-three-ds/three-ds-checkout-form.interface.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/dfp-collect/dfp-collect.service.mjs +4 -4
- package/esm2022/lib/core/payment/three-ds/reinsurance-check/reinsurance-check.service.mjs +4 -4
- package/esm2022/lib/core/payment/three-ds/reinsurance-check/timer.interface.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/three-ds-20/status-update.interface.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/three-ds-20/three-ds20.service.mjs +4 -4
- package/esm2022/lib/core/payment/three-ds/three-ds-form.interface.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/three-ds-status-websocket-types.enum.mjs +1 -1
- package/esm2022/lib/core/payment/three-ds/three-ds.service.mjs +4 -4
- package/esm2022/lib/core/payment/update-submit-response/update-after-error-rules.const.mjs +1 -1
- package/esm2022/lib/core/payment/virtual-currency.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-api/xps-api-part-request.abstract.mjs +1 -1
- package/esm2022/lib/core/payment/xps-api/xps-api-part.abstract.mjs +1 -1
- package/esm2022/lib/core/payment/xps-api/xps-api.service.mjs +4 -4
- package/esm2022/lib/core/payment/xps-checkout.mjs +1 -1
- package/esm2022/lib/core/payment/xps-comand.enum.mjs +1 -1
- package/esm2022/lib/core/payment/xps-error.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-finance.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-message.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-purchase.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-request.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-response.error.mjs +1 -1
- package/esm2022/lib/core/payment/xps-response.interface.mjs +1 -1
- package/esm2022/lib/core/payment/xps-summary.interface.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-method-api.interface.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-method.interface.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-methods-api.interface.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-methods-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-methods-response.class.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-methods-response.interface.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-methods-response.token.mjs +1 -1
- package/esm2022/lib/core/payment-methods/payment-methods.service.mjs +4 -4
- package/esm2022/lib/core/performance/performance.service.mjs +4 -4
- package/esm2022/lib/core/performance/xhr-action.interface.mjs +1 -1
- package/esm2022/lib/core/performance/xhr-action.service.mjs +4 -4
- package/esm2022/lib/core/properties.type.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-method-api.interface.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-method.interface.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-methods-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-methods-response.class.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-methods-response.interface.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-methods-response.token.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-methods.service.mjs +4 -4
- package/esm2022/lib/core/script-tracker/script-tracker.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay-cart/apple-pay-cart.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay-integration.type.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay-params.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay-sdk.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay.const.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay.errors.enum.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/apple-pay.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/commands-for-pages.enum.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/external-window-communication/external-window-communication.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/map-shipping-address-to-contact.function.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/params-builder/apple-pay-params-builder.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/session-handlers/apple-pay-session.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/session-handlers/braintree.handler.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/session-handlers/checkout.handler.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/session-handlers/session-handler.abstract.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/session-handlers/session-handler.type.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/session-handlers/start-session-params.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/shipping-address.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/socket-messages/recalculate-cart-message.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/socket-messages/return-message.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/socket-messages/send-token-message.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/socket-messages/update-price-message.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/socket-messages/window-close-message.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/apple-pay/updated-price.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/check-payment-device-data.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay-button-color.type.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay-button-configuration.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay-checkout.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay-init-params.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay-library.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/google-pay/payment/google-pay-checkout-payment.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/google-pay/payment/google-pay-instant-payment.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/google-pay/payment/google-pay-payment-service.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/updated-price.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/payment-systems/payment-system-processing.service.mjs +4 -4
- package/esm2022/lib/core/sdk-payment-systems/sdk-payment-methods.const.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/sdk-payment-systems-initial-data.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/sdk-payment-systems.interface.mjs +1 -1
- package/esm2022/lib/core/session/session.service.mjs +4 -4
- package/esm2022/lib/core/settings/auto-redirect-on-status.mjs +1 -1
- package/esm2022/lib/core/settings/balance.interface.mjs +1 -1
- package/esm2022/lib/core/settings/bonus.interface.mjs +1 -1
- package/esm2022/lib/core/settings/configuration.interface.mjs +1 -1
- package/esm2022/lib/core/settings/empty-utils-response.error.mjs +1 -1
- package/esm2022/lib/core/settings/header-type.enum.mjs +1 -1
- package/esm2022/lib/core/settings/offer.interface.mjs +1 -1
- package/esm2022/lib/core/settings/project.interface.mjs +1 -1
- package/esm2022/lib/core/settings/purchase.interface.mjs +1 -1
- package/esm2022/lib/core/settings/refer.const.mjs +1 -1
- package/esm2022/lib/core/settings/settings-mode.enum.mjs +1 -1
- package/esm2022/lib/core/settings/settings.interface.mjs +1 -1
- package/esm2022/lib/core/settings/settings.service.mjs +19 -7
- package/esm2022/lib/core/settings/status-back-show.mjs +1 -1
- package/esm2022/lib/core/settings/tracking-info.interface.mjs +1 -1
- package/esm2022/lib/core/settings/user.interface.mjs +1 -1
- package/esm2022/lib/core/settings/utils-response.interface.mjs +1 -1
- package/esm2022/lib/core/transaction-initiation-type.enum.mjs +1 -1
- package/esm2022/lib/core/type-guards/is-null.function.mjs +1 -1
- package/esm2022/lib/core/type-guards/is-object.function.mjs +1 -1
- package/esm2022/lib/core/type-guards/is-string.function.mjs +1 -1
- package/esm2022/lib/core/type-guards/is-undefined.function.mjs +1 -1
- package/esm2022/lib/core/type-guards/is-xps-boolean.function.mjs +1 -1
- package/esm2022/lib/core/url/search-params.interface.mjs +1 -1
- package/esm2022/lib/core/url/url.service.mjs +4 -4
- package/esm2022/lib/core/user-agent/browserInfo.interface.mjs +1 -1
- package/esm2022/lib/core/user-agent/browsers.mjs +1 -1
- package/esm2022/lib/core/user-agent/device.enum.mjs +1 -1
- package/esm2022/lib/core/user-agent/os.mjs +1 -1
- package/esm2022/lib/core/user-agent/user-agent-data.interface.mjs +1 -1
- package/esm2022/lib/core/user-agent/user-agent.service.mjs +4 -4
- package/esm2022/lib/core/user-balance/user-balance-api.interface.mjs +1 -1
- package/esm2022/lib/core/user-balance/user-balance-request-params.interface.mjs +1 -1
- package/esm2022/lib/core/user-balance/user-balance-response.class.mjs +1 -1
- package/esm2022/lib/core/user-balance/user-balance-response.token.mjs +1 -1
- package/esm2022/lib/core/user-balance/user-balance.service.mjs +4 -4
- package/esm2022/lib/core/user-behaviour-analytics/event-builder/event-builder.service.mjs +5 -7
- package/esm2022/lib/core/user-behaviour-analytics/event-builder/event-parameter-types.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/event-builder/invoice.interface.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/event-builder/purchase.type.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/event-builder/user-behaviour-event.interface.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/one-time-analytics-events.const.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/user-behaviour-analytics.interface.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/user-behaviour-analytics.service.mjs +4 -4
- package/esm2022/lib/core/user-behaviour-analytics/user-behaviour-event/user-behaviour-event-categories.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/user-behaviour-event/user-behaviour-event-types.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/user-behaviour-event-name.enum.mjs +1 -1
- package/esm2022/lib/core/user-behaviour-analytics/user-session-options.mjs +1 -1
- package/esm2022/lib/core/web-socket/centrifugo-web-socket.service.mjs +4 -4
- package/esm2022/lib/core/web-socket/nchan-web-socket.service.mjs +4 -4
- package/esm2022/lib/core/web-socket/socket-bridge/bridge-command.interface.mjs +1 -1
- package/esm2022/lib/core/web-socket/socket-bridge/bridge-connection-channel.interface.mjs +1 -1
- package/esm2022/lib/core/web-socket/socket-bridge/bridge-request-payload.interface.mjs +1 -1
- package/esm2022/lib/core/web-socket/socket-bridge/socket-bridge.service.mjs +4 -4
- package/esm2022/lib/core/web-socket/web-socket-client-type.enum.mjs +1 -1
- package/esm2022/lib/core/web-socket/web-socket.factory.mjs +4 -4
- package/esm2022/lib/core/web-socket/web-socket.interface.mjs +1 -1
- package/esm2022/lib/core/window-command.interface.mjs +1 -1
- package/esm2022/lib/core/window.token.mjs +1 -1
- package/esm2022/lib/core/xps-boolean.enum.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/print-instruction/print-instruction.service.mjs +4 -4
- package/esm2022/lib/core/xsolla-number/api/print-instruction/request/print-instruction-request.class.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/print-instruction/request/print-instruction-request.interface.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/print-instruction/request/print-instruction-request.token.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/request/send-instruction-request.class.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/request/send-instruction-request.interface.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/request/send-instruction-request.token.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/response/send-instruction-response.class.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/response/send-instruction-response.interface.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/response/send-instruction-response.token.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/response/send-status.enum.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/send-error.interface.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/send-instruction-api-routes.enum.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/send-instruction-parameters.interface.mjs +1 -1
- package/esm2022/lib/core/xsolla-number/api/send-instruction/send-instruction.service.mjs +4 -4
- package/esm2022/lib/core/xsolla-number/shipping-methods.enum.mjs +1 -1
- package/esm2022/lib/core-library.module.mjs +5 -5
- package/esm2022/lib/core-library.service.mjs +4 -4
- package/esm2022/lib/shared/payment-methods-id.variable.mjs +1 -1
- package/esm2022/lib/shared/pipes/pipes.module.mjs +5 -5
- package/esm2022/lib/shared/pipes/unescape-html/unescape-html.pipe.mjs +4 -4
- package/esm2022/lib/shared/translate/translate.helper.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/xsolla-payment-client-core.mjs +1 -1
- package/fesm2022/xsolla-payment-client-core.mjs +483 -425
- package/fesm2022/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/legal/refund-policy.service.d.ts +1 -1
- package/lib/core/payment/actions/next-action.interface.d.ts +2 -1
- package/lib/core/payment/actions/server-error/server-error.action.class.d.ts +10 -0
- package/lib/core/payment/actions/server-error/server-error.action.type.d.ts +7 -0
- package/lib/core/payment/requests/initialize/initialize.service.d.ts +3 -1
- package/lib/core/payment/requests/submit/submit.service.d.ts +5 -1
- package/lib/core/payment/requests/sync/sync.service.d.ts +3 -1
- package/lib/core/settings/configuration.interface.d.ts +5 -0
- package/lib/core/settings/settings.service.d.ts +2 -1
- package/lib/core/user-agent/browsers.d.ts +2 -2
- package/lib/core/user-agent/user-agent.service.d.ts +1 -1
- package/package.json +13 -6
- package/xsolla-payment-client-core-0.2.103.tgz +0 -0
- package/xsolla-payment-client-core-0.2.101.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, Inject, Injectable, isDevMode, Pipe, NgModule } from '@angular/core';
|
|
3
3
|
import { firstValueFrom, lastValueFrom, map, Subject, BehaviorSubject, filter as filter$1, takeUntil, skip, take, of, interval, throwError, share } from 'rxjs';
|
|
4
4
|
import * as i1 from '@angular/common/http';
|
|
5
5
|
import { HttpParams, HttpHeaders, HttpClientModule, HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http';
|
|
@@ -88,10 +88,10 @@ class SecureApiClient {
|
|
|
88
88
|
}
|
|
89
89
|
return this.isSandboxMode ? sandboxApiUrl : defaultApiUrl;
|
|
90
90
|
}
|
|
91
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
92
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SecureApiClient, deps: [{ token: i1.HttpClient }, { token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
92
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SecureApiClient, providedIn: 'root' }); }
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SecureApiClient, decorators: [{
|
|
95
95
|
type: Injectable,
|
|
96
96
|
args: [{
|
|
97
97
|
providedIn: 'root',
|
|
@@ -176,18 +176,30 @@ class SettingsService {
|
|
|
176
176
|
this._topLevelDomain = configuration.topLevelDomain;
|
|
177
177
|
this._isApplePayInstantFlowEnabled =
|
|
178
178
|
!!configuration.isApplePayInstantFlowEnabled;
|
|
179
|
+
this.setDevApiUrl(configuration.apiUrl);
|
|
179
180
|
await this.sendRequest(this.token);
|
|
180
181
|
this.isInitialized = true;
|
|
181
182
|
}
|
|
183
|
+
isSandboxMode() {
|
|
184
|
+
return this.sandboxMode;
|
|
185
|
+
}
|
|
186
|
+
setDevApiUrl(apiUrl) {
|
|
187
|
+
if (!apiUrl) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
try {
|
|
191
|
+
window.localStorage.setItem('devApiUrl', apiUrl);
|
|
192
|
+
}
|
|
193
|
+
catch {
|
|
194
|
+
console.warn('Could not set devApiUrl in localStorage');
|
|
195
|
+
}
|
|
196
|
+
}
|
|
182
197
|
get topLevelDomain() {
|
|
183
198
|
return this._topLevelDomain;
|
|
184
199
|
}
|
|
185
200
|
get isApplePayInstantFlowEnabled() {
|
|
186
201
|
return this._isApplePayInstantFlowEnabled;
|
|
187
202
|
}
|
|
188
|
-
isSandboxMode() {
|
|
189
|
-
return this.sandboxMode;
|
|
190
|
-
}
|
|
191
203
|
get refer() {
|
|
192
204
|
return this._refer;
|
|
193
205
|
}
|
|
@@ -199,10 +211,10 @@ class SettingsService {
|
|
|
199
211
|
this.secureApi.setSandboxMode(this.isSandboxMode());
|
|
200
212
|
this.response = await firstValueFrom(this.secureApi.get('utils', { params }));
|
|
201
213
|
}
|
|
202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
203
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SettingsService, deps: [{ token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
215
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
|
|
204
216
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SettingsService, decorators: [{
|
|
206
218
|
type: Injectable,
|
|
207
219
|
args: [{
|
|
208
220
|
providedIn: 'root',
|
|
@@ -735,10 +747,10 @@ class UserAgentService {
|
|
|
735
747
|
}
|
|
736
748
|
return null;
|
|
737
749
|
}
|
|
738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
739
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
750
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserAgentService, deps: [{ token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
751
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserAgentService, providedIn: 'root' }); }
|
|
740
752
|
}
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserAgentService, decorators: [{
|
|
742
754
|
type: Injectable,
|
|
743
755
|
args: [{
|
|
744
756
|
providedIn: 'root',
|
|
@@ -780,10 +792,10 @@ class CommonLogAttributesService {
|
|
|
780
792
|
extractUrlHost(url) {
|
|
781
793
|
return url.replace(/^https?:\/\/([^/?#]+).*$/i, '$1');
|
|
782
794
|
}
|
|
783
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
784
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
795
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonLogAttributesService, deps: [{ token: windowToken }, { token: SettingsService }, { token: UserAgentService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
796
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonLogAttributesService, providedIn: 'root' }); }
|
|
785
797
|
}
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonLogAttributesService, decorators: [{
|
|
787
799
|
type: Injectable,
|
|
788
800
|
args: [{
|
|
789
801
|
providedIn: 'root',
|
|
@@ -889,10 +901,10 @@ class ElkLoggerService {
|
|
|
889
901
|
responseType: 'text',
|
|
890
902
|
})).catch((err) => console.error('Elk Logger: request error', err));
|
|
891
903
|
}
|
|
892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
893
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ElkLoggerService, deps: [{ token: CommonLogAttributesService }, { token: i1.HttpClient }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
905
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ElkLoggerService, providedIn: 'root' }); }
|
|
894
906
|
}
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ElkLoggerService, decorators: [{
|
|
896
908
|
type: Injectable,
|
|
897
909
|
args: [{
|
|
898
910
|
providedIn: 'root',
|
|
@@ -911,10 +923,10 @@ class LoggerService {
|
|
|
911
923
|
this.elkLoggerService.handleError(error);
|
|
912
924
|
this.handlers.forEach((handler) => handler.handleError(error));
|
|
913
925
|
}
|
|
914
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
915
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoggerService, deps: [{ token: ElkLoggerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
927
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoggerService, providedIn: 'root' }); }
|
|
916
928
|
}
|
|
917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoggerService, decorators: [{
|
|
918
930
|
type: Injectable,
|
|
919
931
|
args: [{
|
|
920
932
|
providedIn: 'root',
|
|
@@ -939,10 +951,10 @@ class CountryService {
|
|
|
939
951
|
getTokenCountry() {
|
|
940
952
|
return this.settingsService.user.country.value;
|
|
941
953
|
}
|
|
942
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
943
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
954
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountryService, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
955
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountryService, providedIn: 'root' }); }
|
|
944
956
|
}
|
|
945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountryService, decorators: [{
|
|
946
958
|
type: Injectable,
|
|
947
959
|
args: [{
|
|
948
960
|
providedIn: 'root',
|
|
@@ -1048,10 +1060,10 @@ class PaymentMethodsService {
|
|
|
1048
1060
|
get isFixedPaymentMethod() {
|
|
1049
1061
|
return !!this.settingsService.purchase?.payment_system?.id;
|
|
1050
1062
|
}
|
|
1051
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1052
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1063
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentMethodsService, deps: [{ token: paymentMethodsResponseFactoryToken }, { token: SettingsService }, { token: CountryService }, { token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1064
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentMethodsService, providedIn: 'root' }); }
|
|
1053
1065
|
}
|
|
1054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentMethodsService, decorators: [{
|
|
1055
1067
|
type: Injectable,
|
|
1056
1068
|
args: [{
|
|
1057
1069
|
providedIn: 'root',
|
|
@@ -1127,10 +1139,10 @@ class SavedMethodsService {
|
|
|
1127
1139
|
// @ts-expect-error the map already has the cache with key
|
|
1128
1140
|
return this.cache.get(cacheKey);
|
|
1129
1141
|
}
|
|
1130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1131
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedMethodsService, deps: [{ token: savedMethodsResponseFactoryToken }, { token: SettingsService }, { token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1143
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedMethodsService, providedIn: 'root' }); }
|
|
1132
1144
|
}
|
|
1133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedMethodsService, decorators: [{
|
|
1134
1146
|
type: Injectable,
|
|
1135
1147
|
args: [{
|
|
1136
1148
|
providedIn: 'root',
|
|
@@ -1186,10 +1198,10 @@ class UserBalanceService {
|
|
|
1186
1198
|
// @ts-expect-error the map already has the cache with key
|
|
1187
1199
|
return this.cache.get(cacheKey);
|
|
1188
1200
|
}
|
|
1189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1190
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserBalanceService, deps: [{ token: userBalanceResponseFactoryToken }, { token: SettingsService }, { token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1202
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserBalanceService, providedIn: 'root' }); }
|
|
1191
1203
|
}
|
|
1192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserBalanceService, decorators: [{
|
|
1193
1205
|
type: Injectable,
|
|
1194
1206
|
args: [{
|
|
1195
1207
|
providedIn: 'root',
|
|
@@ -1244,10 +1256,10 @@ class UrlService {
|
|
|
1244
1256
|
}
|
|
1245
1257
|
return searchParams;
|
|
1246
1258
|
}
|
|
1247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1248
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UrlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1260
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UrlService, providedIn: 'root' }); }
|
|
1249
1261
|
}
|
|
1250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UrlService, decorators: [{
|
|
1251
1263
|
type: Injectable,
|
|
1252
1264
|
args: [{
|
|
1253
1265
|
providedIn: 'root',
|
|
@@ -1283,10 +1295,10 @@ class PaymentConfigService {
|
|
|
1283
1295
|
});
|
|
1284
1296
|
return enrichedUrl;
|
|
1285
1297
|
}
|
|
1286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1298
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentConfigService, deps: [{ token: UrlService }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1299
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentConfigService, providedIn: 'root' }); }
|
|
1288
1300
|
}
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentConfigService, decorators: [{
|
|
1290
1302
|
type: Injectable,
|
|
1291
1303
|
args: [{
|
|
1292
1304
|
providedIn: 'root',
|
|
@@ -1638,6 +1650,45 @@ const initializeResponseFactoryProvider = {
|
|
|
1638
1650
|
useValue: (...args) => new InitializeResponse(...args),
|
|
1639
1651
|
};
|
|
1640
1652
|
|
|
1653
|
+
class HttpError extends AppError {
|
|
1654
|
+
constructor(error, req) {
|
|
1655
|
+
super(error.message);
|
|
1656
|
+
this.RESTRICTED_KEYS_REGEXP = new RegExp('.*(card_number|number|cvv|cvn|month|year|cardholdername|client_data|dfp|password).*', 'i');
|
|
1657
|
+
this.httpErrorData = {
|
|
1658
|
+
request: {
|
|
1659
|
+
url: req.url,
|
|
1660
|
+
method: req.method,
|
|
1661
|
+
headers: req.headers,
|
|
1662
|
+
},
|
|
1663
|
+
response: {
|
|
1664
|
+
status: error.status,
|
|
1665
|
+
headers: error.headers,
|
|
1666
|
+
},
|
|
1667
|
+
};
|
|
1668
|
+
if (req.body) {
|
|
1669
|
+
this.httpErrorData.request.data = this.cleanPersonalData(req.body);
|
|
1670
|
+
}
|
|
1671
|
+
if (error.statusText) {
|
|
1672
|
+
const errorData = error.error;
|
|
1673
|
+
this.httpErrorData.response.data = {
|
|
1674
|
+
statusText: error.statusText,
|
|
1675
|
+
errors: errorData?.errors ?? [],
|
|
1676
|
+
};
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
getHttpErrorData() {
|
|
1680
|
+
return this.httpErrorData;
|
|
1681
|
+
}
|
|
1682
|
+
cleanPersonalData(data) {
|
|
1683
|
+
return Object.entries(data).reduce((acc, [key, val]) => {
|
|
1684
|
+
return {
|
|
1685
|
+
...acc,
|
|
1686
|
+
[key]: this.RESTRICTED_KEYS_REGEXP.test(key) ? '***' : val,
|
|
1687
|
+
};
|
|
1688
|
+
}, {});
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1641
1692
|
class XpsApiService {
|
|
1642
1693
|
constructor(window, secureApiClient, settingsService, countryService, userAgentService) {
|
|
1643
1694
|
this.window = window;
|
|
@@ -1700,10 +1751,10 @@ class XpsApiService {
|
|
|
1700
1751
|
parameters.user_session_id = this.settingsService.user.session_id ?? '';
|
|
1701
1752
|
return parameters;
|
|
1702
1753
|
}
|
|
1703
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1704
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1754
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XpsApiService, deps: [{ token: windowToken }, { token: SecureApiClient }, { token: SettingsService }, { token: CountryService }, { token: UserAgentService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1755
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XpsApiService, providedIn: 'root' }); }
|
|
1705
1756
|
}
|
|
1706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XpsApiService, decorators: [{
|
|
1707
1758
|
type: Injectable,
|
|
1708
1759
|
args: [{
|
|
1709
1760
|
providedIn: 'root',
|
|
@@ -1808,10 +1859,10 @@ class RedirectActionCreator {
|
|
|
1808
1859
|
const payStationUrl = isSandbox ? sandboxPayStationUrl : payStation4Url;
|
|
1809
1860
|
return `${payStationUrl}/en${pagesPath}?token=${token}`;
|
|
1810
1861
|
}
|
|
1811
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1812
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RedirectActionCreator, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1863
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RedirectActionCreator }); }
|
|
1813
1864
|
}
|
|
1814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RedirectActionCreator, decorators: [{
|
|
1815
1866
|
type: Injectable
|
|
1816
1867
|
}], ctorParameters: () => [{ type: SettingsService }] });
|
|
1817
1868
|
|
|
@@ -1842,10 +1893,10 @@ class ShowFieldsActionCreator {
|
|
|
1842
1893
|
!response.parameters.checkout &&
|
|
1843
1894
|
!response.parameters?.form?.qr));
|
|
1844
1895
|
}
|
|
1845
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1846
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1896
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowFieldsActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1897
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowFieldsActionCreator }); }
|
|
1847
1898
|
}
|
|
1848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowFieldsActionCreator, decorators: [{
|
|
1849
1900
|
type: Injectable
|
|
1850
1901
|
}] });
|
|
1851
1902
|
|
|
@@ -1862,10 +1913,10 @@ class CheckStatusActionCreator {
|
|
|
1862
1913
|
isSuitable(response) {
|
|
1863
1914
|
return response.currentCommand === XpsCommand.status;
|
|
1864
1915
|
}
|
|
1865
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1866
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1916
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckStatusActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1917
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckStatusActionCreator }); }
|
|
1867
1918
|
}
|
|
1868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckStatusActionCreator, decorators: [{
|
|
1869
1920
|
type: Injectable
|
|
1870
1921
|
}] });
|
|
1871
1922
|
|
|
@@ -1882,10 +1933,10 @@ class ShowErrorsActionCreator {
|
|
|
1882
1933
|
isSuitable(response) {
|
|
1883
1934
|
return Boolean(response.errors?.length);
|
|
1884
1935
|
}
|
|
1885
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1886
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
1936
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowErrorsActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1937
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowErrorsActionCreator }); }
|
|
1887
1938
|
}
|
|
1888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowErrorsActionCreator, decorators: [{
|
|
1889
1940
|
type: Injectable
|
|
1890
1941
|
}] });
|
|
1891
1942
|
|
|
@@ -2039,10 +2090,10 @@ class StatusUpdatedActionCreator {
|
|
|
2039
2090
|
isSuitable() {
|
|
2040
2091
|
return false;
|
|
2041
2092
|
}
|
|
2042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2043
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusUpdatedActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2094
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusUpdatedActionCreator }); }
|
|
2044
2095
|
}
|
|
2045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusUpdatedActionCreator, decorators: [{
|
|
2046
2097
|
type: Injectable
|
|
2047
2098
|
}] });
|
|
2048
2099
|
|
|
@@ -2073,10 +2124,10 @@ class ThreeDsActionCreator {
|
|
|
2073
2124
|
},
|
|
2074
2125
|
};
|
|
2075
2126
|
}
|
|
2076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2077
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsActionCreator, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsActionCreator }); }
|
|
2078
2129
|
}
|
|
2079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsActionCreator, decorators: [{
|
|
2080
2131
|
type: Injectable
|
|
2081
2132
|
}], ctorParameters: () => [{ type: SettingsService }] });
|
|
2082
2133
|
|
|
@@ -2110,10 +2161,10 @@ class SpecialButtonActionCreator {
|
|
|
2110
2161
|
}
|
|
2111
2162
|
return buttonName;
|
|
2112
2163
|
}
|
|
2113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2114
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SpecialButtonActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2165
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SpecialButtonActionCreator }); }
|
|
2115
2166
|
}
|
|
2116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SpecialButtonActionCreator, decorators: [{
|
|
2117
2168
|
type: Injectable
|
|
2118
2169
|
}] });
|
|
2119
2170
|
|
|
@@ -2135,10 +2186,10 @@ class ShowQrCodeActionCreator {
|
|
|
2135
2186
|
isSuitable(response) {
|
|
2136
2187
|
return Boolean(response.parameters?.form?.qr);
|
|
2137
2188
|
}
|
|
2138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2139
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowQrCodeActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2190
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowQrCodeActionCreator }); }
|
|
2140
2191
|
}
|
|
2141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowQrCodeActionCreator, decorators: [{
|
|
2142
2193
|
type: Injectable
|
|
2143
2194
|
}] });
|
|
2144
2195
|
|
|
@@ -2170,10 +2221,10 @@ class ShowMobilePaymentScreenActionCreator {
|
|
|
2170
2221
|
return (response.currentCommand === XpsCommand.create &&
|
|
2171
2222
|
this.pids.includes(response.pid));
|
|
2172
2223
|
}
|
|
2173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2174
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowMobilePaymentScreenActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2225
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowMobilePaymentScreenActionCreator }); }
|
|
2175
2226
|
}
|
|
2176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowMobilePaymentScreenActionCreator, decorators: [{
|
|
2177
2228
|
type: Injectable
|
|
2178
2229
|
}] });
|
|
2179
2230
|
|
|
@@ -2204,10 +2255,10 @@ class ShowXsollaNumberActionCreator {
|
|
|
2204
2255
|
isRedirectPaymentMethod(submitResponse) {
|
|
2205
2256
|
return submitResponse.parameters.isCheckout ?? false;
|
|
2206
2257
|
}
|
|
2207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2208
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowXsollaNumberActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2259
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowXsollaNumberActionCreator }); }
|
|
2209
2260
|
}
|
|
2210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowXsollaNumberActionCreator, decorators: [{
|
|
2211
2262
|
type: Injectable
|
|
2212
2263
|
}] });
|
|
2213
2264
|
|
|
@@ -2224,10 +2275,10 @@ class ShowCashPaymentInstructionActionCreator {
|
|
|
2224
2275
|
isSuitable(response) {
|
|
2225
2276
|
return (response.fields || []).some((field) => field.name === 'payment_instruction');
|
|
2226
2277
|
}
|
|
2227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2228
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowCashPaymentInstructionActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2279
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowCashPaymentInstructionActionCreator }); }
|
|
2229
2280
|
}
|
|
2230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ShowCashPaymentInstructionActionCreator, decorators: [{
|
|
2231
2282
|
type: Injectable
|
|
2232
2283
|
}] });
|
|
2233
2284
|
|
|
@@ -2240,10 +2291,10 @@ class GoogleThreeDsRedirectActionCreator extends RedirectActionCreator {
|
|
|
2240
2291
|
getRedirectUrl(submitResponse) {
|
|
2241
2292
|
return (String(submitResponse.parameters.form?.googlePay3DSRedirect?.value) ?? '');
|
|
2242
2293
|
}
|
|
2243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2244
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GoogleThreeDsRedirectActionCreator, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2295
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GoogleThreeDsRedirectActionCreator }); }
|
|
2245
2296
|
}
|
|
2246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GoogleThreeDsRedirectActionCreator, decorators: [{
|
|
2247
2298
|
type: Injectable
|
|
2248
2299
|
}] });
|
|
2249
2300
|
|
|
@@ -2272,10 +2323,30 @@ class ThreeDsRedirectActionCreator {
|
|
|
2272
2323
|
isSuitable() {
|
|
2273
2324
|
return false;
|
|
2274
2325
|
}
|
|
2275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2276
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsRedirectActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsRedirectActionCreator }); }
|
|
2328
|
+
}
|
|
2329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsRedirectActionCreator, decorators: [{
|
|
2330
|
+
type: Injectable
|
|
2331
|
+
}] });
|
|
2332
|
+
|
|
2333
|
+
class ServerErrorActionCreator {
|
|
2334
|
+
constructor() {
|
|
2335
|
+
this.type = 'server_error';
|
|
2336
|
+
}
|
|
2337
|
+
getActionData(data) {
|
|
2338
|
+
return {
|
|
2339
|
+
type: this.type,
|
|
2340
|
+
data,
|
|
2341
|
+
};
|
|
2342
|
+
}
|
|
2343
|
+
isSuitable() {
|
|
2344
|
+
return false;
|
|
2345
|
+
}
|
|
2346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ServerErrorActionCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ServerErrorActionCreator }); }
|
|
2277
2348
|
}
|
|
2278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ServerErrorActionCreator, decorators: [{
|
|
2279
2350
|
type: Injectable
|
|
2280
2351
|
}] });
|
|
2281
2352
|
|
|
@@ -2296,6 +2367,7 @@ const flowUpdateNextActions = [
|
|
|
2296
2367
|
StatusUpdatedActionCreator,
|
|
2297
2368
|
ThreeDsActionCreator,
|
|
2298
2369
|
ThreeDsRedirectActionCreator,
|
|
2370
|
+
ServerErrorActionCreator,
|
|
2299
2371
|
];
|
|
2300
2372
|
|
|
2301
2373
|
const oneTimeAnalyticsEvents = new Set([]);
|
|
@@ -2396,9 +2468,7 @@ class EventBuilderService {
|
|
|
2396
2468
|
}
|
|
2397
2469
|
return hourOffset > nullHour ? `+${hourOffset}` : hourOffset.toString();
|
|
2398
2470
|
}
|
|
2399
|
-
convertToEventParameterType(value, type
|
|
2400
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2401
|
-
) {
|
|
2471
|
+
convertToEventParameterType(value, type) {
|
|
2402
2472
|
if (value === null || value === undefined) {
|
|
2403
2473
|
return null;
|
|
2404
2474
|
}
|
|
@@ -2435,10 +2505,10 @@ class EventBuilderService {
|
|
|
2435
2505
|
return (this.settingsService.unsafeUtilsResponse?.settings?.payment_system ??
|
|
2436
2506
|
instanceId);
|
|
2437
2507
|
}
|
|
2438
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2439
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EventBuilderService, deps: [{ token: SettingsService }, { token: UserAgentService }, { token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2509
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EventBuilderService, providedIn: 'root' }); }
|
|
2440
2510
|
}
|
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EventBuilderService, decorators: [{
|
|
2442
2512
|
type: Injectable,
|
|
2443
2513
|
args: [{
|
|
2444
2514
|
providedIn: 'root',
|
|
@@ -2586,10 +2656,10 @@ class UserBehaviourAnalyticsService {
|
|
|
2586
2656
|
resetPid() {
|
|
2587
2657
|
this.userSessionOptions.instanceId = null;
|
|
2588
2658
|
}
|
|
2589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2590
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2659
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserBehaviourAnalyticsService, deps: [{ token: i1.HttpClient }, { token: EventBuilderService }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2660
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserBehaviourAnalyticsService, providedIn: 'root' }); }
|
|
2591
2661
|
}
|
|
2592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserBehaviourAnalyticsService, decorators: [{
|
|
2593
2663
|
type: Injectable,
|
|
2594
2664
|
args: [{
|
|
2595
2665
|
providedIn: 'root',
|
|
@@ -2651,10 +2721,10 @@ class NextActionService {
|
|
|
2651
2721
|
logNextAction(nextAction) {
|
|
2652
2722
|
this.userBehaviourAnalyticsService.send(UserBehaviourEventName.nextAction, 'manual', { value: nextAction.type });
|
|
2653
2723
|
}
|
|
2654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2655
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NextActionService, deps: [{ token: nextActionsToken }, { token: i0.Injector }, { token: ShowErrorsActionCreator }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2725
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NextActionService, providedIn: 'root' }); }
|
|
2656
2726
|
}
|
|
2657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NextActionService, decorators: [{
|
|
2658
2728
|
type: Injectable,
|
|
2659
2729
|
args: [{
|
|
2660
2730
|
providedIn: 'root',
|
|
@@ -2687,10 +2757,10 @@ class UnescapeHtmlPipe {
|
|
|
2687
2757
|
}
|
|
2688
2758
|
return html;
|
|
2689
2759
|
}
|
|
2690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2691
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
2760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UnescapeHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2761
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: UnescapeHtmlPipe, name: "unescapeHtml" }); }
|
|
2692
2762
|
}
|
|
2693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UnescapeHtmlPipe, decorators: [{
|
|
2694
2764
|
type: Pipe,
|
|
2695
2765
|
args: [{
|
|
2696
2766
|
name: 'unescapeHtml',
|
|
@@ -2737,10 +2807,10 @@ class XpsResponseErrorsMappingService {
|
|
|
2737
2807
|
};
|
|
2738
2808
|
});
|
|
2739
2809
|
}
|
|
2740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2741
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2810
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XpsResponseErrorsMappingService, deps: [{ token: UnescapeHtmlPipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2811
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XpsResponseErrorsMappingService, providedIn: 'root' }); }
|
|
2742
2812
|
}
|
|
2743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XpsResponseErrorsMappingService, decorators: [{
|
|
2744
2814
|
type: Injectable,
|
|
2745
2815
|
args: [{ providedIn: 'root' }]
|
|
2746
2816
|
}], ctorParameters: () => [{ type: UnescapeHtmlPipe }] });
|
|
@@ -3041,10 +3111,10 @@ class CreditCardService {
|
|
|
3041
3111
|
}
|
|
3042
3112
|
return creditCard;
|
|
3043
3113
|
}
|
|
3044
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3045
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardService, providedIn: 'root' }); }
|
|
3046
3116
|
}
|
|
3047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardService, decorators: [{
|
|
3048
3118
|
type: Injectable,
|
|
3049
3119
|
args: [{
|
|
3050
3120
|
providedIn: 'root',
|
|
@@ -3111,10 +3181,10 @@ class EncryptCreditCardService {
|
|
|
3111
3181
|
card_month: request.xps_card_month,
|
|
3112
3182
|
};
|
|
3113
3183
|
}
|
|
3114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3115
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EncryptCreditCardService, deps: [{ token: CreditCardService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3185
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EncryptCreditCardService, providedIn: 'root' }); }
|
|
3116
3186
|
}
|
|
3117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EncryptCreditCardService, decorators: [{
|
|
3118
3188
|
type: Injectable,
|
|
3119
3189
|
args: [{ providedIn: 'root' }]
|
|
3120
3190
|
}], ctorParameters: () => [{ type: CreditCardService }] });
|
|
@@ -3150,10 +3220,10 @@ class PaymentSettingsService {
|
|
|
3150
3220
|
? "COF" /* TransactionInitiationType.COF */
|
|
3151
3221
|
: "OT" /* TransactionInitiationType.OT */;
|
|
3152
3222
|
}
|
|
3153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3154
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3223
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3224
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentSettingsService, providedIn: 'root' }); }
|
|
3155
3225
|
}
|
|
3156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentSettingsService, decorators: [{
|
|
3157
3227
|
type: Injectable,
|
|
3158
3228
|
args: [{
|
|
3159
3229
|
providedIn: 'root',
|
|
@@ -3206,10 +3276,10 @@ class SessionService {
|
|
|
3206
3276
|
getStorageKey(key) {
|
|
3207
3277
|
return `${key}${this.settingsService.token}`;
|
|
3208
3278
|
}
|
|
3209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3210
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionService, deps: [{ token: windowToken }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3280
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionService, providedIn: 'root' }); }
|
|
3211
3281
|
}
|
|
3212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionService, decorators: [{
|
|
3213
3283
|
type: Injectable,
|
|
3214
3284
|
args: [{
|
|
3215
3285
|
providedIn: 'root',
|
|
@@ -3220,7 +3290,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
3220
3290
|
}] }, { type: SettingsService }] });
|
|
3221
3291
|
|
|
3222
3292
|
class InitializeService {
|
|
3223
|
-
constructor(responseFactory, xpsApiService, settingsService, countryService, nextActionService, xpsResponseErrorsMappingService, encryptCreditCardService, showErrorsActionCreator, userBehaviourAnalyticsService, paymentSettingsService, sessionService) {
|
|
3293
|
+
constructor(responseFactory, xpsApiService, settingsService, countryService, nextActionService, xpsResponseErrorsMappingService, encryptCreditCardService, showErrorsActionCreator, userBehaviourAnalyticsService, paymentSettingsService, sessionService, serverErrorActionCreator) {
|
|
3224
3294
|
this.responseFactory = responseFactory;
|
|
3225
3295
|
this.xpsApiService = xpsApiService;
|
|
3226
3296
|
this.settingsService = settingsService;
|
|
@@ -3232,6 +3302,7 @@ class InitializeService {
|
|
|
3232
3302
|
this.userBehaviourAnalyticsService = userBehaviourAnalyticsService;
|
|
3233
3303
|
this.paymentSettingsService = paymentSettingsService;
|
|
3234
3304
|
this.sessionService = sessionService;
|
|
3305
|
+
this.serverErrorActionCreator = serverErrorActionCreator;
|
|
3235
3306
|
}
|
|
3236
3307
|
async request(config) {
|
|
3237
3308
|
const paymentSettingsParams = this.paymentSettingsService.getPaymentSettingsParams(config);
|
|
@@ -3273,6 +3344,13 @@ class InitializeService {
|
|
|
3273
3344
|
return initializeResponse;
|
|
3274
3345
|
})
|
|
3275
3346
|
.catch((error) => {
|
|
3347
|
+
if (error instanceof HttpError) {
|
|
3348
|
+
const httpErrorData = error.getHttpErrorData();
|
|
3349
|
+
this.nextActionService.emitFlowUpdates(this.serverErrorActionCreator.getActionData({
|
|
3350
|
+
status: httpErrorData.response.status,
|
|
3351
|
+
message: error.message,
|
|
3352
|
+
}));
|
|
3353
|
+
}
|
|
3276
3354
|
throw new ResponseError(error.message);
|
|
3277
3355
|
});
|
|
3278
3356
|
}
|
|
@@ -3283,10 +3361,10 @@ class InitializeService {
|
|
|
3283
3361
|
}
|
|
3284
3362
|
this.encryptCreditCardService.setPublicKey(atob(publicKeyField.value));
|
|
3285
3363
|
}
|
|
3286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeService, deps: [{ token: initializeResponseFactoryToken }, { token: XpsApiService }, { token: SettingsService }, { token: CountryService }, { token: NextActionService }, { token: XpsResponseErrorsMappingService }, { token: EncryptCreditCardService }, { token: ShowErrorsActionCreator }, { token: UserBehaviourAnalyticsService }, { token: PaymentSettingsService }, { token: SessionService }, { token: ServerErrorActionCreator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3365
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeService, providedIn: 'root' }); }
|
|
3288
3366
|
}
|
|
3289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeService, decorators: [{
|
|
3290
3368
|
type: Injectable,
|
|
3291
3369
|
args: [{
|
|
3292
3370
|
providedIn: 'root',
|
|
@@ -3294,7 +3372,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
3294
3372
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3295
3373
|
type: Inject,
|
|
3296
3374
|
args: [initializeResponseFactoryToken]
|
|
3297
|
-
}] }, { type: XpsApiService }, { type: SettingsService }, { type: CountryService }, { type: NextActionService }, { type: XpsResponseErrorsMappingService }, { type: EncryptCreditCardService }, { type: ShowErrorsActionCreator }, { type: UserBehaviourAnalyticsService }, { type: PaymentSettingsService }, { type: SessionService }] });
|
|
3375
|
+
}] }, { type: XpsApiService }, { type: SettingsService }, { type: CountryService }, { type: NextActionService }, { type: XpsResponseErrorsMappingService }, { type: EncryptCreditCardService }, { type: ShowErrorsActionCreator }, { type: UserBehaviourAnalyticsService }, { type: PaymentSettingsService }, { type: SessionService }, { type: ServerErrorActionCreator }] });
|
|
3298
3376
|
|
|
3299
3377
|
class XpsApiPartRequest {
|
|
3300
3378
|
addXpsParameters(parameters) {
|
|
@@ -3395,8 +3473,7 @@ class DeviceFingerPrintService {
|
|
|
3395
3473
|
if (!this.settingsService.token) {
|
|
3396
3474
|
return null;
|
|
3397
3475
|
}
|
|
3398
|
-
const antifraudFingerprint = await this
|
|
3399
|
-
.antifraudFingerprintLibrary;
|
|
3476
|
+
const antifraudFingerprint = await this.antifraudFingerprintLibrary;
|
|
3400
3477
|
try {
|
|
3401
3478
|
return new antifraudFingerprint({
|
|
3402
3479
|
api: {
|
|
@@ -3414,10 +3491,10 @@ class DeviceFingerPrintService {
|
|
|
3414
3491
|
return null;
|
|
3415
3492
|
}
|
|
3416
3493
|
}
|
|
3417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3418
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeviceFingerPrintService, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3495
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeviceFingerPrintService, providedIn: 'root' }); }
|
|
3419
3496
|
}
|
|
3420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeviceFingerPrintService, decorators: [{
|
|
3421
3498
|
type: Injectable,
|
|
3422
3499
|
args: [{
|
|
3423
3500
|
providedIn: 'root',
|
|
@@ -3425,7 +3502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
3425
3502
|
}], ctorParameters: () => [{ type: SettingsService }] });
|
|
3426
3503
|
|
|
3427
3504
|
class SubmitService {
|
|
3428
|
-
constructor(requestFactory, responseFactory, settingsService, deviceFingerPrintService, xpsApiService, xpsResponseErrorsMappingService, encryptCreditCardService, userBehaviourAnalyticsService, paymentSettingsService) {
|
|
3505
|
+
constructor(requestFactory, responseFactory, settingsService, deviceFingerPrintService, xpsApiService, xpsResponseErrorsMappingService, encryptCreditCardService, userBehaviourAnalyticsService, paymentSettingsService, nextActionService, serverErrorActionCreator) {
|
|
3429
3506
|
this.requestFactory = requestFactory;
|
|
3430
3507
|
this.responseFactory = responseFactory;
|
|
3431
3508
|
this.settingsService = settingsService;
|
|
@@ -3435,6 +3512,8 @@ class SubmitService {
|
|
|
3435
3512
|
this.encryptCreditCardService = encryptCreditCardService;
|
|
3436
3513
|
this.userBehaviourAnalyticsService = userBehaviourAnalyticsService;
|
|
3437
3514
|
this.paymentSettingsService = paymentSettingsService;
|
|
3515
|
+
this.nextActionService = nextActionService;
|
|
3516
|
+
this.serverErrorActionCreator = serverErrorActionCreator;
|
|
3438
3517
|
}
|
|
3439
3518
|
// NB: Never add 'async' statement for this method!
|
|
3440
3519
|
// 'Async' statement wraps current promise into another.
|
|
@@ -3469,6 +3548,13 @@ class SubmitService {
|
|
|
3469
3548
|
return this.responseFactory(response);
|
|
3470
3549
|
})
|
|
3471
3550
|
.catch((error) => {
|
|
3551
|
+
if (error instanceof HttpError) {
|
|
3552
|
+
const httpErrorData = error.getHttpErrorData();
|
|
3553
|
+
this.nextActionService.emitFlowUpdates(this.serverErrorActionCreator.getActionData({
|
|
3554
|
+
status: httpErrorData.response.status,
|
|
3555
|
+
message: error.message,
|
|
3556
|
+
}));
|
|
3557
|
+
}
|
|
3472
3558
|
throw new ResponseError(error.message);
|
|
3473
3559
|
});
|
|
3474
3560
|
}));
|
|
@@ -3479,10 +3565,10 @@ class SubmitService {
|
|
|
3479
3565
|
fields: Object.keys(xpsResponse.form).map((key) => xpsResponse.form[key]),
|
|
3480
3566
|
});
|
|
3481
3567
|
}
|
|
3482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3483
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubmitService, deps: [{ token: submitRequestFactoryToken }, { token: submitResponseFactoryToken }, { token: SettingsService }, { token: DeviceFingerPrintService }, { token: XpsApiService }, { token: XpsResponseErrorsMappingService }, { token: EncryptCreditCardService }, { token: UserBehaviourAnalyticsService }, { token: PaymentSettingsService }, { token: NextActionService }, { token: ServerErrorActionCreator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3569
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubmitService, providedIn: 'root' }); }
|
|
3484
3570
|
}
|
|
3485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SubmitService, decorators: [{
|
|
3486
3572
|
type: Injectable,
|
|
3487
3573
|
args: [{ providedIn: 'root' }]
|
|
3488
3574
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3491,7 +3577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
3491
3577
|
}] }, { type: undefined, decorators: [{
|
|
3492
3578
|
type: Inject,
|
|
3493
3579
|
args: [submitResponseFactoryToken]
|
|
3494
|
-
}] }, { type: SettingsService }, { type: DeviceFingerPrintService }, { type: XpsApiService }, { type: XpsResponseErrorsMappingService }, { type: EncryptCreditCardService }, { type: UserBehaviourAnalyticsService }, { type: PaymentSettingsService }] });
|
|
3580
|
+
}] }, { type: SettingsService }, { type: DeviceFingerPrintService }, { type: XpsApiService }, { type: XpsResponseErrorsMappingService }, { type: EncryptCreditCardService }, { type: UserBehaviourAnalyticsService }, { type: PaymentSettingsService }, { type: NextActionService }, { type: ServerErrorActionCreator }] });
|
|
3495
3581
|
|
|
3496
3582
|
class EmitDataService {
|
|
3497
3583
|
constructor() {
|
|
@@ -3566,7 +3652,7 @@ const syncResponseFactoryProvider = {
|
|
|
3566
3652
|
};
|
|
3567
3653
|
|
|
3568
3654
|
class SyncService extends EmitDataService {
|
|
3569
|
-
constructor(requestFactory, responseFactory, xpsApiService, nextActionService, settingsService, xpsResponseErrorsMappingService, encryptCreditCardService, showErrorsActionCreator, userBehaviourAnalyticsService, paymentSettingsService, sessionService) {
|
|
3655
|
+
constructor(requestFactory, responseFactory, xpsApiService, nextActionService, settingsService, xpsResponseErrorsMappingService, encryptCreditCardService, showErrorsActionCreator, userBehaviourAnalyticsService, paymentSettingsService, sessionService, serverErrorActionCreator) {
|
|
3570
3656
|
super();
|
|
3571
3657
|
this.requestFactory = requestFactory;
|
|
3572
3658
|
this.responseFactory = responseFactory;
|
|
@@ -3579,6 +3665,7 @@ class SyncService extends EmitDataService {
|
|
|
3579
3665
|
this.userBehaviourAnalyticsService = userBehaviourAnalyticsService;
|
|
3580
3666
|
this.paymentSettingsService = paymentSettingsService;
|
|
3581
3667
|
this.sessionService = sessionService;
|
|
3668
|
+
this.serverErrorActionCreator = serverErrorActionCreator;
|
|
3582
3669
|
this.prevFieldSyncStates = {};
|
|
3583
3670
|
this.form = new UntypedFormGroup({});
|
|
3584
3671
|
this.paymentConfiguration = null;
|
|
@@ -3687,6 +3774,16 @@ class SyncService extends EmitDataService {
|
|
|
3687
3774
|
this.emitFormErrors(response);
|
|
3688
3775
|
this.emit(response);
|
|
3689
3776
|
return this.responseFactory(field, response);
|
|
3777
|
+
})
|
|
3778
|
+
.catch((error) => {
|
|
3779
|
+
if (error instanceof HttpError) {
|
|
3780
|
+
const httpErrorData = error.getHttpErrorData();
|
|
3781
|
+
this.nextActionService.emitFlowUpdates(this.serverErrorActionCreator.getActionData({
|
|
3782
|
+
status: httpErrorData.response.status,
|
|
3783
|
+
message: error.message,
|
|
3784
|
+
}));
|
|
3785
|
+
}
|
|
3786
|
+
throw error;
|
|
3690
3787
|
});
|
|
3691
3788
|
}
|
|
3692
3789
|
isReadyField(field) {
|
|
@@ -3719,10 +3816,10 @@ class SyncService extends EmitDataService {
|
|
|
3719
3816
|
}
|
|
3720
3817
|
this.fieldSyncTimers[field.name] = timerId;
|
|
3721
3818
|
}
|
|
3722
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3723
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SyncService, deps: [{ token: syncRequestFactoryToken }, { token: syncResponseFactoryToken }, { token: XpsApiService }, { token: NextActionService }, { token: SettingsService }, { token: XpsResponseErrorsMappingService }, { token: EncryptCreditCardService }, { token: ShowErrorsActionCreator }, { token: UserBehaviourAnalyticsService }, { token: PaymentSettingsService }, { token: SessionService }, { token: ServerErrorActionCreator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3820
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SyncService, providedIn: 'root' }); }
|
|
3724
3821
|
}
|
|
3725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SyncService, decorators: [{
|
|
3726
3823
|
type: Injectable,
|
|
3727
3824
|
args: [{
|
|
3728
3825
|
providedIn: 'root',
|
|
@@ -3733,7 +3830,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
3733
3830
|
}] }, { type: undefined, decorators: [{
|
|
3734
3831
|
type: Inject,
|
|
3735
3832
|
args: [syncResponseFactoryToken]
|
|
3736
|
-
}] }, { type: XpsApiService }, { type: NextActionService }, { type: SettingsService }, { type: XpsResponseErrorsMappingService }, { type: EncryptCreditCardService }, { type: ShowErrorsActionCreator }, { type: UserBehaviourAnalyticsService }, { type: PaymentSettingsService }, { type: SessionService }] });
|
|
3833
|
+
}] }, { type: XpsApiService }, { type: NextActionService }, { type: SettingsService }, { type: XpsResponseErrorsMappingService }, { type: EncryptCreditCardService }, { type: ShowErrorsActionCreator }, { type: UserBehaviourAnalyticsService }, { type: PaymentSettingsService }, { type: SessionService }, { type: ServerErrorActionCreator }] });
|
|
3737
3834
|
|
|
3738
3835
|
function isObject(value) {
|
|
3739
3836
|
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
@@ -3873,10 +3970,10 @@ class EmailConverter extends Converter {
|
|
|
3873
3970
|
getDataType() {
|
|
3874
3971
|
return 'email';
|
|
3875
3972
|
}
|
|
3876
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3877
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3973
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmailConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3974
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmailConverter }); }
|
|
3878
3975
|
}
|
|
3879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmailConverter, decorators: [{
|
|
3880
3977
|
type: Injectable
|
|
3881
3978
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
3882
3979
|
|
|
@@ -3962,10 +4059,10 @@ class ZipConverter extends Converter {
|
|
|
3962
4059
|
getDataType() {
|
|
3963
4060
|
return 'text';
|
|
3964
4061
|
}
|
|
3965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3966
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4062
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ZipConverter, deps: [{ token: SyncService }, { token: CountryService }, { token: SessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4063
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ZipConverter }); }
|
|
3967
4064
|
}
|
|
3968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ZipConverter, decorators: [{
|
|
3969
4066
|
type: Injectable
|
|
3970
4067
|
}], ctorParameters: () => [{ type: SyncService }, { type: CountryService }, { type: SessionService }] });
|
|
3971
4068
|
|
|
@@ -4047,10 +4144,10 @@ class CreditCardMaxLengthValidator {
|
|
|
4047
4144
|
};
|
|
4048
4145
|
};
|
|
4049
4146
|
}
|
|
4050
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4051
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardMaxLengthValidator, deps: [{ token: CreditCardService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4148
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardMaxLengthValidator }); }
|
|
4052
4149
|
}
|
|
4053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardMaxLengthValidator, decorators: [{
|
|
4054
4151
|
type: Injectable
|
|
4055
4152
|
}], ctorParameters: () => [{ type: CreditCardService }] });
|
|
4056
4153
|
|
|
@@ -4077,10 +4174,10 @@ class CreditCardMinLengthValidator {
|
|
|
4077
4174
|
};
|
|
4078
4175
|
};
|
|
4079
4176
|
}
|
|
4080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4081
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardMinLengthValidator, deps: [{ token: CreditCardService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4178
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardMinLengthValidator }); }
|
|
4082
4179
|
}
|
|
4083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardMinLengthValidator, decorators: [{
|
|
4084
4181
|
type: Injectable
|
|
4085
4182
|
}], ctorParameters: () => [{ type: CreditCardService }] });
|
|
4086
4183
|
|
|
@@ -4115,10 +4212,10 @@ class CardNumberConverter extends Converter {
|
|
|
4115
4212
|
getDataType() {
|
|
4116
4213
|
return 'text';
|
|
4117
4214
|
}
|
|
4118
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4119
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardNumberConverter, deps: [{ token: SyncService }, { token: CreditCardMaxLengthValidator }, { token: CreditCardMinLengthValidator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardNumberConverter }); }
|
|
4120
4217
|
}
|
|
4121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardNumberConverter, decorators: [{
|
|
4122
4219
|
type: Injectable
|
|
4123
4220
|
}], ctorParameters: () => [{ type: SyncService }, { type: CreditCardMaxLengthValidator }, { type: CreditCardMinLengthValidator }] });
|
|
4124
4221
|
|
|
@@ -4191,10 +4288,10 @@ class CardMonthConverter extends Converter {
|
|
|
4191
4288
|
getDataType() {
|
|
4192
4289
|
return 'text';
|
|
4193
4290
|
}
|
|
4194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4195
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardMonthConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4292
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardMonthConverter }); }
|
|
4196
4293
|
}
|
|
4197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardMonthConverter, decorators: [{
|
|
4198
4295
|
type: Injectable
|
|
4199
4296
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4200
4297
|
|
|
@@ -4255,10 +4352,10 @@ class CvvConverter extends Converter {
|
|
|
4255
4352
|
shouldHideUserInput() {
|
|
4256
4353
|
return true;
|
|
4257
4354
|
}
|
|
4258
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4259
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CvvConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CvvConverter }); }
|
|
4260
4357
|
}
|
|
4261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CvvConverter, decorators: [{
|
|
4262
4359
|
type: Injectable
|
|
4263
4360
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4264
4361
|
|
|
@@ -4322,10 +4419,10 @@ class BirthDateConverter extends Converter {
|
|
|
4322
4419
|
config.inputMode = 'numeric';
|
|
4323
4420
|
return config;
|
|
4324
4421
|
}
|
|
4325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BirthDateConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4423
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BirthDateConverter }); }
|
|
4327
4424
|
}
|
|
4328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BirthDateConverter, decorators: [{
|
|
4329
4426
|
type: Injectable
|
|
4330
4427
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4331
4428
|
|
|
@@ -4342,10 +4439,10 @@ class CardholderNameConverter extends Converter {
|
|
|
4342
4439
|
getDataType() {
|
|
4343
4440
|
return 'text';
|
|
4344
4441
|
}
|
|
4345
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4346
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4442
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardholderNameConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4443
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardholderNameConverter }); }
|
|
4347
4444
|
}
|
|
4348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardholderNameConverter, decorators: [{
|
|
4349
4446
|
type: Injectable
|
|
4350
4447
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4351
4448
|
|
|
@@ -4370,10 +4467,10 @@ class CpfNameConverter extends Converter {
|
|
|
4370
4467
|
};
|
|
4371
4468
|
return config;
|
|
4372
4469
|
}
|
|
4373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4374
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4470
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CpfNameConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4471
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CpfNameConverter }); }
|
|
4375
4472
|
}
|
|
4376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CpfNameConverter, decorators: [{
|
|
4377
4474
|
type: Injectable
|
|
4378
4475
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4379
4476
|
|
|
@@ -4451,10 +4548,10 @@ class CpfNumberConverter extends Converter {
|
|
|
4451
4548
|
};
|
|
4452
4549
|
return config;
|
|
4453
4550
|
}
|
|
4454
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4455
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CpfNumberConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4552
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CpfNumberConverter }); }
|
|
4456
4553
|
}
|
|
4457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CpfNumberConverter, decorators: [{
|
|
4458
4555
|
type: Injectable
|
|
4459
4556
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4460
4557
|
|
|
@@ -4472,10 +4569,10 @@ class StreetNumberConverter extends Converter {
|
|
|
4472
4569
|
createControlConfig(field) {
|
|
4473
4570
|
return this.createDefaultControlConfig(TextControlConfig, field);
|
|
4474
4571
|
}
|
|
4475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4476
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4572
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StreetNumberConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4573
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StreetNumberConverter }); }
|
|
4477
4574
|
}
|
|
4478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StreetNumberConverter, decorators: [{
|
|
4479
4576
|
type: Injectable
|
|
4480
4577
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4481
4578
|
|
|
@@ -4486,10 +4583,10 @@ class TextConverter extends Converter {
|
|
|
4486
4583
|
createControlConfig(field) {
|
|
4487
4584
|
return this.createDefaultControlConfig(TextControlConfig, field);
|
|
4488
4585
|
}
|
|
4489
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4490
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4587
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextConverter }); }
|
|
4491
4588
|
}
|
|
4492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextConverter, decorators: [{
|
|
4493
4590
|
type: Injectable
|
|
4494
4591
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4495
4592
|
|
|
@@ -4520,10 +4617,10 @@ class CheckboxConverter extends Converter {
|
|
|
4520
4617
|
config.initValue = field.value;
|
|
4521
4618
|
return config;
|
|
4522
4619
|
}
|
|
4523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4621
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxConverter }); }
|
|
4525
4622
|
}
|
|
4526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxConverter, decorators: [{
|
|
4527
4624
|
type: Injectable
|
|
4528
4625
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4529
4626
|
|
|
@@ -4544,10 +4641,10 @@ class SelectConverter extends Converter {
|
|
|
4544
4641
|
config.initValue = field.value;
|
|
4545
4642
|
return config;
|
|
4546
4643
|
}
|
|
4547
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4548
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4644
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4645
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectConverter }); }
|
|
4549
4646
|
}
|
|
4550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectConverter, decorators: [{
|
|
4551
4648
|
type: Injectable
|
|
4552
4649
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4553
4650
|
|
|
@@ -4558,10 +4655,10 @@ class PinConverter extends Converter {
|
|
|
4558
4655
|
createControlConfig(field) {
|
|
4559
4656
|
return this.createDefaultControlConfig(TextControlConfig, field);
|
|
4560
4657
|
}
|
|
4561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4562
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PinConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4659
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PinConverter }); }
|
|
4563
4660
|
}
|
|
4564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PinConverter, decorators: [{
|
|
4565
4662
|
type: Injectable
|
|
4566
4663
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4567
4664
|
|
|
@@ -4582,10 +4679,10 @@ class RadioGroupConverter extends Converter {
|
|
|
4582
4679
|
config.options = field.options;
|
|
4583
4680
|
return config;
|
|
4584
4681
|
}
|
|
4585
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4586
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4682
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4683
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupConverter }); }
|
|
4587
4684
|
}
|
|
4588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupConverter, decorators: [{
|
|
4589
4686
|
type: Injectable
|
|
4590
4687
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4591
4688
|
|
|
@@ -4609,10 +4706,10 @@ class PricepointConverter extends Converter {
|
|
|
4609
4706
|
config.inputMode = 'numeric';
|
|
4610
4707
|
return config;
|
|
4611
4708
|
}
|
|
4612
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4613
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PricepointConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4710
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PricepointConverter }); }
|
|
4614
4711
|
}
|
|
4615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PricepointConverter, decorators: [{
|
|
4616
4713
|
type: Injectable
|
|
4617
4714
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4618
4715
|
|
|
@@ -4640,10 +4737,10 @@ class CouponConverter extends Converter {
|
|
|
4640
4737
|
config.placeholder = TranslateHelper.t('coupon.converter.placeholder', 'Enter promo code');
|
|
4641
4738
|
return config;
|
|
4642
4739
|
}
|
|
4643
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4644
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4740
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CouponConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4741
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CouponConverter }); }
|
|
4645
4742
|
}
|
|
4646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CouponConverter, decorators: [{
|
|
4647
4744
|
type: Injectable
|
|
4648
4745
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4649
4746
|
|
|
@@ -4713,10 +4810,10 @@ class CardYearConverter extends Converter {
|
|
|
4713
4810
|
getDataType() {
|
|
4714
4811
|
return 'text';
|
|
4715
4812
|
}
|
|
4716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4717
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4813
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardYearConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4814
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardYearConverter }); }
|
|
4718
4815
|
}
|
|
4719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardYearConverter, decorators: [{
|
|
4720
4817
|
type: Injectable
|
|
4721
4818
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4722
4819
|
|
|
@@ -4766,10 +4863,10 @@ class PhoneConverter extends Converter {
|
|
|
4766
4863
|
config.inputMode = 'numeric';
|
|
4767
4864
|
return config;
|
|
4768
4865
|
}
|
|
4769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4770
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4866
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4867
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneConverter }); }
|
|
4771
4868
|
}
|
|
4772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhoneConverter, decorators: [{
|
|
4773
4870
|
type: Injectable
|
|
4774
4871
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4775
4872
|
|
|
@@ -4870,10 +4967,10 @@ class CardExpirationConverter extends Converter {
|
|
|
4870
4967
|
getDataType() {
|
|
4871
4968
|
return 'text';
|
|
4872
4969
|
}
|
|
4873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4874
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
4970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardExpirationConverter, deps: [{ token: SyncService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4971
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardExpirationConverter }); }
|
|
4875
4972
|
}
|
|
4876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardExpirationConverter, decorators: [{
|
|
4877
4974
|
type: Injectable
|
|
4878
4975
|
}], ctorParameters: () => [{ type: SyncService }] });
|
|
4879
4976
|
|
|
@@ -4938,10 +5035,10 @@ class ControlConfigService {
|
|
|
4938
5035
|
}
|
|
4939
5036
|
return this.injector.get(converter);
|
|
4940
5037
|
}
|
|
4941
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4942
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5038
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlConfigService, deps: [{ token: convertersMapToken }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5039
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlConfigService }); }
|
|
4943
5040
|
}
|
|
4944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlConfigService, decorators: [{
|
|
4945
5042
|
type: Injectable
|
|
4946
5043
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
4947
5044
|
type: Inject,
|
|
@@ -5005,10 +5102,10 @@ class FormService {
|
|
|
5005
5102
|
logCreateForm(fields) {
|
|
5006
5103
|
this.userBehaviourAnalyticsService.send(UserBehaviourEventName.createForm, 'manual', { value: fields.map((field) => field.name) });
|
|
5007
5104
|
}
|
|
5008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5009
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormService, deps: [{ token: ControlConfigService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5106
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormService }); }
|
|
5010
5107
|
}
|
|
5011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormService, decorators: [{
|
|
5012
5109
|
type: Injectable
|
|
5013
5110
|
}], ctorParameters: () => [{ type: ControlConfigService }, { type: UserBehaviourAnalyticsService }] });
|
|
5014
5111
|
|
|
@@ -5204,10 +5301,10 @@ class StatusRequestService extends XpsApiPart {
|
|
|
5204
5301
|
throw new TerminalError(e.message, e.code);
|
|
5205
5302
|
});
|
|
5206
5303
|
}
|
|
5207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5208
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusRequestService, deps: [{ token: SecureApiClient }, { token: SettingsService }, { token: statusRequestFactoryToken }, { token: statusResponseFactoryToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5305
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusRequestService, providedIn: 'root' }); }
|
|
5209
5306
|
}
|
|
5210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusRequestService, decorators: [{
|
|
5211
5308
|
type: Injectable,
|
|
5212
5309
|
args: [{
|
|
5213
5310
|
providedIn: 'root',
|
|
@@ -5516,10 +5613,10 @@ class SummaryFinanceDetailsAdapterService {
|
|
|
5516
5613
|
isDefaultImage(url) {
|
|
5517
5614
|
return defaultImagePatterns.some((regex) => regex.test(url));
|
|
5518
5615
|
}
|
|
5519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5520
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SummaryFinanceDetailsAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5617
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SummaryFinanceDetailsAdapterService, providedIn: 'root' }); }
|
|
5521
5618
|
}
|
|
5522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SummaryFinanceDetailsAdapterService, decorators: [{
|
|
5523
5620
|
type: Injectable,
|
|
5524
5621
|
args: [{ providedIn: 'root' }]
|
|
5525
5622
|
}] });
|
|
@@ -5824,10 +5921,10 @@ class StatusFinanceDetailsAdapterService {
|
|
|
5824
5921
|
}
|
|
5825
5922
|
return percentsMatchResult[0];
|
|
5826
5923
|
}
|
|
5827
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5828
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusFinanceDetailsAdapterService, deps: [{ token: SummaryFinanceDetailsAdapterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5925
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusFinanceDetailsAdapterService, providedIn: 'root' }); }
|
|
5829
5926
|
}
|
|
5830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusFinanceDetailsAdapterService, decorators: [{
|
|
5831
5928
|
type: Injectable,
|
|
5832
5929
|
args: [{ providedIn: 'root' }]
|
|
5833
5930
|
}], ctorParameters: () => [{ type: SummaryFinanceDetailsAdapterService }] });
|
|
@@ -5868,10 +5965,10 @@ class FinanceDetailsService extends EmitDataService {
|
|
|
5868
5965
|
value: financeDetails.finance ? 'success' : 'fail',
|
|
5869
5966
|
});
|
|
5870
5967
|
}
|
|
5871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5968
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FinanceDetailsService, deps: [{ token: SessionService }, { token: SummaryFinanceDetailsAdapterService }, { token: StatusFinanceDetailsAdapterService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5969
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FinanceDetailsService, providedIn: 'root' }); }
|
|
5873
5970
|
}
|
|
5874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FinanceDetailsService, decorators: [{
|
|
5875
5972
|
type: Injectable,
|
|
5876
5973
|
args: [{ providedIn: 'root' }]
|
|
5877
5974
|
}], ctorParameters: () => [{ type: SessionService }, { type: SummaryFinanceDetailsAdapterService }, { type: StatusFinanceDetailsAdapterService }, { type: UserBehaviourAnalyticsService }] });
|
|
@@ -5940,10 +6037,10 @@ class CheckStatusService extends XpsApiPart {
|
|
|
5940
6037
|
throw new ResponseError(error.message);
|
|
5941
6038
|
});
|
|
5942
6039
|
}
|
|
5943
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5944
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6040
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckStatusService, deps: [{ token: XpsApiService }, { token: SettingsService }, { token: XpsResponseErrorsMappingService }, { token: checkStatusRequestFactoryToken }, { token: checkStatusResponseFactoryToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6041
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckStatusService, providedIn: 'root' }); }
|
|
5945
6042
|
}
|
|
5946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckStatusService, decorators: [{
|
|
5947
6044
|
type: Injectable,
|
|
5948
6045
|
args: [{
|
|
5949
6046
|
providedIn: 'root',
|
|
@@ -6082,10 +6179,10 @@ class NchanWebSocketService {
|
|
|
6082
6179
|
}
|
|
6083
6180
|
this.successfulReconnectionEventsProxy$.next();
|
|
6084
6181
|
}
|
|
6085
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6086
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6182
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NchanWebSocketService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6183
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NchanWebSocketService, providedIn: 'root' }); }
|
|
6087
6184
|
}
|
|
6088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NchanWebSocketService, decorators: [{
|
|
6089
6186
|
type: Injectable,
|
|
6090
6187
|
args: [{
|
|
6091
6188
|
providedIn: 'root',
|
|
@@ -6289,10 +6386,10 @@ class CentrifugoWebSocketService {
|
|
|
6289
6386
|
}
|
|
6290
6387
|
return options;
|
|
6291
6388
|
}
|
|
6292
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6293
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CentrifugoWebSocketService, deps: [{ token: LoggerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6390
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CentrifugoWebSocketService, providedIn: 'root' }); }
|
|
6294
6391
|
}
|
|
6295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CentrifugoWebSocketService, decorators: [{
|
|
6296
6393
|
type: Injectable,
|
|
6297
6394
|
args: [{
|
|
6298
6395
|
providedIn: 'root',
|
|
@@ -6311,10 +6408,10 @@ class WebSocketFactory {
|
|
|
6311
6408
|
}
|
|
6312
6409
|
return this.nchanWebSocket;
|
|
6313
6410
|
}
|
|
6314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6315
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6411
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebSocketFactory, deps: [{ token: NchanWebSocketService }, { token: CentrifugoWebSocketService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6412
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebSocketFactory, providedIn: 'root' }); }
|
|
6316
6413
|
}
|
|
6317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebSocketFactory, decorators: [{
|
|
6318
6415
|
type: Injectable,
|
|
6319
6416
|
args: [{
|
|
6320
6417
|
providedIn: 'root',
|
|
@@ -6382,10 +6479,10 @@ class WebsocketStatusService {
|
|
|
6382
6479
|
this.webSocketSubscription?.unsubscribe();
|
|
6383
6480
|
this.webSocketReconnectionSubscription?.unsubscribe();
|
|
6384
6481
|
}
|
|
6385
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6386
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebsocketStatusService, deps: [{ token: WebSocketFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6483
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebsocketStatusService, providedIn: 'root' }); }
|
|
6387
6484
|
}
|
|
6388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebsocketStatusService, decorators: [{
|
|
6389
6486
|
type: Injectable,
|
|
6390
6487
|
args: [{
|
|
6391
6488
|
providedIn: 'root',
|
|
@@ -6503,10 +6600,10 @@ class ListenStatusService {
|
|
|
6503
6600
|
void this.websocketStatusService.checkStatusWithWebSocket(statusSettings.webSocketUrl, statusSettings.webSocketChannelName, statusSettings.webSocketClientType);
|
|
6504
6601
|
this.websocketOpenedSubject.next(statusSettings);
|
|
6505
6602
|
}
|
|
6506
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6507
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6603
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListenStatusService, deps: [{ token: StatusRequestService }, { token: CheckStatusService }, { token: WebsocketStatusService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6604
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListenStatusService, providedIn: 'root' }); }
|
|
6508
6605
|
}
|
|
6509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ListenStatusService, decorators: [{
|
|
6510
6607
|
type: Injectable,
|
|
6511
6608
|
args: [{
|
|
6512
6609
|
providedIn: 'root',
|
|
@@ -6558,10 +6655,10 @@ class SavedPaymentAccountChangesService {
|
|
|
6558
6655
|
throw new XpsResponseError(error.message);
|
|
6559
6656
|
});
|
|
6560
6657
|
}
|
|
6561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6562
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedPaymentAccountChangesService, deps: [{ token: SettingsService }, { token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6659
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedPaymentAccountChangesService, providedIn: 'root' }); }
|
|
6563
6660
|
}
|
|
6564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavedPaymentAccountChangesService, decorators: [{
|
|
6565
6662
|
type: Injectable,
|
|
6566
6663
|
args: [{
|
|
6567
6664
|
providedIn: 'root',
|
|
@@ -6667,10 +6764,10 @@ class SavePaymentMethodStatusService {
|
|
|
6667
6764
|
savePaymentMethodStatus: this.savePaymentMethodStatus,
|
|
6668
6765
|
}));
|
|
6669
6766
|
}
|
|
6670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6671
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6767
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavePaymentMethodStatusService, deps: [{ token: StatusRequestService }, { token: ListenStatusService }, { token: SavedPaymentAccountChangesService }, { token: NextActionService }, { token: CheckStatusService }, { token: StatusUpdatedActionCreator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6768
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavePaymentMethodStatusService, providedIn: 'root' }); }
|
|
6672
6769
|
}
|
|
6673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SavePaymentMethodStatusService, decorators: [{
|
|
6674
6771
|
type: Injectable,
|
|
6675
6772
|
args: [{
|
|
6676
6773
|
providedIn: 'root',
|
|
@@ -6730,10 +6827,10 @@ class StatusService {
|
|
|
6730
6827
|
this.nextActionService.emitFlowUpdates(this.statusUpdatedActionCreator.getActionData({ statusResponse }));
|
|
6731
6828
|
});
|
|
6732
6829
|
}
|
|
6733
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6734
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusService, deps: [{ token: UrlService }, { token: StatusRequestService }, { token: FinanceDetailsService }, { token: ListenStatusService }, { token: NextActionService }, { token: SavePaymentMethodStatusService }, { token: StatusUpdatedActionCreator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6831
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusService, providedIn: 'root' }); }
|
|
6735
6832
|
}
|
|
6736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusService, decorators: [{
|
|
6737
6834
|
type: Injectable,
|
|
6738
6835
|
args: [{
|
|
6739
6836
|
providedIn: 'root',
|
|
@@ -6741,10 +6838,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
6741
6838
|
}], ctorParameters: () => [{ type: UrlService }, { type: StatusRequestService }, { type: FinanceDetailsService }, { type: ListenStatusService }, { type: NextActionService }, { type: SavePaymentMethodStatusService }, { type: StatusUpdatedActionCreator }] });
|
|
6742
6839
|
|
|
6743
6840
|
class CreditCardStateService extends EmitDataService {
|
|
6744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6745
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardStateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6842
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardStateService, providedIn: 'root' }); }
|
|
6746
6843
|
}
|
|
6747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CreditCardStateService, decorators: [{
|
|
6748
6845
|
type: Injectable,
|
|
6749
6846
|
args: [{
|
|
6750
6847
|
providedIn: 'root',
|
|
@@ -6784,10 +6881,10 @@ class InitializeSpecialButtonActionCreator {
|
|
|
6784
6881
|
}
|
|
6785
6882
|
return buttonName;
|
|
6786
6883
|
}
|
|
6787
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6788
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeSpecialButtonActionCreator, deps: [{ token: LoggerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6885
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeSpecialButtonActionCreator }); }
|
|
6789
6886
|
}
|
|
6790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeSpecialButtonActionCreator, decorators: [{
|
|
6791
6888
|
type: Injectable
|
|
6792
6889
|
}], ctorParameters: () => [{ type: LoggerService }] });
|
|
6793
6890
|
|
|
@@ -6825,10 +6922,10 @@ class InitializeNextActionService {
|
|
|
6825
6922
|
logNextAction(nextAction) {
|
|
6826
6923
|
this.userBehaviourAnalyticsService.send(UserBehaviourEventName.initializeNextAction, 'manual', { value: nextAction.type });
|
|
6827
6924
|
}
|
|
6828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6829
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6925
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeNextActionService, deps: [{ token: initializeNextActionsToken }, { token: UserBehaviourAnalyticsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6926
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeNextActionService, providedIn: 'root' }); }
|
|
6830
6927
|
}
|
|
6831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitializeNextActionService, decorators: [{
|
|
6832
6929
|
type: Injectable,
|
|
6833
6930
|
args: [{
|
|
6834
6931
|
providedIn: 'root',
|
|
@@ -6912,10 +7009,10 @@ class StatusThreeDsService {
|
|
|
6912
7009
|
throw new XpsResponseError(error.message);
|
|
6913
7010
|
});
|
|
6914
7011
|
}
|
|
6915
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6916
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusThreeDsService, deps: [{ token: SecureApiClient }, { token: SettingsService }, { token: statusThreeDsRequestFactoryToken }, { token: statusThreeDsResponseFactoryToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7013
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusThreeDsService, providedIn: 'root' }); }
|
|
6917
7014
|
}
|
|
6918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusThreeDsService, decorators: [{
|
|
6919
7016
|
type: Injectable,
|
|
6920
7017
|
args: [{
|
|
6921
7018
|
providedIn: 'root',
|
|
@@ -6969,10 +7066,10 @@ class NotifyDfpStatusService {
|
|
|
6969
7066
|
throw new XpsResponseError(error.message);
|
|
6970
7067
|
});
|
|
6971
7068
|
}
|
|
6972
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6973
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7069
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotifyDfpStatusService, deps: [{ token: SecureApiClient }, { token: SettingsService }, { token: notifyDfpStatusRequestFactoryToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7070
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotifyDfpStatusService, providedIn: 'root' }); }
|
|
6974
7071
|
}
|
|
6975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotifyDfpStatusService, decorators: [{
|
|
6976
7073
|
type: Injectable,
|
|
6977
7074
|
args: [{
|
|
6978
7075
|
providedIn: 'root',
|
|
@@ -7075,10 +7172,10 @@ class DfpCollectService {
|
|
|
7075
7172
|
element.setAttribute(name, attributes[name]);
|
|
7076
7173
|
});
|
|
7077
7174
|
}
|
|
7078
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7079
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DfpCollectService, deps: [{ token: windowToken }, { token: NotifyDfpStatusService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7176
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DfpCollectService, providedIn: 'root' }); }
|
|
7080
7177
|
}
|
|
7081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DfpCollectService, decorators: [{
|
|
7082
7179
|
type: Injectable,
|
|
7083
7180
|
args: [{
|
|
7084
7181
|
providedIn: 'root',
|
|
@@ -7113,10 +7210,10 @@ class ReinsuranceCheckService {
|
|
|
7113
7210
|
this.window.clearTimeout(timerInStorage.timeoutRef);
|
|
7114
7211
|
this.timers[id] = null;
|
|
7115
7212
|
}
|
|
7116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7117
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReinsuranceCheckService, deps: [{ token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7214
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReinsuranceCheckService, providedIn: 'root' }); }
|
|
7118
7215
|
}
|
|
7119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReinsuranceCheckService, decorators: [{
|
|
7120
7217
|
type: Injectable,
|
|
7121
7218
|
args: [{
|
|
7122
7219
|
providedIn: 'root',
|
|
@@ -7240,10 +7337,10 @@ class ThreeDs20Service {
|
|
|
7240
7337
|
clearLatestDfpParameters() {
|
|
7241
7338
|
this.latestDfpParameters = null;
|
|
7242
7339
|
}
|
|
7243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7244
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDs20Service, deps: [{ token: StatusThreeDsService }, { token: NotifyDfpStatusService }, { token: WebSocketFactory }, { token: DfpCollectService }, { token: ReinsuranceCheckService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7341
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDs20Service, providedIn: 'root' }); }
|
|
7245
7342
|
}
|
|
7246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDs20Service, decorators: [{
|
|
7247
7344
|
type: Injectable,
|
|
7248
7345
|
args: [{
|
|
7249
7346
|
providedIn: 'root',
|
|
@@ -7281,10 +7378,10 @@ class ThreeDsService {
|
|
|
7281
7378
|
stopChecking() {
|
|
7282
7379
|
this.statusSubscription?.unsubscribe();
|
|
7283
7380
|
}
|
|
7284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7285
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7381
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsService, deps: [{ token: ThreeDs20Service }, { token: NextActionService }, { token: CheckStatusActionCreator }, { token: ThreeDsActionCreator }, { token: ThreeDsRedirectActionCreator }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7382
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsService, providedIn: 'root' }); }
|
|
7286
7383
|
}
|
|
7287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThreeDsService, decorators: [{
|
|
7288
7385
|
type: Injectable,
|
|
7289
7386
|
args: [{
|
|
7290
7387
|
providedIn: 'root',
|
|
@@ -7300,10 +7397,10 @@ class FormMessagesService extends EmitDataService {
|
|
|
7300
7397
|
const mapInfoMessages = (infoMessage) => this.unescapeHtmlPipe.transform(infoMessage.message);
|
|
7301
7398
|
super.emit(messages?.map(mapInfoMessages) ?? []);
|
|
7302
7399
|
}
|
|
7303
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7304
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormMessagesService, deps: [{ token: UnescapeHtmlPipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7401
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormMessagesService, providedIn: 'root' }); }
|
|
7305
7402
|
}
|
|
7306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormMessagesService, decorators: [{
|
|
7307
7404
|
type: Injectable,
|
|
7308
7405
|
args: [{
|
|
7309
7406
|
providedIn: 'root',
|
|
@@ -7341,10 +7438,10 @@ class PrintInstructionService {
|
|
|
7341
7438
|
Object.entries(printUrlParameters).forEach(([key, parameter]) => printInstructionUrl.searchParams.append(key, String(parameter)));
|
|
7342
7439
|
return printInstructionUrl.toString();
|
|
7343
7440
|
}
|
|
7344
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7345
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PrintInstructionService, deps: [{ token: SettingsService }, { token: SecureApiClient }, { token: printInstructionRequestFactoryToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7442
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PrintInstructionService, providedIn: 'root' }); }
|
|
7346
7443
|
}
|
|
7347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PrintInstructionService, decorators: [{
|
|
7348
7445
|
type: Injectable,
|
|
7349
7446
|
args: [{
|
|
7350
7447
|
providedIn: 'root',
|
|
@@ -7369,10 +7466,10 @@ class BehaviourStrategy {
|
|
|
7369
7466
|
setPaymentConfig(config) {
|
|
7370
7467
|
this.paymentConfig = config;
|
|
7371
7468
|
}
|
|
7372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BehaviourStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7470
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BehaviourStrategy }); }
|
|
7374
7471
|
}
|
|
7375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BehaviourStrategy, decorators: [{
|
|
7376
7473
|
type: Injectable
|
|
7377
7474
|
}] });
|
|
7378
7475
|
|
|
@@ -7413,10 +7510,10 @@ class ApplePayWithShippingAddressStrategy extends BehaviourStrategy {
|
|
|
7413
7510
|
fieldForHide.isVisible = "0" /* XpsBoolean.false */;
|
|
7414
7511
|
}
|
|
7415
7512
|
}
|
|
7416
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7417
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayWithShippingAddressStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7514
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayWithShippingAddressStrategy }); }
|
|
7418
7515
|
}
|
|
7419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayWithShippingAddressStrategy, decorators: [{
|
|
7420
7517
|
type: Injectable
|
|
7421
7518
|
}], ctorParameters: () => [] });
|
|
7422
7519
|
|
|
@@ -7449,10 +7546,10 @@ class GooglePayInstantFlowStrategy extends BehaviourStrategy {
|
|
|
7449
7546
|
fieldForHide.isVisible = "0" /* XpsBoolean.false */;
|
|
7450
7547
|
}
|
|
7451
7548
|
}
|
|
7452
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7453
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayInstantFlowStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7550
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayInstantFlowStrategy }); }
|
|
7454
7551
|
}
|
|
7455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayInstantFlowStrategy, decorators: [{
|
|
7456
7553
|
type: Injectable
|
|
7457
7554
|
}], ctorParameters: () => [] });
|
|
7458
7555
|
|
|
@@ -7480,10 +7577,10 @@ class GooglePayRegularFlowStrategy extends BehaviourStrategy {
|
|
|
7480
7577
|
}
|
|
7481
7578
|
return (this.paymentData.paymentForm?.fields.filter((field) => field.isVisible === "1" /* XpsBoolean.true */ && field.isMandatory) ?? []);
|
|
7482
7579
|
}
|
|
7483
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7484
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayRegularFlowStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7581
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayRegularFlowStrategy }); }
|
|
7485
7582
|
}
|
|
7486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayRegularFlowStrategy, decorators: [{
|
|
7487
7584
|
type: Injectable
|
|
7488
7585
|
}], ctorParameters: () => [] });
|
|
7489
7586
|
|
|
@@ -7518,10 +7615,10 @@ class PaymentBehaviourService {
|
|
|
7518
7615
|
return;
|
|
7519
7616
|
this.userBehaviourAnalyticsService.send(UserBehaviourEventName.applicablePaymentStrategies, 'manual', { value: strategies.map((strategy) => strategy.name) });
|
|
7520
7617
|
}
|
|
7521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7522
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
7618
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourService, deps: [{ token: behaviourStrategiesToken }, { token: UserBehaviourAnalyticsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7619
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourService }); }
|
|
7523
7620
|
}
|
|
7524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourService, decorators: [{
|
|
7525
7622
|
type: Injectable
|
|
7526
7623
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
7527
7624
|
type: Inject,
|
|
@@ -8044,10 +8141,10 @@ class PaymentService {
|
|
|
8044
8141
|
eventCategory: eventCategories.withInvoice,
|
|
8045
8142
|
});
|
|
8046
8143
|
}
|
|
8047
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8048
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentService, deps: [{ token: LoggerService }, { token: InitializeService }, { token: SubmitService }, { token: SyncService }, { token: FormService }, { token: StatusService }, { token: FinanceDetailsService }, { token: CreditCardStateService }, { token: NextActionService }, { token: InitializeNextActionService }, { token: ControlConfigService }, { token: ThreeDsService }, { token: FormMessagesService }, { token: SettingsService }, { token: CountryService }, { token: CheckStatusActionCreator }, { token: PrintInstructionService }, { token: PaymentBehaviourService }, { token: i19.TranslateService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8145
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentService, providedIn: 'root' }); }
|
|
8049
8146
|
}
|
|
8050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentService, decorators: [{
|
|
8051
8148
|
type: Injectable,
|
|
8052
8149
|
args: [{
|
|
8053
8150
|
providedIn: 'root',
|
|
@@ -8119,10 +8216,10 @@ class RefundPolicyService {
|
|
|
8119
8216
|
const projectId = this.settingsService.project.id;
|
|
8120
8217
|
return `${this.defaultUrl}?policy_version_id=${versionId}&language=${language}&country=${countryIso}&project_id=${projectId}`;
|
|
8121
8218
|
}
|
|
8122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8123
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RefundPolicyService, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8220
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RefundPolicyService, providedIn: 'root' }); }
|
|
8124
8221
|
}
|
|
8125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RefundPolicyService, decorators: [{
|
|
8126
8223
|
type: Injectable,
|
|
8127
8224
|
args: [{
|
|
8128
8225
|
providedIn: 'root',
|
|
@@ -8133,10 +8230,10 @@ class DisclaimerService {
|
|
|
8133
8230
|
constructor() {
|
|
8134
8231
|
this.disclaimer = 'disclaimer';
|
|
8135
8232
|
}
|
|
8136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8137
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DisclaimerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DisclaimerService, providedIn: 'root' }); }
|
|
8138
8235
|
}
|
|
8139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DisclaimerService, decorators: [{
|
|
8140
8237
|
type: Injectable,
|
|
8141
8238
|
args: [{
|
|
8142
8239
|
providedIn: 'root',
|
|
@@ -8170,10 +8267,10 @@ class LegalService {
|
|
|
8170
8267
|
disclaimer: this.disclaimerService.disclaimer,
|
|
8171
8268
|
};
|
|
8172
8269
|
}
|
|
8173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8174
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegalService, deps: [{ token: CountryService }, { token: SettingsService }, { token: RefundPolicyService }, { token: DisclaimerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8271
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegalService, providedIn: 'root' }); }
|
|
8175
8272
|
}
|
|
8176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegalService, decorators: [{
|
|
8177
8274
|
type: Injectable,
|
|
8178
8275
|
args: [{
|
|
8179
8276
|
providedIn: 'root',
|
|
@@ -8206,10 +8303,10 @@ class EditSavedMethodsService {
|
|
|
8206
8303
|
return false;
|
|
8207
8304
|
});
|
|
8208
8305
|
}
|
|
8209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8210
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditSavedMethodsService, deps: [{ token: SavedMethodsService }, { token: SettingsService }, { token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8307
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditSavedMethodsService, providedIn: 'root' }); }
|
|
8211
8308
|
}
|
|
8212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditSavedMethodsService, decorators: [{
|
|
8213
8310
|
type: Injectable,
|
|
8214
8311
|
args: [{
|
|
8215
8312
|
providedIn: 'root',
|
|
@@ -8311,10 +8408,10 @@ class XhrActionService {
|
|
|
8311
8408
|
getPauseEvent() {
|
|
8312
8409
|
return this.entriesSubject.pipe(debounce(() => interval(this.pauseTime)), filter(() => this.isXhrActionStarted));
|
|
8313
8410
|
}
|
|
8314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8315
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8411
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XhrActionService, deps: [{ token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8412
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XhrActionService, providedIn: 'root' }); }
|
|
8316
8413
|
}
|
|
8317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: XhrActionService, decorators: [{
|
|
8318
8415
|
type: Injectable,
|
|
8319
8416
|
args: [{
|
|
8320
8417
|
providedIn: 'root',
|
|
@@ -8414,10 +8511,10 @@ class PerformanceService {
|
|
|
8414
8511
|
});
|
|
8415
8512
|
});
|
|
8416
8513
|
}
|
|
8417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8418
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PerformanceService, deps: [{ token: UserBehaviourAnalyticsService }, { token: XhrActionService }, { token: windowToken }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8515
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PerformanceService, providedIn: 'root' }); }
|
|
8419
8516
|
}
|
|
8420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PerformanceService, decorators: [{
|
|
8421
8518
|
type: Injectable,
|
|
8422
8519
|
args: [{
|
|
8423
8520
|
providedIn: 'root',
|
|
@@ -8445,10 +8542,10 @@ class CombinedPaymentMethodsService {
|
|
|
8445
8542
|
savedMethods,
|
|
8446
8543
|
};
|
|
8447
8544
|
}
|
|
8448
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8449
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8545
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CombinedPaymentMethodsService, deps: [{ token: PaymentMethodsService }, { token: SavedMethodsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8546
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CombinedPaymentMethodsService, providedIn: 'root' }); }
|
|
8450
8547
|
}
|
|
8451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CombinedPaymentMethodsService, decorators: [{
|
|
8452
8549
|
type: Injectable,
|
|
8453
8550
|
args: [{
|
|
8454
8551
|
providedIn: 'root',
|
|
@@ -8476,10 +8573,10 @@ class CountriesApiService {
|
|
|
8476
8573
|
return value;
|
|
8477
8574
|
})));
|
|
8478
8575
|
}
|
|
8479
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8480
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountriesApiService, deps: [{ token: SecureApiClient }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8577
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountriesApiService, providedIn: 'root' }); }
|
|
8481
8578
|
}
|
|
8482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountriesApiService, decorators: [{
|
|
8483
8580
|
type: Injectable,
|
|
8484
8581
|
args: [{
|
|
8485
8582
|
providedIn: 'root',
|
|
@@ -8585,10 +8682,10 @@ class SendInstructionService {
|
|
|
8585
8682
|
})
|
|
8586
8683
|
.pipe(map((response) => this.sendInstructionStatusResponseFactory(response, route))));
|
|
8587
8684
|
}
|
|
8588
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8589
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendInstructionService, deps: [{ token: SecureApiClient }, { token: SettingsService }, { token: sendInstructionRequestFactoryToken }, { token: sendInstructionStatusResponseFactoryToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8686
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendInstructionService, providedIn: 'root' }); }
|
|
8590
8687
|
}
|
|
8591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendInstructionService, decorators: [{
|
|
8592
8689
|
type: Injectable,
|
|
8593
8690
|
args: [{
|
|
8594
8691
|
providedIn: 'root',
|
|
@@ -8683,10 +8780,10 @@ class ScriptTrackerService {
|
|
|
8683
8780
|
this.currentScripts.add(script);
|
|
8684
8781
|
this.scriptTracked$.next();
|
|
8685
8782
|
}
|
|
8686
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8687
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScriptTrackerService, deps: [{ token: UserBehaviourAnalyticsService }, { token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8784
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScriptTrackerService, providedIn: 'root' }); }
|
|
8688
8785
|
}
|
|
8689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScriptTrackerService, decorators: [{
|
|
8690
8787
|
type: Injectable,
|
|
8691
8788
|
args: [{
|
|
8692
8789
|
providedIn: 'root',
|
|
@@ -8862,55 +8959,16 @@ class CoreLibraryService {
|
|
|
8862
8959
|
get commonLogAttributes() {
|
|
8863
8960
|
return this.commonLogAttributesService.getAttributes();
|
|
8864
8961
|
}
|
|
8865
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8866
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryService, deps: [{ token: SettingsService }, { token: LoggerService }, { token: CountryService }, { token: PaymentMethodsService }, { token: SavedMethodsService }, { token: UserBalanceService }, { token: PaymentConfigService }, { token: PaymentService }, { token: DeviceFingerPrintService }, { token: FinanceDetailsService }, { token: LegalService }, { token: StatusService }, { token: NextActionService }, { token: CreditCardService }, { token: CreditCardStateService }, { token: FormMessagesService }, { token: EditSavedMethodsService }, { token: UserBehaviourAnalyticsService }, { token: PerformanceService }, { token: CombinedPaymentMethodsService }, { token: CountriesApiService }, { token: SendInstructionService }, { token: ScriptTrackerService }, { token: i19.TranslateService }, { token: CommonLogAttributesService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8963
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryService, providedIn: 'root' }); }
|
|
8867
8964
|
}
|
|
8868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryService, decorators: [{
|
|
8869
8966
|
type: Injectable,
|
|
8870
8967
|
args: [{
|
|
8871
8968
|
providedIn: 'root',
|
|
8872
8969
|
}]
|
|
8873
8970
|
}], ctorParameters: () => [{ type: SettingsService }, { type: LoggerService }, { type: CountryService }, { type: PaymentMethodsService }, { type: SavedMethodsService }, { type: UserBalanceService }, { type: PaymentConfigService }, { type: PaymentService }, { type: DeviceFingerPrintService }, { type: FinanceDetailsService }, { type: LegalService }, { type: StatusService }, { type: NextActionService }, { type: CreditCardService }, { type: CreditCardStateService }, { type: FormMessagesService }, { type: EditSavedMethodsService }, { type: UserBehaviourAnalyticsService }, { type: PerformanceService }, { type: CombinedPaymentMethodsService }, { type: CountriesApiService }, { type: SendInstructionService }, { type: ScriptTrackerService }, { type: i19.TranslateService }, { type: CommonLogAttributesService }] });
|
|
8874
8971
|
|
|
8875
|
-
class HttpError extends AppError {
|
|
8876
|
-
constructor(error, req) {
|
|
8877
|
-
super(error.message);
|
|
8878
|
-
this.RESTRICTED_KEYS_REGEXP = new RegExp('.*(card_number|number|cvv|cvn|month|year|cardholdername|client_data|dfp|password).*', 'i');
|
|
8879
|
-
this.httpErrorData = {
|
|
8880
|
-
request: {
|
|
8881
|
-
url: req.url,
|
|
8882
|
-
method: req.method,
|
|
8883
|
-
headers: req.headers,
|
|
8884
|
-
},
|
|
8885
|
-
response: {
|
|
8886
|
-
status: error.status,
|
|
8887
|
-
headers: error.headers,
|
|
8888
|
-
},
|
|
8889
|
-
};
|
|
8890
|
-
if (req.body) {
|
|
8891
|
-
this.httpErrorData.request.data = this.cleanPersonalData(req.body);
|
|
8892
|
-
}
|
|
8893
|
-
if (error.statusText) {
|
|
8894
|
-
const errorData = error.error;
|
|
8895
|
-
this.httpErrorData.response.data = {
|
|
8896
|
-
statusText: error.statusText,
|
|
8897
|
-
errors: errorData?.errors ?? [],
|
|
8898
|
-
};
|
|
8899
|
-
}
|
|
8900
|
-
}
|
|
8901
|
-
getHttpErrorData() {
|
|
8902
|
-
return this.httpErrorData;
|
|
8903
|
-
}
|
|
8904
|
-
cleanPersonalData(data) {
|
|
8905
|
-
return Object.entries(data).reduce((acc, [key, val]) => {
|
|
8906
|
-
return {
|
|
8907
|
-
...acc,
|
|
8908
|
-
[key]: this.RESTRICTED_KEYS_REGEXP.test(key) ? '***' : val,
|
|
8909
|
-
};
|
|
8910
|
-
}, {});
|
|
8911
|
-
}
|
|
8912
|
-
}
|
|
8913
|
-
|
|
8914
8972
|
class HttpExceptionsInterceptor {
|
|
8915
8973
|
constructor(router) {
|
|
8916
8974
|
this.router = router;
|
|
@@ -8920,19 +8978,19 @@ class HttpExceptionsInterceptor {
|
|
|
8920
8978
|
return throwError(() => new HttpError(error, req));
|
|
8921
8979
|
}));
|
|
8922
8980
|
}
|
|
8923
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8924
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HttpExceptionsInterceptor, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8982
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HttpExceptionsInterceptor }); }
|
|
8925
8983
|
}
|
|
8926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HttpExceptionsInterceptor, decorators: [{
|
|
8927
8985
|
type: Injectable
|
|
8928
8986
|
}], ctorParameters: () => [{ type: i1$1.Router }] });
|
|
8929
8987
|
|
|
8930
8988
|
class ValidatorsModule {
|
|
8931
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8932
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
8933
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
8989
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValidatorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8990
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ValidatorsModule, imports: [CommonModule] }); }
|
|
8991
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValidatorsModule, providers: [CreditCardMinLengthValidator, CreditCardMaxLengthValidator], imports: [CommonModule] }); }
|
|
8934
8992
|
}
|
|
8935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValidatorsModule, decorators: [{
|
|
8936
8994
|
type: NgModule,
|
|
8937
8995
|
args: [{
|
|
8938
8996
|
declarations: [],
|
|
@@ -8942,9 +9000,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
8942
9000
|
}] });
|
|
8943
9001
|
|
|
8944
9002
|
class FormModule {
|
|
8945
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8946
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
8947
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
9003
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9004
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FormModule, imports: [ReactiveFormsModule, ValidatorsModule] }); }
|
|
9005
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormModule, providers: [
|
|
8948
9006
|
FormService,
|
|
8949
9007
|
ControlConfigService,
|
|
8950
9008
|
CardNumberConverter,
|
|
@@ -8975,7 +9033,7 @@ class FormModule {
|
|
|
8975
9033
|
{ provide: convertersMapToken, useValue: convertersMap },
|
|
8976
9034
|
], imports: [ReactiveFormsModule, ValidatorsModule] }); }
|
|
8977
9035
|
}
|
|
8978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormModule, decorators: [{
|
|
8979
9037
|
type: NgModule,
|
|
8980
9038
|
args: [{
|
|
8981
9039
|
imports: [ReactiveFormsModule, ValidatorsModule],
|
|
@@ -9013,11 +9071,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
9013
9071
|
}] });
|
|
9014
9072
|
|
|
9015
9073
|
class PipesModule {
|
|
9016
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9017
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
9018
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
9074
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9075
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, declarations: [UnescapeHtmlPipe], exports: [UnescapeHtmlPipe] }); }
|
|
9076
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, providers: [UnescapeHtmlPipe] }); }
|
|
9019
9077
|
}
|
|
9020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, decorators: [{
|
|
9021
9079
|
type: NgModule,
|
|
9022
9080
|
args: [{
|
|
9023
9081
|
declarations: [UnescapeHtmlPipe],
|
|
@@ -9158,10 +9216,10 @@ class ApplePayCartService {
|
|
|
9158
9216
|
getTotalAmount(finance) {
|
|
9159
9217
|
return finance?.grand_total?.amount ?? finance?.total?.amount;
|
|
9160
9218
|
}
|
|
9161
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9162
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
9219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayCartService, deps: [{ token: UserBehaviourAnalyticsService }, { token: SummaryFinanceDetailsAdapterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9220
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayCartService, providedIn: 'root' }); }
|
|
9163
9221
|
}
|
|
9164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayCartService, decorators: [{
|
|
9165
9223
|
type: Injectable,
|
|
9166
9224
|
args: [{
|
|
9167
9225
|
providedIn: 'root',
|
|
@@ -9268,10 +9326,10 @@ class BraintreeHandler extends ApplePaySessionHandlerAbstract {
|
|
|
9268
9326
|
};
|
|
9269
9327
|
session.begin();
|
|
9270
9328
|
}
|
|
9271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9272
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
9329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BraintreeHandler, deps: [{ token: windowToken }, { token: LoggerService }, { token: ApplePayCartService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9330
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BraintreeHandler }); }
|
|
9273
9331
|
}
|
|
9274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BraintreeHandler, decorators: [{
|
|
9275
9333
|
type: Injectable
|
|
9276
9334
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
9277
9335
|
type: Inject,
|
|
@@ -9360,10 +9418,10 @@ class CheckoutHandler extends ApplePaySessionHandlerAbstract {
|
|
|
9360
9418
|
};
|
|
9361
9419
|
session.begin();
|
|
9362
9420
|
}
|
|
9363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9364
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
9421
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckoutHandler, deps: [{ token: windowToken }, { token: i1.HttpClient }, { token: ApplePayCartService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9422
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckoutHandler }); }
|
|
9365
9423
|
}
|
|
9366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckoutHandler, decorators: [{
|
|
9367
9425
|
type: Injectable
|
|
9368
9426
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
9369
9427
|
type: Inject,
|
|
@@ -9371,9 +9429,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
9371
9429
|
}] }, { type: i1.HttpClient }, { type: ApplePayCartService }, { type: UserBehaviourAnalyticsService }] });
|
|
9372
9430
|
|
|
9373
9431
|
class PaymentBehaviourModule {
|
|
9374
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9375
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
9376
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
9432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9433
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourModule, imports: [CommonModule] }); }
|
|
9434
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourModule, providers: [
|
|
9377
9435
|
PaymentBehaviourService,
|
|
9378
9436
|
{
|
|
9379
9437
|
provide: behaviourStrategiesToken,
|
|
@@ -9382,7 +9440,7 @@ class PaymentBehaviourModule {
|
|
|
9382
9440
|
...behaviourStrategies,
|
|
9383
9441
|
], imports: [CommonModule] }); }
|
|
9384
9442
|
}
|
|
9385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentBehaviourModule, decorators: [{
|
|
9386
9444
|
type: NgModule,
|
|
9387
9445
|
args: [{
|
|
9388
9446
|
declarations: [],
|
|
@@ -9399,9 +9457,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
9399
9457
|
}] });
|
|
9400
9458
|
|
|
9401
9459
|
class CoreLibraryModule {
|
|
9402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9403
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
9404
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
9460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9461
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryModule, imports: [HttpClientModule, FormModule, PipesModule, PaymentBehaviourModule] }); }
|
|
9462
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryModule, providers: [
|
|
9405
9463
|
{
|
|
9406
9464
|
provide: HTTP_INTERCEPTORS,
|
|
9407
9465
|
useClass: HttpExceptionsInterceptor,
|
|
@@ -9455,7 +9513,7 @@ class CoreLibraryModule {
|
|
|
9455
9513
|
}),
|
|
9456
9514
|
], imports: [HttpClientModule, FormModule, PipesModule, PaymentBehaviourModule] }); }
|
|
9457
9515
|
}
|
|
9458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibraryModule, decorators: [{
|
|
9459
9517
|
type: NgModule,
|
|
9460
9518
|
args: [{
|
|
9461
9519
|
imports: [HttpClientModule, FormModule, PipesModule, PaymentBehaviourModule],
|
|
@@ -9580,10 +9638,10 @@ class PaymentSystemProcessingService {
|
|
|
9580
9638
|
isInitialized() {
|
|
9581
9639
|
return this.initialize.getValue();
|
|
9582
9640
|
}
|
|
9583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9584
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
9641
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentSystemProcessingService, deps: [{ token: windowToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9642
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentSystemProcessingService, providedIn: 'root' }); }
|
|
9585
9643
|
}
|
|
9586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaymentSystemProcessingService, decorators: [{
|
|
9587
9645
|
type: Injectable,
|
|
9588
9646
|
args: [{
|
|
9589
9647
|
providedIn: 'root',
|
|
@@ -9658,10 +9716,10 @@ class GooglePayCheckoutPaymentService {
|
|
|
9658
9716
|
isCancelledStatus(statusCode) {
|
|
9659
9717
|
return statusCode.toLowerCase() === 'canceled';
|
|
9660
9718
|
}
|
|
9661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9662
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
9719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayCheckoutPaymentService, deps: [{ token: PaymentSystemProcessingService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9720
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayCheckoutPaymentService, providedIn: 'root' }); }
|
|
9663
9721
|
}
|
|
9664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayCheckoutPaymentService, decorators: [{
|
|
9665
9723
|
type: Injectable,
|
|
9666
9724
|
args: [{
|
|
9667
9725
|
providedIn: 'root',
|
|
@@ -9775,10 +9833,10 @@ class GooglePayInstantPaymentService {
|
|
|
9775
9833
|
getTotalAmount(finance) {
|
|
9776
9834
|
return finance?.grand_total?.amount ?? finance?.total?.amount;
|
|
9777
9835
|
}
|
|
9778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9779
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
9836
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayInstantPaymentService, deps: [{ token: SummaryFinanceDetailsAdapterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9837
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayInstantPaymentService, providedIn: 'root' }); }
|
|
9780
9838
|
}
|
|
9781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayInstantPaymentService, decorators: [{
|
|
9782
9840
|
type: Injectable,
|
|
9783
9841
|
args: [{
|
|
9784
9842
|
providedIn: 'root',
|
|
@@ -10018,10 +10076,10 @@ class GooglePayService {
|
|
|
10018
10076
|
}
|
|
10019
10077
|
return allowedLocales.find((locale) => locale === userLocale) ?? 'en';
|
|
10020
10078
|
}
|
|
10021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
10022
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
10079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayService, deps: [{ token: windowToken }, { token: LoggerService }, { token: PaymentSystemProcessingService }, { token: GooglePayCheckoutPaymentService }, { token: GooglePayInstantPaymentService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10080
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayService, providedIn: 'root' }); }
|
|
10023
10081
|
}
|
|
10024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GooglePayService, decorators: [{
|
|
10025
10083
|
type: Injectable,
|
|
10026
10084
|
args: [{
|
|
10027
10085
|
providedIn: 'root',
|
|
@@ -10140,10 +10198,10 @@ class ApplePayParamsBuilderService {
|
|
|
10140
10198
|
const finance = summary?.finance;
|
|
10141
10199
|
return finance?.grand_total?.currency ?? finance?.total?.currency ?? '';
|
|
10142
10200
|
}
|
|
10143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
10144
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
10201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayParamsBuilderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10202
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayParamsBuilderService, providedIn: 'root' }); }
|
|
10145
10203
|
}
|
|
10146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayParamsBuilderService, decorators: [{
|
|
10147
10205
|
type: Injectable,
|
|
10148
10206
|
args: [{
|
|
10149
10207
|
providedIn: 'root',
|
|
@@ -10226,10 +10284,10 @@ class ApplePaySdkService {
|
|
|
10226
10284
|
const scriptsElements = this.window.document.querySelectorAll('script');
|
|
10227
10285
|
return Array.from(scriptsElements).some((element) => element.src === this.jsSdk);
|
|
10228
10286
|
}
|
|
10229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
10230
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
10287
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePaySdkService, deps: [{ token: windowToken }, { token: LoggerService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10288
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePaySdkService, providedIn: 'root' }); }
|
|
10231
10289
|
}
|
|
10232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePaySdkService, decorators: [{
|
|
10233
10291
|
type: Injectable,
|
|
10234
10292
|
args: [{
|
|
10235
10293
|
providedIn: 'root',
|
|
@@ -10264,10 +10322,10 @@ class SocketBridgeService {
|
|
|
10264
10322
|
responseType: 'json',
|
|
10265
10323
|
}));
|
|
10266
10324
|
}
|
|
10267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
10268
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
10325
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SocketBridgeService, deps: [{ token: SecureApiClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10326
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SocketBridgeService, providedIn: 'root' }); }
|
|
10269
10327
|
}
|
|
10270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SocketBridgeService, decorators: [{
|
|
10271
10329
|
type: Injectable,
|
|
10272
10330
|
args: [{
|
|
10273
10331
|
providedIn: 'root',
|
|
@@ -10322,10 +10380,10 @@ class ApplePayExternalWindowCommunicationService {
|
|
|
10322
10380
|
return JSON.parse(message);
|
|
10323
10381
|
}), filter(eventHandler));
|
|
10324
10382
|
}
|
|
10325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
10326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
10383
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayExternalWindowCommunicationService, deps: [{ token: windowToken }, { token: WebSocketFactory }, { token: SocketBridgeService }, { token: UserBehaviourAnalyticsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10384
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayExternalWindowCommunicationService, providedIn: 'root' }); }
|
|
10327
10385
|
}
|
|
10328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayExternalWindowCommunicationService, decorators: [{
|
|
10329
10387
|
type: Injectable,
|
|
10330
10388
|
args: [{
|
|
10331
10389
|
providedIn: 'root',
|
|
@@ -10571,10 +10629,10 @@ class ApplePayService {
|
|
|
10571
10629
|
this.applePayQrOpened.next();
|
|
10572
10630
|
}
|
|
10573
10631
|
}
|
|
10574
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
10575
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
10632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayService, deps: [{ token: windowToken }, { token: SummaryFinanceDetailsAdapterService }, { token: BraintreeHandler }, { token: CheckoutHandler }, { token: ApplePayParamsBuilderService }, { token: LoggerService }, { token: ApplePaySdkService }, { token: ApplePayExternalWindowCommunicationService }, { token: UserBehaviourAnalyticsService }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10633
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayService, providedIn: 'root' }); }
|
|
10576
10634
|
}
|
|
10577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
10635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApplePayService, decorators: [{
|
|
10578
10636
|
type: Injectable,
|
|
10579
10637
|
args: [{
|
|
10580
10638
|
providedIn: 'root',
|