@solvimon/solvimon-web 0.1.0-alpha.4 → 0.1.0-alpha.6

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 (84) hide show
  1. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-_GGUwxEJ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DZ1XkSJ3.mjs} +4 -3
  2. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-eRGZRjmq.js +1 -0
  3. package/dist/{ContentWithAsideLayout-BQpDxDXI.js → ContentWithAsideLayout-BZJPhvLh.js} +1 -1
  4. package/dist/{ContentWithAsideLayout-BJ0Ccghd.mjs → ContentWithAsideLayout-D_T137tN.mjs} +1 -1
  5. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BvmKLc2H.js +1 -0
  6. package/dist/{useCustomerPaymentMethodOptions-CbnzYwYp.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DK6tiecN.mjs} +5 -25
  7. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DxoeHBT0.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BWXmZmGZ.mjs} +1 -1
  8. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BgcSUvE1.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DNWspHtC.js} +1 -1
  9. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CCJ-J0t4.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BSn_Zy0Y.mjs} +1 -1
  10. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BKlI9Y8m.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Cx4c8E4i.js} +1 -1
  11. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Dhoaaymm.js → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Ct26TY0a.js} +1 -1
  12. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D_JmUGZS.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-WRXecMCj.mjs} +3 -3
  13. package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-DCfpg7nK.js → PricingGroupContent.vue_vue_type_script_setup_true_lang-KnhKv07X.js} +1 -1
  14. package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-wxetfLSR.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-X7-dfeZP.mjs} +1 -1
  15. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D1Xzfc70.js +1 -0
  16. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs → Skeleton.vue_vue_type_script_setup_true_lang-DXJcL7x6.mjs} +17 -5
  17. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DcunVa40.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-AxYjVFUM.mjs} +6 -9
  18. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D9_G7CyE.js +1 -0
  19. package/dist/{component-BhrlC5ZJ.mjs → component-DI3AxwdD.mjs} +195 -128
  20. package/dist/component-yWF07boR.js +1 -0
  21. package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
  22. package/dist/components/BillingInformation/BillingInformation.es.js +3 -3
  23. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
  24. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +2 -2
  25. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
  26. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +6 -12
  27. package/dist/components/Invoice/Invoice.cjs.js +1 -1
  28. package/dist/components/Invoice/Invoice.es.js +5 -5
  29. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
  30. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +4 -4
  31. package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
  32. package/dist/components/InvoicesList/InvoicesList.es.js +2 -2
  33. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
  34. package/dist/components/PaymentHistory/PaymentHistory.es.js +4 -4
  35. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
  36. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +8 -7
  37. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
  38. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +3 -3
  39. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
  40. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +4 -4
  41. package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
  42. package/dist/components/WalletBalances/WalletBalances.es.js +2 -2
  43. package/dist/core/index.cjs.js +1 -1
  44. package/dist/core/index.es.js +1 -1
  45. package/dist/index.cjs.js +1 -1
  46. package/dist/index.es.js +1 -1
  47. package/dist/{invoices-C8nfTLon.mjs → invoices-C7BHqB0g.mjs} +1 -1
  48. package/dist/{invoices-BYnoNgSR.js → invoices-CjBHfDXp.js} +1 -1
  49. package/dist/{paymentMethods-CwzFgccc.js → paymentMethods-A-5SBmy1.js} +1 -1
  50. package/dist/{paymentMethods-BJVTwjzp.mjs → paymentMethods-BA7Kt8ti.mjs} +1 -1
  51. package/dist/{payments-Da5LVn5H.js → payments-B8W0W6wZ.js} +1 -1
  52. package/dist/{payments-AWzaFsBd.mjs → payments-NTHUh5je.mjs} +1 -1
  53. package/dist/{registry-Dll2lIBv.mjs → registry-DgRnFEVF.mjs} +2 -2
  54. package/dist/{registry-DN-NWLUK.js → registry-SwmYGFn7.js} +1 -1
  55. package/dist/screens/Checkout/Checkout.cjs.js +1 -1
  56. package/dist/screens/Checkout/Checkout.es.js +20 -19
  57. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
  58. package/dist/screens/CustomerOverview/CustomerOverview.es.js +31 -17
  59. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
  60. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +5 -5
  61. package/dist/{sprite-i5T7eZnk-C55G-dBo.js → sprite-DZD704h3-CCc3Mz1x.js} +1 -1
  62. package/dist/{sprite-i5T7eZnk-i5T7eZnk.mjs → sprite-DZD704h3-DZD704h3.mjs} +1 -1
  63. package/dist/{subscriptions-CMBt--lb.mjs → subscriptions-BEoXaAHw.mjs} +1 -1
  64. package/dist/{subscriptions-0_i6paaS.js → subscriptions-DSi93KpN.js} +1 -1
  65. package/dist/{useActionDispatchProvider-C-uVJcgJ.js → useActionDispatchProvider-DmTJ_bqE.js} +1 -1
  66. package/dist/{useActionDispatchProvider-J1S-vXqg.mjs → useActionDispatchProvider-zSXRlc2S.mjs} +1 -1
  67. package/dist/{useCustomer-DZKD_AMw.mjs → useCustomer-DkrBNt5f.mjs} +1 -1
  68. package/dist/{useCustomer-ClGwkeNn.js → useCustomer-fK-w7ifj.js} +1 -1
  69. package/dist/{useIncrementalLoading-DrgYXlRK.js → useIncrementalLoading-BK6N8sYW.js} +1 -1
  70. package/dist/{useIncrementalLoading-DbQxYZ1J.mjs → useIncrementalLoading-Bgs0mqyb.mjs} +1 -1
  71. package/dist/{useInvoiceData-ca_-ah5G.mjs → useInvoiceData-B6P2VShe.mjs} +2 -2
  72. package/dist/{useInvoiceData-BtxiSooD.js → useInvoiceData-CS7hLTea.js} +1 -1
  73. package/dist/{useInvoicesList-CbzCTBaM.mjs → useInvoicesList-23Ra-23Z.mjs} +5 -5
  74. package/dist/{useInvoicesList-BMeLWF8r.js → useInvoicesList-CIFGVsDj.js} +1 -1
  75. package/dist/{usePaymentMethods-CuhSSaz4.mjs → usePaymentMethods-B8Nft16c.mjs} +2 -2
  76. package/dist/{usePaymentMethods-CaE9qm2M.js → usePaymentMethods-BK4unvj2.js} +1 -1
  77. package/dist/{useWalletBalanceItems-Cjis6nYZ.mjs → useWalletBalanceItems-DreHuOra.mjs} +2 -2
  78. package/dist/{useWalletBalanceItems-B-6IRohi.js → useWalletBalanceItems-NlFk6jPD.js} +1 -1
  79. package/package.json +2 -2
  80. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-LQgNMjOT.js +0 -1
  81. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
  82. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-C6AOtXAD.js +0 -1
  83. package/dist/component-B5y7wYnP.js +0 -1
  84. package/dist/useCustomerPaymentMethodOptions-D_5UvLze.js +0 -1
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../registry-DN-NWLUK.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../registry-SwmYGFn7.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds;
@@ -1,4 +1,4 @@
1
- import { c, g, a } from "../registry-Dll2lIBv.mjs";
1
+ import { c, g, a } from "../registry-DgRnFEVF.mjs";
2
2
  export {
3
3
  c as createSolvimonCore,
4
4
  g as getRegisteredComponentIds,
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-DN-NWLUK.js"),e=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),s=require("./components/BillingInformation/BillingInformation.cjs.js"),t=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),r=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),m=require("./components/WalletBalances/WalletBalances.cjs.js"),l=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),S=require("./components/InvoicesList/InvoicesList.cjs.js"),c=require("./components/PaymentHistory/PaymentHistory.cjs.js"),v=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),a=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.SolvimonBillingInformation=s.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=s.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=t.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=t.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=r.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=r.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=m.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=m.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=l.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=l.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=S.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=S.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=c.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=c.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=v.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=v.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=p.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=p.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=a.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=a.defineSolvimonPaymentMethodForm;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-SwmYGFn7.js"),e=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),s=require("./components/BillingInformation/BillingInformation.cjs.js"),t=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),r=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),m=require("./components/WalletBalances/WalletBalances.cjs.js"),l=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),S=require("./components/InvoicesList/InvoicesList.cjs.js"),c=require("./components/PaymentHistory/PaymentHistory.cjs.js"),v=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),a=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.SolvimonBillingInformation=s.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=s.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=t.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=t.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=r.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=r.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=m.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=m.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=l.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=l.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=S.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=S.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=c.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=c.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=v.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=v.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=p.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=p.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=a.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=a.defineSolvimonPaymentMethodForm;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c, g, a } from "./registry-Dll2lIBv.mjs";
1
+ import { c, g, a } from "./registry-DgRnFEVF.mjs";
2
2
  import { SolvimonCheckout, defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
3
3
  import { SolvimonCustomerOverview, defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.es.js";
4
4
  import { SolvimonUpgradeSubscription, defineSolvimonUpgradeSubscription } from "./screens/UpgradeSubscription/UpgradeSubscription.es.js";
@@ -1,4 +1,4 @@
1
- import { c as createRequestService, u as useConfig, h as downloadFile, a as withPagination } from "./component-BhrlC5ZJ.mjs";
1
+ import { c as createRequestService, u as useConfig, h as downloadFile, a as withPagination } from "./component-DI3AxwdD.mjs";
2
2
  function createInvoicesService() {
3
3
  const request = createRequestService();
4
4
  const config = useConfig();
@@ -1 +1 @@
1
- const n=require("./component-B5y7wYnP.js");exports.createInvoicesService=function(){const i=n.createRequestService(),e=n.useConfig();return{getInvoice:function(n){return i({url:`${e.apiUrls.transaction}/portal/invoices/${n}`})},getInvoices:function({customerId:t,pagination:r,query:o}){const a=n.withPagination({customer_id:t,...o??{}},r),c=new URL(`${e.apiUrls.transaction}/portal/invoices`);return Object.entries(a).forEach(([n,i])=>{null!=i&&(Array.isArray(i)?i.forEach(i=>{c.searchParams.append(`${n}[]`,`${i}`)}):c.searchParams.append(n,`${i}`))}),i({url:c.toString(),isCollection:!0})},getInvoicePdf:async function(t){return i({url:`${e.apiUrls.transaction}/portal/invoices/${t}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(i=>{const e=new Blob([i],{type:"application/pdf"});n.downloadFile(e,`invoice-${t}.pdf`)})},getInvoicePreview:function({customer:n,pricingPlanSubscriptionId:t,startAt:r,customizations:o,pricing_plan_schedule_customizations:a}){return i({url:`${e.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{template_pricing_plan_subscription_id:t,...r&&{start_at:r},...o&&{pricing_plan_schedule_customizations:o},...a&&{pricing_plan_schedule_customizations:a},customer_details:{...n,reference:"preview"}}})}}};
1
+ const n=require("./component-yWF07boR.js");exports.createInvoicesService=function(){const i=n.createRequestService(),e=n.useConfig();return{getInvoice:function(n){return i({url:`${e.apiUrls.transaction}/portal/invoices/${n}`})},getInvoices:function({customerId:t,pagination:r,query:o}){const a=n.withPagination({customer_id:t,...o??{}},r),c=new URL(`${e.apiUrls.transaction}/portal/invoices`);return Object.entries(a).forEach(([n,i])=>{null!=i&&(Array.isArray(i)?i.forEach(i=>{c.searchParams.append(`${n}[]`,`${i}`)}):c.searchParams.append(n,`${i}`))}),i({url:c.toString(),isCollection:!0})},getInvoicePdf:async function(t){return i({url:`${e.apiUrls.transaction}/portal/invoices/${t}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(i=>{const e=new Blob([i],{type:"application/pdf"});n.downloadFile(e,`invoice-${t}.pdf`)})},getInvoicePreview:function({customer:n,pricingPlanSubscriptionId:t,startAt:r,customizations:o,pricing_plan_schedule_customizations:a}){return i({url:`${e.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{template_pricing_plan_subscription_id:t,...r&&{start_at:r},...o&&{pricing_plan_schedule_customizations:o},...a&&{pricing_plan_schedule_customizations:a},customer_details:{...n,reference:"preview"}}})}}};
@@ -1 +1 @@
1
- const t=require("./component-B5y7wYnP.js");exports.createPaymentMethodsService=function(){const e=t.createRequestService(),n=t.useConfig();return{getPaymentMethods:function({customerId:o,pagination:r,query:i}){const a=t.withPagination({customer_id:o,...i??{}},r),s=new URL(`${n.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}`))}),e({url:s.toString(),isCollection:!0})},getPaymentMethodOptions:function({customerId:t,country:o,subscriptionId:r,amount:i}){return e({url:`${n.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...o&&{country:o},...r&&{pricing_plan_subscription_id:r},amount:i}})},tokenizePaymentMethod:function(t){return e({url:`${n.apiUrls.config}/portal/payment-methods/tokenize`,options:{method:"POST"},data:t})}}};
1
+ const t=require("./component-yWF07boR.js");exports.createPaymentMethodsService=function(){const e=t.createRequestService(),n=t.useConfig();return{getPaymentMethods:function({customerId:o,pagination:r,query:i}){const a=t.withPagination({customer_id:o,...i??{}},r),s=new URL(`${n.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}`))}),e({url:s.toString(),isCollection:!0})},getPaymentMethodOptions:function({customerId:t,country:o,subscriptionId:r,amount:i}){return e({url:`${n.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...o&&{country:o},...r&&{pricing_plan_subscription_id:r},amount:i}})},tokenizePaymentMethod:function(t){return e({url:`${n.apiUrls.config}/portal/payment-methods/tokenize`,options:{method:"POST"},data:t})}}};
@@ -1,4 +1,4 @@
1
- import { c as createRequestService, u as useConfig, a as withPagination } from "./component-BhrlC5ZJ.mjs";
1
+ import { c as createRequestService, u as useConfig, a as withPagination } from "./component-DI3AxwdD.mjs";
2
2
  function createPaymentMethodsService() {
3
3
  const request = createRequestService();
4
4
  const config = useConfig();
@@ -1 +1 @@
1
- const t=require("./component-B5y7wYnP.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-yWF07boR.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-BhrlC5ZJ.mjs";
1
+ import { c as createRequestService, u as useConfig } from "./component-DI3AxwdD.mjs";
2
2
  const BASE_URL = "/portal/payments";
3
3
  const createPaymentsService = () => {
4
4
  const request = createRequestService();
@@ -12,9 +12,9 @@ import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPayme
12
12
  import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.es.js";
13
13
  import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
14
14
  import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
15
- import { o as getComponentName } from "./component-BhrlC5ZJ.mjs";
15
+ import { n as getComponentName } from "./component-DI3AxwdD.mjs";
16
16
  import "vue";
17
- import "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D_JmUGZS.mjs";
17
+ import "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-WRXecMCj.mjs";
18
18
  const SCREEN_DEFINERS = {
19
19
  "customer-overview": defineSolvimonCustomerOverview,
20
20
  checkout: defineSolvimonCheckout,
@@ -1 +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("./components/Invoice/Invoice.cjs.js"),r=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),s=require("./components/InvoicesList/InvoicesList.cjs.js"),c=require("./components/PaymentHistory/PaymentHistory.cjs.js"),m=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),u=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),a=require("./components/WalletBalances/WalletBalances.cjs.js"),p=require("./components/BillingInformation/BillingInformation.cjs.js"),v=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),d=require("./component-B5y7wYnP.js");require("vue"),require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Dhoaaymm.js");const f={"customer-overview":n.defineSolvimonCustomerOverview,checkout:o.defineSolvimonCheckout,"upgrade-subscription":i.defineSolvimonUpgradeSubscription},j={invoice:t.defineSolvimonInvoice,"invoice-details":r.defineSolvimonInvoiceDetails,"invoices-list":s.defineSolvimonInvoicesList,"payment-history":c.defineSolvimonPaymentHistory,"subscriptions-list":m.defineSolvimonSubscriptionsList,"subscription-schedules":u.defineSolvimonSubscriptionSchedules,"customer-payment-methods":l.defineSolvimonCustomerPaymentMethods,"wallet-balances":a.defineSolvimonWalletBalances,"billing-information":p.defineSolvimonBillingInformation,"billing-information-form":v.defineSolvimonBillingInformationForm,"payment-method-form":e.defineSolvimonPaymentMethodForm};function S(e,n){const o="screen"===n?(i=e,Object.hasOwn(f,i)&&f[e]):function(e){return Object.hasOwn(j,e)}(e)&&j[e];var i;if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys("screen"===n?f:j).join(", ")}.`);o()}function b(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);S(n,o);const r=(s=n,d.getComponentName(s));var s;const c=document.createElement(r);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 y=["customer-overview","checkout","upgrade-subscription"],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 b(i,n,"component",g(e,t)).unmount},createScreen(n,o){const{container:i,props:t}=h(o);return b(i,n,"screen",g(e,t)).unmount}}},exports.getRegisteredComponentIds=function(){return[...q]},exports.getRegisteredScreenIds=function(){return[...y]};
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("./components/Invoice/Invoice.cjs.js"),r=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),s=require("./components/InvoicesList/InvoicesList.cjs.js"),c=require("./components/PaymentHistory/PaymentHistory.cjs.js"),m=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),u=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),a=require("./components/WalletBalances/WalletBalances.cjs.js"),p=require("./components/BillingInformation/BillingInformation.cjs.js"),v=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),d=require("./component-yWF07boR.js");require("vue"),require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Ct26TY0a.js");const f={"customer-overview":n.defineSolvimonCustomerOverview,checkout:o.defineSolvimonCheckout,"upgrade-subscription":i.defineSolvimonUpgradeSubscription},j={invoice:t.defineSolvimonInvoice,"invoice-details":r.defineSolvimonInvoiceDetails,"invoices-list":s.defineSolvimonInvoicesList,"payment-history":c.defineSolvimonPaymentHistory,"subscriptions-list":m.defineSolvimonSubscriptionsList,"subscription-schedules":u.defineSolvimonSubscriptionSchedules,"customer-payment-methods":l.defineSolvimonCustomerPaymentMethods,"wallet-balances":a.defineSolvimonWalletBalances,"billing-information":p.defineSolvimonBillingInformation,"billing-information-form":v.defineSolvimonBillingInformationForm,"payment-method-form":e.defineSolvimonPaymentMethodForm};function S(e,n){const o="screen"===n?(i=e,Object.hasOwn(f,i)&&f[e]):function(e){return Object.hasOwn(j,e)}(e)&&j[e];var i;if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys("screen"===n?f:j).join(", ")}.`);o()}function b(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);S(n,o);const r=(s=n,d.getComponentName(s));var s;const c=document.createElement(r);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 y=["customer-overview","checkout","upgrade-subscription"],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 b(i,n,"component",g(e,t)).unmount},createScreen(n,o){const{container:i,props:t}=h(o);return b(i,n,"screen",g(e,t)).unmount}}},exports.getRegisteredComponentIds=function(){return[...q]},exports.getRegisteredScreenIds=function(){return[...y]};