@solvimon/solvimon-web 0.1.0-alpha.19 → 0.1.0-alpha.20

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 (319) hide show
  1. package/README.md +9 -7
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Y3CzulQq.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs} +8 -9
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +1 -0
  4. package/dist/{Amount.vue.es-CRG-6dps.mjs → Amount.vue.es-BO5sS1UX.mjs} +4 -2
  5. package/dist/Amount.vue.es-JDVa_3H-.js +1 -0
  6. package/dist/{Avatar.vue.es-ClUBm_l5.js → Avatar.vue.es-BGTZSAqU.js} +1 -1
  7. package/dist/{Avatar.vue.es-DJp6NEU_.mjs → Avatar.vue.es-DJzJiYtv.mjs} +1 -1
  8. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BUMK11Dw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs} +5 -6
  9. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DzrInCPA.js → BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js} +1 -1
  10. package/dist/{Button.vue.es-BrWHdiEA.mjs → Button.vue.es-Cm9pLU9i.mjs} +61 -93
  11. package/dist/Button.vue.es-O8mNivLL.js +1 -0
  12. package/dist/Chip.vue.es-BBmn-qJp.mjs +120 -0
  13. package/dist/Chip.vue.es-DmCjC1hi.js +1 -0
  14. package/dist/{Comparators.vue.es-CU32AC4n.mjs → Comparators.vue.es-CYfxd5H-.mjs} +1 -1
  15. package/dist/{Comparators.vue.es-CfVGYJ_x.js → Comparators.vue.es-DK8wGjxM.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-BBPFQfqY.mjs → ContextMenu.vue.es-CTc1ktXb.mjs} +23 -23
  17. package/dist/ContextMenu.vue.es-DaW0yp4Y.js +1 -0
  18. package/dist/{CustomerBillingInformation.vue.es-s-LYXA4T.js → CustomerBillingInformation.vue.es-BX0Da7Kr.js} +1 -1
  19. package/dist/{CustomerBillingInformation.vue.es-CLmXk5B9.mjs → CustomerBillingInformation.vue.es-CMZO8oLj.mjs} +3 -3
  20. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +1 -0
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B2CtcBm0.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs} +8 -10
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Bej5_H7r.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs} +37 -34
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +1 -0
  24. package/dist/{DividerText.vue.es-DMg-DNgi.mjs → DividerText.vue.es-CeAHAe_Y.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-D5ieOE1e.js → DividerText.vue.es-DjT4i_YD.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CTG5XdQt.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs} +16 -16
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-5I81Qr6q.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js} +1 -1
  28. package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +38 -0
  29. package/dist/ErrorNotification.vue.es-CaEFTi2k.js +1 -0
  30. package/dist/FormMessage.vue.es-Bd4_NG9H.js +1 -0
  31. package/dist/{FormMessage.vue.es-DFQXxiSC.mjs → FormMessage.vue.es-C3oxwq_8.mjs} +3 -3
  32. package/dist/IconButton.vue.es-BHdQskx0.js +1 -0
  33. package/dist/{IconButton.vue.es-DcC4f5EQ.mjs → IconButton.vue.es-KywqWWvr.mjs} +20 -23
  34. package/dist/{IconTitle.vue.es-mQCMxc64.mjs → IconTitle.vue.es-BmjBdZb_.mjs} +13 -11
  35. package/dist/IconTitle.vue.es-D9Wc3PIq.js +1 -0
  36. package/dist/Input.vue.es-DqKJhFTr.js +1 -0
  37. package/dist/{Input.vue.es-Dp_RH03h.mjs → Input.vue.es-WZGF8dfr.mjs} +28 -16
  38. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-56fy6uY6.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs} +2 -2
  39. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CLUcV3qa.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js} +1 -1
  40. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-ztaMeHQc.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs} +2 -2
  41. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-flgEyaoj.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js} +1 -1
  42. package/dist/{InvoiceSummary.vue.es-nCYeQ4tj.mjs → InvoiceSummary.vue.es-BI5sD_8F.mjs} +1057 -671
  43. package/dist/InvoiceSummary.vue.es-BWYIHezU.js +1 -0
  44. package/dist/Modal.vue.es-B_1aqm_m.js +1 -0
  45. package/dist/{Modal.vue.es-5EpA4Q0t.mjs → Modal.vue.es-qdUHDOnU.mjs} +172 -56
  46. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +1 -0
  47. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-D7IX9qqy.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs} +7 -8
  48. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-C8nvN-6f.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs} +3 -3
  49. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js} +1 -1
  50. package/dist/{PaymentHistoryBlock-Dejtgyos.mjs → PaymentHistoryBlock-CgNUV8Gy.mjs} +1 -1
  51. package/dist/{PaymentHistoryBlock-RBxlC5xt.js → PaymentHistoryBlock-Ci8aSJeb.js} +1 -1
  52. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +1 -0
  53. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dk52bjJd.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs} +16 -16
  54. package/dist/{PaymentIntegrationForm-CbqfAdkc.mjs → PaymentIntegrationForm-CLokpXvK.mjs} +1 -1
  55. package/dist/{PaymentIntegrationForm-BWr7iyU6.js → PaymentIntegrationForm-CsuueDE0.js} +1 -1
  56. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJHwpswk.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs} +26 -8
  57. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +1 -0
  58. package/dist/{PaymentIntegrationFormAdyen-CuRwe9_9.mjs → PaymentIntegrationFormAdyen-C885o8IE.mjs} +37 -29
  59. package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +1 -0
  60. package/dist/{PaymentIntegrationFormStripe-JZw2m1kJ.mjs → PaymentIntegrationFormStripe-BjMdJmDC.mjs} +8 -6
  61. package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +1 -0
  62. package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +1 -0
  63. package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +677 -0
  64. package/dist/{PaymentMethodForm-C5WqTDow.mjs → PaymentMethodForm-IEuDxEPN.mjs} +1 -1
  65. package/dist/{PaymentMethodForm-CBjHdZT7.js → PaymentMethodForm-hZuVHAti.js} +1 -1
  66. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +1 -0
  67. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DhPTbip8.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs} +21 -8
  68. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +1 -0
  69. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DbTvbHk7.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs} +7 -7
  70. package/dist/{PricingGroupRangeInput.vue.es-A6eW-u2k.mjs → PricingGroupRangeInput.vue.es-ButaePib.mjs} +13 -17
  71. package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +1 -0
  72. package/dist/{Section.vue.es-tLYXp-tF.js → Section.vue.es-CAJvEDn6.js} +1 -1
  73. package/dist/{Section.vue.es-MEFUWCxU.mjs → Section.vue.es-DX_9ueCG.mjs} +1 -1
  74. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +1 -0
  75. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xvgyB2Yr.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs} +31 -37
  76. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +1 -0
  77. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-B_Zkbqx2.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs} +171 -105
  78. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cj36jvZF.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs} +4 -4
  79. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +1 -0
  80. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +1 -0
  81. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CfXgGKXA.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs} +12 -13
  82. package/dist/{TooltipParagraph.vue.es-B5aHQv9O.mjs → TooltipParagraph.vue.es-C5RTcrid.mjs} +3 -3
  83. package/dist/{TooltipParagraph.vue.es-fSwKGXKg.js → TooltipParagraph.vue.es-H9fI7zzt.js} +1 -1
  84. package/dist/{TrialChip.vue.es-Fp7Lqo-b.mjs → TrialChip.vue.es-B1puKyR-.mjs} +3 -3
  85. package/dist/TrialChip.vue.es-CCs50m02.js +1 -0
  86. package/dist/accel.svg.es-CE5tIWtm.mjs +4 -0
  87. package/dist/accel.svg.es-Dt_1wJmV.js +1 -0
  88. package/dist/ach.svg.es-B4tn0_IV.js +1 -0
  89. package/dist/ach.svg.es-D4QPcIU-.mjs +4 -0
  90. package/dist/{adyen-Ba-mF3Jy.mjs → adyen-BXi_D9TQ.mjs} +14 -21
  91. package/dist/adyen-VS2sDW0m.js +1 -0
  92. package/dist/amazon-pay.svg.es-B428S4f3.js +1 -0
  93. package/dist/amazon-pay.svg.es-DUScOW15.mjs +4 -0
  94. package/dist/amex.svg.es-BCXkaVLN.mjs +4 -0
  95. package/dist/amex.svg.es-Bn9e31C3.js +1 -0
  96. package/dist/apple-pay.svg.es-Cfgn0K28.js +1 -0
  97. package/dist/apple-pay.svg.es-DlCfkt39.mjs +4 -0
  98. package/dist/bacs.svg.es-BKsvSeIP.mjs +4 -0
  99. package/dist/bacs.svg.es-hL7hLPkQ.js +1 -0
  100. package/dist/bancontact.svg.es-BbRqGgZ9.mjs +4 -0
  101. package/dist/bancontact.svg.es-DU2ejvNL.js +1 -0
  102. package/dist/carnet.svg.es-C5SFaOsa.js +1 -0
  103. package/dist/carnet.svg.es-Db-KEb13.mjs +4 -0
  104. package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +4 -0
  105. package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +1 -0
  106. package/dist/cashapp.svg.es-CnS5r_D8.mjs +4 -0
  107. package/dist/cashapp.svg.es-DE4vMu_p.js +1 -0
  108. package/dist/{cn.es-DB5pDpxS.mjs → cn.es-BEU5D0Wz.mjs} +4 -4
  109. package/dist/cn.es-DxSeYcoP.js +1 -0
  110. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  111. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  112. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  113. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +8 -8
  114. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  115. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  116. package/dist/components/Invoice/Invoice.cjs +1 -1
  117. package/dist/components/Invoice/Invoice.mjs +19 -19
  118. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  119. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +3 -3
  120. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  121. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  122. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  123. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  124. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  125. package/dist/components/PaymentHistory/PaymentHistory.mjs +3 -3
  126. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  127. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  128. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  129. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  130. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  131. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  132. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  133. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  134. package/dist/{customElements-DdFA__me.mjs → customElements-B-89a5oH.mjs} +134 -53
  135. package/dist/customElements-DD7bpqkx.js +1 -0
  136. package/dist/{customer-D7HUfF3j.js → customer-DozNwS_a.js} +1 -1
  137. package/dist/{customer-B0AMetq6.mjs → customer-Dzj1g9lV.mjs} +1 -1
  138. package/dist/dana.svg.es-Bbn6_ktN.mjs +4 -0
  139. package/dist/dana.svg.es-DKZaseoJ.js +1 -0
  140. package/dist/dankort.svg.es-D8FgSiFf.js +1 -0
  141. package/dist/dankort.svg.es-DtAdliQq.mjs +4 -0
  142. package/dist/de-DE-BeyQVhTv.mjs +299 -0
  143. package/dist/de-DE-BvHD68Ay.js +1 -0
  144. package/dist/de-DE-CI2zQkiP.mjs +266 -0
  145. package/dist/de-DE-_40QfLNJ.js +1 -0
  146. package/dist/diners.svg.es-DhchsD1D.mjs +4 -0
  147. package/dist/diners.svg.es-SydF_H-Z.js +1 -0
  148. package/dist/discover.svg.es-B8vgzVNG.js +1 -0
  149. package/dist/discover.svg.es-BnqYPvnV.mjs +4 -0
  150. package/dist/eftpos.svg.es-DO0YPaY1.js +1 -0
  151. package/dist/eftpos.svg.es-DRLaafYa.mjs +4 -0
  152. package/dist/elo.svg.es-CTOm1rvj.js +1 -0
  153. package/dist/elo.svg.es-CgkEOP_O.mjs +4 -0
  154. package/dist/en-US--NRsi7Hz.js +1 -0
  155. package/dist/{en-US-D0P7NNNZ.mjs → en-US-5YWNEi-V.mjs} +72 -1
  156. package/dist/{en-US-Daw3v6GD.mjs → en-US-DksUWPIu.mjs} +10 -0
  157. package/dist/en-US-dqfKx3GS.js +1 -0
  158. package/dist/eps.svg.es-CApyGjyU.js +1 -0
  159. package/dist/eps.svg.es-D6IHsRYP.mjs +4 -0
  160. package/dist/formatting.es-DBtYnvI5.js +1 -0
  161. package/dist/{formatting.es-D-oVnc8H.mjs → formatting.es-eYgXv_AK.mjs} +3 -1
  162. package/dist/gcash.svg.es-BhJ-eA2z.mjs +4 -0
  163. package/dist/gcash.svg.es-JaL4fpZr.js +1 -0
  164. package/dist/girocard.svg.es-D_3LML4l.mjs +4 -0
  165. package/dist/girocard.svg.es-tVgtT23w.js +1 -0
  166. package/dist/go-pay.svg.es-6UtgwVBA.mjs +4 -0
  167. package/dist/go-pay.svg.es-fYX6yMzJ.js +1 -0
  168. package/dist/google-pay.svg.es-BYXX1em8.js +1 -0
  169. package/dist/google-pay.svg.es-CRxXgFVl.mjs +4 -0
  170. package/dist/hipercard.svg.es-Ct1-mF9F.mjs +4 -0
  171. package/dist/hipercard.svg.es-D-nmiFXB.js +1 -0
  172. package/dist/icon-sprite.svg.es-BpwT0GQ5.js +1 -0
  173. package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +4 -0
  174. package/dist/ideal.svg.es-D23EhJJ2.mjs +4 -0
  175. package/dist/ideal.svg.es-DXtHE0Jb.js +1 -0
  176. package/dist/{index-C5bKRt7l.mjs → index-Cai7laNY.mjs} +1 -1
  177. package/dist/{index-BJ3dHkSK.js → index-IZaUTAsE.js} +1 -1
  178. package/dist/{index.es-0cystq8F.mjs → index.es-D5xOw_SJ.mjs} +2 -2
  179. package/dist/{invoices-BSd-nKeE.mjs → invoices-1oYkdQQV.mjs} +1 -1
  180. package/dist/{invoices-BiqM6xN6.js → invoices-BAoh6X2a.js} +1 -1
  181. package/dist/it-IT-B6blp8MI.mjs +299 -0
  182. package/dist/it-IT-CEP3oeWs.js +1 -0
  183. package/dist/it-IT-CMy1tHKZ.mjs +266 -0
  184. package/dist/it-IT-aPQY57ht.js +1 -0
  185. package/dist/jcb.svg.es-Bz6J-c0s.js +1 -0
  186. package/dist/jcb.svg.es-CcH08OoO.mjs +4 -0
  187. package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +4 -0
  188. package/dist/kakao-pay.svg.es-qVTABboW.js +1 -0
  189. package/dist/klarna.svg.es-Clu-7zkp.js +1 -0
  190. package/dist/klarna.svg.es-DfIPX0gr.mjs +4 -0
  191. package/dist/maestro.svg.es-CVmNVokN.mjs +4 -0
  192. package/dist/maestro.svg.es-e8E_H2QU.js +1 -0
  193. package/dist/mastercard.svg.es-B8z0ZySS.mjs +4 -0
  194. package/dist/mastercard.svg.es-YO3_jGD6.js +1 -0
  195. package/dist/momo.svg.es-BXTQlQRy.js +1 -0
  196. package/dist/momo.svg.es-Bm5zCTOT.mjs +4 -0
  197. package/dist/{nl-NL-B4zEBFTw.mjs → nl-NL-CckNM7R9.mjs} +10 -0
  198. package/dist/nl-NL-CjoW8r_M.mjs +314 -0
  199. package/dist/nl-NL-e_vf6OuT.js +1 -0
  200. package/dist/nl-NL-zRUAuEHg.js +1 -0
  201. package/dist/nyce.svg.es-CgurqLKH.mjs +4 -0
  202. package/dist/nyce.svg.es-DM6esO47.js +1 -0
  203. package/dist/open-banking.svg.es-DUM360xB.js +1 -0
  204. package/dist/open-banking.svg.es-DzzLCVp_.mjs +4 -0
  205. package/dist/{paymentMethods-Cu2RzLgm.js → paymentMethods-CZ3ydybI.js} +1 -1
  206. package/dist/{paymentMethods-BsrkEbKT.mjs → paymentMethods-DIV78w0O.mjs} +1 -1
  207. package/dist/{payments-Bbm1HMQj.js → payments--lkjiwCt.js} +1 -1
  208. package/dist/{payments-B6Nfd6Al.mjs → payments-Cvqdrprv.mjs} +1 -1
  209. package/dist/paypal.svg.es-BdkNTf3c.js +1 -0
  210. package/dist/paypal.svg.es-DltWzW4V.mjs +4 -0
  211. package/dist/pulse.svg.es-BdpWAuIN.js +1 -0
  212. package/dist/pulse.svg.es-BecAwT-p.mjs +4 -0
  213. package/dist/screens/Checkout/Checkout.cjs +1 -1
  214. package/dist/screens/Checkout/Checkout.mjs +62 -62
  215. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  216. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  217. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  218. package/dist/screens/PayInvoice/PayInvoice.mjs +141 -38
  219. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  220. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +12 -14
  221. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  222. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +28 -31
  223. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  224. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +18 -18
  225. package/dist/sepa.svg.es-BF8PYKZg.js +1 -0
  226. package/dist/sepa.svg.es-cbE9g8gV.mjs +4 -0
  227. package/dist/star.svg.es-DsCD-tSp.mjs +4 -0
  228. package/dist/star.svg.es-Q50IzqXr.js +1 -0
  229. package/dist/{subscriptions-B4BOzLxR.js → subscriptions-300o4ae0.js} +1 -1
  230. package/dist/{subscriptions-C2C4WTuI.mjs → subscriptions-DcMHBPVJ.mjs} +1 -1
  231. package/dist/trustly.svg.es-C0Ou1HWk.mjs +4 -0
  232. package/dist/trustly.svg.es-CHojqNqm.js +1 -0
  233. package/dist/twint.svg.es-CQ-ZDfy8.js +1 -0
  234. package/dist/twint.svg.es-WrZYquRs.mjs +4 -0
  235. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +2 -0
  236. package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
  237. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +8 -0
  238. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +32 -2
  239. package/dist/types/translations/supported.d.ts +1 -1
  240. package/dist/unionpay.svg.es-DYgo83Hf.mjs +4 -0
  241. package/dist/unionpay.svg.es-YqJKKFEj.js +1 -0
  242. package/dist/url-CjULBkjW.js +1 -0
  243. package/dist/url-CvNDq4wp.mjs +22 -0
  244. package/dist/{useActionDispatchProvider-D55t_7LY.mjs → useActionDispatchProvider-BVOBO0Jx.mjs} +1 -1
  245. package/dist/{useActionDispatchProvider-Cz8xLLYA.js → useActionDispatchProvider-Cv9amjTf.js} +1 -1
  246. package/dist/{useCustomer-DYCpgA-3.js → useCustomer-DLHOs4BR.js} +1 -1
  247. package/dist/{useCustomer-BNhHz9RJ.mjs → useCustomer-EDhref7T.mjs} +1 -1
  248. package/dist/{useCustomerFormLabels-mX5QpApD.mjs → useCustomerFormLabels-B61-4xQ7.mjs} +111 -85
  249. package/dist/useCustomerFormLabels-C6wW4n2e.js +1 -0
  250. package/dist/useExperimentalFeature-0yFoaEzV.js +1 -0
  251. package/dist/useExperimentalFeature-DvxOrFPU.mjs +9 -0
  252. package/dist/{useInvoiceData-BczeMpuk.js → useInvoiceData-BSjVeJrI.js} +1 -1
  253. package/dist/{useInvoiceData-D-EvEioP.mjs → useInvoiceData-C0Y5WrbT.mjs} +2 -2
  254. package/dist/useInvoicesList-BRDZqsaB.js +1 -0
  255. package/dist/{useInvoicesList-BJJYwkIA.mjs → useInvoicesList-CYoE7q0u.mjs} +220 -184
  256. package/dist/{useLoadInitialData-BoGjdUu-.mjs → useLoadInitialData-Cp1OA8y6.mjs} +1 -1
  257. package/dist/{useLoadInitialData-CiJldX50.js → useLoadInitialData-u7IyXqb6.js} +1 -1
  258. package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +1 -0
  259. package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +141 -0
  260. package/dist/{usePaymentMethodOptions-fBvWYynV.js → usePaymentMethodOptions--8QpMvNm.js} +1 -1
  261. package/dist/{usePaymentMethodOptions-d49aOdLB.mjs → usePaymentMethodOptions-Cljh7HYp.mjs} +1 -1
  262. package/dist/{usePaymentMethods-Bkouz8aQ.mjs → usePaymentMethods-BJzoI8dZ.mjs} +1 -1
  263. package/dist/{usePaymentMethods-CFL3hFW_.js → usePaymentMethods-DvEnJWmB.js} +1 -1
  264. package/dist/usePayments-CANj0QVc.js +1 -0
  265. package/dist/{usePayments-BlliAt1E.mjs → usePayments-CaT1CBzE.mjs} +159 -59
  266. package/dist/{usePortal-fhri8neB.js → usePortal-BjGoSeLy.js} +1 -1
  267. package/dist/{usePortal-eyA4OqjU.mjs → usePortal-CMPQ0M9R.mjs} +1 -1
  268. package/dist/{useSubscription--IGLmLS6.mjs → useSubscription-D1UKnZAx.mjs} +1 -1
  269. package/dist/{useSubscription-V3KSuhOY.js → useSubscription-DZfRHbL7.js} +1 -1
  270. package/dist/visa.svg.es-B6aU_qRs.mjs +4 -0
  271. package/dist/visa.svg.es-D6sc4YTE.js +1 -0
  272. package/dist/vpay.svg.es-4qIqS4aX.mjs +4 -0
  273. package/dist/vpay.svg.es-CLGTyB09.js +1 -0
  274. package/dist/zip.svg.es-3PzSBe1E.mjs +4 -0
  275. package/dist/zip.svg.es-BRsgmur-.js +1 -0
  276. package/package.json +14 -2
  277. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang--AVI4Q4E.js +0 -1
  278. package/dist/Amount.vue.es-CeW8S7kT.js +0 -1
  279. package/dist/Button.vue.es-aLcIdATK.js +0 -1
  280. package/dist/Chip.vue.es-DPGTweAr.mjs +0 -164
  281. package/dist/Chip.vue.es-q4c-DXXl.js +0 -1
  282. package/dist/ContextMenu.vue.es-C_TL7-kg.js +0 -1
  283. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CMIVAoQq.js +0 -1
  284. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BP-VRwEM.js +0 -1
  285. package/dist/ErrorNotification.vue.es-BX3khKFc.js +0 -1
  286. package/dist/ErrorNotification.vue.es-C22Kt8Qn.mjs +0 -30
  287. package/dist/FormMessage.vue.es-LeWoj774.js +0 -1
  288. package/dist/IconButton.vue.es-CVFn0Ntj.js +0 -1
  289. package/dist/IconTitle.vue.es-DoN4GVde.js +0 -1
  290. package/dist/Input.vue.es-C8VhMKuI.js +0 -1
  291. package/dist/InvoiceSummary.vue.es-emE-mCFh.js +0 -1
  292. package/dist/Modal.vue.es-CX5geho3.js +0 -1
  293. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B_IIOBjg.js +0 -1
  294. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BdfWchcQ.js +0 -1
  295. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D8fkE1yG.js +0 -1
  296. package/dist/PaymentIntegrationFormAdyen-BjPpoLF7.js +0 -1
  297. package/dist/PaymentIntegrationFormStripe-51KZc27R.js +0 -1
  298. package/dist/PaymentMethod.vue.es-CH__kPw4.mjs +0 -636
  299. package/dist/PaymentMethod.vue.es-uVZO0Zju.js +0 -1
  300. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BktA5F4r.js +0 -1
  301. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-XPz73RVU.js +0 -1
  302. package/dist/PricingGroupRangeInput.vue.es-BuQeJCEX.js +0 -1
  303. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Jk34S5B7.js +0 -1
  304. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CttBs_G8.js +0 -1
  305. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Dl5Lg39D.js +0 -1
  306. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CTnTWaB8.js +0 -1
  307. package/dist/TrialChip.vue.es-0nrqSZeY.js +0 -1
  308. package/dist/adyen-BMDZQBUG.js +0 -1
  309. package/dist/cn.es-BLHlMR4Y.js +0 -1
  310. package/dist/customElements-BTJzBHMy.js +0 -1
  311. package/dist/en-US-BSrbFk5W.js +0 -1
  312. package/dist/en-US-scSQQXK8.js +0 -1
  313. package/dist/formatting.es-9hM8aHSg.js +0 -1
  314. package/dist/nl-NL-B5tuyIOM.mjs +0 -88
  315. package/dist/nl-NL-Bs3d8q6T.js +0 -1
  316. package/dist/nl-NL-DIAZWDF9.js +0 -1
  317. package/dist/useCustomerFormLabels-Cw6QpEJY.js +0 -1
  318. package/dist/useInvoicesList-rMg-8LbH.js +0 -1
  319. package/dist/usePayments-BKTNn_RN.js +0 -1
