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

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 (286) hide show
  1. package/README.md +14 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js} +1 -1
  4. package/dist/{Avatar.vue.es-nr8srGuK.js → Avatar.vue.es-Bm6MCMAL.js} +1 -1
  5. package/dist/{Avatar.vue.es-DzjFvLuK.mjs → Avatar.vue.es-BqQHvLGA.mjs} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js → BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js} +1 -1
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs} +8 -8
  8. package/dist/{Button.vue.es-PbJFK8z7.mjs → Button.vue.es-C32_baQN.mjs} +1 -1
  9. package/dist/{Button.vue.es-TCF-bvDF.js → Button.vue.es-qGvnOKnK.js} +1 -1
  10. package/dist/ChargeOnDemandModal-CIiI74ls.mjs +983 -0
  11. package/dist/ChargeOnDemandModal-DIQaGnRs.js +1 -0
  12. package/dist/Checkout.entry.ce-8EcavNgT.js +2 -0
  13. package/dist/{Checkout.entry.ce-DHFx5Vnb.mjs → Checkout.entry.ce-BA5ljKj8.mjs} +1562 -1538
  14. package/dist/{Chip.vue.es-DpcOM3Ai.mjs → Chip.vue.es-CKCOY5T6.mjs} +2 -2
  15. package/dist/{Chip.vue.es-CAoisngJ.js → Chip.vue.es-D60gTbfe.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-kzZ3JJHG.js → ContextMenu.vue.es-C7KI8Gz6.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-tAuFp-6i.mjs → ContextMenu.vue.es-Da-lAmTl.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-BQSl9q6W.mjs → CustomerBillingInformation.vue.es-BxBQt4Q0.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-Nac6HgLo.js → CustomerBillingInformation.vue.es-bFUx81Ig.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs} +6 -6
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs} +908 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +1 -0
  24. package/dist/{DividerText.vue.es-LJ2kZakb.js → DividerText.vue.es-BF3gnr4e.js} +1 -1
  25. package/dist/{DividerText.vue.es-CSE7a-T0.mjs → DividerText.vue.es-DKl3FnDJ.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-BF6swP7o.js → ErrorNotification.vue.es-BX9dHEc-.js} +1 -1
  29. package/dist/{ErrorNotification.vue.es-CVUuIt8Z.mjs → ErrorNotification.vue.es-rRKgmkzV.mjs} +1 -1
  30. package/dist/{IconButton.vue.es-CB1lIPao.js → IconButton.vue.es-Bwdfu-jm.js} +1 -1
  31. package/dist/{IconButton.vue.es-DGflbWFk.mjs → IconButton.vue.es-UlqwNPAX.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-BsdjyGlQ.mjs → IconTitle.vue.es-CK9k69tV.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-CMO8EyQl.js → IconTitle.vue.es-Cei98MBw.js} +1 -1
  34. package/dist/{Input.vue.es-CREdT4nB.js → Input.vue.es-B47l_feL.js} +1 -1
  35. package/dist/{Input.vue.es-BFbiFXsU.mjs → Input.vue.es-D9IjIWc-.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs} +2 -2
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js} +1 -1
  40. package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-JtOIQ6SJ.mjs → InvoiceSummary.vue.es-DQ4KvTaw.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BbdtdxsO.js → Modal.vue.es-8LN4gBh0.js} +1 -1
  43. package/dist/{Modal.vue.es-jT61xK_A.mjs → Modal.vue.es-B9xMiyn3.mjs} +5 -5
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs} +4 -4
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-quvnCSFV.mjs → PaymentHistoryBlock-DYa99P1M.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-Dw2wOiAI.js → PaymentHistoryBlock-Ds93gNvh.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-D1oJREmH.js → PaymentIntegrationForm-B_Db4DG1.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-CQjUZi22.mjs → PaymentIntegrationForm-UWoyZgsR.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +154 -0
  56. package/dist/{PaymentIntegrationFormAdyen-CyZk9ofV.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs} +217 -197
  57. package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +98 -0
  58. package/dist/{PaymentIntegrationFormStripe-D-GaLHwc.mjs → PaymentIntegrationFormStripe-BIiMCWlV.mjs} +247 -220
  59. package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +102 -0
  60. package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +1 -0
  61. package/dist/{PaymentMethod.vue.es-C0j580g7.mjs → PaymentMethod.vue.es-CKu5nApX.mjs} +168 -148
  62. package/dist/{PaymentMethodForm-CDV5LR8i.js → PaymentMethodForm-1d0YIGOu.js} +1 -1
  63. package/dist/{PaymentMethodForm-Bf2Ps6eV.mjs → PaymentMethodForm-B05sHWcW.mjs} +1 -1
  64. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +1 -0
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs} +45 -41
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-CEMP_Dhz.js +1 -0
  69. package/dist/PlanCustomizationEditor-CpZeilm5.mjs +694 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-CP7-dmxS.mjs → PricingGroupRangeInput.vue.es-CJpvUP3-.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-BchXhunH.js → PricingGroupRangeInput.vue.es-DZSJ5Mz0.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-_QMReyZ8.mjs → RadioGroupExtended.vue.es-BalV7gwp.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-Cf5R1P9a.js → RadioGroupExtended.vue.es-Dt6LH9Yh.js} +1 -1
  76. package/dist/{Section.vue.es-KRsHeFoT.mjs → Section.vue.es-D7eiXUbk.mjs} +1 -1
  77. package/dist/{Section.vue.es-CBZx5x53.js → Section.vue.es-zVXBHAL6.js} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +1 -0
  81. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs → Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs} +5 -5
  82. package/dist/StepInput.vue.es-C3Zm6Wc9.mjs +199 -0
  83. package/dist/StepInput.vue.es-mAnuCuDQ.js +1 -0
  84. package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +1 -0
  85. package/dist/SubscriptionDetails.entry.ce-WEimiOex.mjs +1057 -0
  86. package/dist/{SubscriptionSchedules-1ikoGncQ.js → SubscriptionSchedules-Cm5Dt-1H.js} +1 -1
  87. package/dist/{SubscriptionSchedules-B6b6xf-E.mjs → SubscriptionSchedules-DrrEAPlx.mjs} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs} +3 -3
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js} +1 -1
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs} +8 -8
  94. package/dist/{TooltipParagraph.vue.es-nGFfHF1A.mjs → TooltipParagraph.vue.es-BXbOJmjr.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-Cph6zT31.js +1 -0
  96. package/dist/{TrialChip.vue.es-DhC5Bpmy.js → TrialChip.vue.es-C_wgHGuN.js} +1 -1
  97. package/dist/{TrialChip.vue.es-eKgO6an3.mjs → TrialChip.vue.es-C_yRujip.mjs} +2 -2
  98. package/dist/{cn.es-BD7Afj5Q.mjs → cn.es-CGa6b2Lt.mjs} +2 -2
  99. package/dist/{cn.es-BLE3T5Rx.js → cn.es-D9YMDvG2.js} +1 -1
  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 +246 -230
  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 +201 -212
  108. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  109. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  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 +4 -4
  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-CSzbVZIH.js → customElements-C963-LtW.js} +36 -32
  125. package/dist/{customElements-DT1YyL4O.mjs → customElements-D5DAoHRI.mjs} +231 -196
  126. package/dist/{customer-Cq4fF__H.mjs → customer-DKa1B2vp.mjs} +4 -4
  127. package/dist/{customer-CJonIvSm.js → customer-TE1FnGT0.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-CyvjSD9b.mjs → de-DE-CLfzTbbX.mjs} +39 -6
  130. package/dist/de-DE-DaBBl-Ak.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-BNevqm0M.js +1 -0
  133. package/dist/{en-US-xQrWj8qI.mjs → en-US-D6SGRAch.mjs} +39 -6
  134. package/dist/en-US-J85TQRI8.js +1 -0
  135. package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
  136. package/dist/formControl-ODrpUvcA.js +1 -0
  137. package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
  138. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
  139. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
  140. package/dist/index.cjs +1 -1
  141. package/dist/index.mjs +4 -4
  142. package/dist/{invoices-EamWI_jz.js → invoices-ClqTWYF9.js} +1 -1
  143. package/dist/{invoices-CVZOfEOY.mjs → invoices-DJTwftJv.mjs} +1 -1
  144. package/dist/it-IT-BkPbTueL.js +1 -0
  145. package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
  146. package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
  147. package/dist/{it-IT-C09oObBM.mjs → it-IT-Cym1UvvK.mjs} +39 -6
  148. package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
  149. package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
  150. package/dist/{nl-NL-BhNND_yi.mjs → nl-NL-D0c4x5C0.mjs} +39 -6
  151. package/dist/nl-NL-jIfAVGv0.js +1 -0
  152. package/dist/paymentMethods-AL2U_byg.js +1 -0
  153. package/dist/{paymentMethods-By1SebnO.mjs → paymentMethods-CWzJhcWK.mjs} +16 -14
  154. package/dist/{payments-Dnjg9Se4.js → payments-BmiHMlQt.js} +1 -1
  155. package/dist/{payments-BYZLQTJ-.mjs → payments-aXyfylwk.mjs} +6 -6
  156. package/dist/pricing.es-C07bgEZx.js +1 -0
  157. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  158. package/dist/pricingPlanSchedules-BD4GIP_F.mjs +32 -0
  159. package/dist/pricingPlanSchedules-BfsMSvN0.js +1 -0
  160. package/dist/screens/Checkout/Checkout.cjs +1 -1
  161. package/dist/screens/Checkout/Checkout.mjs +2 -2
  162. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  163. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  164. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  165. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  166. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  167. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  168. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  169. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  170. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  171. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  172. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  173. package/dist/{subscriptions-BKER9RUc.js → subscriptions-Cm83ckfl.js} +1 -1
  174. package/dist/{subscriptions-Gj3KgCZz.mjs → subscriptions-cnR5fnf7.mjs} +1 -1
  175. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  176. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  177. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  178. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  179. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  180. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  181. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  182. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  183. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  184. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  187. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  190. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  192. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  193. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  194. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  195. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  196. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  197. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  198. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  199. package/dist/types/services/requests.types.d.ts +5 -0
  200. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  201. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  202. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  203. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  204. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  205. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  225. package/dist/{useActionDispatchProvider-DDHrhy3i.js → useActionDispatchProvider-CHkVQMaE.js} +1 -1
  226. package/dist/{useActionDispatchProvider-MjTckd4f.mjs → useActionDispatchProvider-DDYqIh3r.mjs} +1 -1
  227. package/dist/{useCustomer-BW0DBEJh.js → useCustomer-DGYtowRy.js} +1 -1
  228. package/dist/{useCustomer-CxnF7r8Z.mjs → useCustomer-XZKWsolE.mjs} +1 -1
  229. package/dist/{useCustomerFormLabels-zPc8QrwJ.mjs → useCustomerFormLabels-CcnkJLcB.mjs} +6 -6
  230. package/dist/useCustomerFormLabels-DAZziqYt.js +1 -0
  231. package/dist/{useExperimentalFeature-9teNYGuP.js → useExperimentalFeature-COOU6IZd.js} +1 -1
  232. package/dist/{useExperimentalFeature-NsSDg-e3.mjs → useExperimentalFeature-ierhOt9Q.mjs} +1 -1
  233. package/dist/{useInvoiceData-GQwk6fl4.mjs → useInvoiceData-BEK-7msA.mjs} +3 -3
  234. package/dist/{useInvoiceData-DvV2AsgC.js → useInvoiceData-CQRn8l9C.js} +1 -1
  235. package/dist/{useInvoicesList-Xnth6s6U.js → useInvoicesList-BQkKyyXa.js} +1 -1
  236. package/dist/{useInvoicesList-CGmFSQSg.mjs → useInvoicesList-C4I118KM.mjs} +7 -7
  237. package/dist/{useLoadInitialData-BvvaWeAe.mjs → useLoadInitialData-CR0kbYw8.mjs} +1 -1
  238. package/dist/{useLoadInitialData-Cjkc70u-.js → useLoadInitialData-CrKnBZs_.js} +1 -1
  239. package/dist/{usePaymentMethodAvailability-DKyscbom.js → usePaymentMethodAvailability-Ci6LeYKt.js} +1 -1
  240. package/dist/{usePaymentMethodAvailability-BWaaj3N3.mjs → usePaymentMethodAvailability-ZH-m3B-A.mjs} +12 -12
  241. package/dist/{usePaymentMethodOptions-l-wVAmIW.mjs → usePaymentMethodOptions-Ciifjo6c.mjs} +15 -13
  242. package/dist/usePaymentMethodOptions-Cqe92ZBn.js +1 -0
  243. package/dist/{usePaymentMethods-DvQVnsSV.mjs → usePaymentMethods-B-OKRyKd.mjs} +1 -1
  244. package/dist/{usePaymentMethods-BDFVB-kK.js → usePaymentMethods-BKwrl82-.js} +1 -1
  245. package/dist/usePayments-Bauj16B-.js +1 -0
  246. package/dist/{usePayments-D_dyuf6S.mjs → usePayments-CV85OV8V.mjs} +46 -41
  247. package/dist/{usePortal-BU4ibdWq.js → usePortal-DSLImEfr.js} +1 -1
  248. package/dist/{usePortal-Br5lYuPT.mjs → usePortal-H8Tv2TnZ.mjs} +1 -1
  249. package/dist/{useSubscription-DRBUt9H5.js → useSubscription-BiYNJT2e.js} +1 -1
  250. package/dist/{useSubscription-CqRae2I9.mjs → useSubscription-DqnxWNKg.mjs} +1 -1
  251. package/dist/{useTimePeriod.es-BxIGnCAP.mjs → useTimePeriod.es-B22-fno3.mjs} +1 -1
  252. package/dist/{useTimePeriod.es-DDos3-EH.js → useTimePeriod.es-D2aiyfd-.js} +1 -1
  253. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  254. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  255. package/package.json +11 -8
  256. package/dist/Checkout.entry.ce-D8O4qJ24.js +0 -2
  257. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +0 -1
  258. package/dist/InvoiceSummary.vue.es-BOnvORpf.js +0 -1
  259. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +0 -1
  260. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs +0 -141
  261. package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +0 -98
  262. package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +0 -102
  263. package/dist/PaymentMethod.vue.es-CXV_ThBY.js +0 -1
  264. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js +0 -1
  265. package/dist/PlanCustomizationEditor-0kEXoOcM.js +0 -1
  266. package/dist/PlanCustomizationEditor-Dv69xPbX.mjs +0 -877
  267. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs +0 -131
  268. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js +0 -1
  269. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  270. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +0 -1
  271. package/dist/TooltipParagraph.vue.es-7IQdU3Tf.js +0 -1
  272. package/dist/de-DE-DXsDvO5y.js +0 -1
  273. package/dist/en-US-9xdcz3T5.js +0 -1
  274. package/dist/en-US-DHdI11k9.js +0 -1
  275. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  276. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  277. package/dist/index-DwueOtPi.js +0 -1
  278. package/dist/it-IT-CcRIzP1A.js +0 -1
  279. package/dist/nl-NL-5PrgQl8q.js +0 -1
  280. package/dist/paymentMethods-Bwym8l9a.js +0 -1
  281. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  282. package/dist/useCustomerFormLabels-C773h3J0.js +0 -1
  283. package/dist/usePaymentMethodOptions-DuXKS36F.js +0 -1
  284. package/dist/usePayments-CIJocDhR.js +0 -1
  285. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  286. package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
