@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
|
@@ -0,0 +1,789 @@
|
|
|
1
|
+
import { defineComponent as z, useModel as te, computed as S, openBlock as i, createElementBlock as m, withDirectives as ae, createElementVNode as I, mergeProps as V, withModifiers as ne, vModelCheckbox as se, createBlock as f, withCtx as r, createTextVNode as T, toDisplayString as w, createCommentVNode as _, mergeModels as ie, ref as le, useId as re, unref as n, createVNode as d, normalizeClass as G, renderSlot as W, normalizeStyle as Q, Fragment as R, renderList as C, resolveDynamicComponent as oe } from "vue";
|
|
2
|
+
import { d as p, a as ue } from "./customElements-B8c354Nu.mjs";
|
|
3
|
+
import { _ as B } from "./Amount.vue.es-CofcgmXt.mjs";
|
|
4
|
+
import { _ as L } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
5
|
+
import { _ as ce } from "./InvoicePreview.vue.es-DHh5wruk.mjs";
|
|
6
|
+
import { _ as P } from "./InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs";
|
|
7
|
+
import { _ as M } from "./Section.vue.es-DYmEtgBj.mjs";
|
|
8
|
+
import { _ as de } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
9
|
+
import { a as me } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
10
|
+
import { _ as ye, T as fe, a as ge } from "./TooltipParagraph.vue.es-Bt-7LHr3.mjs";
|
|
11
|
+
import { g as ve } from "./getComposedString.es-C__uhJpd.mjs";
|
|
12
|
+
import { i as pe } from "./useService-2aOFBTxU.mjs";
|
|
13
|
+
import { s as j } from "./amount-CondixVt.mjs";
|
|
14
|
+
const be = { class: "flex items-center gap-1 border-0 py-0" }, he = ["id", "name", "disabled", "value"], _e = {
|
|
15
|
+
inheritAttrs: !1
|
|
16
|
+
}, Xe = /* @__PURE__ */ z({
|
|
17
|
+
..._e,
|
|
18
|
+
__name: "Checkbox",
|
|
19
|
+
props: /* @__PURE__ */ ie({
|
|
20
|
+
label: {},
|
|
21
|
+
id: {},
|
|
22
|
+
name: {},
|
|
23
|
+
value: {},
|
|
24
|
+
disabled: { type: Boolean },
|
|
25
|
+
size: { default: "md" }
|
|
26
|
+
}, {
|
|
27
|
+
modelValue: { type: Boolean, required: !0 },
|
|
28
|
+
modelModifiers: {}
|
|
29
|
+
}),
|
|
30
|
+
emits: ["update:modelValue"],
|
|
31
|
+
setup(e) {
|
|
32
|
+
const t = e, a = te(e, "modelValue"), s = {
|
|
33
|
+
sm: "size-2",
|
|
34
|
+
md: "size-4"
|
|
35
|
+
}, l = S(() => s[t.size]);
|
|
36
|
+
return (o, c) => (i(), m("label", be, [
|
|
37
|
+
ae(I("input", V({ id: e.id }, o.$attrs, {
|
|
38
|
+
"onUpdate:modelValue": c[0] || (c[0] = (k) => a.value = k),
|
|
39
|
+
name: e.name,
|
|
40
|
+
disabled: e.disabled,
|
|
41
|
+
value: e.value,
|
|
42
|
+
type: "checkbox",
|
|
43
|
+
class: ["rounded accent-primary-600 checked:bg-primary-600 checked:hover:bg-primary-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600", {
|
|
44
|
+
"border border-gray-300 checked:border-gray-300 checked:bg-gray-400 checked:hover:bg-gray-500": e.disabled,
|
|
45
|
+
"bg-gray-100": e.disabled && !a.value,
|
|
46
|
+
"bg-gray-300 text-primary-600": !e.disabled && a.value,
|
|
47
|
+
"cursor-pointer": !e.disabled,
|
|
48
|
+
[l.value]: !0
|
|
49
|
+
}],
|
|
50
|
+
onClickCapture: c[1] || (c[1] = ne(() => {
|
|
51
|
+
}, ["stop"]))
|
|
52
|
+
}), null, 16, he), [
|
|
53
|
+
[se, a.value]
|
|
54
|
+
]),
|
|
55
|
+
e.label ? (i(), f(p, {
|
|
56
|
+
key: 0,
|
|
57
|
+
tag: "span",
|
|
58
|
+
variant: e.size === "sm" ? "body-xs" : "body-sm",
|
|
59
|
+
color: "inherit",
|
|
60
|
+
class: "leading-tight"
|
|
61
|
+
}, {
|
|
62
|
+
default: r(() => [
|
|
63
|
+
T(w(e.label), 1)
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 8, ["variant"])) : _("", !0)
|
|
67
|
+
]));
|
|
68
|
+
}
|
|
69
|
+
}), et = (e) => {
|
|
70
|
+
var t;
|
|
71
|
+
return ((t = e.periods) == null ? void 0 : t.some(
|
|
72
|
+
(a) => {
|
|
73
|
+
var s;
|
|
74
|
+
return (s = a.groups) == null ? void 0 : s.some(
|
|
75
|
+
(l) => {
|
|
76
|
+
var o;
|
|
77
|
+
return (o = l.lines) == null ? void 0 : o.some(
|
|
78
|
+
(c) => c.product_items.some(
|
|
79
|
+
(k) => k.model_type === "USAGE_BASED"
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
)) ?? !1;
|
|
86
|
+
}, J = {
|
|
87
|
+
PRICING: "RECURRING",
|
|
88
|
+
REVENUE: "RECURRING",
|
|
89
|
+
COMMITMENT: "RECURRING",
|
|
90
|
+
ONE_OFF: "ONE_OFF",
|
|
91
|
+
DISCOUNT: "UNATTRIBUTED",
|
|
92
|
+
MARKUP: "UNATTRIBUTED",
|
|
93
|
+
DEDUCTION: "UNATTRIBUTED"
|
|
94
|
+
}, X = (e) => {
|
|
95
|
+
var a;
|
|
96
|
+
if (e.type === "ONE_OFF")
|
|
97
|
+
return "ONE_OFF";
|
|
98
|
+
const t = ((a = e.product_items) == null ? void 0 : a.map(({ model_type: s }) => s)) ?? [];
|
|
99
|
+
if (t.length)
|
|
100
|
+
return t.every((s) => s === "ONE_OFF") ? "ONE_OFF" : "RECURRING";
|
|
101
|
+
}, H = (e) => {
|
|
102
|
+
var t;
|
|
103
|
+
return e.type === "DISCOUNT" || !!((t = e.lines) != null && t.length) && e.lines.every(({ type: a }) => a === "DISCOUNT");
|
|
104
|
+
}, xe = (e, t) => {
|
|
105
|
+
var c, k;
|
|
106
|
+
const a = new Set(
|
|
107
|
+
(c = e.lines) == null ? void 0 : c.map(({ pricing_item_config_id: h }) => h).filter(Boolean)
|
|
108
|
+
), s = new Set((k = e.products) == null ? void 0 : k.map(({ id: h }) => h)), l = t.filter(
|
|
109
|
+
(h) => {
|
|
110
|
+
var x;
|
|
111
|
+
return (x = h.lines) == null ? void 0 : x.some(({ pricing_item_config_id: b }) => a.has(b));
|
|
112
|
+
}
|
|
113
|
+
), o = l.length ? l : t.filter((h) => {
|
|
114
|
+
var x;
|
|
115
|
+
return (x = h.products) == null ? void 0 : x.some(({ id: b }) => s.has(b));
|
|
116
|
+
});
|
|
117
|
+
return o.length === 1 ? o[0] : void 0;
|
|
118
|
+
};
|
|
119
|
+
function Y(e) {
|
|
120
|
+
return (e.periods ?? []).flatMap(({ groups: t = [] }) => {
|
|
121
|
+
const a = t.filter((o) => !H(o)), s = new Map(
|
|
122
|
+
a.map((o) => [o, [o]])
|
|
123
|
+
), l = [];
|
|
124
|
+
return t.filter(H).forEach((o) => {
|
|
125
|
+
const c = xe(o, a);
|
|
126
|
+
c ? s.get(c).push(o) : l.push([o]);
|
|
127
|
+
}), [...s.values(), ...l];
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
function Te(e) {
|
|
131
|
+
const t = {
|
|
132
|
+
RECURRING: [],
|
|
133
|
+
ONE_OFF: [],
|
|
134
|
+
UNATTRIBUTED: []
|
|
135
|
+
};
|
|
136
|
+
return Y(e).forEach((a) => {
|
|
137
|
+
var c;
|
|
138
|
+
const [s] = a, l = J[s.type] ?? "UNATTRIBUTED", o = new Set(
|
|
139
|
+
l === "RECURRING" && ((c = s.lines) != null && c.length) ? s.lines.map((k) => X(k) ?? "RECURRING") : [l]
|
|
140
|
+
);
|
|
141
|
+
t[o.size === 1 ? [...o][0] : "UNATTRIBUTED"].push(...a);
|
|
142
|
+
}), {
|
|
143
|
+
recurring: t.RECURRING,
|
|
144
|
+
oneOff: t.ONE_OFF,
|
|
145
|
+
other: t.UNATTRIBUTED
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function we(e) {
|
|
149
|
+
var x;
|
|
150
|
+
const t = e.billing_currency, a = {
|
|
151
|
+
RECURRING: { excludingTax: [], includingTax: [] },
|
|
152
|
+
ONE_OFF: { excludingTax: [], includingTax: [] },
|
|
153
|
+
UNATTRIBUTED: { excludingTax: [], includingTax: [] }
|
|
154
|
+
}, s = /* @__PURE__ */ new Set(), l = (b, U) => {
|
|
155
|
+
const N = a[b];
|
|
156
|
+
U.amount_excluding_tax && N.excludingTax.push(U.amount_excluding_tax), U.amount_including_tax && N.includingTax.push(U.amount_including_tax);
|
|
157
|
+
};
|
|
158
|
+
(x = e.periods) == null || x.forEach((b) => {
|
|
159
|
+
var U;
|
|
160
|
+
(U = b.groups) == null || U.forEach((N) => {
|
|
161
|
+
var D;
|
|
162
|
+
const O = J[N.type] ?? "UNATTRIBUTED";
|
|
163
|
+
if (O === "UNATTRIBUTED" && s.add(N.type), !((D = N.lines) != null && D.length)) {
|
|
164
|
+
l(O, N);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
N.lines.forEach(
|
|
168
|
+
(q) => l(
|
|
169
|
+
O === "RECURRING" ? X(q) ?? O : O,
|
|
170
|
+
q
|
|
171
|
+
)
|
|
172
|
+
);
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
const o = (b) => ({
|
|
176
|
+
excludingTax: j(a[b].excludingTax, t),
|
|
177
|
+
includingTax: j(a[b].includingTax, t)
|
|
178
|
+
}), c = (b) => Number(b.excludingTax.quantity) === 0 && Number(b.includingTax.quantity) === 0, k = o("ONE_OFF"), h = o("UNATTRIBUTED");
|
|
179
|
+
return {
|
|
180
|
+
recurring: o("RECURRING"),
|
|
181
|
+
oneOff: k,
|
|
182
|
+
unattributed: h,
|
|
183
|
+
hasOneOff: !c(k),
|
|
184
|
+
hasUnattributed: !c(h),
|
|
185
|
+
unattributedGroupTypes: [...s]
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
const ke = {
|
|
189
|
+
key: 0,
|
|
190
|
+
class: "px-3 py-2"
|
|
191
|
+
}, Ne = ["aria-expanded", "aria-controls"], Re = { class: "flex flex-row flex-wrap items-baseline gap-x-2" }, Ee = { class: "flex shrink-0 flex-row items-center gap-1" }, Ue = ["id", "inert"], Oe = { class: "border-t px-3 py-2" }, Ie = /* @__PURE__ */ z({
|
|
192
|
+
__name: "OrderSummaryCollapsible",
|
|
193
|
+
props: {
|
|
194
|
+
title: { type: String },
|
|
195
|
+
subtitle: { default: void 0, type: String },
|
|
196
|
+
total: { default: void 0, type: Object },
|
|
197
|
+
expandable: { type: Boolean, default: !0 }
|
|
198
|
+
},
|
|
199
|
+
setup(e) {
|
|
200
|
+
const t = le(!1), a = re();
|
|
201
|
+
return (s, l) => (i(), f(n(M), {
|
|
202
|
+
"no-spacing": "",
|
|
203
|
+
"content-background": t.value ? "none" : "gray",
|
|
204
|
+
"content-classes": `transition duration-300 ease-in-out${t.value ? " bg-white shadow-[0_0_0_2px_rgb(0_0_0/0.04)]" : ""}`
|
|
205
|
+
}, {
|
|
206
|
+
default: r(() => [
|
|
207
|
+
e.expandable ? (i(), m("button", {
|
|
208
|
+
key: 1,
|
|
209
|
+
type: "button",
|
|
210
|
+
class: "flex w-full cursor-pointer flex-row items-center justify-between gap-3 px-3 py-2 text-left",
|
|
211
|
+
"aria-expanded": t.value,
|
|
212
|
+
"aria-controls": n(a),
|
|
213
|
+
onClick: l[0] || (l[0] = (o) => t.value = !t.value)
|
|
214
|
+
}, [
|
|
215
|
+
I("span", Re, [
|
|
216
|
+
d(n(p), {
|
|
217
|
+
"no-spacing": "",
|
|
218
|
+
tag: "span",
|
|
219
|
+
variant: "body-sm",
|
|
220
|
+
weight: "semibold"
|
|
221
|
+
}, {
|
|
222
|
+
default: r(() => [
|
|
223
|
+
T(w(e.title), 1)
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
}),
|
|
227
|
+
e.subtitle ? (i(), f(n(p), {
|
|
228
|
+
key: 0,
|
|
229
|
+
"no-spacing": "",
|
|
230
|
+
tag: "span",
|
|
231
|
+
variant: "body-xs",
|
|
232
|
+
color: "subtle"
|
|
233
|
+
}, {
|
|
234
|
+
default: r(() => [
|
|
235
|
+
T(w(e.subtitle), 1)
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
})) : _("", !0)
|
|
239
|
+
]),
|
|
240
|
+
I("span", Ee, [
|
|
241
|
+
e.total ? (i(), f(n(p), {
|
|
242
|
+
key: 0,
|
|
243
|
+
"no-spacing": "",
|
|
244
|
+
tag: "span",
|
|
245
|
+
variant: "body-xs",
|
|
246
|
+
weight: "medium",
|
|
247
|
+
class: "whitespace-nowrap tabular-nums"
|
|
248
|
+
}, {
|
|
249
|
+
default: r(() => [
|
|
250
|
+
d(n(B), { value: e.total }, null, 8, ["value"])
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
})) : _("", !0),
|
|
254
|
+
d(n(me), {
|
|
255
|
+
icon: "keyboard_arrow_down",
|
|
256
|
+
size: "xs",
|
|
257
|
+
class: G(["-mr-1 transition ease-in-out", { "rotate-180": t.value }])
|
|
258
|
+
}, null, 8, ["class"])
|
|
259
|
+
])
|
|
260
|
+
], 8, Ne)) : (i(), m("div", ke, [
|
|
261
|
+
d(n(p), {
|
|
262
|
+
"no-spacing": "",
|
|
263
|
+
variant: "body-sm",
|
|
264
|
+
color: "subtle"
|
|
265
|
+
}, {
|
|
266
|
+
default: r(() => [
|
|
267
|
+
T(w(e.title), 1)
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
})
|
|
271
|
+
])),
|
|
272
|
+
e.expandable ? (i(), m("div", {
|
|
273
|
+
key: 2,
|
|
274
|
+
id: n(a),
|
|
275
|
+
inert: !t.value || void 0
|
|
276
|
+
}, [
|
|
277
|
+
d(n(de), {
|
|
278
|
+
"is-open": t.value,
|
|
279
|
+
lazy: ""
|
|
280
|
+
}, {
|
|
281
|
+
default: r(() => [
|
|
282
|
+
I("div", Oe, [
|
|
283
|
+
W(s.$slots, "default")
|
|
284
|
+
])
|
|
285
|
+
]),
|
|
286
|
+
_: 3
|
|
287
|
+
}, 8, ["is-open"])
|
|
288
|
+
], 8, Ue)) : _("", !0)
|
|
289
|
+
]),
|
|
290
|
+
_: 3
|
|
291
|
+
}, 8, ["content-background", "content-classes"]));
|
|
292
|
+
}
|
|
293
|
+
}), F = /* @__PURE__ */ z({
|
|
294
|
+
__name: "OrderSummaryQuantity",
|
|
295
|
+
props: {
|
|
296
|
+
quantity: { type: Object },
|
|
297
|
+
width: { type: String }
|
|
298
|
+
},
|
|
299
|
+
setup(e) {
|
|
300
|
+
return (t, a) => {
|
|
301
|
+
var s;
|
|
302
|
+
return (s = e.quantity) != null && s.exact ? (i(), f(n(ye), {
|
|
303
|
+
key: 0,
|
|
304
|
+
"is-dark-mode": "",
|
|
305
|
+
"root-class": "shrink-0"
|
|
306
|
+
}, {
|
|
307
|
+
tooltip: r(() => [
|
|
308
|
+
d(n(fe), null, {
|
|
309
|
+
default: r(() => [
|
|
310
|
+
d(n(ge), null, {
|
|
311
|
+
default: r(() => [
|
|
312
|
+
T(w(e.quantity.exact), 1)
|
|
313
|
+
]),
|
|
314
|
+
_: 1
|
|
315
|
+
})
|
|
316
|
+
]),
|
|
317
|
+
_: 1
|
|
318
|
+
})
|
|
319
|
+
]),
|
|
320
|
+
default: r(() => [
|
|
321
|
+
d(n(p), {
|
|
322
|
+
tag: "span",
|
|
323
|
+
variant: "body-xs",
|
|
324
|
+
color: "inherit",
|
|
325
|
+
class: "sv-order-summary__quantity block tabular-nums text-gray-300",
|
|
326
|
+
style: Q({ minWidth: e.width })
|
|
327
|
+
}, {
|
|
328
|
+
default: r(() => [
|
|
329
|
+
T(w(e.quantity.label), 1)
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
}, 8, ["style"])
|
|
333
|
+
]),
|
|
334
|
+
_: 1
|
|
335
|
+
})) : (i(), f(n(p), {
|
|
336
|
+
key: 1,
|
|
337
|
+
tag: "span",
|
|
338
|
+
variant: "body-xs",
|
|
339
|
+
color: "inherit",
|
|
340
|
+
class: "sv-order-summary__quantity shrink-0 tabular-nums text-gray-300",
|
|
341
|
+
style: Q({ minWidth: e.width })
|
|
342
|
+
}, {
|
|
343
|
+
default: r(() => {
|
|
344
|
+
var l;
|
|
345
|
+
return [
|
|
346
|
+
T(w((l = e.quantity) == null ? void 0 : l.label), 1)
|
|
347
|
+
];
|
|
348
|
+
}),
|
|
349
|
+
_: 1
|
|
350
|
+
}, 8, ["style"]));
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
}), K = (e) => Number(e.quantity), tt = (e) => {
|
|
354
|
+
var s;
|
|
355
|
+
const t = (s = e == null ? void 0 : e.periods) == null ? void 0 : s[0];
|
|
356
|
+
if (!e || !t)
|
|
357
|
+
return;
|
|
358
|
+
const a = we({ ...e, periods: [t] });
|
|
359
|
+
return a.hasOneOff ? a.hasUnattributed ? void 0 : a.recurring.includingTax : t.amount_including_tax;
|
|
360
|
+
}, at = (e, t) => {
|
|
361
|
+
if (!t)
|
|
362
|
+
return;
|
|
363
|
+
const s = {
|
|
364
|
+
DAY: 365,
|
|
365
|
+
WEEK: 52,
|
|
366
|
+
MONTH: 12,
|
|
367
|
+
YEAR: 1
|
|
368
|
+
}[e.type] / Math.max(e.value ?? 1, 1), l = K(t) * s;
|
|
369
|
+
if (Number.isFinite(l))
|
|
370
|
+
return { quantity: l.toFixed(2), currency: t.currency };
|
|
371
|
+
}, nt = (e, t) => {
|
|
372
|
+
if (!e || !t)
|
|
373
|
+
return;
|
|
374
|
+
const a = K(e) - K(t);
|
|
375
|
+
if (!(!Number.isFinite(a) || a <= 0))
|
|
376
|
+
return { quantity: a.toFixed(2), currency: e.currency };
|
|
377
|
+
}, A = (e) => {
|
|
378
|
+
var t, a;
|
|
379
|
+
return (t = e.pricing) != null && t.name && !pe(e.pricing.name) ? e.pricing.name : ve(((a = e.products) == null ? void 0 : a.map(({ name: s }) => s)) ?? []) ?? "";
|
|
380
|
+
}, Z = (e, t) => j(
|
|
381
|
+
e.map(({ amount_excluding_tax: a }) => a),
|
|
382
|
+
t
|
|
383
|
+
), Ce = (e) => {
|
|
384
|
+
const t = (e.lines ?? []).filter(({ type: s }) => s === "REVENUE");
|
|
385
|
+
if (!t.length || new Set(t.map((s) => s.pricing_item_config_id)).size > 1)
|
|
386
|
+
return;
|
|
387
|
+
const a = t.flatMap(
|
|
388
|
+
({ details: s }) => {
|
|
389
|
+
var l;
|
|
390
|
+
return ((l = s == null ? void 0 : s.meter_value) == null ? void 0 : l.number) === void 0 ? [] : [Number(s.meter_value.number)];
|
|
391
|
+
}
|
|
392
|
+
);
|
|
393
|
+
return a.length ? a.reduce((s, l) => s + l, 0) : 1;
|
|
394
|
+
}, Se = [
|
|
395
|
+
{ size: 1e9, suffix: "B" },
|
|
396
|
+
{ size: 1e6, suffix: "M" },
|
|
397
|
+
{ size: 1e3, suffix: "K" }
|
|
398
|
+
], $e = (e, t) => {
|
|
399
|
+
const a = t(e), s = Se.find(({ size: c }) => e >= c);
|
|
400
|
+
if (!s) return { label: a };
|
|
401
|
+
const l = Math.floor(e / s.size);
|
|
402
|
+
return { label: `${t(l)}${s.suffix}${l * s.size < e ? "+" : ""}`, exact: a };
|
|
403
|
+
}, De = ["aria-busy"], Be = {
|
|
404
|
+
key: 0,
|
|
405
|
+
class: "sv-order-summary__section-header flex flex-row items-center gap-2 px-3 py-2"
|
|
406
|
+
}, Me = { class: "flex grow flex-row items-center gap-2" }, qe = { class: "flex grow flex-row items-center gap-2" }, Fe = { class: "flex flex-row gap-2 py-1.5" }, Ae = { class: "flex grow flex-row items-center gap-2" }, st = /* @__PURE__ */ z({
|
|
407
|
+
__name: "OrderSummaryInvoice",
|
|
408
|
+
props: {
|
|
409
|
+
invoice: { type: Object },
|
|
410
|
+
trialInvoice: { type: Object },
|
|
411
|
+
isPaid: { type: Boolean },
|
|
412
|
+
collapsible: { type: String },
|
|
413
|
+
isPreviewWithoutTaxes: { type: Boolean },
|
|
414
|
+
variant: { type: String },
|
|
415
|
+
sections: { type: Array },
|
|
416
|
+
isUpdating: { type: Boolean }
|
|
417
|
+
},
|
|
418
|
+
setup(e) {
|
|
419
|
+
const t = e, { $t: a, formatNumber: s } = ue(), l = S(() => Te(t.invoice)), o = S(() => Y(t.invoice)), c = (y) => {
|
|
420
|
+
const g = Ce(y);
|
|
421
|
+
return g === void 0 ? void 0 : $e(g, s);
|
|
422
|
+
}, k = (y) => {
|
|
423
|
+
const g = Math.max(0, ...y.map((u) => {
|
|
424
|
+
var v;
|
|
425
|
+
return ((v = c(u)) == null ? void 0 : v.label.length) ?? 0;
|
|
426
|
+
}));
|
|
427
|
+
return g ? `${g}ch` : void 0;
|
|
428
|
+
}, h = S(() => k(o.value.flat())), x = S(
|
|
429
|
+
() => (t.sections ?? []).map((y) => {
|
|
430
|
+
const g = y.invoices.flatMap(Y), u = (y.subscriptions ?? []).flatMap(({ name: v }) => v ? [v] : []);
|
|
431
|
+
return {
|
|
432
|
+
...y,
|
|
433
|
+
clusters: g,
|
|
434
|
+
subscriptionNames: u.join(", "),
|
|
435
|
+
quantityWidth: k(g.flat()),
|
|
436
|
+
total: Z(g.flat(), t.invoice.billing_currency)
|
|
437
|
+
};
|
|
438
|
+
})
|
|
439
|
+
), b = S(() => x.value.length > 3), U = S(
|
|
440
|
+
() => new Set(
|
|
441
|
+
[
|
|
442
|
+
...o.value,
|
|
443
|
+
...x.value.flatMap(({ clusters: y }) => y)
|
|
444
|
+
].flatMap(([, ...y]) => y)
|
|
445
|
+
)
|
|
446
|
+
), N = (y) => {
|
|
447
|
+
var g, u, v;
|
|
448
|
+
return (v = (u = (g = y.lines) == null ? void 0 : g.find(({ type: E }) => E === "DISCOUNT")) == null ? void 0 : u.details) == null ? void 0 : v.band;
|
|
449
|
+
}, O = (y) => {
|
|
450
|
+
const g = N(y);
|
|
451
|
+
return U.value.has(y) && !!(g != null && g.percentage || g != null && g.amount);
|
|
452
|
+
}, D = S(
|
|
453
|
+
() => l.value.recurring.length > 0 && l.value.oneOff.length > 0
|
|
454
|
+
), q = (y) => y.length > 1 ? Z(y, t.invoice.billing_currency) : void 0;
|
|
455
|
+
return (y, g) => (i(), m(R, null, [
|
|
456
|
+
e.variant !== "products-inline" ? (i(), m("div", {
|
|
457
|
+
key: 0,
|
|
458
|
+
class: G([[
|
|
459
|
+
"transition duration-200 ease-out motion-reduce:transition-none",
|
|
460
|
+
{ blur: e.isUpdating }
|
|
461
|
+
], "sv-order-summary__items grid grid-cols-1 gap-1"]),
|
|
462
|
+
"aria-busy": e.isUpdating
|
|
463
|
+
}, [
|
|
464
|
+
x.value.length ? (i(!0), m(R, { key: 0 }, C(x.value, (u) => (i(), f(oe(b.value ? Ie : n(M)), V(
|
|
465
|
+
{
|
|
466
|
+
key: u.key
|
|
467
|
+
},
|
|
468
|
+
{ ref_for: !0 },
|
|
469
|
+
b.value ? { title: u.title, total: u.total } : { noSpacing: !0 },
|
|
470
|
+
{ class: "sv-order-summary__section" }
|
|
471
|
+
), {
|
|
472
|
+
default: r(() => [
|
|
473
|
+
b.value ? _("", !0) : (i(), m("div", Be, [
|
|
474
|
+
d(n(p), {
|
|
475
|
+
variant: "body-xs",
|
|
476
|
+
weight: "semibold",
|
|
477
|
+
"no-spacing": "",
|
|
478
|
+
class: "sv-order-summary__section-title shrink-0"
|
|
479
|
+
}, {
|
|
480
|
+
default: r(() => [
|
|
481
|
+
T(w(u.title), 1)
|
|
482
|
+
]),
|
|
483
|
+
_: 2
|
|
484
|
+
}, 1024)
|
|
485
|
+
])),
|
|
486
|
+
b.value ? _("", !0) : (i(), f(n(L), {
|
|
487
|
+
key: 1,
|
|
488
|
+
spacing: "none"
|
|
489
|
+
})),
|
|
490
|
+
I("div", {
|
|
491
|
+
class: G({ "px-3 py-2": !b.value })
|
|
492
|
+
}, [
|
|
493
|
+
u.subscriptionNames ? (i(), f(n(p), {
|
|
494
|
+
key: 0,
|
|
495
|
+
variant: "body-xs",
|
|
496
|
+
color: "subtle",
|
|
497
|
+
"no-spacing": "",
|
|
498
|
+
class: "sv-order-summary__section-subscriptions py-1.5"
|
|
499
|
+
}, {
|
|
500
|
+
default: r(() => [
|
|
501
|
+
T(w(u.subscriptionNames), 1)
|
|
502
|
+
]),
|
|
503
|
+
_: 2
|
|
504
|
+
}, 1024)) : _("", !0),
|
|
505
|
+
(i(!0), m(R, null, C(u.clusters, (v, E) => (i(), m(R, { key: E }, [
|
|
506
|
+
(i(!0), m(R, null, C(v, ($, ee) => (i(), m("div", {
|
|
507
|
+
key: ee,
|
|
508
|
+
class: "flex flex-row items-center gap-2 py-1.5"
|
|
509
|
+
}, [
|
|
510
|
+
I("div", Me, [
|
|
511
|
+
u.quantityWidth ? (i(), f(F, {
|
|
512
|
+
key: 0,
|
|
513
|
+
quantity: c($),
|
|
514
|
+
width: u.quantityWidth
|
|
515
|
+
}, null, 8, ["quantity", "width"])) : _("", !0),
|
|
516
|
+
O($) ? (i(), f(n(P), {
|
|
517
|
+
key: 2,
|
|
518
|
+
class: "sv-order-summary__discount",
|
|
519
|
+
"clause-type": "DISCOUNT",
|
|
520
|
+
"price-details-band": N($)
|
|
521
|
+
}, null, 8, ["price-details-band"])) : (i(), f(n(p), {
|
|
522
|
+
key: 1,
|
|
523
|
+
tag: "span",
|
|
524
|
+
variant: "body-xs",
|
|
525
|
+
weight: "semibold"
|
|
526
|
+
}, {
|
|
527
|
+
default: r(() => [
|
|
528
|
+
T(w(n(A)($)), 1)
|
|
529
|
+
]),
|
|
530
|
+
_: 2
|
|
531
|
+
}, 1024))
|
|
532
|
+
]),
|
|
533
|
+
d(n(p), {
|
|
534
|
+
tag: "span",
|
|
535
|
+
variant: "body-xs",
|
|
536
|
+
weight: "medium",
|
|
537
|
+
color: "subtle",
|
|
538
|
+
class: "tabular-nums"
|
|
539
|
+
}, {
|
|
540
|
+
default: r(() => [
|
|
541
|
+
d(n(B), {
|
|
542
|
+
value: $.amount_excluding_tax
|
|
543
|
+
}, null, 8, ["value"])
|
|
544
|
+
]),
|
|
545
|
+
_: 2
|
|
546
|
+
}, 1024)
|
|
547
|
+
]))), 128))
|
|
548
|
+
], 64))), 128))
|
|
549
|
+
], 2)
|
|
550
|
+
]),
|
|
551
|
+
_: 2
|
|
552
|
+
}, 1040))), 128)) : D.value ? (i(!0), m(R, { key: 1 }, C([
|
|
553
|
+
{
|
|
554
|
+
key: "recurring",
|
|
555
|
+
groups: l.value.recurring,
|
|
556
|
+
heading: n(a)({
|
|
557
|
+
defaultMessage: "Subscription",
|
|
558
|
+
id: "checkout.order_summary_block.recurring_heading",
|
|
559
|
+
description: "The heading above the charges that are made every billing period"
|
|
560
|
+
})
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
key: "one-off",
|
|
564
|
+
groups: l.value.oneOff,
|
|
565
|
+
heading: n(a)({
|
|
566
|
+
defaultMessage: "One-time charges",
|
|
567
|
+
id: "checkout.order_summary_block.one_off_heading",
|
|
568
|
+
description: "The heading above the charges that are made once and not again"
|
|
569
|
+
})
|
|
570
|
+
}
|
|
571
|
+
], (u) => (i(), m("div", {
|
|
572
|
+
key: u.key,
|
|
573
|
+
class: G(`sv-order-summary__items-${u.key}`)
|
|
574
|
+
}, [
|
|
575
|
+
d(n(p), { variant: "caps-heading" }, {
|
|
576
|
+
default: r(() => [
|
|
577
|
+
T(w(u.heading), 1)
|
|
578
|
+
]),
|
|
579
|
+
_: 2
|
|
580
|
+
}, 1024),
|
|
581
|
+
d(n(M), null, {
|
|
582
|
+
default: r(() => [
|
|
583
|
+
(i(!0), m(R, null, C(u.groups, (v, E) => (i(), m("div", {
|
|
584
|
+
key: E,
|
|
585
|
+
class: "flex flex-row items-center gap-2 py-1.5"
|
|
586
|
+
}, [
|
|
587
|
+
I("div", qe, [
|
|
588
|
+
h.value ? (i(), f(F, {
|
|
589
|
+
key: 0,
|
|
590
|
+
quantity: c(v),
|
|
591
|
+
width: h.value
|
|
592
|
+
}, null, 8, ["quantity", "width"])) : _("", !0),
|
|
593
|
+
O(v) ? (i(), f(n(P), {
|
|
594
|
+
key: 2,
|
|
595
|
+
class: "sv-order-summary__discount",
|
|
596
|
+
"clause-type": "DISCOUNT",
|
|
597
|
+
"price-details-band": N(v)
|
|
598
|
+
}, null, 8, ["price-details-band"])) : (i(), f(n(p), {
|
|
599
|
+
key: 1,
|
|
600
|
+
tag: "span",
|
|
601
|
+
variant: "body-xs",
|
|
602
|
+
weight: "semibold"
|
|
603
|
+
}, {
|
|
604
|
+
default: r(() => [
|
|
605
|
+
T(w(n(A)(v)), 1)
|
|
606
|
+
]),
|
|
607
|
+
_: 2
|
|
608
|
+
}, 1024))
|
|
609
|
+
]),
|
|
610
|
+
d(n(p), {
|
|
611
|
+
tag: "span",
|
|
612
|
+
variant: "body-xs",
|
|
613
|
+
weight: "medium",
|
|
614
|
+
color: "subtle",
|
|
615
|
+
class: "tabular-nums"
|
|
616
|
+
}, {
|
|
617
|
+
default: r(() => [
|
|
618
|
+
d(n(B), {
|
|
619
|
+
value: v.amount_excluding_tax
|
|
620
|
+
}, null, 8, ["value"])
|
|
621
|
+
]),
|
|
622
|
+
_: 2
|
|
623
|
+
}, 1024)
|
|
624
|
+
]))), 128)),
|
|
625
|
+
q(u.groups) ? (i(), m(R, { key: 0 }, [
|
|
626
|
+
d(n(L), { spacing: "xxs" }),
|
|
627
|
+
I("div", Fe, [
|
|
628
|
+
d(n(p), {
|
|
629
|
+
tag: "span",
|
|
630
|
+
variant: "body-xs",
|
|
631
|
+
weight: "semibold",
|
|
632
|
+
class: "grow"
|
|
633
|
+
}, {
|
|
634
|
+
default: r(() => [
|
|
635
|
+
T(w(n(a)({
|
|
636
|
+
defaultMessage: "Subtotal",
|
|
637
|
+
id: "checkout.order_summary_block.subtotal",
|
|
638
|
+
description: "The label of a section total in the order summary"
|
|
639
|
+
})), 1)
|
|
640
|
+
]),
|
|
641
|
+
_: 1
|
|
642
|
+
}),
|
|
643
|
+
d(n(p), {
|
|
644
|
+
tag: "span",
|
|
645
|
+
variant: "body-xs",
|
|
646
|
+
weight: "semibold"
|
|
647
|
+
}, {
|
|
648
|
+
default: r(() => [
|
|
649
|
+
d(n(B), {
|
|
650
|
+
value: q(u.groups)
|
|
651
|
+
}, null, 8, ["value"])
|
|
652
|
+
]),
|
|
653
|
+
_: 2
|
|
654
|
+
}, 1024)
|
|
655
|
+
])
|
|
656
|
+
], 64)) : _("", !0)
|
|
657
|
+
]),
|
|
658
|
+
_: 2
|
|
659
|
+
}, 1024)
|
|
660
|
+
], 2))), 128)) : _("", !0),
|
|
661
|
+
!x.value.length && D.value && l.value.other.length ? (i(), f(n(M), { key: 2 }, {
|
|
662
|
+
default: r(() => [
|
|
663
|
+
(i(!0), m(R, null, C(l.value.other, (u, v) => (i(), m("div", {
|
|
664
|
+
key: v,
|
|
665
|
+
class: "flex flex-row gap-2 py-1.5"
|
|
666
|
+
}, [
|
|
667
|
+
h.value ? (i(), f(F, {
|
|
668
|
+
key: 0,
|
|
669
|
+
quantity: c(u),
|
|
670
|
+
width: h.value
|
|
671
|
+
}, null, 8, ["quantity", "width"])) : _("", !0),
|
|
672
|
+
d(n(p), {
|
|
673
|
+
tag: "span",
|
|
674
|
+
variant: "body-xs",
|
|
675
|
+
weight: "semibold",
|
|
676
|
+
class: "grow"
|
|
677
|
+
}, {
|
|
678
|
+
default: r(() => [
|
|
679
|
+
T(w(n(A)(u)), 1)
|
|
680
|
+
]),
|
|
681
|
+
_: 2
|
|
682
|
+
}, 1024),
|
|
683
|
+
d(n(p), {
|
|
684
|
+
tag: "span",
|
|
685
|
+
variant: "body-xs",
|
|
686
|
+
weight: "medium",
|
|
687
|
+
color: "subtle",
|
|
688
|
+
class: "tabular-nums"
|
|
689
|
+
}, {
|
|
690
|
+
default: r(() => [
|
|
691
|
+
d(n(B), {
|
|
692
|
+
value: u.amount_excluding_tax
|
|
693
|
+
}, null, 8, ["value"])
|
|
694
|
+
]),
|
|
695
|
+
_: 2
|
|
696
|
+
}, 1024)
|
|
697
|
+
]))), 128))
|
|
698
|
+
]),
|
|
699
|
+
_: 1
|
|
700
|
+
})) : _("", !0),
|
|
701
|
+
!x.value.length && !D.value && o.value.length ? (i(), f(n(M), {
|
|
702
|
+
key: 3,
|
|
703
|
+
class: "sv-order-summary__lines"
|
|
704
|
+
}, {
|
|
705
|
+
default: r(() => [
|
|
706
|
+
(i(!0), m(R, null, C(o.value, (u, v) => (i(), m(R, { key: v }, [
|
|
707
|
+
(i(!0), m(R, null, C(u, (E, $) => (i(), m("div", {
|
|
708
|
+
key: $,
|
|
709
|
+
class: "flex flex-row items-center gap-2 py-1.5"
|
|
710
|
+
}, [
|
|
711
|
+
I("div", Ae, [
|
|
712
|
+
h.value ? (i(), f(F, {
|
|
713
|
+
key: 0,
|
|
714
|
+
quantity: c(E),
|
|
715
|
+
width: h.value
|
|
716
|
+
}, null, 8, ["quantity", "width"])) : _("", !0),
|
|
717
|
+
O(E) ? (i(), f(n(P), {
|
|
718
|
+
key: 2,
|
|
719
|
+
class: "sv-order-summary__discount",
|
|
720
|
+
"clause-type": "DISCOUNT",
|
|
721
|
+
"price-details-band": N(E)
|
|
722
|
+
}, null, 8, ["price-details-band"])) : (i(), f(n(p), {
|
|
723
|
+
key: 1,
|
|
724
|
+
tag: "span",
|
|
725
|
+
variant: "body-xs",
|
|
726
|
+
weight: "semibold"
|
|
727
|
+
}, {
|
|
728
|
+
default: r(() => [
|
|
729
|
+
T(w(n(A)(E)), 1)
|
|
730
|
+
]),
|
|
731
|
+
_: 2
|
|
732
|
+
}, 1024))
|
|
733
|
+
]),
|
|
734
|
+
d(n(p), {
|
|
735
|
+
tag: "span",
|
|
736
|
+
variant: "body-xs",
|
|
737
|
+
weight: "medium",
|
|
738
|
+
color: "subtle",
|
|
739
|
+
class: "tabular-nums"
|
|
740
|
+
}, {
|
|
741
|
+
default: r(() => [
|
|
742
|
+
d(n(B), {
|
|
743
|
+
value: E.amount_excluding_tax
|
|
744
|
+
}, null, 8, ["value"])
|
|
745
|
+
]),
|
|
746
|
+
_: 2
|
|
747
|
+
}, 1024)
|
|
748
|
+
]))), 128))
|
|
749
|
+
], 64))), 128))
|
|
750
|
+
]),
|
|
751
|
+
_: 1
|
|
752
|
+
})) : _("", !0)
|
|
753
|
+
], 10, De)) : _("", !0),
|
|
754
|
+
W(y.$slots, "before-totals"),
|
|
755
|
+
d(n(M), V({
|
|
756
|
+
class: [
|
|
757
|
+
"transition duration-200 ease-out motion-reduce:transition-none",
|
|
758
|
+
{ blur: e.isUpdating }
|
|
759
|
+
]
|
|
760
|
+
}, { "aria-busy": e.isUpdating }, { class: "sv-order-summary__totals" }), {
|
|
761
|
+
default: r(() => [
|
|
762
|
+
d(n(ce), {
|
|
763
|
+
class: "sv-order-summary__invoice-preview",
|
|
764
|
+
variant: e.variant === "products-inline" ? "default" : "without-products",
|
|
765
|
+
invoice: e.invoice,
|
|
766
|
+
"trial-invoice": e.trialInvoice,
|
|
767
|
+
"is-paid": e.isPaid,
|
|
768
|
+
collapsible: e.collapsible,
|
|
769
|
+
"is-preview-without-taxes": e.isPreviewWithoutTaxes,
|
|
770
|
+
"is-customer-facing": ""
|
|
771
|
+
}, null, 8, ["variant", "invoice", "trial-invoice", "is-paid", "collapsible", "is-preview-without-taxes"]),
|
|
772
|
+
W(y.$slots, "default")
|
|
773
|
+
]),
|
|
774
|
+
_: 3
|
|
775
|
+
}, 16, ["class"])
|
|
776
|
+
], 64));
|
|
777
|
+
}
|
|
778
|
+
});
|
|
779
|
+
export {
|
|
780
|
+
st as _,
|
|
781
|
+
Xe as a,
|
|
782
|
+
Ie as b,
|
|
783
|
+
tt as c,
|
|
784
|
+
at as d,
|
|
785
|
+
nt as e,
|
|
786
|
+
Te as g,
|
|
787
|
+
et as i,
|
|
788
|
+
we as s
|
|
789
|
+
};
|