@solvimon/solvimon-web 0.1.0-alpha.1 → 0.1.0-alpha.11

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 (196) hide show
  1. package/README.md +196 -44
  2. package/dist/ApiStatus-CyNDp_op.mjs +9 -0
  3. package/dist/ApiStatus-oqvUEWJx.js +1 -0
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-B42EzZ97.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CX8vlY2Z.mjs} +9 -6
  5. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DGisvmez.js +1 -0
  6. package/dist/ContentWithAsideLayout-B5B8Kwaw.js +1 -0
  7. package/dist/{ContentWithAsideLayout-BC-C5Gjt.mjs → ContentWithAsideLayout-DhfUkZZg.mjs} +10 -16
  8. package/dist/{useCustomerPaymentMethodOptions-Fe_dLxfv.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bus-5gC3.mjs} +29 -37
  9. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CkRsyMlJ.js +1 -0
  10. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-5yBnSRap.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Bc2hkpTb.mjs} +20 -9
  11. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0vVUHuY.js +1 -0
  12. package/dist/PaymentHistoryBlock-BiiFJkpT.js +1 -0
  13. package/dist/PaymentHistoryBlock-D_B099M7.mjs +4 -0
  14. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CknZKCmY.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CaMDtHrL.mjs} +19 -12
  15. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DWTEfLrE.js +1 -0
  16. package/dist/PaymentIntegrationForm-DFnwutjd.mjs +4 -0
  17. package/dist/PaymentIntegrationForm-xkf4TUaD.js +1 -0
  18. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DTIY4s7C.js +1 -0
  19. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-uk5MO0ce.mjs +962 -0
  20. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-BChVMzCj.mjs +50 -0
  21. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Br3bEUlP.js +1 -0
  22. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-BFFJw-5h.mjs → Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs} +24 -8
  23. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +1 -0
  24. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-AHw3iTfi.js +1 -0
  25. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DfB5BqiH.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BkzLj8n2.mjs} +42 -36
  26. package/dist/adyen-51SvcyqV.mjs +4 -0
  27. package/dist/adyen-Bwewy3HC.mjs +172 -0
  28. package/dist/adyen-DZsyEXkw.js +1 -0
  29. package/dist/adyen-R6aSZ0Yf.js +1 -0
  30. package/dist/component-BOqPDAVk.js +1 -0
  31. package/dist/component-Djrf1L-Z.mjs +889 -0
  32. package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -1
  33. package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
  34. package/dist/components/BillingInformation/BillingInformation.es.js +99 -5
  35. package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -1
  36. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
  37. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +582 -5
  38. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -1
  39. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
  40. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +126 -5
  41. package/dist/components/Invoice/Invoice.ce.d.ts +1 -1
  42. package/dist/components/Invoice/Invoice.cjs.js +1 -1
  43. package/dist/components/Invoice/Invoice.es.js +538 -5
  44. package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -1
  45. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
  46. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +127 -5
  47. package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -1
  48. package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
  49. package/dist/components/InvoicesList/InvoicesList.es.js +106 -5
  50. package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -1
  51. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
  52. package/dist/components/PaymentHistory/PaymentHistory.es.js +131 -5
  53. package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -1
  54. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
  55. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +217 -5
  56. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -1
  57. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
  58. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +154 -5
  59. package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -1
  60. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
  61. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +132 -5
  62. package/dist/components/WalletBalances/WalletBalances.ce.d.ts +3 -0
  63. package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -0
  64. package/dist/components/WalletBalances/WalletBalances.es.js +120 -0
  65. package/dist/core/configuration.d.ts +2 -1
  66. package/dist/core/index.cjs.js +1 -1
  67. package/dist/core/index.d.ts +1 -0
  68. package/dist/core/index.es.js +1 -1
  69. package/dist/core/registry.d.ts +1 -1
  70. package/dist/core/types.d.ts +10 -2
  71. package/dist/customer-B31QzznT.mjs +32 -0
  72. package/dist/customer-hDxW1Dbp.js +1 -0
  73. package/dist/en-US-CgPY97Vq.js +1 -0
  74. package/dist/en-US-N3CUCsVy.mjs +179 -0
  75. package/dist/index-DIFK3mcJ.js +6 -0
  76. package/dist/index-DyvRdSR7.mjs +9673 -0
  77. package/dist/index.cjs.js +1 -1
  78. package/dist/index.d.ts +3 -0
  79. package/dist/index.es.js +43 -34
  80. package/dist/{invoices-C31Wz1Bu.mjs → invoices-DIYPN2j_.mjs} +2 -1
  81. package/dist/invoices-DzkA1jDc.js +1 -0
  82. package/dist/nl-NL-B8U9b85I.mjs +197 -0
  83. package/dist/nl-NL-qMRaTRrM.js +1 -0
  84. package/dist/{paymentMethods-CrU4G_2Y.mjs → paymentMethods-67b3UlTZ.mjs} +2 -1
  85. package/dist/paymentMethods-C_sdTkSF.js +1 -0
  86. package/dist/{payments-C3LPk9k9.js → payments-DkHhTHto.js} +1 -1
  87. package/dist/{payments-NtWI8KlU.mjs → payments-Dq6R37Fz.mjs} +1 -1
  88. package/dist/registry-BkViv4tv.js +1 -0
  89. package/dist/registry-Df_26rJy.mjs +144 -0
  90. package/dist/screens/Checkout/Checkout.ce.d.ts +1 -1
  91. package/dist/screens/Checkout/Checkout.cjs.js +1 -1
  92. package/dist/screens/Checkout/Checkout.es.js +4935 -5
  93. package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -1
  94. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
  95. package/dist/screens/CustomerOverview/CustomerOverview.es.js +154 -5
  96. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +3 -0
  97. package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -0
  98. package/dist/screens/PayInvoice/PayInvoice.es.js +458 -0
  99. package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +3 -0
  100. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -0
  101. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +1066 -0
  102. package/dist/solvimon-web.css +1 -1
  103. package/dist/{subscriptions-3R7aMoky.mjs → subscriptions-ClGIr_aS.mjs} +2 -1
  104. package/dist/subscriptions-jelITJcX.js +1 -0
  105. package/dist/{useActionDispatchProvider-CBo_Hwu5.mjs → useActionDispatchProvider-BC57-Ufn.mjs} +1 -1
  106. package/dist/useActionDispatchProvider-rw9kWeE0.js +1 -0
  107. package/dist/useCustomer-Ba9WRtuT.mjs +25 -0
  108. package/dist/useCustomer-CUcaeQn_.js +1 -0
  109. package/dist/{useIncrementalLoading-fHCizCSo.mjs → useIncrementalLoading-Cnzh2mAz.mjs} +11 -10
  110. package/dist/useIncrementalLoading-DoTTXM2Y.js +1 -0
  111. package/dist/{useInvoiceData-dyvoDwFF.mjs → useInvoiceData-BJwwDur7.mjs} +6 -12
  112. package/dist/useInvoiceData-D2jkdmlA.js +1 -0
  113. package/dist/{useInvoicesList-rDvRzMqe.mjs → useInvoicesList-CFzAxyae.mjs} +34 -30
  114. package/dist/useInvoicesList-CaBCGs4h.js +1 -0
  115. package/dist/{useLoadInitialData-Dm48tlSO.mjs → useLoadInitialData-5sgImpzc.mjs} +5 -0
  116. package/dist/useLoadInitialData-DjwRHcAH.js +1 -0
  117. package/dist/usePaymentMethodOptions-C2k4npCQ.mjs +26 -0
  118. package/dist/usePaymentMethodOptions-DYO6xr3-.js +1 -0
  119. package/dist/{usePaymentMethods-Bq5fWl1Q.mjs → usePaymentMethods-CRWbH48K.mjs} +2 -2
  120. package/dist/{usePaymentMethods-Dbimodf0.js → usePaymentMethods-ryN_YohI.js} +1 -1
  121. package/dist/usePayments-Cw5PPEJa.mjs +36 -0
  122. package/dist/usePayments-DWXPGFvp.js +1 -0
  123. package/dist/usePortal-CxX4nrE4.js +1 -0
  124. package/dist/usePortal-cmE08vYs.mjs +12 -0
  125. package/dist/useService-Bb9r_sOQ.js +1 -0
  126. package/dist/useService-BsSEI8DZ.mjs +53 -0
  127. package/dist/useViewport-Bu0cyeSi.mjs +38 -0
  128. package/dist/useViewport-CKRY1CKR.js +1 -0
  129. package/dist/useWalletBalanceItems-CkDqmk36.mjs +109 -0
  130. package/dist/useWalletBalanceItems-CpZ1NWPr.js +1 -0
  131. package/dist/useWatchDebounced-2ZLnfgvG.js +1 -0
  132. package/dist/useWatchDebounced-D1xuIX6_.mjs +12 -0
  133. package/dist/vendor-ui-5pJF5KBP.js +1 -0
  134. package/dist/vendor-ui-C0K3osvz.mjs +27645 -0
  135. package/package.json +47 -20
  136. package/dist/BillingInformation.entry.ce-1xVdsWlL.mjs +0 -99
  137. package/dist/BillingInformation.entry.ce-DkrfEvK_.js +0 -1
  138. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-VMlVPI4O.js +0 -1
  139. package/dist/BillingInformationForm.entry.ce-MPMirEsk.js +0 -1
  140. package/dist/BillingInformationForm.entry.ce-xfT0Jqps.mjs +0 -579
  141. package/dist/Checkout.entry.ce-Bif6vR1K.mjs +0 -5185
  142. package/dist/Checkout.entry.ce-CkQnLAn4.js +0 -1
  143. package/dist/ContentWithAsideLayout-CIVSoqFr.js +0 -1
  144. package/dist/CustomerOverview.entry.ce-C__omsVl.js +0 -1
  145. package/dist/CustomerOverview.entry.ce-Ce_Yk8-i.mjs +0 -231
  146. package/dist/CustomerPaymentMethods.entry.ce-CZwy8Aqq.mjs +0 -135
  147. package/dist/CustomerPaymentMethods.entry.ce-DnjlRHPA.js +0 -1
  148. package/dist/Invoice.entry.ce-CdJ9TPZe.mjs +0 -583
  149. package/dist/Invoice.entry.ce-Cgr43ome.js +0 -1
  150. package/dist/InvoiceDetails.entry.ce-Cnpz8CLJ.mjs +0 -130
  151. package/dist/InvoiceDetails.entry.ce-jHDyWra2.js +0 -1
  152. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-t6E9_dWJ.js +0 -1
  153. package/dist/InvoicesList.entry.ce-38iOW5qh.js +0 -1
  154. package/dist/InvoicesList.entry.ce-BBaHEtAD.mjs +0 -105
  155. package/dist/PaymentHistory.entry.ce-DDeHMhK_.js +0 -1
  156. package/dist/PaymentHistory.entry.ce-Dw2NiP4l.mjs +0 -134
  157. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-8UxAr2hU.js +0 -1
  158. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BCdv5DbH.mjs +0 -6568
  159. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-xJ8kJbRo.js +0 -1
  160. package/dist/PaymentMethodForm.entry.ce-f4cFExKc.mjs +0 -238
  161. package/dist/PaymentMethodForm.entry.ce-zxeBXZW6.js +0 -1
  162. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CQqTurIt.js +0 -1
  163. package/dist/SubscriptionSchedules.entry.ce-B4T_yQC1.js +0 -1
  164. package/dist/SubscriptionSchedules.entry.ce-B4vQ7QLk.mjs +0 -153
  165. package/dist/SubscriptionsList.entry.ce-B5SJCQW0.js +0 -1
  166. package/dist/SubscriptionsList.entry.ce-cNYuQZZj.mjs +0 -135
  167. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DqZLFDCv.js +0 -1
  168. package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
  169. package/dist/_Uint8Array-DxISR7XF.js +0 -1
  170. package/dist/auto-B_36W1Fc.js +0 -6
  171. package/dist/auto-BfMZdgp-.mjs +0 -14207
  172. package/dist/cloneDeep-Hs8Pp07F.js +0 -1
  173. package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
  174. package/dist/component-BkmcE85U.mjs +0 -58654
  175. package/dist/component-Df5eNqYX.js +0 -1
  176. package/dist/index-2jo9BSPM.js +0 -1
  177. package/dist/index-BFZ0dPh9.mjs +0 -179
  178. package/dist/index-CWSXne1Q.js +0 -1
  179. package/dist/index-D3v7hAtc.mjs +0 -253
  180. package/dist/invoices-8M_3ur_U.js +0 -1
  181. package/dist/paymentMethods-CzUqDlvc.js +0 -1
  182. package/dist/registry-By94DXE2.js +0 -1
  183. package/dist/registry-shRKDl3K.mjs +0 -127
  184. package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
  185. package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
  186. package/dist/subscriptions-CqK7t-fF.js +0 -1
  187. package/dist/useActionDispatchProvider-DsIljrhi.js +0 -1
  188. package/dist/useCustomer-BRY0tuBH.mjs +0 -45
  189. package/dist/useCustomer-Dp8sGHI0.js +0 -1
  190. package/dist/useCustomerPaymentMethodOptions-DYpMDnJR.js +0 -1
  191. package/dist/useIncrementalLoading-D8oKNxX7.js +0 -1
  192. package/dist/useInvoiceData-DImEH1ca.js +0 -1
  193. package/dist/useInvoicesList-BZQ9Y0qN.js +0 -1
  194. package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
  195. package/dist/useService-Dz13Nxbi.mjs +0 -272
  196. package/dist/useService-bNNi4GB8.js +0 -1
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./registry-By94DXE2.js"),o=require("./Checkout.entry.ce-CkQnLAn4.js"),i=require("./CustomerOverview.entry.ce-C__omsVl.js"),n=require("./BillingInformation.entry.ce-DkrfEvK_.js"),t=require("./BillingInformationForm.entry.ce-MPMirEsk.js"),r=require("./CustomerPaymentMethods.entry.ce-DnjlRHPA.js"),s=require("./InvoiceDetails.entry.ce-jHDyWra2.js"),m=require("./InvoicesList.entry.ce-38iOW5qh.js"),l=require("./PaymentHistory.entry.ce-DDeHMhK_.js"),v=require("./SubscriptionSchedules.entry.ce-B4T_yQC1.js"),S=require("./SubscriptionsList.entry.ce-B5SJCQW0.js"),c=require("./PaymentMethodForm.entry.ce-zxeBXZW6.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds,exports.SolvimonCheckout=o.SolvimonCheckout,exports.defineSolvimonCheckout=o.defineSolvimonCheckout,exports.SolvimonCustomerOverview=i.SolvimonCustomerOverview,exports.defineSolvimonCustomerOverview=i.defineSolvimonCustomerOverview,exports.SolvimonBillingInformation=n.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=n.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=t.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=t.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=r.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=r.defineSolvimonCustomerPaymentMethods,exports.SolvimonInvoiceDetails=s.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=s.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=m.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=m.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=l.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=l.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=v.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=v.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=S.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=S.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=c.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=c.defineSolvimonPaymentMethodForm;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-BkViv4tv.js"),e=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),s=require("./screens/PayInvoice/PayInvoice.cjs.js"),t=require("./components/BillingInformation/BillingInformation.cjs.js"),r=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),m=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),l=require("./components/WalletBalances/WalletBalances.cjs.js"),v=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),c=require("./components/InvoicesList/InvoicesList.cjs.js"),S=require("./components/PaymentHistory/PaymentHistory.cjs.js"),a=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js");exports.createSolvimonCore=o.createSolvimonCore,exports.getRegisteredComponentIds=o.getRegisteredComponentIds,exports.getRegisteredScreenIds=o.getRegisteredScreenIds,exports.SolvimonCheckout=e.SolvimonCheckout,exports.defineSolvimonCheckout=e.defineSolvimonCheckout,exports.SolvimonCustomerOverview=i.SolvimonCustomerOverview,exports.defineSolvimonCustomerOverview=i.defineSolvimonCustomerOverview,exports.SolvimonUpgradeSubscription=n.SolvimonUpgradeSubscription,exports.defineSolvimonUpgradeSubscription=n.defineSolvimonUpgradeSubscription,exports.SolvimonPayInvoice=s.SolvimonPayInvoice,exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice,exports.SolvimonBillingInformation=t.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=t.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=r.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=r.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=m.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=m.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=l.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=l.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=v.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=v.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=c.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=c.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=S.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=S.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=a.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=a.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=p.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=p.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=d.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=d.defineSolvimonPaymentMethodForm;
package/dist/index.d.ts CHANGED
@@ -2,9 +2,12 @@ export { createSolvimonCore, getRegisteredScreenIds, getRegisteredComponentIds,
2
2
  export type { SolvimonMountConfig, CoreConfiguration, ComponentConfigurationById, ScreenConfigurationById, ComponentMountConfiguration, ScreenMountConfiguration, SolvimonMountInstance, RegisteredScreenId, RegisteredComponentId, ActionRequestDetail, RequestActionEvent, } from './public/core';
3
3
  export { SolvimonCheckout, defineSolvimonCheckout, } from './public/screens/Checkout/Checkout.entry.ce';
4
4
  export { SolvimonCustomerOverview, defineSolvimonCustomerOverview, } from './public/screens/CustomerOverview/CustomerOverview.entry.ce';
5
+ export { SolvimonUpgradeSubscription, defineSolvimonUpgradeSubscription, } from './public/screens/UpgradeSubscription/UpgradeSubscription.entry.ce';
6
+ export { SolvimonPayInvoice, defineSolvimonPayInvoice, } from './public/screens/PayInvoice/PayInvoice.entry.ce';
5
7
  export { SolvimonBillingInformation, defineSolvimonBillingInformation, } from './public/components/BillingInformation/BillingInformation.entry.ce';
6
8
  export { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm, } from './public/components/BillingInformationForm/BillingInformationForm.entry.ce';
7
9
  export { SolvimonCustomerPaymentMethods, defineSolvimonCustomerPaymentMethods, } from './public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce';
10
+ export { SolvimonWalletBalances, defineSolvimonWalletBalances, } from './public/components/WalletBalances/WalletBalances.entry.ce';
8
11
  export { SolvimonInvoiceDetails, defineSolvimonInvoiceDetails, } from './public/components/InvoiceDetails/InvoiceDetails.entry.ce';
9
12
  export { SolvimonInvoicesList, defineSolvimonInvoicesList, } from './public/components/InvoicesList/InvoicesList.entry.ce';
10
13
  export { SolvimonPaymentHistory, defineSolvimonPaymentHistory, } from './public/components/PaymentHistory/PaymentHistory.entry.ce';
package/dist/index.es.js CHANGED
@@ -1,39 +1,48 @@
1
- import { c, g, a } from "./registry-shRKDl3K.mjs";
2
- import { S, d } from "./Checkout.entry.ce-Bif6vR1K.mjs";
3
- import { S as S2, d as d2 } from "./CustomerOverview.entry.ce-Ce_Yk8-i.mjs";
4
- import { S as S3, d as d3 } from "./BillingInformation.entry.ce-1xVdsWlL.mjs";
5
- import { S as S4, d as d4 } from "./BillingInformationForm.entry.ce-xfT0Jqps.mjs";
6
- import { S as S5, d as d5 } from "./CustomerPaymentMethods.entry.ce-CZwy8Aqq.mjs";
7
- import { S as S6, d as d6 } from "./InvoiceDetails.entry.ce-Cnpz8CLJ.mjs";
8
- import { S as S7, d as d7 } from "./InvoicesList.entry.ce-BBaHEtAD.mjs";
9
- import { S as S8, d as d8 } from "./PaymentHistory.entry.ce-Dw2NiP4l.mjs";
10
- import { S as S9, d as d9 } from "./SubscriptionSchedules.entry.ce-B4vQ7QLk.mjs";
11
- import { S as S10, d as d10 } from "./SubscriptionsList.entry.ce-cNYuQZZj.mjs";
12
- import { S as S11, d as d11 } from "./PaymentMethodForm.entry.ce-f4cFExKc.mjs";
1
+ import { c, g, a } from "./registry-Df_26rJy.mjs";
2
+ import { SolvimonCheckout, defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
3
+ import { SolvimonCustomerOverview, defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.es.js";
4
+ import { SolvimonUpgradeSubscription, defineSolvimonUpgradeSubscription } from "./screens/UpgradeSubscription/UpgradeSubscription.es.js";
5
+ import { SolvimonPayInvoice, defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.es.js";
6
+ import { SolvimonBillingInformation, defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
7
+ import { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
8
+ import { SolvimonCustomerPaymentMethods, defineSolvimonCustomerPaymentMethods } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.es.js";
9
+ import { SolvimonWalletBalances, defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.es.js";
10
+ import { SolvimonInvoiceDetails, defineSolvimonInvoiceDetails } from "./components/InvoiceDetails/InvoiceDetails.es.js";
11
+ import { SolvimonInvoicesList, defineSolvimonInvoicesList } from "./components/InvoicesList/InvoicesList.es.js";
12
+ import { SolvimonPaymentHistory, defineSolvimonPaymentHistory } from "./components/PaymentHistory/PaymentHistory.es.js";
13
+ import { SolvimonSubscriptionSchedules, defineSolvimonSubscriptionSchedules } from "./components/SubscriptionSchedules/SubscriptionSchedules.es.js";
14
+ import { SolvimonSubscriptionsList, defineSolvimonSubscriptionsList } from "./components/SubscriptionsList/SubscriptionsList.es.js";
15
+ import { SolvimonPaymentMethodForm, defineSolvimonPaymentMethodForm } from "./components/PaymentMethodForm/PaymentMethodForm.es.js";
13
16
  export {
14
- S3 as SolvimonBillingInformation,
15
- S4 as SolvimonBillingInformationForm,
16
- S as SolvimonCheckout,
17
- S2 as SolvimonCustomerOverview,
18
- S5 as SolvimonCustomerPaymentMethods,
19
- S6 as SolvimonInvoiceDetails,
20
- S7 as SolvimonInvoicesList,
21
- S8 as SolvimonPaymentHistory,
22
- S11 as SolvimonPaymentMethodForm,
23
- S9 as SolvimonSubscriptionSchedules,
24
- S10 as SolvimonSubscriptionsList,
17
+ SolvimonBillingInformation,
18
+ SolvimonBillingInformationForm,
19
+ SolvimonCheckout,
20
+ SolvimonCustomerOverview,
21
+ SolvimonCustomerPaymentMethods,
22
+ SolvimonInvoiceDetails,
23
+ SolvimonInvoicesList,
24
+ SolvimonPayInvoice,
25
+ SolvimonPaymentHistory,
26
+ SolvimonPaymentMethodForm,
27
+ SolvimonSubscriptionSchedules,
28
+ SolvimonSubscriptionsList,
29
+ SolvimonUpgradeSubscription,
30
+ SolvimonWalletBalances,
25
31
  c as createSolvimonCore,
26
- d3 as defineSolvimonBillingInformation,
27
- d4 as defineSolvimonBillingInformationForm,
28
- d as defineSolvimonCheckout,
29
- d2 as defineSolvimonCustomerOverview,
30
- d5 as defineSolvimonCustomerPaymentMethods,
31
- d6 as defineSolvimonInvoiceDetails,
32
- d7 as defineSolvimonInvoicesList,
33
- d8 as defineSolvimonPaymentHistory,
34
- d11 as defineSolvimonPaymentMethodForm,
35
- d9 as defineSolvimonSubscriptionSchedules,
36
- d10 as defineSolvimonSubscriptionsList,
32
+ defineSolvimonBillingInformation,
33
+ defineSolvimonBillingInformationForm,
34
+ defineSolvimonCheckout,
35
+ defineSolvimonCustomerOverview,
36
+ defineSolvimonCustomerPaymentMethods,
37
+ defineSolvimonInvoiceDetails,
38
+ defineSolvimonInvoicesList,
39
+ defineSolvimonPayInvoice,
40
+ defineSolvimonPaymentHistory,
41
+ defineSolvimonPaymentMethodForm,
42
+ defineSolvimonSubscriptionSchedules,
43
+ defineSolvimonSubscriptionsList,
44
+ defineSolvimonUpgradeSubscription,
45
+ defineSolvimonWalletBalances,
37
46
  g as getRegisteredComponentIds,
38
47
  a as getRegisteredScreenIds
39
48
  };
@@ -1,4 +1,5 @@
1
- import { c as createRequestService, u as useConfig, h as downloadFile, a as withPagination } from "./component-BkmcE85U.mjs";
1
+ import { d as downloadFile, a as withPagination } from "./vendor-ui-C0K3osvz.mjs";
2
+ import { c as createRequestService, u as useConfig } from "./component-Djrf1L-Z.mjs";
2
3
  function createInvoicesService() {
3
4
  const request = createRequestService();
4
5
  const config = useConfig();
@@ -0,0 +1 @@
1
+ const e=require("./vendor-ui-5pJF5KBP.js"),i=require("./component-BOqPDAVk.js");exports.createInvoicesService=function(){const n=i.createRequestService(),t=i.useConfig();return{getInvoice:function(e){return n({url:`${t.apiUrls.transaction}/portal/invoices/${e}`})},getInvoices:function({customerId:i,pagination:r,query:o}){const a=e.withPagination({customer_id:i,...o??{}},r),c=new URL(`${t.apiUrls.transaction}/portal/invoices`);return Object.entries(a).forEach(([e,i])=>{null!=i&&(Array.isArray(i)?i.forEach(i=>{c.searchParams.append(`${e}[]`,`${i}`)}):c.searchParams.append(e,`${i}`))}),n({url:c.toString(),isCollection:!0})},getInvoicePdf:async function(i){return n({url:`${t.apiUrls.transaction}/portal/invoices/${i}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(n=>{const t=new Blob([n],{type:"application/pdf"});e.downloadFile(t,`invoice-${i}.pdf`)})},getInvoicePreview:function({customer:e,pricingPlanSubscriptionId:i,startAt:r,customizations:o,pricing_plan_schedule_customizations:a}){return n({url:`${t.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{template_pricing_plan_subscription_id:i,...r&&{start_at:r},...o&&{pricing_plan_schedule_customizations:o},...a&&{pricing_plan_schedule_customizations:a},customer_details:{...e,reference:"preview"}}})}}};
@@ -0,0 +1,197 @@
1
+ const empty_value_placeholder = "-";
2
+ const pricing_item_pricing = "{pricing} per {billing_period}";
3
+ const nlNL = {
4
+ "addon_multiple_editor.add_to_subscription_button": "Toevoegen aan abonnement",
5
+ "addon_multiple_editor.description": "Selecteer een of meer producten",
6
+ "addon_multiple_editor.unsupported_pricing_error": "Niet-ondersteunde prijsstelling",
7
+ "addon_single_editor.description.at_least_one": "Selecteer minimaal één product",
8
+ "addon_single_editor.description.at_most_one": "Selecteer maximaal één product",
9
+ "addon_single_editor.description.exactly_one": "Selecteer één product",
10
+ "billing_information_form.submit_button.label": "Wijzigingen opslaan",
11
+ "checkout.address.city.placeholder": "Stad...",
12
+ "checkout.address.line1.placeholder": "Adresregel 1...",
13
+ "checkout.address.line2.placeholder": "Adresregel 2...",
14
+ "checkout.address.portal_code.placeholder": "Postcode...",
15
+ "checkout.address.state.placeholder": "Provincie...",
16
+ "checkout.address.title": "Factuuradres",
17
+ "checkout.agreement.subscription": "{subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, long}.",
18
+ "checkout.agreement.trial": "{discounted_amount} voor {trial_period}, daarna {subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, ::MMMMd}.",
19
+ "checkout.agreement.trial.free": "Gratis",
20
+ "checkout.billing_details.add_billing_details_button.label": "Meer factuurgegevens",
21
+ "checkout.billing_details.remove_billing_details_button.label": "Factuurgegevens verwijderen",
22
+ "checkout.billing_information_block.title": "Factuurgegevens",
23
+ "checkout.company_purchase_toggle.sub_title": "Ik koop namens een bedrijf",
24
+ "checkout.company_purchase_toggle.title": "Zakelijke aankoop",
25
+ "checkout.contact_information_block.title": "Klantgegevens",
26
+ "checkout.country.label": "Factuurland",
27
+ "checkout.customize_plan_block.title": "Plan aanpassen",
28
+ "checkout.email_address.label": "E-mailadres",
29
+ "checkout.email_address.placeholder": "E-mailadres...",
30
+ "checkout.express_payment_methods.divider_text": "Of",
31
+ "checkout.express_payment_methods.title": "Direct abonneren met",
32
+ "checkout.first_name.label": "Voornaam",
33
+ "checkout.first_name.placeholder": "Voornaam...",
34
+ "checkout.invoice_preview.no_country_selected_message": "Selecteer eerst een land",
35
+ "checkout.invoice_preview.usage_based_message": "+ Gebruik",
36
+ "checkout.last_name.label": "Achternaam",
37
+ "checkout.last_name.placeholder": "Achternaam...",
38
+ "checkout.legal_name.label": "Naam rechtspersoon",
39
+ "checkout.legal_name.placeholder": "Naam rechtspersoon...",
40
+ "checkout.not_available.contact_support_message": "deze pagina om het opnieuw te proberen, of neem contact op met de klantenservice.",
41
+ "checkout.not_available.description": "De betaalpagina is momenteel niet beschikbaar.",
42
+ "checkout.not_available.reload_button": "Herladen",
43
+ "checkout.not_available.title": "Betaalpagina niet beschikbaar",
44
+ "checkout.optional_suffix.label": "(optioneel)",
45
+ "checkout.order_summary_block.billing_period.label": "Gefactureerd per {period}",
46
+ "checkout.order_summary_block.billing_period.per_label": "/{period}",
47
+ "checkout.order_summary_block.billing_period.per_quarter": "/kwartaal",
48
+ "checkout.order_summary_block.billing_period.quarterly": "Gefactureerd per kwartaal",
49
+ "checkout.order_summary_block.billing_period.save_badge.prefix": "Bespaar {amount}",
50
+ "checkout.order_summary_block.billing_period.save_badge.suffix": "/jaar",
51
+ "checkout.order_summary_block.billing_period.sub_label": "{amount} per {period}",
52
+ "checkout.order_summary_block.title": "Besteloverzicht",
53
+ "checkout.page_title": "Betalen en abonneren",
54
+ "checkout.pay_and_subscribe_button.label": "Betalen en abonneren",
55
+ "checkout.pay_and_subscribe_button_trial.label": "Proefperiode starten",
56
+ "checkout.payment_method_block.no_country_selected_message": "Betaalmethoden worden getoond zodra je het factuurland hebt geselecteerd.",
57
+ "checkout.payment_method_block.no_country_selected_title": "Selecteer je factuurland",
58
+ "checkout.payment_method_block.no_payment_methods_available_message": "Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.",
59
+ "checkout.payment_method_block.no_payment_methods_available_title": "Geen betaalmethoden beschikbaar",
60
+ "checkout.payment_method_block.title": "Betaalmethode",
61
+ "checkout.payment_methods.no_country_selected_message": "Selecteer een land om de beschikbare betaalmethoden te zien",
62
+ "checkout.promotion_code.add_label": "Promotiecode toevoegen",
63
+ "checkout.promotion_code.applied_label": "Promotie toegepast",
64
+ "checkout.promotion_code.applied_status": "Promotiecode toegepast",
65
+ "checkout.promotion_code.apply_aria_label": "Promotiecode toepassen",
66
+ "checkout.promotion_code.apply_button": "Toepassen",
67
+ "checkout.promotion_code.apply_failed": "Promotiecode kon niet worden toegepast. Probeer het opnieuw.",
68
+ "checkout.promotion_code.input_aria_label": "Promotiecode",
69
+ "checkout.promotion_code.placeholder": "Promotiecode",
70
+ "checkout.promotion_code.remove_aria_label": "Promotiecode verwijderen",
71
+ "checkout.promotion_code.remove_failed": "Promotiecode kon niet worden verwijderd. Probeer het opnieuw.",
72
+ "checkout.promotion_code.removed_status": "Promotiecode verwijderd",
73
+ "checkout.subscription_description": "Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, vanaf vandaag.",
74
+ "checkout.trial.label": "Proefperiode",
75
+ "checkout.trial_period_description": "Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.",
76
+ "checkout.vat_number.check_button.label": "Controleren",
77
+ "checkout.vat_number.label": "BTW-nummer",
78
+ "checkout.vat_number.placeholder": "BTW-nummer...",
79
+ "components.payment_method_form.section_title": "Beschikbare betaalmethoden",
80
+ "customer.invoice_table.pay_invoice_button.label": "Betalen",
81
+ "customer.subscriptions_block.cancel_button_label": "Abonnement opzeggen",
82
+ "customer.subscriptions_block.next_billing_date": "Volgende factuurdatum",
83
+ "customer.subscriptions_block.renew_button_label": "Abonnement verlengen",
84
+ "customer.subscriptions_block.show_details_button_label": "Abonnementsdetails",
85
+ "customer_invoices.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
86
+ "customer_invoices.load_failed.title": "We kunnen je facturen niet laden",
87
+ "customer_overview.billing_information_block.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
88
+ "customer_overview.billing_information_block.load_failed.title": "We kunnen je factuurgegevens niet laden",
89
+ "customer_overview.billing_information_block.title": "Factuurgegevens",
90
+ "customer_overview.billing_information_block.view_all_payment_methods_link_label": "Bewerken",
91
+ "customer_overview.invoices_block.no_active_subscription_content": "Je hebt nog geen factuur ontvangen. Deze verschijnt hier zodra deze is gegenereerd.",
92
+ "customer_overview.invoices_block.no_invoices_title": "Geen facturen om weer te geven",
93
+ "customer_overview.invoices_block.title": "Facturen",
94
+ "customer_overview.invoices_block.view_all_invoices_link_label": "Alles weergeven",
95
+ "customer_overview.payment_methods.title": "{count,plural,one{Betaalmethode} other{Betaalmethoden}}",
96
+ "customer_overview.payment_methods_block.add_payment_method_button_label": "Betaalmethode toevoegen",
97
+ "customer_overview.payment_methods_block.add_payment_method_helper_text": "Voeg een betaalmethode toe voor terugkerende factuurbetalingen.",
98
+ "customer_overview.payment_methods_block.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
99
+ "customer_overview.payment_methods_block.load_failed.title": "We kunnen je betaalmethoden niet laden",
100
+ "customer_overview.payment_methods_block.view_all_payment_methods_link_label": "Alles weergeven",
101
+ "customer_overview.subscriptions_block.fallback_subscription_name": "Abonnement",
102
+ "customer_overview.subscriptions_block.load_failed.subtitle": "Vernieuw de pagina of neem contact op met de ondersteuning.",
103
+ "customer_overview.subscriptions_block.load_failed.title": "We kunnen je abonnementen niet laden",
104
+ "customer_overview.subscriptions_block.no_active_subscription_content": "Er is geen actief abonnement om weer te geven.",
105
+ "customer_overview.subscriptions_block.no_active_subscription_title": "Geen abonnementen",
106
+ "customer_overview.subscriptions_block.title": "{count,plural,one{Mijn abonnement} other{Mijn abonnementen}}",
107
+ "customer_overview.subscriptions_block.view_all_button_label": "Alles weergeven",
108
+ "customer_overview.wallet_balances_block.title": "{count,plural,one{Wallet} other{Wallets}}",
109
+ "empty_state.retry.button": "Vernieuwen",
110
+ empty_value_placeholder,
111
+ "invoice_credits.balance.table_header": "Saldo",
112
+ "invoice_credits.credit_breakdown.table_header": "Kredietoverzicht",
113
+ "invoice_credits.remaining.table_header": "Resterend",
114
+ "invoice_credits.used.table_header": "Gebruikt",
115
+ "invoice_preview.taxes_not_determined_by_billing_information_tooltip": "Wordt bepaald aan de hand van de factuurgegevens",
116
+ "invoice_table.button.load_more": "Meer laden",
117
+ "invoice_table.chip.paid": "Betaald",
118
+ "invoice_table.header.amount": "Bedrag",
119
+ "invoice_table.header.date": "Datum",
120
+ "invoice_table.header.invoice_number": "Factuur",
121
+ "invoice_table.header.status": "Status",
122
+ "invoices_list.title": "Schema's",
123
+ "on_demand_pricing_row.add_to_cart_button_label": "Aan winkelwagen toevoegen",
124
+ "on_demand_pricing_row.one_off_label": "eenmalig",
125
+ "on_demand_pricing_row.remove_button_label": "Verwijderen",
126
+ "pay_button.label.amount_and_payment_method": "Betaal {amount} met {type}",
127
+ "pay_button.label.amount_only": "Betaal {amount}",
128
+ "pay_button.label.default": "Betalen",
129
+ "pay_invoice.error.description": "Probeer het opnieuw of neem contact op met de klantenservice.",
130
+ "pay_invoice.error.title": "Er is iets misgegaan",
131
+ "pay_invoice.paid.title": "Bedankt voor je betaling!",
132
+ "pay_invoice.payment_methods.title": "Betaalmethoden",
133
+ "payment_completed_card.redirect_message": "Je wordt doorgestuurd...",
134
+ "payment_completed_card.title.authorize": "Betaling geslaagd",
135
+ "payment_completed_card.title.tokenize": "Je betaalmethode is toegevoegd",
136
+ "payment_integration_form.select_payment_method_error": "Selecteer een betaalmethode",
137
+ "payments.retry_button.label": "Opnieuw proberen",
138
+ "pricing_group_multiple_editor.at_least_one_description": "Selecteer minimaal één product",
139
+ pricing_item_pricing,
140
+ "pricing_item_pricing.flat_top_up": "Flat top-up prijs",
141
+ "pricing_item_pricing.none": "Niet gefactureerd",
142
+ "pricing_item_pricing.pass_through": "Doorberekeningsprijs",
143
+ "pricing_item_pricing.per_seat": "Per gebruiker",
144
+ "pricing_item_pricing.stair_step": "Staffelprijzen",
145
+ "pricing_item_pricing.tiered": "Tariefschalen",
146
+ "pricing_item_pricing.tiered_top_up": "Tariefschalen met top-up",
147
+ "pricing_item_pricing.top_tiered": "Top-tier prijs",
148
+ "pricing_item_pricing.unsupported_pricing_error": "Niet-ondersteunde prijsstelling",
149
+ "sdk.invoice_details.customer_billing_information.title": "Jouw factuur gegevens",
150
+ "sdk.invoice_details.invoice.download_pdf": "Download de PDF voor een volledig overzicht",
151
+ "sdk.invoice_details.invoice.title": "Factuur",
152
+ "sdk.invoice_details.invoice_details_block.due_date": "Vervaldatum",
153
+ "sdk.invoice_details.invoice_details_block.invoice_date": "Factuurdatum",
154
+ "sdk.invoice_details.invoice_details_block.title": "Factuurgegevens",
155
+ "sdk.invoice_details.payment_history.payment_attempt": "Betaalpoging",
156
+ "sdk.invoice_details.payment_history.title": "Betaalgeschiedenis",
157
+ "seats.label": "Seats",
158
+ "seats.price_per_seat_period": "{amount} per seat/{period}",
159
+ "seats.tiered_price_per_seat_period": "{amount} per seat/{period}",
160
+ "seats.tiered_pricing_label": "Staffelprijzen",
161
+ "seats.tiered_range_label": "{lower_bound} - {upper_bound} seats",
162
+ "seats.tiered_unbounded_range_label": "> {lower_bound} seats",
163
+ "secure_payments_kpi.generic": "Veilige en versleutelde betalingen",
164
+ "secure_payments_kpi.specific_vendor": "Veilige en versleutelde betalingen door",
165
+ "subscription_payment_completed_card.continue": "Doorgaan naar verkoper",
166
+ "subscription_payment_completed_card.thank_you_for_subscribing": "Bedankt voor je abonnement.",
167
+ "subscription_payment_completed_card.title": "Betaling geslaagd",
168
+ "tax_check.invalid_vat_number": "BTW-nummer is ongeldig.",
169
+ "tax_check.valid_vat_number": "BTW-nummer is geldig.",
170
+ "upgrade_subscription.empty_state": "Er zijn geen on-demand add-ons beschikbaar voor dit abonnement.",
171
+ "upgrade_subscription.kpi.encrypted_payments.label": "Veilige en versleutelde betalingen",
172
+ "upgrade_subscription.order_summary.empty_state": "Selecteer add-ons om de prijzen te zien.",
173
+ "upgrade_subscription.order_summary.one_off_label": "eenmalig",
174
+ "upgrade_subscription.order_summary.subtotal_label": "Totaal exclusief belasting",
175
+ "upgrade_subscription.order_summary.taxes_label": "Belasting",
176
+ "upgrade_subscription.order_summary.title": "Besteloverzicht",
177
+ "upgrade_subscription.order_summary.total_label": "Vandaag te betalen",
178
+ "upgrade_subscription.payment_picker.all_title": "Alle betaalmethoden",
179
+ "upgrade_subscription.payment_picker.saved_title": "Opgeslagen betaalmethoden",
180
+ "upgrade_subscription.pricing_row.add_button_label": "Aan winkelwagen toevoegen",
181
+ "upgrade_subscription.pricing_row.one_off_label": "eenmalig",
182
+ "upgrade_subscription.pricing_row.remove_button_label": "Verwijderen",
183
+ "upgrade_subscription.purchase_button.label": "Kopen",
184
+ "upgrade_subscription.purchase_error": "Er is iets misgegaan. Probeer het opnieuw.",
185
+ "upgrade_subscription.success.subtitle": "Je add-ons zijn geactiveerd.",
186
+ "upgrade_subscription.success.title": "Betaling geslaagd",
187
+ "wallet_balance.credit_type_fallback_label": "Tegoed",
188
+ "wallet_balance.details.header": "Walletsaldo",
189
+ "wallet_balance.load_failed": "Walletsaldi konden niet worden geladen",
190
+ "wallet_balance.service_period_heading": "Serviceperiode - {startAt} - {endAt}",
191
+ "wallet_balance.wallet_ballance_title": "Saldo"
192
+ };
193
+ export {
194
+ nlNL as default,
195
+ empty_value_placeholder,
196
+ pricing_item_pricing
197
+ };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"addon_multiple_editor.add_to_subscription_button":"Toevoegen aan abonnement","addon_multiple_editor.description":"Selecteer een of meer producten","addon_multiple_editor.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","addon_single_editor.description.at_least_one":"Selecteer minimaal één product","addon_single_editor.description.at_most_one":"Selecteer maximaal één product","addon_single_editor.description.exactly_one":"Selecteer één product","billing_information_form.submit_button.label":"Wijzigingen opslaan","checkout.address.city.placeholder":"Stad...","checkout.address.line1.placeholder":"Adresregel 1...","checkout.address.line2.placeholder":"Adresregel 2...","checkout.address.portal_code.placeholder":"Postcode...","checkout.address.state.placeholder":"Provincie...","checkout.address.title":"Factuuradres","checkout.agreement.subscription":"{subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, long}.","checkout.agreement.trial":"{discounted_amount} voor {trial_period}, daarna {subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, ::MMMMd}.","checkout.agreement.trial.free":"Gratis","checkout.billing_details.add_billing_details_button.label":"Meer factuurgegevens","checkout.billing_details.remove_billing_details_button.label":"Factuurgegevens verwijderen","checkout.billing_information_block.title":"Factuurgegevens","checkout.company_purchase_toggle.sub_title":"Ik koop namens een bedrijf","checkout.company_purchase_toggle.title":"Zakelijke aankoop","checkout.contact_information_block.title":"Klantgegevens","checkout.country.label":"Factuurland","checkout.customize_plan_block.title":"Plan aanpassen","checkout.email_address.label":"E-mailadres","checkout.email_address.placeholder":"E-mailadres...","checkout.express_payment_methods.divider_text":"Of","checkout.express_payment_methods.title":"Direct abonneren met","checkout.first_name.label":"Voornaam","checkout.first_name.placeholder":"Voornaam...","checkout.invoice_preview.no_country_selected_message":"Selecteer eerst een land","checkout.invoice_preview.usage_based_message":"+ Gebruik","checkout.last_name.label":"Achternaam","checkout.last_name.placeholder":"Achternaam...","checkout.legal_name.label":"Naam rechtspersoon","checkout.legal_name.placeholder":"Naam rechtspersoon...","checkout.not_available.contact_support_message":"deze pagina om het opnieuw te proberen, of neem contact op met de klantenservice.","checkout.not_available.description":"De betaalpagina is momenteel niet beschikbaar.","checkout.not_available.reload_button":"Herladen","checkout.not_available.title":"Betaalpagina niet beschikbaar","checkout.optional_suffix.label":"(optioneel)","checkout.order_summary_block.billing_period.label":"Gefactureerd per {period}","checkout.order_summary_block.billing_period.per_label":"/{period}","checkout.order_summary_block.billing_period.per_quarter":"/kwartaal","checkout.order_summary_block.billing_period.quarterly":"Gefactureerd per kwartaal","checkout.order_summary_block.billing_period.save_badge.prefix":"Bespaar {amount}","checkout.order_summary_block.billing_period.save_badge.suffix":"/jaar","checkout.order_summary_block.billing_period.sub_label":"{amount} per {period}","checkout.order_summary_block.title":"Besteloverzicht","checkout.page_title":"Betalen en abonneren","checkout.pay_and_subscribe_button.label":"Betalen en abonneren","checkout.pay_and_subscribe_button_trial.label":"Proefperiode starten","checkout.payment_method_block.no_country_selected_message":"Betaalmethoden worden getoond zodra je het factuurland hebt geselecteerd.","checkout.payment_method_block.no_country_selected_title":"Selecteer je factuurland","checkout.payment_method_block.no_payment_methods_available_message":"Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.","checkout.payment_method_block.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","checkout.payment_method_block.title":"Betaalmethode","checkout.payment_methods.no_country_selected_message":"Selecteer een land om de beschikbare betaalmethoden te zien","checkout.promotion_code.add_label":"Promotiecode toevoegen","checkout.promotion_code.applied_label":"Promotie toegepast","checkout.promotion_code.applied_status":"Promotiecode toegepast","checkout.promotion_code.apply_aria_label":"Promotiecode toepassen","checkout.promotion_code.apply_button":"Toepassen","checkout.promotion_code.apply_failed":"Promotiecode kon niet worden toegepast. Probeer het opnieuw.","checkout.promotion_code.input_aria_label":"Promotiecode","checkout.promotion_code.placeholder":"Promotiecode","checkout.promotion_code.remove_aria_label":"Promotiecode verwijderen","checkout.promotion_code.remove_failed":"Promotiecode kon niet worden verwijderd. Probeer het opnieuw.","checkout.promotion_code.removed_status":"Promotiecode verwijderd","checkout.subscription_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, vanaf vandaag.","checkout.trial.label":"Proefperiode","checkout.trial_period_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.","checkout.vat_number.check_button.label":"Controleren","checkout.vat_number.label":"BTW-nummer","checkout.vat_number.placeholder":"BTW-nummer...","components.payment_method_form.section_title":"Beschikbare betaalmethoden","customer.invoice_table.pay_invoice_button.label":"Betalen","customer.subscriptions_block.cancel_button_label":"Abonnement opzeggen","customer.subscriptions_block.next_billing_date":"Volgende factuurdatum","customer.subscriptions_block.renew_button_label":"Abonnement verlengen","customer.subscriptions_block.show_details_button_label":"Abonnementsdetails","customer_invoices.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_invoices.load_failed.title":"We kunnen je facturen niet laden","customer_overview.billing_information_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.billing_information_block.load_failed.title":"We kunnen je factuurgegevens niet laden","customer_overview.billing_information_block.title":"Factuurgegevens","customer_overview.billing_information_block.view_all_payment_methods_link_label":"Bewerken","customer_overview.invoices_block.no_active_subscription_content":"Je hebt nog geen factuur ontvangen. Deze verschijnt hier zodra deze is gegenereerd.","customer_overview.invoices_block.no_invoices_title":"Geen facturen om weer te geven","customer_overview.invoices_block.title":"Facturen","customer_overview.invoices_block.view_all_invoices_link_label":"Alles weergeven","customer_overview.payment_methods.title":"{count,plural,one{Betaalmethode} other{Betaalmethoden}}","customer_overview.payment_methods_block.add_payment_method_button_label":"Betaalmethode toevoegen","customer_overview.payment_methods_block.add_payment_method_helper_text":"Voeg een betaalmethode toe voor terugkerende factuurbetalingen.","customer_overview.payment_methods_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.payment_methods_block.load_failed.title":"We kunnen je betaalmethoden niet laden","customer_overview.payment_methods_block.view_all_payment_methods_link_label":"Alles weergeven","customer_overview.subscriptions_block.fallback_subscription_name":"Abonnement","customer_overview.subscriptions_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.subscriptions_block.load_failed.title":"We kunnen je abonnementen niet laden","customer_overview.subscriptions_block.no_active_subscription_content":"Er is geen actief abonnement om weer te geven.","customer_overview.subscriptions_block.no_active_subscription_title":"Geen abonnementen","customer_overview.subscriptions_block.title":"{count,plural,one{Mijn abonnement} other{Mijn abonnementen}}","customer_overview.subscriptions_block.view_all_button_label":"Alles weergeven","customer_overview.wallet_balances_block.title":"{count,plural,one{Wallet} other{Wallets}}","empty_state.retry.button":"Vernieuwen",empty_value_placeholder:"-","invoice_credits.balance.table_header":"Saldo","invoice_credits.credit_breakdown.table_header":"Kredietoverzicht","invoice_credits.remaining.table_header":"Resterend","invoice_credits.used.table_header":"Gebruikt","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Wordt bepaald aan de hand van de factuurgegevens","invoice_table.button.load_more":"Meer laden","invoice_table.chip.paid":"Betaald","invoice_table.header.amount":"Bedrag","invoice_table.header.date":"Datum","invoice_table.header.invoice_number":"Factuur","invoice_table.header.status":"Status","invoices_list.title":"Schema's","on_demand_pricing_row.add_to_cart_button_label":"Aan winkelwagen toevoegen","on_demand_pricing_row.one_off_label":"eenmalig","on_demand_pricing_row.remove_button_label":"Verwijderen","pay_button.label.amount_and_payment_method":"Betaal {amount} met {type}","pay_button.label.amount_only":"Betaal {amount}","pay_button.label.default":"Betalen","pay_invoice.error.description":"Probeer het opnieuw of neem contact op met de klantenservice.","pay_invoice.error.title":"Er is iets misgegaan","pay_invoice.paid.title":"Bedankt voor je betaling!","pay_invoice.payment_methods.title":"Betaalmethoden","payment_completed_card.redirect_message":"Je wordt doorgestuurd...","payment_completed_card.title.authorize":"Betaling geslaagd","payment_completed_card.title.tokenize":"Je betaalmethode is toegevoegd","payment_integration_form.select_payment_method_error":"Selecteer een betaalmethode","payments.retry_button.label":"Opnieuw proberen","pricing_group_multiple_editor.at_least_one_description":"Selecteer minimaal één product",pricing_item_pricing:e,"pricing_item_pricing.flat_top_up":"Flat top-up prijs","pricing_item_pricing.none":"Niet gefactureerd","pricing_item_pricing.pass_through":"Doorberekeningsprijs","pricing_item_pricing.per_seat":"Per gebruiker","pricing_item_pricing.stair_step":"Staffelprijzen","pricing_item_pricing.tiered":"Tariefschalen","pricing_item_pricing.tiered_top_up":"Tariefschalen met top-up","pricing_item_pricing.top_tiered":"Top-tier prijs","pricing_item_pricing.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","sdk.invoice_details.customer_billing_information.title":"Jouw factuur gegevens","sdk.invoice_details.invoice.download_pdf":"Download de PDF voor een volledig overzicht","sdk.invoice_details.invoice.title":"Factuur","sdk.invoice_details.invoice_details_block.due_date":"Vervaldatum","sdk.invoice_details.invoice_details_block.invoice_date":"Factuurdatum","sdk.invoice_details.invoice_details_block.title":"Factuurgegevens","sdk.invoice_details.payment_history.payment_attempt":"Betaalpoging","sdk.invoice_details.payment_history.title":"Betaalgeschiedenis","seats.label":"Seats","seats.price_per_seat_period":"{amount} per seat/{period}","seats.tiered_price_per_seat_period":"{amount} per seat/{period}","seats.tiered_pricing_label":"Staffelprijzen","seats.tiered_range_label":"{lower_bound} - {upper_bound} seats","seats.tiered_unbounded_range_label":"> {lower_bound} seats","secure_payments_kpi.generic":"Veilige en versleutelde betalingen","secure_payments_kpi.specific_vendor":"Veilige en versleutelde betalingen door","subscription_payment_completed_card.continue":"Doorgaan naar verkoper","subscription_payment_completed_card.thank_you_for_subscribing":"Bedankt voor je abonnement.","subscription_payment_completed_card.title":"Betaling geslaagd","tax_check.invalid_vat_number":"BTW-nummer is ongeldig.","tax_check.valid_vat_number":"BTW-nummer is geldig.","upgrade_subscription.empty_state":"Er zijn geen on-demand add-ons beschikbaar voor dit abonnement.","upgrade_subscription.kpi.encrypted_payments.label":"Veilige en versleutelde betalingen","upgrade_subscription.order_summary.empty_state":"Selecteer add-ons om de prijzen te zien.","upgrade_subscription.order_summary.one_off_label":"eenmalig","upgrade_subscription.order_summary.subtotal_label":"Totaal exclusief belasting","upgrade_subscription.order_summary.taxes_label":"Belasting","upgrade_subscription.order_summary.title":"Besteloverzicht","upgrade_subscription.order_summary.total_label":"Vandaag te betalen","upgrade_subscription.payment_picker.all_title":"Alle betaalmethoden","upgrade_subscription.payment_picker.saved_title":"Opgeslagen betaalmethoden","upgrade_subscription.pricing_row.add_button_label":"Aan winkelwagen toevoegen","upgrade_subscription.pricing_row.one_off_label":"eenmalig","upgrade_subscription.pricing_row.remove_button_label":"Verwijderen","upgrade_subscription.purchase_button.label":"Kopen","upgrade_subscription.purchase_error":"Er is iets misgegaan. Probeer het opnieuw.","upgrade_subscription.success.subtitle":"Je add-ons zijn geactiveerd.","upgrade_subscription.success.title":"Betaling geslaagd","wallet_balance.credit_type_fallback_label":"Tegoed","wallet_balance.details.header":"Walletsaldo","wallet_balance.load_failed":"Walletsaldi konden niet worden geladen","wallet_balance.service_period_heading":"Serviceperiode - {startAt} - {endAt}","wallet_balance.wallet_ballance_title":"Saldo"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
@@ -1,4 +1,5 @@
1
- import { c as createRequestService, u as useConfig, a as withPagination } from "./component-BkmcE85U.mjs";
1
+ import { a as withPagination } from "./vendor-ui-C0K3osvz.mjs";
2
+ import { c as createRequestService, u as useConfig } from "./component-Djrf1L-Z.mjs";
2
3
  function createPaymentMethodsService() {
3
4
  const request = createRequestService();
4
5
  const config = useConfig();
@@ -0,0 +1 @@
1
+ const t=require("./vendor-ui-5pJF5KBP.js"),e=require("./component-BOqPDAVk.js");exports.createPaymentMethodsService=function(){const n=e.createRequestService(),o=e.useConfig();return{getPaymentMethods:function({customerId:e,pagination:r,query:i}){const a=t.withPagination({customer_id:e,...i??{}},r),s=new URL(`${o.apiUrls.config}/portal/payment-methods`);return Object.entries(a).forEach(([t,e])=>{null!=e&&(Array.isArray(e)?e.forEach(e=>{s.searchParams.append(`${t}[]`,`${e}`)}):s.searchParams.append(t,`${e}`))}),n({url:s.toString(),isCollection:!0})},getPaymentMethodOptions:function({customerId:t,country:e,subscriptionId:r,amount:i}){return n({url:`${o.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...e&&{country:e},...r&&{pricing_plan_subscription_id:r},amount:i}})},tokenizePaymentMethod:function(t){return n({url:`${o.apiUrls.config}/portal/payment-methods/tokenize`,options:{method:"POST"},data:t})}}};
@@ -1 +1 @@
1
- const t=require("./component-Df5eNqYX.js"),e="/portal/payments";exports.createPaymentsService=()=>{const a=t.createRequestService(),n=t.useConfig();return{getPayments:function(t){return a({url:`${n.apiUrls.transaction}${e}`,query:{invoice_id:t},isCollection:!0})},getPaymentDetails:function({paymentAcceptorId:t,paymentGatewayVariant:r,adyen:i}){return a({url:`${n.apiUrls.transaction}${e}/verify-details`,options:{method:"POST"},data:{payment_acceptor_id:t,payment_gateway_variant:r,adyen:i}})},authorizePayment:function(t){return a({url:`${n.apiUrls.transaction}${e}/authorize`,options:{method:"POST"},data:t})}}};
1
+ const t=require("./component-BOqPDAVk.js"),e="/portal/payments";exports.createPaymentsService=()=>{const a=t.createRequestService(),n=t.useConfig();return{getPayments:function(t){return a({url:`${n.apiUrls.transaction}${e}`,query:{invoice_id:t},isCollection:!0})},getPaymentDetails:function({paymentAcceptorId:t,paymentGatewayVariant:r,adyen:i}){return a({url:`${n.apiUrls.transaction}${e}/verify-details`,options:{method:"POST"},data:{payment_acceptor_id:t,payment_gateway_variant:r,adyen:i}})},authorizePayment:function(t){return a({url:`${n.apiUrls.transaction}${e}/authorize`,options:{method:"POST"},data:t})}}};
@@ -1,4 +1,4 @@
1
- import { c as createRequestService, u as useConfig } from "./component-BkmcE85U.mjs";
1
+ import { c as createRequestService, u as useConfig } from "./component-Djrf1L-Z.mjs";
2
2
  const BASE_URL = "/portal/payments";
3
3
  const createPaymentsService = () => {
4
4
  const request = createRequestService();
@@ -0,0 +1 @@
1
+ const e=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js"),n=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),o=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),t=require("./screens/PayInvoice/PayInvoice.cjs.js"),s=require("./components/Invoice/Invoice.cjs.js"),r=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),c=require("./components/InvoicesList/InvoicesList.cjs.js"),m=require("./components/PaymentHistory/PaymentHistory.cjs.js"),u=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),a=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),p=require("./components/WalletBalances/WalletBalances.cjs.js"),v=require("./components/BillingInformation/BillingInformation.cjs.js"),d=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),f=require("./component-BOqPDAVk.js"),j={"customer-overview":n.defineSolvimonCustomerOverview,checkout:o.defineSolvimonCheckout,"upgrade-subscription":i.defineSolvimonUpgradeSubscription,"pay-invoice":t.defineSolvimonPayInvoice},S={invoice:s.defineSolvimonInvoice,"invoice-details":r.defineSolvimonInvoiceDetails,"invoices-list":c.defineSolvimonInvoicesList,"payment-history":m.defineSolvimonPaymentHistory,"subscriptions-list":u.defineSolvimonSubscriptionsList,"subscription-schedules":a.defineSolvimonSubscriptionSchedules,"customer-payment-methods":l.defineSolvimonCustomerPaymentMethods,"wallet-balances":p.defineSolvimonWalletBalances,"billing-information":v.defineSolvimonBillingInformation,"billing-information-form":d.defineSolvimonBillingInformationForm,"payment-method-form":e.defineSolvimonPaymentMethodForm};function b(e,n){const o="screen"===n?(i=e,Object.hasOwn(j,i)&&j[e]):function(e){return Object.hasOwn(S,e)}(e)&&S[e];var i;if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys("screen"===n?j:S).join(", ")}.`);o()}function y(e,n,o,i){const t=function(e){if("string"==typeof e){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}(e);b(n,o);const s=(r=n,f.getComponentName(r));var r;const c=document.createElement(s);return function(e,n){const o={};for(const[i,t]of Object.entries(n))void 0!==t&&(o[i]=t);Object.assign(e,o)}(c,i),t.appendChild(c),{unmount(){c.remove()}}}function h(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function g(e,n){return{...e,...n}}const I=["customer-overview","checkout","upgrade-subscription","pay-invoice"],q=["invoice","invoice-details","invoices-list","payment-history","subscriptions-list","subscription-schedules","customer-payment-methods","wallet-balances","billing-information","billing-information-form","payment-method-form"];exports.createSolvimonCore=function(e={}){return{config:e,createComponent(n,o){const{container:i,props:t}=h(o);return y(i,n,"component",g(e,t)).unmount},createScreen(n,o){const{container:i,props:t}=h(o);return y(i,n,"screen",g(e,t)).unmount}}},exports.getRegisteredComponentIds=function(){return[...q]},exports.getRegisteredScreenIds=function(){return[...I]};
@@ -0,0 +1,144 @@
1
+ import { defineSolvimonPaymentMethodForm } from "./components/PaymentMethodForm/PaymentMethodForm.es.js";
2
+ import { defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.es.js";
3
+ import { defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
4
+ import { defineSolvimonUpgradeSubscription } from "./screens/UpgradeSubscription/UpgradeSubscription.es.js";
5
+ import { defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.es.js";
6
+ import { defineSolvimonInvoice } from "./components/Invoice/Invoice.es.js";
7
+ import { defineSolvimonInvoiceDetails } from "./components/InvoiceDetails/InvoiceDetails.es.js";
8
+ import { defineSolvimonInvoicesList } from "./components/InvoicesList/InvoicesList.es.js";
9
+ import { defineSolvimonPaymentHistory } from "./components/PaymentHistory/PaymentHistory.es.js";
10
+ import { defineSolvimonSubscriptionsList } from "./components/SubscriptionsList/SubscriptionsList.es.js";
11
+ import { defineSolvimonSubscriptionSchedules } from "./components/SubscriptionSchedules/SubscriptionSchedules.es.js";
12
+ import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.es.js";
13
+ import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.es.js";
14
+ import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
15
+ import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
16
+ import { g as getComponentName } from "./component-Djrf1L-Z.mjs";
17
+ const SCREEN_DEFINERS = {
18
+ "customer-overview": defineSolvimonCustomerOverview,
19
+ checkout: defineSolvimonCheckout,
20
+ "upgrade-subscription": defineSolvimonUpgradeSubscription,
21
+ "pay-invoice": defineSolvimonPayInvoice
22
+ };
23
+ const COMPONENT_DEFINERS = {
24
+ invoice: defineSolvimonInvoice,
25
+ "invoice-details": defineSolvimonInvoiceDetails,
26
+ "invoices-list": defineSolvimonInvoicesList,
27
+ "payment-history": defineSolvimonPaymentHistory,
28
+ "subscriptions-list": defineSolvimonSubscriptionsList,
29
+ "subscription-schedules": defineSolvimonSubscriptionSchedules,
30
+ "customer-payment-methods": defineSolvimonCustomerPaymentMethods,
31
+ "wallet-balances": defineSolvimonWalletBalances,
32
+ "billing-information": defineSolvimonBillingInformation,
33
+ "billing-information-form": defineSolvimonBillingInformationForm,
34
+ "payment-method-form": defineSolvimonPaymentMethodForm
35
+ };
36
+ function isRegisteredScreenId(id) {
37
+ return Object.hasOwn(SCREEN_DEFINERS, id);
38
+ }
39
+ function isRegisteredComponentId(id) {
40
+ return Object.hasOwn(COMPONENT_DEFINERS, id);
41
+ }
42
+ function getCustomElementTagName(viewId) {
43
+ return getComponentName(viewId);
44
+ }
45
+ function ensureCustomElementDefined(viewId, type) {
46
+ const defineFn = type === "screen" ? isRegisteredScreenId(viewId) && SCREEN_DEFINERS[viewId] : isRegisteredComponentId(viewId) && COMPONENT_DEFINERS[viewId];
47
+ if (!defineFn) {
48
+ throw new Error(
49
+ `Solvimon: unknown ${type} id "${viewId}". Registered ${type}s: ${Object.keys(
50
+ type === "screen" ? SCREEN_DEFINERS : COMPONENT_DEFINERS
51
+ ).join(", ")}.`
52
+ );
53
+ }
54
+ defineFn();
55
+ }
56
+ function resolveContainer(container) {
57
+ if (typeof container === "string") {
58
+ const el = document.querySelector(container);
59
+ if (!el) {
60
+ throw new Error(`Solvimon: container not found for selector "${container}"`);
61
+ }
62
+ return el;
63
+ }
64
+ return container;
65
+ }
66
+ function setElementProps(element, props) {
67
+ const definedProps = {};
68
+ for (const [key, value] of Object.entries(props)) {
69
+ if (value === void 0) continue;
70
+ definedProps[key] = value;
71
+ }
72
+ Object.assign(element, definedProps);
73
+ }
74
+ function mountSolvimonElement(container, id, type, props) {
75
+ const parent = resolveContainer(container);
76
+ ensureCustomElementDefined(id, type);
77
+ const tagName = getCustomElementTagName(id);
78
+ const element = document.createElement(tagName);
79
+ setElementProps(element, props);
80
+ parent.appendChild(element);
81
+ return {
82
+ unmount() {
83
+ element.remove();
84
+ }
85
+ };
86
+ }
87
+ function splitContainer(configuration) {
88
+ const { container, ...props } = configuration;
89
+ return { container, props: Object.fromEntries(Object.entries(props)) };
90
+ }
91
+ function mergeElementProps(config, props) {
92
+ return {
93
+ ...config,
94
+ ...props
95
+ };
96
+ }
97
+ function createSolvimonCore(config = {}) {
98
+ return {
99
+ config,
100
+ createComponent(id, configuration) {
101
+ const { container, props } = splitContainer(configuration);
102
+ return mountSolvimonElement(
103
+ container,
104
+ id,
105
+ "component",
106
+ mergeElementProps(config, props)
107
+ ).unmount;
108
+ },
109
+ createScreen(id, configuration) {
110
+ const { container, props } = splitContainer(configuration);
111
+ return mountSolvimonElement(container, id, "screen", mergeElementProps(config, props)).unmount;
112
+ }
113
+ };
114
+ }
115
+ const REGISTERED_SCREEN_IDS = [
116
+ "customer-overview",
117
+ "checkout",
118
+ "upgrade-subscription",
119
+ "pay-invoice"
120
+ ];
121
+ const REGISTERED_COMPONENT_IDS = [
122
+ "invoice",
123
+ "invoice-details",
124
+ "invoices-list",
125
+ "payment-history",
126
+ "subscriptions-list",
127
+ "subscription-schedules",
128
+ "customer-payment-methods",
129
+ "wallet-balances",
130
+ "billing-information",
131
+ "billing-information-form",
132
+ "payment-method-form"
133
+ ];
134
+ function getRegisteredScreenIds() {
135
+ return [...REGISTERED_SCREEN_IDS];
136
+ }
137
+ function getRegisteredComponentIds() {
138
+ return [...REGISTERED_COMPONENT_IDS];
139
+ }
140
+ export {
141
+ getRegisteredScreenIds as a,
142
+ createSolvimonCore as c,
143
+ getRegisteredComponentIds as g
144
+ };
@@ -1,3 +1,3 @@
1
- export declare const SolvimonCheckout: import('vue').VueElementConstructor<unknown>;
1
+ export declare const SolvimonCheckout: import('../../../../node_modules/vue/dist/vue.d.ts').VueElementConstructor<unknown>;
2
2
  export declare const COMPONENT_NAME: string;
3
3
  export declare const defineSolvimonCheckout: () => void;