@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,32 +1,32 @@
1
- import { defineComponent as R, openBlock as a, createElementBlock as u, normalizeStyle as Y, normalizeClass as m, renderSlot as b, createBlock as T, unref as s, createCommentVNode as r, createElementVNode as c, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as de, computed as x, ref as h, useId as re, watch as ue, onMounted as ce, onBeforeUnmount as fe, createVNode as v, Transition as me, withModifiers as be, nextTick as ye } from "vue";
2
- import { o as P } from "./index.es-BrVTOW5D.mjs";
3
- import { _ as ve, F as xe } from "./ContextMenu.vue.es-BJO4U47Q.mjs";
4
- import { b as he, _ as X } from "./Button.vue.es-j7iYlqtJ.mjs";
5
- import { i as N } from "./slots.es-BA4MyEAa.mjs";
6
- import { _ as ge } from "./Avatar.vue.es-geDQsZwu.mjs";
7
- import { d as we, a as ze } from "./customElements-DK4GKNJG.mjs";
8
- import { _ as ke } from "./IconButton.vue.es-D8DtBW9i.mjs";
1
+ import { defineComponent as N, openBlock as o, createElementBlock as u, normalizeStyle as Y, normalizeClass as c, renderSlot as b, createBlock as M, unref as n, createCommentVNode as r, createElementVNode as f, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as de, computed as v, ref as h, useId as re, watch as ue, onMounted as ce, onBeforeUnmount as fe, createVNode as y, Transition as me, withModifiers as be, nextTick as xe } from "vue";
2
+ import { o as P } from "./index.es-C7J3WGGo.mjs";
3
+ import { a as ye, F as ve } from "./ContextMenu.vue.es-EXTx0NEt.mjs";
4
+ import { b as he, _ as X } from "./Button.vue.es-CW7XfMBF.mjs";
5
+ import { i as Z } from "./slots.es-BA4MyEAa.mjs";
6
+ import { _ as ge } from "./Avatar.vue.es-CJdXXOiG.mjs";
7
+ import { d as we, a as ze } from "./customElements-B8c354Nu.mjs";
8
+ import { _ as ke } from "./IconButton.vue.es-CpQbFw0x.mjs";
9
9
  import { _ as Be } from "./useLazyFloating.es-CycqRyeb.mjs";