@@ -0,0 +1 @@
1
+ const e=require("vue"),t=require("./slots.es-Dq1PTUOv.js"),s=require("./Button.vue.es-O8mNivLL.js"),l=require("./Avatar.vue.es-BGTZSAqU.js"),r=require("./customElements-DD7bpqkx.js"),a={class:"min-w-0 grow"},i=e.defineComponent({__name:"IconTitle",props:{title:{},subTitle:{},icon:{},variant:{default:"default"},suffix:{},size:{default:"md"},avatar:{type:Boolean,default:!1},uppercase:{type:Boolean,default:!0},resourceId:{},iconClass:{},titleClass:{}},setup(i){const n=i,o=e.computed(()=>{switch(n.variant){case"transparent":return"";case"warning":return"bg-gradient-to-br backdrop-blur-sm from-orange-600/20 to-yellow-200/20";case"neutral":return"bg-neutral-100";default:return"bg-gradient-to-br backdrop-blur-sm from-peach-100/20 to-mint-100/20"}});return(n,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex min-w-0 items-center",{"gap-4":["md","lg"].includes(i.size),"gap-3":"sm"===i.size,"gap-2":"xs"===i.size&&"transparent"!==i.variant,"gap-1":"xs"===i.size&&"transparent"===i.variant}])},[i.icon?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([[i.iconClass,{[o.value]:!0,"h-9 w-9":["md","lg"].includes(i.size),"h-8 w-8":"sm"===i.size,"h-6 w-6":"xs"===i.size}],"flex shrink-0 items-center justify-center rounded-md"])},[i.icon?(e.openBlock(),e.createBlock(e.unref(s._sfc_main),{key:0,size:["sm","xs"].includes(i.size)?"xs":"md",icon:i.icon},null,8,["size","icon"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),i.avatar&&i.title?(e.openBlock(),e.createBlock(e.unref(l._sfc_main),{key:1,initials:i.title.slice(0,1),"color-hash":i.title,size:["sm","xs"].includes(i.size)?"lg":"xl"},null,8,["initials","color-hash","size"])):e.createCommentVNode("",!0),e.createElementVNode("div",a,[i.title||n.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([[i.titleClass,{"text-3xl":"lg"===i.size,"text-2xl":"md"===i.size,"text-base":"sm"===i.size,"text-xs text-subtle":"xs"===i.size,"text-default":"xs"!==i.size,uppercase:"xs"===i.size&&i.uppercase,"font-general-sans":["md","lg"].includes(i.size)}],"flex flex-wrap items-center break-words font-semibold"])},[e.renderSlot(n.$slots,"prefix"),e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(i.title),1)]),e.renderSlot(n.$slots,"suffix",{},()=>[e.createTextVNode(e.toDisplayString(i.suffix),1)])],2)):e.createCommentVNode("",!0),i.subTitle||n.$slots.subTitle&&!e.unref(t.isVnodeEmpty)(n.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:1,variant:"body-sm",color:"secondary"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"subTitle",{},()=>[e.createTextVNode(e.toDisplayString(i.subTitle),1)])]),_:3})):e.createCommentVNode("",!0)])],2))}});exports._sfc_main=i;
@@ -0,0 +1 @@
1
+ const e=require("vue"),l=require("./cn.es-DxSeYcoP.js"),o=require("./FormMessage.vue.es-Bd4_NG9H.js"),a=require("./useService-D73FNBjT.js"),t={sm:"h-7",md:"h-10",lg:"h-12",xl:"h-16"};const r=["data-testid"],s={class:"relative"},u={class:"relative grow"},n=["id","disabled","type","value","name","form","placeholder","autocomplete"],d=["id","value","disabled","type","name","form","placeholder","autocomplete"],i={key:1,class:"mt-2 text-sm text-secondary"},c=e.defineComponent({__name:"Input",props:e.mergeModels({label:{default:""},labelScreenReaderOnly:{type:Boolean},disabled:{type:Boolean,default:!1},type:{default:"text"},asTextType:{type:Boolean,default:!1},size:{default:"md"},prefixClass:{},suffixClass:{},wrapperClass:{default:""},inputClass:{},rootClass:{default:""},required:{type:Boolean,default:!1},id:{},checked:{type:Boolean},value:{},hasShadow:{type:Boolean,default:!1},hasFocusStyles:{type:Boolean,default:!0},form:{},ring:{type:Boolean,default:!0},error:{},invalid:{type:Boolean},name:{},prefixHasBorder:{type:Boolean,default:!0},placeholder:{},autocomplete:{}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(c){const p=c,m=e.useModel(c,"modelValue"),f="number"===p.type&&p.asTextType,v=p.name??l.uniqueId("name"),y=e=>{f&&(m.value=e.target.value)},b=p.id??l.uniqueId(`${v}-`),h=e=>{if("number"===p.type){e.target.blur()}},x=e.computed(()=>!a.isEmpty(p.error)||!!p.invalid),{wrapperClasses:C,inputClasses:k,labelClasses:g,prefixClasses:B,suffixClasses:w}=function({size:o,disabled:a,labelScreenReaderOnly:r,hasError:s,ring:u,hasShadow:n,hasFocusStyles:d,type:i,prefixHasBorder:c,wrapperClass:p,inputClass:m,prefixClass:f,suffixClass:v,isMultiline:y}){const b=e.computed(()=>(null==a?void 0:a.value)??!1),h=e.computed(()=>"checkbox"===(null==i?void 0:i.value)),x=e.computed(()=>!1!==(null==d?void 0:d.value)),C=e.computed(()=>((null==s?void 0:s.value)??!1)&&!b.value),k=e.computed(()=>({"block text-sm font-medium text-default":!0,"sr-only":null==r?void 0:r.value})),g=e.computed(()=>({"rounded border border-gray-300 overflow-hidden":!0,"cursor-not-allowed bg-gray-50 border-transparent":b.value,"bg-white":!b.value,"focus-within:border-primary-500 focus-within:outline-1 focus-within:outline focus-within:outline-primary-500":x.value,"focus-within:ring-primary-500":null==u?void 0:u.value,"shadow-sm focus-within:shadow-sm":null==n?void 0:n.value,"border-red-500 focus-within:border-red-500 focus-within:outline-red-500 focus-within:ring-red-500":C.value})),B=e.computed(()=>({"text-default placeholder:text-placeholder disabled:text-disabled disabled:placeholder:text-disabled block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent":!0,"text-xs":"sm"===o.value,"text-sm":"sm"!==o.value,"p-2":h.value,"px-2":!h.value&&"sm"===o.value,"px-4":!h.value&&"sm"!==o.value,[t[o.value]]:!h.value&&!(null==y?void 0:y.value),"cursor-default":b.value})),w=e.computed(()=>({"z-10 flex shrink-0 items-center":!0,"px-3":null==c?void 0:c.value,"pl-3":!(null==c?void 0:c.value),"border-r":null==c?void 0:c.value,"border-none":!(null==c?void 0:c.value),"border-red-500":(null==c?void 0:c.value)&&C.value,"border-gray-300":(null==c?void 0:c.value)&&!C.value})),S=e.computed(()=>({"align-end z-10 flex shrink-0 items-center gap-2 border-l px-2":!0,"border-red-500":C.value,"border-gray-300":!C.value,"px-1":"sm"===o.value,"px-2":"md"===o.value,"px-3":"lg"===o.value}));return{wrapperClasses:e.computed(()=>l.cn(g.value,null==p?void 0:p.value)),inputClasses:e.computed(()=>l.cn(B.value,null==m?void 0:m.value)),prefixClasses:e.computed(()=>l.cn(w.value,null==f?void 0:f.value)),suffixClasses:e.computed(()=>l.cn(S.value,null==v?void 0:v.value)),labelClasses:k}}({...e.toRefs(p),hasError:x}),S=e.ref(),$=e=>{var l;const o=e.target;(null==o?void 0:o.closest("button, a, input, select, textarea"))||null==(l=S.value)||l.focus()};return(t,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(c.rootClass),"data-testid":e.unref(l.getRootTestId)(e.unref(v))},[c.label?(e.openBlock(),e.createBlock(l._sfc_main,{key:0,class:e.normalizeClass(e.unref(g)),for:e.unref(b),required:c.required},e.createSlots({suffix:e.withCtx(()=>[e.unref(a.isEmpty)(c.error)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o._sfc_main,{key:0,message:c.error},null,8,["message"])),e.renderSlot(t.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label)+" ",1)]),_:2},[t.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip")]),key:"0"}:void 0]),1032,["class","for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",s,[e.createElementVNode("div",{class:e.normalizeClass(["flex",e.unref(C)])},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(B))},[e.renderSlot(t.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",u,[e.unref(f)?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0},t.$attrs,{id:e.unref(b),ref_key:"inputElRef",ref:S,disabled:c.disabled,type:c.type,class:e.unref(k),value:m.value,name:e.unref(v),form:c.form,placeholder:c.placeholder,autocomplete:c.autocomplete??"off",onKeyup:y,onChange:y,onBlur:p[0]||(p[0]=e=>t.$emit("blur")),onWheel:h}),null,16,n)):e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},t.$attrs,{id:e.unref(b),ref_key:"inputElRef",ref:S,"onUpdate:modelValue":p[1]||(p[1]=e=>m.value=e),value:"checkbox"===c.type?c.value:m.value,disabled:c.disabled,type:c.type,name:e.unref(v),form:c.form,class:e.unref(k),placeholder:c.placeholder,autocomplete:c.autocomplete??"off",onBlur:p[2]||(p[2]=e=>t.$emit("blur")),onWheel:h}),null,16,d)),[[e.vModelDynamic,m.value]]),e.renderSlot(t.$slots,"input")]),t.$slots.suffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(w)),onClick:$},[e.renderSlot(t.$slots,"suffix")],2)):e.createCommentVNode("",!0)],2),e.renderSlot(t.$slots,"adornment-end")]),t.$slots.helper?(e.openBlock(),e.createElementBlock("div",i,[e.renderSlot(t.$slots,"helper")])):e.createCommentVNode("",!0)],10,r))}});exports._sfc_main=c;
@@ -1,6 +1,6 @@
1
- import { computed, defineComponent, useModel, toRefs, ref, openBlock, createElementBlock, unref, normalizeClass, createBlock, createSlots, withCtx, createTextVNode, toDisplayString, renderSlot, createCommentVNode, createElementVNode, mergeProps, withDirectives, vModelDynamic, mergeModels } from "vue";
2
- import { c as cn, u as uniqueId, g as getRootTestId, _ as _sfc_main$1 } from "./cn.es-DB5pDpxS.mjs";
3
- import { _ as _sfc_main$2 } from "./FormMessage.vue.es-DFQXxiSC.mjs";
1
+ import { computed, defineComponent, useModel, toRefs, ref, openBlock, createElementBlock, unref, normalizeClass, createBlock, createSlots, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot, createElementVNode, mergeProps, withDirectives, vModelDynamic, mergeModels } from "vue";
2
+ import { c as cn, u as uniqueId, g as getRootTestId, _ as _sfc_main$1 } from "./cn.es-BEU5D0Wz.mjs";
3
+ import { _ as _sfc_main$2 } from "./FormMessage.vue.es-C3oxwq_8.mjs";
4
4
  import { i as isEmpty } from "./useService-W3Kxems4.mjs";
