@solvimon/solvimon-web 0.1.0-alpha.26 → 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 +138 -27
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +17 -19
- package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +233 -253
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
- package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +31 -36
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
- package/dist/{DividerText.vue.es-DKl3FnDJ.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-rRKgmkzV.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
- package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CK9k69tV.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-DUfJl07Y.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-DQ4KvTaw.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
- package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +73 -75
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
- package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -297
- package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
- package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
- package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +65 -75
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.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-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
- package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
- package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.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-C3Zm6Wc9.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
- package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.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-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +124 -90
- package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
- package/dist/{TrialChip.vue.es-C_yRujip.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-CGa6b2Lt.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 -63
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
- package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
- package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -65
- 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-CLfzTbbX.mjs → de-DE-BW8dMvhW.mjs} +87 -19
- package/dist/formControl-CsITfsBk.mjs +749 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-DJTwftJv.mjs → invoices-Cf1qDAv4.mjs} +40 -35
- package/dist/{it-IT-Cym1UvvK.mjs → it-IT-Byg06KWc.mjs} +87 -19
- 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-D0c4x5C0.mjs → nl-NL-x3zQqzZ7.mjs} +93 -25
- 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/CheckoutTitle.types.d.ts +10 -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/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
- 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-XZKWsolE.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-CR0kbYw8.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
- package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
- package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +17 -18
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
- package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
- package/dist/{usePayments-CV85OV8V.mjs → usePayments-CykCZPG2.mjs} +7 -7
- package/dist/usePortal-CxzKGhbK.mjs +7 -0
- package/dist/useService-B0OQJmif.mjs +56 -0
- package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +35 -59
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs +0 -223
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js +0 -1
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-Bm6MCMAL.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
- package/dist/Button.vue.es-qGvnOKnK.js +0 -1
- package/dist/ChargeOnDemandModal-DIQaGnRs.js +0 -1
- package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
- package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
- package/dist/Chip.vue.es-D60gTbfe.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-C7KI8Gz6.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-bFUx81Ig.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs +0 -2701
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-BF3gnr4e.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs +0 -335
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js +0 -1
- package/dist/ErrorNotification.vue.es-BX9dHEc-.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-Bwdfu-jm.js +0 -1
- package/dist/IconTitle.vue.es-Cei98MBw.js +0 -1
- package/dist/Input.vue.es-B47l_feL.js +0 -1
- package/dist/Input.vue.es-D9IjIWc-.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs +0 -41
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js +0 -1
- package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +0 -1
- package/dist/Modal.vue.es-8LN4gBh0.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js +0 -1
- package/dist/PaymentHistoryBlock-Ds93gNvh.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js +0 -1
- package/dist/PaymentIntegrationForm-B_Db4DG1.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
- package/dist/PaymentIntegrationFormStripe-BIiMCWlV.mjs +0 -587
- package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +0 -102
- package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +0 -1
- package/dist/PaymentMethodForm-1d0YIGOu.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js +0 -1
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
- package/dist/PlanCustomizationEditor-CpZeilm5.mjs +0 -694
- package/dist/PricingGroupRangeInput.vue.es-DZSJ5Mz0.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +0 -1
- package/dist/RadioGroupExtended.vue.es-Dt6LH9Yh.js +0 -1
- package/dist/Section.vue.es-zVXBHAL6.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
- package/dist/StepInput.vue.es-mAnuCuDQ.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +0 -1
- package/dist/SubscriptionSchedules-Cm5Dt-1H.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs +0 -91
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js +0 -1
- package/dist/TooltipParagraph.vue.es-Cph6zT31.js +0 -1
- package/dist/TrialChip.vue.es-C_wgHGuN.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/adyen-CvsH5fok.mjs +0 -117
- package/dist/adyen-Druit6gz.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-D9YMDvG2.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-C963-LtW.js +0 -1215
- package/dist/customElements-D5DAoHRI.mjs +0 -6633
- package/dist/customer-DKa1B2vp.mjs +0 -31
- package/dist/customer-TE1FnGT0.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-DaBBl-Ak.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-BNevqm0M.js +0 -1
- package/dist/en-US-D6SGRAch.mjs +0 -325
- 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-ClqTWYF9.js +0 -1
- package/dist/it-IT-BkPbTueL.js +0 -1
- package/dist/it-IT-CSYvGmpT.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-jIfAVGv0.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-AL2U_byg.js +0 -1
- package/dist/paymentMethods-CWzJhcWK.mjs +0 -77
- package/dist/payments-BmiHMlQt.js +0 -1
- package/dist/payments-aXyfylwk.mjs +0 -45
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BVAld27Y.js +0 -1
- package/dist/pricing-DLOeiAIB.mjs +0 -16
- 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-BD4GIP_F.mjs +0 -32
- package/dist/pricingPlanSchedules-BfsMSvN0.js +0 -1
- 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-Cm83ckfl.js +0 -1
- package/dist/subscriptions-cnR5fnf7.mjs +0 -55
- 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-CHkVQMaE.js +0 -1
- package/dist/useActionDispatchProvider-DDYqIh3r.mjs +0 -11
- package/dist/useCustomer-DGYtowRy.js +0 -1
- package/dist/useCustomerFormLabels-CcnkJLcB.mjs +0 -968
- package/dist/useCustomerFormLabels-DAZziqYt.js +0 -1
- package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
- package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BEK-7msA.mjs +0 -38
- package/dist/useInvoiceData-CQRn8l9C.js +0 -1
- package/dist/useInvoicesList-BQkKyyXa.js +0 -1
- package/dist/useInvoicesList-C4I118KM.mjs +0 -500
- package/dist/useLoadInitialData-CrKnBZs_.js +0 -1
- package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
- package/dist/usePaymentMethodOptions-Ciifjo6c.mjs +0 -39
- package/dist/usePaymentMethodOptions-Cqe92ZBn.js +0 -1
- package/dist/usePaymentMethods-BKwrl82-.js +0 -1
- package/dist/usePayments-Bauj16B-.js +0 -1
- package/dist/usePortal-DSLImEfr.js +0 -1
- package/dist/usePortal-H8Tv2TnZ.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BiYNJT2e.js +0 -1
- package/dist/useSubscription-DqnxWNKg.mjs +0 -210
- package/dist/useTimePeriod.es-D2aiyfd-.js +0 -1
- package/dist/useViewport-BgdA2PPt.mjs +0 -29
- package/dist/useViewport-hPRVDWCm.js +0 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
- package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
- package/dist/visa.svg.es-NY3BHhda.js +0 -1
- package/dist/vpay.svg.es-VViQi42w.js +0 -1
- package/dist/wallets.es-CNIMW5ay.js +0 -1
- package/dist/zip.svg.es-C9S_F31W.js +0 -1
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as Xe,
|
|
1
|
+
import { defineComponent as ce, openBlock as i, createElementBlock as k, normalizeClass as G, createCommentVNode as M, useModel as Ee, computed as o, createBlock as h, createElementVNode as N, createVNode as b, withCtx as c, createTextVNode as v, toDisplayString as p, unref as n, Fragment as We, renderList as qe, renderSlot as je, mergeModels as Ae, ref as D, watch as J, reactive as Ke } from "vue";
|
|
2
|
+
import { u as Xe, d as Pe } from "./formControl-CsITfsBk.mjs";
|
|
3
3
|
import { f as Je } from "./formatting.es-RclXHhKo.mjs";
|
|
4
|
-
import { _ as P } from "./Button.vue.es-
|
|
5
|
-
import { u as Qe, g as Ze, i as ea, t as aa } from "./SubscriptionDetails.entry.ce-
|
|
6
|
-
import { a as
|
|
7
|
-
import { _ as na } from "./PaymentMethod.vue.es-
|
|
8
|
-
import { a as Te, _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as ia } from "./StepInput.vue.es-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import { _ as la } from "./Section.vue.es-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
import { _ as P } from "./Button.vue.es-rh6mITmN.mjs";
|
|
5
|
+
import { u as Qe, g as Ze, i as ea, t as aa } from "./SubscriptionDetails.entry.ce-DufQX3uI.mjs";
|
|
6
|
+
import { a as De, _ as ta } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs";
|
|
7
|
+
import { _ as na } from "./PaymentMethod.vue.es-Cauxx4Xr.mjs";
|
|
8
|
+
import { a as Te, _ as $, d as Oe, j as ke } from "./customElements-Di3zwlEU.mjs";
|
|
9
|
+
import { _ as oa } from "./ErrorNotification.vue.es-CKlt4hr2.mjs";
|
|
10
|
+
import { _ as Ce } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
11
|
+
import { _ as da } from "./RadioGroupExtended.vue.es-UtKsdmiv.mjs";
|
|
12
|
+
import { _ as ia } from "./StepInput.vue.es-Dpan1RQd.mjs";
|
|
13
|
+
import { _ as ra } from "./IconButton.vue.es-oe4MVBK1.mjs";
|
|
14
|
+
import { _ as sa } from "./floating-ui.vue.es-CYt0fSY7.mjs";
|
|
15
|
+
import { _ as la } from "./Section.vue.es-iS8hVGWA.mjs";
|
|
16
|
+
import { g as ca, a as ma, b as ua, c as ha, d as va, i as pa } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs";
|
|
17
|
+
import { c as ga } from "./invoices-Cf1qDAv4.mjs";
|
|
18
|
+
import { i as fa } from "./invoiceState-BJVHaKs7.mjs";
|
|
19
|
+
const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (y) => y.toUpperCase()), _a = (e) => {
|
|
20
|
+
var y, d, _, a, E, s;
|
|
20
21
|
const g = [];
|
|
21
22
|
switch (e.type) {
|
|
22
23
|
case "CARD":
|
|
@@ -27,13 +28,13 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
27
28
|
break;
|
|
28
29
|
case "ONLINE_BANKING":
|
|
29
30
|
g.push(
|
|
30
|
-
((
|
|
31
|
-
(
|
|
31
|
+
((y = e.online_banking) == null ? void 0 : y.variant) && V(e.online_banking.variant),
|
|
32
|
+
(d = e.online_banking) == null ? void 0 : d.owner_name
|
|
32
33
|
);
|
|
33
34
|
break;
|
|
34
35
|
case "DIRECT_DEBIT":
|
|
35
36
|
g.push(
|
|
36
|
-
((
|
|
37
|
+
((_ = e.direct_debit) == null ? void 0 : _.variant) && V(e.direct_debit.variant),
|
|
37
38
|
(a = e.direct_debit) == null ? void 0 : a.owner_name
|
|
38
39
|
);
|
|
39
40
|
break;
|
|
@@ -44,53 +45,53 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
44
45
|
break;
|
|
45
46
|
case "DIGITAL_WALLET":
|
|
46
47
|
g.push(
|
|
47
|
-
((
|
|
48
|
+
((s = e.digital_wallet) == null ? void 0 : s.variant) && V(e.digital_wallet.variant)
|
|
48
49
|
);
|
|
49
50
|
break;
|
|
50
51
|
}
|
|
51
52
|
return g.filter(Boolean).join(" ") || V(e.type);
|
|
52
|
-
},
|
|
53
|
+
}, ya = /* @__PURE__ */ ce({
|
|
53
54
|
__name: "Placeholder",
|
|
54
55
|
props: {
|
|
55
56
|
loading: { type: Boolean },
|
|
56
57
|
shade: { default: "default" }
|
|
57
58
|
},
|
|
58
59
|
setup(e) {
|
|
59
|
-
return (
|
|
60
|
+
return (y, d) => (i(), k("div", {
|
|
60
61
|
class: G(["rounded", {
|
|
61
62
|
"bg-gray-300": e.shade === "default",
|
|
62
63
|
"bg-gray-200": e.shade === "light"
|
|
63
64
|
}])
|
|
64
65
|
}, [
|
|
65
|
-
e.loading ? (i(),
|
|
66
|
+
e.loading ? (i(), k("div", {
|
|
66
67
|
key: 0,
|
|
67
68
|
class: G(["absolute inset-0", { "animated-gradient": e.loading }])
|
|
68
69
|
}, null, 2)) : M("", !0)
|
|
69
70
|
], 2));
|
|
70
71
|
}
|
|
71
|
-
}), le = /* @__PURE__ */
|
|
72
|
+
}), le = /* @__PURE__ */ sa(ya, [["__scopeId", "data-v-11677ac2"]]), ba = { class: "flex flex-col gap-6" }, wa = {
|
|
72
73
|
class: "flex flex-col gap-3",
|
|
73
74
|
"aria-labelledby": "charge-on-demand-items-heading"
|
|
74
|
-
},
|
|
75
|
+
}, Ia = { class: "flex flex-col gap-2" }, Ma = { class: "flex min-w-0 grow flex-col" }, Ea = {
|
|
75
76
|
key: 0,
|
|
76
77
|
class: "flex shrink-0 items-center gap-1"
|
|
77
|
-
},
|
|
78
|
+
}, Aa = { class: "w-32" }, Pa = {
|
|
78
79
|
class: "flex flex-col gap-3",
|
|
79
80
|
"aria-labelledby": "charge-on-demand-preview-heading"
|
|
80
|
-
},
|
|
81
|
+
}, ka = {
|
|
81
82
|
key: 1,
|
|
82
83
|
class: "flex flex-col gap-3",
|
|
83
84
|
"aria-busy": "true",
|
|
84
85
|
"data-testid": "charge-on-demand-preview-loading"
|
|
85
|
-
},
|
|
86
|
+
}, Ca = {
|
|
86
87
|
class: "flex flex-col gap-3",
|
|
87
88
|
"aria-labelledby": "charge-on-demand-payment-heading"
|
|
88
|
-
},
|
|
89
|
+
}, Da = {
|
|
89
90
|
key: 1,
|
|
90
91
|
"data-testid": "charge-on-demand-no-payment-methods"
|
|
91
|
-
},
|
|
92
|
+
}, Ta = /* @__PURE__ */ ce({
|
|
92
93
|
__name: "ChargeOnDemandEditor",
|
|
93
|
-
props: /* @__PURE__ */
|
|
94
|
+
props: /* @__PURE__ */ Ae({
|
|
94
95
|
items: {},
|
|
95
96
|
preview: { default: void 0 },
|
|
96
97
|
isPreviewLoading: { type: Boolean, default: !1 },
|
|
@@ -104,52 +105,52 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
104
105
|
paymentMethodId: {},
|
|
105
106
|
paymentMethodIdModifiers: {}
|
|
106
107
|
}),
|
|
107
|
-
emits: /* @__PURE__ */
|
|
108
|
+
emits: /* @__PURE__ */ Ae(["add-payment-method"], ["update:selection", "update:paymentMethodId"]),
|
|
108
109
|
setup(e) {
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
...
|
|
110
|
+
const y = e, d = Ee(e, "selection"), _ = Ee(e, "paymentMethodId"), { $t: a } = Te(), E = (t) => {
|
|
111
|
+
d.value = [
|
|
112
|
+
...d.value,
|
|
112
113
|
t.priceType === "FLAT" ? { pricingItemId: t.pricingItemId, units: t.defaultUnits } : { pricingItemId: t.pricingItemId }
|
|
113
114
|
];
|
|
114
|
-
},
|
|
115
|
-
|
|
115
|
+
}, s = (t) => {
|
|
116
|
+
d.value = d.value.filter(
|
|
116
117
|
({ pricingItemId: f }) => f !== t.pricingItemId
|
|
117
118
|
);
|
|
118
119
|
}, g = (t, f) => {
|
|
119
|
-
!Number.isInteger(f) || f < 1 || (
|
|
120
|
+
!Number.isInteger(f) || f < 1 || (d.value = d.value.map(
|
|
120
121
|
(A) => A.pricingItemId === t.pricingItemId ? { ...A, units: f } : A
|
|
121
122
|
));
|
|
122
|
-
}, { getPriceLabel:
|
|
123
|
-
() => new Map(
|
|
124
|
-
),
|
|
125
|
-
() =>
|
|
123
|
+
}, { getPriceLabel: w } = Qe(), O = o(
|
|
124
|
+
() => new Map(d.value.map((t) => [t.pricingItemId, t]))
|
|
125
|
+
), x = o(
|
|
126
|
+
() => y.items.map((t) => {
|
|
126
127
|
var f, A;
|
|
127
128
|
return {
|
|
128
129
|
item: t,
|
|
129
130
|
selected: O.value.get(t.pricingItemId),
|
|
130
|
-
error: (A = (f =
|
|
131
|
-
priceLabel:
|
|
131
|
+
error: (A = (f = y.errors) == null ? void 0 : f.items) == null ? void 0 : A[t.pricingItemId],
|
|
132
|
+
priceLabel: w(t)
|
|
132
133
|
};
|
|
133
134
|
})
|
|
134
|
-
), u =
|
|
135
|
+
), u = o(
|
|
135
136
|
() => new Map(
|
|
136
|
-
|
|
137
|
+
y.paymentMethods.map((t) => [t.id, t])
|
|
137
138
|
)
|
|
138
|
-
), T =
|
|
139
|
-
() =>
|
|
140
|
-
label:
|
|
139
|
+
), T = o(
|
|
140
|
+
() => y.paymentMethods.map((t) => ({
|
|
141
|
+
label: _a(t),
|
|
141
142
|
value: t.id
|
|
142
143
|
}))
|
|
143
144
|
);
|
|
144
145
|
return (t, f) => {
|
|
145
|
-
var A,
|
|
146
|
-
return i(),
|
|
147
|
-
(A = e.errors) != null && A.form ? (i(), h(
|
|
146
|
+
var A, R, W;
|
|
147
|
+
return i(), k("div", ba, [
|
|
148
|
+
(A = e.errors) != null && A.form ? (i(), h(oa, {
|
|
148
149
|
key: 0,
|
|
149
150
|
description: e.errors.form
|
|
150
151
|
}, null, 8, ["description"])) : M("", !0),
|
|
151
|
-
|
|
152
|
-
b(
|
|
152
|
+
N("section", wa, [
|
|
153
|
+
b($, {
|
|
153
154
|
id: "charge-on-demand-items-heading",
|
|
154
155
|
tag: "h3",
|
|
155
156
|
variant: "label",
|
|
@@ -164,21 +165,21 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
164
165
|
]),
|
|
165
166
|
_: 1
|
|
166
167
|
}),
|
|
167
|
-
|
|
168
|
-
(i(!0),
|
|
168
|
+
N("ul", Ia, [
|
|
169
|
+
(i(!0), k(We, null, qe(x.value, ({ item: m, selected: C, error: S, priceLabel: q }) => (i(), k("li", {
|
|
169
170
|
key: m.pricingItemId,
|
|
170
171
|
class: "flex flex-col gap-1",
|
|
171
172
|
"data-testid": "charge-on-demand-item"
|
|
172
173
|
}, [
|
|
173
|
-
|
|
174
|
+
N("div", {
|
|
174
175
|
class: G(["flex items-center gap-4 rounded-lg border px-4 py-3", {
|
|
175
176
|
"border-red-600": S,
|
|
176
|
-
"border-primary-600": !S &&
|
|
177
|
-
"border-gray-300": !S && !
|
|
177
|
+
"border-primary-600": !S && C,
|
|
178
|
+
"border-gray-300": !S && !C
|
|
178
179
|
}])
|
|
179
180
|
}, [
|
|
180
|
-
|
|
181
|
-
b(
|
|
181
|
+
N("div", Ma, [
|
|
182
|
+
b($, {
|
|
182
183
|
tag: "span",
|
|
183
184
|
weight: "semibold",
|
|
184
185
|
"no-spacing": ""
|
|
@@ -188,7 +189,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
188
189
|
]),
|
|
189
190
|
_: 2
|
|
190
191
|
}, 1024),
|
|
191
|
-
q ? (i(), h(
|
|
192
|
+
q ? (i(), h($, {
|
|
192
193
|
key: 0,
|
|
193
194
|
tag: "span",
|
|
194
195
|
variant: "body-sm",
|
|
@@ -201,10 +202,10 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
201
202
|
_: 2
|
|
202
203
|
}, 1024)) : M("", !0)
|
|
203
204
|
]),
|
|
204
|
-
m.priceType === "FLAT" &&
|
|
205
|
-
|
|
205
|
+
m.priceType === "FLAT" && C ? (i(), k("div", Ea, [
|
|
206
|
+
N("div", Aa, [
|
|
206
207
|
b(ia, {
|
|
207
|
-
"model-value":
|
|
208
|
+
"model-value": C.units ?? m.defaultUnits,
|
|
208
209
|
"initial-value": m.defaultUnits,
|
|
209
210
|
min: 1,
|
|
210
211
|
name: `charge-on-demand-units-${m.pricingItemId}`,
|
|
@@ -213,7 +214,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
213
214
|
"onUpdate:modelValue": (F) => g(m, F)
|
|
214
215
|
}, null, 8, ["model-value", "initial-value", "name", "disabled", "onUpdate:modelValue"])
|
|
215
216
|
]),
|
|
216
|
-
b(
|
|
217
|
+
b(ra, {
|
|
217
218
|
type: "button",
|
|
218
219
|
icon: "close",
|
|
219
220
|
intent: "subtle",
|
|
@@ -224,9 +225,9 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
224
225
|
description: "Removes an on-demand item from the order",
|
|
225
226
|
id: "charge_on_demand.item.remove"
|
|
226
227
|
}),
|
|
227
|
-
onClick: (F) =>
|
|
228
|
+
onClick: (F) => s(m)
|
|
228
229
|
}, null, 8, ["disabled", "tooltip", "onClick"])
|
|
229
|
-
])) :
|
|
230
|
+
])) : C ? (i(), h(P, {
|
|
230
231
|
key: 1,
|
|
231
232
|
type: "button",
|
|
232
233
|
intent: "secondary",
|
|
@@ -234,7 +235,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
234
235
|
"icon-prefix": "check",
|
|
235
236
|
"aria-pressed": !0,
|
|
236
237
|
disabled: e.disabled,
|
|
237
|
-
onClick: (F) =>
|
|
238
|
+
onClick: (F) => s(m)
|
|
238
239
|
}, {
|
|
239
240
|
default: c(() => [
|
|
240
241
|
v(p(n(a)({
|
|
@@ -264,15 +265,15 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
264
265
|
_: 1
|
|
265
266
|
}, 8, ["aria-pressed", "disabled", "onClick"]))
|
|
266
267
|
], 2),
|
|
267
|
-
S ? (i(), h(
|
|
268
|
+
S ? (i(), h(Ce, {
|
|
268
269
|
key: 0,
|
|
269
270
|
message: S
|
|
270
271
|
}, null, 8, ["message"])) : M("", !0)
|
|
271
272
|
]))), 128))
|
|
272
273
|
])
|
|
273
274
|
]),
|
|
274
|
-
|
|
275
|
-
b(
|
|
275
|
+
N("section", Pa, [
|
|
276
|
+
b($, {
|
|
276
277
|
id: "charge-on-demand-preview-heading",
|
|
277
278
|
tag: "h3",
|
|
278
279
|
variant: "label",
|
|
@@ -287,7 +288,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
287
288
|
]),
|
|
288
289
|
_: 1
|
|
289
290
|
}),
|
|
290
|
-
|
|
291
|
+
d.value.length === 0 ? (i(), h($, {
|
|
291
292
|
key: 0,
|
|
292
293
|
variant: "body-sm",
|
|
293
294
|
tag: "p",
|
|
@@ -303,7 +304,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
303
304
|
})), 1)
|
|
304
305
|
]),
|
|
305
306
|
_: 1
|
|
306
|
-
})) : e.isPreviewLoading && !e.preview ? (i(),
|
|
307
|
+
})) : e.isPreviewLoading && !e.preview ? (i(), k("div", ka, [
|
|
307
308
|
b(le, {
|
|
308
309
|
loading: "",
|
|
309
310
|
class: "relative h-4 w-2/3 overflow-hidden"
|
|
@@ -316,14 +317,14 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
316
317
|
loading: "",
|
|
317
318
|
class: "relative h-5 w-1/3 overflow-hidden"
|
|
318
319
|
})
|
|
319
|
-
])) : e.preview ? (i(), h(
|
|
320
|
+
])) : e.preview ? (i(), h(De, {
|
|
320
321
|
key: 2,
|
|
321
322
|
invoice: e.preview,
|
|
322
323
|
"is-customer-facing": ""
|
|
323
324
|
}, null, 8, ["invoice"])) : M("", !0)
|
|
324
325
|
]),
|
|
325
|
-
|
|
326
|
-
b(
|
|
326
|
+
N("section", Ca, [
|
|
327
|
+
b($, {
|
|
327
328
|
id: "charge-on-demand-payment-heading",
|
|
328
329
|
tag: "h3",
|
|
329
330
|
variant: "label",
|
|
@@ -338,14 +339,14 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
338
339
|
]),
|
|
339
340
|
_: 1
|
|
340
341
|
}),
|
|
341
|
-
e.paymentMethods.length > 0 ? (i(), h(
|
|
342
|
+
e.paymentMethods.length > 0 ? (i(), h(da, {
|
|
342
343
|
key: 0,
|
|
343
|
-
modelValue:
|
|
344
|
-
"onUpdate:modelValue": f[0] || (f[0] = (m) =>
|
|
344
|
+
modelValue: _.value,
|
|
345
|
+
"onUpdate:modelValue": f[0] || (f[0] = (m) => _.value = m),
|
|
345
346
|
name: "charge-on-demand-payment-method",
|
|
346
347
|
options: T.value,
|
|
347
348
|
"show-radio": !1,
|
|
348
|
-
error: (
|
|
349
|
+
error: (R = e.errors) == null ? void 0 : R.paymentMethod,
|
|
349
350
|
disabled: e.disabled,
|
|
350
351
|
direction: "column"
|
|
351
352
|
}, {
|
|
@@ -357,9 +358,9 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
357
358
|
]),
|
|
358
359
|
description: c(() => [...f[2] || (f[2] = [])]),
|
|
359
360
|
_: 1
|
|
360
|
-
}, 8, ["modelValue", "options", "error", "disabled"])) : (i(),
|
|
361
|
+
}, 8, ["modelValue", "options", "error", "disabled"])) : (i(), k("div", Da, [
|
|
361
362
|
je(t.$slots, "payment-methods-empty", {}, () => [
|
|
362
|
-
b(
|
|
363
|
+
b($, {
|
|
363
364
|
tag: "p",
|
|
364
365
|
color: "subtle",
|
|
365
366
|
variant: "body-sm",
|
|
@@ -375,7 +376,7 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
375
376
|
_: 1
|
|
376
377
|
})
|
|
377
378
|
]),
|
|
378
|
-
(W = e.errors) != null && W.paymentMethod ? (i(), h(
|
|
379
|
+
(W = e.errors) != null && W.paymentMethod ? (i(), h(Ce, {
|
|
379
380
|
key: 0,
|
|
380
381
|
message: e.errors.paymentMethod
|
|
381
382
|
}, null, 8, ["message"])) : M("", !0)
|
|
@@ -402,68 +403,58 @@ const V = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (_) => _.toU
|
|
|
402
403
|
]);
|
|
403
404
|
};
|
|
404
405
|
}
|
|
405
|
-
}),
|
|
406
|
+
}), Oa = [
|
|
406
407
|
"ORDER",
|
|
407
408
|
"ADD_PAYMENT_METHOD",
|
|
408
409
|
"PLACED",
|
|
409
410
|
"PAYMENT_FAILED",
|
|
410
411
|
"FAILED"
|
|
411
412
|
];
|
|
412
|
-
function
|
|
413
|
-
return e.payment_status === "PAID" || e.payment_status === "OVERPAID";
|
|
414
|
-
}
|
|
415
|
-
function Ta(e) {
|
|
416
|
-
var _;
|
|
417
|
-
return ce(e) ? e.statusCode === 422 ? e.resourceType === "PAYMENT" ? "PAYMENT_FAILED" : "FAILED" : e.statusCode !== 400 ? "FAILED" : e.field === "payment_method_id" ? "PAYMENT_METHOD" : e.field === "pricing_plan_subscription_id" ? "SUBSCRIPTION_INACTIVE" : e.field === "pricing_items" || (_ = e.field) != null && _.startsWith("pricing_items.") ? "PRICING_ITEMS" : "FAILED" : "FAILED";
|
|
418
|
-
}
|
|
419
|
-
function Oa(e) {
|
|
420
|
-
return e === "PAYMENT_METHOD" || e === "PRICING_ITEMS" || e === "SUBSCRIPTION_INACTIVE";
|
|
421
|
-
}
|
|
422
|
-
function Na({
|
|
413
|
+
function xa({
|
|
423
414
|
pricingPlanScheduleId: e
|
|
424
415
|
}) {
|
|
425
|
-
const { chargeOnDemandPricingItems:
|
|
426
|
-
return { isCharging:
|
|
416
|
+
const { chargeOnDemandPricingItems: y } = ga(), d = Oe(), _ = D(!1), a = D(), E = D(), s = D();
|
|
417
|
+
return { isCharging: _, chargedInvoice: a, chargeError: E, unpaidInvoiceId: s, charge: async ({
|
|
427
418
|
pricingItems: O,
|
|
428
|
-
paymentMethodId:
|
|
419
|
+
paymentMethodId: x
|
|
429
420
|
}) => {
|
|
430
|
-
|
|
421
|
+
_.value = !0, E.value = void 0, s.value = void 0;
|
|
431
422
|
try {
|
|
432
|
-
const u = await
|
|
423
|
+
const u = await y({
|
|
433
424
|
pricing_plan_schedule_id: e.value,
|
|
434
425
|
pricing_items: O,
|
|
435
|
-
payment_method_id:
|
|
426
|
+
payment_method_id: x,
|
|
436
427
|
finalize_immediately: !0
|
|
437
428
|
});
|
|
438
429
|
return a.value = u, { invoice: u };
|
|
439
430
|
} catch (u) {
|
|
440
|
-
const T =
|
|
441
|
-
E.value = T,
|
|
431
|
+
const T = ca(u);
|
|
432
|
+
E.value = T, s.value = T === "PAYMENT_FAILED" && ke(u) ? u.resourceId : void 0;
|
|
442
433
|
const t = {
|
|
443
434
|
scheduleId: e.value,
|
|
444
435
|
outcome: T,
|
|
445
|
-
...
|
|
436
|
+
...ke(u) ? {
|
|
446
437
|
statusCode: u.statusCode,
|
|
447
438
|
field: u.field,
|
|
448
439
|
requestId: u.requestId
|
|
449
440
|
} : {}
|
|
450
441
|
};
|
|
451
|
-
return T === "FAILED" ?
|
|
442
|
+
return T === "FAILED" ? d.error(
|
|
452
443
|
"ON_DEMAND_CHARGE_FAILED",
|
|
453
444
|
"Failed to charge the on-demand order",
|
|
454
445
|
t,
|
|
455
446
|
u
|
|
456
|
-
) :
|
|
447
|
+
) : d.warn(
|
|
457
448
|
"ON_DEMAND_CHARGE_REFUSED",
|
|
458
449
|
"The on-demand order was refused or its payment did not go through",
|
|
459
450
|
t,
|
|
460
451
|
u
|
|
461
|
-
), { error: T, unpaidInvoiceId:
|
|
452
|
+
), { error: T, unpaidInvoiceId: s.value };
|
|
462
453
|
} finally {
|
|
463
|
-
|
|
454
|
+
_.value = !1;
|
|
464
455
|
}
|
|
465
456
|
}, reset: () => {
|
|
466
|
-
a.value = void 0, E.value = void 0,
|
|
457
|
+
a.value = void 0, E.value = void 0, s.value = void 0;
|
|
467
458
|
} };
|
|
468
459
|
}
|
|
469
460
|
const Sa = {
|
|
@@ -472,10 +463,10 @@ const Sa = {
|
|
|
472
463
|
}, La = {
|
|
473
464
|
key: 1,
|
|
474
465
|
class: "flex flex-col gap-2"
|
|
475
|
-
},
|
|
466
|
+
}, Na = {
|
|
476
467
|
key: 2,
|
|
477
468
|
class: "flex flex-col gap-2"
|
|
478
|
-
},
|
|
469
|
+
}, et = /* @__PURE__ */ ce({
|
|
479
470
|
__name: "ChargeOnDemandModal",
|
|
480
471
|
props: {
|
|
481
472
|
showModal: { type: Boolean },
|
|
@@ -487,22 +478,22 @@ const Sa = {
|
|
|
487
478
|
canViewCreatedInvoice: { type: Boolean }
|
|
488
479
|
},
|
|
489
480
|
emits: ["close", "invoice-created", "view-invoice", "payment-method-stored", "payment-failed"],
|
|
490
|
-
setup(e, { emit:
|
|
491
|
-
const
|
|
492
|
-
() => Ze(
|
|
493
|
-
), u =
|
|
481
|
+
setup(e, { emit: y }) {
|
|
482
|
+
const d = e, _ = y, { $t: a } = Te(), E = Oe(), s = D("ORDER"), g = D([]), w = D(), O = o(() => (d.subscription.payment_acceptor_ids ?? []).length > 0), x = o(
|
|
483
|
+
() => Ze(d.paymentMethods ?? [], d.subscription)
|
|
484
|
+
), u = D();
|
|
494
485
|
J(
|
|
495
|
-
|
|
496
|
-
(
|
|
486
|
+
x,
|
|
487
|
+
(r) => {
|
|
497
488
|
var Y;
|
|
498
489
|
const l = u.value;
|
|
499
490
|
u.value = void 0;
|
|
500
|
-
const
|
|
501
|
-
if (
|
|
502
|
-
|
|
491
|
+
const I = l ? r.find(({ id: U }) => !l.has(U)) : void 0;
|
|
492
|
+
if (I) {
|
|
493
|
+
w.value = I.id;
|
|
503
494
|
return;
|
|
504
495
|
}
|
|
505
|
-
|
|
496
|
+
r.some(({ id: U }) => U === w.value) || (w.value = (Y = r[0]) == null ? void 0 : Y.id);
|
|
506
497
|
},
|
|
507
498
|
{ immediate: !0 }
|
|
508
499
|
);
|
|
@@ -511,15 +502,15 @@ const Sa = {
|
|
|
511
502
|
isActive: t,
|
|
512
503
|
isSaving: f,
|
|
513
504
|
open: A,
|
|
514
|
-
leave:
|
|
505
|
+
leave: R,
|
|
515
506
|
submit: W
|
|
516
|
-
} = ma({ step:
|
|
507
|
+
} = ma({ step: s, name: "ADD_PAYMENT_METHOD", returnTo: "ORDER" }), m = D(!1), C = D(), S = (r) => {
|
|
517
508
|
m.value = !0, E.error(
|
|
518
509
|
"PAYMENT_METHOD_OPTIONS_LOAD_FAILED",
|
|
519
510
|
"Failed to load the payment methods that can be offered",
|
|
520
|
-
{ flow: "ON_DEMAND_ORDER", subscriptionId:
|
|
521
|
-
|
|
522
|
-
), t.value && (
|
|
511
|
+
{ flow: "ON_DEMAND_ORDER", subscriptionId: d.subscription.id },
|
|
512
|
+
r
|
|
513
|
+
), t.value && (R(), C.value = a({
|
|
523
514
|
defaultMessage: "We couldn't load the ways to add a payment method. Please try again.",
|
|
524
515
|
description: "Shown on the on-demand order when the payment methods that can be added failed to load",
|
|
525
516
|
id: "charge_on_demand_modal.payment_method_options_error"
|
|
@@ -527,75 +518,75 @@ const Sa = {
|
|
|
527
518
|
}, {
|
|
528
519
|
settledOptions: q,
|
|
529
520
|
isPending: F,
|
|
530
|
-
load:
|
|
521
|
+
load: xe
|
|
531
522
|
} = ua({
|
|
532
|
-
isOpen:
|
|
533
|
-
customer:
|
|
534
|
-
subscriptionId:
|
|
523
|
+
isOpen: o(() => d.showModal && O.value),
|
|
524
|
+
customer: o(() => d.customer),
|
|
525
|
+
subscriptionId: o(() => d.subscription.id),
|
|
535
526
|
onError: S
|
|
536
|
-
}), Se =
|
|
527
|
+
}), Se = o(
|
|
537
528
|
() => {
|
|
538
|
-
var
|
|
539
|
-
return (
|
|
540
|
-
({ payment_acceptor: l }) => (
|
|
529
|
+
var r;
|
|
530
|
+
return (r = q.value) == null ? void 0 : r.filter(
|
|
531
|
+
({ payment_acceptor: l }) => (d.subscription.payment_acceptor_ids ?? []).includes(l.id)
|
|
541
532
|
);
|
|
542
533
|
}
|
|
543
534
|
), Le = () => {
|
|
544
|
-
|
|
545
|
-
},
|
|
546
|
-
u.value = new Set(
|
|
547
|
-
},
|
|
548
|
-
lines:
|
|
549
|
-
() => g.value.map(({ pricingItemId:
|
|
550
|
-
var
|
|
535
|
+
C.value = void 0, m.value && (m.value = !1, xe()), A();
|
|
536
|
+
}, Ne = () => {
|
|
537
|
+
u.value = new Set(x.value.map(({ id: r }) => r)), R(), _("payment-method-stored");
|
|
538
|
+
}, me = Ke({
|
|
539
|
+
lines: o(
|
|
540
|
+
() => g.value.map(({ pricingItemId: r, units: l }) => {
|
|
541
|
+
var I;
|
|
551
542
|
return {
|
|
552
|
-
pricingItemId:
|
|
553
|
-
priceType: (
|
|
543
|
+
pricingItemId: r,
|
|
544
|
+
priceType: (I = d.items.find((Y) => Y.pricingItemId === r)) == null ? void 0 : I.priceType,
|
|
554
545
|
units: l
|
|
555
546
|
};
|
|
556
547
|
})
|
|
557
548
|
)
|
|
558
|
-
}),
|
|
549
|
+
}), ue = Xe(
|
|
559
550
|
{
|
|
560
551
|
lines: {
|
|
561
|
-
$each:
|
|
552
|
+
$each: Pe.forEach({
|
|
562
553
|
units: {
|
|
563
|
-
orderable:
|
|
554
|
+
orderable: Pe.withMessage(
|
|
564
555
|
() => a({
|
|
565
556
|
defaultMessage: "Enter a whole number of 1 or more.",
|
|
566
557
|
description: "Shown under the quantity of an on-demand order item that is not a whole number of 1 or more",
|
|
567
558
|
id: "charge_on_demand_modal.units_error"
|
|
568
559
|
}),
|
|
569
|
-
(
|
|
560
|
+
(r, l) => l.priceType !== "FLAT" || ea(r)
|
|
570
561
|
)
|
|
571
562
|
}
|
|
572
563
|
})
|
|
573
564
|
}
|
|
574
565
|
},
|
|
575
|
-
|
|
576
|
-
), Q =
|
|
577
|
-
const { $errors:
|
|
578
|
-
var we,
|
|
579
|
-
const U = (
|
|
580
|
-
return U ? [[
|
|
566
|
+
me
|
|
567
|
+
), Q = o(() => ue.value.lines.$invalid), he = o(() => {
|
|
568
|
+
const { $errors: r = [] } = ue.value.lines.$each.$response ?? {}, l = me.lines.flatMap(({ pricingItemId: I }, Y) => {
|
|
569
|
+
var we, Ie, Me;
|
|
570
|
+
const U = (Me = (Ie = (we = r[Y]) == null ? void 0 : we.units) == null ? void 0 : Ie[0]) == null ? void 0 : Me.$message;
|
|
571
|
+
return U ? [[I, String(U)]] : [];
|
|
581
572
|
});
|
|
582
573
|
return l.length > 0 ? Object.fromEntries(l) : void 0;
|
|
583
|
-
}),
|
|
584
|
-
() => g.value.length > 0 && !Q.value ? aa(g.value,
|
|
585
|
-
), { invoicePreview:
|
|
586
|
-
pricingPlanScheduleId:
|
|
587
|
-
pricingItems:
|
|
588
|
-
}), Z =
|
|
589
|
-
var
|
|
590
|
-
return (
|
|
574
|
+
}), ve = o(
|
|
575
|
+
() => g.value.length > 0 && !Q.value ? aa(g.value, d.items) : void 0
|
|
576
|
+
), { invoicePreview: pe, isPreviewPending: j, hasPreviewFailed: ge, loadPreview: $e } = ha({
|
|
577
|
+
pricingPlanScheduleId: o(() => d.scheduleId),
|
|
578
|
+
pricingItems: ve
|
|
579
|
+
}), Z = o(() => {
|
|
580
|
+
var r;
|
|
581
|
+
return (r = pe.value) == null ? void 0 : r.invoice_amount_including_tax;
|
|
591
582
|
}), {
|
|
592
583
|
isCharging: L,
|
|
593
584
|
chargedInvoice: z,
|
|
594
585
|
chargeError: B,
|
|
595
586
|
unpaidInvoiceId: ee,
|
|
596
|
-
charge:
|
|
587
|
+
charge: Re,
|
|
597
588
|
reset: Fe
|
|
598
|
-
} =
|
|
589
|
+
} = xa({ pricingPlanScheduleId: o(() => d.scheduleId) }), Be = o(() => {
|
|
599
590
|
switch (B.value) {
|
|
600
591
|
case "PAYMENT_METHOD":
|
|
601
592
|
return a({
|
|
@@ -618,8 +609,8 @@ const Sa = {
|
|
|
618
609
|
default:
|
|
619
610
|
return;
|
|
620
611
|
}
|
|
621
|
-
}), Ye =
|
|
622
|
-
J(
|
|
612
|
+
}), Ye = o(() => B.value === "SUBSCRIPTION_INACTIVE");
|
|
613
|
+
J(w, () => {
|
|
623
614
|
B.value === "PAYMENT_METHOD" && (B.value = void 0);
|
|
624
615
|
}), J(
|
|
625
616
|
g,
|
|
@@ -628,31 +619,29 @@ const Sa = {
|
|
|
628
619
|
},
|
|
629
620
|
{ deep: !0 }
|
|
630
621
|
);
|
|
631
|
-
const Ue =
|
|
632
|
-
() =>
|
|
622
|
+
const Ue = o(
|
|
623
|
+
() => ge.value ? a({
|
|
633
624
|
defaultMessage: "We couldn't calculate the total. Please try again.",
|
|
634
625
|
description: "Shown on the on-demand order when its total failed to load",
|
|
635
626
|
id: "charge_on_demand_modal.preview_error"
|
|
636
627
|
}) : void 0
|
|
637
|
-
), ae =
|
|
638
|
-
() =>
|
|
639
|
-
),
|
|
640
|
-
() => Be.value ?? Ue.value ??
|
|
641
|
-
), Ve =
|
|
642
|
-
() =>
|
|
643
|
-
), K =
|
|
644
|
-
() => !!
|
|
645
|
-
),
|
|
646
|
-
() => !L.value && O.value && !Ye.value && g.value.length > 0 && !Q.value && !!I.value && !!Z.value && !j.value
|
|
647
|
-
), ze = d(() => r.value === "PLACED" ? a({
|
|
628
|
+
), ae = o(
|
|
629
|
+
() => ge.value && !j.value && !L.value
|
|
630
|
+
), fe = o(
|
|
631
|
+
() => Be.value ?? Ue.value ?? C.value
|
|
632
|
+
), Ve = o(
|
|
633
|
+
() => fe.value || he.value ? { form: fe.value, items: he.value } : void 0
|
|
634
|
+
), K = o(() => s.value === "PLACED"), X = o(() => !!z.value && fa(z.value)), _e = o(() => s.value === "PAYMENT_FAILED" || s.value === "FAILED"), ye = o(
|
|
635
|
+
() => !L.value && O.value && !Ye.value && g.value.length > 0 && !Q.value && !!w.value && !!Z.value && !j.value
|
|
636
|
+
), ze = o(() => s.value === "PLACED" ? a({
|
|
648
637
|
defaultMessage: "Order placed",
|
|
649
638
|
description: "Title of the on-demand order modal once the order is placed, paid or not",
|
|
650
639
|
id: "charge_on_demand_modal.placed.title"
|
|
651
|
-
}) :
|
|
640
|
+
}) : s.value === "PAYMENT_FAILED" ? a({
|
|
652
641
|
defaultMessage: "Payment not completed",
|
|
653
642
|
description: "Title of the on-demand order modal when the payment for the order could not be made",
|
|
654
643
|
id: "charge_on_demand_modal.payment_failed.title"
|
|
655
|
-
}) :
|
|
644
|
+
}) : s.value === "FAILED" ? a({
|
|
656
645
|
defaultMessage: "Something went wrong",
|
|
657
646
|
description: "Title of the on-demand order modal when the order failed and it is unknown whether it went through",
|
|
658
647
|
id: "charge_on_demand_modal.failed.title"
|
|
@@ -664,7 +653,7 @@ const Sa = {
|
|
|
664
653
|
defaultMessage: "Order on-demand items",
|
|
665
654
|
description: "Title of the modal for ordering the on-demand items of a subscription",
|
|
666
655
|
id: "charge_on_demand_modal.title"
|
|
667
|
-
})), He =
|
|
656
|
+
})), He = o(() => s.value === "PLACED" ? X.value ? a({
|
|
668
657
|
defaultMessage: "Your order is paid. The invoice is in your invoice list.",
|
|
669
658
|
description: "Subtitle of the on-demand order modal once the order has been paid",
|
|
670
659
|
id: "charge_on_demand_modal.success.subtitle"
|
|
@@ -672,15 +661,15 @@ const Sa = {
|
|
|
672
661
|
defaultMessage: "Your invoice was created, but it isn't paid yet. You'll find it in your invoice list.",
|
|
673
662
|
description: "Subtitle of the on-demand order modal when the order was placed but its invoice is not paid",
|
|
674
663
|
id: "charge_on_demand_modal.placed.unpaid.subtitle"
|
|
675
|
-
}) :
|
|
664
|
+
}) : s.value === "PAYMENT_FAILED" && ee.value ? a({
|
|
676
665
|
defaultMessage: "We couldn't take the payment for this order. Its invoice is in your invoice list, waiting to be paid.",
|
|
677
666
|
description: "Subtitle of the on-demand order modal when the order was placed but the payment for its invoice was refused",
|
|
678
667
|
id: "charge_on_demand_modal.payment_failed.unpaid_invoice.subtitle"
|
|
679
|
-
}) :
|
|
668
|
+
}) : s.value === "PAYMENT_FAILED" ? a({
|
|
680
669
|
defaultMessage: "We couldn't take the payment for this order. If an invoice was created, you'll find it in your invoice list.",
|
|
681
670
|
description: "Subtitle of the on-demand order modal when the payment for the order could not be made",
|
|
682
671
|
id: "charge_on_demand_modal.payment_failed.subtitle"
|
|
683
|
-
}) :
|
|
672
|
+
}) : s.value === "FAILED" ? a({
|
|
684
673
|
defaultMessage: "We couldn't complete your order. Check your invoice list before trying again.",
|
|
685
674
|
description: "Subtitle of the on-demand order modal when the order failed and it is unknown whether it went through",
|
|
686
675
|
id: "charge_on_demand_modal.failed.subtitle"
|
|
@@ -688,7 +677,7 @@ const Sa = {
|
|
|
688
677
|
defaultMessage: "Add a payment method to pay for this order.",
|
|
689
678
|
description: "Subtitle of the on-demand order modal while the customer is adding a payment method",
|
|
690
679
|
id: "charge_on_demand_modal.add_payment_method.subtitle"
|
|
691
|
-
}) : void 0),
|
|
680
|
+
}) : void 0), be = o(
|
|
692
681
|
() => t.value ? a({
|
|
693
682
|
defaultMessage: "Back",
|
|
694
683
|
description: "Leaves the add payment method step of the on-demand order modal for the order",
|
|
@@ -698,11 +687,11 @@ const Sa = {
|
|
|
698
687
|
description: "Closes the modal for ordering on-demand items",
|
|
699
688
|
id: "charge_on_demand_modal.cancel_button.label"
|
|
700
689
|
})
|
|
701
|
-
), H =
|
|
690
|
+
), H = o(() => K.value ? a({
|
|
702
691
|
defaultMessage: "Done",
|
|
703
692
|
description: "Closes the on-demand order modal once the order is placed",
|
|
704
693
|
id: "charge_on_demand_modal.done_button.label"
|
|
705
|
-
}) :
|
|
694
|
+
}) : _e.value ? a({
|
|
706
695
|
defaultMessage: "Close",
|
|
707
696
|
description: "Closes the on-demand order modal when the order did not go through",
|
|
708
697
|
id: "charge_on_demand_modal.close_button.label"
|
|
@@ -734,92 +723,91 @@ const Sa = {
|
|
|
734
723
|
},
|
|
735
724
|
{ total: Je(Z.value) }
|
|
736
725
|
)), Ge = async () => {
|
|
737
|
-
const
|
|
738
|
-
if (!
|
|
726
|
+
const r = ve.value;
|
|
727
|
+
if (!ye.value || !r || !w.value)
|
|
739
728
|
return;
|
|
740
|
-
const l = await
|
|
741
|
-
pricingItems:
|
|
742
|
-
paymentMethodId:
|
|
729
|
+
const l = await Re({
|
|
730
|
+
pricingItems: r,
|
|
731
|
+
paymentMethodId: w.value
|
|
743
732
|
});
|
|
744
|
-
"invoice" in l ? (
|
|
733
|
+
"invoice" in l ? (_("invoice-created", l.invoice), s.value = "PLACED") : pa(l.error) || (s.value = l.error);
|
|
745
734
|
}, te = () => {
|
|
746
735
|
if (t.value) {
|
|
747
736
|
W();
|
|
748
737
|
return;
|
|
749
738
|
}
|
|
750
739
|
if (ae.value) {
|
|
751
|
-
|
|
740
|
+
$e();
|
|
752
741
|
return;
|
|
753
742
|
}
|
|
754
743
|
Ge();
|
|
755
744
|
}, ne = () => {
|
|
756
|
-
|
|
757
|
-
},
|
|
758
|
-
() => K.value && !X.value &&
|
|
759
|
-
),
|
|
760
|
-
() =>
|
|
761
|
-
), ie =
|
|
745
|
+
_("close");
|
|
746
|
+
}, oe = o(
|
|
747
|
+
() => K.value && !X.value && d.canViewCreatedInvoice
|
|
748
|
+
), de = o(
|
|
749
|
+
() => s.value === "PAYMENT_FAILED" && !!ee.value && d.canViewCreatedInvoice
|
|
750
|
+
), ie = o(
|
|
762
751
|
() => a({
|
|
763
752
|
defaultMessage: "Go to invoice",
|
|
764
753
|
description: "Opens the invoice of the on-demand order the customer just placed",
|
|
765
754
|
id: "charge_on_demand_modal.view_invoice_button.label"
|
|
766
755
|
})
|
|
767
|
-
),
|
|
756
|
+
), re = () => {
|
|
768
757
|
var l;
|
|
769
|
-
const
|
|
770
|
-
ne(),
|
|
771
|
-
},
|
|
758
|
+
const r = ((l = z.value) == null ? void 0 : l.id) ?? ee.value;
|
|
759
|
+
ne(), r && _("view-invoice", r);
|
|
760
|
+
}, se = () => {
|
|
772
761
|
if (!(f.value || L.value)) {
|
|
773
762
|
if (K.value) {
|
|
774
763
|
ne();
|
|
775
764
|
return;
|
|
776
765
|
}
|
|
777
766
|
if (t.value) {
|
|
778
|
-
|
|
767
|
+
R();
|
|
779
768
|
return;
|
|
780
769
|
}
|
|
781
|
-
|
|
770
|
+
_("close");
|
|
782
771
|
}
|
|
783
772
|
};
|
|
784
773
|
return J(
|
|
785
|
-
() =>
|
|
786
|
-
(
|
|
787
|
-
|
|
774
|
+
() => d.showModal,
|
|
775
|
+
(r) => {
|
|
776
|
+
r && (s.value = "ORDER", g.value = [], u.value = void 0, Fe(), C.value = void 0);
|
|
788
777
|
}
|
|
789
|
-
), (
|
|
778
|
+
), (r, l) => (i(), h(va, {
|
|
790
779
|
ref_key: "addPaymentMethodRef",
|
|
791
780
|
ref: T,
|
|
792
781
|
class: "sv-charge-on-demand-modal",
|
|
793
782
|
"show-modal": e.showModal,
|
|
794
783
|
title: ze.value,
|
|
795
784
|
"sub-title": He.value,
|
|
796
|
-
"cancel-button-text":
|
|
785
|
+
"cancel-button-text": be.value,
|
|
797
786
|
"confirm-button-text": H.value,
|
|
798
787
|
"is-pending": n(f) || n(L),
|
|
799
|
-
panes: n(
|
|
800
|
-
step:
|
|
788
|
+
panes: n(Oa),
|
|
789
|
+
step: s.value,
|
|
801
790
|
"add-payment-method-pane": "ADD_PAYMENT_METHOD",
|
|
802
791
|
customer: e.customer,
|
|
803
792
|
"payment-method-options": Se.value,
|
|
804
793
|
"is-payment-method-options-pending": n(F),
|
|
805
|
-
"is-adding-payment-method": n(t),
|
|
806
794
|
onConfirm: te,
|
|
807
|
-
onCancel:
|
|
808
|
-
onPaymentSuccess:
|
|
809
|
-
onPaymentFailed: l[2] || (l[2] = (
|
|
795
|
+
onCancel: se,
|
|
796
|
+
onPaymentSuccess: Ne,
|
|
797
|
+
onPaymentFailed: l[2] || (l[2] = (I) => r.$emit("payment-failed", I))
|
|
810
798
|
}, {
|
|
811
799
|
ORDER: c(() => [
|
|
812
|
-
O.value ? (i(), h(n(
|
|
800
|
+
O.value ? (i(), h(n(Ta), {
|
|
813
801
|
key: 0,
|
|
814
802
|
selection: g.value,
|
|
815
|
-
"onUpdate:selection": l[0] || (l[0] = (
|
|
816
|
-
"payment-method-id":
|
|
817
|
-
"onUpdate:paymentMethodId": l[1] || (l[1] = (
|
|
803
|
+
"onUpdate:selection": l[0] || (l[0] = (I) => g.value = I),
|
|
804
|
+
"payment-method-id": w.value,
|
|
805
|
+
"onUpdate:paymentMethodId": l[1] || (l[1] = (I) => w.value = I),
|
|
818
806
|
class: "sv-charge-on-demand-modal__form",
|
|
819
807
|
items: e.items,
|
|
820
|
-
preview: n(
|
|
808
|
+
preview: n(pe),
|
|
821
809
|
"is-preview-loading": n(j),
|
|
822
|
-
"payment-methods":
|
|
810
|
+
"payment-methods": x.value,
|
|
823
811
|
errors: Ve.value,
|
|
824
812
|
disabled: n(L),
|
|
825
813
|
"can-add-payment-method": "",
|
|
@@ -853,7 +841,7 @@ const Sa = {
|
|
|
853
841
|
"content-background": "none"
|
|
854
842
|
}, {
|
|
855
843
|
default: c(() => [
|
|
856
|
-
b(n(
|
|
844
|
+
b(n(De), {
|
|
857
845
|
invoice: n(z),
|
|
858
846
|
"is-customer-facing": "",
|
|
859
847
|
"is-paid": X.value
|
|
@@ -863,13 +851,12 @@ const Sa = {
|
|
|
863
851
|
})) : M("", !0)
|
|
864
852
|
]),
|
|
865
853
|
footer: c(() => [
|
|
866
|
-
K.value ? (i(),
|
|
867
|
-
|
|
854
|
+
K.value ? (i(), k("div", Sa, [
|
|
855
|
+
oe.value ? (i(), h(n(P), {
|
|
868
856
|
key: 0,
|
|
869
857
|
size: "lg",
|
|
870
858
|
class: "sv-action sv-action--primary",
|
|
871
|
-
|
|
872
|
-
onClick: se
|
|
859
|
+
onClick: re
|
|
873
860
|
}, {
|
|
874
861
|
default: c(() => [
|
|
875
862
|
v(p(ie.value), 1)
|
|
@@ -878,12 +865,11 @@ const Sa = {
|
|
|
878
865
|
})) : M("", !0),
|
|
879
866
|
b(n(P), {
|
|
880
867
|
size: "lg",
|
|
881
|
-
intent:
|
|
868
|
+
intent: oe.value ? "subtle" : "primary",
|
|
882
869
|
class: G([
|
|
883
870
|
"sv-action",
|
|
884
|
-
|
|
871
|
+
oe.value ? "sv-action--secondary" : "sv-action--primary"
|
|
885
872
|
]),
|
|
886
|
-
"data-testid": "charge-on-demand-done",
|
|
887
873
|
onClick: ne
|
|
888
874
|
}, {
|
|
889
875
|
default: c(() => [
|
|
@@ -896,21 +882,19 @@ const Sa = {
|
|
|
896
882
|
size: "lg",
|
|
897
883
|
intent: "subtle",
|
|
898
884
|
class: "sv-action sv-action--secondary",
|
|
899
|
-
|
|
900
|
-
onClick: se
|
|
885
|
+
onClick: re
|
|
901
886
|
}, {
|
|
902
887
|
default: c(() => [
|
|
903
888
|
v(p(ie.value), 1)
|
|
904
889
|
]),
|
|
905
890
|
_: 1
|
|
906
891
|
})) : M("", !0)
|
|
907
|
-
])) :
|
|
908
|
-
|
|
892
|
+
])) : _e.value ? (i(), k("div", La, [
|
|
893
|
+
de.value ? (i(), h(n(P), {
|
|
909
894
|
key: 0,
|
|
910
895
|
size: "lg",
|
|
911
896
|
class: "sv-action sv-action--primary",
|
|
912
|
-
|
|
913
|
-
onClick: se
|
|
897
|
+
onClick: re
|
|
914
898
|
}, {
|
|
915
899
|
default: c(() => [
|
|
916
900
|
v(p(ie.value), 1)
|
|
@@ -919,25 +903,23 @@ const Sa = {
|
|
|
919
903
|
})) : M("", !0),
|
|
920
904
|
b(n(P), {
|
|
921
905
|
size: "lg",
|
|
922
|
-
intent:
|
|
906
|
+
intent: de.value ? "subtle" : "primary",
|
|
923
907
|
class: G([
|
|
924
908
|
"sv-action",
|
|
925
|
-
|
|
909
|
+
de.value ? "sv-action--secondary" : "sv-action--primary"
|
|
926
910
|
]),
|
|
927
|
-
|
|
928
|
-
onClick: re
|
|
911
|
+
onClick: se
|
|
929
912
|
}, {
|
|
930
913
|
default: c(() => [
|
|
931
914
|
v(p(H.value), 1)
|
|
932
915
|
]),
|
|
933
916
|
_: 1
|
|
934
917
|
}, 8, ["intent", "class"])
|
|
935
|
-
])) : (i(),
|
|
918
|
+
])) : (i(), k("div", Na, [
|
|
936
919
|
n(t) ? (i(), h(n(P), {
|
|
937
920
|
key: 0,
|
|
938
921
|
size: "lg",
|
|
939
922
|
class: "sv-action sv-action--primary",
|
|
940
|
-
"data-testid": "charge-on-demand-save-payment-method",
|
|
941
923
|
loading: n(f),
|
|
942
924
|
onClick: te
|
|
943
925
|
}, {
|
|
@@ -949,8 +931,7 @@ const Sa = {
|
|
|
949
931
|
key: 1,
|
|
950
932
|
size: "lg",
|
|
951
933
|
class: "sv-action sv-action--primary",
|
|
952
|
-
|
|
953
|
-
disabled: !be.value && !ae.value,
|
|
934
|
+
disabled: !ye.value && !ae.value,
|
|
954
935
|
loading: n(L),
|
|
955
936
|
onClick: te
|
|
956
937
|
}, {
|
|
@@ -963,21 +944,20 @@ const Sa = {
|
|
|
963
944
|
size: "lg",
|
|
964
945
|
intent: "subtle",
|
|
965
946
|
class: "sv-action sv-action--secondary",
|
|
966
|
-
"data-testid": "charge-on-demand-cancel",
|
|
967
947
|
disabled: n(L),
|
|
968
|
-
onClick:
|
|
948
|
+
onClick: se
|
|
969
949
|
}, {
|
|
970
950
|
default: c(() => [
|
|
971
|
-
v(p(
|
|
951
|
+
v(p(be.value), 1)
|
|
972
952
|
]),
|
|
973
953
|
_: 1
|
|
974
954
|
}, 8, ["disabled"])
|
|
975
955
|
]))
|
|
976
956
|
]),
|
|
977
957
|
_: 1
|
|
978
|
-
}, 8, ["show-modal", "title", "sub-title", "cancel-button-text", "confirm-button-text", "is-pending", "panes", "step", "customer", "payment-method-options", "is-payment-method-options-pending"
|
|
958
|
+
}, 8, ["show-modal", "title", "sub-title", "cancel-button-text", "confirm-button-text", "is-pending", "panes", "step", "customer", "payment-method-options", "is-payment-method-options-pending"]));
|
|
979
959
|
}
|
|
980
960
|
});
|
|
981
961
|
export {
|
|
982
|
-
|
|
962
|
+
et as default
|
|
983
963
|
};
|