10
- const A = 60, Z = "z-index-tracker", $e = () => ({
11
- defaultZIndex: A,
10
+ const O = 60, A = "z-index-tracker", Se = () => ({
11
+ defaultZIndex: O,
12
12
  getZIndex: () => {
13
- const o = document.querySelectorAll(`.${Z}`);
14
- let f = A;
15
- return (o ?? []).forEach((i) => {
13
+ const a = document.querySelectorAll(`.${A}`);
14
+ let m = O;
15
+ return (a ?? []).forEach((i) => {
16
16
  const d = window.getComputedStyle(i).getPropertyValue("z-index");
17
- d && +d >= f && (f = +d + 1);
18
- }), f;
17
+ d && +d >= m && (m = +d + 1);
18
+ }), m;
19
19
  },
20
20
  getTopZIndex: () => {
21
- const o = document.querySelectorAll(`.${Z}`);
22
- let f = A;
23
- return (o ?? []).forEach((i) => {
21
+ const a = document.querySelectorAll(`.${A}`);
22
+ let m = O;
23
+ return (a ?? []).forEach((i) => {
24
24
  const d = window.getComputedStyle(i).getPropertyValue("z-index");
25
- d && +d > f && (f = +d);
26
- }), f;
25
+ d && +d > m && (m = +d);
26
+ }), m;
27
27
  },
28
- trackingClass: Z
29
- }), Te = /* @__PURE__ */ R({
28
+ trackingClass: A
29
+ }), Me = /* @__PURE__ */ N({
30
30
  __name: "Backdrop",
31
31
  props: {
32
32
  blurred: { type: Boolean, default: !1 },
@@ -34,8 +34,8 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
34
34
  zIndex: {}
35
35
  },
36
36
  setup(e) {
37
- return (n, o) => (a(), u("div", {
38
- class: m(["fixed inset-0", {
37
+ return (s, a) => (o(), u("div", {
38
+ class: c(["fixed inset-0", {
39
39
  "bg-white/90 backdrop-blur": e.blurred && e.color === "white",
40
40
  "bg-white/80": !e.blurred && e.color === "white",
41
41
  "bg-gray-200/90 backdrop-blur": e.blurred && e.color === "gray",
@@ -43,10 +43,10 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
43
43
  }]),
44
44
  style: Y({ zIndex: e.zIndex })
45
45
  }, [
46
- b(n.$slots, "default")
46
+ b(s.$slots, "default")
47
47
  ], 6));
48
48
  }
49
- }), Ee = { class: "grow overflow-hidden text-ellipsis" }, pe = /* @__PURE__ */ R({
49
+ }), Te = { class: "grow overflow-hidden text-ellipsis" }, $e = /* @__PURE__ */ N({
50
50
  __name: "Title",
51
51
  props: {
52
52
  title: {},
@@ -59,24 +59,24 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
59
59
  resourceId: {}
60
60
  },
61
61
  setup(e) {
62
- return (n, o) => (a(), u("div", {
63
- class: m(["flex text-left", {
62
+ return (s, a) => (o(), u("div", {
63
+ class: c(["flex text-left", {
64
64
  "gap-4": ["md", "lg"].includes(e.size),
65
65
  "gap-3": e.size === "sm",
66
66
  "gap-2": e.size === "xs" && e.variant !== "transparent",
67
67
  "gap-1": e.size === "xs" && e.variant === "transparent"
68
68
  }])
69
69
  }, [
70
- e.avatar && e.title ? (a(), T(s(ge), {
70
+ e.avatar && e.title ? (o(), M(n(ge), {
71
71
  key: 0,
72
72
  initials: e.title.slice(0, 1),
73
73
  "color-hash": e.title,
74
74
  size: ["sm", "xs"].includes(e.size) ? "lg" : "xl"
75
75
  }, null, 8, ["initials", "color-hash", "size"])) : r("", !0),
76
- c("div", Ee, [
77
- e.title || n.$slots.default ? (a(), u("div", {
76
+ f("div", Te, [
77
+ e.title || s.$slots.default ? (o(), u("div", {
78
78
  key: 0,
79
- class: m([{
79
+ class: c([{
80
80
  "text-3xl": e.size === "lg",
81
81
  "text-2xl": e.size === "md",
82
82
  "text-base": e.size === "sm",
@@ -86,15 +86,15 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
86
86
  "font-general-sans": ["md", "lg"].includes(e.size)
87
87
  }, "flex items-center font-semibold"])
88
88
  }, [
89
- b(n.$slots, "prefix"),
90
- b(n.$slots, "default", {}, () => [
89
+ b(s.$slots, "prefix"),
90
+ b(s.$slots, "default", {}, () => [
91
91
  k(w(e.title), 1)
92
92
  ]),
93
- b(n.$slots, "suffix", {}, () => [
93
+ b(s.$slots, "suffix", {}, () => [
94
94
  k(w(e.suffix), 1)
95
95
  ])
96
96
  ], 2)) : r("", !0),
97
- e.subTitle || n.$slots.subTitle && !s(N)(n.$slots.subTitle({})) ? (a(), T(s(we), {
97
+ e.subTitle || s.$slots.subTitle && !n(Z)(s.$slots.subTitle({})) ? (o(), M(n(we), {
98
98
  key: 1,
99
99
  variant: "body-sm",
100
100
  color: "secondary",
@@ -102,7 +102,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
102
102
  class: "mt-1"
103
103
  }, {
104
104
  default: g(() => [
105
- b(n.$slots, "subTitle", {}, () => [
105
+ b(s.$slots, "subTitle", {}, () => [
106
106
  k(w(e.subTitle), 1)
107
107
  ])
108
108
  ]),
@@ -111,28 +111,28 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
111
111
  ])
112
112
  ], 2));
113
113
  }
114
- }), Ce = ["aria-label", "aria-labelledby", "aria-busy"], Ie = {
114
+ }), Ee = ["aria-label", "aria-labelledby", "aria-busy"], Ce = {
115
115
  key: 0,
116
116
  role: "status",
117
117
  class: "absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-white/80"
118
- }, Se = { class: "sr-only" }, Me = {
118
+ }, Ie = { class: "sr-only" }, pe = {
119
119
  key: 1,
120
120
  "data-testid": "modal-top-bar",
121
121
  class: "flex justify-end border-b border-gray-200 py-2 pr-2"
122
122
  }, Le = {
123
123
  "aria-hidden": "true",
124
124
  class: "sticky top-0 z-10 -mx-6 h-0"
125
- }, Ae = {
125
+ }, Oe = {
126
126
  "data-testid": "modal-body-content",
127
127
  class: "py-6"
128
- }, Ze = ["id"], Ne = {
128
+ }, Ae = ["id"], Ze = {
129
129
  "aria-hidden": "true",
130
130
  class: "sticky bottom-0 z-10 -mx-6 h-0"
131
- }, Re = { key: 0 }, Ve = {
131
+ }, Ne = { key: 0 }, Re = {
132
132
  key: 3,
133
133
  "data-testid": "modal-footer",
134
134
  class: "border-t border-gray-200 px-6 py-3 [&_button]:w-full"
135
- }, De = { class: "flex flex-col gap-2" }, Fe = /* @__PURE__ */ R({
135
+ }, Ve = { class: "flex flex-col gap-2" }, De = /* @__PURE__ */ N({
136
136
  __name: "Modal",
137
137
  props: {
138
138
  children: { default: () => [] },
@@ -149,24 +149,25 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
149
149
  overflowVisible: { type: Boolean },
150
150
  isLoading: { type: Boolean, default: !1 },
151
151
  isEmbedded: { type: Boolean, default: !1 },
152
+ fullScreenOnMobile: { type: Boolean, default: !1 },
152
153
  ariaLabel: {},
153
154
  ariaLabelledby: {}
154
155
  },
155
156
  emits: ["confirm", "close"],
156
- setup(e, { emit: n }) {
157
- const o = e, f = n, i = de(), { $t: d } = ze(), V = x(() => {
157
+ setup(e, { emit: s }) {
158
+ const a = e, m = s, i = de(), { $t: d } = ze(), R = v(() => {
158
159
  var t, l;
159
- return !!((t = i.body) != null && t.call(i)) && !N((l = i.body) == null ? void 0 : l.call(i, {}));
160
- }), B = x(() => {
160
+ return !!((t = i.body) != null && t.call(i)) && !Z((l = i.body) == null ? void 0 : l.call(i, {}));
161
+ }), B = v(() => {
161
162
  var t, l;
162
- return !!o.title || !!((t = i.header) != null && t.call(i)) && !N((l = i.header) == null ? void 0 : l.call(i, {}));
163
- }), J = x(() => V.value || B.value), { getZIndex: Q, getTopZIndex: W, trackingClass: _, defaultZIndex: D } = $e(), E = h(), z = h(), $ = h(D), F = re(), O = x(() => {
164
- if (o.ariaLabelledby) return o.ariaLabelledby;
165
- if (!o.ariaLabel && !o.title && B.value) return F;
166
- }), ee = x(() => {
167
- if (!O.value)
168
- return o.ariaLabel || o.title || void 0;
169
- }), q = h(!1), K = h(!1), te = x(() => o.blurred || o.isEmbedded), le = {
163
+ return !!a.title || !!((t = i.header) != null && t.call(i)) && !Z((l = i.header) == null ? void 0 : l.call(i, {}));
164
+ }), J = v(() => R.value || B.value), { getZIndex: Q, getTopZIndex: W, trackingClass: _, defaultZIndex: V } = Se(), T = h(), z = h(), S = h(V), D = re(), F = v(() => {
165
+ if (a.ariaLabelledby) return a.ariaLabelledby;
166
+ if (!a.ariaLabel && !a.title && B.value) return D;
167
+ }), ee = v(() => {
168
+ if (!F.value)
169
+ return a.ariaLabel || a.title || void 0;
170
+ }), q = h(!1), K = h(!1), te = v(() => a.blurred || a.isEmbedded), le = {
170
171
  xs: "max-w-xs",
171
172
  sm: "max-w-sm",
172
173
  md: "max-w-md",
@@ -178,7 +179,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
178
179
  "5xl": "max-w-5xl",
179
180
  "6xl": "max-w-6xl",
180
181
  "7xl": "max-w-7xl"
181
- }, oe = [
182
+ }, ae = [
182
183
  "a[href]",
183
184
  "button:not([disabled])",
184
185
  'input:not([disabled]):not([type="hidden"])',
@@ -186,9 +187,9 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
186
187
  "textarea:not([disabled])",
187
188
  '[contenteditable="true"]',
188
189
  '[tabindex]:not([tabindex^="-"])'
189
- ].join(","), p = h(null), j = () => z.value ? Array.from(
190
- z.value.querySelectorAll(oe)
191
- ).filter((t) => !t.closest('[aria-hidden="true"]')) : [], ae = () => {
190
+ ].join(","), $ = h(null), j = () => z.value ? Array.from(
191
+ z.value.querySelectorAll(ae)
192
+ ).filter((t) => !t.closest('[aria-hidden="true"]')) : [], oe = () => {
192
193
  const t = z.value;
193
194
  if (!t) return;
194
195
  (t.querySelector("[autofocus]") ?? j()[0] ?? t).focus();
@@ -198,161 +199,171 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
198
199
  for (; (t = l == null ? void 0 : l.shadowRoot) != null && t.activeElement; )
199
200
  l = l.shadowRoot.activeElement;
200
201
  return l;
201
- }, H = () => o.showModal && $.value >= W(), C = () => f("close"), se = () => {
202
- o.noBackdropClose || C();
203
- }, ne = () => {
204
- if (!E.value) return;
205
- const { scrollTop: t, scrollHeight: l, clientHeight: y } = E.value;
206
- q.value = t > 0, K.value = t + y < l - 1;
202
+ }, H = () => a.showModal && S.value >= W(), E = () => m("close"), ne = () => {
203
+ a.noBackdropClose || E();
204
+ }, se = () => {
205
+ if (!T.value) return;
206
+ const { scrollTop: t, scrollHeight: l, clientHeight: x } = T.value;
207
+ q.value = t > 0, K.value = t + x < l - 1;
207
208
  };
208
209
  P("Escape", () => {
209
- o.noClickAway || !H() || C();
210
+ a.noClickAway || !H() || E();
210
211
  }), P("Tab", (t) => {
211
212
  const l = z.value;
212
213
  if (!l || !H()) return;
213
- const y = j();
214
- if (!y.length) {
214
+ const x = j();
215
+ if (!x.length) {
215
216
  t.preventDefault(), l.focus();
216
217
  return;
217
218
  }
218
- const S = y[0], M = y[y.length - 1], L = U();
219
+ const I = x[0], p = x[x.length - 1], L = U();
219
220
  if (!l.contains(L)) {
220
- t.preventDefault(), (t.shiftKey ? M : S).focus();
221
+ t.preventDefault(), (t.shiftKey ? p : I).focus();
221
222
  return;
222
223
  }
223
- t.shiftKey && L === S ? (t.preventDefault(), M.focus()) : !t.shiftKey && L === M && (t.preventDefault(), S.focus());
224
+ t.shiftKey && L === I ? (t.preventDefault(), p.focus()) : !t.shiftKey && L === p && (t.preventDefault(), I.focus());
224
225
  });
225
- const I = (t) => {
226
+ const C = (t) => {
226
227
  const l = document.querySelector("body");
227
228
  l && (l.style.overflowY = t);
228
229
  }, G = async () => {
229
- $.value = Q(), I("hidden"), p.value = U(), await ye(), ae();
230
+ S.value = Q(), C("hidden"), $.value = U(), await xe(), oe();
230
231
  }, ie = () => {
231
232
  var t;
232
- $.value = D, I("unset"), (t = p.value) == null || t.focus(), p.value = null;
233
+ S.value = V, C("unset"), (t = $.value) == null || t.focus(), $.value = null;
233
234
  };
234
235
  return ue(
235
- () => o.showModal,
236
+ () => a.showModal,
236
237
  (t) => t ? G() : ie()
237
238
  ), ce(() => {
238
- o.showModal && G();
239
+ a.showModal && G();
239
240
  }), fe(() => {
240
- I("unset");
241
- }), (t, l) => (a(), T(s(ve), { to: "modal" }, {
241
+ C("unset");
242
+ }), (t, l) => (o(), M(n(ye), { to: "modal" }, {
242
243
  default: g(() => [
243
- v(me, {
244
+ y(me, {
244
245
  name: "modal",
245
246
  appear: ""
246
247
  }, {
247
248
  default: g(() => [
248
- e.showModal ? (a(), u("div", {
249
+ e.showModal ? (o(), u("div", {
249
250
  key: 0,
250
- class: m(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full", s(_)]),
251
- style: Y({ zIndex: $.value })
251
+ class: c(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full", [n(_), { "inset-0 h-full": e.fullScreenOnMobile }]]),
252
+ style: Y({ zIndex: S.value })
252
253
  }, [
253
- v(s(Te), {
254
+ y(n(Me), {
254
255
  "aria-hidden": "true",
256
+ class: c({ "max-md:hidden": e.fullScreenOnMobile }),
255
257
  blurred: te.value,
256
- color: o.isEmbedded ? "white" : void 0,
257
- onMousedown: be(se, ["self"])
258
- }, null, 8, ["blurred", "color"]),
259
- c("div", {
260
- class: m(["modal-panel relative h-full w-full p-4 md:h-auto", `${le[e.size]}`])
258
+ color: a.isEmbedded ? "white" : void 0,
259
+ onMousedown: be(ne, ["self"])
260
+ }, null, 8, ["class", "blurred", "color"]),
261
+ f("div", {
262
+ class: c(["modal-panel relative h-full w-full p-4 md:h-auto", [
263
+ le[e.size],
264
+ { "max-md:max-w-none max-md:p-0": e.fullScreenOnMobile }
265
+ ]])
261
266
  }, [
262
- c("div", {
267
+ f("div", {
263
268
  ref_key: "dialogElementRef",
264
269
  ref: z,
265
270
  role: "dialog",
266
271
  "aria-modal": "true",
267
272
  tabindex: "-1",
268
273
  "aria-label": ee.value,
269
- "aria-labelledby": O.value,
274
+ "aria-labelledby": F.value,
270
275
  "aria-busy": e.isLoading,
271
- class: "relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none"
276
+ class: c(["relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none", {
277
+ "max-md:h-full max-md:max-h-none max-md:rounded-none max-md:shadow-none": e.fullScreenOnMobile
278
+ }])
272
279
  }, [
273
- e.isLoading ? (a(), u("div", Ie, [
274
- v(he, {
280
+ e.isLoading ? (o(), u("div", Ce, [
281
+ y(he, {
275
282
  size: "6",
276
283
  "aria-hidden": "true"
277
284
  }),
278
- c("span", Se, w(s(d)({
285
+ f("span", Ie, w(n(d)({
279
286
  defaultMessage: "Loading",
280
287
  id: "h+GlcT",
281
288
  description: "Modal loading state"
282
289
  })), 1)
283
290
  ])) : r("", !0),
284
- e.noCloseButton ? r("", !0) : (a(), u("div", Me, [
285
- v(s(ke), {
291
+ e.noCloseButton ? r("", !0) : (o(), u("div", pe, [
292
+ y(n(ke), {
286
293
  icon: "close",
287
294
  size: "xs",
288
295
  intent: "secondary",
289
296
  "data-testid": "close-button",
290
- "aria-label": s(d)({
297
+ "aria-label": n(d)({
291
298
  defaultMessage: "Close",
292
299
  id: "U+ONwt",
293
300
  description: "Modal close button"
294
301
  }),
295
- onClick: C
302
+ onClick: E
296
303
  }, null, 8, ["aria-label"])
297
304
  ])),
298
- J.value ? (a(), u("div", {
305
+ J.value ? (o(), u("div", {
299
306
  key: 2,
300
307
  ref_key: "contentElementRef",
301
- ref: E,
302
- class: m(["overflow-auto px-6", { "overflow-visible": e.overflowVisible }]),
303
- onScroll: ne
308
+ ref: T,
309
+ class: c(["overflow-auto px-6", {
310
+ "overflow-visible": e.overflowVisible,
311
+ // Fills the screen, so the footer stays at its bottom.
312
+ "max-md:flex-1": e.fullScreenOnMobile
313
+ }]),
314
+ onScroll: se
304
315
  }, [
305
- c("div", Le, [
306
- c("div", {
307
- class: m(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity", q.value ? "opacity-100" : "opacity-0"])
316
+ f("div", Le, [
317
+ f("div", {
318
+ class: c(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity", q.value ? "opacity-100" : "opacity-0"])
308
319
  }, null, 2)
309
320
  ]),
310
- c("div", Ae, [
311
- B.value ? (a(), u("div", {
321
+ f("div", Oe, [
322
+ B.value ? (o(), u("div", {
312
323
  key: 0,
313
- id: s(F)
324
+ id: n(D)
314
325
  }, [
315
326
  b(t.$slots, "header", {}, () => [
316
- e.title ? (a(), T(pe, {
327
+ e.title ? (o(), M($e, {
317
328
  key: 0,
318
329
  title: e.title,
319
330
  "sub-title": e.subTitle,
320
331
  size: "md"
321
332
  }, null, 8, ["title", "sub-title"])) : r("", !0)
322
333
  ], !0)
323
- ], 8, Ze)) : r("", !0),
324
- V.value ? (a(), u("div", {
334
+ ], 8, Ae)) : r("", !0),
335
+ R.value ? (o(), u("div", {
325
336
  key: 1,
326
- class: m({ "mt-4": B.value })
337
+ class: c({ "mt-4": B.value })
327
338
  }, [
328
339
  b(t.$slots, "body", {}, void 0, !0)
329
340
  ], 2)) : r("", !0)
330
341
  ]),
331
- c("div", Ne, [
332
- c("div", {
333
- class: m(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity", K.value ? "opacity-100" : "opacity-0"])
342
+ f("div", Ze, [
343
+ f("div", {
344
+ class: c(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity", K.value ? "opacity-100" : "opacity-0"])
334
345
  }, null, 2)
335
346
  ])
336
347
  ], 34)) : r("", !0),
337
- v(xe, null, {
348
+ y(ve, null, {
338
349
  default: g(() => [
339
- t.$slots.error ? (a(), u("div", Re, [
350
+ t.$slots.error ? (o(), u("div", Ne, [
340
351
  b(t.$slots, "error", {}, void 0, !0)
341
352
  ])) : r("", !0)
342
353
  ]),
343
354
  _: 3
344
355
  }),
345
- t.$slots.footer || e.confirmButtonText || e.cancelButtonText ? (a(), u("div", Ve, [
356
+ t.$slots.footer || e.confirmButtonText || e.cancelButtonText ? (o(), u("div", Re, [
346
357
  b(t.$slots, "footer", {}, () => [
347
- c("div", De, [
348
- v(s(X), {
358
+ f("div", Ve, [
359
+ y(n(X), {
349
360
  size: "md",
350
361
  autofocus: "",
351
362
  loading: e.isLoading,
352
- onClick: l[0] || (l[0] = (y) => t.$emit("confirm"))
363
+ onClick: l[0] || (l[0] = (x) => t.$emit("confirm"))
353
364
  }, {
354
365
  default: g(() => [
355
- k(w(e.confirmButtonText || s(d)({
366
+ k(w(e.confirmButtonText || n(d)({
356
367
  defaultMessage: "Confirm",
357
368
  id: "N2IrpM",
358
369
  description: "Modal comfirm button"
@@ -360,13 +371,13 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
360
371
  ]),
361
372
  _: 1
362
373
  }, 8, ["loading"]),
363
- v(s(X), {
374
+ y(n(X), {
364
375
  size: "md",
365
376
  intent: "secondary",
366
- onClick: l[1] || (l[1] = (y) => t.$emit("close"))
377
+ onClick: l[1] || (l[1] = (x) => t.$emit("close"))
367
378
  }, {
368
379
  default: g(() => [
369
- k(w(e.cancelButtonText || s(d)({
380
+ k(w(e.cancelButtonText || n(d)({
370
381
  defaultMessage: "Cancel",
371
382
  id: "47FYwb",
372
383
  description: "Modal cancel button"
@@ -377,7 +388,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
377
388
  ])
378
389
  ], !0)
379
390
  ])) : r("", !0)
380
- ], 8, Ce)
391
+ ], 10, Ee)
381
392
  ], 2)
382
393
  ], 6)) : r("", !0)
383
394
  ]),
@@ -387,7 +398,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
387
398
  _: 3
388
399
  }));
389
400
  }
390
- }), Ye = /* @__PURE__ */ Be(Fe, [["__scopeId", "data-v-4ca9d1da"]]);
401
+ }), Ye = /* @__PURE__ */ Be(De, [["__scopeId", "data-v-92f889d5"]]);
391
402
  export {
392
403
  Ye as M
393
404
  };