@solvimon/solvimon-web 0.1.0-alpha.28 → 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 (189) hide show
  1. package/README.md +26 -1
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  4. package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  5. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
  6. package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  7. package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
  8. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  9. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  10. package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
  11. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  12. package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  13. package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  14. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
  15. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  16. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
  17. package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  18. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  19. package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  20. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  21. package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  22. package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  23. package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
  24. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
  25. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
  26. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  27. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  28. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  29. package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  30. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  31. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  32. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
  33. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  34. package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  35. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
  36. package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  37. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
  38. package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
  39. package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
  40. package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  41. package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  42. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
  43. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
  44. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
  45. package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
  46. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  47. package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
  48. package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  49. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
  50. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  51. package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  52. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  53. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  54. package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
  55. package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
  56. package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  57. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  58. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
  59. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
  60. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  61. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  62. package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  63. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  64. package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
  65. package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
  66. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
  67. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
  68. package/dist/components/Invoice/Invoice.mjs +2660 -193
  69. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
  70. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
  71. package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
  72. package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
  73. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
  74. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
  75. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
  76. package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
  77. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  78. package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
  79. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  80. package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
  81. package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
  82. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  83. package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
  84. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  85. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  86. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  87. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  88. package/dist/index.es-CpmQmvOg.mjs +633 -0
  89. package/dist/index.mjs +2 -2
  90. package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
  91. package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
  92. package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
  93. package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
  94. package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
  95. package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
  96. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  97. package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
  98. package/dist/payments-BnxbzQUC.mjs +68 -0
  99. package/dist/pricing-BOhvWWMj.mjs +29 -0
  100. package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
  101. package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
  102. package/dist/screens/Checkout/Checkout.mjs +2 -2
  103. package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
  104. package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
  105. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
  106. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  107. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
  108. package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
  109. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  110. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  111. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
  112. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  113. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  114. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  115. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  116. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  117. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  118. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
  119. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
  120. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  121. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
  122. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  123. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  124. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  125. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  126. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
  127. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  128. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
  129. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  130. package/dist/types/public/core/types.d.ts +5 -0
  131. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
  132. package/dist/types/translations/supported.d.ts +1 -1
  133. package/dist/types/types/portalAuthentication.d.ts +2 -0
  134. package/dist/types/types/portalToken.d.ts +9 -0
  135. package/dist/types/types/shippingAddress.d.ts +9 -0
  136. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  137. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  138. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  139. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  140. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  141. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  142. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  143. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  144. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  145. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  146. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  147. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  148. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  149. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  150. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  151. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  152. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  153. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  154. package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
  155. package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  156. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  157. package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
  158. package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
  159. package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
  160. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  161. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  162. package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
  163. package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
  164. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  165. package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
  166. package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
  167. package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
  168. package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  169. package/package.json +7 -7
  170. package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
  171. package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
  172. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  173. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
  174. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  175. package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
  176. package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
  177. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
  178. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
  179. package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
  180. package/dist/customElements-Di3zwlEU.mjs +0 -6447
  181. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  182. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  183. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  184. package/dist/payments-Ci8bF4C6.mjs +0 -45
  185. package/dist/subscriptions-CwogJODR.mjs +0 -54
  186. package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
  187. package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
  188. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
  189. package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
@@ -1,8 +1,8 @@
1
1
  import { computed as o, defineComponent as x, toRefs as _, openBlock as u, createElementBlock as v, withModifiers as P, normalizeClass as d, createElementVNode as m, unref as c, withDirectives as V, vModelCheckbox as T, renderSlot as z, createCommentVNode as f, watch as $, toValue as N, onUnmounted as I, createBlock as y, createVNode as M, withCtx as h, createTextVNode as b, toDisplayString as w, Fragment as j } from "vue";
2
- import { _ as D } from "./Avatar.vue.es-Beg7umjO.mjs";
3
- import { a as R, _ as k } from "./customElements-Di3zwlEU.mjs";
2
+ import { _ as D } from "./Avatar.vue.es-r0NbcIib.mjs";
3
+ import { a as R, d as k } from "./customElements-BTj4ii4f.mjs";
4
4
  import { g as E, a as F, f as O } from "./subscription-BhxoqwcT.mjs";
