@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,203 @@
|
|
|
1
|
+
import { computed as o, defineComponent as x, toRefs as _, openBlock as u, createElementBlock as v, withModifiers as P, normalizeClass as d, createElementVNode as m, unref as c, withDirectives as V, vModelCheckbox as T, renderSlot as z, createCommentVNode as f, watch as $, toValue as N, onUnmounted as I, createBlock as y, createVNode as M, withCtx as h, createTextVNode as b, toDisplayString as w, Fragment as j } from "vue";
|
|
2
|
+
import { _ as D } from "./Avatar.vue.es-Beg7umjO.mjs";
|
|
3
|
+
import { a as R, _ as k } from "./customElements-Di3zwlEU.mjs";
|
|
4
|
+
import { g as E, a as F, f as O } from "./subscription-BhxoqwcT.mjs";
|
|
5
|
+
import { g as U } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs";
|
|
6
|
+
const A = {
|
|
7
|
+
"w-fit": !0,
|
|
8
|
+
relative: !0,
|
|
9
|
+
"inline-flex": !0,
|
|
10
|
+
"items-center": !0
|
|
11
|
+
}, L = "grow text-sm font-medium text-default", W = {
|
|
12
|
+
xl: "w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",
|
|
13
|
+
lg: "w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",
|
|
14
|
+
md: "w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",
|
|
15
|
+
sm: "w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",
|
|
16
|
+
xs: "w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"
|
|
17
|
+
}, q = {
|
|
18
|
+
red: "peer-focus:ring-red-300 peer-checked:bg-red-600",
|
|
19
|
+
green: "peer-focus:ring-green-300 peer-checked:bg-green-600",
|
|
20
|
+
purple: "peer-focus:ring-purple-300 peer-checked:bg-purple-600",
|
|
21
|
+
yellow: "peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",
|
|
22
|
+
teal: "peer-focus:ring-teal-300 peer-checked:bg-teal-600",
|
|
23
|
+
orange: "peer-focus:ring-orange-300 peer-checked:bg-orange-500"
|
|
24
|
+
}, G = (e) => {
|
|
25
|
+
const a = o(() => {
|
|
26
|
+
var r, t;
|
|
27
|
+
return {
|
|
28
|
+
...A,
|
|
29
|
+
"cursor-pointer": !((r = e.disabled) != null && r.value),
|
|
30
|
+
"cursor-default": !!((t = e.disabled) != null && t.value)
|
|
31
|
+
};
|
|
32
|
+
}), s = o(() => {
|
|
33
|
+
var r, t;
|
|
34
|
+
return {
|
|
35
|
+
'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all': !0,
|
|
36
|
+
"bg-gray-200 peer-checked:bg-primary-600 after:bg-white": !((r = e.disabled) != null && r.value),
|
|
37
|
+
"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200": (t = e.disabled) == null ? void 0 : t.value
|
|
38
|
+
};
|
|
39
|
+
}), n = o(() => W[e.size.value]), l = o(() => q[e.color.value]), i = o(() => L);
|
|
40
|
+
return {
|
|
41
|
+
labelClasses: a,
|
|
42
|
+
toggleSize: n,
|
|
43
|
+
toggleClasses: s,
|
|
44
|
+
toggleColor: l,
|
|
45
|
+
toggleBallClasses: i
|
|
46
|
+
};
|
|
47
|
+
}, H = ["disabled"], ee = /* @__PURE__ */ x({
|
|
48
|
+
__name: "Toggle",
|
|
49
|
+
props: {
|
|
50
|
+
modelValue: { type: Boolean, default: !1 },
|
|
51
|
+
labelPosition: { default: "after" },
|
|
52
|
+
size: { default: "md" },
|
|
53
|
+
disabled: { type: Boolean, default: !1 },
|
|
54
|
+
color: { default: "" },
|
|
55
|
+
hasBackground: { type: Boolean, default: !1 },
|
|
56
|
+
noSpacing: { type: Boolean, default: !1 }
|
|
57
|
+
},
|
|
58
|
+
emits: ["update:modelValue"],
|
|
59
|
+
setup(e, { emit: a }) {
|
|
60
|
+
const s = e, n = a, l = o({
|
|
61
|
+
get() {
|
|
62
|
+
return s.modelValue;
|
|
63
|
+
},
|
|
64
|
+
set(g) {
|
|
65
|
+
n("update:modelValue", g);
|
|
66
|
+
}
|
|
67
|
+
}), { labelClasses: i, toggleSize: r, toggleClasses: t, toggleColor: C, toggleBallClasses: B } = G(_(s));
|
|
68
|
+
return (g, p) => (u(), v("label", {
|
|
69
|
+
class: d(["inline-flex items-center gap-1.5", {
|
|
70
|
+
"flex-row-reverse": e.labelPosition === "before",
|
|
71
|
+
"rounded border-l-4 border-gray-200 bg-gray-50": e.hasBackground,
|
|
72
|
+
"p-2": !e.noSpacing
|
|
73
|
+
}]),
|
|
74
|
+
onClick: p[1] || (p[1] = P(() => {
|
|
75
|
+
}, ["stop"]))
|
|
76
|
+
}, [
|
|
77
|
+
m("div", {
|
|
78
|
+
class: d(c(i))
|
|
79
|
+
}, [
|
|
80
|
+
V(m("input", {
|
|
81
|
+
"onUpdate:modelValue": p[0] || (p[0] = (S) => l.value = S),
|
|
82
|
+
disabled: e.disabled,
|
|
83
|
+
class: "peer sr-only",
|
|
84
|
+
type: "checkbox"
|
|
85
|
+
}, null, 8, H), [
|
|
86
|
+
[T, l.value]
|
|
87
|
+
]),
|
|
88
|
+
m("span", {
|
|
89
|
+
class: d([c(t), c(r), c(C)])
|
|
90
|
+
}, null, 2)
|
|
91
|
+
], 2),
|
|
92
|
+
g.$slots["inline-label"] ? (u(), v("span", {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: d(c(B))
|
|
95
|
+
}, [
|
|
96
|
+
z(g.$slots, "inline-label")
|
|
97
|
+
], 2)) : f("", !0)
|
|
98
|
+
], 2));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
function te(e, a, s) {
|
|
102
|
+
let n;
|
|
103
|
+
$(
|
|
104
|
+
e,
|
|
105
|
+
(l, i) => {
|
|
106
|
+
clearTimeout(n);
|
|
107
|
+
const r = N(s.debounce);
|
|
108
|
+
if (r <= 0) {
|
|
109
|
+
a(l, i);
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
n = setTimeout(() => a(l, i), r);
|
|
113
|
+
},
|
|
114
|
+
{ deep: s.deep }
|
|
115
|
+
), I(() => clearTimeout(n));
|
|
116
|
+
}
|
|
117
|
+
const J = ["title"], ae = /* @__PURE__ */ x({
|
|
118
|
+
__name: "SubscriptionSummary",
|
|
119
|
+
props: {
|
|
120
|
+
subscription: { type: Object },
|
|
121
|
+
enabledPricingIds: { type: Array },
|
|
122
|
+
avatar: { type: String },
|
|
123
|
+
noSpacing: { type: Boolean }
|
|
124
|
+
},
|
|
125
|
+
setup(e) {
|
|
126
|
+
const a = e, { $t: s } = R(), n = o(() => E(a.subscription)), l = o(
|
|
127
|
+
() => F({
|
|
128
|
+
subscription: a.subscription,
|
|
129
|
+
fallback: s({
|
|
130
|
+
defaultMessage: "Subscription",
|
|
131
|
+
description: "The fallback name for when no subscription name can be determined",
|
|
132
|
+
id: "customer_overview.subscriptions_block.fallback_subscription_name"
|
|
133
|
+
})
|
|
134
|
+
})
|
|
135
|
+
), i = o(
|
|
136
|
+
() => {
|
|
137
|
+
var t;
|
|
138
|
+
return a.subscription.description || ((t = n.value) == null ? void 0 : t.description);
|
|
139
|
+
}
|
|
140
|
+
), r = o(() => {
|
|
141
|
+
if (!a.subscription || !a.enabledPricingIds)
|
|
142
|
+
return;
|
|
143
|
+
const t = O(a.subscription, a.enabledPricingIds);
|
|
144
|
+
return t == null ? void 0 : t.map(U).join(" - ");
|
|
145
|
+
});
|
|
146
|
+
return (t, C) => (u(), v("div", {
|
|
147
|
+
class: d(["flex flex-row gap-3", e.noSpacing ? void 0 : "px-3 py-2"])
|
|
148
|
+
}, [
|
|
149
|
+
e.avatar ? (u(), y(c(D), {
|
|
150
|
+
key: 0,
|
|
151
|
+
"image-src": e.avatar,
|
|
152
|
+
size: "lg",
|
|
153
|
+
class: "my-1"
|
|
154
|
+
}, null, 8, ["image-src"])) : f("", !0),
|
|
155
|
+
m("div", {
|
|
156
|
+
class: "min-w-0 grow",
|
|
157
|
+
title: l.value
|
|
158
|
+
}, [
|
|
159
|
+
M(c(k), {
|
|
160
|
+
variant: "body",
|
|
161
|
+
weight: "semibold",
|
|
162
|
+
"no-spacing": "",
|
|
163
|
+
class: "truncate"
|
|
164
|
+
}, {
|
|
165
|
+
default: h(() => [
|
|
166
|
+
b(w(l.value), 1)
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}),
|
|
170
|
+
r.value ? (u(), y(c(k), {
|
|
171
|
+
key: 0,
|
|
172
|
+
variant: "body-xs",
|
|
173
|
+
color: "subtle",
|
|
174
|
+
"no-spacing": ""
|
|
175
|
+
}, {
|
|
176
|
+
default: h(() => [
|
|
177
|
+
b(w(r.value), 1)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
})) : f("", !0),
|
|
181
|
+
i.value ? (u(), y(c(k), {
|
|
182
|
+
key: 1,
|
|
183
|
+
variant: "body-xs",
|
|
184
|
+
color: "subtle",
|
|
185
|
+
"no-spacing": ""
|
|
186
|
+
}, {
|
|
187
|
+
default: h(() => [
|
|
188
|
+
r.value ? (u(), v(j, { key: 0 }, [
|
|
189
|
+
b(" • ")
|
|
190
|
+
], 64)) : f("", !0),
|
|
191
|
+
b(" " + w(i.value), 1)
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})) : f("", !0)
|
|
195
|
+
], 8, J)
|
|
196
|
+
], 2));
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
export {
|
|
200
|
+
ee as _,
|
|
201
|
+
ae as a,
|
|
202
|
+
te as u
|
|
203
|
+
};
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { c as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
1
|
+
import { u as S } from "./useIncrementalLoading-C_sHmW7d.mjs";
|
|
2
|
+
import { c as $ } from "./subscriptions-CwogJODR.mjs";
|
|
3
|
+
import { defineComponent as B, computed as f, openBlock as i, createBlock as l, unref as s, withCtx as n, createElementVNode as w, createVNode as y, createTextVNode as d, toDisplayString as m, createCommentVNode as p, createElementBlock as g, createSlots as V, Fragment as L, renderList as A } from "vue";
|
|
4
|
+
import { _ as k } from "./Button.vue.es-rh6mITmN.mjs";
|
|
5
|
+
import { _ as D } from "./ErrorNotification.vue.es-CKlt4hr2.mjs";
|
|
6
|
+
import { _ as M } from "./Section.vue.es-iS8hVGWA.mjs";
|
|
7
|
+
import { a as x, _ as h } from "./customElements-Di3zwlEU.mjs";
|
|
8
|
+
import { _ as T } from "./PaymentMethod.vue.es-Cauxx4Xr.mjs";
|
|
9
|
+
import { g as I, a as E } from "./subscription-BhxoqwcT.mjs";
|
|
10
|
+
import { _ as N } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
11
|
+
import { u as P } from "./useActionDispatchProvider-DC_fUykI.mjs";
|
|
12
|
+
function it({
|
|
12
13
|
customerId: t,
|
|
13
|
-
batchSize:
|
|
14
|
+
batchSize: r = 15
|
|
14
15
|
}) {
|
|
15
|
-
const e =
|
|
16
|
-
return
|
|
16
|
+
const e = $();
|
|
17
|
+
return S({ service: async (b) => e.getActiveSubscriptions({
|
|
17
18
|
customerId: t,
|
|
18
|
-
pagination: { page:
|
|
19
|
+
pagination: { page: b, pageSize: r }
|
|
19
20
|
}) });
|
|
20
21
|
}
|
|
21
|
-
const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row" },
|
|
22
|
+
const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row" }, j = { class: "sv-subscriptions-list__item-content grow" }, z = { class: "sv-subscriptions-list__item-meta mt-4 flex items-center gap-6" }, O = {
|
|
22
23
|
key: 1,
|
|
23
24
|
class: "sv-subscriptions-list__item-next-invoice flex gap-1"
|
|
24
|
-
},
|
|
25
|
+
}, R = { class: "sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row" }, F = /* @__PURE__ */ B({
|
|
25
26
|
__name: "SubscriptionsListItem",
|
|
26
27
|
props: {
|
|
27
28
|
subscription: { type: Object },
|
|
@@ -31,36 +32,36 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
31
32
|
},
|
|
32
33
|
emits: ["view-subscription-details"],
|
|
33
34
|
setup(t) {
|
|
34
|
-
const
|
|
35
|
-
() =>
|
|
36
|
-
subscription:
|
|
35
|
+
const r = t, { $t: e, formatDate: a } = x(), b = f(() => I(r.subscription)), v = f(
|
|
36
|
+
() => E({
|
|
37
|
+
subscription: r.subscription,
|
|
37
38
|
fallback: e({
|
|
38
39
|
defaultMessage: "Subscription",
|
|
39
40
|
description: "The fallback name for when no subscription name can be determined",
|
|
40
41
|
id: "customer_overview.subscriptions_block.fallback_subscription_name"
|
|
41
42
|
})
|
|
42
43
|
})
|
|
43
|
-
), o =
|
|
44
|
+
), o = f(
|
|
44
45
|
() => {
|
|
45
|
-
var
|
|
46
|
-
return (
|
|
46
|
+
var u;
|
|
47
|
+
return (u = b.value) == null ? void 0 : u.description;
|
|
47
48
|
}
|
|
48
|
-
),
|
|
49
|
-
return (
|
|
49
|
+
), c = f(() => r.showViewSubscriptionDetailsButton);
|
|
50
|
+
return (u, _) => (i(), l(s(M), { class: "sv-subscriptions-list__item" }, {
|
|
50
51
|
default: n(() => [
|
|
51
52
|
w("div", C, [
|
|
52
|
-
w("div",
|
|
53
|
-
|
|
53
|
+
w("div", j, [
|
|
54
|
+
y(s(h), {
|
|
54
55
|
tag: "h3",
|
|
55
56
|
variant: "heading-2",
|
|
56
57
|
class: "sv-subscriptions-list__item-title"
|
|
57
58
|
}, {
|
|
58
59
|
default: n(() => [
|
|
59
|
-
d(
|
|
60
|
+
d(m(v.value), 1)
|
|
60
61
|
]),
|
|
61
62
|
_: 1
|
|
62
63
|
}),
|
|
63
|
-
o.value ? (
|
|
64
|
+
o.value ? (i(), l(s(h), {
|
|
64
65
|
key: 0,
|
|
65
66
|
variant: "body-sm",
|
|
66
67
|
tag: "span",
|
|
@@ -68,26 +69,26 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
68
69
|
class: "sv-subscriptions-list__item-description"
|
|
69
70
|
}, {
|
|
70
71
|
default: n(() => [
|
|
71
|
-
d(
|
|
72
|
+
d(m(o.value), 1)
|
|
72
73
|
]),
|
|
73
74
|
_: 1
|
|
74
|
-
})) :
|
|
75
|
-
w("div",
|
|
76
|
-
t.paymentMethod ? (
|
|
75
|
+
})) : p("", !0),
|
|
76
|
+
w("div", z, [
|
|
77
|
+
t.paymentMethod ? (i(), l(s(T), {
|
|
77
78
|
key: 0,
|
|
78
79
|
variant: "condensed",
|
|
79
80
|
class: "sv-payment-methods__item",
|
|
80
81
|
"payment-method": t.paymentMethod
|
|
81
|
-
}, null, 8, ["payment-method"])) :
|
|
82
|
-
t.subscription.next_invoice ? (
|
|
83
|
-
|
|
82
|
+
}, null, 8, ["payment-method"])) : p("", !0),
|
|
83
|
+
t.subscription.next_invoice ? (i(), g("div", O, [
|
|
84
|
+
y(s(h), {
|
|
84
85
|
tag: "span",
|
|
85
86
|
variant: "body-xs",
|
|
86
87
|
color: "secondary",
|
|
87
88
|
weight: "semibold"
|
|
88
89
|
}, {
|
|
89
90
|
default: n(() => [
|
|
90
|
-
d(
|
|
91
|
+
d(m(s(e)({
|
|
91
92
|
defaultMessage: "Next billing date",
|
|
92
93
|
description: "The label for the next billing date",
|
|
93
94
|
id: "customer.subscriptions_block.next_billing_date"
|
|
@@ -95,13 +96,13 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
95
96
|
]),
|
|
96
97
|
_: 1
|
|
97
98
|
}),
|
|
98
|
-
|
|
99
|
+
y(s(h), {
|
|
99
100
|
tag: "span",
|
|
100
101
|
variant: "body-xs",
|
|
101
102
|
color: "secondary"
|
|
102
103
|
}, {
|
|
103
104
|
default: n(() => [
|
|
104
|
-
d(
|
|
105
|
+
d(m(s(a)({
|
|
105
106
|
date: t.subscription.next_invoice.invoice_date,
|
|
106
107
|
format: "date",
|
|
107
108
|
offsetType: "offsetted",
|
|
@@ -110,52 +111,54 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
110
111
|
]),
|
|
111
112
|
_: 1
|
|
112
113
|
})
|
|
113
|
-
])) :
|
|
114
|
+
])) : p("", !0)
|
|
114
115
|
])
|
|
115
116
|
]),
|
|
116
|
-
w("div",
|
|
117
|
-
|
|
117
|
+
w("div", R, [
|
|
118
|
+
c.value ? (i(), l(s(k), {
|
|
118
119
|
key: 0,
|
|
119
120
|
intent: "primary",
|
|
120
121
|
class: "sv-action sv-action--primary sv-subscriptions-list__item-details w-full md:w-auto",
|
|
121
122
|
type: "button",
|
|
122
|
-
onClick:
|
|
123
|
+
onClick: _[0] || (_[0] = (G) => u.$emit("view-subscription-details", { subscriptionId: t.subscription.id }))
|
|
123
124
|
}, {
|
|
124
125
|
default: n(() => [
|
|
125
|
-
d(
|
|
126
|
+
d(m(s(e)({
|
|
126
127
|
defaultMessage: "Subscription details",
|
|
127
128
|
description: "The label for the subscription details button in the subscriptions block",
|
|
128
129
|
id: "customer.subscriptions_block.show_details_button_label"
|
|
129
130
|
})), 1)
|
|
130
131
|
]),
|
|
131
132
|
_: 1
|
|
132
|
-
})) :
|
|
133
|
+
})) : p("", !0)
|
|
133
134
|
])
|
|
134
135
|
])
|
|
135
136
|
]),
|
|
136
137
|
_: 1
|
|
137
138
|
}));
|
|
138
139
|
}
|
|
139
|
-
}),
|
|
140
|
-
key:
|
|
140
|
+
}), W = {
|
|
141
|
+
key: 2,
|
|
141
142
|
class: "sv-subscriptions-list__items grid grid-cols-1 gap-4"
|
|
142
|
-
}, q = /* @__PURE__ */
|
|
143
|
+
}, q = /* @__PURE__ */ B({
|
|
143
144
|
__name: "SubscriptionsList",
|
|
144
145
|
props: {
|
|
145
146
|
customer: { type: Object },
|
|
146
147
|
subscriptions: { type: Array },
|
|
147
148
|
paymentMethods: { default: () => [], type: Array },
|
|
148
|
-
|
|
149
|
+
hasError: { type: Boolean, default: !1 },
|
|
150
|
+
hasMoreItems: { type: Boolean, default: !1 },
|
|
151
|
+
isLoadingMore: { type: Boolean, default: !1 },
|
|
149
152
|
showViewAllButton: { type: Boolean, default: !0 },
|
|
150
153
|
showViewDetailsButton: { type: Boolean, default: !0 }
|
|
151
154
|
},
|
|
152
155
|
emits: ["view-subscription-details", "view-all-subscriptions", "load-more"],
|
|
153
156
|
setup(t) {
|
|
154
|
-
const
|
|
157
|
+
const r = t, { $t: e } = x(), a = f(() => r.subscriptions.length > 0), b = (o) => {
|
|
155
158
|
if (o)
|
|
156
|
-
return
|
|
157
|
-
},
|
|
158
|
-
return (o,
|
|
159
|
+
return r.paymentMethods.find(({ id: c }) => c === o);
|
|
160
|
+
}, v = f(() => r.showViewAllButton);
|
|
161
|
+
return (o, c) => (i(), l(s(M), {
|
|
159
162
|
class: "sv-subscriptions-list",
|
|
160
163
|
"no-spacing": "",
|
|
161
164
|
"no-border": "",
|
|
@@ -167,28 +170,28 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
167
170
|
},
|
|
168
171
|
{ count: String(t.subscriptions.length) }
|
|
169
172
|
)
|
|
170
|
-
},
|
|
173
|
+
}, V({
|
|
171
174
|
default: n(() => [
|
|
172
|
-
|
|
173
|
-
(a(!0), g(A, null, D(t.subscriptions, (c) => (a(), l(R, {
|
|
174
|
-
key: c.id,
|
|
175
|
-
subscription: c,
|
|
176
|
-
"payment-method": u(c.payment_method_id),
|
|
177
|
-
customer: t.customer,
|
|
178
|
-
"show-view-subscription-details-button": t.showViewDetailsButton,
|
|
179
|
-
onViewSubscriptionDetails: p[1] || (p[1] = (h) => o.$emit("view-subscription-details", h))
|
|
180
|
-
}, null, 8, ["subscription", "payment-method", "customer", "show-view-subscription-details-button"]))), 128))
|
|
181
|
-
])) : (a(), l(s(k), {
|
|
175
|
+
t.hasError ? (i(), l(s(D), {
|
|
182
176
|
key: 0,
|
|
177
|
+
class: "sv-subscriptions-list__error sv-error",
|
|
178
|
+
title: s(e)({
|
|
179
|
+
defaultMessage: "We could not load your subscriptions. Please try again later.",
|
|
180
|
+
description: "Error shown when the subscriptions in the subscriptions block fail to load",
|
|
181
|
+
id: "customer_overview.subscriptions_block.load_error"
|
|
182
|
+
})
|
|
183
|
+
}, null, 8, ["title"])) : p("", !0),
|
|
184
|
+
!a.value && !t.hasError ? (i(), l(s(M), {
|
|
185
|
+
key: 1,
|
|
183
186
|
class: "sv-empty-state sv-subscriptions-list__empty"
|
|
184
187
|
}, {
|
|
185
188
|
default: n(() => [
|
|
186
|
-
|
|
189
|
+
y(s(h), {
|
|
187
190
|
tag: "h3",
|
|
188
191
|
variant: "heading-3"
|
|
189
192
|
}, {
|
|
190
193
|
default: n(() => [
|
|
191
|
-
d(
|
|
194
|
+
d(m(s(e)({
|
|
192
195
|
defaultMessage: "No subscriptions",
|
|
193
196
|
description: "Title for the my subscriptions block on the customer overview page",
|
|
194
197
|
id: "customer_overview.subscriptions_block.no_active_subscription_title"
|
|
@@ -196,12 +199,12 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
196
199
|
]),
|
|
197
200
|
_: 1
|
|
198
201
|
}),
|
|
199
|
-
|
|
202
|
+
y(s(h), {
|
|
200
203
|
variant: "body-xs",
|
|
201
204
|
color: "subtle"
|
|
202
205
|
}, {
|
|
203
206
|
default: n(() => [
|
|
204
|
-
d(
|
|
207
|
+
d(m(s(e)({
|
|
205
208
|
defaultMessage: "There’s no active subscription to display.",
|
|
206
209
|
description: "Text that is being displayed when there is no active subscription in the subscriptions block",
|
|
207
210
|
id: "customer_overview.subscriptions_block.no_active_subscription_content"
|
|
@@ -211,23 +214,50 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
211
214
|
})
|
|
212
215
|
]),
|
|
213
216
|
_: 1
|
|
214
|
-
}))
|
|
217
|
+
})) : a.value ? (i(), g("div", W, [
|
|
218
|
+
(i(!0), g(L, null, A(t.subscriptions, (u) => (i(), l(F, {
|
|
219
|
+
key: u.id,
|
|
220
|
+
subscription: u,
|
|
221
|
+
"payment-method": b(u.payment_method_id),
|
|
222
|
+
customer: t.customer,
|
|
223
|
+
"show-view-subscription-details-button": t.showViewDetailsButton,
|
|
224
|
+
onViewSubscriptionDetails: c[1] || (c[1] = (_) => o.$emit("view-subscription-details", _))
|
|
225
|
+
}, null, 8, ["subscription", "payment-method", "customer", "show-view-subscription-details-button"]))), 128))
|
|
226
|
+
])) : p("", !0),
|
|
227
|
+
t.hasMoreItems ? (i(), l(s(k), {
|
|
228
|
+
key: 3,
|
|
229
|
+
intent: "secondary",
|
|
230
|
+
size: "sm",
|
|
231
|
+
class: "sv-action sv-action--secondary sv-action--full-width sv-subscriptions-list__load-more mt-2 w-full",
|
|
232
|
+
type: "button",
|
|
233
|
+
loading: t.isLoadingMore,
|
|
234
|
+
onClick: c[2] || (c[2] = (u) => o.$emit("load-more"))
|
|
235
|
+
}, {
|
|
236
|
+
default: n(() => [
|
|
237
|
+
d(m(s(e)({
|
|
238
|
+
defaultMessage: "Load more",
|
|
239
|
+
description: "The label for the button that loads more subscriptions",
|
|
240
|
+
id: "customer_overview.subscriptions_block.load_more_button_label"
|
|
241
|
+
})), 1)
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["loading"])) : p("", !0)
|
|
215
245
|
]),
|
|
216
246
|
_: 2
|
|
217
247
|
}, [
|
|
218
|
-
|
|
248
|
+
v.value ? {
|
|
219
249
|
name: "right",
|
|
220
250
|
fn: n(() => [
|
|
221
|
-
|
|
251
|
+
y(s(k), {
|
|
222
252
|
size: "sm",
|
|
223
253
|
intent: "subtle",
|
|
224
254
|
"icon-suffix": "arrow_right_alt",
|
|
225
255
|
class: "sv-action sv-action--ghost sv-subscriptions-list__view-all",
|
|
226
256
|
type: "button",
|
|
227
|
-
onClick:
|
|
257
|
+
onClick: c[0] || (c[0] = (u) => o.$emit("view-all-subscriptions"))
|
|
228
258
|
}, {
|
|
229
259
|
default: n(() => [
|
|
230
|
-
d(
|
|
260
|
+
d(m(s(e)({
|
|
231
261
|
defaultMessage: "View all",
|
|
232
262
|
description: "The text for the view all subscriptions button",
|
|
233
263
|
id: "customer_overview.subscriptions_block.view_all_button_label"
|
|
@@ -240,44 +270,49 @@ const C = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex
|
|
|
240
270
|
} : void 0
|
|
241
271
|
]), 1032, ["title"]));
|
|
242
272
|
}
|
|
243
|
-
}),
|
|
273
|
+
}), ot = /* @__PURE__ */ B({
|
|
244
274
|
__name: "SubscriptionsList",
|
|
245
275
|
props: {
|
|
246
276
|
customer: { type: null },
|
|
247
277
|
subscriptions: { type: Array },
|
|
248
278
|
paymentMethods: { type: Array },
|
|
249
279
|
isLoading: { type: Boolean },
|
|
280
|
+
hasError: { type: Boolean },
|
|
281
|
+
hasMoreItems: { type: Boolean },
|
|
282
|
+
isLoadingMore: { type: Boolean },
|
|
250
283
|
configuration: { type: Object }
|
|
251
284
|
},
|
|
252
285
|
emits: ["load-more"],
|
|
253
286
|
setup(t) {
|
|
254
|
-
const { dispatchAction:
|
|
255
|
-
return (e,
|
|
256
|
-
var
|
|
257
|
-
return t.isLoading ? (
|
|
287
|
+
const { dispatchAction: r } = P();
|
|
288
|
+
return (e, a) => {
|
|
289
|
+
var b, v;
|
|
290
|
+
return t.isLoading ? (i(), l(N, {
|
|
258
291
|
key: 0,
|
|
259
292
|
variant: "section",
|
|
260
293
|
class: "sv-subscriptions-list sv-root sv-component sv-loading min-h-[100px]"
|
|
261
|
-
})) : t.customer ? (
|
|
294
|
+
})) : t.customer ? (i(), l(q, {
|
|
262
295
|
key: 1,
|
|
263
296
|
class: "sv-subscriptions-list sv-root sv-component",
|
|
264
297
|
customer: t.customer,
|
|
265
298
|
subscriptions: t.subscriptions,
|
|
266
299
|
"payment-methods": t.paymentMethods,
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
|
|
300
|
+
"has-error": t.hasError,
|
|
301
|
+
"has-more-items": t.hasMoreItems,
|
|
302
|
+
"is-loading-more": t.isLoadingMore,
|
|
303
|
+
"show-view-all-button": (b = t.configuration) == null ? void 0 : b.showViewAllButton,
|
|
304
|
+
"show-view-details-button": (v = t.configuration) == null ? void 0 : v.showViewDetailsButton,
|
|
305
|
+
onViewSubscriptionDetails: a[0] || (a[0] = (o) => s(r)({
|
|
271
306
|
action: "view-subscription-details",
|
|
272
307
|
data: { subscriptionId: o.subscriptionId }
|
|
273
308
|
})),
|
|
274
|
-
onViewAllSubscriptions:
|
|
275
|
-
onLoadMore:
|
|
276
|
-
}, null, 8, ["customer", "subscriptions", "payment-methods", "is-loading", "show-view-all-button", "show-view-details-button"])) :
|
|
309
|
+
onViewAllSubscriptions: a[1] || (a[1] = (o) => s(r)({ action: "view-all-subscriptions" })),
|
|
310
|
+
onLoadMore: a[2] || (a[2] = (o) => e.$emit("load-more"))
|
|
311
|
+
}, null, 8, ["customer", "subscriptions", "payment-methods", "has-error", "has-more-items", "is-loading-more", "show-view-all-button", "show-view-details-button"])) : p("", !0);
|
|
277
312
|
};
|
|
278
313
|
}
|
|
279
314
|
});
|
|
280
315
|
export {
|
|
281
|
-
|
|
282
|
-
|
|
316
|
+
ot as _,
|
|
317
|
+
it as u
|
|
283
318
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, ref as g, inject as M, computed as w, provide as E, openBlock as r, createElementBlock as n, Fragment as N, createElementVNode as v, mergeProps as O, normalizeStyle as b, createCommentVNode as u, renderSlot as f, unref as i, createBlock as T, Teleport as R, normalizeClass as s, createVNode as B, withCtx as $, createTextVNode as P, toDisplayString as S } from "vue";
|
|
2
2
|
import { u as V, o as z, f as A, a as I, _ as L } from "./floating-ui.vue.es-CYt0fSY7.mjs";
|
|
3
|
-
import { T as F,
|
|
3
|
+
import { T as F, k as D, _ as x } from "./customElements-Di3zwlEU.mjs";
|
|
4
4
|
const K = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "mb-1 px-3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as u, computed as c, openBlock as m, createBlock as f, unref as g, withCtx as p, createTextVNode as d, toDisplayString as T } from "vue";
|
|
2
|
-
import { u as D } from "./useTimePeriod.es-
|
|
3
|
-
import { _ as h } from "./Chip.vue.es-
|
|
2
|
+
import { u as D } from "./useTimePeriod.es-JkXdHNWr.mjs";
|
|
3
|
+
import { _ as h } from "./Chip.vue.es-Cn2R_0mE.mjs";
|
|
4
4
|
const M = (n, r) => {
|
|
5
5
|
const e = new Date(n), t = new Date(r), o = t.getFullYear() - e.getFullYear(), i = new Date(e);
|
|
6
6
|
if (i.setFullYear(i.getFullYear() + o), o > 0 && i.getTime() === t.getTime())
|