@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 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),d=require("./customElements-DUMRMFQ5.js"),u=require("./Button.vue.es-BzkuglKw.js"),o={neutral:{base:"bg-gray-50",text:"text-gray-700",border:"border-gray-100"},brand:{base:"bg-primary-50",text:"text-primary-700",border:"border-primary-100"},info:{base:"bg-blue-50",text:"text-blue-700",border:"border-blue-100"},success:{base:"bg-green-50",text:"text-green-700",border:"border-green-100"},warning:{base:"bg-yellow-50",text:"text-yellow-700",border:"border-yellow-100"},danger:{base:"bg-red-50",text:"text-red-700",border:"border-red-100"},emphasis:{base:"bg-teal-50",text:"text-teal-700",border:"border-teal-100"}},c=e.defineComponent({__name:"Chip",props:{intent:{default:"neutral"},content:{},removable:{type:Boolean,default:!1},size:{default:"md"},variant:{default:"default"},textClass:{},tag:{default:"span"},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},emits:["removed"],setup(t){const a=t,r=e.computed(()=>o[a.intent].base),n=e.computed(()=>o[a.intent].text),s=e.computed(()=>o[a.intent].border);return(l,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(l.$attrs,{class:["box-content inline-flex items-center gap-1 whitespace-nowrap rounded-sm border pl-1.5",{"pr-1.5":!t.removable,"h-4 px-1.5":t.size==="xs","h-4":t.size==="sm","h-5":t.size==="md","h-6":t.size==="lg","rounded-r-none":t.hasChipAfter,"rounded-l-none":t.hasChipBefore,[n.value]:!!n.value,[r.value]:!!r.value&&t.variant!=="outline","bg-transparent":t.variant==="outline",[s.value]:!!s.value}]}),{default:e.withCtx(()=>[e.createVNode(e.unref(d._sfc_main),{tag:"span",variant:"body-xs",weight:"normal",color:"inherit",center:"",class:e.normalizeClass([t.textClass,"inline-flex h-full flex-grow items-center justify-center gap-1 leading-none"])},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])]),_:3},8,["class"]),t.removable?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass([{"h-5 w-4":t.size==="sm","h-5 w-5":t.size==="md","h-5 w-6":t.size==="lg",[r.value]:!!r.value},"flex aspect-square h-full items-center justify-center rounded"]),type:"button",title:"Remove",onClick:i[0]||(i[0]=m=>l.$emit("removed"))},[e.createVNode(e.unref(u._sfc_main$1),{class:e.normalizeClass(n.value),icon:"close",size:"xs"},null,8,["class"])],2)):e.createCommentVNode("",!0)]),_:3},16,["class"]))}});exports._sfc_main=c;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { ref as N, defineComponent as b, computed as T, openBlock as o, createElementBlock as r, unref as L, Fragment as c, renderList as f, normalizeClass as k, createVNode as w, createTextVNode as C, toDisplayString as s, createCommentVNode as u, createBlock as h } from "vue";
|
|
2
|
-
import { a as F } from "./comparators.es-D8WGL-c4.mjs";
|
|
3
|
-
import { a as B } from "./formatting.es-RclXHhKo.mjs";
|
|
4
|
-
const H = (e) => {
|
|
5
|
-
const n = (e == null ? void 0 : e.initialToggledItems) ?? [], p = (e == null ? void 0 : e.closeOthers) ?? !1, t = N(n ?? []), l = (a, v = !1) => {
|
|
6
|
-
const d = t.value.find((g) => g === a);
|
|
7
|
-
v ? t.value = a === d ? [] : [a] : d ? t.value = t.value.filter((g) => g !== a) : t.value = [...t.value, a];
|
|
8
|
-
};
|
|
9
|
-
return { toggledItems: t, toggle: (a) => l(a, p), getIsOpen: (a) => t.value.includes(a), toggleAll: (a) => {
|
|
10
|
-
a.length !== 0 && (t.value.length === a.length ? t.value = [] : t.value = a);
|
|
11
|
-
} };
|
|
12
|
-
}, O = ["innerHTML"], x = /* @__PURE__ */ b({
|
|
13
|
-
__name: "Comparator",
|
|
14
|
-
props: {
|
|
15
|
-
propertyName: {},
|
|
16
|
-
comparator: {},
|
|
17
|
-
value: {},
|
|
18
|
-
values: {},
|
|
19
|
-
hasFormatting: { type: Boolean, default: !0 },
|
|
20
|
-
i18n: {}
|
|
21
|
-
},
|
|
22
|
-
setup(e) {
|
|
23
|
-
const n = e, p = T(() => ({
|
|
24
|
-
propertyName: n.propertyName,
|
|
25
|
-
comparator: n.comparator,
|
|
26
|
-
value: n.value ?? "",
|
|
27
|
-
values: n.values ?? [""]
|
|
28
|
-
}));
|
|
29
|
-
return (t, l) => (o(), r("span", {
|
|
30
|
-
class: "py-0.25 px-0.5",
|
|
31
|
-
innerHTML: L(F)(e.i18n)(p.value, { hasFormatting: e.hasFormatting })
|
|
32
|
-
}, null, 8, O));
|
|
33
|
-
}
|
|
34
|
-
}), I = /* @__PURE__ */ b({
|
|
35
|
-
__name: "Comparators",
|
|
36
|
-
props: {
|
|
37
|
-
comparators: {},
|
|
38
|
-
expressionComparators: {},
|
|
39
|
-
i18n: {},
|
|
40
|
-
display: { default: "block" },
|
|
41
|
-
rootClass: {}
|
|
42
|
-
},
|
|
43
|
-
setup(e) {
|
|
44
|
-
return (n, p) => (o(), r(c, null, [
|
|
45
|
-
e.comparators ? (o(!0), r(c, { key: 0 }, f(e.comparators, ({ meter_property: t, comparator: l, value: i, values: m }, y) => {
|
|
46
|
-
var a, v;
|
|
47
|
-
return o(), r("span", {
|
|
48
|
-
key: t == null ? void 0 : t.id,
|
|
49
|
-
class: k({ block: e.display === "block", inline: e.display === "inline" })
|
|
50
|
-
}, [
|
|
51
|
-
w(x, {
|
|
52
|
-
"property-name": (t == null ? void 0 : t.name) ?? ((a = e.i18n) == null ? void 0 : a.unknown) ?? "Unknown",
|
|
53
|
-
comparator: l,
|
|
54
|
-
value: i,
|
|
55
|
-
values: m
|
|
56
|
-
}, null, 8, ["property-name", "comparator", "value", "values"]),
|
|
57
|
-
y < e.comparators.length - 1 ? (o(), r(c, { key: 0 }, [
|
|
58
|
-
C(s(" ") + s(((v = e.i18n) == null ? void 0 : v.and) ?? "and") + s(" "), 1)
|
|
59
|
-
], 64)) : u("", !0)
|
|
60
|
-
], 2);
|
|
61
|
-
}), 128)) : u("", !0),
|
|
62
|
-
e.expressionComparators ? (o(!0), r(c, { key: 1 }, f(e.expressionComparators.operands, (t, l) => {
|
|
63
|
-
var i, m;
|
|
64
|
-
return o(), r("span", {
|
|
65
|
-
key: l,
|
|
66
|
-
class: k(["bg-primary-400/25 mr-1 rounded-sm px-2", e.rootClass])
|
|
67
|
-
}, [
|
|
68
|
-
t.meter_property ? (o(), h(x, {
|
|
69
|
-
key: 0,
|
|
70
|
-
"property-name": ((i = t.meter_property.meter_property) == null ? void 0 : i.name) ?? ((m = e.i18n) == null ? void 0 : m.unknown) ?? "Unknown",
|
|
71
|
-
comparator: t.meter_property.comparator,
|
|
72
|
-
value: t.meter_property.value,
|
|
73
|
-
values: t.meter_property.values
|
|
74
|
-
}, null, 8, ["property-name", "comparator", "value", "values"])) : u("", !0),
|
|
75
|
-
t.expression ? (o(), h(I, {
|
|
76
|
-
key: 1,
|
|
77
|
-
"expression-comparators": t.expression,
|
|
78
|
-
display: e.display,
|
|
79
|
-
i18n: e.i18n,
|
|
80
|
-
"root-class": e.rootClass
|
|
81
|
-
}, null, 8, ["expression-comparators", "display", "i18n", "root-class"])) : u("", !0),
|
|
82
|
-
l < e.expressionComparators.operands.length - 1 ? (o(), r(c, { key: 2 }, [
|
|
83
|
-
C(s(" ") + s(L(B)(e.expressionComparators.operator).toLocaleLowerCase()) + s(" "), 1)
|
|
84
|
-
], 64)) : u("", !0)
|
|
85
|
-
], 2);
|
|
86
|
-
}), 128)) : u("", !0)
|
|
87
|
-
], 64));
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
export {
|
|
91
|
-
I as _,
|
|
92
|
-
H as u
|
|
93
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),k=require("./comparators.es-OGt19O9U.js"),d=require("./formatting.es-C72Nsrmh.js"),y=t=>{const r=(t==null?void 0:t.initialToggledItems)??[],c=(t==null?void 0:t.closeOthers)??!1,o=e.ref(r??[]),n=(a,i=!1)=>{const p=o.value.find(m=>m===a);i?o.value=a===p?[]:[a]:p?o.value=o.value.filter(m=>m!==a):o.value=[...o.value,a]};return{toggledItems:o,toggle:a=>n(a,c),getIsOpen:a=>o.value.includes(a),toggleAll:a=>{a.length!==0&&(o.value.length===a.length?o.value=[]:o.value=a)}}},C=["innerHTML"],g=e.defineComponent({__name:"Comparator",props:{propertyName:{},comparator:{},value:{},values:{},hasFormatting:{type:Boolean,default:!0},i18n:{}},setup(t){const r=t,c=e.computed(()=>({propertyName:r.propertyName,comparator:r.comparator,value:r.value??"",values:r.values??[""]}));return(o,n)=>(e.openBlock(),e.createElementBlock("span",{class:"py-0.25 px-0.5",innerHTML:e.unref(k.getFormattedComparator)(t.i18n)(c.value,{hasFormatting:t.hasFormatting})},null,8,C))}}),v=e.defineComponent({__name:"Comparators",props:{comparators:{},expressionComparators:{},i18n:{},display:{default:"block"},rootClass:{}},setup(t){return(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.comparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.comparators,({meter_property:o,comparator:n,value:l,values:s},u)=>{var a,i;return e.openBlock(),e.createElementBlock("span",{key:o==null?void 0:o.id,class:e.normalizeClass({block:t.display==="block",inline:t.display==="inline"})},[e.createVNode(g,{"property-name":(o==null?void 0:o.name)??((a=t.i18n)==null?void 0:a.unknown)??"Unknown",comparator:n,value:l,values:s},null,8,["property-name","comparator","value","values"]),u<t.comparators.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(((i=t.i18n)==null?void 0:i.and)??"and")+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0),t.expressionComparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.expressionComparators.operands,(o,n)=>{var l,s;return e.openBlock(),e.createElementBlock("span",{key:n,class:e.normalizeClass(["bg-primary-400/25 mr-1 rounded-sm px-2",t.rootClass])},[o.meter_property?(e.openBlock(),e.createBlock(g,{key:0,"property-name":((l=o.meter_property.meter_property)==null?void 0:l.name)??((s=t.i18n)==null?void 0:s.unknown)??"Unknown",comparator:o.meter_property.comparator,value:o.meter_property.value,values:o.meter_property.values},null,8,["property-name","comparator","value","values"])):e.createCommentVNode("",!0),o.expression?(e.openBlock(),e.createBlock(v,{key:1,"expression-comparators":o.expression,display:t.display,i18n:t.i18n,"root-class":t.rootClass},null,8,["expression-comparators","display","i18n","root-class"])):e.createCommentVNode("",!0),n<t.expressionComparators.operands.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(e.unref(d.formatEnum)(t.expressionComparators.operator).toLocaleLowerCase())+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0)],64))}});exports._sfc_main=v;exports.useToggleList=y;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as e, renderSlot as t, createCommentVNode as l, createElementVNode as a } from "vue";
|
|
2
|
-
const i = (s, r) => {
|
|
3
|
-
const d = s.__vccOpts || s;
|
|
4
|
-
for (const [n, c] of r)
|
|
5
|
-
d[n] = c;
|
|
6
|
-
return d;
|
|
7
|
-
}, _ = {}, u = { class: "sv-layout grid w-full grid-cols-1 gap-4" }, f = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "sv-layout__header"
|
|
10
|
-
}, v = { class: "sv-layout__body flex flex-col items-start gap-6 md:flex-row" }, g = { class: "sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto" }, h = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"
|
|
13
|
-
}, m = {
|
|
14
|
-
key: 1,
|
|
15
|
-
class: "sv-layout__footer"
|
|
16
|
-
};
|
|
17
|
-
function y(s, r) {
|
|
18
|
-
return o(), e("div", u, [
|
|
19
|
-
s.$slots.header ? (o(), e("div", f, [
|
|
20
|
-
t(s.$slots, "header")
|
|
21
|
-
])) : l("", !0),
|
|
22
|
-
a("div", v, [
|
|
23
|
-
a("div", g, [
|
|
24
|
-
t(s.$slots, "content")
|
|
25
|
-
]),
|
|
26
|
-
s.$slots.aside ? (o(), e("aside", h, [
|
|
27
|
-
t(s.$slots, "aside")
|
|
28
|
-
])) : l("", !0)
|
|
29
|
-
]),
|
|
30
|
-
s.$slots.footer ? (o(), e("div", m, [
|
|
31
|
-
t(s.$slots, "footer")
|
|
32
|
-
])) : l("", !0)
|
|
33
|
-
]);
|
|
34
|
-
}
|
|
35
|
-
const k = /* @__PURE__ */ i(_, [["render", y]]);
|
|
36
|
-
export {
|
|
37
|
-
k as C
|
|
38
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),n=(o,t)=>{const s=o.__vccOpts||o;for(const[l,r]of t)s[l]=r;return s},c={},d={class:"sv-layout grid w-full grid-cols-1 gap-4"},a={key:0,class:"sv-layout__header"},i={class:"sv-layout__body flex flex-col items-start gap-6 md:flex-row"},_={class:"sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto"},u={key:0,class:"sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"},m={key:1,class:"sv-layout__footer"};function f(o,t){return e.openBlock(),e.createElementBlock("div",d,[o.$slots.header?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(o.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createElementVNode("div",_,[e.renderSlot(o.$slots,"content")]),o.$slots.aside?(e.openBlock(),e.createElementBlock("aside",u,[e.renderSlot(o.$slots,"aside")])):e.createCommentVNode("",!0)]),o.$slots.footer?(e.openBlock(),e.createElementBlock("div",m,[e.renderSlot(o.$slots,"footer")])):e.createCommentVNode("",!0)])}const v=n(c,[["render",f]]);exports.ContentWithAsideLayout=v;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),u=require("./floating-ui.vue.es-Bly3DGWm.js"),f=require("./customElements-DUMRMFQ5.js"),k=require("./Button.vue.es-BzkuglKw.js"),w=require("./DividerText.vue.es-CoyDk9eH.js"),g=require("./Divider.vue.es-UwnWvUTl.js"),h=require("./index.es-BclokHQX.js"),$=require("./object.es-CdriXMPs.js"),S=require("./Chip.vue.es-B2jjzIOc.js"),V=e.defineComponent({__name:"FullClickableBlock",props:{tag:{default:"div"}},setup(t){return(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"relative"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}}),E={},M={class:"appearance-none after:absolute after:inset-0"};function F(t,o){return e.openBlock(),e.createElementBlock("button",M,[e.renderSlot(t.$slots,"default")])}const D=u._export_sfc(E,[["render",F]]),N={key:0},T={key:1},P=e.defineComponent({__name:"ListGroupItem",props:{disabled:{type:Boolean,default:!1},onClick:{},dataTestid:{},variant:{}},setup(t){return(o,l)=>(e.openBlock(),e.createBlock(e.unref(V),{tag:"li",class:e.normalizeClass(["w-full border-b border-gray-200 px-4 py-2 transition-colors",{block:!t.disabled&&t.onClick,"focus-within:bg-gray-50 focus-within:text-default hover:bg-gray-50 hover:text-default":!t.disabled&&t.onClick&&t.variant!=="danger","text-red-700 focus-within:bg-red-50 focus-within:text-red-700 hover:bg-red-50":!t.disabled&&t.onClick&&t.variant==="danger","cursor-not-allowed bg-gray-50 text-disabled":t.disabled}]),onClick:l[1]||(l[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.onClick?e.unref(D):"span"),{class:"flex w-full items-start gap-2 text-left focus:outline-none active:outline-none",disabled:t.onClick?t.disabled:void 0,type:t.onClick?"button":void 0,"data-testid":t.dataTestid,onClick:l[0]||(l[0]=n=>{var s;return(s=t.onClick)==null?void 0:s.call(t)})},{default:e.withCtx(()=>[o.$slots.prefix?(e.openBlock(),e.createElementBlock("div",N,[e.renderSlot(o.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default"),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",T,[e.renderSlot(o.$slots,"suffix")])):e.createCommentVNode("",!0)]),_:3},8,["disabled","type","data-testid"])),o.$slots.description?(e.openBlock(),e.createBlock(e.unref(f._sfc_main),{key:0,tag:"span",variant:"body-xs",class:"mt-0.5 font-normal",color:t.disabled?"inherit":"secondary"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"description")]),_:3},8,["color"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}}),y=e.defineComponent({__name:"ContextMenuItem",props:{icon:{},label:{},description:{},labelSuffixComponent:{},labelPrefixComponent:{},onClick:{type:Function},classes:{},variant:{},testId:{},disabled:{type:Boolean},active:{type:Boolean}},setup(t){return(o,l)=>(e.openBlock(),e.createBlock(e.unref(P),{class:e.normalizeClass(["border-none",{[`${t.classes}`]:!!t.classes,"bg-primary-50 text-primary-700":t.active}]),"data-testid":t.testId,disabled:t.disabled,variant:t.variant,onClick:t.onClick},e.createSlots({default:e.withCtx(()=>[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createVNode(e.unref(f._sfc_main),{tag:"span",variant:"body-sm",color:"inherit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1}),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.mergeProps({key:1},t.labelSuffixComponent.props,{class:"ml-2"}),null,16)):e.createCommentVNode("",!0)]),_:2},[t.icon?{name:"prefix",fn:e.withCtx(()=>[e.createVNode(e.unref(k._sfc_main$1),{icon:t.icon},null,8,["icon"])]),key:"0"}:void 0,t.description?{name:"description",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.description),1)]),key:"1"}:void 0]),1032,["class","data-testid","disabled","variant","onClick"]))}}),z=e.defineComponent({__name:"ContextMenuGroup",props:{label:{},items:{}},setup(t){return(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(w._sfc_main),{"has-outer-divider":""},{default:e.withCtx(()=>[e.createVNode(e.unref(f._sfc_main),{class:"py-2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(n,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s},[n==="divider"?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0})):n.label?(e.openBlock(),e.createBlock(y,{key:1,label:n.label,"on-click":n.onClick,icon:n.icon,variant:n.variant,classes:n.classes,"label-suffix-component":n.labelSuffixComponent,"label-prefix-component":n.labelPrefixComponent,disabled:n.disabled,active:n.active},null,8,["label","on-click","icon","variant","classes","label-suffix-component","label-prefix-component","disabled","active"])):e.createCommentVNode("",!0)],64))),128))],64))}}),q={};function A(t,o){return e.openBlock(),e.createBlock(e.TransitionGroup,{"enter-active-class":"duration-100 ease-out transform-gpu","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-100 ease-in transform-gpu","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})}const B=u._export_sfc(q,[["render",A]]),p=(t,o=!0,l=[])=>(t.forEach(n=>{if(n!==null){if(typeof n!="object"){(typeof n=="string"||typeof n=="number")&&l.push(e.createTextVNode(String(n)));return}if(Array.isArray(n)){p(n,o,l);return}if(n.type===e.Fragment){if(n.children===null)return;Array.isArray(n.children)&&p(n.children,o,l)}else n.type!==e.Comment&&l.push(n)}}),l),j=(t,o="default",l=void 0)=>{const n=t[o];if(!n)return null;const s=p(n(l));return s.length===1?s[0]:null},I={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};function L(t,o){Object.entries(I).forEach(([,l])=>{l.forEach(n=>{t.props?t.props=Object.assign({},t.props):t.props={};const s=t.props[n],d=o[n];s?t.props[n]=(...a)=>{s(...a),d(...a)}:t.props[n]=d})})}const C=e.defineComponent({name:"SlotListener",props:{trigger:{type:String,default:"click"}},emits:["click","focus","blur","mouseenter","mouseleave"],setup(t,{emit:o}){return{handleClick:r=>{o("click",r)},handleBlur:r=>{o("blur",r)},handleFocus:r=>{o("focus",r)},handleMouseLeave:r=>{o("mouseleave",r)},handleMouseEnter:r=>{o("mouseenter",r)}}},render(){const{$slots:t}=this,o={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},l=j(t,"default"),n=[o];return l!=null&&l.props&&n.push($.pick(l.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur")),l&&L(l,{onBlur:d=>{n.forEach(a=>{var r;(r=a==null?void 0:a.onBlur)==null||r.call(a,d)})},onFocus:d=>{n.forEach(a=>{var r;(r=a==null?void 0:a.onFocus)==null||r.call(a,d)})},onClick:d=>{n.forEach(a=>{var r;(r=a==null?void 0:a.onClick)==null||r.call(a,d)})},onMouseenter:d=>{n.forEach(a=>{var r;(r=a==null?void 0:a.onMouseenter)==null||r.call(a,d)})},onMouseleave:d=>{n.forEach(a=>{var r;(r=a==null?void 0:a.onMouseleave)==null||r.call(a,d)})}}),l}}),O=["id"],x=e.defineComponent({__name:"Portal",props:{to:{},name:{},disabled:{type:Boolean}},setup(t){const o=t,l=o.to?e.inject(f.getPortalInjectKey(o.to),null):null,n=l!==null;return e.onMounted(()=>{if(!(o.name||o.to))throw new Error("Define either the `to` or the `name` prop.")}),(s,d)=>t.name?(e.openBlock(),e.createElementBlock("div",{key:0,id:`portal-${t.name}`},null,8,O)):t.to&&n&&e.unref(l)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(l),disabled:t.disabled},[e.renderSlot(s.$slots,"default")],8,["to","disabled"])):t.to&&!n?(e.openBlock(),e.createBlock(e.Teleport,{key:2,to:`#portal-${t.to}`,disabled:t.disabled},[e.renderSlot(s.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),H={class:"inline-flex items-center"},G=e.defineComponent({__name:"Dropdown",props:{placement:{default:"bottom-end"},text:{default:""},transition:{default:""},offset:{default:8},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},dropdownClass:{}},setup(t){const o=t,l=e.ref(!1),n=()=>l.value=!1,s=()=>{o.disabled||(l.value=!l.value)},d={bottom:"to-bottom","bottom-start":"to-bottom","bottom-end":"to-bottom",left:"to-left","left-start":"to-left","left-end":"to-left",right:"to-right","right-start":"to-right","right-end":"to-right",top:"to-top","top-start":"to-top","top-end":"to-top"},a=e.ref(),r=e.ref(),c=e.ref(),i=e.computed(()=>o.transition===null?d[o.placement]:o.transition),{floatingStyles:m}=u.useFloating(c,r,{whileElementsMounted:u.autoUpdate,placement:o.placement,middleware:[u.offset(o.offset),u.flip()]});return h.onClickOutside(c,()=>{l.value&&(l.value=!1)}),h.onKeyStroke("Escape",()=>{l.value=!1}),(b,v)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:c,class:"relative inline-flex"},[e.createElementVNode("div",H,[e.createVNode(e.unref(C),{onClick:s},{default:e.withCtx(()=>[e.renderSlot(b.$slots,"trigger",{visible:l.value},()=>[e.createVNode(e.unref(k._sfc_main),{ref_key:"trigger",ref:a},{suffix:e.withCtx(()=>[...v[0]||(v[0]=[e.createElementVNode("svg",{class:"ml-2 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)])]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text)+" ",1)]),_:1},512)],!0)]),_:3})]),e.createVNode(e.unref(x),{to:e.unref(f.DROPDOWN_PORTAL_NAME),disabled:t.isPortalDisabled},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:i.value},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"content",ref:r,style:e.normalizeStyle(e.unref(m)),class:e.normalizeClass(["z-60 divide-y divide-gray-100 rounded bg-white shadow",t.dropdownClass])},[e.createVNode(e.unref(C),{onClick:n},{default:e.withCtx(()=>[e.renderSlot(b.$slots,"default",{},void 0,!0)]),_:3})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]),_:3},8,["to","disabled"])],512))}}),R=u._export_sfc(G,[["__scopeId","data-v-c0f85806"]]),K=e.defineComponent({__name:"ListGroup",props:{width:{default:"default"}},setup(t){return(o,l)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium",{"w-48":t.width==="default","w-64":t.width==="wide"}])},[e.renderSlot(o.$slots,"default")],2))}}),U={class:"relative inline-flex"},W=e.defineComponent({inheritAttrs:!1,__name:"ContextMenu",props:{items:{},icon:{default:"more_vert"},square:{type:Boolean,default:!1},outlined:{type:Boolean},width:{},disabled:{type:Boolean,default:void 0},isPortalDisabled:{type:Boolean},triggerSize:{default:"sm"},dropdownClass:{},showActiveCount:{type:Boolean,default:!0}},setup(t){const o=t,l=e.useSlots(),n=e.computed(()=>{var a,r;return o.disabled??(((r=((a=o.items)==null?void 0:a.flatMap(c=>c!=="divider"&&"items"in c?c.items:c))??[])==null?void 0:r.filter(c=>c!=="divider").every(c=>c.disabled))&&!l.default)}),s=a=>(a??[]).reduce((r,c)=>c==="divider"?r:"items"in c?r+s(c.items):r+(c.active?1:0),0),d=e.computed(()=>s(o.items));return(a,r)=>(e.openBlock(),e.createElementBlock("div",U,[e.createVNode(e.unref(B),null,{default:e.withCtx(()=>{var c;return[(c=t.items)!=null&&c.length||a.$slots.default||t.disabled?(e.openBlock(),e.createBlock(e.unref(R),e.mergeProps({key:0,"is-portal-disabled":n.value},a.$attrs,{"dropdown-class":t.dropdownClass}),{trigger:e.withCtx(({visible:i})=>[e.renderSlot(a.$slots,"trigger",{visible:i},()=>[e.createVNode(e.unref(k._sfc_main),{type:"button",pill:!t.square,square:"",intent:t.outlined?"secondary":"subtle",size:t.triggerSize,"data-testid":"context-menu",disabled:n.value,"icon-prefix":t.icon,onClick:r[0]||(r[0]=e.withModifiers(()=>{},["stop"]))},null,8,["pill","intent","size","disabled","icon-prefix"])])]),default:e.withCtx(()=>[t.items||a.$slots.default?(e.openBlock(),e.createBlock(e.unref(K),{key:0,width:t.width,class:"z-60 p-0.5"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"header"),t.items?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.items,(i,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[i==="divider"&&m<t.items.length-1?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,spacing:"none"})):i!=="divider"&&!("items"in i)?(e.openBlock(),e.createBlock(y,{key:1,label:i.label,variant:i.variant,icon:i.icon,"label-suffix-component":i.labelSuffixComponent,"label-prefix-component":i.labelPrefixComponent,description:i.description,classes:i.classes,"test-id":i.testId,disabled:i.disabled,active:i.active,onClick:i.onClick},null,8,["label","variant","icon","label-suffix-component","label-prefix-component","description","classes","test-id","disabled","active","onClick"])):i!=="divider"?(e.openBlock(),e.createBlock(z,{key:2,class:"rounded-sm",label:i.label,items:i.items},null,8,["label","items"])):e.createCommentVNode("",!0)],64))),128)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default")]),_:3},8,["width"])):e.createCommentVNode("",!0)]),_:3},16,["is-portal-disabled","dropdown-class"])):e.createCommentVNode("",!0)]}),_:3}),t.showActiveCount&&d.value>0?(e.openBlock(),e.createBlock(e.unref(S._sfc_main),{key:0,size:"xs",intent:"brand",class:"pointer-events-none absolute -right-1.5 -top-1.5","data-testid":"context-menu-active-count"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.value),1)]),_:1})):e.createCommentVNode("",!0)]))}});exports.Fade=B;exports._sfc_main=x;exports._sfc_main$1=W;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),n=require("./customElements-DUMRMFQ5.js"),g=require("./Section.vue.es-Bbt0RITt.js"),_=require("./getCountryNameByCode.es-Xxc0nZsH.js"),h=require("./customer.es-BButyYo0.js"),b=require("./typeGuards.es-DS3vZaJn.js"),y=["US","CA"];function v(t){if(y.includes(t.country)){const c=a([t.line1,t.line2],", "),r=a([t.state,t.postal_code]," "),u=_.getCountryNameByCode(t.country);return a([c,t.city,r,u],", ")}const i=a([t.line1,t.line2]," "),l=a([t.postal_code,t.city]," "),s=_.getCountryNameByCode(t.country);return a([i,l,t.state,s],", ")}function a(t,o){return t.filter(Boolean).join(o)}const p={key:0,class:"flex flex-col gap-2"},N={key:0},x={key:1},C={key:2},k={key:3},V={key:1},T=e.defineComponent({__name:"CustomerBillingInformation",props:{customer:{},title:{},fallbackToReference:{type:Boolean,default:!0}},setup(t){const{$t:o}=n.useIntl(),i=t,l=e.computed(()=>{if(!i.customer)return;const r=h.getCustomerName(i.customer);if(i.fallbackToReference&&r==="")return i.customer.reference;if(!(!i.fallbackToReference&&r===""))return r}),s=e.computed(()=>i.title||o({defaultMessage:"Billing information",description:"Title for the billing information",id:"customer_billing_information.title"})),c=e.computed(()=>{if(i.customer){if("individual"in i.customer)return i.customer.individual.residential_address;if("organization"in i.customer)return i.customer.organization.registered_address}});return(r,u)=>(e.openBlock(),e.createBlock(g._sfc_main,{title:s.value},{right:e.withCtx(()=>[e.renderSlot(r.$slots,"settings")]),default:e.withCtx(()=>{var d;return[t.customer?(e.openBlock(),e.createElementBlock("div",p,[l.value?(e.openBlock(),e.createElementBlock("div",N,[e.createVNode(n._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Name",description:"The label for the customer name in the billing information",id:"customer_billing_information.name_label"})),1)]),_:1}),e.createVNode(n._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1})])):e.createCommentVNode("",!0),(d=c.value)!=null&&d.line1?(e.openBlock(),e.createElementBlock("div",x,[e.createVNode(n._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Billing address",description:"The label for the customer billing address in the billing information",id:"customer_billing_information.billing_address_label"})),1)]),_:1}),e.createVNode(n._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(v)(c.value)),1)]),_:1})])):e.createCommentVNode("",!0),t.customer.email?(e.openBlock(),e.createElementBlock("div",C,[e.createVNode(n._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Email address",description:"The label for the customer email address in the billing information",id:"customer_billing_information.email_address_label"})),1)]),_:1}),e.createVNode(n._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.customer.email),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(b.isOrganization)(t.customer)?(e.openBlock(),e.createElementBlock("div",k,[e.createVNode(n._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"VAT number",description:"The label for the customer Vat number in the billing information",id:"customer_billing_information.vat_number_label"})),1)]),_:1}),e.createVNode(n._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>{var m,f;return[e.createTextVNode(e.toDisplayString((f=(m=t.customer.organization.tax_ids)==null?void 0:m[0])==null?void 0:f.id),1)]}),_:1})])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",V,[e.createVNode(n._sfc_main,{variant:"body-xs",color:"secondary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"No billing information to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.billing_information.no_billing_information_available"})),1)]),_:1})]))]}),_:3},8,["title"]))}});exports._sfc_main=T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.DEFAULT_MAX_ITEMS=3;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),m=require("./Button.vue.es-BzkuglKw.js"),r=require("./Section.vue.es-Bbt0RITt.js"),l=require("./customElements-DUMRMFQ5.js"),u=require("./PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js"),p=require("./Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),h=require("./useActionDispatchProvider-DFhppdve.js"),y=require("./configuration-akTS7Wiw.js"),_=e.defineComponent({__name:"CustomerPaymentMethodsBlock",props:{paymentMethods:{type:Array},limit:{default:2,type:Number},isLoading:{type:Boolean},showViewAllButton:{type:Boolean},showAddButton:{type:Boolean}},emits:["view-all-payment-methods","add-payment-method"],setup(t){const d=t,{$t:o}=l.useIntl(),i=e.computed(()=>d.paymentMethods.length>0);return(s,a)=>(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{class:"sv-payment-methods","no-spacing":"","no-border":"",title:e.unref(o)({defaultMessage:"{count, plural, one {Payment method} other {Payment methods}}",description:"Title for the payment methods block on the customer overview page",id:"customer_overview.payment_methods.title"},{count:String(t.paymentMethods.length)})},e.createSlots({default:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(u._sfc_main,{key:0,"payment-methods":t.paymentMethods},null,8,["payment-methods"])):(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:1,class:"sv-empty-state sv-payment-methods__empty"},{default:e.withCtx(()=>[e.createVNode(e.unref(l._sfc_main),{variant:"body-sm",color:"subtle","no-spacing":"",class:"sv-payment-methods__empty-message"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Add a payment method for recurring invoice payments.",description:"Helper text for adding a payment method when no payment methods are configured",id:"customer_overview.payment_methods_block.add_payment_method_helper_text"})),1)]),_:1}),t.showAddButton?(e.openBlock(),e.createBlock(e.unref(m._sfc_main),{key:0,class:"sv-action sv-action--secondary sv-action--full-width sv-payment-methods__add mt-4 w-full",intent:"secondary","icon-prefix":"add",type:"button",onClick:a[1]||(a[1]=n=>s.$emit("add-payment-method"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Add payment method",description:"Text for the add payment method button that is shown when no payment methods have been configured",id:"customer_overview.payment_methods_block.add_payment_method_button_label"})),1)]),_:1})):e.createCommentVNode("",!0)]),_:1}))]),_:2},[t.showViewAllButton?{name:"right",fn:e.withCtx(()=>[e.createVNode(e.unref(m._sfc_main),{size:"sm",intent:"subtle","icon-suffix":"arrow_right_alt",class:"sv-action sv-action--ghost sv-payment-methods__view-all",type:"button",onClick:a[0]||(a[0]=n=>s.$emit("view-all-payment-methods"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"View all",id:"customer_overview.payment_methods_block.view_all_payment_methods_link_label",description:"The link text that links to the overview page of the customer invoices"})),1)]),_:1})]),key:"0"}:void 0]),1032,["title"]))}}),v=e.defineComponent({__name:"CustomerPaymentMethods",props:{isLoading:{type:Boolean},paymentMethods:{type:Array},maxPaymentMethods:{type:Number},configuration:{type:Object}},setup(t){const d={showViewAllButton:!0,showAddButton:!0},o=t,i=e.computed(()=>y.resolveConfiguration(d,o.configuration)),{dispatchAction:s}=h.useActionDispatchProvider();return(a,n)=>t.isLoading?(e.openBlock(),e.createBlock(p._sfc_main,{key:0,variant:"section",class:"sv-payment-methods sv-root sv-component sv-loading h-72"})):(e.openBlock(),e.createBlock(_,{key:1,class:"sv-payment-methods sv-root sv-component","is-loading":t.isLoading,"payment-methods":t.paymentMethods,"show-view-all-button":i.value.showViewAllButton,"show-add-button":i.value.showAddButton,onViewAllPaymentMethods:n[0]||(n[0]=c=>e.unref(s)({action:"view-all-payment-methods"})),onAddPaymentMethod:n[1]||(n[1]=c=>e.unref(s)({action:"add-payment-method"}))},null,8,["is-loading","payment-methods","show-view-all-button","show-add-button"]))}});exports._sfc_main=v;
|