@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.22
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/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs +223 -0
- package/dist/Amount.vue.es-DExaYBqm.js +1 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/Avatar.vue.es-D42J_izE.js +1 -0
- package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
- package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
- package/dist/Button.vue.es-M_jXZda4.js +1 -0
- package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
- package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
- package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
- package/dist/Chip.vue.es-G8doKsZb.js +1 -0
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
- package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
- package/dist/ContextMenu.vue.es-B3Rz6Ojk.js +1 -0
- package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
- package/dist/DividerText.vue.es-D-QxT2OD.js +1 -0
- package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
- package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
- package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
- package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
- package/dist/IconButton.vue.es-BTAkuFsm.js +1 -0
- package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
- package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
- package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
- package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
- package/dist/Input.vue.es-CTOrmrcB.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
- package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
- package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
- package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
- package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
- package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
- package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
- package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
- package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
- package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
- package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
- package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
- package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
- package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
- package/dist/Section.vue.es-Btff-cLY.js +1 -0
- package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
- package/dist/SubscriptionSchedules-Dc0rUnnf.mjs +4 -0
- package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
- package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
- package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
- package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
- package/dist/TrialChip.vue.es-DkBuMNr_.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/accel.svg.es-DFJXdioD.js +1 -0
- package/dist/ach.svg.es-BYP873jU.js +1 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/adyen-BJfC7N6f.js +1 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-CvsH5fok.mjs +117 -0
- package/dist/adyen-Druit6gz.js +1 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/adyenSdk-BP2XXzeJ.js +1 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
- package/dist/amex.svg.es-DKhW4Txt.js +1 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/api.es-duCDtZD9.js +1 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/carnet.svg.es-DY04-F2L.js +1 -0
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
- package/dist/cn.es-CvmLj7KH.js +1 -0
- package/dist/comparators.es-D8WGL-c4.mjs +153 -0
- package/dist/comparators.es-OGt19O9U.js +1 -0
- package/dist/component-5wqcK7yz.mjs +8 -0
- package/dist/component-B7ZDyqBp.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +372 -430
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +89 -104
- package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
- package/dist/countryData.es-C4jHBzfo.js +1 -0
- package/dist/customElements-CSE7dwUr.mjs +6561 -0
- package/dist/customElements-Vox1PB6G.js +1211 -0
- package/dist/customer-5krPxZ8i.mjs +31 -0
- package/dist/customer-Dsq-Moea.js +1 -0
- package/dist/customer.es-B5ppZf0j.mjs +20 -0
- package/dist/customer.es-BButyYo0.js +1 -0
- package/dist/dana.svg.es-BDtZLpwd.js +1 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/dankort.svg.es-CksaipXF.js +1 -0
- package/dist/{de-DE-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
- package/dist/de-DE-C3DzP1nj.js +1 -0
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
- package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/discover.svg.es-DgqWCMUM.js +1 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
- package/dist/elo.svg.es-C-BzjuRP.js +1 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
- package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
- package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
- package/dist/en-US-X_pSFsNm.js +1 -0
- package/dist/eps.svg.es-B_85bP-W.js +1 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/error-BHVZJGwD.mjs +13 -0
- package/dist/error-CmduqgVq.js +1 -0
- package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
- package/dist/formatting.es-C72Nsrmh.js +1 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getComposedString.es-haS4bAj7.js +1 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
- package/dist/girocard.svg.es-HSOEvDif.js +1 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
- package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
- package/dist/ideal.svg.es-Booz1IML.js +1 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-BPU8tIml.mjs +828 -0
- package/dist/index-BPZPnOQQ.js +7 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index-DwueOtPi.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +40 -40
- package/dist/invoices-DRgfpkJ6.mjs +118 -0
- package/dist/invoices-xOV2YaEV.js +1 -0
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
- package/dist/it-IT-DT3rfjOY.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
- package/dist/it-IT-YBtHAao1.js +1 -0
- package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
- package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
- package/dist/momo.svg.es-C5aLYf_R.js +1 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-C8wnyKju.js +1 -0
- package/dist/nl-NL-DfkhOJKc.js +1 -0
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
- package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
- package/dist/nyce.svg.es-ArAivAZW.js +1 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/object.es-CdriXMPs.js +1 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
- package/dist/paymentMethods-CRDIw9lz.js +1 -0
- package/dist/paymentMethods-PmkHYomw.mjs +75 -0
- package/dist/payments-Dvqh6CGW.mjs +45 -0
- package/dist/payments-jAgXhdp_.js +1 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
- package/dist/pricing-BVAld27Y.js +1 -0
- package/dist/pricing-DLOeiAIB.mjs +16 -0
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
- package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
- package/dist/pulse.svg.es-Dit33E8S.js +1 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +3 -5237
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
- package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/slots.es-T9ZJRGtG.js +1 -0
- package/dist/sorting.es-DCihKqD2.mjs +77 -0
- package/dist/sorting.es-DQsjKr8A.js +1 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/star.svg.es-D2JncY7b.js +1 -0
- package/dist/subscription-CrVOr5MF.mjs +69 -0
- package/dist/subscription-ZA62t4E9.js +1 -0
- package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
- package/dist/subscriptions-fJcj88X9.js +1 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/trustly.svg.es-GJByiFAs.js +1 -0
- package/dist/twint.svg.es-BJ2f48og.js +1 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/typeGuards.es-DS3vZaJn.js +1 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/url-BNKStNY9.js +1 -0
- package/dist/url-DwiuKYpu.mjs +20 -0
- package/dist/useActionDispatchProvider-B8-oycQk.mjs +11 -0
- package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
- package/dist/useCustomer-CP8eWUZV.mjs +20 -0
- package/dist/useCustomer-DSx-wN-6.js +1 -0
- package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
- package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
- package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
- package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-CRRPdXc6.js +1 -0
- package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
- package/dist/useInvoicesList-DIfQcvER.js +1 -0
- package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
- package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
- package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
- package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
- package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
- package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
- package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
- package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
- package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
- package/dist/usePayments-D9Eo-uBk.js +1 -0
- package/dist/usePayments-Gx9kBvNB.mjs +318 -0
- package/dist/usePortal-3VCZwSUE.mjs +11 -0
- package/dist/usePortal-DsebXdhx.js +1 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-DnL1wVh1.mjs +210 -0
- package/dist/useSubscription-K_gP9TeX.js +1 -0
- package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
- package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -0
- package/dist/useViewport-BgdA2PPt.mjs +29 -0
- package/dist/useViewport-hPRVDWCm.js +1 -0
- package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
- package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/visa.svg.es-NY3BHhda.js +1 -0
- package/dist/vpay.svg.es-VViQi42w.js +1 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-CNIMW5ay.js +1 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-C9S_F31W.js +1 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +3 -3
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
- package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
- package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
- package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
- package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
- package/dist/Button.vue.es-O8mNivLL.js +0 -1
- package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
- package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
- package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
- package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
- package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
- package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
- package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
- package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
- package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
- package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
- package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
- package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
- package/dist/Input.vue.es-DqKJhFTr.js +0 -1
- package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
- package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
- package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
- package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
- package/dist/Section.vue.es-CAJvEDn6.js +0 -1
- package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
- package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
- package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
- package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
- package/dist/ach.svg.es-B4tn0_IV.js +0 -1
- package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
- package/dist/adyen-51SvcyqV.mjs +0 -4
- package/dist/adyen-BXi_D9TQ.mjs +0 -123
- package/dist/adyen-DZsyEXkw.js +0 -1
- package/dist/adyen-VS2sDW0m.js +0 -1
- package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
- package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
- package/dist/amex.svg.es-Bn9e31C3.js +0 -1
- package/dist/api.es-C5pe8LUl.mjs +0 -62
- package/dist/api.es-Czekkp_X.js +0 -1
- package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
- package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
- package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
- package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
- package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
- package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
- package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
- package/dist/cn.es-DxSeYcoP.js +0 -1
- package/dist/comparators.es-9VsCB-JI.mjs +0 -175
- package/dist/comparators.es-wrKHduVq.js +0 -1
- package/dist/component-BG6DmXcy.mjs +0 -9
- package/dist/component-hDuDTBt5.js +0 -1
- package/dist/configuration-BjYwV4_B.js +0 -1
- package/dist/configuration-CD8cOXAJ.mjs +0 -15
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customElements-B-89a5oH.mjs +0 -6810
- package/dist/customElements-DD7bpqkx.js +0 -1
- package/dist/customer-DozNwS_a.js +0 -1
- package/dist/customer-Dzj1g9lV.mjs +0 -32
- package/dist/customer.es-C_vSWcVA.mjs +0 -30
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
- package/dist/dana.svg.es-DKZaseoJ.js +0 -1
- package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
- package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
- package/dist/de-DE-BvHD68Ay.js +0 -1
- package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
- package/dist/diners.svg.es-SydF_H-Z.js +0 -1
- package/dist/discover.svg.es-B8vgzVNG.js +0 -1
- package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
- package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
- package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
- package/dist/elo.svg.es-CTOm1rvj.js +0 -1
- package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
- package/dist/en-US-dqfKx3GS.js +0 -1
- package/dist/eps.svg.es-CApyGjyU.js +0 -1
- package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
- package/dist/error-Cg-i7gGl.js +0 -1
- package/dist/error-DY_I2hPx.mjs +0 -13
- package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
- package/dist/formatting.es-DBtYnvI5.js +0 -1
- package/dist/formatting.es-eYgXv_AK.mjs +0 -70
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
- package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
- package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
- package/dist/getComposedString.es-DvSNX-_z.js +0 -1
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
- package/dist/girocard.svg.es-tVgtT23w.js +0 -1
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
- package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
- package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
- package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
- package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
- package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
- package/dist/index-Cai7laNY.mjs +0 -1069
- package/dist/index-DIFK3mcJ.js +0 -6
- package/dist/index-DyvRdSR7.mjs +0 -9673
- package/dist/index-IZaUTAsE.js +0 -1
- package/dist/index.es-2JWHHSgP.js +0 -1
- package/dist/index.es-D5xOw_SJ.mjs +0 -542
- package/dist/invoices-1oYkdQQV.mjs +0 -121
- package/dist/invoices-BAoh6X2a.js +0 -1
- package/dist/it-IT-CEP3oeWs.js +0 -1
- package/dist/it-IT-aPQY57ht.js +0 -1
- package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
- package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
- package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
- package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
- package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
- package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
- package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
- package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
- package/dist/momo.svg.es-BXTQlQRy.js +0 -1
- package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
- package/dist/nl-NL-e_vf6OuT.js +0 -1
- package/dist/nl-NL-zRUAuEHg.js +0 -1
- package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
- package/dist/nyce.svg.es-DM6esO47.js +0 -1
- package/dist/object.es-DFXiU9p3.js +0 -1
- package/dist/object.es-jvvnR8Kr.mjs +0 -12
- package/dist/open-banking.svg.es-DUM360xB.js +0 -1
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
- package/dist/paymentMethods-CZ3ydybI.js +0 -1
- package/dist/paymentMethods-DIV78w0O.mjs +0 -78
- package/dist/payments--lkjiwCt.js +0 -1
- package/dist/payments-Cvqdrprv.mjs +0 -47
- package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
- package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
- package/dist/pricing-3W7XLwL6.js +0 -1
- package/dist/pricing-CJxS2hr2.mjs +0 -17
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
- package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
- package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
- package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
- package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
- package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
- package/dist/slots.es-BpwYO3A3.mjs +0 -18
- package/dist/slots.es-Dq1PTUOv.js +0 -1
- package/dist/sorting.es-CjTrRfSW.mjs +0 -105
- package/dist/sorting.es-RyvcgbSL.js +0 -1
- package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
- package/dist/star.svg.es-Q50IzqXr.js +0 -1
- package/dist/subscription-C41lG-rH.mjs +0 -89
- package/dist/subscription-b0OPx8Du.js +0 -1
- package/dist/subscriptions-300o4ae0.js +0 -1
- package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
- package/dist/trustly.svg.es-CHojqNqm.js +0 -1
- package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
- package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
- package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
- package/dist/url-CjULBkjW.js +0 -1
- package/dist/url-CvNDq4wp.mjs +0 -22
- package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
- package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
- package/dist/useCustomer-DLHOs4BR.js +0 -1
- package/dist/useCustomer-EDhref7T.mjs +0 -25
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
- package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
- package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
- package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
- package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
- package/dist/useInvoiceData-BSjVeJrI.js +0 -1
- package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
- package/dist/useInvoicesList-BRDZqsaB.js +0 -1
- package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
- package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
- package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
- package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
- package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
- package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
- package/dist/usePayments-CANj0QVc.js +0 -1
- package/dist/usePayments-CaT1CBzE.mjs +0 -362
- package/dist/usePortal-BjGoSeLy.js +0 -1
- package/dist/usePortal-CMPQ0M9R.mjs +0 -12
- package/dist/useService-D73FNBjT.js +0 -1
- package/dist/useService-W3Kxems4.mjs +0 -72
- package/dist/useSubscription-D1UKnZAx.mjs +0 -250
- package/dist/useSubscription-DZfRHbL7.js +0 -1
- package/dist/useViewport-Bu0cyeSi.mjs +0 -38
- package/dist/useViewport-CKRY1CKR.js +0 -1
- package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
- package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
- package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
- package/dist/visa.svg.es-D6sc4YTE.js +0 -1
- package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
- package/dist/vpay.svg.es-CLGTyB09.js +0 -1
- package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
- package/dist/zip.svg.es-BRsgmur-.js +0 -1
|
@@ -1,1168 +0,0 @@
|
|
|
1
|
-
import { i as isEmpty, d as deepEqual, a as isEqual } from "./useService-W3Kxems4.mjs";
|
|
2
|
-
import { openBlock, createElementBlock, createElementVNode, renderSlot, defineComponent, computed, withKeys, withModifiers, normalizeClass, Fragment, mergeProps, createBlock, resolveDynamicComponent, normalizeProps, createCommentVNode, createVNode, unref, toDisplayString, renderList, withCtx, createTextVNode, inject, getCurrentInstance, ref, watch, useModel, useSlots, createSlots, guardReactiveProps, Teleport, normalizeStyle, mergeModels, isRef } from "vue";
|
|
3
|
-
import { u as useVModel, d as useElementSize, c as useEventListener } from "./index.es-D5xOw_SJ.mjs";
|
|
4
|
-
import { c as countryData } from "./countryData.es--zJAd6LA.mjs";
|
|
5
|
-
import { _ as _export_sfc, u as useFloating, a as autoUpdate, o as offset, f as flip, s as shift, b as size } from "./floating-ui.vue.es-DWY7pdz8.mjs";
|
|
6
|
-
import { e as escapeUserInput, _ as _sfc_main$6, s as sortedUniqBy, u as useIsMounted } from "./sorting.es-CjTrRfSW.mjs";
|
|
7
|
-
import { S as SEARCH_SELECT_TELEPORT_TARGET, _ as _sfc_main$9, u as useIntl } from "./customElements-B-89a5oH.mjs";
|
|
8
|
-
import { a as _sfc_main$8 } from "./IconButton.vue.es-KywqWWvr.mjs";
|
|
9
|
-
import { _ as _sfc_main$a, a as _sfc_main$c } from "./Button.vue.es-Cm9pLU9i.mjs";
|
|
10
|
-
import { _ as _sfc_main$b } from "./Chip.vue.es-BBmn-qJp.mjs";
|
|
11
|
-
import { _ as _sfc_main$7 } from "./Input.vue.es-WZGF8dfr.mjs";
|
|
12
|
-
import { _ as _sfc_main$d } from "./index-Cai7laNY.mjs";
|
|
13
|
-
const nullWhenEmpty = (value) => isEmpty(value) && typeof value !== "boolean" ? null : value;
|
|
14
|
-
const isObjectLike = (v) => typeof v === "object" && v !== null;
|
|
15
|
-
const shallowObjectDiff = ({
|
|
16
|
-
from,
|
|
17
|
-
to,
|
|
18
|
-
nullifyEmptyValues = false
|
|
19
|
-
}) => {
|
|
20
|
-
const changes = Object.fromEntries(
|
|
21
|
-
Object.entries(to).filter(([k, v]) => !deepEqual(v, from[k]))
|
|
22
|
-
);
|
|
23
|
-
if (nullifyEmptyValues) {
|
|
24
|
-
return Object.entries(changes).reduce(
|
|
25
|
-
(acc, [key, value]) => ({ ...acc, [key]: nullWhenEmpty(value) }),
|
|
26
|
-
{}
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
return changes;
|
|
30
|
-
};
|
|
31
|
-
const deepObjectDiff = ({
|
|
32
|
-
from,
|
|
33
|
-
to,
|
|
34
|
-
nullifyEmptyValues = false
|
|
35
|
-
}) => {
|
|
36
|
-
const changes = {};
|
|
37
|
-
const buildPath = (path, obj, key) => {
|
|
38
|
-
const origVal = obj[key];
|
|
39
|
-
if (path === void 0) {
|
|
40
|
-
if (Array.isArray(origVal)) {
|
|
41
|
-
changes[key] = [];
|
|
42
|
-
} else if (isObjectLike(origVal)) {
|
|
43
|
-
changes[key] = {};
|
|
44
|
-
}
|
|
45
|
-
} else {
|
|
46
|
-
if (Array.isArray(origVal)) {
|
|
47
|
-
path[key] = [];
|
|
48
|
-
} else if (isObjectLike(origVal)) {
|
|
49
|
-
path[key] = {};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return [path === void 0 ? changes : path, key];
|
|
53
|
-
};
|
|
54
|
-
const walk = (fromObject, toObject, path) => {
|
|
55
|
-
for (const key of Object.keys(fromObject)) {
|
|
56
|
-
const objKeyPair = buildPath(path, fromObject, key);
|
|
57
|
-
if (!(key in toObject)) {
|
|
58
|
-
objKeyPair[0][objKeyPair[1]] = {
|
|
59
|
-
from: fromObject[key]
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
for (const [key, to2] of Object.entries(toObject)) {
|
|
64
|
-
const isLast = key in fromObject;
|
|
65
|
-
const objKeyPair = buildPath(path, fromObject, key);
|
|
66
|
-
if (isLast) {
|
|
67
|
-
const from2 = fromObject[key];
|
|
68
|
-
if (!deepEqual(from2, to2)) {
|
|
69
|
-
if (isObjectLike(to2) && isObjectLike(from2)) {
|
|
70
|
-
walk(from2, to2, objKeyPair[0][objKeyPair[1]]);
|
|
71
|
-
} else {
|
|
72
|
-
objKeyPair[0][objKeyPair[1]] = nullifyEmptyValues && typeof to2 !== "boolean" ? nullWhenEmpty(to2) : to2;
|
|
73
|
-
}
|
|
74
|
-
} else {
|
|
75
|
-
delete objKeyPair[0][objKeyPair[1]];
|
|
76
|
-
}
|
|
77
|
-
} else {
|
|
78
|
-
objKeyPair[0][objKeyPair[1]] = nullifyEmptyValues ? nullWhenEmpty(to2) : to2;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
walk(from, to);
|
|
83
|
-
return changes;
|
|
84
|
-
};
|
|
85
|
-
const objectDiff = ({
|
|
86
|
-
from,
|
|
87
|
-
to,
|
|
88
|
-
mode = "shallow",
|
|
89
|
-
nullifyEmptyValues = false
|
|
90
|
-
}) => mode === "deep" ? deepObjectDiff({ from, to, nullifyEmptyValues }) : shallowObjectDiff({ from, to, nullifyEmptyValues });
|
|
91
|
-
function orderBy(collection, iteratees, orders = []) {
|
|
92
|
-
return [...collection].sort((a, b) => {
|
|
93
|
-
for (let i = 0; i < iteratees.length; i++) {
|
|
94
|
-
const iter = iteratees[i];
|
|
95
|
-
const getter = typeof iter === "function" ? iter : (item) => item[iter];
|
|
96
|
-
const order = orders[i] === "desc" ? -1 : 1;
|
|
97
|
-
const va = getter(a);
|
|
98
|
-
const vb = getter(b);
|
|
99
|
-
if (va == null && vb == null) continue;
|
|
100
|
-
if (va == null) return order;
|
|
101
|
-
if (vb == null) return -order;
|
|
102
|
-
if (va < vb) return -order;
|
|
103
|
-
if (va > vb) return order;
|
|
104
|
-
}
|
|
105
|
-
return 0;
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
const _sfc_main$5 = {};
|
|
109
|
-
const _hoisted_1$4 = { class: "flex items-center pt-1" };
|
|
110
|
-
const _hoisted_2$3 = { class: "px-1.5 text-xs font-semibold text-subtle" };
|
|
111
|
-
function _sfc_render(_ctx, _cache) {
|
|
112
|
-
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
113
|
-
_cache[0] || (_cache[0] = createElementVNode("div", { class: "w-2 border-t" }, null, -1)),
|
|
114
|
-
createElementVNode("span", _hoisted_2$3, [
|
|
115
|
-
renderSlot(_ctx.$slots, "default")
|
|
116
|
-
]),
|
|
117
|
-
_cache[1] || (_cache[1] = createElementVNode("div", { class: "grow border-t" }, null, -1))
|
|
118
|
-
]);
|
|
119
|
-
}
|
|
120
|
-
const SearchSelectInputOptionsDivider = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render]]);
|
|
121
|
-
const getOptionName = (value) => {
|
|
122
|
-
return `checkbox-item-${value}`;
|
|
123
|
-
};
|
|
124
|
-
const DONE_BUTTON_TEST_ID = "select-search-done-button";
|
|
125
|
-
const _hoisted_1$3 = ["aria-selected", "aria-disabled", "data-testid", "onKeydown"];
|
|
126
|
-
const _hoisted_2$2 = ["id", "value", "checked", "disabled"];
|
|
127
|
-
const _hoisted_3$2 = ["for"];
|
|
128
|
-
const _hoisted_4$2 = { class: "flex items-center gap-1" };
|
|
129
|
-
const _hoisted_5$2 = { class: "flex flex-grow flex-col" };
|
|
130
|
-
const _hoisted_6$2 = { class: "flex flex-grow gap-2" };
|
|
131
|
-
const _hoisted_7$1 = { class: "flex flex-grow flex-col" };
|
|
132
|
-
const _hoisted_8$1 = { class: "flex flex-grow items-center gap-2" };
|
|
133
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
134
|
-
__name: "SearchSelectInputOption",
|
|
135
|
-
props: {
|
|
136
|
-
multiple: { type: Boolean },
|
|
137
|
-
search: {},
|
|
138
|
-
condensed: { type: Boolean },
|
|
139
|
-
label: {},
|
|
140
|
-
checked: { type: Boolean },
|
|
141
|
-
disabled: { type: Boolean },
|
|
142
|
-
subLabel: {},
|
|
143
|
-
labelPrefixComponent: {},
|
|
144
|
-
labelSuffixComponent: {},
|
|
145
|
-
labelInlineComponent: {},
|
|
146
|
-
value: {},
|
|
147
|
-
labelSrOnly: { type: Boolean }
|
|
148
|
-
},
|
|
149
|
-
emits: ["value-changed"],
|
|
150
|
-
setup(__props, { emit: __emit }) {
|
|
151
|
-
const emit = __emit;
|
|
152
|
-
const props = __props;
|
|
153
|
-
const handleChange = (event) => {
|
|
154
|
-
const target = event.target;
|
|
155
|
-
const payload = {
|
|
156
|
-
value: target.value,
|
|
157
|
-
checked: target.checked
|
|
158
|
-
};
|
|
159
|
-
emit("value-changed", payload);
|
|
160
|
-
};
|
|
161
|
-
const handleClick = () => {
|
|
162
|
-
if (props.multiple || props.disabled) {
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
emit("value-changed", {
|
|
166
|
-
value: props.value
|
|
167
|
-
});
|
|
168
|
-
};
|
|
169
|
-
const name = computed(() => getOptionName(props.value));
|
|
170
|
-
const escapedSearch = computed(() => escapeUserInput(props.search ?? ""));
|
|
171
|
-
return (_ctx, _cache) => {
|
|
172
|
-
return openBlock(), createElementBlock("li", {
|
|
173
|
-
role: "option",
|
|
174
|
-
"aria-selected": __props.checked,
|
|
175
|
-
"aria-disabled": __props.disabled,
|
|
176
|
-
class: normalizeClass([{ "hover:bg-gray-100": !__props.disabled }, "relative flex"]),
|
|
177
|
-
"data-testid": name.value,
|
|
178
|
-
tabindex: "0",
|
|
179
|
-
onClick: handleClick,
|
|
180
|
-
onKeydown: withKeys(withModifiers(handleClick, ["prevent"]), ["enter"])
|
|
181
|
-
}, [
|
|
182
|
-
__props.multiple ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
183
|
-
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
184
|
-
id: name.value,
|
|
185
|
-
ref: "inputRef",
|
|
186
|
-
value: __props.value,
|
|
187
|
-
checked: __props.checked,
|
|
188
|
-
disabled: __props.disabled,
|
|
189
|
-
type: "checkbox",
|
|
190
|
-
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", __props.disabled ? "text-disabled" : "text-primary-600"],
|
|
191
|
-
tabindex: "-1",
|
|
192
|
-
onChange: handleChange
|
|
193
|
-
}), null, 16, _hoisted_2$2),
|
|
194
|
-
createElementVNode("label", {
|
|
195
|
-
for: name.value,
|
|
196
|
-
class: normalizeClass([__props.disabled ? `text-disabled` : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
|
|
197
|
-
}, [
|
|
198
|
-
createElementVNode("div", _hoisted_4$2, [
|
|
199
|
-
__props.labelPrefixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelPrefixComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelPrefixComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
200
|
-
createElementVNode("div", _hoisted_5$2, [
|
|
201
|
-
createElementVNode("div", _hoisted_6$2, [
|
|
202
|
-
createVNode(_sfc_main$6, {
|
|
203
|
-
text: __props.label,
|
|
204
|
-
search: escapedSearch.value,
|
|
205
|
-
class: normalizeClass(["font-semibold", { "sr-only": __props.labelSrOnly }])
|
|
206
|
-
}, null, 8, ["text", "search", "class"]),
|
|
207
|
-
__props.labelInlineComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelInlineComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelInlineComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
208
|
-
__props.subLabel && __props.condensed ? (openBlock(), createBlock(_sfc_main$6, {
|
|
209
|
-
key: 1,
|
|
210
|
-
class: "text-xs text-secondary",
|
|
211
|
-
text: __props.subLabel,
|
|
212
|
-
search: escapedSearch.value
|
|
213
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
214
|
-
]),
|
|
215
|
-
__props.subLabel && !__props.condensed ? (openBlock(), createBlock(_sfc_main$6, {
|
|
216
|
-
key: 0,
|
|
217
|
-
class: "text-xs text-secondary",
|
|
218
|
-
text: __props.subLabel,
|
|
219
|
-
search: escapedSearch.value
|
|
220
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
221
|
-
]),
|
|
222
|
-
__props.labelSuffixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelSuffixComponent.component), normalizeProps(mergeProps({ key: 1 }, __props.labelSuffixComponent.props)), null, 16)) : createCommentVNode("", true)
|
|
223
|
-
])
|
|
224
|
-
], 10, _hoisted_3$2)
|
|
225
|
-
], 64)) : (openBlock(), createElementBlock("div", {
|
|
226
|
-
key: 1,
|
|
227
|
-
class: normalizeClass(["flex w-full items-center gap-3 px-4 text-sm font-medium", [
|
|
228
|
-
__props.condensed ? "p-2" : "py-3",
|
|
229
|
-
__props.disabled ?? "cursor-not-allowed",
|
|
230
|
-
!__props.disabled && "cursor-pointer"
|
|
231
|
-
]])
|
|
232
|
-
}, [
|
|
233
|
-
__props.labelPrefixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelPrefixComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelPrefixComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
234
|
-
createElementVNode("div", _hoisted_7$1, [
|
|
235
|
-
createElementVNode("div", _hoisted_8$1, [
|
|
236
|
-
createVNode(_sfc_main$6, {
|
|
237
|
-
text: __props.label,
|
|
238
|
-
search: unref(escapeUserInput)(__props.search ?? ""),
|
|
239
|
-
class: normalizeClass(["font-semibold", { "text-disabled": __props.disabled }])
|
|
240
|
-
}, null, 8, ["text", "search", "class"]),
|
|
241
|
-
__props.labelInlineComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelInlineComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelInlineComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
242
|
-
__props.subLabel && __props.condensed ? (openBlock(), createBlock(_sfc_main$6, {
|
|
243
|
-
key: 1,
|
|
244
|
-
class: "text-xs text-secondary",
|
|
245
|
-
text: __props.subLabel,
|
|
246
|
-
search: escapedSearch.value
|
|
247
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
248
|
-
]),
|
|
249
|
-
__props.subLabel && !__props.condensed ? (openBlock(), createBlock(_sfc_main$6, {
|
|
250
|
-
key: 0,
|
|
251
|
-
class: "text-xs text-secondary",
|
|
252
|
-
text: __props.subLabel,
|
|
253
|
-
search: escapedSearch.value
|
|
254
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
255
|
-
]),
|
|
256
|
-
__props.labelSuffixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelSuffixComponent.component), normalizeProps(mergeProps({ key: 1 }, __props.labelSuffixComponent.props)), null, 16)) : createCommentVNode("", true)
|
|
257
|
-
], 2))
|
|
258
|
-
], 42, _hoisted_1$3);
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
const _hoisted_1$2 = { class: "flex flex-col rounded-bl rounded-br" };
|
|
263
|
-
const _hoisted_2$1 = {
|
|
264
|
-
key: 0,
|
|
265
|
-
class: "px-5 py-5 text-sm text-secondary"
|
|
266
|
-
};
|
|
267
|
-
const _hoisted_3$1 = { key: 0 };
|
|
268
|
-
const _hoisted_4$1 = ["innerHTML"];
|
|
269
|
-
const _hoisted_5$1 = { key: 0 };
|
|
270
|
-
const _hoisted_6$1 = { class: "mt-1 px-3 py-2 text-sm text-secondary" };
|
|
271
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
272
|
-
__name: "SearchSelectInputOptions",
|
|
273
|
-
props: {
|
|
274
|
-
i18n: {},
|
|
275
|
-
model: {},
|
|
276
|
-
search: {},
|
|
277
|
-
multiple: { type: Boolean },
|
|
278
|
-
condensed: { type: Boolean },
|
|
279
|
-
hasLargeDropdown: { type: Boolean },
|
|
280
|
-
addOnly: { type: Boolean },
|
|
281
|
-
options: {}
|
|
282
|
-
},
|
|
283
|
-
emits: ["value-changed"],
|
|
284
|
-
setup(__props, { emit: __emit }) {
|
|
285
|
-
const emit = __emit;
|
|
286
|
-
const props = __props;
|
|
287
|
-
const handleChange = (payload) => emit("value-changed", payload);
|
|
288
|
-
const noResultsText = computed(() => {
|
|
289
|
-
var _a, _b;
|
|
290
|
-
const searchTerm = props.search ? `<span class="font-bold">"${escapeUserInput(props.search)}"</span>` : "";
|
|
291
|
-
return ((_b = (_a = props.i18n) == null ? void 0 : _a.noResults) == null ? void 0 : _b.call(_a, searchTerm)) ?? `No matches found for ${searchTerm}.`;
|
|
292
|
-
});
|
|
293
|
-
const isSearchEmpty = computed(() => props.search === "");
|
|
294
|
-
const visibleOptions = computed(() => props.options.filter((option) => !option.hidden));
|
|
295
|
-
const hasVisibleOptions = computed(() => visibleOptions.value.length > 0);
|
|
296
|
-
const showEmptyMessage = computed(() => {
|
|
297
|
-
if (hasVisibleOptions.value) {
|
|
298
|
-
return false;
|
|
299
|
-
}
|
|
300
|
-
if (isSearchEmpty.value) {
|
|
301
|
-
return true;
|
|
302
|
-
}
|
|
303
|
-
return !!noResultsText.value;
|
|
304
|
-
});
|
|
305
|
-
const groups = computed(
|
|
306
|
-
() => sortedUniqBy(props.options, "group").reduce(
|
|
307
|
-
(acc, option) => option.value === "" ? acc : {
|
|
308
|
-
...acc,
|
|
309
|
-
[option.value]: option.group
|
|
310
|
-
},
|
|
311
|
-
{}
|
|
312
|
-
)
|
|
313
|
-
);
|
|
314
|
-
return (_ctx, _cache) => {
|
|
315
|
-
var _a, _b;
|
|
316
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
317
|
-
showEmptyMessage.value ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
318
|
-
isSearchEmpty.value ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(((_a = props.i18n) == null ? void 0 : _a.noOptionsAvailable) ?? "No available options."), 1)) : (openBlock(), createElementBlock("span", {
|
|
319
|
-
key: 1,
|
|
320
|
-
innerHTML: noResultsText.value
|
|
321
|
-
}, null, 8, _hoisted_4$1))
|
|
322
|
-
])) : hasVisibleOptions.value ? (openBlock(), createElementBlock("ul", {
|
|
323
|
-
key: 1,
|
|
324
|
-
class: normalizeClass(["list-none overflow-y-auto", [__props.hasLargeDropdown ? "max-h-[19rem]" : "max-h-48"]])
|
|
325
|
-
}, [
|
|
326
|
-
__props.addOnly ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
327
|
-
createElementVNode("p", _hoisted_6$1, toDisplayString(((_b = __props.i18n) == null ? void 0 : _b.addOnly) ?? "You can only select currently unselected options."), 1)
|
|
328
|
-
])) : createCommentVNode("", true),
|
|
329
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleOptions.value, ({
|
|
330
|
-
label,
|
|
331
|
-
subLabel,
|
|
332
|
-
value,
|
|
333
|
-
checked,
|
|
334
|
-
disabled,
|
|
335
|
-
labelInlineComponent,
|
|
336
|
-
labelSuffixComponent,
|
|
337
|
-
labelSrOnly,
|
|
338
|
-
labelPrefixComponent,
|
|
339
|
-
searchValues
|
|
340
|
-
}) => {
|
|
341
|
-
return openBlock(), createElementBlock(Fragment, { key: value }, [
|
|
342
|
-
groups.value[value] ? (openBlock(), createBlock(SearchSelectInputOptionsDivider, { key: 0 }, {
|
|
343
|
-
default: withCtx(() => [
|
|
344
|
-
createTextVNode(toDisplayString(groups.value[value]), 1)
|
|
345
|
-
]),
|
|
346
|
-
_: 2
|
|
347
|
-
}, 1024)) : createCommentVNode("", true),
|
|
348
|
-
createVNode(_sfc_main$4, {
|
|
349
|
-
label,
|
|
350
|
-
"sub-label": subLabel,
|
|
351
|
-
value,
|
|
352
|
-
checked,
|
|
353
|
-
disabled,
|
|
354
|
-
search: searchValues ? "" : __props.search,
|
|
355
|
-
multiple: __props.multiple,
|
|
356
|
-
condensed: __props.condensed,
|
|
357
|
-
"label-suffix-component": labelSuffixComponent,
|
|
358
|
-
"label-prefix-component": labelPrefixComponent,
|
|
359
|
-
"label-inline-component": labelInlineComponent,
|
|
360
|
-
"label-sr-only": labelSrOnly,
|
|
361
|
-
onValueChanged: handleChange
|
|
362
|
-
}, null, 8, ["label", "sub-label", "value", "checked", "disabled", "search", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-inline-component", "label-sr-only"])
|
|
363
|
-
], 64);
|
|
364
|
-
}), 128))
|
|
365
|
-
], 2)) : createCommentVNode("", true),
|
|
366
|
-
_ctx.$slots["list-footer-content"] ? (openBlock(), createElementBlock("div", {
|
|
367
|
-
key: 2,
|
|
368
|
-
class: normalizeClass({ "border-t border-gray-200": hasVisibleOptions.value })
|
|
369
|
-
}, [
|
|
370
|
-
renderSlot(_ctx.$slots, "list-footer-content")
|
|
371
|
-
], 2)) : createCommentVNode("", true)
|
|
372
|
-
]);
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
});
|
|
376
|
-
const _hoisted_1$1 = { class: "flex flex-col gap-2" };
|
|
377
|
-
const _hoisted_2 = ["aria-expanded"];
|
|
378
|
-
const _hoisted_3 = { class: "flex items-center gap-2" };
|
|
379
|
-
const _hoisted_4 = { key: 2 };
|
|
380
|
-
const _hoisted_5 = { class: "flex items-center gap-2" };
|
|
381
|
-
const _hoisted_6 = { class: "mr-1 flex items-center" };
|
|
382
|
-
const _hoisted_7 = {
|
|
383
|
-
key: 0,
|
|
384
|
-
class: "flex flex-wrap gap-2"
|
|
385
|
-
};
|
|
386
|
-
const _hoisted_8 = ["innerHTML"];
|
|
387
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
388
|
-
__name: "SearchSelectInput",
|
|
389
|
-
props: /* @__PURE__ */ mergeModels({
|
|
390
|
-
addOnly: { type: Boolean, default: false },
|
|
391
|
-
disabled: { type: Boolean },
|
|
392
|
-
i18n: {},
|
|
393
|
-
label: {},
|
|
394
|
-
labelScreenReaderOnly: { type: Boolean },
|
|
395
|
-
singleModelValue: {},
|
|
396
|
-
multiModelValue: {},
|
|
397
|
-
options: { default: () => [] },
|
|
398
|
-
optionsOrder: { default: () => ["asc", "asc"] },
|
|
399
|
-
optionsOrderProperties: { default: () => ["group", "label"] },
|
|
400
|
-
required: { type: Boolean, default: false },
|
|
401
|
-
rootClass: {},
|
|
402
|
-
wrapperClass: {},
|
|
403
|
-
size: { default: "md" },
|
|
404
|
-
withChips: { type: Boolean, default: false },
|
|
405
|
-
error: {},
|
|
406
|
-
hasReset: { type: Boolean },
|
|
407
|
-
name: {},
|
|
408
|
-
hasLargeDropdown: { type: Boolean, default: false },
|
|
409
|
-
showSuffixInClosedInput: { type: Boolean },
|
|
410
|
-
showSuffixLabelInInput: { type: Boolean },
|
|
411
|
-
condensed: { type: Boolean },
|
|
412
|
-
form: {},
|
|
413
|
-
prefix: {}
|
|
414
|
-
}, {
|
|
415
|
-
"search": { default: "" },
|
|
416
|
-
"searchModifiers": {}
|
|
417
|
-
}),
|
|
418
|
-
emits: /* @__PURE__ */ mergeModels(["update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"], ["update:search"]),
|
|
419
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
420
|
-
var _a;
|
|
421
|
-
const props = __props;
|
|
422
|
-
const teleportTarget = inject(SEARCH_SELECT_TELEPORT_TARGET);
|
|
423
|
-
const instanceProps = (_a = getCurrentInstance()) == null ? void 0 : _a.vnode.props;
|
|
424
|
-
const isHandlingSearchInternally = !(instanceProps == null ? void 0 : instanceProps["onUpdate:search"]);
|
|
425
|
-
const allowsMultipleValues = computed(() => Array.isArray(props.multiModelValue));
|
|
426
|
-
const initialValues = ref(props.singleModelValue);
|
|
427
|
-
const emit = __emit;
|
|
428
|
-
const singleModel = useVModel(props, "singleModelValue", emit);
|
|
429
|
-
const multiModel = useVModel(props, "multiModelValue", emit);
|
|
430
|
-
const unappliedMultiModel = ref(multiModel.value ?? []);
|
|
431
|
-
watch(
|
|
432
|
-
() => props.multiModelValue,
|
|
433
|
-
(value) => {
|
|
434
|
-
if (value) unappliedMultiModel.value = value;
|
|
435
|
-
}
|
|
436
|
-
);
|
|
437
|
-
const searchValue = useModel(__props, "search");
|
|
438
|
-
const slots = useSlots();
|
|
439
|
-
const hasPrefixSlot = computed(() => Boolean(slots.prefix));
|
|
440
|
-
const hasPrefixText = computed(() => Boolean(props.prefix));
|
|
441
|
-
const hasCustomPrefix = computed(() => hasPrefixSlot.value || hasPrefixText.value);
|
|
442
|
-
const hasPrefixBorder = computed(() => hasCustomPrefix.value || !hasPrefixComponent.value);
|
|
443
|
-
const derivedModel = computed({
|
|
444
|
-
get: () => {
|
|
445
|
-
if (allowsMultipleValues.value) {
|
|
446
|
-
return unappliedMultiModel.value ?? [];
|
|
447
|
-
}
|
|
448
|
-
if (typeof singleModel.value === "string") {
|
|
449
|
-
return [singleModel.value];
|
|
450
|
-
}
|
|
451
|
-
return [];
|
|
452
|
-
},
|
|
453
|
-
set(value) {
|
|
454
|
-
if (allowsMultipleValues.value) {
|
|
455
|
-
unappliedMultiModel.value = value;
|
|
456
|
-
} else {
|
|
457
|
-
singleModel.value = (value == null ? void 0 : value[0]) ?? "";
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
});
|
|
461
|
-
const selectedOptions = computed(
|
|
462
|
-
() => parsedOptions.value.filter((option) => {
|
|
463
|
-
var _a2;
|
|
464
|
-
return (_a2 = derivedModel.value) == null ? void 0 : _a2.includes(option.value);
|
|
465
|
-
})
|
|
466
|
-
);
|
|
467
|
-
const firstSelectedOption = computed(() => selectedOptions.value[0]);
|
|
468
|
-
const isMounted = useIsMounted();
|
|
469
|
-
const isOpen = ref(false);
|
|
470
|
-
const optionsRef = ref();
|
|
471
|
-
const wrapperRef = ref();
|
|
472
|
-
const inputRef = ref();
|
|
473
|
-
const getFocusableElements = () => {
|
|
474
|
-
if (!optionsRef.value) return [];
|
|
475
|
-
return Array.from(
|
|
476
|
-
optionsRef.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
|
|
477
|
-
);
|
|
478
|
-
};
|
|
479
|
-
const getDeepActiveElement = () => {
|
|
480
|
-
var _a2;
|
|
481
|
-
let active = document.activeElement;
|
|
482
|
-
while ((_a2 = active == null ? void 0 : active.shadowRoot) == null ? void 0 : _a2.activeElement) {
|
|
483
|
-
active = active.shadowRoot.activeElement;
|
|
484
|
-
}
|
|
485
|
-
return active;
|
|
486
|
-
};
|
|
487
|
-
const getInputElement = () => {
|
|
488
|
-
if (!wrapperRef.value) return null;
|
|
489
|
-
let input = wrapperRef.value.querySelector("input");
|
|
490
|
-
if (input) return input;
|
|
491
|
-
const shadowRoots = wrapperRef.value.querySelectorAll("*");
|
|
492
|
-
for (const el of shadowRoots) {
|
|
493
|
-
if (el.shadowRoot) {
|
|
494
|
-
input = el.shadowRoot.querySelector("input");
|
|
495
|
-
if (input) return input;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
return null;
|
|
499
|
-
};
|
|
500
|
-
let isRestoringFocus = false;
|
|
501
|
-
const restoreInputFocus = () => {
|
|
502
|
-
var _a2;
|
|
503
|
-
isRestoringFocus = true;
|
|
504
|
-
(_a2 = getInputElement()) == null ? void 0 : _a2.focus();
|
|
505
|
-
isRestoringFocus = false;
|
|
506
|
-
};
|
|
507
|
-
const handleInputFocus = () => {
|
|
508
|
-
if (isRestoringFocus) return;
|
|
509
|
-
isOpen.value = true;
|
|
510
|
-
};
|
|
511
|
-
const handleInputClick = (event) => {
|
|
512
|
-
if (event.target !== getInputElement()) return;
|
|
513
|
-
isOpen.value = true;
|
|
514
|
-
};
|
|
515
|
-
const handleWrapperKeyDown = (event) => {
|
|
516
|
-
var _a2;
|
|
517
|
-
if (!isOpen.value) return;
|
|
518
|
-
const focusableElements = getFocusableElements();
|
|
519
|
-
const input = getInputElement();
|
|
520
|
-
const activeElement = getDeepActiveElement();
|
|
521
|
-
const isInputFocused = activeElement === input;
|
|
522
|
-
if (!isInputFocused) return;
|
|
523
|
-
switch (event.key) {
|
|
524
|
-
case "ArrowDown":
|
|
525
|
-
if (focusableElements.length > 0) {
|
|
526
|
-
event.preventDefault();
|
|
527
|
-
(_a2 = focusableElements[0]) == null ? void 0 : _a2.focus();
|
|
528
|
-
}
|
|
529
|
-
break;
|
|
530
|
-
case "Tab":
|
|
531
|
-
close();
|
|
532
|
-
searchValue.value = "";
|
|
533
|
-
break;
|
|
534
|
-
case "Escape":
|
|
535
|
-
event.preventDefault();
|
|
536
|
-
close();
|
|
537
|
-
searchValue.value = "";
|
|
538
|
-
break;
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
const handleOptionsKeyDown = (event) => {
|
|
542
|
-
var _a2, _b, _c;
|
|
543
|
-
const focusableElements = getFocusableElements();
|
|
544
|
-
const activeElement = getDeepActiveElement();
|
|
545
|
-
const currentIndex = focusableElements.indexOf(activeElement);
|
|
546
|
-
const input = getInputElement();
|
|
547
|
-
switch (event.key) {
|
|
548
|
-
case "ArrowDown":
|
|
549
|
-
if (currentIndex < focusableElements.length - 1) {
|
|
550
|
-
event.preventDefault();
|
|
551
|
-
(_a2 = focusableElements[currentIndex + 1]) == null ? void 0 : _a2.focus();
|
|
552
|
-
}
|
|
553
|
-
break;
|
|
554
|
-
case "ArrowUp":
|
|
555
|
-
event.preventDefault();
|
|
556
|
-
if (currentIndex <= 0) {
|
|
557
|
-
input == null ? void 0 : input.focus();
|
|
558
|
-
} else {
|
|
559
|
-
(_b = focusableElements[currentIndex - 1]) == null ? void 0 : _b.focus();
|
|
560
|
-
}
|
|
561
|
-
break;
|
|
562
|
-
case "Tab":
|
|
563
|
-
event.preventDefault();
|
|
564
|
-
if (event.shiftKey && currentIndex > 0) {
|
|
565
|
-
(_c = focusableElements[currentIndex - 1]) == null ? void 0 : _c.focus();
|
|
566
|
-
break;
|
|
567
|
-
}
|
|
568
|
-
close();
|
|
569
|
-
searchValue.value = "";
|
|
570
|
-
restoreInputFocus();
|
|
571
|
-
break;
|
|
572
|
-
case "Escape":
|
|
573
|
-
event.preventDefault();
|
|
574
|
-
close();
|
|
575
|
-
searchValue.value = "";
|
|
576
|
-
restoreInputFocus();
|
|
577
|
-
break;
|
|
578
|
-
}
|
|
579
|
-
};
|
|
580
|
-
const { floatingStyles } = useFloating(wrapperRef, optionsRef, {
|
|
581
|
-
whileElementsMounted: autoUpdate,
|
|
582
|
-
placement: "bottom",
|
|
583
|
-
middleware: [
|
|
584
|
-
offset(4),
|
|
585
|
-
flip({
|
|
586
|
-
mainAxis: true
|
|
587
|
-
}),
|
|
588
|
-
shift({ padding: 8 }),
|
|
589
|
-
size({
|
|
590
|
-
padding: 8,
|
|
591
|
-
apply({ availableHeight, elements }) {
|
|
592
|
-
Object.assign(elements.floating.style, {
|
|
593
|
-
maxHeight: `${availableHeight}px`
|
|
594
|
-
});
|
|
595
|
-
}
|
|
596
|
-
})
|
|
597
|
-
]
|
|
598
|
-
});
|
|
599
|
-
const { width } = useElementSize(wrapperRef);
|
|
600
|
-
const isDisabled = (value) => {
|
|
601
|
-
var _a2;
|
|
602
|
-
return props.disabled || !props.disabled && props.addOnly && !!((_a2 = initialValues.value) == null ? void 0 : _a2.includes(value));
|
|
603
|
-
};
|
|
604
|
-
const parsedOptions = computed(() => {
|
|
605
|
-
const options = props.options.map((option) => ({
|
|
606
|
-
...option,
|
|
607
|
-
checked: derivedModel.value.includes(option.value),
|
|
608
|
-
disabled: option.disabled ?? isDisabled(option.value)
|
|
609
|
-
}));
|
|
610
|
-
const optionsWithSelectedItem = [
|
|
611
|
-
...options,
|
|
612
|
-
...searchValue.value.length === 0 && memoryCachedSelectedOptions.value ? memoryCachedSelectedOptions.value.filter(
|
|
613
|
-
(selectedOption) => !options.some((option) => option.value === selectedOption.value)
|
|
614
|
-
) : []
|
|
615
|
-
];
|
|
616
|
-
return props.optionsOrderProperties && !isEmpty(props.optionsOrderProperties) ? orderBy(optionsWithSelectedItem, props.optionsOrderProperties, props.optionsOrder) : optionsWithSelectedItem;
|
|
617
|
-
});
|
|
618
|
-
const getSelectedItems = (selectedValue) => parsedOptions.value.filter((option) => selectedValue.some((value) => option.value === value));
|
|
619
|
-
const selectedItems = computed(() => getSelectedItems(derivedModel.value));
|
|
620
|
-
const firstSelectedItem = computed(() => selectedItems.value[0]);
|
|
621
|
-
const selectedSuffixInClosedInput = computed(() => {
|
|
622
|
-
var _a2;
|
|
623
|
-
if (isOpen.value || !props.showSuffixInClosedInput) {
|
|
624
|
-
return void 0;
|
|
625
|
-
}
|
|
626
|
-
if (allowsMultipleValues.value && selectedItems.value.length !== 1) {
|
|
627
|
-
return void 0;
|
|
628
|
-
}
|
|
629
|
-
return (_a2 = firstSelectedItem.value) == null ? void 0 : _a2.labelSuffixComponent;
|
|
630
|
-
});
|
|
631
|
-
const memoryCachedSelectedOptions = ref([]);
|
|
632
|
-
const handleChange = ({
|
|
633
|
-
value,
|
|
634
|
-
checked
|
|
635
|
-
}) => {
|
|
636
|
-
let updatedValue;
|
|
637
|
-
if (allowsMultipleValues.value) {
|
|
638
|
-
updatedValue = checked ? [...derivedModel.value, value] : derivedModel.value.filter((selectedValue) => selectedValue !== value);
|
|
639
|
-
} else {
|
|
640
|
-
updatedValue = [value];
|
|
641
|
-
isOpen.value = false;
|
|
642
|
-
searchValue.value = "";
|
|
643
|
-
restoreInputFocus();
|
|
644
|
-
}
|
|
645
|
-
memoryCachedSelectedOptions.value = getSelectedItems(updatedValue);
|
|
646
|
-
derivedModel.value = updatedValue;
|
|
647
|
-
emit("change");
|
|
648
|
-
};
|
|
649
|
-
const canReset = computed(
|
|
650
|
-
() => derivedModel.value.length > 0 && !props.disabled && !(derivedModel.value.length === 1 && derivedModel.value[0] === "")
|
|
651
|
-
);
|
|
652
|
-
const reset = () => {
|
|
653
|
-
derivedModel.value = [];
|
|
654
|
-
unappliedMultiModel.value = [];
|
|
655
|
-
};
|
|
656
|
-
const handleClear = () => {
|
|
657
|
-
searchValue.value = "";
|
|
658
|
-
};
|
|
659
|
-
const filteredOptions = computed(() => {
|
|
660
|
-
if (!isHandlingSearchInternally) {
|
|
661
|
-
return parsedOptions.value;
|
|
662
|
-
}
|
|
663
|
-
return parsedOptions.value.filter((option) => {
|
|
664
|
-
const escapedUserInput = escapeUserInput(searchValue.value.toLowerCase());
|
|
665
|
-
if (option.searchValues) {
|
|
666
|
-
return option.searchValues.some(
|
|
667
|
-
(value) => value.toLowerCase().match(escapedUserInput)
|
|
668
|
-
);
|
|
669
|
-
}
|
|
670
|
-
return (option.label ?? "").toLowerCase().match(escapedUserInput);
|
|
671
|
-
});
|
|
672
|
-
});
|
|
673
|
-
const close = () => {
|
|
674
|
-
if (allowsMultipleValues.value) {
|
|
675
|
-
multiModel.value = unappliedMultiModel.value;
|
|
676
|
-
}
|
|
677
|
-
isOpen.value = false;
|
|
678
|
-
};
|
|
679
|
-
const toggleOpen = () => {
|
|
680
|
-
var _a2;
|
|
681
|
-
if (isOpen.value) {
|
|
682
|
-
close();
|
|
683
|
-
searchValue.value = "";
|
|
684
|
-
} else {
|
|
685
|
-
isOpen.value = true;
|
|
686
|
-
(_a2 = getInputElement()) == null ? void 0 : _a2.focus();
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
watch(unappliedMultiModel, () => {
|
|
690
|
-
if (!isOpen.value && !isEqual(multiModel.value, unappliedMultiModel.value) && allowsMultipleValues.value) {
|
|
691
|
-
multiModel.value = unappliedMultiModel.value;
|
|
692
|
-
}
|
|
693
|
-
});
|
|
694
|
-
const handleClickOutside = (event) => {
|
|
695
|
-
const path = event.composedPath();
|
|
696
|
-
if (optionsRef.value && path.includes(optionsRef.value) || wrapperRef.value && path.includes(wrapperRef.value)) {
|
|
697
|
-
return;
|
|
698
|
-
}
|
|
699
|
-
if (isOpen.value) {
|
|
700
|
-
close();
|
|
701
|
-
searchValue.value = "";
|
|
702
|
-
}
|
|
703
|
-
};
|
|
704
|
-
useEventListener("mousedown", handleClickOutside);
|
|
705
|
-
const placeholder = computed(() => {
|
|
706
|
-
var _a2, _b, _c, _d, _e, _f;
|
|
707
|
-
if (allowsMultipleValues.value && isOpen.value) {
|
|
708
|
-
return ((_a2 = props.i18n) == null ? void 0 : _a2.placeholderSearch) ?? "Search";
|
|
709
|
-
}
|
|
710
|
-
if (allowsMultipleValues.value && selectedItems.value.length === 1) {
|
|
711
|
-
return (_b = firstSelectedItem.value) == null ? void 0 : _b.label;
|
|
712
|
-
}
|
|
713
|
-
if (allowsMultipleValues.value && selectedItems.value.length >= 2) {
|
|
714
|
-
return `${(_c = firstSelectedItem.value) == null ? void 0 : _c.label} +${selectedItems.value.length - 1}`;
|
|
715
|
-
}
|
|
716
|
-
if (!singleModel.value && !firstSelectedItem.value) {
|
|
717
|
-
return ((_d = props.i18n) == null ? void 0 : _d.placeholderDefault) ?? "Select an option";
|
|
718
|
-
} else if (isOpen.value) {
|
|
719
|
-
return ((_e = props.i18n) == null ? void 0 : _e.placeholderSearch) ?? "Search";
|
|
720
|
-
}
|
|
721
|
-
if (!props.singleModelValue && !firstSelectedItem.value) {
|
|
722
|
-
return "";
|
|
723
|
-
}
|
|
724
|
-
return (_f = parsedOptions.value.find((option) => {
|
|
725
|
-
var _a3;
|
|
726
|
-
return option.value === ((_a3 = firstSelectedOption.value) == null ? void 0 : _a3.value);
|
|
727
|
-
})) == null ? void 0 : _f.label;
|
|
728
|
-
});
|
|
729
|
-
const isSearchEmpty = computed(() => searchValue.value === "");
|
|
730
|
-
const hasAddOptionListener = !!(instanceProps == null ? void 0 : instanceProps["onAddOption"]);
|
|
731
|
-
const onAddOption = () => {
|
|
732
|
-
emit("add-option");
|
|
733
|
-
close();
|
|
734
|
-
};
|
|
735
|
-
const hasPrefixComponent = computed(
|
|
736
|
-
() => {
|
|
737
|
-
var _a2;
|
|
738
|
-
return !isOpen.value && !allowsMultipleValues.value && ((_a2 = firstSelectedItem.value) == null ? void 0 : _a2.labelPrefixComponent);
|
|
739
|
-
}
|
|
740
|
-
);
|
|
741
|
-
const optionsId = `search-select-options-${Math.random().toString(36).substring(2, 9)}`;
|
|
742
|
-
__expose({
|
|
743
|
-
flushMemoryCachedSelectedOptions: () => memoryCachedSelectedOptions.value = [],
|
|
744
|
-
close
|
|
745
|
-
});
|
|
746
|
-
return (_ctx, _cache) => {
|
|
747
|
-
var _a2, _b, _c;
|
|
748
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
749
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
750
|
-
createElementVNode("div", {
|
|
751
|
-
ref_key: "wrapperRef",
|
|
752
|
-
ref: wrapperRef,
|
|
753
|
-
class: normalizeClass(["relative flex items-end", {
|
|
754
|
-
[`${__props.rootClass}`]: __props.rootClass,
|
|
755
|
-
"z-30": isOpen.value
|
|
756
|
-
}]),
|
|
757
|
-
role: "combobox",
|
|
758
|
-
"aria-expanded": isOpen.value,
|
|
759
|
-
"aria-haspopup": true,
|
|
760
|
-
"aria-controls": optionsId,
|
|
761
|
-
onKeydown: handleWrapperKeyDown
|
|
762
|
-
}, [
|
|
763
|
-
createVNode(unref(_sfc_main$7), {
|
|
764
|
-
ref_key: "inputRef",
|
|
765
|
-
ref: inputRef,
|
|
766
|
-
modelValue: searchValue.value,
|
|
767
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchValue.value = $event),
|
|
768
|
-
required: __props.required,
|
|
769
|
-
label: __props.label,
|
|
770
|
-
name: __props.name,
|
|
771
|
-
form: __props.form,
|
|
772
|
-
"label-screen-reader-only": __props.labelScreenReaderOnly,
|
|
773
|
-
placeholder: placeholder.value,
|
|
774
|
-
class: "grow",
|
|
775
|
-
"wrapper-class": [
|
|
776
|
-
__props.wrapperClass,
|
|
777
|
-
{
|
|
778
|
-
"border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none": isOpen.value
|
|
779
|
-
}
|
|
780
|
-
],
|
|
781
|
-
"input-class": !isOpen.value && (!allowsMultipleValues.value && unref(singleModel) || allowsMultipleValues.value && !unref(isEmpty)(__props.multiModelValue)) ? "placeholder:text-default" : "",
|
|
782
|
-
"suffix-class": "border-l-0 px-0",
|
|
783
|
-
disabled: __props.disabled,
|
|
784
|
-
size: __props.size,
|
|
785
|
-
error: __props.error,
|
|
786
|
-
"prefix-has-border": hasPrefixBorder.value,
|
|
787
|
-
"aria-autocomplete": "list",
|
|
788
|
-
onFocus: handleInputFocus,
|
|
789
|
-
onClick: handleInputClick,
|
|
790
|
-
onBlur: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("blur"))
|
|
791
|
-
}, createSlots({
|
|
792
|
-
"label-suffix": withCtx(() => [
|
|
793
|
-
renderSlot(_ctx.$slots, "label-suffix")
|
|
794
|
-
]),
|
|
795
|
-
suffix: withCtx(() => {
|
|
796
|
-
var _a3;
|
|
797
|
-
return [
|
|
798
|
-
createElementVNode("div", _hoisted_5, [
|
|
799
|
-
!isOpen.value && !allowsMultipleValues.value && ((_a3 = firstSelectedItem.value) == null ? void 0 : _a3.labelInlineComponent) && (!__props.showSuffixInClosedInput || __props.showSuffixLabelInInput) ? (openBlock(), createBlock(resolveDynamicComponent(firstSelectedItem.value.labelInlineComponent.component), normalizeProps(mergeProps({ key: 0 }, firstSelectedItem.value.labelInlineComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
800
|
-
selectedSuffixInClosedInput.value ? (openBlock(), createBlock(resolveDynamicComponent(selectedSuffixInClosedInput.value.component), normalizeProps(mergeProps({ key: 1 }, selectedSuffixInClosedInput.value.props)), null, 16)) : createCommentVNode("", true),
|
|
801
|
-
createElementVNode("div", _hoisted_6, [
|
|
802
|
-
canReset.value && __props.hasReset ? (openBlock(), createBlock(_sfc_main$8, {
|
|
803
|
-
key: 0,
|
|
804
|
-
icon: "close",
|
|
805
|
-
size: "sm",
|
|
806
|
-
intent: "subtle",
|
|
807
|
-
type: "button",
|
|
808
|
-
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
809
|
-
}, ["prevent"])),
|
|
810
|
-
onClick: reset
|
|
811
|
-
})) : createCommentVNode("", true),
|
|
812
|
-
!isSearchEmpty.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
813
|
-
key: 1,
|
|
814
|
-
icon: "close",
|
|
815
|
-
size: "sm",
|
|
816
|
-
intent: "subtle",
|
|
817
|
-
type: "button",
|
|
818
|
-
onClick: handleClear
|
|
819
|
-
})) : createCommentVNode("", true),
|
|
820
|
-
createVNode(_sfc_main$8, {
|
|
821
|
-
icon: isOpen.value ? "keyboard_arrow_up" : "keyboard_arrow_down",
|
|
822
|
-
size: "sm",
|
|
823
|
-
intent: "subtle",
|
|
824
|
-
type: "button",
|
|
825
|
-
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
826
|
-
}, ["prevent"])),
|
|
827
|
-
onClick: toggleOpen
|
|
828
|
-
}, null, 8, ["icon"])
|
|
829
|
-
])
|
|
830
|
-
])
|
|
831
|
-
];
|
|
832
|
-
}),
|
|
833
|
-
_: 2
|
|
834
|
-
}, [
|
|
835
|
-
_ctx.$slots.tooltip ? {
|
|
836
|
-
name: "tooltip",
|
|
837
|
-
fn: withCtx(() => [
|
|
838
|
-
renderSlot(_ctx.$slots, "tooltip")
|
|
839
|
-
]),
|
|
840
|
-
key: "0"
|
|
841
|
-
} : void 0,
|
|
842
|
-
hasCustomPrefix.value || hasPrefixComponent.value || !isHandlingSearchInternally ? {
|
|
843
|
-
name: "prefix",
|
|
844
|
-
fn: withCtx(() => {
|
|
845
|
-
var _a3;
|
|
846
|
-
return [
|
|
847
|
-
createElementVNode("div", _hoisted_3, [
|
|
848
|
-
hasPrefixSlot.value ? renderSlot(_ctx.$slots, "prefix", {}, void 0, void 0, 0) : hasPrefixText.value ? (openBlock(), createBlock(unref(_sfc_main$9), {
|
|
849
|
-
key: 1,
|
|
850
|
-
variant: "body-sm",
|
|
851
|
-
tag: "span",
|
|
852
|
-
weight: "semibold"
|
|
853
|
-
}, {
|
|
854
|
-
default: withCtx(() => [
|
|
855
|
-
createTextVNode(toDisplayString(__props.prefix), 1)
|
|
856
|
-
]),
|
|
857
|
-
_: 1
|
|
858
|
-
})) : hasPrefixComponent.value && ((_a3 = firstSelectedItem.value) == null ? void 0 : _a3.labelPrefixComponent) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
859
|
-
(openBlock(), createBlock(resolveDynamicComponent(firstSelectedItem.value.labelPrefixComponent.component), normalizeProps(guardReactiveProps(firstSelectedItem.value.labelPrefixComponent.props)), null, 16))
|
|
860
|
-
])) : !isHandlingSearchInternally ? (openBlock(), createBlock(_sfc_main$a, {
|
|
861
|
-
key: 3,
|
|
862
|
-
icon: "search",
|
|
863
|
-
size: "sm"
|
|
864
|
-
})) : createCommentVNode("", true)
|
|
865
|
-
])
|
|
866
|
-
];
|
|
867
|
-
}),
|
|
868
|
-
key: "1"
|
|
869
|
-
} : void 0,
|
|
870
|
-
_ctx.$slots.helper ? {
|
|
871
|
-
name: "helper",
|
|
872
|
-
fn: withCtx(() => [
|
|
873
|
-
renderSlot(_ctx.$slots, "helper")
|
|
874
|
-
]),
|
|
875
|
-
key: "2"
|
|
876
|
-
} : void 0
|
|
877
|
-
]), 1032, ["modelValue", "required", "label", "name", "form", "label-screen-reader-only", "placeholder", "wrapper-class", "input-class", "disabled", "size", "error", "prefix-has-border"])
|
|
878
|
-
], 42, _hoisted_2),
|
|
879
|
-
__props.withChips ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
880
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(selectedItems.value, ({ value, label }) => {
|
|
881
|
-
return openBlock(), createBlock(_sfc_main$b, {
|
|
882
|
-
key: value,
|
|
883
|
-
removable: !isDisabled(value),
|
|
884
|
-
onRemoved: ($event) => handleChange({ value, checked: false })
|
|
885
|
-
}, {
|
|
886
|
-
default: withCtx(() => [
|
|
887
|
-
createElementVNode("span", { innerHTML: label }, null, 8, _hoisted_8)
|
|
888
|
-
]),
|
|
889
|
-
_: 2
|
|
890
|
-
}, 1032, ["removable", "onRemoved"]);
|
|
891
|
-
}), 128))
|
|
892
|
-
])) : createCommentVNode("", true)
|
|
893
|
-
]),
|
|
894
|
-
unref(isMounted) && unref(teleportTarget) ? (openBlock(), createBlock(Teleport, {
|
|
895
|
-
key: 0,
|
|
896
|
-
to: unref(teleportTarget)
|
|
897
|
-
}, [
|
|
898
|
-
isOpen.value && !__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
899
|
-
key: 0,
|
|
900
|
-
id: optionsId,
|
|
901
|
-
ref_key: "optionsRef",
|
|
902
|
-
ref: optionsRef,
|
|
903
|
-
role: "listbox",
|
|
904
|
-
style: normalizeStyle(unref(floatingStyles)),
|
|
905
|
-
class: "z-70 overflow-y-auto rounded border border-gray-200 bg-white drop-shadow-md",
|
|
906
|
-
onMouseenter: _cache[4] || (_cache[4] = ($event) => isOpen.value = true),
|
|
907
|
-
onKeydown: handleOptionsKeyDown
|
|
908
|
-
}, [
|
|
909
|
-
createElementVNode("div", {
|
|
910
|
-
class: "rounded pt-0",
|
|
911
|
-
style: normalizeStyle({ width: `${unref(width)}px` })
|
|
912
|
-
}, [
|
|
913
|
-
createVNode(_sfc_main$3, {
|
|
914
|
-
i18n: {
|
|
915
|
-
addOnly: (_a2 = __props.i18n) == null ? void 0 : _a2.addOnly,
|
|
916
|
-
noResults: (_b = __props.i18n) == null ? void 0 : _b.noResults,
|
|
917
|
-
noOptionsAvailable: (_c = __props.i18n) == null ? void 0 : _c.noOptionsAvailable
|
|
918
|
-
},
|
|
919
|
-
options: filteredOptions.value,
|
|
920
|
-
multiple: allowsMultipleValues.value,
|
|
921
|
-
search: searchValue.value,
|
|
922
|
-
model: derivedModel.value,
|
|
923
|
-
"add-only": __props.addOnly,
|
|
924
|
-
"allows-multiple-values": !!allowsMultipleValues.value,
|
|
925
|
-
condensed: __props.condensed,
|
|
926
|
-
"has-large-dropdown": __props.hasLargeDropdown,
|
|
927
|
-
onValueChanged: handleChange
|
|
928
|
-
}, {
|
|
929
|
-
"list-footer-content": withCtx(() => [
|
|
930
|
-
hasAddOptionListener ? (openBlock(), createBlock(_sfc_main$c, {
|
|
931
|
-
key: 0,
|
|
932
|
-
intent: "subtle",
|
|
933
|
-
class: "w-full rounded-t-none",
|
|
934
|
-
type: "button",
|
|
935
|
-
"icon-prefix": "add",
|
|
936
|
-
onClick: onAddOption
|
|
937
|
-
}, {
|
|
938
|
-
default: withCtx(() => {
|
|
939
|
-
var _a3;
|
|
940
|
-
return [
|
|
941
|
-
createTextVNode(toDisplayString((_a3 = __props.i18n) == null ? void 0 : _a3.addOption), 1)
|
|
942
|
-
];
|
|
943
|
-
}),
|
|
944
|
-
_: 1
|
|
945
|
-
})) : createCommentVNode("", true),
|
|
946
|
-
allowsMultipleValues.value ? (openBlock(), createElementBlock("div", {
|
|
947
|
-
key: 1,
|
|
948
|
-
class: normalizeClass(["flex items-center justify-between", { "py-2": !_ctx.$slots["list-footer-content"] }])
|
|
949
|
-
}, [
|
|
950
|
-
canReset.value ? (openBlock(), createBlock(_sfc_main$c, {
|
|
951
|
-
key: 0,
|
|
952
|
-
type: "button",
|
|
953
|
-
intent: "subtle",
|
|
954
|
-
size: "sm",
|
|
955
|
-
class: "ml-2",
|
|
956
|
-
onClick: reset
|
|
957
|
-
}, {
|
|
958
|
-
default: withCtx(() => {
|
|
959
|
-
var _a3;
|
|
960
|
-
return [
|
|
961
|
-
createTextVNode(toDisplayString(((_a3 = __props.i18n) == null ? void 0 : _a3.multipleValuesClearButtonText) ?? "Clear"), 1)
|
|
962
|
-
];
|
|
963
|
-
}),
|
|
964
|
-
_: 1
|
|
965
|
-
})) : createCommentVNode("", true),
|
|
966
|
-
createElementVNode("div", null, [
|
|
967
|
-
renderSlot(_ctx.$slots, "list-footer-content", { close })
|
|
968
|
-
]),
|
|
969
|
-
createVNode(_sfc_main$c, {
|
|
970
|
-
type: "button",
|
|
971
|
-
intent: "secondary",
|
|
972
|
-
size: "sm",
|
|
973
|
-
class: "mr-2",
|
|
974
|
-
"data-testid": unref(DONE_BUTTON_TEST_ID),
|
|
975
|
-
onClick: close
|
|
976
|
-
}, {
|
|
977
|
-
default: withCtx(() => {
|
|
978
|
-
var _a3;
|
|
979
|
-
return [
|
|
980
|
-
createTextVNode(toDisplayString(((_a3 = __props.i18n) == null ? void 0 : _a3.multipleValuesDoneButtonText) ?? "Done"), 1)
|
|
981
|
-
];
|
|
982
|
-
}),
|
|
983
|
-
_: 1
|
|
984
|
-
}, 8, ["data-testid"])
|
|
985
|
-
], 2)) : renderSlot(_ctx.$slots, "list-footer-content", { close }, void 0, void 0, 2)
|
|
986
|
-
]),
|
|
987
|
-
_: 3
|
|
988
|
-
}, 8, ["i18n", "options", "multiple", "search", "model", "add-only", "allows-multiple-values", "condensed", "has-large-dropdown"])
|
|
989
|
-
], 4)
|
|
990
|
-
], 36)) : createCommentVNode("", true)
|
|
991
|
-
], 8, ["to"])) : createCommentVNode("", true)
|
|
992
|
-
], 64);
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
});
|
|
996
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
997
|
-
__name: "CountrySelect",
|
|
998
|
-
props: {
|
|
999
|
-
label: {},
|
|
1000
|
-
singleModelValue: {},
|
|
1001
|
-
multiModelValue: {},
|
|
1002
|
-
error: {},
|
|
1003
|
-
required: { type: Boolean, default: true },
|
|
1004
|
-
hasReset: { type: Boolean },
|
|
1005
|
-
disabled: { type: Boolean },
|
|
1006
|
-
name: {},
|
|
1007
|
-
form: {}
|
|
1008
|
-
},
|
|
1009
|
-
emits: ["update:modelValue", "update:singleModelValue"],
|
|
1010
|
-
setup(__props, { emit: __emit }) {
|
|
1011
|
-
const props = __props;
|
|
1012
|
-
const singleModel = useVModel(props, "singleModelValue");
|
|
1013
|
-
const multiModel = useVModel(props, "multiModelValue");
|
|
1014
|
-
const emit = __emit;
|
|
1015
|
-
return (_ctx, _cache) => {
|
|
1016
|
-
return openBlock(), createBlock(_sfc_main$2, {
|
|
1017
|
-
"multi-model-value": unref(multiModel),
|
|
1018
|
-
"onUpdate:multiModelValue": _cache[0] || (_cache[0] = ($event) => isRef(multiModel) ? multiModel.value = $event : null),
|
|
1019
|
-
"single-model-value": unref(singleModel),
|
|
1020
|
-
"onUpdate:singleModelValue": [
|
|
1021
|
-
_cache[1] || (_cache[1] = ($event) => isRef(singleModel) ? singleModel.value = $event : null),
|
|
1022
|
-
_cache[2] || (_cache[2] = (value) => {
|
|
1023
|
-
emit("update:modelValue", value);
|
|
1024
|
-
})
|
|
1025
|
-
],
|
|
1026
|
-
"root-class": _ctx.$attrs.class,
|
|
1027
|
-
label: __props.label,
|
|
1028
|
-
options: unref(countryData).map(({ key, value }) => ({ label: value, value: key })),
|
|
1029
|
-
error: __props.error,
|
|
1030
|
-
"has-reset": __props.hasReset,
|
|
1031
|
-
disabled: __props.disabled,
|
|
1032
|
-
required: __props.required,
|
|
1033
|
-
"with-chips": !!__props.multiModelValue,
|
|
1034
|
-
name: __props.name,
|
|
1035
|
-
form: __props.form
|
|
1036
|
-
}, {
|
|
1037
|
-
"label-suffix": withCtx(() => [
|
|
1038
|
-
renderSlot(_ctx.$slots, "label-suffix")
|
|
1039
|
-
]),
|
|
1040
|
-
_: 3
|
|
1041
|
-
}, 8, ["multi-model-value", "single-model-value", "root-class", "label", "options", "error", "has-reset", "disabled", "required", "with-chips", "name", "form"]);
|
|
1042
|
-
};
|
|
1043
|
-
}
|
|
1044
|
-
});
|
|
1045
|
-
const _hoisted_1 = { class: "flex grow flex-col" };
|
|
1046
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1047
|
-
__name: "CompanyPurchaseToggle",
|
|
1048
|
-
props: /* @__PURE__ */ mergeModels({
|
|
1049
|
-
noSpacing: { type: Boolean }
|
|
1050
|
-
}, {
|
|
1051
|
-
"modelValue": { type: Boolean, ...{ required: true } },
|
|
1052
|
-
"modelModifiers": {}
|
|
1053
|
-
}),
|
|
1054
|
-
emits: ["update:modelValue"],
|
|
1055
|
-
setup(__props) {
|
|
1056
|
-
const model = useModel(__props, "modelValue");
|
|
1057
|
-
const { $t } = useIntl();
|
|
1058
|
-
return (_ctx, _cache) => {
|
|
1059
|
-
return openBlock(), createBlock(unref(_sfc_main$d), {
|
|
1060
|
-
modelValue: model.value,
|
|
1061
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event),
|
|
1062
|
-
"no-spacing": __props.noSpacing,
|
|
1063
|
-
"label-position": "before"
|
|
1064
|
-
}, {
|
|
1065
|
-
"inline-label": withCtx(() => [
|
|
1066
|
-
createElementVNode("div", _hoisted_1, [
|
|
1067
|
-
createVNode(unref(_sfc_main$9), { tag: "span" }, {
|
|
1068
|
-
default: withCtx(() => [
|
|
1069
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
1070
|
-
defaultMessage: "Company purchase",
|
|
1071
|
-
id: "checkout.company_purchase_toggle.title",
|
|
1072
|
-
description: "The title of the company purchase toggle in the checkout"
|
|
1073
|
-
})), 1)
|
|
1074
|
-
]),
|
|
1075
|
-
_: 1
|
|
1076
|
-
}),
|
|
1077
|
-
createVNode(unref(_sfc_main$9), {
|
|
1078
|
-
tag: "span",
|
|
1079
|
-
variant: "body-xs",
|
|
1080
|
-
color: "subtle"
|
|
1081
|
-
}, {
|
|
1082
|
-
default: withCtx(() => [
|
|
1083
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
1084
|
-
defaultMessage: "I am purchasing on behalf of a company",
|
|
1085
|
-
id: "checkout.company_purchase_toggle.sub_title",
|
|
1086
|
-
description: "The subtitle of the company purchase toggle in the checkout"
|
|
1087
|
-
})), 1)
|
|
1088
|
-
]),
|
|
1089
|
-
_: 1
|
|
1090
|
-
})
|
|
1091
|
-
])
|
|
1092
|
-
]),
|
|
1093
|
-
_: 1
|
|
1094
|
-
}, 8, ["modelValue", "no-spacing"]);
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
});
|
|
1098
|
-
function useCustomerFormLabels() {
|
|
1099
|
-
const { $t } = useIntl();
|
|
1100
|
-
return {
|
|
1101
|
-
contactInformationTitle: $t({
|
|
1102
|
-
defaultMessage: "Customer information",
|
|
1103
|
-
id: "checkout.contact_information_block.title",
|
|
1104
|
-
description: "The title of the contact information block in the checkout form"
|
|
1105
|
-
}),
|
|
1106
|
-
emailLabel: $t({
|
|
1107
|
-
defaultMessage: "Email address",
|
|
1108
|
-
id: "checkout.email_address.label",
|
|
1109
|
-
description: "The email address of the customer in the checkout form"
|
|
1110
|
-
}),
|
|
1111
|
-
emailPlaceholder: $t({
|
|
1112
|
-
defaultMessage: "Email address...",
|
|
1113
|
-
id: "checkout.email_address.placeholder",
|
|
1114
|
-
description: "The email address of the customer in the checkout form"
|
|
1115
|
-
}),
|
|
1116
|
-
countryLabel: $t({
|
|
1117
|
-
defaultMessage: "Billing country",
|
|
1118
|
-
id: "checkout.country.label",
|
|
1119
|
-
description: "The country of the customer in the checkout form"
|
|
1120
|
-
}),
|
|
1121
|
-
vatNumberLabel: $t({
|
|
1122
|
-
defaultMessage: "VAT number",
|
|
1123
|
-
id: "checkout.vat_number.label",
|
|
1124
|
-
description: "The label for the vat number in the checkout form"
|
|
1125
|
-
}),
|
|
1126
|
-
vatNumberPlaceholder: $t({
|
|
1127
|
-
defaultMessage: "VAT number...",
|
|
1128
|
-
id: "checkout.vat_number.placeholder",
|
|
1129
|
-
description: "The label for the vat number in the checkout form"
|
|
1130
|
-
}),
|
|
1131
|
-
legalNameLabel: $t({
|
|
1132
|
-
defaultMessage: "Legal entity name",
|
|
1133
|
-
id: "checkout.legal_name.label",
|
|
1134
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
1135
|
-
}),
|
|
1136
|
-
legalNamePlaceholder: $t({
|
|
1137
|
-
defaultMessage: "Legal entity name...",
|
|
1138
|
-
id: "checkout.legal_name.placeholder",
|
|
1139
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
1140
|
-
}),
|
|
1141
|
-
addressTitle: $t({
|
|
1142
|
-
defaultMessage: "Billing address",
|
|
1143
|
-
id: "checkout.address.title",
|
|
1144
|
-
description: "Address line 1 of the customer address in the checkout form"
|
|
1145
|
-
}),
|
|
1146
|
-
postalCodePlaceholder: $t({
|
|
1147
|
-
defaultMessage: "Postal code...",
|
|
1148
|
-
id: "checkout.address.portal_code.placeholder",
|
|
1149
|
-
description: "Postal code of the customer address in the checkout form"
|
|
1150
|
-
}),
|
|
1151
|
-
cityPlaceholder: $t({
|
|
1152
|
-
defaultMessage: "City...",
|
|
1153
|
-
id: "checkout.address.city.placeholder",
|
|
1154
|
-
description: "City of the customer address in the checkout form"
|
|
1155
|
-
}),
|
|
1156
|
-
statePlaceholder: $t({
|
|
1157
|
-
defaultMessage: "State...",
|
|
1158
|
-
id: "checkout.address.state.placeholder",
|
|
1159
|
-
description: "State of the customer address in the checkout form"
|
|
1160
|
-
})
|
|
1161
|
-
};
|
|
1162
|
-
}
|
|
1163
|
-
export {
|
|
1164
|
-
_sfc_main$1 as _,
|
|
1165
|
-
_sfc_main as a,
|
|
1166
|
-
objectDiff as o,
|
|
1167
|
-
useCustomerFormLabels as u
|
|
1168
|
-
};
|