@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,49 +1,49 @@
1
- import { inject as L, defineComponent as I, provide as x, computed as s, openBlock as i, createElementBlock as m, renderSlot as C, ref as O, onMounted as oe, onBeforeUnmount as H, normalizeClass as A, unref as e, Fragment as Z, createElementVNode as P, toDisplayString as p, createCommentVNode as T, createBlock as y, resolveDynamicComponent as ne, normalizeStyle as le, withCtx as a, createVNode as f, createTextVNode as g, useSlots as ie, shallowRef as ae, watchPostEffect as se, nextTick as re, renderList as ce, createSlots as ue, withModifiers as de } from "vue";
2
- import { _ as ve } from "./Section.vue.es-Oqn1wGPZ.mjs";
3
- import { a as Q, d as U } from "./customElements-DK4GKNJG.mjs";
4
- import { _ as fe } from "./Amount.vue.es-DPqHB8Xd.mjs";
5
- import { a as R, _ as F } from "./Button.vue.es-j7iYlqtJ.mjs";
6
- import { _ as V } from "./Chip.vue.es-Dxx_0dte.mjs";
7
- import { _ as me } from "./ErrorNotification.vue.es-F068p7PY.mjs";
8
- import { _ as _e, T as be, a as he } from "./TooltipParagraph.vue.es-BES3zsYN.mjs";
1
+ import { inject as L, defineComponent as I, provide as x, computed as s, openBlock as i, createElementBlock as m, renderSlot as C, ref as O, onMounted as oe, onBeforeUnmount as H, normalizeClass as A, unref as e, Fragment as Z, createElementVNode as P, toDisplayString as p, createCommentVNode as T, createBlock as y, resolveDynamicComponent as le, normalizeStyle as ne, withCtx as a, createVNode as f, createTextVNode as g, useSlots as ie, shallowRef as ae, watchPostEffect as se, nextTick as re, renderList as ce, createSlots as de, withModifiers as ue } from "vue";
2
+ import { _ as ve } from "./Section.vue.es-DYmEtgBj.mjs";
3
+ import { a as Q, d as U } from "./customElements-B8c354Nu.mjs";
4
+ import { _ as fe } from "./Amount.vue.es-CofcgmXt.mjs";
5
+ import { a as R, _ as F } from "./Button.vue.es-CW7XfMBF.mjs";
6
+ import { _ as D } from "./Chip.vue.es-CYwWHyAT.mjs";
7
+ import { _ as me } from "./ErrorNotification.vue.es-Cw7fqCg1.mjs";
8
+ import { _ as _e, T as be, a as he } from "./TooltipParagraph.vue.es-Bt-7LHr3.mjs";
9
9
  import { _ as pe } from "./useLazyFloating.es-CycqRyeb.mjs";
10
10
  import { g as j, i as ge, a as ye, b as we } from "./invoiceState-BJVHaKs7.mjs";
11
- import { u as ke } from "./useActionDispatchProvider-ChAHdwR8.mjs";
11
+ import { u as ke } from "./useActionDispatchProvider-BCtk-FGU.mjs";
12
12
  import { r as Ce } from "./configuration-BytDBAWs.mjs";
13
- import { u as $e } from "./useIncrementalLoading-CBVutPH8.mjs";
14
- import { c as Le } from "./invoices-DdREPDXV.mjs";
13
+ import { u as $e } from "./useIncrementalLoading-CJSj1945.mjs";
14
+ import { c as Le } from "./invoices-I7PghcPV.mjs";
15
15
  const Ie = Symbol.for("solvimon-ui:navigation"), xe = {
16
16
  resolve: (t) => typeof t == "string" ? t : void 0
17
17
  };
18
18
  let q = !1;
