@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs +223 -0
- package/dist/Amount.vue.es-DExaYBqm.js +1 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/Avatar.vue.es-D42J_izE.js +1 -0
- package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
- package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
- package/dist/Button.vue.es-M_jXZda4.js +1 -0
- package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
- package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
- package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
- package/dist/Chip.vue.es-G8doKsZb.js +1 -0
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
- package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
- package/dist/ContextMenu.vue.es-B3Rz6Ojk.js +1 -0
- package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
- package/dist/DividerText.vue.es-D-QxT2OD.js +1 -0
- package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
- package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
- package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
- package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
- package/dist/IconButton.vue.es-BTAkuFsm.js +1 -0
- package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
- package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
- package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
- package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
- package/dist/Input.vue.es-CTOrmrcB.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
- package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
- package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
- package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
- package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
- package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
- package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
- package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
- package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
- package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
- package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
- package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
- package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
- package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
- package/dist/Section.vue.es-Btff-cLY.js +1 -0
- package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
- package/dist/SubscriptionSchedules-Dc0rUnnf.mjs +4 -0
- package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
- package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
- package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
- package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
- package/dist/TrialChip.vue.es-DkBuMNr_.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/accel.svg.es-DFJXdioD.js +1 -0
- package/dist/ach.svg.es-BYP873jU.js +1 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/adyen-BJfC7N6f.js +1 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-CvsH5fok.mjs +117 -0
- package/dist/adyen-Druit6gz.js +1 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/adyenSdk-BP2XXzeJ.js +1 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
- package/dist/amex.svg.es-DKhW4Txt.js +1 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/api.es-duCDtZD9.js +1 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/carnet.svg.es-DY04-F2L.js +1 -0
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
- package/dist/cn.es-CvmLj7KH.js +1 -0
- package/dist/comparators.es-D8WGL-c4.mjs +153 -0
- package/dist/comparators.es-OGt19O9U.js +1 -0
- package/dist/component-5wqcK7yz.mjs +8 -0
- package/dist/component-B7ZDyqBp.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +372 -430
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +89 -104
- package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
- package/dist/countryData.es-C4jHBzfo.js +1 -0
- package/dist/customElements-CSE7dwUr.mjs +6561 -0
- package/dist/customElements-Vox1PB6G.js +1211 -0
- package/dist/customer-5krPxZ8i.mjs +31 -0
- package/dist/customer-Dsq-Moea.js +1 -0
- package/dist/customer.es-B5ppZf0j.mjs +20 -0
- package/dist/customer.es-BButyYo0.js +1 -0
- package/dist/dana.svg.es-BDtZLpwd.js +1 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/dankort.svg.es-CksaipXF.js +1 -0
- package/dist/{de-DE-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
- package/dist/de-DE-C3DzP1nj.js +1 -0
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
- package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/discover.svg.es-DgqWCMUM.js +1 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
- package/dist/elo.svg.es-C-BzjuRP.js +1 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
- package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
- package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
- package/dist/en-US-X_pSFsNm.js +1 -0
- package/dist/eps.svg.es-B_85bP-W.js +1 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/error-BHVZJGwD.mjs +13 -0
- package/dist/error-CmduqgVq.js +1 -0
- package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
- package/dist/formatting.es-C72Nsrmh.js +1 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getComposedString.es-haS4bAj7.js +1 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
- package/dist/girocard.svg.es-HSOEvDif.js +1 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
- package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
- package/dist/ideal.svg.es-Booz1IML.js +1 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-BPU8tIml.mjs +828 -0
- package/dist/index-BPZPnOQQ.js +7 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index-DwueOtPi.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +40 -40
- package/dist/invoices-DRgfpkJ6.mjs +118 -0
- package/dist/invoices-xOV2YaEV.js +1 -0
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
- package/dist/it-IT-DT3rfjOY.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
- package/dist/it-IT-YBtHAao1.js +1 -0
- package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
- package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
- package/dist/momo.svg.es-C5aLYf_R.js +1 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-C8wnyKju.js +1 -0
- package/dist/nl-NL-DfkhOJKc.js +1 -0
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
- package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
- package/dist/nyce.svg.es-ArAivAZW.js +1 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/object.es-CdriXMPs.js +1 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
- package/dist/paymentMethods-CRDIw9lz.js +1 -0
- package/dist/paymentMethods-PmkHYomw.mjs +75 -0
- package/dist/payments-Dvqh6CGW.mjs +45 -0
- package/dist/payments-jAgXhdp_.js +1 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
- package/dist/pricing-BVAld27Y.js +1 -0
- package/dist/pricing-DLOeiAIB.mjs +16 -0
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
- package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
- package/dist/pulse.svg.es-Dit33E8S.js +1 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +3 -5237
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
- package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/slots.es-T9ZJRGtG.js +1 -0
- package/dist/sorting.es-DCihKqD2.mjs +77 -0
- package/dist/sorting.es-DQsjKr8A.js +1 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/star.svg.es-D2JncY7b.js +1 -0
- package/dist/subscription-CrVOr5MF.mjs +69 -0
- package/dist/subscription-ZA62t4E9.js +1 -0
- package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
- package/dist/subscriptions-fJcj88X9.js +1 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/trustly.svg.es-GJByiFAs.js +1 -0
- package/dist/twint.svg.es-BJ2f48og.js +1 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/typeGuards.es-DS3vZaJn.js +1 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/url-BNKStNY9.js +1 -0
- package/dist/url-DwiuKYpu.mjs +20 -0
- package/dist/useActionDispatchProvider-B8-oycQk.mjs +11 -0
- package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
- package/dist/useCustomer-CP8eWUZV.mjs +20 -0
- package/dist/useCustomer-DSx-wN-6.js +1 -0
- package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
- package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
- package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
- package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-CRRPdXc6.js +1 -0
- package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
- package/dist/useInvoicesList-DIfQcvER.js +1 -0
- package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
- package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
- package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
- package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
- package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
- package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
- package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
- package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
- package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
- package/dist/usePayments-D9Eo-uBk.js +1 -0
- package/dist/usePayments-Gx9kBvNB.mjs +318 -0
- package/dist/usePortal-3VCZwSUE.mjs +11 -0
- package/dist/usePortal-DsebXdhx.js +1 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-DnL1wVh1.mjs +210 -0
- package/dist/useSubscription-K_gP9TeX.js +1 -0
- package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
- package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -0
- package/dist/useViewport-BgdA2PPt.mjs +29 -0
- package/dist/useViewport-hPRVDWCm.js +1 -0
- package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
- package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/visa.svg.es-NY3BHhda.js +1 -0
- package/dist/vpay.svg.es-VViQi42w.js +1 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-CNIMW5ay.js +1 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-C9S_F31W.js +1 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +3 -3
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
- package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
- package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
- package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
- package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
- package/dist/Button.vue.es-O8mNivLL.js +0 -1
- package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
- package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
- package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
- package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
- package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
- package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
- package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
- package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
- package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
- package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
- package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
- package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
- package/dist/Input.vue.es-DqKJhFTr.js +0 -1
- package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
- package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
- package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
- package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
- package/dist/Section.vue.es-CAJvEDn6.js +0 -1
- package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
- package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
- package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
- package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
- package/dist/ach.svg.es-B4tn0_IV.js +0 -1
- package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
- package/dist/adyen-51SvcyqV.mjs +0 -4
- package/dist/adyen-BXi_D9TQ.mjs +0 -123
- package/dist/adyen-DZsyEXkw.js +0 -1
- package/dist/adyen-VS2sDW0m.js +0 -1
- package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
- package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
- package/dist/amex.svg.es-Bn9e31C3.js +0 -1
- package/dist/api.es-C5pe8LUl.mjs +0 -62
- package/dist/api.es-Czekkp_X.js +0 -1
- package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
- package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
- package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
- package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
- package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
- package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
- package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
- package/dist/cn.es-DxSeYcoP.js +0 -1
- package/dist/comparators.es-9VsCB-JI.mjs +0 -175
- package/dist/comparators.es-wrKHduVq.js +0 -1
- package/dist/component-BG6DmXcy.mjs +0 -9
- package/dist/component-hDuDTBt5.js +0 -1
- package/dist/configuration-BjYwV4_B.js +0 -1
- package/dist/configuration-CD8cOXAJ.mjs +0 -15
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customElements-B-89a5oH.mjs +0 -6810
- package/dist/customElements-DD7bpqkx.js +0 -1
- package/dist/customer-DozNwS_a.js +0 -1
- package/dist/customer-Dzj1g9lV.mjs +0 -32
- package/dist/customer.es-C_vSWcVA.mjs +0 -30
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
- package/dist/dana.svg.es-DKZaseoJ.js +0 -1
- package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
- package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
- package/dist/de-DE-BvHD68Ay.js +0 -1
- package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
- package/dist/diners.svg.es-SydF_H-Z.js +0 -1
- package/dist/discover.svg.es-B8vgzVNG.js +0 -1
- package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
- package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
- package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
- package/dist/elo.svg.es-CTOm1rvj.js +0 -1
- package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
- package/dist/en-US-dqfKx3GS.js +0 -1
- package/dist/eps.svg.es-CApyGjyU.js +0 -1
- package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
- package/dist/error-Cg-i7gGl.js +0 -1
- package/dist/error-DY_I2hPx.mjs +0 -13
- package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
- package/dist/formatting.es-DBtYnvI5.js +0 -1
- package/dist/formatting.es-eYgXv_AK.mjs +0 -70
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
- package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
- package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
- package/dist/getComposedString.es-DvSNX-_z.js +0 -1
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
- package/dist/girocard.svg.es-tVgtT23w.js +0 -1
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
- package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
- package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
- package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
- package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
- package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
- package/dist/index-Cai7laNY.mjs +0 -1069
- package/dist/index-DIFK3mcJ.js +0 -6
- package/dist/index-DyvRdSR7.mjs +0 -9673
- package/dist/index-IZaUTAsE.js +0 -1
- package/dist/index.es-2JWHHSgP.js +0 -1
- package/dist/index.es-D5xOw_SJ.mjs +0 -542
- package/dist/invoices-1oYkdQQV.mjs +0 -121
- package/dist/invoices-BAoh6X2a.js +0 -1
- package/dist/it-IT-CEP3oeWs.js +0 -1
- package/dist/it-IT-aPQY57ht.js +0 -1
- package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
- package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
- package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
- package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
- package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
- package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
- package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
- package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
- package/dist/momo.svg.es-BXTQlQRy.js +0 -1
- package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
- package/dist/nl-NL-e_vf6OuT.js +0 -1
- package/dist/nl-NL-zRUAuEHg.js +0 -1
- package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
- package/dist/nyce.svg.es-DM6esO47.js +0 -1
- package/dist/object.es-DFXiU9p3.js +0 -1
- package/dist/object.es-jvvnR8Kr.mjs +0 -12
- package/dist/open-banking.svg.es-DUM360xB.js +0 -1
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
- package/dist/paymentMethods-CZ3ydybI.js +0 -1
- package/dist/paymentMethods-DIV78w0O.mjs +0 -78
- package/dist/payments--lkjiwCt.js +0 -1
- package/dist/payments-Cvqdrprv.mjs +0 -47
- package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
- package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
- package/dist/pricing-3W7XLwL6.js +0 -1
- package/dist/pricing-CJxS2hr2.mjs +0 -17
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
- package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
- package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
- package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
- package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
- package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
- package/dist/slots.es-BpwYO3A3.mjs +0 -18
- package/dist/slots.es-Dq1PTUOv.js +0 -1
- package/dist/sorting.es-CjTrRfSW.mjs +0 -105
- package/dist/sorting.es-RyvcgbSL.js +0 -1
- package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
- package/dist/star.svg.es-Q50IzqXr.js +0 -1
- package/dist/subscription-C41lG-rH.mjs +0 -89
- package/dist/subscription-b0OPx8Du.js +0 -1
- package/dist/subscriptions-300o4ae0.js +0 -1
- package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
- package/dist/trustly.svg.es-CHojqNqm.js +0 -1
- package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
- package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
- package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
- package/dist/url-CjULBkjW.js +0 -1
- package/dist/url-CvNDq4wp.mjs +0 -22
- package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
- package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
- package/dist/useCustomer-DLHOs4BR.js +0 -1
- package/dist/useCustomer-EDhref7T.mjs +0 -25
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
- package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
- package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
- package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
- package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
- package/dist/useInvoiceData-BSjVeJrI.js +0 -1
- package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
- package/dist/useInvoicesList-BRDZqsaB.js +0 -1
- package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
- package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
- package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
- package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
- package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
- package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
- package/dist/usePayments-CANj0QVc.js +0 -1
- package/dist/usePayments-CaT1CBzE.mjs +0 -362
- package/dist/usePortal-BjGoSeLy.js +0 -1
- package/dist/usePortal-CMPQ0M9R.mjs +0 -12
- package/dist/useService-D73FNBjT.js +0 -1
- package/dist/useService-W3Kxems4.mjs +0 -72
- package/dist/useSubscription-D1UKnZAx.mjs +0 -250
- package/dist/useSubscription-DZfRHbL7.js +0 -1
- package/dist/useViewport-Bu0cyeSi.mjs +0 -38
- package/dist/useViewport-CKRY1CKR.js +0 -1
- package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
- package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
- package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
- package/dist/visa.svg.es-D6sc4YTE.js +0 -1
- package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
- package/dist/vpay.svg.es-CLGTyB09.js +0 -1
- package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
- package/dist/zip.svg.es-BRsgmur-.js +0 -1
|
@@ -1,632 +0,0 @@
|
|
|
1
|
-
import { computed, defineComponent, ref, onMounted, watch, openBlock, createElementBlock, renderSlot, useModel, useTemplateRef, toRefs, nextTick, Fragment, createElementVNode, mergeProps, unref, createBlock, createSlots, withCtx, createTextVNode, toDisplayString, createCommentVNode, normalizeClass, withDirectives, vModelText, createVNode, mergeModels } from "vue";
|
|
2
|
-
import { u as useIntl, _ as _sfc_main$7 } from "./customElements-B-89a5oH.mjs";
|
|
3
|
-
import { a as isEqual, i as isEmpty } from "./useService-W3Kxems4.mjs";
|
|
4
|
-
import { f as formatAmount } from "./formatting.es-eYgXv_AK.mjs";
|
|
5
|
-
import { u as uniqueId, g as getRootTestId, _ as _sfc_main$4 } from "./cn.es-BEU5D0Wz.mjs";
|
|
6
|
-
import { _ as _sfc_main$6 } from "./FormMessage.vue.es-C3oxwq_8.mjs";
|
|
7
|
-
import { a as _sfc_main$5 } from "./IconButton.vue.es-KywqWWvr.mjs";
|
|
8
|
-
function useTimePeriod() {
|
|
9
|
-
const { $t } = useIntl();
|
|
10
|
-
const map = computed(() => ({
|
|
11
|
-
DAY: {
|
|
12
|
-
literal: {
|
|
13
|
-
singular: $t({
|
|
14
|
-
defaultMessage: "day",
|
|
15
|
-
id: "time_period.day.singular",
|
|
16
|
-
description: "The singular form of the day time period"
|
|
17
|
-
}),
|
|
18
|
-
plural: $t({
|
|
19
|
-
defaultMessage: "days",
|
|
20
|
-
id: "time_period.day.plural",
|
|
21
|
-
description: "The plural form of the day time period"
|
|
22
|
-
})
|
|
23
|
-
},
|
|
24
|
-
full: $t({
|
|
25
|
-
defaultMessage: "daily",
|
|
26
|
-
id: "time_period.day.full",
|
|
27
|
-
description: "The full form of the day time period"
|
|
28
|
-
})
|
|
29
|
-
},
|
|
30
|
-
WEEK: {
|
|
31
|
-
literal: {
|
|
32
|
-
singular: $t({
|
|
33
|
-
defaultMessage: "week",
|
|
34
|
-
id: "time_period.week.singular",
|
|
35
|
-
description: "The singular form of the week time period"
|
|
36
|
-
}),
|
|
37
|
-
plural: $t({
|
|
38
|
-
defaultMessage: "weeks",
|
|
39
|
-
id: "time_period.week.plural",
|
|
40
|
-
description: "The plural form of the week time period"
|
|
41
|
-
})
|
|
42
|
-
},
|
|
43
|
-
full: $t({
|
|
44
|
-
defaultMessage: "weekly",
|
|
45
|
-
id: "time_period.week.full",
|
|
46
|
-
description: "The full form of the week time period"
|
|
47
|
-
})
|
|
48
|
-
},
|
|
49
|
-
MONTH: {
|
|
50
|
-
literal: {
|
|
51
|
-
singular: $t({
|
|
52
|
-
defaultMessage: "month",
|
|
53
|
-
id: "time_period.month.singular",
|
|
54
|
-
description: "The singular form of the month time period"
|
|
55
|
-
}),
|
|
56
|
-
plural: $t({
|
|
57
|
-
defaultMessage: "months",
|
|
58
|
-
id: "time_period.month.plural",
|
|
59
|
-
description: "The plural form of the month time period"
|
|
60
|
-
})
|
|
61
|
-
},
|
|
62
|
-
full: $t({
|
|
63
|
-
defaultMessage: "monthly",
|
|
64
|
-
id: "time_period.month.full",
|
|
65
|
-
description: "The full form of the month time period"
|
|
66
|
-
})
|
|
67
|
-
},
|
|
68
|
-
YEAR: {
|
|
69
|
-
literal: {
|
|
70
|
-
singular: $t({
|
|
71
|
-
defaultMessage: "year",
|
|
72
|
-
id: "time_period.year.singular",
|
|
73
|
-
description: "The singular form of the year time period"
|
|
74
|
-
}),
|
|
75
|
-
plural: $t({
|
|
76
|
-
defaultMessage: "years",
|
|
77
|
-
id: "time_period.year.plural",
|
|
78
|
-
description: "The plural form of the year time period"
|
|
79
|
-
})
|
|
80
|
-
},
|
|
81
|
-
full: $t({
|
|
82
|
-
defaultMessage: "yearly",
|
|
83
|
-
id: "time_period.year.full",
|
|
84
|
-
description: "The full form of the year time period"
|
|
85
|
-
})
|
|
86
|
-
}
|
|
87
|
-
}));
|
|
88
|
-
const formatTimePeriodLiteral = (timePeriodType, options = { singular: false }) => {
|
|
89
|
-
return map.value[timePeriodType].literal[options.singular ? "singular" : "plural"];
|
|
90
|
-
};
|
|
91
|
-
const formatTimePeriod = (timePeriod, options = {
|
|
92
|
-
short: false,
|
|
93
|
-
hideValueForExactPeriods: false,
|
|
94
|
-
singular: false
|
|
95
|
-
}) => {
|
|
96
|
-
const billingValue = timePeriod.value ?? 1;
|
|
97
|
-
const billingType = map.value[timePeriod.type].literal[options.singular || +billingValue === 1 ? "singular" : "plural"].toLowerCase();
|
|
98
|
-
return `${options.prefix && !options.short ? `${options.prefix} ` : ""}${options.hideValueForExactPeriods && billingValue === 1 ? billingType : `${billingValue} ${billingType}`}`;
|
|
99
|
-
};
|
|
100
|
-
return { map, formatTimePeriod, formatTimePeriodLiteral };
|
|
101
|
-
}
|
|
102
|
-
function getConfigFromPricingItem({
|
|
103
|
-
pricingItem,
|
|
104
|
-
currency,
|
|
105
|
-
billingPeriod
|
|
106
|
-
}) {
|
|
107
|
-
var _a, _b, _c, _d, _e, _f;
|
|
108
|
-
if ((_a = pricingItem.pricing_currency_configs) == null ? void 0 : _a.length) {
|
|
109
|
-
const currencyConfig = getCurrencyConfigByCurrency(
|
|
110
|
-
pricingItem.pricing_currency_configs,
|
|
111
|
-
currency
|
|
112
|
-
);
|
|
113
|
-
if (((_b = currencyConfig == null ? void 0 : currencyConfig.billing_period_configs) == null ? void 0 : _b.length) && billingPeriod) {
|
|
114
|
-
const billingPeriodConfig = getConfigFromPricingItemBillingPeriodConfigs(
|
|
115
|
-
currencyConfig.billing_period_configs,
|
|
116
|
-
billingPeriod
|
|
117
|
-
);
|
|
118
|
-
if (billingPeriodConfig) {
|
|
119
|
-
return billingPeriodConfig;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
if (currencyConfig) {
|
|
123
|
-
const fallbackCurrency = currencyConfig.fallback_currency;
|
|
124
|
-
if (fallbackCurrency) {
|
|
125
|
-
const fallbackCurrencyConfig = getConfigFromPricingItemCurrencyConfigs(
|
|
126
|
-
pricingItem.pricing_currency_configs,
|
|
127
|
-
fallbackCurrency
|
|
128
|
-
);
|
|
129
|
-
if (fallbackCurrencyConfig) {
|
|
130
|
-
return fallbackCurrencyConfig;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
if ((_c = currencyConfig.configs) == null ? void 0 : _c.length) {
|
|
134
|
-
return currencyConfig.configs[0];
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
if ((_d = pricingItem.billing_period_configs) == null ? void 0 : _d.length) {
|
|
139
|
-
const billingPeriodConfig = getConfigFromPricingItemBillingPeriodConfigs(
|
|
140
|
-
pricingItem.billing_period_configs,
|
|
141
|
-
billingPeriod
|
|
142
|
-
);
|
|
143
|
-
if (billingPeriodConfig) {
|
|
144
|
-
return billingPeriodConfig;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if ((_e = pricingItem.configs) == null ? void 0 : _e.length) {
|
|
148
|
-
return (_f = pricingItem.configs) == null ? void 0 : _f[0];
|
|
149
|
-
}
|
|
150
|
-
return void 0;
|
|
151
|
-
}
|
|
152
|
-
const getCurrencyConfigByCurrency = (pricingCurrencyConfigs, currency) => {
|
|
153
|
-
return pricingCurrencyConfigs.find((config) => config.currency === currency);
|
|
154
|
-
};
|
|
155
|
-
const getConfigFromPricingItemCurrencyConfigs = (pricingCurrencyConfigs, currency) => {
|
|
156
|
-
var _a, _b;
|
|
157
|
-
return (_b = (_a = pricingCurrencyConfigs.find((config) => config.currency === currency)) == null ? void 0 : _a.configs) == null ? void 0 : _b[0];
|
|
158
|
-
};
|
|
159
|
-
const getConfigFromPricingItemBillingPeriodConfigs = (billingPeriodConfigs, billingPeriod) => {
|
|
160
|
-
var _a, _b;
|
|
161
|
-
return (_b = (_a = billingPeriodConfigs.find((config) => isEqual(config.billing_period, billingPeriod))) == null ? void 0 : _a.configs) == null ? void 0 : _b[0];
|
|
162
|
-
};
|
|
163
|
-
function usePricingItem({
|
|
164
|
-
currency,
|
|
165
|
-
billingPeriod
|
|
166
|
-
} = {}) {
|
|
167
|
-
const { $t } = useIntl();
|
|
168
|
-
const { formatTimePeriod } = useTimePeriod();
|
|
169
|
-
const renderPricingForPricingItem = ({ pricingItem }) => {
|
|
170
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B;
|
|
171
|
-
const productItem = (_a = pricingItem.product_items) == null ? void 0 : _a[0];
|
|
172
|
-
const config = getConfigFromPricingItem({
|
|
173
|
-
pricingItem,
|
|
174
|
-
currency: currency == null ? void 0 : currency.value,
|
|
175
|
-
billingPeriod: billingPeriod == null ? void 0 : billingPeriod.value
|
|
176
|
-
});
|
|
177
|
-
if (!config) {
|
|
178
|
-
return $t({
|
|
179
|
-
defaultMessage: "Unsupported pricing",
|
|
180
|
-
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
181
|
-
description: "Text displayed when the pricing item pricing is unsupported"
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
if ((productItem == null ? void 0 : productItem.model_type) === "PER_SEAT") {
|
|
185
|
-
return $t({
|
|
186
|
-
defaultMessage: "Per seat",
|
|
187
|
-
id: "pricing_item_pricing.per_seat",
|
|
188
|
-
description: "The pricing item pricing for a per seat pricing item"
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
if ((productItem == null ? void 0 : productItem.model_type) === "ONE_OFF" && ((_d = (_c = (_b = config.details) == null ? void 0 : _b.bands) == null ? void 0 : _c[0]) == null ? void 0 : _d.fixed_amount)) {
|
|
192
|
-
return formatAmount((_g = (_f = (_e = config.details) == null ? void 0 : _e.bands) == null ? void 0 : _f[0]) == null ? void 0 : _g.fixed_amount);
|
|
193
|
-
}
|
|
194
|
-
if (((_h = config.details) == null ? void 0 : _h.pricing_type) === "FLAT" && ((_k = (_j = (_i = config.details) == null ? void 0 : _i.bands) == null ? void 0 : _j[0]) == null ? void 0 : _k.amount)) {
|
|
195
|
-
return $t(
|
|
196
|
-
{
|
|
197
|
-
defaultMessage: "{pricing} per {billing_period}",
|
|
198
|
-
id: "pricing_item_pricing",
|
|
199
|
-
description: "The pricing item pricing"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
pricing: formatAmount((_l = config.details) == null ? void 0 : _l.bands[0].amount),
|
|
203
|
-
billing_period: formatTimePeriod(
|
|
204
|
-
((_m = config == null ? void 0 : config.details) == null ? void 0 : _m.pricing_period) ?? { type: "MONTH", value: 1 },
|
|
205
|
-
{
|
|
206
|
-
short: true,
|
|
207
|
-
hideValueForExactPeriods: true
|
|
208
|
-
}
|
|
209
|
-
)
|
|
210
|
-
}
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
if (((_n = config.details) == null ? void 0 : _n.pricing_type) === "FIXED" && ((_q = (_p = (_o = config.details) == null ? void 0 : _o.bands) == null ? void 0 : _p[0]) == null ? void 0 : _q.fixed_amount)) {
|
|
214
|
-
return $t(
|
|
215
|
-
{
|
|
216
|
-
defaultMessage: "{pricing} per {billing_period}",
|
|
217
|
-
id: "pricing_item_pricing",
|
|
218
|
-
description: "The pricing item pricing"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
pricing: formatAmount((_t = (_s = (_r = config.details) == null ? void 0 : _r.bands) == null ? void 0 : _s[0]) == null ? void 0 : _t.fixed_amount),
|
|
222
|
-
billing_period: formatTimePeriod(
|
|
223
|
-
((_u = config == null ? void 0 : config.details) == null ? void 0 : _u.pricing_period) ?? { type: "MONTH", value: 1 },
|
|
224
|
-
{
|
|
225
|
-
short: true,
|
|
226
|
-
hideValueForExactPeriods: true
|
|
227
|
-
}
|
|
228
|
-
)
|
|
229
|
-
}
|
|
230
|
-
);
|
|
231
|
-
}
|
|
232
|
-
if (((_v = config.details) == null ? void 0 : _v.pricing_type) === "TIERED") {
|
|
233
|
-
return $t({
|
|
234
|
-
defaultMessage: "Tiered pricing",
|
|
235
|
-
id: "pricing_item_pricing.tiered",
|
|
236
|
-
description: "The pricing item pricing for a tiered pricing item"
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
if (((_w = config.details) == null ? void 0 : _w.pricing_type) === "TOP_TIERED") {
|
|
240
|
-
return $t({
|
|
241
|
-
defaultMessage: "Top tiered pricing",
|
|
242
|
-
id: "pricing_item_pricing.top_tiered",
|
|
243
|
-
description: "The pricing item pricing for a top tiered pricing item"
|
|
244
|
-
});
|
|
245
|
-
}
|
|
246
|
-
if (((_x = config.details) == null ? void 0 : _x.pricing_type) === "STAIR_STEP") {
|
|
247
|
-
return $t({
|
|
248
|
-
defaultMessage: "Stair step pricing",
|
|
249
|
-
id: "pricing_item_pricing.stair_step",
|
|
250
|
-
description: "The pricing item pricing for a stair step pricing item"
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
if (((_y = config.details) == null ? void 0 : _y.pricing_type) === "PASS_THROUGH") {
|
|
254
|
-
return $t({
|
|
255
|
-
defaultMessage: "Pass through pricing",
|
|
256
|
-
id: "pricing_item_pricing.pass_through",
|
|
257
|
-
description: "The pricing item pricing for a pass through pricing item"
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
if (((_z = config.details) == null ? void 0 : _z.pricing_type) === "NONE") {
|
|
261
|
-
return $t({
|
|
262
|
-
defaultMessage: "Not billed",
|
|
263
|
-
id: "pricing_item_pricing.none",
|
|
264
|
-
description: "The pricing item pricing for a not billed pricing item"
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
if (((_A = config.details) == null ? void 0 : _A.pricing_type) === "FLAT_TOP_UP") {
|
|
268
|
-
return $t({
|
|
269
|
-
defaultMessage: "Flat top up pricing",
|
|
270
|
-
id: "pricing_item_pricing.flat_top_up",
|
|
271
|
-
description: "The pricing item pricing for a flat top up pricing item"
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
if (((_B = config.details) == null ? void 0 : _B.pricing_type) === "TIERED_TOP_UP") {
|
|
275
|
-
return $t({
|
|
276
|
-
defaultMessage: "Tiered top up pricing",
|
|
277
|
-
id: "pricing_item_pricing.tiered_top_up",
|
|
278
|
-
description: "The pricing item pricing for a tiered top up pricing item"
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
return $t({
|
|
282
|
-
defaultMessage: "Unsupported pricing",
|
|
283
|
-
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
284
|
-
description: "Text displayed when the pricing item pricing is unsupported"
|
|
285
|
-
});
|
|
286
|
-
};
|
|
287
|
-
return { renderPricingForPricingItem };
|
|
288
|
-
}
|
|
289
|
-
const rangeDefaultClasses = "w-full appearance-none cursor-pointer";
|
|
290
|
-
const rangeSizeClasses = {
|
|
291
|
-
sm: "range-sm",
|
|
292
|
-
md: "range-md",
|
|
293
|
-
lg: "range-lg",
|
|
294
|
-
xl: "range-xl"
|
|
295
|
-
};
|
|
296
|
-
function useRangeClasses(props) {
|
|
297
|
-
const rangeClasses = computed(
|
|
298
|
-
() => `${rangeDefaultClasses} ${rangeSizeClasses[props.size.value]}`
|
|
299
|
-
);
|
|
300
|
-
return { rangeClasses };
|
|
301
|
-
}
|
|
302
|
-
const rangeInputStyles = "/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n";
|
|
303
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
304
|
-
__name: "CustomStyles",
|
|
305
|
-
props: {
|
|
306
|
-
css: {},
|
|
307
|
-
marker: {}
|
|
308
|
-
},
|
|
309
|
-
setup(__props) {
|
|
310
|
-
const props = __props;
|
|
311
|
-
const containerRef = ref();
|
|
312
|
-
function injectStyles(css) {
|
|
313
|
-
if (!css || !containerRef.value) return;
|
|
314
|
-
const root = containerRef.value.getRootNode();
|
|
315
|
-
if (!(root instanceof ShadowRoot)) {
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
const existing = root.querySelector(`style[${props.marker}]`);
|
|
319
|
-
if (existing) return;
|
|
320
|
-
const style = document.createElement("style");
|
|
321
|
-
style.setAttribute(props.marker, "true");
|
|
322
|
-
style.textContent = css;
|
|
323
|
-
root.appendChild(style);
|
|
324
|
-
}
|
|
325
|
-
onMounted(() => {
|
|
326
|
-
if (props.css) injectStyles(props.css);
|
|
327
|
-
});
|
|
328
|
-
watch(
|
|
329
|
-
() => props.css,
|
|
330
|
-
(css) => {
|
|
331
|
-
if (!css || !containerRef.value) return;
|
|
332
|
-
const root = containerRef.value.getRootNode();
|
|
333
|
-
if (!(root instanceof ShadowRoot)) return;
|
|
334
|
-
const style = root.querySelector(`style[${props.marker}]`);
|
|
335
|
-
if (style) style.textContent = css;
|
|
336
|
-
else injectStyles(css);
|
|
337
|
-
}
|
|
338
|
-
);
|
|
339
|
-
return (_ctx, _cache) => {
|
|
340
|
-
return openBlock(), createElementBlock("div", {
|
|
341
|
-
ref_key: "containerRef",
|
|
342
|
-
ref: containerRef
|
|
343
|
-
}, [
|
|
344
|
-
renderSlot(_ctx.$slots, "default")
|
|
345
|
-
], 512);
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
const _hoisted_1 = ["data-testid"];
|
|
350
|
-
const _hoisted_2 = ["step", "min", "max", "name", "disabled"];
|
|
351
|
-
const _hoisted_3 = {
|
|
352
|
-
key: 0,
|
|
353
|
-
class: "mt-2 text-sm text-secondary"
|
|
354
|
-
};
|
|
355
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
356
|
-
__name: "RangeInput",
|
|
357
|
-
props: /* @__PURE__ */ mergeModels({
|
|
358
|
-
disabled: { type: Boolean, default: false },
|
|
359
|
-
label: { default: void 0 },
|
|
360
|
-
labelAfter: { type: Boolean, default: false },
|
|
361
|
-
max: { default: 100 },
|
|
362
|
-
min: { default: 0 },
|
|
363
|
-
name: {},
|
|
364
|
-
required: { type: Boolean, default: false },
|
|
365
|
-
rootClass: { default: "" },
|
|
366
|
-
size: { default: "md" },
|
|
367
|
-
steps: { default: 1 },
|
|
368
|
-
variant: { default: "default" },
|
|
369
|
-
error: {},
|
|
370
|
-
inputWrapperClass: {}
|
|
371
|
-
}, {
|
|
372
|
-
"modelValue": { required: true },
|
|
373
|
-
"modelModifiers": {}
|
|
374
|
-
}),
|
|
375
|
-
emits: ["update:modelValue"],
|
|
376
|
-
setup(__props) {
|
|
377
|
-
const props = __props;
|
|
378
|
-
const model = useModel(__props, "modelValue");
|
|
379
|
-
const inputRef = useTemplateRef("inputRef");
|
|
380
|
-
function setRangeBackground() {
|
|
381
|
-
const el = inputRef.value;
|
|
382
|
-
if (!el) return;
|
|
383
|
-
const value = model.value ?? props.min;
|
|
384
|
-
const percentage = (Number(value) - props.min) / (props.max - props.min) * 100;
|
|
385
|
-
el.style.setProperty("--range-percentage", `${percentage}%`);
|
|
386
|
-
}
|
|
387
|
-
const { rangeClasses } = useRangeClasses(toRefs(props));
|
|
388
|
-
const stepButtonSize = computed(() => {
|
|
389
|
-
switch (props.size) {
|
|
390
|
-
case "xl":
|
|
391
|
-
return "lg";
|
|
392
|
-
case "lg":
|
|
393
|
-
return "md";
|
|
394
|
-
case "md":
|
|
395
|
-
return "sm";
|
|
396
|
-
default:
|
|
397
|
-
return props.size;
|
|
398
|
-
}
|
|
399
|
-
});
|
|
400
|
-
const name = props.name ?? uniqueId("range-input-");
|
|
401
|
-
const onPrevious = computed(
|
|
402
|
-
() => model.value != null && model.value > props.min ? () => {
|
|
403
|
-
model.value = (model.value ?? 0) - props.steps;
|
|
404
|
-
} : void 0
|
|
405
|
-
);
|
|
406
|
-
const onNext = computed(
|
|
407
|
-
() => model.value != null && model.value < props.max ? () => {
|
|
408
|
-
model.value = (model.value ?? 0) + props.steps;
|
|
409
|
-
} : void 0
|
|
410
|
-
);
|
|
411
|
-
const showStepButtons = computed(
|
|
412
|
-
() => ["stepped", "stepped-contained", "stepped-ghost"].includes(props.variant)
|
|
413
|
-
);
|
|
414
|
-
const isContained = computed(() => props.variant === "stepped-contained");
|
|
415
|
-
const buttonIntent = computed(
|
|
416
|
-
() => isContained.value || props.variant === "stepped-ghost" ? "subtle" : "secondary"
|
|
417
|
-
);
|
|
418
|
-
watch([model, inputRef], () => nextTick(setRangeBackground), { immediate: true });
|
|
419
|
-
return (_ctx, _cache) => {
|
|
420
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
421
|
-
createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
422
|
-
class: ["flex flex-col gap-2", { rootClass: __props.rootClass, "flex-col-reverse": __props.labelAfter }],
|
|
423
|
-
"data-testid": unref(getRootTestId)(unref(name))
|
|
424
|
-
}), [
|
|
425
|
-
__props.label ? (openBlock(), createBlock(_sfc_main$4, {
|
|
426
|
-
key: 0,
|
|
427
|
-
for: unref(name),
|
|
428
|
-
required: __props.required
|
|
429
|
-
}, createSlots({
|
|
430
|
-
suffix: withCtx(() => [
|
|
431
|
-
renderSlot(_ctx.$slots, "label-suffix")
|
|
432
|
-
]),
|
|
433
|
-
default: withCtx(() => [
|
|
434
|
-
createTextVNode(toDisplayString(__props.label) + " ", 1)
|
|
435
|
-
]),
|
|
436
|
-
_: 2
|
|
437
|
-
}, [
|
|
438
|
-
_ctx.$slots.tooltip ? {
|
|
439
|
-
name: "tooltip",
|
|
440
|
-
fn: withCtx(() => [
|
|
441
|
-
renderSlot(_ctx.$slots, "tooltip")
|
|
442
|
-
]),
|
|
443
|
-
key: "0"
|
|
444
|
-
} : void 0
|
|
445
|
-
]), 1032, ["for", "required"])) : createCommentVNode("", true),
|
|
446
|
-
createElementVNode("div", {
|
|
447
|
-
class: normalizeClass({ flex: showStepButtons.value, "rounded border bg-white": isContained.value })
|
|
448
|
-
}, [
|
|
449
|
-
showStepButtons.value ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
450
|
-
key: 0,
|
|
451
|
-
size: stepButtonSize.value,
|
|
452
|
-
intent: buttonIntent.value,
|
|
453
|
-
icon: "remove",
|
|
454
|
-
disabled: !onPrevious.value || __props.disabled,
|
|
455
|
-
onMousedown: _cache[0] || (_cache[0] = ($event) => {
|
|
456
|
-
var _a;
|
|
457
|
-
return (_a = onPrevious.value) == null ? void 0 : _a.call(onPrevious);
|
|
458
|
-
})
|
|
459
|
-
}, null, 8, ["size", "intent", "disabled"])) : createCommentVNode("", true),
|
|
460
|
-
createElementVNode("div", {
|
|
461
|
-
class: normalizeClass([
|
|
462
|
-
{
|
|
463
|
-
"flex grow items-center px-3": showStepButtons.value,
|
|
464
|
-
"border-x": isContained.value
|
|
465
|
-
},
|
|
466
|
-
__props.inputWrapperClass
|
|
467
|
-
])
|
|
468
|
-
}, [
|
|
469
|
-
withDirectives(createElementVNode("input", {
|
|
470
|
-
ref_key: "inputRef",
|
|
471
|
-
ref: inputRef,
|
|
472
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => model.value = $event),
|
|
473
|
-
step: __props.steps,
|
|
474
|
-
min: __props.min,
|
|
475
|
-
max: __props.max,
|
|
476
|
-
name: unref(name),
|
|
477
|
-
disabled: __props.disabled,
|
|
478
|
-
type: "range",
|
|
479
|
-
class: normalizeClass(unref(rangeClasses)),
|
|
480
|
-
onInput: setRangeBackground
|
|
481
|
-
}, null, 42, _hoisted_2), [
|
|
482
|
-
[vModelText, model.value]
|
|
483
|
-
])
|
|
484
|
-
], 2),
|
|
485
|
-
showStepButtons.value ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
486
|
-
key: 1,
|
|
487
|
-
size: stepButtonSize.value,
|
|
488
|
-
intent: buttonIntent.value,
|
|
489
|
-
icon: "add",
|
|
490
|
-
disabled: !onNext.value || __props.disabled,
|
|
491
|
-
onMousedown: _cache[2] || (_cache[2] = ($event) => {
|
|
492
|
-
var _a;
|
|
493
|
-
return (_a = onNext.value) == null ? void 0 : _a.call(onNext);
|
|
494
|
-
})
|
|
495
|
-
}, null, 8, ["size", "intent", "disabled"])) : createCommentVNode("", true)
|
|
496
|
-
], 2)
|
|
497
|
-
], 16, _hoisted_1),
|
|
498
|
-
createVNode(_sfc_main$3, {
|
|
499
|
-
marker: "range-input-styles",
|
|
500
|
-
css: unref(rangeInputStyles)
|
|
501
|
-
}, null, 8, ["css"]),
|
|
502
|
-
!unref(isEmpty)(__props.error) || _ctx.$slots.helper ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
503
|
-
!unref(isEmpty)(__props.error) ? (openBlock(), createBlock(_sfc_main$6, {
|
|
504
|
-
key: 0,
|
|
505
|
-
message: __props.error
|
|
506
|
-
}, null, 8, ["message"])) : _ctx.$slots.helper ? renderSlot(_ctx.$slots, "helper", {}, void 0, void 0, 1) : createCommentVNode("", true)
|
|
507
|
-
])) : createCommentVNode("", true)
|
|
508
|
-
], 64);
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
});
|
|
512
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
513
|
-
__name: "RangeInputExtended",
|
|
514
|
-
props: /* @__PURE__ */ mergeModels({
|
|
515
|
-
options: { default: () => [] },
|
|
516
|
-
label: {},
|
|
517
|
-
name: {},
|
|
518
|
-
required: { type: Boolean, default: false },
|
|
519
|
-
rootClass: {},
|
|
520
|
-
size: { default: "md" },
|
|
521
|
-
variant: {},
|
|
522
|
-
error: {},
|
|
523
|
-
disabled: { type: Boolean },
|
|
524
|
-
labelAfter: { type: Boolean },
|
|
525
|
-
inputWrapperClass: {}
|
|
526
|
-
}, {
|
|
527
|
-
"modelValue": { required: true },
|
|
528
|
-
"modelModifiers": {}
|
|
529
|
-
}),
|
|
530
|
-
emits: ["update:modelValue"],
|
|
531
|
-
setup(__props) {
|
|
532
|
-
const props = __props;
|
|
533
|
-
const model = useModel(__props, "modelValue");
|
|
534
|
-
const derivedModel = computed({
|
|
535
|
-
get: () => {
|
|
536
|
-
const index = model.value ? props.options.findIndex((option) => option === model.value) : 0;
|
|
537
|
-
return index >= 0 ? index : 0;
|
|
538
|
-
},
|
|
539
|
-
set: (value) => {
|
|
540
|
-
model.value = props.options[value];
|
|
541
|
-
return props.options.findIndex((option) => option === model.value);
|
|
542
|
-
}
|
|
543
|
-
});
|
|
544
|
-
const optionsCount = computed(() => props.options.length ?? 1);
|
|
545
|
-
return (_ctx, _cache) => {
|
|
546
|
-
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
547
|
-
modelValue: derivedModel.value,
|
|
548
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => derivedModel.value = $event)
|
|
549
|
-
}, _ctx.$attrs, {
|
|
550
|
-
variant: __props.variant,
|
|
551
|
-
"label-after": __props.labelAfter,
|
|
552
|
-
min: 0,
|
|
553
|
-
max: optionsCount.value - 1,
|
|
554
|
-
steps: 1,
|
|
555
|
-
label: __props.label,
|
|
556
|
-
name: __props.name,
|
|
557
|
-
required: __props.required,
|
|
558
|
-
"root-class": __props.rootClass,
|
|
559
|
-
size: __props.size,
|
|
560
|
-
"input-wrapper-class": __props.inputWrapperClass
|
|
561
|
-
}), {
|
|
562
|
-
"label-suffix": withCtx(() => [
|
|
563
|
-
renderSlot(_ctx.$slots, "label-suffix")
|
|
564
|
-
]),
|
|
565
|
-
_: 3
|
|
566
|
-
}, 16, ["modelValue", "variant", "label-after", "max", "label", "name", "required", "root-class", "size", "input-wrapper-class"]);
|
|
567
|
-
};
|
|
568
|
-
}
|
|
569
|
-
});
|
|
570
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
571
|
-
__name: "PricingGroupRangeInput",
|
|
572
|
-
props: /* @__PURE__ */ mergeModels({
|
|
573
|
-
modelValue: {},
|
|
574
|
-
options: {},
|
|
575
|
-
name: {},
|
|
576
|
-
variant: { default: "stepped-contained" },
|
|
577
|
-
size: {}
|
|
578
|
-
}, {
|
|
579
|
-
"modelValue": {},
|
|
580
|
-
"modelModifiers": {}
|
|
581
|
-
}),
|
|
582
|
-
emits: ["update:modelValue"],
|
|
583
|
-
setup(__props) {
|
|
584
|
-
const props = __props;
|
|
585
|
-
const model = useModel(__props, "modelValue");
|
|
586
|
-
const label = computed(() => {
|
|
587
|
-
var _a;
|
|
588
|
-
return (_a = props.options.find((option) => option.value === model.value)) == null ? void 0 : _a.label;
|
|
589
|
-
});
|
|
590
|
-
const rangeOptions = computed(() => props.options.map((option) => option.value));
|
|
591
|
-
const pricing = computed(
|
|
592
|
-
() => {
|
|
593
|
-
var _a;
|
|
594
|
-
return (_a = props.options.find((option) => option.value === model.value)) == null ? void 0 : _a.description;
|
|
595
|
-
}
|
|
596
|
-
);
|
|
597
|
-
return (_ctx, _cache) => {
|
|
598
|
-
return openBlock(), createBlock(unref(_sfc_main$1), mergeProps({
|
|
599
|
-
modelValue: model.value,
|
|
600
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event)
|
|
601
|
-
}, _ctx.$attrs, {
|
|
602
|
-
label: label.value,
|
|
603
|
-
"label-after": "",
|
|
604
|
-
variant: __props.variant,
|
|
605
|
-
name: __props.name,
|
|
606
|
-
options: rangeOptions.value,
|
|
607
|
-
size: __props.size,
|
|
608
|
-
"input-wrapper-class": "border-l border-r",
|
|
609
|
-
required: ""
|
|
610
|
-
}), {
|
|
611
|
-
"label-suffix": withCtx(() => [
|
|
612
|
-
createVNode(unref(_sfc_main$7), {
|
|
613
|
-
tag: "span",
|
|
614
|
-
variant: "body-xs",
|
|
615
|
-
color: "subtle"
|
|
616
|
-
}, {
|
|
617
|
-
default: withCtx(() => [
|
|
618
|
-
createTextVNode(toDisplayString(pricing.value), 1)
|
|
619
|
-
]),
|
|
620
|
-
_: 1
|
|
621
|
-
})
|
|
622
|
-
]),
|
|
623
|
-
_: 1
|
|
624
|
-
}, 16, ["modelValue", "label", "variant", "name", "options", "size"]);
|
|
625
|
-
};
|
|
626
|
-
}
|
|
627
|
-
});
|
|
628
|
-
export {
|
|
629
|
-
_sfc_main as _,
|
|
630
|
-
usePricingItem as a,
|
|
631
|
-
useTimePeriod as u
|
|
632
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),n=require("./customElements-DD7bpqkx.js"),r=require("./useService-D73FNBjT.js"),i=require("./formatting.es-DBtYnvI5.js"),t=require("./cn.es-DxSeYcoP.js"),a=require("./FormMessage.vue.es-Bd4_NG9H.js"),l=require("./IconButton.vue.es-BHdQskx0.js");function o(){const{$t:r}=n.useIntl(),i=e.computed(()=>({DAY:{literal:{singular:r({defaultMessage:"day",id:"time_period.day.singular",description:"The singular form of the day time period"}),plural:r({defaultMessage:"days",id:"time_period.day.plural",description:"The plural form of the day time period"})},full:r({defaultMessage:"daily",id:"time_period.day.full",description:"The full form of the day time period"})},WEEK:{literal:{singular:r({defaultMessage:"week",id:"time_period.week.singular",description:"The singular form of the week time period"}),plural:r({defaultMessage:"weeks",id:"time_period.week.plural",description:"The plural form of the week time period"})},full:r({defaultMessage:"weekly",id:"time_period.week.full",description:"The full form of the week time period"})},MONTH:{literal:{singular:r({defaultMessage:"month",id:"time_period.month.singular",description:"The singular form of the month time period"}),plural:r({defaultMessage:"months",id:"time_period.month.plural",description:"The plural form of the month time period"})},full:r({defaultMessage:"monthly",id:"time_period.month.full",description:"The full form of the month time period"})},YEAR:{literal:{singular:r({defaultMessage:"year",id:"time_period.year.singular",description:"The singular form of the year time period"}),plural:r({defaultMessage:"years",id:"time_period.year.plural",description:"The plural form of the year time period"})},full:r({defaultMessage:"yearly",id:"time_period.year.full",description:"The full form of the year time period"})}}));return{map:i,formatTimePeriod:(e,n={short:!1,hideValueForExactPeriods:!1,singular:!1})=>{const r=e.value??1,t=i.value[e.type].literal[n.singular||1===+r?"singular":"plural"].toLowerCase();return`${n.prefix&&!n.short?`${n.prefix} `:""}${n.hideValueForExactPeriods&&1===r?t:`${r} ${t}`}`},formatTimePeriodLiteral:(e,n={singular:!1})=>i.value[e].literal[n.singular?"singular":"plural"]}}const d=(e,n)=>e.find(e=>e.currency===n),s=(e,n)=>{var r,i;return null==(i=null==(r=e.find(e=>e.currency===n))?void 0:r.configs)?void 0:i[0]},u=(e,n)=>{var i,t;return null==(t=null==(i=e.find(e=>r.isEqual(e.billing_period,n)))?void 0:i.configs)?void 0:t[0]};const p={sm:"range-sm",md:"range-md",lg:"range-lg",xl:"range-xl"};const c=e.defineComponent({__name:"CustomStyles",props:{css:{},marker:{}},setup(n){const r=n,i=e.ref();function t(e){if(!e||!i.value)return;const n=i.value.getRootNode();if(!(n instanceof ShadowRoot))return;if(n.querySelector(`style[${r.marker}]`))return;const t=document.createElement("style");t.setAttribute(r.marker,"true"),t.textContent=e,n.appendChild(t)}return e.onMounted(()=>{r.css&&t(r.css)}),e.watch(()=>r.css,e=>{if(!e||!i.value)return;const n=i.value.getRootNode();if(!(n instanceof ShadowRoot))return;const a=n.querySelector(`style[${r.marker}]`);a?a.textContent=e:t(e)}),(n,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:i},[e.renderSlot(n.$slots,"default")],512))}}),m=["data-testid"],g=["step","min","max","name","disabled"],f={key:0,class:"mt-2 text-sm text-secondary"},h=e.defineComponent({__name:"RangeInput",props:e.mergeModels({disabled:{type:Boolean,default:!1},label:{default:void 0},labelAfter:{type:Boolean,default:!1},max:{default:100},min:{default:0},name:{},required:{type:Boolean,default:!1},rootClass:{default:""},size:{default:"md"},steps:{default:1},variant:{default:"default"},error:{},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const i=n,o=e.useModel(n,"modelValue"),d=e.useTemplateRef("inputRef");function s(){const e=d.value;if(!e)return;const n=o.value??i.min,r=(Number(n)-i.min)/(i.max-i.min)*100;e.style.setProperty("--range-percentage",`${r}%`)}const{rangeClasses:u}=function(n){return{rangeClasses:e.computed(()=>`w-full appearance-none cursor-pointer ${p[n.size.value]}`)}}(e.toRefs(i)),h=e.computed(()=>{switch(i.size){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return i.size}}),v=i.name??t.uniqueId("range-input-"),b=e.computed(()=>null!=o.value&&o.value>i.min?()=>{o.value=(o.value??0)-i.steps}:void 0),_=e.computed(()=>null!=o.value&&o.value<i.max?()=>{o.value=(o.value??0)+i.steps}:void 0),y=e.computed(()=>["stepped","stepped-contained","stepped-ghost"].includes(i.variant)),x=e.computed(()=>"stepped-contained"===i.variant),k=e.computed(()=>x.value||"stepped-ghost"===i.variant?"subtle":"secondary");return e.watch([o,d],()=>e.nextTick(s),{immediate:!0}),(i,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps(i.$attrs,{class:["flex flex-col gap-2",{rootClass:n.rootClass,"flex-col-reverse":n.labelAfter}],"data-testid":e.unref(t.getRootTestId)(e.unref(v))}),[n.label?(e.openBlock(),e.createBlock(t._sfc_main,{key:0,for:e.unref(v),required:n.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(i.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label)+" ",1)]),_:2},[i.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"tooltip")]),key:"0"}:void 0]),1032,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({flex:y.value,"rounded border bg-white":x.value})},[y.value?(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{key:0,size:h.value,intent:k.value,icon:"remove",disabled:!b.value||n.disabled,onMousedown:p[0]||(p[0]=e=>{var n;return null==(n=b.value)?void 0:n.call(b)})},null,8,["size","intent","disabled"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"flex grow items-center px-3":y.value,"border-x":x.value},n.inputWrapperClass])},[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:d,"onUpdate:modelValue":p[1]||(p[1]=e=>o.value=e),step:n.steps,min:n.min,max:n.max,name:e.unref(v),disabled:n.disabled,type:"range",class:e.normalizeClass(e.unref(u)),onInput:s},null,42,g),[[e.vModelText,o.value]])],2),y.value?(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{key:1,size:h.value,intent:k.value,icon:"add",disabled:!_.value||n.disabled,onMousedown:p[2]||(p[2]=e=>{var n;return null==(n=_.value)?void 0:n.call(_)})},null,8,["size","intent","disabled"])):e.createCommentVNode("",!0)],2)],16,m),e.createVNode(c,{marker:"range-input-styles",css:e.unref("/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n")},null,8,["css"]),!e.unref(r.isEmpty)(n.error)||i.$slots.helper?(e.openBlock(),e.createElementBlock("div",f,[e.unref(r.isEmpty)(n.error)?i.$slots.helper?e.renderSlot(i.$slots,"helper",{},void 0,void 0,1):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a._sfc_main,{key:0,message:n.error},null,8,["message"]))])):e.createCommentVNode("",!0)],64))}}),v=e.defineComponent({__name:"RangeInputExtended",props:e.mergeModels({options:{default:()=>[]},label:{},name:{},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},variant:{},error:{},disabled:{type:Boolean},labelAfter:{type:Boolean},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const r=n,i=e.useModel(n,"modelValue"),t=e.computed({get:()=>{const e=i.value?r.options.findIndex(e=>e===i.value):0;return e>=0?e:0},set:e=>(i.value=r.options[e],r.options.findIndex(e=>e===i.value))}),a=e.computed(()=>r.options.length??1);return(r,i)=>(e.openBlock(),e.createBlock(h,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e)},r.$attrs,{variant:n.variant,"label-after":n.labelAfter,min:0,max:a.value-1,steps:1,label:n.label,name:n.name,required:n.required,"root-class":n.rootClass,size:n.size,"input-wrapper-class":n.inputWrapperClass}),{"label-suffix":e.withCtx(()=>[e.renderSlot(r.$slots,"label-suffix")]),_:3},16,["modelValue","variant","label-after","max","label","name","required","root-class","size","input-wrapper-class"]))}}),b=e.defineComponent({__name:"PricingGroupRangeInput",props:e.mergeModels({modelValue:{},options:{},name:{},variant:{default:"stepped-contained"},size:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(r){const i=r,t=e.useModel(r,"modelValue"),a=e.computed(()=>{var e;return null==(e=i.options.find(e=>e.value===t.value))?void 0:e.label}),l=e.computed(()=>i.options.map(e=>e.value)),o=e.computed(()=>{var e;return null==(e=i.options.find(e=>e.value===t.value))?void 0:e.description});return(i,d)=>(e.openBlock(),e.createBlock(e.unref(v),e.mergeProps({modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=e=>t.value=e)},i.$attrs,{label:a.value,"label-after":"",variant:r.variant,name:r.name,options:l.value,size:r.size,"input-wrapper-class":"border-l border-r",required:""}),{"label-suffix":e.withCtx(()=>[e.createVNode(e.unref(n._sfc_main),{tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1})]),_:1},16,["modelValue","label","variant","name","options","size"]))}});exports._sfc_main=b,exports.usePricingItem=function({currency:e,billingPeriod:r}={}){const{$t:t}=n.useIntl(),{formatTimePeriod:a}=o();return{renderPricingForPricingItem:({pricingItem:n})=>{var l,o,p,c,m,g,f,h,v,b,_,y,x,k,w,T,M,z,C,V,E,P,B,S,$,q,N,I;const R=null==(l=n.product_items)?void 0:l[0],A=function({pricingItem:e,currency:n,billingPeriod:r}){var i,t,a,l,o,p;if(null==(i=e.pricing_currency_configs)?void 0:i.length){const i=d(e.pricing_currency_configs,n);if((null==(t=null==i?void 0:i.billing_period_configs)?void 0:t.length)&&r){const e=u(i.billing_period_configs,r);if(e)return e}if(i){const n=i.fallback_currency;if(n){const r=s(e.pricing_currency_configs,n);if(r)return r}if(null==(a=i.configs)?void 0:a.length)return i.configs[0]}}if(null==(l=e.billing_period_configs)?void 0:l.length){const n=u(e.billing_period_configs,r);if(n)return n}if(null==(o=e.configs)?void 0:o.length)return null==(p=e.configs)?void 0:p[0]}({pricingItem:n,currency:null==e?void 0:e.value,billingPeriod:null==r?void 0:r.value});return A?"PER_SEAT"===(null==R?void 0:R.model_type)?t({defaultMessage:"Per seat",id:"pricing_item_pricing.per_seat",description:"The pricing item pricing for a per seat pricing item"}):"ONE_OFF"===(null==R?void 0:R.model_type)&&(null==(c=null==(p=null==(o=A.details)?void 0:o.bands)?void 0:p[0])?void 0:c.fixed_amount)?i.formatAmount(null==(f=null==(g=null==(m=A.details)?void 0:m.bands)?void 0:g[0])?void 0:f.fixed_amount):"FLAT"===(null==(h=A.details)?void 0:h.pricing_type)&&(null==(_=null==(b=null==(v=A.details)?void 0:v.bands)?void 0:b[0])?void 0:_.amount)?t({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:i.formatAmount(null==(y=A.details)?void 0:y.bands[0].amount),billing_period:a((null==(x=null==A?void 0:A.details)?void 0:x.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"FIXED"===(null==(k=A.details)?void 0:k.pricing_type)&&(null==(M=null==(T=null==(w=A.details)?void 0:w.bands)?void 0:T[0])?void 0:M.fixed_amount)?t({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:i.formatAmount(null==(V=null==(C=null==(z=A.details)?void 0:z.bands)?void 0:C[0])?void 0:V.fixed_amount),billing_period:a((null==(E=null==A?void 0:A.details)?void 0:E.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"TIERED"===(null==(P=A.details)?void 0:P.pricing_type)?t({defaultMessage:"Tiered pricing",id:"pricing_item_pricing.tiered",description:"The pricing item pricing for a tiered pricing item"}):"TOP_TIERED"===(null==(B=A.details)?void 0:B.pricing_type)?t({defaultMessage:"Top tiered pricing",id:"pricing_item_pricing.top_tiered",description:"The pricing item pricing for a top tiered pricing item"}):"STAIR_STEP"===(null==(S=A.details)?void 0:S.pricing_type)?t({defaultMessage:"Stair step pricing",id:"pricing_item_pricing.stair_step",description:"The pricing item pricing for a stair step pricing item"}):"PASS_THROUGH"===(null==($=A.details)?void 0:$.pricing_type)?t({defaultMessage:"Pass through pricing",id:"pricing_item_pricing.pass_through",description:"The pricing item pricing for a pass through pricing item"}):"NONE"===(null==(q=A.details)?void 0:q.pricing_type)?t({defaultMessage:"Not billed",id:"pricing_item_pricing.none",description:"The pricing item pricing for a not billed pricing item"}):"FLAT_TOP_UP"===(null==(N=A.details)?void 0:N.pricing_type)?t({defaultMessage:"Flat top up pricing",id:"pricing_item_pricing.flat_top_up",description:"The pricing item pricing for a flat top up pricing item"}):"TIERED_TOP_UP"===(null==(I=A.details)?void 0:I.pricing_type)?t({defaultMessage:"Tiered top up pricing",id:"pricing_item_pricing.tiered_top_up",description:"The pricing item pricing for a tiered top up pricing item"}):t({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"}):t({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})}}},exports.useTimePeriod=o;
|