@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,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, renderSlot, createElementBlock, unref, withModifiers, normalizeClass, createCommentVNode, createSlots, normalizeProps, mergeProps, createVNode, createTextVNode, toDisplayString, Fragment, renderList, TransitionGroup, Comment, inject,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, renderSlot, createElementBlock, unref, withModifiers, normalizeClass, createCommentVNode, createSlots, normalizeProps, mergeProps, createVNode, createTextVNode, toDisplayString, Fragment, renderList, TransitionGroup, Comment, inject, onMounted, Teleport, ref, computed, createElementVNode, Transition, normalizeStyle, useSlots } from "vue";
|
|
2
2
|
import { _ as _export_sfc, u as useFloating, a as autoUpdate, o as offset, f as flip } from "./floating-ui.vue.es-DWY7pdz8.mjs";
|
|
3
|
-
import { _ as _sfc_main$b, j as getPortalInjectKey, D as DROPDOWN_PORTAL_NAME } from "./customElements-
|
|
4
|
-
import { _ as _sfc_main$c, a as _sfc_main$f } from "./Button.vue.es-
|
|
5
|
-
import { _ as _sfc_main$d } from "./DividerText.vue.es-
|
|
3
|
+
import { _ as _sfc_main$b, j as getPortalInjectKey, D as DROPDOWN_PORTAL_NAME } from "./customElements-B-89a5oH.mjs";
|
|
4
|
+
import { _ as _sfc_main$c, a as _sfc_main$f } from "./Button.vue.es-Cm9pLU9i.mjs";
|
|
5
|
+
import { _ as _sfc_main$d } from "./DividerText.vue.es-CeAHAe_Y.mjs";
|
|
6
6
|
import { _ as _sfc_main$e } from "./Divider.vue.es-wKkIVBgb.mjs";
|
|
7
|
-
import { e as onClickOutside, o as onKeyStroke } from "./index.es-
|
|
7
|
+
import { e as onClickOutside, o as onKeyStroke } from "./index.es-D5xOw_SJ.mjs";
|
|
8
8
|
import { p as pick } from "./object.es-jvvnR8Kr.mjs";
|
|
9
|
-
import { _ as _sfc_main$g } from "./Chip.vue.es-
|
|
9
|
+
import { _ as _sfc_main$g } from "./Chip.vue.es-BBmn-qJp.mjs";
|
|
10
10
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "FullClickableBlock",
|
|
12
12
|
props: {
|
|
@@ -47,9 +47,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
tag: "li",
|
|
48
48
|
class: normalizeClass(["w-full border-b border-gray-200 px-4 py-2 transition-colors", {
|
|
49
49
|
block: !__props.disabled && __props.onClick,
|
|
50
|
-
"focus-within:bg-gray-50 focus-within:text-
|
|
50
|
+
"focus-within:bg-gray-50 focus-within:text-default hover:bg-gray-50 hover:text-default": !__props.disabled && __props.onClick && __props.variant !== "danger",
|
|
51
51
|
"text-red-700 focus-within:bg-red-50 focus-within:text-red-700 hover:bg-red-50": !__props.disabled && __props.onClick && __props.variant === "danger",
|
|
52
|
-
"cursor-not-allowed bg-gray-50 text-
|
|
52
|
+
"cursor-not-allowed bg-gray-50 text-disabled": __props.disabled
|
|
53
53
|
}]),
|
|
54
54
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
55
55
|
}, ["stop"]))
|
|
@@ -81,13 +81,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
tag: "span",
|
|
82
82
|
variant: "body-xs",
|
|
83
83
|
class: "mt-0.5 font-normal",
|
|
84
|
-
|
|
84
|
+
color: __props.disabled ? "inherit" : "secondary"
|
|
85
85
|
}, {
|
|
86
86
|
default: withCtx(() => [
|
|
87
87
|
renderSlot(_ctx.$slots, "description")
|
|
88
88
|
]),
|
|
89
89
|
_: 3
|
|
90
|
-
}, 8, ["
|
|
90
|
+
}, 8, ["color"])) : createCommentVNode("", true)
|
|
91
91
|
]),
|
|
92
92
|
_: 3
|
|
93
93
|
}, 8, ["class"]);
|
|
@@ -122,7 +122,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
122
122
|
__props.labelPrefixComponent ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelPrefixComponent.component), normalizeProps(mergeProps({ key: 0 }, __props.labelPrefixComponent.props)), null, 16)) : createCommentVNode("", true),
|
|
123
123
|
createVNode(unref(_sfc_main$b), {
|
|
124
124
|
tag: "span",
|
|
125
|
-
variant: "body-sm"
|
|
125
|
+
variant: "body-sm",
|
|
126
|
+
color: "inherit"
|
|
126
127
|
}, {
|
|
127
128
|
default: withCtx(() => [
|
|
128
129
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
@@ -380,7 +381,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
380
381
|
},
|
|
381
382
|
setup(__props) {
|
|
382
383
|
const props = __props;
|
|
383
|
-
const injectedTargetRef = props.to ? inject(getPortalInjectKey(props.to),
|
|
384
|
+
const injectedTargetRef = props.to ? inject(getPortalInjectKey(props.to), null) : null;
|
|
385
|
+
const hasInjectedTarget = injectedTargetRef !== null;
|
|
384
386
|
onMounted(() => {
|
|
385
387
|
if (props.name || props.to) return;
|
|
386
388
|
throw new Error("Define either the `to` or the `name` prop.");
|
|
@@ -389,13 +391,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
389
391
|
return __props.name ? (openBlock(), createElementBlock("div", {
|
|
390
392
|
key: 0,
|
|
391
393
|
id: `portal-${__props.name}`
|
|
392
|
-
}, null, 8, _hoisted_1$2)) : __props.to && unref(injectedTargetRef) ? (openBlock(), createBlock(Teleport, {
|
|
394
|
+
}, null, 8, _hoisted_1$2)) : __props.to && hasInjectedTarget && unref(injectedTargetRef) ? (openBlock(), createBlock(Teleport, {
|
|
393
395
|
key: 1,
|
|
394
396
|
to: unref(injectedTargetRef),
|
|
395
397
|
disabled: __props.disabled
|
|
396
398
|
}, [
|
|
397
399
|
renderSlot(_ctx.$slots, "default")
|
|
398
|
-
], 8, ["to", "disabled"])) : __props.to ? (openBlock(), createBlock(Teleport, {
|
|
400
|
+
], 8, ["to", "disabled"])) : __props.to && !hasInjectedTarget ? (openBlock(), createBlock(Teleport, {
|
|
399
401
|
key: 2,
|
|
400
402
|
to: `#portal-${__props.to}`,
|
|
401
403
|
disabled: __props.disabled
|
|
@@ -538,7 +540,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
538
540
|
setup(__props) {
|
|
539
541
|
return (_ctx, _cache) => {
|
|
540
542
|
return openBlock(), createElementBlock("ul", {
|
|
541
|
-
class: normalizeClass(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium
|
|
543
|
+
class: normalizeClass(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium", {
|
|
542
544
|
"w-48": __props.width === "default",
|
|
543
545
|
"w-64": __props.width === "wide"
|
|
544
546
|
}])
|
|
@@ -558,7 +560,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
558
560
|
square: { type: Boolean, default: false },
|
|
559
561
|
outlined: { type: Boolean },
|
|
560
562
|
width: {},
|
|
561
|
-
disabled: { type: Boolean },
|
|
563
|
+
disabled: { type: Boolean, default: void 0 },
|
|
562
564
|
isPortalDisabled: { type: Boolean },
|
|
563
565
|
triggerSize: { default: "sm" },
|
|
564
566
|
dropdownClass: {},
|
|
@@ -570,9 +572,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
570
572
|
const appliedDisabled = computed(
|
|
571
573
|
() => {
|
|
572
574
|
var _a, _b;
|
|
573
|
-
return props.disabled
|
|
575
|
+
return props.disabled ?? (((_b = ((_a = props.items) == null ? void 0 : _a.flatMap(
|
|
574
576
|
(item) => item !== "divider" && "items" in item ? item.items : item
|
|
575
|
-
)) ?? []) == null ? void 0 : _b.filter((item) => item !== "divider").every((item) => item.disabled)) && !slots.default;
|
|
577
|
+
)) ?? []) == null ? void 0 : _b.filter((item) => item !== "divider").every((item) => item.disabled)) && !slots.default);
|
|
576
578
|
}
|
|
577
579
|
);
|
|
578
580
|
const countActiveItems = (items) => (items ?? []).reduce((count, item) => {
|
|
@@ -601,16 +603,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
601
603
|
type: "button",
|
|
602
604
|
pill: !__props.square,
|
|
603
605
|
square: "",
|
|
604
|
-
|
|
605
|
-
variant: "outline",
|
|
606
|
+
intent: __props.outlined ? "secondary" : "subtle",
|
|
606
607
|
size: __props.triggerSize,
|
|
607
|
-
class: normalizeClass({ "border-none": !__props.outlined }),
|
|
608
608
|
"data-testid": "context-menu",
|
|
609
609
|
disabled: appliedDisabled.value,
|
|
610
610
|
"icon-prefix": __props.icon,
|
|
611
611
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
612
612
|
}, ["stop"]))
|
|
613
|
-
}, null, 8, ["pill", "
|
|
613
|
+
}, null, 8, ["pill", "intent", "size", "disabled", "icon-prefix"])
|
|
614
614
|
])
|
|
615
615
|
]),
|
|
616
616
|
default: withCtx(() => [
|
|
@@ -661,7 +661,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
661
661
|
__props.showActiveCount && activeCount.value > 0 ? (openBlock(), createBlock(unref(_sfc_main$g), {
|
|
662
662
|
key: 0,
|
|
663
663
|
size: "xs",
|
|
664
|
-
|
|
664
|
+
intent: "brand",
|
|
665
665
|
class: "pointer-events-none absolute -right-1.5 -top-1.5",
|
|
666
666
|
"data-testid": "context-menu-active-count"
|
|
667
667
|
}, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),t=require("./floating-ui.vue.es-Bv94BfDm.js"),o=require("./customElements-DD7bpqkx.js"),l=require("./Button.vue.es-O8mNivLL.js"),n=require("./DividerText.vue.es-DjT4i_YD.js"),a=require("./Divider.vue.es-ClFG8QtG.js"),r=require("./index.es-2JWHHSgP.js"),i=require("./object.es-DFXiU9p3.js"),s=require("./Chip.vue.es-DmCjC1hi.js"),d=e.defineComponent({__name:"FullClickableBlock",props:{tag:{default:"div"}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"relative"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}),c={},u={class:"appearance-none after:absolute after:inset-0"};const p=t._export_sfc(c,[["render",function(t,o){return e.openBlock(),e.createElementBlock("button",u,[e.renderSlot(t.$slots,"default")])}]]),f={key:0},m={key:1},k=e.defineComponent({__name:"ListGroupItem",props:{disabled:{type:Boolean,default:!1},onClick:{},dataTestid:{},variant:{}},setup:t=>(l,n)=>(e.openBlock(),e.createBlock(e.unref(d),{tag:"li",class:e.normalizeClass(["w-full border-b border-gray-200 px-4 py-2 transition-colors",{block:!t.disabled&&t.onClick,"focus-within:bg-gray-50 focus-within:text-default hover:bg-gray-50 hover:text-default":!t.disabled&&t.onClick&&"danger"!==t.variant,"text-red-700 focus-within:bg-red-50 focus-within:text-red-700 hover:bg-red-50":!t.disabled&&t.onClick&&"danger"===t.variant,"cursor-not-allowed bg-gray-50 text-disabled":t.disabled}]),onClick:n[1]||(n[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.onClick?e.unref(p):"span"),{class:"flex w-full items-start gap-2 text-left focus:outline-none active:outline-none",disabled:t.onClick?t.disabled:void 0,type:t.onClick?"button":void 0,"data-testid":t.dataTestid,onClick:n[0]||(n[0]=e=>{var o;return null==(o=t.onClick)?void 0:o.call(t)})},{default:e.withCtx(()=>[l.$slots.prefix?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(l.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default"),l.$slots.suffix?(e.openBlock(),e.createElementBlock("div",m,[e.renderSlot(l.$slots,"suffix")])):e.createCommentVNode("",!0)]),_:3},8,["disabled","type","data-testid"])),l.$slots.description?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,tag:"span",variant:"body-xs",class:"mt-0.5 font-normal",color:t.disabled?"inherit":"secondary"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"description")]),_:3},8,["color"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}),v=e.defineComponent({__name:"ContextMenuItem",props:{icon:{},label:{},description:{},labelSuffixComponent:{},labelPrefixComponent:{},onClick:{type:Function},classes:{},variant:{},testId:{},disabled:{type:Boolean},active:{type:Boolean}},setup:t=>(n,a)=>(e.openBlock(),e.createBlock(e.unref(k),{class:e.normalizeClass(["border-none",{[`${t.classes}`]:!!t.classes,"bg-primary-50 text-primary-700":t.active}]),"data-testid":t.testId,disabled:t.disabled,variant:t.variant,onClick:t.onClick},e.createSlots({default:e.withCtx(()=>[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createVNode(e.unref(o._sfc_main),{tag:"span",variant:"body-sm",color:"inherit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1}),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.mergeProps({key:1},t.labelSuffixComponent.props,{class:"ml-2"}),null,16)):e.createCommentVNode("",!0)]),_:2},[t.icon?{name:"prefix",fn:e.withCtx(()=>[e.createVNode(e.unref(l._sfc_main),{icon:t.icon},null,8,["icon"])]),key:"0"}:void 0,t.description?{name:"description",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.description),1)]),key:"1"}:void 0]),1032,["class","data-testid","disabled","variant","onClick"]))}),b=e.defineComponent({__name:"ContextMenuGroup",props:{label:{},items:{}},setup:t=>(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(n._sfc_main),{"has-outer-divider":""},{default:e.withCtx(()=>[e.createVNode(e.unref(o._sfc_main),{class:"py-2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},["divider"===t?(e.openBlock(),e.createBlock(e.unref(a._sfc_main),{key:0})):t.label?(e.openBlock(),e.createBlock(v,{key:1,label:t.label,"on-click":t.onClick,icon:t.icon,variant:t.variant,classes:t.classes,"label-suffix-component":t.labelSuffixComponent,"label-prefix-component":t.labelPrefixComponent,disabled:t.disabled,active:t.active},null,8,["label","on-click","icon","variant","classes","label-suffix-component","label-prefix-component","disabled","active"])):e.createCommentVNode("",!0)],64))),128))],64))}),C={};const h=t._export_sfc(C,[["render",function(t,o){return e.openBlock(),e.createBlock(e.TransitionGroup,{"enter-active-class":"duration-100 ease-out transform-gpu","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-100 ease-in transform-gpu","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})}]]),x=(t,o=!0,l=[])=>(t.forEach(t=>{if(null!==t)if("object"==typeof t)if(Array.isArray(t))x(t,o,l);else if(t.type===e.Fragment){if(null===t.children)return;Array.isArray(t.children)&&x(t.children,o,l)}else t.type!==e.Comment&&l.push(t);else"string"!=typeof t&&"number"!=typeof t||l.push(e.createTextVNode(String(t)))}),l),y={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};const B=e.defineComponent({name:"SlotListener",props:{trigger:{type:String,default:"click"}},emits:["click","focus","blur","mouseenter","mouseleave"],setup:(e,{emit:t})=>({handleClick:e=>{t("click",e)},handleBlur:e=>{t("blur",e)},handleFocus:e=>{t("focus",e)},handleMouseLeave:e=>{t("mouseleave",e)},handleMouseEnter:e=>{t("mouseenter",e)}}),render(){const{$slots:e}=this,t={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},o=((e,t="default",o)=>{const l=e[t];if(!l)return null;const n=x(l(o));return 1===n.length?n[0]:null})(e,"default"),l=[t];(null==o?void 0:o.props)&&l.push(i.pick(o.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur"));var n,a;return o&&(n=o,a={onBlur:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onBlur)||o.call(t,e)})},onFocus:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onFocus)||o.call(t,e)})},onClick:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onClick)||o.call(t,e)})},onMouseenter:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseenter)||o.call(t,e)})},onMouseleave:e=>{l.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseleave)||o.call(t,e)})}},Object.entries(y).forEach(([,e])=>{e.forEach(e=>{n.props?n.props=Object.assign({},n.props):n.props={};const t=n.props[e],o=a[e];n.props[e]=t?(...e)=>{t(...e),o(...e)}:o})})),o}}),g=["id"],_=e.defineComponent({__name:"Portal",props:{to:{},name:{},disabled:{type:Boolean}},setup(t){const l=t,n=l.to?e.inject(o.getPortalInjectKey(l.to),null):null,a=null!==n;return e.onMounted(()=>{if(!l.name&&!l.to)throw new Error("Define either the `to` or the `name` prop.")}),(o,l)=>t.name?(e.openBlock(),e.createElementBlock("div",{key:0,id:`portal-${t.name}`},null,8,g)):t.to&&a&&e.unref(n)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(n),disabled:t.disabled},[e.renderSlot(o.$slots,"default")],8,["to","disabled"])):t.to&&!a?(e.openBlock(),e.createBlock(e.Teleport,{key:2,to:`#portal-${t.to}`,disabled:t.disabled},[e.renderSlot(o.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),w={class:"inline-flex items-center"},S=e.defineComponent({__name:"Dropdown",props:{placement:{default:"bottom-end"},text:{default:""},transition:{default:""},offset:{default:8},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},dropdownClass:{}},setup(n){const a=n,i=e.ref(!1),s=()=>i.value=!1,d=()=>{a.disabled||(i.value=!i.value)},c={bottom:"to-bottom","bottom-start":"to-bottom","bottom-end":"to-bottom",left:"to-left","left-start":"to-left","left-end":"to-left",right:"to-right","right-start":"to-right","right-end":"to-right",top:"to-top","top-start":"to-top","top-end":"to-top"},u=e.ref(),p=e.ref(),f=e.ref(),m=e.computed(()=>null===a.transition?c[a.placement]:a.transition),{floatingStyles:k}=t.useFloating(f,p,{whileElementsMounted:t.autoUpdate,placement:a.placement,middleware:[t.offset(a.offset),t.flip()]});return r.onClickOutside(f,()=>{i.value&&(i.value=!1)}),r.onKeyStroke("Escape",()=>{i.value=!1}),(t,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:f,class:"relative inline-flex"},[e.createElementVNode("div",w,[e.createVNode(e.unref(B),{onClick:d},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"trigger",{visible:i.value},()=>[e.createVNode(e.unref(l._sfc_main$1),{ref_key:"trigger",ref:u},{suffix:e.withCtx(()=>[...a[0]||(a[0]=[e.createElementVNode("svg",{class:"ml-2 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)])]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.text)+" ",1)]),_:1},512)],!0)]),_:3})]),e.createVNode(e.unref(_),{to:e.unref(o.DROPDOWN_PORTAL_NAME),disabled:n.isPortalDisabled},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:m.value},{default:e.withCtx(()=>[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"content",ref:p,style:e.normalizeStyle(e.unref(k)),class:e.normalizeClass(["z-60 divide-y divide-gray-100 rounded bg-white shadow",n.dropdownClass])},[e.createVNode(e.unref(B),{onClick:s},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]),_:3},8,["to","disabled"])],512))}}),N=t._export_sfc(S,[["__scopeId","data-v-c0f85806"]]),V=e.defineComponent({__name:"ListGroup",props:{width:{default:"default"}},setup:t=>(o,l)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium",{"w-48":"default"===t.width,"w-64":"wide"===t.width}])},[e.renderSlot(o.$slots,"default")],2))}),E={class:"relative inline-flex"},$=e.defineComponent({inheritAttrs:!1,__name:"ContextMenu",props:{items:{},icon:{default:"more_vert"},square:{type:Boolean,default:!1},outlined:{type:Boolean},width:{},disabled:{type:Boolean,default:void 0},isPortalDisabled:{type:Boolean},triggerSize:{default:"sm"},dropdownClass:{},showActiveCount:{type:Boolean,default:!0}},setup(t){const o=t,n=e.useSlots(),r=e.computed(()=>{var e,t;return o.disabled??((null==(t=(null==(e=o.items)?void 0:e.flatMap(e=>"divider"!==e&&"items"in e?e.items:e))??[])?void 0:t.filter(e=>"divider"!==e).every(e=>e.disabled))&&!n.default)}),i=e=>(e??[]).reduce((e,t)=>"divider"===t?e:"items"in t?e+i(t.items):e+(t.active?1:0),0),d=e.computed(()=>i(o.items));return(o,n)=>(e.openBlock(),e.createElementBlock("div",E,[e.createVNode(e.unref(h),null,{default:e.withCtx(()=>{var i;return[(null==(i=t.items)?void 0:i.length)||o.$slots.default||t.disabled?(e.openBlock(),e.createBlock(e.unref(N),e.mergeProps({key:0,"is-portal-disabled":r.value},o.$attrs,{"dropdown-class":t.dropdownClass}),{trigger:e.withCtx(({visible:a})=>[e.renderSlot(o.$slots,"trigger",{visible:a},()=>[e.createVNode(e.unref(l._sfc_main$1),{type:"button",pill:!t.square,square:"",intent:t.outlined?"secondary":"subtle",size:t.triggerSize,"data-testid":"context-menu",disabled:r.value,"icon-prefix":t.icon,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"]))},null,8,["pill","intent","size","disabled","icon-prefix"])])]),default:e.withCtx(()=>[t.items||o.$slots.default?(e.openBlock(),e.createBlock(e.unref(V),{key:0,width:t.width,class:"z-60 p-0.5"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"header"),t.items?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.items,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},["divider"===o&&l<t.items.length-1?(e.openBlock(),e.createBlock(e.unref(a._sfc_main),{key:0,spacing:"none"})):"divider"===o||"items"in o?"divider"!==o?(e.openBlock(),e.createBlock(b,{key:2,class:"rounded-sm",label:o.label,items:o.items},null,8,["label","items"])):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(v,{key:1,label:o.label,variant:o.variant,icon:o.icon,"label-suffix-component":o.labelSuffixComponent,"label-prefix-component":o.labelPrefixComponent,description:o.description,classes:o.classes,"test-id":o.testId,disabled:o.disabled,active:o.active,onClick:o.onClick},null,8,["label","variant","icon","label-suffix-component","label-prefix-component","description","classes","test-id","disabled","active","onClick"]))],64))),128)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")]),_:3},8,["width"])):e.createCommentVNode("",!0)]),_:3},16,["is-portal-disabled","dropdown-class"])):e.createCommentVNode("",!0)]}),_:3}),t.showActiveCount&&d.value>0?(e.openBlock(),e.createBlock(e.unref(s._sfc_main),{key:0,size:"xs",intent:"brand",class:"pointer-events-none absolute -right-1.5 -top-1.5","data-testid":"context-menu-active-count"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.value),1)]),_:1})):e.createCommentVNode("",!0)]))}});exports.Fade=h,exports._sfc_main=_,exports._sfc_main$1=$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./customElements-
|
|
1
|
+
const e=require("vue"),t=require("./customElements-DD7bpqkx.js"),i=require("./Section.vue.es-CAJvEDn6.js"),o=require("./getCountryNameByCode.es-fP52nO_7.js"),n=require("./customer.es-D42Md24r.js"),a=require("./typeGuards.es-C4nR5FkL.js"),r=["US","CA"];function l(e){if(r.includes(e.country)){const t=s([e.line1,e.line2],", "),i=s([e.state,e.postal_code]," "),n=o.getCountryNameByCode(e.country);return s([t,e.city,i,n],", ")}const t=s([e.line1,e.line2]," "),i=s([e.postal_code,e.city]," "),n=o.getCountryNameByCode(e.country);return s([t,i,e.state,n],", ")}function s(e,t){return e.filter(Boolean).join(t)}const c={key:0,class:"flex flex-col gap-2"},d={key:0},u={key:1},m={key:2},f={key:3},_={key:1},g=e.defineComponent({__name:"CustomerBillingInformation",props:{customer:{},title:{},fallbackToReference:{type:Boolean,default:!0}},setup(o){const{$t:r}=t.useIntl(),s=o,g=e.computed(()=>{if(!s.customer)return;const e=n.getCustomerName(s.customer);return s.fallbackToReference&&""===e?s.customer.reference:s.fallbackToReference||""!==e?e:void 0}),p=e.computed(()=>s.title||r({defaultMessage:"Billing information",description:"Title for the billing information",id:"customer_billing_information.title"})),b=e.computed(()=>{if(s.customer)return"individual"in s.customer?s.customer.individual.residential_address:"organization"in s.customer?s.customer.organization.registered_address:void 0});return(n,s)=>(e.openBlock(),e.createBlock(i._sfc_main,{title:p.value},{right:e.withCtx(()=>[e.renderSlot(n.$slots,"settings")]),default:e.withCtx(()=>{var i;return[o.customer?(e.openBlock(),e.createElementBlock("div",c,[g.value?(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(t._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Name",description:"The label for the customer name in the billing information",id:"customer_billing_information.name_label"})),1)]),_:1}),e.createVNode(t._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1})])):e.createCommentVNode("",!0),(null==(i=b.value)?void 0:i.line1)?(e.openBlock(),e.createElementBlock("div",u,[e.createVNode(t._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Billing address",description:"The label for the customer billing address in the billing information",id:"customer_billing_information.billing_address_label"})),1)]),_:1}),e.createVNode(t._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)(b.value)),1)]),_:1})])):e.createCommentVNode("",!0),o.customer.email?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(t._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Email address",description:"The label for the customer email address in the billing information",id:"customer_billing_information.email_address_label"})),1)]),_:1}),e.createVNode(t._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.customer.email),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(a.isOrganization)(o.customer)?(e.openBlock(),e.createElementBlock("div",f,[e.createVNode(t._sfc_main,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"VAT number",description:"The label for the customer Vat number in the billing information",id:"customer_billing_information.vat_number_label"})),1)]),_:1}),e.createVNode(t._sfc_main,{variant:"body-xs"},{default:e.withCtx(()=>{var t,i;return[e.createTextVNode(e.toDisplayString(null==(i=null==(t=o.customer.organization.tax_ids)?void 0:t[0])?void 0:i.id),1)]}),_:1})])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",_,[e.createVNode(t._sfc_main,{variant:"body-xs",color:"secondary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"No billing information to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.billing_information.no_billing_information_available"})),1)]),_:1})]))]}),_:3},8,["title"]))}});exports._sfc_main=g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, withCtx, createElementBlock, createVNode, createTextVNode, toDisplayString, unref, createCommentVNode, renderSlot } from "vue";
|
|
2
|
-
import { u as useIntl, _ as _sfc_main$2 } from "./customElements-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./Section.vue.es-
|
|
2
|
+
import { u as useIntl, _ as _sfc_main$2 } from "./customElements-B-89a5oH.mjs";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./Section.vue.es-DX_9ueCG.mjs";
|
|
4
4
|
import { g as getCountryNameByCode } from "./getCountryNameByCode.es-ymC9R46j.mjs";
|
|
5
5
|
import { a as getCustomerName } from "./customer.es-C_vSWcVA.mjs";
|
|
6
6
|
import { a as isOrganization } from "./typeGuards.es-fwUoeMCe.mjs";
|
|
@@ -151,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
151
151
|
])) : (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
152
152
|
createVNode(_sfc_main$2, {
|
|
153
153
|
variant: "body-xs",
|
|
154
|
-
|
|
154
|
+
color: "secondary"
|
|
155
155
|
}, {
|
|
156
156
|
default: withCtx(() => [
|
|
157
157
|
createTextVNode(toDisplayString(unref($t)({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),t=require("./Button.vue.es-O8mNivLL.js"),o=require("./Section.vue.es-CAJvEDn6.js"),n=require("./customElements-DD7bpqkx.js"),a=require("./PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js"),s=require("./Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),i=require("./useActionDispatchProvider-Cv9amjTf.js"),d=require("./configuration-BjYwV4_B.js"),m=e.defineComponent({__name:"CustomerPaymentMethodsBlock",props:{paymentMethods:{type:Array},limit:{default:2,type:Number},isLoading:{type:Boolean},showViewAllButton:{type:Boolean},showAddButton:{type:Boolean}},emits:["view-all-payment-methods","add-payment-method"],setup(s){const i=s,{$t:d}=n.useIntl(),m=e.computed(()=>i.paymentMethods.length>0);return(i,r)=>(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{class:"sv-payment-methods","no-spacing":"","no-border":"",title:e.unref(d)({defaultMessage:"{count, plural, one {Payment method} other {Payment methods}}",description:"Title for the payment methods block on the customer overview page",id:"customer_overview.payment_methods.title"},{count:String(s.paymentMethods.length)})},e.createSlots({default:e.withCtx(()=>[m.value?(e.openBlock(),e.createBlock(a._sfc_main,{key:0,"payment-methods":s.paymentMethods},null,8,["payment-methods"])):(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:1,class:"sv-empty-state sv-payment-methods__empty"},{default:e.withCtx(()=>[e.createVNode(e.unref(n._sfc_main),{variant:"body-sm",color:"subtle","no-spacing":"",class:"sv-payment-methods__empty-message"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Add a payment method for recurring invoice payments.",description:"Helper text for adding a payment method when no payment methods are configured",id:"customer_overview.payment_methods_block.add_payment_method_helper_text"})),1)]),_:1}),s.showAddButton?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{key:0,class:"sv-action sv-action--secondary sv-action--full-width sv-payment-methods__add mt-4 w-full",intent:"secondary","icon-prefix":"add",type:"button",onClick:r[1]||(r[1]=e=>i.$emit("add-payment-method"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Add payment method",description:"Text for the add payment method button that is shown when no payment methods have been configured",id:"customer_overview.payment_methods_block.add_payment_method_button_label"})),1)]),_:1})):e.createCommentVNode("",!0)]),_:1}))]),_:2},[s.showViewAllButton?{name:"right",fn:e.withCtx(()=>[e.createVNode(e.unref(t._sfc_main$1),{size:"sm",intent:"subtle","icon-suffix":"arrow_right_alt",class:"sv-action sv-action--ghost sv-payment-methods__view-all",type:"button",onClick:r[0]||(r[0]=e=>i.$emit("view-all-payment-methods"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"View all",id:"customer_overview.payment_methods_block.view_all_payment_methods_link_label",description:"The link text that links to the overview page of the customer invoices"})),1)]),_:1})]),key:"0"}:void 0]),1032,["title"]))}}),r=e.defineComponent({__name:"CustomerPaymentMethods",props:{isLoading:{type:Boolean},paymentMethods:{type:Array},maxPaymentMethods:{type:Number},configuration:{type:Object}},setup(t){const o={showViewAllButton:!0,showAddButton:!0},n=t,a=e.computed(()=>d.resolveConfiguration(o,n.configuration)),{dispatchAction:r}=i.useActionDispatchProvider();return(o,n)=>t.isLoading?(e.openBlock(),e.createBlock(s._sfc_main,{key:0,variant:"section",class:"sv-payment-methods sv-root sv-component sv-loading h-72","data-testid":"customer-payment-methods-skeleton"})):(e.openBlock(),e.createBlock(m,{key:1,class:"sv-payment-methods sv-root sv-component","is-loading":t.isLoading,"payment-methods":t.paymentMethods,"show-view-all-button":a.value.showViewAllButton,"show-add-button":a.value.showAddButton,onViewAllPaymentMethods:n[0]||(n[0]=t=>e.unref(r)({action:"view-all-payment-methods"})),onAddPaymentMethod:n[1]||(n[1]=t=>e.unref(r)({action:"add-payment-method"}))},null,8,["is-loading","payment-methods","show-view-all-button","show-add-button"]))}});exports._sfc_main=r;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, createSlots, withCtx, createVNode, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { a as _sfc_main$5 } from "./Button.vue.es-
|
|
3
|
-
import { _ as _sfc_main$2 } from "./Section.vue.es-
|
|
4
|
-
import { u as useIntl, _ as _sfc_main$4 } from "./customElements-
|
|
5
|
-
import { _ as _sfc_main$3 } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as _sfc_main$5 } from "./Button.vue.es-Cm9pLU9i.mjs";
|
|
3
|
+
import { _ as _sfc_main$2 } from "./Section.vue.es-DX_9ueCG.mjs";
|
|
4
|
+
import { u as useIntl, _ as _sfc_main$4 } from "./customElements-B-89a5oH.mjs";
|
|
5
|
+
import { _ as _sfc_main$3 } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs";
|
|
6
6
|
import { _ as _sfc_main$6 } from "./Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
|
|
7
|
-
import { u as useActionDispatchProvider } from "./useActionDispatchProvider-
|
|
7
|
+
import { u as useActionDispatchProvider } from "./useActionDispatchProvider-BVOBO0Jx.mjs";
|
|
8
8
|
import { r as resolveConfiguration } from "./configuration-CD8cOXAJ.mjs";
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "CustomerPaymentMethodsBlock",
|
|
@@ -45,7 +45,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
default: withCtx(() => [
|
|
46
46
|
createVNode(unref(_sfc_main$4), {
|
|
47
47
|
variant: "body-sm",
|
|
48
|
-
|
|
48
|
+
color: "subtle",
|
|
49
49
|
"no-spacing": "",
|
|
50
50
|
class: "sv-payment-methods__empty-message"
|
|
51
51
|
}, {
|
|
@@ -61,8 +61,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
__props.showAddButton ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
62
62
|
key: 0,
|
|
63
63
|
class: "sv-action sv-action--secondary sv-action--full-width sv-payment-methods__add mt-4 w-full",
|
|
64
|
-
|
|
65
|
-
color: "gray",
|
|
64
|
+
intent: "secondary",
|
|
66
65
|
"icon-prefix": "add",
|
|
67
66
|
type: "button",
|
|
68
67
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("add-payment-method"))
|
|
@@ -87,8 +86,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
87
86
|
fn: withCtx(() => [
|
|
88
87
|
createVNode(unref(_sfc_main$5), {
|
|
89
88
|
size: "sm",
|
|
90
|
-
|
|
91
|
-
color: "gray",
|
|
89
|
+
intent: "subtle",
|
|
92
90
|
"icon-suffix": "arrow_right_alt",
|
|
93
91
|
class: "sv-action sv-action--ghost sv-payment-methods__view-all",
|
|
94
92
|
type: "button",
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onBeforeUnmount, computed, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, createTextVNode, createElementBlock, unref, createCommentVNode, renderSlot, createSlots, Fragment, renderList, useModel, watch, mergeModels, mergeProps, reactive, normalizeClass, withModifiers, normalizeStyle } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, onBeforeUnmount, computed, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, createTextVNode, createElementBlock, unref, createCommentVNode, renderSlot, createSlots, Fragment, renderList, useModel, watch, isRef, mergeModels, mergeProps, reactive, normalizeClass, withModifiers, normalizeStyle } from "vue";
|
|
2
2
|
import { w as withExpand } from "./api.es-C5pe8LUl.mjs";
|
|
3
|
-
import { u as useIntl, _ as _sfc_main$h, c as createRequestService, a as useConfig, b as useLogger, g as createLatestGuard } from "./customElements-
|
|
3
|
+
import { u as useIntl, _ as _sfc_main$h, c as createRequestService, a as useConfig, b as useLogger, g as createLatestGuard } from "./customElements-B-89a5oH.mjs";
|
|
4
4
|
import { E as EXPAND_ALL } from "./component-BG6DmXcy.mjs";
|
|
5
5
|
import { u as useService } from "./useService-W3Kxems4.mjs";
|
|
6
|
-
import { _ as _sfc_main$w } from "./ErrorNotification.vue.es-
|
|
6
|
+
import { _ as _sfc_main$w } from "./ErrorNotification.vue.es-CHyVTBGs.mjs";
|
|
7
7
|
import { i as isFixedPricing, a as isFlexiblePricing, h as hasOneOfPricingTypes } from "./pricingItemConfigs.es-BPIm6S8M.mjs";
|
|
8
|
-
import { f as formatAmount } from "./formatting.es-
|
|
9
|
-
import { a as _sfc_main$i, _ as _sfc_main$j } from "./Button.vue.es-
|
|
10
|
-
import { _ as _sfc_main$f, T as TooltipContent, a as _sfc_main$g } from "./TooltipParagraph.vue.es-
|
|
11
|
-
import { _ as _sfc_main$k } from "./Section.vue.es-
|
|
8
|
+
import { f as formatAmount } from "./formatting.es-eYgXv_AK.mjs";
|
|
9
|
+
import { a as _sfc_main$i, _ as _sfc_main$j } from "./Button.vue.es-Cm9pLU9i.mjs";
|
|
10
|
+
import { _ as _sfc_main$f, T as TooltipContent, a as _sfc_main$g } from "./TooltipParagraph.vue.es-C5RTcrid.mjs";
|
|
11
|
+
import { _ as _sfc_main$k } from "./Section.vue.es-DX_9ueCG.mjs";
|
|
12
12
|
import { _ as _sfc_main$l } from "./Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
|
|
13
|
-
import { b as _sfc_main$n, a as _sfc_main$r } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { u as useValidation, c as common, _ as _sfc_main$p, a as requiredIf, r as required } from "./index-
|
|
13
|
+
import { b as _sfc_main$n, a as _sfc_main$r } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs";
|
|
14
|
+
import { u as useValidation, c as common, _ as _sfc_main$p, a as requiredIf, r as required } from "./index-Cai7laNY.mjs";
|
|
15
15
|
import { _ as _sfc_main$s } from "./Divider.vue.es-wKkIVBgb.mjs";
|
|
16
16
|
import { _ as _sfc_main$q } from "./Expand.vue.es-C4_XmqbR.mjs";
|
|
17
|
-
import { _ as _sfc_main$m } from "./cn.es-
|
|
18
|
-
import { c as createInvoicesService } from "./invoices-
|
|
17
|
+
import { _ as _sfc_main$m } from "./cn.es-BEU5D0Wz.mjs";
|
|
18
|
+
import { c as createInvoicesService } from "./invoices-1oYkdQQV.mjs";
|
|
19
19
|
import { u as useWatchDebounced } from "./useWatchDebounced-Zmxd6InB.mjs";
|
|
20
|
-
import { _ as _sfc_main$o } from "./Input.vue.es-
|
|
21
|
-
import { _ as _sfc_main$t, a as _sfc_main$u } from "./AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { _ as _sfc_main$v } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { _ as _sfc_main$o } from "./Input.vue.es-WZGF8dfr.mjs";
|
|
21
|
+
import { _ as _sfc_main$t, a as _sfc_main$u } from "./AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs";
|
|
22
|
+
import { _ as _sfc_main$v } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs";
|
|
23
23
|
import { g as getCustomerCountry } from "./customer.es-C_vSWcVA.mjs";
|
|
24
|
-
import { u as usePaymentMethodOptions } from "./usePaymentMethodOptions-
|
|
25
|
-
import { M as Modal } from "./Modal.vue.es-
|
|
24
|
+
import { u as usePaymentMethodOptions } from "./usePaymentMethodOptions-Cljh7HYp.mjs";
|
|
25
|
+
import { M as Modal } from "./Modal.vue.es-qdUHDOnU.mjs";
|
|
26
26
|
const formatWalletBalanceValue = (formatMessage, formatNumber, balanceValue) => {
|
|
27
27
|
var _a, _b, _c, _d, _e, _f;
|
|
28
28
|
if (balanceValue == null ? void 0 : balanceValue.amount) {
|
|
@@ -363,7 +363,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
363
363
|
createElementVNode("div", _hoisted_3$2, [
|
|
364
364
|
createVNode(_sfc_main$h, {
|
|
365
365
|
variant: "body-xs",
|
|
366
|
-
|
|
366
|
+
color: "subtle",
|
|
367
367
|
"no-spacing": ""
|
|
368
368
|
}, {
|
|
369
369
|
default: withCtx(() => [
|
|
@@ -373,7 +373,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
373
373
|
}),
|
|
374
374
|
createVNode(_sfc_main$h, {
|
|
375
375
|
variant: "body-xs",
|
|
376
|
-
|
|
376
|
+
color: "subtle",
|
|
377
377
|
"no-spacing": ""
|
|
378
378
|
}, {
|
|
379
379
|
default: withCtx(() => {
|
|
@@ -408,7 +408,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
408
408
|
unref(showManualTopUp) ? (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
409
409
|
key: 0,
|
|
410
410
|
size: "xs",
|
|
411
|
-
color: "primary",
|
|
412
411
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("top-up", unref(manualTopUpItems)[0]))
|
|
413
412
|
}, {
|
|
414
413
|
default: withCtx(() => [
|
|
@@ -445,7 +444,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
445
444
|
createElementVNode("div", _hoisted_8, [
|
|
446
445
|
createVNode(_sfc_main$h, {
|
|
447
446
|
variant: "body-sm",
|
|
448
|
-
|
|
447
|
+
color: "secondary",
|
|
449
448
|
"no-spacing": "",
|
|
450
449
|
class: "truncate"
|
|
451
450
|
}, {
|
|
@@ -468,8 +467,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
468
467
|
unref(activeTopUpConfig) ? (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
469
468
|
key: 0,
|
|
470
469
|
size: "xs",
|
|
471
|
-
|
|
472
|
-
variant: "outline",
|
|
470
|
+
intent: "secondary",
|
|
473
471
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("cancel-auto-top-up", unref(activeTopUpConfig)))
|
|
474
472
|
}, {
|
|
475
473
|
default: withCtx(() => [
|
|
@@ -483,8 +481,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
483
481
|
})) : (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
484
482
|
key: 1,
|
|
485
483
|
size: "xs",
|
|
486
|
-
|
|
487
|
-
variant: "outline",
|
|
484
|
+
intent: "secondary",
|
|
488
485
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("auto-top-up", unref(flexibleManualTopUpItem)))
|
|
489
486
|
}, {
|
|
490
487
|
default: withCtx(() => [
|
|
@@ -1093,9 +1090,16 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1093
1090
|
});
|
|
1094
1091
|
const formatMoney = (quantity, currency) => formatAmount({ quantity: toMoneyQuantity(quantity), currency });
|
|
1095
1092
|
const formatCredits = (quantity) => `${formatNumber(quantity)} ${creditUnitName.value}`;
|
|
1093
|
+
const hasError = computed(() => {
|
|
1094
|
+
const error = props.error;
|
|
1095
|
+
if (Array.isArray(error)) {
|
|
1096
|
+
return error.length > 0;
|
|
1097
|
+
}
|
|
1098
|
+
return Boolean(isRef(error) ? error.value : error);
|
|
1099
|
+
});
|
|
1096
1100
|
const helperText = computed(() => {
|
|
1097
1101
|
const converted = convertedQuantity.value;
|
|
1098
|
-
if (!props.showConversionHint || converted === void 0) {
|
|
1102
|
+
if (hasError.value || !props.showConversionHint || converted === void 0) {
|
|
1099
1103
|
return void 0;
|
|
1100
1104
|
}
|
|
1101
1105
|
if (entryBase.value === "CREDITS") {
|
|
@@ -1187,7 +1191,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1187
1191
|
createVNode(unref(_sfc_main$h), {
|
|
1188
1192
|
tag: "span",
|
|
1189
1193
|
variant: "body-xs",
|
|
1190
|
-
|
|
1194
|
+
color: "subtle",
|
|
1191
1195
|
"no-spacing": "",
|
|
1192
1196
|
"data-testid": `${__props.name}-bounds`
|
|
1193
1197
|
}, {
|
|
@@ -1205,7 +1209,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1205
1209
|
createVNode(unref(_sfc_main$h), {
|
|
1206
1210
|
tag: "span",
|
|
1207
1211
|
variant: "body-xs",
|
|
1208
|
-
|
|
1212
|
+
color: "subtle",
|
|
1209
1213
|
"no-spacing": "",
|
|
1210
1214
|
"data-testid": `${__props.name}-conversion`
|
|
1211
1215
|
}, {
|
|
@@ -1486,7 +1490,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1486
1490
|
createVNode(unref(_sfc_main$h), {
|
|
1487
1491
|
tag: "span",
|
|
1488
1492
|
variant: "body-xs",
|
|
1489
|
-
|
|
1493
|
+
color: "subtle"
|
|
1490
1494
|
}, {
|
|
1491
1495
|
default: withCtx(() => [
|
|
1492
1496
|
createTextVNode(toDisplayString(unref($t)({
|
|
@@ -1881,7 +1885,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1881
1885
|
key: 0,
|
|
1882
1886
|
tag: "span",
|
|
1883
1887
|
variant: "body-sm",
|
|
1884
|
-
|
|
1888
|
+
color: "subtle",
|
|
1885
1889
|
weight: "normal",
|
|
1886
1890
|
"no-spacing": "",
|
|
1887
1891
|
class: "sv-top-up-form__option-cost"
|
|
@@ -1898,7 +1902,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1898
1902
|
key: 0,
|
|
1899
1903
|
tag: "span",
|
|
1900
1904
|
variant: "body-xs",
|
|
1901
|
-
|
|
1905
|
+
color: "subtle",
|
|
1902
1906
|
"no-spacing": ""
|
|
1903
1907
|
}, {
|
|
1904
1908
|
default: withCtx(() => [
|
|
@@ -1926,7 +1930,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1926
1930
|
key: 0,
|
|
1927
1931
|
tag: "span",
|
|
1928
1932
|
variant: "body-xs",
|
|
1929
|
-
|
|
1933
|
+
color: "subtle",
|
|
1930
1934
|
"no-spacing": ""
|
|
1931
1935
|
}, {
|
|
1932
1936
|
default: withCtx(() => [
|
|
@@ -2757,8 +2761,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2757
2761
|
}),
|
|
2758
2762
|
createVNode(unref(_sfc_main$i), {
|
|
2759
2763
|
size: "lg",
|
|
2760
|
-
|
|
2761
|
-
variant: "ghost",
|
|
2764
|
+
intent: "subtle",
|
|
2762
2765
|
"data-testid": "cancel",
|
|
2763
2766
|
onClick: handleCancel
|
|
2764
2767
|
}, {
|
|
@@ -3134,7 +3137,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3134
3137
|
createElementVNode("div", _hoisted_1, [
|
|
3135
3138
|
createVNode(unref(_sfc_main$h), {
|
|
3136
3139
|
variant: "body-sm",
|
|
3137
|
-
|
|
3140
|
+
color: "subtle",
|
|
3138
3141
|
tag: "p",
|
|
3139
3142
|
class: "sv-auto-topup-cancellation-modal__explanation"
|
|
3140
3143
|
}, {
|