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

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 (500) hide show
  1. package/README.md +151 -17
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  4. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  5. package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
  7. package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  8. package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
  9. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  10. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  11. package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
  12. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  13. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  14. package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  15. package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  16. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
  17. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  18. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
  19. package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  20. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  21. package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  22. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  23. package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  24. package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  25. package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
  26. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
  27. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
  28. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  29. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  30. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  31. package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  32. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  33. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  34. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
  35. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  36. package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  37. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
  38. package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  39. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
  40. package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
  41. package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
  42. package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  43. package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  44. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
  45. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
  46. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
  47. package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
  48. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  49. package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
  50. package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  51. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
  52. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  53. package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  54. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  55. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  56. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  57. package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
  58. package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
  59. package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  60. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  61. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
  62. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
  63. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  64. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  65. package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  66. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  67. package/dist/amount-CondixVt.mjs +36 -0
  68. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  69. package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
  70. package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
  71. package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
  72. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
  73. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
  74. package/dist/components/Invoice/Invoice.mjs +2691 -227
  75. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
  76. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
  77. package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
  78. package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
  79. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
  80. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
  81. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
  82. package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
  83. package/dist/core/index.mjs +61 -95
  84. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  85. package/dist/customer-BIjC0CWJ.mjs +31 -0
  86. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  87. package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
  88. package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
  89. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  90. package/dist/formControl-BZQLHnOO.mjs +749 -0
  91. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  92. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  93. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  94. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  95. package/dist/index.es-CpmQmvOg.mjs +633 -0
  96. package/dist/index.mjs +2 -2
  97. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  98. package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
  99. package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
  100. package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
  101. package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
  102. package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
  103. package/dist/paymentMethods-B_82JGk_.mjs +77 -0
  104. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  105. package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
  106. package/dist/payments-BnxbzQUC.mjs +68 -0
  107. package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
  108. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  109. package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
  110. package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
  111. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  112. package/dist/screens/Checkout/Checkout.mjs +2 -2
  113. package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
  114. package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
  115. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
  116. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  117. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
  118. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  119. package/dist/sorting.es-CVyKw23D.mjs +77 -0
  120. package/dist/subscription-BhxoqwcT.mjs +83 -0
  121. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  122. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  123. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
  124. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
  125. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
  126. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
  127. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
  128. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  129. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  130. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  131. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  132. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  133. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
  134. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  135. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
  136. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
  137. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
  138. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
  139. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
  140. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  141. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
  142. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  143. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  144. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
  145. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
  146. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  147. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  148. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
  149. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
  150. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
  151. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
  152. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  154. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
  155. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
  156. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
  157. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
  158. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
  159. package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
  160. package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
  161. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  162. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
  163. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
  164. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
  165. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
  166. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
  167. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  168. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
  170. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
  171. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
  172. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
  173. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
  174. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
  175. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
  176. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
  177. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
  178. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
  179. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
  180. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
  181. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  182. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
  183. package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
  184. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
  185. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
  186. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
  187. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
  188. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
  189. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
  190. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
  191. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
  192. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
  193. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
  194. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
  195. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
  196. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
  197. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
  198. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
  199. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
  200. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
  201. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
  202. package/dist/types/public/core/action-request.types.d.ts +5 -0
  203. package/dist/types/public/core/registry.ce.d.ts +3 -3
  204. package/dist/types/public/core/registry.d.ts +0 -3
  205. package/dist/types/public/core/types.d.ts +5 -0
  206. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
  207. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
  208. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
  209. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
  210. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
  211. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
  212. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
  213. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
  214. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
  215. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
  216. package/dist/types/services/paymentMethods.types.d.ts +2 -10
  217. package/dist/types/services/requests.types.d.ts +16 -6
  218. package/dist/types/translations/supported.d.ts +1 -1
  219. package/dist/types/types/errors.d.ts +3 -2
  220. package/dist/types/types/portalAuthentication.d.ts +2 -0
  221. package/dist/types/types/portalToken.d.ts +9 -0
  222. package/dist/types/types/shippingAddress.d.ts +9 -0
  223. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  231. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  232. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  233. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
  234. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  235. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  236. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  237. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  238. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  239. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  240. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  241. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  242. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  243. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
  244. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  245. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  246. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  247. package/dist/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
  248. package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  249. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  250. package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
  251. package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
  252. package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
  253. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  254. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  255. package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
  256. package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
  257. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  258. package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
  259. package/dist/usePortal-CwR_FxTb.mjs +7 -0
  260. package/dist/useService-BZcbUZHI.mjs +56 -0
  261. package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  262. package/dist/useViewport-psZejz_H.mjs +19 -0
  263. package/package.json +33 -60
  264. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
  265. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
  266. package/dist/Alert.vue.es-RyK53a2P.js +0 -1
  267. package/dist/Amount.vue.es-DExaYBqm.js +0 -1
  268. package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
  269. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
  270. package/dist/Button.vue.es-BzkuglKw.js +0 -1
  271. package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
  272. package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
  273. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
  274. package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
  275. package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
  276. package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
  277. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  278. package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
  279. package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
  280. package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
  281. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
  282. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
  283. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
  284. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
  285. package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
  286. package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
  287. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
  288. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
  289. package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
  290. package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
  291. package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
  292. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  293. package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
  294. package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
  295. package/dist/Input.vue.es-B60eK8Ds.js +0 -1
  296. package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
  297. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
  298. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
  299. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
  300. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
  301. package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
  302. package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
  303. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
  304. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
  305. package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
  306. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
  307. package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
  308. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
  309. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
  310. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
  311. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
  312. package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
  313. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
  314. package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
  315. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
  316. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
  317. package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
  318. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
  319. package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
  320. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
  321. package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
  322. package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
  323. package/dist/Section.vue.es-Bbt0RITt.js +0 -1
  324. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
  325. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
  326. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
  327. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
  328. package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
  329. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
  330. package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
  331. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
  332. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
  333. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
  334. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
  335. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
  336. package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
  337. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
  338. package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
  339. package/dist/accel.svg.es-DFJXdioD.js +0 -1
  340. package/dist/ach.svg.es-BYP873jU.js +0 -1
  341. package/dist/adyen-BJfC7N6f.js +0 -1
  342. package/dist/adyenSdk-BP2XXzeJ.js +0 -1
  343. package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
  344. package/dist/amex.svg.es-DKhW4Txt.js +0 -1
  345. package/dist/api.es-duCDtZD9.js +0 -1
  346. package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
  347. package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
  348. package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
  349. package/dist/carnet.svg.es-DY04-F2L.js +0 -1
  350. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
  351. package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
  352. package/dist/cn.es-C9Yqq4tg.js +0 -1
  353. package/dist/comparators.es-OGt19O9U.js +0 -1
  354. package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
  355. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
  356. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
  357. package/dist/components/Invoice/Invoice.cjs +0 -1
  358. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
  359. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
  360. package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
  361. package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
  362. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
  363. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
  364. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
  365. package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
  366. package/dist/configuration-akTS7Wiw.js +0 -1
  367. package/dist/core/index.cjs +0 -1
  368. package/dist/countryData.es-C4jHBzfo.js +0 -1
  369. package/dist/customElements-B58FcXIN.mjs +0 -6633
  370. package/dist/customElements-DUMRMFQ5.js +0 -1215
  371. package/dist/customer-B3LPAhaD.mjs +0 -31
  372. package/dist/customer-CisTPaXj.js +0 -1
  373. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  374. package/dist/customer.es-BButyYo0.js +0 -1
  375. package/dist/dana.svg.es-BDtZLpwd.js +0 -1
  376. package/dist/dankort.svg.es-CksaipXF.js +0 -1
  377. package/dist/de-DE-B4TUdnUf.js +0 -1
  378. package/dist/de-DE-DL74pMLb.js +0 -1
  379. package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
  380. package/dist/discover.svg.es-DgqWCMUM.js +0 -1
  381. package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
  382. package/dist/elo.svg.es-C-BzjuRP.js +0 -1
  383. package/dist/en-US-B2XFj-_p.js +0 -1
  384. package/dist/en-US-DQ5vlv9Z.mjs +0 -339
  385. package/dist/en-US-J85TQRI8.js +0 -1
  386. package/dist/en-US-SDhjlY_v.mjs +0 -301
  387. package/dist/eps.svg.es-B_85bP-W.js +0 -1
  388. package/dist/error-BHVZJGwD.mjs +0 -13
  389. package/dist/error-CmduqgVq.js +0 -1
  390. package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
  391. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  392. package/dist/formControl-ODrpUvcA.js +0 -1
  393. package/dist/formControl-dX7l8o3c.mjs +0 -845
  394. package/dist/formatting.es-C72Nsrmh.js +0 -1
  395. package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
  396. package/dist/getComposedString.es-haS4bAj7.js +0 -1
  397. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
  398. package/dist/girocard.svg.es-HSOEvDif.js +0 -1
  399. package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
  400. package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
  401. package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
  402. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  403. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
  404. package/dist/ideal.svg.es-Booz1IML.js +0 -1
  405. package/dist/index-BPZPnOQQ.js +0 -7
  406. package/dist/index.cjs +0 -1
  407. package/dist/index.es-BclokHQX.js +0 -1
  408. package/dist/invoices-CKQBLar2.js +0 -1
  409. package/dist/it-IT-CSYvGmpT.js +0 -1
  410. package/dist/it-IT-CqNK62qe.js +0 -1
  411. package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
  412. package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
  413. package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
  414. package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
  415. package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
  416. package/dist/momo.svg.es-C5aLYf_R.js +0 -1
  417. package/dist/nl-NL-CpE4IgwO.js +0 -1
  418. package/dist/nl-NL-Dx-TNXQ1.js +0 -1
  419. package/dist/nyce.svg.es-ArAivAZW.js +0 -1
  420. package/dist/object.es-CdriXMPs.js +0 -1
  421. package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
  422. package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
  423. package/dist/paymentFailure-Cki8c5BX.js +0 -1
  424. package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
  425. package/dist/paymentMethods-Cw-i95mM.js +0 -1
  426. package/dist/payments-2qeQdpiW.mjs +0 -45
  427. package/dist/payments-CS7_YcOW.js +0 -1
  428. package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
  429. package/dist/pricing-BOqG21f9.js +0 -1
  430. package/dist/pricing.es-C07bgEZx.js +0 -1
  431. package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
  432. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
  433. package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
  434. package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
  435. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
  436. package/dist/pulse.svg.es-Dit33E8S.js +0 -1
  437. package/dist/screens/Checkout/Checkout.cjs +0 -1
  438. package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
  439. package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
  440. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
  441. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
  442. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
  443. package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
  444. package/dist/sessionReference-3h-6FdrC.mjs +0 -43
  445. package/dist/sessionReference-m_6Rp4X1.js +0 -1
  446. package/dist/slots.es-T9ZJRGtG.js +0 -1
  447. package/dist/sorting.es-DCihKqD2.mjs +0 -77
  448. package/dist/sorting.es-DQsjKr8A.js +0 -1
  449. package/dist/star.svg.es-D2JncY7b.js +0 -1
  450. package/dist/subscription-D1yHKUNc.mjs +0 -69
  451. package/dist/subscription-ZA62t4E9.js +0 -1
  452. package/dist/subscriptions-DcfcBYAq.mjs +0 -55
  453. package/dist/subscriptions-DwVsf4Ev.js +0 -1
  454. package/dist/trustly.svg.es-GJByiFAs.js +0 -1
  455. package/dist/twint.svg.es-BJ2f48og.js +0 -1
  456. package/dist/typeGuards.es-DS3vZaJn.js +0 -1
  457. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
  458. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
  459. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
  460. package/dist/types/services/portals.types.d.ts +0 -70
  461. package/dist/types/types/subscription.d.ts +0 -4
  462. package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
  463. package/dist/url-TNRgVI8A.mjs +0 -21
  464. package/dist/url-vloPOiXd.js +0 -1
  465. package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
  466. package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
  467. package/dist/useCustomer-BwZKd9i5.js +0 -1
  468. package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
  469. package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
  470. package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
  471. package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
  472. package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
  473. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
  474. package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
  475. package/dist/useInvoiceData-CNV_FMV8.js +0 -1
  476. package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
  477. package/dist/useInvoicesList-S0IbQcrD.js +0 -1
  478. package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
  479. package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
  480. package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
  481. package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
  482. package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
  483. package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
  484. package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
  485. package/dist/usePayments-DDSjo0rH.js +0 -1
  486. package/dist/usePortal-C27omjhz.js +0 -1
  487. package/dist/usePortal-C5AsegpS.mjs +0 -11
  488. package/dist/useService-Bh47bllz.mjs +0 -50
  489. package/dist/useService-H7BjLg8P.js +0 -1
  490. package/dist/useSubscription-BZJL0VOA.mjs +0 -210
  491. package/dist/useSubscription-D787IXY-.js +0 -1
  492. package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
  493. package/dist/useViewport-BgdA2PPt.mjs +0 -29
  494. package/dist/useViewport-hPRVDWCm.js +0 -1
  495. package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
  496. package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
  497. package/dist/visa.svg.es-NY3BHhda.js +0 -1
  498. package/dist/vpay.svg.es-VViQi42w.js +0 -1
  499. package/dist/wallets.es-CNIMW5ay.js +0 -1
  500. package/dist/zip.svg.es-C9S_F31W.js +0 -1
