@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,873 @@
1
+ import { defineComponent as D, computed as _, capitalize as oe, openBlock as l, createBlock as p, unref as t, mergeProps as K, withCtx as i, createTextVNode as k, toDisplayString as T, ref as M, createElementVNode as O, createVNode as r, createCommentVNode as I, createElementBlock as N, Fragment as B, watch as ie, normalizeClass as re, renderSlot as se } from "vue";
2
+ import { a as de, f as j } from "../../formatting.es-RclXHhKo.mjs";
3
+ import { _ as G, a as ce } from "../../Button.vue.es-BHbanjR0.mjs";
4
+ import { _ as le, a as me } from "../../OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs";
5
+ import { _ as ue } from "../../DividerText.vue.es-ChN6fnrH.mjs";
6
+ import { _ as ye } from "../../ErrorNotification.vue.es-CWIVt5q9.mjs";
7
+ import { _ as pe, u as ve, a as fe } from "../../usePayments-ChGtK_As.mjs";
8
+ import { _ as F } from "../../Section.vue.es-CwKTCeZ1.mjs";
9
+ import { a as V, e as he, d as S, j as ge, k as _e, l as be } from "../../customElements-d7Bhfqi_.mjs";
10
+ import { g as Pe, _ as we } from "../../PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs";
11
+ import { i as Me, u as Ie } from "../../usePaymentMethodOptions-DDRjVvDJ.mjs";
12
+ import { C as Ae } from "../../ContentWithAsideLayout-C2kFcft1.mjs";
13
+ import { u as Se } from "../../useHostEvent-pjoWJ7ZH.mjs";
14
+ import { _ as Oe } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs";
15
+ import { _ as U } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
16
+ import { _ as W } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs";
17
+ import { u as ke, _ as Te } from "../../usePaymentMethodAvailability-B7NV0ZtX.mjs";
18
+ import { u as xe } from "../../usePaymentFormHold-CYZ4BdOw.mjs";
19
+ import { c as Ee } from "../../payments-Dy81gmkC.mjs";
20
+ import { a as Ce, i as $e } from "../../paymentOutcome-D59QkGfm.mjs";
21
+ import { _ as Z } from "../../Amount.vue.es-DPqHB8Xd.mjs";
22
+ import { _ as Ne } from "../../Divider.vue.es-DnP_HqLz.mjs";
23
+ import { _ as De } from "../../TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs";
24
+ import { s as Fe } from "../../amount-CondixVt.mjs";
25
+ import { g as Le } from "../../invoiceState-BJVHaKs7.mjs";
26
+ import { _ as Re } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs";
27
+ import { _ as Ue } from "../../PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs";
28
+ import { a as Be } from "../../paymentFailure-QZdZHBhf.mjs";
29
+ import { g as je } from "../../customer.es-DQKl6wFt.mjs";
30
+ import { u as Ve } from "../../useLoadInitialData-CwySdYZM.mjs";
31
+ import { u as ze, D as He } from "../../usePaymentMethods-DBGyQA_I.mjs";
32
+ function Ye(e, a, n = /* @__PURE__ */ new Date()) {
33
+ return e.flatMap((u) => {
34
+ const c = a.find(
35
+ ({ integration: m }) => !!u.integration_id && (m == null ? void 0 : m.id) === u.integration_id
36
+ );
37
+ return c && Me(u, n) ? [{ paymentMethod: u, paymentAcceptorId: c.payment_acceptor.id }] : [];
38
+ });
39
+ }
40
+ function qe(e) {
41
+ var a;
42
+ return (a = e.find(({ is_default: n }) => n) ?? e[0]) == null ? void 0 : a.id;
43
+ }
44
+ function We(e) {
45
+ return e.type === "CARD" && e.card.last_four_digits ? [e.card.brand ? de(e.card.brand) : void 0, `•••• ${e.card.last_four_digits}`].filter(Boolean).join(" ") : Pe(e);
46
+ }
47
+ const Ze = /* @__PURE__ */ D({
48
+ __name: "PayButton",
49
+ props: {
50
+ amount: { type: Object },
51
+ paymentMethod: { type: Object },
52
+ paymentMethodLabel: { type: String },
53
+ type: { type: String },
54
+ intent: { type: String },
55
+ size: { type: String },
56
+ pill: { type: Boolean },
57
+ square: { type: Boolean },
58
+ loading: { type: Boolean },
59
+ disabled: { type: Boolean },
60
+ iconPrefix: { type: null },
61
+ iconSuffix: { type: null },
62
+ tag: { type: String },
63
+ preventDoubleClick: { type: Boolean }
64
+ },
65
+ emits: ["click"],
66
+ setup(e) {
67
+ const a = e, { $t: n } = V(), u = _(() => ({
68
+ intent: a.intent ?? "primary",
69
+ disabled: a.disabled,
70
+ iconPrefix: a.iconPrefix,
71
+ iconSuffix: a.iconSuffix,
72
+ loading: a.loading,
73
+ pill: a.pill,
74
+ size: a.size ?? "lg",
75
+ square: a.square,
76
+ tag: a.tag,
77
+ type: a.type
78
+ })), c = _(() => {
79
+ var y, o, s;
80
+ switch ((y = a.paymentMethod) == null ? void 0 : y.paymentMethodType) {
81
+ case "scheme":
82
+ return n({
83
+ defaultMessage: "Credit Card",
84
+ id: "pay_button.payment_method.card",
85
+ description: 'Name of card payments in the pay button label, as in "Pay €10.00 with Credit Card"'
86
+ });
87
+ case "applepay":
88
+ return "Apple Pay";
89
+ case "googlepay":
90
+ return "Google Pay";
91
+ case "paypal":
92
+ return "PayPal";
93
+ case "ideal":
94
+ return "iDeal";
95
+ case "klarna":
96
+ return "Klarna";
97
+ case "bcmc":
98
+ return "BCMC";
99
+ case "sepadirectdebit":
100
+ return "SEPA";
101
+ case "twint":
102
+ return "Twint";
103
+ case "swish":
104
+ return "Swish";
105
+ case "vipps":
106
+ return "Vipps";
107
+ case "mbway":
108
+ return "MBway";
109
+ case "alipay":
110
+ return "AliPay";
111
+ case "wechatpayWeb":
112
+ return "WeChatPay";
113
+ case "afterpay_default":
114
+ return "Afterpay";
115
+ case "affirm":
116
+ return "Affirm";
117
+ case "ach":
118
+ return "ACH";
119
+ case "blik":
120
+ return "Blik";
121
+ case "cashapp":
122
+ return "Cash App Pay";
123
+ case "amazonpay":
124
+ return "Amazon Pay";
125
+ case "venmo":
126
+ return "Venmo";
127
+ case "clicktopay":
128
+ return "Click to Pay";
129
+ case "upi":
130
+ return "UPI";
131
+ case "revolutpay":
132
+ return "Revolut Pay";
133
+ case "ratepay":
134
+ return "Ratepay";
135
+ case "walley":
136
+ return "Walley";
137
+ case "alma":
138
+ return "Alma";
139
+ case "facilypay_3x":
140
+ case "facilypay_4x":
141
+ return "Oney";
142
+ case "samsungpay":
143
+ return "Samsung Pay";
144
+ case "bizum":
145
+ return "Bizum";
146
+ case "pix":
147
+ return "Pix";
148
+ case "multibanco":
149
+ return "Multibanco";
150
+ case "openbanking_UK":
151
+ return "Open Banking";
152
+ default:
153
+ return (o = a.paymentMethod) != null && o.paymentMethodType ? oe((s = a.paymentMethod) == null ? void 0 : s.paymentMethodType) : "";
154
+ }
155
+ }), m = _(() => a.amount && (a.paymentMethod || a.paymentMethodLabel) ? n(
156
+ {
157
+ defaultMessage: "Pay {amount} with {type}",
158
+ id: "pay_button.label.amount_and_payment_method",
159
+ description: "The label for the pay button when both the amount and the payment method are known"
160
+ },
161
+ {
162
+ amount: j(a.amount),
163
+ type: a.paymentMethodLabel ?? c.value
164
+ }
165
+ ) : a.amount ? n(
166
+ {
167
+ defaultMessage: "Pay {amount}",
168
+ id: "pay_button.label.amount_only",
169
+ description: "The label for the pay button when only the amount is known"
170
+ },
171
+ {
172
+ amount: j(a.amount),
173
+ type: c.value
174
+ }
175
+ ) : n({
176
+ defaultMessage: "Pay",
177
+ id: "pay_button.label.default",
178
+ description: "The default label for the pay button when no amount and payment method are known"
179
+ }));
180
+ return (y, o) => (l(), p(t(G), K(u.value, {
181
+ class: "w-full",
182
+ onClick: o[0] || (o[0] = (s) => y.$emit("click", s))
183
+ }), {
184
+ default: i(() => [
185
+ k(T(m.value), 1)
186
+ ]),
187
+ _: 1
188
+ }, 16));
189
+ }
190
+ });
191
+ function Ke() {
192
+ const { chargeStoredPaymentMethod: e } = Ee(), a = he(), n = M(!1);
193
+ return { isPending: n, charge: async (c, m) => {
194
+ if (n.value) return "UNCONFIRMED";
195
+ n.value = !0;
196
+ const y = {
197
+ ...m,
198
+ paymentAcceptorId: c.paymentAcceptorId,
199
+ invoiceId: c.invoiceId
200
+ };
201
+ try {
202
+ const o = await e(c), s = Ce(o);
203
+ return s === "FAILED" && a.error(
204
+ "PAYMENT_AUTHORIZATION_FAILED",
205
+ "Failed to charge the invoice to a stored payment method",
206
+ {
207
+ ...y,
208
+ reason: "PAYMENT_AUTHORIZATION_REJECTED",
209
+ status: o.status
210
+ }
211
+ ), s;
212
+ } catch (o) {
213
+ return a.error(
214
+ "PAYMENT_AUTHORIZATION_FAILED",
215
+ "Failed to charge the invoice to a stored payment method",
216
+ { ...y, reason: "PAYMENT_AUTHORIZATION_FAILED" },
217
+ o
218
+ ), $e(o) ? "UNCONFIRMED" : "FAILED";
219
+ } finally {
220
+ n.value = !1;
221
+ }
222
+ } };
223
+ }
224
+ const Ge = { class: "sv-order-summary__body grid grid-cols-1 gap-1" }, Je = { class: "flex flex-row gap-3 px-3 py-2" }, Qe = { class: "min-w-0 grow" }, Xe = { class: "sv-invoice-order-summary__paid flex flex-row gap-2 py-1.5" }, et = { class: "sv-invoice-order-summary__due flex flex-row gap-2 py-1.5" }, tt = /* @__PURE__ */ D({
225
+ __name: "InvoiceOrderSummary",
226
+ props: {
227
+ invoice: { type: Object },
228
+ isPaid: { type: Boolean }
229
+ },
230
+ setup(e) {
231
+ const a = e, { $t: n, formatDate: u } = V(), c = _(() => ({
232
+ "invoice_preview.total_due_today_heading": n({
233
+ defaultMessage: "Total",
234
+ id: "pay_invoice.order_summary.total_heading",
235
+ description: 'Heading of the invoice total in the order summary of the pay invoice screen, replacing the shared preview’s "Total due today"'
236
+ })
237
+ })), m = _(() => a.invoice.open_invoice_amount), y = (s) => s.startsWith("-") ? s.slice(1) : `-${s}`, o = _(() => {
238
+ const s = a.invoice.tax_summary.total_amount, h = m.value;
239
+ if (!(a.isPaid || a.invoice.paid || !h) && Number(h.quantity) !== Number(s.quantity))
240
+ return Fe(
241
+ [s, { ...h, quantity: y(h.quantity) }],
242
+ a.invoice.billing_currency
243
+ );
244
+ });
245
+ return (s, h) => (l(), p(t(F), {
246
+ class: "sv-order-summary sv-invoice-order-summary",
247
+ "no-border": "",
248
+ "no-spacing": "",
249
+ "content-background": "none",
250
+ title: t(n)({
251
+ defaultMessage: "Invoice summary",
252
+ id: "pay_invoice.order_summary.title",
253
+ description: "Title of the block listing what the invoice being paid is for"
254
+ })
255
+ }, {
256
+ default: i(() => [
257
+ O("div", Ge, [
258
+ r(t(F), {
259
+ "no-spacing": "",
260
+ class: "sv-invoice-order-summary__invoice"
261
+ }, {
262
+ default: i(() => [
263
+ O("div", Je, [
264
+ O("div", Qe, [
265
+ r(t(S), {
266
+ variant: "body",
267
+ weight: "semibold",
268
+ "no-spacing": "",
269
+ class: "truncate"
270
+ }, {
271
+ default: i(() => [
272
+ k(T(t(n)(
273
+ {
274
+ defaultMessage: "Invoice {number}",
275
+ id: "pay_invoice.order_summary.invoice_number",
276
+ description: "Names the invoice being paid at the top of its order summary"
277
+ },
278
+ { number: e.invoice.invoice_number }
279
+ )), 1)
280
+ ]),
281
+ _: 1
282
+ }),
283
+ e.invoice.due_date ? (l(), p(t(S), {
284
+ key: 0,
285
+ variant: "body-xs",
286
+ color: "subtle",
287
+ "no-spacing": "",
288
+ class: "sv-invoice-order-summary__due-date"
289
+ }, {
290
+ default: i(() => [
291
+ k(T(t(n)(
292
+ {
293
+ defaultMessage: "Due on {date}",
294
+ id: "pay_invoice.order_summary.due_date",
295
+ description: "When the invoice being paid is due, under its number in the order summary"
296
+ },
297
+ {
298
+ date: t(u)({
299
+ date: e.invoice.due_date,
300
+ format: "date",
301
+ timezone: t(Le)(e.invoice),
302
+ offsetType: "offsetted"
303
+ })
304
+ }
305
+ )), 1)
306
+ ]),
307
+ _: 1
308
+ })) : I("", !0)
309
+ ])
310
+ ])
311
+ ]),
312
+ _: 1
313
+ }),
314
+ r(De, { messages: c.value }, {
315
+ default: i(() => [
316
+ r(le, {
317
+ invoice: e.invoice,
318
+ "is-paid": e.isPaid
319
+ }, {
320
+ default: i(() => [
321
+ o.value && m.value ? (l(), N(B, { key: 0 }, [
322
+ O("div", Xe, [
323
+ r(t(S), {
324
+ tag: "span",
325
+ variant: "body-xs",
326
+ class: "grow"
327
+ }, {
328
+ default: i(() => [
329
+ k(T(t(n)({
330
+ defaultMessage: "Already paid",
331
+ id: "pay_invoice.order_summary.already_paid",
332
+ description: "What has been paid on the invoice so far, in its order summary"
333
+ })), 1)
334
+ ]),
335
+ _: 1
336
+ }),
337
+ r(t(S), {
338
+ tag: "span",
339
+ variant: "body-xs"
340
+ }, {
341
+ default: i(() => [
342
+ r(t(Z), { value: o.value }, null, 8, ["value"])
343
+ ]),
344
+ _: 1
345
+ })
346
+ ]),
347
+ r(t(Ne), { spacing: "xxs" }),
348
+ O("div", et, [
349
+ r(t(S), {
350
+ tag: "span",
351
+ variant: "body-sm",
352
+ weight: "semibold",
353
+ class: "grow"
354
+ }, {
355
+ default: i(() => [
356
+ k(T(t(n)({
357
+ defaultMessage: "Amount due",
358
+ id: "pay_invoice.order_summary.amount_due",
359
+ description: "What is still to be paid on the invoice, in its order summary"
360
+ })), 1)
361
+ ]),
362
+ _: 1
363
+ }),
364
+ r(t(S), {
365
+ tag: "span",
366
+ variant: "body-sm",
367
+ weight: "semibold"
368
+ }, {
369
+ default: i(() => [
370
+ r(t(Z), { value: m.value }, null, 8, ["value"])
371
+ ]),
372
+ _: 1
373
+ })
374
+ ])
375
+ ], 64)) : I("", !0)
376
+ ]),
377
+ _: 1
378
+ }, 8, ["invoice", "is-paid"])
379
+ ]),
380
+ _: 1
381
+ }, 8, ["messages"])
382
+ ])
383
+ ]),
384
+ _: 1
385
+ }, 8, ["title"]));
386
+ }
387
+ }), at = {
388
+ key: 1,
389
+ class: "grid grid-cols-1 gap-6"
390
+ }, nt = ["aria-label"], ot = ["inert"], it = { class: "mt-4" }, rt = {
391
+ key: 0,
392
+ class: "flex flex-col gap-2"
393
+ }, st = /* @__PURE__ */ D({
394
+ __name: "PayInvoice",
395
+ props: {
396
+ invoice: { type: Object },
397
+ paymentMethodOptions: { type: Array },
398
+ paymentMethods: { default: () => [], type: Array },
399
+ paymentAttempts: { default: () => [], type: Array },
400
+ countryCode: { type: String },
401
+ amount: { type: Object },
402
+ downloadService: { type: Function },
403
+ refresh: { type: Function },
404
+ configuration: { type: Object },
405
+ isLoading: { type: Boolean },
406
+ error: { type: null }
407
+ },
408
+ setup(e) {
409
+ const { $t: a } = V(), n = e, { availability: u } = ke({
410
+ paymentMethodOptions: () => n.paymentMethodOptions,
411
+ isLoading: () => n.isLoading,
412
+ context: () => {
413
+ var d;
414
+ return { invoiceId: (d = n.invoice) == null ? void 0 : d.id };
415
+ }
416
+ }), c = M(), m = M(!0), y = M(), o = M(!1), { isFormHeld: s, handleActionRequired: h } = xe(o), A = M(!1), x = M(!1), b = _(
417
+ () => Ye(n.paymentMethods, n.paymentMethodOptions ?? [])
418
+ ), P = M();
419
+ ie(
420
+ b,
421
+ (d) => {
422
+ P.value || (P.value = qe(
423
+ d.map(({ paymentMethod: v }) => v)
424
+ ));
425
+ },
426
+ { immediate: !0 }
427
+ );
428
+ const w = _(
429
+ () => b.value.find(
430
+ ({ paymentMethod: d }) => d.id === P.value
431
+ )
432
+ ), L = (d) => {
433
+ c.value = d, d.isAutomatic || (P.value = void 0);
434
+ }, g = _(
435
+ () => a({
436
+ id: "pay_invoice.stored_payment_methods.title",
437
+ defaultMessage: "Your payment methods",
438
+ description: "Section title above the payment methods the customer stored before, on the pay invoice screen"
439
+ })
440
+ ), { charge: z } = Ke(), E = M(!1), R = M(), J = async () => {
441
+ var C, $;
442
+ const d = w.value;
443
+ if (!d || !n.invoice || !n.amount) return;
444
+ o.value = !0, E.value = !1;
445
+ const v = await z(
446
+ {
447
+ paymentAcceptorId: d.paymentAcceptorId,
448
+ customerId: n.invoice.customer.id,
449
+ paymentMethodId: d.paymentMethod.id,
450
+ invoiceId: n.invoice.id,
451
+ amount: n.amount
452
+ },
453
+ // The API refuses an acceptor the invoice does not have, so a refusal shows the mismatch.
454
+ {
455
+ invoicePaymentAcceptorIds: n.invoice.payment_acceptor_ids,
456
+ offeredPaymentAcceptorIds: [
457
+ ...new Set(
458
+ (C = n.paymentMethodOptions) == null ? void 0 : C.map(({ payment_acceptor: f }) => f == null ? void 0 : f.id)
459
+ )
460
+ ]
461
+ }
462
+ );
463
+ if (v === "SUCCEEDED") {
464
+ H();
465
+ return;
466
+ }
467
+ if (v === "UNCONFIRMED") {
468
+ o.value = !1, x.value = !0, R.value = Be({
469
+ code: "PAYMENT_OUTCOME_UNCONFIRMED",
470
+ message: "The charge to the stored payment method could not be confirmed"
471
+ });
472
+ return;
473
+ }
474
+ await (($ = n.refresh) == null ? void 0 : $.call(n)), o.value = !1, E.value = !0;
475
+ };
476
+ function Q() {
477
+ if (w.value) {
478
+ J();
479
+ return;
480
+ }
481
+ if (!y.value)
482
+ throw new Error("payment integration form not found");
483
+ o.value = !0, y.value.submit();
484
+ }
485
+ const X = _(
486
+ () => !!(w.value || c.value) && !o.value && !x.value
487
+ ), { dispatch: ee, componentName: te } = Se(), H = () => {
488
+ var d;
489
+ A.value = !0, o.value = !1, (d = n.refresh) == null || d.call(n), ee("solvimon-payment-succeeded", {
490
+ componentName: te,
491
+ invoiceId: n.configuration.invoiceId
492
+ });
493
+ }, ae = () => {
494
+ o.value = !1;
495
+ }, ne = (d) => {
496
+ o.value = !1, (d == null ? void 0 : d.code) === "PAYMENT_OUTCOME_UNCONFIRMED" && (x.value = !0);
497
+ };
498
+ return (d, v) => (l(), p(t(Ae), null, {
499
+ header: i(() => [
500
+ r(U, { class: "min-h-[52px] w-96" }, {
501
+ default: i(() => [
502
+ e.invoice && e.downloadService ? (l(), p(t(pe), {
503
+ key: 0,
504
+ invoice: e.invoice,
505
+ "payment-attempts": e.paymentAttempts,
506
+ "download-service": () => e.downloadService(e.invoice)
507
+ }, null, 8, ["invoice", "payment-attempts", "download-service"])) : I("", !0)
508
+ ]),
509
+ _: 1
510
+ })
511
+ ]),
512
+ content: i(() => {
513
+ var C, $;
514
+ return [
515
+ e.isLoading ? (l(), p(U, {
516
+ key: 0,
517
+ variant: "section",
518
+ class: "min-h-[300px]"
519
+ })) : I("", !0),
520
+ (C = e.invoice) != null && C.paid || e.invoice && A.value ? (l(), p(W, {
521
+ key: 1,
522
+ status: "success",
523
+ title: t(a)({
524
+ id: "pay_invoice.paid.title",
525
+ defaultMessage: "Thank you for your payment!",
526
+ description: "Title shown when the invoice has already been paid"
527
+ }),
528
+ class: "mt-8"
529
+ }, {
530
+ default: i(() => [
531
+ r(t(S), {
532
+ variant: "body-sm",
533
+ class: "mt-1"
534
+ }, {
535
+ default: i(() => [
536
+ r(t(ce), { icon: "check" }),
537
+ k(T(t(j)(e.invoice.tax_summary.total_amount)), 1)
538
+ ]),
539
+ _: 1
540
+ })
541
+ ]),
542
+ _: 1
543
+ }, 8, ["title"])) : e.error && !e.invoice ? (l(), p(W, {
544
+ key: 2,
545
+ status: "error",
546
+ title: t(a)({
547
+ id: "pay_invoice.error.title",
548
+ defaultMessage: "Something went wrong",
549
+ description: "Title shown when the invoice payment fails to load"
550
+ })
551
+ }, {
552
+ default: i(() => [
553
+ r(t(S), {
554
+ variant: "body-sm",
555
+ class: "mt-1"
556
+ }, {
557
+ default: i(() => [
558
+ k(T(t(a)({
559
+ id: "pay_invoice.error.description",
560
+ defaultMessage: "Please try again or contact support.",
561
+ description: "Body text shown when the invoice payment fails to load"
562
+ })), 1)
563
+ ]),
564
+ _: 1
565
+ })
566
+ ]),
567
+ _: 1
568
+ }, 8, ["title"])) : !e.isLoading && e.countryCode && e.amount && e.invoice ? (l(), N(B, { key: 3 }, [
569
+ t(u) === "READY" && R.value ? (l(), p(Ue, {
570
+ key: 0,
571
+ class: "sv-pay-invoice__stored-payment-unconfirmed",
572
+ error: R.value
573
+ }, null, 8, ["error"])) : t(u) === "READY" ? (l(), N("div", at, [
574
+ b.value.length ? (l(), N(B, { key: 0 }, [
575
+ r(t(F), {
576
+ class: "sv-pay-invoice__stored-payment-methods",
577
+ title: g.value,
578
+ "content-background": "none",
579
+ "no-border": "",
580
+ "no-spacing": ""
581
+ }, {
582
+ default: i(() => [
583
+ O("div", {
584
+ role: "group",
585
+ "aria-label": g.value
586
+ }, [
587
+ r(we, {
588
+ modelValue: P.value,
589
+ "onUpdate:modelValue": v[0] || (v[0] = (f) => P.value = f),
590
+ "payment-methods": b.value.map(
591
+ ({ paymentMethod: f }) => f
592
+ ),
593
+ "show-add-option": !1,
594
+ disabled: o.value || t(s)
595
+ }, null, 8, ["modelValue", "payment-methods", "disabled"])
596
+ ], 8, nt)
597
+ ]),
598
+ _: 1
599
+ }, 8, ["title"]),
600
+ E.value ? (l(), p(t(ye), {
601
+ key: 0,
602
+ class: "sv-pay-invoice__stored-payment-error sv-error",
603
+ title: t(a)({
604
+ id: "pay_invoice.stored_payment_method.failed",
605
+ defaultMessage: "The payment did not go through. Try again or use another payment method.",
606
+ description: "Shown when charging the invoice to a stored payment method fails"
607
+ })
608
+ }, null, 8, ["title"])) : I("", !0),
609
+ r(t(ue), {
610
+ text: t(a)({
611
+ id: "pay_invoice.stored_payment_methods.divider_text",
612
+ defaultMessage: "or",
613
+ description: "Between the stored payment methods and the form to pay with a new one"
614
+ }),
615
+ "text-position": "center"
616
+ }, null, 8, ["text"])
617
+ ], 64)) : I("", !0),
618
+ r(t(F), {
619
+ title: b.value.length ? t(a)({
620
+ id: "pay_invoice.new_payment_method.title",
621
+ defaultMessage: "Pay with a new payment method",
622
+ description: "Section title for the payment form below the stored payment methods, on the pay invoice screen"
623
+ }) : t(a)({
624
+ id: "pay_invoice.payment_methods.title",
625
+ defaultMessage: "Payment methods",
626
+ description: "Section title for the payment method selector on the pay invoice screen"
627
+ }),
628
+ "content-background": "none",
629
+ "no-border": "",
630
+ "no-spacing": ""
631
+ }, {
632
+ default: i(() => {
633
+ var f, Y;
634
+ return [
635
+ O("div", {
636
+ class: re({ "pointer-events-none opacity-60": t(s) }),
637
+ inert: t(s) || void 0
638
+ }, [
639
+ r(Oe, {
640
+ ref_key: "paymentIntegrationFormRef",
641
+ ref: y,
642
+ amount: e.amount,
643
+ "country-code": e.countryCode,
644
+ context: {
645
+ type: "INVOICE",
646
+ related_resource_ids: [
647
+ {
648
+ type: "INVOICE",
649
+ id: e.invoice.id
650
+ }
651
+ ]
652
+ },
653
+ "customer-id": e.invoice.customer.id,
654
+ "store-payment-method": m.value,
655
+ "invoice-id": e.invoice.id,
656
+ "payment-method-options": e.paymentMethodOptions ?? [],
657
+ "open-first-payment-method": !b.value.length,
658
+ variant: "AUTHORIZE",
659
+ "billing-entity-name": (Y = (f = e.invoice) == null ? void 0 : f.billing_entity) == null ? void 0 : Y.legal_name,
660
+ onPaymentSuccess: H,
661
+ onPaymentFailed: ne,
662
+ onInvalid: ae,
663
+ onSubmitting: v[1] || (v[1] = (q) => o.value = !0),
664
+ onActionRequired: t(h),
665
+ onSelect: L
666
+ }, null, 8, ["amount", "country-code", "context", "customer-id", "store-payment-method", "invoice-id", "payment-method-options", "open-first-payment-method", "billing-entity-name", "onActionRequired"]),
667
+ O("div", it, [
668
+ r(t(me), {
669
+ id: "pay-invoice-store-payment-method",
670
+ modelValue: m.value,
671
+ "onUpdate:modelValue": v[2] || (v[2] = (q) => m.value = q),
672
+ label: t(a)({
673
+ id: "pay_invoice.store_payment_method.label",
674
+ defaultMessage: "Save this payment method for future payments",
675
+ description: "Label of the checkbox that stores the payment method while paying an invoice"
676
+ })
677
+ }, null, 8, ["modelValue", "label"])
678
+ ])
679
+ ], 10, ot)
680
+ ];
681
+ }),
682
+ _: 1
683
+ }, 8, ["title"])
684
+ ])) : (l(), p(Te, {
685
+ key: 2,
686
+ variant: "AUTHORIZE",
687
+ "seller-name": ($ = e.invoice.billing_entity) == null ? void 0 : $.legal_name
688
+ }, {
689
+ default: i(() => [
690
+ e.downloadService ? (l(), p(t(G), {
691
+ key: 0,
692
+ type: "button",
693
+ intent: "secondary",
694
+ onClick: v[3] || (v[3] = () => {
695
+ var f;
696
+ return (f = e.downloadService) == null ? void 0 : f.call(e, e.invoice);
697
+ })
698
+ }, {
699
+ default: i(() => [
700
+ k(T(t(a)({
701
+ defaultMessage: "Download invoice",
702
+ description: "Button that downloads the invoice when it cannot be paid online",
703
+ id: "pay_invoice.unavailable.download_invoice"
704
+ })), 1)
705
+ ]),
706
+ _: 1
707
+ })) : I("", !0)
708
+ ]),
709
+ _: 1
710
+ }, 8, ["seller-name"]))
711
+ ], 64)) : I("", !0)
712
+ ];
713
+ }),
714
+ aside: i(() => [
715
+ r(U, {
716
+ variant: "section",
717
+ class: "min-h-[200px]"
718
+ }, {
719
+ default: i(() => [
720
+ e.invoice ? (l(), p(tt, {
721
+ key: 0,
722
+ invoice: e.invoice,
723
+ "is-paid": e.invoice.paid || A.value
724
+ }, null, 8, ["invoice", "is-paid"])) : I("", !0)
725
+ ]),
726
+ _: 1
727
+ }),
728
+ e.invoice && !e.invoice.paid && !A.value && t(u) === "READY" ? (l(), N("div", rt, [
729
+ r(Ze, {
730
+ disabled: !X.value,
731
+ loading: o.value,
732
+ amount: e.amount,
733
+ "payment-method": w.value ? void 0 : c.value,
734
+ "payment-method-label": w.value && t(We)(w.value.paymentMethod),
735
+ onClick: Q
736
+ }, null, 8, ["disabled", "loading", "amount", "payment-method", "payment-method-label"]),
737
+ r(Re, {
738
+ class: "sv-pay-invoice__kpi",
739
+ "payment-method-options": e.paymentMethodOptions ?? []
740
+ }, null, 8, ["payment-method-options"])
741
+ ])) : I("", !0)
742
+ ]),
743
+ _: 1
744
+ }));
745
+ }
746
+ }), dt = /* @__PURE__ */ D({
747
+ __name: "PayInvoice.entry.view",
748
+ props: {
749
+ environment: { type: String },
750
+ locale: { type: String },
751
+ dateLocale: { type: String },
752
+ messages: { type: Object },
753
+ portalToken: { type: Object },
754
+ experimentalFeatures: { type: Array },
755
+ logLevel: { type: String },
756
+ onLog: { type: Function },
757
+ cssOverrides: { type: [String, Array] },
758
+ branding: { type: Object },
759
+ portalObject: { type: null },
760
+ configuration: { type: Object }
761
+ },
762
+ setup(e) {
763
+ const a = e, {
764
+ invoice: n,
765
+ get: u,
766
+ downloadInvoicePdf: c,
767
+ error: m
768
+ } = ve({ invoiceId: a.configuration.invoiceId }), { payments: y, get: o } = fe(), { paymentMethodOptions: s, get: h } = Ie(), { items: A, fetchAll: x } = ze({
769
+ customerId: a.portalObject.customer_id,
770
+ order: He
771
+ }), b = async () => {
772
+ const g = await u();
773
+ await h({
774
+ customerId: g.customer.id,
775
+ invoiceId: g.id,
776
+ amount: g.open_invoice_amount
777
+ });
778
+ }, { isLoading: P } = Ve(
779
+ b(),
780
+ o(a.configuration.invoiceId),
781
+ x()
782
+ ), w = () => Promise.allSettled([u(), o(a.configuration.invoiceId)]), L = _(
783
+ () => {
784
+ var g;
785
+ return (g = n.value) != null && g.customer ? je(n.value.customer) : void 0;
786
+ }
787
+ );
788
+ return (g, z) => {
789
+ var E;
790
+ return se(g.$slots, "default", {
791
+ invoice: t(n),
792
+ isLoading: t(P),
793
+ amount: (E = t(n)) == null ? void 0 : E.open_invoice_amount,
794
+ countryCode: L.value,
795
+ paymentMethodOptions: t(s),
796
+ paymentMethods: t(A),
797
+ paymentAttempts: t(y),
798
+ downloadService: t(c),
799
+ refresh: w,
800
+ error: t(m)
801
+ });
802
+ };
803
+ }
804
+ }), ct = /* @__PURE__ */ D({
805
+ __name: "PayInvoice.entry",
806
+ props: {
807
+ environment: { type: String },
808
+ locale: { type: String },
809
+ dateLocale: { type: String },
810
+ messages: { type: Object },
811
+ portalToken: { type: Object },
812
+ experimentalFeatures: { type: Array },
813
+ logLevel: { type: String },
814
+ onLog: { type: Function },
815
+ cssOverrides: { type: [String, Array] },
816
+ branding: { type: Object },
817
+ portalObject: { type: null },
818
+ configuration: { type: Object }
819
+ },
820
+ setup(e) {
821
+ const a = _e("pay-invoice");
822
+ return (n, u) => {
823
+ var c;
824
+ return l(), p(t(ge), {
825
+ entry: n.$props,
826
+ "component-name": t(a),
827
+ "allowed-portal-types": ["CUSTOMER"],
828
+ "required-configuration": { invoiceId: (c = e.configuration) == null ? void 0 : c.invoiceId }
829
+ }, {
830
+ default: i(() => [
831
+ (l(), p(dt, K({
832
+ key: e.configuration.invoiceId
833
+ }, n.$props), {
834
+ default: i(({
835
+ invoice: m,
836
+ isLoading: y,
837
+ amount: o,
838
+ countryCode: s,
839
+ paymentMethodOptions: h,
840
+ paymentMethods: A,
841
+ paymentAttempts: x,
842
+ downloadService: b,
843
+ refresh: P,
844
+ error: w
845
+ }) => [
846
+ r(st, {
847
+ "is-loading": y,
848
+ invoice: m,
849
+ amount: o,
850
+ "country-code": s,
851
+ "payment-method-options": h,
852
+ "payment-methods": A,
853
+ configuration: e.configuration,
854
+ "payment-attempts": x ?? [],
855
+ "download-service": b,
856
+ refresh: P,
857
+ error: w
858
+ }, null, 8, ["is-loading", "invoice", "amount", "country-code", "payment-method-options", "payment-methods", "configuration", "payment-attempts", "download-service", "refresh", "error"])
859
+ ]),
860
+ _: 1
861
+ }, 16))
862
+ ]),
863
+ _: 1
864
+ }, 8, ["entry", "component-name", "required-configuration"]);
865
+ };
866
+ }
867
+ }), { define: jt } = be(
868
+ ct,
869
+ "pay-invoice"
870
+ );
871
+ export {
872
+ jt as defineSolvimonPayInvoice
873
+ };