@solvimon/solvimon-web 0.1.0-alpha.27 → 0.1.0-alpha.29
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 +151 -17
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
- package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- 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-DweyzpkL.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
- package/dist/components/Invoice/Invoice.mjs +2691 -227
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
- package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
- package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
- package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/customer-BIjC0CWJ.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
- package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
- package/dist/paymentMethods-B_82JGk_.mjs +77 -0
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
- package/dist/pricingPlanSchedules-Dv7ZCgNp.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 +146 -94
- package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-CVyKw23D.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -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 +22 -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/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- 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 +47 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- 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 +2 -2
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -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/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -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/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- 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/core/types.d.ts +5 -0
- 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 +5 -1
- 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/translations/supported.d.ts +1 -1
- package/dist/types/types/errors.d.ts +3 -2
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- 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-3W2vEyIg.mjs +9 -0
- package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
- package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
- package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/usePortal-CwR_FxTb.mjs +7 -0
- package/dist/useService-BZcbUZHI.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +33 -60
- 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-BCM8tmZN.mjs +0 -38
- 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/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- 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/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
- 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-9YzXzZF0.mjs +0 -163
- 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/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
- 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-C1kTiW-H.mjs +0 -5234
- 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-B9A17aG7.mjs +0 -129
- 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-B5ppZf0j.mjs +0 -20
- 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/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- 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-BZIz7-0d.mjs +0 -4
- 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-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-D9GkzY8t.mjs +0 -15
- 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-CbwnGONc.mjs +0 -15
- 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,70 +1,53 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { f as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { _ as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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({
|
|
1
|
+
import { defineComponent as $, computed as g, capitalize as ae, openBlock as u, createBlock as p, unref as t, mergeProps as K, withCtx as i, createTextVNode as T, toDisplayString as k, ref as w, createElementVNode as O, createVNode as r, createCommentVNode as M, createElementBlock as E, Fragment as R, watch as ne, normalizeClass as oe, renderSlot as ie } from "vue";
|
|
2
|
+
import { a as re, f as B } from "../../formatting.es-RclXHhKo.mjs";
|
|
3
|
+
import { _ as G, a as se } from "../../Button.vue.es-Zw--kuaU.mjs";
|
|
4
|
+
import { _ as de, a as ce } from "../../OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs";
|
|
5
|
+
import { _ as le } from "../../DividerText.vue.es-CNbgif-3.mjs";
|
|
6
|
+
import { _ as me } from "../../ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
7
|
+
import { _ as ue, u as ye, a as pe } from "../../usePayments-BXABv-lF.mjs";
|
|
8
|
+
import { _ as N } from "../../Section.vue.es-CvX9tg2f.mjs";
|
|
9
|
+
import { a as U, e as ve, d as I, g as fe, h as he, j as ge } from "../../customElements-BTj4ii4f.mjs";
|
|
10
|
+
import { g as _e, _ as be } from "../../PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs";
|
|
11
|
+
import { a as Pe, u as we } from "../../paymentMethods-Nfv9HdkS.mjs";
|
|
12
|
+
import { C as Me } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
|
|
13
|
+
import { _ as Ae } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs";
|
|
14
|
+
import { _ as L } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
15
|
+
import { _ as W } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs";
|
|
16
|
+
import { u as Se, _ as Ie } from "../../usePaymentMethodAvailability-DUdrs0Ji.mjs";
|
|
17
|
+
import { u as Oe } from "../../usePaymentFormHold-ByUZi3A-.mjs";
|
|
18
|
+
import { c as Te } from "../../payments-BnxbzQUC.mjs";
|
|
19
|
+
import { b as ke, i as Ce, a as xe } from "../../paymentOutcome-BXEU5-84.mjs";
|
|
20
|
+
import { _ as Z } from "../../Amount.vue.es-DPqHB8Xd.mjs";
|
|
21
|
+
import { _ as Ee } from "../../Divider.vue.es-DnP_HqLz.mjs";
|
|
22
|
+
import { _ as $e } from "../../TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs";
|
|
23
|
+
import { s as Ne } from "../../amount-CondixVt.mjs";
|
|
24
|
+
import { g as De } from "../../invoiceState-BJVHaKs7.mjs";
|
|
25
|
+
import { _ as Fe } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs";
|
|
26
|
+
import { _ as Le } from "../../PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs";
|
|
27
|
+
import { g as Re } from "../../customer.es-DQKl6wFt.mjs";
|
|
28
|
+
import { u as Be } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
29
|
+
import { u as Ue, D as je } from "../../usePaymentMethods-ByaKF7mf.mjs";
|
|
30
|
+
function Ve(e, a, n = /* @__PURE__ */ new Date()) {
|
|
31
|
+
return e.flatMap((y) => {
|
|
32
|
+
const c = a.find(
|
|
33
|
+
({ integration: s }) => !!y.integration_id && (s == null ? void 0 : s.id) === y.integration_id
|
|
34
|
+
);
|
|
35
|
+
return c && Pe(y, n) ? [{ paymentMethod: y, paymentAcceptorId: c.payment_acceptor.id }] : [];
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function ze(e) {
|
|
39
|
+
var a;
|
|
40
|
+
return (a = e.find(({ is_default: n }) => n) ?? e[0]) == null ? void 0 : a.id;
|
|
41
|
+
}
|
|
42
|
+
function He(e) {
|
|
43
|
+
return e.type === "CARD" && e.card.last_four_digits ? [e.card.brand ? re(e.card.brand) : void 0, `•••• ${e.card.last_four_digits}`].filter(Boolean).join(" ") : _e(e);
|
|
44
|
+
}
|
|
45
|
+
const Ye = /* @__PURE__ */ $({
|
|
64
46
|
__name: "PayButton",
|
|
65
47
|
props: {
|
|
66
48
|
amount: { type: Object },
|
|
67
49
|
paymentMethod: { type: Object },
|
|
50
|
+
paymentMethodLabel: { type: String },
|
|
68
51
|
type: { type: String },
|
|
69
52
|
intent: { type: String },
|
|
70
53
|
size: { type: String },
|
|
@@ -79,22 +62,26 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
79
62
|
},
|
|
80
63
|
emits: ["click"],
|
|
81
64
|
setup(e) {
|
|
82
|
-
const
|
|
83
|
-
intent:
|
|
84
|
-
disabled:
|
|
85
|
-
iconPrefix:
|
|
86
|
-
iconSuffix:
|
|
87
|
-
loading:
|
|
88
|
-
pill:
|
|
89
|
-
size:
|
|
90
|
-
square:
|
|
91
|
-
tag:
|
|
92
|
-
type:
|
|
93
|
-
})),
|
|
94
|
-
var l, o,
|
|
95
|
-
switch ((l =
|
|
65
|
+
const a = e, { $t: n } = U(), y = g(() => ({
|
|
66
|
+
intent: a.intent ?? "primary",
|
|
67
|
+
disabled: a.disabled,
|
|
68
|
+
iconPrefix: a.iconPrefix,
|
|
69
|
+
iconSuffix: a.iconSuffix,
|
|
70
|
+
loading: a.loading,
|
|
71
|
+
pill: a.pill,
|
|
72
|
+
size: a.size ?? "lg",
|
|
73
|
+
square: a.square,
|
|
74
|
+
tag: a.tag,
|
|
75
|
+
type: a.type
|
|
76
|
+
})), c = g(() => {
|
|
77
|
+
var l, o, m;
|
|
78
|
+
switch ((l = a.paymentMethod) == null ? void 0 : l.paymentMethodType) {
|
|
96
79
|
case "scheme":
|
|
97
|
-
return
|
|
80
|
+
return n({
|
|
81
|
+
defaultMessage: "Credit Card",
|
|
82
|
+
id: "pay_button.payment_method.card",
|
|
83
|
+
description: 'Name of card payments in the pay button label, as in "Pay €10.00 with Credit Card"'
|
|
84
|
+
});
|
|
98
85
|
case "applepay":
|
|
99
86
|
return "Apple Pay";
|
|
100
87
|
case "googlepay":
|
|
@@ -161,136 +148,396 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
161
148
|
case "openbanking_UK":
|
|
162
149
|
return "Open Banking";
|
|
163
150
|
default:
|
|
164
|
-
return (o =
|
|
151
|
+
return (o = a.paymentMethod) != null && o.paymentMethodType ? ae((m = a.paymentMethod) == null ? void 0 : m.paymentMethodType) : "";
|
|
165
152
|
}
|
|
166
|
-
}),
|
|
153
|
+
}), s = g(() => a.amount && (a.paymentMethod || a.paymentMethodLabel) ? n(
|
|
167
154
|
{
|
|
168
155
|
defaultMessage: "Pay {amount} with {type}",
|
|
169
156
|
id: "pay_button.label.amount_and_payment_method",
|
|
170
157
|
description: "The label for the pay button when both the amount and the payment method are known"
|
|
171
158
|
},
|
|
172
159
|
{
|
|
173
|
-
amount:
|
|
174
|
-
type:
|
|
160
|
+
amount: B(a.amount),
|
|
161
|
+
type: a.paymentMethodLabel ?? c.value
|
|
175
162
|
}
|
|
176
|
-
) :
|
|
163
|
+
) : a.amount ? n(
|
|
177
164
|
{
|
|
178
165
|
defaultMessage: "Pay {amount}",
|
|
179
166
|
id: "pay_button.label.amount_only",
|
|
180
167
|
description: "The label for the pay button when only the amount is known"
|
|
181
168
|
},
|
|
182
169
|
{
|
|
183
|
-
amount:
|
|
184
|
-
type:
|
|
170
|
+
amount: B(a.amount),
|
|
171
|
+
type: c.value
|
|
185
172
|
}
|
|
186
|
-
) :
|
|
173
|
+
) : n({
|
|
187
174
|
defaultMessage: "Pay",
|
|
188
175
|
id: "pay_button.label.default",
|
|
189
176
|
description: "The default label for the pay button when no amount and payment method are known"
|
|
190
177
|
}));
|
|
191
|
-
return (l, o) => (
|
|
178
|
+
return (l, o) => (u(), p(t(G), K(y.value, {
|
|
192
179
|
class: "w-full",
|
|
193
|
-
onClick: o[0] || (o[0] = (
|
|
180
|
+
onClick: o[0] || (o[0] = (m) => l.$emit("click", m))
|
|
194
181
|
}), {
|
|
195
|
-
default:
|
|
196
|
-
|
|
182
|
+
default: i(() => [
|
|
183
|
+
T(k(s.value), 1)
|
|
197
184
|
]),
|
|
198
185
|
_: 1
|
|
199
186
|
}, 16));
|
|
200
187
|
}
|
|
201
|
-
})
|
|
188
|
+
});
|
|
189
|
+
function qe() {
|
|
190
|
+
const { chargeStoredPaymentMethod: e } = Te(), a = ve(), n = w(!1);
|
|
191
|
+
return { isPending: n, charge: async (c) => {
|
|
192
|
+
if (n.value) return "UNCONFIRMED";
|
|
193
|
+
n.value = !0;
|
|
194
|
+
const s = {
|
|
195
|
+
paymentAcceptorId: c.paymentAcceptorId,
|
|
196
|
+
invoiceId: c.invoiceId
|
|
197
|
+
};
|
|
198
|
+
try {
|
|
199
|
+
const l = await e(c), o = ke(l);
|
|
200
|
+
return o === "FAILED" && a.error(
|
|
201
|
+
"PAYMENT_AUTHORIZATION_FAILED",
|
|
202
|
+
"Failed to charge the invoice to a stored payment method",
|
|
203
|
+
{
|
|
204
|
+
...s,
|
|
205
|
+
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
206
|
+
status: l.status
|
|
207
|
+
}
|
|
208
|
+
), o;
|
|
209
|
+
} catch (l) {
|
|
210
|
+
return a.error(
|
|
211
|
+
"PAYMENT_AUTHORIZATION_FAILED",
|
|
212
|
+
"Failed to charge the invoice to a stored payment method",
|
|
213
|
+
{ ...s, reason: "PAYMENT_AUTHORIZATION_FAILED" },
|
|
214
|
+
l
|
|
215
|
+
), Ce(l) ? "UNCONFIRMED" : "FAILED";
|
|
216
|
+
} finally {
|
|
217
|
+
n.value = !1;
|
|
218
|
+
}
|
|
219
|
+
} };
|
|
220
|
+
}
|
|
221
|
+
const We = { class: "sv-order-summary__body grid grid-cols-1 gap-1" }, Ze = { class: "flex flex-row gap-3 px-3 py-2" }, Ke = { class: "min-w-0 grow" }, Ge = { class: "sv-invoice-order-summary__paid flex flex-row gap-2 py-1.5" }, Je = { class: "sv-invoice-order-summary__due flex flex-row gap-2 py-1.5" }, Qe = /* @__PURE__ */ $({
|
|
222
|
+
__name: "InvoiceOrderSummary",
|
|
223
|
+
props: {
|
|
224
|
+
invoice: { type: Object },
|
|
225
|
+
isPaid: { type: Boolean }
|
|
226
|
+
},
|
|
227
|
+
setup(e) {
|
|
228
|
+
const a = e, { $t: n, formatDate: y } = U(), c = g(() => ({
|
|
229
|
+
"invoice_preview.total_due_today_heading": n({
|
|
230
|
+
defaultMessage: "Total",
|
|
231
|
+
id: "pay_invoice.order_summary.total_heading",
|
|
232
|
+
description: 'Heading of the invoice total in the order summary of the pay invoice screen, replacing the shared preview’s "Total due today"'
|
|
233
|
+
})
|
|
234
|
+
})), s = g(() => a.invoice.open_invoice_amount), l = (m) => m.startsWith("-") ? m.slice(1) : `-${m}`, o = g(() => {
|
|
235
|
+
const m = a.invoice.tax_summary.total_amount, f = s.value;
|
|
236
|
+
if (!(a.isPaid || a.invoice.paid || !f) && Number(f.quantity) !== Number(m.quantity))
|
|
237
|
+
return Ne(
|
|
238
|
+
[m, { ...f, quantity: l(f.quantity) }],
|
|
239
|
+
a.invoice.billing_currency
|
|
240
|
+
);
|
|
241
|
+
});
|
|
242
|
+
return (m, f) => (u(), p(t(N), {
|
|
243
|
+
class: "sv-order-summary sv-invoice-order-summary",
|
|
244
|
+
"no-border": "",
|
|
245
|
+
"no-spacing": "",
|
|
246
|
+
"content-background": "none",
|
|
247
|
+
title: t(n)({
|
|
248
|
+
defaultMessage: "Invoice summary",
|
|
249
|
+
id: "pay_invoice.order_summary.title",
|
|
250
|
+
description: "Title of the block listing what the invoice being paid is for"
|
|
251
|
+
})
|
|
252
|
+
}, {
|
|
253
|
+
default: i(() => [
|
|
254
|
+
O("div", We, [
|
|
255
|
+
r(t(N), {
|
|
256
|
+
"no-spacing": "",
|
|
257
|
+
class: "sv-invoice-order-summary__invoice"
|
|
258
|
+
}, {
|
|
259
|
+
default: i(() => [
|
|
260
|
+
O("div", Ze, [
|
|
261
|
+
O("div", Ke, [
|
|
262
|
+
r(t(I), {
|
|
263
|
+
variant: "body",
|
|
264
|
+
weight: "semibold",
|
|
265
|
+
"no-spacing": "",
|
|
266
|
+
class: "truncate"
|
|
267
|
+
}, {
|
|
268
|
+
default: i(() => [
|
|
269
|
+
T(k(t(n)(
|
|
270
|
+
{
|
|
271
|
+
defaultMessage: "Invoice {number}",
|
|
272
|
+
id: "pay_invoice.order_summary.invoice_number",
|
|
273
|
+
description: "Names the invoice being paid at the top of its order summary"
|
|
274
|
+
},
|
|
275
|
+
{ number: e.invoice.invoice_number }
|
|
276
|
+
)), 1)
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}),
|
|
280
|
+
e.invoice.due_date ? (u(), p(t(I), {
|
|
281
|
+
key: 0,
|
|
282
|
+
variant: "body-xs",
|
|
283
|
+
color: "subtle",
|
|
284
|
+
"no-spacing": "",
|
|
285
|
+
class: "sv-invoice-order-summary__due-date"
|
|
286
|
+
}, {
|
|
287
|
+
default: i(() => [
|
|
288
|
+
T(k(t(n)(
|
|
289
|
+
{
|
|
290
|
+
defaultMessage: "Due on {date}",
|
|
291
|
+
id: "pay_invoice.order_summary.due_date",
|
|
292
|
+
description: "When the invoice being paid is due, under its number in the order summary"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
date: t(y)({
|
|
296
|
+
date: e.invoice.due_date,
|
|
297
|
+
format: "date",
|
|
298
|
+
timezone: t(De)(e.invoice),
|
|
299
|
+
offsetType: "offsetted"
|
|
300
|
+
})
|
|
301
|
+
}
|
|
302
|
+
)), 1)
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
})) : M("", !0)
|
|
306
|
+
])
|
|
307
|
+
])
|
|
308
|
+
]),
|
|
309
|
+
_: 1
|
|
310
|
+
}),
|
|
311
|
+
r($e, { messages: c.value }, {
|
|
312
|
+
default: i(() => [
|
|
313
|
+
r(de, {
|
|
314
|
+
invoice: e.invoice,
|
|
315
|
+
"is-paid": e.isPaid
|
|
316
|
+
}, {
|
|
317
|
+
default: i(() => [
|
|
318
|
+
o.value && s.value ? (u(), E(R, { key: 0 }, [
|
|
319
|
+
O("div", Ge, [
|
|
320
|
+
r(t(I), {
|
|
321
|
+
tag: "span",
|
|
322
|
+
variant: "body-xs",
|
|
323
|
+
class: "grow"
|
|
324
|
+
}, {
|
|
325
|
+
default: i(() => [
|
|
326
|
+
T(k(t(n)({
|
|
327
|
+
defaultMessage: "Already paid",
|
|
328
|
+
id: "pay_invoice.order_summary.already_paid",
|
|
329
|
+
description: "What has been paid on the invoice so far, in its order summary"
|
|
330
|
+
})), 1)
|
|
331
|
+
]),
|
|
332
|
+
_: 1
|
|
333
|
+
}),
|
|
334
|
+
r(t(I), {
|
|
335
|
+
tag: "span",
|
|
336
|
+
variant: "body-xs"
|
|
337
|
+
}, {
|
|
338
|
+
default: i(() => [
|
|
339
|
+
r(t(Z), { value: o.value }, null, 8, ["value"])
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
})
|
|
343
|
+
]),
|
|
344
|
+
r(t(Ee), { spacing: "xxs" }),
|
|
345
|
+
O("div", Je, [
|
|
346
|
+
r(t(I), {
|
|
347
|
+
tag: "span",
|
|
348
|
+
variant: "body-sm",
|
|
349
|
+
weight: "semibold",
|
|
350
|
+
class: "grow"
|
|
351
|
+
}, {
|
|
352
|
+
default: i(() => [
|
|
353
|
+
T(k(t(n)({
|
|
354
|
+
defaultMessage: "Amount due",
|
|
355
|
+
id: "pay_invoice.order_summary.amount_due",
|
|
356
|
+
description: "What is still to be paid on the invoice, in its order summary"
|
|
357
|
+
})), 1)
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}),
|
|
361
|
+
r(t(I), {
|
|
362
|
+
tag: "span",
|
|
363
|
+
variant: "body-sm",
|
|
364
|
+
weight: "semibold"
|
|
365
|
+
}, {
|
|
366
|
+
default: i(() => [
|
|
367
|
+
r(t(Z), { value: s.value }, null, 8, ["value"])
|
|
368
|
+
]),
|
|
369
|
+
_: 1
|
|
370
|
+
})
|
|
371
|
+
])
|
|
372
|
+
], 64)) : M("", !0)
|
|
373
|
+
]),
|
|
374
|
+
_: 1
|
|
375
|
+
}, 8, ["invoice", "is-paid"])
|
|
376
|
+
]),
|
|
377
|
+
_: 1
|
|
378
|
+
}, 8, ["messages"])
|
|
379
|
+
])
|
|
380
|
+
]),
|
|
381
|
+
_: 1
|
|
382
|
+
}, 8, ["title"]));
|
|
383
|
+
}
|
|
384
|
+
}), Xe = {
|
|
385
|
+
key: 1,
|
|
386
|
+
class: "grid grid-cols-1 gap-6"
|
|
387
|
+
}, et = ["aria-label"], tt = ["inert"], at = { class: "mt-4" }, nt = {
|
|
388
|
+
key: 0,
|
|
389
|
+
class: "flex flex-col gap-2"
|
|
390
|
+
}, ot = /* @__PURE__ */ $({
|
|
202
391
|
__name: "PayInvoice",
|
|
203
392
|
props: {
|
|
204
393
|
invoice: { type: Object },
|
|
205
394
|
paymentMethodOptions: { type: Array },
|
|
395
|
+
paymentMethods: { default: () => [], type: Array },
|
|
206
396
|
paymentAttempts: { default: () => [], type: Array },
|
|
207
397
|
countryCode: { type: String },
|
|
208
398
|
amount: { type: Object },
|
|
209
399
|
downloadService: { type: Function },
|
|
400
|
+
refresh: { type: Function },
|
|
210
401
|
configuration: { type: Object },
|
|
211
402
|
isLoading: { type: Boolean },
|
|
212
403
|
error: { type: null }
|
|
213
404
|
},
|
|
214
405
|
setup(e) {
|
|
215
|
-
const { $t:
|
|
216
|
-
paymentMethodOptions: () =>
|
|
217
|
-
isLoading: () =>
|
|
406
|
+
const { $t: a } = U(), n = e, { availability: y } = Se({
|
|
407
|
+
paymentMethodOptions: () => n.paymentMethodOptions,
|
|
408
|
+
isLoading: () => n.isLoading,
|
|
218
409
|
context: () => {
|
|
219
|
-
var
|
|
220
|
-
return { invoiceId: (
|
|
410
|
+
var d;
|
|
411
|
+
return { invoiceId: (d = n.invoice) == null ? void 0 : d.id };
|
|
412
|
+
}
|
|
413
|
+
}), c = w(), s = w(!0), l = w(), o = w(!1), { isFormHeld: m, handleActionRequired: f } = Oe(o), S = w(!1), C = w(!1), _ = g(
|
|
414
|
+
() => Ve(n.paymentMethods, n.paymentMethodOptions ?? [])
|
|
415
|
+
), b = w();
|
|
416
|
+
ne(
|
|
417
|
+
_,
|
|
418
|
+
(d) => {
|
|
419
|
+
b.value || (b.value = ze(
|
|
420
|
+
d.map(({ paymentMethod: v }) => v)
|
|
421
|
+
));
|
|
422
|
+
},
|
|
423
|
+
{ immediate: !0 }
|
|
424
|
+
);
|
|
425
|
+
const P = g(
|
|
426
|
+
() => _.value.find(
|
|
427
|
+
({ paymentMethod: d }) => d.id === b.value
|
|
428
|
+
)
|
|
429
|
+
), D = (d) => {
|
|
430
|
+
c.value = d, d.isAutomatic || (b.value = void 0);
|
|
431
|
+
}, h = g(
|
|
432
|
+
() => a({
|
|
433
|
+
id: "pay_invoice.stored_payment_methods.title",
|
|
434
|
+
defaultMessage: "Your payment methods",
|
|
435
|
+
description: "Section title above the payment methods the customer stored before, on the pay invoice screen"
|
|
436
|
+
})
|
|
437
|
+
), { charge: j } = qe(), x = w(!1), F = w(), J = async () => {
|
|
438
|
+
const d = P.value;
|
|
439
|
+
if (!d || !n.invoice || !n.amount) return;
|
|
440
|
+
o.value = !0, x.value = !1;
|
|
441
|
+
const v = await j({
|
|
442
|
+
paymentAcceptorId: d.paymentAcceptorId,
|
|
443
|
+
customerId: n.invoice.customer.id,
|
|
444
|
+
paymentMethodId: d.paymentMethod.id,
|
|
445
|
+
invoiceId: n.invoice.id,
|
|
446
|
+
amount: n.amount
|
|
447
|
+
});
|
|
448
|
+
if (v === "SUCCEEDED") {
|
|
449
|
+
V();
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
if (o.value = !1, v === "UNCONFIRMED") {
|
|
453
|
+
C.value = !0, F.value = xe({
|
|
454
|
+
code: "PAYMENT_OUTCOME_UNCONFIRMED",
|
|
455
|
+
message: "The charge to the stored payment method could not be confirmed"
|
|
456
|
+
});
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
x.value = !0;
|
|
460
|
+
};
|
|
461
|
+
function Q() {
|
|
462
|
+
if (P.value) {
|
|
463
|
+
J();
|
|
464
|
+
return;
|
|
221
465
|
}
|
|
222
|
-
}), s = x(), m = x(!0), l = x(), o = x(!1);
|
|
223
|
-
function i() {
|
|
224
466
|
if (!l.value)
|
|
225
467
|
throw new Error("payment integration form not found");
|
|
226
468
|
o.value = !0, l.value.submit();
|
|
227
469
|
}
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
|
|
470
|
+
const X = g(
|
|
471
|
+
() => !!(P.value || c.value) && !o.value && !C.value
|
|
472
|
+
), V = () => {
|
|
473
|
+
var d;
|
|
474
|
+
S.value = !0, o.value = !1, (d = n.refresh) == null || d.call(n), n.configuration.onPaymentSuccess && n.configuration.onPaymentSuccess();
|
|
475
|
+
}, ee = () => {
|
|
231
476
|
o.value = !1;
|
|
477
|
+
}, te = (d) => {
|
|
478
|
+
o.value = !1, (d == null ? void 0 : d.code) === "PAYMENT_OUTCOME_UNCONFIRMED" && (C.value = !0);
|
|
232
479
|
};
|
|
233
|
-
return (
|
|
234
|
-
header:
|
|
235
|
-
|
|
236
|
-
default:
|
|
237
|
-
e.invoice && e.downloadService ? (
|
|
480
|
+
return (d, v) => (u(), p(t(Me), null, {
|
|
481
|
+
header: i(() => [
|
|
482
|
+
r(L, { class: "min-h-[52px] w-96" }, {
|
|
483
|
+
default: i(() => [
|
|
484
|
+
e.invoice && e.downloadService ? (u(), p(t(ue), {
|
|
238
485
|
key: 0,
|
|
239
486
|
invoice: e.invoice,
|
|
240
487
|
"payment-attempts": e.paymentAttempts,
|
|
241
488
|
"download-service": () => e.downloadService(e.invoice)
|
|
242
|
-
}, null, 8, ["invoice", "payment-attempts", "download-service"])) :
|
|
489
|
+
}, null, 8, ["invoice", "payment-attempts", "download-service"])) : M("", !0)
|
|
243
490
|
]),
|
|
244
491
|
_: 1
|
|
245
492
|
})
|
|
246
493
|
]),
|
|
247
|
-
content:
|
|
248
|
-
var
|
|
494
|
+
content: i(() => {
|
|
495
|
+
var z, H;
|
|
249
496
|
return [
|
|
250
|
-
e.isLoading ? (
|
|
497
|
+
e.isLoading ? (u(), p(L, {
|
|
251
498
|
key: 0,
|
|
252
499
|
variant: "section",
|
|
253
500
|
class: "min-h-[300px]"
|
|
254
|
-
})) :
|
|
255
|
-
(
|
|
501
|
+
})) : M("", !0),
|
|
502
|
+
(z = e.invoice) != null && z.paid || e.invoice && S.value ? (u(), p(W, {
|
|
256
503
|
key: 1,
|
|
257
504
|
status: "success",
|
|
258
|
-
title:
|
|
505
|
+
title: t(a)({
|
|
259
506
|
id: "pay_invoice.paid.title",
|
|
260
507
|
defaultMessage: "Thank you for your payment!",
|
|
261
508
|
description: "Title shown when the invoice has already been paid"
|
|
262
509
|
}),
|
|
263
510
|
class: "mt-8"
|
|
264
511
|
}, {
|
|
265
|
-
default:
|
|
266
|
-
|
|
512
|
+
default: i(() => [
|
|
513
|
+
r(t(I), {
|
|
267
514
|
variant: "body-sm",
|
|
268
515
|
class: "mt-1"
|
|
269
516
|
}, {
|
|
270
|
-
default:
|
|
271
|
-
|
|
272
|
-
|
|
517
|
+
default: i(() => [
|
|
518
|
+
r(t(se), { icon: "check" }),
|
|
519
|
+
T(k(t(B)(e.invoice.tax_summary.total_amount)), 1)
|
|
273
520
|
]),
|
|
274
521
|
_: 1
|
|
275
522
|
})
|
|
276
523
|
]),
|
|
277
524
|
_: 1
|
|
278
|
-
}, 8, ["title"])) : e.error ? (
|
|
525
|
+
}, 8, ["title"])) : e.error ? (u(), p(W, {
|
|
279
526
|
key: 2,
|
|
280
527
|
status: "error",
|
|
281
|
-
title:
|
|
528
|
+
title: t(a)({
|
|
282
529
|
id: "pay_invoice.error.title",
|
|
283
530
|
defaultMessage: "Something went wrong",
|
|
284
531
|
description: "Title shown when the invoice payment fails to load"
|
|
285
532
|
})
|
|
286
533
|
}, {
|
|
287
|
-
default:
|
|
288
|
-
|
|
534
|
+
default: i(() => [
|
|
535
|
+
r(t(I), {
|
|
289
536
|
variant: "body-sm",
|
|
290
537
|
class: "mt-1"
|
|
291
538
|
}, {
|
|
292
|
-
default:
|
|
293
|
-
|
|
539
|
+
default: i(() => [
|
|
540
|
+
T(k(t(a)({
|
|
294
541
|
id: "pay_invoice.error.description",
|
|
295
542
|
defaultMessage: "Please try again or contact support.",
|
|
296
543
|
description: "Body text shown when the invoice payment fails to load"
|
|
@@ -300,124 +547,188 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
300
547
|
})
|
|
301
548
|
]),
|
|
302
549
|
_: 1
|
|
303
|
-
}, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (
|
|
304
|
-
|
|
550
|
+
}, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (u(), E(R, { key: 3 }, [
|
|
551
|
+
t(y) === "READY" && F.value ? (u(), p(Le, {
|
|
305
552
|
key: 0,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
553
|
+
class: "sv-pay-invoice__stored-payment-unconfirmed",
|
|
554
|
+
error: F.value
|
|
555
|
+
}, null, 8, ["error"])) : t(y) === "READY" ? (u(), E("div", Xe, [
|
|
556
|
+
_.value.length ? (u(), E(R, { key: 0 }, [
|
|
557
|
+
r(t(N), {
|
|
558
|
+
class: "sv-pay-invoice__stored-payment-methods",
|
|
559
|
+
title: h.value,
|
|
560
|
+
"content-background": "none",
|
|
561
|
+
"no-border": "",
|
|
562
|
+
"no-spacing": ""
|
|
563
|
+
}, {
|
|
564
|
+
default: i(() => [
|
|
565
|
+
O("div", {
|
|
566
|
+
role: "group",
|
|
567
|
+
"aria-label": h.value
|
|
568
|
+
}, [
|
|
569
|
+
r(be, {
|
|
570
|
+
modelValue: b.value,
|
|
571
|
+
"onUpdate:modelValue": v[0] || (v[0] = (A) => b.value = A),
|
|
572
|
+
"payment-methods": _.value.map(
|
|
573
|
+
({ paymentMethod: A }) => A
|
|
574
|
+
),
|
|
575
|
+
"show-add-option": !1,
|
|
576
|
+
disabled: o.value || t(m)
|
|
577
|
+
}, null, 8, ["modelValue", "payment-methods", "disabled"])
|
|
578
|
+
], 8, et)
|
|
579
|
+
]),
|
|
580
|
+
_: 1
|
|
581
|
+
}, 8, ["title"]),
|
|
582
|
+
x.value ? (u(), p(t(me), {
|
|
583
|
+
key: 0,
|
|
584
|
+
class: "sv-pay-invoice__stored-payment-error sv-error",
|
|
585
|
+
title: t(a)({
|
|
586
|
+
id: "pay_invoice.stored_payment_method.failed",
|
|
587
|
+
defaultMessage: "The payment did not go through. Try again or use another payment method.",
|
|
588
|
+
description: "Shown when charging the invoice to a stored payment method fails"
|
|
589
|
+
})
|
|
590
|
+
}, null, 8, ["title"])) : M("", !0),
|
|
591
|
+
r(t(le), {
|
|
592
|
+
text: t(a)({
|
|
593
|
+
id: "pay_invoice.stored_payment_methods.divider_text",
|
|
594
|
+
defaultMessage: "or",
|
|
595
|
+
description: "Between the stored payment methods and the form to pay with a new one"
|
|
596
|
+
}),
|
|
597
|
+
"text-position": "center"
|
|
598
|
+
}, null, 8, ["text"])
|
|
599
|
+
], 64)) : M("", !0),
|
|
600
|
+
r(t(N), {
|
|
601
|
+
title: _.value.length ? t(a)({
|
|
602
|
+
id: "pay_invoice.new_payment_method.title",
|
|
603
|
+
defaultMessage: "Pay with a new payment method",
|
|
604
|
+
description: "Section title for the payment form below the stored payment methods, on the pay invoice screen"
|
|
605
|
+
}) : t(a)({
|
|
606
|
+
id: "pay_invoice.payment_methods.title",
|
|
607
|
+
defaultMessage: "Payment methods",
|
|
608
|
+
description: "Section title for the payment method selector on the pay invoice screen"
|
|
609
|
+
}),
|
|
610
|
+
"content-background": "none",
|
|
611
|
+
"no-border": "",
|
|
612
|
+
"no-spacing": ""
|
|
613
|
+
}, {
|
|
614
|
+
default: i(() => {
|
|
615
|
+
var A, Y;
|
|
616
|
+
return [
|
|
617
|
+
O("div", {
|
|
618
|
+
class: oe({ "pointer-events-none opacity-60": t(m) }),
|
|
619
|
+
inert: t(m) || void 0
|
|
620
|
+
}, [
|
|
621
|
+
r(Ae, {
|
|
622
|
+
ref_key: "paymentIntegrationFormRef",
|
|
623
|
+
ref: l,
|
|
624
|
+
amount: e.amount,
|
|
625
|
+
"country-code": e.countryCode,
|
|
626
|
+
context: {
|
|
627
|
+
type: "INVOICE",
|
|
628
|
+
related_resource_ids: [
|
|
629
|
+
{
|
|
630
|
+
type: "INVOICE",
|
|
631
|
+
id: e.invoice.id
|
|
632
|
+
}
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
"customer-id": e.invoice.customer.id,
|
|
636
|
+
"store-payment-method": s.value,
|
|
637
|
+
"invoice-id": e.invoice.id,
|
|
638
|
+
"payment-method-options": e.paymentMethodOptions ?? [],
|
|
639
|
+
"open-first-payment-method": !_.value.length,
|
|
640
|
+
variant: "AUTHORIZE",
|
|
641
|
+
"billing-entity-name": (Y = (A = e.invoice) == null ? void 0 : A.billing_entity) == null ? void 0 : Y.legal_name,
|
|
642
|
+
onPaymentSuccess: V,
|
|
643
|
+
onPaymentFailed: te,
|
|
644
|
+
onInvalid: ee,
|
|
645
|
+
onSubmitting: v[1] || (v[1] = (q) => o.value = !0),
|
|
646
|
+
onActionRequired: t(f),
|
|
647
|
+
onSelect: D
|
|
648
|
+
}, null, 8, ["amount", "country-code", "context", "customer-id", "store-payment-method", "invoice-id", "payment-method-options", "open-first-payment-method", "billing-entity-name", "onActionRequired"]),
|
|
649
|
+
O("div", at, [
|
|
650
|
+
r(t(ce), {
|
|
651
|
+
id: "pay-invoice-store-payment-method",
|
|
652
|
+
modelValue: s.value,
|
|
653
|
+
"onUpdate:modelValue": v[2] || (v[2] = (q) => s.value = q),
|
|
654
|
+
label: t(a)({
|
|
655
|
+
id: "pay_invoice.store_payment_method.label",
|
|
656
|
+
defaultMessage: "Save this payment method for future payments",
|
|
657
|
+
description: "Label of the checkbox that stores the payment method while paying an invoice"
|
|
658
|
+
})
|
|
659
|
+
}, null, 8, ["modelValue", "label"])
|
|
660
|
+
])
|
|
661
|
+
], 10, tt)
|
|
662
|
+
];
|
|
663
|
+
}),
|
|
664
|
+
_: 1
|
|
665
|
+
}, 8, ["title"])
|
|
666
|
+
])) : (u(), p(Ie, {
|
|
667
|
+
key: 2,
|
|
364
668
|
variant: "AUTHORIZE",
|
|
365
|
-
"seller-name": (
|
|
669
|
+
"seller-name": (H = e.invoice.billing_entity) == null ? void 0 : H.legal_name
|
|
366
670
|
}, {
|
|
367
|
-
default:
|
|
368
|
-
e.downloadService ? (
|
|
671
|
+
default: i(() => [
|
|
672
|
+
e.downloadService ? (u(), p(t(G), {
|
|
369
673
|
key: 0,
|
|
370
674
|
type: "button",
|
|
371
675
|
intent: "secondary",
|
|
372
|
-
onClick: v[
|
|
373
|
-
var
|
|
374
|
-
return (
|
|
676
|
+
onClick: v[3] || (v[3] = () => {
|
|
677
|
+
var A;
|
|
678
|
+
return (A = e.downloadService) == null ? void 0 : A.call(e, e.invoice);
|
|
375
679
|
})
|
|
376
680
|
}, {
|
|
377
|
-
default:
|
|
378
|
-
|
|
681
|
+
default: i(() => [
|
|
682
|
+
T(k(t(a)({
|
|
379
683
|
defaultMessage: "Download invoice",
|
|
380
684
|
description: "Button that downloads the invoice when it cannot be paid online",
|
|
381
685
|
id: "pay_invoice.unavailable.download_invoice"
|
|
382
686
|
})), 1)
|
|
383
687
|
]),
|
|
384
688
|
_: 1
|
|
385
|
-
})) :
|
|
689
|
+
})) : M("", !0)
|
|
386
690
|
]),
|
|
387
691
|
_: 1
|
|
388
692
|
}, 8, ["seller-name"]))
|
|
389
|
-
], 64)) :
|
|
693
|
+
], 64)) : M("", !0)
|
|
390
694
|
];
|
|
391
695
|
}),
|
|
392
|
-
aside:
|
|
393
|
-
|
|
696
|
+
aside: i(() => [
|
|
697
|
+
r(L, {
|
|
394
698
|
variant: "section",
|
|
395
699
|
class: "min-h-[200px]"
|
|
396
700
|
}, {
|
|
397
|
-
default:
|
|
398
|
-
e.invoice ? (
|
|
701
|
+
default: i(() => [
|
|
702
|
+
e.invoice ? (u(), p(Qe, {
|
|
399
703
|
key: 0,
|
|
400
|
-
invoice: e.invoice
|
|
401
|
-
|
|
704
|
+
invoice: e.invoice,
|
|
705
|
+
"is-paid": e.invoice.paid || S.value
|
|
706
|
+
}, null, 8, ["invoice", "is-paid"])) : M("", !0)
|
|
402
707
|
]),
|
|
403
708
|
_: 1
|
|
404
709
|
}),
|
|
405
|
-
e.invoice && !e.invoice.paid &&
|
|
406
|
-
|
|
407
|
-
disabled: !
|
|
710
|
+
e.invoice && !e.invoice.paid && !S.value && t(y) === "READY" ? (u(), E("div", nt, [
|
|
711
|
+
r(Ye, {
|
|
712
|
+
disabled: !X.value,
|
|
408
713
|
loading: o.value,
|
|
409
714
|
amount: e.amount,
|
|
410
|
-
"payment-method":
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
715
|
+
"payment-method": P.value ? void 0 : c.value,
|
|
716
|
+
"payment-method-label": P.value && t(He)(P.value.paymentMethod),
|
|
717
|
+
onClick: Q
|
|
718
|
+
}, null, 8, ["disabled", "loading", "amount", "payment-method", "payment-method-label"]),
|
|
719
|
+
r(Fe, {
|
|
720
|
+
class: "sv-pay-invoice__kpi",
|
|
721
|
+
"payment-method-options": e.paymentMethodOptions ?? []
|
|
722
|
+
}, null, 8, ["payment-method-options"])
|
|
723
|
+
])) : M("", !0)
|
|
414
724
|
]),
|
|
415
725
|
_: 1
|
|
416
726
|
}));
|
|
417
727
|
}
|
|
418
|
-
}),
|
|
728
|
+
}), it = /* @__PURE__ */ $({
|
|
419
729
|
__name: "PayInvoice.entry.view",
|
|
420
730
|
props: {
|
|
731
|
+
portalToken: { type: Object },
|
|
421
732
|
environment: { type: String },
|
|
422
733
|
locale: { type: String },
|
|
423
734
|
dateLocale: { type: String },
|
|
@@ -435,47 +746,51 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
435
746
|
configuration: { type: Object }
|
|
436
747
|
},
|
|
437
748
|
setup(e) {
|
|
438
|
-
const
|
|
439
|
-
invoice:
|
|
440
|
-
get:
|
|
441
|
-
downloadInvoicePdf:
|
|
442
|
-
error:
|
|
443
|
-
} =
|
|
444
|
-
customerId:
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
await
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
749
|
+
const a = e, {
|
|
750
|
+
invoice: n,
|
|
751
|
+
get: y,
|
|
752
|
+
downloadInvoicePdf: c,
|
|
753
|
+
error: s
|
|
754
|
+
} = ye({ invoiceId: a.configuration.invoiceId }), { payments: l, get: o } = pe(), { paymentMethodOptions: m, get: f } = we(), { items: S, fetchAll: C } = Ue({
|
|
755
|
+
customerId: a.portalObject.customer_id,
|
|
756
|
+
order: je
|
|
757
|
+
}), _ = async () => {
|
|
758
|
+
const h = await y();
|
|
759
|
+
await f({
|
|
760
|
+
customerId: h.customer.id,
|
|
761
|
+
invoiceId: h.id,
|
|
762
|
+
amount: h.open_invoice_amount
|
|
451
763
|
});
|
|
452
|
-
}, { isLoading:
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
),
|
|
764
|
+
}, { isLoading: b } = Be(
|
|
765
|
+
_(),
|
|
766
|
+
o(a.configuration.invoiceId),
|
|
767
|
+
C()
|
|
768
|
+
), P = () => Promise.allSettled([y(), o(a.configuration.invoiceId)]), D = g(
|
|
457
769
|
() => {
|
|
458
|
-
var
|
|
459
|
-
return (
|
|
770
|
+
var h;
|
|
771
|
+
return (h = n.value) != null && h.customer ? Re(n.value.customer) : void 0;
|
|
460
772
|
}
|
|
461
773
|
);
|
|
462
|
-
return (
|
|
463
|
-
var
|
|
464
|
-
return
|
|
465
|
-
invoice: n
|
|
466
|
-
isLoading:
|
|
467
|
-
amount: (
|
|
468
|
-
countryCode:
|
|
469
|
-
paymentMethodOptions:
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
774
|
+
return (h, j) => {
|
|
775
|
+
var x;
|
|
776
|
+
return ie(h.$slots, "default", {
|
|
777
|
+
invoice: t(n),
|
|
778
|
+
isLoading: t(b),
|
|
779
|
+
amount: (x = t(n)) == null ? void 0 : x.open_invoice_amount,
|
|
780
|
+
countryCode: D.value,
|
|
781
|
+
paymentMethodOptions: t(m),
|
|
782
|
+
paymentMethods: t(S),
|
|
783
|
+
paymentAttempts: t(l),
|
|
784
|
+
downloadService: t(c),
|
|
785
|
+
refresh: P,
|
|
786
|
+
error: t(s)
|
|
473
787
|
});
|
|
474
788
|
};
|
|
475
789
|
}
|
|
476
|
-
}),
|
|
790
|
+
}), rt = /* @__PURE__ */ $({
|
|
477
791
|
__name: "PayInvoice.entry",
|
|
478
792
|
props: {
|
|
793
|
+
portalToken: { type: Object },
|
|
479
794
|
environment: { type: String },
|
|
480
795
|
locale: { type: String },
|
|
481
796
|
dateLocale: { type: String },
|
|
@@ -493,47 +808,57 @@ const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name
|
|
|
493
808
|
configuration: { type: Object }
|
|
494
809
|
},
|
|
495
810
|
setup(e) {
|
|
496
|
-
const
|
|
497
|
-
return (
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
paymentAttempts: f,
|
|
512
|
-
downloadService: h,
|
|
513
|
-
error: g
|
|
514
|
-
}) => [
|
|
515
|
-
p(be, {
|
|
516
|
-
"is-loading": m,
|
|
811
|
+
const a = he("pay-invoice");
|
|
812
|
+
return (n, y) => {
|
|
813
|
+
var c;
|
|
814
|
+
return u(), p(t(fe), {
|
|
815
|
+
entry: n.$props,
|
|
816
|
+
"component-name": t(a),
|
|
817
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
818
|
+
"required-configuration": { invoiceId: (c = e.configuration) == null ? void 0 : c.invoiceId },
|
|
819
|
+
onError: y[0] || (y[0] = (s) => n.$emit("error", s))
|
|
820
|
+
}, {
|
|
821
|
+
default: i(() => [
|
|
822
|
+
(u(), p(it, K({
|
|
823
|
+
key: e.configuration.invoiceId
|
|
824
|
+
}, n.$props), {
|
|
825
|
+
default: i(({
|
|
517
826
|
invoice: s,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
827
|
+
isLoading: l,
|
|
828
|
+
amount: o,
|
|
829
|
+
countryCode: m,
|
|
830
|
+
paymentMethodOptions: f,
|
|
831
|
+
paymentMethods: S,
|
|
832
|
+
paymentAttempts: C,
|
|
833
|
+
downloadService: _,
|
|
834
|
+
refresh: b,
|
|
835
|
+
error: P
|
|
836
|
+
}) => [
|
|
837
|
+
r(ot, {
|
|
838
|
+
"is-loading": l,
|
|
839
|
+
invoice: s,
|
|
840
|
+
amount: o,
|
|
841
|
+
"country-code": m,
|
|
842
|
+
"payment-method-options": f,
|
|
843
|
+
"payment-methods": S,
|
|
844
|
+
configuration: e.configuration,
|
|
845
|
+
"payment-attempts": C ?? [],
|
|
846
|
+
"download-service": _,
|
|
847
|
+
refresh: b,
|
|
848
|
+
error: P
|
|
849
|
+
}, null, 8, ["is-loading", "invoice", "amount", "country-code", "payment-method-options", "payment-methods", "configuration", "payment-attempts", "download-service", "refresh", "error"])
|
|
850
|
+
]),
|
|
851
|
+
_: 1
|
|
852
|
+
}, 16))
|
|
853
|
+
]),
|
|
854
|
+
_: 1
|
|
855
|
+
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
856
|
+
};
|
|
532
857
|
}
|
|
533
|
-
}), { define:
|
|
534
|
-
|
|
858
|
+
}), { define: Ft } = ge(
|
|
859
|
+
rt,
|
|
535
860
|
"pay-invoice"
|
|
536
861
|
);
|
|
537
862
|
export {
|
|
538
|
-
|
|
863
|
+
Ft as defineSolvimonPayInvoice
|
|
539
864
|
};
|