@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 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),P=require("../../Button.vue.es-BzkuglKw.js"),b=require("../../useCustomerFormLabels-DV9QiMYh.js"),D=require("../../ErrorNotification.vue.es-tS9vySUZ.js"),p=require("../../Input.vue.es-B60eK8Ds.js"),V=require("../../customElements-DUMRMFQ5.js"),M=require("../../typeGuards.es-DS3vZaJn.js"),i=require("../../formControl-ODrpUvcA.js"),R=require("../../api.es-duCDtZD9.js"),j=require("../../useCustomer-BwZKd9i5.js"),q=require("../../sessionReference-m_6Rp4X1.js"),$=({initialState:t,validationRules:o,nullifyEmptyValues:s=!1,mode:l="shallow"})=>{const d=e.shallowRef(structuredClone(t)),r=e.shallowRef(structuredClone(t)),a=i.useValidation(o??{},r),f=e.computed(()=>b.objectDiff({from:d.value,to:r.value,mode:l,nullifyEmptyValues:s})),g=e.computed(()=>Object.entries(f.value).length>0);return{form:r,validation:a,changes:f,hasChanges:g,reset:()=>{r.value=structuredClone(t),a.value.$reset()},updateInitialState:y=>{r.value=structuredClone(y),d.value=structuredClone(y)},initialState:d}},z="GENERIC_TAX_ID",G={type:"INDIVIDUAL",email:"",country:"",addressLine1:"",postalCode:"",city:"",state:""};function Z({initialState:t={},onSubmit:o}){const{form:s,validation:l,changes:d,hasChanges:r,updateInitialState:a,initialState:f}=$({initialState:{...G,...t},validationRules:{email:{required:i.required,email:i.email}},nullifyEmptyValues:!0,mode:"deep"}),g=h=>{a(X(h))},u=(h,y=s.value)=>o({customerId:h,payload:H(y)});return{form:s,isOrganization:M.isOrganization,validation:l,changes:d,hasChanges:r,updateInitialState:g,submit:u,initialState:f}}const X=t=>{var s,l,d,r;if(M.isIndividual(t)){const a=t.individual.residential_address;return{type:"INDIVIDUAL",email:t.email??"",country:(a==null?void 0:a.country)??"",addressLine1:(a==null?void 0:a.line1)??"",addressLine2:(a==null?void 0:a.line2)??"",postalCode:(a==null?void 0:a.postal_code)??"",city:(a==null?void 0:a.city)??"",state:(a==null?void 0:a.state)??"",firstName:((s=t.individual.name)==null?void 0:s.first_name)??"",lastName:((l=t.individual.name)==null?void 0:l.last_name)??""}}const o=t.organization.registered_address;return{type:"ORGANIZATION",email:t.email??"",country:(o==null?void 0:o.country)??"",addressLine1:(o==null?void 0:o.line1)??"",addressLine2:(o==null?void 0:o.line2)??"",postalCode:(o==null?void 0:o.postal_code)??"",city:(o==null?void 0:o.city)??"",state:(o==null?void 0:o.state)??"",companyLegalName:t.organization.legal_name??"",companyVatNumber:((r=(d=t.organization.tax_ids)==null?void 0:d[0])==null?void 0:r.id)??""}},H=t=>t.type==="ORGANIZATION"?{type:"ORGANIZATION",email:t.email,organization:{legal_name:t.companyLegalName??"",tax_ids:t.companyVatNumber?[{id:t.companyVatNumber,type:z}]:void 0,registered_address:{line1:t.addressLine1,line2:t.addressLine2??"",postal_code:t.postalCode,city:t.city,country:t.country,state:t.state??""}}}:{type:"INDIVIDUAL",email:t.email,individual:{name:{first_name:t.firstName??"",last_name:t.lastName??""},residential_address:{line1:t.addressLine1,line2:t.addressLine2??"",postal_code:t.postalCode,city:t.city,country:t.country,state:t.state??""}}},Y={class:"grid grid-cols-1 gap-4"},J={class:"mt-6 flex items-center justify-between gap-4"},K={class:"flex flex-col gap-2"},Q={key:0,class:"grid grid-cols-2 gap-2"},W={class:"grid grid-cols-3 gap-2"},ee=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},isLoading:{type:Boolean},apiError:{type:null},updateCustomer:{type:Function}},setup(t){const o=t,{$t:s}=V.useIntl(),l=b.useCustomerFormLabels(),{validation:d,form:r,updateInitialState:a,submit:f,hasChanges:g}=Z({onSubmit:({customerId:c,payload:n})=>o.updateCustomer({customerId:c,payload:n})}),u=e.reactive({email:i.formControlModel(r,"email",i.asText),companyVatNumber:i.formControlModel(r,"companyVatNumber",i.asOptionalText),companyLegalName:i.formControlModel(r,"companyLegalName",i.asOptionalText),firstName:i.formControlModel(r,"firstName",i.asOptionalText),lastName:i.formControlModel(r,"lastName",i.asOptionalText),addressLine1:i.formControlModel(r,"addressLine1",i.asText),addressLine2:i.formControlModel(r,"addressLine2",i.asOptionalText),postalCode:i.formControlModel(r,"postalCode",i.asText),city:i.formControlModel(r,"city",i.asText),state:i.formControlModel(r,"state",i.asOptionalText)}),h=e.computed({get:()=>r.value.country,set:c=>{r.value.country=i.asText(c)}}),y=e.ref(!1),N=e.computed(()=>r.value.type==="ORGANIZATION"),w=e.computed(()=>!y.value),v=e.computed({get:()=>N.value,set:c=>r.value.type=c?"ORGANIZATION":"INDIVIDUAL"}),U=async()=>{var n;await d.value.$validate(),!d.value.$invalid&&(n=o.customer)!=null&&n.id&&await f(o.customer.id)};return e.watch(()=>o.customer,c=>{!c||y.value||(a(c),y.value=!0)},{immediate:!0}),(c,n)=>{var _,C,L,I,S,T,E,k,O,A,B,x,F;return e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(U,["prevent"])},[e.createVNode(e.unref(V._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).contactInformationTitle),1)]),_:1}),e.createElementVNode("div",Y,[e.createVNode(e.unref(p._sfc_main),{modelValue:u.email,"onUpdate:modelValue":n[0]||(n[0]=m=>u.email=m),required:"",type:"email",label:e.unref(l).emailLabel,placeholder:e.unref(l).emailPlaceholder,error:((_=e.unref(d).email)==null?void 0:_.$errors)||((C=t.apiError)==null?void 0:C.email)},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(b._sfc_main),{"single-model-value":h.value,"onUpdate:singleModelValue":n[1]||(n[1]=m=>h.value=m),label:e.unref(l).countryLabel,error:(L=t.apiError)==null?void 0:L.country},null,8,["single-model-value","label","error"]),w.value?(e.openBlock(),e.createBlock(b._sfc_main$1,{key:0,modelValue:v.value,"onUpdate:modelValue":n[2]||(n[2]=m=>v.value=m)},null,8,["modelValue"])):e.createCommentVNode("",!0),N.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(p._sfc_main),{modelValue:u.companyVatNumber,"onUpdate:modelValue":n[3]||(n[3]=m=>u.companyVatNumber=m),name:"vat_number",label:e.unref(l).vatNumberLabel,placeholder:e.unref(l).vatNumberPlaceholder,error:(I=t.apiError)==null?void 0:I.vat_number},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(p._sfc_main),{modelValue:u.companyLegalName,"onUpdate:modelValue":n[4]||(n[4]=m=>u.companyLegalName=m),required:"",name:"legal_name",label:e.unref(l).legalNameLabel,placeholder:e.unref(l).legalNamePlaceholder,error:(S=t.apiError)==null?void 0:S.legal_name},null,8,["modelValue","label","placeholder","error"])],64)):e.createCommentVNode("",!0)]),e.createElementVNode("div",J,[e.createVNode(e.unref(V._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Billing details",id:"checkout.billing_information_block.title",description:"The title of the billing information block in the checkout form"})),1)]),_:1})]),e.createElementVNode("div",K,[N.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Q,[e.createVNode(e.unref(p._sfc_main),{modelValue:u.firstName,"onUpdate:modelValue":n[5]||(n[5]=m=>u.firstName=m),name:"first_name",label:e.unref(s)({defaultMessage:"First name",id:"checkout.first_name.label",description:"The first name of the customer in the checkout form"}),placeholder:e.unref(s)({defaultMessage:"First name...",id:"checkout.first_name.placeholder",description:"The first name of the customer in the checkout form"}),error:(T=t.apiError)==null?void 0:T.first_name},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(p._sfc_main),{modelValue:u.lastName,"onUpdate:modelValue":n[6]||(n[6]=m=>u.lastName=m),name:"last_name",label:e.unref(s)({defaultMessage:"Last name",id:"checkout.last_name.label",description:"The last name of the customer in the checkout form"}),placeholder:e.unref(s)({defaultMessage:"Last name...",id:"checkout.last_name.placeholder",description:"The last name of the customer in the checkout form"}),error:(E=t.apiError)==null?void 0:E.last_name},null,8,["modelValue","label","placeholder","error"])])),e.createVNode(e.unref(p._sfc_main),{modelValue:u.addressLine1,"onUpdate:modelValue":n[7]||(n[7]=m=>u.addressLine1=m),name:"address_line_1",label:e.unref(l).addressTitle,placeholder:e.unref(s)({defaultMessage:"Address line 1...",id:"checkout.address.line1.placeholder",description:"Address line 1 of the customer address in the checkout form"}),error:(k=t.apiError)==null?void 0:k.address_line_1},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(p._sfc_main),{modelValue:u.addressLine2,"onUpdate:modelValue":n[8]||(n[8]=m=>u.addressLine2=m),name:"address_line_2",placeholder:e.unref(s)({defaultMessage:"Address line 2...",id:"checkout.address.line2.placeholder",description:"Address line 2 of the customer address in the checkout form"}),error:(O=t.apiError)==null?void 0:O.address_line_2},null,8,["modelValue","placeholder","error"]),e.createElementVNode("div",W,[e.createVNode(e.unref(p._sfc_main),{modelValue:u.postalCode,"onUpdate:modelValue":n[9]||(n[9]=m=>u.postalCode=m),name:"postal_code",placeholder:e.unref(l).postalCodePlaceholder,error:(A=t.apiError)==null?void 0:A.postal_code},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(p._sfc_main),{modelValue:u.city,"onUpdate:modelValue":n[10]||(n[10]=m=>u.city=m),name:"city",placeholder:e.unref(l).cityPlaceholder,error:(B=t.apiError)==null?void 0:B.city},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(p._sfc_main),{modelValue:u.state,"onUpdate:modelValue":n[11]||(n[11]=m=>u.state=m),name:"state",placeholder:e.unref(l).statePlaceholder,error:(x=t.apiError)==null?void 0:x.state},null,8,["modelValue","placeholder","error"])])]),(F=t.apiError)!=null&&F._generic?(e.openBlock(),e.createBlock(e.unref(D._sfc_main),{key:0,class:"mt-4",title:t.apiError._generic},null,8,["title"])):e.createCommentVNode("",!0),e.createVNode(e.unref(P._sfc_main),{type:"submit",intent:"primary",disabled:!e.unref(g),loading:t.isLoading,class:"mt-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Save changes",id:"billing_information_form.submit_button.label",description:"The label for the submit button of the billing information form"})),1)]),_:1},8,["disabled","loading"])],32)}}}),te=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},apiError:{type:null},updateCustomer:{type:Function},isLoading:{type:Boolean}},setup(t){return(o,s)=>(e.openBlock(),e.createBlock(ee,{class:"sv-billing-form sv-root sv-component",customer:t.customer,"update-customer":t.updateCustomer,"is-loading":t.isLoading,"api-error":t.apiError},null,8,["customer","update-customer","is-loading","api-error"]))}}),oe=e.defineComponent({__name:"BillingInformationForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(t){const s=t.portalObject.customer_id,{customer:l,get:d,update:r}=j.useCustomer({customerId:s});return e.onMounted(async()=>{await d.execute()}),(a,f)=>e.renderSlot(a.$slots,"default",{customer:e.unref(l),isLoading:e.unref(d).isPending.value||e.unref(r).isPending.value,updateCustomer:e.unref(r),apiError:e.unref(R.getApiError)(e.unref(r).error)})}}),re=e.defineComponent({__name:"BillingInformationForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},emits:["error"],setup(t){const o=q.getComponentName("billing-information-form");return(s,l)=>(e.openBlock(),e.createBlock(e.unref(V._sfc_main$1),{entry:s.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:l[0]||(l[0]=d=>s.$emit("error",d))},{default:e.withCtx(()=>[e.createVNode(oe,e.normalizeProps(e.guardReactiveProps(s.$props)),{default:e.withCtx(({customer:d,updateCustomer:r,isLoading:a,apiError:f})=>[d?(e.openBlock(),e.createBlock(te,{key:0,customer:d,"is-loading":a,"update-customer":({payload:g})=>r.execute(g),"api-error":f},null,8,["customer","is-loading","update-customer","api-error"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:ae}=V.createSolvimonElement(re,"billing-information-form");exports.defineSolvimonBillingInformationForm=ae;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js"),y=require("../../CustomerPaymentMethods.lib-BKgQTCtc.js"),c=require("../../useLoadInitialData-D_R6Jy1s.js"),l=require("../../usePaymentMethods-DDaTZQZp.js"),i=require("../../customElements-DUMRMFQ5.js"),u=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"CustomerPaymentMethods.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){var a;const r=s,t=r.portalObject.customer_id,o=l.usePaymentMethods({customerId:t,pageSize:((a=r.configuration)==null?void 0:a.maxItems)||y.DEFAULT_MAX_ITEMS}),{isLoading:n}=c.useLoadInitialData(o.fetchInitial());return(p,S)=>e.renderSlot(p.$slots,"default",{paymentMethods:e.unref(o).items.value,isLoading:e.unref(n)})}}),g=e.defineComponent({__name:"CustomerPaymentMethods.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const r=u.getComponentName("customer-payment-methods");return(t,o)=>(e.openBlock(),e.createBlock(e.unref(i._sfc_main$1),{entry:t.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=n=>t.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(t.$props)),{default:e.withCtx(({paymentMethods:n,isLoading:a})=>[e.createVNode(m._sfc_main,{configuration:s.configuration,"payment-methods":n,"is-loading":a},null,8,["configuration","payment-methods","is-loading"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=i.createSolvimonElement(g,"customer-payment-methods");exports.defineSolvimonCustomerPaymentMethods=f;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("../../CustomerBillingInformation.vue.es-BfPEB42w.js"),_=require("../../customElements-DUMRMFQ5.js"),h=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js"),w=require("../../Button.vue.es-BzkuglKw.js"),l=require("../../InvoiceSummary.vue.es-CAmA8g0t.js"),x=require("../../Section.vue.es-Bbt0RITt.js"),V=require("../../Comparators.vue.es-DmkxV0gb.js"),B=require("../../formatting.es-C72Nsrmh.js"),b=require("../../wallets.es-CNIMW5ay.js"),N=require("../../DividerText.vue.es-CoyDk9eH.js"),C=require("../../useViewport-hPRVDWCm.js"),$=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js"),S=require("../../sessionReference-m_6Rp4X1.js"),E={class:"flex items-center gap-2"},I=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"info"},hasIcon:{type:Boolean}},setup(t){const i={info:"info",warning:"error",danger:"error",success:"check_circle"};return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center justify-between gap-2 rounded-sm border px-4 py-3 text-sm",{"border-blue-200 bg-feedback-info text-feedback-info":t.variant==="info","border-red-200 bg-feedback-danger text-feedback-danger":t.variant==="danger","border-yellow-200 bg-feedback-warning text-feedback-warning":t.variant==="warning","border-green-200 bg-feedback-success text-feedback-success":t.variant==="success"}])},[e.createElementVNode("div",E,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(w._sfc_main$1),{key:0,icon:i[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"cta")])],2))}}),T=({invoice:t,getPeriodTitle:i,creditsLabel:n,walletLabel:r,formatBalance:c})=>[...t.periods??[],...t.closed_periods??[]].map(o=>{const s=(o.groups??[]).flatMap(a=>a.lines??[]),p=b.getLabelledInvoiceWalletBalanceRows(b.getInvoiceWalletBalanceRows(s),{creditTypes:t.credit_types,creditsLabel:n,walletLabel:r}),v=new Map;for(const a of p){const f=c(a.availableBalance),g=v.get(a.label)??{id:`${o.period_order}-${a.label}`,label:a.label,amount:f,rows:[]};g.rows.push({id:`${o.period_order}-${a.key}`,label:a.label,used:c(a.usedBalance),left:c(a.leftBalance),available:f}),v.set(a.label,g)}return{id:`${o.period_order}-${o.start_at}`,title:i(o),rows:[...v.values()]}}).filter(o=>o.rows.length>0),D={key:0,class:"mt-8"},M={class:"flex flex-col gap-6"},q=["onClick","onKeyup"],L={class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},j={key:0},O={class:"p-0"},A={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},F=e.defineComponent({__name:"InvoiceCreditsBreakdown",props:{invoice:{type:Object}},setup(t){const i=t,{formatDate:n,$t:r,formatMessage:c,formatNumber:u}=_.useIntl(),{getIsOpen:o,toggle:s}=V.useToggleList(),p=f=>c({defaultMessage:"Service period - {startAt} - {endAt}",id:"wallet_balance.service_period_heading",description:"Heading shown above wallet balance details for an invoice period"},{startAt:n({date:f.start_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone}),endAt:n({date:f.end_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone})}),v=f=>b.formatInvoiceWalletBalanceValue(f,{formatMoney:B.formatAmount,formatQuantity:g=>u(Number(g))}),a=e.computed(()=>T({invoice:i.invoice,getPeriodTitle:p,creditsLabel:c({defaultMessage:"Credits",id:"wallet_balance.credit_type_fallback_label",description:"Fallback label for wallet balance credit types when no name is available"}),walletLabel:c({defaultMessage:"Wallet balance",id:"wallet_balance.wallet_label",description:"Label for a wallet that pays in money, which the invoice does not name; a currency is appended when there are several"}),formatBalance:v}));return(f,g)=>a.value.length>0?(e.openBlock(),e.createElementBlock("section",D,[e.createElementVNode("div",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,y=>(e.openBlock(),e.createElementBlock("section",{key:y.id},[e.createVNode(e.unref(N._sfc_main),{class:"mt-4"},{default:e.withCtx(()=>[e.createVNode(e.unref(_._sfc_main),{tag:"h3",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.title),1)]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(l.InvoiceTable),{class:"mt-3"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(l._sfc_main$1),{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Wallet balance",id:"wallet_balance.details.header",description:"Section header for invoice wallet balance details"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.rows,d=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.id},[e.createElementVNode("tr",{class:"cursor-pointer border-t",tabindex:"0",onClick:m=>e.unref(s)(d.id),onKeyup:[e.withKeys(m=>e.unref(s)(d.id),["enter"]),e.withKeys(m=>e.unref(s)(d.id),["space"])]},[e.createVNode(e.unref(l._sfc_main$2),{class:"p-0"},{default:e.withCtx(()=>[e.createVNode(e.unref(w._sfc_main$1),{icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(o)(d.id)}])},null,8,["class"]),e.createTextVNode(" "+e.toDisplayString(d.label)+" ",1),e.createElementVNode("span",L,e.toDisplayString(d.rows.length),1)]),_:2},1024)],40,q),e.unref(o)(d.id)?(e.openBlock(),e.createElementBlock("tr",j,[e.createElementVNode("td",O,[e.createElementVNode("div",A,[e.createVNode(e.unref(l.InvoiceTable),null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(l._sfc_main$1),{left:"",class:"w-2/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Wallet breakdown",id:"invoice_credits.wallet_breakdown.table_header",description:"Column header for the wallets that paid the invoice, labelled by credit type or as a wallet balance"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Balance",id:"invoice_credits.balance.table_header",description:"Column header for the available wallet balance amount"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Used",id:"invoice_credits.used.table_header",description:"Column header for the used wallet credit amount"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Remaining",id:"invoice_credits.remaining.table_header",description:"Column header for the remaining wallet credit amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.rows,m=>(e.openBlock(),e.createElementBlock("tr",{key:m.id,class:"border-t"},[e.createVNode(e.unref(l._sfc_main$2),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.label),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.available),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.used),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.left),1)]),_:2},1024)]))),128))]),_:2},1024)])])])):e.createCommentVNode("",!0)],64))),128))]),_:2},1024)]))),128))])])):e.createCommentVNode("",!0)}}),P=e.defineComponent({__name:"InvoiceBlock",props:{invoice:{type:Object}},setup(t){const{$t:i}=_.useIntl(),{isMobileViewport:n}=C.useViewport();return(r,c)=>(e.openBlock(),e.createBlock(e.unref(x._sfc_main),{class:"sv-invoice__summary grow",title:e.unref(i)({defaultMessage:"Invoice",description:"Title for the invoice block on the invoice details page",id:"sdk.invoice_details.invoice.title"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["sv-invoice__summary-body",{"p-6 pt-2":!e.unref(n)}])},[e.unref(n)?(e.openBlock(),e.createBlock(e.unref(I),{key:0,variant:"info","has-icon":"",class:"sv-invoice__download-hint justify-center border-gray-100 bg-gray-50 font-semibold text-gray-800"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Download the PDF for a full breakdown",description:"Download the PDF for a full breakdown",id:"sdk.invoice_details.invoice.download_pdf"})),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(l._sfc_main),{class:"sv-invoice__summary-content",invoice:t.invoice,"is-expandable":!e.unref(n)},{logo:e.withCtx(()=>[e.renderSlot(r.$slots,"logo")]),_:3},8,["invoice","is-expandable"]),e.createVNode(F,{class:"sv-invoice__credits-breakdown",invoice:t.invoice},null,8,["invoice"])],2)]),_:3},8,["title"]))}}),z={class:"sv-invoice sv-root sv-component"},W={class:"sv-invoice__body flex flex-col gap-3 lg:flex-row lg:gap-6"},R={class:"sv-invoice__aside flex shrink-0 flex-col gap-8 lg:w-72 lg:gap-6"},K=e.defineComponent({__name:"Invoice",props:{isLoading:{type:Boolean},invoice:{type:Object},payments:{type:Array},invoiceDownloadService:{type:Function},configuration:{type:Object}},setup(t){const i=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("../../PaymentHistoryBlock-Uw8xeKUk.js"))),{$t:n}=_.useIntl();return(r,c)=>{var u,o;return e.openBlock(),e.createElementBlock("div",z,[e.createVNode(h._sfc_main$1,{class:"sv-invoice__header mb-6",invoice:t.invoice,payments:t.payments,"invoice-download-service":t.invoiceDownloadService,"is-loading":t.isLoading,configuration:t.configuration},null,8,["invoice","payments","invoice-download-service","is-loading","configuration"]),e.createElementVNode("div",W,[t.invoice?(e.openBlock(),e.createBlock(P,{key:0,class:"sv-invoice__main",invoice:t.invoice},null,8,["invoice"])):e.createCommentVNode("",!0),e.createElementVNode("div",R,[e.createVNode($._sfc_main,{class:"sv-invoice__details",invoice:t.invoice},null,8,["invoice"]),(u=t.configuration)!=null&&u.enablePaymentAttempts&&((o=t.payments)!=null&&o.length)?(e.openBlock(),e.createBlock(e.unref(i),{key:0,class:"sv-invoice__payment-history","payment-attempts":t.payments,customer:t.invoice.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0),t.configuration.enableCustomerBillingInformation?(e.openBlock(),e.createBlock(e.unref(k._sfc_main),{key:1,class:"sv-invoice__billing-information",customer:t.invoice.customer,title:e.unref(n)({defaultMessage:"Your billing information",description:"Title for the billing information on the detailed invoice view",id:"sdk.invoice_details.customer_billing_information.title"})},null,8,["customer","title"])):e.createCommentVNode("",!0)])])])}}}),H=e.defineComponent({__name:"Invoice.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var c;const i=S.getComponentName("invoice"),n=t;if(!((c=n.configuration)!=null&&c.invoiceId))throw new Error("Missing invoice id");const r=e.computed(()=>({...n,configuration:{enableCustomerBillingInformation:!0,enableDownloadButton:!0,enablePaymentAttempts:!0,...n.configuration}}));return(u,o)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main$1),{entry:u.$props,"component-name":e.unref(i),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=s=>u.$emit("error",s))},{default:e.withCtx(()=>[e.createVNode(h._sfc_main,{"invoice-id":r.value.configuration.invoiceId},{default:e.withCtx(({invoice:s,payments:p,isLoading:v,invoiceDownloadService:a})=>[s?(e.openBlock(),e.createBlock(K,{key:0,"is-loading":v,invoice:s,"invoice-download-service":a,payments:p.payments.value,configuration:r.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:U}=_.createSolvimonElement(H,"invoice");exports.defineSolvimonInvoice=U;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js"),y=require("../../Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),u=require("../../useInvoiceData-CNV_FMV8.js"),s=require("../../customElements-DUMRMFQ5.js"),v=require("../../sessionReference-m_6Rp4X1.js"),g=e.defineComponent({__name:"InvoiceDetails",props:{invoice:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(o,i)=>t.isLoading?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,variant:"section",class:"sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"})):(e.openBlock(),e.createBlock(l._sfc_main,{key:1,class:"sv-invoice-details sv-root sv-component",invoice:t.invoice},null,8,["invoice"]))}}),d=e.defineComponent({__name:"InvoiceDetails.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const o=t,i=u.useInvoiceData(o.configuration.invoiceId);return(r,a)=>{var n;return e.renderSlot(r.$slots,"default",{invoice:(n=e.unref(i).data.value)==null?void 0:n.invoice,isLoading:e.unref(i).isPending.value})}}}),m=e.defineComponent({__name:"InvoiceDetails.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var r;const o=v.getComponentName("invoice-details");if(!((r=t.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");return(a,n)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:a.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=c=>a.$emit("error",c))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({invoice:c,isLoading:p})=>[c?(e.openBlock(),e.createBlock(g,{key:0,"is-loading":p,invoice:c,configuration:t.configuration},null,8,["is-loading","invoice","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=s.createSolvimonElement(m,"invoice-details");exports.defineSolvimonInvoiceDetails=f;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js"),s=require("../../customElements-DUMRMFQ5.js"),m=require("../../sessionReference-m_6Rp4X1.js"),v=e.defineComponent({__name:"InvoiceHeader.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(p){var r;const l=m.getComponentName("invoice-header"),o=p;if(!((r=o.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");const t=e.computed(()=>({...o,configuration:{enableDownloadButton:!0,...o.configuration}}));return(i,a)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:i.$props,"component-name":e.unref(l),"allowed-portal-types":["CUSTOMER"],onError:a[0]||(a[0]=n=>i.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(c._sfc_main,{"invoice-id":t.value.configuration.invoiceId},{default:e.withCtx(({invoice:n,payments:u,isLoading:d,invoiceDownloadService:y})=>[n?(e.openBlock(),e.createBlock(c._sfc_main$1,{key:0,"is-loading":d,invoice:n,"invoice-download-service":y,payments:u.payments.value,configuration:t.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:g}=s.createSolvimonElement(v,"invoice-header");exports.defineSolvimonInvoiceHeader=g;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../useInvoicesList-S0IbQcrD.js"),y=require("../../useLoadInitialData-D_R6Jy1s.js"),p=require("../../customElements-DUMRMFQ5.js"),u=require("../../sessionReference-m_6Rp4X1.js"),m=15,d=e.defineComponent({__name:"InvoicesList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){var i,s;const r=a,o=r.portalObject.customer_id,n=c.useInvoicesList({customerId:o,batchSize:((s=(i=r.configuration)==null?void 0:i.pagination)==null?void 0:s.batchSize)||m}),{isLoading:t}=y.useLoadInitialData(n.fetchInitial());return(l,S)=>e.renderSlot(l.$slots,"default",{isLoading:e.unref(t),invoices:e.unref(n)})}}),g=e.defineComponent({__name:"InvoicesList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){const r=u.getComponentName("invoices-list");return(o,n)=>(e.openBlock(),e.createBlock(e.unref(p._sfc_main$1),{entry:o.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoices:t,isLoading:i})=>[e.createVNode(c._sfc_main,{configuration:a.configuration,invoices:t.items.value,"is-loading":i,"has-more-items":t.hasNextBatch.value,onLoadMore:t.fetchMore},null,8,["configuration","invoices","is-loading","has-more-items","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=p.createSolvimonElement(g,"invoices-list");exports.defineSolvimonInvoicesList=f;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js"),l=require("../../Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),u=require("../../useInvoiceData-CNV_FMV8.js"),c=require("../../customElements-DUMRMFQ5.js"),g=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"PaymentHistory",props:{customer:{type:Object},paymentAttempts:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(a,o)=>t.isLoading?(e.openBlock(),e.createBlock(l._sfc_main,{key:0,variant:"section",class:"sv-payment-history sv-root sv-component sv-loading min-h-[100px]"})):t.paymentAttempts.length?(e.openBlock(),e.createBlock(m._sfc_main,{key:1,class:"sv-payment-history sv-root sv-component","payment-attempts":t.paymentAttempts,customer:t.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0)}}),v=e.defineComponent({__name:"PaymentHistory.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const a=t,o=u.useInvoiceData(a.configuration.invoiceId);return(i,s)=>{var r,n;return e.renderSlot(i.$slots,"default",{invoice:(r=e.unref(o).data.value)==null?void 0:r.invoice,paymentAttempts:(n=e.unref(o).data.value)==null?void 0:n.paymentAttempts.data,isLoading:e.unref(o).isPending.value})}}}),f=e.defineComponent({__name:"PaymentHistory.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var i;const a=g.getComponentName("payment-history");if(!((i=t.configuration)!=null&&i.invoiceId))throw new Error("Missing invoice id");return(s,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:s.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=n=>s.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(v,e.normalizeProps(e.guardReactiveProps(s.$props)),{default:e.withCtx(({invoice:n,paymentAttempts:p,isLoading:y})=>[n&&p?(e.openBlock(),e.createBlock(d,{key:0,"is-loading":y,customer:n.customer,"payment-attempts":p,configuration:t.configuration},null,8,["is-loading","customer","payment-attempts","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=c.createSolvimonElement(f,"payment-history");exports.defineSolvimonPaymentHistory=_;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("../../customer.es-BButyYo0.js"),u=require("../../useLoadInitialData-D_R6Jy1s.js"),l=require("../../useCustomer-BwZKd9i5.js"),d=require("../../usePaymentMethodOptions-CuzOoi2k.js"),g=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js"),m=require("../../customElements-DUMRMFQ5.js"),f=require("../../sessionReference-m_6Rp4X1.js"),S=e.defineComponent({__name:"PaymentMethodForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=r,i=l.useCustomer({customerId:a.portalObject.customer_id}),n=d.usePaymentMethodOptions(),s=async()=>{var c;const o=await i.get.execute(),p=y.getCustomerCountry(o);await n.get({customerId:o.id,country:p,amount:(c=a.configuration)==null?void 0:c.amount})},{isLoading:t}=u.useLoadInitialData(s());return(o,p)=>e.renderSlot(o.$slots,"default",{customer:e.unref(i).customer.value,paymentMethodOptions:e.unref(n),isLoading:e.unref(t)})}}),O=e.defineComponent({__name:"PaymentMethodForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=f.getComponentName("payment-method-form"),i=r;return(n,s)=>(e.openBlock(),e.createBlock(e.unref(m._sfc_main$1),{entry:n.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:s[0]||(s[0]=t=>n.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(S,e.normalizeProps(e.guardReactiveProps(i)),{default:e.withCtx(({customer:t,paymentMethodOptions:o,isLoading:p})=>[t?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,customer:t,"payment-method-options":o.paymentMethodOptions.value,configuration:r.configuration,"is-loading":p},null,8,["customer","payment-method-options","configuration","is-loading"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=m.createSolvimonElement(O,"payment-method-form");exports.defineSolvimonPaymentMethodForm=_;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js"),u=require("../../useSubscription-D787IXY-.js"),l=require("../../useLoadInitialData-D_R6Jy1s.js"),c=require("../../customElements-DUMRMFQ5.js"),y=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"SubscriptionSchedules.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=n,{subscription:o,withPlanData:r,get:i}=u.useSubscription({subscriptionId:s.configuration.subscriptionId}),{isLoading:t}=l.useLoadInitialData(i());return(a,S)=>e.renderSlot(a.$slots,"default",{schedulesData:e.unref(o)?e.unref(r)(e.unref(o)):void 0,isLoading:e.unref(t)})}}),g=e.defineComponent({__name:"SubscriptionSchedules.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=y.getComponentName("subscription-schedules"),o=n;return(r,i)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:r.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=t=>r.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(({schedulesData:t,isLoading:a})=>[t?(e.openBlock(),e.createBlock(p._sfc_main,{key:0,"schedules-data":t,"is-loading":a,configuration:n.configuration},null,8,["schedules-data","is-loading","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:m}=c.createSolvimonElement(g,"subscription-schedules");exports.defineSolvimonSubscriptionSchedules=m;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js"),y=require("../../useCustomer-BwZKd9i5.js"),m=require("../../useLoadInitialData-D_R6Jy1s.js"),d=require("../../usePaymentMethods-DDaTZQZp.js"),l=require("../../customElements-DUMRMFQ5.js"),g=require("../../sessionReference-m_6Rp4X1.js"),f=e.defineComponent({__name:"SubscriptionsList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const t=s.portalObject.customer_id,n=y.useCustomer({customerId:t}),o=u.useSubscriptionsList({customerId:t}),r=d.usePaymentMethods({customerId:t}),{isLoading:i}=m.useLoadInitialData(n.get.execute(),o.fetchInitial(),r.fetchAll());return(a,c)=>e.renderSlot(a.$slots,"default",{customer:e.unref(n),subscriptions:e.unref(o).items,paymentMethods:e.unref(r).items,isLoading:e.unref(i),loadMore:e.unref(o).fetchMore})}}),S=e.defineComponent({__name:"SubscriptionsList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const p=g.getComponentName("subscriptions-list");return(t,n)=>(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{entry:t.$props,"component-name":e.unref(p),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=o=>t.$emit("error",o))},{default:e.withCtx(()=>[e.createVNode(f,e.normalizeProps(e.guardReactiveProps(t.$props)),{default:e.withCtx(({customer:o,subscriptions:r,paymentMethods:i,isLoading:a,loadMore:c})=>[e.createVNode(u._sfc_main,{configuration:s.configuration,customer:o.customer.value,subscriptions:r.value,"payment-methods":i.value,"is-loading":a,onLoadMore:c},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:b}=l.createSolvimonElement(S,"subscriptions-list");exports.defineSolvimonSubscriptionsList=b;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../error-CmduqgVq.js"),i=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js"),y=require("../../useLoadInitialData-D_R6Jy1s.js"),c=require("../../customElements-DUMRMFQ5.js"),m=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array},showTopUpButton:{type:Boolean},customer:{type:Object},paymentMethods:{type:Array},subscriptions:{type:Array}},emits:["top-up-charged","auto-top-up-saved","auto-top-up-cancelled","payment-method-stored","payment-failed"],setup(n,{emit:s}){const o=s;return(r,t)=>(e.openBlock(),e.createBlock(i._sfc_main,{class:"sv-wallet-balances sv-root sv-component","has-error":n.hasError,"is-loading":n.isLoading,"wallet-balances":n.walletBalances,"show-top-up-button":n.showTopUpButton,customer:n.customer,"payment-methods":n.paymentMethods,subscriptions:n.subscriptions,onTopUpCharged:t[0]||(t[0]=a=>o("top-up-charged")),onAutoTopUpSaved:t[1]||(t[1]=a=>o("auto-top-up-saved")),onAutoTopUpCancelled:t[2]||(t[2]=a=>o("auto-top-up-cancelled")),onPaymentMethodStored:t[3]||(t[3]=a=>o("payment-method-stored")),onPaymentFailed:t[4]||(t[4]=a=>o("payment-failed",a))},null,8,["has-error","is-loading","wallet-balances","show-top-up-button","customer","payment-methods","subscriptions"]))}}),g=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const o=n.portalObject.customer_id,r=i.useCustomerWalletBalances({customerId:o}),{walletBalances:t}=r,{isLoading:a}=y.useLoadInitialData(r.fetch());return(l,v)=>{var p;return e.renderSlot(l.$slots,"default",{customerWalletBalances:e.unref(r),walletBalanceItems:((p=e.unref(t))==null?void 0:p.wallet_balances)??[],isLoading:e.unref(a)})}}}),b=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const s=m.getComponentName("wallet-balances");return(o,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:o.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(g,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({customerWalletBalances:t,walletBalanceItems:a,isLoading:l})=>[e.createVNode(d,{"has-error":t.apiStatus.value===e.unref(u.ApiStatus).Failed,"is-loading":l,"wallet-balances":a},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:S}=c.createSolvimonElement(b,"wallet-balances");exports.defineSolvimonWalletBalances=S;
@@ -1 +0,0 @@
1
- const i=o=>typeof o=="object"&&o!==null&&!Array.isArray(o);function s(o,c){const n={...o};for(const[r,e]of Object.entries(c??{})){if(e===void 0)continue;const t=n[r];n[r]=i(t)&&i(e)?s(t,e):e}return n}exports.resolveConfiguration=s;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../sessionReference-m_6Rp4X1.js"),s={"customer-overview":()=>Promise.resolve().then(()=>require("../screens/CustomerOverview/CustomerOverview.cjs")).then(e=>e.defineSolvimonCustomerOverview),checkout:()=>Promise.resolve().then(()=>require("../screens/Checkout/Checkout.cjs")).then(e=>e.defineSolvimonCheckout),"subscription-management":()=>Promise.resolve().then(()=>require("../screens/SubscriptionManagement/SubscriptionManagement.cjs")).then(e=>e.defineSolvimonSubscriptionManagement),"subscription-details":()=>Promise.resolve().then(()=>require("../screens/SubscriptionDetails/SubscriptionDetails.cjs")).then(e=>e.defineSolvimonSubscriptionDetails),"pay-invoice":()=>Promise.resolve().then(()=>require("../screens/PayInvoice/PayInvoice.cjs")).then(e=>e.defineSolvimonPayInvoice),"payment-methods-management":()=>Promise.resolve().then(()=>require("../screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs")).then(e=>e.defineSolvimonPaymentMethodsManagement)},m={invoice:()=>Promise.resolve().then(()=>require("../components/Invoice/Invoice.cjs")).then(e=>e.defineSolvimonInvoice),"invoice-header":()=>Promise.resolve().then(()=>require("../components/InvoiceHeader/InvoiceHeader.cjs")).then(e=>e.defineSolvimonInvoiceHeader),"invoice-details":()=>Promise.resolve().then(()=>require("../components/InvoiceDetails/InvoiceDetails.cjs")).then(e=>e.defineSolvimonInvoiceDetails),"invoices-list":()=>Promise.resolve().then(()=>require("../components/InvoicesList/InvoicesList.cjs")).then(e=>e.defineSolvimonInvoicesList),"payment-history":()=>Promise.resolve().then(()=>require("../components/PaymentHistory/PaymentHistory.cjs")).then(e=>e.defineSolvimonPaymentHistory),"subscriptions-list":()=>Promise.resolve().then(()=>require("../components/SubscriptionsList/SubscriptionsList.cjs")).then(e=>e.defineSolvimonSubscriptionsList),"subscription-schedules":()=>Promise.resolve().then(()=>require("../components/SubscriptionSchedules/SubscriptionSchedules.cjs")).then(e=>e.defineSolvimonSubscriptionSchedules),"customer-payment-methods":()=>Promise.resolve().then(()=>require("../components/CustomerPaymentMethods/CustomerPaymentMethods.cjs")).then(e=>e.defineSolvimonCustomerPaymentMethods),"wallet-balances":()=>Promise.resolve().then(()=>require("../components/WalletBalances/WalletBalances.cjs")).then(e=>e.defineSolvimonWalletBalances),"billing-information":()=>Promise.resolve().then(()=>require("../components/BillingInformation/BillingInformation.cjs")).then(e=>e.defineSolvimonBillingInformation),"billing-information-form":()=>Promise.resolve().then(()=>require("../components/BillingInformationForm/BillingInformationForm.cjs")).then(e=>e.defineSolvimonBillingInformationForm),"payment-method-form":()=>Promise.resolve().then(()=>require("../components/PaymentMethodForm/PaymentMethodForm.cjs")).then(e=>e.defineSolvimonPaymentMethodForm)};function p(e){return Object.hasOwn(s,e)}function g(e){return Object.hasOwn(m,e)}function P(e){return v.getComponentName(e)}function b(e,n){const o=n==="screen"?p(e)&&s[e]:g(e)&&m[e];if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys(n==="screen"?s:m).join(", ")}.`);return o().then(t=>t())}function E(e){if(typeof e=="string"){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}function q(e,n){const o={};for(const[t,i]of Object.entries(n))i!==void 0&&(o[t]=i);Object.assign(e,o)}function y(e,n,o,t){if(!t)throw o;t({schemaVersion:1,level:"error",code:"INITIAL_DATA_LOAD_FAILED",message:`Solvimon: failed to load the "${e}" ${n}`,timestamp:new Date().toISOString(),reference:v.getSessionReference(),context:{id:e,type:n},error:o})}function l(e,n,o,t,i){const h=E(e),d=P(n),f=b(n,o);let r,c=!1;return f.then(()=>{c||(r=document.createElement(d),q(r,t),h.appendChild(r))}).catch(S=>y(n,o,S,i)),{unmount(){c=!0,r==null||r.remove(),r=void 0}}}function u(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function a(e,n){return{...e,...n}}function C(e={}){return{config:e,createComponent(n,o){const{container:t,props:i}=u(o);return l(t,n,"component",a(e,i),e.onLog).unmount},createScreen(n,o){const{container:t,props:i}=u(o);return l(t,n,"screen",a(e,i),e.onLog).unmount}}}const O=["customer-overview","checkout","subscription-management","subscription-details","pay-invoice","payment-methods-management"],I=["invoice","invoice-header","invoice-details","invoices-list","payment-history","subscriptions-list","subscription-schedules","customer-payment-methods","wallet-balances","billing-information","billing-information-form","payment-method-form"];function R(){return[...O]}function D(){return[...I]}exports.createSolvimonCore=C;exports.getRegisteredComponentIds=D;exports.getRegisteredScreenIds=R;
@@ -1 +0,0 @@
1
- const e=[{key:"AF",value:"Afghanistan"},{key:"AX",value:"Aland Islands"},{key:"AL",value:"Albania"},{key:"DZ",value:"Algeria"},{key:"AS",value:"American Samoa"},{key:"AD",value:"Andorra"},{key:"AO",value:"Angola"},{key:"AI",value:"Anguilla"},{key:"AQ",value:"Antarctica"},{key:"AG",value:"Antigua And Barbuda"},{key:"AR",value:"Argentina"},{key:"AM",value:"Armenia"},{key:"AW",value:"Aruba"},{key:"AU",value:"Australia"},{key:"AT",value:"Austria"},{key:"AZ",value:"Azerbaijan"},{key:"BS",value:"Bahamas"},{key:"BH",value:"Bahrain"},{key:"BD",value:"Bangladesh"},{key:"BB",value:"Barbados"},{key:"BY",value:"Belarus"},{key:"BE",value:"Belgium"},{key:"BZ",value:"Belize"},{key:"BJ",value:"Benin"},{key:"BM",value:"Bermuda"},{key:"BT",value:"Bhutan"},{key:"BO",value:"Bolivia"},{key:"BA",value:"Bosnia And Herzegovina"},{key:"BW",value:"Botswana"},{key:"BV",value:"Bouvet Island"},{key:"BR",value:"Brazil"},{key:"IO",value:"British Indian Ocean Territory"},{key:"BN",value:"Brunei Darussalam"},{key:"BG",value:"Bulgaria"},{key:"BF",value:"Burkina Faso"},{key:"BI",value:"Burundi"},{key:"KH",value:"Cambodia"},{key:"CM",value:"Cameroon"},{key:"CA",value:"Canada"},{key:"CV",value:"Cape Verde"},{key:"KY",value:"Cayman Islands"},{key:"CF",value:"Central African Republic"},{key:"TD",value:"Chad"},{key:"CL",value:"Chile"},{key:"CN",value:"China"},{key:"CX",value:"Christmas Island"},{key:"CC",value:"Cocos (Keeling) Islands"},{key:"CO",value:"Colombia"},{key:"KM",value:"Comoros"},{key:"CG",value:"Congo"},{key:"CD",value:"Congo, Democratic Republic"},{key:"CK",value:"Cook Islands"},{key:"CR",value:"Costa Rica"},{key:"CI",value:'Cote D"Ivoire'},{key:"HR",value:"Croatia"},{key:"CU",value:"Cuba"},{key:"CW",value:"Curaçao"},{key:"CY",value:"Cyprus"},{key:"CZ",value:"Czech Republic"},{key:"DK",value:"Denmark"},{key:"DJ",value:"Djibouti"},{key:"DM",value:"Dominica"},{key:"DO",value:"Dominican Republic"},{key:"EC",value:"Ecuador"},{key:"EG",value:"Egypt"},{key:"SV",value:"El Salvador"},{key:"GQ",value:"Equatorial Guinea"},{key:"ER",value:"Eritrea"},{key:"EE",value:"Estonia"},{key:"ET",value:"Ethiopia"},{key:"FK",value:"Falkland Islands (Malvinas)"},{key:"FO",value:"Faroe Islands"},{key:"FJ",value:"Fiji"},{key:"FI",value:"Finland"},{key:"FR",value:"France"},{key:"GF",value:"French Guiana"},{key:"PF",value:"French Polynesia"},{key:"TF",value:"French Southern Territories"},{key:"GA",value:"Gabon"},{key:"GM",value:"Gambia"},{key:"GE",value:"Georgia"},{key:"DE",value:"Germany"},{key:"GH",value:"Ghana"},{key:"GI",value:"Gibraltar"},{key:"GR",value:"Greece"},{key:"GL",value:"Greenland"},{key:"GD",value:"Grenada"},{key:"GP",value:"Guadeloupe"},{key:"GU",value:"Guam"},{key:"GT",value:"Guatemala"},{key:"GG",value:"Guernsey"},{key:"GN",value:"Guinea"},{key:"GW",value:"Guinea-Bissau"},{key:"GY",value:"Guyana"},{key:"HT",value:"Haiti"},{key:"HM",value:"Heard Island & Mcdonald Islands"},{key:"VA",value:"Holy See (Vatican City State)"},{key:"HN",value:"Honduras"},{key:"HK",value:"Hong Kong"},{key:"HU",value:"Hungary"},{key:"IS",value:"Iceland"},{key:"IN",value:"India"},{key:"ID",value:"Indonesia"},{key:"IR",value:"Iran, Islamic Republic Of"},{key:"IQ",value:"Iraq"},{key:"IE",value:"Ireland"},{key:"IM",value:"Isle Of Man"},{key:"IL",value:"Israel"},{key:"IT",value:"Italy"},{key:"JM",value:"Jamaica"},{key:"JP",value:"Japan"},{key:"JE",value:"Jersey"},{key:"JO",value:"Jordan"},{key:"KZ",value:"Kazakhstan"},{key:"KE",value:"Kenya"},{key:"KI",value:"Kiribati"},{key:"KR",value:"Korea"},{key:"KP",value:"North Korea"},{key:"KW",value:"Kuwait"},{key:"KG",value:"Kyrgyzstan"},{key:"LA",value:'Lao People"s Democratic Republic'},{key:"LV",value:"Latvia"},{key:"LB",value:"Lebanon"},{key:"LS",value:"Lesotho"},{key:"LR",value:"Liberia"},{key:"LY",value:"Libyan Arab Jamahiriya"},{key:"LI",value:"Liechtenstein"},{key:"LT",value:"Lithuania"},{key:"LU",value:"Luxembourg"},{key:"MO",value:"Macao"},{key:"MK",value:"Macedonia"},{key:"MG",value:"Madagascar"},{key:"MW",value:"Malawi"},{key:"MY",value:"Malaysia"},{key:"MV",value:"Maldives"},{key:"ML",value:"Mali"},{key:"MT",value:"Malta"},{key:"MH",value:"Marshall Islands"},{key:"MQ",value:"Martinique"},{key:"MR",value:"Mauritania"},{key:"MU",value:"Mauritius"},{key:"YT",value:"Mayotte"},{key:"MX",value:"Mexico"},{key:"FM",value:"Micronesia, Federated States Of"},{key:"MD",value:"Moldova"},{key:"MC",value:"Monaco"},{key:"MN",value:"Mongolia"},{key:"ME",value:"Montenegro"},{key:"MS",value:"Montserrat"},{key:"MA",value:"Morocco"},{key:"MZ",value:"Mozambique"},{key:"MM",value:"Myanmar"},{key:"NA",value:"Namibia"},{key:"NR",value:"Nauru"},{key:"NP",value:"Nepal"},{key:"NL",value:"Netherlands"},{key:"AN",value:"Netherlands Antilles"},{key:"NC",value:"New Caledonia"},{key:"NZ",value:"New Zealand"},{key:"NI",value:"Nicaragua"},{key:"NE",value:"Niger"},{key:"NG",value:"Nigeria"},{key:"NU",value:"Niue"},{key:"NF",value:"Norfolk Island"},{key:"MP",value:"Northern Mariana Islands"},{key:"NO",value:"Norway"},{key:"OM",value:"Oman"},{key:"PK",value:"Pakistan"},{key:"PW",value:"Palau"},{key:"PS",value:"Palestinian Territory, Occupied"},{key:"PA",value:"Panama"},{key:"PG",value:"Papua New Guinea"},{key:"PY",value:"Paraguay"},{key:"PE",value:"Peru"},{key:"PH",value:"Philippines"},{key:"PN",value:"Pitcairn"},{key:"PL",value:"Poland"},{key:"PT",value:"Portugal"},{key:"PR",value:"Puerto Rico"},{key:"QA",value:"Qatar"},{key:"RE",value:"Reunion"},{key:"RO",value:"Romania"},{key:"RU",value:"Russian Federation"},{key:"RW",value:"Rwanda"},{key:"BL",value:"Saint Barthelemy"},{key:"SH",value:"Saint Helena"},{key:"KN",value:"Saint Kitts And Nevis"},{key:"LC",value:"Saint Lucia"},{key:"MF",value:"Saint Martin"},{key:"PM",value:"Saint Pierre And Miquelon"},{key:"VC",value:"Saint Vincent And Grenadines"},{key:"WS",value:"Samoa"},{key:"SM",value:"San Marino"},{key:"ST",value:"Sao Tome And Principe"},{key:"SA",value:"Saudi Arabia"},{key:"SN",value:"Senegal"},{key:"RS",value:"Serbia"},{key:"SC",value:"Seychelles"},{key:"SL",value:"Sierra Leone"},{key:"SG",value:"Singapore"},{key:"SK",value:"Slovakia"},{key:"SI",value:"Slovenia"},{key:"SB",value:"Solomon Islands"},{key:"SO",value:"Somalia"},{key:"ZA",value:"South Africa"},{key:"GS",value:"South Georgia And Sandwich Isl."},{key:"ES",value:"Spain"},{key:"LK",value:"Sri Lanka"},{key:"SD",value:"Sudan"},{key:"SR",value:"Suriname"},{key:"SJ",value:"Svalbard And Jan Mayen"},{key:"SZ",value:"Swaziland"},{key:"SE",value:"Sweden"},{key:"CH",value:"Switzerland"},{key:"SY",value:"Syrian Arab Republic"},{key:"TW",value:"Taiwan"},{key:"TJ",value:"Tajikistan"},{key:"TZ",value:"Tanzania"},{key:"TH",value:"Thailand"},{key:"TL",value:"Timor-Leste"},{key:"TG",value:"Togo"},{key:"TK",value:"Tokelau"},{key:"TO",value:"Tonga"},{key:"TT",value:"Trinidad And Tobago"},{key:"TN",value:"Tunisia"},{key:"TR",value:"Turkey"},{key:"TM",value:"Turkmenistan"},{key:"TC",value:"Turks And Caicos Islands"},{key:"TV",value:"Tuvalu"},{key:"UG",value:"Uganda"},{key:"UA",value:"Ukraine"},{key:"AE",value:"United Arab Emirates"},{key:"GB",value:"United Kingdom"},{key:"US",value:"United States"},{key:"UM",value:"United States Outlying Islands"},{key:"UY",value:"Uruguay"},{key:"UZ",value:"Uzbekistan"},{key:"VU",value:"Vanuatu"},{key:"VE",value:"Venezuela"},{key:"VN",value:"Vietnam"},{key:"VG",value:"Virgin Islands, British"},{key:"VI",value:"Virgin Islands, U.S."},{key:"WF",value:"Wallis And Futuna"},{key:"EH",value:"Western Sahara"},{key:"YE",value:"Yemen"},{key:"ZM",value:"Zambia"},{key:"ZW",value:"Zimbabwe"}];exports.countryData=e;