@solvimon/solvimon-web 0.1.0-alpha.30 → 0.1.0-alpha.32
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 +152 -91
- package/dist/AddPaymentMethodModal-Cx203VXo.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BMHhLZnu.mjs +89 -0
- package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-DHJpiSdR.mjs} +1 -1
- package/dist/{Amount.vue.es-DPqHB8Xd.mjs → Amount.vue.es-CofcgmXt.mjs} +1 -1
- package/dist/AuthProvider.handle-BpFblzFx.mjs +46 -0
- package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-CJdXXOiG.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-F5OVG0kO.mjs +340 -0
- package/dist/BillingInformationModal-Do3Fuu8A.mjs +85 -0
- package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-CW7XfMBF.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-B4ShPKLS.mjs} +46 -45
- package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-CYwWHyAT.mjs} +2 -2
- package/dist/CompanyPurchaseToggle.vue_vue_type_script_setup_true_lang-CVXHCSPb.mjs +510 -0
- package/dist/{Comparators.vue.es-DQBI3f7m.mjs → Comparators.vue.es-DYrKlE8t.mjs} +1 -1
- package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
- package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-EXTx0NEt.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-CSKG6V3T.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZZuAHIE.mjs +217 -0
- package/dist/CustomerShippingAddresses-Bdy4XWjE.mjs +282 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BEKwWob_.mjs +3124 -0
- package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-Dq0JzI8C.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-Cw7fqCg1.mjs} +2 -2
- package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-MrzQoSae.mjs} +1 -1
- package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-CpQbFw0x.mjs} +2 -2
- package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-CcOIFjbE.mjs} +3 -3
- package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-Cd55vQri.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CqkGCbvg.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-BUu5M_gx.mjs} +7 -7
- package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-DHh5wruk.mjs} +7 -7
- package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs} +4 -4
- package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-CB6G8Krh.mjs} +3 -3
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs +20 -0
- package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CJFTVFSZ.mjs} +138 -127
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-D0pwpqIC.mjs +789 -0
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-D08Qpgb0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-dl52PYcq.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D0priVnA.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-BSXlneqM.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CXy0XGpn.mjs} +5 -5
- package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-Diua0GGJ.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CLlm_Q2j.mjs +161 -0
- package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-D4FP0Vj5.mjs} +302 -282
- package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-vFzF_sCJ.mjs} +126 -117
- package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-vs6SaZOh.mjs} +200 -150
- package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-Buhe0aRQ.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs +165 -0
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DprL5TR8.mjs} +7 -7
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs} +28 -26
- package/dist/PaymentMethodsModal-CnJP9UKp.mjs +192 -0
- package/dist/PlanCustomizationEditor-KHLSEUbb.mjs +864 -0
- package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-DlZAkE93.mjs} +3 -3
- package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-CKIomNrm.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-oHD-IT12.mjs} +8 -8
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-wCW8YZHM.mjs} +16 -15
- package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-DsShmkKZ.mjs} +5 -5
- package/dist/Section.vue.es-DYmEtgBj.mjs +88 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CANXYTzu.mjs} +2 -2
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs +144 -0
- package/dist/ShippingAddressesModal-Gxv2KxaW.mjs +283 -0
- package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-sqA-VSsn.mjs} +4 -4
- package/dist/SubscriptionCancellationModal-DfAZ_uW6.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-BlbiDNIu.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-C1ko2xvR.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-CdWV-8WN.mjs +764 -0
- package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-BfdVn1XA.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs +5413 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.mjs +90 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs} +133 -108
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-Bt-7LHr3.mjs} +18 -18
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-Cp_sFa52.mjs} +1 -1
- package/dist/TrialChip.vue.es-VZwQX079.mjs +47 -0
- package/dist/addonQuantity-D3bGVqjL.mjs +128 -0
- package/dist/adyen-CHgq2l6n.mjs +99 -0
- package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
- package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
- package/dist/components/Invoice/Invoice.mjs +1087 -1019
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
- package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
- package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
- package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
- package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
- package/dist/core/events.types.d.ts +1 -0
- package/dist/core/index.mjs +51 -34
- package/dist/{customElements-DK4GKNJG.mjs → customElements-B8c354Nu.mjs} +802 -768
- package/dist/{customer-lf6S5DBR.mjs → customer-CP-Wz7JO.mjs} +1 -1
- package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-C9HrzHpE.mjs} +71 -5
- package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-DAQmgEy5.mjs} +82 -19
- package/dist/{formControl-BZQLHnOO.mjs → formControl-C18sw44K.mjs} +275 -275
- package/dist/{formatting.es-RclXHhKo.mjs → formatting.es-DlJEzreG.mjs} +16 -13
- package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-CHR3VWvd.mjs} +71 -5
- package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-fz51-Ubw.mjs} +79 -16
- package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
- package/dist/icon-sprite.svg.es-2S3rv8NW.mjs +4 -0
- package/dist/index.es-Bv55VtdE.mjs +633 -0
- package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.mjs +37 -33
- package/dist/invoices-I7PghcPV.mjs +143 -0
- package/dist/{it-IT-DnJP5URH.mjs → it-IT-BpCkTMZL.mjs} +73 -10
- package/dist/{it-IT-DObZEc-U.mjs → it-IT-Dzc7DmmL.mjs} +71 -5
- package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-22C8OcIM.mjs} +79 -16
- package/dist/{nl-NL-C02xHilF.mjs → nl-NL-Dut_QwsY.mjs} +71 -5
- package/dist/paymentIntegrationFormLoaders-BFMAMpcA.mjs +31 -0
- package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-aGKIi7DS.mjs} +22 -21
- package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-Cv7hTFVu.mjs} +1 -1
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-BKoKpoLN.mjs +71 -0
- package/dist/preloadPaymentIntegrationForms-Buwal_JR.mjs +9 -0
- package/dist/pricing-Y-7ELzN-.mjs +42 -0
- package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-BafitMMY.mjs} +1 -1
- package/dist/pricingPlanScheduleOverrides-CGm_-jJq.mjs +291 -0
- package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
- package/dist/screens/Checkout/Checkout.mjs +1098 -3
- package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +1322 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
- package/dist/screens/PayInvoice/PayInvoice.mjs +283 -275
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
- package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
- package/dist/subscriptions-B7dNqi1C.mjs +99 -0
- package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +3 -1
- package/dist/types/index.d.ts +5 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
- package/dist/types/public/core/action-request.types.d.ts +18 -24
- package/dist/types/public/core/events.types.d.ts +99 -0
- package/dist/types/public/core/index.d.ts +3 -1
- package/dist/types/public/core/types.d.ts +11 -2
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
- package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -2
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
- package/dist/types/services/paymentMethods.types.d.ts +12 -1
- package/dist/types/types/EntryBaseProps.d.ts +10 -6
- package/dist/types/types/branding.d.ts +15 -0
- package/dist/types/types/checkoutSession.d.ts +199 -0
- package/dist/types/types/errors.d.ts +2 -0
- package/dist/types/types/pricingPlanGroup.d.ts +25 -0
- package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BCtk-FGU.mjs} +1 -1
- package/dist/useAddressFormats-CtE4QaVU.mjs +1998 -0
- package/dist/useCheckoutForm-BhXcmnUi.mjs +3355 -0
- package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-mQysxUwp.mjs} +2 -2
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-Bw6bBtay.mjs +6 -0
- package/dist/useHostEvent-MtRG6W2B.mjs +12 -0
- package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-CJSj1945.mjs} +2 -2
- package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-BEZIvw32.mjs} +2 -2
- package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-CrXjsmei.mjs} +140 -138
- package/dist/{sorting.es-C0pdMgX0.mjs → useIsMounted.es-BNPhTTHE.mjs} +11 -10
- package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-Bomj_1mo.mjs} +1 -1
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-DR_neLeZ.mjs} +4 -4
- package/dist/usePaymentMethodOptions-CuHoQx3K.mjs +67 -0
- package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-BDdetXts.mjs} +2 -2
- package/dist/{usePayments-hWS7fnOx.mjs → usePayments-B5Z9Kfbv.mjs} +20 -18
- package/dist/usePortal-DuLR5Mid.mjs +14 -0
- package/dist/{useService-BwzIBIRp.mjs → useService-2aOFBTxU.mjs} +1 -1
- package/dist/useShippingAddresses-BvThNpez.mjs +122 -0
- package/dist/useSubscription-Dzo-kBpQ.mjs +35 -0
- package/dist/useSubscriptionActions-CWaNRoZ7.mjs +44 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
- package/dist/{wallets.es-eH2C2ygn.mjs → wallets.es-DRlUVd2R.mjs} +1 -1
- package/package.json +41 -11
- package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
- package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
- package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +0 -2936
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
- package/dist/Section.vue.es-Oqn1wGPZ.mjs +0 -72
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +0 -5200
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
- package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
- package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
- package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +0 -4
- package/dist/invoices-DdREPDXV.mjs +0 -123
- package/dist/paymentMethods-Goa25rTs.mjs +0 -61
- package/dist/payments-CKpU1K3t.mjs +0 -68
- package/dist/pricing-CEaZGgKe.mjs +0 -29
- package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
- package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
- package/dist/subscriptions-B5bH8hsI.mjs +0 -66
- package/dist/taxId.es-e6NEvprh.mjs +0 -243
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
- package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
- package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
- package/dist/usePortal-DUfD6hrA.mjs +0 -7
- package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as p, computed as M, openBlock as o, createElementBlock as
|
|
2
|
-
import { _ as R } from "./FormMessage.vue.es-
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { _ as
|
|
6
|
-
|
|
1
|
+
import { defineComponent as p, computed as M, openBlock as o, createElementBlock as E, createElementVNode as f, normalizeClass as T, renderSlot as $, createCommentVNode as h, createVNode as l, createBlock as u, withCtx as s, createTextVNode as y, toDisplayString as g, unref as v, shallowRef as B, watch as _, toValue as S, Fragment as L, mergeProps as A } from "vue";
|
|
2
|
+
import { _ as R } from "./FormMessage.vue.es-MrzQoSae.mjs";
|
|
3
|
+
import { _ as O } from "./ContextMenu.vue.es-EXTx0NEt.mjs";
|
|
4
|
+
import { a as I, d as b } from "./customElements-B8c354Nu.mjs";
|
|
5
|
+
import { _ as N } from "./Chip.vue.es-CYwWHyAT.mjs";
|
|
6
|
+
import { a as V } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
7
|
+
const P = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", z = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, G = ["src", "alt", "width", "height"], H = { class: "grow" }, U = { key: 0 }, j = {
|
|
7
8
|
key: 0,
|
|
8
9
|
class: "pt-3"
|
|
9
|
-
},
|
|
10
|
+
}, w = /* @__PURE__ */ p({
|
|
10
11
|
__name: "PaymentMethodBase",
|
|
11
12
|
props: {
|
|
12
13
|
imageSrc: {},
|
|
@@ -17,58 +18,62 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
17
18
|
error: {}
|
|
18
19
|
},
|
|
19
20
|
setup(t) {
|
|
20
|
-
const e = t, n = M(() => e.imageSrc ||
|
|
21
|
-
return (r, a) => (o(),
|
|
22
|
-
|
|
23
|
-
class:
|
|
21
|
+
const e = t, n = M(() => e.imageSrc || P);
|
|
22
|
+
return (r, a) => (o(), E("div", null, [
|
|
23
|
+
f("div", {
|
|
24
|
+
class: T(["flex gap-3", { "opacity-50": t.disabled }])
|
|
24
25
|
}, [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
f("div", z, [
|
|
27
|
+
f("div", Y, [
|
|
28
|
+
$(r.$slots, "image", {}, () => [
|
|
29
|
+
n.value ? (o(), E("img", {
|
|
30
|
+
key: 0,
|
|
31
|
+
src: n.value,
|
|
32
|
+
alt: t.imageAlt,
|
|
33
|
+
width: t.variant === "condensed" ? 20 : 36,
|
|
34
|
+
height: t.variant === "condensed" ? 20 : 36,
|
|
35
|
+
class: T({
|
|
36
|
+
"h-9 w-9": t.variant === "default",
|
|
37
|
+
"h-5 w-5": t.variant === "condensed"
|
|
38
|
+
})
|
|
39
|
+
}, null, 10, G)) : h("", !0)
|
|
40
|
+
])
|
|
38
41
|
])
|
|
39
42
|
]),
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
f("div", H, [
|
|
44
|
+
$(r.$slots, "default")
|
|
42
45
|
]),
|
|
43
|
-
t.options && t.options.length > 0 ? (o(),
|
|
44
|
-
|
|
46
|
+
t.options && t.options.length > 0 ? (o(), E("div", U, [
|
|
47
|
+
l(O, {
|
|
45
48
|
width: "wide",
|
|
46
49
|
square: "",
|
|
47
50
|
items: t.options
|
|
48
51
|
}, null, 8, ["items"])
|
|
49
52
|
])) : h("", !0)
|
|
50
53
|
], 2),
|
|
51
|
-
t.error ? (o(),
|
|
52
|
-
|
|
54
|
+
t.error ? (o(), E("div", j, [
|
|
55
|
+
l(R, {
|
|
53
56
|
message: t.error,
|
|
54
57
|
variant: "error"
|
|
55
58
|
}, null, 8, ["message"])
|
|
56
59
|
])) : h("", !0)
|
|
57
60
|
]));
|
|
58
61
|
}
|
|
59
|
-
}),
|
|
62
|
+
}), x = /* @__PURE__ */ p({
|
|
60
63
|
__name: "PaymentMethodDefaultChip",
|
|
61
64
|
props: {
|
|
62
65
|
isDefault: { type: Boolean }
|
|
63
66
|
},
|
|
64
67
|
setup(t) {
|
|
65
|
-
const e =
|
|
66
|
-
return (n, r) => t.isDefault ? (o(), u(
|
|
68
|
+
const e = I();
|
|
69
|
+
return (n, r) => t.isDefault ? (o(), u(N, {
|
|
67
70
|
key: 0,
|
|
68
|
-
|
|
71
|
+
size: "sm",
|
|
72
|
+
intent: "brand",
|
|
73
|
+
class: "ml-1 font-normal"
|
|
69
74
|
}, {
|
|
70
|
-
default:
|
|
71
|
-
|
|
75
|
+
default: s(() => [
|
|
76
|
+
y(g(v(e).$t({
|
|
72
77
|
defaultMessage: "Default",
|
|
73
78
|
description: "The textual label for the default payment method chip",
|
|
74
79
|
id: "payment_methods.default_chip.label"
|
|
@@ -77,19 +82,19 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
77
82
|
_: 1
|
|
78
83
|
})) : h("", !0);
|
|
79
84
|
}
|
|
80
|
-
}),
|
|
85
|
+
}), k = /* @__PURE__ */ p({
|
|
81
86
|
__name: "PaymentMethodInactiveChip",
|
|
82
87
|
props: {
|
|
83
88
|
isInactive: { type: Boolean }
|
|
84
89
|
},
|
|
85
90
|
setup(t) {
|
|
86
|
-
const e =
|
|
87
|
-
return (n, r) => t.isInactive ? (o(), u(
|
|
91
|
+
const e = I();
|
|
92
|
+
return (n, r) => t.isInactive ? (o(), u(N, {
|
|
88
93
|
key: 0,
|
|
89
94
|
class: "mt-1 self-start"
|
|
90
95
|
}, {
|
|
91
|
-
default:
|
|
92
|
-
|
|
96
|
+
default: s(() => [
|
|
97
|
+
y(g(v(e).$t({
|
|
93
98
|
defaultMessage: "Inactive",
|
|
94
99
|
description: "The textual label for the inactive payment method chip",
|
|
95
100
|
id: "payment_methods.inactive_chip.label"
|
|
@@ -111,10 +116,10 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
111
116
|
(t) => t.default
|
|
112
117
|
)
|
|
113
118
|
}
|
|
114
|
-
},
|
|
115
|
-
const e =
|
|
119
|
+
}, D = (t) => {
|
|
120
|
+
const e = B();
|
|
116
121
|
return _(
|
|
117
|
-
() =>
|
|
122
|
+
() => S(t),
|
|
118
123
|
(n, r, a) => {
|
|
119
124
|
if (e.value = void 0, !n)
|
|
120
125
|
return;
|
|
@@ -128,7 +133,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
128
133
|
},
|
|
129
134
|
{ immediate: !0 }
|
|
130
135
|
), e;
|
|
131
|
-
},
|
|
136
|
+
}, W = { class: "flex h-full grow flex-col justify-center" }, q = /* @__PURE__ */ p({
|
|
132
137
|
__name: "PaymentMethodBuyNowPayLater",
|
|
133
138
|
props: {
|
|
134
139
|
paymentMethod: {},
|
|
@@ -142,38 +147,38 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
142
147
|
var a;
|
|
143
148
|
return (a = e.paymentMethod.buy_now_pay_later) != null && a.variant ? K[e.paymentMethod.buy_now_pay_later.variant] : void 0;
|
|
144
149
|
}
|
|
145
|
-
), r =
|
|
150
|
+
), r = D(() => {
|
|
146
151
|
var a;
|
|
147
152
|
return (a = n.value) == null ? void 0 : a.logo;
|
|
148
153
|
});
|
|
149
154
|
return (a, c) => {
|
|
150
|
-
var i,
|
|
151
|
-
return o(), u(
|
|
152
|
-
"image-src": v(r) ?? v(
|
|
153
|
-
"image-alt": (
|
|
155
|
+
var i, d;
|
|
156
|
+
return o(), u(w, {
|
|
157
|
+
"image-src": v(r) ?? v(P),
|
|
158
|
+
"image-alt": (d = (i = n.value) == null ? void 0 : i.name) == null ? void 0 : d.toLowerCase(),
|
|
154
159
|
variant: t.variant,
|
|
155
160
|
options: t.options,
|
|
156
161
|
disabled: t.paymentMethod.status === "INACTIVE"
|
|
157
162
|
}, {
|
|
158
|
-
default:
|
|
159
|
-
|
|
160
|
-
|
|
163
|
+
default: s(() => [
|
|
164
|
+
f("div", W, [
|
|
165
|
+
l(b, {
|
|
161
166
|
tag: "span",
|
|
162
167
|
weight: "semibold",
|
|
163
168
|
"no-spacing": "",
|
|
164
169
|
variant: t.variant === "condensed" ? "body-xs" : "body-sm",
|
|
165
170
|
color: t.variant === "condensed" ? "secondary" : void 0
|
|
166
171
|
}, {
|
|
167
|
-
default:
|
|
168
|
-
var
|
|
172
|
+
default: s(() => {
|
|
173
|
+
var m;
|
|
169
174
|
return [
|
|
170
|
-
|
|
175
|
+
y(g((m = n.value) == null ? void 0 : m.name) + " ", 1),
|
|
176
|
+
l(x, { "is-default": t.isDefault }, null, 8, ["is-default"])
|
|
171
177
|
];
|
|
172
178
|
}),
|
|
173
179
|
_: 1
|
|
174
180
|
}, 8, ["variant", "color"]),
|
|
175
|
-
|
|
176
|
-
s(w, {
|
|
181
|
+
l(k, {
|
|
177
182
|
"is-inactive": t.paymentMethod.status === "INACTIVE"
|
|
178
183
|
}, null, 8, ["is-inactive"])
|
|
179
184
|
])
|
|
@@ -182,7 +187,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
182
187
|
}, 8, ["image-src", "image-alt", "variant", "options", "disabled"]);
|
|
183
188
|
};
|
|
184
189
|
}
|
|
185
|
-
}),
|
|
190
|
+
}), Z = {
|
|
186
191
|
ACCEL: () => import("./accel.svg.es-C0hqmmEY.mjs").then((t) => t.default),
|
|
187
192
|
AMERICAN_EXPRESS: () => import("./amex.svg.es-DjTEMRVg.mjs").then((t) => t.default),
|
|
188
193
|
BANCONTACT: () => import("./bancontact.svg.es-B26-JwdE.mjs").then((t) => t.default),
|
|
@@ -206,7 +211,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
206
211
|
UNION_PAY: () => import("./unionpay.svg.es-me7q-nTI.mjs").then((t) => t.default),
|
|
207
212
|
VISA: () => import("./visa.svg.es-B0T5Su99.mjs").then((t) => t.default),
|
|
208
213
|
V_PAY: () => import("./vpay.svg.es-Zt3rrmCy.mjs").then((t) => t.default)
|
|
209
|
-
},
|
|
214
|
+
}, F = { class: "flex h-full grow flex-col justify-center" }, J = /* @__PURE__ */ p({
|
|
210
215
|
__name: "PaymentMethodCard",
|
|
211
216
|
props: {
|
|
212
217
|
paymentMethod: {},
|
|
@@ -216,59 +221,59 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
216
221
|
variant: { default: "default" }
|
|
217
222
|
},
|
|
218
223
|
setup(t) {
|
|
219
|
-
const e = t, { $t: n } =
|
|
224
|
+
const e = t, { $t: n } = I(), r = M(() => {
|
|
220
225
|
var c, i;
|
|
221
226
|
if (!e.paymentMethod.card.expiry_date)
|
|
222
227
|
return;
|
|
223
|
-
const { expiry_month:
|
|
224
|
-
return ((i = (c = e.i18n) == null ? void 0 : c.expiryDate) == null ? void 0 : i.call(c,
|
|
228
|
+
const { expiry_month: d, expiry_year: m } = e.paymentMethod.card.expiry_date;
|
|
229
|
+
return ((i = (c = e.i18n) == null ? void 0 : c.expiryDate) == null ? void 0 : i.call(c, d, m)) ?? n(
|
|
225
230
|
{
|
|
226
231
|
defaultMessage: "Expiry date: {month}/{year}",
|
|
227
232
|
description: "Expiry date of a saved card",
|
|
228
233
|
id: "payment_methods.card.expiry_date"
|
|
229
234
|
},
|
|
230
|
-
{ month:
|
|
235
|
+
{ month: d, year: m }
|
|
231
236
|
);
|
|
232
|
-
}), a =
|
|
233
|
-
() => e.paymentMethod.card.brand ?
|
|
237
|
+
}), a = D(
|
|
238
|
+
() => e.paymentMethod.card.brand ? Z[e.paymentMethod.card.brand] : void 0
|
|
234
239
|
);
|
|
235
240
|
return (c, i) => {
|
|
236
|
-
var
|
|
237
|
-
return o(), u(
|
|
238
|
-
"image-src": v(a) ?? v(
|
|
239
|
-
"image-alt": (
|
|
241
|
+
var d;
|
|
242
|
+
return o(), u(w, {
|
|
243
|
+
"image-src": v(a) ?? v(P),
|
|
244
|
+
"image-alt": (d = t.paymentMethod.card.brand) == null ? void 0 : d.toLowerCase(),
|
|
240
245
|
variant: t.variant,
|
|
241
246
|
options: t.options,
|
|
242
247
|
disabled: t.paymentMethod.status === "INACTIVE"
|
|
243
248
|
}, {
|
|
244
|
-
default:
|
|
245
|
-
|
|
246
|
-
|
|
249
|
+
default: s(() => [
|
|
250
|
+
f("div", F, [
|
|
251
|
+
l(b, {
|
|
247
252
|
tag: "span",
|
|
248
253
|
variant: t.variant === "condensed" ? "body-xs" : "body-sm",
|
|
249
254
|
color: t.variant === "condensed" ? "secondary" : void 0,
|
|
250
255
|
weight: "semibold",
|
|
251
256
|
"no-spacing": ""
|
|
252
257
|
}, {
|
|
253
|
-
default:
|
|
254
|
-
|
|
258
|
+
default: s(() => [
|
|
259
|
+
y(" **** **** **** " + g(t.paymentMethod.card.last_four_digits ?? "****") + " ", 1),
|
|
260
|
+
l(x, { "is-default": t.isDefault }, null, 8, ["is-default"])
|
|
255
261
|
]),
|
|
256
262
|
_: 1
|
|
257
263
|
}, 8, ["variant", "color"]),
|
|
258
|
-
t.variant === "default" && r.value ? (o(), u(
|
|
264
|
+
t.variant === "default" && r.value ? (o(), u(b, {
|
|
259
265
|
key: 0,
|
|
260
266
|
tag: "span",
|
|
261
267
|
variant: "body-xs",
|
|
262
268
|
color: "subtle",
|
|
263
269
|
"no-spacing": ""
|
|
264
270
|
}, {
|
|
265
|
-
default:
|
|
266
|
-
|
|
271
|
+
default: s(() => [
|
|
272
|
+
y(g(r.value), 1)
|
|
267
273
|
]),
|
|
268
274
|
_: 1
|
|
269
275
|
})) : h("", !0),
|
|
270
|
-
|
|
271
|
-
s(w, {
|
|
276
|
+
l(k, {
|
|
272
277
|
"is-inactive": t.paymentMethod.status === "INACTIVE"
|
|
273
278
|
}, null, 8, ["is-inactive"])
|
|
274
279
|
])
|
|
@@ -277,7 +282,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
277
282
|
}, 8, ["image-src", "image-alt", "variant", "options", "disabled"]);
|
|
278
283
|
};
|
|
279
284
|
}
|
|
280
|
-
}),
|
|
285
|
+
}), X = {
|
|
281
286
|
AMAZON_PAY: {
|
|
282
287
|
name: "Amazon Pay",
|
|
283
288
|
logo: () => import("./amazon-pay.svg.es-BACIX6C7.mjs").then(
|
|
@@ -344,7 +349,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
344
349
|
(t) => t.default
|
|
345
350
|
)
|
|
346
351
|
}
|
|
347
|
-
},
|
|
352
|
+
}, Q = { class: "flex h-full grow flex-col justify-center" }, tt = /* @__PURE__ */ p({
|
|
348
353
|
__name: "PaymentMethodDigitalWallet",
|
|
349
354
|
props: {
|
|
350
355
|
paymentMethod: {},
|
|
@@ -356,40 +361,40 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
356
361
|
const e = t, n = M(
|
|
357
362
|
() => {
|
|
358
363
|
var a;
|
|
359
|
-
return (a = e.paymentMethod.digital_wallet) != null && a.variant ?
|
|
364
|
+
return (a = e.paymentMethod.digital_wallet) != null && a.variant ? X[e.paymentMethod.digital_wallet.variant] : void 0;
|
|
360
365
|
}
|
|
361
|
-
), r =
|
|
366
|
+
), r = D(() => {
|
|
362
367
|
var a;
|
|
363
368
|
return (a = n.value) == null ? void 0 : a.logo;
|
|
364
369
|
});
|
|
365
370
|
return (a, c) => {
|
|
366
|
-
var i,
|
|
367
|
-
return o(), u(
|
|
368
|
-
"image-src": v(r) ?? v(
|
|
369
|
-
"image-alt": (
|
|
371
|
+
var i, d;
|
|
372
|
+
return o(), u(w, {
|
|
373
|
+
"image-src": v(r) ?? v(P),
|
|
374
|
+
"image-alt": (d = (i = n.value) == null ? void 0 : i.name) == null ? void 0 : d.toLowerCase(),
|
|
370
375
|
variant: t.variant,
|
|
371
376
|
options: t.options,
|
|
372
377
|
disabled: t.paymentMethod.status === "INACTIVE"
|
|
373
378
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
|
|
376
|
-
|
|
379
|
+
default: s(() => [
|
|
380
|
+
f("div", Q, [
|
|
381
|
+
l(b, {
|
|
377
382
|
tag: "span",
|
|
378
383
|
weight: "semibold",
|
|
379
384
|
"no-spacing": "",
|
|
380
385
|
variant: t.variant === "condensed" ? "body-xs" : "body-sm",
|
|
381
386
|
color: t.variant === "condensed" ? "secondary" : void 0
|
|
382
387
|
}, {
|
|
383
|
-
default:
|
|
384
|
-
var
|
|
388
|
+
default: s(() => {
|
|
389
|
+
var m;
|
|
385
390
|
return [
|
|
386
|
-
|
|
391
|
+
y(g((m = n.value) == null ? void 0 : m.name) + " ", 1),
|
|
392
|
+
l(x, { "is-default": t.isDefault }, null, 8, ["is-default"])
|
|
387
393
|
];
|
|
388
394
|
}),
|
|
389
395
|
_: 1
|
|
390
396
|
}, 8, ["variant", "color"]),
|
|
391
|
-
|
|
392
|
-
s(w, {
|
|
397
|
+
l(k, {
|
|
393
398
|
"is-inactive": t.paymentMethod.status === "INACTIVE"
|
|
394
399
|
}, null, 8, ["is-inactive"])
|
|
395
400
|
])
|
|
@@ -398,7 +403,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
398
403
|
}, 8, ["image-src", "image-alt", "variant", "options", "disabled"]);
|
|
399
404
|
};
|
|
400
405
|
}
|
|
401
|
-
}),
|
|
406
|
+
}), et = {
|
|
402
407
|
ACH: {
|
|
403
408
|
name: "ACH",
|
|
404
409
|
logo: () => import("./ach.svg.es-DduMiYM2.mjs").then(
|
|
@@ -417,7 +422,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
417
422
|
(t) => t.default
|
|
418
423
|
)
|
|
419
424
|
}
|
|
420
|
-
},
|
|
425
|
+
}, at = { class: "flex h-full grow flex-col justify-center" }, nt = /* @__PURE__ */ p({
|
|
421
426
|
__name: "PaymentMethodDirectDebit",
|
|
422
427
|
props: {
|
|
423
428
|
paymentMethod: {},
|
|
@@ -429,40 +434,40 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
429
434
|
const e = t, n = M(
|
|
430
435
|
() => {
|
|
431
436
|
var a;
|
|
432
|
-
return (a = e.paymentMethod.direct_debit) != null && a.variant ?
|
|
437
|
+
return (a = e.paymentMethod.direct_debit) != null && a.variant ? et[e.paymentMethod.direct_debit.variant] : void 0;
|
|
433
438
|
}
|
|
434
|
-
), r =
|
|
439
|
+
), r = D(() => {
|
|
435
440
|
var a;
|
|
436
441
|
return (a = n.value) == null ? void 0 : a.logo;
|
|
437
442
|
});
|
|
438
443
|
return (a, c) => {
|
|
439
|
-
var i,
|
|
440
|
-
return o(), u(
|
|
441
|
-
"image-src": v(r) ?? v(
|
|
442
|
-
"image-alt": (
|
|
444
|
+
var i, d;
|
|
445
|
+
return o(), u(w, {
|
|
446
|
+
"image-src": v(r) ?? v(P),
|
|
447
|
+
"image-alt": (d = (i = n.value) == null ? void 0 : i.name) == null ? void 0 : d.toLowerCase(),
|
|
443
448
|
variant: t.variant,
|
|
444
449
|
options: t.options,
|
|
445
450
|
disabled: t.paymentMethod.status === "INACTIVE"
|
|
446
451
|
}, {
|
|
447
|
-
default:
|
|
448
|
-
|
|
449
|
-
|
|
452
|
+
default: s(() => [
|
|
453
|
+
f("div", at, [
|
|
454
|
+
l(b, {
|
|
450
455
|
tag: "span",
|
|
451
456
|
weight: "semibold",
|
|
452
457
|
"no-spacing": "",
|
|
453
458
|
variant: t.variant === "condensed" ? "body-xs" : "body-sm",
|
|
454
459
|
color: t.variant === "condensed" ? "secondary" : void 0
|
|
455
460
|
}, {
|
|
456
|
-
default:
|
|
457
|
-
var
|
|
461
|
+
default: s(() => {
|
|
462
|
+
var m;
|
|
458
463
|
return [
|
|
459
|
-
|
|
464
|
+
y(g((m = n.value) == null ? void 0 : m.name) + " ", 1),
|
|
465
|
+
l(x, { "is-default": t.isDefault }, null, 8, ["is-default"])
|
|
460
466
|
];
|
|
461
467
|
}),
|
|
462
468
|
_: 1
|
|
463
469
|
}, 8, ["variant", "color"]),
|
|
464
|
-
|
|
465
|
-
s(w, {
|
|
470
|
+
l(k, {
|
|
466
471
|
"is-inactive": t.paymentMethod.status === "INACTIVE"
|
|
467
472
|
}, null, 8, ["is-inactive"])
|
|
468
473
|
])
|
|
@@ -471,7 +476,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
471
476
|
}, 8, ["image-src", "image-alt", "variant", "options", "disabled"]);
|
|
472
477
|
};
|
|
473
478
|
}
|
|
474
|
-
}),
|
|
479
|
+
}), it = {
|
|
475
480
|
EPS: {
|
|
476
481
|
name: "Electronic Payment Services",
|
|
477
482
|
logo: () => import("./eps.svg.es-CzIPBSb9.mjs").then(
|
|
@@ -496,7 +501,7 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
496
501
|
(t) => t.default
|
|
497
502
|
)
|
|
498
503
|
}
|
|
499
|
-
},
|
|
504
|
+
}, ot = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%3e%3cpath%20fill='%23e1e2ff'%20d='M0%200h32v32H0z'/%3e%3cmask%20id='a'%20width='24'%20height='24'%20x='4'%20y='4'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M4%204h24v24H4z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%231f216a'%20d='M6.5%2022.5v-13h19v3.14H24l-4.6%204.61h-9.15v1.5h7.64l-3.75%203.75zm3.75-7.75h5.5v-1.5h-5.5zm6.9%209.71V23.2l6.38-6.38%201.27%201.27-6.38%206.38zm8.23-6.98-1.26-1.27.84-.84a.4.4%200%200%201%20.25-.12q.14%200%20.26.12l.76.76a.4.4%200%200%201%20.11.25.4.4%200%200%201-.11.26z'/%3e%3c/g%3e%3c/svg%3e", lt = { class: "flex h-full grow flex-col justify-center" }, dt = /* @__PURE__ */ p({
|
|
500
505
|
__name: "PaymentMethodOnlineBanking",
|
|
501
506
|
props: {
|
|
502
507
|
paymentMethod: {},
|
|
@@ -508,84 +513,84 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
508
513
|
const e = t, n = M(
|
|
509
514
|
() => {
|
|
510
515
|
var i;
|
|
511
|
-
return (i = e.paymentMethod.online_banking) != null && i.variant ?
|
|
516
|
+
return (i = e.paymentMethod.online_banking) != null && i.variant ? it[e.paymentMethod.online_banking.variant] : void 0;
|
|
512
517
|
}
|
|
513
|
-
), r =
|
|
518
|
+
), r = D(() => {
|
|
514
519
|
var i;
|
|
515
520
|
return (i = n.value) == null ? void 0 : i.logo;
|
|
516
|
-
}), { $t: a } =
|
|
517
|
-
var i,
|
|
521
|
+
}), { $t: a } = I(), c = M(() => {
|
|
522
|
+
var i, d, m;
|
|
518
523
|
return {
|
|
519
524
|
imageAlt: ((i = e.i18n) == null ? void 0 : i.imageAlt) ?? a({
|
|
520
525
|
defaultMessage: "Bank transfer",
|
|
521
526
|
description: "Alt text of the online banking payment method image",
|
|
522
527
|
id: "payment_methods.online_banking.image_alt"
|
|
523
528
|
}),
|
|
524
|
-
pending: ((
|
|
529
|
+
pending: ((d = e.i18n) == null ? void 0 : d.pendingLabel) ?? a({
|
|
525
530
|
defaultMessage: "Pending",
|
|
526
531
|
description: "Label of an online banking payment method that is not set up yet",
|
|
527
532
|
id: "payment_methods.online_banking.pending"
|
|
528
533
|
}),
|
|
529
|
-
onlineBanking: ((
|
|
534
|
+
onlineBanking: ((m = e.i18n) == null ? void 0 : m.onlineBankingLabel) ?? a({
|
|
530
535
|
defaultMessage: "Online banking",
|
|
531
536
|
description: "Label of an online banking payment method without an IBAN",
|
|
532
537
|
id: "payment_methods.online_banking.label"
|
|
533
538
|
})
|
|
534
539
|
};
|
|
535
540
|
});
|
|
536
|
-
return (i,
|
|
537
|
-
var
|
|
538
|
-
return o(), u(
|
|
539
|
-
"image-alt": ((
|
|
540
|
-
"image-src": v(r) ?? v(
|
|
541
|
+
return (i, d) => {
|
|
542
|
+
var m;
|
|
543
|
+
return o(), u(w, {
|
|
544
|
+
"image-alt": ((m = n.value) == null ? void 0 : m.name) ?? c.value.imageAlt,
|
|
545
|
+
"image-src": v(r) ?? v(ot),
|
|
541
546
|
variant: t.variant,
|
|
542
547
|
disabled: t.paymentMethod.status === "INACTIVE"
|
|
543
548
|
}, {
|
|
544
|
-
default:
|
|
545
|
-
|
|
546
|
-
|
|
549
|
+
default: s(() => [
|
|
550
|
+
f("div", lt, [
|
|
551
|
+
l(b, {
|
|
547
552
|
tag: "span",
|
|
548
553
|
weight: "semibold",
|
|
549
554
|
"no-spacing": "",
|
|
550
555
|
variant: t.variant === "condensed" ? "body-xs" : "body-sm",
|
|
551
556
|
color: t.variant === "condensed" ? "secondary" : void 0
|
|
552
557
|
}, {
|
|
553
|
-
default:
|
|
554
|
-
var
|
|
558
|
+
default: s(() => {
|
|
559
|
+
var C;
|
|
555
560
|
return [
|
|
556
|
-
|
|
557
|
-
t.paymentMethod.status === "SETUP" ? (o(), u(
|
|
561
|
+
y(g((C = n.value) == null ? void 0 : C.name) + " ", 1),
|
|
562
|
+
t.paymentMethod.status === "SETUP" ? (o(), u(N, {
|
|
558
563
|
key: 0,
|
|
559
564
|
size: "sm",
|
|
560
565
|
intent: "info",
|
|
561
566
|
class: "ml-1 font-normal"
|
|
562
567
|
}, {
|
|
563
|
-
default:
|
|
564
|
-
|
|
568
|
+
default: s(() => [
|
|
569
|
+
y(g(c.value.pending), 1)
|
|
565
570
|
]),
|
|
566
571
|
_: 1
|
|
567
|
-
})) : h("", !0)
|
|
572
|
+
})) : h("", !0),
|
|
573
|
+
l(x, { "is-default": t.isDefault }, null, 8, ["is-default"])
|
|
568
574
|
];
|
|
569
575
|
}),
|
|
570
576
|
_: 1
|
|
571
577
|
}, 8, ["variant", "color"]),
|
|
572
|
-
t.variant === "default" ? (o(), u(
|
|
578
|
+
t.variant === "default" ? (o(), u(b, {
|
|
573
579
|
key: 0,
|
|
574
580
|
tag: "span",
|
|
575
581
|
variant: "body-xs",
|
|
576
582
|
color: "subtle",
|
|
577
583
|
"no-spacing": ""
|
|
578
584
|
}, {
|
|
579
|
-
default:
|
|
580
|
-
var
|
|
585
|
+
default: s(() => {
|
|
586
|
+
var C;
|
|
581
587
|
return [
|
|
582
|
-
|
|
588
|
+
y(g(((C = t.paymentMethod.online_banking) == null ? void 0 : C.iban) ?? c.value.onlineBanking), 1)
|
|
583
589
|
];
|
|
584
590
|
}),
|
|
585
591
|
_: 1
|
|
586
592
|
})) : h("", !0),
|
|
587
|
-
|
|
588
|
-
s(w, {
|
|
593
|
+
l(k, {
|
|
589
594
|
"is-inactive": t.paymentMethod.status === "INACTIVE"
|
|
590
595
|
}, null, 8, ["is-inactive"])
|
|
591
596
|
])
|
|
@@ -594,7 +599,51 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
594
599
|
}, 8, ["image-alt", "image-src", "variant", "disabled"]);
|
|
595
600
|
};
|
|
596
601
|
}
|
|
597
|
-
}),
|
|
602
|
+
}), st = { class: "flex h-full grow flex-col justify-center" }, rt = /* @__PURE__ */ p({
|
|
603
|
+
__name: "PaymentMethodWalletBalance",
|
|
604
|
+
props: {
|
|
605
|
+
variant: { default: "default" }
|
|
606
|
+
},
|
|
607
|
+
setup(t) {
|
|
608
|
+
const { $t: e } = I();
|
|
609
|
+
return (n, r) => (o(), u(w, { variant: t.variant }, {
|
|
610
|
+
image: s(() => [
|
|
611
|
+
f("span", {
|
|
612
|
+
class: T(["flex items-center justify-center", {
|
|
613
|
+
"h-9 w-9": t.variant === "default",
|
|
614
|
+
"h-5 w-5": t.variant === "condensed"
|
|
615
|
+
}])
|
|
616
|
+
}, [
|
|
617
|
+
l(V, {
|
|
618
|
+
icon: "account_balance_wallet",
|
|
619
|
+
size: t.variant === "condensed" ? "sm" : "lg"
|
|
620
|
+
}, null, 8, ["size"])
|
|
621
|
+
], 2)
|
|
622
|
+
]),
|
|
623
|
+
default: s(() => [
|
|
624
|
+
f("div", st, [
|
|
625
|
+
l(b, {
|
|
626
|
+
tag: "span",
|
|
627
|
+
weight: "semibold",
|
|
628
|
+
"no-spacing": "",
|
|
629
|
+
variant: t.variant === "condensed" ? "body-xs" : "body-sm",
|
|
630
|
+
color: t.variant === "condensed" ? "secondary" : void 0
|
|
631
|
+
}, {
|
|
632
|
+
default: s(() => [
|
|
633
|
+
y(g(v(e)({
|
|
634
|
+
defaultMessage: "Wallet balance",
|
|
635
|
+
description: "Payment method label for a payment made from a wallet balance",
|
|
636
|
+
id: "payment_methods.wallet_balance.label"
|
|
637
|
+
})), 1)
|
|
638
|
+
]),
|
|
639
|
+
_: 1
|
|
640
|
+
}, 8, ["variant", "color"])
|
|
641
|
+
])
|
|
642
|
+
]),
|
|
643
|
+
_: 1
|
|
644
|
+
}, 8, ["variant"]));
|
|
645
|
+
}
|
|
646
|
+
}), yt = /* @__PURE__ */ p({
|
|
598
647
|
__name: "PaymentMethod",
|
|
599
648
|
props: {
|
|
600
649
|
paymentMethod: {},
|
|
@@ -604,40 +653,41 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
604
653
|
disabled: { type: Boolean }
|
|
605
654
|
},
|
|
606
655
|
setup(t) {
|
|
607
|
-
return (e, n) => (o(),
|
|
608
|
-
t.paymentMethod.type === "CARD" ? (o(), u(
|
|
656
|
+
return (e, n) => (o(), E(L, null, [
|
|
657
|
+
t.paymentMethod.type === "CARD" ? (o(), u(J, A({ key: 0 }, e.$attrs, {
|
|
609
658
|
"payment-method": t.paymentMethod,
|
|
610
659
|
variant: t.variant,
|
|
611
660
|
"is-default": t.paymentMethod.is_default,
|
|
612
661
|
options: t.options
|
|
613
662
|
}), null, 16, ["payment-method", "variant", "is-default", "options"])) : h("", !0),
|
|
614
|
-
t.paymentMethod.type === "ONLINE_BANKING" ? (o(), u(
|
|
663
|
+
t.paymentMethod.type === "ONLINE_BANKING" ? (o(), u(dt, A({ key: 1 }, e.$attrs, {
|
|
615
664
|
"payment-method": t.paymentMethod,
|
|
616
665
|
variant: t.variant,
|
|
617
666
|
"is-default": t.paymentMethod.is_default,
|
|
618
667
|
options: t.options
|
|
619
668
|
}), null, 16, ["payment-method", "variant", "is-default", "options"])) : h("", !0),
|
|
620
|
-
t.paymentMethod.type === "BUY_NOW_PAY_LATER" ? (o(), u(q,
|
|
669
|
+
t.paymentMethod.type === "BUY_NOW_PAY_LATER" ? (o(), u(q, A({ key: 2 }, e.$attrs, {
|
|
621
670
|
"payment-method": t.paymentMethod,
|
|
622
671
|
variant: t.variant,
|
|
623
672
|
"is-default": t.paymentMethod.is_default,
|
|
624
673
|
options: t.options
|
|
625
674
|
}), null, 16, ["payment-method", "variant", "is-default", "options"])) : h("", !0),
|
|
626
|
-
t.paymentMethod.type === "DIRECT_DEBIT" ? (o(), u(
|
|
675
|
+
t.paymentMethod.type === "DIRECT_DEBIT" ? (o(), u(nt, A({ key: 3 }, e.$attrs, {
|
|
627
676
|
"payment-method": t.paymentMethod,
|
|
628
677
|
variant: t.variant,
|
|
629
678
|
"is-default": t.paymentMethod.is_default,
|
|
630
679
|
options: t.options
|
|
631
680
|
}), null, 16, ["payment-method", "variant", "is-default", "options"])) : h("", !0),
|
|
632
|
-
t.paymentMethod.type === "DIGITAL_WALLET" ? (o(), u(
|
|
681
|
+
t.paymentMethod.type === "DIGITAL_WALLET" ? (o(), u(tt, A({ key: 4 }, e.$attrs, {
|
|
633
682
|
"payment-method": t.paymentMethod,
|
|
634
683
|
variant: t.variant,
|
|
635
684
|
"is-default": t.paymentMethod.is_default,
|
|
636
685
|
options: t.options
|
|
637
|
-
}), null, 16, ["payment-method", "variant", "is-default", "options"])) : h("", !0)
|
|
686
|
+
}), null, 16, ["payment-method", "variant", "is-default", "options"])) : h("", !0),
|
|
687
|
+
t.paymentMethod.type === "WALLET_BALANCE" ? (o(), u(rt, A({ key: 5 }, e.$attrs, { variant: t.variant }), null, 16, ["variant"])) : h("", !0)
|
|
638
688
|
], 64));
|
|
639
689
|
}
|
|
640
690
|
});
|
|
641
691
|
export {
|
|
642
|
-
|
|
692
|
+
yt as _
|
|
643
693
|
};
|