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

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 (268) hide show
  1. package/README.md +152 -91
  2. package/dist/AddPaymentMethodModal-Cx203VXo.mjs +97 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BMHhLZnu.mjs +89 -0
  4. package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-DHJpiSdR.mjs} +1 -1
  5. package/dist/{Amount.vue.es-DPqHB8Xd.mjs → Amount.vue.es-CofcgmXt.mjs} +1 -1
  6. package/dist/AuthProvider.handle-BpFblzFx.mjs +46 -0
  7. package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-CJdXXOiG.mjs} +1 -1
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs +64 -0
  9. package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
  10. package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-F5OVG0kO.mjs +340 -0
  11. package/dist/BillingInformationModal-Do3Fuu8A.mjs +85 -0
  12. package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-CW7XfMBF.mjs} +1 -1
  13. package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-B4ShPKLS.mjs} +46 -45
  14. package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-CYwWHyAT.mjs} +2 -2
  15. package/dist/CompanyPurchaseToggle.vue_vue_type_script_setup_true_lang-CVXHCSPb.mjs +510 -0
  16. package/dist/{Comparators.vue.es-DQBI3f7m.mjs → Comparators.vue.es-DYrKlE8t.mjs} +1 -1
  17. package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
  18. package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-EXTx0NEt.mjs} +10 -10
  19. package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-CSKG6V3T.mjs} +3 -3
  20. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZZuAHIE.mjs +217 -0
  21. package/dist/CustomerShippingAddresses-Bdy4XWjE.mjs +282 -0
  22. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BEKwWob_.mjs +3124 -0
  23. package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-Dq0JzI8C.mjs} +1 -1
  24. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs} +3 -3
  25. package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-Cw7fqCg1.mjs} +2 -2
  26. package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-MrzQoSae.mjs} +1 -1
  27. package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-CpQbFw0x.mjs} +2 -2
  28. package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-CcOIFjbE.mjs} +3 -3
  29. package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-Cd55vQri.mjs} +4 -4
  30. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CqkGCbvg.mjs} +2 -2
  31. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-BUu5M_gx.mjs} +7 -7
  32. package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-DHh5wruk.mjs} +7 -7
  33. package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs} +4 -4
  34. package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-CB6G8Krh.mjs} +3 -3
  35. package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs +20 -0
  36. package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CJFTVFSZ.mjs} +138 -127
  37. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-D0pwpqIC.mjs +789 -0
  38. package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-D08Qpgb0.mjs} +2 -2
  39. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-dl52PYcq.mjs} +4 -4
  40. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D0priVnA.mjs} +3 -3
  41. package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-BSXlneqM.mjs} +1 -1
  42. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CXy0XGpn.mjs} +5 -5
  43. package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-Diua0GGJ.mjs} +1 -1
  44. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CLlm_Q2j.mjs +161 -0
  45. package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-D4FP0Vj5.mjs} +302 -282
  46. package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-vFzF_sCJ.mjs} +126 -117
  47. package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-vs6SaZOh.mjs} +200 -150
  48. package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-Buhe0aRQ.mjs} +1 -1
  49. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs +165 -0
  50. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DprL5TR8.mjs} +7 -7
  51. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs} +28 -26
  52. package/dist/PaymentMethodsModal-CnJP9UKp.mjs +192 -0
  53. package/dist/PlanCustomizationEditor-KHLSEUbb.mjs +864 -0
  54. package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-DlZAkE93.mjs} +3 -3
  55. package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-CKIomNrm.mjs} +2 -2
  56. package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-oHD-IT12.mjs} +8 -8
  57. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-wCW8YZHM.mjs} +16 -15
  58. package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-DsShmkKZ.mjs} +5 -5
  59. package/dist/Section.vue.es-DYmEtgBj.mjs +88 -0
  60. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CANXYTzu.mjs} +2 -2
  61. package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs +144 -0
  62. package/dist/ShippingAddressesModal-Gxv2KxaW.mjs +283 -0
  63. package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-sqA-VSsn.mjs} +4 -4
  64. package/dist/SubscriptionCancellationModal-DfAZ_uW6.mjs +4 -0
  65. package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-BlbiDNIu.mjs +240 -0
  66. package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-C1ko2xvR.mjs +64 -0
  67. package/dist/SubscriptionDetails.entry.ce-CdWV-8WN.mjs +764 -0
  68. package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-BfdVn1XA.mjs} +1 -1
  69. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs +5413 -0
  70. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.mjs +90 -0
  71. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs} +133 -108
  72. package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
  73. package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-Bt-7LHr3.mjs} +18 -18
  74. package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-Cp_sFa52.mjs} +1 -1
  75. package/dist/TrialChip.vue.es-VZwQX079.mjs +47 -0
  76. package/dist/addonQuantity-D3bGVqjL.mjs +128 -0
  77. package/dist/adyen-CHgq2l6n.mjs +99 -0
  78. package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
  79. package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
  80. package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
  81. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
  82. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
  83. package/dist/components/Invoice/Invoice.mjs +1087 -1019
  84. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
  85. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
  86. package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
  87. package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
  88. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
  89. package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
  90. package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
  91. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
  92. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
  93. package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
  94. package/dist/core/events.types.d.ts +1 -0
  95. package/dist/core/index.mjs +51 -34
  96. package/dist/{customElements-DK4GKNJG.mjs → customElements-B8c354Nu.mjs} +802 -768
  97. package/dist/{customer-lf6S5DBR.mjs → customer-CP-Wz7JO.mjs} +1 -1
  98. package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-C9HrzHpE.mjs} +71 -5
  99. package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-DAQmgEy5.mjs} +82 -19
  100. package/dist/{formControl-BZQLHnOO.mjs → formControl-C18sw44K.mjs} +275 -275
  101. package/dist/{formatting.es-RclXHhKo.mjs → formatting.es-DlJEzreG.mjs} +16 -13
  102. package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-CHR3VWvd.mjs} +71 -5
  103. package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-fz51-Ubw.mjs} +79 -16
  104. package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
  105. package/dist/icon-sprite.svg.es-2S3rv8NW.mjs +4 -0
  106. package/dist/index.es-Bv55VtdE.mjs +633 -0
  107. package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
  108. package/dist/index.mjs +37 -33
  109. package/dist/invoices-I7PghcPV.mjs +143 -0
  110. package/dist/{it-IT-DnJP5URH.mjs → it-IT-BpCkTMZL.mjs} +73 -10
  111. package/dist/{it-IT-DObZEc-U.mjs → it-IT-Dzc7DmmL.mjs} +71 -5
  112. package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-22C8OcIM.mjs} +79 -16
  113. package/dist/{nl-NL-C02xHilF.mjs → nl-NL-Dut_QwsY.mjs} +71 -5
  114. package/dist/paymentIntegrationFormLoaders-BFMAMpcA.mjs +31 -0
  115. package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-aGKIi7DS.mjs} +22 -21
  116. package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-Cv7hTFVu.mjs} +1 -1
  117. package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
  118. package/dist/payments-BKoKpoLN.mjs +71 -0
  119. package/dist/preloadPaymentIntegrationForms-Buwal_JR.mjs +9 -0
  120. package/dist/pricing-Y-7ELzN-.mjs +42 -0
  121. package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-BafitMMY.mjs} +1 -1
  122. package/dist/pricingPlanScheduleOverrides-CGm_-jJq.mjs +291 -0
  123. package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
  124. package/dist/screens/Checkout/Checkout.mjs +1098 -3
  125. package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
  126. package/dist/screens/CheckoutSession/CheckoutSession.mjs +1322 -0
  127. package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
  128. package/dist/screens/PayInvoice/PayInvoice.mjs +283 -275
  129. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
  130. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  131. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
  132. package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
  133. package/dist/subscriptions-B7dNqi1C.mjs +99 -0
  134. package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
  135. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
  136. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
  137. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
  138. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
  139. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
  140. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
  141. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
  142. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
  143. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
  144. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
  145. package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
  146. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
  147. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
  148. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
  149. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
  150. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
  151. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
  152. package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
  154. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
  155. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
  156. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
  157. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
  158. package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
  159. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
  160. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
  161. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
  162. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
  163. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
  164. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
  165. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
  166. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
  167. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
  168. package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
  170. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
  171. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -0
  172. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
  173. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
  174. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
  175. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
  176. package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +3 -1
  177. package/dist/types/index.d.ts +5 -1
  178. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
  179. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
  180. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
  181. package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
  182. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
  183. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
  184. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
  185. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
  186. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
  187. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
  188. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
  189. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
  190. package/dist/types/public/core/action-request.types.d.ts +18 -24
  191. package/dist/types/public/core/events.types.d.ts +99 -0
  192. package/dist/types/public/core/index.d.ts +3 -1
  193. package/dist/types/public/core/types.d.ts +11 -2
  194. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
  195. package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
  196. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
  197. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
  198. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
  199. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -2
  200. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
  201. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
  202. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
  203. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
  204. package/dist/types/services/paymentMethods.types.d.ts +12 -1
  205. package/dist/types/types/EntryBaseProps.d.ts +10 -6
  206. package/dist/types/types/branding.d.ts +15 -0
  207. package/dist/types/types/checkoutSession.d.ts +199 -0
  208. package/dist/types/types/errors.d.ts +2 -0
  209. package/dist/types/types/pricingPlanGroup.d.ts +25 -0
  210. package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BCtk-FGU.mjs} +1 -1
  211. package/dist/useAddressFormats-CtE4QaVU.mjs +1998 -0
  212. package/dist/useCheckoutForm-BhXcmnUi.mjs +3355 -0
  213. package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-mQysxUwp.mjs} +2 -2
  214. package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
  215. package/dist/useExperimentalFeature-Bw6bBtay.mjs +6 -0
  216. package/dist/useHostEvent-MtRG6W2B.mjs +12 -0
  217. package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-CJSj1945.mjs} +2 -2
  218. package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-BEZIvw32.mjs} +2 -2
  219. package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-CrXjsmei.mjs} +140 -138
  220. package/dist/{sorting.es-C0pdMgX0.mjs → useIsMounted.es-BNPhTTHE.mjs} +11 -10
  221. package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-Bomj_1mo.mjs} +1 -1
  222. package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
  223. package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-DR_neLeZ.mjs} +4 -4
  224. package/dist/usePaymentMethodOptions-CuHoQx3K.mjs +67 -0
  225. package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-BDdetXts.mjs} +2 -2
  226. package/dist/{usePayments-hWS7fnOx.mjs → usePayments-B5Z9Kfbv.mjs} +20 -18
  227. package/dist/usePortal-DuLR5Mid.mjs +14 -0
  228. package/dist/{useService-BwzIBIRp.mjs → useService-2aOFBTxU.mjs} +1 -1
  229. package/dist/useShippingAddresses-BvThNpez.mjs +122 -0
  230. package/dist/useSubscription-Dzo-kBpQ.mjs +35 -0
  231. package/dist/useSubscriptionActions-CWaNRoZ7.mjs +44 -0
  232. package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
  233. package/dist/{wallets.es-eH2C2ygn.mjs → wallets.es-DRlUVd2R.mjs} +1 -1
  234. package/package.json +41 -11
  235. package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
  236. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
  237. package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
  238. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
  239. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
  240. package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
  241. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +0 -2936
  242. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
  243. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
  244. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
  245. package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
  246. package/dist/Section.vue.es-Oqn1wGPZ.mjs +0 -72
  247. package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
  248. package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
  249. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +0 -5200
  250. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
  251. package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
  252. package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
  253. package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
  254. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
  255. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +0 -4
  256. package/dist/invoices-DdREPDXV.mjs +0 -123
  257. package/dist/paymentMethods-Goa25rTs.mjs +0 -61
  258. package/dist/payments-CKpU1K3t.mjs +0 -68
  259. package/dist/pricing-CEaZGgKe.mjs +0 -29
  260. package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
  261. package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
  262. package/dist/subscriptions-B5bH8hsI.mjs +0 -66
  263. package/dist/taxId.es-e6NEvprh.mjs +0 -243
  264. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
  265. package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
  266. package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
  267. package/dist/usePortal-DUfD6hrA.mjs +0 -7
  268. package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