5
5
  const sizeClasses = {
6
6
  sm: "h-7",
@@ -12,6 +12,7 @@ function useInputClasses({
12
12
  size,
13
13
  disabled,
14
14
  labelScreenReaderOnly,
15
+ hasError,
15
16
  ring,
16
17
  hasShadow,
17
18
  hasFocusStyles,
@@ -26,8 +27,9 @@ function useInputClasses({
26
27
  const isDisabled = computed(() => (disabled == null ? void 0 : disabled.value) ?? false);
27
28
  const isCheckbox = computed(() => (type == null ? void 0 : type.value) === "checkbox");
28
29
  const isFocusStyles = computed(() => (hasFocusStyles == null ? void 0 : hasFocusStyles.value) !== false);
30
+ const isInvalid = computed(() => ((hasError == null ? void 0 : hasError.value) ?? false) && !isDisabled.value);
29
31
  const labelClasses = computed(() => ({
30
- "block text-sm font-medium text-gray-900": true,
32
+ "block text-sm font-medium text-default": true,
31
33
  "sr-only": labelScreenReaderOnly == null ? void 0 : labelScreenReaderOnly.value
32
34
  }));
33
35
  const wrapperClasses = computed(() => ({
@@ -36,10 +38,13 @@ function useInputClasses({
36
38
  "bg-white": !isDisabled.value,
37
39
  "focus-within:border-primary-500 focus-within:outline-1 focus-within:outline focus-within:outline-primary-500": isFocusStyles.value,
38
40
  "focus-within:ring-primary-500": ring == null ? void 0 : ring.value,
39
- "shadow-sm focus-within:shadow-sm": hasShadow == null ? void 0 : hasShadow.value
41
+ "shadow-sm focus-within:shadow-sm": hasShadow == null ? void 0 : hasShadow.value,
42
+ "border-red-500 focus-within:border-red-500 focus-within:outline-red-500 focus-within:ring-red-500": isInvalid.value
40
43
  }));
41
44
  const inputClasses = computed(() => ({
42
- "text-gray-900 block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent": true,
45
+ // Disabled text wins over the placeholder colour because `disabled:placeholder:`
46
+ // is the more specific selector.
47
+ "text-default placeholder:text-placeholder disabled:text-disabled disabled:placeholder:text-disabled block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent": true,
43
48
  "text-xs": size.value === "sm",
44
49
  "text-sm": size.value !== "sm",
45
50
  "p-2": isCheckbox.value,
@@ -52,11 +57,15 @@ function useInputClasses({
52
57
  "z-10 flex shrink-0 items-center": true,
53
58
  "px-3": prefixHasBorder == null ? void 0 : prefixHasBorder.value,
54
59
  "pl-3": !(prefixHasBorder == null ? void 0 : prefixHasBorder.value),
55
- "border-r border-gray-300": prefixHasBorder == null ? void 0 : prefixHasBorder.value,
56
- "border-none": !(prefixHasBorder == null ? void 0 : prefixHasBorder.value)
60
+ "border-r": prefixHasBorder == null ? void 0 : prefixHasBorder.value,
61
+ "border-none": !(prefixHasBorder == null ? void 0 : prefixHasBorder.value),
62
+ "border-red-500": (prefixHasBorder == null ? void 0 : prefixHasBorder.value) && isInvalid.value,
63
+ "border-gray-300": (prefixHasBorder == null ? void 0 : prefixHasBorder.value) && !isInvalid.value
57
64
  }));
58
65
  const suffixClasses = computed(() => ({
59
- "align-end z-10 flex shrink-0 items-center gap-2 border-l border-gray-300 px-2": true,
66
+ "align-end z-10 flex shrink-0 items-center gap-2 border-l px-2": true,
67
+ "border-red-500": isInvalid.value,
68
+ "border-gray-300": !isInvalid.value,
60
69
  "px-1": size.value === "sm",
61
70
  "px-2": size.value === "md",
62
71
  "px-3": size.value === "lg"
@@ -80,7 +89,7 @@ const _hoisted_4 = ["id", "disabled", "type", "value", "name", "form", "placehol
80
89
  const _hoisted_5 = ["id", "value", "disabled", "type", "name", "form", "placeholder", "autocomplete"];
81
90
  const _hoisted_6 = {
82
91
  key: 1,
83
- class: "mt-2 text-sm text-gray-500"
92
+ class: "mt-2 text-sm text-secondary"
84
93
  };
85
94
  const _sfc_main = /* @__PURE__ */ defineComponent({
86
95
  __name: "Input",
@@ -105,6 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
105
114
  form: {},
106
115
  ring: { type: Boolean, default: true },
107
116
  error: {},
117
+ invalid: { type: Boolean },
108
118
  name: {},
109
119
  prefixHasBorder: { type: Boolean, default: true },
110
120
  placeholder: {},
@@ -130,7 +140,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
130
140
  el.blur();
131
141
  }
132
142
  };
133
- const { wrapperClasses, inputClasses, labelClasses, prefixClasses, suffixClasses } = useInputClasses(toRefs(props));
143
+ const hasError = computed(() => !isEmpty(props.error) || !!props.invalid);
144
+ const { wrapperClasses, inputClasses, labelClasses, prefixClasses, suffixClasses } = useInputClasses({ ...toRefs(props), hasError });
134
145
  const inputElRef = ref();
135
146
  const focusInput = (event) => {
136
147
  var _a;
@@ -152,6 +163,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
163
  required: __props.required
153
164
  }, createSlots({
154
165
  suffix: withCtx(() => [
166
+ !unref(isEmpty)(__props.error) ? (openBlock(), createBlock(_sfc_main$2, {
167
+ key: 0,
168
+ message: __props.error
169
+ }, null, 8, ["message"])) : createCommentVNode("", true),
155
170
  renderSlot(_ctx.$slots, "label-suffix")
156
171
  ]),
157
172
  default: withCtx(() => [
@@ -224,11 +239,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
224
239
  ], 2),
225
240
  renderSlot(_ctx.$slots, "adornment-end")
226
241
  ]),
227
- !unref(isEmpty)(__props.error) || _ctx.$slots.helper ? (openBlock(), createElementBlock("div", _hoisted_6, [
228
- !unref(isEmpty)(__props.error) ? (openBlock(), createBlock(_sfc_main$2, {
229
- key: 0,
230
- message: __props.error
231
- }, null, 8, ["message"])) : _ctx.$slots.helper ? renderSlot(_ctx.$slots, "helper", {}, void 0, void 0, 1) : createCommentVNode("", true)
242
+ _ctx.$slots.helper ? (openBlock(), createElementBlock("div", _hoisted_6, [
243
+ renderSlot(_ctx.$slots, "helper")
232
244
  ])) : createCommentVNode("", true)
233
245
  ], 10, _hoisted_1);
234
246
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, withCtx, createElementBlock, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode } from "vue";
2
- import { _ as _sfc_main$1 } from "./Section.vue.es-MEFUWCxU.mjs";
3
- import { u as useIntl, _ as _sfc_main$2 } from "./customElements-DdFA__me.mjs";
2
+ import { _ as _sfc_main$1 } from "./Section.vue.es-DX_9ueCG.mjs";
3
+ import { u as useIntl, _ as _sfc_main$2 } from "./customElements-B-89a5oH.mjs";
4
4
  const _hoisted_1 = {
5
5
  key: 0,
6
6
  class: "sv-invoice-details__body flex flex-col gap-2"
@@ -1 +1 @@
1
- const e=require("vue"),i=require("./Section.vue.es-tLYXp-tF.js"),t=require("./customElements-BTJzBHMy.js"),o={key:0,class:"sv-invoice-details__body flex flex-col gap-2"},a={class:"sv-invoice-details__row"},n={class:"sv-invoice-details__row"},c=e.defineComponent({__name:"InvoiceDetailsBlock",props:{invoice:{type:Object}},setup(c){const{$t:s,formatDate:d}=t.useIntl();return(l,v)=>(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{class:"sv-invoice-details",title:e.unref(s)({defaultMessage:"Invoice details",description:"Title for the invoice details block on the invoice overview page",id:"sdk.invoice_details.invoice_details_block.title"})},{default:e.withCtx(()=>[c.invoice?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("div",a,[e.createVNode(e.unref(t._sfc_main),{variant:"caps-heading",class:"sv-invoice-details__label"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Invoice date",description:"Title for the invoice date in invoice details block on the invoice overview page",id:"sdk.invoice_details.invoice_details_block.invoice_date"})),1)]),_:1}),c.invoice.invoice_date?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,variant:"body-xs",class:"sv-invoice-details__value"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({date:c.invoice.invoice_date,format:"date",timezone:c.invoice.customer.timezone,offsetType:"offsetted"})),1)]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",n,[e.createVNode(e.unref(t._sfc_main),{variant:"caps-heading",class:"sv-invoice-details__label"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Due date",description:"Title for the due date in invoice details block on the invoice overview page",id:"sdk.invoice_details.invoice_details_block.due_date"})),1)]),_:1}),c.invoice.due_date?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,variant:"body-xs",class:"sv-invoice-details__value"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({date:c.invoice.due_date,format:"date",timezone:c.invoice.customer.timezone,offsetType:"offsetted"})),1)]),_:1})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),_:1},8,["title"]))}});exports._sfc_main=c;
1
+ const e=require("vue"),i=require("./Section.vue.es-CAJvEDn6.js"),t=require("./customElements-DD7bpqkx.js"),o={key:0,class:"sv-invoice-details__body flex flex-col gap-2"},a={class:"sv-invoice-details__row"},n={class:"sv-invoice-details__row"},c=e.defineComponent({__name:"InvoiceDetailsBlock",props:{invoice:{type:Object}},setup(c){const{$t:s,formatDate:d}=t.useIntl();return(l,v)=>(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{class:"sv-invoice-details",title:e.unref(s)({defaultMessage:"Invoice details",description:"Title for the invoice details block on the invoice overview page",id:"sdk.invoice_details.invoice_details_block.title"})},{default:e.withCtx(()=>[c.invoice?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("div",a,[e.createVNode(e.unref(t._sfc_main),{variant:"caps-heading",class:"sv-invoice-details__label"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Invoice date",description:"Title for the invoice date in invoice details block on the invoice overview page",id:"sdk.invoice_details.invoice_details_block.invoice_date"})),1)]),_:1}),c.invoice.invoice_date?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,variant:"body-xs",class:"sv-invoice-details__value"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({date:c.invoice.invoice_date,format:"date",timezone:c.invoice.customer.timezone,offsetType:"offsetted"})),1)]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",n,[e.createVNode(e.unref(t._sfc_main),{variant:"caps-heading",class:"sv-invoice-details__label"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Due date",description:"Title for the due date in invoice details block on the invoice overview page",id:"sdk.invoice_details.invoice_details_block.due_date"})),1)]),_:1}),c.invoice.due_date?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,variant:"body-xs",class:"sv-invoice-details__value"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({date:c.invoice.due_date,format:"date",timezone:c.invoice.customer.timezone,offsetType:"offsetted"})),1)]),_:1})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),_:1},8,["title"]))}});exports._sfc_main=c;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, renderSlot } from "vue";
2
- import { _ as _sfc_main$2, u as useInvoice, a as usePayments } from "./usePayments-BlliAt1E.mjs";
3
- import { u as useLoadInitialData } from "./useLoadInitialData-BoGjdUu-.mjs";
2
+ import { _ as _sfc_main$2, u as useInvoice, a as usePayments } from "./usePayments-CaT1CBzE.mjs";
3
+ import { u as useLoadInitialData } from "./useLoadInitialData-Cp1OA8y6.mjs";
4
4
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
5
  __name: "InvoiceHeader",
6
6
  props: {
@@ -1 +1 @@
1
- const e=require("vue"),n=require("./usePayments-BKTNn_RN.js"),o=require("./useLoadInitialData-CiJldX50.js"),i=e.defineComponent({__name:"InvoiceHeader",props:{isLoading:{type:Boolean},invoice:{type:Object},payments:{type:Array},invoiceDownloadService:{type:Function},configuration:{type:Object}},setup:o=>(i,t)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{class:"sv-invoice-header sv-root sv-component","payment-attempts":o.payments??[],invoice:o.invoice,"download-service":()=>o.invoiceDownloadService(o.invoice.id),"show-download-button":o.configuration.enableDownloadButton,variant:"external"},null,8,["payment-attempts","invoice","download-service","show-download-button"]))}),t=e.defineComponent({__name:"InvoiceEntryView",props:{invoiceId:{type:String}},setup(i){const t=i,a=n.useInvoice({invoiceId:t.invoiceId}),c=n.usePayments(),{isLoading:s}=o.useLoadInitialData(a.get(),c.get(t.invoiceId));return(n,o)=>e.renderSlot(n.$slots,"default",{invoice:e.unref(a).invoice.value,invoiceDownloadService:e.unref(a).downloadInvoicePdf,payments:e.unref(c),isLoading:e.unref(s)})}});exports._sfc_main=t,exports._sfc_main$1=i;
1
+ const e=require("vue"),n=require("./usePayments-CANj0QVc.js"),o=require("./useLoadInitialData-u7IyXqb6.js"),i=e.defineComponent({__name:"InvoiceHeader",props:{isLoading:{type:Boolean},invoice:{type:Object},payments:{type:Array},invoiceDownloadService:{type:Function},configuration:{type:Object}},setup:o=>(i,t)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{class:"sv-invoice-header sv-root sv-component","payment-attempts":o.payments??[],invoice:o.invoice,"download-service":()=>o.invoiceDownloadService(o.invoice.id),"show-download-button":o.configuration.enableDownloadButton,variant:"external"},null,8,["payment-attempts","invoice","download-service","show-download-button"]))}),t=e.defineComponent({__name:"InvoiceEntryView",props:{invoiceId:{type:String}},setup(i){const t=i,a=n.useInvoice({invoiceId:t.invoiceId}),c=n.usePayments(),{isLoading:s}=o.useLoadInitialData(a.get(),c.get(t.invoiceId));return(n,o)=>e.renderSlot(n.$slots,"default",{invoice:e.unref(a).invoice.value,invoiceDownloadService:e.unref(a).downloadInvoicePdf,payments:e.unref(c),isLoading:e.unref(s)})}});exports._sfc_main=t,exports._sfc_main$1=i;