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

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