@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,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { _ as
|
|
1
|
+
import { defineComponent as y, openBlock as s, createBlock as b, resolveDynamicComponent as M, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as L, normalizeClass as S, createCommentVNode as v, createSlots as G, normalizeProps as q, mergeProps as F, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as g, renderList as j, TransitionGroup as R, Comment as K, inject as W, onMounted as J, Teleport as T, ref as B, computed as P, createElementVNode as E, Transition as Q, normalizeStyle as U, useSlots as X } from "vue";
|
|
2
|
+
import { _ as z, u as Y } from "./useLazyFloating.es-CycqRyeb.mjs";
|
|
3
|
+
import { d as A, p as Z, D as N } from "./customElements-BTj4ii4f.mjs";
|
|
4
|
+
import { a as _, _ as V } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
5
|
+
import { _ as ee } from "./DividerText.vue.es-CNbgif-3.mjs";
|
|
6
6
|
import { _ as O } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
7
|
-
import { e as
|
|
8
|
-
import { p as
|
|
9
|
-
import { _ as
|
|
10
|
-
const
|
|
7
|
+
import { e as te, o as ne } from "./index.es-C7J3WGGo.mjs";
|
|
8
|
+
import { p as le } from "./object.es-8aLDIncs.mjs";
|
|
9
|
+
import { _ as oe } from "./Chip.vue.es-D3UDSyXC.mjs";
|
|
10
|
+
const ae = /* @__PURE__ */ y({
|
|
11
11
|
__name: "FullClickableBlock",
|
|
12
12
|
props: {
|
|
13
13
|
tag: { default: "div" }
|
|
14
14
|
},
|
|
15
15
|
setup(e) {
|
|
16
|
-
return (n, l) => (s(), b(
|
|
16
|
+
return (n, l) => (s(), b(M(e.tag), { class: "relative" }, {
|
|
17
17
|
default: r(() => [
|
|
18
18
|
m(n.$slots, "default")
|
|
19
19
|
]),
|
|
20
20
|
_: 3
|
|
21
21
|
}));
|
|
22
22
|
}
|
|
23
|
-
}),
|
|
24
|
-
function
|
|
25
|
-
return s(), p("button",
|
|
23
|
+
}), se = {}, ie = { class: "appearance-none after:absolute after:inset-0" };
|
|
24
|
+
function re(e, n) {
|
|
25
|
+
return s(), p("button", ie, [
|
|
26
26
|
m(e.$slots, "default")
|
|
27
27
|
]);
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const de = /* @__PURE__ */ z(se, [["render", re]]), ce = { key: 0 }, ue = { key: 1 }, fe = /* @__PURE__ */ y({
|
|
30
30
|
__name: "ListGroupItem",
|
|
31
31
|
props: {
|
|
32
32
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -35,19 +35,19 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
35
35
|
variant: {}
|
|
36
36
|
},
|
|
37
37
|
setup(e) {
|
|
38
|
-
return (n, l) => (s(), b(i(
|
|
38
|
+
return (n, l) => (s(), b(i(ae), {
|
|
39
39
|
tag: "li",
|
|
40
|
-
class:
|
|
40
|
+
class: S(["w-full border-b border-gray-200 px-4 py-2 transition-colors last:border-b-0", {
|
|
41
41
|
block: !e.disabled && e.onClick,
|
|
42
42
|
"focus-within:bg-gray-50 focus-within:text-default hover:bg-gray-50 hover:text-default": !e.disabled && e.onClick && e.variant !== "danger",
|
|
43
43
|
"text-red-700 focus-within:bg-red-50 focus-within:text-red-700 hover:bg-red-50": !e.disabled && e.onClick && e.variant === "danger",
|
|
44
44
|
"cursor-not-allowed bg-gray-50 text-disabled": e.disabled
|
|
45
45
|
}]),
|
|
46
|
-
onClick: l[1] || (l[1] =
|
|
46
|
+
onClick: l[1] || (l[1] = L(() => {
|
|
47
47
|
}, ["stop"]))
|
|
48
48
|
}, {
|
|
49
49
|
default: r(() => [
|
|
50
|
-
(s(), b(
|
|
50
|
+
(s(), b(M(e.onClick ? i(de) : "span"), {
|
|
51
51
|
class: "flex w-full items-start gap-2 text-left focus:outline-none active:outline-none",
|
|
52
52
|
disabled: e.onClick ? e.disabled : void 0,
|
|
53
53
|
type: e.onClick ? "button" : void 0,
|
|
@@ -58,17 +58,17 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
58
58
|
})
|
|
59
59
|
}, {
|
|
60
60
|
default: r(() => [
|
|
61
|
-
n.$slots.prefix ? (s(), p("div",
|
|
61
|
+
n.$slots.prefix ? (s(), p("div", ce, [
|
|
62
62
|
m(n.$slots, "prefix")
|
|
63
63
|
])) : v("", !0),
|
|
64
64
|
m(n.$slots, "default"),
|
|
65
|
-
n.$slots.suffix ? (s(), p("div",
|
|
65
|
+
n.$slots.suffix ? (s(), p("div", ue, [
|
|
66
66
|
m(n.$slots, "suffix")
|
|
67
67
|
])) : v("", !0)
|
|
68
68
|
]),
|
|
69
69
|
_: 3
|
|
70
70
|
}, 8, ["disabled", "type", "data-testid"])),
|
|
71
|
-
n.$slots.description ? (s(), b(i(
|
|
71
|
+
n.$slots.description ? (s(), b(i(A), {
|
|
72
72
|
key: 0,
|
|
73
73
|
tag: "span",
|
|
74
74
|
variant: "body-xs",
|
|
@@ -84,7 +84,7 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
84
84
|
_: 3
|
|
85
85
|
}, 8, ["class"]));
|
|
86
86
|
}
|
|
87
|
-
}), H = /* @__PURE__ */
|
|
87
|
+
}), H = /* @__PURE__ */ y({
|
|
88
88
|
__name: "ContextMenuItem",
|
|
89
89
|
props: {
|
|
90
90
|
icon: {},
|
|
@@ -100,16 +100,16 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
100
100
|
active: { type: Boolean }
|
|
101
101
|
},
|
|
102
102
|
setup(e) {
|
|
103
|
-
return (n, l) => (s(), b(i(
|
|
104
|
-
class:
|
|
103
|
+
return (n, l) => (s(), b(i(fe), {
|
|
104
|
+
class: S(["border-none", { [`${e.classes}`]: !!e.classes, "bg-primary-50 text-primary-700": e.active }]),
|
|
105
105
|
"data-testid": e.testId,
|
|
106
106
|
disabled: e.disabled,
|
|
107
107
|
variant: e.variant,
|
|
108
108
|
onClick: e.onClick
|
|
109
109
|
}, G({
|
|
110
110
|
default: r(() => [
|
|
111
|
-
e.labelPrefixComponent ? (s(), b(
|
|
112
|
-
h(i(
|
|
111
|
+
e.labelPrefixComponent ? (s(), b(M(e.labelPrefixComponent.component), q(F({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : v("", !0),
|
|
112
|
+
h(i(A), {
|
|
113
113
|
tag: "span",
|
|
114
114
|
variant: "body-sm",
|
|
115
115
|
color: "inherit"
|
|
@@ -119,14 +119,14 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
119
119
|
]),
|
|
120
120
|
_: 1
|
|
121
121
|
}),
|
|
122
|
-
e.labelSuffixComponent ? (s(), b(
|
|
122
|
+
e.labelSuffixComponent ? (s(), b(M(e.labelSuffixComponent.component), F({ key: 1 }, e.labelSuffixComponent.props, { class: "ml-2" }), null, 16)) : v("", !0)
|
|
123
123
|
]),
|
|
124
124
|
_: 2
|
|
125
125
|
}, [
|
|
126
126
|
e.icon ? {
|
|
127
127
|
name: "prefix",
|
|
128
128
|
fn: r(() => [
|
|
129
|
-
h(i(
|
|
129
|
+
h(i(_), { icon: e.icon }, null, 8, ["icon"])
|
|
130
130
|
]),
|
|
131
131
|
key: "0"
|
|
132
132
|
} : void 0,
|
|
@@ -139,17 +139,17 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
139
139
|
} : void 0
|
|
140
140
|
]), 1032, ["class", "data-testid", "disabled", "variant", "onClick"]));
|
|
141
141
|
}
|
|
142
|
-
}),
|
|
142
|
+
}), be = /* @__PURE__ */ y({
|
|
143
143
|
__name: "ContextMenuGroup",
|
|
144
144
|
props: {
|
|
145
145
|
label: {},
|
|
146
146
|
items: {}
|
|
147
147
|
},
|
|
148
148
|
setup(e) {
|
|
149
|
-
return (n, l) => (s(), p(
|
|
150
|
-
h(i(
|
|
149
|
+
return (n, l) => (s(), p(g, null, [
|
|
150
|
+
h(i(ee), { "has-outer-divider": "" }, {
|
|
151
151
|
default: r(() => [
|
|
152
|
-
h(i(
|
|
152
|
+
h(i(A), {
|
|
153
153
|
class: "py-2",
|
|
154
154
|
variant: "caps-heading"
|
|
155
155
|
}, {
|
|
@@ -161,7 +161,7 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
}),
|
|
164
|
-
(s(!0), p(
|
|
164
|
+
(s(!0), p(g, null, j(e.items, (t, c) => (s(), p(g, { key: c }, [
|
|
165
165
|
t === "divider" ? (s(), b(i(O), { key: 0 })) : t.label ? (s(), b(H, {
|
|
166
166
|
key: 1,
|
|
167
167
|
label: t.label,
|
|
@@ -177,8 +177,8 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
|
|
|
177
177
|
], 64))), 128))
|
|
178
178
|
], 64));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
181
|
-
function
|
|
180
|
+
}), me = {};
|
|
181
|
+
function ve(e, n) {
|
|
182
182
|
return s(), b(R, {
|
|
183
183
|
"enter-active-class": "duration-100 ease-out transform-gpu",
|
|
184
184
|
"enter-from-class": "opacity-0",
|
|
@@ -193,35 +193,35 @@ function ge(e, n) {
|
|
|
193
193
|
_: 3
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
const
|
|
196
|
+
const pe = /* @__PURE__ */ z(me, [["render", ve]]), D = (e, n = !0, l = []) => (e.forEach((t) => {
|
|
197
197
|
if (t !== null) {
|
|
198
198
|
if (typeof t != "object") {
|
|
199
199
|
(typeof t == "string" || typeof t == "number") && l.push(k(String(t)));
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
202
202
|
if (Array.isArray(t)) {
|
|
203
|
-
|
|
203
|
+
D(t, n, l);
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
|
-
if (t.type ===
|
|
206
|
+
if (t.type === g) {
|
|
207
207
|
if (t.children === null)
|
|
208
208
|
return;
|
|
209
|
-
Array.isArray(t.children) &&
|
|
209
|
+
Array.isArray(t.children) && D(t.children, n, l);
|
|
210
210
|
} else t.type !== K && l.push(t);
|
|
211
211
|
}
|
|
212
|
-
}), l),
|
|
212
|
+
}), l), he = (e, n = "default", l = void 0) => {
|
|
213
213
|
const t = e[n];
|
|
214
214
|
if (!t)
|
|
215
215
|
return null;
|
|
216
|
-
const c =
|
|
216
|
+
const c = D(t(l));
|
|
217
217
|
return c.length === 1 ? c[0] : null;
|
|
218
|
-
},
|
|
218
|
+
}, ye = {
|
|
219
219
|
focus: ["onFocus", "onBlur"],
|
|
220
220
|
click: ["onClick"],
|
|
221
221
|
hover: ["onMouseenter", "onMouseleave"]
|
|
222
222
|
};
|
|
223
|
-
function
|
|
224
|
-
Object.entries(
|
|
223
|
+
function ge(e, n) {
|
|
224
|
+
Object.entries(ye).forEach(([, l]) => {
|
|
225
225
|
l.forEach((t) => {
|
|
226
226
|
e.props ? e.props = Object.assign({}, e.props) : e.props = {};
|
|
227
227
|
const c = e.props[t], f = n[t];
|
|
@@ -231,7 +231,7 @@ function $e(e, n) {
|
|
|
231
231
|
});
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
const I =
|
|
234
|
+
const I = y({
|
|
235
235
|
name: "SlotListener",
|
|
236
236
|
props: {
|
|
237
237
|
trigger: {
|
|
@@ -266,9 +266,9 @@ const I = g({
|
|
|
266
266
|
onMouseleave: this.handleMouseLeave,
|
|
267
267
|
onFocus: this.handleFocus,
|
|
268
268
|
onBlur: this.handleBlur
|
|
269
|
-
}, l =
|
|
269
|
+
}, l = he(e, "default"), t = [n];
|
|
270
270
|
return l != null && l.props && t.push(
|
|
271
|
-
|
|
271
|
+
le(
|
|
272
272
|
l.props,
|
|
273
273
|
"onClick",
|
|
274
274
|
"onMouseenter",
|
|
@@ -276,7 +276,7 @@ const I = g({
|
|
|
276
276
|
"onFocus",
|
|
277
277
|
"onBlur"
|
|
278
278
|
)
|
|
279
|
-
), l &&
|
|
279
|
+
), l && ge(l, {
|
|
280
280
|
onBlur: (f) => {
|
|
281
281
|
t.forEach((o) => {
|
|
282
282
|
var a;
|
|
@@ -309,7 +309,7 @@ const I = g({
|
|
|
309
309
|
}
|
|
310
310
|
}), l;
|
|
311
311
|
}
|
|
312
|
-
}),
|
|
312
|
+
}), ke = ["id"], Ce = /* @__PURE__ */ y({
|
|
313
313
|
__name: "Portal",
|
|
314
314
|
props: {
|
|
315
315
|
to: {},
|
|
@@ -317,20 +317,20 @@ const I = g({
|
|
|
317
317
|
disabled: { type: Boolean }
|
|
318
318
|
},
|
|
319
319
|
setup(e) {
|
|
320
|
-
const n = e, l = n.to ?
|
|
321
|
-
return
|
|
320
|
+
const n = e, l = n.to ? W(Z(n.to), null) : null, t = l !== null;
|
|
321
|
+
return J(() => {
|
|
322
322
|
if (!(n.name || n.to))
|
|
323
323
|
throw new Error("Define either the `to` or the `name` prop.");
|
|
324
324
|
}), (c, f) => e.name ? (s(), p("div", {
|
|
325
325
|
key: 0,
|
|
326
326
|
id: `portal-${e.name}`
|
|
327
|
-
}, null, 8,
|
|
327
|
+
}, null, 8, ke)) : e.to && t && i(l) ? (s(), b(T, {
|
|
328
328
|
key: 1,
|
|
329
329
|
to: i(l),
|
|
330
330
|
disabled: e.disabled
|
|
331
331
|
}, [
|
|
332
332
|
m(c.$slots, "default")
|
|
333
|
-
], 8, ["to", "disabled"])) : e.to && !t ? (s(), b(
|
|
333
|
+
], 8, ["to", "disabled"])) : e.to && !t ? (s(), b(T, {
|
|
334
334
|
key: 2,
|
|
335
335
|
to: `#portal-${e.to}`,
|
|
336
336
|
disabled: e.disabled
|
|
@@ -338,7 +338,7 @@ const I = g({
|
|
|
338
338
|
m(c.$slots, "default")
|
|
339
339
|
], 8, ["to", "disabled"])) : v("", !0);
|
|
340
340
|
}
|
|
341
|
-
}),
|
|
341
|
+
}), $e = { class: "inline-flex items-center" }, we = /* @__PURE__ */ y({
|
|
342
342
|
__name: "Dropdown",
|
|
343
343
|
props: {
|
|
344
344
|
placement: { default: "bottom-end" },
|
|
@@ -350,7 +350,7 @@ const I = g({
|
|
|
350
350
|
dropdownClass: {}
|
|
351
351
|
},
|
|
352
352
|
setup(e) {
|
|
353
|
-
const n = e, l =
|
|
353
|
+
const n = e, l = B(!1), t = () => l.value = !1, c = () => {
|
|
354
354
|
n.disabled || (l.value = !l.value);
|
|
355
355
|
}, f = {
|
|
356
356
|
bottom: "to-bottom",
|
|
@@ -365,39 +365,38 @@ const I = g({
|
|
|
365
365
|
top: "to-top",
|
|
366
366
|
"top-start": "to-top",
|
|
367
367
|
"top-end": "to-top"
|
|
368
|
-
}, o =
|
|
368
|
+
}, o = B(), a = B(), u = B(), d = P(
|
|
369
369
|
() => n.transition === null ? f[n.placement] : n.transition
|
|
370
370
|
), { floatingStyles: $ } = Y(u, a, {
|
|
371
|
-
whileElementsMounted: Z,
|
|
372
371
|
placement: n.placement,
|
|
373
|
-
middleware: [
|
|
372
|
+
middleware: ({ offset: w, flip: x }) => [w(n.offset), x()]
|
|
374
373
|
});
|
|
375
|
-
return
|
|
374
|
+
return te(u, () => {
|
|
376
375
|
l.value && (l.value = !1);
|
|
377
|
-
}),
|
|
376
|
+
}), ne("Escape", () => {
|
|
378
377
|
l.value = !1;
|
|
379
|
-
}), (
|
|
378
|
+
}), (w, x) => (s(), p("div", {
|
|
380
379
|
ref_key: "wrapper",
|
|
381
380
|
ref: u,
|
|
382
381
|
class: "relative inline-flex"
|
|
383
382
|
}, [
|
|
384
|
-
|
|
383
|
+
E("div", $e, [
|
|
385
384
|
h(i(I), { onClick: c }, {
|
|
386
385
|
default: r(() => [
|
|
387
|
-
m(
|
|
386
|
+
m(w.$slots, "trigger", { visible: l.value }, () => [
|
|
388
387
|
h(i(V), {
|
|
389
388
|
ref_key: "trigger",
|
|
390
389
|
ref: o
|
|
391
390
|
}, {
|
|
392
|
-
suffix: r(() => [...
|
|
393
|
-
|
|
391
|
+
suffix: r(() => [...x[0] || (x[0] = [
|
|
392
|
+
E("svg", {
|
|
394
393
|
class: "ml-2 h-4 w-4",
|
|
395
394
|
fill: "none",
|
|
396
395
|
stroke: "currentColor",
|
|
397
396
|
viewBox: "0 0 24 24",
|
|
398
397
|
xmlns: "http://www.w3.org/2000/svg"
|
|
399
398
|
}, [
|
|
400
|
-
|
|
399
|
+
E("path", {
|
|
401
400
|
"stroke-linecap": "round",
|
|
402
401
|
"stroke-linejoin": "round",
|
|
403
402
|
"stroke-width": "2",
|
|
@@ -415,23 +414,23 @@ const I = g({
|
|
|
415
414
|
_: 3
|
|
416
415
|
})
|
|
417
416
|
]),
|
|
418
|
-
h(i(
|
|
419
|
-
to: i(
|
|
417
|
+
h(i(Ce), {
|
|
418
|
+
to: i(N),
|
|
420
419
|
disabled: e.isPortalDisabled
|
|
421
420
|
}, {
|
|
422
421
|
default: r(() => [
|
|
423
|
-
h(
|
|
422
|
+
h(Q, { name: d.value }, {
|
|
424
423
|
default: r(() => [
|
|
425
424
|
l.value ? (s(), p("div", {
|
|
426
425
|
key: 0,
|
|
427
426
|
ref_key: "content",
|
|
428
427
|
ref: a,
|
|
429
|
-
style:
|
|
430
|
-
class:
|
|
428
|
+
style: U(i($)),
|
|
429
|
+
class: S(["z-60 divide-y divide-gray-100 rounded bg-white shadow", e.dropdownClass])
|
|
431
430
|
}, [
|
|
432
431
|
h(i(I), { onClick: t }, {
|
|
433
432
|
default: r(() => [
|
|
434
|
-
m(
|
|
433
|
+
m(w.$slots, "default", {}, void 0, !0)
|
|
435
434
|
]),
|
|
436
435
|
_: 3
|
|
437
436
|
})
|
|
@@ -444,14 +443,14 @@ const I = g({
|
|
|
444
443
|
}, 8, ["to", "disabled"])
|
|
445
444
|
], 512));
|
|
446
445
|
}
|
|
447
|
-
}),
|
|
446
|
+
}), xe = /* @__PURE__ */ z(we, [["__scopeId", "data-v-db2f039a"]]), Be = /* @__PURE__ */ y({
|
|
448
447
|
__name: "ListGroup",
|
|
449
448
|
props: {
|
|
450
449
|
width: { default: "default" }
|
|
451
450
|
},
|
|
452
451
|
setup(e) {
|
|
453
452
|
return (n, l) => (s(), p("ul", {
|
|
454
|
-
class:
|
|
453
|
+
class: S(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium", {
|
|
455
454
|
"w-48": e.width === "default",
|
|
456
455
|
"w-64": e.width === "wide"
|
|
457
456
|
}])
|
|
@@ -459,7 +458,7 @@ const I = g({
|
|
|
459
458
|
m(n.$slots, "default")
|
|
460
459
|
], 2));
|
|
461
460
|
}
|
|
462
|
-
}),
|
|
461
|
+
}), Me = { class: "relative inline-flex" }, Le = /* @__PURE__ */ y({
|
|
463
462
|
inheritAttrs: !1,
|
|
464
463
|
__name: "ContextMenu",
|
|
465
464
|
props: {
|
|
@@ -475,20 +474,20 @@ const I = g({
|
|
|
475
474
|
showActiveCount: { type: Boolean, default: !0 }
|
|
476
475
|
},
|
|
477
476
|
setup(e) {
|
|
478
|
-
const n = e, l = X(), t =
|
|
477
|
+
const n = e, l = X(), t = P(
|
|
479
478
|
() => {
|
|
480
479
|
var o, a;
|
|
481
480
|
return n.disabled ?? (((a = ((o = n.items) == null ? void 0 : o.flatMap(
|
|
482
481
|
(u) => u !== "divider" && "items" in u ? u.items : u
|
|
483
482
|
)) ?? []) == null ? void 0 : a.filter((u) => u !== "divider").every((u) => u.disabled)) && !l.default);
|
|
484
483
|
}
|
|
485
|
-
), c = (o) => (o ?? []).reduce((a, u) => u === "divider" ? a : "items" in u ? a + c(u.items) : a + (u.active ? 1 : 0), 0), f =
|
|
486
|
-
return (o, a) => (s(), p("div",
|
|
487
|
-
h(i(
|
|
484
|
+
), c = (o) => (o ?? []).reduce((a, u) => u === "divider" ? a : "items" in u ? a + c(u.items) : a + (u.active ? 1 : 0), 0), f = P(() => c(n.items));
|
|
485
|
+
return (o, a) => (s(), p("div", Me, [
|
|
486
|
+
h(i(pe), null, {
|
|
488
487
|
default: r(() => {
|
|
489
488
|
var u;
|
|
490
489
|
return [
|
|
491
|
-
(u = e.items) != null && u.length || o.$slots.default || e.disabled ? (s(), b(i(
|
|
490
|
+
(u = e.items) != null && u.length || o.$slots.default || e.disabled ? (s(), b(i(xe), F({
|
|
492
491
|
key: 0,
|
|
493
492
|
"is-portal-disabled": t.value
|
|
494
493
|
}, o.$attrs, { "dropdown-class": e.dropdownClass }), {
|
|
@@ -503,20 +502,20 @@ const I = g({
|
|
|
503
502
|
"data-testid": "context-menu",
|
|
504
503
|
disabled: t.value,
|
|
505
504
|
"icon-prefix": e.icon,
|
|
506
|
-
onClick: a[0] || (a[0] =
|
|
505
|
+
onClick: a[0] || (a[0] = L(() => {
|
|
507
506
|
}, ["stop"]))
|
|
508
507
|
}, null, 8, ["pill", "intent", "size", "disabled", "icon-prefix"])
|
|
509
508
|
])
|
|
510
509
|
]),
|
|
511
510
|
default: r(() => [
|
|
512
|
-
e.items || o.$slots.default ? (s(), b(i(
|
|
511
|
+
e.items || o.$slots.default ? (s(), b(i(Be), {
|
|
513
512
|
key: 0,
|
|
514
513
|
width: e.width,
|
|
515
514
|
class: "z-60 p-0.5"
|
|
516
515
|
}, {
|
|
517
516
|
default: r(() => [
|
|
518
517
|
m(o.$slots, "header"),
|
|
519
|
-
e.items ? (s(!0), p(
|
|
518
|
+
e.items ? (s(!0), p(g, { key: 0 }, j(e.items, (d, $) => (s(), p(g, { key: $ }, [
|
|
520
519
|
d === "divider" && $ < e.items.length - 1 ? (s(), b(i(O), {
|
|
521
520
|
key: 0,
|
|
522
521
|
spacing: "none"
|
|
@@ -533,7 +532,7 @@ const I = g({
|
|
|
533
532
|
disabled: d.disabled,
|
|
534
533
|
active: d.active,
|
|
535
534
|
onClick: d.onClick
|
|
536
|
-
}, null, 8, ["label", "variant", "icon", "label-suffix-component", "label-prefix-component", "description", "classes", "test-id", "disabled", "active", "onClick"])) : d !== "divider" ? (s(), b(
|
|
535
|
+
}, null, 8, ["label", "variant", "icon", "label-suffix-component", "label-prefix-component", "description", "classes", "test-id", "disabled", "active", "onClick"])) : d !== "divider" ? (s(), b(be, {
|
|
537
536
|
key: 2,
|
|
538
537
|
class: "rounded-sm",
|
|
539
538
|
label: d.label,
|
|
@@ -551,7 +550,7 @@ const I = g({
|
|
|
551
550
|
}),
|
|
552
551
|
_: 3
|
|
553
552
|
}),
|
|
554
|
-
e.showActiveCount && f.value > 0 ? (s(), b(i(
|
|
553
|
+
e.showActiveCount && f.value > 0 ? (s(), b(i(oe), {
|
|
555
554
|
key: 0,
|
|
556
555
|
size: "xs",
|
|
557
556
|
intent: "brand",
|
|
@@ -567,7 +566,7 @@ const I = g({
|
|
|
567
566
|
}
|
|
568
567
|
});
|
|
569
568
|
export {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
569
|
+
pe as F,
|
|
570
|
+
Ce as _,
|
|
571
|
+
Le as a
|
|
573
572
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as x, computed as v, openBlock as c, createBlock as C, withCtx as i, createElementBlock as d, createVNode as o, createTextVNode as a, toDisplayString as r, unref as u, createCommentVNode as b, renderSlot as B } from "vue";
|
|
2
|
-
import { a as N,
|
|
3
|
-
import { _ as S } from "./Section.vue.es-
|
|
2
|
+
import { a as N, d as l } from "./customElements-BTj4ii4f.mjs";
|
|
3
|
+
import { _ as S } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
4
4
|
import { g as k } from "./getCountryNameByCode.es-BDHua7VM.mjs";
|
|
5
|
-
import { a as A } from "./customer.es-
|
|
5
|
+
import { a as A } from "./customer.es-DQKl6wFt.mjs";
|
|
6
6
|
import { a as M } from "./typeGuards.es-B4XMtlkM.mjs";
|
|
7
7
|
const V = ["US", "CA"];
|
|
8
8
|
function z(e) {
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import { defineComponent as v, computed as
|
|
2
|
-
import { _ as u } from "./Button.vue.es-
|
|
3
|
-
import { _ as
|
|
4
|
-
import { a as b,
|
|
5
|
-
import { _ as A } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as M } from "./Skeleton.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as B } from "./useActionDispatchProvider-
|
|
1
|
+
import { defineComponent as v, computed as _, openBlock as s, createBlock as m, unref as t, createSlots as w, withCtx as a, createVNode as c, createTextVNode as p, toDisplayString as h, createCommentVNode as g } from "vue";
|
|
2
|
+
import { _ as u } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
3
|
+
import { _ as y } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
4
|
+
import { a as b, d as k } from "./customElements-BTj4ii4f.mjs";
|
|
5
|
+
import { _ as A } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs";
|
|
6
|
+
import { _ as M } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
+
import { u as B } from "./useActionDispatchProvider-3W2vEyIg.mjs";
|
|
8
8
|
import { r as $ } from "./configuration-BytDBAWs.mjs";
|
|
9
9
|
const x = /* @__PURE__ */ v({
|
|
10
10
|
__name: "CustomerPaymentMethodsBlock",
|
|
11
11
|
props: {
|
|
12
12
|
paymentMethods: { type: Array },
|
|
13
|
-
limit: { default: 2, type: Number },
|
|
14
|
-
isLoading: { type: Boolean },
|
|
15
13
|
showViewAllButton: { type: Boolean },
|
|
16
14
|
showAddButton: { type: Boolean }
|
|
17
15
|
},
|
|
18
16
|
emits: ["view-all-payment-methods", "add-payment-method"],
|
|
19
17
|
setup(e) {
|
|
20
|
-
const
|
|
21
|
-
return (
|
|
18
|
+
const l = e, { $t: o } = b(), r = _(() => l.paymentMethods.length > 0);
|
|
19
|
+
return (d, i) => (s(), m(t(y), {
|
|
22
20
|
class: "sv-payment-methods",
|
|
23
21
|
"no-spacing": "",
|
|
24
22
|
"no-border": "",
|
|
23
|
+
"content-background": "none",
|
|
25
24
|
title: t(o)(
|
|
26
25
|
{
|
|
27
26
|
defaultMessage: "{count, plural, one {Payment method} other {Payment methods}}",
|
|
@@ -32,15 +31,15 @@ const x = /* @__PURE__ */ v({
|
|
|
32
31
|
)
|
|
33
32
|
}, w({
|
|
34
33
|
default: a(() => [
|
|
35
|
-
|
|
34
|
+
r.value ? (s(), m(A, {
|
|
36
35
|
key: 0,
|
|
37
36
|
"payment-methods": e.paymentMethods
|
|
38
|
-
}, null, 8, ["payment-methods"])) : (s(), m(t(
|
|
37
|
+
}, null, 8, ["payment-methods"])) : (s(), m(t(y), {
|
|
39
38
|
key: 1,
|
|
40
39
|
class: "sv-empty-state sv-payment-methods__empty"
|
|
41
40
|
}, {
|
|
42
41
|
default: a(() => [
|
|
43
|
-
|
|
42
|
+
c(t(k), {
|
|
44
43
|
variant: "body-sm",
|
|
45
44
|
color: "subtle",
|
|
46
45
|
"no-spacing": "",
|
|
@@ -61,7 +60,7 @@ const x = /* @__PURE__ */ v({
|
|
|
61
60
|
intent: "secondary",
|
|
62
61
|
"icon-prefix": "add",
|
|
63
62
|
type: "button",
|
|
64
|
-
onClick:
|
|
63
|
+
onClick: i[1] || (i[1] = (n) => d.$emit("add-payment-method"))
|
|
65
64
|
}, {
|
|
66
65
|
default: a(() => [
|
|
67
66
|
p(h(t(o)({
|
|
@@ -81,13 +80,13 @@ const x = /* @__PURE__ */ v({
|
|
|
81
80
|
e.showViewAllButton ? {
|
|
82
81
|
name: "right",
|
|
83
82
|
fn: a(() => [
|
|
84
|
-
|
|
85
|
-
size: "
|
|
83
|
+
c(t(u), {
|
|
84
|
+
size: "xs",
|
|
86
85
|
intent: "subtle",
|
|
87
86
|
"icon-suffix": "arrow_right_alt",
|
|
88
87
|
class: "sv-action sv-action--ghost sv-payment-methods__view-all",
|
|
89
88
|
type: "button",
|
|
90
|
-
onClick:
|
|
89
|
+
onClick: i[0] || (i[0] = (n) => d.$emit("view-all-payment-methods"))
|
|
91
90
|
}, {
|
|
92
91
|
default: a(() => [
|
|
93
92
|
p(h(t(o)({
|
|
@@ -108,30 +107,28 @@ const x = /* @__PURE__ */ v({
|
|
|
108
107
|
props: {
|
|
109
108
|
isLoading: { type: Boolean },
|
|
110
109
|
paymentMethods: { type: Array },
|
|
111
|
-
maxPaymentMethods: { type: Number },
|
|
112
110
|
configuration: { type: Object }
|
|
113
111
|
},
|
|
114
112
|
setup(e) {
|
|
115
|
-
const
|
|
113
|
+
const l = {
|
|
116
114
|
showViewAllButton: !0,
|
|
117
115
|
showAddButton: !0
|
|
118
|
-
}, o = e,
|
|
119
|
-
() => $(
|
|
120
|
-
), { dispatchAction:
|
|
121
|
-
return (
|
|
116
|
+
}, o = e, r = _(
|
|
117
|
+
() => $(l, o.configuration)
|
|
118
|
+
), { dispatchAction: d } = B();
|
|
119
|
+
return (i, n) => e.isLoading ? (s(), m(M, {
|
|
122
120
|
key: 0,
|
|
123
121
|
variant: "section",
|
|
124
122
|
class: "sv-payment-methods sv-root sv-component sv-loading h-72"
|
|
125
123
|
})) : (s(), m(x, {
|
|
126
124
|
key: 1,
|
|
127
125
|
class: "sv-payment-methods sv-root sv-component",
|
|
128
|
-
"is-loading": e.isLoading,
|
|
129
126
|
"payment-methods": e.paymentMethods,
|
|
130
|
-
"show-view-all-button":
|
|
131
|
-
"show-add-button":
|
|
132
|
-
onViewAllPaymentMethods: n[0] || (n[0] = (
|
|
133
|
-
onAddPaymentMethod: n[1] || (n[1] = (
|
|
134
|
-
}, null, 8, ["
|
|
127
|
+
"show-view-all-button": r.value.showViewAllButton,
|
|
128
|
+
"show-add-button": r.value.showAddButton,
|
|
129
|
+
onViewAllPaymentMethods: n[0] || (n[0] = (f) => t(d)({ action: "view-all-payment-methods" })),
|
|
130
|
+
onAddPaymentMethod: n[1] || (n[1] = (f) => t(d)({ action: "add-payment-method" }))
|
|
131
|
+
}, null, 8, ["payment-methods", "show-view-all-button", "show-add-button"]));
|
|
135
132
|
}
|
|
136
133
|
});
|
|
137
134
|
export {
|