@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,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { o as P } from "./index.es-
|
|
3
|
-
import {
|
|
4
|
-
import { b as he, _ as X } from "./Button.vue.es-
|
|
5
|
-
import { i as
|
|
6
|
-
import { _ as ge } from "./Avatar.vue.es-
|
|
7
|
-
import { d as we, a as ze } from "./customElements-
|
|
8
|
-
import { _ as ke } from "./IconButton.vue.es-
|
|
1
|
+
import { defineComponent as N, openBlock as o, createElementBlock as u, normalizeStyle as Y, normalizeClass as c, renderSlot as b, createBlock as M, unref as n, createCommentVNode as r, createElementVNode as f, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as de, computed as v, ref as h, useId as re, watch as ue, onMounted as ce, onBeforeUnmount as fe, createVNode as y, Transition as me, withModifiers as be, nextTick as xe } from "vue";
|
|
2
|
+
import { o as P } from "./index.es-C7J3WGGo.mjs";
|
|
3
|
+
import { a as ye, F as ve } from "./ContextMenu.vue.es-EXTx0NEt.mjs";
|
|
4
|
+
import { b as he, _ as X } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
5
|
+
import { i as Z } from "./slots.es-BA4MyEAa.mjs";
|
|
6
|
+
import { _ as ge } from "./Avatar.vue.es-CJdXXOiG.mjs";
|
|
7
|
+
import { d as we, a as ze } from "./customElements-B8c354Nu.mjs";
|
|
8
|
+
import { _ as ke } from "./IconButton.vue.es-CpQbFw0x.mjs";
|
|
9
9
|
import { _ as Be } from "./useLazyFloating.es-CycqRyeb.mjs";
|
|
10
|
-
const
|
|
11
|
-
defaultZIndex:
|
|
10
|
+
const O = 60, A = "z-index-tracker", Se = () => ({
|
|
11
|
+
defaultZIndex: O,
|
|
12
12
|
getZIndex: () => {
|
|
13
|
-
const
|
|
14
|
-
let
|
|
15
|
-
return (
|
|
13
|
+
const a = document.querySelectorAll(`.${A}`);
|
|
14
|
+
let m = O;
|
|
15
|
+
return (a ?? []).forEach((i) => {
|
|
16
16
|
const d = window.getComputedStyle(i).getPropertyValue("z-index");
|
|
17
|
-
d && +d >=
|
|
18
|
-
}),
|
|
17
|
+
d && +d >= m && (m = +d + 1);
|
|
18
|
+
}), m;
|
|
19
19
|
},
|
|
20
20
|
getTopZIndex: () => {
|
|
21
|
-
const
|
|
22
|
-
let
|
|
23
|
-
return (
|
|
21
|
+
const a = document.querySelectorAll(`.${A}`);
|
|
22
|
+
let m = O;
|
|
23
|
+
return (a ?? []).forEach((i) => {
|
|
24
24
|
const d = window.getComputedStyle(i).getPropertyValue("z-index");
|
|
25
|
-
d && +d >
|
|
26
|
-
}),
|
|
25
|
+
d && +d > m && (m = +d);
|
|
26
|
+
}), m;
|
|
27
27
|
},
|
|
28
|
-
trackingClass:
|
|
29
|
-
}),
|
|
28
|
+
trackingClass: A
|
|
29
|
+
}), Me = /* @__PURE__ */ N({
|
|
30
30
|
__name: "Backdrop",
|
|
31
31
|
props: {
|
|
32
32
|
blurred: { type: Boolean, default: !1 },
|
|
@@ -34,8 +34,8 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
34
34
|
zIndex: {}
|
|
35
35
|
},
|
|
36
36
|
setup(e) {
|
|
37
|
-
return (
|
|
38
|
-
class:
|
|
37
|
+
return (s, a) => (o(), u("div", {
|
|
38
|
+
class: c(["fixed inset-0", {
|
|
39
39
|
"bg-white/90 backdrop-blur": e.blurred && e.color === "white",
|
|
40
40
|
"bg-white/80": !e.blurred && e.color === "white",
|
|
41
41
|
"bg-gray-200/90 backdrop-blur": e.blurred && e.color === "gray",
|
|
@@ -43,10 +43,10 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
43
43
|
}]),
|
|
44
44
|
style: Y({ zIndex: e.zIndex })
|
|
45
45
|
}, [
|
|
46
|
-
b(
|
|
46
|
+
b(s.$slots, "default")
|
|
47
47
|
], 6));
|
|
48
48
|
}
|
|
49
|
-
}),
|
|
49
|
+
}), Te = { class: "grow overflow-hidden text-ellipsis" }, $e = /* @__PURE__ */ N({
|
|
50
50
|
__name: "Title",
|
|
51
51
|
props: {
|
|
52
52
|
title: {},
|
|
@@ -59,24 +59,24 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
59
59
|
resourceId: {}
|
|
60
60
|
},
|
|
61
61
|
setup(e) {
|
|
62
|
-
return (
|
|
63
|
-
class:
|
|
62
|
+
return (s, a) => (o(), u("div", {
|
|
63
|
+
class: c(["flex text-left", {
|
|
64
64
|
"gap-4": ["md", "lg"].includes(e.size),
|
|
65
65
|
"gap-3": e.size === "sm",
|
|
66
66
|
"gap-2": e.size === "xs" && e.variant !== "transparent",
|
|
67
67
|
"gap-1": e.size === "xs" && e.variant === "transparent"
|
|
68
68
|
}])
|
|
69
69
|
}, [
|
|
70
|
-
e.avatar && e.title ? (
|
|
70
|
+
e.avatar && e.title ? (o(), M(n(ge), {
|
|
71
71
|
key: 0,
|
|
72
72
|
initials: e.title.slice(0, 1),
|
|
73
73
|
"color-hash": e.title,
|
|
74
74
|
size: ["sm", "xs"].includes(e.size) ? "lg" : "xl"
|
|
75
75
|
}, null, 8, ["initials", "color-hash", "size"])) : r("", !0),
|
|
76
|
-
|
|
77
|
-
e.title ||
|
|
76
|
+
f("div", Te, [
|
|
77
|
+
e.title || s.$slots.default ? (o(), u("div", {
|
|
78
78
|
key: 0,
|
|
79
|
-
class:
|
|
79
|
+
class: c([{
|
|
80
80
|
"text-3xl": e.size === "lg",
|
|
81
81
|
"text-2xl": e.size === "md",
|
|
82
82
|
"text-base": e.size === "sm",
|
|
@@ -86,15 +86,15 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
86
86
|
"font-general-sans": ["md", "lg"].includes(e.size)
|
|
87
87
|
}, "flex items-center font-semibold"])
|
|
88
88
|
}, [
|
|
89
|
-
b(
|
|
90
|
-
b(
|
|
89
|
+
b(s.$slots, "prefix"),
|
|
90
|
+
b(s.$slots, "default", {}, () => [
|
|
91
91
|
k(w(e.title), 1)
|
|
92
92
|
]),
|
|
93
|
-
b(
|
|
93
|
+
b(s.$slots, "suffix", {}, () => [
|
|
94
94
|
k(w(e.suffix), 1)
|
|
95
95
|
])
|
|
96
96
|
], 2)) : r("", !0),
|
|
97
|
-
e.subTitle ||
|
|
97
|
+
e.subTitle || s.$slots.subTitle && !n(Z)(s.$slots.subTitle({})) ? (o(), M(n(we), {
|
|
98
98
|
key: 1,
|
|
99
99
|
variant: "body-sm",
|
|
100
100
|
color: "secondary",
|
|
@@ -102,7 +102,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
102
102
|
class: "mt-1"
|
|
103
103
|
}, {
|
|
104
104
|
default: g(() => [
|
|
105
|
-
b(
|
|
105
|
+
b(s.$slots, "subTitle", {}, () => [
|
|
106
106
|
k(w(e.subTitle), 1)
|
|
107
107
|
])
|
|
108
108
|
]),
|
|
@@ -111,28 +111,28 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
111
111
|
])
|
|
112
112
|
], 2));
|
|
113
113
|
}
|
|
114
|
-
}),
|
|
114
|
+
}), Ee = ["aria-label", "aria-labelledby", "aria-busy"], Ce = {
|
|
115
115
|
key: 0,
|
|
116
116
|
role: "status",
|
|
117
117
|
class: "absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-white/80"
|
|
118
|
-
},
|
|
118
|
+
}, Ie = { class: "sr-only" }, pe = {
|
|
119
119
|
key: 1,
|
|
120
120
|
"data-testid": "modal-top-bar",
|
|
121
121
|
class: "flex justify-end border-b border-gray-200 py-2 pr-2"
|
|
122
122
|
}, Le = {
|
|
123
123
|
"aria-hidden": "true",
|
|
124
124
|
class: "sticky top-0 z-10 -mx-6 h-0"
|
|
125
|
-
},
|
|
125
|
+
}, Oe = {
|
|
126
126
|
"data-testid": "modal-body-content",
|
|
127
127
|
class: "py-6"
|
|
128
|
-
},
|
|
128
|
+
}, Ae = ["id"], Ze = {
|
|
129
129
|
"aria-hidden": "true",
|
|
130
130
|
class: "sticky bottom-0 z-10 -mx-6 h-0"
|
|
131
|
-
},
|
|
131
|
+
}, Ne = { key: 0 }, Re = {
|
|
132
132
|
key: 3,
|
|
133
133
|
"data-testid": "modal-footer",
|
|
134
134
|
class: "border-t border-gray-200 px-6 py-3 [&_button]:w-full"
|
|
135
|
-
},
|
|
135
|
+
}, Ve = { class: "flex flex-col gap-2" }, De = /* @__PURE__ */ N({
|
|
136
136
|
__name: "Modal",
|
|
137
137
|
props: {
|
|
138
138
|
children: { default: () => [] },
|
|
@@ -149,24 +149,25 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
149
149
|
overflowVisible: { type: Boolean },
|
|
150
150
|
isLoading: { type: Boolean, default: !1 },
|
|
151
151
|
isEmbedded: { type: Boolean, default: !1 },
|
|
152
|
+
fullScreenOnMobile: { type: Boolean, default: !1 },
|
|
152
153
|
ariaLabel: {},
|
|
153
154
|
ariaLabelledby: {}
|
|
154
155
|
},
|
|
155
156
|
emits: ["confirm", "close"],
|
|
156
|
-
setup(e, { emit:
|
|
157
|
-
const
|
|
157
|
+
setup(e, { emit: s }) {
|
|
158
|
+
const a = e, m = s, i = de(), { $t: d } = ze(), R = v(() => {
|
|
158
159
|
var t, l;
|
|
159
|
-
return !!((t = i.body) != null && t.call(i)) && !
|
|
160
|
-
}), B =
|
|
160
|
+
return !!((t = i.body) != null && t.call(i)) && !Z((l = i.body) == null ? void 0 : l.call(i, {}));
|
|
161
|
+
}), B = v(() => {
|
|
161
162
|
var t, l;
|
|
162
|
-
return !!
|
|
163
|
-
}), J =
|
|
164
|
-
if (
|
|
165
|
-
if (!
|
|
166
|
-
}), ee =
|
|
167
|
-
if (!
|
|
168
|
-
return
|
|
169
|
-
}), q = h(!1), K = h(!1), te =
|
|
163
|
+
return !!a.title || !!((t = i.header) != null && t.call(i)) && !Z((l = i.header) == null ? void 0 : l.call(i, {}));
|
|
164
|
+
}), J = v(() => R.value || B.value), { getZIndex: Q, getTopZIndex: W, trackingClass: _, defaultZIndex: V } = Se(), T = h(), z = h(), S = h(V), D = re(), F = v(() => {
|
|
165
|
+
if (a.ariaLabelledby) return a.ariaLabelledby;
|
|
166
|
+
if (!a.ariaLabel && !a.title && B.value) return D;
|
|
167
|
+
}), ee = v(() => {
|
|
168
|
+
if (!F.value)
|
|
169
|
+
return a.ariaLabel || a.title || void 0;
|
|
170
|
+
}), q = h(!1), K = h(!1), te = v(() => a.blurred || a.isEmbedded), le = {
|
|
170
171
|
xs: "max-w-xs",
|
|
171
172
|
sm: "max-w-sm",
|
|
172
173
|
md: "max-w-md",
|
|
@@ -178,7 +179,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
178
179
|
"5xl": "max-w-5xl",
|
|
179
180
|
"6xl": "max-w-6xl",
|
|
180
181
|
"7xl": "max-w-7xl"
|
|
181
|
-
},
|
|
182
|
+
}, ae = [
|
|
182
183
|
"a[href]",
|
|
183
184
|
"button:not([disabled])",
|
|
184
185
|
'input:not([disabled]):not([type="hidden"])',
|
|
@@ -186,9 +187,9 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
186
187
|
"textarea:not([disabled])",
|
|
187
188
|
'[contenteditable="true"]',
|
|
188
189
|
'[tabindex]:not([tabindex^="-"])'
|
|
189
|
-
].join(","),
|
|
190
|
-
z.value.querySelectorAll(
|
|
191
|
-
).filter((t) => !t.closest('[aria-hidden="true"]')) : [],
|
|
190
|
+
].join(","), $ = h(null), j = () => z.value ? Array.from(
|
|
191
|
+
z.value.querySelectorAll(ae)
|
|
192
|
+
).filter((t) => !t.closest('[aria-hidden="true"]')) : [], oe = () => {
|
|
192
193
|
const t = z.value;
|
|
193
194
|
if (!t) return;
|
|
194
195
|
(t.querySelector("[autofocus]") ?? j()[0] ?? t).focus();
|
|
@@ -198,161 +199,171 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
198
199
|
for (; (t = l == null ? void 0 : l.shadowRoot) != null && t.activeElement; )
|
|
199
200
|
l = l.shadowRoot.activeElement;
|
|
200
201
|
return l;
|
|
201
|
-
}, H = () =>
|
|
202
|
-
|
|
203
|
-
},
|
|
204
|
-
if (!
|
|
205
|
-
const { scrollTop: t, scrollHeight: l, clientHeight:
|
|
206
|
-
q.value = t > 0, K.value = t +
|
|
202
|
+
}, H = () => a.showModal && S.value >= W(), E = () => m("close"), ne = () => {
|
|
203
|
+
a.noBackdropClose || E();
|
|
204
|
+
}, se = () => {
|
|
205
|
+
if (!T.value) return;
|
|
206
|
+
const { scrollTop: t, scrollHeight: l, clientHeight: x } = T.value;
|
|
207
|
+
q.value = t > 0, K.value = t + x < l - 1;
|
|
207
208
|
};
|
|
208
209
|
P("Escape", () => {
|
|
209
|
-
|
|
210
|
+
a.noClickAway || !H() || E();
|
|
210
211
|
}), P("Tab", (t) => {
|
|
211
212
|
const l = z.value;
|
|
212
213
|
if (!l || !H()) return;
|
|
213
|
-
const
|
|
214
|
-
if (!
|
|
214
|
+
const x = j();
|
|
215
|
+
if (!x.length) {
|
|
215
216
|
t.preventDefault(), l.focus();
|
|
216
217
|
return;
|
|
217
218
|
}
|
|
218
|
-
const
|
|
219
|
+
const I = x[0], p = x[x.length - 1], L = U();
|
|
219
220
|
if (!l.contains(L)) {
|
|
220
|
-
t.preventDefault(), (t.shiftKey ?
|
|
221
|
+
t.preventDefault(), (t.shiftKey ? p : I).focus();
|
|
221
222
|
return;
|
|
222
223
|
}
|
|
223
|
-
t.shiftKey && L ===
|
|
224
|
+
t.shiftKey && L === I ? (t.preventDefault(), p.focus()) : !t.shiftKey && L === p && (t.preventDefault(), I.focus());
|
|
224
225
|
});
|
|
225
|
-
const
|
|
226
|
+
const C = (t) => {
|
|
226
227
|
const l = document.querySelector("body");
|
|
227
228
|
l && (l.style.overflowY = t);
|
|
228
229
|
}, G = async () => {
|
|
229
|
-
|
|
230
|
+
S.value = Q(), C("hidden"), $.value = U(), await xe(), oe();
|
|
230
231
|
}, ie = () => {
|
|
231
232
|
var t;
|
|
232
|
-
|
|
233
|
+
S.value = V, C("unset"), (t = $.value) == null || t.focus(), $.value = null;
|
|
233
234
|
};
|
|
234
235
|
return ue(
|
|
235
|
-
() =>
|
|
236
|
+
() => a.showModal,
|
|
236
237
|
(t) => t ? G() : ie()
|
|
237
238
|
), ce(() => {
|
|
238
|
-
|
|
239
|
+
a.showModal && G();
|
|
239
240
|
}), fe(() => {
|
|
240
|
-
|
|
241
|
-
}), (t, l) => (
|
|
241
|
+
C("unset");
|
|
242
|
+
}), (t, l) => (o(), M(n(ye), { to: "modal" }, {
|
|
242
243
|
default: g(() => [
|
|
243
|
-
|
|
244
|
+
y(me, {
|
|
244
245
|
name: "modal",
|
|
245
246
|
appear: ""
|
|
246
247
|
}, {
|
|
247
248
|
default: g(() => [
|
|
248
|
-
e.showModal ? (
|
|
249
|
+
e.showModal ? (o(), u("div", {
|
|
249
250
|
key: 0,
|
|
250
|
-
class:
|
|
251
|
-
style: Y({ zIndex:
|
|
251
|
+
class: c(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full", [n(_), { "inset-0 h-full": e.fullScreenOnMobile }]]),
|
|
252
|
+
style: Y({ zIndex: S.value })
|
|
252
253
|
}, [
|
|
253
|
-
|
|
254
|
+
y(n(Me), {
|
|
254
255
|
"aria-hidden": "true",
|
|
256
|
+
class: c({ "max-md:hidden": e.fullScreenOnMobile }),
|
|
255
257
|
blurred: te.value,
|
|
256
|
-
color:
|
|
257
|
-
onMousedown: be(
|
|
258
|
-
}, null, 8, ["blurred", "color"]),
|
|
259
|
-
|
|
260
|
-
class:
|
|
258
|
+
color: a.isEmbedded ? "white" : void 0,
|
|
259
|
+
onMousedown: be(ne, ["self"])
|
|
260
|
+
}, null, 8, ["class", "blurred", "color"]),
|
|
261
|
+
f("div", {
|
|
262
|
+
class: c(["modal-panel relative h-full w-full p-4 md:h-auto", [
|
|
263
|
+
le[e.size],
|
|
264
|
+
{ "max-md:max-w-none max-md:p-0": e.fullScreenOnMobile }
|
|
265
|
+
]])
|
|
261
266
|
}, [
|
|
262
|
-
|
|
267
|
+
f("div", {
|
|
263
268
|
ref_key: "dialogElementRef",
|
|
264
269
|
ref: z,
|
|
265
270
|
role: "dialog",
|
|
266
271
|
"aria-modal": "true",
|
|
267
272
|
tabindex: "-1",
|
|
268
273
|
"aria-label": ee.value,
|
|
269
|
-
"aria-labelledby":
|
|
274
|
+
"aria-labelledby": F.value,
|
|
270
275
|
"aria-busy": e.isLoading,
|
|
271
|
-
class: "relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none"
|
|
276
|
+
class: c(["relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none", {
|
|
277
|
+
"max-md:h-full max-md:max-h-none max-md:rounded-none max-md:shadow-none": e.fullScreenOnMobile
|
|
278
|
+
}])
|
|
272
279
|
}, [
|
|
273
|
-
e.isLoading ? (
|
|
274
|
-
|
|
280
|
+
e.isLoading ? (o(), u("div", Ce, [
|
|
281
|
+
y(he, {
|
|
275
282
|
size: "6",
|
|
276
283
|
"aria-hidden": "true"
|
|
277
284
|
}),
|
|
278
|
-
|
|
285
|
+
f("span", Ie, w(n(d)({
|
|
279
286
|
defaultMessage: "Loading",
|
|
280
287
|
id: "h+GlcT",
|
|
281
288
|
description: "Modal loading state"
|
|
282
289
|
})), 1)
|
|
283
290
|
])) : r("", !0),
|
|
284
|
-
e.noCloseButton ? r("", !0) : (
|
|
285
|
-
|
|
291
|
+
e.noCloseButton ? r("", !0) : (o(), u("div", pe, [
|
|
292
|
+
y(n(ke), {
|
|
286
293
|
icon: "close",
|
|
287
294
|
size: "xs",
|
|
288
295
|
intent: "secondary",
|
|
289
296
|
"data-testid": "close-button",
|
|
290
|
-
"aria-label":
|
|
297
|
+
"aria-label": n(d)({
|
|
291
298
|
defaultMessage: "Close",
|
|
292
299
|
id: "U+ONwt",
|
|
293
300
|
description: "Modal close button"
|
|
294
301
|
}),
|
|
295
|
-
onClick:
|
|
302
|
+
onClick: E
|
|
296
303
|
}, null, 8, ["aria-label"])
|
|
297
304
|
])),
|
|
298
|
-
J.value ? (
|
|
305
|
+
J.value ? (o(), u("div", {
|
|
299
306
|
key: 2,
|
|
300
307
|
ref_key: "contentElementRef",
|
|
301
|
-
ref:
|
|
302
|
-
class:
|
|
303
|
-
|
|
308
|
+
ref: T,
|
|
309
|
+
class: c(["overflow-auto px-6", {
|
|
310
|
+
"overflow-visible": e.overflowVisible,
|
|
311
|
+
// Fills the screen, so the footer stays at its bottom.
|
|
312
|
+
"max-md:flex-1": e.fullScreenOnMobile
|
|
313
|
+
}]),
|
|
314
|
+
onScroll: se
|
|
304
315
|
}, [
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
class:
|
|
316
|
+
f("div", Le, [
|
|
317
|
+
f("div", {
|
|
318
|
+
class: c(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity", q.value ? "opacity-100" : "opacity-0"])
|
|
308
319
|
}, null, 2)
|
|
309
320
|
]),
|
|
310
|
-
|
|
311
|
-
B.value ? (
|
|
321
|
+
f("div", Oe, [
|
|
322
|
+
B.value ? (o(), u("div", {
|
|
312
323
|
key: 0,
|
|
313
|
-
id:
|
|
324
|
+
id: n(D)
|
|
314
325
|
}, [
|
|
315
326
|
b(t.$slots, "header", {}, () => [
|
|
316
|
-
e.title ? (
|
|
327
|
+
e.title ? (o(), M($e, {
|
|
317
328
|
key: 0,
|
|
318
329
|
title: e.title,
|
|
319
330
|
"sub-title": e.subTitle,
|
|
320
331
|
size: "md"
|
|
321
332
|
}, null, 8, ["title", "sub-title"])) : r("", !0)
|
|
322
333
|
], !0)
|
|
323
|
-
], 8,
|
|
324
|
-
|
|
334
|
+
], 8, Ae)) : r("", !0),
|
|
335
|
+
R.value ? (o(), u("div", {
|
|
325
336
|
key: 1,
|
|
326
|
-
class:
|
|
337
|
+
class: c({ "mt-4": B.value })
|
|
327
338
|
}, [
|
|
328
339
|
b(t.$slots, "body", {}, void 0, !0)
|
|
329
340
|
], 2)) : r("", !0)
|
|
330
341
|
]),
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class:
|
|
342
|
+
f("div", Ze, [
|
|
343
|
+
f("div", {
|
|
344
|
+
class: c(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity", K.value ? "opacity-100" : "opacity-0"])
|
|
334
345
|
}, null, 2)
|
|
335
346
|
])
|
|
336
347
|
], 34)) : r("", !0),
|
|
337
|
-
|
|
348
|
+
y(ve, null, {
|
|
338
349
|
default: g(() => [
|
|
339
|
-
t.$slots.error ? (
|
|
350
|
+
t.$slots.error ? (o(), u("div", Ne, [
|
|
340
351
|
b(t.$slots, "error", {}, void 0, !0)
|
|
341
352
|
])) : r("", !0)
|
|
342
353
|
]),
|
|
343
354
|
_: 3
|
|
344
355
|
}),
|
|
345
|
-
t.$slots.footer || e.confirmButtonText || e.cancelButtonText ? (
|
|
356
|
+
t.$slots.footer || e.confirmButtonText || e.cancelButtonText ? (o(), u("div", Re, [
|
|
346
357
|
b(t.$slots, "footer", {}, () => [
|
|
347
|
-
|
|
348
|
-
|
|
358
|
+
f("div", Ve, [
|
|
359
|
+
y(n(X), {
|
|
349
360
|
size: "md",
|
|
350
361
|
autofocus: "",
|
|
351
362
|
loading: e.isLoading,
|
|
352
|
-
onClick: l[0] || (l[0] = (
|
|
363
|
+
onClick: l[0] || (l[0] = (x) => t.$emit("confirm"))
|
|
353
364
|
}, {
|
|
354
365
|
default: g(() => [
|
|
355
|
-
k(w(e.confirmButtonText ||
|
|
366
|
+
k(w(e.confirmButtonText || n(d)({
|
|
356
367
|
defaultMessage: "Confirm",
|
|
357
368
|
id: "N2IrpM",
|
|
358
369
|
description: "Modal comfirm button"
|
|
@@ -360,13 +371,13 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
360
371
|
]),
|
|
361
372
|
_: 1
|
|
362
373
|
}, 8, ["loading"]),
|
|
363
|
-
|
|
374
|
+
y(n(X), {
|
|
364
375
|
size: "md",
|
|
365
376
|
intent: "secondary",
|
|
366
|
-
onClick: l[1] || (l[1] = (
|
|
377
|
+
onClick: l[1] || (l[1] = (x) => t.$emit("close"))
|
|
367
378
|
}, {
|
|
368
379
|
default: g(() => [
|
|
369
|
-
k(w(e.cancelButtonText ||
|
|
380
|
+
k(w(e.cancelButtonText || n(d)({
|
|
370
381
|
defaultMessage: "Cancel",
|
|
371
382
|
id: "47FYwb",
|
|
372
383
|
description: "Modal cancel button"
|
|
@@ -377,7 +388,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
377
388
|
])
|
|
378
389
|
], !0)
|
|
379
390
|
])) : r("", !0)
|
|
380
|
-
],
|
|
391
|
+
], 10, Ee)
|
|
381
392
|
], 2)
|
|
382
393
|
], 6)) : r("", !0)
|
|
383
394
|
]),
|
|
@@ -387,7 +398,7 @@ const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
|
387
398
|
_: 3
|
|
388
399
|
}));
|
|
389
400
|
}
|
|
390
|
-
}), Ye = /* @__PURE__ */ Be(
|
|
401
|
+
}), Ye = /* @__PURE__ */ Be(De, [["__scopeId", "data-v-92f889d5"]]);
|
|
391
402
|
export {
|
|
392
403
|
Ye as M
|
|
393
404
|
};
|