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

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 (636) hide show
  1. package/README.md +440 -52
  2. package/dist/Alert.vue.es-ZPG49yR_.mjs +158 -0
  3. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  4. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  5. package/dist/AuthProvider.handle-SRR_04XS.mjs +50 -0
  6. package/dist/Avatar.vue.es-geDQsZwu.mjs +81 -0
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +58 -0
  8. package/dist/Button.vue.es-j7iYlqtJ.mjs +368 -0
  9. package/dist/ChargeOnDemandModal-CR01PkP_.mjs +964 -0
  10. package/dist/Checkout.entry.ce-CopWuLJC.mjs +4169 -0
  11. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +828 -0
  12. package/dist/Chip.vue.es-Dxx_0dte.mjs +128 -0
  13. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  14. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  15. package/dist/ContextMenu.vue.es-BJO4U47Q.mjs +572 -0
  16. package/dist/CustomerBillingInformation.vue.es-CmNpqcBw.mjs +153 -0
  17. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  18. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +136 -0
  19. package/dist/CustomerShippingAddresses-BRPukhRI.mjs +397 -0
  20. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +2936 -0
  21. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  22. package/dist/DividerText.vue.es-BusbyeAI.mjs +56 -0
  23. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs +55 -0
  24. package/dist/ErrorNotification.vue.es-F068p7PY.mjs +31 -0
  25. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  26. package/dist/FormMessage.vue.es-CwMQpIAW.mjs +39 -0
  27. package/dist/IconButton.vue.es-D8DtBW9i.mjs +56 -0
  28. package/dist/IconTitle.vue.es-6VJtjJX2.mjs +103 -0
  29. package/dist/Input.vue.es-BLyHcmu4.mjs +250 -0
  30. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs +93 -0
  31. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs +56 -0
  32. package/dist/InvoicePreview.vue.es-Cpf66_xV.mjs +286 -0
  33. package/dist/InvoicePricingClauseChip.vue.es-CDrAE901.mjs +124 -0
  34. package/dist/Label.vue.es-es7ZUBSP.mjs +113 -0
  35. package/dist/Modal.vue.es-eeR9FmvQ.mjs +393 -0
  36. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +441 -0
  37. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs +48 -0
  38. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs +250 -0
  39. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs +51 -0
  40. package/dist/PaymentHistoryBlock-CN42ewCn.mjs +4 -0
  41. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs +93 -0
  42. package/dist/PaymentIntegrationForm-D3Ye7LZ5.mjs +4 -0
  43. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +181 -0
  44. package/dist/PaymentIntegrationFormAdyen-Fm-diCCO.mjs +926 -0
  45. package/dist/PaymentIntegrationFormStripe-BANBL6za.mjs +758 -0
  46. package/dist/PaymentMethod.vue.es-t3-VyoE8.mjs +643 -0
  47. package/dist/PaymentMethodForm-CqP3GoNj.mjs +4 -0
  48. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +161 -0
  49. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs +169 -0
  50. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs +174 -0
  51. package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
  52. package/dist/PortalLinkUnverified-Cp60_kRJ.mjs +52 -0
  53. package/dist/PortalNotAvailable-DzSQnfzw.mjs +25 -0
  54. package/dist/PricingGroupRangeInput.vue.es-Srq_3cga.mjs +578 -0
  55. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
  56. package/dist/RadioGroupExtended.vue.es-BbBMDf6l.mjs +176 -0
  57. package/dist/Section.vue.es-Oqn1wGPZ.mjs +72 -0
  58. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs +60 -0
  59. package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +418 -0
  60. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  61. package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
  62. package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +1044 -0
  63. package/dist/SubscriptionSchedules-DMxX3GpK.mjs +4 -0
  64. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +5200 -0
  65. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +203 -0
  66. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs +319 -0
  67. package/dist/TooltipParagraph.vue.es-BES3zsYN.mjs +132 -0
  68. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs +31 -0
  69. package/dist/TrialChip.vue.es-C51z1ZiA.mjs +35 -0
  70. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  71. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  72. package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
  73. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  74. package/dist/adyen-Bugab0JE.mjs +4 -0
  75. package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
  76. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  77. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  78. package/dist/amount-CondixVt.mjs +36 -0
  79. package/dist/api.es-qgvzNMU-.mjs +43 -0
  80. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  81. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  82. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  83. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  84. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  85. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  86. package/dist/cn.es-B8acFrov.mjs +2936 -0
  87. package/dist/comparators.es-C8rHpb70.mjs +157 -0
  88. package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
  89. package/dist/components/BillingInformation/BillingInformation.mjs +82 -0
  90. package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
  91. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +510 -0
  92. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
  93. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +87 -0
  94. package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
  95. package/dist/components/Invoice/Invoice.mjs +2930 -0
  96. package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
  97. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +110 -0
  98. package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
  99. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
  100. package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
  101. package/dist/components/InvoicesList/InvoicesList.mjs +88 -0
  102. package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
  103. package/dist/components/PaymentHistory/PaymentHistory.mjs +118 -0
  104. package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
  105. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +98 -0
  106. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
  107. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +88 -0
  108. package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
  109. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +108 -0
  110. package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
  111. package/dist/components/WalletBalances/WalletBalances.mjs +114 -0
  112. package/dist/configuration-BytDBAWs.mjs +14 -0
  113. package/dist/core/action-request.types.d.ts +1 -58
  114. package/dist/core/configuration.d.ts +1 -3
  115. package/dist/core/index.d.ts +1 -10
  116. package/dist/core/index.mjs +151 -0
  117. package/dist/core/registry.ce.d.ts +1 -2
  118. package/dist/core/registry.d.ts +1 -6
  119. package/dist/core/types.d.ts +1 -111
  120. package/dist/countryData.es-BegoD-cZ.mjs +252 -0
  121. package/dist/customElements-DK4GKNJG.mjs +5072 -0
  122. package/dist/customer-lf6S5DBR.mjs +31 -0
  123. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  124. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  125. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  126. package/dist/de-DE-Cyj_NtiI.mjs +435 -0
  127. package/dist/de-DE-UJ6X6jXu.mjs +306 -0
  128. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  129. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  130. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  131. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  132. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  133. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  134. package/dist/formControl-BZQLHnOO.mjs +749 -0
  135. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  136. package/dist/fr-FR-CRFoWQ7J.mjs +435 -0
  137. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  138. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  139. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  140. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
  141. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  142. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  143. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  144. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  145. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  146. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  147. package/dist/index-CTwLxoOS.mjs +7250 -0
  148. package/dist/index.d.ts +1 -15
  149. package/dist/index.es-BrVTOW5D.mjs +345 -0
  150. package/dist/index.mjs +42 -0
  151. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  152. package/dist/invoices-DdREPDXV.mjs +123 -0
  153. package/dist/it-IT-DObZEc-U.mjs +435 -0
  154. package/dist/it-IT-DnJP5URH.mjs +306 -0
  155. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  156. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  157. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  158. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  159. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  160. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  161. package/dist/nl-NL-C02xHilF.mjs +435 -0
  162. package/dist/nl-NL-q9xfTZF0.mjs +321 -0
  163. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  164. package/dist/object.es-8aLDIncs.mjs +12 -0
  165. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  166. package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
  167. package/dist/paymentMethods-8w-ccfY_.mjs +77 -0
  168. package/dist/paymentMethods-Goa25rTs.mjs +61 -0
  169. package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
  170. package/dist/payments-CKpU1K3t.mjs +68 -0
  171. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  172. package/dist/pricing-CEaZGgKe.mjs +29 -0
  173. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  174. package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
  175. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  176. package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +233 -0
  177. package/dist/pricingPlanSchedules-DSMptcAh.mjs +38 -0
  178. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  179. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  180. package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
  181. package/dist/screens/Checkout/Checkout.mjs +5 -0
  182. package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
  183. package/dist/screens/CustomerOverview/CustomerOverview.mjs +201 -0
  184. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
  185. package/dist/screens/PayInvoice/PayInvoice.mjs +865 -0
  186. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
  187. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +224 -0
  188. package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
  189. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +5 -0
  190. package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
  191. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +624 -0
  192. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  193. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  194. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  195. package/dist/sorting.es-C0pdMgX0.mjs +77 -0
  196. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  197. package/dist/subscription-BwzkagDI.mjs +212 -0
  198. package/dist/subscriptions-B5bH8hsI.mjs +66 -0
  199. package/dist/taxId.es-e6NEvprh.mjs +243 -0
  200. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  201. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  202. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  203. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +21 -0
  204. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +20 -0
  205. package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
  206. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +10 -0
  207. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
  208. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
  209. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +48 -0
  210. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +10 -0
  211. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  212. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  213. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  214. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  215. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  216. package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
  217. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +78 -0
  218. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +11 -0
  219. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
  220. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +25 -0
  221. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +23 -0
  222. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +12 -0
  223. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +9 -0
  224. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +11 -0
  225. package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
  226. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +137 -0
  227. package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
  228. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
  229. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +68 -0
  230. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +49 -0
  231. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
  232. package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
  233. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
  234. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
  235. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +13 -0
  236. package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
  237. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  238. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +32 -0
  239. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +20 -0
  240. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +16 -0
  241. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -0
  242. package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
  243. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +3 -0
  244. package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
  245. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +14 -0
  246. package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
  247. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  248. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
  249. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +14 -0
  250. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  251. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +12 -0
  252. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +20 -0
  253. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
  254. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
  255. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
  256. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +14 -0
  257. package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
  258. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +17 -0
  259. package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
  260. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +14 -0
  261. package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
  262. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
  263. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +81 -0
  264. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
  265. package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
  266. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -0
  267. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
  268. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +16 -0
  269. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
  270. package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
  271. package/dist/types/components/providers/Provider/Provider.vue.d.ts +26 -0
  272. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  273. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +13 -0
  274. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +14 -0
  275. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +14 -0
  276. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
  277. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +14 -0
  278. package/dist/types/components/providers/index.d.ts +9 -0
  279. package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
  280. package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
  281. package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
  282. package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
  283. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +20 -0
  284. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
  285. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +9 -0
  286. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  287. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +56 -0
  288. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  289. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
  290. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
  291. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
  292. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
  293. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
  294. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
  295. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
  296. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
  297. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
  298. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
  299. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +22 -0
  300. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
  301. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
  302. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +20 -0
  303. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
  304. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +12 -0
  305. package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
  306. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +53 -0
  307. package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
  308. package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
  309. package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
  310. package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
  311. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +25 -0
  312. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +5 -0
  313. package/dist/types/composables/useInvoicePreview.types.d.ts +10 -0
  314. package/dist/types/config/config.beta.d.ts +2 -0
  315. package/dist/types/config/config.dev.d.ts +2 -0
  316. package/dist/types/config/config.live.d.ts +2 -0
  317. package/dist/types/config/internalEnvironments.d.ts +11 -0
  318. package/dist/types/config/internalEnvironments.published.d.ts +7 -0
  319. package/dist/types/config/lib.d.ts +6 -0
  320. package/dist/types/config/types.d.ts +13 -0
  321. package/dist/types/index.d.ts +23 -0
  322. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
  323. package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
  324. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +9 -0
  325. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
  326. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
  327. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
  328. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
  329. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
  330. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +21 -0
  331. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  332. package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
  333. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
  334. package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
  335. package/dist/types/public/components/Invoice/Invoice.types.d.ts +25 -0
  336. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
  337. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +6 -0
  338. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +7 -0
  339. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
  340. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
  341. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +15 -0
  342. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
  343. package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
  344. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +39 -0
  345. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
  346. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +6 -0
  347. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +8 -0
  348. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
  349. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
  350. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
  351. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
  352. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +6 -0
  353. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +7 -0
  354. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
  355. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
  356. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
  357. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
  358. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +3 -0
  359. package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
  360. package/dist/types/public/core/action-request.types.d.ts +60 -0
  361. package/dist/types/public/core/configuration.d.ts +2 -0
  362. package/dist/types/public/core/index.d.ts +14 -0
  363. package/dist/types/public/core/registry.ce.d.ts +8 -0
  364. package/dist/types/public/core/registry.d.ts +3 -0
  365. package/dist/types/public/core/types.d.ts +130 -0
  366. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
  367. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +11 -0
  368. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
  369. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
  370. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
  371. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
  372. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
  373. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
  374. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +27 -0
  375. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
  376. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
  377. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
  378. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  379. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
  380. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
  381. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
  382. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
  383. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
  384. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
  385. package/dist/types/public/screens/types.d.ts +4 -0
  386. package/dist/types/public/types/index.d.ts +23 -0
  387. package/dist/types/services/invoices.types.d.ts +26 -0
  388. package/dist/types/services/paymentMethods.types.d.ts +25 -0
  389. package/dist/types/services/requests.types.d.ts +41 -0
  390. package/dist/types/translations/supported.d.ts +1 -0
  391. package/dist/types/types/EntryBaseProps.d.ts +10 -0
  392. package/dist/types/types/errors.d.ts +13 -0
  393. package/dist/types/types/portalAuthentication.d.ts +2 -0
  394. package/dist/types/types/portalToken.d.ts +9 -0
  395. package/dist/types/types/shippingAddress.d.ts +9 -0
  396. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  397. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +118 -0
  398. package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
  399. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  400. package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
  401. package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
  402. package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
  403. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
  404. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
  405. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
  406. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +82 -0
  407. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +43 -0
  408. package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
  409. package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
  410. package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
  411. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
  412. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
  413. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
  414. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +47 -0
  415. package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
  416. package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
  417. package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
  418. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +15 -0
  419. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
  420. package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
  421. package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
  422. package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
  423. package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
  424. package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
  425. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +51 -0
  426. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
  427. package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
  428. package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
  429. package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
  430. package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
  431. package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
  432. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  433. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +22 -0
  434. package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
  435. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
  436. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
  437. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
  438. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
  439. package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
  440. package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
  441. package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
  442. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +375 -0
  443. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +379 -0
  444. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +32 -0
  445. package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
  446. package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
  447. package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
  448. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
  449. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
  450. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
  451. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
  452. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
  453. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  454. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
  455. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
  456. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
  457. package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
  458. package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
  459. package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
  460. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  461. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
  462. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +127 -0
  463. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
  464. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
  465. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
  466. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
  467. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
  468. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +132 -0
  469. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +134 -0
  470. package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
  471. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
  472. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
  473. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
  474. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
  475. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
  476. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +135 -0
  477. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  478. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +111 -0
  479. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
  480. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
  481. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +94 -0
  482. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
  483. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
  484. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
  485. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +47 -0
  486. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +24 -0
  487. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
  488. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +62 -0
  489. package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
  490. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +46 -0
  491. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +128 -0
  492. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +81 -0
  493. package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
  494. package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
  495. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
  496. package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
  497. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  498. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  499. package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
  500. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
  501. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
  502. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
  503. package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
  504. package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
  505. package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
  506. package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
  507. package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
  508. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +50 -0
  509. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
  510. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
  511. package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
  512. package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
  513. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +222 -0
  514. package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
  515. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
  516. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  517. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  518. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  519. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  520. package/dist/useActionDispatchProvider-ChAHdwR8.mjs +9 -0
  521. package/dist/useCustomer-CTMhg1nd.mjs +20 -0
  522. package/dist/useCustomerFormLabels-D4oDnfxA.mjs +1173 -0
  523. package/dist/useIncrementalLoading-CBVutPH8.mjs +60 -0
  524. package/dist/useInvoiceData-qUGbBAQK.mjs +21 -0
  525. package/dist/useInvoicesList-wJvZAJpW.mjs +674 -0
  526. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  527. package/dist/useLoadInitialData-UvfYXgbi.mjs +15 -0
  528. package/dist/usePaymentFormHold-Cwdr-vyc.mjs +181 -0
  529. package/dist/usePaymentMethodAvailability-35l4pWdH.mjs +117 -0
  530. package/dist/usePaymentMethods-De7hlLHo.mjs +21 -0
  531. package/dist/usePayments-hWS7fnOx.mjs +323 -0
  532. package/dist/usePortal-DUfD6hrA.mjs +7 -0
  533. package/dist/useService-BwzIBIRp.mjs +56 -0
  534. package/dist/useTimePeriod.es-BUorDLVK.mjs +93 -0
  535. package/dist/useViewport-psZejz_H.mjs +19 -0
  536. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  537. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  538. package/dist/wallets.es-eH2C2ygn.mjs +102 -0
  539. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  540. package/package.json +105 -74
  541. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
  542. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
  543. package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
  544. package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
  545. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
  546. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
  547. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
  548. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
  549. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
  550. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
  551. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
  552. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
  553. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
  554. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
  555. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
  556. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
  557. package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
  558. package/dist/_Uint8Array-DxISR7XF.js +0 -1
  559. package/dist/auto-DzZuCneB.mjs +0 -14387
  560. package/dist/auto-PpnAChnH.js +0 -6
  561. package/dist/cloneDeep-DranHQkY.js +0 -1
  562. package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
  563. package/dist/component-DEo_ndpK.mjs +0 -58668
  564. package/dist/component-XHQYFLA_.js +0 -1
  565. package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
  566. package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
  567. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
  568. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
  569. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
  570. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
  571. package/dist/components/Invoice/Invoice.cjs.js +0 -1
  572. package/dist/components/Invoice/Invoice.es.js +0 -582
  573. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
  574. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
  575. package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
  576. package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
  577. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
  578. package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
  579. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
  580. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
  581. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
  582. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
  583. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
  584. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
  585. package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
  586. package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
  587. package/dist/core/index.cjs.js +0 -1
  588. package/dist/core/index.es.js +0 -6
  589. package/dist/index-2jo9BSPM.js +0 -1
  590. package/dist/index-BFZ0dPh9.mjs +0 -179
  591. package/dist/index-CWSXne1Q.js +0 -1
  592. package/dist/index-CzL1ZcGi.mjs +0 -85
  593. package/dist/index-D3v7hAtc.mjs +0 -253
  594. package/dist/index-DRdBmZ2-.js +0 -1
  595. package/dist/index.cjs.js +0 -1
  596. package/dist/index.es.js +0 -45
  597. package/dist/invoices-BW1notiX.js +0 -1
  598. package/dist/invoices-M5oYVch6.mjs +0 -84
  599. package/dist/paymentMethods-BX80t2zk.js +0 -1
  600. package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
  601. package/dist/payments-BHv4hCeJ.js +0 -1
  602. package/dist/payments-CosaPZwo.mjs +0 -47
  603. package/dist/registry-BwKEYOf7.js +0 -1
  604. package/dist/registry-Cag1Jj7P.mjs +0 -143
  605. package/dist/screens/Checkout/Checkout.cjs.js +0 -1
  606. package/dist/screens/Checkout/Checkout.es.js +0 -5142
  607. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
  608. package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
  609. package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
  610. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
  611. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
  612. package/dist/solvimon-web.css +0 -1
  613. package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
  614. package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
  615. package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
  616. package/dist/subscriptions-CnxvsBXd.js +0 -1
  617. package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
  618. package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
  619. package/dist/useCustomer-B0NK96dA.js +0 -1
  620. package/dist/useCustomer-DlcjY3fP.mjs +0 -45
  621. package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
  622. package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
  623. package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
  624. package/dist/useIncrementalLoading-D60Vttil.js +0 -1
  625. package/dist/useInvoiceData-CcueV3We.mjs +0 -51
  626. package/dist/useInvoiceData-DstXfI7t.js +0 -1
  627. package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
  628. package/dist/useInvoicesList-DmzjgMlW.js +0 -1
  629. package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
  630. package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
  631. package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
  632. package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
  633. package/dist/useService-B4qv5N2D.mjs +0 -281
  634. package/dist/useService-D-CUtlp3.js +0 -1
  635. package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
  636. package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
