@solvimon/solvimon-web 0.1.0-alpha.19 → 0.1.0-alpha.20
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/README.md +9 -7
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Y3CzulQq.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs} +8 -9
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +1 -0
- package/dist/{Amount.vue.es-CRG-6dps.mjs → Amount.vue.es-BO5sS1UX.mjs} +4 -2
- package/dist/Amount.vue.es-JDVa_3H-.js +1 -0
- package/dist/{Avatar.vue.es-ClUBm_l5.js → Avatar.vue.es-BGTZSAqU.js} +1 -1
- package/dist/{Avatar.vue.es-DJp6NEU_.mjs → Avatar.vue.es-DJzJiYtv.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BUMK11Dw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs} +5 -6
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DzrInCPA.js → BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js} +1 -1
- package/dist/{Button.vue.es-BrWHdiEA.mjs → Button.vue.es-Cm9pLU9i.mjs} +61 -93
- package/dist/Button.vue.es-O8mNivLL.js +1 -0
- package/dist/Chip.vue.es-BBmn-qJp.mjs +120 -0
- package/dist/Chip.vue.es-DmCjC1hi.js +1 -0
- package/dist/{Comparators.vue.es-CU32AC4n.mjs → Comparators.vue.es-CYfxd5H-.mjs} +1 -1
- package/dist/{Comparators.vue.es-CfVGYJ_x.js → Comparators.vue.es-DK8wGjxM.js} +1 -1
- package/dist/{ContextMenu.vue.es-BBPFQfqY.mjs → ContextMenu.vue.es-CTc1ktXb.mjs} +23 -23
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +1 -0
- package/dist/{CustomerBillingInformation.vue.es-s-LYXA4T.js → CustomerBillingInformation.vue.es-BX0Da7Kr.js} +1 -1
- package/dist/{CustomerBillingInformation.vue.es-CLmXk5B9.mjs → CustomerBillingInformation.vue.es-CMZO8oLj.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +1 -0
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B2CtcBm0.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs} +8 -10
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Bej5_H7r.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs} +37 -34
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +1 -0
- package/dist/{DividerText.vue.es-DMg-DNgi.mjs → DividerText.vue.es-CeAHAe_Y.mjs} +1 -1
- package/dist/{DividerText.vue.es-D5ieOE1e.js → DividerText.vue.es-DjT4i_YD.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CTG5XdQt.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs} +16 -16
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-5I81Qr6q.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js} +1 -1
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +38 -0
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +1 -0
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +1 -0
- package/dist/{FormMessage.vue.es-DFQXxiSC.mjs → FormMessage.vue.es-C3oxwq_8.mjs} +3 -3
- package/dist/IconButton.vue.es-BHdQskx0.js +1 -0
- package/dist/{IconButton.vue.es-DcC4f5EQ.mjs → IconButton.vue.es-KywqWWvr.mjs} +20 -23
- package/dist/{IconTitle.vue.es-mQCMxc64.mjs → IconTitle.vue.es-BmjBdZb_.mjs} +13 -11
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +1 -0
- package/dist/Input.vue.es-DqKJhFTr.js +1 -0
- package/dist/{Input.vue.es-Dp_RH03h.mjs → Input.vue.es-WZGF8dfr.mjs} +28 -16
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-56fy6uY6.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CLUcV3qa.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-ztaMeHQc.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-flgEyaoj.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-nCYeQ4tj.mjs → InvoiceSummary.vue.es-BI5sD_8F.mjs} +1057 -671
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +1 -0
- package/dist/Modal.vue.es-B_1aqm_m.js +1 -0
- package/dist/{Modal.vue.es-5EpA4Q0t.mjs → Modal.vue.es-qdUHDOnU.mjs} +172 -56
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +1 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-D7IX9qqy.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs} +7 -8
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-C8nvN-6f.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js} +1 -1
- package/dist/{PaymentHistoryBlock-Dejtgyos.mjs → PaymentHistoryBlock-CgNUV8Gy.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-RBxlC5xt.js → PaymentHistoryBlock-Ci8aSJeb.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dk52bjJd.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs} +16 -16
- package/dist/{PaymentIntegrationForm-CbqfAdkc.mjs → PaymentIntegrationForm-CLokpXvK.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-BWr7iyU6.js → PaymentIntegrationForm-CsuueDE0.js} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJHwpswk.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs} +26 -8
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +1 -0
- package/dist/{PaymentIntegrationFormAdyen-CuRwe9_9.mjs → PaymentIntegrationFormAdyen-C885o8IE.mjs} +37 -29
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +1 -0
- package/dist/{PaymentIntegrationFormStripe-JZw2m1kJ.mjs → PaymentIntegrationFormStripe-BjMdJmDC.mjs} +8 -6
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +1 -0
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +1 -0
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +677 -0
- package/dist/{PaymentMethodForm-C5WqTDow.mjs → PaymentMethodForm-IEuDxEPN.mjs} +1 -1
- package/dist/{PaymentMethodForm-CBjHdZT7.js → PaymentMethodForm-hZuVHAti.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DhPTbip8.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs} +21 -8
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +1 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DbTvbHk7.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs} +7 -7
- package/dist/{PricingGroupRangeInput.vue.es-A6eW-u2k.mjs → PricingGroupRangeInput.vue.es-ButaePib.mjs} +13 -17
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +1 -0
- package/dist/{Section.vue.es-tLYXp-tF.js → Section.vue.es-CAJvEDn6.js} +1 -1
- package/dist/{Section.vue.es-MEFUWCxU.mjs → Section.vue.es-DX_9ueCG.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +1 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xvgyB2Yr.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs} +31 -37
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +1 -0
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-B_Zkbqx2.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs} +171 -105
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cj36jvZF.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs} +4 -4
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CfXgGKXA.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs} +12 -13
- package/dist/{TooltipParagraph.vue.es-B5aHQv9O.mjs → TooltipParagraph.vue.es-C5RTcrid.mjs} +3 -3
- package/dist/{TooltipParagraph.vue.es-fSwKGXKg.js → TooltipParagraph.vue.es-H9fI7zzt.js} +1 -1
- package/dist/{TrialChip.vue.es-Fp7Lqo-b.mjs → TrialChip.vue.es-B1puKyR-.mjs} +3 -3
- package/dist/TrialChip.vue.es-CCs50m02.js +1 -0
- package/dist/accel.svg.es-CE5tIWtm.mjs +4 -0
- package/dist/accel.svg.es-Dt_1wJmV.js +1 -0
- package/dist/ach.svg.es-B4tn0_IV.js +1 -0
- package/dist/ach.svg.es-D4QPcIU-.mjs +4 -0
- package/dist/{adyen-Ba-mF3Jy.mjs → adyen-BXi_D9TQ.mjs} +14 -21
- package/dist/adyen-VS2sDW0m.js +1 -0
- package/dist/amazon-pay.svg.es-B428S4f3.js +1 -0
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +4 -0
- package/dist/amex.svg.es-BCXkaVLN.mjs +4 -0
- package/dist/amex.svg.es-Bn9e31C3.js +1 -0
- package/dist/apple-pay.svg.es-Cfgn0K28.js +1 -0
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +4 -0
- package/dist/bacs.svg.es-BKsvSeIP.mjs +4 -0
- package/dist/bacs.svg.es-hL7hLPkQ.js +1 -0
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +4 -0
- package/dist/bancontact.svg.es-DU2ejvNL.js +1 -0
- package/dist/carnet.svg.es-C5SFaOsa.js +1 -0
- package/dist/carnet.svg.es-Db-KEb13.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +1 -0
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +4 -0
- package/dist/cashapp.svg.es-DE4vMu_p.js +1 -0
- package/dist/{cn.es-DB5pDpxS.mjs → cn.es-BEU5D0Wz.mjs} +4 -4
- package/dist/cn.es-DxSeYcoP.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +8 -8
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +19 -19
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +3 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-DdFA__me.mjs → customElements-B-89a5oH.mjs} +134 -53
- package/dist/customElements-DD7bpqkx.js +1 -0
- package/dist/{customer-D7HUfF3j.js → customer-DozNwS_a.js} +1 -1
- package/dist/{customer-B0AMetq6.mjs → customer-Dzj1g9lV.mjs} +1 -1
- package/dist/dana.svg.es-Bbn6_ktN.mjs +4 -0
- package/dist/dana.svg.es-DKZaseoJ.js +1 -0
- package/dist/dankort.svg.es-D8FgSiFf.js +1 -0
- package/dist/dankort.svg.es-DtAdliQq.mjs +4 -0
- package/dist/de-DE-BeyQVhTv.mjs +299 -0
- package/dist/de-DE-BvHD68Ay.js +1 -0
- package/dist/de-DE-CI2zQkiP.mjs +266 -0
- package/dist/de-DE-_40QfLNJ.js +1 -0
- package/dist/diners.svg.es-DhchsD1D.mjs +4 -0
- package/dist/diners.svg.es-SydF_H-Z.js +1 -0
- package/dist/discover.svg.es-B8vgzVNG.js +1 -0
- package/dist/discover.svg.es-BnqYPvnV.mjs +4 -0
- package/dist/eftpos.svg.es-DO0YPaY1.js +1 -0
- package/dist/eftpos.svg.es-DRLaafYa.mjs +4 -0
- package/dist/elo.svg.es-CTOm1rvj.js +1 -0
- package/dist/elo.svg.es-CgkEOP_O.mjs +4 -0
- package/dist/en-US--NRsi7Hz.js +1 -0
- package/dist/{en-US-D0P7NNNZ.mjs → en-US-5YWNEi-V.mjs} +72 -1
- package/dist/{en-US-Daw3v6GD.mjs → en-US-DksUWPIu.mjs} +10 -0
- package/dist/en-US-dqfKx3GS.js +1 -0
- package/dist/eps.svg.es-CApyGjyU.js +1 -0
- package/dist/eps.svg.es-D6IHsRYP.mjs +4 -0
- package/dist/formatting.es-DBtYnvI5.js +1 -0
- package/dist/{formatting.es-D-oVnc8H.mjs → formatting.es-eYgXv_AK.mjs} +3 -1
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +4 -0
- package/dist/gcash.svg.es-JaL4fpZr.js +1 -0
- package/dist/girocard.svg.es-D_3LML4l.mjs +4 -0
- package/dist/girocard.svg.es-tVgtT23w.js +1 -0
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +4 -0
- package/dist/go-pay.svg.es-fYX6yMzJ.js +1 -0
- package/dist/google-pay.svg.es-BYXX1em8.js +1 -0
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +4 -0
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +4 -0
- package/dist/hipercard.svg.es-D-nmiFXB.js +1 -0
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +1 -0
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +4 -0
- package/dist/ideal.svg.es-D23EhJJ2.mjs +4 -0
- package/dist/ideal.svg.es-DXtHE0Jb.js +1 -0
- package/dist/{index-C5bKRt7l.mjs → index-Cai7laNY.mjs} +1 -1
- package/dist/{index-BJ3dHkSK.js → index-IZaUTAsE.js} +1 -1
- package/dist/{index.es-0cystq8F.mjs → index.es-D5xOw_SJ.mjs} +2 -2
- package/dist/{invoices-BSd-nKeE.mjs → invoices-1oYkdQQV.mjs} +1 -1
- package/dist/{invoices-BiqM6xN6.js → invoices-BAoh6X2a.js} +1 -1
- package/dist/it-IT-B6blp8MI.mjs +299 -0
- package/dist/it-IT-CEP3oeWs.js +1 -0
- package/dist/it-IT-CMy1tHKZ.mjs +266 -0
- package/dist/it-IT-aPQY57ht.js +1 -0
- package/dist/jcb.svg.es-Bz6J-c0s.js +1 -0
- package/dist/jcb.svg.es-CcH08OoO.mjs +4 -0
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +4 -0
- package/dist/kakao-pay.svg.es-qVTABboW.js +1 -0
- package/dist/klarna.svg.es-Clu-7zkp.js +1 -0
- package/dist/klarna.svg.es-DfIPX0gr.mjs +4 -0
- package/dist/maestro.svg.es-CVmNVokN.mjs +4 -0
- package/dist/maestro.svg.es-e8E_H2QU.js +1 -0
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +4 -0
- package/dist/mastercard.svg.es-YO3_jGD6.js +1 -0
- package/dist/momo.svg.es-BXTQlQRy.js +1 -0
- package/dist/momo.svg.es-Bm5zCTOT.mjs +4 -0
- package/dist/{nl-NL-B4zEBFTw.mjs → nl-NL-CckNM7R9.mjs} +10 -0
- package/dist/nl-NL-CjoW8r_M.mjs +314 -0
- package/dist/nl-NL-e_vf6OuT.js +1 -0
- package/dist/nl-NL-zRUAuEHg.js +1 -0
- package/dist/nyce.svg.es-CgurqLKH.mjs +4 -0
- package/dist/nyce.svg.es-DM6esO47.js +1 -0
- package/dist/open-banking.svg.es-DUM360xB.js +1 -0
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +4 -0
- package/dist/{paymentMethods-Cu2RzLgm.js → paymentMethods-CZ3ydybI.js} +1 -1
- package/dist/{paymentMethods-BsrkEbKT.mjs → paymentMethods-DIV78w0O.mjs} +1 -1
- package/dist/{payments-Bbm1HMQj.js → payments--lkjiwCt.js} +1 -1
- package/dist/{payments-B6Nfd6Al.mjs → payments-Cvqdrprv.mjs} +1 -1
- package/dist/paypal.svg.es-BdkNTf3c.js +1 -0
- package/dist/paypal.svg.es-DltWzW4V.mjs +4 -0
- package/dist/pulse.svg.es-BdpWAuIN.js +1 -0
- package/dist/pulse.svg.es-BecAwT-p.mjs +4 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +62 -62
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +141 -38
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +12 -14
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +28 -31
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +18 -18
- package/dist/sepa.svg.es-BF8PYKZg.js +1 -0
- package/dist/sepa.svg.es-cbE9g8gV.mjs +4 -0
- package/dist/star.svg.es-DsCD-tSp.mjs +4 -0
- package/dist/star.svg.es-Q50IzqXr.js +1 -0
- package/dist/{subscriptions-B4BOzLxR.js → subscriptions-300o4ae0.js} +1 -1
- package/dist/{subscriptions-C2C4WTuI.mjs → subscriptions-DcMHBPVJ.mjs} +1 -1
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +4 -0
- package/dist/trustly.svg.es-CHojqNqm.js +1 -0
- package/dist/twint.svg.es-CQ-ZDfy8.js +1 -0
- package/dist/twint.svg.es-WrZYquRs.mjs +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +32 -2
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/unionpay.svg.es-DYgo83Hf.mjs +4 -0
- package/dist/unionpay.svg.es-YqJKKFEj.js +1 -0
- package/dist/url-CjULBkjW.js +1 -0
- package/dist/url-CvNDq4wp.mjs +22 -0
- package/dist/{useActionDispatchProvider-D55t_7LY.mjs → useActionDispatchProvider-BVOBO0Jx.mjs} +1 -1
- package/dist/{useActionDispatchProvider-Cz8xLLYA.js → useActionDispatchProvider-Cv9amjTf.js} +1 -1
- package/dist/{useCustomer-DYCpgA-3.js → useCustomer-DLHOs4BR.js} +1 -1
- package/dist/{useCustomer-BNhHz9RJ.mjs → useCustomer-EDhref7T.mjs} +1 -1
- package/dist/{useCustomerFormLabels-mX5QpApD.mjs → useCustomerFormLabels-B61-4xQ7.mjs} +111 -85
- package/dist/useCustomerFormLabels-C6wW4n2e.js +1 -0
- package/dist/useExperimentalFeature-0yFoaEzV.js +1 -0
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +9 -0
- package/dist/{useInvoiceData-BczeMpuk.js → useInvoiceData-BSjVeJrI.js} +1 -1
- package/dist/{useInvoiceData-D-EvEioP.mjs → useInvoiceData-C0Y5WrbT.mjs} +2 -2
- package/dist/useInvoicesList-BRDZqsaB.js +1 -0
- package/dist/{useInvoicesList-BJJYwkIA.mjs → useInvoicesList-CYoE7q0u.mjs} +220 -184
- package/dist/{useLoadInitialData-BoGjdUu-.mjs → useLoadInitialData-Cp1OA8y6.mjs} +1 -1
- package/dist/{useLoadInitialData-CiJldX50.js → useLoadInitialData-u7IyXqb6.js} +1 -1
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +1 -0
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +141 -0
- package/dist/{usePaymentMethodOptions-fBvWYynV.js → usePaymentMethodOptions--8QpMvNm.js} +1 -1
- package/dist/{usePaymentMethodOptions-d49aOdLB.mjs → usePaymentMethodOptions-Cljh7HYp.mjs} +1 -1
- package/dist/{usePaymentMethods-Bkouz8aQ.mjs → usePaymentMethods-BJzoI8dZ.mjs} +1 -1
- package/dist/{usePaymentMethods-CFL3hFW_.js → usePaymentMethods-DvEnJWmB.js} +1 -1
- package/dist/usePayments-CANj0QVc.js +1 -0
- package/dist/{usePayments-BlliAt1E.mjs → usePayments-CaT1CBzE.mjs} +159 -59
- package/dist/{usePortal-fhri8neB.js → usePortal-BjGoSeLy.js} +1 -1
- package/dist/{usePortal-eyA4OqjU.mjs → usePortal-CMPQ0M9R.mjs} +1 -1
- package/dist/{useSubscription--IGLmLS6.mjs → useSubscription-D1UKnZAx.mjs} +1 -1
- package/dist/{useSubscription-V3KSuhOY.js → useSubscription-DZfRHbL7.js} +1 -1
- package/dist/visa.svg.es-B6aU_qRs.mjs +4 -0
- package/dist/visa.svg.es-D6sc4YTE.js +1 -0
- package/dist/vpay.svg.es-4qIqS4aX.mjs +4 -0
- package/dist/vpay.svg.es-CLGTyB09.js +1 -0
- package/dist/zip.svg.es-3PzSBe1E.mjs +4 -0
- package/dist/zip.svg.es-BRsgmur-.js +1 -0
- package/package.json +14 -2
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang--AVI4Q4E.js +0 -1
- package/dist/Amount.vue.es-CeW8S7kT.js +0 -1
- package/dist/Button.vue.es-aLcIdATK.js +0 -1
- package/dist/Chip.vue.es-DPGTweAr.mjs +0 -164
- package/dist/Chip.vue.es-q4c-DXXl.js +0 -1
- package/dist/ContextMenu.vue.es-C_TL7-kg.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CMIVAoQq.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BP-VRwEM.js +0 -1
- package/dist/ErrorNotification.vue.es-BX3khKFc.js +0 -1
- package/dist/ErrorNotification.vue.es-C22Kt8Qn.mjs +0 -30
- package/dist/FormMessage.vue.es-LeWoj774.js +0 -1
- package/dist/IconButton.vue.es-CVFn0Ntj.js +0 -1
- package/dist/IconTitle.vue.es-DoN4GVde.js +0 -1
- package/dist/Input.vue.es-C8VhMKuI.js +0 -1
- package/dist/InvoiceSummary.vue.es-emE-mCFh.js +0 -1
- package/dist/Modal.vue.es-CX5geho3.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B_IIOBjg.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BdfWchcQ.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D8fkE1yG.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-BjPpoLF7.js +0 -1
- package/dist/PaymentIntegrationFormStripe-51KZc27R.js +0 -1
- package/dist/PaymentMethod.vue.es-CH__kPw4.mjs +0 -636
- package/dist/PaymentMethod.vue.es-uVZO0Zju.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BktA5F4r.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-XPz73RVU.js +0 -1
- package/dist/PricingGroupRangeInput.vue.es-BuQeJCEX.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Jk34S5B7.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CttBs_G8.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Dl5Lg39D.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CTnTWaB8.js +0 -1
- package/dist/TrialChip.vue.es-0nrqSZeY.js +0 -1
- package/dist/adyen-BMDZQBUG.js +0 -1
- package/dist/cn.es-BLHlMR4Y.js +0 -1
- package/dist/customElements-BTJzBHMy.js +0 -1
- package/dist/en-US-BSrbFk5W.js +0 -1
- package/dist/en-US-scSQQXK8.js +0 -1
- package/dist/formatting.es-9hM8aHSg.js +0 -1
- package/dist/nl-NL-B5tuyIOM.mjs +0 -88
- package/dist/nl-NL-Bs3d8q6T.js +0 -1
- package/dist/nl-NL-DIAZWDF9.js +0 -1
- package/dist/useCustomerFormLabels-Cw6QpEJY.js +0 -1
- package/dist/useInvoicesList-rMg-8LbH.js +0 -1
- package/dist/usePayments-BKTNn_RN.js +0 -1
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import { defineComponent, createPropsRestProxy, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, useModel, ref, onMounted, watch, createSlots, createVNode, normalizeClass, createElementVNode, createCommentVNode, renderSlot, mergeModels, inject, createElementBlock, withModifiers, Fragment, renderList, toRef, nextTick, withDirectives, withKeys, vShow, defineAsyncComponent } from "vue";
|
|
2
2
|
import { c as countryData } from "../../countryData.es--zJAd6LA.mjs";
|
|
3
|
-
import { _ as _sfc_main$r, I as I18N_INJECTION_KEY, b as useLogger, u as useIntl, d as _sfc_main$Q, e as createSolvimonElement } from "../../customElements-
|
|
4
|
-
import { u as useTimePeriod } from "../../PricingGroupRangeInput.vue.es-
|
|
5
|
-
import { b as formatBillingPeriod, f as formatAmount } from "../../formatting.es-
|
|
6
|
-
import { a as _sfc_main$v, _ as _sfc_main$K } from "../../Button.vue.es-
|
|
7
|
-
import { _ as _sfc_main$N } from "../../ErrorNotification.vue.es-
|
|
8
|
-
import { c as createSubscriptionsService } from "../../subscriptions-
|
|
3
|
+
import { _ as _sfc_main$r, I as I18N_INJECTION_KEY, b as useLogger, u as useIntl, d as _sfc_main$Q, e as createSolvimonElement } from "../../customElements-B-89a5oH.mjs";
|
|
4
|
+
import { u as useTimePeriod } from "../../PricingGroupRangeInput.vue.es-ButaePib.mjs";
|
|
5
|
+
import { b as formatBillingPeriod, f as formatAmount } from "../../formatting.es-eYgXv_AK.mjs";
|
|
6
|
+
import { a as _sfc_main$v, _ as _sfc_main$K } from "../../Button.vue.es-Cm9pLU9i.mjs";
|
|
7
|
+
import { _ as _sfc_main$N } from "../../ErrorNotification.vue.es-CHyVTBGs.mjs";
|
|
8
|
+
import { c as createSubscriptionsService } from "../../subscriptions-DcMHBPVJ.mjs";
|
|
9
9
|
import { A as ApiStatus } from "../../error-DY_I2hPx.mjs";
|
|
10
|
-
import { c as convertDateRangeToTimePeriod, _ as _sfc_main$y } from "../../TrialChip.vue.es-
|
|
10
|
+
import { c as convertDateRangeToTimePeriod, _ as _sfc_main$y } from "../../TrialChip.vue.es-B1puKyR-.mjs";
|
|
11
11
|
import { a as isEqual } from "../../useService-W3Kxems4.mjs";
|
|
12
|
-
import { c as createInvoicesService } from "../../invoices-
|
|
12
|
+
import { c as createInvoicesService } from "../../invoices-1oYkdQQV.mjs";
|
|
13
13
|
import { g as getFirstPricingPlanScheduleOfType, b as getScheduleCustomizations, e as getPricingItemConfigMetaById } from "../../pricingPlanSchedule-CXG3CQ61.mjs";
|
|
14
|
-
import { u as useValidation, r as required, e as email, a as requiredIf, _ as _sfc_main$E } from "../../index-
|
|
15
|
-
import { o as objectDiff, u as useCustomerFormLabels, _ as _sfc_main$u, a as _sfc_main$x } from "../../useCustomerFormLabels-
|
|
14
|
+
import { u as useValidation, r as required, e as email, a as requiredIf, _ as _sfc_main$E } from "../../index-Cai7laNY.mjs";
|
|
15
|
+
import { o as objectDiff, u as useCustomerFormLabels, _ as _sfc_main$u, a as _sfc_main$x } from "../../useCustomerFormLabels-B61-4xQ7.mjs";
|
|
16
16
|
import { u as useWatchDebounced } from "../../useWatchDebounced-Zmxd6InB.mjs";
|
|
17
|
-
import { u as usePaymentMethodOptions } from "../../usePaymentMethodOptions-
|
|
17
|
+
import { u as usePaymentMethodOptions } from "../../usePaymentMethodOptions-Cljh7HYp.mjs";
|
|
18
18
|
import { c as getPricingGroupsFromExtendedPricingPlanSubscription, a as getSubscriptionName, d as getFallbackTrialAndSubscriptionStartAndEndDates } from "../../subscription-C41lG-rH.mjs";
|
|
19
19
|
import { a as getAllPricingsFromScheduleInfos, b as getPricingsFromScheduleInfo, g as getNameFromPricing } from "../../pricing-CJxS2hr2.mjs";
|
|
20
|
-
import { g as getQueryParam,
|
|
21
|
-
import {
|
|
20
|
+
import { g as getQueryParam, s as safeUrlRedirect } from "../../url-CvNDq4wp.mjs";
|
|
21
|
+
import { P as PAYMENT_ACCEPTOR_ID_QUERY_STRING, e as getAdyenExpressCheckoutConfiguration, c as transformObjectToAdyenObject, d as createReturnUrl } from "../../adyen-BXi_D9TQ.mjs";
|
|
22
|
+
import { u as usePortal } from "../../usePortal-CMPQ0M9R.mjs";
|
|
22
23
|
import { g as getCountryNameByCode } from "../../getCountryNameByCode.es-ymC9R46j.mjs";
|
|
23
24
|
import { _ as _sfc_main$w } from "../../Expand.vue.es-C4_XmqbR.mjs";
|
|
24
|
-
import { _ as _sfc_main$p } from "../../Input.vue.es-
|
|
25
|
-
import { _ as _sfc_main$t } from "../../Section.vue.es-
|
|
26
|
-
import { a as _sfc_main$q, _ as _sfc_main$s } from "../../IconButton.vue.es-
|
|
27
|
-
import { c as createCustomerService } from "../../customer-
|
|
28
|
-
import { c as _sfc_main$A, d as _sfc_main$G, b as _sfc_main$H, _ as _sfc_main$P } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { _ as _sfc_main$z, T as TooltipContent, a as _sfc_main$B } from "../../TooltipParagraph.vue.es-
|
|
30
|
-
import { _ as _sfc_main$C } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-
|
|
31
|
-
import { _ as _sfc_main$o } from "../../Chip.vue.es-
|
|
32
|
-
import { b as _sfc_main$F, u as usePricingDescription, c as _sfc_main$L, _ as _sfc_main$M, a as _sfc_main$O } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-
|
|
33
|
-
import { _ as _sfc_main$D } from "../../SubscriptionSummary.vue_vue_type_script_setup_true_lang-
|
|
25
|
+
import { _ as _sfc_main$p } from "../../Input.vue.es-WZGF8dfr.mjs";
|
|
26
|
+
import { _ as _sfc_main$t } from "../../Section.vue.es-DX_9ueCG.mjs";
|
|
27
|
+
import { a as _sfc_main$q, _ as _sfc_main$s } from "../../IconButton.vue.es-KywqWWvr.mjs";
|
|
28
|
+
import { c as createCustomerService } from "../../customer-Dzj1g9lV.mjs";
|
|
29
|
+
import { c as _sfc_main$A, d as _sfc_main$G, b as _sfc_main$H, _ as _sfc_main$P } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs";
|
|
30
|
+
import { _ as _sfc_main$z, T as TooltipContent, a as _sfc_main$B } from "../../TooltipParagraph.vue.es-C5RTcrid.mjs";
|
|
31
|
+
import { _ as _sfc_main$C } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs";
|
|
32
|
+
import { _ as _sfc_main$o } from "../../Chip.vue.es-BBmn-qJp.mjs";
|
|
33
|
+
import { b as _sfc_main$F, u as usePricingDescription, c as _sfc_main$L, _ as _sfc_main$M, a as _sfc_main$O } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs";
|
|
34
|
+
import { _ as _sfc_main$D } from "../../SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs";
|
|
34
35
|
import { u as useViewport } from "../../useViewport-Bu0cyeSi.mjs";
|
|
35
36
|
import { _ as _sfc_main$I } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
|
|
36
|
-
import { _ as _sfc_main$J } from "../../DividerText.vue.es-
|
|
37
|
-
import { c as createPaymentsService } from "../../payments-
|
|
37
|
+
import { _ as _sfc_main$J } from "../../DividerText.vue.es-CeAHAe_Y.mjs";
|
|
38
|
+
import { c as createPaymentsService } from "../../payments-Cvqdrprv.mjs";
|
|
38
39
|
import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-Dy9xgxuF.mjs";
|
|
39
|
-
import { u as uniqueId } from "../../cn.es-
|
|
40
|
+
import { u as uniqueId } from "../../cn.es-BEU5D0Wz.mjs";
|
|
40
41
|
import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
|
|
41
42
|
const EU_COUNTRIES = {
|
|
42
43
|
AT: "Austria",
|
|
@@ -75,9 +76,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
75
76
|
props: {
|
|
76
77
|
oldValue: {},
|
|
77
78
|
newValue: {},
|
|
78
|
-
|
|
79
|
+
intent: { default: "neutral" },
|
|
79
80
|
content: {},
|
|
80
|
-
dark: { type: Boolean },
|
|
81
81
|
removable: { type: Boolean },
|
|
82
82
|
size: {},
|
|
83
83
|
variant: {},
|
|
@@ -87,21 +87,21 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
hasChipAfter: { type: Boolean }
|
|
88
88
|
},
|
|
89
89
|
setup(__props) {
|
|
90
|
-
const chipProps = createPropsRestProxy(__props, ["oldValue", "newValue", "
|
|
90
|
+
const chipProps = createPropsRestProxy(__props, ["oldValue", "newValue", "intent"]);
|
|
91
91
|
const delta = computed(() => {
|
|
92
92
|
const calculatedDelta = __props.newValue - __props.oldValue;
|
|
93
93
|
return `${calculatedDelta >= 0 ? "+" : ""}${calculatedDelta}`;
|
|
94
94
|
});
|
|
95
95
|
return (_ctx, _cache) => {
|
|
96
96
|
return openBlock(), createBlock(unref(_sfc_main$o), mergeProps(chipProps, {
|
|
97
|
-
|
|
97
|
+
intent: __props.intent,
|
|
98
98
|
class: "pointer-events-none select-none"
|
|
99
99
|
}), {
|
|
100
100
|
default: withCtx(() => [
|
|
101
101
|
createTextVNode(toDisplayString(delta.value), 1)
|
|
102
102
|
]),
|
|
103
103
|
_: 1
|
|
104
|
-
}, 16, ["
|
|
104
|
+
}, 16, ["intent"]);
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
});
|
|
@@ -323,7 +323,7 @@ const urlRegex = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127
|
|
|
323
323
|
regex(urlRegex);
|
|
324
324
|
regex(/(^[0-9]*$)|(^-[0-9]+$)/);
|
|
325
325
|
regex(/^[-]?\d*(\.\d+)?$/);
|
|
326
|
-
const _hoisted_1$k = { class: "flex items-center gap-1.5
|
|
326
|
+
const _hoisted_1$k = { class: "flex items-center gap-1.5" };
|
|
327
327
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
328
328
|
__name: "StepInput",
|
|
329
329
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -461,7 +461,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
461
461
|
computedUnitName.value ? (openBlock(), createBlock(_sfc_main$r, {
|
|
462
462
|
key: 0,
|
|
463
463
|
tag: "span",
|
|
464
|
-
|
|
464
|
+
color: "subtle",
|
|
465
465
|
class: "pointer-events-none select-none"
|
|
466
466
|
}, {
|
|
467
467
|
default: withCtx(() => [
|
|
@@ -480,8 +480,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
480
480
|
createVNode(_sfc_main$q, {
|
|
481
481
|
disabled: !isDecreaseButtonEnabled.value,
|
|
482
482
|
type: "button",
|
|
483
|
-
|
|
484
|
-
variant: "ghost",
|
|
483
|
+
intent: "subtle",
|
|
485
484
|
size: "sm",
|
|
486
485
|
class: normalizeClass(["!h-full select-none rounded-br-none rounded-tr-none", { "!w-7": __props.size === "lg", "!w-5": __props.size === "sm", "!w-6": __props.size === "md" }]),
|
|
487
486
|
icon: "remove",
|
|
@@ -492,8 +491,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
492
491
|
createVNode(_sfc_main$q, {
|
|
493
492
|
disabled: !isIncreaseButtonEnabled.value,
|
|
494
493
|
type: "button",
|
|
495
|
-
|
|
496
|
-
variant: "ghost",
|
|
494
|
+
intent: "subtle",
|
|
497
495
|
size: "sm",
|
|
498
496
|
class: normalizeClass(["!h-full select-none rounded-bl-none rounded-tl-none", { "!w-7": __props.size === "lg", "!w-5": __props.size === "sm", "!w-6": __props.size === "md" }]),
|
|
499
497
|
icon: "add",
|
|
@@ -1953,7 +1951,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1953
1951
|
createVNode(unref(_sfc_main$r), {
|
|
1954
1952
|
variant: "body-sm",
|
|
1955
1953
|
tag: "span",
|
|
1956
|
-
|
|
1954
|
+
color: "subtle",
|
|
1957
1955
|
"no-spacing": ""
|
|
1958
1956
|
}, {
|
|
1959
1957
|
default: withCtx(() => [
|
|
@@ -1985,7 +1983,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1985
1983
|
!showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
1986
1984
|
key: 0,
|
|
1987
1985
|
size: "xs",
|
|
1988
|
-
|
|
1986
|
+
intent: "subtle",
|
|
1989
1987
|
"icon-prefix": "add",
|
|
1990
1988
|
class: "py-0.5",
|
|
1991
1989
|
onClick: _cache[1] || (_cache[1] = ($event) => showBillingDetails.value = true)
|
|
@@ -2002,7 +2000,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2002
2000
|
showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
2003
2001
|
key: 1,
|
|
2004
2002
|
size: "sm",
|
|
2005
|
-
|
|
2003
|
+
intent: "subtle",
|
|
2006
2004
|
"icon-prefix": "close",
|
|
2007
2005
|
class: "py-0.5",
|
|
2008
2006
|
onClick: _cache[2] || (_cache[2] = ($event) => showBillingDetails.value = false)
|
|
@@ -2121,7 +2119,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2121
2119
|
createVNode(unref(_sfc_main$v), {
|
|
2122
2120
|
type: "button",
|
|
2123
2121
|
size: "sm",
|
|
2124
|
-
|
|
2122
|
+
intent: "secondary",
|
|
2125
2123
|
disabled: !unref(isTaxIDCheckEnabled) || unref(isTaxIDCheckPending) || __props.validation.value.companyVatNumber.$invalid,
|
|
2126
2124
|
onClick: unref(runTaxIDCheck)
|
|
2127
2125
|
}, {
|
|
@@ -2201,7 +2199,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2201
2199
|
]),
|
|
2202
2200
|
createVNode(unref(_sfc_main$r), {
|
|
2203
2201
|
variant: "body-sm",
|
|
2204
|
-
|
|
2202
|
+
color: "subtle",
|
|
2205
2203
|
"no-spacing": ""
|
|
2206
2204
|
}, {
|
|
2207
2205
|
default: withCtx(() => [
|
|
@@ -2345,7 +2343,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2345
2343
|
}),
|
|
2346
2344
|
createVNode(unref(_sfc_main$r), {
|
|
2347
2345
|
variant: "body-sm",
|
|
2348
|
-
|
|
2346
|
+
color: "subtle"
|
|
2349
2347
|
}, {
|
|
2350
2348
|
default: withCtx(() => [
|
|
2351
2349
|
createTextVNode(toDisplayString(unref($t)({
|
|
@@ -2392,7 +2390,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2392
2390
|
default: withCtx(() => [
|
|
2393
2391
|
createVNode(unref(_sfc_main$r), {
|
|
2394
2392
|
variant: "body-xs",
|
|
2395
|
-
|
|
2393
|
+
color: "subtle",
|
|
2396
2394
|
tag: "span"
|
|
2397
2395
|
}, {
|
|
2398
2396
|
default: withCtx(() => [
|
|
@@ -2440,7 +2438,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2440
2438
|
createVNode(unref(_sfc_main$r), {
|
|
2441
2439
|
tag: "span",
|
|
2442
2440
|
variant: "body-xs",
|
|
2443
|
-
|
|
2441
|
+
color: "subtle"
|
|
2444
2442
|
}, {
|
|
2445
2443
|
default: withCtx(() => [
|
|
2446
2444
|
createTextVNode(toDisplayString(__props.description), 1)
|
|
@@ -2799,7 +2797,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2799
2797
|
name: "badge",
|
|
2800
2798
|
fn: withCtx(() => [
|
|
2801
2799
|
createVNode(unref(_sfc_main$o), {
|
|
2802
|
-
|
|
2800
|
+
intent: "brand",
|
|
2803
2801
|
content: toggleSaveText.value,
|
|
2804
2802
|
size: saveBadgeSize.value,
|
|
2805
2803
|
class: "whitespace-nowrap text-left leading-tight"
|
|
@@ -2834,7 +2832,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2834
2832
|
createVNode(unref(_sfc_main$r), {
|
|
2835
2833
|
"no-spacing": "",
|
|
2836
2834
|
variant: "body-sm",
|
|
2837
|
-
|
|
2835
|
+
color: "subtle"
|
|
2838
2836
|
}, {
|
|
2839
2837
|
default: withCtx(() => [
|
|
2840
2838
|
createTextVNode(toDisplayString(unref($t)({
|
|
@@ -2870,7 +2868,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2870
2868
|
}, null, 8, ["variant", "invoice", "trial-invoice", "is-paid", "collapsible", "is-preview-without-taxes"])) : (openBlock(), createBlock(unref(_sfc_main$r), {
|
|
2871
2869
|
key: 1,
|
|
2872
2870
|
variant: "body-sm",
|
|
2873
|
-
|
|
2871
|
+
color: "subtle",
|
|
2874
2872
|
class: "sv-order-summary__empty"
|
|
2875
2873
|
}, {
|
|
2876
2874
|
default: withCtx(() => [
|
|
@@ -3609,7 +3607,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3609
3607
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
3610
3608
|
createVNode(unref(_sfc_main$r), {
|
|
3611
3609
|
variant: "body-xs",
|
|
3612
|
-
|
|
3610
|
+
color: "subtle",
|
|
3613
3611
|
tag: "div"
|
|
3614
3612
|
}, {
|
|
3615
3613
|
default: withCtx(() => [
|
|
@@ -3642,7 +3640,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3642
3640
|
}),
|
|
3643
3641
|
createVNode(unref(_sfc_main$r), {
|
|
3644
3642
|
variant: "body-xs",
|
|
3645
|
-
|
|
3643
|
+
color: "subtle",
|
|
3646
3644
|
tag: "div",
|
|
3647
3645
|
class: "text-right"
|
|
3648
3646
|
}, {
|
|
@@ -3811,7 +3809,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3811
3809
|
key: 0,
|
|
3812
3810
|
tag: "span",
|
|
3813
3811
|
variant: "body-xs",
|
|
3814
|
-
|
|
3812
|
+
color: "subtle"
|
|
3815
3813
|
}, {
|
|
3816
3814
|
default: withCtx(() => [
|
|
3817
3815
|
createTextVNode(toDisplayString(unref($t)(
|
|
@@ -3834,7 +3832,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3834
3832
|
key: 1,
|
|
3835
3833
|
tag: "span",
|
|
3836
3834
|
variant: "body-xs",
|
|
3837
|
-
|
|
3835
|
+
color: "subtle"
|
|
3838
3836
|
}, {
|
|
3839
3837
|
default: withCtx(() => [
|
|
3840
3838
|
createTextVNode(toDisplayString(unref($t)({
|
|
@@ -4092,15 +4090,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4092
4090
|
default: withCtx(() => [
|
|
4093
4091
|
isSelected(pricing.id) ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
4094
4092
|
key: 0,
|
|
4095
|
-
|
|
4096
|
-
variant: "outline",
|
|
4093
|
+
intent: "secondary",
|
|
4097
4094
|
square: "",
|
|
4098
4095
|
size: "sm",
|
|
4099
4096
|
"icon-prefix": "remove_shopping_cart",
|
|
4100
4097
|
onClick: ($event) => handleToggle(pricing.id)
|
|
4101
4098
|
}, null, 8, ["onClick"])) : (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
4102
4099
|
key: 1,
|
|
4103
|
-
|
|
4100
|
+
intent: "primary",
|
|
4104
4101
|
"icon-prefix": "add",
|
|
4105
4102
|
size: "sm",
|
|
4106
4103
|
onClick: ($event) => handleToggle(pricing.id)
|
|
@@ -4285,10 +4282,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4285
4282
|
})
|
|
4286
4283
|
);
|
|
4287
4284
|
const toggleAriaLabel = computed(
|
|
4288
|
-
() => $t({
|
|
4289
|
-
defaultMessage:
|
|
4290
|
-
id:
|
|
4291
|
-
description: "Aria label for the promotion code toggle button in checkout"
|
|
4285
|
+
() => isExpanded.value ? $t({
|
|
4286
|
+
defaultMessage: "Collapse promotion code input",
|
|
4287
|
+
id: "checkout.promotion_code.collapse_aria_label",
|
|
4288
|
+
description: "Aria label for the promotion code toggle button in checkout, while the input is open"
|
|
4289
|
+
}) : $t({
|
|
4290
|
+
defaultMessage: "Expand promotion code input",
|
|
4291
|
+
id: "checkout.promotion_code.expand_aria_label",
|
|
4292
|
+
description: "Aria label for the promotion code toggle button in checkout, while the input is closed"
|
|
4292
4293
|
})
|
|
4293
4294
|
);
|
|
4294
4295
|
const applyAriaLabel = computed(
|
|
@@ -4519,7 +4520,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4519
4520
|
setup(__props, { emit: __emit }) {
|
|
4520
4521
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
4521
4522
|
const PaymentIntegrationForm = defineAsyncComponent(
|
|
4522
|
-
() => import("../../PaymentIntegrationForm-
|
|
4523
|
+
() => import("../../PaymentIntegrationForm-CLokpXvK.mjs")
|
|
4523
4524
|
);
|
|
4524
4525
|
const props = __props;
|
|
4525
4526
|
const emit = __emit;
|
|
@@ -5008,8 +5009,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
5008
5009
|
action: withCtx(() => [
|
|
5009
5010
|
createVNode(unref(_sfc_main$v), {
|
|
5010
5011
|
type: "button",
|
|
5011
|
-
|
|
5012
|
-
variant: "outline",
|
|
5012
|
+
intent: "secondary",
|
|
5013
5013
|
size: "sm",
|
|
5014
5014
|
class: "sv-action sv-action--secondary sv-checkout__payment-methods-retry",
|
|
5015
5015
|
onClick: unref(retryPaymentMethodOptions)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../error-Cg-i7gGl.js"),r=require("../../ContentWithAsideLayout-DHpnJfGA.js"),o=require("../../useInvoicesList-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../error-Cg-i7gGl.js"),r=require("../../ContentWithAsideLayout-DHpnJfGA.js"),o=require("../../useInvoicesList-BRDZqsaB.js"),s=require("../../usePortal-BjGoSeLy.js"),n=require("../../customElements-DD7bpqkx.js"),i=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js"),u=require("../../useCustomer-DLHOs4BR.js"),a=require("../../usePaymentMethods-DvEnJWmB.js"),l=require("../../BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js"),c=require("../../useLoadInitialData-u7IyXqb6.js"),m=require("../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js"),p=require("../../CustomerPaymentMethods.lib-BKgQTCtc.js"),d=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js"),v=require("../../pricingPlanSchedule-B9HFiXy-.js"),_=require("../../component-hDuDTBt5.js"),f=e.defineComponent({__name:"CustomerOverview",props:{configuration:{type:Object}},setup(_){var f;const y=_,g=s.usePortal(),h=n.useLogger(),C=null==(f=g.value)?void 0:f.customer_id,b=u.useCustomer({customerId:C}),w=o.useInvoicesList({customerId:C,batchSize:5}),S=i.useSubscriptionsList({customerId:C}),j=a.usePaymentMethods({customerId:C}),q=d.useCustomerWalletBalances({customerId:C}),L=e.computed(()=>{var e;return(null==(e=q.walletBalances.value)?void 0:e.wallet_balances)??[]}),A=e.computed(()=>S.items.value.slice(0,2)),I=e.computed(()=>{var e;return j.items.value.slice(0,(null==(e=y.configuration)?void 0:e.maxItems)??p.DEFAULT_MAX_ITEMS)}),{isLoading:B}=c.useLoadInitialData(b.get.execute(),w.fetchInitial(),S.fetchAll(),j.fetchAll(),q.fetch()),O=()=>{j.fetchAll()},M=()=>{q.fetch()},x=e.computed(()=>v.getActiveDefaultScheduleId(S.items.value));return e.watch([x,()=>S.items.value],([e,t])=>{e||0===t.length||h.warn("ACTIVE_SCHEDULE_NOT_FOUND","No schedule is currently being billed",{schedules:t.flatMap(({pricing_plan_schedule_infos:e})=>(e??[]).map(({id:e,type:t,start_at:r,end_at:o,...s})=>{var n;return{id:e,type:(null==(n=s.pricing_plan_schedule)?void 0:n.type)??t,start_at:r,end_at:o}}))})}),(s,n)=>(e.openBlock(),e.createBlock(e.unref(r.ContentWithAsideLayout),{class:"sv-customer-overview sv-root sv-screen"},{header:e.withCtx(()=>[e.unref(b).customer.value?(e.openBlock(),e.createBlock(i._sfc_main,{key:0,class:"sv-customer-overview__subscriptions",customer:e.unref(b).customer.value,subscriptions:A.value,"payment-methods":e.unref(j).items.value,"is-loading":e.unref(B)},null,8,["customer","subscriptions","payment-methods","is-loading"])):e.createCommentVNode("",!0)]),content:e.withCtx(()=>[e.createVNode(o._sfc_main,{class:"sv-customer-overview__invoices",invoices:e.unref(w).items.value,"has-more-items":e.unref(w).hasNextBatch.value,"is-loading":e.unref(B),onLoadMore:e.unref(w).fetchMore},null,8,["invoices","has-more-items","is-loading","onLoadMore"])]),aside:e.withCtx(()=>[e.createVNode(d._sfc_main,{class:"sv-customer-overview__wallet-balances","has-error":e.unref(q).apiStatus.value===e.unref(t.ApiStatus).Failed,"is-loading":e.unref(B),"wallet-balances":L.value,"show-top-up-button":"",customer:e.unref(b).customer.value,"payment-methods":e.unref(j).items.value,subscriptions:e.unref(S).items.value,onTopUpCharged:M,onAutoTopUpSaved:M,onAutoTopUpCancelled:M,onPaymentMethodStored:O},null,8,["has-error","is-loading","wallet-balances","customer","payment-methods","subscriptions"]),e.createVNode(m._sfc_main,{class:"sv-customer-overview__payment-methods",configuration:_.configuration,"is-loading":e.unref(B),"payment-methods":I.value},null,8,["configuration","is-loading","payment-methods"]),e.unref(b).customer.value?(e.openBlock(),e.createBlock(l._sfc_main,{key:0,class:"sv-customer-overview__billing-information","is-loading":e.unref(B),customer:e.unref(b).customer.value},null,8,["is-loading","customer"])):e.createCommentVNode("",!0)]),_:1}))}}),y=e.defineComponent({__name:"CustomerOverview.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const r=_.getComponentName("customer-overview");return(o,s)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),{entry:o.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:s[0]||(s[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(f,{configuration:t.configuration},null,8,["configuration"])]),_:1},8,["entry","component-name"]))}}),{define:g}=n.createSolvimonElement(y,"customer-overview");exports.defineSolvimonCustomerOverview=g;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, openBlock, createBlock, unref, withCtx, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { A as ApiStatus } from "../../error-DY_I2hPx.mjs";
|
|
3
3
|
import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-Dy9xgxuF.mjs";
|
|
4
|
-
import { u as useInvoicesList, _ as _sfc_main$5 } from "../../useInvoicesList-
|
|
5
|
-
import { u as usePortal } from "../../usePortal-
|
|
6
|
-
import { b as useLogger, d as _sfc_main$7, e as createSolvimonElement } from "../../customElements-
|
|
7
|
-
import { u as useSubscriptionsList, _ as _sfc_main$6 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as useCustomer } from "../../useCustomer-
|
|
9
|
-
import { u as usePaymentMethods } from "../../usePaymentMethods-
|
|
10
|
-
import { _ as _sfc_main$4 } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-
|
|
12
|
-
import { _ as _sfc_main$3 } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as useInvoicesList, _ as _sfc_main$5 } from "../../useInvoicesList-CYoE7q0u.mjs";
|
|
5
|
+
import { u as usePortal } from "../../usePortal-CMPQ0M9R.mjs";
|
|
6
|
+
import { b as useLogger, d as _sfc_main$7, e as createSolvimonElement } from "../../customElements-B-89a5oH.mjs";
|
|
7
|
+
import { u as useSubscriptionsList, _ as _sfc_main$6 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs";
|
|
8
|
+
import { u as useCustomer } from "../../useCustomer-EDhref7T.mjs";
|
|
9
|
+
import { u as usePaymentMethods } from "../../usePaymentMethods-BJzoI8dZ.mjs";
|
|
10
|
+
import { _ as _sfc_main$4 } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs";
|
|
11
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-Cp1OA8y6.mjs";
|
|
12
|
+
import { _ as _sfc_main$3 } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs";
|
|
13
13
|
import { D as DEFAULT_MAX_ITEMS } from "../../CustomerPaymentMethods.lib-CcSt0sl1.mjs";
|
|
14
|
-
import { u as useCustomerWalletBalances, _ as _sfc_main$2 } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { u as useCustomerWalletBalances, _ as _sfc_main$2 } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs";
|
|
15
15
|
import { a as getActiveDefaultScheduleId } from "../../pricingPlanSchedule-CXG3CQ61.mjs";
|
|
16
16
|
import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
|
|
17
17
|
const SUBSCRIPTIONS_SHOWN = 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../formatting.es-9hM8aHSg.js"),n=require("../../Button.vue.es-aLcIdATK.js"),o=require("../../usePayments-BKTNn_RN.js"),a=require("../../InvoiceSummary.vue.es-emE-mCFh.js"),i=require("../../Section.vue.es-tLYXp-tF.js"),r=require("../../customElements-BTJzBHMy.js"),c=require("../../ContentWithAsideLayout-DHpnJfGA.js"),s=require("../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D8fkE1yG.js"),u=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),l=require("../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js"),p=require("../../customer.es-D42Md24r.js"),y=require("../../useLoadInitialData-CiJldX50.js"),d=require("../../usePaymentMethodOptions-fBvWYynV.js"),m=require("../../usePaymentMethods-CFL3hFW_.js"),v=require("../../component-hDuDTBt5.js"),f=e.defineComponent({__name:"PayButton",props:{amount:{type:Object},paymentMethod:{type:Object},type:{type:String},variant:{type:String},color:{type:String},size:{type:String},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{type:null},iconSuffix:{type:null},tag:{type:String},preventDoubleClick:{type:Boolean}},emits:["click"],setup(o){const a=o,{$t:i}=r.useIntl(),c=e.computed(()=>({color:a.color??"primary",disabled:a.disabled,iconPrefix:a.iconPrefix,iconSuffix:a.iconSuffix,loading:a.loading,pill:a.pill,size:a.size??"lg",square:a.square,tag:a.tag,type:a.type,variant:a.variant})),s=e.computed(()=>{var t,n,o;switch(null==(t=a.paymentMethod)?void 0:t.paymentMethodType){case"scheme":return"Credit Card";case"applepay":return"Apple Pay";case"googlepay":return"Google Pay";case"paypal":return"PayPal";case"ideal":return"iDeal";case"klarna":return"Klarna";case"bcmc":return"BCMC";case"sepadirectdebit":return"SEPA";case"twint":return"Twint";case"swish":return"Swish";case"vipps":return"Vipps";case"mbway":return"MBway";case"alipay":return"AliPay";case"wechatpayWeb":return"WeChatPay";case"afterpay_default":return"Afterpay";case"affirm":return"Affirm";case"ach":return"ACH";case"blik":return"Blik";case"cashapp":return"Cash App Pay";case"amazonpay":return"Amazon Pay";case"venmo":return"Venmo";case"clicktopay":return"Click to Pay";case"upi":return"UPI";case"revolutpay":return"Revolut Pay";case"ratepay":return"Ratepay";case"walley":return"Walley";case"alma":return"Alma";case"facilypay_3x":case"facilypay_4x":return"Oney";case"samsungpay":return"Samsung Pay";case"bizum":return"Bizum";case"pix":return"Pix";case"multibanco":return"Multibanco";case"openbanking_UK":return"Open Banking";default:return(null==(n=a.paymentMethod)?void 0:n.paymentMethodType)?e.capitalize(null==(o=a.paymentMethod)?void 0:o.paymentMethodType):""}}),u=e.computed(()=>a.amount&&a.paymentMethod?i({defaultMessage:"Pay {amount} with {type}",id:"pay_button.label.amount_and_payment_method",description:"The label for the pay button when both the amount and the payment method are known"},{amount:t.formatAmount(a.amount),type:s.value}):a.amount?i({defaultMessage:"Pay {amount}",id:"pay_button.label.amount_only",description:"The label for the pay button when only the amount is known"},{amount:t.formatAmount(a.amount),type:s.value}):i({defaultMessage:"Pay",id:"pay_button.label.default",description:"The default label for the pay button when no amount and payment method are known"}));return(t,o)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),e.mergeProps(c.value,{class:"w-full",onClick:o[0]||(o[0]=e=>t.$emit("click",e))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1},16))}}),g={key:0},h=e.defineComponent({__name:"PayInvoice",props:{invoice:{type:Object},paymentMethodOptions:{type:Array},paymentAttempts:{default:()=>[],type:Array},countryCode:{type:String},amount:{type:Object},downloadService:{type:Function},configuration:{type:Object},isLoading:{type:Boolean},error:{type:null}},setup(p){const{$t:y}=r.useIntl(),d=p,m=e.ref(),v=e.ref(),h=e.ref(!1);function _(){if(!v.value)throw new Error("payment integration form not found");h.value=!0,v.value.submit()}const w=()=>{d.configuration.onPaymentSuccess&&d.configuration.onPaymentSuccess()},b=()=>{h.value=!1};return(d,C)=>(e.openBlock(),e.createBlock(e.unref(c.ContentWithAsideLayout),null,{header:e.withCtx(()=>[e.createVNode(u._sfc_main,{class:"min-h-[52px] w-96"},{default:e.withCtx(()=>[p.invoice&&p.downloadService?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,invoice:p.invoice,"payment-attempts":p.paymentAttempts,"download-service":()=>p.downloadService(p.invoice.id)},null,8,["invoice","payment-attempts","download-service"])):e.createCommentVNode("",!0)]),_:1})]),content:e.withCtx(()=>{var o,a;return[p.isLoading?(e.openBlock(),e.createBlock(u._sfc_main,{key:0,variant:"section",class:"min-h-[300px]"})):e.createCommentVNode("",!0),(null==(o=p.invoice)?void 0:o.paid)?(e.openBlock(),e.createBlock(l._sfc_main,{key:1,status:"success",title:e.unref(y)({id:"pay_invoice.paid.title",defaultMessage:"Thank you for your payment!",description:"Title shown when the invoice has already been paid"}),class:"mt-8"},{default:e.withCtx(()=>[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",class:"mt-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(n._sfc_main),{icon:"check"}),e.createTextVNode(e.toDisplayString(e.unref(t.formatAmount)(p.invoice.tax_summary.total_amount)),1)]),_:1})]),_:1},8,["title"])):p.error?(e.openBlock(),e.createBlock(l._sfc_main,{key:2,status:"error",title:e.unref(y)({id:"pay_invoice.error.title",defaultMessage:"Something went wrong",description:"Title shown when the invoice payment fails to load"})},{default:e.withCtx(()=>[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",class:"mt-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)({id:"pay_invoice.error.description",defaultMessage:"Please try again or contact support.",description:"Body text shown when the invoice payment fails to load"})),1)]),_:1})]),_:1},8,["title"])):!p.isLoading&&p.countryCode&&p.amount&&p.invoice?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[(null==(a=p.paymentMethodOptions)?void 0:a.length)?(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{key:0,title:e.unref(y)({id:"pay_invoice.payment_methods.title",defaultMessage:"Payment methods",description:"Section title for the payment method selector on the pay invoice screen"}),"content-background":"none","no-border":"","no-spacing":""},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"pointer-events-none opacity-60":h.value})},[e.createVNode(s._sfc_main,{ref_key:"paymentIntegrationFormRef",ref:v,amount:p.amount,"country-code":p.countryCode,context:{type:"INVOICE",related_resource_ids:[{type:"INVOICE",id:p.invoice.id}]},"customer-id":p.invoice.customer.id,"force-store-payment-method":"","invoice-id":p.invoice.id,"payment-method-options":p.paymentMethodOptions,variant:"AUTHORIZE",onPaymentSuccess:w,onPaymentFailed:b,onSelect:C[0]||(C[0]=e=>m.value=e)},null,8,["amount","country-code","context","customer-id","invoice-id","payment-method-options"])],2)]),_:1},8,["title"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]}),aside:e.withCtx(()=>[e.createVNode(u._sfc_main,{variant:"section",class:"min-h-[200px]"},{default:e.withCtx(()=>[p.invoice?(e.openBlock(),e.createBlock(e.unref(a._sfc_main),{key:0,invoice:p.invoice},null,8,["invoice"])):e.createCommentVNode("",!0)]),_:1}),p.invoice?(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(f,{disabled:!m.value||h.value,loading:h.value,amount:p.amount,"payment-method":m.value,onClick:_},null,8,["disabled","loading","amount","payment-method"])])):e.createCommentVNode("",!0)]),_:1}))}}),_=e.defineComponent({__name:"PayInvoice.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const n=t,{invoice:a,get:i,downloadInvoicePdf:r}=o.useInvoice({invoiceId:n.configuration.invoiceId}),{payments:c,get:s}=o.usePayments(),{fetchInitial:u}=m.usePaymentMethods({customerId:n.portalObject.customer_id}),{paymentMethodOptions:l,get:v}=d.usePaymentMethodOptions(),{isLoading:f}=y.useLoadInitialData((async()=>{const e=await i();await v({customerId:e.customer.id,amount:e.open_invoice_amount})})(),u(),s(n.configuration.invoiceId)),g=e.computed(()=>{var e;return(null==(e=a.value)?void 0:e.customer)?p.getCustomerCountry(a.value.customer):void 0});return(t,n)=>{var o;return e.renderSlot(t.$slots,"default",{invoice:e.unref(a),isLoading:e.unref(f),amount:null==(o=e.unref(a))?void 0:o.open_invoice_amount,countryCode:g.value,paymentMethodOptions:e.unref(l),paymentAttempts:e.unref(c),downloadService:e.unref(r)})}}}),w=e.defineComponent({__name:"PayInvoice.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const n=v.getComponentName("pay-invoice");return(o,a)=>(e.openBlock(),e.createBlock(e.unref(r._sfc_main$1),{entry:o.$props,"component-name":e.unref(n),"allowed-portal-types":["CUSTOMER"],onError:a[0]||(a[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(_,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoice:n,isLoading:o,amount:a,countryCode:i,paymentMethodOptions:r,paymentAttempts:c,downloadService:s})=>[e.createVNode(h,{"is-loading":o,invoice:n,amount:a,"country-code":i,"payment-method-options":r,configuration:t.configuration,"payment-attempts":c??[],"download-service":s},null,8,["is-loading","invoice","amount","country-code","payment-method-options","configuration","payment-attempts","download-service"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:b}=r.createSolvimonElement(w,"pay-invoice");exports.defineSolvimonPayInvoice=b;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../formatting.es-DBtYnvI5.js"),n=require("../../Button.vue.es-O8mNivLL.js"),a=require("../../index.es-2JWHHSgP.js"),o=require("../../usePayments-CANj0QVc.js"),i=require("../../InvoiceSummary.vue.es-BWYIHezU.js"),r=require("../../Section.vue.es-CAJvEDn6.js"),l=require("../../customElements-DD7bpqkx.js"),c=require("../../ContentWithAsideLayout-DHpnJfGA.js"),s=require("../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js"),u=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),d=require("../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js"),p=require("../../usePaymentMethodAvailability-B3s1lqQ2.js"),m=require("../../customer.es-D42Md24r.js"),y=require("../../useLoadInitialData-u7IyXqb6.js"),v=require("../../usePaymentMethodOptions--8QpMvNm.js"),f=require("../../usePaymentMethods-DvEnJWmB.js"),h=require("../../component-hDuDTBt5.js"),g={class:"flex items-center gap-1 border-0 py-0"},_=["id","name","disabled","value"],b=["for"],k=e.defineComponent({__name:"Checkbox",props:{modelValue:{type:Boolean},label:{},id:{},name:{},value:{},disabled:{type:Boolean},size:{default:"md"}},setup(t){const n=t,o=a.useVModel(n,"modelValue"),i={sm:"size-2",md:"size-4"},r=e.computed(()=>i[n.size]),l={sm:"text-xs",md:"text-sm"},c=e.computed(()=>l[n.size]);return(n,a)=>(e.openBlock(),e.createElementBlock("label",g,[e.withDirectives(e.createElementVNode("input",e.mergeProps({id:t.id},n.$attrs,{"onUpdate:modelValue":a[0]||(a[0]=t=>e.isRef(o)?o.value=t:null),name:t.name,disabled:t.disabled,value:t.value,type:"checkbox",class:["rounded checked:bg-primary-600 checked:hover:bg-primary-700",{"border border-gray-300 checked:border-gray-300 checked:bg-gray-400 checked:hover:bg-gray-500":t.disabled,"bg-gray-100":t.disabled&&!e.unref(o),"bg-gray-300 text-primary-600":!t.disabled&&e.unref(o),"cursor-pointer":!t.disabled,[r.value]:!0}],onClickCapture:a[1]||(a[1]=e.withModifiers(()=>{},["stop"]))}),null,16,_),[[e.vModelCheckbox,e.unref(o)]]),e.createElementVNode("span",{for:t.id,class:e.normalizeClass(["leading-tight",{[c.value]:!0}])},e.toDisplayString(t.label),11,b)]))}}),w=e.defineComponent({__name:"PayButton",props:{amount:{type:Object},paymentMethod:{type:Object},type:{type:String},intent:{type:String},size:{type:String},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{type:null},iconSuffix:{type:null},tag:{type:String},preventDoubleClick:{type:Boolean}},emits:["click"],setup(a){const o=a,{$t:i}=l.useIntl(),r=e.computed(()=>({intent:o.intent??"primary",disabled:o.disabled,iconPrefix:o.iconPrefix,iconSuffix:o.iconSuffix,loading:o.loading,pill:o.pill,size:o.size??"lg",square:o.square,tag:o.tag,type:o.type})),c=e.computed(()=>{var t,n,a;switch(null==(t=o.paymentMethod)?void 0:t.paymentMethodType){case"scheme":return"Credit Card";case"applepay":return"Apple Pay";case"googlepay":return"Google Pay";case"paypal":return"PayPal";case"ideal":return"iDeal";case"klarna":return"Klarna";case"bcmc":return"BCMC";case"sepadirectdebit":return"SEPA";case"twint":return"Twint";case"swish":return"Swish";case"vipps":return"Vipps";case"mbway":return"MBway";case"alipay":return"AliPay";case"wechatpayWeb":return"WeChatPay";case"afterpay_default":return"Afterpay";case"affirm":return"Affirm";case"ach":return"ACH";case"blik":return"Blik";case"cashapp":return"Cash App Pay";case"amazonpay":return"Amazon Pay";case"venmo":return"Venmo";case"clicktopay":return"Click to Pay";case"upi":return"UPI";case"revolutpay":return"Revolut Pay";case"ratepay":return"Ratepay";case"walley":return"Walley";case"alma":return"Alma";case"facilypay_3x":case"facilypay_4x":return"Oney";case"samsungpay":return"Samsung Pay";case"bizum":return"Bizum";case"pix":return"Pix";case"multibanco":return"Multibanco";case"openbanking_UK":return"Open Banking";default:return(null==(n=o.paymentMethod)?void 0:n.paymentMethodType)?e.capitalize(null==(a=o.paymentMethod)?void 0:a.paymentMethodType):""}}),s=e.computed(()=>o.amount&&o.paymentMethod?i({defaultMessage:"Pay {amount} with {type}",id:"pay_button.label.amount_and_payment_method",description:"The label for the pay button when both the amount and the payment method are known"},{amount:t.formatAmount(o.amount),type:c.value}):o.amount?i({defaultMessage:"Pay {amount}",id:"pay_button.label.amount_only",description:"The label for the pay button when only the amount is known"},{amount:t.formatAmount(o.amount),type:c.value}):i({defaultMessage:"Pay",id:"pay_button.label.default",description:"The default label for the pay button when no amount and payment method are known"}));return(t,a)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),e.mergeProps(r.value,{class:"w-full",onClick:a[0]||(a[0]=e=>t.$emit("click",e))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value),1)]),_:1},16))}}),C={class:"mt-4"},S={key:0},x=e.defineComponent({__name:"PayInvoice",props:{invoice:{type:Object},paymentMethodOptions:{type:Array},paymentAttempts:{default:()=>[],type:Array},countryCode:{type:String},amount:{type:Object},downloadService:{type:Function},configuration:{type:Object},isLoading:{type:Boolean},error:{type:null}},setup(a){const{$t:m}=l.useIntl(),y=a,{availability:v}=p.usePaymentMethodAvailability({paymentMethodOptions:()=>y.paymentMethodOptions,isLoading:()=>y.isLoading,context:()=>{var e;return{invoiceId:null==(e=y.invoice)?void 0:e.id}}}),f=e.ref(),h=e.ref(!0),g=e.ref(),_=e.ref(!1);function b(){if(!g.value)throw new Error("payment integration form not found");_.value=!0,g.value.submit()}const x=()=>{y.configuration.onPaymentSuccess&&y.configuration.onPaymentSuccess()},P=()=>{_.value=!1};return(y,B)=>(e.openBlock(),e.createBlock(e.unref(c.ContentWithAsideLayout),null,{header:e.withCtx(()=>[e.createVNode(u._sfc_main,{class:"min-h-[52px] w-96"},{default:e.withCtx(()=>[a.invoice&&a.downloadService?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,invoice:a.invoice,"payment-attempts":a.paymentAttempts,"download-service":()=>a.downloadService(a.invoice.id)},null,8,["invoice","payment-attempts","download-service"])):e.createCommentVNode("",!0)]),_:1})]),content:e.withCtx(()=>{var o,i;return[a.isLoading?(e.openBlock(),e.createBlock(u._sfc_main,{key:0,variant:"section",class:"min-h-[300px]"})):e.createCommentVNode("",!0),(null==(o=a.invoice)?void 0:o.paid)?(e.openBlock(),e.createBlock(d._sfc_main,{key:1,status:"success",title:e.unref(m)({id:"pay_invoice.paid.title",defaultMessage:"Thank you for your payment!",description:"Title shown when the invoice has already been paid"}),class:"mt-8"},{default:e.withCtx(()=>[e.createVNode(e.unref(l._sfc_main),{variant:"body-sm",class:"mt-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(n._sfc_main),{icon:"check"}),e.createTextVNode(e.toDisplayString(e.unref(t.formatAmount)(a.invoice.tax_summary.total_amount)),1)]),_:1})]),_:1},8,["title"])):a.error?(e.openBlock(),e.createBlock(d._sfc_main,{key:2,status:"error",title:e.unref(m)({id:"pay_invoice.error.title",defaultMessage:"Something went wrong",description:"Title shown when the invoice payment fails to load"})},{default:e.withCtx(()=>[e.createVNode(e.unref(l._sfc_main),{variant:"body-sm",class:"mt-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)({id:"pay_invoice.error.description",defaultMessage:"Please try again or contact support.",description:"Body text shown when the invoice payment fails to load"})),1)]),_:1})]),_:1},8,["title"])):!a.isLoading&&a.countryCode&&a.amount&&a.invoice?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},["READY"===e.unref(v)?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:0,title:e.unref(m)({id:"pay_invoice.payment_methods.title",defaultMessage:"Payment methods",description:"Section title for the payment method selector on the pay invoice screen"}),"content-background":"none","no-border":"","no-spacing":""},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"pointer-events-none opacity-60":_.value})},[e.createVNode(s._sfc_main,{ref_key:"paymentIntegrationFormRef",ref:g,amount:a.amount,"country-code":a.countryCode,context:{type:"INVOICE",related_resource_ids:[{type:"INVOICE",id:a.invoice.id}]},"customer-id":a.invoice.customer.id,"store-payment-method":h.value,"invoice-id":a.invoice.id,"payment-method-options":a.paymentMethodOptions??[],variant:"AUTHORIZE",onPaymentSuccess:x,onPaymentFailed:P,onSelect:B[0]||(B[0]=e=>f.value=e)},null,8,["amount","country-code","context","customer-id","store-payment-method","invoice-id","payment-method-options"]),e.createElementVNode("div",C,[e.createVNode(e.unref(k),{id:"pay-invoice-store-payment-method",modelValue:h.value,"onUpdate:modelValue":B[1]||(B[1]=e=>h.value=e),label:e.unref(m)({id:"pay_invoice.store_payment_method.label",defaultMessage:"Save this payment method for future payments",description:"Label of the checkbox that stores the payment method while paying an invoice"})},null,8,["modelValue","label"])])],2)]),_:1},8,["title"])):(e.openBlock(),e.createBlock(p._sfc_main,{key:1,variant:"AUTHORIZE","seller-name":null==(i=a.invoice.billing_entity)?void 0:i.legal_name},{default:e.withCtx(()=>[a.downloadService?(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),{key:0,type:"button",intent:"secondary",onClick:B[2]||(B[2]=()=>{var e;return null==(e=a.downloadService)?void 0:e.call(a,a.invoice.id)})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)({defaultMessage:"Download invoice",description:"Button that downloads the invoice when it cannot be paid online",id:"pay_invoice.unavailable.download_invoice"})),1)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["seller-name"]))],64)):e.createCommentVNode("",!0)]}),aside:e.withCtx(()=>[e.createVNode(u._sfc_main,{variant:"section",class:"min-h-[200px]"},{default:e.withCtx(()=>[a.invoice?(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{key:0,invoice:a.invoice},null,8,["invoice"])):e.createCommentVNode("",!0)]),_:1}),a.invoice&&"READY"===e.unref(v)?(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(w,{disabled:!f.value||_.value,loading:_.value,amount:a.amount,"payment-method":f.value,onClick:b},null,8,["disabled","loading","amount","payment-method"])])):e.createCommentVNode("",!0)]),_:1}))}}),P=e.defineComponent({__name:"PayInvoice.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const n=t,{invoice:a,get:i,downloadInvoicePdf:r}=o.useInvoice({invoiceId:n.configuration.invoiceId}),{payments:l,get:c}=o.usePayments(),{fetchInitial:s}=f.usePaymentMethods({customerId:n.portalObject.customer_id}),{paymentMethodOptions:u,get:d}=v.usePaymentMethodOptions(),{isLoading:p}=y.useLoadInitialData((async()=>{const e=await i();await d({customerId:e.customer.id,amount:e.open_invoice_amount})})(),s(),c(n.configuration.invoiceId)),h=e.computed(()=>{var e;return(null==(e=a.value)?void 0:e.customer)?m.getCustomerCountry(a.value.customer):void 0});return(t,n)=>{var o;return e.renderSlot(t.$slots,"default",{invoice:e.unref(a),isLoading:e.unref(p),amount:null==(o=e.unref(a))?void 0:o.open_invoice_amount,countryCode:h.value,paymentMethodOptions:e.unref(u),paymentAttempts:e.unref(l),downloadService:e.unref(r)})}}}),B=e.defineComponent({__name:"PayInvoice.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const n=h.getComponentName("pay-invoice");return(a,o)=>(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{entry:a.$props,"component-name":e.unref(n),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=e=>a.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(P,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({invoice:n,isLoading:a,amount:o,countryCode:i,paymentMethodOptions:r,paymentAttempts:l,downloadService:c})=>[e.createVNode(x,{"is-loading":a,invoice:n,amount:o,"country-code":i,"payment-method-options":r,configuration:t.configuration,"payment-attempts":l??[],"download-service":c},null,8,["is-loading","invoice","amount","country-code","payment-method-options","configuration","payment-attempts","download-service"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:M}=l.createSolvimonElement(B,"pay-invoice");exports.defineSolvimonPayInvoice=M;
|