@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,30 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ } from "../../
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as p, openBlock as i, createBlock as r, unref as e, renderSlot as y, withCtx as l, mergeProps as m, createCommentVNode as v } from "vue";
|
|
2
|
+
import { _ as d } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs";
|
|
3
|
+
import { _ as u } from "../../ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
4
|
+
import { a as g, g as f, h as _, j as S } from "../../customElements-BTj4ii4f.mjs";
|
|
5
|
+
import { _ as O } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
6
|
+
import { u as b } from "../../useInvoiceData-DD44HTl7.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ p({
|
|
8
8
|
__name: "InvoiceDetails",
|
|
9
9
|
props: {
|
|
10
|
-
invoice: { type: Object }
|
|
11
|
-
isLoading: { type: Boolean },
|
|
12
|
-
configuration: { type: Object }
|
|
10
|
+
invoice: { type: Object }
|
|
13
11
|
},
|
|
14
|
-
setup(
|
|
15
|
-
return (
|
|
16
|
-
key: 0,
|
|
17
|
-
variant: "section",
|
|
18
|
-
class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"
|
|
19
|
-
})) : (a(), s(S, {
|
|
20
|
-
key: 1,
|
|
12
|
+
setup(t) {
|
|
13
|
+
return (s, o) => (i(), r(d, {
|
|
21
14
|
class: "sv-invoice-details sv-root sv-component",
|
|
22
|
-
invoice:
|
|
15
|
+
invoice: t.invoice
|
|
23
16
|
}, null, 8, ["invoice"]));
|
|
24
17
|
}
|
|
25
|
-
}),
|
|
18
|
+
}), $ = /* @__PURE__ */ p({
|
|
26
19
|
__name: "InvoiceDetails.entry.view",
|
|
27
20
|
props: {
|
|
21
|
+
configuration: { type: Object },
|
|
22
|
+
portalToken: { type: Object },
|
|
28
23
|
environment: { type: String },
|
|
29
24
|
locale: { type: String },
|
|
30
25
|
dateLocale: { type: String },
|
|
@@ -38,22 +33,31 @@ const C = /* @__PURE__ */ l({
|
|
|
38
33
|
allowedPortalTypes: { type: Array },
|
|
39
34
|
portalObject: { type: Object },
|
|
40
35
|
cssOverrides: { type: [String, Array] },
|
|
41
|
-
branding: { type: Object }
|
|
42
|
-
configuration: { type: Object }
|
|
36
|
+
branding: { type: Object }
|
|
43
37
|
},
|
|
44
|
-
setup(
|
|
45
|
-
const t =
|
|
46
|
-
return (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
38
|
+
setup(t) {
|
|
39
|
+
const s = t, { $t: o } = g(), n = b(s.configuration.invoiceId);
|
|
40
|
+
return (c, a) => e(n).isPending.value ? (i(), r(O, {
|
|
41
|
+
key: 0,
|
|
42
|
+
variant: "section",
|
|
43
|
+
class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"
|
|
44
|
+
})) : e(n).data.value ? y(c.$slots, "default", {
|
|
45
|
+
invoice: e(n).data.value.invoice
|
|
46
|
+
}, void 0, void 0, 2) : (i(), r(e(u), {
|
|
47
|
+
key: 1,
|
|
48
|
+
class: "sv-invoice-details sv-root sv-component sv-error",
|
|
49
|
+
title: e(o)({
|
|
50
|
+
defaultMessage: "We could not load this invoice. Please try again.",
|
|
51
|
+
description: "Error shown in place of an invoice that failed to load",
|
|
52
|
+
id: "invoice.load_error"
|
|
53
|
+
})
|
|
54
|
+
}, null, 8, ["title"]));
|
|
53
55
|
}
|
|
54
|
-
}),
|
|
56
|
+
}), I = /* @__PURE__ */ p({
|
|
55
57
|
__name: "InvoiceDetails.entry",
|
|
56
58
|
props: {
|
|
59
|
+
configuration: { type: Object },
|
|
60
|
+
portalToken: { type: Object },
|
|
57
61
|
environment: { type: String },
|
|
58
62
|
locale: { type: String },
|
|
59
63
|
dateLocale: { type: String },
|
|
@@ -67,40 +71,40 @@ const C = /* @__PURE__ */ l({
|
|
|
67
71
|
allowedPortalTypes: { type: Array },
|
|
68
72
|
portalObject: { type: Object },
|
|
69
73
|
cssOverrides: { type: [String, Array] },
|
|
70
|
-
branding: { type: Object }
|
|
71
|
-
configuration: { type: Object }
|
|
74
|
+
branding: { type: Object }
|
|
72
75
|
},
|
|
73
|
-
setup(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
76
|
+
setup(t) {
|
|
77
|
+
const s = _("invoice-details");
|
|
78
|
+
return (o, n) => {
|
|
79
|
+
var c;
|
|
80
|
+
return i(), r(e(f), {
|
|
81
|
+
entry: o.$props,
|
|
82
|
+
"component-name": e(s),
|
|
83
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
84
|
+
"required-configuration": { invoiceId: (c = t.configuration) == null ? void 0 : c.invoiceId },
|
|
85
|
+
onError: n[0] || (n[0] = (a) => o.$emit("error", a))
|
|
86
|
+
}, {
|
|
87
|
+
default: l(() => [
|
|
88
|
+
(i(), r($, m({
|
|
89
|
+
key: t.configuration.invoiceId
|
|
90
|
+
}, o.$props), {
|
|
91
|
+
default: l(({ invoice: a }) => [
|
|
92
|
+
a ? (i(), r(j, {
|
|
93
|
+
key: 0,
|
|
94
|
+
invoice: a
|
|
95
|
+
}, null, 8, ["invoice"])) : v("", !0)
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}, 16))
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
102
|
+
};
|
|
99
103
|
}
|
|
100
|
-
}), { define:
|
|
101
|
-
|
|
104
|
+
}), { define: L } = S(
|
|
105
|
+
I,
|
|
102
106
|
"invoice-details"
|
|
103
107
|
);
|
|
104
108
|
export {
|
|
105
|
-
|
|
109
|
+
L as defineSolvimonInvoiceDetails
|
|
106
110
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _, a as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const j = /* @__PURE__ */ f({
|
|
1
|
+
import { defineComponent as u, computed as f, openBlock as n, createBlock as t, unref as l, withCtx as s, createCommentVNode as g } from "vue";
|
|
2
|
+
import { _ as v, a as S } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs";
|
|
3
|
+
import { g as _, h as b, j as O } from "../../customElements-BTj4ii4f.mjs";
|
|
4
|
+
const j = /* @__PURE__ */ u({
|
|
6
5
|
__name: "InvoiceHeader.entry",
|
|
7
6
|
props: {
|
|
7
|
+
portalToken: { type: Object },
|
|
8
8
|
environment: { type: String },
|
|
9
9
|
locale: { type: String },
|
|
10
10
|
dateLocale: { type: String },
|
|
@@ -21,48 +21,48 @@ const j = /* @__PURE__ */ f({
|
|
|
21
21
|
branding: { type: Object },
|
|
22
22
|
configuration: { type: Object }
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
if (!((t = o.configuration) != null && t.invoiceId))
|
|
28
|
-
throw new Error("Missing invoice id");
|
|
29
|
-
const n = g(() => ({
|
|
30
|
-
...o,
|
|
24
|
+
setup(r) {
|
|
25
|
+
const m = b("invoice-header"), i = r, o = f(() => ({
|
|
26
|
+
...i,
|
|
31
27
|
configuration: {
|
|
32
28
|
enableDownloadButton: !0,
|
|
33
|
-
...
|
|
29
|
+
...i.configuration
|
|
34
30
|
}
|
|
35
31
|
}));
|
|
36
|
-
return (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
32
|
+
return (a, c) => {
|
|
33
|
+
var p;
|
|
34
|
+
return n(), t(l(_), {
|
|
35
|
+
entry: a.$props,
|
|
36
|
+
"component-name": l(m),
|
|
37
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
38
|
+
"required-configuration": { invoiceId: (p = r.configuration) == null ? void 0 : p.invoiceId },
|
|
39
|
+
onError: c[0] || (c[0] = (e) => a.$emit("error", e))
|
|
40
|
+
}, {
|
|
41
|
+
default: s(() => [
|
|
42
|
+
(n(), t(v, {
|
|
43
|
+
key: o.value.configuration.invoiceId,
|
|
44
|
+
"invoice-id": o.value.configuration.invoiceId
|
|
45
|
+
}, {
|
|
46
|
+
default: s(({ invoice: e, payments: d, invoiceDownloadService: y }) => [
|
|
47
|
+
e ? (n(), t(S, {
|
|
48
|
+
key: 0,
|
|
49
|
+
invoice: e,
|
|
50
|
+
"invoice-download-service": y,
|
|
51
|
+
payments: d.payments.value,
|
|
52
|
+
configuration: o.value.configuration
|
|
53
|
+
}, null, 8, ["invoice", "invoice-download-service", "payments", "configuration"])) : g("", !0)
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
}, 8, ["invoice-id"]))
|
|
57
|
+
]),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
60
|
+
};
|
|
61
61
|
}
|
|
62
|
-
}), { define:
|
|
62
|
+
}), { define: k } = O(
|
|
63
63
|
j,
|
|
64
64
|
"invoice-header"
|
|
65
65
|
);
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
k as defineSolvimonInvoiceHeader
|
|
68
68
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as l, renderSlot as m, unref as i, openBlock as g, createBlock as d, withCtx as p, createVNode as c, normalizeProps as u, guardReactiveProps as f } from "vue";
|
|
2
|
-
import { u as S, _ as v } from "../../useInvoicesList-
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const h = 15, j = /* @__PURE__ */ l({
|
|
2
|
+
import { u as S, _ as v } from "../../useInvoicesList-CpB-41MQ.mjs";
|
|
3
|
+
import { u as b } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
4
|
+
import { g as L, h as O, j as _ } from "../../customElements-BTj4ii4f.mjs";
|
|
5
|
+
const j = 15, h = /* @__PURE__ */ l({
|
|
7
6
|
__name: "InvoicesList.entry.view",
|
|
8
7
|
props: {
|
|
8
|
+
portalToken: { type: Object },
|
|
9
9
|
environment: { type: String },
|
|
10
10
|
locale: { type: String },
|
|
11
11
|
dateLocale: { type: String },
|
|
@@ -23,11 +23,11 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
23
23
|
configuration: { type: Object }
|
|
24
24
|
},
|
|
25
25
|
setup(a) {
|
|
26
|
-
var
|
|
27
|
-
const
|
|
26
|
+
var n, s;
|
|
27
|
+
const r = a, t = r.portalObject.customer_id, o = S({
|
|
28
28
|
customerId: t,
|
|
29
|
-
batchSize: ((s = (
|
|
30
|
-
}), { isLoading: e } =
|
|
29
|
+
batchSize: ((s = (n = r.configuration) == null ? void 0 : n.pagination) == null ? void 0 : s.batchSize) || j
|
|
30
|
+
}), { isLoading: e } = b(o.fetchInitial());
|
|
31
31
|
return (y, A) => m(y.$slots, "default", {
|
|
32
32
|
isLoading: i(e),
|
|
33
33
|
invoices: i(o)
|
|
@@ -36,6 +36,7 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
36
36
|
}), C = /* @__PURE__ */ l({
|
|
37
37
|
__name: "InvoicesList.entry",
|
|
38
38
|
props: {
|
|
39
|
+
portalToken: { type: Object },
|
|
39
40
|
environment: { type: String },
|
|
40
41
|
locale: { type: String },
|
|
41
42
|
dateLocale: { type: String },
|
|
@@ -53,23 +54,24 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
53
54
|
configuration: { type: Object }
|
|
54
55
|
},
|
|
55
56
|
setup(a) {
|
|
56
|
-
const
|
|
57
|
-
return (t, o) => (g(), d(i(
|
|
57
|
+
const r = O("invoices-list");
|
|
58
|
+
return (t, o) => (g(), d(i(L), {
|
|
58
59
|
entry: t.$props,
|
|
59
|
-
"component-name": i(
|
|
60
|
+
"component-name": i(r),
|
|
60
61
|
"allowed-portal-types": ["CUSTOMER"],
|
|
61
62
|
onError: o[0] || (o[0] = (e) => t.$emit("error", e))
|
|
62
63
|
}, {
|
|
63
64
|
default: p(() => [
|
|
64
|
-
c(
|
|
65
|
-
default: p(({ invoices: e, isLoading:
|
|
65
|
+
c(h, u(f(t.$props)), {
|
|
66
|
+
default: p(({ invoices: e, isLoading: n }) => [
|
|
66
67
|
c(v, {
|
|
67
68
|
configuration: a.configuration,
|
|
68
69
|
invoices: e.items.value,
|
|
69
|
-
"is-loading":
|
|
70
|
+
"is-loading": n || e.isPending.value,
|
|
71
|
+
error: e.error.value,
|
|
70
72
|
"has-more-items": e.hasNextBatch.value,
|
|
71
73
|
onLoadMore: e.fetchMore
|
|
72
|
-
}, null, 8, ["configuration", "invoices", "is-loading", "has-more-items", "onLoadMore"])
|
|
74
|
+
}, null, 8, ["configuration", "invoices", "is-loading", "error", "has-more-items", "onLoadMore"])
|
|
73
75
|
]),
|
|
74
76
|
_: 1
|
|
75
77
|
}, 16)
|
|
@@ -77,10 +79,10 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
77
79
|
_: 1
|
|
78
80
|
}, 8, ["entry", "component-name"]));
|
|
79
81
|
}
|
|
80
|
-
}), { define:
|
|
82
|
+
}), { define: B } = _(
|
|
81
83
|
C,
|
|
82
84
|
"invoices-list"
|
|
83
85
|
);
|
|
84
86
|
export {
|
|
85
|
-
|
|
87
|
+
B as defineSolvimonInvoicesList
|
|
86
88
|
};
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as m, openBlock as r, createBlock as a, createCommentVNode as l, unref as t, renderSlot as u, withCtx as c, mergeProps as d } from "vue";
|
|
2
|
+
import { _ as g } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs";
|
|
3
|
+
import { _ as v } from "../../ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
4
|
+
import { a as f, g as _, h as S, j as h } from "../../customElements-BTj4ii4f.mjs";
|
|
5
|
+
import { _ as O } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
6
|
+
import { u as b } from "../../useInvoiceData-DD44HTl7.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ m({
|
|
8
8
|
__name: "PaymentHistory",
|
|
9
9
|
props: {
|
|
10
10
|
customer: { type: Object },
|
|
11
|
-
paymentAttempts: { type: Array }
|
|
12
|
-
isLoading: { type: Boolean },
|
|
13
|
-
configuration: { type: Object }
|
|
11
|
+
paymentAttempts: { type: Array }
|
|
14
12
|
},
|
|
15
|
-
setup(
|
|
16
|
-
return (
|
|
13
|
+
setup(e) {
|
|
14
|
+
return (p, n) => e.paymentAttempts.length ? (r(), a(g, {
|
|
17
15
|
key: 0,
|
|
18
|
-
variant: "section",
|
|
19
|
-
class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]"
|
|
20
|
-
})) : t.paymentAttempts.length ? (s(), p(O, {
|
|
21
|
-
key: 1,
|
|
22
16
|
class: "sv-payment-history sv-root sv-component",
|
|
23
|
-
"payment-attempts":
|
|
24
|
-
customer:
|
|
25
|
-
}, null, 8, ["payment-attempts", "customer"])) :
|
|
17
|
+
"payment-attempts": e.paymentAttempts,
|
|
18
|
+
customer: e.customer
|
|
19
|
+
}, null, 8, ["payment-attempts", "customer"])) : l("", !0);
|
|
26
20
|
}
|
|
27
|
-
}),
|
|
21
|
+
}), A = /* @__PURE__ */ m({
|
|
28
22
|
__name: "PaymentHistory.entry.view",
|
|
29
23
|
props: {
|
|
24
|
+
configuration: { type: Object },
|
|
25
|
+
portalToken: { type: Object },
|
|
30
26
|
environment: { type: String },
|
|
31
27
|
locale: { type: String },
|
|
32
28
|
dateLocale: { type: String },
|
|
@@ -40,23 +36,35 @@ const w = /* @__PURE__ */ y({
|
|
|
40
36
|
allowedPortalTypes: { type: Array },
|
|
41
37
|
portalObject: { type: Object },
|
|
42
38
|
cssOverrides: { type: [String, Array] },
|
|
43
|
-
branding: { type: Object }
|
|
44
|
-
configuration: { type: Object }
|
|
39
|
+
branding: { type: Object }
|
|
45
40
|
},
|
|
46
|
-
setup(
|
|
47
|
-
const o =
|
|
48
|
-
return (
|
|
49
|
-
var
|
|
50
|
-
return
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
})
|
|
41
|
+
setup(e) {
|
|
42
|
+
const p = e, { $t: n } = f(), o = b(p.configuration.invoiceId, { includePayments: !0 });
|
|
43
|
+
return (y, i) => {
|
|
44
|
+
var s;
|
|
45
|
+
return t(o).isPending.value ? (r(), a(O, {
|
|
46
|
+
key: 0,
|
|
47
|
+
variant: "section",
|
|
48
|
+
class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]"
|
|
49
|
+
})) : t(o).data.value ? u(y.$slots, "default", {
|
|
50
|
+
invoice: t(o).data.value.invoice,
|
|
51
|
+
paymentAttempts: (s = t(o).data.value.paymentAttempts) == null ? void 0 : s.data
|
|
52
|
+
}, void 0, void 0, 2) : (r(), a(t(v), {
|
|
53
|
+
key: 1,
|
|
54
|
+
class: "sv-payment-history sv-root sv-component sv-error",
|
|
55
|
+
title: t(n)({
|
|
56
|
+
defaultMessage: "We could not load the payment history. Please try again.",
|
|
57
|
+
description: "Error shown in place of the payment history when it failed to load",
|
|
58
|
+
id: "payment_history.load_error"
|
|
59
|
+
})
|
|
60
|
+
}, null, 8, ["title"]));
|
|
55
61
|
};
|
|
56
62
|
}
|
|
57
|
-
}),
|
|
63
|
+
}), $ = /* @__PURE__ */ m({
|
|
58
64
|
__name: "PaymentHistory.entry",
|
|
59
65
|
props: {
|
|
66
|
+
configuration: { type: Object },
|
|
67
|
+
portalToken: { type: Object },
|
|
60
68
|
environment: { type: String },
|
|
61
69
|
locale: { type: String },
|
|
62
70
|
dateLocale: { type: String },
|
|
@@ -70,41 +78,41 @@ const w = /* @__PURE__ */ y({
|
|
|
70
78
|
allowedPortalTypes: { type: Array },
|
|
71
79
|
portalObject: { type: Object },
|
|
72
80
|
cssOverrides: { type: [String, Array] },
|
|
73
|
-
branding: { type: Object }
|
|
74
|
-
configuration: { type: Object }
|
|
81
|
+
branding: { type: Object }
|
|
75
82
|
},
|
|
76
|
-
setup(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
83
|
+
setup(e) {
|
|
84
|
+
const p = S("payment-history");
|
|
85
|
+
return (n, o) => {
|
|
86
|
+
var y;
|
|
87
|
+
return r(), a(t(_), {
|
|
88
|
+
entry: n.$props,
|
|
89
|
+
"component-name": t(p),
|
|
90
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
91
|
+
"required-configuration": { invoiceId: (y = e.configuration) == null ? void 0 : y.invoiceId },
|
|
92
|
+
onError: o[0] || (o[0] = (i) => n.$emit("error", i))
|
|
93
|
+
}, {
|
|
94
|
+
default: c(() => [
|
|
95
|
+
(r(), a(A, d({
|
|
96
|
+
key: e.configuration.invoiceId
|
|
97
|
+
}, n.$props), {
|
|
98
|
+
default: c(({ invoice: i, paymentAttempts: s }) => [
|
|
99
|
+
i && s ? (r(), a(j, {
|
|
100
|
+
key: 0,
|
|
101
|
+
customer: i.customer,
|
|
102
|
+
"payment-attempts": s
|
|
103
|
+
}, null, 8, ["customer", "payment-attempts"])) : l("", !0)
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 16))
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
110
|
+
};
|
|
103
111
|
}
|
|
104
|
-
}), { define:
|
|
105
|
-
|
|
112
|
+
}), { define: T } = h(
|
|
113
|
+
$,
|
|
106
114
|
"payment-history"
|
|
107
115
|
);
|
|
108
116
|
export {
|
|
109
|
-
|
|
117
|
+
T as defineSolvimonPaymentHistory
|
|
110
118
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { g as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
const M = /* @__PURE__ */ d({
|
|
1
|
+
import { defineComponent as u, renderSlot as d, unref as a, openBlock as c, createBlock as y, withCtx as l, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
|
|
2
|
+
import { g as C } from "../../customer.es-DQKl6wFt.mjs";
|
|
3
|
+
import { u as b } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
4
|
+
import { u as h } from "../../useCustomer-cObBvDOu.mjs";
|
|
5
|
+
import { u as j } from "../../paymentMethods-Nfv9HdkS.mjs";
|
|
6
|
+
import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs";
|
|
7
|
+
import { g as _, h as L, j as w } from "../../customElements-BTj4ii4f.mjs";
|
|
8
|
+
const M = /* @__PURE__ */ u({
|
|
10
9
|
__name: "PaymentMethodForm.entry.view",
|
|
11
10
|
props: {
|
|
11
|
+
portalToken: { type: Object },
|
|
12
12
|
environment: { type: String },
|
|
13
13
|
locale: { type: String },
|
|
14
14
|
dateLocale: { type: String },
|
|
@@ -26,25 +26,26 @@ const M = /* @__PURE__ */ d({
|
|
|
26
26
|
configuration: { type: Object },
|
|
27
27
|
countryCode: { type: String }
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
29
|
+
setup(o) {
|
|
30
|
+
const n = o, i = h({ customerId: n.portalObject.customer_id }), r = j(), p = async () => {
|
|
31
31
|
var m;
|
|
32
|
-
const t = await i.get.execute(), s =
|
|
33
|
-
await
|
|
32
|
+
const t = await i.get.execute(), s = n.countryCode || C(t);
|
|
33
|
+
await r.get({
|
|
34
34
|
customerId: t.id,
|
|
35
35
|
country: s,
|
|
36
|
-
amount: (m =
|
|
36
|
+
amount: (m = n.configuration) == null ? void 0 : m.amount
|
|
37
37
|
});
|
|
38
|
-
}, { isLoading: e } =
|
|
39
|
-
return (t, s) =>
|
|
40
|
-
customer:
|
|
41
|
-
paymentMethodOptions:
|
|
42
|
-
isLoading:
|
|
38
|
+
}, { isLoading: e } = b(p());
|
|
39
|
+
return (t, s) => d(t.$slots, "default", {
|
|
40
|
+
customer: a(i).customer.value,
|
|
41
|
+
paymentMethodOptions: a(r),
|
|
42
|
+
isLoading: a(e)
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
}), P = /* @__PURE__ */
|
|
45
|
+
}), P = /* @__PURE__ */ u({
|
|
46
46
|
__name: "PaymentMethodForm.entry",
|
|
47
47
|
props: {
|
|
48
|
+
portalToken: { type: Object },
|
|
48
49
|
environment: { type: String },
|
|
49
50
|
locale: { type: String },
|
|
50
51
|
dateLocale: { type: String },
|
|
@@ -62,24 +63,25 @@ const M = /* @__PURE__ */ d({
|
|
|
62
63
|
configuration: { type: Object },
|
|
63
64
|
countryCode: { type: String }
|
|
64
65
|
},
|
|
65
|
-
setup(
|
|
66
|
-
const
|
|
67
|
-
return (
|
|
68
|
-
entry:
|
|
69
|
-
"component-name": n
|
|
66
|
+
setup(o) {
|
|
67
|
+
const n = L("payment-method-form"), i = o;
|
|
68
|
+
return (r, p) => (c(), y(a(_), {
|
|
69
|
+
entry: r.$props,
|
|
70
|
+
"component-name": a(n),
|
|
70
71
|
"allowed-portal-types": ["CUSTOMER"],
|
|
71
|
-
onError: p[0] || (p[0] = (e) =>
|
|
72
|
+
onError: p[0] || (p[0] = (e) => r.$emit("error", e))
|
|
72
73
|
}, {
|
|
73
74
|
default: l(() => [
|
|
74
75
|
g(M, f(S(i)), {
|
|
75
76
|
default: l(({ customer: e, paymentMethodOptions: t, isLoading: s }) => [
|
|
76
|
-
e ? (
|
|
77
|
+
e ? (c(), y(v, {
|
|
77
78
|
key: 0,
|
|
78
79
|
customer: e,
|
|
79
80
|
"payment-method-options": t.paymentMethodOptions.value,
|
|
80
|
-
configuration:
|
|
81
|
+
configuration: o.configuration,
|
|
82
|
+
"country-code": o.countryCode,
|
|
81
83
|
"is-loading": s
|
|
82
|
-
}, null, 8, ["customer", "payment-method-options", "configuration", "is-loading"])) : O("", !0)
|
|
84
|
+
}, null, 8, ["customer", "payment-method-options", "configuration", "country-code", "is-loading"])) : O("", !0)
|
|
83
85
|
]),
|
|
84
86
|
_: 1
|
|
85
87
|
}, 16)
|
|
@@ -87,10 +89,10 @@ const M = /* @__PURE__ */ d({
|
|
|
87
89
|
_: 1
|
|
88
90
|
}, 8, ["entry", "component-name"]));
|
|
89
91
|
}
|
|
90
|
-
}), { define:
|
|
92
|
+
}), { define: B } = w(
|
|
91
93
|
P,
|
|
92
94
|
"payment-method-form"
|
|
93
95
|
);
|
|
94
96
|
export {
|
|
95
|
-
|
|
97
|
+
B as defineSolvimonPaymentMethodForm
|
|
96
98
|
};
|