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

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 (616) hide show
  1. package/README.md +91 -50
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang--AVI4Q4E.js +1 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Y3CzulQq.mjs +241 -0
  4. package/dist/Amount.vue.es-CRG-6dps.mjs +23 -0
  5. package/dist/Amount.vue.es-CeW8S7kT.js +1 -0
  6. package/dist/Avatar.vue.es-ClUBm_l5.js +1 -0
  7. package/dist/Avatar.vue.es-DJp6NEU_.mjs +91 -0
  8. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BrPsTuoW.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BUMK11Dw.mjs} +15 -7
  9. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DzrInCPA.js +1 -0
  10. package/dist/Button.vue.es-BrWHdiEA.mjs +453 -0
  11. package/dist/Button.vue.es-aLcIdATK.js +1 -0
  12. package/dist/Chip.vue.es-DPGTweAr.mjs +164 -0
  13. package/dist/Chip.vue.es-q4c-DXXl.js +1 -0
  14. package/dist/Comparators.vue.es-CU32AC4n.mjs +120 -0
  15. package/dist/Comparators.vue.es-CfVGYJ_x.js +1 -0
  16. package/dist/ContextMenu.vue.es-BBPFQfqY.mjs +681 -0
  17. package/dist/ContextMenu.vue.es-C_TL7-kg.js +1 -0
  18. package/dist/CustomerBillingInformation.vue.es-CLmXk5B9.mjs +175 -0
  19. package/dist/CustomerBillingInformation.vue.es-s-LYXA4T.js +1 -0
  20. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +1 -0
  21. package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +4 -0
  22. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CuWrBcoK.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B2CtcBm0.mjs} +17 -10
  23. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CMIVAoQq.js +1 -0
  24. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BP-VRwEM.js +1 -0
  25. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Bej5_H7r.mjs +3261 -0
  26. package/dist/Divider.vue.es-ClFG8QtG.js +1 -0
  27. package/dist/Divider.vue.es-wKkIVBgb.mjs +24 -0
  28. package/dist/DividerText.vue.es-D5ieOE1e.js +1 -0
  29. package/dist/DividerText.vue.es-DMg-DNgi.mjs +72 -0
  30. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-5I81Qr6q.js +1 -0
  31. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CTG5XdQt.mjs +562 -0
  32. package/dist/ErrorNotification.vue.es-BX3khKFc.js +1 -0
  33. package/dist/ErrorNotification.vue.es-C22Kt8Qn.mjs +30 -0
  34. package/dist/Expand.vue.es-C-lnbA1v.js +1 -0
  35. package/dist/Expand.vue.es-C4_XmqbR.mjs +50 -0
  36. package/dist/FormMessage.vue.es-DFQXxiSC.mjs +46 -0
  37. package/dist/FormMessage.vue.es-LeWoj774.js +1 -0
  38. package/dist/IconButton.vue.es-CVFn0Ntj.js +1 -0
  39. package/dist/IconButton.vue.es-DcC4f5EQ.mjs +231 -0
  40. package/dist/IconTitle.vue.es-DoN4GVde.js +1 -0
  41. package/dist/IconTitle.vue.es-mQCMxc64.mjs +105 -0
  42. package/dist/Input.vue.es-C8VhMKuI.js +1 -0
  43. package/dist/Input.vue.es-Dp_RH03h.mjs +239 -0
  44. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-wxP5IaGt.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-56fy6uY6.mjs} +2 -1
  45. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CLUcV3qa.js +1 -0
  46. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-flgEyaoj.js +1 -0
  47. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-ztaMeHQc.mjs +49 -0
  48. package/dist/InvoiceSummary.vue.es-emE-mCFh.js +1 -0
  49. package/dist/InvoiceSummary.vue.es-nCYeQ4tj.mjs +2558 -0
  50. package/dist/Modal.vue.es-5EpA4Q0t.mjs +367 -0
  51. package/dist/Modal.vue.es-CX5geho3.js +1 -0
  52. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B_IIOBjg.js +1 -0
  53. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-D7IX9qqy.mjs +155 -0
  54. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-C8nvN-6f.mjs +54 -0
  55. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js +1 -0
  56. package/dist/{PaymentHistoryBlock-BitwS9Re.mjs → PaymentHistoryBlock-Dejtgyos.mjs} +1 -1
  57. package/dist/{PaymentHistoryBlock-ZtmPXXwI.js → PaymentHistoryBlock-RBxlC5xt.js} +1 -1
  58. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BdfWchcQ.js +1 -0
  59. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3ZUDUdw.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dk52bjJd.mjs} +5 -1
  60. package/dist/{PaymentIntegrationForm-BZTzCUiu.js → PaymentIntegrationForm-BWr7iyU6.js} +1 -1
  61. package/dist/{PaymentIntegrationForm-BK2aLPCo.mjs → PaymentIntegrationForm-CbqfAdkc.mjs} +1 -1
  62. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D8fkE1yG.js +1 -0
  63. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJHwpswk.mjs +149 -0
  64. package/dist/PaymentIntegrationFormAdyen-BjPpoLF7.js +1 -0
  65. package/dist/PaymentIntegrationFormAdyen-CuRwe9_9.mjs +691 -0
  66. package/dist/PaymentIntegrationFormStripe-51KZc27R.js +1 -0
  67. package/dist/PaymentIntegrationFormStripe-JZw2m1kJ.mjs +545 -0
  68. package/dist/PaymentMethod.vue.es-CH__kPw4.mjs +636 -0
  69. package/dist/PaymentMethod.vue.es-uVZO0Zju.js +1 -0
  70. package/dist/PaymentMethodForm-C5WqTDow.mjs +4 -0
  71. package/dist/PaymentMethodForm-CBjHdZT7.js +1 -0
  72. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BktA5F4r.js +1 -0
  73. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-CIQ0vsko.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DhPTbip8.mjs} +5 -2
  74. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DVeB_mqK.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DbTvbHk7.mjs} +80 -30
  75. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-XPz73RVU.js +1 -0
  76. package/dist/PricingGroupRangeInput.vue.es-A6eW-u2k.mjs +636 -0
  77. package/dist/PricingGroupRangeInput.vue.es-BuQeJCEX.js +1 -0
  78. package/dist/Section.vue.es-MEFUWCxU.mjs +79 -0
  79. package/dist/Section.vue.es-tLYXp-tF.js +1 -0
  80. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Jk34S5B7.js +1 -0
  81. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xvgyB2Yr.mjs +1050 -0
  82. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-B_Zkbqx2.mjs +6105 -0
  83. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CttBs_G8.js +1 -0
  84. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3cqlbGY.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cj36jvZF.mjs} +17 -63
  85. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Dl5Lg39D.js +1 -0
  86. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CTnTWaB8.js +1 -0
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BDqX6OaE.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CfXgGKXA.mjs} +8 -5
  88. package/dist/TooltipParagraph.vue.es-B5aHQv9O.mjs +136 -0
  89. package/dist/TooltipParagraph.vue.es-fSwKGXKg.js +1 -0
  90. package/dist/TrialChip.vue.es-0nrqSZeY.js +1 -0
  91. package/dist/TrialChip.vue.es-Fp7Lqo-b.mjs +56 -0
  92. package/dist/adyen-BMDZQBUG.js +1 -0
  93. package/dist/{url-BjZ1Pg0l.mjs → adyen-Ba-mF3Jy.mjs} +31 -73
  94. package/dist/api.es-C5pe8LUl.mjs +62 -0
  95. package/dist/api.es-Czekkp_X.js +1 -0
  96. package/dist/cn.es-BLHlMR4Y.js +1 -0
  97. package/dist/cn.es-DB5pDpxS.mjs +3298 -0
  98. package/dist/comparators.es-9VsCB-JI.mjs +175 -0
  99. package/dist/comparators.es-wrKHduVq.js +1 -0
  100. package/dist/component-BG6DmXcy.mjs +9 -0
  101. package/dist/component-hDuDTBt5.js +1 -0
  102. package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
  103. package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
  104. package/dist/components/BillingInformation/{BillingInformation.es.js → BillingInformation.mjs} +15 -26
  105. package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
  106. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
  107. package/dist/components/BillingInformationForm/{BillingInformationForm.es.js → BillingInformationForm.mjs} +42 -128
  108. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
  109. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
  110. package/dist/components/CustomerPaymentMethods/{CustomerPaymentMethods.es.js → CustomerPaymentMethods.mjs} +18 -51
  111. package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
  112. package/dist/components/Invoice/Invoice.cjs +1 -0
  113. package/dist/components/Invoice/{Invoice.es.js → Invoice.mjs} +73 -79
  114. package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
  115. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
  116. package/dist/components/InvoiceDetails/{InvoiceDetails.es.js → InvoiceDetails.mjs} +12 -24
  117. package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -3
  118. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
  119. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +73 -0
  120. package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
  121. package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
  122. package/dist/components/InvoicesList/{InvoicesList.es.js → InvoicesList.mjs} +12 -24
  123. package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
  124. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
  125. package/dist/components/PaymentHistory/{PaymentHistory.es.js → PaymentHistory.mjs} +12 -24
  126. package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
  127. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
  128. package/dist/components/PaymentMethodForm/{PaymentMethodForm.es.js → PaymentMethodForm.mjs} +15 -27
  129. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
  130. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
  131. package/dist/components/SubscriptionSchedules/{SubscriptionSchedules.es.js → SubscriptionSchedules.mjs} +13 -25
  132. package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
  133. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
  134. package/dist/components/SubscriptionsList/{SubscriptionsList.es.js → SubscriptionsList.mjs} +22 -53
  135. package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
  136. package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
  137. package/dist/components/WalletBalances/{WalletBalances.es.js → WalletBalances.mjs} +31 -29
  138. package/dist/configuration-BjYwV4_B.js +1 -0
  139. package/dist/configuration-CD8cOXAJ.mjs +15 -0
  140. package/dist/core/action-request.types.d.ts +1 -67
  141. package/dist/core/configuration.d.ts +1 -3
  142. package/dist/core/index.cjs +1 -0
  143. package/dist/core/index.d.ts +1 -11
  144. package/dist/core/index.mjs +197 -0
  145. package/dist/core/registry.ce.d.ts +1 -2
  146. package/dist/core/registry.d.ts +1 -6
  147. package/dist/core/types.d.ts +1 -121
  148. package/dist/countryData.es--zJAd6LA.mjs +252 -0
  149. package/dist/countryData.es-D3MFzU92.js +1 -0
  150. package/dist/customElements-BTJzBHMy.js +1 -0
  151. package/dist/customElements-DdFA__me.mjs +6729 -0
  152. package/dist/{customer-DAgdegIW.mjs → customer-B0AMetq6.mjs} +1 -1
  153. package/dist/customer-D7HUfF3j.js +1 -0
  154. package/dist/customer.es-C_vSWcVA.mjs +30 -0
  155. package/dist/customer.es-D42Md24r.js +1 -0
  156. package/dist/en-US-BSrbFk5W.js +1 -0
  157. package/dist/en-US-D0P7NNNZ.mjs +228 -0
  158. package/dist/{en-US-DSzSbgL5.mjs → en-US-Daw3v6GD.mjs} +60 -30
  159. package/dist/en-US-scSQQXK8.js +1 -0
  160. package/dist/error-Cg-i7gGl.js +1 -0
  161. package/dist/error-DY_I2hPx.mjs +13 -0
  162. package/dist/floating-ui.vue.es-Bv94BfDm.js +1 -0
  163. package/dist/floating-ui.vue.es-DWY7pdz8.mjs +1573 -0
  164. package/dist/formatting.es-9hM8aHSg.js +1 -0
  165. package/dist/formatting.es-D-oVnc8H.mjs +68 -0
  166. package/dist/getComposedString.es-CELkn0I7.mjs +14 -0
  167. package/dist/getComposedString.es-DvSNX-_z.js +1 -0
  168. package/dist/getCountryNameByCode.es-fP52nO_7.js +1 -0
  169. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +8 -0
  170. package/dist/index-BJ3dHkSK.js +1 -0
  171. package/dist/index-C5bKRt7l.mjs +1069 -0
  172. package/dist/index.cjs +1 -0
  173. package/dist/index.d.ts +1 -17
  174. package/dist/index.es-0cystq8F.mjs +542 -0
  175. package/dist/index.es-2JWHHSgP.js +1 -0
  176. package/dist/index.mjs +42 -0
  177. package/dist/{invoices-BXDgW8ch.mjs → invoices-BSd-nKeE.mjs} +17 -16
  178. package/dist/invoices-BiqM6xN6.js +1 -0
  179. package/dist/{nl-NL-Li7RW89R.mjs → nl-NL-B4zEBFTw.mjs} +60 -52
  180. package/dist/nl-NL-B5tuyIOM.mjs +88 -0
  181. package/dist/nl-NL-Bs3d8q6T.js +1 -0
  182. package/dist/nl-NL-DIAZWDF9.js +1 -0
  183. package/dist/object.es-DFXiU9p3.js +1 -0
  184. package/dist/object.es-jvvnR8Kr.mjs +12 -0
  185. package/dist/{paymentMethods-xzFD2L30.mjs → paymentMethods-BsrkEbKT.mjs} +23 -19
  186. package/dist/paymentMethods-Cu2RzLgm.js +1 -0
  187. package/dist/{payments-DV6csRej.mjs → payments-B6Nfd6Al.mjs} +1 -1
  188. package/dist/payments-Bbm1HMQj.js +1 -0
  189. package/dist/pricing-3W7XLwL6.js +1 -0
  190. package/dist/pricing-CJxS2hr2.mjs +17 -0
  191. package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +107 -0
  192. package/dist/pricingItemConfigs.es-C73cQlxQ.js +1 -0
  193. package/dist/{pricingPlanSchedule-C_cqUyTk.mjs → pricingPlanSchedule-CXG3CQ61.mjs} +3 -1
  194. package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
  195. package/dist/screens/Checkout/Checkout.cjs +1 -0
  196. package/dist/screens/Checkout/{Checkout.es.js → Checkout.mjs} +1271 -630
  197. package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
  198. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
  199. package/dist/screens/CustomerOverview/{CustomerOverview.es.js → CustomerOverview.mjs} +54 -81
  200. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -3
  201. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
  202. package/dist/screens/PayInvoice/{PayInvoice.es.js → PayInvoice.mjs} +41 -32
  203. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -3
  204. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
  205. package/dist/screens/PaymentMethodsManagement/{PaymentMethodsManagement.es.js → PaymentMethodsManagement.mjs} +35 -37
  206. package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -3
  207. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
  208. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +885 -0
  209. package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -3
  210. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
  211. package/dist/screens/SubscriptionManagement/{SubscriptionManagement.es.js → SubscriptionManagement.mjs} +45 -63
  212. package/dist/slots.es-BpwYO3A3.mjs +18 -0
  213. package/dist/slots.es-Dq1PTUOv.js +1 -0
  214. package/dist/sorting.es-CjTrRfSW.mjs +105 -0
  215. package/dist/sorting.es-RyvcgbSL.js +1 -0
  216. package/dist/{subscription-B4dBAY9C.mjs → subscription-C41lG-rH.mjs} +1 -1
  217. package/dist/subscriptions-B4BOzLxR.js +1 -0
  218. package/dist/subscriptions-C2C4WTuI.mjs +58 -0
  219. package/dist/typeGuards.es-C4nR5FkL.js +1 -0
  220. package/dist/typeGuards.es-fwUoeMCe.mjs +12 -0
  221. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +19 -0
  222. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  223. package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
  224. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
  225. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
  226. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
  227. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
  228. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
  229. package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
  230. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
  231. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
  232. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
  233. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
  234. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
  235. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +5 -0
  236. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
  237. package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
  238. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +72 -0
  239. package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
  240. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
  241. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +61 -0
  242. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
  243. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
  244. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
  245. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
  246. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
  247. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
  248. package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
  249. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
  250. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
  251. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
  252. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
  253. package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
  254. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
  255. package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
  256. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
  257. package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
  258. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
  259. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
  260. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
  261. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
  262. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
  263. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
  264. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
  265. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
  266. package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
  267. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
  268. package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
  269. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
  270. package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
  271. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +24 -0
  272. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +40 -0
  273. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
  274. package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
  275. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
  276. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
  277. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
  278. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
  279. package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
  280. package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
  281. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
  282. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
  283. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
  284. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
  285. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
  286. package/dist/types/components/providers/index.d.ts +9 -0
  287. package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
  288. package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
  289. package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
  290. package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
  291. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
  292. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
  293. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
  294. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
  295. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
  296. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
  297. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
  298. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
  299. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
  300. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
  301. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
  302. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
  303. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
  304. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
  305. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
  306. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
  307. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
  308. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
  309. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
  310. package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
  311. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
  312. package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
  313. package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
  314. package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
  315. package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
  316. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
  317. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
  318. package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
  319. package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
  320. package/dist/types/config/config.beta.d.ts +2 -0
  321. package/dist/types/config/config.dev.d.ts +2 -0
  322. package/dist/types/config/config.live.d.ts +2 -0
  323. package/dist/types/config/internalEnvironments.d.ts +11 -0
  324. package/dist/types/config/internalEnvironments.published.d.ts +7 -0
  325. package/dist/types/config/lib.d.ts +6 -0
  326. package/dist/types/config/types.d.ts +13 -0
  327. package/dist/types/index.d.ts +23 -0
  328. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
  329. package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
  330. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
  331. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
  332. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
  333. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
  334. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
  335. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
  336. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
  337. package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
  338. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
  339. package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
  340. package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
  341. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
  342. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
  343. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
  344. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
  345. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
  346. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
  347. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
  348. package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
  349. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
  350. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
  351. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
  352. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
  353. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
  354. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
  355. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +38 -0
  356. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
  357. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
  358. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
  359. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
  360. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
  361. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
  362. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
  363. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
  364. package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
  365. package/dist/types/public/core/action-request.types.d.ts +55 -0
  366. package/dist/types/public/core/configuration.d.ts +3 -0
  367. package/dist/types/public/core/index.d.ts +14 -0
  368. package/dist/types/public/core/registry.ce.d.ts +8 -0
  369. package/dist/types/public/core/registry.d.ts +6 -0
  370. package/dist/types/public/core/types.d.ts +120 -0
  371. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
  372. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
  373. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
  374. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
  375. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
  376. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
  377. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
  378. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
  379. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
  380. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
  381. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
  382. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
  383. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
  384. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
  385. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
  386. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
  387. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
  388. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
  389. package/dist/types/public/screens/types.d.ts +4 -0
  390. package/dist/types/public/types/index.d.ts +23 -0
  391. package/dist/types/services/invoices.types.d.ts +26 -0
  392. package/dist/types/services/paymentMethods.types.d.ts +31 -0
  393. package/dist/types/services/portals.types.d.ts +68 -0
  394. package/dist/types/services/requests.types.d.ts +24 -0
  395. package/dist/types/translations/supported.d.ts +1 -0
  396. package/dist/types/types/EntryBaseProps.d.ts +10 -0
  397. package/dist/types/types/errors.d.ts +7 -0
  398. package/dist/types/types/subscription.d.ts +4 -0
  399. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
  400. package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
  401. package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
  402. package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
  403. package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
  404. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
  405. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
  406. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
  407. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
  408. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
  409. package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
  410. package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
  411. package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
  412. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
  413. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
  414. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
  415. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
  416. package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
  417. package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
  418. package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
  419. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
  420. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
  421. package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
  422. package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
  423. package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
  424. package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
  425. package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
  426. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
  427. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
  428. package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
  429. package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
  430. package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
  431. package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
  432. package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
  433. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
  434. package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
  435. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
  436. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
  437. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
  438. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
  439. package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
  440. package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
  441. package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
  442. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
  443. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
  444. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
  445. package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
  446. package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
  447. package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
  448. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
  449. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
  450. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
  451. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
  452. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
  453. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
  454. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
  455. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
  456. package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
  457. package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
  458. package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
  459. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
  460. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
  461. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
  462. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
  463. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
  464. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
  465. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
  466. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
  467. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
  468. package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
  469. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
  470. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
  471. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
  472. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
  473. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
  474. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
  475. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
  476. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
  477. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
  478. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
  479. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
  480. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
  481. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
  482. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
  483. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
  484. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
  485. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
  486. package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
  487. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
  488. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
  489. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
  490. package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
  491. package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
  492. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
  493. package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
  494. package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
  495. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
  496. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
  497. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
  498. package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
  499. package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
  500. package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
  501. package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
  502. package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
  503. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
  504. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
  505. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
  506. package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
  507. package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
  508. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
  509. package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
  510. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
  511. package/dist/useActionDispatchProvider-Cz8xLLYA.js +1 -0
  512. package/dist/{useActionDispatchProvider-zB_GKeUR.mjs → useActionDispatchProvider-D55t_7LY.mjs} +1 -1
  513. package/dist/{useCustomer-VfeQ6rG2.mjs → useCustomer-BNhHz9RJ.mjs} +2 -2
  514. package/dist/{useCustomer-bO4D6e4Z.js → useCustomer-DYCpgA-3.js} +1 -1
  515. package/dist/useCustomerFormLabels-Cw6QpEJY.js +1 -0
  516. package/dist/useCustomerFormLabels-mX5QpApD.mjs +1142 -0
  517. package/dist/{useIncrementalLoading-C59FXHzp.mjs → useIncrementalLoading-BK9pRYAU.mjs} +6 -5
  518. package/dist/useIncrementalLoading-CdtGJm_Y.js +1 -0
  519. package/dist/{useInvoiceData-CxxkBTGY.js → useInvoiceData-BczeMpuk.js} +1 -1
  520. package/dist/{useInvoiceData-Dhg-hx8C.mjs → useInvoiceData-D-EvEioP.mjs} +2 -2
  521. package/dist/{useInvoicesList-DBz7T7sM.mjs → useInvoicesList-BJJYwkIA.mjs} +277 -31
  522. package/dist/useInvoicesList-rMg-8LbH.js +1 -0
  523. package/dist/{useLoadInitialData-BhpIg7OF.mjs → useLoadInitialData-BoGjdUu-.mjs} +1 -1
  524. package/dist/useLoadInitialData-CiJldX50.js +1 -0
  525. package/dist/{usePaymentMethodOptions-PcMjtMSF.mjs → usePaymentMethodOptions-d49aOdLB.mjs} +13 -3
  526. package/dist/usePaymentMethodOptions-fBvWYynV.js +1 -0
  527. package/dist/{usePaymentMethods-B5AbGWsn.mjs → usePaymentMethods-Bkouz8aQ.mjs} +2 -2
  528. package/dist/{usePaymentMethods-Bb1Xbads.js → usePaymentMethods-CFL3hFW_.js} +1 -1
  529. package/dist/usePayments-BKTNn_RN.js +1 -0
  530. package/dist/usePayments-BlliAt1E.mjs +262 -0
  531. package/dist/{usePortal-DWLtNqBB.mjs → usePortal-eyA4OqjU.mjs} +1 -1
  532. package/dist/usePortal-fhri8neB.js +1 -0
  533. package/dist/useService-D73FNBjT.js +1 -0
  534. package/dist/{useService-BZqFkz7p.mjs → useService-W3Kxems4.mjs} +24 -5
  535. package/dist/useSubscription--IGLmLS6.mjs +250 -0
  536. package/dist/useSubscription-V3KSuhOY.js +1 -0
  537. package/package.json +66 -49
  538. package/dist/ApiStatus-CyNDp_op.mjs +0 -9
  539. package/dist/ApiStatus-oqvUEWJx.js +0 -1
  540. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BuQ8bzar.js +0 -1
  541. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-1Op9GjGZ.js +0 -1
  542. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C66beqgf.js +0 -1
  543. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs +0 -77
  544. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BbuEBiY3.js +0 -1
  545. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-dwIv_xxf.js +0 -1
  546. package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-05NKI2A0.js +0 -1
  547. package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-17v07F58.mjs +0 -27
  548. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CMGK71zZ.js +0 -1
  549. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B_yDNGK8.mjs +0 -1537
  550. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-GN3WAr10.js +0 -1
  551. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js +0 -1
  552. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-BQIN3zuf.mjs +0 -156
  553. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DyL2-vV0.js +0 -1
  554. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-OvGGejpX.js +0 -1
  555. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BxqIfmkK.js +0 -1
  556. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D1TcP9PR.mjs +0 -217
  557. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BKz2QQn9.js +0 -1
  558. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs +0 -37
  559. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CyAFjCh7.js +0 -1
  560. package/dist/component-CUJ_G2Nw.mjs +0 -962
  561. package/dist/component-CiKxWtdx.js +0 -1
  562. package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
  563. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
  564. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
  565. package/dist/components/Invoice/Invoice.cjs.js +0 -1
  566. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
  567. package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +0 -1
  568. package/dist/components/InvoiceHeader/InvoiceHeader.es.js +0 -123
  569. package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
  570. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
  571. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
  572. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
  573. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
  574. package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
  575. package/dist/core/index.cjs.js +0 -1
  576. package/dist/core/index.es.js +0 -6
  577. package/dist/customer-AfRcAZ5P.js +0 -1
  578. package/dist/en-US-QzQnGXP1.js +0 -1
  579. package/dist/index-CzL1ZcGi.mjs +0 -85
  580. package/dist/index-DRdBmZ2-.js +0 -1
  581. package/dist/index.cjs.js +0 -1
  582. package/dist/index.es.js +0 -51
  583. package/dist/invoices-BHgajZHq.js +0 -1
  584. package/dist/nl-NL-C4rr-1tr.js +0 -1
  585. package/dist/paymentMethods-BMcc-eTl.js +0 -1
  586. package/dist/payments-DMvmB5vg.js +0 -1
  587. package/dist/pricing-B1uImUm4.mjs +0 -19
  588. package/dist/pricing-BEjY_5wb.js +0 -1
  589. package/dist/registry-CeMxLjwU.js +0 -1
  590. package/dist/registry-CyENvS6l.mjs +0 -153
  591. package/dist/screens/Checkout/Checkout.cjs.js +0 -1
  592. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
  593. package/dist/screens/PayInvoice/PayInvoice.cjs.js +0 -1
  594. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +0 -1
  595. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +0 -1
  596. package/dist/screens/SubscriptionDetails/SubscriptionDetails.es.js +0 -542
  597. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +0 -1
  598. package/dist/solvimon-web.css +0 -1
  599. package/dist/subscriptions-CrNDM9qa.mjs +0 -79
  600. package/dist/subscriptions-DC-mxa17.js +0 -1
  601. package/dist/url-D8GJi5rF.js +0 -1
  602. package/dist/useActionDispatchProvider-bqR_FeM4.js +0 -1
  603. package/dist/useIncrementalLoading-BgWuwoMo.js +0 -1
  604. package/dist/useInvoicesList-BXZ9uV9i.js +0 -1
  605. package/dist/useLoadInitialData-BqiAFNFi.js +0 -1
  606. package/dist/usePaymentMethodOptions-DszFvgKX.js +0 -1
  607. package/dist/usePayments-DgoZoBZh.mjs +0 -36
  608. package/dist/usePayments-is5c66Z6.js +0 -1
  609. package/dist/usePortal-C4qWsJeq.js +0 -1
  610. package/dist/useService-DKm3QtT4.js +0 -1
  611. package/dist/useSubscription-CEZJw6wZ.mjs +0 -23
  612. package/dist/useSubscription-DuUNc1_l.js +0 -1
  613. package/dist/useTopUpModal-DNyWrHDv.mjs +0 -1012
  614. package/dist/useTopUpModal-DeF-cfCK.js +0 -1
  615. package/dist/vendor-ui-BoGKOJ36.mjs +0 -29826
  616. package/dist/vendor-ui-BuRqLx74.js +0 -1
