@solvimon/solvimon-web 0.1.0-alpha.25 → 0.1.0-alpha.27
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 +16 -11
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
- package/dist/{Avatar.vue.es-CvxRdCes.js → Avatar.vue.es-BJxSCU76.js} +1 -1
- package/dist/{Avatar.vue.es-C9Jkfuvp.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +15 -16
- package/dist/{Button.vue.es-CeUTAc2n.js → Button.vue.es-BzkuglKw.js} +1 -1
- package/dist/{Button.vue.es-BbSN0uOk.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
- package/dist/ChargeOnDemandModal-CB4mrvkU.mjs +975 -0
- package/dist/ChargeOnDemandModal-b17YswWA.js +1 -0
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
- package/dist/{Chip.vue.es-BN83K3Tk.js → Chip.vue.es-B2jjzIOc.js} +1 -1
- package/dist/{Chip.vue.es-T22Q7AF9.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
- package/dist/{ContextMenu.vue.es-DXKR7WFg.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
- package/dist/{ContextMenu.vue.es-0PRmCAzL.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-yrLGc7oL.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
- package/dist/{CustomerBillingInformation.vue.es-C2j40TYP.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +895 -891
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
- package/dist/{DividerText.vue.es-DsYRZzuE.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
- package/dist/{DividerText.vue.es-CV1XK_Vz.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
- package/dist/{ErrorNotification.vue.es-CiUJva6S.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
- package/dist/{ErrorNotification.vue.es-QfRoDhkn.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
- package/dist/{IconButton.vue.es-CytBZUkZ.js → IconButton.vue.es-DgQN18Am.js} +1 -1
- package/dist/{IconButton.vue.es-ChvsCZQG.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
- package/dist/{IconTitle.vue.es-DPruIJ6l.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
- package/dist/{IconTitle.vue.es-DtnpBObk.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
- package/dist/{Input.vue.es-BkzQDkrz.js → Input.vue.es-B60eK8Ds.js} +1 -1
- package/dist/{Input.vue.es-DJQqJrsb.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
- package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +1 -0
- package/dist/{InvoiceSummary.vue.es-6qpbyymg.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +576 -565
- package/dist/{Modal.vue.es-BuRlbyZw.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
- package/dist/{Modal.vue.es-JpE0eh_Q.js → Modal.vue.es-DvLB3uCG.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-uWuWjr8I.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
- package/dist/{PaymentHistoryBlock-DnmParhQ.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-DTXm56QQ.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
- package/dist/{PaymentIntegrationForm-DL55i0HD.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +154 -0
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-Cqsy82To.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +202 -192
- package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +102 -0
- package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +247 -220
- package/dist/{PaymentMethod.vue.es-m1NasGqw.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +168 -148
- package/dist/PaymentMethod.vue.es-D0D9jW8s.js +1 -0
- package/dist/{PaymentMethodForm-BEVdWCrH.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
- package/dist/{PaymentMethodForm-BYzt1PVP.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +60 -58
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +1 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
- package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +722 -0
- package/dist/{PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-Ba3v0J_R.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs +141 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-CkhBp9kI.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
- package/dist/{RadioGroupExtended.vue.es-CHrcqSRq.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
- package/dist/{Section.vue.es-CSrVPlUK.js → Section.vue.es-Bbt0RITt.js} +1 -1
- package/dist/{Section.vue.es-D5svcVS_.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
- package/dist/StepInput.vue.es-H-3R4jJq.js +1 -0
- package/dist/StepInput.vue.es-o-3Lg4Ai.mjs +199 -0
- package/dist/SubscriptionDetails.entry.ce-CGl6Z5ql.mjs +1057 -0
- package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +1 -0
- package/dist/{SubscriptionSchedules-yDcsD1hd.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
- package/dist/{SubscriptionSchedules-CMVoB2bw.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +2284 -2341
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +1 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +3 -3
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +9 -10
- package/dist/{TooltipParagraph.vue.es-CxdL8-B7.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +3 -3
- package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +1 -0
- package/dist/{TrialChip.vue.es-BCc8q5j0.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
- package/dist/{TrialChip.vue.es-BK7m7e7q.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
- package/dist/{cn.es-71nFUose.js → cn.es-C9Yqq4tg.js} +1 -1
- package/dist/{cn.es-ZXNzpauQ.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +201 -212
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +14 -15
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-q_i9y0Ph.mjs → customElements-B58FcXIN.mjs} +231 -196
- package/dist/{customElements-hH6pju3X.js → customElements-DUMRMFQ5.js} +36 -32
- package/dist/{customer-BDoOIAFr.mjs → customer-B3LPAhaD.mjs} +4 -4
- package/dist/{customer-C9q6ti8s.js → customer-CisTPaXj.js} +1 -1
- package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
- package/dist/{de-DE-B_ik9VNt.mjs → de-DE-DKp5LCu0.mjs} +53 -7
- package/dist/de-DE-DL74pMLb.js +1 -0
- package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
- package/dist/en-US-B2XFj-_p.js +1 -0
- package/dist/{en-US-DkCltadt.mjs → en-US-DQ5vlv9Z.mjs} +53 -7
- package/dist/en-US-J85TQRI8.js +1 -0
- package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
- package/dist/formControl-ODrpUvcA.js +1 -0
- package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{invoices-DIzkXntV.mjs → invoices-3520M5AN.mjs} +1 -1
- package/dist/{invoices-CHp75zZI.js → invoices-CKQBLar2.js} +1 -1
- package/dist/{it-IT-CHj2McbF.mjs → it-IT-BgFVsO5S.mjs} +53 -7
- package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
- package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
- package/dist/it-IT-CqNK62qe.js +1 -0
- package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
- package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
- package/dist/nl-NL-Dx-TNXQ1.js +1 -0
- package/dist/{nl-NL-Cdvd_XMN.mjs → nl-NL-UiRWbO9S.mjs} +53 -7
- package/dist/{paymentMethods-DEKp_4QM.mjs → paymentMethods-CWlvwK5V.mjs} +16 -14
- package/dist/paymentMethods-Cw-i95mM.js +1 -0
- package/dist/{payments-C0-Hq2a4.mjs → payments-2qeQdpiW.mjs} +6 -6
- package/dist/{payments-DBvregE8.js → payments-CS7_YcOW.js} +1 -1
- package/dist/pricing-BIMpDI_p.mjs +29 -0
- package/dist/pricing-BOqG21f9.js +1 -0
- package/dist/pricing.es-C07bgEZx.js +1 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingPlanSchedules-B_sTAIgU.js +1 -0
- package/dist/pricingPlanSchedules-ChQCbMfe.mjs +32 -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 +10 -10
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
- package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
- package/dist/{subscriptions--9MaTXMb.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
- package/dist/{subscriptions-BArXBCFr.js → subscriptions-DwVsf4Ev.js} +1 -1
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
- package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
- package/dist/types/services/paymentMethods.types.d.ts +4 -2
- package/dist/types/services/requests.types.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
- package/dist/{useActionDispatchProvider-BdciAX8T.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CKzeqXzY.js → useActionDispatchProvider-DFhppdve.js} +1 -1
- package/dist/{useCustomer-D8ixhuuj.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
- package/dist/{useCustomer-DSYr0F58.js → useCustomer-BwZKd9i5.js} +1 -1
- package/dist/{useCustomerFormLabels-htMZ0xqB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +6 -6
- package/dist/useCustomerFormLabels-DV9QiMYh.js +1 -0
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
- package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
- package/dist/{useInvoiceData-Bpbog3zW.mjs → useInvoiceData-BocKdeg7.mjs} +3 -3
- package/dist/{useInvoiceData-DhrItfv7.js → useInvoiceData-CNV_FMV8.js} +1 -1
- package/dist/{useInvoicesList-BGwcJn4I.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
- package/dist/{useInvoicesList-duu_b5GW.js → useInvoicesList-S0IbQcrD.js} +1 -1
- package/dist/{useLoadInitialData-BDmmpcfb.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
- package/dist/{useLoadInitialData-U2WvBmXT.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
- package/dist/{usePaymentMethodAvailability-adqRujTA.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +5 -6
- package/dist/{usePaymentMethodOptions-DlZtTQNQ.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +15 -13
- package/dist/usePaymentMethodOptions-CuzOoi2k.js +1 -0
- package/dist/{usePaymentMethods-BnmSo_rr.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
- package/dist/{usePaymentMethods-DZ1a0mnr.js → usePaymentMethods-DDaTZQZp.js} +1 -1
- package/dist/{usePayments-s-Z1di8d.mjs → usePayments-Cr6NlGaW.mjs} +46 -41
- package/dist/usePayments-DDSjo0rH.js +1 -0
- package/dist/{usePortal-Hm7wvtgQ.js → usePortal-C27omjhz.js} +1 -1
- package/dist/{usePortal-C4rR5Rhu.mjs → usePortal-C5AsegpS.mjs} +1 -1
- package/dist/{useSubscription-DSsXVO0h.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
- package/dist/{useSubscription-DMAEJves.js → useSubscription-D787IXY-.js} +1 -1
- package/dist/{useTimePeriod.es-CW8ycmpT.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
- package/dist/{useTimePeriod.es-anHB63am.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
- package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
- package/package.json +20 -14
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js +0 -1
- package/dist/Checkout.entry.ce-BMzK8nQg.mjs +0 -3900
- package/dist/Checkout.entry.ce-DgA0ckyl.js +0 -2
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js +0 -1
- package/dist/InvoiceSummary.vue.es-v1TkOUhA.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs +0 -141
- package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +0 -98
- package/dist/PaymentIntegrationFormStripe-DTLgGutU.js +0 -102
- package/dist/PaymentMethod.vue.es-ZWda5GqF.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js +0 -1
- package/dist/PlanCustomizationEditor-CunwwXTw.js +0 -1
- package/dist/PlanCustomizationEditor-NLVkEYFF.mjs +0 -877
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs +0 -131
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +0 -51
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js +0 -1
- package/dist/TooltipParagraph.vue.es-DS_69pl1.js +0 -1
- package/dist/adyen-CvsH5fok.mjs +0 -117
- package/dist/adyen-Druit6gz.js +0 -1
- package/dist/de-DE-npBTLtKL.js +0 -1
- package/dist/en-US-9xdcz3T5.js +0 -1
- package/dist/en-US-kGduGoka.js +0 -1
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
- package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
- package/dist/index-DwueOtPi.js +0 -1
- package/dist/it-IT-BayNIAy7.js +0 -1
- package/dist/nl-NL-0rV4nFLw.js +0 -1
- package/dist/paymentMethods-CZGP6_4W.js +0 -1
- package/dist/pricing-BVAld27Y.js +0 -1
- package/dist/pricing-DLOeiAIB.mjs +0 -16
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
- package/dist/useCustomerFormLabels-CRumh405.js +0 -1
- package/dist/useExperimentalFeature-D29-TO3R.js +0 -1
- package/dist/useExperimentalFeature-JK_kAUQQ.mjs +0 -6
- package/dist/usePaymentMethodAvailability-DwtT5Czz.js +0 -1
- package/dist/usePaymentMethodOptions-CXdFKFqZ.js +0 -1
- package/dist/usePayments-DL4agK2i.js +0 -1
- package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
- package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as F, ref as I, onMounted as M, onBeforeUnmount as k, watch as Y, openBlock as h, createElementBlock as G, computed as P, createBlock as w, createCommentVNode as $ } from "vue";
|
|
2
2
|
import { a as W } from "./useService-Bh47bllz.mjs";
|
|
3
|
-
import { t as V, d as Q, P as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { c as ee } from "./payments-
|
|
6
|
-
import { c as te } from "./paymentMethods-
|
|
7
|
-
import { g as
|
|
8
|
-
import { b as re } from "./customElements-
|
|
3
|
+
import { t as V, d as Q, P as q } from "./useExperimentalFeature-BciA3Ok9.mjs";
|
|
4
|
+
import { _ as X, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs";
|
|
5
|
+
import { c as ee } from "./payments-2qeQdpiW.mjs";
|
|
6
|
+
import { c as te } from "./paymentMethods-CWlvwK5V.mjs";
|
|
7
|
+
import { g as O } from "./url-TNRgVI8A.mjs";
|
|
8
|
+
import { b as re } from "./customElements-B58FcXIN.mjs";
|
|
9
9
|
import { c as ne, a as ae } from "./paymentFailure-Bh60UhxA.mjs";
|
|
10
|
-
const
|
|
10
|
+
const U = "https://js.stripe.com/dahlia/stripe.js", ie = `<!DOCTYPE html>
|
|
11
11
|
<html>
|
|
12
12
|
<head>
|
|
13
13
|
<meta charset="UTF-8">
|
|
@@ -19,7 +19,7 @@ body { overflow: hidden; }
|
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="stripe-root"></div>
|
|
22
|
-
<script src="${
|
|
22
|
+
<script src="${U}"><\/script>
|
|
23
23
|
<script>
|
|
24
24
|
(function () {
|
|
25
25
|
let stripe, elements, countryCode, email, name, parentOrigin;
|
|
@@ -108,7 +108,7 @@ body { overflow: hidden; }
|
|
|
108
108
|
})();
|
|
109
109
|
<\/script>
|
|
110
110
|
</body>
|
|
111
|
-
</html>`,
|
|
111
|
+
</html>`, oe = ["src", "height"], se = /* @__PURE__ */ F({
|
|
112
112
|
__name: "PaymentIntegrationFormStripeFrame",
|
|
113
113
|
props: {
|
|
114
114
|
publicKey: { type: String },
|
|
@@ -118,13 +118,13 @@ body { overflow: hidden; }
|
|
|
118
118
|
name: { type: String }
|
|
119
119
|
},
|
|
120
120
|
emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
|
|
121
|
-
setup(
|
|
122
|
-
const t =
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
function
|
|
126
|
-
var
|
|
127
|
-
(
|
|
121
|
+
setup(m, { expose: f, emit: R }) {
|
|
122
|
+
const t = m, o = R;
|
|
123
|
+
f({ triggerSubmit: N });
|
|
124
|
+
const p = I(), l = I(0), y = I();
|
|
125
|
+
function v() {
|
|
126
|
+
var a, r;
|
|
127
|
+
(r = (a = p.value) == null ? void 0 : a.contentWindow) == null || r.postMessage(
|
|
128
128
|
{
|
|
129
129
|
type: "stripe:init",
|
|
130
130
|
publicKey: t.publicKey,
|
|
@@ -136,78 +136,91 @@ body { overflow: hidden; }
|
|
|
136
136
|
"*"
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
var
|
|
141
|
-
(
|
|
139
|
+
function N() {
|
|
140
|
+
var a, r;
|
|
141
|
+
(r = (a = p.value) == null ? void 0 : a.contentWindow) == null || r.postMessage(
|
|
142
142
|
{ type: "stripe:submit", email: t.email, name: t.name },
|
|
143
143
|
"*"
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
const _ = {
|
|
147
|
+
api_connection_error: !0,
|
|
148
|
+
api_error: !0,
|
|
149
|
+
authentication_error: !0,
|
|
150
|
+
card_error: !0,
|
|
151
|
+
idempotency_error: !0,
|
|
152
|
+
invalid_request_error: !0,
|
|
153
|
+
rate_limit_error: !0,
|
|
154
|
+
validation_error: !0
|
|
155
|
+
};
|
|
156
|
+
function s(a) {
|
|
157
|
+
return typeof a == "string" && Object.hasOwn(_, a);
|
|
158
|
+
}
|
|
159
|
+
function A(a) {
|
|
160
|
+
return typeof a == "object" && a !== null;
|
|
148
161
|
}
|
|
149
|
-
function
|
|
150
|
-
if (!
|
|
151
|
-
const
|
|
152
|
-
if (!(typeof
|
|
153
|
-
switch (
|
|
162
|
+
function b(a) {
|
|
163
|
+
if (!p.value || a.source !== p.value.contentWindow || !A(a.data)) return;
|
|
164
|
+
const r = a.data, S = r.type;
|
|
165
|
+
if (!(typeof S != "string" || !S.startsWith("stripe:")))
|
|
166
|
+
switch (S) {
|
|
154
167
|
case "stripe:ready":
|
|
155
|
-
|
|
168
|
+
o("ready");
|
|
156
169
|
break;
|
|
157
170
|
case "stripe:change":
|
|
158
|
-
|
|
171
|
+
o(
|
|
159
172
|
"change",
|
|
160
|
-
typeof
|
|
173
|
+
typeof r.paymentMethodType == "string" ? r.paymentMethodType : "card"
|
|
161
174
|
);
|
|
162
175
|
break;
|
|
163
176
|
case "stripe:loaderror": {
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
message: typeof
|
|
167
|
-
type:
|
|
177
|
+
const u = A(r.error) ? r.error : {};
|
|
178
|
+
o("loaderror", {
|
|
179
|
+
message: typeof u.message == "string" ? u.message : void 0,
|
|
180
|
+
type: s(u.type) ? u.type : void 0
|
|
168
181
|
});
|
|
169
182
|
break;
|
|
170
183
|
}
|
|
171
184
|
case "stripe:resize":
|
|
172
|
-
typeof
|
|
185
|
+
typeof r.height == "number" && (l.value = r.height);
|
|
173
186
|
break;
|
|
174
187
|
case "stripe:submit:success":
|
|
175
|
-
typeof
|
|
188
|
+
typeof r.confirmationTokenId == "string" && o("submit-success", r.confirmationTokenId);
|
|
176
189
|
break;
|
|
177
190
|
case "stripe:submit:error": {
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
message: typeof
|
|
181
|
-
type:
|
|
182
|
-
code: typeof
|
|
191
|
+
const u = A(r.error) ? r.error : {};
|
|
192
|
+
o("submit-error", {
|
|
193
|
+
message: typeof u.message == "string" ? u.message : void 0,
|
|
194
|
+
type: s(u.type) ? u.type : void 0,
|
|
195
|
+
code: typeof u.code == "string" ? u.code : void 0
|
|
183
196
|
});
|
|
184
197
|
break;
|
|
185
198
|
}
|
|
186
199
|
}
|
|
187
200
|
}
|
|
188
|
-
return
|
|
189
|
-
const
|
|
190
|
-
|
|
191
|
-
}),
|
|
192
|
-
window.removeEventListener("message",
|
|
193
|
-
}),
|
|
201
|
+
return M(() => {
|
|
202
|
+
const a = new Blob([ie], { type: "text/html" });
|
|
203
|
+
y.value = URL.createObjectURL(a), window.addEventListener("message", b);
|
|
204
|
+
}), k(() => {
|
|
205
|
+
window.removeEventListener("message", b), y.value && URL.revokeObjectURL(y.value);
|
|
206
|
+
}), Y(
|
|
194
207
|
() => t.options,
|
|
195
|
-
(
|
|
196
|
-
W(
|
|
208
|
+
(a, r) => {
|
|
209
|
+
W(a, r) || v();
|
|
197
210
|
},
|
|
198
211
|
{ deep: !0 }
|
|
199
|
-
), (
|
|
212
|
+
), (a, r) => (h(), G("iframe", {
|
|
200
213
|
ref_key: "iframeRef",
|
|
201
|
-
ref:
|
|
202
|
-
src:
|
|
203
|
-
height:
|
|
214
|
+
ref: p,
|
|
215
|
+
src: y.value,
|
|
216
|
+
height: l.value || void 0,
|
|
204
217
|
frameborder: "0",
|
|
205
218
|
style: { width: "100%", display: "block", border: "none" },
|
|
206
219
|
title: "Payment form",
|
|
207
|
-
onLoad:
|
|
208
|
-
}, null, 40,
|
|
220
|
+
onLoad: v
|
|
221
|
+
}, null, 40, oe));
|
|
209
222
|
}
|
|
210
|
-
}),
|
|
223
|
+
}), C = { link: "never" }, L = {
|
|
211
224
|
variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
|
|
212
225
|
rules: {
|
|
213
226
|
".TermsText": { fontSize: "14px" },
|
|
@@ -218,41 +231,41 @@ body { overflow: hidden; }
|
|
|
218
231
|
}
|
|
219
232
|
}
|
|
220
233
|
};
|
|
221
|
-
function ce(
|
|
234
|
+
function ce(m, f) {
|
|
222
235
|
return {
|
|
223
236
|
billingDetails: {
|
|
224
237
|
address: { country: "never" },
|
|
225
|
-
...
|
|
226
|
-
...
|
|
238
|
+
...m ? { email: "never" } : {},
|
|
239
|
+
...f ? { name: "never" } : {}
|
|
227
240
|
}
|
|
228
241
|
};
|
|
229
242
|
}
|
|
230
243
|
function me({
|
|
231
|
-
amount:
|
|
232
|
-
email:
|
|
233
|
-
name:
|
|
244
|
+
amount: m,
|
|
245
|
+
email: f,
|
|
246
|
+
name: R,
|
|
234
247
|
variant: t,
|
|
235
|
-
storePaymentMethod:
|
|
248
|
+
storePaymentMethod: o = !1
|
|
236
249
|
}) {
|
|
237
|
-
const
|
|
250
|
+
const p = m.currency.toLowerCase(), l = ce(f, R);
|
|
238
251
|
return t === "TOKENIZE" ? {
|
|
239
252
|
mode: "setup",
|
|
240
|
-
currency:
|
|
253
|
+
currency: p,
|
|
241
254
|
setup_future_usage: "off_session",
|
|
242
|
-
wallets:
|
|
243
|
-
fields:
|
|
244
|
-
appearance:
|
|
255
|
+
wallets: C,
|
|
256
|
+
fields: l,
|
|
257
|
+
appearance: L
|
|
245
258
|
} : {
|
|
246
259
|
mode: "payment",
|
|
247
|
-
currency:
|
|
248
|
-
amount: V(
|
|
249
|
-
...
|
|
250
|
-
wallets:
|
|
251
|
-
fields:
|
|
252
|
-
appearance:
|
|
260
|
+
currency: p,
|
|
261
|
+
amount: V(m).value,
|
|
262
|
+
...o ? { setup_future_usage: "off_session" } : {},
|
|
263
|
+
wallets: C,
|
|
264
|
+
fields: l,
|
|
265
|
+
appearance: L
|
|
253
266
|
};
|
|
254
267
|
}
|
|
255
|
-
const
|
|
268
|
+
const T = "STRIPE", ge = /* @__PURE__ */ F({
|
|
256
269
|
__name: "PaymentIntegrationFormStripe",
|
|
257
270
|
props: {
|
|
258
271
|
email: { type: String },
|
|
@@ -271,29 +284,29 @@ const R = "STRIPE", ge = /* @__PURE__ */ D({
|
|
|
271
284
|
redirectsOnSuccess: { type: Boolean },
|
|
272
285
|
billingEntityName: { type: String }
|
|
273
286
|
},
|
|
274
|
-
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
275
|
-
setup(
|
|
276
|
-
const t =
|
|
277
|
-
|
|
278
|
-
const
|
|
287
|
+
emits: ["select", "payment-failed", "payment-success", "invalid", "ready"],
|
|
288
|
+
setup(m, { expose: f, emit: R }) {
|
|
289
|
+
const t = m, o = R;
|
|
290
|
+
f({ submit: S });
|
|
291
|
+
const p = I(!1), l = I(), y = I(), v = P(
|
|
279
292
|
() => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
|
|
280
|
-
),
|
|
293
|
+
), N = P(
|
|
281
294
|
() => me({
|
|
282
295
|
amount: t.amount,
|
|
283
296
|
email: t.email,
|
|
284
297
|
name: t.name,
|
|
285
298
|
variant: t.variant,
|
|
286
|
-
storePaymentMethod:
|
|
299
|
+
storePaymentMethod: v.value
|
|
287
300
|
})
|
|
288
|
-
),
|
|
301
|
+
), _ = I(null), s = re(), { authorizePayment: A } = ee(), { tokenizePaymentMethod: b } = te(), a = P(
|
|
289
302
|
() => {
|
|
290
|
-
var e,
|
|
291
|
-
return (
|
|
303
|
+
var e, n;
|
|
304
|
+
return (n = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : n.public_key;
|
|
292
305
|
}
|
|
293
306
|
);
|
|
294
|
-
function
|
|
307
|
+
function r(e) {
|
|
295
308
|
return ne({
|
|
296
|
-
gateway:
|
|
309
|
+
gateway: T,
|
|
297
310
|
paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
298
311
|
variant: t.variant,
|
|
299
312
|
invoiceId: t.invoiceId,
|
|
@@ -301,257 +314,271 @@ const R = "STRIPE", ge = /* @__PURE__ */ D({
|
|
|
301
314
|
...e
|
|
302
315
|
});
|
|
303
316
|
}
|
|
304
|
-
function
|
|
305
|
-
|
|
306
|
-
|
|
317
|
+
function S() {
|
|
318
|
+
u().catch((e) => {
|
|
319
|
+
s.error(
|
|
307
320
|
"STRIPE_SUBMIT_FAILED",
|
|
308
321
|
"Unexpected error during Stripe submission",
|
|
309
|
-
|
|
322
|
+
r({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
|
|
310
323
|
e
|
|
311
324
|
);
|
|
312
325
|
});
|
|
313
326
|
}
|
|
314
|
-
async function
|
|
315
|
-
|
|
316
|
-
|
|
327
|
+
async function u() {
|
|
328
|
+
if (!await t.validateOnSubmit() || !y.value) {
|
|
329
|
+
o("invalid");
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
y.value.triggerSubmit();
|
|
317
333
|
}
|
|
318
334
|
function x(e) {
|
|
319
|
-
|
|
335
|
+
if (e.type === "validation_error") {
|
|
336
|
+
o("invalid");
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
s.error(
|
|
340
|
+
"STRIPE_CONFIRMATION_TOKEN_FAILED",
|
|
341
|
+
"Stripe submission failed",
|
|
342
|
+
r({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: e }),
|
|
343
|
+
e
|
|
344
|
+
), d({
|
|
345
|
+
code: t.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
|
|
346
|
+
message: e.message ?? "Stripe submission failed",
|
|
347
|
+
error: e
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
function Z(e) {
|
|
351
|
+
return new Promise((n, c) => {
|
|
320
352
|
if (window.Stripe) {
|
|
321
|
-
|
|
353
|
+
n(window.Stripe(e));
|
|
322
354
|
return;
|
|
323
355
|
}
|
|
324
|
-
const
|
|
325
|
-
|
|
356
|
+
const i = document.createElement("script");
|
|
357
|
+
i.src = U, i.onload = () => {
|
|
326
358
|
if (!window.Stripe) {
|
|
327
|
-
|
|
359
|
+
c(new Error("Stripe not available after script load"));
|
|
328
360
|
return;
|
|
329
361
|
}
|
|
330
|
-
|
|
331
|
-
},
|
|
362
|
+
n(window.Stripe(e));
|
|
363
|
+
}, i.onerror = () => c(new Error("Failed to load Stripe.js")), document.head.appendChild(i);
|
|
332
364
|
});
|
|
333
365
|
}
|
|
334
|
-
async function
|
|
335
|
-
if (
|
|
336
|
-
return
|
|
337
|
-
const e =
|
|
366
|
+
async function K() {
|
|
367
|
+
if (_.value)
|
|
368
|
+
return _.value;
|
|
369
|
+
const e = a.value;
|
|
338
370
|
if (!e)
|
|
339
371
|
throw new Error("Missing Stripe public key");
|
|
340
|
-
const
|
|
341
|
-
return
|
|
372
|
+
const n = await Z(e);
|
|
373
|
+
return _.value = n, n;
|
|
342
374
|
}
|
|
343
|
-
async function
|
|
344
|
-
const
|
|
345
|
-
paymentAcceptorId:
|
|
375
|
+
async function H(e) {
|
|
376
|
+
const n = t.paymentMethodOptionResponseEntry.payment_acceptor.id, c = Q({
|
|
377
|
+
paymentAcceptorId: n,
|
|
346
378
|
redirectUrl: window.location.href
|
|
347
379
|
});
|
|
348
380
|
if (t.variant === "AUTHORIZE") {
|
|
349
381
|
try {
|
|
350
|
-
const
|
|
351
|
-
payment_acceptor_id:
|
|
382
|
+
const i = await A({
|
|
383
|
+
payment_acceptor_id: n,
|
|
352
384
|
...t.customerId ? { customer_id: t.customerId } : {},
|
|
353
|
-
payment_gateway_variant:
|
|
385
|
+
payment_gateway_variant: T,
|
|
354
386
|
stripe: { confirmation_token_id: e },
|
|
355
387
|
amount: t.amount,
|
|
356
388
|
...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
|
|
357
|
-
return_url:
|
|
389
|
+
return_url: c
|
|
358
390
|
});
|
|
359
|
-
await
|
|
360
|
-
} catch (
|
|
361
|
-
|
|
391
|
+
await D(i);
|
|
392
|
+
} catch (i) {
|
|
393
|
+
s.error(
|
|
362
394
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
363
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
),
|
|
395
|
+
`Failed payment authorization for payment acceptor with id ${n}`,
|
|
396
|
+
r({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: i }),
|
|
397
|
+
i
|
|
398
|
+
), d({
|
|
367
399
|
code: "AUTHORIZATION_FAILED",
|
|
368
400
|
message: "Payment authorization failed",
|
|
369
|
-
error:
|
|
401
|
+
error: i
|
|
370
402
|
});
|
|
371
403
|
}
|
|
372
404
|
return;
|
|
373
405
|
}
|
|
374
406
|
if (t.variant === "TOKENIZE") {
|
|
375
407
|
if (!t.customerId) {
|
|
376
|
-
|
|
408
|
+
s.error(
|
|
377
409
|
"TOKENIZATION_FAILED",
|
|
378
|
-
`Missing customer id for payment acceptor with id ${
|
|
379
|
-
|
|
380
|
-
),
|
|
410
|
+
`Missing customer id for payment acceptor with id ${n}`,
|
|
411
|
+
r({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
412
|
+
), d({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
381
413
|
return;
|
|
382
414
|
}
|
|
383
415
|
try {
|
|
384
|
-
const
|
|
416
|
+
const i = await b({
|
|
385
417
|
customer_id: t.customerId,
|
|
386
|
-
payment_acceptor_id:
|
|
387
|
-
payment_gateway_variant:
|
|
418
|
+
payment_acceptor_id: n,
|
|
419
|
+
payment_gateway_variant: T,
|
|
388
420
|
stripe: { confirmation_token_id: e },
|
|
389
|
-
return_url:
|
|
421
|
+
return_url: c
|
|
390
422
|
});
|
|
391
|
-
await
|
|
392
|
-
} catch (
|
|
393
|
-
|
|
423
|
+
await D(i);
|
|
424
|
+
} catch (i) {
|
|
425
|
+
s.error(
|
|
394
426
|
"TOKENIZATION_FAILED",
|
|
395
|
-
`Tokenization failed for payment acceptor with id ${
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
),
|
|
427
|
+
`Tokenization failed for payment acceptor with id ${n}`,
|
|
428
|
+
r({ reason: "TOKENIZATION_FAILED", cause: i }),
|
|
429
|
+
i
|
|
430
|
+
), d({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: i });
|
|
399
431
|
}
|
|
400
432
|
}
|
|
401
433
|
}
|
|
402
|
-
async function
|
|
403
|
-
var
|
|
404
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant ===
|
|
405
|
-
const
|
|
406
|
-
if (!
|
|
407
|
-
|
|
434
|
+
async function D(e) {
|
|
435
|
+
var n;
|
|
436
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === T) {
|
|
437
|
+
const c = e.action.client_secret || ((n = e.action.data) == null ? void 0 : n.client_secret);
|
|
438
|
+
if (!c) {
|
|
439
|
+
s.error(
|
|
408
440
|
"STRIPE_ACTION_FAILED",
|
|
409
441
|
"Missing client_secret in Stripe ACTION_REQUIRED response",
|
|
410
|
-
|
|
442
|
+
r({
|
|
411
443
|
reason: "STRIPE_ACTION_MISSING_CLIENT_SECRET",
|
|
412
444
|
extra: { paymentStatus: e.status }
|
|
413
445
|
})
|
|
414
|
-
),
|
|
446
|
+
), d({
|
|
415
447
|
code: "AUTHORIZATION_FAILED",
|
|
416
448
|
message: "Payment action failed",
|
|
417
449
|
error: e
|
|
418
450
|
});
|
|
419
451
|
return;
|
|
420
452
|
}
|
|
421
|
-
let
|
|
453
|
+
let i;
|
|
422
454
|
try {
|
|
423
|
-
|
|
424
|
-
} catch (
|
|
425
|
-
|
|
455
|
+
i = await K();
|
|
456
|
+
} catch (g) {
|
|
457
|
+
s.error(
|
|
426
458
|
"STRIPE_ACTION_FAILED",
|
|
427
459
|
"Failed to load Stripe.js",
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
),
|
|
460
|
+
r({ reason: "STRIPE_SDK_LOAD_FAILED", cause: g }),
|
|
461
|
+
g
|
|
462
|
+
), d({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: g });
|
|
431
463
|
return;
|
|
432
464
|
}
|
|
433
|
-
const { error:
|
|
434
|
-
if (
|
|
435
|
-
|
|
465
|
+
const { error: E } = await i.handleNextAction({ clientSecret: c });
|
|
466
|
+
if (E) {
|
|
467
|
+
s.error(
|
|
436
468
|
"STRIPE_ACTION_FAILED",
|
|
437
469
|
"Stripe handleNextAction failed",
|
|
438
|
-
|
|
470
|
+
r({
|
|
439
471
|
reason: "STRIPE_NEXT_ACTION_FAILED",
|
|
440
|
-
cause:
|
|
441
|
-
extra: { stripeErrorCode:
|
|
472
|
+
cause: E,
|
|
473
|
+
extra: { stripeErrorCode: E.code, stripeErrorType: E.type }
|
|
442
474
|
}),
|
|
443
|
-
|
|
444
|
-
),
|
|
475
|
+
E
|
|
476
|
+
), d({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: E });
|
|
445
477
|
return;
|
|
446
478
|
}
|
|
447
|
-
|
|
479
|
+
p.value = !0, o("payment-success");
|
|
448
480
|
return;
|
|
449
481
|
}
|
|
450
482
|
if (e.status === "SUCCESS") {
|
|
451
|
-
|
|
483
|
+
p.value = !0, o("payment-success");
|
|
452
484
|
return;
|
|
453
485
|
}
|
|
454
|
-
|
|
486
|
+
s.error(
|
|
455
487
|
"STRIPE_ACTION_FAILED",
|
|
456
488
|
"Unexpected payment result status",
|
|
457
|
-
|
|
489
|
+
r({
|
|
458
490
|
reason: "STRIPE_UNEXPECTED_PAYMENT_STATUS",
|
|
459
491
|
extra: { paymentStatus: e.status }
|
|
460
492
|
})
|
|
461
|
-
),
|
|
493
|
+
), d({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
|
|
462
494
|
}
|
|
463
|
-
async function
|
|
495
|
+
async function j() {
|
|
464
496
|
const e = t.paymentMethodOptionResponseEntry.payment_acceptor.id;
|
|
465
|
-
if (
|
|
466
|
-
const
|
|
467
|
-
if (!
|
|
468
|
-
if (
|
|
469
|
-
|
|
497
|
+
if (O(q) !== e) return;
|
|
498
|
+
const c = O("redirect_status"), i = O("payment_intent_client_secret"), E = O("setup_intent_client_secret");
|
|
499
|
+
if (!c || !i && !E) return;
|
|
500
|
+
if (c === "succeeded") {
|
|
501
|
+
p.value = !0, o("payment-success");
|
|
470
502
|
return;
|
|
471
503
|
}
|
|
472
|
-
const
|
|
473
|
-
`Stripe redirect returned status: ${
|
|
504
|
+
const g = new globalThis.Error(
|
|
505
|
+
`Stripe redirect returned status: ${c}`
|
|
474
506
|
);
|
|
475
|
-
|
|
507
|
+
s.error(
|
|
476
508
|
"STRIPE_REDIRECT_RETURN_FAILED",
|
|
477
509
|
"Stripe redirect returned non-succeeded status",
|
|
478
|
-
|
|
510
|
+
r({
|
|
479
511
|
reason: "STRIPE_REDIRECT_RETURN_FAILED",
|
|
480
|
-
extra: { redirectStatus:
|
|
512
|
+
extra: { redirectStatus: c }
|
|
481
513
|
}),
|
|
482
|
-
|
|
483
|
-
),
|
|
514
|
+
g
|
|
515
|
+
), d({
|
|
484
516
|
code: "AUTHORIZATION_FAILED",
|
|
485
517
|
message: "Payment failed",
|
|
486
|
-
error:
|
|
518
|
+
error: g
|
|
487
519
|
});
|
|
488
520
|
}
|
|
489
|
-
function
|
|
490
|
-
|
|
521
|
+
function z() {
|
|
522
|
+
o("select", {
|
|
491
523
|
paymentMethodType: "card",
|
|
492
|
-
paymentGatewayVariant:
|
|
493
|
-
}),
|
|
524
|
+
paymentGatewayVariant: T
|
|
525
|
+
}), o("ready");
|
|
494
526
|
}
|
|
495
|
-
function
|
|
496
|
-
|
|
527
|
+
function B(e) {
|
|
528
|
+
s.error(
|
|
497
529
|
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
498
530
|
"Failed to load the Stripe payment form",
|
|
499
|
-
|
|
531
|
+
r({
|
|
500
532
|
reason: "STRIPE_FORM_LOAD_FAILED",
|
|
501
533
|
cause: e,
|
|
502
534
|
extra: { stripeErrorType: e.type }
|
|
503
535
|
}),
|
|
504
536
|
e
|
|
505
|
-
),
|
|
537
|
+
), d({
|
|
506
538
|
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
507
539
|
message: e.message ?? "Failed to load payment form",
|
|
508
540
|
error: e
|
|
509
541
|
});
|
|
510
542
|
}
|
|
511
|
-
function
|
|
512
|
-
const
|
|
513
|
-
|
|
543
|
+
function d(e) {
|
|
544
|
+
const n = ae(e);
|
|
545
|
+
l.value = n, o("payment-failed", n);
|
|
514
546
|
}
|
|
515
|
-
return
|
|
516
|
-
|
|
517
|
-
|
|
547
|
+
return M(() => {
|
|
548
|
+
j().catch((e) => {
|
|
549
|
+
s.error(
|
|
518
550
|
"STRIPE_REDIRECT_RETURN_FAILED",
|
|
519
551
|
"handleRedirectReturn threw unexpectedly",
|
|
520
|
-
|
|
552
|
+
r({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
|
|
521
553
|
e
|
|
522
554
|
);
|
|
523
555
|
});
|
|
524
|
-
}),
|
|
525
|
-
|
|
526
|
-
}), (e,
|
|
556
|
+
}), k(() => {
|
|
557
|
+
_.value = null;
|
|
558
|
+
}), (e, n) => p.value ? (h(), w(X, {
|
|
527
559
|
key: 0,
|
|
528
|
-
variant:
|
|
529
|
-
redirecting:
|
|
530
|
-
}, null, 8, ["variant", "redirecting"])) :
|
|
560
|
+
variant: m.variant,
|
|
561
|
+
redirecting: m.redirectsOnSuccess
|
|
562
|
+
}, null, 8, ["variant", "redirecting"])) : l.value ? (h(), w(J, {
|
|
531
563
|
key: 1,
|
|
532
|
-
error:
|
|
533
|
-
}, null, 8, ["error"])) :
|
|
564
|
+
error: l.value
|
|
565
|
+
}, null, 8, ["error"])) : a.value ? (h(), w(se, {
|
|
534
566
|
key: 2,
|
|
535
567
|
ref_key: "frameRef",
|
|
536
|
-
ref:
|
|
537
|
-
"public-key":
|
|
538
|
-
options:
|
|
539
|
-
"country-code":
|
|
540
|
-
email:
|
|
541
|
-
name:
|
|
542
|
-
onReady:
|
|
543
|
-
onChange:
|
|
544
|
-
paymentMethodType:
|
|
545
|
-
paymentGatewayVariant:
|
|
568
|
+
ref: y,
|
|
569
|
+
"public-key": a.value,
|
|
570
|
+
options: N.value,
|
|
571
|
+
"country-code": m.countryCode,
|
|
572
|
+
email: m.email,
|
|
573
|
+
name: m.name,
|
|
574
|
+
onReady: z,
|
|
575
|
+
onChange: n[0] || (n[0] = (c) => o("select", {
|
|
576
|
+
paymentMethodType: c,
|
|
577
|
+
paymentGatewayVariant: T
|
|
546
578
|
})),
|
|
547
|
-
onLoaderror:
|
|
548
|
-
onSubmitSuccess:
|
|
549
|
-
onSubmitError:
|
|
550
|
-
"STRIPE_CONFIRMATION_TOKEN_FAILED",
|
|
551
|
-
"Stripe submission failed",
|
|
552
|
-
n({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: s }),
|
|
553
|
-
s
|
|
554
|
-
))
|
|
579
|
+
onLoaderror: B,
|
|
580
|
+
onSubmitSuccess: H,
|
|
581
|
+
onSubmitError: x
|
|
555
582
|
}, null, 8, ["public-key", "options", "country-code", "email", "name"])) : $("", !0);
|
|
556
583
|
}
|
|
557
584
|
});
|