@solvimon/solvimon-web 0.1.0-alpha.26 → 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 (438) hide show
  1. package/README.md +138 -27
  2. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  3. package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +17 -19
  5. package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
  6. package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +233 -253
  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-CKCOY5T6.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-Da-lAmTl.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
  12. package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
  13. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +31 -36
  14. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
  15. package/dist/{DividerText.vue.es-DKl3FnDJ.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-rRKgmkzV.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
  18. package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
  19. package/dist/{IconTitle.vue.es-CK9k69tV.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-DUfJl07Y.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-DQ4KvTaw.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
  24. package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
  25. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +73 -75
  26. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
  27. package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
  28. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
  29. package/dist/{PaymentIntegrationForm-UWoyZgsR.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-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -297
  32. package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
  33. package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
  34. package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
  35. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +65 -75
  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-DGpXRtp4.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-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
  41. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
  42. package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
  43. package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
  44. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.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-C3Zm6Wc9.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
  47. package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
  48. package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
  49. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.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-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +124 -90
  52. package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
  53. package/dist/{TrialChip.vue.es-C_yRujip.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-CGa6b2Lt.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 -63
  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 -65
  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-CLfzTbbX.mjs → de-DE-BW8dMvhW.mjs} +87 -19
  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-DJTwftJv.mjs → invoices-Cf1qDAv4.mjs} +40 -35
  79. package/dist/{it-IT-Cym1UvvK.mjs → it-IT-Byg06KWc.mjs} +87 -19
  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-D0c4x5C0.mjs → nl-NL-x3zQqzZ7.mjs} +93 -25
  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/CheckoutTitle.types.d.ts +10 -0
  102. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
  103. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +20 -0
  104. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
  105. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
  106. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  107. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  108. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  109. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
  110. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
  111. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
  112. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +36 -4
  113. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +7 -0
  114. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
  115. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +9 -4
  116. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
  117. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
  118. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  119. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  120. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
  121. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
  122. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
  123. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
  124. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
  125. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  126. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
  127. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
  128. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
  129. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
  130. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
  131. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  132. package/dist/types/components/providers/Provider/Provider.vue.d.ts +11 -4
  133. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  134. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
  135. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
  136. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
  137. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
  138. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
  139. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
  140. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +8 -16
  141. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
  142. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
  143. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
  144. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
  145. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
  146. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
  147. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
  148. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
  149. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
  150. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
  151. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
  152. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
  153. package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
  154. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
  155. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
  156. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
  157. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
  158. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
  159. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
  160. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
  161. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
  162. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
  163. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
  164. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
  165. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
  166. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
  167. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
  168. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
  169. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
  170. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
  171. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
  172. package/dist/types/public/core/action-request.types.d.ts +5 -0
  173. package/dist/types/public/core/registry.ce.d.ts +3 -3
  174. package/dist/types/public/core/registry.d.ts +0 -3
  175. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
  176. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
  177. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
  178. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
  179. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
  180. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +2 -0
  181. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
  182. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
  183. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
  184. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
  185. package/dist/types/services/paymentMethods.types.d.ts +2 -10
  186. package/dist/types/services/requests.types.d.ts +16 -6
  187. package/dist/types/types/errors.d.ts +3 -2
  188. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  189. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
  190. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
  191. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  192. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  193. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  194. package/dist/useActionDispatchProvider-DC_fUykI.mjs +9 -0
  195. package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-C3kTh7wn.mjs} +2 -2
  196. package/dist/useCustomerFormLabels-CK7K50nB.mjs +1369 -0
  197. package/dist/useIncrementalLoading-C_sHmW7d.mjs +60 -0
  198. package/dist/useInvoiceData-BIh8-h8b.mjs +21 -0
  199. package/dist/useInvoicesList-Y6p0Pqpy.mjs +674 -0
  200. package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
  201. package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
  202. package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +17 -18
  203. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
  204. package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
  205. package/dist/{usePayments-CV85OV8V.mjs → usePayments-CykCZPG2.mjs} +7 -7
  206. package/dist/usePortal-CxzKGhbK.mjs +7 -0
  207. package/dist/useService-B0OQJmif.mjs +56 -0
  208. package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
  209. package/dist/useViewport-psZejz_H.mjs +19 -0
  210. package/package.json +35 -59
  211. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs +0 -223
  212. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js +0 -1
  213. package/dist/Alert.vue.es-RyK53a2P.js +0 -1
  214. package/dist/Amount.vue.es-DExaYBqm.js +0 -1
  215. package/dist/Avatar.vue.es-Bm6MCMAL.js +0 -1
  216. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
  217. package/dist/Button.vue.es-qGvnOKnK.js +0 -1
  218. package/dist/ChargeOnDemandModal-DIQaGnRs.js +0 -1
  219. package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
  220. package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
  221. package/dist/Chip.vue.es-D60gTbfe.js +0 -1
  222. package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
  223. package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
  224. package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
  225. package/dist/ContextMenu.vue.es-C7KI8Gz6.js +0 -1
  226. package/dist/CustomerBillingInformation.vue.es-bFUx81Ig.js +0 -1
  227. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
  228. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js +0 -1
  229. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs +0 -2701
  230. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
  231. package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
  232. package/dist/DividerText.vue.es-BF3gnr4e.js +0 -1
  233. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs +0 -335
  234. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js +0 -1
  235. package/dist/ErrorNotification.vue.es-BX9dHEc-.js +0 -1
  236. package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
  237. package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
  238. package/dist/IconButton.vue.es-Bwdfu-jm.js +0 -1
  239. package/dist/IconTitle.vue.es-Cei98MBw.js +0 -1
  240. package/dist/Input.vue.es-B47l_feL.js +0 -1
  241. package/dist/Input.vue.es-D9IjIWc-.mjs +0 -235
  242. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js +0 -1
  243. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs +0 -41
  244. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js +0 -1
  245. package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +0 -1
  246. package/dist/Modal.vue.es-8LN4gBh0.js +0 -1
  247. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js +0 -1
  248. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js +0 -1
  249. package/dist/PaymentHistoryBlock-Ds93gNvh.js +0 -1
  250. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js +0 -1
  251. package/dist/PaymentIntegrationForm-B_Db4DG1.js +0 -1
  252. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
  253. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +0 -154
  254. package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
  255. package/dist/PaymentIntegrationFormStripe-BIiMCWlV.mjs +0 -587
  256. package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +0 -102
  257. package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +0 -1
  258. package/dist/PaymentMethodForm-1d0YIGOu.js +0 -1
  259. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +0 -1
  260. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js +0 -1
  261. package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
  262. package/dist/PlanCustomizationEditor-CpZeilm5.mjs +0 -694
  263. package/dist/PricingGroupRangeInput.vue.es-DZSJ5Mz0.js +0 -185
  264. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +0 -1
  265. package/dist/RadioGroupExtended.vue.es-Dt6LH9Yh.js +0 -1
  266. package/dist/Section.vue.es-zVXBHAL6.js +0 -1
  267. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js +0 -1
  268. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
  269. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
  270. package/dist/StepInput.vue.es-mAnuCuDQ.js +0 -1
  271. package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +0 -1
  272. package/dist/SubscriptionSchedules-Cm5Dt-1H.js +0 -1
  273. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +0 -1
  274. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs +0 -91
  275. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js +0 -1
  276. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js +0 -1
  277. package/dist/TooltipParagraph.vue.es-Cph6zT31.js +0 -1
  278. package/dist/TrialChip.vue.es-C_wgHGuN.js +0 -1
  279. package/dist/accel.svg.es-DFJXdioD.js +0 -1
  280. package/dist/ach.svg.es-BYP873jU.js +0 -1
  281. package/dist/adyen-BJfC7N6f.js +0 -1
  282. package/dist/adyen-CvsH5fok.mjs +0 -117
  283. package/dist/adyen-Druit6gz.js +0 -1
  284. package/dist/adyenSdk-BP2XXzeJ.js +0 -1
  285. package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
  286. package/dist/amex.svg.es-DKhW4Txt.js +0 -1
  287. package/dist/api.es-duCDtZD9.js +0 -1
  288. package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
  289. package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
  290. package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
  291. package/dist/carnet.svg.es-DY04-F2L.js +0 -1
  292. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
  293. package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
  294. package/dist/cn.es-D9YMDvG2.js +0 -1
  295. package/dist/comparators.es-OGt19O9U.js +0 -1
  296. package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
  297. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
  298. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
  299. package/dist/components/Invoice/Invoice.cjs +0 -1
  300. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
  301. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
  302. package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
  303. package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
  304. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
  305. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
  306. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
  307. package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
  308. package/dist/configuration-akTS7Wiw.js +0 -1
  309. package/dist/core/index.cjs +0 -1
  310. package/dist/countryData.es-C4jHBzfo.js +0 -1
  311. package/dist/customElements-C963-LtW.js +0 -1215
  312. package/dist/customElements-D5DAoHRI.mjs +0 -6633
  313. package/dist/customer-DKa1B2vp.mjs +0 -31
  314. package/dist/customer-TE1FnGT0.js +0 -1
  315. package/dist/customer.es-BButyYo0.js +0 -1
  316. package/dist/dana.svg.es-BDtZLpwd.js +0 -1
  317. package/dist/dankort.svg.es-CksaipXF.js +0 -1
  318. package/dist/de-DE-B4TUdnUf.js +0 -1
  319. package/dist/de-DE-DaBBl-Ak.js +0 -1
  320. package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
  321. package/dist/discover.svg.es-DgqWCMUM.js +0 -1
  322. package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
  323. package/dist/elo.svg.es-C-BzjuRP.js +0 -1
  324. package/dist/en-US-BNevqm0M.js +0 -1
  325. package/dist/en-US-D6SGRAch.mjs +0 -325
  326. package/dist/en-US-J85TQRI8.js +0 -1
  327. package/dist/en-US-SDhjlY_v.mjs +0 -301
  328. package/dist/eps.svg.es-B_85bP-W.js +0 -1
  329. package/dist/error-BHVZJGwD.mjs +0 -13
  330. package/dist/error-CmduqgVq.js +0 -1
  331. package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
  332. package/dist/formControl-ODrpUvcA.js +0 -1
  333. package/dist/formControl-dX7l8o3c.mjs +0 -845
  334. package/dist/formatting.es-C72Nsrmh.js +0 -1
  335. package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
  336. package/dist/getComposedString.es-haS4bAj7.js +0 -1
  337. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
  338. package/dist/girocard.svg.es-HSOEvDif.js +0 -1
  339. package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
  340. package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
  341. package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
  342. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
  343. package/dist/ideal.svg.es-Booz1IML.js +0 -1
  344. package/dist/index-BPZPnOQQ.js +0 -7
  345. package/dist/index.cjs +0 -1
  346. package/dist/index.es-BclokHQX.js +0 -1
  347. package/dist/invoices-ClqTWYF9.js +0 -1
  348. package/dist/it-IT-BkPbTueL.js +0 -1
  349. package/dist/it-IT-CSYvGmpT.js +0 -1
  350. package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
  351. package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
  352. package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
  353. package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
  354. package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
  355. package/dist/momo.svg.es-C5aLYf_R.js +0 -1
  356. package/dist/nl-NL-CpE4IgwO.js +0 -1
  357. package/dist/nl-NL-jIfAVGv0.js +0 -1
  358. package/dist/nyce.svg.es-ArAivAZW.js +0 -1
  359. package/dist/object.es-CdriXMPs.js +0 -1
  360. package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
  361. package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
  362. package/dist/paymentFailure-Cki8c5BX.js +0 -1
  363. package/dist/paymentMethods-AL2U_byg.js +0 -1
  364. package/dist/paymentMethods-CWzJhcWK.mjs +0 -77
  365. package/dist/payments-BmiHMlQt.js +0 -1
  366. package/dist/payments-aXyfylwk.mjs +0 -45
  367. package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
  368. package/dist/pricing-BVAld27Y.js +0 -1
  369. package/dist/pricing-DLOeiAIB.mjs +0 -16
  370. package/dist/pricing.es-C07bgEZx.js +0 -1
  371. package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
  372. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
  373. package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
  374. package/dist/pricingPlanSchedules-BD4GIP_F.mjs +0 -32
  375. package/dist/pricingPlanSchedules-BfsMSvN0.js +0 -1
  376. package/dist/pulse.svg.es-Dit33E8S.js +0 -1
  377. package/dist/screens/Checkout/Checkout.cjs +0 -1
  378. package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
  379. package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
  380. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
  381. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
  382. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
  383. package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
  384. package/dist/sessionReference-3h-6FdrC.mjs +0 -43
  385. package/dist/sessionReference-m_6Rp4X1.js +0 -1
  386. package/dist/slots.es-T9ZJRGtG.js +0 -1
  387. package/dist/sorting.es-DCihKqD2.mjs +0 -77
  388. package/dist/sorting.es-DQsjKr8A.js +0 -1
  389. package/dist/star.svg.es-D2JncY7b.js +0 -1
  390. package/dist/subscription-D1yHKUNc.mjs +0 -69
  391. package/dist/subscription-ZA62t4E9.js +0 -1
  392. package/dist/subscriptions-Cm83ckfl.js +0 -1
  393. package/dist/subscriptions-cnR5fnf7.mjs +0 -55
  394. package/dist/trustly.svg.es-GJByiFAs.js +0 -1
  395. package/dist/twint.svg.es-BJ2f48og.js +0 -1
  396. package/dist/typeGuards.es-DS3vZaJn.js +0 -1
  397. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
  398. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
  399. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
  400. package/dist/types/services/portals.types.d.ts +0 -70
  401. package/dist/types/types/subscription.d.ts +0 -4
  402. package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
  403. package/dist/url-TNRgVI8A.mjs +0 -21
  404. package/dist/url-vloPOiXd.js +0 -1
  405. package/dist/useActionDispatchProvider-CHkVQMaE.js +0 -1
  406. package/dist/useActionDispatchProvider-DDYqIh3r.mjs +0 -11
  407. package/dist/useCustomer-DGYtowRy.js +0 -1
  408. package/dist/useCustomerFormLabels-CcnkJLcB.mjs +0 -968
  409. package/dist/useCustomerFormLabels-DAZziqYt.js +0 -1
  410. package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
  411. package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
  412. package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
  413. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
  414. package/dist/useInvoiceData-BEK-7msA.mjs +0 -38
  415. package/dist/useInvoiceData-CQRn8l9C.js +0 -1
  416. package/dist/useInvoicesList-BQkKyyXa.js +0 -1
  417. package/dist/useInvoicesList-C4I118KM.mjs +0 -500
  418. package/dist/useLoadInitialData-CrKnBZs_.js +0 -1
  419. package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
  420. package/dist/usePaymentMethodOptions-Ciifjo6c.mjs +0 -39
  421. package/dist/usePaymentMethodOptions-Cqe92ZBn.js +0 -1
  422. package/dist/usePaymentMethods-BKwrl82-.js +0 -1
  423. package/dist/usePayments-Bauj16B-.js +0 -1
  424. package/dist/usePortal-DSLImEfr.js +0 -1
  425. package/dist/usePortal-H8Tv2TnZ.mjs +0 -11
  426. package/dist/useService-Bh47bllz.mjs +0 -50
  427. package/dist/useService-H7BjLg8P.js +0 -1
  428. package/dist/useSubscription-BiYNJT2e.js +0 -1
  429. package/dist/useSubscription-DqnxWNKg.mjs +0 -210
  430. package/dist/useTimePeriod.es-D2aiyfd-.js +0 -1
  431. package/dist/useViewport-BgdA2PPt.mjs +0 -29
  432. package/dist/useViewport-hPRVDWCm.js +0 -1
  433. package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
  434. package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
  435. package/dist/visa.svg.es-NY3BHhda.js +0 -1
  436. package/dist/vpay.svg.es-VViQi42w.js +0 -1
  437. package/dist/wallets.es-CNIMW5ay.js +0 -1
  438. package/dist/zip.svg.es-C9S_F31W.js +0 -1
