@solvimon/solvimon-web 0.1.0-alpha.24 → 0.1.0-alpha.26

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 (286) hide show
  1. package/README.md +14 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js} +1 -1
  4. package/dist/{Avatar.vue.es-nr8srGuK.js → Avatar.vue.es-Bm6MCMAL.js} +1 -1
  5. package/dist/{Avatar.vue.es-DzjFvLuK.mjs → Avatar.vue.es-BqQHvLGA.mjs} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js → BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js} +1 -1
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs} +8 -8
  8. package/dist/{Button.vue.es-PbJFK8z7.mjs → Button.vue.es-C32_baQN.mjs} +1 -1
  9. package/dist/{Button.vue.es-TCF-bvDF.js → Button.vue.es-qGvnOKnK.js} +1 -1
  10. package/dist/ChargeOnDemandModal-CIiI74ls.mjs +983 -0
  11. package/dist/ChargeOnDemandModal-DIQaGnRs.js +1 -0
  12. package/dist/Checkout.entry.ce-8EcavNgT.js +2 -0
  13. package/dist/{Checkout.entry.ce-DHFx5Vnb.mjs → Checkout.entry.ce-BA5ljKj8.mjs} +1562 -1538
  14. package/dist/{Chip.vue.es-DpcOM3Ai.mjs → Chip.vue.es-CKCOY5T6.mjs} +2 -2
  15. package/dist/{Chip.vue.es-CAoisngJ.js → Chip.vue.es-D60gTbfe.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-kzZ3JJHG.js → ContextMenu.vue.es-C7KI8Gz6.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-tAuFp-6i.mjs → ContextMenu.vue.es-Da-lAmTl.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-BQSl9q6W.mjs → CustomerBillingInformation.vue.es-BxBQt4Q0.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-Nac6HgLo.js → CustomerBillingInformation.vue.es-bFUx81Ig.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs} +6 -6
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs} +908 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +1 -0
  24. package/dist/{DividerText.vue.es-LJ2kZakb.js → DividerText.vue.es-BF3gnr4e.js} +1 -1
  25. package/dist/{DividerText.vue.es-CSE7a-T0.mjs → DividerText.vue.es-DKl3FnDJ.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-BF6swP7o.js → ErrorNotification.vue.es-BX9dHEc-.js} +1 -1
  29. package/dist/{ErrorNotification.vue.es-CVUuIt8Z.mjs → ErrorNotification.vue.es-rRKgmkzV.mjs} +1 -1
  30. package/dist/{IconButton.vue.es-CB1lIPao.js → IconButton.vue.es-Bwdfu-jm.js} +1 -1
  31. package/dist/{IconButton.vue.es-DGflbWFk.mjs → IconButton.vue.es-UlqwNPAX.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-BsdjyGlQ.mjs → IconTitle.vue.es-CK9k69tV.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-CMO8EyQl.js → IconTitle.vue.es-Cei98MBw.js} +1 -1
  34. package/dist/{Input.vue.es-CREdT4nB.js → Input.vue.es-B47l_feL.js} +1 -1
  35. package/dist/{Input.vue.es-BFbiFXsU.mjs → Input.vue.es-D9IjIWc-.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs} +2 -2
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js} +1 -1
  40. package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-JtOIQ6SJ.mjs → InvoiceSummary.vue.es-DQ4KvTaw.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BbdtdxsO.js → Modal.vue.es-8LN4gBh0.js} +1 -1
  43. package/dist/{Modal.vue.es-jT61xK_A.mjs → Modal.vue.es-B9xMiyn3.mjs} +5 -5
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs} +4 -4
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-quvnCSFV.mjs → PaymentHistoryBlock-DYa99P1M.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-Dw2wOiAI.js → PaymentHistoryBlock-Ds93gNvh.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-D1oJREmH.js → PaymentIntegrationForm-B_Db4DG1.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-CQjUZi22.mjs → PaymentIntegrationForm-UWoyZgsR.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +154 -0
  56. package/dist/{PaymentIntegrationFormAdyen-CyZk9ofV.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs} +217 -197
  57. package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +98 -0
  58. package/dist/{PaymentIntegrationFormStripe-D-GaLHwc.mjs → PaymentIntegrationFormStripe-BIiMCWlV.mjs} +247 -220
  59. package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +102 -0
  60. package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +1 -0
  61. package/dist/{PaymentMethod.vue.es-C0j580g7.mjs → PaymentMethod.vue.es-CKu5nApX.mjs} +168 -148
  62. package/dist/{PaymentMethodForm-CDV5LR8i.js → PaymentMethodForm-1d0YIGOu.js} +1 -1
  63. package/dist/{PaymentMethodForm-Bf2Ps6eV.mjs → PaymentMethodForm-B05sHWcW.mjs} +1 -1
  64. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +1 -0
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs} +45 -41
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-CEMP_Dhz.js +1 -0
  69. package/dist/PlanCustomizationEditor-CpZeilm5.mjs +694 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-CP7-dmxS.mjs → PricingGroupRangeInput.vue.es-CJpvUP3-.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-BchXhunH.js → PricingGroupRangeInput.vue.es-DZSJ5Mz0.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-_QMReyZ8.mjs → RadioGroupExtended.vue.es-BalV7gwp.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-Cf5R1P9a.js → RadioGroupExtended.vue.es-Dt6LH9Yh.js} +1 -1
  76. package/dist/{Section.vue.es-KRsHeFoT.mjs → Section.vue.es-D7eiXUbk.mjs} +1 -1
  77. package/dist/{Section.vue.es-CBZx5x53.js → Section.vue.es-zVXBHAL6.js} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +1 -0
  81. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs → Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs} +5 -5
  82. package/dist/StepInput.vue.es-C3Zm6Wc9.mjs +199 -0
  83. package/dist/StepInput.vue.es-mAnuCuDQ.js +1 -0
  84. package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +1 -0
  85. package/dist/SubscriptionDetails.entry.ce-WEimiOex.mjs +1057 -0
  86. package/dist/{SubscriptionSchedules-1ikoGncQ.js → SubscriptionSchedules-Cm5Dt-1H.js} +1 -1
  87. package/dist/{SubscriptionSchedules-B6b6xf-E.mjs → SubscriptionSchedules-DrrEAPlx.mjs} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs} +3 -3
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js} +1 -1
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs} +8 -8
  94. package/dist/{TooltipParagraph.vue.es-nGFfHF1A.mjs → TooltipParagraph.vue.es-BXbOJmjr.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-Cph6zT31.js +1 -0
  96. package/dist/{TrialChip.vue.es-DhC5Bpmy.js → TrialChip.vue.es-C_wgHGuN.js} +1 -1
  97. package/dist/{TrialChip.vue.es-eKgO6an3.mjs → TrialChip.vue.es-C_yRujip.mjs} +2 -2
  98. package/dist/{cn.es-BD7Afj5Q.mjs → cn.es-CGa6b2Lt.mjs} +2 -2
  99. package/dist/{cn.es-BLE3T5Rx.js → cn.es-D9YMDvG2.js} +1 -1
  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 +4 -4
  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 +4 -4
  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-CSzbVZIH.js → customElements-C963-LtW.js} +36 -32
  125. package/dist/{customElements-DT1YyL4O.mjs → customElements-D5DAoHRI.mjs} +231 -196
  126. package/dist/{customer-Cq4fF__H.mjs → customer-DKa1B2vp.mjs} +4 -4
  127. package/dist/{customer-CJonIvSm.js → customer-TE1FnGT0.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-CyvjSD9b.mjs → de-DE-CLfzTbbX.mjs} +39 -6
  130. package/dist/de-DE-DaBBl-Ak.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-BNevqm0M.js +1 -0
  133. package/dist/{en-US-xQrWj8qI.mjs → en-US-D6SGRAch.mjs} +39 -6
  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-EamWI_jz.js → invoices-ClqTWYF9.js} +1 -1
  143. package/dist/{invoices-CVZOfEOY.mjs → invoices-DJTwftJv.mjs} +1 -1
  144. package/dist/it-IT-BkPbTueL.js +1 -0
  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-C09oObBM.mjs → it-IT-Cym1UvvK.mjs} +39 -6
  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-BhNND_yi.mjs → nl-NL-D0c4x5C0.mjs} +39 -6
  151. package/dist/nl-NL-jIfAVGv0.js +1 -0
  152. package/dist/paymentMethods-AL2U_byg.js +1 -0
  153. package/dist/{paymentMethods-By1SebnO.mjs → paymentMethods-CWzJhcWK.mjs} +16 -14
  154. package/dist/{payments-Dnjg9Se4.js → payments-BmiHMlQt.js} +1 -1
  155. package/dist/{payments-BYZLQTJ-.mjs → payments-aXyfylwk.mjs} +6 -6
  156. package/dist/pricing.es-C07bgEZx.js +1 -0
  157. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  158. package/dist/pricingPlanSchedules-BD4GIP_F.mjs +32 -0
  159. package/dist/pricingPlanSchedules-BfsMSvN0.js +1 -0
  160. package/dist/screens/Checkout/Checkout.cjs +1 -1
  161. package/dist/screens/Checkout/Checkout.mjs +2 -2
  162. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  163. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  164. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  165. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  166. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  167. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  168. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  169. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  170. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  171. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  172. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  173. package/dist/{subscriptions-BKER9RUc.js → subscriptions-Cm83ckfl.js} +1 -1
  174. package/dist/{subscriptions-Gj3KgCZz.mjs → subscriptions-cnR5fnf7.mjs} +1 -1
  175. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  176. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  177. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  178. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  179. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  180. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  181. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  182. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  183. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  184. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  187. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  190. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  192. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  193. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  194. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  195. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  196. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  197. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  198. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  199. package/dist/types/services/requests.types.d.ts +5 -0
  200. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  201. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  202. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  203. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  204. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  205. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  225. package/dist/{useActionDispatchProvider-DDHrhy3i.js → useActionDispatchProvider-CHkVQMaE.js} +1 -1
  226. package/dist/{useActionDispatchProvider-MjTckd4f.mjs → useActionDispatchProvider-DDYqIh3r.mjs} +1 -1
  227. package/dist/{useCustomer-BW0DBEJh.js → useCustomer-DGYtowRy.js} +1 -1
  228. package/dist/{useCustomer-CxnF7r8Z.mjs → useCustomer-XZKWsolE.mjs} +1 -1
  229. package/dist/{useCustomerFormLabels-zPc8QrwJ.mjs → useCustomerFormLabels-CcnkJLcB.mjs} +6 -6
  230. package/dist/useCustomerFormLabels-DAZziqYt.js +1 -0
  231. package/dist/{useExperimentalFeature-9teNYGuP.js → useExperimentalFeature-COOU6IZd.js} +1 -1
  232. package/dist/{useExperimentalFeature-NsSDg-e3.mjs → useExperimentalFeature-ierhOt9Q.mjs} +1 -1
  233. package/dist/{useInvoiceData-GQwk6fl4.mjs → useInvoiceData-BEK-7msA.mjs} +3 -3
  234. package/dist/{useInvoiceData-DvV2AsgC.js → useInvoiceData-CQRn8l9C.js} +1 -1
  235. package/dist/{useInvoicesList-Xnth6s6U.js → useInvoicesList-BQkKyyXa.js} +1 -1
  236. package/dist/{useInvoicesList-CGmFSQSg.mjs → useInvoicesList-C4I118KM.mjs} +7 -7
  237. package/dist/{useLoadInitialData-BvvaWeAe.mjs → useLoadInitialData-CR0kbYw8.mjs} +1 -1
  238. package/dist/{useLoadInitialData-Cjkc70u-.js → useLoadInitialData-CrKnBZs_.js} +1 -1
  239. package/dist/{usePaymentMethodAvailability-DKyscbom.js → usePaymentMethodAvailability-Ci6LeYKt.js} +1 -1
  240. package/dist/{usePaymentMethodAvailability-BWaaj3N3.mjs → usePaymentMethodAvailability-ZH-m3B-A.mjs} +12 -12
  241. package/dist/{usePaymentMethodOptions-l-wVAmIW.mjs → usePaymentMethodOptions-Ciifjo6c.mjs} +15 -13
  242. package/dist/usePaymentMethodOptions-Cqe92ZBn.js +1 -0
  243. package/dist/{usePaymentMethods-DvQVnsSV.mjs → usePaymentMethods-B-OKRyKd.mjs} +1 -1
  244. package/dist/{usePaymentMethods-BDFVB-kK.js → usePaymentMethods-BKwrl82-.js} +1 -1
  245. package/dist/usePayments-Bauj16B-.js +1 -0
  246. package/dist/{usePayments-D_dyuf6S.mjs → usePayments-CV85OV8V.mjs} +46 -41
  247. package/dist/{usePortal-BU4ibdWq.js → usePortal-DSLImEfr.js} +1 -1
  248. package/dist/{usePortal-Br5lYuPT.mjs → usePortal-H8Tv2TnZ.mjs} +1 -1
  249. package/dist/{useSubscription-DRBUt9H5.js → useSubscription-BiYNJT2e.js} +1 -1
  250. package/dist/{useSubscription-CqRae2I9.mjs → useSubscription-DqnxWNKg.mjs} +1 -1
  251. package/dist/{useTimePeriod.es-BxIGnCAP.mjs → useTimePeriod.es-B22-fno3.mjs} +1 -1
  252. package/dist/{useTimePeriod.es-DDos3-EH.js → useTimePeriod.es-D2aiyfd-.js} +1 -1
  253. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  254. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  255. package/package.json +11 -8
  256. package/dist/Checkout.entry.ce-D8O4qJ24.js +0 -2
  257. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +0 -1
  258. package/dist/InvoiceSummary.vue.es-BOnvORpf.js +0 -1
  259. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +0 -1
  260. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs +0 -141
  261. package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +0 -98
  262. package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +0 -102
  263. package/dist/PaymentMethod.vue.es-CXV_ThBY.js +0 -1
  264. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js +0 -1
  265. package/dist/PlanCustomizationEditor-0kEXoOcM.js +0 -1
  266. package/dist/PlanCustomizationEditor-Dv69xPbX.mjs +0 -877
  267. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs +0 -131
  268. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js +0 -1
  269. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  270. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +0 -1
  271. package/dist/TooltipParagraph.vue.es-7IQdU3Tf.js +0 -1
  272. package/dist/de-DE-DXsDvO5y.js +0 -1
  273. package/dist/en-US-9xdcz3T5.js +0 -1
  274. package/dist/en-US-DHdI11k9.js +0 -1
  275. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  276. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  277. package/dist/index-DwueOtPi.js +0 -1
  278. package/dist/it-IT-CcRIzP1A.js +0 -1
  279. package/dist/nl-NL-5PrgQl8q.js +0 -1
  280. package/dist/paymentMethods-Bwym8l9a.js +0 -1
  281. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  282. package/dist/useCustomerFormLabels-C773h3J0.js +0 -1
  283. package/dist/usePaymentMethodOptions-DuXKS36F.js +0 -1
  284. package/dist/usePayments-CIJocDhR.js +0 -1
  285. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  286. 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-PbJFK8z7.mjs";
3
- import { o as ee, u as te, _ as ae, a as oe } from "../../useCustomerFormLabels-zPc8QrwJ.mjs";
4
- import { _ as re } from "../../ErrorNotification.vue.es-CVUuIt8Z.mjs";
5
- import { _ as d } from "../../Input.vue.es-BFbiFXsU.mjs";
6
- import { u as le, _ as z, d as ne, e as ie } from "../../customElements-DT1YyL4O.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-CxnF7r8Z.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-C32_baQN.mjs";
3
+ import { o as ne, u as ie, _ as se, a as me } from "../../useCustomerFormLabels-CcnkJLcB.mjs";
4
+ import { _ as ue } from "../../ErrorNotification.vue.es-rRKgmkzV.mjs";
5
+ import { _ as p } from "../../Input.vue.es-D9IjIWc-.mjs";
6
+ import { a as de, _ as X, d as ce, e as pe } from "../../customElements-D5DAoHRI.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-XZKWsolE.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
  };