@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./Section.vue.es-Btff-cLY.js"),g=require("./customElements-Vox1PB6G.js"),w=require("./useTimePeriod.es-CmltiTE-.js"),x=require("./formatting.es-C72Nsrmh.js"),S=require("./Expand.vue.es-BtM0EZEr.js"),B=require("./Button.vue.es-M_jXZda4.js"),N=require("./IconButton.vue.es-BTAkuFsm.js"),P=require("./Input.vue.es-CTOrmrcB.js"),A=require("./Chip.vue.es-G8doKsZb.js"),y=require("./Checkout.entry.ce-C52gkrNZ.js"),z=require("./index-DwueOtPi.js"),V=require("./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js"),E=require("./pricing-BVAld27Y.js"),D=require("./pricingPlanSchedule-BM8vsKkV.js"),$=require("./subscription-ZA62t4E9.js"),q=e.defineComponent({__name:"DeltaChip",props:{oldValue:{},newValue:{},intent:{default:"neutral"},content:{},removable:{type:Boolean},size:{},variant:{},textClass:{},tag:{},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},setup(t){const i=e.createPropsRestProxy(t,["oldValue","newValue","intent"]),n=e.computed(()=>{const o=t.newValue-t.oldValue;return`${o>=0?"+":""}${o}`});return(o,r)=>(e.openBlock(),e.createBlock(e.unref(A._sfc_main),e.mergeProps(i,{intent:t.intent,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1},16,["intent"]))}}),U={class:"flex items-center gap-1.5"},T=e.defineComponent({__name:"StepInput",props:e.mergeModels({step:{default:1},min:{default:0},max:{},initialValue:{default:1},unitName:{},showDelta:{type:Boolean,default:!1},size:{default:"md"},name:{},required:{type:Boolean},label:{},error:{},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),o=e.ref(null),r=e.computed(()=>{if(i.unitName)return i.unitName[n.value===1?"singular":"plural"]}),l=()=>{i.max&&n.value+i.step>i.max||(n.value+=i.step)},c=()=>{n.value-i.step<i.min||(n.value-=i.step)};function a(m){var f;const b=(f=o.value)==null?void 0:f.el;if(!b)return;const v=parseInt(`${m}`);n.value=v,b.innerText=`${v}`,b.focus();const h=document.createRange();h.selectNodeContents(b),h.collapse(!1);const k=window.getSelection();k==null||k.removeAllRanges(),k==null||k.addRange(h)}const p=m=>{const f=m.target;f instanceof HTMLElement&&a(f.innerText)},s=e.computed(()=>i.disabled?!1:i.max?n.value+i.step<i.max:!0),d=e.computed(()=>i.disabled?!1:n.value-i.step>=i.min);function u(){var m;const f=(m=o.value)==null?void 0:m.el;if(!f)return;f.focus();const b=document.createRange();b.selectNodeContents(f);const v=window.getSelection();v==null||v.removeAllRanges(),v==null||v.addRange(b)}return e.onMounted(()=>{var m;const f=(m=o.value)==null?void 0:m.el;f&&(f.innerText=`${n.value}`)}),e.watch(()=>n.value,m=>{a(m)}),(m,f)=>(e.openBlock(),e.createBlock(P._sfc_main,{modelValue:n.value,"onUpdate:modelValue":f[0]||(f[0]=b=>n.value=b),type:"number",class:"text-transparent [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none","prefix-class":{"!px-0 w-5":t.size==="sm","!px-0 w-6":t.size==="md","!px-0 w-7":t.size==="lg"},"suffix-class":{"!px-0 w-5":t.size==="sm","!px-0 w-6":t.size==="md","!px-0 w-7":t.size==="lg"},size:t.size,label:t.label,disabled:t.disabled,name:t.name,required:t.required},e.createSlots({prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute inset-0 flex items-center justify-center",onMousedown:u},[e.createElementVNode("div",U,[e.createVNode(g._sfc_main,{ref_key:"contentEditableRef",ref:o,tag:"span",variant:t.size==="sm"?"body":"body-lg",contenteditable:!t.disabled,class:e.normalizeClass(["outline-none",{"pointer-events-none select-none":t.disabled}]),weight:"semibold",onInput:p},null,8,["variant","contenteditable","class"]),r.value?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,tag:"span",color:"subtle",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(r.value),1)]),_:1})):e.createCommentVNode("",!0),t.showDelta?(e.openBlock(),e.createBlock(q,{key:1,"old-value":i.initialValue,"new-value":n.value,class:"pointer-events-none ml-0.5 select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(N._sfc_main$1,{disabled:!d.value,type:"button",intent:"subtle",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-br-none rounded-tr-none",{"!w-7":t.size==="lg","!w-5":t.size==="sm","!w-6":t.size==="md"}]),icon:"remove",onMousedown:c},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(N._sfc_main$1,{disabled:!s.value,type:"button",intent:"subtle",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-bl-none rounded-tl-none",{"!w-7":t.size==="lg","!w-5":t.size==="sm","!w-6":t.size==="md"}]),icon:"add",onMousedown:l},null,8,["disabled","class"])]),_:2},[m.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required"]))}}),I={class:"grid grid-cols-2 gap-2"},F=e.defineComponent({__name:"TieredTableRow",props:{band:{type:Object},previousBand:{type:Object},isFirst:{type:Boolean},period:{type:Object}},setup(t){const i=t,{$t:n}=g.useIntl(),{formatTimePeriod:o}=w.useTimePeriod(),r=e.computed(()=>{var c;if(i.isFirst)return"0";if((c=i.previousBand)!=null&&c.tier_top_bound&&"number"in i.previousBand.tier_top_bound)return i.previousBand.tier_top_bound.number}),l=e.computed(()=>{if(!(!i.band.tier_top_bound||!("number"in i.band.tier_top_bound)))return i.band.tier_top_bound.number});return(c,a)=>(e.openBlock(),e.createElementBlock("div",I,[e.createVNode(e.unref(g._sfc_main),{variant:"body-xs",color:"subtle",tag:"div"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"{lower_bound} - {upper_bound} seats",id:"seats.tiered_range_label",description:"The label showing the seat count range for a tiered pricing tier"},{lower_bound:r.value??"0",upper_bound:l.value})),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"> {lower_bound} seats",id:"seats.tiered_unbounded_range_label",description:"The label showing the unbounded seat count range (greater than) for a tiered pricing tier"},{lower_bound:r.value??"0"})),1)],64))]),_:1}),e.createVNode(e.unref(g._sfc_main),{variant:"body-xs",color:"subtle",tag:"div",class:"text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.band.amount&&e.unref(n)({defaultMessage:"{amount} per seat/{period}",id:"seats.tiered_price_per_seat_period",description:"The price per seat and billing period label for a tiered pricing tier"},{amount:e.unref(x.formatAmount)(t.band.amount),period:t.period?e.unref(o)(t.period,{short:!0,hideValueForExactPeriods:!0}):""})),1)]),_:1})]))}}),O={class:"grid grid-cols-1 gap-0.5 pt-1.5"},L=e.defineComponent({__name:"TieredTable",props:{bands:{type:Array},period:{type:Object}},setup(t){return(i,n)=>(e.openBlock(),e.createElementBlock("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.bands,(o,r)=>(e.openBlock(),e.createBlock(F,{key:r,band:o,"is-first":r===0,"previous-band":r>0?t.bands[r-1]:void 0,period:t.period},null,8,["band","is-first","previous-band","period"]))),128))]))}});function M({pricings:t,pricingItemConfigId:i}){return e.computed(()=>{var r,l,c,a,p,s,d,u;const{config:n,productItem:o}=y.getPricingItemByPricingConfigId({pricings:t,pricingItemConfigId:i});return{billing:{period:(l=(r=n==null?void 0:n.billing_period_configs)==null?void 0:r[0])==null?void 0:l.billing_period,billedInAdvance:n==null?void 0:n.billing_in_advance},product:{name:o==null?void 0:o.name,description:o==null?void 0:o.description},pricing:{...((c=n==null?void 0:n.details)==null?void 0:c.pricing_type)==="FLAT"&&{amount:(s=(p=(a=n.details)==null?void 0:a.bands)==null?void 0:p[0])==null?void 0:s.amount},...((d=n==null?void 0:n.details)==null?void 0:d.pricing_type)==="TIERED"&&{tiered:{bands:(u=n.details)==null?void 0:u.bands}}}}})}const R={class:"flex flex-row-reverse gap-4 md:flex-row"},j={class:"w-24 shrink-0 justify-start md:w-32"},Y=["tabindex"],K={key:0},X={key:0},H=e.defineComponent({__name:"SeatsEditorItem",props:e.mergeModels({modelValue:{type:Object},defaultValue:{type:Object},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),{formatTimePeriod:r}=w.useTimePeriod(),l=e.ref(!1),c=e.computed({get:()=>+(n.value.number||y.FALLBACK_SEATS_NUMBER),set(s){n.value={...n.value,number:s!==void 0?s.toString():void 0}}}),a=M({pricings:i.pricings,pricingItemConfigId:n.value.pricing_item_config_id}),p=e.computed(()=>{var s,d;return!!((d=(s=a.value.pricing)==null?void 0:s.tiered)!=null&&d.bands)});return(s,d)=>{var u,m,f;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",R,[e.createElementVNode("div",j,[e.createVNode(e.unref(T),{modelValue:c.value,"onUpdate:modelValue":d[0]||(d[0]=b=>c.value=b),size:"sm",min:(u=t.defaultValue)!=null&&u.number?+t.defaultValue.number:void 0},null,8,["modelValue","min"])]),e.createElementVNode("div",{class:e.normalizeClass(["flex grow flex-col",{"hover:cursor-pointer":p.value}]),tabindex:p.value?0:void 0,onClick:d[1]||(d[1]=b=>p.value?l.value=!l.value:void 0)},[e.createVNode(e.unref(g._sfc_main),{tag:"span",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).product.name||e.unref(o)({defaultMessage:"Seats",id:"seats.label",description:"The label for the seats input field"})),1)]),_:1}),e.unref(a).pricing.amount?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"{amount} per seat/{period}",id:"seats.price_per_seat_period",description:"The price per seat and billing period label for seat-based pricing"},{amount:e.unref(x.formatAmount)(e.unref(a).pricing.amount),period:e.unref(a).billing.period?e.unref(r)(e.unref(a).billing.period,{short:!0,hideValueForExactPeriods:!0}):""})),1)]),_:1})):e.unref(a).pricing.tiered?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:1,tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Tiered pricing",id:"seats.tiered_pricing_label",description:"The label indicating tiered pricing structure for seats"}))+" ",1),e.createVNode(e.unref(B._sfc_main$1),{icon:"keyboard_arrow_down",size:"xs",class:e.normalizeClass(["absolute text-gray-400 transition ease-in-out",{"rotate-0":!l.value,"rotate-180":l.value}])},null,8,["class"])]),_:1})):e.createCommentVNode("",!0)],10,Y)]),(f=(m=e.unref(a).pricing)==null?void 0:m.tiered)!=null&&f.bands?(e.openBlock(),e.createElementBlock("div",K,[e.createVNode(e.unref(S._sfc_main),{"is-open":l.value},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(L,{bands:e.unref(a).pricing.tiered.bands,period:e.unref(a).billing.period},null,8,["bands","period"])])):e.createCommentVNode("",!0)]),_:1},8,["is-open"])])):e.createCommentVNode("",!0)])}}}),J={key:0,class:"grid grid-cols-1 gap-1"},Q=e.defineComponent({__name:"SeatsEditor",props:e.mergeModels({modelValue:{type:Array},initialSeatsValues:{type:Array},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=e.useModel(t,"modelValue"),n=o=>e.computed({get:()=>i.value[o],set:r=>{const l=i.value.slice();l[o]=r,i.value=l}});return(o,r)=>t.modelValue.length>0?(e.openBlock(),e.createElementBlock("div",J,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.modelValue,(l,c)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:c},{default:e.withCtx(()=>{var a;return[l.pricing_item_config_id?(e.openBlock(),e.createBlock(H,{key:l.pricing_item_config_id,modelValue:n(c).value,"onUpdate:modelValue":p=>n(c).value=p,"default-value":(a=t.initialSeatsValues)==null?void 0:a[c],pricings:t.pricings},null,8,["modelValue","onUpdate:modelValue","default-value","pricings"])):e.createCommentVNode("",!0)]}),_:2},1024))),128))])):e.createCommentVNode("",!0)}}),W={class:"flex flex-row-reverse gap-4 md:flex-row"},Z={class:"w-24 shrink-0 justify-start md:w-32"},G={class:"flex grow flex-col"},ee=e.defineComponent({__name:"UnitsEditorItem",props:e.mergeModels({modelValue:{type:Object},defaultValue:{type:Object},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),r=e.computed({get:()=>+(n.value.number||y.FALLBACK_UNITS_NUMBER),set(c){n.value={...n.value,number:c!==void 0?c.toString():void 0}}}),l=M({pricings:i.pricings,pricingItemConfigId:n.value.pricing_item_config_id});return(c,a)=>{var p;return e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("div",Z,[e.createVNode(e.unref(T),{modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=s=>r.value=s),size:"sm",min:(p=t.defaultValue)!=null&&p.number?+t.defaultValue.number:void 0},null,8,["modelValue","min"])]),e.createElementVNode("div",G,[e.createVNode(e.unref(g._sfc_main),{tag:"span",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).product.name||e.unref(o)({defaultMessage:"Units",id:"units.label",description:"The label for the one-off flat item units input field"})),1)]),_:1}),e.unref(l).pricing.amount?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"{amount} per unit",id:"units.price_per_unit",description:"The price per unit label for one-off flat pricing"},{amount:e.unref(x.formatAmount)(e.unref(l).pricing.amount)})),1)]),_:1})):e.createCommentVNode("",!0)])])}}}),te={key:0,class:"grid grid-cols-1 gap-1"},ne=e.defineComponent({__name:"UnitsEditor",props:e.mergeModels({modelValue:{type:Array},initialUnitsValues:{type:Array},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=e.useModel(t,"modelValue"),n=o=>e.computed({get:()=>i.value[o],set:r=>{const l=i.value.slice();l[o]=r,i.value=l}});return(o,r)=>t.modelValue.length>0?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.modelValue,(l,c)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:c},{default:e.withCtx(()=>{var a;return[l.pricing_item_config_id?(e.openBlock(),e.createBlock(ee,{key:l.pricing_item_config_id,modelValue:n(c).value,"onUpdate:modelValue":p=>n(c).value=p,"default-value":(a=t.initialUnitsValues)==null?void 0:a[c],pricings:t.pricings},null,8,["modelValue","onUpdate:modelValue","default-value","pricings"])):e.createCommentVNode("",!0)]}),_:2},1024))),128))])):e.createCommentVNode("",!0)}}),ie={class:"p-1"},oe={class:"grid grid-cols-1 gap-1 pt-1"},le=e.defineComponent({__name:"AddonSingleEditor",props:e.mergeModels({constraint:{type:String},modelValue:{type:Array},pricings:{type:Array},billingPeriod:{type:Object},currency:{type:String},groupName:{type:String}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),{describePricing:r}=V.usePricingDescription({currency:e.toRef(i,"currency"),billingPeriod:e.toRef(i,"billingPeriod")}),l=i.pricings.map(s=>s.id),c=e.computed(()=>i.constraint==="AT_MOST_ONE"?o({defaultMessage:"Select up to one product",id:"addon_single_editor.description.at_most_one",description:"The description of the addon single editor for at most one product"}):i.constraint==="EXACTLY_ONE"?o({defaultMessage:"Select one product",id:"addon_single_editor.description.exactly_one",description:"The description of the addon single editor for exactly one product"}):i.constraint==="AT_LEAST_ONE"?o({defaultMessage:"Select at least one product",id:"addon_single_editor.description.at_least_one",description:"The description of the addon single editor for at least one product"}):""),a=s=>i.modelValue.includes(s),p=s=>{if(a(s))n.value=n.value.filter(d=>d!==s);else{const d=n.value.filter(u=>!l.includes(u));n.value=[...d,s]}};return(s,d)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{"no-spacing":""},{default:e.withCtx(()=>[e.createElementVNode("div",ie,[e.createVNode(V._sfc_main$1,null,{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.groupName),1)]),description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.value),1)]),_:1}),e.createElementVNode("div",oe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricings,u=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:u.id,"content-background":"none",class:e.normalizeClass({"!bg-white":a(u.id)})},{default:e.withCtx(()=>[e.createVNode(y._sfc_main,{name:e.unref(E.getNameFromPricing)(u)??"",description:e.unref(r)(u)},{default:e.withCtx(()=>[e.createVNode(e.unref(z._sfc_main),{"model-value":a(u.id),"onUpdate:modelValue":m=>p(u.id)},null,8,["model-value","onUpdate:modelValue"])]),_:2},1032,["name","description"])]),_:2},1032,["class"]))),128))])])]),_:1}))}}),ae={class:"grid grid-cols-1 gap-1"},C=e.defineComponent({__name:"AddonMultipleEditor",props:e.mergeModels({modelValue:{type:Array},pricings:{type:Array},billingPeriod:{type:Object},currency:{type:String},groupName:{type:String}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),{describePricing:r}=V.usePricingDescription({currency:e.toRef(i,"currency"),billingPeriod:e.toRef(i,"billingPeriod")}),l=a=>n.value.includes(a),c=a=>{l(a)?n.value=n.value.filter(p=>p!==a):n.value=[...n.value,a]};return(a,p)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{"no-spacing":"","no-border":!t.groupName,"content-background":t.groupName?"gray":"none"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["grid grid-cols-1 gap-1",{"p-1":t.groupName}])},[t.groupName?(e.openBlock(),e.createBlock(V._sfc_main$1,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.groupName),1)]),description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Select any number of products",id:"addon_multiple_editor.description",description:"The description of the addon multiple editor"})),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricings,s=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:s.id,"content-background":t.groupName||l(s.id)?"none":"gray",class:e.normalizeClass({"!bg-white":l(s.id)})},{default:e.withCtx(()=>[e.createVNode(y._sfc_main,{name:e.unref(E.getNameFromPricing)(s)??"",description:e.unref(r)(s)},{default:e.withCtx(()=>[l(s.id)?(e.openBlock(),e.createBlock(e.unref(B._sfc_main),{key:0,intent:"secondary",square:"",size:"sm","icon-prefix":"remove_shopping_cart",onClick:d=>c(s.id)},null,8,["onClick"])):(e.openBlock(),e.createBlock(e.unref(B._sfc_main),{key:1,intent:"primary","icon-prefix":"add",size:"sm",onClick:d=>c(s.id)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Add to subscription ",id:"addon_multiple_editor.add_to_subscription_button",description:"The button to add a pricing to the subscription"})),1)]),_:1},8,["onClick"]))]),_:2},1032,["name","description"])]),_:2},1032,["content-background","class"]))),128))])],2)]),_:1},8,["no-border","content-background"]))}});function re(t){var n;return(((n=t.pricing_categories)==null?void 0:n.flatMap(o=>o.pricings??[]))??[]).filter(o=>o!==null)}const se={class:"sv-plan-customization__body grid grid-cols-1 gap-1"},ue=e.defineComponent({__name:"PlanCustomizationEditor",props:e.mergeModels({subscription:{type:Object},enabledPricingIds:{type:Array},initialSeatsValues:{type:Array},initialUnitsValues:{type:Array},billingPeriod:{type:Object},currency:{type:String}},{seatsValues:{required:!0},seatsValuesModifiers:{},unitsValues:{required:!0},unitsValuesModifiers:{},enabledPricingIds:{required:!0},enabledPricingIdsModifiers:{}}),emits:["update:seatsValues","update:unitsValues","update:enabledPricingIds"],setup(t){const i=t,n=e.useModel(t,"seatsValues"),o=e.useModel(t,"unitsValues"),r=e.useModel(t,"enabledPricingIds"),{$t:l}=g.useIntl(),c=e.computed(()=>{var d;const s=(d=D.getFirstPricingPlanScheduleOfType({pricingPlanScheduleInfos:i.subscription.pricing_plan_schedule_infos,type:"DEFAULT"}))==null?void 0:d.pricing_plan_version;return s?re(s):[]}),a=e.computed(()=>c.value.filter(s=>s.product_type==="ADDON")),p=e.computed(()=>$.getPricingGroupsFromExtendedPricingPlanSubscription(i.subscription));return(s,d)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{class:"sv-plan-customization",title:e.unref(l)({defaultMessage:"Customize plan",id:"checkout.customize_plan_block.title",description:"The title of the customize plan block in the checkout form"}),"no-spacing":"","no-border":"","content-background":"none"},{default:e.withCtx(()=>[e.createElementVNode("div",se,[e.createVNode(Q,{modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=u=>n.value=u),class:"sv-plan-customization__seats","initial-seats-values":t.initialSeatsValues,pricings:c.value},null,8,["modelValue","initial-seats-values","pricings"]),e.createVNode(ne,{modelValue:o.value,"onUpdate:modelValue":d[1]||(d[1]=u=>o.value=u),class:"sv-plan-customization__units","initial-units-values":t.initialUnitsValues,pricings:c.value},null,8,["modelValue","initial-units-values","pricings"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.id},[u.product_type==="DEFAULT"&&u.selection_constraint==="EXACTLY_ONE"?(e.openBlock(),e.createBlock(V._sfc_main,{key:0,modelValue:r.value,"onUpdate:modelValue":d[2]||(d[2]=m=>r.value=m),class:"sv-plan-customization__group","group-name":u.name,pricings:u.pricings,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","group-name","pricings","billing-period","currency"])):u.product_type==="ADDON"&&u.selection_constraint==="AT_MOST_ONE"?(e.openBlock(),e.createBlock(le,{key:1,modelValue:r.value,"onUpdate:modelValue":d[3]||(d[3]=m=>r.value=m),class:"sv-plan-customization__group","group-name":u.name,pricings:u.pricings,constraint:u.selection_constraint,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","group-name","pricings","constraint","billing-period","currency"])):u.product_type==="ADDON"&&u.selection_constraint==="ANY"?(e.openBlock(),e.createBlock(C,{key:2,modelValue:r.value,"onUpdate:modelValue":d[4]||(d[4]=m=>r.value=m),class:"sv-plan-customization__group",pricings:u.pricings,"group-name":u.name,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","pricings","group-name","billing-period","currency"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(C,{modelValue:r.value,"onUpdate:modelValue":d[5]||(d[5]=u=>r.value=u),class:"sv-plan-customization__group",pricings:a.value,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","pricings","billing-period","currency"])])]),_:1},8,["title"]))}});exports.default=ue;
|
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
import { u as te } from "./useTimePeriod.es-DMtKzcoB.mjs";
|
|
2
|
+
import { u as ae, _ as oe } from "./customElements-CSE7dwUr.mjs";
|
|
3
|
+
import { a as le, i as Q } from "./useService-Bh47bllz.mjs";
|
|
4
|
+
import { f as $ } from "./formatting.es-RclXHhKo.mjs";
|
|
5
|
+
import { computed as c, defineComponent as P, ref as se, onMounted as ue, watch as ee, openBlock as b, createElementBlock as R, renderSlot as z, useModel as S, useTemplateRef as de, toRefs as pe, nextTick as ge, Fragment as ce, createElementVNode as T, mergeProps as V, unref as g, createBlock as _, createSlots as me, withCtx as x, createTextVNode as ne, toDisplayString as ie, createCommentVNode as w, normalizeClass as M, withDirectives as fe, vModelText as ve, createVNode as re, mergeModels as E } from "vue";
|
|
6
|
+
import { u as be, g as he, _ as ye } from "./cn.es-BGqYNPM3.mjs";
|
|
7
|
+
import { _ as _e } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
8
|
+
import { a as Y } from "./IconButton.vue.es-C4dQEQAc.mjs";
|
|
9
|
+
function xe({
|
|
10
|
+
pricingItem: e,
|
|
11
|
+
currency: i,
|
|
12
|
+
billingPeriod: n
|
|
13
|
+
}) {
|
|
14
|
+
var a, o, t, r, l, m;
|
|
15
|
+
if ((a = e.pricing_currency_configs) != null && a.length) {
|
|
16
|
+
const u = ke(
|
|
17
|
+
e.pricing_currency_configs,
|
|
18
|
+
i
|
|
19
|
+
);
|
|
20
|
+
if ((o = u == null ? void 0 : u.billing_period_configs) != null && o.length && n) {
|
|
21
|
+
const d = Z(
|
|
22
|
+
u.billing_period_configs,
|
|
23
|
+
n
|
|
24
|
+
);
|
|
25
|
+
if (d)
|
|
26
|
+
return d;
|
|
27
|
+
}
|
|
28
|
+
if (u) {
|
|
29
|
+
const d = u.fallback_currency;
|
|
30
|
+
if (d) {
|
|
31
|
+
const v = we(
|
|
32
|
+
e.pricing_currency_configs,
|
|
33
|
+
d
|
|
34
|
+
);
|
|
35
|
+
if (v)
|
|
36
|
+
return v;
|
|
37
|
+
}
|
|
38
|
+
if ((t = u.configs) != null && t.length)
|
|
39
|
+
return u.configs[0];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if ((r = e.billing_period_configs) != null && r.length) {
|
|
43
|
+
const u = Z(
|
|
44
|
+
e.billing_period_configs,
|
|
45
|
+
n
|
|
46
|
+
);
|
|
47
|
+
if (u)
|
|
48
|
+
return u;
|
|
49
|
+
}
|
|
50
|
+
if ((l = e.configs) != null && l.length)
|
|
51
|
+
return (m = e.configs) == null ? void 0 : m[0];
|
|
52
|
+
}
|
|
53
|
+
const ke = (e, i) => e.find((n) => n.currency === i), we = (e, i) => {
|
|
54
|
+
var n, a;
|
|
55
|
+
return (a = (n = e.find((o) => o.currency === i)) == null ? void 0 : n.configs) == null ? void 0 : a[0];
|
|
56
|
+
}, Z = (e, i) => {
|
|
57
|
+
var n, a;
|
|
58
|
+
return (a = (n = e.find((o) => le(o.billing_period, i))) == null ? void 0 : n.configs) == null ? void 0 : a[0];
|
|
59
|
+
};
|
|
60
|
+
function De({
|
|
61
|
+
currency: e,
|
|
62
|
+
billingPeriod: i
|
|
63
|
+
} = {}) {
|
|
64
|
+
const { $t: n } = ae(), { formatTimePeriod: a } = te();
|
|
65
|
+
return { renderPricingForPricingItem: ({ pricingItem: t }) => {
|
|
66
|
+
var r, l, m, u, d, v, k, p, f, h, y, q, B, I, F, N, A, O, U, D, W, H, j, G, L, K, X, J;
|
|
67
|
+
const C = (r = t.product_items) == null ? void 0 : r[0], s = xe({
|
|
68
|
+
pricingItem: t,
|
|
69
|
+
currency: e == null ? void 0 : e.value,
|
|
70
|
+
billingPeriod: i == null ? void 0 : i.value
|
|
71
|
+
});
|
|
72
|
+
return s ? (C == null ? void 0 : C.model_type) === "PER_SEAT" ? n({
|
|
73
|
+
defaultMessage: "Per seat",
|
|
74
|
+
id: "pricing_item_pricing.per_seat",
|
|
75
|
+
description: "The pricing item pricing for a per seat pricing item"
|
|
76
|
+
}) : (C == null ? void 0 : C.model_type) === "ONE_OFF" && ((u = (m = (l = s.details) == null ? void 0 : l.bands) == null ? void 0 : m[0]) != null && u.fixed_amount) ? $((k = (v = (d = s.details) == null ? void 0 : d.bands) == null ? void 0 : v[0]) == null ? void 0 : k.fixed_amount) : ((p = s.details) == null ? void 0 : p.pricing_type) === "FLAT" && ((y = (h = (f = s.details) == null ? void 0 : f.bands) == null ? void 0 : h[0]) != null && y.amount) ? n(
|
|
77
|
+
{
|
|
78
|
+
defaultMessage: "{pricing} per {billing_period}",
|
|
79
|
+
id: "pricing_item_pricing",
|
|
80
|
+
description: "The pricing item pricing"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
pricing: $((q = s.details) == null ? void 0 : q.bands[0].amount),
|
|
84
|
+
billing_period: a(
|
|
85
|
+
((B = s == null ? void 0 : s.details) == null ? void 0 : B.pricing_period) ?? { type: "MONTH", value: 1 },
|
|
86
|
+
{
|
|
87
|
+
short: !0,
|
|
88
|
+
hideValueForExactPeriods: !0
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
}
|
|
92
|
+
) : ((I = s.details) == null ? void 0 : I.pricing_type) === "FIXED" && ((A = (N = (F = s.details) == null ? void 0 : F.bands) == null ? void 0 : N[0]) != null && A.fixed_amount) ? n(
|
|
93
|
+
{
|
|
94
|
+
defaultMessage: "{pricing} per {billing_period}",
|
|
95
|
+
id: "pricing_item_pricing",
|
|
96
|
+
description: "The pricing item pricing"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
pricing: $((D = (U = (O = s.details) == null ? void 0 : O.bands) == null ? void 0 : U[0]) == null ? void 0 : D.fixed_amount),
|
|
100
|
+
billing_period: a(
|
|
101
|
+
((W = s == null ? void 0 : s.details) == null ? void 0 : W.pricing_period) ?? { type: "MONTH", value: 1 },
|
|
102
|
+
{
|
|
103
|
+
short: !0,
|
|
104
|
+
hideValueForExactPeriods: !0
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
) : ((H = s.details) == null ? void 0 : H.pricing_type) === "TIERED" ? n({
|
|
109
|
+
defaultMessage: "Tiered pricing",
|
|
110
|
+
id: "pricing_item_pricing.tiered",
|
|
111
|
+
description: "The pricing item pricing for a tiered pricing item"
|
|
112
|
+
}) : ((j = s.details) == null ? void 0 : j.pricing_type) === "TOP_TIERED" ? n({
|
|
113
|
+
defaultMessage: "Top tiered pricing",
|
|
114
|
+
id: "pricing_item_pricing.top_tiered",
|
|
115
|
+
description: "The pricing item pricing for a top tiered pricing item"
|
|
116
|
+
}) : ((G = s.details) == null ? void 0 : G.pricing_type) === "STAIR_STEP" ? n({
|
|
117
|
+
defaultMessage: "Stair step pricing",
|
|
118
|
+
id: "pricing_item_pricing.stair_step",
|
|
119
|
+
description: "The pricing item pricing for a stair step pricing item"
|
|
120
|
+
}) : ((L = s.details) == null ? void 0 : L.pricing_type) === "PASS_THROUGH" ? n({
|
|
121
|
+
defaultMessage: "Pass through pricing",
|
|
122
|
+
id: "pricing_item_pricing.pass_through",
|
|
123
|
+
description: "The pricing item pricing for a pass through pricing item"
|
|
124
|
+
}) : ((K = s.details) == null ? void 0 : K.pricing_type) === "NONE" ? n({
|
|
125
|
+
defaultMessage: "Not billed",
|
|
126
|
+
id: "pricing_item_pricing.none",
|
|
127
|
+
description: "The pricing item pricing for a not billed pricing item"
|
|
128
|
+
}) : ((X = s.details) == null ? void 0 : X.pricing_type) === "FLAT_TOP_UP" ? n({
|
|
129
|
+
defaultMessage: "Flat top up pricing",
|
|
130
|
+
id: "pricing_item_pricing.flat_top_up",
|
|
131
|
+
description: "The pricing item pricing for a flat top up pricing item"
|
|
132
|
+
}) : ((J = s.details) == null ? void 0 : J.pricing_type) === "TIERED_TOP_UP" ? n({
|
|
133
|
+
defaultMessage: "Tiered top up pricing",
|
|
134
|
+
id: "pricing_item_pricing.tiered_top_up",
|
|
135
|
+
description: "The pricing item pricing for a tiered top up pricing item"
|
|
136
|
+
}) : n({
|
|
137
|
+
defaultMessage: "Unsupported pricing",
|
|
138
|
+
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
139
|
+
description: "Text displayed when the pricing item pricing is unsupported"
|
|
140
|
+
}) : n({
|
|
141
|
+
defaultMessage: "Unsupported pricing",
|
|
142
|
+
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
143
|
+
description: "Text displayed when the pricing item pricing is unsupported"
|
|
144
|
+
});
|
|
145
|
+
} };
|
|
146
|
+
}
|
|
147
|
+
const ze = "w-full appearance-none cursor-pointer", Ce = {
|
|
148
|
+
// No range-xs styling exists; a slider has no xs design, so it reuses the smallest one.
|
|
149
|
+
xs: "range-sm",
|
|
150
|
+
sm: "range-sm",
|
|
151
|
+
md: "range-md",
|
|
152
|
+
lg: "range-lg",
|
|
153
|
+
xl: "range-xl"
|
|
154
|
+
};
|
|
155
|
+
function Te(e) {
|
|
156
|
+
return { rangeClasses: c(
|
|
157
|
+
() => `${ze} ${Ce[e.size.value]}`
|
|
158
|
+
) };
|
|
159
|
+
}
|
|
160
|
+
const Pe = `/* Base - transparent background so track styles show through */
|
|
161
|
+
input[type='range'] {
|
|
162
|
+
-webkit-appearance: none;
|
|
163
|
+
-moz-appearance: none;
|
|
164
|
+
appearance: none;
|
|
165
|
+
width: 100%;
|
|
166
|
+
background: transparent;
|
|
167
|
+
margin: 0.5rem 0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Thumb - white with explicit border (required for Firefox) */
|
|
171
|
+
input[type='range']::-webkit-slider-thumb {
|
|
172
|
+
-webkit-appearance: none;
|
|
173
|
+
appearance: none;
|
|
174
|
+
width: 1rem;
|
|
175
|
+
height: 1rem;
|
|
176
|
+
border: 2px solid rgb(229 231 235);
|
|
177
|
+
border-radius: 50%;
|
|
178
|
+
background: #ffffff;
|
|
179
|
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
transition: all 0.1s ease-in-out;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
input[type='range']:disabled::-webkit-slider-thumb {
|
|
185
|
+
cursor: not-allowed;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
input[type='range']::-moz-range-thumb {
|
|
189
|
+
-moz-appearance: none;
|
|
190
|
+
appearance: none;
|
|
191
|
+
width: 1rem;
|
|
192
|
+
height: 1rem;
|
|
193
|
+
border: 2px solid rgb(229 231 235);
|
|
194
|
+
border-radius: 50%;
|
|
195
|
+
background: #ffffff;
|
|
196
|
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
197
|
+
cursor: pointer;
|
|
198
|
+
transition: all 0.1s ease-in-out;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
input[type='range']:disabled::-moz-range-thumb {
|
|
202
|
+
cursor: not-allowed;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
input[type='range']:not(:disabled):hover::-webkit-slider-thumb {
|
|
206
|
+
box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
input[type='range']:not(:disabled):hover::-moz-range-thumb {
|
|
210
|
+
box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
input[type='range']:not(:disabled):active::-webkit-slider-thumb {
|
|
214
|
+
box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
input[type='range']:not(:disabled):active::-moz-range-thumb {
|
|
218
|
+
box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* Track - WebKit */
|
|
222
|
+
input[type='range']::-webkit-slider-runnable-track {
|
|
223
|
+
width: 100%;
|
|
224
|
+
height: 0.5rem;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
background: linear-gradient(
|
|
227
|
+
to right,
|
|
228
|
+
var(--color-primary-600) var(--range-percentage, 0%),
|
|
229
|
+
#e0e5eb var(--range-percentage, 0%)
|
|
230
|
+
);
|
|
231
|
+
border-radius: 0.25rem;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
input[type='range']:disabled::-webkit-slider-runnable-track {
|
|
235
|
+
background: #e0e5eb;
|
|
236
|
+
cursor: not-allowed;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* Track - Mozilla */
|
|
240
|
+
input[type='range']::-moz-range-track {
|
|
241
|
+
width: 100%;
|
|
242
|
+
height: 0.5rem;
|
|
243
|
+
cursor: pointer;
|
|
244
|
+
background: linear-gradient(
|
|
245
|
+
to right,
|
|
246
|
+
var(--color-primary-600) var(--range-percentage, 0%),
|
|
247
|
+
#e0e5eb var(--range-percentage, 0%)
|
|
248
|
+
);
|
|
249
|
+
border-radius: 0.25rem;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
input[type='range']:disabled::-moz-range-track {
|
|
253
|
+
background: #e0e5eb;
|
|
254
|
+
cursor: not-allowed;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* Size: sm */
|
|
258
|
+
input[type='range'].range-sm::-webkit-slider-thumb {
|
|
259
|
+
width: 0.8rem;
|
|
260
|
+
height: 0.8rem;
|
|
261
|
+
margin-top: -0.2rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
input[type='range'].range-sm::-moz-range-thumb {
|
|
265
|
+
width: 0.8rem;
|
|
266
|
+
height: 0.8rem;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
input[type='range'].range-sm::-webkit-slider-runnable-track {
|
|
270
|
+
height: 0.4rem;
|
|
271
|
+
border-radius: 0.2rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
input[type='range'].range-sm::-moz-range-track {
|
|
275
|
+
height: 0.4rem;
|
|
276
|
+
border-radius: 0.2rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Size: md */
|
|
280
|
+
input[type='range'].range-md::-webkit-slider-thumb {
|
|
281
|
+
width: 1rem;
|
|
282
|
+
height: 1rem;
|
|
283
|
+
margin-top: -0.25rem;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
input[type='range'].range-md::-moz-range-thumb {
|
|
287
|
+
width: 1rem;
|
|
288
|
+
height: 1rem;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
input[type='range'].range-md::-webkit-slider-runnable-track {
|
|
292
|
+
height: 0.5rem;
|
|
293
|
+
border-radius: 0.25rem;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
input[type='range'].range-md::-moz-range-track {
|
|
297
|
+
height: 0.5rem;
|
|
298
|
+
border-radius: 0.25rem;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* Size: lg */
|
|
302
|
+
input[type='range'].range-lg::-webkit-slider-thumb {
|
|
303
|
+
width: 1.4rem;
|
|
304
|
+
height: 1.4rem;
|
|
305
|
+
margin-top: -0.35rem;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
input[type='range'].range-lg::-moz-range-thumb {
|
|
309
|
+
width: 1.4rem;
|
|
310
|
+
height: 1.4rem;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
input[type='range'].range-lg::-webkit-slider-runnable-track {
|
|
314
|
+
height: 0.7rem;
|
|
315
|
+
border-radius: 0.35rem;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
input[type='range'].range-lg::-moz-range-track {
|
|
319
|
+
height: 0.7rem;
|
|
320
|
+
border-radius: 0.35rem;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* Size: xl */
|
|
324
|
+
input[type='range'].range-xl::-webkit-slider-thumb {
|
|
325
|
+
width: 1.8rem;
|
|
326
|
+
height: 1.8rem;
|
|
327
|
+
margin-top: -0.5rem;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
input[type='range'].range-xl::-moz-range-thumb {
|
|
331
|
+
width: 1.8rem;
|
|
332
|
+
height: 1.8rem;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
input[type='range'].range-xl::-webkit-slider-runnable-track {
|
|
336
|
+
height: 0.9rem;
|
|
337
|
+
border-radius: 0.45rem;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
input[type='range'].range-xl::-moz-range-track {
|
|
341
|
+
height: 0.9rem;
|
|
342
|
+
border-radius: 0.45rem;
|
|
343
|
+
}
|
|
344
|
+
`, $e = /* @__PURE__ */ P({
|
|
345
|
+
__name: "CustomStyles",
|
|
346
|
+
props: {
|
|
347
|
+
css: {},
|
|
348
|
+
marker: {}
|
|
349
|
+
},
|
|
350
|
+
setup(e) {
|
|
351
|
+
const i = e, n = se();
|
|
352
|
+
function a(o) {
|
|
353
|
+
if (!o || !n.value) return;
|
|
354
|
+
const t = n.value.getRootNode();
|
|
355
|
+
if (!(t instanceof ShadowRoot) || t.querySelector(`style[${i.marker}]`)) return;
|
|
356
|
+
const l = document.createElement("style");
|
|
357
|
+
l.setAttribute(i.marker, "true"), l.textContent = o, t.appendChild(l);
|
|
358
|
+
}
|
|
359
|
+
return ue(() => {
|
|
360
|
+
i.css && a(i.css);
|
|
361
|
+
}), ee(
|
|
362
|
+
() => i.css,
|
|
363
|
+
(o) => {
|
|
364
|
+
if (!o || !n.value) return;
|
|
365
|
+
const t = n.value.getRootNode();
|
|
366
|
+
if (!(t instanceof ShadowRoot)) return;
|
|
367
|
+
const r = t.querySelector(`style[${i.marker}]`);
|
|
368
|
+
r ? r.textContent = o : a(o);
|
|
369
|
+
}
|
|
370
|
+
), (o, t) => (b(), R("div", {
|
|
371
|
+
ref_key: "containerRef",
|
|
372
|
+
ref: n
|
|
373
|
+
}, [
|
|
374
|
+
z(o.$slots, "default")
|
|
375
|
+
], 512));
|
|
376
|
+
}
|
|
377
|
+
}), Me = ["data-testid"], Re = ["step", "min", "max", "name", "disabled"], Se = {
|
|
378
|
+
key: 0,
|
|
379
|
+
class: "mt-2 text-sm text-secondary"
|
|
380
|
+
}, Ve = /* @__PURE__ */ P({
|
|
381
|
+
__name: "RangeInput",
|
|
382
|
+
props: /* @__PURE__ */ E({
|
|
383
|
+
disabled: { type: Boolean, default: !1 },
|
|
384
|
+
label: { default: void 0 },
|
|
385
|
+
labelAfter: { type: Boolean, default: !1 },
|
|
386
|
+
max: { default: 100 },
|
|
387
|
+
min: { default: 0 },
|
|
388
|
+
name: {},
|
|
389
|
+
required: { type: Boolean, default: !1 },
|
|
390
|
+
rootClass: { default: "" },
|
|
391
|
+
size: { default: "md" },
|
|
392
|
+
steps: { default: 1 },
|
|
393
|
+
variant: { default: "default" },
|
|
394
|
+
error: {},
|
|
395
|
+
inputWrapperClass: {}
|
|
396
|
+
}, {
|
|
397
|
+
modelValue: { required: !0 },
|
|
398
|
+
modelModifiers: {}
|
|
399
|
+
}),
|
|
400
|
+
emits: ["update:modelValue"],
|
|
401
|
+
setup(e) {
|
|
402
|
+
const i = e, n = S(e, "modelValue"), a = de("inputRef");
|
|
403
|
+
function o() {
|
|
404
|
+
const p = a.value;
|
|
405
|
+
if (!p) return;
|
|
406
|
+
const f = n.value ?? i.min, h = (Number(f) - i.min) / (i.max - i.min) * 100;
|
|
407
|
+
p.style.setProperty("--range-percentage", `${h}%`);
|
|
408
|
+
}
|
|
409
|
+
const { rangeClasses: t } = Te(pe(i)), r = c(() => {
|
|
410
|
+
switch (i.size) {
|
|
411
|
+
case "xl":
|
|
412
|
+
return "lg";
|
|
413
|
+
case "lg":
|
|
414
|
+
return "md";
|
|
415
|
+
case "md":
|
|
416
|
+
return "sm";
|
|
417
|
+
default:
|
|
418
|
+
return i.size;
|
|
419
|
+
}
|
|
420
|
+
}), l = i.name ?? be("range-input-"), m = c(
|
|
421
|
+
() => n.value != null && n.value > i.min ? () => {
|
|
422
|
+
n.value = (n.value ?? 0) - i.steps;
|
|
423
|
+
} : void 0
|
|
424
|
+
), u = c(
|
|
425
|
+
() => n.value != null && n.value < i.max ? () => {
|
|
426
|
+
n.value = (n.value ?? 0) + i.steps;
|
|
427
|
+
} : void 0
|
|
428
|
+
), d = c(
|
|
429
|
+
() => ["stepped", "stepped-contained", "stepped-ghost"].includes(i.variant)
|
|
430
|
+
), v = c(() => i.variant === "stepped-contained"), k = c(
|
|
431
|
+
() => v.value || i.variant === "stepped-ghost" ? "subtle" : "secondary"
|
|
432
|
+
);
|
|
433
|
+
return ee([n, a], () => ge(o), { immediate: !0 }), (p, f) => (b(), R(ce, null, [
|
|
434
|
+
T("div", V(p.$attrs, {
|
|
435
|
+
class: ["flex flex-col gap-2", { rootClass: e.rootClass, "flex-col-reverse": e.labelAfter }],
|
|
436
|
+
"data-testid": g(he)(g(l))
|
|
437
|
+
}), [
|
|
438
|
+
e.label ? (b(), _(ye, {
|
|
439
|
+
key: 0,
|
|
440
|
+
for: g(l),
|
|
441
|
+
required: e.required
|
|
442
|
+
}, me({
|
|
443
|
+
suffix: x(() => [
|
|
444
|
+
z(p.$slots, "label-suffix")
|
|
445
|
+
]),
|
|
446
|
+
default: x(() => [
|
|
447
|
+
ne(ie(e.label) + " ", 1)
|
|
448
|
+
]),
|
|
449
|
+
_: 2
|
|
450
|
+
}, [
|
|
451
|
+
p.$slots.tooltip ? {
|
|
452
|
+
name: "tooltip",
|
|
453
|
+
fn: x(() => [
|
|
454
|
+
z(p.$slots, "tooltip")
|
|
455
|
+
]),
|
|
456
|
+
key: "0"
|
|
457
|
+
} : void 0
|
|
458
|
+
]), 1032, ["for", "required"])) : w("", !0),
|
|
459
|
+
T("div", {
|
|
460
|
+
class: M({ flex: d.value, "rounded border bg-white": v.value })
|
|
461
|
+
}, [
|
|
462
|
+
d.value ? (b(), _(g(Y), {
|
|
463
|
+
key: 0,
|
|
464
|
+
size: r.value,
|
|
465
|
+
intent: k.value,
|
|
466
|
+
icon: "remove",
|
|
467
|
+
disabled: !m.value || e.disabled,
|
|
468
|
+
onMousedown: f[0] || (f[0] = (h) => {
|
|
469
|
+
var y;
|
|
470
|
+
return (y = m.value) == null ? void 0 : y.call(m);
|
|
471
|
+
})
|
|
472
|
+
}, null, 8, ["size", "intent", "disabled"])) : w("", !0),
|
|
473
|
+
T("div", {
|
|
474
|
+
class: M([
|
|
475
|
+
{
|
|
476
|
+
"flex grow items-center px-3": d.value,
|
|
477
|
+
"border-x": v.value
|
|
478
|
+
},
|
|
479
|
+
e.inputWrapperClass
|
|
480
|
+
])
|
|
481
|
+
}, [
|
|
482
|
+
fe(T("input", {
|
|
483
|
+
ref_key: "inputRef",
|
|
484
|
+
ref: a,
|
|
485
|
+
"onUpdate:modelValue": f[1] || (f[1] = (h) => n.value = h),
|
|
486
|
+
step: e.steps,
|
|
487
|
+
min: e.min,
|
|
488
|
+
max: e.max,
|
|
489
|
+
name: g(l),
|
|
490
|
+
disabled: e.disabled,
|
|
491
|
+
type: "range",
|
|
492
|
+
class: M(g(t)),
|
|
493
|
+
onInput: o
|
|
494
|
+
}, null, 42, Re), [
|
|
495
|
+
[ve, n.value]
|
|
496
|
+
])
|
|
497
|
+
], 2),
|
|
498
|
+
d.value ? (b(), _(g(Y), {
|
|
499
|
+
key: 1,
|
|
500
|
+
size: r.value,
|
|
501
|
+
intent: k.value,
|
|
502
|
+
icon: "add",
|
|
503
|
+
disabled: !u.value || e.disabled,
|
|
504
|
+
onMousedown: f[2] || (f[2] = (h) => {
|
|
505
|
+
var y;
|
|
506
|
+
return (y = u.value) == null ? void 0 : y.call(u);
|
|
507
|
+
})
|
|
508
|
+
}, null, 8, ["size", "intent", "disabled"])) : w("", !0)
|
|
509
|
+
], 2)
|
|
510
|
+
], 16, Me),
|
|
511
|
+
re($e, {
|
|
512
|
+
marker: "range-input-styles",
|
|
513
|
+
css: g(Pe)
|
|
514
|
+
}, null, 8, ["css"]),
|
|
515
|
+
!g(Q)(e.error) || p.$slots.helper ? (b(), R("div", Se, [
|
|
516
|
+
g(Q)(e.error) ? p.$slots.helper ? z(p.$slots, "helper", {}, void 0, void 0, 1) : w("", !0) : (b(), _(_e, {
|
|
517
|
+
key: 0,
|
|
518
|
+
message: e.error
|
|
519
|
+
}, null, 8, ["message"]))
|
|
520
|
+
])) : w("", !0)
|
|
521
|
+
], 64));
|
|
522
|
+
}
|
|
523
|
+
}), Ee = /* @__PURE__ */ P({
|
|
524
|
+
__name: "RangeInputExtended",
|
|
525
|
+
props: /* @__PURE__ */ E({
|
|
526
|
+
options: { default: () => [] },
|
|
527
|
+
label: {},
|
|
528
|
+
name: {},
|
|
529
|
+
required: { type: Boolean, default: !1 },
|
|
530
|
+
rootClass: {},
|
|
531
|
+
size: { default: "md" },
|
|
532
|
+
variant: {},
|
|
533
|
+
error: {},
|
|
534
|
+
disabled: { type: Boolean },
|
|
535
|
+
labelAfter: { type: Boolean },
|
|
536
|
+
inputWrapperClass: {}
|
|
537
|
+
}, {
|
|
538
|
+
modelValue: { required: !0 },
|
|
539
|
+
modelModifiers: {}
|
|
540
|
+
}),
|
|
541
|
+
emits: ["update:modelValue"],
|
|
542
|
+
setup(e) {
|
|
543
|
+
const i = e, n = S(e, "modelValue"), a = c({
|
|
544
|
+
get: () => {
|
|
545
|
+
const t = n.value ? i.options.findIndex((r) => r === n.value) : 0;
|
|
546
|
+
return t >= 0 ? t : 0;
|
|
547
|
+
},
|
|
548
|
+
set: (t) => (n.value = i.options[t], i.options.findIndex((r) => r === n.value))
|
|
549
|
+
}), o = c(() => i.options.length ?? 1);
|
|
550
|
+
return (t, r) => (b(), _(Ve, V({
|
|
551
|
+
modelValue: a.value,
|
|
552
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => a.value = l)
|
|
553
|
+
}, t.$attrs, {
|
|
554
|
+
variant: e.variant,
|
|
555
|
+
"label-after": e.labelAfter,
|
|
556
|
+
min: 0,
|
|
557
|
+
max: o.value - 1,
|
|
558
|
+
steps: 1,
|
|
559
|
+
label: e.label,
|
|
560
|
+
name: e.name,
|
|
561
|
+
required: e.required,
|
|
562
|
+
"root-class": e.rootClass,
|
|
563
|
+
size: e.size,
|
|
564
|
+
"input-wrapper-class": e.inputWrapperClass
|
|
565
|
+
}), {
|
|
566
|
+
"label-suffix": x(() => [
|
|
567
|
+
z(t.$slots, "label-suffix")
|
|
568
|
+
]),
|
|
569
|
+
_: 3
|
|
570
|
+
}, 16, ["modelValue", "variant", "label-after", "max", "label", "name", "required", "root-class", "size", "input-wrapper-class"]));
|
|
571
|
+
}
|
|
572
|
+
}), We = /* @__PURE__ */ P({
|
|
573
|
+
__name: "PricingGroupRangeInput",
|
|
574
|
+
props: /* @__PURE__ */ E({
|
|
575
|
+
modelValue: {},
|
|
576
|
+
options: {},
|
|
577
|
+
name: {},
|
|
578
|
+
variant: { default: "stepped-contained" },
|
|
579
|
+
size: {}
|
|
580
|
+
}, {
|
|
581
|
+
modelValue: {},
|
|
582
|
+
modelModifiers: {}
|
|
583
|
+
}),
|
|
584
|
+
emits: ["update:modelValue"],
|
|
585
|
+
setup(e) {
|
|
586
|
+
const i = e, n = S(e, "modelValue"), a = c(() => {
|
|
587
|
+
var r;
|
|
588
|
+
return (r = i.options.find((l) => l.value === n.value)) == null ? void 0 : r.label;
|
|
589
|
+
}), o = c(() => i.options.map((r) => r.value)), t = c(
|
|
590
|
+
() => {
|
|
591
|
+
var r;
|
|
592
|
+
return (r = i.options.find((l) => l.value === n.value)) == null ? void 0 : r.description;
|
|
593
|
+
}
|
|
594
|
+
);
|
|
595
|
+
return (r, l) => (b(), _(g(Ee), V({
|
|
596
|
+
modelValue: n.value,
|
|
597
|
+
"onUpdate:modelValue": l[0] || (l[0] = (m) => n.value = m)
|
|
598
|
+
}, r.$attrs, {
|
|
599
|
+
label: a.value,
|
|
600
|
+
"label-after": "",
|
|
601
|
+
variant: e.variant,
|
|
602
|
+
name: e.name,
|
|
603
|
+
options: o.value,
|
|
604
|
+
size: e.size,
|
|
605
|
+
"input-wrapper-class": "border-l border-r",
|
|
606
|
+
required: ""
|
|
607
|
+
}), {
|
|
608
|
+
"label-suffix": x(() => [
|
|
609
|
+
re(g(oe), {
|
|
610
|
+
tag: "span",
|
|
611
|
+
variant: "body-xs",
|
|
612
|
+
color: "subtle"
|
|
613
|
+
}, {
|
|
614
|
+
default: x(() => [
|
|
615
|
+
ne(ie(t.value), 1)
|
|
616
|
+
]),
|
|
617
|
+
_: 1
|
|
618
|
+
})
|
|
619
|
+
]),
|
|
620
|
+
_: 1
|
|
621
|
+
}, 16, ["modelValue", "label", "variant", "name", "options", "size"]));
|
|
622
|
+
}
|
|
623
|
+
});
|
|
624
|
+
export {
|
|
625
|
+
We as _,
|
|
626
|
+
De as u
|
|
627
|
+
};
|