@solvimon/solvimon-web 0.1.0-alpha.23 → 0.1.0-alpha.25

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.
Files changed (193) hide show
  1. package/README.md +41 -0
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-C9Jkfuvp.mjs} +1 -1
  5. package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-CvxRdCes.js} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js} +1 -1
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs} +4 -4
  8. package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-BbSN0uOk.mjs} +1 -1
  9. package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-CeUTAc2n.js} +1 -1
  10. package/dist/Checkout.entry.ce-BMzK8nQg.mjs +3900 -0
  11. package/dist/Checkout.entry.ce-DgA0ckyl.js +2 -0
  12. package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-BN83K3Tk.js} +1 -1
  13. package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-T22Q7AF9.mjs} +2 -2
  14. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
  15. package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
  16. package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-0PRmCAzL.mjs} +4 -4
  17. package/dist/{ContextMenu.vue.es-Bd2kmeVq.js → ContextMenu.vue.es-DXKR7WFg.js} +1 -1
  18. package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-C2j40TYP.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-yrLGc7oL.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs} +5 -5
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js} +1 -1
  23. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs} +14 -14
  24. package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CV1XK_Vz.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-DsYRZzuE.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CiUJva6S.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-QfRoDhkn.js} +1 -1
  30. package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-ChvsCZQG.mjs} +2 -2
  31. package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CytBZUkZ.js} +1 -1
  32. package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-DPruIJ6l.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-DtnpBObk.js} +1 -1
  34. package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-BkzQDkrz.js} +1 -1
  35. package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-DJQqJrsb.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs} +2 -2
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js} +1 -1
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs} +2 -2
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js} +1 -1
  40. package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-6qpbyymg.mjs} +7 -7
  41. package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-v1TkOUhA.js} +1 -1
  42. package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-BuRlbyZw.mjs} +5 -5
  43. package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-JpE0eh_Q.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs} +4 -4
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js} +1 -1
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs} +3 -3
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js} +1 -1
  48. package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-DnmParhQ.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-uWuWjr8I.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-DL55i0HD.mjs} +1 -1
  53. package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-DTXm56QQ.js} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +1 -0
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs} +43 -40
  56. package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-Cqsy82To.mjs} +313 -207
  58. package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-DIU1rnwH.mjs} +22 -21
  59. package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-DTLgGutU.js} +2 -2
  60. package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-ZWda5GqF.js} +1 -1
  61. package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-m1NasGqw.mjs} +3 -3
  62. package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-BEVdWCrH.js} +1 -1
  63. package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-BYzt1PVP.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js} +1 -1
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs} +6 -6
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs} +6 -6
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js} +1 -1
  68. package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-CunwwXTw.js} +1 -1
  69. package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-NLVkEYFF.mjs} +9 -9
  70. package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-Ba3v0J_R.js} +1 -1
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs} +5 -5
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js} +1 -1
  74. package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-CHrcqSRq.js} +1 -1
  75. package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-CkhBp9kI.mjs} +2 -2
  76. package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CSrVPlUK.js} +1 -1
  77. package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-D5svcVS_.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs} +6 -6
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js} +1 -1
  80. package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-CMVoB2bw.js} +1 -1
  81. package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-yDcsD1hd.mjs} +1 -1
  82. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js} +1 -1
  83. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs} +11 -11
  84. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js} +1 -1
  85. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs} +2 -2
  86. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs} +6 -6
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js} +1 -1
  88. package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-CxdL8-B7.mjs} +1 -1
  89. package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-DS_69pl1.js} +1 -1
  90. package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-BCc8q5j0.js} +1 -1
  91. package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-BK7m7e7q.mjs} +2 -2
  92. package/dist/{cn.es-lC4_Xd0R.js → cn.es-71nFUose.js} +1 -1
  93. package/dist/{cn.es-C8Ogac5T.mjs → cn.es-ZXNzpauQ.mjs} +2 -2
  94. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  95. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  96. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  97. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +6 -6
  98. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  99. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  100. package/dist/components/Invoice/Invoice.cjs +1 -1
  101. package/dist/components/Invoice/Invoice.mjs +9 -9
  102. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  103. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +3 -3
  104. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  105. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  106. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  107. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  108. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  109. package/dist/components/PaymentHistory/PaymentHistory.mjs +3 -3
  110. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  111. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  112. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  113. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  114. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  115. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  116. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  117. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  118. package/dist/{customElements-BYIdPSzQ.js → customElements-hH6pju3X.js} +14 -14
  119. package/dist/{customElements-Df6dGrN-.mjs → customElements-q_i9y0Ph.mjs} +637 -601
  120. package/dist/{customer-DmsKYpVi.mjs → customer-BDoOIAFr.mjs} +1 -1
  121. package/dist/{customer-DoLHZuMG.js → customer-C9q6ti8s.js} +1 -1
  122. package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-B_ik9VNt.mjs} +8 -2
  123. package/dist/{de-DE-CAL9Mji2.js → de-DE-npBTLtKL.js} +1 -1
  124. package/dist/{en-US-E86eRIxh.mjs → en-US-DkCltadt.mjs} +6 -0
  125. package/dist/{en-US-_xe5H4TQ.js → en-US-kGduGoka.js} +1 -1
  126. package/dist/index.cjs +1 -1
  127. package/dist/index.mjs +1 -1
  128. package/dist/{invoices-mw87cNTS.js → invoices-CHp75zZI.js} +1 -1
  129. package/dist/{invoices-CrO6p4Ms.mjs → invoices-DIzkXntV.mjs} +1 -1
  130. package/dist/{it-IT-QFQ1Ajbb.js → it-IT-BayNIAy7.js} +1 -1
  131. package/dist/{it-IT-co1BfV5s.mjs → it-IT-CHj2McbF.mjs} +6 -0
  132. package/dist/{nl-NL-CJXJC1bx.js → nl-NL-0rV4nFLw.js} +1 -1
  133. package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-Cdvd_XMN.mjs} +6 -0
  134. package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-CZGP6_4W.js} +1 -1
  135. package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-DEKp_4QM.mjs} +1 -1
  136. package/dist/{payments-VS_N2xpJ.mjs → payments-C0-Hq2a4.mjs} +1 -1
  137. package/dist/{payments-KTjVHqOa.js → payments-DBvregE8.js} +1 -1
  138. package/dist/screens/Checkout/Checkout.cjs +1 -1
  139. package/dist/screens/Checkout/Checkout.mjs +2 -2
  140. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  141. package/dist/screens/CustomerOverview/CustomerOverview.mjs +11 -11
  142. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  143. package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
  144. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  145. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
  146. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  147. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +19 -19
  148. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  149. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
  150. package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions--9MaTXMb.mjs} +1 -1
  151. package/dist/{subscriptions-Dugd-oZ1.js → subscriptions-BArXBCFr.js} +1 -1
  152. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +4 -2
  154. package/dist/types/services/portals.types.d.ts +2 -0
  155. package/dist/types/services/requests.types.d.ts +2 -0
  156. package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
  157. package/dist/url-vloPOiXd.js +1 -0
  158. package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-BdciAX8T.mjs} +1 -1
  159. package/dist/{useActionDispatchProvider-CTyDGRX8.js → useActionDispatchProvider-CKzeqXzY.js} +1 -1
  160. package/dist/{useCustomer-dcmU1539.mjs → useCustomer-D8ixhuuj.mjs} +1 -1
  161. package/dist/{useCustomer-BXI5Vmit.js → useCustomer-DSYr0F58.js} +1 -1
  162. package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-CRumh405.js} +1 -1
  163. package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-htMZ0xqB.mjs} +5 -5
  164. package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-D29-TO3R.js} +1 -1
  165. package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-JK_kAUQQ.mjs} +1 -1
  166. package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-Bpbog3zW.mjs} +2 -2
  167. package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DhrItfv7.js} +1 -1
  168. package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-BGwcJn4I.mjs} +7 -7
  169. package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-duu_b5GW.js} +1 -1
  170. package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BDmmpcfb.mjs} +1 -1
  171. package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-U2WvBmXT.js} +1 -1
  172. package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DwtT5Czz.js} +1 -1
  173. package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-adqRujTA.mjs} +4 -4
  174. package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-CXdFKFqZ.js} +1 -1
  175. package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-DlZtTQNQ.mjs} +1 -1
  176. package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-BnmSo_rr.mjs} +1 -1
  177. package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-DZ1a0mnr.js} +1 -1
  178. package/dist/{usePayments-G-HpKpK8.js → usePayments-DL4agK2i.js} +1 -1
  179. package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-s-Z1di8d.mjs} +6 -6
  180. package/dist/{usePortal-CMHV-ShD.mjs → usePortal-C4rR5Rhu.mjs} +1 -1
  181. package/dist/{usePortal-BplmMkBG.js → usePortal-Hm7wvtgQ.js} +1 -1
  182. package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DMAEJves.js} +1 -1
  183. package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-DSsXVO0h.mjs} +1 -1
  184. package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-CW8ycmpT.mjs} +1 -1
  185. package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-anHB63am.js} +1 -1
  186. package/package.json +1 -1
  187. package/dist/Checkout.entry.ce-BfLlnQyb.js +0 -1
  188. package/dist/Checkout.entry.ce-CQkrWscC.mjs +0 -3769
  189. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
  190. package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
  191. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js +0 -1
  192. package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +0 -98
  193. package/dist/url-BNKStNY9.js +0 -1
