@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
@@ -0,0 +1,510 @@
1
+ import { i as G, d as M, u as H } from "./useService-2aOFBTxU.mjs";
2
+ import { c as F, f as $, a as k } from "./formControl-C18sw44K.mjs";
3
+ import { inject as K, defineComponent as L, computed as m, openBlock as I, createBlock as E, unref as s, withCtx as h, createElementVNode as R, createVNode as v, createTextVNode as T, toDisplayString as _, watch as j, useModel as U, reactive as Z, createElementBlock as D, createCommentVNode as V, createSlots as X, normalizeClass as z, mergeModels as B } from "vue";
4
+ import { I as Y, a as S, d as N } from "./customElements-B8c354Nu.mjs";
5
+ import { _ as W } from "./Button.vue.es-CW7XfMBF.mjs";
6
+ import { _ as A } from "./Input.vue.es-Cd55vQri.mjs";
7
+ import { f as q, e as J } from "./useAddressFormats-CtE4QaVU.mjs";
8
+ import { _ as Q } from "./Alert.vue.es-DHJpiSdR.mjs";
9
+ import { c as ee } from "./customer-CP-Wz7JO.mjs";
10
+ import { _ as ae } from "./Toggle.vue.es-S2g8WGY_.mjs";
11
+ const C = (e) => G(e) && typeof e != "boolean" ? null : e, y = (e) => typeof e == "object" && e !== null, te = ({
12
+ from: e,
13
+ to: t,
14
+ nullifyEmptyValues: a = !1
15
+ }) => {
16
+ const r = Object.fromEntries(
17
+ Object.entries(t).filter(([o, c]) => !M(c, e[o]))
18
+ );
19
+ return a ? Object.entries(r).reduce(
20
+ (o, [c, l]) => ({ ...o, [c]: C(l) }),
21
+ {}
22
+ ) : r;
23
+ }, re = ({
24
+ from: e,
25
+ to: t,
26
+ nullifyEmptyValues: a = !1
27
+ }) => {
28
+ const r = {}, o = (l, x, d) => {
29
+ const n = x[d];
30
+ return l === void 0 ? Array.isArray(n) ? r[d] = [] : y(n) && (r[d] = {}) : Array.isArray(n) ? l[d] = [] : y(n) && (l[d] = {}), [l === void 0 ? r : l, d];
31
+ }, c = (l, x, d) => {
32
+ for (const n of Object.keys(l)) {
33
+ const i = o(d, l, n);
34
+ n in x || (i[0][i[1]] = {
35
+ from: l[n]
36
+ });
37
+ }
38
+ for (const [n, i] of Object.entries(x)) {
39
+ const f = n in l, u = o(d, l, n);
40
+ if (f) {
41
+ const p = l[n];
42
+ M(p, i) ? delete u[0][u[1]] : y(i) && y(p) ? c(p, i, u[0][u[1]]) : u[0][u[1]] = a && typeof i != "boolean" ? C(i) : i;
43
+ } else
44
+ u[0][u[1]] = a ? C(i) : i;
45
+ }
46
+ };
47
+ return c(e, t), r;
48
+ }, Ee = ({
49
+ from: e,
50
+ to: t,
51
+ mode: a = "shallow",
52
+ nullifyEmptyValues: r = !1
53
+ }) => a === "deep" ? re({ from: e, to: t, nullifyEmptyValues: r }) : te({ from: e, to: t, nullifyEmptyValues: r }), oe = {
54
+ AT: "Austria",
55
+ BE: "Belgium",
56
+ BG: "Bulgaria",
57
+ CY: "Cyprus",
58
+ CZ: "Czech Republic",
59
+ DE: "Germany",
60
+ DK: "Denmark",
61
+ EE: "Estonia",
62
+ ES: "Spain",
63
+ FI: "Finland",
64
+ FR: "France",
65
+ GR: "Greece",
66
+ HR: "Croatia",
67
+ HU: "Hungary",
68
+ IE: "Ireland",
69
+ IT: "Italy",
70
+ LT: "Lithuania",
71
+ LU: "Luxembourg",
72
+ LV: "Latvia",
73
+ MT: "Malta",
74
+ NL: "Netherlands",
75
+ PL: "Poland",
76
+ PT: "Portugal",
77
+ RO: "Romania",
78
+ SE: "Sweden",
79
+ SI: "Slovenia",
80
+ SK: "Slovakia"
81
+ };
82
+ function w(e) {
83
+ return Object.keys(oe).includes(e);
84
+ }
85
+ const O = {
86
+ AT: {
87
+ regex: /^ATU\d{8}$/,
88
+ prefix: "AT",
89
+ example: "ATU12345678"
90
+ },
91
+ BE: {
92
+ regex: /^BE0?\d{9}$/,
93
+ prefix: "BE",
94
+ example: "BE0123456789"
95
+ },
96
+ BG: {
97
+ regex: /^BG\d{9,10}$/,
98
+ prefix: "BG",
99
+ example: "BG123456789"
100
+ },
101
+ HR: {
102
+ regex: /^HR\d{11}$/,
103
+ prefix: "HR",
104
+ example: "HR12345678901"
105
+ },
106
+ CY: {
107
+ regex: /^CY\d{8}[A-Z]$/,
108
+ prefix: "CY",
109
+ example: "CY12345678X"
110
+ },
111
+ CZ: {
112
+ regex: /^CZ\d{8,10}$/,
113
+ prefix: "CZ",
114
+ example: "CZ12345678"
115
+ },
116
+ DE: {
117
+ regex: /^DE\d{9}$/,
118
+ prefix: "DE",
119
+ example: "DE123456789"
120
+ },
121
+ DK: {
122
+ regex: /^DK\d{8}$/,
123
+ prefix: "DK",
124
+ example: "DK12345678"
125
+ },
126
+ EE: {
127
+ regex: /^EE\d{9}$/,
128
+ prefix: "EE",
129
+ example: "EE123456789"
130
+ },
131
+ GR: {
132
+ regex: /^(EL|GR)\d{9}$/,
133
+ prefix: "GR",
134
+ example: "GR123456789"
135
+ },
136
+ ES: {
137
+ regex: /^ES[A-Z0-9]\d{7}[A-Z0-9]$/,
138
+ prefix: "ES",
139
+ example: "ESX1234567X"
140
+ },
141
+ FI: {
142
+ regex: /^FI\d{8}$/,
143
+ prefix: "FI",
144
+ example: "FI12345678"
145
+ },
146
+ FR: {
147
+ regex: /^FR[0-9A-Z]{2}\d{9}$/,
148
+ prefix: "FR",
149
+ example: "FRXX123456789"
150
+ },
151
+ HU: {
152
+ regex: /^HU\d{8}$/,
153
+ prefix: "HU",
154
+ example: "HU12345678"
155
+ },
156
+ IE: {
157
+ regex: /^IE[0-9A-Z]{8,9}$/,
158
+ prefix: "IE",
159
+ example: "IE1234567A"
160
+ },
161
+ IS: {
162
+ regex: /^IS\d{5}$/,
163
+ prefix: "IS",
164
+ example: "IS12345"
165
+ },
166
+ IT: {
167
+ regex: /^IT\d{11}$/,
168
+ prefix: "IT",
169
+ example: "IT12345678901"
170
+ },
171
+ LT: {
172
+ regex: /^LT(\d{9}|\d{12})$/,
173
+ prefix: "LT",
174
+ example: "LT123456789 or LT123456789012"
175
+ },
176
+ LU: {
177
+ regex: /^LU\d{8}$/,
178
+ prefix: "LU",
179
+ example: "LU12345678"
180
+ },
181
+ LV: {
182
+ regex: /^LV\d{11}$/,
183
+ prefix: "LV",
184
+ example: "LV12345678901"
185
+ },
186
+ ME: {
187
+ regex: /^ME\d{9}$/,
188
+ prefix: "ME",
189
+ example: "ME123456789"
190
+ },
191
+ MT: {
192
+ regex: /^MT\d{8}$/,
193
+ prefix: "MT",
194
+ example: "MT12345678"
195
+ },
196
+ NL: {
197
+ regex: /^NL\d{9}B\d{2}$/,
198
+ prefix: "NL",
199
+ example: "NL123456789B01"
200
+ },
201
+ PL: {
202
+ regex: /^PL\d{10}$/,
203
+ prefix: "PL",
204
+ example: "PL1234567890"
205
+ },
206
+ PT: {
207
+ regex: /^PT\d{9}$/,
208
+ prefix: "PT",
209
+ example: "PT123456789"
210
+ },
211
+ RO: {
212
+ regex: /^RO\d{2,10}$/,
213
+ prefix: "RO",
214
+ example: "RO1234567890"
215
+ },
216
+ RU: {
217
+ regex: /^RU(\d{9}|\d{10}|\d{12})$/,
218
+ prefix: "RU",
219
+ example: "RU123456789 or RU1234567890 or RU123456789012"
220
+ },
221
+ SE: {
222
+ regex: /^SE\d{10}01$/,
223
+ prefix: "SE",
224
+ example: "SE123456789001"
225
+ },
226
+ SI: {
227
+ regex: /^SI\d{8}$/,
228
+ prefix: "SI",
229
+ example: "SI12345678"
230
+ },
231
+ SK: {
232
+ regex: /^SK\d{10}$/,
233
+ prefix: "SK",
234
+ example: "SK1234567890"
235
+ },
236
+ CH: {
237
+ regex: /^CHE\d{9}(MWST|TVA|IVA)?$/,
238
+ prefix: "CHE",
239
+ example: "CHE123456789MWST"
240
+ },
241
+ NO: {
242
+ regex: /^NO\d{9}MVA$/,
243
+ prefix: "NO",
244
+ example: "NO123456789MVA"
245
+ },
246
+ GB: {
247
+ regex: /^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$/,
248
+ prefix: "GB",
249
+ example: "GB123456789"
250
+ },
251
+ XI: {
252
+ regex: /^XI(\d{9}|\d{12})$/,
253
+ prefix: "XI",
254
+ example: "XI123456789"
255
+ }
256
+ }, ne = (e) => !e || typeof e != "string" || e.trim() === "" ? !0 : Object.values(O).some((t) => t.regex.test(e)), se = ({ $model: e }) => {
257
+ if (!e || typeof e != "string" || e.trim() === "")
258
+ return "";
259
+ const t = K(Y, null);
260
+ if (!t)
261
+ return "Invalid tax ID";
262
+ const { formatMessage: a } = t, r = Object.values(O).find(
263
+ (o) => e.toUpperCase().startsWith(o.prefix.toUpperCase())
264
+ );
265
+ return r ? a(
266
+ {
267
+ defaultMessage: "Invalid tax ID format. Example: {example}",
268
+ id: "form_validation.tax_id.invalid_format",
269
+ description: "Error message when tax ID format is invalid but prefix matches"
270
+ },
271
+ { example: r.example }
272
+ ) : a({
273
+ defaultMessage: "Invalid tax ID",
274
+ id: "taxId.invalid",
275
+ description: "Error message when tax ID is invalid"
276
+ });
277
+ }, Te = F.withMessage(se, ne), le = { class: "flex items-center gap-2" }, ie = /* @__PURE__ */ L({
278
+ __name: "TaxIDCheckNotice",
279
+ props: {
280
+ status: { type: String }
281
+ },
282
+ setup(e) {
283
+ const t = e, { formatMessage: a } = S(), r = m(() => {
284
+ switch (t.status) {
285
+ case "VALID":
286
+ return "success";
287
+ case "NOT_VALID":
288
+ return "danger";
289
+ default:
290
+ return "neutral";
291
+ }
292
+ }), o = m(() => {
293
+ switch (t.status) {
294
+ case "VALID":
295
+ return a({
296
+ defaultMessage: "VAT number is valid.",
297
+ id: "tax_check.valid_vat_number",
298
+ description: "The message shown when the VAT number is valid"
299
+ });
300
+ case "NOT_VALID":
301
+ return a({
302
+ defaultMessage: "VAT number is invalid.",
303
+ id: "tax_check.invalid_vat_number",
304
+ description: "The message shown when the VAT number is invalid"
305
+ });
306
+ default:
307
+ return a({
308
+ defaultMessage: "The VAT number could not be checked right now.",
309
+ id: "tax_check.unknown_vat_number",
310
+ description: "The message shown when the VAT number check could not give an answer, for instance because the EU VAT service is unavailable"
311
+ });
312
+ }
313
+ });
314
+ return (c, l) => (I(), E(s(Q), {
315
+ type: r.value,
316
+ icon: !1
317
+ }, {
318
+ default: h(() => [
319
+ R("div", le, [
320
+ v(s(N), { variant: "body-xs" }, {
321
+ default: h(() => [
322
+ T(_(o.value), 1)
323
+ ]),
324
+ _: 1
325
+ })
326
+ ])
327
+ ]),
328
+ _: 1
329
+ }, 8, ["type"]));
330
+ }
331
+ });
332
+ function ce(e) {
333
+ const { checkTaxID: t } = ee(), {
334
+ data: a,
335
+ error: r,
336
+ execute: o,
337
+ settle: c,
338
+ isPending: l
339
+ } = H({ service: t, isCollection: !0 }), x = m(() => {
340
+ var g;
341
+ return (g = a.value) == null ? void 0 : g[0];
342
+ }), d = m(
343
+ () => {
344
+ var g;
345
+ return r.value ? "UNKNOWN" : (g = x.value) == null ? void 0 : g.valid;
346
+ }
347
+ ), n = m(() => {
348
+ var g;
349
+ return ((g = e.value.companyVatNumber) == null ? void 0 : g.trim()) ?? "";
350
+ }), i = m(() => e.value.companyLegalName ?? ""), f = m(() => e.value.country);
351
+ j([n, i, f], () => c([]));
352
+ const u = m(() => w(f.value ?? "")), p = m(
353
+ () => !!(n.value && i.value && f.value)
354
+ ), b = m(() => u.value && n.value);
355
+ async function P() {
356
+ if (!(!p.value || !u.value || !f.value))
357
+ try {
358
+ await o({
359
+ type: "ORGANIZATION",
360
+ organization: {
361
+ legal_name: i.value,
362
+ tax_ids: [{ id: n.value, type: "GENERIC_TAX_ID" }],
363
+ registered_address: {
364
+ country: f.value
365
+ }
366
+ }
367
+ });
368
+ } catch {
369
+ }
370
+ }
371
+ return {
372
+ runTaxIDCheck: P,
373
+ taxIdValidationData: x,
374
+ taxIdCheckStatus: d,
375
+ isTaxIDCheckPending: l,
376
+ isTaxIDCheckEnabled: p,
377
+ showViesCheckNotice: b,
378
+ isSelectedCountryEU: u
379
+ };
380
+ }
381
+ const de = { class: "flex flex-col gap-2" }, _e = /* @__PURE__ */ L({
382
+ __name: "CompanyDetailsFields",
383
+ props: /* @__PURE__ */ B({
384
+ errors: { type: Object },
385
+ isVatNumberInvalid: { type: Boolean },
386
+ hidesLegalName: { type: Boolean },
387
+ hidesVatNumber: { type: Boolean }
388
+ }, {
389
+ modelValue: { required: !0 },
390
+ modelModifiers: {}
391
+ }),
392
+ emits: ["update:modelValue"],
393
+ setup(e) {
394
+ const t = e, a = U(e, "modelValue"), { $t: r } = S(), o = q(), c = Z({
395
+ companyLegalName: $(a, "companyLegalName", k),
396
+ companyVatNumber: $(a, "companyVatNumber", k)
397
+ }), l = m(() => J(a.value)), { isTaxIDCheckEnabled: x, isTaxIDCheckPending: d, taxIdCheckStatus: n, runTaxIDCheck: i } = ce(a), f = m(
398
+ () => !x.value || d.value || !!t.isVatNumberInvalid
399
+ );
400
+ return (u, p) => (I(), D("div", de, [
401
+ e.hidesLegalName ? V("", !0) : (I(), E(s(A), {
402
+ key: 0,
403
+ modelValue: c.companyLegalName,
404
+ "onUpdate:modelValue": p[0] || (p[0] = (b) => c.companyLegalName = b),
405
+ required: "",
406
+ name: "legal_name",
407
+ autocomplete: "billing organization",
408
+ label: s(o).legalNameLabel,
409
+ placeholder: s(o).legalNamePlaceholder,
410
+ error: e.errors.companyLegalName
411
+ }, null, 8, ["modelValue", "label", "placeholder", "error"])),
412
+ l.value && !e.hidesVatNumber ? (I(), E(s(A), {
413
+ key: 1,
414
+ modelValue: c.companyVatNumber,
415
+ "onUpdate:modelValue": p[1] || (p[1] = (b) => c.companyVatNumber = b),
416
+ name: "vat_number",
417
+ autocomplete: "off",
418
+ "input-class": "focus:outline-none focus:ring-0",
419
+ label: s(o).vatNumberLabel,
420
+ placeholder: s(o).vatNumberPlaceholder,
421
+ error: e.errors.companyVatNumber,
422
+ "suffix-class": "px-2 border-l-0"
423
+ }, X({ _: 2 }, [
424
+ s(w)(a.value.country ?? "") ? {
425
+ name: "suffix",
426
+ fn: h(() => [
427
+ v(s(W), {
428
+ type: "button",
429
+ size: "sm",
430
+ intent: "secondary",
431
+ disabled: f.value,
432
+ onClick: s(i)
433
+ }, {
434
+ default: h(() => [
435
+ T(_(s(r)({
436
+ defaultMessage: "Check",
437
+ id: "checkout.vat_number.check_button.label",
438
+ description: "The label for the check button in the checkout form"
439
+ })), 1)
440
+ ]),
441
+ _: 1
442
+ }, 8, ["disabled", "onClick"])
443
+ ]),
444
+ key: "0"
445
+ } : void 0
446
+ ]), 1032, ["modelValue", "label", "placeholder", "error"])) : V("", !0),
447
+ s(n) ? (I(), D("div", {
448
+ key: 2,
449
+ class: z({ "opacity-75": s(d) })
450
+ }, [
451
+ v(ie, { status: s(n) }, null, 8, ["status"])
452
+ ], 2)) : V("", !0)
453
+ ]));
454
+ }
455
+ }), ue = { class: "flex grow flex-col" }, Ve = /* @__PURE__ */ L({
456
+ __name: "CompanyPurchaseToggle",
457
+ props: /* @__PURE__ */ B({
458
+ noSpacing: { type: Boolean }
459
+ }, {
460
+ modelValue: { type: Boolean, required: !0 },
461
+ modelModifiers: {}
462
+ }),
463
+ emits: ["update:modelValue"],
464
+ setup(e) {
465
+ const t = U(e, "modelValue"), { $t: a } = S();
466
+ return (r, o) => (I(), E(s(ae), {
467
+ modelValue: t.value,
468
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => t.value = c),
469
+ "no-spacing": e.noSpacing,
470
+ size: "sm",
471
+ "label-position": "before"
472
+ }, {
473
+ "inline-label": h(() => [
474
+ R("div", ue, [
475
+ v(s(N), { tag: "span" }, {
476
+ default: h(() => [
477
+ T(_(s(a)({
478
+ defaultMessage: "Company purchase",
479
+ id: "checkout.company_purchase_toggle.title",
480
+ description: "The title of the company purchase toggle in the checkout"
481
+ })), 1)
482
+ ]),
483
+ _: 1
484
+ }),
485
+ v(s(N), {
486
+ tag: "span",
487
+ variant: "body-xs",
488
+ color: "subtle"
489
+ }, {
490
+ default: h(() => [
491
+ T(_(s(a)({
492
+ defaultMessage: "I am purchasing on behalf of a company",
493
+ id: "checkout.company_purchase_toggle.sub_title",
494
+ description: "The subtitle of the company purchase toggle in the checkout"
495
+ })), 1)
496
+ ]),
497
+ _: 1
498
+ })
499
+ ])
500
+ ]),
501
+ _: 1
502
+ }, 8, ["modelValue", "no-spacing"]));
503
+ }
504
+ });
505
+ export {
506
+ Ve as _,
507
+ _e as a,
508
+ Ee as o,
509
+ Te as t
510
+ };
@@ -1,6 +1,6 @@
1
1
  import { ref as F, defineComponent as N, computed as f, openBlock as o, createElementBlock as l, toDisplayString as s, Fragment as v, renderList as k, normalizeClass as h, createVNode as L, createTextVNode as C, createCommentVNode as m, createBlock as b, unref as T } from "vue";