@@ -1,97 +1,70 @@
1
- import { ref as S, defineComponent as I, useModel as H, computed as _, watch as F, openBlock as m, createElementBlock as z, withModifiers as ce, createElementVNode as A, createVNode as h, unref as e, mergeModels as J, inject as le, createBlock as f, withCtx as b, renderSlot as de, createTextVNode as T, toDisplayString as C, createCommentVNode as R, Fragment as me } from "vue";
2
- import { _ as K } from "../../Button.vue.es-PbJFK8z7.mjs";
3
- import { _ as Q } from "../../ErrorNotification.vue.es-CVUuIt8Z.mjs";
4
- import { b as X, g as ue, c as pe, a as ge, u as E, h as fe, i as be, _ as Z, d as ve, e as he } from "../../customElements-DT1YyL4O.mjs";
5
- import { C as _e } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
6
- import { u as ye } from "../../useActionDispatchProvider-MjTckd4f.mjs";
7
- import { u as we } from "../../usePortal-Br5lYuPT.mjs";
8
- import { u as Se } from "../../useSubscription-CqRae2I9.mjs";
9
- import { u as Pe } from "../../useCustomer-CxnF7r8Z.mjs";
10
- import { u as Me } from "../../usePaymentMethods-DvQVnsSV.mjs";
11
- import { u as Ie } from "../../usePaymentMethodOptions-l-wVAmIW.mjs";
12
- import { u as $e } from "../../useLoadInitialData-BvvaWeAe.mjs";
13
- import { c as Oe } from "../../invoices-CVZOfEOY.mjs";
14
- import { b as ke, c as Ce, d as Ae } from "../../pricingPlanSchedule-BPrS2WRd.mjs";
15
- import { a as Ee } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs";
16
- import { _ as Le } from "../../Divider.vue.es-DnP_HqLz.mjs";
17
- import { _ as xe } from "../../PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs";
18
- import { _ as je, a as Ne } from "../../AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs";
19
- import { a as Te } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs";
20
- import { _ as Ue } from "../../Section.vue.es-KRsHeFoT.mjs";
21
- import { _ as ee } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
22
- import { _ as Be } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs";
23
- import { M as Ve } from "../../Modal.vue.es-jT61xK_A.mjs";
24
- import { a as De } from "../../sessionReference-3h-6FdrC.mjs";
25
- function Ge() {
26
- const { getInvoicePreview: t } = Oe(), a = X(), n = S(), s = S(!1), c = S(), p = ue();
27
- return { invoice: n, isPending: s, error: c, load: async ({
28
- subscription: l,
29
- enabledPricingIds: v
1
+ import { ref as S, defineComponent as M, useModel as H, computed as _, watch as F, openBlock as m, createElementBlock as z, withModifiers as ce, createElementVNode as C, createVNode as h, unref as e, mergeModels as K, inject as le, createBlock as g, withCtx as f, renderSlot as de, createTextVNode as T, toDisplayString as A, createCommentVNode as R, Fragment as me } from "vue";
2
+ import { _ as J } from "../../Button.vue.es-C32_baQN.mjs";
3
+ import { _ as Q } from "../../ErrorNotification.vue.es-rRKgmkzV.mjs";
4
+ import { b as X, g as ue, a as E, h as pe, i as ge, _ as Z, d as fe, e as ve } from "../../customElements-D5DAoHRI.mjs";
5
+ import { C as be } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
6
+ import { u as he } from "../../useActionDispatchProvider-DDYqIh3r.mjs";
7
+ import { u as _e } from "../../usePortal-H8Tv2TnZ.mjs";
8
+ import { u as ye } from "../../useSubscription-DqnxWNKg.mjs";
9
+ import { u as we } from "../../useCustomer-XZKWsolE.mjs";
10
+ import { u as Se } from "../../usePaymentMethods-B-OKRyKd.mjs";
11
+ import { u as Pe } from "../../usePaymentMethodOptions-Ciifjo6c.mjs";
12
+ import { u as Ie } from "../../useLoadInitialData-CR0kbYw8.mjs";
13
+ import { c as Me } from "../../invoices-DJTwftJv.mjs";
14
+ import { b as $e, c as ke, d as Oe } from "../../pricingPlanSchedule-BPrS2WRd.mjs";
15
+ import { c as Ae } from "../../pricingPlanSchedules-BD4GIP_F.mjs";
16
+ import { a as Ce } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs";
17
+ import { _ as Ee } from "../../Divider.vue.es-DnP_HqLz.mjs";
18
+ import { _ as Le } from "../../PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs";
19
+ import { _ as xe, a as je } from "../../AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs";
20
+ import { a as Ne } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs";
21
+ import { _ as Te } from "../../Section.vue.es-D7eiXUbk.mjs";
22
+ import { _ as ee } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs";
23
+ import { _ as Be } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs";
24
+ import { M as Ue } from "../../Modal.vue.es-B9xMiyn3.mjs";
25
+ import { a as Ge } from "../../sessionReference-3h-6FdrC.mjs";
26
+ function Ve() {
27
+ const { getInvoicePreview: n } = Me(), l = X(), t = S(), c = S(!1), d = S(), v = ue();
28
+ return { invoice: t, isPending: c, error: d, load: async ({
29
+ subscription: o,
30
+ enabledPricingIds: b
30
31
  }) => {
31
- const o = ke({
32
- enabledPricings: v.map((u) => ({ pricing_id: u })),
33
- pricingPlanScheduleInfos: l.pricing_plan_schedule_infos
32
+ const a = $e({
33
+ enabledPricings: b.map((u) => ({ pricing_id: u })),
34
+ pricingPlanScheduleInfos: o.pricing_plan_schedule_infos
34
35
  });
35
- if (!o) {
36
- n.value = void 0;
36
+ if (!a) {
37
+ t.value = void 0;
37
38
  return;
38
39
  }
39
- const i = p();
40
- s.value = !0, c.value = void 0;
40
+ const i = v();
41
+ c.value = !0, d.value = void 0;
41
42
  try {
42
- const u = await t({
43
+ const u = await n({
43
44
  // The subscription is running already, so it is priced as itself rather than as the
44
45
  // template for a new one — and the customer it is invoiced to is known.
45
46
  forExistingSubscription: !0,
46
- pricingPlanSubscriptionId: l.id,
47
- customizations: o
47
+ pricingPlanSubscriptionId: o.id,
48
+ customizations: a
48
49
  });
49
50
  if (!i()) return;
50
- n.value = u.invoice;
51
+ t.value = u.invoice;
51
52
  } catch (u) {
52
53
  if (!i()) return;
53
- a.error(
54
+ l.error(
54
55
  "INVOICE_PREVIEW_FAILED",
55
- "Failed to preview the subscription upgrade",
56
- {},
56
+ "Failed to load the invoice preview",
57
+ { preview: "SUBSCRIPTION_UPGRADE" },
57
58
  u
58
- ), c.value = u, n.value = void 0;
59
+ ), d.value = u, t.value = void 0;
59
60
  } finally {
60
- i() && (s.value = !1);
61
+ i() && (c.value = !1);
61
62
  }
62
63
  } };
63
64
  }
64
- function Fe() {
65
- const t = pe(), a = ge();
66
- function n({
67
- scheduleId: c
68
- }) {
69
- return t({
70
- url: `${a.apiUrls.config}/portal/pricing-plan-schedules/${c}/on-demand-pricing-items`
71
- });
72
- }
73
- function s({
74
- pricingPlanSubscriptionId: c,
75
- enabledPricings: p
76
- }) {
77
- return t({
78
- url: `${a.apiUrls.config}/portal/pricing-plan-schedules`,
79
- options: { method: "POST" },
80
- data: {
81
- pricing_plan_subscription_id: c,
82
- enabled_pricings: p,
83
- start_at: (/* @__PURE__ */ new Date()).toJSON()
84
- }
85
- });
86
- }
87
- return {
88
- getOnDemandPricingItems: n,
89
- createPricingPlanSchedule: s
90
- };
91
- }
92
- const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-4" }, ze = /* @__PURE__ */ I({
65
+ const De = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-4" }, Fe = /* @__PURE__ */ M({
93
66
  __name: "SubscriptionManagementForm",
94
- props: /* @__PURE__ */ J({
67
+ props: /* @__PURE__ */ K({
95
68
  pricingGroup: { type: Object },
96
69
  paymentMethods: { type: Array },
97
70
  paymentMethodOptions: { type: Array },
@@ -104,136 +77,136 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
104
77
  paymentMethodId: {},
105
78
  paymentMethodIdModifiers: {}
106
79
  }),
107
- emits: /* @__PURE__ */ J(["add-payment-method"], ["update:enabledPricingIds", "update:paymentMethodId"]),
108
- setup(t, { emit: a }) {
109
- const n = t, s = a, c = H(t, "enabledPricingIds"), p = H(t, "paymentMethodId"), { $t: y } = E(), l = (o) => {
110
- const i = o ? Date.parse(o) : NaN;
80
+ emits: /* @__PURE__ */ K(["add-payment-method"], ["update:enabledPricingIds", "update:paymentMethodId"]),
81
+ setup(n, { emit: l }) {
82
+ const t = n, c = l, d = H(n, "enabledPricingIds"), v = H(n, "paymentMethodId"), { $t: y } = E(), o = (a) => {
83
+ const i = a ? Date.parse(a) : NaN;
111
84
  return Number.isFinite(i) ? i : 0;
112
- }, v = _(
113
- () => [...n.paymentMethods ?? []].sort((o, i) => l(i.created_at) - l(o.created_at))
85
+ }, b = _(
86
+ () => [...t.paymentMethods ?? []].sort((a, i) => o(i.created_at) - o(a.created_at))
114
87
  );
115
88
  return F(
116
- () => n.paymentMethods,
117
- (o, i) => {
89
+ () => t.paymentMethods,
90
+ (a, i) => {
118
91
  var L;
119
- const u = o == null ? void 0 : o.find(
120
- ({ id: P }) => !(i != null && i.some((U) => U.id === P))
92
+ const u = a == null ? void 0 : a.find(
93
+ ({ id: P }) => !(i != null && i.some((B) => B.id === P))
121
94
  );
122
95
  if (u && (i != null && i.length)) {
123
- p.value = u.id;
96
+ v.value = u.id;
124
97
  return;
125
98
  }
126
- o != null && o.some(({ id: P }) => P === p.value) || (p.value = (L = (o == null ? void 0 : o.find(({ is_default: P }) => P)) ?? v.value[0]) == null ? void 0 : L.id);
99
+ a != null && a.some(({ id: P }) => P === v.value) || (v.value = (L = (a == null ? void 0 : a.find(({ is_default: P }) => P)) ?? b.value[0]) == null ? void 0 : L.id);
127
100
  },
128
101
  { immediate: !0 }
129
- ), (o, i) => (m(), z("form", {
102
+ ), (a, i) => (m(), z("form", {
130
103
  class: "sv-subscription-management-form",
131
104
  onSubmit: i[3] || (i[3] = ce(() => {
132
105
  }, ["prevent"]))
133
106
  }, [
134
- A("div", Re, [
135
- h(xe, {
136
- modelValue: c.value,
137
- "onUpdate:modelValue": i[0] || (i[0] = (u) => c.value = u),
107
+ C("div", De, [
108
+ h(Le, {
109
+ modelValue: d.value,
110
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => d.value = u),
138
111
  class: "sv-subscription-management-form__pricing-group",
139
- "group-name": t.pricingGroup.name,
140
- pricings: t.pricingGroup.pricings,
141
- "billing-period": t.billingPeriod,
142
- currency: t.currency
112
+ "group-name": n.pricingGroup.name,
113
+ pricings: n.pricingGroup.pricings,
114
+ "billing-period": n.billingPeriod,
115
+ currency: n.currency
143
116
  }, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"]),
144
- A("div", null, [
145
- h(e(Le), { spacing: "xs" })
117
+ C("div", null, [
118
+ h(e(Ee), { spacing: "xs" })
146
119
  ]),
147
- h(je, {
148
- modelValue: p.value,
149
- "onUpdate:modelValue": i[1] || (i[1] = (u) => p.value = u),
120
+ h(xe, {
121
+ modelValue: v.value,
122
+ "onUpdate:modelValue": i[1] || (i[1] = (u) => v.value = u),
150
123
  class: "sv-subscription-management-form__payment-methods",
151
- "payment-methods": v.value,
152
- "payment-method-options": t.paymentMethodOptions,
124
+ "payment-methods": b.value,
125
+ "payment-method-options": n.paymentMethodOptions,
153
126
  required: "",
154
- disabled: t.disabled,
127
+ disabled: n.disabled,
155
128
  label: e(y)({
156
129
  defaultMessage: "Payment method",
157
130
  id: "subscription_management.payment_method_selector.label",
158
131
  description: "Label above the payment method that pays for the subscription change"
159
132
  }),
160
- onAddPaymentMethod: i[2] || (i[2] = (u) => s("add-payment-method"))
133
+ onAddPaymentMethod: i[2] || (i[2] = (u) => c("add-payment-method"))
161
134
  }, null, 8, ["modelValue", "payment-methods", "payment-method-options", "disabled", "label"])
162
135
  ])
163
136
  ], 32));
164
137
  }
165
- }), qe = /* @__PURE__ */ I({
138
+ }), Re = /* @__PURE__ */ M({
166
139
  __name: "TranslationOverride",
167
140
  props: {
168
141
  messages: { type: Object }
169
142
  },
170
- setup(t) {
171
- const a = t, n = le(fe, void 0), s = _(() => ({
172
- ...n == null ? void 0 : n.messages.value,
173
- ...a.messages
143
+ setup(n) {
144
+ const l = n, t = le(pe, void 0), c = _(() => ({
145
+ ...t == null ? void 0 : t.messages.value,
146
+ ...l.messages
174
147
  }));
175
- return (c, p) => {
176
- var y, l;
177
- return m(), f(e(be), {
178
- locale: (y = e(n)) == null ? void 0 : y.locale.value,
179
- "date-locale": (l = e(n)) == null ? void 0 : l.dateLocale.value,
180
- messages: s.value,
148
+ return (d, v) => {
149
+ var y, o;
150
+ return m(), g(e(ge), {
151
+ locale: (y = e(t)) == null ? void 0 : y.locale.value,
152
+ "date-locale": (o = e(t)) == null ? void 0 : o.dateLocale.value,
153
+ messages: c.value,
181
154
  "show-timezones": !1
182
155
  }, {
183
- default: b(() => [
184
- de(c.$slots, "default")
156
+ default: f(() => [
157
+ de(d.$slots, "default")
185
158
  ]),
186
159
  _: 3
187
160
  }, 8, ["locale", "date-locale", "messages"]);
188
161
  };
189
162
  }
190
- }), Ye = /* @__PURE__ */ I({
163
+ }), ze = /* @__PURE__ */ M({
191
164
  __name: "SubscriptionManagementSummary",
192
165
  props: {
193
166
  invoice: { type: Object },
194
167
  isPending: { type: Boolean },
195
168
  hasError: { type: Boolean }
196
169
  },
197
- setup(t) {
198
- const { $t: a } = E(), n = _(() => ({
199
- "invoice_preview.total_due_today_heading": a({
170
+ setup(n) {
171
+ const { $t: l } = E(), t = _(() => ({
172
+ "invoice_preview.total_due_today_heading": l({
200
173
  defaultMessage: "Total due",
201
174
  id: "subscription_management.summary.total_due_heading",
202
175
  description: 'Heading above the total of the invoice previewing a subscription change, replacing the shared preview’s "Total due today"'
203
176
  })
204
177
  }));
205
- return (s, c) => (m(), f(e(Ue), {
178
+ return (c, d) => (m(), g(e(Te), {
206
179
  class: "sv-subscription-management-summary",
207
- title: e(a)({
180
+ title: e(l)({
208
181
  defaultMessage: "Order summary",
209
182
  id: "subscription_management.summary.title",
210
183
  description: "Title of the block previewing what a subscription change is invoiced for"
211
184
  })
212
185
  }, {
213
- default: b(() => [
214
- t.hasError ? (m(), f(e(Q), {
186
+ default: f(() => [
187
+ n.hasError ? (m(), g(e(Q), {
215
188
  key: 0,
216
189
  class: "sv-subscription-management-summary__error sv-error",
217
- title: e(a)({
190
+ title: e(l)({
218
191
  defaultMessage: "Unable to calculate the total. Please try again.",
219
192
  id: "subscription_management.summary.error",
220
193
  description: "Error shown when the invoice preview for a subscription change cannot be loaded"
221
194
  })
222
- }, null, 8, ["title"])) : t.isPending || !t.invoice ? (m(), f(ee, {
195
+ }, null, 8, ["title"])) : n.isPending || !n.invoice ? (m(), g(ee, {
223
196
  key: 1,
224
197
  variant: "section",
225
198
  class: "sv-subscription-management-summary__skeleton min-h-[120px]"
226
199
  }, {
227
- default: b(() => [
228
- t.isPending ? R("", !0) : (m(), f(e(Z), {
200
+ default: f(() => [
201
+ n.isPending ? R("", !0) : (m(), g(e(Z), {
229
202
  key: 0,
230
203
  variant: "body-sm",
231
204
  color: "subtle",
232
205
  tag: "div",
233
206
  class: "sv-subscription-management-summary__empty-state"
234
207
  }, {
235
- default: b(() => [
236
- T(C(e(a)({
208
+ default: f(() => [
209
+ T(A(e(l)({
237
210
  defaultMessage: "Select your plan to see what it costs.",
238
211
  id: "subscription_management.summary.empty_state",
239
212
  description: "Shown in the order summary before a plan has been picked to preview"
@@ -243,14 +216,14 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
243
216
  }))
244
217
  ]),
245
218
  _: 1
246
- })) : (m(), f(qe, {
219
+ })) : (m(), g(Re, {
247
220
  key: 2,
248
- messages: n.value
221
+ messages: t.value
249
222
  }, {
250
- default: b(() => [
251
- h(e(Te), {
223
+ default: f(() => [
224
+ h(e(Ne), {
252
225
  class: "sv-subscription-management-summary__invoice",
253
- invoice: t.invoice,
226
+ invoice: n.invoice,
254
227
  "is-customer-facing": ""
255
228
  }, null, 8, ["invoice"])
256
229
  ]),
@@ -260,45 +233,45 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
260
233
  _: 1
261
234
  }, 8, ["title"]));
262
235
  }
263
- }), We = { class: "sv-subscription-management-success grid grid-cols-1 gap-4" }, He = { class: "sv-subscription-management-success__message" }, Je = /* @__PURE__ */ I({
236
+ }), Ye = { class: "sv-subscription-management-success grid grid-cols-1 gap-4" }, qe = { class: "sv-subscription-management-success__message" }, We = /* @__PURE__ */ M({
264
237
  __name: "SubscriptionManagementSuccess",
265
238
  props: {
266
239
  pricingGroupName: { type: String }
267
240
  },
268
- setup(t) {
269
- const a = t, { $t: n } = E(), s = _(
270
- () => n({
241
+ setup(n) {
242
+ const l = n, { $t: t } = E(), c = _(
243
+ () => t({
271
244
  defaultMessage: "Subscription updated",
272
245
  description: "Title shown on the manage subscription screen once the change is committed",
273
246
  id: "subscription_management.success.title"
274
247
  })
275
- ), c = _(
276
- () => a.pricingGroupName ? n(
248
+ ), d = _(
249
+ () => l.pricingGroupName ? t(
277
250
  {
278
251
  defaultMessage: "Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
279
252
  description: "Confirmation of the pricing group a committed subscription change applied to",
280
253
  id: "subscription_management.success.message"
281
254
  },
282
- { subject: a.pricingGroupName }
283
- ) : n({
255
+ { subject: l.pricingGroupName }
256
+ ) : t({
284
257
  defaultMessage: "Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
285
258
  description: "Confirmation of a committed subscription change when the pricing group is not known",
286
259
  id: "subscription_management.success.message_generic"
287
260
  })
288
261
  );
289
- return (p, y) => (m(), z("div", We, [
262
+ return (v, y) => (m(), z("div", Ye, [
290
263
  h(Be, {
291
264
  status: "success",
292
- title: s.value
265
+ title: c.value
293
266
  }, {
294
- default: b(() => [
295
- A("span", He, C(c.value), 1)
267
+ default: f(() => [
268
+ C("span", qe, A(d.value), 1)
296
269
  ]),
297
270
  _: 1
298
271
  }, 8, ["title"])
299
272
  ]));
300
273
  }
301
- }), Ke = /* @__PURE__ */ I({
274
+ }), He = /* @__PURE__ */ M({
302
275
  __name: "AddPaymentMethodModal",
303
276
  props: {
304
277
  showModal: { type: Boolean },
@@ -307,102 +280,102 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
307
280
  isLoading: { type: Boolean }
308
281
  },
309
282
  emits: ["success", "failure", "close"],
310
- setup(t, { emit: a }) {
311
- const n = a, { $t: s } = E(), c = S(), p = _(() => {
312
- var l;
313
- return !!((l = c.value) != null && l.isSaving);
283
+ setup(n, { emit: l }) {
284
+ const t = l, { $t: c } = E(), d = S(), v = _(() => {
285
+ var o;
286
+ return !!((o = d.value) != null && o.isSaving);
314
287
  }), y = () => {
315
- var l;
316
- (l = c.value) == null || l.submit();
288
+ var o;
289
+ (o = d.value) == null || o.submit();
317
290
  };
318
- return (l, v) => (m(), f(e(Ve), {
291
+ return (o, b) => (m(), g(e(Ue), {
319
292
  "no-click-away": "",
320
293
  size: "lg",
321
- "show-modal": t.showModal,
322
- "is-loading": p.value,
323
- title: e(s)({
294
+ "show-modal": n.showModal,
295
+ "is-loading": v.value,
296
+ title: e(c)({
324
297
  defaultMessage: "Add payment method",
325
298
  id: "add_payment_method_modal.title",
326
299
  description: "Title of the modal for adding a payment method"
327
300
  }),
328
- "sub-title": e(s)({
301
+ "sub-title": e(c)({
329
302
  defaultMessage: "Add a new payment method to pay with.",
330
303
  id: "add_payment_method_modal.subtitle",
331
304
  description: "Subtitle of the modal for adding a payment method"
332
305
  }),
333
- "confirm-button-text": e(s)({
306
+ "confirm-button-text": e(c)({
334
307
  defaultMessage: "Save payment method",
335
308
  id: "add_payment_method_modal.confirm_button.label",
336
309
  description: "Label of the button that stores the payment method being added"
337
310
  }),
338
- "cancel-button-text": e(s)({
311
+ "cancel-button-text": e(c)({
339
312
  defaultMessage: "Cancel",
340
313
  id: "add_payment_method_modal.cancel_button.label",
341
314
  description: "Label of the button that abandons adding a payment method"
342
315
  }),
343
316
  onConfirm: y,
344
- onClose: v[2] || (v[2] = (o) => n("close"))
317
+ onClose: b[2] || (b[2] = (a) => t("close"))
345
318
  }, {
346
- body: b(() => [
347
- h(Ne, {
319
+ body: f(() => [
320
+ h(je, {
348
321
  ref_key: "addPaymentMethodRef",
349
- ref: c,
322
+ ref: d,
350
323
  class: "sv-add-payment-method-modal sv-add-payment-method-modal__form",
351
- customer: t.customer,
352
- "payment-method-options": t.paymentMethodOptions,
353
- "is-loading": t.isLoading,
354
- "is-active": t.showModal,
355
- onSuccess: v[0] || (v[0] = (o) => n("success")),
356
- onFailure: v[1] || (v[1] = (o) => n("failure", o))
324
+ customer: n.customer,
325
+ "payment-method-options": n.paymentMethodOptions,
326
+ "is-loading": n.isLoading,
327
+ "is-active": n.showModal,
328
+ onSuccess: b[0] || (b[0] = (a) => t("success")),
329
+ onFailure: b[1] || (b[1] = (a) => t("failure", a))
357
330
  }, null, 8, ["customer", "payment-method-options", "is-loading", "is-active"])
358
331
  ]),
359
332
  _: 1
360
333
  }, 8, ["show-modal", "is-loading", "title", "sub-title", "confirm-button-text", "cancel-button-text"]));
361
334
  }
362
- }), Qe = { class: "sv-subscription-management__header" }, Xe = { class: "flex flex-col gap-2" }, Ze = /* @__PURE__ */ I({
335
+ }), Ke = { class: "sv-subscription-management__header" }, Je = { class: "flex flex-col gap-2" }, Qe = /* @__PURE__ */ M({
363
336
  __name: "SubscriptionManagement",
364
337
  props: {
365
338
  configuration: { type: Object }
366
339
  },
367
- setup(t) {
368
- const a = t, { $t: n } = E(), s = we(), c = X(), { dispatchAction: p } = ye(), { createPricingPlanSchedule: y } = Fe(), { subscription: l, get: v } = Se({
369
- subscriptionId: a.configuration.subscriptionId
370
- }), { items: o, fetchAll: i } = Me({
371
- customerId: s.value.customer_id
372
- }), { customer: u, get: L } = Pe({ customerId: s.value.customer_id }), { paymentMethodOptions: P, get: U } = Ie(), { isLoading: B } = $e(
373
- v(),
340
+ setup(n) {
341
+ const l = n, { $t: t } = E(), c = _e(), d = X(), { dispatchAction: v } = he(), { createPricingPlanSchedule: y } = Ae(), { subscription: o, get: b } = ye({
342
+ subscriptionId: l.configuration.subscriptionId
343
+ }), { items: a, fetchAll: i } = Se({
344
+ customerId: c.value.customer_id
345
+ }), { customer: u, get: L } = we({ customerId: c.value.customer_id }), { paymentMethodOptions: P, get: B } = Pe(), { isLoading: U } = Ie(
346
+ b(),
374
347
  i(),
375
348
  L.execute(),
376
- U({ customerId: s.value.customer_id })
349
+ B({ customerId: c.value.customer_id })
377
350
  ), x = S(!1), te = async () => {
378
351
  await i(), x.value = !1;
379
- }, V = _(
352
+ }, G = _(
380
353
  () => {
381
- var r;
382
- return Ce(((r = l.value) == null ? void 0 : r.pricing_plan_schedule_infos) ?? []);
354
+ var s;
355
+ return ke(((s = o.value) == null ? void 0 : s.pricing_plan_schedule_infos) ?? []);
383
356
  }
384
- ), O = _(() => {
385
- var M;
386
- const r = V.value;
387
- if (!r)
357
+ ), k = _(() => {
358
+ var I;
359
+ const s = G.value;
360
+ if (!s)
388
361
  return;
389
- const { enabledPricingId: d } = a.configuration;
390
- return (d ? [d] : (((M = r.pricing_plan_schedule) == null ? void 0 : M.enabled_pricings) ?? []).map(
391
- ({ pricing_id: g }) => g
362
+ const { enabledPricingId: r } = l.configuration;
363
+ return (r ? [r] : (((I = s.pricing_plan_schedule) == null ? void 0 : I.enabled_pricings) ?? []).map(
364
+ ({ pricing_id: p }) => p
392
365
  )).map(
393
- (g) => Ae({ pricingPlanScheduleInfo: r, pricingId: g })
394
- ).find((g) => !!g);
366
+ (p) => Oe({ pricingPlanScheduleInfo: s, pricingId: p })
367
+ ).find((p) => !!p);
395
368
  }), ne = _(
396
369
  () => {
397
- var r;
398
- return n(
370
+ var s;
371
+ return t(
399
372
  {
400
373
  defaultMessage: "Manage {subject}",
401
374
  id: "subscription_management.title",
402
375
  description: "Title for the manage subscription page, naming the pricing group being changed"
403
376
  },
404
377
  {
405
- subject: ((r = O.value) == null ? void 0 : r.name) || n({
378
+ subject: ((s = k.value) == null ? void 0 : s.name) || t({
406
379
  defaultMessage: "subscription",
407
380
  id: "subscription_management.title.default_subject",
408
381
  description: 'Stands in for the pricing group name in the manage subscription title when no group is known, e.g. "Manage subscription"'
@@ -410,15 +383,15 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
410
383
  }
411
384
  );
412
385
  }
413
- ), $ = S([]), D = S();
386
+ ), $ = S([]), V = S();
414
387
  F(
415
- [V, O],
416
- ([r, d]) => {
388
+ [G, k],
389
+ ([s, r]) => {
417
390
  var W;
418
- const w = (((W = r == null ? void 0 : r.pricing_plan_schedule) == null ? void 0 : W.enabled_pricings) ?? []).map(
419
- ({ pricing_id: k }) => k
420
- ), { enabledPricingId: M } = a.configuration, g = ((d == null ? void 0 : d.pricings) ?? []).map(({ id: k }) => k);
421
- $.value = M && g.includes(M) ? [...w.filter((k) => !g.includes(k)), M] : w;
391
+ const w = (((W = s == null ? void 0 : s.pricing_plan_schedule) == null ? void 0 : W.enabled_pricings) ?? []).map(
392
+ ({ pricing_id: O }) => O
393
+ ), { enabledPricingId: I } = l.configuration, p = ((r == null ? void 0 : r.pricings) ?? []).map(({ id: O }) => O);
394
+ $.value = I && p.includes(I) ? [...w.filter((O) => !p.includes(O)), I] : w;
422
395
  },
423
396
  { immediate: !0 }
424
397
  );
@@ -427,36 +400,36 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
427
400
  isPending: ae,
428
401
  error: se,
429
402
  load: oe
430
- } = Ge();
403
+ } = Ve();
431
404
  F(
432
- [$, l],
433
- ([r, d]) => {
434
- !d || r.length === 0 || oe({
435
- subscription: d,
436
- enabledPricingIds: r
405
+ [$, o],
406
+ ([s, r]) => {
407
+ !r || s.length === 0 || oe({
408
+ subscription: r,
409
+ enabledPricingIds: s
437
410
  });
438
411
  },
439
412
  { immediate: !0 }
440
413
  );
441
- const j = S(!1), N = S(), G = S(!1), q = _(
442
- () => !B.value && !j.value && $.value.length > 0 && !!l.value && !!D.value
414
+ const j = S(!1), N = S(), D = S(!1), Y = _(
415
+ () => !U.value && !j.value && $.value.length > 0 && !!o.value && !!V.value
443
416
  ), re = async () => {
444
- if (!(!q.value || !l.value)) {
417
+ if (!(!Y.value || !o.value)) {
445
418
  j.value = !0, N.value = void 0;
446
419
  try {
447
420
  await y({
448
- pricingPlanSubscriptionId: l.value.id,
449
- enabledPricings: $.value.map((r) => ({
450
- pricing_id: r
421
+ pricingPlanSubscriptionId: o.value.id,
422
+ enabledPricings: $.value.map((s) => ({
423
+ pricing_id: s
451
424
  }))
452
- }), G.value = !0;
453
- } catch (r) {
454
- c.error(
425
+ }), D.value = !0;
426
+ } catch (s) {
427
+ d.error(
455
428
  "SUBSCRIPTION_UPDATE_FAILED",
456
429
  "Failed to start a new pricing plan schedule",
457
430
  {},
458
- r
459
- ), N.value = n({
431
+ s
432
+ ), N.value = t({
460
433
  defaultMessage: "Something went wrong. Please try again.",
461
434
  id: "subscription_management.update_error",
462
435
  description: "Error shown when committing a subscription change fails"
@@ -465,71 +438,71 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
465
438
  j.value = !1;
466
439
  }
467
440
  }
468
- }, Y = _(
441
+ }, q = _(
469
442
  () => {
470
- var r, d, w;
471
- return ((d = (r = V.value) == null ? void 0 : r.pricing_plan_schedule) == null ? void 0 : d.billing_period) ?? ((w = l.value) == null ? void 0 : w.billing_period);
443
+ var s, r, w;
444
+ return ((r = (s = G.value) == null ? void 0 : s.pricing_plan_schedule) == null ? void 0 : r.billing_period) ?? ((w = o.value) == null ? void 0 : w.billing_period);
472
445
  }
473
446
  );
474
- return (r, d) => (m(), f(e(_e), { class: "sv-subscription-management sv-root sv-screen" }, {
475
- header: b(() => [
476
- A("div", Qe, [
447
+ return (s, r) => (m(), g(e(be), { class: "sv-subscription-management sv-root sv-screen" }, {
448
+ header: f(() => [
449
+ C("div", Ke, [
477
450
  h(e(Z), {
478
451
  variant: "heading-2",
479
452
  tag: "h1",
480
453
  class: "sv-subscription-management__title"
481
454
  }, {
482
- default: b(() => [
483
- T(C(ne.value), 1)
455
+ default: f(() => [
456
+ T(A(ne.value), 1)
484
457
  ]),
485
458
  _: 1
486
459
  })
487
460
  ])
488
461
  ]),
489
- content: b(() => {
490
- var w, M;
462
+ content: f(() => {
463
+ var w, I;
491
464
  return [
492
- G.value ? (m(), f(Je, {
465
+ D.value ? (m(), g(We, {
493
466
  key: 0,
494
467
  class: "sv-subscription-management__success",
495
- "pricing-group-name": (w = O.value) == null ? void 0 : w.name
496
- }, null, 8, ["pricing-group-name"])) : e(B) ? (m(), f(ee, {
468
+ "pricing-group-name": (w = k.value) == null ? void 0 : w.name
469
+ }, null, 8, ["pricing-group-name"])) : e(U) ? (m(), g(ee, {
497
470
  key: 1,
498
471
  variant: "section",
499
472
  class: "min-h-[220px]"
500
- })) : O.value && Y.value ? (m(), f(ze, {
473
+ })) : k.value && q.value ? (m(), g(Fe, {
501
474
  key: 2,
502
475
  "enabled-pricing-ids": $.value,
503
- "onUpdate:enabledPricingIds": d[0] || (d[0] = (g) => $.value = g),
504
- "payment-method-id": D.value,
505
- "onUpdate:paymentMethodId": d[1] || (d[1] = (g) => D.value = g),
476
+ "onUpdate:enabledPricingIds": r[0] || (r[0] = (p) => $.value = p),
477
+ "payment-method-id": V.value,
478
+ "onUpdate:paymentMethodId": r[1] || (r[1] = (p) => V.value = p),
506
479
  class: "sv-subscription-management__form",
507
- "pricing-group": O.value,
508
- "payment-methods": e(o),
480
+ "pricing-group": k.value,
481
+ "payment-methods": e(a),
509
482
  "payment-method-options": e(P),
510
- "billing-period": Y.value,
511
- currency: (M = e(l)) == null ? void 0 : M.billing_currency,
512
- onAddPaymentMethod: d[2] || (d[2] = (g) => x.value = !0)
483
+ "billing-period": q.value,
484
+ currency: (I = e(o)) == null ? void 0 : I.billing_currency,
485
+ onAddPaymentMethod: r[2] || (r[2] = (p) => x.value = !0)
513
486
  }, null, 8, ["enabled-pricing-ids", "payment-method-id", "pricing-group", "payment-methods", "payment-method-options", "billing-period", "currency"])) : R("", !0),
514
- h(Ke, {
487
+ h(He, {
515
488
  "show-modal": x.value,
516
489
  customer: e(u),
517
490
  "payment-method-options": e(P),
518
491
  onSuccess: te,
519
- onClose: d[3] || (d[3] = (g) => x.value = !1)
492
+ onClose: r[3] || (r[3] = (p) => x.value = !1)
520
493
  }, null, 8, ["show-modal", "customer", "payment-method-options"])
521
494
  ];
522
495
  }),
523
- aside: b(() => [
524
- G.value ? (m(), f(e(K), {
496
+ aside: f(() => [
497
+ D.value ? (m(), g(e(J), {
525
498
  key: 0,
526
499
  size: "lg",
527
500
  class: "sv-action sv-action--primary sv-action--full-width sv-subscription-management__done w-full",
528
501
  type: "button",
529
- onClick: d[4] || (d[4] = (w) => e(p)({ action: "navigate-to-customer-overview" }))
502
+ onClick: r[4] || (r[4] = (w) => e(v)({ action: "navigate-to-customer-overview" }))
530
503
  }, {
531
- default: b(() => [
532
- T(C(e(n)({
504
+ default: f(() => [
505
+ T(A(e(t)({
533
506
  defaultMessage: "Done",
534
507
  id: "subscription_management.done_button.label",
535
508
  description: "Label of the button that leaves the manage subscription screen once the change is committed"
@@ -537,28 +510,28 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
537
510
  ]),
538
511
  _: 1
539
512
  })) : (m(), z(me, { key: 1 }, [
540
- h(Ye, {
513
+ h(ze, {
541
514
  class: "sv-subscription-management__summary",
542
515
  invoice: e(ie),
543
- "is-pending": e(B) || e(ae),
516
+ "is-pending": e(U) || e(ae),
544
517
  "has-error": !!e(se)
545
518
  }, null, 8, ["invoice", "is-pending", "has-error"]),
546
- N.value ? (m(), f(e(Q), {
519
+ N.value ? (m(), g(e(Q), {
547
520
  key: 0,
548
521
  class: "sv-subscription-management__update-error sv-error",
549
522
  title: N.value
550
523
  }, null, 8, ["title"])) : R("", !0),
551
- A("div", Xe, [
552
- h(e(K), {
524
+ C("div", Je, [
525
+ h(e(J), {
553
526
  size: "lg",
554
527
  class: "sv-action sv-action--primary sv-action--full-width sv-subscription-management__update w-full",
555
528
  type: "button",
556
- disabled: !q.value,
529
+ disabled: !Y.value,
557
530
  loading: j.value,
558
531
  onClick: re
559
532
  }, {
560
- default: b(() => [
561
- T(C(e(n)({
533
+ default: f(() => [
534
+ T(A(e(t)({
562
535
  defaultMessage: "Update subscription",
563
536
  id: "subscription_management.update_button.label",
564
537
  description: "Label of the button that commits the subscription change"
@@ -566,7 +539,7 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
566
539
  ]),
567
540
  _: 1
568
541
  }, 8, ["disabled", "loading"]),
569
- h(Ee, {
542
+ h(Ce, {
570
543
  class: "sv-subscription-management__kpi",
571
544
  "payment-method-options": e(P)
572
545
  }, null, 8, ["payment-method-options"])
@@ -576,7 +549,7 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
576
549
  _: 1
577
550
  }));
578
551
  }
579
- }), et = /* @__PURE__ */ I({
552
+ }), Xe = /* @__PURE__ */ M({
580
553
  __name: "SubscriptionManagement.entry",
581
554
  props: {
582
555
  environment: { type: String },
@@ -595,22 +568,22 @@ const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-
595
568
  branding: { type: Object },
596
569
  configuration: { type: Object }
597
570
  },
598
- setup(t) {
599
- const a = De("subscription-management");
600
- return (n, s) => (m(), f(e(ve), {
601
- entry: n.$props,
602
- "component-name": e(a),
571
+ setup(n) {
572
+ const l = Ge("subscription-management");
573
+ return (t, c) => (m(), g(e(fe), {
574
+ entry: t.$props,
575
+ "component-name": e(l),
603
576
  "allowed-portal-types": ["CUSTOMER"],
604
- onError: s[0] || (s[0] = (c) => n.$emit("error", c))
577
+ onError: c[0] || (c[0] = (d) => t.$emit("error", d))
605
578
  }, {
606
- default: b(() => [
607
- h(Ze, { configuration: t.configuration }, null, 8, ["configuration"])
579
+ default: f(() => [
580
+ h(Qe, { configuration: n.configuration }, null, 8, ["configuration"])
608
581
  ]),
609
582
  _: 1
610
583
  }, 8, ["entry", "component-name"]));
611
584
  }
612
- }), { define: It } = he(
613
- et,
585
+ }), { define: It } = ve(
586
+ Xe,
614
587
  "subscription-management"
615
588
  );
616
589
  export {