@solvimon/solvimon-web 0.1.0-alpha.30 → 0.1.0-alpha.31
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-Bs_aOOCX.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
- package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-xhsk_7Gn.mjs} +1 -1
- package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
- package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-DrbtUiLO.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
- package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
- package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-BHbanjR0.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-DYiFtw1n.mjs} +44 -43
- package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-Dc6-PjEn.mjs} +2 -2
- package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
- package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-CvX6O2IM.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-DQWt9osz.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
- package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs} +992 -1100
- package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-ChN6fnrH.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-CWIVt5q9.mjs} +2 -2
- package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-CQ64C8dt.mjs} +1 -1
- package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-BXzwMvVk.mjs} +2 -2
- package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-GyanM-JQ.mjs} +3 -3
- package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-CxiwRZYs.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs} +7 -7
- package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-BvnikfEH.mjs} +6 -6
- package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs} +3 -3
- package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-3ACRco55.mjs} +3 -3
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
- package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CDjfZDDx.mjs} +138 -127
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-HUazLER6.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-ZnIjTyda.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
- package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-sbw3AoKS.mjs} +302 -282
- package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-4JmKEwbS.mjs} +126 -117
- package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-DAabE41t.mjs} +23 -21
- package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-MmCUSJLE.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs} +28 -26
- package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
- package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
- package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-B7YYhv97.mjs} +3 -3
- package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-DIyeKrAp.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-C6J8C7JS.mjs} +7 -7
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs} +16 -15
- package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-hDmUAKIA.mjs} +5 -5
- package/dist/{Section.vue.es-Oqn1wGPZ.mjs → Section.vue.es-CwKTCeZ1.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs} +2 -2
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
- package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
- package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-GkrOtOVa.mjs} +4 -4
- package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
- package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-DosBeXD7.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs} +1948 -1965
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs} +133 -108
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-4HaXi8RP.mjs} +18 -18
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs} +1 -1
- package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
- package/dist/addonQuantity-BvoYTajN.mjs +128 -0
- package/dist/adyen-D4em6EgU.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 +426 -426
- 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-d7Bhfqi_.mjs} +773 -746
- package/dist/{customer-lf6S5DBR.mjs → customer-CNCSN_G5.mjs} +1 -1
- package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-D-sV3avS.mjs} +8 -5
- package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-wZp39RC-.mjs} +68 -5
- package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-BYHycSxz.mjs} +3 -0
- package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-BrNXJ7gR.mjs} +68 -5
- package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
- package/dist/index.es-BEZ2mumY.mjs +633 -0
- package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.mjs +37 -33
- package/dist/invoices-CXvL8KQx.mjs +143 -0
- package/dist/{it-IT-DObZEc-U.mjs → it-IT-Bd1qsMVU.mjs} +68 -5
- package/dist/{it-IT-DnJP5URH.mjs → it-IT-zpPyT9PH.mjs} +8 -5
- package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-BOr4MR7L.mjs} +8 -5
- package/dist/{nl-NL-C02xHilF.mjs → nl-NL-C6Y6fqaW.mjs} +68 -5
- package/dist/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
- package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-CG1fcG2v.mjs} +22 -21
- package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-D59QkGfm.mjs} +1 -1
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-Dy81gmkC.mjs +71 -0
- package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
- package/dist/pricing-CBJT8C6L.mjs +42 -0
- package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-AYq_hYeD.mjs} +1 -1
- package/dist/pricingPlanScheduleOverrides-GON_34ep.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 +1316 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
- package/dist/screens/PayInvoice/PayInvoice.mjs +282 -274
- 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/{sorting.es-C0pdMgX0.mjs → sorting.es-kM0f1VX0.mjs} +1 -1
- package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
- package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
- package/dist/taxId.es-Zu2Ff1gL.mjs +510 -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/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 +189 -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-BWna0S6N.mjs} +1 -1
- package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
- package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
- package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-RUtEzDOY.mjs} +2 -2
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
- package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
- package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-B3gp58X-.mjs} +2 -2
- package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-Dya4mmvf.mjs} +2 -2
- package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-Dp3c_cb3.mjs} +9 -9
- package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-CwySdYZM.mjs} +1 -1
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-B7NV0ZtX.mjs} +4 -4
- package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
- package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-DBGyQA_I.mjs} +2 -2
- package/dist/{usePayments-hWS7fnOx.mjs → usePayments-ChGtK_As.mjs} +9 -9
- package/dist/usePortal--Uzbpbgr.mjs +14 -0
- package/dist/{useService-BwzIBIRp.mjs → useService-DayNZhPh.mjs} +1 -1
- package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
- package/dist/useSubscription-lIGMFLG1.mjs +35 -0
- package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
- package/package.json +12 -5
- 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/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/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
- 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/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,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as k, ref as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as k, ref as m, inject as $, computed as E, provide as N, openBlock as l, createElementBlock as s, Fragment as O, createElementVNode as v, mergeProps as R, normalizeStyle as b, createCommentVNode as f, renderSlot as c, unref as d, createBlock as M, Teleport as h, normalizeClass as i, createVNode as B, withCtx as T, createTextVNode as P, toDisplayString as S } from "vue";
|
|
2
|
+
import { n as V, o as D, d as x } from "./customElements-d7Bhfqi_.mjs";
|
|
3
3
|
import { u as z, _ as F } from "./useLazyFloating.es-CycqRyeb.mjs";
|
|
4
4
|
const L = {
|
|
5
5
|
key: 0,
|
|
@@ -16,11 +16,11 @@ const L = {
|
|
|
16
16
|
isDarkMode: { type: Boolean }
|
|
17
17
|
},
|
|
18
18
|
setup(e) {
|
|
19
|
-
const r = e, u =
|
|
19
|
+
const r = e, u = m(), g = m(null), o = m(!1), y = $(V, null), { floatingStyles: p, placement: C } = z(u, g, {
|
|
20
20
|
placement: r.placement,
|
|
21
21
|
// shift keeps a tooltip wider than the room on either side of its trigger inside the viewport, e.g. in a
|
|
22
22
|
// narrow MCP card frame, where flip alone leaves it hanging off one edge.
|
|
23
|
-
middleware: ({ offset: a, flip: t, shift:
|
|
23
|
+
middleware: ({ offset: a, flip: t, shift: n }) => [a(r.offset), t(), n({ padding: 8 })]
|
|
24
24
|
}), w = E(() => {
|
|
25
25
|
const a = C.value.split("-")[0], t = `-${r.offset}px`;
|
|
26
26
|
return {
|
|
@@ -30,31 +30,31 @@ const L = {
|
|
|
30
30
|
left: a === "left" ? t : "0"
|
|
31
31
|
};
|
|
32
32
|
});
|
|
33
|
-
return N(D, r.isDarkMode), (a, t) => (
|
|
33
|
+
return N(D, r.isDarkMode), (a, t) => (l(), s(O, null, [
|
|
34
34
|
v("span", R(a.$attrs, {
|
|
35
35
|
ref_key: "triggerRef",
|
|
36
36
|
ref: u,
|
|
37
37
|
class: "relative leading-none",
|
|
38
|
-
onMouseenter: t[0] || (t[0] = (
|
|
39
|
-
onMouseleave: t[1] || (t[1] = (
|
|
40
|
-
onFocusin: t[2] || (t[2] = (
|
|
41
|
-
onFocusout: t[3] || (t[3] = (
|
|
38
|
+
onMouseenter: t[0] || (t[0] = (n) => o.value = !0),
|
|
39
|
+
onMouseleave: t[1] || (t[1] = (n) => o.value = !1),
|
|
40
|
+
onFocusin: t[2] || (t[2] = (n) => o.value = !0),
|
|
41
|
+
onFocusout: t[3] || (t[3] = (n) => o.value = !1)
|
|
42
42
|
}), [
|
|
43
|
-
o.value ? (
|
|
43
|
+
o.value ? (l(), s("span", {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "absolute",
|
|
46
46
|
style: b(w.value)
|
|
47
47
|
}, null, 4)) : f("", !0),
|
|
48
48
|
c(a.$slots, "default")
|
|
49
49
|
], 16),
|
|
50
|
-
d(y) ? (
|
|
50
|
+
d(y) ? (l(), M(h, {
|
|
51
51
|
key: 0,
|
|
52
52
|
to: d(y)
|
|
53
53
|
}, [
|
|
54
|
-
o.value ? (
|
|
54
|
+
o.value ? (l(), s("div", {
|
|
55
55
|
key: 0,
|
|
56
56
|
ref_key: "tooltipRef",
|
|
57
|
-
ref:
|
|
57
|
+
ref: g,
|
|
58
58
|
style: b(d(p)),
|
|
59
59
|
class: i(["z-70 border shadow-md", [
|
|
60
60
|
e.rootClass,
|
|
@@ -64,8 +64,8 @@ const L = {
|
|
|
64
64
|
"rounded border-gray-700 bg-gray-700": e.isDarkMode
|
|
65
65
|
}
|
|
66
66
|
]]),
|
|
67
|
-
onMouseenter: t[4] || (t[4] = (
|
|
68
|
-
onMouseleave: t[5] || (t[5] = (
|
|
67
|
+
onMouseenter: t[4] || (t[4] = (n) => o.value = !0),
|
|
68
|
+
onMouseleave: t[5] || (t[5] = (n) => o.value = !1)
|
|
69
69
|
}, [
|
|
70
70
|
v("div", {
|
|
71
71
|
class: i(["rounded", {
|
|
@@ -76,7 +76,7 @@ const L = {
|
|
|
76
76
|
"pt-0": !!e.title
|
|
77
77
|
}])
|
|
78
78
|
}, [
|
|
79
|
-
e.title ? (
|
|
79
|
+
e.title ? (l(), s("div", L, [
|
|
80
80
|
B(x, {
|
|
81
81
|
variant: "caps-heading",
|
|
82
82
|
color: "secondary",
|
|
@@ -104,7 +104,7 @@ const L = {
|
|
|
104
104
|
}
|
|
105
105
|
}), A = {}, I = { class: "px-3" };
|
|
106
106
|
function K(e, r) {
|
|
107
|
-
return
|
|
107
|
+
return l(), s("div", I, [
|
|
108
108
|
c(e.$slots, "default")
|
|
109
109
|
]);
|
|
110
110
|
}
|
|
@@ -112,7 +112,7 @@ const q = /* @__PURE__ */ F(A, [["render", K]]), G = /* @__PURE__ */ k({
|
|
|
112
112
|
__name: "TooltipParagraph",
|
|
113
113
|
setup(e) {
|
|
114
114
|
const r = $(D, !1);
|
|
115
|
-
return (u,
|
|
115
|
+
return (u, g) => (l(), M(d(x), {
|
|
116
116
|
tag: "p",
|
|
117
117
|
variant: "body-xs",
|
|
118
118
|
color: "secondary",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, inject as m, computed as p, openBlock as _, createBlock as u, unref as s, withCtx as d, renderSlot as i } from "vue";
|
|
2
|
-
import { T as f, _ as v } from "./customElements-
|
|
2
|
+
import { T as f, _ as v } from "./customElements-d7Bhfqi_.mjs";
|
|
3
3
|
const h = /* @__PURE__ */ r({
|
|
4
4
|
__name: "TranslationOverride",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { b as i, c as n, d as u } from "./typeGuards.es-B4XMtlkM.mjs";
|
|
2
|
+
import { f as _ } from "./formatting.es-RclXHhKo.mjs";
|
|
3
|
+
import { defineComponent as m, computed as s, openBlock as f, createBlock as b, unref as p, withCtx as a, createTextVNode as l, toDisplayString as d } from "vue";
|
|
4
|
+
import { u as c } from "./pricingPlanScheduleOverrides-GON_34ep.mjs";
|
|
5
|
+
import { _ as g } from "./Chip.vue.es-Dc6-PjEn.mjs";
|
|
6
|
+
const k = (o) => (t) => {
|
|
7
|
+
if (!t)
|
|
8
|
+
return 0;
|
|
9
|
+
if (t.tier_top_bound && i(t.tier_top_bound))
|
|
10
|
+
return o.formatNumber(+t.tier_top_bound.number);
|
|
11
|
+
if (n(t.tier_top_bound))
|
|
12
|
+
return o.formatNumber(+t.tier_top_bound.count);
|
|
13
|
+
if (u(t.tier_top_bound))
|
|
14
|
+
return _(t.tier_top_bound.amount);
|
|
15
|
+
}, y = (o) => (t, e, r) => {
|
|
16
|
+
if (r === e.length - 1)
|
|
17
|
+
return o.infinite;
|
|
18
|
+
if (t.tier_top_bound && "number" in t.tier_top_bound && i(t.tier_top_bound))
|
|
19
|
+
return o.formatNumber(+t.tier_top_bound.number);
|
|
20
|
+
if (t.tier_top_bound && "count" in t.tier_top_bound && n(t.tier_top_bound))
|
|
21
|
+
return o.formatNumber(+t.tier_top_bound.count);
|
|
22
|
+
if (t.tier_top_bound && "amount" in t.tier_top_bound && u(t.tier_top_bound))
|
|
23
|
+
return _(t.tier_top_bound.amount);
|
|
24
|
+
}, A = /* @__PURE__ */ m({
|
|
25
|
+
__name: "TrialChip",
|
|
26
|
+
props: {
|
|
27
|
+
trialPeriod: {},
|
|
28
|
+
size: { default: "sm" }
|
|
29
|
+
},
|
|
30
|
+
setup(o) {
|
|
31
|
+
const t = o, { formatTimePeriod: e } = c(), r = s(() => typeof t.trialPeriod == "string" ? t.trialPeriod : `${e(t.trialPeriod, { short: !0, singular: !0 })} trial`);
|
|
32
|
+
return (N, P) => (f(), b(p(g), {
|
|
33
|
+
intent: "info",
|
|
34
|
+
size: o.size
|
|
35
|
+
}, {
|
|
36
|
+
default: a(() => [
|
|
37
|
+
l(d(r.value), 1)
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 8, ["size"]));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
A as _,
|
|
45
|
+
y as a,
|
|
46
|
+
k as g
|
|
47
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { g as P } from "./pricingItem.es-AYq_hYeD.mjs";
|
|
2
|
+
import { a as A, b as h } from "./pricing-CBJT8C6L.mjs";
|
|
3
|
+
import { e as y } from "./subscription-DQ5mRp_e.mjs";
|
|
4
|
+
const _ = (e) => (e ?? []).flatMap(
|
|
5
|
+
(n) => n.configs ?? []
|
|
6
|
+
), b = (e) => [
|
|
7
|
+
...e.configs ?? [],
|
|
8
|
+
..._(e.billing_period_configs),
|
|
9
|
+
...(e.pricing_currency_configs ?? []).flatMap((n) => [
|
|
10
|
+
...n.configs ?? [],
|
|
11
|
+
..._(n.billing_period_configs)
|
|
12
|
+
])
|
|
13
|
+
];
|
|
14
|
+
function D({
|
|
15
|
+
pricings: e,
|
|
16
|
+
pricingItemConfigId: n
|
|
17
|
+
}) {
|
|
18
|
+
var t, r;
|
|
19
|
+
const s = e.flatMap((o) => o.items ?? []).find((o) => {
|
|
20
|
+
var d;
|
|
21
|
+
return (d = o.configs) == null ? void 0 : d.some((u) => u.id === n);
|
|
22
|
+
}), i = (t = s == null ? void 0 : s.configs) == null ? void 0 : t.find((o) => o.id === n), a = (r = s == null ? void 0 : s.product_items) == null ? void 0 : r[0];
|
|
23
|
+
return {
|
|
24
|
+
config: i,
|
|
25
|
+
productItem: a
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
const f = "1", M = {
|
|
29
|
+
seats: { schedule: "seats_values", planDefault: "default_seats_value" },
|
|
30
|
+
units: { schedule: "units", planDefault: "default_units" }
|
|
31
|
+
};
|
|
32
|
+
function I(e, n) {
|
|
33
|
+
var r;
|
|
34
|
+
const s = M[e], i = (r = n == null ? void 0 : n.pricing_plan_schedule) == null ? void 0 : r[s.schedule];
|
|
35
|
+
if (!n || !(i != null && i.length))
|
|
36
|
+
return;
|
|
37
|
+
const a = n.pricing_plan_version ? A(n).flatMap((o) => o.items ?? []).flatMap(b) : [], t = new Map(
|
|
38
|
+
a.flatMap((o) => {
|
|
39
|
+
var u;
|
|
40
|
+
const d = (u = o[s.planDefault]) == null ? void 0 : u.number;
|
|
41
|
+
return d ? [[o.id, d]] : [];
|
|
42
|
+
})
|
|
43
|
+
);
|
|
44
|
+
return i.map(({ pricing_item_config_id: o, number: d }) => ({
|
|
45
|
+
pricing_item_config_id: o,
|
|
46
|
+
number: d || t.get(o) || f
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
function E(e, n) {
|
|
50
|
+
var i, a, t;
|
|
51
|
+
const s = (a = (i = e.product_items) == null ? void 0 : i[0]) == null ? void 0 : a.model_type;
|
|
52
|
+
if (s === "PER_SEAT") return "seats";
|
|
53
|
+
if (s === "ONE_OFF" && ((t = n == null ? void 0 : n.details) == null ? void 0 : t.pricing_type) === "FLAT") return "units";
|
|
54
|
+
}
|
|
55
|
+
function l(e, n) {
|
|
56
|
+
return (e.items ?? []).flatMap((s) => (n ? [P({ pricingItem: s, ...n })] : b(s)).flatMap((a) => {
|
|
57
|
+
var r;
|
|
58
|
+
const t = E(s, a);
|
|
59
|
+
return a && t ? [
|
|
60
|
+
{
|
|
61
|
+
kind: t,
|
|
62
|
+
id: a.id,
|
|
63
|
+
defaultNumber: Number((r = a[M[t].planDefault]) == null ? void 0 : r.number)
|
|
64
|
+
}
|
|
65
|
+
] : [];
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
const g = (e) => e.some(({ kind: n }) => n === "seats") ? "seats" : "units";
|
|
69
|
+
function C(e, n = []) {
|
|
70
|
+
const s = e.pricing_plan_schedule_infos.filter(
|
|
71
|
+
(t) => t.pricing_plan_version
|
|
72
|
+
), i = new Set(n.map((t) => t.pricing_item_config_id));
|
|
73
|
+
return [
|
|
74
|
+
...h(s).filter(
|
|
75
|
+
(t) => t.product_type === "ADDON"
|
|
76
|
+
),
|
|
77
|
+
...y({
|
|
78
|
+
...e,
|
|
79
|
+
pricing_plan_schedule_infos: s
|
|
80
|
+
}).filter(
|
|
81
|
+
(t) => t.product_type === "ADDON" && t.selection_constraint === "ANY"
|
|
82
|
+
).flatMap((t) => t.pricings ?? [])
|
|
83
|
+
].filter((t) => {
|
|
84
|
+
const r = l(t);
|
|
85
|
+
return r.length > 0 && !r.some(({ id: o }) => i.has(o));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function N(e) {
|
|
89
|
+
return new Set(e.flatMap((n) => l(n).map(({ id: s }) => s)));
|
|
90
|
+
}
|
|
91
|
+
function v(e, n = {}) {
|
|
92
|
+
const s = l(e, n), i = g(s), a = s.filter((t) => t.kind === i && t.defaultNumber > 0).map(({ defaultNumber: t }) => t);
|
|
93
|
+
return Math.max(Number(f), ...a);
|
|
94
|
+
}
|
|
95
|
+
function w(e, n) {
|
|
96
|
+
if (!n.enabledPricingIds.includes(e.id)) return 0;
|
|
97
|
+
const s = l(e), i = g(s), a = new Set(s.filter((r) => r.kind === i).map(({ id: r }) => r)), t = n[`${i}Values`].find(
|
|
98
|
+
({ pricing_item_config_id: r }) => a.has(r)
|
|
99
|
+
);
|
|
100
|
+
return Number(t == null ? void 0 : t.number) || void 0;
|
|
101
|
+
}
|
|
102
|
+
function O(e, n, s, i = {}) {
|
|
103
|
+
const a = N([e]), t = n > 0 ? l(e, i) : [], r = g(t), o = (u, p) => [
|
|
104
|
+
...u.filter(({ pricing_item_config_id: c }) => !a.has(c)),
|
|
105
|
+
...t.filter((c) => c.kind === p).map(({ id: c, defaultNumber: m }) => ({
|
|
106
|
+
pricing_item_config_id: c,
|
|
107
|
+
number: String(
|
|
108
|
+
p === r ? n : m > 0 ? m : f
|
|
109
|
+
)
|
|
110
|
+
}))
|
|
111
|
+
], d = s.enabledPricingIds.filter((u) => u !== e.id);
|
|
112
|
+
return {
|
|
113
|
+
enabledPricingIds: n <= 0 ? d : s.enabledPricingIds.includes(e.id) ? s.enabledPricingIds : [...d, e.id],
|
|
114
|
+
seatsValues: o(s.seatsValues, "seats"),
|
|
115
|
+
unitsValues: o(s.unitsValues, "units")
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
export {
|
|
119
|
+
f as F,
|
|
120
|
+
N as a,
|
|
121
|
+
C as b,
|
|
122
|
+
I as c,
|
|
123
|
+
D as d,
|
|
124
|
+
v as e,
|
|
125
|
+
w as f,
|
|
126
|
+
E as g,
|
|
127
|
+
O as s
|
|
128
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { t as u } from "./amount-CondixVt.mjs";
|
|
2
|
+
import { f as s } from "./usePaymentMethodOptions-DDRjVvDJ.mjs";
|
|
3
|
+
import { P as c } from "./paymentRedirect-DaS8Kccc.mjs";
|
|
4
|
+
function f(e) {
|
|
5
|
+
var t, n;
|
|
6
|
+
return (n = (t = e.integration.payment_gateway) == null ? void 0 : t.adyen) == null ? void 0 : n.public_key;
|
|
7
|
+
}
|
|
8
|
+
function o(e) {
|
|
9
|
+
var t;
|
|
10
|
+
return ((t = e.options) == null ? void 0 : t.filter(
|
|
11
|
+
(n) => n.payment_gateway_variant === "ADYEN"
|
|
12
|
+
).flatMap(
|
|
13
|
+
(n) => m(n.adyen)
|
|
14
|
+
)) ?? [];
|
|
15
|
+
}
|
|
16
|
+
function _(e, { excludeExpressPaymentMethods: t = !1 } = {}) {
|
|
17
|
+
const n = o(e);
|
|
18
|
+
return t ? s(n) : n;
|
|
19
|
+
}
|
|
20
|
+
function m(e) {
|
|
21
|
+
return {
|
|
22
|
+
type: e.type,
|
|
23
|
+
name: e.name,
|
|
24
|
+
...e.issuers ? { issuers: e.issuers } : {},
|
|
25
|
+
...e.brands ? { brands: e.brands } : {},
|
|
26
|
+
...e.funding_source ? { fundingSource: e.funding_source } : {},
|
|
27
|
+
...e.configuration ? { configuration: e.configuration } : {}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function y({
|
|
31
|
+
paymentAcceptorId: e,
|
|
32
|
+
redirectUrl: t = window.location.href
|
|
33
|
+
}) {
|
|
34
|
+
const n = new URL(t);
|
|
35
|
+
return n.searchParams.set(c, e), n.toString();
|
|
36
|
+
}
|
|
37
|
+
function d(e, t) {
|
|
38
|
+
var r, a;
|
|
39
|
+
const n = (a = (r = e == null ? void 0 : e.integration.payment_gateway) == null ? void 0 : r.adyen) == null ? void 0 : a.environment;
|
|
40
|
+
if (!n)
|
|
41
|
+
return t.warn(
|
|
42
|
+
"ADYEN_INVALID_CONFIGURATION",
|
|
43
|
+
"No environment set for adyen advanced flow, defaulted to live"
|
|
44
|
+
), "live";
|
|
45
|
+
switch (n) {
|
|
46
|
+
case "TEST":
|
|
47
|
+
return "test";
|
|
48
|
+
case "LIVE_IN":
|
|
49
|
+
return "live-in";
|
|
50
|
+
case "LIVE_AU":
|
|
51
|
+
return "live-au";
|
|
52
|
+
case "LIVE_US":
|
|
53
|
+
return "live-us";
|
|
54
|
+
case "LIVE_APSE":
|
|
55
|
+
return "live-apse";
|
|
56
|
+
case "LIVE":
|
|
57
|
+
return "live";
|
|
58
|
+
default:
|
|
59
|
+
return t.warn(
|
|
60
|
+
"ADYEN_INVALID_CONFIGURATION",
|
|
61
|
+
`Unsupported environment "${n}" for adyen advanced flow, defaulted to "live"`
|
|
62
|
+
), "live";
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function g({
|
|
66
|
+
amount: e,
|
|
67
|
+
countryCode: t,
|
|
68
|
+
locale: n,
|
|
69
|
+
paymentMethodOptionResponse: r,
|
|
70
|
+
logger: a,
|
|
71
|
+
onSubmit: i
|
|
72
|
+
}) {
|
|
73
|
+
return {
|
|
74
|
+
...e ? { amount: u(e) } : {},
|
|
75
|
+
...i ? { onSubmit: i } : {},
|
|
76
|
+
analytics: { enabled: !1 },
|
|
77
|
+
clientKey: f(r),
|
|
78
|
+
countryCode: t,
|
|
79
|
+
environment: d(
|
|
80
|
+
r,
|
|
81
|
+
a
|
|
82
|
+
),
|
|
83
|
+
locale: n,
|
|
84
|
+
paymentMethodsResponse: {
|
|
85
|
+
paymentMethods: o(r)
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function E(e) {
|
|
90
|
+
return e ? Object.fromEntries(Object.entries(e).map(([t, n]) => [t, String(n)])) : void 0;
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
d as a,
|
|
94
|
+
f as b,
|
|
95
|
+
y as c,
|
|
96
|
+
g as d,
|
|
97
|
+
_ as g,
|
|
98
|
+
E as t
|
|
99
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
function C() {
|
|
2
|
+
return import("./index-CTwLxoOS.mjs").then(
|
|
3
|
+
({
|
|
4
|
+
AdyenCheckout: n,
|
|
5
|
+
Dropin: o,
|
|
6
|
+
Card: e,
|
|
7
|
+
Bancontact: r,
|
|
8
|
+
Ach: d,
|
|
9
|
+
AmazonPay: a,
|
|
10
|
+
ApplePay: t,
|
|
11
|
+
BcmcMobile: i,
|
|
12
|
+
BacsDirectDebit: l,
|
|
13
|
+
CashAppPay: m,
|
|
14
|
+
EPS: u,
|
|
15
|
+
GooglePay: s,
|
|
16
|
+
Klarna: f,
|
|
17
|
+
PayByBank: h,
|
|
18
|
+
PayPal: p,
|
|
19
|
+
SepaDirectDebit: c,
|
|
20
|
+
Trustly: y,
|
|
21
|
+
Twint: k,
|
|
22
|
+
PayByBankUS: x,
|
|
23
|
+
Redirect: A
|
|
24
|
+
}) => ({
|
|
25
|
+
AdyenCheckout: n,
|
|
26
|
+
Dropin: o,
|
|
27
|
+
// Named on its own as well for the Apple Pay express button, which mounts it outside the
|
|
28
|
+
// drop-in.
|
|
29
|
+
ApplePay: t,
|
|
30
|
+
/** The payment methods the drop-in is built with, in the order it offers them. */
|
|
31
|
+
dropInPaymentMethodComponents: [
|
|
32
|
+
e,
|
|
33
|
+
r,
|
|
34
|
+
d,
|
|
35
|
+
a,
|
|
36
|
+
t,
|
|
37
|
+
i,
|
|
38
|
+
l,
|
|
39
|
+
m,
|
|
40
|
+
u,
|
|
41
|
+
s,
|
|
42
|
+
f,
|
|
43
|
+
h,
|
|
44
|
+
p,
|
|
45
|
+
c,
|
|
46
|
+
y,
|
|
47
|
+
k,
|
|
48
|
+
x,
|
|
49
|
+
A
|
|
50
|
+
]
|
|
51
|
+
})
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
function I() {
|
|
55
|
+
return Promise.all([
|
|
56
|
+
C(),
|
|
57
|
+
import("./adyen-Bugab0JE.mjs").then((n) => n.default)
|
|
58
|
+
]);
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
C as a,
|
|
62
|
+
I as l
|
|
63
|
+
};
|
|
@@ -1,71 +1,67 @@
|
|
|
1
|
-
import { defineComponent as l, renderSlot as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { defineComponent as l, renderSlot as m, unref as o, openBlock as a, createBlock as s, withCtx as c, createVNode as u, normalizeProps as g, guardReactiveProps as y } from "vue";
|
|
2
|
+
import { _ as f } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs";
|
|
3
|
+
import { u as d } from "../../useCustomer-RUtEzDOY.mjs";
|
|
4
|
+
import { u as _ } from "../../useLoadInitialData-CwySdYZM.mjs";
|
|
5
|
+
import { j as b, k as O, l as S } from "../../customElements-d7Bhfqi_.mjs";
|
|
6
|
+
import { _ as v } from "../../LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ l({
|
|
7
8
|
__name: "BillingInformation.entry.view",
|
|
8
9
|
props: {
|
|
9
|
-
portalToken: { type: Object },
|
|
10
10
|
environment: { type: String },
|
|
11
11
|
locale: { type: String },
|
|
12
12
|
dateLocale: { type: String },
|
|
13
13
|
messages: { type: Object },
|
|
14
|
-
|
|
15
|
-
secondaryColor: { type: String },
|
|
16
|
-
isShadowRoot: { type: Boolean },
|
|
14
|
+
portalToken: { type: Object },
|
|
17
15
|
experimentalFeatures: { type: Array },
|
|
18
16
|
logLevel: { type: String },
|
|
19
17
|
onLog: { type: Function },
|
|
20
|
-
allowedPortalTypes: { type: Array },
|
|
21
|
-
portalObject: { type: Object },
|
|
22
18
|
cssOverrides: { type: [String, Array] },
|
|
23
19
|
branding: { type: Object },
|
|
20
|
+
portalObject: { type: null },
|
|
24
21
|
configuration: { type: Object }
|
|
25
22
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const e =
|
|
28
|
-
return (
|
|
29
|
-
customer:
|
|
30
|
-
isLoading:
|
|
23
|
+
setup(r) {
|
|
24
|
+
const e = r.portalObject.customer_id, i = d({ customerId: e }), { isLoading: t } = _(i.get.execute());
|
|
25
|
+
return (n, k) => m(n.$slots, "default", {
|
|
26
|
+
customer: o(i),
|
|
27
|
+
isLoading: o(t)
|
|
31
28
|
});
|
|
32
29
|
}
|
|
33
|
-
}),
|
|
30
|
+
}), L = /* @__PURE__ */ l({
|
|
34
31
|
__name: "BillingInformation.entry",
|
|
35
32
|
props: {
|
|
36
|
-
portalToken: { type: Object },
|
|
37
33
|
environment: { type: String },
|
|
38
34
|
locale: { type: String },
|
|
39
35
|
dateLocale: { type: String },
|
|
40
36
|
messages: { type: Object },
|
|
41
|
-
|
|
42
|
-
secondaryColor: { type: String },
|
|
43
|
-
isShadowRoot: { type: Boolean },
|
|
37
|
+
portalToken: { type: Object },
|
|
44
38
|
experimentalFeatures: { type: Array },
|
|
45
39
|
logLevel: { type: String },
|
|
46
40
|
onLog: { type: Function },
|
|
47
|
-
allowedPortalTypes: { type: Array },
|
|
48
|
-
portalObject: { type: Object },
|
|
49
41
|
cssOverrides: { type: [String, Array] },
|
|
50
42
|
branding: { type: Object },
|
|
43
|
+
portalObject: { type: null },
|
|
51
44
|
configuration: { type: Object }
|
|
52
45
|
},
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
55
|
-
return (e,
|
|
46
|
+
setup(r) {
|
|
47
|
+
const p = O("billing-information");
|
|
48
|
+
return (e, i) => (a(), s(o(b), {
|
|
56
49
|
entry: e.$props,
|
|
57
|
-
"component-name":
|
|
58
|
-
"allowed-portal-types": ["CUSTOMER"]
|
|
59
|
-
onError: t[0] || (t[0] = (o) => e.$emit("error", o))
|
|
50
|
+
"component-name": o(p),
|
|
51
|
+
"allowed-portal-types": ["CUSTOMER"]
|
|
60
52
|
}, {
|
|
61
|
-
default:
|
|
62
|
-
|
|
63
|
-
default:
|
|
64
|
-
s(
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
53
|
+
default: c(() => [
|
|
54
|
+
u(j, g(y(e.$props)), {
|
|
55
|
+
default: c(({ customer: t, isLoading: n }) => [
|
|
56
|
+
!n && !t.customer.value ? (a(), s(v, {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "sv-billing-information"
|
|
59
|
+
})) : (a(), s(f, {
|
|
60
|
+
key: 1,
|
|
61
|
+
configuration: r.configuration,
|
|
62
|
+
"is-loading": n,
|
|
63
|
+
customer: t.customer.value
|
|
64
|
+
}, null, 8, ["configuration", "is-loading", "customer"]))
|
|
69
65
|
]),
|
|
70
66
|
_: 1
|
|
71
67
|
}, 16)
|
|
@@ -73,10 +69,10 @@ const _ = /* @__PURE__ */ l({
|
|
|
73
69
|
_: 1
|
|
74
70
|
}, 8, ["entry", "component-name"]));
|
|
75
71
|
}
|
|
76
|
-
}), { define:
|
|
77
|
-
|
|
72
|
+
}), { define: F } = S(
|
|
73
|
+
L,
|
|
78
74
|
"billing-information"
|
|
79
75
|
);
|
|
80
76
|
export {
|
|
81
|
-
|
|
77
|
+
F as defineSolvimonBillingInformation
|
|
82
78
|
};
|