@solvimon/solvimon-web 0.1.0-alpha.28 → 0.1.0-alpha.29

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 (189) hide show
  1. package/README.md +26 -1
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  4. package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  5. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
  6. package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  7. package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
  8. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  9. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  10. package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
  11. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  12. package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  13. package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  14. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
  15. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  16. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
  17. package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  18. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  19. package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  20. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  21. package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  22. package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  23. package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
  24. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
  25. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
  26. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  27. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  28. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  29. package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  30. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  31. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  32. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
  33. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  34. package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  35. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
  36. package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  37. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
  38. package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
  39. package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
  40. package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  41. package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  42. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
  43. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
  44. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
  45. package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
  46. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  47. package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
  48. package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  49. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
  50. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  51. package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  52. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  53. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  54. package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
  55. package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
  56. package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  57. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  58. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
  59. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
  60. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  61. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  62. package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  63. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  64. package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
  65. package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
  66. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
  67. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
  68. package/dist/components/Invoice/Invoice.mjs +2660 -193
  69. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
  70. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
  71. package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
  72. package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
  73. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
  74. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
  75. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
  76. package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
  77. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  78. package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
  79. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  80. package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
  81. package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
  82. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  83. package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
  84. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  85. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  86. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  87. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  88. package/dist/index.es-CpmQmvOg.mjs +633 -0
  89. package/dist/index.mjs +2 -2
  90. package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
  91. package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
  92. package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
  93. package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
  94. package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
  95. package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
  96. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  97. package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
  98. package/dist/payments-BnxbzQUC.mjs +68 -0
  99. package/dist/pricing-BOhvWWMj.mjs +29 -0
  100. package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
  101. package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
  102. package/dist/screens/Checkout/Checkout.mjs +2 -2
  103. package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
  104. package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
  105. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
  106. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  107. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
  108. package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
  109. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  110. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  111. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
  112. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  113. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  114. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  115. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  116. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  117. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  118. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
  119. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
  120. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  121. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
  122. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  123. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  124. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  125. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  126. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
  127. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  128. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
  129. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  130. package/dist/types/public/core/types.d.ts +5 -0
  131. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
  132. package/dist/types/translations/supported.d.ts +1 -1
  133. package/dist/types/types/portalAuthentication.d.ts +2 -0
  134. package/dist/types/types/portalToken.d.ts +9 -0
  135. package/dist/types/types/shippingAddress.d.ts +9 -0
  136. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  137. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  138. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  139. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  140. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  141. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  142. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  143. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  144. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  145. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  146. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  147. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  148. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  149. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  150. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  151. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  152. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  153. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  154. package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
  155. package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  156. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  157. package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
  158. package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
  159. package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
  160. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  161. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  162. package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
  163. package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
  164. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  165. package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
  166. package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
  167. package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
  168. package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  169. package/package.json +7 -7
  170. package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
  171. package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
  172. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  173. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
  174. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  175. package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
  176. package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
  177. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
  178. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
  179. package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
  180. package/dist/customElements-Di3zwlEU.mjs +0 -6447
  181. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  182. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  183. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  184. package/dist/payments-Ci8bF4C6.mjs +0 -45
  185. package/dist/subscriptions-CwogJODR.mjs +0 -54
  186. package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
  187. package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
  188. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
  189. package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
@@ -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, b as gl, a as xl } from "./index.es-C7J3WGGo.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-BTj4ii4f.mjs";
5
+ import { e as Se } from "./sanitization.es-C6dbuxUJ.mjs";
6
+ import { _ as J, s as Ne, u as Sl } from "./sorting.es-CVyKw23D.mjs";
7
+ import { u as wl } from "./useLazyFloating.es-CycqRyeb.mjs";
8
+ import { _ as Te } from "./IconButton.vue.es-C8lYFx5_.mjs";
9
+ import { a as De, _ as Ce } from "./Button.vue.es-Zw--kuaU.mjs";
10
+ import { _ as Il } from "./Chip.vue.es-D3UDSyXC.mjs";
11
+ import { i as ze, a as Ll } from "./useService-BZcbUZHI.mjs";
12
+ import { c as Al } from "./cn.es-B8acFrov.mjs";
13
+ import { _ as Ze } from "./Input.vue.es-D8Oj8MWv.mjs";
14
+ import { _ as Ml } from "./FormMessage.vue.es-Cjv358Ab.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
+ };