@@ -1,22 +1,22 @@
1
- import { defineComponent as k, computed as w, openBlock as l, createElementBlock as I, withDirectives as R, createElementVNode as O, mergeProps as L, withModifiers as _, unref as n, isRef as F, vModelCheckbox as D, normalizeClass as j, toDisplayString as S, capitalize as N, createBlock as u, withCtx as r, createTextVNode as x, ref as M, createVNode as p, createCommentVNode as b, Fragment as U, renderSlot as W, normalizeProps as q, guardReactiveProps as H } from "vue";
2
- import { f as $ } from "../../formatting.es-RclXHhKo.mjs";
3
- import { _ as V, a as K } from "../../Button.vue.es-BJEy-e9C.mjs";
4
- import { u as Y } from "../../index.es-CXkP_k3u.mjs";
5
- import { _ as Z, u as G, a as J } from "../../usePayments-Dq2V6bTV.mjs";
6
- import { _ as Q } from "../../InvoiceSummary.vue.es-DbtqsTuP.mjs";
7
- import { _ as X } from "../../Section.vue.es-C2_topx4.mjs";
8
- import { u as E, _ as z, d as ee, e as te } from "../../customElements-Df6dGrN-.mjs";
9
- import { C as ne } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
10
- import { _ as ae } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs";
11
- import { _ as A } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
12
- import { _ as T } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs";
13
- import { u as oe, _ as ie } from "../../usePaymentMethodAvailability-DqIvkjLF.mjs";
14
- import { g as re } from "../../customer.es-B5ppZf0j.mjs";
15
- import { u as se } from "../../useLoadInitialData-CWyI3_RR.mjs";
16
- import { u as ce } from "../../usePaymentMethodOptions-MSEp39xQ.mjs";
17
- import { u as le } from "../../usePaymentMethods-U7gnZ0F5.mjs";
18
- import { a as de } from "../../sessionReference-3h-6FdrC.mjs";
19
- const me = { class: "flex items-center gap-1 border-0 py-0" }, ue = ["id", "name", "disabled", "value"], ye = ["for"], pe = /* @__PURE__ */ k({
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-BbSN0uOk.mjs";
4
+ import { u as Z } from "../../index.es-CXkP_k3u.mjs";
5
+ import { _ as G, u as J, a as Q } from "../../usePayments-s-Z1di8d.mjs";
6
+ import { _ as X } from "../../InvoiceSummary.vue.es-6qpbyymg.mjs";
7
+ import { _ as ee } from "../../Section.vue.es-D5svcVS_.mjs";
8
+ import { u as R, _ as T, d as te, e as ne } from "../../customElements-q_i9y0Ph.mjs";
9
+ import { C as ae } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
10
+ import { _ as oe } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.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-DggCusgC.mjs";
13
+ import { u as ie, _ as re } from "../../usePaymentMethodAvailability-adqRujTA.mjs";
14
+ import { g as se } from "../../customer.es-B5ppZf0j.mjs";
15
+ import { u as le } from "../../useLoadInitialData-BDmmpcfb.mjs";
16
+ import { u as ce } from "../../usePaymentMethodOptions-DlZtTQNQ.mjs";
17
+ import { u as de } from "../../usePaymentMethods-BnmSo_rr.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 = Y(t, "modelValue"), d = {
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
- }, c = w(() => m[t.size]);
38
- return (o, i) => (l(), I("label", me, [
39
- R(O("input", L({ id: e.id }, o.$attrs, {
40
- "onUpdate:modelValue": i[0] || (i[0] = (f) => F(a) ? a.value = f : null),
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, ue), [
55
- [D, n(a)]
54
+ }), null, 16, ye), [
55
+ [N, n(a)]
56
56
  ]),
57
- O("span", {
57
+ A("span", {
58
58
  for: e.id,
59
- class: j(["leading-tight", { [c.value]: !0 }])
60
- }, S(e.label), 11, ye)
59
+ class: V(["leading-tight", { [l.value]: !0 }])
60
+ }, k(e.label), 11, pe)
61
61
  ]));
62
62
  }
