@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,165 @@
1
+ import { defineComponent as $, ref as p, computed as a, openBlock as m, createBlock as r, unref as i, withCtx as f, createElementVNode as H, normalizeClass as q, createVNode as w, mergeProps as Z, createTextVNode as g, toDisplayString as I, createCommentVNode as D } from "vue";
2
+ import { g as K, a as j } from "./customer.es-DQKl6wFt.mjs";
3
+ import { _ as C } from "./Button.vue.es-BHbanjR0.mjs";
4
+ import { _ as z } from "./Section.vue.es-CwKTCeZ1.mjs";
5
+ import { a as Y } from "./customElements-d7Bhfqi_.mjs";
6
+ import { _ as G } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
7
+ import { _ as J } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs";
8
+ import { u as Q, _ as W } from "./usePaymentMethodAvailability-B7NV0ZtX.mjs";
9
+ import { u as X } from "./usePaymentFormHold-CYZ4BdOw.mjs";
10
+ import { s as ee } from "./paymentRedirect-DaS8Kccc.mjs";
11
+ import { u as te } from "./useHostEvent-pjoWJ7ZH.mjs";
12
+ const oe = "NL", fe = /* @__PURE__ */ $({
13
+ __name: "PaymentMethodForm",
14
+ props: {
15
+ customer: { type: Object },
16
+ paymentMethodOptions: { type: Array },
17
+ configuration: { type: Object },
18
+ isLoading: { type: Boolean, default: !1 },
19
+ title: { type: String },
20
+ hideSubmitButton: { type: Boolean }
21
+ },
22
+ emits: ["success", "failure"],
23
+ setup(c, { expose: A, emit: O }) {
24
+ const L = {
25
+ currency: "EUR",
26
+ quantity: "0"
27
+ }, e = c, v = O, { dispatch: y, componentName: h } = te(), { $t: l } = Y(), { availability: N } = Q({
28
+ paymentMethodOptions: () => e.paymentMethodOptions,
29
+ isLoading: () => e.isLoading,
30
+ context: () => {
31
+ var o;
32
+ return { invoiceId: (o = e.configuration) == null ? void 0 : o.invoiceId };
33
+ }
34
+ }), d = p(), n = p(!1), { isFormHeld: E, handleActionRequired: R } = X(n), u = p(!1);
35
+ function _() {
36
+ d.value && (n.value = !0, d.value.submit());
37
+ }
38
+ const P = a(
39
+ () => l({
40
+ defaultMessage: "Save payment method",
41
+ description: "Label of the button that stores the entered payment method",
42
+ id: "components.payment_method_form.submit_button.label"
43
+ })
44
+ );
45
+ A({ submit: _, isPaymentPending: n, isCompleted: u });
46
+ function k() {
47
+ n.value = !1, u.value = !0, t.value.mode === "payment" ? y("solvimon-payment-succeeded", {
48
+ componentName: h,
49
+ invoiceId: t.value.invoiceId
50
+ }) : y("solvimon-payment-method-added", { componentName: h }), v("success");
51
+ }
52
+ function M(o) {
53
+ n.value = !1, v("failure", o);
54
+ }
55
+ function S() {
56
+ n.value = !1;
57
+ }
58
+ const t = a(() => e.configuration ?? {}), U = a(() => t.value.mode === "payment" ? "AUTHORIZE" : "TOKENIZE"), B = a(
59
+ () => u.value && !e.hideSubmitButton && !!t.value.successRedirectUrl
60
+ ), F = a(
61
+ () => t.value.successRedirectLabel ?? l({
62
+ defaultMessage: "Continue",
63
+ description: "Label of the button that leaves the form once the payment method is stored",
64
+ id: "components.payment_method_form.continue_button.label"
65
+ })
66
+ );
67
+ function T() {
68
+ const { successRedirectUrl: o } = t.value;
69
+ o && ee(o);
70
+ }
71
+ const x = a(
72
+ () => t.value.countryCode || K(e.customer) || oe
73
+ ), V = a(() => {
74
+ const o = j(e.customer), s = {
75
+ amount: t.value.amount ?? L,
76
+ paymentMethodOptions: e.paymentMethodOptions,
77
+ countryCode: x.value,
78
+ ...e.customer.email ? { email: e.customer.email } : {},
79
+ ...o ? { name: o } : {},
80
+ invoiceId: t.value.invoiceId,
81
+ // A payment names its customer too, as pay-invoice's does, so a card saved with it is theirs.
82
+ customerId: e.customer.id
83
+ };
84
+ if (t.value.mode === "payment") {
85
+ const { invoiceId: b } = t.value;
86
+ return {
87
+ ...s,
88
+ variant: "AUTHORIZE",
89
+ context: {
90
+ type: "INVOICE",
91
+ related_resource_ids: [{ type: "INVOICE", id: b }]
92
+ }
93
+ };
94
+ }
95
+ return {
96
+ ...s,
97
+ variant: "TOKENIZE"
98
+ };
99
+ });
100
+ return (o, s) => c.isLoading ? (m(), r(G, {
101
+ key: 0,
102
+ variant: "section",
103
+ class: "sv-payment-method-form sv-root sv-component sv-loading min-h-[180px]"
104
+ })) : i(N) === "UNAVAILABLE" ? (m(), r(W, {
105
+ key: 1,
106
+ class: "sv-payment-method-form sv-root sv-component",
107
+ variant: U.value
108
+ }, null, 8, ["variant"])) : (m(), r(i(z), {
109
+ key: 2,
110
+ class: "sv-payment-method-form sv-root sv-component",
111
+ "no-border": "",
112
+ "no-spacing": "",
113
+ "content-background": "none",
114
+ title: c.title ?? i(l)({
115
+ defaultMessage: "Available payment methods",
116
+ description: "Title of the available payment methods form",
117
+ id: "components.payment_method_form.section_title"
118
+ })
119
+ }, {
120
+ default: f(() => [
121
+ H("div", {
122
+ class: q({ "pointer-events-none opacity-60": i(E) })
123
+ }, [
124
+ w(J, Z({
125
+ ref_key: "paymentIntegrationFormRef",
126
+ ref: d,
127
+ class: "sv-payment-method-form__integration"
128
+ }, V.value, {
129
+ onPaymentSuccess: k,
130
+ onPaymentFailed: M,
131
+ onInvalid: S,
132
+ onSubmitting: s[0] || (s[0] = (b) => n.value = !0),
133
+ onActionRequired: i(R)
134
+ }), null, 16, ["onActionRequired"])
135
+ ], 2),
136
+ B.value ? (m(), r(i(C), {
137
+ key: 0,
138
+ intent: "primary",
139
+ class: "mt-4 w-full",
140
+ onClick: T
141
+ }, {
142
+ default: f(() => [
143
+ g(I(F.value), 1)
144
+ ]),
145
+ _: 1
146
+ })) : !c.hideSubmitButton && !u.value ? (m(), r(i(C), {
147
+ key: 1,
148
+ intent: "primary",
149
+ class: "mt-4 w-full",
150
+ loading: n.value,
151
+ onClick: _
152
+ }, {
153
+ default: f(() => [
154
+ g(I(P.value), 1)
155
+ ]),
156
+ _: 1
157
+ }, 8, ["loading"])) : D("", !0)
158
+ ]),
159
+ _: 1
160
+ }, 8, ["title"]));
161
+ }
162
+ });
163
+ export {
164
+ fe as _
165
+ };
@@ -0,0 +1,169 @@
1
+ import { computed as _, defineComponent as B, toRef as V, openBlock as r, createElementBlock as k, createBlock as u, withCtx as p, createTextVNode as v, toDisplayString as b, unref as o, Fragment as N, createElementVNode as A, createVNode as O, createCommentVNode as g } from "vue";
2
+ import { _ as E } from "./PaymentMethod.vue.es-DAabE41t.mjs";
3
+ import { _ as I } from "./Button.vue.es-BHbanjR0.mjs";
4
+ import { _ as S } from "./FormMessage.vue.es-CQ64C8dt.mjs";
5
+ import { _ as $ } from "./RadioGroupExtended.vue.es-hDmUAKIA.mjs";
6
+ import { a as P, d as T } from "./customElements-d7Bhfqi_.mjs";
7
+ import { a as m } from "./formatting.es-RclXHhKo.mjs";
8
+ import { _ as x } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs";
9
+ function C(e) {
10
+ var t, s, y, h, c, d;
11
+ const a = [];
12
+ switch (e.type) {
13
+ case "CARD":
14
+ a.push(
15
+ e.card.brand && m(e.card.brand),
16
+ e.card.last_four_digits
17
+ );
18
+ break;
19
+ case "ONLINE_BANKING":
20
+ a.push(
21
+ ((t = e.online_banking) == null ? void 0 : t.variant) && m(e.online_banking.variant),
22
+ (s = e.online_banking) == null ? void 0 : s.owner_name
23
+ );
24
+ break;
25
+ case "DIRECT_DEBIT":
26
+ a.push(
27
+ ((y = e.direct_debit) == null ? void 0 : y.variant) && m(e.direct_debit.variant),
28
+ (h = e.direct_debit) == null ? void 0 : h.owner_name
29
+ );
30
+ break;
31
+ case "BUY_NOW_PAY_LATER":
32
+ a.push(
33
+ ((c = e.buy_now_pay_later) == null ? void 0 : c.variant) && m(e.buy_now_pay_later.variant)
34
+ );
35
+ break;
36
+ case "DIGITAL_WALLET":
37
+ a.push(
38
+ ((d = e.digital_wallet) == null ? void 0 : d.variant) && m(e.digital_wallet.variant)
39
+ );
40
+ break;
41
+ }
42
+ return a.filter(Boolean).join(" ") || m(e.type);
43
+ }
44
+ function L(e) {
45
+ const a = _(
46
+ () => e.value.map((t) => ({
47
+ value: t.id,
48
+ label: C(t)
49
+ }))
50
+ ), n = _(
51
+ () => Object.fromEntries(
52
+ e.value.map((t) => [t.id, t])
53
+ )
54
+ );
55
+ return { options: a, paymentMethodsById: n };
56
+ }
57
+ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = { class: "sr-only" }, K = /* @__PURE__ */ B({
58
+ __name: "PaymentMethodSelector",
59
+ props: {
60
+ paymentMethods: { type: Array },
61
+ modelValue: { type: String },
62
+ label: { type: String },
63
+ required: { type: Boolean },
64
+ disabled: { type: Boolean },
65
+ error: { type: [String, Object, Array] },
66
+ showAddOption: { type: Boolean, default: !0 },
67
+ paymentMethodOptions: { type: Array }
68
+ },
69
+ emits: ["update:modelValue", "add-payment-method"],
70
+ setup(e, { emit: a }) {
71
+ const n = e, t = a, { $t: s } = P(), { options: y, paymentMethodsById: h } = L(
72
+ V(n, "paymentMethods")
73
+ ), c = _({
74
+ get: () => n.modelValue,
75
+ set: (i) => t("update:modelValue", typeof i == "string" ? i : void 0)
76
+ }), d = _(() => n.paymentMethods.length > 0), w = _(() => {
77
+ var i;
78
+ return ((i = n.paymentMethodOptions) == null ? void 0 : i.length) !== 0;
79
+ });
80
+ return (i, f) => (r(), k("div", D, [
81
+ !d.value && !w.value ? (r(), u(x, {
82
+ key: 0,
83
+ class: "sv-payment-method-selector__empty",
84
+ icon: "credit_card_off"
85
+ }, {
86
+ title: p(() => [
87
+ v(b(o(s)({
88
+ defaultMessage: "No payment methods available",
89
+ description: "Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",
90
+ id: "payment_method_selector.empty_state.title"
91
+ })), 1)
92
+ ]),
93
+ _: 1
94
+ })) : (r(), k(N, { key: 1 }, [
95
+ A("div", null, [
96
+ d.value ? (r(), u(o($), {
97
+ key: 0,
98
+ modelValue: c.value,
99
+ "onUpdate:modelValue": f[0] || (f[0] = (l) => c.value = l),
100
+ class: "sv-payment-method-selector__options",
101
+ name: "payment-method",
102
+ direction: "column",
103
+ options: o(y),
104
+ label: e.label,
105
+ required: e.required,
106
+ disabled: e.disabled,
107
+ error: e.error,
108
+ "show-radio": !1
109
+ }, {
110
+ prefix: p(({ optionValue: l }) => [
111
+ O(o(E), {
112
+ class: "sv-payment-method-selector__option-content grow",
113
+ "payment-method": o(h)[String(l)]
114
+ }, null, 8, ["payment-method"])
115
+ ]),
116
+ label: p(({ option: l }) => [
117
+ A("span", q, b(l.label), 1)
118
+ ]),
119
+ _: 1
120
+ }, 8, ["modelValue", "options", "label", "required", "disabled", "error"])) : g("", !0)
121
+ ]),
122
+ e.showAddOption && w.value ? (r(), u(o(I), {
123
+ key: 0,
124
+ class: "sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",
125
+ intent: "secondary",
126
+ "icon-prefix": "add",
127
+ type: "button",
128
+ size: "sm",
129
+ disabled: e.disabled,
130
+ onClick: f[1] || (f[1] = (l) => t("add-payment-method"))
131
+ }, {
132
+ default: p(() => [
133
+ v(b(o(s)({
134
+ defaultMessage: "Add payment method",
135
+ description: "Label of the button that adds a new payment method",
136
+ id: "payment_method_selector.add_payment_method"
137
+ })), 1)
138
+ ]),
139
+ _: 1
140
+ }, 8, ["disabled"])) : e.showAddOption ? (r(), u(o(T), {
141
+ key: 1,
142
+ variant: "body-sm",
143
+ color: "subtle",
144
+ tag: "p",
145
+ class: "sv-payment-method-selector__unavailable"
146
+ }, {
147
+ default: p(() => [
148
+ v(b(o(s)({
149
+ defaultMessage: "There are no available payment methods. Please contact support for more information.",
150
+ description: "Shown in place of the add button when the customer cannot add any payment method",
151
+ id: "payment_method_selector.no_payment_methods_available"
152
+ })), 1)
153
+ ]),
154
+ _: 1
155
+ })) : g("", !0),
156
+ e.error && !d.value ? (r(), u(o(S), {
157
+ key: 2,
158
+ class: "sv-payment-method-selector__error",
159
+ message: e.error,
160
+ variant: "error"
161
+ }, null, 8, ["message"])) : g("", !0)
162
+ ], 64))
163
+ ]));
164
+ }
165
+ });
166
+ export {
167
+ K as _,
168
+ C as g
169
+ };
@@ -0,0 +1,176 @@
1
+ import { defineComponent as P, ref as S, openBlock as d, createElementBlock as h, Fragment as f, renderList as E, createBlock as _, unref as e, withCtx as c, createVNode as m, createCommentVNode as y, createSlots as $, createElementVNode as v, createTextVNode as A, toDisplayString as B } from "vue";
2
+ import { _ as g } from "./PaymentMethod.vue.es-DAabE41t.mjs";
3
+ import { _ as I } from "./ErrorNotification.vue.es-CWIVt5q9.mjs";
4
+ import { _ as x } from "./Section.vue.es-CwKTCeZ1.mjs";
5
+ import { a as C, d as N } from "./customElements-d7Bhfqi_.mjs";
6
+ import { M as V } from "./Modal.vue.es-CDjfZDDx.mjs";
7
+ import { u as M } from "./useService-DayNZhPh.mjs";
8
+ import { c as q } from "./paymentMethods-CG1fcG2v.mjs";
9
+ function O({
10
+ onSetDefault: s,
11
+ onDeleteRequest: l
12
+ }) {
13
+ const { $t: n } = C();
14
+ return { getContextMenuItems: (t) => {
15
+ const i = [];
16
+ return t.is_default || i.push({
17
+ label: n({
18
+ defaultMessage: "Set as default",
19
+ id: "payment_method.context_menu.set_as_default.label",
20
+ description: "Context menu option for setting the default payment method"
21
+ }),
22
+ onClick: () => s(t)
23
+ }), i.push({
24
+ label: n({
25
+ defaultMessage: "Delete",
26
+ id: "payment_method.context_menu.delete.label",
27
+ description: "Context menu option for deleting the payment method"
28
+ }),
29
+ onClick: () => l(t)
30
+ }), i;
31
+ } };
32
+ }
33
+ function R() {
34
+ const { archivePaymentMethod: s, setDefaultPaymentMethod: l } = q(), n = M({
35
+ service: (t) => s({ paymentMethodId: t })
36
+ }), o = M({
37
+ service: (t) => l({ paymentMethodId: t })
38
+ });
39
+ return {
40
+ archive: n.execute,
41
+ archiveError: n.error,
42
+ isArchiving: n.isPending,
43
+ setDefault: o.execute,
44
+ setDefaultError: o.error,
45
+ isSettingDefault: o.isPending
46
+ };
47
+ }
48
+ const L = {
49
+ key: 0,
50
+ class: "sv-payment-methods__list grid grid-cols-1 gap-1"
51
+ }, T = { class: "sv-payment-methods__delete-modal-body flex flex-col gap-3" }, z = { class: "px-3 py-2" }, X = /* @__PURE__ */ P({
52
+ __name: "PaymentMethodsList",
53
+ props: {
54
+ paymentMethods: { type: Array },
55
+ hideOptions: { type: Boolean }
56
+ },
57
+ emits: ["delete", "set-default"],
58
+ setup(s, { emit: l }) {
59
+ const n = l, { $t: o } = C(), t = S(null), { archive: i, archiveError: p, isArchiving: r, setDefault: b } = R(), { getContextMenuItems: D } = O({
60
+ onDeleteRequest: (a) => {
61
+ t.value = a;
62
+ },
63
+ onSetDefault: async (a) => {
64
+ try {
65
+ await b(a.id);
66
+ } catch {
67
+ return;
68
+ }
69
+ n("set-default", a);
70
+ }
71
+ });
72
+ function k() {
73
+ t.value = null, p.value = null;
74
+ }
75
+ async function w() {
76
+ const a = t.value;
77
+ if (!(!a || r.value)) {
78
+ try {
79
+ await i(a.id);
80
+ } catch {
81
+ return;
82
+ }
83
+ n("delete", a), t.value = null;
84
+ }
85
+ }
86
+ return (a, F) => (d(), h(f, null, [
87
+ s.paymentMethods.length > 0 ? (d(), h("div", L, [
88
+ (d(!0), h(f, null, E(s.paymentMethods, (u) => (d(), _(e(x), {
89
+ key: u.id,
90
+ class: "sv-payment-methods__item"
91
+ }, {
92
+ default: c(() => [
93
+ m(e(g), {
94
+ class: "sv-payment-methods__item-content",
95
+ "payment-method": u,
96
+ options: s.hideOptions ? void 0 : e(D)(u)
97
+ }, null, 8, ["payment-method", "options"])
98
+ ]),
99
+ _: 2
100
+ }, 1024))), 128))
101
+ ])) : y("", !0),
102
+ m(e(V), {
103
+ "full-screen-on-mobile": "",
104
+ size: "md",
105
+ "show-modal": !!t.value,
106
+ "is-loading": e(r),
107
+ "no-click-away": e(r),
108
+ "no-backdrop-close": e(r),
109
+ title: e(o)({
110
+ id: "payment_methods_list.delete_modal.title",
111
+ defaultMessage: "Delete payment method",
112
+ description: "Title of the delete payment method confirmation modal"
113
+ }),
114
+ "confirm-button-text": e(o)({
115
+ id: "payment_methods_list.delete_modal.confirm",
116
+ defaultMessage: "Delete",
117
+ description: "Confirm button in the delete payment method modal"
118
+ }),
119
+ "cancel-button-text": e(o)({
120
+ id: "payment_methods_list.delete_modal.cancel",
121
+ defaultMessage: "Cancel",
122
+ description: "Cancel button in the delete payment method modal"
123
+ }),
124
+ onConfirm: w,
125
+ onClose: k
126
+ }, $({ _: 2 }, [
127
+ t.value ? {
128
+ name: "body",
129
+ fn: c(() => [
130
+ v("div", T, [
131
+ m(e(N), {
132
+ variant: "body-sm",
133
+ color: "subtle",
134
+ tag: "p",
135
+ class: "sv-payment-methods__delete-modal-explanation"
136
+ }, {
137
+ default: c(() => [
138
+ A(B(e(o)({
139
+ id: "payment_methods_list.delete_modal.body",
140
+ defaultMessage: "Are you sure you want to delete this payment method?",
141
+ description: "Confirmation message in the delete payment method modal"
142
+ })), 1)
143
+ ]),
144
+ _: 1
145
+ }),
146
+ m(e(x), {
147
+ "no-spacing": "",
148
+ class: "sv-payment-methods__delete-modal-payment-method"
149
+ }, {
150
+ default: c(() => [
151
+ v("div", z, [
152
+ m(e(g), { "payment-method": t.value }, null, 8, ["payment-method"])
153
+ ])
154
+ ]),
155
+ _: 1
156
+ }),
157
+ e(p) ? (d(), _(e(I), {
158
+ key: 0,
159
+ class: "sv-payment-methods__delete-modal-error sv-error",
160
+ title: e(o)({
161
+ id: "payment_methods_list.delete_modal.error",
162
+ defaultMessage: "We could not delete this payment method. Please try again.",
163
+ description: "Error shown when deleting a payment method fails"
164
+ })
165
+ }, null, 8, ["title"])) : y("", !0)
166
+ ])
167
+ ]),
168
+ key: "0"
169
+ } : void 0
170
+ ]), 1032, ["show-modal", "is-loading", "no-click-away", "no-backdrop-close", "title", "confirm-button-text", "cancel-button-text"])
171
+ ], 64));
172
+ }
173
+ });
174
+ export {
175
+ X as _
176
+ };