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

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 (302) hide show
  1. package/README.md +16 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-CvxRdCes.js → Avatar.vue.es-BJxSCU76.js} +1 -1
  5. package/dist/{Avatar.vue.es-C9Jkfuvp.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
  6. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +15 -16
  8. package/dist/{Button.vue.es-CeUTAc2n.js → Button.vue.es-BzkuglKw.js} +1 -1
  9. package/dist/{Button.vue.es-BbSN0uOk.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
  10. package/dist/ChargeOnDemandModal-CB4mrvkU.mjs +975 -0
  11. package/dist/ChargeOnDemandModal-b17YswWA.js +1 -0
  12. package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
  13. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
  14. package/dist/{Chip.vue.es-BN83K3Tk.js → Chip.vue.es-B2jjzIOc.js} +1 -1
  15. package/dist/{Chip.vue.es-T22Q7AF9.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
  16. package/dist/{ContextMenu.vue.es-DXKR7WFg.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-0PRmCAzL.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-yrLGc7oL.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
  19. package/dist/{CustomerBillingInformation.vue.es-C2j40TYP.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +895 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
  24. package/dist/{DividerText.vue.es-DsYRZzuE.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
  25. package/dist/{DividerText.vue.es-CV1XK_Vz.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
  28. package/dist/{ErrorNotification.vue.es-CiUJva6S.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-QfRoDhkn.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
  30. package/dist/{IconButton.vue.es-CytBZUkZ.js → IconButton.vue.es-DgQN18Am.js} +1 -1
  31. package/dist/{IconButton.vue.es-ChvsCZQG.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-DPruIJ6l.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DtnpBObk.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
  34. package/dist/{Input.vue.es-BkzQDkrz.js → Input.vue.es-B60eK8Ds.js} +1 -1
  35. package/dist/{Input.vue.es-DJQqJrsb.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
  40. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-6qpbyymg.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BuRlbyZw.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
  43. package/dist/{Modal.vue.es-JpE0eh_Q.js → Modal.vue.es-DvLB3uCG.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-uWuWjr8I.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
  49. package/dist/{PaymentHistoryBlock-DnmParhQ.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-DTXm56QQ.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-DL55i0HD.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +154 -0
  56. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-Cqsy82To.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +202 -192
  58. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +247 -220
  60. package/dist/{PaymentMethod.vue.es-m1NasGqw.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +168 -148
  61. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +1 -0
  62. package/dist/{PaymentMethodForm-BEVdWCrH.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
  63. package/dist/{PaymentMethodForm-BYzt1PVP.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +60 -58
  65. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +1 -0
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
  69. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +722 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-Ba3v0J_R.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-CkhBp9kI.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-CHrcqSRq.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
  76. package/dist/{Section.vue.es-CSrVPlUK.js → Section.vue.es-Bbt0RITt.js} +1 -1
  77. package/dist/{Section.vue.es-D5svcVS_.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
  81. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
  82. package/dist/StepInput.vue.es-H-3R4jJq.js +1 -0
  83. package/dist/StepInput.vue.es-o-3Lg4Ai.mjs +199 -0
  84. package/dist/SubscriptionDetails.entry.ce-CGl6Z5ql.mjs +1057 -0
  85. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +1 -0
  86. package/dist/{SubscriptionSchedules-yDcsD1hd.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
  87. package/dist/{SubscriptionSchedules-CMVoB2bw.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +3 -3
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +9 -10
  94. package/dist/{TooltipParagraph.vue.es-CxdL8-B7.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +1 -0
  96. package/dist/{TrialChip.vue.es-BCc8q5j0.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
  97. package/dist/{TrialChip.vue.es-BK7m7e7q.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
  98. package/dist/{cn.es-71nFUose.js → cn.es-C9Yqq4tg.js} +1 -1
  99. package/dist/{cn.es-ZXNzpauQ.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
  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 +15 -16
  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 +14 -15
  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-q_i9y0Ph.mjs → customElements-B58FcXIN.mjs} +231 -196
  125. package/dist/{customElements-hH6pju3X.js → customElements-DUMRMFQ5.js} +36 -32
  126. package/dist/{customer-BDoOIAFr.mjs → customer-B3LPAhaD.mjs} +4 -4
  127. package/dist/{customer-C9q6ti8s.js → customer-CisTPaXj.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-B_ik9VNt.mjs → de-DE-DKp5LCu0.mjs} +53 -7
  130. package/dist/de-DE-DL74pMLb.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-B2XFj-_p.js +1 -0
  133. package/dist/{en-US-DkCltadt.mjs → en-US-DQ5vlv9Z.mjs} +53 -7
  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-DIzkXntV.mjs → invoices-3520M5AN.mjs} +1 -1
  143. package/dist/{invoices-CHp75zZI.js → invoices-CKQBLar2.js} +1 -1
  144. package/dist/{it-IT-CHj2McbF.mjs → it-IT-BgFVsO5S.mjs} +53 -7
  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-CqNK62qe.js +1 -0
  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-Dx-TNXQ1.js +1 -0
  151. package/dist/{nl-NL-Cdvd_XMN.mjs → nl-NL-UiRWbO9S.mjs} +53 -7
  152. package/dist/{paymentMethods-DEKp_4QM.mjs → paymentMethods-CWlvwK5V.mjs} +16 -14
  153. package/dist/paymentMethods-Cw-i95mM.js +1 -0
  154. package/dist/{payments-C0-Hq2a4.mjs → payments-2qeQdpiW.mjs} +6 -6
  155. package/dist/{payments-DBvregE8.js → payments-CS7_YcOW.js} +1 -1
  156. package/dist/pricing-BIMpDI_p.mjs +29 -0
  157. package/dist/pricing-BOqG21f9.js +1 -0
  158. package/dist/pricing.es-C07bgEZx.js +1 -0
  159. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  160. package/dist/pricingPlanSchedules-B_sTAIgU.js +1 -0
  161. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +32 -0
  162. package/dist/screens/Checkout/Checkout.cjs +1 -1
  163. package/dist/screens/Checkout/Checkout.mjs +2 -2
  164. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  165. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  166. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  167. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  168. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  169. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  170. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  171. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  172. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  173. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  174. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  175. package/dist/{subscriptions--9MaTXMb.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
  176. package/dist/{subscriptions-BArXBCFr.js → subscriptions-DwVsf4Ev.js} +1 -1
  177. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  178. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  179. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  180. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  181. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  182. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  183. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  184. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  187. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  190. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  192. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  193. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  194. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  195. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  196. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  197. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  198. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  199. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  200. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  201. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  202. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  203. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  204. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  205. package/dist/types/services/requests.types.d.ts +5 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  231. package/dist/{useActionDispatchProvider-BdciAX8T.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
  232. package/dist/{useActionDispatchProvider-CKzeqXzY.js → useActionDispatchProvider-DFhppdve.js} +1 -1
  233. package/dist/{useCustomer-D8ixhuuj.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
  234. package/dist/{useCustomer-DSYr0F58.js → useCustomer-BwZKd9i5.js} +1 -1
  235. package/dist/{useCustomerFormLabels-htMZ0xqB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +6 -6
  236. package/dist/useCustomerFormLabels-DV9QiMYh.js +1 -0
  237. package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
  238. package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
  239. package/dist/{useInvoiceData-Bpbog3zW.mjs → useInvoiceData-BocKdeg7.mjs} +3 -3
  240. package/dist/{useInvoiceData-DhrItfv7.js → useInvoiceData-CNV_FMV8.js} +1 -1
  241. package/dist/{useInvoicesList-BGwcJn4I.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
  242. package/dist/{useInvoicesList-duu_b5GW.js → useInvoicesList-S0IbQcrD.js} +1 -1
  243. package/dist/{useLoadInitialData-BDmmpcfb.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
  244. package/dist/{useLoadInitialData-U2WvBmXT.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
  245. package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
  246. package/dist/{usePaymentMethodAvailability-adqRujTA.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +5 -6
  247. package/dist/{usePaymentMethodOptions-DlZtTQNQ.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +15 -13
  248. package/dist/usePaymentMethodOptions-CuzOoi2k.js +1 -0
  249. package/dist/{usePaymentMethods-BnmSo_rr.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
  250. package/dist/{usePaymentMethods-DZ1a0mnr.js → usePaymentMethods-DDaTZQZp.js} +1 -1
  251. package/dist/{usePayments-s-Z1di8d.mjs → usePayments-Cr6NlGaW.mjs} +46 -41
  252. package/dist/usePayments-DDSjo0rH.js +1 -0
  253. package/dist/{usePortal-Hm7wvtgQ.js → usePortal-C27omjhz.js} +1 -1
  254. package/dist/{usePortal-C4rR5Rhu.mjs → usePortal-C5AsegpS.mjs} +1 -1
  255. package/dist/{useSubscription-DSsXVO0h.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
  256. package/dist/{useSubscription-DMAEJves.js → useSubscription-D787IXY-.js} +1 -1
  257. package/dist/{useTimePeriod.es-CW8ycmpT.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
  258. package/dist/{useTimePeriod.es-anHB63am.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
  259. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  260. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  261. package/package.json +20 -14
  262. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js +0 -1
  263. package/dist/Checkout.entry.ce-BMzK8nQg.mjs +0 -3900
  264. package/dist/Checkout.entry.ce-DgA0ckyl.js +0 -2
  265. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js +0 -1
  266. package/dist/InvoiceSummary.vue.es-v1TkOUhA.js +0 -1
  267. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +0 -1
  268. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs +0 -141
  269. package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +0 -98
  270. package/dist/PaymentIntegrationFormStripe-DTLgGutU.js +0 -102
  271. package/dist/PaymentMethod.vue.es-ZWda5GqF.js +0 -1
  272. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js +0 -1
  273. package/dist/PlanCustomizationEditor-CunwwXTw.js +0 -1
  274. package/dist/PlanCustomizationEditor-NLVkEYFF.mjs +0 -877
  275. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs +0 -131
  276. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js +0 -1
  277. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +0 -51
  278. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  279. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js +0 -1
  280. package/dist/TooltipParagraph.vue.es-DS_69pl1.js +0 -1
  281. package/dist/adyen-CvsH5fok.mjs +0 -117
  282. package/dist/adyen-Druit6gz.js +0 -1
  283. package/dist/de-DE-npBTLtKL.js +0 -1
  284. package/dist/en-US-9xdcz3T5.js +0 -1
  285. package/dist/en-US-kGduGoka.js +0 -1
  286. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  287. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  288. package/dist/index-DwueOtPi.js +0 -1
  289. package/dist/it-IT-BayNIAy7.js +0 -1
  290. package/dist/nl-NL-0rV4nFLw.js +0 -1
  291. package/dist/paymentMethods-CZGP6_4W.js +0 -1
  292. package/dist/pricing-BVAld27Y.js +0 -1
  293. package/dist/pricing-DLOeiAIB.mjs +0 -16
  294. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  295. package/dist/useCustomerFormLabels-CRumh405.js +0 -1
  296. package/dist/useExperimentalFeature-D29-TO3R.js +0 -1
  297. package/dist/useExperimentalFeature-JK_kAUQQ.mjs +0 -6
  298. package/dist/usePaymentMethodAvailability-DwtT5Czz.js +0 -1
  299. package/dist/usePaymentMethodOptions-CXdFKFqZ.js +0 -1
  300. package/dist/usePayments-DL4agK2i.js +0 -1
  301. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  302. package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
@@ -1,13 +1,13 @@
1
- import { defineComponent as D, ref as g, onMounted as L, onBeforeUnmount as M, watch as B, openBlock as v, createElementBlock as Y, computed as h, createBlock as N, unref as G, createCommentVNode as $ } from "vue";
1
+ import { defineComponent as F, ref as I, onMounted as M, onBeforeUnmount as k, watch as Y, openBlock as h, createElementBlock as G, computed as P, createBlock as w, createCommentVNode as $ } from "vue";
2
2
  import { a as W } from "./useService-Bh47bllz.mjs";
3
- import { t as V, d as Q, P as X } from "./adyen-CvsH5fok.mjs";
4
- import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs";
5
- import { c as ee } from "./payments-C0-Hq2a4.mjs";
6
- import { c as te } from "./paymentMethods-DEKp_4QM.mjs";
7
- import { g as b } from "./url-TNRgVI8A.mjs";
8
- import { b as re } from "./customElements-q_i9y0Ph.mjs";
3
+ import { t as V, d as Q, P as q } from "./useExperimentalFeature-BciA3Ok9.mjs";
4
+ import { _ as X, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs";
5
+ import { c as ee } from "./payments-2qeQdpiW.mjs";
6
+ import { c as te } from "./paymentMethods-CWlvwK5V.mjs";
7
+ import { g as O } from "./url-TNRgVI8A.mjs";
8
+ import { b as re } from "./customElements-B58FcXIN.mjs";
9
9
  import { c as ne, a as ae } from "./paymentFailure-Bh60UhxA.mjs";
10
- const F = "https://js.stripe.com/dahlia/stripe.js", oe = `<!DOCTYPE html>
10
+ const U = "https://js.stripe.com/dahlia/stripe.js", ie = `<!DOCTYPE html>
11
11
  <html>
12
12
  <head>
13
13
  <meta charset="UTF-8">
@@ -19,7 +19,7 @@ body { overflow: hidden; }
19
19
  </head>
20
20
  <body>
21
21
  <div id="stripe-root"></div>
22
- <script src="${F}"><\/script>
22
+ <script src="${U}"><\/script>
23
23
  <script>
24
24
  (function () {
25
25
  let stripe, elements, countryCode, email, name, parentOrigin;
@@ -108,7 +108,7 @@ body { overflow: hidden; }
108
108
  })();
109
109
  <\/script>
110
110
  </body>
111
- </html>`, ie = ["src", "height"], se = /* @__PURE__ */ D({
111
+ </html>`, oe = ["src", "height"], se = /* @__PURE__ */ F({
112
112
  __name: "PaymentIntegrationFormStripeFrame",
113
113
  props: {
114
114
  publicKey: { type: String },
@@ -118,13 +118,13 @@ body { overflow: hidden; }
118
118
  name: { type: String }
119
119
  },
120
120
  emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
121
- setup(p, { expose: E, emit: A }) {
122
- const t = p, c = A;
123
- E({ triggerSubmit: O });
124
- const u = g(), d = g(0), I = g();
125
- function S() {
126
- var i, a;
127
- (a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
121
+ setup(m, { expose: f, emit: R }) {
122
+ const t = m, o = R;
123
+ f({ triggerSubmit: N });
124
+ const p = I(), l = I(0), y = I();
125
+ function v() {
126
+ var a, r;
127
+ (r = (a = p.value) == null ? void 0 : a.contentWindow) == null || r.postMessage(
128
128
  {
129
129
  type: "stripe:init",
130
130
  publicKey: t.publicKey,
@@ -136,78 +136,91 @@ body { overflow: hidden; }
136
136
  "*"
137
137
  );
138
138
  }
139
- function O() {
140
- var i, a;
141
- (a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
139
+ function N() {
140
+ var a, r;
141
+ (r = (a = p.value) == null ? void 0 : a.contentWindow) == null || r.postMessage(
142
142
  { type: "stripe:submit", email: t.email, name: t.name },
143
143
  "*"
144
144
  );
145
145
  }
146
- function y(i) {
147
- return typeof i == "object" && i !== null;
146
+ const _ = {
147
+ api_connection_error: !0,
148
+ api_error: !0,
149
+ authentication_error: !0,
150
+ card_error: !0,
151
+ idempotency_error: !0,
152
+ invalid_request_error: !0,
153
+ rate_limit_error: !0,
154
+ validation_error: !0
155
+ };
156
+ function s(a) {
157
+ return typeof a == "string" && Object.hasOwn(_, a);
158
+ }
159
+ function A(a) {
160
+ return typeof a == "object" && a !== null;
148
161
  }
149
- function m(i) {
150
- if (!u.value || i.source !== u.value.contentWindow || !y(i.data)) return;
151
- const a = i.data, _ = a.type;
152
- if (!(typeof _ != "string" || !_.startsWith("stripe:")))
153
- switch (_) {
162
+ function b(a) {
163
+ if (!p.value || a.source !== p.value.contentWindow || !A(a.data)) return;
164
+ const r = a.data, S = r.type;
165
+ if (!(typeof S != "string" || !S.startsWith("stripe:")))
166
+ switch (S) {
154
167
  case "stripe:ready":
155
- c("ready");
168
+ o("ready");
156
169
  break;
157
170
  case "stripe:change":
158
- c(
171
+ o(
159
172
  "change",
160
- typeof a.paymentMethodType == "string" ? a.paymentMethodType : "card"
173
+ typeof r.paymentMethodType == "string" ? r.paymentMethodType : "card"
161
174
  );
162
175
  break;
163
176
  case "stripe:loaderror": {
164
- const n = y(a.error) ? a.error : {};
165
- c("loaderror", {
166
- message: typeof n.message == "string" ? n.message : void 0,
167
- type: typeof n.type == "string" ? n.type : void 0
177
+ const u = A(r.error) ? r.error : {};
178
+ o("loaderror", {
179
+ message: typeof u.message == "string" ? u.message : void 0,
180
+ type: s(u.type) ? u.type : void 0
168
181
  });
169
182
  break;
170
183
  }
171
184
  case "stripe:resize":
172
- typeof a.height == "number" && (d.value = a.height);
185
+ typeof r.height == "number" && (l.value = r.height);
173
186
  break;
174
187
  case "stripe:submit:success":
175
- typeof a.confirmationTokenId == "string" && c("submit-success", a.confirmationTokenId);
188
+ typeof r.confirmationTokenId == "string" && o("submit-success", r.confirmationTokenId);
176
189
  break;
177
190
  case "stripe:submit:error": {
178
- const n = y(a.error) ? a.error : {};
179
- c("submit-error", {
180
- message: typeof n.message == "string" ? n.message : void 0,
181
- type: typeof n.type == "string" ? n.type : void 0,
182
- code: typeof n.code == "string" ? n.code : void 0
191
+ const u = A(r.error) ? r.error : {};
192
+ o("submit-error", {
193
+ message: typeof u.message == "string" ? u.message : void 0,
194
+ type: s(u.type) ? u.type : void 0,
195
+ code: typeof u.code == "string" ? u.code : void 0
183
196
  });
184
197
  break;
185
198
  }
186
199
  }
187
200
  }
188
- return L(() => {
189
- const i = new Blob([oe], { type: "text/html" });
190
- I.value = URL.createObjectURL(i), window.addEventListener("message", m);
191
- }), M(() => {
192
- window.removeEventListener("message", m), I.value && URL.revokeObjectURL(I.value);
193
- }), B(
201
+ return M(() => {
202
+ const a = new Blob([ie], { type: "text/html" });
203
+ y.value = URL.createObjectURL(a), window.addEventListener("message", b);
204
+ }), k(() => {
205
+ window.removeEventListener("message", b), y.value && URL.revokeObjectURL(y.value);
206
+ }), Y(
194
207
  () => t.options,
195
- (i, a) => {
196
- W(i, a) || S();
208
+ (a, r) => {
209
+ W(a, r) || v();
197
210
  },
198
211
  { deep: !0 }
199
- ), (i, a) => (v(), Y("iframe", {
212
+ ), (a, r) => (h(), G("iframe", {
200
213
  ref_key: "iframeRef",
201
- ref: u,
202
- src: I.value,
203
- height: d.value || void 0,
214
+ ref: p,
215
+ src: y.value,
216
+ height: l.value || void 0,
204
217
  frameborder: "0",
205
218
  style: { width: "100%", display: "block", border: "none" },
206
219
  title: "Payment form",
207
- onLoad: S
208
- }, null, 40, ie));
220
+ onLoad: v
221
+ }, null, 40, oe));
209
222
  }
210
- }), w = { link: "never" }, C = {
223
+ }), C = { link: "never" }, L = {
211
224
  variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
212
225
  rules: {
213
226
  ".TermsText": { fontSize: "14px" },
@@ -218,41 +231,41 @@ body { overflow: hidden; }
218
231
  }
219
232
  }
220
233
  };
221
- function ce(p, E) {
234
+ function ce(m, f) {
222
235
  return {
223
236
  billingDetails: {
224
237
  address: { country: "never" },
225
- ...p ? { email: "never" } : {},
226
- ...E ? { name: "never" } : {}
238
+ ...m ? { email: "never" } : {},
239
+ ...f ? { name: "never" } : {}
227
240
  }
228
241
  };
229
242
  }
230
243
  function me({
231
- amount: p,
232
- email: E,
233
- name: A,
244
+ amount: m,
245
+ email: f,
246
+ name: R,
234
247
  variant: t,
235
- storePaymentMethod: c = !1
248
+ storePaymentMethod: o = !1
236
249
  }) {
237
- const u = p.currency.toLowerCase(), d = ce(E, A);
250
+ const p = m.currency.toLowerCase(), l = ce(f, R);
238
251
  return t === "TOKENIZE" ? {
239
252
  mode: "setup",
240
- currency: u,
253
+ currency: p,
241
254
  setup_future_usage: "off_session",
242
- wallets: w,
243
- fields: d,
244
- appearance: C
255
+ wallets: C,
256
+ fields: l,
257
+ appearance: L
245
258
  } : {
246
259
  mode: "payment",
247
- currency: u,
248
- amount: V(p).value,
249
- ...c ? { setup_future_usage: "off_session" } : {},
250
- wallets: w,
251
- fields: d,
252
- appearance: C
260
+ currency: p,
261
+ amount: V(m).value,
262
+ ...o ? { setup_future_usage: "off_session" } : {},
263
+ wallets: C,
264
+ fields: l,
265
+ appearance: L
253
266
  };
254
267
  }
255
- const R = "STRIPE", ge = /* @__PURE__ */ D({
268
+ const T = "STRIPE", ge = /* @__PURE__ */ F({
256
269
  __name: "PaymentIntegrationFormStripe",
257
270
  props: {
258
271
  email: { type: String },
@@ -271,29 +284,29 @@ const R = "STRIPE", ge = /* @__PURE__ */ D({
271
284
  redirectsOnSuccess: { type: Boolean },
272
285
  billingEntityName: { type: String }
273
286
  },
274
- emits: ["select", "payment-failed", "payment-success", "ready"],
275
- setup(p, { expose: E, emit: A }) {
276
- const t = p, c = A;
277
- E({ submit: k });
278
- const u = g(!1), d = g(), I = g(), S = h(
287
+ emits: ["select", "payment-failed", "payment-success", "invalid", "ready"],
288
+ setup(m, { expose: f, emit: R }) {
289
+ const t = m, o = R;
290
+ f({ submit: S });
291
+ const p = I(!1), l = I(), y = I(), v = P(
279
292
  () => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
280
- ), O = h(
293
+ ), N = P(
281
294
  () => me({
282
295
  amount: t.amount,
283
296
  email: t.email,
284
297
  name: t.name,
285
298
  variant: t.variant,
286
- storePaymentMethod: S.value
299
+ storePaymentMethod: v.value
287
300
  })
288
- ), y = g(null), m = re(), { authorizePayment: i } = ee(), { tokenizePaymentMethod: a } = te(), _ = h(
301
+ ), _ = I(null), s = re(), { authorizePayment: A } = ee(), { tokenizePaymentMethod: b } = te(), a = P(
289
302
  () => {
290
- var e, r;
291
- return (r = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : r.public_key;
303
+ var e, n;
304
+ return (n = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : n.public_key;
292
305
  }
293
306
  );
294
- function n(e) {
307
+ function r(e) {
295
308
  return ne({
296
- gateway: R,
309
+ gateway: T,
297
310
  paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
298
311
  variant: t.variant,
299
312
  invoiceId: t.invoiceId,
@@ -301,257 +314,271 @@ const R = "STRIPE", ge = /* @__PURE__ */ D({
301
314
  ...e
302
315
  });
303
316
  }
304
- function k() {
305
- U().catch((e) => {
306
- m.error(
317
+ function S() {
318
+ u().catch((e) => {
319
+ s.error(
307
320
  "STRIPE_SUBMIT_FAILED",
308
321
  "Unexpected error during Stripe submission",
309
- n({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
322
+ r({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
310
323
  e
311
324
  );
312
325
  });
313
326
  }
314
- async function U() {
315
- var r;
316
- await t.validateOnSubmit() && ((r = I.value) == null || r.triggerSubmit());
327
+ async function u() {
328
+ if (!await t.validateOnSubmit() || !y.value) {
329
+ o("invalid");
330
+ return;
331
+ }
332
+ y.value.triggerSubmit();
317
333
  }
318
334
  function x(e) {
319
- return new Promise((r, s) => {
335
+ if (e.type === "validation_error") {
336
+ o("invalid");
337
+ return;
338
+ }
339
+ s.error(
340
+ "STRIPE_CONFIRMATION_TOKEN_FAILED",
341
+ "Stripe submission failed",
342
+ r({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: e }),
343
+ e
344
+ ), d({
345
+ code: t.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
346
+ message: e.message ?? "Stripe submission failed",
347
+ error: e
348
+ });
349
+ }
350
+ function Z(e) {
351
+ return new Promise((n, c) => {
320
352
  if (window.Stripe) {
321
- r(window.Stripe(e));
353
+ n(window.Stripe(e));
322
354
  return;
323
355
  }
324
- const o = document.createElement("script");
325
- o.src = F, o.onload = () => {
356
+ const i = document.createElement("script");
357
+ i.src = U, i.onload = () => {
326
358
  if (!window.Stripe) {
327
- s(new Error("Stripe not available after script load"));
359
+ c(new Error("Stripe not available after script load"));
328
360
  return;
329
361
  }
330
- r(window.Stripe(e));
331
- }, o.onerror = () => s(new Error("Failed to load Stripe.js")), document.head.appendChild(o);
362
+ n(window.Stripe(e));
363
+ }, i.onerror = () => c(new Error("Failed to load Stripe.js")), document.head.appendChild(i);
332
364
  });
333
365
  }
334
- async function Z() {
335
- if (y.value)
336
- return y.value;
337
- const e = _.value;
366
+ async function K() {
367
+ if (_.value)
368
+ return _.value;
369
+ const e = a.value;
338
370
  if (!e)
339
371
  throw new Error("Missing Stripe public key");
340
- const r = await x(e);
341
- return y.value = r, r;
372
+ const n = await Z(e);
373
+ return _.value = n, n;
342
374
  }
343
- async function K(e) {
344
- const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, s = Q({
345
- paymentAcceptorId: r,
375
+ async function H(e) {
376
+ const n = t.paymentMethodOptionResponseEntry.payment_acceptor.id, c = Q({
377
+ paymentAcceptorId: n,
346
378
  redirectUrl: window.location.href
347
379
  });
348
380
  if (t.variant === "AUTHORIZE") {
349
381
  try {
350
- const o = await i({
351
- payment_acceptor_id: r,
382
+ const i = await A({
383
+ payment_acceptor_id: n,
352
384
  ...t.customerId ? { customer_id: t.customerId } : {},
353
- payment_gateway_variant: R,
385
+ payment_gateway_variant: T,
354
386
  stripe: { confirmation_token_id: e },
355
387
  amount: t.amount,
356
388
  ...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
357
- return_url: s
389
+ return_url: c
358
390
  });
359
- await P(o);
360
- } catch (o) {
361
- m.error(
391
+ await D(i);
392
+ } catch (i) {
393
+ s.error(
362
394
  "PAYMENT_AUTHORIZATION_FAILED",
363
- `Failed payment authorization for payment acceptor with id ${r}`,
364
- n({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: o }),
365
- o
366
- ), l({
395
+ `Failed payment authorization for payment acceptor with id ${n}`,
396
+ r({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: i }),
397
+ i
398
+ ), d({
367
399
  code: "AUTHORIZATION_FAILED",
368
400
  message: "Payment authorization failed",
369
- error: o
401
+ error: i
370
402
  });
371
403
  }
372
404
  return;
373
405
  }
374
406
  if (t.variant === "TOKENIZE") {
375
407
  if (!t.customerId) {
376
- m.error(
408
+ s.error(
377
409
  "TOKENIZATION_FAILED",
378
- `Missing customer id for payment acceptor with id ${r}`,
379
- n({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
380
- ), l({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
410
+ `Missing customer id for payment acceptor with id ${n}`,
411
+ r({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
412
+ ), d({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
381
413
  return;
382
414
  }
383
415
  try {
384
- const o = await a({
416
+ const i = await b({
385
417
  customer_id: t.customerId,
386
- payment_acceptor_id: r,
387
- payment_gateway_variant: R,
418
+ payment_acceptor_id: n,
419
+ payment_gateway_variant: T,
388
420
  stripe: { confirmation_token_id: e },
389
- return_url: s
421
+ return_url: c
390
422
  });
391
- await P(o);
392
- } catch (o) {
393
- m.error(
423
+ await D(i);
424
+ } catch (i) {
425
+ s.error(
394
426
  "TOKENIZATION_FAILED",
395
- `Tokenization failed for payment acceptor with id ${r}`,
396
- n({ reason: "TOKENIZATION_FAILED", cause: o }),
397
- o
398
- ), l({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: o });
427
+ `Tokenization failed for payment acceptor with id ${n}`,
428
+ r({ reason: "TOKENIZATION_FAILED", cause: i }),
429
+ i
430
+ ), d({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: i });
399
431
  }
400
432
  }
401
433
  }
402
- async function P(e) {
403
- var r;
404
- if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === R) {
405
- const s = e.action.client_secret || ((r = e.action.data) == null ? void 0 : r.client_secret);
406
- if (!s) {
407
- m.error(
434
+ async function D(e) {
435
+ var n;
436
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === T) {
437
+ const c = e.action.client_secret || ((n = e.action.data) == null ? void 0 : n.client_secret);
438
+ if (!c) {
439
+ s.error(
408
440
  "STRIPE_ACTION_FAILED",
409
441
  "Missing client_secret in Stripe ACTION_REQUIRED response",
410
- n({
442
+ r({
411
443
  reason: "STRIPE_ACTION_MISSING_CLIENT_SECRET",
412
444
  extra: { paymentStatus: e.status }
413
445
  })
414
- ), l({
446
+ ), d({
415
447
  code: "AUTHORIZATION_FAILED",
416
448
  message: "Payment action failed",
417
449
  error: e
418
450
  });
419
451
  return;
420
452
  }
421
- let o;
453
+ let i;
422
454
  try {
423
- o = await Z();
424
- } catch (T) {
425
- m.error(
455
+ i = await K();
456
+ } catch (g) {
457
+ s.error(
426
458
  "STRIPE_ACTION_FAILED",
427
459
  "Failed to load Stripe.js",
428
- n({ reason: "STRIPE_SDK_LOAD_FAILED", cause: T }),
429
- T
430
- ), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: T });
460
+ r({ reason: "STRIPE_SDK_LOAD_FAILED", cause: g }),
461
+ g
462
+ ), d({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: g });
431
463
  return;
432
464
  }
433
- const { error: f } = await o.handleNextAction({ clientSecret: s });
434
- if (f) {
435
- m.error(
465
+ const { error: E } = await i.handleNextAction({ clientSecret: c });
466
+ if (E) {
467
+ s.error(
436
468
  "STRIPE_ACTION_FAILED",
437
469
  "Stripe handleNextAction failed",
438
- n({
470
+ r({
439
471
  reason: "STRIPE_NEXT_ACTION_FAILED",
440
- cause: f,
441
- extra: { stripeErrorCode: f.code, stripeErrorType: f.type }
472
+ cause: E,
473
+ extra: { stripeErrorCode: E.code, stripeErrorType: E.type }
442
474
  }),
443
- f
444
- ), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: f });
475
+ E
476
+ ), d({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: E });
445
477
  return;
446
478
  }
447
- u.value = !0, c("payment-success");
479
+ p.value = !0, o("payment-success");
448
480
  return;
449
481
  }
450
482
  if (e.status === "SUCCESS") {
451
- u.value = !0, c("payment-success");
483
+ p.value = !0, o("payment-success");
452
484
  return;
453
485
  }
454
- m.error(
486
+ s.error(
455
487
  "STRIPE_ACTION_FAILED",
456
488
  "Unexpected payment result status",
457
- n({
489
+ r({
458
490
  reason: "STRIPE_UNEXPECTED_PAYMENT_STATUS",
459
491
  extra: { paymentStatus: e.status }
460
492
  })
461
- ), l({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
493
+ ), d({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
462
494
  }
463
- async function H() {
495
+ async function j() {
464
496
  const e = t.paymentMethodOptionResponseEntry.payment_acceptor.id;
465
- if (b(X) !== e) return;
466
- const s = b("redirect_status"), o = b("payment_intent_client_secret"), f = b("setup_intent_client_secret");
467
- if (!s || !o && !f) return;
468
- if (s === "succeeded") {
469
- u.value = !0, c("payment-success");
497
+ if (O(q) !== e) return;
498
+ const c = O("redirect_status"), i = O("payment_intent_client_secret"), E = O("setup_intent_client_secret");
499
+ if (!c || !i && !E) return;
500
+ if (c === "succeeded") {
501
+ p.value = !0, o("payment-success");
470
502
  return;
471
503
  }
472
- const T = new globalThis.Error(
473
- `Stripe redirect returned status: ${s}`
504
+ const g = new globalThis.Error(
505
+ `Stripe redirect returned status: ${c}`
474
506
  );
475
- m.error(
507
+ s.error(
476
508
  "STRIPE_REDIRECT_RETURN_FAILED",
477
509
  "Stripe redirect returned non-succeeded status",
478
- n({
510
+ r({
479
511
  reason: "STRIPE_REDIRECT_RETURN_FAILED",
480
- extra: { redirectStatus: s }
512
+ extra: { redirectStatus: c }
481
513
  }),
482
- T
483
- ), l({
514
+ g
515
+ ), d({
484
516
  code: "AUTHORIZATION_FAILED",
485
517
  message: "Payment failed",
486
- error: T
518
+ error: g
487
519
  });
488
520
  }
489
- function j() {
490
- c("select", {
521
+ function z() {
522
+ o("select", {
491
523
  paymentMethodType: "card",
492
- paymentGatewayVariant: R
493
- }), c("ready");
524
+ paymentGatewayVariant: T
525
+ }), o("ready");
494
526
  }
495
- function z(e) {
496
- m.error(
527
+ function B(e) {
528
+ s.error(
497
529
  "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
498
530
  "Failed to load the Stripe payment form",
499
- n({
531
+ r({
500
532
  reason: "STRIPE_FORM_LOAD_FAILED",
501
533
  cause: e,
502
534
  extra: { stripeErrorType: e.type }
503
535
  }),
504
536
  e
505
- ), l({
537
+ ), d({
506
538
  code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
507
539
  message: e.message ?? "Failed to load payment form",
508
540
  error: e
509
541
  });
510
542
  }
511
- function l(e) {
512
- const r = ae(e);
513
- d.value = r, c("payment-failed", r);
543
+ function d(e) {
544
+ const n = ae(e);
545
+ l.value = n, o("payment-failed", n);
514
546
  }
515
- return L(() => {
516
- H().catch((e) => {
517
- m.error(
547
+ return M(() => {
548
+ j().catch((e) => {
549
+ s.error(
518
550
  "STRIPE_REDIRECT_RETURN_FAILED",
519
551
  "handleRedirectReturn threw unexpectedly",
520
- n({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
552
+ r({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
521
553
  e
522
554
  );
523
555
  });
524
- }), M(() => {
525
- y.value = null;
526
- }), (e, r) => u.value ? (v(), N(q, {
556
+ }), k(() => {
557
+ _.value = null;
558
+ }), (e, n) => p.value ? (h(), w(X, {
527
559
  key: 0,
528
- variant: p.variant,
529
- redirecting: p.redirectsOnSuccess
530
- }, null, 8, ["variant", "redirecting"])) : d.value ? (v(), N(J, {
560
+ variant: m.variant,
561
+ redirecting: m.redirectsOnSuccess
562
+ }, null, 8, ["variant", "redirecting"])) : l.value ? (h(), w(J, {
531
563
  key: 1,
532
- error: d.value
533
- }, null, 8, ["error"])) : _.value ? (v(), N(se, {
564
+ error: l.value
565
+ }, null, 8, ["error"])) : a.value ? (h(), w(se, {
534
566
  key: 2,
535
567
  ref_key: "frameRef",
536
- ref: I,
537
- "public-key": _.value,
538
- options: O.value,
539
- "country-code": p.countryCode,
540
- email: p.email,
541
- name: p.name,
542
- onReady: j,
543
- onChange: r[0] || (r[0] = (s) => c("select", {
544
- paymentMethodType: s,
545
- paymentGatewayVariant: R
568
+ ref: y,
569
+ "public-key": a.value,
570
+ options: N.value,
571
+ "country-code": m.countryCode,
572
+ email: m.email,
573
+ name: m.name,
574
+ onReady: z,
575
+ onChange: n[0] || (n[0] = (c) => o("select", {
576
+ paymentMethodType: c,
577
+ paymentGatewayVariant: T
546
578
  })),
547
- onLoaderror: z,
548
- onSubmitSuccess: K,
549
- onSubmitError: r[1] || (r[1] = (s) => G(m).error(
550
- "STRIPE_CONFIRMATION_TOKEN_FAILED",
551
- "Stripe submission failed",
552
- n({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: s }),
553
- s
554
- ))
579
+ onLoaderror: B,
580
+ onSubmitSuccess: H,
581
+ onSubmitError: x
555
582
  }, null, 8, ["public-key", "options", "country-code", "email", "name"])) : $("", !0);
556
583
  }
557
584
  });