@solvimon/solvimon-web 0.1.0-alpha.22 → 0.1.0-alpha.23

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 (204) hide show
  1. package/README.md +3 -0
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js} +1 -1
  4. package/dist/Alert.vue.es-RyK53a2P.js +1 -0
  5. package/dist/Alert.vue.es-lIiAWf2S.mjs +146 -0
  6. package/dist/{Avatar.vue.es-DNJ-jexx.mjs → Avatar.vue.es-2E3laNRb.mjs} +1 -1
  7. package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-DdJreyr_.js} +1 -1
  8. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js} +1 -1
  9. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs} +4 -4
  10. package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-BJEy-e9C.mjs} +1 -1
  11. package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-CJNxYacb.js} +1 -1
  12. package/dist/Checkout.entry.ce-BfLlnQyb.js +1 -0
  13. package/dist/{Checkout.entry.ce-B5-0AM67.mjs → Checkout.entry.ce-CQkrWscC.mjs} +1095 -1073
  14. package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DGbc4L_D.mjs} +2 -2
  15. package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-DLQ4QEPo.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-Bd2kmeVq.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-DL1M7pcr.mjs} +4 -4
  18. package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-CE94ASC3.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-hiFzB43w.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js} +1 -1
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs} +5 -5
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs} +15 -15
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js +1 -0
  24. package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CFZUQ62L.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-CvCgHHXN.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-B3mvv79S.mjs} +2 -2
  29. package/dist/ErrorNotification.vue.es-DI2B7WiR.js +1 -0
  30. package/dist/IconButton.vue.es-Dp8h4YOx.js +1 -0
  31. package/dist/IconButton.vue.es-GLcGhoHC.mjs +56 -0
  32. package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-CzuPQtOX.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-DN9r6nfK.js} +1 -1
  34. package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-5Cq8a7oH.mjs} +2 -2
  35. package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-DM81HeVv.js} +1 -1
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs} +2 -2
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js} +1 -1
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs} +2 -2
  40. package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-DbtqsTuP.mjs} +7 -7
  41. package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-Qy99kLZs.js} +1 -1
  42. package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-DgLl6XBV.js} +1 -1
  43. package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-Z2DWAN2u.mjs} +5 -5
  44. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js +1 -0
  45. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs +294 -0
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-CjP_514k.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-DS1j-8m-.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-80b19Lkq.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CpOZUf-W.mjs} +1 -1
  54. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs} +3 -3
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js} +1 -1
  56. package/dist/{PaymentIntegrationFormAdyen-DfN7cPYZ.mjs → PaymentIntegrationFormAdyen-BQcgDcik.mjs} +281 -204
  57. package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +98 -0
  58. package/dist/PaymentIntegrationFormStripe-CMwLqOe6.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-Dx1H3fZ2.mjs} +249 -178
  60. package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-EhRCfeax.mjs} +3 -3
  61. package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-pLCCzVxN.js} +1 -1
  62. package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-Bw2e1tXo.js} +1 -1
  63. package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-D3OY8zK5.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js} +1 -1
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs} +5 -5
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs} +6 -6
  68. package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-BQqkgmzL.mjs} +9 -9
  69. package/dist/PlanCustomizationEditor-RC8kj2rC.js +1 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-ClkE98ML.js} +2 -2
  71. package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-DNsiUZyT.mjs} +4 -4
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js} +1 -1
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs} +5 -5
  74. package/dist/RadioGroupExtended.vue.es-Dk9xdj76.js +1 -0
  75. package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-vUqn2ZUP.mjs} +3 -3
  76. package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-C2_topx4.mjs} +1 -1
  77. package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-Cybk1Nb8.js} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs} +6 -6
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js} +1 -1
  80. package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-BlCU_xc5.mjs} +1 -1
  81. package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-CNTg_oRy.js} +1 -1
  82. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js +1 -0
  83. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs} +12 -12
  84. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js} +1 -1
  85. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs} +2 -2
  86. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs} +6 -6
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js} +1 -1
  88. package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-Fu9Od3Vr.mjs} +1 -1
  89. package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-OX6bAWP9.js} +1 -1
  90. package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-CbjdkR4i.js} +1 -1
  91. package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-c7tZOIW3.mjs} +2 -2
  92. package/dist/{cn.es-BGqYNPM3.mjs → cn.es-C8Ogac5T.mjs} +2 -2
  93. package/dist/{cn.es-CvmLj7KH.js → cn.es-lC4_Xd0R.js} +1 -1
  94. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  95. package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
  96. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  97. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
  98. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  99. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
  100. package/dist/components/Invoice/Invoice.cjs +1 -1
  101. package/dist/components/Invoice/Invoice.mjs +10 -10
  102. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  103. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  104. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  105. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +8 -8
  106. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  107. package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
  108. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  109. package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
  110. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  111. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
  112. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  113. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
  114. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  115. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
  116. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  117. package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
  118. package/dist/core/index.cjs +1 -1
  119. package/dist/core/index.mjs +26 -23
  120. package/dist/{customElements-Vox1PB6G.js → customElements-BYIdPSzQ.js} +10 -10
  121. package/dist/{customElements-CSE7dwUr.mjs → customElements-Df6dGrN-.mjs} +354 -353
  122. package/dist/{customer-5krPxZ8i.mjs → customer-DmsKYpVi.mjs} +1 -1
  123. package/dist/{customer-Dsq-Moea.js → customer-DoLHZuMG.js} +1 -1
  124. package/dist/{de-DE-DsFtpLsx.mjs → de-DE-Bgm9bnmp.mjs} +19 -0
  125. package/dist/{de-DE-C3DzP1nj.js → de-DE-CAL9Mji2.js} +1 -1
  126. package/dist/{en-US-DvkvbV0p.mjs → en-US-E86eRIxh.mjs} +19 -0
  127. package/dist/{en-US-X_pSFsNm.js → en-US-_xe5H4TQ.js} +1 -1
  128. package/dist/index.cjs +1 -1
  129. package/dist/index.mjs +1 -1
  130. package/dist/{invoices-DRgfpkJ6.mjs → invoices-CrO6p4Ms.mjs} +1 -1
  131. package/dist/{invoices-xOV2YaEV.js → invoices-mw87cNTS.js} +1 -1
  132. package/dist/{it-IT-YBtHAao1.js → it-IT-QFQ1Ajbb.js} +1 -1
  133. package/dist/{it-IT-TE7oqvXa.mjs → it-IT-co1BfV5s.mjs} +21 -2
  134. package/dist/{nl-NL-C8wnyKju.js → nl-NL-CJXJC1bx.js} +1 -1
  135. package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-Drv2E66B.mjs} +19 -0
  136. package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
  137. package/dist/paymentFailure-Cki8c5BX.js +1 -0
  138. package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-BNQbW_f1.mjs} +1 -1
  139. package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-CQdhZwq4.js} +1 -1
  140. package/dist/{payments-jAgXhdp_.js → payments-KTjVHqOa.js} +1 -1
  141. package/dist/{payments-Dvqh6CGW.mjs → payments-VS_N2xpJ.mjs} +1 -1
  142. package/dist/screens/Checkout/Checkout.cjs +1 -1
  143. package/dist/screens/Checkout/Checkout.mjs +2 -2
  144. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  145. package/dist/screens/CustomerOverview/CustomerOverview.mjs +20 -20
  146. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  147. package/dist/screens/PayInvoice/PayInvoice.mjs +12 -12
  148. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  149. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
  150. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  151. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +20 -20
  152. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  153. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
  154. package/dist/sessionReference-3h-6FdrC.mjs +43 -0
  155. package/dist/sessionReference-m_6Rp4X1.js +1 -0
  156. package/dist/subscriptions-Dugd-oZ1.js +1 -0
  157. package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-U4xg2CO1.mjs} +2 -2
  158. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
  159. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +10 -1
  160. package/dist/types/types/errors.d.ts +5 -0
  161. package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-CTyDGRX8.js} +1 -1
  162. package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-DyQbRCxR.mjs} +1 -1
  163. package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BXI5Vmit.js} +1 -1
  164. package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-dcmU1539.mjs} +1 -1
  165. package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-BC1WfqWo.mjs} +5 -5
  166. package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-Ct6vD_b8.js} +1 -1
  167. package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-4Y-ppDr7.mjs} +1 -1
  168. package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9-p9_nP6.js} +1 -1
  169. package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-B2Z9aD2w.mjs} +2 -2
  170. package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-CGvtl7Ai.js} +1 -1
  171. package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Ba0GO8p-.js} +1 -1
  172. package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-DJPznhig.mjs} +7 -7
  173. package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-BO9ZsSsF.js} +1 -1
  174. package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-CWyI3_RR.mjs} +1 -1
  175. package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-DqIvkjLF.mjs} +4 -4
  176. package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-bkmDrPXY.js} +1 -1
  177. package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-BPBVGNDg.js} +1 -1
  178. package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-MSEp39xQ.mjs} +1 -1
  179. package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BAOtOJZD.js} +1 -1
  180. package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-U7gnZ0F5.mjs} +1 -1
  181. package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-Dq2V6bTV.mjs} +6 -6
  182. package/dist/{usePayments-D9Eo-uBk.js → usePayments-G-HpKpK8.js} +1 -1
  183. package/dist/{usePortal-DsebXdhx.js → usePortal-BplmMkBG.js} +1 -1
  184. package/dist/{usePortal-3VCZwSUE.mjs → usePortal-CMHV-ShD.mjs} +1 -1
  185. package/dist/{useSubscription-K_gP9TeX.js → useSubscription-CvB8ROBt.js} +1 -1
  186. package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-V53WsZwQ.mjs} +1 -1
  187. package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-CtCTu9cz.js} +1 -1
  188. package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-D31Zl1MJ.mjs} +1 -1
  189. package/package.json +2 -1
  190. package/dist/Checkout.entry.ce-C52gkrNZ.js +0 -1
  191. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +0 -1
  192. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +0 -1
  193. package/dist/IconButton.vue.es-BTAkuFsm.js +0 -1
  194. package/dist/IconButton.vue.es-C4dQEQAc.mjs +0 -198
  195. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +0 -144
  196. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +0 -1
  197. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +0 -98
  198. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +0 -102
  199. package/dist/PlanCustomizationEditor-XpofGULc.js +0 -1
  200. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +0 -1
  201. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +0 -1
  202. package/dist/component-5wqcK7yz.mjs +0 -8
  203. package/dist/component-B7ZDyqBp.js +0 -1
  204. package/dist/subscriptions-fJcj88X9.js +0 -1
