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

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 (257) hide show
  1. package/README.md +152 -91
  2. package/dist/AddPaymentMethodModal-Bs_aOOCX.mjs +97 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
  4. package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-xhsk_7Gn.mjs} +1 -1
  5. package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
  6. package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-DrbtUiLO.mjs} +1 -1
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
  8. package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
  9. package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
  10. package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
  11. package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-BHbanjR0.mjs} +1 -1
  12. package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-DYiFtw1n.mjs} +44 -43
  13. package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-Dc6-PjEn.mjs} +2 -2
  14. package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
  15. package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-CvX6O2IM.mjs} +10 -10
  16. package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-DQWt9osz.mjs} +3 -3
  17. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
  18. package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
  19. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs} +992 -1100
  20. package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-ChN6fnrH.mjs} +1 -1
  21. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs} +3 -3
  22. package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-CWIVt5q9.mjs} +2 -2
  23. package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-CQ64C8dt.mjs} +1 -1
  24. package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-BXzwMvVk.mjs} +2 -2
  25. package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-GyanM-JQ.mjs} +3 -3
  26. package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-CxiwRZYs.mjs} +4 -4
  27. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs} +2 -2
  28. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs} +7 -7
  29. package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-BvnikfEH.mjs} +6 -6
  30. package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs} +3 -3
  31. package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-3ACRco55.mjs} +3 -3
  32. package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
  33. package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CDjfZDDx.mjs} +138 -127
  34. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
  35. package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs} +2 -2
  36. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs} +4 -4
  37. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs} +3 -3
  38. package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-HUazLER6.mjs} +1 -1
  39. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs} +4 -4
  40. package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-ZnIjTyda.mjs} +1 -1
  41. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
  42. package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-sbw3AoKS.mjs} +302 -282
  43. package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-4JmKEwbS.mjs} +126 -117
  44. package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-DAabE41t.mjs} +23 -21
  45. package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-MmCUSJLE.mjs} +1 -1
  46. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
  47. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs} +6 -6
  48. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs} +28 -26
  49. package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
  50. package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
  51. package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-B7YYhv97.mjs} +3 -3
  52. package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-DIyeKrAp.mjs} +2 -2
  53. package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-C6J8C7JS.mjs} +7 -7
  54. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs} +16 -15
  55. package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-hDmUAKIA.mjs} +5 -5
  56. package/dist/{Section.vue.es-Oqn1wGPZ.mjs → Section.vue.es-CwKTCeZ1.mjs} +1 -1
  57. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs} +2 -2
  58. package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
  59. package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
  60. package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-GkrOtOVa.mjs} +4 -4
  61. package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
  62. package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
  63. package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
  64. package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
  65. package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-DosBeXD7.mjs} +1 -1
  66. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs} +1948 -1965
  67. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
  68. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs} +133 -108
  69. package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
  70. package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-4HaXi8RP.mjs} +18 -18
  71. package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs} +1 -1
  72. package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
  73. package/dist/addonQuantity-BvoYTajN.mjs +128 -0
  74. package/dist/adyen-D4em6EgU.mjs +99 -0
  75. package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
  76. package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
  77. package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
  78. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
  79. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
  80. package/dist/components/Invoice/Invoice.mjs +426 -426
  81. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
  82. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
  83. package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
  84. package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
  85. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
  86. package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
  87. package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
  88. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
  89. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
  90. package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
  91. package/dist/core/events.types.d.ts +1 -0
  92. package/dist/core/index.mjs +51 -34
  93. package/dist/{customElements-DK4GKNJG.mjs → customElements-d7Bhfqi_.mjs} +773 -746
  94. package/dist/{customer-lf6S5DBR.mjs → customer-CNCSN_G5.mjs} +1 -1
  95. package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-D-sV3avS.mjs} +8 -5
  96. package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-wZp39RC-.mjs} +68 -5
  97. package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-BYHycSxz.mjs} +3 -0
  98. package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-BrNXJ7gR.mjs} +68 -5
  99. package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
  100. package/dist/index.es-BEZ2mumY.mjs +633 -0
  101. package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
  102. package/dist/index.mjs +37 -33
  103. package/dist/invoices-CXvL8KQx.mjs +143 -0
  104. package/dist/{it-IT-DObZEc-U.mjs → it-IT-Bd1qsMVU.mjs} +68 -5
  105. package/dist/{it-IT-DnJP5URH.mjs → it-IT-zpPyT9PH.mjs} +8 -5
  106. package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-BOr4MR7L.mjs} +8 -5
  107. package/dist/{nl-NL-C02xHilF.mjs → nl-NL-C6Y6fqaW.mjs} +68 -5
  108. package/dist/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
  109. package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-CG1fcG2v.mjs} +22 -21
  110. package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-D59QkGfm.mjs} +1 -1
  111. package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
  112. package/dist/payments-Dy81gmkC.mjs +71 -0
  113. package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
  114. package/dist/pricing-CBJT8C6L.mjs +42 -0
  115. package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-AYq_hYeD.mjs} +1 -1
  116. package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
  117. package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
  118. package/dist/screens/Checkout/Checkout.mjs +1098 -3
  119. package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
  120. package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
  121. package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
  122. package/dist/screens/PayInvoice/PayInvoice.mjs +282 -274
  123. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
  124. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  125. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
  126. package/dist/{sorting.es-C0pdMgX0.mjs → sorting.es-kM0f1VX0.mjs} +1 -1
  127. package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
  128. package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
  129. package/dist/taxId.es-Zu2Ff1gL.mjs +510 -0
  130. package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
  131. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
  132. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
  133. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
  134. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
  135. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
  136. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
  137. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
  138. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
  139. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
  140. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
  141. package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
  142. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
  143. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
  144. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
  145. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
  146. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
  147. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
  148. package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
  149. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
  150. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
  151. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
  152. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
  153. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
  154. package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
  155. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
  156. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
  157. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
  158. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
  159. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
  160. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
  161. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
  162. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
  163. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
  164. package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
  165. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
  166. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
  167. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -0
  168. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
  170. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
  171. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
  172. package/dist/types/index.d.ts +5 -1
  173. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
  174. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
  175. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
  176. package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
  177. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
  178. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
  179. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
  180. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
  181. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
  182. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
  183. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
  184. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
  185. package/dist/types/public/core/action-request.types.d.ts +18 -24
  186. package/dist/types/public/core/events.types.d.ts +99 -0
  187. package/dist/types/public/core/index.d.ts +3 -1
  188. package/dist/types/public/core/types.d.ts +11 -2
  189. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
  190. package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
  191. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
  192. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
  193. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
  194. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -2
  195. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
  196. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
  197. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
  198. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
  199. package/dist/types/services/paymentMethods.types.d.ts +12 -1
  200. package/dist/types/types/EntryBaseProps.d.ts +10 -6
  201. package/dist/types/types/branding.d.ts +15 -0
  202. package/dist/types/types/checkoutSession.d.ts +189 -0
  203. package/dist/types/types/errors.d.ts +2 -0
  204. package/dist/types/types/pricingPlanGroup.d.ts +25 -0
  205. package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BWna0S6N.mjs} +1 -1
  206. package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
  207. package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
  208. package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-RUtEzDOY.mjs} +2 -2
  209. package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
  210. package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
  211. package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
  212. package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-B3gp58X-.mjs} +2 -2
  213. package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-Dya4mmvf.mjs} +2 -2
  214. package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-Dp3c_cb3.mjs} +9 -9
  215. package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-CwySdYZM.mjs} +1 -1
  216. package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
  217. package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-B7NV0ZtX.mjs} +4 -4
  218. package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
  219. package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-DBGyQA_I.mjs} +2 -2
  220. package/dist/{usePayments-hWS7fnOx.mjs → usePayments-ChGtK_As.mjs} +9 -9
  221. package/dist/usePortal--Uzbpbgr.mjs +14 -0
  222. package/dist/{useService-BwzIBIRp.mjs → useService-DayNZhPh.mjs} +1 -1
  223. package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
  224. package/dist/useSubscription-lIGMFLG1.mjs +35 -0
  225. package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
  226. package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
  227. package/package.json +12 -5
  228. package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
  229. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
  230. package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
  231. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
  232. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
  233. package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
  234. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
  235. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
  236. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
  237. package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
  238. package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
  239. package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
  240. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
  241. package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
  242. package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
  243. package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
  244. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
  245. package/dist/invoices-DdREPDXV.mjs +0 -123
  246. package/dist/paymentMethods-Goa25rTs.mjs +0 -61
  247. package/dist/payments-CKpU1K3t.mjs +0 -68
  248. package/dist/pricing-CEaZGgKe.mjs +0 -29
  249. package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
  250. package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
  251. package/dist/subscriptions-B5bH8hsI.mjs +0 -66
  252. package/dist/taxId.es-e6NEvprh.mjs +0 -243
  253. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
  254. package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
  255. package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
  256. package/dist/usePortal-DUfD6hrA.mjs +0 -7
  257. package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
