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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (500) hide show
  1. package/README.md +151 -17
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  4. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  5. package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
  7. package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  8. package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
  9. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  10. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  11. package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
  12. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  13. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  14. package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  15. package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  16. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
  17. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  18. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
  19. package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  20. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  21. package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  22. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  23. package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  24. package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  25. package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
  26. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
  27. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
  28. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  29. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  30. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  31. package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  32. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  33. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  34. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
  35. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  36. package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  37. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
  38. package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  39. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
  40. package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
  41. package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
  42. package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  43. package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  44. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
  45. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
  46. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
  47. package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
  48. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  49. package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
  50. package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  51. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
  52. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  53. package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  54. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  55. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  56. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  57. package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
  58. package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
  59. package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  60. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  61. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
  62. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
  63. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  64. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  65. package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  66. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  67. package/dist/amount-CondixVt.mjs +36 -0
  68. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  69. package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
  70. package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
  71. package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
  72. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
  73. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
  74. package/dist/components/Invoice/Invoice.mjs +2691 -227
  75. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
  76. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
  77. package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
  78. package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
  79. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
  80. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
  81. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
  82. package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
  83. package/dist/core/index.mjs +61 -95
  84. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  85. package/dist/customer-BIjC0CWJ.mjs +31 -0
  86. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  87. package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
  88. package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
  89. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  90. package/dist/formControl-BZQLHnOO.mjs +749 -0
  91. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  92. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  93. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  94. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  95. package/dist/index.es-CpmQmvOg.mjs +633 -0
  96. package/dist/index.mjs +2 -2
  97. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  98. package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
  99. package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
  100. package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
  101. package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
  102. package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
  103. package/dist/paymentMethods-B_82JGk_.mjs +77 -0
  104. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  105. package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
  106. package/dist/payments-BnxbzQUC.mjs +68 -0
  107. package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
  108. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  109. package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
  110. package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
  111. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  112. package/dist/screens/Checkout/Checkout.mjs +2 -2
  113. package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
  114. package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
  115. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
  116. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  117. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
  118. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  119. package/dist/sorting.es-CVyKw23D.mjs +77 -0
  120. package/dist/subscription-BhxoqwcT.mjs +83 -0
  121. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  122. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  123. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
  124. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
  125. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
  126. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
  127. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
  128. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  129. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  130. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  131. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  132. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  133. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
  134. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  135. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
  136. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
  137. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
  138. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
  139. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
  140. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  141. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
  142. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  143. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  144. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
  145. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
  146. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  147. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  148. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
  149. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
  150. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
  151. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
  152. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  154. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
  155. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
  156. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
  157. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
  158. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
  159. package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
  160. package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
  161. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  162. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
  163. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
  164. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
  165. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
  166. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
  167. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  168. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
  170. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
  171. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
  172. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
  173. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
  174. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
  175. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
  176. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
  177. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
  178. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
  179. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
  180. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
  181. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  182. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
  183. package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
  184. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
  185. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
  186. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
  187. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
  188. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
  189. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
  190. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
  191. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
  192. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
  193. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
  194. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
  195. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
  196. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
  197. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
  198. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
  199. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
  200. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
  201. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
  202. package/dist/types/public/core/action-request.types.d.ts +5 -0
  203. package/dist/types/public/core/registry.ce.d.ts +3 -3
  204. package/dist/types/public/core/registry.d.ts +0 -3
  205. package/dist/types/public/core/types.d.ts +5 -0
  206. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
  207. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
  208. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
  209. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
  210. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
  211. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
  212. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
  213. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
  214. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
  215. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
  216. package/dist/types/services/paymentMethods.types.d.ts +2 -10
  217. package/dist/types/services/requests.types.d.ts +16 -6
  218. package/dist/types/translations/supported.d.ts +1 -1
  219. package/dist/types/types/errors.d.ts +3 -2
  220. package/dist/types/types/portalAuthentication.d.ts +2 -0
  221. package/dist/types/types/portalToken.d.ts +9 -0
  222. package/dist/types/types/shippingAddress.d.ts +9 -0
  223. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  231. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  232. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  233. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
  234. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  235. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  236. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  237. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  238. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  239. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  240. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  241. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  242. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  243. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
  244. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  245. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  246. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  247. package/dist/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
  248. package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  249. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  250. package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
  251. package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
  252. package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
  253. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  254. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  255. package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
  256. package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
  257. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  258. package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
  259. package/dist/usePortal-CwR_FxTb.mjs +7 -0
  260. package/dist/useService-BZcbUZHI.mjs +56 -0
  261. package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  262. package/dist/useViewport-psZejz_H.mjs +19 -0
  263. package/package.json +33 -60
  264. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
  265. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
  266. package/dist/Alert.vue.es-RyK53a2P.js +0 -1
  267. package/dist/Amount.vue.es-DExaYBqm.js +0 -1
  268. package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
  269. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
  270. package/dist/Button.vue.es-BzkuglKw.js +0 -1
  271. package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
  272. package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
  273. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
  274. package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
  275. package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
  276. package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
  277. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  278. package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
  279. package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
  280. package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
  281. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
  282. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
  283. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
  284. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
  285. package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
  286. package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
  287. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
  288. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
  289. package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
  290. package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
  291. package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
  292. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  293. package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
  294. package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
  295. package/dist/Input.vue.es-B60eK8Ds.js +0 -1
  296. package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
  297. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
  298. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
  299. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
  300. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
  301. package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
  302. package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
  303. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
  304. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
  305. package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
  306. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
  307. package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
  308. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
  309. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
  310. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
  311. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
  312. package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
  313. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
  314. package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
  315. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
  316. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
  317. package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
  318. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
  319. package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
  320. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
  321. package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
  322. package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
  323. package/dist/Section.vue.es-Bbt0RITt.js +0 -1
  324. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
  325. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
  326. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
  327. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
  328. package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
  329. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
  330. package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
  331. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
  332. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
  333. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
  334. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
  335. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
  336. package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
  337. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
  338. package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
  339. package/dist/accel.svg.es-DFJXdioD.js +0 -1
  340. package/dist/ach.svg.es-BYP873jU.js +0 -1
  341. package/dist/adyen-BJfC7N6f.js +0 -1
  342. package/dist/adyenSdk-BP2XXzeJ.js +0 -1
  343. package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
  344. package/dist/amex.svg.es-DKhW4Txt.js +0 -1
  345. package/dist/api.es-duCDtZD9.js +0 -1
  346. package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
  347. package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
  348. package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
  349. package/dist/carnet.svg.es-DY04-F2L.js +0 -1
  350. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
  351. package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
  352. package/dist/cn.es-C9Yqq4tg.js +0 -1
  353. package/dist/comparators.es-OGt19O9U.js +0 -1
  354. package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
  355. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
  356. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
  357. package/dist/components/Invoice/Invoice.cjs +0 -1
  358. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
  359. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
  360. package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
  361. package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
  362. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
  363. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
  364. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
  365. package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
  366. package/dist/configuration-akTS7Wiw.js +0 -1
  367. package/dist/core/index.cjs +0 -1
  368. package/dist/countryData.es-C4jHBzfo.js +0 -1
  369. package/dist/customElements-B58FcXIN.mjs +0 -6633
  370. package/dist/customElements-DUMRMFQ5.js +0 -1215
  371. package/dist/customer-B3LPAhaD.mjs +0 -31
  372. package/dist/customer-CisTPaXj.js +0 -1
  373. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  374. package/dist/customer.es-BButyYo0.js +0 -1
  375. package/dist/dana.svg.es-BDtZLpwd.js +0 -1
  376. package/dist/dankort.svg.es-CksaipXF.js +0 -1
  377. package/dist/de-DE-B4TUdnUf.js +0 -1
  378. package/dist/de-DE-DL74pMLb.js +0 -1
  379. package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
  380. package/dist/discover.svg.es-DgqWCMUM.js +0 -1
  381. package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
  382. package/dist/elo.svg.es-C-BzjuRP.js +0 -1
  383. package/dist/en-US-B2XFj-_p.js +0 -1
  384. package/dist/en-US-DQ5vlv9Z.mjs +0 -339
  385. package/dist/en-US-J85TQRI8.js +0 -1
  386. package/dist/en-US-SDhjlY_v.mjs +0 -301
  387. package/dist/eps.svg.es-B_85bP-W.js +0 -1
  388. package/dist/error-BHVZJGwD.mjs +0 -13
  389. package/dist/error-CmduqgVq.js +0 -1
  390. package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
  391. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  392. package/dist/formControl-ODrpUvcA.js +0 -1
  393. package/dist/formControl-dX7l8o3c.mjs +0 -845
  394. package/dist/formatting.es-C72Nsrmh.js +0 -1
  395. package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
  396. package/dist/getComposedString.es-haS4bAj7.js +0 -1
  397. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
  398. package/dist/girocard.svg.es-HSOEvDif.js +0 -1
  399. package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
  400. package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
  401. package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
  402. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  403. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
  404. package/dist/ideal.svg.es-Booz1IML.js +0 -1
  405. package/dist/index-BPZPnOQQ.js +0 -7
  406. package/dist/index.cjs +0 -1
  407. package/dist/index.es-BclokHQX.js +0 -1
  408. package/dist/invoices-CKQBLar2.js +0 -1
  409. package/dist/it-IT-CSYvGmpT.js +0 -1
  410. package/dist/it-IT-CqNK62qe.js +0 -1
  411. package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
  412. package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
  413. package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
  414. package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
  415. package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
  416. package/dist/momo.svg.es-C5aLYf_R.js +0 -1
  417. package/dist/nl-NL-CpE4IgwO.js +0 -1
  418. package/dist/nl-NL-Dx-TNXQ1.js +0 -1
  419. package/dist/nyce.svg.es-ArAivAZW.js +0 -1
  420. package/dist/object.es-CdriXMPs.js +0 -1
  421. package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
  422. package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
  423. package/dist/paymentFailure-Cki8c5BX.js +0 -1
  424. package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
  425. package/dist/paymentMethods-Cw-i95mM.js +0 -1
  426. package/dist/payments-2qeQdpiW.mjs +0 -45
  427. package/dist/payments-CS7_YcOW.js +0 -1
  428. package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
  429. package/dist/pricing-BOqG21f9.js +0 -1
  430. package/dist/pricing.es-C07bgEZx.js +0 -1
  431. package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
  432. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
  433. package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
  434. package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
  435. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
  436. package/dist/pulse.svg.es-Dit33E8S.js +0 -1
  437. package/dist/screens/Checkout/Checkout.cjs +0 -1
  438. package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
  439. package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
  440. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
  441. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
  442. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
  443. package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
  444. package/dist/sessionReference-3h-6FdrC.mjs +0 -43
  445. package/dist/sessionReference-m_6Rp4X1.js +0 -1
  446. package/dist/slots.es-T9ZJRGtG.js +0 -1
  447. package/dist/sorting.es-DCihKqD2.mjs +0 -77
  448. package/dist/sorting.es-DQsjKr8A.js +0 -1
  449. package/dist/star.svg.es-D2JncY7b.js +0 -1
  450. package/dist/subscription-D1yHKUNc.mjs +0 -69
  451. package/dist/subscription-ZA62t4E9.js +0 -1
  452. package/dist/subscriptions-DcfcBYAq.mjs +0 -55
  453. package/dist/subscriptions-DwVsf4Ev.js +0 -1
  454. package/dist/trustly.svg.es-GJByiFAs.js +0 -1
  455. package/dist/twint.svg.es-BJ2f48og.js +0 -1
  456. package/dist/typeGuards.es-DS3vZaJn.js +0 -1
  457. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
  458. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
  459. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
  460. package/dist/types/services/portals.types.d.ts +0 -70
  461. package/dist/types/types/subscription.d.ts +0 -4
  462. package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
  463. package/dist/url-TNRgVI8A.mjs +0 -21
  464. package/dist/url-vloPOiXd.js +0 -1
  465. package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
  466. package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
  467. package/dist/useCustomer-BwZKd9i5.js +0 -1
  468. package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
  469. package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
  470. package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
  471. package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
  472. package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
  473. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
  474. package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
  475. package/dist/useInvoiceData-CNV_FMV8.js +0 -1
  476. package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
  477. package/dist/useInvoicesList-S0IbQcrD.js +0 -1
  478. package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
  479. package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
  480. package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
  481. package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
  482. package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
  483. package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
  484. package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
  485. package/dist/usePayments-DDSjo0rH.js +0 -1
  486. package/dist/usePortal-C27omjhz.js +0 -1
  487. package/dist/usePortal-C5AsegpS.mjs +0 -11
  488. package/dist/useService-Bh47bllz.mjs +0 -50
  489. package/dist/useService-H7BjLg8P.js +0 -1
  490. package/dist/useSubscription-BZJL0VOA.mjs +0 -210
  491. package/dist/useSubscription-D787IXY-.js +0 -1
  492. package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
  493. package/dist/useViewport-BgdA2PPt.mjs +0 -29
  494. package/dist/useViewport-hPRVDWCm.js +0 -1
  495. package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
  496. package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
  497. package/dist/visa.svg.es-NY3BHhda.js +0 -1
  498. package/dist/vpay.svg.es-VViQi42w.js +0 -1
  499. package/dist/wallets.es-CNIMW5ay.js +0 -1
  500. package/dist/zip.svg.es-C9S_F31W.js +0 -1