2
2
  import { a as w } from "./comparators.es-C8rHpb70.mjs";
3
- import { a as B } from "./formatting.es-RclXHhKo.mjs";
3
+ import { a as B } from "./formatting.es-DlJEzreG.mjs";
4
4
  const M = (a) => {
5
5
  const r = (a == null ? void 0 : a.initialToggledItems) ?? [], g = (a == null ? void 0 : a.closeOthers) ?? !1, e = F(r ?? []), n = (t, y = !1) => {
6
6
  const p = e.value.find((d) => d === t);
@@ -9,7 +9,7 @@ const i = (s, l) => {
9
9
  class: "sv-layout__header"
10
10
  }, g = { class: "sv-layout__body flex flex-col items-start gap-6 md:flex-row" }, m = { class: "sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto" }, h = {
11
11
  key: 0,
12
- class: "sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"
12
+ class: "sv-layout__aside grid w-full grid-cols-1 gap-6 md:w-80 md:shrink-0"
13
13
  };
14
14
  function v(s, l) {
15
15
  return e(), o("div", u, [
@@ -1,12 +1,12 @@
1
- import { defineComponent as y, openBlock as s, createBlock as b, resolveDynamicComponent as M, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as L, normalizeClass as S, createCommentVNode as v, createSlots as G, normalizeProps as q, mergeProps as F, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as g, renderList as j, TransitionGroup as R, Comment as K, inject as W, onMounted as J, Teleport as T, ref as B, computed as P, createElementVNode as E, Transition as Q, normalizeStyle as U, useSlots as X } from "vue";
1
+ import { defineComponent as y, openBlock as s, createBlock as b, resolveDynamicComponent as M, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as L, normalizeClass as S, createCommentVNode as v, createSlots as q, normalizeProps as G, mergeProps as F, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as g, renderList as j, TransitionGroup as R, Comment as K, inject as W, onMounted as J, Teleport as T, ref as B, computed as P, createElementVNode as E, Transition as Q, normalizeStyle as U, useSlots as X } from "vue";
2
2
  import { _ as z, u as Y } from "./useLazyFloating.es-CycqRyeb.mjs";
3
- import { d as A, p as Z, D as N } from "./customElements-DK4GKNJG.mjs";
4
- import { a as _, _ as V } from "./Button.vue.es-j7iYlqtJ.mjs";
5
- import { _ as ee } from "./DividerText.vue.es-BusbyeAI.mjs";
3
+ import { d as A, q as Z, D as N } from "./customElements-B8c354Nu.mjs";
4
+ import { a as _, _ as V } from "./Button.vue.es-CW7XfMBF.mjs";
5
+ import { _ as ee } from "./DividerText.vue.es-Dq0JzI8C.mjs";
6
6
  import { _ as O } from "./Divider.vue.es-DnP_HqLz.mjs";
7
- import { e as te, o as ne } from "./index.es-BrVTOW5D.mjs";
7
+ import { e as te, o as ne } from "./index.es-C7J3WGGo.mjs";
8
8
  import { p as le } from "./object.es-8aLDIncs.mjs";
9
- import { _ as oe } from "./Chip.vue.es-Dxx_0dte.mjs";
9
+ import { _ as oe } from "./Chip.vue.es-CYwWHyAT.mjs";
10
10
  const ae = /* @__PURE__ */ y({
11
11
  __name: "FullClickableBlock",
12
12
  props: {
@@ -106,9 +106,9 @@ const de = /* @__PURE__ */ z(se, [["render", re]]), ce = { key: 0 }, ue = { key:
106
106
  disabled: e.disabled,
107
107
  variant: e.variant,
108
108
  onClick: e.onClick
109
- }, G({
109
+ }, q({
110
110
  default: r(() => [
111
- e.labelPrefixComponent ? (s(), b(M(e.labelPrefixComponent.component), q(F({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : v("", !0),
111
+ e.labelPrefixComponent ? (s(), b(M(e.labelPrefixComponent.component), G(F({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : v("", !0),
112
112
  h(i(A), {
113
113
  tag: "span",
114
114
  variant: "body-sm",
@@ -567,6 +567,6 @@ const I = y({
567
567
  });
568
568
  export {
569
569
  pe as F,
570
- Ce as _,
571
- Le as a
570
+ Le as _,
571
+ Ce as a
572
572
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as x, computed as v, openBlock as c, createBlock as C, withCtx as i, createElementBlock as d, createVNode as o, createTextVNode as a, toDisplayString as r, unref as u, createCommentVNode as b, renderSlot as B } from "vue";
2
- import { a as N, d as l } from "./customElements-DK4GKNJG.mjs";
3
- import { _ as S } from "./Section.vue.es-Oqn1wGPZ.mjs";
4
- import { g as k } from "./getCountryNameByCode.es-BDHua7VM.mjs";
2
+ import { a as N, d as l } from "./customElements-B8c354Nu.mjs";
3
+ import { _ as S } from "./Section.vue.es-DYmEtgBj.mjs";
4
+ import { g as k } from "./getCountryNameByCode.es-OGxn_zT0.mjs";
5
5
  import { a as A } from "./customer.es-DQKl6wFt.mjs";
6
6
  import { a as M } from "./typeGuards.es-B4XMtlkM.mjs";
7
7
  const V = ["US", "CA"];