@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
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { shallowRef as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { o as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
8
|
-
import { u as
|
|
9
|
-
import { b as
|
|
10
|
-
import { u as
|
|
11
|
-
import { a as
|
|
12
|
-
const
|
|
13
|
-
initialState:
|
|
14
|
-
validationRules:
|
|
1
|
+
import { shallowRef as q, computed as N, defineComponent as E, reactive as J, ref as K, watch as Q, openBlock as h, createElementBlock as T, withModifiers as W, createVNode as d, unref as t, withCtx as I, createTextVNode as O, toDisplayString as F, createElementVNode as S, createBlock as C, createCommentVNode as L, Fragment as ee, onMounted as te, renderSlot as ae, normalizeProps as oe, guardReactiveProps as le } from "vue";
|
|
2
|
+
import { _ as re } from "../../Button.vue.es-Cmjfm4jw.mjs";
|
|
3
|
+
import { o as ne, u as ie, _ as se, a as me } from "../../useCustomerFormLabels-BQk3d9PZ.mjs";
|
|
4
|
+
import { _ as ue } from "../../ErrorNotification.vue.es-h-D37rfG.mjs";
|
|
5
|
+
import { _ as p } from "../../Input.vue.es-CU9u5yKH.mjs";
|
|
6
|
+
import { a as de, _ as X, d as ce, e as pe } from "../../customElements-B58FcXIN.mjs";
|
|
7
|
+
import { a as ye, i as fe } from "../../typeGuards.es-B4XMtlkM.mjs";
|
|
8
|
+
import { u as ge, e as he, r as be, f as y, a as _, b as V } from "../../formControl-dX7l8o3c.mjs";
|
|
9
|
+
import { b as ve } from "../../api.es-QaC926Xu.mjs";
|
|
10
|
+
import { u as Ve } from "../../useCustomer-B-jyJIVy.mjs";
|
|
11
|
+
import { a as Ne } from "../../sessionReference-3h-6FdrC.mjs";
|
|
12
|
+
const _e = ({
|
|
13
|
+
initialState: e,
|
|
14
|
+
validationRules: a,
|
|
15
15
|
nullifyEmptyValues: i = !1,
|
|
16
16
|
mode: n = "shallow"
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
() =>
|
|
20
|
-
),
|
|
18
|
+
const u = q(structuredClone(e)), o = q(structuredClone(e)), l = ge(a ?? {}, o), f = N(
|
|
19
|
+
() => ne({ from: u.value, to: o.value, mode: n, nullifyEmptyValues: i })
|
|
20
|
+
), v = N(() => Object.entries(f.value).length > 0);
|
|
21
21
|
return {
|
|
22
|
-
form:
|
|
23
|
-
validation:
|
|
24
|
-
changes:
|
|
25
|
-
hasChanges:
|
|
22
|
+
form: o,
|
|
23
|
+
validation: l,
|
|
24
|
+
changes: f,
|
|
25
|
+
hasChanges: v,
|
|
26
26
|
reset: () => {
|
|
27
|
-
|
|
27
|
+
o.value = structuredClone(e), l.value.$reset();
|
|
28
28
|
},
|
|
29
|
-
updateInitialState: (
|
|
30
|
-
|
|
29
|
+
updateInitialState: (g) => {
|
|
30
|
+
o.value = structuredClone(g), u.value = structuredClone(g);
|
|
31
31
|
},
|
|
32
|
-
initialState:
|
|
32
|
+
initialState: u
|
|
33
33
|
};
|
|
34
|
-
},
|
|
34
|
+
}, Le = "GENERIC_TAX_ID", Ie = {
|
|
35
35
|
type: "INDIVIDUAL",
|
|
36
36
|
email: "",
|
|
37
37
|
country: "",
|
|
@@ -40,115 +40,115 @@ const fe = ({
|
|
|
40
40
|
city: "",
|
|
41
41
|
state: ""
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
initialState:
|
|
45
|
-
onSubmit:
|
|
43
|
+
function Ce({
|
|
44
|
+
initialState: e = {},
|
|
45
|
+
onSubmit: a
|
|
46
46
|
}) {
|
|
47
47
|
const {
|
|
48
48
|
form: i,
|
|
49
49
|
validation: n,
|
|
50
|
-
changes:
|
|
51
|
-
hasChanges:
|
|
52
|
-
updateInitialState:
|
|
53
|
-
initialState:
|
|
54
|
-
} =
|
|
50
|
+
changes: u,
|
|
51
|
+
hasChanges: o,
|
|
52
|
+
updateInitialState: l,
|
|
53
|
+
initialState: f
|
|
54
|
+
} = _e({
|
|
55
55
|
initialState: {
|
|
56
|
-
...
|
|
57
|
-
...
|
|
56
|
+
...Ie,
|
|
57
|
+
...e
|
|
58
58
|
},
|
|
59
59
|
validationRules: {
|
|
60
|
-
email: { required:
|
|
60
|
+
email: { required: be, email: he }
|
|
61
61
|
},
|
|
62
62
|
nullifyEmptyValues: !0,
|
|
63
63
|
mode: "deep"
|
|
64
64
|
});
|
|
65
65
|
return {
|
|
66
66
|
form: i,
|
|
67
|
-
isOrganization:
|
|
67
|
+
isOrganization: ye,
|
|
68
68
|
validation: n,
|
|
69
|
-
changes:
|
|
70
|
-
hasChanges:
|
|
71
|
-
updateInitialState: (
|
|
72
|
-
|
|
69
|
+
changes: u,
|
|
70
|
+
hasChanges: o,
|
|
71
|
+
updateInitialState: (b) => {
|
|
72
|
+
l(Se(b));
|
|
73
73
|
},
|
|
74
|
-
submit: (
|
|
75
|
-
customerId:
|
|
76
|
-
payload:
|
|
74
|
+
submit: (b, g = i.value) => a({
|
|
75
|
+
customerId: b,
|
|
76
|
+
payload: Ee(g)
|
|
77
77
|
}),
|
|
78
|
-
initialState:
|
|
78
|
+
initialState: f
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
var i, n,
|
|
83
|
-
if (
|
|
84
|
-
const
|
|
81
|
+
const Se = (e) => {
|
|
82
|
+
var i, n, u, o;
|
|
83
|
+
if (fe(e)) {
|
|
84
|
+
const l = e.individual.residential_address;
|
|
85
85
|
return {
|
|
86
86
|
type: "INDIVIDUAL",
|
|
87
|
-
email:
|
|
88
|
-
country: (
|
|
89
|
-
addressLine1: (
|
|
90
|
-
addressLine2: (
|
|
91
|
-
postalCode: (
|
|
92
|
-
city: (
|
|
93
|
-
state: (
|
|
94
|
-
firstName: ((i =
|
|
95
|
-
lastName: ((n =
|
|
87
|
+
email: e.email ?? "",
|
|
88
|
+
country: (l == null ? void 0 : l.country) ?? "",
|
|
89
|
+
addressLine1: (l == null ? void 0 : l.line1) ?? "",
|
|
90
|
+
addressLine2: (l == null ? void 0 : l.line2) ?? "",
|
|
91
|
+
postalCode: (l == null ? void 0 : l.postal_code) ?? "",
|
|
92
|
+
city: (l == null ? void 0 : l.city) ?? "",
|
|
93
|
+
state: (l == null ? void 0 : l.state) ?? "",
|
|
94
|
+
firstName: ((i = e.individual.name) == null ? void 0 : i.first_name) ?? "",
|
|
95
|
+
lastName: ((n = e.individual.name) == null ? void 0 : n.last_name) ?? ""
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
const
|
|
98
|
+
const a = e.organization.registered_address;
|
|
99
99
|
return {
|
|
100
100
|
type: "ORGANIZATION",
|
|
101
|
-
email:
|
|
102
|
-
country: (
|
|
103
|
-
addressLine1: (
|
|
104
|
-
addressLine2: (
|
|
105
|
-
postalCode: (
|
|
106
|
-
city: (
|
|
107
|
-
state: (
|
|
108
|
-
companyLegalName:
|
|
109
|
-
companyVatNumber: ((
|
|
101
|
+
email: e.email ?? "",
|
|
102
|
+
country: (a == null ? void 0 : a.country) ?? "",
|
|
103
|
+
addressLine1: (a == null ? void 0 : a.line1) ?? "",
|
|
104
|
+
addressLine2: (a == null ? void 0 : a.line2) ?? "",
|
|
105
|
+
postalCode: (a == null ? void 0 : a.postal_code) ?? "",
|
|
106
|
+
city: (a == null ? void 0 : a.city) ?? "",
|
|
107
|
+
state: (a == null ? void 0 : a.state) ?? "",
|
|
108
|
+
companyLegalName: e.organization.legal_name ?? "",
|
|
109
|
+
companyVatNumber: ((o = (u = e.organization.tax_ids) == null ? void 0 : u[0]) == null ? void 0 : o.id) ?? ""
|
|
110
110
|
};
|
|
111
|
-
},
|
|
111
|
+
}, Ee = (e) => e.type === "ORGANIZATION" ? {
|
|
112
112
|
type: "ORGANIZATION",
|
|
113
|
-
email:
|
|
113
|
+
email: e.email,
|
|
114
114
|
organization: {
|
|
115
|
-
legal_name:
|
|
116
|
-
tax_ids:
|
|
115
|
+
legal_name: e.companyLegalName ?? "",
|
|
116
|
+
tax_ids: e.companyVatNumber ? [
|
|
117
117
|
{
|
|
118
|
-
id:
|
|
119
|
-
type:
|
|
118
|
+
id: e.companyVatNumber,
|
|
119
|
+
type: Le
|
|
120
120
|
}
|
|
121
121
|
] : void 0,
|
|
122
122
|
registered_address: {
|
|
123
|
-
line1:
|
|
124
|
-
line2:
|
|
125
|
-
postal_code:
|
|
126
|
-
city:
|
|
127
|
-
country:
|
|
128
|
-
state:
|
|
123
|
+
line1: e.addressLine1,
|
|
124
|
+
line2: e.addressLine2 ?? "",
|
|
125
|
+
postal_code: e.postalCode,
|
|
126
|
+
city: e.city,
|
|
127
|
+
country: e.country,
|
|
128
|
+
state: e.state ?? ""
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
} : {
|
|
132
132
|
type: "INDIVIDUAL",
|
|
133
|
-
email:
|
|
133
|
+
email: e.email,
|
|
134
134
|
individual: {
|
|
135
135
|
name: {
|
|
136
|
-
first_name:
|
|
137
|
-
last_name:
|
|
136
|
+
first_name: e.firstName ?? "",
|
|
137
|
+
last_name: e.lastName ?? ""
|
|
138
138
|
},
|
|
139
139
|
residential_address: {
|
|
140
|
-
line1:
|
|
141
|
-
line2:
|
|
142
|
-
postal_code:
|
|
143
|
-
city:
|
|
144
|
-
country:
|
|
145
|
-
state:
|
|
140
|
+
line1: e.addressLine1,
|
|
141
|
+
line2: e.addressLine2 ?? "",
|
|
142
|
+
postal_code: e.postalCode,
|
|
143
|
+
city: e.city,
|
|
144
|
+
country: e.country,
|
|
145
|
+
state: e.state ?? ""
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
},
|
|
148
|
+
}, Ae = { class: "grid grid-cols-1 gap-4" }, Te = { class: "mt-6 flex items-center justify-between gap-4" }, Oe = { class: "flex flex-col gap-2" }, Fe = {
|
|
149
149
|
key: 0,
|
|
150
150
|
class: "grid grid-cols-2 gap-2"
|
|
151
|
-
},
|
|
151
|
+
}, ke = { class: "grid grid-cols-3 gap-2" }, Ue = /* @__PURE__ */ E({
|
|
152
152
|
__name: "BillingInformationForm",
|
|
153
153
|
props: {
|
|
154
154
|
customer: { type: Object },
|
|
@@ -156,84 +156,100 @@ const Ve = (t) => {
|
|
|
156
156
|
apiError: { type: null },
|
|
157
157
|
updateCustomer: { type: Function }
|
|
158
158
|
},
|
|
159
|
-
setup(
|
|
160
|
-
const
|
|
161
|
-
onSubmit: ({ customerId:
|
|
162
|
-
}),
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
159
|
+
setup(e) {
|
|
160
|
+
const a = e, { $t: i } = de(), n = ie(), { validation: u, form: o, updateInitialState: l, submit: f, hasChanges: v } = Ce({
|
|
161
|
+
onSubmit: ({ customerId: c, payload: r }) => a.updateCustomer({ customerId: c, payload: r })
|
|
162
|
+
}), m = J({
|
|
163
|
+
email: y(o, "email", _),
|
|
164
|
+
companyVatNumber: y(o, "companyVatNumber", V),
|
|
165
|
+
companyLegalName: y(o, "companyLegalName", V),
|
|
166
|
+
firstName: y(o, "firstName", V),
|
|
167
|
+
lastName: y(o, "lastName", V),
|
|
168
|
+
addressLine1: y(o, "addressLine1", _),
|
|
169
|
+
addressLine2: y(o, "addressLine2", V),
|
|
170
|
+
postalCode: y(o, "postalCode", _),
|
|
171
|
+
city: y(o, "city", _),
|
|
172
|
+
state: y(o, "state", V)
|
|
173
|
+
}), b = N({
|
|
174
|
+
get: () => o.value.country,
|
|
175
|
+
set: (c) => {
|
|
176
|
+
o.value.country = _(c);
|
|
177
|
+
}
|
|
178
|
+
}), g = K(!1), A = N(() => o.value.type === "ORGANIZATION"), H = N(() => !g.value), k = N({
|
|
179
|
+
get: () => A.value,
|
|
180
|
+
set: (c) => o.value.type = c ? "ORGANIZATION" : "INDIVIDUAL"
|
|
181
|
+
}), Y = async () => {
|
|
182
|
+
var r;
|
|
183
|
+
await u.value.$validate(), !u.value.$invalid && (r = a.customer) != null && r.id && await f(a.customer.id);
|
|
168
184
|
};
|
|
169
|
-
return
|
|
170
|
-
() =>
|
|
171
|
-
(
|
|
172
|
-
!
|
|
185
|
+
return Q(
|
|
186
|
+
() => a.customer,
|
|
187
|
+
(c) => {
|
|
188
|
+
!c || g.value || (l(c), g.value = !0);
|
|
173
189
|
},
|
|
174
190
|
{ immediate: !0 }
|
|
175
|
-
), (
|
|
176
|
-
var
|
|
177
|
-
return
|
|
178
|
-
onSubmit:
|
|
191
|
+
), (c, r) => {
|
|
192
|
+
var U, $, P, w, M, j, x, B, D, R, z, G, Z;
|
|
193
|
+
return h(), T("form", {
|
|
194
|
+
onSubmit: W(Y, ["prevent"])
|
|
179
195
|
}, [
|
|
180
|
-
|
|
196
|
+
d(t(X), {
|
|
181
197
|
variant: "heading-3",
|
|
182
198
|
tag: "h2"
|
|
183
199
|
}, {
|
|
184
|
-
default:
|
|
185
|
-
|
|
200
|
+
default: I(() => [
|
|
201
|
+
O(F(t(n).contactInformationTitle), 1)
|
|
186
202
|
]),
|
|
187
203
|
_: 1
|
|
188
204
|
}),
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
modelValue:
|
|
192
|
-
"onUpdate:modelValue":
|
|
205
|
+
S("div", Ae, [
|
|
206
|
+
d(t(p), {
|
|
207
|
+
modelValue: m.email,
|
|
208
|
+
"onUpdate:modelValue": r[0] || (r[0] = (s) => m.email = s),
|
|
193
209
|
required: "",
|
|
194
210
|
type: "email",
|
|
195
|
-
label:
|
|
196
|
-
placeholder:
|
|
197
|
-
error: ((
|
|
211
|
+
label: t(n).emailLabel,
|
|
212
|
+
placeholder: t(n).emailPlaceholder,
|
|
213
|
+
error: ((U = t(u).email) == null ? void 0 : U.$errors) || (($ = e.apiError) == null ? void 0 : $.email)
|
|
198
214
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
199
|
-
|
|
200
|
-
"single-model-value":
|
|
201
|
-
"onUpdate:singleModelValue":
|
|
202
|
-
label:
|
|
203
|
-
error: (
|
|
215
|
+
d(t(se), {
|
|
216
|
+
"single-model-value": b.value,
|
|
217
|
+
"onUpdate:singleModelValue": r[1] || (r[1] = (s) => b.value = s),
|
|
218
|
+
label: t(n).countryLabel,
|
|
219
|
+
error: (P = e.apiError) == null ? void 0 : P.country
|
|
204
220
|
}, null, 8, ["single-model-value", "label", "error"]),
|
|
205
|
-
|
|
221
|
+
H.value ? (h(), C(me, {
|
|
206
222
|
key: 0,
|
|
207
|
-
modelValue:
|
|
208
|
-
"onUpdate:modelValue":
|
|
209
|
-
}, null, 8, ["modelValue"])) :
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
modelValue:
|
|
213
|
-
"onUpdate:modelValue":
|
|
223
|
+
modelValue: k.value,
|
|
224
|
+
"onUpdate:modelValue": r[2] || (r[2] = (s) => k.value = s)
|
|
225
|
+
}, null, 8, ["modelValue"])) : L("", !0),
|
|
226
|
+
A.value ? (h(), T(ee, { key: 1 }, [
|
|
227
|
+
d(t(p), {
|
|
228
|
+
modelValue: m.companyVatNumber,
|
|
229
|
+
"onUpdate:modelValue": r[3] || (r[3] = (s) => m.companyVatNumber = s),
|
|
214
230
|
name: "vat_number",
|
|
215
|
-
label:
|
|
216
|
-
placeholder:
|
|
217
|
-
error: (
|
|
231
|
+
label: t(n).vatNumberLabel,
|
|
232
|
+
placeholder: t(n).vatNumberPlaceholder,
|
|
233
|
+
error: (w = e.apiError) == null ? void 0 : w.vat_number
|
|
218
234
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
219
|
-
|
|
220
|
-
modelValue:
|
|
221
|
-
"onUpdate:modelValue":
|
|
235
|
+
d(t(p), {
|
|
236
|
+
modelValue: m.companyLegalName,
|
|
237
|
+
"onUpdate:modelValue": r[4] || (r[4] = (s) => m.companyLegalName = s),
|
|
222
238
|
required: "",
|
|
223
239
|
name: "legal_name",
|
|
224
|
-
label:
|
|
225
|
-
placeholder:
|
|
226
|
-
error: (
|
|
240
|
+
label: t(n).legalNameLabel,
|
|
241
|
+
placeholder: t(n).legalNamePlaceholder,
|
|
242
|
+
error: (M = e.apiError) == null ? void 0 : M.legal_name
|
|
227
243
|
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
228
|
-
], 64)) :
|
|
244
|
+
], 64)) : L("", !0)
|
|
229
245
|
]),
|
|
230
|
-
|
|
231
|
-
|
|
246
|
+
S("div", Te, [
|
|
247
|
+
d(t(X), {
|
|
232
248
|
variant: "heading-3",
|
|
233
249
|
tag: "h2"
|
|
234
250
|
}, {
|
|
235
|
-
default:
|
|
236
|
-
|
|
251
|
+
default: I(() => [
|
|
252
|
+
O(F(t(i)({
|
|
237
253
|
defaultMessage: "Billing details",
|
|
238
254
|
id: "checkout.billing_information_block.title",
|
|
239
255
|
description: "The title of the billing information block in the checkout form"
|
|
@@ -242,102 +258,102 @@ const Ve = (t) => {
|
|
|
242
258
|
_: 1
|
|
243
259
|
})
|
|
244
260
|
]),
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
modelValue:
|
|
249
|
-
"onUpdate:modelValue":
|
|
261
|
+
S("div", Oe, [
|
|
262
|
+
A.value ? L("", !0) : (h(), T("div", Fe, [
|
|
263
|
+
d(t(p), {
|
|
264
|
+
modelValue: m.firstName,
|
|
265
|
+
"onUpdate:modelValue": r[5] || (r[5] = (s) => m.firstName = s),
|
|
250
266
|
name: "first_name",
|
|
251
|
-
label:
|
|
267
|
+
label: t(i)({
|
|
252
268
|
defaultMessage: "First name",
|
|
253
269
|
id: "checkout.first_name.label",
|
|
254
270
|
description: "The first name of the customer in the checkout form"
|
|
255
271
|
}),
|
|
256
|
-
placeholder:
|
|
272
|
+
placeholder: t(i)({
|
|
257
273
|
defaultMessage: "First name...",
|
|
258
274
|
id: "checkout.first_name.placeholder",
|
|
259
275
|
description: "The first name of the customer in the checkout form"
|
|
260
276
|
}),
|
|
261
|
-
error: (
|
|
277
|
+
error: (j = e.apiError) == null ? void 0 : j.first_name
|
|
262
278
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
263
|
-
|
|
264
|
-
modelValue:
|
|
265
|
-
"onUpdate:modelValue":
|
|
279
|
+
d(t(p), {
|
|
280
|
+
modelValue: m.lastName,
|
|
281
|
+
"onUpdate:modelValue": r[6] || (r[6] = (s) => m.lastName = s),
|
|
266
282
|
name: "last_name",
|
|
267
|
-
label:
|
|
283
|
+
label: t(i)({
|
|
268
284
|
defaultMessage: "Last name",
|
|
269
285
|
id: "checkout.last_name.label",
|
|
270
286
|
description: "The last name of the customer in the checkout form"
|
|
271
287
|
}),
|
|
272
|
-
placeholder:
|
|
288
|
+
placeholder: t(i)({
|
|
273
289
|
defaultMessage: "Last name...",
|
|
274
290
|
id: "checkout.last_name.placeholder",
|
|
275
291
|
description: "The last name of the customer in the checkout form"
|
|
276
292
|
}),
|
|
277
|
-
error: (
|
|
293
|
+
error: (x = e.apiError) == null ? void 0 : x.last_name
|
|
278
294
|
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
279
295
|
])),
|
|
280
|
-
|
|
281
|
-
modelValue:
|
|
282
|
-
"onUpdate:modelValue":
|
|
296
|
+
d(t(p), {
|
|
297
|
+
modelValue: m.addressLine1,
|
|
298
|
+
"onUpdate:modelValue": r[7] || (r[7] = (s) => m.addressLine1 = s),
|
|
283
299
|
name: "address_line_1",
|
|
284
|
-
label:
|
|
285
|
-
placeholder:
|
|
300
|
+
label: t(n).addressTitle,
|
|
301
|
+
placeholder: t(i)({
|
|
286
302
|
defaultMessage: "Address line 1...",
|
|
287
303
|
id: "checkout.address.line1.placeholder",
|
|
288
304
|
description: "Address line 1 of the customer address in the checkout form"
|
|
289
305
|
}),
|
|
290
|
-
error: (
|
|
306
|
+
error: (B = e.apiError) == null ? void 0 : B.address_line_1
|
|
291
307
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
292
|
-
|
|
293
|
-
modelValue:
|
|
294
|
-
"onUpdate:modelValue":
|
|
308
|
+
d(t(p), {
|
|
309
|
+
modelValue: m.addressLine2,
|
|
310
|
+
"onUpdate:modelValue": r[8] || (r[8] = (s) => m.addressLine2 = s),
|
|
295
311
|
name: "address_line_2",
|
|
296
|
-
placeholder:
|
|
312
|
+
placeholder: t(i)({
|
|
297
313
|
defaultMessage: "Address line 2...",
|
|
298
314
|
id: "checkout.address.line2.placeholder",
|
|
299
315
|
description: "Address line 2 of the customer address in the checkout form"
|
|
300
316
|
}),
|
|
301
|
-
error: (
|
|
317
|
+
error: (D = e.apiError) == null ? void 0 : D.address_line_2
|
|
302
318
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
modelValue:
|
|
306
|
-
"onUpdate:modelValue":
|
|
319
|
+
S("div", ke, [
|
|
320
|
+
d(t(p), {
|
|
321
|
+
modelValue: m.postalCode,
|
|
322
|
+
"onUpdate:modelValue": r[9] || (r[9] = (s) => m.postalCode = s),
|
|
307
323
|
name: "postal_code",
|
|
308
|
-
placeholder:
|
|
309
|
-
error: (
|
|
324
|
+
placeholder: t(n).postalCodePlaceholder,
|
|
325
|
+
error: (R = e.apiError) == null ? void 0 : R.postal_code
|
|
310
326
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
311
|
-
|
|
312
|
-
modelValue:
|
|
313
|
-
"onUpdate:modelValue":
|
|
327
|
+
d(t(p), {
|
|
328
|
+
modelValue: m.city,
|
|
329
|
+
"onUpdate:modelValue": r[10] || (r[10] = (s) => m.city = s),
|
|
314
330
|
name: "city",
|
|
315
|
-
placeholder:
|
|
316
|
-
error: (
|
|
331
|
+
placeholder: t(n).cityPlaceholder,
|
|
332
|
+
error: (z = e.apiError) == null ? void 0 : z.city
|
|
317
333
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
318
|
-
|
|
319
|
-
modelValue:
|
|
320
|
-
"onUpdate:modelValue":
|
|
334
|
+
d(t(p), {
|
|
335
|
+
modelValue: m.state,
|
|
336
|
+
"onUpdate:modelValue": r[11] || (r[11] = (s) => m.state = s),
|
|
321
337
|
name: "state",
|
|
322
|
-
placeholder:
|
|
323
|
-
error: (
|
|
338
|
+
placeholder: t(n).statePlaceholder,
|
|
339
|
+
error: (G = e.apiError) == null ? void 0 : G.state
|
|
324
340
|
}, null, 8, ["modelValue", "placeholder", "error"])
|
|
325
341
|
])
|
|
326
342
|
]),
|
|
327
|
-
(
|
|
343
|
+
(Z = e.apiError) != null && Z._generic ? (h(), C(t(ue), {
|
|
328
344
|
key: 0,
|
|
329
345
|
class: "mt-4",
|
|
330
|
-
title:
|
|
331
|
-
}, null, 8, ["title"])) :
|
|
332
|
-
|
|
346
|
+
title: e.apiError._generic
|
|
347
|
+
}, null, 8, ["title"])) : L("", !0),
|
|
348
|
+
d(t(re), {
|
|
333
349
|
type: "submit",
|
|
334
350
|
intent: "primary",
|
|
335
|
-
disabled: !
|
|
336
|
-
loading:
|
|
351
|
+
disabled: !t(v),
|
|
352
|
+
loading: e.isLoading,
|
|
337
353
|
class: "mt-4"
|
|
338
354
|
}, {
|
|
339
|
-
default:
|
|
340
|
-
|
|
355
|
+
default: I(() => [
|
|
356
|
+
O(F(t(i)({
|
|
341
357
|
defaultMessage: "Save changes",
|
|
342
358
|
id: "billing_information_form.submit_button.label",
|
|
343
359
|
description: "The label for the submit button of the billing information form"
|
|
@@ -348,7 +364,7 @@ const Ve = (t) => {
|
|
|
348
364
|
], 32);
|
|
349
365
|
};
|
|
350
366
|
}
|
|
351
|
-
}),
|
|
367
|
+
}), $e = /* @__PURE__ */ E({
|
|
352
368
|
__name: "BillingInformationForm",
|
|
353
369
|
props: {
|
|
354
370
|
customer: { type: Object },
|
|
@@ -356,16 +372,16 @@ const Ve = (t) => {
|
|
|
356
372
|
updateCustomer: { type: Function },
|
|
357
373
|
isLoading: { type: Boolean }
|
|
358
374
|
},
|
|
359
|
-
setup(
|
|
360
|
-
return (
|
|
375
|
+
setup(e) {
|
|
376
|
+
return (a, i) => (h(), C(Ue, {
|
|
361
377
|
class: "sv-billing-form sv-root sv-component",
|
|
362
|
-
customer:
|
|
363
|
-
"update-customer":
|
|
364
|
-
"is-loading":
|
|
365
|
-
"api-error":
|
|
378
|
+
customer: e.customer,
|
|
379
|
+
"update-customer": e.updateCustomer,
|
|
380
|
+
"is-loading": e.isLoading,
|
|
381
|
+
"api-error": e.apiError
|
|
366
382
|
}, null, 8, ["customer", "update-customer", "is-loading", "api-error"]));
|
|
367
383
|
}
|
|
368
|
-
}),
|
|
384
|
+
}), Pe = /* @__PURE__ */ E({
|
|
369
385
|
__name: "BillingInformationForm.entry.view",
|
|
370
386
|
props: {
|
|
371
387
|
environment: { type: String },
|
|
@@ -383,18 +399,18 @@ const Ve = (t) => {
|
|
|
383
399
|
cssOverrides: { type: [String, Array] },
|
|
384
400
|
branding: { type: Object }
|
|
385
401
|
},
|
|
386
|
-
setup(
|
|
387
|
-
const i =
|
|
388
|
-
return
|
|
389
|
-
await
|
|
390
|
-
}), (
|
|
391
|
-
customer:
|
|
392
|
-
isLoading:
|
|
393
|
-
updateCustomer:
|
|
394
|
-
apiError:
|
|
402
|
+
setup(e) {
|
|
403
|
+
const i = e.portalObject.customer_id, { customer: n, get: u, update: o } = Ve({ customerId: i });
|
|
404
|
+
return te(async () => {
|
|
405
|
+
await u.execute();
|
|
406
|
+
}), (l, f) => ae(l.$slots, "default", {
|
|
407
|
+
customer: t(n),
|
|
408
|
+
isLoading: t(u).isPending.value || t(o).isPending.value,
|
|
409
|
+
updateCustomer: t(o),
|
|
410
|
+
apiError: t(ve)(t(o).error)
|
|
395
411
|
});
|
|
396
412
|
}
|
|
397
|
-
}),
|
|
413
|
+
}), we = /* @__PURE__ */ E({
|
|
398
414
|
__name: "BillingInformationForm.entry",
|
|
399
415
|
props: {
|
|
400
416
|
environment: { type: String },
|
|
@@ -413,24 +429,24 @@ const Ve = (t) => {
|
|
|
413
429
|
branding: { type: Object }
|
|
414
430
|
},
|
|
415
431
|
emits: ["error"],
|
|
416
|
-
setup(
|
|
417
|
-
const
|
|
418
|
-
return (i, n) => (
|
|
432
|
+
setup(e) {
|
|
433
|
+
const a = Ne("billing-information-form");
|
|
434
|
+
return (i, n) => (h(), C(t(ce), {
|
|
419
435
|
entry: i.$props,
|
|
420
|
-
"component-name":
|
|
436
|
+
"component-name": t(a),
|
|
421
437
|
"allowed-portal-types": ["CUSTOMER"],
|
|
422
|
-
onError: n[0] || (n[0] = (
|
|
438
|
+
onError: n[0] || (n[0] = (u) => i.$emit("error", u))
|
|
423
439
|
}, {
|
|
424
|
-
default:
|
|
425
|
-
|
|
426
|
-
default:
|
|
427
|
-
|
|
440
|
+
default: I(() => [
|
|
441
|
+
d(Pe, oe(le(i.$props)), {
|
|
442
|
+
default: I(({ customer: u, updateCustomer: o, isLoading: l, apiError: f }) => [
|
|
443
|
+
u ? (h(), C($e, {
|
|
428
444
|
key: 0,
|
|
429
|
-
customer:
|
|
430
|
-
"is-loading":
|
|
431
|
-
"update-customer": ({ payload:
|
|
432
|
-
"api-error":
|
|
433
|
-
}, null, 8, ["customer", "is-loading", "update-customer", "api-error"])) :
|
|
445
|
+
customer: u,
|
|
446
|
+
"is-loading": l,
|
|
447
|
+
"update-customer": ({ payload: v }) => o.execute(v),
|
|
448
|
+
"api-error": f
|
|
449
|
+
}, null, 8, ["customer", "is-loading", "update-customer", "api-error"])) : L("", !0)
|
|
434
450
|
]),
|
|
435
451
|
_: 1
|
|
436
452
|
}, 16)
|
|
@@ -438,10 +454,10 @@ const Ve = (t) => {
|
|
|
438
454
|
_: 1
|
|
439
455
|
}, 8, ["entry", "component-name"]));
|
|
440
456
|
}
|
|
441
|
-
}), { define:
|
|
442
|
-
|
|
457
|
+
}), { define: He } = pe(
|
|
458
|
+
we,
|
|
443
459
|
"billing-information-form"
|
|
444
460
|
);
|
|
445
461
|
export {
|
|
446
|
-
|
|
462
|
+
He as defineSolvimonBillingInformationForm
|
|
447
463
|
};
|