@@ -1,41 +0,0 @@
1
- import { defineComponent as y, useSlots as v, computed as f, renderSlot as g, openBlock as t, createElementBlock as s, Fragment as i, mergeProps as n, createElementVNode as d, normalizeClass as m, isVNode as c, Comment as p, Text as b } from "vue";
2
- const h = /* @__PURE__ */ y({
3
- __name: "Skeleton",
4
- props: {
5
- variant: { type: String },
6
- class: { type: String },
7
- dataTestid: { type: String }
8
- },
9
- setup(l) {
10
- const o = v(), a = (e) => {
11
- if (e == null || e === !1) return !0;
12
- if (typeof e == "string" || typeof e == "number")
13
- return String(e).trim().length === 0;
14
- if (Array.isArray(e))
15
- return e.every(a);
16
- if (!c(e)) return !1;
17
- const r = e;
18
- return r.type === p ? !0 : r.type === b ? typeof r.children == "string" ? !r.children.trim() : !0 : r.type === i ? r.children == null ? !0 : Array.isArray(r.children) ? r.children.every(a) : !1 : !1;
19
- }, u = f(() => {
20
- if (!o.default) return !1;
21
- const e = o.default({});
22
- return !e || e.length === 0 ? !1 : !e.every(a);
23
- });
24
- return (e, r) => u.value ? g(e.$slots, "default", {}, void 0, void 0, 0) : (t(), s(i, { key: 1 }, [
25
- l.variant === "title" ? (t(), s("div", n({ key: 0 }, e.$attrs, { class: "sv-skeleton sv-skeleton--title h-6 w-40 rounded border border-gray-50 bg-gray-50/50" }), null, 16)) : l.variant === "divider-text" ? (t(), s("div", n({ key: 1 }, e.$attrs, { class: "sv-skeleton sv-skeleton--divider-text mx-auto h-4 w-12 rounded border border-gray-50 bg-gray-50/50" }), null, 16)) : l.variant === "section" ? (t(), s("div", n({ key: 2 }, e.$attrs, { class: "sv-skeleton sv-skeleton--section" }), [
26
- r[0] || (r[0] = d("div", { class: "sv-skeleton__title h-6 w-40 rounded border border-gray-50 bg-gray-50/50" }, null, -1)),
27
- d("div", {
28
- class: m([
29
- "sv-skeleton__body mt-1 rounded border border-gray-50 bg-gray-50/50 md:mt-2",
30
- e.$props.class
31
- ])
32
- }, null, 2)
33
- ], 16)) : (t(), s("div", n({ key: 3 }, e.$attrs, {
34
- class: ["sv-skeleton rounded border border-gray-50 bg-gray-50/50", e.$props.class]
35
- }), null, 16))
36
- ], 64));
37
- }
38
- });
39
- export {
40
- h as _
41
- };
@@ -1 +0,0 @@
1
- const e=require("vue"),a=e.defineComponent({__name:"Skeleton",props:{variant:{type:String},class:{type:String},dataTestid:{type:String}},setup(n){const l=e.useSlots(),s=r=>{if(r==null||r===!1)return!0;if(typeof r=="string"||typeof r=="number")return String(r).trim().length===0;if(Array.isArray(r))return r.every(s);if(!e.isVNode(r))return!1;const t=r;return t.type===e.Comment?!0:t.type===e.Text?typeof t.children=="string"?!t.children.trim():!0:t.type===e.Fragment?t.children==null?!0:Array.isArray(t.children)?t.children.every(s):!1:!1},o=e.computed(()=>{if(!l.default)return!1;const r=l.default({});return!r||r.length===0?!1:!r.every(s)});return(r,t)=>o.value?e.renderSlot(r.$slots,"default",{},void 0,void 0,0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[n.variant==="title"?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0},r.$attrs,{class:"sv-skeleton sv-skeleton--title h-6 w-40 rounded border border-gray-50 bg-gray-50/50"}),null,16)):n.variant==="divider-text"?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},r.$attrs,{class:"sv-skeleton sv-skeleton--divider-text mx-auto h-4 w-12 rounded border border-gray-50 bg-gray-50/50"}),null,16)):n.variant==="section"?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:2},r.$attrs,{class:"sv-skeleton sv-skeleton--section"}),[t[0]||(t[0]=e.createElementVNode("div",{class:"sv-skeleton__title h-6 w-40 rounded border border-gray-50 bg-gray-50/50"},null,-1)),e.createElementVNode("div",{class:e.normalizeClass(["sv-skeleton__body mt-1 rounded border border-gray-50 bg-gray-50/50 md:mt-2",r.$props.class])},null,2)],16)):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},r.$attrs,{class:["sv-skeleton rounded border border-gray-50 bg-gray-50/50",r.$props.class]}),null,16))],64))}});exports._sfc_main=a;
@@ -1 +0,0 @@
1
- const e=require("vue"),f=require("./IconButton.vue.es-DgQN18Am.js"),V=require("./Input.vue.es-B60eK8Ds.js"),v=require("./customElements-DUMRMFQ5.js"),C=require("./Chip.vue.es-B2jjzIOc.js"),N=e.defineComponent({__name:"DeltaChip",props:{oldValue:{},newValue:{},intent:{default:"neutral"},content:{},removable:{type:Boolean},size:{},variant:{},textClass:{},tag:{},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},setup(n){const l=e.createPropsRestProxy(n,["oldValue","newValue","intent"]),o=e.computed(()=>{const i=n.newValue-n.oldValue;return`${i>=0?"+":""}${i}`});return(i,d)=>(e.openBlock(),e.createBlock(e.unref(C._sfc_main),e.mergeProps(l,{intent:n.intent,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},16,["intent"]))}}),y={class:"flex items-center gap-1.5"},B=e.defineComponent({__name:"StepInput",props:e.mergeModels({step:{default:1},min:{default:0},max:{},initialValue:{default:1},unitName:{},showDelta:{type:Boolean,default:!1},size:{default:"md"},name:{},required:{type:Boolean},label:{},error:{},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const l=n,o=e.useModel(n,"modelValue"),i=e.ref(null),d=e.computed(()=>{if(l.unitName)return l.unitName[o.value===1?"singular":"plural"]}),b=()=>{l.max&&o.value+l.step>l.max||(o.value+=l.step)},x=()=>{o.value-l.step<l.min||(o.value-=l.step)};function m(a){var t;const s=(t=i.value)==null?void 0:t.el;if(!s)return;const u=parseInt(`${a}`);o.value=u,s.innerText=`${u}`,s.focus();const c=document.createRange();c.selectNodeContents(s),c.collapse(!1);const r=window.getSelection();r==null||r.removeAllRanges(),r==null||r.addRange(c)}const p=a=>{const t=a.target;t instanceof HTMLElement&&!Number.isNaN(parseInt(t.innerText))&&m(t.innerText)},w=()=>{var a;const t=(a=i.value)==null?void 0:a.el;if(!t)return;const s=parseInt(t.innerText);(Number.isNaN(s)||s<l.min)&&(o.value=l.min,t.innerText=`${l.min}`)},g=e.computed(()=>l.disabled?!1:l.max?o.value+l.step<l.max:!0),h=e.computed(()=>l.disabled?!1:o.value-l.step>=l.min);function z(){var a;const t=(a=i.value)==null?void 0:a.el;if(!t)return;t.focus();const s=document.createRange();s.selectNodeContents(t);const u=window.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(s)}return e.onMounted(()=>{var a;const t=(a=i.value)==null?void 0:a.el;t&&(t.innerText=`${o.value}`)}),e.watch(()=>o.value,a=>{var t,s;((s=(t=i.value)==null?void 0:t.el)==null?void 0:s.innerText)!==`${a}`&&m(a)}),(a,t)=>(e.openBlock(),e.createBlock(V._sfc_main,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=s=>o.value=s),type:"number",class:"text-transparent [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none","prefix-class":{"!px-0 w-5":n.size==="sm","!px-0 w-6":n.size==="md","!px-0 w-7":n.size==="lg"},"suffix-class":{"!px-0 w-5":n.size==="sm","!px-0 w-6":n.size==="md","!px-0 w-7":n.size==="lg"},size:n.size,label:n.label,disabled:n.disabled,name:n.name,required:n.required,error:n.error},e.createSlots({prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute inset-0 flex items-center justify-center",onMousedown:z},[e.createElementVNode("div",y,[e.createVNode(v._sfc_main,{ref_key:"contentEditableRef",ref:i,tag:"span",variant:n.size==="sm"?"body":"body-lg",contenteditable:!n.disabled,class:e.normalizeClass(["outline-none",{"pointer-events-none select-none":n.disabled}]),weight:"semibold",onInput:p,onBlur:w},null,8,["variant","contenteditable","class"]),d.value?(e.openBlock(),e.createBlock(v._sfc_main,{key:0,tag:"span",color:"subtle",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(d.value),1)]),_:1})):e.createCommentVNode("",!0),n.showDelta?(e.openBlock(),e.createBlock(N,{key:1,"old-value":l.initialValue,"new-value":o.value,class:"pointer-events-none ml-0.5 select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(f._sfc_main,{disabled:!h.value,type:"button",intent:"subtle",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-br-none rounded-tr-none",{"!w-7":n.size==="lg","!w-5":n.size==="sm","!w-6":n.size==="md"}]),icon:"remove",onMousedown:x},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(f._sfc_main,{disabled:!g.value,type:"button",intent:"subtle",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-bl-none rounded-tl-none",{"!w-7":n.size==="lg","!w-5":n.size==="sm","!w-6":n.size==="md"}]),icon:"add",onMousedown:b},null,8,["disabled","class"])]),_:2},[a.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required","error"]))}});exports._sfc_main=B;
@@ -1 +0,0 @@
1
- const e=require("vue"),F=require("./Alert.vue.es-RyK53a2P.js"),D=require("./Button.vue.es-BzkuglKw.js"),L=require("./ErrorNotification.vue.es-tS9vySUZ.js"),m=require("./customElements-DUMRMFQ5.js"),j=require("./ContentWithAsideLayout-RSdKXqAf.js"),O=require("./useActionDispatchProvider-DFhppdve.js"),E=require("./subscription-ZA62t4E9.js"),$=require("./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js"),W=require("./CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js"),Y=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js"),z=require("./Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),M=require("./Section.vue.es-Bbt0RITt.js"),X=require("./pricing-BOqG21f9.js"),P=require("./formatting.es-C72Nsrmh.js"),G=require("./PaymentMethod.vue.es-D0D9jW8s.js"),H=require("./Modal.vue.es-DvLB3uCG.js"),Z=require("./subscriptions-DwVsf4Ev.js"),J=require("./SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js"),K=require("./api.es-duCDtZD9.js"),Q=require("./useIncrementalLoading-CaWOE8Xl.js"),ee=require("./paymentMethods-Cw-i95mM.js"),te=require("./error-CmduqgVq.js"),ne=require("./useSubscription-D787IXY-.js"),ie=require("./useCustomer-BwZKd9i5.js"),ae=require("./usePaymentMethods-DDaTZQZp.js"),oe=require("./useLoadInitialData-D_R6Jy1s.js"),se=require("./pricingPlanSchedules-B_sTAIgU.js"),re=require("./useService-H7BjLg8P.js"),ce=require("./pricingPlanSchedule-BM8vsKkV.js"),A=require("./getComposedString.es-haS4bAj7.js"),q=require("./pricing.es-C07bgEZx.js"),le=require("./pricingItemConfigs.es-D4aYkYcf.js"),de=require("./sessionReference-m_6Rp4X1.js"),R=()=>{const{$t:t}=m.useIntl();return{getPriceLabel:n=>{if(!n.price)return;const i=P.formatAmount(n.price);return n.priceType==="FIXED"?i:t({defaultMessage:"{price} per unit",description:"The listed price of an on-demand item charged per unit",id:"charge_on_demand.item.price_per_unit"},{price:i})}}};function ue({subscription:t}){const{dispatchAction:a}=O.useActionDispatchProvider(),n=e.computed(()=>{if(!t.value)return!1;const l=t.value.inactive_periods;return!l||l.length===0}),i=e.computed(()=>{var g;const l=(g=t.value)==null?void 0:g.inactive_periods;return Array.isArray(l)&&l.length>0}),o=e.ref();return{isCancellable:n,isRenewable:i,pendingVariant:o,cancel:()=>{t.value&&(o.value="CANCEL")},renew:()=>{t.value&&(o.value="RENEW")},dismiss:()=>{o.value=void 0},manage:()=>{t.value&&a({action:"manage-subscription",data:{subscriptionId:t.value.id}})}}}function pe(t){var i,o,s,c,r,f,l;const a=(s=(o=(i=t.items)==null?void 0:i[0])==null?void 0:o.configs)==null?void 0:s[0],n=(r=(c=a==null?void 0:a.details)==null?void 0:c.bands)==null?void 0:r[0];return{amount:(n==null?void 0:n.amount)??(n==null?void 0:n.fixed_amount),billingPeriod:((f=a==null?void 0:a.details)==null?void 0:f.pricing_period)??((l=a==null?void 0:a.details)==null?void 0:l.billing_period)}}function me(t){var i,o,s;const a=new Set((((i=t.pricing_plan_schedule)==null?void 0:i.enabled_pricings)??[]).map(({pricing_id:c})=>c));return a.size===0?[]:(((s=(o=t.pricing_plan_version)==null?void 0:o.pricing_categories)==null?void 0:s.flatMap(c=>c.pricing_groups??[]))??[]).flatMap(c=>(c.pricings??[]).filter(r=>a.has(r.id)).map(r=>({pricingId:r.id,pricingGroupId:c.id,groupName:c.name,name:X.getNameFromPricing(r)||c.name,...pe(r)})))}const fe={class:"sv-enabled-pricings-list__item-body flex items-center gap-4"},ge={class:"sv-enabled-pricings-list__item-content grow"},be=e.defineComponent({__name:"EnabledPricingsListItem",props:{entry:{type:Object}},emits:["upgrade"],setup(t){const a=t,{$t:n}=m.useIntl(),i=e.computed(()=>{const{amount:o,billingPeriod:s}=a.entry;if(o)return s?n({defaultMessage:"{amount} per {period}",id:"enabled_pricings_list.item.price",description:'The recurring price of an enabled pricing, e.g. "€ 100,00 per month"'},{amount:P.formatAmount(o),period:P.formatBillingPeriod(s,{short:!0,hideValueForExactPeriods:!0})}):P.formatAmount(o)});return(o,s)=>(e.openBlock(),e.createBlock(e.unref(M._sfc_main),{class:"sv-enabled-pricings-list__item"},{default:e.withCtx(()=>[e.createElementVNode("div",fe,[e.createElementVNode("div",ge,[e.createVNode(e.unref(m._sfc_main),{tag:"span",variant:"body-xs",color:"subtle",class:"sv-enabled-pricings-list__item-group"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.entry.groupName),1)]),_:1}),e.createVNode(e.unref(m._sfc_main),{tag:"h3",variant:"heading-3","no-spacing":"",class:"sv-enabled-pricings-list__item-name"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.entry.name),1)]),_:1}),i.value?(e.openBlock(),e.createBlock(e.unref(m._sfc_main),{key:0,tag:"span",variant:"body-sm",color:"subtle",class:"sv-enabled-pricings-list__item-price"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1})):e.createCommentVNode("",!0)]),e.createVNode(e.unref(D._sfc_main),{intent:"secondary",class:"sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",type:"button",size:"xs",onClick:s[0]||(s[0]=c=>o.$emit("upgrade",t.entry))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Upgrade",id:"enabled_pricings_list.item.upgrade_button.label",description:"Label for the button that changes which pricing is enabled for a group"})),1)]),_:1})])]),_:1}))}}),he={class:"sv-enabled-pricings-list__items grid grid-cols-1 gap-2"},_e=e.defineComponent({__name:"EnabledPricingsList",props:{pricingPlanSchedule:{type:Object}},emits:["upgrade"],setup(t){const a=t,{$t:n}=m.useIntl(),i=e.computed(()=>me(a.pricingPlanSchedule));return(o,s)=>i.value.length>0?(e.openBlock(),e.createBlock(e.unref(M._sfc_main),{key:0,class:"sv-enabled-pricings-list","content-background":"none","no-border":"","no-spacing":"",title:e.unref(n)({defaultMessage:"Upgrades",id:"enabled_pricings_list.title",description:"Title for the block listing the pricings enabled on a subscription"})},{default:e.withCtx(()=>[e.createElementVNode("div",he,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,c=>(e.openBlock(),e.createBlock(be,{key:c.pricingId,entry:c,onUpgrade:s[0]||(s[0]=r=>o.$emit("upgrade",r))},null,8,["entry"]))),128))])]),_:1},8,["title"])):e.createCommentVNode("",!0)}}),ve={class:"sv-on-demand-items-card__items grid grid-cols-1 gap-1"},ye={key:0,class:"sv-on-demand-items-card__more"},T=2,we=e.defineComponent({__name:"OnDemandItemsCard",props:{items:{type:Array}},emits:["order"],setup(t){const a=t,{$t:n}=m.useIntl(),{getPriceLabel:i}=R(),o=e.computed(()=>a.items.slice(0,T).map(c=>({item:c,priceLabel:i(c)}))),s=e.computed(()=>Math.max(a.items.length-T,0));return(c,r)=>(e.openBlock(),e.createBlock(e.unref(M._sfc_main),{class:"sv-on-demand-items-card","content-background":"none","no-border":"","no-spacing":"",title:e.unref(n)({defaultMessage:"Available on demand items",id:"on_demand_items_card.title",description:"Title for the block that offers the on-demand items of a subscription"})},{right:e.withCtx(()=>[e.createVNode(e.unref(D._sfc_main),{class:"sv-action sv-action--secondary sv-on-demand-items-card__order",type:"button",size:"sm",intent:"secondary",onClick:r[0]||(r[0]=f=>c.$emit("order"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Purchase",id:"on_demand_items_card.order_button.label",description:"Label for the button that opens the on-demand order form"})),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("ul",ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,({item:f,priceLabel:l})=>(e.openBlock(),e.createElementBlock("li",{key:f.pricingItemId,class:"sv-on-demand-items-card__item"},[e.createVNode(e.unref(M._sfc_main),{"no-spacing":"","content-classes":"flex flex-col px-4 py-3"},{default:e.withCtx(()=>[e.createVNode(e.unref(m._sfc_main),{tag:"span",weight:"semibold","no-spacing":"",class:"sv-on-demand-items-card__item-name break-words"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.name),1)]),_:2},1024),l?(e.openBlock(),e.createBlock(e.unref(m._sfc_main),{key:0,tag:"span",variant:"body-sm",color:"subtle","no-spacing":"",class:"sv-on-demand-items-card__item-price"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l),1)]),_:2},1024)):e.createCommentVNode("",!0)]),_:2},1024)]))),128)),s.value>0?(e.openBlock(),e.createElementBlock("li",ye,[e.createVNode(e.unref(M._sfc_main),{"no-spacing":"","content-classes":"px-4 py-3 text-center"},{default:e.withCtx(()=>[e.createVNode(e.unref(m._sfc_main),{tag:"span",weight:"semibold",color:"secondary","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"+ {count} available",id:"on_demand_items_card.more_available",description:"Shown below the first on-demand items with the number of items not listed"},{count:String(s.value)})),1)]),_:1})]),_:1})])):e.createCommentVNode("",!0)])]),_:1},8,["title"]))}});function Ce({variant:t,renewableUntil:a,billingPeriodEndsAt:n}){const{$t:i}=m.useIntl(),o=e.computed(()=>t.value==="RENEW"),s=e.computed(()=>o.value?i({defaultMessage:"Renew subscription",description:"Title of the renew subscription confirmation modal",id:"subscription_cancellation_modal.renew.title"}):i({defaultMessage:"Cancel subscription",description:"Title of the cancel subscription confirmation modal",id:"subscription_cancellation_modal.cancel.title"})),c=e.computed(()=>o.value?a.value?i({defaultMessage:"You can renew your subscription until {date}. After this period you can only create a new subscription.",description:"Explanation of the deadline for undoing a cancellation, shown in the renew subscription modal",id:"subscription_cancellation_modal.renew.explanation_with_date"},{date:a.value}):i({defaultMessage:"Your subscription will continue as before, and billing will resume on its usual schedule.",description:"Explanation of what happens when a cancellation is undone, shown in the renew subscription modal when no end date is known",id:"subscription_cancellation_modal.renew.explanation"}):n.value?i({defaultMessage:"Your subscription will be canceled, but you’ll continue to have access until {date}.",description:"Explanation of what happens when a running subscription is cancelled, naming the date access ends, shown in the cancel subscription modal",id:"subscription_cancellation_modal.cancel.explanation_with_date"},{date:n.value}):i({defaultMessage:"Your subscription will be canceled, but you’ll continue to have access until the end of the billing period.",description:"Explanation of what happens when a running subscription is cancelled, shown in the cancel subscription modal",id:"subscription_cancellation_modal.cancel.explanation"})),r=e.computed(()=>o.value?i({defaultMessage:"Renew subscription",description:"Label of the confirm button in the renew subscription modal",id:"subscription_cancellation_modal.renew.confirm_button.label"}):i({defaultMessage:"Cancel subscription",description:"Label of the confirm button in the cancel subscription modal",id:"subscription_cancellation_modal.cancel.confirm_button.label"})),f=e.computed(()=>i({defaultMessage:"Cancel",description:"Label of the button that dismisses the cancellation modal",id:"subscription_cancellation_modal.cancel_button.label"})),l=e.computed(()=>o.value?i({defaultMessage:"We could not renew your subscription. Please try again.",description:"Error shown when undoing a cancellation fails",id:"subscription_cancellation_modal.renew.error"}):i({defaultMessage:"We could not cancel your subscription. Please try again.",description:"Error shown when cancelling a subscription fails",id:"subscription_cancellation_modal.cancel.error"}));return{title:s,explanation:c,confirmButtonText:r,cancelButtonText:f,errorMessage:l}}const Se=50;function ke(){const{getPaymentMethods:t}=ee.createPaymentMethodsService(),a=e.shallowRef();return{paymentMethod:a,get:async({customerId:i,paymentMethodId:o})=>{const s=await K.getPaginatedFullList(async c=>{const r=await t({customerId:i,pagination:{page:c,pageSize:Se}});if(!Q.isApiSuccessCollectionResponse(r))throw new Error("Could not load the customer’s payment methods.");return r});return a.value=s.data.find(({id:c})=>c===o),a.value}}}const Be={class:"sv-subscription-cancellation-modal sv-subscription-cancellation-modal__body flex flex-col gap-3"},xe={key:0,class:"sv-subscription-cancellation-modal__meta flex flex-wrap items-center gap-x-6 gap-y-2 px-3 pb-2"},Ie={key:0,class:"sv-subscription-cancellation-modal__renews flex gap-1"},Me=e.defineComponent({__name:"SubscriptionCancellationModal",props:{showModal:{type:Boolean},variant:{type:null},subscription:{type:Object},avatar:{type:String}},emits:["confirmed","close"],setup(t,{emit:a}){const n=t,i=a,{$t:o,formatDate:s}=m.useIntl(),c=m.useLogger(),{setSubscriptionCancellation:r}=Z.createSubscriptionsService(),f=e.computed(()=>n.variant),l=e.computed(()=>{var d;const p=((d=n.subscription)==null?void 0:d.inactive_periods)??[],u=p.find(({type:h})=>h==="CANCEL")??p[0];if(u)return s({date:u.start_at,format:"date",offsetType:"local"})}),g=e.computed(()=>{var u,d;const p=(d=(u=n.subscription)==null?void 0:u.next_invoice)==null?void 0:d.invoice_date;if(p)return s({date:p,format:"date",offsetType:"local"})}),v=g,k=e.computed(()=>{var p,u;return(((u=(p=E.getMostRecentScheduleInfo(n.subscription))==null?void 0:p.pricing_plan_schedule)==null?void 0:u.enabled_pricings)??[]).map(({pricing_id:d})=>d).filter(d=>!!d)}),{title:C,explanation:B,confirmButtonText:_,cancelButtonText:x,errorMessage:S}=Ce({variant:f,renewableUntil:l,billingPeriodEndsAt:g}),{paymentMethod:y,get:I}=ke();e.watch([()=>n.showModal,()=>{var p;return(p=n.subscription)==null?void 0:p.payment_method_id},()=>{var p;return(p=n.subscription)==null?void 0:p.customer_id}],([p,u,d])=>{var h;!p||!u||!d||u!==((h=y.value)==null?void 0:h.id)&&I({customerId:d,paymentMethodId:u}).catch(()=>{})},{immediate:!0});const b=e.ref(!1),w=e.ref(!1);e.watch(()=>n.showModal,p=>{p&&(w.value=!1)});const N=async()=>{if(!(!n.subscription||!n.variant||b.value)){b.value=!0,w.value=!1;try{await r({id:n.subscription.id,variant:n.variant}),i("confirmed"),i("close")}catch(p){c.error("SUBSCRIPTION_CANCELLATION_FAILED","Failed to change the cancellation state of a subscription",{variant:n.variant},p),w.value=!0}finally{b.value=!1}}},V=()=>{b.value||i("close")};return(p,u)=>(e.openBlock(),e.createBlock(e.unref(H.Modal),{size:"md","show-modal":t.showModal,title:e.unref(C),"confirm-button-text":e.unref(_),"cancel-button-text":e.unref(x),"is-loading":b.value,"no-click-away":b.value,"no-backdrop-close":b.value,onConfirm:N,onClose:V},{body:e.withCtx(()=>[e.createElementVNode("div",Be,[e.createVNode(e.unref(m._sfc_main),{variant:"body-sm",color:"subtle",tag:"p",class:"sv-subscription-cancellation-modal__explanation"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(B)),1)]),_:1}),t.subscription?(e.openBlock(),e.createBlock(e.unref(M._sfc_main),{key:0,"no-spacing":"",class:"sv-subscription-cancellation-modal__subscription"},{default:e.withCtx(()=>[e.createVNode(J._sfc_main,{subscription:t.subscription,avatar:t.avatar,"enabled-pricing-ids":k.value},null,8,["subscription","avatar","enabled-pricing-ids"]),e.unref(v)||e.unref(y)?(e.openBlock(),e.createElementBlock("div",xe,[e.unref(v)?(e.openBlock(),e.createElementBlock("div",Ie,[e.createVNode(e.unref(m._sfc_main),{tag:"span",variant:"body-xs",color:"secondary",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Renews",description:"Label before the date the subscription renews, shown in the cancel subscription modal",id:"subscription_cancellation_modal.renews_label"})),1)]),_:1}),e.createVNode(e.unref(m._sfc_main),{tag:"span",variant:"body-xs",color:"secondary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(v)),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(y)?(e.openBlock(),e.createBlock(e.unref(G._sfc_main),{key:1,variant:"condensed",class:"sv-subscription-cancellation-modal__payment-method","payment-method":e.unref(y)},null,8,["payment-method"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),w.value?(e.openBlock(),e.createBlock(e.unref(L._sfc_main),{key:1,class:"sv-subscription-cancellation-modal__error sv-error",title:e.unref(S)},null,8,["title"])):e.createCommentVNode("",!0)])]),_:1},8,["show-modal","title","confirm-button-text","cancel-button-text","is-loading","no-click-away","no-backdrop-close"]))}}),Ne={class:"sv-subscription-details__header flex flex-col gap-2 md:flex-row md:items-center"},Pe=e.defineComponent({__name:"SubscriptionDetails",props:{subscription:{type:Object},schedulesData:{type:Array},customer:{type:Object},paymentMethods:{type:Array},walletBalances:{default:()=>[],type:Array},onDemandItems:{default:()=>[],type:Array},onDemandScheduleId:{type:String},hasWalletBalancesError:{type:Boolean},avatar:{type:String},canViewCreatedInvoice:{type:Boolean},isLoading:{type:Boolean},error:{type:null}},emits:["top-up-charged","auto-top-up-saved","auto-top-up-cancelled","payment-method-stored","subscription-changed","invoice-created"],setup(t,{emit:a}){const n=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./SubscriptionSchedules-Dy0fUgx5.js"))),i=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./ChargeOnDemandModal-b17YswWA.js"))),o=t,s=a,{dispatchAction:c}=O.useActionDispatchProvider(),{$t:r}=m.useIntl(),{isCancellable:f,isRenewable:l,pendingVariant:g,cancel:v,renew:k,dismiss:C,manage:B}=ue({subscription:e.toRef(o,"subscription")}),_=e.ref();e.watch(g,u=>{u&&(_.value=void 0)});const x=()=>{_.value=g.value,s("subscription-changed")},S=e.computed(()=>{if(_.value)return _.value==="RENEW"?r({defaultMessage:"Your subscription has been renewed.",id:"subscription_details.renew_success",description:"Confirmation shown after a cancellation has been undone"}):r({defaultMessage:"Your subscription has been cancelled. You keep access until the end of the billing period.",id:"subscription_details.cancel_success",description:"Confirmation shown after a subscription has been cancelled"})}),y=e.computed(()=>E.getMostRecentScheduleInfo(o.subscription)),I=e.computed(()=>(o.paymentMethods??[]).find(({id:u})=>{var d;return u===((d=o.subscription)==null?void 0:d.payment_method_id)})),b=e.computed(()=>o.subscription?[o.subscription]:[]),w=e.ref(!1),N=e.ref(!1),V=()=>{N.value=!0,w.value=!0},p=e.computed(()=>E.getSubscriptionName({subscription:o.subscription,fallback:r({defaultMessage:"Subscription details",id:"subscription_details.title",description:"Title for the subscription details page"})}));return(u,d)=>(e.openBlock(),e.createBlock(e.unref(j.ContentWithAsideLayout),{class:"sv-subscription-details sv-root sv-screen"},{header:e.withCtx(()=>[e.createElementVNode("div",Ne,[e.createVNode(e.unref(m._sfc_main),{variant:"heading-2",tag:"h1",class:"sv-subscription-details__title grow"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value),1)]),_:1}),e.unref(l)?(e.openBlock(),e.createBlock(e.unref(D._sfc_main),{key:0,intent:"secondary",class:"sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",type:"button",onClick:e.unref(k)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Renew subscription",id:"subscription_details.renew_button.label",description:"Label for the renew subscription button on the subscription details page"})),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(f)?(e.openBlock(),e.createBlock(e.unref(D._sfc_main),{key:1,intent:"secondary",class:"sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",type:"button",onClick:e.unref(v)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Cancel subscription",id:"subscription_details.cancel_button.label",description:"Label for the cancel subscription button on the subscription details page"})),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0)])]),content:e.withCtx(()=>[S.value?(e.openBlock(),e.createBlock(e.unref(F._sfc_main),{key:0,class:"sv-subscription-details__cancellation-success",type:"success",title:S.value},null,8,["title"])):e.createCommentVNode("",!0),t.error?(e.openBlock(),e.createBlock(e.unref(L._sfc_main),{key:1,class:"sv-subscription-details__error sv-error",title:e.unref(r)({defaultMessage:"Unable to load this subscription. Please try again later.",id:"subscription_details.load_error",description:"Error message shown when the subscription cannot be loaded on the subscription details page"})},null,8,["title"])):t.isLoading?(e.openBlock(),e.createBlock(z._sfc_main,{key:2,variant:"section",class:"min-h-[220px]"})):t.subscription?(e.openBlock(),e.createBlock(e.unref(n),{key:3,class:"sv-subscription-details__schedules","schedules-data":t.schedulesData??[],configuration:{subscriptionId:t.subscription.id},"is-loading":t.isLoading},null,8,["schedules-data","configuration","is-loading"])):(e.openBlock(),e.createBlock(Y._sfc_main,{key:4,class:"sv-subscription-details__empty-state",icon:"receipt_long"},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Subscription not found",id:"subscription_details.empty_state.title",description:"Title shown when the requested subscription does not exist"})),1)]),message:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"This subscription is no longer available.",id:"subscription_details.empty_state.message",description:"Message shown when the requested subscription does not exist"})),1)]),_:1}))]),aside:e.withCtx(()=>[e.createVNode($._sfc_main,{class:"sv-subscription-details__wallet-balances","has-error":!!t.hasWalletBalancesError,"is-loading":t.isLoading,"wallet-balances":t.walletBalances,"show-top-up-button":"",customer:t.customer,"payment-methods":t.paymentMethods,subscriptions:b.value,onTopUpCharged:d[0]||(d[0]=h=>u.$emit("top-up-charged")),onAutoTopUpSaved:d[1]||(d[1]=h=>u.$emit("auto-top-up-saved")),onAutoTopUpCancelled:d[2]||(d[2]=h=>u.$emit("auto-top-up-cancelled")),onPaymentMethodStored:d[3]||(d[3]=h=>u.$emit("payment-method-stored"))},null,8,["has-error","is-loading","wallet-balances","customer","payment-methods","subscriptions"]),!t.isLoading&&t.onDemandItems.length>0?(e.openBlock(),e.createBlock(we,{key:0,items:t.onDemandItems,class:"sv-subscription-details__on-demand-items",onOrder:V},null,8,["items"])):e.createCommentVNode("",!0),y.value?(e.openBlock(),e.createBlock(_e,{key:1,class:"sv-subscription-details__upgrades","pricing-plan-schedule":y.value,onUpgrade:e.unref(B)},null,8,["pricing-plan-schedule","onUpgrade"])):e.createCommentVNode("",!0),I.value?(e.openBlock(),e.createBlock(W._sfc_main,{key:2,class:"sv-subscription-details__payment-method","is-loading":t.isLoading,"payment-methods":[I.value],configuration:{showViewAllButton:!1,showAddButton:!1}},null,8,["is-loading","payment-methods"])):e.createCommentVNode("",!0),N.value&&t.subscription&&t.onDemandScheduleId?(e.openBlock(),e.createBlock(e.unref(i),{key:3,"show-modal":w.value,subscription:t.subscription,"schedule-id":t.onDemandScheduleId,items:t.onDemandItems,customer:t.customer,"payment-methods":t.paymentMethods,"can-view-created-invoice":t.canViewCreatedInvoice,onClose:d[4]||(d[4]=h=>w.value=!1),onPaymentMethodStored:d[5]||(d[5]=h=>u.$emit("payment-method-stored")),onInvoiceCreated:d[6]||(d[6]=h=>u.$emit("invoice-created",h)),onViewInvoice:d[7]||(d[7]=h=>e.unref(c)({action:"view-invoice",data:{invoiceId:h}}))},null,8,["show-modal","subscription","schedule-id","items","customer","payment-methods","can-view-created-invoice"])):e.createCommentVNode("",!0),e.createVNode(Me,{"show-modal":!!e.unref(g),variant:e.unref(g),subscription:t.subscription,avatar:t.avatar,onConfirmed:x,onClose:e.unref(C)},null,8,["show-modal","variant","subscription","avatar","onClose"])]),_:1}))}}),De=["FIXED","FLAT"],Ve=(t,a)=>{var i;const n=(i=t.details.bands)==null?void 0:i[0];return a==="FIXED"?n==null?void 0:n.fixed_amount:n==null?void 0:n.amount},U=t=>typeof t=="number"&&Number.isInteger(t)&&t>=1,Ee=t=>{var n;const a=Number((n=t.default_units)==null?void 0:n.number);return U(a)?a:1},Ae=t=>{const a=t.flatMap(q.getAllPricings);return{productItems:new Map(a.flatMap(n=>n.items??[]).flatMap(n=>n.product_items??[]).map(({id:n,name:i})=>[n,i])),products:new Map(a.flatMap(n=>n.products??[]).map(({id:n,name:i})=>[n,i]))}},Te=(t,a,n)=>A.getComposedString(a.product_item_ids.map(i=>n.productItems.get(i)))||t.name||A.getComposedString(t.product_ids.map(i=>n.products.get(i)))||"",Le=(t,a,n)=>{var s,c;const i=(s=a.configs)==null?void 0:s.find(r=>r.on_demand);if(!i||(c=i.wallet_grants)!=null&&c.length||!le.hasOneOfPricingTypes(i,De))return;const o=i.details.pricing_type==="FIXED"?"FIXED":"FLAT";return{pricingItemId:a.id,pricingItemConfigId:i.id,name:Te(t,a,n),priceType:o,price:Ve(i,o),defaultUnits:Ee(i)}},Oe=(t,{pricingPlanVersions:a=[]}={})=>{const n=Ae(a);return q.getAllPricings(t).flatMap(i=>(i.items??[]).flatMap(o=>Le(i,o,n)??[]))},$e=(t,a)=>{const n=new Set((a.payment_acceptors??[]).flatMap(i=>{var o;return((o=i.payment_gateway)==null?void 0:o.integration_id)??[]}));return t.filter(i=>i.status==="ACTIVE"&&!!i.integration_id&&n.has(i.integration_id)).sort((i,o)=>+(o.id===a.payment_method_id)-+(i.id===a.payment_method_id))},qe=(t,a)=>t.flatMap(({pricingItemId:n,units:i})=>{const o=a.find(s=>s.pricingItemId===n);return o?o.priceType==="FLAT"&&i!==void 0?[{pricing_item_id:n,units:{number:String(i)}}]:[{pricing_item_id:n}]:[]});function Re({subscription:t}){const{getOnDemandPricingItems:a}=se.createPricingPlanSchedulesService(),n=m.useLogger(),{data:i,execute:o,error:s}=re.useService({service:a}),c=e.computed(()=>{var l;return((l=t.value)==null?void 0:l.variant)==="DEFAULT"?ce.getActiveDefaultScheduleInfo(t.value.pricing_plan_schedule_infos):void 0}),r=e.computed(()=>{var l;return(l=c.value)==null?void 0:l.id});return e.watch(r,l=>{l&&o({scheduleId:l}).catch(()=>n.error("ON_DEMAND_ITEMS_LOAD_FAILED","Failed to load the on-demand items of the subscription",{scheduleId:l},s.value))},{immediate:!0}),{items:e.computed(()=>{var l,g;return r.value&&((l=i.value)==null?void 0:l.pricing_plan_schedule_id)===r.value?Oe(i.value,{pricingPlanVersions:(g=t.value)==null?void 0:g.pricing_plan_schedule_infos.map(v=>v.pricing_plan_version)}):[]}),scheduleId:r}}const Ue=e.defineComponent({__name:"SubscriptionDetails.entry.view",props:{configuration:{type:Object},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}},setup(t){const a=t,n=a.portalObject.customer_id,{subscription:i,withPlanData:o,get:s,error:c}=ne.useSubscription({subscriptionId:a.configuration.subscriptionId}),{customer:r,get:f}=ie.useCustomer({customerId:n}),{items:l,fetchAll:g}=ae.usePaymentMethods({customerId:n}),{walletBalances:v,apiStatus:k,fetch:C}=$.useCustomerWalletBalances({customerId:n}),{isLoading:B}=oe.useLoadInitialData(s(),f.execute(),g(),C()),{items:_,scheduleId:x}=Re({subscription:i}),S=e.computed(()=>i.value?o(i.value):[]),y=e.computed(()=>{var b;return((b=v.value)==null?void 0:b.wallet_balances)??[]}),I=e.computed(()=>k.value===te.ApiStatus.Failed);return(b,w)=>e.renderSlot(b.$slots,"default",{subscription:e.unref(i),schedulesData:S.value,customer:e.unref(r),paymentMethods:e.unref(l),walletBalances:y.value,onDemandItems:e.unref(_),onDemandScheduleId:e.unref(x),hasWalletBalancesError:I.value,isLoading:e.unref(B),error:e.unref(c),refreshWalletBalances:e.unref(C),refreshPaymentMethods:e.unref(g),refreshSubscription:e.unref(s)})}});function Fe({invoice:t,configuration:a}){var n;(n=a.onInvoiceCreated)==null||n.call(a,{invoiceId:t.id,paymentStatus:t.payment_status})}const je=e.defineComponent({__name:"SubscriptionDetails.entry",props:{configuration:{type:Object},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}},setup(t){const a=de.getComponentName("subscription-details"),n=t;return(i,o)=>(e.openBlock(),e.createBlock(e.unref(m._sfc_main$1),{entry:i.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:o[1]||(o[1]=s=>i.$emit("error",s))},{default:e.withCtx(()=>[e.createVNode(Ue,e.normalizeProps(e.guardReactiveProps(i.$props)),{default:e.withCtx(({subscription:s,schedulesData:c,customer:r,paymentMethods:f,walletBalances:l,onDemandItems:g,onDemandScheduleId:v,hasWalletBalancesError:k,isLoading:C,error:B,refreshWalletBalances:_,refreshPaymentMethods:x,refreshSubscription:S})=>[e.createVNode(Pe,{subscription:s,"schedules-data":c,customer:r,avatar:t.configuration.avatar,"can-view-created-invoice":t.configuration.canViewCreatedInvoice,"payment-methods":f,"wallet-balances":l,"on-demand-items":g,"on-demand-schedule-id":v,"has-wallet-balances-error":k,"is-loading":C,error:B,onTopUpCharged:_,onAutoTopUpSaved:_,onAutoTopUpCancelled:_,onPaymentMethodStored:x,onSubscriptionChanged:S,onInvoiceCreated:o[0]||(o[0]=y=>e.unref(Fe)({invoice:y,configuration:n.configuration}))},null,8,["subscription","schedules-data","customer","avatar","can-view-created-invoice","payment-methods","wallet-balances","on-demand-items","on-demand-schedule-id","has-wallet-balances-error","is-loading","error","onTopUpCharged","onAutoTopUpSaved","onAutoTopUpCancelled","onPaymentMethodStored","onSubscriptionChanged"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:We}=m.createSolvimonElement(je,"subscription-details");exports.defineSolvimonSubscriptionDetails=We;exports.getPayablePaymentMethods=$e;exports.isOrderableUnits=U;exports.toChargePricingItems=qe;exports.useChargeOnDemandPriceLabel=R;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js");exports.default=e._sfc_main;