@solvimon/solvimon-web 0.1.0-alpha.26 → 0.1.0-alpha.27
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 +12 -10
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
- package/dist/{Avatar.vue.es-Bm6MCMAL.js → Avatar.vue.es-BJxSCU76.js} +1 -1
- package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +14 -15
- package/dist/{Button.vue.es-qGvnOKnK.js → Button.vue.es-BzkuglKw.js} +1 -1
- package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CB4mrvkU.mjs} +145 -153
- package/dist/{ChargeOnDemandModal-DIQaGnRs.js → ChargeOnDemandModal-b17YswWA.js} +1 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
- package/dist/{Chip.vue.es-D60gTbfe.js → Chip.vue.es-B2jjzIOc.js} +1 -1
- package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
- package/dist/{ContextMenu.vue.es-C7KI8Gz6.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
- package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-bFUx81Ig.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
- package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +110 -123
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
- package/dist/{DividerText.vue.es-BF3gnr4e.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
- package/dist/{DividerText.vue.es-DKl3FnDJ.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
- package/dist/{ErrorNotification.vue.es-rRKgmkzV.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
- package/dist/{ErrorNotification.vue.es-BX9dHEc-.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
- package/dist/{IconButton.vue.es-Bwdfu-jm.js → IconButton.vue.es-DgQN18Am.js} +1 -1
- package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CK9k69tV.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
- package/dist/{IconTitle.vue.es-Cei98MBw.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
- package/dist/{Input.vue.es-B47l_feL.js → Input.vue.es-B60eK8Ds.js} +1 -1
- package/dist/{Input.vue.es-D9IjIWc-.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
- package/dist/{InvoiceSummary.vue.es-DBnR9Hs7.js → InvoiceSummary.vue.es-CAmA8g0t.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-DQ4KvTaw.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +7 -7
- package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
- package/dist/{Modal.vue.es-8LN4gBh0.js → Modal.vue.es-DvLB3uCG.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-Ds93gNvh.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
- package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-B_Db4DG1.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
- package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs} +4 -4
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +16 -20
- package/dist/{PaymentIntegrationFormStripe-DUCJTIAq.js → PaymentIntegrationFormStripe-CoLmAzas.js} +3 -3
- package/dist/{PaymentIntegrationFormStripe-BIiMCWlV.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +5 -5
- package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-CJcSZ9lN.js → PaymentMethod.vue.es-D0D9jW8s.js} +1 -1
- package/dist/{PaymentMethodForm-1d0YIGOu.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
- package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +33 -35
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
- package/dist/{PlanCustomizationEditor-CpZeilm5.mjs → PlanCustomizationEditor-DlVSCKGN.mjs} +234 -206
- package/dist/{PricingGroupRangeInput.vue.es-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-DZSJ5Mz0.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs} +6 -6
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
- package/dist/{RadioGroupExtended.vue.es-Dt6LH9Yh.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
- package/dist/{Section.vue.es-zVXBHAL6.js → Section.vue.es-Bbt0RITt.js} +1 -1
- package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
- package/dist/{StepInput.vue.es-mAnuCuDQ.js → StepInput.vue.es-H-3R4jJq.js} +1 -1
- package/dist/{StepInput.vue.es-C3Zm6Wc9.mjs → StepInput.vue.es-o-3Lg4Ai.mjs} +4 -4
- package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-CGl6Z5ql.mjs} +22 -22
- package/dist/{SubscriptionDetails.entry.ce-D4CsSoR9.js → SubscriptionDetails.entry.ce-CQUO_uXH.js} +1 -1
- package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
- package/dist/{SubscriptionSchedules-Cm5Dt-1H.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +11 -11
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +8 -9
- package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +1 -1
- package/dist/{TooltipParagraph.vue.es-Cph6zT31.js → TooltipParagraph.vue.es-DvC5Wjaz.js} +1 -1
- package/dist/{TrialChip.vue.es-C_wgHGuN.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
- package/dist/{TrialChip.vue.es-C_yRujip.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
- package/dist/{cn.es-D9YMDvG2.js → cn.es-C9Yqq4tg.js} +1 -1
- package/dist/{cn.es-CGa6b2Lt.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +6 -6
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +9 -9
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +14 -15
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-D5DAoHRI.mjs → customElements-B58FcXIN.mjs} +5 -5
- package/dist/{customElements-C963-LtW.js → customElements-DUMRMFQ5.js} +2 -2
- package/dist/{customer-DKa1B2vp.mjs → customer-B3LPAhaD.mjs} +1 -1
- package/dist/{customer-TE1FnGT0.js → customer-CisTPaXj.js} +1 -1
- package/dist/{de-DE-CLfzTbbX.mjs → de-DE-DKp5LCu0.mjs} +15 -1
- package/dist/de-DE-DL74pMLb.js +1 -0
- package/dist/en-US-B2XFj-_p.js +1 -0
- package/dist/{en-US-D6SGRAch.mjs → en-US-DQ5vlv9Z.mjs} +15 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{invoices-DJTwftJv.mjs → invoices-3520M5AN.mjs} +1 -1
- package/dist/{invoices-ClqTWYF9.js → invoices-CKQBLar2.js} +1 -1
- package/dist/{it-IT-Cym1UvvK.mjs → it-IT-BgFVsO5S.mjs} +15 -1
- package/dist/it-IT-CqNK62qe.js +1 -0
- package/dist/nl-NL-Dx-TNXQ1.js +1 -0
- package/dist/{nl-NL-D0c4x5C0.mjs → nl-NL-UiRWbO9S.mjs} +15 -1
- package/dist/{paymentMethods-CWzJhcWK.mjs → paymentMethods-CWlvwK5V.mjs} +1 -1
- package/dist/{paymentMethods-AL2U_byg.js → paymentMethods-Cw-i95mM.js} +1 -1
- package/dist/{payments-aXyfylwk.mjs → payments-2qeQdpiW.mjs} +1 -1
- package/dist/{payments-BmiHMlQt.js → payments-CS7_YcOW.js} +1 -1
- package/dist/pricing-BIMpDI_p.mjs +29 -0
- package/dist/pricing-BOqG21f9.js +1 -0
- package/dist/{pricingPlanSchedules-BfsMSvN0.js → pricingPlanSchedules-B_sTAIgU.js} +1 -1
- package/dist/{pricingPlanSchedules-BD4GIP_F.mjs → pricingPlanSchedules-ChQCbMfe.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +12 -12
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
- package/dist/{subscriptions-cnR5fnf7.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
- package/dist/{subscriptions-Cm83ckfl.js → subscriptions-DwVsf4Ev.js} +1 -1
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- 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/providers/LoggerProvider/LoggerProvider.types.d.ts +1 -1
- package/dist/{useActionDispatchProvider-DDYqIh3r.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CHkVQMaE.js → useActionDispatchProvider-DFhppdve.js} +1 -1
- package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
- package/dist/{useCustomer-DGYtowRy.js → useCustomer-BwZKd9i5.js} +1 -1
- package/dist/{useCustomerFormLabels-CcnkJLcB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +5 -5
- package/dist/{useCustomerFormLabels-DAZziqYt.js → useCustomerFormLabels-DV9QiMYh.js} +1 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
- package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
- package/dist/{useInvoiceData-BEK-7msA.mjs → useInvoiceData-BocKdeg7.mjs} +2 -2
- package/dist/{useInvoiceData-CQRn8l9C.js → useInvoiceData-CNV_FMV8.js} +1 -1
- package/dist/{useInvoicesList-C4I118KM.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
- package/dist/{useInvoicesList-BQkKyyXa.js → useInvoicesList-S0IbQcrD.js} +1 -1
- package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
- package/dist/{useLoadInitialData-CrKnBZs_.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
- package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +13 -14
- package/dist/{usePaymentMethodOptions-Ciifjo6c.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +1 -1
- package/dist/{usePaymentMethodOptions-Cqe92ZBn.js → usePaymentMethodOptions-CuzOoi2k.js} +1 -1
- package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
- package/dist/{usePaymentMethods-BKwrl82-.js → usePaymentMethods-DDaTZQZp.js} +1 -1
- package/dist/{usePayments-CV85OV8V.mjs → usePayments-Cr6NlGaW.mjs} +6 -6
- package/dist/{usePayments-Bauj16B-.js → usePayments-DDSjo0rH.js} +1 -1
- package/dist/{usePortal-DSLImEfr.js → usePortal-C27omjhz.js} +1 -1
- package/dist/{usePortal-H8Tv2TnZ.mjs → usePortal-C5AsegpS.mjs} +1 -1
- package/dist/{useSubscription-DqnxWNKg.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
- package/dist/{useSubscription-BiYNJT2e.js → useSubscription-D787IXY-.js} +1 -1
- package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
- package/dist/{useTimePeriod.es-D2aiyfd-.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
- package/package.json +10 -7
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
- package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
- package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
- package/dist/PlanCustomizationEditor-CEMP_Dhz.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/adyen-CvsH5fok.mjs +0 -117
- package/dist/adyen-Druit6gz.js +0 -1
- package/dist/de-DE-DaBBl-Ak.js +0 -1
- package/dist/en-US-BNevqm0M.js +0 -1
- package/dist/it-IT-BkPbTueL.js +0 -1
- package/dist/nl-NL-jIfAVGv0.js +0 -1
- package/dist/pricing-BVAld27Y.js +0 -1
- package/dist/pricing-DLOeiAIB.mjs +0 -16
- package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
- package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
- package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as z, ref as $, onMounted as xt, onBeforeUnmount as Se, computed as s, openBlock as w, createBlock as C, withCtx as _, createElementVNode as N, toDisplayString as I, createVNode as A, createTextVNode as F, createElementBlock as W, unref as r, createCommentVNode as
|
|
1
|
+
import { defineComponent as z, ref as $, onMounted as xt, onBeforeUnmount as Se, computed as s, openBlock as w, createBlock as C, withCtx as _, createElementVNode as N, toDisplayString as I, createVNode as A, createTextVNode as F, createElementBlock as W, unref as r, createCommentVNode as R, renderSlot as se, createSlots as re, Fragment as he, renderList as ge, watch as X, useModel as $t, isRef as Et, mergeModels as Ot, mergeProps as le, reactive as Ae, normalizeClass as ze, withModifiers as Ne, normalizeStyle as Re } from "vue";
|
|
2
2
|
import { w as Bt } from "./api.es-QaC926Xu.mjs";
|
|
3
|
-
import { a as Q, _ as K, c as Qe, u as Ge, b as _e, g as It } from "./customElements-
|
|
3
|
+
import { a as Q, _ as K, c as Qe, u as Ge, b as _e, g as It } from "./customElements-B58FcXIN.mjs";
|
|
4
4
|
import { E as Dt } from "./sessionReference-3h-6FdrC.mjs";
|
|
5
5
|
import { u as Nt } from "./useService-Bh47bllz.mjs";
|
|
6
|
-
import { _ as Ke } from "./ErrorNotification.vue.es-
|
|
7
|
-
import { i as
|
|
6
|
+
import { _ as Ke } from "./ErrorNotification.vue.es-h-D37rfG.mjs";
|
|
7
|
+
import { i as Rt, a as Me, h as kt } from "./pricingItemConfigs.es-ORxsk_YS.mjs";
|
|
8
8
|
import { b as Ce } from "./wallets.es-eH2C2ygn.mjs";
|
|
9
|
-
import { _ as ue, a as qt } from "./Button.vue.es-
|
|
10
|
-
import { _ as Xe, T as Je, a as Ze } from "./TooltipParagraph.vue.es-
|
|
11
|
-
import { _ as ve } from "./Section.vue.es-
|
|
12
|
-
import { _ as et } from "./Skeleton.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as tt } from "./RadioGroupExtended.vue.es-
|
|
9
|
+
import { _ as ue, a as qt } from "./Button.vue.es-Cmjfm4jw.mjs";
|
|
10
|
+
import { _ as Xe, T as Je, a as Ze } from "./TooltipParagraph.vue.es-B9A17aG7.mjs";
|
|
11
|
+
import { _ as ve } from "./Section.vue.es-DVEpre9O.mjs";
|
|
12
|
+
import { _ as et } from "./Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs";
|
|
13
|
+
import { _ as tt } from "./RadioGroupExtended.vue.es-9YzXzZF0.mjs";
|
|
14
14
|
import { a as Vt, u as xe, c as ie, _ as Ft, d as Lt, r as ot } from "./formControl-dX7l8o3c.mjs";
|
|
15
15
|
import { f as $e } from "./formatting.es-RclXHhKo.mjs";
|
|
16
16
|
import { _ as Yt } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
17
17
|
import { _ as nt } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
18
|
-
import { a as at } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { _ as Ht } from "./cn.es-
|
|
20
|
-
import { c as it } from "./invoices-
|
|
18
|
+
import { a as at } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs";
|
|
19
|
+
import { _ as Ht } from "./cn.es-Cvt6TIwv.mjs";
|
|
20
|
+
import { c as it } from "./invoices-3520M5AN.mjs";
|
|
21
21
|
import { u as Wt } from "./useWatchDebounced-BHlBPcXB.mjs";
|
|
22
|
-
import { _ as jt } from "./Input.vue.es-
|
|
23
|
-
import { _ as st, a as zt } from "./AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-
|
|
24
|
-
import { _ as Qt } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-
|
|
22
|
+
import { _ as jt } from "./Input.vue.es-CU9u5yKH.mjs";
|
|
23
|
+
import { _ as st, a as zt } from "./AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs";
|
|
24
|
+
import { _ as Qt } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs";
|
|
25
25
|
import { g as Gt } from "./customer.es-B5ppZf0j.mjs";
|
|
26
|
-
import { u as Kt } from "./usePaymentMethodOptions-
|
|
27
|
-
import { M as lt } from "./Modal.vue.es-
|
|
26
|
+
import { u as Kt } from "./usePaymentMethodOptions-1vRAo6Ib.mjs";
|
|
27
|
+
import { M as lt } from "./Modal.vue.es-BeI5C9-9.mjs";
|
|
28
28
|
const Xt = 3e4, we = 60, Te = 12, Jt = /* @__PURE__ */ z({
|
|
29
29
|
__name: "DateTimeAgo",
|
|
30
30
|
props: {
|
|
@@ -145,7 +145,7 @@ const Xt = 3e4, we = 60, Te = 12, Jt = /* @__PURE__ */ z({
|
|
|
145
145
|
}, l = s(
|
|
146
146
|
() => (e.walletBalance.charge_on_demand_pricing_items ?? []).filter(
|
|
147
147
|
(y) => i(y).some(
|
|
148
|
-
(p) =>
|
|
148
|
+
(p) => Rt(p) || Me(p)
|
|
149
149
|
)
|
|
150
150
|
)
|
|
151
151
|
), u = s(
|
|
@@ -177,8 +177,8 @@ const Xt = 3e4, we = 60, Te = 12, Jt = /* @__PURE__ */ z({
|
|
|
177
177
|
const P = (y = b.value) == null ? void 0 : y.pricing_item_id;
|
|
178
178
|
if (!P)
|
|
179
179
|
return;
|
|
180
|
-
const E = (e.walletBalance.charge_on_demand_pricing_items ?? []).filter((
|
|
181
|
-
return E.find((
|
|
180
|
+
const E = (e.walletBalance.charge_on_demand_pricing_items ?? []).filter((k) => k.pricing_item_id === P).flatMap((k) => i(k)).flatMap((k) => k.wallet_grants ?? []), D = (p = e.walletBalance.wallet) == null ? void 0 : p.wallet_type_id;
|
|
181
|
+
return E.find((k) => k.wallet_type_id === D) ?? E[0];
|
|
182
182
|
}), U = s(() => {
|
|
183
183
|
var y, p;
|
|
184
184
|
const P = (y = b.value) == null ? void 0 : y.topup_amount, E = (p = v.value) == null ? void 0 : p.credits_grant;
|
|
@@ -296,7 +296,7 @@ const Xt = 3e4, we = 60, Te = 12, Jt = /* @__PURE__ */ z({
|
|
|
296
296
|
id: "wallet_balance.updated_action_verb",
|
|
297
297
|
description: "Verb in front of when a wallet balance was last updated, e.g. 'updated 5 minutes ago'"
|
|
298
298
|
})
|
|
299
|
-
}, null, 8, ["date", "action-verb"])) :
|
|
299
|
+
}, null, 8, ["date", "action-verb"])) : R("", !0)
|
|
300
300
|
];
|
|
301
301
|
}),
|
|
302
302
|
_: 1
|
|
@@ -327,12 +327,12 @@ const Xt = 3e4, we = 60, Te = 12, Jt = /* @__PURE__ */ z({
|
|
|
327
327
|
})), 1)
|
|
328
328
|
]),
|
|
329
329
|
_: 1
|
|
330
|
-
})) :
|
|
330
|
+
})) : R("", !0)
|
|
331
331
|
])
|
|
332
332
|
]),
|
|
333
333
|
f.$slots.graph ? (w(), W("div", ao, [
|
|
334
334
|
se(f.$slots, "graph")
|
|
335
|
-
])) :
|
|
335
|
+
])) : R("", !0),
|
|
336
336
|
r(c) ? (w(), W("div", io, [
|
|
337
337
|
N("div", so, [
|
|
338
338
|
A(Xe, { class: "min-w-0" }, {
|
|
@@ -403,7 +403,7 @@ const Xt = 3e4, we = 60, Te = 12, Jt = /* @__PURE__ */ z({
|
|
|
403
403
|
_: 1
|
|
404
404
|
}))
|
|
405
405
|
])
|
|
406
|
-
])) :
|
|
406
|
+
])) : R("", !0)
|
|
407
407
|
]));
|
|
408
408
|
}
|
|
409
409
|
}), co = { class: "flex flex-col gap-2" }, po = /* @__PURE__ */ z({
|
|
@@ -467,7 +467,7 @@ function mo() {
|
|
|
467
467
|
getCustomerWalletBalances: o
|
|
468
468
|
};
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Dn({ customerId: e }) {
|
|
471
471
|
const { getCustomerWalletBalances: t } = mo(), { data: o, execute: n, apiStatus: a, error: i, isPending: l } = Nt({
|
|
472
472
|
service: () => t(e)
|
|
473
473
|
});
|
|
@@ -475,7 +475,7 @@ function Nn({ customerId: e }) {
|
|
|
475
475
|
() => o.value ?? null
|
|
476
476
|
), apiStatus: a, error: i, fetch: n, isPending: l };
|
|
477
477
|
}
|
|
478
|
-
const
|
|
478
|
+
const ke = (e = [], t) => {
|
|
479
479
|
if (t != null && t.pricing_item_id)
|
|
480
480
|
return e.find(
|
|
481
481
|
(o) => (o.charge_on_demand_pricing_items ?? []).some(
|
|
@@ -540,7 +540,7 @@ const Re = (e = [], t) => {
|
|
|
540
540
|
});
|
|
541
541
|
function _o(e, t) {
|
|
542
542
|
var i, l, u;
|
|
543
|
-
if (!e.on_demand || !
|
|
543
|
+
if (!e.on_demand || !kt(e, ["FIXED"]))
|
|
544
544
|
return;
|
|
545
545
|
const o = (u = (l = (i = e.details) == null ? void 0 : i.bands) == null ? void 0 : l[0]) == null ? void 0 : u.fixed_amount;
|
|
546
546
|
if (!o)
|
|
@@ -721,10 +721,7 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
721
721
|
},
|
|
722
722
|
setup(e) {
|
|
723
723
|
const t = e, { $t: o } = Q(), n = s(() => t.pricingPlanScheduleId), a = s(() => t.pricingItems), { invoicePreview: i } = $o({ pricingPlanScheduleId: n, pricingItems: a });
|
|
724
|
-
return (l, u) => (w(), C(et, {
|
|
725
|
-
class: "sv-top-up-invoice-preview h-[152px]",
|
|
726
|
-
"data-testid": "top-up-invoice-preview-skeleton"
|
|
727
|
-
}, {
|
|
724
|
+
return (l, u) => (w(), C(et, { class: "sv-top-up-invoice-preview h-[152px]" }, {
|
|
728
725
|
default: _(() => [
|
|
729
726
|
r(i) ? (w(), W("div", Eo, [
|
|
730
727
|
A(r(Ht), { required: "" }, {
|
|
@@ -746,7 +743,7 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
746
743
|
]),
|
|
747
744
|
_: 1
|
|
748
745
|
})
|
|
749
|
-
])) :
|
|
746
|
+
])) : R("", !0)
|
|
750
747
|
]),
|
|
751
748
|
_: 1
|
|
752
749
|
}));
|
|
@@ -800,7 +797,7 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
800
797
|
const a = Do(e == null ? void 0 : e.quantity, t, o);
|
|
801
798
|
if (a !== void 0)
|
|
802
799
|
return t === "CREDITS" ? n(a) : Ie(a);
|
|
803
|
-
},
|
|
800
|
+
}, Pe = /* @__PURE__ */ z({
|
|
804
801
|
__name: "ConvertedAmountInput",
|
|
805
802
|
props: /* @__PURE__ */ Ot({
|
|
806
803
|
unit: { type: String },
|
|
@@ -886,8 +883,8 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
886
883
|
return i.value === "CREDITS" ? S.value : ((P = (p = t.bounds) == null ? void 0 : p.minimum) == null ? void 0 : P.currency) ?? ((D = (E = t.bounds) == null ? void 0 : E.maximum) == null ? void 0 : D.currency) ?? t.unit;
|
|
887
884
|
}
|
|
888
885
|
), y = s(() => {
|
|
889
|
-
var D,
|
|
890
|
-
const p = B((D = t.bounds) == null ? void 0 : D.minimum), P = B((
|
|
886
|
+
var D, k;
|
|
887
|
+
const p = B((D = t.bounds) == null ? void 0 : D.minimum), P = B((k = t.bounds) == null ? void 0 : k.maximum), E = J.value;
|
|
891
888
|
if (p && P)
|
|
892
889
|
return n(
|
|
893
890
|
{
|
|
@@ -929,9 +926,7 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
929
926
|
error: e.error
|
|
930
927
|
}, re({
|
|
931
928
|
suffix: _(() => [
|
|
932
|
-
N("span",
|
|
933
|
-
"data-testid": `${e.name}-unit`
|
|
934
|
-
}, I(e.unit), 9, No)
|
|
929
|
+
N("span", null, I(e.unit), 1)
|
|
935
930
|
]),
|
|
936
931
|
_: 2
|
|
937
932
|
}, [
|
|
@@ -942,14 +937,13 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
942
937
|
tag: "span",
|
|
943
938
|
variant: "body-xs",
|
|
944
939
|
color: "subtle",
|
|
945
|
-
"no-spacing": ""
|
|
946
|
-
"data-testid": `${e.name}-bounds`
|
|
940
|
+
"no-spacing": ""
|
|
947
941
|
}, {
|
|
948
942
|
default: _(() => [
|
|
949
943
|
F(I(y.value), 1)
|
|
950
944
|
]),
|
|
951
945
|
_: 1
|
|
952
|
-
}
|
|
946
|
+
})
|
|
953
947
|
]),
|
|
954
948
|
key: "0"
|
|
955
949
|
} : void 0,
|
|
@@ -960,20 +954,19 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
960
954
|
tag: "span",
|
|
961
955
|
variant: "body-xs",
|
|
962
956
|
color: "subtle",
|
|
963
|
-
"no-spacing": ""
|
|
964
|
-
"data-testid": `${e.name}-conversion`
|
|
957
|
+
"no-spacing": ""
|
|
965
958
|
}, {
|
|
966
959
|
default: _(() => [
|
|
967
960
|
F(I(U.value), 1)
|
|
968
961
|
]),
|
|
969
962
|
_: 1
|
|
970
|
-
}
|
|
963
|
+
})
|
|
971
964
|
]),
|
|
972
965
|
key: "1"
|
|
973
966
|
} : void 0
|
|
974
967
|
]), 1032, ["modelValue", "name", "label", "required", "disabled", "error"]));
|
|
975
968
|
}
|
|
976
|
-
}),
|
|
969
|
+
}), No = /* @__PURE__ */ z({
|
|
977
970
|
__name: "Section",
|
|
978
971
|
props: {
|
|
979
972
|
emphasized: { type: Boolean, default: !1 },
|
|
@@ -1162,24 +1155,24 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
1162
1155
|
function D() {
|
|
1163
1156
|
return P.value.$touch(), P.value.$invalid ? void 0 : B();
|
|
1164
1157
|
}
|
|
1165
|
-
function
|
|
1158
|
+
function k() {
|
|
1166
1159
|
const T = D();
|
|
1167
1160
|
T && a("save", T);
|
|
1168
1161
|
}
|
|
1169
1162
|
return t({
|
|
1170
|
-
submit:
|
|
1163
|
+
submit: k,
|
|
1171
1164
|
validate: D,
|
|
1172
1165
|
rule: U,
|
|
1173
1166
|
hasChanges: E,
|
|
1174
1167
|
isInvalid: s(() => P.value.$invalid)
|
|
1175
|
-
}), (T, x) => (w(), C(
|
|
1168
|
+
}), (T, x) => (w(), C(No, {
|
|
1176
1169
|
class: "sv-auto-topup-config",
|
|
1177
1170
|
"content-background": e.contained ? "gray" : "none",
|
|
1178
1171
|
"no-spacing": !e.contained,
|
|
1179
1172
|
"no-border": !e.contained
|
|
1180
1173
|
}, {
|
|
1181
1174
|
default: _(() => [
|
|
1182
|
-
e.alwaysEnabled ?
|
|
1175
|
+
e.alwaysEnabled ? R("", !0) : (w(), C(r(Ft), {
|
|
1183
1176
|
key: 0,
|
|
1184
1177
|
modelValue: v.value,
|
|
1185
1178
|
"onUpdate:modelValue": x[0] || (x[0] = (G) => v.value = G),
|
|
@@ -1267,7 +1260,7 @@ const Eo = { key: 0 }, vt = /* @__PURE__ */ z({
|
|
|
1267
1260
|
id: "auto_topup_config.amount.label"
|
|
1268
1261
|
})
|
|
1269
1262
|
}, null, 8, ["modelValue", "unit", "entry-base", "currency", "credit-unit-name", "conversion-rate", "bounds", "disabled", "error", "label"])
|
|
1270
|
-
], 2)) :
|
|
1263
|
+
], 2)) : R("", !0)
|
|
1271
1264
|
]),
|
|
1272
1265
|
_: 1
|
|
1273
1266
|
}, 8, ["is-open"])
|
|
@@ -1314,7 +1307,7 @@ function ye() {
|
|
|
1314
1307
|
const { $t: e, formatNumber: t } = Q(), o = (a) => Ce(e, t, a);
|
|
1315
1308
|
return { formatValue: o, formatOpenBalance: (a) => o(a == null ? void 0 : a.wallet_balance.open_balance) };
|
|
1316
1309
|
}
|
|
1317
|
-
const
|
|
1310
|
+
const ko = { class: "sv-top-up-form" }, qo = { class: "grid grid-cols-1 gap-4" }, Vo = { class: "grid grid-cols-1 gap-1" }, Fo = { class: "sv-top-up-form__option-details" }, Lo = { key: 0 }, Yo = /* @__PURE__ */ z({
|
|
1318
1311
|
__name: "TopUpModalForm",
|
|
1319
1312
|
props: {
|
|
1320
1313
|
topUpPricingItems: { type: null },
|
|
@@ -1453,7 +1446,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1453
1446
|
}
|
|
1454
1447
|
};
|
|
1455
1448
|
})
|
|
1456
|
-
),
|
|
1449
|
+
), k = s(() => {
|
|
1457
1450
|
const d = u.value.pricing_items.filter(
|
|
1458
1451
|
(m) => {
|
|
1459
1452
|
var M;
|
|
@@ -1462,7 +1455,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1462
1455
|
);
|
|
1463
1456
|
return d.length > 0 ? d : void 0;
|
|
1464
1457
|
}), T = s(() => !n.autoTopUpConfig && c.value.some(({ flexiblePricing: m }) => m) ? mt(n.topUpPricingItems) : void 0), x = $(), { chargeOnDemandPricingItems: G } = it(), de = _e(), Z = $(!1), te = s(
|
|
1465
|
-
() => !!u.value.pricing_plan_schedule_id && !!
|
|
1458
|
+
() => !!u.value.pricing_plan_schedule_id && !!k.value && !!u.value.payment_method_id
|
|
1466
1459
|
), ce = Ae({
|
|
1467
1460
|
paymentMethodId: s(() => u.value.payment_method_id ?? null)
|
|
1468
1461
|
}), ne = xe(
|
|
@@ -1492,7 +1485,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1492
1485
|
try {
|
|
1493
1486
|
const Y = await G({
|
|
1494
1487
|
pricing_plan_schedule_id: u.value.pricing_plan_schedule_id,
|
|
1495
|
-
pricing_items:
|
|
1488
|
+
pricing_items: k.value ?? [],
|
|
1496
1489
|
payment_method_id: u.value.payment_method_id,
|
|
1497
1490
|
preview: !1
|
|
1498
1491
|
});
|
|
@@ -1517,9 +1510,9 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1517
1510
|
paymentMethods: s(() => n.paymentMethods),
|
|
1518
1511
|
selectedPaymentMethodId: ae
|
|
1519
1512
|
});
|
|
1520
|
-
return (d, m) => (w(), W("form",
|
|
1521
|
-
N("div",
|
|
1522
|
-
N("div",
|
|
1513
|
+
return (d, m) => (w(), W("form", ko, [
|
|
1514
|
+
N("div", qo, [
|
|
1515
|
+
N("div", Vo, [
|
|
1523
1516
|
D.value.length > 0 ? (w(), C(r(tt), {
|
|
1524
1517
|
key: 0,
|
|
1525
1518
|
modelValue: f.value,
|
|
@@ -1552,10 +1545,10 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1552
1545
|
F(I(v(q)), 1)
|
|
1553
1546
|
]),
|
|
1554
1547
|
_: 2
|
|
1555
|
-
}, 1024)) :
|
|
1548
|
+
}, 1024)) : R("", !0)
|
|
1556
1549
|
]),
|
|
1557
1550
|
description: _(({ option: M, optionValue: q }) => [
|
|
1558
|
-
N("div",
|
|
1551
|
+
N("div", Fo, [
|
|
1559
1552
|
M.description && !E(q) ? (w(), C(r(K), {
|
|
1560
1553
|
key: 0,
|
|
1561
1554
|
tag: "span",
|
|
@@ -1567,7 +1560,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1567
1560
|
F(I(M.description), 1)
|
|
1568
1561
|
]),
|
|
1569
1562
|
_: 2
|
|
1570
|
-
}, 1024)) :
|
|
1563
|
+
}, 1024)) : R("", !0),
|
|
1571
1564
|
P(q).length > 0 ? (w(), C(r(nt), {
|
|
1572
1565
|
key: 1,
|
|
1573
1566
|
"is-open": String(q) === f.value,
|
|
@@ -1595,7 +1588,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1595
1588
|
F(I(M.description), 1)
|
|
1596
1589
|
]),
|
|
1597
1590
|
_: 2
|
|
1598
|
-
}, 1024)) :
|
|
1591
|
+
}, 1024)) : R("", !0),
|
|
1599
1592
|
A(Pe, {
|
|
1600
1593
|
modelValue: B.value,
|
|
1601
1594
|
"onUpdate:modelValue": m[0] || (m[0] = (j) => B.value = j),
|
|
@@ -1612,19 +1605,19 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1612
1605
|
}), 128))
|
|
1613
1606
|
]),
|
|
1614
1607
|
_: 2
|
|
1615
|
-
}, 1032, ["is-open"])) :
|
|
1608
|
+
}, 1032, ["is-open"])) : R("", !0)
|
|
1616
1609
|
])
|
|
1617
1610
|
]),
|
|
1618
1611
|
_: 1
|
|
1619
|
-
}, 8, ["modelValue", "disabled", "options", "label"])) :
|
|
1612
|
+
}, 8, ["modelValue", "disabled", "options", "label"])) : R("", !0)
|
|
1620
1613
|
]),
|
|
1621
1614
|
N("div", null, [
|
|
1622
1615
|
A(vt, {
|
|
1623
1616
|
"pricing-plan-schedule-id": b.value,
|
|
1624
|
-
"pricing-items":
|
|
1617
|
+
"pricing-items": k.value
|
|
1625
1618
|
}, null, 8, ["pricing-plan-schedule-id", "pricing-items"])
|
|
1626
1619
|
]),
|
|
1627
|
-
T.value ? (w(), W("div",
|
|
1620
|
+
T.value ? (w(), W("div", Lo, [
|
|
1628
1621
|
A(_t, le({
|
|
1629
1622
|
ref_key: "autoTopUpFormRef",
|
|
1630
1623
|
ref: x,
|
|
@@ -1634,7 +1627,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1634
1627
|
"show-threshold-conversion": !1,
|
|
1635
1628
|
disabled: Z.value
|
|
1636
1629
|
}), null, 16, ["disabled"])
|
|
1637
|
-
])) :
|
|
1630
|
+
])) : R("", !0),
|
|
1638
1631
|
N("div", null, [
|
|
1639
1632
|
A(r(Yt), { spacing: "xs" })
|
|
1640
1633
|
]),
|
|
@@ -1661,7 +1654,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1661
1654
|
])
|
|
1662
1655
|
]));
|
|
1663
1656
|
}
|
|
1664
|
-
}),
|
|
1657
|
+
}), Ho = { class: "sv-top-up-success grid grid-cols-1 gap-4" }, Wo = /* @__PURE__ */ z({
|
|
1665
1658
|
__name: "TopUpModalSuccess",
|
|
1666
1659
|
props: {
|
|
1667
1660
|
addedValue: { type: Object },
|
|
@@ -1669,7 +1662,7 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1669
1662
|
},
|
|
1670
1663
|
setup(e) {
|
|
1671
1664
|
const { $t: t } = Q();
|
|
1672
|
-
return (o, n) => (w(), W("div",
|
|
1665
|
+
return (o, n) => (w(), W("div", Ho, [
|
|
1673
1666
|
e.invoice ? (w(), C(r(ve), {
|
|
1674
1667
|
key: 0,
|
|
1675
1668
|
"content-background": "none"
|
|
@@ -1696,11 +1689,11 @@ const qo = { class: "sv-top-up-form" }, Vo = { class: "grid grid-cols-1 gap-4" }
|
|
|
1696
1689
|
}, null, 8, ["invoice"])
|
|
1697
1690
|
]),
|
|
1698
1691
|
_: 1
|
|
1699
|
-
})) :
|
|
1692
|
+
})) : R("", !0)
|
|
1700
1693
|
]));
|
|
1701
1694
|
}
|
|
1702
1695
|
});
|
|
1703
|
-
function
|
|
1696
|
+
function jo({
|
|
1704
1697
|
step: e,
|
|
1705
1698
|
currentBalance: t,
|
|
1706
1699
|
topUpValue: o
|
|
@@ -1793,7 +1786,7 @@ function bt({
|
|
|
1793
1786
|
);
|
|
1794
1787
|
return { paymentMethodOptions: a, settledOptions: c, isPending: l, load: u };
|
|
1795
1788
|
}
|
|
1796
|
-
function
|
|
1789
|
+
function zo(e) {
|
|
1797
1790
|
const t = $(0), o = (a) => {
|
|
1798
1791
|
t.value = (a == null ? void 0 : a.offsetHeight) ?? 0;
|
|
1799
1792
|
}, n = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver((a) => {
|
|
@@ -1812,7 +1805,7 @@ function Qo(e) {
|
|
|
1812
1805
|
n == null || n.disconnect();
|
|
1813
1806
|
}), t;
|
|
1814
1807
|
}
|
|
1815
|
-
const
|
|
1808
|
+
const Qo = ["inert"], Go = 300, Ko = "1rem", Xo = /* @__PURE__ */ z({
|
|
1816
1809
|
__name: "SlidingPanes",
|
|
1817
1810
|
props: {
|
|
1818
1811
|
panes: { type: Array },
|
|
@@ -1826,27 +1819,27 @@ const Go = ["inert"], Ko = 300, Xo = "1rem", Jo = /* @__PURE__ */ z({
|
|
|
1826
1819
|
() => {
|
|
1827
1820
|
o.value = !0, clearTimeout(n), n = setTimeout(() => {
|
|
1828
1821
|
o.value = !1;
|
|
1829
|
-
},
|
|
1822
|
+
}, Go);
|
|
1830
1823
|
}
|
|
1831
1824
|
), Se(() => {
|
|
1832
1825
|
clearTimeout(n);
|
|
1833
1826
|
});
|
|
1834
1827
|
const a = $({}), i = {}, l = (b) => i[b] ?? (i[b] = (S) => {
|
|
1835
1828
|
a.value[b] = S instanceof HTMLElement ? S : void 0;
|
|
1836
|
-
}), u = s(() => a.value[t.current]), c =
|
|
1829
|
+
}), u = s(() => a.value[t.current]), c = zo(u), g = s(() => {
|
|
1837
1830
|
const b = t.panes.indexOf(t.current);
|
|
1838
|
-
return b > 0 ? `translateX(calc(${-b} * (100% + ${
|
|
1831
|
+
return b > 0 ? `translateX(calc(${-b} * (100% + ${Ko})))` : "translateX(0px)";
|
|
1839
1832
|
});
|
|
1840
1833
|
return (b, S) => (w(), W("div", {
|
|
1841
1834
|
class: ze([
|
|
1842
1835
|
"sv-sliding-panes__viewport relative -mx-2 overflow-hidden px-2",
|
|
1843
1836
|
o.value ? "transition-[height] duration-300 ease-in-out motion-reduce:transition-none" : ""
|
|
1844
1837
|
]),
|
|
1845
|
-
style:
|
|
1838
|
+
style: Re(r(c) ? { height: `${r(c)}px` } : void 0)
|
|
1846
1839
|
}, [
|
|
1847
1840
|
N("div", {
|
|
1848
1841
|
class: "sv-sliding-panes__track flex items-start gap-4 transition-transform duration-300 ease-in-out motion-reduce:transition-none",
|
|
1849
|
-
style:
|
|
1842
|
+
style: Re({ transform: g.value })
|
|
1850
1843
|
}, [
|
|
1851
1844
|
(w(!0), W(he, null, ge(e.panes, (f) => (w(), W("div", {
|
|
1852
1845
|
key: f,
|
|
@@ -1859,7 +1852,7 @@ const Go = ["inert"], Ko = 300, Xo = "1rem", Jo = /* @__PURE__ */ z({
|
|
|
1859
1852
|
}, [
|
|
1860
1853
|
se(b.$slots, f)
|
|
1861
1854
|
], 512)
|
|
1862
|
-
], 8,
|
|
1855
|
+
], 8, Qo))), 128))
|
|
1863
1856
|
], 4)
|
|
1864
1857
|
], 6));
|
|
1865
1858
|
}
|
|
@@ -1907,7 +1900,7 @@ const Go = ["inert"], Ko = 300, Xo = "1rem", Jo = /* @__PURE__ */ z({
|
|
|
1907
1900
|
}, re({
|
|
1908
1901
|
body: _(() => [
|
|
1909
1902
|
N("div", le({ class: "grid grid-cols-1 gap-4 pb-4" }, i.$attrs), [
|
|
1910
|
-
A(
|
|
1903
|
+
A(Xo, {
|
|
1911
1904
|
panes: e.panes,
|
|
1912
1905
|
current: e.step
|
|
1913
1906
|
}, re({
|
|
@@ -2065,10 +2058,10 @@ function Ct() {
|
|
|
2065
2058
|
}
|
|
2066
2059
|
}, isSaving: o };
|
|
2067
2060
|
}
|
|
2068
|
-
const
|
|
2061
|
+
const Jo = {
|
|
2069
2062
|
key: 0,
|
|
2070
2063
|
class: "mb-4"
|
|
2071
|
-
},
|
|
2064
|
+
}, Zo = { class: "sr-only" }, en = { class: "flex flex-col gap-2" }, tn = /* @__PURE__ */ z({
|
|
2072
2065
|
__name: "TopUpModal",
|
|
2073
2066
|
props: {
|
|
2074
2067
|
showModal: { type: Boolean },
|
|
@@ -2120,7 +2113,7 @@ const Zo = {
|
|
|
2120
2113
|
() => !J.value && (U.value ?? []).length === 0
|
|
2121
2114
|
), E = s(
|
|
2122
2115
|
() => y.value === "TOP_UP" && !p.value && P.value
|
|
2123
|
-
), D = $(),
|
|
2116
|
+
), D = $(), k = $(), T = () => {
|
|
2124
2117
|
te(), n("payment-success");
|
|
2125
2118
|
}, {
|
|
2126
2119
|
paneRef: x,
|
|
@@ -2135,7 +2128,7 @@ const Zo = {
|
|
|
2135
2128
|
}), ae = s(() => {
|
|
2136
2129
|
var O;
|
|
2137
2130
|
return de.value || !!((O = oe.value) != null && O.isCharging);
|
|
2138
|
-
}), { title: me, subTitle: d, cancelButtonText: m, confirmButtonText: M } =
|
|
2131
|
+
}), { title: me, subTitle: d, cancelButtonText: m, confirmButtonText: M } = jo({
|
|
2139
2132
|
step: y,
|
|
2140
2133
|
currentBalance: u,
|
|
2141
2134
|
topUpValue: pe
|
|
@@ -2161,7 +2154,7 @@ const Zo = {
|
|
|
2161
2154
|
L && n("auto-top-up-saved");
|
|
2162
2155
|
}, V = (O) => {
|
|
2163
2156
|
var H;
|
|
2164
|
-
D.value = O,
|
|
2157
|
+
D.value = O, k.value = (H = oe.value) == null ? void 0 : H.chargedValue, y.value = "SUCCESS";
|
|
2165
2158
|
}, j = () => {
|
|
2166
2159
|
n("confirm"), n("close");
|
|
2167
2160
|
}, ee = () => {
|
|
@@ -2180,7 +2173,7 @@ const Zo = {
|
|
|
2180
2173
|
return X(
|
|
2181
2174
|
() => o.showModal,
|
|
2182
2175
|
(O) => {
|
|
2183
|
-
O && (y.value = "TOP_UP", D.value = void 0,
|
|
2176
|
+
O && (y.value = "TOP_UP", D.value = void 0, k.value = void 0, De.value += 1);
|
|
2184
2177
|
}
|
|
2185
2178
|
), (O, H) => (w(), C(wt, {
|
|
2186
2179
|
ref_key: "addPaymentMethodRef",
|
|
@@ -2204,7 +2197,7 @@ const Zo = {
|
|
|
2204
2197
|
onPaymentFailed: H[1] || (H[1] = (L) => O.$emit("payment-failed", L))
|
|
2205
2198
|
}, re({
|
|
2206
2199
|
TOP_UP: _(() => [
|
|
2207
|
-
b.value ? (w(), W("div",
|
|
2200
|
+
b.value ? (w(), W("div", Jo, [
|
|
2208
2201
|
A(r(tt), {
|
|
2209
2202
|
modelValue: g.value,
|
|
2210
2203
|
"onUpdate:modelValue": H[0] || (H[0] = (L) => g.value = L),
|
|
@@ -2227,15 +2220,15 @@ const Zo = {
|
|
|
2227
2220
|
"no-spacing": "",
|
|
2228
2221
|
subscription: f.value[String(L)].subscription,
|
|
2229
2222
|
"enabled-pricing-ids": f.value[String(L)].enabledPricingIds
|
|
2230
|
-
}, null, 8, ["subscription", "enabled-pricing-ids"])) :
|
|
2223
|
+
}, null, 8, ["subscription", "enabled-pricing-ids"])) : R("", !0)
|
|
2231
2224
|
]),
|
|
2232
2225
|
label: _(({ option: L }) => [
|
|
2233
|
-
N("span",
|
|
2226
|
+
N("span", Zo, I(L.label), 1)
|
|
2234
2227
|
]),
|
|
2235
2228
|
_: 1
|
|
2236
2229
|
}, 8, ["modelValue", "options", "label"])
|
|
2237
|
-
])) :
|
|
2238
|
-
(w(), C(
|
|
2230
|
+
])) : R("", !0),
|
|
2231
|
+
(w(), C(Yo, {
|
|
2239
2232
|
key: De.value,
|
|
2240
2233
|
ref_key: "topUpFormRef",
|
|
2241
2234
|
ref: oe,
|
|
@@ -2249,22 +2242,21 @@ const Zo = {
|
|
|
2249
2242
|
}, null, 8, ["top-up-pricing-items", "payment-methods", "auto-top-up-config", "payment-method-options", "onAddPaymentMethod"]))
|
|
2250
2243
|
]),
|
|
2251
2244
|
SUCCESS: _(() => [
|
|
2252
|
-
D.value ? (w(), C(
|
|
2245
|
+
D.value ? (w(), C(Wo, {
|
|
2253
2246
|
key: 0,
|
|
2254
|
-
"added-value":
|
|
2247
|
+
"added-value": k.value,
|
|
2255
2248
|
invoice: D.value
|
|
2256
|
-
}, null, 8, ["added-value", "invoice"])) :
|
|
2249
|
+
}, null, 8, ["added-value", "invoice"])) : R("", !0)
|
|
2257
2250
|
]),
|
|
2258
2251
|
_: 2
|
|
2259
2252
|
}, [
|
|
2260
2253
|
y.value === "SUCCESS" || E.value ? {
|
|
2261
2254
|
name: "footer",
|
|
2262
2255
|
fn: _(() => [
|
|
2263
|
-
N("div",
|
|
2256
|
+
N("div", en, [
|
|
2264
2257
|
y.value === "SUCCESS" ? (w(), C(r(ue), {
|
|
2265
2258
|
key: 0,
|
|
2266
2259
|
size: "lg",
|
|
2267
|
-
"data-testid": "done",
|
|
2268
2260
|
onClick: j
|
|
2269
2261
|
}, {
|
|
2270
2262
|
default: _(() => [
|
|
@@ -2274,8 +2266,7 @@ const Zo = {
|
|
|
2274
2266
|
})) : (w(), W(he, { key: 1 }, [
|
|
2275
2267
|
A(r(ue), {
|
|
2276
2268
|
size: "lg",
|
|
2277
|
-
disabled: ""
|
|
2278
|
-
"data-testid": "confirm"
|
|
2269
|
+
disabled: ""
|
|
2279
2270
|
}, {
|
|
2280
2271
|
default: _(() => [
|
|
2281
2272
|
F(I(r(M)), 1)
|
|
@@ -2285,7 +2276,6 @@ const Zo = {
|
|
|
2285
2276
|
A(r(ue), {
|
|
2286
2277
|
size: "lg",
|
|
2287
2278
|
intent: "subtle",
|
|
2288
|
-
"data-testid": "cancel",
|
|
2289
2279
|
onClick: ee
|
|
2290
2280
|
}, {
|
|
2291
2281
|
default: _(() => [
|
|
@@ -2300,7 +2290,7 @@ const Zo = {
|
|
|
2300
2290
|
} : void 0
|
|
2301
2291
|
]), 1032, ["show-modal", "title", "sub-title", "cancel-button-text", "confirm-button-text", "is-pending", "panes", "step", "customer", "payment-method-options", "is-payment-method-options-pending", "is-adding-payment-method"]));
|
|
2302
2292
|
}
|
|
2303
|
-
}),
|
|
2293
|
+
}), on = ["AUTO_TOP_UP", "ADD_PAYMENT_METHOD"], nn = { class: "grid grid-cols-1 gap-4" }, an = /* @__PURE__ */ z({
|
|
2304
2294
|
__name: "AutoTopUpModal",
|
|
2305
2295
|
props: {
|
|
2306
2296
|
showModal: { type: Boolean },
|
|
@@ -2337,11 +2327,11 @@ const Zo = {
|
|
|
2337
2327
|
}), {
|
|
2338
2328
|
paneRef: E,
|
|
2339
2329
|
isActive: D,
|
|
2340
|
-
isSaving:
|
|
2330
|
+
isSaving: k,
|
|
2341
2331
|
open: T,
|
|
2342
2332
|
leave: x,
|
|
2343
2333
|
submit: G
|
|
2344
|
-
} = St({ step: l, name: "ADD_PAYMENT_METHOD", returnTo: "AUTO_TOP_UP" }), { save: de, isSaving: Z } = Ct(), te = s(() =>
|
|
2334
|
+
} = St({ step: l, name: "ADD_PAYMENT_METHOD", returnTo: "AUTO_TOP_UP" }), { save: de, isSaving: Z } = Ct(), te = s(() => k.value || Z.value), ce = Ae({
|
|
2345
2335
|
paymentMethodId: s(() => B.value ?? null)
|
|
2346
2336
|
}), ne = xe(
|
|
2347
2337
|
{
|
|
@@ -2450,7 +2440,7 @@ const Zo = {
|
|
|
2450
2440
|
"cancel-button-text": ae.value,
|
|
2451
2441
|
"confirm-button-text": me.value,
|
|
2452
2442
|
"is-pending": te.value,
|
|
2453
|
-
panes: r(
|
|
2443
|
+
panes: r(on),
|
|
2454
2444
|
step: l.value,
|
|
2455
2445
|
"add-payment-method-pane": "ADD_PAYMENT_METHOD",
|
|
2456
2446
|
customer: e.customer,
|
|
@@ -2463,7 +2453,7 @@ const Zo = {
|
|
|
2463
2453
|
onPaymentFailed: j[1] || (j[1] = (ee) => V.$emit("payment-failed", ee))
|
|
2464
2454
|
}, {
|
|
2465
2455
|
AUTO_TOP_UP: _(() => [
|
|
2466
|
-
N("div",
|
|
2456
|
+
N("div", nn, [
|
|
2467
2457
|
g.value ? (w(), C(_t, le({
|
|
2468
2458
|
key: Y.value,
|
|
2469
2459
|
ref_key: "autoTopUpFormRef",
|
|
@@ -2473,7 +2463,7 @@ const Zo = {
|
|
|
2473
2463
|
config: S.value,
|
|
2474
2464
|
"always-enabled": "",
|
|
2475
2465
|
disabled: te.value
|
|
2476
|
-
}), null, 16, ["config", "disabled"])) :
|
|
2466
|
+
}), null, 16, ["config", "disabled"])) : R("", !0),
|
|
2477
2467
|
A(vt, {
|
|
2478
2468
|
"pricing-plan-schedule-id": U.value,
|
|
2479
2469
|
"pricing-items": v.value
|
|
@@ -2498,7 +2488,7 @@ const Zo = {
|
|
|
2498
2488
|
_: 1
|
|
2499
2489
|
}, 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", "is-adding-payment-method"]));
|
|
2500
2490
|
}
|
|
2501
|
-
}),
|
|
2491
|
+
}), sn = { class: "sv-auto-topup-cancellation-modal sv-auto-topup-cancellation-modal__body flex flex-col gap-3" }, ln = /* @__PURE__ */ z({
|
|
2502
2492
|
__name: "AutoTopUpCancellationModal",
|
|
2503
2493
|
props: {
|
|
2504
2494
|
showModal: { type: Boolean },
|
|
@@ -2581,7 +2571,7 @@ const Zo = {
|
|
|
2581
2571
|
onClose: f
|
|
2582
2572
|
}, {
|
|
2583
2573
|
body: _(() => [
|
|
2584
|
-
N("div",
|
|
2574
|
+
N("div", sn, [
|
|
2585
2575
|
A(r(K), {
|
|
2586
2576
|
variant: "body-sm",
|
|
2587
2577
|
color: "subtle",
|
|
@@ -2601,13 +2591,13 @@ const Zo = {
|
|
|
2601
2591
|
description: "Error shown when turning a wallet automatic top-up off failed",
|
|
2602
2592
|
id: "auto_topup_cancellation_modal.failed"
|
|
2603
2593
|
})
|
|
2604
|
-
}, null, 8, ["title"])) :
|
|
2594
|
+
}, null, 8, ["title"])) : R("", !0)
|
|
2605
2595
|
])
|
|
2606
2596
|
]),
|
|
2607
2597
|
_: 1
|
|
2608
2598
|
}, 8, ["show-modal", "is-loading", "no-click-away", "no-backdrop-close", "title", "confirm-button-text", "cancel-button-text"]));
|
|
2609
2599
|
}
|
|
2610
|
-
}),
|
|
2600
|
+
}), Nn = /* @__PURE__ */ z({
|
|
2611
2601
|
inheritAttrs: !1,
|
|
2612
2602
|
__name: "CustomerWalletBalances",
|
|
2613
2603
|
props: {
|
|
@@ -2622,18 +2612,15 @@ const Zo = {
|
|
|
2622
2612
|
emits: ["top-up-charged", "auto-top-up-saved", "auto-top-up-cancelled", "payment-method-stored", "payment-failed"],
|
|
2623
2613
|
setup(e, { emit: t }) {
|
|
2624
2614
|
const o = e, n = t, { $t: a } = Q(), i = $(), l = s(
|
|
2625
|
-
() =>
|
|
2615
|
+
() => ke(o.walletBalances, i.value)
|
|
2626
2616
|
), u = s(() => !!l.value), c = $(), g = s(() => !!c.value), b = s(
|
|
2627
|
-
() =>
|
|
2617
|
+
() => ke(o.walletBalances, c.value)
|
|
2628
2618
|
), S = $(), f = s(() => !!S.value);
|
|
2629
2619
|
return (h, v) => (w(), W(he, null, [
|
|
2630
2620
|
e.isLoading ? (w(), C(et, le({
|
|
2631
2621
|
key: 0,
|
|
2632
2622
|
variant: "section"
|
|
2633
|
-
}, h.$attrs, {
|
|
2634
|
-
class: "sv-wallet-balances sv-root sv-component sv-loading min-h-48",
|
|
2635
|
-
"data-testid": "customer-wallet-balances-skeleton"
|
|
2636
|
-
}), null, 16)) : e.hasError ? (w(), C(r(Ke), le({ key: 1 }, h.$attrs, {
|
|
2623
|
+
}, h.$attrs, { class: "sv-wallet-balances sv-root sv-component sv-loading min-h-48" }), null, 16)) : e.hasError ? (w(), C(r(Ke), le({ key: 1 }, h.$attrs, {
|
|
2637
2624
|
class: "sv-wallet-balances sv-root sv-component sv-error",
|
|
2638
2625
|
title: r(a)({
|
|
2639
2626
|
defaultMessage: "Could not load wallet balances",
|
|
@@ -2656,8 +2643,8 @@ const Zo = {
|
|
|
2656
2643
|
onTopUp: v[0] || (v[0] = (U) => i.value = U),
|
|
2657
2644
|
onAutoTopUp: v[1] || (v[1] = (U) => c.value = U),
|
|
2658
2645
|
onCancelAutoTopUp: v[2] || (v[2] = (U) => S.value = U)
|
|
2659
|
-
}), null, 16, ["customer-wallet-balances", "title"])) :
|
|
2660
|
-
e.showTopUpButton ? (w(), C(
|
|
2646
|
+
}), null, 16, ["customer-wallet-balances", "title"])) : R("", !0),
|
|
2647
|
+
e.showTopUpButton ? (w(), C(tn, {
|
|
2661
2648
|
key: 3,
|
|
2662
2649
|
"show-modal": u.value,
|
|
2663
2650
|
"selected-balance-item": l.value,
|
|
@@ -2668,8 +2655,8 @@ const Zo = {
|
|
|
2668
2655
|
onConfirm: v[4] || (v[4] = (U) => n("top-up-charged")),
|
|
2669
2656
|
onPaymentSuccess: v[5] || (v[5] = (U) => n("payment-method-stored")),
|
|
2670
2657
|
onPaymentFailed: v[6] || (v[6] = (U) => n("payment-failed", U))
|
|
2671
|
-
}, null, 8, ["show-modal", "selected-balance-item", "payment-methods", "customer", "subscriptions"])) :
|
|
2672
|
-
e.showTopUpButton ? (w(), C(
|
|
2658
|
+
}, null, 8, ["show-modal", "selected-balance-item", "payment-methods", "customer", "subscriptions"])) : R("", !0),
|
|
2659
|
+
e.showTopUpButton ? (w(), C(an, {
|
|
2673
2660
|
key: 4,
|
|
2674
2661
|
"show-modal": g.value,
|
|
2675
2662
|
"wallet-balance-item": b.value,
|
|
@@ -2680,22 +2667,22 @@ const Zo = {
|
|
|
2680
2667
|
onSaved: v[8] || (v[8] = (U) => n("auto-top-up-saved")),
|
|
2681
2668
|
onPaymentSuccess: v[9] || (v[9] = (U) => n("payment-method-stored")),
|
|
2682
2669
|
onPaymentFailed: v[10] || (v[10] = (U) => n("payment-failed", U))
|
|
2683
|
-
}, null, 8, ["show-modal", "wallet-balance-item", "top-up-item", "payment-methods", "customer"])) :
|
|
2684
|
-
e.showTopUpButton ? (w(), C(
|
|
2670
|
+
}, null, 8, ["show-modal", "wallet-balance-item", "top-up-item", "payment-methods", "customer"])) : R("", !0),
|
|
2671
|
+
e.showTopUpButton ? (w(), C(ln, {
|
|
2685
2672
|
key: 5,
|
|
2686
2673
|
"show-modal": f.value,
|
|
2687
2674
|
config: S.value,
|
|
2688
2675
|
onClose: v[11] || (v[11] = (U) => S.value = void 0),
|
|
2689
2676
|
onConfirmed: v[12] || (v[12] = (U) => n("auto-top-up-cancelled"))
|
|
2690
|
-
}, null, 8, ["show-modal", "config"])) :
|
|
2677
|
+
}, null, 8, ["show-modal", "config"])) : R("", !0)
|
|
2691
2678
|
], 64));
|
|
2692
2679
|
}
|
|
2693
2680
|
});
|
|
2694
2681
|
export {
|
|
2695
|
-
|
|
2682
|
+
Nn as _,
|
|
2696
2683
|
St as a,
|
|
2697
2684
|
bt as b,
|
|
2698
2685
|
$o as c,
|
|
2699
2686
|
wt as d,
|
|
2700
|
-
|
|
2687
|
+
Dn as u
|
|
2701
2688
|
};
|