19
- const Te = (t, n) => {
20
- n !== void 0 || q || (q = !0);
19
+ const Te = (t, l) => {
20
+ l !== void 0 || q || (q = !0);
21
21
  }, Se = () => {
22
22
  const t = L(Ie, xe);
23
23
  return {
24
24
  ...t,
25
- resolve: (n) => {
26
- const r = t.resolve(n);
27
- return Te(n, r), r;
25
+ resolve: (l) => {
26
+ const r = t.resolve(l);
27
+ return Te(l, r), r;
28
28
  }
29
29
  };
30
- }, Be = (t) => !t.defaultPrevented && t.button === 0 && !t.metaKey && !t.ctrlKey && !t.shiftKey && !t.altKey, Me = (t, n, r, l) => {
31
- !t.navigate || l || !Be(n) || (n.preventDefault(), t.navigate(r));
32
- }, D = Symbol("tableInset"), X = Symbol("tableSorting"), Y = Symbol("tableWarnings"), J = Symbol("tableRowDetail"), ee = Symbol("tableHeadEmphasize"), te = Symbol("tableRowLink"), Ae = { class: "solvimon-table w-full text-left text-sm" }, Ne = /* @__PURE__ */ I({
30
+ }, Be = (t) => !t.defaultPrevented && t.button === 0 && !t.metaKey && !t.ctrlKey && !t.shiftKey && !t.altKey, Me = (t, l, r, n) => {
31
+ !t.navigate || n || !Be(l) || (l.preventDefault(), t.navigate(r));
32
+ }, V = Symbol("tableInset"), X = Symbol("tableSorting"), Y = Symbol("tableWarnings"), J = Symbol("tableRowDetail"), ee = Symbol("tableHeadEmphasize"), te = Symbol("tableRowLink"), Ae = { class: "solvimon-table w-full text-left text-sm" }, Ne = /* @__PURE__ */ I({
33
33
  __name: "Table",
34
34
  props: {
35
35
  inset: { type: Boolean, default: !1 },
36
36
  sorting: {}
37
37
  },
38
38
  setup(t) {
39
- const n = t;
39
+ const l = t;
40
40
  return x(
41
- D,
42
- s(() => n.inset)
41
+ V,
42
+ s(() => l.inset)
43
43
  ), x(
44
44
  X,
45
- s(() => n.sorting)
46
- ), x(Y, { hasWarnedAboutUnnamedRow: !1 }), (r, l) => (i(), m("table", Ae, [
45
+ s(() => l.sorting)
46
+ ), x(Y, { hasWarnedAboutUnnamedRow: !1 }), (r, n) => (i(), m("table", Ae, [
47
47
  C(r.$slots, "default")
48
48
  ]));
49
49
  }
@@ -61,33 +61,33 @@ const Te = (t, n) => {
61
61
  rowLink: { type: Boolean, default: void 0 }
62
62
  },
63
63
  setup(t) {
64
- const n = t, r = L(D, void 0), l = L(J, void 0), o = L(te, void 0), _ = s(() => o == null ? void 0 : o.mode.value), d = O(), v = n.rowLink !== !1 && ((o == null ? void 0 : o.claim()) ?? !1);
65
- o && n.rowLink !== !1 && (oe(() => {
66
- d.value && o.registerControlCell(d.value);
64
+ const l = t, r = L(V, void 0), n = L(J, void 0), o = L(te, void 0), _ = s(() => o == null ? void 0 : o.mode.value), u = O(), v = l.rowLink !== !1 && ((o == null ? void 0 : o.claim()) ?? !1);
65
+ o && l.rowLink !== !1 && (oe(() => {
66
+ u.value && o.registerControlCell(u.value);
67
67
  }), H(() => {
68
- d.value && o.unregisterControlCell(d.value);
69
- })), o && n.rowLink === !0 && (o.registerLinkCell(), H(o.unregisterLinkCell));
68
+ u.value && o.unregisterControlCell(u.value);
69
+ })), o && l.rowLink === !0 && (o.registerLinkCell(), H(o.unregisterLinkCell));
70
70
  const b = s(() => {
71
71
  const $ = o == null ? void 0 : o.controlCell.value;
72
- return $ ? $ === d.value : v;
73
- }), c = s(() => _.value === "link" && n.rowLink !== !1), w = s(() => c.value && n.rowLink === !0), S = s(
72
+ return $ ? $ === u.value : v;
73
+ }), c = s(() => _.value === "link" && l.rowLink !== !1), w = s(() => c.value && l.rowLink === !0), S = s(
74
74
  () => c.value && b.value && !!(o != null && o.label.value) && !o.hasLinkCell.value
75
75
  ), B = s(() => _.value === "open" && b.value), N = s(() => _.value === "slot" && b.value), M = s(() => [
76
- n.align === "end" ? "text-right" : "text-left",
77
- n.verticalAlign === "top" ? "align-top" : "align-middle",
76
+ l.align === "end" ? "text-right" : "text-left",
77
+ l.verticalAlign === "top" ? "align-top" : "align-middle",
78
78
  {
79
79
  "first:pl-0": !(r != null && r.value),
80
- "h-12": !(l != null && l.value),
81
- "max-w-0 truncate": n.truncate,
82
- "font-semibold": n.primary,
80
+ "h-12": !(n != null && n.value),
81
+ "max-w-0 truncate": l.truncate,
82
+ "font-semibold": l.primary,
83
83
  "solvimon-table__cell--linked relative": c.value
84
84
  }
85
85
  ]);
86
86
  return ($, k) => {
87
- var u;
87
+ var d;
88
88
  return i(), m("td", {
89
89
  ref_key: "cell",
90
- ref: d,
90
+ ref: u,
91
91
  class: A([M.value, "solvimon-table__cell whitespace-nowrap px-4 py-2 text-sm leading-5 text-default"]),
92
92
  colspan: t.colspan
93
93
  }, [
@@ -115,8 +115,8 @@ const Te = (t, n) => {
115
115
  class: "solvimon-table__row-link sr-only",
116
116
  onClick: k[2] || (k[2] = //@ts-ignore
117
117
  (...h) => e(o).open && e(o).open(...h))
118
- }, p(e(o).label.value), 1)) : N.value && ((u = e(o)) != null && u.slot) ? (i(), m("span", Oe, [
119
- (i(), y(ne(e(o).slot)))
118
+ }, p(e(o).label.value), 1)) : N.value && ((d = e(o)) != null && d.slot) ? (i(), m("span", Oe, [
119
+ (i(), y(le(e(o).slot)))
120
120
  ])) : T("", !0),
121
121
  w.value && e(o) ? (i(), m("a", {
122
122
  key: 3,
@@ -137,22 +137,23 @@ const Te = (t, n) => {
137
137
  emphasize: { type: Boolean, default: !1 }
138
138
  },
139
139
  setup(t) {
140
- const n = t;
140
+ const l = t;
141
141
  return x(
142
142
  ee,
143
- s(() => n.emphasize)
144
- ), (r, l) => (i(), m("thead", null, [
143
+ s(() => l.emphasize)
144
+ ), (r, n) => (i(), m("thead", null, [
145
145
  C(r.$slots, "default")
146
146
  ]));
147
147
  }
148
- }), Ve = ["colspan", "aria-sort"], De = {
148
+ }), De = ["colspan", "aria-sort"], Ve = {
149
149
  key: 0,
150
150
  class: "sr-only"
151
- }, E = /* @__PURE__ */ I({
151
+ }, We = ["disabled"], E = /* @__PURE__ */ I({
152
152
  __name: "TableHeadCell",
153
153
  props: {
154
154
  columnName: {},
155
155
  sortable: { type: Boolean },
156
+ sortDisabled: { type: Boolean },
156
157
  align: { default: "start" },
157
158
  minWidth: {},
158
159
  tooltip: {},
@@ -160,27 +161,27 @@ const Te = (t, n) => {
160
161
  hiddenLabel: { type: Boolean }
161
162
  },
162
163
  emits: ["sort"],
163
- setup(t, { emit: n }) {
164
- const r = n, l = t, o = L(X, void 0), _ = L(D, void 0), d = s(() => {
165
- if (!(!l.sortable || !(o != null && o.value)) && o.value.columnName === l.columnName)
164
+ setup(t, { emit: l }) {
165
+ const r = l, n = t, o = L(X, void 0), _ = L(V, void 0), u = s(() => {
166
+ if (!(!n.sortable || !(o != null && o.value)) && o.value.columnName === n.columnName)
166
167
  return o.value.direction;
167
168
  }), v = s(() => {
168
- if (l.sortable)
169
- return d.value === "asc" ? "ascending" : d.value === "desc" ? "descending" : "none";
169
+ if (n.sortable)
170
+ return u.value === "asc" ? "ascending" : u.value === "desc" ? "descending" : "none";
170
171
  }), b = s(() => [
171
- l.align === "end" ? "text-right" : "text-left",
172
- { "first:pl-0": !(_ != null && _.value), "w-px": l.hiddenLabel }
172
+ n.align === "end" ? "text-right" : "text-left",
173
+ { "first:pl-0": !(_ != null && _.value), "w-px": n.hiddenLabel }
173
174
  ]), c = () => {
174
- l.columnName && r("sort", l.columnName);
175
+ n.columnName && r("sort", n.columnName);
175
176
  };
176
177
  return (w, S) => (i(), m("th", {
177
- style: le(t.minWidth ? { minWidth: `${t.minWidth}px` } : void 0),
178
+ style: ne(t.minWidth ? { minWidth: `${t.minWidth}px` } : void 0),
178
179
  class: A([b.value, "relative h-10 select-none whitespace-nowrap px-4 py-2 align-middle text-xs font-medium text-secondary"]),
179
180
  colspan: t.colspan,
180
181
  "aria-sort": v.value,
181
182
  scope: "col"
182
183
  }, [
183
- t.hiddenLabel ? (i(), m("span", De, [
184
+ t.hiddenLabel ? (i(), m("span", Ve, [
184
185
  C(w.$slots, "default")
185
186
  ])) : (i(), m("span", {
186
187
  key: 1,
@@ -192,17 +193,18 @@ const Te = (t, n) => {
192
193
  t.sortable ? (i(), m("button", {
193
194
  key: 0,
194
195
  type: "button",
195
- class: A(["inline-flex items-center gap-1 rounded-sm hover:text-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600", { "text-primary-700": d.value }]),
196
+ class: A(["inline-flex items-center gap-1 rounded-sm hover:text-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:cursor-not-allowed disabled:opacity-50", { "text-primary-700": u.value }]),
197
+ disabled: t.sortDisabled,
196
198
  onClick: c
197
199
  }, [
198
200
  C(w.$slots, "default"),
199
- d.value === "asc" ? (i(), y(R, {
201
+ u.value === "asc" ? (i(), y(R, {
200
202
  key: 0,
201
203
  icon: "north",
202
204
  size: "2xs",
203
205
  class: "shrink-0",
204
206
  "aria-hidden": "true"
205
- })) : d.value === "desc" ? (i(), y(R, {
207
+ })) : u.value === "desc" ? (i(), y(R, {
206
208
  key: 1,
207
209
  icon: "south",
208
210
  size: "2xs",
@@ -215,7 +217,7 @@ const Te = (t, n) => {
215
217
  class: "shrink-0 text-subtle",
216
218
  "aria-hidden": "true"
217
219
  }))
218
- ], 2)) : C(w.$slots, "default", {}, void 0, void 0, 1),
220
+ ], 10, We)) : C(w.$slots, "default", {}, void 0, void 0, 1),
219
221
  t.tooltip ? (i(), y(_e, {
220
222
  key: 2,
221
223
  variant: "outline"
@@ -243,20 +245,20 @@ const Te = (t, n) => {
243
245
  _: 1
244
246
  })) : T("", !0)
245
247
  ], 2))
246
- ], 14, Ve));
248
+ ], 14, De));
247
249
  }
248
- }), We = ["data-emphasized"], Ke = /* @__PURE__ */ I({
250
+ }), Ke = ["data-emphasized"], He = /* @__PURE__ */ I({
249
251
  __name: "TableHeadRow",
250
252
  setup(t) {
251
- const n = L(ee, void 0), r = s(() => (n == null ? void 0 : n.value) ?? !1);
252
- return (l, o) => (i(), m("tr", {
253
+ const l = L(ee, void 0), r = s(() => (l == null ? void 0 : l.value) ?? !1);
254
+ return (n, o) => (i(), m("tr", {
253
255
  class: "border-b border-gray-200 bg-white",
254
256
  "data-emphasized": r.value || void 0
255
257
  }, [
256
- C(l.$slots, "default")
257
- ], 8, We));
258
+ C(n.$slots, "default")
259
+ ], 8, Ke));
258
260
  }
259
- }), He = [
261
+ }), Fe = [
260
262
  "a",
261
263
  "button",
262
264
  "input",
@@ -266,7 +268,7 @@ const Te = (t, n) => {
266
268
  '[role="button"]',
267
269
  '[tabindex]:not([tabindex="-1"])',
268
270
  '[contenteditable]:not([contenteditable="false"])'
269
- ].join(", "), Fe = ["aria-selected", "data-detail"], je = /* @__PURE__ */ I({
271
+ ].join(", "), je = ["aria-selected", "data-detail"], qe = /* @__PURE__ */ I({
270
272
  __name: "TableRow",
271
273
  props: {
272
274
  selected: { type: Boolean },
@@ -277,48 +279,48 @@ const Te = (t, n) => {
277
279
  onOpen: { type: Function }
278
280
  },
279
281
  setup(t) {
280
- const n = t, r = ie(), l = L(Y, () => ({ hasWarnedAboutUnnamedRow: !1 }), !0), o = O(), _ = O(!1), d = Se(), v = s(() => {
281
- if (!n.detail) {
282
- if (n.to)
282
+ const l = t, r = ie(), n = L(Y, () => ({ hasWarnedAboutUnnamedRow: !1 }), !0), o = O(), _ = O(!1), u = Se(), v = s(() => {
283
+ if (!l.detail) {
284
+ if (l.to)
283
285
  return "link";
284
- if (n.onOpen)
286
+ if (l.onOpen)
285
287
  return "open";
286
288
  if (r.link)
287
289
  return "slot";
288
290
  }
289
- }), b = s(() => n.to ? d.resolve(n.to) : void 0), c = (u) => {
290
- n.to && Me(d, u, n.to, n.target);
291
+ }), b = s(() => l.to ? u.resolve(l.to) : void 0), c = (d) => {
292
+ l.to && Me(u, d, l.to, l.target);
291
293
  }, w = /* @__PURE__ */ new Set(), S = ae();
292
294
  let B = !1;
293
295
  const N = () => {
294
296
  B || (B = !0, re(() => {
295
- var u;
296
- B = !1, S.value = [...((u = o.value) == null ? void 0 : u.children) ?? []].find(
297
+ var d;
298
+ B = !1, S.value = [...((d = o.value) == null ? void 0 : d.children) ?? []].find(
297
299
  (h) => h instanceof HTMLElement && w.has(h)
298
300
  );
299
301
  }));
300
302
  }, M = O(0);
301
303
  x(
302
304
  J,
303
- s(() => !!n.detail)
305
+ s(() => !!l.detail)
304
306
  ), x(te, {
305
307
  mode: v,
306
308
  href: b,
307
- target: s(() => n.target),
308
- label: s(() => n.linkLabel),
309
+ target: s(() => l.target),
310
+ label: s(() => l.linkLabel),
309
311
  navigate: c,
310
312
  open: () => {
311
- var u;
312
- return (u = n.onOpen) == null ? void 0 : u.call(n);
313
+ var d;
314
+ return (d = l.onOpen) == null ? void 0 : d.call(l);
313
315
  },
314
316
  slot: r.link,
315
317
  claim: () => _.value ? !1 : (_.value = !0, !0),
316
318
  controlCell: S,
317
- registerControlCell: (u) => {
318
- w.add(u), N();
319
+ registerControlCell: (d) => {
320
+ w.add(d), N();
319
321
  },
320
- unregisterControlCell: (u) => {
321
- w.delete(u), N();
322
+ unregisterControlCell: (d) => {
323
+ w.delete(d), N();
322
324
  },
323
325
  hasLinkCell: s(() => M.value > 0),
324
326
  registerLinkCell: () => {
@@ -328,19 +330,19 @@ const Te = (t, n) => {
328
330
  M.value -= 1;
329
331
  }
330
332
  }), se(() => {
331
- var u;
332
- l.hasWarnedAboutUnnamedRow || n.linkLabel || !(v.value === "open" || v.value === "link" && !((u = o.value) != null && u.querySelector("a.solvimon-table__row-link"))) || (l.hasWarnedAboutUnnamedRow = !0);
333
+ var d;
334
+ n.hasWarnedAboutUnnamedRow || l.linkLabel || !(v.value === "open" || v.value === "link" && !((d = o.value) != null && d.querySelector("a.solvimon-table__row-link"))) || (n.hasWarnedAboutUnnamedRow = !0);
333
335
  });
334
- const $ = s(() => v.value === "open" || v.value === "slot"), k = (u) => {
336
+ const $ = s(() => v.value === "open" || v.value === "slot"), k = (d) => {
335
337
  var h, W;
336
- if (!$.value || u.defaultPrevented)
338
+ if (!$.value || d.defaultPrevented)
337
339
  return;
338
- const K = u.target;
339
- K instanceof Element && K.closest(He) || (W = (h = o.value) == null ? void 0 : h.querySelector(
340
+ const K = d.target;
341
+ K instanceof Element && K.closest(Fe) || (W = (h = o.value) == null ? void 0 : h.querySelector(
340
342
  ":is(button.solvimon-table__row-link, .solvimon-table__row-link :is(a, button))"
341
343
  )) == null || W.click();
342
344
  };
343
- return (u, h) => (i(), m("tr", {
345
+ return (d, h) => (i(), m("tr", {
344
346
  ref_key: "row",
345
347
  ref: o,
346
348
  class: A(["group relative border-b border-gray-100 transition-colors", {
@@ -353,16 +355,16 @@ const Te = (t, n) => {
353
355
  "data-detail": t.detail ? "true" : void 0,
354
356
  onClick: k
355
357
  }, [
356
- C(u.$slots, "default")
357
- ], 10, Fe));
358
+ C(d.$slots, "default")
359
+ ], 10, je));
358
360
  }
359
- }), qe = {};
360
- function Ge(t, n) {
361
+ }), Ge = {};
362
+ function Ze(t, l) {
361
363
  return i(), m("tbody", null, [
362
364
  C(t.$slots, "default")
363
365
  ]);
364
366
  }
365
- const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-invoices-list__table grid-cols-1 gap-4" }, Xe = ["aria-label", "onClick"], Ye = { class: "flex flex-col" }, Je = { class: "sv-invoices-list__load-more mt-2 flex items-center justify-center" }, et = /* @__PURE__ */ I({
367
+ const Qe = /* @__PURE__ */ pe(Ge, [["render", Ze]]), Xe = { class: "sv-table sv-invoices-list__table grid-cols-1 gap-4" }, Ye = ["aria-label", "onClick"], Je = { class: "flex flex-col" }, et = { class: "sv-invoices-list__load-more mt-2 flex items-center justify-center" }, tt = /* @__PURE__ */ I({
366
368
  __name: "InvoiceTable",
367
369
  props: {
368
370
  invoices: { type: Array },
@@ -373,17 +375,17 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
373
375
  },
374
376
  emits: ["view-invoice", "pay-invoice", "load-more"],
375
377
  setup(t) {
376
- const n = t, { formatDate: r, $t: l } = Q(), o = s(() => n.configuration.showPayButton), _ = s(() => n.configuration.showViewButton), d = s(() => n.hasMoreItems);
377
- return (v, b) => (i(), m("div", Qe, [
378
+ const l = t, { formatDate: r, $t: n } = Q(), o = s(() => l.configuration.showPayButton), _ = s(() => l.configuration.showViewButton), u = s(() => l.hasMoreItems);
379
+ return (v, b) => (i(), m("div", Xe, [
378
380
  f(e(Ne), null, {
379
381
  default: a(() => [
380
382
  f(e(Ue), null, {
381
383
  default: a(() => [
382
- f(e(Ke), { class: "sv-table__head" }, {
384
+ f(e(He), { class: "sv-table__head" }, {
383
385
  default: a(() => [
384
386
  f(e(E), { class: "sv-table__cell sv-invoices-list__cell--invoice" }, {
385
387
  default: a(() => [
386
- g(p(e(l)({
388
+ g(p(e(n)({
387
389
  defaultMessage: "Invoice",
388
390
  description: "The title of the invoice number header column of the invoice table",
389
391
  id: "invoice_table.header.invoice_number"
@@ -393,7 +395,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
393
395
  }),
394
396
  f(e(E), { class: "sv-table__cell sv-invoices-list__cell--date hidden md:table-cell" }, {
395
397
  default: a(() => [
396
- g(p(e(l)({
398
+ g(p(e(n)({
397
399
  defaultMessage: "Date",
398
400
  description: "The title of the invoice date header column of the invoice table",
399
401
  id: "invoice_table.header.date"
@@ -403,7 +405,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
403
405
  }),
404
406
  f(e(E), { class: "sv-table__cell sv-invoices-list__cell--amount" }, {
405
407
  default: a(() => [
406
- g(p(e(l)({
408
+ g(p(e(n)({
407
409
  defaultMessage: "Amount",
408
410
  description: "The title of the invoice amount header column of the invoice table",
409
411
  id: "invoice_table.header.amount"
@@ -413,7 +415,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
413
415
  }),
414
416
  f(e(E), { class: "sv-table__cell sv-invoices-list__cell--status text-right" }, {
415
417
  default: a(() => [
416
- g(p(e(l)({
418
+ g(p(e(n)({
417
419
  defaultMessage: "Status",
418
420
  description: "The title of the invoice status header column of the invoice table",
419
421
  id: "invoice_table.header.status"
@@ -427,16 +429,16 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
427
429
  ]),
428
430
  _: 1
429
431
  }),
430
- f(e(Ze), null, {
432
+ f(e(Qe), null, {
431
433
  default: a(() => [
432
- (i(!0), m(Z, null, ce(t.invoices, (c) => (i(), y(e(je), {
434
+ (i(!0), m(Z, null, ce(t.invoices, (c) => (i(), y(e(qe), {
433
435
  key: c.id,
434
436
  class: "sv-table__row sv-invoices-list__row"
435
- }, ue({
437
+ }, de({
436
438
  default: a(() => [
437
439
  f(e(z), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--invoice h-14" }, {
438
440
  default: a(() => [
439
- P("div", Ye, [
441
+ P("div", Je, [
440
442
  f(e(U), {
441
443
  tag: "span",
442
444
  variant: "body-sm",
@@ -495,36 +497,36 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
495
497
  }, 1024),
496
498
  f(e(z), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--status h-14 text-right" }, {
497
499
  default: a(() => [
498
- e(ge)(c) ? (i(), y(e(V), {
500
+ e(ge)(c) ? (i(), y(e(D), {
499
501
  key: 0,
500
502
  intent: "success"
501
503
  }, {
502
504
  default: a(() => [
503
- g(p(e(l)({
505
+ g(p(e(n)({
504
506
  defaultMessage: "Paid",
505
507
  description: "The label of the chip for paid invoices",
506
508
  id: "invoice_table.chip.paid"
507
509
  })), 1)
508
510
  ]),
509
511
  _: 1
510
- })) : e(ye)(c) ? (i(), y(e(V), {
512
+ })) : e(ye)(c) ? (i(), y(e(D), {
511
513
  key: 1,
512
514
  intent: "neutral"
513
515
  }, {
514
516
  default: a(() => [
515
- g(p(e(l)({
517
+ g(p(e(n)({
516
518
  defaultMessage: "Credit note",
517
519
  description: "The label of the chip for credit notes",
518
520
  id: "invoice_table.chip.credit_note"
519
521
  })), 1)
520
522
  ]),
521
523
  _: 1
522
- })) : c.status === "VOID" ? (i(), y(e(V), {
524
+ })) : c.status === "VOID" ? (i(), y(e(D), {
523
525
  key: 2,
524
526
  intent: "neutral"
525
527
  }, {
526
528
  default: a(() => [
527
- g(p(e(l)({
529
+ g(p(e(n)({
528
530
  defaultMessage: "Void",
529
531
  description: "The label of the chip for voided invoices",
530
532
  id: "invoice_table.chip.void"
@@ -537,10 +539,10 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
537
539
  size: "xs",
538
540
  class: "sv-action sv-action--secondary sv-invoices-list__pay",
539
541
  type: "button",
540
- onClick: de((w) => v.$emit("pay-invoice", { invoiceId: c.id }), ["stop"])
542
+ onClick: ue((w) => v.$emit("pay-invoice", { invoiceId: c.id }), ["stop"])
541
543
  }, {
542
544
  default: a(() => [
543
- g(p(e(l)({
545
+ g(p(e(n)({
544
546
  defaultMessage: "Pay",
545
547
  description: "The label for the pay invoice button",
546
548
  id: "customer.invoice_table.pay_invoice_button.label"
@@ -560,7 +562,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
560
562
  P("button", {
561
563
  type: "button",
562
564
  class: "sv-invoices-list__row-action absolute inset-0 h-full w-full",
563
- "aria-label": e(l)(
565
+ "aria-label": e(n)(
564
566
  {
565
567
  defaultMessage: "View invoice {invoiceNumber}",
566
568
  description: "Accessible name of the button covering an invoice row, which opens that invoice",
@@ -569,7 +571,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
569
571
  { invoiceNumber: c.invoice_number || c.id }
570
572
  ),
571
573
  onClick: (w) => v.$emit("view-invoice", { invoiceId: c.id })
572
- }, null, 8, Xe)
574
+ }, null, 8, Ye)
573
575
  ]),
574
576
  key: "0"
575
577
  } : void 0
@@ -583,14 +585,14 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
583
585
  t.error ? (i(), y(e(me), {
584
586
  key: 0,
585
587
  class: "sv-invoices-list__error sv-error",
586
- title: e(l)({
588
+ title: e(n)({
587
589
  defaultMessage: "We could not load your invoices. Please try again.",
588
590
  description: "Error shown when the invoices, or the next batch of them, fail to load",
589
591
  id: "invoice_table.load_error"
590
592
  })
591
593
  }, null, 8, ["title"])) : T("", !0),
592
- P("div", Je, [
593
- d.value ? (i(), y(e(F), {
594
+ P("div", et, [
595
+ u.value ? (i(), y(e(F), {
594
596
  key: 0,
595
597
  intent: "secondary",
596
598
  size: "sm",
@@ -599,7 +601,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
599
601
  onClick: b[0] || (b[0] = (c) => v.$emit("load-more"))
600
602
  }, {
601
603
  default: a(() => [
602
- g(p(e(l)({
604
+ g(p(e(n)({
603
605
  defaultMessage: "Load more",
604
606
  description: "The label for the load more button",
605
607
  id: "invoice_table.button.load_more"
@@ -610,7 +612,7 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
610
612
  ])
611
613
  ]));
612
614
  }
613
- }), bt = /* @__PURE__ */ I({
615
+ }), ht = /* @__PURE__ */ I({
614
616
  __name: "InvoicesList",
615
617
  props: {
616
618
  invoices: { type: Array },
@@ -621,16 +623,16 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
621
623
  },
622
624
  emits: ["load-more"],
623
625
  setup(t) {
624
- const n = {
626
+ const l = {
625
627
  showPayButton: !0,
626
628
  showViewButton: !0,
627
629
  pagination: {
628
630
  enabled: !0
629
631
  }
630
- }, r = t, l = s(
631
- () => Ce(n, r.configuration)
632
+ }, r = t, n = s(
633
+ () => Ce(l, r.configuration)
632
634
  ), { $t: o } = Q(), { dispatchAction: _ } = ke();
633
- return (d, v) => (i(), y(e(ve), {
635
+ return (u, v) => (i(), y(e(ve), {
634
636
  class: "sv-invoices-list sv-root sv-component",
635
637
  "no-border": "",
636
638
  "no-spacing": "",
@@ -642,14 +644,14 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
642
644
  })
643
645
  }, {
644
646
  default: a(() => [
645
- f(et, {
647
+ f(tt, {
646
648
  class: "sv-invoices-list__table",
647
- configuration: l.value,
648
- "has-more-items": l.value.pagination.enabled && t.hasMoreItems,
649
+ configuration: n.value,
650
+ "has-more-items": n.value.pagination.enabled && t.hasMoreItems,
649
651
  invoices: t.invoices,
650
652
  "is-loading": t.isLoading,
651
653
  error: t.error,
652
- onLoadMore: v[0] || (v[0] = (b) => d.$emit("load-more")),
654
+ onLoadMore: v[0] || (v[0] = (b) => u.$emit("load-more")),
653
655
  onViewInvoice: v[1] || (v[1] = (b) => e(_)({ action: "view-invoice", data: { invoiceId: b.invoiceId } })),
654
656
  onPayInvoice: v[2] || (v[2] = (b) => e(_)({ action: "pay-invoice", data: { invoiceId: b.invoiceId } }))
655
657
  }, null, 8, ["configuration", "has-more-items", "invoices", "is-loading", "error"])
@@ -657,18 +659,18 @@ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-
657
659
  _: 1
658
660
  }, 8, ["title"]));
659
661
  }
660
- }), tt = 50, G = 15;
661
- function ht({
662
+ }), ot = 50, G = 15;
663
+ function pt({
662
664
  customerId: t,
663
- batchSize: n = G
665
+ batchSize: l = G
664
666
  }) {
665
- const r = Le(), l = Number.isFinite(n) ? n : G, o = Math.min(tt, Math.max(1, Math.floor(l)));
666
- return $e({ service: async (d) => r.getInvoices({
667
+ const r = Le(), n = Number.isFinite(l) ? l : G, o = Math.min(ot, Math.max(1, Math.floor(n)));
668
+ return $e({ service: async (u) => r.getInvoices({
667
669
  customerId: t,
668
- pagination: { page: d, pageSize: o }
670
+ pagination: { page: u, pageSize: o }
669
671
  }) });
670
672
  }
671
673
  export {
672
- bt as _,
673
- ht as u
674
+ ht as _,
675
+ pt as u
674
676
  };