@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,66 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { f as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { a as
|
|
1
|
+
import { defineComponent as x, computed as k, capitalize as q, openBlock as r, createBlock as l, unref as n, mergeProps as V, withCtx as i, createTextVNode as A, toDisplayString as I, ref as b, createVNode as f, createCommentVNode as P, createElementBlock as j, Fragment as D, createElementVNode as R, normalizeClass as H, renderSlot as W } from "vue";
|
|
2
|
+
import { f as _ } from "../../formatting.es-RclXHhKo.mjs";
|
|
3
|
+
import { _ as z, a as Y } from "../../Button.vue.es-rh6mITmN.mjs";
|
|
4
|
+
import { _ as K } from "../../Checkbox.vue.es-DsyiJ-VY.mjs";
|
|
5
|
+
import { _ as Z, u as G, a as J } from "../../usePayments-CykCZPG2.mjs";
|
|
6
|
+
import { _ as Q } from "../../InvoiceSummary.vue.es-DbNoGfYN.mjs";
|
|
7
|
+
import { _ as X } from "../../Section.vue.es-iS8hVGWA.mjs";
|
|
8
|
+
import { a as U, _ as F, e as ee, g as te, f as ne } from "../../customElements-Di3zwlEU.mjs";
|
|
9
9
|
import { C as ae } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
|
|
10
|
-
import { _ as oe } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as $ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { u as ie, _ as re } from "../../usePaymentMethodAvailability-
|
|
10
|
+
import { _ as oe } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs";
|
|
11
|
+
import { _ as $ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
12
|
+
import { _ as N } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs";
|
|
13
|
+
import { u as ie, _ as re } from "../../usePaymentMethodAvailability-CnYTvG15.mjs";
|
|
14
|
+
import { u as ce } from "../../usePaymentFormHold-FfNc578l.mjs";
|
|
14
15
|
import { g as se } from "../../customer.es-B5ppZf0j.mjs";
|
|
15
|
-
import { u as le } from "../../useLoadInitialData-
|
|
16
|
-
import { u as
|
|
17
|
-
|
|
18
|
-
import { a as me } from "../../sessionReference-3h-6FdrC.mjs";
|
|
19
|
-
const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name", "disabled", "value"], pe = ["for"], ve = /* @__PURE__ */ C({
|
|
20
|
-
__name: "Checkbox",
|
|
21
|
-
props: {
|
|
22
|
-
modelValue: { type: Boolean },
|
|
23
|
-
label: {},
|
|
24
|
-
id: {},
|
|
25
|
-
name: {},
|
|
26
|
-
value: {},
|
|
27
|
-
disabled: { type: Boolean },
|
|
28
|
-
size: { default: "md" }
|
|
29
|
-
},
|
|
30
|
-
setup(e) {
|
|
31
|
-
const t = e, a = Z(t, "modelValue"), d = {
|
|
32
|
-
sm: "size-2",
|
|
33
|
-
md: "size-4"
|
|
34
|
-
}, s = P(() => d[t.size]), m = {
|
|
35
|
-
sm: "text-xs",
|
|
36
|
-
md: "text-sm"
|
|
37
|
-
}, l = P(() => m[t.size]);
|
|
38
|
-
return (o, i) => (c(), B("label", ue, [
|
|
39
|
-
_(A("input", j({ id: e.id }, o.$attrs, {
|
|
40
|
-
"onUpdate:modelValue": i[0] || (i[0] = (f) => D(a) ? a.value = f : null),
|
|
41
|
-
name: e.name,
|
|
42
|
-
disabled: e.disabled,
|
|
43
|
-
value: e.value,
|
|
44
|
-
type: "checkbox",
|
|
45
|
-
class: ["rounded checked:bg-primary-600 checked:hover:bg-primary-700", {
|
|
46
|
-
"border border-gray-300 checked:border-gray-300 checked:bg-gray-400 checked:hover:bg-gray-500": e.disabled,
|
|
47
|
-
"bg-gray-100": e.disabled && !n(a),
|
|
48
|
-
"bg-gray-300 text-primary-600": !e.disabled && n(a),
|
|
49
|
-
"cursor-pointer": !e.disabled,
|
|
50
|
-
[s.value]: !0
|
|
51
|
-
}],
|
|
52
|
-
onClickCapture: i[1] || (i[1] = F(() => {
|
|
53
|
-
}, ["stop"]))
|
|
54
|
-
}), null, 16, ye), [
|
|
55
|
-
[N, n(a)]
|
|
56
|
-
]),
|
|
57
|
-
A("span", {
|
|
58
|
-
for: e.id,
|
|
59
|
-
class: V(["leading-tight", { [l.value]: !0 }])
|
|
60
|
-
}, k(e.label), 11, pe)
|
|
61
|
-
]));
|
|
62
|
-
}
|
|
63
|
-
}), fe = /* @__PURE__ */ C({
|
|
16
|
+
import { u as le } from "../../useLoadInitialData-4k_Cyqef.mjs";
|
|
17
|
+
import { u as ue } from "../../usePaymentMethodOptions-1QBcmgUf.mjs";
|
|
18
|
+
const me = /* @__PURE__ */ x({
|
|
64
19
|
__name: "PayButton",
|
|
65
20
|
props: {
|
|
66
21
|
amount: { type: Object },
|
|
@@ -79,7 +34,7 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
79
34
|
},
|
|
80
35
|
emits: ["click"],
|
|
81
36
|
setup(e) {
|
|
82
|
-
const t = e, { $t: a } =
|
|
37
|
+
const t = e, { $t: a } = U(), d = k(() => ({
|
|
83
38
|
intent: t.intent ?? "primary",
|
|
84
39
|
disabled: t.disabled,
|
|
85
40
|
iconPrefix: t.iconPrefix,
|
|
@@ -90,11 +45,15 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
90
45
|
square: t.square,
|
|
91
46
|
tag: t.tag,
|
|
92
47
|
type: t.type
|
|
93
|
-
})),
|
|
94
|
-
var
|
|
95
|
-
switch ((
|
|
48
|
+
})), u = k(() => {
|
|
49
|
+
var s, o, y;
|
|
50
|
+
switch ((s = t.paymentMethod) == null ? void 0 : s.paymentMethodType) {
|
|
96
51
|
case "scheme":
|
|
97
|
-
return
|
|
52
|
+
return a({
|
|
53
|
+
defaultMessage: "Credit Card",
|
|
54
|
+
id: "pay_button.payment_method.card",
|
|
55
|
+
description: 'Name of card payments in the pay button label, as in "Pay €10.00 with Credit Card"'
|
|
56
|
+
});
|
|
98
57
|
case "applepay":
|
|
99
58
|
return "Apple Pay";
|
|
100
59
|
case "googlepay":
|
|
@@ -161,17 +120,17 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
161
120
|
case "openbanking_UK":
|
|
162
121
|
return "Open Banking";
|
|
163
122
|
default:
|
|
164
|
-
return (o = t.paymentMethod) != null && o.paymentMethodType ?
|
|
123
|
+
return (o = t.paymentMethod) != null && o.paymentMethodType ? q((y = t.paymentMethod) == null ? void 0 : y.paymentMethodType) : "";
|
|
165
124
|
}
|
|
166
|
-
}), m =
|
|
125
|
+
}), m = k(() => t.amount && t.paymentMethod ? a(
|
|
167
126
|
{
|
|
168
127
|
defaultMessage: "Pay {amount} with {type}",
|
|
169
128
|
id: "pay_button.label.amount_and_payment_method",
|
|
170
129
|
description: "The label for the pay button when both the amount and the payment method are known"
|
|
171
130
|
},
|
|
172
131
|
{
|
|
173
|
-
amount:
|
|
174
|
-
type:
|
|
132
|
+
amount: _(t.amount),
|
|
133
|
+
type: u.value
|
|
175
134
|
}
|
|
176
135
|
) : t.amount ? a(
|
|
177
136
|
{
|
|
@@ -180,25 +139,25 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
180
139
|
description: "The label for the pay button when only the amount is known"
|
|
181
140
|
},
|
|
182
141
|
{
|
|
183
|
-
amount:
|
|
184
|
-
type:
|
|
142
|
+
amount: _(t.amount),
|
|
143
|
+
type: u.value
|
|
185
144
|
}
|
|
186
145
|
) : a({
|
|
187
146
|
defaultMessage: "Pay",
|
|
188
147
|
id: "pay_button.label.default",
|
|
189
148
|
description: "The default label for the pay button when no amount and payment method are known"
|
|
190
149
|
}));
|
|
191
|
-
return (
|
|
150
|
+
return (s, o) => (r(), l(n(z), V(d.value, {
|
|
192
151
|
class: "w-full",
|
|
193
|
-
onClick: o[0] || (o[0] = (
|
|
152
|
+
onClick: o[0] || (o[0] = (y) => s.$emit("click", y))
|
|
194
153
|
}), {
|
|
195
|
-
default:
|
|
196
|
-
|
|
154
|
+
default: i(() => [
|
|
155
|
+
A(I(m.value), 1)
|
|
197
156
|
]),
|
|
198
157
|
_: 1
|
|
199
158
|
}, 16));
|
|
200
159
|
}
|
|
201
|
-
}),
|
|
160
|
+
}), de = { class: "mt-4" }, ye = { key: 0 }, pe = /* @__PURE__ */ x({
|
|
202
161
|
__name: "PayInvoice",
|
|
203
162
|
props: {
|
|
204
163
|
invoice: { type: Object },
|
|
@@ -207,52 +166,56 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
207
166
|
countryCode: { type: String },
|
|
208
167
|
amount: { type: Object },
|
|
209
168
|
downloadService: { type: Function },
|
|
169
|
+
refresh: { type: Function },
|
|
210
170
|
configuration: { type: Object },
|
|
211
171
|
isLoading: { type: Boolean },
|
|
212
172
|
error: { type: null }
|
|
213
173
|
},
|
|
214
174
|
setup(e) {
|
|
215
|
-
const { $t: t } =
|
|
175
|
+
const { $t: t } = U(), a = e, { availability: d } = ie({
|
|
216
176
|
paymentMethodOptions: () => a.paymentMethodOptions,
|
|
217
177
|
isLoading: () => a.isLoading,
|
|
218
178
|
context: () => {
|
|
219
|
-
var
|
|
220
|
-
return { invoiceId: (
|
|
179
|
+
var c;
|
|
180
|
+
return { invoiceId: (c = a.invoice) == null ? void 0 : c.id };
|
|
221
181
|
}
|
|
222
|
-
}),
|
|
223
|
-
function
|
|
224
|
-
if (!
|
|
182
|
+
}), u = b(), m = b(!0), s = b(), o = b(!1), { isFormHeld: y, handleActionRequired: w } = ce(o), g = b(!1), h = b(!1);
|
|
183
|
+
function S() {
|
|
184
|
+
if (!s.value)
|
|
225
185
|
throw new Error("payment integration form not found");
|
|
226
|
-
o.value = !0,
|
|
186
|
+
o.value = !0, s.value.submit();
|
|
227
187
|
}
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
|
|
188
|
+
const M = () => {
|
|
189
|
+
var c;
|
|
190
|
+
g.value = !0, o.value = !1, (c = a.refresh) == null || c.call(a), a.configuration.onPaymentSuccess && a.configuration.onPaymentSuccess();
|
|
191
|
+
}, p = () => {
|
|
231
192
|
o.value = !1;
|
|
193
|
+
}, T = (c) => {
|
|
194
|
+
o.value = !1, (c == null ? void 0 : c.code) === "PAYMENT_OUTCOME_UNCONFIRMED" && (h.value = !0);
|
|
232
195
|
};
|
|
233
|
-
return (
|
|
234
|
-
header:
|
|
235
|
-
|
|
236
|
-
default:
|
|
237
|
-
e.invoice && e.downloadService ? (
|
|
196
|
+
return (c, v) => (r(), l(n(ae), null, {
|
|
197
|
+
header: i(() => [
|
|
198
|
+
f($, { class: "min-h-[52px] w-96" }, {
|
|
199
|
+
default: i(() => [
|
|
200
|
+
e.invoice && e.downloadService ? (r(), l(n(Z), {
|
|
238
201
|
key: 0,
|
|
239
202
|
invoice: e.invoice,
|
|
240
203
|
"payment-attempts": e.paymentAttempts,
|
|
241
204
|
"download-service": () => e.downloadService(e.invoice)
|
|
242
|
-
}, null, 8, ["invoice", "payment-attempts", "download-service"])) :
|
|
205
|
+
}, null, 8, ["invoice", "payment-attempts", "download-service"])) : P("", !0)
|
|
243
206
|
]),
|
|
244
207
|
_: 1
|
|
245
208
|
})
|
|
246
209
|
]),
|
|
247
|
-
content:
|
|
248
|
-
var
|
|
210
|
+
content: i(() => {
|
|
211
|
+
var B, L;
|
|
249
212
|
return [
|
|
250
|
-
e.isLoading ? (
|
|
213
|
+
e.isLoading ? (r(), l($, {
|
|
251
214
|
key: 0,
|
|
252
215
|
variant: "section",
|
|
253
216
|
class: "min-h-[300px]"
|
|
254
|
-
})) :
|
|
255
|
-
(
|
|
217
|
+
})) : P("", !0),
|
|
218
|
+
(B = e.invoice) != null && B.paid || e.invoice && g.value ? (r(), l(N, {
|
|
256
219
|
key: 1,
|
|
257
220
|
status: "success",
|
|
258
221
|
title: n(t)({
|
|
@@ -262,20 +225,20 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
262
225
|
}),
|
|
263
226
|
class: "mt-8"
|
|
264
227
|
}, {
|
|
265
|
-
default:
|
|
266
|
-
|
|
228
|
+
default: i(() => [
|
|
229
|
+
f(n(F), {
|
|
267
230
|
variant: "body-sm",
|
|
268
231
|
class: "mt-1"
|
|
269
232
|
}, {
|
|
270
|
-
default:
|
|
271
|
-
|
|
272
|
-
|
|
233
|
+
default: i(() => [
|
|
234
|
+
f(n(Y), { icon: "check" }),
|
|
235
|
+
A(I(n(_)(e.invoice.tax_summary.total_amount)), 1)
|
|
273
236
|
]),
|
|
274
237
|
_: 1
|
|
275
238
|
})
|
|
276
239
|
]),
|
|
277
240
|
_: 1
|
|
278
|
-
}, 8, ["title"])) : e.error ? (
|
|
241
|
+
}, 8, ["title"])) : e.error ? (r(), l(N, {
|
|
279
242
|
key: 2,
|
|
280
243
|
status: "error",
|
|
281
244
|
title: n(t)({
|
|
@@ -284,13 +247,13 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
284
247
|
description: "Title shown when the invoice payment fails to load"
|
|
285
248
|
})
|
|
286
249
|
}, {
|
|
287
|
-
default:
|
|
288
|
-
|
|
250
|
+
default: i(() => [
|
|
251
|
+
f(n(F), {
|
|
289
252
|
variant: "body-sm",
|
|
290
253
|
class: "mt-1"
|
|
291
254
|
}, {
|
|
292
|
-
default:
|
|
293
|
-
|
|
255
|
+
default: i(() => [
|
|
256
|
+
A(I(n(t)({
|
|
294
257
|
id: "pay_invoice.error.description",
|
|
295
258
|
defaultMessage: "Please try again or contact support.",
|
|
296
259
|
description: "Body text shown when the invoice payment fails to load"
|
|
@@ -300,8 +263,8 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
300
263
|
})
|
|
301
264
|
]),
|
|
302
265
|
_: 1
|
|
303
|
-
}, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (
|
|
304
|
-
n(d) === "READY" ? (
|
|
266
|
+
}, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (r(), j(D, { key: 3 }, [
|
|
267
|
+
n(d) === "READY" ? (r(), l(n(X), {
|
|
305
268
|
key: 0,
|
|
306
269
|
title: n(t)({
|
|
307
270
|
id: "pay_invoice.payment_methods.title",
|
|
@@ -312,15 +275,15 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
312
275
|
"no-border": "",
|
|
313
276
|
"no-spacing": ""
|
|
314
277
|
}, {
|
|
315
|
-
default:
|
|
316
|
-
var
|
|
278
|
+
default: i(() => {
|
|
279
|
+
var C, E;
|
|
317
280
|
return [
|
|
318
|
-
|
|
319
|
-
class:
|
|
281
|
+
R("div", {
|
|
282
|
+
class: H({ "pointer-events-none opacity-60": n(y) })
|
|
320
283
|
}, [
|
|
321
|
-
|
|
284
|
+
f(oe, {
|
|
322
285
|
ref_key: "paymentIntegrationFormRef",
|
|
323
|
-
ref:
|
|
286
|
+
ref: s,
|
|
324
287
|
amount: e.amount,
|
|
325
288
|
"country-code": e.countryCode,
|
|
326
289
|
context: {
|
|
@@ -337,17 +300,19 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
337
300
|
"invoice-id": e.invoice.id,
|
|
338
301
|
"payment-method-options": e.paymentMethodOptions ?? [],
|
|
339
302
|
variant: "AUTHORIZE",
|
|
340
|
-
"billing-entity-name": (
|
|
341
|
-
onPaymentSuccess:
|
|
342
|
-
onPaymentFailed:
|
|
343
|
-
onInvalid:
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
303
|
+
"billing-entity-name": (E = (C = e.invoice) == null ? void 0 : C.billing_entity) == null ? void 0 : E.legal_name,
|
|
304
|
+
onPaymentSuccess: M,
|
|
305
|
+
onPaymentFailed: T,
|
|
306
|
+
onInvalid: p,
|
|
307
|
+
onSubmitting: v[0] || (v[0] = (O) => o.value = !0),
|
|
308
|
+
onActionRequired: n(w),
|
|
309
|
+
onSelect: v[1] || (v[1] = (O) => u.value = O)
|
|
310
|
+
}, null, 8, ["amount", "country-code", "context", "customer-id", "store-payment-method", "invoice-id", "payment-method-options", "billing-entity-name", "onActionRequired"]),
|
|
311
|
+
R("div", de, [
|
|
312
|
+
f(n(K), {
|
|
348
313
|
id: "pay-invoice-store-payment-method",
|
|
349
314
|
modelValue: m.value,
|
|
350
|
-
"onUpdate:modelValue": v[
|
|
315
|
+
"onUpdate:modelValue": v[2] || (v[2] = (O) => m.value = O),
|
|
351
316
|
label: n(t)({
|
|
352
317
|
id: "pay_invoice.store_payment_method.label",
|
|
353
318
|
defaultMessage: "Save this payment method for future payments",
|
|
@@ -359,63 +324,63 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
359
324
|
];
|
|
360
325
|
}),
|
|
361
326
|
_: 1
|
|
362
|
-
}, 8, ["title"])) : (
|
|
327
|
+
}, 8, ["title"])) : (r(), l(re, {
|
|
363
328
|
key: 1,
|
|
364
329
|
variant: "AUTHORIZE",
|
|
365
|
-
"seller-name": (
|
|
330
|
+
"seller-name": (L = e.invoice.billing_entity) == null ? void 0 : L.legal_name
|
|
366
331
|
}, {
|
|
367
|
-
default:
|
|
368
|
-
e.downloadService ? (
|
|
332
|
+
default: i(() => [
|
|
333
|
+
e.downloadService ? (r(), l(n(z), {
|
|
369
334
|
key: 0,
|
|
370
335
|
type: "button",
|
|
371
336
|
intent: "secondary",
|
|
372
|
-
onClick: v[
|
|
373
|
-
var
|
|
374
|
-
return (
|
|
337
|
+
onClick: v[3] || (v[3] = () => {
|
|
338
|
+
var C;
|
|
339
|
+
return (C = e.downloadService) == null ? void 0 : C.call(e, e.invoice);
|
|
375
340
|
})
|
|
376
341
|
}, {
|
|
377
|
-
default:
|
|
378
|
-
|
|
342
|
+
default: i(() => [
|
|
343
|
+
A(I(n(t)({
|
|
379
344
|
defaultMessage: "Download invoice",
|
|
380
345
|
description: "Button that downloads the invoice when it cannot be paid online",
|
|
381
346
|
id: "pay_invoice.unavailable.download_invoice"
|
|
382
347
|
})), 1)
|
|
383
348
|
]),
|
|
384
349
|
_: 1
|
|
385
|
-
})) :
|
|
350
|
+
})) : P("", !0)
|
|
386
351
|
]),
|
|
387
352
|
_: 1
|
|
388
353
|
}, 8, ["seller-name"]))
|
|
389
|
-
], 64)) :
|
|
354
|
+
], 64)) : P("", !0)
|
|
390
355
|
];
|
|
391
356
|
}),
|
|
392
|
-
aside:
|
|
393
|
-
|
|
357
|
+
aside: i(() => [
|
|
358
|
+
f($, {
|
|
394
359
|
variant: "section",
|
|
395
360
|
class: "min-h-[200px]"
|
|
396
361
|
}, {
|
|
397
|
-
default:
|
|
398
|
-
e.invoice ? (
|
|
362
|
+
default: i(() => [
|
|
363
|
+
e.invoice ? (r(), l(n(Q), {
|
|
399
364
|
key: 0,
|
|
400
365
|
invoice: e.invoice
|
|
401
|
-
}, null, 8, ["invoice"])) :
|
|
366
|
+
}, null, 8, ["invoice"])) : P("", !0)
|
|
402
367
|
]),
|
|
403
368
|
_: 1
|
|
404
369
|
}),
|
|
405
|
-
e.invoice && !e.invoice.paid && n(d) === "READY" ? (
|
|
406
|
-
|
|
407
|
-
disabled: !
|
|
370
|
+
e.invoice && !e.invoice.paid && !g.value && n(d) === "READY" ? (r(), j("div", ye, [
|
|
371
|
+
f(me, {
|
|
372
|
+
disabled: !u.value || o.value || h.value,
|
|
408
373
|
loading: o.value,
|
|
409
374
|
amount: e.amount,
|
|
410
|
-
"payment-method":
|
|
411
|
-
onClick:
|
|
375
|
+
"payment-method": u.value,
|
|
376
|
+
onClick: S
|
|
412
377
|
}, null, 8, ["disabled", "loading", "amount", "payment-method"])
|
|
413
|
-
])) :
|
|
378
|
+
])) : P("", !0)
|
|
414
379
|
]),
|
|
415
380
|
_: 1
|
|
416
381
|
}));
|
|
417
382
|
}
|
|
418
|
-
}),
|
|
383
|
+
}), fe = /* @__PURE__ */ x({
|
|
419
384
|
__name: "PayInvoice.entry.view",
|
|
420
385
|
props: {
|
|
421
386
|
environment: { type: String },
|
|
@@ -438,42 +403,40 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
438
403
|
const t = e, {
|
|
439
404
|
invoice: a,
|
|
440
405
|
get: d,
|
|
441
|
-
downloadInvoicePdf:
|
|
406
|
+
downloadInvoicePdf: u,
|
|
442
407
|
error: m
|
|
443
|
-
} =
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
invoiceId: u.id,
|
|
450
|
-
amount: u.open_invoice_amount
|
|
408
|
+
} = G({ invoiceId: t.configuration.invoiceId }), { payments: s, get: o } = J(), { paymentMethodOptions: y, get: w } = ue(), g = async () => {
|
|
409
|
+
const p = await d();
|
|
410
|
+
await w({
|
|
411
|
+
customerId: p.customer.id,
|
|
412
|
+
invoiceId: p.id,
|
|
413
|
+
amount: p.open_invoice_amount
|
|
451
414
|
});
|
|
452
|
-
}, { isLoading:
|
|
415
|
+
}, { isLoading: h } = le(
|
|
453
416
|
g(),
|
|
454
|
-
i(),
|
|
455
417
|
o(t.configuration.invoiceId)
|
|
456
|
-
), M =
|
|
418
|
+
), S = () => Promise.allSettled([d(), o(t.configuration.invoiceId)]), M = k(
|
|
457
419
|
() => {
|
|
458
|
-
var
|
|
459
|
-
return (
|
|
420
|
+
var p;
|
|
421
|
+
return (p = a.value) != null && p.customer ? se(a.value.customer) : void 0;
|
|
460
422
|
}
|
|
461
423
|
);
|
|
462
|
-
return (
|
|
463
|
-
var
|
|
464
|
-
return
|
|
424
|
+
return (p, T) => {
|
|
425
|
+
var c;
|
|
426
|
+
return W(p.$slots, "default", {
|
|
465
427
|
invoice: n(a),
|
|
466
|
-
isLoading: n(
|
|
467
|
-
amount: (
|
|
428
|
+
isLoading: n(h),
|
|
429
|
+
amount: (c = n(a)) == null ? void 0 : c.open_invoice_amount,
|
|
468
430
|
countryCode: M.value,
|
|
469
|
-
paymentMethodOptions: n(
|
|
470
|
-
paymentAttempts: n(
|
|
471
|
-
downloadService: n(
|
|
431
|
+
paymentMethodOptions: n(y),
|
|
432
|
+
paymentAttempts: n(s),
|
|
433
|
+
downloadService: n(u),
|
|
434
|
+
refresh: S,
|
|
472
435
|
error: n(m)
|
|
473
436
|
});
|
|
474
437
|
};
|
|
475
438
|
}
|
|
476
|
-
}),
|
|
439
|
+
}), ve = /* @__PURE__ */ x({
|
|
477
440
|
__name: "PayInvoice.entry",
|
|
478
441
|
props: {
|
|
479
442
|
environment: { type: String },
|
|
@@ -493,47 +456,55 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
493
456
|
configuration: { type: Object }
|
|
494
457
|
},
|
|
495
458
|
setup(e) {
|
|
496
|
-
const t =
|
|
497
|
-
return (a, d) =>
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
459
|
+
const t = te("pay-invoice");
|
|
460
|
+
return (a, d) => {
|
|
461
|
+
var u;
|
|
462
|
+
return r(), l(n(ee), {
|
|
463
|
+
entry: a.$props,
|
|
464
|
+
"component-name": n(t),
|
|
465
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
466
|
+
"required-configuration": { invoiceId: (u = e.configuration) == null ? void 0 : u.invoiceId },
|
|
467
|
+
onError: d[0] || (d[0] = (m) => a.$emit("error", m))
|
|
468
|
+
}, {
|
|
469
|
+
default: i(() => [
|
|
470
|
+
(r(), l(fe, V({
|
|
471
|
+
key: e.configuration.invoiceId
|
|
472
|
+
}, a.$props), {
|
|
473
|
+
default: i(({
|
|
474
|
+
invoice: m,
|
|
475
|
+
isLoading: s,
|
|
476
|
+
amount: o,
|
|
477
|
+
countryCode: y,
|
|
478
|
+
paymentMethodOptions: w,
|
|
479
|
+
paymentAttempts: g,
|
|
480
|
+
downloadService: h,
|
|
481
|
+
refresh: S,
|
|
482
|
+
error: M
|
|
483
|
+
}) => [
|
|
484
|
+
f(pe, {
|
|
485
|
+
"is-loading": s,
|
|
486
|
+
invoice: m,
|
|
487
|
+
amount: o,
|
|
488
|
+
"country-code": y,
|
|
489
|
+
"payment-method-options": w,
|
|
490
|
+
configuration: e.configuration,
|
|
491
|
+
"payment-attempts": g ?? [],
|
|
492
|
+
"download-service": h,
|
|
493
|
+
refresh: S,
|
|
494
|
+
error: M
|
|
495
|
+
}, null, 8, ["is-loading", "invoice", "amount", "country-code", "payment-method-options", "configuration", "payment-attempts", "download-service", "refresh", "error"])
|
|
496
|
+
]),
|
|
497
|
+
_: 1
|
|
498
|
+
}, 16))
|
|
499
|
+
]),
|
|
500
|
+
_: 1
|
|
501
|
+
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
502
|
+
};
|
|
532
503
|
}
|
|
533
|
-
}), { define:
|
|
534
|
-
|
|
504
|
+
}), { define: Le } = ne(
|
|
505
|
+
ve,
|
|
535
506
|
"pay-invoice"
|
|
536
507
|
);
|
|
537
508
|
export {
|
|
538
|
-
|
|
509
|
+
Le as defineSolvimonPayInvoice
|
|
539
510
|
};
|