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

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 (432) hide show
  1. package/README.md +126 -17
  2. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  3. package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +15 -16
  5. package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
  6. package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +235 -247
  7. package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
  8. package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
  9. package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
  10. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  11. package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
  12. package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
  13. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +33 -37
  14. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
  15. package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-M0XqSz55.mjs} +1 -1
  16. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +362 -0
  17. package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
  18. package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
  19. package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-BO6KBS4v.mjs} +3 -3
  20. package/dist/Input.vue.es-DAlPmtE_.mjs +249 -0
  21. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs} +14 -13
  22. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs +56 -0
  23. package/dist/{InvoiceSummary.vue.es-CRiFJ5x-.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
  24. package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
  25. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +72 -73
  26. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
  27. package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
  28. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
  29. package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
  30. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
  31. package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -293
  32. package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
  33. package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
  34. package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
  35. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +57 -65
  36. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
  37. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs} +13 -8
  38. package/dist/PlanCustomizationEditor-Xtww2r9K.mjs +711 -0
  39. package/dist/PortalNotAvailable-B_59GUwN.mjs +25 -0
  40. package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
  41. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
  42. package/dist/{RadioGroupExtended.vue.es-9YzXzZF0.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
  43. package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
  44. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs} +13 -12
  45. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  46. package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
  47. package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
  48. package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
  49. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs} +750 -763
  50. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs +203 -0
  51. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +123 -88
  52. package/dist/{TooltipParagraph.vue.es-B9A17aG7.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
  53. package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-B-XBSHWE.mjs} +2 -2
  54. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  55. package/dist/amount-CondixVt.mjs +36 -0
  56. package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-2bVdkiFV.mjs} +87 -83
  57. package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
  58. package/dist/components/BillingInformation/BillingInformation.mjs +7 -8
  59. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +394 -350
  60. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +16 -17
  61. package/dist/components/Invoice/Invoice.mjs +206 -209
  62. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +64 -62
  63. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
  64. package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
  65. package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -64
  66. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +31 -31
  67. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +47 -45
  68. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +50 -36
  69. package/dist/components/WalletBalances/WalletBalances.mjs +9 -10
  70. package/dist/core/index.mjs +61 -95
  71. package/dist/customElements-Di3zwlEU.mjs +6447 -0
  72. package/dist/customer-CqddTiOr.mjs +31 -0
  73. package/dist/{de-DE-jkW2dJrX.mjs → de-DE-BNMj3boy.mjs} +16 -10
  74. package/dist/{de-DE-DKp5LCu0.mjs → de-DE-BW8dMvhW.mjs} +72 -18
  75. package/dist/formControl-CsITfsBk.mjs +749 -0
  76. package/dist/index.mjs +2 -2
  77. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  78. package/dist/{invoices-3520M5AN.mjs → invoices-Cf1qDAv4.mjs} +40 -35
  79. package/dist/{it-IT-BgFVsO5S.mjs → it-IT-Byg06KWc.mjs} +72 -18
  80. package/dist/{it-IT-CaaFToGB.mjs → it-IT-DRvuxM1F.mjs} +9 -3
  81. package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-DLUwWbMG.mjs} +12 -6
  82. package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-x3zQqzZ7.mjs} +78 -24
  83. package/dist/paymentMethods-BUuOmDq9.mjs +77 -0
  84. package/dist/paymentOutcome-D17VD4MV.mjs +67 -0
  85. package/dist/payments-Ci8bF4C6.mjs +45 -0
  86. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  87. package/dist/pricingPlanScheduleOverrides-COr9F8DO.mjs +233 -0
  88. package/dist/pricingPlanSchedules-BK_o9p6h.mjs +38 -0
  89. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  90. package/dist/screens/Checkout/Checkout.mjs +2 -2
  91. package/dist/screens/CustomerOverview/CustomerOverview.mjs +98 -91
  92. package/dist/screens/PayInvoice/PayInvoice.mjs +181 -210
  93. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +98 -86
  94. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  95. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +363 -334
  96. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  97. package/dist/sorting.es-qtEN8J8T.mjs +77 -0
  98. package/dist/subscription-BhxoqwcT.mjs +83 -0
  99. package/dist/subscriptions-CwogJODR.mjs +54 -0
  100. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
  101. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
  102. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +20 -0
  103. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
  104. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
  105. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
  106. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
  107. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
  108. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +36 -4
  109. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +7 -0
  110. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
  111. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +9 -4
  112. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
  113. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
  114. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  115. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  116. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
  117. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
  118. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
  119. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
  120. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
  121. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  122. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
  123. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
  124. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
  125. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
  126. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
  127. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  128. package/dist/types/components/providers/Provider/Provider.vue.d.ts +11 -4
  129. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  130. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
  131. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
  132. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
  133. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
  134. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
  135. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
  136. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +8 -16
  137. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
  138. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
  139. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
  140. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
  141. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
  142. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
  143. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
  144. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
  145. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
  146. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
  147. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
  148. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
  149. package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
  150. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
  151. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
  152. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
  153. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
  154. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
  155. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
  156. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
  157. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
  158. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
  159. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
  160. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
  161. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
  162. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
  163. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
  164. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
  165. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
  166. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
  167. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
  168. package/dist/types/public/core/action-request.types.d.ts +5 -0
  169. package/dist/types/public/core/registry.ce.d.ts +3 -3
  170. package/dist/types/public/core/registry.d.ts +0 -3
  171. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
  172. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
  173. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
  174. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
  175. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
  176. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +2 -0
  177. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
  178. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
  179. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
  180. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
  181. package/dist/types/services/paymentMethods.types.d.ts +2 -10
  182. package/dist/types/services/requests.types.d.ts +16 -6
  183. package/dist/types/types/errors.d.ts +3 -2
  184. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  185. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
  186. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
  187. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  188. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  189. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  190. package/dist/useActionDispatchProvider-DC_fUykI.mjs +9 -0
  191. package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-C3kTh7wn.mjs} +2 -2
  192. package/dist/useCustomerFormLabels-CK7K50nB.mjs +1369 -0
  193. package/dist/useIncrementalLoading-C_sHmW7d.mjs +60 -0
  194. package/dist/useInvoiceData-BIh8-h8b.mjs +21 -0
  195. package/dist/useInvoicesList-Y6p0Pqpy.mjs +674 -0
  196. package/dist/{useLoadInitialData-D9GkzY8t.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
  197. package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
  198. package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +8 -8
  199. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
  200. package/dist/{usePaymentMethods-CbwnGONc.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
  201. package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-CykCZPG2.mjs} +7 -7
  202. package/dist/usePortal-CxzKGhbK.mjs +7 -0
  203. package/dist/useService-B0OQJmif.mjs +56 -0
  204. package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
  205. package/dist/useViewport-psZejz_H.mjs +19 -0
  206. package/package.json +28 -55
  207. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
  208. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
  209. package/dist/Alert.vue.es-RyK53a2P.js +0 -1
  210. package/dist/Amount.vue.es-DExaYBqm.js +0 -1
  211. package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
  212. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
  213. package/dist/Button.vue.es-BzkuglKw.js +0 -1
  214. package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
  215. package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
  216. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
  217. package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
  218. package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
  219. package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
  220. package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
  221. package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
  222. package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
  223. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
  224. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
  225. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
  226. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
  227. package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
  228. package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
  229. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
  230. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
  231. package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
  232. package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
  233. package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
  234. package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
  235. package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
  236. package/dist/Input.vue.es-B60eK8Ds.js +0 -1
  237. package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
  238. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
  239. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
  240. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
  241. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
  242. package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
  243. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
  244. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
  245. package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
  246. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
  247. package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
  248. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
  249. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
  250. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
  251. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
  252. package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
  253. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
  254. package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
  255. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
  256. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
  257. package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
  258. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
  259. package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
  260. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
  261. package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
  262. package/dist/Section.vue.es-Bbt0RITt.js +0 -1
  263. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
  264. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
  265. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
  266. package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
  267. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
  268. package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
  269. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
  270. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
  271. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
  272. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
  273. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
  274. package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
  275. package/dist/accel.svg.es-DFJXdioD.js +0 -1
  276. package/dist/ach.svg.es-BYP873jU.js +0 -1
  277. package/dist/adyen-BJfC7N6f.js +0 -1
  278. package/dist/adyenSdk-BP2XXzeJ.js +0 -1
  279. package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
  280. package/dist/amex.svg.es-DKhW4Txt.js +0 -1
  281. package/dist/api.es-duCDtZD9.js +0 -1
  282. package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
  283. package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
  284. package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
  285. package/dist/carnet.svg.es-DY04-F2L.js +0 -1
  286. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
  287. package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
  288. package/dist/cn.es-C9Yqq4tg.js +0 -1
  289. package/dist/comparators.es-OGt19O9U.js +0 -1
  290. package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
  291. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
  292. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
  293. package/dist/components/Invoice/Invoice.cjs +0 -1
  294. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
  295. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
  296. package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
  297. package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
  298. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
  299. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
  300. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
  301. package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
  302. package/dist/configuration-akTS7Wiw.js +0 -1
  303. package/dist/core/index.cjs +0 -1
  304. package/dist/countryData.es-C4jHBzfo.js +0 -1
  305. package/dist/customElements-B58FcXIN.mjs +0 -6633
  306. package/dist/customElements-DUMRMFQ5.js +0 -1215
  307. package/dist/customer-B3LPAhaD.mjs +0 -31
  308. package/dist/customer-CisTPaXj.js +0 -1
  309. package/dist/customer.es-BButyYo0.js +0 -1
  310. package/dist/dana.svg.es-BDtZLpwd.js +0 -1
  311. package/dist/dankort.svg.es-CksaipXF.js +0 -1
  312. package/dist/de-DE-B4TUdnUf.js +0 -1
  313. package/dist/de-DE-DL74pMLb.js +0 -1
  314. package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
  315. package/dist/discover.svg.es-DgqWCMUM.js +0 -1
  316. package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
  317. package/dist/elo.svg.es-C-BzjuRP.js +0 -1
  318. package/dist/en-US-B2XFj-_p.js +0 -1
  319. package/dist/en-US-DQ5vlv9Z.mjs +0 -339
  320. package/dist/en-US-J85TQRI8.js +0 -1
  321. package/dist/en-US-SDhjlY_v.mjs +0 -301
  322. package/dist/eps.svg.es-B_85bP-W.js +0 -1
  323. package/dist/error-BHVZJGwD.mjs +0 -13
  324. package/dist/error-CmduqgVq.js +0 -1
  325. package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
  326. package/dist/formControl-ODrpUvcA.js +0 -1
  327. package/dist/formControl-dX7l8o3c.mjs +0 -845
  328. package/dist/formatting.es-C72Nsrmh.js +0 -1
  329. package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
  330. package/dist/getComposedString.es-haS4bAj7.js +0 -1
  331. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
  332. package/dist/girocard.svg.es-HSOEvDif.js +0 -1
  333. package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
  334. package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
  335. package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
  336. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
  337. package/dist/ideal.svg.es-Booz1IML.js +0 -1
  338. package/dist/index-BPZPnOQQ.js +0 -7
  339. package/dist/index.cjs +0 -1
  340. package/dist/index.es-BclokHQX.js +0 -1
  341. package/dist/invoices-CKQBLar2.js +0 -1
  342. package/dist/it-IT-CSYvGmpT.js +0 -1
  343. package/dist/it-IT-CqNK62qe.js +0 -1
  344. package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
  345. package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
  346. package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
  347. package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
  348. package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
  349. package/dist/momo.svg.es-C5aLYf_R.js +0 -1
  350. package/dist/nl-NL-CpE4IgwO.js +0 -1
  351. package/dist/nl-NL-Dx-TNXQ1.js +0 -1
  352. package/dist/nyce.svg.es-ArAivAZW.js +0 -1
  353. package/dist/object.es-CdriXMPs.js +0 -1
  354. package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
  355. package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
  356. package/dist/paymentFailure-Cki8c5BX.js +0 -1
  357. package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
  358. package/dist/paymentMethods-Cw-i95mM.js +0 -1
  359. package/dist/payments-2qeQdpiW.mjs +0 -45
  360. package/dist/payments-CS7_YcOW.js +0 -1
  361. package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
  362. package/dist/pricing-BIMpDI_p.mjs +0 -29
  363. package/dist/pricing-BOqG21f9.js +0 -1
  364. package/dist/pricing.es-C07bgEZx.js +0 -1
  365. package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
  366. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
  367. package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
  368. package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
  369. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
  370. package/dist/pulse.svg.es-Dit33E8S.js +0 -1
  371. package/dist/screens/Checkout/Checkout.cjs +0 -1
  372. package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
  373. package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
  374. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
  375. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
  376. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
  377. package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
  378. package/dist/sessionReference-3h-6FdrC.mjs +0 -43
  379. package/dist/sessionReference-m_6Rp4X1.js +0 -1
  380. package/dist/slots.es-T9ZJRGtG.js +0 -1
  381. package/dist/sorting.es-DCihKqD2.mjs +0 -77
  382. package/dist/sorting.es-DQsjKr8A.js +0 -1
  383. package/dist/star.svg.es-D2JncY7b.js +0 -1
  384. package/dist/subscription-D1yHKUNc.mjs +0 -69
  385. package/dist/subscription-ZA62t4E9.js +0 -1
  386. package/dist/subscriptions-DcfcBYAq.mjs +0 -55
  387. package/dist/subscriptions-DwVsf4Ev.js +0 -1
  388. package/dist/trustly.svg.es-GJByiFAs.js +0 -1
  389. package/dist/twint.svg.es-BJ2f48og.js +0 -1
  390. package/dist/typeGuards.es-DS3vZaJn.js +0 -1
  391. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
  392. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
  393. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
  394. package/dist/types/services/portals.types.d.ts +0 -70
  395. package/dist/types/types/subscription.d.ts +0 -4
  396. package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
  397. package/dist/url-TNRgVI8A.mjs +0 -21
  398. package/dist/url-vloPOiXd.js +0 -1
  399. package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
  400. package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
  401. package/dist/useCustomer-BwZKd9i5.js +0 -1
  402. package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
  403. package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
  404. package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
  405. package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
  406. package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
  407. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
  408. package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
  409. package/dist/useInvoiceData-CNV_FMV8.js +0 -1
  410. package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
  411. package/dist/useInvoicesList-S0IbQcrD.js +0 -1
  412. package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
  413. package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
  414. package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
  415. package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
  416. package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
  417. package/dist/usePayments-DDSjo0rH.js +0 -1
  418. package/dist/usePortal-C27omjhz.js +0 -1
  419. package/dist/usePortal-C5AsegpS.mjs +0 -11
  420. package/dist/useService-Bh47bllz.mjs +0 -50
  421. package/dist/useService-H7BjLg8P.js +0 -1
  422. package/dist/useSubscription-BZJL0VOA.mjs +0 -210
  423. package/dist/useSubscription-D787IXY-.js +0 -1
  424. package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
  425. package/dist/useViewport-BgdA2PPt.mjs +0 -29
  426. package/dist/useViewport-hPRVDWCm.js +0 -1
  427. package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
  428. package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
  429. package/dist/visa.svg.es-NY3BHhda.js +0 -1
  430. package/dist/vpay.svg.es-VViQi42w.js +0 -1
  431. package/dist/wallets.es-CNIMW5ay.js +0 -1
  432. package/dist/zip.svg.es-C9S_F31W.js +0 -1
@@ -0,0 +1,674 @@
1
+ import { inject as L, defineComponent as I, provide as x, computed as s, openBlock as i, createElementBlock as m, renderSlot as C, ref as O, onMounted as oe, onBeforeUnmount as H, normalizeClass as A, unref as e, Fragment as Z, createElementVNode as P, toDisplayString as p, createCommentVNode as T, createBlock as y, resolveDynamicComponent as ne, normalizeStyle as le, withCtx as a, createVNode as f, createTextVNode as g, useSlots as ie, shallowRef as ae, watchPostEffect as se, nextTick as re, renderList as ce, createSlots as ue, withModifiers as de } from "vue";
2
+ import { _ as ve } from "./Section.vue.es-iS8hVGWA.mjs";
3
+ import { a as Q, _ as U } from "./customElements-Di3zwlEU.mjs";
4
+ import { _ as fe } from "./Amount.vue.es-DPqHB8Xd.mjs";
5
+ import { a as R, _ as F } from "./Button.vue.es-rh6mITmN.mjs";
6
+ import { _ as V } from "./Chip.vue.es-Cn2R_0mE.mjs";
7
+ import { _ as me } from "./ErrorNotification.vue.es-CKlt4hr2.mjs";
8
+ import { _ as _e, T as be, a as he } from "./TooltipParagraph.vue.es-BjCn2BF6.mjs";
9
+ import { _ as pe } from "./floating-ui.vue.es-CYt0fSY7.mjs";
10
+ import { g as j, i as ge, a as ye, b as we } from "./invoiceState-BJVHaKs7.mjs";
11
+ import { u as ke } from "./useActionDispatchProvider-DC_fUykI.mjs";
12
+ import { r as Ce } from "./configuration-BytDBAWs.mjs";
13
+ import { u as $e } from "./useIncrementalLoading-C_sHmW7d.mjs";
14
+ import { c as Le } from "./invoices-Cf1qDAv4.mjs";
15
+ const Ie = Symbol.for("solvimon-ui:navigation"), xe = {
16
+ resolve: (t) => typeof t == "string" ? t : void 0
17
+ };
18
+ let q = !1;
19
+ const Te = (t, n) => {
20
+ n !== void 0 || q || (q = !0);
21
+ }, Se = () => {
22
+ const t = L(Ie, xe);
23
+ return {
24
+ ...t,
25
+ resolve: (n) => {
26
+ const r = t.resolve(n);
27
+ return Te(n, r), r;
28
+ }
29
+ };
30
+ }, Be = (t) => !t.defaultPrevented && t.button === 0 && !t.metaKey && !t.ctrlKey && !t.shiftKey && !t.altKey, Me = (t, n, r, l) => {
31
+ !t.navigate || l || !Be(n) || (n.preventDefault(), t.navigate(r));
32
+ }, D = Symbol("tableInset"), X = Symbol("tableSorting"), Y = Symbol("tableWarnings"), J = Symbol("tableRowDetail"), ee = Symbol("tableHeadEmphasize"), te = Symbol("tableRowLink"), Ae = { class: "solvimon-table w-full text-left text-sm" }, Ne = /* @__PURE__ */ I({
33
+ __name: "Table",
34
+ props: {
35
+ inset: { type: Boolean, default: !1 },
36
+ sorting: {}
37
+ },
38
+ setup(t) {
39
+ const n = t;
40
+ return x(
41
+ D,
42
+ s(() => n.inset)
43
+ ), x(
44
+ X,
45
+ s(() => n.sorting)
46
+ ), x(Y, { hasWarnedAboutUnnamedRow: !1 }), (r, l) => (i(), m("table", Ae, [
47
+ C(r.$slots, "default")
48
+ ]));
49
+ }
50
+ }), Re = ["colspan"], ze = ["href", "target"], Ee = ["href", "target"], Oe = {
51
+ key: 2,
52
+ class: "solvimon-table__row-link"
53
+ }, Pe = ["href", "target"], z = /* @__PURE__ */ I({
54
+ __name: "TableCell",
55
+ props: {
56
+ primary: { type: Boolean },
57
+ align: { default: "start" },
58
+ verticalAlign: { default: "middle" },
59
+ truncate: { type: Boolean },
60
+ colspan: {},
61
+ rowLink: { type: Boolean, default: void 0 }
62
+ },
63
+ setup(t) {
64
+ const n = t, r = L(D, void 0), l = L(J, void 0), o = L(te, void 0), _ = s(() => o == null ? void 0 : o.mode.value), d = O(), v = n.rowLink !== !1 && ((o == null ? void 0 : o.claim()) ?? !1);
65
+ o && n.rowLink !== !1 && (oe(() => {
66
+ d.value && o.registerControlCell(d.value);
67
+ }), H(() => {
68
+ d.value && o.unregisterControlCell(d.value);
69
+ })), o && n.rowLink === !0 && (o.registerLinkCell(), H(o.unregisterLinkCell));
70
+ const b = s(() => {
71
+ const $ = o == null ? void 0 : o.controlCell.value;
72
+ return $ ? $ === d.value : v;
73
+ }), c = s(() => _.value === "link" && n.rowLink !== !1), w = s(() => c.value && n.rowLink === !0), S = s(
74
+ () => c.value && b.value && !!(o != null && o.label.value) && !o.hasLinkCell.value
75
+ ), B = s(() => _.value === "open" && b.value), N = s(() => _.value === "slot" && b.value), M = s(() => [
76
+ n.align === "end" ? "text-right" : "text-left",
77
+ n.verticalAlign === "top" ? "align-top" : "align-middle",
78
+ {
79
+ "first:pl-0": !(r != null && r.value),
80
+ "h-12": !(l != null && l.value),
81
+ "max-w-0 truncate": n.truncate,
82
+ "font-semibold": n.primary,
83
+ "solvimon-table__cell--linked relative": c.value
84
+ }
85
+ ]);
86
+ return ($, k) => {
87
+ var u;
88
+ return i(), m("td", {
89
+ ref_key: "cell",
90
+ ref: d,
91
+ class: A([M.value, "solvimon-table__cell whitespace-nowrap px-4 py-2 text-sm leading-5 text-default"]),
92
+ colspan: t.colspan
93
+ }, [
94
+ c.value && e(o) ? (i(), m(Z, { key: 0 }, [
95
+ P("a", {
96
+ class: "solvimon-table__row-proxy absolute inset-0",
97
+ href: e(o).href.value,
98
+ target: e(o).target.value,
99
+ tabindex: "-1",
100
+ "aria-hidden": "true",
101
+ onClick: k[0] || (k[0] = //@ts-ignore
102
+ (...h) => e(o).navigate && e(o).navigate(...h))
103
+ }, null, 8, ze),
104
+ S.value ? (i(), m("a", {
105
+ key: 0,
106
+ class: "solvimon-table__row-link sr-only",
107
+ href: e(o).href.value,
108
+ target: e(o).target.value,
109
+ onClick: k[1] || (k[1] = //@ts-ignore
110
+ (...h) => e(o).navigate && e(o).navigate(...h))
111
+ }, p(e(o).label.value), 9, Ee)) : T("", !0)
112
+ ], 64)) : B.value && e(o) ? (i(), m("button", {
113
+ key: 1,
114
+ type: "button",
115
+ class: "solvimon-table__row-link sr-only",
116
+ onClick: k[2] || (k[2] = //@ts-ignore
117
+ (...h) => e(o).open && e(o).open(...h))
118
+ }, p(e(o).label.value), 1)) : N.value && ((u = e(o)) != null && u.slot) ? (i(), m("span", Oe, [
119
+ (i(), y(ne(e(o).slot)))
120
+ ])) : T("", !0),
121
+ w.value && e(o) ? (i(), m("a", {
122
+ key: 3,
123
+ class: "solvimon-table__row-link",
124
+ href: e(o).href.value,
125
+ target: e(o).target.value,
126
+ onClick: k[3] || (k[3] = //@ts-ignore
127
+ (...h) => e(o).navigate && e(o).navigate(...h))
128
+ }, [
129
+ C($.$slots, "default")
130
+ ], 8, Pe)) : C($.$slots, "default", {}, void 0, void 0, 4)
131
+ ], 10, Re);
132
+ };
133
+ }
134
+ }), Ue = /* @__PURE__ */ I({
135
+ __name: "TableHead",
136
+ props: {
137
+ emphasize: { type: Boolean, default: !1 }
138
+ },
139
+ setup(t) {
140
+ const n = t;
141
+ return x(
142
+ ee,
143
+ s(() => n.emphasize)
144
+ ), (r, l) => (i(), m("thead", null, [
145
+ C(r.$slots, "default")
146
+ ]));
147
+ }
148
+ }), Ve = ["colspan", "aria-sort"], De = {
149
+ key: 0,
150
+ class: "sr-only"
151
+ }, E = /* @__PURE__ */ I({
152
+ __name: "TableHeadCell",
153
+ props: {
154
+ columnName: {},
155
+ sortable: { type: Boolean },
156
+ align: { default: "start" },
157
+ minWidth: {},
158
+ tooltip: {},
159
+ colspan: {},
160
+ hiddenLabel: { type: Boolean }
161
+ },
162
+ emits: ["sort"],
163
+ setup(t, { emit: n }) {
164
+ const r = n, l = t, o = L(X, void 0), _ = L(D, void 0), d = s(() => {
165
+ if (!(!l.sortable || !(o != null && o.value)) && o.value.columnName === l.columnName)
166
+ return o.value.direction;
167
+ }), v = s(() => {
168
+ if (l.sortable)
169
+ return d.value === "asc" ? "ascending" : d.value === "desc" ? "descending" : "none";
170
+ }), b = s(() => [
171
+ l.align === "end" ? "text-right" : "text-left",
172
+ { "first:pl-0": !(_ != null && _.value), "w-px": l.hiddenLabel }
173
+ ]), c = () => {
174
+ l.columnName && r("sort", l.columnName);
175
+ };
176
+ return (w, S) => (i(), m("th", {
177
+ style: le(t.minWidth ? { minWidth: `${t.minWidth}px` } : void 0),
178
+ class: A([b.value, "relative h-10 select-none whitespace-nowrap px-4 py-2 align-middle text-xs font-medium text-secondary"]),
179
+ colspan: t.colspan,
180
+ "aria-sort": v.value,
181
+ scope: "col"
182
+ }, [
183
+ t.hiddenLabel ? (i(), m("span", De, [
184
+ C(w.$slots, "default")
185
+ ])) : (i(), m("span", {
186
+ key: 1,
187
+ class: A([
188
+ "inline-flex items-center gap-1 align-middle",
189
+ { "w-full justify-end": t.align === "end" }
190
+ ])
191
+ }, [
192
+ t.sortable ? (i(), m("button", {
193
+ key: 0,
194
+ type: "button",
195
+ class: A(["inline-flex items-center gap-1 rounded-sm hover:text-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600", { "text-primary-700": d.value }]),
196
+ onClick: c
197
+ }, [
198
+ C(w.$slots, "default"),
199
+ d.value === "asc" ? (i(), y(R, {
200
+ key: 0,
201
+ icon: "north",
202
+ size: "2xs",
203
+ class: "shrink-0",
204
+ "aria-hidden": "true"
205
+ })) : d.value === "desc" ? (i(), y(R, {
206
+ key: 1,
207
+ icon: "south",
208
+ size: "2xs",
209
+ class: "shrink-0",
210
+ "aria-hidden": "true"
211
+ })) : (i(), y(R, {
212
+ key: 2,
213
+ icon: "unfold_more",
214
+ size: "2xs",
215
+ class: "shrink-0 text-subtle",
216
+ "aria-hidden": "true"
217
+ }))
218
+ ], 2)) : C(w.$slots, "default", {}, void 0, void 0, 1),
219
+ t.tooltip ? (i(), y(_e, {
220
+ key: 2,
221
+ variant: "outline"
222
+ }, {
223
+ default: a(() => [
224
+ f(R, {
225
+ icon: "help",
226
+ size: "xs",
227
+ class: "rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"
228
+ })
229
+ ]),
230
+ tooltip: a(() => [
231
+ f(be, null, {
232
+ default: a(() => [
233
+ f(he, null, {
234
+ default: a(() => [
235
+ g(p(t.tooltip), 1)
236
+ ]),
237
+ _: 1
238
+ })
239
+ ]),
240
+ _: 1
241
+ })
242
+ ]),
243
+ _: 1
244
+ })) : T("", !0)
245
+ ], 2))
246
+ ], 14, Ve));
247
+ }
248
+ }), We = ["data-emphasized"], Ke = /* @__PURE__ */ I({
249
+ __name: "TableHeadRow",
250
+ setup(t) {
251
+ const n = L(ee, void 0), r = s(() => (n == null ? void 0 : n.value) ?? !1);
252
+ return (l, o) => (i(), m("tr", {
253
+ class: "border-b border-gray-200 bg-white",
254
+ "data-emphasized": r.value || void 0
255
+ }, [
256
+ C(l.$slots, "default")
257
+ ], 8, We));
258
+ }
259
+ }), He = [
260
+ "a",
261
+ "button",
262
+ "input",
263
+ "select",
264
+ "textarea",
265
+ "label",
266
+ '[role="button"]',
267
+ '[tabindex]:not([tabindex="-1"])',
268
+ '[contenteditable]:not([contenteditable="false"])'
269
+ ].join(", "), Fe = ["aria-selected", "data-detail"], je = /* @__PURE__ */ I({
270
+ __name: "TableRow",
271
+ props: {
272
+ selected: { type: Boolean },
273
+ detail: { type: Boolean },
274
+ to: {},
275
+ target: {},
276
+ linkLabel: {},
277
+ onOpen: { type: Function }
278
+ },
279
+ setup(t) {
280
+ const n = t, r = ie(), l = L(Y, () => ({ hasWarnedAboutUnnamedRow: !1 }), !0), o = O(), _ = O(!1), d = Se(), v = s(() => {
281
+ if (!n.detail) {
282
+ if (n.to)
283
+ return "link";
284
+ if (n.onOpen)
285
+ return "open";
286
+ if (r.link)
287
+ return "slot";
288
+ }
289
+ }), b = s(() => n.to ? d.resolve(n.to) : void 0), c = (u) => {
290
+ n.to && Me(d, u, n.to, n.target);
291
+ }, w = /* @__PURE__ */ new Set(), S = ae();
292
+ let B = !1;
293
+ const N = () => {
294
+ B || (B = !0, re(() => {
295
+ var u;
296
+ B = !1, S.value = [...((u = o.value) == null ? void 0 : u.children) ?? []].find(
297
+ (h) => h instanceof HTMLElement && w.has(h)
298
+ );
299
+ }));
300
+ }, M = O(0);
301
+ x(
302
+ J,
303
+ s(() => !!n.detail)
304
+ ), x(te, {
305
+ mode: v,
306
+ href: b,
307
+ target: s(() => n.target),
308
+ label: s(() => n.linkLabel),
309
+ navigate: c,
310
+ open: () => {
311
+ var u;
312
+ return (u = n.onOpen) == null ? void 0 : u.call(n);
313
+ },
314
+ slot: r.link,
315
+ claim: () => _.value ? !1 : (_.value = !0, !0),
316
+ controlCell: S,
317
+ registerControlCell: (u) => {
318
+ w.add(u), N();
319
+ },
320
+ unregisterControlCell: (u) => {
321
+ w.delete(u), N();
322
+ },
323
+ hasLinkCell: s(() => M.value > 0),
324
+ registerLinkCell: () => {
325
+ M.value += 1;
326
+ },
327
+ unregisterLinkCell: () => {
328
+ M.value -= 1;
329
+ }
330
+ }), se(() => {
331
+ var u;
332
+ l.hasWarnedAboutUnnamedRow || n.linkLabel || !(v.value === "open" || v.value === "link" && !((u = o.value) != null && u.querySelector("a.solvimon-table__row-link"))) || (l.hasWarnedAboutUnnamedRow = !0);
333
+ });
334
+ const $ = s(() => v.value === "open" || v.value === "slot"), k = (u) => {
335
+ var h, W;
336
+ if (!$.value || u.defaultPrevented)
337
+ return;
338
+ const K = u.target;
339
+ K instanceof Element && K.closest(He) || (W = (h = o.value) == null ? void 0 : h.querySelector(
340
+ ":is(button.solvimon-table__row-link, .solvimon-table__row-link :is(a, button))"
341
+ )) == null || W.click();
342
+ };
343
+ return (u, h) => (i(), m("tr", {
344
+ ref_key: "row",
345
+ ref: o,
346
+ class: A(["group relative border-b border-gray-100 transition-colors", {
347
+ "bg-primary-50": t.selected,
348
+ "bg-gray-50": t.detail && !t.selected,
349
+ "bg-white": !t.selected && !t.detail,
350
+ "cursor-pointer": $.value
351
+ }]),
352
+ "aria-selected": t.selected ? "true" : void 0,
353
+ "data-detail": t.detail ? "true" : void 0,
354
+ onClick: k
355
+ }, [
356
+ C(u.$slots, "default")
357
+ ], 10, Fe));
358
+ }
359
+ }), qe = {};
360
+ function Ge(t, n) {
361
+ return i(), m("tbody", null, [
362
+ C(t.$slots, "default")
363
+ ]);
364
+ }
365
+ const Ze = /* @__PURE__ */ pe(qe, [["render", Ge]]), Qe = { class: "sv-table sv-invoices-list__table grid-cols-1 gap-4" }, Xe = ["aria-label", "onClick"], Ye = { class: "flex flex-col" }, Je = { class: "sv-invoices-list__load-more mt-2 flex items-center justify-center" }, et = /* @__PURE__ */ I({
366
+ __name: "InvoiceTable",
367
+ props: {
368
+ invoices: { type: Array },
369
+ isLoading: { type: Boolean },
370
+ error: { type: [Error, null] },
371
+ hasMoreItems: { type: Boolean },
372
+ configuration: { type: Object }
373
+ },
374
+ emits: ["view-invoice", "pay-invoice", "load-more"],
375
+ setup(t) {
376
+ const n = t, { formatDate: r, $t: l } = Q(), o = s(() => n.configuration.showPayButton), _ = s(() => n.configuration.showViewButton), d = s(() => n.hasMoreItems);
377
+ return (v, b) => (i(), m("div", Qe, [
378
+ f(e(Ne), null, {
379
+ default: a(() => [
380
+ f(e(Ue), null, {
381
+ default: a(() => [
382
+ f(e(Ke), { class: "sv-table__head" }, {
383
+ default: a(() => [
384
+ f(e(E), { class: "sv-table__cell sv-invoices-list__cell--invoice" }, {
385
+ default: a(() => [
386
+ g(p(e(l)({
387
+ defaultMessage: "Invoice",
388
+ description: "The title of the invoice number header column of the invoice table",
389
+ id: "invoice_table.header.invoice_number"
390
+ })), 1)
391
+ ]),
392
+ _: 1
393
+ }),
394
+ f(e(E), { class: "sv-table__cell sv-invoices-list__cell--date hidden md:table-cell" }, {
395
+ default: a(() => [
396
+ g(p(e(l)({
397
+ defaultMessage: "Date",
398
+ description: "The title of the invoice date header column of the invoice table",
399
+ id: "invoice_table.header.date"
400
+ })), 1)
401
+ ]),
402
+ _: 1
403
+ }),
404
+ f(e(E), { class: "sv-table__cell sv-invoices-list__cell--amount" }, {
405
+ default: a(() => [
406
+ g(p(e(l)({
407
+ defaultMessage: "Amount",
408
+ description: "The title of the invoice amount header column of the invoice table",
409
+ id: "invoice_table.header.amount"
410
+ })), 1)
411
+ ]),
412
+ _: 1
413
+ }),
414
+ f(e(E), { class: "sv-table__cell sv-invoices-list__cell--status text-right" }, {
415
+ default: a(() => [
416
+ g(p(e(l)({
417
+ defaultMessage: "Status",
418
+ description: "The title of the invoice status header column of the invoice table",
419
+ id: "invoice_table.header.status"
420
+ })), 1)
421
+ ]),
422
+ _: 1
423
+ })
424
+ ]),
425
+ _: 1
426
+ })
427
+ ]),
428
+ _: 1
429
+ }),
430
+ f(e(Ze), null, {
431
+ default: a(() => [
432
+ (i(!0), m(Z, null, ce(t.invoices, (c) => (i(), y(e(je), {
433
+ key: c.id,
434
+ class: "sv-table__row sv-invoices-list__row"
435
+ }, ue({
436
+ default: a(() => [
437
+ f(e(z), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--invoice h-14" }, {
438
+ default: a(() => [
439
+ P("div", Ye, [
440
+ f(e(U), {
441
+ tag: "span",
442
+ variant: "body-sm",
443
+ class: "md:hidden"
444
+ }, {
445
+ default: a(() => [
446
+ g(p(e(r)({
447
+ date: c.invoice_date,
448
+ format: "date",
449
+ offsetType: "offsetted",
450
+ timezone: e(j)(c)
451
+ })), 1)
452
+ ]),
453
+ _: 2
454
+ }, 1024),
455
+ f(e(U), {
456
+ tag: "span",
457
+ variant: "body-xs",
458
+ color: "subtle"
459
+ }, {
460
+ default: a(() => [
461
+ g(p(c.invoice_number), 1)
462
+ ]),
463
+ _: 2
464
+ }, 1024)
465
+ ])
466
+ ]),
467
+ _: 2
468
+ }, 1024),
469
+ f(e(z), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--date hidden h-14 md:table-cell" }, {
470
+ default: a(() => [
471
+ g(p(e(r)({
472
+ date: c.invoice_date,
473
+ format: "date",
474
+ offsetType: "offsetted",
475
+ timezone: e(j)(c)
476
+ })), 1)
477
+ ]),
478
+ _: 2
479
+ }, 1024),
480
+ f(e(z), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--amount h-14" }, {
481
+ default: a(() => [
482
+ f(e(U), {
483
+ tag: "span",
484
+ weight: "semibold"
485
+ }, {
486
+ default: a(() => [
487
+ f(e(fe), {
488
+ value: c.invoice_amount_including_tax
489
+ }, null, 8, ["value"])
490
+ ]),
491
+ _: 2
492
+ }, 1024)
493
+ ]),
494
+ _: 2
495
+ }, 1024),
496
+ f(e(z), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--status h-14 text-right" }, {
497
+ default: a(() => [
498
+ e(ge)(c) ? (i(), y(e(V), {
499
+ key: 0,
500
+ intent: "success"
501
+ }, {
502
+ default: a(() => [
503
+ g(p(e(l)({
504
+ defaultMessage: "Paid",
505
+ description: "The label of the chip for paid invoices",
506
+ id: "invoice_table.chip.paid"
507
+ })), 1)
508
+ ]),
509
+ _: 1
510
+ })) : e(ye)(c) ? (i(), y(e(V), {
511
+ key: 1,
512
+ intent: "neutral"
513
+ }, {
514
+ default: a(() => [
515
+ g(p(e(l)({
516
+ defaultMessage: "Credit note",
517
+ description: "The label of the chip for credit notes",
518
+ id: "invoice_table.chip.credit_note"
519
+ })), 1)
520
+ ]),
521
+ _: 1
522
+ })) : c.status === "VOID" ? (i(), y(e(V), {
523
+ key: 2,
524
+ intent: "neutral"
525
+ }, {
526
+ default: a(() => [
527
+ g(p(e(l)({
528
+ defaultMessage: "Void",
529
+ description: "The label of the chip for voided invoices",
530
+ id: "invoice_table.chip.void"
531
+ })), 1)
532
+ ]),
533
+ _: 1
534
+ })) : o.value && e(we)(c) ? (i(), y(e(F), {
535
+ key: 3,
536
+ intent: "secondary",
537
+ size: "xs",
538
+ class: "sv-action sv-action--secondary sv-invoices-list__pay",
539
+ type: "button",
540
+ onClick: de((w) => v.$emit("pay-invoice", { invoiceId: c.id }), ["stop"])
541
+ }, {
542
+ default: a(() => [
543
+ g(p(e(l)({
544
+ defaultMessage: "Pay",
545
+ description: "The label for the pay invoice button",
546
+ id: "customer.invoice_table.pay_invoice_button.label"
547
+ })), 1)
548
+ ]),
549
+ _: 1
550
+ }, 8, ["onClick"])) : T("", !0)
551
+ ]),
552
+ _: 2
553
+ }, 1024)
554
+ ]),
555
+ _: 2
556
+ }, [
557
+ _.value ? {
558
+ name: "link",
559
+ fn: a(() => [
560
+ P("button", {
561
+ type: "button",
562
+ class: "sv-invoices-list__row-action absolute inset-0 h-full w-full",
563
+ "aria-label": e(l)(
564
+ {
565
+ defaultMessage: "View invoice {invoiceNumber}",
566
+ description: "Accessible name of the button covering an invoice row, which opens that invoice",
567
+ id: "invoice_table.row.view_invoice_aria_label"
568
+ },
569
+ { invoiceNumber: c.invoice_number || c.id }
570
+ ),
571
+ onClick: (w) => v.$emit("view-invoice", { invoiceId: c.id })
572
+ }, null, 8, Xe)
573
+ ]),
574
+ key: "0"
575
+ } : void 0
576
+ ]), 1024))), 128))
577
+ ]),
578
+ _: 1
579
+ })
580
+ ]),
581
+ _: 1
582
+ }),
583
+ t.error ? (i(), y(e(me), {
584
+ key: 0,
585
+ class: "sv-invoices-list__error sv-error",
586
+ title: e(l)({
587
+ defaultMessage: "We could not load your invoices. Please try again.",
588
+ description: "Error shown when the invoices, or the next batch of them, fail to load",
589
+ id: "invoice_table.load_error"
590
+ })
591
+ }, null, 8, ["title"])) : T("", !0),
592
+ P("div", Je, [
593
+ d.value ? (i(), y(e(F), {
594
+ key: 0,
595
+ intent: "secondary",
596
+ size: "sm",
597
+ class: "sv-action sv-action--secondary sv-action--full-width w-full",
598
+ loading: t.isLoading,
599
+ onClick: b[0] || (b[0] = (c) => v.$emit("load-more"))
600
+ }, {
601
+ default: a(() => [
602
+ g(p(e(l)({
603
+ defaultMessage: "Load more",
604
+ description: "The label for the load more button",
605
+ id: "invoice_table.button.load_more"
606
+ })), 1)
607
+ ]),
608
+ _: 1
609
+ }, 8, ["loading"])) : T("", !0)
610
+ ])
611
+ ]));
612
+ }
613
+ }), bt = /* @__PURE__ */ I({
614
+ __name: "InvoicesList",
615
+ props: {
616
+ invoices: { type: Array },
617
+ isLoading: { type: Boolean },
618
+ error: { type: [Error, null] },
619
+ hasMoreItems: { type: Boolean },
620
+ configuration: { type: Object }
621
+ },
622
+ emits: ["load-more"],
623
+ setup(t) {
624
+ const n = {
625
+ showPayButton: !0,
626
+ showViewButton: !0,
627
+ pagination: {
628
+ enabled: !0
629
+ }
630
+ }, r = t, l = s(
631
+ () => Ce(n, r.configuration)
632
+ ), { $t: o } = Q(), { dispatchAction: _ } = ke();
633
+ return (d, v) => (i(), y(e(ve), {
634
+ class: "sv-invoices-list sv-root sv-component",
635
+ "no-border": "",
636
+ "no-spacing": "",
637
+ "content-background": "none",
638
+ title: e(o)({
639
+ defaultMessage: "Invoices",
640
+ description: "Invoices list title",
641
+ id: "invoices_list.title"
642
+ })
643
+ }, {
644
+ default: a(() => [
645
+ f(et, {
646
+ class: "sv-invoices-list__table",
647
+ configuration: l.value,
648
+ "has-more-items": l.value.pagination.enabled && t.hasMoreItems,
649
+ invoices: t.invoices,
650
+ "is-loading": t.isLoading,
651
+ error: t.error,
652
+ onLoadMore: v[0] || (v[0] = (b) => d.$emit("load-more")),
653
+ onViewInvoice: v[1] || (v[1] = (b) => e(_)({ action: "view-invoice", data: { invoiceId: b.invoiceId } })),
654
+ onPayInvoice: v[2] || (v[2] = (b) => e(_)({ action: "pay-invoice", data: { invoiceId: b.invoiceId } }))
655
+ }, null, 8, ["configuration", "has-more-items", "invoices", "is-loading", "error"])
656
+ ]),
657
+ _: 1
658
+ }, 8, ["title"]));
659
+ }
660
+ }), tt = 50, G = 15;
661
+ function ht({
662
+ customerId: t,
663
+ batchSize: n = G
664
+ }) {
665
+ const r = Le(), l = Number.isFinite(n) ? n : G, o = Math.min(tt, Math.max(1, Math.floor(l)));
666
+ return $e({ service: async (d) => r.getInvoices({
667
+ customerId: t,
668
+ pagination: { page: d, pageSize: o }
669
+ }) });
670
+ }
671
+ export {
672
+ bt as _,
673
+ ht as u
674
+ };
@@ -1,5 +1,5 @@
1
1
  import { ref as r, onMounted as i } from "vue";
2
- import { b as n } from "./customElements-B58FcXIN.mjs";
2
+ import { d as n } from "./customElements-Di3zwlEU.mjs";
3
3
  function u(...o) {
4
4
  const a = r(!0), e = n();
5
5
  return i(async () => {