@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
@@ -1,62 +1,62 @@
1
- import { defineComponent as me, openBlock as i, createElementBlock as C, normalizeClass as G, createCommentVNode as M, useModel as Ae, computed as d, createBlock as h, createElementVNode as x, createVNode as b, withCtx as c, createTextVNode as v, toDisplayString as p, unref as n, Fragment as We, renderList as qe, renderSlot as je, mergeModels as Pe, ref as k, watch as J, reactive as Ke } from "vue";
1
+ import { defineComponent as ue, openBlock as i, createElementBlock as C, normalizeClass as G, createCommentVNode as M, useModel as Ae, computed as o, createBlock as h, createElementVNode as x, createVNode as b, withCtx as c, createTextVNode as v, toDisplayString as p, unref as n, Fragment as We, renderList as qe, renderSlot as je, mergeModels as Pe, ref as k, watch as J, reactive as Ke } from "vue";
2
2
  import { u as Xe, c as Ce } from "./formControl-dX7l8o3c.mjs";
3
3
  import { f as Je } from "./formatting.es-RclXHhKo.mjs";
4
- import { _ as P } from "./Button.vue.es-C32_baQN.mjs";
5
- import { u as Qe, g as Ze, i as ea, t as aa } from "./SubscriptionDetails.entry.ce-WEimiOex.mjs";
6
- import { a as ke, _ as ta } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs";
7
- import { _ as na } from "./PaymentMethod.vue.es-CKu5nApX.mjs";
8
- import { a as Te, _ as R, j as ce, b as Oe } from "./customElements-D5DAoHRI.mjs";
9
- import { _ as da } from "./ErrorNotification.vue.es-rRKgmkzV.mjs";
4
+ import { _ as P } from "./Button.vue.es-Cmjfm4jw.mjs";
5
+ import { u as Qe, g as Ze, i as ea, t as aa } from "./SubscriptionDetails.entry.ce-CGl6Z5ql.mjs";
6
+ import { a as ke, _ as ta } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs";
7
+ import { _ as na } from "./PaymentMethod.vue.es-4YRmQZHX.mjs";
8
+ import { a as Te, _ as R, j as ce, b as Oe } from "./customElements-B58FcXIN.mjs";
9
+ import { _ as oa } from "./ErrorNotification.vue.es-h-D37rfG.mjs";
10
10
  import { _ as De } from "./FormMessage.vue.es-jG3fQZms.mjs";
11
- import { _ as oa } from "./RadioGroupExtended.vue.es-BalV7gwp.mjs";
12
- import { _ as ia } from "./StepInput.vue.es-C3Zm6Wc9.mjs";
13
- import { _ as sa } from "./IconButton.vue.es-UlqwNPAX.mjs";
11
+ import { _ as da } from "./RadioGroupExtended.vue.es-9YzXzZF0.mjs";
12
+ import { _ as ia } from "./StepInput.vue.es-o-3Lg4Ai.mjs";
13
+ import { _ as sa } from "./IconButton.vue.es-DvfErUOq.mjs";
14
14
  import { _ as ra } from "./floating-ui.vue.es-CYt0fSY7.mjs";