63
- }), ve = /* @__PURE__ */ k({
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 } = E(), d = w(() => ({
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 c, o, i;
95
- switch ((c = t.paymentMethod) == null ? void 0 : c.paymentMethodType) {
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 ? N((i = t.paymentMethod) == null ? void 0 : i.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: $(t.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: $(t.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 (c, o) => (l(), u(n(V), L(d.value, {
191
+ return (l, o) => (c(), u(n(E), j(d.value, {
192
192
  class: "w-full",
193
- onClick: o[0] || (o[0] = (i) => c.$emit("click", i))
193
+ onClick: o[0] || (o[0] = (i) => l.$emit("click", i))
194
194
  }), {
195
195
  default: r(() => [
196
- x(S(m.value), 1)
196
+ O(k(m.value), 1)
197
197
  ]),
198
198
  _: 1
199
199
  }, 16));
200
200
  }
201
- }), fe = { class: "mt-4" }, ge = { key: 0 }, he = /* @__PURE__ */ k({
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 } = E(), a = e, { availability: d } = oe({
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 = M(), m = M(!0), c = M(), o = M(!1);
222
+ }), s = x(), m = x(!0), l = x(), o = x(!1);
223
223
  function i() {
224
- if (!c.value)
224
+ if (!l.value)
225
225
  throw new Error("payment integration form not found");
226
- o.value = !0, c.value.submit();
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) => (l(), u(n(ne), null, {
233
+ return (g, v) => (c(), u(n(ae), null, {
234
234
  header: r(() => [
235
- p(A, { class: "min-h-[52px] w-96" }, {
235
+ p($, { class: "min-h-[52px] w-96" }, {
236
236
  default: r(() => [
237
- e.invoice && e.downloadService ? (l(), u(n(Z), {
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 C, y;
248
+ var M, y;
249
249
  return [
250
- e.isLoading ? (l(), u(A, {
250
+ e.isLoading ? (c(), u($, {
251
251
  key: 0,
252
252
  variant: "section",
253
253
  class: "min-h-[300px]"
254
254
  })) : b("", !0),
255
- (C = e.invoice) != null && C.paid ? (l(), u(T, {
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(z), {
266
+ p(n(T), {
267
267
  variant: "body-sm",
268
268
  class: "mt-1"
269
269
  }, {
270
270
  default: r(() => [
271
- p(n(K), { icon: "check" }),
272
- x(S(n($)(e.invoice.tax_summary.total_amount)), 1)
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 ? (l(), u(T, {
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(z), {
288
+ p(n(T), {
289
289
  variant: "body-sm",
290
290
  class: "mt-1"
291
291
  }, {
292
292
  default: r(() => [
293
- x(S(n(t)({
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 ? (l(), I(U, { key: 3 }, [
304
- n(d) === "READY" ? (l(), u(n(X), {
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
- O("div", {
317
- class: j({ "pointer-events-none opacity-60": o.value })
318
- }, [
319
- p(ae, {
320
- ref_key: "paymentIntegrationFormRef",
321
- ref: c,
322
- amount: e.amount,
323
- "country-code": e.countryCode,
324
- context: {
325
- type: "INVOICE",
326
- related_resource_ids: [
327
- {
328
- type: "INVOICE",
329
- id: e.invoice.id
330
- }
331
- ]
332
- },
333
- "customer-id": e.invoice.customer.id,
334
- "store-payment-method": m.value,
335
- "invoice-id": e.invoice.id,
336
- "payment-method-options": e.paymentMethodOptions ?? [],
337
- variant: "AUTHORIZE",
338
- onPaymentSuccess: f,
339
- onPaymentFailed: P,
340
- onSelect: v[0] || (v[0] = (h) => s.value = h)
341
- }, null, 8, ["amount", "country-code", "context", "customer-id", "store-payment-method", "invoice-id", "payment-method-options"]),
342
- O("div", fe, [
343
- p(n(pe), {
344
- id: "pay-invoice-store-payment-method",
345
- modelValue: m.value,
346
- "onUpdate:modelValue": v[1] || (v[1] = (h) => m.value = h),
347
- label: n(t)({
348
- id: "pay_invoice.store_payment_method.label",
349
- defaultMessage: "Save this payment method for future payments",
350
- description: "Label of the checkbox that stores the payment method while paying an invoice"
351
- })
352
- }, null, 8, ["modelValue", "label"])
353
- ])
354
- ], 2)
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"])) : (l(), u(ie, {
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 ? (l(), u(n(V), {
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
- x(S(n(t)({
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(A, {
392
+ p($, {
389
393
  variant: "section",
390
394
  class: "min-h-[200px]"
391
395
  }, {
392
396
  default: r(() => [
393
- e.invoice ? (l(), u(n(Q), {
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" ? (l(), I("div", ge, [
401
- p(ve, {
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
- }), be = /* @__PURE__ */ k({
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
- } = G({ invoiceId: t.configuration.invoiceId }), { payments: c, get: o } = J(), { fetchInitial: i } = le({
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 } = se(
450
+ }, { isLoading: v } = le(
447
451
  g(),
448
452
  i(),
449
453
  o(t.configuration.invoiceId)
450
- ), C = w(
454
+ ), M = w(
451
455
  () => {
452
456
  var y;
453
- return (y = a.value) != null && y.customer ? re(a.value.customer) : void 0;
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 B;
458
- return W(y.$slots, "default", {
461
+ var S;
462
+ return q(y.$slots, "default", {
459
463
  invoice: n(a),
460
464
  isLoading: n(v),
461
- amount: (B = n(a)) == null ? void 0 : B.open_invoice_amount,
462
- countryCode: C.value,
465
+ amount: (S = n(a)) == null ? void 0 : S.open_invoice_amount,
466
+ countryCode: M.value,
463
467
  paymentMethodOptions: n(f),
464
- paymentAttempts: n(c),
468
+ paymentAttempts: n(l),
465
469
  downloadService: n(s),
466
470
  error: n(m)
467
471
  });
468
472
  };
469
473
  }
470
- }), we = /* @__PURE__ */ k({
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 = de("pay-invoice");
491
- return (a, d) => (l(), u(n(ee), {
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(be, q(H(a.$props)), {
502
+ p(we, H(K(a.$props)), {
499
503
  default: r(({
500
504
  invoice: s,
501
505
  isLoading: m,
502
- amount: c,
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(he, {
513
+ p(be, {
510
514
  "is-loading": m,
511
515
  invoice: s,
512
- amount: c,
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: _e } = te(
528
- we,
531
+ }), { define: Fe } = ne(
532
+ Pe,
529
533
  "pay-invoice"
530
534
  );
531
535
  export {
532
- _e as defineSolvimonPayInvoice
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-CJNxYacb.js"),y=require("../../Section.vue.es-Cybk1Nb8.js"),c=require("../../customElements-BYIdPSzQ.js"),f=require("../../ContentWithAsideLayout-C6yMIVJF.js"),g=require("../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js"),h=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js"),_=require("../../useCustomer-BXI5Vmit.js"),v=require("../../usePaymentMethods-BAOtOJZD.js"),S=require("../../usePaymentMethodOptions-BPBVGNDg.js"),C=require("../../useLoadInitialData-BO9ZsSsF.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
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../Button.vue.es-CeUTAc2n.js"),y=require("../../Section.vue.es-CSrVPlUK.js"),c=require("../../customElements-hH6pju3X.js"),f=require("../../ContentWithAsideLayout-RSdKXqAf.js"),g=require("../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js"),h=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js"),_=require("../../useCustomer-DSYr0F58.js"),v=require("../../usePaymentMethods-DZ1a0mnr.js"),S=require("../../usePaymentMethodOptions-CXdFKFqZ.js"),C=require("../../useLoadInitialData-U2WvBmXT.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-BJEy-e9C.mjs";
3
- import { _ as k } from "../../Section.vue.es-C2_topx4.mjs";
4
- import { _ as v, u as P, d as L, e as w } from "../../customElements-Df6dGrN-.mjs";
5
- import { C as D } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
6
- import { _ as T } from "../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs";
7
- import { _ as B } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs";
8
- import { u as I } from "../../useCustomer-dcmU1539.mjs";
9
- import { u as N } from "../../usePaymentMethods-U7gnZ0F5.mjs";
10
- import { u as x } from "../../usePaymentMethodOptions-MSEp39xQ.mjs";
11
- import { u as E } from "../../useLoadInitialData-CWyI3_RR.mjs";
2
+ import { _ as S } from "../../Button.vue.es-BbSN0uOk.mjs";
3
+ import { _ as k } from "../../Section.vue.es-D5svcVS_.mjs";
4
+ import { _ as v, u as P, d as L, e as w } from "../../customElements-q_i9y0Ph.mjs";
5
+ import { C as D } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
6
+ import { _ as T } from "../../PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs";
7
+ import { _ as B } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs";
8
+ import { u as I } from "../../useCustomer-D8ixhuuj.mjs";
9
+ import { u as N } from "../../usePaymentMethods-BnmSo_rr.mjs";
10
+ import { u as x } from "../../usePaymentMethodOptions-DlZtTQNQ.mjs";
11
+ import { u as E } from "../../useLoadInitialData-BDmmpcfb.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",