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

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 (204) hide show
  1. package/README.md +3 -0
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js} +1 -1
  4. package/dist/Alert.vue.es-RyK53a2P.js +1 -0
  5. package/dist/Alert.vue.es-lIiAWf2S.mjs +146 -0
  6. package/dist/{Avatar.vue.es-DNJ-jexx.mjs → Avatar.vue.es-2E3laNRb.mjs} +1 -1
  7. package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-DdJreyr_.js} +1 -1
  8. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js} +1 -1
  9. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs} +4 -4
  10. package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-BJEy-e9C.mjs} +1 -1
  11. package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-CJNxYacb.js} +1 -1
  12. package/dist/Checkout.entry.ce-BfLlnQyb.js +1 -0
  13. package/dist/{Checkout.entry.ce-B5-0AM67.mjs → Checkout.entry.ce-CQkrWscC.mjs} +1095 -1073
  14. package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DGbc4L_D.mjs} +2 -2
  15. package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-DLQ4QEPo.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-Bd2kmeVq.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-DL1M7pcr.mjs} +4 -4
  18. package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-CE94ASC3.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-hiFzB43w.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js} +1 -1
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs} +5 -5
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs} +15 -15
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js +1 -0
  24. package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CFZUQ62L.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-CvCgHHXN.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-B3mvv79S.mjs} +2 -2
  29. package/dist/ErrorNotification.vue.es-DI2B7WiR.js +1 -0
  30. package/dist/IconButton.vue.es-Dp8h4YOx.js +1 -0
  31. package/dist/IconButton.vue.es-GLcGhoHC.mjs +56 -0
  32. package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-CzuPQtOX.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-DN9r6nfK.js} +1 -1
  34. package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-5Cq8a7oH.mjs} +2 -2
  35. package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-DM81HeVv.js} +1 -1
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs} +2 -2
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js} +1 -1
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs} +2 -2
  40. package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-DbtqsTuP.mjs} +7 -7
  41. package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-Qy99kLZs.js} +1 -1
  42. package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-DgLl6XBV.js} +1 -1
  43. package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-Z2DWAN2u.mjs} +5 -5
  44. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js +1 -0
  45. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs +294 -0
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-CjP_514k.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-DS1j-8m-.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-80b19Lkq.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CpOZUf-W.mjs} +1 -1
  54. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs} +3 -3
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js} +1 -1
  56. package/dist/{PaymentIntegrationFormAdyen-DfN7cPYZ.mjs → PaymentIntegrationFormAdyen-BQcgDcik.mjs} +281 -204
  57. package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +98 -0
  58. package/dist/PaymentIntegrationFormStripe-CMwLqOe6.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-Dx1H3fZ2.mjs} +249 -178
  60. package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-EhRCfeax.mjs} +3 -3
  61. package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-pLCCzVxN.js} +1 -1
  62. package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-Bw2e1tXo.js} +1 -1
  63. package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-D3OY8zK5.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js} +1 -1
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs} +5 -5
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs} +6 -6
  68. package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-BQqkgmzL.mjs} +9 -9
  69. package/dist/PlanCustomizationEditor-RC8kj2rC.js +1 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-ClkE98ML.js} +2 -2
  71. package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-DNsiUZyT.mjs} +4 -4
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js} +1 -1
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs} +5 -5
  74. package/dist/RadioGroupExtended.vue.es-Dk9xdj76.js +1 -0
  75. package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-vUqn2ZUP.mjs} +3 -3
  76. package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-C2_topx4.mjs} +1 -1
  77. package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-Cybk1Nb8.js} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs} +6 -6
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js} +1 -1
  80. package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-BlCU_xc5.mjs} +1 -1
  81. package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-CNTg_oRy.js} +1 -1
  82. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js +1 -0
  83. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs} +12 -12
  84. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js} +1 -1
  85. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs} +2 -2
  86. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs} +6 -6
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js} +1 -1
  88. package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-Fu9Od3Vr.mjs} +1 -1
  89. package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-OX6bAWP9.js} +1 -1
  90. package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-CbjdkR4i.js} +1 -1
  91. package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-c7tZOIW3.mjs} +2 -2
  92. package/dist/{cn.es-BGqYNPM3.mjs → cn.es-C8Ogac5T.mjs} +2 -2
  93. package/dist/{cn.es-CvmLj7KH.js → cn.es-lC4_Xd0R.js} +1 -1
  94. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  95. package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
  96. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  97. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
  98. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  99. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
  100. package/dist/components/Invoice/Invoice.cjs +1 -1
  101. package/dist/components/Invoice/Invoice.mjs +10 -10
  102. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  103. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  104. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  105. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +8 -8
  106. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  107. package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
  108. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  109. package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
  110. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  111. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
  112. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  113. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
  114. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  115. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
  116. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  117. package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
  118. package/dist/core/index.cjs +1 -1
  119. package/dist/core/index.mjs +26 -23
  120. package/dist/{customElements-Vox1PB6G.js → customElements-BYIdPSzQ.js} +10 -10
  121. package/dist/{customElements-CSE7dwUr.mjs → customElements-Df6dGrN-.mjs} +354 -353
  122. package/dist/{customer-5krPxZ8i.mjs → customer-DmsKYpVi.mjs} +1 -1
  123. package/dist/{customer-Dsq-Moea.js → customer-DoLHZuMG.js} +1 -1
  124. package/dist/{de-DE-DsFtpLsx.mjs → de-DE-Bgm9bnmp.mjs} +19 -0
  125. package/dist/{de-DE-C3DzP1nj.js → de-DE-CAL9Mji2.js} +1 -1
  126. package/dist/{en-US-DvkvbV0p.mjs → en-US-E86eRIxh.mjs} +19 -0
  127. package/dist/{en-US-X_pSFsNm.js → en-US-_xe5H4TQ.js} +1 -1
  128. package/dist/index.cjs +1 -1
  129. package/dist/index.mjs +1 -1
  130. package/dist/{invoices-DRgfpkJ6.mjs → invoices-CrO6p4Ms.mjs} +1 -1
  131. package/dist/{invoices-xOV2YaEV.js → invoices-mw87cNTS.js} +1 -1
  132. package/dist/{it-IT-YBtHAao1.js → it-IT-QFQ1Ajbb.js} +1 -1
  133. package/dist/{it-IT-TE7oqvXa.mjs → it-IT-co1BfV5s.mjs} +21 -2
  134. package/dist/{nl-NL-C8wnyKju.js → nl-NL-CJXJC1bx.js} +1 -1
  135. package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-Drv2E66B.mjs} +19 -0
  136. package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
  137. package/dist/paymentFailure-Cki8c5BX.js +1 -0
  138. package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-BNQbW_f1.mjs} +1 -1
  139. package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-CQdhZwq4.js} +1 -1
  140. package/dist/{payments-jAgXhdp_.js → payments-KTjVHqOa.js} +1 -1
  141. package/dist/{payments-Dvqh6CGW.mjs → payments-VS_N2xpJ.mjs} +1 -1
  142. package/dist/screens/Checkout/Checkout.cjs +1 -1
  143. package/dist/screens/Checkout/Checkout.mjs +2 -2
  144. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  145. package/dist/screens/CustomerOverview/CustomerOverview.mjs +20 -20
  146. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  147. package/dist/screens/PayInvoice/PayInvoice.mjs +12 -12
  148. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  149. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
  150. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  151. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +20 -20
  152. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  153. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
  154. package/dist/sessionReference-3h-6FdrC.mjs +43 -0
  155. package/dist/sessionReference-m_6Rp4X1.js +1 -0
  156. package/dist/subscriptions-Dugd-oZ1.js +1 -0
  157. package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-U4xg2CO1.mjs} +2 -2
  158. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
  159. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +10 -1
  160. package/dist/types/types/errors.d.ts +5 -0
  161. package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-CTyDGRX8.js} +1 -1
  162. package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-DyQbRCxR.mjs} +1 -1
  163. package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BXI5Vmit.js} +1 -1
  164. package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-dcmU1539.mjs} +1 -1
  165. package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-BC1WfqWo.mjs} +5 -5
  166. package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-Ct6vD_b8.js} +1 -1
  167. package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-4Y-ppDr7.mjs} +1 -1
  168. package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9-p9_nP6.js} +1 -1
  169. package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-B2Z9aD2w.mjs} +2 -2
  170. package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-CGvtl7Ai.js} +1 -1
  171. package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Ba0GO8p-.js} +1 -1
  172. package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-DJPznhig.mjs} +7 -7
  173. package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-BO9ZsSsF.js} +1 -1
  174. package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-CWyI3_RR.mjs} +1 -1
  175. package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-DqIvkjLF.mjs} +4 -4
  176. package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-bkmDrPXY.js} +1 -1
  177. package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-BPBVGNDg.js} +1 -1
  178. package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-MSEp39xQ.mjs} +1 -1
  179. package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BAOtOJZD.js} +1 -1
  180. package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-U7gnZ0F5.mjs} +1 -1
  181. package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-Dq2V6bTV.mjs} +6 -6
  182. package/dist/{usePayments-D9Eo-uBk.js → usePayments-G-HpKpK8.js} +1 -1
  183. package/dist/{usePortal-DsebXdhx.js → usePortal-BplmMkBG.js} +1 -1
  184. package/dist/{usePortal-3VCZwSUE.mjs → usePortal-CMHV-ShD.mjs} +1 -1
  185. package/dist/{useSubscription-K_gP9TeX.js → useSubscription-CvB8ROBt.js} +1 -1
  186. package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-V53WsZwQ.mjs} +1 -1
  187. package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-CtCTu9cz.js} +1 -1
  188. package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-D31Zl1MJ.mjs} +1 -1
  189. package/package.json +2 -1
  190. package/dist/Checkout.entry.ce-C52gkrNZ.js +0 -1
  191. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +0 -1
  192. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +0 -1
  193. package/dist/IconButton.vue.es-BTAkuFsm.js +0 -1
  194. package/dist/IconButton.vue.es-C4dQEQAc.mjs +0 -198
  195. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +0 -144
  196. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +0 -1
  197. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +0 -98
  198. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +0 -102
  199. package/dist/PlanCustomizationEditor-XpofGULc.js +0 -1
  200. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +0 -1
  201. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +0 -1
  202. package/dist/component-5wqcK7yz.mjs +0 -8
  203. package/dist/component-B7ZDyqBp.js +0 -1
  204. package/dist/subscriptions-fJcj88X9.js +0 -1
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js"),y=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),u=require("../../useInvoiceData-CRRPdXc6.js"),s=require("../../customElements-Vox1PB6G.js"),v=require("../../component-B7ZDyqBp.js"),d=e.defineComponent({__name:"InvoiceDetails",props:{invoice:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(o,i)=>t.isLoading?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,variant:"section",class:"sv-invoice-details sv-root sv-component sv-loading min-h-[100px]","data-testid":"invoice-details-skeleton"})):(e.openBlock(),e.createBlock(l._sfc_main,{key:1,class:"sv-invoice-details sv-root sv-component",invoice:t.invoice},null,8,["invoice"]))}}),g=e.defineComponent({__name:"InvoiceDetails.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const o=t,i=u.useInvoiceData(o.configuration.invoiceId);return(r,a)=>{var n;return e.renderSlot(r.$slots,"default",{invoice:(n=e.unref(i).data.value)==null?void 0:n.invoice,isLoading:e.unref(i).isPending.value})}}}),m=e.defineComponent({__name:"InvoiceDetails.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var r;const o=v.getComponentName("invoice-details");if(!((r=t.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");return(a,n)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:a.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=c=>a.$emit("error",c))},{default:e.withCtx(()=>[e.createVNode(g,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({invoice:c,isLoading:p})=>[c?(e.openBlock(),e.createBlock(d,{key:0,"is-loading":p,invoice:c,configuration:t.configuration},null,8,["is-loading","invoice","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=s.createSolvimonElement(m,"invoice-details");exports.defineSolvimonInvoiceDetails=_;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js"),y=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),u=require("../../useInvoiceData-CGvtl7Ai.js"),s=require("../../customElements-BYIdPSzQ.js"),v=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"InvoiceDetails",props:{invoice:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(o,i)=>t.isLoading?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,variant:"section",class:"sv-invoice-details sv-root sv-component sv-loading min-h-[100px]","data-testid":"invoice-details-skeleton"})):(e.openBlock(),e.createBlock(l._sfc_main,{key:1,class:"sv-invoice-details sv-root sv-component",invoice:t.invoice},null,8,["invoice"]))}}),g=e.defineComponent({__name:"InvoiceDetails.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const o=t,i=u.useInvoiceData(o.configuration.invoiceId);return(r,a)=>{var n;return e.renderSlot(r.$slots,"default",{invoice:(n=e.unref(i).data.value)==null?void 0:n.invoice,isLoading:e.unref(i).isPending.value})}}}),m=e.defineComponent({__name:"InvoiceDetails.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var r;const o=v.getComponentName("invoice-details");if(!((r=t.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");return(a,n)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:a.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=c=>a.$emit("error",c))},{default:e.withCtx(()=>[e.createVNode(g,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({invoice:c,isLoading:p})=>[c?(e.openBlock(),e.createBlock(d,{key:0,"is-loading":p,invoice:c,configuration:t.configuration},null,8,["is-loading","invoice","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=s.createSolvimonElement(m,"invoice-details");exports.defineSolvimonInvoiceDetails=f;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as l, openBlock as a, createBlock as s, renderSlot as d, unref as c, withCtx as y, createVNode as g, normalizeProps as v, guardReactiveProps as u, createCommentVNode as f } from "vue";
2
- import { _ as S } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs";
2
+ import { _ as S } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs";
3
3
  import { _ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
4
- import { u as O } from "../../useInvoiceData-D8ds05CX.mjs";
5
- import { d as b, e as j } from "../../customElements-CSE7dwUr.mjs";
6
- import { g as w } from "../../component-5wqcK7yz.mjs";
4
+ import { u as O } from "../../useInvoiceData-B2Z9aD2w.mjs";
5
+ import { d as b, e as j } from "../../customElements-Df6dGrN-.mjs";
6
+ import { a as w } from "../../sessionReference-3h-6FdrC.mjs";
7
7
  const C = /* @__PURE__ */ l({
8
8
  __name: "InvoiceDetails",
9
9
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js"),p=require("../../customElements-Vox1PB6G.js"),y=require("../../component-B7ZDyqBp.js"),v=e.defineComponent({__name:"InvoiceHeader.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(l){var r;const s=y.getComponentName("invoice-header"),o=l;if(!((r=o.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");const t=e.computed(()=>({...o,configuration:{enableDownloadButton:!0,...o.configuration}}));return(i,a)=>(e.openBlock(),e.createBlock(e.unref(p._sfc_main$1),{entry:i.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:a[0]||(a[0]=n=>i.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(c._sfc_main,{"invoice-id":t.value.configuration.invoiceId},{default:e.withCtx(({invoice:n,payments:u,isLoading:d,invoiceDownloadService:m})=>[n?(e.openBlock(),e.createBlock(c._sfc_main$1,{key:0,"is-loading":d,invoice:n,"invoice-download-service":m,payments:u.payments.value,configuration:t.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:g}=p.createSolvimonElement(v,"invoice-header");exports.defineSolvimonInvoiceHeader=g;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js"),s=require("../../customElements-BYIdPSzQ.js"),m=require("../../sessionReference-m_6Rp4X1.js"),v=e.defineComponent({__name:"InvoiceHeader.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(p){var r;const l=m.getComponentName("invoice-header"),o=p;if(!((r=o.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");const t=e.computed(()=>({...o,configuration:{enableDownloadButton:!0,...o.configuration}}));return(i,a)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:i.$props,"component-name":e.unref(l),"allowed-portal-types":["CUSTOMER"],onError:a[0]||(a[0]=n=>i.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(c._sfc_main,{"invoice-id":t.value.configuration.invoiceId},{default:e.withCtx(({invoice:n,payments:u,isLoading:d,invoiceDownloadService:y})=>[n?(e.openBlock(),e.createBlock(c._sfc_main$1,{key:0,"is-loading":d,invoice:n,"invoice-download-service":y,payments:u.payments.value,configuration:t.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:g}=s.createSolvimonElement(v,"invoice-header");exports.defineSolvimonInvoiceHeader=g;
@@ -1,8 +1,8 @@
1
- import { defineComponent as u, computed as f, openBlock as a, createBlock as c, unref as p, withCtx as s, createVNode as v, createCommentVNode as S } from "vue";
2
- import { _, a as w } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs";
3
- import { d as b, e as C } from "../../customElements-CSE7dwUr.mjs";
4
- import { g as O } from "../../component-5wqcK7yz.mjs";
5
- const j = /* @__PURE__ */ u({
1
+ import { defineComponent as f, computed as g, openBlock as a, createBlock as c, unref as p, withCtx as s, createVNode as v, createCommentVNode as S } from "vue";
2
+ import { _, a as w } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs";
3
+ import { d as b, e as C } from "../../customElements-Df6dGrN-.mjs";
4
+ import { a as O } from "../../sessionReference-3h-6FdrC.mjs";
5
+ const j = /* @__PURE__ */ f({
6
6
  __name: "InvoiceHeader.entry",
7
7
  props: {
8
8
  environment: { type: String },
@@ -26,7 +26,7 @@ const j = /* @__PURE__ */ u({
26
26
  const l = O("invoice-header"), o = m;
27
27
  if (!((t = o.configuration) != null && t.invoiceId))
28
28
  throw new Error("Missing invoice id");
29
- const n = f(() => ({
29
+ const n = g(() => ({
30
30
  ...o,
31
31
  configuration: {
32
32
  enableDownloadButton: !0,
@@ -43,12 +43,12 @@ const j = /* @__PURE__ */ u({
43
43
  v(_, {
44
44
  "invoice-id": n.value.configuration.invoiceId
45
45
  }, {
46
- default: s(({ invoice: e, payments: d, isLoading: y, invoiceDownloadService: g }) => [
46
+ default: s(({ invoice: e, payments: d, isLoading: y, invoiceDownloadService: u }) => [
47
47
  e ? (a(), c(w, {
48
48
  key: 0,
49
49
  "is-loading": y,
50
50
  invoice: e,
51
- "invoice-download-service": g,
51
+ "invoice-download-service": u,
52
52
  payments: d.payments.value,
53
53
  configuration: n.value.configuration
54
54
  }, null, 8, ["is-loading", "invoice", "invoice-download-service", "payments", "configuration"])) : S("", !0)
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../useInvoicesList-DIfQcvER.js"),y=require("../../useLoadInitialData-DsabgMLZ.js"),p=require("../../customElements-Vox1PB6G.js"),u=require("../../component-B7ZDyqBp.js"),m=15,d=e.defineComponent({__name:"InvoicesList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){var i,s;const r=a,o=r.portalObject.customer_id,n=c.useInvoicesList({customerId:o,batchSize:((s=(i=r.configuration)==null?void 0:i.pagination)==null?void 0:s.batchSize)||m}),{isLoading:t}=y.useLoadInitialData(n.fetchInitial());return(l,f)=>e.renderSlot(l.$slots,"default",{isLoading:e.unref(t),invoices:e.unref(n)})}}),g=e.defineComponent({__name:"InvoicesList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){const r=u.getComponentName("invoices-list");return(o,n)=>(e.openBlock(),e.createBlock(e.unref(p._sfc_main$1),{entry:o.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoices:t,isLoading:i})=>[e.createVNode(c._sfc_main,{configuration:a.configuration,invoices:t.items.value,"is-loading":i,"has-more-items":t.hasNextBatch.value,onLoadMore:t.fetchMore},null,8,["configuration","invoices","is-loading","has-more-items","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:S}=p.createSolvimonElement(g,"invoices-list");exports.defineSolvimonInvoicesList=S;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../useInvoicesList-Ba0GO8p-.js"),y=require("../../useLoadInitialData-BO9ZsSsF.js"),p=require("../../customElements-BYIdPSzQ.js"),u=require("../../sessionReference-m_6Rp4X1.js"),m=15,d=e.defineComponent({__name:"InvoicesList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){var i,s;const r=a,o=r.portalObject.customer_id,n=c.useInvoicesList({customerId:o,batchSize:((s=(i=r.configuration)==null?void 0:i.pagination)==null?void 0:s.batchSize)||m}),{isLoading:t}=y.useLoadInitialData(n.fetchInitial());return(l,S)=>e.renderSlot(l.$slots,"default",{isLoading:e.unref(t),invoices:e.unref(n)})}}),g=e.defineComponent({__name:"InvoicesList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){const r=u.getComponentName("invoices-list");return(o,n)=>(e.openBlock(),e.createBlock(e.unref(p._sfc_main$1),{entry:o.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoices:t,isLoading:i})=>[e.createVNode(c._sfc_main,{configuration:a.configuration,invoices:t.items.value,"is-loading":i,"has-more-items":t.hasNextBatch.value,onLoadMore:t.fetchMore},null,8,["configuration","invoices","is-loading","has-more-items","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=p.createSolvimonElement(g,"invoices-list");exports.defineSolvimonInvoicesList=f;
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as l, renderSlot as m, unref as i, openBlock as g, createBlock as d, withCtx as p, createVNode as c, normalizeProps as u, guardReactiveProps as f } from "vue";
2
- import { u as S, _ as v } from "../../useInvoicesList-SJU5YWBQ.mjs";
3
- import { u as L } from "../../useLoadInitialData-MUljS38K.mjs";
4
- import { d as _, e as b } from "../../customElements-CSE7dwUr.mjs";
5
- import { g as O } from "../../component-5wqcK7yz.mjs";
2
+ import { u as S, _ as v } from "../../useInvoicesList-DJPznhig.mjs";
3
+ import { u as L } from "../../useLoadInitialData-CWyI3_RR.mjs";
4
+ import { d as _, e as b } from "../../customElements-Df6dGrN-.mjs";
5
+ import { a as O } from "../../sessionReference-3h-6FdrC.mjs";
6
6
  const h = 15, j = /* @__PURE__ */ l({
7
7
  __name: "InvoicesList.entry.view",
8
8
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js"),l=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),u=require("../../useInvoiceData-CRRPdXc6.js"),c=require("../../customElements-Vox1PB6G.js"),g=require("../../component-B7ZDyqBp.js"),d=e.defineComponent({__name:"PaymentHistory",props:{customer:{type:Object},paymentAttempts:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(a,o)=>t.isLoading?(e.openBlock(),e.createBlock(l._sfc_main,{key:0,variant:"section",class:"sv-payment-history sv-root sv-component sv-loading min-h-[100px]","data-testid":"payment-history-skeleton"})):t.paymentAttempts.length?(e.openBlock(),e.createBlock(m._sfc_main,{key:1,class:"sv-payment-history sv-root sv-component","payment-attempts":t.paymentAttempts,customer:t.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0)}}),v=e.defineComponent({__name:"PaymentHistory.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const a=t,o=u.useInvoiceData(a.configuration.invoiceId);return(i,s)=>{var r,n;return e.renderSlot(i.$slots,"default",{invoice:(r=e.unref(o).data.value)==null?void 0:r.invoice,paymentAttempts:(n=e.unref(o).data.value)==null?void 0:n.paymentAttempts.data,isLoading:e.unref(o).isPending.value})}}}),f=e.defineComponent({__name:"PaymentHistory.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var i;const a=g.getComponentName("payment-history");if(!((i=t.configuration)!=null&&i.invoiceId))throw new Error("Missing invoice id");return(s,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:s.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=n=>s.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(v,e.normalizeProps(e.guardReactiveProps(s.$props)),{default:e.withCtx(({invoice:n,paymentAttempts:p,isLoading:y})=>[n&&p?(e.openBlock(),e.createBlock(d,{key:0,"is-loading":y,customer:n.customer,"payment-attempts":p,configuration:t.configuration},null,8,["is-loading","customer","payment-attempts","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=c.createSolvimonElement(f,"payment-history");exports.defineSolvimonPaymentHistory=_;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js"),l=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),u=require("../../useInvoiceData-CGvtl7Ai.js"),c=require("../../customElements-BYIdPSzQ.js"),g=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"PaymentHistory",props:{customer:{type:Object},paymentAttempts:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(a,o)=>t.isLoading?(e.openBlock(),e.createBlock(l._sfc_main,{key:0,variant:"section",class:"sv-payment-history sv-root sv-component sv-loading min-h-[100px]","data-testid":"payment-history-skeleton"})):t.paymentAttempts.length?(e.openBlock(),e.createBlock(m._sfc_main,{key:1,class:"sv-payment-history sv-root sv-component","payment-attempts":t.paymentAttempts,customer:t.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0)}}),v=e.defineComponent({__name:"PaymentHistory.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const a=t,o=u.useInvoiceData(a.configuration.invoiceId);return(i,s)=>{var r,n;return e.renderSlot(i.$slots,"default",{invoice:(r=e.unref(o).data.value)==null?void 0:r.invoice,paymentAttempts:(n=e.unref(o).data.value)==null?void 0:n.paymentAttempts.data,isLoading:e.unref(o).isPending.value})}}}),f=e.defineComponent({__name:"PaymentHistory.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var i;const a=g.getComponentName("payment-history");if(!((i=t.configuration)!=null&&i.invoiceId))throw new Error("Missing invoice id");return(s,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:s.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=n=>s.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(v,e.normalizeProps(e.guardReactiveProps(s.$props)),{default:e.withCtx(({invoice:n,paymentAttempts:p,isLoading:y})=>[n&&p?(e.openBlock(),e.createBlock(d,{key:0,"is-loading":y,customer:n.customer,"payment-attempts":p,configuration:t.configuration},null,8,["is-loading","customer","payment-attempts","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=c.createSolvimonElement(f,"payment-history");exports.defineSolvimonPaymentHistory=_;
@@ -1,9 +1,9 @@
1
- import { defineComponent as m, openBlock as s, createBlock as p, createCommentVNode as g, renderSlot as d, unref as r, withCtx as l, createVNode as f, normalizeProps as v, guardReactiveProps as S } from "vue";
2
- import { _ as O } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs";
1
+ import { defineComponent as m, openBlock as s, createBlock as p, createCommentVNode as u, renderSlot as d, unref as r, withCtx as l, createVNode as f, normalizeProps as v, guardReactiveProps as S } from "vue";
2
+ import { _ as O } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs";
3
3
  import { _ as b } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
4
- import { u as _ } from "../../useInvoiceData-D8ds05CX.mjs";
5
- import { d as h, e as j } from "../../customElements-CSE7dwUr.mjs";
6
- import { g as A } from "../../component-5wqcK7yz.mjs";
4
+ import { u as _ } from "../../useInvoiceData-B2Z9aD2w.mjs";
5
+ import { d as h, e as j } from "../../customElements-Df6dGrN-.mjs";
6
+ import { a as A } from "../../sessionReference-3h-6FdrC.mjs";
7
7
  const w = /* @__PURE__ */ m({
8
8
  __name: "PaymentHistory",
9
9
  props: {
@@ -23,7 +23,7 @@ const w = /* @__PURE__ */ m({
23
23
  class: "sv-payment-history sv-root sv-component",
24
24
  "payment-attempts": t.paymentAttempts,
25
25
  customer: t.customer
26
- }, null, 8, ["payment-attempts", "customer"])) : g("", !0);
26
+ }, null, 8, ["payment-attempts", "customer"])) : u("", !0);
27
27
  }
28
28
  }), C = /* @__PURE__ */ m({
29
29
  __name: "PaymentHistory.entry.view",
@@ -87,14 +87,14 @@ const w = /* @__PURE__ */ m({
87
87
  }, {
88
88
  default: l(() => [
89
89
  f(C, v(S(i.$props)), {
90
- default: l(({ invoice: e, paymentAttempts: c, isLoading: u }) => [
90
+ default: l(({ invoice: e, paymentAttempts: c, isLoading: g }) => [
91
91
  e && c ? (s(), p(w, {
92
92
  key: 0,
93
- "is-loading": u,
93
+ "is-loading": g,
94
94
  customer: e.customer,
95
95
  "payment-attempts": c,
96
96
  configuration: t.configuration
97
- }, null, 8, ["is-loading", "customer", "payment-attempts", "configuration"])) : g("", !0)
97
+ }, null, 8, ["is-loading", "customer", "payment-attempts", "configuration"])) : u("", !0)
98
98
  ]),
99
99
  _: 1
100
100
  }, 16)
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("../../customer.es-BButyYo0.js"),u=require("../../useLoadInitialData-DsabgMLZ.js"),l=require("../../useCustomer-DSx-wN-6.js"),d=require("../../usePaymentMethodOptions-cT1o-BA1.js"),g=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js"),m=require("../../customElements-Vox1PB6G.js"),f=require("../../component-B7ZDyqBp.js"),S=e.defineComponent({__name:"PaymentMethodForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=r,i=l.useCustomer({customerId:a.portalObject.customer_id}),n=d.usePaymentMethodOptions(),s=async()=>{var c;const o=await i.get.execute(),p=y.getCustomerCountry(o);await n.get({customerId:o.id,country:p,amount:(c=a.configuration)==null?void 0:c.amount})},{isLoading:t}=u.useLoadInitialData(s());return(o,p)=>e.renderSlot(o.$slots,"default",{customer:e.unref(i).customer.value,paymentMethodOptions:e.unref(n),isLoading:e.unref(t)})}}),O=e.defineComponent({__name:"PaymentMethodForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=f.getComponentName("payment-method-form"),i=r;return(n,s)=>(e.openBlock(),e.createBlock(e.unref(m._sfc_main$1),{entry:n.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:s[0]||(s[0]=t=>n.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(S,e.normalizeProps(e.guardReactiveProps(i)),{default:e.withCtx(({customer:t,paymentMethodOptions:o,isLoading:p})=>[t?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,customer:t,"payment-method-options":o.paymentMethodOptions.value,configuration:r.configuration,"is-loading":p},null,8,["customer","payment-method-options","configuration","is-loading"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=m.createSolvimonElement(O,"payment-method-form");exports.defineSolvimonPaymentMethodForm=_;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("../../customer.es-BButyYo0.js"),u=require("../../useLoadInitialData-BO9ZsSsF.js"),l=require("../../useCustomer-BXI5Vmit.js"),d=require("../../usePaymentMethodOptions-BPBVGNDg.js"),g=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js"),m=require("../../customElements-BYIdPSzQ.js"),f=require("../../sessionReference-m_6Rp4X1.js"),S=e.defineComponent({__name:"PaymentMethodForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=r,i=l.useCustomer({customerId:a.portalObject.customer_id}),n=d.usePaymentMethodOptions(),s=async()=>{var c;const o=await i.get.execute(),p=y.getCustomerCountry(o);await n.get({customerId:o.id,country:p,amount:(c=a.configuration)==null?void 0:c.amount})},{isLoading:t}=u.useLoadInitialData(s());return(o,p)=>e.renderSlot(o.$slots,"default",{customer:e.unref(i).customer.value,paymentMethodOptions:e.unref(n),isLoading:e.unref(t)})}}),O=e.defineComponent({__name:"PaymentMethodForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=f.getComponentName("payment-method-form"),i=r;return(n,s)=>(e.openBlock(),e.createBlock(e.unref(m._sfc_main$1),{entry:n.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:s[0]||(s[0]=t=>n.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(S,e.normalizeProps(e.guardReactiveProps(i)),{default:e.withCtx(({customer:t,paymentMethodOptions:o,isLoading:p})=>[t?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,customer:t,"payment-method-options":o.paymentMethodOptions.value,configuration:r.configuration,"is-loading":p},null,8,["customer","payment-method-options","configuration","is-loading"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=m.createSolvimonElement(O,"payment-method-form");exports.defineSolvimonPaymentMethodForm=_;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as d, renderSlot as u, unref as n, openBlock as y, createBlock as c, withCtx as l, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
2
2
  import { g as h } from "../../customer.es-B5ppZf0j.mjs";
3
- import { u as C } from "../../useLoadInitialData-MUljS38K.mjs";
4
- import { u as b } from "../../useCustomer-CP8eWUZV.mjs";
5
- import { u as _ } from "../../usePaymentMethodOptions-B7JYkGsw.mjs";
6
- import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs";
7
- import { d as j, e as L } from "../../customElements-CSE7dwUr.mjs";
8
- import { g as w } from "../../component-5wqcK7yz.mjs";
3
+ import { u as C } from "../../useLoadInitialData-CWyI3_RR.mjs";
4
+ import { u as b } from "../../useCustomer-dcmU1539.mjs";
5
+ import { u as _ } from "../../usePaymentMethodOptions-MSEp39xQ.mjs";
6
+ import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs";
7
+ import { d as j, e as L } from "../../customElements-Df6dGrN-.mjs";
8
+ import { a as w } from "../../sessionReference-3h-6FdrC.mjs";
9
9
  const M = /* @__PURE__ */ d({
10
10
  __name: "PaymentMethodForm.entry.view",
11
11
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js"),u=require("../../useSubscription-K_gP9TeX.js"),l=require("../../useLoadInitialData-DsabgMLZ.js"),c=require("../../customElements-Vox1PB6G.js"),y=require("../../component-B7ZDyqBp.js"),d=e.defineComponent({__name:"SubscriptionSchedules.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=n,{subscription:o,withPlanData:r,get:i}=u.useSubscription({subscriptionId:s.configuration.subscriptionId}),{isLoading:t}=l.useLoadInitialData(i());return(a,S)=>e.renderSlot(a.$slots,"default",{schedulesData:e.unref(o)?e.unref(r)(e.unref(o)):void 0,isLoading:e.unref(t)})}}),g=e.defineComponent({__name:"SubscriptionSchedules.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=y.getComponentName("subscription-schedules"),o=n;return(r,i)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:r.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=t=>r.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(({schedulesData:t,isLoading:a})=>[t?(e.openBlock(),e.createBlock(p._sfc_main,{key:0,"schedules-data":t,"is-loading":a,configuration:n.configuration},null,8,["schedules-data","is-loading","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:m}=c.createSolvimonElement(g,"subscription-schedules");exports.defineSolvimonSubscriptionSchedules=m;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js"),u=require("../../useSubscription-CvB8ROBt.js"),l=require("../../useLoadInitialData-BO9ZsSsF.js"),c=require("../../customElements-BYIdPSzQ.js"),y=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"SubscriptionSchedules.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=n,{subscription:o,withPlanData:r,get:i}=u.useSubscription({subscriptionId:s.configuration.subscriptionId}),{isLoading:t}=l.useLoadInitialData(i());return(a,S)=>e.renderSlot(a.$slots,"default",{schedulesData:e.unref(o)?e.unref(r)(e.unref(o)):void 0,isLoading:e.unref(t)})}}),g=e.defineComponent({__name:"SubscriptionSchedules.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=y.getComponentName("subscription-schedules"),o=n;return(r,i)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:r.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=t=>r.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(({schedulesData:t,isLoading:a})=>[t?(e.openBlock(),e.createBlock(p._sfc_main,{key:0,"schedules-data":t,"is-loading":a,configuration:n.configuration},null,8,["schedules-data","is-loading","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:m}=c.createSolvimonElement(g,"subscription-schedules");exports.defineSolvimonSubscriptionSchedules=m;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as y, renderSlot as u, unref as t, openBlock as p, createBlock as c, withCtx as l, createVNode as m, normalizeProps as d, guardReactiveProps as g, createCommentVNode as S } from "vue";
2
- import { _ as f } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs";
3
- import { u as b } from "../../useSubscription-DnL1wVh1.mjs";
4
- import { u as O } from "../../useLoadInitialData-MUljS38K.mjs";
5
- import { d as _, e as h } from "../../customElements-CSE7dwUr.mjs";
6
- import { g as v } from "../../component-5wqcK7yz.mjs";
2
+ import { _ as f } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs";
3
+ import { u as b } from "../../useSubscription-V53WsZwQ.mjs";
4
+ import { u as O } from "../../useLoadInitialData-CWyI3_RR.mjs";
5
+ import { d as _, e as h } from "../../customElements-Df6dGrN-.mjs";
6
+ import { a as v } from "../../sessionReference-3h-6FdrC.mjs";
7
7
  const j = /* @__PURE__ */ y({
8
8
  __name: "SubscriptionSchedules.entry.view",
9
9
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js"),y=require("../../useCustomer-DSx-wN-6.js"),m=require("../../useLoadInitialData-DsabgMLZ.js"),d=require("../../usePaymentMethods-DNVw2eVg.js"),l=require("../../customElements-Vox1PB6G.js"),g=require("../../component-B7ZDyqBp.js"),S=e.defineComponent({__name:"SubscriptionsList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const t=s.portalObject.customer_id,n=y.useCustomer({customerId:t}),o=u.useSubscriptionsList({customerId:t}),r=d.usePaymentMethods({customerId:t}),{isLoading:i}=m.useLoadInitialData(n.get.execute(),o.fetchInitial(),r.fetchAll());return(a,c)=>e.renderSlot(a.$slots,"default",{customer:e.unref(n),subscriptions:e.unref(o).items,paymentMethods:e.unref(r).items,isLoading:e.unref(i),loadMore:e.unref(o).fetchMore})}}),f=e.defineComponent({__name:"SubscriptionsList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const p=g.getComponentName("subscriptions-list");return(t,n)=>(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{entry:t.$props,"component-name":e.unref(p),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=o=>t.$emit("error",o))},{default:e.withCtx(()=>[e.createVNode(S,e.normalizeProps(e.guardReactiveProps(t.$props)),{default:e.withCtx(({customer:o,subscriptions:r,paymentMethods:i,isLoading:a,loadMore:c})=>[e.createVNode(u._sfc_main,{configuration:s.configuration,customer:o.customer.value,subscriptions:r.value,"payment-methods":i.value,"is-loading":a,onLoadMore:c},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:b}=l.createSolvimonElement(f,"subscriptions-list");exports.defineSolvimonSubscriptionsList=b;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js"),y=require("../../useCustomer-BXI5Vmit.js"),m=require("../../useLoadInitialData-BO9ZsSsF.js"),d=require("../../usePaymentMethods-BAOtOJZD.js"),l=require("../../customElements-BYIdPSzQ.js"),g=require("../../sessionReference-m_6Rp4X1.js"),f=e.defineComponent({__name:"SubscriptionsList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const t=s.portalObject.customer_id,n=y.useCustomer({customerId:t}),o=u.useSubscriptionsList({customerId:t}),r=d.usePaymentMethods({customerId:t}),{isLoading:i}=m.useLoadInitialData(n.get.execute(),o.fetchInitial(),r.fetchAll());return(a,c)=>e.renderSlot(a.$slots,"default",{customer:e.unref(n),subscriptions:e.unref(o).items,paymentMethods:e.unref(r).items,isLoading:e.unref(i),loadMore:e.unref(o).fetchMore})}}),S=e.defineComponent({__name:"SubscriptionsList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const p=g.getComponentName("subscriptions-list");return(t,n)=>(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{entry:t.$props,"component-name":e.unref(p),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=o=>t.$emit("error",o))},{default:e.withCtx(()=>[e.createVNode(f,e.normalizeProps(e.guardReactiveProps(t.$props)),{default:e.withCtx(({customer:o,subscriptions:r,paymentMethods:i,isLoading:a,loadMore:c})=>[e.createVNode(u._sfc_main,{configuration:s.configuration,customer:o.customer.value,subscriptions:r.value,"payment-methods":i.value,"is-loading":a,onLoadMore:c},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:b}=l.createSolvimonElement(S,"subscriptions-list");exports.defineSolvimonSubscriptionsList=b;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as y, renderSlot as u, unref as o, openBlock as d, createBlock as g, withCtx as m, createVNode as l, normalizeProps as f, guardReactiveProps as S } from "vue";
2
- import { u as b, _ as L } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs";
3
- import { u as O } from "../../useCustomer-CP8eWUZV.mjs";
4
- import { u as _ } from "../../useLoadInitialData-MUljS38K.mjs";
5
- import { u as v } from "../../usePaymentMethods-CpzqXQUT.mjs";
6
- import { d as h, e as j } from "../../customElements-CSE7dwUr.mjs";
7
- import { g as C } from "../../component-5wqcK7yz.mjs";
2
+ import { u as b, _ as L } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs";
3
+ import { u as O } from "../../useCustomer-dcmU1539.mjs";
4
+ import { u as _ } from "../../useLoadInitialData-CWyI3_RR.mjs";
5
+ import { u as v } from "../../usePaymentMethods-U7gnZ0F5.mjs";
6
+ import { d as h, e as j } from "../../customElements-Df6dGrN-.mjs";
7
+ import { a as C } from "../../sessionReference-3h-6FdrC.mjs";
8
8
  const M = /* @__PURE__ */ y({
9
9
  __name: "SubscriptionsList.entry.view",
10
10
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../error-CmduqgVq.js"),i=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js"),y=require("../../useLoadInitialData-DsabgMLZ.js"),c=require("../../customElements-Vox1PB6G.js"),m=require("../../component-B7ZDyqBp.js"),d=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array},showTopUpButton:{type:Boolean},customer:{type:Object},paymentMethods:{type:Array},subscriptions:{type:Array}},emits:["top-up-charged","auto-top-up-saved","auto-top-up-cancelled","payment-method-stored","payment-failed"],setup(n,{emit:l}){const o=l;return(r,t)=>(e.openBlock(),e.createBlock(i._sfc_main,{class:"sv-wallet-balances sv-root sv-component","has-error":n.hasError,"is-loading":n.isLoading,"wallet-balances":n.walletBalances,"show-top-up-button":n.showTopUpButton,customer:n.customer,"payment-methods":n.paymentMethods,subscriptions:n.subscriptions,onTopUpCharged:t[0]||(t[0]=a=>o("top-up-charged")),onAutoTopUpSaved:t[1]||(t[1]=a=>o("auto-top-up-saved")),onAutoTopUpCancelled:t[2]||(t[2]=a=>o("auto-top-up-cancelled")),onPaymentMethodStored:t[3]||(t[3]=a=>o("payment-method-stored")),onPaymentFailed:t[4]||(t[4]=a=>o("payment-failed",a))},null,8,["has-error","is-loading","wallet-balances","show-top-up-button","customer","payment-methods","subscriptions"]))}}),g=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const o=n.portalObject.customer_id,r=i.useCustomerWalletBalances({customerId:o}),{walletBalances:t}=r,{isLoading:a}=y.useLoadInitialData(r.fetch());return(s,v)=>{var p;return e.renderSlot(s.$slots,"default",{customerWalletBalances:e.unref(r),walletBalanceItems:((p=e.unref(t))==null?void 0:p.wallet_balances)??[],isLoading:e.unref(a)})}}}),b=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const l=m.getComponentName("wallet-balances");return(o,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:o.$props,"component-name":e.unref(l),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(g,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({customerWalletBalances:t,walletBalanceItems:a,isLoading:s})=>[e.createVNode(d,{"has-error":t.apiStatus.value===e.unref(u.ApiStatus).Failed,"is-loading":s,"wallet-balances":a},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:S}=c.createSolvimonElement(b,"wallet-balances");exports.defineSolvimonWalletBalances=S;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../error-CmduqgVq.js"),i=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js"),y=require("../../useLoadInitialData-BO9ZsSsF.js"),c=require("../../customElements-BYIdPSzQ.js"),m=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array},showTopUpButton:{type:Boolean},customer:{type:Object},paymentMethods:{type:Array},subscriptions:{type:Array}},emits:["top-up-charged","auto-top-up-saved","auto-top-up-cancelled","payment-method-stored","payment-failed"],setup(n,{emit:s}){const o=s;return(r,t)=>(e.openBlock(),e.createBlock(i._sfc_main,{class:"sv-wallet-balances sv-root sv-component","has-error":n.hasError,"is-loading":n.isLoading,"wallet-balances":n.walletBalances,"show-top-up-button":n.showTopUpButton,customer:n.customer,"payment-methods":n.paymentMethods,subscriptions:n.subscriptions,onTopUpCharged:t[0]||(t[0]=a=>o("top-up-charged")),onAutoTopUpSaved:t[1]||(t[1]=a=>o("auto-top-up-saved")),onAutoTopUpCancelled:t[2]||(t[2]=a=>o("auto-top-up-cancelled")),onPaymentMethodStored:t[3]||(t[3]=a=>o("payment-method-stored")),onPaymentFailed:t[4]||(t[4]=a=>o("payment-failed",a))},null,8,["has-error","is-loading","wallet-balances","show-top-up-button","customer","payment-methods","subscriptions"]))}}),g=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const o=n.portalObject.customer_id,r=i.useCustomerWalletBalances({customerId:o}),{walletBalances:t}=r,{isLoading:a}=y.useLoadInitialData(r.fetch());return(l,v)=>{var p;return e.renderSlot(l.$slots,"default",{customerWalletBalances:e.unref(r),walletBalanceItems:((p=e.unref(t))==null?void 0:p.wallet_balances)??[],isLoading:e.unref(a)})}}}),b=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const s=m.getComponentName("wallet-balances");return(o,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:o.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(g,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({customerWalletBalances:t,walletBalanceItems:a,isLoading:l})=>[e.createVNode(d,{"has-error":t.apiStatus.value===e.unref(u.ApiStatus).Failed,"is-loading":l,"wallet-balances":a},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:S}=c.createSolvimonElement(b,"wallet-balances");exports.defineSolvimonWalletBalances=S;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as p, openBlock as y, createBlock as u, renderSlot as d, unref as r, withCtx as m, createVNode as c, normalizeProps as g, guardReactiveProps as b } from "vue";
2
2
  import { A as S } from "../../error-BHVZJGwD.mjs";
3
- import { _ as w, u as f } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs";
4
- import { u as v } from "../../useLoadInitialData-MUljS38K.mjs";
5
- import { d as B, e as h } from "../../customElements-CSE7dwUr.mjs";
6
- import { g as A } from "../../component-5wqcK7yz.mjs";
3
+ import { _ as w, u as f } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs";
4
+ import { u as v } from "../../useLoadInitialData-CWyI3_RR.mjs";
5
+ import { d as B, e as h } from "../../customElements-Df6dGrN-.mjs";
6
+ import { a as A } from "../../sessionReference-3h-6FdrC.mjs";
7
7
  const O = /* @__PURE__ */ p({
8
8
  __name: "WalletBalances",
9
9
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../component-B7ZDyqBp.js"),s={"customer-overview":()=>Promise.resolve().then(()=>require("../screens/CustomerOverview/CustomerOverview.cjs")).then(e=>e.defineSolvimonCustomerOverview),checkout:()=>Promise.resolve().then(()=>require("../screens/Checkout/Checkout.cjs")).then(e=>e.defineSolvimonCheckout),"subscription-management":()=>Promise.resolve().then(()=>require("../screens/SubscriptionManagement/SubscriptionManagement.cjs")).then(e=>e.defineSolvimonSubscriptionManagement),"subscription-details":()=>Promise.resolve().then(()=>require("../screens/SubscriptionDetails/SubscriptionDetails.cjs")).then(e=>e.defineSolvimonSubscriptionDetails),"pay-invoice":()=>Promise.resolve().then(()=>require("../screens/PayInvoice/PayInvoice.cjs")).then(e=>e.defineSolvimonPayInvoice),"payment-methods-management":()=>Promise.resolve().then(()=>require("../screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs")).then(e=>e.defineSolvimonPaymentMethodsManagement)},m={invoice:()=>Promise.resolve().then(()=>require("../components/Invoice/Invoice.cjs")).then(e=>e.defineSolvimonInvoice),"invoice-header":()=>Promise.resolve().then(()=>require("../components/InvoiceHeader/InvoiceHeader.cjs")).then(e=>e.defineSolvimonInvoiceHeader),"invoice-details":()=>Promise.resolve().then(()=>require("../components/InvoiceDetails/InvoiceDetails.cjs")).then(e=>e.defineSolvimonInvoiceDetails),"invoices-list":()=>Promise.resolve().then(()=>require("../components/InvoicesList/InvoicesList.cjs")).then(e=>e.defineSolvimonInvoicesList),"payment-history":()=>Promise.resolve().then(()=>require("../components/PaymentHistory/PaymentHistory.cjs")).then(e=>e.defineSolvimonPaymentHistory),"subscriptions-list":()=>Promise.resolve().then(()=>require("../components/SubscriptionsList/SubscriptionsList.cjs")).then(e=>e.defineSolvimonSubscriptionsList),"subscription-schedules":()=>Promise.resolve().then(()=>require("../components/SubscriptionSchedules/SubscriptionSchedules.cjs")).then(e=>e.defineSolvimonSubscriptionSchedules),"customer-payment-methods":()=>Promise.resolve().then(()=>require("../components/CustomerPaymentMethods/CustomerPaymentMethods.cjs")).then(e=>e.defineSolvimonCustomerPaymentMethods),"wallet-balances":()=>Promise.resolve().then(()=>require("../components/WalletBalances/WalletBalances.cjs")).then(e=>e.defineSolvimonWalletBalances),"billing-information":()=>Promise.resolve().then(()=>require("../components/BillingInformation/BillingInformation.cjs")).then(e=>e.defineSolvimonBillingInformation),"billing-information-form":()=>Promise.resolve().then(()=>require("../components/BillingInformationForm/BillingInformationForm.cjs")).then(e=>e.defineSolvimonBillingInformationForm),"payment-method-form":()=>Promise.resolve().then(()=>require("../components/PaymentMethodForm/PaymentMethodForm.cjs")).then(e=>e.defineSolvimonPaymentMethodForm)};function p(e){return Object.hasOwn(s,e)}function g(e){return Object.hasOwn(m,e)}function P(e){return S.getComponentName(e)}function b(e,n){const o=n==="screen"?p(e)&&s[e]:g(e)&&m[e];if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys(n==="screen"?s:m).join(", ")}.`);return o().then(t=>t())}function E(e){if(typeof e=="string"){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}function q(e,n){const o={};for(const[t,i]of Object.entries(n))i!==void 0&&(o[t]=i);Object.assign(e,o)}function y(e,n,o,t){if(!t)throw o;t({schemaVersion:1,level:"error",code:"INITIAL_DATA_LOAD_FAILED",message:`Solvimon: failed to load the "${e}" ${n}`,timestamp:new Date().toISOString(),context:{id:e,type:n},error:o})}function c(e,n,o,t,i){const v=E(e),h=P(n),d=b(n,o);let r,l=!1;return d.then(()=>{l||(r=document.createElement(h),q(r,t),v.appendChild(r))}).catch(f=>y(n,o,f,i)),{unmount(){l=!0,r==null||r.remove(),r=void 0}}}function u(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function a(e,n){return{...e,...n}}function C(e={}){return{config:e,createComponent(n,o){const{container:t,props:i}=u(o);return c(t,n,"component",a(e,i),e.onLog).unmount},createScreen(n,o){const{container:t,props:i}=u(o);return c(t,n,"screen",a(e,i),e.onLog).unmount}}}const O=["customer-overview","checkout","subscription-management","subscription-details","pay-invoice","payment-methods-management"],I=["invoice","invoice-header","invoice-details","invoices-list","payment-history","subscriptions-list","subscription-schedules","customer-payment-methods","wallet-balances","billing-information","billing-information-form","payment-method-form"];function R(){return[...O]}function D(){return[...I]}exports.createSolvimonCore=C;exports.getRegisteredComponentIds=D;exports.getRegisteredScreenIds=R;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../sessionReference-m_6Rp4X1.js"),s={"customer-overview":()=>Promise.resolve().then(()=>require("../screens/CustomerOverview/CustomerOverview.cjs")).then(e=>e.defineSolvimonCustomerOverview),checkout:()=>Promise.resolve().then(()=>require("../screens/Checkout/Checkout.cjs")).then(e=>e.defineSolvimonCheckout),"subscription-management":()=>Promise.resolve().then(()=>require("../screens/SubscriptionManagement/SubscriptionManagement.cjs")).then(e=>e.defineSolvimonSubscriptionManagement),"subscription-details":()=>Promise.resolve().then(()=>require("../screens/SubscriptionDetails/SubscriptionDetails.cjs")).then(e=>e.defineSolvimonSubscriptionDetails),"pay-invoice":()=>Promise.resolve().then(()=>require("../screens/PayInvoice/PayInvoice.cjs")).then(e=>e.defineSolvimonPayInvoice),"payment-methods-management":()=>Promise.resolve().then(()=>require("../screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs")).then(e=>e.defineSolvimonPaymentMethodsManagement)},m={invoice:()=>Promise.resolve().then(()=>require("../components/Invoice/Invoice.cjs")).then(e=>e.defineSolvimonInvoice),"invoice-header":()=>Promise.resolve().then(()=>require("../components/InvoiceHeader/InvoiceHeader.cjs")).then(e=>e.defineSolvimonInvoiceHeader),"invoice-details":()=>Promise.resolve().then(()=>require("../components/InvoiceDetails/InvoiceDetails.cjs")).then(e=>e.defineSolvimonInvoiceDetails),"invoices-list":()=>Promise.resolve().then(()=>require("../components/InvoicesList/InvoicesList.cjs")).then(e=>e.defineSolvimonInvoicesList),"payment-history":()=>Promise.resolve().then(()=>require("../components/PaymentHistory/PaymentHistory.cjs")).then(e=>e.defineSolvimonPaymentHistory),"subscriptions-list":()=>Promise.resolve().then(()=>require("../components/SubscriptionsList/SubscriptionsList.cjs")).then(e=>e.defineSolvimonSubscriptionsList),"subscription-schedules":()=>Promise.resolve().then(()=>require("../components/SubscriptionSchedules/SubscriptionSchedules.cjs")).then(e=>e.defineSolvimonSubscriptionSchedules),"customer-payment-methods":()=>Promise.resolve().then(()=>require("../components/CustomerPaymentMethods/CustomerPaymentMethods.cjs")).then(e=>e.defineSolvimonCustomerPaymentMethods),"wallet-balances":()=>Promise.resolve().then(()=>require("../components/WalletBalances/WalletBalances.cjs")).then(e=>e.defineSolvimonWalletBalances),"billing-information":()=>Promise.resolve().then(()=>require("../components/BillingInformation/BillingInformation.cjs")).then(e=>e.defineSolvimonBillingInformation),"billing-information-form":()=>Promise.resolve().then(()=>require("../components/BillingInformationForm/BillingInformationForm.cjs")).then(e=>e.defineSolvimonBillingInformationForm),"payment-method-form":()=>Promise.resolve().then(()=>require("../components/PaymentMethodForm/PaymentMethodForm.cjs")).then(e=>e.defineSolvimonPaymentMethodForm)};function p(e){return Object.hasOwn(s,e)}function g(e){return Object.hasOwn(m,e)}function P(e){return v.getComponentName(e)}function b(e,n){const o=n==="screen"?p(e)&&s[e]:g(e)&&m[e];if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys(n==="screen"?s:m).join(", ")}.`);return o().then(t=>t())}function E(e){if(typeof e=="string"){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}function q(e,n){const o={};for(const[t,i]of Object.entries(n))i!==void 0&&(o[t]=i);Object.assign(e,o)}function y(e,n,o,t){if(!t)throw o;t({schemaVersion:1,level:"error",code:"INITIAL_DATA_LOAD_FAILED",message:`Solvimon: failed to load the "${e}" ${n}`,timestamp:new Date().toISOString(),reference:v.getSessionReference(),context:{id:e,type:n},error:o})}function l(e,n,o,t,i){const h=E(e),d=P(n),f=b(n,o);let r,c=!1;return f.then(()=>{c||(r=document.createElement(d),q(r,t),h.appendChild(r))}).catch(S=>y(n,o,S,i)),{unmount(){c=!0,r==null||r.remove(),r=void 0}}}function u(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function a(e,n){return{...e,...n}}function C(e={}){return{config:e,createComponent(n,o){const{container:t,props:i}=u(o);return l(t,n,"component",a(e,i),e.onLog).unmount},createScreen(n,o){const{container:t,props:i}=u(o);return l(t,n,"screen",a(e,i),e.onLog).unmount}}}const O=["customer-overview","checkout","subscription-management","subscription-details","pay-invoice","payment-methods-management"],I=["invoice","invoice-header","invoice-details","invoices-list","payment-history","subscriptions-list","subscription-schedules","customer-payment-methods","wallet-balances","billing-information","billing-information-form","payment-method-form"];function R(){return[...O]}function D(){return[...I]}exports.createSolvimonCore=C;exports.getRegisteredComponentIds=D;exports.getRegisteredScreenIds=R;
@@ -1,5 +1,5 @@
1
- import { g as v } from "../component-5wqcK7yz.mjs";
2
- const m = {
1
+ import { a as v, g as S } from "../sessionReference-3h-6FdrC.mjs";
2
+ const s = {
3
3
  "customer-overview": () => import("../screens/CustomerOverview/CustomerOverview.mjs").then(
4
4
  (e) => e.defineSolvimonCustomerOverview
5
5
  ),
@@ -18,7 +18,7 @@ const m = {
18
18
  "payment-methods-management": () => import("../screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs").then(
19
19
  (e) => e.defineSolvimonPaymentMethodsManagement
20
20
  )
21
- }, s = {
21
+ }, m = {
22
22
  invoice: () => import("../components/Invoice/Invoice.mjs").then(
23
23
  (e) => e.defineSolvimonInvoice
24
24
  ),
@@ -56,26 +56,26 @@ const m = {
56
56
  (e) => e.defineSolvimonPaymentMethodForm
57
57
  )
58
58
  };
59
- function S(e) {
60
- return Object.hasOwn(m, e);
61
- }
62
59
  function g(e) {
63
60
  return Object.hasOwn(s, e);
64
61
  }
65
62
  function b(e) {
63
+ return Object.hasOwn(m, e);
64
+ }
65
+ function E(e) {
66
66
  return v(e);
67
67
  }
68
- function E(e, n) {
69
- const o = n === "screen" ? S(e) && m[e] : g(e) && s[e];
68
+ function O(e, n) {
69
+ const o = n === "screen" ? g(e) && s[e] : b(e) && m[e];
70
70
  if (!o)
71
71
  throw new Error(
72
72
  `Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys(
73
- n === "screen" ? m : s
73
+ n === "screen" ? s : m
74
74
  ).join(", ")}.`
75
75
  );
76
76
  return o().then((t) => t());
77
77
  }
78
- function O(e) {
78
+ function y(e) {
79
79
  if (typeof e == "string") {
80
80
  const n = document.querySelector(e);
81
81
  if (!n)
@@ -84,13 +84,13 @@ function O(e) {
84
84
  }
85
85
  return e;
86
86
  }
87
- function y(e, n) {
87
+ function C(e, n) {
88
88
  const o = {};
89
89
  for (const [t, i] of Object.entries(n))
90
90
  i !== void 0 && (o[t] = i);
91
91
  Object.assign(e, o);
92
92
  }
93
- function C(e, n, o, t) {
93
+ function I(e, n, o, t) {
94
94
  if (!t) throw o;
95
95
  t({
96
96
  schemaVersion: 1,
@@ -98,16 +98,19 @@ function C(e, n, o, t) {
98
98
  code: "INITIAL_DATA_LOAD_FAILED",
99
99
  message: `Solvimon: failed to load the "${e}" ${n}`,
100
100
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
101
+ // The same reference the logger inside the tree uses, so a load failure and whatever the
102
+ // customer did next are one session rather than two unconnected reports.
103
+ reference: S(),
101
104
  context: { id: e, type: n },
102
105
  error: o
103
106
  });
104
107
  }
105
108
  function a(e, n, o, t, i) {
106
- const p = O(e), d = b(n), f = E(n, o);
109
+ const p = y(e), d = E(n), f = O(n, o);
107
110
  let r, c = !1;
108
111
  return f.then(() => {
109
- c || (r = document.createElement(d), y(r, t), p.appendChild(r));
110
- }).catch((h) => C(n, o, h, i)), {
112
+ c || (r = document.createElement(d), C(r, t), p.appendChild(r));
113
+ }).catch((h) => I(n, o, h, i)), {
111
114
  unmount() {
112
115
  c = !0, r == null || r.remove(), r = void 0;
113
116
  }
@@ -123,7 +126,7 @@ function u(e, n) {
123
126
  ...n
124
127
  };
125
128
  }
126
- function w(e = {}) {
129
+ function N(e = {}) {
127
130
  return {
128
131
  config: e,
129
132
  createComponent(n, o) {
@@ -148,7 +151,7 @@ function w(e = {}) {
148
151
  }
149
152
  };
150
153
  }
151
- const I = [
154
+ const R = [
152
155
  "customer-overview",
153
156
  "checkout",
154
157
  "subscription-management",
@@ -169,14 +172,14 @@ const I = [
169
172
  "billing-information-form",
170
173
  "payment-method-form"
171
174
  ];
172
- function N() {
173
- return [...I];
174
- }
175
175
  function P() {
176
+ return [...R];
177
+ }
178
+ function L() {
176
179
  return [...D];
177
180
  }
178
181
  export {
179
- w as createSolvimonCore,
180
- P as getRegisteredComponentIds,
181
- N as getRegisteredScreenIds
182
+ N as createSolvimonCore,
183
+ L as getRegisteredComponentIds,
184
+ P as getRegisteredScreenIds
182
185
  };