@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
@@ -1,7 +1,7 @@
1
- import { defineComponent as f, computed as o, openBlock as u, createBlock as g, resolveDynamicComponent as x, mergeProps as h, withCtx as m, createVNode as b, unref as c, normalizeClass as l, renderSlot as v, createTextVNode as y, toDisplayString as C, createElementBlock as w, createCommentVNode as p } from "vue";
2
- import { _ as z } from "./customElements-B58FcXIN.mjs";
3
- import { a as B } from "./Button.vue.es-Cmjfm4jw.mjs";
4
- const s = {
1
+ import { defineComponent as g, computed as r, openBlock as b, createBlock as x, resolveDynamicComponent as f, mergeProps as h, withCtx as u, createVNode as c, unref as m, normalizeClass as s, renderSlot as v, createTextVNode as y, toDisplayString as C, createElementBlock as p, createCommentVNode as w } from "vue";
2
+ import { _ as z } from "./customElements-Di3zwlEU.mjs";
3
+ import { a as B } from "./Button.vue.es-rh6mITmN.mjs";
4
+ const k = {
5
5
  neutral: {
6
6
  base: "bg-gray-50",
7
7
  text: "text-gray-700",
@@ -39,10 +39,22 @@ const s = {
39
39
  text: "text-teal-700",
40
40
  border: "border-teal-100"
41
41
  }
42
- }, j = /* @__PURE__ */ f({
42
+ }, $ = {
43
+ indigo: {
44
+ base: "bg-indigo-100",
45
+ text: "text-indigo-600",
46
+ border: "border-indigo-200"
47
+ },
48
+ sky: {
49
+ base: "bg-sky-100",
50
+ text: "text-sky-600",
51
+ border: "border-sky-200"
52
+ }
53
+ }, D = /* @__PURE__ */ g({
43
54
  __name: "Chip",
44
55
  props: {
45
56
  intent: { default: "neutral" },
57
+ color: {},
46
58
  content: {},
47
59
  removable: { type: Boolean, default: !1 },
48
60
  size: { default: "md" },
@@ -54,8 +66,10 @@ const s = {
54
66
  },
55
67
  emits: ["removed"],
56
68
  setup(e) {
57
- const a = e, t = o(() => s[a.intent].base), r = o(() => s[a.intent].text), i = o(() => s[a.intent].border);
58
- return (n, d) => (u(), g(x(e.tag), h(n.$attrs, {
69
+ const a = e, o = r(
70
+ () => a.color ? $[a.color] : k[a.intent]
71
+ ), t = r(() => o.value.base), n = r(() => o.value.text), i = r(() => o.value.border);
72
+ return (l, d) => (b(), x(f(e.tag), h(l.$attrs, {
59
73
  class: ["box-content inline-flex items-center gap-1 whitespace-nowrap rounded-sm border pl-1.5", {
60
74
  "pr-1.5": !e.removable,
61
75
  "h-4 px-1.5": e.size === "xs",
@@ -64,31 +78,31 @@ const s = {
64
78
  "h-6": e.size === "lg",
65
79
  "rounded-r-none": e.hasChipAfter,
66
80
  "rounded-l-none": e.hasChipBefore,
67
- [r.value]: !!r.value,
81
+ [n.value]: !!n.value,
68
82
  [t.value]: !!t.value && e.variant !== "outline",
69
83
  "bg-transparent": e.variant === "outline",
70
84
  [i.value]: !!i.value
71
85
  }]
72
86
  }), {
73
- default: m(() => [
74
- b(c(z), {
87
+ default: u(() => [
88
+ c(m(z), {
75
89
  tag: "span",
76
90
  variant: "body-xs",
77
91
  weight: "normal",
78
92
  color: "inherit",
79
93
  center: "",
80
- class: l([e.textClass, "inline-flex h-full flex-grow items-center justify-center gap-1 leading-none"])
94
+ class: s([e.textClass, "inline-flex h-full flex-grow items-center justify-center gap-1 leading-none"])
81
95
  }, {
82
- default: m(() => [
83
- v(n.$slots, "default", {}, () => [
96
+ default: u(() => [
97
+ v(l.$slots, "default", {}, () => [
84
98
  y(C(e.content), 1)
85
99
  ])
86
100
  ]),
87
101
  _: 3
88
102
  }, 8, ["class"]),
89
- e.removable ? (u(), w("button", {
103
+ e.removable ? (b(), p("button", {
90
104
  key: 0,
91
- class: l([{
105
+ class: s([{
92
106
  "h-5 w-4": e.size === "sm",
93
107
  "h-5 w-5": e.size === "md",
94
108
  "h-5 w-6": e.size === "lg",
@@ -96,19 +110,19 @@ const s = {
96
110
  }, "flex aspect-square h-full items-center justify-center rounded"]),
97
111
  type: "button",
98
112
  title: "Remove",
99
- onClick: d[0] || (d[0] = ($) => n.$emit("removed"))
113
+ onClick: d[0] || (d[0] = (N) => l.$emit("removed"))
100
114
  }, [
101
- b(c(B), {
102
- class: l(r.value),
115
+ c(m(B), {
116
+ class: s(n.value),
103
117
  icon: "close",
104
118
  size: "xs"
105
119
  }, null, 8, ["class"])
106
- ], 2)) : p("", !0)
120
+ ], 2)) : w("", !0)
107
121
  ]),
108
122
  _: 3
109
123
  }, 16, ["class"]));
110
124
  }
111
125
  });
112
126
  export {
113
- j as _
127
+ D as _
114
128
  };
@@ -0,0 +1,103 @@
1
+ import { ref as F, defineComponent as N, computed as f, openBlock as o, createElementBlock as l, toDisplayString as s, Fragment as v, renderList as k, normalizeClass as h, createVNode as L, createTextVNode as C, createCommentVNode as m, createBlock as b, unref as T } from "vue";
2
+ import { a as w } from "./comparators.es-C8rHpb70.mjs";
3
+ import { a as B } from "./formatting.es-RclXHhKo.mjs";
4
+ const M = (a) => {
5
+ const r = (a == null ? void 0 : a.initialToggledItems) ?? [], g = (a == null ? void 0 : a.closeOthers) ?? !1, e = F(r ?? []), n = (t, y = !1) => {
6
+ const p = e.value.find((d) => d === t);
7
+ y ? e.value = t === p ? [] : [t] : p ? e.value = e.value.filter((d) => d !== t) : e.value = [...e.value, t];
8
+ };
9
+ return { toggledItems: e, toggle: (t) => n(t, g), getIsOpen: (t) => e.value.includes(t), toggleAll: (t) => {
10
+ t.length !== 0 && (e.value.length === t.length ? e.value = [] : e.value = t);
11
+ } };
12
+ }, O = ["innerHTML"], I = {
13
+ key: 1,
14
+ class: "py-0.25 px-0.5"
15
+ }, x = /* @__PURE__ */ N({
16
+ __name: "Comparator",
17
+ props: {
18
+ propertyName: {},
19
+ comparator: {},
20
+ value: {},
21
+ values: {},
22
+ variableName: {},
23
+ hasFormatting: { type: Boolean, default: !0 },
24
+ i18n: {}
25
+ },
26
+ setup(a) {
27
+ const r = a, g = f(() => ({
28
+ propertyName: r.propertyName,
29
+ comparator: r.comparator,
30
+ value: r.value,
31
+ values: r.values,
32
+ variableName: r.variableName
33
+ })), e = f(
34
+ () => w(r.i18n)(g.value, { hasFormatting: r.hasFormatting })
35
+ );
36
+ return (n, i) => a.hasFormatting ? (o(), l("span", {
37
+ key: 0,
38
+ class: "py-0.25 px-0.5",
39
+ innerHTML: e.value
40
+ }, null, 8, O)) : (o(), l("span", I, s(e.value), 1));
41
+ }
42
+ }), V = /* @__PURE__ */ N({
43
+ __name: "Comparators",
44
+ props: {
45
+ comparators: {},
46
+ expressionComparators: {},
47
+ i18n: {},
48
+ display: { default: "block" },
49
+ rootClass: {}
50
+ },
51
+ setup(a) {
52
+ return (r, g) => (o(), l(v, null, [
53
+ a.comparators ? (o(!0), l(v, { key: 0 }, k(a.comparators, ({ meter_property: e, comparator: n, value: i, values: c, meter_property_variable: u }, t) => {
54
+ var y, p;
55
+ return o(), l("span", {
56
+ key: e == null ? void 0 : e.id,
57
+ class: h({ block: a.display === "block", inline: a.display === "inline" })
58
+ }, [
59
+ L(x, {
60
+ "property-name": (e == null ? void 0 : e.name) ?? ((y = a.i18n) == null ? void 0 : y.unknown) ?? "Unknown",
61
+ comparator: n,
62
+ value: i,
63
+ values: c,
64
+ "variable-name": u == null ? void 0 : u.name
65
+ }, null, 8, ["property-name", "comparator", "value", "values", "variable-name"]),
66
+ t < a.comparators.length - 1 ? (o(), l(v, { key: 0 }, [
67
+ C(s(" ") + s(((p = a.i18n) == null ? void 0 : p.and) ?? "and") + s(" "), 1)
68
+ ], 64)) : m("", !0)
69
+ ], 2);
70
+ }), 128)) : m("", !0),
71
+ a.expressionComparators ? (o(!0), l(v, { key: 1 }, k(a.expressionComparators.operands, (e, n) => {
72
+ var i, c, u;
73
+ return o(), l("span", {
74
+ key: n,
75
+ class: h(["bg-primary-400/25 mr-1 rounded-sm px-2", a.rootClass])
76
+ }, [
77
+ e.meter_property ? (o(), b(x, {
78
+ key: 0,
79
+ "property-name": ((i = e.meter_property.meter_property) == null ? void 0 : i.name) ?? ((c = a.i18n) == null ? void 0 : c.unknown) ?? "Unknown",
80
+ comparator: e.meter_property.comparator,
81
+ value: e.meter_property.value,
82
+ values: e.meter_property.values,
83
+ "variable-name": (u = e.meter_property.meter_property_variable) == null ? void 0 : u.name
84
+ }, null, 8, ["property-name", "comparator", "value", "values", "variable-name"])) : m("", !0),
85
+ e.expression ? (o(), b(V, {
86
+ key: 1,
87
+ "expression-comparators": e.expression,
88
+ display: a.display,
89
+ i18n: a.i18n,
90
+ "root-class": a.rootClass
91
+ }, null, 8, ["expression-comparators", "display", "i18n", "root-class"])) : m("", !0),
92
+ n < a.expressionComparators.operands.length - 1 ? (o(), l(v, { key: 2 }, [
93
+ C(s(" ") + s(T(B)(a.expressionComparators.operator).toLocaleLowerCase()) + s(" "), 1)
94
+ ], 64)) : m("", !0)
95
+ ], 2);
96
+ }), 128)) : m("", !0)
97
+ ], 64));
98
+ }
99
+ });
100
+ export {
101
+ V as _,
102
+ M as u
103
+ };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as g, openBlock as s, createBlock as b, resolveDynamicComponent as x, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as j, normalizeClass as M, createCommentVNode as v, createSlots as G, normalizeProps as q, mergeProps as S, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as y, renderList as L, TransitionGroup as R, Comment as K, inject as U, onMounted as W, Teleport as z, ref as w, computed as E, createElementVNode as B, Transition as J, normalizeStyle as Q, useSlots as X } from "vue";
2
2
  import { _ as P, u as Y, a as Z, o as N, f as _ } from "./floating-ui.vue.es-CYt0fSY7.mjs";
3
- import { _ as D, k as ee, D as te } from "./customElements-B58FcXIN.mjs";
4
- import { a as ne, _ as V } from "./Button.vue.es-Cmjfm4jw.mjs";
5
- import { _ as le } from "./DividerText.vue.es-nAo1eRMV.mjs";
3
+ import { _ as D, p as ee, D as te } from "./customElements-Di3zwlEU.mjs";
4
+ import { a as ne, _ as V } from "./Button.vue.es-rh6mITmN.mjs";
5
+ import { _ as le } from "./DividerText.vue.es-M0XqSz55.mjs";
6
6
  import { _ as O } from "./Divider.vue.es-DnP_HqLz.mjs";
7
7
  import { e as oe, o as ae } from "./index.es-CXkP_k3u.mjs";
8
8
  import { p as se } from "./object.es-8aLDIncs.mjs";
9
- import { _ as ie } from "./Chip.vue.es-DksjbJO8.mjs";
9
+ import { _ as ie } from "./Chip.vue.es-Cn2R_0mE.mjs";
10
10
  const re = /* @__PURE__ */ g({
11
11
  __name: "FullClickableBlock",
12
12
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, computed as v, openBlock as c, createBlock as C, withCtx as i, createElementBlock as d, createVNode as o, createTextVNode as a, toDisplayString as r, unref as u, createCommentVNode as b, renderSlot as B } from "vue";
2
- import { a as N, _ as l } from "./customElements-B58FcXIN.mjs";
3
- import { _ as S } from "./Section.vue.es-DVEpre9O.mjs";
2
+ import { a as N, _ as l } from "./customElements-Di3zwlEU.mjs";
3
+ import { _ as S } from "./Section.vue.es-iS8hVGWA.mjs";
4
4
  import { g as k } from "./getCountryNameByCode.es-BDHua7VM.mjs";
5
5
  import { a as A } from "./customer.es-B5ppZf0j.mjs";
6
6
  import { a as M } from "./typeGuards.es-B4XMtlkM.mjs";
@@ -1,24 +1,22 @@
1
- import { defineComponent as v, computed as f, openBlock as s, createBlock as m, unref as t, createSlots as w, withCtx as a, createVNode as y, createTextVNode as p, toDisplayString as h, createCommentVNode as g } from "vue";
2
- import { _ as u } from "./Button.vue.es-Cmjfm4jw.mjs";
3
- import { _ as c } from "./Section.vue.es-DVEpre9O.mjs";
4
- import { a as b, _ as k } from "./customElements-B58FcXIN.mjs";
5
- import { _ as A } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs";
6
- import { _ as M } from "./Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs";
7
- import { u as B } from "./useActionDispatchProvider-B3AvkLL2.mjs";
1
+ import { defineComponent as v, computed as _, openBlock as a, createBlock as m, unref as t, createSlots as w, withCtx as s, createVNode as c, createTextVNode as p, toDisplayString as h, createCommentVNode as g } from "vue";
2
+ import { _ as y } from "./Button.vue.es-rh6mITmN.mjs";
3
+ import { _ as u } from "./Section.vue.es-iS8hVGWA.mjs";
4
+ import { a as b, _ as k } from "./customElements-Di3zwlEU.mjs";
5
+ import { _ as A } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs";
6
+ import { _ as M } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
7
+ import { u as B } from "./useActionDispatchProvider-DC_fUykI.mjs";
8
8
  import { r as $ } from "./configuration-BytDBAWs.mjs";
9
9
  const x = /* @__PURE__ */ v({
10
10
  __name: "CustomerPaymentMethodsBlock",
11
11
  props: {
12
12
  paymentMethods: { type: Array },
13
- limit: { default: 2, type: Number },
14
- isLoading: { type: Boolean },
15
13
  showViewAllButton: { type: Boolean },
16
14
  showAddButton: { type: Boolean }
17
15
  },
18
16
  emits: ["view-all-payment-methods", "add-payment-method"],
19
17
  setup(e) {
20
- const r = e, { $t: o } = b(), l = f(() => r.paymentMethods.length > 0);
21
- return (i, d) => (s(), m(t(c), {
18
+ const l = e, { $t: o } = b(), r = _(() => l.paymentMethods.length > 0);
19
+ return (d, i) => (a(), m(t(u), {
22
20
  class: "sv-payment-methods",
23
21
  "no-spacing": "",
24
22
  "no-border": "",
@@ -31,22 +29,22 @@ const x = /* @__PURE__ */ v({
31
29
  { count: String(e.paymentMethods.length) }
32
30
  )
33
31
  }, w({
34
- default: a(() => [
35
- l.value ? (s(), m(A, {
32
+ default: s(() => [
33
+ r.value ? (a(), m(A, {
36
34
  key: 0,
37
35
  "payment-methods": e.paymentMethods
38
- }, null, 8, ["payment-methods"])) : (s(), m(t(c), {
36
+ }, null, 8, ["payment-methods"])) : (a(), m(t(u), {
39
37
  key: 1,
40
38
  class: "sv-empty-state sv-payment-methods__empty"
41
39
  }, {
42
- default: a(() => [
43
- y(t(k), {
40
+ default: s(() => [
41
+ c(t(k), {
44
42
  variant: "body-sm",
45
43
  color: "subtle",
46
44
  "no-spacing": "",
47
45
  class: "sv-payment-methods__empty-message"
48
46
  }, {
49
- default: a(() => [
47
+ default: s(() => [
50
48
  p(h(t(o)({
51
49
  defaultMessage: "Add a payment method for recurring invoice payments.",
52
50
  description: "Helper text for adding a payment method when no payment methods are configured",
@@ -55,15 +53,15 @@ const x = /* @__PURE__ */ v({
55
53
  ]),
56
54
  _: 1
57
55
  }),
58
- e.showAddButton ? (s(), m(t(u), {
56
+ e.showAddButton ? (a(), m(t(y), {
59
57
  key: 0,
60
58
  class: "sv-action sv-action--secondary sv-action--full-width sv-payment-methods__add mt-4 w-full",
61
59
  intent: "secondary",
62
60
  "icon-prefix": "add",
63
61
  type: "button",
64
- onClick: d[1] || (d[1] = (n) => i.$emit("add-payment-method"))
62
+ onClick: i[1] || (i[1] = (n) => d.$emit("add-payment-method"))
65
63
  }, {
66
- default: a(() => [
64
+ default: s(() => [
67
65
  p(h(t(o)({
68
66
  defaultMessage: "Add payment method",
69
67
  description: "Text for the add payment method button that is shown when no payment methods have been configured",
@@ -80,16 +78,16 @@ const x = /* @__PURE__ */ v({
80
78
  }, [
81
79
  e.showViewAllButton ? {
82
80
  name: "right",
83
- fn: a(() => [
84
- y(t(u), {
81
+ fn: s(() => [
82
+ c(t(y), {
85
83
  size: "sm",
86
84
  intent: "subtle",
87
85
  "icon-suffix": "arrow_right_alt",
88
86
  class: "sv-action sv-action--ghost sv-payment-methods__view-all",
89
87
  type: "button",
90
- onClick: d[0] || (d[0] = (n) => i.$emit("view-all-payment-methods"))
88
+ onClick: i[0] || (i[0] = (n) => d.$emit("view-all-payment-methods"))
91
89
  }, {
92
- default: a(() => [
90
+ default: s(() => [
93
91
  p(h(t(o)({
94
92
  defaultMessage: "View all",
95
93
  id: "customer_overview.payment_methods_block.view_all_payment_methods_link_label",
@@ -108,30 +106,28 @@ const x = /* @__PURE__ */ v({
108
106
  props: {
109
107
  isLoading: { type: Boolean },
110
108
  paymentMethods: { type: Array },
111
- maxPaymentMethods: { type: Number },
112
109
  configuration: { type: Object }
113
110
  },
114
111
  setup(e) {
115
- const r = {
112
+ const l = {
116
113
  showViewAllButton: !0,
117
114
  showAddButton: !0
118
- }, o = e, l = f(
119
- () => $(r, o.configuration)
120
- ), { dispatchAction: i } = B();
121
- return (d, n) => e.isLoading ? (s(), m(M, {
115
+ }, o = e, r = _(
116
+ () => $(l, o.configuration)
117
+ ), { dispatchAction: d } = B();
118
+ return (i, n) => e.isLoading ? (a(), m(M, {
122
119
  key: 0,
123
120
  variant: "section",
124
121
  class: "sv-payment-methods sv-root sv-component sv-loading h-72"
125
- })) : (s(), m(x, {
122
+ })) : (a(), m(x, {
126
123
  key: 1,
127
124
  class: "sv-payment-methods sv-root sv-component",
128
- "is-loading": e.isLoading,
129
125
  "payment-methods": e.paymentMethods,
130
- "show-view-all-button": l.value.showViewAllButton,
131
- "show-add-button": l.value.showAddButton,
132
- onViewAllPaymentMethods: n[0] || (n[0] = (_) => t(i)({ action: "view-all-payment-methods" })),
133
- onAddPaymentMethod: n[1] || (n[1] = (_) => t(i)({ action: "add-payment-method" }))
134
- }, null, 8, ["is-loading", "payment-methods", "show-view-all-button", "show-add-button"]));
126
+ "show-view-all-button": r.value.showViewAllButton,
127
+ "show-add-button": r.value.showAddButton,
128
+ onViewAllPaymentMethods: n[0] || (n[0] = (f) => t(d)({ action: "view-all-payment-methods" })),
129
+ onAddPaymentMethod: n[1] || (n[1] = (f) => t(d)({ action: "add-payment-method" }))
130
+ }, null, 8, ["payment-methods", "show-view-all-button", "show-add-button"]));
135
131
  }
136
132
  });
137
133
  export {