@@ -1,31 +1,24 @@
1
- import { defineComponent as l, openBlock as a, createBlock as s, renderSlot as d, unref as c, withCtx as y, createVNode as g, normalizeProps as v, guardReactiveProps as u, createCommentVNode as f } from "vue";
2
- import { _ as S } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs";
3
- import { _ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs";
4
- import { u as O } from "../../useInvoiceData-BEK-7msA.mjs";
5
- import { d as b, e as j } from "../../customElements-D5DAoHRI.mjs";
6
- import { a as w } from "../../sessionReference-3h-6FdrC.mjs";
7
- const C = /* @__PURE__ */ l({
1
+ import { defineComponent as p, openBlock as i, createBlock as r, unref as e, renderSlot as y, withCtx as l, mergeProps as m, createCommentVNode as v } from "vue";
2
+ import { _ as d } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs";
3
+ import { _ as u } from "../../ErrorNotification.vue.es-CKlt4hr2.mjs";
4
+ import { a as g, e as f, g as _, f as S } from "../../customElements-Di3zwlEU.mjs";
5
+ import { _ as O } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
6
+ import { u as b } from "../../useInvoiceData-BIh8-h8b.mjs";
7
+ const j = /* @__PURE__ */ p({
8
8
  __name: "InvoiceDetails",
9
9
  props: {
10
- invoice: { type: Object },
11
- isLoading: { type: Boolean },
12
- configuration: { type: Object }
10
+ invoice: { type: Object }
13
11
  },
14
- setup(e) {
15
- return (p, o) => e.isLoading ? (a(), s(_, {
16
- key: 0,
17
- variant: "section",
18
- class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]",
19
- "data-testid": "invoice-details-skeleton"
20
- })) : (a(), s(S, {
21
- key: 1,
12
+ setup(t) {
13
+ return (s, o) => (i(), r(d, {
22
14
  class: "sv-invoice-details sv-root sv-component",
23
- invoice: e.invoice
15
+ invoice: t.invoice
24
16
  }, null, 8, ["invoice"]));
25
17
  }
26
- }), L = /* @__PURE__ */ l({
18
+ }), $ = /* @__PURE__ */ p({
27
19
  __name: "InvoiceDetails.entry.view",
28
20
  props: {
21
+ configuration: { type: Object },
29
22
  environment: { type: String },
30
23
  locale: { type: String },
31
24
  dateLocale: { type: String },
@@ -39,22 +32,30 @@ const C = /* @__PURE__ */ l({
39
32
  allowedPortalTypes: { type: Array },
40
33
  portalObject: { type: Object },
41
34
  cssOverrides: { type: [String, Array] },
42
- branding: { type: Object },
43
- configuration: { type: Object }
35
+ branding: { type: Object }
44
36
  },
45
- setup(e) {
46
- const o = O(e.configuration.invoiceId);
47
- return (n, i) => {
48
- var t;
49
- return d(n.$slots, "default", {
50
- invoice: (t = c(o).data.value) == null ? void 0 : t.invoice,
51
- isLoading: c(o).isPending.value
52
- });
53
- };
37
+ setup(t) {
38
+ const s = t, { $t: o } = g(), n = b(s.configuration.invoiceId);
39
+ return (c, a) => e(n).isPending.value ? (i(), r(O, {
40
+ key: 0,
41
+ variant: "section",
42
+ class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"
43
+ })) : e(n).data.value ? y(c.$slots, "default", {
44
+ invoice: e(n).data.value.invoice
45
+ }, void 0, void 0, 2) : (i(), r(e(u), {
46
+ key: 1,
47
+ class: "sv-invoice-details sv-root sv-component sv-error",
48
+ title: e(o)({
49
+ defaultMessage: "We could not load this invoice. Please try again.",
50
+ description: "Error shown in place of an invoice that failed to load",
51
+ id: "invoice.load_error"
52
+ })
53
+ }, null, 8, ["title"]));
54
54
  }
55
- }), $ = /* @__PURE__ */ l({
55
+ }), I = /* @__PURE__ */ p({
56
56
  __name: "InvoiceDetails.entry",
57
57
  props: {
58
+ configuration: { type: Object },
58
59
  environment: { type: String },
59
60
  locale: { type: String },
60
61
  dateLocale: { type: String },
@@ -68,40 +69,40 @@ const C = /* @__PURE__ */ l({
68
69
  allowedPortalTypes: { type: Array },
69
70
  portalObject: { type: Object },
70
71
  cssOverrides: { type: [String, Array] },
71
- branding: { type: Object },
72
- configuration: { type: Object }
72
+ branding: { type: Object }
73
73
  },
74
- setup(e) {
75
- var n;
76
- const p = w("invoice-details");
77
- if (!((n = e.configuration) != null && n.invoiceId))
78
- throw new Error("Missing invoice id");
79
- return (i, t) => (a(), s(c(b), {
80
- entry: i.$props,
81
- "component-name": c(p),
82
- "allowed-portal-types": ["CUSTOMER"],
83
- onError: t[0] || (t[0] = (r) => i.$emit("error", r))
84
- }, {
85
- default: y(() => [
86
- g(L, v(u(i.$props)), {
87
- default: y(({ invoice: r, isLoading: m }) => [
88
- r ? (a(), s(C, {
89
- key: 0,
90
- "is-loading": m,
91
- invoice: r,
92
- configuration: e.configuration
93
- }, null, 8, ["is-loading", "invoice", "configuration"])) : f("", !0)
94
- ]),
95
- _: 1
96
- }, 16)
97
- ]),
98
- _: 1
99
- }, 8, ["entry", "component-name"]));
74
+ setup(t) {
75
+ const s = _("invoice-details");
76
+ return (o, n) => {
77
+ var c;
78
+ return i(), r(e(f), {
79
+ entry: o.$props,
80
+ "component-name": e(s),
81
+ "allowed-portal-types": ["CUSTOMER"],
82
+ "required-configuration": { invoiceId: (c = t.configuration) == null ? void 0 : c.invoiceId },
83
+ onError: n[0] || (n[0] = (a) => o.$emit("error", a))
84
+ }, {
85
+ default: l(() => [
86
+ (i(), r($, m({
87
+ key: t.configuration.invoiceId
88
+ }, o.$props), {
89
+ default: l(({ invoice: a }) => [
90
+ a ? (i(), r(j, {
91
+ key: 0,
92
+ invoice: a
93
+ }, null, 8, ["invoice"])) : v("", !0)
94
+ ]),
95
+ _: 1
96
+ }, 16))
97
+ ]),
98
+ _: 1
99
+ }, 8, ["entry", "component-name", "required-configuration"]);
100
+ };
100
101
  }
101
- }), { define: P } = j(
102
- $,
102
+ }), { define: L } = S(
103
+ I,
103
104
  "invoice-details"
104
105
  );
105
106
  export {
106
- P as defineSolvimonInvoiceDetails
107
+ L as defineSolvimonInvoiceDetails
107
108
  };
@@ -1,8 +1,7 @@
1
- import { defineComponent as f, computed as g, openBlock as a, createBlock as c, unref as p, withCtx as s, createVNode as v, createCommentVNode as S } from "vue";
2
- import { _, a as w } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs";
3
- import { d as b, e as C } from "../../customElements-D5DAoHRI.mjs";
4
- import { a as O } from "../../sessionReference-3h-6FdrC.mjs";
5
- const j = /* @__PURE__ */ f({
1
+ import { defineComponent as y, computed as f, openBlock as n, createBlock as t, unref as s, withCtx as l, createCommentVNode as g } from "vue";
2
+ import { _ as v, a as S } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs";
3
+ import { e as _, g as b, f as w } from "../../customElements-Di3zwlEU.mjs";
4
+ const C = /* @__PURE__ */ y({
6
5
  __name: "InvoiceHeader.entry",
7
6
  props: {
8
7
  environment: { type: String },
@@ -21,48 +20,48 @@ const j = /* @__PURE__ */ f({
21
20
  branding: { type: Object },
22
21
  configuration: { type: Object }
23
22
  },
24
- setup(m) {
25
- var t;
26
- const l = O("invoice-header"), o = m;
27
- if (!((t = o.configuration) != null && t.invoiceId))
28
- throw new Error("Missing invoice id");
29
- const n = g(() => ({
30
- ...o,
23
+ setup(i) {
24
+ const m = b("invoice-header"), r = i, o = f(() => ({
25
+ ...r,
31
26
  configuration: {
32
27
  enableDownloadButton: !0,
33
- ...o.configuration
28
+ ...r.configuration
34
29
  }
35
30
  }));
36
- return (r, i) => (a(), c(p(b), {
37
- entry: r.$props,
38
- "component-name": p(l),
39
- "allowed-portal-types": ["CUSTOMER"],
40
- onError: i[0] || (i[0] = (e) => r.$emit("error", e))
41
- }, {
42
- default: s(() => [
43
- v(_, {
44
- "invoice-id": n.value.configuration.invoiceId
45
- }, {
46
- default: s(({ invoice: e, payments: d, isLoading: y, invoiceDownloadService: u }) => [
47
- e ? (a(), c(w, {
48
- key: 0,
49
- "is-loading": y,
50
- invoice: e,
51
- "invoice-download-service": u,
52
- payments: d.payments.value,
53
- configuration: n.value.configuration
54
- }, null, 8, ["is-loading", "invoice", "invoice-download-service", "payments", "configuration"])) : S("", !0)
55
- ]),
56
- _: 1
57
- }, 8, ["invoice-id"])
58
- ]),
59
- _: 1
60
- }, 8, ["entry", "component-name"]));
31
+ return (a, c) => {
32
+ var p;
33
+ return n(), t(s(_), {
34
+ entry: a.$props,
35
+ "component-name": s(m),
36
+ "allowed-portal-types": ["CUSTOMER"],
37
+ "required-configuration": { invoiceId: (p = i.configuration) == null ? void 0 : p.invoiceId },
38
+ onError: c[0] || (c[0] = (e) => a.$emit("error", e))
39
+ }, {
40
+ default: l(() => [
41
+ (n(), t(v, {
42
+ key: o.value.configuration.invoiceId,
43
+ "invoice-id": o.value.configuration.invoiceId
44
+ }, {
45
+ default: l(({ invoice: e, payments: d, invoiceDownloadService: u }) => [
46
+ e ? (n(), t(S, {
47
+ key: 0,
48
+ invoice: e,
49
+ "invoice-download-service": u,
50
+ payments: d.payments.value,
51
+ configuration: o.value.configuration
52
+ }, null, 8, ["invoice", "invoice-download-service", "payments", "configuration"])) : g("", !0)
53
+ ]),
54
+ _: 1
55
+ }, 8, ["invoice-id"]))
56
+ ]),
57
+ _: 1
58
+ }, 8, ["entry", "component-name", "required-configuration"]);
59
+ };
61
60
  }
62
- }), { define: I } = C(
63
- j,
61
+ }), { define: $ } = w(
62
+ C,
64
63
  "invoice-header"
65
64
  );
66
65
  export {
67
- I as defineSolvimonInvoiceHeader
66
+ $ as defineSolvimonInvoiceHeader
68
67
  };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as l, renderSlot as m, unref as i, openBlock as g, createBlock as d, withCtx as p, createVNode as c, normalizeProps as u, guardReactiveProps as f } from "vue";
2
- import { u as S, _ as v } from "../../useInvoicesList-C4I118KM.mjs";
3
- import { u as L } from "../../useLoadInitialData-CR0kbYw8.mjs";
4
- import { d as _, e as b } from "../../customElements-D5DAoHRI.mjs";
5
- import { a as O } from "../../sessionReference-3h-6FdrC.mjs";
2
+ import { u as S, _ as v } from "../../useInvoicesList-Y6p0Pqpy.mjs";
3
+ import { u as L } from "../../useLoadInitialData-4k_Cyqef.mjs";
4
+ import { e as _, g as b, f as O } from "../../customElements-Di3zwlEU.mjs";
6
5
  const h = 15, j = /* @__PURE__ */ l({
7
6
  __name: "InvoicesList.entry.view",
8
7
  props: {
@@ -23,10 +22,10 @@ const h = 15, j = /* @__PURE__ */ l({
23
22
  configuration: { type: Object }
24
23
  },
25
24
  setup(a) {
26
- var r, s;
27
- const n = a, t = n.portalObject.customer_id, o = S({
25
+ var n, s;
26
+ const r = a, t = r.portalObject.customer_id, o = S({
28
27
  customerId: t,
29
- batchSize: ((s = (r = n.configuration) == null ? void 0 : r.pagination) == null ? void 0 : s.batchSize) || h
28
+ batchSize: ((s = (n = r.configuration) == null ? void 0 : n.pagination) == null ? void 0 : s.batchSize) || h
30
29
  }), { isLoading: e } = L(o.fetchInitial());
31
30
  return (y, A) => m(y.$slots, "default", {
32
31
  isLoading: i(e),
@@ -53,23 +52,24 @@ const h = 15, j = /* @__PURE__ */ l({
53
52
  configuration: { type: Object }
54
53
  },
55
54
  setup(a) {
56
- const n = O("invoices-list");
55
+ const r = b("invoices-list");
57
56
  return (t, o) => (g(), d(i(_), {
58
57
  entry: t.$props,
59
- "component-name": i(n),
58
+ "component-name": i(r),
60
59
  "allowed-portal-types": ["CUSTOMER"],
61
60
  onError: o[0] || (o[0] = (e) => t.$emit("error", e))
62
61
  }, {
63
62
  default: p(() => [
64
63
  c(j, u(f(t.$props)), {
65
- default: p(({ invoices: e, isLoading: r }) => [
64
+ default: p(({ invoices: e, isLoading: n }) => [
66
65
  c(v, {
67
66
  configuration: a.configuration,
68
67
  invoices: e.items.value,
69
- "is-loading": r,
68
+ "is-loading": n || e.isPending.value,
69
+ error: e.error.value,
70
70
  "has-more-items": e.hasNextBatch.value,
71
71
  onLoadMore: e.fetchMore
72
- }, null, 8, ["configuration", "invoices", "is-loading", "has-more-items", "onLoadMore"])
72
+ }, null, 8, ["configuration", "invoices", "is-loading", "error", "has-more-items", "onLoadMore"])
73
73
  ]),
74
74
  _: 1
75
75
  }, 16)
@@ -77,10 +77,10 @@ const h = 15, j = /* @__PURE__ */ l({
77
77
  _: 1
78
78
  }, 8, ["entry", "component-name"]));
79
79
  }
80
- }), { define: F } = b(
80
+ }), { define: E } = O(
81
81
  C,
82
82
  "invoices-list"
83
83
  );
84
84
  export {
85
- F as defineSolvimonInvoicesList
85
+ E as defineSolvimonInvoicesList
86
86
  };
@@ -1,33 +1,27 @@
1
- import { defineComponent as m, openBlock as s, createBlock as p, createCommentVNode as u, renderSlot as d, unref as r, withCtx as l, createVNode as f, normalizeProps as v, guardReactiveProps as S } from "vue";
2
- import { _ as O } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs";
3
- import { _ as b } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs";
4
- import { u as _ } from "../../useInvoiceData-BEK-7msA.mjs";
5
- import { d as h, e as j } from "../../customElements-D5DAoHRI.mjs";
6
- import { a as A } from "../../sessionReference-3h-6FdrC.mjs";
7
- const w = /* @__PURE__ */ m({
1
+ import { defineComponent as m, openBlock as r, createBlock as a, createCommentVNode as l, unref as t, renderSlot as u, withCtx as c, mergeProps as d } from "vue";
2
+ import { _ as g } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs";
3
+ import { _ as v } from "../../ErrorNotification.vue.es-CKlt4hr2.mjs";
4
+ import { a as f, e as _, g as S, f as h } from "../../customElements-Di3zwlEU.mjs";
5
+ import { _ as O } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
6
+ import { u as b } from "../../useInvoiceData-BIh8-h8b.mjs";
7
+ const j = /* @__PURE__ */ m({
8
8
  __name: "PaymentHistory",
9
9
  props: {
10
10
  customer: { type: Object },
11
- paymentAttempts: { type: Array },
12
- isLoading: { type: Boolean },
13
- configuration: { type: Object }
11
+ paymentAttempts: { type: Array }
14
12
  },
15
- setup(t) {
16
- return (y, o) => t.isLoading ? (s(), p(b, {
13
+ setup(e) {
14
+ return (p, n) => e.paymentAttempts.length ? (r(), a(g, {
17
15
  key: 0,
18
- variant: "section",
19
- class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]",
20
- "data-testid": "payment-history-skeleton"
21
- })) : t.paymentAttempts.length ? (s(), p(O, {
22
- key: 1,
23
16
  class: "sv-payment-history sv-root sv-component",
24
- "payment-attempts": t.paymentAttempts,
25
- customer: t.customer
26
- }, null, 8, ["payment-attempts", "customer"])) : u("", !0);
17
+ "payment-attempts": e.paymentAttempts,
18
+ customer: e.customer
19
+ }, null, 8, ["payment-attempts", "customer"])) : l("", !0);
27
20
  }
28
- }), C = /* @__PURE__ */ m({
21
+ }), A = /* @__PURE__ */ m({
29
22
  __name: "PaymentHistory.entry.view",
30
23
  props: {
24
+ configuration: { type: Object },
31
25
  environment: { type: String },
32
26
  locale: { type: String },
33
27
  dateLocale: { type: String },
@@ -41,23 +35,34 @@ const w = /* @__PURE__ */ m({
41
35
  allowedPortalTypes: { type: Array },
42
36
  portalObject: { type: Object },
43
37
  cssOverrides: { type: [String, Array] },
44
- branding: { type: Object },
45
- configuration: { type: Object }
38
+ branding: { type: Object }
46
39
  },
47
- setup(t) {
48
- const o = _(t.configuration.invoiceId);
49
- return (a, i) => {
50
- var n, e;
51
- return d(a.$slots, "default", {
52
- invoice: (n = r(o).data.value) == null ? void 0 : n.invoice,
53
- paymentAttempts: (e = r(o).data.value) == null ? void 0 : e.paymentAttempts.data,
54
- isLoading: r(o).isPending.value
55
- });
40
+ setup(e) {
41
+ const p = e, { $t: n } = f(), o = b(p.configuration.invoiceId, { includePayments: !0 });
42
+ return (y, i) => {
43
+ var s;
44
+ return t(o).isPending.value ? (r(), a(O, {
45
+ key: 0,
46
+ variant: "section",
47
+ class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]"
48
+ })) : t(o).data.value ? u(y.$slots, "default", {
49
+ invoice: t(o).data.value.invoice,
50
+ paymentAttempts: (s = t(o).data.value.paymentAttempts) == null ? void 0 : s.data
51
+ }, void 0, void 0, 2) : (r(), a(t(v), {
52
+ key: 1,
53
+ class: "sv-payment-history sv-root sv-component sv-error",
54
+ title: t(n)({
55
+ defaultMessage: "We could not load the payment history. Please try again.",
56
+ description: "Error shown in place of the payment history when it failed to load",
57
+ id: "payment_history.load_error"
58
+ })
59
+ }, null, 8, ["title"]));
56
60
  };
57
61
  }
58
- }), L = /* @__PURE__ */ m({
62
+ }), $ = /* @__PURE__ */ m({
59
63
  __name: "PaymentHistory.entry",
60
64
  props: {
65
+ configuration: { type: Object },
61
66
  environment: { type: String },
62
67
  locale: { type: String },
63
68
  dateLocale: { type: String },
@@ -71,41 +76,41 @@ const w = /* @__PURE__ */ m({
71
76
  allowedPortalTypes: { type: Array },
72
77
  portalObject: { type: Object },
73
78
  cssOverrides: { type: [String, Array] },
74
- branding: { type: Object },
75
- configuration: { type: Object }
79
+ branding: { type: Object }
76
80
  },
77
- setup(t) {
78
- var a;
79
- const y = A("payment-history");
80
- if (!((a = t.configuration) != null && a.invoiceId))
81
- throw new Error("Missing invoice id");
82
- return (i, n) => (s(), p(r(h), {
83
- entry: i.$props,
84
- "component-name": r(y),
85
- "allowed-portal-types": ["CUSTOMER"],
86
- onError: n[0] || (n[0] = (e) => i.$emit("error", e))
87
- }, {
88
- default: l(() => [
89
- f(C, v(S(i.$props)), {
90
- default: l(({ invoice: e, paymentAttempts: c, isLoading: g }) => [
91
- e && c ? (s(), p(w, {
92
- key: 0,
93
- "is-loading": g,
94
- customer: e.customer,
95
- "payment-attempts": c,
96
- configuration: t.configuration
97
- }, null, 8, ["is-loading", "customer", "payment-attempts", "configuration"])) : u("", !0)
98
- ]),
99
- _: 1
100
- }, 16)
101
- ]),
102
- _: 1
103
- }, 8, ["entry", "component-name"]));
81
+ setup(e) {
82
+ const p = S("payment-history");
83
+ return (n, o) => {
84
+ var y;
85
+ return r(), a(t(_), {
86
+ entry: n.$props,
87
+ "component-name": t(p),
88
+ "allowed-portal-types": ["CUSTOMER"],
89
+ "required-configuration": { invoiceId: (y = e.configuration) == null ? void 0 : y.invoiceId },
90
+ onError: o[0] || (o[0] = (i) => n.$emit("error", i))
91
+ }, {
92
+ default: c(() => [
93
+ (r(), a(A, d({
94
+ key: e.configuration.invoiceId
95
+ }, n.$props), {
96
+ default: c(({ invoice: i, paymentAttempts: s }) => [
97
+ i && s ? (r(), a(j, {
98
+ key: 0,
99
+ customer: i.customer,
100
+ "payment-attempts": s
101
+ }, null, 8, ["customer", "payment-attempts"])) : l("", !0)
102
+ ]),
103
+ _: 1
104
+ }, 16))
105
+ ]),
106
+ _: 1
107
+ }, 8, ["entry", "component-name", "required-configuration"]);
108
+ };
104
109
  }
105
- }), { define: F } = j(
106
- L,
110
+ }), { define: x } = h(
111
+ $,
107
112
  "payment-history"
108
113
  );
109
114
  export {
110
- F as defineSolvimonPaymentHistory
115
+ x as defineSolvimonPaymentHistory
111
116
  };
@@ -1,11 +1,10 @@
1
- import { defineComponent as d, renderSlot as u, unref as n, openBlock as y, createBlock as c, withCtx as l, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
2
- import { g as h } from "../../customer.es-B5ppZf0j.mjs";
3
- import { u as C } from "../../useLoadInitialData-CR0kbYw8.mjs";
4
- import { u as b } from "../../useCustomer-XZKWsolE.mjs";
5
- import { u as _ } from "../../usePaymentMethodOptions-Ciifjo6c.mjs";
6
- import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs";
7
- import { d as j, e as L } from "../../customElements-D5DAoHRI.mjs";
8
- import { a as w } from "../../sessionReference-3h-6FdrC.mjs";
1
+ import { defineComponent as d, renderSlot as l, unref as a, openBlock as c, createBlock as y, withCtx as u, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
2
+ import { g as C } from "../../customer.es-B5ppZf0j.mjs";
3
+ import { u as h } from "../../useLoadInitialData-4k_Cyqef.mjs";
4
+ import { u as b } from "../../useCustomer-C3kTh7wn.mjs";
5
+ import { u as v } from "../../usePaymentMethodOptions-1QBcmgUf.mjs";
6
+ import { _ as j } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs";
7
+ import { e as _, g as L, f as w } from "../../customElements-Di3zwlEU.mjs";
9
8
  const M = /* @__PURE__ */ d({
10
9
  __name: "PaymentMethodForm.entry.view",
11
10
  props: {
@@ -26,20 +25,20 @@ const M = /* @__PURE__ */ d({
26
25
  configuration: { type: Object },
27
26
  countryCode: { type: String }
28
27
  },
29
- setup(r) {
30
- const a = r, i = b({ customerId: a.portalObject.customer_id }), o = _(), p = async () => {
28
+ setup(o) {
29
+ const n = o, i = b({ customerId: n.portalObject.customer_id }), r = v(), p = async () => {
31
30
  var m;
32
- const t = await i.get.execute(), s = h(t);
33
- await o.get({
31
+ const t = await i.get.execute(), s = n.countryCode || C(t);
32
+ await r.get({
34
33
  customerId: t.id,
35
34
  country: s,
36
- amount: (m = a.configuration) == null ? void 0 : m.amount
35
+ amount: (m = n.configuration) == null ? void 0 : m.amount
37
36
  });
38
- }, { isLoading: e } = C(p());
39
- return (t, s) => u(t.$slots, "default", {
40
- customer: n(i).customer.value,
41
- paymentMethodOptions: n(o),
42
- isLoading: n(e)
37
+ }, { isLoading: e } = h(p());
38
+ return (t, s) => l(t.$slots, "default", {
39
+ customer: a(i).customer.value,
40
+ paymentMethodOptions: a(r),
41
+ isLoading: a(e)
43
42
  });
44
43
  }
45
44
  }), P = /* @__PURE__ */ d({
@@ -62,24 +61,25 @@ const M = /* @__PURE__ */ d({
62
61
  configuration: { type: Object },
63
62
  countryCode: { type: String }
64
63
  },
65
- setup(r) {
66
- const a = w("payment-method-form"), i = r;
67
- return (o, p) => (y(), c(n(j), {
68
- entry: o.$props,
69
- "component-name": n(a),
64
+ setup(o) {
65
+ const n = L("payment-method-form"), i = o;
66
+ return (r, p) => (c(), y(a(_), {
67
+ entry: r.$props,
68
+ "component-name": a(n),
70
69
  "allowed-portal-types": ["CUSTOMER"],
71
- onError: p[0] || (p[0] = (e) => o.$emit("error", e))
70
+ onError: p[0] || (p[0] = (e) => r.$emit("error", e))
72
71
  }, {
73
- default: l(() => [
72
+ default: u(() => [
74
73
  g(M, f(S(i)), {
75
- default: l(({ customer: e, paymentMethodOptions: t, isLoading: s }) => [
76
- e ? (y(), c(v, {
74
+ default: u(({ customer: e, paymentMethodOptions: t, isLoading: s }) => [
75
+ e ? (c(), y(j, {
77
76
  key: 0,
78
77
  customer: e,
79
78
  "payment-method-options": t.paymentMethodOptions.value,
80
- configuration: r.configuration,
79
+ configuration: o.configuration,
80
+ "country-code": o.countryCode,
81
81
  "is-loading": s
82
- }, null, 8, ["customer", "payment-method-options", "configuration", "is-loading"])) : O("", !0)
82
+ }, null, 8, ["customer", "payment-method-options", "configuration", "country-code", "is-loading"])) : O("", !0)
83
83
  ]),
84
84
  _: 1
85
85
  }, 16)
@@ -87,10 +87,10 @@ const M = /* @__PURE__ */ d({
87
87
  _: 1
88
88
  }, 8, ["entry", "component-name"]));
89
89
  }
90
- }), { define: E } = L(
90
+ }), { define: k } = w(
91
91
  P,
92
92
  "payment-method-form"
93
93
  );
94
94
  export {
95
- E as defineSolvimonPaymentMethodForm
95
+ k as defineSolvimonPaymentMethodForm
96
96
  };