15
- import { _ as la } from "./Section.vue.es-D7eiXUbk.mjs";
16
- import { c as ca } from "./invoices-DJTwftJv.mjs";
17
- import { a as ma, b as ua, c as ha, d as va } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs";
15
+ import { _ as la } from "./Section.vue.es-DVEpre9O.mjs";
16
+ import { c as ca } from "./invoices-3520M5AN.mjs";
17
+ import { a as ua, b as ma, c as ha, d as va } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs";
18
18
  const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toUpperCase()), pa = (e) => {
19
- var _, o, y, a, E, r;
20
- const g = [];
19
+ var _, d, y, a, E, r;
20
+ const f = [];
21
21
  switch (e.type) {
22
22
  case "CARD":
23
- g.push(
23
+ f.push(
24
24
  e.card.brand && V(e.card.brand),
25
25
  e.card.last_four_digits
26
26
  );
27
27
  break;
28
28
  case "ONLINE_BANKING":
29
- g.push(
29
+ f.push(
30
30
  ((_ = e.online_banking) == null ? void 0 : _.variant) && V(e.online_banking.variant),
31
- (o = e.online_banking) == null ? void 0 : o.owner_name
31
+ (d = e.online_banking) == null ? void 0 : d.owner_name
32
32
  );
33
33
  break;
34
34
  case "DIRECT_DEBIT":
35
- g.push(
35
+ f.push(
36
36
  ((y = e.direct_debit) == null ? void 0 : y.variant) && V(e.direct_debit.variant),
37
37
  (a = e.direct_debit) == null ? void 0 : a.owner_name
38
38
  );
39
39
  break;
40
40
  case "BUY_NOW_PAY_LATER":
41
- g.push(
41
+ f.push(
42
42
  ((E = e.buy_now_pay_later) == null ? void 0 : E.variant) && V(e.buy_now_pay_later.variant)
43
43
  );
44
44
  break;
45
45
  case "DIGITAL_WALLET":
46
- g.push(
46
+ f.push(
47
47
  ((r = e.digital_wallet) == null ? void 0 : r.variant) && V(e.digital_wallet.variant)
48
48
  );
49
49
  break;
50
50
  }
51
- return g.filter(Boolean).join(" ") || V(e.type);
52
- }, ga = /* @__PURE__ */ me({
51
+ return f.filter(Boolean).join(" ") || V(e.type);
52
+ }, fa = /* @__PURE__ */ ue({
53
53
  __name: "Placeholder",
54
54
  props: {
55
55
  loading: { type: Boolean },
56
56
  shade: { default: "default" }
57
57
  },
58
58
  setup(e) {
59
- return (_, o) => (i(), C("div", {
59
+ return (_, d) => (i(), C("div", {
60
60
  class: G(["rounded", {
61
61
  "bg-gray-300": e.shade === "default",
62
62
  "bg-gray-200": e.shade === "light"
@@ -68,7 +68,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
68
68
  }, null, 2)) : M("", !0)
69
69
  ], 2));
70
70
  }
71
- }), le = /* @__PURE__ */ ra(ga, [["__scopeId", "data-v-11677ac2"]]), fa = { class: "flex flex-col gap-6" }, _a = {
71
+ }), le = /* @__PURE__ */ ra(fa, [["__scopeId", "data-v-11677ac2"]]), ga = { class: "flex flex-col gap-6" }, _a = {
72
72
  class: "flex flex-col gap-3",
73
73
  "aria-labelledby": "charge-on-demand-items-heading"
74
74
  }, ya = { class: "flex flex-col gap-2" }, ba = { class: "flex min-w-0 grow flex-col" }, Ia = {
@@ -88,7 +88,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
88
88
  }, Pa = {
89
89
  key: 1,
90
90
  "data-testid": "charge-on-demand-no-payment-methods"
91
- }, Ca = /* @__PURE__ */ me({
91
+ }, Ca = /* @__PURE__ */ ue({
92
92
  __name: "ChargeOnDemandEditor",
93
93
  props: /* @__PURE__ */ Pe({
94
94
  items: {},
@@ -106,45 +106,45 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
106
106
  }),
107
107
  emits: /* @__PURE__ */ Pe(["add-payment-method"], ["update:selection", "update:paymentMethodId"]),
108
108
  setup(e) {
109
- const _ = e, o = Ae(e, "selection"), y = Ae(e, "paymentMethodId"), { $t: a } = Te(), E = (t) => {
110
- o.value = [
111
- ...o.value,
109
+ const _ = e, d = Ae(e, "selection"), y = Ae(e, "paymentMethodId"), { $t: a } = Te(), E = (t) => {
110
+ d.value = [
111
+ ...d.value,
112
112
  t.priceType === "FLAT" ? { pricingItemId: t.pricingItemId, units: t.defaultUnits } : { pricingItemId: t.pricingItemId }
113
113
  ];
114
114
  }, r = (t) => {
115
- o.value = o.value.filter(
116
- ({ pricingItemId: f }) => f !== t.pricingItemId
115
+ d.value = d.value.filter(
116
+ ({ pricingItemId: g }) => g !== t.pricingItemId
117
117
  );
118
- }, g = (t, f) => {
119
- !Number.isInteger(f) || f < 1 || (o.value = o.value.map(
120
- (A) => A.pricingItemId === t.pricingItemId ? { ...A, units: f } : A
118
+ }, f = (t, g) => {
119
+ !Number.isInteger(g) || g < 1 || (d.value = d.value.map(
120
+ (A) => A.pricingItemId === t.pricingItemId ? { ...A, units: g } : A
121
121
  ));
122
- }, { getPriceLabel: I } = Qe(), O = d(
123
- () => new Map(o.value.map((t) => [t.pricingItemId, t]))
124
- ), N = d(
122
+ }, { getPriceLabel: I } = Qe(), O = o(
123
+ () => new Map(d.value.map((t) => [t.pricingItemId, t]))
124
+ ), N = o(
125
125
  () => _.items.map((t) => {
126
- var f, A;
126
+ var g, A;
127
127
  return {
128
128
  item: t,
129
129
  selected: O.value.get(t.pricingItemId),
130
- error: (A = (f = _.errors) == null ? void 0 : f.items) == null ? void 0 : A[t.pricingItemId],
130
+ error: (A = (g = _.errors) == null ? void 0 : g.items) == null ? void 0 : A[t.pricingItemId],
131
131
  priceLabel: I(t)
132
132
  };
133
133
  })
134
- ), u = d(
134
+ ), m = o(
135
135
  () => new Map(
136
136
  _.paymentMethods.map((t) => [t.id, t])
137
137
  )
138
- ), T = d(
138
+ ), T = o(
139
139
  () => _.paymentMethods.map((t) => ({
140
140
  label: pa(t),
141
141
  value: t.id
142
142
  }))
143
143
  );
144
- return (t, f) => {
144
+ return (t, g) => {
145
145
  var A, $, W;
146
- return i(), C("div", fa, [
147
- (A = e.errors) != null && A.form ? (i(), h(da, {
146
+ return i(), C("div", ga, [
147
+ (A = e.errors) != null && A.form ? (i(), h(oa, {
148
148
  key: 0,
149
149
  description: e.errors.form
150
150
  }, null, 8, ["description"])) : M("", !0),
@@ -165,8 +165,8 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
165
165
  _: 1
166
166
  }),
167
167
  x("ul", ya, [
168
- (i(!0), C(We, null, qe(N.value, ({ item: m, selected: D, error: S, priceLabel: q }) => (i(), C("li", {
169
- key: m.pricingItemId,
168
+ (i(!0), C(We, null, qe(N.value, ({ item: u, selected: D, error: S, priceLabel: q }) => (i(), C("li", {
169
+ key: u.pricingItemId,
170
170
  class: "flex flex-col gap-1",
171
171
  "data-testid": "charge-on-demand-item"
172
172
  }, [
@@ -184,7 +184,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
184
184
  "no-spacing": ""
185
185
  }, {
186
186
  default: c(() => [
187
- v(p(m.name), 1)
187
+ v(p(u.name), 1)
188
188
  ]),
189
189
  _: 2
190
190
  }, 1024),
@@ -201,16 +201,16 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
201
201
  _: 2
202
202
  }, 1024)) : M("", !0)
203
203
  ]),
204
- m.priceType === "FLAT" && D ? (i(), C("div", Ia, [
204
+ u.priceType === "FLAT" && D ? (i(), C("div", Ia, [
205
205
  x("div", wa, [
206
206
  b(ia, {
207
- "model-value": D.units ?? m.defaultUnits,
208
- "initial-value": m.defaultUnits,
207
+ "model-value": D.units ?? u.defaultUnits,
208
+ "initial-value": u.defaultUnits,
209
209
  min: 1,
210
- name: `charge-on-demand-units-${m.pricingItemId}`,
210
+ name: `charge-on-demand-units-${u.pricingItemId}`,
211
211
  disabled: e.disabled,
212
212
  size: "sm",
213
- "onUpdate:modelValue": (F) => g(m, F)
213
+ "onUpdate:modelValue": (F) => f(u, F)
214
214
  }, null, 8, ["model-value", "initial-value", "name", "disabled", "onUpdate:modelValue"])
215
215
  ]),
216
216
  b(sa, {
@@ -224,7 +224,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
224
224
  description: "Removes an on-demand item from the order",
225
225
  id: "charge_on_demand.item.remove"
226
226
  }),
227
- onClick: (F) => r(m)
227
+ onClick: (F) => r(u)
228
228
  }, null, 8, ["disabled", "tooltip", "onClick"])
229
229
  ])) : D ? (i(), h(P, {
230
230
  key: 1,
@@ -234,7 +234,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
234
234
  "icon-prefix": "check",
235
235
  "aria-pressed": !0,
236
236
  disabled: e.disabled,
237
- onClick: (F) => r(m)
237
+ onClick: (F) => r(u)
238
238
  }, {
239
239
  default: c(() => [
240
240
  v(p(n(a)({
@@ -250,9 +250,9 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
250
250
  intent: "secondary",
251
251
  size: "sm",
252
252
  "icon-prefix": "add",
253
- "aria-pressed": m.priceType === "FIXED" ? !1 : void 0,
253
+ "aria-pressed": u.priceType === "FIXED" ? !1 : void 0,
254
254
  disabled: e.disabled,
255
- onClick: (F) => E(m)
255
+ onClick: (F) => E(u)
256
256
  }, {
257
257
  default: c(() => [
258
258
  v(p(n(a)({
@@ -287,7 +287,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
287
287
  ]),
288
288
  _: 1
289
289
  }),
290
- o.value.length === 0 ? (i(), h(R, {
290
+ d.value.length === 0 ? (i(), h(R, {
291
291
  key: 0,
292
292
  variant: "body-sm",
293
293
  tag: "p",
@@ -338,10 +338,10 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
338
338
  ]),
339
339
  _: 1
340
340
  }),
341
- e.paymentMethods.length > 0 ? (i(), h(oa, {
341
+ e.paymentMethods.length > 0 ? (i(), h(da, {
342
342
  key: 0,
343
343
  modelValue: y.value,
344
- "onUpdate:modelValue": f[0] || (f[0] = (m) => y.value = m),
344
+ "onUpdate:modelValue": g[0] || (g[0] = (u) => y.value = u),
345
345
  name: "charge-on-demand-payment-method",
346
346
  options: T.value,
347
347
  "show-radio": !1,
@@ -349,13 +349,13 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
349
349
  disabled: e.disabled,
350
350
  direction: "column"
351
351
  }, {
352
- label: c(({ optionValue: m }) => [
353
- u.value.get(m) ? (i(), h(na, {
352
+ label: c(({ optionValue: u }) => [
353
+ m.value.get(u) ? (i(), h(na, {
354
354
  key: 0,
355
- "payment-method": u.value.get(m)
355
+ "payment-method": m.value.get(u)
356
356
  }, null, 8, ["payment-method"])) : M("", !0)
357
357
  ]),
358
- description: c(() => [...f[2] || (f[2] = [])]),
358
+ description: c(() => [...g[2] || (g[2] = [])]),
359
359
  _: 1
360
360
  }, 8, ["modelValue", "options", "error", "disabled"])) : (i(), C("div", Pa, [
361
361
  je(t.$slots, "payment-methods-empty", {}, () => [
@@ -387,7 +387,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
387
387
  "icon-prefix": "add",
388
388
  disabled: e.disabled,
389
389
  "data-testid": "charge-on-demand-add-payment-method",
390
- onClick: f[1] || (f[1] = (m) => t.$emit("add-payment-method"))
390
+ onClick: g[1] || (g[1] = (u) => t.$emit("add-payment-method"))
391
391
  }, {
392
392
  default: c(() => [
393
393
  v(p(n(a)({
@@ -422,42 +422,42 @@ function Oa(e) {
422
422
  function Na({
423
423
  pricingPlanScheduleId: e
424
424
  }) {
425
- const { chargeOnDemandPricingItems: _ } = ca(), o = Oe(), y = k(!1), a = k(), E = k(), r = k();
425
+ const { chargeOnDemandPricingItems: _ } = ca(), d = Oe(), y = k(!1), a = k(), E = k(), r = k();
426
426
  return { isCharging: y, chargedInvoice: a, chargeError: E, unpaidInvoiceId: r, charge: async ({
427
427
  pricingItems: O,
428
428
  paymentMethodId: N
429
429
  }) => {
430
430
  y.value = !0, E.value = void 0, r.value = void 0;
431
431
  try {
432
- const u = await _({
432
+ const m = await _({
433
433
  pricing_plan_schedule_id: e.value,
434
434
  pricing_items: O,
435
435
  payment_method_id: N,
436
436
  finalize_immediately: !0
437
437
  });
438
- return a.value = u, { invoice: u };
439
- } catch (u) {
440
- const T = Ta(u);
441
- E.value = T, r.value = T === "PAYMENT_FAILED" && ce(u) ? u.resourceId : void 0;
438
+ return a.value = m, { invoice: m };
439
+ } catch (m) {
440
+ const T = Ta(m);
441
+ E.value = T, r.value = T === "PAYMENT_FAILED" && ce(m) ? m.resourceId : void 0;
442
442
  const t = {
443
443
  scheduleId: e.value,
444
444
  outcome: T,
445
- ...ce(u) ? {
446
- statusCode: u.statusCode,
447
- field: u.field,
448
- requestId: u.requestId
445
+ ...ce(m) ? {
446
+ statusCode: m.statusCode,
447
+ field: m.field,
448
+ requestId: m.requestId
449
449
  } : {}
450
450
  };
451
- return T === "FAILED" ? o.error(
451
+ return T === "FAILED" ? d.error(
452
452
  "ON_DEMAND_CHARGE_FAILED",
453
453
  "Failed to charge the on-demand order",
454
454
  t,
455
- u
456
- ) : o.warn(
455
+ m
456
+ ) : d.warn(
457
457
  "ON_DEMAND_CHARGE_REFUSED",
458
458
  "The on-demand order was refused or its payment did not go through",
459
459
  t,
460
- u
460
+ m
461
461
  ), { error: T, unpaidInvoiceId: r.value };
462
462
  } finally {
463
463
  y.value = !1;
@@ -475,7 +475,7 @@ const Sa = {
475
475
  }, xa = {
476
476
  key: 2,
477
477
  class: "flex flex-col gap-2"
478
- }, Za = /* @__PURE__ */ me({
478
+ }, Za = /* @__PURE__ */ ue({
479
479
  __name: "ChargeOnDemandModal",
480
480
  props: {
481
481
  showModal: { type: Boolean },
@@ -488,15 +488,15 @@ const Sa = {
488
488
  },
489
489
  emits: ["close", "invoice-created", "view-invoice", "payment-method-stored", "payment-failed"],
490
490
  setup(e, { emit: _ }) {
491
- const o = e, y = _, { $t: a } = Te(), E = Oe(), r = k("ORDER"), g = k([]), I = k(), O = d(() => (o.subscription.payment_acceptor_ids ?? []).length > 0), N = d(
492
- () => Ze(o.paymentMethods ?? [], o.subscription)
493
- ), u = k();
491
+ const d = e, y = _, { $t: a } = Te(), E = Oe(), r = k("ORDER"), f = k([]), I = k(), O = o(() => (d.subscription.payment_acceptor_ids ?? []).length > 0), N = o(
492
+ () => Ze(d.paymentMethods ?? [], d.subscription)
493
+ ), m = k();
494
494
  J(
495
495
  N,
496
496
  (s) => {
497
497
  var Y;
498
- const l = u.value;
499
- u.value = void 0;
498
+ const l = m.value;
499
+ m.value = void 0;
500
500
  const w = l ? s.find(({ id: U }) => !l.has(U)) : void 0;
501
501
  if (w) {
502
502
  I.value = w.id;
@@ -509,15 +509,15 @@ const Sa = {
509
509
  const {
510
510
  paneRef: T,
511
511
  isActive: t,
512
- isSaving: f,
512
+ isSaving: g,
513
513
  open: A,
514
514
  leave: $,
515
515
  submit: W
516
- } = ma({ step: r, name: "ADD_PAYMENT_METHOD", returnTo: "ORDER" }), m = k(!1), D = k(), S = (s) => {
517
- m.value = !0, E.error(
516
+ } = ua({ step: r, name: "ADD_PAYMENT_METHOD", returnTo: "ORDER" }), u = k(!1), D = k(), S = (s) => {
517
+ u.value = !0, E.error(
518
518
  "PAYMENT_METHOD_OPTIONS_LOAD_FAILED",
519
519
  "Failed to load the payment methods that can be offered",
520
- { flow: "ON_DEMAND_ORDER", subscriptionId: o.subscription.id },
520
+ { flow: "ON_DEMAND_ORDER", subscriptionId: d.subscription.id },
521
521
  s
522
522
  ), t.value && ($(), D.value = a({
523
523
  defaultMessage: "We couldn't load the ways to add a payment method. Please try again.",
@@ -528,29 +528,29 @@ const Sa = {
528
528
  settledOptions: q,
529
529
  isPending: F,
530
530
  load: Ne
531
- } = ua({
532
- isOpen: d(() => o.showModal && O.value),
533
- customer: d(() => o.customer),
534
- subscriptionId: d(() => o.subscription.id),
531
+ } = ma({
532
+ isOpen: o(() => d.showModal && O.value),
533
+ customer: o(() => d.customer),
534
+ subscriptionId: o(() => d.subscription.id),
535
535
  onError: S
536
- }), Se = d(
536
+ }), Se = o(
537
537
  () => {
538
538
  var s;
539
539
  return (s = q.value) == null ? void 0 : s.filter(
540
- ({ payment_acceptor: l }) => (o.subscription.payment_acceptor_ids ?? []).includes(l.id)
540
+ ({ payment_acceptor: l }) => (d.subscription.payment_acceptor_ids ?? []).includes(l.id)
541
541
  );
542
542
  }
543
543
  ), Le = () => {
544
- D.value = void 0, m.value && (m.value = !1, Ne()), A();
544
+ D.value = void 0, u.value && (u.value = !1, Ne()), A();
545
545
  }, xe = () => {
546
- u.value = new Set(N.value.map(({ id: s }) => s)), $(), y("payment-method-stored");
547
- }, ue = Ke({
548
- lines: d(
549
- () => g.value.map(({ pricingItemId: s, units: l }) => {
546
+ m.value = new Set(N.value.map(({ id: s }) => s)), $(), y("payment-method-stored");
547
+ }, me = Ke({
548
+ lines: o(
549
+ () => f.value.map(({ pricingItemId: s, units: l }) => {
550
550
  var w;
551
551
  return {
552
552
  pricingItemId: s,
553
- priceType: (w = o.items.find((Y) => Y.pricingItemId === s)) == null ? void 0 : w.priceType,
553
+ priceType: (w = d.items.find((Y) => Y.pricingItemId === s)) == null ? void 0 : w.priceType,
554
554
  units: l
555
555
  };
556
556
  })
@@ -572,22 +572,22 @@ const Sa = {
572
572
  })
573
573
  }
574
574
  },
575
- ue
576
- ), Q = d(() => he.value.lines.$invalid), ve = d(() => {
577
- const { $errors: s = [] } = he.value.lines.$each.$response ?? {}, l = ue.lines.flatMap(({ pricingItemId: w }, Y) => {
575
+ me
576
+ ), Q = o(() => he.value.lines.$invalid), ve = o(() => {
577
+ const { $errors: s = [] } = he.value.lines.$each.$response ?? {}, l = me.lines.flatMap(({ pricingItemId: w }, Y) => {
578
578
  var we, Me, Ee;
579
579
  const U = (Ee = (Me = (we = s[Y]) == null ? void 0 : we.units) == null ? void 0 : Me[0]) == null ? void 0 : Ee.$message;
580
580
  return U ? [[w, String(U)]] : [];
581
581
  });
582
582
  return l.length > 0 ? Object.fromEntries(l) : void 0;
583
- }), pe = d(
584
- () => g.value.length > 0 && !Q.value ? aa(g.value, o.items) : void 0
585
- ), { invoicePreview: ge, isPreviewPending: j, hasPreviewFailed: fe, loadPreview: Re } = ha({
586
- pricingPlanScheduleId: d(() => o.scheduleId),
583
+ }), pe = o(
584
+ () => f.value.length > 0 && !Q.value ? aa(f.value, d.items) : void 0
585
+ ), { invoicePreview: fe, isPreviewPending: j, hasPreviewFailed: ge, loadPreview: Re } = ha({
586
+ pricingPlanScheduleId: o(() => d.scheduleId),
587
587
  pricingItems: pe
588
- }), Z = d(() => {
588
+ }), Z = o(() => {
589
589
  var s;
590
- return (s = ge.value) == null ? void 0 : s.invoice_amount_including_tax;
590
+ return (s = fe.value) == null ? void 0 : s.invoice_amount_including_tax;
591
591
  }), {
592
592
  isCharging: L,
593
593
  chargedInvoice: z,
@@ -595,7 +595,7 @@ const Sa = {
595
595
  unpaidInvoiceId: ee,
596
596
  charge: $e,
597
597
  reset: Fe
598
- } = Na({ pricingPlanScheduleId: d(() => o.scheduleId) }), Be = d(() => {
598
+ } = Na({ pricingPlanScheduleId: o(() => d.scheduleId) }), Be = o(() => {
599
599
  switch (B.value) {
600
600
  case "PAYMENT_METHOD":
601
601
  return a({
@@ -618,33 +618,33 @@ const Sa = {
618
618
  default:
619
619
  return;
620
620
  }
621
- }), Ye = d(() => B.value === "SUBSCRIPTION_INACTIVE");
621
+ }), Ye = o(() => B.value === "SUBSCRIPTION_INACTIVE");
622
622
  J(I, () => {
623
623
  B.value === "PAYMENT_METHOD" && (B.value = void 0);
624
624
  }), J(
625
- g,
625
+ f,
626
626
  () => {
627
627
  B.value === "PRICING_ITEMS" && (B.value = void 0);
628
628
  },
629
629
  { deep: !0 }
630
630
  );
631
- const Ue = d(
632
- () => fe.value ? a({
631
+ const Ue = o(
632
+ () => ge.value ? a({
633
633
  defaultMessage: "We couldn't calculate the total. Please try again.",
634
634
  description: "Shown on the on-demand order when its total failed to load",
635
635
  id: "charge_on_demand_modal.preview_error"
636
636
  }) : void 0
637
- ), ae = d(
638
- () => fe.value && !j.value && !L.value
639
- ), _e = d(
637
+ ), ae = o(
638
+ () => ge.value && !j.value && !L.value
639
+ ), _e = o(
640
640
  () => Be.value ?? Ue.value ?? D.value
641
- ), Ve = d(
641
+ ), Ve = o(
642
642
  () => _e.value || ve.value ? { form: _e.value, items: ve.value } : void 0
643
- ), K = d(() => r.value === "PLACED"), X = d(
643
+ ), K = o(() => r.value === "PLACED"), X = o(
644
644
  () => !!z.value && ka(z.value)
645
- ), ye = d(() => r.value === "PAYMENT_FAILED" || r.value === "FAILED"), be = d(
646
- () => !L.value && O.value && !Ye.value && g.value.length > 0 && !Q.value && !!I.value && !!Z.value && !j.value
647
- ), ze = d(() => r.value === "PLACED" ? a({
645
+ ), ye = o(() => r.value === "PAYMENT_FAILED" || r.value === "FAILED"), be = o(
646
+ () => !L.value && O.value && !Ye.value && f.value.length > 0 && !Q.value && !!I.value && !!Z.value && !j.value
647
+ ), ze = o(() => r.value === "PLACED" ? a({
648
648
  defaultMessage: "Order placed",
649
649
  description: "Title of the on-demand order modal once the order is placed, paid or not",
650
650
  id: "charge_on_demand_modal.placed.title"
@@ -664,7 +664,7 @@ const Sa = {
664
664
  defaultMessage: "Order on-demand items",
665
665
  description: "Title of the modal for ordering the on-demand items of a subscription",
666
666
  id: "charge_on_demand_modal.title"
667
- })), He = d(() => r.value === "PLACED" ? X.value ? a({
667
+ })), He = o(() => r.value === "PLACED" ? X.value ? a({
668
668
  defaultMessage: "Your order is paid. The invoice is in your invoice list.",
669
669
  description: "Subtitle of the on-demand order modal once the order has been paid",
670
670
  id: "charge_on_demand_modal.success.subtitle"
@@ -688,7 +688,7 @@ const Sa = {
688
688
  defaultMessage: "Add a payment method to pay for this order.",
689
689
  description: "Subtitle of the on-demand order modal while the customer is adding a payment method",
690
690
  id: "charge_on_demand_modal.add_payment_method.subtitle"
691
- }) : void 0), Ie = d(
691
+ }) : void 0), Ie = o(
692
692
  () => t.value ? a({
693
693
  defaultMessage: "Back",
694
694
  description: "Leaves the add payment method step of the on-demand order modal for the order",
@@ -698,7 +698,7 @@ const Sa = {
698
698
  description: "Closes the modal for ordering on-demand items",
699
699
  id: "charge_on_demand_modal.cancel_button.label"
700
700
  })
701
- ), H = d(() => K.value ? a({
701
+ ), H = o(() => K.value ? a({
702
702
  defaultMessage: "Done",
703
703
  description: "Closes the on-demand order modal once the order is placed",
704
704
  id: "charge_on_demand_modal.done_button.label"
@@ -710,7 +710,7 @@ const Sa = {
710
710
  defaultMessage: "Save payment method",
711
711
  description: "Confirm button of the on-demand order modal while the customer is adding a payment method",
712
712
  id: "charge_on_demand_modal.save_payment_method.label"
713
- }) : g.value.length === 0 ? a({
713
+ }) : f.value.length === 0 ? a({
714
714
  defaultMessage: "Add an item to continue",
715
715
  description: "Disabled pay button of the on-demand order while no item is added",
716
716
  id: "charge_on_demand_modal.confirm_button.no_items"
@@ -754,11 +754,11 @@ const Sa = {
754
754
  Ge();
755
755
  }, ne = () => {
756
756
  y("close");
757
- }, de = d(
758
- () => K.value && !X.value && o.canViewCreatedInvoice
759
- ), oe = d(
760
- () => r.value === "PAYMENT_FAILED" && !!ee.value && o.canViewCreatedInvoice
761
- ), ie = d(
757
+ }, oe = o(
758
+ () => K.value && !X.value && d.canViewCreatedInvoice
759
+ ), de = o(
760
+ () => r.value === "PAYMENT_FAILED" && !!ee.value && d.canViewCreatedInvoice
761
+ ), ie = o(
762
762
  () => a({
763
763
  defaultMessage: "Go to invoice",
764
764
  description: "Opens the invoice of the on-demand order the customer just placed",
@@ -769,7 +769,7 @@ const Sa = {
769
769
  const s = ((l = z.value) == null ? void 0 : l.id) ?? ee.value;
770
770
  ne(), s && y("view-invoice", s);
771
771
  }, re = () => {
772
- if (!(f.value || L.value)) {
772
+ if (!(g.value || L.value)) {
773
773
  if (K.value) {
774
774
  ne();
775
775
  return;
@@ -782,9 +782,9 @@ const Sa = {
782
782
  }
783
783
  };
784
784
  return J(
785
- () => o.showModal,
785
+ () => d.showModal,
786
786
  (s) => {
787
- s && (r.value = "ORDER", g.value = [], u.value = void 0, Fe(), D.value = void 0);
787
+ s && (r.value = "ORDER", f.value = [], m.value = void 0, Fe(), D.value = void 0);
788
788
  }
789
789
  ), (s, l) => (i(), h(va, {
790
790
  ref_key: "addPaymentMethodRef",
@@ -795,7 +795,7 @@ const Sa = {
795
795
  "sub-title": He.value,
796
796
  "cancel-button-text": Ie.value,
797
797
  "confirm-button-text": H.value,
798
- "is-pending": n(f) || n(L),
798
+ "is-pending": n(g) || n(L),
799
799
  panes: n(Da),
800
800
  step: r.value,
801
801
  "add-payment-method-pane": "ADD_PAYMENT_METHOD",
@@ -811,13 +811,13 @@ const Sa = {
811
811
  ORDER: c(() => [
812
812
  O.value ? (i(), h(n(Ca), {
813
813
  key: 0,
814
- selection: g.value,
815
- "onUpdate:selection": l[0] || (l[0] = (w) => g.value = w),
814
+ selection: f.value,
815
+ "onUpdate:selection": l[0] || (l[0] = (w) => f.value = w),
816
816
  "payment-method-id": I.value,
817
817
  "onUpdate:paymentMethodId": l[1] || (l[1] = (w) => I.value = w),
818
818
  class: "sv-charge-on-demand-modal__form",
819
819
  items: e.items,
820
- preview: n(ge),
820
+ preview: n(fe),
821
821
  "is-preview-loading": n(j),
822
822
  "payment-methods": N.value,
823
823
  errors: Ve.value,
@@ -864,11 +864,10 @@ const Sa = {
864
864
  ]),
865
865
  footer: c(() => [
866
866
  K.value ? (i(), C("div", Sa, [
867
- de.value ? (i(), h(n(P), {
867
+ oe.value ? (i(), h(n(P), {
868
868
  key: 0,
869
869
  size: "lg",
870
870
  class: "sv-action sv-action--primary",
871
- "data-testid": "charge-on-demand-view-invoice",
872
871
  onClick: se
873
872
  }, {
874
873
  default: c(() => [
@@ -878,12 +877,11 @@ const Sa = {
878
877
  })) : M("", !0),
879
878
  b(n(P), {
880
879
  size: "lg",
881
- intent: de.value ? "subtle" : "primary",
880
+ intent: oe.value ? "subtle" : "primary",
882
881
  class: G([
883
882
  "sv-action",
884
- de.value ? "sv-action--secondary" : "sv-action--primary"
883
+ oe.value ? "sv-action--secondary" : "sv-action--primary"
885
884
  ]),
886
- "data-testid": "charge-on-demand-done",
887
885
  onClick: ne
888
886
  }, {
889
887
  default: c(() => [
@@ -896,7 +894,6 @@ const Sa = {
896
894
  size: "lg",
897
895
  intent: "subtle",
898
896
  class: "sv-action sv-action--secondary",
899
- "data-testid": "charge-on-demand-view-invoice",
900
897
  onClick: se
901
898
  }, {
902
899
  default: c(() => [
@@ -905,11 +902,10 @@ const Sa = {
905
902
  _: 1
906
903
  })) : M("", !0)
907
904
  ])) : ye.value ? (i(), C("div", La, [
908
- oe.value ? (i(), h(n(P), {
905
+ de.value ? (i(), h(n(P), {
909
906
  key: 0,
910
907
  size: "lg",
911
908
  class: "sv-action sv-action--primary",
912
- "data-testid": "charge-on-demand-view-invoice",
913
909
  onClick: se
914
910
  }, {
915
911
  default: c(() => [
@@ -919,12 +915,11 @@ const Sa = {
919
915
  })) : M("", !0),
920
916
  b(n(P), {
921
917
  size: "lg",
922
- intent: oe.value ? "subtle" : "primary",
918
+ intent: de.value ? "subtle" : "primary",
923
919
  class: G([
924
920
  "sv-action",
925
- oe.value ? "sv-action--secondary" : "sv-action--primary"
921
+ de.value ? "sv-action--secondary" : "sv-action--primary"
926
922
  ]),
927
- "data-testid": "charge-on-demand-close",
928
923
  onClick: re
929
924
  }, {
930
925
  default: c(() => [
@@ -937,8 +932,7 @@ const Sa = {
937
932
  key: 0,
938
933
  size: "lg",
939
934
  class: "sv-action sv-action--primary",
940
- "data-testid": "charge-on-demand-save-payment-method",
941
- loading: n(f),
935
+ loading: n(g),
942
936
  onClick: te
943
937
  }, {
944
938
  default: c(() => [
@@ -949,7 +943,6 @@ const Sa = {
949
943
  key: 1,
950
944
  size: "lg",
951
945
  class: "sv-action sv-action--primary",
952
- "data-testid": "charge-on-demand-confirm",
953
946
  disabled: !be.value && !ae.value,
954
947
  loading: n(L),
955
948
  onClick: te
@@ -963,7 +956,6 @@ const Sa = {
963
956
  size: "lg",
964
957
  intent: "subtle",
965
958
  class: "sv-action sv-action--secondary",
966
- "data-testid": "charge-on-demand-cancel",
967
959
  disabled: n(L),
968
960
  onClick: re
969
961
  }, {