@@ -1,37 +1,57 @@
1
- import { shallowRef as q, computed as N, defineComponent as E, reactive as J, ref as K, watch as Q, openBlock as h, createElementBlock as T, withModifiers as W, createVNode as d, unref as t, withCtx as I, createTextVNode as O, toDisplayString as F, createElementVNode as S, createBlock as C, createCommentVNode as L, Fragment as ee, onMounted as te, renderSlot as ae, normalizeProps as oe, guardReactiveProps as le } from "vue";
2
- import { _ as re } from "../../Button.vue.es-Cmjfm4jw.mjs";
3
- import { o as ne, u as ie, _ as se, a as me } from "../../useCustomerFormLabels-BQk3d9PZ.mjs";
4
- import { _ as ue } from "../../ErrorNotification.vue.es-h-D37rfG.mjs";
5
- import { _ as p } from "../../Input.vue.es-CU9u5yKH.mjs";
6
- import { a as de, _ as X, d as ce, e as pe } from "../../customElements-B58FcXIN.mjs";
7
- import { a as ye, i as fe } from "../../typeGuards.es-B4XMtlkM.mjs";
8
- import { u as ge, e as he, r as be, f as y, a as _, b as V } from "../../formControl-dX7l8o3c.mjs";
9
- import { b as ve } from "../../api.es-QaC926Xu.mjs";
10
- import { u as Ve } from "../../useCustomer-B-jyJIVy.mjs";
11
- import { a as Ne } from "../../sessionReference-3h-6FdrC.mjs";
12
- const _e = ({
13
- initialState: e,
14
- validationRules: a,
15
- nullifyEmptyValues: i = !1,
16
- mode: n = "shallow"
1
+ import { shallowRef as q, ref as U, computed as S, toRaw as B, defineComponent as x, reactive as z, watch as G, openBlock as _, createElementBlock as $, withModifiers as Z, createVNode as c, unref as t, withCtx as T, createTextVNode as j, toDisplayString as P, createElementVNode as F, Fragment as Y, createCommentVNode as k, createBlock as E, renderSlot as H, normalizeProps as X, guardReactiveProps as J } from "vue";
2
+ import { _ as K } from "../../Button.vue.es-Zw--kuaU.mjs";
3
+ import { b as Q, i as W, D as ee, u as ae, c as te, _ as O } from "../../useCustomerFormLabels-DJWf2O17.mjs";
4
+ import { _ as oe } from "../../ErrorNotification.vue.es-DNd65mQq.mjs";
5
+ import { _ as N } from "../../Input.vue.es-D8Oj8MWv.mjs";
6
+ import { a as le, d as R, g as re, h as ie, j as ne } from "../../customElements-BTj4ii4f.mjs";
7
+ import { a as se, i as w } from "../../typeGuards.es-B4XMtlkM.mjs";
8
+ import { o as de, t as D } from "../../taxId.es-DkD3Ltr8.mjs";
9
+ import { u as me, b as M, e as ue, r as A, f as g, a as L, d as C } from "../../formControl-BZQLHnOO.mjs";
10
+ import { b as ce } from "../../api.es-qgvzNMU-.mjs";
11
+ import { u as pe } from "../../useCustomer-cObBvDOu.mjs";
12
+ import { u as ye } from "../../useLoadInitialData-qzdnBoui.mjs";
13
+ const ge = {
14
+ email: "email",
15
+ country: "country",
16
+ legal_name: "companyLegalName",
17
+ tax_ids: "companyVatNumber",
18
+ tax_id: "companyVatNumber",
19
+ vat_number: "companyVatNumber",
20
+ first_name: "firstName",
21
+ last_name: "lastName",
22
+ line1: "addressLine1",
23
+ address_line_1: "addressLine1",
24
+ line2: "addressLine2",
25
+ address_line_2: "addressLine2",
26
+ postal_code: "postalCode",
27
+ city: "city",
28
+ state: "state"
29
+ }, fe = (a) => a.split(".").map((e) => e.replace(/\[\d+\]$/, "")).reverse().map((e) => ge[e]).find((e) => e !== void 0), be = (a, e) => {
30
+ const o = { fields: {} };
31
+ return Object.entries(a ?? {}).forEach(([l, i]) => {
32
+ const r = l === "_generic" ? void 0 : fe(l);
33
+ r && e.includes(r) ? o.fields[r] = i : o.generic ?? (o.generic = i);
34
+ }), o;
35
+ }, he = ({
36
+ initialState: a,
37
+ validationRules: e,
38
+ nullifyEmptyValues: o = !1,
39
+ mode: l = "shallow"
17
40
  }) => {
18
- const u = q(structuredClone(e)), o = q(structuredClone(e)), l = ge(a ?? {}, o), f = N(
19
- () => ne({ from: u.value, to: o.value, mode: n, nullifyEmptyValues: i })
20
- ), v = N(() => Object.entries(f.value).length > 0);
41
+ const i = q(structuredClone(a)), r = U(structuredClone(a)), p = me(e ?? {}, r), y = S(
42
+ () => de({ from: i.value, to: r.value, mode: l, nullifyEmptyValues: o })
43
+ ), b = S(() => Object.entries(y.value).length > 0);
21
44
  return {
22
- form: o,
23
- validation: l,
24
- changes: f,
25
- hasChanges: v,
26
- reset: () => {
27
- o.value = structuredClone(e), l.value.$reset();
28
- },
29
- updateInitialState: (g) => {
30
- o.value = structuredClone(g), u.value = structuredClone(g);
45
+ form: r,
46
+ validation: p,
47
+ changes: y,
48
+ hasChanges: b,
49
+ updateInitialState: (v) => {
50
+ r.value = structuredClone(B(v)), i.value = structuredClone(B(v));
31
51
  },
32
- initialState: u
52
+ initialState: i
33
53
  };
34
- }, Le = "GENERIC_TAX_ID", Ie = {
54
+ }, ve = (a) => W(a), _e = {
35
55
  type: "INDIVIDUAL",
36
56
  email: "",
37
57
  country: "",
@@ -40,115 +60,117 @@ const _e = ({
40
60
  city: "",
41
61
  state: ""
42
62
  };
43
- function Ce({
44
- initialState: e = {},
45
- onSubmit: a
63
+ function Ne({
64
+ initialState: a = {},
65
+ onSubmit: e
46
66
  }) {
47
- const {
48
- form: i,
49
- validation: n,
50
- changes: u,
51
- hasChanges: o,
52
- updateInitialState: l,
67
+ const o = (u) => Q(
68
+ ve(y.value.country) ? y.value.country : void 0
69
+ ).includes(u), l = () => y.value.type === "ORGANIZATION", i = U([]), r = (u) => {
70
+ var d;
71
+ return ((u == null ? void 0 : u.trim()) ?? "") !== (((d = f.value.companyVatNumber) == null ? void 0 : d.trim()) ?? "");
72
+ }, p = (u, d, n) => !r(u) || D.$validator(u, d, n), {
73
+ form: y,
74
+ validation: b,
75
+ changes: s,
76
+ hasChanges: v,
77
+ updateInitialState: V,
53
78
  initialState: f
54
- } = _e({
79
+ } = he({
55
80
  initialState: {
56
- ...Ie,
57
- ...e
81
+ ..._e,
82
+ ...a
58
83
  },
59
84
  validationRules: {
60
- email: { required: be, email: he }
85
+ email: { required: M, email: ue },
86
+ country: { required: M },
87
+ addressLine1: { required: A(() => o("addressLine1")) },
88
+ postalCode: { required: A(() => o("postalCode")) },
89
+ state: { required: A(() => o("state")) },
90
+ companyLegalName: { required: A(l) },
91
+ companyVatNumber: { taxId: { ...D, $validator: p } }
61
92
  },
62
93
  nullifyEmptyValues: !0,
63
94
  mode: "deep"
64
95
  });
65
96
  return {
66
- form: i,
67
- isOrganization: ye,
68
- validation: n,
69
- changes: u,
70
- hasChanges: o,
71
- updateInitialState: (b) => {
72
- l(Se(b));
97
+ form: y,
98
+ validation: b,
99
+ changes: s,
100
+ hasChanges: v,
101
+ updateInitialState: (u) => {
102
+ i.value = se(u) ? u.organization.tax_ids ?? [] : [], V(Le(u));
73
103
  },
74
- submit: (b, g = i.value) => a({
75
- customerId: b,
76
- payload: Ee(g)
77
- }),
78
- initialState: f
104
+ submit: (u, d = y.value) => e({
105
+ customerId: u,
106
+ payload: Ce(
107
+ d,
108
+ r(d.companyVatNumber) ? Ie(i.value, d.companyVatNumber) : void 0
109
+ )
110
+ })
79
111
  };
80
112
  }
81
- const Se = (e) => {
82
- var i, n, u, o;
83
- if (fe(e)) {
84
- const l = e.individual.residential_address;
85
- return {
86
- type: "INDIVIDUAL",
87
- email: e.email ?? "",
88
- country: (l == null ? void 0 : l.country) ?? "",
89
- addressLine1: (l == null ? void 0 : l.line1) ?? "",
90
- addressLine2: (l == null ? void 0 : l.line2) ?? "",
91
- postalCode: (l == null ? void 0 : l.postal_code) ?? "",
92
- city: (l == null ? void 0 : l.city) ?? "",
93
- state: (l == null ? void 0 : l.state) ?? "",
94
- firstName: ((i = e.individual.name) == null ? void 0 : i.first_name) ?? "",
95
- lastName: ((n = e.individual.name) == null ? void 0 : n.last_name) ?? ""
96
- };
97
- }
98
- const a = e.organization.registered_address;
99
- return {
113
+ const Le = (a) => {
114
+ var l, i, r, p;
115
+ const e = w(a) ? a.individual.residential_address : a.organization.registered_address, o = {
116
+ email: a.email ?? "",
117
+ country: (e == null ? void 0 : e.country) ?? "",
118
+ addressLine1: (e == null ? void 0 : e.line1) ?? "",
119
+ addressLine2: (e == null ? void 0 : e.line2) ?? "",
120
+ postalCode: (e == null ? void 0 : e.postal_code) ?? "",
121
+ city: (e == null ? void 0 : e.city) ?? "",
122
+ state: (e == null ? void 0 : e.state) ?? ""
123
+ };
124
+ return w(a) ? {
125
+ type: "INDIVIDUAL",
126
+ ...o,
127
+ firstName: ((l = a.individual.name) == null ? void 0 : l.first_name) ?? "",
128
+ lastName: ((i = a.individual.name) == null ? void 0 : i.last_name) ?? ""
129
+ } : {
100
130
  type: "ORGANIZATION",
101
- email: e.email ?? "",
102
- country: (a == null ? void 0 : a.country) ?? "",
103
- addressLine1: (a == null ? void 0 : a.line1) ?? "",
104
- addressLine2: (a == null ? void 0 : a.line2) ?? "",
105
- postalCode: (a == null ? void 0 : a.postal_code) ?? "",
106
- city: (a == null ? void 0 : a.city) ?? "",
107
- state: (a == null ? void 0 : a.state) ?? "",
108
- companyLegalName: e.organization.legal_name ?? "",
109
- companyVatNumber: ((o = (u = e.organization.tax_ids) == null ? void 0 : u[0]) == null ? void 0 : o.id) ?? ""
131
+ ...o,
132
+ companyLegalName: a.organization.legal_name ?? "",
133
+ companyVatNumber: ((p = (r = a.organization.tax_ids) == null ? void 0 : r[0]) == null ? void 0 : p.id) ?? ""
110
134
  };
111
- }, Ee = (e) => e.type === "ORGANIZATION" ? {
112
- type: "ORGANIZATION",
113
- email: e.email,
114
- organization: {
115
- legal_name: e.companyLegalName ?? "",
116
- tax_ids: e.companyVatNumber ? [
117
- {
118
- id: e.companyVatNumber,
119
- type: Le
120
- }
121
- ] : void 0,
122
- registered_address: {
123
- line1: e.addressLine1,
124
- line2: e.addressLine2 ?? "",
125
- postal_code: e.postalCode,
126
- city: e.city,
127
- country: e.country,
128
- state: e.state ?? ""
135
+ }, Ve = ({ id: a, type: e, display_name: o }) => ({
136
+ id: a,
137
+ type: e,
138
+ ...o && { display_name: o }
139
+ }), Ie = (a, e) => {
140
+ const o = e == null ? void 0 : e.trim(), [l, ...i] = a.map(Ve);
141
+ return o ? [{ ...l, id: o, type: (l == null ? void 0 : l.type) ?? ee }, ...i] : i;
142
+ }, Ce = (a, e) => {
143
+ const o = {
144
+ line1: a.addressLine1,
145
+ line2: a.addressLine2 ?? "",
146
+ postal_code: a.postalCode,
147
+ city: a.city,
148
+ country: a.country,
149
+ state: a.state ?? ""
150
+ };
151
+ return a.type === "ORGANIZATION" ? {
152
+ type: "ORGANIZATION",
153
+ email: a.email,
154
+ organization: {
155
+ legal_name: a.companyLegalName ?? "",
156
+ ...e && { tax_ids: e },
157
+ registered_address: o
129
158
  }
130
- }
131
- } : {
132
- type: "INDIVIDUAL",
133
- email: e.email,
134
- individual: {
135
- name: {
136
- first_name: e.firstName ?? "",
137
- last_name: e.lastName ?? ""
138
- },
139
- residential_address: {
140
- line1: e.addressLine1,
141
- line2: e.addressLine2 ?? "",
142
- postal_code: e.postalCode,
143
- city: e.city,
144
- country: e.country,
145
- state: e.state ?? ""
159
+ } : {
160
+ type: "INDIVIDUAL",
161
+ email: a.email,
162
+ individual: {
163
+ name: {
164
+ first_name: a.firstName ?? "",
165
+ last_name: a.lastName ?? ""
166
+ },
167
+ residential_address: o
146
168
  }
147
- }
148
- }, Ae = { class: "grid grid-cols-1 gap-4" }, Te = { class: "mt-6 flex items-center justify-between gap-4" }, Oe = { class: "flex flex-col gap-2" }, Fe = {
169
+ };
170
+ }, Se = { class: "grid grid-cols-1 gap-4" }, Te = { class: "mt-6 flex items-center justify-between gap-4" }, Fe = { class: "flex flex-col gap-2" }, Oe = {
149
171
  key: 0,
150
172
  class: "grid grid-cols-2 gap-2"
151
- }, ke = { class: "grid grid-cols-3 gap-2" }, Ue = /* @__PURE__ */ E({
173
+ }, Ae = { class: "grid grid-cols-3 gap-2" }, ke = /* @__PURE__ */ x({
152
174
  __name: "BillingInformationForm",
153
175
  props: {
154
176
  customer: { type: Object },
@@ -156,215 +178,240 @@ const Se = (e) => {
156
178
  apiError: { type: null },
157
179
  updateCustomer: { type: Function }
158
180
  },
159
- setup(e) {
160
- const a = e, { $t: i } = de(), n = ie(), { validation: u, form: o, updateInitialState: l, submit: f, hasChanges: v } = Ce({
161
- onSubmit: ({ customerId: c, payload: r }) => a.updateCustomer({ customerId: c, payload: r })
162
- }), m = J({
163
- email: y(o, "email", _),
164
- companyVatNumber: y(o, "companyVatNumber", V),
165
- companyLegalName: y(o, "companyLegalName", V),
166
- firstName: y(o, "firstName", V),
167
- lastName: y(o, "lastName", V),
168
- addressLine1: y(o, "addressLine1", _),
169
- addressLine2: y(o, "addressLine2", V),
170
- postalCode: y(o, "postalCode", _),
171
- city: y(o, "city", _),
172
- state: y(o, "state", V)
173
- }), b = N({
174
- get: () => o.value.country,
175
- set: (c) => {
176
- o.value.country = _(c);
181
+ setup(a) {
182
+ const e = a, { $t: o } = le(), l = ae(), { validation: i, form: r, updateInitialState: p, submit: y, hasChanges: b } = Ne({
183
+ onSubmit: ({ customerId: d, payload: n }) => e.updateCustomer({ customerId: d, payload: n })
184
+ }), s = z({
185
+ email: g(r, "email", C),
186
+ companyVatNumber: g(r, "companyVatNumber", L),
187
+ companyLegalName: g(r, "companyLegalName", L),
188
+ firstName: g(r, "firstName", L),
189
+ lastName: g(r, "lastName", L),
190
+ addressLine1: g(r, "addressLine1", C),
191
+ addressLine2: g(r, "addressLine2", L),
192
+ postalCode: g(r, "postalCode", C),
193
+ city: g(r, "city", C),
194
+ state: g(r, "state", L)
195
+ }), v = S({
196
+ get: () => r.value.country,
197
+ set: (d) => {
198
+ r.value.country = C(d);
199
+ }
200
+ }), V = S(() => r.value.type === "ORGANIZATION"), f = S(
201
+ () => be(e.apiError, [
202
+ "email",
203
+ "country",
204
+ "addressLine1",
205
+ "addressLine2",
206
+ "postalCode",
207
+ "city",
208
+ "state",
209
+ ...V.value ? ["companyLegalName", "companyVatNumber"] : ["firstName", "lastName"]
210
+ ])
211
+ ), h = (d) => i.value[d].$errors.length ? i.value[d].$errors : f.value.fields[d], I = U(!1), u = async () => {
212
+ var d;
213
+ if (!(I.value || !((d = e.customer) != null && d.id))) {
214
+ I.value = !0;
215
+ try {
216
+ if (!await i.value.$validate()) return;
217
+ p(await y(e.customer.id)), i.value.$reset();
218
+ } catch {
219
+ } finally {
220
+ I.value = !1;
221
+ }
177
222
  }
178
- }), g = K(!1), A = N(() => o.value.type === "ORGANIZATION"), H = N(() => !g.value), k = N({
179
- get: () => A.value,
180
- set: (c) => o.value.type = c ? "ORGANIZATION" : "INDIVIDUAL"
181
- }), Y = async () => {
182
- var r;
183
- await u.value.$validate(), !u.value.$invalid && (r = a.customer) != null && r.id && await f(a.customer.id);
184
223
  };
185
- return Q(
186
- () => a.customer,
187
- (c) => {
188
- !c || g.value || (l(c), g.value = !0);
224
+ return G(
225
+ () => e.customer,
226
+ (d) => {
227
+ d && !b.value && p(d);
189
228
  },
190
229
  { immediate: !0 }
191
- ), (c, r) => {
192
- var U, $, P, w, M, j, x, B, D, R, z, G, Z;
193
- return h(), T("form", {
194
- onSubmit: W(Y, ["prevent"])
195
- }, [
196
- d(t(X), {
230
+ ), (d, n) => (_(), $("form", {
231
+ onSubmit: Z(u, ["prevent"])
232
+ }, [
233
+ c(t(R), {
234
+ variant: "heading-3",
235
+ tag: "h2"
236
+ }, {
237
+ default: T(() => [
238
+ j(P(t(l).contactInformationTitle), 1)
239
+ ]),
240
+ _: 1
241
+ }),
242
+ F("div", Se, [
243
+ c(t(N), {
244
+ modelValue: s.email,
245
+ "onUpdate:modelValue": n[0] || (n[0] = (m) => s.email = m),
246
+ required: "",
247
+ type: "email",
248
+ name: "email",
249
+ autocomplete: "email",
250
+ label: t(l).emailLabel,
251
+ placeholder: t(l).emailPlaceholder,
252
+ error: h("email")
253
+ }, null, 8, ["modelValue", "label", "placeholder", "error"]),
254
+ c(t(te), {
255
+ "single-model-value": v.value,
256
+ "onUpdate:singleModelValue": n[1] || (n[1] = (m) => v.value = m),
257
+ i18n: { placeholderDefault: t(l).countryPlaceholder },
258
+ label: t(l).countryLabel,
259
+ error: h("country")
260
+ }, null, 8, ["single-model-value", "i18n", "label", "error"]),
261
+ V.value ? (_(), $(Y, { key: 0 }, [
262
+ c(t(N), {
263
+ modelValue: s.companyVatNumber,
264
+ "onUpdate:modelValue": n[2] || (n[2] = (m) => s.companyVatNumber = m),
265
+ name: "vat_number",
266
+ autocomplete: "off",
267
+ label: t(l).vatNumberLabel,
268
+ placeholder: t(l).vatNumberPlaceholder,
269
+ error: h("companyVatNumber")
270
+ }, null, 8, ["modelValue", "label", "placeholder", "error"]),
271
+ c(t(N), {
272
+ modelValue: s.companyLegalName,
273
+ "onUpdate:modelValue": n[3] || (n[3] = (m) => s.companyLegalName = m),
274
+ required: "",
275
+ name: "legal_name",
276
+ autocomplete: "billing organization",
277
+ label: t(l).legalNameLabel,
278
+ placeholder: t(l).legalNamePlaceholder,
279
+ error: h("companyLegalName")
280
+ }, null, 8, ["modelValue", "label", "placeholder", "error"])
281
+ ], 64)) : k("", !0)
282
+ ]),
283
+ F("div", Te, [
284
+ c(t(R), {
197
285
  variant: "heading-3",
198
286
  tag: "h2"
199
287
  }, {
200
- default: I(() => [
201
- O(F(t(n).contactInformationTitle), 1)
288
+ default: T(() => [
289
+ j(P(t(o)({
290
+ defaultMessage: "Billing details",
291
+ id: "checkout.billing_information_block.title",
292
+ description: "The title of the billing information block in the checkout form"
293
+ })), 1)
202
294
  ]),
203
295
  _: 1
204
- }),
205
- S("div", Ae, [
206
- d(t(p), {
207
- modelValue: m.email,
208
- "onUpdate:modelValue": r[0] || (r[0] = (s) => m.email = s),
209
- required: "",
210
- type: "email",
211
- label: t(n).emailLabel,
212
- placeholder: t(n).emailPlaceholder,
213
- error: ((U = t(u).email) == null ? void 0 : U.$errors) || (($ = e.apiError) == null ? void 0 : $.email)
214
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
215
- d(t(se), {
216
- "single-model-value": b.value,
217
- "onUpdate:singleModelValue": r[1] || (r[1] = (s) => b.value = s),
218
- label: t(n).countryLabel,
219
- error: (P = e.apiError) == null ? void 0 : P.country
220
- }, null, 8, ["single-model-value", "label", "error"]),
221
- H.value ? (h(), C(me, {
222
- key: 0,
223
- modelValue: k.value,
224
- "onUpdate:modelValue": r[2] || (r[2] = (s) => k.value = s)
225
- }, null, 8, ["modelValue"])) : L("", !0),
226
- A.value ? (h(), T(ee, { key: 1 }, [
227
- d(t(p), {
228
- modelValue: m.companyVatNumber,
229
- "onUpdate:modelValue": r[3] || (r[3] = (s) => m.companyVatNumber = s),
230
- name: "vat_number",
231
- label: t(n).vatNumberLabel,
232
- placeholder: t(n).vatNumberPlaceholder,
233
- error: (w = e.apiError) == null ? void 0 : w.vat_number
234
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
235
- d(t(p), {
236
- modelValue: m.companyLegalName,
237
- "onUpdate:modelValue": r[4] || (r[4] = (s) => m.companyLegalName = s),
238
- required: "",
239
- name: "legal_name",
240
- label: t(n).legalNameLabel,
241
- placeholder: t(n).legalNamePlaceholder,
242
- error: (M = e.apiError) == null ? void 0 : M.legal_name
243
- }, null, 8, ["modelValue", "label", "placeholder", "error"])
244
- ], 64)) : L("", !0)
245
- ]),
246
- S("div", Te, [
247
- d(t(X), {
248
- variant: "heading-3",
249
- tag: "h2"
250
- }, {
251
- default: I(() => [
252
- O(F(t(i)({
253
- defaultMessage: "Billing details",
254
- id: "checkout.billing_information_block.title",
255
- description: "The title of the billing information block in the checkout form"
256
- })), 1)
257
- ]),
258
- _: 1
259
- })
260
- ]),
261
- S("div", Oe, [
262
- A.value ? L("", !0) : (h(), T("div", Fe, [
263
- d(t(p), {
264
- modelValue: m.firstName,
265
- "onUpdate:modelValue": r[5] || (r[5] = (s) => m.firstName = s),
266
- name: "first_name",
267
- label: t(i)({
268
- defaultMessage: "First name",
269
- id: "checkout.first_name.label",
270
- description: "The first name of the customer in the checkout form"
271
- }),
272
- placeholder: t(i)({
273
- defaultMessage: "First name...",
274
- id: "checkout.first_name.placeholder",
275
- description: "The first name of the customer in the checkout form"
276
- }),
277
- error: (j = e.apiError) == null ? void 0 : j.first_name
278
- }, null, 8, ["modelValue", "label", "placeholder", "error"]),
279
- d(t(p), {
280
- modelValue: m.lastName,
281
- "onUpdate:modelValue": r[6] || (r[6] = (s) => m.lastName = s),
282
- name: "last_name",
283
- label: t(i)({
284
- defaultMessage: "Last name",
285
- id: "checkout.last_name.label",
286
- description: "The last name of the customer in the checkout form"
287
- }),
288
- placeholder: t(i)({
289
- defaultMessage: "Last name...",
290
- id: "checkout.last_name.placeholder",
291
- description: "The last name of the customer in the checkout form"
292
- }),
293
- error: (x = e.apiError) == null ? void 0 : x.last_name
294
- }, null, 8, ["modelValue", "label", "placeholder", "error"])
295
- ])),
296
- d(t(p), {
297
- modelValue: m.addressLine1,
298
- "onUpdate:modelValue": r[7] || (r[7] = (s) => m.addressLine1 = s),
299
- name: "address_line_1",
300
- label: t(n).addressTitle,
301
- placeholder: t(i)({
302
- defaultMessage: "Address line 1...",
303
- id: "checkout.address.line1.placeholder",
304
- description: "Address line 1 of the customer address in the checkout form"
296
+ })
297
+ ]),
298
+ F("div", Fe, [
299
+ V.value ? k("", !0) : (_(), $("div", Oe, [
300
+ c(t(N), {
301
+ modelValue: s.firstName,
302
+ "onUpdate:modelValue": n[4] || (n[4] = (m) => s.firstName = m),
303
+ name: "first_name",
304
+ autocomplete: "billing given-name",
305
+ label: t(o)({
306
+ defaultMessage: "First name",
307
+ id: "checkout.first_name.label",
308
+ description: "The first name of the customer in the checkout form"
309
+ }),
310
+ placeholder: t(o)({
311
+ defaultMessage: "First name",
312
+ id: "checkout.first_name.placeholder",
313
+ description: "The first name of the customer in the checkout form"
305
314
  }),
306
- error: (B = e.apiError) == null ? void 0 : B.address_line_1
315
+ error: f.value.fields.firstName
307
316
  }, null, 8, ["modelValue", "label", "placeholder", "error"]),
308
- d(t(p), {
309
- modelValue: m.addressLine2,
310
- "onUpdate:modelValue": r[8] || (r[8] = (s) => m.addressLine2 = s),
311
- name: "address_line_2",
312
- placeholder: t(i)({
313
- defaultMessage: "Address line 2...",
314
- id: "checkout.address.line2.placeholder",
315
- description: "Address line 2 of the customer address in the checkout form"
317
+ c(t(N), {
318
+ modelValue: s.lastName,
319
+ "onUpdate:modelValue": n[5] || (n[5] = (m) => s.lastName = m),
320
+ name: "last_name",
321
+ autocomplete: "billing family-name",
322
+ label: t(o)({
323
+ defaultMessage: "Last name",
324
+ id: "checkout.last_name.label",
325
+ description: "The last name of the customer in the checkout form"
316
326
  }),
317
- error: (D = e.apiError) == null ? void 0 : D.address_line_2
318
- }, null, 8, ["modelValue", "placeholder", "error"]),
319
- S("div", ke, [
320
- d(t(p), {
321
- modelValue: m.postalCode,
322
- "onUpdate:modelValue": r[9] || (r[9] = (s) => m.postalCode = s),
323
- name: "postal_code",
324
- placeholder: t(n).postalCodePlaceholder,
325
- error: (R = e.apiError) == null ? void 0 : R.postal_code
326
- }, null, 8, ["modelValue", "placeholder", "error"]),
327
- d(t(p), {
328
- modelValue: m.city,
329
- "onUpdate:modelValue": r[10] || (r[10] = (s) => m.city = s),
330
- name: "city",
331
- placeholder: t(n).cityPlaceholder,
332
- error: (z = e.apiError) == null ? void 0 : z.city
333
- }, null, 8, ["modelValue", "placeholder", "error"]),
334
- d(t(p), {
335
- modelValue: m.state,
336
- "onUpdate:modelValue": r[11] || (r[11] = (s) => m.state = s),
337
- name: "state",
338
- placeholder: t(n).statePlaceholder,
339
- error: (G = e.apiError) == null ? void 0 : G.state
340
- }, null, 8, ["modelValue", "placeholder", "error"])
341
- ])
327
+ placeholder: t(o)({
328
+ defaultMessage: "Last name",
329
+ id: "checkout.last_name.placeholder",
330
+ description: "The last name of the customer in the checkout form"
331
+ }),
332
+ error: f.value.fields.lastName
333
+ }, null, 8, ["modelValue", "label", "placeholder", "error"])
334
+ ])),
335
+ c(t(N), {
336
+ modelValue: s.addressLine1,
337
+ "onUpdate:modelValue": n[6] || (n[6] = (m) => s.addressLine1 = m),
338
+ name: "address_line_1",
339
+ autocomplete: "billing address-line1",
340
+ label: t(l).addressTitle,
341
+ placeholder: t(o)({
342
+ defaultMessage: "Address line 1",
343
+ id: "checkout.address.line1.placeholder",
344
+ description: "Address line 1 of the customer address in the checkout form"
345
+ }),
346
+ error: h("addressLine1")
347
+ }, null, 8, ["modelValue", "label", "placeholder", "error"]),
348
+ c(O, {
349
+ modelValue: s.addressLine2,
350
+ "onUpdate:modelValue": n[7] || (n[7] = (m) => s.addressLine2 = m),
351
+ name: "address_line_2",
352
+ autocomplete: "billing address-line2",
353
+ label: t(l).addressLine2Label,
354
+ placeholder: t(o)({
355
+ defaultMessage: "Address line 2",
356
+ id: "checkout.address.line2.placeholder",
357
+ description: "Address line 2 of the customer address in the checkout form"
358
+ }),
359
+ error: f.value.fields.addressLine2
360
+ }, null, 8, ["modelValue", "label", "placeholder", "error"]),
361
+ F("div", Ae, [
362
+ c(O, {
363
+ modelValue: s.postalCode,
364
+ "onUpdate:modelValue": n[8] || (n[8] = (m) => s.postalCode = m),
365
+ name: "postal_code",
366
+ autocomplete: "billing postal-code",
367
+ label: t(l).postalCodeLabel,
368
+ placeholder: t(l).postalCodePlaceholder,
369
+ error: h("postalCode")
370
+ }, null, 8, ["modelValue", "label", "placeholder", "error"]),
371
+ c(O, {
372
+ modelValue: s.city,
373
+ "onUpdate:modelValue": n[9] || (n[9] = (m) => s.city = m),
374
+ name: "city",
375
+ autocomplete: "billing address-level2",
376
+ label: t(l).cityLabel,
377
+ placeholder: t(l).cityPlaceholder,
378
+ error: f.value.fields.city
379
+ }, null, 8, ["modelValue", "label", "placeholder", "error"]),
380
+ c(O, {
381
+ modelValue: s.state,
382
+ "onUpdate:modelValue": n[10] || (n[10] = (m) => s.state = m),
383
+ name: "state",
384
+ autocomplete: "billing address-level1",
385
+ label: t(l).stateLabel,
386
+ placeholder: t(l).statePlaceholder,
387
+ error: h("state")
388
+ }, null, 8, ["modelValue", "label", "placeholder", "error"])
389
+ ])
390
+ ]),
391
+ f.value.generic ? (_(), E(t(oe), {
392
+ key: 0,
393
+ class: "mt-4",
394
+ title: f.value.generic
395
+ }, null, 8, ["title"])) : k("", !0),
396
+ c(t(K), {
397
+ type: "submit",
398
+ intent: "primary",
399
+ disabled: !t(b),
400
+ loading: a.isLoading || I.value,
401
+ class: "mt-4"
402
+ }, {
403
+ default: T(() => [
404
+ j(P(t(o)({
405
+ defaultMessage: "Save changes",
406
+ id: "billing_information_form.submit_button.label",
407
+ description: "The label for the submit button of the billing information form"
408
+ })), 1)
342
409
  ]),
343
- (Z = e.apiError) != null && Z._generic ? (h(), C(t(ue), {
344
- key: 0,
345
- class: "mt-4",
346
- title: e.apiError._generic
347
- }, null, 8, ["title"])) : L("", !0),
348
- d(t(re), {
349
- type: "submit",
350
- intent: "primary",
351
- disabled: !t(v),
352
- loading: e.isLoading,
353
- class: "mt-4"
354
- }, {
355
- default: I(() => [
356
- O(F(t(i)({
357
- defaultMessage: "Save changes",
358
- id: "billing_information_form.submit_button.label",
359
- description: "The label for the submit button of the billing information form"
360
- })), 1)
361
- ]),
362
- _: 1
363
- }, 8, ["disabled", "loading"])
364
- ], 32);
365
- };
410
+ _: 1
411
+ }, 8, ["disabled", "loading"])
412
+ ], 32));
366
413
  }
367
- }), $e = /* @__PURE__ */ E({
414
+ }), Ee = /* @__PURE__ */ x({
368
415
  __name: "BillingInformationForm",
369
416
  props: {
370
417
  customer: { type: Object },
@@ -372,18 +419,19 @@ const Se = (e) => {
372
419
  updateCustomer: { type: Function },
373
420
  isLoading: { type: Boolean }
374
421
  },
375
- setup(e) {
376
- return (a, i) => (h(), C(Ue, {
422
+ setup(a) {
423
+ return (e, o) => (_(), E(ke, {
377
424
  class: "sv-billing-form sv-root sv-component",
378
- customer: e.customer,
379
- "update-customer": e.updateCustomer,
380
- "is-loading": e.isLoading,
381
- "api-error": e.apiError
425
+ customer: a.customer,
426
+ "update-customer": a.updateCustomer,
427
+ "is-loading": a.isLoading,
428
+ "api-error": a.apiError
382
429
  }, null, 8, ["customer", "update-customer", "is-loading", "api-error"]));
383
430
  }
384
- }), Pe = /* @__PURE__ */ E({
431
+ }), xe = /* @__PURE__ */ x({
385
432
  __name: "BillingInformationForm.entry.view",
386
433
  props: {
434
+ portalToken: { type: Object },
387
435
  environment: { type: String },
388
436
  locale: { type: String },
389
437
  dateLocale: { type: String },
@@ -399,20 +447,19 @@ const Se = (e) => {
399
447
  cssOverrides: { type: [String, Array] },
400
448
  branding: { type: Object }
401
449
  },
402
- setup(e) {
403
- const i = e.portalObject.customer_id, { customer: n, get: u, update: o } = Ve({ customerId: i });
404
- return te(async () => {
405
- await u.execute();
406
- }), (l, f) => ae(l.$slots, "default", {
407
- customer: t(n),
408
- isLoading: t(u).isPending.value || t(o).isPending.value,
409
- updateCustomer: t(o),
410
- apiError: t(ve)(t(o).error)
450
+ setup(a) {
451
+ const o = a.portalObject.customer_id, { customer: l, get: i, update: r } = pe({ customerId: o });
452
+ return ye(i.execute()), (p, y) => H(p.$slots, "default", {
453
+ customer: t(l),
454
+ isLoading: t(i).isPending.value || t(r).isPending.value,
455
+ updateCustomer: t(r),
456
+ apiError: t(r).error.value ? t(ce)(t(r).error.value) : void 0
411
457
  });
412
458
  }
413
- }), we = /* @__PURE__ */ E({
459
+ }), $e = /* @__PURE__ */ x({
414
460
  __name: "BillingInformationForm.entry",
415
461
  props: {
462
+ portalToken: { type: Object },
416
463
  environment: { type: String },
417
464
  locale: { type: String },
418
465
  dateLocale: { type: String },
@@ -429,24 +476,24 @@ const Se = (e) => {
429
476
  branding: { type: Object }
430
477
  },
431
478
  emits: ["error"],
432
- setup(e) {
433
- const a = Ne("billing-information-form");
434
- return (i, n) => (h(), C(t(ce), {
435
- entry: i.$props,
436
- "component-name": t(a),
479
+ setup(a) {
480
+ const e = ie("billing-information-form");
481
+ return (o, l) => (_(), E(t(re), {
482
+ entry: o.$props,
483
+ "component-name": t(e),
437
484
  "allowed-portal-types": ["CUSTOMER"],
438
- onError: n[0] || (n[0] = (u) => i.$emit("error", u))
485
+ onError: l[0] || (l[0] = (i) => o.$emit("error", i))
439
486
  }, {
440
- default: I(() => [
441
- d(Pe, oe(le(i.$props)), {
442
- default: I(({ customer: u, updateCustomer: o, isLoading: l, apiError: f }) => [
443
- u ? (h(), C($e, {
487
+ default: T(() => [
488
+ c(xe, X(J(o.$props)), {
489
+ default: T(({ customer: i, updateCustomer: r, isLoading: p, apiError: y }) => [
490
+ i ? (_(), E(Ee, {
444
491
  key: 0,
445
- customer: u,
446
- "is-loading": l,
447
- "update-customer": ({ payload: v }) => o.execute(v),
448
- "api-error": f
449
- }, null, 8, ["customer", "is-loading", "update-customer", "api-error"])) : L("", !0)
492
+ customer: i,
493
+ "is-loading": p,
494
+ "update-customer": ({ payload: b }) => r.execute(b),
495
+ "api-error": y
496
+ }, null, 8, ["customer", "is-loading", "update-customer", "api-error"])) : k("", !0)
450
497
  ]),
451
498
  _: 1
452
499
  }, 16)
@@ -454,10 +501,10 @@ const Se = (e) => {
454
501
  _: 1
455
502
  }, 8, ["entry", "component-name"]));
456
503
  }
457
- }), { define: He } = pe(
458
- we,
504
+ }), { define: Ye } = ne(
505
+ $e,
459
506
  "billing-information-form"
460
507
  );
461
508
  export {
462
- He as defineSolvimonBillingInformationForm
509
+ Ye as defineSolvimonBillingInformationForm
463
510
  };