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

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 (302) hide show
  1. package/README.md +16 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-CvxRdCes.js → Avatar.vue.es-BJxSCU76.js} +1 -1
  5. package/dist/{Avatar.vue.es-C9Jkfuvp.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
  6. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +15 -16
  8. package/dist/{Button.vue.es-CeUTAc2n.js → Button.vue.es-BzkuglKw.js} +1 -1
  9. package/dist/{Button.vue.es-BbSN0uOk.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
  10. package/dist/ChargeOnDemandModal-CB4mrvkU.mjs +975 -0
  11. package/dist/ChargeOnDemandModal-b17YswWA.js +1 -0
  12. package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
  13. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
  14. package/dist/{Chip.vue.es-BN83K3Tk.js → Chip.vue.es-B2jjzIOc.js} +1 -1
  15. package/dist/{Chip.vue.es-T22Q7AF9.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
  16. package/dist/{ContextMenu.vue.es-DXKR7WFg.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-0PRmCAzL.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-yrLGc7oL.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
  19. package/dist/{CustomerBillingInformation.vue.es-C2j40TYP.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +895 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
  24. package/dist/{DividerText.vue.es-DsYRZzuE.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
  25. package/dist/{DividerText.vue.es-CV1XK_Vz.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
  28. package/dist/{ErrorNotification.vue.es-CiUJva6S.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-QfRoDhkn.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
  30. package/dist/{IconButton.vue.es-CytBZUkZ.js → IconButton.vue.es-DgQN18Am.js} +1 -1
  31. package/dist/{IconButton.vue.es-ChvsCZQG.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-DPruIJ6l.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DtnpBObk.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
  34. package/dist/{Input.vue.es-BkzQDkrz.js → Input.vue.es-B60eK8Ds.js} +1 -1
  35. package/dist/{Input.vue.es-DJQqJrsb.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
  40. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-6qpbyymg.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BuRlbyZw.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
  43. package/dist/{Modal.vue.es-JpE0eh_Q.js → Modal.vue.es-DvLB3uCG.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-uWuWjr8I.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
  49. package/dist/{PaymentHistoryBlock-DnmParhQ.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-DTXm56QQ.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-DL55i0HD.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +154 -0
  56. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-Cqsy82To.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +202 -192
  58. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +247 -220
  60. package/dist/{PaymentMethod.vue.es-m1NasGqw.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +168 -148
  61. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +1 -0
  62. package/dist/{PaymentMethodForm-BEVdWCrH.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
  63. package/dist/{PaymentMethodForm-BYzt1PVP.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +60 -58
  65. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +1 -0
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
  69. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +722 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-Ba3v0J_R.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-CkhBp9kI.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-CHrcqSRq.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
  76. package/dist/{Section.vue.es-CSrVPlUK.js → Section.vue.es-Bbt0RITt.js} +1 -1
  77. package/dist/{Section.vue.es-D5svcVS_.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
  81. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
  82. package/dist/StepInput.vue.es-H-3R4jJq.js +1 -0
  83. package/dist/StepInput.vue.es-o-3Lg4Ai.mjs +199 -0
  84. package/dist/SubscriptionDetails.entry.ce-CGl6Z5ql.mjs +1057 -0
  85. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +1 -0
  86. package/dist/{SubscriptionSchedules-yDcsD1hd.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
  87. package/dist/{SubscriptionSchedules-CMVoB2bw.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +3 -3
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +9 -10
  94. package/dist/{TooltipParagraph.vue.es-CxdL8-B7.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +1 -0
  96. package/dist/{TrialChip.vue.es-BCc8q5j0.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
  97. package/dist/{TrialChip.vue.es-BK7m7e7q.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
  98. package/dist/{cn.es-71nFUose.js → cn.es-C9Yqq4tg.js} +1 -1
  99. package/dist/{cn.es-ZXNzpauQ.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
  100. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  101. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  102. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  103. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
  104. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  105. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  106. package/dist/components/Invoice/Invoice.cjs +1 -1
  107. package/dist/components/Invoice/Invoice.mjs +201 -212
  108. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  109. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
  110. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  111. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  112. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  113. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  114. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  115. package/dist/components/PaymentHistory/PaymentHistory.mjs +14 -15
  116. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  117. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  118. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  119. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  120. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  121. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  122. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  123. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  124. package/dist/{customElements-q_i9y0Ph.mjs → customElements-B58FcXIN.mjs} +231 -196
  125. package/dist/{customElements-hH6pju3X.js → customElements-DUMRMFQ5.js} +36 -32
  126. package/dist/{customer-BDoOIAFr.mjs → customer-B3LPAhaD.mjs} +4 -4
  127. package/dist/{customer-C9q6ti8s.js → customer-CisTPaXj.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-B_ik9VNt.mjs → de-DE-DKp5LCu0.mjs} +53 -7
  130. package/dist/de-DE-DL74pMLb.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-B2XFj-_p.js +1 -0
  133. package/dist/{en-US-DkCltadt.mjs → en-US-DQ5vlv9Z.mjs} +53 -7
  134. package/dist/en-US-J85TQRI8.js +1 -0
  135. package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
  136. package/dist/formControl-ODrpUvcA.js +1 -0
  137. package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
  138. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
  139. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
  140. package/dist/index.cjs +1 -1
  141. package/dist/index.mjs +4 -4
  142. package/dist/{invoices-DIzkXntV.mjs → invoices-3520M5AN.mjs} +1 -1
  143. package/dist/{invoices-CHp75zZI.js → invoices-CKQBLar2.js} +1 -1
  144. package/dist/{it-IT-CHj2McbF.mjs → it-IT-BgFVsO5S.mjs} +53 -7
  145. package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
  146. package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
  147. package/dist/it-IT-CqNK62qe.js +1 -0
  148. package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
  149. package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
  150. package/dist/nl-NL-Dx-TNXQ1.js +1 -0
  151. package/dist/{nl-NL-Cdvd_XMN.mjs → nl-NL-UiRWbO9S.mjs} +53 -7
  152. package/dist/{paymentMethods-DEKp_4QM.mjs → paymentMethods-CWlvwK5V.mjs} +16 -14
  153. package/dist/paymentMethods-Cw-i95mM.js +1 -0
  154. package/dist/{payments-C0-Hq2a4.mjs → payments-2qeQdpiW.mjs} +6 -6
  155. package/dist/{payments-DBvregE8.js → payments-CS7_YcOW.js} +1 -1
  156. package/dist/pricing-BIMpDI_p.mjs +29 -0
  157. package/dist/pricing-BOqG21f9.js +1 -0
  158. package/dist/pricing.es-C07bgEZx.js +1 -0
  159. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  160. package/dist/pricingPlanSchedules-B_sTAIgU.js +1 -0
  161. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +32 -0
  162. package/dist/screens/Checkout/Checkout.cjs +1 -1
  163. package/dist/screens/Checkout/Checkout.mjs +2 -2
  164. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  165. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  166. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  167. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  168. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  169. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  170. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  171. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  172. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  173. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  174. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  175. package/dist/{subscriptions--9MaTXMb.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
  176. package/dist/{subscriptions-BArXBCFr.js → subscriptions-DwVsf4Ev.js} +1 -1
  177. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  178. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  179. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  180. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  181. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  182. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  183. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  184. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  187. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  190. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  192. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  193. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  194. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  195. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  196. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  197. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  198. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  199. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  200. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  201. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  202. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  203. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  204. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  205. package/dist/types/services/requests.types.d.ts +5 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  231. package/dist/{useActionDispatchProvider-BdciAX8T.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
  232. package/dist/{useActionDispatchProvider-CKzeqXzY.js → useActionDispatchProvider-DFhppdve.js} +1 -1
  233. package/dist/{useCustomer-D8ixhuuj.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
  234. package/dist/{useCustomer-DSYr0F58.js → useCustomer-BwZKd9i5.js} +1 -1
  235. package/dist/{useCustomerFormLabels-htMZ0xqB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +6 -6
  236. package/dist/useCustomerFormLabels-DV9QiMYh.js +1 -0
  237. package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
  238. package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
  239. package/dist/{useInvoiceData-Bpbog3zW.mjs → useInvoiceData-BocKdeg7.mjs} +3 -3
  240. package/dist/{useInvoiceData-DhrItfv7.js → useInvoiceData-CNV_FMV8.js} +1 -1
  241. package/dist/{useInvoicesList-BGwcJn4I.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
  242. package/dist/{useInvoicesList-duu_b5GW.js → useInvoicesList-S0IbQcrD.js} +1 -1
  243. package/dist/{useLoadInitialData-BDmmpcfb.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
  244. package/dist/{useLoadInitialData-U2WvBmXT.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
  245. package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
  246. package/dist/{usePaymentMethodAvailability-adqRujTA.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +5 -6
  247. package/dist/{usePaymentMethodOptions-DlZtTQNQ.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +15 -13
  248. package/dist/usePaymentMethodOptions-CuzOoi2k.js +1 -0
  249. package/dist/{usePaymentMethods-BnmSo_rr.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
  250. package/dist/{usePaymentMethods-DZ1a0mnr.js → usePaymentMethods-DDaTZQZp.js} +1 -1
  251. package/dist/{usePayments-s-Z1di8d.mjs → usePayments-Cr6NlGaW.mjs} +46 -41
  252. package/dist/usePayments-DDSjo0rH.js +1 -0
  253. package/dist/{usePortal-Hm7wvtgQ.js → usePortal-C27omjhz.js} +1 -1
  254. package/dist/{usePortal-C4rR5Rhu.mjs → usePortal-C5AsegpS.mjs} +1 -1
  255. package/dist/{useSubscription-DSsXVO0h.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
  256. package/dist/{useSubscription-DMAEJves.js → useSubscription-D787IXY-.js} +1 -1
  257. package/dist/{useTimePeriod.es-CW8ycmpT.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
  258. package/dist/{useTimePeriod.es-anHB63am.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
  259. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  260. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  261. package/package.json +20 -14
  262. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js +0 -1
  263. package/dist/Checkout.entry.ce-BMzK8nQg.mjs +0 -3900
  264. package/dist/Checkout.entry.ce-DgA0ckyl.js +0 -2
  265. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js +0 -1
  266. package/dist/InvoiceSummary.vue.es-v1TkOUhA.js +0 -1
  267. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +0 -1
  268. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs +0 -141
  269. package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +0 -98
  270. package/dist/PaymentIntegrationFormStripe-DTLgGutU.js +0 -102
  271. package/dist/PaymentMethod.vue.es-ZWda5GqF.js +0 -1
  272. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js +0 -1
  273. package/dist/PlanCustomizationEditor-CunwwXTw.js +0 -1
  274. package/dist/PlanCustomizationEditor-NLVkEYFF.mjs +0 -877
  275. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs +0 -131
  276. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js +0 -1
  277. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +0 -51
  278. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  279. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js +0 -1
  280. package/dist/TooltipParagraph.vue.es-DS_69pl1.js +0 -1
  281. package/dist/adyen-CvsH5fok.mjs +0 -117
  282. package/dist/adyen-Druit6gz.js +0 -1
  283. package/dist/de-DE-npBTLtKL.js +0 -1
  284. package/dist/en-US-9xdcz3T5.js +0 -1
  285. package/dist/en-US-kGduGoka.js +0 -1
  286. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  287. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  288. package/dist/index-DwueOtPi.js +0 -1
  289. package/dist/it-IT-BayNIAy7.js +0 -1
  290. package/dist/nl-NL-0rV4nFLw.js +0 -1
  291. package/dist/paymentMethods-CZGP6_4W.js +0 -1
  292. package/dist/pricing-BVAld27Y.js +0 -1
  293. package/dist/pricing-DLOeiAIB.mjs +0 -16
  294. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  295. package/dist/useCustomerFormLabels-CRumh405.js +0 -1
  296. package/dist/useExperimentalFeature-D29-TO3R.js +0 -1
  297. package/dist/useExperimentalFeature-JK_kAUQQ.mjs +0 -6
  298. package/dist/usePaymentMethodAvailability-DwtT5Czz.js +0 -1
  299. package/dist/usePaymentMethodOptions-CXdFKFqZ.js +0 -1
  300. package/dist/usePayments-DL4agK2i.js +0 -1
  301. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  302. package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
@@ -1,37 +1,37 @@
1
- import { shallowRef as x, computed as V, defineComponent as L, ref as Z, watch as q, openBlock as g, createElementBlock as S, withModifiers as X, createVNode as u, unref as e, withCtx as _, createTextVNode as C, toDisplayString as E, createElementVNode as N, createBlock as I, createCommentVNode as v, Fragment as H, onMounted as Y, renderSlot as J, normalizeProps as K, guardReactiveProps as Q } from "vue";
2
- import { _ as W } from "../../Button.vue.es-BbSN0uOk.mjs";
3
- import { o as ee, u as te, _ as ae, a as oe } from "../../useCustomerFormLabels-htMZ0xqB.mjs";
4
- import { _ as re } from "../../ErrorNotification.vue.es-CiUJva6S.mjs";
5
- import { _ as d } from "../../Input.vue.es-DJQqJrsb.mjs";
6
- import { u as le, _ as z, d as ne, e as ie } from "../../customElements-q_i9y0Ph.mjs";
7
- import { a as se, i as me } from "../../typeGuards.es-B4XMtlkM.mjs";
8
- import { u as ue, e as de, r as ce } from "../../index-BPU8tIml.mjs";
9
- import { b as pe } from "../../api.es-QaC926Xu.mjs";
10
- import { u as ye } from "../../useCustomer-D8ixhuuj.mjs";
11
- import { a as ge } from "../../sessionReference-3h-6FdrC.mjs";
12
- const fe = ({
13
- initialState: t,
14
- validationRules: o,
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
15
  nullifyEmptyValues: i = !1,
16
16
  mode: n = "shallow"
17
17
  }) => {
18
- const m = x(structuredClone(t)), a = x(structuredClone(t)), r = ue(o ?? {}, a), c = V(
19
- () => ee({ from: m.value, to: a.value, mode: n, nullifyEmptyValues: i })
20
- ), f = V(() => Object.entries(c.value).length > 0);
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);
21
21
  return {
22
- form: a,
23
- validation: r,
24
- changes: c,
25
- hasChanges: f,
22
+ form: o,
23
+ validation: l,
24
+ changes: f,
25
+ hasChanges: v,
26
26
  reset: () => {
27
- a.value = structuredClone(t), r.value.$reset();
27
+ o.value = structuredClone(e), l.value.$reset();
28
28
  },
29
- updateInitialState: (h) => {
30
- a.value = structuredClone(h), m.value = structuredClone(h);
29
+ updateInitialState: (g) => {
30
+ o.value = structuredClone(g), u.value = structuredClone(g);
31
31
  },
32
- initialState: m
32
+ initialState: u
33
33
  };
34
- }, he = "GENERIC_TAX_ID", be = {
34
+ }, Le = "GENERIC_TAX_ID", Ie = {
35
35
  type: "INDIVIDUAL",
36
36
  email: "",
37
37
  country: "",
@@ -40,115 +40,115 @@ const fe = ({
40
40
  city: "",
41
41
  state: ""
42
42
  };
43
- function ve({
44
- initialState: t = {},
45
- onSubmit: o
43
+ function Ce({
44
+ initialState: e = {},
45
+ onSubmit: a
46
46
  }) {
47
47
  const {
48
48
  form: i,
49
49
  validation: n,
50
- changes: m,
51
- hasChanges: a,
52
- updateInitialState: r,
53
- initialState: c
54
- } = fe({
50
+ changes: u,
51
+ hasChanges: o,
52
+ updateInitialState: l,
53
+ initialState: f
54
+ } = _e({
55
55
  initialState: {
56
- ...be,
57
- ...t
56
+ ...Ie,
57
+ ...e
58
58
  },
59
59
  validationRules: {
60
- email: { required: ce, email: de }
60
+ email: { required: be, email: he }
61
61
  },
62
62
  nullifyEmptyValues: !0,
63
63
  mode: "deep"
64
64
  });
65
65
  return {
66
66
  form: i,
67
- isOrganization: se,
67
+ isOrganization: ye,
68
68
  validation: n,
69
- changes: m,
70
- hasChanges: a,
71
- updateInitialState: (p) => {
72
- r(Ve(p));
69
+ changes: u,
70
+ hasChanges: o,
71
+ updateInitialState: (b) => {
72
+ l(Se(b));
73
73
  },
74
- submit: (p, h = i.value) => o({
75
- customerId: p,
76
- payload: _e(h)
74
+ submit: (b, g = i.value) => a({
75
+ customerId: b,
76
+ payload: Ee(g)
77
77
  }),
78
- initialState: c
78
+ initialState: f
79
79
  };
80
80
  }
81
- const Ve = (t) => {
82
- var i, n, m, a;
83
- if (me(t)) {
84
- const r = t.individual.residential_address;
81
+ const Se = (e) => {
82
+ var i, n, u, o;
83
+ if (fe(e)) {
84
+ const l = e.individual.residential_address;
85
85
  return {
86
86
  type: "INDIVIDUAL",
87
- email: t.email ?? "",
88
- country: (r == null ? void 0 : r.country) ?? "",
89
- addressLine1: (r == null ? void 0 : r.line1) ?? "",
90
- addressLine2: (r == null ? void 0 : r.line2) ?? "",
91
- postalCode: (r == null ? void 0 : r.postal_code) ?? "",
92
- city: (r == null ? void 0 : r.city) ?? "",
93
- state: (r == null ? void 0 : r.state) ?? "",
94
- firstName: ((i = t.individual.name) == null ? void 0 : i.first_name) ?? "",
95
- lastName: ((n = t.individual.name) == null ? void 0 : n.last_name) ?? ""
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
96
  };
97
97
  }
98
- const o = t.organization.registered_address;
98
+ const a = e.organization.registered_address;
99
99
  return {
100
100
  type: "ORGANIZATION",
101
- email: t.email ?? "",
102
- country: (o == null ? void 0 : o.country) ?? "",
103
- addressLine1: (o == null ? void 0 : o.line1) ?? "",
104
- addressLine2: (o == null ? void 0 : o.line2) ?? "",
105
- postalCode: (o == null ? void 0 : o.postal_code) ?? "",
106
- city: (o == null ? void 0 : o.city) ?? "",
107
- state: (o == null ? void 0 : o.state) ?? "",
108
- companyLegalName: t.organization.legal_name ?? "",
109
- companyVatNumber: ((a = (m = t.organization.tax_ids) == null ? void 0 : m[0]) == null ? void 0 : a.id) ?? ""
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) ?? ""
110
110
  };
111
- }, _e = (t) => t.type === "ORGANIZATION" ? {
111
+ }, Ee = (e) => e.type === "ORGANIZATION" ? {
112
112
  type: "ORGANIZATION",
113
- email: t.email,
113
+ email: e.email,
114
114
  organization: {
115
- legal_name: t.companyLegalName ?? "",
116
- tax_ids: t.companyVatNumber ? [
115
+ legal_name: e.companyLegalName ?? "",
116
+ tax_ids: e.companyVatNumber ? [
117
117
  {
118
- id: t.companyVatNumber,
119
- type: he
118
+ id: e.companyVatNumber,
119
+ type: Le
120
120
  }
121
121
  ] : void 0,
122
122
  registered_address: {
123
- line1: t.addressLine1,
124
- line2: t.addressLine2 ?? "",
125
- postal_code: t.postalCode,
126
- city: t.city,
127
- country: t.country,
128
- state: t.state ?? ""
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 ?? ""
129
129
  }
130
130
  }
131
131
  } : {
132
132
  type: "INDIVIDUAL",
133
- email: t.email,
133
+ email: e.email,
134
134
  individual: {
135
135
  name: {
136
- first_name: t.firstName ?? "",
137
- last_name: t.lastName ?? ""
136
+ first_name: e.firstName ?? "",
137
+ last_name: e.lastName ?? ""
138
138
  },
139
139
  residential_address: {
140
- line1: t.addressLine1,
141
- line2: t.addressLine2 ?? "",
142
- postal_code: t.postalCode,
143
- city: t.city,
144
- country: t.country,
145
- state: t.state ?? ""
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 ?? ""
146
146
  }
147
147
  }
148
- }, Ie = { class: "grid grid-cols-1 gap-4" }, Ne = { class: "mt-6 flex items-center justify-between gap-4" }, Le = { class: "flex flex-col gap-2" }, Se = {
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 = {
149
149
  key: 0,
150
150
  class: "grid grid-cols-2 gap-2"
151
- }, Ce = { class: "grid grid-cols-3 gap-2" }, Ee = /* @__PURE__ */ L({
151
+ }, ke = { class: "grid grid-cols-3 gap-2" }, Ue = /* @__PURE__ */ E({
152
152
  __name: "BillingInformationForm",
153
153
  props: {
154
154
  customer: { type: Object },
@@ -156,84 +156,100 @@ const Ve = (t) => {
156
156
  apiError: { type: null },
157
157
  updateCustomer: { type: Function }
158
158
  },
159
- setup(t) {
160
- const o = t, { $t: i } = le(), n = te(), { validation: m, form: a, updateInitialState: r, submit: c, hasChanges: f } = ve({
161
- onSubmit: ({ customerId: y, payload: l }) => o.updateCustomer({ customerId: y, payload: l })
162
- }), b = Z(!1), p = V(() => a.value.type === "ORGANIZATION"), h = V(() => !b.value), A = V({
163
- get: () => p.value,
164
- set: (y) => a.value.type = y ? "ORGANIZATION" : "INDIVIDUAL"
165
- }), G = async () => {
166
- var l;
167
- await m.value.$validate(), !m.value.$invalid && (l = o.customer) != null && l.id && await c(o.customer.id);
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);
177
+ }
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);
168
184
  };
169
- return q(
170
- () => o.customer,
171
- (y) => {
172
- !y || b.value || (r(y), b.value = !0);
185
+ return Q(
186
+ () => a.customer,
187
+ (c) => {
188
+ !c || g.value || (l(c), g.value = !0);
173
189
  },
174
190
  { immediate: !0 }
175
- ), (y, l) => {
176
- var T, O, F, k, U, $, P, w, j, B, D, M, R;
177
- return g(), S("form", {
178
- onSubmit: X(G, ["prevent"])
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"])
179
195
  }, [
180
- u(e(z), {
196
+ d(t(X), {
181
197
  variant: "heading-3",
182
198
  tag: "h2"
183
199
  }, {
184
- default: _(() => [
185
- C(E(e(n).contactInformationTitle), 1)
200
+ default: I(() => [
201
+ O(F(t(n).contactInformationTitle), 1)
186
202
  ]),
187
203
  _: 1
188
204
  }),
189
- N("div", Ie, [
190
- u(e(d), {
191
- modelValue: e(a).email,
192
- "onUpdate:modelValue": l[0] || (l[0] = (s) => e(a).email = s),
205
+ S("div", Ae, [
206
+ d(t(p), {
207
+ modelValue: m.email,
208
+ "onUpdate:modelValue": r[0] || (r[0] = (s) => m.email = s),
193
209
  required: "",
194
210
  type: "email",
195
- label: e(n).emailLabel,
196
- placeholder: e(n).emailPlaceholder,
197
- error: ((T = e(m).email) == null ? void 0 : T.$errors) || ((O = t.apiError) == null ? void 0 : O.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)
198
214
  }, null, 8, ["modelValue", "label", "placeholder", "error"]),
199
- u(e(ae), {
200
- "single-model-value": e(a).country,
201
- "onUpdate:singleModelValue": l[1] || (l[1] = (s) => e(a).country = s),
202
- label: e(n).countryLabel,
203
- error: (F = t.apiError) == null ? void 0 : F.country
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
204
220
  }, null, 8, ["single-model-value", "label", "error"]),
205
- h.value ? (g(), I(oe, {
221
+ H.value ? (h(), C(me, {
206
222
  key: 0,
207
- modelValue: A.value,
208
- "onUpdate:modelValue": l[2] || (l[2] = (s) => A.value = s)
209
- }, null, 8, ["modelValue"])) : v("", !0),
210
- p.value ? (g(), S(H, { key: 1 }, [
211
- u(e(d), {
212
- modelValue: e(a).companyVatNumber,
213
- "onUpdate:modelValue": l[3] || (l[3] = (s) => e(a).companyVatNumber = s),
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),
214
230
  name: "vat_number",
215
- label: e(n).vatNumberLabel,
216
- placeholder: e(n).vatNumberPlaceholder,
217
- error: (k = t.apiError) == null ? void 0 : k.vat_number
231
+ label: t(n).vatNumberLabel,
232
+ placeholder: t(n).vatNumberPlaceholder,
233
+ error: (w = e.apiError) == null ? void 0 : w.vat_number
218
234
  }, null, 8, ["modelValue", "label", "placeholder", "error"]),
219
- u(e(d), {
220
- modelValue: e(a).companyLegalName,
221
- "onUpdate:modelValue": l[4] || (l[4] = (s) => e(a).companyLegalName = s),
235
+ d(t(p), {
236
+ modelValue: m.companyLegalName,
237
+ "onUpdate:modelValue": r[4] || (r[4] = (s) => m.companyLegalName = s),
222
238
  required: "",
223
239
  name: "legal_name",
224
- label: e(n).legalNameLabel,
225
- placeholder: e(n).legalNamePlaceholder,
226
- error: (U = t.apiError) == null ? void 0 : U.legal_name
240
+ label: t(n).legalNameLabel,
241
+ placeholder: t(n).legalNamePlaceholder,
242
+ error: (M = e.apiError) == null ? void 0 : M.legal_name
227
243
  }, null, 8, ["modelValue", "label", "placeholder", "error"])
228
- ], 64)) : v("", !0)
244
+ ], 64)) : L("", !0)
229
245
  ]),
230
- N("div", Ne, [
231
- u(e(z), {
246
+ S("div", Te, [
247
+ d(t(X), {
232
248
  variant: "heading-3",
233
249
  tag: "h2"
234
250
  }, {
235
- default: _(() => [
236
- C(E(e(i)({
251
+ default: I(() => [
252
+ O(F(t(i)({
237
253
  defaultMessage: "Billing details",
238
254
  id: "checkout.billing_information_block.title",
239
255
  description: "The title of the billing information block in the checkout form"
@@ -242,102 +258,102 @@ const Ve = (t) => {
242
258
  _: 1
243
259
  })
244
260
  ]),
245
- N("div", Le, [
246
- p.value ? v("", !0) : (g(), S("div", Se, [
247
- u(e(d), {
248
- modelValue: e(a).firstName,
249
- "onUpdate:modelValue": l[5] || (l[5] = (s) => e(a).firstName = s),
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),
250
266
  name: "first_name",
251
- label: e(i)({
267
+ label: t(i)({
252
268
  defaultMessage: "First name",
253
269
  id: "checkout.first_name.label",
254
270
  description: "The first name of the customer in the checkout form"
255
271
  }),
256
- placeholder: e(i)({
272
+ placeholder: t(i)({
257
273
  defaultMessage: "First name...",
258
274
  id: "checkout.first_name.placeholder",
259
275
  description: "The first name of the customer in the checkout form"
260
276
  }),
261
- error: ($ = t.apiError) == null ? void 0 : $.first_name
277
+ error: (j = e.apiError) == null ? void 0 : j.first_name
262
278
  }, null, 8, ["modelValue", "label", "placeholder", "error"]),
263
- u(e(d), {
264
- modelValue: e(a).lastName,
265
- "onUpdate:modelValue": l[6] || (l[6] = (s) => e(a).lastName = s),
279
+ d(t(p), {
280
+ modelValue: m.lastName,
281
+ "onUpdate:modelValue": r[6] || (r[6] = (s) => m.lastName = s),
266
282
  name: "last_name",
267
- label: e(i)({
283
+ label: t(i)({
268
284
  defaultMessage: "Last name",
269
285
  id: "checkout.last_name.label",
270
286
  description: "The last name of the customer in the checkout form"
271
287
  }),
272
- placeholder: e(i)({
288
+ placeholder: t(i)({
273
289
  defaultMessage: "Last name...",
274
290
  id: "checkout.last_name.placeholder",
275
291
  description: "The last name of the customer in the checkout form"
276
292
  }),
277
- error: (P = t.apiError) == null ? void 0 : P.last_name
293
+ error: (x = e.apiError) == null ? void 0 : x.last_name
278
294
  }, null, 8, ["modelValue", "label", "placeholder", "error"])
279
295
  ])),
280
- u(e(d), {
281
- modelValue: e(a).addressLine1,
282
- "onUpdate:modelValue": l[7] || (l[7] = (s) => e(a).addressLine1 = s),
296
+ d(t(p), {
297
+ modelValue: m.addressLine1,
298
+ "onUpdate:modelValue": r[7] || (r[7] = (s) => m.addressLine1 = s),
283
299
  name: "address_line_1",
284
- label: e(n).addressTitle,
285
- placeholder: e(i)({
300
+ label: t(n).addressTitle,
301
+ placeholder: t(i)({
286
302
  defaultMessage: "Address line 1...",
287
303
  id: "checkout.address.line1.placeholder",
288
304
  description: "Address line 1 of the customer address in the checkout form"
289
305
  }),
290
- error: (w = t.apiError) == null ? void 0 : w.address_line_1
306
+ error: (B = e.apiError) == null ? void 0 : B.address_line_1
291
307
  }, null, 8, ["modelValue", "label", "placeholder", "error"]),
292
- u(e(d), {
293
- modelValue: e(a).addressLine2,
294
- "onUpdate:modelValue": l[8] || (l[8] = (s) => e(a).addressLine2 = s),
308
+ d(t(p), {
309
+ modelValue: m.addressLine2,
310
+ "onUpdate:modelValue": r[8] || (r[8] = (s) => m.addressLine2 = s),
295
311
  name: "address_line_2",
296
- placeholder: e(i)({
312
+ placeholder: t(i)({
297
313
  defaultMessage: "Address line 2...",
298
314
  id: "checkout.address.line2.placeholder",
299
315
  description: "Address line 2 of the customer address in the checkout form"
300
316
  }),
301
- error: (j = t.apiError) == null ? void 0 : j.address_line_2
317
+ error: (D = e.apiError) == null ? void 0 : D.address_line_2
302
318
  }, null, 8, ["modelValue", "placeholder", "error"]),
303
- N("div", Ce, [
304
- u(e(d), {
305
- modelValue: e(a).postalCode,
306
- "onUpdate:modelValue": l[9] || (l[9] = (s) => e(a).postalCode = s),
319
+ S("div", ke, [
320
+ d(t(p), {
321
+ modelValue: m.postalCode,
322
+ "onUpdate:modelValue": r[9] || (r[9] = (s) => m.postalCode = s),
307
323
  name: "postal_code",
308
- placeholder: e(n).postalCodePlaceholder,
309
- error: (B = t.apiError) == null ? void 0 : B.postal_code
324
+ placeholder: t(n).postalCodePlaceholder,
325
+ error: (R = e.apiError) == null ? void 0 : R.postal_code
310
326
  }, null, 8, ["modelValue", "placeholder", "error"]),
311
- u(e(d), {
312
- modelValue: e(a).city,
313
- "onUpdate:modelValue": l[10] || (l[10] = (s) => e(a).city = s),
327
+ d(t(p), {
328
+ modelValue: m.city,
329
+ "onUpdate:modelValue": r[10] || (r[10] = (s) => m.city = s),
314
330
  name: "city",
315
- placeholder: e(n).cityPlaceholder,
316
- error: (D = t.apiError) == null ? void 0 : D.city
331
+ placeholder: t(n).cityPlaceholder,
332
+ error: (z = e.apiError) == null ? void 0 : z.city
317
333
  }, null, 8, ["modelValue", "placeholder", "error"]),
318
- u(e(d), {
319
- modelValue: e(a).state,
320
- "onUpdate:modelValue": l[11] || (l[11] = (s) => e(a).state = s),
334
+ d(t(p), {
335
+ modelValue: m.state,
336
+ "onUpdate:modelValue": r[11] || (r[11] = (s) => m.state = s),
321
337
  name: "state",
322
- placeholder: e(n).statePlaceholder,
323
- error: (M = t.apiError) == null ? void 0 : M.state
338
+ placeholder: t(n).statePlaceholder,
339
+ error: (G = e.apiError) == null ? void 0 : G.state
324
340
  }, null, 8, ["modelValue", "placeholder", "error"])
325
341
  ])
326
342
  ]),
327
- (R = t.apiError) != null && R._generic ? (g(), I(e(re), {
343
+ (Z = e.apiError) != null && Z._generic ? (h(), C(t(ue), {
328
344
  key: 0,
329
345
  class: "mt-4",
330
- title: t.apiError._generic
331
- }, null, 8, ["title"])) : v("", !0),
332
- u(e(W), {
346
+ title: e.apiError._generic
347
+ }, null, 8, ["title"])) : L("", !0),
348
+ d(t(re), {
333
349
  type: "submit",
334
350
  intent: "primary",
335
- disabled: !e(f),
336
- loading: t.isLoading,
351
+ disabled: !t(v),
352
+ loading: e.isLoading,
337
353
  class: "mt-4"
338
354
  }, {
339
- default: _(() => [
340
- C(E(e(i)({
355
+ default: I(() => [
356
+ O(F(t(i)({
341
357
  defaultMessage: "Save changes",
342
358
  id: "billing_information_form.submit_button.label",
343
359
  description: "The label for the submit button of the billing information form"
@@ -348,7 +364,7 @@ const Ve = (t) => {
348
364
  ], 32);
349
365
  };
350
366
  }
351
- }), Ae = /* @__PURE__ */ L({
367
+ }), $e = /* @__PURE__ */ E({
352
368
  __name: "BillingInformationForm",
353
369
  props: {
354
370
  customer: { type: Object },
@@ -356,16 +372,16 @@ const Ve = (t) => {
356
372
  updateCustomer: { type: Function },
357
373
  isLoading: { type: Boolean }
358
374
  },
359
- setup(t) {
360
- return (o, i) => (g(), I(Ee, {
375
+ setup(e) {
376
+ return (a, i) => (h(), C(Ue, {
361
377
  class: "sv-billing-form sv-root sv-component",
362
- customer: t.customer,
363
- "update-customer": t.updateCustomer,
364
- "is-loading": t.isLoading,
365
- "api-error": t.apiError
378
+ customer: e.customer,
379
+ "update-customer": e.updateCustomer,
380
+ "is-loading": e.isLoading,
381
+ "api-error": e.apiError
366
382
  }, null, 8, ["customer", "update-customer", "is-loading", "api-error"]));
367
383
  }
368
- }), Te = /* @__PURE__ */ L({
384
+ }), Pe = /* @__PURE__ */ E({
369
385
  __name: "BillingInformationForm.entry.view",
370
386
  props: {
371
387
  environment: { type: String },
@@ -383,18 +399,18 @@ const Ve = (t) => {
383
399
  cssOverrides: { type: [String, Array] },
384
400
  branding: { type: Object }
385
401
  },
386
- setup(t) {
387
- const i = t.portalObject.customer_id, { customer: n, get: m, update: a } = ye({ customerId: i });
388
- return Y(async () => {
389
- await m.execute();
390
- }), (r, c) => J(r.$slots, "default", {
391
- customer: e(n),
392
- isLoading: e(m).isPending.value || e(a).isPending.value,
393
- updateCustomer: e(a),
394
- apiError: e(pe)(e(a).error)
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)
395
411
  });
396
412
  }
397
- }), Oe = /* @__PURE__ */ L({
413
+ }), we = /* @__PURE__ */ E({
398
414
  __name: "BillingInformationForm.entry",
399
415
  props: {
400
416
  environment: { type: String },
@@ -413,24 +429,24 @@ const Ve = (t) => {
413
429
  branding: { type: Object }
414
430
  },
415
431
  emits: ["error"],
416
- setup(t) {
417
- const o = ge("billing-information-form");
418
- return (i, n) => (g(), I(e(ne), {
432
+ setup(e) {
433
+ const a = Ne("billing-information-form");
434
+ return (i, n) => (h(), C(t(ce), {
419
435
  entry: i.$props,
420
- "component-name": e(o),
436
+ "component-name": t(a),
421
437
  "allowed-portal-types": ["CUSTOMER"],
422
- onError: n[0] || (n[0] = (m) => i.$emit("error", m))
438
+ onError: n[0] || (n[0] = (u) => i.$emit("error", u))
423
439
  }, {
424
- default: _(() => [
425
- u(Te, K(Q(i.$props)), {
426
- default: _(({ customer: m, updateCustomer: a, isLoading: r, apiError: c }) => [
427
- m ? (g(), I(Ae, {
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, {
428
444
  key: 0,
429
- customer: m,
430
- "is-loading": r,
431
- "update-customer": ({ payload: f }) => a.execute(f),
432
- "api-error": c
433
- }, null, 8, ["customer", "is-loading", "update-customer", "api-error"])) : v("", !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)
434
450
  ]),
435
451
  _: 1
436
452
  }, 16)
@@ -438,10 +454,10 @@ const Ve = (t) => {
438
454
  _: 1
439
455
  }, 8, ["entry", "component-name"]));
440
456
  }
441
- }), { define: xe } = ie(
442
- Oe,
457
+ }), { define: He } = pe(
458
+ we,
443
459
  "billing-information-form"
444
460
  );
445
461
  export {
446
- xe as defineSolvimonBillingInformationForm
462
+ He as defineSolvimonBillingInformationForm
447
463
  };