@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
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
import { openBlock as n, createElementBlock as b, createElementVNode as c, renderSlot as P, defineComponent as ee, computed as p, withKeys as ke, normalizeClass as k, Fragment as j, mergeProps as z, createBlock as i, resolveDynamicComponent as O, createCommentVNode as s, createVNode as E, normalizeProps as T, withCtx as m, createTextVNode as q, toDisplayString as F, renderList as ce, getCurrentInstance as Ce, ref as G, inject as we, unref as x, isRef as Se, createSlots as $e, guardReactiveProps as Ie, Teleport as Oe, normalizeStyle as re, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as Z, a as Le, b as Me } from "./index.es-C7J3WGGo.mjs";
|
|
3
|
+
import { _ as Re, u as Be } from "./useLazyFloating.es-CycqRyeb.mjs";
|
|
4
|
+
import { e as De } from "./sanitization.es-C6dbuxUJ.mjs";
|
|
5
|
+
import { _ as U, s as Ve, u as Ae } from "./sorting.es-CVyKw23D.mjs";
|
|
6
|
+
import { d as W, S as Pe } from "./customElements-BTj4ii4f.mjs";
|
|
7
|
+
import { u as ze } from "./Label.vue.es-DtpLM1KH.mjs";
|
|
8
|
+
import { a as Te, _ } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
9
|
+
import { _ as qe } from "./IconButton.vue.es-C8lYFx5_.mjs";
|
|
10
|
+
import { _ as Ne } from "./Chip.vue.es-D3UDSyXC.mjs";
|
|
11
|
+
import { a as Ke, i as Fe } from "./useService-BZcbUZHI.mjs";
|
|
12
|
+
import { _ as Ue } from "./Input.vue.es-D8Oj8MWv.mjs";
|
|
13
|
+
const je = (e) => `checkbox-item-${e}`, He = "select-search-done-button", Ge = {}, We = { class: "flex items-center pt-1" }, Ye = { class: "px-1.5 text-xs font-semibold text-subtle" };
|
|
14
|
+
function Je(e, C) {
|
|
15
|
+
return n(), b("div", We, [
|
|
16
|
+
C[0] || (C[0] = c("div", { class: "w-2 border-t" }, null, -1)),
|
|
17
|
+
c("span", Ye, [
|
|
18
|
+
P(e.$slots, "default")
|
|
19
|
+
]),
|
|
20
|
+
C[1] || (C[1] = c("div", { class: "grow border-t" }, null, -1))
|
|
21
|
+
]);
|
|
22
|
+
}
|
|
23
|
+
const Qe = /* @__PURE__ */ Re(Ge, [["render", Je]]), Xe = ["aria-selected", "aria-disabled", "data-testid"], Ze = ["id", "value", "checked", "disabled"], _e = ["for"], el = { class: "flex items-center gap-1" }, ll = { class: "flex flex-grow flex-col" }, tl = { class: "flex flex-grow gap-2" }, nl = { class: "flex flex-grow flex-col" }, al = { class: "flex flex-grow items-start justify-between gap-2" }, ol = { class: "flex items-center gap-2" }, sl = /* @__PURE__ */ ee({
|
|
24
|
+
__name: "SelectExtendedOption",
|
|
25
|
+
props: {
|
|
26
|
+
multiple: { type: Boolean },
|
|
27
|
+
inputValue: {},
|
|
28
|
+
condensed: { type: Boolean },
|
|
29
|
+
label: {},
|
|
30
|
+
checked: { type: Boolean },
|
|
31
|
+
disabled: { type: Boolean },
|
|
32
|
+
subLabel: {},
|
|
33
|
+
labelPrefixComponent: {},
|
|
34
|
+
labelSuffixComponent: {},
|
|
35
|
+
labelInlineComponent: {},
|
|
36
|
+
value: {},
|
|
37
|
+
labelSrOnly: { type: Boolean }
|
|
38
|
+
},
|
|
39
|
+
emits: ["value-changed"],
|
|
40
|
+
setup(e, { emit: C }) {
|
|
41
|
+
const L = C, o = e, $ = (h) => {
|
|
42
|
+
const R = h.target;
|
|
43
|
+
L("value-changed", {
|
|
44
|
+
value: R.value,
|
|
45
|
+
checked: R.checked
|
|
46
|
+
});
|
|
47
|
+
}, M = () => {
|
|
48
|
+
o.multiple || o.disabled || L("value-changed", { value: o.value });
|
|
49
|
+
}, y = p(() => je(o.value)), u = p(() => De(o.inputValue ?? ""));
|
|
50
|
+
return (h, R) => (n(), b("li", {
|
|
51
|
+
role: "option",
|
|
52
|
+
"aria-selected": e.checked,
|
|
53
|
+
"aria-disabled": e.disabled,
|
|
54
|
+
class: k([{ "hover:bg-gray-50": !e.disabled }, "relative flex"]),
|
|
55
|
+
"data-testid": y.value,
|
|
56
|
+
tabindex: "0",
|
|
57
|
+
onClick: M,
|
|
58
|
+
onKeydown: ke(M, ["enter"])
|
|
59
|
+
}, [
|
|
60
|
+
e.multiple ? (n(), b(j, { key: 0 }, [
|
|
61
|
+
c("input", z(h.$attrs, {
|
|
62
|
+
id: y.value,
|
|
63
|
+
ref: "inputRef",
|
|
64
|
+
value: e.value,
|
|
65
|
+
checked: e.checked,
|
|
66
|
+
disabled: e.disabled,
|
|
67
|
+
type: "checkbox",
|
|
68
|
+
class: ["absolute left-3.5 top-1/2 h-4 w-4 -translate-y-2 rounded border-gray-300 bg-gray-100 focus:ring-2 focus:ring-primary-500", e.disabled ? "text-disabled" : "text-primary-600"],
|
|
69
|
+
tabindex: "-1",
|
|
70
|
+
onChange: $
|
|
71
|
+
}), null, 16, Ze),
|
|
72
|
+
c("label", {
|
|
73
|
+
for: y.value,
|
|
74
|
+
class: k([e.disabled ? "text-disabled" : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
|
|
75
|
+
}, [
|
|
76
|
+
c("div", el, [
|
|
77
|
+
e.labelPrefixComponent ? (n(), i(O(e.labelPrefixComponent.component), { key: 0 })) : s("", !0),
|
|
78
|
+
c("div", ll, [
|
|
79
|
+
c("div", tl, [
|
|
80
|
+
E(U, {
|
|
81
|
+
text: e.label,
|
|
82
|
+
search: u.value,
|
|
83
|
+
class: k(["font-semibold", { "sr-only": e.labelSrOnly }])
|
|
84
|
+
}, null, 8, ["text", "search", "class"]),
|
|
85
|
+
e.labelInlineComponent ? (n(), i(O(e.labelInlineComponent.component), T(z({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : s("", !0),
|
|
86
|
+
e.subLabel && e.condensed ? (n(), i(U, {
|
|
87
|
+
key: 1,
|
|
88
|
+
class: "text-xs text-secondary",
|
|
89
|
+
text: e.subLabel,
|
|
90
|
+
search: u.value
|
|
91
|
+
}, null, 8, ["text", "search"])) : s("", !0)
|
|
92
|
+
]),
|
|
93
|
+
e.subLabel && !e.condensed ? (n(), i(U, {
|
|
94
|
+
key: 0,
|
|
95
|
+
class: "text-xs text-secondary",
|
|
96
|
+
text: e.subLabel,
|
|
97
|
+
search: u.value
|
|
98
|
+
}, null, 8, ["text", "search"])) : s("", !0)
|
|
99
|
+
]),
|
|
100
|
+
e.labelSuffixComponent ? (n(), i(O(e.labelSuffixComponent.component), T(z({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : s("", !0)
|
|
101
|
+
])
|
|
102
|
+
], 10, _e)
|
|
103
|
+
], 64)) : (n(), b("div", {
|
|
104
|
+
key: 1,
|
|
105
|
+
class: k(["flex w-full items-start gap-3 px-4 text-sm font-medium", [
|
|
106
|
+
e.condensed ? "p-2" : "py-3",
|
|
107
|
+
e.disabled ?? "cursor-not-allowed",
|
|
108
|
+
!e.disabled && "cursor-pointer"
|
|
109
|
+
]])
|
|
110
|
+
}, [
|
|
111
|
+
e.labelPrefixComponent ? (n(), i(O(e.labelPrefixComponent.component), T(z({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : s("", !0),
|
|
112
|
+
c("div", nl, [
|
|
113
|
+
c("div", al, [
|
|
114
|
+
E(U, {
|
|
115
|
+
text: e.label,
|
|
116
|
+
search: u.value,
|
|
117
|
+
class: k(["font-semibold", { "text-disabled": e.disabled }])
|
|
118
|
+
}, null, 8, ["text", "search", "class"]),
|
|
119
|
+
c("div", ol, [
|
|
120
|
+
e.labelInlineComponent ? (n(), i(O(e.labelInlineComponent.component), T(z({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : s("", !0),
|
|
121
|
+
e.labelSuffixComponent ? (n(), i(O(e.labelSuffixComponent.component), T(z({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : s("", !0)
|
|
122
|
+
])
|
|
123
|
+
]),
|
|
124
|
+
e.subLabel && e.condensed ? (n(), i(U, {
|
|
125
|
+
key: 0,
|
|
126
|
+
class: "text-xs text-secondary",
|
|
127
|
+
text: e.subLabel,
|
|
128
|
+
search: u.value
|
|
129
|
+
}, null, 8, ["text", "search"])) : s("", !0),
|
|
130
|
+
e.subLabel && !e.condensed ? (n(), i(U, {
|
|
131
|
+
key: 1,
|
|
132
|
+
class: "text-xs text-secondary",
|
|
133
|
+
text: e.subLabel,
|
|
134
|
+
search: u.value
|
|
135
|
+
}, null, 8, ["text", "search"])) : s("", !0)
|
|
136
|
+
])
|
|
137
|
+
], 2))
|
|
138
|
+
], 42, Xe));
|
|
139
|
+
}
|
|
140
|
+
}), ul = { class: "flex flex-col rounded-bl rounded-br" }, il = { key: 0 }, dl = {
|
|
141
|
+
key: 2,
|
|
142
|
+
class: "border-t border-gray-200"
|
|
143
|
+
}, rl = /* @__PURE__ */ ee({
|
|
144
|
+
__name: "SelectExtendedOptions",
|
|
145
|
+
props: {
|
|
146
|
+
model: {},
|
|
147
|
+
multiple: { type: Boolean },
|
|
148
|
+
condensed: { type: Boolean },
|
|
149
|
+
hasLargeDropdown: { type: Boolean },
|
|
150
|
+
inputValue: {},
|
|
151
|
+
addOnly: { type: Boolean },
|
|
152
|
+
options: {}
|
|
153
|
+
},
|
|
154
|
+
emits: ["value-changed"],
|
|
155
|
+
setup(e, { emit: C }) {
|
|
156
|
+
const L = e, o = C, $ = (u) => o("value-changed", u), M = p(
|
|
157
|
+
() => Ve(L.options, "group").reduce((u, h) => h.value === "" ? u : { ...u, [h.value]: h.group }, {})
|
|
158
|
+
), y = p(() => L.options.length === 0);
|
|
159
|
+
return (u, h) => (n(), b("div", ul, [
|
|
160
|
+
y.value ? (n(), i(W, {
|
|
161
|
+
key: 0,
|
|
162
|
+
tag: "div",
|
|
163
|
+
"no-spacing": "",
|
|
164
|
+
variant: "body-sm",
|
|
165
|
+
color: "secondary",
|
|
166
|
+
class: "px-5 py-5"
|
|
167
|
+
}, {
|
|
168
|
+
default: m(() => [...h[0] || (h[0] = [
|
|
169
|
+
q("No results", -1)
|
|
170
|
+
])]),
|
|
171
|
+
_: 1
|
|
172
|
+
})) : (n(), b("ul", {
|
|
173
|
+
key: 1,
|
|
174
|
+
class: k(["list-none overflow-y-auto", [e.hasLargeDropdown ? "max-h-76" : "max-h-48"]])
|
|
175
|
+
}, [
|
|
176
|
+
e.addOnly ? (n(), b("div", il, [
|
|
177
|
+
E(W, {
|
|
178
|
+
tag: "p",
|
|
179
|
+
"no-spacing": "",
|
|
180
|
+
variant: "body-sm",
|
|
181
|
+
color: "secondary",
|
|
182
|
+
class: "mt-1 px-3 py-2"
|
|
183
|
+
}, {
|
|
184
|
+
default: m(() => [...h[1] || (h[1] = [
|
|
185
|
+
q(F("You can only select currently unselected options."), -1)
|
|
186
|
+
])]),
|
|
187
|
+
_: 1
|
|
188
|
+
})
|
|
189
|
+
])) : s("", !0),
|
|
190
|
+
(n(!0), b(j, null, ce(e.options, ({
|
|
191
|
+
label: R,
|
|
192
|
+
subLabel: N,
|
|
193
|
+
value: d,
|
|
194
|
+
checked: g,
|
|
195
|
+
disabled: f,
|
|
196
|
+
labelInlineComponent: Y,
|
|
197
|
+
labelSuffixComponent: B,
|
|
198
|
+
labelSrOnly: w,
|
|
199
|
+
labelPrefixComponent: H,
|
|
200
|
+
hidden: J
|
|
201
|
+
}) => (n(), b(j, { key: d }, [
|
|
202
|
+
M.value[d] ? (n(), i(Qe, { key: 0 }, {
|
|
203
|
+
default: m(() => [
|
|
204
|
+
q(F(M.value[d]), 1)
|
|
205
|
+
]),
|
|
206
|
+
_: 2
|
|
207
|
+
}, 1024)) : s("", !0),
|
|
208
|
+
J ? s("", !0) : (n(), i(sl, {
|
|
209
|
+
key: 1,
|
|
210
|
+
label: R,
|
|
211
|
+
"sub-label": N,
|
|
212
|
+
value: d,
|
|
213
|
+
checked: g,
|
|
214
|
+
disabled: f,
|
|
215
|
+
multiple: e.multiple,
|
|
216
|
+
condensed: e.condensed,
|
|
217
|
+
"label-suffix-component": B,
|
|
218
|
+
"label-prefix-component": H,
|
|
219
|
+
"label-inline-component": Y,
|
|
220
|
+
"label-sr-only": w,
|
|
221
|
+
"input-value": e.inputValue,
|
|
222
|
+
onValueChanged: $
|
|
223
|
+
}, null, 8, ["label", "sub-label", "value", "checked", "disabled", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-inline-component", "label-sr-only", "input-value"]))
|
|
224
|
+
], 64))), 128))
|
|
225
|
+
], 2)),
|
|
226
|
+
u.$slots["list-footer-content"] ? (n(), b("div", dl, [
|
|
227
|
+
P(u.$slots, "list-footer-content")
|
|
228
|
+
])) : s("", !0)
|
|
229
|
+
]));
|
|
230
|
+
}
|
|
231
|
+
}), cl = ["aria-expanded", "aria-controls"], fl = { class: "flex items-center gap-2" }, vl = { key: 1 }, ml = { class: "flex items-center gap-2" }, bl = {
|
|
232
|
+
key: 0,
|
|
233
|
+
class: "mt-2 flex flex-wrap gap-2"
|
|
234
|
+
}, pl = ["innerHTML"], yl = ["id"], hl = /* @__PURE__ */ ee({
|
|
235
|
+
__name: "SelectExtended",
|
|
236
|
+
props: {
|
|
237
|
+
addOnly: { type: Boolean, default: !1 },
|
|
238
|
+
disabled: { type: Boolean },
|
|
239
|
+
label: {},
|
|
240
|
+
labelScreenReaderOnly: { type: Boolean },
|
|
241
|
+
inputModel: {},
|
|
242
|
+
singleModelValue: {},
|
|
243
|
+
multiModelValue: {},
|
|
244
|
+
options: { default: () => [] },
|
|
245
|
+
optionsOrder: { default: () => ["asc", "asc"] },
|
|
246
|
+
optionsOrderProperties: { default: () => ["group", "label"] },
|
|
247
|
+
required: { type: Boolean, default: !1 },
|
|
248
|
+
rootClass: {},
|
|
249
|
+
size: { default: "md" },
|
|
250
|
+
withChips: { type: Boolean, default: !1 },
|
|
251
|
+
error: {},
|
|
252
|
+
hasReset: { type: Boolean },
|
|
253
|
+
name: {},
|
|
254
|
+
hasLargeDropdown: { type: Boolean, default: !1 },
|
|
255
|
+
showSuffixInClosedInput: { type: Boolean },
|
|
256
|
+
showSuffixLabelInInput: { type: Boolean },
|
|
257
|
+
showSubLabelInInput: { type: Boolean, default: !1 },
|
|
258
|
+
condensed: { type: Boolean },
|
|
259
|
+
form: {},
|
|
260
|
+
isInputReadOnly: { type: Boolean, default: !0 },
|
|
261
|
+
textContent: { default: () => ({
|
|
262
|
+
placeholderSingleOpen: "Search",
|
|
263
|
+
placeholderSingleEmpty: "Select an option",
|
|
264
|
+
placeholderMultipleOpen: "Search",
|
|
265
|
+
placeholderMultipleEmpty: "Select one or more options",
|
|
266
|
+
buttonAddLabel: "Add",
|
|
267
|
+
buttonClearLabel: "Reset",
|
|
268
|
+
buttonDoneLabel: "Done"
|
|
269
|
+
}) }
|
|
270
|
+
},
|
|
271
|
+
emits: ["update:inputModel", "update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"],
|
|
272
|
+
setup(e, { emit: C }) {
|
|
273
|
+
var L;
|
|
274
|
+
const o = e, $ = C, M = (L = Ce()) == null ? void 0 : L.vnode.props, y = Z(o, "inputModel", $), u = Z(o, "singleModelValue", $), h = Z(o, "multiModelValue", $), R = p(() => d.value ? h.value ?? [] : u.value ? [u.value] : []), N = G(o.multiModelValue ?? []), d = p(() => Array.isArray(o.multiModelValue)), g = p({
|
|
275
|
+
get: () => d.value ? N.value ?? [] : typeof u.value == "string" ? [u.value] : [],
|
|
276
|
+
set(l) {
|
|
277
|
+
d.value ? N.value = l : u.value = (l == null ? void 0 : l[0]) ?? "";
|
|
278
|
+
}
|
|
279
|
+
}), f = G(!1), Y = Ae(), B = G(), w = G(), H = we(Pe), J = (l) => o.options.filter((t) => l.some((r) => t.value === r)), K = p(() => J(g.value)), v = p(() => K.value[0]), fe = p(() => de.value[0]), le = p(
|
|
280
|
+
() => {
|
|
281
|
+
var l;
|
|
282
|
+
return !f.value && !d.value && ((l = v.value) == null ? void 0 : l.labelPrefixComponent);
|
|
283
|
+
}
|
|
284
|
+
), ve = !!(M != null && M.onAddOption), me = () => {
|
|
285
|
+
$("add-option"), D();
|
|
286
|
+
}, be = p(() => {
|
|
287
|
+
var l, t, r, a;
|
|
288
|
+
if (!d.value) {
|
|
289
|
+
if (v.value)
|
|
290
|
+
return (l = v.value) == null ? void 0 : l.label;
|
|
291
|
+
if (K.value.length === 0)
|
|
292
|
+
return o.textContent.placeholderSingleEmpty;
|
|
293
|
+
}
|
|
294
|
+
if (d.value) {
|
|
295
|
+
if (K.value.length === 1)
|
|
296
|
+
return (t = v.value) == null ? void 0 : t.label;
|
|
297
|
+
if (K.value.length >= 2)
|
|
298
|
+
return `${(r = v.value) == null ? void 0 : r.label} +${K.value.length - 1}`;
|
|
299
|
+
if (K.value.length === 0)
|
|
300
|
+
return o.textContent.placeholderMultipleEmpty;
|
|
301
|
+
}
|
|
302
|
+
return (a = fe.value) == null ? void 0 : a.label;
|
|
303
|
+
}), D = () => {
|
|
304
|
+
d.value, f.value = !1;
|
|
305
|
+
}, te = ({
|
|
306
|
+
value: l,
|
|
307
|
+
checked: t
|
|
308
|
+
}) => {
|
|
309
|
+
let r;
|
|
310
|
+
d.value ? r = t ? [...g.value, l] : g.value.filter((a) => a !== l) : (r = [l], f.value = !1), g.value = r, $("change");
|
|
311
|
+
}, ne = p(() => o.disabled ? !1 : !!(o.addOnly && !Ke(N.value, o.multiModelValue) || !o.addOnly && g.value.length > 0 && !(g.value.length === 1 && g.value[0] === ""))), ae = () => {
|
|
312
|
+
if (o.addOnly) {
|
|
313
|
+
N.value = R.value, y.value = "", D();
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
g.value = [], N.value = [], y.value && (y.value = ""), D();
|
|
317
|
+
}, oe = () => B.value ? Array.from(
|
|
318
|
+
B.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
|
|
319
|
+
) : [], se = () => {
|
|
320
|
+
var l;
|
|
321
|
+
let t = document.activeElement;
|
|
322
|
+
for (; (l = t == null ? void 0 : t.shadowRoot) != null && l.activeElement; )
|
|
323
|
+
t = t.shadowRoot.activeElement;
|
|
324
|
+
return t;
|
|
325
|
+
}, Q = () => {
|
|
326
|
+
if (!w.value) return null;
|
|
327
|
+
let l = w.value.querySelector("input");
|
|
328
|
+
if (l) return l;
|
|
329
|
+
const t = w.value.querySelectorAll("*");
|
|
330
|
+
for (const r of t)
|
|
331
|
+
if (r.shadowRoot && (l = r.shadowRoot.querySelector("input"), l))
|
|
332
|
+
return l;
|
|
333
|
+
return null;
|
|
334
|
+
}, pe = (l) => {
|
|
335
|
+
var t, r;
|
|
336
|
+
if (!f.value) return;
|
|
337
|
+
const a = oe(), I = Q();
|
|
338
|
+
if (se() === I)
|
|
339
|
+
switch (l.key) {
|
|
340
|
+
case "ArrowDown":
|
|
341
|
+
a.length > 0 && (l.preventDefault(), (t = a[0]) == null || t.focus());
|
|
342
|
+
break;
|
|
343
|
+
case "Tab":
|
|
344
|
+
!l.shiftKey && a.length > 0 && (l.preventDefault(), (r = a[0]) == null || r.focus());
|
|
345
|
+
break;
|
|
346
|
+
case "Escape":
|
|
347
|
+
l.preventDefault(), D();
|
|
348
|
+
break;
|
|
349
|
+
}
|
|
350
|
+
}, ye = (l) => {
|
|
351
|
+
var t, r, a, I;
|
|
352
|
+
const S = oe(), X = se(), V = S.indexOf(X), A = Q();
|
|
353
|
+
switch (l.key) {
|
|
354
|
+
case "ArrowDown":
|
|
355
|
+
V < S.length - 1 && (l.preventDefault(), (t = S[V + 1]) == null || t.focus());
|
|
356
|
+
break;
|
|
357
|
+
case "ArrowUp":
|
|
358
|
+
l.preventDefault(), V <= 0 ? A == null || A.focus() : (r = S[V - 1]) == null || r.focus();
|
|
359
|
+
break;
|
|
360
|
+
case "Tab":
|
|
361
|
+
l.shiftKey ? V <= 0 ? (l.preventDefault(), A == null || A.focus()) : (l.preventDefault(), (a = S[V - 1]) == null || a.focus()) : V >= S.length - 1 ? (l.preventDefault(), D(), A == null || A.focus()) : (l.preventDefault(), (I = S[V + 1]) == null || I.focus());
|
|
362
|
+
break;
|
|
363
|
+
case "Escape":
|
|
364
|
+
l.preventDefault(), D(), Ee(() => {
|
|
365
|
+
A == null || A.focus();
|
|
366
|
+
});
|
|
367
|
+
break;
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
Le("mousedown", (l) => {
|
|
371
|
+
const t = l.composedPath();
|
|
372
|
+
B.value && t.includes(B.value) || w.value && t.includes(w.value) || f.value && D();
|
|
373
|
+
});
|
|
374
|
+
const { floatingStyles: he } = Be(w, B, {
|
|
375
|
+
placement: "bottom",
|
|
376
|
+
middleware: ({ offset: l, flip: t }) => [
|
|
377
|
+
l(4),
|
|
378
|
+
t({
|
|
379
|
+
mainAxis: !0
|
|
380
|
+
})
|
|
381
|
+
]
|
|
382
|
+
}), ue = ze("search-select-options-"), { width: xe } = Me(w), ge = () => {
|
|
383
|
+
const l = Q();
|
|
384
|
+
l && l.focus();
|
|
385
|
+
}, ie = p(() => o.options.map((l) => ({
|
|
386
|
+
...l,
|
|
387
|
+
checked: K.value.some((t) => t.value === l.value),
|
|
388
|
+
disabled: o.disabled || !o.disabled && o.addOnly && !!R.value.includes(l.value)
|
|
389
|
+
}))), de = p(
|
|
390
|
+
() => ie.value.filter((l) => {
|
|
391
|
+
var t;
|
|
392
|
+
return (t = g.value) == null ? void 0 : t.includes(l.value);
|
|
393
|
+
})
|
|
394
|
+
);
|
|
395
|
+
return (l, t) => {
|
|
396
|
+
var r;
|
|
397
|
+
return n(), b(j, null, [
|
|
398
|
+
c("div", {
|
|
399
|
+
ref_key: "wrapperRef",
|
|
400
|
+
ref: w,
|
|
401
|
+
class: k(["relative flex items-end", {
|
|
402
|
+
rootClass: e.rootClass,
|
|
403
|
+
"z-30": f.value,
|
|
404
|
+
"cursor-text": !e.disabled
|
|
405
|
+
}]),
|
|
406
|
+
role: "combobox",
|
|
407
|
+
"aria-expanded": f.value,
|
|
408
|
+
"aria-haspopup": !0,
|
|
409
|
+
"aria-controls": x(ue),
|
|
410
|
+
onKeydown: pe,
|
|
411
|
+
onClick: ge
|
|
412
|
+
}, [
|
|
413
|
+
E(x(Ue), {
|
|
414
|
+
modelValue: x(y),
|
|
415
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => Se(y) ? y.value = a : null),
|
|
416
|
+
readonly: e.isInputReadOnly,
|
|
417
|
+
required: e.required,
|
|
418
|
+
label: e.label,
|
|
419
|
+
name: e.name,
|
|
420
|
+
form: e.form,
|
|
421
|
+
"label-screen-reader-only": e.labelScreenReaderOnly,
|
|
422
|
+
placeholder: be.value,
|
|
423
|
+
class: k(["grow !outline-none", { "cursor-default": e.isInputReadOnly }]),
|
|
424
|
+
"wrapper-class": {
|
|
425
|
+
"border-transparent border-b-gray-200 focus-within:border-b relative z-10": f.value
|
|
426
|
+
},
|
|
427
|
+
"input-class": !f.value && (!d.value && x(u) || d.value && !x(Fe)(e.multiModelValue)) ? "placeholder:text-default" : "",
|
|
428
|
+
"suffix-class": "border-l-0 pl-0",
|
|
429
|
+
disabled: e.disabled,
|
|
430
|
+
size: e.size,
|
|
431
|
+
error: e.error,
|
|
432
|
+
"prefix-has-border": !1,
|
|
433
|
+
"aria-autocomplete": "list",
|
|
434
|
+
onFocus: t[1] || (t[1] = () => f.value = !0),
|
|
435
|
+
onBlur: t[2] || (t[2] = (a) => l.$emit("blur"))
|
|
436
|
+
}, $e({
|
|
437
|
+
"label-suffix": m(() => [
|
|
438
|
+
P(l.$slots, "label-suffix")
|
|
439
|
+
]),
|
|
440
|
+
suffix: m(() => {
|
|
441
|
+
var a, I;
|
|
442
|
+
return [
|
|
443
|
+
c("div", ml, [
|
|
444
|
+
!f.value && !d.value && ((a = v.value) != null && a.labelInlineComponent) && (!e.showSuffixInClosedInput || e.showSuffixLabelInInput) ? (n(), i(O(v.value.labelInlineComponent.component), T(z({ key: 0 }, v.value.labelInlineComponent.props)), null, 16)) : s("", !0),
|
|
445
|
+
!f.value && !d.value && ((I = v.value) != null && I.labelSuffixComponent) && e.showSuffixInClosedInput ? (n(), i(O(v.value.labelSuffixComponent.component), T(z({ key: 1 }, v.value.labelSuffixComponent.props)), null, 16)) : s("", !0),
|
|
446
|
+
!e.disabled && (x(y) || ne.value && e.hasReset) ? (n(), i(qe, {
|
|
447
|
+
key: 2,
|
|
448
|
+
icon: "close",
|
|
449
|
+
size: "xs",
|
|
450
|
+
intent: "subtle",
|
|
451
|
+
type: "button",
|
|
452
|
+
onClick: ae
|
|
453
|
+
})) : s("", !0),
|
|
454
|
+
E(Te, {
|
|
455
|
+
icon: "keyboard_arrow_down",
|
|
456
|
+
size: "xs",
|
|
457
|
+
class: k(["transition-transform", { "rotate-180": f.value }])
|
|
458
|
+
}, null, 8, ["class"])
|
|
459
|
+
])
|
|
460
|
+
];
|
|
461
|
+
}),
|
|
462
|
+
_: 2
|
|
463
|
+
}, [
|
|
464
|
+
e.showSubLabelInInput && ((r = v.value) != null && r.subLabel) ? {
|
|
465
|
+
name: "input",
|
|
466
|
+
fn: m(() => [
|
|
467
|
+
c("div", {
|
|
468
|
+
class: k(["pointer-events-none absolute inset-0 bg-white", { "px-4 py-3": e.size === "xl" }])
|
|
469
|
+
}, [
|
|
470
|
+
E(W, {
|
|
471
|
+
tag: "span",
|
|
472
|
+
class: "block",
|
|
473
|
+
variant: "body-sm",
|
|
474
|
+
weight: "semibold"
|
|
475
|
+
}, {
|
|
476
|
+
default: m(() => {
|
|
477
|
+
var a;
|
|
478
|
+
return [
|
|
479
|
+
q(F((a = v.value) == null ? void 0 : a.label), 1)
|
|
480
|
+
];
|
|
481
|
+
}),
|
|
482
|
+
_: 1
|
|
483
|
+
}),
|
|
484
|
+
E(W, {
|
|
485
|
+
tag: "span",
|
|
486
|
+
class: "block",
|
|
487
|
+
variant: "body-xs",
|
|
488
|
+
color: "secondary"
|
|
489
|
+
}, {
|
|
490
|
+
default: m(() => {
|
|
491
|
+
var a;
|
|
492
|
+
return [
|
|
493
|
+
q(F((a = v.value) == null ? void 0 : a.subLabel), 1)
|
|
494
|
+
];
|
|
495
|
+
}),
|
|
496
|
+
_: 1
|
|
497
|
+
})
|
|
498
|
+
], 2)
|
|
499
|
+
]),
|
|
500
|
+
key: "0"
|
|
501
|
+
} : void 0,
|
|
502
|
+
l.$slots.tooltip ? {
|
|
503
|
+
name: "tooltip",
|
|
504
|
+
fn: m(() => [
|
|
505
|
+
P(l.$slots, "tooltip")
|
|
506
|
+
]),
|
|
507
|
+
key: "1"
|
|
508
|
+
} : void 0,
|
|
509
|
+
le.value || l.$slots.prefix ? {
|
|
510
|
+
name: "prefix",
|
|
511
|
+
fn: m(() => {
|
|
512
|
+
var a;
|
|
513
|
+
return [
|
|
514
|
+
c("div", fl, [
|
|
515
|
+
l.$slots.prefix ? P(l.$slots, "prefix", {}, void 0, void 0, 0) : le.value && ((a = v.value) != null && a.labelPrefixComponent) ? (n(), b("div", vl, [
|
|
516
|
+
(n(), i(O(v.value.labelPrefixComponent.component), T(Ie(v.value.labelPrefixComponent.props)), null, 16))
|
|
517
|
+
])) : s("", !0)
|
|
518
|
+
])
|
|
519
|
+
];
|
|
520
|
+
}),
|
|
521
|
+
key: "2"
|
|
522
|
+
} : void 0,
|
|
523
|
+
l.$slots.helper ? {
|
|
524
|
+
name: "helper",
|
|
525
|
+
fn: m(() => [
|
|
526
|
+
P(l.$slots, "helper")
|
|
527
|
+
]),
|
|
528
|
+
key: "3"
|
|
529
|
+
} : void 0
|
|
530
|
+
]), 1032, ["modelValue", "readonly", "required", "label", "name", "form", "label-screen-reader-only", "placeholder", "wrapper-class", "input-class", "class", "disabled", "size", "error"])
|
|
531
|
+
], 42, cl),
|
|
532
|
+
e.withChips ? (n(), b("div", bl, [
|
|
533
|
+
(n(!0), b(j, null, ce(de.value, ({ value: a, label: I, disabled: S }) => (n(), i(Ne, {
|
|
534
|
+
key: a,
|
|
535
|
+
removable: !e.disabled && !S,
|
|
536
|
+
onRemoved: (X) => te({ value: a, checked: !1 })
|
|
537
|
+
}, {
|
|
538
|
+
default: m(() => [
|
|
539
|
+
c("span", { innerHTML: I }, null, 8, pl)
|
|
540
|
+
]),
|
|
541
|
+
_: 2
|
|
542
|
+
}, 1032, ["removable", "onRemoved"]))), 128))
|
|
543
|
+
])) : s("", !0),
|
|
544
|
+
x(Y) && x(H) ? (n(), i(Oe, {
|
|
545
|
+
key: 1,
|
|
546
|
+
to: x(H)
|
|
547
|
+
}, [
|
|
548
|
+
f.value && !e.disabled ? (n(), b("div", {
|
|
549
|
+
key: 0,
|
|
550
|
+
id: x(ue),
|
|
551
|
+
ref_key: "optionsRef",
|
|
552
|
+
ref: B,
|
|
553
|
+
role: "listbox",
|
|
554
|
+
style: re(x(he)),
|
|
555
|
+
class: "z-70 rounded bg-white drop-shadow-md",
|
|
556
|
+
onMouseenter: t[3] || (t[3] = (a) => f.value = !0),
|
|
557
|
+
onKeydown: ye
|
|
558
|
+
}, [
|
|
559
|
+
c("div", {
|
|
560
|
+
class: "rounded pt-0",
|
|
561
|
+
style: re({ width: `${x(xe)}px` })
|
|
562
|
+
}, [
|
|
563
|
+
E(rl, {
|
|
564
|
+
options: ie.value,
|
|
565
|
+
multiple: d.value,
|
|
566
|
+
model: g.value,
|
|
567
|
+
"add-only": e.addOnly,
|
|
568
|
+
"allows-multiple-values": !!d.value,
|
|
569
|
+
condensed: e.condensed,
|
|
570
|
+
"has-large-dropdown": e.hasLargeDropdown,
|
|
571
|
+
"input-value": x(y),
|
|
572
|
+
onValueChanged: te
|
|
573
|
+
}, {
|
|
574
|
+
"list-footer-content": m(() => [
|
|
575
|
+
ve ? (n(), i(_, {
|
|
576
|
+
key: 0,
|
|
577
|
+
intent: "subtle",
|
|
578
|
+
class: "w-full",
|
|
579
|
+
type: "button",
|
|
580
|
+
"icon-prefix": "add",
|
|
581
|
+
onClick: me
|
|
582
|
+
}, {
|
|
583
|
+
default: m(() => [
|
|
584
|
+
q(F(e.textContent.buttonAddLabel), 1)
|
|
585
|
+
]),
|
|
586
|
+
_: 1
|
|
587
|
+
})) : s("", !0),
|
|
588
|
+
d.value ? (n(), b("div", {
|
|
589
|
+
key: 1,
|
|
590
|
+
class: k(["flex items-center justify-between", { "py-2": !l.$slots["list-footer-content"] }])
|
|
591
|
+
}, [
|
|
592
|
+
ne.value ? (n(), i(_, {
|
|
593
|
+
key: 0,
|
|
594
|
+
type: "button",
|
|
595
|
+
intent: "subtle",
|
|
596
|
+
size: "sm",
|
|
597
|
+
class: "ml-2",
|
|
598
|
+
onClick: ae
|
|
599
|
+
}, {
|
|
600
|
+
default: m(() => [
|
|
601
|
+
q(F(e.textContent.buttonClearLabel), 1)
|
|
602
|
+
]),
|
|
603
|
+
_: 1
|
|
604
|
+
})) : s("", !0),
|
|
605
|
+
c("div", null, [
|
|
606
|
+
P(l.$slots, "list-footer-content")
|
|
607
|
+
]),
|
|
608
|
+
E(_, {
|
|
609
|
+
type: "button",
|
|
610
|
+
size: "sm",
|
|
611
|
+
class: "mr-2",
|
|
612
|
+
"data-testid": x(He),
|
|
613
|
+
onClick: D
|
|
614
|
+
}, {
|
|
615
|
+
default: m(() => [
|
|
616
|
+
q(F(e.textContent.buttonDoneLabel), 1)
|
|
617
|
+
]),
|
|
618
|
+
_: 1
|
|
619
|
+
}, 8, ["data-testid"])
|
|
620
|
+
], 2)) : P(l.$slots, "list-footer-content", {}, void 0, void 0, 2)
|
|
621
|
+
]),
|
|
622
|
+
_: 3
|
|
623
|
+
}, 8, ["options", "multiple", "model", "add-only", "allows-multiple-values", "condensed", "has-large-dropdown", "input-value"])
|
|
624
|
+
], 4)
|
|
625
|
+
], 44, yl)) : s("", !0)
|
|
626
|
+
], 8, ["to"])) : s("", !0)
|
|
627
|
+
], 64);
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
}), Bl = hl;
|
|
631
|
+
export {
|
|
632
|
+
Bl as S
|
|
633
|
+
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createSolvimonCore as i, getRegisteredComponentIds as n, getRegisteredScreenIds as r } from "./core/index.mjs";
|
|
2
|
-
import { d as t } from "./Checkout.entry.ce-
|
|
2
|
+
import { d as t } from "./Checkout.entry.ce-DsGl-5aR.mjs";
|
|
3
3
|
import { defineSolvimonCustomerOverview as d } from "./screens/CustomerOverview/CustomerOverview.mjs";
|
|
4
4
|
import { defineSolvimonSubscriptionManagement as v } from "./screens/SubscriptionManagement/SubscriptionManagement.mjs";
|
|
5
|
-
import { d as p } from "./SubscriptionDetails.entry.ce-
|
|
5
|
+
import { d as p } from "./SubscriptionDetails.entry.ce-D5SwM0YS.mjs";
|
|
6
6
|
import { defineSolvimonPayInvoice as a } from "./screens/PayInvoice/PayInvoice.mjs";
|
|
7
7
|
import { defineSolvimonPaymentMethodsManagement as c } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs";
|
|
8
8
|
import { defineSolvimonBillingInformation as g } from "./components/BillingInformation/BillingInformation.mjs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const e = ["CREDIT", "ONE_OFF_CREDIT"], a = (t) => e.includes(t.type), n = (t) => !!t.paid || t.payment_status === "PAID" || t.payment_status === "OVERPAID", I = (t) => {
|
|
2
|
+
var s;
|
|
3
|
+
return t.status === "FINAL" && !a(t) && !n(t) && Number(((s = t.open_invoice_amount) == null ? void 0 : s.quantity) ?? 0) > 0;
|
|
4
|
+
}, o = (t) => t.timezone || t.customer.timezone, m = (t) => ({
|
|
5
|
+
...t,
|
|
6
|
+
customer: { ...t.customer, timezone: o(t) }
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
a,
|
|
10
|
+
I as b,
|
|
11
|
+
o as g,
|
|
12
|
+
n as i,
|
|
13
|
+
m as w
|
|
14
|
+
};
|