@solvimon/solvimon-web 0.1.0-alpha.27 → 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 +126 -17
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +15 -16
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +235 -247
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +33 -37
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.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-h-D37rfG.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.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-gpMtYNzn.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-CRiFJ5x-.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +72 -73
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -293
- package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.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-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
- package/dist/{RadioGroupExtended.vue.es-9YzXzZF0.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.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-o-3Lg4Ai.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.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-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +123 -88
- package/dist/{TooltipParagraph.vue.es-B9A17aG7.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.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-Cvt6TIwv.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 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
- package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
- package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -64
- 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-DKp5LCu0.mjs → de-DE-BW8dMvhW.mjs} +72 -18
- package/dist/formControl-CsITfsBk.mjs +749 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-Cf1qDAv4.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-Byg06KWc.mjs} +72 -18
- 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-UiRWbO9S.mjs → nl-NL-x3zQqzZ7.mjs} +78 -24
- 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/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/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-B-jyJIVy.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-D9GkzY8t.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
- package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +8 -8
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
- package/dist/{usePaymentMethods-CbwnGONc.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-CykCZPG2.mjs} +7 -7
- package/dist/usePortal-CxzKGhbK.mjs +7 -0
- package/dist/useService-B0OQJmif.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +28 -55
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
- package/dist/Button.vue.es-BzkuglKw.js +0 -1
- package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
- package/dist/Chip.vue.es-B2jjzIOc.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-DUU43tCy.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
- package/dist/ErrorNotification.vue.es-tS9vySUZ.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-DgQN18Am.js +0 -1
- package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
- package/dist/Input.vue.es-B60eK8Ds.js +0 -1
- package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
- package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
- package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
- package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
- package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
- package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
- package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
- package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
- package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
- package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
- package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
- package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
- package/dist/Section.vue.es-Bbt0RITt.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
- package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
- package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
- package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
- package/dist/TrialChip.vue.es-CLQZ5F0n.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/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-C9Yqq4tg.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-B58FcXIN.mjs +0 -6633
- package/dist/customElements-DUMRMFQ5.js +0 -1215
- package/dist/customer-B3LPAhaD.mjs +0 -31
- package/dist/customer-CisTPaXj.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-DL74pMLb.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-B2XFj-_p.js +0 -1
- package/dist/en-US-DQ5vlv9Z.mjs +0 -339
- 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-CKQBLar2.js +0 -1
- package/dist/it-IT-CSYvGmpT.js +0 -1
- package/dist/it-IT-CqNK62qe.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-Dx-TNXQ1.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-CWlvwK5V.mjs +0 -77
- package/dist/paymentMethods-Cw-i95mM.js +0 -1
- package/dist/payments-2qeQdpiW.mjs +0 -45
- package/dist/payments-CS7_YcOW.js +0 -1
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BIMpDI_p.mjs +0 -29
- package/dist/pricing-BOqG21f9.js +0 -1
- 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-B_sTAIgU.js +0 -1
- package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
- 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-DcfcBYAq.mjs +0 -55
- package/dist/subscriptions-DwVsf4Ev.js +0 -1
- 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-B3AvkLL2.mjs +0 -11
- package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
- package/dist/useCustomer-BwZKd9i5.js +0 -1
- package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
- package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
- package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
- package/dist/useInvoiceData-CNV_FMV8.js +0 -1
- package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
- package/dist/useInvoicesList-S0IbQcrD.js +0 -1
- package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
- package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
- package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
- package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
- package/dist/usePayments-DDSjo0rH.js +0 -1
- package/dist/usePortal-C27omjhz.js +0 -1
- package/dist/usePortal-C5AsegpS.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BZJL0VOA.mjs +0 -210
- package/dist/useSubscription-D787IXY-.js +0 -1
- package/dist/useTimePeriod.es-rzxqUCTu.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,48 +19,47 @@ const C = "NL", re = /* @__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
|
-
}, n =
|
|
59
|
-
() =>
|
|
60
|
-
),
|
|
61
|
-
() =>
|
|
62
|
-
), T =
|
|
63
|
-
() => n.value.successRedirectLabel ??
|
|
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"
|
|
@@ -68,55 +67,47 @@ const C = "NL", re = /* @__PURE__ */ F({
|
|
|
68
67
|
);
|
|
69
68
|
function U() {
|
|
70
69
|
const { successRedirectUrl: e } = n.value;
|
|
71
|
-
e &&
|
|
70
|
+
e && W(e);
|
|
72
71
|
}
|
|
73
|
-
const x =
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const o = D(t.customer);
|
|
79
|
-
if (o)
|
|
80
|
-
return e = o, e;
|
|
81
|
-
}
|
|
82
|
-
return C;
|
|
83
|
-
}), B = s(() => {
|
|
84
|
-
const e = n.value.variant, o = j(t.customer), u = {
|
|
85
|
-
amount: n.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
|
-
...
|
|
80
|
+
...s ? { name: s } : {},
|
|
90
81
|
validateOnSubmit: n.value.validateOnSubmit,
|
|
91
82
|
forceStorePaymentMethod: n.value.forceStorePaymentMethod,
|
|
92
83
|
selectedOption: n.value.selectedOption,
|
|
93
84
|
invoiceId: n.value.invoiceId
|
|
94
85
|
};
|
|
95
86
|
return e === "AUTHORIZE" ? {
|
|
96
|
-
...
|
|
87
|
+
...p,
|
|
97
88
|
variant: e,
|
|
98
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
99
|
class: "sv-payment-method-form sv-root sv-component sv-loading min-h-[180px]"
|
|
109
|
-
})) :
|
|
100
|
+
})) : a(A) === "UNAVAILABLE" ? (m(), r(J, {
|
|
110
101
|
key: 1,
|
|
111
102
|
class: "sv-payment-method-form sv-root sv-component",
|
|
112
103
|
variant: n.value.variant ?? "TOKENIZE"
|
|
113
|
-
}, null, 8, ["variant"])) : (
|
|
104
|
+
}, null, 8, ["variant"])) : (m(), r(a(D), {
|
|
114
105
|
key: 2,
|
|
115
106
|
class: "sv-payment-method-form sv-root sv-component",
|
|
116
107
|
"no-border": "",
|
|
117
108
|
"no-spacing": "",
|
|
118
109
|
"content-background": "none",
|
|
119
|
-
title: l.title ??
|
|
110
|
+
title: l.title ?? a(c)({
|
|
120
111
|
defaultMessage: "Available payment methods",
|
|
121
112
|
description: "Title of the available payment methods form",
|
|
122
113
|
id: "components.payment_method_form.section_title"
|
|
@@ -124,20 +115,21 @@ const C = "NL", re = /* @__PURE__ */ F({
|
|
|
124
115
|
}, {
|
|
125
116
|
default: f(() => [
|
|
126
117
|
$("div", {
|
|
127
|
-
class: V({ "pointer-events-none opacity-60": a
|
|
118
|
+
class: V({ "pointer-events-none opacity-60": a(L) })
|
|
128
119
|
}, [
|
|
129
|
-
Z(Y,
|
|
120
|
+
Z(Y, q({
|
|
130
121
|
ref_key: "paymentIntegrationFormRef",
|
|
131
|
-
ref:
|
|
122
|
+
ref: d,
|
|
132
123
|
class: "sv-payment-method-form__integration"
|
|
133
124
|
}, B.value, {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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"])
|
|
139
131
|
], 2),
|
|
140
|
-
|
|
132
|
+
k.value ? (m(), r(a(g), {
|
|
141
133
|
key: 0,
|
|
142
134
|
intent: "primary",
|
|
143
135
|
class: "mt-4 w-full",
|
|
@@ -147,23 +139,23 @@ const C = "NL", re = /* @__PURE__ */ F({
|
|
|
147
139
|
_(b(T.value), 1)
|
|
148
140
|
]),
|
|
149
141
|
_: 1
|
|
150
|
-
})) : !l.hideSubmitButton && !
|
|
142
|
+
})) : !l.hideSubmitButton && !u.value ? (m(), r(a(g), {
|
|
151
143
|
key: 1,
|
|
152
144
|
intent: "primary",
|
|
153
145
|
class: "mt-4 w-full",
|
|
154
|
-
loading:
|
|
146
|
+
loading: o.value,
|
|
155
147
|
onClick: h
|
|
156
148
|
}, {
|
|
157
149
|
default: f(() => [
|
|
158
150
|
_(b(P.value), 1)
|
|
159
151
|
]),
|
|
160
152
|
_: 1
|
|
161
|
-
}, 8, ["loading"])) :
|
|
153
|
+
}, 8, ["loading"])) : w("", !0)
|
|
162
154
|
]),
|
|
163
155
|
_: 1
|
|
164
156
|
}, 8, ["title"]));
|
|
165
157
|
}
|
|
166
158
|
});
|
|
167
159
|
export {
|
|
168
|
-
|
|
160
|
+
le as _
|
|
169
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() {
|