@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
|
+
const t=require("vue");function M(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var a=1;a<arguments.length;a++){var n=arguments[a]!=null?arguments[a]:{};a%2?M(Object(n),!0).forEach(function(r){fe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fe(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function G(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(a.includes(r)||(n[r]=t.unref(e[r])),n),{})}function _(e){return typeof e=="function"}function $e(e){return t.isReactive(e)||t.isReadonly(e)}function X(e,a,n){let r=e;const s=a.split(".");for(let u=0;u<s.length;u++){if(!r[s[u]])return n;r=r[s[u]]}return r}function B(e,a,n){return t.computed(()=>e.some(r=>X(a,r,{[n]:!1})[n]))}function U(e,a,n){return t.computed(()=>e.reduce((r,s)=>{const u=X(a,s,{[n]:!1})[n]||[];return r.concat(u)},[]))}function Y(e,a,n,r){return e.call(r,t.unref(a),t.unref(n),r)}function ee(e){return e.$valid!==void 0?!e.$valid:!e}function pe(e,a,n,r,s,u,g){let{$lazy:i,$rewardEarly:$}=s,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],p=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,v=arguments.length>10?arguments[10]:void 0;const m=t.ref(!!r.value),o=t.ref(0);n.value=!1;const c=t.watch([a,r].concat(l,v),()=>{if(i&&!r.value||$&&!d.value&&!n.value)return;let f;try{f=Y(e,a,p,g)}catch(h){f=Promise.reject(h)}o.value++,n.value=!!o.value,m.value=!1,Promise.resolve(f).then(h=>{o.value--,n.value=!!o.value,u.value=h,m.value=ee(h)}).catch(h=>{o.value--,n.value=!!o.value,u.value=h,m.value=!0})},{immediate:!0,deep:typeof a=="object"});return{$invalid:m,$unwatch:c}}function ge(e,a,n,r,s,u,g,i){let{$lazy:$,$rewardEarly:l}=r;const p=()=>({}),d=t.computed(()=>{if($&&!n.value||l&&!i.value)return!1;let v=!0;try{const m=Y(e,a,g,u);s.value=m,v=ee(m)}catch(m){s.value=m}return v});return{$unwatch:p,$invalid:d}}function me(e,a,n,r,s,u,g,i,$,l,p){const d=t.ref(!1),v=e.$params||{},m=t.ref(null);let o,c;e.$async?{$invalid:o,$unwatch:c}=pe(e.$validator,a,d,n,r,m,s,e.$watchTargets,$,l,p):{$invalid:o,$unwatch:c}=ge(e.$validator,a,n,r,m,s,$,l);const f=e.$message;return{$message:_(f)?t.computed(()=>f(G({$pending:d,$invalid:o,$params:G(v),$model:a,$response:m,$validator:u,$propertyPath:i,$property:g}))):f||"",$params:v,$pending:d,$invalid:o,$response:m,$unwatch:c}}function ve(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const a=t.unref(e),n=Object.keys(a),r={},s={},u={};let g=null;return n.forEach(i=>{const $=a[i];switch(!0){case _($.$validator):r[i]=$;break;case _($):r[i]={$validator:$};break;case i==="$validationGroups":g=$;break;case i.startsWith("$"):u[i]=$;break;default:s[i]=$}}),{rules:r,nestedValidators:s,config:u,validationGroups:g}}const he="__root";function ye(e,a,n,r,s,u,g,i,$){const l=Object.keys(e),p=r.get(s,e),d=t.ref(!1),v=t.ref(!1),m=t.ref(0);if(p){if(!p.$partial)return p;p.$unwatch(),d.value=p.$dirty.value}const o={$dirty:d,$path:s,$touch:()=>{d.value||(d.value=!0)},$reset:()=>{d.value&&(d.value=!1)},$commit:()=>{}};return l.length?(l.forEach(c=>{o[c]=me(e[c],a,o.$dirty,u,g,c,n,s,$,v,m)}),o.$externalResults=t.computed(()=>i.value?[].concat(i.value).map((c,f)=>({$propertyPath:s,$property:n,$validator:"$externalResults",$uid:`${s}-externalResult-${f}`,$message:c,$params:{},$response:null,$pending:!1})):[]),o.$invalid=t.computed(()=>{const c=l.some(f=>t.unref(o[f].$invalid));return v.value=c,!!o.$externalResults.value.length||c}),o.$pending=t.computed(()=>l.some(c=>t.unref(o[c].$pending))),o.$error=t.computed(()=>o.$dirty.value?o.$pending.value||o.$invalid.value:!1),o.$silentErrors=t.computed(()=>l.filter(c=>t.unref(o[c].$invalid)).map(c=>{const f=o[c];return t.reactive({$propertyPath:s,$property:n,$validator:c,$uid:`${s}-${c}`,$message:f.$message,$params:f.$params,$response:f.$response,$pending:f.$pending})}).concat(o.$externalResults.value)),o.$errors=t.computed(()=>o.$dirty.value?o.$silentErrors.value:[]),o.$unwatch=()=>l.forEach(c=>{o[c].$unwatch()}),o.$commit=()=>{v.value=!0,m.value=Date.now()},r.set(s,e,o),o):(p&&r.set(s,e,o),o)}function be(e,a,n,r,s,u,g){const i=Object.keys(e);return i.length?i.reduce(($,l)=>($[l]=N({validations:e[l],state:a,key:l,parentKey:n,resultsCache:r,globalConfig:s,instance:u,externalResults:g}),$),{}):{}}function we(e,a,n){const r=t.computed(()=>[a,n].filter(o=>o).reduce((o,c)=>o.concat(Object.values(t.unref(c))),[])),s=t.computed({get(){return e.$dirty.value||(r.value.length?r.value.every(o=>o.$dirty):!1)},set(o){e.$dirty.value=o}}),u=t.computed(()=>{const o=t.unref(e.$silentErrors)||[],c=r.value.filter(f=>(t.unref(f).$silentErrors||[]).length).reduce((f,h)=>f.concat(...h.$silentErrors),[]);return o.concat(c)}),g=t.computed(()=>{const o=t.unref(e.$errors)||[],c=r.value.filter(f=>(t.unref(f).$errors||[]).length).reduce((f,h)=>f.concat(...h.$errors),[]);return o.concat(c)}),i=t.computed(()=>r.value.some(o=>o.$invalid)||t.unref(e.$invalid)||!1),$=t.computed(()=>r.value.some(o=>t.unref(o.$pending))||t.unref(e.$pending)||!1),l=t.computed(()=>r.value.some(o=>o.$dirty)||r.value.some(o=>o.$anyDirty)||s.value),p=t.computed(()=>s.value?$.value||i.value:!1),d=()=>{e.$touch(),r.value.forEach(o=>{o.$touch()})},v=()=>{e.$commit(),r.value.forEach(o=>{o.$commit()})},m=()=>{e.$reset(),r.value.forEach(o=>{o.$reset()})};return r.value.length&&r.value.every(o=>o.$dirty)&&d(),{$dirty:s,$errors:g,$invalid:i,$anyDirty:l,$error:p,$pending:$,$touch:d,$reset:m,$silentErrors:u,$commit:v}}function N(e){let{validations:a,state:n,key:r,parentKey:s,childResults:u,resultsCache:g,globalConfig:i={},instance:$,externalResults:l}=e;const p=s?`${s}.${r}`:r,{rules:d,nestedValidators:v,config:m,validationGroups:o}=ve(a),c=R(R({},i),m),f=r?t.computed(()=>{const y=t.unref(n);return y?t.unref(y[r]):void 0}):n,h=R({},t.unref(l)||{}),C=t.computed(()=>{const y=t.unref(l);return r?y?t.unref(y[r]):void 0:y}),k=ye(d,f,r,g,p,c,$,C,n),b=be(v,f,p,g,c,$,C),j={};o&&Object.entries(o).forEach(y=>{let[E,O]=y;j[E]={$invalid:B(O,b,"$invalid"),$error:B(O,b,"$error"),$pending:B(O,b,"$pending"),$errors:U(O,b,"$errors"),$silentErrors:U(O,b,"$silentErrors")}});const{$dirty:w,$errors:V,$invalid:I,$anyDirty:ae,$error:oe,$pending:L,$touch:D,$reset:se,$silentErrors:ue,$commit:F}=we(k,b,u),le=r?t.computed({get:()=>t.unref(f),set:y=>{w.value=!0;const E=t.unref(n),O=t.unref(l);O&&(O[r]=h[r]),t.isRef(E[r])?E[r].value=y:E[r]=y}}):null;r&&c.$autoDirty&&t.watch(f,()=>{w.value||D();const y=t.unref(l);y&&(y[r]=h[r])},{flush:"sync"});async function ie(){return D(),c.$rewardEarly&&(F(),await t.nextTick()),await t.nextTick(),new Promise(y=>{if(!L.value)return y(!I.value);const E=t.watch(L,()=>{y(!I.value),E()})})}function ce(y){return(u.value||{})[y]}function de(){t.isRef(l)?l.value=h:Object.keys(h).length===0?Object.keys(l).forEach(y=>{delete l[y]}):Object.assign(l,h)}return t.reactive(R(R(R({},k),{},{$model:le,$dirty:w,$error:oe,$errors:V,$invalid:I,$anyDirty:ae,$pending:L,$touch:D,$reset:se,$path:p||he,$silentErrors:ue,$validate:ie,$commit:F},u&&{$getResultsForChild:ce,$clearExternalResults:de,$validationGroups:j}),b))}class Oe{constructor(){this.storage=new Map}set(a,n,r){this.storage.set(a,{rules:n,result:r})}checkRulesValidity(a,n,r){const s=Object.keys(r),u=Object.keys(n);return u.length!==s.length||!u.every(i=>s.includes(i))?!1:u.every(i=>n[i].$params?Object.keys(n[i].$params).every($=>t.unref(r[i].$params[$])===t.unref(n[i].$params[$])):!0)}get(a,n){const r=this.storage.get(a);if(!r)return;const{rules:s,result:u}=r,g=this.checkRulesValidity(a,n,s),i=u.$unwatch?u.$unwatch:()=>({});return g?u:{$dirty:u.$dirty,$partial:!0,$unwatch:i}}}const z={COLLECT_ALL:!0,COLLECT_NONE:!1},W=Symbol("vuelidate#injectChildResults"),Z=Symbol("vuelidate#removeChildResults");function Re(e){let{$scope:a,instance:n}=e;const r={},s=t.ref([]),u=t.computed(()=>s.value.reduce((p,d)=>(p[d]=t.unref(r[d]),p),{}));function g(p,d){let{$registerAs:v,$scope:m,$stopPropagation:o}=d;o||a===z.COLLECT_NONE||m===z.COLLECT_NONE||a!==z.COLLECT_ALL&&a!==m||(r[v]=p,s.value.push(v))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],g);function i(p){s.value=s.value.filter(d=>d!==p),delete r[p]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],i);const $=t.inject(W,[]);t.provide(W,n.__vuelidateInjectInstances);const l=t.inject(Z,[]);return t.provide(Z,n.__vuelidateRemoveInstances),{childResults:u,sendValidationResultsToParent:$,removeValidationResultsFromParent:l}}function te(e){return new Proxy(e,{get(a,n){return typeof a[n]=="object"?te(a[n]):t.computed(()=>a[n])}})}let H=0;function K(e,a){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,a=void 0);let{$registerAs:s,$scope:u=z.COLLECT_ALL,$stopPropagation:g,$externalResults:i,currentVueInstance:$}=r;const l=$||((n=t.getCurrentInstance())===null||n===void 0?void 0:n.proxy),p=l?l.$options:{};s||(H+=1,s=`_vuelidate_${H}`);const d=t.ref({}),v=new Oe,{childResults:m,sendValidationResultsToParent:o,removeValidationResultsFromParent:c}=l?Re({$scope:u,instance:l}):{childResults:t.ref({})};if(!e&&p.validations){const f=p.validations;a=t.ref({}),t.onBeforeMount(()=>{a.value=l,t.watch(()=>_(f)?f.call(a.value,new te(a.value)):f,h=>{d.value=N({validations:h,state:a,childResults:m,resultsCache:v,globalConfig:r,instance:l,externalResults:i||l.vuelidateExternalResults})},{immediate:!0})}),r=p.validationsConfig||r}else{const f=t.isRef(e)||$e(e)?e:t.reactive(e||{});t.watch(f,h=>{d.value=N({validations:h,state:a,childResults:m,resultsCache:v,globalConfig:r,instance:l??{},externalResults:i})},{immediate:!0})}return l&&(o.forEach(f=>f(d,{$registerAs:s,$scope:u,$stopPropagation:g})),t.onBeforeUnmount(()=>c.forEach(f=>f(s)))),t.computed(()=>R(R({},t.unref(d.value)),m.value))}function xe(e,a,n){return e&&a?K(e,a,{$autoDirty:!0,...n}):K({$autoDirty:!0,...e})}const je={"w-fit":!0,relative:!0,"inline-flex":!0,"items-center":!0},Ee="grow text-sm font-medium text-default",Ce={xl:"w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",lg:"w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",md:"w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",sm:"w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",xs:"w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"},Pe={red:"peer-focus:ring-red-300 peer-checked:bg-red-600",green:"peer-focus:ring-green-300 peer-checked:bg-green-600",purple:"peer-focus:ring-purple-300 peer-checked:bg-purple-600",yellow:"peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",teal:"peer-focus:ring-teal-300 peer-checked:bg-teal-600",orange:"peer-focus:ring-orange-300 peer-checked:bg-orange-500"},Ve=e=>{const a=t.computed(()=>{var g,i;return{...je,"cursor-pointer":!((g=e.disabled)!=null&&g.value),"cursor-default":!!((i=e.disabled)!=null&&i.value)}}),n=t.computed(()=>{var g,i;return{'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all':!0,"bg-gray-200 peer-checked:bg-primary-600 after:bg-white":!((g=e.disabled)!=null&&g.value),"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200":(i=e.disabled)==null?void 0:i.value}}),r=t.computed(()=>Ce[e.size.value]),s=t.computed(()=>Pe[e.color.value]),u=t.computed(()=>Ee);return{labelClasses:a,toggleSize:r,toggleClasses:n,toggleColor:s,toggleBallClasses:u}},ze=["disabled"],_e=t.defineComponent({__name:"Toggle",props:{modelValue:{type:Boolean,default:!1},labelPosition:{default:"after"},size:{default:"md"},disabled:{type:Boolean,default:!1},color:{default:""},hasBackground:{type:Boolean,default:!1},noSpacing:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const n=e,r=a,s=t.computed({get(){return n.modelValue},set(p){r("update:modelValue",p)}}),{labelClasses:u,toggleSize:g,toggleClasses:i,toggleColor:$,toggleBallClasses:l}=Ve(t.toRefs(n));return(p,d)=>(t.openBlock(),t.createElementBlock("label",{class:t.normalizeClass(["inline-flex items-center gap-1.5",{"flex-row-reverse":e.labelPosition==="before","rounded border-l-4 border-gray-200 bg-gray-50":e.hasBackground,"p-2":!e.noSpacing}]),onClick:d[1]||(d[1]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(u))},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=v=>s.value=v),disabled:e.disabled,class:"peer sr-only",type:"checkbox"},null,8,ze),[[t.vModelCheckbox,s.value]]),t.createElementVNode("span",{class:t.normalizeClass([t.unref(i),t.unref(g),t.unref($)])},null,2)],2),p.$slots["inline-label"]?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(t.unref(l))},[t.renderSlot(p.$slots,"inline-label")],2)):t.createCommentVNode("",!0)],2))}});function J(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var a=1;a<arguments.length;a++){var n=arguments[a]!=null?arguments[a]:{};a%2?J(Object(n),!0).forEach(function(r){Ae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ae(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function A(e){return typeof e=="function"}function q(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function S(e){return A(e.$validator)?P({},e):{$validator:e}}function re(e){return typeof e=="object"?e.$valid:e}function ne(e){return e.$validator||e}function Se(e,a){if(!q(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!q(a)&&!A(a))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=S(a);return n.$params=P(P({},n.$params||{}),e),n}function Te(e,a){if(!A(e)&&typeof t.unref(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!q(a)&&!A(a))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=S(a);return n.$message=e,n}function ke(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=S(e);return P(P({},n),{},{$async:!0,$watchTargets:a})}function Ie(e){return{$validator(a){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return t.unref(a).reduce((u,g,i)=>{const $=Object.entries(g).reduce((l,p)=>{let[d,v]=p;const m=e[d]||{},o=Object.entries(m).reduce((c,f)=>{let[h,C]=f;const b=ne(C).call(this,v,g,i,...r),j=re(b);if(c.$data[h]=b,c.$data.$invalid=!j||!!c.$data.$invalid,c.$data.$error=c.$data.$invalid,!j){let w=C.$message||"";const V=C.$params||{};typeof w=="function"&&(w=w({$pending:!1,$invalid:!j,$params:V,$model:v,$response:b})),c.$errors.push({$property:d,$message:w,$params:V,$response:b,$model:v,$pending:!1,$validator:h})}return{$valid:c.$valid&&j,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:[]});return l.$data[d]=o.$data,l.$errors[d]=o.$errors,{$valid:l.$valid&&o.$valid,$data:l.$data,$errors:l.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:u.$valid&&$.$valid,$data:u.$data.concat($.$data),$errors:u.$errors.concat($.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:a=>{let{$response:n}=a;return n?n.$errors.map(r=>Object.values(r).map(s=>s.map(u=>u.$message)).reduce((s,u)=>s.concat(u),[])):[]}}}const T=e=>{if(e=t.unref(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let a in e)return!0;return!1}return!!String(e).length},Le=e=>(e=t.unref(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function x(){for(var e=arguments.length,a=new Array(e),n=0;n<e;n++)a[n]=arguments[n];return r=>(r=t.unref(r),!T(r)||a.every(s=>(s.lastIndex=0,s.test(r))))}var De=Object.freeze({__proto__:null,forEach:Ie,len:Le,normalizeValidatorObject:S,regex:x,req:T,unwrap:t.unref,unwrapNormalizedValidator:ne,unwrapValidatorResponse:re,withAsync:ke,withMessage:Te,withParams:Se});x(/^[a-zA-Z]*$/);x(/^[a-zA-Z0-9]*$/);x(/^\d*(\.\d+)?$/);const Be=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var Ne=x(Be),qe={$validator:Ne,$message:"Value is not a valid email address",$params:{type:"email"}};function Fe(e){return typeof e=="string"&&(e=e.trim()),T(e)}var Me={$validator:Fe,$message:"Value is required",$params:{type:"required"}};const Q=(e,a)=>e?T(typeof a=="string"?a.trim():a):!0;function Ge(e){return function(a,n){if(typeof e!="function")return Q(t.unref(e),a);const r=e.call(this,a,n);return Q(r,a)}}function Ue(e){return{$validator:Ge(e),$message:"The value is required",$params:{type:"requiredIf",prop:e}}}const We=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;x(We);x(/(^[0-9]*$)|(^-[0-9]+$)/);x(/^[-]?\d*(\.\d+)?$/);exports._sfc_main=_e;exports.common=De;exports.email=qe;exports.required=Me;exports.requiredIf=Ue;exports.useValidation=xe;
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core/index.cjs"),
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core/index.cjs"),n=require("./Checkout.entry.ce-C52gkrNZ.js"),o=require("./screens/CustomerOverview/CustomerOverview.cjs"),i=require("./screens/SubscriptionManagement/SubscriptionManagement.cjs"),t=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs"),s=require("./screens/PayInvoice/PayInvoice.cjs"),r=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs"),m=require("./components/BillingInformation/BillingInformation.cjs"),c=require("./components/BillingInformationForm/BillingInformationForm.cjs"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs"),a=require("./components/WalletBalances/WalletBalances.cjs"),v=require("./components/Invoice/Invoice.cjs"),d=require("./components/InvoiceDetails/InvoiceDetails.cjs"),S=require("./components/InvoiceHeader/InvoiceHeader.cjs"),u=require("./components/InvoicesList/InvoicesList.cjs"),f=require("./components/PaymentHistory/PaymentHistory.cjs"),_=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs"),I=require("./components/SubscriptionsList/SubscriptionsList.cjs"),p=require("./components/PaymentMethodForm/PaymentMethodForm.cjs");exports.createSolvimonCore=e.createSolvimonCore;exports.getRegisteredComponentIds=e.getRegisteredComponentIds;exports.getRegisteredScreenIds=e.getRegisteredScreenIds;exports.defineSolvimonCheckout=n.defineSolvimonCheckout;exports.defineSolvimonCustomerOverview=o.defineSolvimonCustomerOverview;exports.defineSolvimonSubscriptionManagement=i.defineSolvimonSubscriptionManagement;exports.defineSolvimonSubscriptionDetails=t.defineSolvimonSubscriptionDetails;exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice;exports.defineSolvimonPaymentMethodsManagement=r.defineSolvimonPaymentMethodsManagement;exports.defineSolvimonBillingInformation=m.defineSolvimonBillingInformation;exports.defineSolvimonBillingInformationForm=c.defineSolvimonBillingInformationForm;exports.defineSolvimonCustomerPaymentMethods=l.defineSolvimonCustomerPaymentMethods;exports.defineSolvimonWalletBalances=a.defineSolvimonWalletBalances;exports.defineSolvimonInvoice=v.defineSolvimonInvoice;exports.defineSolvimonInvoiceDetails=d.defineSolvimonInvoiceDetails;exports.defineSolvimonInvoiceHeader=S.defineSolvimonInvoiceHeader;exports.defineSolvimonInvoicesList=u.defineSolvimonInvoicesList;exports.defineSolvimonPaymentHistory=f.defineSolvimonPaymentHistory;exports.defineSolvimonSubscriptionSchedules=_.defineSolvimonSubscriptionSchedules;exports.defineSolvimonSubscriptionsList=I.defineSolvimonSubscriptionsList;exports.defineSolvimonPaymentMethodForm=p.defineSolvimonPaymentMethodForm;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const f=require("vue");var N;const V=typeof window<"u",W=e=>typeof e<"u",q=e=>typeof e=="function",G=e=>typeof e=="string",b=()=>{},U=V&&((N=window==null?void 0:window.navigator)==null?void 0:N.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function I(e){return typeof e=="function"?e():f.unref(e)}function F(e){return e}function K(e,t){var n;if(typeof e=="number")return e+t;const o=((n=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",u=e.slice(o.length),a=parseFloat(o)+t;return Number.isNaN(a)?e:a+u}function E(e){return f.getCurrentScope()?(f.onScopeDispose(e),!0):!1}function k(e){return typeof e=="function"?f.computed(e):f.ref(e)}function J(e,t=!0){f.getCurrentInstance()?f.onMounted(e):t?e():f.nextTick(e)}function D(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,u=f.isRef(e),a=f.ref(e);function l(r){if(arguments.length)return a.value=r,a.value;{const i=I(n);return a.value=a.value===i?I(o):i,a.value}}return u?l:[a,l]}function h(e){var t;const n=I(e);return(t=n==null?void 0:n.$el)!=null?t:n}const w=V?window:void 0;function _(...e){let t,n,o,u;if(G(e[0])||Array.isArray(e[0])?([n,o,u]=e,t=w):[t,n,o,u]=e,!t)return b;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],l=()=>{a.forEach(d=>d()),a.length=0},r=(d,v,s,p)=>(d.addEventListener(v,s,p),()=>d.removeEventListener(v,s,p)),i=f.watch(()=>[h(t),I(u)],([d,v])=>{l(),d&&a.push(...n.flatMap(s=>o.map(p=>r(d,s,p,v))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return E(c),c}let A=!1;function H(e,t,n={}){const{window:o=w,ignore:u=[],capture:a=!0,detectIframe:l=!1}=n;if(!o)return;U&&!A&&(A=!0,Array.from(o.document.body.children).forEach(s=>s.addEventListener("click",b)));let r=!0;const i=s=>u.some(p=>{if(typeof p=="string")return Array.from(o.document.querySelectorAll(p)).some(m=>m===s.target||s.composedPath().includes(m));{const m=h(p);return m&&(s.target===m||s.composedPath().includes(m))}}),d=[_(o,"click",s=>{const p=h(e);if(!(!p||p===s.target||s.composedPath().includes(p))){if(s.detail===0&&(r=!i(s)),!r){r=!0;return}t(s)}},{passive:!0,capture:a}),_(o,"pointerdown",s=>{const p=h(e);p&&(r=!s.composedPath().includes(p)&&!i(s))},{passive:!0}),l&&_(o,"blur",s=>{var p;const m=h(e);((p=o.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(s)})].filter(Boolean);return()=>d.forEach(s=>s())}const X=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0;function Y(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:u=w,eventName:a="keydown",passive:l=!1}=o,r=X(t);return _(u,a,c=>{r(c)&&n(c)},l)}function P(e,t=!1){const n=f.ref(),o=()=>n.value=!!e();return o(),J(o,t),n}function y(e,t={}){const{window:n=w}=t,o=P(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let u;const a=f.ref(!1),l=()=>{u&&("removeEventListener"in u?u.removeEventListener("change",r):u.removeListener(r))},r=()=>{o.value&&(l(),u=n.matchMedia(k(e).value),a.value=u.matches,"addEventListener"in u?u.addEventListener("change",r):u.addListener(r))};return f.watchEffect(r),E(()=>l()),a}const Z={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var ee=Object.defineProperty,C=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,L=(e,t,n)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,re=(e,t)=>{for(var n in t||(t={}))te.call(t,n)&&L(e,n,t[n]);if(C)for(var n of C(t))ne.call(t,n)&&L(e,n,t[n]);return e};function oe(e,t={}){function n(r,i){let c=e[r];return i!=null&&(c=K(c,i)),typeof c=="number"&&(c=`${c}px`),c}const{window:o=w}=t;function u(r){return o?o.matchMedia(r).matches:!1}const a=r=>y(`(min-width: ${n(r)})`,t),l=Object.keys(e).reduce((r,i)=>(Object.defineProperty(r,i,{get:()=>a(i),enumerable:!0,configurable:!0}),r),{});return re({greater(r){return y(`(min-width: ${n(r,.1)})`,t)},greaterOrEqual:a,smaller(r){return y(`(max-width: ${n(r,-.1)})`,t)},smallerOrEqual(r){return y(`(max-width: ${n(r)})`,t)},between(r,i){return y(`(min-width: ${n(r)}) and (max-width: ${n(i,-.1)})`,t)},isGreater(r){return u(`(min-width: ${n(r,.1)})`)},isGreaterOrEqual(r){return u(`(min-width: ${n(r)})`)},isSmaller(r){return u(`(max-width: ${n(r,-.1)})`)},isSmallerOrEqual(r){return u(`(max-width: ${n(r)})`)},isInBetween(r,i){return u(`(min-width: ${n(r)}) and (max-width: ${n(i,-.1)})`)}},l)}function ie(e){return JSON.parse(JSON.stringify(e))}const R=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},M="__vueuse_ssr_handlers__";R[M]=R[M]||{};var B=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ae=(e,t)=>{var n={};for(var o in e)se.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&B)for(var o of B(e))t.indexOf(o)<0&&ue.call(e,o)&&(n[o]=e[o]);return n};function z(e,t,n={}){const o=n,{window:u=w}=o,a=ae(o,["window"]);let l;const r=P(()=>u&&"ResizeObserver"in u),i=()=>{l&&(l.disconnect(),l=void 0)},c=f.watch(()=>h(e),v=>{i(),r.value&&u&&v&&(l=new ResizeObserver(t),l.observe(v,a))},{immediate:!0,flush:"post"}),d=()=>{i(),c()};return E(d),{isSupported:r,stop:d}}function le(e,t={width:0,height:0},n={}){const{window:o=w,box:u="content-box"}=n,a=f.computed(()=>{var i,c;return(c=(i=h(e))==null?void 0:i.namespaceURI)==null?void 0:c.includes("svg")}),l=f.ref(t.width),r=f.ref(t.height);return z(e,([i])=>{const c=u==="border-box"?i.borderBoxSize:u==="content-box"?i.contentBoxSize:i.devicePixelContentBoxSize;if(o&&a.value){const d=h(e);if(d){const v=o.getComputedStyle(d);l.value=parseFloat(v.width),r.value=parseFloat(v.height)}}else if(c){const d=Array.isArray(c)?c:[c];l.value=d.reduce((v,{inlineSize:s})=>v+s,0),r.value=d.reduce((v,{blockSize:s})=>v+s,0)}else l.value=i.contentRect.width,r.value=i.contentRect.height},n),f.watch(()=>h(e),i=>{l.value=i?t.width:0,r.value=i?t.height:0}),{width:l,height:r}}function ce(e,t,n={}){const{root:o,rootMargin:u="0px",threshold:a=.1,window:l=w}=n,r=P(()=>l&&"IntersectionObserver"in l);let i=b;const c=r.value?f.watch(()=>({el:h(e),root:h(o)}),({el:v,root:s})=>{if(i(),!v)return;const p=new IntersectionObserver(t,{root:s,rootMargin:u,threshold:a});p.observe(v),i=()=>{p.disconnect(),i=b}},{immediate:!0,flush:"post"}):b,d=()=>{i(),c()};return E(d),{isSupported:r,stop:d}}var T;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(T||(T={}));var fe=Object.defineProperty,j=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Q=(e,t,n)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t)=>{for(var n in t||(t={}))de.call(t,n)&&Q(e,n,t[n]);if(j)for(var n of j(t))pe.call(t,n)&&Q(e,n,t[n]);return e};const me={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ve({linear:F},me);function he(e,t,n,o={}){var u,a,l;const{clone:r=!1,passive:i=!1,eventName:c,deep:d=!1,defaultValue:v}=o,s=f.getCurrentInstance(),p=n||(s==null?void 0:s.emit)||((u=s==null?void 0:s.$emit)==null?void 0:u.bind(s))||((l=(a=s==null?void 0:s.proxy)==null?void 0:a.$emit)==null?void 0:l.bind(s==null?void 0:s.proxy));let m=c;t||(t="modelValue"),m=c||m||`update:${t.toString()}`;const x=O=>r?q(r)?r(O):ie(O):O,$=()=>W(e[t])?x(e[t]):v;if(i){const O=$(),S=f.ref(O);return f.watch(()=>e[t],g=>S.value=x(g)),f.watch(S,g=>{(g!==e[t]||d)&&p(m,g)},{deep:d}),S}else return f.computed({get(){return $()},set(O){p(m,O)}})}exports.breakpointsTailwind=Z;exports.onClickOutside=H;exports.onKeyStroke=Y;exports.useBreakpoints=oe;exports.useElementSize=le;exports.useEventListener=_;exports.useIntersectionObserver=ce;exports.useResizeObserver=z;exports.useToggle=D;exports.useVModel=he;
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { unref as G, getCurrentScope as U, onScopeDispose as F, getCurrentInstance as z, onMounted as J, nextTick as K, isRef as D, ref as O, computed as P, watch as y, watchEffect as H } from "vue";
|
|
2
|
+
var L;
|
|
3
|
+
const q = typeof window < "u", X = (e) => typeof e < "u", Y = (e) => typeof e == "function", Z = (e) => typeof e == "string", _ = () => {
|
|
4
|
+
}, k = q && ((L = window == null ? void 0 : window.navigator) == null ? void 0 : L.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
5
|
+
function E(e) {
|
|
6
|
+
return typeof e == "function" ? e() : G(e);
|
|
7
|
+
}
|
|
8
|
+
function ee(e) {
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
function te(e, t) {
|
|
12
|
+
var n;
|
|
13
|
+
if (typeof e == "number")
|
|
14
|
+
return e + t;
|
|
15
|
+
const o = ((n = e.match(/^-?[0-9]+\.?[0-9]*/)) == null ? void 0 : n[0]) || "", u = e.slice(o.length), a = parseFloat(o) + t;
|
|
16
|
+
return Number.isNaN(a) ? e : a + u;
|
|
17
|
+
}
|
|
18
|
+
function S(e) {
|
|
19
|
+
return U() ? (F(e), !0) : !1;
|
|
20
|
+
}
|
|
21
|
+
function ne(e) {
|
|
22
|
+
return typeof e == "function" ? P(e) : O(e);
|
|
23
|
+
}
|
|
24
|
+
function re(e, t = !0) {
|
|
25
|
+
z() ? J(e) : t ? e() : K(e);
|
|
26
|
+
}
|
|
27
|
+
function be(e = !1, t = {}) {
|
|
28
|
+
const {
|
|
29
|
+
truthyValue: n = !0,
|
|
30
|
+
falsyValue: o = !1
|
|
31
|
+
} = t, u = D(e), a = O(e);
|
|
32
|
+
function l(r) {
|
|
33
|
+
if (arguments.length)
|
|
34
|
+
return a.value = r, a.value;
|
|
35
|
+
{
|
|
36
|
+
const s = E(n);
|
|
37
|
+
return a.value = a.value === s ? E(o) : s, a.value;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return u ? l : [a, l];
|
|
41
|
+
}
|
|
42
|
+
function m(e) {
|
|
43
|
+
var t;
|
|
44
|
+
const n = E(e);
|
|
45
|
+
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
46
|
+
}
|
|
47
|
+
const h = q ? window : void 0;
|
|
48
|
+
function I(...e) {
|
|
49
|
+
let t, n, o, u;
|
|
50
|
+
if (Z(e[0]) || Array.isArray(e[0]) ? ([n, o, u] = e, t = h) : [t, n, o, u] = e, !t)
|
|
51
|
+
return _;
|
|
52
|
+
Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
|
|
53
|
+
const a = [], l = () => {
|
|
54
|
+
a.forEach((f) => f()), a.length = 0;
|
|
55
|
+
}, r = (f, p, i, d) => (f.addEventListener(p, i, d), () => f.removeEventListener(p, i, d)), s = y(() => [m(t), E(u)], ([f, p]) => {
|
|
56
|
+
l(), f && a.push(...n.flatMap((i) => o.map((d) => r(f, i, d, p))));
|
|
57
|
+
}, { immediate: !0, flush: "post" }), c = () => {
|
|
58
|
+
s(), l();
|
|
59
|
+
};
|
|
60
|
+
return S(c), c;
|
|
61
|
+
}
|
|
62
|
+
let R = !1;
|
|
63
|
+
function _e(e, t, n = {}) {
|
|
64
|
+
const { window: o = h, ignore: u = [], capture: a = !0, detectIframe: l = !1 } = n;
|
|
65
|
+
if (!o)
|
|
66
|
+
return;
|
|
67
|
+
k && !R && (R = !0, Array.from(o.document.body.children).forEach((i) => i.addEventListener("click", _)));
|
|
68
|
+
let r = !0;
|
|
69
|
+
const s = (i) => u.some((d) => {
|
|
70
|
+
if (typeof d == "string")
|
|
71
|
+
return Array.from(o.document.querySelectorAll(d)).some((v) => v === i.target || i.composedPath().includes(v));
|
|
72
|
+
{
|
|
73
|
+
const v = m(d);
|
|
74
|
+
return v && (i.target === v || i.composedPath().includes(v));
|
|
75
|
+
}
|
|
76
|
+
}), f = [
|
|
77
|
+
I(o, "click", (i) => {
|
|
78
|
+
const d = m(e);
|
|
79
|
+
if (!(!d || d === i.target || i.composedPath().includes(d))) {
|
|
80
|
+
if (i.detail === 0 && (r = !s(i)), !r) {
|
|
81
|
+
r = !0;
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
t(i);
|
|
85
|
+
}
|
|
86
|
+
}, { passive: !0, capture: a }),
|
|
87
|
+
I(o, "pointerdown", (i) => {
|
|
88
|
+
const d = m(e);
|
|
89
|
+
d && (r = !i.composedPath().includes(d) && !s(i));
|
|
90
|
+
}, { passive: !0 }),
|
|
91
|
+
l && I(o, "blur", (i) => {
|
|
92
|
+
var d;
|
|
93
|
+
const v = m(e);
|
|
94
|
+
((d = o.document.activeElement) == null ? void 0 : d.tagName) === "IFRAME" && !(v != null && v.contains(o.document.activeElement)) && t(i);
|
|
95
|
+
})
|
|
96
|
+
].filter(Boolean);
|
|
97
|
+
return () => f.forEach((i) => i());
|
|
98
|
+
}
|
|
99
|
+
const oe = (e) => typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
100
|
+
function ge(...e) {
|
|
101
|
+
let t, n, o = {};
|
|
102
|
+
e.length === 3 ? (t = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], o = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
|
|
103
|
+
const { target: u = h, eventName: a = "keydown", passive: l = !1 } = o, r = oe(t);
|
|
104
|
+
return I(u, a, (c) => {
|
|
105
|
+
r(c) && n(c);
|
|
106
|
+
}, l);
|
|
107
|
+
}
|
|
108
|
+
function $(e, t = !1) {
|
|
109
|
+
const n = O(), o = () => n.value = !!e();
|
|
110
|
+
return o(), re(o, t), n;
|
|
111
|
+
}
|
|
112
|
+
function b(e, t = {}) {
|
|
113
|
+
const { window: n = h } = t, o = $(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
|
|
114
|
+
let u;
|
|
115
|
+
const a = O(!1), l = () => {
|
|
116
|
+
u && ("removeEventListener" in u ? u.removeEventListener("change", r) : u.removeListener(r));
|
|
117
|
+
}, r = () => {
|
|
118
|
+
o.value && (l(), u = n.matchMedia(ne(e).value), a.value = u.matches, "addEventListener" in u ? u.addEventListener("change", r) : u.addListener(r));
|
|
119
|
+
};
|
|
120
|
+
return H(r), S(() => l()), a;
|
|
121
|
+
}
|
|
122
|
+
const Ie = {
|
|
123
|
+
sm: 640,
|
|
124
|
+
md: 768,
|
|
125
|
+
lg: 1024,
|
|
126
|
+
xl: 1280,
|
|
127
|
+
"2xl": 1536
|
|
128
|
+
};
|
|
129
|
+
var se = Object.defineProperty, C = Object.getOwnPropertySymbols, ie = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable, M = (e, t, n) => t in e ? se(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ae = (e, t) => {
|
|
130
|
+
for (var n in t || (t = {}))
|
|
131
|
+
ie.call(t, n) && M(e, n, t[n]);
|
|
132
|
+
if (C)
|
|
133
|
+
for (var n of C(t))
|
|
134
|
+
ue.call(t, n) && M(e, n, t[n]);
|
|
135
|
+
return e;
|
|
136
|
+
};
|
|
137
|
+
function Ee(e, t = {}) {
|
|
138
|
+
function n(r, s) {
|
|
139
|
+
let c = e[r];
|
|
140
|
+
return s != null && (c = te(c, s)), typeof c == "number" && (c = `${c}px`), c;
|
|
141
|
+
}
|
|
142
|
+
const { window: o = h } = t;
|
|
143
|
+
function u(r) {
|
|
144
|
+
return o ? o.matchMedia(r).matches : !1;
|
|
145
|
+
}
|
|
146
|
+
const a = (r) => b(`(min-width: ${n(r)})`, t), l = Object.keys(e).reduce((r, s) => (Object.defineProperty(r, s, {
|
|
147
|
+
get: () => a(s),
|
|
148
|
+
enumerable: !0,
|
|
149
|
+
configurable: !0
|
|
150
|
+
}), r), {});
|
|
151
|
+
return ae({
|
|
152
|
+
greater(r) {
|
|
153
|
+
return b(`(min-width: ${n(r, 0.1)})`, t);
|
|
154
|
+
},
|
|
155
|
+
greaterOrEqual: a,
|
|
156
|
+
smaller(r) {
|
|
157
|
+
return b(`(max-width: ${n(r, -0.1)})`, t);
|
|
158
|
+
},
|
|
159
|
+
smallerOrEqual(r) {
|
|
160
|
+
return b(`(max-width: ${n(r)})`, t);
|
|
161
|
+
},
|
|
162
|
+
between(r, s) {
|
|
163
|
+
return b(`(min-width: ${n(r)}) and (max-width: ${n(s, -0.1)})`, t);
|
|
164
|
+
},
|
|
165
|
+
isGreater(r) {
|
|
166
|
+
return u(`(min-width: ${n(r, 0.1)})`);
|
|
167
|
+
},
|
|
168
|
+
isGreaterOrEqual(r) {
|
|
169
|
+
return u(`(min-width: ${n(r)})`);
|
|
170
|
+
},
|
|
171
|
+
isSmaller(r) {
|
|
172
|
+
return u(`(max-width: ${n(r, -0.1)})`);
|
|
173
|
+
},
|
|
174
|
+
isSmallerOrEqual(r) {
|
|
175
|
+
return u(`(max-width: ${n(r)})`);
|
|
176
|
+
},
|
|
177
|
+
isInBetween(r, s) {
|
|
178
|
+
return u(`(min-width: ${n(r)}) and (max-width: ${n(s, -0.1)})`);
|
|
179
|
+
}
|
|
180
|
+
}, l);
|
|
181
|
+
}
|
|
182
|
+
function le(e) {
|
|
183
|
+
return JSON.parse(JSON.stringify(e));
|
|
184
|
+
}
|
|
185
|
+
const j = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, B = "__vueuse_ssr_handlers__";
|
|
186
|
+
j[B] = j[B] || {};
|
|
187
|
+
var Q = Object.getOwnPropertySymbols, ce = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable, de = (e, t) => {
|
|
188
|
+
var n = {};
|
|
189
|
+
for (var o in e)
|
|
190
|
+
ce.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
191
|
+
if (e != null && Q)
|
|
192
|
+
for (var o of Q(e))
|
|
193
|
+
t.indexOf(o) < 0 && fe.call(e, o) && (n[o] = e[o]);
|
|
194
|
+
return n;
|
|
195
|
+
};
|
|
196
|
+
function pe(e, t, n = {}) {
|
|
197
|
+
const o = n, { window: u = h } = o, a = de(o, ["window"]);
|
|
198
|
+
let l;
|
|
199
|
+
const r = $(() => u && "ResizeObserver" in u), s = () => {
|
|
200
|
+
l && (l.disconnect(), l = void 0);
|
|
201
|
+
}, c = y(() => m(e), (p) => {
|
|
202
|
+
s(), r.value && u && p && (l = new ResizeObserver(t), l.observe(p, a));
|
|
203
|
+
}, { immediate: !0, flush: "post" }), f = () => {
|
|
204
|
+
s(), c();
|
|
205
|
+
};
|
|
206
|
+
return S(f), {
|
|
207
|
+
isSupported: r,
|
|
208
|
+
stop: f
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
function Se(e, t = { width: 0, height: 0 }, n = {}) {
|
|
212
|
+
const { window: o = h, box: u = "content-box" } = n, a = P(() => {
|
|
213
|
+
var s, c;
|
|
214
|
+
return (c = (s = m(e)) == null ? void 0 : s.namespaceURI) == null ? void 0 : c.includes("svg");
|
|
215
|
+
}), l = O(t.width), r = O(t.height);
|
|
216
|
+
return pe(e, ([s]) => {
|
|
217
|
+
const c = u === "border-box" ? s.borderBoxSize : u === "content-box" ? s.contentBoxSize : s.devicePixelContentBoxSize;
|
|
218
|
+
if (o && a.value) {
|
|
219
|
+
const f = m(e);
|
|
220
|
+
if (f) {
|
|
221
|
+
const p = o.getComputedStyle(f);
|
|
222
|
+
l.value = parseFloat(p.width), r.value = parseFloat(p.height);
|
|
223
|
+
}
|
|
224
|
+
} else if (c) {
|
|
225
|
+
const f = Array.isArray(c) ? c : [c];
|
|
226
|
+
l.value = f.reduce((p, { inlineSize: i }) => p + i, 0), r.value = f.reduce((p, { blockSize: i }) => p + i, 0);
|
|
227
|
+
} else
|
|
228
|
+
l.value = s.contentRect.width, r.value = s.contentRect.height;
|
|
229
|
+
}, n), y(() => m(e), (s) => {
|
|
230
|
+
l.value = s ? t.width : 0, r.value = s ? t.height : 0;
|
|
231
|
+
}), {
|
|
232
|
+
width: l,
|
|
233
|
+
height: r
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
function xe(e, t, n = {}) {
|
|
237
|
+
const {
|
|
238
|
+
root: o,
|
|
239
|
+
rootMargin: u = "0px",
|
|
240
|
+
threshold: a = 0.1,
|
|
241
|
+
window: l = h
|
|
242
|
+
} = n, r = $(() => l && "IntersectionObserver" in l);
|
|
243
|
+
let s = _;
|
|
244
|
+
const c = r.value ? y(() => ({
|
|
245
|
+
el: m(e),
|
|
246
|
+
root: m(o)
|
|
247
|
+
}), ({ el: p, root: i }) => {
|
|
248
|
+
if (s(), !p)
|
|
249
|
+
return;
|
|
250
|
+
const d = new IntersectionObserver(t, {
|
|
251
|
+
root: i,
|
|
252
|
+
rootMargin: u,
|
|
253
|
+
threshold: a
|
|
254
|
+
});
|
|
255
|
+
d.observe(p), s = () => {
|
|
256
|
+
d.disconnect(), s = _;
|
|
257
|
+
};
|
|
258
|
+
}, { immediate: !0, flush: "post" }) : _, f = () => {
|
|
259
|
+
s(), c();
|
|
260
|
+
};
|
|
261
|
+
return S(f), {
|
|
262
|
+
isSupported: r,
|
|
263
|
+
stop: f
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
var T;
|
|
267
|
+
(function(e) {
|
|
268
|
+
e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
|
|
269
|
+
})(T || (T = {}));
|
|
270
|
+
var ve = Object.defineProperty, V = Object.getOwnPropertySymbols, me = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable, W = (e, t, n) => t in e ? ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, we = (e, t) => {
|
|
271
|
+
for (var n in t || (t = {}))
|
|
272
|
+
me.call(t, n) && W(e, n, t[n]);
|
|
273
|
+
if (V)
|
|
274
|
+
for (var n of V(t))
|
|
275
|
+
he.call(t, n) && W(e, n, t[n]);
|
|
276
|
+
return e;
|
|
277
|
+
};
|
|
278
|
+
const Oe = {
|
|
279
|
+
easeInSine: [0.12, 0, 0.39, 0],
|
|
280
|
+
easeOutSine: [0.61, 1, 0.88, 1],
|
|
281
|
+
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
282
|
+
easeInQuad: [0.11, 0, 0.5, 0],
|
|
283
|
+
easeOutQuad: [0.5, 1, 0.89, 1],
|
|
284
|
+
easeInOutQuad: [0.45, 0, 0.55, 1],
|
|
285
|
+
easeInCubic: [0.32, 0, 0.67, 0],
|
|
286
|
+
easeOutCubic: [0.33, 1, 0.68, 1],
|
|
287
|
+
easeInOutCubic: [0.65, 0, 0.35, 1],
|
|
288
|
+
easeInQuart: [0.5, 0, 0.75, 0],
|
|
289
|
+
easeOutQuart: [0.25, 1, 0.5, 1],
|
|
290
|
+
easeInOutQuart: [0.76, 0, 0.24, 1],
|
|
291
|
+
easeInQuint: [0.64, 0, 0.78, 0],
|
|
292
|
+
easeOutQuint: [0.22, 1, 0.36, 1],
|
|
293
|
+
easeInOutQuint: [0.83, 0, 0.17, 1],
|
|
294
|
+
easeInExpo: [0.7, 0, 0.84, 0],
|
|
295
|
+
easeOutExpo: [0.16, 1, 0.3, 1],
|
|
296
|
+
easeInOutExpo: [0.87, 0, 0.13, 1],
|
|
297
|
+
easeInCirc: [0.55, 0, 1, 0.45],
|
|
298
|
+
easeOutCirc: [0, 0.55, 0.45, 1],
|
|
299
|
+
easeInOutCirc: [0.85, 0, 0.15, 1],
|
|
300
|
+
easeInBack: [0.36, 0, 0.66, -0.56],
|
|
301
|
+
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
302
|
+
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
303
|
+
};
|
|
304
|
+
we({
|
|
305
|
+
linear: ee
|
|
306
|
+
}, Oe);
|
|
307
|
+
function Pe(e, t, n, o = {}) {
|
|
308
|
+
var u, a, l;
|
|
309
|
+
const {
|
|
310
|
+
clone: r = !1,
|
|
311
|
+
passive: s = !1,
|
|
312
|
+
eventName: c,
|
|
313
|
+
deep: f = !1,
|
|
314
|
+
defaultValue: p
|
|
315
|
+
} = o, i = z(), d = n || (i == null ? void 0 : i.emit) || ((u = i == null ? void 0 : i.$emit) == null ? void 0 : u.bind(i)) || ((l = (a = i == null ? void 0 : i.proxy) == null ? void 0 : a.$emit) == null ? void 0 : l.bind(i == null ? void 0 : i.proxy));
|
|
316
|
+
let v = c;
|
|
317
|
+
t || (t = "modelValue"), v = c || v || `update:${t.toString()}`;
|
|
318
|
+
const N = (w) => r ? Y(r) ? r(w) : le(w) : w, A = () => X(e[t]) ? N(e[t]) : p;
|
|
319
|
+
if (s) {
|
|
320
|
+
const w = A(), x = O(w);
|
|
321
|
+
return y(() => e[t], (g) => x.value = N(g)), y(x, (g) => {
|
|
322
|
+
(g !== e[t] || f) && d(v, g);
|
|
323
|
+
}, { deep: f }), x;
|
|
324
|
+
} else
|
|
325
|
+
return P({
|
|
326
|
+
get() {
|
|
327
|
+
return A();
|
|
328
|
+
},
|
|
329
|
+
set(w) {
|
|
330
|
+
d(v, w);
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
export {
|
|
335
|
+
Ee as a,
|
|
336
|
+
Ie as b,
|
|
337
|
+
I as c,
|
|
338
|
+
Se as d,
|
|
339
|
+
_e as e,
|
|
340
|
+
pe as f,
|
|
341
|
+
xe as g,
|
|
342
|
+
be as h,
|
|
343
|
+
ge as o,
|
|
344
|
+
Pe as u
|
|
345
|
+
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { createSolvimonCore, getRegisteredComponentIds, getRegisteredScreenIds } from "./core/index.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.mjs";
|
|
4
|
-
import { defineSolvimonSubscriptionManagement } from "./screens/SubscriptionManagement/SubscriptionManagement.mjs";
|
|
5
|
-
import { defineSolvimonSubscriptionDetails } from "./screens/SubscriptionDetails/SubscriptionDetails.mjs";
|
|
6
|
-
import { defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.mjs";
|
|
7
|
-
import { defineSolvimonPaymentMethodsManagement } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs";
|
|
8
|
-
import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.mjs";
|
|
9
|
-
import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.mjs";
|
|
10
|
-
import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.mjs";
|
|
11
|
-
import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.mjs";
|
|
12
|
-
import { defineSolvimonInvoice } from "./components/Invoice/Invoice.mjs";
|
|
13
|
-
import { defineSolvimonInvoiceDetails } from "./components/InvoiceDetails/InvoiceDetails.mjs";
|
|
14
|
-
import { defineSolvimonInvoiceHeader } from "./components/InvoiceHeader/InvoiceHeader.mjs";
|
|
15
|
-
import { defineSolvimonInvoicesList } from "./components/InvoicesList/InvoicesList.mjs";
|
|
16
|
-
import { defineSolvimonPaymentHistory } from "./components/PaymentHistory/PaymentHistory.mjs";
|
|
17
|
-
import { defineSolvimonSubscriptionSchedules } from "./components/SubscriptionSchedules/SubscriptionSchedules.mjs";
|
|
18
|
-
import { defineSolvimonSubscriptionsList } from "./components/SubscriptionsList/SubscriptionsList.mjs";
|
|
19
|
-
import { defineSolvimonPaymentMethodForm } from "./components/PaymentMethodForm/PaymentMethodForm.mjs";
|
|
1
|
+
import { createSolvimonCore as i, getRegisteredComponentIds as n, getRegisteredScreenIds as r } from "./core/index.mjs";
|
|
2
|
+
import { d as t } from "./Checkout.entry.ce-B5-0AM67.mjs";
|
|
3
|
+
import { defineSolvimonCustomerOverview as l } from "./screens/CustomerOverview/CustomerOverview.mjs";
|
|
4
|
+
import { defineSolvimonSubscriptionManagement as v } from "./screens/SubscriptionManagement/SubscriptionManagement.mjs";
|
|
5
|
+
import { defineSolvimonSubscriptionDetails as p } from "./screens/SubscriptionDetails/SubscriptionDetails.mjs";
|
|
6
|
+
import { defineSolvimonPayInvoice as a } from "./screens/PayInvoice/PayInvoice.mjs";
|
|
7
|
+
import { defineSolvimonPaymentMethodsManagement as c } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs";
|
|
8
|
+
import { defineSolvimonBillingInformation as g } from "./components/BillingInformation/BillingInformation.mjs";
|
|
9
|
+
import { defineSolvimonBillingInformationForm as y } from "./components/BillingInformationForm/BillingInformationForm.mjs";
|
|
10
|
+
import { defineSolvimonCustomerPaymentMethods as C } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.mjs";
|
|
11
|
+
import { defineSolvimonWalletBalances as P } from "./components/WalletBalances/WalletBalances.mjs";
|
|
12
|
+
import { defineSolvimonInvoice as B } from "./components/Invoice/Invoice.mjs";
|
|
13
|
+
import { defineSolvimonInvoiceDetails as F } from "./components/InvoiceDetails/InvoiceDetails.mjs";
|
|
14
|
+
import { defineSolvimonInvoiceHeader as L } from "./components/InvoiceHeader/InvoiceHeader.mjs";
|
|
15
|
+
import { defineSolvimonInvoicesList as k } from "./components/InvoicesList/InvoicesList.mjs";
|
|
16
|
+
import { defineSolvimonPaymentHistory as O } from "./components/PaymentHistory/PaymentHistory.mjs";
|
|
17
|
+
import { defineSolvimonSubscriptionSchedules as j } from "./components/SubscriptionSchedules/SubscriptionSchedules.mjs";
|
|
18
|
+
import { defineSolvimonSubscriptionsList as z } from "./components/SubscriptionsList/SubscriptionsList.mjs";
|
|
19
|
+
import { defineSolvimonPaymentMethodForm as E } from "./components/PaymentMethodForm/PaymentMethodForm.mjs";
|
|
20
20
|
export {
|
|
21
|
-
createSolvimonCore,
|
|
22
|
-
defineSolvimonBillingInformation,
|
|
23
|
-
defineSolvimonBillingInformationForm,
|
|
24
|
-
defineSolvimonCheckout,
|
|
25
|
-
defineSolvimonCustomerOverview,
|
|
26
|
-
defineSolvimonCustomerPaymentMethods,
|
|
27
|
-
defineSolvimonInvoice,
|
|
28
|
-
defineSolvimonInvoiceDetails,
|
|
29
|
-
defineSolvimonInvoiceHeader,
|
|
30
|
-
defineSolvimonInvoicesList,
|
|
31
|
-
defineSolvimonPayInvoice,
|
|
32
|
-
defineSolvimonPaymentHistory,
|
|
33
|
-
defineSolvimonPaymentMethodForm,
|
|
34
|
-
defineSolvimonPaymentMethodsManagement,
|
|
35
|
-
defineSolvimonSubscriptionDetails,
|
|
36
|
-
defineSolvimonSubscriptionManagement,
|
|
37
|
-
defineSolvimonSubscriptionSchedules,
|
|
38
|
-
defineSolvimonSubscriptionsList,
|
|
39
|
-
defineSolvimonWalletBalances,
|
|
40
|
-
getRegisteredComponentIds,
|
|
41
|
-
getRegisteredScreenIds
|
|
21
|
+
i as createSolvimonCore,
|
|
22
|
+
g as defineSolvimonBillingInformation,
|
|
23
|
+
y as defineSolvimonBillingInformationForm,
|
|
24
|
+
t as defineSolvimonCheckout,
|
|
25
|
+
l as defineSolvimonCustomerOverview,
|
|
26
|
+
C as defineSolvimonCustomerPaymentMethods,
|
|
27
|
+
B as defineSolvimonInvoice,
|
|
28
|
+
F as defineSolvimonInvoiceDetails,
|
|
29
|
+
L as defineSolvimonInvoiceHeader,
|
|
30
|
+
k as defineSolvimonInvoicesList,
|
|
31
|
+
a as defineSolvimonPayInvoice,
|
|
32
|
+
O as defineSolvimonPaymentHistory,
|
|
33
|
+
E as defineSolvimonPaymentMethodForm,
|
|
34
|
+
c as defineSolvimonPaymentMethodsManagement,
|
|
35
|
+
p as defineSolvimonSubscriptionDetails,
|
|
36
|
+
v as defineSolvimonSubscriptionManagement,
|
|
37
|
+
j as defineSolvimonSubscriptionSchedules,
|
|
38
|
+
z as defineSolvimonSubscriptionsList,
|
|
39
|
+
P as defineSolvimonWalletBalances,
|
|
40
|
+
n as getRegisteredComponentIds,
|
|
41
|
+
r as getRegisteredScreenIds
|
|
42
42
|
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { a as v } from "./api.es-QaC926Xu.mjs";
|
|
2
|
+
import { c as g, a as _ } from "./customElements-CSE7dwUr.mjs";
|
|
3
|
+
const w = (n, t) => {
|
|
4
|
+
const r = window.URL.createObjectURL(n);
|
|
5
|
+
h(r, t);
|
|
6
|
+
}, h = (n, t) => {
|
|
7
|
+
const r = document.createElement("a");
|
|
8
|
+
r.href = n, r.download = t, r.click(), setTimeout(() => {
|
|
9
|
+
window.URL.revokeObjectURL(n);
|
|
10
|
+
}, 250);
|
|
11
|
+
};
|
|
12
|
+
function O() {
|
|
13
|
+
const n = g(), t = _(), r = `${t.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;
|
|
14
|
+
function s(e) {
|
|
15
|
+
return n({
|
|
16
|
+
url: `${t.apiUrls.transaction}/portal/invoices/${e}`
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function p({
|
|
20
|
+
customerId: e,
|
|
21
|
+
pagination: o,
|
|
22
|
+
query: i
|
|
23
|
+
}) {
|
|
24
|
+
const a = v(
|
|
25
|
+
{
|
|
26
|
+
customer_id: e,
|
|
27
|
+
...i ?? {}
|
|
28
|
+
},
|
|
29
|
+
o
|
|
30
|
+
);
|
|
31
|
+
return n({
|
|
32
|
+
url: `${t.apiUrls.transaction}/portal/invoices`,
|
|
33
|
+
query: a,
|
|
34
|
+
isCollection: !0
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async function l({
|
|
38
|
+
id: e,
|
|
39
|
+
invoice_number: o
|
|
40
|
+
}) {
|
|
41
|
+
return n({
|
|
42
|
+
url: `${t.apiUrls.transaction}/portal/invoices/${e}/pdf`,
|
|
43
|
+
options: { headers: { "Content-Type": "application/pdf" } }
|
|
44
|
+
}).then((i) => {
|
|
45
|
+
const a = new Blob([i], {
|
|
46
|
+
type: "application/pdf"
|
|
47
|
+
});
|
|
48
|
+
w(a, `invoice-${o || e}.pdf`);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function u({
|
|
52
|
+
customer: e,
|
|
53
|
+
pricingPlanSubscriptionId: o,
|
|
54
|
+
startAt: i,
|
|
55
|
+
customizations: a,
|
|
56
|
+
pricing_plan_schedule_customizations: c,
|
|
57
|
+
forExistingSubscription: f = !1
|
|
58
|
+
}) {
|
|
59
|
+
return n({
|
|
60
|
+
url: `${t.apiUrls.transaction}/portal/invoices/preview`,
|
|
61
|
+
options: { method: "POST" },
|
|
62
|
+
data: {
|
|
63
|
+
// A subscription that is already running is priced as itself, and its customer is
|
|
64
|
+
// known. One that does not exist yet is priced off the template it would be created
|
|
65
|
+
// from, for the details it would be invoiced to.
|
|
66
|
+
...f ? { pricing_plan_subscription_id: o } : {
|
|
67
|
+
template_pricing_plan_subscription_id: o,
|
|
68
|
+
customer_details: {
|
|
69
|
+
...e,
|
|
70
|
+
reference: "preview"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
...i && { start_at: i },
|
|
74
|
+
...a && { pricing_plan_schedule_customizations: a },
|
|
75
|
+
...c && {
|
|
76
|
+
pricing_plan_schedule_customizations: c
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
function d({
|
|
82
|
+
pricingPlanScheduleId: e,
|
|
83
|
+
pricingItems: o,
|
|
84
|
+
startAt: i
|
|
85
|
+
}) {
|
|
86
|
+
return n({
|
|
87
|
+
url: r,
|
|
88
|
+
options: { method: "POST" },
|
|
89
|
+
data: {
|
|
90
|
+
pricing_plan_schedule_id: e,
|
|
91
|
+
pricing_items: o,
|
|
92
|
+
preview: !0,
|
|
93
|
+
...i ? { start_at: i } : {}
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
function m(e) {
|
|
98
|
+
return n({
|
|
99
|
+
url: r,
|
|
100
|
+
options: { method: "POST" },
|
|
101
|
+
data: {
|
|
102
|
+
finalize_immediately: !0,
|
|
103
|
+
...e
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
return {
|
|
108
|
+
getInvoice: s,
|
|
109
|
+
getInvoices: p,
|
|
110
|
+
getInvoicePdf: l,
|
|
111
|
+
getInvoicePreview: u,
|
|
112
|
+
previewChargeOnDemandPricingItems: d,
|
|
113
|
+
chargeOnDemandPricingItems: m
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export {
|
|
117
|
+
O as c
|
|
118
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const f=require("./api.es-duCDtZD9.js"),s=require("./customElements-Vox1PB6G.js"),_=(n,i)=>{const r=window.URL.createObjectURL(n);w(r,i)},w=(n,i)=>{const r=document.createElement("a");r.href=n,r.download=i,r.click(),setTimeout(()=>{window.URL.revokeObjectURL(n)},250)};function h(){const n=s.createRequestService(),i=s.useConfig(),r=`${i.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;function l(e){return n({url:`${i.apiUrls.transaction}/portal/invoices/${e}`})}function p({customerId:e,pagination:o,query:t}){const c=f.withPagination({customer_id:e,...t??{}},o);return n({url:`${i.apiUrls.transaction}/portal/invoices`,query:c,isCollection:!0})}async function u({id:e,invoice_number:o}){return n({url:`${i.apiUrls.transaction}/portal/invoices/${e}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(t=>{const c=new Blob([t],{type:"application/pdf"});_(c,`invoice-${o||e}.pdf`)})}function d({customer:e,pricingPlanSubscriptionId:o,startAt:t,customizations:c,pricing_plan_schedule_customizations:a,forExistingSubscription:g=!1}){return n({url:`${i.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{...g?{pricing_plan_subscription_id:o}:{template_pricing_plan_subscription_id:o,customer_details:{...e,reference:"preview"}},...t&&{start_at:t},...c&&{pricing_plan_schedule_customizations:c},...a&&{pricing_plan_schedule_customizations:a}}})}function m({pricingPlanScheduleId:e,pricingItems:o,startAt:t}){return n({url:r,options:{method:"POST"},data:{pricing_plan_schedule_id:e,pricing_items:o,preview:!0,...t?{start_at:t}:{}}})}function v(e){return n({url:r,options:{method:"POST"},data:{finalize_immediately:!0,...e}})}return{getInvoice:l,getInvoices:p,getInvoicePdf:u,getInvoicePreview:d,previewChargeOnDemandPricingItems:m,chargeOnDemandPricingItems:v}}exports.createInvoicesService=h;
|