@solvimon/solvimon-web 0.1.0-alpha.27 → 0.1.0-alpha.28
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 +126 -17
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +15 -16
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +235 -247
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +33 -37
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-M0XqSz55.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +362 -0
- package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-BO6KBS4v.mjs} +3 -3
- package/dist/Input.vue.es-DAlPmtE_.mjs +249 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs +56 -0
- package/dist/{InvoiceSummary.vue.es-CRiFJ5x-.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +72 -73
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -293
- package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs} +13 -8
- package/dist/PlanCustomizationEditor-Xtww2r9K.mjs +711 -0
- package/dist/PortalNotAvailable-B_59GUwN.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
- package/dist/{RadioGroupExtended.vue.es-9YzXzZF0.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs} +13 -12
- 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-Dpan1RQd.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs} +750 -763
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +123 -88
- package/dist/{TooltipParagraph.vue.es-B9A17aG7.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-B-XBSHWE.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-2bVdkiFV.mjs} +87 -83
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +7 -8
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +394 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +16 -17
- package/dist/components/Invoice/Invoice.mjs +206 -209
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +64 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
- package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
- package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -64
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +31 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +47 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +50 -36
- package/dist/components/WalletBalances/WalletBalances.mjs +9 -10
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-Di3zwlEU.mjs +6447 -0
- package/dist/customer-CqddTiOr.mjs +31 -0
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-BNMj3boy.mjs} +16 -10
- package/dist/{de-DE-DKp5LCu0.mjs → de-DE-BW8dMvhW.mjs} +72 -18
- package/dist/formControl-CsITfsBk.mjs +749 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-Cf1qDAv4.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-Byg06KWc.mjs} +72 -18
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DRvuxM1F.mjs} +9 -3
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-DLUwWbMG.mjs} +12 -6
- package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-x3zQqzZ7.mjs} +78 -24
- package/dist/paymentMethods-BUuOmDq9.mjs +77 -0
- package/dist/paymentOutcome-D17VD4MV.mjs +67 -0
- package/dist/payments-Ci8bF4C6.mjs +45 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-COr9F8DO.mjs +233 -0
- package/dist/pricingPlanSchedules-BK_o9p6h.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 +98 -91
- package/dist/screens/PayInvoice/PayInvoice.mjs +181 -210
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +98 -86
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +363 -334
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-qtEN8J8T.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-CwogJODR.mjs +54 -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 +20 -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/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- 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 +36 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +9 -4
- 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 +1 -1
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +11 -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/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +8 -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/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/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 +2 -0
- 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/types/errors.d.ts +3 -2
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- 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-DC_fUykI.mjs +9 -0
- package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-C3kTh7wn.mjs} +2 -2
- package/dist/useCustomerFormLabels-CK7K50nB.mjs +1369 -0
- package/dist/useIncrementalLoading-C_sHmW7d.mjs +60 -0
- package/dist/useInvoiceData-BIh8-h8b.mjs +21 -0
- package/dist/useInvoicesList-Y6p0Pqpy.mjs +674 -0
- package/dist/{useLoadInitialData-D9GkzY8t.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
- package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +8 -8
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
- package/dist/{usePaymentMethods-CbwnGONc.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-CykCZPG2.mjs} +7 -7
- package/dist/usePortal-CxzKGhbK.mjs +7 -0
- package/dist/useService-B0OQJmif.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +28 -55
- 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-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/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/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-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/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-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-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-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/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-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-BIMpDI_p.mjs +0 -29
- 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-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-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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const r = "solvimon.sdk.session-reference";
|
|
2
|
+
const s = "23456789ABCDEFGHJKLMNPQRSTUVWXYZ", c = new RegExp(`^SV-[${s}]{8}$`);
|
|
3
|
+
let n;
|
|
4
|
+
function i(e) {
|
|
5
|
+
const t = new Uint8Array(e);
|
|
6
|
+
if (typeof crypto < "u" && typeof crypto.getRandomValues == "function")
|
|
7
|
+
return crypto.getRandomValues(t), t;
|
|
8
|
+
for (let o = 0; o < e; o += 1)
|
|
9
|
+
t[o] = Math.floor(Math.random() * 256);
|
|
10
|
+
return t;
|
|
11
|
+
}
|
|
12
|
+
function f() {
|
|
13
|
+
return `SV-${Array.from(i(8), (t) => s[t & 31]).join("")}`;
|
|
14
|
+
}
|
|
15
|
+
function a() {
|
|
16
|
+
try {
|
|
17
|
+
const e = window.sessionStorage.getItem(r);
|
|
18
|
+
return e && c.test(e) ? e : void 0;
|
|
19
|
+
} catch {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function d(e) {
|
|
24
|
+
try {
|
|
25
|
+
window.sessionStorage.setItem(r, e);
|
|
26
|
+
} catch {
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function u() {
|
|
30
|
+
if (n)
|
|
31
|
+
return n;
|
|
32
|
+
const e = a();
|
|
33
|
+
return n = e ?? f(), e || d(n), n;
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
u as g,
|
|
37
|
+
i as r
|
|
38
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineComponent as d, computed as f, openBlock as a, createElementBlock as o, Fragment as c, renderList as x, createCommentVNode as g, normalizeClass as m, toDisplayString as y, ref as v, onMounted as _ } from "vue";
|
|
2
|
+
import { e as b } from "./sanitization.es-C6dbuxUJ.mjs";
|
|
3
|
+
import { a as k } from "./useService-B0OQJmif.mjs";
|
|
4
|
+
const C = (n) => n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), E = ["innerHTML"], I = /* @__PURE__ */ d({
|
|
5
|
+
__name: "TextWithHighlights",
|
|
6
|
+
props: {
|
|
7
|
+
text: {},
|
|
8
|
+
search: { default: "" },
|
|
9
|
+
highlighClasses: { default: "text-primary-600 font-bold underline" }
|
|
10
|
+
},
|
|
11
|
+
setup(n) {
|
|
12
|
+
const t = n, h = f(() => {
|
|
13
|
+
const e = b(t.text), u = [
|
|
14
|
+
{
|
|
15
|
+
type: "text",
|
|
16
|
+
value: e
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
if (t.search === "")
|
|
20
|
+
return u;
|
|
21
|
+
const p = new RegExp(C(t.search), "gi"), s = [...e.matchAll(p)];
|
|
22
|
+
if (k(s))
|
|
23
|
+
return u;
|
|
24
|
+
const i = [];
|
|
25
|
+
return s.forEach((r, l) => {
|
|
26
|
+
r.index !== void 0 && (l === 0 && (i.push({ type: "text", value: e.substring(0, r.index) }), i.push({
|
|
27
|
+
type: "highlight",
|
|
28
|
+
value: e.substring(r.index, r.index + t.search.length)
|
|
29
|
+
})), l > 0 && l < s.length - 1 && s[l - 1].index && (i.push({
|
|
30
|
+
type: "text",
|
|
31
|
+
value: e.substring(
|
|
32
|
+
s[l - 1].index ?? 0 + t.search.length,
|
|
33
|
+
r.index
|
|
34
|
+
)
|
|
35
|
+
}), i.push({
|
|
36
|
+
type: "highlight",
|
|
37
|
+
value: e.substring(r.index, r.index + t.search.length)
|
|
38
|
+
})), l === s.length - 1 && r.index + t.search.length < e.length && i.push({
|
|
39
|
+
type: "text",
|
|
40
|
+
value: e.substring(
|
|
41
|
+
r.index + t.search.length,
|
|
42
|
+
e.length
|
|
43
|
+
)
|
|
44
|
+
}));
|
|
45
|
+
}), i;
|
|
46
|
+
});
|
|
47
|
+
return (e, u) => (a(), o("span", null, [
|
|
48
|
+
(a(!0), o(c, null, x(h.value, ({ type: p, value: s }, i) => (a(), o(c, { key: i }, [
|
|
49
|
+
p === "text" ? (a(), o("span", {
|
|
50
|
+
key: 0,
|
|
51
|
+
innerHTML: s
|
|
52
|
+
}, null, 8, E)) : g("", !0),
|
|
53
|
+
p === "highlight" ? (a(), o("span", {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: m(n.highlighClasses)
|
|
56
|
+
}, y(s), 3)) : g("", !0)
|
|
57
|
+
], 64))), 128))
|
|
58
|
+
]));
|
|
59
|
+
}
|
|
60
|
+
}), L = () => {
|
|
61
|
+
const n = v(!1);
|
|
62
|
+
return _(() => {
|
|
63
|
+
n.value = !0;
|
|
64
|
+
}), n;
|
|
65
|
+
};
|
|
66
|
+
function T(n, t) {
|
|
67
|
+
const h = /* @__PURE__ */ new Set();
|
|
68
|
+
return n.filter((e) => {
|
|
69
|
+
const u = e[t];
|
|
70
|
+
return h.has(u) ? !1 : (h.add(u), !0);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
export {
|
|
74
|
+
I as _,
|
|
75
|
+
T as s,
|
|
76
|
+
L as u
|
|
77
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { g as c } from "./pricingPlanSchedule-BPrS2WRd.mjs";
|
|
2
|
+
function l(e) {
|
|
3
|
+
var n;
|
|
4
|
+
return (n = e == null ? void 0 : e.pricing_plan_schedule_infos) == null ? void 0 : n.at(-1);
|
|
5
|
+
}
|
|
6
|
+
function d(e) {
|
|
7
|
+
var n, t;
|
|
8
|
+
return (t = (n = l(e)) == null ? void 0 : n.pricing_plan_version) == null ? void 0 : t.pricing_plan;
|
|
9
|
+
}
|
|
10
|
+
function D({
|
|
11
|
+
subscription: e,
|
|
12
|
+
fallback: n
|
|
13
|
+
}) {
|
|
14
|
+
var t;
|
|
15
|
+
return (e == null ? void 0 : e.name) || ((t = d(e)) == null ? void 0 : t.name) || n;
|
|
16
|
+
}
|
|
17
|
+
function g(e) {
|
|
18
|
+
return (e == null ? void 0 : e.status) === "ACTIVE" && e.type === "BILLING";
|
|
19
|
+
}
|
|
20
|
+
function _(e, n) {
|
|
21
|
+
return ((e == null ? void 0 : e.inactive_periods) ?? []).filter((t) => !t.end_at && (!n || t.type === n)).reduce((t, r) => !t || new Date(r.start_at) <= new Date(t.start_at) ? r : t, void 0);
|
|
22
|
+
}
|
|
23
|
+
function s(e, n = /* @__PURE__ */ new Date()) {
|
|
24
|
+
if (!g(e)) return;
|
|
25
|
+
const t = _(e);
|
|
26
|
+
if (!((t == null ? void 0 : t.type) !== "CANCEL" || new Date(t.start_at) <= n))
|
|
27
|
+
return t;
|
|
28
|
+
}
|
|
29
|
+
function u(e, n) {
|
|
30
|
+
const t = [];
|
|
31
|
+
function r(a) {
|
|
32
|
+
Array.isArray(a) ? a.forEach(r) : a && typeof a == "object" && (a.object_type === "PRICING" && n.includes(a.id) && !t.some(({ id: i }) => i === a.id) && t.push(a), Object.values(a).forEach(r));
|
|
33
|
+
}
|
|
34
|
+
return r(e), t;
|
|
35
|
+
}
|
|
36
|
+
function p(e) {
|
|
37
|
+
return e.pricing_plan_schedule_infos.flatMap(
|
|
38
|
+
(n) => {
|
|
39
|
+
var t;
|
|
40
|
+
return ((t = n.pricing_plan_version.pricing_categories) == null ? void 0 : t.flatMap(
|
|
41
|
+
(r) => r.pricing_groups ?? []
|
|
42
|
+
)) ?? [];
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
function m(e) {
|
|
47
|
+
var i;
|
|
48
|
+
const n = {
|
|
49
|
+
trialStartDate: void 0,
|
|
50
|
+
trialEndDate: void 0,
|
|
51
|
+
subscriptionStartDate: void 0,
|
|
52
|
+
subscriptionEndDate: void 0
|
|
53
|
+
};
|
|
54
|
+
if (!((i = e == null ? void 0 : e.pricing_plan_schedule_infos) != null && i.length))
|
|
55
|
+
return n;
|
|
56
|
+
const t = /* @__PURE__ */ new Date(), r = c({
|
|
57
|
+
type: "TRIAL",
|
|
58
|
+
pricingPlanScheduleInfos: e.pricing_plan_schedule_infos
|
|
59
|
+
});
|
|
60
|
+
if (r != null && r.start_at && (n.trialStartDate = t, r.end_at)) {
|
|
61
|
+
const f = new Date(r.end_at).getTime() - new Date(r.start_at).getTime();
|
|
62
|
+
n.trialEndDate = new Date(t.getTime() + f);
|
|
63
|
+
}
|
|
64
|
+
const a = c({
|
|
65
|
+
type: "DEFAULT",
|
|
66
|
+
pricingPlanScheduleInfos: e.pricing_plan_schedule_infos
|
|
67
|
+
});
|
|
68
|
+
if (a != null && a.start_at && (n.trialEndDate ? n.subscriptionStartDate = n.trialEndDate : n.subscriptionStartDate = t, a.end_at)) {
|
|
69
|
+
const f = new Date(a.end_at).getTime() - new Date(a.start_at).getTime();
|
|
70
|
+
n.subscriptionEndDate = new Date(n.subscriptionStartDate.getTime() + f);
|
|
71
|
+
}
|
|
72
|
+
return n;
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
D as a,
|
|
76
|
+
p as b,
|
|
77
|
+
_ as c,
|
|
78
|
+
s as d,
|
|
79
|
+
m as e,
|
|
80
|
+
u as f,
|
|
81
|
+
d as g,
|
|
82
|
+
g as i
|
|
83
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { w as e, a as f } from "./api.es-QaC926Xu.mjs";
|
|
2
|
+
import { u as N, c as P, b as s, E as o } from "./customElements-Di3zwlEU.mjs";
|
|
3
|
+
const r = ["portal", "pricing-plan-subscriptions"], g = {
|
|
4
|
+
CANCEL: "NEXT_BILLING_PERIOD",
|
|
5
|
+
RENEW: "UNDO"
|
|
6
|
+
};
|
|
7
|
+
function S() {
|
|
8
|
+
const i = N(), a = P();
|
|
9
|
+
async function c({
|
|
10
|
+
id: t,
|
|
11
|
+
expanded: n = !1
|
|
12
|
+
}) {
|
|
13
|
+
return a({
|
|
14
|
+
url: s(i.apiUrls.config, ...r, t),
|
|
15
|
+
query: e({ expandParams: o, expand: n })
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function u({
|
|
19
|
+
customerId: t,
|
|
20
|
+
pagination: n
|
|
21
|
+
}) {
|
|
22
|
+
const l = n ?? {}, E = e({
|
|
23
|
+
initialParams: {
|
|
24
|
+
customer_id: t,
|
|
25
|
+
statuses: ["ACTIVE"],
|
|
26
|
+
type: "BILLING"
|
|
27
|
+
},
|
|
28
|
+
expandParams: o
|
|
29
|
+
});
|
|
30
|
+
return a({
|
|
31
|
+
url: s(i.apiUrls.config, ...r),
|
|
32
|
+
query: f(E, l),
|
|
33
|
+
isCollection: !0
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function p({
|
|
37
|
+
id: t,
|
|
38
|
+
variant: n
|
|
39
|
+
}) {
|
|
40
|
+
return a({
|
|
41
|
+
url: s(i.apiUrls.config, ...r, t, "cancel"),
|
|
42
|
+
data: { type: g[n] },
|
|
43
|
+
options: { method: "POST" }
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
getSubscription: c,
|
|
48
|
+
getActiveSubscriptions: u,
|
|
49
|
+
setSubscriptionCancellation: p
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
S as c
|
|
54
|
+
};
|
|
@@ -2,6 +2,8 @@ import { Invoice } from '../../vendor/@solvimon/solvimon-types/index';
|
|
|
2
2
|
export interface InvoiceTableProps {
|
|
3
3
|
invoices: Invoice[];
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
+
/** Set when the invoices, or the next batch of them, failed to load. */
|
|
6
|
+
error?: Error | null;
|
|
5
7
|
hasMoreItems?: boolean;
|
|
6
8
|
configuration: {
|
|
7
9
|
showPayButton: boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ErrorObject } from '@vuelidate/core';
|
|
2
|
+
import { CheckoutFormState } from './CheckoutForm.types';
|
|
3
|
+
import { AddressFormat } from './addressFormat';
|
|
4
|
+
export type CheckoutAddressVariant = 'BILLING' | 'SHIPPING';
|
|
5
|
+
export interface CheckoutAddressFieldsProps {
|
|
6
|
+
variant: CheckoutAddressVariant;
|
|
7
|
+
withCountry?: boolean;
|
|
8
|
+
countryLabel?: string;
|
|
9
|
+
format?: AddressFormat;
|
|
10
|
+
getOptionalSuffix: (field: keyof CheckoutFormState) => string;
|
|
11
|
+
errors?: {
|
|
12
|
+
addressLine1?: ErrorObject[];
|
|
13
|
+
postalCode?: ErrorObject[];
|
|
14
|
+
city?: ErrorObject[];
|
|
15
|
+
state?: ErrorObject[];
|
|
16
|
+
country?: ErrorObject[];
|
|
17
|
+
phoneNumber?: ErrorObject[];
|
|
18
|
+
lastName?: ErrorObject[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ConfiguredMeterValue, CountryCode, Pricing } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
import { useCheckoutForm } from './useCheckoutForm';
|
|
3
|
+
import { AddressFormat } from './addressFormat';
|
|
3
4
|
export interface CheckoutFormProps {
|
|
4
5
|
validation: ReturnType<typeof useCheckoutForm>['validation'];
|
|
5
6
|
initialState?: Partial<CheckoutFormState>;
|
|
6
7
|
readOnlyEmail?: string;
|
|
7
8
|
showCustomerInfoOnTop?: boolean;
|
|
8
9
|
isBillingInformationMandatory?: boolean;
|
|
10
|
+
isShippingAddressRequired?: boolean;
|
|
9
11
|
getIsFieldRequired: (field: keyof CheckoutFormState) => boolean;
|
|
12
|
+
shippingAddressFormat?: AddressFormat;
|
|
10
13
|
readOnly?: boolean;
|
|
11
14
|
}
|
|
12
15
|
export interface CheckoutFormEmits {
|
|
@@ -26,6 +29,18 @@ export interface CheckoutFormState {
|
|
|
26
29
|
city: string | undefined;
|
|
27
30
|
state: string | undefined;
|
|
28
31
|
companyVatNumber: string | undefined;
|
|
32
|
+
shippingAddressLine1: string | undefined;
|
|
33
|
+
shippingAddressLine2: string | undefined;
|
|
34
|
+
shippingPostalCode: string | undefined;
|
|
35
|
+
shippingCity: string | undefined;
|
|
36
|
+
shippingState: string | undefined;
|
|
37
|
+
shippingCountry: CountryCode | undefined;
|
|
38
|
+
shippingPhoneNumber: string | undefined;
|
|
39
|
+
shippingFirstName: string | undefined;
|
|
40
|
+
shippingLastName: string | undefined;
|
|
41
|
+
shippingAttentionName: string | undefined;
|
|
42
|
+
/** While true, the billing fields follow the shipping ones. */
|
|
43
|
+
billingAddressSameAsShipping: boolean;
|
|
29
44
|
seatsValues: ConfiguredMeterValue[] | undefined;
|
|
30
45
|
unitsValues: ConfiguredMeterValue[] | undefined;
|
|
31
46
|
promotionCode?: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { PaymentMethod } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
export interface CustomerPaymentMethodsBlockProps {
|
|
3
3
|
paymentMethods: PaymentMethod[];
|
|
4
|
-
limit?: number;
|
|
5
|
-
isLoading: boolean;
|
|
6
4
|
showViewAllButton?: boolean;
|
|
7
5
|
showAddButton?: boolean;
|
|
8
6
|
}
|
|
@@ -14,7 +14,6 @@ export interface OnDemandPaymentModalShellProps {
|
|
|
14
14
|
customer?: Customer;
|
|
15
15
|
paymentMethodOptions?: PaymentMethodOptionsResponse;
|
|
16
16
|
isPaymentMethodOptionsPending?: boolean;
|
|
17
|
-
isAddingPaymentMethod?: boolean;
|
|
18
17
|
}
|
|
19
18
|
export interface OnDemandPaymentModalShellEmits {
|
|
20
19
|
(e: 'confirm'): void;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { Amount } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
1
|
export interface PaymentCompletedCardProps {
|
|
3
|
-
amount?: Amount;
|
|
4
2
|
variant: 'TOKENIZE' | 'AUTHORIZE';
|
|
5
3
|
/**
|
|
6
4
|
* Whether the page navigates away now that the payment is through, which is the only thing
|
|
@@ -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;
|
|
@@ -58,7 +80,7 @@ export interface PaymentIntegrationFormEmits {
|
|
|
58
80
|
/**
|
|
59
81
|
* Emitted when a payment fails.
|
|
60
82
|
*/
|
|
61
|
-
(e: 'payment-failed', error:
|
|
83
|
+
(e: 'payment-failed', error: SdkError): void;
|
|
62
84
|
/**
|
|
63
85
|
* Emitted when a payment is successful.
|
|
64
86
|
*/
|
|
@@ -68,6 +90,16 @@ export interface PaymentIntegrationFormEmits {
|
|
|
68
90
|
* the form, so there are no fields of its own to mark.
|
|
69
91
|
*/
|
|
70
92
|
(e: 'invalid', reason?: 'NO_PAYMENT_METHOD'): void;
|
|
93
|
+
/**
|
|
94
|
+
* Emitted when a payment is sent, including one the form started itself: Enter in a card field
|
|
95
|
+
* or a wallet's own button. The screen waits on it as on one its own button sent.
|
|
96
|
+
*/
|
|
97
|
+
(e: 'submitting'): void;
|
|
98
|
+
/**
|
|
99
|
+
* Emitted when the gateway hands the customer a step to complete inside the form, such as a 3DS
|
|
100
|
+
* challenge. The payment is still on its way, but the form has to stay within reach.
|
|
101
|
+
*/
|
|
102
|
+
(e: 'action-required'): void;
|
|
71
103
|
/**
|
|
72
104
|
* Emitted when the payment integration form is ready and the payment integration form is initialized.
|
|
73
105
|
*/
|
|
@@ -39,6 +39,13 @@ 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;
|
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.
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from 'vue';
|
|
2
|
-
export declare const AUTH_INJECTION_KEY: InjectionKey<
|
|
3
|
-
export
|
|
4
|
-
accessToken: Ref<string | undefined
|
|
5
|
-
|
|
2
|
+
export declare const AUTH_INJECTION_KEY: InjectionKey<Auth>;
|
|
3
|
+
export interface Auth {
|
|
4
|
+
accessToken: Ref<string | undefined>;
|
|
5
|
+
/** The access token, refreshed first when it is about to expire. */
|
|
6
|
+
getFreshAccessToken: () => Promise<string | undefined>;
|
|
7
|
+
/** A replacement for a token the API rejected, or `undefined` when there is none to be had. */
|
|
8
|
+
renewAccessToken: (rejected: string | undefined) => Promise<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
export declare const getAuth: (token: string) => Auth;
|
|
@@ -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' | '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' | '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';
|
|
@@ -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>;
|