@@ -1,542 +0,0 @@
1
- import { computed, defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, toRef, ref, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import { _ as _sfc_main$f, d as defineCustomElement, g as getComponentName } from "../../component-CUJ_G2Nw.mjs";
3
- import { u as useIntl, E as formatAmount, $ as formatBillingPeriod, _ as _sfc_main$5, e as _sfc_main$6, c as _sfc_main$7, t as _sfc_main$a } from "../../vendor-ui-BoGKOJ36.mjs";
4
- import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-Dy9xgxuF.mjs";
5
- import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-zB_GKeUR.mjs";
6
- import { b as getMostRecentScheduleInfo, a as getSubscriptionName } from "../../subscription-B4dBAY9C.mjs";
7
- import { _ as _sfc_main$c, a as _sfc_main$e } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3cqlbGY.mjs";
8
- import { _ as _sfc_main$d } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs";
9
- import { _ as _sfc_main$8, u as useCustomerWalletBalances } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs";
10
- import { u as useTopUpModal, _ as _sfc_main$9 } from "../../useTopUpModal-DNyWrHDv.mjs";
11
- import { _ as _sfc_main$b } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
12
- import { g as getNameFromPricing } from "../../pricing-B1uImUm4.mjs";
13
- import { A as ApiStatus } from "../../ApiStatus-CyNDp_op.mjs";
14
- import { u as useSubscription } from "../../useSubscription-CEZJw6wZ.mjs";
15
- import { u as useCustomer } from "../../useCustomer-VfeQ6rG2.mjs";
16
- import { u as usePaymentMethods } from "../../usePaymentMethods-B5AbGWsn.mjs";
17
- import { u as useLoadInitialData } from "../../useLoadInitialData-BhpIg7OF.mjs";
18
- function useSubscriptionActions({
19
- subscription
20
- }) {
21
- const { dispatchAction } = useActionDispatchProvider();
22
- const isCancellable = computed(() => {
23
- if (!subscription.value) return false;
24
- const inactivePeriods = subscription.value.inactive_periods;
25
- return !inactivePeriods || inactivePeriods.length === 0;
26
- });
27
- const isRenewable = computed(() => {
28
- var _a;
29
- const inactivePeriods = (_a = subscription.value) == null ? void 0 : _a.inactive_periods;
30
- return Array.isArray(inactivePeriods) && inactivePeriods.length > 0;
31
- });
32
- const cancel = () => {
33
- if (!subscription.value) return;
34
- dispatchAction({
35
- action: "cancel-subscription",
36
- data: { subscriptionId: subscription.value.id }
37
- });
38
- };
39
- const renew = () => {
40
- if (!subscription.value) return;
41
- dispatchAction({
42
- action: "renew-subscription",
43
- data: { subscriptionId: subscription.value.id }
44
- });
45
- };
46
- const manage = () => {
47
- if (!subscription.value) return;
48
- dispatchAction({
49
- action: "manage-subscription",
50
- data: { subscriptionId: subscription.value.id }
51
- });
52
- };
53
- return { isCancellable, isRenewable, cancel, renew, manage };
54
- }
55
- function getHeadlinePrice(pricing) {
56
- var _a, _b, _c, _d, _e, _f, _g;
57
- const config = (_c = (_b = (_a = pricing.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.configs) == null ? void 0 : _c[0];
58
- const band = (_e = (_d = config == null ? void 0 : config.details) == null ? void 0 : _d.bands) == null ? void 0 : _e[0];
59
- return {
60
- amount: (band == null ? void 0 : band.amount) ?? (band == null ? void 0 : band.fixed_amount),
61
- billingPeriod: ((_f = config == null ? void 0 : config.details) == null ? void 0 : _f.pricing_period) ?? ((_g = config == null ? void 0 : config.details) == null ? void 0 : _g.billing_period)
62
- };
63
- }
64
- function getEnabledPricingsEntries(scheduleInfo) {
65
- var _a, _b, _c;
66
- const enabledPricingIds = new Set(
67
- (((_a = scheduleInfo.pricing_plan_schedule) == null ? void 0 : _a.enabled_pricings) ?? []).map(
68
- ({ pricing_id }) => pricing_id
69
- )
70
- );
71
- if (enabledPricingIds.size === 0) {
72
- return [];
73
- }
74
- const pricingGroups = ((_c = (_b = scheduleInfo.pricing_plan_version) == null ? void 0 : _b.pricing_categories) == null ? void 0 : _c.flatMap(
75
- (category) => category.pricing_groups ?? []
76
- )) ?? [];
77
- return pricingGroups.flatMap(
78
- (group) => (group.pricings ?? []).filter((pricing) => enabledPricingIds.has(pricing.id)).map((pricing) => ({
79
- pricingId: pricing.id,
80
- pricingGroupId: group.id,
81
- groupName: group.name,
82
- // A pricing without a name of its own is only identifiable by the choice it belongs to.
83
- name: getNameFromPricing(pricing) || group.name,
84
- ...getHeadlinePrice(pricing)
85
- }))
86
- );
87
- }
88
- const _hoisted_1$2 = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4" };
89
- const _hoisted_2 = { class: "sv-enabled-pricings-list__item-content grow" };
90
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
91
- __name: "EnabledPricingsListItem",
92
- props: {
93
- entry: { type: Object }
94
- },
95
- emits: ["upgrade"],
96
- setup(__props) {
97
- const props = __props;
98
- const { $t } = useIntl();
99
- const price = computed(() => {
100
- const { amount, billingPeriod } = props.entry;
101
- if (!amount) {
102
- return void 0;
103
- }
104
- if (!billingPeriod) {
105
- return formatAmount(amount);
106
- }
107
- return $t(
108
- {
109
- defaultMessage: "{amount} per {period}",
110
- id: "enabled_pricings_list.item.price",
111
- description: 'The recurring price of an enabled pricing, e.g. "€ 100,00 per month"'
112
- },
113
- {
114
- amount: formatAmount(amount),
115
- period: formatBillingPeriod(billingPeriod, {
116
- short: true,
117
- hideValueForExactPeriods: true
118
- })
119
- }
120
- );
121
- });
122
- return (_ctx, _cache) => {
123
- return openBlock(), createBlock(unref(_sfc_main$5), { class: "sv-enabled-pricings-list__item" }, {
124
- default: withCtx(() => [
125
- createElementVNode("div", _hoisted_1$2, [
126
- createElementVNode("div", _hoisted_2, [
127
- createVNode(unref(_sfc_main$6), {
128
- tag: "span",
129
- variant: "body-sm",
130
- weight: "semibold",
131
- shade: "lighter",
132
- class: "sv-enabled-pricings-list__item-group"
133
- }, {
134
- default: withCtx(() => [
135
- createTextVNode(toDisplayString(__props.entry.groupName), 1)
136
- ]),
137
- _: 1
138
- }),
139
- createVNode(unref(_sfc_main$6), {
140
- tag: "h3",
141
- variant: "heading-3",
142
- "no-spacing": "",
143
- class: "sv-enabled-pricings-list__item-name"
144
- }, {
145
- default: withCtx(() => [
146
- createTextVNode(toDisplayString(__props.entry.name), 1)
147
- ]),
148
- _: 1
149
- }),
150
- price.value ? (openBlock(), createBlock(unref(_sfc_main$6), {
151
- key: 0,
152
- tag: "span",
153
- variant: "body-sm",
154
- shade: "lighter",
155
- class: "sv-enabled-pricings-list__item-price"
156
- }, {
157
- default: withCtx(() => [
158
- createTextVNode(toDisplayString(price.value), 1)
159
- ]),
160
- _: 1
161
- })) : createCommentVNode("", true)
162
- ]),
163
- createVNode(unref(_sfc_main$7), {
164
- variant: "outline",
165
- color: "gray",
166
- class: "sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",
167
- type: "button",
168
- size: "xs",
169
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("upgrade", __props.entry))
170
- }, {
171
- default: withCtx(() => [
172
- createTextVNode(toDisplayString(unref($t)({
173
- defaultMessage: "Upgrade",
174
- id: "enabled_pricings_list.item.upgrade_button.label",
175
- description: "Label for the button that changes which pricing is enabled for a group"
176
- })), 1)
177
- ]),
178
- _: 1
179
- })
180
- ])
181
- ]),
182
- _: 1
183
- });
184
- };
185
- }
186
- });
187
- const _hoisted_1$1 = { class: "sv-enabled-pricings-list__items grid grid-cols-1 gap-2" };
188
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
189
- __name: "EnabledPricingsList",
190
- props: {
191
- pricingPlanSchedule: { type: Object }
192
- },
193
- emits: ["upgrade"],
194
- setup(__props) {
195
- const props = __props;
196
- const { $t } = useIntl();
197
- const entries = computed(() => getEnabledPricingsEntries(props.pricingPlanSchedule));
198
- return (_ctx, _cache) => {
199
- return entries.value.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$5), {
200
- key: 0,
201
- class: "sv-enabled-pricings-list",
202
- "content-background": "none",
203
- "no-border": "",
204
- "no-spacing": "",
205
- title: unref($t)({
206
- defaultMessage: "Upgrades",
207
- id: "enabled_pricings_list.title",
208
- description: "Title for the block listing the pricings enabled on a subscription"
209
- })
210
- }, {
211
- default: withCtx(() => [
212
- createElementVNode("div", _hoisted_1$1, [
213
- (openBlock(true), createElementBlock(Fragment, null, renderList(entries.value, (entry) => {
214
- return openBlock(), createBlock(_sfc_main$4, {
215
- key: entry.pricingId,
216
- entry,
217
- onUpgrade: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("upgrade", $event))
218
- }, null, 8, ["entry"]);
219
- }), 128))
220
- ])
221
- ]),
222
- _: 1
223
- }, 8, ["title"])) : createCommentVNode("", true);
224
- };
225
- }
226
- });
227
- const _hoisted_1 = { class: "sv-subscription-details__header flex flex-col gap-2 md:flex-row md:items-center" };
228
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
229
- __name: "SubscriptionDetails",
230
- props: {
231
- subscription: { type: Object },
232
- schedulesData: { type: Array },
233
- customer: { type: Object },
234
- paymentMethods: { type: Array },
235
- walletBalances: { default: () => [], type: Array },
236
- hasWalletBalancesError: { type: Boolean },
237
- isLoading: { type: Boolean },
238
- error: { type: null }
239
- },
240
- emits: ["top-up-charged", "payment-method-stored"],
241
- setup(__props) {
242
- const props = __props;
243
- const { $t } = useIntl();
244
- const {
245
- isCancellable,
246
- isRenewable,
247
- cancel: handleCancel,
248
- renew: handleRenew,
249
- manage: handleUpgrade
250
- } = useSubscriptionActions({ subscription: toRef(props, "subscription") });
251
- const currentScheduleInfo = computed(() => getMostRecentScheduleInfo(props.subscription));
252
- const selectedBalanceItem = ref();
253
- const topUpModal = useTopUpModal(selectedBalanceItem);
254
- const title = computed(
255
- () => getSubscriptionName({
256
- subscription: props.subscription,
257
- fallback: $t({
258
- defaultMessage: "Subscription details",
259
- id: "subscription_details.title",
260
- description: "Title for the subscription details page"
261
- })
262
- })
263
- );
264
- return (_ctx, _cache) => {
265
- return openBlock(), createBlock(unref(ContentWithAsideLayout), { class: "sv-subscription-details sv-root sv-screen" }, {
266
- header: withCtx(() => [
267
- createElementVNode("div", _hoisted_1, [
268
- createVNode(unref(_sfc_main$6), {
269
- variant: "heading-2",
270
- tag: "h1",
271
- class: "sv-subscription-details__title grow"
272
- }, {
273
- default: withCtx(() => [
274
- createTextVNode(toDisplayString(title.value), 1)
275
- ]),
276
- _: 1
277
- }),
278
- unref(isRenewable) ? (openBlock(), createBlock(unref(_sfc_main$7), {
279
- key: 0,
280
- variant: "outline",
281
- color: "gray",
282
- class: "sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",
283
- type: "button",
284
- onClick: unref(handleRenew)
285
- }, {
286
- default: withCtx(() => [
287
- createTextVNode(toDisplayString(unref($t)({
288
- defaultMessage: "Renew subscription",
289
- id: "subscription_details.renew_button.label",
290
- description: "Label for the renew subscription button on the subscription details page"
291
- })), 1)
292
- ]),
293
- _: 1
294
- }, 8, ["onClick"])) : createCommentVNode("", true),
295
- unref(isCancellable) ? (openBlock(), createBlock(unref(_sfc_main$7), {
296
- key: 1,
297
- variant: "outline",
298
- color: "gray",
299
- class: "sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",
300
- type: "button",
301
- onClick: unref(handleCancel)
302
- }, {
303
- default: withCtx(() => [
304
- createTextVNode(toDisplayString(unref($t)({
305
- defaultMessage: "Cancel subscription",
306
- id: "subscription_details.cancel_button.label",
307
- description: "Label for the cancel subscription button on the subscription details page"
308
- })), 1)
309
- ]),
310
- _: 1
311
- }, 8, ["onClick"])) : createCommentVNode("", true)
312
- ])
313
- ]),
314
- content: withCtx(() => [
315
- __props.error ? (openBlock(), createBlock(unref(_sfc_main$a), {
316
- key: 0,
317
- class: "sv-subscription-details__error sv-error",
318
- title: unref($t)({
319
- defaultMessage: "Unable to load this subscription. Please try again later.",
320
- id: "subscription_details.load_error",
321
- description: "Error message shown when the subscription cannot be loaded on the subscription details page"
322
- })
323
- }, null, 8, ["title"])) : __props.isLoading ? (openBlock(), createBlock(_sfc_main$b, {
324
- key: 1,
325
- variant: "section",
326
- class: "min-h-[220px]"
327
- })) : __props.subscription ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
328
- createVNode(unref(_sfc_main$5), {
329
- "no-spacing": "",
330
- class: "sv-subscription-details__summary"
331
- }, {
332
- default: withCtx(() => [
333
- createVNode(_sfc_main$c, { subscription: __props.subscription }, null, 8, ["subscription"])
334
- ]),
335
- _: 1
336
- }),
337
- createVNode(_sfc_main$d, {
338
- class: "sv-subscription-details__schedules",
339
- "schedules-data": __props.schedulesData ?? [],
340
- configuration: { subscriptionId: __props.subscription.id },
341
- "is-loading": __props.isLoading
342
- }, null, 8, ["schedules-data", "configuration", "is-loading"])
343
- ], 64)) : (openBlock(), createBlock(_sfc_main$e, {
344
- key: 3,
345
- class: "sv-subscription-details__empty-state",
346
- icon: "receipt_long"
347
- }, {
348
- title: withCtx(() => [
349
- createTextVNode(toDisplayString(unref($t)({
350
- defaultMessage: "Subscription not found",
351
- id: "subscription_details.empty_state.title",
352
- description: "Title shown when the requested subscription does not exist"
353
- })), 1)
354
- ]),
355
- message: withCtx(() => [
356
- createTextVNode(toDisplayString(unref($t)({
357
- defaultMessage: "This subscription is no longer available.",
358
- id: "subscription_details.empty_state.message",
359
- description: "Message shown when the requested subscription does not exist"
360
- })), 1)
361
- ]),
362
- _: 1
363
- }))
364
- ]),
365
- aside: withCtx(() => [
366
- createVNode(_sfc_main$8, {
367
- class: "sv-subscription-details__wallet-balances",
368
- "has-error": Boolean(__props.hasWalletBalancesError),
369
- "is-loading": __props.isLoading,
370
- "wallet-balances": __props.walletBalances,
371
- "show-top-up-button": "",
372
- onTopUp: _cache[0] || (_cache[0] = ($event) => selectedBalanceItem.value = $event)
373
- }, null, 8, ["has-error", "is-loading", "wallet-balances"]),
374
- currentScheduleInfo.value ? (openBlock(), createBlock(_sfc_main$3, {
375
- key: 0,
376
- class: "sv-subscription-details__upgrades",
377
- "pricing-plan-schedule": currentScheduleInfo.value,
378
- onUpgrade: unref(handleUpgrade)
379
- }, null, 8, ["pricing-plan-schedule", "onUpgrade"])) : createCommentVNode("", true),
380
- createVNode(_sfc_main$9, {
381
- "show-modal": unref(topUpModal).showModal.value,
382
- "payment-methods": __props.paymentMethods,
383
- customer: __props.customer,
384
- "selected-balance-item": selectedBalanceItem.value,
385
- onClose: _cache[1] || (_cache[1] = ($event) => selectedBalanceItem.value = void 0),
386
- onConfirm: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("top-up-charged")),
387
- onPaymentSuccess: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("payment-method-stored"))
388
- }, null, 8, ["show-modal", "payment-methods", "customer", "selected-balance-item"])
389
- ]),
390
- _: 1
391
- });
392
- };
393
- }
394
- });
395
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
396
- __name: "SubscriptionDetails.entry.view",
397
- props: {
398
- configuration: { type: Object },
399
- environment: { type: String },
400
- locale: { type: String },
401
- dateLocale: { type: String },
402
- messages: { type: Object },
403
- primaryColor: { type: String },
404
- secondaryColor: { type: String },
405
- isShadowRoot: { type: Boolean },
406
- experimentalFeatures: { type: Array },
407
- logLevel: { type: String },
408
- onLog: { type: Function },
409
- allowedPortalTypes: { type: Array },
410
- portalObject: { type: Object },
411
- cssOverrides: { type: [String, Array] },
412
- branding: { type: Object }
413
- },
414
- setup(__props) {
415
- const props = __props;
416
- const customerId = props.portalObject.customer_id;
417
- const {
418
- subscription,
419
- withPlanData,
420
- get: fetchSubscription,
421
- error
422
- } = useSubscription({ subscriptionId: props.configuration.subscriptionId });
423
- const { customer, get: fetchCustomer } = useCustomer({ customerId });
424
- const { items: paymentMethods, fetchAll: fetchPaymentMethods } = usePaymentMethods({ customerId });
425
- const {
426
- walletBalances,
427
- apiStatus: walletBalancesApiStatus,
428
- fetch: fetchWalletBalances
429
- } = useCustomerWalletBalances({ customerId });
430
- const { isLoading } = useLoadInitialData(
431
- fetchSubscription(),
432
- fetchCustomer.execute(),
433
- fetchPaymentMethods(),
434
- fetchWalletBalances()
435
- );
436
- const schedulesData = computed(
437
- () => subscription.value ? withPlanData(subscription.value) : []
438
- );
439
- const walletBalanceItems = computed(() => {
440
- var _a;
441
- return ((_a = walletBalances.value) == null ? void 0 : _a.wallet_balances) ?? [];
442
- });
443
- const hasWalletBalancesError = computed(() => walletBalancesApiStatus.value === ApiStatus.Failed);
444
- return (_ctx, _cache) => {
445
- return renderSlot(_ctx.$slots, "default", {
446
- subscription: unref(subscription),
447
- schedulesData: schedulesData.value,
448
- customer: unref(customer),
449
- paymentMethods: unref(paymentMethods),
450
- walletBalances: walletBalanceItems.value,
451
- hasWalletBalancesError: hasWalletBalancesError.value,
452
- isLoading: unref(isLoading),
453
- error: unref(error),
454
- refreshWalletBalances: unref(fetchWalletBalances),
455
- refreshPaymentMethods: unref(fetchPaymentMethods)
456
- });
457
- };
458
- }
459
- });
460
- const _sfc_main = /* @__PURE__ */ defineComponent({
461
- __name: "SubscriptionDetails.entry",
462
- props: {
463
- configuration: { type: Object },
464
- environment: { type: String },
465
- locale: { type: String },
466
- dateLocale: { type: String },
467
- messages: { type: Object },
468
- primaryColor: { type: String },
469
- secondaryColor: { type: String },
470
- isShadowRoot: { type: Boolean },
471
- experimentalFeatures: { type: Array },
472
- logLevel: { type: String },
473
- onLog: { type: Function },
474
- allowedPortalTypes: { type: Array },
475
- portalObject: { type: Object },
476
- cssOverrides: { type: [String, Array] },
477
- branding: { type: Object }
478
- },
479
- setup(__props) {
480
- return (_ctx, _cache) => {
481
- var _a, _b, _c, _d;
482
- return openBlock(), createBlock(unref(_sfc_main$f), {
483
- "custom-element-name": unref(COMPONENT_NAME),
484
- environment: __props.environment,
485
- locale: __props.locale,
486
- "portal-object": __props.portalObject,
487
- "allowed-portal-types": ["CUSTOMER"],
488
- "primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
489
- "secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
490
- "experimental-features": __props.experimentalFeatures,
491
- "log-level": __props.logLevel,
492
- "on-log": __props.onLog,
493
- "css-overrides": __props.cssOverrides,
494
- onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
495
- }, {
496
- default: withCtx(() => [
497
- createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
498
- default: withCtx(({
499
- subscription,
500
- schedulesData,
501
- customer,
502
- paymentMethods,
503
- walletBalances,
504
- hasWalletBalancesError,
505
- isLoading,
506
- error,
507
- refreshWalletBalances,
508
- refreshPaymentMethods
509
- }) => [
510
- createVNode(_sfc_main$2, {
511
- subscription,
512
- "schedules-data": schedulesData,
513
- customer,
514
- "payment-methods": paymentMethods,
515
- "wallet-balances": walletBalances,
516
- "has-wallet-balances-error": hasWalletBalancesError,
517
- "is-loading": isLoading,
518
- error,
519
- onTopUpCharged: refreshWalletBalances,
520
- onPaymentMethodStored: refreshPaymentMethods
521
- }, null, 8, ["subscription", "schedules-data", "customer", "payment-methods", "wallet-balances", "has-wallet-balances-error", "is-loading", "error", "onTopUpCharged", "onPaymentMethodStored"])
522
- ]),
523
- _: 1
524
- }, 16)
525
- ]),
526
- _: 1
527
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log", "css-overrides"]);
528
- };
529
- }
530
- });
531
- const SolvimonSubscriptionDetails = defineCustomElement(_sfc_main);
532
- const COMPONENT_NAME = getComponentName("subscription-details");
533
- const defineSolvimonSubscriptionDetails = () => {
534
- if (!customElements.get(COMPONENT_NAME)) {
535
- customElements.define(COMPONENT_NAME, SolvimonSubscriptionDetails);
536
- }
537
- };
538
- export {
539
- COMPONENT_NAME,
540
- SolvimonSubscriptionDetails,
541
- defineSolvimonSubscriptionDetails
542
- };
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../vendor-ui-BuRqLx74.js"),n=require("../../ContentWithAsideLayout-DHpnJfGA.js"),i=require("../../component-CiKxWtdx.js"),a=require("../../useActionDispatchProvider-bqR_FeM4.js"),o=require("../../usePortal-C4qWsJeq.js"),s=require("../../useSubscription-DuUNc1_l.js"),r=require("../../useCustomer-bO4D6e4Z.js"),l=require("../../usePaymentMethods-Bb1Xbads.js"),c=require("../../usePaymentMethodOptions-DszFvgKX.js"),u=require("../../useLoadInitialData-BqiAFNFi.js"),d=require("../../invoices-BHgajZHq.js"),m=require("../../pricingPlanSchedule-B9HFiXy-.js"),p=require("../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BxqIfmkK.js"),g=require("../../PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DyL2-vV0.js"),v=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),_=require("../../url-D8GJi5rF.js"),h=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js");const f={class:"sv-subscription-management-form__body grid grid-cols-1 gap-4"},b=e.defineComponent({__name:"SubscriptionManagementForm",props:e.mergeModels({pricingGroup:{type:Object},paymentMethods:{type:Array},paymentMethodOptions:{type:Array},billingPeriod:{type:Object},currency:{type:String},disabled:{type:Boolean}},{enabledPricingIds:{required:!0},enabledPricingIdsModifiers:{},paymentMethodId:{},paymentMethodIdModifiers:{}}),emits:e.mergeModels(["add-payment-method"],["update:enabledPricingIds","update:paymentMethodId"]),setup(n,{emit:i}){const a=n,o=i,s=e.useModel(n,"enabledPricingIds"),r=e.useModel(n,"paymentMethodId"),{$t:l}=t.useIntl(),c=e=>{const t=e?Date.parse(e):NaN;return Number.isFinite(t)?t:0},u=e.computed(()=>[...a.paymentMethods??[]].sort((e,t)=>c(t.created_at)-c(e.created_at)));return e.watch(()=>a.paymentMethods,(e,t)=>{var n;const i=null==e?void 0:e.find(({id:e})=>!(null==t?void 0:t.some(t=>t.id===e)));i&&(null==t?void 0:t.length)?r.value=i.id:(null==e?void 0:e.some(({id:e})=>e===r.value))||(r.value=null==(n=(null==e?void 0:e.find(({is_default:e})=>e))??u.value[0])?void 0:n.id)},{immediate:!0}),(i,a)=>(e.openBlock(),e.createElementBlock("form",{class:"sv-subscription-management-form",onSubmit:a[3]||(a[3]=e.withModifiers(()=>{},["prevent"]))},[e.createElementVNode("div",f,[e.createVNode(p._sfc_main,{modelValue:s.value,"onUpdate:modelValue":a[0]||(a[0]=e=>s.value=e),class:"sv-subscription-management-form__pricing-group","group-name":n.pricingGroup.name,pricings:n.pricingGroup.pricings,"billing-period":n.billingPeriod,currency:n.currency},null,8,["modelValue","group-name","pricings","billing-period","currency"]),e.createElementVNode("div",null,[e.createVNode(e.unref(t._sfc_main$30),{spacing:"xs"})]),e.createVNode(g._sfc_main,{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=e=>r.value=e),class:"sv-subscription-management-form__payment-methods","payment-methods":u.value,"payment-method-options":n.paymentMethodOptions,required:"",disabled:n.disabled,label:e.unref(l)({defaultMessage:"Payment method",id:"subscription_management.payment_method_selector.label",description:"Label above the payment method that pays for the subscription change"}),onAddPaymentMethod:a[2]||(a[2]=e=>o("add-payment-method"))},null,8,["modelValue","payment-methods","payment-method-options","disabled","label"])])],32))}}),y=e.defineComponent({__name:"TranslationOverride",props:{messages:{type:Object}},setup(n){const a=n,o=e.inject(i.TRANSLATION_SETTINGS_KEY,void 0),s=e.computed(()=>({...null==o?void 0:o.messages.value,...a.messages}));return(n,i)=>{var a,r;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$31),{locale:null==(a=e.unref(o))?void 0:a.locale.value,"date-locale":null==(r=e.unref(o))?void 0:r.dateLocale.value,messages:s.value,"show-timezones":!1},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["locale","date-locale","messages"])}}}),w=e.defineComponent({__name:"SubscriptionManagementSummary",props:{invoice:{type:Object},isPending:{type:Boolean},hasError:{type:Boolean}},setup(n){const{$t:i}=t.useIntl(),a=e.computed(()=>({"invoice_preview.total_due_today_heading":i({defaultMessage:"Total due",id:"subscription_management.summary.total_due_heading",description:'Heading above the total of the invoice previewing a subscription change, replacing the shared preview’s "Total due today"'})}));return(o,s)=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{class:"sv-subscription-management-summary",title:e.unref(i)({defaultMessage:"Order summary",id:"subscription_management.summary.title",description:"Title of the block previewing what a subscription change is invoiced for"})},{default:e.withCtx(()=>[n.hasError?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$10),{key:0,class:"sv-subscription-management-summary__error sv-error",title:e.unref(i)({defaultMessage:"Unable to calculate the total. Please try again.",id:"subscription_management.summary.error",description:"Error shown when the invoice preview for a subscription change cannot be loaded"})},null,8,["title"])):n.isPending||!n.invoice?(e.openBlock(),e.createBlock(v._sfc_main,{key:1,variant:"section",class:"sv-subscription-management-summary__skeleton min-h-[120px]"},{default:e.withCtx(()=>[n.isPending?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(t._sfc_main$3),{key:0,variant:"body-sm",shade:"lighter",tag:"div",class:"sv-subscription-management-summary__empty-state"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Select your plan to see what it costs.",id:"subscription_management.summary.empty_state",description:"Shown in the order summary before a plan has been picked to preview"})),1)]),_:1}))]),_:1})):(e.openBlock(),e.createBlock(y,{key:2,messages:a.value},{default:e.withCtx(()=>[e.createVNode(e.unref(t._sfc_main$29),{class:"sv-subscription-management-summary__invoice",invoice:n.invoice,"is-customer-facing":""},null,8,["invoice"])]),_:1},8,["messages"]))]),_:1},8,["title"]))}}),M={class:"sv-subscription-management-success grid grid-cols-1 gap-4"},S={class:"sv-subscription-management-success__message"},P=e.defineComponent({__name:"SubscriptionManagementSuccess",props:{pricingGroupName:{type:String}},setup(n){const i=n,{$t:a}=t.useIntl(),o=e.computed(()=>a({defaultMessage:"Subscription updated",description:"Title shown on the manage subscription screen once the change is committed",id:"subscription_management.success.title"})),s=e.computed(()=>i.pricingGroupName?a({defaultMessage:"Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.",description:"Confirmation of the pricing group a committed subscription change applied to",id:"subscription_management.success.message"},{subject:i.pricingGroupName}):a({defaultMessage:"Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.",description:"Confirmation of a committed subscription change when the pricing group is not known",id:"subscription_management.success.message_generic"}));return(t,n)=>(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(_._sfc_main,{status:"success",title:o.value},{default:e.withCtx(()=>[e.createElementVNode("span",S,e.toDisplayString(s.value),1)]),_:1},8,["title"])]))}}),k=e.defineComponent({__name:"AddPaymentMethodModal",props:{showModal:{type:Boolean},customer:{type:Object},paymentMethodOptions:{type:Array},isLoading:{type:Boolean}},emits:["success","failure","close"],setup(n,{emit:i}){const a=n,o=i,{$t:s}=t.useIntl(),r=e.ref(),l=e.computed(()=>{var e;return Boolean(null==(e=r.value)?void 0:e.isPaymentPending)}),c=e.ref(!1);e.watch(()=>a.showModal,e=>{c.value=c.value||e},{immediate:!0});const u=()=>{var e;null==(e=r.value)||e.submit()};return(i,a)=>(e.openBlock(),e.createBlock(e.unref(t.Modal),{"no-click-away":"",class:"sv-add-payment-method-modal",size:"lg","show-modal":n.showModal,"is-loading":l.value,title:e.unref(s)({defaultMessage:"Add payment method",id:"add_payment_method_modal.title",description:"Title of the modal for adding a payment method"}),"sub-title":e.unref(s)({defaultMessage:"Add a new payment method to pay with.",id:"add_payment_method_modal.subtitle",description:"Subtitle of the modal for adding a payment method"}),"confirm-button-text":e.unref(s)({defaultMessage:"Save payment method",id:"add_payment_method_modal.confirm_button.label",description:"Label of the button that stores the payment method being added"}),"cancel-button-text":e.unref(s)({defaultMessage:"Cancel",id:"add_payment_method_modal.cancel_button.label",description:"Label of the button that abandons adding a payment method"}),onConfirm:u,onClose:a[2]||(a[2]=e=>o("close"))},{body:e.withCtx(()=>[n.customer&&c.value?(e.openBlock(),e.createBlock(h._sfc_main,{key:0,ref_key:"paymentMethodFormRef",ref:r,"hide-submit-button":"",class:"sv-add-payment-method-modal__form",customer:n.customer,"payment-method-options":n.paymentMethodOptions,"is-loading":n.isLoading,onSuccess:a[0]||(a[0]=e=>o("success")),onFailure:a[1]||(a[1]=e=>o("failure",e))},null,8,["customer","payment-method-options","is-loading"])):e.createCommentVNode("",!0)]),_:1},8,["show-modal","is-loading","title","sub-title","confirm-button-text","cancel-button-text"]))}}),B={class:"sv-subscription-management__header"},I={class:"flex flex-col gap-2"},C=e.defineComponent({__name:"SubscriptionManagement",props:{configuration:{type:Object}},setup(g){const _=g,{$t:h}=t.useIntl(),f=o.usePortal(),y=i.useLogger(),{dispatchAction:M}=a.useActionDispatchProvider(),{createPricingPlanSchedule:S}=function(){const e=i.createRequestService(),t=i.useConfig();return{getOnDemandPricingItems:function({scheduleId:n}){return e({url:`${t.apiUrls.config}/portal/pricing-plan-schedules/${n}/on-demand-pricing-items`})},createPricingPlanSchedule:function({pricingPlanSubscriptionId:n,enabledPricings:i}){return e({url:`${t.apiUrls.config}/portal/pricing-plan-schedules`,options:{method:"POST"},data:{pricing_plan_subscription_id:n,enabled_pricings:i}})}}}(),{subscription:C,get:N}=s.useSubscription({subscriptionId:_.configuration.subscriptionId}),{items:j,fetchAll:x}=l.usePaymentMethods({customerId:f.value.customer_id}),{customer:O,get:V}=r.useCustomer({customerId:f.value.customer_id}),{paymentMethodOptions:E,get:A}=c.usePaymentMethodOptions(),{isLoading:L}=u.useLoadInitialData(N(),x(),V.execute(),A({customerId:f.value.customer_id})),T=e.ref(!1),q=async()=>{await x(),T.value=!1},$=e.computed(()=>{var e;return m.getActiveDefaultScheduleInfo((null==(e=C.value)?void 0:e.pricing_plan_schedule_infos)??[])}),D=e.computed(()=>{var e;const t=$.value;if(!t)return;const{enabledPricingId:n}=_.configuration;return(n?[n]:((null==(e=t.pricing_plan_schedule)?void 0:e.enabled_pricings)??[]).map(({pricing_id:e})=>e)).map(e=>m.getPricingGroupByPricingId({pricingPlanScheduleInfo:t,pricingId:e})).find(e=>Boolean(e))}),F=e.computed(()=>{var e;return h({defaultMessage:"Manage {subject}",id:"subscription_management.title",description:"Title for the manage subscription page, naming the pricing group being changed"},{subject:(null==(e=D.value)?void 0:e.name)||h({defaultMessage:"subscription",id:"subscription_management.title.default_subject",description:'Stands in for the pricing group name in the manage subscription title when no group is known, e.g. "Manage subscription"'})})}),U=e.ref([]),G=e.ref();e.watch([$,D],([e,t])=>{var n;const i=((null==(n=null==e?void 0:e.pricing_plan_schedule)?void 0:n.enabled_pricings)??[]).map(({pricing_id:e})=>e),{enabledPricingId:a}=_.configuration,o=((null==t?void 0:t.pricings)??[]).map(({id:e})=>e);U.value=a&&o.includes(a)?[...i.filter(e=>!o.includes(e)),a]:i},{immediate:!0});const{invoice:R,isPending:z,error:W,load:Y}=function(){const{getInvoicePreview:t}=d.createInvoicesService(),n=i.useLogger(),a=e.ref(),o=e.ref(!1),s=e.ref();let r=0;return{invoice:a,isPending:o,error:s,load:async({subscription:e,enabledPricingIds:i})=>{const l=m.getScheduleCustomizations({enabledPricings:i.map(e=>({pricing_id:e})),pricingPlanScheduleInfos:e.pricing_plan_schedule_infos});if(!l)return void(a.value=void 0);const c=++r;o.value=!0,s.value=void 0;try{const n=await t({forExistingSubscription:!0,pricingPlanSubscriptionId:e.id,customizations:l});if(c!==r)return;a.value=n.invoice}catch(W){if(c!==r)return;n.error("INVOICE_PREVIEW_FAILED","Failed to preview the subscription upgrade",{},W),s.value=W,a.value=void 0}finally{c===r&&(o.value=!1)}}}}();e.watch([U,C],([e,t])=>{t&&0!==e.length&&Y({subscription:t,enabledPricingIds:e})},{immediate:!0});const K=e.ref(!1),H=e.ref(),J=e.ref(!1),Q=e.computed(()=>!L.value&&!K.value&&U.value.length>0&&Boolean(C.value)&&Boolean(G.value)),X=async()=>{if(Q.value&&C.value){K.value=!0,H.value=void 0;try{await S({pricingPlanSubscriptionId:C.value.id,enabledPricings:U.value.map(e=>({pricing_id:e}))}),J.value=!0}catch(e){y.error("SUBSCRIPTION_UPDATE_FAILED","Failed to start a new pricing plan schedule",{},e),H.value=h({defaultMessage:"Something went wrong. Please try again.",id:"subscription_management.update_error",description:"Error shown when committing a subscription change fails"})}finally{K.value=!1}}},Z=e.computed(()=>{var e,t,n;return(null==(t=null==(e=$.value)?void 0:e.pricing_plan_schedule)?void 0:t.billing_period)??(null==(n=C.value)?void 0:n.billing_period)});return(i,a)=>(e.openBlock(),e.createBlock(e.unref(n.ContentWithAsideLayout),{class:"sv-subscription-management sv-root sv-screen"},{header:e.withCtx(()=>[e.createElementVNode("div",B,[e.createVNode(e.unref(t._sfc_main$3),{variant:"heading-2",tag:"h1",class:"sv-subscription-management__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(F.value),1)]),_:1})])]),content:e.withCtx(()=>{var t,n;return[J.value?(e.openBlock(),e.createBlock(P,{key:0,class:"sv-subscription-management__success","pricing-group-name":null==(t=D.value)?void 0:t.name},null,8,["pricing-group-name"])):e.unref(L)?(e.openBlock(),e.createBlock(v._sfc_main,{key:1,variant:"section",class:"min-h-[220px]"})):D.value&&Z.value?(e.openBlock(),e.createBlock(b,{key:2,"enabled-pricing-ids":U.value,"onUpdate:enabledPricingIds":a[0]||(a[0]=e=>U.value=e),"payment-method-id":G.value,"onUpdate:paymentMethodId":a[1]||(a[1]=e=>G.value=e),class:"sv-subscription-management__form","pricing-group":D.value,"payment-methods":e.unref(j),"payment-method-options":e.unref(E),"billing-period":Z.value,currency:null==(n=e.unref(C))?void 0:n.billing_currency,onAddPaymentMethod:a[2]||(a[2]=e=>T.value=!0)},null,8,["enabled-pricing-ids","payment-method-id","pricing-group","payment-methods","payment-method-options","billing-period","currency"])):e.createCommentVNode("",!0),e.createVNode(k,{"show-modal":T.value,customer:e.unref(O),"payment-method-options":e.unref(E),onSuccess:q,onClose:a[3]||(a[3]=e=>T.value=!1)},null,8,["show-modal","customer","payment-method-options"])]}),aside:e.withCtx(()=>[J.value?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{key:0,size:"lg",class:"sv-action sv-action--primary sv-action--full-width sv-subscription-management__done w-full",type:"button",onClick:a[4]||(a[4]=t=>e.unref(M)({action:"navigate-to-customer-overview"}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h)({defaultMessage:"Done",id:"subscription_management.done_button.label",description:"Label of the button that leaves the manage subscription screen once the change is committed"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(w,{class:"sv-subscription-management__summary",invoice:e.unref(R),"is-pending":e.unref(L)||e.unref(z),"has-error":Boolean(e.unref(W))},null,8,["invoice","is-pending","has-error"]),H.value?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$10),{key:0,class:"sv-subscription-management__update-error sv-error",title:H.value},null,8,["title"])):e.createCommentVNode("",!0),e.createElementVNode("div",I,[e.createVNode(e.unref(t._sfc_main$1),{size:"lg",class:"sv-action sv-action--primary sv-action--full-width sv-subscription-management__update w-full",type:"button",disabled:!Q.value,loading:K.value,onClick:X},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h)({defaultMessage:"Update subscription",id:"subscription_management.update_button.label",description:"Label of the button that commits the subscription change"})),1)]),_:1},8,["disabled","loading"]),e.createVNode(p._sfc_main$1,{class:"sv-subscription-management__kpi","payment-method-options":e.unref(E)},null,8,["payment-method-options"])])],64))]),_:1}))}}),N=e.defineComponent({__name:"SubscriptionManagement.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup:t=>(n,a)=>{var o,s,r,l;return e.openBlock(),e.createBlock(i._sfc_main,{"custom-element-name":e.unref(x),environment:t.environment,locale:t.locale,"portal-object":t.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(s=null==(o=t.branding)?void 0:o.colors)?void 0:s.primary,"secondary-color":null==(l=null==(r=t.branding)?void 0:r.colors)?void 0:l.secondary,"experimental-features":t.experimentalFeatures,"log-level":t.logLevel,"on-log":t.onLog,"css-overrides":t.cssOverrides,onError:a[0]||(a[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(C,{configuration:t.configuration},null,8,["configuration"])]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}),j=i.defineCustomElement(N),x=i.getComponentName("subscription-management");exports.COMPONENT_NAME=x,exports.SolvimonSubscriptionManagement=j,exports.defineSolvimonSubscriptionManagement=()=>{customElements.get(x)||customElements.define(x,j)};
@@ -1 +0,0 @@
1
- .to-right-enter-active[data-v-c0f85806],.to-right-leave-to[data-v-c0f85806]{opacity:0;transform:translate(-10px)}.to-right-leave[data-v-c0f85806],.to-right-enter-to[data-v-c0f85806]{opacity:1;transform:translate(0)}.to-right-enter-active[data-v-c0f85806],.to-right-leave-active[data-v-c0f85806]{transition:all .25s}.to-left-enter-active[data-v-c0f85806],.to-left-leave-to[data-v-c0f85806]{opacity:0;transform:translate(10px)}.to-left-leave[data-v-c0f85806],.to-left-enter-to[data-v-c0f85806]{opacity:1;transform:translate(0)}.to-left-enter-active[data-v-c0f85806],.to-left-leave-active[data-v-c0f85806]{transition:all .25s}.to-top-enter-active[data-v-c0f85806],.to-top-leave-to[data-v-c0f85806]{opacity:0;transform:translateY(10px)}.to-top-leave[data-v-c0f85806],.to-top-enter-to[data-v-c0f85806]{opacity:1;transform:translateY(0)}.to-top-enter-active[data-v-c0f85806],.to-top-leave-active[data-v-c0f85806]{transition:all .25s}.to-bottom-enter-active[data-v-c0f85806],.to-bottom-leave-to[data-v-c0f85806]{opacity:0;transform:translateY(-10px)}.to-bottom-leave[data-v-c0f85806],.to-bottom-enter-to[data-v-c0f85806]{opacity:1;transform:translateY(0)}.to-bottom-enter-active[data-v-c0f85806],.to-bottom-leave-active[data-v-c0f85806]{transition:all .25s}.expand{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-in-out}.expand--open{grid-template-rows:1fr}.expand__inner{overflow:hidden;min-height:0}@media print{.expand{grid-template-rows:1fr}.expand__inner{overflow:visible}}@media print{.card-print-avoid[data-v-561cca98]{break-inside:avoid-page;page-break-inside:avoid}}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;background:transparent;margin:.5rem 0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1rem;height:1rem;border:2px solid rgb(229 231 235);border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;cursor:pointer;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}input[type=range]:disabled::-webkit-slider-thumb{cursor:not-allowed}input[type=range]::-moz-range-thumb{-moz-appearance:none;-webkit-appearance:none;appearance:none;width:1rem;height:1rem;border:2px solid rgb(229 231 235);border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;cursor:pointer;-moz-transition:all .1s ease-in-out;transition:all .1s ease-in-out}input[type=range]:disabled::-moz-range-thumb{cursor:not-allowed}input[type=range]:not(:disabled):hover::-webkit-slider-thumb{box-shadow:0 0 0 6px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]:not(:disabled):hover::-moz-range-thumb{box-shadow:0 0 0 6px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]:not(:disabled):active::-webkit-slider-thumb{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]:not(:disabled):active::-moz-range-thumb{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]::-webkit-slider-runnable-track{width:100%;height:.5rem;cursor:pointer;background:linear-gradient(to right,var(--color-primary-600) var(--range-percentage, 0%),#e0e5eb var(--range-percentage, 0%));border-radius:.25rem}input[type=range]:disabled::-webkit-slider-runnable-track{background:#e0e5eb;cursor:not-allowed}input[type=range]::-moz-range-track{width:100%;height:.5rem;cursor:pointer;background:linear-gradient(to right,var(--color-primary-600) var(--range-percentage, 0%),#e0e5eb var(--range-percentage, 0%));border-radius:.25rem}input[type=range]:disabled::-moz-range-track{background:#e0e5eb;cursor:not-allowed}input[type=range].range-sm::-webkit-slider-thumb{width:.8rem;height:.8rem;margin-top:-.2rem}input[type=range].range-sm::-moz-range-thumb{width:.8rem;height:.8rem}input[type=range].range-sm::-webkit-slider-runnable-track{height:.4rem;border-radius:.2rem}input[type=range].range-sm::-moz-range-track{height:.4rem;border-radius:.2rem}input[type=range].range-md::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem}input[type=range].range-md::-moz-range-thumb{width:1rem;height:1rem}input[type=range].range-md::-webkit-slider-runnable-track{height:.5rem;border-radius:.25rem}input[type=range].range-md::-moz-range-track{height:.5rem;border-radius:.25rem}input[type=range].range-lg::-webkit-slider-thumb{width:1.4rem;height:1.4rem;margin-top:-.35rem}input[type=range].range-lg::-moz-range-thumb{width:1.4rem;height:1.4rem}input[type=range].range-lg::-webkit-slider-runnable-track{height:.7rem;border-radius:.35rem}input[type=range].range-lg::-moz-range-track{height:.7rem;border-radius:.35rem}input[type=range].range-xl::-webkit-slider-thumb{width:1.8rem;height:1.8rem;margin-top:-.5rem}input[type=range].range-xl::-moz-range-thumb{width:1.8rem;height:1.8rem}input[type=range].range-xl::-webkit-slider-runnable-track{height:.9rem;border-radius:.45rem}input[type=range].range-xl::-moz-range-track{height:.9rem;border-radius:.45rem}thead th:first-of-type,tr td:first-of-type{position:sticky;left:0;background:inherit;z-index:2}thead th:last-of-type,tr td:last-of-type{position:sticky;right:0;background:inherit;z-index:2}@media print{.card-header-print-root[data-v-fd2a04c5]{-moz-column-break-after:avoid;break-after:avoid-page;page-break-after:avoid}}@media print{.collapsible-card-print-root[data-v-1072aa4b],.collapsible-card-print-content[data-v-1072aa4b]{-moz-column-break-inside:auto;break-inside:auto;page-break-inside:auto}.collapsible-card-print-content[data-v-1072aa4b]{display:block!important}}.collapsible-list-item-content[data-v-333bc619]{content-visibility:auto}@media print{.collapsible-list-item-content[data-v-333bc619]{content-visibility:visible;display:block!important}}.tiptap h1,.editor-content-typography h1{margin-top:0;font-size:2.1428571em;font-weight:700;line-height:1.2}.tiptap h2,.editor-content-typography h2{margin-top:0;font-size:1.5em;font-weight:700;line-height:1.3333333}.tiptap h3,.editor-content-typography h3{margin-top:0;font-size:1.2857143em;font-weight:600;line-height:1.4444444}.tiptap h4,.editor-content-typography h4{margin-top:0;font-size:1.1em;font-weight:600;line-height:1.4444444}.tiptap p,.editor-content-typography p{margin-top:0;line-height:1.45;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.tiptap ul,.tiptap ol,.editor-content-typography ul,.editor-content-typography ol{margin-top:0;padding-left:1.625em}.tiptap ul,.editor-content-typography ul{list-style-type:disc}.tiptap ol,.editor-content-typography ol{list-style-type:decimal}.tiptap li,.editor-content-typography li{margin-top:.2em;line-height:1.45;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.tiptap blockquote,.editor-content-typography blockquote{margin-bottom:1rem;margin-top:0;border-left-width:3px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));padding-left:.875rem;font-style:italic;line-height:1.45;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.tiptap blockquote p,.editor-content-typography blockquote p{margin-bottom:0;color:inherit}.tiptap pre,.editor-content-typography pre{margin-bottom:1rem;margin-top:0;white-space:pre-wrap;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875em;line-height:1.5;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.tiptap pre code,.editor-content-typography pre code{background-color:transparent;padding:0;color:inherit}.tiptap code:not(pre code),.editor-content-typography code:not(pre code){border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1));padding:.125rem .25rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875em;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.tiptap a,.editor-content-typography a{color:var(--color-primary-600);text-decoration-line:none}.tiptap a:hover,.editor-content-typography a:hover{text-decoration-line:underline}.tiptap>*:last-child,.editor-content-typography *:last-child{margin-bottom:0}[data-v-19945196] .tiptap .is-empty:before{content:attr(data-placeholder);float:left;height:0;pointer-events:none;font-weight:400;font-style:italic;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.modal-enter-active[data-v-345d512d]{transition:opacity .25s ease-out}.modal-leave-active[data-v-345d512d]{transition:opacity .2s ease-in}.modal-enter-from[data-v-345d512d],.modal-leave-to[data-v-345d512d]{opacity:0}.modal-enter-active .modal-panel[data-v-345d512d]{transition:transform .25s cubic-bezier(.16,1,.3,1)}.modal-leave-active .modal-panel[data-v-345d512d]{transition:transform .2s ease-in}.modal-enter-from .modal-panel[data-v-345d512d],.modal-leave-to .modal-panel[data-v-345d512d]{transform:translateY(1rem)}@media(prefers-reduced-motion:reduce){.modal-enter-active .modal-panel[data-v-345d512d],.modal-leave-active .modal-panel[data-v-345d512d]{transition:none}.modal-enter-from .modal-panel[data-v-345d512d],.modal-leave-to .modal-panel[data-v-345d512d]{transform:none}}.animated-gradient[data-v-f1f0dadf]{background:repeating-linear-gradient(to right,#fff0,#ffffffbf,#fff0);width:100%;background-size:200% auto;background-position:0 100%;animation:gradient-f1f0dadf 2s infinite;animation-fill-mode:forwards;animation-timing-function:linear}@keyframes gradient-f1f0dadf{0%{background-position:0 0}to{background-position:-200% 0}}@media print{.tiered-rule-header[data-v-2d2501dc]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}.tiered-table-print-wrapper[data-v-2d2501dc]{-moz-column-break-inside:auto;break-inside:auto;page-break-inside:auto}.tiered-table-print thead[data-v-2d2501dc]{display:table-header-group}.tiered-table-print-row[data-v-2d2501dc]{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}}.conditions-with-context-menu[data-v-48a7a4db]{padding-right:3rem}@media print{.pricing-item-heading[data-v-24491e06]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}.pricing-item-block[data-v-24491e06]{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}}@media print{.section-label[data-v-2ae5b045]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}}@media print{.category-heading[data-v-28988ce7]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}[data-v-28988ce7] .collapsible-card-print-root .card-header-print-root{border-bottom-width:0}}@media print{[data-v-8abb6425] .card-surface{box-shadow:none!important;border-color:#e5e7eb!important}}.slide-left-enter-active[data-v-1a3d5742],.slide-left-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-left-enter-from[data-v-1a3d5742],.slide-left-leave-to[data-v-1a3d5742]{opacity:0;transform:translate(30px)}.slide-right-enter-active[data-v-1a3d5742],.slide-right-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-right-enter-from[data-v-1a3d5742],.slide-right-leave-to[data-v-1a3d5742]{opacity:0;transform:translate(-30px)}.slide-top-enter-active[data-v-1a3d5742],.slide-top-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-top-enter-from[data-v-1a3d5742],.slide-top-leave-to[data-v-1a3d5742]{opacity:0;transform:translateY(30px)}.slide-bottom-enter-active[data-v-1a3d5742],.slide-bottom-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-bottom-enter-from[data-v-1a3d5742],.slide-bottom-leave-to[data-v-1a3d5742]{opacity:0;transform:translateY(-30px)}.fade-enter-active[data-v-1a3d5742],.fade-leave-active[data-v-1a3d5742]{transition:all .5s ease}.fade-enter-from[data-v-1a3d5742],.fade-leave-to[data-v-1a3d5742]{opacity:0}