@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.22

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 (636) hide show
  1. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js +1 -0
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs +223 -0
  3. package/dist/Amount.vue.es-DExaYBqm.js +1 -0
  4. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  5. package/dist/Avatar.vue.es-D42J_izE.js +1 -0
  6. package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
  9. package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
  10. package/dist/Button.vue.es-M_jXZda4.js +1 -0
  11. package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
  12. package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
  13. package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
  14. package/dist/Chip.vue.es-G8doKsZb.js +1 -0
  15. package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
  16. package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
  17. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  18. package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
  19. package/dist/ContextMenu.vue.es-B3Rz6Ojk.js +1 -0
  20. package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
  21. package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
  22. package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
  23. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  24. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
  25. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
  26. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
  27. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -0
  28. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  29. package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
  30. package/dist/DividerText.vue.es-D-QxT2OD.js +1 -0
  31. package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
  32. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
  33. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
  34. package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
  35. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -0
  36. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  37. package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
  38. package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
  39. package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
  40. package/dist/IconButton.vue.es-BTAkuFsm.js +1 -0
  41. package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
  42. package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
  43. package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
  44. package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
  45. package/dist/Input.vue.es-CTOrmrcB.js +1 -0
  46. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
  47. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
  48. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
  49. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
  50. package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
  51. package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
  52. package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
  53. package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
  54. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
  55. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
  56. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
  57. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
  58. package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
  59. package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
  60. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
  61. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
  62. package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
  63. package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
  64. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
  65. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
  66. package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
  67. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
  68. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
  69. package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
  70. package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
  71. package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
  72. package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
  73. package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
  74. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
  75. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
  76. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
  77. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
  78. package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
  79. package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
  80. package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
  81. package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
  82. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
  83. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
  84. package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
  85. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
  86. package/dist/Section.vue.es-Btff-cLY.js +1 -0
  87. package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
  88. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
  89. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -0
  90. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
  91. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
  92. package/dist/SubscriptionSchedules-Dc0rUnnf.mjs +4 -0
  93. package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
  94. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
  95. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
  96. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
  97. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
  98. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
  99. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
  100. package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
  101. package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
  102. package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
  103. package/dist/TrialChip.vue.es-DkBuMNr_.mjs +35 -0
  104. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  105. package/dist/accel.svg.es-DFJXdioD.js +1 -0
  106. package/dist/ach.svg.es-BYP873jU.js +1 -0
  107. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  108. package/dist/adyen-BJfC7N6f.js +1 -0
  109. package/dist/adyen-Bugab0JE.mjs +4 -0
  110. package/dist/adyen-CvsH5fok.mjs +117 -0
  111. package/dist/adyen-Druit6gz.js +1 -0
  112. package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
  113. package/dist/adyenSdk-BP2XXzeJ.js +1 -0
  114. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  115. package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
  116. package/dist/amex.svg.es-DKhW4Txt.js +1 -0
  117. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  118. package/dist/api.es-QaC926Xu.mjs +43 -0
  119. package/dist/api.es-duCDtZD9.js +1 -0
  120. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  121. package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
  122. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  123. package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
  124. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  125. package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
  126. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  127. package/dist/carnet.svg.es-DY04-F2L.js +1 -0
  128. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
  129. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  130. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  131. package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
  132. package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
  133. package/dist/cn.es-CvmLj7KH.js +1 -0
  134. package/dist/comparators.es-D8WGL-c4.mjs +153 -0
  135. package/dist/comparators.es-OGt19O9U.js +1 -0
  136. package/dist/component-5wqcK7yz.mjs +8 -0
  137. package/dist/component-B7ZDyqBp.js +1 -0
  138. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  139. package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
  140. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  141. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
  142. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  143. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
  144. package/dist/components/Invoice/Invoice.cjs +1 -1
  145. package/dist/components/Invoice/Invoice.mjs +372 -430
  146. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  147. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
  148. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  149. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
  150. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  151. package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
  152. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  153. package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
  154. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  155. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
  156. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  157. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
  158. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  159. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
  160. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  161. package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
  162. package/dist/configuration-BytDBAWs.mjs +14 -0
  163. package/dist/configuration-akTS7Wiw.js +1 -0
  164. package/dist/core/index.cjs +1 -1
  165. package/dist/core/index.mjs +89 -104
  166. package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
  167. package/dist/countryData.es-C4jHBzfo.js +1 -0
  168. package/dist/customElements-CSE7dwUr.mjs +6561 -0
  169. package/dist/customElements-Vox1PB6G.js +1211 -0
  170. package/dist/customer-5krPxZ8i.mjs +31 -0
  171. package/dist/customer-Dsq-Moea.js +1 -0
  172. package/dist/customer.es-B5ppZf0j.mjs +20 -0
  173. package/dist/customer.es-BButyYo0.js +1 -0
  174. package/dist/dana.svg.es-BDtZLpwd.js +1 -0
  175. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  176. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  177. package/dist/dankort.svg.es-CksaipXF.js +1 -0
  178. package/dist/{de-DE-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
  179. package/dist/de-DE-C3DzP1nj.js +1 -0
  180. package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
  181. package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
  182. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  183. package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
  184. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  185. package/dist/discover.svg.es-DgqWCMUM.js +1 -0
  186. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  187. package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
  188. package/dist/elo.svg.es-C-BzjuRP.js +1 -0
  189. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  190. package/dist/{en-US--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
  191. package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
  192. package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
  193. package/dist/en-US-X_pSFsNm.js +1 -0
  194. package/dist/eps.svg.es-B_85bP-W.js +1 -0
  195. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  196. package/dist/error-BHVZJGwD.mjs +13 -0
  197. package/dist/error-CmduqgVq.js +1 -0
  198. package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
  199. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
  200. package/dist/formatting.es-C72Nsrmh.js +1 -0
  201. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  202. package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
  203. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  204. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  205. package/dist/getComposedString.es-haS4bAj7.js +1 -0
  206. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
  207. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
  208. package/dist/girocard.svg.es-HSOEvDif.js +1 -0
  209. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  210. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  211. package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
  212. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  213. package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
  214. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  215. package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
  216. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
  217. package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
  218. package/dist/ideal.svg.es-Booz1IML.js +1 -0
  219. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  220. package/dist/index-BPU8tIml.mjs +828 -0
  221. package/dist/index-BPZPnOQQ.js +7 -0
  222. package/dist/index-CTwLxoOS.mjs +7250 -0
  223. package/dist/index-DwueOtPi.js +1 -0
  224. package/dist/index.cjs +1 -1
  225. package/dist/index.es-BclokHQX.js +1 -0
  226. package/dist/index.es-CXkP_k3u.mjs +345 -0
  227. package/dist/index.mjs +40 -40
  228. package/dist/invoices-DRgfpkJ6.mjs +118 -0
  229. package/dist/invoices-xOV2YaEV.js +1 -0
  230. package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
  231. package/dist/it-IT-DT3rfjOY.js +1 -0
  232. package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
  233. package/dist/it-IT-YBtHAao1.js +1 -0
  234. package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
  235. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  236. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  237. package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
  238. package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
  239. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  240. package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
  241. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  242. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  243. package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
  244. package/dist/momo.svg.es-C5aLYf_R.js +1 -0
  245. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  246. package/dist/nl-NL-C8wnyKju.js +1 -0
  247. package/dist/nl-NL-DfkhOJKc.js +1 -0
  248. package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
  249. package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
  250. package/dist/nyce.svg.es-ArAivAZW.js +1 -0
  251. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  252. package/dist/object.es-8aLDIncs.mjs +12 -0
  253. package/dist/object.es-CdriXMPs.js +1 -0
  254. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  255. package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
  256. package/dist/paymentMethods-CRDIw9lz.js +1 -0
  257. package/dist/paymentMethods-PmkHYomw.mjs +75 -0
  258. package/dist/payments-Dvqh6CGW.mjs +45 -0
  259. package/dist/payments-jAgXhdp_.js +1 -0
  260. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  261. package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
  262. package/dist/pricing-BVAld27Y.js +1 -0
  263. package/dist/pricing-DLOeiAIB.mjs +16 -0
  264. package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
  265. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
  266. package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
  267. package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
  268. package/dist/pulse.svg.es-Dit33E8S.js +1 -0
  269. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  270. package/dist/screens/Checkout/Checkout.cjs +1 -1
  271. package/dist/screens/Checkout/Checkout.mjs +3 -5237
  272. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  273. package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
  274. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  275. package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
  276. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  277. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
  278. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  279. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
  280. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  281. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
  282. package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
  283. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  284. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  285. package/dist/slots.es-T9ZJRGtG.js +1 -0
  286. package/dist/sorting.es-DCihKqD2.mjs +77 -0
  287. package/dist/sorting.es-DQsjKr8A.js +1 -0
  288. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  289. package/dist/star.svg.es-D2JncY7b.js +1 -0
  290. package/dist/subscription-CrVOr5MF.mjs +69 -0
  291. package/dist/subscription-ZA62t4E9.js +1 -0
  292. package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
  293. package/dist/subscriptions-fJcj88X9.js +1 -0
  294. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  295. package/dist/trustly.svg.es-GJByiFAs.js +1 -0
  296. package/dist/twint.svg.es-BJ2f48og.js +1 -0
  297. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  298. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  299. package/dist/typeGuards.es-DS3vZaJn.js +1 -0
  300. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
  301. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
  302. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
  303. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
  304. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
  305. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
  306. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
  307. package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
  308. package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
  309. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
  310. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
  311. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
  312. package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
  313. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  314. package/dist/url-BNKStNY9.js +1 -0
  315. package/dist/url-DwiuKYpu.mjs +20 -0
  316. package/dist/useActionDispatchProvider-B8-oycQk.mjs +11 -0
  317. package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
  318. package/dist/useCustomer-CP8eWUZV.mjs +20 -0
  319. package/dist/useCustomer-DSx-wN-6.js +1 -0
  320. package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
  321. package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
  322. package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
  323. package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
  324. package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
  325. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
  326. package/dist/useInvoiceData-CRRPdXc6.js +1 -0
  327. package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
  328. package/dist/useInvoicesList-DIfQcvER.js +1 -0
  329. package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
  330. package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
  331. package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
  332. package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
  333. package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
  334. package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
  335. package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
  336. package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
  337. package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
  338. package/dist/usePayments-D9Eo-uBk.js +1 -0
  339. package/dist/usePayments-Gx9kBvNB.mjs +318 -0
  340. package/dist/usePortal-3VCZwSUE.mjs +11 -0
  341. package/dist/usePortal-DsebXdhx.js +1 -0
  342. package/dist/useService-Bh47bllz.mjs +50 -0
  343. package/dist/useService-H7BjLg8P.js +1 -0
  344. package/dist/useSubscription-DnL1wVh1.mjs +210 -0
  345. package/dist/useSubscription-K_gP9TeX.js +1 -0
  346. package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
  347. package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -0
  348. package/dist/useViewport-BgdA2PPt.mjs +29 -0
  349. package/dist/useViewport-hPRVDWCm.js +1 -0
  350. package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
  351. package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
  352. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  353. package/dist/visa.svg.es-NY3BHhda.js +1 -0
  354. package/dist/vpay.svg.es-VViQi42w.js +1 -0
  355. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  356. package/dist/wallets.es-CNIMW5ay.js +1 -0
  357. package/dist/wallets.es-eH2C2ygn.mjs +102 -0
  358. package/dist/zip.svg.es-C9S_F31W.js +1 -0
  359. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  360. package/package.json +3 -3
  361. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
  362. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
  363. package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
  364. package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
  365. package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
  366. package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
  367. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
  368. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
  369. package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
  370. package/dist/Button.vue.es-O8mNivLL.js +0 -1
  371. package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
  372. package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
  373. package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
  374. package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
  375. package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
  376. package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
  377. package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
  378. package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
  379. package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
  380. package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
  381. package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
  382. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
  383. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
  384. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
  385. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
  386. package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
  387. package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
  388. package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
  389. package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
  390. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
  391. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
  392. package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
  393. package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
  394. package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
  395. package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
  396. package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
  397. package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
  398. package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
  399. package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
  400. package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
  401. package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
  402. package/dist/Input.vue.es-DqKJhFTr.js +0 -1
  403. package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
  404. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
  405. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
  406. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
  407. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
  408. package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
  409. package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
  410. package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
  411. package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
  412. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
  413. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
  414. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
  415. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
  416. package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
  417. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
  418. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
  419. package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
  420. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
  421. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
  422. package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
  423. package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
  424. package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
  425. package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
  426. package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
  427. package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
  428. package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
  429. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
  430. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
  431. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
  432. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
  433. package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
  434. package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
  435. package/dist/Section.vue.es-CAJvEDn6.js +0 -1
  436. package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
  437. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
  438. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
  439. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
  440. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
  441. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
  442. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
  443. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
  444. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
  445. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
  446. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
  447. package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
  448. package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
  449. package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
  450. package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
  451. package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
  452. package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
  453. package/dist/ach.svg.es-B4tn0_IV.js +0 -1
  454. package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
  455. package/dist/adyen-51SvcyqV.mjs +0 -4
  456. package/dist/adyen-BXi_D9TQ.mjs +0 -123
  457. package/dist/adyen-DZsyEXkw.js +0 -1
  458. package/dist/adyen-VS2sDW0m.js +0 -1
  459. package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
  460. package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
  461. package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
  462. package/dist/amex.svg.es-Bn9e31C3.js +0 -1
  463. package/dist/api.es-C5pe8LUl.mjs +0 -62
  464. package/dist/api.es-Czekkp_X.js +0 -1
  465. package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
  466. package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
  467. package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
  468. package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
  469. package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
  470. package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
  471. package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
  472. package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
  473. package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
  474. package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
  475. package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
  476. package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
  477. package/dist/cn.es-DxSeYcoP.js +0 -1
  478. package/dist/comparators.es-9VsCB-JI.mjs +0 -175
  479. package/dist/comparators.es-wrKHduVq.js +0 -1
  480. package/dist/component-BG6DmXcy.mjs +0 -9
  481. package/dist/component-hDuDTBt5.js +0 -1
  482. package/dist/configuration-BjYwV4_B.js +0 -1
  483. package/dist/configuration-CD8cOXAJ.mjs +0 -15
  484. package/dist/countryData.es-D3MFzU92.js +0 -1
  485. package/dist/customElements-B-89a5oH.mjs +0 -6810
  486. package/dist/customElements-DD7bpqkx.js +0 -1
  487. package/dist/customer-DozNwS_a.js +0 -1
  488. package/dist/customer-Dzj1g9lV.mjs +0 -32
  489. package/dist/customer.es-C_vSWcVA.mjs +0 -30
  490. package/dist/customer.es-D42Md24r.js +0 -1
  491. package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
  492. package/dist/dana.svg.es-DKZaseoJ.js +0 -1
  493. package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
  494. package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
  495. package/dist/de-DE-BvHD68Ay.js +0 -1
  496. package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
  497. package/dist/diners.svg.es-SydF_H-Z.js +0 -1
  498. package/dist/discover.svg.es-B8vgzVNG.js +0 -1
  499. package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
  500. package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
  501. package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
  502. package/dist/elo.svg.es-CTOm1rvj.js +0 -1
  503. package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
  504. package/dist/en-US-dqfKx3GS.js +0 -1
  505. package/dist/eps.svg.es-CApyGjyU.js +0 -1
  506. package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
  507. package/dist/error-Cg-i7gGl.js +0 -1
  508. package/dist/error-DY_I2hPx.mjs +0 -13
  509. package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
  510. package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
  511. package/dist/formatting.es-DBtYnvI5.js +0 -1
  512. package/dist/formatting.es-eYgXv_AK.mjs +0 -70
  513. package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
  514. package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
  515. package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
  516. package/dist/getComposedString.es-DvSNX-_z.js +0 -1
  517. package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
  518. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
  519. package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
  520. package/dist/girocard.svg.es-tVgtT23w.js +0 -1
  521. package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
  522. package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
  523. package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
  524. package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
  525. package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
  526. package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
  527. package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
  528. package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
  529. package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
  530. package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
  531. package/dist/index-Cai7laNY.mjs +0 -1069
  532. package/dist/index-DIFK3mcJ.js +0 -6
  533. package/dist/index-DyvRdSR7.mjs +0 -9673
  534. package/dist/index-IZaUTAsE.js +0 -1
  535. package/dist/index.es-2JWHHSgP.js +0 -1
  536. package/dist/index.es-D5xOw_SJ.mjs +0 -542
  537. package/dist/invoices-1oYkdQQV.mjs +0 -121
  538. package/dist/invoices-BAoh6X2a.js +0 -1
  539. package/dist/it-IT-CEP3oeWs.js +0 -1
  540. package/dist/it-IT-aPQY57ht.js +0 -1
  541. package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
  542. package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
  543. package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
  544. package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
  545. package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
  546. package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
  547. package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
  548. package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
  549. package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
  550. package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
  551. package/dist/momo.svg.es-BXTQlQRy.js +0 -1
  552. package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
  553. package/dist/nl-NL-e_vf6OuT.js +0 -1
  554. package/dist/nl-NL-zRUAuEHg.js +0 -1
  555. package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
  556. package/dist/nyce.svg.es-DM6esO47.js +0 -1
  557. package/dist/object.es-DFXiU9p3.js +0 -1
  558. package/dist/object.es-jvvnR8Kr.mjs +0 -12
  559. package/dist/open-banking.svg.es-DUM360xB.js +0 -1
  560. package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
  561. package/dist/paymentMethods-CZ3ydybI.js +0 -1
  562. package/dist/paymentMethods-DIV78w0O.mjs +0 -78
  563. package/dist/payments--lkjiwCt.js +0 -1
  564. package/dist/payments-Cvqdrprv.mjs +0 -47
  565. package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
  566. package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
  567. package/dist/pricing-3W7XLwL6.js +0 -1
  568. package/dist/pricing-CJxS2hr2.mjs +0 -17
  569. package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
  570. package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
  571. package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
  572. package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
  573. package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
  574. package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
  575. package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
  576. package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
  577. package/dist/slots.es-BpwYO3A3.mjs +0 -18
  578. package/dist/slots.es-Dq1PTUOv.js +0 -1
  579. package/dist/sorting.es-CjTrRfSW.mjs +0 -105
  580. package/dist/sorting.es-RyvcgbSL.js +0 -1
  581. package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
  582. package/dist/star.svg.es-Q50IzqXr.js +0 -1
  583. package/dist/subscription-C41lG-rH.mjs +0 -89
  584. package/dist/subscription-b0OPx8Du.js +0 -1
  585. package/dist/subscriptions-300o4ae0.js +0 -1
  586. package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
  587. package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
  588. package/dist/trustly.svg.es-CHojqNqm.js +0 -1
  589. package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
  590. package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
  591. package/dist/typeGuards.es-C4nR5FkL.js +0 -1
  592. package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
  593. package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
  594. package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
  595. package/dist/url-CjULBkjW.js +0 -1
  596. package/dist/url-CvNDq4wp.mjs +0 -22
  597. package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
  598. package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
  599. package/dist/useCustomer-DLHOs4BR.js +0 -1
  600. package/dist/useCustomer-EDhref7T.mjs +0 -25
  601. package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
  602. package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
  603. package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
  604. package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
  605. package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
  606. package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
  607. package/dist/useInvoiceData-BSjVeJrI.js +0 -1
  608. package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
  609. package/dist/useInvoicesList-BRDZqsaB.js +0 -1
  610. package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
  611. package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
  612. package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
  613. package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
  614. package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
  615. package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
  616. package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
  617. package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
  618. package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
  619. package/dist/usePayments-CANj0QVc.js +0 -1
  620. package/dist/usePayments-CaT1CBzE.mjs +0 -362
  621. package/dist/usePortal-BjGoSeLy.js +0 -1
  622. package/dist/usePortal-CMPQ0M9R.mjs +0 -12
  623. package/dist/useService-D73FNBjT.js +0 -1
  624. package/dist/useService-W3Kxems4.mjs +0 -72
  625. package/dist/useSubscription-D1UKnZAx.mjs +0 -250
  626. package/dist/useSubscription-DZfRHbL7.js +0 -1
  627. package/dist/useViewport-Bu0cyeSi.mjs +0 -38
  628. package/dist/useViewport-CKRY1CKR.js +0 -1
  629. package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
  630. package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
  631. package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
  632. package/dist/visa.svg.es-D6sc4YTE.js +0 -1
  633. package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
  634. package/dist/vpay.svg.es-CLGTyB09.js +0 -1
  635. package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
  636. package/dist/zip.svg.es-BRsgmur-.js +0 -1
@@ -0,0 +1 @@
1
+ const t=require("vue");function M(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var a=1;a<arguments.length;a++){var n=arguments[a]!=null?arguments[a]:{};a%2?M(Object(n),!0).forEach(function(r){fe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fe(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function G(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(a.includes(r)||(n[r]=t.unref(e[r])),n),{})}function _(e){return typeof e=="function"}function $e(e){return t.isReactive(e)||t.isReadonly(e)}function X(e,a,n){let r=e;const s=a.split(".");for(let u=0;u<s.length;u++){if(!r[s[u]])return n;r=r[s[u]]}return r}function B(e,a,n){return t.computed(()=>e.some(r=>X(a,r,{[n]:!1})[n]))}function U(e,a,n){return t.computed(()=>e.reduce((r,s)=>{const u=X(a,s,{[n]:!1})[n]||[];return r.concat(u)},[]))}function Y(e,a,n,r){return e.call(r,t.unref(a),t.unref(n),r)}function ee(e){return e.$valid!==void 0?!e.$valid:!e}function pe(e,a,n,r,s,u,g){let{$lazy:i,$rewardEarly:$}=s,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],p=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,v=arguments.length>10?arguments[10]:void 0;const m=t.ref(!!r.value),o=t.ref(0);n.value=!1;const c=t.watch([a,r].concat(l,v),()=>{if(i&&!r.value||$&&!d.value&&!n.value)return;let f;try{f=Y(e,a,p,g)}catch(h){f=Promise.reject(h)}o.value++,n.value=!!o.value,m.value=!1,Promise.resolve(f).then(h=>{o.value--,n.value=!!o.value,u.value=h,m.value=ee(h)}).catch(h=>{o.value--,n.value=!!o.value,u.value=h,m.value=!0})},{immediate:!0,deep:typeof a=="object"});return{$invalid:m,$unwatch:c}}function ge(e,a,n,r,s,u,g,i){let{$lazy:$,$rewardEarly:l}=r;const p=()=>({}),d=t.computed(()=>{if($&&!n.value||l&&!i.value)return!1;let v=!0;try{const m=Y(e,a,g,u);s.value=m,v=ee(m)}catch(m){s.value=m}return v});return{$unwatch:p,$invalid:d}}function me(e,a,n,r,s,u,g,i,$,l,p){const d=t.ref(!1),v=e.$params||{},m=t.ref(null);let o,c;e.$async?{$invalid:o,$unwatch:c}=pe(e.$validator,a,d,n,r,m,s,e.$watchTargets,$,l,p):{$invalid:o,$unwatch:c}=ge(e.$validator,a,n,r,m,s,$,l);const f=e.$message;return{$message:_(f)?t.computed(()=>f(G({$pending:d,$invalid:o,$params:G(v),$model:a,$response:m,$validator:u,$propertyPath:i,$property:g}))):f||"",$params:v,$pending:d,$invalid:o,$response:m,$unwatch:c}}function ve(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const a=t.unref(e),n=Object.keys(a),r={},s={},u={};let g=null;return n.forEach(i=>{const $=a[i];switch(!0){case _($.$validator):r[i]=$;break;case _($):r[i]={$validator:$};break;case i==="$validationGroups":g=$;break;case i.startsWith("$"):u[i]=$;break;default:s[i]=$}}),{rules:r,nestedValidators:s,config:u,validationGroups:g}}const he="__root";function ye(e,a,n,r,s,u,g,i,$){const l=Object.keys(e),p=r.get(s,e),d=t.ref(!1),v=t.ref(!1),m=t.ref(0);if(p){if(!p.$partial)return p;p.$unwatch(),d.value=p.$dirty.value}const o={$dirty:d,$path:s,$touch:()=>{d.value||(d.value=!0)},$reset:()=>{d.value&&(d.value=!1)},$commit:()=>{}};return l.length?(l.forEach(c=>{o[c]=me(e[c],a,o.$dirty,u,g,c,n,s,$,v,m)}),o.$externalResults=t.computed(()=>i.value?[].concat(i.value).map((c,f)=>({$propertyPath:s,$property:n,$validator:"$externalResults",$uid:`${s}-externalResult-${f}`,$message:c,$params:{},$response:null,$pending:!1})):[]),o.$invalid=t.computed(()=>{const c=l.some(f=>t.unref(o[f].$invalid));return v.value=c,!!o.$externalResults.value.length||c}),o.$pending=t.computed(()=>l.some(c=>t.unref(o[c].$pending))),o.$error=t.computed(()=>o.$dirty.value?o.$pending.value||o.$invalid.value:!1),o.$silentErrors=t.computed(()=>l.filter(c=>t.unref(o[c].$invalid)).map(c=>{const f=o[c];return t.reactive({$propertyPath:s,$property:n,$validator:c,$uid:`${s}-${c}`,$message:f.$message,$params:f.$params,$response:f.$response,$pending:f.$pending})}).concat(o.$externalResults.value)),o.$errors=t.computed(()=>o.$dirty.value?o.$silentErrors.value:[]),o.$unwatch=()=>l.forEach(c=>{o[c].$unwatch()}),o.$commit=()=>{v.value=!0,m.value=Date.now()},r.set(s,e,o),o):(p&&r.set(s,e,o),o)}function be(e,a,n,r,s,u,g){const i=Object.keys(e);return i.length?i.reduce(($,l)=>($[l]=N({validations:e[l],state:a,key:l,parentKey:n,resultsCache:r,globalConfig:s,instance:u,externalResults:g}),$),{}):{}}function we(e,a,n){const r=t.computed(()=>[a,n].filter(o=>o).reduce((o,c)=>o.concat(Object.values(t.unref(c))),[])),s=t.computed({get(){return e.$dirty.value||(r.value.length?r.value.every(o=>o.$dirty):!1)},set(o){e.$dirty.value=o}}),u=t.computed(()=>{const o=t.unref(e.$silentErrors)||[],c=r.value.filter(f=>(t.unref(f).$silentErrors||[]).length).reduce((f,h)=>f.concat(...h.$silentErrors),[]);return o.concat(c)}),g=t.computed(()=>{const o=t.unref(e.$errors)||[],c=r.value.filter(f=>(t.unref(f).$errors||[]).length).reduce((f,h)=>f.concat(...h.$errors),[]);return o.concat(c)}),i=t.computed(()=>r.value.some(o=>o.$invalid)||t.unref(e.$invalid)||!1),$=t.computed(()=>r.value.some(o=>t.unref(o.$pending))||t.unref(e.$pending)||!1),l=t.computed(()=>r.value.some(o=>o.$dirty)||r.value.some(o=>o.$anyDirty)||s.value),p=t.computed(()=>s.value?$.value||i.value:!1),d=()=>{e.$touch(),r.value.forEach(o=>{o.$touch()})},v=()=>{e.$commit(),r.value.forEach(o=>{o.$commit()})},m=()=>{e.$reset(),r.value.forEach(o=>{o.$reset()})};return r.value.length&&r.value.every(o=>o.$dirty)&&d(),{$dirty:s,$errors:g,$invalid:i,$anyDirty:l,$error:p,$pending:$,$touch:d,$reset:m,$silentErrors:u,$commit:v}}function N(e){let{validations:a,state:n,key:r,parentKey:s,childResults:u,resultsCache:g,globalConfig:i={},instance:$,externalResults:l}=e;const p=s?`${s}.${r}`:r,{rules:d,nestedValidators:v,config:m,validationGroups:o}=ve(a),c=R(R({},i),m),f=r?t.computed(()=>{const y=t.unref(n);return y?t.unref(y[r]):void 0}):n,h=R({},t.unref(l)||{}),C=t.computed(()=>{const y=t.unref(l);return r?y?t.unref(y[r]):void 0:y}),k=ye(d,f,r,g,p,c,$,C,n),b=be(v,f,p,g,c,$,C),j={};o&&Object.entries(o).forEach(y=>{let[E,O]=y;j[E]={$invalid:B(O,b,"$invalid"),$error:B(O,b,"$error"),$pending:B(O,b,"$pending"),$errors:U(O,b,"$errors"),$silentErrors:U(O,b,"$silentErrors")}});const{$dirty:w,$errors:V,$invalid:I,$anyDirty:ae,$error:oe,$pending:L,$touch:D,$reset:se,$silentErrors:ue,$commit:F}=we(k,b,u),le=r?t.computed({get:()=>t.unref(f),set:y=>{w.value=!0;const E=t.unref(n),O=t.unref(l);O&&(O[r]=h[r]),t.isRef(E[r])?E[r].value=y:E[r]=y}}):null;r&&c.$autoDirty&&t.watch(f,()=>{w.value||D();const y=t.unref(l);y&&(y[r]=h[r])},{flush:"sync"});async function ie(){return D(),c.$rewardEarly&&(F(),await t.nextTick()),await t.nextTick(),new Promise(y=>{if(!L.value)return y(!I.value);const E=t.watch(L,()=>{y(!I.value),E()})})}function ce(y){return(u.value||{})[y]}function de(){t.isRef(l)?l.value=h:Object.keys(h).length===0?Object.keys(l).forEach(y=>{delete l[y]}):Object.assign(l,h)}return t.reactive(R(R(R({},k),{},{$model:le,$dirty:w,$error:oe,$errors:V,$invalid:I,$anyDirty:ae,$pending:L,$touch:D,$reset:se,$path:p||he,$silentErrors:ue,$validate:ie,$commit:F},u&&{$getResultsForChild:ce,$clearExternalResults:de,$validationGroups:j}),b))}class Oe{constructor(){this.storage=new Map}set(a,n,r){this.storage.set(a,{rules:n,result:r})}checkRulesValidity(a,n,r){const s=Object.keys(r),u=Object.keys(n);return u.length!==s.length||!u.every(i=>s.includes(i))?!1:u.every(i=>n[i].$params?Object.keys(n[i].$params).every($=>t.unref(r[i].$params[$])===t.unref(n[i].$params[$])):!0)}get(a,n){const r=this.storage.get(a);if(!r)return;const{rules:s,result:u}=r,g=this.checkRulesValidity(a,n,s),i=u.$unwatch?u.$unwatch:()=>({});return g?u:{$dirty:u.$dirty,$partial:!0,$unwatch:i}}}const z={COLLECT_ALL:!0,COLLECT_NONE:!1},W=Symbol("vuelidate#injectChildResults"),Z=Symbol("vuelidate#removeChildResults");function Re(e){let{$scope:a,instance:n}=e;const r={},s=t.ref([]),u=t.computed(()=>s.value.reduce((p,d)=>(p[d]=t.unref(r[d]),p),{}));function g(p,d){let{$registerAs:v,$scope:m,$stopPropagation:o}=d;o||a===z.COLLECT_NONE||m===z.COLLECT_NONE||a!==z.COLLECT_ALL&&a!==m||(r[v]=p,s.value.push(v))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],g);function i(p){s.value=s.value.filter(d=>d!==p),delete r[p]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],i);const $=t.inject(W,[]);t.provide(W,n.__vuelidateInjectInstances);const l=t.inject(Z,[]);return t.provide(Z,n.__vuelidateRemoveInstances),{childResults:u,sendValidationResultsToParent:$,removeValidationResultsFromParent:l}}function te(e){return new Proxy(e,{get(a,n){return typeof a[n]=="object"?te(a[n]):t.computed(()=>a[n])}})}let H=0;function K(e,a){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,a=void 0);let{$registerAs:s,$scope:u=z.COLLECT_ALL,$stopPropagation:g,$externalResults:i,currentVueInstance:$}=r;const l=$||((n=t.getCurrentInstance())===null||n===void 0?void 0:n.proxy),p=l?l.$options:{};s||(H+=1,s=`_vuelidate_${H}`);const d=t.ref({}),v=new Oe,{childResults:m,sendValidationResultsToParent:o,removeValidationResultsFromParent:c}=l?Re({$scope:u,instance:l}):{childResults:t.ref({})};if(!e&&p.validations){const f=p.validations;a=t.ref({}),t.onBeforeMount(()=>{a.value=l,t.watch(()=>_(f)?f.call(a.value,new te(a.value)):f,h=>{d.value=N({validations:h,state:a,childResults:m,resultsCache:v,globalConfig:r,instance:l,externalResults:i||l.vuelidateExternalResults})},{immediate:!0})}),r=p.validationsConfig||r}else{const f=t.isRef(e)||$e(e)?e:t.reactive(e||{});t.watch(f,h=>{d.value=N({validations:h,state:a,childResults:m,resultsCache:v,globalConfig:r,instance:l??{},externalResults:i})},{immediate:!0})}return l&&(o.forEach(f=>f(d,{$registerAs:s,$scope:u,$stopPropagation:g})),t.onBeforeUnmount(()=>c.forEach(f=>f(s)))),t.computed(()=>R(R({},t.unref(d.value)),m.value))}function xe(e,a,n){return e&&a?K(e,a,{$autoDirty:!0,...n}):K({$autoDirty:!0,...e})}const je={"w-fit":!0,relative:!0,"inline-flex":!0,"items-center":!0},Ee="grow text-sm font-medium text-default",Ce={xl:"w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",lg:"w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",md:"w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",sm:"w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",xs:"w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"},Pe={red:"peer-focus:ring-red-300 peer-checked:bg-red-600",green:"peer-focus:ring-green-300 peer-checked:bg-green-600",purple:"peer-focus:ring-purple-300 peer-checked:bg-purple-600",yellow:"peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",teal:"peer-focus:ring-teal-300 peer-checked:bg-teal-600",orange:"peer-focus:ring-orange-300 peer-checked:bg-orange-500"},Ve=e=>{const a=t.computed(()=>{var g,i;return{...je,"cursor-pointer":!((g=e.disabled)!=null&&g.value),"cursor-default":!!((i=e.disabled)!=null&&i.value)}}),n=t.computed(()=>{var g,i;return{'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all':!0,"bg-gray-200 peer-checked:bg-primary-600 after:bg-white":!((g=e.disabled)!=null&&g.value),"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200":(i=e.disabled)==null?void 0:i.value}}),r=t.computed(()=>Ce[e.size.value]),s=t.computed(()=>Pe[e.color.value]),u=t.computed(()=>Ee);return{labelClasses:a,toggleSize:r,toggleClasses:n,toggleColor:s,toggleBallClasses:u}},ze=["disabled"],_e=t.defineComponent({__name:"Toggle",props:{modelValue:{type:Boolean,default:!1},labelPosition:{default:"after"},size:{default:"md"},disabled:{type:Boolean,default:!1},color:{default:""},hasBackground:{type:Boolean,default:!1},noSpacing:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const n=e,r=a,s=t.computed({get(){return n.modelValue},set(p){r("update:modelValue",p)}}),{labelClasses:u,toggleSize:g,toggleClasses:i,toggleColor:$,toggleBallClasses:l}=Ve(t.toRefs(n));return(p,d)=>(t.openBlock(),t.createElementBlock("label",{class:t.normalizeClass(["inline-flex items-center gap-1.5",{"flex-row-reverse":e.labelPosition==="before","rounded border-l-4 border-gray-200 bg-gray-50":e.hasBackground,"p-2":!e.noSpacing}]),onClick:d[1]||(d[1]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(u))},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=v=>s.value=v),disabled:e.disabled,class:"peer sr-only",type:"checkbox"},null,8,ze),[[t.vModelCheckbox,s.value]]),t.createElementVNode("span",{class:t.normalizeClass([t.unref(i),t.unref(g),t.unref($)])},null,2)],2),p.$slots["inline-label"]?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(t.unref(l))},[t.renderSlot(p.$slots,"inline-label")],2)):t.createCommentVNode("",!0)],2))}});function J(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var a=1;a<arguments.length;a++){var n=arguments[a]!=null?arguments[a]:{};a%2?J(Object(n),!0).forEach(function(r){Ae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ae(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function A(e){return typeof e=="function"}function q(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function S(e){return A(e.$validator)?P({},e):{$validator:e}}function re(e){return typeof e=="object"?e.$valid:e}function ne(e){return e.$validator||e}function Se(e,a){if(!q(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!q(a)&&!A(a))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=S(a);return n.$params=P(P({},n.$params||{}),e),n}function Te(e,a){if(!A(e)&&typeof t.unref(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!q(a)&&!A(a))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=S(a);return n.$message=e,n}function ke(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=S(e);return P(P({},n),{},{$async:!0,$watchTargets:a})}function Ie(e){return{$validator(a){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return t.unref(a).reduce((u,g,i)=>{const $=Object.entries(g).reduce((l,p)=>{let[d,v]=p;const m=e[d]||{},o=Object.entries(m).reduce((c,f)=>{let[h,C]=f;const b=ne(C).call(this,v,g,i,...r),j=re(b);if(c.$data[h]=b,c.$data.$invalid=!j||!!c.$data.$invalid,c.$data.$error=c.$data.$invalid,!j){let w=C.$message||"";const V=C.$params||{};typeof w=="function"&&(w=w({$pending:!1,$invalid:!j,$params:V,$model:v,$response:b})),c.$errors.push({$property:d,$message:w,$params:V,$response:b,$model:v,$pending:!1,$validator:h})}return{$valid:c.$valid&&j,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:[]});return l.$data[d]=o.$data,l.$errors[d]=o.$errors,{$valid:l.$valid&&o.$valid,$data:l.$data,$errors:l.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:u.$valid&&$.$valid,$data:u.$data.concat($.$data),$errors:u.$errors.concat($.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:a=>{let{$response:n}=a;return n?n.$errors.map(r=>Object.values(r).map(s=>s.map(u=>u.$message)).reduce((s,u)=>s.concat(u),[])):[]}}}const T=e=>{if(e=t.unref(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let a in e)return!0;return!1}return!!String(e).length},Le=e=>(e=t.unref(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function x(){for(var e=arguments.length,a=new Array(e),n=0;n<e;n++)a[n]=arguments[n];return r=>(r=t.unref(r),!T(r)||a.every(s=>(s.lastIndex=0,s.test(r))))}var De=Object.freeze({__proto__:null,forEach:Ie,len:Le,normalizeValidatorObject:S,regex:x,req:T,unwrap:t.unref,unwrapNormalizedValidator:ne,unwrapValidatorResponse:re,withAsync:ke,withMessage:Te,withParams:Se});x(/^[a-zA-Z]*$/);x(/^[a-zA-Z0-9]*$/);x(/^\d*(\.\d+)?$/);const Be=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var Ne=x(Be),qe={$validator:Ne,$message:"Value is not a valid email address",$params:{type:"email"}};function Fe(e){return typeof e=="string"&&(e=e.trim()),T(e)}var Me={$validator:Fe,$message:"Value is required",$params:{type:"required"}};const Q=(e,a)=>e?T(typeof a=="string"?a.trim():a):!0;function Ge(e){return function(a,n){if(typeof e!="function")return Q(t.unref(e),a);const r=e.call(this,a,n);return Q(r,a)}}function Ue(e){return{$validator:Ge(e),$message:"The value is required",$params:{type:"requiredIf",prop:e}}}const We=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;x(We);x(/(^[0-9]*$)|(^-[0-9]+$)/);x(/^[-]?\d*(\.\d+)?$/);exports._sfc_main=_e;exports.common=De;exports.email=qe;exports.required=Me;exports.requiredIf=Ue;exports.useValidation=xe;
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core/index.cjs"),o=require("./screens/Checkout/Checkout.cjs"),n=require("./screens/CustomerOverview/CustomerOverview.cjs"),i=require("./screens/SubscriptionManagement/SubscriptionManagement.cjs"),t=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs"),s=require("./screens/PayInvoice/PayInvoice.cjs"),r=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs"),m=require("./components/BillingInformation/BillingInformation.cjs"),c=require("./components/BillingInformationForm/BillingInformationForm.cjs"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs"),a=require("./components/WalletBalances/WalletBalances.cjs"),d=require("./components/Invoice/Invoice.cjs"),v=require("./components/InvoiceDetails/InvoiceDetails.cjs"),S=require("./components/InvoiceHeader/InvoiceHeader.cjs"),p=require("./components/InvoicesList/InvoicesList.cjs"),u=require("./components/PaymentHistory/PaymentHistory.cjs"),f=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs"),I=require("./components/SubscriptionsList/SubscriptionsList.cjs"),g=require("./components/PaymentMethodForm/PaymentMethodForm.cjs");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds,exports.defineSolvimonCheckout=o.defineSolvimonCheckout,exports.defineSolvimonCustomerOverview=n.defineSolvimonCustomerOverview,exports.defineSolvimonSubscriptionManagement=i.defineSolvimonSubscriptionManagement,exports.defineSolvimonSubscriptionDetails=t.defineSolvimonSubscriptionDetails,exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice,exports.defineSolvimonPaymentMethodsManagement=r.defineSolvimonPaymentMethodsManagement,exports.defineSolvimonBillingInformation=m.defineSolvimonBillingInformation,exports.defineSolvimonBillingInformationForm=c.defineSolvimonBillingInformationForm,exports.defineSolvimonCustomerPaymentMethods=l.defineSolvimonCustomerPaymentMethods,exports.defineSolvimonWalletBalances=a.defineSolvimonWalletBalances,exports.defineSolvimonInvoice=d.defineSolvimonInvoice,exports.defineSolvimonInvoiceDetails=v.defineSolvimonInvoiceDetails,exports.defineSolvimonInvoiceHeader=S.defineSolvimonInvoiceHeader,exports.defineSolvimonInvoicesList=p.defineSolvimonInvoicesList,exports.defineSolvimonPaymentHistory=u.defineSolvimonPaymentHistory,exports.defineSolvimonSubscriptionSchedules=f.defineSolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionsList=I.defineSolvimonSubscriptionsList,exports.defineSolvimonPaymentMethodForm=g.defineSolvimonPaymentMethodForm;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core/index.cjs"),n=require("./Checkout.entry.ce-C52gkrNZ.js"),o=require("./screens/CustomerOverview/CustomerOverview.cjs"),i=require("./screens/SubscriptionManagement/SubscriptionManagement.cjs"),t=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs"),s=require("./screens/PayInvoice/PayInvoice.cjs"),r=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs"),m=require("./components/BillingInformation/BillingInformation.cjs"),c=require("./components/BillingInformationForm/BillingInformationForm.cjs"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs"),a=require("./components/WalletBalances/WalletBalances.cjs"),v=require("./components/Invoice/Invoice.cjs"),d=require("./components/InvoiceDetails/InvoiceDetails.cjs"),S=require("./components/InvoiceHeader/InvoiceHeader.cjs"),u=require("./components/InvoicesList/InvoicesList.cjs"),f=require("./components/PaymentHistory/PaymentHistory.cjs"),_=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs"),I=require("./components/SubscriptionsList/SubscriptionsList.cjs"),p=require("./components/PaymentMethodForm/PaymentMethodForm.cjs");exports.createSolvimonCore=e.createSolvimonCore;exports.getRegisteredComponentIds=e.getRegisteredComponentIds;exports.getRegisteredScreenIds=e.getRegisteredScreenIds;exports.defineSolvimonCheckout=n.defineSolvimonCheckout;exports.defineSolvimonCustomerOverview=o.defineSolvimonCustomerOverview;exports.defineSolvimonSubscriptionManagement=i.defineSolvimonSubscriptionManagement;exports.defineSolvimonSubscriptionDetails=t.defineSolvimonSubscriptionDetails;exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice;exports.defineSolvimonPaymentMethodsManagement=r.defineSolvimonPaymentMethodsManagement;exports.defineSolvimonBillingInformation=m.defineSolvimonBillingInformation;exports.defineSolvimonBillingInformationForm=c.defineSolvimonBillingInformationForm;exports.defineSolvimonCustomerPaymentMethods=l.defineSolvimonCustomerPaymentMethods;exports.defineSolvimonWalletBalances=a.defineSolvimonWalletBalances;exports.defineSolvimonInvoice=v.defineSolvimonInvoice;exports.defineSolvimonInvoiceDetails=d.defineSolvimonInvoiceDetails;exports.defineSolvimonInvoiceHeader=S.defineSolvimonInvoiceHeader;exports.defineSolvimonInvoicesList=u.defineSolvimonInvoicesList;exports.defineSolvimonPaymentHistory=f.defineSolvimonPaymentHistory;exports.defineSolvimonSubscriptionSchedules=_.defineSolvimonSubscriptionSchedules;exports.defineSolvimonSubscriptionsList=I.defineSolvimonSubscriptionsList;exports.defineSolvimonPaymentMethodForm=p.defineSolvimonPaymentMethodForm;
@@ -0,0 +1 @@
1
+ const f=require("vue");var N;const V=typeof window<"u",W=e=>typeof e<"u",q=e=>typeof e=="function",G=e=>typeof e=="string",b=()=>{},U=V&&((N=window==null?void 0:window.navigator)==null?void 0:N.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function I(e){return typeof e=="function"?e():f.unref(e)}function F(e){return e}function K(e,t){var n;if(typeof e=="number")return e+t;const o=((n=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",u=e.slice(o.length),a=parseFloat(o)+t;return Number.isNaN(a)?e:a+u}function E(e){return f.getCurrentScope()?(f.onScopeDispose(e),!0):!1}function k(e){return typeof e=="function"?f.computed(e):f.ref(e)}function J(e,t=!0){f.getCurrentInstance()?f.onMounted(e):t?e():f.nextTick(e)}function D(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,u=f.isRef(e),a=f.ref(e);function l(r){if(arguments.length)return a.value=r,a.value;{const i=I(n);return a.value=a.value===i?I(o):i,a.value}}return u?l:[a,l]}function h(e){var t;const n=I(e);return(t=n==null?void 0:n.$el)!=null?t:n}const w=V?window:void 0;function _(...e){let t,n,o,u;if(G(e[0])||Array.isArray(e[0])?([n,o,u]=e,t=w):[t,n,o,u]=e,!t)return b;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],l=()=>{a.forEach(d=>d()),a.length=0},r=(d,v,s,p)=>(d.addEventListener(v,s,p),()=>d.removeEventListener(v,s,p)),i=f.watch(()=>[h(t),I(u)],([d,v])=>{l(),d&&a.push(...n.flatMap(s=>o.map(p=>r(d,s,p,v))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return E(c),c}let A=!1;function H(e,t,n={}){const{window:o=w,ignore:u=[],capture:a=!0,detectIframe:l=!1}=n;if(!o)return;U&&!A&&(A=!0,Array.from(o.document.body.children).forEach(s=>s.addEventListener("click",b)));let r=!0;const i=s=>u.some(p=>{if(typeof p=="string")return Array.from(o.document.querySelectorAll(p)).some(m=>m===s.target||s.composedPath().includes(m));{const m=h(p);return m&&(s.target===m||s.composedPath().includes(m))}}),d=[_(o,"click",s=>{const p=h(e);if(!(!p||p===s.target||s.composedPath().includes(p))){if(s.detail===0&&(r=!i(s)),!r){r=!0;return}t(s)}},{passive:!0,capture:a}),_(o,"pointerdown",s=>{const p=h(e);p&&(r=!s.composedPath().includes(p)&&!i(s))},{passive:!0}),l&&_(o,"blur",s=>{var p;const m=h(e);((p=o.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(s)})].filter(Boolean);return()=>d.forEach(s=>s())}const X=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0;function Y(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:u=w,eventName:a="keydown",passive:l=!1}=o,r=X(t);return _(u,a,c=>{r(c)&&n(c)},l)}function P(e,t=!1){const n=f.ref(),o=()=>n.value=!!e();return o(),J(o,t),n}function y(e,t={}){const{window:n=w}=t,o=P(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let u;const a=f.ref(!1),l=()=>{u&&("removeEventListener"in u?u.removeEventListener("change",r):u.removeListener(r))},r=()=>{o.value&&(l(),u=n.matchMedia(k(e).value),a.value=u.matches,"addEventListener"in u?u.addEventListener("change",r):u.addListener(r))};return f.watchEffect(r),E(()=>l()),a}const Z={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var ee=Object.defineProperty,C=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,L=(e,t,n)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,re=(e,t)=>{for(var n in t||(t={}))te.call(t,n)&&L(e,n,t[n]);if(C)for(var n of C(t))ne.call(t,n)&&L(e,n,t[n]);return e};function oe(e,t={}){function n(r,i){let c=e[r];return i!=null&&(c=K(c,i)),typeof c=="number"&&(c=`${c}px`),c}const{window:o=w}=t;function u(r){return o?o.matchMedia(r).matches:!1}const a=r=>y(`(min-width: ${n(r)})`,t),l=Object.keys(e).reduce((r,i)=>(Object.defineProperty(r,i,{get:()=>a(i),enumerable:!0,configurable:!0}),r),{});return re({greater(r){return y(`(min-width: ${n(r,.1)})`,t)},greaterOrEqual:a,smaller(r){return y(`(max-width: ${n(r,-.1)})`,t)},smallerOrEqual(r){return y(`(max-width: ${n(r)})`,t)},between(r,i){return y(`(min-width: ${n(r)}) and (max-width: ${n(i,-.1)})`,t)},isGreater(r){return u(`(min-width: ${n(r,.1)})`)},isGreaterOrEqual(r){return u(`(min-width: ${n(r)})`)},isSmaller(r){return u(`(max-width: ${n(r,-.1)})`)},isSmallerOrEqual(r){return u(`(max-width: ${n(r)})`)},isInBetween(r,i){return u(`(min-width: ${n(r)}) and (max-width: ${n(i,-.1)})`)}},l)}function ie(e){return JSON.parse(JSON.stringify(e))}const R=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},M="__vueuse_ssr_handlers__";R[M]=R[M]||{};var B=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ae=(e,t)=>{var n={};for(var o in e)se.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&B)for(var o of B(e))t.indexOf(o)<0&&ue.call(e,o)&&(n[o]=e[o]);return n};function z(e,t,n={}){const o=n,{window:u=w}=o,a=ae(o,["window"]);let l;const r=P(()=>u&&"ResizeObserver"in u),i=()=>{l&&(l.disconnect(),l=void 0)},c=f.watch(()=>h(e),v=>{i(),r.value&&u&&v&&(l=new ResizeObserver(t),l.observe(v,a))},{immediate:!0,flush:"post"}),d=()=>{i(),c()};return E(d),{isSupported:r,stop:d}}function le(e,t={width:0,height:0},n={}){const{window:o=w,box:u="content-box"}=n,a=f.computed(()=>{var i,c;return(c=(i=h(e))==null?void 0:i.namespaceURI)==null?void 0:c.includes("svg")}),l=f.ref(t.width),r=f.ref(t.height);return z(e,([i])=>{const c=u==="border-box"?i.borderBoxSize:u==="content-box"?i.contentBoxSize:i.devicePixelContentBoxSize;if(o&&a.value){const d=h(e);if(d){const v=o.getComputedStyle(d);l.value=parseFloat(v.width),r.value=parseFloat(v.height)}}else if(c){const d=Array.isArray(c)?c:[c];l.value=d.reduce((v,{inlineSize:s})=>v+s,0),r.value=d.reduce((v,{blockSize:s})=>v+s,0)}else l.value=i.contentRect.width,r.value=i.contentRect.height},n),f.watch(()=>h(e),i=>{l.value=i?t.width:0,r.value=i?t.height:0}),{width:l,height:r}}function ce(e,t,n={}){const{root:o,rootMargin:u="0px",threshold:a=.1,window:l=w}=n,r=P(()=>l&&"IntersectionObserver"in l);let i=b;const c=r.value?f.watch(()=>({el:h(e),root:h(o)}),({el:v,root:s})=>{if(i(),!v)return;const p=new IntersectionObserver(t,{root:s,rootMargin:u,threshold:a});p.observe(v),i=()=>{p.disconnect(),i=b}},{immediate:!0,flush:"post"}):b,d=()=>{i(),c()};return E(d),{isSupported:r,stop:d}}var T;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(T||(T={}));var fe=Object.defineProperty,j=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Q=(e,t,n)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t)=>{for(var n in t||(t={}))de.call(t,n)&&Q(e,n,t[n]);if(j)for(var n of j(t))pe.call(t,n)&&Q(e,n,t[n]);return e};const me={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ve({linear:F},me);function he(e,t,n,o={}){var u,a,l;const{clone:r=!1,passive:i=!1,eventName:c,deep:d=!1,defaultValue:v}=o,s=f.getCurrentInstance(),p=n||(s==null?void 0:s.emit)||((u=s==null?void 0:s.$emit)==null?void 0:u.bind(s))||((l=(a=s==null?void 0:s.proxy)==null?void 0:a.$emit)==null?void 0:l.bind(s==null?void 0:s.proxy));let m=c;t||(t="modelValue"),m=c||m||`update:${t.toString()}`;const x=O=>r?q(r)?r(O):ie(O):O,$=()=>W(e[t])?x(e[t]):v;if(i){const O=$(),S=f.ref(O);return f.watch(()=>e[t],g=>S.value=x(g)),f.watch(S,g=>{(g!==e[t]||d)&&p(m,g)},{deep:d}),S}else return f.computed({get(){return $()},set(O){p(m,O)}})}exports.breakpointsTailwind=Z;exports.onClickOutside=H;exports.onKeyStroke=Y;exports.useBreakpoints=oe;exports.useElementSize=le;exports.useEventListener=_;exports.useIntersectionObserver=ce;exports.useResizeObserver=z;exports.useToggle=D;exports.useVModel=he;
@@ -0,0 +1,345 @@
1
+ import { unref as G, getCurrentScope as U, onScopeDispose as F, getCurrentInstance as z, onMounted as J, nextTick as K, isRef as D, ref as O, computed as P, watch as y, watchEffect as H } from "vue";
2
+ var L;
3
+ const q = typeof window < "u", X = (e) => typeof e < "u", Y = (e) => typeof e == "function", Z = (e) => typeof e == "string", _ = () => {
4
+ }, k = q && ((L = window == null ? void 0 : window.navigator) == null ? void 0 : L.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
5
+ function E(e) {
6
+ return typeof e == "function" ? e() : G(e);
7
+ }
8
+ function ee(e) {
9
+ return e;
10
+ }
11
+ function te(e, t) {
12
+ var n;
13
+ if (typeof e == "number")
14
+ return e + t;
15
+ const o = ((n = e.match(/^-?[0-9]+\.?[0-9]*/)) == null ? void 0 : n[0]) || "", u = e.slice(o.length), a = parseFloat(o) + t;
16
+ return Number.isNaN(a) ? e : a + u;
17
+ }
18
+ function S(e) {
19
+ return U() ? (F(e), !0) : !1;
20
+ }
21
+ function ne(e) {
22
+ return typeof e == "function" ? P(e) : O(e);
23
+ }
24
+ function re(e, t = !0) {
25
+ z() ? J(e) : t ? e() : K(e);
26
+ }
27
+ function be(e = !1, t = {}) {
28
+ const {
29
+ truthyValue: n = !0,
30
+ falsyValue: o = !1
31
+ } = t, u = D(e), a = O(e);
32
+ function l(r) {
33
+ if (arguments.length)
34
+ return a.value = r, a.value;
35
+ {
36
+ const s = E(n);
37
+ return a.value = a.value === s ? E(o) : s, a.value;
38
+ }
39
+ }
40
+ return u ? l : [a, l];
41
+ }
42
+ function m(e) {
43
+ var t;
44
+ const n = E(e);
45
+ return (t = n == null ? void 0 : n.$el) != null ? t : n;
46
+ }
47
+ const h = q ? window : void 0;
48
+ function I(...e) {
49
+ let t, n, o, u;
50
+ if (Z(e[0]) || Array.isArray(e[0]) ? ([n, o, u] = e, t = h) : [t, n, o, u] = e, !t)
51
+ return _;
52
+ Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
53
+ const a = [], l = () => {
54
+ a.forEach((f) => f()), a.length = 0;
55
+ }, r = (f, p, i, d) => (f.addEventListener(p, i, d), () => f.removeEventListener(p, i, d)), s = y(() => [m(t), E(u)], ([f, p]) => {
56
+ l(), f && a.push(...n.flatMap((i) => o.map((d) => r(f, i, d, p))));
57
+ }, { immediate: !0, flush: "post" }), c = () => {
58
+ s(), l();
59
+ };
60
+ return S(c), c;
61
+ }
62
+ let R = !1;
63
+ function _e(e, t, n = {}) {
64
+ const { window: o = h, ignore: u = [], capture: a = !0, detectIframe: l = !1 } = n;
65
+ if (!o)
66
+ return;
67
+ k && !R && (R = !0, Array.from(o.document.body.children).forEach((i) => i.addEventListener("click", _)));
68
+ let r = !0;
69
+ const s = (i) => u.some((d) => {
70
+ if (typeof d == "string")
71
+ return Array.from(o.document.querySelectorAll(d)).some((v) => v === i.target || i.composedPath().includes(v));
72
+ {
73
+ const v = m(d);
74
+ return v && (i.target === v || i.composedPath().includes(v));
75
+ }
76
+ }), f = [
77
+ I(o, "click", (i) => {
78
+ const d = m(e);
79
+ if (!(!d || d === i.target || i.composedPath().includes(d))) {
80
+ if (i.detail === 0 && (r = !s(i)), !r) {
81
+ r = !0;
82
+ return;
83
+ }
84
+ t(i);
85
+ }
86
+ }, { passive: !0, capture: a }),
87
+ I(o, "pointerdown", (i) => {
88
+ const d = m(e);
89
+ d && (r = !i.composedPath().includes(d) && !s(i));
90
+ }, { passive: !0 }),
91
+ l && I(o, "blur", (i) => {
92
+ var d;
93
+ const v = m(e);
94
+ ((d = o.document.activeElement) == null ? void 0 : d.tagName) === "IFRAME" && !(v != null && v.contains(o.document.activeElement)) && t(i);
95
+ })
96
+ ].filter(Boolean);
97
+ return () => f.forEach((i) => i());
98
+ }
99
+ const oe = (e) => typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
100
+ function ge(...e) {
101
+ let t, n, o = {};
102
+ e.length === 3 ? (t = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], o = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
103
+ const { target: u = h, eventName: a = "keydown", passive: l = !1 } = o, r = oe(t);
104
+ return I(u, a, (c) => {
105
+ r(c) && n(c);
106
+ }, l);
107
+ }
108
+ function $(e, t = !1) {
109
+ const n = O(), o = () => n.value = !!e();
110
+ return o(), re(o, t), n;
111
+ }
112
+ function b(e, t = {}) {
113
+ const { window: n = h } = t, o = $(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
114
+ let u;
115
+ const a = O(!1), l = () => {
116
+ u && ("removeEventListener" in u ? u.removeEventListener("change", r) : u.removeListener(r));
117
+ }, r = () => {
118
+ o.value && (l(), u = n.matchMedia(ne(e).value), a.value = u.matches, "addEventListener" in u ? u.addEventListener("change", r) : u.addListener(r));
119
+ };
120
+ return H(r), S(() => l()), a;
121
+ }
122
+ const Ie = {
123
+ sm: 640,
124
+ md: 768,
125
+ lg: 1024,
126
+ xl: 1280,
127
+ "2xl": 1536
128
+ };
129
+ var se = Object.defineProperty, C = Object.getOwnPropertySymbols, ie = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable, M = (e, t, n) => t in e ? se(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ae = (e, t) => {
130
+ for (var n in t || (t = {}))
131
+ ie.call(t, n) && M(e, n, t[n]);
132
+ if (C)
133
+ for (var n of C(t))
134
+ ue.call(t, n) && M(e, n, t[n]);
135
+ return e;
136
+ };
137
+ function Ee(e, t = {}) {
138
+ function n(r, s) {
139
+ let c = e[r];
140
+ return s != null && (c = te(c, s)), typeof c == "number" && (c = `${c}px`), c;
141
+ }
142
+ const { window: o = h } = t;
143
+ function u(r) {
144
+ return o ? o.matchMedia(r).matches : !1;
145
+ }
146
+ const a = (r) => b(`(min-width: ${n(r)})`, t), l = Object.keys(e).reduce((r, s) => (Object.defineProperty(r, s, {
147
+ get: () => a(s),
148
+ enumerable: !0,
149
+ configurable: !0
150
+ }), r), {});
151
+ return ae({
152
+ greater(r) {
153
+ return b(`(min-width: ${n(r, 0.1)})`, t);
154
+ },
155
+ greaterOrEqual: a,
156
+ smaller(r) {
157
+ return b(`(max-width: ${n(r, -0.1)})`, t);
158
+ },
159
+ smallerOrEqual(r) {
160
+ return b(`(max-width: ${n(r)})`, t);
161
+ },
162
+ between(r, s) {
163
+ return b(`(min-width: ${n(r)}) and (max-width: ${n(s, -0.1)})`, t);
164
+ },
165
+ isGreater(r) {
166
+ return u(`(min-width: ${n(r, 0.1)})`);
167
+ },
168
+ isGreaterOrEqual(r) {
169
+ return u(`(min-width: ${n(r)})`);
170
+ },
171
+ isSmaller(r) {
172
+ return u(`(max-width: ${n(r, -0.1)})`);
173
+ },
174
+ isSmallerOrEqual(r) {
175
+ return u(`(max-width: ${n(r)})`);
176
+ },
177
+ isInBetween(r, s) {
178
+ return u(`(min-width: ${n(r)}) and (max-width: ${n(s, -0.1)})`);
179
+ }
180
+ }, l);
181
+ }
182
+ function le(e) {
183
+ return JSON.parse(JSON.stringify(e));
184
+ }
185
+ const j = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, B = "__vueuse_ssr_handlers__";
186
+ j[B] = j[B] || {};
187
+ var Q = Object.getOwnPropertySymbols, ce = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable, de = (e, t) => {
188
+ var n = {};
189
+ for (var o in e)
190
+ ce.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
191
+ if (e != null && Q)
192
+ for (var o of Q(e))
193
+ t.indexOf(o) < 0 && fe.call(e, o) && (n[o] = e[o]);
194
+ return n;
195
+ };
196
+ function pe(e, t, n = {}) {
197
+ const o = n, { window: u = h } = o, a = de(o, ["window"]);
198
+ let l;
199
+ const r = $(() => u && "ResizeObserver" in u), s = () => {
200
+ l && (l.disconnect(), l = void 0);
201
+ }, c = y(() => m(e), (p) => {
202
+ s(), r.value && u && p && (l = new ResizeObserver(t), l.observe(p, a));
203
+ }, { immediate: !0, flush: "post" }), f = () => {
204
+ s(), c();
205
+ };
206
+ return S(f), {
207
+ isSupported: r,
208
+ stop: f
209
+ };
210
+ }
211
+ function Se(e, t = { width: 0, height: 0 }, n = {}) {
212
+ const { window: o = h, box: u = "content-box" } = n, a = P(() => {
213
+ var s, c;
214
+ return (c = (s = m(e)) == null ? void 0 : s.namespaceURI) == null ? void 0 : c.includes("svg");
215
+ }), l = O(t.width), r = O(t.height);
216
+ return pe(e, ([s]) => {
217
+ const c = u === "border-box" ? s.borderBoxSize : u === "content-box" ? s.contentBoxSize : s.devicePixelContentBoxSize;
218
+ if (o && a.value) {
219
+ const f = m(e);
220
+ if (f) {
221
+ const p = o.getComputedStyle(f);
222
+ l.value = parseFloat(p.width), r.value = parseFloat(p.height);
223
+ }
224
+ } else if (c) {
225
+ const f = Array.isArray(c) ? c : [c];
226
+ l.value = f.reduce((p, { inlineSize: i }) => p + i, 0), r.value = f.reduce((p, { blockSize: i }) => p + i, 0);
227
+ } else
228
+ l.value = s.contentRect.width, r.value = s.contentRect.height;
229
+ }, n), y(() => m(e), (s) => {
230
+ l.value = s ? t.width : 0, r.value = s ? t.height : 0;
231
+ }), {
232
+ width: l,
233
+ height: r
234
+ };
235
+ }
236
+ function xe(e, t, n = {}) {
237
+ const {
238
+ root: o,
239
+ rootMargin: u = "0px",
240
+ threshold: a = 0.1,
241
+ window: l = h
242
+ } = n, r = $(() => l && "IntersectionObserver" in l);
243
+ let s = _;
244
+ const c = r.value ? y(() => ({
245
+ el: m(e),
246
+ root: m(o)
247
+ }), ({ el: p, root: i }) => {
248
+ if (s(), !p)
249
+ return;
250
+ const d = new IntersectionObserver(t, {
251
+ root: i,
252
+ rootMargin: u,
253
+ threshold: a
254
+ });
255
+ d.observe(p), s = () => {
256
+ d.disconnect(), s = _;
257
+ };
258
+ }, { immediate: !0, flush: "post" }) : _, f = () => {
259
+ s(), c();
260
+ };
261
+ return S(f), {
262
+ isSupported: r,
263
+ stop: f
264
+ };
265
+ }
266
+ var T;
267
+ (function(e) {
268
+ e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
269
+ })(T || (T = {}));
270
+ var ve = Object.defineProperty, V = Object.getOwnPropertySymbols, me = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable, W = (e, t, n) => t in e ? ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, we = (e, t) => {
271
+ for (var n in t || (t = {}))
272
+ me.call(t, n) && W(e, n, t[n]);
273
+ if (V)
274
+ for (var n of V(t))
275
+ he.call(t, n) && W(e, n, t[n]);
276
+ return e;
277
+ };
278
+ const Oe = {
279
+ easeInSine: [0.12, 0, 0.39, 0],
280
+ easeOutSine: [0.61, 1, 0.88, 1],
281
+ easeInOutSine: [0.37, 0, 0.63, 1],
282
+ easeInQuad: [0.11, 0, 0.5, 0],
283
+ easeOutQuad: [0.5, 1, 0.89, 1],
284
+ easeInOutQuad: [0.45, 0, 0.55, 1],
285
+ easeInCubic: [0.32, 0, 0.67, 0],
286
+ easeOutCubic: [0.33, 1, 0.68, 1],
287
+ easeInOutCubic: [0.65, 0, 0.35, 1],
288
+ easeInQuart: [0.5, 0, 0.75, 0],
289
+ easeOutQuart: [0.25, 1, 0.5, 1],
290
+ easeInOutQuart: [0.76, 0, 0.24, 1],
291
+ easeInQuint: [0.64, 0, 0.78, 0],
292
+ easeOutQuint: [0.22, 1, 0.36, 1],
293
+ easeInOutQuint: [0.83, 0, 0.17, 1],
294
+ easeInExpo: [0.7, 0, 0.84, 0],
295
+ easeOutExpo: [0.16, 1, 0.3, 1],
296
+ easeInOutExpo: [0.87, 0, 0.13, 1],
297
+ easeInCirc: [0.55, 0, 1, 0.45],
298
+ easeOutCirc: [0, 0.55, 0.45, 1],
299
+ easeInOutCirc: [0.85, 0, 0.15, 1],
300
+ easeInBack: [0.36, 0, 0.66, -0.56],
301
+ easeOutBack: [0.34, 1.56, 0.64, 1],
302
+ easeInOutBack: [0.68, -0.6, 0.32, 1.6]
303
+ };
304
+ we({
305
+ linear: ee
306
+ }, Oe);
307
+ function Pe(e, t, n, o = {}) {
308
+ var u, a, l;
309
+ const {
310
+ clone: r = !1,
311
+ passive: s = !1,
312
+ eventName: c,
313
+ deep: f = !1,
314
+ defaultValue: p
315
+ } = o, i = z(), d = n || (i == null ? void 0 : i.emit) || ((u = i == null ? void 0 : i.$emit) == null ? void 0 : u.bind(i)) || ((l = (a = i == null ? void 0 : i.proxy) == null ? void 0 : a.$emit) == null ? void 0 : l.bind(i == null ? void 0 : i.proxy));
316
+ let v = c;
317
+ t || (t = "modelValue"), v = c || v || `update:${t.toString()}`;
318
+ const N = (w) => r ? Y(r) ? r(w) : le(w) : w, A = () => X(e[t]) ? N(e[t]) : p;
319
+ if (s) {
320
+ const w = A(), x = O(w);
321
+ return y(() => e[t], (g) => x.value = N(g)), y(x, (g) => {
322
+ (g !== e[t] || f) && d(v, g);
323
+ }, { deep: f }), x;
324
+ } else
325
+ return P({
326
+ get() {
327
+ return A();
328
+ },
329
+ set(w) {
330
+ d(v, w);
331
+ }
332
+ });
333
+ }
334
+ export {
335
+ Ee as a,
336
+ Ie as b,
337
+ I as c,
338
+ Se as d,
339
+ _e as e,
340
+ pe as f,
341
+ xe as g,
342
+ be as h,
343
+ ge as o,
344
+ Pe as u
345
+ };
package/dist/index.mjs CHANGED
@@ -1,42 +1,42 @@
1
- import { createSolvimonCore, getRegisteredComponentIds, getRegisteredScreenIds } from "./core/index.mjs";
2
- import { defineSolvimonCheckout } from "./screens/Checkout/Checkout.mjs";
3
- import { defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.mjs";
4
- import { defineSolvimonSubscriptionManagement } from "./screens/SubscriptionManagement/SubscriptionManagement.mjs";
5
- import { defineSolvimonSubscriptionDetails } from "./screens/SubscriptionDetails/SubscriptionDetails.mjs";
6
- import { defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.mjs";
7
- import { defineSolvimonPaymentMethodsManagement } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs";
8
- import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.mjs";
9
- import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.mjs";
10
- import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.mjs";
11
- import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.mjs";
12
- import { defineSolvimonInvoice } from "./components/Invoice/Invoice.mjs";
13
- import { defineSolvimonInvoiceDetails } from "./components/InvoiceDetails/InvoiceDetails.mjs";
14
- import { defineSolvimonInvoiceHeader } from "./components/InvoiceHeader/InvoiceHeader.mjs";
15
- import { defineSolvimonInvoicesList } from "./components/InvoicesList/InvoicesList.mjs";
16
- import { defineSolvimonPaymentHistory } from "./components/PaymentHistory/PaymentHistory.mjs";
17
- import { defineSolvimonSubscriptionSchedules } from "./components/SubscriptionSchedules/SubscriptionSchedules.mjs";
18
- import { defineSolvimonSubscriptionsList } from "./components/SubscriptionsList/SubscriptionsList.mjs";
19
- import { defineSolvimonPaymentMethodForm } from "./components/PaymentMethodForm/PaymentMethodForm.mjs";
1
+ import { createSolvimonCore as i, getRegisteredComponentIds as n, getRegisteredScreenIds as r } from "./core/index.mjs";
2
+ import { d as t } from "./Checkout.entry.ce-B5-0AM67.mjs";
3
+ import { defineSolvimonCustomerOverview as l } from "./screens/CustomerOverview/CustomerOverview.mjs";
4
+ import { defineSolvimonSubscriptionManagement as v } from "./screens/SubscriptionManagement/SubscriptionManagement.mjs";
5
+ import { defineSolvimonSubscriptionDetails as p } from "./screens/SubscriptionDetails/SubscriptionDetails.mjs";
6
+ import { defineSolvimonPayInvoice as a } from "./screens/PayInvoice/PayInvoice.mjs";
7
+ import { defineSolvimonPaymentMethodsManagement as c } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs";
8
+ import { defineSolvimonBillingInformation as g } from "./components/BillingInformation/BillingInformation.mjs";
9
+ import { defineSolvimonBillingInformationForm as y } from "./components/BillingInformationForm/BillingInformationForm.mjs";
10
+ import { defineSolvimonCustomerPaymentMethods as C } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.mjs";
11
+ import { defineSolvimonWalletBalances as P } from "./components/WalletBalances/WalletBalances.mjs";
12
+ import { defineSolvimonInvoice as B } from "./components/Invoice/Invoice.mjs";
13
+ import { defineSolvimonInvoiceDetails as F } from "./components/InvoiceDetails/InvoiceDetails.mjs";
14
+ import { defineSolvimonInvoiceHeader as L } from "./components/InvoiceHeader/InvoiceHeader.mjs";
15
+ import { defineSolvimonInvoicesList as k } from "./components/InvoicesList/InvoicesList.mjs";
16
+ import { defineSolvimonPaymentHistory as O } from "./components/PaymentHistory/PaymentHistory.mjs";
17
+ import { defineSolvimonSubscriptionSchedules as j } from "./components/SubscriptionSchedules/SubscriptionSchedules.mjs";
18
+ import { defineSolvimonSubscriptionsList as z } from "./components/SubscriptionsList/SubscriptionsList.mjs";
19
+ import { defineSolvimonPaymentMethodForm as E } from "./components/PaymentMethodForm/PaymentMethodForm.mjs";
20
20
  export {
21
- createSolvimonCore,
22
- defineSolvimonBillingInformation,
23
- defineSolvimonBillingInformationForm,
24
- defineSolvimonCheckout,
25
- defineSolvimonCustomerOverview,
26
- defineSolvimonCustomerPaymentMethods,
27
- defineSolvimonInvoice,
28
- defineSolvimonInvoiceDetails,
29
- defineSolvimonInvoiceHeader,
30
- defineSolvimonInvoicesList,
31
- defineSolvimonPayInvoice,
32
- defineSolvimonPaymentHistory,
33
- defineSolvimonPaymentMethodForm,
34
- defineSolvimonPaymentMethodsManagement,
35
- defineSolvimonSubscriptionDetails,
36
- defineSolvimonSubscriptionManagement,
37
- defineSolvimonSubscriptionSchedules,
38
- defineSolvimonSubscriptionsList,
39
- defineSolvimonWalletBalances,
40
- getRegisteredComponentIds,
41
- getRegisteredScreenIds
21
+ i as createSolvimonCore,
22
+ g as defineSolvimonBillingInformation,
23
+ y as defineSolvimonBillingInformationForm,
24
+ t as defineSolvimonCheckout,
25
+ l as defineSolvimonCustomerOverview,
26
+ C as defineSolvimonCustomerPaymentMethods,
27
+ B as defineSolvimonInvoice,
28
+ F as defineSolvimonInvoiceDetails,
29
+ L as defineSolvimonInvoiceHeader,
30
+ k as defineSolvimonInvoicesList,
31
+ a as defineSolvimonPayInvoice,
32
+ O as defineSolvimonPaymentHistory,
33
+ E as defineSolvimonPaymentMethodForm,
34
+ c as defineSolvimonPaymentMethodsManagement,
35
+ p as defineSolvimonSubscriptionDetails,
36
+ v as defineSolvimonSubscriptionManagement,
37
+ j as defineSolvimonSubscriptionSchedules,
38
+ z as defineSolvimonSubscriptionsList,
39
+ P as defineSolvimonWalletBalances,
40
+ n as getRegisteredComponentIds,
41
+ r as getRegisteredScreenIds
42
42
  };
@@ -0,0 +1,118 @@
1
+ import { a as v } from "./api.es-QaC926Xu.mjs";
2
+ import { c as g, a as _ } from "./customElements-CSE7dwUr.mjs";
3
+ const w = (n, t) => {
4
+ const r = window.URL.createObjectURL(n);
5
+ h(r, t);
6
+ }, h = (n, t) => {
7
+ const r = document.createElement("a");
8
+ r.href = n, r.download = t, r.click(), setTimeout(() => {
9
+ window.URL.revokeObjectURL(n);
10
+ }, 250);
11
+ };
12
+ function O() {
13
+ const n = g(), t = _(), r = `${t.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;
14
+ function s(e) {
15
+ return n({
16
+ url: `${t.apiUrls.transaction}/portal/invoices/${e}`
17
+ });
18
+ }
19
+ function p({
20
+ customerId: e,
21
+ pagination: o,
22
+ query: i
23
+ }) {
24
+ const a = v(
25
+ {
26
+ customer_id: e,
27
+ ...i ?? {}
28
+ },
29
+ o
30
+ );
31
+ return n({
32
+ url: `${t.apiUrls.transaction}/portal/invoices`,
33
+ query: a,
34
+ isCollection: !0
35
+ });
36
+ }
37
+ async function l({
38
+ id: e,
39
+ invoice_number: o
40
+ }) {
41
+ return n({
42
+ url: `${t.apiUrls.transaction}/portal/invoices/${e}/pdf`,
43
+ options: { headers: { "Content-Type": "application/pdf" } }
44
+ }).then((i) => {
45
+ const a = new Blob([i], {
46
+ type: "application/pdf"
47
+ });
48
+ w(a, `invoice-${o || e}.pdf`);
49
+ });
50
+ }
51
+ function u({
52
+ customer: e,
53
+ pricingPlanSubscriptionId: o,
54
+ startAt: i,
55
+ customizations: a,
56
+ pricing_plan_schedule_customizations: c,
57
+ forExistingSubscription: f = !1
58
+ }) {
59
+ return n({
60
+ url: `${t.apiUrls.transaction}/portal/invoices/preview`,
61
+ options: { method: "POST" },
62
+ data: {
63
+ // A subscription that is already running is priced as itself, and its customer is
64
+ // known. One that does not exist yet is priced off the template it would be created
65
+ // from, for the details it would be invoiced to.
66
+ ...f ? { pricing_plan_subscription_id: o } : {
67
+ template_pricing_plan_subscription_id: o,
68
+ customer_details: {
69
+ ...e,
70
+ reference: "preview"
71
+ }
72
+ },
73
+ ...i && { start_at: i },
74
+ ...a && { pricing_plan_schedule_customizations: a },
75
+ ...c && {
76
+ pricing_plan_schedule_customizations: c
77
+ }
78
+ }
79
+ });
80
+ }
81
+ function d({
82
+ pricingPlanScheduleId: e,
83
+ pricingItems: o,
84
+ startAt: i
85
+ }) {
86
+ return n({
87
+ url: r,
88
+ options: { method: "POST" },
89
+ data: {
90
+ pricing_plan_schedule_id: e,
91
+ pricing_items: o,
92
+ preview: !0,
93
+ ...i ? { start_at: i } : {}
94
+ }
95
+ });
96
+ }
97
+ function m(e) {
98
+ return n({
99
+ url: r,
100
+ options: { method: "POST" },
101
+ data: {
102
+ finalize_immediately: !0,
103
+ ...e
104
+ }
105
+ });
106
+ }
107
+ return {
108
+ getInvoice: s,
109
+ getInvoices: p,
110
+ getInvoicePdf: l,
111
+ getInvoicePreview: u,
112
+ previewChargeOnDemandPricingItems: d,
113
+ chargeOnDemandPricingItems: m
114
+ };
115
+ }
116
+ export {
117
+ O as c
118
+ };
@@ -0,0 +1 @@
1
+ const f=require("./api.es-duCDtZD9.js"),s=require("./customElements-Vox1PB6G.js"),_=(n,i)=>{const r=window.URL.createObjectURL(n);w(r,i)},w=(n,i)=>{const r=document.createElement("a");r.href=n,r.download=i,r.click(),setTimeout(()=>{window.URL.revokeObjectURL(n)},250)};function h(){const n=s.createRequestService(),i=s.useConfig(),r=`${i.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;function l(e){return n({url:`${i.apiUrls.transaction}/portal/invoices/${e}`})}function p({customerId:e,pagination:o,query:t}){const c=f.withPagination({customer_id:e,...t??{}},o);return n({url:`${i.apiUrls.transaction}/portal/invoices`,query:c,isCollection:!0})}async function u({id:e,invoice_number:o}){return n({url:`${i.apiUrls.transaction}/portal/invoices/${e}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(t=>{const c=new Blob([t],{type:"application/pdf"});_(c,`invoice-${o||e}.pdf`)})}function d({customer:e,pricingPlanSubscriptionId:o,startAt:t,customizations:c,pricing_plan_schedule_customizations:a,forExistingSubscription:g=!1}){return n({url:`${i.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{...g?{pricing_plan_subscription_id:o}:{template_pricing_plan_subscription_id:o,customer_details:{...e,reference:"preview"}},...t&&{start_at:t},...c&&{pricing_plan_schedule_customizations:c},...a&&{pricing_plan_schedule_customizations:a}}})}function m({pricingPlanScheduleId:e,pricingItems:o,startAt:t}){return n({url:r,options:{method:"POST"},data:{pricing_plan_schedule_id:e,pricing_items:o,preview:!0,...t?{start_at:t}:{}}})}function v(e){return n({url:r,options:{method:"POST"},data:{finalize_immediately:!0,...e}})}return{getInvoice:l,getInvoices:p,getInvoicePdf:u,getInvoicePreview:d,previewChargeOnDemandPricingItems:m,chargeOnDemandPricingItems:v}}exports.createInvoicesService=h;