package/README.md CHANGED
@@ -226,6 +226,7 @@ The SDK emits structured log entries via the [`onLog`](#error-logging) callback.
226
226
 
227
227
  | Code | Description |
228
228
  | :------------------------------------------ | :----------------------------------------------------------------- |
229
+ | `ADYEN_PAYMENT_FAILED` | Adyen reported the payment as failed |
229
230
  | `ADYEN_SUBMIT_FAILED` | Failed to submit Adyen drop-in |
230
231
  | `APPLE_PAY_AUTHORIZATION_FAILED` | Payment authorization failed |
231
232
  | `APPLE_PAY_ERROR` | Apple Pay error |
@@ -241,8 +242,10 @@ The SDK emits structured log entries via the [`onLog`](#error-logging) callback.
241
242
  | `INVALID_TOKEN` | Failed to fetch access token |
242
243
  | `INVOICE_PREVIEW_FAILED` | Failed to load top-up invoice preview |
243
244
  | `NO_PAYMENT_METHODS_AVAILABLE` | No payment method can be offered to the customer |
245
+ | `PAYMENT_ACCEPTOR_MISSING` | Additional details arrived without a payment acceptor id |
244
246
  | `PAYMENT_AUTHORIZATION_FAILED` | Failed payment authorization for payment acceptor with id… |
245
247
  | `PAYMENT_DETAILS_CALL_FAILED` | Failed fetching payment details |
248
+ | `PAYMENT_DETAILS_REJECTED` | Payment details returned a failed payment |
246
249
  | `PAYMENT_INTEGRATION_INITIALIZATION_FAILED` | Failed to mount Adyen web drop-in |
247
250
  | `PAYMENT_METHOD_OPTIONS_LOAD_FAILED` | Failed to load the payment methods the checkout can offer |
248
251
  | `PROMOTION_CODE_APPLY_FAILED` | Failed to apply promotion code |
@@ -1,10 +1,10 @@
1
1
  import { computed as c, defineComponent as O, toRef as C, openBlock as m, createElementBlock as w, normalizeClass as N, createBlock as f, withCtx as v, createTextVNode as A, toDisplayString as b, unref as s, Fragment as S, createElementVNode as k, createVNode as V, createCommentVNode as g, defineAsyncComponent as $, ref as B, watch as E } from "vue";
2
- import { _ as P } from "./PaymentMethod.vue.es-DkQdPXfk.mjs";
3
- import { _ as I } from "./Button.vue.es-Dz-2L8dJ.mjs";
2
+ import { _ as P } from "./PaymentMethod.vue.es-EhRCfeax.mjs";
3
+ import { _ as I } from "./Button.vue.es-BJEy-e9C.mjs";
4
4
  import { _ as L } from "./FormMessage.vue.es-jG3fQZms.mjs";
5
- import { _ as T } from "./RadioGroupExtended.vue.es-C92xlCFQ.mjs";
6
- import { u as x, _ as R } from "./customElements-CSE7dwUr.mjs";
7
- import { _ as D } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs";
5
+ import { _ as T } from "./RadioGroupExtended.vue.es-vUqn2ZUP.mjs";
6
+ import { u as x, _ as R } from "./customElements-Df6dGrN-.mjs";
7
+ import { _ as D } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs";
8
8
  const y = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (a) => a.toUpperCase());
9
9
  function j(e) {
10
10
  var o, r, l, d, t, n;
@@ -176,7 +176,7 @@ const F = { class: "sr-only" }, Z = /* @__PURE__ */ O({
176
176
  emits: ["success", "failure"],
177
177
  setup(e, { expose: a }) {
178
178
  const i = $(
179
- () => import("./PaymentMethodForm-CpIZKfPH.mjs").then((t) => t.default)
179
+ () => import("./PaymentMethodForm-D3OY8zK5.mjs").then((t) => t.default)
180
180
  ), o = e, r = c(() => ({
181
181
  variant: "TOKENIZE"
182
182
  })), l = B(!1);
@@ -1 +1 @@
1
- const e=require("vue"),_=require("./PaymentMethod.vue.es-D18g-QB4.js"),h=require("./Button.vue.es-M_jXZda4.js"),v=require("./FormMessage.vue.es-dqATjC2N.js"),b=require("./RadioGroupExtended.vue.es-Cb1iD73r.js"),f=require("./customElements-Vox1PB6G.js"),g=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js"),u=t=>t.replaceAll("_"," ").toLowerCase().replace(/^./,o=>o.toUpperCase());function k(t){var n,i,l,d,a,s;const o=[];switch(t.type){case"CARD":o.push(t.card.brand&&u(t.card.brand),t.card.last_four_digits);break;case"ONLINE_BANKING":o.push(((n=t.online_banking)==null?void 0:n.variant)&&u(t.online_banking.variant),(i=t.online_banking)==null?void 0:i.owner_name);break;case"DIRECT_DEBIT":o.push(((l=t.direct_debit)==null?void 0:l.variant)&&u(t.direct_debit.variant),(d=t.direct_debit)==null?void 0:d.owner_name);break;case"BUY_NOW_PAY_LATER":o.push(((a=t.buy_now_pay_later)==null?void 0:a.variant)&&u(t.buy_now_pay_later.variant));break;case"DIGITAL_WALLET":o.push(((s=t.digital_wallet)==null?void 0:s.variant)&&u(t.digital_wallet.variant));break}return o.filter(Boolean).join(" ")||u(t.type)}function B(t){const o=e.computed(()=>t.value.map(n=>({value:n.id,label:k(n)}))),r=e.computed(()=>Object.fromEntries(t.value.map(n=>[n.id,n])));return{options:o,paymentMethodsById:r}}const w={class:"sr-only"},A=e.defineComponent({__name:"PaymentMethodSelector",props:{paymentMethods:{type:Array},modelValue:{type:String},label:{type:String},required:{type:Boolean},disabled:{type:Boolean},error:{type:[String,Object,Array]},rootClass:{type:String},showAddOption:{type:Boolean,default:!0},paymentMethodOptions:{type:Array}},emits:["update:modelValue","add-payment-method"],setup(t,{emit:o}){const r=t,n=o,{$t:i}=f.useIntl(),{options:l,paymentMethodsById:d}=B(e.toRef(r,"paymentMethods")),a=e.computed({get:()=>r.modelValue,set:c=>n("update:modelValue",typeof c=="string"?c:void 0)}),s=e.computed(()=>r.paymentMethods.length>0),p=e.computed(()=>{var c;return((c=r.paymentMethodOptions)==null?void 0:c.length)!==0});return(c,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sv-payment-method-selector grid grid-cols-1 gap-2",t.rootClass])},[!s.value&&!p.value?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,class:"sv-payment-method-selector__empty",icon:"credit_card_off"},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"No payment methods available",description:"Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",id:"payment_method_selector.empty_state.title"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",null,[s.value?(e.openBlock(),e.createBlock(e.unref(b._sfc_main),{key:0,modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=m=>a.value=m),class:"sv-payment-method-selector__options",name:"payment-method",direction:"column",options:e.unref(l),label:t.label,required:t.required,disabled:t.disabled,error:t.error,"show-radio":!1},{prefix:e.withCtx(({optionValue:m})=>[e.createVNode(e.unref(_._sfc_main),{class:"sv-payment-method-selector__option-content grow","payment-method":e.unref(d)[String(m)]},null,8,["payment-method"])]),label:e.withCtx(({option:m})=>[e.createElementVNode("span",w,e.toDisplayString(m.label),1)]),_:1},8,["modelValue","options","label","required","disabled","error"])):e.createCommentVNode("",!0)]),t.showAddOption&&p.value?(e.openBlock(),e.createBlock(e.unref(h._sfc_main),{key:0,class:"sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",intent:"secondary","icon-prefix":"add",type:"button",size:"sm",disabled:t.disabled,onClick:y[1]||(y[1]=m=>n("add-payment-method"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Add payment method",description:"Label of the button that adds a new payment method",id:"payment_method_selector.add_payment_method"})),1)]),_:1},8,["disabled"])):t.showAddOption?(e.openBlock(),e.createBlock(e.unref(f._sfc_main),{key:1,variant:"body-sm",color:"subtle",tag:"p",class:"sv-payment-method-selector__unavailable"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"There are no available payment methods. Please contact support for more information.",description:"Shown in place of the add button when the customer cannot add any payment method",id:"payment_method_selector.no_payment_methods_available"})),1)]),_:1})):e.createCommentVNode("",!0),t.error&&!s.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:2,class:"sv-payment-method-selector__error",message:t.error,variant:"error"},null,8,["message"])):e.createCommentVNode("",!0)],64))],2))}}),C=e.defineComponent({__name:"AddPaymentMethodPane",props:{customer:{type:Object},paymentMethodOptions:{type:Array},isLoading:{type:Boolean},isActive:{type:Boolean}},emits:["success","failure"],setup(t,{expose:o}){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentMethodForm-DK8ntFA0.js")).then(a=>a.default)),n=t,i=e.computed(()=>({variant:"TOKENIZE"})),l=e.ref(!1);e.watch(()=>n.isActive,a=>{l.value=l.value||!!a},{immediate:!0});const d=e.ref();return o({submit:()=>{var a;return(a=d.value)==null?void 0:a.submit()},isSaving:e.computed(()=>{var a;return!!n.isActive&&!!((a=d.value)!=null&&a.isPaymentPending)})}),(a,s)=>t.customer&&l.value?(e.openBlock(),e.createBlock(e.unref(r),{key:0,ref_key:"formRef",ref:d,class:"sv-add-payment-method-pane","hide-submit-button":"",customer:t.customer,"payment-method-options":t.paymentMethodOptions??[],"is-loading":t.isLoading,configuration:i.value,onSuccess:s[0]||(s[0]=p=>a.$emit("success")),onFailure:s[1]||(s[1]=p=>a.$emit("failure",p))},null,8,["customer","payment-method-options","is-loading","configuration"])):e.createCommentVNode("",!0)}});exports._sfc_main=A;exports._sfc_main$1=C;
1
+ const e=require("vue"),_=require("./PaymentMethod.vue.es-pLCCzVxN.js"),h=require("./Button.vue.es-CJNxYacb.js"),v=require("./FormMessage.vue.es-dqATjC2N.js"),b=require("./RadioGroupExtended.vue.es-Dk9xdj76.js"),f=require("./customElements-BYIdPSzQ.js"),g=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js"),u=t=>t.replaceAll("_"," ").toLowerCase().replace(/^./,o=>o.toUpperCase());function k(t){var n,i,l,d,a,s;const o=[];switch(t.type){case"CARD":o.push(t.card.brand&&u(t.card.brand),t.card.last_four_digits);break;case"ONLINE_BANKING":o.push(((n=t.online_banking)==null?void 0:n.variant)&&u(t.online_banking.variant),(i=t.online_banking)==null?void 0:i.owner_name);break;case"DIRECT_DEBIT":o.push(((l=t.direct_debit)==null?void 0:l.variant)&&u(t.direct_debit.variant),(d=t.direct_debit)==null?void 0:d.owner_name);break;case"BUY_NOW_PAY_LATER":o.push(((a=t.buy_now_pay_later)==null?void 0:a.variant)&&u(t.buy_now_pay_later.variant));break;case"DIGITAL_WALLET":o.push(((s=t.digital_wallet)==null?void 0:s.variant)&&u(t.digital_wallet.variant));break}return o.filter(Boolean).join(" ")||u(t.type)}function B(t){const o=e.computed(()=>t.value.map(n=>({value:n.id,label:k(n)}))),r=e.computed(()=>Object.fromEntries(t.value.map(n=>[n.id,n])));return{options:o,paymentMethodsById:r}}const w={class:"sr-only"},A=e.defineComponent({__name:"PaymentMethodSelector",props:{paymentMethods:{type:Array},modelValue:{type:String},label:{type:String},required:{type:Boolean},disabled:{type:Boolean},error:{type:[String,Object,Array]},rootClass:{type:String},showAddOption:{type:Boolean,default:!0},paymentMethodOptions:{type:Array}},emits:["update:modelValue","add-payment-method"],setup(t,{emit:o}){const r=t,n=o,{$t:i}=f.useIntl(),{options:l,paymentMethodsById:d}=B(e.toRef(r,"paymentMethods")),a=e.computed({get:()=>r.modelValue,set:c=>n("update:modelValue",typeof c=="string"?c:void 0)}),s=e.computed(()=>r.paymentMethods.length>0),p=e.computed(()=>{var c;return((c=r.paymentMethodOptions)==null?void 0:c.length)!==0});return(c,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sv-payment-method-selector grid grid-cols-1 gap-2",t.rootClass])},[!s.value&&!p.value?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,class:"sv-payment-method-selector__empty",icon:"credit_card_off"},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"No payment methods available",description:"Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",id:"payment_method_selector.empty_state.title"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",null,[s.value?(e.openBlock(),e.createBlock(e.unref(b._sfc_main),{key:0,modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=m=>a.value=m),class:"sv-payment-method-selector__options",name:"payment-method",direction:"column",options:e.unref(l),label:t.label,required:t.required,disabled:t.disabled,error:t.error,"show-radio":!1},{prefix:e.withCtx(({optionValue:m})=>[e.createVNode(e.unref(_._sfc_main),{class:"sv-payment-method-selector__option-content grow","payment-method":e.unref(d)[String(m)]},null,8,["payment-method"])]),label:e.withCtx(({option:m})=>[e.createElementVNode("span",w,e.toDisplayString(m.label),1)]),_:1},8,["modelValue","options","label","required","disabled","error"])):e.createCommentVNode("",!0)]),t.showAddOption&&p.value?(e.openBlock(),e.createBlock(e.unref(h._sfc_main),{key:0,class:"sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",intent:"secondary","icon-prefix":"add",type:"button",size:"sm",disabled:t.disabled,onClick:y[1]||(y[1]=m=>n("add-payment-method"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Add payment method",description:"Label of the button that adds a new payment method",id:"payment_method_selector.add_payment_method"})),1)]),_:1},8,["disabled"])):t.showAddOption?(e.openBlock(),e.createBlock(e.unref(f._sfc_main),{key:1,variant:"body-sm",color:"subtle",tag:"p",class:"sv-payment-method-selector__unavailable"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"There are no available payment methods. Please contact support for more information.",description:"Shown in place of the add button when the customer cannot add any payment method",id:"payment_method_selector.no_payment_methods_available"})),1)]),_:1})):e.createCommentVNode("",!0),t.error&&!s.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:2,class:"sv-payment-method-selector__error",message:t.error,variant:"error"},null,8,["message"])):e.createCommentVNode("",!0)],64))],2))}}),C=e.defineComponent({__name:"AddPaymentMethodPane",props:{customer:{type:Object},paymentMethodOptions:{type:Array},isLoading:{type:Boolean},isActive:{type:Boolean}},emits:["success","failure"],setup(t,{expose:o}){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentMethodForm-Bw2e1tXo.js")).then(a=>a.default)),n=t,i=e.computed(()=>({variant:"TOKENIZE"})),l=e.ref(!1);e.watch(()=>n.isActive,a=>{l.value=l.value||!!a},{immediate:!0});const d=e.ref();return o({submit:()=>{var a;return(a=d.value)==null?void 0:a.submit()},isSaving:e.computed(()=>{var a;return!!n.isActive&&!!((a=d.value)!=null&&a.isPaymentPending)})}),(a,s)=>t.customer&&l.value?(e.openBlock(),e.createBlock(e.unref(r),{key:0,ref_key:"formRef",ref:d,class:"sv-add-payment-method-pane","hide-submit-button":"",customer:t.customer,"payment-method-options":t.paymentMethodOptions??[],"is-loading":t.isLoading,configuration:i.value,onSuccess:s[0]||(s[0]=p=>a.$emit("success")),onFailure:s[1]||(s[1]=p=>a.$emit("failure",p))},null,8,["customer","payment-method-options","is-loading","configuration"])):e.createCommentVNode("",!0)}});exports._sfc_main=A;exports._sfc_main$1=C;
@@ -0,0 +1 @@
1
+ const e=require("vue"),m="py-2 px-4 text-sm",f={danger:"text-feedback-danger",neutral:"text-secondary",info:"text-feedback-info",success:"text-feedback-success",warning:"text-feedback-warning"},g={danger:"bg-feedback-danger",neutral:"bg-feedback-neutral",info:"bg-feedback-info",success:"bg-feedback-success",warning:"bg-feedback-warning"},b={danger:"rounded-sm border border-red-200",neutral:"rounded-sm border border-gray-200",info:"rounded-sm border border-blue-200",success:"rounded-sm border border-green-200",warning:"rounded-sm border border-yellow-200"},v="ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8",C={danger:"hover:bg-red-200 focus:ring-red-400 bg-red-100 text-red-500",neutral:"hover:bg-gray-200 focus:ring-gray-400 bg-feedback-neutral text-gray-500",info:"hover:bg-blue-200 focus:ring-blue-400 bg-blue-100 text-blue-500",success:"bg-green-100 text-green-500 focus:ring-green-400 hover:bg-green-200",warning:"focus:ring-yellow-400 hover:bg-yellow-200 bg-yellow-100 text-yellow-500"};function y(l){const a=e.computed(()=>[m,g[l.type.value],s.value,b[l.type.value],l.inline.value?"flex items-center":""].filter(t=>!!t).join(" ")),s=e.computed(()=>f[l.type.value]??""),r=e.computed(()=>[v,C[l.type.value]??""].filter(t=>!!t).join(" ")),o=e.computed(()=>l.inline.value?!l.icon.value&&!l.title.value?"":l.title.value?"grow ml-1":"grow ml-2":"my-2"),c=e.computed(()=>!l.icon.value||!l.inline.value?["font-medium",l.inline.value?"":"text-lg ml-2"].filter(t=>!!t).join(" "):["font-medium ml-2",l.inline.value?"":"text-lg"].filter(t=>!!t).join(" "));return{alertClasses:a,textClasses:s,closeClasses:r,contentClasses:o,titleClasses:c}}const k={key:0,class:"ml-auto inline-flex items-center"},w=e.defineComponent({__name:"Alert",props:{type:{default:"info"},title:{default:""},closable:{type:Boolean,default:!1},icon:{type:Boolean,default:!0},inline:{type:Boolean,default:!0}},setup(l){const a=l,{alertClasses:s,textClasses:r,closeClasses:o,contentClasses:c,titleClasses:t}=y(e.toRefs(a)),u=e.ref(!0),d=()=>{u.value=!1};return(i,n)=>u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s)),role:"alert"},[e.createElementVNode("div",{class:e.normalizeClass(l.inline?"flex":"flex items-center")},[l.icon?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["flex-shrink-0","w-5","h-5",e.unref(r)]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[...n[0]||(n[0]=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"},null,-1)])],2)):e.createCommentVNode("",!0),l.title?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(t))},e.toDisplayString(l.title),3)):e.createCommentVNode("",!0),!l.inline&&l.closable?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:e.normalizeClass(e.unref(o)),"aria-label":"Close",onClick:d},[...n[1]||(n[1]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c))},[e.renderSlot(i.$slots,"default")],2),i.$slots.actions?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(i.$slots,"actions")])):e.createCommentVNode("",!0),l.inline&&l.closable?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:e.normalizeClass(e.unref(o)),"aria-label":"Close",onClick:d},[...n[2]||(n[2]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}});exports._sfc_main=w;
@@ -0,0 +1,146 @@
1
+ import { computed as u, defineComponent as C, toRefs as x, ref as k, openBlock as a, createElementBlock as r, normalizeClass as n, unref as o, createElementVNode as t, createCommentVNode as i, toDisplayString as h, renderSlot as w } from "vue";
2
+ const B = "py-2 px-4 text-sm", L = {
3
+ danger: "text-feedback-danger",
4
+ neutral: "text-secondary",
5
+ info: "text-feedback-info",
6
+ success: "text-feedback-success",
7
+ warning: "text-feedback-warning"
8
+ }, z = {
9
+ danger: "bg-feedback-danger",
10
+ neutral: "bg-feedback-neutral",
11
+ info: "bg-feedback-info",
12
+ success: "bg-feedback-success",
13
+ warning: "bg-feedback-warning"
14
+ }, j = {
15
+ danger: "rounded-sm border border-red-200",
16
+ neutral: "rounded-sm border border-gray-200",
17
+ info: "rounded-sm border border-blue-200",
18
+ success: "rounded-sm border border-green-200",
19
+ warning: "rounded-sm border border-yellow-200"
20
+ }, M = "ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8", A = {
21
+ danger: "hover:bg-red-200 focus:ring-red-400 bg-red-100 text-red-500",
22
+ neutral: "hover:bg-gray-200 focus:ring-gray-400 bg-feedback-neutral text-gray-500",
23
+ info: "hover:bg-blue-200 focus:ring-blue-400 bg-blue-100 text-blue-500",
24
+ success: "bg-green-100 text-green-500 focus:ring-green-400 hover:bg-green-200",
25
+ warning: "focus:ring-yellow-400 hover:bg-yellow-200 bg-yellow-100 text-yellow-500"
26
+ };
27
+ function D(e) {
28
+ const f = u(
29
+ () => [
30
+ B,
31
+ z[e.type.value],
32
+ c.value,
33
+ j[e.type.value],
34
+ e.inline.value ? "flex items-center" : ""
35
+ ].filter((l) => !!l).join(" ")
36
+ ), c = u(() => L[e.type.value] ?? ""), g = u(
37
+ () => [M, A[e.type.value] ?? ""].filter((l) => !!l).join(" ")
38
+ ), d = u(() => e.inline.value ? !e.icon.value && !e.title.value ? "" : e.title.value ? "grow ml-1" : "grow ml-2" : "my-2"), b = u(() => !e.icon.value || !e.inline.value ? ["font-medium", e.inline.value ? "" : "text-lg ml-2"].filter((l) => !!l).join(" ") : ["font-medium ml-2", e.inline.value ? "" : "text-lg"].filter((l) => !!l).join(" "));
39
+ return {
40
+ alertClasses: f,
41
+ textClasses: c,
42
+ closeClasses: g,
43
+ contentClasses: d,
44
+ titleClasses: b
45
+ };
46
+ }
47
+ const $ = {
48
+ key: 0,
49
+ class: "ml-auto inline-flex items-center"
50
+ }, N = /* @__PURE__ */ C({
51
+ __name: "Alert",
52
+ props: {
53
+ type: { default: "info" },
54
+ title: { default: "" },
55
+ closable: { type: Boolean, default: !1 },
56
+ icon: { type: Boolean, default: !0 },
57
+ inline: { type: Boolean, default: !0 }
58
+ },
59
+ setup(e) {
60
+ const f = e, { alertClasses: c, textClasses: g, closeClasses: d, contentClasses: b, titleClasses: l } = D(
61
+ x(f)
62
+ ), m = k(!0), y = () => {
63
+ m.value = !1;
64
+ };
65
+ return (v, s) => m.value ? (a(), r("div", {
66
+ key: 0,
67
+ class: n(o(c)),
68
+ role: "alert"
69
+ }, [
70
+ t("div", {
71
+ class: n(e.inline ? "flex" : "flex items-center")
72
+ }, [
73
+ e.icon ? (a(), r("svg", {
74
+ key: 0,
75
+ class: n(["flex-shrink-0", "w-5", "h-5", o(g)]),
76
+ fill: "currentColor",
77
+ viewBox: "0 0 20 20",
78
+ xmlns: "http://www.w3.org/2000/svg"
79
+ }, [...s[0] || (s[0] = [
80
+ t("path", {
81
+ "fill-rule": "evenodd",
82
+ d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",
83
+ "clip-rule": "evenodd"
84
+ }, null, -1)
85
+ ])], 2)) : i("", !0),
86
+ e.title ? (a(), r("span", {
87
+ key: 1,
88
+ class: n(o(l))
89
+ }, h(e.title), 3)) : i("", !0),
90
+ !e.inline && e.closable ? (a(), r("button", {
91
+ key: 2,
92
+ type: "button",
93
+ class: n(o(d)),
94
+ "aria-label": "Close",
95
+ onClick: y
96
+ }, [...s[1] || (s[1] = [
97
+ t("span", { class: "sr-only" }, "Dismiss", -1),
98
+ t("svg", {
99
+ class: "h-5 w-5",
100
+ fill: "currentColor",
101
+ viewBox: "0 0 20 20",
102
+ xmlns: "http://www.w3.org/2000/svg"
103
+ }, [
104
+ t("path", {
105
+ "fill-rule": "evenodd",
106
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
107
+ "clip-rule": "evenodd"
108
+ })
109
+ ], -1)
110
+ ])], 2)) : i("", !0)
111
+ ], 2),
112
+ t("div", {
113
+ class: n(o(b))
114
+ }, [
115
+ w(v.$slots, "default")
116
+ ], 2),
117
+ v.$slots.actions ? (a(), r("div", $, [
118
+ w(v.$slots, "actions")
119
+ ])) : i("", !0),
120
+ e.inline && e.closable ? (a(), r("button", {
121
+ key: 1,
122
+ type: "button",
123
+ class: n(o(d)),
124
+ "aria-label": "Close",
125
+ onClick: y
126
+ }, [...s[2] || (s[2] = [
127
+ t("span", { class: "sr-only" }, "Dismiss", -1),
128
+ t("svg", {
129
+ class: "h-5 w-5",
130
+ fill: "currentColor",
131
+ viewBox: "0 0 20 20",
132
+ xmlns: "http://www.w3.org/2000/svg"
133
+ }, [
134
+ t("path", {
135
+ "fill-rule": "evenodd",
136
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
137
+ "clip-rule": "evenodd"
138
+ })
139
+ ], -1)
140
+ ])], 2)) : i("", !0)
141
+ ], 2)) : i("", !0);
142
+ }
143
+ });
144
+ export {
145
+ N as _
146
+ };
@@ -1,5 +1,5 @@
1
1
  import { ref as f, watch as g, defineComponent as h, computed as x, openBlock as i, createElementBlock as s, normalizeStyle as u, normalizeClass as d, toDisplayString as v, createBlock as b, unref as m, createCommentVNode as k, createElementVNode as y } from "vue";
2
- import { a as w } from "./Button.vue.es-Dz-2L8dJ.mjs";
2
+ import { a as w } from "./Button.vue.es-BJEy-e9C.mjs";
3
3
  const z = (e) => {
4
4
  const t = f(), l = (n) => {
5
5
  let a = 0;
@@ -1 +1 @@
1
- const e=require("vue"),s=require("./Button.vue.es-M_jXZda4.js"),u=t=>{const n=e.ref(),i=l=>{let a=0;for(let o=0;o<l.length;o++)a=l.charCodeAt(o)+((a<<5)-a);let r="#";for(let o=0;o<3;o++){const c=a>>o*8&255;r+=("00"+c.toString(16)).substr(-2)}return r};return e.watch(()=>t,()=>{n.value=i(t)},{immediate:!0}),n},d=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"},icon:{}},setup(t){const n=t,i={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},l={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=u(n.colorHash??n.initials??"A"),r=e.computed(()=>n.imageSrc?{backgroundImage:`url(${n.imageSrc})`}:void 0);return(o,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative flex shrink-0 items-center justify-center overflow-hidden rounded bg-primary-300 bg-cover",{[i[n.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":t.variant==="dark"}]),style:e.normalizeStyle(r.value)},[t.initials&&!t.imageSrc&&!t.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-regular z-10 text-2xl font-semibold",{[l[n.size]]:!0,"font-regular":t.font==="icon","font-inter drop-shadow-sm":t.font==="regular","text-white/70":t.variant==="light","text-black/10":t.variant==="dark"}])},e.toDisplayString(t.initials.toUpperCase()),3)):t.icon?(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{key:1,icon:t.icon,class:"z-10 text-white"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"pointer-events-none absolute inset-0 opacity-20",style:e.normalizeStyle({backgroundColor:e.unref(a)})},null,4)],6))}});exports._sfc_main=d;
1
+ const e=require("vue"),s=require("./Button.vue.es-CJNxYacb.js"),u=t=>{const n=e.ref(),i=l=>{let a=0;for(let o=0;o<l.length;o++)a=l.charCodeAt(o)+((a<<5)-a);let r="#";for(let o=0;o<3;o++){const c=a>>o*8&255;r+=("00"+c.toString(16)).substr(-2)}return r};return e.watch(()=>t,()=>{n.value=i(t)},{immediate:!0}),n},d=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"},icon:{}},setup(t){const n=t,i={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},l={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=u(n.colorHash??n.initials??"A"),r=e.computed(()=>n.imageSrc?{backgroundImage:`url(${n.imageSrc})`}:void 0);return(o,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative flex shrink-0 items-center justify-center overflow-hidden rounded bg-primary-300 bg-cover",{[i[n.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":t.variant==="dark"}]),style:e.normalizeStyle(r.value)},[t.initials&&!t.imageSrc&&!t.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-regular z-10 text-2xl font-semibold",{[l[n.size]]:!0,"font-regular":t.font==="icon","font-inter drop-shadow-sm":t.font==="regular","text-white/70":t.variant==="light","text-black/10":t.variant==="dark"}])},e.toDisplayString(t.initials.toUpperCase()),3)):t.icon?(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{key:1,icon:t.icon,class:"z-10 text-white"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"pointer-events-none absolute inset-0 opacity-20",style:e.normalizeStyle({backgroundColor:e.unref(a)})},null,4)],6))}});exports._sfc_main=d;
@@ -1 +1 @@
1
- const t=require("vue"),a=require("./Button.vue.es-M_jXZda4.js"),l=require("./CustomerBillingInformation.vue.es-BmtU9Pk0.js"),u=require("./customElements-Vox1PB6G.js"),m=require("./Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),f=require("./useActionDispatchProvider-CNAuaHdm.js"),_=require("./configuration-akTS7Wiw.js"),v=t.defineComponent({__name:"BillingInformation",props:{customer:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},emits:["edit-billing-information"],setup(e){const n={showEditButton:!0},o=e,s=t.computed(()=>_.resolveConfiguration(n,o.configuration)),{$t:r}=u.useIntl(),{dispatchAction:c}=f.useActionDispatchProvider();return(d,i)=>e.isLoading?(t.openBlock(),t.createBlock(m._sfc_main,{key:0,variant:"section",class:"sv-billing-information sv-root sv-component sv-loading min-h-[100px]","data-testid":"billing-information-skeleton"})):(t.openBlock(),t.createBlock(t.unref(l._sfc_main),{key:1,class:"sv-billing-information sv-root sv-component",customer:e.customer,"fallback-to-reference":!1},t.createSlots({_:2},[s.value.showEditButton?{name:"settings",fn:t.withCtx(()=>[t.createVNode(t.unref(a._sfc_main),{size:"sm",intent:"subtle","icon-prefix":"edit",class:"sv-action sv-action--ghost sv-billing-information__edit",onClick:i[0]||(i[0]=g=>t.unref(c)({action:"edit-billing-information"}))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r)({defaultMessage:"Edit",id:"customer_overview.billing_information_block.view_all_payment_methods_link_label",description:"The link text that links to the overview page of the customer billing information"})),1)]),_:1})]),key:"0"}:void 0]),1032,["customer"]))}});exports._sfc_main=v;
1
+ const t=require("vue"),a=require("./Button.vue.es-CJNxYacb.js"),l=require("./CustomerBillingInformation.vue.es-hiFzB43w.js"),u=require("./customElements-BYIdPSzQ.js"),m=require("./Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),f=require("./useActionDispatchProvider-CTyDGRX8.js"),_=require("./configuration-akTS7Wiw.js"),v=t.defineComponent({__name:"BillingInformation",props:{customer:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},emits:["edit-billing-information"],setup(e){const n={showEditButton:!0},o=e,s=t.computed(()=>_.resolveConfiguration(n,o.configuration)),{$t:r}=u.useIntl(),{dispatchAction:c}=f.useActionDispatchProvider();return(d,i)=>e.isLoading?(t.openBlock(),t.createBlock(m._sfc_main,{key:0,variant:"section",class:"sv-billing-information sv-root sv-component sv-loading min-h-[100px]","data-testid":"billing-information-skeleton"})):(t.openBlock(),t.createBlock(t.unref(l._sfc_main),{key:1,class:"sv-billing-information sv-root sv-component",customer:e.customer,"fallback-to-reference":!1},t.createSlots({_:2},[s.value.showEditButton?{name:"settings",fn:t.withCtx(()=>[t.createVNode(t.unref(a._sfc_main),{size:"sm",intent:"subtle","icon-prefix":"edit",class:"sv-action sv-action--ghost sv-billing-information__edit",onClick:i[0]||(i[0]=g=>t.unref(c)({action:"edit-billing-information"}))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r)({defaultMessage:"Edit",id:"customer_overview.billing_information_block.view_all_payment_methods_link_label",description:"The link text that links to the overview page of the customer billing information"})),1)]),_:1})]),key:"0"}:void 0]),1032,["customer"]))}});exports._sfc_main=v;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as f, computed as u, openBlock as n, createBlock as e, unref as t, createSlots as p, withCtx as s, createVNode as d, createTextVNode as _, toDisplayString as g } from "vue";
2
- import { _ as v } from "./Button.vue.es-Dz-2L8dJ.mjs";
3
- import { _ as b } from "./CustomerBillingInformation.vue.es-Db6bN2RZ.mjs";
4
- import { u as k } from "./customElements-CSE7dwUr.mjs";
2
+ import { _ as v } from "./Button.vue.es-BJEy-e9C.mjs";
3
+ import { _ as b } from "./CustomerBillingInformation.vue.es-CE94ASC3.mjs";
4
+ import { u as k } from "./customElements-Df6dGrN-.mjs";
5
5
  import { _ as h } from "./Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
6
- import { u as y } from "./useActionDispatchProvider-B8-oycQk.mjs";
6
+ import { u as y } from "./useActionDispatchProvider-DyQbRCxR.mjs";
7
7
  import { r as x } from "./configuration-BytDBAWs.mjs";
8
8
  const T = /* @__PURE__ */ f({
9
9
  __name: "BillingInformation",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, openBlock as r, createElementBlock as u, normalizeClass as v, createElementVNode as g, useSlots as _, computed as n, ref as I, toRefs as S, unref as o, createBlock as R, resolveDynamicComponent as q, withCtx as $, createVNode as z, createCommentVNode as d, renderSlot as k, mergeDefaults as V } from "vue";
2
- import { _ as M } from "./customElements-CSE7dwUr.mjs";
2
+ import { _ as M } from "./customElements-Df6dGrN-.mjs";
3
3
  const N = {
4
4
  class: "h-full w-full",
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -1 +1 @@
1
- const e=require("vue"),w=require("./customElements-Vox1PB6G.js"),k={class:"h-full w-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},z=["xlink:href"],h=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const n={"3xs":"w-[10px] h-[10px]","2xs":"w-[14px] h-[14px]",xs:"w-[16px] h-[16px]",sm:"w-[20px] h-[20px]",base:"w-[22px] h-[22px]",md:"w-[24px] h-[24px]",lg:"w-[32px] h-[32px]",xl:"w-[48px] h-[48px]"};return(s,l)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["icon inline-flex items-center justify-center align-middle leading-none",[n[t.size],{"rounded border bg-gray-50 p-1 selection:drop-shadow-sm":t.variant==="contained"}]])},[(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,z)]))],2))}}),B={primary:{rest:"border border-transparent bg-primary-600 text-white",interactive:"hover:bg-primary-700 active:bg-primary-800",focus:"focus-visible:outline-primary-600"},secondary:{rest:"border border-gray-200 bg-white text-gray-900",interactive:"hover:bg-gray-50 active:bg-gray-100",focus:"focus-visible:outline-gray-500"},subtle:{rest:"border border-transparent bg-transparent text-gray-700",interactive:"hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200",focus:"focus-visible:outline-gray-500"},danger:{rest:"border border-transparent bg-red-700 text-white",interactive:"hover:bg-red-800 active:bg-red-900",focus:"focus-visible:outline-red-700"},dangerSecondary:{rest:"border border-red-200 bg-white text-red-700",interactive:"hover:bg-red-50 active:bg-red-100",focus:"focus-visible:outline-red-700"}},C={intent:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button",preventDoubleClick:!0},c=(...t)=>{const n=new Set;for(const s of t)if(s)for(const l of s.split(/\s+/))l&&n.add(l);return[...n].join(" ")},S=["relative inline-flex shrink-0 items-center justify-center overflow-clip","whitespace-nowrap rounded font-medium transition-colors","focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"].join(" "),R={xs:"h-6",sm:"h-8",md:"h-10",lg:"h-12"},V={xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"},$={xs:"py-1",sm:"py-1.5",md:"py-2",lg:"py-3"},_={xs:"gap-0.5",sm:"gap-1.5",md:"gap-2",lg:"gap-3"},E={xs:{compactLeft:"pl-1",compactRight:"pr-1",spaciousLeft:"pl-1",spaciousRight:"pr-1"},sm:{compactLeft:"pl-1.5",compactRight:"pr-1.5",spaciousLeft:"pl-3",spaciousRight:"pr-3"},md:{compactLeft:"pl-2",compactRight:"pr-2",spaciousLeft:"pl-4",spaciousRight:"pr-4"},lg:{compactLeft:"pl-3",compactRight:"pr-3",spaciousLeft:"pl-6",spaciousRight:"pr-6"}};function L(t){const n=e.useSlots(),s=e.computed(()=>!!(n.prefix||t.iconPrefix.value)),l=e.computed(()=>!!(n.suffix||t.iconSuffix.value)),i=e.computed(()=>!!n.default),r=e.computed(()=>!i.value&&(s.value||l.value)),u=e.computed(()=>{var o;return(o=t.square)!=null&&o.value?V[t.size.value]:R[t.size.value]}),d=e.computed(()=>{var o;if((o=t.square)!=null&&o.value)return"";const a=E[t.size.value],b=r.value||s.value,y=r.value||l.value;return c($[t.size.value],b?a.compactLeft:a.spaciousLeft,y?a.compactRight:a.spaciousRight)}),f=e.computed(()=>{const o=B[t.intent.value??C.intent],a=!t.loading.value&&!t.disabled.value;return c(o.rest,o.focus,a&&o.interactive)}),p=e.computed(()=>t.pill.value?"!rounded-full":""),m=e.computed(()=>t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":""),v=e.computed(()=>c(S,f.value,u.value,d.value,p.value,m.value)),g=e.computed(()=>c("flex items-center justify-center",_[t.size.value],t.loading.value?"opacity-0":""));return{wrapperClasses:v,spanClasses:g}}const N={xs:"2",sm:"3",md:"4",lg:"5"},j={primary:"white",secondary:"gray",subtle:"gray",danger:"white",dangerSecondary:"red"};function P(t){const n=e.computed(()=>N[t.size.value]),s=e.computed(()=>j[t.intent.value]);return{size:n,color:s}}function D(t=500){const n=e.ref(!1);function s(l){if(!n.value){n.value=!0;try{l()}finally{setTimeout(()=>{n.value=!1},t)}}}return{isClicked:n,handleClick:s}}const q={0:"w-0 h-0","0.5":"w-0.5 h-0.5",1:"w-1 h-1","1.5":"w-1.5 h-1.5",10:"w-10 h-10",11:"w-11 h-11",12:"w-12 h-12",2:"w-2 h-2","2.5":"w-2.5 h-2.5",3:"w-3 h-3",4:"w-4 h-4",5:"w-5 h-5",6:"w-6 h-6",7:"w-7 h-7",8:"w-8 h-8",9:"w-9 h-9",px:"w-px h-px"},I={primary:"fill-primary-600",blue:"fill-blue-600",gray:"fill-gray-600",green:"fill-green-500",pink:"fill-pink-600",purple:"fill-purple-600",red:"fill-red-600",yellow:"fill-yellow-400",white:"fill-white"};function M(t){const n=e.computed(()=>q[t.size.value]),s=e.computed(()=>I[t.color.value]),l="text-gray-200",i="animate-spin";return{spinnerClasses:e.computed(()=>[n.value,l,s.value,i].join(" "))}}const x=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const n=t,{spinnerClasses:s}=M(e.toRefs(n));return(l,i)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(s)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...i[0]||(i[0]=[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)])],2))}}),Z={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},H={key:0,class:"flex items-center justify-center"},F={key:2,class:"flex items-center justify-center"},G=e.defineComponent({__name:"Button",props:e.mergeDefaults({type:{},intent:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},C),emits:["click"],setup(t,{emit:n}){const s=t,l=n,i=e.computed(()=>{switch(s.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),r=e.computed(()=>i.value==="xs"?"4":"5"),u=e.computed(()=>["xs","sm"].includes(s.size)?"body-xs":"body-sm"),{wrapperClasses:d,spanClasses:f}=L(e.toRefs(s)),{color:p}=P(e.toRefs(s)),{handleClick:m}=D(),v=e.computed(()=>s.tag==="button"&&(s.disabled||s.loading)),g=o=>{if(s.preventDoubleClick===!1){l("click",o);return}m(()=>{l("click",o)})};return(o,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(e.unref(d)),type:t.tag==="button"?t.type:void 0,disabled:v.value,onClick:g},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",Z,[e.createVNode(e.unref(x),{size:r.value,color:e.unref(p)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(f))},[t.iconPrefix||o.$slots.prefix?(e.openBlock(),e.createElementBlock("span",H,[e.renderSlot(o.$slots,"prefix",{},()=>[e.createVNode(e.unref(h),{icon:t.iconPrefix,size:i.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createBlock(e.unref(w._sfc_main),{key:1,tag:"span",variant:u.value,color:"inherit",class:"leading-none"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["variant"])):e.createCommentVNode("",!0),t.iconSuffix||o.$slots.suffix?(e.openBlock(),e.createElementBlock("span",F,[e.renderSlot(o.$slots,"suffix",{},()=>[e.createVNode(e.unref(h),{icon:t.iconSuffix,size:i.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}});exports._sfc_main=G;exports._sfc_main$1=h;exports._sfc_main$2=x;
1
+ const e=require("vue"),w=require("./customElements-BYIdPSzQ.js"),k={class:"h-full w-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},z=["xlink:href"],h=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const n={"3xs":"w-[10px] h-[10px]","2xs":"w-[14px] h-[14px]",xs:"w-[16px] h-[16px]",sm:"w-[20px] h-[20px]",base:"w-[22px] h-[22px]",md:"w-[24px] h-[24px]",lg:"w-[32px] h-[32px]",xl:"w-[48px] h-[48px]"};return(s,l)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["icon inline-flex items-center justify-center align-middle leading-none",[n[t.size],{"rounded border bg-gray-50 p-1 selection:drop-shadow-sm":t.variant==="contained"}]])},[(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,z)]))],2))}}),B={primary:{rest:"border border-transparent bg-primary-600 text-white",interactive:"hover:bg-primary-700 active:bg-primary-800",focus:"focus-visible:outline-primary-600"},secondary:{rest:"border border-gray-200 bg-white text-gray-900",interactive:"hover:bg-gray-50 active:bg-gray-100",focus:"focus-visible:outline-gray-500"},subtle:{rest:"border border-transparent bg-transparent text-gray-700",interactive:"hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200",focus:"focus-visible:outline-gray-500"},danger:{rest:"border border-transparent bg-red-700 text-white",interactive:"hover:bg-red-800 active:bg-red-900",focus:"focus-visible:outline-red-700"},dangerSecondary:{rest:"border border-red-200 bg-white text-red-700",interactive:"hover:bg-red-50 active:bg-red-100",focus:"focus-visible:outline-red-700"}},C={intent:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button",preventDoubleClick:!0},c=(...t)=>{const n=new Set;for(const s of t)if(s)for(const l of s.split(/\s+/))l&&n.add(l);return[...n].join(" ")},S=["relative inline-flex shrink-0 items-center justify-center overflow-clip","whitespace-nowrap rounded font-medium transition-colors","focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"].join(" "),R={xs:"h-6",sm:"h-8",md:"h-10",lg:"h-12"},V={xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"},$={xs:"py-1",sm:"py-1.5",md:"py-2",lg:"py-3"},_={xs:"gap-0.5",sm:"gap-1.5",md:"gap-2",lg:"gap-3"},E={xs:{compactLeft:"pl-1",compactRight:"pr-1",spaciousLeft:"pl-1",spaciousRight:"pr-1"},sm:{compactLeft:"pl-1.5",compactRight:"pr-1.5",spaciousLeft:"pl-3",spaciousRight:"pr-3"},md:{compactLeft:"pl-2",compactRight:"pr-2",spaciousLeft:"pl-4",spaciousRight:"pr-4"},lg:{compactLeft:"pl-3",compactRight:"pr-3",spaciousLeft:"pl-6",spaciousRight:"pr-6"}};function L(t){const n=e.useSlots(),s=e.computed(()=>!!(n.prefix||t.iconPrefix.value)),l=e.computed(()=>!!(n.suffix||t.iconSuffix.value)),i=e.computed(()=>!!n.default),r=e.computed(()=>!i.value&&(s.value||l.value)),u=e.computed(()=>{var o;return(o=t.square)!=null&&o.value?V[t.size.value]:R[t.size.value]}),d=e.computed(()=>{var o;if((o=t.square)!=null&&o.value)return"";const a=E[t.size.value],b=r.value||s.value,y=r.value||l.value;return c($[t.size.value],b?a.compactLeft:a.spaciousLeft,y?a.compactRight:a.spaciousRight)}),f=e.computed(()=>{const o=B[t.intent.value??C.intent],a=!t.loading.value&&!t.disabled.value;return c(o.rest,o.focus,a&&o.interactive)}),p=e.computed(()=>t.pill.value?"!rounded-full":""),m=e.computed(()=>t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":""),v=e.computed(()=>c(S,f.value,u.value,d.value,p.value,m.value)),g=e.computed(()=>c("flex items-center justify-center",_[t.size.value],t.loading.value?"opacity-0":""));return{wrapperClasses:v,spanClasses:g}}const N={xs:"2",sm:"3",md:"4",lg:"5"},j={primary:"white",secondary:"gray",subtle:"gray",danger:"white",dangerSecondary:"red"};function P(t){const n=e.computed(()=>N[t.size.value]),s=e.computed(()=>j[t.intent.value]);return{size:n,color:s}}function D(t=500){const n=e.ref(!1);function s(l){if(!n.value){n.value=!0;try{l()}finally{setTimeout(()=>{n.value=!1},t)}}}return{isClicked:n,handleClick:s}}const q={0:"w-0 h-0","0.5":"w-0.5 h-0.5",1:"w-1 h-1","1.5":"w-1.5 h-1.5",10:"w-10 h-10",11:"w-11 h-11",12:"w-12 h-12",2:"w-2 h-2","2.5":"w-2.5 h-2.5",3:"w-3 h-3",4:"w-4 h-4",5:"w-5 h-5",6:"w-6 h-6",7:"w-7 h-7",8:"w-8 h-8",9:"w-9 h-9",px:"w-px h-px"},I={primary:"fill-primary-600",blue:"fill-blue-600",gray:"fill-gray-600",green:"fill-green-500",pink:"fill-pink-600",purple:"fill-purple-600",red:"fill-red-600",yellow:"fill-yellow-400",white:"fill-white"};function M(t){const n=e.computed(()=>q[t.size.value]),s=e.computed(()=>I[t.color.value]),l="text-gray-200",i="animate-spin";return{spinnerClasses:e.computed(()=>[n.value,l,s.value,i].join(" "))}}const x=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const n=t,{spinnerClasses:s}=M(e.toRefs(n));return(l,i)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(s)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...i[0]||(i[0]=[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)])],2))}}),Z={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},H={key:0,class:"flex items-center justify-center"},F={key:2,class:"flex items-center justify-center"},G=e.defineComponent({__name:"Button",props:e.mergeDefaults({type:{},intent:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},C),emits:["click"],setup(t,{emit:n}){const s=t,l=n,i=e.computed(()=>{switch(s.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),r=e.computed(()=>i.value==="xs"?"4":"5"),u=e.computed(()=>["xs","sm"].includes(s.size)?"body-xs":"body-sm"),{wrapperClasses:d,spanClasses:f}=L(e.toRefs(s)),{color:p}=P(e.toRefs(s)),{handleClick:m}=D(),v=e.computed(()=>s.tag==="button"&&(s.disabled||s.loading)),g=o=>{if(s.preventDoubleClick===!1){l("click",o);return}m(()=>{l("click",o)})};return(o,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(e.unref(d)),type:t.tag==="button"?t.type:void 0,disabled:v.value,onClick:g},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",Z,[e.createVNode(e.unref(x),{size:r.value,color:e.unref(p)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(f))},[t.iconPrefix||o.$slots.prefix?(e.openBlock(),e.createElementBlock("span",H,[e.renderSlot(o.$slots,"prefix",{},()=>[e.createVNode(e.unref(h),{icon:t.iconPrefix,size:i.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createBlock(e.unref(w._sfc_main),{key:1,tag:"span",variant:u.value,color:"inherit",class:"leading-none"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["variant"])):e.createCommentVNode("",!0),t.iconSuffix||o.$slots.suffix?(e.openBlock(),e.createElementBlock("span",F,[e.renderSlot(o.$slots,"suffix",{},()=>[e.createVNode(e.unref(h),{icon:t.iconSuffix,size:i.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}});exports._sfc_main=G;exports._sfc_main$1=h;exports._sfc_main$2=x;