@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.31

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 (678) hide show
  1. package/README.md +501 -52
  2. package/dist/AddPaymentMethodModal-Bs_aOOCX.mjs +97 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
  4. package/dist/Alert.vue.es-xhsk_7Gn.mjs +158 -0
  5. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  6. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  7. package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
  8. package/dist/Avatar.vue.es-DrbtUiLO.mjs +81 -0
  9. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
  10. package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
  11. package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
  12. package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
  13. package/dist/Button.vue.es-BHbanjR0.mjs +368 -0
  14. package/dist/ChargeOnDemandModal-DYiFtw1n.mjs +965 -0
  15. package/dist/Chip.vue.es-Dc6-PjEn.mjs +128 -0
  16. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  17. package/dist/ContentWithAsideLayout-C2kFcft1.mjs +32 -0
  18. package/dist/ContextMenu.vue.es-CvX6O2IM.mjs +572 -0
  19. package/dist/CustomerBillingInformation.vue.es-DQWt9osz.mjs +153 -0
  20. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  21. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
  22. package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs +2828 -0
  24. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  25. package/dist/DividerText.vue.es-ChN6fnrH.mjs +56 -0
  26. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs +55 -0
  27. package/dist/ErrorNotification.vue.es-CWIVt5q9.mjs +31 -0
  28. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  29. package/dist/FormMessage.vue.es-CQ64C8dt.mjs +39 -0
  30. package/dist/IconButton.vue.es-BXzwMvVk.mjs +56 -0
  31. package/dist/IconTitle.vue.es-GyanM-JQ.mjs +103 -0
  32. package/dist/Input.vue.es-CxiwRZYs.mjs +250 -0
  33. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs +93 -0
  34. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs +56 -0
  35. package/dist/InvoicePreview.vue.es-BvnikfEH.mjs +286 -0
  36. package/dist/InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs +124 -0
  37. package/dist/Label.vue.es-3ACRco55.mjs +113 -0
  38. package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
  39. package/dist/Modal.vue.es-CDjfZDDx.mjs +404 -0
  40. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
  41. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs +48 -0
  42. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs +250 -0
  43. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs +51 -0
  44. package/dist/PaymentHistoryBlock-HUazLER6.mjs +4 -0
  45. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs +93 -0
  46. package/dist/PaymentIntegrationForm-ZnIjTyda.mjs +4 -0
  47. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
  48. package/dist/PaymentIntegrationFormAdyen-sbw3AoKS.mjs +946 -0
  49. package/dist/PaymentIntegrationFormStripe-4JmKEwbS.mjs +767 -0
  50. package/dist/PaymentMethod.vue.es-DAabE41t.mjs +645 -0
  51. package/dist/PaymentMethodForm-MmCUSJLE.mjs +4 -0
  52. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
  53. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs +169 -0
  54. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs +176 -0
  55. package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
  56. package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
  57. package/dist/PortalLinkUnverified-B7YYhv97.mjs +52 -0
  58. package/dist/PortalNotAvailable-DIyeKrAp.mjs +25 -0
  59. package/dist/PricingGroupRangeInput.vue.es-C6J8C7JS.mjs +578 -0
  60. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs +178 -0
  61. package/dist/RadioGroupExtended.vue.es-hDmUAKIA.mjs +176 -0
  62. package/dist/Section.vue.es-CwKTCeZ1.mjs +72 -0
  63. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs +60 -0
  64. package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
  65. package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
  66. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  67. package/dist/StepInput.vue.es-GkrOtOVa.mjs +213 -0
  68. package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
  69. package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
  70. package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
  71. package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
  72. package/dist/SubscriptionSchedules-DosBeXD7.mjs +4 -0
  73. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs +5183 -0
  74. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
  75. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs +344 -0
  76. package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
  77. package/dist/TooltipParagraph.vue.es-4HaXi8RP.mjs +132 -0
  78. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs +31 -0
  79. package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
  80. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  81. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  82. package/dist/addonQuantity-BvoYTajN.mjs +128 -0
  83. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  84. package/dist/adyen-Bugab0JE.mjs +4 -0
  85. package/dist/adyen-D4em6EgU.mjs +99 -0
  86. package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
  87. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  88. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  89. package/dist/amount-CondixVt.mjs +36 -0
  90. package/dist/api.es-QaC926Xu.mjs +43 -0
  91. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  92. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  93. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  94. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  95. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  96. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  97. package/dist/cn.es-B8acFrov.mjs +2936 -0
  98. package/dist/comparators.es-C8rHpb70.mjs +157 -0
  99. package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
  100. package/dist/components/BillingInformation/BillingInformation.mjs +78 -0
  101. package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
  102. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +93 -0
  103. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
  104. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +78 -0
  105. package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
  106. package/dist/components/Invoice/Invoice.mjs +2930 -0
  107. package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
  108. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +101 -0
  109. package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
  110. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +63 -0
  111. package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
  112. package/dist/components/InvoicesList/InvoicesList.mjs +79 -0
  113. package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
  114. package/dist/components/PaymentHistory/PaymentHistory.mjs +109 -0
  115. package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
  116. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +90 -0
  117. package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
  118. package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
  119. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
  120. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +80 -0
  121. package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
  122. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +99 -0
  123. package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
  124. package/dist/components/WalletBalances/WalletBalances.mjs +105 -0
  125. package/dist/configuration-BytDBAWs.mjs +14 -0
  126. package/dist/core/action-request.types.d.ts +1 -58
  127. package/dist/core/configuration.d.ts +1 -3
  128. package/dist/core/events.types.d.ts +1 -0
  129. package/dist/core/index.d.ts +1 -10
  130. package/dist/core/index.mjs +168 -0
  131. package/dist/core/registry.ce.d.ts +1 -2
  132. package/dist/core/registry.d.ts +1 -6
  133. package/dist/core/types.d.ts +1 -111
  134. package/dist/customElements-d7Bhfqi_.mjs +5099 -0
  135. package/dist/customer-CNCSN_G5.mjs +31 -0
  136. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  137. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  138. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  139. package/dist/de-DE-D-sV3avS.mjs +309 -0
  140. package/dist/de-DE-wZp39RC-.mjs +498 -0
  141. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  142. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  143. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  144. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  145. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  146. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  147. package/dist/formControl-BZQLHnOO.mjs +749 -0
  148. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  149. package/dist/fr-FR-BYHycSxz.mjs +310 -0
  150. package/dist/fr-FR-BrNXJ7gR.mjs +498 -0
  151. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  152. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  153. package/dist/getCountryNameByCode.es-OGxn_zT0.mjs +257 -0
  154. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  155. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  156. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  157. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  158. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  159. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  160. package/dist/index-CTwLxoOS.mjs +7250 -0
  161. package/dist/index.d.ts +1 -15
  162. package/dist/index.es-BEZ2mumY.mjs +633 -0
  163. package/dist/index.es-C7J3WGGo.mjs +345 -0
  164. package/dist/index.mjs +46 -0
  165. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  166. package/dist/invoices-CXvL8KQx.mjs +143 -0
  167. package/dist/it-IT-Bd1qsMVU.mjs +498 -0
  168. package/dist/it-IT-zpPyT9PH.mjs +309 -0
  169. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  170. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  171. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  172. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  173. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  174. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  175. package/dist/nl-NL-BOr4MR7L.mjs +324 -0
  176. package/dist/nl-NL-C6Y6fqaW.mjs +498 -0
  177. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  178. package/dist/object.es-8aLDIncs.mjs +12 -0
  179. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  180. package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
  181. package/dist/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
  182. package/dist/paymentMethods-CG1fcG2v.mjs +78 -0
  183. package/dist/paymentOutcome-D59QkGfm.mjs +22 -0
  184. package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
  185. package/dist/payments-Dy81gmkC.mjs +71 -0
  186. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  187. package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
  188. package/dist/pricing-CBJT8C6L.mjs +42 -0
  189. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  190. package/dist/pricingItem.es-AYq_hYeD.mjs +55 -0
  191. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  192. package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
  193. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  194. package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
  195. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  196. package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
  197. package/dist/screens/Checkout/Checkout.mjs +1100 -0
  198. package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
  199. package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
  200. package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
  201. package/dist/screens/CustomerOverview/CustomerOverview.mjs +277 -0
  202. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
  203. package/dist/screens/PayInvoice/PayInvoice.mjs +873 -0
  204. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
  205. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +219 -0
  206. package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
  207. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +5 -0
  208. package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
  209. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +1135 -0
  210. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  211. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  212. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  213. package/dist/sorting.es-kM0f1VX0.mjs +77 -0
  214. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  215. package/dist/subscription-DQ5mRp_e.mjs +212 -0
  216. package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
  217. package/dist/taxId.es-Zu2Ff1gL.mjs +510 -0
  218. package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
  219. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  220. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  221. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  222. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +21 -0
  223. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +20 -0
  224. package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
  225. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +10 -0
  226. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +21 -0
  227. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +15 -0
  228. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +58 -0
  229. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +16 -0
  230. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  231. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  232. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  233. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  234. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  235. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
  236. package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
  237. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +78 -0
  238. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +12 -0
  239. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +26 -0
  240. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +25 -0
  241. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +12 -0
  242. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +9 -0
  243. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +11 -0
  244. package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
  245. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +148 -0
  246. package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
  247. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
  248. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +68 -0
  249. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +49 -0
  250. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +10 -0
  251. package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
  252. package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
  253. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
  254. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
  255. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +13 -0
  256. package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
  257. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  258. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +32 -0
  259. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +20 -0
  260. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +22 -0
  261. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -0
  262. package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
  263. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +3 -0
  264. package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
  265. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +14 -0
  266. package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
  267. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  268. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
  269. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +14 -0
  270. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  271. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +12 -0
  272. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +12 -0
  273. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +13 -0
  274. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
  275. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
  276. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +14 -0
  277. package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
  278. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +28 -0
  279. package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
  280. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +14 -0
  281. package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
  282. package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
  283. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
  284. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +82 -0
  285. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
  286. package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
  287. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -0
  288. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
  289. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +21 -0
  290. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +4 -0
  291. package/dist/types/components/providers/Provider/Provider.types.d.ts +22 -0
  292. package/dist/types/components/providers/Provider/Provider.vue.d.ts +15 -0
  293. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  294. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +13 -0
  295. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +14 -0
  296. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +14 -0
  297. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
  298. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +14 -0
  299. package/dist/types/components/providers/index.d.ts +9 -0
  300. package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
  301. package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
  302. package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
  303. package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
  304. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +20 -0
  305. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
  306. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +9 -0
  307. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  308. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +70 -0
  309. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +29 -0
  310. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +18 -0
  311. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
  312. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
  313. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +10 -0
  314. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +8 -0
  315. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
  316. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
  317. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +10 -0
  318. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +8 -0
  319. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
  320. package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
  321. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +23 -0
  322. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +12 -0
  323. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +10 -0
  324. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
  325. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
  326. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +20 -0
  327. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +20 -0
  328. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
  329. package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
  330. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +53 -0
  331. package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
  332. package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
  333. package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
  334. package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
  335. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +25 -0
  336. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +5 -0
  337. package/dist/types/composables/useInvoicePreview.types.d.ts +10 -0
  338. package/dist/types/config/config.beta.d.ts +2 -0
  339. package/dist/types/config/config.dev.d.ts +2 -0
  340. package/dist/types/config/config.live.d.ts +2 -0
  341. package/dist/types/config/internalEnvironments.d.ts +11 -0
  342. package/dist/types/config/internalEnvironments.published.d.ts +7 -0
  343. package/dist/types/config/lib.d.ts +6 -0
  344. package/dist/types/config/types.d.ts +13 -0
  345. package/dist/types/index.d.ts +27 -0
  346. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
  347. package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
  348. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +14 -0
  349. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
  350. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +3 -0
  351. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
  352. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
  353. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
  354. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +25 -0
  355. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  356. package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
  357. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
  358. package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
  359. package/dist/types/public/components/Invoice/Invoice.types.d.ts +25 -0
  360. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
  361. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +6 -0
  362. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +7 -0
  363. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
  364. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
  365. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +15 -0
  366. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
  367. package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
  368. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +38 -0
  369. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
  370. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +6 -0
  371. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +8 -0
  372. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
  373. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
  374. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +50 -0
  375. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
  376. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
  377. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
  378. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
  379. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +6 -0
  380. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +7 -0
  381. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
  382. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
  383. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +28 -0
  384. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
  385. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +3 -0
  386. package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
  387. package/dist/types/public/core/action-request.types.d.ts +54 -0
  388. package/dist/types/public/core/configuration.d.ts +2 -0
  389. package/dist/types/public/core/events.types.d.ts +99 -0
  390. package/dist/types/public/core/index.d.ts +16 -0
  391. package/dist/types/public/core/registry.ce.d.ts +8 -0
  392. package/dist/types/public/core/registry.d.ts +3 -0
  393. package/dist/types/public/core/types.d.ts +139 -0
  394. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
  395. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +5 -0
  396. package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
  397. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +23 -0
  398. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
  399. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
  400. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
  401. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
  402. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -0
  403. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
  404. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
  405. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +21 -0
  406. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
  407. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
  408. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
  409. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +10 -0
  410. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
  411. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
  412. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +22 -0
  413. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
  414. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
  415. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +14 -0
  416. package/dist/types/public/screens/types.d.ts +4 -0
  417. package/dist/types/public/types/index.d.ts +23 -0
  418. package/dist/types/services/invoices.types.d.ts +26 -0
  419. package/dist/types/services/paymentMethods.types.d.ts +36 -0
  420. package/dist/types/services/requests.types.d.ts +41 -0
  421. package/dist/types/translations/supported.d.ts +1 -0
  422. package/dist/types/types/EntryBaseProps.d.ts +14 -0
  423. package/dist/types/types/branding.d.ts +15 -0
  424. package/dist/types/types/checkoutSession.d.ts +189 -0
  425. package/dist/types/types/errors.d.ts +15 -0
  426. package/dist/types/types/portalAuthentication.d.ts +2 -0
  427. package/dist/types/types/portalToken.d.ts +9 -0
  428. package/dist/types/types/pricingPlanGroup.d.ts +25 -0
  429. package/dist/types/types/shippingAddress.d.ts +9 -0
  430. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  431. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +118 -0
  432. package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
  433. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  434. package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
  435. package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
  436. package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
  437. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
  438. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
  439. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
  440. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +82 -0
  441. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +43 -0
  442. package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
  443. package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
  444. package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
  445. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
  446. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
  447. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
  448. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +47 -0
  449. package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
  450. package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
  451. package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
  452. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +15 -0
  453. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
  454. package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
  455. package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
  456. package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
  457. package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
  458. package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
  459. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +51 -0
  460. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
  461. package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
  462. package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
  463. package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
  464. package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
  465. package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
  466. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  467. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +22 -0
  468. package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
  469. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
  470. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
  471. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
  472. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
  473. package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
  474. package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
  475. package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
  476. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +375 -0
  477. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +379 -0
  478. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +32 -0
  479. package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
  480. package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
  481. package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
  482. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
  483. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
  484. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
  485. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
  486. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
  487. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  488. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
  489. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
  490. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
  491. package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
  492. package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
  493. package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
  494. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  495. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
  496. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +127 -0
  497. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
  498. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
  499. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
  500. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
  501. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
  502. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +132 -0
  503. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +134 -0
  504. package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
  505. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
  506. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
  507. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
  508. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
  509. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
  510. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +135 -0
  511. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  512. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +111 -0
  513. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
  514. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
  515. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +94 -0
  516. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
  517. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
  518. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
  519. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +47 -0
  520. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +24 -0
  521. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
  522. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +62 -0
  523. package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
  524. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +46 -0
  525. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +128 -0
  526. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +81 -0
  527. package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
  528. package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
  529. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
  530. package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
  531. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  532. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  533. package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
  534. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
  535. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
  536. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
  537. package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
  538. package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
  539. package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
  540. package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
  541. package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
  542. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +50 -0
  543. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
  544. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
  545. package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
  546. package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
  547. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +222 -0
  548. package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
  549. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
  550. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  551. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  552. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  553. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  554. package/dist/useActionDispatchProvider-BWna0S6N.mjs +9 -0
  555. package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
  556. package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
  557. package/dist/useCustomer-RUtEzDOY.mjs +20 -0
  558. package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
  559. package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
  560. package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
  561. package/dist/useIncrementalLoading-B3gp58X-.mjs +60 -0
  562. package/dist/useInvoiceData-Dya4mmvf.mjs +21 -0
  563. package/dist/useInvoicesList-Dp3c_cb3.mjs +674 -0
  564. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  565. package/dist/useLoadInitialData-CwySdYZM.mjs +15 -0
  566. package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
  567. package/dist/usePaymentMethodAvailability-B7NV0ZtX.mjs +117 -0
  568. package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
  569. package/dist/usePaymentMethods-DBGyQA_I.mjs +21 -0
  570. package/dist/usePayments-ChGtK_As.mjs +323 -0
  571. package/dist/usePortal--Uzbpbgr.mjs +14 -0
  572. package/dist/useService-DayNZhPh.mjs +56 -0
  573. package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
  574. package/dist/useSubscription-lIGMFLG1.mjs +35 -0
  575. package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
  576. package/dist/useViewport-psZejz_H.mjs +19 -0
  577. package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
  578. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  579. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  580. package/dist/wallets.es-eH2C2ygn.mjs +102 -0
  581. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  582. package/package.json +115 -77
  583. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
  584. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
  585. package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
  586. package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
  587. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
  588. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
  589. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
  590. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
  591. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
  592. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
  593. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
  594. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
  595. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
  596. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
  597. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
  598. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
  599. package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
  600. package/dist/_Uint8Array-DxISR7XF.js +0 -1
  601. package/dist/auto-DzZuCneB.mjs +0 -14387
  602. package/dist/auto-PpnAChnH.js +0 -6
  603. package/dist/cloneDeep-DranHQkY.js +0 -1
  604. package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
  605. package/dist/component-DEo_ndpK.mjs +0 -58668
  606. package/dist/component-XHQYFLA_.js +0 -1
  607. package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
  608. package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
  609. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
  610. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
  611. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
  612. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
  613. package/dist/components/Invoice/Invoice.cjs.js +0 -1
  614. package/dist/components/Invoice/Invoice.es.js +0 -582
  615. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
  616. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
  617. package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
  618. package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
  619. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
  620. package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
  621. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
  622. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
  623. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
  624. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
  625. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
  626. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
  627. package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
  628. package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
  629. package/dist/core/index.cjs.js +0 -1
  630. package/dist/core/index.es.js +0 -6
  631. package/dist/index-2jo9BSPM.js +0 -1
  632. package/dist/index-BFZ0dPh9.mjs +0 -179
  633. package/dist/index-CWSXne1Q.js +0 -1
  634. package/dist/index-CzL1ZcGi.mjs +0 -85
  635. package/dist/index-D3v7hAtc.mjs +0 -253
  636. package/dist/index-DRdBmZ2-.js +0 -1
  637. package/dist/index.cjs.js +0 -1
  638. package/dist/index.es.js +0 -45
  639. package/dist/invoices-BW1notiX.js +0 -1
  640. package/dist/invoices-M5oYVch6.mjs +0 -84
  641. package/dist/paymentMethods-BX80t2zk.js +0 -1
  642. package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
  643. package/dist/payments-BHv4hCeJ.js +0 -1
  644. package/dist/payments-CosaPZwo.mjs +0 -47
  645. package/dist/registry-BwKEYOf7.js +0 -1
  646. package/dist/registry-Cag1Jj7P.mjs +0 -143
  647. package/dist/screens/Checkout/Checkout.cjs.js +0 -1
  648. package/dist/screens/Checkout/Checkout.es.js +0 -5142
  649. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
  650. package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
  651. package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
  652. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
  653. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
  654. package/dist/solvimon-web.css +0 -1
  655. package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
  656. package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
  657. package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
  658. package/dist/subscriptions-CnxvsBXd.js +0 -1
  659. package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
  660. package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
  661. package/dist/useCustomer-B0NK96dA.js +0 -1
  662. package/dist/useCustomer-DlcjY3fP.mjs +0 -45
  663. package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
  664. package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
  665. package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
  666. package/dist/useIncrementalLoading-D60Vttil.js +0 -1
  667. package/dist/useInvoiceData-CcueV3We.mjs +0 -51
  668. package/dist/useInvoiceData-DstXfI7t.js +0 -1
  669. package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
  670. package/dist/useInvoicesList-DmzjgMlW.js +0 -1
  671. package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
  672. package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
  673. package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
  674. package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
  675. package/dist/useService-B4qv5N2D.mjs +0 -281
  676. package/dist/useService-D-CUtlp3.js +0 -1
  677. package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
  678. package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
