@solvimon/solvimon-web 0.1.0-alpha.26 → 0.1.0-alpha.28
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 +138 -27
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +17 -19
- package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +233 -253
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
- package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +31 -36
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
- package/dist/{DividerText.vue.es-DKl3FnDJ.mjs → DividerText.vue.es-M0XqSz55.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +362 -0
- package/dist/{ErrorNotification.vue.es-rRKgmkzV.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
- package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CK9k69tV.mjs → IconTitle.vue.es-BO6KBS4v.mjs} +3 -3
- package/dist/Input.vue.es-DAlPmtE_.mjs +249 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs +56 -0
- package/dist/{InvoiceSummary.vue.es-DQ4KvTaw.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
- package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +73 -75
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
- package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -297
- package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
- package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
- package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +65 -75
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs} +13 -8
- package/dist/PlanCustomizationEditor-Xtww2r9K.mjs +711 -0
- package/dist/PortalNotAvailable-B_59GUwN.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
- package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
- package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs} +13 -12
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/{StepInput.vue.es-C3Zm6Wc9.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
- package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs} +750 -763
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +124 -90
- package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
- package/dist/{TrialChip.vue.es-C_yRujip.mjs → TrialChip.vue.es-B-XBSHWE.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{cn.es-CGa6b2Lt.mjs → cn.es-2bVdkiFV.mjs} +87 -83
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +7 -8
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +394 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +16 -17
- package/dist/components/Invoice/Invoice.mjs +206 -209
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +64 -63
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
- package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
- package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -65
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +31 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +47 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +50 -36
- package/dist/components/WalletBalances/WalletBalances.mjs +9 -10
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-Di3zwlEU.mjs +6447 -0
- package/dist/customer-CqddTiOr.mjs +31 -0
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-BNMj3boy.mjs} +16 -10
- package/dist/{de-DE-CLfzTbbX.mjs → de-DE-BW8dMvhW.mjs} +87 -19
- package/dist/formControl-CsITfsBk.mjs +749 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-DJTwftJv.mjs → invoices-Cf1qDAv4.mjs} +40 -35
- package/dist/{it-IT-Cym1UvvK.mjs → it-IT-Byg06KWc.mjs} +87 -19
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DRvuxM1F.mjs} +9 -3
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-DLUwWbMG.mjs} +12 -6
- package/dist/{nl-NL-D0c4x5C0.mjs → nl-NL-x3zQqzZ7.mjs} +93 -25
- package/dist/paymentMethods-BUuOmDq9.mjs +77 -0
- package/dist/paymentOutcome-D17VD4MV.mjs +67 -0
- package/dist/payments-Ci8bF4C6.mjs +45 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-COr9F8DO.mjs +233 -0
- package/dist/pricingPlanSchedules-BK_o9p6h.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 +98 -91
- package/dist/screens/PayInvoice/PayInvoice.mjs +181 -210
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +98 -86
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +363 -334
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-qtEN8J8T.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-CwogJODR.mjs +54 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +20 -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/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- 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 +36 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +9 -4
- 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 +1 -1
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +11 -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/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +8 -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/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/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 +2 -0
- 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/types/errors.d.ts +3 -2
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- 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-DC_fUykI.mjs +9 -0
- package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-C3kTh7wn.mjs} +2 -2
- package/dist/useCustomerFormLabels-CK7K50nB.mjs +1369 -0
- package/dist/useIncrementalLoading-C_sHmW7d.mjs +60 -0
- package/dist/useInvoiceData-BIh8-h8b.mjs +21 -0
- package/dist/useInvoicesList-Y6p0Pqpy.mjs +674 -0
- package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
- package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
- package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +17 -18
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
- package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
- package/dist/{usePayments-CV85OV8V.mjs → usePayments-CykCZPG2.mjs} +7 -7
- package/dist/usePortal-CxzKGhbK.mjs +7 -0
- package/dist/useService-B0OQJmif.mjs +56 -0
- package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +35 -59
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs +0 -223
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js +0 -1
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-Bm6MCMAL.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
- package/dist/Button.vue.es-qGvnOKnK.js +0 -1
- package/dist/ChargeOnDemandModal-DIQaGnRs.js +0 -1
- package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
- package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
- package/dist/Chip.vue.es-D60gTbfe.js +0 -1
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
- package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
- package/dist/ContextMenu.vue.es-C7KI8Gz6.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-bFUx81Ig.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs +0 -2701
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-BF3gnr4e.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs +0 -335
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js +0 -1
- package/dist/ErrorNotification.vue.es-BX9dHEc-.js +0 -1
- package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
- package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
- package/dist/IconButton.vue.es-Bwdfu-jm.js +0 -1
- package/dist/IconTitle.vue.es-Cei98MBw.js +0 -1
- package/dist/Input.vue.es-B47l_feL.js +0 -1
- package/dist/Input.vue.es-D9IjIWc-.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs +0 -41
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js +0 -1
- package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +0 -1
- package/dist/Modal.vue.es-8LN4gBh0.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js +0 -1
- package/dist/PaymentHistoryBlock-Ds93gNvh.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js +0 -1
- package/dist/PaymentIntegrationForm-B_Db4DG1.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
- package/dist/PaymentIntegrationFormStripe-BIiMCWlV.mjs +0 -587
- package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +0 -102
- package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +0 -1
- package/dist/PaymentMethodForm-1d0YIGOu.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js +0 -1
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
- package/dist/PlanCustomizationEditor-CpZeilm5.mjs +0 -694
- package/dist/PricingGroupRangeInput.vue.es-DZSJ5Mz0.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +0 -1
- package/dist/RadioGroupExtended.vue.es-Dt6LH9Yh.js +0 -1
- package/dist/Section.vue.es-zVXBHAL6.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
- package/dist/StepInput.vue.es-mAnuCuDQ.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +0 -1
- package/dist/SubscriptionSchedules-Cm5Dt-1H.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs +0 -91
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js +0 -1
- package/dist/TooltipParagraph.vue.es-Cph6zT31.js +0 -1
- package/dist/TrialChip.vue.es-C_wgHGuN.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/adyen-CvsH5fok.mjs +0 -117
- package/dist/adyen-Druit6gz.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-D9YMDvG2.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-C963-LtW.js +0 -1215
- package/dist/customElements-D5DAoHRI.mjs +0 -6633
- package/dist/customer-DKa1B2vp.mjs +0 -31
- package/dist/customer-TE1FnGT0.js +0 -1
- 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-DaBBl-Ak.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-BNevqm0M.js +0 -1
- package/dist/en-US-D6SGRAch.mjs +0 -325
- 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/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-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-ClqTWYF9.js +0 -1
- package/dist/it-IT-BkPbTueL.js +0 -1
- package/dist/it-IT-CSYvGmpT.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-jIfAVGv0.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-AL2U_byg.js +0 -1
- package/dist/paymentMethods-CWzJhcWK.mjs +0 -77
- package/dist/payments-BmiHMlQt.js +0 -1
- package/dist/payments-aXyfylwk.mjs +0 -45
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BVAld27Y.js +0 -1
- package/dist/pricing-DLOeiAIB.mjs +0 -16
- 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-BD4GIP_F.mjs +0 -32
- package/dist/pricingPlanSchedules-BfsMSvN0.js +0 -1
- 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-Cm83ckfl.js +0 -1
- package/dist/subscriptions-cnR5fnf7.mjs +0 -55
- 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-CHkVQMaE.js +0 -1
- package/dist/useActionDispatchProvider-DDYqIh3r.mjs +0 -11
- package/dist/useCustomer-DGYtowRy.js +0 -1
- package/dist/useCustomerFormLabels-CcnkJLcB.mjs +0 -968
- package/dist/useCustomerFormLabels-DAZziqYt.js +0 -1
- package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
- package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BEK-7msA.mjs +0 -38
- package/dist/useInvoiceData-CQRn8l9C.js +0 -1
- package/dist/useInvoicesList-BQkKyyXa.js +0 -1
- package/dist/useInvoicesList-C4I118KM.mjs +0 -500
- package/dist/useLoadInitialData-CrKnBZs_.js +0 -1
- package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
- package/dist/usePaymentMethodOptions-Ciifjo6c.mjs +0 -39
- package/dist/usePaymentMethodOptions-Cqe92ZBn.js +0 -1
- package/dist/usePaymentMethods-BKwrl82-.js +0 -1
- package/dist/usePayments-Bauj16B-.js +0 -1
- package/dist/usePortal-DSLImEfr.js +0 -1
- package/dist/usePortal-H8Tv2TnZ.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BiYNJT2e.js +0 -1
- package/dist/useSubscription-DqnxWNKg.mjs +0 -210
- package/dist/useTimePeriod.es-D2aiyfd-.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,968 +0,0 @@
|
|
|
1
|
-
import { i as xe, d as qe, a as sl } from "./useService-Bh47bllz.mjs";
|
|
2
|
-
import { openBlock as o, createElementBlock as M, createElementVNode as x, renderSlot as j, defineComponent as le, computed as d, withKeys as il, withModifiers as ke, normalizeClass as z, Fragment as ee, mergeProps as N, createBlock as h, resolveDynamicComponent as R, normalizeProps as D, createCommentVNode as p, createVNode as F, unref as S, toDisplayString as A, renderList as Ne, withCtx as I, createTextVNode as U, inject as ul, getCurrentInstance as rl, ref as q, watch as ye, useModel as je, useSlots as dl, createSlots as cl, guardReactiveProps as Ee, Teleport as fl, normalizeStyle as Re, mergeModels as we, isRef as De } from "vue";
|
|
3
|
-
import { u as ie, d as vl, c as ml } from "./index.es-CXkP_k3u.mjs";
|
|
4
|
-
import { c as hl } from "./countryData.es-BegoD-cZ.mjs";
|
|
5
|
-
import { _ as bl, u as pl, a as yl, o as gl, f as xl, s as kl, b as wl } from "./floating-ui.vue.es-CYt0fSY7.mjs";
|
|
6
|
-
import { e as Ce, _ as J, s as Cl, u as Sl } from "./sorting.es-DCihKqD2.mjs";
|
|
7
|
-
import { S as Ml, _ as ue, a as Fe } from "./customElements-D5DAoHRI.mjs";
|
|
8
|
-
import { _ as ze } from "./IconButton.vue.es-UlqwNPAX.mjs";
|
|
9
|
-
import { a as Ae, _ as ge } from "./Button.vue.es-C32_baQN.mjs";
|
|
10
|
-
import { _ as $l } from "./Chip.vue.es-CKCOY5T6.mjs";
|
|
11
|
-
import { _ as Il } from "./Input.vue.es-D9IjIWc-.mjs";
|
|
12
|
-
import { _ as Vl } from "./formControl-dX7l8o3c.mjs";
|
|
13
|
-
const Se = (e) => xe(e) && typeof e != "boolean" ? null : e, se = (e) => typeof e == "object" && e !== null, Ol = ({
|
|
14
|
-
from: e,
|
|
15
|
-
to: b,
|
|
16
|
-
nullifyEmptyValues: k = !1
|
|
17
|
-
}) => {
|
|
18
|
-
const s = Object.fromEntries(
|
|
19
|
-
Object.entries(b).filter(([n, y]) => !qe(y, e[n]))
|
|
20
|
-
);
|
|
21
|
-
return k ? Object.entries(s).reduce(
|
|
22
|
-
(n, [y, i]) => ({ ...n, [y]: Se(i) }),
|
|
23
|
-
{}
|
|
24
|
-
) : s;
|
|
25
|
-
}, Ll = ({
|
|
26
|
-
from: e,
|
|
27
|
-
to: b,
|
|
28
|
-
nullifyEmptyValues: k = !1
|
|
29
|
-
}) => {
|
|
30
|
-
const s = {}, n = (i, f, a) => {
|
|
31
|
-
const v = f[a];
|
|
32
|
-
return i === void 0 ? Array.isArray(v) ? s[a] = [] : se(v) && (s[a] = {}) : Array.isArray(v) ? i[a] = [] : se(v) && (i[a] = {}), [i === void 0 ? s : i, a];
|
|
33
|
-
}, y = (i, f, a) => {
|
|
34
|
-
for (const v of Object.keys(i)) {
|
|
35
|
-
const m = n(a, i, v);
|
|
36
|
-
v in f || (m[0][m[1]] = {
|
|
37
|
-
from: i[v]
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
for (const [v, m] of Object.entries(f)) {
|
|
41
|
-
const g = v in i, w = n(a, i, v);
|
|
42
|
-
if (g) {
|
|
43
|
-
const $ = i[v];
|
|
44
|
-
qe($, m) ? delete w[0][w[1]] : se(m) && se($) ? y($, m, w[0][w[1]]) : w[0][w[1]] = k && typeof m != "boolean" ? Se(m) : m;
|
|
45
|
-
} else
|
|
46
|
-
w[0][w[1]] = k ? Se(m) : m;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
return y(e, b), s;
|
|
50
|
-
}, St = ({
|
|
51
|
-
from: e,
|
|
52
|
-
to: b,
|
|
53
|
-
mode: k = "shallow",
|
|
54
|
-
nullifyEmptyValues: s = !1
|
|
55
|
-
}) => k === "deep" ? Ll({ from: e, to: b, nullifyEmptyValues: s }) : Ol({ from: e, to: b, nullifyEmptyValues: s });
|
|
56
|
-
function Pl(e, b, k = []) {
|
|
57
|
-
return [...e].sort((s, n) => {
|
|
58
|
-
for (let y = 0; y < b.length; y++) {
|
|
59
|
-
const i = b[y], f = typeof i == "function" ? i : (g) => g[i], a = k[y] === "desc" ? -1 : 1, v = f(s), m = f(n);
|
|
60
|
-
if (!(v == null && m == null)) {
|
|
61
|
-
if (v == null) return a;
|
|
62
|
-
if (m == null || v < m) return -a;
|
|
63
|
-
if (v > m) return a;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return 0;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
const Bl = {}, Tl = { class: "flex items-center pt-1" }, El = { class: "px-1.5 text-xs font-semibold text-subtle" };
|
|
70
|
-
function Rl(e, b) {
|
|
71
|
-
return o(), M("div", Tl, [
|
|
72
|
-
b[0] || (b[0] = x("div", { class: "w-2 border-t" }, null, -1)),
|
|
73
|
-
x("span", El, [
|
|
74
|
-
j(e.$slots, "default")
|
|
75
|
-
]),
|
|
76
|
-
b[1] || (b[1] = x("div", { class: "grow border-t" }, null, -1))
|
|
77
|
-
]);
|
|
78
|
-
}
|
|
79
|
-
const Dl = /* @__PURE__ */ bl(Bl, [["render", Rl]]), zl = (e) => `checkbox-item-${e}`, Al = "select-search-done-button", ql = ["aria-selected", "aria-disabled", "data-testid", "onKeydown"], Nl = ["id", "value", "checked", "disabled"], jl = ["for"], Fl = { class: "flex min-w-0 items-center gap-1" }, Kl = { class: "flex min-w-0 flex-grow flex-col" }, Ul = { class: "flex min-w-0 flex-grow gap-2" }, Hl = { class: "flex min-w-0 flex-grow flex-col" }, Wl = { class: "flex min-w-0 flex-grow items-center gap-2" }, Gl = /* @__PURE__ */ le({
|
|
80
|
-
__name: "SearchSelectInputOption",
|
|
81
|
-
props: {
|
|
82
|
-
multiple: { type: Boolean },
|
|
83
|
-
search: {},
|
|
84
|
-
condensed: { type: Boolean },
|
|
85
|
-
label: {},
|
|
86
|
-
checked: { type: Boolean },
|
|
87
|
-
disabled: { type: Boolean },
|
|
88
|
-
subLabel: {},
|
|
89
|
-
labelPrefixComponent: {},
|
|
90
|
-
labelSuffixComponent: {},
|
|
91
|
-
labelInlineComponent: {},
|
|
92
|
-
value: {},
|
|
93
|
-
labelSrOnly: { type: Boolean }
|
|
94
|
-
},
|
|
95
|
-
emits: ["value-changed"],
|
|
96
|
-
setup(e, { emit: b }) {
|
|
97
|
-
const k = b, s = e, n = (a) => {
|
|
98
|
-
const v = a.target, m = {
|
|
99
|
-
value: v.value,
|
|
100
|
-
checked: v.checked
|
|
101
|
-
};
|
|
102
|
-
k("value-changed", m);
|
|
103
|
-
}, y = () => {
|
|
104
|
-
s.multiple || s.disabled || k("value-changed", {
|
|
105
|
-
value: s.value
|
|
106
|
-
});
|
|
107
|
-
}, i = d(() => zl(s.value)), f = d(() => Ce(s.search ?? ""));
|
|
108
|
-
return (a, v) => (o(), M("li", {
|
|
109
|
-
role: "option",
|
|
110
|
-
"aria-selected": e.checked,
|
|
111
|
-
"aria-disabled": e.disabled,
|
|
112
|
-
class: z([{ "hover:bg-gray-100": !e.disabled }, "relative flex"]),
|
|
113
|
-
"data-testid": i.value,
|
|
114
|
-
tabindex: "0",
|
|
115
|
-
onClick: y,
|
|
116
|
-
onKeydown: il(ke(y, ["prevent"]), ["enter"])
|
|
117
|
-
}, [
|
|
118
|
-
e.multiple ? (o(), M(ee, { key: 0 }, [
|
|
119
|
-
x("input", N(a.$attrs, {
|
|
120
|
-
id: i.value,
|
|
121
|
-
ref: "inputRef",
|
|
122
|
-
value: e.value,
|
|
123
|
-
checked: e.checked,
|
|
124
|
-
disabled: e.disabled,
|
|
125
|
-
type: "checkbox",
|
|
126
|
-
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"],
|
|
127
|
-
tabindex: "-1",
|
|
128
|
-
onChange: n
|
|
129
|
-
}), null, 16, Nl),
|
|
130
|
-
x("label", {
|
|
131
|
-
for: i.value,
|
|
132
|
-
class: z([e.disabled ? "text-disabled" : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
|
|
133
|
-
}, [
|
|
134
|
-
x("div", Fl, [
|
|
135
|
-
e.labelPrefixComponent ? (o(), h(R(e.labelPrefixComponent.component), D(N({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : p("", !0),
|
|
136
|
-
x("div", Kl, [
|
|
137
|
-
x("div", Ul, [
|
|
138
|
-
F(J, {
|
|
139
|
-
text: e.label,
|
|
140
|
-
search: f.value,
|
|
141
|
-
title: e.label,
|
|
142
|
-
class: z(["truncate font-semibold", { "sr-only": e.labelSrOnly }])
|
|
143
|
-
}, null, 8, ["text", "search", "title", "class"]),
|
|
144
|
-
e.labelInlineComponent ? (o(), h(R(e.labelInlineComponent.component), D(N({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : p("", !0),
|
|
145
|
-
e.subLabel && e.condensed ? (o(), h(J, {
|
|
146
|
-
key: 1,
|
|
147
|
-
class: "truncate text-xs text-secondary",
|
|
148
|
-
text: e.subLabel,
|
|
149
|
-
title: e.subLabel,
|
|
150
|
-
search: f.value
|
|
151
|
-
}, null, 8, ["text", "title", "search"])) : p("", !0)
|
|
152
|
-
]),
|
|
153
|
-
e.subLabel && !e.condensed ? (o(), h(J, {
|
|
154
|
-
key: 0,
|
|
155
|
-
class: "truncate text-xs text-secondary",
|
|
156
|
-
text: e.subLabel,
|
|
157
|
-
title: e.subLabel,
|
|
158
|
-
search: f.value
|
|
159
|
-
}, null, 8, ["text", "title", "search"])) : p("", !0)
|
|
160
|
-
]),
|
|
161
|
-
e.labelSuffixComponent ? (o(), h(R(e.labelSuffixComponent.component), D(N({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : p("", !0)
|
|
162
|
-
])
|
|
163
|
-
], 10, jl)
|
|
164
|
-
], 64)) : (o(), M("div", {
|
|
165
|
-
key: 1,
|
|
166
|
-
class: z(["flex w-full min-w-0 items-center gap-3 px-4 text-sm font-medium", [
|
|
167
|
-
e.condensed ? "p-2" : "py-3",
|
|
168
|
-
e.disabled ?? "cursor-not-allowed",
|
|
169
|
-
!e.disabled && "cursor-pointer"
|
|
170
|
-
]])
|
|
171
|
-
}, [
|
|
172
|
-
e.labelPrefixComponent ? (o(), h(R(e.labelPrefixComponent.component), D(N({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : p("", !0),
|
|
173
|
-
x("div", Hl, [
|
|
174
|
-
x("div", Wl, [
|
|
175
|
-
F(J, {
|
|
176
|
-
text: e.label,
|
|
177
|
-
search: S(Ce)(e.search ?? ""),
|
|
178
|
-
title: e.label,
|
|
179
|
-
class: z(["truncate font-semibold", { "text-disabled": e.disabled }])
|
|
180
|
-
}, null, 8, ["text", "search", "title", "class"]),
|
|
181
|
-
e.labelInlineComponent ? (o(), h(R(e.labelInlineComponent.component), D(N({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : p("", !0),
|
|
182
|
-
e.subLabel && e.condensed ? (o(), h(J, {
|
|
183
|
-
key: 1,
|
|
184
|
-
class: "truncate text-xs text-secondary",
|
|
185
|
-
text: e.subLabel,
|
|
186
|
-
title: e.subLabel,
|
|
187
|
-
search: f.value
|
|
188
|
-
}, null, 8, ["text", "title", "search"])) : p("", !0)
|
|
189
|
-
]),
|
|
190
|
-
e.subLabel && !e.condensed ? (o(), h(J, {
|
|
191
|
-
key: 0,
|
|
192
|
-
class: "truncate text-xs text-secondary",
|
|
193
|
-
text: e.subLabel,
|
|
194
|
-
title: e.subLabel,
|
|
195
|
-
search: f.value
|
|
196
|
-
}, null, 8, ["text", "title", "search"])) : p("", !0)
|
|
197
|
-
]),
|
|
198
|
-
e.labelSuffixComponent ? (o(), h(R(e.labelSuffixComponent.component), D(N({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : p("", !0)
|
|
199
|
-
], 2))
|
|
200
|
-
], 42, ql));
|
|
201
|
-
}
|
|
202
|
-
}), Ql = { class: "flex flex-col rounded-bl rounded-br" }, Yl = {
|
|
203
|
-
key: 0,
|
|
204
|
-
class: "px-5 py-5 text-sm text-secondary"
|
|
205
|
-
}, Jl = { key: 0 }, Xl = ["innerHTML"], Zl = { key: 0 }, _l = { class: "mt-1 px-3 py-2 text-sm text-secondary" }, et = /* @__PURE__ */ le({
|
|
206
|
-
__name: "SearchSelectInputOptions",
|
|
207
|
-
props: {
|
|
208
|
-
i18n: {},
|
|
209
|
-
model: {},
|
|
210
|
-
search: {},
|
|
211
|
-
multiple: { type: Boolean },
|
|
212
|
-
condensed: { type: Boolean },
|
|
213
|
-
hasLargeDropdown: { type: Boolean },
|
|
214
|
-
addOnly: { type: Boolean },
|
|
215
|
-
options: {}
|
|
216
|
-
},
|
|
217
|
-
emits: ["value-changed"],
|
|
218
|
-
setup(e, { emit: b }) {
|
|
219
|
-
const k = b, s = e, n = (g) => k("value-changed", g), y = d(() => {
|
|
220
|
-
var g, w;
|
|
221
|
-
const $ = s.search ? `<span class="font-bold">"${Ce(s.search)}"</span>` : "";
|
|
222
|
-
return ((w = (g = s.i18n) == null ? void 0 : g.noResults) == null ? void 0 : w.call(g, $)) ?? `No matches found for ${$}.`;
|
|
223
|
-
}), i = d(() => s.search === ""), f = d(() => s.options.filter((g) => !g.hidden)), a = d(() => f.value.length > 0), v = d(() => a.value ? !1 : i.value ? !0 : !!y.value), m = d(
|
|
224
|
-
() => Cl(s.options, "group").reduce(
|
|
225
|
-
(g, w) => w.value === "" ? g : {
|
|
226
|
-
...g,
|
|
227
|
-
[w.value]: w.group
|
|
228
|
-
},
|
|
229
|
-
{}
|
|
230
|
-
)
|
|
231
|
-
);
|
|
232
|
-
return (g, w) => {
|
|
233
|
-
var $, C;
|
|
234
|
-
return o(), M("div", Ql, [
|
|
235
|
-
v.value ? (o(), M("div", Yl, [
|
|
236
|
-
i.value ? (o(), M("span", Jl, A((($ = s.i18n) == null ? void 0 : $.noOptionsAvailable) ?? "No available options."), 1)) : (o(), M("span", {
|
|
237
|
-
key: 1,
|
|
238
|
-
innerHTML: y.value
|
|
239
|
-
}, null, 8, Xl))
|
|
240
|
-
])) : a.value ? (o(), M("ul", {
|
|
241
|
-
key: 1,
|
|
242
|
-
class: z(["list-none overflow-y-auto", [e.hasLargeDropdown ? "max-h-[19rem]" : "max-h-48"]])
|
|
243
|
-
}, [
|
|
244
|
-
e.addOnly ? (o(), M("div", Zl, [
|
|
245
|
-
x("p", _l, A(((C = e.i18n) == null ? void 0 : C.addOnly) ?? "You can only select currently unselected options."), 1)
|
|
246
|
-
])) : p("", !0),
|
|
247
|
-
(o(!0), M(ee, null, Ne(f.value, ({
|
|
248
|
-
label: re,
|
|
249
|
-
subLabel: te,
|
|
250
|
-
value: H,
|
|
251
|
-
checked: ae,
|
|
252
|
-
disabled: de,
|
|
253
|
-
labelInlineComponent: L,
|
|
254
|
-
labelSuffixComponent: ce,
|
|
255
|
-
labelSrOnly: fe,
|
|
256
|
-
labelPrefixComponent: ve,
|
|
257
|
-
searchValues: r
|
|
258
|
-
}) => (o(), M(ee, { key: H }, [
|
|
259
|
-
m.value[H] ? (o(), h(Dl, { key: 0 }, {
|
|
260
|
-
default: I(() => [
|
|
261
|
-
U(A(m.value[H]), 1)
|
|
262
|
-
]),
|
|
263
|
-
_: 2
|
|
264
|
-
}, 1024)) : p("", !0),
|
|
265
|
-
F(Gl, {
|
|
266
|
-
label: re,
|
|
267
|
-
"sub-label": te,
|
|
268
|
-
value: H,
|
|
269
|
-
checked: ae,
|
|
270
|
-
disabled: de,
|
|
271
|
-
search: r ? "" : e.search,
|
|
272
|
-
multiple: e.multiple,
|
|
273
|
-
condensed: e.condensed,
|
|
274
|
-
"label-suffix-component": ce,
|
|
275
|
-
"label-prefix-component": ve,
|
|
276
|
-
"label-inline-component": L,
|
|
277
|
-
"label-sr-only": fe,
|
|
278
|
-
onValueChanged: n
|
|
279
|
-
}, null, 8, ["label", "sub-label", "value", "checked", "disabled", "search", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-inline-component", "label-sr-only"])
|
|
280
|
-
], 64))), 128))
|
|
281
|
-
], 2)) : p("", !0),
|
|
282
|
-
g.$slots["list-footer-content"] ? (o(), M("div", {
|
|
283
|
-
key: 2,
|
|
284
|
-
class: z({ "border-t border-gray-200": a.value })
|
|
285
|
-
}, [
|
|
286
|
-
j(g.$slots, "list-footer-content")
|
|
287
|
-
], 2)) : p("", !0)
|
|
288
|
-
]);
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
}), lt = { class: "flex flex-col gap-2" }, tt = ["aria-expanded"], at = { class: "flex items-center gap-2" }, nt = { key: 2 }, ot = { class: "flex items-center gap-2 self-stretch" }, st = { class: "flex items-center self-stretch pr-1" }, it = {
|
|
292
|
-
key: 0,
|
|
293
|
-
class: "flex flex-wrap gap-2"
|
|
294
|
-
}, ut = ["innerHTML"], rt = /* @__PURE__ */ le({
|
|
295
|
-
__name: "SearchSelectInput",
|
|
296
|
-
props: /* @__PURE__ */ we({
|
|
297
|
-
addOnly: { type: Boolean, default: !1 },
|
|
298
|
-
disabled: { type: Boolean },
|
|
299
|
-
i18n: {},
|
|
300
|
-
label: {},
|
|
301
|
-
labelScreenReaderOnly: { type: Boolean },
|
|
302
|
-
singleModelValue: {},
|
|
303
|
-
multiModelValue: {},
|
|
304
|
-
options: { default: () => [] },
|
|
305
|
-
optionsOrder: { default: () => ["asc", "asc"] },
|
|
306
|
-
optionsOrderProperties: { default: () => ["group", "label"] },
|
|
307
|
-
required: { type: Boolean, default: !1 },
|
|
308
|
-
rootClass: {},
|
|
309
|
-
wrapperClass: {},
|
|
310
|
-
size: { default: "md" },
|
|
311
|
-
withChips: { type: Boolean, default: !1 },
|
|
312
|
-
error: {},
|
|
313
|
-
hasReset: { type: Boolean },
|
|
314
|
-
name: {},
|
|
315
|
-
hasLargeDropdown: { type: Boolean, default: !1 },
|
|
316
|
-
showSuffixInClosedInput: { type: Boolean },
|
|
317
|
-
showSuffixLabelInInput: { type: Boolean },
|
|
318
|
-
showSelectionInClosedInput: { type: Boolean },
|
|
319
|
-
condensed: { type: Boolean },
|
|
320
|
-
form: {},
|
|
321
|
-
prefix: {}
|
|
322
|
-
}, {
|
|
323
|
-
search: { default: "" },
|
|
324
|
-
searchModifiers: {}
|
|
325
|
-
}),
|
|
326
|
-
emits: /* @__PURE__ */ we(["update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"], ["update:search"]),
|
|
327
|
-
setup(e, { expose: b, emit: k }) {
|
|
328
|
-
var s;
|
|
329
|
-
const n = e, y = ul(Ml), i = (s = rl()) == null ? void 0 : s.vnode.props, f = !(i != null && i["onUpdate:search"]), a = d(() => Array.isArray(n.multiModelValue)), v = q(n.singleModelValue), m = k, g = ie(n, "singleModelValue", m), w = ie(n, "multiModelValue", m), $ = q(w.value ?? []);
|
|
330
|
-
ye(
|
|
331
|
-
() => n.multiModelValue,
|
|
332
|
-
(l) => {
|
|
333
|
-
l && ($.value = l);
|
|
334
|
-
}
|
|
335
|
-
);
|
|
336
|
-
const C = je(e, "search"), re = dl(), te = d(() => !!re.prefix), H = d(() => !!n.prefix), ae = d(() => te.value || H.value), de = d(() => ae.value || !pe.value), L = d({
|
|
337
|
-
get: () => a.value ? $.value ?? [] : typeof g.value == "string" ? [g.value] : [],
|
|
338
|
-
set(l) {
|
|
339
|
-
a.value ? $.value = l : g.value = (l == null ? void 0 : l[0]) ?? "";
|
|
340
|
-
}
|
|
341
|
-
}), ce = d(
|
|
342
|
-
() => W.value.filter((l) => {
|
|
343
|
-
var t;
|
|
344
|
-
return (t = L.value) == null ? void 0 : t.includes(l.value);
|
|
345
|
-
})
|
|
346
|
-
), fe = d(() => ce.value[0]), ve = Sl(), r = q(!1), Q = q(), K = q(), Ke = q(), Me = () => Q.value ? Array.from(
|
|
347
|
-
Q.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
|
|
348
|
-
) : [], $e = () => {
|
|
349
|
-
var l;
|
|
350
|
-
let t = document.activeElement;
|
|
351
|
-
for (; (l = t == null ? void 0 : t.shadowRoot) != null && l.activeElement; )
|
|
352
|
-
t = t.shadowRoot.activeElement;
|
|
353
|
-
return t;
|
|
354
|
-
}, X = () => {
|
|
355
|
-
if (!K.value) return null;
|
|
356
|
-
let l = K.value.querySelector("input");
|
|
357
|
-
if (l) return l;
|
|
358
|
-
const t = K.value.querySelectorAll("*");
|
|
359
|
-
for (const u of t)
|
|
360
|
-
if (u.shadowRoot && (l = u.shadowRoot.querySelector("input"), l))
|
|
361
|
-
return l;
|
|
362
|
-
return null;
|
|
363
|
-
};
|
|
364
|
-
let me = !1;
|
|
365
|
-
const he = () => {
|
|
366
|
-
var l;
|
|
367
|
-
me = !0, (l = X()) == null || l.focus(), me = !1;
|
|
368
|
-
}, E = q(""), Z = q(!1), Ue = () => {
|
|
369
|
-
me || (r.value = !0);
|
|
370
|
-
}, He = (l) => {
|
|
371
|
-
l.target === X() && (r.value = !0);
|
|
372
|
-
}, We = () => {
|
|
373
|
-
n.disabled || (Z.value = !0, r.value = !0);
|
|
374
|
-
}, Ge = (l) => {
|
|
375
|
-
var t;
|
|
376
|
-
if (!r.value) return;
|
|
377
|
-
const u = Me(), V = X();
|
|
378
|
-
if ($e() === V)
|
|
379
|
-
switch (l.key) {
|
|
380
|
-
case "ArrowDown":
|
|
381
|
-
u.length > 0 && (l.preventDefault(), (t = u[0]) == null || t.focus());
|
|
382
|
-
break;
|
|
383
|
-
case "Tab":
|
|
384
|
-
B();
|
|
385
|
-
break;
|
|
386
|
-
case "Escape":
|
|
387
|
-
l.preventDefault(), B();
|
|
388
|
-
break;
|
|
389
|
-
}
|
|
390
|
-
}, Qe = (l) => {
|
|
391
|
-
var t, u, V;
|
|
392
|
-
const O = Me(), c = $e(), T = O.indexOf(c), _ = X();
|
|
393
|
-
switch (l.key) {
|
|
394
|
-
case "ArrowDown":
|
|
395
|
-
T < O.length - 1 && (l.preventDefault(), (t = O[T + 1]) == null || t.focus());
|
|
396
|
-
break;
|
|
397
|
-
case "ArrowUp":
|
|
398
|
-
l.preventDefault(), T <= 0 ? _ == null || _.focus() : (u = O[T - 1]) == null || u.focus();
|
|
399
|
-
break;
|
|
400
|
-
case "Tab":
|
|
401
|
-
if (l.preventDefault(), l.shiftKey && T > 0) {
|
|
402
|
-
(V = O[T - 1]) == null || V.focus();
|
|
403
|
-
break;
|
|
404
|
-
}
|
|
405
|
-
B(), he();
|
|
406
|
-
break;
|
|
407
|
-
case "Escape":
|
|
408
|
-
l.preventDefault(), B(), he();
|
|
409
|
-
break;
|
|
410
|
-
}
|
|
411
|
-
}, { floatingStyles: Ye } = pl(K, Q, {
|
|
412
|
-
whileElementsMounted: yl,
|
|
413
|
-
placement: "bottom",
|
|
414
|
-
middleware: [
|
|
415
|
-
gl(4),
|
|
416
|
-
xl({
|
|
417
|
-
mainAxis: !0
|
|
418
|
-
}),
|
|
419
|
-
kl({ padding: 8 }),
|
|
420
|
-
wl({
|
|
421
|
-
padding: 8,
|
|
422
|
-
apply({ availableHeight: l, elements: t }) {
|
|
423
|
-
Object.assign(t.floating.style, {
|
|
424
|
-
maxHeight: `${l}px`
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
})
|
|
428
|
-
]
|
|
429
|
-
}), { width: Je } = vl(K), Ie = (l) => {
|
|
430
|
-
var t;
|
|
431
|
-
return n.disabled || !n.disabled && n.addOnly && !!((t = v.value) != null && t.includes(l));
|
|
432
|
-
}, W = d(() => {
|
|
433
|
-
const l = n.options.map((u) => ({
|
|
434
|
-
...u,
|
|
435
|
-
checked: L.value.includes(u.value),
|
|
436
|
-
disabled: u.disabled ?? Ie(u.value)
|
|
437
|
-
})), t = [
|
|
438
|
-
...l,
|
|
439
|
-
...C.value.length === 0 && ne.value ? ne.value.filter(
|
|
440
|
-
(u) => !l.some((V) => V.value === u.value)
|
|
441
|
-
) : []
|
|
442
|
-
];
|
|
443
|
-
return n.optionsOrderProperties && !xe(n.optionsOrderProperties) ? Pl(t, n.optionsOrderProperties, n.optionsOrder) : t;
|
|
444
|
-
}), Ve = (l) => W.value.filter((t) => l.some((u) => t.value === u)), G = d(() => Ve(L.value)), P = d(() => G.value[0]), be = d(() => {
|
|
445
|
-
var l;
|
|
446
|
-
if (!(r.value || !n.showSuffixInClosedInput) && !(a.value && G.value.length !== 1))
|
|
447
|
-
return (l = P.value) == null ? void 0 : l.labelSuffixComponent;
|
|
448
|
-
}), Y = d(() => {
|
|
449
|
-
var l;
|
|
450
|
-
if (!n.showSelectionInClosedInput || r.value || !a.value)
|
|
451
|
-
return;
|
|
452
|
-
const t = (l = P.value) == null ? void 0 : l.labelPrefixComponent;
|
|
453
|
-
if (t)
|
|
454
|
-
return { component: t, extraCount: G.value.length - 1 };
|
|
455
|
-
}), Xe = d(() => n.size === "xs" ? "px-1" : n.size === "sm" ? "px-2" : "px-4"), ne = q([]);
|
|
456
|
-
ye(
|
|
457
|
-
() => {
|
|
458
|
-
var l;
|
|
459
|
-
if (a.value) return null;
|
|
460
|
-
const t = g.value ?? "";
|
|
461
|
-
return {
|
|
462
|
-
selectedValue: t,
|
|
463
|
-
label: ((l = n.options.find((u) => u.value === t)) == null ? void 0 : l.label) ?? ""
|
|
464
|
-
};
|
|
465
|
-
},
|
|
466
|
-
(l) => {
|
|
467
|
-
if (l) {
|
|
468
|
-
if (!l.selectedValue) {
|
|
469
|
-
E.value = "", r.value || (C.value = "");
|
|
470
|
-
return;
|
|
471
|
-
}
|
|
472
|
-
l.label && (E.value = l.label, !r.value && C.value === "" && (C.value = l.label));
|
|
473
|
-
}
|
|
474
|
-
},
|
|
475
|
-
{ immediate: !0 }
|
|
476
|
-
);
|
|
477
|
-
const Oe = ({
|
|
478
|
-
value: l,
|
|
479
|
-
checked: t
|
|
480
|
-
}) => {
|
|
481
|
-
var u;
|
|
482
|
-
let V;
|
|
483
|
-
a.value ? V = t ? [...L.value, l] : L.value.filter((O) => O !== l) : (V = [l], E.value = ((u = W.value.find((O) => O.value === l)) == null ? void 0 : u.label) ?? "", C.value = E.value, Z.value = !1, r.value = !1, he()), ne.value = Ve(V), L.value = V, m("change");
|
|
484
|
-
}, Le = d(
|
|
485
|
-
() => L.value.length > 0 && !n.disabled && !(L.value.length === 1 && L.value[0] === "")
|
|
486
|
-
), oe = () => {
|
|
487
|
-
L.value = [], $.value = [], a.value || (E.value = "", C.value = "", Z.value = !1);
|
|
488
|
-
}, Ze = () => {
|
|
489
|
-
if (!a.value && E.value && C.value === E.value) {
|
|
490
|
-
oe();
|
|
491
|
-
return;
|
|
492
|
-
}
|
|
493
|
-
C.value = "";
|
|
494
|
-
}, _e = d(() => {
|
|
495
|
-
if (!f || !a.value && !Z.value)
|
|
496
|
-
return W.value;
|
|
497
|
-
const l = C.value.toLowerCase();
|
|
498
|
-
return W.value.filter((t) => t.searchValues ? t.searchValues.some(
|
|
499
|
-
(u) => u.toLowerCase().includes(l)
|
|
500
|
-
) : (t.label ?? "").toLowerCase().includes(l));
|
|
501
|
-
}), B = () => {
|
|
502
|
-
a.value ? (w.value = $.value, C.value = "") : C.value === "" && n.hasReset ? oe() : (C.value = E.value, Z.value = !1), r.value = !1;
|
|
503
|
-
}, el = () => {
|
|
504
|
-
var l;
|
|
505
|
-
r.value ? B() : (r.value = !0, (l = X()) == null || l.focus());
|
|
506
|
-
};
|
|
507
|
-
ye($, () => {
|
|
508
|
-
!r.value && !sl(w.value, $.value) && a.value && (w.value = $.value);
|
|
509
|
-
}), ml("mousedown", (l) => {
|
|
510
|
-
const t = l.composedPath();
|
|
511
|
-
Q.value && t.includes(Q.value) || K.value && t.includes(K.value) || r.value && B();
|
|
512
|
-
});
|
|
513
|
-
const ll = d(() => {
|
|
514
|
-
var l, t, u, V, O, c, T;
|
|
515
|
-
return a.value && r.value ? ((l = n.i18n) == null ? void 0 : l.placeholderSearch) ?? "Search" : Y.value ? "" : a.value && G.value.length === 1 ? (t = P.value) == null ? void 0 : t.label : a.value && G.value.length >= 2 ? `${(u = P.value) == null ? void 0 : u.label} +${G.value.length - 1}` : !g.value && !P.value ? r.value ? ((V = n.i18n) == null ? void 0 : V.placeholderSearch) ?? "Search" : ((O = n.i18n) == null ? void 0 : O.placeholderDefault) ?? "Select an option" : r.value ? ((c = n.i18n) == null ? void 0 : c.placeholderSearch) ?? "Search" : !n.singleModelValue && !P.value ? "" : (T = W.value.find((_) => {
|
|
516
|
-
var Te;
|
|
517
|
-
return _.value === ((Te = fe.value) == null ? void 0 : Te.value);
|
|
518
|
-
})) == null ? void 0 : T.label;
|
|
519
|
-
}), Pe = d(() => C.value === ""), tl = d(() => !(Pe.value || !a.value && E.value !== "" && C.value === E.value && !n.hasReset)), al = d(
|
|
520
|
-
() => Le.value && !!n.hasReset && Pe.value && (a.value || !r.value)
|
|
521
|
-
), nl = !!(i != null && i.onAddOption), ol = () => {
|
|
522
|
-
m("add-option"), B();
|
|
523
|
-
}, pe = d(
|
|
524
|
-
() => {
|
|
525
|
-
var l;
|
|
526
|
-
return !r.value && !a.value && ((l = P.value) == null ? void 0 : l.labelPrefixComponent);
|
|
527
|
-
}
|
|
528
|
-
), Be = `search-select-options-${Math.random().toString(36).substring(2, 9)}`;
|
|
529
|
-
return b({
|
|
530
|
-
flushMemoryCachedSelectedOptions: () => ne.value = [],
|
|
531
|
-
close: B
|
|
532
|
-
}), (l, t) => {
|
|
533
|
-
var u, V, O;
|
|
534
|
-
return o(), M(ee, null, [
|
|
535
|
-
x("div", lt, [
|
|
536
|
-
x("div", {
|
|
537
|
-
ref_key: "wrapperRef",
|
|
538
|
-
ref: K,
|
|
539
|
-
class: z(["relative flex items-end", {
|
|
540
|
-
[`${e.rootClass}`]: e.rootClass,
|
|
541
|
-
"z-30": r.value
|
|
542
|
-
}]),
|
|
543
|
-
role: "combobox",
|
|
544
|
-
"aria-expanded": r.value,
|
|
545
|
-
"aria-haspopup": !0,
|
|
546
|
-
"aria-controls": Be,
|
|
547
|
-
onKeydown: Ge
|
|
548
|
-
}, [
|
|
549
|
-
F(S(Il), {
|
|
550
|
-
ref_key: "inputRef",
|
|
551
|
-
ref: Ke,
|
|
552
|
-
modelValue: C.value,
|
|
553
|
-
"onUpdate:modelValue": t[2] || (t[2] = (c) => C.value = c),
|
|
554
|
-
required: e.required,
|
|
555
|
-
label: e.label,
|
|
556
|
-
name: e.name,
|
|
557
|
-
form: e.form,
|
|
558
|
-
"label-screen-reader-only": e.labelScreenReaderOnly,
|
|
559
|
-
placeholder: ll.value,
|
|
560
|
-
class: "grow",
|
|
561
|
-
"wrapper-class": [
|
|
562
|
-
e.wrapperClass,
|
|
563
|
-
{
|
|
564
|
-
"border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none": r.value
|
|
565
|
-
}
|
|
566
|
-
],
|
|
567
|
-
"input-class": !r.value && (!a.value && S(g) || a.value && !S(xe)(e.multiModelValue)) ? "text-ellipsis placeholder:text-default" : "",
|
|
568
|
-
"suffix-class": "border-l-0",
|
|
569
|
-
disabled: e.disabled,
|
|
570
|
-
size: e.size,
|
|
571
|
-
error: e.error,
|
|
572
|
-
"prefix-has-border": de.value,
|
|
573
|
-
"aria-autocomplete": "list",
|
|
574
|
-
onFocus: Ue,
|
|
575
|
-
onClick: He,
|
|
576
|
-
onInput: We,
|
|
577
|
-
onBlur: t[3] || (t[3] = (c) => l.$emit("blur"))
|
|
578
|
-
}, cl({
|
|
579
|
-
"label-suffix": I(() => [
|
|
580
|
-
j(l.$slots, "label-suffix")
|
|
581
|
-
]),
|
|
582
|
-
suffix: I(() => {
|
|
583
|
-
var c;
|
|
584
|
-
return [
|
|
585
|
-
x("div", ot, [
|
|
586
|
-
!r.value && !a.value && ((c = P.value) != null && c.labelInlineComponent) && (!e.showSuffixInClosedInput || e.showSuffixLabelInInput) ? (o(), h(R(P.value.labelInlineComponent.component), D(N({ key: 0 }, P.value.labelInlineComponent.props)), null, 16)) : p("", !0),
|
|
587
|
-
be.value ? (o(), h(R(be.value.component), D(N({ key: 1 }, be.value.props)), null, 16)) : p("", !0),
|
|
588
|
-
x("div", st, [
|
|
589
|
-
al.value ? (o(), h(ze, {
|
|
590
|
-
key: 0,
|
|
591
|
-
icon: "close",
|
|
592
|
-
size: "sm",
|
|
593
|
-
intent: "subtle",
|
|
594
|
-
type: "button",
|
|
595
|
-
onMousedown: t[0] || (t[0] = ke(() => {
|
|
596
|
-
}, ["prevent"])),
|
|
597
|
-
onClick: oe
|
|
598
|
-
})) : p("", !0),
|
|
599
|
-
tl.value ? (o(), h(ze, {
|
|
600
|
-
key: 1,
|
|
601
|
-
icon: "close",
|
|
602
|
-
size: "sm",
|
|
603
|
-
intent: "subtle",
|
|
604
|
-
type: "button",
|
|
605
|
-
onClick: Ze
|
|
606
|
-
})) : p("", !0),
|
|
607
|
-
x("button", {
|
|
608
|
-
type: "button",
|
|
609
|
-
class: "flex aspect-square items-center justify-center self-stretch text-gray-800",
|
|
610
|
-
onMousedown: t[1] || (t[1] = ke(() => {
|
|
611
|
-
}, ["prevent"])),
|
|
612
|
-
onClick: el
|
|
613
|
-
}, [
|
|
614
|
-
F(Ae, {
|
|
615
|
-
icon: r.value ? "keyboard_arrow_up" : "keyboard_arrow_down",
|
|
616
|
-
size: e.size === "xs" ? "xs" : "sm"
|
|
617
|
-
}, null, 8, ["icon", "size"])
|
|
618
|
-
], 32)
|
|
619
|
-
])
|
|
620
|
-
])
|
|
621
|
-
];
|
|
622
|
-
}),
|
|
623
|
-
_: 2
|
|
624
|
-
}, [
|
|
625
|
-
l.$slots.tooltip ? {
|
|
626
|
-
name: "tooltip",
|
|
627
|
-
fn: I(() => [
|
|
628
|
-
j(l.$slots, "tooltip")
|
|
629
|
-
]),
|
|
630
|
-
key: "0"
|
|
631
|
-
} : void 0,
|
|
632
|
-
Y.value ? {
|
|
633
|
-
name: "input",
|
|
634
|
-
fn: I(() => [
|
|
635
|
-
x("div", {
|
|
636
|
-
class: z(["pointer-events-none absolute inset-0 flex items-center gap-1", Xe.value])
|
|
637
|
-
}, [
|
|
638
|
-
(o(), h(R(Y.value.component.component), D(Ee(Y.value.component.props)), null, 16)),
|
|
639
|
-
Y.value.extraCount > 0 ? (o(), h(S(ue), {
|
|
640
|
-
key: 0,
|
|
641
|
-
variant: e.size === "xs" || e.size === "sm" ? "body-xs" : "body-sm",
|
|
642
|
-
tag: "span",
|
|
643
|
-
weight: "semibold",
|
|
644
|
-
"no-spacing": ""
|
|
645
|
-
}, {
|
|
646
|
-
default: I(() => [
|
|
647
|
-
U(" +" + A(Y.value.extraCount), 1)
|
|
648
|
-
]),
|
|
649
|
-
_: 1
|
|
650
|
-
}, 8, ["variant"])) : p("", !0)
|
|
651
|
-
], 2)
|
|
652
|
-
]),
|
|
653
|
-
key: "1"
|
|
654
|
-
} : void 0,
|
|
655
|
-
ae.value || pe.value || !f ? {
|
|
656
|
-
name: "prefix",
|
|
657
|
-
fn: I(() => {
|
|
658
|
-
var c;
|
|
659
|
-
return [
|
|
660
|
-
x("div", at, [
|
|
661
|
-
te.value ? j(l.$slots, "prefix", {}, void 0, void 0, 0) : H.value ? (o(), h(S(ue), {
|
|
662
|
-
key: 1,
|
|
663
|
-
variant: e.size === "xs" ? "body-xs" : "body-sm",
|
|
664
|
-
tag: "span",
|
|
665
|
-
weight: "semibold"
|
|
666
|
-
}, {
|
|
667
|
-
default: I(() => [
|
|
668
|
-
U(A(e.prefix), 1)
|
|
669
|
-
]),
|
|
670
|
-
_: 1
|
|
671
|
-
}, 8, ["variant"])) : pe.value && ((c = P.value) != null && c.labelPrefixComponent) ? (o(), M("div", nt, [
|
|
672
|
-
(o(), h(R(P.value.labelPrefixComponent.component), D(Ee(P.value.labelPrefixComponent.props)), null, 16))
|
|
673
|
-
])) : f ? p("", !0) : (o(), h(Ae, {
|
|
674
|
-
key: 3,
|
|
675
|
-
icon: "search",
|
|
676
|
-
size: "sm"
|
|
677
|
-
}))
|
|
678
|
-
])
|
|
679
|
-
];
|
|
680
|
-
}),
|
|
681
|
-
key: "2"
|
|
682
|
-
} : void 0,
|
|
683
|
-
l.$slots.helper ? {
|
|
684
|
-
name: "helper",
|
|
685
|
-
fn: I(() => [
|
|
686
|
-
j(l.$slots, "helper")
|
|
687
|
-
]),
|
|
688
|
-
key: "3"
|
|
689
|
-
} : void 0
|
|
690
|
-
]), 1032, ["modelValue", "required", "label", "name", "form", "label-screen-reader-only", "placeholder", "wrapper-class", "input-class", "disabled", "size", "error", "prefix-has-border"])
|
|
691
|
-
], 42, tt),
|
|
692
|
-
e.withChips ? (o(), M("div", it, [
|
|
693
|
-
(o(!0), M(ee, null, Ne(G.value, ({ value: c, label: T }) => (o(), h($l, {
|
|
694
|
-
key: c,
|
|
695
|
-
removable: !Ie(c),
|
|
696
|
-
onRemoved: (_) => Oe({ value: c, checked: !1 })
|
|
697
|
-
}, {
|
|
698
|
-
default: I(() => [
|
|
699
|
-
x("span", { innerHTML: T }, null, 8, ut)
|
|
700
|
-
]),
|
|
701
|
-
_: 2
|
|
702
|
-
}, 1032, ["removable", "onRemoved"]))), 128))
|
|
703
|
-
])) : p("", !0)
|
|
704
|
-
]),
|
|
705
|
-
S(ve) && S(y) ? (o(), h(fl, {
|
|
706
|
-
key: 0,
|
|
707
|
-
to: S(y)
|
|
708
|
-
}, [
|
|
709
|
-
r.value && !e.disabled ? (o(), M("div", {
|
|
710
|
-
key: 0,
|
|
711
|
-
id: Be,
|
|
712
|
-
ref_key: "optionsRef",
|
|
713
|
-
ref: Q,
|
|
714
|
-
role: "listbox",
|
|
715
|
-
style: Re(S(Ye)),
|
|
716
|
-
class: "z-70 overflow-y-auto rounded border border-gray-200 bg-white drop-shadow-md",
|
|
717
|
-
onMouseenter: t[4] || (t[4] = (c) => r.value = !0),
|
|
718
|
-
onKeydown: Qe
|
|
719
|
-
}, [
|
|
720
|
-
x("div", {
|
|
721
|
-
class: "rounded pt-0",
|
|
722
|
-
style: Re({ width: `${S(Je)}px` })
|
|
723
|
-
}, [
|
|
724
|
-
F(et, {
|
|
725
|
-
i18n: {
|
|
726
|
-
addOnly: (u = e.i18n) == null ? void 0 : u.addOnly,
|
|
727
|
-
noResults: (V = e.i18n) == null ? void 0 : V.noResults,
|
|
728
|
-
noOptionsAvailable: (O = e.i18n) == null ? void 0 : O.noOptionsAvailable
|
|
729
|
-
},
|
|
730
|
-
options: _e.value,
|
|
731
|
-
multiple: a.value,
|
|
732
|
-
search: C.value,
|
|
733
|
-
model: L.value,
|
|
734
|
-
"add-only": e.addOnly,
|
|
735
|
-
"allows-multiple-values": !!a.value,
|
|
736
|
-
condensed: e.condensed,
|
|
737
|
-
"has-large-dropdown": e.hasLargeDropdown,
|
|
738
|
-
onValueChanged: Oe
|
|
739
|
-
}, {
|
|
740
|
-
"list-footer-content": I(() => [
|
|
741
|
-
nl ? (o(), h(ge, {
|
|
742
|
-
key: 0,
|
|
743
|
-
intent: "subtle",
|
|
744
|
-
class: "w-full rounded-t-none",
|
|
745
|
-
type: "button",
|
|
746
|
-
"icon-prefix": "add",
|
|
747
|
-
onClick: ol
|
|
748
|
-
}, {
|
|
749
|
-
default: I(() => {
|
|
750
|
-
var c;
|
|
751
|
-
return [
|
|
752
|
-
U(A((c = e.i18n) == null ? void 0 : c.addOption), 1)
|
|
753
|
-
];
|
|
754
|
-
}),
|
|
755
|
-
_: 1
|
|
756
|
-
})) : p("", !0),
|
|
757
|
-
a.value ? (o(), M("div", {
|
|
758
|
-
key: 1,
|
|
759
|
-
class: z(["flex items-center justify-between", { "py-2": !l.$slots["list-footer-content"] }])
|
|
760
|
-
}, [
|
|
761
|
-
Le.value ? (o(), h(ge, {
|
|
762
|
-
key: 0,
|
|
763
|
-
type: "button",
|
|
764
|
-
intent: "subtle",
|
|
765
|
-
size: "xs",
|
|
766
|
-
class: "ml-2",
|
|
767
|
-
onClick: oe
|
|
768
|
-
}, {
|
|
769
|
-
default: I(() => {
|
|
770
|
-
var c;
|
|
771
|
-
return [
|
|
772
|
-
U(A(((c = e.i18n) == null ? void 0 : c.multipleValuesClearButtonText) ?? "Clear"), 1)
|
|
773
|
-
];
|
|
774
|
-
}),
|
|
775
|
-
_: 1
|
|
776
|
-
})) : p("", !0),
|
|
777
|
-
x("div", null, [
|
|
778
|
-
j(l.$slots, "list-footer-content", { close: B })
|
|
779
|
-
]),
|
|
780
|
-
F(ge, {
|
|
781
|
-
type: "button",
|
|
782
|
-
intent: "secondary",
|
|
783
|
-
size: "xs",
|
|
784
|
-
class: "mr-2",
|
|
785
|
-
"data-testid": S(Al),
|
|
786
|
-
onClick: B
|
|
787
|
-
}, {
|
|
788
|
-
default: I(() => {
|
|
789
|
-
var c;
|
|
790
|
-
return [
|
|
791
|
-
U(A(((c = e.i18n) == null ? void 0 : c.multipleValuesDoneButtonText) ?? "Done"), 1)
|
|
792
|
-
];
|
|
793
|
-
}),
|
|
794
|
-
_: 1
|
|
795
|
-
}, 8, ["data-testid"])
|
|
796
|
-
], 2)) : j(l.$slots, "list-footer-content", { close: B }, void 0, void 0, 2)
|
|
797
|
-
]),
|
|
798
|
-
_: 3
|
|
799
|
-
}, 8, ["i18n", "options", "multiple", "search", "model", "add-only", "allows-multiple-values", "condensed", "has-large-dropdown"])
|
|
800
|
-
], 4)
|
|
801
|
-
], 36)) : p("", !0)
|
|
802
|
-
], 8, ["to"])) : p("", !0)
|
|
803
|
-
], 64);
|
|
804
|
-
};
|
|
805
|
-
}
|
|
806
|
-
}), Mt = /* @__PURE__ */ le({
|
|
807
|
-
__name: "CountrySelect",
|
|
808
|
-
props: {
|
|
809
|
-
label: {},
|
|
810
|
-
singleModelValue: {},
|
|
811
|
-
multiModelValue: {},
|
|
812
|
-
error: {},
|
|
813
|
-
required: { type: Boolean, default: !0 },
|
|
814
|
-
hasReset: { type: Boolean },
|
|
815
|
-
disabled: { type: Boolean },
|
|
816
|
-
name: {},
|
|
817
|
-
form: {}
|
|
818
|
-
},
|
|
819
|
-
emits: ["update:modelValue", "update:singleModelValue"],
|
|
820
|
-
setup(e, { emit: b }) {
|
|
821
|
-
const k = e, s = ie(k, "singleModelValue"), n = ie(k, "multiModelValue"), y = b;
|
|
822
|
-
return (i, f) => (o(), h(rt, {
|
|
823
|
-
"multi-model-value": S(n),
|
|
824
|
-
"onUpdate:multiModelValue": f[0] || (f[0] = (a) => De(n) ? n.value = a : null),
|
|
825
|
-
"single-model-value": S(s),
|
|
826
|
-
"onUpdate:singleModelValue": [
|
|
827
|
-
f[1] || (f[1] = (a) => De(s) ? s.value = a : null),
|
|
828
|
-
f[2] || (f[2] = (a) => {
|
|
829
|
-
y("update:modelValue", a);
|
|
830
|
-
})
|
|
831
|
-
],
|
|
832
|
-
"root-class": i.$attrs.class,
|
|
833
|
-
label: e.label,
|
|
834
|
-
options: S(hl).map(({ key: a, value: v }) => ({ label: v, value: a })),
|
|
835
|
-
error: e.error,
|
|
836
|
-
"has-reset": e.hasReset,
|
|
837
|
-
disabled: e.disabled,
|
|
838
|
-
required: e.required,
|
|
839
|
-
"with-chips": !!e.multiModelValue,
|
|
840
|
-
name: e.name,
|
|
841
|
-
form: e.form
|
|
842
|
-
}, {
|
|
843
|
-
"label-suffix": I(() => [
|
|
844
|
-
j(i.$slots, "label-suffix")
|
|
845
|
-
]),
|
|
846
|
-
_: 3
|
|
847
|
-
}, 8, ["multi-model-value", "single-model-value", "root-class", "label", "options", "error", "has-reset", "disabled", "required", "with-chips", "name", "form"]));
|
|
848
|
-
}
|
|
849
|
-
}), dt = { class: "flex grow flex-col" }, $t = /* @__PURE__ */ le({
|
|
850
|
-
__name: "CompanyPurchaseToggle",
|
|
851
|
-
props: /* @__PURE__ */ we({
|
|
852
|
-
noSpacing: { type: Boolean }
|
|
853
|
-
}, {
|
|
854
|
-
modelValue: { type: Boolean, required: !0 },
|
|
855
|
-
modelModifiers: {}
|
|
856
|
-
}),
|
|
857
|
-
emits: ["update:modelValue"],
|
|
858
|
-
setup(e) {
|
|
859
|
-
const b = je(e, "modelValue"), { $t: k } = Fe();
|
|
860
|
-
return (s, n) => (o(), h(S(Vl), {
|
|
861
|
-
modelValue: b.value,
|
|
862
|
-
"onUpdate:modelValue": n[0] || (n[0] = (y) => b.value = y),
|
|
863
|
-
"no-spacing": e.noSpacing,
|
|
864
|
-
"label-position": "before"
|
|
865
|
-
}, {
|
|
866
|
-
"inline-label": I(() => [
|
|
867
|
-
x("div", dt, [
|
|
868
|
-
F(S(ue), { tag: "span" }, {
|
|
869
|
-
default: I(() => [
|
|
870
|
-
U(A(S(k)({
|
|
871
|
-
defaultMessage: "Company purchase",
|
|
872
|
-
id: "checkout.company_purchase_toggle.title",
|
|
873
|
-
description: "The title of the company purchase toggle in the checkout"
|
|
874
|
-
})), 1)
|
|
875
|
-
]),
|
|
876
|
-
_: 1
|
|
877
|
-
}),
|
|
878
|
-
F(S(ue), {
|
|
879
|
-
tag: "span",
|
|
880
|
-
variant: "body-xs",
|
|
881
|
-
color: "subtle"
|
|
882
|
-
}, {
|
|
883
|
-
default: I(() => [
|
|
884
|
-
U(A(S(k)({
|
|
885
|
-
defaultMessage: "I am purchasing on behalf of a company",
|
|
886
|
-
id: "checkout.company_purchase_toggle.sub_title",
|
|
887
|
-
description: "The subtitle of the company purchase toggle in the checkout"
|
|
888
|
-
})), 1)
|
|
889
|
-
]),
|
|
890
|
-
_: 1
|
|
891
|
-
})
|
|
892
|
-
])
|
|
893
|
-
]),
|
|
894
|
-
_: 1
|
|
895
|
-
}, 8, ["modelValue", "no-spacing"]));
|
|
896
|
-
}
|
|
897
|
-
});
|
|
898
|
-
function It() {
|
|
899
|
-
const { $t: e } = Fe();
|
|
900
|
-
return {
|
|
901
|
-
contactInformationTitle: e({
|
|
902
|
-
defaultMessage: "Customer information",
|
|
903
|
-
id: "checkout.contact_information_block.title",
|
|
904
|
-
description: "The title of the contact information block in the checkout form"
|
|
905
|
-
}),
|
|
906
|
-
emailLabel: e({
|
|
907
|
-
defaultMessage: "Email address",
|
|
908
|
-
id: "checkout.email_address.label",
|
|
909
|
-
description: "The email address of the customer in the checkout form"
|
|
910
|
-
}),
|
|
911
|
-
emailPlaceholder: e({
|
|
912
|
-
defaultMessage: "Email address...",
|
|
913
|
-
id: "checkout.email_address.placeholder",
|
|
914
|
-
description: "The email address of the customer in the checkout form"
|
|
915
|
-
}),
|
|
916
|
-
countryLabel: e({
|
|
917
|
-
defaultMessage: "Billing country",
|
|
918
|
-
id: "checkout.country.label",
|
|
919
|
-
description: "The country of the customer in the checkout form"
|
|
920
|
-
}),
|
|
921
|
-
vatNumberLabel: e({
|
|
922
|
-
defaultMessage: "VAT number",
|
|
923
|
-
id: "checkout.vat_number.label",
|
|
924
|
-
description: "The label for the vat number in the checkout form"
|
|
925
|
-
}),
|
|
926
|
-
vatNumberPlaceholder: e({
|
|
927
|
-
defaultMessage: "VAT number...",
|
|
928
|
-
id: "checkout.vat_number.placeholder",
|
|
929
|
-
description: "The label for the vat number in the checkout form"
|
|
930
|
-
}),
|
|
931
|
-
legalNameLabel: e({
|
|
932
|
-
defaultMessage: "Legal entity name",
|
|
933
|
-
id: "checkout.legal_name.label",
|
|
934
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
935
|
-
}),
|
|
936
|
-
legalNamePlaceholder: e({
|
|
937
|
-
defaultMessage: "Legal entity name...",
|
|
938
|
-
id: "checkout.legal_name.placeholder",
|
|
939
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
940
|
-
}),
|
|
941
|
-
addressTitle: e({
|
|
942
|
-
defaultMessage: "Billing address",
|
|
943
|
-
id: "checkout.address.title",
|
|
944
|
-
description: "Address line 1 of the customer address in the checkout form"
|
|
945
|
-
}),
|
|
946
|
-
postalCodePlaceholder: e({
|
|
947
|
-
defaultMessage: "Postal code...",
|
|
948
|
-
id: "checkout.address.portal_code.placeholder",
|
|
949
|
-
description: "Postal code of the customer address in the checkout form"
|
|
950
|
-
}),
|
|
951
|
-
cityPlaceholder: e({
|
|
952
|
-
defaultMessage: "City...",
|
|
953
|
-
id: "checkout.address.city.placeholder",
|
|
954
|
-
description: "City of the customer address in the checkout form"
|
|
955
|
-
}),
|
|
956
|
-
statePlaceholder: e({
|
|
957
|
-
defaultMessage: "State...",
|
|
958
|
-
id: "checkout.address.state.placeholder",
|
|
959
|
-
description: "State of the customer address in the checkout form"
|
|
960
|
-
})
|
|
961
|
-
};
|
|
962
|
-
}
|
|
963
|
-
export {
|
|
964
|
-
Mt as _,
|
|
965
|
-
$t as a,
|
|
966
|
-
St as o,
|
|
967
|
-
It as u
|
|
968
|
-
};
|