5
- import { g as U } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs";
5
+ import { g as U } from "./pricing-BOhvWWMj.mjs";
6
6
  const A = {
7
7
  "w-fit": !0,
8
8
  relative: !0,
@@ -1,14 +1,14 @@
1
- import { u as S } from "./useIncrementalLoading-C_sHmW7d.mjs";
2
- import { c as $ } from "./subscriptions-CwogJODR.mjs";
3
- import { defineComponent as B, computed as f, openBlock as i, createBlock as l, unref as s, withCtx as n, createElementVNode as w, createVNode as y, createTextVNode as d, toDisplayString as m, createCommentVNode as p, createElementBlock as g, createSlots as V, Fragment as L, renderList as A } from "vue";
4
- import { _ as k } from "./Button.vue.es-rh6mITmN.mjs";
5
- import { _ as D } from "./ErrorNotification.vue.es-CKlt4hr2.mjs";
6
- import { _ as M } from "./Section.vue.es-iS8hVGWA.mjs";
7
- import { a as x, _ as h } from "./customElements-Di3zwlEU.mjs";
8
- import { _ as T } from "./PaymentMethod.vue.es-Cauxx4Xr.mjs";
1
+ import { u as S } from "./useIncrementalLoading-CATuO36d.mjs";
2
+ import { c as $ } from "./subscriptions-BWXZGK0E.mjs";
3
+ import { defineComponent as x, computed as f, openBlock as i, createBlock as l, unref as s, withCtx as n, createElementVNode as _, createVNode as y, createTextVNode as d, toDisplayString as m, createCommentVNode as p, createElementBlock as g, createSlots as V, Fragment as L, renderList as A } from "vue";
4
+ import { _ as k } from "./Button.vue.es-Zw--kuaU.mjs";
5
+ import { _ as D } from "./ErrorNotification.vue.es-DNd65mQq.mjs";
6
+ import { _ as M } from "./Section.vue.es-CvX9tg2f.mjs";
7
+ import { a as B, d as h } from "./customElements-BTj4ii4f.mjs";
8
+ import { _ as T } from "./PaymentMethod.vue.es-b0p3a0L-.mjs";
9
9
  import { g as I, a as E } from "./subscription-BhxoqwcT.mjs";
10
10
  import { _ as N } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
11
- import { u as P } from "./useActionDispatchProvider-DC_fUykI.mjs";
11
+ import { u as P } from "./useActionDispatchProvider-3W2vEyIg.mjs";
12
12
  function it({
13
13
  customerId: t,
14
14
  batchSize: r = 15
@@ -22,7 +22,7 @@ function it({
22
22
  const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row" }, j = { class: "sv-subscriptions-list__item-content grow" }, z = { class: "sv-subscriptions-list__item-meta mt-4 flex items-center gap-6" }, O = {
23
23
  key: 1,
24
24
  class: "sv-subscriptions-list__item-next-invoice flex gap-1"
25
- }, R = { class: "sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row" }, F = /* @__PURE__ */ B({
25
+ }, R = { class: "sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row" }, F = /* @__PURE__ */ x({
26
26
  __name: "SubscriptionsListItem",
27
27
  props: {
28
28
  subscription: { type: Object },
@@ -32,7 +32,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
32
32
  },
33
33
  emits: ["view-subscription-details"],
34
34
  setup(t) {
35
- const r = t, { $t: e, formatDate: a } = x(), b = f(() => I(r.subscription)), v = f(
35
+ const r = t, { $t: e, formatDate: a } = B(), b = f(() => I(r.subscription)), v = f(
36
36
  () => E({
37
37
  subscription: r.subscription,
38
38
  fallback: e({
@@ -47,10 +47,10 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
47
47
  return (u = b.value) == null ? void 0 : u.description;
48
48
  }
49
49
  ), c = f(() => r.showViewSubscriptionDetailsButton);
50
- return (u, _) => (i(), l(s(M), { class: "sv-subscriptions-list__item" }, {
50
+ return (u, w) => (i(), l(s(M), { class: "sv-subscriptions-list__item" }, {
51
51
  default: n(() => [
52
- w("div", C, [
53
- w("div", j, [
52
+ _("div", C, [
53
+ _("div", j, [
54
54
  y(s(h), {
55
55
  tag: "h3",
56
56
  variant: "heading-2",
@@ -73,7 +73,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
73
73
  ]),
74
74
  _: 1
75
75
  })) : p("", !0),
76
- w("div", z, [
76
+ _("div", z, [
77
77
  t.paymentMethod ? (i(), l(s(T), {
78
78
  key: 0,
79
79
  variant: "condensed",
@@ -114,13 +114,13 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
114
114
  ])) : p("", !0)
115
115
  ])
116
116
  ]),
117
- w("div", R, [
117
+ _("div", R, [
118
118
  c.value ? (i(), l(s(k), {
119
119
  key: 0,
120
120
  intent: "primary",
121
121
  class: "sv-action sv-action--primary sv-subscriptions-list__item-details w-full md:w-auto",
122
122
  type: "button",
123
- onClick: _[0] || (_[0] = (G) => u.$emit("view-subscription-details", { subscriptionId: t.subscription.id }))
123
+ onClick: w[0] || (w[0] = (G) => u.$emit("view-subscription-details", { subscriptionId: t.subscription.id }))
124
124
  }, {
125
125
  default: n(() => [
126
126
  d(m(s(e)({
@@ -140,7 +140,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
140
140
  }), W = {
141
141
  key: 2,
142
142
  class: "sv-subscriptions-list__items grid grid-cols-1 gap-4"
143
- }, q = /* @__PURE__ */ B({
143
+ }, q = /* @__PURE__ */ x({
144
144
  __name: "SubscriptionsList",
145
145
  props: {
146
146
  customer: { type: Object },
@@ -154,7 +154,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
154
154
  },
155
155
  emits: ["view-subscription-details", "view-all-subscriptions", "load-more"],
156
156
  setup(t) {
157
- const r = t, { $t: e } = x(), a = f(() => r.subscriptions.length > 0), b = (o) => {
157
+ const r = t, { $t: e } = B(), a = f(() => r.subscriptions.length > 0), b = (o) => {
158
158
  if (o)
159
159
  return r.paymentMethods.find(({ id: c }) => c === o);
160
160
  }, v = f(() => r.showViewAllButton);
@@ -162,6 +162,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
162
162
  class: "sv-subscriptions-list",
163
163
  "no-spacing": "",
164
164
  "no-border": "",
165
+ "content-background": "none",
165
166
  title: s(e)(
166
167
  {
167
168
  defaultMessage: "{count, plural, one {My subscription} other {My subscriptions}}",
@@ -221,7 +222,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
221
222
  "payment-method": b(u.payment_method_id),
222
223
  customer: t.customer,
223
224
  "show-view-subscription-details-button": t.showViewDetailsButton,
224
- onViewSubscriptionDetails: c[1] || (c[1] = (_) => o.$emit("view-subscription-details", _))
225
+ onViewSubscriptionDetails: c[1] || (c[1] = (w) => o.$emit("view-subscription-details", w))
225
226
  }, null, 8, ["subscription", "payment-method", "customer", "show-view-subscription-details-button"]))), 128))
226
227
  ])) : p("", !0),
227
228
  t.hasMoreItems ? (i(), l(s(k), {
@@ -249,7 +250,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
249
250
  name: "right",
250
251
  fn: n(() => [
251
252
  y(s(k), {
252
- size: "sm",
253
+ size: "xs",
253
254
  intent: "subtle",
254
255
  "icon-suffix": "arrow_right_alt",
255
256
  class: "sv-action sv-action--ghost sv-subscriptions-list__view-all",
@@ -270,7 +271,7 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
270
271
  } : void 0
271
272
  ]), 1032, ["title"]));
272
273
  }
273
- }), ot = /* @__PURE__ */ B({
274
+ }), ot = /* @__PURE__ */ x({
274
275
  __name: "SubscriptionsList",
275
276
  props: {
276
277
  customer: { type: null },
@@ -0,0 +1,132 @@
1
+ import { defineComponent as k, ref as g, inject as $, computed as E, provide as N, openBlock as n, createElementBlock as s, Fragment as O, createElementVNode as v, mergeProps as R, normalizeStyle as b, createCommentVNode as f, renderSlot as c, unref as d, createBlock as M, Teleport as h, normalizeClass as i, createVNode as B, withCtx as T, createTextVNode as P, toDisplayString as S } from "vue";
2
+ import { l as V, m as D, d as x } from "./customElements-BTj4ii4f.mjs";
3
+ import { u as z, _ as F } from "./useLazyFloating.es-CycqRyeb.mjs";
4
+ const L = {
5
+ key: 0,
6
+ class: "mb-1 px-3"
7
+ }, Y = /* @__PURE__ */ k({
8
+ __name: "Tooltip",
9
+ props: {
10
+ variant: { default: "default" },
11
+ placement: { default: "bottom-end" },
12
+ offset: { default: 4 },
13
+ maxWidth: { default: "xs" },
14
+ rootClass: {},
15
+ title: {},
16
+ isDarkMode: { type: Boolean }
17
+ },
18
+ setup(e) {
19
+ const r = e, u = g(), m = g(null), o = g(!1), y = $(V, null), { floatingStyles: p, placement: C } = z(u, m, {
20
+ placement: r.placement,
21
+ // shift keeps a tooltip wider than the room on either side of its trigger inside the viewport, e.g. in a
22
+ // narrow MCP card frame, where flip alone leaves it hanging off one edge.
23
+ middleware: ({ offset: a, flip: t, shift: l }) => [a(r.offset), t(), l({ padding: 8 })]
24
+ }), w = E(() => {
25
+ const a = C.value.split("-")[0], t = `-${r.offset}px`;
26
+ return {
27
+ top: a === "top" ? t : "0",
28
+ right: a === "right" ? t : "0",
29
+ bottom: a === "bottom" ? t : "0",
30
+ left: a === "left" ? t : "0"
31
+ };
32
+ });
33
+ return N(D, r.isDarkMode), (a, t) => (n(), s(O, null, [
34
+ v("span", R(a.$attrs, {
35
+ ref_key: "triggerRef",
36
+ ref: u,
37
+ class: "relative leading-none",
38
+ onMouseenter: t[0] || (t[0] = (l) => o.value = !0),
39
+ onMouseleave: t[1] || (t[1] = (l) => o.value = !1),
40
+ onFocusin: t[2] || (t[2] = (l) => o.value = !0),
41
+ onFocusout: t[3] || (t[3] = (l) => o.value = !1)
42
+ }), [
43
+ o.value ? (n(), s("span", {
44
+ key: 0,
45
+ class: "absolute",
46
+ style: b(w.value)
47
+ }, null, 4)) : f("", !0),
48
+ c(a.$slots, "default")
49
+ ], 16),
50
+ d(y) ? (n(), M(h, {
51
+ key: 0,
52
+ to: d(y)
53
+ }, [
54
+ o.value ? (n(), s("div", {
55
+ key: 0,
56
+ ref_key: "tooltipRef",
57
+ ref: m,
58
+ style: b(d(p)),
59
+ class: i(["z-70 border shadow-md", [
60
+ e.rootClass,
61
+ `max-w-${e.maxWidth}`,
62
+ {
63
+ "rounded border-gray-200 bg-white": !e.isDarkMode,
64
+ "rounded border-gray-700 bg-gray-700": e.isDarkMode
65
+ }
66
+ ]]),
67
+ onMouseenter: t[4] || (t[4] = (l) => o.value = !0),
68
+ onMouseleave: t[5] || (t[5] = (l) => o.value = !1)
69
+ }, [
70
+ v("div", {
71
+ class: i(["rounded", {
72
+ "border-gray-50 bg-gray-50": e.variant === "outline" && !e.isDarkMode,
73
+ "border-gray-600 bg-gray-600": e.variant === "outline" && e.isDarkMode,
74
+ "border-4": e.variant === "outline" && !e.title,
75
+ "border-2": e.variant === "outline" && e.title,
76
+ "pt-0": !!e.title
77
+ }])
78
+ }, [
79
+ e.title ? (n(), s("div", L, [
80
+ B(x, {
81
+ variant: "caps-heading",
82
+ color: "secondary",
83
+ class: i({ "!text-gray-100": e.isDarkMode }),
84
+ "no-spacing": ""
85
+ }, {
86
+ default: T(() => [
87
+ P(S(e.title), 1)
88
+ ]),
89
+ _: 1
90
+ }, 8, ["class"])
91
+ ])) : f("", !0),
92
+ v("div", {
93
+ class: i(["rounded py-2", {
94
+ "bg-white": e.variant === "outline" && !e.isDarkMode,
95
+ "bg-gray-700": e.variant === "outline" && e.isDarkMode
96
+ }])
97
+ }, [
98
+ c(a.$slots, "tooltip")
99
+ ], 2)
100
+ ], 2)
101
+ ], 38)) : f("", !0)
102
+ ], 8, ["to"])) : f("", !0)
103
+ ], 64));
104
+ }
105
+ }), A = {}, I = { class: "px-3" };
106
+ function K(e, r) {
107
+ return n(), s("div", I, [
108
+ c(e.$slots, "default")
109
+ ]);
110
+ }
111
+ const q = /* @__PURE__ */ F(A, [["render", K]]), G = /* @__PURE__ */ k({
112
+ __name: "TooltipParagraph",
113
+ setup(e) {
114
+ const r = $(D, !1);
115
+ return (u, m) => (n(), M(d(x), {
116
+ tag: "p",
117
+ variant: "body-xs",
118
+ color: "secondary",
119
+ class: i({ "!text-gray-200": d(r) })
120
+ }, {
121
+ default: T(() => [
122
+ c(u.$slots, "default")
123
+ ]),
124
+ _: 3
125
+ }, 8, ["class"]));
126
+ }
127
+ });
128
+ export {
129
+ q as T,
130
+ Y as _,
131
+ G as a
132
+ };
@@ -0,0 +1,31 @@
1
+ import { defineComponent as r, inject as m, computed as p, openBlock as _, createBlock as u, unref as s, withCtx as d, renderSlot as i } from "vue";
2
+ import { T as f, _ as v } from "./customElements-BTj4ii4f.mjs";
3
+ const h = /* @__PURE__ */ r({
4
+ __name: "TranslationOverride",
5
+ props: {
6
+ messages: { type: Object }
7
+ },
8
+ setup(t) {
9
+ const l = t, e = m(f, void 0), c = p(() => ({
10
+ ...e == null ? void 0 : e.messages.value,
11
+ ...l.messages
12
+ }));
13
+ return (n, T) => {
14
+ var a, o;
15
+ return _(), u(s(v), {
16
+ locale: (a = s(e)) == null ? void 0 : a.locale.value,
17
+ "date-locale": (o = s(e)) == null ? void 0 : o.dateLocale.value,
18
+ messages: c.value,
19
+ "show-timezones": !1
20
+ }, {
21
+ default: d(() => [
22
+ i(n.$slots, "default")
23
+ ]),
24
+ _: 3
25
+ }, 8, ["locale", "date-locale", "messages"]);
26
+ };
27
+ }
28
+ });
29
+ export {
30
+ h as _
31
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as u, computed as c, openBlock as m, createBlock as f, unref as g, withCtx as p, createTextVNode as d, toDisplayString as T } from "vue";
2
- import { u as D } from "./useTimePeriod.es-JkXdHNWr.mjs";
3
- import { _ as h } from "./Chip.vue.es-Cn2R_0mE.mjs";
2
+ import { u as D } from "./useTimePeriod.es-BpdiVwg8.mjs";
3
+ import { _ as h } from "./Chip.vue.es-D3UDSyXC.mjs";
4
4
  const M = (n, r) => {
5
5
  const e = new Date(n), t = new Date(r), o = t.getFullYear() - e.getFullYear(), i = new Date(e);
6
6
  if (i.setFullYear(i.getFullYear() + o), o > 0 && i.getTime() === t.getTime())
@@ -36,8 +36,8 @@ const u = async (t) => {
36
36
  };
37
37
  };
38
38
  export {
39
- s as a,
39
+ g as a,
40
40
  l as b,
41
41
  u as g,
42
- g as w
42
+ s as w
43
43
  };