@@ -0,0 +1,633 @@
1
+ import { openBlock as n, createElementBlock as b, createElementVNode as c, renderSlot as P, defineComponent as ee, computed as p, withKeys as ke, normalizeClass as k, Fragment as j, mergeProps as z, createBlock as i, resolveDynamicComponent as O, createCommentVNode as s, createVNode as E, normalizeProps as T, withCtx as m, createTextVNode as q, toDisplayString as F, renderList as ce, getCurrentInstance as Ce, ref as G, inject as we, unref as x, isRef as Se, createSlots as $e, guardReactiveProps as Ie, Teleport as Oe, normalizeStyle as re, nextTick as Ee } from "vue";
2
+ import { u as Z, a as Le, b as Me } from "./index.es-C7J3WGGo.mjs";
3
+ import { _ as Re, u as Be } from "./useLazyFloating.es-CycqRyeb.mjs";
4
+ import { e as De } from "./sanitization.es-C6dbuxUJ.mjs";
5
+ import { _ as U, s as Ve, u as Ae } from "./sorting.es-kM0f1VX0.mjs";
6
+ import { d as W, S as Pe } from "./customElements-d7Bhfqi_.mjs";
7
+ import { u as ze } from "./Label.vue.es-3ACRco55.mjs";
8
+ import { a as Te, _ } from "./Button.vue.es-BHbanjR0.mjs";
9
+ import { _ as qe } from "./IconButton.vue.es-BXzwMvVk.mjs";
10
+ import { _ as Ne } from "./Chip.vue.es-Dc6-PjEn.mjs";
11
+ import { a as Ke, i as Fe } from "./useService-DayNZhPh.mjs";
12
+ import { _ as Ue } from "./Input.vue.es-CxiwRZYs.mjs";
13
+ const je = (e) => `checkbox-item-${e}`, He = "select-search-done-button", Ge = {}, We = { class: "flex items-center pt-1" }, Ye = { class: "px-1.5 text-xs font-semibold text-subtle" };
14
+ function Je(e, C) {
15
+ return n(), b("div", We, [
16
+ C[0] || (C[0] = c("div", { class: "w-2 border-t" }, null, -1)),
17
+ c("span", Ye, [
18
+ P(e.$slots, "default")
19
+ ]),
20
+ C[1] || (C[1] = c("div", { class: "grow border-t" }, null, -1))
21
+ ]);
22
+ }
23
+ const Qe = /* @__PURE__ */ Re(Ge, [["render", Je]]), Xe = ["aria-selected", "aria-disabled", "data-testid"], Ze = ["id", "value", "checked", "disabled"], _e = ["for"], el = { class: "flex items-center gap-1" }, ll = { class: "flex flex-grow flex-col" }, tl = { class: "flex flex-grow gap-2" }, nl = { class: "flex flex-grow flex-col" }, al = { class: "flex flex-grow items-start justify-between gap-2" }, ol = { class: "flex items-center gap-2" }, sl = /* @__PURE__ */ ee({
24
+ __name: "SelectExtendedOption",
25
+ props: {
26
+ multiple: { type: Boolean },
27
+ inputValue: {},
28
+ condensed: { type: Boolean },
29
+ label: {},
30
+ checked: { type: Boolean },
31
+ disabled: { type: Boolean },
32
+ subLabel: {},
33
+ labelPrefixComponent: {},
34
+ labelSuffixComponent: {},
35
+ labelInlineComponent: {},
36
+ value: {},
37
+ labelSrOnly: { type: Boolean }
38
+ },
39
+ emits: ["value-changed"],
40
+ setup(e, { emit: C }) {
41
+ const L = C, o = e, $ = (h) => {
42
+ const R = h.target;
43
+ L("value-changed", {
44
+ value: R.value,
45
+ checked: R.checked
46
+ });
47
+ }, M = () => {
48
+ o.multiple || o.disabled || L("value-changed", { value: o.value });
49
+ }, y = p(() => je(o.value)), u = p(() => De(o.inputValue ?? ""));
50
+ return (h, R) => (n(), b("li", {
51
+ role: "option",
52
+ "aria-selected": e.checked,
53
+ "aria-disabled": e.disabled,
54
+ class: k([{ "hover:bg-gray-50": !e.disabled }, "relative flex"]),
55
+ "data-testid": y.value,
56
+ tabindex: "0",
57
+ onClick: M,
58
+ onKeydown: ke(M, ["enter"])
59
+ }, [
60
+ e.multiple ? (n(), b(j, { key: 0 }, [
61
+ c("input", z(h.$attrs, {
62
+ id: y.value,
63
+ ref: "inputRef",
64
+ value: e.value,
65
+ checked: e.checked,
66
+ disabled: e.disabled,
67
+ type: "checkbox",
68
+ class: ["absolute left-3.5 top-1/2 h-4 w-4 -translate-y-2 rounded border-gray-300 bg-gray-100 focus:ring-2 focus:ring-primary-500", e.disabled ? "text-disabled" : "text-primary-600"],
69
+ tabindex: "-1",
70
+ onChange: $
71
+ }), null, 16, Ze),
72
+ c("label", {
73
+ for: y.value,
74
+ class: k([e.disabled ? "text-disabled" : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
75
+ }, [
76
+ c("div", el, [
77
+ e.labelPrefixComponent ? (n(), i(O(e.labelPrefixComponent.component), { key: 0 })) : s("", !0),
78
+ c("div", ll, [
79
+ c("div", tl, [
80
+ E(U, {
81
+ text: e.label,
82
+ search: u.value,
83
+ class: k(["font-semibold", { "sr-only": e.labelSrOnly }])
84
+ }, null, 8, ["text", "search", "class"]),
85
+ e.labelInlineComponent ? (n(), i(O(e.labelInlineComponent.component), T(z({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : s("", !0),
86
+ e.subLabel && e.condensed ? (n(), i(U, {
87
+ key: 1,
88
+ class: "text-xs text-secondary",
89
+ text: e.subLabel,
90
+ search: u.value
91
+ }, null, 8, ["text", "search"])) : s("", !0)
92
+ ]),
93
+ e.subLabel && !e.condensed ? (n(), i(U, {
94
+ key: 0,
95
+ class: "text-xs text-secondary",
96
+ text: e.subLabel,
97
+ search: u.value
98
+ }, null, 8, ["text", "search"])) : s("", !0)
99
+ ]),
100
+ e.labelSuffixComponent ? (n(), i(O(e.labelSuffixComponent.component), T(z({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : s("", !0)
101
+ ])
102
+ ], 10, _e)
103
+ ], 64)) : (n(), b("div", {
104
+ key: 1,
105
+ class: k(["flex w-full items-start gap-3 px-4 text-sm font-medium", [
106
+ e.condensed ? "p-2" : "py-3",
107
+ e.disabled ?? "cursor-not-allowed",
108
+ !e.disabled && "cursor-pointer"
109
+ ]])
110
+ }, [
111
+ e.labelPrefixComponent ? (n(), i(O(e.labelPrefixComponent.component), T(z({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : s("", !0),
112
+ c("div", nl, [
113
+ c("div", al, [
114
+ E(U, {
115
+ text: e.label,
116
+ search: u.value,
117
+ class: k(["font-semibold", { "text-disabled": e.disabled }])
118
+ }, null, 8, ["text", "search", "class"]),
119
+ c("div", ol, [
120
+ e.labelInlineComponent ? (n(), i(O(e.labelInlineComponent.component), T(z({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : s("", !0),
121
+ e.labelSuffixComponent ? (n(), i(O(e.labelSuffixComponent.component), T(z({ key: 1 }, e.labelSuffixComponent.props)), null, 16)) : s("", !0)
122
+ ])
123
+ ]),
124
+ e.subLabel && e.condensed ? (n(), i(U, {
125
+ key: 0,
126
+ class: "text-xs text-secondary",
127
+ text: e.subLabel,
128
+ search: u.value
129
+ }, null, 8, ["text", "search"])) : s("", !0),
130
+ e.subLabel && !e.condensed ? (n(), i(U, {
131
+ key: 1,
132
+ class: "text-xs text-secondary",
133
+ text: e.subLabel,
134
+ search: u.value
135
+ }, null, 8, ["text", "search"])) : s("", !0)
136
+ ])
137
+ ], 2))
138
+ ], 42, Xe));
139
+ }
140
+ }), ul = { class: "flex flex-col rounded-bl rounded-br" }, il = { key: 0 }, dl = {
141
+ key: 2,
142
+ class: "border-t border-gray-200"
143
+ }, rl = /* @__PURE__ */ ee({
144
+ __name: "SelectExtendedOptions",
145
+ props: {
146
+ model: {},
147
+ multiple: { type: Boolean },
148
+ condensed: { type: Boolean },
149
+ hasLargeDropdown: { type: Boolean },
150
+ inputValue: {},
151
+ addOnly: { type: Boolean },
152
+ options: {}
153
+ },
154
+ emits: ["value-changed"],
155
+ setup(e, { emit: C }) {
156
+ const L = e, o = C, $ = (u) => o("value-changed", u), M = p(
157
+ () => Ve(L.options, "group").reduce((u, h) => h.value === "" ? u : { ...u, [h.value]: h.group }, {})
158
+ ), y = p(() => L.options.length === 0);
159
+ return (u, h) => (n(), b("div", ul, [
160
+ y.value ? (n(), i(W, {
161
+ key: 0,
162
+ tag: "div",
163
+ "no-spacing": "",
164
+ variant: "body-sm",
165
+ color: "secondary",
166
+ class: "px-5 py-5"
167
+ }, {
168
+ default: m(() => [...h[0] || (h[0] = [
169
+ q("No results", -1)
170
+ ])]),
171
+ _: 1
172
+ })) : (n(), b("ul", {
173
+ key: 1,
174
+ class: k(["list-none overflow-y-auto", [e.hasLargeDropdown ? "max-h-76" : "max-h-48"]])
175
+ }, [
176
+ e.addOnly ? (n(), b("div", il, [
177
+ E(W, {
178
+ tag: "p",
179
+ "no-spacing": "",
180
+ variant: "body-sm",
181
+ color: "secondary",
182
+ class: "mt-1 px-3 py-2"
183
+ }, {
184
+ default: m(() => [...h[1] || (h[1] = [
185
+ q(F("You can only select currently unselected options."), -1)
186
+ ])]),
187
+ _: 1
188
+ })
189
+ ])) : s("", !0),
190
+ (n(!0), b(j, null, ce(e.options, ({
191
+ label: R,
192
+ subLabel: N,
193
+ value: d,
194
+ checked: g,
195
+ disabled: f,
196
+ labelInlineComponent: Y,
197
+ labelSuffixComponent: B,
198
+ labelSrOnly: w,
199
+ labelPrefixComponent: H,
200
+ hidden: J
201
+ }) => (n(), b(j, { key: d }, [
202
+ M.value[d] ? (n(), i(Qe, { key: 0 }, {
203
+ default: m(() => [
204
+ q(F(M.value[d]), 1)
205
+ ]),
206
+ _: 2
207
+ }, 1024)) : s("", !0),
208
+ J ? s("", !0) : (n(), i(sl, {
209
+ key: 1,
210
+ label: R,
211
+ "sub-label": N,
212
+ value: d,
213
+ checked: g,
214
+ disabled: f,
215
+ multiple: e.multiple,
216
+ condensed: e.condensed,
217
+ "label-suffix-component": B,
218
+ "label-prefix-component": H,
219
+ "label-inline-component": Y,
220
+ "label-sr-only": w,
221
+ "input-value": e.inputValue,
222
+ onValueChanged: $
223
+ }, null, 8, ["label", "sub-label", "value", "checked", "disabled", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-inline-component", "label-sr-only", "input-value"]))
224
+ ], 64))), 128))
225
+ ], 2)),
226
+ u.$slots["list-footer-content"] ? (n(), b("div", dl, [
227
+ P(u.$slots, "list-footer-content")
228
+ ])) : s("", !0)
229
+ ]));
230
+ }
231
+ }), cl = ["aria-expanded", "aria-controls"], fl = { class: "flex items-center gap-2" }, vl = { key: 1 }, ml = { class: "flex items-center gap-2" }, bl = {
232
+ key: 0,
233
+ class: "mt-2 flex flex-wrap gap-2"
234
+ }, pl = ["innerHTML"], yl = ["id"], hl = /* @__PURE__ */ ee({
235
+ __name: "SelectExtended",
236
+ props: {
237
+ addOnly: { type: Boolean, default: !1 },
238
+ disabled: { type: Boolean },
239
+ label: {},
240
+ labelScreenReaderOnly: { type: Boolean },
241
+ inputModel: {},
242
+ singleModelValue: {},
243
+ multiModelValue: {},
244
+ options: { default: () => [] },
245
+ optionsOrder: { default: () => ["asc", "asc"] },
246
+ optionsOrderProperties: { default: () => ["group", "label"] },
247
+ required: { type: Boolean, default: !1 },
248
+ rootClass: {},
249
+ size: { default: "md" },
250
+ withChips: { type: Boolean, default: !1 },
251
+ error: {},
252
+ hasReset: { type: Boolean },
253
+ name: {},
254
+ hasLargeDropdown: { type: Boolean, default: !1 },
255
+ showSuffixInClosedInput: { type: Boolean },
256
+ showSuffixLabelInInput: { type: Boolean },
257
+ showSubLabelInInput: { type: Boolean, default: !1 },
258
+ condensed: { type: Boolean },
259
+ form: {},
260
+ isInputReadOnly: { type: Boolean, default: !0 },
261
+ textContent: { default: () => ({
262
+ placeholderSingleOpen: "Search",
263
+ placeholderSingleEmpty: "Select an option",
264
+ placeholderMultipleOpen: "Search",
265
+ placeholderMultipleEmpty: "Select one or more options",
266
+ buttonAddLabel: "Add",
267
+ buttonClearLabel: "Reset",
268
+ buttonDoneLabel: "Done"
269
+ }) }
270
+ },
271
+ emits: ["update:inputModel", "update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"],
272
+ setup(e, { emit: C }) {
273
+ var L;
274
+ const o = e, $ = C, M = (L = Ce()) == null ? void 0 : L.vnode.props, y = Z(o, "inputModel", $), u = Z(o, "singleModelValue", $), h = Z(o, "multiModelValue", $), R = p(() => d.value ? h.value ?? [] : u.value ? [u.value] : []), N = G(o.multiModelValue ?? []), d = p(() => Array.isArray(o.multiModelValue)), g = p({
275
+ get: () => d.value ? N.value ?? [] : typeof u.value == "string" ? [u.value] : [],
276
+ set(l) {
277
+ d.value ? N.value = l : u.value = (l == null ? void 0 : l[0]) ?? "";
278
+ }
279
+ }), f = G(!1), Y = Ae(), B = G(), w = G(), H = we(Pe), J = (l) => o.options.filter((t) => l.some((r) => t.value === r)), K = p(() => J(g.value)), v = p(() => K.value[0]), fe = p(() => de.value[0]), le = p(
280
+ () => {
281
+ var l;
282
+ return !f.value && !d.value && ((l = v.value) == null ? void 0 : l.labelPrefixComponent);
283
+ }
284
+ ), ve = !!(M != null && M.onAddOption), me = () => {
285
+ $("add-option"), D();
286
+ }, be = p(() => {
287
+ var l, t, r, a;
288
+ if (!d.value) {
289
+ if (v.value)
290
+ return (l = v.value) == null ? void 0 : l.label;
291
+ if (K.value.length === 0)
292
+ return o.textContent.placeholderSingleEmpty;
293
+ }
294
+ if (d.value) {
295
+ if (K.value.length === 1)
296
+ return (t = v.value) == null ? void 0 : t.label;
297
+ if (K.value.length >= 2)
298
+ return `${(r = v.value) == null ? void 0 : r.label} +${K.value.length - 1}`;
299
+ if (K.value.length === 0)
300
+ return o.textContent.placeholderMultipleEmpty;
301
+ }
302
+ return (a = fe.value) == null ? void 0 : a.label;
303
+ }), D = () => {
304
+ d.value, f.value = !1;
305
+ }, te = ({
306
+ value: l,
307
+ checked: t
308
+ }) => {
309
+ let r;
310
+ d.value ? r = t ? [...g.value, l] : g.value.filter((a) => a !== l) : (r = [l], f.value = !1), g.value = r, $("change");
311
+ }, ne = p(() => o.disabled ? !1 : !!(o.addOnly && !Ke(N.value, o.multiModelValue) || !o.addOnly && g.value.length > 0 && !(g.value.length === 1 && g.value[0] === ""))), ae = () => {
312
+ if (o.addOnly) {
313
+ N.value = R.value, y.value = "", D();
314
+ return;
315
+ }
316
+ g.value = [], N.value = [], y.value && (y.value = ""), D();
317
+ }, oe = () => B.value ? Array.from(
318
+ B.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
319
+ ) : [], se = () => {
320
+ var l;
321
+ let t = document.activeElement;
322
+ for (; (l = t == null ? void 0 : t.shadowRoot) != null && l.activeElement; )
323
+ t = t.shadowRoot.activeElement;
324
+ return t;
325
+ }, Q = () => {
326
+ if (!w.value) return null;
327
+ let l = w.value.querySelector("input");
328
+ if (l) return l;
329
+ const t = w.value.querySelectorAll("*");
330
+ for (const r of t)
331
+ if (r.shadowRoot && (l = r.shadowRoot.querySelector("input"), l))
332
+ return l;
333
+ return null;
334
+ }, pe = (l) => {
335
+ var t, r;
336
+ if (!f.value) return;
337
+ const a = oe(), I = Q();
338
+ if (se() === I)
339
+ switch (l.key) {
340
+ case "ArrowDown":
341
+ a.length > 0 && (l.preventDefault(), (t = a[0]) == null || t.focus());
342
+ break;
343
+ case "Tab":
344
+ !l.shiftKey && a.length > 0 && (l.preventDefault(), (r = a[0]) == null || r.focus());
345
+ break;
346
+ case "Escape":
347
+ l.preventDefault(), D();
348
+ break;
349
+ }
350
+ }, ye = (l) => {
351
+ var t, r, a, I;
352
+ const S = oe(), X = se(), V = S.indexOf(X), A = Q();
353
+ switch (l.key) {
354
+ case "ArrowDown":
355
+ V < S.length - 1 && (l.preventDefault(), (t = S[V + 1]) == null || t.focus());
356
+ break;
357
+ case "ArrowUp":
358
+ l.preventDefault(), V <= 0 ? A == null || A.focus() : (r = S[V - 1]) == null || r.focus();
359
+ break;
360
+ case "Tab":
361
+ l.shiftKey ? V <= 0 ? (l.preventDefault(), A == null || A.focus()) : (l.preventDefault(), (a = S[V - 1]) == null || a.focus()) : V >= S.length - 1 ? (l.preventDefault(), D(), A == null || A.focus()) : (l.preventDefault(), (I = S[V + 1]) == null || I.focus());
362
+ break;
363
+ case "Escape":
364
+ l.preventDefault(), D(), Ee(() => {
365
+ A == null || A.focus();
366
+ });
367
+ break;
368
+ }
369
+ };
370
+ Le("mousedown", (l) => {
371
+ const t = l.composedPath();
372
+ B.value && t.includes(B.value) || w.value && t.includes(w.value) || f.value && D();
373
+ });
374
+ const { floatingStyles: he } = Be(w, B, {
375
+ placement: "bottom",
376
+ middleware: ({ offset: l, flip: t }) => [
377
+ l(4),
378
+ t({
379
+ mainAxis: !0
380
+ })
381
+ ]
382
+ }), ue = ze("search-select-options-"), { width: xe } = Me(w), ge = () => {
383
+ const l = Q();
384
+ l && l.focus();
385
+ }, ie = p(() => o.options.map((l) => ({
386
+ ...l,
387
+ checked: K.value.some((t) => t.value === l.value),
388
+ disabled: o.disabled || !o.disabled && o.addOnly && !!R.value.includes(l.value)
389
+ }))), de = p(
390
+ () => ie.value.filter((l) => {
391
+ var t;
392
+ return (t = g.value) == null ? void 0 : t.includes(l.value);
393
+ })
394
+ );
395
+ return (l, t) => {
396
+ var r;
397
+ return n(), b(j, null, [
398
+ c("div", {
399
+ ref_key: "wrapperRef",
400
+ ref: w,
401
+ class: k(["relative flex items-end", {
402
+ rootClass: e.rootClass,
403
+ "z-30": f.value,
404
+ "cursor-text": !e.disabled
405
+ }]),
406
+ role: "combobox",
407
+ "aria-expanded": f.value,
408
+ "aria-haspopup": !0,
409
+ "aria-controls": x(ue),
410
+ onKeydown: pe,
411
+ onClick: ge
412
+ }, [
413
+ E(x(Ue), {
414
+ modelValue: x(y),
415
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => Se(y) ? y.value = a : null),
416
+ readonly: e.isInputReadOnly,
417
+ required: e.required,
418
+ label: e.label,
419
+ name: e.name,
420
+ form: e.form,
421
+ "label-screen-reader-only": e.labelScreenReaderOnly,
422
+ placeholder: be.value,
423
+ class: k(["grow !outline-none", { "cursor-default": e.isInputReadOnly }]),
424
+ "wrapper-class": {
425
+ "border-transparent border-b-gray-200 focus-within:border-b relative z-10": f.value
426
+ },
427
+ "input-class": !f.value && (!d.value && x(u) || d.value && !x(Fe)(e.multiModelValue)) ? "placeholder:text-default" : "",
428
+ "suffix-class": "border-l-0 pl-0",
429
+ disabled: e.disabled,
430
+ size: e.size,
431
+ error: e.error,
432
+ "prefix-has-border": !1,
433
+ "aria-autocomplete": "list",
434
+ onFocus: t[1] || (t[1] = () => f.value = !0),
435
+ onBlur: t[2] || (t[2] = (a) => l.$emit("blur"))
436
+ }, $e({
437
+ "label-suffix": m(() => [
438
+ P(l.$slots, "label-suffix")
439
+ ]),
440
+ suffix: m(() => {
441
+ var a, I;
442
+ return [
443
+ c("div", ml, [
444
+ !f.value && !d.value && ((a = v.value) != null && a.labelInlineComponent) && (!e.showSuffixInClosedInput || e.showSuffixLabelInInput) ? (n(), i(O(v.value.labelInlineComponent.component), T(z({ key: 0 }, v.value.labelInlineComponent.props)), null, 16)) : s("", !0),
445
+ !f.value && !d.value && ((I = v.value) != null && I.labelSuffixComponent) && e.showSuffixInClosedInput ? (n(), i(O(v.value.labelSuffixComponent.component), T(z({ key: 1 }, v.value.labelSuffixComponent.props)), null, 16)) : s("", !0),
446
+ !e.disabled && (x(y) || ne.value && e.hasReset) ? (n(), i(qe, {
447
+ key: 2,
448
+ icon: "close",
449
+ size: "xs",
450
+ intent: "subtle",
451
+ type: "button",
452
+ onClick: ae
453
+ })) : s("", !0),
454
+ E(Te, {
455
+ icon: "keyboard_arrow_down",
456
+ size: "xs",
457
+ class: k(["transition-transform", { "rotate-180": f.value }])
458
+ }, null, 8, ["class"])
459
+ ])
460
+ ];
461
+ }),
462
+ _: 2
463
+ }, [
464
+ e.showSubLabelInInput && ((r = v.value) != null && r.subLabel) ? {
465
+ name: "input",
466
+ fn: m(() => [
467
+ c("div", {
468
+ class: k(["pointer-events-none absolute inset-0 bg-white", { "px-4 py-3": e.size === "xl" }])
469
+ }, [
470
+ E(W, {
471
+ tag: "span",
472
+ class: "block",
473
+ variant: "body-sm",
474
+ weight: "semibold"
475
+ }, {
476
+ default: m(() => {
477
+ var a;
478
+ return [
479
+ q(F((a = v.value) == null ? void 0 : a.label), 1)
480
+ ];
481
+ }),
482
+ _: 1
483
+ }),
484
+ E(W, {
485
+ tag: "span",
486
+ class: "block",
487
+ variant: "body-xs",
488
+ color: "secondary"
489
+ }, {
490
+ default: m(() => {
491
+ var a;
492
+ return [
493
+ q(F((a = v.value) == null ? void 0 : a.subLabel), 1)
494
+ ];
495
+ }),
496
+ _: 1
497
+ })
498
+ ], 2)
499
+ ]),
500
+ key: "0"
501
+ } : void 0,
502
+ l.$slots.tooltip ? {
503
+ name: "tooltip",
504
+ fn: m(() => [
505
+ P(l.$slots, "tooltip")
506
+ ]),
507
+ key: "1"
508
+ } : void 0,
509
+ le.value || l.$slots.prefix ? {
510
+ name: "prefix",
511
+ fn: m(() => {
512
+ var a;
513
+ return [
514
+ c("div", fl, [
515
+ l.$slots.prefix ? P(l.$slots, "prefix", {}, void 0, void 0, 0) : le.value && ((a = v.value) != null && a.labelPrefixComponent) ? (n(), b("div", vl, [
516
+ (n(), i(O(v.value.labelPrefixComponent.component), T(Ie(v.value.labelPrefixComponent.props)), null, 16))
517
+ ])) : s("", !0)
518
+ ])
519
+ ];
520
+ }),
521
+ key: "2"
522
+ } : void 0,
523
+ l.$slots.helper ? {
524
+ name: "helper",
525
+ fn: m(() => [
526
+ P(l.$slots, "helper")
527
+ ]),
528
+ key: "3"
529
+ } : void 0
530
+ ]), 1032, ["modelValue", "readonly", "required", "label", "name", "form", "label-screen-reader-only", "placeholder", "wrapper-class", "input-class", "class", "disabled", "size", "error"])
531
+ ], 42, cl),
532
+ e.withChips ? (n(), b("div", bl, [
533
+ (n(!0), b(j, null, ce(de.value, ({ value: a, label: I, disabled: S }) => (n(), i(Ne, {
534
+ key: a,
535
+ removable: !e.disabled && !S,
536
+ onRemoved: (X) => te({ value: a, checked: !1 })
537
+ }, {
538
+ default: m(() => [
539
+ c("span", { innerHTML: I }, null, 8, pl)
540
+ ]),
541
+ _: 2
542
+ }, 1032, ["removable", "onRemoved"]))), 128))
543
+ ])) : s("", !0),
544
+ x(Y) && x(H) ? (n(), i(Oe, {
545
+ key: 1,
546
+ to: x(H)
547
+ }, [
548
+ f.value && !e.disabled ? (n(), b("div", {
549
+ key: 0,
550
+ id: x(ue),
551
+ ref_key: "optionsRef",
552
+ ref: B,
553
+ role: "listbox",
554
+ style: re(x(he)),
555
+ class: "z-70 rounded bg-white drop-shadow-md",
556
+ onMouseenter: t[3] || (t[3] = (a) => f.value = !0),
557
+ onKeydown: ye
558
+ }, [
559
+ c("div", {
560
+ class: "rounded pt-0",
561
+ style: re({ width: `${x(xe)}px` })
562
+ }, [
563
+ E(rl, {
564
+ options: ie.value,
565
+ multiple: d.value,
566
+ model: g.value,
567
+ "add-only": e.addOnly,
568
+ "allows-multiple-values": !!d.value,
569
+ condensed: e.condensed,
570
+ "has-large-dropdown": e.hasLargeDropdown,
571
+ "input-value": x(y),
572
+ onValueChanged: te
573
+ }, {
574
+ "list-footer-content": m(() => [
575
+ ve ? (n(), i(_, {
576
+ key: 0,
577
+ intent: "subtle",
578
+ class: "w-full",
579
+ type: "button",
580
+ "icon-prefix": "add",
581
+ onClick: me
582
+ }, {
583
+ default: m(() => [
584
+ q(F(e.textContent.buttonAddLabel), 1)
585
+ ]),
586
+ _: 1
587
+ })) : s("", !0),
588
+ d.value ? (n(), b("div", {
589
+ key: 1,
590
+ class: k(["flex items-center justify-between", { "py-2": !l.$slots["list-footer-content"] }])
591
+ }, [
592
+ ne.value ? (n(), i(_, {
593
+ key: 0,
594
+ type: "button",
595
+ intent: "subtle",
596
+ size: "sm",
597
+ class: "ml-2",
598
+ onClick: ae
599
+ }, {
600
+ default: m(() => [
601
+ q(F(e.textContent.buttonClearLabel), 1)
602
+ ]),
603
+ _: 1
604
+ })) : s("", !0),
605
+ c("div", null, [
606
+ P(l.$slots, "list-footer-content")
607
+ ]),
608
+ E(_, {
609
+ type: "button",
610
+ size: "sm",
611
+ class: "mr-2",
612
+ "data-testid": x(He),
613
+ onClick: D
614
+ }, {
615
+ default: m(() => [
616
+ q(F(e.textContent.buttonDoneLabel), 1)
617
+ ]),
618
+ _: 1
619
+ }, 8, ["data-testid"])
620
+ ], 2)) : P(l.$slots, "list-footer-content", {}, void 0, void 0, 2)
621
+ ]),
622
+ _: 3
623
+ }, 8, ["options", "multiple", "model", "add-only", "allows-multiple-values", "condensed", "has-large-dropdown", "input-value"])
624
+ ], 4)
625
+ ], 44, yl)) : s("", !0)
626
+ ], 8, ["to"])) : s("", !0)
627
+ ], 64);
628
+ };
629
+ }
630
+ }), Bl = hl;
631
+ export {
632
+ Bl as S
633
+ };
@@ -332,10 +332,10 @@ function Pe(e, t, n, o = {}) {
332
332
  });
333
333
  }
334
334
  export {
335
- Ee as a,
336
- Ie as b,
337
- Se as c,
338
- I as d,
335
+ I as a,
336
+ Se as b,
337
+ Ee as c,
338
+ Ie as d,
339
339
  _e as e,
340
340
  pe as f,
341
341
  xe as g,