@solvimon/solvimon-web 0.1.0-alpha.21 → 0.1.0-alpha.23
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 +3 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js} +1 -1
- package/dist/Alert.vue.es-RyK53a2P.js +1 -0
- package/dist/Alert.vue.es-lIiAWf2S.mjs +146 -0
- package/dist/{Avatar.vue.es-ChcLSNaN.mjs → Avatar.vue.es-2E3laNRb.mjs} +1 -1
- package/dist/{Avatar.vue.es-CJw5z7Uu.js → Avatar.vue.es-DdJreyr_.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js → BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs} +4 -4
- package/dist/{Button.vue.es-VQCd3V3C.mjs → Button.vue.es-BJEy-e9C.mjs} +1 -1
- package/dist/{Button.vue.es-BWl37nzm.js → Button.vue.es-CJNxYacb.js} +1 -1
- package/dist/Checkout.entry.ce-BfLlnQyb.js +1 -0
- package/dist/{Checkout.entry.ce-DRHqEFd7.mjs → Checkout.entry.ce-CQkrWscC.mjs} +1397 -1302
- package/dist/{Chip.vue.es-CXG8o1Qf.mjs → Chip.vue.es-DGbc4L_D.mjs} +2 -2
- package/dist/{Chip.vue.es-DUgjuRWm.js → Chip.vue.es-DLQ4QEPo.js} +1 -1
- package/dist/{ContextMenu.vue.es-BllxeDTt.js → ContextMenu.vue.es-Bd2kmeVq.js} +1 -1
- package/dist/{ContextMenu.vue.es-C6TKlSXs.mjs → ContextMenu.vue.es-DL1M7pcr.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-CKQH_ds0.mjs → CustomerBillingInformation.vue.es-CE94ASC3.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-CMCZ-lIM.js → CustomerBillingInformation.vue.es-hiFzB43w.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs} +5 -5
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs} +486 -502
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js +1 -0
- package/dist/{DividerText.vue.es-Bomiy4if.mjs → DividerText.vue.es-CFZUQ62L.mjs} +1 -1
- package/dist/{DividerText.vue.es-BBdydUy_.js → DividerText.vue.es-CvCgHHXN.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js} +1 -1
- package/dist/{ErrorNotification.vue.es-C6ngWAVU.mjs → ErrorNotification.vue.es-B3mvv79S.mjs} +2 -2
- package/dist/ErrorNotification.vue.es-DI2B7WiR.js +1 -0
- package/dist/IconButton.vue.es-Dp8h4YOx.js +1 -0
- package/dist/IconButton.vue.es-GLcGhoHC.mjs +56 -0
- package/dist/{IconTitle.vue.es-Bbusc4wK.mjs → IconTitle.vue.es-CzuPQtOX.mjs} +3 -3
- package/dist/{IconTitle.vue.es-D-q6w2E-.js → IconTitle.vue.es-DN9r6nfK.js} +1 -1
- package/dist/{Input.vue.es-AY1c0Rui.mjs → Input.vue.es-5Cq8a7oH.mjs} +2 -2
- package/dist/{Input.vue.es-BN95nPBw.js → Input.vue.es-DM81HeVv.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js} +1 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js +1 -0
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs} +3 -3
- package/dist/{InvoiceSummary.vue.es-Bs5c2Ovx.mjs → InvoiceSummary.vue.es-DbtqsTuP.mjs} +692 -705
- package/dist/InvoiceSummary.vue.es-Qy99kLZs.js +1 -0
- package/dist/{Modal.vue.es-Chi6_MH_.js → Modal.vue.es-DgLl6XBV.js} +1 -1
- package/dist/{Modal.vue.es-DSkC4eMv.mjs → Modal.vue.es-Z2DWAN2u.mjs} +5 -5
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs +294 -0
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-budeR7ep.mjs → PaymentHistoryBlock-CjP_514k.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-DGJ_PiVq.js → PaymentHistoryBlock-DS1j-8m-.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-DqqGcEP1.js → PaymentIntegrationForm-80b19Lkq.js} +1 -1
- package/dist/{PaymentIntegrationForm-Crrhar96.mjs → PaymentIntegrationForm-CpOZUf-W.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs} +3 -3
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js} +1 -1
- package/dist/{PaymentIntegrationFormAdyen-DM-xMcm0.mjs → PaymentIntegrationFormAdyen-BQcgDcik.mjs} +281 -204
- package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +98 -0
- package/dist/PaymentIntegrationFormStripe-CMwLqOe6.js +102 -0
- package/dist/{PaymentIntegrationFormStripe-yBm4KnpV.mjs → PaymentIntegrationFormStripe-Dx1H3fZ2.mjs} +249 -178
- package/dist/{PaymentMethod.vue.es-BdMcKq8_.mjs → PaymentMethod.vue.es-EhRCfeax.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-Ctw9Es1g.js → PaymentMethod.vue.es-pLCCzVxN.js} +1 -1
- package/dist/{PaymentMethodForm-BQ5TVHlS.js → PaymentMethodForm-Bw2e1tXo.js} +1 -1
- package/dist/{PaymentMethodForm-C1bIGX10.mjs → PaymentMethodForm-D3OY8zK5.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs} +5 -5
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs} +6 -6
- package/dist/PlanCustomizationEditor-BQqkgmzL.mjs +877 -0
- package/dist/PlanCustomizationEditor-RC8kj2rC.js +1 -0
- package/dist/{PricingGroupRangeInput.vue.es-D82XvoC_.js → PricingGroupRangeInput.vue.es-ClkE98ML.js} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-Bnb-ARie.mjs → PricingGroupRangeInput.vue.es-DNsiUZyT.mjs} +4 -4
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js} +1 -1
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs} +5 -5
- package/dist/RadioGroupExtended.vue.es-Dk9xdj76.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-WDbo_yj1.mjs → RadioGroupExtended.vue.es-vUqn2ZUP.mjs} +3 -3
- package/dist/{Section.vue.es-By1JltGi.mjs → Section.vue.es-C2_topx4.mjs} +1 -1
- package/dist/{Section.vue.es-DuK52y67.js → Section.vue.es-Cybk1Nb8.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js} +1 -1
- package/dist/{SubscriptionSchedules-DDCjVEbG.mjs → SubscriptionSchedules-BlCU_xc5.mjs} +1 -1
- package/dist/{SubscriptionSchedules-DEjIERyF.js → SubscriptionSchedules-CNTg_oRy.js} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js +1 -0
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs} +1655 -1620
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs} +3 -3
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs} +7 -7
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-DYu2ReL7.mjs → TooltipParagraph.vue.es-Fu9Od3Vr.mjs} +1 -1
- package/dist/{TooltipParagraph.vue.es-sTgWAgcd.js → TooltipParagraph.vue.es-OX6bAWP9.js} +1 -1
- package/dist/{TrialChip.vue.es-Cl-9_pdr.js → TrialChip.vue.es-CbjdkR4i.js} +1 -1
- package/dist/{TrialChip.vue.es-DX53r0ku.mjs → TrialChip.vue.es-c7tZOIW3.mjs} +2 -2
- package/dist/{cn.es-DjnGlmqV.mjs → cn.es-C8Ogac5T.mjs} +2 -2
- package/dist/{cn.es-CNvIP217.js → cn.es-lC4_Xd0R.js} +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +10 -10
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +8 -8
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +26 -23
- package/dist/{customElements-Bt8PbjIn.js → customElements-BYIdPSzQ.js} +43 -19
- package/dist/{customElements-Com2NiGU.mjs → customElements-Df6dGrN-.mjs} +603 -572
- package/dist/{customer-CKgMJEgv.mjs → customer-DmsKYpVi.mjs} +1 -1
- package/dist/{customer-Q4JGfVfq.js → customer-DoLHZuMG.js} +1 -1
- package/dist/{de-DE-DqLD4IX2.js → de-DE-BSlbAnPE.js} +1 -1
- package/dist/{de-DE-CVCmzlNH.mjs → de-DE-Bgm9bnmp.mjs} +21 -0
- package/dist/{de-DE-Ds_yJLS3.js → de-DE-CAL9Mji2.js} +1 -1
- package/dist/{de-DE-DBO5f-Eu.mjs → de-DE-DXsG-vXA.mjs} +13 -8
- package/dist/{en-US-CvFmmI_O.js → en-US-9xdcz3T5.js} +1 -1
- package/dist/{en-US-3UmnS23B.mjs → en-US-C939IZ5i.mjs} +13 -8
- package/dist/{en-US-DVR9O7b_.mjs → en-US-E86eRIxh.mjs} +21 -0
- package/dist/{en-US-C51ILrVv.js → en-US-_xe5H4TQ.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-CV9iAUHf.mjs → invoices-CrO6p4Ms.mjs} +8 -5
- package/dist/invoices-mw87cNTS.js +1 -0
- package/dist/{it-IT-CxBRisRm.mjs → it-IT-BxpwB3oJ.mjs} +8 -3
- package/dist/it-IT-DT3rfjOY.js +1 -0
- package/dist/{it-IT-Dxw59eR_.js → it-IT-QFQ1Ajbb.js} +1 -1
- package/dist/{it-IT-CDMnnFKZ.mjs → it-IT-co1BfV5s.mjs} +23 -2
- package/dist/{nl-NL-Btbfd9p2.js → nl-NL-CJXJC1bx.js} +1 -1
- package/dist/nl-NL-DfkhOJKc.js +1 -0
- package/dist/{nl-NL-o3UvtSNg.mjs → nl-NL-Drv2E66B.mjs} +21 -0
- package/dist/{nl-NL-BWGkVweu.mjs → nl-NL-na2I4aiP.mjs} +8 -3
- package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
- package/dist/paymentFailure-Cki8c5BX.js +1 -0
- package/dist/{paymentMethods-BuwoJ1y9.mjs → paymentMethods-BNQbW_f1.mjs} +1 -1
- package/dist/{paymentMethods-ChWAwDSF.js → paymentMethods-CQdhZwq4.js} +1 -1
- package/dist/{payments-DGckugN0.js → payments-KTjVHqOa.js} +1 -1
- package/dist/{payments-C_cMXQzE.mjs → payments-VS_N2xpJ.mjs} +1 -1
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
- package/dist/{pricingItemConfigs.es-DMf1e6y7.mjs → pricingItemConfigs.es-ORxsk_YS.mjs} +23 -22
- package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +21 -21
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +14 -14
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +21 -21
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
- package/dist/sessionReference-3h-6FdrC.mjs +43 -0
- package/dist/sessionReference-m_6Rp4X1.js +1 -0
- package/dist/{subscription-CvfAEJeP.mjs → subscription-CrVOr5MF.mjs} +1 -1
- package/dist/{subscription-9GORG-Gt.js → subscription-ZA62t4E9.js} +1 -1
- package/dist/subscriptions-Dugd-oZ1.js +1 -0
- package/dist/{subscriptions-B5VqRayX.mjs → subscriptions-U4xg2CO1.mjs} +2 -2
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +10 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
- package/dist/types/types/errors.d.ts +5 -0
- package/dist/{useActionDispatchProvider-B54GYEY7.js → useActionDispatchProvider-CTyDGRX8.js} +1 -1
- package/dist/{useActionDispatchProvider-e2lQXTid.mjs → useActionDispatchProvider-DyQbRCxR.mjs} +1 -1
- package/dist/{useCustomer-BJwJ9BkJ.js → useCustomer-BXI5Vmit.js} +1 -1
- package/dist/{useCustomer-CC9zxV6c.mjs → useCustomer-dcmU1539.mjs} +1 -1
- package/dist/useCustomerFormLabels-BC1WfqWo.mjs +968 -0
- package/dist/useCustomerFormLabels-Ct6vD_b8.js +1 -0
- package/dist/{useExperimentalFeature-B0IFn3Uw.mjs → useExperimentalFeature-4Y-ppDr7.mjs} +1 -1
- package/dist/{useExperimentalFeature-8Mzpj5wc.js → useExperimentalFeature-9-p9_nP6.js} +1 -1
- package/dist/{useInvoiceData-6mHUZC9a.mjs → useInvoiceData-B2Z9aD2w.mjs} +2 -2
- package/dist/{useInvoiceData-Bblwdl0f.js → useInvoiceData-CGvtl7Ai.js} +1 -1
- package/dist/{useInvoicesList-_U1-tn9_.js → useInvoicesList-Ba0GO8p-.js} +1 -1
- package/dist/{useInvoicesList-B5H5JfvY.mjs → useInvoicesList-DJPznhig.mjs} +7 -7
- package/dist/{useLoadInitialData-CezlvhBV.js → useLoadInitialData-BO9ZsSsF.js} +1 -1
- package/dist/{useLoadInitialData-ux_wpNiR.mjs → useLoadInitialData-CWyI3_RR.mjs} +1 -1
- package/dist/{usePaymentMethodAvailability-CkR4TwoV.mjs → usePaymentMethodAvailability-DqIvkjLF.mjs} +4 -4
- package/dist/{usePaymentMethodAvailability-DRwrBdto.js → usePaymentMethodAvailability-bkmDrPXY.js} +1 -1
- package/dist/{usePaymentMethodOptions-B6GIM9q4.js → usePaymentMethodOptions-BPBVGNDg.js} +1 -1
- package/dist/{usePaymentMethodOptions-BfnLBZOo.mjs → usePaymentMethodOptions-MSEp39xQ.mjs} +1 -1
- package/dist/{usePaymentMethods-GFmQRp0X.js → usePaymentMethods-BAOtOJZD.js} +1 -1
- package/dist/{usePaymentMethods-C3QfLSrP.mjs → usePaymentMethods-U7gnZ0F5.mjs} +1 -1
- package/dist/{usePayments-BkwGyZT0.mjs → usePayments-Dq2V6bTV.mjs} +6 -6
- package/dist/{usePayments-SQF_V7oL.js → usePayments-G-HpKpK8.js} +1 -1
- package/dist/{usePortal-BdM7hDge.js → usePortal-BplmMkBG.js} +1 -1
- package/dist/{usePortal-DDG9b6FI.mjs → usePortal-CMHV-ShD.mjs} +1 -1
- package/dist/{useSubscription-Q4C2DPhw.js → useSubscription-CvB8ROBt.js} +1 -1
- package/dist/{useSubscription-BJJYHYgr.mjs → useSubscription-V53WsZwQ.mjs} +1 -1
- package/dist/{useTimePeriod.es-pepm2TpV.js → useTimePeriod.es-CtCTu9cz.js} +1 -1
- package/dist/{useTimePeriod.es-9tZvAhyb.mjs → useTimePeriod.es-D31Zl1MJ.mjs} +1 -1
- package/dist/wallets.es-CNIMW5ay.js +1 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/package.json +2 -1
- package/dist/Checkout.entry.ce-BTVuGyNq.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +0 -1
- package/dist/ErrorNotification.vue.es-0ZC_DozN.js +0 -1
- package/dist/IconButton.vue.es-DAR7e8NA.mjs +0 -198
- package/dist/IconButton.vue.es-DGLIdHkR.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +0 -1
- package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +0 -144
- package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +0 -98
- package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +0 -102
- package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +0 -769
- package/dist/PlanCustomizationEditor-CiZnVCM6.js +0 -1
- package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +0 -1
- package/dist/component-5wqcK7yz.mjs +0 -8
- package/dist/component-B7ZDyqBp.js +0 -1
- package/dist/invoices-CvpL4rv5.js +0 -1
- package/dist/it-IT-CFEfSpPH.js +0 -1
- package/dist/nl-NL-jtVgF3jx.js +0 -1
- package/dist/pricingItemConfigs.es-DlybwIh1.js +0 -1
- package/dist/pricingPlanSchedule-COfmWv_o.js +0 -1
- package/dist/pricingPlanSchedule-J1nb9pCu.mjs +0 -129
- package/dist/subscriptions-X0Ciw8z3.js +0 -1
- package/dist/useCustomerFormLabels-72Pxw8X5.js +0 -1
- package/dist/useCustomerFormLabels-V2YuYMLU.mjs +0 -930
package/dist/{PaymentIntegrationFormStripe-yBm4KnpV.mjs → PaymentIntegrationFormStripe-Dx1H3fZ2.mjs}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { c as
|
|
6
|
-
import { c as
|
|
7
|
-
import { g as
|
|
8
|
-
import { b as
|
|
9
|
-
|
|
1
|
+
import { defineComponent as D, ref as g, onMounted as L, onBeforeUnmount as M, watch as B, openBlock as v, createElementBlock as Y, computed as h, createBlock as N, unref as G, createCommentVNode as $ } from "vue";
|
|
2
|
+
import { a as W } from "./useService-Bh47bllz.mjs";
|
|
3
|
+
import { t as V, d as Q, P as X } from "./adyen-CvsH5fok.mjs";
|
|
4
|
+
import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs";
|
|
5
|
+
import { c as ee } from "./payments-VS_N2xpJ.mjs";
|
|
6
|
+
import { c as te } from "./paymentMethods-BNQbW_f1.mjs";
|
|
7
|
+
import { g as b } from "./url-DwiuKYpu.mjs";
|
|
8
|
+
import { b as re } from "./customElements-Df6dGrN-.mjs";
|
|
9
|
+
import { c as ne, a as ae } from "./paymentFailure-Bh60UhxA.mjs";
|
|
10
|
+
const F = "https://js.stripe.com/dahlia/stripe.js", oe = `<!DOCTYPE html>
|
|
10
11
|
<html>
|
|
11
12
|
<head>
|
|
12
13
|
<meta charset="UTF-8">
|
|
@@ -18,7 +19,7 @@ body { overflow: hidden; }
|
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
20
21
|
<div id="stripe-root"></div>
|
|
21
|
-
<script src="${
|
|
22
|
+
<script src="${F}"><\/script>
|
|
22
23
|
<script>
|
|
23
24
|
(function () {
|
|
24
25
|
let stripe, elements, countryCode, email, name, parentOrigin;
|
|
@@ -107,7 +108,7 @@ body { overflow: hidden; }
|
|
|
107
108
|
})();
|
|
108
109
|
<\/script>
|
|
109
110
|
</body>
|
|
110
|
-
</html>`,
|
|
111
|
+
</html>`, ie = ["src", "height"], se = /* @__PURE__ */ D({
|
|
111
112
|
__name: "PaymentIntegrationFormStripeFrame",
|
|
112
113
|
props: {
|
|
113
114
|
publicKey: { type: String },
|
|
@@ -117,13 +118,13 @@ body { overflow: hidden; }
|
|
|
117
118
|
name: { type: String }
|
|
118
119
|
},
|
|
119
120
|
emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
|
|
120
|
-
setup(
|
|
121
|
-
const t =
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
function
|
|
125
|
-
var
|
|
126
|
-
(
|
|
121
|
+
setup(p, { expose: I, emit: A }) {
|
|
122
|
+
const t = p, c = A;
|
|
123
|
+
I({ triggerSubmit: O });
|
|
124
|
+
const u = g(), d = g(0), E = g();
|
|
125
|
+
function S() {
|
|
126
|
+
var i, a;
|
|
127
|
+
(a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
|
|
127
128
|
{
|
|
128
129
|
type: "stripe:init",
|
|
129
130
|
publicKey: t.publicKey,
|
|
@@ -136,77 +137,77 @@ body { overflow: hidden; }
|
|
|
136
137
|
);
|
|
137
138
|
}
|
|
138
139
|
function O() {
|
|
139
|
-
var
|
|
140
|
-
(
|
|
140
|
+
var i, a;
|
|
141
|
+
(a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
|
|
141
142
|
{ type: "stripe:submit", email: t.email, name: t.name },
|
|
142
143
|
"*"
|
|
143
144
|
);
|
|
144
145
|
}
|
|
145
|
-
function
|
|
146
|
-
return typeof
|
|
146
|
+
function y(i) {
|
|
147
|
+
return typeof i == "object" && i !== null;
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
-
if (!
|
|
150
|
-
const
|
|
151
|
-
if (!(typeof
|
|
152
|
-
switch (
|
|
149
|
+
function m(i) {
|
|
150
|
+
if (!u.value || i.source !== u.value.contentWindow || !y(i.data)) return;
|
|
151
|
+
const a = i.data, _ = a.type;
|
|
152
|
+
if (!(typeof _ != "string" || !_.startsWith("stripe:")))
|
|
153
|
+
switch (_) {
|
|
153
154
|
case "stripe:ready":
|
|
154
|
-
|
|
155
|
+
c("ready");
|
|
155
156
|
break;
|
|
156
157
|
case "stripe:change":
|
|
157
|
-
|
|
158
|
+
c(
|
|
158
159
|
"change",
|
|
159
|
-
typeof
|
|
160
|
+
typeof a.paymentMethodType == "string" ? a.paymentMethodType : "card"
|
|
160
161
|
);
|
|
161
162
|
break;
|
|
162
163
|
case "stripe:loaderror": {
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
message: typeof
|
|
166
|
-
type: typeof
|
|
164
|
+
const n = y(a.error) ? a.error : {};
|
|
165
|
+
c("loaderror", {
|
|
166
|
+
message: typeof n.message == "string" ? n.message : void 0,
|
|
167
|
+
type: typeof n.type == "string" ? n.type : void 0
|
|
167
168
|
});
|
|
168
169
|
break;
|
|
169
170
|
}
|
|
170
171
|
case "stripe:resize":
|
|
171
|
-
typeof
|
|
172
|
+
typeof a.height == "number" && (d.value = a.height);
|
|
172
173
|
break;
|
|
173
174
|
case "stripe:submit:success":
|
|
174
|
-
typeof
|
|
175
|
+
typeof a.confirmationTokenId == "string" && c("submit-success", a.confirmationTokenId);
|
|
175
176
|
break;
|
|
176
177
|
case "stripe:submit:error": {
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
message: typeof
|
|
180
|
-
type: typeof
|
|
181
|
-
code: typeof
|
|
178
|
+
const n = y(a.error) ? a.error : {};
|
|
179
|
+
c("submit-error", {
|
|
180
|
+
message: typeof n.message == "string" ? n.message : void 0,
|
|
181
|
+
type: typeof n.type == "string" ? n.type : void 0,
|
|
182
|
+
code: typeof n.code == "string" ? n.code : void 0
|
|
182
183
|
});
|
|
183
184
|
break;
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
|
-
return
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
}),
|
|
191
|
-
window.removeEventListener("message",
|
|
188
|
+
return L(() => {
|
|
189
|
+
const i = new Blob([oe], { type: "text/html" });
|
|
190
|
+
E.value = URL.createObjectURL(i), window.addEventListener("message", m);
|
|
191
|
+
}), M(() => {
|
|
192
|
+
window.removeEventListener("message", m), E.value && URL.revokeObjectURL(E.value);
|
|
192
193
|
}), B(
|
|
193
194
|
() => t.options,
|
|
194
|
-
(
|
|
195
|
-
|
|
195
|
+
(i, a) => {
|
|
196
|
+
W(i, a) || S();
|
|
196
197
|
},
|
|
197
198
|
{ deep: !0 }
|
|
198
|
-
), (
|
|
199
|
+
), (i, a) => (v(), Y("iframe", {
|
|
199
200
|
ref_key: "iframeRef",
|
|
200
|
-
ref:
|
|
201
|
-
src:
|
|
201
|
+
ref: u,
|
|
202
|
+
src: E.value,
|
|
202
203
|
height: d.value || void 0,
|
|
203
204
|
frameborder: "0",
|
|
204
205
|
style: { width: "100%", display: "block", border: "none" },
|
|
205
206
|
title: "Payment form",
|
|
206
|
-
onLoad:
|
|
207
|
-
}, null, 40,
|
|
207
|
+
onLoad: S
|
|
208
|
+
}, null, 40, ie));
|
|
208
209
|
}
|
|
209
|
-
}),
|
|
210
|
+
}), w = { link: "never" }, C = {
|
|
210
211
|
variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
|
|
211
212
|
rules: {
|
|
212
213
|
".TermsText": { fontSize: "14px" },
|
|
@@ -217,41 +218,41 @@ body { overflow: hidden; }
|
|
|
217
218
|
}
|
|
218
219
|
}
|
|
219
220
|
};
|
|
220
|
-
function
|
|
221
|
+
function ce(p, I) {
|
|
221
222
|
return {
|
|
222
223
|
billingDetails: {
|
|
223
224
|
address: { country: "never" },
|
|
224
|
-
...
|
|
225
|
-
...
|
|
225
|
+
...p ? { email: "never" } : {},
|
|
226
|
+
...I ? { name: "never" } : {}
|
|
226
227
|
}
|
|
227
228
|
};
|
|
228
229
|
}
|
|
229
|
-
function
|
|
230
|
-
amount:
|
|
231
|
-
email:
|
|
232
|
-
name:
|
|
230
|
+
function me({
|
|
231
|
+
amount: p,
|
|
232
|
+
email: I,
|
|
233
|
+
name: A,
|
|
233
234
|
variant: t,
|
|
234
|
-
storePaymentMethod:
|
|
235
|
+
storePaymentMethod: c = !1
|
|
235
236
|
}) {
|
|
236
|
-
const
|
|
237
|
+
const u = p.currency.toLowerCase(), d = ce(I, A);
|
|
237
238
|
return t === "TOKENIZE" ? {
|
|
238
239
|
mode: "setup",
|
|
239
|
-
currency:
|
|
240
|
+
currency: u,
|
|
240
241
|
setup_future_usage: "off_session",
|
|
241
|
-
wallets:
|
|
242
|
+
wallets: w,
|
|
242
243
|
fields: d,
|
|
243
|
-
appearance:
|
|
244
|
+
appearance: C
|
|
244
245
|
} : {
|
|
245
246
|
mode: "payment",
|
|
246
|
-
currency:
|
|
247
|
-
amount:
|
|
248
|
-
...
|
|
249
|
-
wallets:
|
|
247
|
+
currency: u,
|
|
248
|
+
amount: V(p).value,
|
|
249
|
+
...c ? { setup_future_usage: "off_session" } : {},
|
|
250
|
+
wallets: w,
|
|
250
251
|
fields: d,
|
|
251
|
-
appearance:
|
|
252
|
+
appearance: C
|
|
252
253
|
};
|
|
253
254
|
}
|
|
254
|
-
const
|
|
255
|
+
const R = "STRIPE", ge = /* @__PURE__ */ D({
|
|
255
256
|
__name: "PaymentIntegrationFormStripe",
|
|
256
257
|
props: {
|
|
257
258
|
email: { type: String },
|
|
@@ -270,219 +271,289 @@ const v = "STRIPE", fe = /* @__PURE__ */ C({
|
|
|
270
271
|
redirectsOnSuccess: { type: Boolean }
|
|
271
272
|
},
|
|
272
273
|
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
273
|
-
setup(
|
|
274
|
-
const t =
|
|
275
|
-
|
|
276
|
-
const
|
|
274
|
+
setup(p, { expose: I, emit: A }) {
|
|
275
|
+
const t = p, c = A;
|
|
276
|
+
I({ submit: k });
|
|
277
|
+
const u = g(!1), d = g(), E = g(), S = h(
|
|
277
278
|
() => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
|
|
278
|
-
), O =
|
|
279
|
-
() =>
|
|
279
|
+
), O = h(
|
|
280
|
+
() => me({
|
|
280
281
|
amount: t.amount,
|
|
281
282
|
email: t.email,
|
|
282
283
|
name: t.name,
|
|
283
284
|
variant: t.variant,
|
|
284
|
-
storePaymentMethod:
|
|
285
|
+
storePaymentMethod: S.value
|
|
285
286
|
})
|
|
286
|
-
),
|
|
287
|
+
), y = g(null), m = re(), { authorizePayment: i } = ee(), { tokenizePaymentMethod: a } = te(), _ = h(
|
|
287
288
|
() => {
|
|
288
289
|
var e, r;
|
|
289
290
|
return (r = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : r.public_key;
|
|
290
291
|
}
|
|
291
292
|
);
|
|
292
|
-
function
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
function n(e) {
|
|
294
|
+
return ne({
|
|
295
|
+
gateway: R,
|
|
296
|
+
paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
297
|
+
variant: t.variant,
|
|
298
|
+
invoiceId: t.invoiceId,
|
|
299
|
+
customerId: t.customerId,
|
|
300
|
+
...e
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
function k() {
|
|
304
|
+
U().catch((e) => {
|
|
305
|
+
m.error(
|
|
295
306
|
"STRIPE_SUBMIT_FAILED",
|
|
296
307
|
"Unexpected error during Stripe submission",
|
|
297
|
-
{},
|
|
308
|
+
n({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
|
|
298
309
|
e
|
|
299
310
|
);
|
|
300
311
|
});
|
|
301
312
|
}
|
|
302
|
-
async function
|
|
313
|
+
async function U() {
|
|
303
314
|
var r;
|
|
304
|
-
await t.validateOnSubmit() && ((r =
|
|
315
|
+
await t.validateOnSubmit() && ((r = E.value) == null || r.triggerSubmit());
|
|
305
316
|
}
|
|
306
|
-
function
|
|
307
|
-
return new Promise((r,
|
|
317
|
+
function x(e) {
|
|
318
|
+
return new Promise((r, s) => {
|
|
308
319
|
if (window.Stripe) {
|
|
309
320
|
r(window.Stripe(e));
|
|
310
321
|
return;
|
|
311
322
|
}
|
|
312
323
|
const o = document.createElement("script");
|
|
313
|
-
o.src =
|
|
324
|
+
o.src = F, o.onload = () => {
|
|
314
325
|
if (!window.Stripe) {
|
|
315
|
-
|
|
326
|
+
s(new Error("Stripe not available after script load"));
|
|
316
327
|
return;
|
|
317
328
|
}
|
|
318
329
|
r(window.Stripe(e));
|
|
319
|
-
}, o.onerror = () =>
|
|
330
|
+
}, o.onerror = () => s(new Error("Failed to load Stripe.js")), document.head.appendChild(o);
|
|
320
331
|
});
|
|
321
332
|
}
|
|
322
|
-
async function
|
|
323
|
-
if (
|
|
324
|
-
return
|
|
325
|
-
const e =
|
|
333
|
+
async function Z() {
|
|
334
|
+
if (y.value)
|
|
335
|
+
return y.value;
|
|
336
|
+
const e = _.value;
|
|
326
337
|
if (!e)
|
|
327
338
|
throw new Error("Missing Stripe public key");
|
|
328
|
-
const r = await
|
|
329
|
-
return
|
|
339
|
+
const r = await x(e);
|
|
340
|
+
return y.value = r, r;
|
|
330
341
|
}
|
|
331
342
|
async function K(e) {
|
|
332
|
-
const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
343
|
+
const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, s = Q({
|
|
333
344
|
paymentAcceptorId: r,
|
|
334
345
|
redirectUrl: window.location.href
|
|
335
346
|
});
|
|
336
347
|
if (t.variant === "AUTHORIZE") {
|
|
337
348
|
try {
|
|
338
|
-
const o = await
|
|
349
|
+
const o = await i({
|
|
339
350
|
payment_acceptor_id: r,
|
|
340
351
|
...t.customerId ? { customer_id: t.customerId } : {},
|
|
341
|
-
payment_gateway_variant:
|
|
352
|
+
payment_gateway_variant: R,
|
|
342
353
|
stripe: { confirmation_token_id: e },
|
|
343
354
|
amount: t.amount,
|
|
344
355
|
...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
|
|
345
|
-
return_url:
|
|
356
|
+
return_url: s
|
|
346
357
|
});
|
|
347
|
-
await
|
|
358
|
+
await P(o);
|
|
348
359
|
} catch (o) {
|
|
349
|
-
|
|
360
|
+
m.error(
|
|
350
361
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
351
362
|
`Failed payment authorization for payment acceptor with id ${r}`,
|
|
352
|
-
{
|
|
353
|
-
|
|
363
|
+
n({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: o }),
|
|
364
|
+
o
|
|
365
|
+
), l({
|
|
366
|
+
code: "AUTHORIZATION_FAILED",
|
|
367
|
+
message: "Payment authorization failed",
|
|
368
|
+
error: o
|
|
369
|
+
});
|
|
354
370
|
}
|
|
355
371
|
return;
|
|
356
372
|
}
|
|
357
373
|
if (t.variant === "TOKENIZE") {
|
|
358
374
|
if (!t.customerId) {
|
|
359
|
-
|
|
375
|
+
m.error(
|
|
360
376
|
"TOKENIZATION_FAILED",
|
|
361
|
-
`Missing customer id for payment acceptor with id ${r}
|
|
362
|
-
|
|
377
|
+
`Missing customer id for payment acceptor with id ${r}`,
|
|
378
|
+
n({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
379
|
+
), l({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
363
380
|
return;
|
|
364
381
|
}
|
|
365
382
|
try {
|
|
366
|
-
const o = await
|
|
383
|
+
const o = await a({
|
|
367
384
|
customer_id: t.customerId,
|
|
368
385
|
payment_acceptor_id: r,
|
|
369
|
-
payment_gateway_variant:
|
|
386
|
+
payment_gateway_variant: R,
|
|
370
387
|
stripe: { confirmation_token_id: e },
|
|
371
|
-
return_url:
|
|
388
|
+
return_url: s
|
|
372
389
|
});
|
|
373
|
-
await
|
|
390
|
+
await P(o);
|
|
374
391
|
} catch (o) {
|
|
375
|
-
|
|
392
|
+
m.error(
|
|
376
393
|
"TOKENIZATION_FAILED",
|
|
377
394
|
`Tokenization failed for payment acceptor with id ${r}`,
|
|
378
|
-
{
|
|
379
|
-
|
|
395
|
+
n({ reason: "TOKENIZATION_FAILED", cause: o }),
|
|
396
|
+
o
|
|
397
|
+
), l({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: o });
|
|
380
398
|
}
|
|
381
399
|
}
|
|
382
400
|
}
|
|
383
|
-
async function
|
|
401
|
+
async function P(e) {
|
|
384
402
|
var r;
|
|
385
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant ===
|
|
386
|
-
const
|
|
387
|
-
if (!
|
|
388
|
-
|
|
403
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === R) {
|
|
404
|
+
const s = e.action.client_secret || ((r = e.action.data) == null ? void 0 : r.client_secret);
|
|
405
|
+
if (!s) {
|
|
406
|
+
m.error(
|
|
389
407
|
"STRIPE_ACTION_FAILED",
|
|
390
|
-
"Missing client_secret in Stripe ACTION_REQUIRED response"
|
|
391
|
-
|
|
408
|
+
"Missing client_secret in Stripe ACTION_REQUIRED response",
|
|
409
|
+
n({
|
|
410
|
+
reason: "STRIPE_ACTION_MISSING_CLIENT_SECRET",
|
|
411
|
+
extra: { paymentStatus: e.status }
|
|
412
|
+
})
|
|
413
|
+
), l({
|
|
414
|
+
code: "AUTHORIZATION_FAILED",
|
|
415
|
+
message: "Payment action failed",
|
|
416
|
+
error: e
|
|
417
|
+
});
|
|
392
418
|
return;
|
|
393
419
|
}
|
|
394
420
|
let o;
|
|
395
421
|
try {
|
|
396
|
-
o = await
|
|
397
|
-
} catch (
|
|
398
|
-
|
|
422
|
+
o = await Z();
|
|
423
|
+
} catch (T) {
|
|
424
|
+
m.error(
|
|
425
|
+
"STRIPE_ACTION_FAILED",
|
|
426
|
+
"Failed to load Stripe.js",
|
|
427
|
+
n({ reason: "STRIPE_SDK_LOAD_FAILED", cause: T }),
|
|
428
|
+
T
|
|
429
|
+
), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: T });
|
|
399
430
|
return;
|
|
400
431
|
}
|
|
401
|
-
const { error:
|
|
402
|
-
if (
|
|
403
|
-
|
|
432
|
+
const { error: f } = await o.handleNextAction({ clientSecret: s });
|
|
433
|
+
if (f) {
|
|
434
|
+
m.error(
|
|
435
|
+
"STRIPE_ACTION_FAILED",
|
|
436
|
+
"Stripe handleNextAction failed",
|
|
437
|
+
n({
|
|
438
|
+
reason: "STRIPE_NEXT_ACTION_FAILED",
|
|
439
|
+
cause: f,
|
|
440
|
+
extra: { stripeErrorCode: f.code, stripeErrorType: f.type }
|
|
441
|
+
}),
|
|
442
|
+
f
|
|
443
|
+
), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: f });
|
|
404
444
|
return;
|
|
405
445
|
}
|
|
406
|
-
|
|
446
|
+
u.value = !0, c("payment-success");
|
|
407
447
|
return;
|
|
408
448
|
}
|
|
409
449
|
if (e.status === "SUCCESS") {
|
|
410
|
-
|
|
450
|
+
u.value = !0, c("payment-success");
|
|
411
451
|
return;
|
|
412
452
|
}
|
|
413
|
-
|
|
453
|
+
m.error(
|
|
454
|
+
"STRIPE_ACTION_FAILED",
|
|
455
|
+
"Unexpected payment result status",
|
|
456
|
+
n({
|
|
457
|
+
reason: "STRIPE_UNEXPECTED_PAYMENT_STATUS",
|
|
458
|
+
extra: { paymentStatus: e.status }
|
|
459
|
+
})
|
|
460
|
+
), l({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
|
|
414
461
|
}
|
|
415
|
-
async function
|
|
462
|
+
async function H() {
|
|
416
463
|
const e = t.paymentMethodOptionResponseEntry.payment_acceptor.id;
|
|
417
|
-
if (
|
|
418
|
-
const
|
|
419
|
-
if (!
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
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
|
-
});
|
|
464
|
+
if (b(X) !== e) return;
|
|
465
|
+
const s = b("redirect_status"), o = b("payment_intent_client_secret"), f = b("setup_intent_client_secret");
|
|
466
|
+
if (!s || !o && !f) return;
|
|
467
|
+
if (s === "succeeded") {
|
|
468
|
+
u.value = !0, c("payment-success");
|
|
469
|
+
return;
|
|
431
470
|
}
|
|
471
|
+
const T = new globalThis.Error(
|
|
472
|
+
`Stripe redirect returned status: ${s}`
|
|
473
|
+
);
|
|
474
|
+
m.error(
|
|
475
|
+
"STRIPE_REDIRECT_RETURN_FAILED",
|
|
476
|
+
"Stripe redirect returned non-succeeded status",
|
|
477
|
+
n({
|
|
478
|
+
reason: "STRIPE_REDIRECT_RETURN_FAILED",
|
|
479
|
+
extra: { redirectStatus: s }
|
|
480
|
+
}),
|
|
481
|
+
T
|
|
482
|
+
), l({
|
|
483
|
+
code: "AUTHORIZATION_FAILED",
|
|
484
|
+
message: "Payment failed",
|
|
485
|
+
error: T
|
|
486
|
+
});
|
|
432
487
|
}
|
|
433
488
|
function j() {
|
|
434
|
-
|
|
489
|
+
c("select", {
|
|
435
490
|
paymentMethodType: "card",
|
|
436
|
-
paymentGatewayVariant:
|
|
437
|
-
}),
|
|
491
|
+
paymentGatewayVariant: R
|
|
492
|
+
}), c("ready");
|
|
438
493
|
}
|
|
439
494
|
function z(e) {
|
|
440
|
-
|
|
441
|
-
|
|
495
|
+
m.error(
|
|
496
|
+
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
497
|
+
"Failed to load the Stripe payment form",
|
|
498
|
+
n({
|
|
499
|
+
reason: "STRIPE_FORM_LOAD_FAILED",
|
|
500
|
+
cause: e,
|
|
501
|
+
extra: { stripeErrorType: e.type }
|
|
502
|
+
}),
|
|
503
|
+
e
|
|
504
|
+
), l({
|
|
505
|
+
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
442
506
|
message: e.message ?? "Failed to load payment form",
|
|
443
507
|
error: e
|
|
444
508
|
});
|
|
445
509
|
}
|
|
446
|
-
function
|
|
447
|
-
|
|
510
|
+
function l(e) {
|
|
511
|
+
const r = ae(e);
|
|
512
|
+
d.value = r, c("payment-failed", r);
|
|
448
513
|
}
|
|
449
|
-
return
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
514
|
+
return L(() => {
|
|
515
|
+
H().catch((e) => {
|
|
516
|
+
m.error(
|
|
517
|
+
"STRIPE_REDIRECT_RETURN_FAILED",
|
|
518
|
+
"handleRedirectReturn threw unexpectedly",
|
|
519
|
+
n({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
|
|
520
|
+
e
|
|
521
|
+
);
|
|
454
522
|
});
|
|
455
|
-
}),
|
|
456
|
-
|
|
457
|
-
}), (e, r) =>
|
|
523
|
+
}), M(() => {
|
|
524
|
+
y.value = null;
|
|
525
|
+
}), (e, r) => u.value ? (v(), N(q, {
|
|
458
526
|
key: 0,
|
|
459
|
-
variant:
|
|
460
|
-
redirecting:
|
|
461
|
-
}, null, 8, ["variant", "redirecting"])) : d.value ? (
|
|
527
|
+
variant: p.variant,
|
|
528
|
+
redirecting: p.redirectsOnSuccess
|
|
529
|
+
}, null, 8, ["variant", "redirecting"])) : d.value ? (v(), N(J, {
|
|
462
530
|
key: 1,
|
|
463
531
|
error: d.value
|
|
464
|
-
}, null, 8, ["error"])) :
|
|
532
|
+
}, null, 8, ["error"])) : _.value ? (v(), N(se, {
|
|
465
533
|
key: 2,
|
|
466
534
|
ref_key: "frameRef",
|
|
467
|
-
ref:
|
|
468
|
-
"public-key":
|
|
535
|
+
ref: E,
|
|
536
|
+
"public-key": _.value,
|
|
469
537
|
options: O.value,
|
|
470
|
-
"country-code":
|
|
471
|
-
email:
|
|
472
|
-
name:
|
|
538
|
+
"country-code": p.countryCode,
|
|
539
|
+
email: p.email,
|
|
540
|
+
name: p.name,
|
|
473
541
|
onReady: j,
|
|
474
|
-
onChange: r[0] || (r[0] = (
|
|
475
|
-
paymentMethodType:
|
|
476
|
-
paymentGatewayVariant:
|
|
542
|
+
onChange: r[0] || (r[0] = (s) => c("select", {
|
|
543
|
+
paymentMethodType: s,
|
|
544
|
+
paymentGatewayVariant: R
|
|
477
545
|
})),
|
|
478
546
|
onLoaderror: z,
|
|
479
547
|
onSubmitSuccess: K,
|
|
480
|
-
onSubmitError: r[1] || (r[1] = (
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
548
|
+
onSubmitError: r[1] || (r[1] = (s) => G(m).error(
|
|
549
|
+
"STRIPE_CONFIRMATION_TOKEN_FAILED",
|
|
550
|
+
"Stripe submission failed",
|
|
551
|
+
n({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: s }),
|
|
552
|
+
s
|
|
553
|
+
))
|
|
554
|
+
}, null, 8, ["public-key", "options", "country-code", "email", "name"])) : $("", !0);
|
|
484
555
|
}
|
|
485
556
|
});
|
|
486
557
|
export {
|
|
487
|
-
|
|
558
|
+
ge as default
|
|
488
559
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as A, openBlock as i, createElementBlock as x, createElementVNode as g, normalizeClass as k, createCommentVNode as m, renderSlot as B, createVNode as l, createBlock as d, withCtx as r, createTextVNode as f, toDisplayString as y, unref as c, shallowRef as S, watch as $, toValue as L, Fragment as R, mergeProps as C } from "vue";
|
|
2
2
|
import { _ } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
3
|
-
import { a as O } from "./ContextMenu.vue.es-
|
|
4
|
-
import { u as N, _ as M } from "./customElements-
|
|
5
|
-
import { _ as T } from "./Chip.vue.es-
|
|
3
|
+
import { a as O } from "./ContextMenu.vue.es-DL1M7pcr.mjs";
|
|
4
|
+
import { u as N, _ as M } from "./customElements-Df6dGrN-.mjs";
|
|
5
|
+
import { _ as T } from "./Chip.vue.es-DGbc4L_D.mjs";
|
|
6
6
|
const I = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", V = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, z = ["src", "alt", "width", "height"], G = { class: "grow" }, H = { key: 0 }, U = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "pt-3"
|