@solvimon/solvimon-web 0.1.0-alpha.27 → 0.1.0-alpha.29
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 +151 -17
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
- package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
- package/dist/components/Invoice/Invoice.mjs +2691 -227
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
- package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
- package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
- package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/customer-BIjC0CWJ.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
- package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
- package/dist/paymentMethods-B_82JGk_.mjs +77 -0
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
- package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
- package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-CVyKw23D.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
- package/dist/types/public/core/action-request.types.d.ts +5 -0
- package/dist/types/public/core/registry.ce.d.ts +3 -3
- package/dist/types/public/core/registry.d.ts +0 -3
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
- package/dist/types/services/paymentMethods.types.d.ts +2 -10
- package/dist/types/services/requests.types.d.ts +16 -6
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/errors.d.ts +3 -2
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
- package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
- package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
- package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/usePortal-CwR_FxTb.mjs +7 -0
- package/dist/useService-BZcbUZHI.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +33 -60
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
- package/dist/Button.vue.es-BzkuglKw.js +0 -1
- package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
- package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
- package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
- package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
- package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
- package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
- package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
- package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
- package/dist/Input.vue.es-B60eK8Ds.js +0 -1
- package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
- package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
- package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
- package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
- package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
- package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
- package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
- package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
- package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
- package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
- package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
- package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
- package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
- package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
- package/dist/Section.vue.es-Bbt0RITt.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
- package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
- package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
- package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
- package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
- package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
- package/dist/accel.svg.es-DFJXdioD.js +0 -1
- package/dist/ach.svg.es-BYP873jU.js +0 -1
- package/dist/adyen-BJfC7N6f.js +0 -1
- package/dist/adyenSdk-BP2XXzeJ.js +0 -1
- package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
- package/dist/amex.svg.es-DKhW4Txt.js +0 -1
- package/dist/api.es-duCDtZD9.js +0 -1
- package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
- package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
- package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
- package/dist/carnet.svg.es-DY04-F2L.js +0 -1
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
- package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
- package/dist/cn.es-C9Yqq4tg.js +0 -1
- package/dist/comparators.es-OGt19O9U.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
- package/dist/components/Invoice/Invoice.cjs +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
- package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
- package/dist/configuration-akTS7Wiw.js +0 -1
- package/dist/core/index.cjs +0 -1
- package/dist/countryData.es-C4jHBzfo.js +0 -1
- package/dist/customElements-B58FcXIN.mjs +0 -6633
- package/dist/customElements-DUMRMFQ5.js +0 -1215
- package/dist/customer-B3LPAhaD.mjs +0 -31
- package/dist/customer-CisTPaXj.js +0 -1
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/customer.es-BButyYo0.js +0 -1
- package/dist/dana.svg.es-BDtZLpwd.js +0 -1
- package/dist/dankort.svg.es-CksaipXF.js +0 -1
- package/dist/de-DE-B4TUdnUf.js +0 -1
- package/dist/de-DE-DL74pMLb.js +0 -1
- package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
- package/dist/discover.svg.es-DgqWCMUM.js +0 -1
- package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
- package/dist/elo.svg.es-C-BzjuRP.js +0 -1
- package/dist/en-US-B2XFj-_p.js +0 -1
- package/dist/en-US-DQ5vlv9Z.mjs +0 -339
- package/dist/en-US-J85TQRI8.js +0 -1
- package/dist/en-US-SDhjlY_v.mjs +0 -301
- package/dist/eps.svg.es-B_85bP-W.js +0 -1
- package/dist/error-BHVZJGwD.mjs +0 -13
- package/dist/error-CmduqgVq.js +0 -1
- package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/formControl-ODrpUvcA.js +0 -1
- package/dist/formControl-dX7l8o3c.mjs +0 -845
- package/dist/formatting.es-C72Nsrmh.js +0 -1
- package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
- package/dist/getComposedString.es-haS4bAj7.js +0 -1
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
- package/dist/girocard.svg.es-HSOEvDif.js +0 -1
- package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
- package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
- package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
- package/dist/ideal.svg.es-Booz1IML.js +0 -1
- package/dist/index-BPZPnOQQ.js +0 -7
- package/dist/index.cjs +0 -1
- package/dist/index.es-BclokHQX.js +0 -1
- package/dist/invoices-CKQBLar2.js +0 -1
- package/dist/it-IT-CSYvGmpT.js +0 -1
- package/dist/it-IT-CqNK62qe.js +0 -1
- package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
- package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
- package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
- package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
- package/dist/momo.svg.es-C5aLYf_R.js +0 -1
- package/dist/nl-NL-CpE4IgwO.js +0 -1
- package/dist/nl-NL-Dx-TNXQ1.js +0 -1
- package/dist/nyce.svg.es-ArAivAZW.js +0 -1
- package/dist/object.es-CdriXMPs.js +0 -1
- package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
- package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
- package/dist/paymentFailure-Cki8c5BX.js +0 -1
- package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
- package/dist/paymentMethods-Cw-i95mM.js +0 -1
- package/dist/payments-2qeQdpiW.mjs +0 -45
- package/dist/payments-CS7_YcOW.js +0 -1
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BOqG21f9.js +0 -1
- package/dist/pricing.es-C07bgEZx.js +0 -1
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
- package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
- package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
- package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
- package/dist/pulse.svg.es-Dit33E8S.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
- package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
- package/dist/sessionReference-3h-6FdrC.mjs +0 -43
- package/dist/sessionReference-m_6Rp4X1.js +0 -1
- package/dist/slots.es-T9ZJRGtG.js +0 -1
- package/dist/sorting.es-DCihKqD2.mjs +0 -77
- package/dist/sorting.es-DQsjKr8A.js +0 -1
- package/dist/star.svg.es-D2JncY7b.js +0 -1
- package/dist/subscription-D1yHKUNc.mjs +0 -69
- package/dist/subscription-ZA62t4E9.js +0 -1
- package/dist/subscriptions-DcfcBYAq.mjs +0 -55
- package/dist/subscriptions-DwVsf4Ev.js +0 -1
- package/dist/trustly.svg.es-GJByiFAs.js +0 -1
- package/dist/twint.svg.es-BJ2f48og.js +0 -1
- package/dist/typeGuards.es-DS3vZaJn.js +0 -1
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
- package/dist/types/services/portals.types.d.ts +0 -70
- package/dist/types/types/subscription.d.ts +0 -4
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
- package/dist/url-TNRgVI8A.mjs +0 -21
- package/dist/url-vloPOiXd.js +0 -1
- package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
- package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
- package/dist/useCustomer-BwZKd9i5.js +0 -1
- package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
- package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
- package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
- package/dist/useInvoiceData-CNV_FMV8.js +0 -1
- package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
- package/dist/useInvoicesList-S0IbQcrD.js +0 -1
- package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
- package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
- package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
- package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
- package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
- package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
- package/dist/usePayments-DDSjo0rH.js +0 -1
- package/dist/usePortal-C27omjhz.js +0 -1
- package/dist/usePortal-C5AsegpS.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BZJL0VOA.mjs +0 -210
- package/dist/useSubscription-D787IXY-.js +0 -1
- package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
- package/dist/useViewport-BgdA2PPt.mjs +0 -29
- package/dist/useViewport-hPRVDWCm.js +0 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
- package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
- package/dist/visa.svg.es-NY3BHhda.js +0 -1
- package/dist/vpay.svg.es-VViQi42w.js +0 -1
- package/dist/wallets.es-CNIMW5ay.js +0 -1
- package/dist/zip.svg.es-C9S_F31W.js +0 -1
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SdkError } from '../../../types/errors';
|
|
2
2
|
export interface PaymentErrorCardProps {
|
|
3
|
-
error:
|
|
3
|
+
error: SdkError;
|
|
4
|
+
}
|
|
5
|
+
export interface PaymentErrorCardEmits {
|
|
6
|
+
/**
|
|
7
|
+
* The customer asked to try again. The form showing the card starts over itself: reloading the
|
|
8
|
+
* page would hand a redirect return to the gateway a second time.
|
|
9
|
+
*/
|
|
10
|
+
(e: 'retry'): void;
|
|
4
11
|
}
|
package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Amount, AuthorizePaymentPayload, Customer, Invoice, PaymentGatewayVariant, PaymentMethodOptionResponseEntry, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import {
|
|
1
|
+
import { Address, Amount, AuthorizePaymentInitPricingPlanSubscriptionContext, AuthorizePaymentPayload, Customer, Name, Invoice, PaymentGatewayVariant, PaymentMethodOptionResponseEntry, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { SdkError } from '../../../types/errors';
|
|
3
3
|
export interface ChargeOnDemandAuthorizationContext {
|
|
4
4
|
type: 'CHARGE_ON_DEMAND';
|
|
5
5
|
charge_on_demand: {
|
|
@@ -9,7 +9,29 @@ export interface ChargeOnDemandAuthorizationContext {
|
|
|
9
9
|
}>;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
/** Not in `@solvimon/solvimon-types` yet. */
|
|
13
|
+
export interface ShippingAddressDetails {
|
|
14
|
+
reference: string;
|
|
15
|
+
recipient: {
|
|
16
|
+
type: Customer['type'];
|
|
17
|
+
individual?: {
|
|
18
|
+
name: Name;
|
|
19
|
+
};
|
|
20
|
+
organization?: {
|
|
21
|
+
company_name: string;
|
|
22
|
+
attention_name?: string;
|
|
23
|
+
};
|
|
24
|
+
phone_number: string;
|
|
25
|
+
email: string;
|
|
26
|
+
};
|
|
27
|
+
address: Address;
|
|
28
|
+
}
|
|
29
|
+
export interface CheckoutAuthorizationContext extends AuthorizePaymentInitPricingPlanSubscriptionContext {
|
|
30
|
+
init_pricing_plan_subscription: AuthorizePaymentInitPricingPlanSubscriptionContext['init_pricing_plan_subscription'] & {
|
|
31
|
+
shipping_address_details?: ShippingAddressDetails;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export type PaymentAuthorizationContext = AuthorizePaymentPayload['context'] | CheckoutAuthorizationContext | ChargeOnDemandAuthorizationContext;
|
|
13
35
|
interface BasePaymentIntegrationFormProps {
|
|
14
36
|
paymentMethodOptions: PaymentMethodOptionsResponse;
|
|
15
37
|
countryCode: string;
|
|
@@ -17,6 +39,13 @@ interface BasePaymentIntegrationFormProps {
|
|
|
17
39
|
variant: 'AUTHORIZE' | 'TOKENIZE';
|
|
18
40
|
amount: Amount;
|
|
19
41
|
selectedOption?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the gateway form opens on its first method, which also selects it. Off where
|
|
44
|
+
* something else on screen is already the customer's choice.
|
|
45
|
+
*
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
openFirstPaymentMethod?: boolean;
|
|
20
49
|
email?: string;
|
|
21
50
|
name?: string;
|
|
22
51
|
validateOnSubmit?: () => Promise<boolean>;
|
|
@@ -49,6 +78,8 @@ export type PaymentIntegrationFormProps = AuthorizePaymentIntegrationFormProps |
|
|
|
49
78
|
export type SelectedPaymentMethod = {
|
|
50
79
|
paymentGatewayVariant: PaymentGatewayVariant;
|
|
51
80
|
paymentMethodType: string;
|
|
81
|
+
/** Selected by the form itself while it renders, rather than by the customer. */
|
|
82
|
+
isAutomatic?: boolean;
|
|
52
83
|
};
|
|
53
84
|
export interface PaymentIntegrationFormEmits {
|
|
54
85
|
/**
|
|
@@ -58,7 +89,7 @@ export interface PaymentIntegrationFormEmits {
|
|
|
58
89
|
/**
|
|
59
90
|
* Emitted when a payment fails.
|
|
60
91
|
*/
|
|
61
|
-
(e: 'payment-failed', error:
|
|
92
|
+
(e: 'payment-failed', error: SdkError): void;
|
|
62
93
|
/**
|
|
63
94
|
* Emitted when a payment is successful.
|
|
64
95
|
*/
|
|
@@ -68,6 +99,16 @@ export interface PaymentIntegrationFormEmits {
|
|
|
68
99
|
* the form, so there are no fields of its own to mark.
|
|
69
100
|
*/
|
|
70
101
|
(e: 'invalid', reason?: 'NO_PAYMENT_METHOD'): void;
|
|
102
|
+
/**
|
|
103
|
+
* Emitted when a payment is sent, including one the form started itself: Enter in a card field
|
|
104
|
+
* or a wallet's own button. The screen waits on it as on one its own button sent.
|
|
105
|
+
*/
|
|
106
|
+
(e: 'submitting'): void;
|
|
107
|
+
/**
|
|
108
|
+
* Emitted when the gateway hands the customer a step to complete inside the form, such as a 3DS
|
|
109
|
+
* challenge. The payment is still on its way, but the form has to stay within reach.
|
|
110
|
+
*/
|
|
111
|
+
(e: 'action-required'): void;
|
|
71
112
|
/**
|
|
72
113
|
* Emitted when the payment integration form is ready and the payment integration form is initialized.
|
|
73
114
|
*/
|
|
@@ -89,6 +130,8 @@ export interface PaymentIntegrationVariantProps {
|
|
|
89
130
|
redirectsOnSuccess?: boolean;
|
|
90
131
|
/** Named in the SEPA mandate. See the note on the same prop in the base props. */
|
|
91
132
|
billingEntityName?: string;
|
|
133
|
+
/** Opens no method by itself, so the form selects nothing until the customer does. */
|
|
134
|
+
collapsed?: boolean;
|
|
92
135
|
}
|
|
93
136
|
export type PaymentIntegrationVariantEmits = PaymentIntegrationFormEmits;
|
|
94
137
|
export {};
|
|
@@ -39,18 +39,28 @@ export type StripeFrameOptions = {
|
|
|
39
39
|
fields?: StripeFieldsOption;
|
|
40
40
|
appearance?: StripeAppearanceOption;
|
|
41
41
|
};
|
|
42
|
+
/** What `elements.update()` is given; `null` takes back a `setup_future_usage` sent before. */
|
|
43
|
+
export type StripeFrameOptionsUpdate = {
|
|
44
|
+
currency: string;
|
|
45
|
+
amount?: number;
|
|
46
|
+
setup_future_usage: 'off_session' | null;
|
|
47
|
+
appearance?: StripeAppearanceOption;
|
|
48
|
+
};
|
|
42
49
|
export interface PaymentIntegrationFormStripeFrameProps {
|
|
43
50
|
publicKey: string;
|
|
44
51
|
options: StripeFrameOptions;
|
|
45
52
|
countryCode?: string;
|
|
46
53
|
email?: string;
|
|
47
54
|
name?: string;
|
|
55
|
+
/** Starts the element with no method open, so it selects nothing on its own. */
|
|
56
|
+
collapsed?: boolean;
|
|
48
57
|
}
|
|
49
58
|
export type StripeLoadError = Partial<Pick<StripeError, 'message' | 'type'>>;
|
|
50
59
|
export type StripeSubmitError = Partial<Pick<StripeError, 'message' | 'type' | 'code'>>;
|
|
51
60
|
export type PaymentIntegrationFormStripeFrameEmits = {
|
|
52
61
|
ready: [];
|
|
53
|
-
|
|
62
|
+
/** `isEmpty` until the customer has entered anything; `isCollapsed` while no method is open. */
|
|
63
|
+
change: [paymentMethodType: string, isEmpty: boolean, isCollapsed: boolean];
|
|
54
64
|
loaderror: [error: StripeLoadError];
|
|
55
65
|
'submit-success': [confirmationTokenId: string];
|
|
56
66
|
'submit-error': [error: StripeSubmitError];
|
package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts
CHANGED
|
@@ -25,10 +25,6 @@ export interface PaymentMethodSelectorProps {
|
|
|
25
25
|
* Optional error message or vuelidate error object array, shown below the group.
|
|
26
26
|
*/
|
|
27
27
|
error?: RadioGroupExtendedProps['error'];
|
|
28
|
-
/**
|
|
29
|
-
* Optional classes that will be applied to the root element.
|
|
30
|
-
*/
|
|
31
|
-
rootClass?: string;
|
|
32
28
|
/**
|
|
33
29
|
* Whether to offer an "Add payment method" button below the saved methods, for when the customer
|
|
34
30
|
* wants to pay with a method that is not saved yet.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Token } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { AuthStatus } from './AuthProvider.lib';
|
|
3
|
+
import { Logger } from '../LoggerProvider/LoggerProvider.types';
|
|
4
|
+
/** What an exchange may do to the session it signs in. */
|
|
5
|
+
export interface ExchangeSession {
|
|
6
|
+
exchangeHandle: (handle: string) => Promise<Token>;
|
|
7
|
+
applyToken: (token: Token) => void;
|
|
8
|
+
clearToken: () => void;
|
|
9
|
+
hasToken: () => boolean;
|
|
10
|
+
setStatus: (status: AuthStatus) => void;
|
|
11
|
+
/** Every element using the session has left the page. */
|
|
12
|
+
isAbandoned: () => boolean;
|
|
13
|
+
/** The API could not verify the link for now. */
|
|
14
|
+
markUnverified: (err: unknown) => void;
|
|
15
|
+
forEachLogger: (log: (logger: Logger) => void) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare function runExchange(handle: string, session: ExchangeSession): Promise<string | undefined>;
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { PortalAuthentication } from '../../../types/portalAuthentication';
|
|
3
|
+
import { PortalToken } from '../../../types/portalToken';
|
|
4
|
+
export declare const AUTH_INJECTION_KEY: InjectionKey<Auth>;
|
|
5
|
+
/** Why a portal link can no longer be used, from the exchange's 410. */
|
|
6
|
+
export type PortalLinkEnding = 'expired' | 'revoked' | 'closed';
|
|
7
|
+
export type AuthStatus = {
|
|
8
|
+
state: 'pending';
|
|
9
|
+
} | {
|
|
10
|
+
state: 'ready';
|
|
11
|
+
} | {
|
|
12
|
+
state: 'ended';
|
|
13
|
+
reason: PortalLinkEnding;
|
|
14
|
+
checkoutSessionStatus?: string;
|
|
15
|
+
}
|
|
16
|
+
/** The API could not verify the link for now; `retry` tries again. */
|
|
17
|
+
| {
|
|
18
|
+
state: 'unavailable';
|
|
19
|
+
} | {
|
|
20
|
+
state: 'invalid';
|
|
5
21
|
};
|
|
22
|
+
export interface Auth {
|
|
23
|
+
accessToken: Ref<string | undefined>;
|
|
24
|
+
/** The access token, refreshed first when it is about to expire. */
|
|
25
|
+
getFreshAccessToken: () => Promise<string | undefined>;
|
|
26
|
+
/** A replacement for a token the API rejected, or `undefined` when there is none to be had. */
|
|
27
|
+
renewAccessToken: (rejected: string | undefined) => Promise<string | undefined>;
|
|
28
|
+
status: Readonly<Ref<AuthStatus>>;
|
|
29
|
+
/** Exchanges the handle again after the API could not verify the link. */
|
|
30
|
+
retry: () => void;
|
|
31
|
+
}
|
|
32
|
+
export declare const getAuth: (token: string, authentication?: PortalAuthentication, portalToken?: PortalToken) => Auth;
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { getAuth } from './AuthProvider.lib';
|
|
2
|
+
import { PortalAuthentication } from '../../../types/portalAuthentication';
|
|
3
|
+
import { PortalToken } from '../../../types/portalToken';
|
|
2
4
|
export interface AuthProviderProps {
|
|
3
5
|
/**
|
|
4
6
|
* The token to be used for authentication
|
|
5
7
|
*/
|
|
6
8
|
token: string;
|
|
9
|
+
/** `SIGNED_TOKEN` when `token` is a handle to exchange rather than an identity token. */
|
|
10
|
+
authentication?: PortalAuthentication;
|
|
11
|
+
/**
|
|
12
|
+
* The response of an exchange of the handle the host already made, as it is, which the element
|
|
13
|
+
* then signs in with instead of exchanging the handle itself. When the API rejects its token, the
|
|
14
|
+
* element exchanges the handle. Only read for a `SIGNED_TOKEN` portal object, and only when the
|
|
15
|
+
* element signs in. An object, because a custom element copies a string property into an HTML
|
|
16
|
+
* attribute, where a bearer token would sit in the page for anything that reads it.
|
|
17
|
+
*/
|
|
18
|
+
portalToken?: PortalToken;
|
|
7
19
|
}
|
|
8
20
|
export type Auth = ReturnType<typeof getAuth>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AuthProviderProps } from './AuthProvider.types';
|
|
2
|
-
declare var __VLS_1: {};
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
ended?: (props: typeof __VLS_3) => any;
|
|
5
7
|
};
|
|
6
8
|
declare const __VLS_base: import('vue').DefineComponent<AuthProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AuthProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { InjectionKey } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export declare const CONFIG_INJECTION_KEY: InjectionKey<
|
|
4
|
-
customElementName: string;
|
|
5
|
-
}>>;
|
|
2
|
+
import { Config } from './ConfigProvider.types';
|
|
3
|
+
export declare const CONFIG_INJECTION_KEY: InjectionKey<Config>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CssOverridesProviderProps } from './CssOverridesProvider.types';
|
|
2
|
+
/**
|
|
3
|
+
* `css` without the `@import` rules a browser would find in it. A constructed stylesheet ignores
|
|
4
|
+
* them while the `<style>` fallback loads them, so the same overrides would style an element
|
|
5
|
+
* differently from one browser to the next. The browser's own parser decides what is an import —
|
|
6
|
+
* escapes, comments and strings included — and the text is rewritten only when there may be one,
|
|
7
|
+
* from the rules it kept and in their order.
|
|
8
|
+
*/
|
|
9
|
+
export declare function removeImportRules(css: string): string;
|
|
10
|
+
/** The overrides as one block of CSS, without `@import` rules. */
|
|
11
|
+
export declare function normalizeCssOverrides(cssOverrides: CssOverridesProviderProps['cssOverrides']): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EntryProviderProps } from './EntryProvider.types';
|
|
2
|
+
/**
|
|
3
|
+
* The required properties an entry has no value for. A custom element cannot make a property
|
|
4
|
+
* required, so a host can mount one without them or set them later; the entry waits instead of
|
|
5
|
+
* failing in setup, where nothing would report it and the element would never recover.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getMissingProperties(entry: EntryProviderProps['entry'], requiredConfiguration?: EntryProviderProps['requiredConfiguration']): string[];
|
|
@@ -7,4 +7,6 @@ export interface EntryProviderProps {
|
|
|
7
7
|
componentName: string;
|
|
8
8
|
/** Which portal the entry accepts, decided by the entry rather than by its consumer. */
|
|
9
9
|
allowedPortalTypes: NonNullable<ProviderProps['allowedPortalTypes']>;
|
|
10
|
+
/** Configuration the entry cannot render without, keyed by name, such as `{ invoiceId }`. */
|
|
11
|
+
requiredConfiguration?: Record<string, unknown>;
|
|
10
12
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { EntryProviderProps } from './EntryProvider.types';
|
|
2
|
-
declare var __VLS_9: {};
|
|
2
|
+
declare var __VLS_9: {}, __VLS_12: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_9) => any;
|
|
5
|
+
} & {
|
|
6
|
+
'portal-unavailable'?: (props: typeof __VLS_12) => any;
|
|
5
7
|
};
|
|
6
8
|
declare const __VLS_base: import('vue').DefineComponent<EntryProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
9
|
error: (error: Error) => any;
|
|
@@ -2,7 +2,11 @@ declare var __VLS_9: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_9) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
error: (error: Error) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onError?: ((error: Error) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
11
|
declare const _default: typeof __VLS_export;
|
|
8
12
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
|
1
|
+
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
export declare const EXPERIMENTAL_FEATURE_INJECTION_KEY: InjectionKey<ReturnType<typeof getExperimentalFeatures>>;
|
|
3
3
|
export declare const EXPERIMENTAL_FEATURES: readonly ["express-checkout"];
|
|
4
4
|
export type ExperimentalFeature = (typeof EXPERIMENTAL_FEATURES)[number];
|
|
5
|
-
export declare const getExperimentalFeatures: (enabledFeatures
|
|
5
|
+
export declare const getExperimentalFeatures: (enabledFeatures: MaybeRefOrGetter<ExperimentalFeature[] | undefined>) => ComputedRef<Record<ExperimentalFeature, boolean>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionKey, Ref } from 'vue';
|
|
1
|
+
import { ComponentInternalInstance, InjectionKey, Ref } from 'vue';
|
|
2
2
|
export interface HostElementContext {
|
|
3
3
|
/**
|
|
4
4
|
* The host element for the current component tree (custom element or mount container).
|
|
@@ -10,3 +10,8 @@ export interface HostElementContext {
|
|
|
10
10
|
customElementName: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const HOST_ELEMENT_PROVIDER_INJECTION_KEY: InjectionKey<HostElementContext>;
|
|
13
|
+
/**
|
|
14
|
+
* The element a `defineCustomElement` tree renders into. Vue sets `ce` on the tree's root instance
|
|
15
|
+
* only, which is why `useHost()` returns nothing below the entry component.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getCustomElementHost(instance: ComponentInternalInstance | null): HTMLElement | null;
|
|
@@ -77,5 +77,5 @@ export interface LoggerProviderProps {
|
|
|
77
77
|
}
|
|
78
78
|
export type WarnCode =
|
|
79
79
|
/** Also an `ErrorCode`: the level separates a failure the SDK absorbed from one it did not. */
|
|
80
|
-
'REQUEST_FAILED' | 'ACTIVE_SCHEDULE_NOT_FOUND' | 'ADYEN_INVALID_CONFIGURATION' | 'PAYMENT_INTEGRATION_NOT_RENDERABLE' | 'APPLE_PAY_ACTION_REQUIRED' | 'APPLE_PAY_FORM_INCOMPLETE' | 'INVOICE_PREVIEW_SKIPPED' | 'RECURRING_AMOUNT_UNRESOLVED' | 'ON_DEMAND_CHARGE_REFUSED' | 'TRANSLATION_LOAD_FAILED';
|
|
81
|
-
export type ErrorCode = 'REQUEST_FAILED' | 'UNHANDLED_ERROR' | 'RESOURCE_REVOKED' | 'INVALID_EMAIL' | 'INVALID_COUNTRY_CODE' | 'PAYMENT_INTEGRATION_INITIALIZATION_FAILED' | 'PAYMENT_AUTHORIZATION_FAILED' | 'TOKENIZATION_FAILED' | 'INVALID_TOKEN' | 'SESSION_EXPIRED' | 'INVALID_REDIRECT_RESULT' | 'PAYMENT_DETAILS_CALL_FAILED' | 'PAYMENT_METHOD_OPTIONS_LOAD_FAILED' | 'NO_PAYMENT_METHODS_AVAILABLE' | 'INTEGRATION_ERROR' | 'EXPRESS_CHECKOUT_GOOGLE_PAY_ERROR' | 'EXPRESS_CHECKOUT_PAYPAL_ERROR' | 'APPLE_PAY_ERROR' | 'APPLE_PAY_AUTHORIZATION_FAILED' | 'PROMOTION_CODE_APPLY_FAILED' | 'PROMOTION_CODE_REMOVE_FAILED' | 'SUBSCRIPTION_UPDATE_FAILED' | 'SUBSCRIPTION_CANCELLATION_FAILED' | 'INITIAL_DATA_LOAD_FAILED' | 'SUBSCRIPTION_LOAD_FAILED' | 'INVOICE_PREVIEW_FAILED' | 'TOP_UP_FAILED' | 'ON_DEMAND_ITEMS_LOAD_FAILED' | 'ON_DEMAND_CHARGE_FAILED' | 'AUTO_TOP_UP_SAVE_FAILED' | 'AUTO_TOP_UP_CANCELLATION_FAILED' | 'REQUEST_PARSE_FAILED' | 'ADYEN_SUBMIT_FAILED' | 'STRIPE_SUBMIT_FAILED' | 'STRIPE_CONFIRMATION_TOKEN_FAILED' | 'STRIPE_ACTION_FAILED' | 'STRIPE_REDIRECT_RETURN_FAILED' | 'ADYEN_PAYMENT_FAILED' | 'PAYMENT_DETAILS_REJECTED' | 'PAYMENT_ACCEPTOR_MISSING';
|
|
80
|
+
'REQUEST_FAILED' | 'ACTIVE_SCHEDULE_NOT_FOUND' | 'MISSING_REQUIRED_PROPERTIES' | 'UI_COMPONENT_RECOVERED' | 'ADYEN_INVALID_CONFIGURATION' | 'PAYMENT_INTEGRATION_NOT_RENDERABLE' | 'APPLE_PAY_ACTION_REQUIRED' | 'APPLE_PAY_FORM_INCOMPLETE' | 'CHECKOUT_FORM_STATE_NOT_SAVED' | 'CHECKOUT_SESSION_CLOSED' | 'INVOICE_PREVIEW_SKIPPED' | 'RECURRING_AMOUNT_UNRESOLVED' | 'ON_DEMAND_CHARGE_REFUSED' | 'PAYMENT_OUTCOME_UNCONFIRMED' | 'PROMOTION_CODE_REJECTED' | 'TRANSLATION_LOAD_FAILED' | 'UNSUPPORTED_LOCALE';
|
|
81
|
+
export type ErrorCode = 'REQUEST_FAILED' | 'UNHANDLED_ERROR' | 'RESOURCE_REVOKED' | 'PORTAL_TYPE_NOT_ALLOWED' | 'INVALID_EMAIL' | 'INVALID_COUNTRY_CODE' | 'PAYMENT_INTEGRATION_INITIALIZATION_FAILED' | 'PAYMENT_AUTHORIZATION_FAILED' | 'TOKENIZATION_FAILED' | 'INVALID_TOKEN' | 'SESSION_EXPIRED' | 'PORTAL_URL_EXPIRED' | 'PORTAL_URL_REVOKED' | 'PORTAL_TOKEN_UNAVAILABLE' | 'INVALID_REDIRECT_RESULT' | 'PAYMENT_DETAILS_CALL_FAILED' | 'PAYMENT_METHOD_OPTIONS_LOAD_FAILED' | 'NO_PAYMENT_METHODS_AVAILABLE' | 'INTEGRATION_ERROR' | 'EXPRESS_CHECKOUT_GOOGLE_PAY_ERROR' | 'EXPRESS_CHECKOUT_PAYPAL_ERROR' | 'APPLE_PAY_ERROR' | 'APPLE_PAY_AUTHORIZATION_FAILED' | 'PROMOTION_CODE_APPLY_FAILED' | 'PROMOTION_CODE_REMOVE_FAILED' | 'SUBSCRIPTION_UPDATE_FAILED' | 'SHIPPED_SUBSCRIPTIONS_LOAD_FAILED' | 'SHIPPING_ADDRESSES_LOAD_FAILED' | 'SHIPPING_ADDRESS_SAVE_FAILED' | 'SHIPPING_ADDRESS_DELETE_FAILED' | 'SUBSCRIPTION_CANCELLATION_FAILED' | 'INITIAL_DATA_LOAD_FAILED' | 'SUBSCRIPTION_LOAD_FAILED' | 'INVOICE_PREVIEW_FAILED' | 'TOP_UP_FAILED' | 'ON_DEMAND_ITEMS_LOAD_FAILED' | 'ON_DEMAND_CHARGE_FAILED' | 'AUTO_TOP_UP_SAVE_FAILED' | 'AUTO_TOP_UP_CANCELLATION_FAILED' | 'REQUEST_PARSE_FAILED' | 'ADYEN_SUBMIT_FAILED' | 'STRIPE_SUBMIT_FAILED' | 'STRIPE_CONFIRMATION_TOKEN_FAILED' | 'STRIPE_ACTION_FAILED' | 'STRIPE_REDIRECT_RETURN_FAILED' | 'ADYEN_PAYMENT_FAILED' | 'PAYMENT_DETAILS_REJECTED' | 'PAYMENT_ACCEPTOR_MISSING';
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { Environment } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
1
2
|
import { LoggerProviderProps } from './LoggerProvider.types';
|
|
3
|
+
type __VLS_Props = LoggerProviderProps & {
|
|
4
|
+
environment?: Environment;
|
|
5
|
+
};
|
|
2
6
|
declare var __VLS_1: {};
|
|
3
7
|
type __VLS_Slots = {} & {
|
|
4
8
|
default?: (props: typeof __VLS_1) => any;
|
|
5
9
|
};
|
|
6
|
-
declare const __VLS_base: import('vue').DefineComponent<
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
11
|
onLog: import('./LoggerProvider.types').LogSink;
|
|
8
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { InjectionKey } from 'vue';
|
|
2
|
-
import { PortalUrl } from '../../../
|
|
3
|
-
export declare const PORTAL_INJECTION_KEY: InjectionKey<
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import { PortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
3
|
+
export declare const PORTAL_INJECTION_KEY: InjectionKey<Readonly<Ref<PortalUrl>>>;
|
|
4
|
+
export type PortalUnavailableReason = 'missing' | 'type-not-allowed' | 'not-published';
|
|
5
|
+
/**
|
|
6
|
+
* Why an element cannot use the portal object it was given, or `undefined` when it can. Every
|
|
7
|
+
* request the tree below makes is on the portal's behalf, so a portal of another type or one that
|
|
8
|
+
* was revoked must stop the element before any of them go out.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getPortalUnavailableReason(portalObject: PortalUrl | undefined, allowedPortalTypes?: PortalUrl['type'][]): PortalUnavailableReason | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { PortalProviderProps } from './PortalProvider.types';
|
|
2
|
-
declare var __VLS_1: {};
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
unavailable?: (props: typeof __VLS_3) => any;
|
|
5
7
|
};
|
|
6
8
|
declare const __VLS_base: import('vue').DefineComponent<PortalProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PortalProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { PortalUrl } from '../../../../
|
|
3
|
-
export declare function usePortal<
|
|
2
|
+
import { PortalUrl } from '../../../../vendor/@solvimon/solvimon-types/index';
|
|
3
|
+
export declare function usePortal(): Readonly<Ref<PortalUrl>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BrandProviderProps } from '
|
|
1
|
+
import { BrandProviderProps } from '../../../vendor/@solvimon/solvimon-ui/index';
|
|
2
2
|
import { HostElementProviderProps } from '../HostElementProvider/HostElementProvider.types';
|
|
3
3
|
import { LoggerProviderProps } from '../LoggerProvider/LoggerProvider.types';
|
|
4
4
|
import { ExperimentalFeatureProviderProps } from '../ExperimentalFeatureProvider/ExperimentalFeatureProvider.types';
|
|
@@ -7,7 +7,7 @@ import { AuthProviderProps } from '../AuthProvider';
|
|
|
7
7
|
import { ConfigProviderProps } from '../ConfigProvider/ConfigProvider.types';
|
|
8
8
|
import { TranslationProviderProps } from '../TranslationProvider/TranslationProvider.types';
|
|
9
9
|
import { CssOverridesProviderProps } from '../CssOverridesProvider/CssOverridesProvider.types';
|
|
10
|
-
export interface RequiredProviderProps extends Omit<AuthProviderProps, 'token'>, ConfigProviderProps, TranslationProviderProps, BrandProviderProps, ExperimentalFeatureProviderProps, LoggerProviderProps, Pick<PortalProviderProps, 'allowedPortalTypes' | 'portalObject'>, HostElementProviderProps, CssOverridesProviderProps {
|
|
10
|
+
export interface RequiredProviderProps extends Omit<AuthProviderProps, 'token' | 'authentication'>, ConfigProviderProps, TranslationProviderProps, BrandProviderProps, ExperimentalFeatureProviderProps, LoggerProviderProps, Pick<PortalProviderProps, 'allowedPortalTypes' | 'portalObject'>, HostElementProviderProps, CssOverridesProviderProps {
|
|
11
11
|
}
|
|
12
12
|
export interface ProviderEmits {
|
|
13
13
|
(e: 'error', error: Error): void;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import { ProviderProps } from './Provider.types';
|
|
2
|
+
type __VLS_Props = ProviderProps & {
|
|
3
|
+
/** Required properties the entry was given no value for; nothing below renders until set. */
|
|
4
|
+
missingProperties?: string[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_86: {}, __VLS_89: {}, __VLS_92: {};
|
|
2
7
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
8
|
+
default?: (props: typeof __VLS_86) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'portal-unavailable'?: (props: typeof __VLS_89) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'portal-unavailable'?: (props: typeof __VLS_92) => any;
|
|
4
13
|
};
|
|
5
|
-
declare const __VLS_base: import('vue').DefineComponent<
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
15
|
error: (error: Error) => any;
|
|
7
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
17
|
onError?: ((error: Error) => any) | undefined;
|
|
9
18
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Names of the required properties that have no value yet; empty renders the slot. */
|
|
3
|
+
missing: string[];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { IntlMessages } from '
|
|
1
|
+
import { IntlMessages } from '../../../vendor/@solvimon/solvimon-ui/index';
|
|
2
2
|
import { InjectionKey } from 'vue';
|
|
3
3
|
import { SupportedLocale, TranslationSettings } from './TranslationProvider.types';
|
|
4
4
|
import { Logger } from '../LoggerProvider/LoggerProvider.types';
|
|
5
|
-
export declare const DEFAULT_LOCALE
|
|
5
|
+
export declare const DEFAULT_LOCALE = "en-US";
|
|
6
6
|
export declare const TRANSLATION_SETTINGS_KEY: InjectionKey<TranslationSettings>;
|
|
7
7
|
export declare const supportedLocaleSet: ReadonlySet<string>;
|
|
8
8
|
export declare function isSupportedLocale(locale: string): locale is SupportedLocale;
|
|
9
|
+
/**
|
|
10
|
+
* A locale the SDK has no catalogue for — `nl` or `en-GB` rather than `nl-NL` — renders in
|
|
11
|
+
* en-US, which a host would otherwise only find out about from a customer.
|
|
12
|
+
*/
|
|
13
|
+
export declare function warnIfUnsupportedLocale(locale: string | undefined, logger: Logger): void;
|
|
9
14
|
export declare function loadLocaleMessages(locale: string, logger: Logger): Promise<IntlMessages>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IntlMessages, IntlProviderProps } from '
|
|
1
|
+
import { IntlMessages, IntlProviderProps } from '../../../vendor/@solvimon/solvimon-ui/index';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { SUPPORTED_LOCALES } from '../../../translations/supported';
|
|
4
4
|
export type LocaleMessagesModule = {
|
package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Customer, Invoice, PaymentMethod, PricingPlanSchedule } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
1
|
+
import { Customer, Invoice, PaymentMethod, PricingPlanSchedule, PricingPlanSubscriptionExpanded } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
import { ChargeOnDemandItem } from '@solvimon/solvimon-ui';
|
|
3
|
-
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
4
3
|
export declare const CHARGE_ON_DEMAND_MODAL_STEPS: readonly ["ORDER", "ADD_PAYMENT_METHOD", "PLACED", "PAYMENT_FAILED", "FAILED"];
|
|
5
4
|
export type ChargeOnDemandModalStep = (typeof CHARGE_ON_DEMAND_MODAL_STEPS)[number];
|
|
6
5
|
export interface ChargeOnDemandModalProps {
|
package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EnabledPricingsListEntry } from './EnabledPricingsList.types';
|
|
2
2
|
export interface EnabledPricingsListItemProps {
|
|
3
3
|
entry: EnabledPricingsListEntry;
|
|
4
|
+
/** Whether the Upgrade action is offered. */
|
|
5
|
+
canUpgrade?: boolean;
|
|
4
6
|
}
|
|
5
7
|
export interface EnabledPricingsListItemEmits {
|
|
6
8
|
(e: 'upgrade', entry: EnabledPricingsListEntry): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { CountryCode, Invoice, Pricing,
|
|
2
|
-
import { PricingPlanSubscriptionExpanded } from '../../types/subscription';
|
|
1
|
+
import { CountryCode, Invoice, Pricing, PricingPlanSubscriptionExpanded } from '../../vendor/@solvimon/solvimon-types/index';
|
|
3
2
|
export interface OrderSummaryProps {
|
|
4
3
|
/**
|
|
5
4
|
* The subscription to display.
|
|
@@ -21,10 +20,6 @@ export interface OrderSummaryProps {
|
|
|
21
20
|
* The pricing ids to display.
|
|
22
21
|
*/
|
|
23
22
|
enabledPricingIds?: Pricing['id'][];
|
|
24
|
-
/**
|
|
25
|
-
* The trial period to display.
|
|
26
|
-
*/
|
|
27
|
-
trialPeriod?: TimePeriod;
|
|
28
23
|
/**
|
|
29
24
|
* The avatar to display.
|
|
30
25
|
*/
|
|
@@ -37,10 +32,6 @@ export interface OrderSummaryProps {
|
|
|
37
32
|
* Whether the invoice is usage based.
|
|
38
33
|
*/
|
|
39
34
|
isUsageBased?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Whether the preview and payment methods are pending.
|
|
42
|
-
*/
|
|
43
|
-
isPreviewAndPaymentMethodsPending?: boolean;
|
|
44
35
|
/**
|
|
45
36
|
* Whether the subscription is collapsible, if not provided,
|
|
46
37
|
* the subscription will be displayed in the expanded state.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Invoice } from '../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface OrderSummaryInvoiceProps {
|
|
3
|
+
invoice: Invoice;
|
|
4
|
+
/** Priced instead of `invoice` in the totals, while a trial runs. */
|
|
5
|
+
trialInvoice?: Invoice;
|
|
6
|
+
isPaid?: boolean;
|
|
7
|
+
collapsible?: 'collapsed' | 'expanded';
|
|
8
|
+
/** Before a country is known, taxes cannot be determined yet. */
|
|
9
|
+
isPreviewWithoutTaxes?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* `products-inline` lists the products inside the totals instead of above them.
|
|
12
|
+
*
|
|
13
|
+
* @default 'default'
|
|
14
|
+
*/
|
|
15
|
+
variant?: 'default' | 'products-inline';
|
|
16
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { Customer, PaymentMethod, PricingPlanSubscriptionExpanded } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
1
2
|
import { SubscriptionCancellationVariant } from '../../../services/subscriptions';
|
|
2
|
-
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
3
3
|
export interface SubscriptionCancellationModalProps {
|
|
4
4
|
showModal: boolean;
|
|
5
5
|
variant?: SubscriptionCancellationVariant;
|
|
6
6
|
subscription?: PricingPlanSubscriptionExpanded;
|
|
7
|
+
/** Whose timezone the dates are shown in. */
|
|
8
|
+
customer?: Customer;
|
|
9
|
+
/** The subscription's own payment method, shown in the summary. */
|
|
10
|
+
paymentMethod?: PaymentMethod;
|
|
7
11
|
avatar?: string;
|
|
8
12
|
}
|
|
9
13
|
export interface SubscriptionCancellationModalEmits {
|