@solvimon/solvimon-web 0.1.0-alpha.26 → 0.1.0-alpha.28
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 +138 -27
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +17 -19
- package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +233 -253
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
- package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +31 -36
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
- package/dist/{DividerText.vue.es-DKl3FnDJ.mjs → DividerText.vue.es-M0XqSz55.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +362 -0
- package/dist/{ErrorNotification.vue.es-rRKgmkzV.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
- package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CK9k69tV.mjs → IconTitle.vue.es-BO6KBS4v.mjs} +3 -3
- package/dist/Input.vue.es-DAlPmtE_.mjs +249 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs +56 -0
- package/dist/{InvoiceSummary.vue.es-DQ4KvTaw.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
- package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +73 -75
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
- package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -297
- package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
- package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
- package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +65 -75
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs} +13 -8
- package/dist/PlanCustomizationEditor-Xtww2r9K.mjs +711 -0
- package/dist/PortalNotAvailable-B_59GUwN.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
- package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
- package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs} +13 -12
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/{StepInput.vue.es-C3Zm6Wc9.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
- package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs} +750 -763
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +124 -90
- package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
- package/dist/{TrialChip.vue.es-C_yRujip.mjs → TrialChip.vue.es-B-XBSHWE.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{cn.es-CGa6b2Lt.mjs → cn.es-2bVdkiFV.mjs} +87 -83
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +7 -8
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +394 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +16 -17
- package/dist/components/Invoice/Invoice.mjs +206 -209
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +64 -63
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
- package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
- package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -65
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +31 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +47 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +50 -36
- package/dist/components/WalletBalances/WalletBalances.mjs +9 -10
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-Di3zwlEU.mjs +6447 -0
- package/dist/customer-CqddTiOr.mjs +31 -0
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-BNMj3boy.mjs} +16 -10
- package/dist/{de-DE-CLfzTbbX.mjs → de-DE-BW8dMvhW.mjs} +87 -19
- package/dist/formControl-CsITfsBk.mjs +749 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-DJTwftJv.mjs → invoices-Cf1qDAv4.mjs} +40 -35
- package/dist/{it-IT-Cym1UvvK.mjs → it-IT-Byg06KWc.mjs} +87 -19
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DRvuxM1F.mjs} +9 -3
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-DLUwWbMG.mjs} +12 -6
- package/dist/{nl-NL-D0c4x5C0.mjs → nl-NL-x3zQqzZ7.mjs} +93 -25
- package/dist/paymentMethods-BUuOmDq9.mjs +77 -0
- package/dist/paymentOutcome-D17VD4MV.mjs +67 -0
- package/dist/payments-Ci8bF4C6.mjs +45 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-COr9F8DO.mjs +233 -0
- package/dist/pricingPlanSchedules-BK_o9p6h.mjs +38 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +98 -91
- package/dist/screens/PayInvoice/PayInvoice.mjs +181 -210
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +98 -86
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +363 -334
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-qtEN8J8T.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-CwogJODR.mjs +54 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +20 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +36 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +9 -4
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +11 -4
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +8 -16
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
- package/dist/types/public/core/action-request.types.d.ts +5 -0
- package/dist/types/public/core/registry.ce.d.ts +3 -3
- package/dist/types/public/core/registry.d.ts +0 -3
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +2 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
- package/dist/types/services/paymentMethods.types.d.ts +2 -10
- package/dist/types/services/requests.types.d.ts +16 -6
- package/dist/types/types/errors.d.ts +3 -2
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/useActionDispatchProvider-DC_fUykI.mjs +9 -0
- package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-C3kTh7wn.mjs} +2 -2
- package/dist/useCustomerFormLabels-CK7K50nB.mjs +1369 -0
- package/dist/useIncrementalLoading-C_sHmW7d.mjs +60 -0
- package/dist/useInvoiceData-BIh8-h8b.mjs +21 -0
- package/dist/useInvoicesList-Y6p0Pqpy.mjs +674 -0
- package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
- package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
- package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +17 -18
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
- package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
- package/dist/{usePayments-CV85OV8V.mjs → usePayments-CykCZPG2.mjs} +7 -7
- package/dist/usePortal-CxzKGhbK.mjs +7 -0
- package/dist/useService-B0OQJmif.mjs +56 -0
- package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +35 -59
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs +0 -223
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js +0 -1
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-Bm6MCMAL.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
- package/dist/Button.vue.es-qGvnOKnK.js +0 -1
- package/dist/ChargeOnDemandModal-DIQaGnRs.js +0 -1
- package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
- package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
- package/dist/Chip.vue.es-D60gTbfe.js +0 -1
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
- package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
- package/dist/ContextMenu.vue.es-C7KI8Gz6.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-bFUx81Ig.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs +0 -2701
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-BF3gnr4e.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs +0 -335
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js +0 -1
- package/dist/ErrorNotification.vue.es-BX9dHEc-.js +0 -1
- package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
- package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
- package/dist/IconButton.vue.es-Bwdfu-jm.js +0 -1
- package/dist/IconTitle.vue.es-Cei98MBw.js +0 -1
- package/dist/Input.vue.es-B47l_feL.js +0 -1
- package/dist/Input.vue.es-D9IjIWc-.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs +0 -41
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js +0 -1
- package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +0 -1
- package/dist/Modal.vue.es-8LN4gBh0.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js +0 -1
- package/dist/PaymentHistoryBlock-Ds93gNvh.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js +0 -1
- package/dist/PaymentIntegrationForm-B_Db4DG1.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
- package/dist/PaymentIntegrationFormStripe-BIiMCWlV.mjs +0 -587
- package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +0 -102
- package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +0 -1
- package/dist/PaymentMethodForm-1d0YIGOu.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js +0 -1
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
- package/dist/PlanCustomizationEditor-CpZeilm5.mjs +0 -694
- package/dist/PricingGroupRangeInput.vue.es-DZSJ5Mz0.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +0 -1
- package/dist/RadioGroupExtended.vue.es-Dt6LH9Yh.js +0 -1
- package/dist/Section.vue.es-zVXBHAL6.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
- package/dist/StepInput.vue.es-mAnuCuDQ.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +0 -1
- package/dist/SubscriptionSchedules-Cm5Dt-1H.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs +0 -91
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js +0 -1
- package/dist/TooltipParagraph.vue.es-Cph6zT31.js +0 -1
- package/dist/TrialChip.vue.es-C_wgHGuN.js +0 -1
- package/dist/accel.svg.es-DFJXdioD.js +0 -1
- package/dist/ach.svg.es-BYP873jU.js +0 -1
- package/dist/adyen-BJfC7N6f.js +0 -1
- package/dist/adyen-CvsH5fok.mjs +0 -117
- package/dist/adyen-Druit6gz.js +0 -1
- package/dist/adyenSdk-BP2XXzeJ.js +0 -1
- package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
- package/dist/amex.svg.es-DKhW4Txt.js +0 -1
- package/dist/api.es-duCDtZD9.js +0 -1
- package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
- package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
- package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
- package/dist/carnet.svg.es-DY04-F2L.js +0 -1
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
- package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
- package/dist/cn.es-D9YMDvG2.js +0 -1
- package/dist/comparators.es-OGt19O9U.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
- package/dist/components/Invoice/Invoice.cjs +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
- package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
- package/dist/configuration-akTS7Wiw.js +0 -1
- package/dist/core/index.cjs +0 -1
- package/dist/countryData.es-C4jHBzfo.js +0 -1
- package/dist/customElements-C963-LtW.js +0 -1215
- package/dist/customElements-D5DAoHRI.mjs +0 -6633
- package/dist/customer-DKa1B2vp.mjs +0 -31
- package/dist/customer-TE1FnGT0.js +0 -1
- package/dist/customer.es-BButyYo0.js +0 -1
- package/dist/dana.svg.es-BDtZLpwd.js +0 -1
- package/dist/dankort.svg.es-CksaipXF.js +0 -1
- package/dist/de-DE-B4TUdnUf.js +0 -1
- package/dist/de-DE-DaBBl-Ak.js +0 -1
- package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
- package/dist/discover.svg.es-DgqWCMUM.js +0 -1
- package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
- package/dist/elo.svg.es-C-BzjuRP.js +0 -1
- package/dist/en-US-BNevqm0M.js +0 -1
- package/dist/en-US-D6SGRAch.mjs +0 -325
- package/dist/en-US-J85TQRI8.js +0 -1
- package/dist/en-US-SDhjlY_v.mjs +0 -301
- package/dist/eps.svg.es-B_85bP-W.js +0 -1
- package/dist/error-BHVZJGwD.mjs +0 -13
- package/dist/error-CmduqgVq.js +0 -1
- package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
- package/dist/formControl-ODrpUvcA.js +0 -1
- package/dist/formControl-dX7l8o3c.mjs +0 -845
- package/dist/formatting.es-C72Nsrmh.js +0 -1
- package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
- package/dist/getComposedString.es-haS4bAj7.js +0 -1
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
- package/dist/girocard.svg.es-HSOEvDif.js +0 -1
- package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
- package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
- package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
- package/dist/ideal.svg.es-Booz1IML.js +0 -1
- package/dist/index-BPZPnOQQ.js +0 -7
- package/dist/index.cjs +0 -1
- package/dist/index.es-BclokHQX.js +0 -1
- package/dist/invoices-ClqTWYF9.js +0 -1
- package/dist/it-IT-BkPbTueL.js +0 -1
- package/dist/it-IT-CSYvGmpT.js +0 -1
- package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
- package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
- package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
- package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
- package/dist/momo.svg.es-C5aLYf_R.js +0 -1
- package/dist/nl-NL-CpE4IgwO.js +0 -1
- package/dist/nl-NL-jIfAVGv0.js +0 -1
- package/dist/nyce.svg.es-ArAivAZW.js +0 -1
- package/dist/object.es-CdriXMPs.js +0 -1
- package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
- package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
- package/dist/paymentFailure-Cki8c5BX.js +0 -1
- package/dist/paymentMethods-AL2U_byg.js +0 -1
- package/dist/paymentMethods-CWzJhcWK.mjs +0 -77
- package/dist/payments-BmiHMlQt.js +0 -1
- package/dist/payments-aXyfylwk.mjs +0 -45
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BVAld27Y.js +0 -1
- package/dist/pricing-DLOeiAIB.mjs +0 -16
- package/dist/pricing.es-C07bgEZx.js +0 -1
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
- package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
- package/dist/pricingPlanSchedules-BD4GIP_F.mjs +0 -32
- package/dist/pricingPlanSchedules-BfsMSvN0.js +0 -1
- package/dist/pulse.svg.es-Dit33E8S.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
- package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
- package/dist/sessionReference-3h-6FdrC.mjs +0 -43
- package/dist/sessionReference-m_6Rp4X1.js +0 -1
- package/dist/slots.es-T9ZJRGtG.js +0 -1
- package/dist/sorting.es-DCihKqD2.mjs +0 -77
- package/dist/sorting.es-DQsjKr8A.js +0 -1
- package/dist/star.svg.es-D2JncY7b.js +0 -1
- package/dist/subscription-D1yHKUNc.mjs +0 -69
- package/dist/subscription-ZA62t4E9.js +0 -1
- package/dist/subscriptions-Cm83ckfl.js +0 -1
- package/dist/subscriptions-cnR5fnf7.mjs +0 -55
- package/dist/trustly.svg.es-GJByiFAs.js +0 -1
- package/dist/twint.svg.es-BJ2f48og.js +0 -1
- package/dist/typeGuards.es-DS3vZaJn.js +0 -1
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
- package/dist/types/services/portals.types.d.ts +0 -70
- package/dist/types/types/subscription.d.ts +0 -4
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
- package/dist/url-TNRgVI8A.mjs +0 -21
- package/dist/url-vloPOiXd.js +0 -1
- package/dist/useActionDispatchProvider-CHkVQMaE.js +0 -1
- package/dist/useActionDispatchProvider-DDYqIh3r.mjs +0 -11
- package/dist/useCustomer-DGYtowRy.js +0 -1
- package/dist/useCustomerFormLabels-CcnkJLcB.mjs +0 -968
- package/dist/useCustomerFormLabels-DAZziqYt.js +0 -1
- package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
- package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BEK-7msA.mjs +0 -38
- package/dist/useInvoiceData-CQRn8l9C.js +0 -1
- package/dist/useInvoicesList-BQkKyyXa.js +0 -1
- package/dist/useInvoicesList-C4I118KM.mjs +0 -500
- package/dist/useLoadInitialData-CrKnBZs_.js +0 -1
- package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
- package/dist/usePaymentMethodOptions-Ciifjo6c.mjs +0 -39
- package/dist/usePaymentMethodOptions-Cqe92ZBn.js +0 -1
- package/dist/usePaymentMethods-BKwrl82-.js +0 -1
- package/dist/usePayments-Bauj16B-.js +0 -1
- package/dist/usePortal-DSLImEfr.js +0 -1
- package/dist/usePortal-H8Tv2TnZ.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BiYNJT2e.js +0 -1
- package/dist/useSubscription-DqnxWNKg.mjs +0 -210
- package/dist/useTimePeriod.es-D2aiyfd-.js +0 -1
- package/dist/useViewport-BgdA2PPt.mjs +0 -29
- package/dist/useViewport-hPRVDWCm.js +0 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
- package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
- package/dist/visa.svg.es-NY3BHhda.js +0 -1
- package/dist/vpay.svg.es-VViQi42w.js +0 -1
- package/dist/wallets.es-CNIMW5ay.js +0 -1
- package/dist/zip.svg.es-C9S_F31W.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as M, openBlock as o, createElementBlock as I, createElementVNode as g, normalizeClass as N, createCommentVNode as h, renderSlot as B, createVNode as s, createBlock as u, withCtx as m, createTextVNode as f, toDisplayString as y, unref as v, shallowRef as _, watch as S, toValue as $, Fragment as L, mergeProps as C } from "vue";
|
|
2
2
|
import { _ as R } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
3
|
-
import { a as O } from "./ContextMenu.vue.es-
|
|
4
|
-
import { a as D, _ as A } from "./customElements-
|
|
5
|
-
import { _ as T } from "./Chip.vue.es-
|
|
3
|
+
import { a as O } from "./ContextMenu.vue.es-DRxsa7bZ.mjs";
|
|
4
|
+
import { a as D, _ as A } from "./customElements-Di3zwlEU.mjs";
|
|
5
|
+
import { _ as T } from "./Chip.vue.es-Cn2R_0mE.mjs";
|
|
6
6
|
const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", V = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, z = ["src", "alt", "width", "height"], G = { class: "grow" }, H = { key: 0 }, U = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "pt-3"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as F, ref as
|
|
2
|
-
import { g as
|
|
3
|
-
import { _ as g } from "./Button.vue.es-
|
|
4
|
-
import { _ as
|
|
5
|
-
import { a as
|
|
6
|
-
import { _ as z } from "./Skeleton.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Y } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as G, _ as J } from "./usePaymentMethodAvailability-
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as F, ref as v, computed as i, openBlock as m, createBlock as r, unref as a, withCtx as f, createElementVNode as $, normalizeClass as V, createVNode as Z, mergeProps as q, createTextVNode as _, toDisplayString as b, createCommentVNode as w } from "vue";
|
|
2
|
+
import { g as H, a as K } from "./customer.es-B5ppZf0j.mjs";
|
|
3
|
+
import { _ as g } from "./Button.vue.es-rh6mITmN.mjs";
|
|
4
|
+
import { _ as D } from "./Section.vue.es-iS8hVGWA.mjs";
|
|
5
|
+
import { a as j } from "./customElements-Di3zwlEU.mjs";
|
|
6
|
+
import { _ as z } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
+
import { _ as Y } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs";
|
|
8
|
+
import { u as G, _ as J } from "./usePaymentMethodAvailability-CnYTvG15.mjs";
|
|
9
|
+
import { u as Q, s as W } from "./usePaymentFormHold-FfNc578l.mjs";
|
|
10
|
+
const X = "NL", le = /* @__PURE__ */ F({
|
|
11
11
|
__name: "PaymentMethodForm",
|
|
12
12
|
props: {
|
|
13
13
|
customer: { type: Object },
|
|
@@ -19,105 +19,95 @@ const C = "NL", me = /* @__PURE__ */ F({
|
|
|
19
19
|
hideSubmitButton: { type: Boolean }
|
|
20
20
|
},
|
|
21
21
|
emits: ["success", "failure"],
|
|
22
|
-
setup(l, { expose:
|
|
23
|
-
const
|
|
22
|
+
setup(l, { expose: C, emit: O }) {
|
|
23
|
+
const I = {
|
|
24
24
|
currency: "EUR",
|
|
25
25
|
quantity: "0"
|
|
26
|
-
}, t = l,
|
|
26
|
+
}, t = l, y = O, { $t: c } = j(), { availability: A } = G({
|
|
27
27
|
paymentMethodOptions: () => t.paymentMethodOptions,
|
|
28
28
|
isLoading: () => t.isLoading,
|
|
29
29
|
context: () => {
|
|
30
30
|
var e;
|
|
31
31
|
return { invoiceId: (e = t.configuration) == null ? void 0 : e.invoiceId };
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), d = v(), o = v(!1), { isFormHeld: L, handleActionRequired: S } = Q(o), u = v(!1);
|
|
34
34
|
function h() {
|
|
35
|
-
|
|
36
|
-
a.value = !0, (e = y.value) == null || e.submit();
|
|
35
|
+
d.value && (o.value = !0, d.value.submit());
|
|
37
36
|
}
|
|
38
|
-
const P =
|
|
39
|
-
() =>
|
|
37
|
+
const P = i(
|
|
38
|
+
() => c({
|
|
40
39
|
defaultMessage: "Save payment method",
|
|
41
40
|
description: "Label of the button that stores the entered payment method",
|
|
42
41
|
id: "components.payment_method_form.submit_button.label"
|
|
43
42
|
})
|
|
44
43
|
);
|
|
45
|
-
|
|
46
|
-
function
|
|
47
|
-
|
|
44
|
+
C({ submit: h, isPaymentPending: o, isCompleted: u });
|
|
45
|
+
function E() {
|
|
46
|
+
o.value = !1, u.value = !0, y("success");
|
|
48
47
|
}
|
|
49
|
-
function
|
|
50
|
-
|
|
48
|
+
function M(e) {
|
|
49
|
+
o.value = !1, y("failure", e);
|
|
51
50
|
}
|
|
52
51
|
function N() {
|
|
53
|
-
|
|
52
|
+
o.value = !1;
|
|
54
53
|
}
|
|
55
|
-
const
|
|
54
|
+
const R = (e) => (e == null ? void 0 : e.variant) === "AUTHORIZE" ? e : {
|
|
56
55
|
...e,
|
|
57
56
|
variant: "TOKENIZE"
|
|
58
|
-
},
|
|
59
|
-
() =>
|
|
60
|
-
),
|
|
61
|
-
() =>
|
|
62
|
-
), T =
|
|
63
|
-
() =>
|
|
57
|
+
}, n = i(
|
|
58
|
+
() => R(t.configuration)
|
|
59
|
+
), k = i(
|
|
60
|
+
() => u.value && !t.hideSubmitButton && !!n.value.successRedirectUrl
|
|
61
|
+
), T = i(
|
|
62
|
+
() => n.value.successRedirectLabel ?? c({
|
|
64
63
|
defaultMessage: "Continue",
|
|
65
64
|
description: "Label of the button that leaves the form once the payment method is stored",
|
|
66
65
|
id: "components.payment_method_form.continue_button.label"
|
|
67
66
|
})
|
|
68
67
|
);
|
|
69
68
|
function U() {
|
|
70
|
-
const { successRedirectUrl: e } =
|
|
71
|
-
e &&
|
|
69
|
+
const { successRedirectUrl: e } = n.value;
|
|
70
|
+
e && W(e);
|
|
72
71
|
}
|
|
73
|
-
const x =
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const n = D(t.customer);
|
|
79
|
-
if (n)
|
|
80
|
-
return e = n, e;
|
|
81
|
-
}
|
|
82
|
-
return C;
|
|
83
|
-
}), B = s(() => {
|
|
84
|
-
const e = o.value.variant, n = j(t.customer), u = {
|
|
85
|
-
amount: o.value.amount ?? L,
|
|
72
|
+
const x = i(
|
|
73
|
+
() => t.countryCode || H(t.customer) || X
|
|
74
|
+
), B = i(() => {
|
|
75
|
+
const e = n.value.variant, s = K(t.customer), p = {
|
|
76
|
+
amount: n.value.amount ?? I,
|
|
86
77
|
paymentMethodOptions: t.paymentMethodOptions,
|
|
87
78
|
countryCode: x.value,
|
|
88
79
|
...t.customer.email ? { email: t.customer.email } : {},
|
|
89
|
-
...
|
|
90
|
-
validateOnSubmit:
|
|
91
|
-
forceStorePaymentMethod:
|
|
92
|
-
selectedOption:
|
|
93
|
-
invoiceId:
|
|
80
|
+
...s ? { name: s } : {},
|
|
81
|
+
validateOnSubmit: n.value.validateOnSubmit,
|
|
82
|
+
forceStorePaymentMethod: n.value.forceStorePaymentMethod,
|
|
83
|
+
selectedOption: n.value.selectedOption,
|
|
84
|
+
invoiceId: n.value.invoiceId
|
|
94
85
|
};
|
|
95
86
|
return e === "AUTHORIZE" ? {
|
|
96
|
-
...
|
|
87
|
+
...p,
|
|
97
88
|
variant: e,
|
|
98
|
-
context:
|
|
89
|
+
context: n.value.context
|
|
99
90
|
} : {
|
|
100
|
-
...
|
|
91
|
+
...p,
|
|
101
92
|
variant: "TOKENIZE",
|
|
102
93
|
customerId: t.customer.id
|
|
103
94
|
};
|
|
104
95
|
});
|
|
105
|
-
return (e,
|
|
96
|
+
return (e, s) => l.isLoading ? (m(), r(z, {
|
|
106
97
|
key: 0,
|
|
107
98
|
variant: "section",
|
|
108
|
-
class: "sv-payment-method-form sv-root sv-component sv-loading min-h-[180px]"
|
|
109
|
-
|
|
110
|
-
})) : r(S) === "UNAVAILABLE" ? (i(), m(J, {
|
|
99
|
+
class: "sv-payment-method-form sv-root sv-component sv-loading min-h-[180px]"
|
|
100
|
+
})) : a(A) === "UNAVAILABLE" ? (m(), r(J, {
|
|
111
101
|
key: 1,
|
|
112
102
|
class: "sv-payment-method-form sv-root sv-component",
|
|
113
|
-
variant:
|
|
114
|
-
}, null, 8, ["variant"])) : (
|
|
103
|
+
variant: n.value.variant ?? "TOKENIZE"
|
|
104
|
+
}, null, 8, ["variant"])) : (m(), r(a(D), {
|
|
115
105
|
key: 2,
|
|
116
106
|
class: "sv-payment-method-form sv-root sv-component",
|
|
117
107
|
"no-border": "",
|
|
118
108
|
"no-spacing": "",
|
|
119
109
|
"content-background": "none",
|
|
120
|
-
title: l.title ??
|
|
110
|
+
title: l.title ?? a(c)({
|
|
121
111
|
defaultMessage: "Available payment methods",
|
|
122
112
|
description: "Title of the available payment methods form",
|
|
123
113
|
id: "components.payment_method_form.section_title"
|
|
@@ -125,47 +115,47 @@ const C = "NL", me = /* @__PURE__ */ F({
|
|
|
125
115
|
}, {
|
|
126
116
|
default: f(() => [
|
|
127
117
|
$("div", {
|
|
128
|
-
class: V({ "pointer-events-none opacity-60": a
|
|
118
|
+
class: V({ "pointer-events-none opacity-60": a(L) })
|
|
129
119
|
}, [
|
|
130
|
-
Z(Y,
|
|
120
|
+
Z(Y, q({
|
|
131
121
|
ref_key: "paymentIntegrationFormRef",
|
|
132
|
-
ref:
|
|
122
|
+
ref: d,
|
|
133
123
|
class: "sv-payment-method-form__integration"
|
|
134
124
|
}, B.value, {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
125
|
+
onPaymentSuccess: E,
|
|
126
|
+
onPaymentFailed: M,
|
|
127
|
+
onInvalid: N,
|
|
128
|
+
onSubmitting: s[0] || (s[0] = (p) => o.value = !0),
|
|
129
|
+
onActionRequired: a(S)
|
|
130
|
+
}), null, 16, ["onActionRequired"])
|
|
140
131
|
], 2),
|
|
141
|
-
|
|
132
|
+
k.value ? (m(), r(a(g), {
|
|
142
133
|
key: 0,
|
|
143
134
|
intent: "primary",
|
|
144
135
|
class: "mt-4 w-full",
|
|
145
|
-
"data-testid": "payment-method-form-continue",
|
|
146
136
|
onClick: U
|
|
147
137
|
}, {
|
|
148
138
|
default: f(() => [
|
|
149
139
|
_(b(T.value), 1)
|
|
150
140
|
]),
|
|
151
141
|
_: 1
|
|
152
|
-
})) : !l.hideSubmitButton && !
|
|
142
|
+
})) : !l.hideSubmitButton && !u.value ? (m(), r(a(g), {
|
|
153
143
|
key: 1,
|
|
154
144
|
intent: "primary",
|
|
155
145
|
class: "mt-4 w-full",
|
|
156
|
-
loading:
|
|
146
|
+
loading: o.value,
|
|
157
147
|
onClick: h
|
|
158
148
|
}, {
|
|
159
149
|
default: f(() => [
|
|
160
150
|
_(b(P.value), 1)
|
|
161
151
|
]),
|
|
162
152
|
_: 1
|
|
163
|
-
}, 8, ["loading"])) :
|
|
153
|
+
}, 8, ["loading"])) : w("", !0)
|
|
164
154
|
]),
|
|
165
155
|
_: 1
|
|
166
156
|
}, 8, ["title"]));
|
|
167
157
|
}
|
|
168
158
|
});
|
|
169
159
|
export {
|
|
170
|
-
|
|
160
|
+
le as _
|
|
171
161
|
};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { computed as _, defineComponent as B, toRef as V, openBlock as s, createElementBlock as k, createBlock as u, withCtx as p, createTextVNode as v, toDisplayString as f, unref as o, Fragment as N, createElementVNode as A, createVNode as O, createCommentVNode as g } from "vue";
|
|
2
|
+
import { _ as E } from "./PaymentMethod.vue.es-Cauxx4Xr.mjs";
|
|
3
|
+
import { _ as I } from "./Button.vue.es-rh6mITmN.mjs";
|
|
4
|
+
import { _ as S } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
5
|
+
import { _ as $ } from "./RadioGroupExtended.vue.es-UtKsdmiv.mjs";
|
|
6
|
+
import { a as T, _ as x } from "./customElements-Di3zwlEU.mjs";
|
|
7
|
+
import { a as m } from "./formatting.es-RclXHhKo.mjs";
|
|
8
|
+
import { _ as C } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs";
|
|
9
|
+
function L(e) {
|
|
10
|
+
var t, r, y, h, c, i;
|
|
11
|
+
const a = [];
|
|
12
|
+
switch (e.type) {
|
|
13
|
+
case "CARD":
|
|
14
|
+
a.push(
|
|
15
|
+
e.card.brand && m(e.card.brand),
|
|
16
|
+
e.card.last_four_digits
|
|
17
|
+
);
|
|
18
|
+
break;
|
|
19
|
+
case "ONLINE_BANKING":
|
|
20
|
+
a.push(
|
|
21
|
+
((t = e.online_banking) == null ? void 0 : t.variant) && m(e.online_banking.variant),
|
|
22
|
+
(r = e.online_banking) == null ? void 0 : r.owner_name
|
|
23
|
+
);
|
|
24
|
+
break;
|
|
25
|
+
case "DIRECT_DEBIT":
|
|
26
|
+
a.push(
|
|
27
|
+
((y = e.direct_debit) == null ? void 0 : y.variant) && m(e.direct_debit.variant),
|
|
28
|
+
(h = e.direct_debit) == null ? void 0 : h.owner_name
|
|
29
|
+
);
|
|
30
|
+
break;
|
|
31
|
+
case "BUY_NOW_PAY_LATER":
|
|
32
|
+
a.push(
|
|
33
|
+
((c = e.buy_now_pay_later) == null ? void 0 : c.variant) && m(e.buy_now_pay_later.variant)
|
|
34
|
+
);
|
|
35
|
+
break;
|
|
36
|
+
case "DIGITAL_WALLET":
|
|
37
|
+
a.push(
|
|
38
|
+
((i = e.digital_wallet) == null ? void 0 : i.variant) && m(e.digital_wallet.variant)
|
|
39
|
+
);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
return a.filter(Boolean).join(" ") || m(e.type);
|
|
43
|
+
}
|
|
44
|
+
function P(e) {
|
|
45
|
+
const a = _(
|
|
46
|
+
() => e.value.map((t) => ({
|
|
47
|
+
value: t.id,
|
|
48
|
+
label: L(t)
|
|
49
|
+
}))
|
|
50
|
+
), n = _(
|
|
51
|
+
() => Object.fromEntries(
|
|
52
|
+
e.value.map((t) => [t.id, t])
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
return { options: a, paymentMethodsById: n };
|
|
56
|
+
}
|
|
57
|
+
const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = { class: "sr-only" }, K = /* @__PURE__ */ B({
|
|
58
|
+
__name: "PaymentMethodSelector",
|
|
59
|
+
props: {
|
|
60
|
+
paymentMethods: { type: Array },
|
|
61
|
+
modelValue: { type: String },
|
|
62
|
+
label: { type: String },
|
|
63
|
+
required: { type: Boolean },
|
|
64
|
+
disabled: { type: Boolean },
|
|
65
|
+
error: { type: [String, Object, Array] },
|
|
66
|
+
showAddOption: { type: Boolean, default: !0 },
|
|
67
|
+
paymentMethodOptions: { type: Array }
|
|
68
|
+
},
|
|
69
|
+
emits: ["update:modelValue", "add-payment-method"],
|
|
70
|
+
setup(e, { emit: a }) {
|
|
71
|
+
const n = e, t = a, { $t: r } = T(), { options: y, paymentMethodsById: h } = P(
|
|
72
|
+
V(n, "paymentMethods")
|
|
73
|
+
), c = _({
|
|
74
|
+
get: () => n.modelValue,
|
|
75
|
+
set: (l) => t("update:modelValue", typeof l == "string" ? l : void 0)
|
|
76
|
+
}), i = _(() => n.paymentMethods.length > 0), w = _(() => {
|
|
77
|
+
var l;
|
|
78
|
+
return ((l = n.paymentMethodOptions) == null ? void 0 : l.length) !== 0;
|
|
79
|
+
});
|
|
80
|
+
return (l, b) => (s(), k("div", D, [
|
|
81
|
+
!i.value && !w.value ? (s(), u(C, {
|
|
82
|
+
key: 0,
|
|
83
|
+
class: "sv-payment-method-selector__empty",
|
|
84
|
+
icon: "credit_card_off"
|
|
85
|
+
}, {
|
|
86
|
+
title: p(() => [
|
|
87
|
+
v(f(o(r)({
|
|
88
|
+
defaultMessage: "No payment methods available",
|
|
89
|
+
description: "Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",
|
|
90
|
+
id: "payment_method_selector.empty_state.title"
|
|
91
|
+
})), 1)
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
})) : (s(), k(N, { key: 1 }, [
|
|
95
|
+
A("div", null, [
|
|
96
|
+
i.value ? (s(), u(o($), {
|
|
97
|
+
key: 0,
|
|
98
|
+
modelValue: c.value,
|
|
99
|
+
"onUpdate:modelValue": b[0] || (b[0] = (d) => c.value = d),
|
|
100
|
+
class: "sv-payment-method-selector__options",
|
|
101
|
+
name: "payment-method",
|
|
102
|
+
direction: "column",
|
|
103
|
+
options: o(y),
|
|
104
|
+
label: e.label,
|
|
105
|
+
required: e.required,
|
|
106
|
+
disabled: e.disabled,
|
|
107
|
+
error: e.error,
|
|
108
|
+
"show-radio": !1
|
|
109
|
+
}, {
|
|
110
|
+
prefix: p(({ optionValue: d }) => [
|
|
111
|
+
O(o(E), {
|
|
112
|
+
class: "sv-payment-method-selector__option-content grow",
|
|
113
|
+
"payment-method": o(h)[String(d)]
|
|
114
|
+
}, null, 8, ["payment-method"])
|
|
115
|
+
]),
|
|
116
|
+
label: p(({ option: d }) => [
|
|
117
|
+
A("span", q, f(d.label), 1)
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["modelValue", "options", "label", "required", "disabled", "error"])) : g("", !0)
|
|
121
|
+
]),
|
|
122
|
+
e.showAddOption && w.value ? (s(), u(o(I), {
|
|
123
|
+
key: 0,
|
|
124
|
+
class: "sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",
|
|
125
|
+
intent: "secondary",
|
|
126
|
+
"icon-prefix": "add",
|
|
127
|
+
type: "button",
|
|
128
|
+
size: "sm",
|
|
129
|
+
disabled: e.disabled,
|
|
130
|
+
onClick: b[1] || (b[1] = (d) => t("add-payment-method"))
|
|
131
|
+
}, {
|
|
132
|
+
default: p(() => [
|
|
133
|
+
v(f(o(r)({
|
|
134
|
+
defaultMessage: "Add payment method",
|
|
135
|
+
description: "Label of the button that adds a new payment method",
|
|
136
|
+
id: "payment_method_selector.add_payment_method"
|
|
137
|
+
})), 1)
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["disabled"])) : e.showAddOption ? (s(), u(o(x), {
|
|
141
|
+
key: 1,
|
|
142
|
+
variant: "body-sm",
|
|
143
|
+
color: "subtle",
|
|
144
|
+
tag: "p",
|
|
145
|
+
class: "sv-payment-method-selector__unavailable"
|
|
146
|
+
}, {
|
|
147
|
+
default: p(() => [
|
|
148
|
+
v(f(o(r)({
|
|
149
|
+
defaultMessage: "There are no available payment methods. Please contact support for more information.",
|
|
150
|
+
description: "Shown in place of the add button when the customer cannot add any payment method",
|
|
151
|
+
id: "payment_method_selector.no_payment_methods_available"
|
|
152
|
+
})), 1)
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
})) : g("", !0),
|
|
156
|
+
e.error && !i.value ? (s(), u(o(S), {
|
|
157
|
+
key: 2,
|
|
158
|
+
class: "sv-payment-method-selector__error",
|
|
159
|
+
message: e.error,
|
|
160
|
+
variant: "error"
|
|
161
|
+
}, null, 8, ["message"])) : g("", !0)
|
|
162
|
+
], 64))
|
|
163
|
+
]));
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
export {
|
|
167
|
+
K as _
|
|
168
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as P, ref as S, openBlock as d, createElementBlock as h, Fragment as _, renderList as E, createBlock as f, unref as e, withCtx as c, createVNode as m, createCommentVNode as y, createSlots as $, createElementVNode as v, createTextVNode as A, toDisplayString as I } from "vue";
|
|
2
|
-
import { _ as g } from "./PaymentMethod.vue.es-
|
|
3
|
-
import { _ as N } from "./ErrorNotification.vue.es-
|
|
4
|
-
import { _ as x } from "./Section.vue.es-
|
|
5
|
-
import { a as C, _ as V } from "./customElements-
|
|
6
|
-
import { M as q } from "./Modal.vue.es-
|
|
7
|
-
import { u as M } from "./useService-
|
|
8
|
-
import { c as B } from "./paymentMethods-
|
|
2
|
+
import { _ as g } from "./PaymentMethod.vue.es-Cauxx4Xr.mjs";
|
|
3
|
+
import { _ as N } from "./ErrorNotification.vue.es-CKlt4hr2.mjs";
|
|
4
|
+
import { _ as x } from "./Section.vue.es-iS8hVGWA.mjs";
|
|
5
|
+
import { a as C, _ as V } from "./customElements-Di3zwlEU.mjs";
|
|
6
|
+
import { M as q } from "./Modal.vue.es-CTNACAst.mjs";
|
|
7
|
+
import { u as M } from "./useService-B0OQJmif.mjs";
|
|
8
|
+
import { c as B } from "./paymentMethods-BUuOmDq9.mjs";
|
|
9
9
|
function R({
|
|
10
10
|
onSetDefault: s,
|
|
11
11
|
onDeleteRequest: l
|
|
@@ -60,7 +60,12 @@ const T = {
|
|
|
60
60
|
t.value = a;
|
|
61
61
|
},
|
|
62
62
|
onSetDefault: async (a) => {
|
|
63
|
-
|
|
63
|
+
try {
|
|
64
|
+
await b(a.id);
|
|
65
|
+
} catch {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
n("set-default", a);
|
|
64
69
|
}
|
|
65
70
|
});
|
|
66
71
|
function k() {
|