@solvimon/solvimon-web 0.1.0-alpha.23 → 0.1.0-alpha.24
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 +41 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js} +1 -1
- package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-DzjFvLuK.mjs} +1 -1
- package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-nr8srGuK.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs} +4 -4
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js} +1 -1
- package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-PbJFK8z7.mjs} +1 -1
- package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-TCF-bvDF.js} +1 -1
- package/dist/Checkout.entry.ce-D8O4qJ24.js +2 -0
- package/dist/Checkout.entry.ce-DHFx5Vnb.mjs +3900 -0
- package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-CAoisngJ.js} +1 -1
- package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-DpcOM3Ai.mjs} +2 -2
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
- package/dist/{ContextMenu.vue.es-Bd2kmeVq.js → ContextMenu.vue.es-kzZ3JJHG.js} +1 -1
- package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-tAuFp-6i.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-BQSl9q6W.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-Nac6HgLo.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs} +5 -5
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs} +14 -14
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js} +1 -1
- package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CSE7a-T0.mjs} +1 -1
- package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-LJ2kZakb.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js} +1 -1
- package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-BF6swP7o.js} +1 -1
- package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CVUuIt8Z.mjs} +1 -1
- package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CB1lIPao.js} +1 -1
- package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-DGflbWFk.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-BsdjyGlQ.mjs} +3 -3
- package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-CMO8EyQl.js} +1 -1
- package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-BFbiFXsU.mjs} +2 -2
- package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-CREdT4nB.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-BOnvORpf.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-JtOIQ6SJ.mjs} +7 -7
- package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-BbdtdxsO.js} +1 -1
- package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-jT61xK_A.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js} +1 -1
- package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-Dw2wOiAI.js} +1 -1
- package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-quvnCSFV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs} +4 -4
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js} +1 -1
- package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-CQjUZi22.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-D1oJREmH.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs} +43 -40
- package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-CyZk9ofV.mjs} +307 -207
- package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-Bs4F7oK_.js} +2 -2
- package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs} +22 -21
- package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-C0j580g7.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-CXV_ThBY.js} +1 -1
- package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-Bf2Ps6eV.mjs} +1 -1
- package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-CDV5LR8i.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs} +6 -6
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js} +1 -1
- package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-0kEXoOcM.js} +1 -1
- package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-Dv69xPbX.mjs} +9 -9
- package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-BchXhunH.js} +1 -1
- package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-CP7-dmxS.mjs} +4 -4
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-Cf5R1P9a.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-_QMReyZ8.mjs} +2 -2
- package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CBZx5x53.js} +1 -1
- package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-KRsHeFoT.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js} +1 -1
- package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-1ikoGncQ.js} +1 -1
- package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-B6b6xf-E.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs} +11 -11
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs} +6 -6
- package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-7IQdU3Tf.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-nGFfHF1A.mjs} +1 -1
- package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-DhC5Bpmy.js} +1 -1
- package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-eKgO6an3.mjs} +2 -2
- package/dist/{cn.es-C8Ogac5T.mjs → cn.es-BD7Afj5Q.mjs} +2 -2
- package/dist/{cn.es-lC4_Xd0R.js → cn.es-BLE3T5Rx.js} +1 -1
- 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 +6 -6
- 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 +9 -9
- 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-BYIdPSzQ.js → customElements-CSzbVZIH.js} +14 -14
- package/dist/{customElements-Df6dGrN-.mjs → customElements-DT1YyL4O.mjs} +637 -601
- package/dist/{customer-DoLHZuMG.js → customer-CJonIvSm.js} +1 -1
- package/dist/{customer-DmsKYpVi.mjs → customer-Cq4fF__H.mjs} +1 -1
- package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-CyvjSD9b.mjs} +7 -2
- package/dist/{de-DE-CAL9Mji2.js → de-DE-DXsDvO5y.js} +1 -1
- package/dist/{en-US-_xe5H4TQ.js → en-US-DHdI11k9.js} +1 -1
- package/dist/{en-US-E86eRIxh.mjs → en-US-xQrWj8qI.mjs} +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-CrO6p4Ms.mjs → invoices-CVZOfEOY.mjs} +1 -1
- package/dist/{invoices-mw87cNTS.js → invoices-EamWI_jz.js} +1 -1
- package/dist/{it-IT-co1BfV5s.mjs → it-IT-C09oObBM.mjs} +5 -0
- package/dist/{it-IT-QFQ1Ajbb.js → it-IT-CcRIzP1A.js} +1 -1
- package/dist/{nl-NL-CJXJC1bx.js → nl-NL-5PrgQl8q.js} +1 -1
- package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-BhNND_yi.mjs} +5 -0
- package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-Bwym8l9a.js} +1 -1
- package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-By1SebnO.mjs} +1 -1
- package/dist/{payments-VS_N2xpJ.mjs → payments-BYZLQTJ-.mjs} +1 -1
- package/dist/{payments-KTjVHqOa.js → payments-Dnjg9Se4.js} +1 -1
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +11 -11
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +19 -19
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
- package/dist/{subscriptions-Dugd-oZ1.js → subscriptions-BKER9RUc.js} +1 -1
- package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions-Gj3KgCZz.mjs} +1 -1
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +4 -2
- package/dist/types/services/portals.types.d.ts +2 -0
- package/dist/types/services/requests.types.d.ts +2 -0
- package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
- package/dist/url-vloPOiXd.js +1 -0
- package/dist/{useActionDispatchProvider-CTyDGRX8.js → useActionDispatchProvider-DDHrhy3i.js} +1 -1
- package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-MjTckd4f.mjs} +1 -1
- package/dist/{useCustomer-BXI5Vmit.js → useCustomer-BW0DBEJh.js} +1 -1
- package/dist/{useCustomer-dcmU1539.mjs → useCustomer-CxnF7r8Z.mjs} +1 -1
- package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-C773h3J0.js} +1 -1
- package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-zPc8QrwJ.mjs} +5 -5
- package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-9teNYGuP.js} +1 -1
- package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-NsSDg-e3.mjs} +1 -1
- package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DvV2AsgC.js} +1 -1
- package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-GQwk6fl4.mjs} +2 -2
- package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-CGmFSQSg.mjs} +7 -7
- package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-Xnth6s6U.js} +1 -1
- package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BvvaWeAe.mjs} +1 -1
- package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-Cjkc70u-.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-BWaaj3N3.mjs} +4 -4
- package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DKyscbom.js} +1 -1
- package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-DuXKS36F.js} +1 -1
- package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-l-wVAmIW.mjs} +1 -1
- package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-BDFVB-kK.js} +1 -1
- package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-DvQVnsSV.mjs} +1 -1
- package/dist/{usePayments-G-HpKpK8.js → usePayments-CIJocDhR.js} +1 -1
- package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-D_dyuf6S.mjs} +6 -6
- package/dist/{usePortal-BplmMkBG.js → usePortal-BU4ibdWq.js} +1 -1
- package/dist/{usePortal-CMHV-ShD.mjs → usePortal-Br5lYuPT.mjs} +1 -1
- package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-CqRae2I9.mjs} +1 -1
- package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DRBUt9H5.js} +1 -1
- package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-BxIGnCAP.mjs} +1 -1
- package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-DDos3-EH.js} +1 -1
- package/package.json +1 -1
- package/dist/Checkout.entry.ce-BfLlnQyb.js +0 -1
- package/dist/Checkout.entry.ce-CQkrWscC.mjs +0 -3769
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +0 -98
- package/dist/url-BNKStNY9.js +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { f as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { u as
|
|
9
|
-
import { C as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { u as
|
|
14
|
-
import { g as
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as ce } from "../../usePaymentMethodOptions-
|
|
17
|
-
import { u as
|
|
18
|
-
import { a as
|
|
19
|
-
const
|
|
1
|
+
import { defineComponent as C, computed as w, openBlock as c, createElementBlock as B, withDirectives as _, createElementVNode as A, mergeProps as j, withModifiers as F, unref as n, isRef as D, vModelCheckbox as N, normalizeClass as V, toDisplayString as k, capitalize as U, createBlock as u, withCtx as r, createTextVNode as O, ref as x, createVNode as p, createCommentVNode as b, Fragment as W, renderSlot as q, normalizeProps as H, guardReactiveProps as K } from "vue";
|
|
2
|
+
import { f as z } from "../../formatting.es-RclXHhKo.mjs";
|
|
3
|
+
import { _ as E, a as Y } from "../../Button.vue.es-PbJFK8z7.mjs";
|
|
4
|
+
import { u as Z } from "../../index.es-CXkP_k3u.mjs";
|
|
5
|
+
import { _ as G, u as J, a as Q } from "../../usePayments-D_dyuf6S.mjs";
|
|
6
|
+
import { _ as X } from "../../InvoiceSummary.vue.es-JtOIQ6SJ.mjs";
|
|
7
|
+
import { _ as ee } from "../../Section.vue.es-KRsHeFoT.mjs";
|
|
8
|
+
import { u as R, _ as T, d as te, e as ne } from "../../customElements-DT1YyL4O.mjs";
|
|
9
|
+
import { C as ae } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
|
|
10
|
+
import { _ as oe } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs";
|
|
11
|
+
import { _ as $ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
|
|
12
|
+
import { _ as L } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs";
|
|
13
|
+
import { u as ie, _ as re } from "../../usePaymentMethodAvailability-BWaaj3N3.mjs";
|
|
14
|
+
import { g as se } from "../../customer.es-B5ppZf0j.mjs";
|
|
15
|
+
import { u as le } from "../../useLoadInitialData-BvvaWeAe.mjs";
|
|
16
|
+
import { u as ce } from "../../usePaymentMethodOptions-l-wVAmIW.mjs";
|
|
17
|
+
import { u as de } from "../../usePaymentMethods-DvQVnsSV.mjs";
|
|
18
|
+
import { a as me } from "../../sessionReference-3h-6FdrC.mjs";
|
|
19
|
+
const ue = { class: "flex items-center gap-1 border-0 py-0" }, ye = ["id", "name", "disabled", "value"], pe = ["for"], ve = /* @__PURE__ */ C({
|
|
20
20
|
__name: "Checkbox",
|
|
21
21
|
props: {
|
|
22
22
|
modelValue: { type: Boolean },
|
|
@@ -28,16 +28,16 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
28
28
|
size: { default: "md" }
|
|
29
29
|
},
|
|
30
30
|
setup(e) {
|
|
31
|
-
const t = e, a =
|
|
31
|
+
const t = e, a = Z(t, "modelValue"), d = {
|
|
32
32
|
sm: "size-2",
|
|
33
33
|
md: "size-4"
|
|
34
34
|
}, s = w(() => d[t.size]), m = {
|
|
35
35
|
sm: "text-xs",
|
|
36
36
|
md: "text-sm"
|
|
37
|
-
},
|
|
38
|
-
return (o, i) => (
|
|
39
|
-
|
|
40
|
-
"onUpdate:modelValue": i[0] || (i[0] = (f) =>
|
|
37
|
+
}, l = w(() => m[t.size]);
|
|
38
|
+
return (o, i) => (c(), B("label", ue, [
|
|
39
|
+
_(A("input", j({ id: e.id }, o.$attrs, {
|
|
40
|
+
"onUpdate:modelValue": i[0] || (i[0] = (f) => D(a) ? a.value = f : null),
|
|
41
41
|
name: e.name,
|
|
42
42
|
disabled: e.disabled,
|
|
43
43
|
value: e.value,
|
|
@@ -49,18 +49,18 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
49
49
|
"cursor-pointer": !e.disabled,
|
|
50
50
|
[s.value]: !0
|
|
51
51
|
}],
|
|
52
|
-
onClickCapture: i[1] || (i[1] =
|
|
52
|
+
onClickCapture: i[1] || (i[1] = F(() => {
|
|
53
53
|
}, ["stop"]))
|
|
54
|
-
}), null, 16,
|
|
55
|
-
[
|
|
54
|
+
}), null, 16, ye), [
|
|
55
|
+
[N, n(a)]
|
|
56
56
|
]),
|
|
57
|
-
|
|
57
|
+
A("span", {
|
|
58
58
|
for: e.id,
|
|
59
|
-
class:
|
|
60
|
-
},
|
|
59
|
+
class: V(["leading-tight", { [l.value]: !0 }])
|
|
60
|
+
}, k(e.label), 11, pe)
|
|
61
61
|
]));
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
63
|
+
}), fe = /* @__PURE__ */ C({
|
|
64
64
|
__name: "PayButton",
|
|
65
65
|
props: {
|
|
66
66
|
amount: { type: Object },
|
|
@@ -79,7 +79,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
79
79
|
},
|
|
80
80
|
emits: ["click"],
|
|
81
81
|
setup(e) {
|
|
82
|
-
const t = e, { $t: a } =
|
|
82
|
+
const t = e, { $t: a } = R(), d = w(() => ({
|
|
83
83
|
intent: t.intent ?? "primary",
|
|
84
84
|
disabled: t.disabled,
|
|
85
85
|
iconPrefix: t.iconPrefix,
|
|
@@ -91,8 +91,8 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
91
91
|
tag: t.tag,
|
|
92
92
|
type: t.type
|
|
93
93
|
})), s = w(() => {
|
|
94
|
-
var
|
|
95
|
-
switch ((
|
|
94
|
+
var l, o, i;
|
|
95
|
+
switch ((l = t.paymentMethod) == null ? void 0 : l.paymentMethodType) {
|
|
96
96
|
case "scheme":
|
|
97
97
|
return "Credit Card";
|
|
98
98
|
case "applepay":
|
|
@@ -161,7 +161,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
161
161
|
case "openbanking_UK":
|
|
162
162
|
return "Open Banking";
|
|
163
163
|
default:
|
|
164
|
-
return (o = t.paymentMethod) != null && o.paymentMethodType ?
|
|
164
|
+
return (o = t.paymentMethod) != null && o.paymentMethodType ? U((i = t.paymentMethod) == null ? void 0 : i.paymentMethodType) : "";
|
|
165
165
|
}
|
|
166
166
|
}), m = w(() => t.amount && t.paymentMethod ? a(
|
|
167
167
|
{
|
|
@@ -170,7 +170,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
170
170
|
description: "The label for the pay button when both the amount and the payment method are known"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
amount:
|
|
173
|
+
amount: z(t.amount),
|
|
174
174
|
type: s.value
|
|
175
175
|
}
|
|
176
176
|
) : t.amount ? a(
|
|
@@ -180,7 +180,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
180
180
|
description: "The label for the pay button when only the amount is known"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
amount:
|
|
183
|
+
amount: z(t.amount),
|
|
184
184
|
type: s.value
|
|
185
185
|
}
|
|
186
186
|
) : a({
|
|
@@ -188,17 +188,17 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
188
188
|
id: "pay_button.label.default",
|
|
189
189
|
description: "The default label for the pay button when no amount and payment method are known"
|
|
190
190
|
}));
|
|
191
|
-
return (
|
|
191
|
+
return (l, o) => (c(), u(n(E), j(d.value, {
|
|
192
192
|
class: "w-full",
|
|
193
|
-
onClick: o[0] || (o[0] = (i) =>
|
|
193
|
+
onClick: o[0] || (o[0] = (i) => l.$emit("click", i))
|
|
194
194
|
}), {
|
|
195
195
|
default: r(() => [
|
|
196
|
-
|
|
196
|
+
O(k(m.value), 1)
|
|
197
197
|
]),
|
|
198
198
|
_: 1
|
|
199
199
|
}, 16));
|
|
200
200
|
}
|
|
201
|
-
}),
|
|
201
|
+
}), ge = { class: "mt-4" }, he = { key: 0 }, be = /* @__PURE__ */ C({
|
|
202
202
|
__name: "PayInvoice",
|
|
203
203
|
props: {
|
|
204
204
|
invoice: { type: Object },
|
|
@@ -212,29 +212,29 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
212
212
|
error: { type: null }
|
|
213
213
|
},
|
|
214
214
|
setup(e) {
|
|
215
|
-
const { $t: t } =
|
|
215
|
+
const { $t: t } = R(), a = e, { availability: d } = ie({
|
|
216
216
|
paymentMethodOptions: () => a.paymentMethodOptions,
|
|
217
217
|
isLoading: () => a.isLoading,
|
|
218
218
|
context: () => {
|
|
219
219
|
var g;
|
|
220
220
|
return { invoiceId: (g = a.invoice) == null ? void 0 : g.id };
|
|
221
221
|
}
|
|
222
|
-
}), s =
|
|
222
|
+
}), s = x(), m = x(!0), l = x(), o = x(!1);
|
|
223
223
|
function i() {
|
|
224
|
-
if (!
|
|
224
|
+
if (!l.value)
|
|
225
225
|
throw new Error("payment integration form not found");
|
|
226
|
-
o.value = !0,
|
|
226
|
+
o.value = !0, l.value.submit();
|
|
227
227
|
}
|
|
228
228
|
const f = () => {
|
|
229
229
|
a.configuration.onPaymentSuccess && a.configuration.onPaymentSuccess();
|
|
230
230
|
}, P = () => {
|
|
231
231
|
o.value = !1;
|
|
232
232
|
};
|
|
233
|
-
return (g, v) => (
|
|
233
|
+
return (g, v) => (c(), u(n(ae), null, {
|
|
234
234
|
header: r(() => [
|
|
235
|
-
p(
|
|
235
|
+
p($, { class: "min-h-[52px] w-96" }, {
|
|
236
236
|
default: r(() => [
|
|
237
|
-
e.invoice && e.downloadService ? (
|
|
237
|
+
e.invoice && e.downloadService ? (c(), u(n(G), {
|
|
238
238
|
key: 0,
|
|
239
239
|
invoice: e.invoice,
|
|
240
240
|
"payment-attempts": e.paymentAttempts,
|
|
@@ -245,14 +245,14 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
245
245
|
})
|
|
246
246
|
]),
|
|
247
247
|
content: r(() => {
|
|
248
|
-
var
|
|
248
|
+
var M, y;
|
|
249
249
|
return [
|
|
250
|
-
e.isLoading ? (
|
|
250
|
+
e.isLoading ? (c(), u($, {
|
|
251
251
|
key: 0,
|
|
252
252
|
variant: "section",
|
|
253
253
|
class: "min-h-[300px]"
|
|
254
254
|
})) : b("", !0),
|
|
255
|
-
(
|
|
255
|
+
(M = e.invoice) != null && M.paid ? (c(), u(L, {
|
|
256
256
|
key: 1,
|
|
257
257
|
status: "success",
|
|
258
258
|
title: n(t)({
|
|
@@ -263,19 +263,19 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
263
263
|
class: "mt-8"
|
|
264
264
|
}, {
|
|
265
265
|
default: r(() => [
|
|
266
|
-
p(n(
|
|
266
|
+
p(n(T), {
|
|
267
267
|
variant: "body-sm",
|
|
268
268
|
class: "mt-1"
|
|
269
269
|
}, {
|
|
270
270
|
default: r(() => [
|
|
271
|
-
p(n(
|
|
272
|
-
|
|
271
|
+
p(n(Y), { icon: "check" }),
|
|
272
|
+
O(k(n(z)(e.invoice.tax_summary.total_amount)), 1)
|
|
273
273
|
]),
|
|
274
274
|
_: 1
|
|
275
275
|
})
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
|
-
}, 8, ["title"])) : e.error ? (
|
|
278
|
+
}, 8, ["title"])) : e.error ? (c(), u(L, {
|
|
279
279
|
key: 2,
|
|
280
280
|
status: "error",
|
|
281
281
|
title: n(t)({
|
|
@@ -285,12 +285,12 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
285
285
|
})
|
|
286
286
|
}, {
|
|
287
287
|
default: r(() => [
|
|
288
|
-
p(n(
|
|
288
|
+
p(n(T), {
|
|
289
289
|
variant: "body-sm",
|
|
290
290
|
class: "mt-1"
|
|
291
291
|
}, {
|
|
292
292
|
default: r(() => [
|
|
293
|
-
|
|
293
|
+
O(k(n(t)({
|
|
294
294
|
id: "pay_invoice.error.description",
|
|
295
295
|
defaultMessage: "Please try again or contact support.",
|
|
296
296
|
description: "Body text shown when the invoice payment fails to load"
|
|
@@ -300,8 +300,8 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
300
300
|
})
|
|
301
301
|
]),
|
|
302
302
|
_: 1
|
|
303
|
-
}, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (
|
|
304
|
-
n(d) === "READY" ? (
|
|
303
|
+
}, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (c(), B(W, { key: 3 }, [
|
|
304
|
+
n(d) === "READY" ? (c(), u(n(ee), {
|
|
305
305
|
key: 0,
|
|
306
306
|
title: n(t)({
|
|
307
307
|
id: "pay_invoice.payment_methods.title",
|
|
@@ -312,55 +312,59 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
312
312
|
"no-border": "",
|
|
313
313
|
"no-spacing": ""
|
|
314
314
|
}, {
|
|
315
|
-
default: r(() =>
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
315
|
+
default: r(() => {
|
|
316
|
+
var h, S;
|
|
317
|
+
return [
|
|
318
|
+
A("div", {
|
|
319
|
+
class: V({ "pointer-events-none opacity-60": o.value })
|
|
320
|
+
}, [
|
|
321
|
+
p(oe, {
|
|
322
|
+
ref_key: "paymentIntegrationFormRef",
|
|
323
|
+
ref: l,
|
|
324
|
+
amount: e.amount,
|
|
325
|
+
"country-code": e.countryCode,
|
|
326
|
+
context: {
|
|
327
|
+
type: "INVOICE",
|
|
328
|
+
related_resource_ids: [
|
|
329
|
+
{
|
|
330
|
+
type: "INVOICE",
|
|
331
|
+
id: e.invoice.id
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
"customer-id": e.invoice.customer.id,
|
|
336
|
+
"store-payment-method": m.value,
|
|
337
|
+
"invoice-id": e.invoice.id,
|
|
338
|
+
"payment-method-options": e.paymentMethodOptions ?? [],
|
|
339
|
+
variant: "AUTHORIZE",
|
|
340
|
+
"billing-entity-name": (S = (h = e.invoice) == null ? void 0 : h.billing_entity) == null ? void 0 : S.legal_name,
|
|
341
|
+
onPaymentSuccess: f,
|
|
342
|
+
onPaymentFailed: P,
|
|
343
|
+
onSelect: v[0] || (v[0] = (I) => s.value = I)
|
|
344
|
+
}, null, 8, ["amount", "country-code", "context", "customer-id", "store-payment-method", "invoice-id", "payment-method-options", "billing-entity-name"]),
|
|
345
|
+
A("div", ge, [
|
|
346
|
+
p(n(ve), {
|
|
347
|
+
id: "pay-invoice-store-payment-method",
|
|
348
|
+
modelValue: m.value,
|
|
349
|
+
"onUpdate:modelValue": v[1] || (v[1] = (I) => m.value = I),
|
|
350
|
+
label: n(t)({
|
|
351
|
+
id: "pay_invoice.store_payment_method.label",
|
|
352
|
+
defaultMessage: "Save this payment method for future payments",
|
|
353
|
+
description: "Label of the checkbox that stores the payment method while paying an invoice"
|
|
354
|
+
})
|
|
355
|
+
}, null, 8, ["modelValue", "label"])
|
|
356
|
+
])
|
|
357
|
+
], 2)
|
|
358
|
+
];
|
|
359
|
+
}),
|
|
356
360
|
_: 1
|
|
357
|
-
}, 8, ["title"])) : (
|
|
361
|
+
}, 8, ["title"])) : (c(), u(re, {
|
|
358
362
|
key: 1,
|
|
359
363
|
variant: "AUTHORIZE",
|
|
360
364
|
"seller-name": (y = e.invoice.billing_entity) == null ? void 0 : y.legal_name
|
|
361
365
|
}, {
|
|
362
366
|
default: r(() => [
|
|
363
|
-
e.downloadService ? (
|
|
367
|
+
e.downloadService ? (c(), u(n(E), {
|
|
364
368
|
key: 0,
|
|
365
369
|
type: "button",
|
|
366
370
|
intent: "secondary",
|
|
@@ -370,7 +374,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
370
374
|
})
|
|
371
375
|
}, {
|
|
372
376
|
default: r(() => [
|
|
373
|
-
|
|
377
|
+
O(k(n(t)({
|
|
374
378
|
defaultMessage: "Download invoice",
|
|
375
379
|
description: "Button that downloads the invoice when it cannot be paid online",
|
|
376
380
|
id: "pay_invoice.unavailable.download_invoice"
|
|
@@ -385,20 +389,20 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
385
389
|
];
|
|
386
390
|
}),
|
|
387
391
|
aside: r(() => [
|
|
388
|
-
p(
|
|
392
|
+
p($, {
|
|
389
393
|
variant: "section",
|
|
390
394
|
class: "min-h-[200px]"
|
|
391
395
|
}, {
|
|
392
396
|
default: r(() => [
|
|
393
|
-
e.invoice ? (
|
|
397
|
+
e.invoice ? (c(), u(n(X), {
|
|
394
398
|
key: 0,
|
|
395
399
|
invoice: e.invoice
|
|
396
400
|
}, null, 8, ["invoice"])) : b("", !0)
|
|
397
401
|
]),
|
|
398
402
|
_: 1
|
|
399
403
|
}),
|
|
400
|
-
e.invoice && !e.invoice.paid && n(d) === "READY" ? (
|
|
401
|
-
p(
|
|
404
|
+
e.invoice && !e.invoice.paid && n(d) === "READY" ? (c(), B("div", he, [
|
|
405
|
+
p(fe, {
|
|
402
406
|
disabled: !s.value || o.value,
|
|
403
407
|
loading: o.value,
|
|
404
408
|
amount: e.amount,
|
|
@@ -410,7 +414,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
410
414
|
_: 1
|
|
411
415
|
}));
|
|
412
416
|
}
|
|
413
|
-
}),
|
|
417
|
+
}), we = /* @__PURE__ */ C({
|
|
414
418
|
__name: "PayInvoice.entry.view",
|
|
415
419
|
props: {
|
|
416
420
|
environment: { type: String },
|
|
@@ -435,7 +439,7 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
435
439
|
get: d,
|
|
436
440
|
downloadInvoicePdf: s,
|
|
437
441
|
error: m
|
|
438
|
-
} =
|
|
442
|
+
} = J({ invoiceId: t.configuration.invoiceId }), { payments: l, get: o } = Q(), { fetchInitial: i } = de({
|
|
439
443
|
customerId: t.portalObject.customer_id
|
|
440
444
|
}), { paymentMethodOptions: f, get: P } = ce(), g = async () => {
|
|
441
445
|
const y = await d();
|
|
@@ -443,31 +447,31 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
443
447
|
customerId: y.customer.id,
|
|
444
448
|
amount: y.open_invoice_amount
|
|
445
449
|
});
|
|
446
|
-
}, { isLoading: v } =
|
|
450
|
+
}, { isLoading: v } = le(
|
|
447
451
|
g(),
|
|
448
452
|
i(),
|
|
449
453
|
o(t.configuration.invoiceId)
|
|
450
|
-
),
|
|
454
|
+
), M = w(
|
|
451
455
|
() => {
|
|
452
456
|
var y;
|
|
453
|
-
return (y = a.value) != null && y.customer ?
|
|
457
|
+
return (y = a.value) != null && y.customer ? se(a.value.customer) : void 0;
|
|
454
458
|
}
|
|
455
459
|
);
|
|
456
460
|
return (y, h) => {
|
|
457
|
-
var
|
|
458
|
-
return
|
|
461
|
+
var S;
|
|
462
|
+
return q(y.$slots, "default", {
|
|
459
463
|
invoice: n(a),
|
|
460
464
|
isLoading: n(v),
|
|
461
|
-
amount: (
|
|
462
|
-
countryCode:
|
|
465
|
+
amount: (S = n(a)) == null ? void 0 : S.open_invoice_amount,
|
|
466
|
+
countryCode: M.value,
|
|
463
467
|
paymentMethodOptions: n(f),
|
|
464
|
-
paymentAttempts: n(
|
|
468
|
+
paymentAttempts: n(l),
|
|
465
469
|
downloadService: n(s),
|
|
466
470
|
error: n(m)
|
|
467
471
|
});
|
|
468
472
|
};
|
|
469
473
|
}
|
|
470
|
-
}),
|
|
474
|
+
}), Pe = /* @__PURE__ */ C({
|
|
471
475
|
__name: "PayInvoice.entry",
|
|
472
476
|
props: {
|
|
473
477
|
environment: { type: String },
|
|
@@ -487,29 +491,29 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
487
491
|
configuration: { type: Object }
|
|
488
492
|
},
|
|
489
493
|
setup(e) {
|
|
490
|
-
const t =
|
|
491
|
-
return (a, d) => (
|
|
494
|
+
const t = me("pay-invoice");
|
|
495
|
+
return (a, d) => (c(), u(n(te), {
|
|
492
496
|
entry: a.$props,
|
|
493
497
|
"component-name": n(t),
|
|
494
498
|
"allowed-portal-types": ["CUSTOMER"],
|
|
495
499
|
onError: d[0] || (d[0] = (s) => a.$emit("error", s))
|
|
496
500
|
}, {
|
|
497
501
|
default: r(() => [
|
|
498
|
-
p(
|
|
502
|
+
p(we, H(K(a.$props)), {
|
|
499
503
|
default: r(({
|
|
500
504
|
invoice: s,
|
|
501
505
|
isLoading: m,
|
|
502
|
-
amount:
|
|
506
|
+
amount: l,
|
|
503
507
|
countryCode: o,
|
|
504
508
|
paymentMethodOptions: i,
|
|
505
509
|
paymentAttempts: f,
|
|
506
510
|
downloadService: P,
|
|
507
511
|
error: g
|
|
508
512
|
}) => [
|
|
509
|
-
p(
|
|
513
|
+
p(be, {
|
|
510
514
|
"is-loading": m,
|
|
511
515
|
invoice: s,
|
|
512
|
-
amount:
|
|
516
|
+
amount: l,
|
|
513
517
|
"country-code": o,
|
|
514
518
|
"payment-method-options": i,
|
|
515
519
|
configuration: e.configuration,
|
|
@@ -524,10 +528,10 @@ const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name
|
|
|
524
528
|
_: 1
|
|
525
529
|
}, 8, ["entry", "component-name"]));
|
|
526
530
|
}
|
|
527
|
-
}), { define:
|
|
528
|
-
|
|
531
|
+
}), { define: Fe } = ne(
|
|
532
|
+
Pe,
|
|
529
533
|
"pay-invoice"
|
|
530
534
|
);
|
|
531
535
|
export {
|
|
532
|
-
|
|
536
|
+
Fe as defineSolvimonPayInvoice
|
|
533
537
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../Button.vue.es-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../Button.vue.es-TCF-bvDF.js"),y=require("../../Section.vue.es-CBZx5x53.js"),c=require("../../customElements-CSzbVZIH.js"),f=require("../../ContentWithAsideLayout-RSdKXqAf.js"),g=require("../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js"),h=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js"),_=require("../../useCustomer-BW0DBEJh.js"),v=require("../../usePaymentMethods-BDFVB-kK.js"),S=require("../../usePaymentMethodOptions-DuXKS36F.js"),C=require("../../useLoadInitialData-Cjkc70u-.js"),M=require("../../sessionReference-m_6Rp4X1.js"),k={class:"grid gap-4 sm:grid-cols-1 md:grid-cols-2"},O={key:0},B=e.defineComponent({__name:"ScreenTitle",props:{title:{type:String},description:{type:String}},setup(o){return(r,a)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",null,[e.createVNode(e.unref(c._sfc_main),{variant:"heading-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),_:1}),o.description?(e.openBlock(),e.createBlock(e.unref(c._sfc_main),{key:0,variant:"body-sm",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.description),1)]),_:1})):e.createCommentVNode("",!0)]),r.$slots.right?(e.openBlock(),e.createElementBlock("div",O,[e.renderSlot(r.$slots,"right")])):e.createCommentVNode("",!0)]))}}),b=e.defineComponent({__name:"PaymentMethodsManagement",props:{customer:{type:Object},paymentMethods:{type:Array},paymentMethodOptions:{type:Array},isLoading:{type:Boolean},error:{type:null}},emits:["set-default","delete","added"],setup(o,{emit:r}){const a=r,{$t:i}=c.useIntl(),n=e.ref(!1),m=()=>{n.value=!1,a("added")};return(d,t)=>(e.openBlock(),e.createBlock(e.unref(f.ContentWithAsideLayout),null,{header:e.withCtx(()=>[e.createVNode(B,{title:e.unref(i)({defaultMessage:"Payment methods",id:"screens.payment_method_management.title",description:"The title for the payment method management screen "}),description:e.unref(i)({defaultMessage:"Add a new payment method or set a default payment method for your payments.",id:"screens.payment_method_management.description",description:"The descriptive text for the payment method management screen"})},null,8,["title","description"])]),content:e.withCtx(()=>[e.createVNode(e.unref(y._sfc_main),{"no-border":"","no-spacing":"","content-background":"none",title:"Your payment methods"},{default:e.withCtx(()=>[e.createVNode(g._sfc_main,{"payment-methods":o.paymentMethods,onSetDefault:t[0]||(t[0]=s=>a("set-default")),onDelete:t[1]||(t[1]=s=>a("delete"))},null,8,["payment-methods"])]),_:1}),n.value?(e.openBlock(),e.createBlock(h._sfc_main,{key:0,customer:o.customer,"payment-method-options":o.paymentMethodOptions,onSuccess:m},null,8,["customer","payment-method-options"])):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createBlock(e.unref(l._sfc_main),{key:1,intent:"secondary",onClick:t[2]||(t[2]=s=>n.value=!1)},{default:e.withCtx(()=>[...t[4]||(t[4]=[e.createTextVNode("Cancel",-1)])]),_:1})):(e.openBlock(),e.createBlock(e.unref(l._sfc_main),{key:2,intent:"secondary",onClick:t[3]||(t[3]=s=>n.value=!0)},{default:e.withCtx(()=>[...t[5]||(t[5]=[e.createTextVNode("Add payment method",-1)])]),_:1}))]),_:1}))}}),P=e.defineComponent({__name:"PaymentMethodsManagement.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(o){const r=o,a=r.portalObject.customer_id,{customer:i,get:n}=_.useCustomer({customerId:a}),{items:m,fetchInitial:d}=v.usePaymentMethods({customerId:r.portalObject.customer_id}),{paymentMethodOptions:t,get:s}=S.usePaymentMethodOptions(),{isLoading:p}=C.useLoadInitialData(n.execute(),d(),s({customerId:r.portalObject.customer_id}));return(u,x)=>e.renderSlot(u.$slots,"default",{customer:e.unref(i),paymentMethods:e.unref(m),paymentMethodOptions:e.unref(t),isLoading:e.unref(p),refreshPaymentMethods:e.unref(d)})}}),w=e.defineComponent({__name:"PaymentMethodsManagement.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}},setup(o){const r=M.getComponentName("payment-methods-management");return(a,i)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:a.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=n=>a.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(P,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({customer:n,paymentMethods:m,paymentMethodOptions:d,isLoading:t,refreshPaymentMethods:s})=>[n?(e.openBlock(),e.createBlock(b,{key:0,"is-loading":t,"payment-methods":m,"payment-method-options":d,customer:n,onSetDefault:s,onDelete:s,onAdded:s},null,8,["is-loading","payment-methods","payment-method-options","customer","onSetDefault","onDelete","onAdded"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:N}=c.createSolvimonElement(w,"payment-methods-management");exports.defineSolvimonPaymentMethodsManagement=N;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as i, createElementBlock as h, createElementVNode as b, createVNode as c, unref as t, withCtx as m, createTextVNode as u, toDisplayString as _, createBlock as p, createCommentVNode as g, renderSlot as M, ref as C, normalizeProps as A, guardReactiveProps as j } from "vue";
|
|
2
|
-
import { _ as S } from "../../Button.vue.es-
|
|
3
|
-
import { _ as k } from "../../Section.vue.es-
|
|
4
|
-
import { _ as v, u as P, d as L, e as w } from "../../customElements-
|
|
5
|
-
import { C as D } from "../../ContentWithAsideLayout-
|
|
6
|
-
import { _ as T } from "../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as B } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as I } from "../../useCustomer-
|
|
9
|
-
import { u as N } from "../../usePaymentMethods-
|
|
10
|
-
import { u as x } from "../../usePaymentMethodOptions-
|
|
11
|
-
import { u as E } from "../../useLoadInitialData-
|
|
2
|
+
import { _ as S } from "../../Button.vue.es-PbJFK8z7.mjs";
|
|
3
|
+
import { _ as k } from "../../Section.vue.es-KRsHeFoT.mjs";
|
|
4
|
+
import { _ as v, u as P, d as L, e as w } from "../../customElements-DT1YyL4O.mjs";
|
|
5
|
+
import { C as D } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
|
|
6
|
+
import { _ as T } from "../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs";
|
|
7
|
+
import { _ as B } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs";
|
|
8
|
+
import { u as I } from "../../useCustomer-CxnF7r8Z.mjs";
|
|
9
|
+
import { u as N } from "../../usePaymentMethods-DvQVnsSV.mjs";
|
|
10
|
+
import { u as x } from "../../usePaymentMethodOptions-l-wVAmIW.mjs";
|
|
11
|
+
import { u as E } from "../../useLoadInitialData-BvvaWeAe.mjs";
|
|
12
12
|
import { a as F } from "../../sessionReference-3h-6FdrC.mjs";
|
|
13
13
|
const R = { class: "grid gap-4 sm:grid-cols-1 md:grid-cols-2" }, V = { key: 0 }, z = /* @__PURE__ */ f({
|
|
14
14
|
__name: "ScreenTitle",
|