@@ -0,0 +1,1173 @@
1
+ import { defineComponent as _, openBlock as n, createElementBlock as x, createVNode as N, unref as w, withCtx as S, renderSlot as U, toDisplayString as F, createCommentVNode as m, createElementVNode as I, computed as d, withKeys as ml, withModifiers as Ue, normalizeClass as R, Fragment as le, mergeProps as E, createBlock as p, resolveDynamicComponent as P, normalizeProps as B, createTextVNode as j, renderList as Ge, inject as vl, getCurrentInstance as hl, ref as q, watch as xe, useModel as He, useSlots as pl, createSlots as we, guardReactiveProps as Be, Teleport as bl, normalizeStyle as Ee, mergeModels as ke, isRef as Re, useId as yl } from "vue";
2
+ import { u as ie, c as gl, d as xl } from "./index.es-BrVTOW5D.mjs";
3
+ import { c as Ke } from "./countryData.es-BegoD-cZ.mjs";
4
+ import { d as re, S as Cl, a as kl } from "./customElements-DK4GKNJG.mjs";
5
+ import { e as Se } from "./sanitization.es-C6dbuxUJ.mjs";
6
+ import { _ as J, s as Ne, u as Sl } from "./sorting.es-C0pdMgX0.mjs";
7
+ import { u as wl } from "./useLazyFloating.es-CycqRyeb.mjs";
8
+ import { _ as Te } from "./IconButton.vue.es-D8DtBW9i.mjs";
9
+ import { a as De, _ as Ce } from "./Button.vue.es-j7iYlqtJ.mjs";
10
+ import { _ as Il } from "./Chip.vue.es-Dxx_0dte.mjs";
11
+ import { i as ze, a as Ll } from "./useService-BwzIBIRp.mjs";
12
+ import { c as Al } from "./cn.es-B8acFrov.mjs";
13
+ import { _ as Ze } from "./Input.vue.es-BLyHcmu4.mjs";
14
+ import { _ as Ml } from "./FormMessage.vue.es-CwMQpIAW.mjs";
15
+ function Vl(e, r, i = []) {
16
+ return [...e].sort((s, a) => {
17
+ for (let f = 0; f < r.length; f++) {
18
+ const v = r[f], b = typeof v == "function" ? v : (T) => T[v], o = i[f] === "desc" ? -1 : 1, A = b(s), M = b(a);
19
+ if (!(A == null && M == null)) {
20
+ if (A == null) return o;
21
+ if (M == null || A < M) return -o;
22
+ if (A > M) return o;
23
+ }
24
+ }
25
+ return 0;
26
+ });
27
+ }
28
+ const $l = { class: "flex items-center pt-1" }, Ol = {
29
+ key: 0,
30
+ class: "ml-1 normal-case"
31
+ }, Pl = /* @__PURE__ */ _({
32
+ __name: "SearchSelectInputOptionsDivider",
33
+ props: {
34
+ suffix: {}
35
+ },
36
+ setup(e) {
37
+ return (r, i) => (n(), x("div", $l, [
38
+ N(w(re), {
39
+ tag: "span",
40
+ variant: "caps-heading",
41
+ "no-spacing": "",
42
+ class: "pl-4 pr-1.5"
43
+ }, {
44
+ default: S(() => [
45
+ U(r.$slots, "default"),
46
+ e.suffix ? (n(), x("span", Ol, F(e.suffix), 1)) : m("", !0)
47
+ ]),
48
+ _: 3
49
+ }),
50
+ i[0] || (i[0] = I("div", { class: "grow border-t" }, null, -1))
51
+ ]));
52
+ }
53
+ }), Bl = (e) => `checkbox-item-${e}`, El = "select-search-done-button", Rl = ["aria-selected", "aria-disabled", "data-testid", "onKeydown"], Nl = ["id", "value", "checked", "disabled"], Tl = ["for"], Dl = { class: "flex min-w-0 items-center gap-1" }, zl = { class: "flex min-w-0 flex-grow flex-col" }, Fl = { class: "flex min-w-0 flex-grow gap-2" }, ql = { class: "mr-8 flex min-w-0 flex-grow flex-col" }, Ul = { class: "flex min-w-0 flex-grow items-center gap-2" }, Gl = /* @__PURE__ */ _({
54
+ __name: "SearchSelectInputOption",
55
+ props: {
56
+ multiple: { type: Boolean },
57
+ search: {},
58
+ condensed: { type: Boolean },
59
+ label: {},
60
+ checked: { type: Boolean },
61
+ disabled: { type: Boolean },
62
+ subLabel: {},
63
+ labelPrefixComponent: {},
64
+ labelSuffixComponent: {},
65
+ labelInlineComponent: {},
66
+ labelBeforeSuffixComponent: {},
67
+ value: {},
68
+ labelSrOnly: { type: Boolean }
69
+ },
70
+ emits: ["value-changed"],
71
+ setup(e, { emit: r }) {
72
+ const i = r, s = e, a = (o) => {
73
+ const A = o.target, M = {
74
+ value: A.value,
75
+ checked: A.checked
76
+ };
77
+ i("value-changed", M);
78
+ }, f = () => {
79
+ s.multiple || s.disabled || i("value-changed", {
80
+ value: s.value
81
+ });
82
+ }, v = d(() => Bl(s.value)), b = d(() => Se(s.search ?? ""));
83
+ return (o, A) => (n(), x("li", {
84
+ role: "option",
85
+ "aria-selected": e.checked,
86
+ "aria-disabled": e.disabled,
87
+ class: R([{ "hover:bg-gray-100": !e.disabled }, "relative flex"]),
88
+ "data-testid": v.value,
89
+ tabindex: "0",
90
+ onClick: f,
91
+ onKeydown: ml(Ue(f, ["prevent"]), ["enter"])
92
+ }, [
93
+ e.multiple ? (n(), x(le, { key: 0 }, [
94
+ I("input", E(o.$attrs, {
95
+ id: v.value,
96
+ ref: "inputRef",
97
+ value: e.value,
98
+ checked: e.checked,
99
+ disabled: e.disabled,
100
+ type: "checkbox",
101
+ 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"],
102
+ tabindex: "-1",
103
+ onChange: a
104
+ }), null, 16, Nl),
105
+ I("label", {
106
+ for: v.value,
107
+ class: R([e.disabled ? "text-disabled" : "rounded text-default", "w-full px-4 py-3 pl-10 text-sm font-medium"])
108
+ }, [
109
+ I("div", Dl, [
110
+ e.labelPrefixComponent ? (n(), p(P(e.labelPrefixComponent.component), B(E({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : m("", !0),
111
+ I("div", zl, [
112
+ I("div", Fl, [
113
+ N(J, {
114
+ text: e.label,
115
+ search: b.value,
116
+ title: e.label,
117
+ class: R(["truncate font-semibold", { "sr-only": e.labelSrOnly }])
118
+ }, null, 8, ["text", "search", "title", "class"]),
119
+ e.labelInlineComponent ? (n(), p(P(e.labelInlineComponent.component), B(E({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : m("", !0),
120
+ e.subLabel && e.condensed ? (n(), p(J, {
121
+ key: 1,
122
+ class: "truncate text-xs text-subtle",
123
+ text: e.subLabel,
124
+ title: e.subLabel,
125
+ search: b.value
126
+ }, null, 8, ["text", "title", "search"])) : m("", !0)
127
+ ]),
128
+ e.subLabel && !e.condensed ? (n(), p(J, {
129
+ key: 0,
130
+ class: "truncate text-xs text-subtle",
131
+ text: e.subLabel,
132
+ title: e.subLabel,
133
+ search: b.value
134
+ }, null, 8, ["text", "title", "search"])) : m("", !0)
135
+ ]),
136
+ e.labelBeforeSuffixComponent ? (n(), p(P(e.labelBeforeSuffixComponent.component), B(E({ key: 1 }, e.labelBeforeSuffixComponent.props)), null, 16)) : m("", !0),
137
+ e.labelSuffixComponent ? (n(), p(P(e.labelSuffixComponent.component), B(E({ key: 2 }, e.labelSuffixComponent.props)), null, 16)) : m("", !0)
138
+ ])
139
+ ], 10, Tl)
140
+ ], 64)) : (n(), x("div", {
141
+ key: 1,
142
+ class: R(["flex w-full min-w-0 items-center gap-3 px-4 text-sm font-medium", [
143
+ e.condensed ? "p-2" : "py-2",
144
+ e.disabled ?? "cursor-not-allowed",
145
+ !e.disabled && "cursor-pointer"
146
+ ]])
147
+ }, [
148
+ e.labelPrefixComponent ? (n(), p(P(e.labelPrefixComponent.component), B(E({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : m("", !0),
149
+ I("div", ql, [
150
+ I("div", Ul, [
151
+ N(J, {
152
+ text: e.label,
153
+ search: w(Se)(e.search ?? ""),
154
+ title: e.label,
155
+ class: R(["truncate font-semibold", { "text-disabled": e.disabled }])
156
+ }, null, 8, ["text", "search", "title", "class"]),
157
+ e.labelInlineComponent ? (n(), p(P(e.labelInlineComponent.component), B(E({ key: 0 }, e.labelInlineComponent.props)), null, 16)) : m("", !0),
158
+ e.subLabel && e.condensed ? (n(), p(J, {
159
+ key: 1,
160
+ class: "truncate text-xs text-subtle",
161
+ text: e.subLabel,
162
+ title: e.subLabel,
163
+ search: b.value
164
+ }, null, 8, ["text", "title", "search"])) : m("", !0)
165
+ ]),
166
+ e.subLabel && !e.condensed ? (n(), p(J, {
167
+ key: 0,
168
+ class: "truncate text-xs text-subtle",
169
+ text: e.subLabel,
170
+ title: e.subLabel,
171
+ search: b.value
172
+ }, null, 8, ["text", "title", "search"])) : m("", !0)
173
+ ]),
174
+ e.labelBeforeSuffixComponent ? (n(), p(P(e.labelBeforeSuffixComponent.component), B(E({ key: 1 }, e.labelBeforeSuffixComponent.props)), null, 16)) : m("", !0),
175
+ e.labelSuffixComponent ? (n(), p(P(e.labelSuffixComponent.component), B(E({ key: 2 }, e.labelSuffixComponent.props)), null, 16)) : m("", !0)
176
+ ], 2))
177
+ ], 42, Rl));
178
+ }
179
+ }), Hl = { class: "flex flex-col rounded-bl rounded-br" }, Kl = {
180
+ key: 0,
181
+ class: "px-5 py-5 text-sm text-secondary"
182
+ }, Zl = { key: 0 }, Yl = ["innerHTML"], jl = { key: 0 }, Wl = /* @__PURE__ */ _({
183
+ __name: "SearchSelectInputOptions",
184
+ props: {
185
+ i18n: {},
186
+ model: {},
187
+ search: {},
188
+ multiple: { type: Boolean },
189
+ condensed: { type: Boolean },
190
+ hasLargeDropdown: { type: Boolean },
191
+ addOnly: { type: Boolean },
192
+ options: {}
193
+ },
194
+ emits: ["value-changed"],
195
+ setup(e, { emit: r }) {
196
+ const i = r, s = e, a = (g) => i("value-changed", g), f = d(() => {
197
+ var g, C;
198
+ const y = s.search ? `<span class="font-bold">"${Se(s.search)}"</span>` : "";
199
+ return ((C = (g = s.i18n) == null ? void 0 : g.noResults) == null ? void 0 : C.call(g, y)) ?? `No matches found for ${y}.`;
200
+ }), v = d(() => s.search === ""), b = d(() => s.options.filter((g) => !g.hidden)), o = d(() => b.value.length > 0), A = d(() => o.value ? !1 : v.value ? !0 : !!f.value), M = d(
201
+ () => Ne(s.options, "group").reduce(
202
+ (g, C) => C.value === "" ? g : {
203
+ ...g,
204
+ [C.value]: C.group
205
+ },
206
+ {}
207
+ )
208
+ ), T = d(
209
+ () => Ne(s.options, "group").reduce(
210
+ (g, C) => C.value === "" ? g : {
211
+ ...g,
212
+ [C.value]: C.groupSuffix
213
+ },
214
+ {}
215
+ )
216
+ );
217
+ return (g, C) => {
218
+ var y;
219
+ return n(), x("div", Hl, [
220
+ A.value ? (n(), x("div", Kl, [
221
+ v.value ? (n(), x("span", Zl, F(((y = s.i18n) == null ? void 0 : y.noOptionsAvailable) ?? "No available options."), 1)) : (n(), x("span", {
222
+ key: 1,
223
+ innerHTML: f.value
224
+ }, null, 8, Yl))
225
+ ])) : o.value ? (n(), x("ul", {
226
+ key: 1,
227
+ class: R(["list-none overflow-y-auto", [e.hasLargeDropdown ? "max-h-[19rem]" : "max-h-48"]])
228
+ }, [
229
+ e.addOnly ? (n(), x("div", jl, [
230
+ N(re, {
231
+ variant: "body-sm",
232
+ color: "secondary",
233
+ "no-spacing": "",
234
+ class: "mt-1 px-3 py-2"
235
+ }, {
236
+ default: S(() => {
237
+ var W;
238
+ return [
239
+ j(F(((W = e.i18n) == null ? void 0 : W.addOnly) ?? "You can only select currently unselected options."), 1)
240
+ ];
241
+ }),
242
+ _: 1
243
+ })
244
+ ])) : m("", !0),
245
+ (n(!0), x(le, null, Ge(b.value, ({
246
+ label: W,
247
+ subLabel: te,
248
+ value: G,
249
+ checked: ae,
250
+ disabled: de,
251
+ labelInlineComponent: $,
252
+ labelSuffixComponent: ce,
253
+ labelSrOnly: fe,
254
+ labelPrefixComponent: me,
255
+ labelBeforeSuffixComponent: h,
256
+ searchValues: H
257
+ }) => (n(), x(le, { key: G }, [
258
+ M.value[G] ? (n(), p(Pl, {
259
+ key: 0,
260
+ suffix: T.value[G]
261
+ }, {
262
+ default: S(() => [
263
+ j(F(M.value[G]), 1)
264
+ ]),
265
+ _: 2
266
+ }, 1032, ["suffix"])) : m("", !0),
267
+ N(Gl, {
268
+ label: W,
269
+ "sub-label": te,
270
+ value: G,
271
+ checked: ae,
272
+ disabled: de,
273
+ search: H ? "" : e.search,
274
+ multiple: e.multiple,
275
+ condensed: e.condensed,
276
+ "label-suffix-component": ce,
277
+ "label-prefix-component": me,
278
+ "label-before-suffix-component": h,
279
+ "label-inline-component": $,
280
+ "label-sr-only": fe,
281
+ onValueChanged: a
282
+ }, null, 8, ["label", "sub-label", "value", "checked", "disabled", "search", "multiple", "condensed", "label-suffix-component", "label-prefix-component", "label-before-suffix-component", "label-inline-component", "label-sr-only"])
283
+ ], 64))), 128))
284
+ ], 2)) : m("", !0),
285
+ g.$slots["list-footer-content"] ? (n(), x("div", {
286
+ key: 2,
287
+ class: R({ "border-t border-gray-200": o.value })
288
+ }, [
289
+ U(g.$slots, "list-footer-content")
290
+ ], 2)) : m("", !0)
291
+ ]);
292
+ };
293
+ }
294
+ }), Ql = { class: "flex flex-col gap-2" }, Xl = ["aria-expanded"], Jl = { class: "flex items-center gap-2" }, _l = { key: 2 }, et = { class: "flex items-center gap-2 self-stretch" }, lt = { class: "flex items-center" }, tt = {
295
+ key: 0,
296
+ class: "flex flex-wrap gap-2"
297
+ }, at = ["innerHTML"], nt = /* @__PURE__ */ _({
298
+ __name: "SearchSelectInput",
299
+ props: /* @__PURE__ */ ke({
300
+ addOnly: { type: Boolean, default: !1 },
301
+ disabled: { type: Boolean },
302
+ i18n: {},
303
+ label: {},
304
+ labelScreenReaderOnly: { type: Boolean },
305
+ singleModelValue: {},
306
+ multiModelValue: {},
307
+ options: { default: () => [] },
308
+ optionsOrder: { default: () => ["asc", "asc"] },
309
+ optionsOrderProperties: { default: () => ["group", "label"] },
310
+ required: { type: Boolean, default: !1 },
311
+ rootClass: {},
312
+ wrapperClass: {},
313
+ inputClass: {},
314
+ dropdownWidth: {},
315
+ invalid: { type: Boolean },
316
+ size: { default: "md" },
317
+ withChips: { type: Boolean, default: !1 },
318
+ error: {},
319
+ hasReset: { type: Boolean },
320
+ name: {},
321
+ hasLargeDropdown: { type: Boolean, default: !1 },
322
+ showSuffixInClosedInput: { type: Boolean },
323
+ showSuffixLabelInInput: { type: Boolean },
324
+ showSelectionInClosedInput: { type: Boolean },
325
+ condensed: { type: Boolean },
326
+ form: {},
327
+ prefix: {}
328
+ }, {
329
+ search: { default: "" },
330
+ searchModifiers: {}
331
+ }),
332
+ emits: /* @__PURE__ */ ke(["update:singleModelValue", "update:multiModelValue", "blur", "change", "focus", "add-option"], ["update:search"]),
333
+ setup(e, { expose: r, emit: i }) {
334
+ var s;
335
+ const a = e, f = vl(Cl), v = (s = hl()) == null ? void 0 : s.vnode.props, b = !(v != null && v["onUpdate:search"]), o = d(() => Array.isArray(a.multiModelValue)), A = q(a.singleModelValue), M = i, T = ie(a, "singleModelValue", M), g = ie(a, "multiModelValue", M), C = q(g.value ?? []);
336
+ xe(
337
+ () => a.multiModelValue,
338
+ (l) => {
339
+ l && (C.value = l);
340
+ }
341
+ );
342
+ const y = He(e, "search"), W = pl(), te = d(() => !!W.prefix), G = d(() => !!a.prefix), ae = d(() => te.value || G.value), de = d(() => ae.value || !ge.value), $ = d({
343
+ get: () => o.value ? C.value ?? [] : typeof T.value == "string" ? [T.value] : [],
344
+ set(l) {
345
+ o.value ? C.value = l : T.value = (l == null ? void 0 : l[0]) ?? "";
346
+ }
347
+ }), ce = d(
348
+ () => Z.value.filter((l) => {
349
+ var t;
350
+ return (t = $.value) == null ? void 0 : t.includes(l.value);
351
+ })
352
+ ), fe = d(() => ce.value[0]), me = Sl(), h = q(!1), H = q(), K = q(), Qe = q(), Ie = () => H.value ? Array.from(
353
+ H.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')
354
+ ) : [], Le = () => {
355
+ var l;
356
+ let t = document.activeElement;
357
+ for (; (l = t == null ? void 0 : t.shadowRoot) != null && l.activeElement; )
358
+ t = t.shadowRoot.activeElement;
359
+ return t;
360
+ }, ve = () => {
361
+ if (!K.value) return null;
362
+ let l = K.value.querySelector("input");
363
+ if (l) return l;
364
+ const t = K.value.querySelectorAll("*");
365
+ for (const u of t)
366
+ if (u.shadowRoot && (l = u.shadowRoot.querySelector("input"), l))
367
+ return l;
368
+ return null;
369
+ };
370
+ let he = !1;
371
+ const pe = () => {
372
+ var l;
373
+ he = !0, (l = ve()) == null || l.focus(), he = !1;
374
+ }, be = (l) => (l == null ? void 0 : l.selectedLabel) ?? (l == null ? void 0 : l.label) ?? "", D = q(""), ee = q(!1), Xe = () => {
375
+ he || (h.value = !0);
376
+ }, Je = (l) => {
377
+ var t;
378
+ a.disabled || (t = l.target) != null && t.closest("button") || (h.value = !0);
379
+ }, _e = () => {
380
+ a.disabled || (ee.value = !0, h.value = !0);
381
+ }, el = (l) => {
382
+ var t;
383
+ if (!h.value) return;
384
+ const u = Ie(), k = ve();
385
+ if (Le() === k)
386
+ switch (l.key) {
387
+ case "ArrowDown":
388
+ u.length > 0 && (l.preventDefault(), (t = u[0]) == null || t.focus());
389
+ break;
390
+ case "Tab":
391
+ z();
392
+ break;
393
+ case "Escape":
394
+ l.preventDefault(), z();
395
+ break;
396
+ }
397
+ }, ll = (l) => {
398
+ var t, u, k;
399
+ const V = Ie(), c = Le(), O = V.indexOf(c), X = ve();
400
+ switch (l.key) {
401
+ case "ArrowDown":
402
+ O < V.length - 1 && (l.preventDefault(), (t = V[O + 1]) == null || t.focus());
403
+ break;
404
+ case "ArrowUp":
405
+ l.preventDefault(), O <= 0 ? X == null || X.focus() : (u = V[O - 1]) == null || u.focus();
406
+ break;
407
+ case "Tab":
408
+ if (l.preventDefault(), l.shiftKey && O > 0) {
409
+ (k = V[O - 1]) == null || k.focus();
410
+ break;
411
+ }
412
+ z(), pe();
413
+ break;
414
+ case "Escape":
415
+ l.preventDefault(), z(), pe();
416
+ break;
417
+ }
418
+ }, { floatingStyles: tl } = wl(K, H, {
419
+ // Matches `bottom` while the dropdown is as wide as the input, and keeps a wider
420
+ // `dropdownWidth` dropdown aligned to the input's left edge.
421
+ placement: "bottom-start",
422
+ middleware: ({ offset: l, flip: t, shift: u, size: k }) => [
423
+ l(4),
424
+ t({
425
+ mainAxis: !0
426
+ }),
427
+ u({ padding: 8 }),
428
+ k({
429
+ padding: 8,
430
+ apply({ availableHeight: V, elements: c }) {
431
+ Object.assign(c.floating.style, {
432
+ maxHeight: `${V}px`
433
+ });
434
+ }
435
+ })
436
+ ]
437
+ }), { width: al } = gl(K), Ae = (l) => {
438
+ var t;
439
+ return a.disabled || !a.disabled && a.addOnly && !!((t = A.value) != null && t.includes(l));
440
+ }, Z = d(() => {
441
+ const l = a.options.map((u) => ({
442
+ ...u,
443
+ checked: $.value.includes(u.value),
444
+ disabled: u.disabled ?? Ae(u.value)
445
+ })), t = [
446
+ ...l,
447
+ ...y.value.length === 0 && ne.value ? ne.value.filter(
448
+ (u) => !l.some((k) => k.value === u.value)
449
+ ) : []
450
+ ];
451
+ return a.optionsOrderProperties && !ze(a.optionsOrderProperties) ? Vl(t, a.optionsOrderProperties, a.optionsOrder) : t;
452
+ }), Me = (l) => Z.value.filter((t) => l.some((u) => t.value === u)), Y = d(() => Me($.value)), L = d(() => Y.value[0]), ye = d(() => {
453
+ var l;
454
+ if (!(h.value || !a.showSuffixInClosedInput) && !(o.value && Y.value.length !== 1))
455
+ return (l = L.value) == null ? void 0 : l.labelSuffixComponent;
456
+ }), Q = d(() => {
457
+ var l;
458
+ if (!a.showSelectionInClosedInput || h.value || !o.value)
459
+ return;
460
+ const t = (l = L.value) == null ? void 0 : l.labelPrefixComponent;
461
+ if (t)
462
+ return { component: t, extraCount: Y.value.length - 1 };
463
+ }), nl = d(() => a.size === "xs" ? "px-1" : a.size === "sm" ? "px-2" : "px-4"), ne = q([]);
464
+ xe(
465
+ () => {
466
+ if (o.value) return null;
467
+ const l = T.value ?? "";
468
+ return {
469
+ selectedValue: l,
470
+ label: be(a.options.find((t) => t.value === l))
471
+ };
472
+ },
473
+ (l) => {
474
+ if (l) {
475
+ if (!l.selectedValue) {
476
+ D.value = "", h.value || (y.value = "");
477
+ return;
478
+ }
479
+ l.label && (D.value = l.label, h.value || (y.value = l.label));
480
+ }
481
+ },
482
+ { immediate: !0 }
483
+ );
484
+ const Ve = ({
485
+ value: l,
486
+ checked: t
487
+ }) => {
488
+ let u;
489
+ o.value ? u = t ? [...$.value, l] : $.value.filter((k) => k !== l) : (u = [l], D.value = be(
490
+ Z.value.find((k) => k.value === l)
491
+ ), y.value = D.value, ee.value = !1, h.value = !1, pe()), ne.value = Me(u), $.value = u, M("change");
492
+ }, $e = d(
493
+ () => $.value.length > 0 && !a.disabled && !($.value.length === 1 && $.value[0] === "")
494
+ ), oe = () => {
495
+ $.value = [], C.value = [], o.value || (D.value = "", y.value = "", ee.value = !1);
496
+ }, ol = () => {
497
+ if (!o.value && D.value && y.value === D.value) {
498
+ oe();
499
+ return;
500
+ }
501
+ y.value = "";
502
+ }, sl = d(() => {
503
+ if (!b || !o.value && !ee.value)
504
+ return Z.value;
505
+ const l = y.value.toLowerCase();
506
+ return Z.value.filter((t) => t.searchValues ? t.searchValues.some(
507
+ (u) => u.toLowerCase().includes(l)
508
+ ) : (t.label ?? "").toLowerCase().includes(l));
509
+ }), z = () => {
510
+ o.value ? (g.value = C.value, y.value = "") : y.value === "" && a.hasReset ? oe() : (y.value = D.value, ee.value = !1), h.value = !1;
511
+ };
512
+ xe(C, () => {
513
+ !h.value && !Ll(g.value, C.value) && o.value && (g.value = C.value);
514
+ }), xl("mousedown", (l) => {
515
+ const t = l.composedPath();
516
+ H.value && t.includes(H.value) || K.value && t.includes(K.value) || h.value && z();
517
+ });
518
+ const il = d(() => {
519
+ var l, t, u, k, V, c;
520
+ return o.value && h.value ? ((l = a.i18n) == null ? void 0 : l.placeholderSearch) ?? "Search" : Q.value ? "" : o.value && Y.value.length === 1 ? (t = L.value) == null ? void 0 : t.label : o.value && Y.value.length >= 2 ? `${(u = L.value) == null ? void 0 : u.label} +${Y.value.length - 1}` : !T.value && !L.value ? h.value ? ((k = a.i18n) == null ? void 0 : k.placeholderSearch) ?? "Search" : ((V = a.i18n) == null ? void 0 : V.placeholderDefault) ?? "Select an option" : h.value ? ((c = a.i18n) == null ? void 0 : c.placeholderSearch) ?? "Search" : !a.singleModelValue && !L.value ? "" : be(
521
+ Z.value.find((O) => {
522
+ var X;
523
+ return O.value === ((X = fe.value) == null ? void 0 : X.value);
524
+ })
525
+ );
526
+ }), rl = d(() => {
527
+ const l = !h.value && (!o.value && !!T.value || o.value && !ze(a.multiModelValue));
528
+ return Al(a.inputClass, {
529
+ "text-ellipsis placeholder:text-default": l
530
+ });
531
+ }), Oe = d(() => y.value === ""), ul = d(() => !(a.disabled || Oe.value || !o.value && D.value !== "" && y.value === D.value && !a.hasReset)), dl = d(
532
+ () => $e.value && !!a.hasReset && Oe.value && (o.value || !h.value)
533
+ ), cl = !!(v != null && v.onAddOption), fl = () => {
534
+ M("add-option"), z();
535
+ }, ge = d(
536
+ () => {
537
+ var l;
538
+ return !h.value && !o.value && ((l = L.value) == null ? void 0 : l.labelPrefixComponent);
539
+ }
540
+ ), Pe = `search-select-options-${Math.random().toString(36).substring(2, 9)}`;
541
+ return r({
542
+ flushMemoryCachedSelectedOptions: () => ne.value = [],
543
+ close: z
544
+ }), (l, t) => {
545
+ var u, k, V;
546
+ return n(), x(le, null, [
547
+ I("div", Ql, [
548
+ I("div", {
549
+ ref_key: "wrapperRef",
550
+ ref: K,
551
+ class: R(["relative flex items-end", {
552
+ [`${e.rootClass}`]: e.rootClass,
553
+ "z-30": h.value
554
+ }]),
555
+ role: "combobox",
556
+ "aria-expanded": h.value,
557
+ "aria-haspopup": !0,
558
+ "aria-controls": Pe,
559
+ onKeydown: el
560
+ }, [
561
+ N(w(Ze), {
562
+ ref_key: "inputRef",
563
+ ref: Qe,
564
+ modelValue: y.value,
565
+ "onUpdate:modelValue": t[1] || (t[1] = (c) => y.value = c),
566
+ required: e.required,
567
+ label: e.label,
568
+ name: e.name,
569
+ form: e.form,
570
+ "label-screen-reader-only": e.labelScreenReaderOnly,
571
+ placeholder: il.value,
572
+ class: "grow",
573
+ "wrapper-class": [
574
+ {
575
+ "border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none": h.value
576
+ },
577
+ e.wrapperClass
578
+ ],
579
+ "input-class": rl.value,
580
+ "suffix-class": "border-l-0",
581
+ disabled: e.disabled,
582
+ size: e.size,
583
+ error: e.error,
584
+ invalid: e.invalid,
585
+ "prefix-has-border": de.value,
586
+ "aria-autocomplete": "list",
587
+ onFocus: Xe,
588
+ onClick: Je,
589
+ onInput: _e,
590
+ onBlur: t[2] || (t[2] = (c) => l.$emit("blur"))
591
+ }, we({
592
+ suffix: S(() => {
593
+ var c, O;
594
+ return [
595
+ I("div", et, [
596
+ !h.value && !o.value && ((c = L.value) != null && c.labelInlineComponent) && (!e.showSuffixInClosedInput || e.showSuffixLabelInInput) ? (n(), p(P(L.value.labelInlineComponent.component), B(E({ key: 0 }, L.value.labelInlineComponent.props)), null, 16)) : m("", !0),
597
+ !h.value && !o.value && ((O = L.value) != null && O.labelBeforeSuffixComponent) && (!e.showSuffixInClosedInput || e.showSuffixLabelInInput) ? (n(), p(P(L.value.labelBeforeSuffixComponent.component), B(E({ key: 1 }, L.value.labelBeforeSuffixComponent.props)), null, 16)) : m("", !0),
598
+ ye.value ? (n(), p(P(ye.value.component), B(E({ key: 2 }, ye.value.props)), null, 16)) : m("", !0),
599
+ I("div", lt, [
600
+ dl.value ? (n(), p(Te, {
601
+ key: 0,
602
+ icon: "close",
603
+ size: "sm",
604
+ intent: "subtle",
605
+ type: "button",
606
+ onMousedown: t[0] || (t[0] = Ue(() => {
607
+ }, ["prevent"])),
608
+ onClick: oe
609
+ })) : m("", !0),
610
+ ul.value ? (n(), p(Te, {
611
+ key: 1,
612
+ icon: "close",
613
+ size: "sm",
614
+ intent: "subtle",
615
+ type: "button",
616
+ onClick: ol
617
+ })) : m("", !0),
618
+ N(De, {
619
+ icon: h.value ? "keyboard_arrow_up" : "keyboard_arrow_down",
620
+ size: e.size === "xs" || e.size === "sm" ? "xs" : "sm",
621
+ class: R(e.disabled ? "text-disabled" : "text-secondary"),
622
+ "aria-hidden": "true",
623
+ "data-testid": "search-select-chevron"
624
+ }, null, 8, ["icon", "size", "class"])
625
+ ])
626
+ ])
627
+ ];
628
+ }),
629
+ _: 2
630
+ }, [
631
+ l.$slots["label-suffix"] ? {
632
+ name: "label-suffix",
633
+ fn: S(() => [
634
+ U(l.$slots, "label-suffix")
635
+ ]),
636
+ key: "0"
637
+ } : void 0,
638
+ l.$slots.tooltip ? {
639
+ name: "tooltip",
640
+ fn: S(() => [
641
+ U(l.$slots, "tooltip")
642
+ ]),
643
+ key: "1"
644
+ } : void 0,
645
+ Q.value ? {
646
+ name: "input",
647
+ fn: S(() => [
648
+ I("div", {
649
+ class: R(["pointer-events-none absolute inset-0 flex items-center gap-1", nl.value])
650
+ }, [
651
+ (n(), p(P(Q.value.component.component), B(Be(Q.value.component.props)), null, 16)),
652
+ Q.value.extraCount > 0 ? (n(), p(w(re), {
653
+ key: 0,
654
+ variant: e.size === "xs" || e.size === "sm" ? "body-xs" : "body-sm",
655
+ tag: "span",
656
+ weight: "semibold",
657
+ "no-spacing": ""
658
+ }, {
659
+ default: S(() => [
660
+ j(" +" + F(Q.value.extraCount), 1)
661
+ ]),
662
+ _: 1
663
+ }, 8, ["variant"])) : m("", !0)
664
+ ], 2)
665
+ ]),
666
+ key: "2"
667
+ } : void 0,
668
+ ae.value || ge.value || !b ? {
669
+ name: "prefix",
670
+ fn: S(() => {
671
+ var c;
672
+ return [
673
+ I("div", Jl, [
674
+ te.value ? U(l.$slots, "prefix", {}, void 0, void 0, 0) : G.value ? (n(), p(w(re), {
675
+ key: 1,
676
+ variant: e.size === "xs" ? "body-xs" : "body-sm",
677
+ tag: "span",
678
+ weight: "semibold"
679
+ }, {
680
+ default: S(() => [
681
+ j(F(e.prefix), 1)
682
+ ]),
683
+ _: 1
684
+ }, 8, ["variant"])) : ge.value && ((c = L.value) != null && c.labelPrefixComponent) ? (n(), x("div", _l, [
685
+ (n(), p(P(L.value.labelPrefixComponent.component), B(Be(L.value.labelPrefixComponent.props)), null, 16))
686
+ ])) : b ? m("", !0) : (n(), p(De, {
687
+ key: 3,
688
+ icon: "search",
689
+ size: "sm"
690
+ }))
691
+ ])
692
+ ];
693
+ }),
694
+ key: "3"
695
+ } : void 0,
696
+ l.$slots.helper ? {
697
+ name: "helper",
698
+ fn: S(() => [
699
+ U(l.$slots, "helper")
700
+ ]),
701
+ key: "4"
702
+ } : void 0
703
+ ]), 1032, ["modelValue", "required", "label", "name", "form", "label-screen-reader-only", "placeholder", "wrapper-class", "input-class", "disabled", "size", "error", "invalid", "prefix-has-border"])
704
+ ], 42, Xl),
705
+ e.withChips ? (n(), x("div", tt, [
706
+ (n(!0), x(le, null, Ge(Y.value, ({ value: c, label: O }) => (n(), p(Il, {
707
+ key: c,
708
+ removable: !Ae(c),
709
+ onRemoved: (X) => Ve({ value: c, checked: !1 })
710
+ }, {
711
+ default: S(() => [
712
+ I("span", { innerHTML: O }, null, 8, at)
713
+ ]),
714
+ _: 2
715
+ }, 1032, ["removable", "onRemoved"]))), 128))
716
+ ])) : m("", !0)
717
+ ]),
718
+ w(me) && w(f) ? (n(), p(bl, {
719
+ key: 0,
720
+ to: w(f)
721
+ }, [
722
+ h.value && !e.disabled ? (n(), x("div", {
723
+ key: 0,
724
+ id: Pe,
725
+ ref_key: "optionsRef",
726
+ ref: H,
727
+ role: "listbox",
728
+ style: Ee(w(tl)),
729
+ class: "z-70 overflow-y-auto rounded border border-gray-200 bg-white drop-shadow-md",
730
+ onMouseenter: t[3] || (t[3] = (c) => h.value = !0),
731
+ onKeydown: ll
732
+ }, [
733
+ I("div", {
734
+ class: "rounded pt-0",
735
+ style: Ee({ width: `${e.dropdownWidth ?? w(al)}px` })
736
+ }, [
737
+ N(Wl, {
738
+ i18n: {
739
+ addOnly: (u = e.i18n) == null ? void 0 : u.addOnly,
740
+ noResults: (k = e.i18n) == null ? void 0 : k.noResults,
741
+ noOptionsAvailable: (V = e.i18n) == null ? void 0 : V.noOptionsAvailable
742
+ },
743
+ options: sl.value,
744
+ multiple: o.value,
745
+ search: y.value,
746
+ model: $.value,
747
+ "add-only": e.addOnly,
748
+ "allows-multiple-values": !!o.value,
749
+ condensed: e.condensed,
750
+ "has-large-dropdown": e.hasLargeDropdown,
751
+ onValueChanged: Ve
752
+ }, {
753
+ "list-footer-content": S(() => [
754
+ cl ? (n(), p(Ce, {
755
+ key: 0,
756
+ intent: "subtle",
757
+ class: "w-full rounded-t-none",
758
+ type: "button",
759
+ "icon-prefix": "add",
760
+ onClick: fl
761
+ }, {
762
+ default: S(() => {
763
+ var c;
764
+ return [
765
+ j(F((c = e.i18n) == null ? void 0 : c.addOption), 1)
766
+ ];
767
+ }),
768
+ _: 1
769
+ })) : m("", !0),
770
+ o.value ? (n(), x("div", {
771
+ key: 1,
772
+ class: R(["flex items-center justify-between", { "py-2": !l.$slots["list-footer-content"] }])
773
+ }, [
774
+ $e.value ? (n(), p(Ce, {
775
+ key: 0,
776
+ type: "button",
777
+ intent: "subtle",
778
+ size: "xs",
779
+ class: "ml-2",
780
+ onClick: oe
781
+ }, {
782
+ default: S(() => {
783
+ var c;
784
+ return [
785
+ j(F(((c = e.i18n) == null ? void 0 : c.multipleValuesClearButtonText) ?? "Clear"), 1)
786
+ ];
787
+ }),
788
+ _: 1
789
+ })) : m("", !0),
790
+ I("div", null, [
791
+ U(l.$slots, "list-footer-content", { close: z })
792
+ ]),
793
+ N(Ce, {
794
+ type: "button",
795
+ intent: "secondary",
796
+ size: "xs",
797
+ class: "mr-2",
798
+ "data-testid": w(El),
799
+ onClick: z
800
+ }, {
801
+ default: S(() => {
802
+ var c;
803
+ return [
804
+ j(F(((c = e.i18n) == null ? void 0 : c.multipleValuesDoneButtonText) ?? "Done"), 1)
805
+ ];
806
+ }),
807
+ _: 1
808
+ }, 8, ["data-testid"])
809
+ ], 2)) : U(l.$slots, "list-footer-content", { close: z }, void 0, void 0, 2)
810
+ ]),
811
+ _: 3
812
+ }, 8, ["i18n", "options", "multiple", "search", "model", "add-only", "allows-multiple-values", "condensed", "has-large-dropdown"])
813
+ ], 4)
814
+ ], 36)) : m("", !0)
815
+ ], 8, ["to"])) : m("", !0)
816
+ ], 64);
817
+ };
818
+ }
819
+ }), $t = /* @__PURE__ */ _({
820
+ __name: "CountrySelect",
821
+ props: {
822
+ label: {},
823
+ singleModelValue: {},
824
+ multiModelValue: {},
825
+ error: {},
826
+ required: { type: Boolean, default: !0 },
827
+ hasReset: { type: Boolean },
828
+ disabled: { type: Boolean },
829
+ size: {},
830
+ labelScreenReaderOnly: { type: Boolean },
831
+ i18n: {},
832
+ name: {},
833
+ form: {}
834
+ },
835
+ emits: ["update:modelValue", "update:singleModelValue"],
836
+ setup(e, { emit: r }) {
837
+ const i = e, s = ie(i, "singleModelValue"), a = ie(i, "multiModelValue"), f = r;
838
+ return (v, b) => (n(), p(nt, {
839
+ "multi-model-value": w(a),
840
+ "onUpdate:multiModelValue": b[0] || (b[0] = (o) => Re(a) ? a.value = o : null),
841
+ "single-model-value": w(s),
842
+ "onUpdate:singleModelValue": [
843
+ b[1] || (b[1] = (o) => Re(s) ? s.value = o : null),
844
+ b[2] || (b[2] = (o) => {
845
+ f("update:modelValue", o);
846
+ })
847
+ ],
848
+ "root-class": v.$attrs.class,
849
+ label: e.label,
850
+ options: w(Ke).map(({ key: o, value: A }) => ({ label: A, value: o })),
851
+ error: e.error,
852
+ "has-reset": e.hasReset,
853
+ disabled: e.disabled,
854
+ required: e.required,
855
+ "with-chips": !!e.multiModelValue,
856
+ name: e.name,
857
+ form: e.form,
858
+ size: e.size,
859
+ "label-screen-reader-only": e.labelScreenReaderOnly,
860
+ i18n: e.i18n
861
+ }, we({ _: 2 }, [
862
+ v.$slots["label-suffix"] ? {
863
+ name: "label-suffix",
864
+ fn: S(() => [
865
+ U(v.$slots, "label-suffix")
866
+ ]),
867
+ key: "0"
868
+ } : void 0
869
+ ]), 1032, ["multi-model-value", "single-model-value", "root-class", "label", "options", "error", "has-reset", "disabled", "required", "with-chips", "name", "form", "size", "label-screen-reader-only", "i18n"]));
870
+ }
871
+ });
872
+ function Ot(e) {
873
+ return !!Ke.find((r) => r.key === e);
874
+ }
875
+ const Fe = ["email", "country"], ot = "GENERIC_TAX_ID", qe = {
876
+ US: ["addressLine1", "postalCode"],
877
+ CA: ["state"]
878
+ }, st = (e) => !e || !qe[e] ? Fe : [...qe[e], ...Fe], Ye = (e) => e.type === "ORGANIZATION" && e.country !== "US", ue = {
879
+ BILLING: {
880
+ line1: "addressLine1",
881
+ line2: "addressLine2",
882
+ postalCode: "postalCode",
883
+ city: "city",
884
+ state: "state",
885
+ country: "country"
886
+ },
887
+ SHIPPING: {
888
+ line1: "shippingAddressLine1",
889
+ line2: "shippingAddressLine2",
890
+ postalCode: "shippingPostalCode",
891
+ city: "shippingCity",
892
+ state: "shippingState",
893
+ country: "shippingCountry"
894
+ }
895
+ }, it = ["line1", "line2", "postalCode", "city", "state", "country"], rt = ["A", "C", "S", "Z"], ut = {
896
+ A: ["line1", "line2"],
897
+ C: ["city"],
898
+ S: ["state"],
899
+ Z: ["postalCode"]
900
+ }, je = (e) => rt.filter((r) => e.includes(r)).flatMap(
901
+ (r) => ut[r]
902
+ ), dt = (e) => je((e == null ? void 0 : e.fields) ?? "ACSZ"), ct = (e, r) => {
903
+ const i = st(r);
904
+ return it.filter((s) => i.includes(ue.BILLING[s])).map(
905
+ (s) => ue[e][s]
906
+ );
907
+ }, Pt = (e, r, i) => {
908
+ const s = i ? je(i.required).filter((a) => a !== "line2") : ["line1", "postalCode", "city"];
909
+ return [
910
+ .../* @__PURE__ */ new Set([
911
+ ...s.map((a) => ue[e][a]),
912
+ ...ct(e, r)
913
+ ])
914
+ ];
915
+ }, se = (e) => (e == null ? void 0 : e.trim()) || void 0, We = (e, r, i) => {
916
+ var b;
917
+ const s = ue[r], a = new Set(dt(i)), f = (o) => a.has(o) ? se(e[s[o]]) : void 0, v = (b = f("postalCode")) == null ? void 0 : b.toUpperCase();
918
+ return {
919
+ ...f("line1") && { line1: f("line1") },
920
+ ...f("line2") && { line2: f("line2") },
921
+ ...f("city") && { city: f("city") },
922
+ ...f("state") && { state: f("state") },
923
+ ...v && { postal_code: v },
924
+ country: e[s.country] ?? ""
925
+ };
926
+ }, ft = (e, r) => {
927
+ const i = We(e, "SHIPPING", r);
928
+ return {
929
+ addressLine1: i.line1,
930
+ addressLine2: i.line2,
931
+ postalCode: i.postal_code,
932
+ city: i.city,
933
+ state: i.state,
934
+ country: e.shippingCountry
935
+ };
936
+ }, Bt = (e, r, i) => {
937
+ var v;
938
+ const s = se(e.shippingAttentionName), a = se(e.shippingFirstName), f = se(e.shippingLastName);
939
+ return {
940
+ reference: r,
941
+ recipient: {
942
+ type: e.type,
943
+ ...e.type === "ORGANIZATION" ? {
944
+ organization: {
945
+ company_name: e.companyLegalName ?? "",
946
+ ...s && { attention_name: s }
947
+ }
948
+ } : {
949
+ individual: {
950
+ name: {
951
+ ...a && { first_name: a },
952
+ ...f && { last_name: f }
953
+ }
954
+ }
955
+ },
956
+ phone_number: ((v = e.shippingPhoneNumber) == null ? void 0 : v.trim()) ?? "",
957
+ email: e.email ?? ""
958
+ },
959
+ address: We(e, "SHIPPING", i)
960
+ };
961
+ }, Et = (e, { isShipped: r, format: i }) => mt(r ? { ...e, ...ft(e, i) } : e, {
962
+ withVatNumber: Ye(e)
963
+ }), mt = (e, { withVatNumber: r = Ye(e) } = {}) => {
964
+ const i = {
965
+ ...e.addressLine1 && { line1: e.addressLine1 },
966
+ ...e.addressLine2 && { line2: e.addressLine2 },
967
+ ...e.city && { city: e.city },
968
+ ...e.state && { state: e.state },
969
+ ...e.postalCode && { postal_code: e.postalCode },
970
+ country: e.country ?? ""
971
+ };
972
+ return e.type === "ORGANIZATION" ? {
973
+ type: "ORGANIZATION",
974
+ organization: {
975
+ legal_name: e.companyLegalName ?? "",
976
+ registered_address: i,
977
+ ...e.companyVatNumber && r && {
978
+ tax_ids: [
979
+ { id: e.companyVatNumber, type: ot }
980
+ ]
981
+ }
982
+ }
983
+ } : {
984
+ type: "INDIVIDUAL",
985
+ individual: {
986
+ residential_address: i
987
+ }
988
+ };
989
+ }, Rt = (e = {}) => ({
990
+ email: void 0,
991
+ country: void 0,
992
+ type: "INDIVIDUAL",
993
+ companyLegalName: void 0,
994
+ firstName: void 0,
995
+ infix: void 0,
996
+ lastName: void 0,
997
+ addressLine1: void 0,
998
+ addressLine2: void 0,
999
+ postalCode: void 0,
1000
+ city: void 0,
1001
+ state: void 0,
1002
+ companyVatNumber: void 0,
1003
+ shippingAddressLine1: void 0,
1004
+ shippingAddressLine2: void 0,
1005
+ shippingPostalCode: void 0,
1006
+ shippingCity: void 0,
1007
+ shippingState: void 0,
1008
+ shippingCountry: void 0,
1009
+ shippingPhoneNumber: void 0,
1010
+ shippingFirstName: void 0,
1011
+ shippingLastName: void 0,
1012
+ shippingAttentionName: void 0,
1013
+ billingAddressSameAsShipping: !0,
1014
+ seatsValues: void 0,
1015
+ unitsValues: void 0,
1016
+ enabledPricingIds: void 0,
1017
+ ...e
1018
+ }), vt = ["for"], Nt = /* @__PURE__ */ _({
1019
+ __name: "HiddenLabelInput",
1020
+ props: /* @__PURE__ */ ke({
1021
+ label: { type: String },
1022
+ name: { type: String },
1023
+ placeholder: { type: String },
1024
+ error: { type: [String, Array] },
1025
+ autocomplete: { type: String }
1026
+ }, {
1027
+ modelValue: {},
1028
+ modelModifiers: {}
1029
+ }),
1030
+ emits: ["update:modelValue"],
1031
+ setup(e) {
1032
+ const r = e, i = He(e, "modelValue"), s = yl(), a = d(
1033
+ () => Array.isArray(r.error) ? !!r.error.length : !!r.error
1034
+ );
1035
+ return (f, v) => (n(), x("div", null, [
1036
+ I("label", {
1037
+ for: w(s),
1038
+ class: "sr-only"
1039
+ }, F(e.label), 9, vt),
1040
+ N(w(Ze), {
1041
+ id: w(s),
1042
+ modelValue: i.value,
1043
+ "onUpdate:modelValue": v[0] || (v[0] = (b) => i.value = b),
1044
+ name: e.name,
1045
+ placeholder: e.placeholder,
1046
+ error: e.error,
1047
+ autocomplete: e.autocomplete
1048
+ }, we({ _: 2 }, [
1049
+ a.value ? {
1050
+ name: "helper",
1051
+ fn: S(() => [
1052
+ N(w(Ml), { message: e.error }, null, 8, ["message"])
1053
+ ]),
1054
+ key: "0"
1055
+ } : void 0
1056
+ ]), 1032, ["id", "modelValue", "name", "placeholder", "error", "autocomplete"])
1057
+ ]));
1058
+ }
1059
+ });
1060
+ function Tt() {
1061
+ const { $t: e } = kl();
1062
+ return {
1063
+ contactInformationTitle: e({
1064
+ defaultMessage: "Customer information",
1065
+ id: "checkout.contact_information_block.title",
1066
+ description: "The title of the contact information block in the checkout form"
1067
+ }),
1068
+ emailLabel: e({
1069
+ defaultMessage: "Email address",
1070
+ id: "checkout.email_address.label",
1071
+ description: "The email address of the customer in the checkout form"
1072
+ }),
1073
+ emailPlaceholder: e({
1074
+ defaultMessage: "Email address",
1075
+ id: "checkout.email_address.placeholder",
1076
+ description: "The email address of the customer in the checkout form"
1077
+ }),
1078
+ countryLabel: e({
1079
+ defaultMessage: "Billing country",
1080
+ id: "checkout.country.label",
1081
+ description: "The country of the customer in the checkout form"
1082
+ }),
1083
+ countryPlaceholder: e({
1084
+ defaultMessage: "Billing country",
1085
+ id: "checkout.country.placeholder",
1086
+ description: "Placeholder of the billing country select while no country is chosen"
1087
+ }),
1088
+ vatNumberLabel: e({
1089
+ defaultMessage: "VAT number",
1090
+ id: "checkout.vat_number.label",
1091
+ description: "The label for the vat number in the checkout form"
1092
+ }),
1093
+ vatNumberPlaceholder: e({
1094
+ defaultMessage: "VAT number",
1095
+ id: "checkout.vat_number.placeholder",
1096
+ description: "The label for the vat number in the checkout form"
1097
+ }),
1098
+ legalNameLabel: e({
1099
+ defaultMessage: "Legal entity name",
1100
+ id: "checkout.legal_name.label",
1101
+ description: "The legal name of the organization customer in the checkout form"
1102
+ }),
1103
+ legalNamePlaceholder: e({
1104
+ defaultMessage: "Legal entity name",
1105
+ id: "checkout.legal_name.placeholder",
1106
+ description: "The legal name of the organization customer in the checkout form"
1107
+ }),
1108
+ addressTitle: e({
1109
+ defaultMessage: "Billing address",
1110
+ id: "checkout.address.title",
1111
+ description: "Label of the billing address, above its first line, in the checkout and billing information forms"
1112
+ }),
1113
+ addressLine1Label: e({
1114
+ defaultMessage: "Address line 1",
1115
+ id: "checkout.address.line1.label",
1116
+ description: "Address line 1 of the customer address in the checkout form"
1117
+ }),
1118
+ addressLine2Label: e({
1119
+ defaultMessage: "Address line 2",
1120
+ id: "checkout.address.line2.label",
1121
+ description: "Address line 2 of the customer address in the checkout form"
1122
+ }),
1123
+ postalCodeLabel: e({
1124
+ defaultMessage: "Postal code",
1125
+ id: "checkout.address.postal_code.label",
1126
+ description: "Postal code of the customer address in the checkout form"
1127
+ }),
1128
+ cityLabel: e({
1129
+ defaultMessage: "City",
1130
+ id: "checkout.address.city.label",
1131
+ description: "City of the customer address in the checkout form"
1132
+ }),
1133
+ stateLabel: e({
1134
+ defaultMessage: "State",
1135
+ id: "checkout.address.state.label",
1136
+ description: "State of the customer address in the checkout form"
1137
+ }),
1138
+ postalCodePlaceholder: e({
1139
+ defaultMessage: "Postal code",
1140
+ id: "checkout.address.portal_code.placeholder",
1141
+ description: "Postal code of the customer address in the checkout form"
1142
+ }),
1143
+ cityPlaceholder: e({
1144
+ defaultMessage: "City",
1145
+ id: "checkout.address.city.placeholder",
1146
+ description: "City of the customer address in the checkout form"
1147
+ }),
1148
+ statePlaceholder: e({
1149
+ defaultMessage: "State",
1150
+ id: "checkout.address.state.placeholder",
1151
+ description: "State of the customer address in the checkout form"
1152
+ })
1153
+ };
1154
+ }
1155
+ export {
1156
+ ue as A,
1157
+ ot as D,
1158
+ Nt as _,
1159
+ Pt as a,
1160
+ st as b,
1161
+ $t as c,
1162
+ nt as d,
1163
+ dt as e,
1164
+ Ye as f,
1165
+ Rt as g,
1166
+ ft as h,
1167
+ Ot as i,
1168
+ ct as j,
1169
+ Et as k,
1170
+ We as r,
1171
+ Bt as t,
1172
+ Tt as u
1173
+ };