@@ -1,5 +1,5 @@
1
- import { defineComponent as k, ref as g, inject as $, computed as E, provide as N, openBlock as n, createElementBlock as s, Fragment as O, createElementVNode as v, mergeProps as R, normalizeStyle as b, createCommentVNode as f, renderSlot as c, unref as d, createBlock as M, Teleport as h, normalizeClass as i, createVNode as B, withCtx as T, createTextVNode as P, toDisplayString as S } from "vue";
2
- import { l as V, m as D, d as x } from "./customElements-DK4GKNJG.mjs";
1
+ import { defineComponent as k, ref as m, inject as $, computed as E, provide as N, openBlock as l, createElementBlock as s, Fragment as O, createElementVNode as v, mergeProps as R, normalizeStyle as b, createCommentVNode as f, renderSlot as c, unref as d, createBlock as M, Teleport as h, normalizeClass as i, createVNode as B, withCtx as T, createTextVNode as P, toDisplayString as S } from "vue";
2
+ import { n as V, o as D, d as x } from "./customElements-B8c354Nu.mjs";
3
3
  import { u as z, _ as F } from "./useLazyFloating.es-CycqRyeb.mjs";
4
4
  const L = {
5
5
  key: 0,
@@ -16,11 +16,11 @@ const L = {
16
16
  isDarkMode: { type: Boolean }
17
17
  },
18
18
  setup(e) {
19
- const r = e, u = g(), m = g(null), o = g(!1), y = $(V, null), { floatingStyles: p, placement: C } = z(u, m, {
19
+ const r = e, u = m(), g = m(null), o = m(!1), y = $(V, null), { floatingStyles: p, placement: C } = z(u, g, {
20
20
  placement: r.placement,
21
21
  // shift keeps a tooltip wider than the room on either side of its trigger inside the viewport, e.g. in a
22
22
  // narrow MCP card frame, where flip alone leaves it hanging off one edge.
23
- middleware: ({ offset: a, flip: t, shift: l }) => [a(r.offset), t(), l({ padding: 8 })]
23
+ middleware: ({ offset: a, flip: t, shift: n }) => [a(r.offset), t(), n({ padding: 8 })]
24
24
  }), w = E(() => {
25
25
  const a = C.value.split("-")[0], t = `-${r.offset}px`;
26
26
  return {
@@ -30,31 +30,31 @@ const L = {
30
30
  left: a === "left" ? t : "0"
31
31
  };
32
32
  });
33
- return N(D, r.isDarkMode), (a, t) => (n(), s(O, null, [
33
+ return N(D, r.isDarkMode), (a, t) => (l(), s(O, null, [
34
34
  v("span", R(a.$attrs, {
35
35
  ref_key: "triggerRef",
36
36
  ref: u,
37
37
  class: "relative leading-none",
38
- onMouseenter: t[0] || (t[0] = (l) => o.value = !0),
39
- onMouseleave: t[1] || (t[1] = (l) => o.value = !1),
40
- onFocusin: t[2] || (t[2] = (l) => o.value = !0),
41
- onFocusout: t[3] || (t[3] = (l) => o.value = !1)
38
+ onMouseenter: t[0] || (t[0] = (n) => o.value = !0),
39
+ onMouseleave: t[1] || (t[1] = (n) => o.value = !1),
40
+ onFocusin: t[2] || (t[2] = (n) => o.value = !0),
41
+ onFocusout: t[3] || (t[3] = (n) => o.value = !1)
42
42
  }), [
43
- o.value ? (n(), s("span", {
43
+ o.value ? (l(), s("span", {
44
44
  key: 0,
45
45
  class: "absolute",
46
46
  style: b(w.value)
47
47
  }, null, 4)) : f("", !0),
48
48
  c(a.$slots, "default")
49
49
  ], 16),
50
- d(y) ? (n(), M(h, {
50
+ d(y) ? (l(), M(h, {
51
51
  key: 0,
52
52
  to: d(y)
53
53
  }, [
54
- o.value ? (n(), s("div", {
54
+ o.value ? (l(), s("div", {
55
55
  key: 0,
56
56
  ref_key: "tooltipRef",
57
- ref: m,
57
+ ref: g,
58
58
  style: b(d(p)),
59
59
  class: i(["z-70 border shadow-md", [
60
60
  e.rootClass,
@@ -64,8 +64,8 @@ const L = {
64
64
  "rounded border-gray-700 bg-gray-700": e.isDarkMode
65
65
  }
66
66
  ]]),
67
- onMouseenter: t[4] || (t[4] = (l) => o.value = !0),
68
- onMouseleave: t[5] || (t[5] = (l) => o.value = !1)
67
+ onMouseenter: t[4] || (t[4] = (n) => o.value = !0),
68
+ onMouseleave: t[5] || (t[5] = (n) => o.value = !1)
69
69
  }, [
70
70
  v("div", {
71
71
  class: i(["rounded", {
@@ -76,7 +76,7 @@ const L = {
76
76
  "pt-0": !!e.title
77
77
  }])
78
78
  }, [
79
- e.title ? (n(), s("div", L, [
79
+ e.title ? (l(), s("div", L, [
80
80
  B(x, {
81
81
  variant: "caps-heading",
82
82
  color: "secondary",
@@ -104,7 +104,7 @@ const L = {
104
104
  }
105
105
  }), A = {}, I = { class: "px-3" };
106
106
  function K(e, r) {
107
- return n(), s("div", I, [
107
+ return l(), s("div", I, [
108
108
  c(e.$slots, "default")
109
109
  ]);
110
110
  }
@@ -112,7 +112,7 @@ const q = /* @__PURE__ */ F(A, [["render", K]]), G = /* @__PURE__ */ k({
112
112
  __name: "TooltipParagraph",
113
113
  setup(e) {
114
114
  const r = $(D, !1);
115
- return (u, m) => (n(), M(d(x), {
115
+ return (u, g) => (l(), M(d(x), {
116
116
  tag: "p",
117
117
  variant: "body-xs",
118
118
  color: "secondary",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, inject as m, computed as p, openBlock as _, createBlock as u, unref as s, withCtx as d, renderSlot as i } from "vue";
2
- import { T as f, _ as v } from "./customElements-DK4GKNJG.mjs";
2
+ import { T as f, _ as v } from "./customElements-B8c354Nu.mjs";
3
3
  const h = /* @__PURE__ */ r({
4
4
  __name: "TranslationOverride",
5
5
  props: {
@@ -0,0 +1,47 @@
1
+ import { b as i, c as n, d as u } from "./typeGuards.es-B4XMtlkM.mjs";
2
+ import { f as _ } from "./formatting.es-DlJEzreG.mjs";
3
+ import { defineComponent as m, computed as s, openBlock as f, createBlock as b, unref as p, withCtx as a, createTextVNode as l, toDisplayString as d } from "vue";
4
+ import { u as c } from "./pricingPlanScheduleOverrides-CGm_-jJq.mjs";
5
+ import { _ as g } from "./Chip.vue.es-CYwWHyAT.mjs";
6
+ const k = (o) => (t) => {
7
+ if (!t)
8
+ return 0;
9
+ if (t.tier_top_bound && i(t.tier_top_bound))
10
+ return o.formatNumber(+t.tier_top_bound.number);
11
+ if (n(t.tier_top_bound))
12
+ return o.formatNumber(+t.tier_top_bound.count);
13
+ if (u(t.tier_top_bound))
14
+ return _(t.tier_top_bound.amount);
15
+ }, y = (o) => (t, e, r) => {
16
+ if (r === e.length - 1)
17
+ return o.infinite;
18
+ if (t.tier_top_bound && "number" in t.tier_top_bound && i(t.tier_top_bound))
19
+ return o.formatNumber(+t.tier_top_bound.number);
20
+ if (t.tier_top_bound && "count" in t.tier_top_bound && n(t.tier_top_bound))
21
+ return o.formatNumber(+t.tier_top_bound.count);
22
+ if (t.tier_top_bound && "amount" in t.tier_top_bound && u(t.tier_top_bound))
23
+ return _(t.tier_top_bound.amount);
24
+ }, A = /* @__PURE__ */ m({
25
+ __name: "TrialChip",
26
+ props: {
27
+ trialPeriod: {},
28
+ size: { default: "sm" }
29
+ },
30
+ setup(o) {
31
+ const t = o, { formatTimePeriod: e } = c(), r = s(() => typeof t.trialPeriod == "string" ? t.trialPeriod : `${e(t.trialPeriod, { short: !0, singular: !0 })} trial`);
32
+ return (N, P) => (f(), b(p(g), {
33
+ intent: "info",
34
+ size: o.size
35
+ }, {
36
+ default: a(() => [
37
+ l(d(r.value), 1)
38
+ ]),
39
+ _: 1
40
+ }, 8, ["size"]));
41
+ }
42
+ });
43
+ export {
44
+ A as _,
45
+ y as a,
46
+ k as g
47
+ };
@@ -0,0 +1,128 @@
1
+ import { g as P } from "./pricingItem.es-BafitMMY.mjs";
2
+ import { a as A, b as h } from "./pricing-Y-7ELzN-.mjs";
3
+ import { e as y } from "./subscription-DQ5mRp_e.mjs";
4
+ const _ = (e) => (e ?? []).flatMap(
5
+ (n) => n.configs ?? []
6
+ ), b = (e) => [
7
+ ...e.configs ?? [],
8
+ ..._(e.billing_period_configs),
9
+ ...(e.pricing_currency_configs ?? []).flatMap((n) => [
10
+ ...n.configs ?? [],
11
+ ..._(n.billing_period_configs)
12
+ ])
13
+ ];
14
+ function D({
15
+ pricings: e,
16
+ pricingItemConfigId: n
17
+ }) {
18
+ var t, r;
19
+ const s = e.flatMap((o) => o.items ?? []).find((o) => {
20
+ var d;
21
+ return (d = o.configs) == null ? void 0 : d.some((u) => u.id === n);
22
+ }), i = (t = s == null ? void 0 : s.configs) == null ? void 0 : t.find((o) => o.id === n), a = (r = s == null ? void 0 : s.product_items) == null ? void 0 : r[0];
23
+ return {
24
+ config: i,
25
+ productItem: a
26
+ };
27
+ }
28
+ const f = "1", M = {
29
+ seats: { schedule: "seats_values", planDefault: "default_seats_value" },
30
+ units: { schedule: "units", planDefault: "default_units" }
31
+ };
32
+ function I(e, n) {
33
+ var r;
34
+ const s = M[e], i = (r = n == null ? void 0 : n.pricing_plan_schedule) == null ? void 0 : r[s.schedule];
35
+ if (!n || !(i != null && i.length))
36
+ return;
37
+ const a = n.pricing_plan_version ? A(n).flatMap((o) => o.items ?? []).flatMap(b) : [], t = new Map(
38
+ a.flatMap((o) => {
39
+ var u;
40
+ const d = (u = o[s.planDefault]) == null ? void 0 : u.number;
41
+ return d ? [[o.id, d]] : [];
42
+ })
43
+ );
44
+ return i.map(({ pricing_item_config_id: o, number: d }) => ({
45
+ pricing_item_config_id: o,
46
+ number: d || t.get(o) || f
47
+ }));
48
+ }
49
+ function E(e, n) {
50
+ var i, a, t;
51
+ const s = (a = (i = e.product_items) == null ? void 0 : i[0]) == null ? void 0 : a.model_type;
52
+ if (s === "PER_SEAT") return "seats";
53
+ if (s === "ONE_OFF" && ((t = n == null ? void 0 : n.details) == null ? void 0 : t.pricing_type) === "FLAT") return "units";
54
+ }
55
+ function l(e, n) {
56
+ return (e.items ?? []).flatMap((s) => (n ? [P({ pricingItem: s, ...n })] : b(s)).flatMap((a) => {
57
+ var r;
58
+ const t = E(s, a);
59
+ return a && t ? [
60
+ {
61
+ kind: t,
62
+ id: a.id,
63
+ defaultNumber: Number((r = a[M[t].planDefault]) == null ? void 0 : r.number)
64
+ }
65
+ ] : [];
66
+ }));
67
+ }
68
+ const g = (e) => e.some(({ kind: n }) => n === "seats") ? "seats" : "units";
69
+ function C(e, n = []) {
70
+ const s = e.pricing_plan_schedule_infos.filter(
71
+ (t) => t.pricing_plan_version
72
+ ), i = new Set(n.map((t) => t.pricing_item_config_id));
73
+ return [
74
+ ...h(s).filter(
75
+ (t) => t.product_type === "ADDON"
76
+ ),
77
+ ...y({
78
+ ...e,
79
+ pricing_plan_schedule_infos: s
80
+ }).filter(
81
+ (t) => t.product_type === "ADDON" && t.selection_constraint === "ANY"
82
+ ).flatMap((t) => t.pricings ?? [])
83
+ ].filter((t) => {
84
+ const r = l(t);
85
+ return r.length > 0 && !r.some(({ id: o }) => i.has(o));
86
+ });
87
+ }
88
+ function N(e) {
89
+ return new Set(e.flatMap((n) => l(n).map(({ id: s }) => s)));
90
+ }
91
+ function v(e, n = {}) {
92
+ const s = l(e, n), i = g(s), a = s.filter((t) => t.kind === i && t.defaultNumber > 0).map(({ defaultNumber: t }) => t);
93
+ return Math.max(Number(f), ...a);
94
+ }
95
+ function w(e, n) {
96
+ if (!n.enabledPricingIds.includes(e.id)) return 0;
97
+ const s = l(e), i = g(s), a = new Set(s.filter((r) => r.kind === i).map(({ id: r }) => r)), t = n[`${i}Values`].find(
98
+ ({ pricing_item_config_id: r }) => a.has(r)
99
+ );
100
+ return Number(t == null ? void 0 : t.number) || void 0;
101
+ }
102
+ function O(e, n, s, i = {}) {
103
+ const a = N([e]), t = n > 0 ? l(e, i) : [], r = g(t), o = (u, p) => [
104
+ ...u.filter(({ pricing_item_config_id: c }) => !a.has(c)),
105
+ ...t.filter((c) => c.kind === p).map(({ id: c, defaultNumber: m }) => ({
106
+ pricing_item_config_id: c,
107
+ number: String(
108
+ p === r ? n : m > 0 ? m : f
109
+ )
110
+ }))
111
+ ], d = s.enabledPricingIds.filter((u) => u !== e.id);
112
+ return {
113
+ enabledPricingIds: n <= 0 ? d : s.enabledPricingIds.includes(e.id) ? s.enabledPricingIds : [...d, e.id],
114
+ seatsValues: o(s.seatsValues, "seats"),
115
+ unitsValues: o(s.unitsValues, "units")
116
+ };
117
+ }
118
+ export {
119
+ f as F,
120
+ N as a,
121
+ C as b,
122
+ I as c,
123
+ D as d,
124
+ v as e,
125
+ w as f,
126
+ E as g,
127
+ O as s
128
+ };
@@ -0,0 +1,99 @@
1
+ import { t as u } from "./amount-CondixVt.mjs";
2
+ import { f as s } from "./usePaymentMethodOptions-CuHoQx3K.mjs";
3
+ import { P as c } from "./paymentRedirect-DaS8Kccc.mjs";
4
+ function f(e) {
5
+ var t, n;
6
+ return (n = (t = e.integration.payment_gateway) == null ? void 0 : t.adyen) == null ? void 0 : n.public_key;
7
+ }
8
+ function o(e) {
9
+ var t;
10
+ return ((t = e.options) == null ? void 0 : t.filter(
11
+ (n) => n.payment_gateway_variant === "ADYEN"
12
+ ).flatMap(
13
+ (n) => m(n.adyen)
14
+ )) ?? [];
15
+ }
16
+ function _(e, { excludeExpressPaymentMethods: t = !1 } = {}) {
17
+ const n = o(e);
18
+ return t ? s(n) : n;
19
+ }
20
+ function m(e) {
21
+ return {
22
+ type: e.type,
23
+ name: e.name,
24
+ ...e.issuers ? { issuers: e.issuers } : {},
25
+ ...e.brands ? { brands: e.brands } : {},
26
+ ...e.funding_source ? { fundingSource: e.funding_source } : {},
27
+ ...e.configuration ? { configuration: e.configuration } : {}
28
+ };
29
+ }
30
+ function y({
31
+ paymentAcceptorId: e,
32
+ redirectUrl: t = window.location.href
33
+ }) {
34
+ const n = new URL(t);
35
+ return n.searchParams.set(c, e), n.toString();
36
+ }
37
+ function d(e, t) {
38
+ var r, a;
39
+ const n = (a = (r = e == null ? void 0 : e.integration.payment_gateway) == null ? void 0 : r.adyen) == null ? void 0 : a.environment;
40
+ if (!n)
41
+ return t.warn(
42
+ "ADYEN_INVALID_CONFIGURATION",
43
+ "No environment set for adyen advanced flow, defaulted to live"
44
+ ), "live";
45
+ switch (n) {
46
+ case "TEST":
47
+ return "test";
48
+ case "LIVE_IN":
49
+ return "live-in";
50
+ case "LIVE_AU":
51
+ return "live-au";
52
+ case "LIVE_US":
53
+ return "live-us";
54
+ case "LIVE_APSE":
55
+ return "live-apse";
56
+ case "LIVE":
57
+ return "live";
58
+ default:
59
+ return t.warn(
60
+ "ADYEN_INVALID_CONFIGURATION",
61
+ `Unsupported environment "${n}" for adyen advanced flow, defaulted to "live"`
62
+ ), "live";
63
+ }
64
+ }
65
+ function g({
66
+ amount: e,
67
+ countryCode: t,
68
+ locale: n,
69
+ paymentMethodOptionResponse: r,
70
+ logger: a,
71
+ onSubmit: i
72
+ }) {
73
+ return {
74
+ ...e ? { amount: u(e) } : {},
75
+ ...i ? { onSubmit: i } : {},
76
+ analytics: { enabled: !1 },
77
+ clientKey: f(r),
78
+ countryCode: t,
79
+ environment: d(
80
+ r,
81
+ a
82
+ ),
83
+ locale: n,
84
+ paymentMethodsResponse: {
85
+ paymentMethods: o(r)
86
+ }
87
+ };
88
+ }
89
+ function E(e) {
90
+ return e ? Object.fromEntries(Object.entries(e).map(([t, n]) => [t, String(n)])) : void 0;
91
+ }
92
+ export {
93
+ d as a,
94
+ f as b,
95
+ y as c,
96
+ g as d,
97
+ _ as g,
98
+ E as t
99
+ };
@@ -0,0 +1,63 @@
1
+ function C() {
2
+ return import("./index-CTwLxoOS.mjs").then(
3
+ ({
4
+ AdyenCheckout: n,
5
+ Dropin: o,
6
+ Card: e,
7
+ Bancontact: r,
8
+ Ach: d,
9
+ AmazonPay: a,
10
+ ApplePay: t,
11
+ BcmcMobile: i,
12
+ BacsDirectDebit: l,
13
+ CashAppPay: m,
14
+ EPS: u,
15
+ GooglePay: s,
16
+ Klarna: f,
17
+ PayByBank: h,
18
+ PayPal: p,
19
+ SepaDirectDebit: c,
20
+ Trustly: y,
21
+ Twint: k,
22
+ PayByBankUS: x,
23
+ Redirect: A
24
+ }) => ({
25
+ AdyenCheckout: n,
26
+ Dropin: o,
27
+ // Named on its own as well for the Apple Pay express button, which mounts it outside the
28
+ // drop-in.
29
+ ApplePay: t,
30
+ /** The payment methods the drop-in is built with, in the order it offers them. */
31
+ dropInPaymentMethodComponents: [
32
+ e,
33
+ r,
34
+ d,
35
+ a,
36
+ t,
37
+ i,
38
+ l,
39
+ m,
40
+ u,
41
+ s,
42
+ f,
43
+ h,
44
+ p,
45
+ c,
46
+ y,
47
+ k,
48
+ x,
49
+ A
50
+ ]
51
+ })
52
+ );
53
+ }
54
+ function I() {
55
+ return Promise.all([
56
+ C(),
57
+ import("./adyen-Bugab0JE.mjs").then((n) => n.default)
58
+ ]);
59
+ }
60
+ export {
61
+ C as a,
62
+ I as l
63
+ };
@@ -36,8 +36,8 @@ const u = async (t) => {
36
36
  };
37
37
  };
38
38
  export {
39
- g as a,
39
+ s as a,
40
40
  l as b,
41
41
  u as g,
42
- s as w
42
+ g as w
43
43
  };
@@ -1,71 +1,67 @@
1
- import { defineComponent as l, renderSlot as c, unref as r, openBlock as m, createBlock as y, withCtx as p, createVNode as s, normalizeProps as g, guardReactiveProps as u } from "vue";
2
- import { _ as d } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs";
3
- import { u as f } from "../../useCustomer-CTMhg1nd.mjs";
4
- import { u as S } from "../../useLoadInitialData-UvfYXgbi.mjs";
5
- import { g as b, h as O, j } from "../../customElements-DK4GKNJG.mjs";
6
- const _ = /* @__PURE__ */ l({
1
+ import { defineComponent as l, renderSlot as m, unref as o, openBlock as a, createBlock as s, withCtx as c, createVNode as u, normalizeProps as g, guardReactiveProps as y } from "vue";
2
+ import { _ as f } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs";
3
+ import { u as d } from "../../useCustomer-mQysxUwp.mjs";
4
+ import { u as _ } from "../../useLoadInitialData-Bomj_1mo.mjs";
5
+ import { j as b, k as O, l as S } from "../../customElements-B8c354Nu.mjs";
6
+ import { _ as v } from "../../LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs";
7
+ const j = /* @__PURE__ */ l({
7
8
  __name: "BillingInformation.entry.view",
8
9
  props: {
9
- portalToken: { type: Object },
10
10
  environment: { type: String },
11
11
  locale: { type: String },
12
12
  dateLocale: { type: String },
13
13
  messages: { type: Object },
14
- primaryColor: { type: String },
15
- secondaryColor: { type: String },
16
- isShadowRoot: { type: Boolean },
14
+ portalToken: { type: Object },
17
15
  experimentalFeatures: { type: Array },
18
16
  logLevel: { type: String },
19
17
  onLog: { type: Function },
20
- allowedPortalTypes: { type: Array },
21
- portalObject: { type: Object },
22
18
  cssOverrides: { type: [String, Array] },
23
19
  branding: { type: Object },
20
+ portalObject: { type: null },
24
21
  configuration: { type: Object }
25
22
  },
26
- setup(n) {
27
- const e = n.portalObject.customer_id, t = f({ customerId: e }), { isLoading: o } = S(t.get.execute());
28
- return (i, C) => c(i.$slots, "default", {
29
- customer: r(t),
30
- isLoading: r(o)
23
+ setup(r) {
24
+ const e = r.portalObject.customer_id, i = d({ customerId: e }), { isLoading: t } = _(i.get.execute());
25
+ return (n, k) => m(n.$slots, "default", {
26
+ customer: o(i),
27
+ isLoading: o(t)
31
28
  });
32
29
  }
33
- }), v = /* @__PURE__ */ l({
30
+ }), L = /* @__PURE__ */ l({
34
31
  __name: "BillingInformation.entry",
35
32
  props: {
36
- portalToken: { type: Object },
37
33
  environment: { type: String },
38
34
  locale: { type: String },
39
35
  dateLocale: { type: String },
40
36
  messages: { type: Object },
41
- primaryColor: { type: String },
42
- secondaryColor: { type: String },
43
- isShadowRoot: { type: Boolean },
37
+ portalToken: { type: Object },
44
38
  experimentalFeatures: { type: Array },
45
39
  logLevel: { type: String },
46
40
  onLog: { type: Function },
47
- allowedPortalTypes: { type: Array },
48
- portalObject: { type: Object },
49
41
  cssOverrides: { type: [String, Array] },
50
42
  branding: { type: Object },
43
+ portalObject: { type: null },
51
44
  configuration: { type: Object }
52
45
  },
53
- setup(n) {
54
- const a = O("billing-information");
55
- return (e, t) => (m(), y(r(b), {
46
+ setup(r) {
47
+ const p = O("billing-information");
48
+ return (e, i) => (a(), s(o(b), {
56
49
  entry: e.$props,
57
- "component-name": r(a),
58
- "allowed-portal-types": ["CUSTOMER"],
59
- onError: t[0] || (t[0] = (o) => e.$emit("error", o))
50
+ "component-name": o(p),
51
+ "allowed-portal-types": ["CUSTOMER"]
60
52
  }, {
61
- default: p(() => [
62
- s(_, g(u(e.$props)), {
63
- default: p(({ customer: o, isLoading: i }) => [
64
- s(d, {
65
- configuration: n.configuration,
66
- "is-loading": i,
67
- customer: o.customer.value
68
- }, null, 8, ["configuration", "is-loading", "customer"])
53
+ default: c(() => [
54
+ u(j, g(y(e.$props)), {
55
+ default: c(({ customer: t, isLoading: n }) => [
56
+ !n && !t.customer.value ? (a(), s(v, {
57
+ key: 0,
58
+ class: "sv-billing-information"
59
+ })) : (a(), s(f, {
60
+ key: 1,
61
+ configuration: r.configuration,
62
+ "is-loading": n,
63
+ customer: t.customer.value
64
+ }, null, 8, ["configuration", "is-loading", "customer"]))
69
65
  ]),
70
66
  _: 1
71
67
  }, 16)
@@ -73,10 +69,10 @@ const _ = /* @__PURE__ */ l({
73
69
  _: 1
74
70
  }, 8, ["entry", "component-name"]));
75
71
  }
76
- }), { define: I } = j(
77
- v,
72
+ }), { define: F } = S(
73
+ L,
78
74
  "billing-information"
79
75
  );
80
76
  export {
81
- I as defineSolvimonBillingInformation
77
+ F as defineSolvimonBillingInformation
82
78
  };