@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,687 +0,0 @@
|
|
|
1
|
-
import { openBlock as t, createElementBlock as v, createElementVNode as c, renderSlot as T, defineComponent as Y, computed as h, withKeys as ke, normalizeClass as $, Fragment as F, mergeProps as H, createBlock as i, resolveDynamicComponent as E, createCommentVNode as u, createVNode as S, normalizeProps as q, withCtx as y, createTextVNode as L, toDisplayString as R, renderList as ce, getCurrentInstance as Ce, ref as G, inject as Se, unref as x, isRef as $e, createSlots as Ie, guardReactiveProps as Me, Teleport as Oe, normalizeStyle as de, nextTick as Ve } from "vue";
|
|
2
|
-
import { u as _, c as Ee, d as Le } from "./index.es-CXkP_k3u.mjs";
|
|
3
|
-
import { _ as Re, u as Be, a as De, o as Pe, f as ze } from "./floating-ui.vue.es-CYt0fSY7.mjs";
|
|
4
|
-
import { e as Ae, _ as U, s as Te, u as He } from "./sorting.es-DCihKqD2.mjs";
|
|
5
|
-
import { _ as j, S as qe, a as Ke } from "./customElements-B58FcXIN.mjs";
|
|
6
|
-
import { u as Ne } from "./cn.es-Cvt6TIwv.mjs";
|
|
7
|
-
import { a as fe, _ as ee } from "./Button.vue.es-Cmjfm4jw.mjs";
|
|
8
|
-
import { _ as Ue } from "./IconButton.vue.es-DvfErUOq.mjs";
|
|
9
|
-
import { _ as Fe } from "./Chip.vue.es-DksjbJO8.mjs";
|
|
10
|
-
import { a as je, i as Ze } from "./useService-Bh47bllz.mjs";
|
|
11
|
-
import { _ as Ge } from "./Input.vue.es-CU9u5yKH.mjs";
|
|
12
|
-
const Ye = (e) => `checkbox-item-${e}`, We = "select-search-done-button", Je = {}, Qe = { class: "flex items-center pt-1" }, Xe = { class: "px-1.5 text-xs font-semibold text-subtle" };
|
|
13
|
-
function _e(e, w) {
|
|
14
|
-
return t(), v("div", Qe, [
|
|
15
|
-
w[0] || (w[0] = c("div", { class: "w-2 border-t" }, null, -1)),
|
|
16
|
-
c("span", Xe, [
|
|
17
|
-
T(e.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
w[1] || (w[1] = c("div", { class: "grow border-t" }, null, -1))
|
|
20
|
-
]);
|
|
21
|
-
}
|
|
22
|
-
const el = /* @__PURE__ */ Re(Je, [["render", _e]]), ll = ["aria-selected", "aria-disabled", "data-testid"], tl = ["id", "value", "checked", "disabled"], nl = ["for"], al = { class: "flex items-center gap-1" }, ol = { class: "flex flex-grow flex-col" }, sl = { class: "flex flex-grow gap-2" }, ul = { class: "flex flex-grow flex-col" }, il = { class: "flex flex-grow items-start justify-between gap-2" }, rl = { class: "flex items-center gap-2" }, dl = /* @__PURE__ */ Y({
|
|
23
|
-
__name: "SelectExtendedOption",
|
|
24
|
-
props: {
|
|
25
|
-
multiple: { type: Boolean },
|
|
26
|
-
inputValue: {},
|
|
27
|
-
condensed: { type: Boolean },
|
|
28
|
-
label: {},
|
|
29
|
-
checked: { type: Boolean },
|
|
30
|
-
disabled: { type: Boolean },
|
|
31
|
-
subLabel: {},
|
|
32
|
-
labelPrefixComponent: {},
|
|
33
|
-
labelSuffixComponent: {},
|
|
34
|
-
labelInlineComponent: {},
|
|
35
|
-
value: {},
|
|
36
|
-
labelSrOnly: { type: Boolean }
|
|
37
|
-
},
|
|
38
|
-
emits: ["value-changed"],
|
|
39
|
-
setup(e, { emit: w }) {
|
|
40
|
-
const C = w, o = e, g = (m) => {
|
|
41
|
-
const B = m.target;
|
|
42
|
-
C("value-changed", {
|
|
43
|
-
value: B.value,
|
|
44
|
-
checked: B.checked
|
|
45
|
-
});
|
|
46
|
-
}, I = () => {
|
|
47
|
-
o.multiple || o.disabled || C("value-changed", { value: o.value });
|
|
48
|
-
}, f = h(() => Ye(o.value)), s = h(() => Ae(o.inputValue ?? ""));
|
|
49
|
-
return (m, B) => (t(), v("li", {
|
|
50
|
-
role: "option",
|
|
51
|
-
"aria-selected": e.checked,
|
|
52
|
-
"aria-disabled": e.disabled,
|
|
53
|
-
class: $([{ "hover:bg-gray-50": !e.disabled }, "relative flex"]),
|
|
54
|
-
"data-testid": f.value,
|
|
55
|
-
tabindex: "0",
|
|
56
|
-
onClick: I,
|
|
57
|
-
onKeydown: ke(I, ["enter"])
|
|
58
|
-
}, [
|
|
59
|
-
e.multiple ? (t(), v(F, { key: 0 }, [
|
|
60
|
-
c("input", H(m.$attrs, {
|
|
61
|
-
id: f.value,
|
|
62
|
-
ref: "inputRef",
|
|
63
|
-
value: e.value,
|
|
64
|
-
checked: e.checked,
|
|
65
|
-
disabled: e.disabled,
|
|
66
|
-
type: "checkbox",
|
|
67
|
-
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"],
|
|
68
|
-
tabindex: "-1",
|
|
69
|
-
onChange: g
|
|
70
|
-
}), null, 16, tl),
|
|
71
|
-
c("label", {
|
|
72
|
-
for: f.value,
|
|
73
|
-
class: $([e.disabled ? "text-disabled" : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
|
|
74
|
-
}, [
|
|
75
|
-
c("div", al, [
|
|
76
|
-
e.labelPrefixComponent ? (t(), i(E(e.labelPrefixComponent.component), { key: 0 })) : u("", !0),
|
|
77
|
-
c("div", ol, [
|
|
78
|
-
c("div", sl, [
|
|
79
|
-
S(U, {
|
|
80
|
-
text: e.label,
|
|
81
|
-
search: s.value,
|
|
82
|
-
class: $(["font-semibold", { "sr-only": e.labelSrOnly }])
|
|
83
|
-
}, null, 8, ["text", "search", "class"]),
|
|
84
|
-
e.labelInlineComponent ? (t(), i(E(e.labelInlineComponent.component), q(H({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : u("", !0),
|
|
85
|
-
e.subLabel && e.condensed ? (t(), i(U, {
|
|
86
|
-
key: 1,
|
|
87
|
-
class: "text-xs text-secondary",
|
|
88
|
-
text: e.subLabel,
|
|
89
|
-
search: s.value
|
|
90
|
-
}, null, 8, ["text", "search"])) : u("", !0)
|
|
91
|
-
]),
|
|
92
|
-
e.subLabel && !e.condensed ? (t(), i(U, {
|
|
93
|
-
key: 0,
|
|
94
|
-
class: "text-xs text-secondary",
|
|
95
|
-
text: e.subLabel,
|
|
96
|
-
search: s.value
|
|
97
|
-
}, null, 8, ["text", "search"])) : u("", !0)
|
|
98
|
-
]),
|
|
99
|
-
e.labelSuffixComponent ? (t(), i(E(e.labelSuffixComponent.component), q(H({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : u("", !0)
|
|
100
|
-
])
|
|
101
|
-
], 10, nl)
|
|
102
|
-
], 64)) : (t(), v("div", {
|
|
103
|
-
key: 1,
|
|
104
|
-
class: $(["flex w-full items-start gap-3 px-4 text-sm font-medium", [
|
|
105
|
-
e.condensed ? "p-2" : "py-3",
|
|
106
|
-
e.disabled ?? "cursor-not-allowed",
|
|
107
|
-
!e.disabled && "cursor-pointer"
|
|
108
|
-
]])
|
|
109
|
-
}, [
|
|
110
|
-
e.labelPrefixComponent ? (t(), i(E(e.labelPrefixComponent.component), q(H({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : u("", !0),
|
|
111
|
-
c("div", ul, [
|
|
112
|
-
c("div", il, [
|
|
113
|
-
S(U, {
|
|
114
|
-
text: e.label,
|
|
115
|
-
search: s.value,
|
|
116
|
-
class: $(["font-semibold", { "text-disabled": e.disabled }])
|
|
117
|
-
}, null, 8, ["text", "search", "class"]),
|
|
118
|
-
c("div", rl, [
|
|
119
|
-
e.labelInlineComponent ? (t(), i(E(e.labelInlineComponent.component), q(H({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : u("", !0),
|
|
120
|
-
e.labelSuffixComponent ? (t(), i(E(e.labelSuffixComponent.component), q(H({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : u("", !0)
|
|
121
|
-
])
|
|
122
|
-
]),
|
|
123
|
-
e.subLabel && e.condensed ? (t(), i(U, {
|
|
124
|
-
key: 0,
|
|
125
|
-
class: "text-xs text-secondary",
|
|
126
|
-
text: e.subLabel,
|
|
127
|
-
search: s.value
|
|
128
|
-
}, null, 8, ["text", "search"])) : u("", !0),
|
|
129
|
-
e.subLabel && !e.condensed ? (t(), i(U, {
|
|
130
|
-
key: 1,
|
|
131
|
-
class: "text-xs text-secondary",
|
|
132
|
-
text: e.subLabel,
|
|
133
|
-
search: s.value
|
|
134
|
-
}, null, 8, ["text", "search"])) : u("", !0)
|
|
135
|
-
])
|
|
136
|
-
], 2))
|
|
137
|
-
], 42, ll));
|
|
138
|
-
}
|
|
139
|
-
}), cl = { class: "flex flex-col rounded-bl rounded-br" }, fl = { key: 0 }, vl = {
|
|
140
|
-
key: 2,
|
|
141
|
-
class: "border-t border-gray-200"
|
|
142
|
-
}, ml = /* @__PURE__ */ Y({
|
|
143
|
-
__name: "SelectExtendedOptions",
|
|
144
|
-
props: {
|
|
145
|
-
model: {},
|
|
146
|
-
multiple: { type: Boolean },
|
|
147
|
-
condensed: { type: Boolean },
|
|
148
|
-
hasLargeDropdown: { type: Boolean },
|
|
149
|
-
inputValue: {},
|
|
150
|
-
addOnly: { type: Boolean },
|
|
151
|
-
options: {}
|
|
152
|
-
},
|
|
153
|
-
emits: ["value-changed"],
|
|
154
|
-
setup(e, { emit: w }) {
|
|
155
|
-
const C = e, o = w, g = (s) => o("value-changed", s), I = h(
|
|
156
|
-
() => Te(C.options, "group").reduce((s, m) => m.value === "" ? s : { ...s, [m.value]: m.group }, {})
|
|
157
|
-
), f = h(() => C.options.length === 0);
|
|
158
|
-
return (s, m) => (t(), v("div", cl, [
|
|
159
|
-
f.value ? (t(), i(j, {
|
|
160
|
-
key: 0,
|
|
161
|
-
tag: "div",
|
|
162
|
-
"no-spacing": "",
|
|
163
|
-
variant: "body-sm",
|
|
164
|
-
color: "secondary",
|
|
165
|
-
class: "px-5 py-5"
|
|
166
|
-
}, {
|
|
167
|
-
default: y(() => [...m[0] || (m[0] = [
|
|
168
|
-
L("No results", -1)
|
|
169
|
-
])]),
|
|
170
|
-
_: 1
|
|
171
|
-
})) : (t(), v("ul", {
|
|
172
|
-
key: 1,
|
|
173
|
-
class: $(["list-none overflow-y-auto", [e.hasLargeDropdown ? "max-h-76" : "max-h-48"]])
|
|
174
|
-
}, [
|
|
175
|
-
e.addOnly ? (t(), v("div", fl, [
|
|
176
|
-
S(j, {
|
|
177
|
-
tag: "p",
|
|
178
|
-
"no-spacing": "",
|
|
179
|
-
variant: "body-sm",
|
|
180
|
-
color: "secondary",
|
|
181
|
-
class: "mt-1 px-3 py-2"
|
|
182
|
-
}, {
|
|
183
|
-
default: y(() => [...m[1] || (m[1] = [
|
|
184
|
-
L(R("You can only select currently unselected options."), -1)
|
|
185
|
-
])]),
|
|
186
|
-
_: 1
|
|
187
|
-
})
|
|
188
|
-
])) : u("", !0),
|
|
189
|
-
(t(!0), v(F, null, ce(e.options, ({
|
|
190
|
-
label: B,
|
|
191
|
-
subLabel: K,
|
|
192
|
-
value: r,
|
|
193
|
-
checked: k,
|
|
194
|
-
disabled: p,
|
|
195
|
-
labelInlineComponent: W,
|
|
196
|
-
labelSuffixComponent: D,
|
|
197
|
-
labelSrOnly: M,
|
|
198
|
-
labelPrefixComponent: Z,
|
|
199
|
-
hidden: J
|
|
200
|
-
}) => (t(), v(F, { key: r }, [
|
|
201
|
-
I.value[r] ? (t(), i(el, { key: 0 }, {
|
|
202
|
-
default: y(() => [
|
|
203
|
-
L(R(I.value[r]), 1)
|
|
204
|
-
]),
|
|
205
|
-
_: 2
|
|
206
|
-
}, 1024)) : u("", !0),
|
|
207
|
-
J ? u("", !0) : (t(), i(dl, {
|
|
208
|
-
key: 1,
|
|
209
|
-
label: B,
|
|
210
|
-
"sub-label": K,
|
|
211
|
-
value: r,
|
|
212
|
-
checked: k,
|
|
213
|
-
disabled: p,
|
|
214
|
-
multiple: e.multiple,
|
|
215
|
-
condensed: e.condensed,
|
|
216
|
-
"label-suffix-component": D,
|
|
217
|
-
"label-prefix-component": Z,
|
|
218
|
-
"label-inline-component": W,
|
|
219
|
-
"label-sr-only": M,
|
|
220
|
-
"input-value": e.inputValue,
|
|
221
|
-
onValueChanged: g
|
|
222
|
-
}, null, 8, ["label", "sub-label", "value", "checked", "disabled", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-inline-component", "label-sr-only", "input-value"]))
|
|
223
|
-
], 64))), 128))
|
|
224
|
-
], 2)),
|
|
225
|
-
s.$slots["list-footer-content"] ? (t(), v("div", vl, [
|
|
226
|
-
T(s.$slots, "list-footer-content")
|
|
227
|
-
])) : u("", !0)
|
|
228
|
-
]));
|
|
229
|
-
}
|
|
230
|
-
}), pl = ["aria-expanded", "aria-controls"], bl = { class: "flex items-center gap-2" }, yl = { key: 1 }, hl = { class: "flex items-center gap-2" }, xl = {
|
|
231
|
-
key: 0,
|
|
232
|
-
class: "mt-2 flex flex-wrap gap-2"
|
|
233
|
-
}, gl = ["innerHTML"], wl = ["id"], Hl = /* @__PURE__ */ Y({
|
|
234
|
-
__name: "SelectExtended",
|
|
235
|
-
props: {
|
|
236
|
-
addOnly: { type: Boolean, default: !1 },
|
|
237
|
-
disabled: { type: Boolean },
|
|
238
|
-
label: {},
|
|
239
|
-
labelScreenReaderOnly: { type: Boolean },
|
|
240
|
-
inputModel: {},
|
|
241
|
-
singleModelValue: {},
|
|
242
|
-
multiModelValue: {},
|
|
243
|
-
options: { default: () => [] },
|
|
244
|
-
optionsOrder: { default: () => ["asc", "asc"] },
|
|
245
|
-
optionsOrderProperties: { default: () => ["group", "label"] },
|
|
246
|
-
required: { type: Boolean, default: !1 },
|
|
247
|
-
rootClass: {},
|
|
248
|
-
size: { default: "md" },
|
|
249
|
-
withChips: { type: Boolean, default: !1 },
|
|
250
|
-
error: {},
|
|
251
|
-
hasReset: { type: Boolean },
|
|
252
|
-
name: {},
|
|
253
|
-
hasLargeDropdown: { type: Boolean, default: !1 },
|
|
254
|
-
showSuffixInClosedInput: { type: Boolean },
|
|
255
|
-
showSuffixLabelInInput: { type: Boolean },
|
|
256
|
-
showSubLabelInInput: { type: Boolean, default: !1 },
|
|
257
|
-
condensed: { type: Boolean },
|
|
258
|
-
form: {},
|
|
259
|
-
isInputReadOnly: { type: Boolean, default: !0 },
|
|
260
|
-
textContent: { default: () => ({
|
|
261
|
-
placeholderSingleOpen: "Search",
|
|
262
|
-
placeholderSingleEmpty: "Select an option",
|
|
263
|
-
placeholderMultipleOpen: "Search",
|
|
264
|
-
placeholderMultipleEmpty: "Select one or more options",
|
|
265
|
-
buttonAddLabel: "Add",
|
|
266
|
-
buttonClearLabel: "Reset",
|
|
267
|
-
buttonDoneLabel: "Done"
|
|
268
|
-
}) }
|
|
269
|
-
},
|
|
270
|
-
emits: ["update:inputModel", "update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"],
|
|
271
|
-
setup(e, { emit: w }) {
|
|
272
|
-
var C;
|
|
273
|
-
const o = e, g = w, I = (C = Ce()) == null ? void 0 : C.vnode.props, f = _(o, "inputModel", g), s = _(o, "singleModelValue", g), m = _(o, "multiModelValue", g), B = h(() => r.value ? m.value ?? [] : s.value ? [s.value] : []), K = G(o.multiModelValue ?? []), r = h(() => Array.isArray(o.multiModelValue)), k = h({
|
|
274
|
-
get: () => r.value ? K.value ?? [] : typeof s.value == "string" ? [s.value] : [],
|
|
275
|
-
set(l) {
|
|
276
|
-
r.value ? K.value = l : s.value = (l == null ? void 0 : l[0]) ?? "";
|
|
277
|
-
}
|
|
278
|
-
}), p = G(!1), W = He(), D = G(), M = G(), Z = Se(qe), J = (l) => o.options.filter((n) => l.some((d) => n.value === d)), N = h(() => J(k.value)), b = h(() => N.value[0]), ve = h(() => re.value[0]), le = h(
|
|
279
|
-
() => {
|
|
280
|
-
var l;
|
|
281
|
-
return !p.value && !r.value && ((l = b.value) == null ? void 0 : l.labelPrefixComponent);
|
|
282
|
-
}
|
|
283
|
-
), me = !!(I != null && I.onAddOption), pe = () => {
|
|
284
|
-
g("add-option"), P();
|
|
285
|
-
}, be = h(() => {
|
|
286
|
-
var l, n, d, a;
|
|
287
|
-
if (!r.value) {
|
|
288
|
-
if (b.value)
|
|
289
|
-
return (l = b.value) == null ? void 0 : l.label;
|
|
290
|
-
if (N.value.length === 0)
|
|
291
|
-
return o.textContent.placeholderSingleEmpty;
|
|
292
|
-
}
|
|
293
|
-
if (r.value) {
|
|
294
|
-
if (N.value.length === 1)
|
|
295
|
-
return (n = b.value) == null ? void 0 : n.label;
|
|
296
|
-
if (N.value.length >= 2)
|
|
297
|
-
return `${(d = b.value) == null ? void 0 : d.label} +${N.value.length - 1}`;
|
|
298
|
-
if (N.value.length === 0)
|
|
299
|
-
return o.textContent.placeholderMultipleEmpty;
|
|
300
|
-
}
|
|
301
|
-
return (a = ve.value) == null ? void 0 : a.label;
|
|
302
|
-
}), P = () => {
|
|
303
|
-
r.value, p.value = !1;
|
|
304
|
-
}, te = ({
|
|
305
|
-
value: l,
|
|
306
|
-
checked: n
|
|
307
|
-
}) => {
|
|
308
|
-
let d;
|
|
309
|
-
r.value ? d = n ? [...k.value, l] : k.value.filter((a) => a !== l) : (d = [l], p.value = !1), k.value = d, g("change");
|
|
310
|
-
}, ne = h(() => !!(o.addOnly && !je(K.value, o.multiModelValue) || !o.addOnly && k.value.length > 0 && !o.disabled && !(k.value.length === 1 && k.value[0] === ""))), ae = () => {
|
|
311
|
-
if (o.addOnly) {
|
|
312
|
-
K.value = B.value, f.value = "", P();
|
|
313
|
-
return;
|
|
314
|
-
}
|
|
315
|
-
k.value = [], K.value = [], f.value && (f.value = ""), P();
|
|
316
|
-
}, oe = () => D.value ? Array.from(
|
|
317
|
-
D.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
|
|
318
|
-
) : [], se = () => {
|
|
319
|
-
var l;
|
|
320
|
-
let n = document.activeElement;
|
|
321
|
-
for (; (l = n == null ? void 0 : n.shadowRoot) != null && l.activeElement; )
|
|
322
|
-
n = n.shadowRoot.activeElement;
|
|
323
|
-
return n;
|
|
324
|
-
}, Q = () => {
|
|
325
|
-
if (!M.value) return null;
|
|
326
|
-
let l = M.value.querySelector("input");
|
|
327
|
-
if (l) return l;
|
|
328
|
-
const n = M.value.querySelectorAll("*");
|
|
329
|
-
for (const d of n)
|
|
330
|
-
if (d.shadowRoot && (l = d.shadowRoot.querySelector("input"), l))
|
|
331
|
-
return l;
|
|
332
|
-
return null;
|
|
333
|
-
}, ye = (l) => {
|
|
334
|
-
var n, d;
|
|
335
|
-
if (!p.value) return;
|
|
336
|
-
const a = oe(), V = Q();
|
|
337
|
-
if (se() === V)
|
|
338
|
-
switch (l.key) {
|
|
339
|
-
case "ArrowDown":
|
|
340
|
-
a.length > 0 && (l.preventDefault(), (n = a[0]) == null || n.focus());
|
|
341
|
-
break;
|
|
342
|
-
case "Tab":
|
|
343
|
-
!l.shiftKey && a.length > 0 && (l.preventDefault(), (d = a[0]) == null || d.focus());
|
|
344
|
-
break;
|
|
345
|
-
case "Escape":
|
|
346
|
-
l.preventDefault(), P();
|
|
347
|
-
break;
|
|
348
|
-
}
|
|
349
|
-
}, he = (l) => {
|
|
350
|
-
var n, d, a, V;
|
|
351
|
-
const O = oe(), X = se(), z = O.indexOf(X), A = Q();
|
|
352
|
-
switch (l.key) {
|
|
353
|
-
case "ArrowDown":
|
|
354
|
-
z < O.length - 1 && (l.preventDefault(), (n = O[z + 1]) == null || n.focus());
|
|
355
|
-
break;
|
|
356
|
-
case "ArrowUp":
|
|
357
|
-
l.preventDefault(), z <= 0 ? A == null || A.focus() : (d = O[z - 1]) == null || d.focus();
|
|
358
|
-
break;
|
|
359
|
-
case "Tab":
|
|
360
|
-
l.shiftKey ? z <= 0 ? (l.preventDefault(), A == null || A.focus()) : (l.preventDefault(), (a = O[z - 1]) == null || a.focus()) : z >= O.length - 1 ? (l.preventDefault(), P(), A == null || A.focus()) : (l.preventDefault(), (V = O[z + 1]) == null || V.focus());
|
|
361
|
-
break;
|
|
362
|
-
case "Escape":
|
|
363
|
-
l.preventDefault(), P(), Ve(() => {
|
|
364
|
-
A == null || A.focus();
|
|
365
|
-
});
|
|
366
|
-
break;
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
Ee("mousedown", (l) => {
|
|
370
|
-
const n = l.composedPath();
|
|
371
|
-
D.value && n.includes(D.value) || M.value && n.includes(M.value) || p.value && P();
|
|
372
|
-
});
|
|
373
|
-
const { floatingStyles: xe } = Be(M, D, {
|
|
374
|
-
whileElementsMounted: De,
|
|
375
|
-
placement: "bottom",
|
|
376
|
-
middleware: [
|
|
377
|
-
Pe(4),
|
|
378
|
-
ze({
|
|
379
|
-
mainAxis: !0
|
|
380
|
-
})
|
|
381
|
-
]
|
|
382
|
-
}), ue = Ne("search-select-options-"), { width: ge } = Le(M), we = () => {
|
|
383
|
-
const l = Q();
|
|
384
|
-
l && l.focus();
|
|
385
|
-
}, ie = h(() => o.options.map((l) => ({
|
|
386
|
-
...l,
|
|
387
|
-
checked: N.value.some((n) => n.value === l.value),
|
|
388
|
-
disabled: o.disabled || !o.disabled && o.addOnly && !!B.value.includes(l.value)
|
|
389
|
-
}))), re = h(
|
|
390
|
-
() => ie.value.filter((l) => {
|
|
391
|
-
var n;
|
|
392
|
-
return (n = k.value) == null ? void 0 : n.includes(l.value);
|
|
393
|
-
})
|
|
394
|
-
);
|
|
395
|
-
return (l, n) => {
|
|
396
|
-
var d;
|
|
397
|
-
return t(), v(F, null, [
|
|
398
|
-
c("div", {
|
|
399
|
-
ref_key: "wrapperRef",
|
|
400
|
-
ref: M,
|
|
401
|
-
class: $(["relative flex items-end", {
|
|
402
|
-
rootClass: e.rootClass,
|
|
403
|
-
"z-30": p.value,
|
|
404
|
-
"cursor-text": !e.disabled
|
|
405
|
-
}]),
|
|
406
|
-
role: "combobox",
|
|
407
|
-
"aria-expanded": p.value,
|
|
408
|
-
"aria-haspopup": !0,
|
|
409
|
-
"aria-controls": x(ue),
|
|
410
|
-
onKeydown: ye,
|
|
411
|
-
onClick: we
|
|
412
|
-
}, [
|
|
413
|
-
S(x(Ge), {
|
|
414
|
-
modelValue: x(f),
|
|
415
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) => $e(f) ? f.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: $(["grow !outline-none", { "cursor-default": e.isInputReadOnly }]),
|
|
424
|
-
"wrapper-class": {
|
|
425
|
-
"border-transparent border-b-gray-200 focus-within:border-b relative z-10": p.value
|
|
426
|
-
},
|
|
427
|
-
"input-class": !p.value && (!r.value && x(s) || r.value && !x(Ze)(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: n[1] || (n[1] = () => p.value = !0),
|
|
435
|
-
onBlur: n[2] || (n[2] = (a) => l.$emit("blur"))
|
|
436
|
-
}, Ie({
|
|
437
|
-
"label-suffix": y(() => [
|
|
438
|
-
T(l.$slots, "label-suffix")
|
|
439
|
-
]),
|
|
440
|
-
suffix: y(() => {
|
|
441
|
-
var a, V;
|
|
442
|
-
return [
|
|
443
|
-
c("div", hl, [
|
|
444
|
-
!p.value && !r.value && ((a = b.value) != null && a.labelInlineComponent) && (!e.showSuffixInClosedInput || e.showSuffixLabelInInput) ? (t(), i(E(b.value.labelInlineComponent.component), q(H({ key: 0 }, b.value.labelInlineComponent.props)), null, 16)) : u("", !0),
|
|
445
|
-
!p.value && !r.value && ((V = b.value) != null && V.labelSuffixComponent) && e.showSuffixInClosedInput ? (t(), i(E(b.value.labelSuffixComponent.component), q(H({ key: 1 }, b.value.labelSuffixComponent.props)), null, 16)) : u("", !0),
|
|
446
|
-
x(f) || ne.value && e.hasReset ? (t(), i(Ue, {
|
|
447
|
-
key: 2,
|
|
448
|
-
icon: "close",
|
|
449
|
-
size: "xs",
|
|
450
|
-
intent: "subtle",
|
|
451
|
-
type: "button",
|
|
452
|
-
onClick: ae
|
|
453
|
-
})) : u("", !0),
|
|
454
|
-
S(fe, {
|
|
455
|
-
icon: "keyboard_arrow_down",
|
|
456
|
-
size: "xs",
|
|
457
|
-
class: $(["transition-transform", { "rotate-180": p.value }])
|
|
458
|
-
}, null, 8, ["class"])
|
|
459
|
-
])
|
|
460
|
-
];
|
|
461
|
-
}),
|
|
462
|
-
_: 2
|
|
463
|
-
}, [
|
|
464
|
-
e.showSubLabelInInput && ((d = b.value) != null && d.subLabel) ? {
|
|
465
|
-
name: "input",
|
|
466
|
-
fn: y(() => [
|
|
467
|
-
c("div", {
|
|
468
|
-
class: $(["pointer-events-none absolute inset-0 bg-white", { "px-4 py-3": e.size === "xl" }])
|
|
469
|
-
}, [
|
|
470
|
-
S(j, {
|
|
471
|
-
tag: "span",
|
|
472
|
-
class: "block",
|
|
473
|
-
variant: "body-sm",
|
|
474
|
-
weight: "semibold"
|
|
475
|
-
}, {
|
|
476
|
-
default: y(() => {
|
|
477
|
-
var a;
|
|
478
|
-
return [
|
|
479
|
-
L(R((a = b.value) == null ? void 0 : a.label), 1)
|
|
480
|
-
];
|
|
481
|
-
}),
|
|
482
|
-
_: 1
|
|
483
|
-
}),
|
|
484
|
-
S(j, {
|
|
485
|
-
tag: "span",
|
|
486
|
-
class: "block",
|
|
487
|
-
variant: "body-xs",
|
|
488
|
-
color: "secondary"
|
|
489
|
-
}, {
|
|
490
|
-
default: y(() => {
|
|
491
|
-
var a;
|
|
492
|
-
return [
|
|
493
|
-
L(R((a = b.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: y(() => [
|
|
505
|
-
T(l.$slots, "tooltip")
|
|
506
|
-
]),
|
|
507
|
-
key: "1"
|
|
508
|
-
} : void 0,
|
|
509
|
-
le.value || l.$slots.prefix ? {
|
|
510
|
-
name: "prefix",
|
|
511
|
-
fn: y(() => {
|
|
512
|
-
var a;
|
|
513
|
-
return [
|
|
514
|
-
c("div", bl, [
|
|
515
|
-
l.$slots.prefix ? T(l.$slots, "prefix", {}, void 0, void 0, 0) : le.value && ((a = b.value) != null && a.labelPrefixComponent) ? (t(), v("div", yl, [
|
|
516
|
-
(t(), i(E(b.value.labelPrefixComponent.component), q(Me(b.value.labelPrefixComponent.props)), null, 16))
|
|
517
|
-
])) : u("", !0)
|
|
518
|
-
])
|
|
519
|
-
];
|
|
520
|
-
}),
|
|
521
|
-
key: "2"
|
|
522
|
-
} : void 0,
|
|
523
|
-
l.$slots.helper ? {
|
|
524
|
-
name: "helper",
|
|
525
|
-
fn: y(() => [
|
|
526
|
-
T(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, pl),
|
|
532
|
-
e.withChips ? (t(), v("div", xl, [
|
|
533
|
-
(t(!0), v(F, null, ce(re.value, ({ value: a, label: V, disabled: O }) => (t(), i(Fe, {
|
|
534
|
-
key: a,
|
|
535
|
-
removable: !O,
|
|
536
|
-
onRemoved: (X) => te({ value: a, checked: !1 })
|
|
537
|
-
}, {
|
|
538
|
-
default: y(() => [
|
|
539
|
-
c("span", { innerHTML: V }, null, 8, gl)
|
|
540
|
-
]),
|
|
541
|
-
_: 2
|
|
542
|
-
}, 1032, ["removable", "onRemoved"]))), 128))
|
|
543
|
-
])) : u("", !0),
|
|
544
|
-
x(W) && x(Z) ? (t(), i(Oe, {
|
|
545
|
-
key: 1,
|
|
546
|
-
to: x(Z)
|
|
547
|
-
}, [
|
|
548
|
-
p.value && !e.disabled ? (t(), v("div", {
|
|
549
|
-
key: 0,
|
|
550
|
-
id: x(ue),
|
|
551
|
-
ref_key: "optionsRef",
|
|
552
|
-
ref: D,
|
|
553
|
-
role: "listbox",
|
|
554
|
-
style: de(x(xe)),
|
|
555
|
-
class: "z-70 rounded bg-white drop-shadow-md",
|
|
556
|
-
onMouseenter: n[3] || (n[3] = (a) => p.value = !0),
|
|
557
|
-
onKeydown: he
|
|
558
|
-
}, [
|
|
559
|
-
c("div", {
|
|
560
|
-
class: "rounded pt-0",
|
|
561
|
-
style: de({ width: `${x(ge)}px` })
|
|
562
|
-
}, [
|
|
563
|
-
S(ml, {
|
|
564
|
-
options: ie.value,
|
|
565
|
-
multiple: r.value,
|
|
566
|
-
model: k.value,
|
|
567
|
-
"add-only": e.addOnly,
|
|
568
|
-
"allows-multiple-values": !!r.value,
|
|
569
|
-
condensed: e.condensed,
|
|
570
|
-
"has-large-dropdown": e.hasLargeDropdown,
|
|
571
|
-
"input-value": x(f),
|
|
572
|
-
onValueChanged: te
|
|
573
|
-
}, {
|
|
574
|
-
"list-footer-content": y(() => [
|
|
575
|
-
me ? (t(), i(ee, {
|
|
576
|
-
key: 0,
|
|
577
|
-
intent: "subtle",
|
|
578
|
-
class: "w-full",
|
|
579
|
-
type: "button",
|
|
580
|
-
"icon-prefix": "add",
|
|
581
|
-
onClick: pe
|
|
582
|
-
}, {
|
|
583
|
-
default: y(() => [
|
|
584
|
-
L(R(e.textContent.buttonAddLabel), 1)
|
|
585
|
-
]),
|
|
586
|
-
_: 1
|
|
587
|
-
})) : u("", !0),
|
|
588
|
-
r.value ? (t(), v("div", {
|
|
589
|
-
key: 1,
|
|
590
|
-
class: $(["flex items-center justify-between", { "py-2": !l.$slots["list-footer-content"] }])
|
|
591
|
-
}, [
|
|
592
|
-
ne.value ? (t(), i(ee, {
|
|
593
|
-
key: 0,
|
|
594
|
-
type: "button",
|
|
595
|
-
intent: "subtle",
|
|
596
|
-
size: "sm",
|
|
597
|
-
class: "ml-2",
|
|
598
|
-
onClick: ae
|
|
599
|
-
}, {
|
|
600
|
-
default: y(() => [
|
|
601
|
-
L(R(e.textContent.buttonClearLabel), 1)
|
|
602
|
-
]),
|
|
603
|
-
_: 1
|
|
604
|
-
})) : u("", !0),
|
|
605
|
-
c("div", null, [
|
|
606
|
-
T(l.$slots, "list-footer-content")
|
|
607
|
-
]),
|
|
608
|
-
S(ee, {
|
|
609
|
-
type: "button",
|
|
610
|
-
size: "sm",
|
|
611
|
-
class: "mr-2",
|
|
612
|
-
"data-testid": x(We),
|
|
613
|
-
onClick: P
|
|
614
|
-
}, {
|
|
615
|
-
default: y(() => [
|
|
616
|
-
L(R(e.textContent.buttonDoneLabel), 1)
|
|
617
|
-
]),
|
|
618
|
-
_: 1
|
|
619
|
-
}, 8, ["data-testid"])
|
|
620
|
-
], 2)) : T(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, wl)) : u("", !0)
|
|
626
|
-
], 8, ["to"])) : u("", !0)
|
|
627
|
-
], 64);
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
}), kl = '<svg xmlns="http://www.w3.org/2000/svg" width="40" height="15" fill="none" viewBox="0 0 40 15"><path fill="currentColor" d="M.049 2.917h5.845c.646 0 1.17.522 1.17 1.166v5.834H1.217c-.646 0-1.17-.522-1.17-1.167V5.833h2.924v2.334H4.14v-3.5H.049zm32.735 0v7h2.922v-5.25h1.17v5.25h2.922V4.083c0-.644-.523-1.166-1.169-1.166zm-16.367 9.916h5.845c.646 0 1.17-.522 1.17-1.166v-8.75h-2.924v5.25H19.34v-5.25h-2.922V8.75c0 .645.523 1.167 1.169 1.167h2.922v1.166h-4.091zm15.197-2.916H25.77c-.646 0-1.17-.522-1.17-1.167V2.917h5.846c.646 0 1.17.522 1.17 1.166V7h-2.923V4.667h-1.17v3.5h4.092zM15.248 0v9.917H9.402c-.646 0-1.17-.522-1.17-1.167V4.083c0-.644.524-1.166 1.17-1.166h1.754v5.25h1.169V0z"/></svg>', Cl = '<svg xmlns="http://www.w3.org/2000/svg" width="36" height="15" viewBox="0 0 36 15"><path d="M35.996 7.746c0-2.559-1.238-4.578-3.61-4.578-2.378 0-3.816 2.02-3.816 4.559 0 3.011 1.7 4.53 4.137 4.53 1.191 0 2.09-.269 2.77-.648v-2c-.68.34-1.457.547-2.45.547-.968 0-1.828-.34-1.937-1.52h4.887c0-.128.02-.648.02-.89m-4.937-.95c0-1.128.691-1.597 1.32-1.597.61 0 1.258.469 1.258 1.598ZM24.707 3.168c-.977 0-1.61.46-1.957.781l-.133-.62h-2.199v11.66l2.5-.532.012-2.828c.36.258.89.629 1.77.629 1.788 0 3.417-1.442 3.417-4.61-.008-2.898-1.66-4.48-3.41-4.48m-.598 6.89c-.59 0-.941-.21-1.18-.472l-.011-3.707c.262-.29.621-.492 1.191-.492.91 0 1.54 1.02 1.54 2.332 0 1.34-.622 2.34-1.54 2.34M16.98 2.578l2.508-.539V.008L16.98.539ZM16.98 3.34h2.508v8.746H16.98ZM14.29 4.078l-.161-.738h-2.16v8.746h2.5v-5.93c.59-.77 1.59-.629 1.898-.52V3.34c-.316-.121-1.488-.34-2.078.738M9.29 1.168l-2.438.52-.012 8.011c0 1.48 1.11 2.57 2.59 2.57.82 0 1.418-.152 1.75-.332v-2.03c-.32.132-1.899.59-1.899-.887V5.469h1.899v-2.13H9.28ZM2.531 5.879c0-.39.32-.54.848-.54a5.56 5.56 0 0 1 2.48.638V3.629a6.55 6.55 0 0 0-2.48-.461C1.352 3.168 0 4.227 0 6c0 2.758 3.8 2.316 3.8 3.508 0 .46-.402.61-.96.61-.828 0-1.89-.34-2.73-.802V11.7c.93.399 1.87.57 2.73.57 2.078 0 3.512-1.03 3.512-2.82-.012-2.98-3.82-2.453-3.82-3.57m0 0" style="stroke:none;fill-rule:evenodd;fill:currentColor;fill-opacity:1"/></svg>', Sl = { class: "flex justify-around" }, $l = { class: "flex items-center gap-0.5" }, Il = ["aria-label", "innerHTML"], ql = /* @__PURE__ */ Y({
|
|
631
|
-
__name: "SecurePaymentsKPI",
|
|
632
|
-
props: {
|
|
633
|
-
paymentMethodOptions: { type: Array }
|
|
634
|
-
},
|
|
635
|
-
setup(e) {
|
|
636
|
-
const w = e, { $t: C } = Ke(), o = {
|
|
637
|
-
ADYEN: { svg: kl, label: "Adyen" },
|
|
638
|
-
STRIPE: { svg: Cl, label: "Stripe" }
|
|
639
|
-
}, g = h(() => {
|
|
640
|
-
const f = w.paymentMethodOptions.find(
|
|
641
|
-
({ integration: s }) => {
|
|
642
|
-
var m;
|
|
643
|
-
return ((m = s.payment_gateway) == null ? void 0 : m.variant) != null && s.payment_gateway.variant in o;
|
|
644
|
-
}
|
|
645
|
-
);
|
|
646
|
-
return f ? o[f.integration.payment_gateway.variant] : null;
|
|
647
|
-
}), I = h(() => g.value ? C({
|
|
648
|
-
defaultMessage: "Secure and encrypted payments by",
|
|
649
|
-
description: "Secure encrypted payments KPI for a specific vendor, followed by a vendor logo",
|
|
650
|
-
id: "secure_payments_kpi.specific_vendor"
|
|
651
|
-
}) : C({
|
|
652
|
-
defaultMessage: "Secure and encrypted payments",
|
|
653
|
-
description: "Secure encrypted payments KPI",
|
|
654
|
-
id: "secure_payments_kpi.generic"
|
|
655
|
-
}));
|
|
656
|
-
return (f, s) => (t(), v("div", Sl, [
|
|
657
|
-
c("div", $l, [
|
|
658
|
-
S(x(fe), {
|
|
659
|
-
icon: "lock",
|
|
660
|
-
size: "xs"
|
|
661
|
-
}),
|
|
662
|
-
S(x(j), {
|
|
663
|
-
tag: "span",
|
|
664
|
-
variant: "body-xs",
|
|
665
|
-
color: "subtle"
|
|
666
|
-
}, {
|
|
667
|
-
default: y(() => [
|
|
668
|
-
c("span", null, R(I.value), 1),
|
|
669
|
-
s[0] || (s[0] = L(R(" ") + " ", -1)),
|
|
670
|
-
g.value ? (t(), v("span", {
|
|
671
|
-
key: 0,
|
|
672
|
-
"aria-label": g.value.label,
|
|
673
|
-
role: "img",
|
|
674
|
-
class: "inline-block h-[15px] align-middle",
|
|
675
|
-
innerHTML: g.value.svg
|
|
676
|
-
}, null, 8, Il)) : u("", !0)
|
|
677
|
-
]),
|
|
678
|
-
_: 1
|
|
679
|
-
})
|
|
680
|
-
])
|
|
681
|
-
]));
|
|
682
|
-
}
|
|
683
|
-
});
|
|
684
|
-
export {
|
|
685
|
-
Hl as _,
|
|
686
|
-
ql as a
|
|
687
|
-
};
|