@solvimon/solvimon-web 0.1.0-alpha.26 → 0.1.0-alpha.27

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 (215) hide show
  1. package/README.md +12 -10
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-Bm6MCMAL.js → Avatar.vue.es-BJxSCU76.js} +1 -1
  5. package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
  6. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +14 -15
  8. package/dist/{Button.vue.es-qGvnOKnK.js → Button.vue.es-BzkuglKw.js} +1 -1
  9. package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
  10. package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CB4mrvkU.mjs} +145 -153
  11. package/dist/{ChargeOnDemandModal-DIQaGnRs.js → ChargeOnDemandModal-b17YswWA.js} +1 -1
  12. package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
  13. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
  14. package/dist/{Chip.vue.es-D60gTbfe.js → Chip.vue.es-B2jjzIOc.js} +1 -1
  15. package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
  16. package/dist/{ContextMenu.vue.es-C7KI8Gz6.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +4 -4
  18. package/dist/{CustomerBillingInformation.vue.es-bFUx81Ig.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
  19. package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +110 -123
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
  24. package/dist/{DividerText.vue.es-BF3gnr4e.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
  25. package/dist/{DividerText.vue.es-DKl3FnDJ.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
  28. package/dist/{ErrorNotification.vue.es-rRKgmkzV.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-BX9dHEc-.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
  30. package/dist/{IconButton.vue.es-Bwdfu-jm.js → IconButton.vue.es-DgQN18Am.js} +1 -1
  31. package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-CK9k69tV.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-Cei98MBw.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
  34. package/dist/{Input.vue.es-B47l_feL.js → Input.vue.es-B60eK8Ds.js} +1 -1
  35. package/dist/{Input.vue.es-D9IjIWc-.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
  40. package/dist/{InvoiceSummary.vue.es-DBnR9Hs7.js → InvoiceSummary.vue.es-CAmA8g0t.js} +1 -1
  41. package/dist/{InvoiceSummary.vue.es-DQ4KvTaw.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +7 -7
  42. package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
  43. package/dist/{Modal.vue.es-8LN4gBh0.js → Modal.vue.es-DvLB3uCG.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-Ds93gNvh.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
  49. package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-B_Db4DG1.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs} +4 -4
  56. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +16 -20
  58. package/dist/{PaymentIntegrationFormStripe-DUCJTIAq.js → PaymentIntegrationFormStripe-CoLmAzas.js} +3 -3
  59. package/dist/{PaymentIntegrationFormStripe-BIiMCWlV.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +5 -5
  60. package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +3 -3
  61. package/dist/{PaymentMethod.vue.es-CJcSZ9lN.js → PaymentMethod.vue.es-D0D9jW8s.js} +1 -1
  62. package/dist/{PaymentMethodForm-1d0YIGOu.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
  63. package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +33 -35
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js} +1 -1
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
  69. package/dist/{PlanCustomizationEditor-CpZeilm5.mjs → PlanCustomizationEditor-DlVSCKGN.mjs} +234 -206
  70. package/dist/{PricingGroupRangeInput.vue.es-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-DZSJ5Mz0.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs} +6 -6
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js} +1 -1
  74. package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-Dt6LH9Yh.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
  76. package/dist/{Section.vue.es-zVXBHAL6.js → Section.vue.es-Bbt0RITt.js} +1 -1
  77. package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
  81. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
  82. package/dist/{StepInput.vue.es-mAnuCuDQ.js → StepInput.vue.es-H-3R4jJq.js} +1 -1
  83. package/dist/{StepInput.vue.es-C3Zm6Wc9.mjs → StepInput.vue.es-o-3Lg4Ai.mjs} +4 -4
  84. package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-CGl6Z5ql.mjs} +22 -22
  85. package/dist/{SubscriptionDetails.entry.ce-D4CsSoR9.js → SubscriptionDetails.entry.ce-CQUO_uXH.js} +1 -1
  86. package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
  87. package/dist/{SubscriptionSchedules-Cm5Dt-1H.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +11 -11
  89. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js} +1 -1
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +2 -2
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +8 -9
  94. package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +1 -1
  95. package/dist/{TooltipParagraph.vue.es-Cph6zT31.js → TooltipParagraph.vue.es-DvC5Wjaz.js} +1 -1
  96. package/dist/{TrialChip.vue.es-C_wgHGuN.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
  97. package/dist/{TrialChip.vue.es-C_yRujip.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
  98. package/dist/{cn.es-D9YMDvG2.js → cn.es-C9Yqq4tg.js} +1 -1
  99. package/dist/{cn.es-CGa6b2Lt.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
  100. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  101. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  102. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  103. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +6 -6
  104. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  105. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  106. package/dist/components/Invoice/Invoice.cjs +1 -1
  107. package/dist/components/Invoice/Invoice.mjs +9 -9
  108. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  109. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
  110. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  111. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  112. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  113. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  114. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  115. package/dist/components/PaymentHistory/PaymentHistory.mjs +14 -15
  116. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  117. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  118. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  119. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  120. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  121. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  122. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  123. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  124. package/dist/{customElements-D5DAoHRI.mjs → customElements-B58FcXIN.mjs} +5 -5
  125. package/dist/{customElements-C963-LtW.js → customElements-DUMRMFQ5.js} +2 -2
  126. package/dist/{customer-DKa1B2vp.mjs → customer-B3LPAhaD.mjs} +1 -1
  127. package/dist/{customer-TE1FnGT0.js → customer-CisTPaXj.js} +1 -1
  128. package/dist/{de-DE-CLfzTbbX.mjs → de-DE-DKp5LCu0.mjs} +15 -1
  129. package/dist/de-DE-DL74pMLb.js +1 -0
  130. package/dist/en-US-B2XFj-_p.js +1 -0
  131. package/dist/{en-US-D6SGRAch.mjs → en-US-DQ5vlv9Z.mjs} +15 -1
  132. package/dist/index.cjs +1 -1
  133. package/dist/index.mjs +2 -2
  134. package/dist/{invoices-DJTwftJv.mjs → invoices-3520M5AN.mjs} +1 -1
  135. package/dist/{invoices-ClqTWYF9.js → invoices-CKQBLar2.js} +1 -1
  136. package/dist/{it-IT-Cym1UvvK.mjs → it-IT-BgFVsO5S.mjs} +15 -1
  137. package/dist/it-IT-CqNK62qe.js +1 -0
  138. package/dist/nl-NL-Dx-TNXQ1.js +1 -0
  139. package/dist/{nl-NL-D0c4x5C0.mjs → nl-NL-UiRWbO9S.mjs} +15 -1
  140. package/dist/{paymentMethods-CWzJhcWK.mjs → paymentMethods-CWlvwK5V.mjs} +1 -1
  141. package/dist/{paymentMethods-AL2U_byg.js → paymentMethods-Cw-i95mM.js} +1 -1
  142. package/dist/{payments-aXyfylwk.mjs → payments-2qeQdpiW.mjs} +1 -1
  143. package/dist/{payments-BmiHMlQt.js → payments-CS7_YcOW.js} +1 -1
  144. package/dist/pricing-BIMpDI_p.mjs +29 -0
  145. package/dist/pricing-BOqG21f9.js +1 -0
  146. package/dist/{pricingPlanSchedules-BfsMSvN0.js → pricingPlanSchedules-B_sTAIgU.js} +1 -1
  147. package/dist/{pricingPlanSchedules-BD4GIP_F.mjs → pricingPlanSchedules-ChQCbMfe.mjs} +1 -1
  148. package/dist/screens/Checkout/Checkout.cjs +1 -1
  149. package/dist/screens/Checkout/Checkout.mjs +2 -2
  150. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  151. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  152. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  153. package/dist/screens/PayInvoice/PayInvoice.mjs +12 -12
  154. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  155. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  156. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  157. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  158. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  159. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
  160. package/dist/{subscriptions-cnR5fnf7.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
  161. package/dist/{subscriptions-Cm83ckfl.js → subscriptions-DwVsf4Ev.js} +1 -1
  162. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  163. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  164. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  165. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  166. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +1 -1
  167. package/dist/{useActionDispatchProvider-DDYqIh3r.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
  168. package/dist/{useActionDispatchProvider-CHkVQMaE.js → useActionDispatchProvider-DFhppdve.js} +1 -1
  169. package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
  170. package/dist/{useCustomer-DGYtowRy.js → useCustomer-BwZKd9i5.js} +1 -1
  171. package/dist/{useCustomerFormLabels-CcnkJLcB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +5 -5
  172. package/dist/{useCustomerFormLabels-DAZziqYt.js → useCustomerFormLabels-DV9QiMYh.js} +1 -1
  173. package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
  174. package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
  175. package/dist/{useInvoiceData-BEK-7msA.mjs → useInvoiceData-BocKdeg7.mjs} +2 -2
  176. package/dist/{useInvoiceData-CQRn8l9C.js → useInvoiceData-CNV_FMV8.js} +1 -1
  177. package/dist/{useInvoicesList-C4I118KM.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
  178. package/dist/{useInvoicesList-BQkKyyXa.js → useInvoicesList-S0IbQcrD.js} +1 -1
  179. package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
  180. package/dist/{useLoadInitialData-CrKnBZs_.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
  181. package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
  182. package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +13 -14
  183. package/dist/{usePaymentMethodOptions-Ciifjo6c.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +1 -1
  184. package/dist/{usePaymentMethodOptions-Cqe92ZBn.js → usePaymentMethodOptions-CuzOoi2k.js} +1 -1
  185. package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
  186. package/dist/{usePaymentMethods-BKwrl82-.js → usePaymentMethods-DDaTZQZp.js} +1 -1
  187. package/dist/{usePayments-CV85OV8V.mjs → usePayments-Cr6NlGaW.mjs} +6 -6
  188. package/dist/{usePayments-Bauj16B-.js → usePayments-DDSjo0rH.js} +1 -1
  189. package/dist/{usePortal-DSLImEfr.js → usePortal-C27omjhz.js} +1 -1
  190. package/dist/{usePortal-H8Tv2TnZ.mjs → usePortal-C5AsegpS.mjs} +1 -1
  191. package/dist/{useSubscription-DqnxWNKg.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
  192. package/dist/{useSubscription-BiYNJT2e.js → useSubscription-D787IXY-.js} +1 -1
  193. package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
  194. package/dist/{useTimePeriod.es-D2aiyfd-.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
  195. package/package.json +10 -7
  196. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
  197. package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
  198. package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
  199. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
  200. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
  201. package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
  202. package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
  203. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
  204. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
  205. package/dist/adyen-CvsH5fok.mjs +0 -117
  206. package/dist/adyen-Druit6gz.js +0 -1
  207. package/dist/de-DE-DaBBl-Ak.js +0 -1
  208. package/dist/en-US-BNevqm0M.js +0 -1
  209. package/dist/it-IT-BkPbTueL.js +0 -1
  210. package/dist/nl-NL-jIfAVGv0.js +0 -1
  211. package/dist/pricing-BVAld27Y.js +0 -1
  212. package/dist/pricing-DLOeiAIB.mjs +0 -16
  213. package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
  214. package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
  215. package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
package/README.md CHANGED
@@ -308,15 +308,17 @@ The SDK emits structured log entries via the [`onLog`](#error-logging) callback.
308
308
 
309
309
  ### Warning codes
310
310
 
311
- | Code | Description |
312
- | :----------------------------------- | :------------------------------------------------------------------------ |
313
- | `ACTIVE_SCHEDULE_NOT_FOUND` | No schedule is currently being billed |
314
- | `ADYEN_INVALID_CONFIGURATION` | No environment set for adyen advanced flow, defaulted to live |
315
- | `APPLE_PAY_ACTION_REQUIRED` | Payment requires additional action |
316
- | `INVOICE_PREVIEW_SKIPPED` | Skipped the on-demand charge invoice preview: no schedule to charge it on |
317
- | `ON_DEMAND_CHARGE_REFUSED` | The on-demand order was refused or its payment did not go through |
318
- | `PAYMENT_INTEGRATION_NOT_RENDERABLE` | No Adyen payment methods to offer |
319
- | `REQUEST_FAILED` | Request failed with an expected status |
320
- | `TRANSLATION_LOAD_FAILED` | Failed to load translations for locale… |
311
+ | Code | Description |
312
+ | :----------------------------------- | :----------------------------------------------------------------------------------------------------------- |
313
+ | `ACTIVE_SCHEDULE_NOT_FOUND` | No schedule is currently being billed |
314
+ | `ADYEN_INVALID_CONFIGURATION` | No environment set for adyen advanced flow, defaulted to live |
315
+ | `APPLE_PAY_ACTION_REQUIRED` | Reserved — not currently emitted |
316
+ | `APPLE_PAY_FORM_INCOMPLETE` | Apple Pay authorization stopped: the checkout form is incomplete |
317
+ | `INVOICE_PREVIEW_SKIPPED` | Skipped the on-demand charge invoice preview: no schedule to charge it on |
318
+ | `ON_DEMAND_CHARGE_REFUSED` | The on-demand order was refused or its payment did not go through |
319
+ | `PAYMENT_INTEGRATION_NOT_RENDERABLE` | No Adyen payment methods to offer |
320
+ | `RECURRING_AMOUNT_UNRESOLVED` | Could not tell the recurring part of the invoice from the one-off part; the mandate states the invoice total |
321
+ | `REQUEST_FAILED` | Request failed with an expected status |
322
+ | `TRANSLATION_LOAD_FAILED` | Failed to load translations for locale… |
321
323
 
322
324
  <!-- log-codes:end — DO NOT EDIT: auto-generated by `npm run logs:list` -->
@@ -1 +1 @@
1
- const e=require("vue"),_=require("./PaymentMethod.vue.es-CJcSZ9lN.js"),h=require("./Button.vue.es-qGvnOKnK.js"),v=require("./FormMessage.vue.es-dqATjC2N.js"),b=require("./RadioGroupExtended.vue.es-Dt6LH9Yh.js"),f=require("./customElements-C963-LtW.js"),g=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.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-1d0YIGOu.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-D0D9jW8s.js"),h=require("./Button.vue.es-BzkuglKw.js"),v=require("./FormMessage.vue.es-dqATjC2N.js"),b=require("./RadioGroupExtended.vue.es-DlbURHQN.js"),f=require("./customElements-DUMRMFQ5.js"),g=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.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-CMP5FLRO.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,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-CKu5nApX.mjs";
3
- import { _ as I } from "./Button.vue.es-C32_baQN.mjs";
2
+ import { _ as P } from "./PaymentMethod.vue.es-4YRmQZHX.mjs";
3
+ import { _ as I } from "./Button.vue.es-Cmjfm4jw.mjs";
4
4
  import { _ as L } from "./FormMessage.vue.es-jG3fQZms.mjs";
5
- import { _ as T } from "./RadioGroupExtended.vue.es-BalV7gwp.mjs";
6
- import { a as x, _ as R } from "./customElements-D5DAoHRI.mjs";
7
- import { _ as D } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs";
5
+ import { _ as T } from "./RadioGroupExtended.vue.es-9YzXzZF0.mjs";
6
+ import { a as x, _ as R } from "./customElements-B58FcXIN.mjs";
7
+ import { _ as D } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.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-B05sHWcW.mjs").then((t) => t.default)
179
+ () => import("./PaymentMethodForm-Dnj_7mJU.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"),s=require("./Button.vue.es-qGvnOKnK.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-BzkuglKw.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,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-C32_baQN.mjs";
2
+ import { a as w } from "./Button.vue.es-Cmjfm4jw.mjs";
3
3
  const z = (e) => {
4
4
  const t = f(), l = (n) => {
5
5
  let a = 0;
@@ -0,0 +1 @@
1
+ const e=require("vue"),a=require("./Button.vue.es-BzkuglKw.js"),l=require("./CustomerBillingInformation.vue.es-BfPEB42w.js"),u=require("./customElements-DUMRMFQ5.js"),m=require("./Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),f=require("./useActionDispatchProvider-DFhppdve.js"),_=require("./configuration-akTS7Wiw.js"),v=e.defineComponent({__name:"BillingInformation",props:{customer:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},emits:["edit-billing-information"],setup(t){const i={showEditButton:!0},o=t,s=e.computed(()=>_.resolveConfiguration(i,o.configuration)),{$t:r}=u.useIntl(),{dispatchAction:c}=f.useActionDispatchProvider();return(d,n)=>t.isLoading?(e.openBlock(),e.createBlock(m._sfc_main,{key:0,variant:"section",class:"sv-billing-information sv-root sv-component sv-loading min-h-[100px]"})):(e.openBlock(),e.createBlock(e.unref(l._sfc_main),{key:1,class:"sv-billing-information sv-root sv-component",customer:t.customer,"fallback-to-reference":!1},e.createSlots({_:2},[s.value.showEditButton?{name:"settings",fn:e.withCtx(()=>[e.createVNode(e.unref(a._sfc_main),{size:"sm",intent:"subtle","icon-prefix":"edit",class:"sv-action sv-action--ghost sv-billing-information__edit",onClick:n[0]||(n[0]=g=>e.unref(c)({action:"edit-billing-information"}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.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
- import { defineComponent as f, computed as p, openBlock as n, createBlock as e, unref as t, createSlots as u, withCtx as s, createVNode as d, createTextVNode as _, toDisplayString as g } from "vue";
2
- import { _ as v } from "./Button.vue.es-C32_baQN.mjs";
3
- import { _ as b } from "./CustomerBillingInformation.vue.es-BxBQt4Q0.mjs";
4
- import { a as k } from "./customElements-D5DAoHRI.mjs";
5
- import { _ as h } from "./Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs";
6
- import { u as y } from "./useActionDispatchProvider-DDYqIh3r.mjs";
1
+ import { defineComponent as f, computed as p, openBlock as n, createBlock as e, unref as t, createSlots as u, withCtx as s, createVNode as _, createTextVNode as d, toDisplayString as v } from "vue";
2
+ import { _ as g } from "./Button.vue.es-Cmjfm4jw.mjs";
3
+ import { _ as b } from "./CustomerBillingInformation.vue.es-DhFbpZPK.mjs";
4
+ import { a as h } from "./customElements-B58FcXIN.mjs";
5
+ import { _ as k } from "./Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs";
6
+ import { u as y } from "./useActionDispatchProvider-B3AvkLL2.mjs";
7
7
  import { r as x } from "./configuration-BytDBAWs.mjs";
8
8
  const T = /* @__PURE__ */ f({
9
9
  __name: "BillingInformation",
@@ -14,16 +14,15 @@ const T = /* @__PURE__ */ f({
14
14
  },
15
15
  emits: ["edit-billing-information"],
16
16
  setup(o) {
17
- const a = {
17
+ const r = {
18
18
  showEditButton: !0
19
- }, r = o, c = p(
20
- () => x(a, r.configuration)
21
- ), { $t: l } = k(), { dispatchAction: m } = y();
22
- return (w, i) => o.isLoading ? (n(), e(h, {
19
+ }, a = o, c = p(
20
+ () => x(r, a.configuration)
21
+ ), { $t: l } = h(), { dispatchAction: m } = y();
22
+ return (w, i) => o.isLoading ? (n(), e(k, {
23
23
  key: 0,
24
24
  variant: "section",
25
- class: "sv-billing-information sv-root sv-component sv-loading min-h-[100px]",
26
- "data-testid": "billing-information-skeleton"
25
+ class: "sv-billing-information sv-root sv-component sv-loading min-h-[100px]"
27
26
  })) : (n(), e(t(b), {
28
27
  key: 1,
29
28
  class: "sv-billing-information sv-root sv-component",
@@ -33,7 +32,7 @@ const T = /* @__PURE__ */ f({
33
32
  c.value.showEditButton ? {
34
33
  name: "settings",
35
34
  fn: s(() => [
36
- d(t(v), {
35
+ _(t(g), {
37
36
  size: "sm",
38
37
  intent: "subtle",
39
38
  "icon-prefix": "edit",
@@ -41,7 +40,7 @@ const T = /* @__PURE__ */ f({
41
40
  onClick: i[0] || (i[0] = (B) => t(m)({ action: "edit-billing-information" }))
42
41
  }, {
43
42
  default: s(() => [
44
- _(g(t(l)({
43
+ d(v(t(l)({
45
44
  defaultMessage: "Edit",
46
45
  id: "customer_overview.billing_information_block.view_all_payment_methods_link_label",
47
46
  description: "The link text that links to the overview page of the customer billing information"
@@ -1 +1 @@
1
- const e=require("vue"),w=require("./customElements-C963-LtW.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-DUMRMFQ5.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,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-D5DAoHRI.mjs";
2
+ import { _ as M } from "./customElements-B58FcXIN.mjs";
3
3
  const N = {
4
4
  class: "h-full w-full",
5
5
  xmlns: "http://www.w3.org/2000/svg",