@solvimon/solvimon-web 0.1.0-alpha.2 → 0.1.0-alpha.21
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.
- package/README.md +244 -49
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs +223 -0
- package/dist/Amount.vue.es-DExaYBqm.js +1 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/Avatar.vue.es-CJw5z7Uu.js +1 -0
- package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
- package/dist/Button.vue.es-BWl37nzm.js +1 -0
- package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
- package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
- package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
- package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
- package/dist/Chip.vue.es-DUgjuRWm.js +1 -0
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
- package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
- package/dist/ContextMenu.vue.es-BllxeDTt.js +1 -0
- package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
- package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +1 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
- package/dist/DividerText.vue.es-BBdydUy_.js +1 -0
- package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
- package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
- package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
- package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
- package/dist/IconButton.vue.es-DAR7e8NA.mjs +198 -0
- package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
- package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
- package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
- package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
- package/dist/Input.vue.es-BN95nPBw.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
- package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
- package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
- package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
- package/dist/PaymentHistoryBlock-DGJ_PiVq.js +1 -0
- package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
- package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
- package/dist/PaymentIntegrationForm-DqqGcEP1.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
- package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
- package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
- package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
- package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
- package/dist/PaymentMethodForm-BQ5TVHlS.js +1 -0
- package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
- package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
- package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
- package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
- package/dist/Section.vue.es-By1JltGi.mjs +72 -0
- package/dist/Section.vue.es-DuK52y67.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
- package/dist/SubscriptionSchedules-DDCjVEbG.mjs +4 -0
- package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
- package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
- package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
- package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
- package/dist/TrialChip.vue.es-DX53r0ku.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/accel.svg.es-DFJXdioD.js +1 -0
- package/dist/ach.svg.es-BYP873jU.js +1 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/adyen-BJfC7N6f.js +1 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-CvsH5fok.mjs +117 -0
- package/dist/adyen-Druit6gz.js +1 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/adyenSdk-BP2XXzeJ.js +1 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
- package/dist/amex.svg.es-DKhW4Txt.js +1 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/api.es-duCDtZD9.js +1 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/carnet.svg.es-DY04-F2L.js +1 -0
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
- package/dist/cn.es-CNvIP217.js +1 -0
- package/dist/cn.es-DjnGlmqV.mjs +3028 -0
- package/dist/comparators.es-D8WGL-c4.mjs +153 -0
- package/dist/comparators.es-OGt19O9U.js +1 -0
- package/dist/component-5wqcK7yz.mjs +8 -0
- package/dist/component-B7ZDyqBp.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
- package/dist/components/BillingInformation/BillingInformation.mjs +81 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +447 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +86 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.cjs +1 -0
- package/dist/components/Invoice/Invoice.mjs +477 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +107 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
- package/dist/components/InvoicesList/InvoicesList.mjs +86 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
- package/dist/components/PaymentHistory/PaymentHistory.mjs +111 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +96 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +84 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +92 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
- package/dist/components/WalletBalances/WalletBalances.mjs +113 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +182 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es-BegoD-cZ.mjs +252 -0
- package/dist/countryData.es-C4jHBzfo.js +1 -0
- package/dist/customElements-Bt8PbjIn.js +1187 -0
- package/dist/customElements-Com2NiGU.mjs +6531 -0
- package/dist/customer-CKgMJEgv.mjs +31 -0
- package/dist/customer-Q4JGfVfq.js +1 -0
- package/dist/customer.es-B5ppZf0j.mjs +20 -0
- package/dist/customer.es-BButyYo0.js +1 -0
- package/dist/dana.svg.es-BDtZLpwd.js +1 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/dankort.svg.es-CksaipXF.js +1 -0
- package/dist/de-DE-CVCmzlNH.mjs +266 -0
- package/dist/de-DE-DBO5f-Eu.mjs +281 -0
- package/dist/de-DE-DqLD4IX2.js +1 -0
- package/dist/de-DE-Ds_yJLS3.js +1 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/discover.svg.es-DgqWCMUM.js +1 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
- package/dist/elo.svg.es-C-BzjuRP.js +1 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/en-US-3UmnS23B.mjs +281 -0
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/en-US-CvFmmI_O.js +1 -0
- package/dist/en-US-DVR9O7b_.mjs +266 -0
- package/dist/eps.svg.es-B_85bP-W.js +1 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/error-BHVZJGwD.mjs +13 -0
- package/dist/error-CmduqgVq.js +1 -0
- package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
- package/dist/formatting.es-C72Nsrmh.js +1 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getComposedString.es-haS4bAj7.js +1 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
- package/dist/girocard.svg.es-HSOEvDif.js +1 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
- package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
- package/dist/ideal.svg.es-Booz1IML.js +1 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-BPU8tIml.mjs +828 -0
- package/dist/index-BPZPnOQQ.js +7 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index-DwueOtPi.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +42 -0
- package/dist/invoices-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/it-IT-CDMnnFKZ.mjs +266 -0
- package/dist/it-IT-CFEfSpPH.js +1 -0
- package/dist/it-IT-CxBRisRm.mjs +281 -0
- package/dist/it-IT-Dxw59eR_.js +1 -0
- package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
- package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
- package/dist/momo.svg.es-C5aLYf_R.js +1 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-BWGkVweu.mjs +296 -0
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/nl-NL-jtVgF3jx.js +1 -0
- package/dist/nl-NL-o3UvtSNg.mjs +266 -0
- package/dist/nyce.svg.es-ArAivAZW.js +1 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/object.es-CdriXMPs.js +1 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
- package/dist/paymentMethods-BuwoJ1y9.mjs +75 -0
- package/dist/paymentMethods-ChWAwDSF.js +1 -0
- package/dist/payments-C_cMXQzE.mjs +45 -0
- package/dist/payments-DGckugN0.js +1 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
- package/dist/pricing-BVAld27Y.js +1 -0
- package/dist/pricing-DLOeiAIB.mjs +16 -0
- package/dist/pricingItemConfigs.es-DMf1e6y7.mjs +76 -0
- package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
- package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
- package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -0
- package/dist/pulse.svg.es-Dit33E8S.js +1 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.cjs +1 -0
- package/dist/screens/Checkout/Checkout.mjs +5 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +149 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +533 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +210 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +771 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +618 -0
- package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/slots.es-T9ZJRGtG.js +1 -0
- package/dist/sorting.es-DCihKqD2.mjs +77 -0
- package/dist/sorting.es-DQsjKr8A.js +1 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/star.svg.es-D2JncY7b.js +1 -0
- package/dist/subscription-9GORG-Gt.js +1 -0
- package/dist/subscription-CvfAEJeP.mjs +69 -0
- package/dist/subscriptions-B5VqRayX.mjs +55 -0
- package/dist/subscriptions-X0Ciw8z3.js +1 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/trustly.svg.es-GJByiFAs.js +1 -0
- package/dist/twint.svg.es-BJ2f48og.js +1 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/typeGuards.es-DS3vZaJn.js +1 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +19 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +81 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +62 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +70 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
- package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +55 -0
- package/dist/types/public/core/configuration.d.ts +3 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +6 -0
- package/dist/types/public/core/types.d.ts +120 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +31 -0
- package/dist/types/services/portals.types.d.ts +68 -0
- package/dist/types/services/requests.types.d.ts +24 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +7 -0
- package/dist/types/types/subscription.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/url-BNKStNY9.js +1 -0
- package/dist/url-DwiuKYpu.mjs +20 -0
- package/dist/useActionDispatchProvider-B54GYEY7.js +1 -0
- package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
- package/dist/useCustomer-BJwJ9BkJ.js +1 -0
- package/dist/useCustomer-CC9zxV6c.mjs +20 -0
- package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
- package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
- package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
- package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
- package/dist/useInvoiceData-Bblwdl0f.js +1 -0
- package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
- package/dist/useInvoicesList-_U1-tn9_.js +1 -0
- package/dist/useLoadInitialData-CezlvhBV.js +1 -0
- package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
- package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
- package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
- package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
- package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
- package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
- package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
- package/dist/usePayments-BkwGyZT0.mjs +318 -0
- package/dist/usePayments-SQF_V7oL.js +1 -0
- package/dist/usePortal-BdM7hDge.js +1 -0
- package/dist/usePortal-DDG9b6FI.mjs +11 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-BJJYHYgr.mjs +210 -0
- package/dist/useSubscription-Q4C2DPhw.js +1 -0
- package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
- package/dist/useTimePeriod.es-pepm2TpV.js +1 -0
- package/dist/useViewport-BgdA2PPt.mjs +29 -0
- package/dist/useViewport-hPRVDWCm.js +1 -0
- package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
- package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/visa.svg.es-NY3BHhda.js +1 -0
- package/dist/vpay.svg.es-VViQi42w.js +1 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/zip.svg.es-C9S_F31W.js +1 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +112 -61
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),Q=require("./useService-H7BjLg8P.js"),M=require("./customElements-Bt8PbjIn.js"),B=require("./PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js"),W=require("./payments-DGckugN0.js"),w=require("./url-BNKStNY9.js"),J=require("./paymentMethods-ChWAwDSF.js"),s=require("./adyen-Druit6gz.js"),X=require("./adyenSdk-BP2XXzeJ.js"),ee=require("./useExperimentalFeature-8Mzpj5wc.js"),te=l=>{let _={};return l==="TOKENIZE"&&(_={"en-US":{payButton:"Add payment method",confirmPurchase:"Add payment method"},"fr-FR":{payButton:"Ajouter un moyen de paiement",confirmPurchase:"Ajouter un moyen de paiement"},"de-DE":{payButton:"Zahlungsmethode hinzufügen",confirmPurchase:"Zahlungsmethode hinzufügen"},"it-IT":{payButton:"Aggiungi metodo di pagamento",confirmPurchase:"Aggiungi metodo di pagamento"},"es-ES":{payButton:"Añadir método de pago",confirmPurchase:"Añadir método de pago"},"nl-NL":{payButton:"Betaalmethode toevoegen",confirmPurchase:"Betaalmethode toevoegen"},"pt-BR":{payButton:"Adicionar método de pagamento",confirmPurchase:"Adicionar método de pagamento"},"pt-PT":{payButton:"Adicionar método de pagamento",confirmPurchase:"Adicionar método de pagamento"},"pl-PL":{payButton:"Dodaj metodę płatności",confirmPurchase:"Dodaj metodę płatności"},"ru-RU":{payButton:"Добавить способ оплаты",confirmPurchase:"Добавить способ оплаты"},"sv-SE":{payButton:"Lägg till betalningsmetod",confirmPurchase:"Lägg till betalningsmetod"},"da-DK":{payButton:"Tilføj betalingsmetode",confirmPurchase:"Tilføj betalingsmetode"},"fi-FI":{payButton:"Lisää maksutapa",confirmPurchase:"Lisää maksutapa"},"no-NO":{payButton:"Legg til betalingsmetode",confirmPurchase:"Legg til betalingsmetode"},"cs-CZ":{payButton:"Přidat platební metodu",confirmPurchase:"Přidat platební metodu"},"hu-HU":{payButton:"Fizetési mód hozzáadása",confirmPurchase:"Fizetési mód hozzáadása"},"ro-RO":{payButton:"Adăugați metodă de plată",confirmPurchase:"Adăugați metodă de plată"},"ja-JP":{payButton:"支払い方法を追加",confirmPurchase:"支払い方法を追加"},"ko-KR":{payButton:"결제 수단 추가",confirmPurchase:"결제 수단 추가"},"zh-CN":{payButton:"添加支付方式",confirmPurchase:"添加支付方式"},"zh-TW":{payButton:"新增付款方式",confirmPurchase:"新增付款方式"},ar:{payButton:"إضافة وسيلة دفع",confirmPurchase:"إضافة وسيلة دفع"},"hr-HR":{payButton:"Dodajte način plačanja",confirmPurchase:"Dodajte način plačanja"},"el-GR":{payButton:"Προσθήκη μεθόδου πληρωμής",confirmPurchase:"Προσθήκη μεθόδου πληρωμής"},"sk-SK":{payButton:"Pridať spôsob platby",confirmPurchase:"Pridať spôsob platby"},"sl-SI":{payButton:"Dodajte način plačanja",confirmPurchase:"Dodajte način plačanja"},"bg-BG":{payButton:"Добавяне на начин на плащане",confirmPurchase:"Добавяне на начин на плащане"},"ca-ES":{payButton:"Afegir mètode de pagament",confirmPurchase:"Afegir mètode de pagament"},"et-EE":{payButton:"Lisa makseviis",confirmPurchase:"Lisa makseviis"},"lv-LV":{payButton:"Pievienot maksājuma veidu",confirmPurchase:"Pievienot maksājuma veidu"},"lt-LT":{payButton:"Pridėti mokėjimo metodą",confirmPurchase:"Pridėti mokėjimo metodą"}}),_},f="ADYEN",ne=r.defineComponent({__name:"PaymentIntegrationFormAdyen",props:{context:{type:Object},countryCode:{type:String},customerId:{type:String},invoiceId:{type:String},paymentMethodOptionResponseEntry:{type:Object},variant:{type:String},selected:{type:Boolean},amount:{type:Object},validateOnSubmit:{type:Function,default:()=>Promise.resolve(!0)},forceStorePaymentMethod:{type:Boolean},storePaymentMethod:{type:Boolean,default:void 0},redirectsOnSuccess:{type:Boolean}},emits:["select","payment-failed","payment-success","ready"],setup(l,{expose:_,emit:x}){let u=null,P=null;const n=l,m=x;_({submit:j});const y=r.ref(),I=r.ref(!1),h=r.ref(),d=M.useLogger(),{locale:C}=M.useIntl(),{authorizePayment:D,getPaymentDetails:S}=W.createPaymentsService(),{tokenizePaymentMethod:L}=J.createPaymentMethodsService(),g=ee.useExperimentalFeature(),v=r.computed(()=>{var e;return s.getAdyenDropInPaymentMethods(n.paymentMethodOptionResponseEntry,{excludeExpressPaymentMethods:!!((e=g==null?void 0:g.value)!=null&&e["express-checkout"])})}),k=r.computed(()=>v.value.length>0);function j(){try{u==null||u.submit()}catch(e){d.error("ADYEN_SUBMIT_FAILED","Failed to submit Adyen drop-in",{},e)}}async function U(){const e=s.toMinorUnitAmount(n.amount),t=v.value;return{checkoutConfig:{amount:e,clientKey:s.getAdyenClientKeyFromPaymentMethodOptionsResponse(n.paymentMethodOptionResponseEntry),environment:s.getAdyenEnvironmentFromPaymentMethodOptionsResponse(n.paymentMethodOptionResponseEntry,d),locale:C,translations:te(n.variant),countryCode:n.countryCode,analytics:{enabled:!1},paymentMethodsResponse:{paymentMethods:t},onSubmit:Y,onAdditionalDetails:K,onPaymentCompleted:q,onPaymentFailed:H,onError:V,showPayButton:!1},dropInConfig:{disableFinalAnimation:!0,paymentMethodsConfiguration:{card:{hasHolderName:!0,holderNameRequired:!0,enableStoreDetails:!n.forceStorePaymentMethod&&n.storePaymentMethod===void 0&&n.variant==="AUTHORIZE"},paypal:{intent:e.value>0?"authorize":"tokenize",showPayButton:!0}},openFirstPaymentMethod:n.selected,onSelect:({props:{type:a}})=>{a&&m("select",{paymentMethodType:a,paymentGatewayVariant:"ADYEN"})},onReady:()=>m("ready")}}}function F(){return Promise.all([X.loadAdyenSdk(),Promise.resolve().then(()=>require("./adyen-BJfC7N6f.js")).then(e=>e.default)])}async function b(){if(await R(),!k.value){const{payment_acceptor:e,integration:t}=n.paymentMethodOptionResponseEntry;d.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE","No Adyen payment methods to offer",{fingerprint:["PAYMENT_INTEGRATION_NOT_RENDERABLE",e.id],paymentAcceptorId:e.id,integrationId:t.id,...n.invoiceId?{invoiceId:n.invoiceId}:{}});return}if(await r.nextTick(),!!y.value)try{const[e,t]=await F(),{checkoutConfig:a,dropInConfig:o}=await U();P=await e.AdyenCheckout(a),u=new e.Dropin(P,{...o,paymentMethodComponents:e.dropInPaymentMethodComponents}).mount(y.value),z(t)}catch(e){d.error("PAYMENT_INTEGRATION_INITIALIZATION_FAILED","Failed to mount Adyen web drop-in",{error:e})}}async function R(){u&&(u.unmount(),u=null),y.value&&(y.value.innerHTML="")}function z(e){var a;const t=(a=y.value)==null?void 0:a.getRootNode();if(t instanceof ShadowRoot){const o=document.createElement("style");o.textContent=e,t.appendChild(o);const i=document.createElement("style");i.textContent=`
|
|
2
|
+
:host {
|
|
3
|
+
--adyen-sdk-color-background-secondary: transparent;
|
|
4
|
+
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
5
|
+
--adyen-sdk-color-outline-secondary: #e5e7eb;
|
|
6
|
+
--adyen-sdk-color-outline-primary: transparent;
|
|
7
|
+
--adyen-sdk-color-background-always-dark: var(--color-primary-500);
|
|
8
|
+
--adyen-sdk-color-background-inverse-primary-hover: var(--color-primary-600);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.adyen-checkout__payment-method__image__wrapper {
|
|
12
|
+
width: 32px;
|
|
13
|
+
height: 32px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.adyen-checkout__payment-method__image {
|
|
17
|
+
height: 32px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.adyen-checkout__input-wrapper,
|
|
21
|
+
.adyen-checkout__input {
|
|
22
|
+
border-color: rgb(229, 231, 235);
|
|
23
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.adyen-checkout__button,
|
|
27
|
+
.adyen-checkout__payment-method {
|
|
28
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.adyen-checkout__payment-method {
|
|
32
|
+
border-color: rgb(229, 231, 235);
|
|
33
|
+
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
34
|
+
transition: box-shadow 0.2s ease-in-out;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.adyen-checkout__payment-method--selected {
|
|
38
|
+
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.adyen-checkout__payment-method:after {
|
|
42
|
+
transform: scale(0%);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.adyen-checkout__paypal__button {
|
|
46
|
+
display: block !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.adyen-checkout__payment-methods-list {
|
|
50
|
+
gap: 4px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.adyen-checkout__dropdown__list {
|
|
54
|
+
background-color: white;
|
|
55
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.adyen-checkout__payment-method.adyen-checkout__payment-method--selected:after {
|
|
59
|
+
content: '✓';
|
|
60
|
+
width: 20px;
|
|
61
|
+
height: 20px;
|
|
62
|
+
border-radius: 10px;
|
|
63
|
+
background-color: var(--color-primary-600);
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 14px;
|
|
66
|
+
right: 14px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
line-height: 20px;
|
|
69
|
+
color: white;
|
|
70
|
+
transform: scale(100%);
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.adyen-checkout__payment-method__header {
|
|
75
|
+
padding: 8px 16px !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.adyen-checkout__payment-method__brands {
|
|
79
|
+
align-items: center;
|
|
80
|
+
}
|
|
81
|
+
.adyen-checkout__payment-method__brand-number {
|
|
82
|
+
line-height: 1;
|
|
83
|
+
}
|
|
84
|
+
.adyen-checkout__button__text {
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
}
|
|
87
|
+
.adyen-checkout__store-details {
|
|
88
|
+
background: transparent;
|
|
89
|
+
padding: 0;
|
|
90
|
+
}
|
|
91
|
+
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
92
|
+
border-color: rgb(229, 231, 235);
|
|
93
|
+
}
|
|
94
|
+
`,n.variant==="AUTHORIZE"&&(i.textContent+=`
|
|
95
|
+
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
`),t.appendChild(i)}}function O(e,{paymentMethodType:t,actions:a,logFailure:o}){if(e.status==="ACTION_REQUIRED"&&e.action.payment_gateway_variant===f){const i=Z(e,t);if(!i){o(e);return}u.handleAction(i),a.resolve({resultCode:e.action.adyen.result_code,action:i});return}if(e.payment.result==="AUTHORIZED"){I.value=!0,a.resolve({resultCode:"Authorised"});return}o(e),a.resolve({resultCode:"Error"})}function Y(...e){const[t,a,o]=e;n.validateOnSubmit().then(i=>{if(!i)return;const c=n.paymentMethodOptionResponseEntry.payment_acceptor.id,N={risk_data:s.transformObjectToAdyenObject(t.data.riskData),payment_method:s.transformObjectToAdyenObject(t.data.paymentMethod),browser_info:s.transformObjectToAdyenObject(t.data.browserInfo)};if(n.variant==="AUTHORIZE"){const E=s.createReturnUrl({paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id,redirectUrl:window.location.href});D({payment_acceptor_id:c,...n.customerId?{customer_id:n.customerId}:{},payment_gateway_variant:f,adyen:{...N,store_payment_method:n.storePaymentMethod??(n.forceStorePaymentMethod||t.data.storePaymentMethod)},amount:n.amount,...n.context?{context:n.context}:{},return_url:E}).then(p=>O(p,{paymentMethodType:t.data.paymentMethod.type,actions:o,logFailure:A=>d.error("PAYMENT_AUTHORIZATION_FAILED",`Failed payment authorization for payment acceptor with id ${c}`,{error:A})})).catch(p=>{d.error("PAYMENT_AUTHORIZATION_FAILED",`Failed payment authorization for payment acceptor with id ${c}`,{error:p}),o.resolve({resultCode:"Error"})});return}if(n.variant==="TOKENIZE"){const E=s.createReturnUrl({paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id,redirectUrl:window.location.href});if(!n.customerId){d.error("TOKENIZATION_FAILED",`Missing customer id for payment acceptor with id ${c}`);return}L({customer_id:n.customerId,payment_acceptor_id:c,payment_gateway_variant:f,adyen:N,return_url:E}).then(p=>O(p,{paymentMethodType:t.data.paymentMethod.type,actions:o,logFailure:A=>d.error("TOKENIZATION_FAILED",`Tokenization failed for payment acceptor with id ${c}`,{error:A})})).catch(p=>{d.error("TOKENIZATION_FAILED",`Tokenization failed for payment acceptor with id ${c}`,{error:p}),o.resolve({resultCode:"Error"})})}}).catch(i=>{d.error("INTEGRATION_ERROR","Unhandled error in payment submission flow",{},i)})}function Z(e,t){if(e.status!=="ACTION_REQUIRED")return;const a=e.action;if(a.payment_gateway_variant!="ADYEN")return;const o=a.adyen;return{paymentMethodType:(o==null?void 0:o.payment_method_type)??t,method:a.method,url:a.url,data:a.data,type:o==null?void 0:o.action_type,paymentData:o==null?void 0:o.payment_data,sdkData:o==null?void 0:o.sdk_data}}function K(...e){const[t]=e,a=t.data.details,o=t.data.paymentData;if(n.paymentMethodOptionResponseEntry.payment_acceptor.id){T({detailsResult:a?G(a):void 0,paymentDataResult:o,paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id});return}const i={code:"UNKNOWN_ERROR",message:"Payment failed",error:e};m("payment-failed",i),h.value=i}function G(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}function H(...e){const[t]=e,a={code:"UNKNOWN_ERROR",message:"Payment failed",error:t};m("payment-failed",a),h.value=a}function q(...e){const[,t]=e;t==null||t.unmount(),m("payment-success")}function V(...e){const[t,a]=e;if(t.name==="CANCEL")return;const o={code:"UNKNOWN_ERROR",message:"Something went wrong",error:t};d.error("INTEGRATION_ERROR","Something went wrong",{error:t}),h.value=o,a==null||a.unmount()}function T({detailsResult:e,threeDSResult:t,redirectResult:a,paymentDataResult:o,paymentAcceptorId:i}){S({paymentAcceptorId:i,paymentGatewayVariant:f,adyen:{...e?{details:e}:{},...a?{redirect_result:a}:{},...t?{threeds_result:t}:{},...o?{payment_data:o}:{}}}).then(c=>{if(c.payment_status==="FAILURE"){m("payment-failed",{code:"UNKNOWN_ERROR",message:"Failed getting payment details",error:c});return}if(c.payment_status==="SUCCESS"){m("payment-success");return}}).catch(c=>{d.error("PAYMENT_DETAILS_CALL_FAILED","Failed fetching payment details",{error:c})})}function $(){const e=w.getQueryParam(s.REDIRECT_RESULT_QUERY_STRING),t=w.getQueryParam(s.PAYMENT_ACCEPTOR_ID_QUERY_STRING);if(e){if(!t){d.error("INVALID_REDIRECT_RESULT","Redirect result is set but payment acceptor id is missing",{context:{redirectResult:e}});return}T({paymentAcceptorId:t,detailsResult:{redirectResult:decodeURI(e)}})}}return r.onMounted(()=>{b(),$()}),r.onBeforeUnmount(()=>{R()}),r.watch(()=>n.paymentMethodOptionResponseEntry,(e,t)=>{Q.isEqual(e,t)||b()},{deep:!0}),(e,t)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[I.value?(r.openBlock(),r.createBlock(B._sfc_main,{key:0,variant:l.variant,redirecting:l.redirectsOnSuccess},null,8,["variant","redirecting"])):h.value?(r.openBlock(),r.createBlock(B._sfc_main$1,{key:1,error:h.value},null,8,["error"])):r.createCommentVNode("",!0),k.value?(r.openBlock(),r.createElementBlock("div",{key:2,ref_key:"dropInContainerRef",ref:y},null,512)):r.createCommentVNode("",!0)],64))}});exports.default=ne;
|
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
import { defineComponent as C, ref as _, onMounted as M, onBeforeUnmount as U, watch as B, openBlock as I, createElementBlock as $, computed as w, createBlock as T, unref as V, createCommentVNode as Y } from "vue";
|
|
2
|
+
import { a as Z } from "./useService-Bh47bllz.mjs";
|
|
3
|
+
import { t as G, d as H, P as Q } from "./adyen-CvsH5fok.mjs";
|
|
4
|
+
import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs";
|
|
5
|
+
import { c as X } from "./payments-C_cMXQzE.mjs";
|
|
6
|
+
import { c as ee } from "./paymentMethods-BuwoJ1y9.mjs";
|
|
7
|
+
import { g as S } from "./url-DwiuKYpu.mjs";
|
|
8
|
+
import { b as te } from "./customElements-Com2NiGU.mjs";
|
|
9
|
+
const D = "https://js.stripe.com/dahlia/stripe.js", re = `<!DOCTYPE html>
|
|
10
|
+
<html>
|
|
11
|
+
<head>
|
|
12
|
+
<meta charset="UTF-8">
|
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
14
|
+
<style>
|
|
15
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
16
|
+
body { overflow: hidden; }
|
|
17
|
+
</style>
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<div id="stripe-root"></div>
|
|
21
|
+
<script src="${D}"><\/script>
|
|
22
|
+
<script>
|
|
23
|
+
(function () {
|
|
24
|
+
let stripe, elements, countryCode, email, name, parentOrigin;
|
|
25
|
+
|
|
26
|
+
window.addEventListener('message', function (event) {
|
|
27
|
+
if (!event.data || typeof event.data !== 'object') return;
|
|
28
|
+
if (event.source !== window.parent) return;
|
|
29
|
+
|
|
30
|
+
if (event.data.type === 'stripe:init') {
|
|
31
|
+
parentOrigin = event.origin;
|
|
32
|
+
countryCode = event.data.countryCode;
|
|
33
|
+
email = event.data.email;
|
|
34
|
+
name = event.data.name;
|
|
35
|
+
stripe = Stripe(event.data.publicKey);
|
|
36
|
+
elements = stripe.elements(event.data.options);
|
|
37
|
+
const paymentElement = elements.create('payment', { layout: { type: 'accordion', defaultCollapsed: false }, wallets: event.data.options.wallets, fields: event.data.options.fields });
|
|
38
|
+
|
|
39
|
+
paymentElement.on('ready', function () {
|
|
40
|
+
parent.postMessage({ type: 'stripe:ready' }, parentOrigin);
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
paymentElement.on('change', function (e) {
|
|
44
|
+
parent.postMessage({ type: 'stripe:change', paymentMethodType: e.value.type }, parentOrigin);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
paymentElement.on('loaderror', function (e) {
|
|
48
|
+
parent.postMessage({
|
|
49
|
+
type: 'stripe:loaderror',
|
|
50
|
+
error: { message: e.error.message, type: e.error.type }
|
|
51
|
+
}, parentOrigin);
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
paymentElement.mount('#stripe-root');
|
|
55
|
+
|
|
56
|
+
new ResizeObserver(function () {
|
|
57
|
+
parent.postMessage({
|
|
58
|
+
type: 'stripe:resize',
|
|
59
|
+
height: document.documentElement.scrollHeight
|
|
60
|
+
}, parentOrigin);
|
|
61
|
+
}).observe(document.documentElement);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (event.data.type === 'stripe:submit') {
|
|
65
|
+
if (!elements || !parentOrigin || event.origin !== parentOrigin) return;
|
|
66
|
+
const submitEmail = 'email' in event.data ? event.data.email : email;
|
|
67
|
+
const submitName = 'name' in event.data ? event.data.name : name;
|
|
68
|
+
elements.submit().then(function (submitResult) {
|
|
69
|
+
if (submitResult.error) {
|
|
70
|
+
parent.postMessage({
|
|
71
|
+
type: 'stripe:submit:error',
|
|
72
|
+
error: {
|
|
73
|
+
message: submitResult.error.message,
|
|
74
|
+
type: submitResult.error.type,
|
|
75
|
+
code: submitResult.error.code
|
|
76
|
+
}
|
|
77
|
+
}, parentOrigin);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const billingDetails = {};
|
|
81
|
+
if (countryCode) billingDetails.address = { country: countryCode };
|
|
82
|
+
if (submitEmail) billingDetails.email = submitEmail;
|
|
83
|
+
if (submitName) billingDetails.name = submitName;
|
|
84
|
+
const tokenParams = Object.keys(billingDetails).length
|
|
85
|
+
? { payment_method_data: { billing_details: billingDetails } }
|
|
86
|
+
: {};
|
|
87
|
+
stripe.createConfirmationToken({ elements: elements, params: tokenParams }).then(function (tokenResult) {
|
|
88
|
+
if (tokenResult.error) {
|
|
89
|
+
parent.postMessage({
|
|
90
|
+
type: 'stripe:submit:error',
|
|
91
|
+
error: {
|
|
92
|
+
message: tokenResult.error.message,
|
|
93
|
+
type: tokenResult.error.type,
|
|
94
|
+
code: tokenResult.error.code
|
|
95
|
+
}
|
|
96
|
+
}, parentOrigin);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
parent.postMessage({
|
|
100
|
+
type: 'stripe:submit:success',
|
|
101
|
+
confirmationTokenId: tokenResult.confirmationToken.id
|
|
102
|
+
}, parentOrigin);
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
})();
|
|
108
|
+
<\/script>
|
|
109
|
+
</body>
|
|
110
|
+
</html>`, ne = ["src", "height"], ae = /* @__PURE__ */ C({
|
|
111
|
+
__name: "PaymentIntegrationFormStripeFrame",
|
|
112
|
+
props: {
|
|
113
|
+
publicKey: { type: String },
|
|
114
|
+
options: { type: Object },
|
|
115
|
+
countryCode: { type: String },
|
|
116
|
+
email: { type: String },
|
|
117
|
+
name: { type: String }
|
|
118
|
+
},
|
|
119
|
+
emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
|
|
120
|
+
setup(m, { expose: f, emit: E }) {
|
|
121
|
+
const t = m, s = E;
|
|
122
|
+
f({ triggerSubmit: O });
|
|
123
|
+
const p = _(), d = _(0), g = _();
|
|
124
|
+
function h() {
|
|
125
|
+
var a, n;
|
|
126
|
+
(n = (a = p.value) == null ? void 0 : a.contentWindow) == null || n.postMessage(
|
|
127
|
+
{
|
|
128
|
+
type: "stripe:init",
|
|
129
|
+
publicKey: t.publicKey,
|
|
130
|
+
options: t.options,
|
|
131
|
+
countryCode: t.countryCode,
|
|
132
|
+
email: t.email,
|
|
133
|
+
name: t.name
|
|
134
|
+
},
|
|
135
|
+
"*"
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
function O() {
|
|
139
|
+
var a, n;
|
|
140
|
+
(n = (a = p.value) == null ? void 0 : a.contentWindow) == null || n.postMessage(
|
|
141
|
+
{ type: "stripe:submit", email: t.email, name: t.name },
|
|
142
|
+
"*"
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
function l(a) {
|
|
146
|
+
return typeof a == "object" && a !== null;
|
|
147
|
+
}
|
|
148
|
+
function c(a) {
|
|
149
|
+
if (!p.value || a.source !== p.value.contentWindow || !l(a.data)) return;
|
|
150
|
+
const n = a.data, R = n.type;
|
|
151
|
+
if (!(typeof R != "string" || !R.startsWith("stripe:")))
|
|
152
|
+
switch (R) {
|
|
153
|
+
case "stripe:ready":
|
|
154
|
+
s("ready");
|
|
155
|
+
break;
|
|
156
|
+
case "stripe:change":
|
|
157
|
+
s(
|
|
158
|
+
"change",
|
|
159
|
+
typeof n.paymentMethodType == "string" ? n.paymentMethodType : "card"
|
|
160
|
+
);
|
|
161
|
+
break;
|
|
162
|
+
case "stripe:loaderror": {
|
|
163
|
+
const u = l(n.error) ? n.error : {};
|
|
164
|
+
s("loaderror", {
|
|
165
|
+
message: typeof u.message == "string" ? u.message : void 0,
|
|
166
|
+
type: typeof u.type == "string" ? u.type : void 0
|
|
167
|
+
});
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
case "stripe:resize":
|
|
171
|
+
typeof n.height == "number" && (d.value = n.height);
|
|
172
|
+
break;
|
|
173
|
+
case "stripe:submit:success":
|
|
174
|
+
typeof n.confirmationTokenId == "string" && s("submit-success", n.confirmationTokenId);
|
|
175
|
+
break;
|
|
176
|
+
case "stripe:submit:error": {
|
|
177
|
+
const u = l(n.error) ? n.error : {};
|
|
178
|
+
s("submit-error", {
|
|
179
|
+
message: typeof u.message == "string" ? u.message : void 0,
|
|
180
|
+
type: typeof u.type == "string" ? u.type : void 0,
|
|
181
|
+
code: typeof u.code == "string" ? u.code : void 0
|
|
182
|
+
});
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return M(() => {
|
|
188
|
+
const a = new Blob([re], { type: "text/html" });
|
|
189
|
+
g.value = URL.createObjectURL(a), window.addEventListener("message", c);
|
|
190
|
+
}), U(() => {
|
|
191
|
+
window.removeEventListener("message", c), g.value && URL.revokeObjectURL(g.value);
|
|
192
|
+
}), B(
|
|
193
|
+
() => t.options,
|
|
194
|
+
(a, n) => {
|
|
195
|
+
Z(a, n) || h();
|
|
196
|
+
},
|
|
197
|
+
{ deep: !0 }
|
|
198
|
+
), (a, n) => (I(), $("iframe", {
|
|
199
|
+
ref_key: "iframeRef",
|
|
200
|
+
ref: p,
|
|
201
|
+
src: g.value,
|
|
202
|
+
height: d.value || void 0,
|
|
203
|
+
frameborder: "0",
|
|
204
|
+
style: { width: "100%", display: "block", border: "none" },
|
|
205
|
+
title: "Payment form",
|
|
206
|
+
onLoad: h
|
|
207
|
+
}, null, 40, ne));
|
|
208
|
+
}
|
|
209
|
+
}), A = { link: "never" }, k = {
|
|
210
|
+
variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
|
|
211
|
+
rules: {
|
|
212
|
+
".TermsText": { fontSize: "14px" },
|
|
213
|
+
".Input": {
|
|
214
|
+
backgroundColor: "rgba(243, 244, 246, 0.5)",
|
|
215
|
+
fontSize: "14px",
|
|
216
|
+
borderColor: "rgb(229, 231, 235)"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
function oe(m, f) {
|
|
221
|
+
return {
|
|
222
|
+
billingDetails: {
|
|
223
|
+
address: { country: "never" },
|
|
224
|
+
...m ? { email: "never" } : {},
|
|
225
|
+
...f ? { name: "never" } : {}
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function ie({
|
|
230
|
+
amount: m,
|
|
231
|
+
email: f,
|
|
232
|
+
name: E,
|
|
233
|
+
variant: t,
|
|
234
|
+
storePaymentMethod: s = !1
|
|
235
|
+
}) {
|
|
236
|
+
const p = m.currency.toLowerCase(), d = oe(f, E);
|
|
237
|
+
return t === "TOKENIZE" ? {
|
|
238
|
+
mode: "setup",
|
|
239
|
+
currency: p,
|
|
240
|
+
setup_future_usage: "off_session",
|
|
241
|
+
wallets: A,
|
|
242
|
+
fields: d,
|
|
243
|
+
appearance: k
|
|
244
|
+
} : {
|
|
245
|
+
mode: "payment",
|
|
246
|
+
currency: p,
|
|
247
|
+
amount: G(m).value,
|
|
248
|
+
...s ? { setup_future_usage: "off_session" } : {},
|
|
249
|
+
wallets: A,
|
|
250
|
+
fields: d,
|
|
251
|
+
appearance: k
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
const v = "STRIPE", fe = /* @__PURE__ */ C({
|
|
255
|
+
__name: "PaymentIntegrationFormStripe",
|
|
256
|
+
props: {
|
|
257
|
+
email: { type: String },
|
|
258
|
+
name: { type: String },
|
|
259
|
+
countryCode: { type: String },
|
|
260
|
+
customerId: { type: String },
|
|
261
|
+
invoiceId: { type: String },
|
|
262
|
+
paymentMethodOptionResponseEntry: { type: Object },
|
|
263
|
+
variant: { type: String },
|
|
264
|
+
selected: { type: Boolean },
|
|
265
|
+
amount: { type: Object },
|
|
266
|
+
validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
|
|
267
|
+
context: { type: Object },
|
|
268
|
+
forceStorePaymentMethod: { type: Boolean },
|
|
269
|
+
storePaymentMethod: { type: Boolean },
|
|
270
|
+
redirectsOnSuccess: { type: Boolean }
|
|
271
|
+
},
|
|
272
|
+
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
273
|
+
setup(m, { expose: f, emit: E }) {
|
|
274
|
+
const t = m, s = E;
|
|
275
|
+
f({ submit: u });
|
|
276
|
+
const p = _(!1), d = _(), g = _(), h = w(
|
|
277
|
+
() => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
|
|
278
|
+
), O = w(
|
|
279
|
+
() => ie({
|
|
280
|
+
amount: t.amount,
|
|
281
|
+
email: t.email,
|
|
282
|
+
name: t.name,
|
|
283
|
+
variant: t.variant,
|
|
284
|
+
storePaymentMethod: h.value
|
|
285
|
+
})
|
|
286
|
+
), l = _(null), c = te(), { authorizePayment: a } = X(), { tokenizePaymentMethod: n } = ee(), R = w(
|
|
287
|
+
() => {
|
|
288
|
+
var e, r;
|
|
289
|
+
return (r = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : r.public_key;
|
|
290
|
+
}
|
|
291
|
+
);
|
|
292
|
+
function u() {
|
|
293
|
+
L().catch((e) => {
|
|
294
|
+
c.error(
|
|
295
|
+
"STRIPE_SUBMIT_FAILED",
|
|
296
|
+
"Unexpected error during Stripe submission",
|
|
297
|
+
{},
|
|
298
|
+
e
|
|
299
|
+
);
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
async function L() {
|
|
303
|
+
var r;
|
|
304
|
+
await t.validateOnSubmit() && ((r = g.value) == null || r.triggerSubmit());
|
|
305
|
+
}
|
|
306
|
+
function F(e) {
|
|
307
|
+
return new Promise((r, i) => {
|
|
308
|
+
if (window.Stripe) {
|
|
309
|
+
r(window.Stripe(e));
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
const o = document.createElement("script");
|
|
313
|
+
o.src = D, o.onload = () => {
|
|
314
|
+
if (!window.Stripe) {
|
|
315
|
+
i(new Error("Stripe not available after script load"));
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
r(window.Stripe(e));
|
|
319
|
+
}, o.onerror = () => i(new Error("Failed to load Stripe.js")), document.head.appendChild(o);
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
async function x() {
|
|
323
|
+
if (l.value)
|
|
324
|
+
return l.value;
|
|
325
|
+
const e = R.value;
|
|
326
|
+
if (!e)
|
|
327
|
+
throw new Error("Missing Stripe public key");
|
|
328
|
+
const r = await F(e);
|
|
329
|
+
return l.value = r, r;
|
|
330
|
+
}
|
|
331
|
+
async function K(e) {
|
|
332
|
+
const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, i = H({
|
|
333
|
+
paymentAcceptorId: r,
|
|
334
|
+
redirectUrl: window.location.href
|
|
335
|
+
});
|
|
336
|
+
if (t.variant === "AUTHORIZE") {
|
|
337
|
+
try {
|
|
338
|
+
const o = await a({
|
|
339
|
+
payment_acceptor_id: r,
|
|
340
|
+
...t.customerId ? { customer_id: t.customerId } : {},
|
|
341
|
+
payment_gateway_variant: v,
|
|
342
|
+
stripe: { confirmation_token_id: e },
|
|
343
|
+
amount: t.amount,
|
|
344
|
+
...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
|
|
345
|
+
return_url: i
|
|
346
|
+
});
|
|
347
|
+
await N(o);
|
|
348
|
+
} catch (o) {
|
|
349
|
+
c.error(
|
|
350
|
+
"PAYMENT_AUTHORIZATION_FAILED",
|
|
351
|
+
`Failed payment authorization for payment acceptor with id ${r}`,
|
|
352
|
+
{ error: o }
|
|
353
|
+
), y({ code: "UNKNOWN_ERROR", message: "Payment authorization failed", error: o });
|
|
354
|
+
}
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
if (t.variant === "TOKENIZE") {
|
|
358
|
+
if (!t.customerId) {
|
|
359
|
+
c.error(
|
|
360
|
+
"TOKENIZATION_FAILED",
|
|
361
|
+
`Missing customer id for payment acceptor with id ${r}`
|
|
362
|
+
);
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
try {
|
|
366
|
+
const o = await n({
|
|
367
|
+
customer_id: t.customerId,
|
|
368
|
+
payment_acceptor_id: r,
|
|
369
|
+
payment_gateway_variant: v,
|
|
370
|
+
stripe: { confirmation_token_id: e },
|
|
371
|
+
return_url: i
|
|
372
|
+
});
|
|
373
|
+
await N(o);
|
|
374
|
+
} catch (o) {
|
|
375
|
+
c.error(
|
|
376
|
+
"TOKENIZATION_FAILED",
|
|
377
|
+
`Tokenization failed for payment acceptor with id ${r}`,
|
|
378
|
+
{ error: o }
|
|
379
|
+
), y({ code: "UNKNOWN_ERROR", message: "Tokenization failed", error: o });
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
async function N(e) {
|
|
384
|
+
var r;
|
|
385
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === v) {
|
|
386
|
+
const i = e.action.client_secret || ((r = e.action.data) == null ? void 0 : r.client_secret);
|
|
387
|
+
if (!i) {
|
|
388
|
+
c.error(
|
|
389
|
+
"STRIPE_ACTION_FAILED",
|
|
390
|
+
"Missing client_secret in Stripe ACTION_REQUIRED response"
|
|
391
|
+
), y({ code: "UNKNOWN_ERROR", message: "Payment action failed", error: e });
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
let o;
|
|
395
|
+
try {
|
|
396
|
+
o = await x();
|
|
397
|
+
} catch (P) {
|
|
398
|
+
c.error("STRIPE_ACTION_FAILED", "Failed to load Stripe.js", { error: P }), y({ code: "UNKNOWN_ERROR", message: "Payment action failed", error: P });
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
const { error: b } = await o.handleNextAction({ clientSecret: i });
|
|
402
|
+
if (b) {
|
|
403
|
+
c.error("STRIPE_ACTION_FAILED", "Stripe handleNextAction failed", { error: b }), y({ code: "UNKNOWN_ERROR", message: "Payment action failed", error: b });
|
|
404
|
+
return;
|
|
405
|
+
}
|
|
406
|
+
p.value = !0, s("payment-success");
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
if (e.status === "SUCCESS") {
|
|
410
|
+
p.value = !0, s("payment-success");
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
413
|
+
c.error("STRIPE_ACTION_FAILED", "Unexpected payment result status", { error: e }), y({ code: "UNKNOWN_ERROR", message: "Payment failed", error: e });
|
|
414
|
+
}
|
|
415
|
+
async function W() {
|
|
416
|
+
const e = t.paymentMethodOptionResponseEntry.payment_acceptor.id;
|
|
417
|
+
if (S(Q) !== e) return;
|
|
418
|
+
const i = S("redirect_status"), o = S("payment_intent_client_secret"), b = S("setup_intent_client_secret");
|
|
419
|
+
if (!(!i || !o && !b)) {
|
|
420
|
+
if (i === "succeeded") {
|
|
421
|
+
p.value = !0, s("payment-success");
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
424
|
+
c.error("STRIPE_REDIRECT_RETURN_FAILED", "Stripe redirect returned non-succeeded status", {
|
|
425
|
+
redirectStatus: i
|
|
426
|
+
}), y({
|
|
427
|
+
code: "UNKNOWN_ERROR",
|
|
428
|
+
message: "Payment failed",
|
|
429
|
+
error: new globalThis.Error(`Stripe redirect returned status: ${i}`)
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
function j() {
|
|
434
|
+
s("select", {
|
|
435
|
+
paymentMethodType: "card",
|
|
436
|
+
paymentGatewayVariant: v
|
|
437
|
+
}), s("ready");
|
|
438
|
+
}
|
|
439
|
+
function z(e) {
|
|
440
|
+
y({
|
|
441
|
+
code: "UNKNOWN_ERROR",
|
|
442
|
+
message: e.message ?? "Failed to load payment form",
|
|
443
|
+
error: e
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
function y(e) {
|
|
447
|
+
d.value = e, s("payment-failed", e);
|
|
448
|
+
}
|
|
449
|
+
return M(() => {
|
|
450
|
+
W().catch((e) => {
|
|
451
|
+
c.error("STRIPE_REDIRECT_RETURN_FAILED", "handleRedirectReturn threw unexpectedly", {
|
|
452
|
+
error: e
|
|
453
|
+
});
|
|
454
|
+
});
|
|
455
|
+
}), U(() => {
|
|
456
|
+
l.value = null;
|
|
457
|
+
}), (e, r) => p.value ? (I(), T(q, {
|
|
458
|
+
key: 0,
|
|
459
|
+
variant: m.variant,
|
|
460
|
+
redirecting: m.redirectsOnSuccess
|
|
461
|
+
}, null, 8, ["variant", "redirecting"])) : d.value ? (I(), T(J, {
|
|
462
|
+
key: 1,
|
|
463
|
+
error: d.value
|
|
464
|
+
}, null, 8, ["error"])) : R.value ? (I(), T(ae, {
|
|
465
|
+
key: 2,
|
|
466
|
+
ref_key: "frameRef",
|
|
467
|
+
ref: g,
|
|
468
|
+
"public-key": R.value,
|
|
469
|
+
options: O.value,
|
|
470
|
+
"country-code": m.countryCode,
|
|
471
|
+
email: m.email,
|
|
472
|
+
name: m.name,
|
|
473
|
+
onReady: j,
|
|
474
|
+
onChange: r[0] || (r[0] = (i) => s("select", {
|
|
475
|
+
paymentMethodType: i,
|
|
476
|
+
paymentGatewayVariant: v
|
|
477
|
+
})),
|
|
478
|
+
onLoaderror: z,
|
|
479
|
+
onSubmitSuccess: K,
|
|
480
|
+
onSubmitError: r[1] || (r[1] = (i) => V(c).error("STRIPE_CONFIRMATION_TOKEN_FAILED", "Stripe submission failed", {
|
|
481
|
+
error: i
|
|
482
|
+
}))
|
|
483
|
+
}, null, 8, ["public-key", "options", "country-code", "email", "name"])) : Y("", !0);
|
|
484
|
+
}
|
|
485
|
+
});
|
|
486
|
+
export {
|
|
487
|
+
fe as default
|
|
488
|
+
};
|