@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,233 @@
|
|
|
1
|
+
import { u as y } from "./useService-B0OQJmif.mjs";
|
|
2
|
+
import { c as O } from "./subscriptions-CwogJODR.mjs";
|
|
3
|
+
const W = (i, n) => {
|
|
4
|
+
var c, r;
|
|
5
|
+
return !!((c = i.enabled_pricings) != null && c.some(({ pricing_id: t }) => t === n.id) || (r = i.override_pricings) != null && r.some(
|
|
6
|
+
(t) => "id" in t && t.id === n.id || t.original_pricing_id === n.id
|
|
7
|
+
));
|
|
8
|
+
}, k = (i) => {
|
|
9
|
+
var n, c;
|
|
10
|
+
return [
|
|
11
|
+
...((n = i.enabled_pricings) == null ? void 0 : n.map(({ pricing_id: r }) => r)) ?? [],
|
|
12
|
+
...((c = i.override_pricings) == null ? void 0 : c.map(
|
|
13
|
+
(r) => "id" in r ? r.id : r.original_pricing_id
|
|
14
|
+
)) ?? []
|
|
15
|
+
];
|
|
16
|
+
};
|
|
17
|
+
function z({
|
|
18
|
+
subscriptionId: i
|
|
19
|
+
}) {
|
|
20
|
+
const { getSubscription: n } = O(), {
|
|
21
|
+
data: c,
|
|
22
|
+
execute: r,
|
|
23
|
+
apiStatus: t,
|
|
24
|
+
error: p,
|
|
25
|
+
isPending: _
|
|
26
|
+
} = y({
|
|
27
|
+
service: () => n({ id: i, expanded: !0 })
|
|
28
|
+
});
|
|
29
|
+
return { subscription: c, apiStatus: t, error: p, get: r, isPending: _ };
|
|
30
|
+
}
|
|
31
|
+
const S = (i) => i.original_pricing_id ?? i.id, g = (i) => i.original_pricing_item_id ?? i.id, e = (i) => i.original_pricing_item_config_id ?? i.id, h = (i, n) => (i == null ? void 0 : i.type) === (n == null ? void 0 : n.type) && (i == null ? void 0 : i.value) === (n == null ? void 0 : n.value);
|
|
32
|
+
function u(i) {
|
|
33
|
+
const n = {};
|
|
34
|
+
for (const c in i)
|
|
35
|
+
i[c] !== void 0 && (n[c] = i[c]);
|
|
36
|
+
return n;
|
|
37
|
+
}
|
|
38
|
+
function l(i, n, c) {
|
|
39
|
+
if (!(n != null && n.length))
|
|
40
|
+
return i;
|
|
41
|
+
if (!(i != null && i.length))
|
|
42
|
+
return n;
|
|
43
|
+
const r = /* @__PURE__ */ new Set();
|
|
44
|
+
return [...i.reduce((p, _) => {
|
|
45
|
+
const d = n.find(
|
|
46
|
+
(o) => e(o) === e(_)
|
|
47
|
+
);
|
|
48
|
+
return d ? (r.add(d), [...p, P(_, d)]) : c.dropUnmatched ? p : [...p, _];
|
|
49
|
+
}, []), ...n.filter((p) => !r.has(p))];
|
|
50
|
+
}
|
|
51
|
+
function m(i, n, c) {
|
|
52
|
+
return n != null && n.length ? i != null && i.length ? [
|
|
53
|
+
...i.map((r) => {
|
|
54
|
+
const t = n.find(
|
|
55
|
+
(p) => h(p.billing_period, r.billing_period)
|
|
56
|
+
);
|
|
57
|
+
return t ? {
|
|
58
|
+
...r,
|
|
59
|
+
configs: l(r.configs, t.configs, c) ?? []
|
|
60
|
+
} : r;
|
|
61
|
+
}),
|
|
62
|
+
...n.filter(
|
|
63
|
+
(r) => !i.some(
|
|
64
|
+
(t) => h(r.billing_period, t.billing_period)
|
|
65
|
+
)
|
|
66
|
+
)
|
|
67
|
+
] : n : i;
|
|
68
|
+
}
|
|
69
|
+
function w(i, n, c) {
|
|
70
|
+
return n != null && n.length ? i != null && i.length ? [
|
|
71
|
+
...i.map((r) => {
|
|
72
|
+
const t = n.find(
|
|
73
|
+
(p) => p.currency === r.currency
|
|
74
|
+
);
|
|
75
|
+
return t ? {
|
|
76
|
+
...r,
|
|
77
|
+
...u(t),
|
|
78
|
+
configs: l(r.configs, t.configs, c),
|
|
79
|
+
billing_period_configs: m(
|
|
80
|
+
r.billing_period_configs,
|
|
81
|
+
t.billing_period_configs,
|
|
82
|
+
c
|
|
83
|
+
)
|
|
84
|
+
} : r;
|
|
85
|
+
}),
|
|
86
|
+
...n.filter(
|
|
87
|
+
(r) => !i.some((t) => t.currency === r.currency)
|
|
88
|
+
)
|
|
89
|
+
] : n : i;
|
|
90
|
+
}
|
|
91
|
+
function P(i, n) {
|
|
92
|
+
const c = { dropUnmatched: !1 };
|
|
93
|
+
return {
|
|
94
|
+
...i,
|
|
95
|
+
...u(n),
|
|
96
|
+
// The customized config is the one the rest of the schedule points at — markups reference
|
|
97
|
+
// it by id, and so do `included_volumes` and `seats_values`.
|
|
98
|
+
id: n.id ?? i.id,
|
|
99
|
+
original_pricing_item_config_id: e(i),
|
|
100
|
+
conditions: i.conditions && n.conditions ? {
|
|
101
|
+
...i.conditions,
|
|
102
|
+
...u(n.conditions),
|
|
103
|
+
// Only the expanded version names the meter properties a condition reads.
|
|
104
|
+
meter_properties: i.conditions.meter_properties ?? n.conditions.meter_properties,
|
|
105
|
+
configs: l(
|
|
106
|
+
i.conditions.configs,
|
|
107
|
+
n.conditions.configs,
|
|
108
|
+
c
|
|
109
|
+
)
|
|
110
|
+
} : n.conditions ?? i.conditions,
|
|
111
|
+
billing_period_configs: m(
|
|
112
|
+
i.billing_period_configs,
|
|
113
|
+
n.billing_period_configs,
|
|
114
|
+
c
|
|
115
|
+
)
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function U(i, n) {
|
|
119
|
+
const c = { dropUnmatched: n.override === "ALL" };
|
|
120
|
+
return {
|
|
121
|
+
...i,
|
|
122
|
+
...u(n),
|
|
123
|
+
id: n.id ?? i.id,
|
|
124
|
+
original_pricing_item_id: g(i),
|
|
125
|
+
// Product items are expanded onto the plan version only; an override never repeats them.
|
|
126
|
+
product_items: i.product_items,
|
|
127
|
+
configs: l(i.configs, n.configs, c),
|
|
128
|
+
billing_period_configs: m(
|
|
129
|
+
i.billing_period_configs,
|
|
130
|
+
n.billing_period_configs,
|
|
131
|
+
c
|
|
132
|
+
),
|
|
133
|
+
pricing_currency_configs: w(
|
|
134
|
+
i.pricing_currency_configs,
|
|
135
|
+
n.pricing_currency_configs,
|
|
136
|
+
c
|
|
137
|
+
)
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function a(i, n, c) {
|
|
141
|
+
if (!(n != null && n.length))
|
|
142
|
+
return i;
|
|
143
|
+
if (!(i != null && i.length))
|
|
144
|
+
return n;
|
|
145
|
+
const r = /* @__PURE__ */ new Set();
|
|
146
|
+
return [...i.reduce((p, _) => {
|
|
147
|
+
const d = n.find(
|
|
148
|
+
(o) => g(o) === g(_)
|
|
149
|
+
);
|
|
150
|
+
return d ? (r.add(d), [...p, U(_, d)]) : c.dropUnmatched ? p : [...p, _];
|
|
151
|
+
}, []), ...n.filter((p) => !r.has(p))];
|
|
152
|
+
}
|
|
153
|
+
function A(i, n) {
|
|
154
|
+
return n != null && n.length ? n.map((c) => {
|
|
155
|
+
var t;
|
|
156
|
+
const r = (t = i == null ? void 0 : i.find(
|
|
157
|
+
(p) => p.feature_id === c.feature_id
|
|
158
|
+
)) == null ? void 0 : t.feature;
|
|
159
|
+
return r ? { ...c, feature: r } : c;
|
|
160
|
+
}) : i;
|
|
161
|
+
}
|
|
162
|
+
function L(i, n) {
|
|
163
|
+
const c = { dropUnmatched: n.override === "ALL" };
|
|
164
|
+
return {
|
|
165
|
+
...i,
|
|
166
|
+
...u(n),
|
|
167
|
+
// The customized pricing takes over the original's place, so it has to answer to the id the
|
|
168
|
+
// schedule enables it under — `getEnabledPricingIds` returns the override's id, and add-ons
|
|
169
|
+
// not matching one of those are filtered out of the rendered plan version.
|
|
170
|
+
id: n.id ?? i.id,
|
|
171
|
+
original_pricing_id: S(i),
|
|
172
|
+
// Products are expanded onto the plan version only; an override never repeats them.
|
|
173
|
+
products: i.products,
|
|
174
|
+
entitlements: A(i.entitlements, n.entitlements),
|
|
175
|
+
items: a(i.items, n.items, c)
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
function s(i, n) {
|
|
179
|
+
return i.map((c) => {
|
|
180
|
+
const r = n.find(
|
|
181
|
+
(t) => t.original_pricing_id === S(c)
|
|
182
|
+
);
|
|
183
|
+
return r ? L(c, r) : c;
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
function f({
|
|
187
|
+
pricingPlanVersion: i,
|
|
188
|
+
overridePricings: n
|
|
189
|
+
}) {
|
|
190
|
+
var r;
|
|
191
|
+
const c = n ?? [];
|
|
192
|
+
return c.length ? {
|
|
193
|
+
...i,
|
|
194
|
+
pricing_categories: (r = i.pricing_categories) == null ? void 0 : r.map(
|
|
195
|
+
(t) => {
|
|
196
|
+
var p;
|
|
197
|
+
return {
|
|
198
|
+
...t,
|
|
199
|
+
pricings: t.pricings && s(t.pricings, c),
|
|
200
|
+
pricing_groups: (p = t.pricing_groups) == null ? void 0 : p.map((_) => ({
|
|
201
|
+
..._,
|
|
202
|
+
pricings: s(_.pricings, c)
|
|
203
|
+
}))
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
)
|
|
207
|
+
} : i;
|
|
208
|
+
}
|
|
209
|
+
const x = (i) => {
|
|
210
|
+
var n;
|
|
211
|
+
return f({
|
|
212
|
+
pricingPlanVersion: i.pricing_plan_version,
|
|
213
|
+
overridePricings: (n = i.pricing_plan_schedule) == null ? void 0 : n.override_pricings
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
function D(i) {
|
|
217
|
+
return i.pricing_plan_schedule_infos.map((n) => ({
|
|
218
|
+
schedule: n.pricing_plan_schedule,
|
|
219
|
+
selectedPricingPlan: n.pricing_plan_version.pricing_plan,
|
|
220
|
+
selectedPricingPlanVersion: x(n)
|
|
221
|
+
}));
|
|
222
|
+
}
|
|
223
|
+
function j(i) {
|
|
224
|
+
return ((i == null ? void 0 : i.override_pricings) ?? []).length > 0;
|
|
225
|
+
}
|
|
226
|
+
export {
|
|
227
|
+
k as a,
|
|
228
|
+
D as g,
|
|
229
|
+
j as h,
|
|
230
|
+
W as i,
|
|
231
|
+
z as u,
|
|
232
|
+
x as w
|
|
233
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { c as s, u as o, b as r } from "./customElements-Di3zwlEU.mjs";
|
|
2
|
+
function u() {
|
|
3
|
+
const n = s(), i = o();
|
|
4
|
+
async function c({
|
|
5
|
+
scheduleId: e
|
|
6
|
+
}) {
|
|
7
|
+
return n({
|
|
8
|
+
url: r(
|
|
9
|
+
i.apiUrls.config,
|
|
10
|
+
"portal",
|
|
11
|
+
"pricing-plan-schedules",
|
|
12
|
+
e,
|
|
13
|
+
"on-demand-pricing-items"
|
|
14
|
+
)
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function t({
|
|
18
|
+
pricingPlanSubscriptionId: e,
|
|
19
|
+
enabledPricings: a
|
|
20
|
+
}) {
|
|
21
|
+
return n({
|
|
22
|
+
url: r(i.apiUrls.config, "portal", "pricing-plan-schedules"),
|
|
23
|
+
options: { method: "POST" },
|
|
24
|
+
data: {
|
|
25
|
+
pricing_plan_subscription_id: e,
|
|
26
|
+
enabled_pricings: a,
|
|
27
|
+
start_at: (/* @__PURE__ */ new Date()).toJSON()
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
getOnDemandPricingItems: c,
|
|
33
|
+
createPricingPlanSchedule: t
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
u as c
|
|
38
|
+
};
|
|
@@ -1,113 +1,120 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
3
|
-
import { C as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { a as
|
|
16
|
-
|
|
17
|
-
const
|
|
1
|
+
import { computed as d, watch as O, defineComponent as C, openBlock as v, createBlock as f, unref as e, withCtx as g, createVNode as h, createCommentVNode as b } from "vue";
|
|
2
|
+
import { A as L } from "../../ApiStatus-CSFKl_ra.mjs";
|
|
3
|
+
import { C as I } from "../../ContentWithAsideLayout-BCM8tmZN.mjs";
|
|
4
|
+
import { u as M, _ as B } from "../../useInvoicesList-Y6p0Pqpy.mjs";
|
|
5
|
+
import { u as N } from "../../usePortal-CxzKGhbK.mjs";
|
|
6
|
+
import { u as T, _ as $ } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs";
|
|
7
|
+
import { u as E } from "../../useCustomer-C3kTh7wn.mjs";
|
|
8
|
+
import { u as P } from "../../usePaymentMethods-gvr-rmwE.mjs";
|
|
9
|
+
import { _ as U } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs";
|
|
10
|
+
import { u as j } from "../../useLoadInitialData-4k_Cyqef.mjs";
|
|
11
|
+
import { _ as x } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs";
|
|
12
|
+
import { D } from "../../CustomerPaymentMethods.lib-B_753rau.mjs";
|
|
13
|
+
import { u as W, _ as F } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs";
|
|
14
|
+
import { d as k, e as R, g as V, f as H } from "../../customElements-Di3zwlEU.mjs";
|
|
15
|
+
import { a as z } from "../../pricingPlanSchedule-BPrS2WRd.mjs";
|
|
16
|
+
function X(a) {
|
|
17
|
+
const l = k(), m = d(() => z(a.value));
|
|
18
|
+
O([m, a], ([o, t]) => {
|
|
19
|
+
o || t.length === 0 || l.warn("ACTIVE_SCHEDULE_NOT_FOUND", "No schedule is currently being billed", {
|
|
20
|
+
schedules: t.flatMap(
|
|
21
|
+
({ pricing_plan_schedule_infos: s }) => (s ?? []).map(
|
|
22
|
+
({ id: r, type: n, start_at: i, end_at: _, ...y }) => {
|
|
23
|
+
var p;
|
|
24
|
+
return {
|
|
25
|
+
id: r,
|
|
26
|
+
type: ((p = y.pricing_plan_schedule) == null ? void 0 : p.type) ?? n,
|
|
27
|
+
start_at: i,
|
|
28
|
+
end_at: _
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
)
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
const q = 2, G = /* @__PURE__ */ C({
|
|
18
37
|
__name: "CustomerOverview",
|
|
19
38
|
props: {
|
|
20
39
|
configuration: { type: Object }
|
|
21
40
|
},
|
|
22
|
-
setup(
|
|
41
|
+
setup(a) {
|
|
23
42
|
var w;
|
|
24
|
-
const
|
|
43
|
+
const l = a, o = (w = N().value) == null ? void 0 : w.customer_id, t = E({ customerId: o }), s = M({ customerId: o, batchSize: 5 }), r = T({ customerId: o }), n = P({ customerId: o }), i = W({ customerId: o }), _ = d(
|
|
25
44
|
() => {
|
|
26
|
-
var
|
|
27
|
-
return ((
|
|
45
|
+
var c;
|
|
46
|
+
return ((c = i.walletBalances.value) == null ? void 0 : c.wallet_balances) ?? [];
|
|
28
47
|
}
|
|
29
|
-
),
|
|
48
|
+
), y = d(() => r.items.value.slice(0, q)), p = d(
|
|
30
49
|
() => {
|
|
31
|
-
var
|
|
32
|
-
return n.items.value.slice(0, ((
|
|
50
|
+
var c;
|
|
51
|
+
return n.items.value.slice(0, ((c = l.configuration) == null ? void 0 : c.maxItems) ?? D);
|
|
33
52
|
}
|
|
34
|
-
), { isLoading:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
53
|
+
), { isLoading: u } = j(
|
|
54
|
+
t.get.execute(),
|
|
55
|
+
s.fetchInitial(),
|
|
56
|
+
r.fetchAll(),
|
|
38
57
|
n.fetchAll(),
|
|
39
|
-
|
|
40
|
-
),
|
|
58
|
+
i.fetch()
|
|
59
|
+
), A = () => {
|
|
41
60
|
n.fetchAll();
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
({ pricing_plan_schedule_infos: B }) => (B ?? []).map(({ id: N, type: T, start_at: $, end_at: E, ...U }) => {
|
|
49
|
-
var S;
|
|
50
|
-
return {
|
|
51
|
-
id: N,
|
|
52
|
-
type: ((S = U.pricing_plan_schedule) == null ? void 0 : S.type) ?? T,
|
|
53
|
-
start_at: $,
|
|
54
|
-
end_at: E
|
|
55
|
-
};
|
|
56
|
-
})
|
|
57
|
-
)
|
|
58
|
-
});
|
|
59
|
-
}), (t, y) => (d(), v(e(x), { class: "sv-customer-overview sv-root sv-screen" }, {
|
|
60
|
-
header: f(() => [
|
|
61
|
-
e(s).customer.value ? (d(), v(z, {
|
|
61
|
+
}, S = () => {
|
|
62
|
+
i.fetch();
|
|
63
|
+
};
|
|
64
|
+
return X(r.items), (c, K) => (v(), f(e(I), { class: "sv-customer-overview sv-root sv-screen" }, {
|
|
65
|
+
header: g(() => [
|
|
66
|
+
e(t).customer.value ? (v(), f($, {
|
|
62
67
|
key: 0,
|
|
63
68
|
class: "sv-customer-overview__subscriptions",
|
|
64
|
-
customer: e(
|
|
65
|
-
subscriptions:
|
|
69
|
+
customer: e(t).customer.value,
|
|
70
|
+
subscriptions: y.value,
|
|
66
71
|
"payment-methods": e(n).items.value,
|
|
67
|
-
"is-loading": e(
|
|
68
|
-
|
|
72
|
+
"is-loading": e(u),
|
|
73
|
+
"has-error": !!e(r).error.value
|
|
74
|
+
}, null, 8, ["customer", "subscriptions", "payment-methods", "is-loading", "has-error"])) : b("", !0)
|
|
69
75
|
]),
|
|
70
|
-
content:
|
|
71
|
-
|
|
76
|
+
content: g(() => [
|
|
77
|
+
h(B, {
|
|
72
78
|
class: "sv-customer-overview__invoices",
|
|
73
|
-
invoices: e(
|
|
74
|
-
"has-more-items": e(
|
|
75
|
-
"is-loading": e(
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
invoices: e(s).items.value,
|
|
80
|
+
"has-more-items": e(s).hasNextBatch.value,
|
|
81
|
+
"is-loading": e(u) || e(s).isPending.value,
|
|
82
|
+
error: e(s).error.value,
|
|
83
|
+
onLoadMore: e(s).fetchMore
|
|
84
|
+
}, null, 8, ["invoices", "has-more-items", "is-loading", "error", "onLoadMore"])
|
|
78
85
|
]),
|
|
79
|
-
aside:
|
|
80
|
-
|
|
86
|
+
aside: g(() => [
|
|
87
|
+
h(F, {
|
|
81
88
|
class: "sv-customer-overview__wallet-balances",
|
|
82
|
-
"has-error": e(
|
|
83
|
-
"is-loading": e(
|
|
84
|
-
"wallet-balances":
|
|
89
|
+
"has-error": e(i).apiStatus.value === e(L).Failed,
|
|
90
|
+
"is-loading": e(u),
|
|
91
|
+
"wallet-balances": _.value,
|
|
85
92
|
"show-top-up-button": "",
|
|
86
|
-
customer: e(
|
|
93
|
+
customer: e(t).customer.value,
|
|
87
94
|
"payment-methods": e(n).items.value,
|
|
88
|
-
subscriptions: e(
|
|
89
|
-
onTopUpCharged:
|
|
90
|
-
onAutoTopUpSaved:
|
|
91
|
-
onAutoTopUpCancelled:
|
|
92
|
-
onPaymentMethodStored:
|
|
95
|
+
subscriptions: e(r).items.value,
|
|
96
|
+
onTopUpCharged: S,
|
|
97
|
+
onAutoTopUpSaved: S,
|
|
98
|
+
onAutoTopUpCancelled: S,
|
|
99
|
+
onPaymentMethodStored: A
|
|
93
100
|
}, null, 8, ["has-error", "is-loading", "wallet-balances", "customer", "payment-methods", "subscriptions"]),
|
|
94
|
-
|
|
101
|
+
h(x, {
|
|
95
102
|
class: "sv-customer-overview__payment-methods",
|
|
96
|
-
configuration:
|
|
97
|
-
"is-loading": e(
|
|
98
|
-
"payment-methods":
|
|
103
|
+
configuration: a.configuration,
|
|
104
|
+
"is-loading": e(u),
|
|
105
|
+
"payment-methods": p.value
|
|
99
106
|
}, null, 8, ["configuration", "is-loading", "payment-methods"]),
|
|
100
|
-
e(
|
|
107
|
+
e(t).customer.value ? (v(), f(U, {
|
|
101
108
|
key: 0,
|
|
102
109
|
class: "sv-customer-overview__billing-information",
|
|
103
|
-
"is-loading": e(
|
|
104
|
-
customer: e(
|
|
110
|
+
"is-loading": e(u),
|
|
111
|
+
customer: e(t).customer.value
|
|
105
112
|
}, null, 8, ["is-loading", "customer"])) : b("", !0)
|
|
106
113
|
]),
|
|
107
114
|
_: 1
|
|
108
115
|
}));
|
|
109
116
|
}
|
|
110
|
-
}),
|
|
117
|
+
}), J = /* @__PURE__ */ C({
|
|
111
118
|
__name: "CustomerOverview.entry",
|
|
112
119
|
props: {
|
|
113
120
|
environment: { type: String },
|
|
@@ -126,24 +133,24 @@ const oe = 2, se = /* @__PURE__ */ C({
|
|
|
126
133
|
branding: { type: Object },
|
|
127
134
|
configuration: { type: Object }
|
|
128
135
|
},
|
|
129
|
-
setup(
|
|
130
|
-
const
|
|
131
|
-
return (
|
|
132
|
-
entry:
|
|
133
|
-
"component-name": e(
|
|
136
|
+
setup(a) {
|
|
137
|
+
const l = V("customer-overview");
|
|
138
|
+
return (m, o) => (v(), f(e(R), {
|
|
139
|
+
entry: m.$props,
|
|
140
|
+
"component-name": e(l),
|
|
134
141
|
"allowed-portal-types": ["CUSTOMER"],
|
|
135
|
-
onError:
|
|
142
|
+
onError: o[0] || (o[0] = (t) => m.$emit("error", t))
|
|
136
143
|
}, {
|
|
137
|
-
default:
|
|
138
|
-
|
|
144
|
+
default: g(() => [
|
|
145
|
+
h(G, { configuration: a.configuration }, null, 8, ["configuration"])
|
|
139
146
|
]),
|
|
140
147
|
_: 1
|
|
141
148
|
}, 8, ["entry", "component-name"]));
|
|
142
149
|
}
|
|
143
|
-
}), { define:
|
|
144
|
-
|
|
150
|
+
}), { define: pe } = H(
|
|
151
|
+
J,
|
|
145
152
|
"customer-overview"
|
|
146
153
|
);
|
|
147
154
|
export {
|
|
148
|
-
|
|
155
|
+
pe as defineSolvimonCustomerOverview
|
|
149
156
|
};
|