@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,5 +1,5 @@
|
|
|
1
1
|
import { computed as o, defineComponent as f, openBlock as a, createElementBlock as n, normalizeClass as l, unref as r, createCommentVNode as c, renderSlot as g, createVNode as m, withCtx as x, createTextVNode as v, toDisplayString as h } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { d as D } from "./customElements-BTj4ii4f.mjs";
|
|
3
3
|
const d = "relative translate-y-1/2 top-1/2 border-t border-gray-100", y = (e) => {
|
|
4
4
|
const i = o(() => {
|
|
5
5
|
let t = `${d}`;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as i, openBlock as m, createBlock as r, unref as t, withCtx as s, createElementVNode as n, createVNode as a, renderSlot as o } from "vue";
|
|
2
|
+
import { a as _ } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
3
|
+
import { _ as p } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
4
|
+
import { d as c } from "./customElements-BTj4ii4f.mjs";
|
|
5
|
+
const d = { class: "sv-empty-state__body flex flex-col items-center justify-center py-2" }, f = { class: "sv-empty-state__action mt-3 empty:hidden" }, g = /* @__PURE__ */ i({
|
|
6
|
+
__name: "EmptyStatePlaceholder",
|
|
7
|
+
props: {
|
|
8
|
+
icon: { type: null }
|
|
9
|
+
},
|
|
10
|
+
setup(l) {
|
|
11
|
+
return (e, y) => (m(), r(t(p), { class: "sv-empty-state" }, {
|
|
12
|
+
default: s(() => [
|
|
13
|
+
n("div", d, [
|
|
14
|
+
a(t(_), {
|
|
15
|
+
icon: l.icon,
|
|
16
|
+
size: "md",
|
|
17
|
+
class: "sv-empty-state__icon text-gray-500"
|
|
18
|
+
}, null, 8, ["icon"]),
|
|
19
|
+
a(t(c), {
|
|
20
|
+
center: "",
|
|
21
|
+
tag: "span",
|
|
22
|
+
variant: "body-xs",
|
|
23
|
+
weight: "semibold",
|
|
24
|
+
color: "subtle",
|
|
25
|
+
class: "sv-empty-state__title mt-1"
|
|
26
|
+
}, {
|
|
27
|
+
default: s(() => [
|
|
28
|
+
o(e.$slots, "title")
|
|
29
|
+
]),
|
|
30
|
+
_: 3
|
|
31
|
+
}),
|
|
32
|
+
a(t(c), {
|
|
33
|
+
center: "",
|
|
34
|
+
tag: "span",
|
|
35
|
+
variant: "body-xs",
|
|
36
|
+
color: "subtle",
|
|
37
|
+
class: "sv-empty-state__message mt-1"
|
|
38
|
+
}, {
|
|
39
|
+
default: s(() => [
|
|
40
|
+
o(e.$slots, "message")
|
|
41
|
+
]),
|
|
42
|
+
_: 3
|
|
43
|
+
}),
|
|
44
|
+
n("div", f, [
|
|
45
|
+
o(e.$slots, "action")
|
|
46
|
+
])
|
|
47
|
+
])
|
|
48
|
+
]),
|
|
49
|
+
_: 3
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export {
|
|
54
|
+
g as _
|
|
55
|
+
};
|
package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, computed as m, openBlock as t, createBlock as d, mergeProps as p, withCtx as l, createElementVNode as o, toDisplayString as s, createElementBlock as _, createCommentVNode as f } from "vue";
|
|
2
|
-
import { _ as u } from "./Alert.vue.es-
|
|
3
|
-
import { a as g } from "./customElements-
|
|
2
|
+
import { _ as u } from "./Alert.vue.es-CNrEaLvh.mjs";
|
|
3
|
+
import { a as g } from "./customElements-BTj4ii4f.mjs";
|
|
4
4
|
const h = { class: "grid gap-1" }, k = { class: "font-medium" }, y = { key: 0 }, N = /* @__PURE__ */ c({
|
|
5
5
|
__name: "ErrorNotification",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as f, computed as g, openBlock as t, createElementBlock as y, Fragment as v, renderList as k, createBlock as l, normalizeClass as o, withCtx as n, createTextVNode as i, toDisplayString as c, renderSlot as z, createCommentVNode as p } from "vue";
|
|
2
|
+
import { d as m } from "./customElements-BTj4ii4f.mjs";
|
|
3
|
+
const C = /* @__PURE__ */ f({
|
|
4
|
+
__name: "FormMessage",
|
|
5
|
+
props: {
|
|
6
|
+
message: {},
|
|
7
|
+
variant: { default: "error" },
|
|
8
|
+
capitalizeFirstLetter: { type: Boolean, default: !0 }
|
|
9
|
+
},
|
|
10
|
+
setup(e) {
|
|
11
|
+
const a = e, r = g(() => a.variant === "default" ? "secondary" : a.variant === "warning" ? "warning" : "danger");
|
|
12
|
+
return (s, F) => typeof e.message == "object" && !("value" in e.message) ? (t(!0), y(v, { key: 0 }, k(e.message, ({ $uid: u, $message: d }) => (t(), l(m, {
|
|
13
|
+
key: u,
|
|
14
|
+
variant: "body-xs",
|
|
15
|
+
color: r.value,
|
|
16
|
+
class: o({ "first-letter:capitalize": e.capitalizeFirstLetter })
|
|
17
|
+
}, {
|
|
18
|
+
default: n(() => [
|
|
19
|
+
i(c(d), 1)
|
|
20
|
+
]),
|
|
21
|
+
_: 2
|
|
22
|
+
}, 1032, ["color", "class"]))), 128)) : e.message || s.$slots.default ? (t(), l(m, {
|
|
23
|
+
key: 1,
|
|
24
|
+
variant: "body-xs",
|
|
25
|
+
color: r.value,
|
|
26
|
+
class: o({ "first-letter:capitalize": e.capitalizeFirstLetter })
|
|
27
|
+
}, {
|
|
28
|
+
default: n(() => [
|
|
29
|
+
z(s.$slots, "default", {}, () => [
|
|
30
|
+
i(c(e.message), 1)
|
|
31
|
+
])
|
|
32
|
+
]),
|
|
33
|
+
_: 3
|
|
34
|
+
}, 8, ["color", "class"])) : p("", !0);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
C as _
|
|
39
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, useAttrs as u, computed as f, openBlock as i, createBlock as a, withCtx as t, createVNode as e, mergeProps as l, createTextVNode as m, toDisplayString as _ } from "vue";
|
|
2
2
|
import { o as d } from "./object.es-8aLDIncs.mjs";
|
|
3
|
-
import { _ as x, T as y, a as B } from "./TooltipParagraph.vue.es-
|
|
4
|
-
import { _ as r } from "./Button.vue.es-
|
|
3
|
+
import { _ as x, T as y, a as B } from "./TooltipParagraph.vue.es-Dw0ndjle.mjs";
|
|
4
|
+
import { _ as r } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
5
5
|
const k = {
|
|
6
6
|
inheritAttrs: !1
|
|
7
7
|
}, P = /* @__PURE__ */ p({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as f, computed as x, openBlock as s, createElementBlock as n, normalizeClass as r, createBlock as u, unref as a, createCommentVNode as i, createElementVNode as z, renderSlot as l, createTextVNode as c, toDisplayString as d, withCtx as b } from "vue";
|
|
2
2
|
import { i as g } from "./slots.es-BA4MyEAa.mjs";
|
|
3
|
-
import { a as h } from "./Button.vue.es-
|
|
4
|
-
import { _ as y } from "./Avatar.vue.es-
|
|
5
|
-
import {
|
|
3
|
+
import { a as h } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
4
|
+
import { _ as y } from "./Avatar.vue.es-r0NbcIib.mjs";
|
|
5
|
+
import { d as k } from "./customElements-BTj4ii4f.mjs";
|
|
6
6
|
const v = { class: "min-w-0 grow" }, E = /* @__PURE__ */ f({
|
|
7
7
|
__name: "IconTitle",
|
|
8
8
|
props: {
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { computed as t, defineComponent as G, useModel as J, toRefs as L, ref as Q, openBlock as n, createElementBlock as x, unref as a, normalizeClass as k, createBlock as I, createSlots as X, withCtx as $, createTextVNode as Y, toDisplayString as Z, createCommentVNode as b, renderSlot as c, createElementVNode as E, mergeProps as B, withDirectives as H, vModelDynamic as _, createVNode as ee, mergeModels as M } from "vue";
|
|
2
|
+
import { c as T, g as le } from "./cn.es-B8acFrov.mjs";
|
|
3
|
+
import { u as D, _ as ae } from "./Label.vue.es-DtpLM1KH.mjs";
|
|
4
|
+
import { _ as N } from "./FormMessage.vue.es-Cjv358Ab.mjs";
|
|
5
|
+
import { i as q } from "./useService-BZcbUZHI.mjs";
|
|
6
|
+
import { d as O } from "./customElements-BTj4ii4f.mjs";
|
|
7
|
+
const te = {
|
|
8
|
+
/**
|
|
9
|
+
* 22px, not 24px: this height lands on the inner input, which is `border-0`, while the
|
|
10
|
+
* 1px border sits on the wrapper — so the control measures 2px taller than the value
|
|
11
|
+
* here. 22 + 2 makes it 24px overall, matching the xs Button, whose height and border
|
|
12
|
+
* share one element and so need no such allowance.
|
|
13
|
+
*/
|
|
14
|
+
xs: "h-[22px]",
|
|
15
|
+
sm: "h-7",
|
|
16
|
+
md: "h-10",
|
|
17
|
+
lg: "h-12",
|
|
18
|
+
xl: "h-16"
|
|
19
|
+
};
|
|
20
|
+
function se({
|
|
21
|
+
size: e,
|
|
22
|
+
disabled: u,
|
|
23
|
+
labelScreenReaderOnly: r,
|
|
24
|
+
hasError: y,
|
|
25
|
+
ring: v,
|
|
26
|
+
hasShadow: p,
|
|
27
|
+
hasFocusStyles: m,
|
|
28
|
+
type: h,
|
|
29
|
+
prefixHasBorder: o,
|
|
30
|
+
wrapperClass: w,
|
|
31
|
+
inputClass: g,
|
|
32
|
+
prefixClass: S,
|
|
33
|
+
suffixClass: R,
|
|
34
|
+
isMultiline: V
|
|
35
|
+
}) {
|
|
36
|
+
const d = t(() => (u == null ? void 0 : u.value) ?? !1), f = t(() => (h == null ? void 0 : h.value) === "checkbox"), C = t(() => (m == null ? void 0 : m.value) !== !1), l = t(() => ((y == null ? void 0 : y.value) ?? !1) && !d.value), s = t(() => e.value === "xs" || e.value === "sm"), i = t(() => ({
|
|
37
|
+
"block text-sm font-medium text-default": !0,
|
|
38
|
+
"sr-only": r == null ? void 0 : r.value
|
|
39
|
+
})), U = t(() => ({
|
|
40
|
+
"rounded border border-gray-300 overflow-hidden": !0,
|
|
41
|
+
"cursor-not-allowed bg-gray-50 border-transparent": d.value,
|
|
42
|
+
"bg-white": !d.value,
|
|
43
|
+
"focus-within:border-primary-500": C.value,
|
|
44
|
+
// A ring rather than an outline: tailwind-merge follows Tailwind 4, where a bare `outline`
|
|
45
|
+
// is a width, so it drops `outline-1` from `outline outline-1` and leaves a 3px outline.
|
|
46
|
+
"focus-within:ring-1 focus-within:ring-primary-500": C.value && (v == null ? void 0 : v.value),
|
|
47
|
+
"shadow-sm focus-within:shadow-sm": p == null ? void 0 : p.value,
|
|
48
|
+
"border-red-500 focus-within:border-red-500 focus-within:ring-red-500": l.value
|
|
49
|
+
})), W = t(() => ({
|
|
50
|
+
// Disabled text wins over the placeholder colour because `disabled:placeholder:`
|
|
51
|
+
// is the more specific selector.
|
|
52
|
+
"text-default placeholder:text-placeholder disabled:text-disabled disabled:placeholder:text-disabled block w-full border-0 focus:border-transparent focus:outline-none focus:ring-0 bg-transparent": !0,
|
|
53
|
+
"text-xs": s.value,
|
|
54
|
+
"text-sm": !s.value,
|
|
55
|
+
"p-2": f.value,
|
|
56
|
+
"px-1": !f.value && e.value === "xs",
|
|
57
|
+
"px-2": !f.value && e.value === "sm",
|
|
58
|
+
"px-4": !f.value && !s.value,
|
|
59
|
+
[te[e.value]]: !f.value && !(V != null && V.value),
|
|
60
|
+
"cursor-default": d.value
|
|
61
|
+
})), F = t(() => ({
|
|
62
|
+
"z-10 flex shrink-0 items-center": !0,
|
|
63
|
+
"px-3": o == null ? void 0 : o.value,
|
|
64
|
+
"pl-3": !(o != null && o.value),
|
|
65
|
+
"border-r": o == null ? void 0 : o.value,
|
|
66
|
+
"border-none": !(o != null && o.value),
|
|
67
|
+
"border-red-500": (o == null ? void 0 : o.value) && l.value,
|
|
68
|
+
"border-gray-300": (o == null ? void 0 : o.value) && !l.value
|
|
69
|
+
})), K = t(() => ({
|
|
70
|
+
"align-end z-10 flex shrink-0 items-center gap-2 border-l px-2": !0,
|
|
71
|
+
"border-red-500": l.value,
|
|
72
|
+
"border-gray-300": !l.value,
|
|
73
|
+
"px-1": s.value,
|
|
74
|
+
"px-2": e.value === "md",
|
|
75
|
+
"px-3": e.value === "lg"
|
|
76
|
+
})), P = t(() => T(U.value, w == null ? void 0 : w.value)), j = t(() => T(W.value, g == null ? void 0 : g.value)), z = t(() => T(F.value, S == null ? void 0 : S.value)), A = t(() => T(K.value, R == null ? void 0 : R.value));
|
|
77
|
+
return {
|
|
78
|
+
wrapperClasses: P,
|
|
79
|
+
inputClasses: j,
|
|
80
|
+
prefixClasses: z,
|
|
81
|
+
suffixClasses: A,
|
|
82
|
+
labelClasses: i
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
const oe = ["data-testid"], ue = { class: "relative" }, ne = { class: "relative grow" }, re = ["id", "disabled", "type", "value", "name", "form", "placeholder", "autocomplete"], de = ["id", "value", "disabled", "type", "name", "form", "placeholder", "autocomplete"], ie = {
|
|
86
|
+
key: 1,
|
|
87
|
+
class: "mt-1"
|
|
88
|
+
}, ve = {
|
|
89
|
+
key: 2,
|
|
90
|
+
class: "mt-2 text-xs text-secondary"
|
|
91
|
+
}, he = /* @__PURE__ */ G({
|
|
92
|
+
__name: "Input",
|
|
93
|
+
props: /* @__PURE__ */ M({
|
|
94
|
+
label: { default: "" },
|
|
95
|
+
labelScreenReaderOnly: { type: Boolean },
|
|
96
|
+
disabled: { type: Boolean, default: !1 },
|
|
97
|
+
type: { default: "text" },
|
|
98
|
+
asTextType: { type: Boolean, default: !1 },
|
|
99
|
+
size: { default: "md" },
|
|
100
|
+
prefixClass: {},
|
|
101
|
+
suffixClass: {},
|
|
102
|
+
wrapperClass: { default: "" },
|
|
103
|
+
inputClass: {},
|
|
104
|
+
rootClass: { default: "" },
|
|
105
|
+
required: { type: Boolean, default: !1 },
|
|
106
|
+
id: {},
|
|
107
|
+
checked: { type: Boolean },
|
|
108
|
+
value: {},
|
|
109
|
+
hasShadow: { type: Boolean, default: !1 },
|
|
110
|
+
hasFocusStyles: { type: Boolean, default: !0 },
|
|
111
|
+
form: {},
|
|
112
|
+
ring: { type: Boolean, default: !0 },
|
|
113
|
+
error: {},
|
|
114
|
+
invalid: { type: Boolean },
|
|
115
|
+
name: {},
|
|
116
|
+
prefixHasBorder: { type: Boolean, default: !0 },
|
|
117
|
+
placeholder: {},
|
|
118
|
+
autocomplete: {}
|
|
119
|
+
}, {
|
|
120
|
+
modelValue: {},
|
|
121
|
+
modelModifiers: {}
|
|
122
|
+
}),
|
|
123
|
+
emits: /* @__PURE__ */ M(["blur"], ["update:modelValue"]),
|
|
124
|
+
setup(e) {
|
|
125
|
+
const u = e, r = J(e, "modelValue"), y = u.type === "number" && u.asTextType, v = u.name ?? D("name"), p = (l) => {
|
|
126
|
+
y && (r.value = l.target.value);
|
|
127
|
+
}, m = u.id ?? D(`${v}-`), h = (l) => {
|
|
128
|
+
u.type === "number" && l.target.blur();
|
|
129
|
+
}, o = t(() => !q(u.error) || !!u.invalid), { wrapperClasses: w, inputClasses: g, labelClasses: S, prefixClasses: R, suffixClasses: V } = se({ ...L(u), hasError: o }), d = Q(), f = (l) => {
|
|
130
|
+
var s;
|
|
131
|
+
const i = l.target;
|
|
132
|
+
i != null && i.closest("button, a, input, select, textarea") || (s = d.value) == null || s.focus();
|
|
133
|
+
}, C = t(
|
|
134
|
+
() => u.size === "xs" ? "body-xs" : "body-sm"
|
|
135
|
+
);
|
|
136
|
+
return (l, s) => (n(), x("div", {
|
|
137
|
+
class: k(e.rootClass),
|
|
138
|
+
"data-testid": a(le)(a(v))
|
|
139
|
+
}, [
|
|
140
|
+
e.label ? (n(), I(ae, {
|
|
141
|
+
key: 0,
|
|
142
|
+
class: k(a(S)),
|
|
143
|
+
for: a(m),
|
|
144
|
+
required: e.required,
|
|
145
|
+
"screen-reader-only": e.labelScreenReaderOnly
|
|
146
|
+
}, X({
|
|
147
|
+
default: $(() => [
|
|
148
|
+
Y(Z(e.label) + " ", 1)
|
|
149
|
+
]),
|
|
150
|
+
_: 2
|
|
151
|
+
}, [
|
|
152
|
+
!e.labelScreenReaderOnly || l.$slots["label-suffix"] ? {
|
|
153
|
+
name: "suffix",
|
|
154
|
+
fn: $(() => [
|
|
155
|
+
!e.labelScreenReaderOnly && !a(q)(e.error) ? (n(), I(N, {
|
|
156
|
+
key: 0,
|
|
157
|
+
message: e.error
|
|
158
|
+
}, null, 8, ["message"])) : b("", !0),
|
|
159
|
+
c(l.$slots, "label-suffix")
|
|
160
|
+
]),
|
|
161
|
+
key: "0"
|
|
162
|
+
} : void 0,
|
|
163
|
+
l.$slots.tooltip ? {
|
|
164
|
+
name: "tooltip",
|
|
165
|
+
fn: $(() => [
|
|
166
|
+
c(l.$slots, "tooltip")
|
|
167
|
+
]),
|
|
168
|
+
key: "1"
|
|
169
|
+
} : void 0
|
|
170
|
+
]), 1032, ["class", "for", "required", "screen-reader-only"])) : b("", !0),
|
|
171
|
+
E("div", ue, [
|
|
172
|
+
E("div", {
|
|
173
|
+
class: k(["flex", a(w)])
|
|
174
|
+
}, [
|
|
175
|
+
l.$slots.prefix ? (n(), I(O, {
|
|
176
|
+
key: 0,
|
|
177
|
+
tag: "div",
|
|
178
|
+
variant: C.value,
|
|
179
|
+
class: k(a(R))
|
|
180
|
+
}, {
|
|
181
|
+
default: $(() => [
|
|
182
|
+
c(l.$slots, "prefix")
|
|
183
|
+
]),
|
|
184
|
+
_: 3
|
|
185
|
+
}, 8, ["variant", "class"])) : b("", !0),
|
|
186
|
+
E("div", ne, [
|
|
187
|
+
a(y) ? (n(), x("input", B({ key: 0 }, l.$attrs, {
|
|
188
|
+
id: a(m),
|
|
189
|
+
ref_key: "inputElRef",
|
|
190
|
+
ref: d,
|
|
191
|
+
disabled: e.disabled,
|
|
192
|
+
type: e.type,
|
|
193
|
+
class: a(g),
|
|
194
|
+
value: r.value,
|
|
195
|
+
name: a(v),
|
|
196
|
+
form: e.form,
|
|
197
|
+
placeholder: e.placeholder,
|
|
198
|
+
autocomplete: e.autocomplete ?? "off",
|
|
199
|
+
onKeyup: p,
|
|
200
|
+
onChange: p,
|
|
201
|
+
onBlur: s[0] || (s[0] = (i) => l.$emit("blur")),
|
|
202
|
+
onWheel: h
|
|
203
|
+
}), null, 16, re)) : H((n(), x("input", B({ key: 1 }, l.$attrs, {
|
|
204
|
+
id: a(m),
|
|
205
|
+
ref_key: "inputElRef",
|
|
206
|
+
ref: d,
|
|
207
|
+
"onUpdate:modelValue": s[1] || (s[1] = (i) => r.value = i),
|
|
208
|
+
value: e.type === "checkbox" ? e.value : r.value,
|
|
209
|
+
disabled: e.disabled,
|
|
210
|
+
type: e.type,
|
|
211
|
+
name: a(v),
|
|
212
|
+
form: e.form,
|
|
213
|
+
class: a(g),
|
|
214
|
+
placeholder: e.placeholder,
|
|
215
|
+
autocomplete: e.autocomplete ?? "off",
|
|
216
|
+
onBlur: s[2] || (s[2] = (i) => l.$emit("blur")),
|
|
217
|
+
onWheel: h
|
|
218
|
+
}), null, 16, de)), [
|
|
219
|
+
[_, r.value]
|
|
220
|
+
]),
|
|
221
|
+
c(l.$slots, "input")
|
|
222
|
+
]),
|
|
223
|
+
l.$slots.suffix ? (n(), I(O, {
|
|
224
|
+
key: 1,
|
|
225
|
+
tag: "div",
|
|
226
|
+
variant: C.value,
|
|
227
|
+
class: k(a(V)),
|
|
228
|
+
onClick: f
|
|
229
|
+
}, {
|
|
230
|
+
default: $(() => [
|
|
231
|
+
c(l.$slots, "suffix")
|
|
232
|
+
]),
|
|
233
|
+
_: 3
|
|
234
|
+
}, 8, ["variant", "class"])) : b("", !0)
|
|
235
|
+
], 2),
|
|
236
|
+
c(l.$slots, "adornment-end")
|
|
237
|
+
]),
|
|
238
|
+
e.labelScreenReaderOnly && !a(q)(e.error) ? (n(), x("div", ie, [
|
|
239
|
+
ee(N, { message: e.error }, null, 8, ["message"])
|
|
240
|
+
])) : b("", !0),
|
|
241
|
+
l.$slots.helper ? (n(), x("div", ve, [
|
|
242
|
+
c(l.$slots, "helper")
|
|
243
|
+
])) : b("", !0)
|
|
244
|
+
], 10, oe));
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
export {
|
|
248
|
+
he as _,
|
|
249
|
+
se as u
|
|
250
|
+
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { a as
|
|
4
|
-
|
|
1
|
+
import { defineComponent as m, openBlock as o, createBlock as d, unref as e, withCtx as t, createElementBlock as u, createElementVNode as _, createVNode as r, createTextVNode as a, toDisplayString as c, createCommentVNode as l } from "vue";
|
|
2
|
+
import { _ as k } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
3
|
+
import { a as h, d as s } from "./customElements-BTj4ii4f.mjs";
|
|
4
|
+
import { g as f } from "./invoiceState-BJVHaKs7.mjs";
|
|
5
|
+
const b = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "sv-invoice-details__body flex flex-col gap-2"
|
|
7
|
-
},
|
|
8
|
+
}, g = { class: "sv-invoice-details__row" }, p = { class: "sv-invoice-details__row" }, D = /* @__PURE__ */ m({
|
|
8
9
|
__name: "InvoiceDetailsBlock",
|
|
9
10
|
props: {
|
|
10
11
|
invoice: { type: Object }
|
|
11
12
|
},
|
|
12
13
|
setup(i) {
|
|
13
|
-
const { $t: n, formatDate: v } =
|
|
14
|
-
return (
|
|
14
|
+
const { $t: n, formatDate: v } = h();
|
|
15
|
+
return (y, x) => (o(), d(e(k), {
|
|
15
16
|
class: "sv-invoice-details",
|
|
16
17
|
title: e(n)({
|
|
17
18
|
defaultMessage: "Invoice details",
|
|
@@ -20,8 +21,8 @@ const h = {
|
|
|
20
21
|
})
|
|
21
22
|
}, {
|
|
22
23
|
default: t(() => [
|
|
23
|
-
i.invoice ? (o(), u("div",
|
|
24
|
-
_("div",
|
|
24
|
+
i.invoice ? (o(), u("div", b, [
|
|
25
|
+
_("div", g, [
|
|
25
26
|
r(e(s), {
|
|
26
27
|
variant: "caps-heading",
|
|
27
28
|
class: "sv-invoice-details__label"
|
|
@@ -44,14 +45,14 @@ const h = {
|
|
|
44
45
|
a(c(e(v)({
|
|
45
46
|
date: i.invoice.invoice_date,
|
|
46
47
|
format: "date",
|
|
47
|
-
timezone: i.invoice
|
|
48
|
+
timezone: e(f)(i.invoice),
|
|
48
49
|
offsetType: "offsetted"
|
|
49
50
|
})), 1)
|
|
50
51
|
]),
|
|
51
52
|
_: 1
|
|
52
53
|
})) : l("", !0)
|
|
53
54
|
]),
|
|
54
|
-
_("div",
|
|
55
|
+
_("div", p, [
|
|
55
56
|
r(e(s), {
|
|
56
57
|
variant: "caps-heading",
|
|
57
58
|
class: "sv-invoice-details__label"
|
|
@@ -74,7 +75,7 @@ const h = {
|
|
|
74
75
|
a(c(e(v)({
|
|
75
76
|
date: i.invoice.due_date,
|
|
76
77
|
format: "date",
|
|
77
|
-
timezone: i.invoice
|
|
78
|
+
timezone: e(f)(i.invoice),
|
|
78
79
|
offsetType: "offsetted"
|
|
79
80
|
})), 1)
|
|
80
81
|
]),
|
|
@@ -88,5 +89,5 @@ const h = {
|
|
|
88
89
|
}
|
|
89
90
|
});
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
+
D as _
|
|
92
93
|
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as r, computed as l, openBlock as c, createBlock as s, unref as o, renderSlot as m } from "vue";
|
|
2
|
+
import { _ as p, u, a as f } from "./usePayments-BXABv-lF.mjs";
|
|
3
|
+
import { w as y } from "./invoiceState-BJVHaKs7.mjs";
|
|
4
|
+
import { _ as w } from "./ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
5
|
+
import { a as _ } from "./customElements-BTj4ii4f.mjs";
|
|
6
|
+
import { _ as I } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
+
import { u as g } from "./useLoadInitialData-qzdnBoui.mjs";
|
|
8
|
+
const B = /* @__PURE__ */ r({
|
|
9
|
+
__name: "InvoiceHeader",
|
|
10
|
+
props: {
|
|
11
|
+
invoice: { type: Object },
|
|
12
|
+
payments: { type: Array },
|
|
13
|
+
invoiceDownloadService: { type: Function },
|
|
14
|
+
configuration: { type: Object }
|
|
15
|
+
},
|
|
16
|
+
setup(e) {
|
|
17
|
+
const i = e, t = l(() => y(i.invoice));
|
|
18
|
+
return (n, a) => (c(), s(o(p), {
|
|
19
|
+
class: "sv-invoice-header sv-root sv-component",
|
|
20
|
+
"payment-attempts": e.payments ?? [],
|
|
21
|
+
invoice: t.value,
|
|
22
|
+
"download-service": () => e.invoiceDownloadService(e.invoice),
|
|
23
|
+
"show-download-button": e.configuration.enableDownloadButton,
|
|
24
|
+
variant: "external"
|
|
25
|
+
}, null, 8, ["payment-attempts", "invoice", "download-service", "show-download-button"]));
|
|
26
|
+
}
|
|
27
|
+
}), j = /* @__PURE__ */ r({
|
|
28
|
+
__name: "InvoiceEntryView",
|
|
29
|
+
props: {
|
|
30
|
+
invoiceId: { type: String }
|
|
31
|
+
},
|
|
32
|
+
setup(e) {
|
|
33
|
+
const i = e, { $t: t } = _(), n = u({ invoiceId: i.invoiceId }), a = f(), { isLoading: v } = g(n.get(), a.get(i.invoiceId));
|
|
34
|
+
return (d, h) => o(v) || o(n).isPending.value ? (c(), s(I, {
|
|
35
|
+
key: 0,
|
|
36
|
+
variant: "section",
|
|
37
|
+
class: "sv-root sv-component sv-loading min-h-[100px]"
|
|
38
|
+
})) : o(n).invoice.value ? m(d.$slots, "default", {
|
|
39
|
+
invoice: o(n).invoice.value,
|
|
40
|
+
invoiceDownloadService: o(n).downloadInvoicePdf,
|
|
41
|
+
payments: o(a)
|
|
42
|
+
}, void 0, void 0, 2) : (c(), s(o(w), {
|
|
43
|
+
key: 1,
|
|
44
|
+
class: "sv-root sv-component sv-error",
|
|
45
|
+
title: o(t)({
|
|
46
|
+
defaultMessage: "We could not load this invoice. Please try again.",
|
|
47
|
+
description: "Error shown in place of an invoice that failed to load",
|
|
48
|
+
id: "invoice.load_error"
|
|
49
|
+
})
|
|
50
|
+
}, null, 8, ["title"]));
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export {
|
|
54
|
+
j as _,
|
|
55
|
+
B as a
|
|
56
|
+
};
|