@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
@@ -1,584 +0,0 @@
1
- import { shallowRef, computed, defineComponent, ref, watch, openBlock, createElementBlock, withModifiers, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, createBlock, createCommentVNode, Fragment, onMounted, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import { G as useValidation, H as objectDiff, I as isOrganization, J as isIndividual, b as useIntl, _ as _sfc_main$2$1, K as _sfc_main$2a, L as _sfc_main$1$, M as _sfc_main$20, D as _sfc_main$16, m as _sfc_main$2H, N as getApiError, p as _sfc_main$4, q as defineCustomElement, o as getComponentName } from "../../component-DEo_ndpK.mjs";
3
- import { e as email, r as required } from "../../index-CzL1ZcGi.mjs";
4
- import { c as cloneDeep } from "../../cloneDeep-sm9cY-u2.mjs";
5
- import { u as useCustomer } from "../../useCustomer-DlcjY3fP.mjs";
6
- const useForm = ({
7
- initialState,
8
- validationRules,
9
- nullifyEmptyValues = false,
10
- mode = "shallow"
11
- }) => {
12
- const initialFormState = shallowRef(cloneDeep(initialState));
13
- const form = shallowRef(cloneDeep(initialState));
14
- const validation = useValidation(validationRules ?? {}, form);
15
- const changes = computed(
16
- () => objectDiff({ from: initialFormState.value, to: form.value, mode, nullifyEmptyValues })
17
- );
18
- const hasChanges = computed(() => Object.entries(changes.value).length > 0);
19
- const updateInitialState = (state) => {
20
- form.value = cloneDeep(state);
21
- initialFormState.value = cloneDeep(state);
22
- };
23
- const reset = () => {
24
- form.value = cloneDeep(initialState);
25
- validation.value.$reset();
26
- };
27
- return {
28
- form,
29
- validation,
30
- changes,
31
- hasChanges,
32
- reset,
33
- updateInitialState,
34
- initialState: initialFormState
35
- };
36
- };
37
- const DEFAULT_TAX_IDENTIFIER_TYPE = "GENERIC_TAX_ID";
38
- const DEFAULT_FORM_STATE = {
39
- type: "INDIVIDUAL",
40
- email: "",
41
- country: "",
42
- addressLine1: "",
43
- postalCode: "",
44
- city: "",
45
- state: ""
46
- };
47
- function useBillingInformationForm({
48
- initialState = {},
49
- onSubmit
50
- }) {
51
- const {
52
- form,
53
- validation,
54
- changes,
55
- hasChanges,
56
- updateInitialState: updateFormInitialState,
57
- initialState: currentInitialState
58
- } = useForm({
59
- initialState: {
60
- ...DEFAULT_FORM_STATE,
61
- ...initialState
62
- },
63
- validationRules: {
64
- email: { required, email }
65
- },
66
- nullifyEmptyValues: true,
67
- mode: "deep"
68
- });
69
- const updateInitialState = (customer) => {
70
- updateFormInitialState(mapCustomerToFormState(customer));
71
- };
72
- const submit = (customerId, data = form.value) => {
73
- return onSubmit({
74
- customerId,
75
- payload: mapFormStateToCustomerPayload(data)
76
- });
77
- };
78
- return {
79
- form,
80
- isOrganization,
81
- validation,
82
- changes,
83
- hasChanges,
84
- updateInitialState,
85
- submit,
86
- initialState: currentInitialState
87
- };
88
- }
89
- const mapCustomerToFormState = (customer) => {
90
- var _a, _b, _c, _d;
91
- if (isIndividual(customer)) {
92
- const address2 = customer.individual.residential_address;
93
- return {
94
- type: "INDIVIDUAL",
95
- email: customer.email ?? "",
96
- country: (address2 == null ? void 0 : address2.country) ?? "",
97
- addressLine1: (address2 == null ? void 0 : address2.line1) ?? "",
98
- addressLine2: (address2 == null ? void 0 : address2.line2) ?? "",
99
- postalCode: (address2 == null ? void 0 : address2.postal_code) ?? "",
100
- city: (address2 == null ? void 0 : address2.city) ?? "",
101
- state: (address2 == null ? void 0 : address2.state) ?? "",
102
- firstName: ((_a = customer.individual.name) == null ? void 0 : _a.first_name) ?? "",
103
- lastName: ((_b = customer.individual.name) == null ? void 0 : _b.last_name) ?? ""
104
- };
105
- }
106
- const address = customer.organization.registered_address;
107
- return {
108
- type: "ORGANIZATION",
109
- email: customer.email ?? "",
110
- country: (address == null ? void 0 : address.country) ?? "",
111
- addressLine1: (address == null ? void 0 : address.line1) ?? "",
112
- addressLine2: (address == null ? void 0 : address.line2) ?? "",
113
- postalCode: (address == null ? void 0 : address.postal_code) ?? "",
114
- city: (address == null ? void 0 : address.city) ?? "",
115
- state: (address == null ? void 0 : address.state) ?? "",
116
- companyLegalName: customer.organization.legal_name ?? "",
117
- companyVatNumber: ((_d = (_c = customer.organization.tax_ids) == null ? void 0 : _c[0]) == null ? void 0 : _d.id) ?? ""
118
- };
119
- };
120
- const mapFormStateToCustomerPayload = (data) => data.type === "ORGANIZATION" ? {
121
- type: "ORGANIZATION",
122
- email: data.email,
123
- organization: {
124
- legal_name: data.companyLegalName ?? "",
125
- tax_ids: data.companyVatNumber ? [
126
- {
127
- id: data.companyVatNumber,
128
- type: DEFAULT_TAX_IDENTIFIER_TYPE
129
- }
130
- ] : void 0,
131
- registered_address: {
132
- line1: data.addressLine1,
133
- line2: data.addressLine2 ?? "",
134
- postal_code: data.postalCode,
135
- city: data.city,
136
- country: data.country,
137
- state: data.state ?? ""
138
- }
139
- }
140
- } : {
141
- type: "INDIVIDUAL",
142
- email: data.email,
143
- individual: {
144
- name: {
145
- first_name: data.firstName ?? "",
146
- last_name: data.lastName ?? ""
147
- },
148
- residential_address: {
149
- line1: data.addressLine1,
150
- line2: data.addressLine2 ?? "",
151
- postal_code: data.postalCode,
152
- city: data.city,
153
- country: data.country,
154
- state: data.state ?? ""
155
- }
156
- }
157
- };
158
- const _hoisted_1 = { class: "grid grid-cols-1 gap-4" };
159
- const _hoisted_2 = { class: "flex grow flex-col" };
160
- const _hoisted_3 = { class: "mt-6 flex items-center justify-between gap-4" };
161
- const _hoisted_4 = { class: "flex flex-col gap-2" };
162
- const _hoisted_5 = {
163
- key: 0,
164
- class: "grid grid-cols-2 gap-2"
165
- };
166
- const _hoisted_6 = { class: "grid grid-cols-3 gap-2" };
167
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
168
- __name: "BillingInformationForm",
169
- props: {
170
- customer: { type: Object },
171
- isLoading: { type: Boolean },
172
- apiError: { type: null },
173
- updateCustomer: { type: Function }
174
- },
175
- setup(__props) {
176
- const props = __props;
177
- const { $t } = useIntl();
178
- const { validation, form, updateInitialState, submit, hasChanges } = useBillingInformationForm({
179
- onSubmit: ({ customerId, payload }) => props.updateCustomer({ customerId, payload })
180
- });
181
- const hasHydratedFromCustomer = ref(false);
182
- const isCompanyPurchase = computed(() => form.value.type === "ORGANIZATION");
183
- const showCompanyPurchaseToggle = computed(() => !hasHydratedFromCustomer.value);
184
- const companyPurchaseModel = computed({
185
- get: () => isCompanyPurchase.value,
186
- set: (value) => form.value.type = value ? "ORGANIZATION" : "INDIVIDUAL"
187
- });
188
- const handleSubmit = async () => {
189
- var _a;
190
- await validation.value.$validate();
191
- const isValid = !validation.value.$invalid;
192
- if (!isValid) return;
193
- if (!((_a = props.customer) == null ? void 0 : _a.id)) return;
194
- await submit(props.customer.id);
195
- };
196
- watch(
197
- () => props.customer,
198
- (customer) => {
199
- if (!customer || hasHydratedFromCustomer.value) {
200
- return;
201
- }
202
- updateInitialState(customer);
203
- hasHydratedFromCustomer.value = true;
204
- },
205
- { immediate: true }
206
- );
207
- return (_ctx, _cache) => {
208
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
209
- return openBlock(), createElementBlock("form", {
210
- onSubmit: withModifiers(handleSubmit, ["prevent"])
211
- }, [
212
- createVNode(unref(_sfc_main$2$1), {
213
- variant: "heading-3",
214
- tag: "h2"
215
- }, {
216
- default: withCtx(() => [
217
- createTextVNode(toDisplayString(unref($t)({
218
- defaultMessage: "Customer information",
219
- id: "checkout.contact_information_block.title",
220
- description: "The title of the contact information block in the checkout form"
221
- })), 1)
222
- ]),
223
- _: 1
224
- }),
225
- createElementVNode("div", _hoisted_1, [
226
- createVNode(unref(_sfc_main$2a), {
227
- modelValue: unref(form).email,
228
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(form).email = $event),
229
- required: "",
230
- type: "email",
231
- label: unref($t)({
232
- defaultMessage: "Email address",
233
- id: "checkout.email_address.label",
234
- description: "The email address of the customer in the checkout form"
235
- }),
236
- placeholder: unref($t)({
237
- defaultMessage: "Email address...",
238
- id: "checkout.email_address.placeholder",
239
- description: "The email address of the customer in the checkout form"
240
- }),
241
- error: ((_a = unref(validation).value.email) == null ? void 0 : _a.$errors) || ((_b = __props.apiError) == null ? void 0 : _b.email)
242
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
243
- createVNode(unref(_sfc_main$1$), {
244
- "single-model-value": unref(form).country,
245
- "onUpdate:singleModelValue": _cache[1] || (_cache[1] = ($event) => unref(form).country = $event),
246
- label: unref($t)({
247
- defaultMessage: "Country",
248
- id: "checkout.country.label",
249
- description: "The country of the customer in the checkout form"
250
- }),
251
- error: (_c = __props.apiError) == null ? void 0 : _c.country
252
- }, null, 8, ["single-model-value", "label", "error"]),
253
- showCompanyPurchaseToggle.value ? (openBlock(), createBlock(unref(_sfc_main$20), {
254
- key: 0,
255
- modelValue: companyPurchaseModel.value,
256
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => companyPurchaseModel.value = $event),
257
- "label-position": "before"
258
- }, {
259
- "inline-label": withCtx(() => [
260
- createElementVNode("div", _hoisted_2, [
261
- createVNode(unref(_sfc_main$2$1), { tag: "span" }, {
262
- default: withCtx(() => [
263
- createTextVNode(toDisplayString(unref($t)({
264
- defaultMessage: "Company purchase",
265
- id: "checkout.company_purchase_toggle.title",
266
- description: "The title of the company purchase toggle in the checkout"
267
- })), 1)
268
- ]),
269
- _: 1
270
- }),
271
- createVNode(unref(_sfc_main$2$1), {
272
- tag: "span",
273
- variant: "body-xs",
274
- shade: "lighter"
275
- }, {
276
- default: withCtx(() => [
277
- createTextVNode(toDisplayString(unref($t)({
278
- defaultMessage: "I am purchasing on behalf of a company",
279
- id: "checkout.company_purchase_toggle.sub_title",
280
- description: "The subtitle of the company purchase toggle in the checkout"
281
- })), 1)
282
- ]),
283
- _: 1
284
- })
285
- ])
286
- ]),
287
- _: 1
288
- }, 8, ["modelValue"])) : createCommentVNode("", true),
289
- isCompanyPurchase.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
290
- createVNode(unref(_sfc_main$2a), {
291
- modelValue: unref(form).companyVatNumber,
292
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(form).companyVatNumber = $event),
293
- name: "vat_number",
294
- label: unref($t)({
295
- defaultMessage: "VAT number",
296
- id: "checkout.vat_number.label",
297
- description: "The label for the vat number in the checkout form"
298
- }),
299
- placeholder: unref($t)({
300
- defaultMessage: "VAT number...",
301
- id: "checkout.vat_number.placeholder",
302
- description: "The label for the vat number in the checkout form"
303
- }),
304
- error: (_d = __props.apiError) == null ? void 0 : _d.vat_number
305
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
306
- createVNode(unref(_sfc_main$2a), {
307
- modelValue: unref(form).companyLegalName,
308
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(form).companyLegalName = $event),
309
- required: "",
310
- name: "legal_name",
311
- label: unref($t)({
312
- defaultMessage: "Legal entity name",
313
- id: "checkout.legal_name.label",
314
- description: "The legal name of the organization customer in the checkout form"
315
- }),
316
- placeholder: unref($t)({
317
- defaultMessage: "Legal entity name...",
318
- id: "checkout.legal_name.placeholder",
319
- description: "The legal name of the organization customer in the checkout form"
320
- }),
321
- error: (_e = __props.apiError) == null ? void 0 : _e.legal_name
322
- }, null, 8, ["modelValue", "label", "placeholder", "error"])
323
- ], 64)) : createCommentVNode("", true)
324
- ]),
325
- createElementVNode("div", _hoisted_3, [
326
- createVNode(unref(_sfc_main$2$1), {
327
- variant: "heading-3",
328
- tag: "h2"
329
- }, {
330
- default: withCtx(() => [
331
- createTextVNode(toDisplayString(unref($t)({
332
- defaultMessage: "Billing details",
333
- id: "checkout.billing_information_block.title",
334
- description: "The title of the billing information block in the checkout form"
335
- })), 1)
336
- ]),
337
- _: 1
338
- })
339
- ]),
340
- createElementVNode("div", _hoisted_4, [
341
- !isCompanyPurchase.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
342
- createVNode(unref(_sfc_main$2a), {
343
- modelValue: unref(form).firstName,
344
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(form).firstName = $event),
345
- name: "first_name",
346
- label: unref($t)({
347
- defaultMessage: "First name",
348
- id: "checkout.first_name.label",
349
- description: "The first name of the customer in the checkout form"
350
- }),
351
- placeholder: unref($t)({
352
- defaultMessage: "First name...",
353
- id: "checkout.first_name.placeholder",
354
- description: "The first name of the customer in the checkout form"
355
- }),
356
- error: (_f = __props.apiError) == null ? void 0 : _f.first_name
357
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
358
- createVNode(unref(_sfc_main$2a), {
359
- modelValue: unref(form).lastName,
360
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(form).lastName = $event),
361
- name: "last_name",
362
- label: unref($t)({
363
- defaultMessage: "Last name",
364
- id: "checkout.last_name.label",
365
- description: "The last name of the customer in the checkout form"
366
- }),
367
- placeholder: unref($t)({
368
- defaultMessage: "Last name...",
369
- id: "checkout.last_name.placeholder",
370
- description: "The last name of the customer in the checkout form"
371
- }),
372
- error: (_g = __props.apiError) == null ? void 0 : _g.last_name
373
- }, null, 8, ["modelValue", "label", "placeholder", "error"])
374
- ])) : createCommentVNode("", true),
375
- createVNode(unref(_sfc_main$2a), {
376
- modelValue: unref(form).addressLine1,
377
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(form).addressLine1 = $event),
378
- name: "address_line_1",
379
- label: unref($t)({
380
- defaultMessage: "Billing address",
381
- id: "checkout.address.title",
382
- description: "Address line 1 of the customer address in the checkout form"
383
- }),
384
- placeholder: unref($t)({
385
- defaultMessage: "Address line 1...",
386
- id: "checkout.address.line1.placeholder",
387
- description: "Address line 1 of the customer address in the checkout form"
388
- }),
389
- error: (_h = __props.apiError) == null ? void 0 : _h.address_line_1
390
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
391
- createVNode(unref(_sfc_main$2a), {
392
- modelValue: unref(form).addressLine2,
393
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(form).addressLine2 = $event),
394
- name: "address_line_2",
395
- placeholder: unref($t)({
396
- defaultMessage: "Address line 2...",
397
- id: "checkout.address.line2.placeholder",
398
- description: "Address line 2 of the customer address in the checkout form"
399
- }),
400
- error: (_i = __props.apiError) == null ? void 0 : _i.address_line_2
401
- }, null, 8, ["modelValue", "placeholder", "error"]),
402
- createElementVNode("div", _hoisted_6, [
403
- createVNode(unref(_sfc_main$2a), {
404
- modelValue: unref(form).postalCode,
405
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(form).postalCode = $event),
406
- name: "postal_code",
407
- placeholder: unref($t)({
408
- defaultMessage: "Postal code...",
409
- id: "checkout.address.portal_code.placeholder",
410
- description: "Postal code of the customer address in the checkout form"
411
- }),
412
- error: (_j = __props.apiError) == null ? void 0 : _j.postal_code
413
- }, null, 8, ["modelValue", "placeholder", "error"]),
414
- createVNode(unref(_sfc_main$2a), {
415
- modelValue: unref(form).city,
416
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(form).city = $event),
417
- name: "city",
418
- placeholder: unref($t)({
419
- defaultMessage: "City...",
420
- id: "checkout.address.city.placeholder",
421
- description: "City of the customer address in the checkout form"
422
- }),
423
- error: (_k = __props.apiError) == null ? void 0 : _k.city
424
- }, null, 8, ["modelValue", "placeholder", "error"]),
425
- createVNode(unref(_sfc_main$2a), {
426
- modelValue: unref(form).state,
427
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(form).state = $event),
428
- name: "state",
429
- placeholder: unref($t)({
430
- defaultMessage: "State...",
431
- id: "checkout.address.state.placeholder",
432
- description: "State of the customer address in the checkout form"
433
- }),
434
- error: (_l = __props.apiError) == null ? void 0 : _l.state
435
- }, null, 8, ["modelValue", "placeholder", "error"])
436
- ])
437
- ]),
438
- ((_m = __props.apiError) == null ? void 0 : _m._generic) ? (openBlock(), createBlock(unref(_sfc_main$16), {
439
- key: 0,
440
- class: "mt-4",
441
- title: __props.apiError._generic
442
- }, null, 8, ["title"])) : createCommentVNode("", true),
443
- createVNode(unref(_sfc_main$2H), {
444
- type: "submit",
445
- color: "primary",
446
- disabled: !unref(hasChanges),
447
- loading: __props.isLoading,
448
- class: "mt-4"
449
- }, {
450
- default: withCtx(() => [
451
- createTextVNode(toDisplayString(unref($t)({
452
- defaultMessage: "Save changes",
453
- id: "billing_information_form.submit_button.label",
454
- description: "The label for the submit button of the billing information form"
455
- })), 1)
456
- ]),
457
- _: 1
458
- }, 8, ["disabled", "loading"])
459
- ], 32);
460
- };
461
- }
462
- });
463
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
464
- __name: "BillingInformationForm",
465
- props: {
466
- customer: { type: Object },
467
- apiError: { type: null },
468
- updateCustomer: { type: Function },
469
- isLoading: { type: Boolean }
470
- },
471
- setup(__props) {
472
- return (_ctx, _cache) => {
473
- return openBlock(), createBlock(_sfc_main$3, {
474
- customer: __props.customer,
475
- "update-customer": __props.updateCustomer,
476
- "is-loading": __props.isLoading,
477
- "api-error": __props.apiError
478
- }, null, 8, ["customer", "update-customer", "is-loading", "api-error"]);
479
- };
480
- }
481
- });
482
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
483
- __name: "BillingInformationForm.entry.view",
484
- props: {
485
- environment: { type: String },
486
- locale: { type: String },
487
- dateLocale: { type: String },
488
- messages: { type: Object },
489
- showTimezones: { type: Boolean },
490
- primaryColor: { type: String },
491
- secondaryColor: { type: String },
492
- isShadowRoot: { type: Boolean },
493
- experimentalFeatures: { type: Array },
494
- logLevel: { type: String },
495
- onLog: { type: Function },
496
- allowedPortalTypes: { type: Array },
497
- portalObject: { type: Object },
498
- customElementName: { type: String },
499
- branding: { type: Object }
500
- },
501
- setup(__props) {
502
- const props = __props;
503
- const customerId = props.portalObject.customer_id;
504
- const { customer, get, update } = useCustomer({ customerId });
505
- onMounted(async () => {
506
- await get.execute();
507
- });
508
- return (_ctx, _cache) => {
509
- return renderSlot(_ctx.$slots, "default", {
510
- customer: unref(customer),
511
- isLoading: unref(get).isPending.value || unref(update).isPending.value,
512
- updateCustomer: unref(update),
513
- apiError: unref(getApiError)(unref(update).error)
514
- });
515
- };
516
- }
517
- });
518
- const _sfc_main = /* @__PURE__ */ defineComponent({
519
- __name: "BillingInformationForm.entry",
520
- props: {
521
- environment: { type: String },
522
- locale: { type: String },
523
- dateLocale: { type: String },
524
- messages: { type: Object },
525
- showTimezones: { type: Boolean },
526
- primaryColor: { type: String },
527
- secondaryColor: { type: String },
528
- isShadowRoot: { type: Boolean },
529
- experimentalFeatures: { type: Array },
530
- logLevel: { type: String },
531
- onLog: { type: Function },
532
- allowedPortalTypes: { type: Array },
533
- portalObject: { type: Object },
534
- customElementName: { type: String },
535
- branding: { type: Object }
536
- },
537
- emits: ["error"],
538
- setup(__props) {
539
- return (_ctx, _cache) => {
540
- var _a, _b, _c, _d;
541
- return openBlock(), createBlock(unref(_sfc_main$4), {
542
- "custom-element-name": unref(COMPONENT_NAME),
543
- environment: __props.environment,
544
- locale: __props.locale,
545
- "portal-object": __props.portalObject,
546
- "allowed-portal-types": ["CUSTOMER"],
547
- "primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
548
- "secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
549
- "experimental-features": __props.experimentalFeatures,
550
- "log-level": __props.logLevel,
551
- "on-log": __props.onLog,
552
- onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
553
- }, {
554
- default: withCtx(() => [
555
- createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
556
- default: withCtx(({ customer, updateCustomer, isLoading, apiError }) => [
557
- customer ? (openBlock(), createBlock(_sfc_main$2, {
558
- key: 0,
559
- customer,
560
- "is-loading": isLoading,
561
- "update-customer": ({ payload }) => updateCustomer.execute(payload),
562
- "api-error": apiError
563
- }, null, 8, ["customer", "is-loading", "update-customer", "api-error"])) : createCommentVNode("", true)
564
- ]),
565
- _: 1
566
- }, 16)
567
- ]),
568
- _: 1
569
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
570
- };
571
- }
572
- });
573
- const SolvimonBillingInformationForm = defineCustomElement(_sfc_main);
574
- const COMPONENT_NAME = getComponentName("billing-information-form");
575
- const defineSolvimonBillingInformationForm = () => {
576
- if (!customElements.get(COMPONENT_NAME)) {
577
- customElements.define(COMPONENT_NAME, SolvimonBillingInformationForm);
578
- }
579
- };
580
- export {
581
- COMPONENT_NAME,
582
- SolvimonBillingInformationForm,
583
- defineSolvimonBillingInformationForm
584
- };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("../../useCustomerPaymentMethodOptions-C-8BLzqb.js"),t=require("../../component-XHQYFLA_.js"),n=require("../../useLoadInitialData-BRg7IWqW.js"),r=require("../../usePaymentMethods-DCGVRXA4.js"),a=e.defineComponent({__name:"CustomerPaymentMethods.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(a){var l;const i=a,m=i.portalObject.customer_id,p=r.usePaymentMethods({customerId:m,pageSize:(null==(l=i.configuration)?void 0:l.maxItems)||3}),c=o.useCustomerPaymentMethodOptions({customerId:m}),{isLoading:u}=n.useLoadInitialData(p.fetchInitial(),c.fetch());return(o,n)=>{var r,l,i,m;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(s),environment:a.environment,locale:a.locale,"portal-object":a.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(l=null==(r=a.branding)?void 0:r.colors)?void 0:l.primary,"secondary-color":null==(m=null==(i=a.branding)?void 0:i.colors)?void 0:m.secondary,"experimental-features":a.experimentalFeatures,"log-level":a.logLevel,"on-log":a.onLog,onError:n[0]||(n[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{paymentMethods:e.unref(p).items.value,paymentMethodsOptions:e.unref(c).items.value,isLoading:e.unref(u)})]),_:3},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}}),l=e.defineComponent({__name:"CustomerPaymentMethods.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup:n=>(r,l)=>{var i,m,p,c;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(s),environment:n.environment,locale:n.locale,"portal-object":n.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(m=null==(i=n.branding)?void 0:i.colors)?void 0:m.primary,"secondary-color":null==(c=null==(p=n.branding)?void 0:p.colors)?void 0:c.secondary,"experimental-features":n.experimentalFeatures,"log-level":n.logLevel,"on-log":n.onLog,onError:l[0]||(l[0]=e=>r.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(a,e.normalizeProps(e.guardReactiveProps(r.$props)),{default:e.withCtx(({paymentMethods:t,paymentMethodsOptions:r,isLoading:a})=>[e.createVNode(o._sfc_main,{configuration:n.configuration,"payment-methods":t,"payment-methods-options":r,"is-loading":a},null,8,["configuration","payment-methods","payment-methods-options","is-loading"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}),i=t.defineCustomElement(l),s=t.getComponentName("customer-payment-methods");exports.COMPONENT_NAME=s,exports.SolvimonCustomerPaymentMethods=i,exports.defineSolvimonCustomerPaymentMethods=()=>{customElements.get(s)||customElements.define(s,i)};