@@ -0,0 +1,767 @@
1
+ import { defineComponent as q, ref as T, onMounted as X, onBeforeUnmount as Q, watch as de, openBlock as M, createElementBlock as le, unref as ye, computed as x, createBlock as Z, createCommentVNode as fe } from "vue";
2
+ import { a as K } from "./useService-DayNZhPh.mjs";
3
+ import { a as Ee, e as Ie } from "./customElements-d7Bhfqi_.mjs";
4
+ import { t as _e } from "./amount-CondixVt.mjs";
5
+ import { _ as ge } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs";
6
+ import { _ as Te } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs";
7
+ import { c as Re } from "./payments-Dy81gmkC.mjs";
8
+ import { c as he } from "./paymentMethods-CG1fcG2v.mjs";
9
+ import { c as be } from "./adyen-D4em6EgU.mjs";
10
+ import { a as Se, c as ve } from "./paymentRedirect-DaS8Kccc.mjs";
11
+ import { i as Ae, a as Oe, b as $ } from "./paymentOutcome-D59QkGfm.mjs";
12
+ import { c as Ne, a as we } from "./paymentFailure-QZdZHBhf.mjs";
13
+ const J = "https://js.stripe.com/dahlia/stripe.js", Pe = `<!DOCTYPE html>
14
+ <html>
15
+ <head>
16
+ <meta charset="UTF-8">
17
+ <meta name="viewport" content="width=device-width, initial-scale=1">
18
+ <style>
19
+ * { box-sizing: border-box; margin: 0; padding: 0; }
20
+ body { overflow: hidden; }
21
+ </style>
22
+ </head>
23
+ <body>
24
+ <div id="stripe-root"></div>
25
+ <script src="${J}"><\/script>
26
+ <script>
27
+ (function () {
28
+ let stripe, elements, paymentElement, resizeObserver, countryCode, email, name, parentOrigin;
29
+
30
+ // An opaque origin serialises as 'null', which postMessage refuses as a target. The parent
31
+ // checks that what it receives comes from this frame.
32
+ function parentTarget() {
33
+ return parentOrigin === 'null' ? '*' : parentOrigin;
34
+ }
35
+
36
+ // Every submit is answered, or the page waiting on it never stops waiting.
37
+ function postSubmitError(error) {
38
+ parent.postMessage({
39
+ type: 'stripe:submit:error',
40
+ error: {
41
+ message: error && error.message ? String(error.message) : 'Stripe submission failed',
42
+ type: error && error.type,
43
+ code: error && error.code
44
+ }
45
+ }, parentTarget());
46
+ }
47
+
48
+ window.addEventListener('message', function (event) {
49
+ if (!event.data || typeof event.data !== 'object') return;
50
+ if (event.source !== window.parent) return;
51
+
52
+ if (event.data.type === 'stripe:init') {
53
+ parentOrigin = event.origin;
54
+ const initId = event.data.initId;
55
+ countryCode = event.data.countryCode;
56
+ email = event.data.email;
57
+ name = event.data.name;
58
+ // A second Payment Element would mount beside the first, and the submit would go to it empty.
59
+ if (paymentElement) paymentElement.destroy();
60
+ stripe = Stripe(event.data.publicKey);
61
+ elements = stripe.elements(event.data.options);
62
+ paymentElement = elements.create('payment', { layout: { type: 'accordion', defaultCollapsed: event.data.collapsed === true }, wallets: event.data.options.wallets, fields: event.data.options.fields });
63
+
64
+ paymentElement.on('ready', function () {
65
+ parent.postMessage({ type: 'stripe:ready', initId: initId }, parentTarget());
66
+ });
67
+
68
+ paymentElement.on('change', function (e) {
69
+ parent.postMessage({ type: 'stripe:change', paymentMethodType: e.value.type, empty: e.empty === true, collapsed: e.collapsed === true }, parentTarget());
70
+ });
71
+
72
+ paymentElement.on('loaderror', function (e) {
73
+ parent.postMessage({
74
+ type: 'stripe:loaderror',
75
+ error: { message: e.error.message, type: e.error.type }
76
+ }, parentTarget());
77
+ });
78
+
79
+ paymentElement.mount('#stripe-root');
80
+
81
+ if (!resizeObserver) {
82
+ resizeObserver = new ResizeObserver(function () {
83
+ parent.postMessage({
84
+ type: 'stripe:resize',
85
+ height: document.documentElement.scrollHeight
86
+ }, parentTarget());
87
+ });
88
+ resizeObserver.observe(document.documentElement);
89
+ }
90
+ }
91
+
92
+ if (event.data.type === 'stripe:update') {
93
+ if (!parentOrigin || event.origin !== parentOrigin || !elements) return;
94
+ const updateElements = elements;
95
+ const updateOptions = event.data.options;
96
+ // A failed update leaves the element showing the old amount; the parent sets it up anew.
97
+ Promise.resolve().then(function () {
98
+ return updateElements.update(updateOptions);
99
+ }).catch(function () {
100
+ if (updateElements !== elements) return;
101
+ parent.postMessage({ type: 'stripe:update:error' }, parentTarget());
102
+ });
103
+ }
104
+
105
+ if (event.data.type === 'stripe:submit') {
106
+ if (!parentOrigin || event.origin !== parentOrigin) return;
107
+ const submitCountryCode = 'countryCode' in event.data ? event.data.countryCode : countryCode;
108
+ const submitEmail = 'email' in event.data ? event.data.email : email;
109
+ const submitName = 'name' in event.data ? event.data.name : name;
110
+ // A setup anew while this submit is in flight replaces both; the token comes from the
111
+ // elements that were submitted.
112
+ const submitStripe = stripe;
113
+ const submitElements = elements;
114
+ if (!submitElements) {
115
+ postSubmitError();
116
+ return;
117
+ }
118
+ submitElements.submit().then(function (submitResult) {
119
+ if (submitResult.error) {
120
+ postSubmitError(submitResult.error);
121
+ return;
122
+ }
123
+ const billingDetails = {};
124
+ if (submitCountryCode) billingDetails.address = { country: submitCountryCode };
125
+ if (submitEmail) billingDetails.email = submitEmail;
126
+ if (submitName) billingDetails.name = submitName;
127
+ const tokenParams = Object.keys(billingDetails).length
128
+ ? { payment_method_data: { billing_details: billingDetails } }
129
+ : {};
130
+ return submitStripe.createConfirmationToken({ elements: submitElements, params: tokenParams }).then(function (tokenResult) {
131
+ if (tokenResult.error) {
132
+ postSubmitError(tokenResult.error);
133
+ return;
134
+ }
135
+ parent.postMessage({
136
+ type: 'stripe:submit:success',
137
+ confirmationTokenId: tokenResult.confirmationToken.id
138
+ }, parentTarget());
139
+ });
140
+ }).catch(postSubmitError);
141
+ }
142
+ });
143
+ })();
144
+ <\/script>
145
+ </body>
146
+ </html>`, G = { link: "never" }, V = {
147
+ variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
148
+ rules: {
149
+ ".TermsText": { fontSize: "14px" },
150
+ ".Input": {
151
+ backgroundColor: "rgba(243, 244, 246, 0.5)",
152
+ fontSize: "14px",
153
+ borderColor: "rgb(229, 231, 235)"
154
+ }
155
+ }
156
+ };
157
+ function Ce(o, s) {
158
+ return {
159
+ billingDetails: {
160
+ address: { country: "never" },
161
+ ...o ? { email: "never" } : {},
162
+ ...s ? { name: "never" } : {}
163
+ }
164
+ };
165
+ }
166
+ function De({
167
+ amount: o,
168
+ email: s,
169
+ name: E,
170
+ variant: t,
171
+ storePaymentMethod: c = !1
172
+ }) {
173
+ const R = o.currency.toLowerCase(), d = Ce(s, E);
174
+ return t === "TOKENIZE" ? {
175
+ mode: "setup",
176
+ currency: R,
177
+ setup_future_usage: "off_session",
178
+ wallets: G,
179
+ fields: d,
180
+ appearance: V
181
+ } : {
182
+ mode: "payment",
183
+ currency: R,
184
+ amount: _e(o).value,
185
+ ...c ? { setup_future_usage: "off_session" } : {},
186
+ wallets: G,
187
+ fields: d,
188
+ appearance: V
189
+ };
190
+ }
191
+ function Me(o, s) {
192
+ if (!(o.mode !== s.mode || !K(o.fields, s.fields) || !K(o.wallets, s.wallets)))
193
+ return {
194
+ currency: s.currency,
195
+ ...s.mode === "payment" ? { amount: s.amount } : {},
196
+ setup_future_usage: s.setup_future_usage ?? null,
197
+ ...s.appearance ? { appearance: s.appearance } : {}
198
+ };
199
+ }
200
+ function z(o) {
201
+ return o === "null" ? "*" : o;
202
+ }
203
+ const Fe = {
204
+ api_connection_error: !0,
205
+ api_error: !0,
206
+ authentication_error: !0,
207
+ card_error: !0,
208
+ idempotency_error: !0,
209
+ invalid_request_error: !0,
210
+ rate_limit_error: !0,
211
+ validation_error: !0
212
+ };
213
+ function H(o) {
214
+ return typeof o == "string" && Object.hasOwn(Fe, o);
215
+ }
216
+ function C(o) {
217
+ if (typeof o != "object" || o === null) return {};
218
+ const s = Reflect.get(o, "code"), E = Reflect.get(o, "type"), t = Reflect.get(o, "message");
219
+ return {
220
+ code: typeof s == "string" ? s : void 0,
221
+ type: H(E) ? E : void 0,
222
+ message: typeof t == "string" ? t : void 0
223
+ };
224
+ }
225
+ const Le = ["src", "height", "title"], Ue = /* @__PURE__ */ q({
226
+ __name: "PaymentIntegrationFormStripeFrame",
227
+ props: {
228
+ publicKey: { type: String },
229
+ options: { type: Object },
230
+ countryCode: { type: String },
231
+ email: { type: String },
232
+ name: { type: String },
233
+ collapsed: { type: Boolean }
234
+ },
235
+ emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
236
+ setup(o, { expose: s, emit: E }) {
237
+ const t = o, c = E, { $t: R } = Ee();
238
+ s({ triggerSubmit: F });
239
+ const d = T(), h = T(0), b = T();
240
+ let v = !1, w = 0, S;
241
+ function I() {
242
+ var n, a;
243
+ v = !1, w += 1, S = t.options, (a = (n = d.value) == null ? void 0 : n.contentWindow) == null || a.postMessage(
244
+ {
245
+ type: "stripe:init",
246
+ initId: w,
247
+ publicKey: t.publicKey,
248
+ options: t.options,
249
+ countryCode: t.countryCode,
250
+ email: t.email,
251
+ name: t.name,
252
+ collapsed: t.collapsed === !0
253
+ },
254
+ z(window.origin)
255
+ );
256
+ }
257
+ function u(n, a) {
258
+ var _, p;
259
+ S = n, (p = (_ = d.value) == null ? void 0 : _.contentWindow) == null || p.postMessage(
260
+ { type: "stripe:update", options: a },
261
+ z(window.origin)
262
+ );
263
+ }
264
+ function F() {
265
+ var a;
266
+ const n = (a = d.value) == null ? void 0 : a.contentWindow;
267
+ return !v || !n ? !1 : (n.postMessage(
268
+ {
269
+ type: "stripe:submit",
270
+ countryCode: t.countryCode,
271
+ email: t.email,
272
+ name: t.name
273
+ },
274
+ z(window.origin)
275
+ ), !0);
276
+ }
277
+ function P(n) {
278
+ return typeof n == "object" && n !== null;
279
+ }
280
+ function A(n) {
281
+ if (!d.value || n.source !== d.value.contentWindow || !P(n.data)) return;
282
+ const a = n.data, _ = a.type;
283
+ if (!(typeof _ != "string" || !_.startsWith("stripe:")))
284
+ switch (_) {
285
+ case "stripe:ready":
286
+ a.initId === w && (v = !0), c("ready");
287
+ break;
288
+ case "stripe:change":
289
+ c(
290
+ "change",
291
+ typeof a.paymentMethodType == "string" ? a.paymentMethodType : "card",
292
+ a.empty === !0,
293
+ a.collapsed === !0
294
+ );
295
+ break;
296
+ case "stripe:loaderror": {
297
+ const p = P(a.error) ? a.error : {};
298
+ c("loaderror", {
299
+ message: typeof p.message == "string" ? p.message : void 0,
300
+ type: H(p.type) ? p.type : void 0
301
+ });
302
+ break;
303
+ }
304
+ case "stripe:update:error":
305
+ I();
306
+ break;
307
+ case "stripe:resize":
308
+ typeof a.height == "number" && (h.value = a.height);
309
+ break;
310
+ case "stripe:submit:success":
311
+ typeof a.confirmationTokenId == "string" ? c("submit-success", a.confirmationTokenId) : c("submit-error", { message: "Stripe returned no confirmation token" });
312
+ break;
313
+ case "stripe:submit:error": {
314
+ const p = P(a.error) ? a.error : {};
315
+ c("submit-error", {
316
+ message: typeof p.message == "string" ? p.message : void 0,
317
+ type: H(p.type) ? p.type : void 0,
318
+ code: typeof p.code == "string" ? p.code : void 0
319
+ });
320
+ break;
321
+ }
322
+ }
323
+ }
324
+ return X(() => {
325
+ const n = new Blob([Pe], { type: "text/html" });
326
+ b.value = URL.createObjectURL(n), window.addEventListener("message", A);
327
+ }), Q(() => {
328
+ window.removeEventListener("message", A), b.value && URL.revokeObjectURL(b.value);
329
+ }), de(
330
+ () => t.options,
331
+ (n) => {
332
+ if (!S || K(n, S)) return;
333
+ const a = Me(S, n);
334
+ a ? u(n, a) : I();
335
+ },
336
+ { deep: !0 }
337
+ ), (n, a) => (M(), le("iframe", {
338
+ ref_key: "iframeRef",
339
+ ref: d,
340
+ src: b.value,
341
+ height: h.value || void 0,
342
+ frameborder: "0",
343
+ style: { width: "100%", display: "block", border: "none" },
344
+ title: ye(R)({
345
+ defaultMessage: "Payment form",
346
+ id: "payment_integration_form_stripe.frame_title",
347
+ description: "Accessible name of the frame that holds the Stripe payment fields"
348
+ }),
349
+ onLoad: I
350
+ }, null, 40, Le));
351
+ }
352
+ }), N = "STRIPE", Ve = /* @__PURE__ */ q({
353
+ __name: "PaymentIntegrationFormStripe",
354
+ props: {
355
+ email: { type: String },
356
+ name: { type: String },
357
+ countryCode: { type: String },
358
+ customerId: { type: String },
359
+ invoiceId: { type: String },
360
+ paymentMethodOptionResponseEntry: { type: Object },
361
+ variant: { type: String },
362
+ selected: { type: Boolean },
363
+ amount: { type: Object },
364
+ validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
365
+ context: { type: Object },
366
+ forceStorePaymentMethod: { type: Boolean },
367
+ storePaymentMethod: { type: Boolean },
368
+ redirectsOnSuccess: { type: Boolean },
369
+ billingEntityName: { type: String },
370
+ collapsed: { type: Boolean }
371
+ },
372
+ emits: ["select", "payment-failed", "payment-success", "invalid", "submitting", "action-required", "ready"],
373
+ setup(o, { expose: s, emit: E }) {
374
+ const t = o, c = E;
375
+ s({ submit: _ });
376
+ const R = T(!1), d = T(), h = Se(
377
+ t.paymentMethodOptionResponseEntry.payment_acceptor.id
378
+ ), b = T(!!h), v = T(), w = x(
379
+ () => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
380
+ ), S = x(
381
+ () => De({
382
+ amount: t.amount,
383
+ email: t.email,
384
+ name: t.name,
385
+ variant: t.variant,
386
+ storePaymentMethod: w.value
387
+ })
388
+ ), I = T(null), u = Ie(), { authorizePayment: F } = Re(), { tokenizePaymentMethod: P } = he(), A = x(
389
+ () => {
390
+ var e, r;
391
+ return (r = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : r.public_key;
392
+ }
393
+ );
394
+ function n(e) {
395
+ return Ne({
396
+ gateway: N,
397
+ paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
398
+ variant: t.variant,
399
+ invoiceId: t.invoiceId,
400
+ customerId: t.customerId,
401
+ ...e
402
+ });
403
+ }
404
+ let a = !1;
405
+ function _() {
406
+ a || (a = !0, p().catch((e) => {
407
+ a = !1, u.error(
408
+ "STRIPE_SUBMIT_FAILED",
409
+ "Unexpected error during Stripe submission",
410
+ n({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
411
+ e
412
+ ), c("invalid");
413
+ }));
414
+ }
415
+ async function p() {
416
+ var r;
417
+ (!await t.validateOnSubmit() || !((r = v.value) != null && r.triggerSubmit())) && (a = !1, c("invalid"));
418
+ }
419
+ function ee(e) {
420
+ if (a = !1, e.type === "validation_error") {
421
+ c("invalid");
422
+ return;
423
+ }
424
+ u.error(
425
+ "STRIPE_CONFIRMATION_TOKEN_FAILED",
426
+ "Stripe submission failed",
427
+ n({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: e }),
428
+ e
429
+ ), l({
430
+ code: t.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
431
+ message: e.message ?? "Stripe submission failed",
432
+ error: e
433
+ });
434
+ }
435
+ function te(e) {
436
+ return new Promise((r, m) => {
437
+ if (window.Stripe) {
438
+ r(window.Stripe(e));
439
+ return;
440
+ }
441
+ const i = document.createElement("script");
442
+ i.src = J, i.onload = () => {
443
+ if (!window.Stripe) {
444
+ m(new Error("Stripe not available after script load"));
445
+ return;
446
+ }
447
+ r(window.Stripe(e));
448
+ }, i.onerror = () => m(new Error("Failed to load Stripe.js")), document.head.appendChild(i);
449
+ });
450
+ }
451
+ async function Y() {
452
+ if (I.value)
453
+ return I.value;
454
+ const e = A.value;
455
+ if (!e)
456
+ throw new Error("Missing Stripe public key");
457
+ const r = await te(e);
458
+ return I.value = r, r;
459
+ }
460
+ async function re(e) {
461
+ try {
462
+ await ne(e);
463
+ } finally {
464
+ a = !1;
465
+ }
466
+ }
467
+ async function ne(e) {
468
+ c("submitting");
469
+ const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, m = be({
470
+ paymentAcceptorId: r,
471
+ redirectUrl: window.location.href
472
+ });
473
+ if (t.variant === "AUTHORIZE") {
474
+ try {
475
+ const i = await F({
476
+ payment_acceptor_id: r,
477
+ ...t.customerId ? { customer_id: t.customerId } : {},
478
+ payment_gateway_variant: N,
479
+ stripe: { confirmation_token_id: e },
480
+ amount: t.amount,
481
+ ...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
482
+ return_url: m
483
+ });
484
+ await j(i);
485
+ } catch (i) {
486
+ u.error(
487
+ "PAYMENT_AUTHORIZATION_FAILED",
488
+ `Failed payment authorization for payment acceptor with id ${r}`,
489
+ n({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: i }),
490
+ i
491
+ ), l({
492
+ code: Ae(i) ? "PAYMENT_OUTCOME_UNCONFIRMED" : "AUTHORIZATION_FAILED",
493
+ message: "Payment authorization failed",
494
+ error: i
495
+ });
496
+ }
497
+ return;
498
+ }
499
+ if (t.variant === "TOKENIZE") {
500
+ if (!t.customerId) {
501
+ u.error(
502
+ "TOKENIZATION_FAILED",
503
+ `Missing customer id for payment acceptor with id ${r}`,
504
+ n({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
505
+ ), l({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
506
+ return;
507
+ }
508
+ try {
509
+ const i = await P({
510
+ customer_id: t.customerId,
511
+ payment_acceptor_id: r,
512
+ payment_gateway_variant: N,
513
+ stripe: { confirmation_token_id: e },
514
+ return_url: m
515
+ });
516
+ await j(i);
517
+ } catch (i) {
518
+ u.error(
519
+ "TOKENIZATION_FAILED",
520
+ `Tokenization failed for payment acceptor with id ${r}`,
521
+ n({ reason: "TOKENIZATION_FAILED", cause: i }),
522
+ i
523
+ ), l({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: i });
524
+ }
525
+ }
526
+ }
527
+ async function j(e) {
528
+ var m, i, y;
529
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === N) {
530
+ const g = e.action.client_secret || ((m = e.action.data) == null ? void 0 : m.client_secret);
531
+ if (!g) {
532
+ u.error(
533
+ "STRIPE_ACTION_FAILED",
534
+ "Missing client_secret in Stripe ACTION_REQUIRED response",
535
+ n({
536
+ reason: "STRIPE_ACTION_MISSING_CLIENT_SECRET",
537
+ extra: { paymentStatus: e.status }
538
+ })
539
+ ), l({
540
+ code: "AUTHORIZATION_FAILED",
541
+ message: "Payment action failed",
542
+ error: e
543
+ });
544
+ return;
545
+ }
546
+ let B;
547
+ try {
548
+ B = await Y();
549
+ } catch (f) {
550
+ u.error(
551
+ "STRIPE_ACTION_FAILED",
552
+ "Failed to load Stripe.js",
553
+ n({ reason: "STRIPE_SDK_LOAD_FAILED", cause: f }),
554
+ f
555
+ ), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: f });
556
+ return;
557
+ }
558
+ const { error: D, paymentIntent: me, setupIntent: pe } = await B.handleNextAction({ clientSecret: g }).catch((f) => {
559
+ throw C(f);
560
+ });
561
+ if (D) {
562
+ const f = C(D);
563
+ u.error(
564
+ "STRIPE_ACTION_FAILED",
565
+ "Stripe handleNextAction failed",
566
+ n({
567
+ reason: "STRIPE_NEXT_ACTION_FAILED",
568
+ cause: f,
569
+ extra: { stripeErrorCode: D.code, stripeErrorType: D.type }
570
+ }),
571
+ f
572
+ ), l({
573
+ code: "AUTHORIZATION_FAILED",
574
+ message: "Payment action failed",
575
+ error: f
576
+ });
577
+ return;
578
+ }
579
+ const k = (i = me ?? pe) == null ? void 0 : i.status, W = $(k);
580
+ W === "SUCCEEDED" ? L() : W === "UNCONFIRMED" ? U("STRIPE_NEXT_ACTION_UNCONFIRMED", { intentStatus: k }) : (u.error(
581
+ "STRIPE_ACTION_FAILED",
582
+ "Stripe handleNextAction left the payment incomplete",
583
+ n({
584
+ reason: "STRIPE_NEXT_ACTION_INCOMPLETE",
585
+ extra: { intentStatus: k }
586
+ })
587
+ ), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed" }));
588
+ return;
589
+ }
590
+ const r = Oe(e);
591
+ if (r === "SUCCEEDED") {
592
+ L();
593
+ return;
594
+ }
595
+ if (r === "UNCONFIRMED") {
596
+ U("PAYMENT_PENDING", {
597
+ paymentStatus: e.status,
598
+ paymentResult: (y = e.payment) == null ? void 0 : y.result
599
+ });
600
+ return;
601
+ }
602
+ u.error(
603
+ "STRIPE_ACTION_FAILED",
604
+ "Unexpected payment result status",
605
+ n({
606
+ reason: "STRIPE_UNEXPECTED_PAYMENT_STATUS",
607
+ extra: { paymentStatus: e.status }
608
+ })
609
+ ), l({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
610
+ }
611
+ async function ae({
612
+ intent: e,
613
+ clientSecret: r
614
+ }) {
615
+ const m = await Y(), i = (g) => {
616
+ throw C(g);
617
+ };
618
+ if (e === "PAYMENT") {
619
+ const g = await m.retrievePaymentIntent(r).catch(i);
620
+ if (g.error) throw C(g.error);
621
+ return g.paymentIntent.status;
622
+ }
623
+ const y = await m.retrieveSetupIntent(r).catch(i);
624
+ if (y.error) throw C(y.error);
625
+ return y.setupIntent.status;
626
+ }
627
+ async function oe() {
628
+ if (!h) return;
629
+ const { redirectStatus: e } = h;
630
+ let r;
631
+ try {
632
+ r = await ae(h);
633
+ } catch (y) {
634
+ u.error(
635
+ "STRIPE_REDIRECT_RETURN_FAILED",
636
+ "Could not retrieve the payment the Stripe redirect returned from",
637
+ n({
638
+ reason: "STRIPE_REDIRECT_RETRIEVE_FAILED",
639
+ cause: y,
640
+ extra: { redirectStatus: e }
641
+ }),
642
+ y
643
+ ), l({
644
+ code: "PAYMENT_OUTCOME_UNCONFIRMED",
645
+ message: "Payment could not be confirmed",
646
+ error: y
647
+ });
648
+ return;
649
+ }
650
+ ve();
651
+ const m = $(r);
652
+ if (m === "SUCCEEDED") {
653
+ L();
654
+ return;
655
+ }
656
+ if (m === "UNCONFIRMED") {
657
+ U("STRIPE_REDIRECT_UNCONFIRMED", { redirectStatus: e, intentStatus: r });
658
+ return;
659
+ }
660
+ const i = new globalThis.Error(
661
+ `Stripe redirect returned a payment with status: ${r}`
662
+ );
663
+ u.error(
664
+ "STRIPE_REDIRECT_RETURN_FAILED",
665
+ "Stripe redirect returned non-succeeded status",
666
+ n({
667
+ reason: "STRIPE_REDIRECT_RETURN_FAILED",
668
+ extra: { redirectStatus: e, intentStatus: r }
669
+ }),
670
+ i
671
+ ), l({
672
+ code: "AUTHORIZATION_FAILED",
673
+ message: "Payment failed",
674
+ error: i
675
+ });
676
+ }
677
+ function ie() {
678
+ d.value = void 0;
679
+ }
680
+ let O;
681
+ function se(e, r, m) {
682
+ const i = r && m === ((O == null ? void 0 : O.isCollapsed) ?? t.collapsed === !0) && (O === void 0 || e === O.type);
683
+ O = { type: e, isCollapsed: m }, c("select", {
684
+ paymentMethodType: e,
685
+ paymentGatewayVariant: N,
686
+ ...i && { isAutomatic: !0 }
687
+ });
688
+ }
689
+ function ce() {
690
+ a = !1, c("select", {
691
+ paymentMethodType: "card",
692
+ paymentGatewayVariant: N,
693
+ isAutomatic: !0
694
+ }), c("ready");
695
+ }
696
+ function ue(e) {
697
+ a = !1, u.error(
698
+ "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
699
+ "Failed to load the Stripe payment form",
700
+ n({
701
+ reason: "STRIPE_FORM_LOAD_FAILED",
702
+ cause: e,
703
+ extra: { stripeErrorType: e.type }
704
+ }),
705
+ e
706
+ ), l({
707
+ code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
708
+ message: e.message ?? "Failed to load payment form",
709
+ error: e
710
+ });
711
+ }
712
+ function l(e) {
713
+ const r = we(e);
714
+ d.value = r, c("payment-failed", r);
715
+ }
716
+ function L() {
717
+ R.value = !0, c("payment-success");
718
+ }
719
+ function U(e, r) {
720
+ u.warn(
721
+ "PAYMENT_OUTCOME_UNCONFIRMED",
722
+ "The payment outcome could not be confirmed yet",
723
+ n({ reason: e, extra: r })
724
+ ), l({ code: "PAYMENT_OUTCOME_UNCONFIRMED", message: "Payment could not be confirmed" });
725
+ }
726
+ return X(() => {
727
+ oe().catch((e) => {
728
+ u.error(
729
+ "STRIPE_REDIRECT_RETURN_FAILED",
730
+ "handleRedirectReturn threw unexpectedly",
731
+ n({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
732
+ e
733
+ );
734
+ }).finally(() => {
735
+ b.value = !1;
736
+ });
737
+ }), Q(() => {
738
+ I.value = null;
739
+ }), (e, r) => R.value ? (M(), Z(ge, {
740
+ key: 0,
741
+ variant: o.variant,
742
+ redirecting: o.redirectsOnSuccess
743
+ }, null, 8, ["variant", "redirecting"])) : d.value ? (M(), Z(Te, {
744
+ key: 1,
745
+ error: d.value,
746
+ onRetry: ie
747
+ }, null, 8, ["error"])) : A.value && !b.value ? (M(), Z(Ue, {
748
+ key: 2,
749
+ ref_key: "frameRef",
750
+ ref: v,
751
+ "public-key": A.value,
752
+ options: S.value,
753
+ "country-code": o.countryCode,
754
+ email: o.email,
755
+ name: o.name,
756
+ collapsed: o.collapsed,
757
+ onReady: ce,
758
+ onChange: se,
759
+ onLoaderror: ue,
760
+ onSubmitSuccess: re,
761
+ onSubmitError: ee
762
+ }, null, 8, ["public-key", "options", "country-code", "email", "name", "collapsed"])) : fe("", !0);
763
+ }
764
+ });
765
+ export {
766
+ Ve as default
767
+ };