@solvimon/solvimon-web 0.1.0-alpha.24 → 0.1.0-alpha.26

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 (286) hide show
  1. package/README.md +14 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js} +1 -1
  4. package/dist/{Avatar.vue.es-nr8srGuK.js → Avatar.vue.es-Bm6MCMAL.js} +1 -1
  5. package/dist/{Avatar.vue.es-DzjFvLuK.mjs → Avatar.vue.es-BqQHvLGA.mjs} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js → BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js} +1 -1
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs} +8 -8
  8. package/dist/{Button.vue.es-PbJFK8z7.mjs → Button.vue.es-C32_baQN.mjs} +1 -1
  9. package/dist/{Button.vue.es-TCF-bvDF.js → Button.vue.es-qGvnOKnK.js} +1 -1
  10. package/dist/ChargeOnDemandModal-CIiI74ls.mjs +983 -0
  11. package/dist/ChargeOnDemandModal-DIQaGnRs.js +1 -0
  12. package/dist/Checkout.entry.ce-8EcavNgT.js +2 -0
  13. package/dist/{Checkout.entry.ce-DHFx5Vnb.mjs → Checkout.entry.ce-BA5ljKj8.mjs} +1562 -1538
  14. package/dist/{Chip.vue.es-DpcOM3Ai.mjs → Chip.vue.es-CKCOY5T6.mjs} +2 -2
  15. package/dist/{Chip.vue.es-CAoisngJ.js → Chip.vue.es-D60gTbfe.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-kzZ3JJHG.js → ContextMenu.vue.es-C7KI8Gz6.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-tAuFp-6i.mjs → ContextMenu.vue.es-Da-lAmTl.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-BQSl9q6W.mjs → CustomerBillingInformation.vue.es-BxBQt4Q0.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-Nac6HgLo.js → CustomerBillingInformation.vue.es-bFUx81Ig.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs} +6 -6
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs} +908 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +1 -0
  24. package/dist/{DividerText.vue.es-LJ2kZakb.js → DividerText.vue.es-BF3gnr4e.js} +1 -1
  25. package/dist/{DividerText.vue.es-CSE7a-T0.mjs → DividerText.vue.es-DKl3FnDJ.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-BF6swP7o.js → ErrorNotification.vue.es-BX9dHEc-.js} +1 -1
  29. package/dist/{ErrorNotification.vue.es-CVUuIt8Z.mjs → ErrorNotification.vue.es-rRKgmkzV.mjs} +1 -1
  30. package/dist/{IconButton.vue.es-CB1lIPao.js → IconButton.vue.es-Bwdfu-jm.js} +1 -1
  31. package/dist/{IconButton.vue.es-DGflbWFk.mjs → IconButton.vue.es-UlqwNPAX.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-BsdjyGlQ.mjs → IconTitle.vue.es-CK9k69tV.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-CMO8EyQl.js → IconTitle.vue.es-Cei98MBw.js} +1 -1
  34. package/dist/{Input.vue.es-CREdT4nB.js → Input.vue.es-B47l_feL.js} +1 -1
  35. package/dist/{Input.vue.es-BFbiFXsU.mjs → Input.vue.es-D9IjIWc-.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs} +2 -2
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js} +1 -1
  40. package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-JtOIQ6SJ.mjs → InvoiceSummary.vue.es-DQ4KvTaw.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BbdtdxsO.js → Modal.vue.es-8LN4gBh0.js} +1 -1
  43. package/dist/{Modal.vue.es-jT61xK_A.mjs → Modal.vue.es-B9xMiyn3.mjs} +5 -5
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs} +4 -4
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-quvnCSFV.mjs → PaymentHistoryBlock-DYa99P1M.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-Dw2wOiAI.js → PaymentHistoryBlock-Ds93gNvh.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-D1oJREmH.js → PaymentIntegrationForm-B_Db4DG1.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-CQjUZi22.mjs → PaymentIntegrationForm-UWoyZgsR.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +154 -0
  56. package/dist/{PaymentIntegrationFormAdyen-CyZk9ofV.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs} +217 -197
  57. package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +98 -0
  58. package/dist/{PaymentIntegrationFormStripe-D-GaLHwc.mjs → PaymentIntegrationFormStripe-BIiMCWlV.mjs} +247 -220
  59. package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +102 -0
  60. package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +1 -0
  61. package/dist/{PaymentMethod.vue.es-C0j580g7.mjs → PaymentMethod.vue.es-CKu5nApX.mjs} +168 -148
  62. package/dist/{PaymentMethodForm-CDV5LR8i.js → PaymentMethodForm-1d0YIGOu.js} +1 -1
  63. package/dist/{PaymentMethodForm-Bf2Ps6eV.mjs → PaymentMethodForm-B05sHWcW.mjs} +1 -1
  64. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +1 -0
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs} +45 -41
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-CEMP_Dhz.js +1 -0
  69. package/dist/PlanCustomizationEditor-CpZeilm5.mjs +694 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-CP7-dmxS.mjs → PricingGroupRangeInput.vue.es-CJpvUP3-.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-BchXhunH.js → PricingGroupRangeInput.vue.es-DZSJ5Mz0.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-_QMReyZ8.mjs → RadioGroupExtended.vue.es-BalV7gwp.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-Cf5R1P9a.js → RadioGroupExtended.vue.es-Dt6LH9Yh.js} +1 -1
  76. package/dist/{Section.vue.es-KRsHeFoT.mjs → Section.vue.es-D7eiXUbk.mjs} +1 -1
  77. package/dist/{Section.vue.es-CBZx5x53.js → Section.vue.es-zVXBHAL6.js} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +1 -0
  81. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs → Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs} +5 -5
  82. package/dist/StepInput.vue.es-C3Zm6Wc9.mjs +199 -0
  83. package/dist/StepInput.vue.es-mAnuCuDQ.js +1 -0
  84. package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +1 -0
  85. package/dist/SubscriptionDetails.entry.ce-WEimiOex.mjs +1057 -0
  86. package/dist/{SubscriptionSchedules-1ikoGncQ.js → SubscriptionSchedules-Cm5Dt-1H.js} +1 -1
  87. package/dist/{SubscriptionSchedules-B6b6xf-E.mjs → SubscriptionSchedules-DrrEAPlx.mjs} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs} +3 -3
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js} +1 -1
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs} +8 -8
  94. package/dist/{TooltipParagraph.vue.es-nGFfHF1A.mjs → TooltipParagraph.vue.es-BXbOJmjr.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-Cph6zT31.js +1 -0
  96. package/dist/{TrialChip.vue.es-DhC5Bpmy.js → TrialChip.vue.es-C_wgHGuN.js} +1 -1
  97. package/dist/{TrialChip.vue.es-eKgO6an3.mjs → TrialChip.vue.es-C_yRujip.mjs} +2 -2
  98. package/dist/{cn.es-BD7Afj5Q.mjs → cn.es-CGa6b2Lt.mjs} +2 -2
  99. package/dist/{cn.es-BLE3T5Rx.js → cn.es-D9YMDvG2.js} +1 -1
  100. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  101. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  102. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  103. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
  104. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  105. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  106. package/dist/components/Invoice/Invoice.cjs +1 -1
  107. package/dist/components/Invoice/Invoice.mjs +201 -212
  108. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  109. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  110. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  111. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  112. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  113. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  114. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  115. package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
  116. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  117. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  118. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  119. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  120. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  121. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  122. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  123. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  124. package/dist/{customElements-CSzbVZIH.js → customElements-C963-LtW.js} +36 -32
  125. package/dist/{customElements-DT1YyL4O.mjs → customElements-D5DAoHRI.mjs} +231 -196
  126. package/dist/{customer-Cq4fF__H.mjs → customer-DKa1B2vp.mjs} +4 -4
  127. package/dist/{customer-CJonIvSm.js → customer-TE1FnGT0.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-CyvjSD9b.mjs → de-DE-CLfzTbbX.mjs} +39 -6
  130. package/dist/de-DE-DaBBl-Ak.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-BNevqm0M.js +1 -0
  133. package/dist/{en-US-xQrWj8qI.mjs → en-US-D6SGRAch.mjs} +39 -6
  134. package/dist/en-US-J85TQRI8.js +1 -0
  135. package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
  136. package/dist/formControl-ODrpUvcA.js +1 -0
  137. package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
  138. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
  139. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
  140. package/dist/index.cjs +1 -1
  141. package/dist/index.mjs +4 -4
  142. package/dist/{invoices-EamWI_jz.js → invoices-ClqTWYF9.js} +1 -1
  143. package/dist/{invoices-CVZOfEOY.mjs → invoices-DJTwftJv.mjs} +1 -1
  144. package/dist/it-IT-BkPbTueL.js +1 -0
  145. package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
  146. package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
  147. package/dist/{it-IT-C09oObBM.mjs → it-IT-Cym1UvvK.mjs} +39 -6
  148. package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
  149. package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
  150. package/dist/{nl-NL-BhNND_yi.mjs → nl-NL-D0c4x5C0.mjs} +39 -6
  151. package/dist/nl-NL-jIfAVGv0.js +1 -0
  152. package/dist/paymentMethods-AL2U_byg.js +1 -0
  153. package/dist/{paymentMethods-By1SebnO.mjs → paymentMethods-CWzJhcWK.mjs} +16 -14
  154. package/dist/{payments-Dnjg9Se4.js → payments-BmiHMlQt.js} +1 -1
  155. package/dist/{payments-BYZLQTJ-.mjs → payments-aXyfylwk.mjs} +6 -6
  156. package/dist/pricing.es-C07bgEZx.js +1 -0
  157. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  158. package/dist/pricingPlanSchedules-BD4GIP_F.mjs +32 -0
  159. package/dist/pricingPlanSchedules-BfsMSvN0.js +1 -0
  160. package/dist/screens/Checkout/Checkout.cjs +1 -1
  161. package/dist/screens/Checkout/Checkout.mjs +2 -2
  162. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  163. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  164. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  165. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  166. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  167. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  168. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  169. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  170. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  171. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  172. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  173. package/dist/{subscriptions-BKER9RUc.js → subscriptions-Cm83ckfl.js} +1 -1
  174. package/dist/{subscriptions-Gj3KgCZz.mjs → subscriptions-cnR5fnf7.mjs} +1 -1
  175. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  176. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  177. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  178. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  179. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  180. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  181. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  182. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  183. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  184. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  187. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  190. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  192. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  193. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  194. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  195. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  196. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  197. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  198. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  199. package/dist/types/services/requests.types.d.ts +5 -0
  200. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  201. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  202. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  203. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  204. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  205. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  225. package/dist/{useActionDispatchProvider-DDHrhy3i.js → useActionDispatchProvider-CHkVQMaE.js} +1 -1
  226. package/dist/{useActionDispatchProvider-MjTckd4f.mjs → useActionDispatchProvider-DDYqIh3r.mjs} +1 -1
  227. package/dist/{useCustomer-BW0DBEJh.js → useCustomer-DGYtowRy.js} +1 -1
  228. package/dist/{useCustomer-CxnF7r8Z.mjs → useCustomer-XZKWsolE.mjs} +1 -1
  229. package/dist/{useCustomerFormLabels-zPc8QrwJ.mjs → useCustomerFormLabels-CcnkJLcB.mjs} +6 -6
  230. package/dist/useCustomerFormLabels-DAZziqYt.js +1 -0
  231. package/dist/{useExperimentalFeature-9teNYGuP.js → useExperimentalFeature-COOU6IZd.js} +1 -1
  232. package/dist/{useExperimentalFeature-NsSDg-e3.mjs → useExperimentalFeature-ierhOt9Q.mjs} +1 -1
  233. package/dist/{useInvoiceData-GQwk6fl4.mjs → useInvoiceData-BEK-7msA.mjs} +3 -3
  234. package/dist/{useInvoiceData-DvV2AsgC.js → useInvoiceData-CQRn8l9C.js} +1 -1
  235. package/dist/{useInvoicesList-Xnth6s6U.js → useInvoicesList-BQkKyyXa.js} +1 -1
  236. package/dist/{useInvoicesList-CGmFSQSg.mjs → useInvoicesList-C4I118KM.mjs} +7 -7
  237. package/dist/{useLoadInitialData-BvvaWeAe.mjs → useLoadInitialData-CR0kbYw8.mjs} +1 -1
  238. package/dist/{useLoadInitialData-Cjkc70u-.js → useLoadInitialData-CrKnBZs_.js} +1 -1
  239. package/dist/{usePaymentMethodAvailability-DKyscbom.js → usePaymentMethodAvailability-Ci6LeYKt.js} +1 -1
  240. package/dist/{usePaymentMethodAvailability-BWaaj3N3.mjs → usePaymentMethodAvailability-ZH-m3B-A.mjs} +12 -12
  241. package/dist/{usePaymentMethodOptions-l-wVAmIW.mjs → usePaymentMethodOptions-Ciifjo6c.mjs} +15 -13
  242. package/dist/usePaymentMethodOptions-Cqe92ZBn.js +1 -0
  243. package/dist/{usePaymentMethods-DvQVnsSV.mjs → usePaymentMethods-B-OKRyKd.mjs} +1 -1
  244. package/dist/{usePaymentMethods-BDFVB-kK.js → usePaymentMethods-BKwrl82-.js} +1 -1
  245. package/dist/usePayments-Bauj16B-.js +1 -0
  246. package/dist/{usePayments-D_dyuf6S.mjs → usePayments-CV85OV8V.mjs} +46 -41
  247. package/dist/{usePortal-BU4ibdWq.js → usePortal-DSLImEfr.js} +1 -1
  248. package/dist/{usePortal-Br5lYuPT.mjs → usePortal-H8Tv2TnZ.mjs} +1 -1
  249. package/dist/{useSubscription-DRBUt9H5.js → useSubscription-BiYNJT2e.js} +1 -1
  250. package/dist/{useSubscription-CqRae2I9.mjs → useSubscription-DqnxWNKg.mjs} +1 -1
  251. package/dist/{useTimePeriod.es-BxIGnCAP.mjs → useTimePeriod.es-B22-fno3.mjs} +1 -1
  252. package/dist/{useTimePeriod.es-DDos3-EH.js → useTimePeriod.es-D2aiyfd-.js} +1 -1
  253. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  254. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  255. package/package.json +11 -8
  256. package/dist/Checkout.entry.ce-D8O4qJ24.js +0 -2
  257. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +0 -1
  258. package/dist/InvoiceSummary.vue.es-BOnvORpf.js +0 -1
  259. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +0 -1
  260. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs +0 -141
  261. package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +0 -98
  262. package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +0 -102
  263. package/dist/PaymentMethod.vue.es-CXV_ThBY.js +0 -1
  264. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js +0 -1
  265. package/dist/PlanCustomizationEditor-0kEXoOcM.js +0 -1
  266. package/dist/PlanCustomizationEditor-Dv69xPbX.mjs +0 -877
  267. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs +0 -131
  268. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js +0 -1
  269. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  270. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +0 -1
  271. package/dist/TooltipParagraph.vue.es-7IQdU3Tf.js +0 -1
  272. package/dist/de-DE-DXsDvO5y.js +0 -1
  273. package/dist/en-US-9xdcz3T5.js +0 -1
  274. package/dist/en-US-DHdI11k9.js +0 -1
  275. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  276. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  277. package/dist/index-DwueOtPi.js +0 -1
  278. package/dist/it-IT-CcRIzP1A.js +0 -1
  279. package/dist/nl-NL-5PrgQl8q.js +0 -1
  280. package/dist/paymentMethods-Bwym8l9a.js +0 -1
  281. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  282. package/dist/useCustomerFormLabels-C773h3J0.js +0 -1
  283. package/dist/usePaymentMethodOptions-DuXKS36F.js +0 -1
  284. package/dist/usePayments-CIJocDhR.js +0 -1
  285. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  286. package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
@@ -1,24 +1,24 @@
1
- import { defineComponent as W, computed as N, openBlock as A, createElementBlock as S, createVNode as C, unref as G, withCtx as K, createTextVNode as H, toDisplayString as O, ref as I, onMounted as Ee, onBeforeUnmount as fe, watch as Ae, Fragment as ge, createBlock as M, createCommentVNode as k, Teleport as Ie, createElementVNode as Te, nextTick as V } from "vue";
1
+ import { defineComponent as W, computed as A, openBlock as g, createElementBlock as C, createVNode as L, unref as G, withCtx as K, createTextVNode as H, toDisplayString as v, ref as T, onMounted as Ee, onBeforeUnmount as fe, watch as ge, Fragment as Ae, createBlock as k, createCommentVNode as D, Teleport as Ie, createElementVNode as Te, nextTick as V } from "vue";
2
2
  import { a as Ne } from "./useService-Bh47bllz.mjs";
3
- import { u as q, _ as $, b as be } from "./customElements-DT1YyL4O.mjs";
4
- import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs";
5
- import { c as Re } from "./payments-BYZLQTJ-.mjs";
3
+ import { a as q, _ as $, b as be } from "./customElements-D5DAoHRI.mjs";
4
+ import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs";
5
+ import { c as Re } from "./payments-aXyfylwk.mjs";
6
6
  import { g as J } from "./url-TNRgVI8A.mjs";
7
- import { c as Oe } from "./paymentMethods-By1SebnO.mjs";
8
- import { g as Me, t as ke, a as De, b as Se, R as Ce, P as Le, c as D, d as Q } from "./adyen-CvsH5fok.mjs";
7
+ import { c as Oe } from "./paymentMethods-CWzJhcWK.mjs";
8
+ import { g as Me, t as ke, a as De, b as Se, R as Ce, P as Le, c as S, d as Q } from "./adyen-CvsH5fok.mjs";
9
9
  import { l as we } from "./adyenSdk-B01MB9Ia.mjs";
10
- import { u as xe } from "./useExperimentalFeature-NsSDg-e3.mjs";
10
+ import { u as xe } from "./useExperimentalFeature-ierhOt9Q.mjs";
11
11
  import { c as Be, a as Fe } from "./paymentFailure-Bh60UhxA.mjs";
12
12
  const Ue = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
13
- function Ye(d) {
14
- return (d == null ? void 0 : d.querySelector(Ue)) ?? null;
13
+ function Ye(c) {
14
+ return (c == null ? void 0 : c.querySelector(Ue)) ?? null;
15
15
  }
16
- function je(d, u) {
17
- return !!d && !!u && !d.contains(u);
16
+ function je(c, m) {
17
+ return !!c && !!m && !c.contains(m);
18
18
  }
19
- const Ze = (d) => {
20
- let u = {};
21
- return d === "TOKENIZE" && (u = {
19
+ const Ze = (c) => {
20
+ let m = {};
21
+ return c === "TOKENIZE" && (m = {
22
22
  "en-US": {
23
23
  payButton: "Add payment method",
24
24
  confirmPurchase: "Add payment method"
@@ -143,7 +143,7 @@ const Ze = (d) => {
143
143
  payButton: "Pridėti mokėjimo metodą",
144
144
  confirmPurchase: "Pridėti mokėjimo metodą"
145
145
  }
146
- }), u;
146
+ }), m;
147
147
  }, ze = {
148
148
  class: "sv-sepa-mandate mt-3",
149
149
  "data-testid": "sepa-mandate-notice"
@@ -152,64 +152,70 @@ const Ze = (d) => {
152
152
  props: {
153
153
  billingEntityName: { type: String }
154
154
  },
155
- setup(d) {
156
- const u = d, { $t: _ } = q(), m = N(
157
- () => _({
155
+ setup(c) {
156
+ const m = c, { $t: E } = q(), r = A(
157
+ () => E({
158
158
  defaultMessage: "SEPA Direct Debit mandate — recurring payments",
159
159
  description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
160
160
  id: "payments.sepa_mandate.title"
161
161
  })
162
- ), b = N(
163
- () => u.billingEntityName ? _(
162
+ ), b = A(
163
+ () => m.billingEntityName ? E(
164
164
  {
165
165
  defaultMessage: "By confirming this mandate, you authorise {billingEntityName} to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
166
166
  description: "SEPA direct debit mandate authorisation, naming the billing entity",
167
167
  id: "payments.sepa_mandate.authorisation"
168
168
  },
169
- { billingEntityName: u.billingEntityName }
170
- ) : _({
169
+ { billingEntityName: m.billingEntityName }
170
+ ) : E({
171
171
  defaultMessage: "By confirming this mandate, you authorise us to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
172
172
  description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
173
173
  id: "payments.sepa_mandate.authorisation_unnamed"
174
174
  })
175
- ), n = N(
176
- () => u.billingEntityName ? _(
175
+ ), a = A(
176
+ () => m.billingEntityName ? E(
177
177
  {
178
178
  defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
179
179
  description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
180
180
  id: "payments.sepa_mandate.recurrence"
181
181
  },
182
- { billingEntityName: u.billingEntityName }
183
- ) : _({
182
+ { billingEntityName: m.billingEntityName }
183
+ ) : E({
184
184
  defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
185
185
  description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
186
186
  id: "payments.sepa_mandate.recurrence_unnamed"
187
187
  })
188
+ ), p = A(
189
+ () => E({
190
+ defaultMessage: "As part of your rights, you're entitled to a refund from your bank under the terms and conditions of your agreement with your bank. You must claim a refund within 8 weeks from the date your account was debited. You can request a statement from your bank explaining your rights.",
191
+ description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
192
+ id: "payments.sepa_mandate.refund_rights"
193
+ })
188
194
  );
189
- return (E, p) => (A(), S("div", ze, [
190
- C(G($), {
195
+ return (y, R) => (g(), C("div", ze, [
196
+ L(G($), {
191
197
  tag: "p",
192
198
  variant: "body-xs",
193
199
  class: "font-semibold"
194
200
  }, {
195
201
  default: K(() => [
196
- H(O(m.value), 1)
202
+ H(v(r.value), 1)
197
203
  ]),
198
204
  _: 1
199
205
  }),
200
- C(G($), {
206
+ L(G($), {
201
207
  tag: "p",
202
208
  variant: "body-xs",
203
209
  color: "subtle"
204
210
  }, {
205
211
  default: K(() => [
206
- H(O(b.value) + " " + O(n.value), 1)
212
+ H(v(b.value) + " " + v(a.value) + " " + v(p.value), 1)
207
213
  ]),
208
214
  _: 1
209
215
  })
210
216
  ]));
211
217
  }
212
- }), T = "ADYEN", nt = /* @__PURE__ */ W({
218
+ }), N = "ADYEN", at = /* @__PURE__ */ W({
213
219
  __name: "PaymentIntegrationFormAdyen",
214
220
  props: {
215
221
  context: { type: Object },
@@ -226,62 +232,74 @@ const Ze = (d) => {
226
232
  redirectsOnSuccess: { type: Boolean },
227
233
  billingEntityName: { type: String }
228
234
  },
229
- emits: ["select", "payment-failed", "payment-success", "ready"],
230
- setup(d, { expose: u, emit: _ }) {
231
- let m = null, b = null;
232
- const n = d, E = _;
233
- u({ submit: ae });
234
- const p = I(), L = I(null), f = I(null);
235
- let y;
236
- const w = I(!1), P = I(), r = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ne } = Oe(), v = xe(), x = N(
235
+ emits: ["select", "payment-failed", "payment-success", "invalid", "ready"],
236
+ setup(c, { expose: m, emit: E }) {
237
+ let r = null, b = null;
238
+ const a = c, p = E;
239
+ m({ submit: ne });
240
+ const y = T(), R = T(null), f = T(null);
241
+ let l;
242
+ const w = T(!1), P = T(), i = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ae } = Oe(), O = xe(), x = A(
237
243
  () => {
238
244
  var e;
239
- return Me(n.paymentMethodOptionResponseEntry, {
240
- excludeExpressPaymentMethods: !!((e = v == null ? void 0 : v.value) != null && e["express-checkout"])
245
+ return Me(a.paymentMethodOptionResponseEntry, {
246
+ excludeExpressPaymentMethods: !!((e = O == null ? void 0 : O.value) != null && e["express-checkout"])
241
247
  });
242
248
  }
243
- ), B = N(() => x.value.length > 0);
244
- function c(e) {
249
+ ), B = A(() => x.value.length > 0);
250
+ function u(e) {
245
251
  return Be({
246
- gateway: T,
247
- paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
248
- variant: n.variant,
249
- invoiceId: n.invoiceId,
250
- customerId: n.customerId,
252
+ gateway: N,
253
+ paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
254
+ variant: a.variant,
255
+ invoiceId: a.invoiceId,
256
+ customerId: a.customerId,
251
257
  ...e
252
258
  });
253
259
  }
254
260
  function h(e) {
255
261
  const t = Fe(e);
256
- P.value = t, E("payment-failed", t);
262
+ P.value = t, p("payment-failed", t);
257
263
  }
258
- function ae() {
264
+ function ne() {
265
+ if (!(r != null && r.isValid)) {
266
+ if (r && !r.activePaymentMethod) {
267
+ p("invalid", "NO_PAYMENT_METHOD");
268
+ return;
269
+ }
270
+ r == null || r.showValidation(), p("invalid");
271
+ return;
272
+ }
259
273
  try {
260
- m == null || m.submit();
274
+ r.submit();
261
275
  } catch (e) {
262
- r.error(
276
+ i.error(
263
277
  "ADYEN_SUBMIT_FAILED",
264
278
  "Failed to submit Adyen drop-in",
265
- c({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
279
+ u({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
266
280
  e
267
- );
281
+ ), h({
282
+ code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
283
+ message: "Failed to submit Adyen drop-in",
284
+ error: e
285
+ });
268
286
  }
269
287
  }
270
288
  async function oe() {
271
- const e = ke(n.amount), t = x.value;
289
+ const e = ke(a.amount), t = x.value;
272
290
  return {
273
291
  checkoutConfig: {
274
292
  amount: e,
275
293
  clientKey: Se(
276
- n.paymentMethodOptionResponseEntry
294
+ a.paymentMethodOptionResponseEntry
277
295
  ),
278
296
  environment: De(
279
- n.paymentMethodOptionResponseEntry,
280
- r
297
+ a.paymentMethodOptionResponseEntry,
298
+ i
281
299
  ),
282
300
  locale: X,
283
- translations: Ze(n.variant),
284
- countryCode: n.countryCode,
301
+ translations: Ze(a.variant),
302
+ countryCode: a.countryCode,
285
303
  analytics: { enabled: !1 },
286
304
  paymentMethodsResponse: { paymentMethods: t },
287
305
  onSubmit: ce,
@@ -297,18 +315,18 @@ const Ze = (d) => {
297
315
  card: {
298
316
  hasHolderName: !0,
299
317
  holderNameRequired: !0,
300
- enableStoreDetails: !n.forceStorePaymentMethod && n.storePaymentMethod === void 0 && n.variant === "AUTHORIZE"
318
+ enableStoreDetails: !a.forceStorePaymentMethod && a.storePaymentMethod === void 0 && a.variant === "AUTHORIZE"
301
319
  },
302
320
  paypal: {
303
321
  intent: e.value > 0 ? "authorize" : "tokenize",
304
322
  showPayButton: !0
305
323
  }
306
324
  },
307
- openFirstPaymentMethod: n.selected,
325
+ openFirstPaymentMethod: a.selected,
308
326
  onSelect: ({ props: { type: o } }) => {
309
- o && E("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
327
+ o && p("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
310
328
  },
311
- onReady: () => E("ready")
329
+ onReady: () => p("ready")
312
330
  }
313
331
  };
314
332
  }
@@ -320,27 +338,27 @@ const Ze = (d) => {
320
338
  }
321
339
  async function F() {
322
340
  if (await Y(), P.value = void 0, !B.value) {
323
- const { payment_acceptor: e, integration: t } = n.paymentMethodOptionResponseEntry;
324
- r.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
341
+ const { payment_acceptor: e, integration: t } = a.paymentMethodOptionResponseEntry;
342
+ i.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
325
343
  fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
326
344
  paymentAcceptorId: e.id,
327
345
  integrationId: t.id,
328
- ...n.invoiceId ? { invoiceId: n.invoiceId } : {}
346
+ ...a.invoiceId ? { invoiceId: a.invoiceId } : {}
329
347
  });
330
348
  return;
331
349
  }
332
- if (await V(), !!p.value)
350
+ if (await V(), !!y.value)
333
351
  try {
334
- const [e, t] = await re(), { checkoutConfig: o, dropInConfig: a } = await oe();
335
- b = await e.AdyenCheckout(o), m = new e.Dropin(b, {
336
- ...a,
352
+ const [e, t] = await re(), { checkoutConfig: o, dropInConfig: n } = await oe();
353
+ b = await e.AdyenCheckout(o), r = new e.Dropin(b, {
354
+ ...n,
337
355
  paymentMethodComponents: e.dropInPaymentMethodComponents
338
- }).mount(p.value), de(t), ie();
356
+ }).mount(y.value), se(t), ie();
339
357
  } catch (e) {
340
- r.error(
358
+ i.error(
341
359
  "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
342
360
  "Failed to mount Adyen web drop-in",
343
- c({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
361
+ u({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
344
362
  e
345
363
  ), h({
346
364
  code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
@@ -350,30 +368,30 @@ const Ze = (d) => {
350
368
  }
351
369
  }
352
370
  function U() {
353
- const e = Ye(p.value);
354
- if (je(e, L.value)) {
371
+ const e = Ye(y.value);
372
+ if (je(e, R.value)) {
355
373
  f.value = null, V(() => f.value = e);
356
374
  return;
357
375
  }
358
376
  f.value = e;
359
377
  }
360
378
  function ie() {
361
- y == null || y.disconnect(), p.value && (y = new MutationObserver(() => U()), y.observe(p.value, { childList: !0, subtree: !0 }), U());
379
+ l == null || l.disconnect(), y.value && (l = new MutationObserver(() => U()), l.observe(y.value, { childList: !0, subtree: !0 }), U());
362
380
  }
363
- function se() {
364
- y == null || y.disconnect(), y = void 0, f.value = null;
381
+ function de() {
382
+ l == null || l.disconnect(), l = void 0, f.value = null;
365
383
  }
366
384
  async function Y() {
367
- se(), m && (m.unmount(), m = null), p.value && (p.value.innerHTML = "");
385
+ de(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
368
386
  }
369
- function de(e) {
387
+ function se(e) {
370
388
  var o;
371
- const t = (o = p.value) == null ? void 0 : o.getRootNode();
389
+ const t = (o = y.value) == null ? void 0 : o.getRootNode();
372
390
  if (t instanceof ShadowRoot) {
373
- const a = document.createElement("style");
374
- a.textContent = e, t.appendChild(a);
375
- const i = document.createElement("style");
376
- i.textContent = `
391
+ const n = document.createElement("style");
392
+ n.textContent = e, t.appendChild(n);
393
+ const d = document.createElement("style");
394
+ d.textContent = `
377
395
  :host {
378
396
  --adyen-sdk-color-background-secondary: transparent;
379
397
  --adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
@@ -466,27 +484,27 @@ const Ze = (d) => {
466
484
  .adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
467
485
  border-color: rgb(229, 231, 235);
468
486
  }
469
- `, n.variant === "AUTHORIZE" && (i.textContent += `
487
+ `, a.variant === "AUTHORIZE" && (d.textContent += `
470
488
  .adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
471
489
  display: none;
472
490
  }
473
- `), t.appendChild(i);
491
+ `), t.appendChild(d);
474
492
  }
475
493
  }
476
494
  function j(e, {
477
495
  paymentMethodType: t,
478
496
  actions: o,
479
- logFailure: a
497
+ logFailure: n
480
498
  }) {
481
- if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === T) {
482
- const i = ue(e, t);
483
- if (!i) {
484
- a(e);
499
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === N) {
500
+ const d = ue(e, t);
501
+ if (!d) {
502
+ n(e);
485
503
  return;
486
504
  }
487
- m.handleAction(i), o.resolve({
505
+ r.handleAction(d), o.resolve({
488
506
  resultCode: e.action.adyen.result_code,
489
- action: i
507
+ action: d
490
508
  });
491
509
  return;
492
510
  }
@@ -494,116 +512,118 @@ const Ze = (d) => {
494
512
  w.value = !0, o.resolve({ resultCode: "Authorised" });
495
513
  return;
496
514
  }
497
- a(e), o.resolve({ resultCode: "Error" });
515
+ n(e), o.resolve({ resultCode: "Error" });
498
516
  }
499
517
  function ce(...e) {
500
- const [t, o, a] = e;
501
- n.validateOnSubmit().then((i) => {
502
- if (!i)
518
+ const [t, o, n] = e;
519
+ a.validateOnSubmit().then((d) => {
520
+ if (!d) {
521
+ r == null || r.setStatus("ready"), p("invalid");
503
522
  return;
504
- const s = n.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
505
- risk_data: D(t.data.riskData),
506
- payment_method: D(t.data.paymentMethod),
507
- browser_info: D(t.data.browserInfo)
523
+ }
524
+ const s = a.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
525
+ risk_data: S(t.data.riskData),
526
+ payment_method: S(t.data.paymentMethod),
527
+ browser_info: S(t.data.browserInfo)
508
528
  };
509
- if (n.variant === "AUTHORIZE") {
510
- const R = Q({
511
- paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
529
+ if (a.variant === "AUTHORIZE") {
530
+ const M = Q({
531
+ paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
512
532
  redirectUrl: window.location.href
513
533
  });
514
534
  ee({
515
535
  payment_acceptor_id: s,
516
- ...n.customerId ? { customer_id: n.customerId } : {},
517
- payment_gateway_variant: T,
536
+ ...a.customerId ? { customer_id: a.customerId } : {},
537
+ payment_gateway_variant: N,
518
538
  adyen: {
519
539
  ...z,
520
- store_payment_method: n.storePaymentMethod ?? (n.forceStorePaymentMethod || t.data.storePaymentMethod)
540
+ store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
521
541
  },
522
- amount: n.amount,
523
- ...n.context ? { context: n.context } : {},
524
- return_url: R
542
+ amount: a.amount,
543
+ ...a.context ? { context: a.context } : {},
544
+ return_url: M
525
545
  }).then(
526
- (l) => j(l, {
546
+ (_) => j(_, {
527
547
  paymentMethodType: t.data.paymentMethod.type,
528
- actions: a,
529
- logFailure: (g) => r.error(
548
+ actions: n,
549
+ logFailure: (I) => i.error(
530
550
  "PAYMENT_AUTHORIZATION_FAILED",
531
551
  `Failed payment authorization for payment acceptor with id ${s}`,
532
- c({
552
+ u({
533
553
  reason: "PAYMENT_AUTHORIZATION_REJECTED",
534
554
  paymentMethodType: t.data.paymentMethod.type,
535
- cause: g
555
+ cause: I
536
556
  }),
537
- g
557
+ I
538
558
  )
539
559
  })
540
- ).catch((l) => {
541
- r.error(
560
+ ).catch((_) => {
561
+ i.error(
542
562
  "PAYMENT_AUTHORIZATION_FAILED",
543
563
  `Failed payment authorization for payment acceptor with id ${s}`,
544
- c({
564
+ u({
545
565
  reason: "PAYMENT_AUTHORIZATION_FAILED",
546
566
  paymentMethodType: t.data.paymentMethod.type,
547
- cause: l
567
+ cause: _
548
568
  }),
549
- l
550
- ), a.resolve({ resultCode: "Error" });
569
+ _
570
+ ), n.resolve({ resultCode: "Error" });
551
571
  });
552
572
  return;
553
573
  }
554
- if (n.variant === "TOKENIZE") {
555
- const R = Q({
556
- paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
574
+ if (a.variant === "TOKENIZE") {
575
+ const M = Q({
576
+ paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
557
577
  redirectUrl: window.location.href
558
578
  });
559
- if (!n.customerId) {
560
- r.error(
579
+ if (!a.customerId) {
580
+ i.error(
561
581
  "TOKENIZATION_FAILED",
562
582
  `Missing customer id for payment acceptor with id ${s}`,
563
- c({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
583
+ u({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
564
584
  ), h({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
565
585
  return;
566
586
  }
567
- ne({
568
- customer_id: n.customerId,
587
+ ae({
588
+ customer_id: a.customerId,
569
589
  payment_acceptor_id: s,
570
- payment_gateway_variant: T,
590
+ payment_gateway_variant: N,
571
591
  adyen: z,
572
- return_url: R
592
+ return_url: M
573
593
  }).then(
574
- (l) => j(l, {
594
+ (_) => j(_, {
575
595
  paymentMethodType: t.data.paymentMethod.type,
576
- actions: a,
577
- logFailure: (g) => r.error(
596
+ actions: n,
597
+ logFailure: (I) => i.error(
578
598
  "TOKENIZATION_FAILED",
579
599
  `Tokenization failed for payment acceptor with id ${s}`,
580
- c({
600
+ u({
581
601
  reason: "TOKENIZATION_REJECTED",
582
602
  paymentMethodType: t.data.paymentMethod.type,
583
- cause: g
603
+ cause: I
584
604
  }),
585
- g
605
+ I
586
606
  )
587
607
  })
588
- ).catch((l) => {
589
- r.error(
608
+ ).catch((_) => {
609
+ i.error(
590
610
  "TOKENIZATION_FAILED",
591
611
  `Tokenization failed for payment acceptor with id ${s}`,
592
- c({
612
+ u({
593
613
  reason: "TOKENIZATION_FAILED",
594
614
  paymentMethodType: t.data.paymentMethod.type,
595
- cause: l
615
+ cause: _
596
616
  }),
597
- l
598
- ), a.resolve({ resultCode: "Error" });
617
+ _
618
+ ), n.resolve({ resultCode: "Error" });
599
619
  });
600
620
  }
601
- }).catch((i) => {
602
- r.error(
621
+ }).catch((d) => {
622
+ i.error(
603
623
  "INTEGRATION_ERROR",
604
624
  "Unhandled error in payment submission flow",
605
- c({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
606
- i
625
+ u({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: d }),
626
+ d
607
627
  );
608
628
  });
609
629
  }
@@ -613,32 +633,32 @@ const Ze = (d) => {
613
633
  const o = e.action;
614
634
  if (o.payment_gateway_variant != "ADYEN")
615
635
  return;
616
- const a = o.adyen;
636
+ const n = o.adyen;
617
637
  return {
618
- paymentMethodType: (a == null ? void 0 : a.payment_method_type) ?? t,
638
+ paymentMethodType: (n == null ? void 0 : n.payment_method_type) ?? t,
619
639
  method: o.method,
620
640
  url: o.url,
621
641
  data: o.data,
622
- type: a == null ? void 0 : a.action_type,
623
- paymentData: a == null ? void 0 : a.payment_data,
624
- sdkData: a == null ? void 0 : a.sdk_data
642
+ type: n == null ? void 0 : n.action_type,
643
+ paymentData: n == null ? void 0 : n.payment_data,
644
+ sdkData: n == null ? void 0 : n.sdk_data
625
645
  };
626
646
  }
627
647
  function me(...e) {
628
- const [t] = e, o = t.data.details, a = t.data.paymentData;
629
- if (n.paymentMethodOptionResponseEntry.payment_acceptor.id) {
648
+ const [t] = e, o = t.data.details, n = t.data.paymentData;
649
+ if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
630
650
  Z({
631
651
  // For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
632
652
  detailsResult: o ? pe(o) : void 0,
633
- paymentDataResult: a,
634
- paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id
653
+ paymentDataResult: n,
654
+ paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id
635
655
  });
636
656
  return;
637
657
  }
638
- r.error(
658
+ i.error(
639
659
  "PAYMENT_ACCEPTOR_MISSING",
640
660
  "Additional details arrived without a payment acceptor id",
641
- c({ reason: "PAYMENT_ACCEPTOR_MISSING" })
661
+ u({ reason: "PAYMENT_ACCEPTOR_MISSING" })
642
662
  ), h({
643
663
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
644
664
  message: "Payment failed",
@@ -652,10 +672,10 @@ const Ze = (d) => {
652
672
  }
653
673
  function ye(...e) {
654
674
  const [t] = e;
655
- r.error(
675
+ i.error(
656
676
  "ADYEN_PAYMENT_FAILED",
657
677
  "Adyen reported the payment as failed",
658
- c({
678
+ u({
659
679
  reason: "ADYEN_PAYMENT_FAILED",
660
680
  extra: { resultCode: t == null ? void 0 : t.resultCode }
661
681
  }),
@@ -664,14 +684,14 @@ const Ze = (d) => {
664
684
  }
665
685
  function le(...e) {
666
686
  const [, t] = e;
667
- t == null || t.unmount(), E("payment-success");
687
+ t == null || t.unmount(), p("payment-success");
668
688
  }
669
689
  function he(...e) {
670
690
  const [t, o] = e;
671
- t.name !== "CANCEL" && (r.error(
691
+ t.name !== "CANCEL" && (i.error(
672
692
  "INTEGRATION_ERROR",
673
693
  "The Adyen drop-in reported an error",
674
- c({
694
+ u({
675
695
  reason: "ADYEN_INTEGRATION_ERROR",
676
696
  cause: t,
677
697
  extra: { adyenErrorName: t.name }
@@ -683,26 +703,26 @@ const Ze = (d) => {
683
703
  detailsResult: e,
684
704
  threeDSResult: t,
685
705
  redirectResult: o,
686
- paymentDataResult: a,
687
- paymentAcceptorId: i
706
+ paymentDataResult: n,
707
+ paymentAcceptorId: d
688
708
  }) {
689
709
  te({
690
- paymentAcceptorId: i,
691
- paymentGatewayVariant: T,
710
+ paymentAcceptorId: d,
711
+ paymentGatewayVariant: N,
692
712
  adyen: {
693
713
  ...e ? { details: e } : {},
694
714
  ...o ? { redirect_result: o } : {},
695
715
  ...t ? { threeds_result: t } : {},
696
- ...a ? { payment_data: a } : {}
716
+ ...n ? { payment_data: n } : {}
697
717
  }
698
718
  }).then((s) => {
699
719
  if (s.payment_status === "FAILURE") {
700
- r.error(
720
+ i.error(
701
721
  "PAYMENT_DETAILS_REJECTED",
702
722
  "Payment details returned a failed payment",
703
- c({
723
+ u({
704
724
  reason: "PAYMENT_DETAILS_REJECTED",
705
- paymentAcceptorId: i,
725
+ paymentAcceptorId: d,
706
726
  extra: { paymentStatus: s.payment_status }
707
727
  })
708
728
  ), h({
@@ -713,16 +733,16 @@ const Ze = (d) => {
713
733
  return;
714
734
  }
715
735
  if (s.payment_status === "SUCCESS") {
716
- E("payment-success");
736
+ p("payment-success");
717
737
  return;
718
738
  }
719
739
  }).catch((s) => {
720
- r.error(
740
+ i.error(
721
741
  "PAYMENT_DETAILS_CALL_FAILED",
722
742
  "Failed fetching payment details",
723
- c({
743
+ u({
724
744
  reason: "PAYMENT_DETAILS_CALL_FAILED",
725
- paymentAcceptorId: i,
745
+ paymentAcceptorId: d,
726
746
  cause: s
727
747
  }),
728
748
  s
@@ -737,10 +757,10 @@ const Ze = (d) => {
737
757
  const e = J(Ce), t = J(Le);
738
758
  if (e) {
739
759
  if (!t) {
740
- r.error(
760
+ i.error(
741
761
  "INVALID_REDIRECT_RESULT",
742
762
  "Redirect result is set but payment acceptor id is missing",
743
- c({ reason: "INVALID_REDIRECT_RESULT" })
763
+ u({ reason: "INVALID_REDIRECT_RESULT" })
744
764
  ), h({
745
765
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
746
766
  message: "Redirect result is set but payment acceptor id is missing"
@@ -759,40 +779,40 @@ const Ze = (d) => {
759
779
  F(), _e();
760
780
  }), fe(() => {
761
781
  Y();
762
- }), Ae(
763
- () => n.paymentMethodOptionResponseEntry,
782
+ }), ge(
783
+ () => a.paymentMethodOptionResponseEntry,
764
784
  (e, t) => {
765
785
  Ne(e, t) || F();
766
786
  },
767
787
  { deep: !0 }
768
- ), (e, t) => (A(), S(ge, null, [
769
- w.value ? (A(), M(Pe, {
788
+ ), (e, t) => (g(), C(Ae, null, [
789
+ w.value ? (g(), k(Pe, {
770
790
  key: 0,
771
- variant: d.variant,
772
- redirecting: d.redirectsOnSuccess
773
- }, null, 8, ["variant", "redirecting"])) : P.value ? (A(), M(ve, {
791
+ variant: c.variant,
792
+ redirecting: c.redirectsOnSuccess
793
+ }, null, 8, ["variant", "redirecting"])) : P.value ? (g(), k(ve, {
774
794
  key: 1,
775
795
  error: P.value
776
- }, null, 8, ["error"])) : k("", !0),
777
- B.value ? (A(), S("div", {
796
+ }, null, 8, ["error"])) : D("", !0),
797
+ B.value ? (g(), C("div", {
778
798
  key: 2,
779
799
  ref_key: "dropInContainerRef",
780
- ref: p
781
- }, null, 512)) : k("", !0),
782
- f.value ? (A(), M(Ie, {
800
+ ref: y
801
+ }, null, 512)) : D("", !0),
802
+ f.value ? (g(), k(Ie, {
783
803
  key: 3,
784
804
  to: f.value
785
805
  }, [
786
806
  Te("div", {
787
807
  ref_key: "sepaNoticeRef",
788
- ref: L
808
+ ref: R
789
809
  }, [
790
- C(Ge, { "billing-entity-name": d.billingEntityName }, null, 8, ["billing-entity-name"])
810
+ L(Ge, { "billing-entity-name": c.billingEntityName }, null, 8, ["billing-entity-name"])
791
811
  ], 512)
792
- ], 8, ["to"])) : k("", !0)
812
+ ], 8, ["to"])) : D("", !0)
793
813
  ], 64));
794
814
  }
795
815
  });
796
816
  export {
797
- nt as default
817
+ at as default
798
818
  };