@solvimon/solvimon-web 0.1.0-alpha.2 → 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 +244 -49
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +240 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +1 -0
- package/dist/Amount.vue.es-BO5sS1UX.mjs +25 -0
- package/dist/Amount.vue.es-JDVa_3H-.js +1 -0
- package/dist/Avatar.vue.es-BGTZSAqU.js +1 -0
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +91 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs} +23 -13
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +1 -0
- package/dist/Button.vue.es-Cm9pLU9i.mjs +421 -0
- 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-CYfxd5H-.mjs +120 -0
- package/dist/Comparators.vue.es-DK8wGjxM.js +1 -0
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +1 -0
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +39 -0
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +681 -0
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +175 -0
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +1 -0
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +1 -0
- package/dist/{useCustomerPaymentMethodOptions-BzEquyUV.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs} +43 -62
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +3264 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +1 -0
- package/dist/Divider.vue.es-ClFG8QtG.js +1 -0
- package/dist/Divider.vue.es-wKkIVBgb.mjs +24 -0
- package/dist/DividerText.vue.es-CeAHAe_Y.mjs +72 -0
- package/dist/DividerText.vue.es-DjT4i_YD.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +562 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +1 -0
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +38 -0
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +1 -0
- package/dist/Expand.vue.es-C-lnbA1v.js +1 -0
- package/dist/Expand.vue.es-C4_XmqbR.mjs +50 -0
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +1 -0
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +46 -0
- package/dist/IconButton.vue.es-BHdQskx0.js +1 -0
- package/dist/IconButton.vue.es-KywqWWvr.mjs +228 -0
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +107 -0
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +1 -0
- package/dist/Input.vue.es-DqKJhFTr.js +1 -0
- package/dist/Input.vue.es-WZGF8dfr.mjs +251 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs} +21 -9
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +49 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +1 -0
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +2944 -0
- 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-qdUHDOnU.mjs +483 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +154 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +54 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +1 -0
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +4 -0
- package/dist/PaymentHistoryBlock-Ci8aSJeb.js +1 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs} +34 -23
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +4 -0
- package/dist/PaymentIntegrationForm-CsuueDE0.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +167 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +699 -0
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +1 -0
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +547 -0
- 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-IEuDxEPN.mjs +4 -0
- package/dist/PaymentMethodForm-hZuVHAti.js +1 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +1 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +172 -0
- 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-CTn-OxM6.mjs +189 -0
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +632 -0
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +1 -0
- package/dist/Section.vue.es-CAJvEDn6.js +1 -0
- package/dist/Section.vue.es-DX_9ueCG.mjs +79 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +1044 -0
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs → Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs} +23 -8
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +6171 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +101 -0
- 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-Bp5RvQVS.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs} +61 -125
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +136 -0
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +1 -0
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +56 -0
- 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-51SvcyqV.mjs +4 -0
- package/dist/adyen-BXi_D9TQ.mjs +123 -0
- package/dist/adyen-DZsyEXkw.js +1 -0
- 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/api.es-C5pe8LUl.mjs +62 -0
- package/dist/api.es-Czekkp_X.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-BEU5D0Wz.mjs +3298 -0
- package/dist/cn.es-DxSeYcoP.js +1 -0
- package/dist/comparators.es-9VsCB-JI.mjs +175 -0
- package/dist/comparators.es-wrKHduVq.js +1 -0
- package/dist/component-BG6DmXcy.mjs +9 -0
- package/dist/component-hDuDTBt5.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
- package/dist/components/BillingInformation/{BillingInformation.es.js → BillingInformation.mjs} +26 -34
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
- package/dist/components/BillingInformationForm/{BillingInformationForm.es.js → BillingInformationForm.mjs} +68 -154
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +95 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.cjs +1 -0
- package/dist/components/Invoice/{Invoice.es.js → Invoice.mjs} +133 -180
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
- package/dist/components/InvoiceDetails/{InvoiceDetails.es.js → InvoiceDetails.mjs} +17 -29
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +73 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
- package/dist/components/InvoicesList/{InvoicesList.es.js → InvoicesList.mjs} +21 -29
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
- package/dist/components/PaymentHistory/{PaymentHistory.es.js → PaymentHistory.mjs} +17 -29
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +108 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +93 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +103 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
- package/dist/components/WalletBalances/{WalletBalances.es.js → WalletBalances.mjs} +38 -34
- package/dist/configuration-BjYwV4_B.js +1 -0
- package/dist/configuration-CD8cOXAJ.mjs +15 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +197 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es--zJAd6LA.mjs +252 -0
- package/dist/countryData.es-D3MFzU92.js +1 -0
- package/dist/customElements-B-89a5oH.mjs +6810 -0
- package/dist/customElements-DD7bpqkx.js +1 -0
- package/dist/customer-DozNwS_a.js +1 -0
- package/dist/customer-Dzj1g9lV.mjs +32 -0
- package/dist/customer.es-C_vSWcVA.mjs +30 -0
- package/dist/customer.es-D42Md24r.js +1 -0
- 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-5YWNEi-V.mjs +299 -0
- package/dist/en-US-DksUWPIu.mjs +266 -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/error-Cg-i7gGl.js +1 -0
- package/dist/error-DY_I2hPx.mjs +13 -0
- package/dist/floating-ui.vue.es-Bv94BfDm.js +1 -0
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +1573 -0
- package/dist/formatting.es-DBtYnvI5.js +1 -0
- package/dist/formatting.es-eYgXv_AK.mjs +70 -0
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +4 -0
- package/dist/gcash.svg.es-JaL4fpZr.js +1 -0
- package/dist/getComposedString.es-CELkn0I7.mjs +14 -0
- package/dist/getComposedString.es-DvSNX-_z.js +1 -0
- package/dist/getCountryNameByCode.es-fP52nO_7.js +1 -0
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +8 -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-Cai7laNY.mjs +1069 -0
- package/dist/index-DIFK3mcJ.js +6 -0
- package/dist/index-DyvRdSR7.mjs +9673 -0
- package/dist/index-IZaUTAsE.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-2JWHHSgP.js +1 -0
- package/dist/index.es-D5xOw_SJ.mjs +542 -0
- package/dist/index.mjs +42 -0
- package/dist/invoices-1oYkdQQV.mjs +121 -0
- package/dist/invoices-BAoh6X2a.js +1 -0
- 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-CckNM7R9.mjs +266 -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/object.es-DFXiU9p3.js +1 -0
- package/dist/object.es-jvvnR8Kr.mjs +12 -0
- package/dist/open-banking.svg.es-DUM360xB.js +1 -0
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +4 -0
- package/dist/paymentMethods-CZ3ydybI.js +1 -0
- package/dist/{paymentMethods-CqKUfc3w.mjs → paymentMethods-DIV78w0O.mjs} +31 -18
- package/dist/payments--lkjiwCt.js +1 -0
- package/dist/{payments-CosaPZwo.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/pricing-3W7XLwL6.js +1 -0
- package/dist/pricing-CJxS2hr2.mjs +17 -0
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +107 -0
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +1 -0
- package/dist/pricingPlanSchedule-B9HFiXy-.js +1 -0
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +146 -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.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.cjs +1 -0
- package/dist/screens/Checkout/{Checkout.es.js → Checkout.mjs} +1531 -1434
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +175 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +582 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +227 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +882 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +707 -0
- package/dist/sepa.svg.es-BF8PYKZg.js +1 -0
- package/dist/sepa.svg.es-cbE9g8gV.mjs +4 -0
- package/dist/slots.es-BpwYO3A3.mjs +18 -0
- package/dist/slots.es-Dq1PTUOv.js +1 -0
- package/dist/sorting.es-CjTrRfSW.mjs +105 -0
- package/dist/sorting.es-RyvcgbSL.js +1 -0
- package/dist/star.svg.es-DsCD-tSp.mjs +4 -0
- package/dist/star.svg.es-Q50IzqXr.js +1 -0
- package/dist/subscription-C41lG-rH.mjs +89 -0
- package/dist/subscription-b0OPx8Du.js +1 -0
- package/dist/subscriptions-300o4ae0.js +1 -0
- package/dist/subscriptions-DcMHBPVJ.mjs +58 -0
- 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/typeGuards.es-C4nR5FkL.js +1 -0
- package/dist/typeGuards.es-fwUoeMCe.mjs +12 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +19 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +74 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +61 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +70 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
- package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +38 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +55 -0
- package/dist/types/public/core/configuration.d.ts +3 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +6 -0
- package/dist/types/public/core/types.d.ts +120 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +31 -0
- package/dist/types/services/portals.types.d.ts +68 -0
- package/dist/types/services/requests.types.d.ts +24 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +7 -0
- package/dist/types/types/subscription.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- 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-CgRcOqv3.mjs → useActionDispatchProvider-BVOBO0Jx.mjs} +1 -1
- package/dist/useActionDispatchProvider-Cv9amjTf.js +1 -0
- package/dist/useCustomer-DLHOs4BR.js +1 -0
- package/dist/useCustomer-EDhref7T.mjs +25 -0
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +1168 -0
- package/dist/useCustomerFormLabels-C6wW4n2e.js +1 -0
- package/dist/useExperimentalFeature-0yFoaEzV.js +1 -0
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +9 -0
- package/dist/{useIncrementalLoading-C7ToTmZK.mjs → useIncrementalLoading-BK9pRYAU.mjs} +9 -9
- package/dist/useIncrementalLoading-CdtGJm_Y.js +1 -0
- package/dist/useInvoiceData-BSjVeJrI.js +1 -0
- package/dist/{useInvoiceData-CcueV3We.mjs → useInvoiceData-C0Y5WrbT.mjs} +6 -12
- package/dist/useInvoicesList-BRDZqsaB.js +1 -0
- package/dist/useInvoicesList-CYoE7q0u.mjs +580 -0
- package/dist/{useLoadInitialData-Dm48tlSO.mjs → useLoadInitialData-Cp1OA8y6.mjs} +5 -0
- package/dist/useLoadInitialData-u7IyXqb6.js +1 -0
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +1 -0
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +141 -0
- package/dist/usePaymentMethodOptions--8QpMvNm.js +1 -0
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +36 -0
- package/dist/{usePaymentMethods-Db-1R6rI.mjs → usePaymentMethods-BJzoI8dZ.mjs} +2 -2
- package/dist/{usePaymentMethods-DCGVRXA4.js → usePaymentMethods-DvEnJWmB.js} +1 -1
- package/dist/usePayments-CANj0QVc.js +1 -0
- package/dist/usePayments-CaT1CBzE.mjs +362 -0
- package/dist/usePortal-BjGoSeLy.js +1 -0
- package/dist/usePortal-CMPQ0M9R.mjs +12 -0
- package/dist/useService-D73FNBjT.js +1 -0
- package/dist/useService-W3Kxems4.mjs +72 -0
- package/dist/useSubscription-D1UKnZAx.mjs +250 -0
- package/dist/useSubscription-DZfRHbL7.js +1 -0
- package/dist/useViewport-Bu0cyeSi.mjs +38 -0
- package/dist/useViewport-CKRY1CKR.js +1 -0
- package/dist/useWatchDebounced-C_YxgoQ6.js +1 -0
- package/dist/useWatchDebounced-Zmxd6InB.mjs +16 -0
- 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 +112 -61
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
import { shallowRef, computed, defineComponent, ref, watch, openBlock, createElementBlock, withModifiers, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, createBlock, createCommentVNode, Fragment, onMounted, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { a as _sfc_main$9 } from "../../Button.vue.es-Cm9pLU9i.mjs";
|
|
3
|
+
import { o as objectDiff, u as useCustomerFormLabels, _ as _sfc_main$6, a as _sfc_main$7 } from "../../useCustomerFormLabels-B61-4xQ7.mjs";
|
|
4
|
+
import { _ as _sfc_main$8 } from "../../ErrorNotification.vue.es-CHyVTBGs.mjs";
|
|
5
|
+
import { _ as _sfc_main$5 } from "../../Input.vue.es-WZGF8dfr.mjs";
|
|
6
|
+
import { u as useIntl, _ as _sfc_main$4, d as _sfc_main$a, e as createSolvimonElement } from "../../customElements-B-89a5oH.mjs";
|
|
7
|
+
import { a as isOrganization, i as isIndividual } from "../../typeGuards.es-fwUoeMCe.mjs";
|
|
8
|
+
import { u as useValidation, e as email, r as required } from "../../index-Cai7laNY.mjs";
|
|
9
|
+
import { b as getApiError } from "../../api.es-C5pe8LUl.mjs";
|
|
10
|
+
import { u as useCustomer } from "../../useCustomer-EDhref7T.mjs";
|
|
11
|
+
import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
|
|
6
12
|
const useForm = ({
|
|
7
13
|
initialState,
|
|
8
14
|
validationRules,
|
|
9
15
|
nullifyEmptyValues = false,
|
|
10
16
|
mode = "shallow"
|
|
11
17
|
}) => {
|
|
12
|
-
const initialFormState = shallowRef(
|
|
13
|
-
const form = shallowRef(
|
|
18
|
+
const initialFormState = shallowRef(structuredClone(initialState));
|
|
19
|
+
const form = shallowRef(structuredClone(initialState));
|
|
14
20
|
const validation = useValidation(validationRules ?? {}, form);
|
|
15
21
|
const changes = computed(
|
|
16
22
|
() => objectDiff({ from: initialFormState.value, to: form.value, mode, nullifyEmptyValues })
|
|
17
23
|
);
|
|
18
24
|
const hasChanges = computed(() => Object.entries(changes.value).length > 0);
|
|
19
25
|
const updateInitialState = (state) => {
|
|
20
|
-
form.value =
|
|
21
|
-
initialFormState.value =
|
|
26
|
+
form.value = structuredClone(state);
|
|
27
|
+
initialFormState.value = structuredClone(state);
|
|
22
28
|
};
|
|
23
29
|
const reset = () => {
|
|
24
|
-
form.value =
|
|
30
|
+
form.value = structuredClone(initialState);
|
|
25
31
|
validation.value.$reset();
|
|
26
32
|
};
|
|
27
33
|
return {
|
|
@@ -156,14 +162,13 @@ const mapFormStateToCustomerPayload = (data) => data.type === "ORGANIZATION" ? {
|
|
|
156
162
|
}
|
|
157
163
|
};
|
|
158
164
|
const _hoisted_1 = { class: "grid grid-cols-1 gap-4" };
|
|
159
|
-
const _hoisted_2 = { class: "flex
|
|
160
|
-
const _hoisted_3 = { class: "
|
|
161
|
-
const _hoisted_4 = {
|
|
162
|
-
const _hoisted_5 = {
|
|
165
|
+
const _hoisted_2 = { class: "mt-6 flex items-center justify-between gap-4" };
|
|
166
|
+
const _hoisted_3 = { class: "flex flex-col gap-2" };
|
|
167
|
+
const _hoisted_4 = {
|
|
163
168
|
key: 0,
|
|
164
169
|
class: "grid grid-cols-2 gap-2"
|
|
165
170
|
};
|
|
166
|
-
const
|
|
171
|
+
const _hoisted_5 = { class: "grid grid-cols-3 gap-2" };
|
|
167
172
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
168
173
|
__name: "BillingInformationForm",
|
|
169
174
|
props: {
|
|
@@ -175,6 +180,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
175
180
|
setup(__props) {
|
|
176
181
|
const props = __props;
|
|
177
182
|
const { $t } = useIntl();
|
|
183
|
+
const labels = useCustomerFormLabels();
|
|
178
184
|
const { validation, form, updateInitialState, submit, hasChanges } = useBillingInformationForm({
|
|
179
185
|
onSubmit: ({ customerId, payload }) => props.updateCustomer({ customerId, payload })
|
|
180
186
|
});
|
|
@@ -209,121 +215,58 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
209
215
|
return openBlock(), createElementBlock("form", {
|
|
210
216
|
onSubmit: withModifiers(handleSubmit, ["prevent"])
|
|
211
217
|
}, [
|
|
212
|
-
createVNode(unref(_sfc_main$
|
|
218
|
+
createVNode(unref(_sfc_main$4), {
|
|
213
219
|
variant: "heading-3",
|
|
214
220
|
tag: "h2"
|
|
215
221
|
}, {
|
|
216
222
|
default: withCtx(() => [
|
|
217
|
-
createTextVNode(toDisplayString(unref(
|
|
218
|
-
defaultMessage: "Customer information",
|
|
219
|
-
id: "checkout.contact_information_block.title",
|
|
220
|
-
description: "The title of the contact information block in the checkout form"
|
|
221
|
-
})), 1)
|
|
223
|
+
createTextVNode(toDisplayString(unref(labels).contactInformationTitle), 1)
|
|
222
224
|
]),
|
|
223
225
|
_: 1
|
|
224
226
|
}),
|
|
225
227
|
createElementVNode("div", _hoisted_1, [
|
|
226
|
-
createVNode(unref(_sfc_main$
|
|
228
|
+
createVNode(unref(_sfc_main$5), {
|
|
227
229
|
modelValue: unref(form).email,
|
|
228
230
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(form).email = $event),
|
|
229
231
|
required: "",
|
|
230
232
|
type: "email",
|
|
231
|
-
label: unref(
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
description: "The email address of the customer in the checkout form"
|
|
235
|
-
}),
|
|
236
|
-
placeholder: unref($t)({
|
|
237
|
-
defaultMessage: "Email address...",
|
|
238
|
-
id: "checkout.email_address.placeholder",
|
|
239
|
-
description: "The email address of the customer in the checkout form"
|
|
240
|
-
}),
|
|
241
|
-
error: ((_a = unref(validation).value.email) == null ? void 0 : _a.$errors) || ((_b = __props.apiError) == null ? void 0 : _b.email)
|
|
233
|
+
label: unref(labels).emailLabel,
|
|
234
|
+
placeholder: unref(labels).emailPlaceholder,
|
|
235
|
+
error: ((_a = unref(validation).email) == null ? void 0 : _a.$errors) || ((_b = __props.apiError) == null ? void 0 : _b.email)
|
|
242
236
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
243
|
-
createVNode(unref(_sfc_main$
|
|
237
|
+
createVNode(unref(_sfc_main$6), {
|
|
244
238
|
"single-model-value": unref(form).country,
|
|
245
239
|
"onUpdate:singleModelValue": _cache[1] || (_cache[1] = ($event) => unref(form).country = $event),
|
|
246
|
-
label: unref(
|
|
247
|
-
defaultMessage: "Country",
|
|
248
|
-
id: "checkout.country.label",
|
|
249
|
-
description: "The country of the customer in the checkout form"
|
|
250
|
-
}),
|
|
240
|
+
label: unref(labels).countryLabel,
|
|
251
241
|
error: (_c = __props.apiError) == null ? void 0 : _c.country
|
|
252
242
|
}, null, 8, ["single-model-value", "label", "error"]),
|
|
253
|
-
showCompanyPurchaseToggle.value ? (openBlock(), createBlock(
|
|
243
|
+
showCompanyPurchaseToggle.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
254
244
|
key: 0,
|
|
255
245
|
modelValue: companyPurchaseModel.value,
|
|
256
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => companyPurchaseModel.value = $event)
|
|
257
|
-
|
|
258
|
-
}, {
|
|
259
|
-
"inline-label": withCtx(() => [
|
|
260
|
-
createElementVNode("div", _hoisted_2, [
|
|
261
|
-
createVNode(unref(_sfc_main$2$1), { tag: "span" }, {
|
|
262
|
-
default: withCtx(() => [
|
|
263
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
264
|
-
defaultMessage: "Company purchase",
|
|
265
|
-
id: "checkout.company_purchase_toggle.title",
|
|
266
|
-
description: "The title of the company purchase toggle in the checkout"
|
|
267
|
-
})), 1)
|
|
268
|
-
]),
|
|
269
|
-
_: 1
|
|
270
|
-
}),
|
|
271
|
-
createVNode(unref(_sfc_main$2$1), {
|
|
272
|
-
tag: "span",
|
|
273
|
-
variant: "body-xs",
|
|
274
|
-
shade: "lighter"
|
|
275
|
-
}, {
|
|
276
|
-
default: withCtx(() => [
|
|
277
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
278
|
-
defaultMessage: "I am purchasing on behalf of a company",
|
|
279
|
-
id: "checkout.company_purchase_toggle.sub_title",
|
|
280
|
-
description: "The subtitle of the company purchase toggle in the checkout"
|
|
281
|
-
})), 1)
|
|
282
|
-
]),
|
|
283
|
-
_: 1
|
|
284
|
-
})
|
|
285
|
-
])
|
|
286
|
-
]),
|
|
287
|
-
_: 1
|
|
288
|
-
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
246
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => companyPurchaseModel.value = $event)
|
|
247
|
+
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
289
248
|
isCompanyPurchase.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
290
|
-
createVNode(unref(_sfc_main$
|
|
249
|
+
createVNode(unref(_sfc_main$5), {
|
|
291
250
|
modelValue: unref(form).companyVatNumber,
|
|
292
251
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(form).companyVatNumber = $event),
|
|
293
252
|
name: "vat_number",
|
|
294
|
-
label: unref(
|
|
295
|
-
|
|
296
|
-
id: "checkout.vat_number.label",
|
|
297
|
-
description: "The label for the vat number in the checkout form"
|
|
298
|
-
}),
|
|
299
|
-
placeholder: unref($t)({
|
|
300
|
-
defaultMessage: "VAT number...",
|
|
301
|
-
id: "checkout.vat_number.placeholder",
|
|
302
|
-
description: "The label for the vat number in the checkout form"
|
|
303
|
-
}),
|
|
253
|
+
label: unref(labels).vatNumberLabel,
|
|
254
|
+
placeholder: unref(labels).vatNumberPlaceholder,
|
|
304
255
|
error: (_d = __props.apiError) == null ? void 0 : _d.vat_number
|
|
305
256
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
306
|
-
createVNode(unref(_sfc_main$
|
|
257
|
+
createVNode(unref(_sfc_main$5), {
|
|
307
258
|
modelValue: unref(form).companyLegalName,
|
|
308
259
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(form).companyLegalName = $event),
|
|
309
260
|
required: "",
|
|
310
261
|
name: "legal_name",
|
|
311
|
-
label: unref(
|
|
312
|
-
|
|
313
|
-
id: "checkout.legal_name.label",
|
|
314
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
315
|
-
}),
|
|
316
|
-
placeholder: unref($t)({
|
|
317
|
-
defaultMessage: "Legal entity name...",
|
|
318
|
-
id: "checkout.legal_name.placeholder",
|
|
319
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
320
|
-
}),
|
|
262
|
+
label: unref(labels).legalNameLabel,
|
|
263
|
+
placeholder: unref(labels).legalNamePlaceholder,
|
|
321
264
|
error: (_e = __props.apiError) == null ? void 0 : _e.legal_name
|
|
322
265
|
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
323
266
|
], 64)) : createCommentVNode("", true)
|
|
324
267
|
]),
|
|
325
|
-
createElementVNode("div",
|
|
326
|
-
createVNode(unref(_sfc_main$
|
|
268
|
+
createElementVNode("div", _hoisted_2, [
|
|
269
|
+
createVNode(unref(_sfc_main$4), {
|
|
327
270
|
variant: "heading-3",
|
|
328
271
|
tag: "h2"
|
|
329
272
|
}, {
|
|
@@ -337,9 +280,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
337
280
|
_: 1
|
|
338
281
|
})
|
|
339
282
|
]),
|
|
340
|
-
createElementVNode("div",
|
|
341
|
-
!isCompanyPurchase.value ? (openBlock(), createElementBlock("div",
|
|
342
|
-
createVNode(unref(_sfc_main$
|
|
283
|
+
createElementVNode("div", _hoisted_3, [
|
|
284
|
+
!isCompanyPurchase.value ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
285
|
+
createVNode(unref(_sfc_main$5), {
|
|
343
286
|
modelValue: unref(form).firstName,
|
|
344
287
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(form).firstName = $event),
|
|
345
288
|
name: "first_name",
|
|
@@ -355,7 +298,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
355
298
|
}),
|
|
356
299
|
error: (_f = __props.apiError) == null ? void 0 : _f.first_name
|
|
357
300
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
358
|
-
createVNode(unref(_sfc_main$
|
|
301
|
+
createVNode(unref(_sfc_main$5), {
|
|
359
302
|
modelValue: unref(form).lastName,
|
|
360
303
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(form).lastName = $event),
|
|
361
304
|
name: "last_name",
|
|
@@ -372,15 +315,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
372
315
|
error: (_g = __props.apiError) == null ? void 0 : _g.last_name
|
|
373
316
|
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
374
317
|
])) : createCommentVNode("", true),
|
|
375
|
-
createVNode(unref(_sfc_main$
|
|
318
|
+
createVNode(unref(_sfc_main$5), {
|
|
376
319
|
modelValue: unref(form).addressLine1,
|
|
377
320
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(form).addressLine1 = $event),
|
|
378
321
|
name: "address_line_1",
|
|
379
|
-
label: unref(
|
|
380
|
-
defaultMessage: "Billing address",
|
|
381
|
-
id: "checkout.address.title",
|
|
382
|
-
description: "Address line 1 of the customer address in the checkout form"
|
|
383
|
-
}),
|
|
322
|
+
label: unref(labels).addressTitle,
|
|
384
323
|
placeholder: unref($t)({
|
|
385
324
|
defaultMessage: "Address line 1...",
|
|
386
325
|
id: "checkout.address.line1.placeholder",
|
|
@@ -388,7 +327,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
388
327
|
}),
|
|
389
328
|
error: (_h = __props.apiError) == null ? void 0 : _h.address_line_1
|
|
390
329
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
391
|
-
createVNode(unref(_sfc_main$
|
|
330
|
+
createVNode(unref(_sfc_main$5), {
|
|
392
331
|
modelValue: unref(form).addressLine2,
|
|
393
332
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(form).addressLine2 = $event),
|
|
394
333
|
name: "address_line_2",
|
|
@@ -399,50 +338,38 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
399
338
|
}),
|
|
400
339
|
error: (_i = __props.apiError) == null ? void 0 : _i.address_line_2
|
|
401
340
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
402
|
-
createElementVNode("div",
|
|
403
|
-
createVNode(unref(_sfc_main$
|
|
341
|
+
createElementVNode("div", _hoisted_5, [
|
|
342
|
+
createVNode(unref(_sfc_main$5), {
|
|
404
343
|
modelValue: unref(form).postalCode,
|
|
405
344
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(form).postalCode = $event),
|
|
406
345
|
name: "postal_code",
|
|
407
|
-
placeholder: unref(
|
|
408
|
-
defaultMessage: "Postal code...",
|
|
409
|
-
id: "checkout.address.portal_code.placeholder",
|
|
410
|
-
description: "Postal code of the customer address in the checkout form"
|
|
411
|
-
}),
|
|
346
|
+
placeholder: unref(labels).postalCodePlaceholder,
|
|
412
347
|
error: (_j = __props.apiError) == null ? void 0 : _j.postal_code
|
|
413
348
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
414
|
-
createVNode(unref(_sfc_main$
|
|
349
|
+
createVNode(unref(_sfc_main$5), {
|
|
415
350
|
modelValue: unref(form).city,
|
|
416
351
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(form).city = $event),
|
|
417
352
|
name: "city",
|
|
418
|
-
placeholder: unref(
|
|
419
|
-
defaultMessage: "City...",
|
|
420
|
-
id: "checkout.address.city.placeholder",
|
|
421
|
-
description: "City of the customer address in the checkout form"
|
|
422
|
-
}),
|
|
353
|
+
placeholder: unref(labels).cityPlaceholder,
|
|
423
354
|
error: (_k = __props.apiError) == null ? void 0 : _k.city
|
|
424
355
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
425
|
-
createVNode(unref(_sfc_main$
|
|
356
|
+
createVNode(unref(_sfc_main$5), {
|
|
426
357
|
modelValue: unref(form).state,
|
|
427
358
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(form).state = $event),
|
|
428
359
|
name: "state",
|
|
429
|
-
placeholder: unref(
|
|
430
|
-
defaultMessage: "State...",
|
|
431
|
-
id: "checkout.address.state.placeholder",
|
|
432
|
-
description: "State of the customer address in the checkout form"
|
|
433
|
-
}),
|
|
360
|
+
placeholder: unref(labels).statePlaceholder,
|
|
434
361
|
error: (_l = __props.apiError) == null ? void 0 : _l.state
|
|
435
362
|
}, null, 8, ["modelValue", "placeholder", "error"])
|
|
436
363
|
])
|
|
437
364
|
]),
|
|
438
|
-
((_m = __props.apiError) == null ? void 0 : _m._generic) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
365
|
+
((_m = __props.apiError) == null ? void 0 : _m._generic) ? (openBlock(), createBlock(unref(_sfc_main$8), {
|
|
439
366
|
key: 0,
|
|
440
367
|
class: "mt-4",
|
|
441
368
|
title: __props.apiError._generic
|
|
442
369
|
}, null, 8, ["title"])) : createCommentVNode("", true),
|
|
443
|
-
createVNode(unref(_sfc_main$
|
|
370
|
+
createVNode(unref(_sfc_main$9), {
|
|
444
371
|
type: "submit",
|
|
445
|
-
|
|
372
|
+
intent: "primary",
|
|
446
373
|
disabled: !unref(hasChanges),
|
|
447
374
|
loading: __props.isLoading,
|
|
448
375
|
class: "mt-4"
|
|
@@ -471,6 +398,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
471
398
|
setup(__props) {
|
|
472
399
|
return (_ctx, _cache) => {
|
|
473
400
|
return openBlock(), createBlock(_sfc_main$3, {
|
|
401
|
+
class: "sv-billing-form sv-root sv-component",
|
|
474
402
|
customer: __props.customer,
|
|
475
403
|
"update-customer": __props.updateCustomer,
|
|
476
404
|
"is-loading": __props.isLoading,
|
|
@@ -486,7 +414,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
486
414
|
locale: { type: String },
|
|
487
415
|
dateLocale: { type: String },
|
|
488
416
|
messages: { type: Object },
|
|
489
|
-
showTimezones: { type: Boolean },
|
|
490
417
|
primaryColor: { type: String },
|
|
491
418
|
secondaryColor: { type: String },
|
|
492
419
|
isShadowRoot: { type: Boolean },
|
|
@@ -495,7 +422,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
495
422
|
onLog: { type: Function },
|
|
496
423
|
allowedPortalTypes: { type: Array },
|
|
497
424
|
portalObject: { type: Object },
|
|
498
|
-
|
|
425
|
+
cssOverrides: { type: [String, Array] },
|
|
499
426
|
branding: { type: Object }
|
|
500
427
|
},
|
|
501
428
|
setup(__props) {
|
|
@@ -522,7 +449,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
522
449
|
locale: { type: String },
|
|
523
450
|
dateLocale: { type: String },
|
|
524
451
|
messages: { type: Object },
|
|
525
|
-
showTimezones: { type: Boolean },
|
|
526
452
|
primaryColor: { type: String },
|
|
527
453
|
secondaryColor: { type: String },
|
|
528
454
|
isShadowRoot: { type: Boolean },
|
|
@@ -531,24 +457,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
531
457
|
onLog: { type: Function },
|
|
532
458
|
allowedPortalTypes: { type: Array },
|
|
533
459
|
portalObject: { type: Object },
|
|
534
|
-
|
|
460
|
+
cssOverrides: { type: [String, Array] },
|
|
535
461
|
branding: { type: Object }
|
|
536
462
|
},
|
|
537
463
|
emits: ["error"],
|
|
538
464
|
setup(__props) {
|
|
465
|
+
const componentName = getComponentName("billing-information-form");
|
|
539
466
|
return (_ctx, _cache) => {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
"
|
|
543
|
-
environment: __props.environment,
|
|
544
|
-
locale: __props.locale,
|
|
545
|
-
"portal-object": __props.portalObject,
|
|
467
|
+
return openBlock(), createBlock(unref(_sfc_main$a), {
|
|
468
|
+
entry: _ctx.$props,
|
|
469
|
+
"component-name": unref(componentName),
|
|
546
470
|
"allowed-portal-types": ["CUSTOMER"],
|
|
547
|
-
"primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
|
|
548
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
549
|
-
"experimental-features": __props.experimentalFeatures,
|
|
550
|
-
"log-level": __props.logLevel,
|
|
551
|
-
"on-log": __props.onLog,
|
|
552
471
|
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
553
472
|
}, {
|
|
554
473
|
default: withCtx(() => [
|
|
@@ -566,19 +485,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
566
485
|
}, 16)
|
|
567
486
|
]),
|
|
568
487
|
_: 1
|
|
569
|
-
}, 8, ["
|
|
488
|
+
}, 8, ["entry", "component-name"]);
|
|
570
489
|
};
|
|
571
490
|
}
|
|
572
491
|
});
|
|
573
|
-
const
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
customElements.define(COMPONENT_NAME, SolvimonBillingInformationForm);
|
|
578
|
-
}
|
|
579
|
-
};
|
|
492
|
+
const { define: defineSolvimonBillingInformationForm } = createSolvimonElement(
|
|
493
|
+
_sfc_main,
|
|
494
|
+
"billing-information-form"
|
|
495
|
+
);
|
|
580
496
|
export {
|
|
581
|
-
COMPONENT_NAME,
|
|
582
|
-
SolvimonBillingInformationForm,
|
|
583
497
|
defineSolvimonBillingInformationForm
|
|
584
498
|
};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const COMPONENT_NAME: string;
|
|
3
|
-
export declare const defineSolvimonCustomerPaymentMethods: () => void;
|
|
1
|
+
export * from '../../types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js"),o=require("../../CustomerPaymentMethods.lib-BKgQTCtc.js"),r=require("../../useLoadInitialData-u7IyXqb6.js"),n=require("../../usePaymentMethods-DvEnJWmB.js"),a=require("../../customElements-DD7bpqkx.js"),i=require("../../component-hDuDTBt5.js"),s=e.defineComponent({__name:"CustomerPaymentMethods.entry.view",props:{portalObject:{type:Object},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},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var a;const i=t,s=i.portalObject.customer_id,p=n.usePaymentMethods({customerId:s,pageSize:(null==(a=i.configuration)?void 0:a.maxItems)||o.DEFAULT_MAX_ITEMS}),{isLoading:y}=r.useLoadInitialData(p.fetchInitial());return(t,o)=>e.renderSlot(t.$slots,"default",{paymentMethods:e.unref(p).items.value,isLoading:e.unref(y)})}}),p=e.defineComponent({__name:"CustomerPaymentMethods.entry",props:{portalObject:{type:Object},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},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(o){const r=i.getComponentName("customer-payment-methods");return(n,i)=>(e.openBlock(),e.createBlock(e.unref(a._sfc_main$1),{entry:n.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(n.$props)),{default:e.withCtx(({paymentMethods:r,isLoading:n})=>[e.createVNode(t._sfc_main,{configuration:o.configuration,"payment-methods":r,"is-loading":n},null,8,["configuration","payment-methods","is-loading"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:y}=a.createSolvimonElement(p,"customer-payment-methods");exports.defineSolvimonCustomerPaymentMethods=y;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent, renderSlot, unref, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { _ as _sfc_main$3 } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs";
|
|
3
|
+
import { D as DEFAULT_MAX_ITEMS } from "../../CustomerPaymentMethods.lib-CcSt0sl1.mjs";
|
|
4
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-Cp1OA8y6.mjs";
|
|
5
|
+
import { u as usePaymentMethods } from "../../usePaymentMethods-BJzoI8dZ.mjs";
|
|
6
|
+
import { d as _sfc_main$2, e as createSolvimonElement } from "../../customElements-B-89a5oH.mjs";
|
|
7
|
+
import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
|
|
8
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "CustomerPaymentMethods.entry.view",
|
|
10
|
+
props: {
|
|
11
|
+
portalObject: { type: Object },
|
|
12
|
+
environment: { type: String },
|
|
13
|
+
locale: { type: String },
|
|
14
|
+
dateLocale: { type: String },
|
|
15
|
+
messages: { type: Object },
|
|
16
|
+
primaryColor: { type: String },
|
|
17
|
+
secondaryColor: { type: String },
|
|
18
|
+
isShadowRoot: { type: Boolean },
|
|
19
|
+
experimentalFeatures: { type: Array },
|
|
20
|
+
logLevel: { type: String },
|
|
21
|
+
onLog: { type: Function },
|
|
22
|
+
allowedPortalTypes: { type: Array },
|
|
23
|
+
cssOverrides: { type: [String, Array] },
|
|
24
|
+
branding: { type: Object },
|
|
25
|
+
configuration: { type: Object }
|
|
26
|
+
},
|
|
27
|
+
setup(__props) {
|
|
28
|
+
var _a;
|
|
29
|
+
const props = __props;
|
|
30
|
+
const customerId = props.portalObject.customer_id;
|
|
31
|
+
const paymentMethods = usePaymentMethods({
|
|
32
|
+
customerId,
|
|
33
|
+
pageSize: ((_a = props.configuration) == null ? void 0 : _a.maxItems) || DEFAULT_MAX_ITEMS
|
|
34
|
+
});
|
|
35
|
+
const { isLoading } = useLoadInitialData(paymentMethods.fetchInitial());
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return renderSlot(_ctx.$slots, "default", {
|
|
38
|
+
paymentMethods: unref(paymentMethods).items.value,
|
|
39
|
+
isLoading: unref(isLoading)
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
|
+
__name: "CustomerPaymentMethods.entry",
|
|
46
|
+
props: {
|
|
47
|
+
portalObject: { type: Object },
|
|
48
|
+
environment: { type: String },
|
|
49
|
+
locale: { type: String },
|
|
50
|
+
dateLocale: { type: String },
|
|
51
|
+
messages: { type: Object },
|
|
52
|
+
primaryColor: { type: String },
|
|
53
|
+
secondaryColor: { type: String },
|
|
54
|
+
isShadowRoot: { type: Boolean },
|
|
55
|
+
experimentalFeatures: { type: Array },
|
|
56
|
+
logLevel: { type: String },
|
|
57
|
+
onLog: { type: Function },
|
|
58
|
+
allowedPortalTypes: { type: Array },
|
|
59
|
+
cssOverrides: { type: [String, Array] },
|
|
60
|
+
branding: { type: Object },
|
|
61
|
+
configuration: { type: Object }
|
|
62
|
+
},
|
|
63
|
+
setup(__props) {
|
|
64
|
+
const componentName = getComponentName("customer-payment-methods");
|
|
65
|
+
return (_ctx, _cache) => {
|
|
66
|
+
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
67
|
+
entry: _ctx.$props,
|
|
68
|
+
"component-name": unref(componentName),
|
|
69
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
70
|
+
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
71
|
+
}, {
|
|
72
|
+
default: withCtx(() => [
|
|
73
|
+
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
74
|
+
default: withCtx(({ paymentMethods, isLoading }) => [
|
|
75
|
+
createVNode(_sfc_main$3, {
|
|
76
|
+
configuration: __props.configuration,
|
|
77
|
+
"payment-methods": paymentMethods,
|
|
78
|
+
"is-loading": isLoading
|
|
79
|
+
}, null, 8, ["configuration", "payment-methods", "is-loading"])
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 16)
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 8, ["entry", "component-name"]);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
const { define: defineSolvimonCustomerPaymentMethods } = createSolvimonElement(
|
|
90
|
+
_sfc_main,
|
|
91
|
+
"customer-payment-methods"
|
|
92
|
+
);
|
|
93
|
+
export {
|
|
94
|
+
defineSolvimonCustomerPaymentMethods
|
|
95
|
+
};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const COMPONENT_NAME: string;
|
|
3
|
-
export declare const defineSolvimonInvoice: () => void;
|
|
1
|
+
export * from '../../types/public/components/Invoice/Invoice.entry.ce';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../CustomerBillingInformation.vue.es-BX0Da7Kr.js"),n=require("../../customElements-DD7bpqkx.js"),i=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js"),o=require("../../Button.vue.es-O8mNivLL.js"),a=require("../../InvoiceSummary.vue.es-BWYIHezU.js"),r=require("../../Section.vue.es-CAJvEDn6.js"),l=require("../../Comparators.vue.es-DK8wGjxM.js"),c=require("../../DividerText.vue.es-DjT4i_YD.js"),s=require("../../useViewport-CKRY1CKR.js"),d=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js"),u=require("../../component-hDuDTBt5.js"),f={class:"flex items-center gap-2"},m=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"info"},hasIcon:{type:Boolean}},setup(t){const n={info:"info",warning:"error",danger:"error",success:"check_circle"};return(i,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center justify-between gap-2 rounded-sm border px-4 py-3 text-sm",{"border-blue-200 bg-feedback-info text-feedback-info":"info"===t.variant,"border-red-200 bg-feedback-danger text-feedback-danger":"danger"===t.variant,"border-yellow-200 bg-feedback-warning text-feedback-warning":"warning"===t.variant,"border-green-200 bg-feedback-success text-feedback-success":"success"===t.variant}])},[e.createElementVNode("div",f,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,icon:n[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(i.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(i.$slots,"cta")])],2))}}),p={key:0,class:"mt-8"},v={class:"flex flex-col gap-6"},_=["onClick","onKeyup"],g={class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},y={key:0},b={class:"p-0"},w={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},k=e.defineComponent({__name:"InvoiceCreditsBreakdown",props:{invoice:{type:Object}},setup(t){const i=t,{formatDate:r,$t:s,formatMessage:d,formatNumber:u}=n.useIntl(),{getIsOpen:f,toggle:m}=l.useToggleList(),k=e.computed(()=>Object.fromEntries((i.invoice.credit_types??[]).map(e=>[e.id,e]))),h=e=>d({defaultMessage:"Service period - {startAt} - {endAt}",id:"wallet_balance.service_period_heading",description:"Heading shown above wallet balance details for an invoice period"},{startAt:r({date:e.start_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone}),endAt:r({date:e.end_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone})}),x=e=>{var t;return(null==e?void 0:e.credit_type_id)?(null==(t=k.value[e.credit_type_id])?void 0:t.name)??e.credit_type_id:d({defaultMessage:"Credits",id:"wallet_balance.credit_type_fallback_label",description:"Fallback label for wallet balance credit types when no name is available"})},V=e=>e?u(Number(e)):d({defaultMessage:"-",id:"empty_value_placeholder",description:"Placeholder shown when a wallet balance quantity is missing"}),N=e.computed(()=>(({invoice:e,getPeriodTitle:t,getCreditTypeLabel:n,formatQuantity:i})=>[...e.periods??[],...e.closed_periods??[]].map(e=>{var o,a,r,l;const c=new Map,s=new Map;for(const t of e.groups??[])for(const d of t.lines??[]){const u=null==(o=null==d?void 0:d.details)?void 0:o.wallet_balance_details;if(!u)continue;const f=u.used_wallet_credits??u.left_wallet_credits??u.available_wallet_credits,m=n(f),p={id:`${e.period_order}-${t.group_order}-${d.line_order}`,label:m,used:i(null==(a=u.used_wallet_credits)?void 0:a.quantity),left:i(null==(r=u.left_wallet_credits)?void 0:r.quantity),available:i(null==(l=u.available_wallet_credits)?void 0:l.quantity)},v=`${p.label}-${p.used}-${p.left}-${p.available}`,_=s.get(m)??new Set;if(_.has(v))continue;_.add(v),s.set(m,_);const g=c.get(m)??{id:`${e.period_order}-${m}`,label:m,amount:p.available,rows:[]};g.rows.push(p),c.set(m,g)}return{id:`${e.period_order}-${e.start_at}`,title:t(e),rows:[...c.values()]}}).filter(e=>e.rows.length>0))({invoice:i.invoice,getPeriodTitle:h,getCreditTypeLabel:x,formatQuantity:V}));return(t,i)=>N.value.length>0?(e.openBlock(),e.createElementBlock("section",p,[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,t=>(e.openBlock(),e.createElementBlock("section",{key:t.id},[e.createVNode(e.unref(c._sfc_main),{class:"mt-4"},{default:e.withCtx(()=>[e.createVNode(e.unref(n._sfc_main),{tag:"h3",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(a.InvoiceTable),{class:"mt-3"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(a._sfc_main$1),{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Wallet balance",id:"wallet_balance.details.header",description:"Section header for invoice wallet balance details"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rows,t=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t.id},[e.createElementVNode("tr",{class:"cursor-pointer border-t",tabindex:"0",onClick:n=>e.unref(m)(t.id),onKeyup:[e.withKeys(n=>e.unref(m)(t.id),["enter"]),e.withKeys(n=>e.unref(m)(t.id),["space"])]},[e.createVNode(e.unref(a._sfc_main$2),{class:"p-0"},{default:e.withCtx(()=>[e.createVNode(e.unref(o._sfc_main),{icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(f)(t.id)}])},null,8,["class"]),e.createTextVNode(" "+e.toDisplayString(t.label)+" ",1),e.createElementVNode("span",g,e.toDisplayString(t.rows.length),1)]),_:2},1024)],40,_),e.unref(f)(t.id)?(e.openBlock(),e.createElementBlock("tr",y,[e.createElementVNode("td",b,[e.createElementVNode("div",w,[e.createVNode(e.unref(a.InvoiceTable),null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(a._sfc_main$1),{left:"",class:"w-2/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Credit breakdown",id:"invoice_credits.credit_breakdown.table_header",description:"Column header for wallet balance credit type details"})),1)]),_:1}),e.createVNode(e.unref(a._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Balance",id:"invoice_credits.balance.table_header",description:"Column header for the available wallet balance amount"})),1)]),_:1}),e.createVNode(e.unref(a._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Used",id:"invoice_credits.used.table_header",description:"Column header for the used wallet credit amount"})),1)]),_:1}),e.createVNode(e.unref(a._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Remaining",id:"invoice_credits.remaining.table_header",description:"Column header for the remaining wallet credit amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rows,t=>(e.openBlock(),e.createElementBlock("tr",{key:t.id,class:"border-t"},[e.createVNode(e.unref(a._sfc_main$2),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:2},1024),e.createVNode(e.unref(a._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.available),1)]),_:2},1024),e.createVNode(e.unref(a._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.used),1)]),_:2},1024),e.createVNode(e.unref(a._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.left),1)]),_:2},1024)]))),128))]),_:2},1024)])])])):e.createCommentVNode("",!0)],64))),128))]),_:2},1024)]))),128))])])):e.createCommentVNode("",!0)}}),h=e.defineComponent({__name:"InvoiceBlock",props:{invoice:{type:Object}},setup(t){const{$t:i}=n.useIntl(),{isMobileViewport:o}=s.useViewport();return(n,l)=>(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{class:"sv-invoice__summary grow",title:e.unref(i)({defaultMessage:"Invoice",description:"Title for the invoice block on the invoice details page",id:"sdk.invoice_details.invoice.title"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["sv-invoice__summary-body",{"p-6 pt-2":!e.unref(o)}])},[e.unref(o)?(e.openBlock(),e.createBlock(e.unref(m),{key:0,variant:"info","has-icon":"",class:"sv-invoice__download-hint justify-center border-gray-100 bg-gray-50 font-semibold text-gray-800"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Download the PDF for a full breakdown",description:"Download the PDF for a full breakdown",id:"sdk.invoice_details.invoice.download_pdf"})),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(a._sfc_main),{class:"sv-invoice__summary-content",invoice:t.invoice,"is-expandable":!e.unref(o)},{logo:e.withCtx(()=>[e.renderSlot(n.$slots,"logo")]),_:3},8,["invoice","is-expandable"]),e.createVNode(k,{class:"sv-invoice__credits-breakdown",invoice:t.invoice},null,8,["invoice"])],2)]),_:3},8,["title"]))}}),x={class:"sv-invoice sv-root sv-component"},V={class:"sv-invoice__body flex flex-col gap-3 lg:flex-row lg:gap-6"},N={class:"sv-invoice__aside flex shrink-0 flex-col gap-8 lg:w-72 lg:gap-6"},C=e.defineComponent({__name:"Invoice",props:{isLoading:{type:Boolean},invoice:{type:Object},payments:{type:Array},invoiceDownloadService:{type:Function},configuration:{type:Object}},setup(o){const a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("../../PaymentHistoryBlock-Ci8aSJeb.js"))),{$t:r}=n.useIntl();return(n,l)=>{var c,s;return e.openBlock(),e.createElementBlock("div",x,[e.createVNode(i._sfc_main$1,{class:"sv-invoice__header mb-6",invoice:o.invoice,payments:o.payments,"invoice-download-service":o.invoiceDownloadService,"is-loading":o.isLoading,configuration:o.configuration},null,8,["invoice","payments","invoice-download-service","is-loading","configuration"]),e.createElementVNode("div",V,[o.invoice?(e.openBlock(),e.createBlock(h,{key:0,class:"sv-invoice__main",invoice:o.invoice},null,8,["invoice"])):e.createCommentVNode("",!0),e.createElementVNode("div",N,[e.createVNode(d._sfc_main,{class:"sv-invoice__details",invoice:o.invoice},null,8,["invoice"]),(null==(c=o.configuration)?void 0:c.enablePaymentAttempts)&&(null==(s=o.payments)?void 0:s.length)?(e.openBlock(),e.createBlock(e.unref(a),{key:0,class:"sv-invoice__payment-history","payment-attempts":o.payments,customer:o.invoice.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0),o.configuration.enableCustomerBillingInformation?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:1,class:"sv-invoice__billing-information",customer:o.invoice.customer,title:e.unref(r)({defaultMessage:"Your billing information",description:"Title for the billing information on the detailed invoice view",id:"sdk.invoice_details.customer_billing_information.title"})},null,8,["customer","title"])):e.createCommentVNode("",!0)])])])}}}),B=e.defineComponent({__name:"Invoice.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){var o;const a=u.getComponentName("invoice"),r=t;if(!(null==(o=r.configuration)?void 0:o.invoiceId))throw new Error("Missing invoice id");const l=e.computed(()=>({...r,configuration:{enableCustomerBillingInformation:!0,enableDownloadButton:!0,enablePaymentAttempts:!0,...r.configuration}}));return(t,o)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),{entry:t.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=e=>t.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i._sfc_main,{"invoice-id":l.value.configuration.invoiceId},{default:e.withCtx(({invoice:t,payments:n,isLoading:i,invoiceDownloadService:o})=>[t?(e.openBlock(),e.createBlock(C,{key:0,"is-loading":i,invoice:t,"invoice-download-service":o,payments:n.payments.value,configuration:l.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:S}=n.createSolvimonElement(B,"invoice");exports.defineSolvimonInvoice=S;
|