@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.21
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-B9WTpz0k.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.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-CJw5z7Uu.js +1 -0
- package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
- package/dist/Button.vue.es-BWl37nzm.js +1 -0
- package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
- package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
- package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
- package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
- package/dist/Chip.vue.es-DUgjuRWm.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-BllxeDTt.js +1 -0
- package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
- package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -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-BBdydUy_.js +1 -0
- package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
- package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
- package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -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-DAR7e8NA.mjs +198 -0
- package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
- package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
- package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
- package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
- package/dist/Input.vue.es-BN95nPBw.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
- package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
- package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
- package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DGJ_PiVq.js} +1 -1
- package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
- package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-DqqGcEP1.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
- package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
- package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
- package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
- package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-BQ5TVHlS.js} +1 -1
- package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
- package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
- package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
- package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
- package/dist/Section.vue.es-By1JltGi.mjs +72 -0
- package/dist/Section.vue.es-DuK52y67.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -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-DDCjVEbG.mjs +4 -0
- package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
- package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
- package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
- package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
- package/dist/TrialChip.vue.es-DX53r0ku.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-CNvIP217.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-DjnGlmqV.mjs} +657 -927
- 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-Bt8PbjIn.js +1187 -0
- package/dist/customElements-Com2NiGU.mjs +6531 -0
- package/dist/customer-CKgMJEgv.mjs +31 -0
- package/dist/customer-Q4JGfVfq.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-CI2zQkiP.mjs → de-DE-CVCmzlNH.mjs} +5 -5
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DBO5f-Eu.mjs} +38 -56
- package/dist/{de-DE-_40QfLNJ.js → de-DE-DqLD4IX2.js} +1 -1
- package/dist/de-DE-Ds_yJLS3.js +1 -0
- 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-5YWNEi-V.mjs → en-US-3UmnS23B.mjs} +38 -56
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-CvFmmI_O.js} +1 -1
- package/dist/{en-US-DksUWPIu.mjs → en-US-DVR9O7b_.mjs} +5 -5
- 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-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-CDMnnFKZ.mjs} +5 -5
- package/dist/{it-IT-aPQY57ht.js → it-IT-CFEfSpPH.js} +1 -1
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-CxBRisRm.mjs} +38 -56
- package/dist/it-IT-Dxw59eR_.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-CjoW8r_M.mjs → nl-NL-BWGkVweu.mjs} +38 -56
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/{nl-NL-zRUAuEHg.js → nl-NL-jtVgF3jx.js} +1 -1
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-o3UvtSNg.mjs} +5 -5
- 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-BuwoJ1y9.mjs +75 -0
- package/dist/paymentMethods-ChWAwDSF.js +1 -0
- package/dist/payments-C_cMXQzE.mjs +45 -0
- package/dist/payments-DGckugN0.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-DMf1e6y7.mjs +76 -0
- package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
- package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
- package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -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-9GORG-Gt.js +1 -0
- package/dist/subscription-CvfAEJeP.mjs +69 -0
- package/dist/subscriptions-B5VqRayX.mjs +55 -0
- package/dist/subscriptions-X0Ciw8z3.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/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/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- 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-B54GYEY7.js +1 -0
- package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
- package/dist/useCustomer-BJwJ9BkJ.js +1 -0
- package/dist/useCustomer-CC9zxV6c.mjs +20 -0
- package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
- package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
- package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
- package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
- package/dist/useInvoiceData-Bblwdl0f.js +1 -0
- package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
- package/dist/useInvoicesList-_U1-tn9_.js +1 -0
- package/dist/useLoadInitialData-CezlvhBV.js +1 -0
- package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
- package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
- package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
- package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
- package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
- package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
- package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
- package/dist/usePayments-BkwGyZT0.mjs +318 -0
- package/dist/usePayments-SQF_V7oL.js +1 -0
- package/dist/usePortal-BdM7hDge.js +1 -0
- package/dist/usePortal-DDG9b6FI.mjs +11 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-BJJYHYgr.mjs +210 -0
- package/dist/useSubscription-Q4C2DPhw.js +1 -0
- package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
- package/dist/useTimePeriod.es-pepm2TpV.js +1 -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/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/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/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,1044 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode, renderSlot, defineComponent, computed, withKeys, normalizeClass, Fragment, mergeProps, createBlock, resolveDynamicComponent, createCommentVNode, createVNode, normalizeProps, withCtx, createTextVNode, toDisplayString, renderList, getCurrentInstance, ref, inject, unref, isRef, createSlots, guardReactiveProps, Teleport, normalizeStyle, nextTick, useModel, toRef, mergeModels } from "vue";
|
|
2
|
-
import { a as usePricingItem, _ as _sfc_main$g } from "./PricingGroupRangeInput.vue.es-ButaePib.mjs";
|
|
3
|
-
import { a as _sfc_main$f } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs";
|
|
4
|
-
import { _ as _sfc_main$e } from "./Section.vue.es-DX_9ueCG.mjs";
|
|
5
|
-
import { u as useVModel, c as useEventListener, d as useElementSize } from "./index.es-D5xOw_SJ.mjs";
|
|
6
|
-
import { _ as _export_sfc, u as useFloating, a as autoUpdate, o as offset, f as flip } from "./floating-ui.vue.es-DWY7pdz8.mjs";
|
|
7
|
-
import { e as escapeUserInput, _ as _sfc_main$7, s as sortedUniqBy, u as useIsMounted } from "./sorting.es-CjTrRfSW.mjs";
|
|
8
|
-
import { _ as _sfc_main$8, S as SEARCH_SELECT_TELEPORT_TARGET, u as useIntl } from "./customElements-B-89a5oH.mjs";
|
|
9
|
-
import { u as uniqueId } from "./cn.es-BEU5D0Wz.mjs";
|
|
10
|
-
import { _ as _sfc_main$b, a as _sfc_main$d } from "./Button.vue.es-Cm9pLU9i.mjs";
|
|
11
|
-
import { a as _sfc_main$a } from "./IconButton.vue.es-KywqWWvr.mjs";
|
|
12
|
-
import { _ as _sfc_main$c } from "./Chip.vue.es-BBmn-qJp.mjs";
|
|
13
|
-
import { a as isEqual, i as isEmpty } from "./useService-W3Kxems4.mjs";
|
|
14
|
-
import { _ as _sfc_main$9 } from "./Input.vue.es-WZGF8dfr.mjs";
|
|
15
|
-
import { g as getNameFromPricing } from "./pricing-CJxS2hr2.mjs";
|
|
16
|
-
import { u as useViewport } from "./useViewport-Bu0cyeSi.mjs";
|
|
17
|
-
const getOptionName = (value) => {
|
|
18
|
-
return `checkbox-item-${value}`;
|
|
19
|
-
};
|
|
20
|
-
const DONE_BUTTON_TEST_ID = "select-search-done-button";
|
|
21
|
-
const _sfc_main$6 = {};
|
|
22
|
-
const _hoisted_1$6 = { class: "flex items-center pt-1" };
|
|
23
|
-
const _hoisted_2$6 = { class: "px-1.5 text-xs font-semibold text-subtle" };
|
|
24
|
-
function _sfc_render(_ctx, _cache) {
|
|
25
|
-
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
26
|
-
_cache[0] || (_cache[0] = createElementVNode("div", { class: "w-2 border-t" }, null, -1)),
|
|
27
|
-
createElementVNode("span", _hoisted_2$6, [
|
|
28
|
-
renderSlot(_ctx.$slots, "default")
|
|
29
|
-
]),
|
|
30
|
-
_cache[1] || (_cache[1] = createElementVNode("div", { class: "grow border-t" }, null, -1))
|
|
31
|
-
]);
|
|
32
|
-
}
|
|
33
|
-
const SelectExtendedOptionsDivider = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]);
|
|
34
|
-
const _hoisted_1$5 = ["aria-selected", "aria-disabled", "data-testid"];
|
|
35
|
-
const _hoisted_2$5 = ["id", "value", "checked", "disabled"];
|
|
36
|
-
const _hoisted_3$3 = ["for"];
|
|
37
|
-
const _hoisted_4$1 = { class: "flex items-center gap-1" };
|
|
38
|
-
const _hoisted_5$1 = { class: "flex flex-grow flex-col" };
|
|
39
|
-
const _hoisted_6$1 = { class: "flex flex-grow gap-2" };
|
|
40
|
-
const _hoisted_7$1 = { class: "flex flex-grow flex-col" };
|
|
41
|
-
const _hoisted_8 = { class: "flex flex-grow items-start justify-between gap-2" };
|
|
42
|
-
const _hoisted_9 = { class: "flex items-center gap-2" };
|
|
43
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
44
|
-
__name: "SelectExtendedOption",
|
|
45
|
-
props: {
|
|
46
|
-
multiple: { type: Boolean },
|
|
47
|
-
inputValue: {},
|
|
48
|
-
condensed: { type: Boolean },
|
|
49
|
-
label: {},
|
|
50
|
-
checked: { type: Boolean },
|
|
51
|
-
disabled: { type: Boolean },
|
|
52
|
-
subLabel: {},
|
|
53
|
-
labelPrefixComponent: {},
|
|
54
|
-
labelSuffixComponent: {},
|
|
55
|
-
labelInlineComponent: {},
|
|
56
|
-
value: {},
|
|
57
|
-
labelSrOnly: { type: Boolean }
|
|
58
|
-
},
|
|
59
|
-
emits: ["value-changed"],
|
|
60
|
-
setup(__props, { emit: __emit }) {
|
|
61
|
-
const emit = __emit;
|
|
62
|
-
const props = __props;
|
|
63
|
-
const handleChange = (event) => {
|
|
64
|
-
const target = event.target;
|
|
65
|
-
emit("value-changed", {
|
|
66
|
-
value: target.value,
|
|
67
|
-
checked: target.checked
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
const handleClick = () => {
|
|
71
|
-
if (props.multiple || props.disabled) return;
|
|
72
|
-
emit("value-changed", { value: props.value });
|
|
73
|
-
};
|
|
74
|
-
const name = computed(() => getOptionName(props.value));
|
|
75
|
-
const escapedUserInput = computed(() => escapeUserInput(props.inputValue ?? ""));
|
|
76
|
-
return (_ctx, _cache) => {
|
|
77
|
-
return openBlock(), createElementBlock("li", {
|
|
78
|
-
role: "option",
|
|
79
|
-
"aria-selected": __props.checked,
|
|
80
|
-
"aria-disabled": __props.disabled,
|
|
81
|
-
class: normalizeClass([{ "hover:bg-gray-50": !__props.disabled }, "relative flex"]),
|
|
82
|
-
"data-testid": name.value,
|
|
83
|
-
tabindex: "0",
|
|
84
|
-
onClick: handleClick,
|
|
85
|
-
onKeydown: withKeys(handleClick, ["enter"])
|
|
86
|
-
}, [
|
|
87
|
-
__props.multiple ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
88
|
-
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
89
|
-
id: name.value,
|
|
90
|
-
ref: "inputRef",
|
|
91
|
-
value: __props.value,
|
|
92
|
-
checked: __props.checked,
|
|
93
|
-
disabled: __props.disabled,
|
|
94
|
-
type: "checkbox",
|
|
95
|
-
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"],
|
|
96
|
-
tabindex: "-1",
|
|
97
|
-
onChange: handleChange
|
|
98
|
-
}), null, 16, _hoisted_2$5),
|
|
99
|
-
createElementVNode("label", {
|
|
100
|
-
for: name.value,
|
|
101
|
-
class: normalizeClass([__props.disabled ? `text-disabled` : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
|
|
102
|
-
}, [
|
|
103
|
-
createElementVNode("div", _hoisted_4$1, [
|
|
104
|
-
__props.labelPrefixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelPrefixComponent.component), { key: 0 })) : createCommentVNode("", true),
|
|
105
|
-
createElementVNode("div", _hoisted_5$1, [
|
|
106
|
-
createElementVNode("div", _hoisted_6$1, [
|
|
107
|
-
createVNode(_sfc_main$7, {
|
|
108
|
-
text: __props.label,
|
|
109
|
-
search: escapedUserInput.value,
|
|
110
|
-
class: normalizeClass(["font-semibold", { "sr-only": __props.labelSrOnly }])
|
|
111
|
-
}, null, 8, ["text", "search", "class"]),
|
|
112
|
-
__props.labelInlineComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelInlineComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelInlineComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
113
|
-
__props.subLabel && __props.condensed ? (openBlock(), createBlock(_sfc_main$7, {
|
|
114
|
-
key: 1,
|
|
115
|
-
class: "text-xs text-secondary",
|
|
116
|
-
text: __props.subLabel,
|
|
117
|
-
search: escapedUserInput.value
|
|
118
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
119
|
-
]),
|
|
120
|
-
__props.subLabel && !__props.condensed ? (openBlock(), createBlock(_sfc_main$7, {
|
|
121
|
-
key: 0,
|
|
122
|
-
class: "text-xs text-secondary",
|
|
123
|
-
text: __props.subLabel,
|
|
124
|
-
search: escapedUserInput.value
|
|
125
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
126
|
-
]),
|
|
127
|
-
__props.labelSuffixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelSuffixComponent.component), normalizeProps(mergeProps({ key: 1 }, __props.labelSuffixComponent.props)), null, 16)) : createCommentVNode("", true)
|
|
128
|
-
])
|
|
129
|
-
], 10, _hoisted_3$3)
|
|
130
|
-
], 64)) : (openBlock(), createElementBlock("div", {
|
|
131
|
-
key: 1,
|
|
132
|
-
class: normalizeClass(["flex w-full items-start gap-3 px-4 text-sm font-medium", [
|
|
133
|
-
__props.condensed ? "p-2" : "py-3",
|
|
134
|
-
__props.disabled ?? "cursor-not-allowed",
|
|
135
|
-
!__props.disabled && "cursor-pointer"
|
|
136
|
-
]])
|
|
137
|
-
}, [
|
|
138
|
-
__props.labelPrefixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelPrefixComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelPrefixComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
139
|
-
createElementVNode("div", _hoisted_7$1, [
|
|
140
|
-
createElementVNode("div", _hoisted_8, [
|
|
141
|
-
createVNode(_sfc_main$7, {
|
|
142
|
-
text: __props.label,
|
|
143
|
-
search: escapedUserInput.value,
|
|
144
|
-
class: normalizeClass(["font-semibold", { "text-disabled": __props.disabled }])
|
|
145
|
-
}, null, 8, ["text", "search", "class"]),
|
|
146
|
-
createElementVNode("div", _hoisted_9, [
|
|
147
|
-
__props.labelInlineComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelInlineComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelInlineComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
148
|
-
__props.labelSuffixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelSuffixComponent.component), normalizeProps(mergeProps({ key: 1 }, __props.labelSuffixComponent.props)), null, 16)) : createCommentVNode("", true)
|
|
149
|
-
])
|
|
150
|
-
]),
|
|
151
|
-
__props.subLabel && __props.condensed ? (openBlock(), createBlock(_sfc_main$7, {
|
|
152
|
-
key: 0,
|
|
153
|
-
class: "text-xs text-secondary",
|
|
154
|
-
text: __props.subLabel,
|
|
155
|
-
search: escapedUserInput.value
|
|
156
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true),
|
|
157
|
-
__props.subLabel && !__props.condensed ? (openBlock(), createBlock(_sfc_main$7, {
|
|
158
|
-
key: 1,
|
|
159
|
-
class: "text-xs text-secondary",
|
|
160
|
-
text: __props.subLabel,
|
|
161
|
-
search: escapedUserInput.value
|
|
162
|
-
}, null, 8, ["text", "search"])) : createCommentVNode("", true)
|
|
163
|
-
])
|
|
164
|
-
], 2))
|
|
165
|
-
], 42, _hoisted_1$5);
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
const _hoisted_1$4 = { class: "flex flex-col rounded-bl rounded-br" };
|
|
170
|
-
const _hoisted_2$4 = { key: 0 };
|
|
171
|
-
const _hoisted_3$2 = {
|
|
172
|
-
key: 2,
|
|
173
|
-
class: "border-t border-gray-200"
|
|
174
|
-
};
|
|
175
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
176
|
-
__name: "SelectExtendedOptions",
|
|
177
|
-
props: {
|
|
178
|
-
model: {},
|
|
179
|
-
multiple: { type: Boolean },
|
|
180
|
-
condensed: { type: Boolean },
|
|
181
|
-
hasLargeDropdown: { type: Boolean },
|
|
182
|
-
inputValue: {},
|
|
183
|
-
addOnly: { type: Boolean },
|
|
184
|
-
options: {}
|
|
185
|
-
},
|
|
186
|
-
emits: ["value-changed"],
|
|
187
|
-
setup(__props, { emit: __emit }) {
|
|
188
|
-
const props = __props;
|
|
189
|
-
const emit = __emit;
|
|
190
|
-
const handleChange = (payload) => emit("value-changed", payload);
|
|
191
|
-
const groups = computed(
|
|
192
|
-
() => sortedUniqBy(props.options, "group").reduce((acc, option) => option.value === "" ? acc : { ...acc, [option.value]: option.group }, {})
|
|
193
|
-
);
|
|
194
|
-
const hasNoResults = computed(() => props.options.length === 0);
|
|
195
|
-
return (_ctx, _cache) => {
|
|
196
|
-
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
197
|
-
hasNoResults.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
198
|
-
key: 0,
|
|
199
|
-
tag: "div",
|
|
200
|
-
"no-spacing": "",
|
|
201
|
-
variant: "body-sm",
|
|
202
|
-
color: "secondary",
|
|
203
|
-
class: "px-5 py-5"
|
|
204
|
-
}, {
|
|
205
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
206
|
-
createTextVNode("No results", -1)
|
|
207
|
-
])]),
|
|
208
|
-
_: 1
|
|
209
|
-
})) : (openBlock(), createElementBlock("ul", {
|
|
210
|
-
key: 1,
|
|
211
|
-
class: normalizeClass(["list-none overflow-y-auto", [__props.hasLargeDropdown ? "max-h-76" : "max-h-48"]])
|
|
212
|
-
}, [
|
|
213
|
-
__props.addOnly ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
214
|
-
createVNode(_sfc_main$8, {
|
|
215
|
-
tag: "p",
|
|
216
|
-
"no-spacing": "",
|
|
217
|
-
variant: "body-sm",
|
|
218
|
-
color: "secondary",
|
|
219
|
-
class: "mt-1 px-3 py-2"
|
|
220
|
-
}, {
|
|
221
|
-
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
222
|
-
createTextVNode(toDisplayString("You can only select currently unselected options."), -1)
|
|
223
|
-
])]),
|
|
224
|
-
_: 1
|
|
225
|
-
})
|
|
226
|
-
])) : createCommentVNode("", true),
|
|
227
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, ({
|
|
228
|
-
label,
|
|
229
|
-
subLabel,
|
|
230
|
-
value,
|
|
231
|
-
checked,
|
|
232
|
-
disabled,
|
|
233
|
-
labelInlineComponent,
|
|
234
|
-
labelSuffixComponent,
|
|
235
|
-
labelSrOnly,
|
|
236
|
-
labelPrefixComponent,
|
|
237
|
-
hidden
|
|
238
|
-
}) => {
|
|
239
|
-
return openBlock(), createElementBlock(Fragment, { key: value }, [
|
|
240
|
-
groups.value[value] ? (openBlock(), createBlock(SelectExtendedOptionsDivider, { key: 0 }, {
|
|
241
|
-
default: withCtx(() => [
|
|
242
|
-
createTextVNode(toDisplayString(groups.value[value]), 1)
|
|
243
|
-
]),
|
|
244
|
-
_: 2
|
|
245
|
-
}, 1024)) : createCommentVNode("", true),
|
|
246
|
-
!hidden ? (openBlock(), createBlock(_sfc_main$5, {
|
|
247
|
-
key: 1,
|
|
248
|
-
label,
|
|
249
|
-
"sub-label": subLabel,
|
|
250
|
-
value,
|
|
251
|
-
checked,
|
|
252
|
-
disabled,
|
|
253
|
-
multiple: __props.multiple,
|
|
254
|
-
condensed: __props.condensed,
|
|
255
|
-
"label-suffix-component": labelSuffixComponent,
|
|
256
|
-
"label-prefix-component": labelPrefixComponent,
|
|
257
|
-
"label-inline-component": labelInlineComponent,
|
|
258
|
-
"label-sr-only": labelSrOnly,
|
|
259
|
-
"input-value": __props.inputValue,
|
|
260
|
-
onValueChanged: handleChange
|
|
261
|
-
}, null, 8, ["label", "sub-label", "value", "checked", "disabled", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-inline-component", "label-sr-only", "input-value"])) : createCommentVNode("", true)
|
|
262
|
-
], 64);
|
|
263
|
-
}), 128))
|
|
264
|
-
], 2)),
|
|
265
|
-
_ctx.$slots["list-footer-content"] ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
266
|
-
renderSlot(_ctx.$slots, "list-footer-content")
|
|
267
|
-
])) : createCommentVNode("", true)
|
|
268
|
-
]);
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
const _hoisted_1$3 = ["aria-expanded", "aria-controls"];
|
|
273
|
-
const _hoisted_2$3 = { class: "flex items-center gap-2" };
|
|
274
|
-
const _hoisted_3$1 = { key: 1 };
|
|
275
|
-
const _hoisted_4 = { class: "flex items-center gap-2" };
|
|
276
|
-
const _hoisted_5 = {
|
|
277
|
-
key: 0,
|
|
278
|
-
class: "mt-2 flex flex-wrap gap-2"
|
|
279
|
-
};
|
|
280
|
-
const _hoisted_6 = ["innerHTML"];
|
|
281
|
-
const _hoisted_7 = ["id"];
|
|
282
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
283
|
-
__name: "SelectExtended",
|
|
284
|
-
props: {
|
|
285
|
-
addOnly: { type: Boolean, default: false },
|
|
286
|
-
disabled: { type: Boolean },
|
|
287
|
-
label: {},
|
|
288
|
-
labelScreenReaderOnly: { type: Boolean },
|
|
289
|
-
inputModel: {},
|
|
290
|
-
singleModelValue: {},
|
|
291
|
-
multiModelValue: {},
|
|
292
|
-
options: { default: () => [] },
|
|
293
|
-
optionsOrder: { default: () => ["asc", "asc"] },
|
|
294
|
-
optionsOrderProperties: { default: () => ["group", "label"] },
|
|
295
|
-
required: { type: Boolean, default: false },
|
|
296
|
-
rootClass: {},
|
|
297
|
-
size: { default: "md" },
|
|
298
|
-
withChips: { type: Boolean, default: false },
|
|
299
|
-
error: {},
|
|
300
|
-
hasReset: { type: Boolean },
|
|
301
|
-
name: {},
|
|
302
|
-
hasLargeDropdown: { type: Boolean, default: false },
|
|
303
|
-
showSuffixInClosedInput: { type: Boolean },
|
|
304
|
-
showSuffixLabelInInput: { type: Boolean },
|
|
305
|
-
showSubLabelInInput: { type: Boolean, default: false },
|
|
306
|
-
condensed: { type: Boolean },
|
|
307
|
-
form: {},
|
|
308
|
-
isInputReadOnly: { type: Boolean, default: true },
|
|
309
|
-
textContent: { default: () => ({
|
|
310
|
-
placeholderSingleOpen: "Search",
|
|
311
|
-
placeholderSingleEmpty: "Select an option",
|
|
312
|
-
placeholderMultipleOpen: "Search",
|
|
313
|
-
placeholderMultipleEmpty: "Select one or more options",
|
|
314
|
-
buttonAddLabel: "Add",
|
|
315
|
-
buttonClearLabel: "Reset",
|
|
316
|
-
buttonDoneLabel: "Done"
|
|
317
|
-
}) }
|
|
318
|
-
},
|
|
319
|
-
emits: ["update:inputModel", "update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"],
|
|
320
|
-
setup(__props, { emit: __emit }) {
|
|
321
|
-
var _a;
|
|
322
|
-
const props = __props;
|
|
323
|
-
const emit = __emit;
|
|
324
|
-
const instanceProps = (_a = getCurrentInstance()) == null ? void 0 : _a.vnode.props;
|
|
325
|
-
const inputModel = useVModel(props, "inputModel", emit);
|
|
326
|
-
const singleModel = useVModel(props, "singleModelValue", emit);
|
|
327
|
-
const multiModel = useVModel(props, "multiModelValue", emit);
|
|
328
|
-
const initialValues = computed(() => {
|
|
329
|
-
if (allowsMultipleValues.value) {
|
|
330
|
-
return multiModel.value ?? [];
|
|
331
|
-
}
|
|
332
|
-
return singleModel.value ? [singleModel.value] : [];
|
|
333
|
-
});
|
|
334
|
-
const unappliedMultiModel = ref(props.multiModelValue ?? []);
|
|
335
|
-
const allowsMultipleValues = computed(() => Array.isArray(props.multiModelValue));
|
|
336
|
-
const derivedModel = computed({
|
|
337
|
-
get: () => {
|
|
338
|
-
if (allowsMultipleValues.value) {
|
|
339
|
-
return unappliedMultiModel.value ?? [];
|
|
340
|
-
}
|
|
341
|
-
if (typeof singleModel.value === "string") {
|
|
342
|
-
return [singleModel.value];
|
|
343
|
-
}
|
|
344
|
-
return [];
|
|
345
|
-
},
|
|
346
|
-
set(value) {
|
|
347
|
-
if (allowsMultipleValues.value) {
|
|
348
|
-
unappliedMultiModel.value = value;
|
|
349
|
-
} else {
|
|
350
|
-
singleModel.value = (value == null ? void 0 : value[0]) ?? "";
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
const isOpen = ref(false);
|
|
355
|
-
const isMounted = useIsMounted();
|
|
356
|
-
const optionsRef = ref();
|
|
357
|
-
const wrapperRef = ref();
|
|
358
|
-
const teleportTarget = inject(SEARCH_SELECT_TELEPORT_TARGET);
|
|
359
|
-
const getSelectedItems = (selectedValue) => props.options.filter((option) => selectedValue.some((value) => option.value === value));
|
|
360
|
-
const selectedItems = computed(() => getSelectedItems(derivedModel.value));
|
|
361
|
-
const firstSelectedItem = computed(() => selectedItems.value[0]);
|
|
362
|
-
const firstSelectedOption = computed(() => selectedOptions.value[0]);
|
|
363
|
-
const hasPrefixComponent = computed(
|
|
364
|
-
() => {
|
|
365
|
-
var _a2;
|
|
366
|
-
return !isOpen.value && !allowsMultipleValues.value && ((_a2 = firstSelectedItem.value) == null ? void 0 : _a2.labelPrefixComponent);
|
|
367
|
-
}
|
|
368
|
-
);
|
|
369
|
-
const hasAddOptionListener = !!(instanceProps == null ? void 0 : instanceProps["onAddOption"]);
|
|
370
|
-
const handleAddOption = () => {
|
|
371
|
-
emit("add-option");
|
|
372
|
-
handleClose();
|
|
373
|
-
};
|
|
374
|
-
const placeholder = computed(() => {
|
|
375
|
-
var _a2, _b, _c, _d;
|
|
376
|
-
if (!allowsMultipleValues.value) {
|
|
377
|
-
if (firstSelectedItem.value) {
|
|
378
|
-
return (_a2 = firstSelectedItem.value) == null ? void 0 : _a2.label;
|
|
379
|
-
} else if (selectedItems.value.length === 0) {
|
|
380
|
-
return props.textContent.placeholderSingleEmpty;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
if (allowsMultipleValues.value) {
|
|
384
|
-
if (selectedItems.value.length === 1) {
|
|
385
|
-
return (_b = firstSelectedItem.value) == null ? void 0 : _b.label;
|
|
386
|
-
}
|
|
387
|
-
if (selectedItems.value.length >= 2) {
|
|
388
|
-
return `${(_c = firstSelectedItem.value) == null ? void 0 : _c.label} +${selectedItems.value.length - 1}`;
|
|
389
|
-
}
|
|
390
|
-
if (selectedItems.value.length === 0) {
|
|
391
|
-
return props.textContent.placeholderMultipleEmpty;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
return (_d = firstSelectedOption.value) == null ? void 0 : _d.label;
|
|
395
|
-
});
|
|
396
|
-
const handleClose = () => {
|
|
397
|
-
if (allowsMultipleValues.value) ;
|
|
398
|
-
isOpen.value = false;
|
|
399
|
-
};
|
|
400
|
-
const handleChange = ({
|
|
401
|
-
value,
|
|
402
|
-
checked
|
|
403
|
-
}) => {
|
|
404
|
-
let updatedValue;
|
|
405
|
-
if (allowsMultipleValues.value) {
|
|
406
|
-
updatedValue = checked ? [...derivedModel.value, value] : derivedModel.value.filter((selectedValue) => selectedValue !== value);
|
|
407
|
-
} else {
|
|
408
|
-
updatedValue = [value];
|
|
409
|
-
isOpen.value = false;
|
|
410
|
-
}
|
|
411
|
-
derivedModel.value = updatedValue;
|
|
412
|
-
emit("change");
|
|
413
|
-
};
|
|
414
|
-
const canReset = computed(() => {
|
|
415
|
-
if (props.addOnly && !isEqual(unappliedMultiModel.value, props.multiModelValue)) {
|
|
416
|
-
return true;
|
|
417
|
-
}
|
|
418
|
-
if (!props.addOnly && derivedModel.value.length > 0 && !props.disabled && !(derivedModel.value.length === 1 && derivedModel.value[0] === "")) {
|
|
419
|
-
return true;
|
|
420
|
-
}
|
|
421
|
-
return false;
|
|
422
|
-
});
|
|
423
|
-
const handleReset = () => {
|
|
424
|
-
if (props.addOnly) {
|
|
425
|
-
unappliedMultiModel.value = initialValues.value;
|
|
426
|
-
inputModel.value = "";
|
|
427
|
-
handleClose();
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
derivedModel.value = [];
|
|
431
|
-
unappliedMultiModel.value = [];
|
|
432
|
-
if (inputModel.value) {
|
|
433
|
-
inputModel.value = "";
|
|
434
|
-
}
|
|
435
|
-
handleClose();
|
|
436
|
-
};
|
|
437
|
-
const getFocusableElements = () => {
|
|
438
|
-
if (!optionsRef.value) return [];
|
|
439
|
-
return Array.from(
|
|
440
|
-
optionsRef.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
|
|
441
|
-
);
|
|
442
|
-
};
|
|
443
|
-
const getDeepActiveElement = () => {
|
|
444
|
-
var _a2;
|
|
445
|
-
let active = document.activeElement;
|
|
446
|
-
while ((_a2 = active == null ? void 0 : active.shadowRoot) == null ? void 0 : _a2.activeElement) {
|
|
447
|
-
active = active.shadowRoot.activeElement;
|
|
448
|
-
}
|
|
449
|
-
return active;
|
|
450
|
-
};
|
|
451
|
-
const getInputElement = () => {
|
|
452
|
-
if (!wrapperRef.value) return null;
|
|
453
|
-
let input = wrapperRef.value.querySelector("input");
|
|
454
|
-
if (input) return input;
|
|
455
|
-
const shadowRoots = wrapperRef.value.querySelectorAll("*");
|
|
456
|
-
for (const el of shadowRoots) {
|
|
457
|
-
if (el.shadowRoot) {
|
|
458
|
-
input = el.shadowRoot.querySelector("input");
|
|
459
|
-
if (input) return input;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
return null;
|
|
463
|
-
};
|
|
464
|
-
const handleWrapperKeyDown = (event) => {
|
|
465
|
-
var _a2, _b;
|
|
466
|
-
if (!isOpen.value) return;
|
|
467
|
-
const focusableElements = getFocusableElements();
|
|
468
|
-
const input = getInputElement();
|
|
469
|
-
const activeElement = getDeepActiveElement();
|
|
470
|
-
const isInputFocused = activeElement === input;
|
|
471
|
-
if (!isInputFocused) return;
|
|
472
|
-
switch (event.key) {
|
|
473
|
-
case "ArrowDown":
|
|
474
|
-
if (focusableElements.length > 0) {
|
|
475
|
-
event.preventDefault();
|
|
476
|
-
(_a2 = focusableElements[0]) == null ? void 0 : _a2.focus();
|
|
477
|
-
}
|
|
478
|
-
break;
|
|
479
|
-
case "Tab":
|
|
480
|
-
if (!event.shiftKey && focusableElements.length > 0) {
|
|
481
|
-
event.preventDefault();
|
|
482
|
-
(_b = focusableElements[0]) == null ? void 0 : _b.focus();
|
|
483
|
-
}
|
|
484
|
-
break;
|
|
485
|
-
case "Escape":
|
|
486
|
-
event.preventDefault();
|
|
487
|
-
handleClose();
|
|
488
|
-
break;
|
|
489
|
-
}
|
|
490
|
-
};
|
|
491
|
-
const handleOptionsKeyDown = (event) => {
|
|
492
|
-
var _a2, _b, _c, _d;
|
|
493
|
-
const focusableElements = getFocusableElements();
|
|
494
|
-
const activeElement = getDeepActiveElement();
|
|
495
|
-
const currentIndex = focusableElements.indexOf(activeElement);
|
|
496
|
-
const input = getInputElement();
|
|
497
|
-
switch (event.key) {
|
|
498
|
-
case "ArrowDown":
|
|
499
|
-
if (currentIndex < focusableElements.length - 1) {
|
|
500
|
-
event.preventDefault();
|
|
501
|
-
(_a2 = focusableElements[currentIndex + 1]) == null ? void 0 : _a2.focus();
|
|
502
|
-
}
|
|
503
|
-
break;
|
|
504
|
-
case "ArrowUp":
|
|
505
|
-
event.preventDefault();
|
|
506
|
-
if (currentIndex <= 0) {
|
|
507
|
-
input == null ? void 0 : input.focus();
|
|
508
|
-
} else {
|
|
509
|
-
(_b = focusableElements[currentIndex - 1]) == null ? void 0 : _b.focus();
|
|
510
|
-
}
|
|
511
|
-
break;
|
|
512
|
-
case "Tab":
|
|
513
|
-
if (event.shiftKey) {
|
|
514
|
-
if (currentIndex <= 0) {
|
|
515
|
-
event.preventDefault();
|
|
516
|
-
input == null ? void 0 : input.focus();
|
|
517
|
-
} else {
|
|
518
|
-
event.preventDefault();
|
|
519
|
-
(_c = focusableElements[currentIndex - 1]) == null ? void 0 : _c.focus();
|
|
520
|
-
}
|
|
521
|
-
} else {
|
|
522
|
-
if (currentIndex >= focusableElements.length - 1) {
|
|
523
|
-
event.preventDefault();
|
|
524
|
-
handleClose();
|
|
525
|
-
input == null ? void 0 : input.focus();
|
|
526
|
-
} else {
|
|
527
|
-
event.preventDefault();
|
|
528
|
-
(_d = focusableElements[currentIndex + 1]) == null ? void 0 : _d.focus();
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
break;
|
|
532
|
-
case "Escape":
|
|
533
|
-
event.preventDefault();
|
|
534
|
-
handleClose();
|
|
535
|
-
nextTick(() => {
|
|
536
|
-
input == null ? void 0 : input.focus();
|
|
537
|
-
});
|
|
538
|
-
break;
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
const handleClickOutside = (event) => {
|
|
542
|
-
const path = event.composedPath();
|
|
543
|
-
if (optionsRef.value && path.includes(optionsRef.value) || wrapperRef.value && path.includes(wrapperRef.value)) {
|
|
544
|
-
return;
|
|
545
|
-
}
|
|
546
|
-
if (isOpen.value) {
|
|
547
|
-
handleClose();
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
useEventListener("mousedown", handleClickOutside);
|
|
551
|
-
const { floatingStyles } = useFloating(wrapperRef, optionsRef, {
|
|
552
|
-
whileElementsMounted: autoUpdate,
|
|
553
|
-
placement: "bottom",
|
|
554
|
-
middleware: [
|
|
555
|
-
offset(4),
|
|
556
|
-
flip({
|
|
557
|
-
mainAxis: true
|
|
558
|
-
})
|
|
559
|
-
]
|
|
560
|
-
});
|
|
561
|
-
const optionsId = uniqueId(`search-select-options-`);
|
|
562
|
-
const { width } = useElementSize(wrapperRef);
|
|
563
|
-
const focusInput = () => {
|
|
564
|
-
const input = getInputElement();
|
|
565
|
-
if (input) {
|
|
566
|
-
input.focus();
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
const processedOptions = computed(() => {
|
|
570
|
-
return props.options.map((item) => {
|
|
571
|
-
return {
|
|
572
|
-
...item,
|
|
573
|
-
checked: selectedItems.value.some((selectedItem) => selectedItem.value === item.value),
|
|
574
|
-
disabled: props.disabled || !props.disabled && props.addOnly && !!initialValues.value.includes(item.value)
|
|
575
|
-
};
|
|
576
|
-
});
|
|
577
|
-
});
|
|
578
|
-
const selectedOptions = computed(
|
|
579
|
-
() => processedOptions.value.filter((option) => {
|
|
580
|
-
var _a2;
|
|
581
|
-
return (_a2 = derivedModel.value) == null ? void 0 : _a2.includes(option.value);
|
|
582
|
-
})
|
|
583
|
-
);
|
|
584
|
-
return (_ctx, _cache) => {
|
|
585
|
-
var _a2;
|
|
586
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
587
|
-
createElementVNode("div", {
|
|
588
|
-
ref_key: "wrapperRef",
|
|
589
|
-
ref: wrapperRef,
|
|
590
|
-
class: normalizeClass(["relative flex items-end", {
|
|
591
|
-
rootClass: __props.rootClass,
|
|
592
|
-
"z-30": isOpen.value,
|
|
593
|
-
"cursor-text": !__props.disabled
|
|
594
|
-
}]),
|
|
595
|
-
role: "combobox",
|
|
596
|
-
"aria-expanded": isOpen.value,
|
|
597
|
-
"aria-haspopup": true,
|
|
598
|
-
"aria-controls": unref(optionsId),
|
|
599
|
-
onKeydown: handleWrapperKeyDown,
|
|
600
|
-
onClick: focusInput
|
|
601
|
-
}, [
|
|
602
|
-
createVNode(unref(_sfc_main$9), {
|
|
603
|
-
modelValue: unref(inputModel),
|
|
604
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputModel) ? inputModel.value = $event : null),
|
|
605
|
-
readonly: __props.isInputReadOnly,
|
|
606
|
-
required: __props.required,
|
|
607
|
-
label: __props.label,
|
|
608
|
-
name: __props.name,
|
|
609
|
-
form: __props.form,
|
|
610
|
-
"label-screen-reader-only": __props.labelScreenReaderOnly,
|
|
611
|
-
placeholder: placeholder.value,
|
|
612
|
-
class: normalizeClass(["grow !outline-none", { "cursor-default": __props.isInputReadOnly }]),
|
|
613
|
-
"wrapper-class": {
|
|
614
|
-
"border-transparent border-b-gray-200 focus-within:border-b relative z-10": isOpen.value
|
|
615
|
-
},
|
|
616
|
-
"input-class": !isOpen.value && (!allowsMultipleValues.value && unref(singleModel) || allowsMultipleValues.value && !unref(isEmpty)(__props.multiModelValue)) ? "placeholder:text-default" : "",
|
|
617
|
-
"suffix-class": "border-l-0 pl-0",
|
|
618
|
-
disabled: __props.disabled,
|
|
619
|
-
size: __props.size,
|
|
620
|
-
error: __props.error,
|
|
621
|
-
"prefix-has-border": false,
|
|
622
|
-
"aria-autocomplete": "list",
|
|
623
|
-
onFocus: _cache[1] || (_cache[1] = () => isOpen.value = true),
|
|
624
|
-
onBlur: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("blur"))
|
|
625
|
-
}, createSlots({
|
|
626
|
-
"label-suffix": withCtx(() => [
|
|
627
|
-
renderSlot(_ctx.$slots, "label-suffix")
|
|
628
|
-
]),
|
|
629
|
-
suffix: withCtx(() => {
|
|
630
|
-
var _a3, _b;
|
|
631
|
-
return [
|
|
632
|
-
createElementVNode("div", _hoisted_4, [
|
|
633
|
-
!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),
|
|
634
|
-
!isOpen.value && !allowsMultipleValues.value && ((_b = firstSelectedItem.value) == null ? void 0 : _b.labelSuffixComponent) && __props.showSuffixInClosedInput ? (openBlock(), createBlock(resolveDynamicComponent(firstSelectedItem.value.labelSuffixComponent.component), normalizeProps(mergeProps({ key: 1 }, firstSelectedItem.value.labelSuffixComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
635
|
-
!!unref(inputModel) || canReset.value && __props.hasReset ? (openBlock(), createBlock(_sfc_main$a, {
|
|
636
|
-
key: 2,
|
|
637
|
-
icon: "close",
|
|
638
|
-
size: "xs",
|
|
639
|
-
intent: "subtle",
|
|
640
|
-
type: "button",
|
|
641
|
-
onClick: handleReset
|
|
642
|
-
})) : createCommentVNode("", true),
|
|
643
|
-
createVNode(_sfc_main$b, {
|
|
644
|
-
icon: "keyboard_arrow_down",
|
|
645
|
-
size: "xs",
|
|
646
|
-
class: normalizeClass(["transition-transform", { "rotate-180": isOpen.value }])
|
|
647
|
-
}, null, 8, ["class"])
|
|
648
|
-
])
|
|
649
|
-
];
|
|
650
|
-
}),
|
|
651
|
-
_: 2
|
|
652
|
-
}, [
|
|
653
|
-
__props.showSubLabelInInput && ((_a2 = firstSelectedItem.value) == null ? void 0 : _a2.subLabel) ? {
|
|
654
|
-
name: "input",
|
|
655
|
-
fn: withCtx(() => [
|
|
656
|
-
createElementVNode("div", {
|
|
657
|
-
class: normalizeClass(["pointer-events-none absolute inset-0 bg-white", { "px-4 py-3": __props.size === "xl" }])
|
|
658
|
-
}, [
|
|
659
|
-
createVNode(_sfc_main$8, {
|
|
660
|
-
tag: "span",
|
|
661
|
-
class: "block",
|
|
662
|
-
variant: "body-sm",
|
|
663
|
-
weight: "semibold"
|
|
664
|
-
}, {
|
|
665
|
-
default: withCtx(() => {
|
|
666
|
-
var _a3;
|
|
667
|
-
return [
|
|
668
|
-
createTextVNode(toDisplayString((_a3 = firstSelectedItem.value) == null ? void 0 : _a3.label), 1)
|
|
669
|
-
];
|
|
670
|
-
}),
|
|
671
|
-
_: 1
|
|
672
|
-
}),
|
|
673
|
-
createVNode(_sfc_main$8, {
|
|
674
|
-
tag: "span",
|
|
675
|
-
class: "block",
|
|
676
|
-
variant: "body-xs",
|
|
677
|
-
color: "secondary"
|
|
678
|
-
}, {
|
|
679
|
-
default: withCtx(() => {
|
|
680
|
-
var _a3;
|
|
681
|
-
return [
|
|
682
|
-
createTextVNode(toDisplayString((_a3 = firstSelectedItem.value) == null ? void 0 : _a3.subLabel), 1)
|
|
683
|
-
];
|
|
684
|
-
}),
|
|
685
|
-
_: 1
|
|
686
|
-
})
|
|
687
|
-
], 2)
|
|
688
|
-
]),
|
|
689
|
-
key: "0"
|
|
690
|
-
} : void 0,
|
|
691
|
-
_ctx.$slots.tooltip ? {
|
|
692
|
-
name: "tooltip",
|
|
693
|
-
fn: withCtx(() => [
|
|
694
|
-
renderSlot(_ctx.$slots, "tooltip")
|
|
695
|
-
]),
|
|
696
|
-
key: "1"
|
|
697
|
-
} : void 0,
|
|
698
|
-
hasPrefixComponent.value || _ctx.$slots.prefix ? {
|
|
699
|
-
name: "prefix",
|
|
700
|
-
fn: withCtx(() => {
|
|
701
|
-
var _a3;
|
|
702
|
-
return [
|
|
703
|
-
createElementVNode("div", _hoisted_2$3, [
|
|
704
|
-
_ctx.$slots.prefix ? renderSlot(_ctx.$slots, "prefix", {}, void 0, void 0, 0) : hasPrefixComponent.value && ((_a3 = firstSelectedItem.value) == null ? void 0 : _a3.labelPrefixComponent) ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
705
|
-
(openBlock(), createBlock(resolveDynamicComponent(firstSelectedItem.value.labelPrefixComponent.component), normalizeProps(guardReactiveProps(firstSelectedItem.value.labelPrefixComponent.props)), null, 16))
|
|
706
|
-
])) : createCommentVNode("", true)
|
|
707
|
-
])
|
|
708
|
-
];
|
|
709
|
-
}),
|
|
710
|
-
key: "2"
|
|
711
|
-
} : void 0,
|
|
712
|
-
_ctx.$slots.helper ? {
|
|
713
|
-
name: "helper",
|
|
714
|
-
fn: withCtx(() => [
|
|
715
|
-
renderSlot(_ctx.$slots, "helper")
|
|
716
|
-
]),
|
|
717
|
-
key: "3"
|
|
718
|
-
} : void 0
|
|
719
|
-
]), 1032, ["modelValue", "readonly", "required", "label", "name", "form", "label-screen-reader-only", "placeholder", "wrapper-class", "input-class", "class", "disabled", "size", "error"])
|
|
720
|
-
], 42, _hoisted_1$3),
|
|
721
|
-
__props.withChips ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
722
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(selectedOptions.value, ({ value, label, disabled }) => {
|
|
723
|
-
return openBlock(), createBlock(_sfc_main$c, {
|
|
724
|
-
key: value,
|
|
725
|
-
removable: !disabled,
|
|
726
|
-
onRemoved: ($event) => handleChange({ value, checked: false })
|
|
727
|
-
}, {
|
|
728
|
-
default: withCtx(() => [
|
|
729
|
-
createElementVNode("span", { innerHTML: label }, null, 8, _hoisted_6)
|
|
730
|
-
]),
|
|
731
|
-
_: 2
|
|
732
|
-
}, 1032, ["removable", "onRemoved"]);
|
|
733
|
-
}), 128))
|
|
734
|
-
])) : createCommentVNode("", true),
|
|
735
|
-
unref(isMounted) && unref(teleportTarget) ? (openBlock(), createBlock(Teleport, {
|
|
736
|
-
key: 1,
|
|
737
|
-
to: unref(teleportTarget)
|
|
738
|
-
}, [
|
|
739
|
-
isOpen.value && !__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
740
|
-
key: 0,
|
|
741
|
-
id: unref(optionsId),
|
|
742
|
-
ref_key: "optionsRef",
|
|
743
|
-
ref: optionsRef,
|
|
744
|
-
role: "listbox",
|
|
745
|
-
style: normalizeStyle(unref(floatingStyles)),
|
|
746
|
-
class: "z-70 rounded bg-white drop-shadow-md",
|
|
747
|
-
onMouseenter: _cache[3] || (_cache[3] = ($event) => isOpen.value = true),
|
|
748
|
-
onKeydown: handleOptionsKeyDown
|
|
749
|
-
}, [
|
|
750
|
-
createElementVNode("div", {
|
|
751
|
-
class: "rounded pt-0",
|
|
752
|
-
style: normalizeStyle({ width: `${unref(width)}px` })
|
|
753
|
-
}, [
|
|
754
|
-
createVNode(_sfc_main$4, {
|
|
755
|
-
options: processedOptions.value,
|
|
756
|
-
multiple: allowsMultipleValues.value,
|
|
757
|
-
model: derivedModel.value,
|
|
758
|
-
"add-only": __props.addOnly,
|
|
759
|
-
"allows-multiple-values": !!allowsMultipleValues.value,
|
|
760
|
-
condensed: __props.condensed,
|
|
761
|
-
"has-large-dropdown": __props.hasLargeDropdown,
|
|
762
|
-
"input-value": unref(inputModel),
|
|
763
|
-
onValueChanged: handleChange
|
|
764
|
-
}, {
|
|
765
|
-
"list-footer-content": withCtx(() => [
|
|
766
|
-
hasAddOptionListener ? (openBlock(), createBlock(_sfc_main$d, {
|
|
767
|
-
key: 0,
|
|
768
|
-
intent: "subtle",
|
|
769
|
-
class: "w-full",
|
|
770
|
-
type: "button",
|
|
771
|
-
"icon-prefix": "add",
|
|
772
|
-
onClick: handleAddOption
|
|
773
|
-
}, {
|
|
774
|
-
default: withCtx(() => [
|
|
775
|
-
createTextVNode(toDisplayString(__props.textContent.buttonAddLabel), 1)
|
|
776
|
-
]),
|
|
777
|
-
_: 1
|
|
778
|
-
})) : createCommentVNode("", true),
|
|
779
|
-
allowsMultipleValues.value ? (openBlock(), createElementBlock("div", {
|
|
780
|
-
key: 1,
|
|
781
|
-
class: normalizeClass(["flex items-center justify-between", { "py-2": !_ctx.$slots["list-footer-content"] }])
|
|
782
|
-
}, [
|
|
783
|
-
canReset.value ? (openBlock(), createBlock(_sfc_main$d, {
|
|
784
|
-
key: 0,
|
|
785
|
-
type: "button",
|
|
786
|
-
intent: "subtle",
|
|
787
|
-
size: "sm",
|
|
788
|
-
class: "ml-2",
|
|
789
|
-
onClick: handleReset
|
|
790
|
-
}, {
|
|
791
|
-
default: withCtx(() => [
|
|
792
|
-
createTextVNode(toDisplayString(__props.textContent.buttonClearLabel), 1)
|
|
793
|
-
]),
|
|
794
|
-
_: 1
|
|
795
|
-
})) : createCommentVNode("", true),
|
|
796
|
-
createElementVNode("div", null, [
|
|
797
|
-
renderSlot(_ctx.$slots, "list-footer-content")
|
|
798
|
-
]),
|
|
799
|
-
createVNode(_sfc_main$d, {
|
|
800
|
-
type: "button",
|
|
801
|
-
size: "sm",
|
|
802
|
-
class: "mr-2",
|
|
803
|
-
"data-testid": unref(DONE_BUTTON_TEST_ID),
|
|
804
|
-
onClick: handleClose
|
|
805
|
-
}, {
|
|
806
|
-
default: withCtx(() => [
|
|
807
|
-
createTextVNode(toDisplayString(__props.textContent.buttonDoneLabel), 1)
|
|
808
|
-
]),
|
|
809
|
-
_: 1
|
|
810
|
-
}, 8, ["data-testid"])
|
|
811
|
-
], 2)) : renderSlot(_ctx.$slots, "list-footer-content", {}, void 0, void 0, 2)
|
|
812
|
-
]),
|
|
813
|
-
_: 3
|
|
814
|
-
}, 8, ["options", "multiple", "model", "add-only", "allows-multiple-values", "condensed", "has-large-dropdown", "input-value"])
|
|
815
|
-
], 4)
|
|
816
|
-
], 44, _hoisted_7)) : createCommentVNode("", true)
|
|
817
|
-
], 8, ["to"])) : createCommentVNode("", true)
|
|
818
|
-
], 64);
|
|
819
|
-
};
|
|
820
|
-
}
|
|
821
|
-
});
|
|
822
|
-
const _hoisted_1$2 = { class: "flex gap-4 border-l-2 border-primary-600 px-2" };
|
|
823
|
-
const _hoisted_2$2 = { class: "grow" };
|
|
824
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
825
|
-
__name: "PricingGroupTitle",
|
|
826
|
-
setup(__props) {
|
|
827
|
-
return (_ctx, _cache) => {
|
|
828
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
829
|
-
createElementVNode("div", _hoisted_2$2, [
|
|
830
|
-
createVNode(unref(_sfc_main$8), {
|
|
831
|
-
tag: "span",
|
|
832
|
-
variant: "body-sm",
|
|
833
|
-
weight: "semibold"
|
|
834
|
-
}, {
|
|
835
|
-
default: withCtx(() => [
|
|
836
|
-
renderSlot(_ctx.$slots, "title")
|
|
837
|
-
]),
|
|
838
|
-
_: 3
|
|
839
|
-
})
|
|
840
|
-
]),
|
|
841
|
-
createElementVNode("div", null, [
|
|
842
|
-
createVNode(unref(_sfc_main$8), {
|
|
843
|
-
tag: "span",
|
|
844
|
-
variant: "body-xs",
|
|
845
|
-
color: "subtle"
|
|
846
|
-
}, {
|
|
847
|
-
default: withCtx(() => [
|
|
848
|
-
renderSlot(_ctx.$slots, "description")
|
|
849
|
-
]),
|
|
850
|
-
_: 3
|
|
851
|
-
})
|
|
852
|
-
])
|
|
853
|
-
]);
|
|
854
|
-
};
|
|
855
|
-
}
|
|
856
|
-
});
|
|
857
|
-
function usePricingDescription({
|
|
858
|
-
currency,
|
|
859
|
-
billingPeriod
|
|
860
|
-
}) {
|
|
861
|
-
const { $t } = useIntl();
|
|
862
|
-
const { renderPricingForPricingItem } = usePricingItem({ currency, billingPeriod });
|
|
863
|
-
const describePricing = (pricing) => {
|
|
864
|
-
var _a;
|
|
865
|
-
const pricingItem = (_a = pricing.items) == null ? void 0 : _a[0];
|
|
866
|
-
return pricingItem ? renderPricingForPricingItem({ pricingItem }) : $t({
|
|
867
|
-
defaultMessage: "Unsupported pricing",
|
|
868
|
-
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
869
|
-
description: "Text displayed when the pricing item pricing is unsupported"
|
|
870
|
-
});
|
|
871
|
-
};
|
|
872
|
-
return { describePricing, renderPricingForPricingItem };
|
|
873
|
-
}
|
|
874
|
-
const _hoisted_1$1 = { class: "p-1" };
|
|
875
|
-
const _hoisted_2$1 = { class: "pt-1" };
|
|
876
|
-
const SHOW_RADIO_GROUP_MAX_OPTIONS = 3;
|
|
877
|
-
const SHOW_SELECT_MAX_OPTIONS = 6;
|
|
878
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
879
|
-
__name: "PricingGroupSingleEditor",
|
|
880
|
-
props: /* @__PURE__ */ mergeModels({
|
|
881
|
-
modelValue: { type: Array },
|
|
882
|
-
pricings: { type: Array },
|
|
883
|
-
billingPeriod: { type: Object },
|
|
884
|
-
currency: { type: String },
|
|
885
|
-
groupName: { type: String }
|
|
886
|
-
}, {
|
|
887
|
-
"modelValue": {
|
|
888
|
-
required: true
|
|
889
|
-
},
|
|
890
|
-
"modelModifiers": {}
|
|
891
|
-
}),
|
|
892
|
-
emits: ["update:modelValue"],
|
|
893
|
-
setup(__props) {
|
|
894
|
-
const props = __props;
|
|
895
|
-
const model = useModel(__props, "modelValue");
|
|
896
|
-
const { describePricing } = usePricingDescription({
|
|
897
|
-
currency: toRef(props, "currency"),
|
|
898
|
-
billingPeriod: toRef(props, "billingPeriod")
|
|
899
|
-
});
|
|
900
|
-
const { isMobileViewport } = useViewport();
|
|
901
|
-
const groupPricingIds = computed(() => props.pricings.map((pricing) => pricing.id));
|
|
902
|
-
const singleModelValue = computed({
|
|
903
|
-
get: () => {
|
|
904
|
-
return model.value.find((id) => groupPricingIds.value.includes(id)) ?? void 0;
|
|
905
|
-
},
|
|
906
|
-
set: (value) => {
|
|
907
|
-
const filteredPricingIds = model.value.filter((id) => !groupPricingIds.value.includes(id));
|
|
908
|
-
model.value = value ? [...filteredPricingIds, value] : filteredPricingIds;
|
|
909
|
-
}
|
|
910
|
-
});
|
|
911
|
-
const options = computed(() => {
|
|
912
|
-
return props.pricings.map((pricing) => ({
|
|
913
|
-
label: getNameFromPricing(pricing) ?? "",
|
|
914
|
-
value: pricing.id,
|
|
915
|
-
description: describePricing(pricing)
|
|
916
|
-
}));
|
|
917
|
-
});
|
|
918
|
-
const getRadioGroupOptions = () => {
|
|
919
|
-
return options.value.slice(0, SHOW_RADIO_GROUP_MAX_OPTIONS);
|
|
920
|
-
};
|
|
921
|
-
const getSelectOptions = () => {
|
|
922
|
-
return options.value.map(({ value, label, description: subLabel }) => ({
|
|
923
|
-
label,
|
|
924
|
-
subLabel,
|
|
925
|
-
value
|
|
926
|
-
}));
|
|
927
|
-
};
|
|
928
|
-
return (_ctx, _cache) => {
|
|
929
|
-
return openBlock(), createBlock(unref(_sfc_main$e), { "no-spacing": "" }, {
|
|
930
|
-
default: withCtx(() => [
|
|
931
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
932
|
-
createVNode(_sfc_main$2, null, {
|
|
933
|
-
title: withCtx(() => [
|
|
934
|
-
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
935
|
-
]),
|
|
936
|
-
_: 1
|
|
937
|
-
}),
|
|
938
|
-
createElementVNode("div", _hoisted_2$1, [
|
|
939
|
-
options.value.length <= SHOW_RADIO_GROUP_MAX_OPTIONS ? (openBlock(), createBlock(unref(_sfc_main$f), {
|
|
940
|
-
key: 0,
|
|
941
|
-
modelValue: singleModelValue.value,
|
|
942
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => singleModelValue.value = $event),
|
|
943
|
-
options: getRadioGroupOptions(),
|
|
944
|
-
direction: unref(isMobileViewport) ? "column" : "row",
|
|
945
|
-
"show-radio": false
|
|
946
|
-
}, null, 8, ["modelValue", "options", "direction"])) : options.value.length <= SHOW_SELECT_MAX_OPTIONS ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
947
|
-
key: 1,
|
|
948
|
-
"single-model-value": singleModelValue.value,
|
|
949
|
-
"onUpdate:singleModelValue": _cache[1] || (_cache[1] = ($event) => singleModelValue.value = $event),
|
|
950
|
-
options: getSelectOptions(),
|
|
951
|
-
size: "xl",
|
|
952
|
-
"show-sub-label-in-input": ""
|
|
953
|
-
}, null, 8, ["single-model-value", "options"])) : (openBlock(), createBlock(unref(_sfc_main$g), {
|
|
954
|
-
key: 2,
|
|
955
|
-
modelValue: singleModelValue.value,
|
|
956
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => singleModelValue.value = $event),
|
|
957
|
-
options: options.value,
|
|
958
|
-
name: `pricing-group-range-input-${__props.groupName}`
|
|
959
|
-
}, null, 8, ["modelValue", "options", "name"]))
|
|
960
|
-
])
|
|
961
|
-
])
|
|
962
|
-
]),
|
|
963
|
-
_: 1
|
|
964
|
-
});
|
|
965
|
-
};
|
|
966
|
-
}
|
|
967
|
-
});
|
|
968
|
-
const adyenLogo = '<svg xmlns="http://www.w3.org/2000/svg" width="40" height="15" fill="none" viewBox="0 0 40 15"><path fill="currentColor" d="M.049 2.917h5.845c.646 0 1.17.522 1.17 1.166v5.834H1.217c-.646 0-1.17-.522-1.17-1.167V5.833h2.924v2.334H4.14v-3.5H.049zm32.735 0v7h2.922v-5.25h1.17v5.25h2.922V4.083c0-.644-.523-1.166-1.169-1.166zm-16.367 9.916h5.845c.646 0 1.17-.522 1.17-1.166v-8.75h-2.924v5.25H19.34v-5.25h-2.922V8.75c0 .645.523 1.167 1.169 1.167h2.922v1.166h-4.091zm15.197-2.916H25.77c-.646 0-1.17-.522-1.17-1.167V2.917h5.846c.646 0 1.17.522 1.17 1.166V7h-2.923V4.667h-1.17v3.5h4.092zM15.248 0v9.917H9.402c-.646 0-1.17-.522-1.17-1.167V4.083c0-.644.524-1.166 1.17-1.166h1.754v5.25h1.169V0z"/></svg>';
|
|
969
|
-
const stripeLogo = '<svg xmlns="http://www.w3.org/2000/svg" width="36" height="15" viewBox="0 0 36 15"><path d="M35.996 7.746c0-2.559-1.238-4.578-3.61-4.578-2.378 0-3.816 2.02-3.816 4.559 0 3.011 1.7 4.53 4.137 4.53 1.191 0 2.09-.269 2.77-.648v-2c-.68.34-1.457.547-2.45.547-.968 0-1.828-.34-1.937-1.52h4.887c0-.128.02-.648.02-.89m-4.937-.95c0-1.128.691-1.597 1.32-1.597.61 0 1.258.469 1.258 1.598ZM24.707 3.168c-.977 0-1.61.46-1.957.781l-.133-.62h-2.199v11.66l2.5-.532.012-2.828c.36.258.89.629 1.77.629 1.788 0 3.417-1.442 3.417-4.61-.008-2.898-1.66-4.48-3.41-4.48m-.598 6.89c-.59 0-.941-.21-1.18-.472l-.011-3.707c.262-.29.621-.492 1.191-.492.91 0 1.54 1.02 1.54 2.332 0 1.34-.622 2.34-1.54 2.34M16.98 2.578l2.508-.539V.008L16.98.539ZM16.98 3.34h2.508v8.746H16.98ZM14.29 4.078l-.161-.738h-2.16v8.746h2.5v-5.93c.59-.77 1.59-.629 1.898-.52V3.34c-.316-.121-1.488-.34-2.078.738M9.29 1.168l-2.438.52-.012 8.011c0 1.48 1.11 2.57 2.59 2.57.82 0 1.418-.152 1.75-.332v-2.03c-.32.132-1.899.59-1.899-.887V5.469h1.899v-2.13H9.28ZM2.531 5.879c0-.39.32-.54.848-.54a5.56 5.56 0 0 1 2.48.638V3.629a6.55 6.55 0 0 0-2.48-.461C1.352 3.168 0 4.227 0 6c0 2.758 3.8 2.316 3.8 3.508 0 .46-.402.61-.96.61-.828 0-1.89-.34-2.73-.802V11.7c.93.399 1.87.57 2.73.57 2.078 0 3.512-1.03 3.512-2.82-.012-2.98-3.82-2.453-3.82-3.57m0 0" style="stroke:none;fill-rule:evenodd;fill:currentColor;fill-opacity:1"/></svg>';
|
|
970
|
-
const _hoisted_1 = { class: "flex justify-around" };
|
|
971
|
-
const _hoisted_2 = { class: "flex items-center gap-0.5" };
|
|
972
|
-
const _hoisted_3 = ["aria-label", "innerHTML"];
|
|
973
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
974
|
-
__name: "SecurePaymentsKPI",
|
|
975
|
-
props: {
|
|
976
|
-
paymentMethodOptions: { type: Array }
|
|
977
|
-
},
|
|
978
|
-
setup(__props) {
|
|
979
|
-
const props = __props;
|
|
980
|
-
const { $t } = useIntl();
|
|
981
|
-
const VENDOR_LOGOS = {
|
|
982
|
-
ADYEN: { svg: adyenLogo, label: "Adyen" },
|
|
983
|
-
STRIPE: { svg: stripeLogo, label: "Stripe" }
|
|
984
|
-
};
|
|
985
|
-
const vendorLogo = computed(() => {
|
|
986
|
-
const entry = props.paymentMethodOptions.find(
|
|
987
|
-
({ integration }) => {
|
|
988
|
-
var _a;
|
|
989
|
-
return ((_a = integration.payment_gateway) == null ? void 0 : _a.variant) != null && integration.payment_gateway.variant in VENDOR_LOGOS;
|
|
990
|
-
}
|
|
991
|
-
);
|
|
992
|
-
return entry ? VENDOR_LOGOS[entry.integration.payment_gateway.variant] : null;
|
|
993
|
-
});
|
|
994
|
-
const securePaymentsText = computed(() => {
|
|
995
|
-
if (vendorLogo.value) {
|
|
996
|
-
return $t({
|
|
997
|
-
defaultMessage: "Secure and encrypted payments by",
|
|
998
|
-
description: "Secure encrypted payments KPI for a specific vendor, followed by a vendor logo",
|
|
999
|
-
id: "secure_payments_kpi.specific_vendor"
|
|
1000
|
-
});
|
|
1001
|
-
}
|
|
1002
|
-
return $t({
|
|
1003
|
-
defaultMessage: "Secure and encrypted payments",
|
|
1004
|
-
description: "Secure encrypted payments KPI",
|
|
1005
|
-
id: "secure_payments_kpi.generic"
|
|
1006
|
-
});
|
|
1007
|
-
});
|
|
1008
|
-
return (_ctx, _cache) => {
|
|
1009
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1010
|
-
createElementVNode("div", _hoisted_2, [
|
|
1011
|
-
createVNode(unref(_sfc_main$b), {
|
|
1012
|
-
icon: "lock",
|
|
1013
|
-
size: "xs"
|
|
1014
|
-
}),
|
|
1015
|
-
createVNode(unref(_sfc_main$8), {
|
|
1016
|
-
tag: "span",
|
|
1017
|
-
variant: "body-xs",
|
|
1018
|
-
color: "subtle"
|
|
1019
|
-
}, {
|
|
1020
|
-
default: withCtx(() => [
|
|
1021
|
-
createElementVNode("span", null, toDisplayString(securePaymentsText.value), 1),
|
|
1022
|
-
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" ") + " ", -1)),
|
|
1023
|
-
vendorLogo.value ? (openBlock(), createElementBlock("span", {
|
|
1024
|
-
key: 0,
|
|
1025
|
-
"aria-label": vendorLogo.value.label,
|
|
1026
|
-
role: "img",
|
|
1027
|
-
class: "inline-block h-[15px] align-middle",
|
|
1028
|
-
innerHTML: vendorLogo.value.svg
|
|
1029
|
-
}, null, 8, _hoisted_3)) : createCommentVNode("", true)
|
|
1030
|
-
]),
|
|
1031
|
-
_: 1
|
|
1032
|
-
})
|
|
1033
|
-
])
|
|
1034
|
-
]);
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
});
|
|
1038
|
-
export {
|
|
1039
|
-
_sfc_main$1 as _,
|
|
1040
|
-
_sfc_main as a,
|
|
1041
|
-
_sfc_main$3 as b,
|
|
1042
|
-
_sfc_main$2 as c,
|
|
1043
|
-
usePricingDescription as u
|
|
1044
|
-
};
|