@bigbinary/neeto-payments-frontend 6.3.8 → 6.4.1
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/dist/AccountsDashboard.js +5 -5
- package/dist/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/CashPaymentButton.js +2 -2
- package/dist/ConfirmCashPaymentButton.js +2 -2
- package/dist/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/{ExportModal-k--5vSLt.js → ExportModal-BVqaCjzT.js} +3 -3
- package/dist/{ExportModal-k--5vSLt.js.map → ExportModal-BVqaCjzT.js.map} +1 -1
- package/dist/{ExportModal-Bun3pMGn.js → ExportModal-Dd_TwFMQ.js} +3 -3
- package/dist/{ExportModal-Bun3pMGn.js.map → ExportModal-Dd_TwFMQ.js.map} +1 -1
- package/dist/ManualUpiConnect.js +2 -2
- package/dist/ManualUpiPayment.js +2 -2
- package/dist/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/PaymentsDashboard.js +5 -5
- package/dist/PayoutsDashboard.js +5 -5
- package/dist/PayoutsPage.js +4 -4
- package/dist/RazorpayConnect.js +2 -2
- package/dist/RazorpayLinkedAccountForm.js +2 -2
- package/dist/RazorpayPaymentButton.js +21 -12
- package/dist/RazorpayPaymentButton.js.map +1 -1
- package/dist/RecurringPaymentSettings.js +2 -2
- package/dist/RefundsDashboard.js +5 -5
- package/dist/SplitTransfersDashboard.js +4 -4
- package/dist/StripeCheckoutSetting.js +2 -2
- package/dist/StripeConnect.js +4 -4
- package/dist/StripeManage.js +2 -2
- package/dist/TaxesDashboard.js +2 -2
- package/dist/buildStripeTransactionLink.js +2 -1
- package/dist/buildStripeTransactionLink.js.map +1 -1
- package/dist/cjs/AccountsDashboard.js +5 -5
- package/dist/cjs/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/cjs/CashPaymentButton.js +2 -2
- package/dist/cjs/ConfirmCashPaymentButton.js +2 -2
- package/dist/cjs/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/cjs/{ExportModal-Bt_Aal7b.js → ExportModal-Bh_n_d4P.js} +3 -3
- package/dist/cjs/{ExportModal-Bt_Aal7b.js.map → ExportModal-Bh_n_d4P.js.map} +1 -1
- package/dist/cjs/{ExportModal-DwLOAhIs.js → ExportModal-Cn7v57Ry.js} +3 -3
- package/dist/cjs/{ExportModal-DwLOAhIs.js.map → ExportModal-Cn7v57Ry.js.map} +1 -1
- package/dist/cjs/ManualUpiConnect.js +2 -2
- package/dist/cjs/ManualUpiPayment.js +2 -2
- package/dist/cjs/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/cjs/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/cjs/PaymentsDashboard.js +5 -5
- package/dist/cjs/PayoutsDashboard.js +5 -5
- package/dist/cjs/PayoutsPage.js +4 -4
- package/dist/cjs/RazorpayConnect.js +2 -2
- package/dist/cjs/RazorpayLinkedAccountForm.js +2 -2
- package/dist/cjs/RazorpayPaymentButton.js +21 -12
- package/dist/cjs/RazorpayPaymentButton.js.map +1 -1
- package/dist/cjs/RecurringPaymentSettings.js +2 -2
- package/dist/cjs/RefundsDashboard.js +5 -5
- package/dist/cjs/SplitTransfersDashboard.js +4 -4
- package/dist/cjs/StripeCheckoutSetting.js +2 -2
- package/dist/cjs/StripeConnect.js +4 -4
- package/dist/cjs/StripeManage.js +2 -2
- package/dist/cjs/TaxesDashboard.js +2 -2
- package/dist/cjs/buildStripeTransactionLink.js +2 -1
- package/dist/cjs/buildStripeTransactionLink.js.map +1 -1
- package/dist/cjs/constants.js +2 -1
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/{dashboard-BGW0_f30.js → dashboard-D75nOXur.js} +2 -2
- package/dist/cjs/{dashboard-BGW0_f30.js.map → dashboard-D75nOXur.js.map} +1 -1
- package/dist/cjs/getAddressElementOptions.js +2 -1
- package/dist/cjs/getAddressElementOptions.js.map +1 -1
- package/dist/cjs/getAmountInLargestCurrencyUnit.js +2 -1
- package/dist/cjs/getAmountInLargestCurrencyUnit.js.map +1 -1
- package/dist/cjs/getAmountInSmallestCurrencyUnit.js +2 -1
- package/dist/cjs/getAmountInSmallestCurrencyUnit.js.map +1 -1
- package/dist/cjs/getAmountWithAppliedTax.js +2 -1
- package/dist/cjs/getAmountWithAppliedTax.js.map +1 -1
- package/dist/cjs/getFormattedAmount.js +2 -1
- package/dist/cjs/getFormattedAmount.js.map +1 -1
- package/dist/cjs/getFormattedDiscountedAmount.js +2 -1
- package/dist/cjs/getFormattedDiscountedAmount.js.map +1 -1
- package/dist/cjs/getFormattedDiscountedPercentage.js +2 -1
- package/dist/cjs/getFormattedDiscountedPercentage.js.map +1 -1
- package/dist/cjs/getFormattedTaxAmount.js +2 -1
- package/dist/cjs/getFormattedTaxAmount.js.map +1 -1
- package/dist/cjs/getFormattedTipAmount.js +2 -1
- package/dist/cjs/getFormattedTipAmount.js.map +1 -1
- package/dist/cjs/getQrCodeValue.js +2 -1
- package/dist/cjs/getQrCodeValue.js.map +1 -1
- package/dist/cjs/getTaxAmount.js +2 -1
- package/dist/cjs/getTaxAmount.js.map +1 -1
- package/dist/cjs/getTipAmount.js +2 -1
- package/dist/cjs/getTipAmount.js.map +1 -1
- package/dist/cjs/hasAmountToPay.js +2 -1
- package/dist/cjs/hasAmountToPay.js.map +1 -1
- package/dist/cjs/{index-CpEnC-Gq.js → index-B-Pd5MbD.js} +42 -2
- package/dist/cjs/index-B-Pd5MbD.js.map +1 -0
- package/dist/cjs/index.js +25 -24
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/razorpayCheckoutOutcome-nOBmycKM.js +66 -0
- package/dist/cjs/razorpayCheckoutOutcome-nOBmycKM.js.map +1 -0
- package/dist/cjs/{renderFunctions-DW33daSm.js → renderFunctions-BtZ_5i1O.js} +2 -2
- package/dist/cjs/{renderFunctions-DW33daSm.js.map → renderFunctions-BtZ_5i1O.js.map} +1 -1
- package/dist/cjs/{useAccountsApi-DaOq20gj.js → useAccountsApi-DWA5G-if.js} +2 -2
- package/dist/cjs/{useAccountsApi-DaOq20gj.js.map → useAccountsApi-DWA5G-if.js.map} +1 -1
- package/dist/cjs/{useBusinessTypesApi-D_td8mux.js → useBusinessTypesApi-iTCdVz8w.js} +2 -2
- package/dist/cjs/{useBusinessTypesApi-D_td8mux.js.map → useBusinessTypesApi-iTCdVz8w.js.map} +1 -1
- package/dist/cjs/{useCheckoutSettingsApi-fGVkfRBQ.js → useCheckoutSettingsApi-BVR7JinT.js} +2 -2
- package/dist/cjs/{useCheckoutSettingsApi-fGVkfRBQ.js.map → useCheckoutSettingsApi-BVR7JinT.js.map} +1 -1
- package/dist/cjs/{useCountriesApi-CWsN_NIT.js → useCountriesApi-CXAfH27I.js} +2 -2
- package/dist/cjs/{useCountriesApi-CWsN_NIT.js.map → useCountriesApi-CXAfH27I.js.map} +1 -1
- package/dist/cjs/{useExportsApi-rYuPpXWl.js → useExportsApi-B5Okl87i.js} +2 -2
- package/dist/cjs/{useExportsApi-rYuPpXWl.js.map → useExportsApi-B5Okl87i.js.map} +1 -1
- package/dist/cjs/{useExportsApi-CupgYUpS.js → useExportsApi-BcpaHQdr.js} +2 -2
- package/dist/cjs/{useExportsApi-CupgYUpS.js.map → useExportsApi-BcpaHQdr.js.map} +1 -1
- package/dist/cjs/{useFetchData-C85lubOx.js → useFetchData-D6BMIYfG.js} +2 -2
- package/dist/cjs/{useFetchData-C85lubOx.js.map → useFetchData-D6BMIYfG.js.map} +1 -1
- package/dist/cjs/{useIntegrationsApi-CNrrE2OH.js → useIntegrationsApi-bewtT8am.js} +2 -2
- package/dist/cjs/{useIntegrationsApi-CNrrE2OH.js.map → useIntegrationsApi-bewtT8am.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-CuL13mny.js → usePaymentApi-Cjz1mEWs.js} +2 -2
- package/dist/cjs/{usePaymentApi-CuL13mny.js.map → usePaymentApi-Cjz1mEWs.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-DZYqqfhc.js → usePaymentApi-VckRM7TW.js} +2 -2
- package/dist/cjs/{usePaymentApi-DZYqqfhc.js.map → usePaymentApi-VckRM7TW.js.map} +1 -1
- package/dist/cjs/{usePaymentsApi-ZomyqUIJ.js → usePaymentsApi-BrhDN0td.js} +2 -2
- package/dist/cjs/{usePaymentsApi-ZomyqUIJ.js.map → usePaymentsApi-BrhDN0td.js.map} +1 -1
- package/dist/cjs/{usePlatformApi-ByvYg8Y-.js → usePlatformApi-Dir2B5kT.js} +2 -2
- package/dist/cjs/{usePlatformApi-ByvYg8Y-.js.map → usePlatformApi-Dir2B5kT.js.map} +1 -1
- package/dist/cjs/useRazorpayPayment.js +22 -13
- package/dist/cjs/useRazorpayPayment.js.map +1 -1
- package/dist/cjs/{useRecurringPaymentsApi-DQpypVjt.js → useRecurringPaymentsApi-DSsP7_gw.js} +2 -2
- package/dist/cjs/{useRecurringPaymentsApi-DQpypVjt.js.map → useRecurringPaymentsApi-DSsP7_gw.js.map} +1 -1
- package/dist/cjs/{useRecurringPaymentsApi-Dow6RjiT.js → useRecurringPaymentsApi-DnYdecab.js} +2 -2
- package/dist/cjs/{useRecurringPaymentsApi-Dow6RjiT.js.map → useRecurringPaymentsApi-DnYdecab.js.map} +1 -1
- package/dist/cjs/{useRecurringSettingsApi-CDA5wZnB.js → useRecurringSettingsApi-B4GG_gm3.js} +2 -2
- package/dist/cjs/{useRecurringSettingsApi-CDA5wZnB.js.map → useRecurringSettingsApi-B4GG_gm3.js.map} +1 -1
- package/dist/cjs/{useRefundsApi-enBsXWAk.js → useRefundsApi-DM_0L_ny.js} +2 -2
- package/dist/cjs/{useRefundsApi-enBsXWAk.js.map → useRefundsApi-DM_0L_ny.js.map} +1 -1
- package/dist/cjs/{useSplitTransfersApi-BcCKsPCE.js → useSplitTransfersApi-DnI9TRyQ.js} +2 -2
- package/dist/cjs/{useSplitTransfersApi-BcCKsPCE.js.map → useSplitTransfersApi-DnI9TRyQ.js.map} +1 -1
- package/dist/cjs/{useTaxesApi-BBinhUYT.js → useTaxesApi-Baj0VFSX.js} +2 -2
- package/dist/cjs/{useTaxesApi-BBinhUYT.js.map → useTaxesApi-Baj0VFSX.js.map} +1 -1
- package/dist/cjs/{useVpasApi-Ts1ivO7S.js → useVpasApi-CbJa5lY8.js} +2 -2
- package/dist/cjs/{useVpasApi-Ts1ivO7S.js.map → useVpasApi-CbJa5lY8.js.map} +1 -1
- package/dist/cjs/v2/AccountsDashboard.js +4 -4
- package/dist/cjs/v2/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/cjs/v2/CashPaymentButton.js +2 -2
- package/dist/cjs/v2/ConfirmCashPaymentButton.js +2 -2
- package/dist/cjs/v2/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/cjs/v2/ManualUpiConnect.js +2 -2
- package/dist/cjs/v2/ManualUpiPayment.js +2 -2
- package/dist/cjs/v2/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/cjs/v2/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/cjs/v2/PaymentsDashboard.js +5 -5
- package/dist/cjs/v2/PayoutsDashboard.js +4 -4
- package/dist/cjs/v2/PayoutsPage.js +3 -3
- package/dist/cjs/v2/RazorpayConnect.js +2 -2
- package/dist/cjs/v2/RazorpayLinkedAccountForm.js +2 -2
- package/dist/cjs/v2/RazorpayPaymentButton.js +21 -12
- package/dist/cjs/v2/RazorpayPaymentButton.js.map +1 -1
- package/dist/cjs/v2/RecurringPaymentSettings.js +2 -2
- package/dist/cjs/v2/RefundsDashboard.js +5 -5
- package/dist/cjs/v2/SplitTransfersDashboard.js +4 -4
- package/dist/cjs/v2/StripeCheckoutSetting.js +2 -2
- package/dist/cjs/v2/StripeConnect.js +4 -4
- package/dist/cjs/v2/StripeManage.js +2 -2
- package/dist/cjs/v2/TaxesDashboard.js +2 -2
- package/dist/cjs/v2/index.js +23 -23
- package/dist/cjs/verifyRazorpayPayment.js +15 -0
- package/dist/cjs/verifyRazorpayPayment.js.map +1 -0
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/{dashboard-Ba2uhKXD.js → dashboard-CX-EarqG.js} +2 -2
- package/dist/{dashboard-Ba2uhKXD.js.map → dashboard-CX-EarqG.js.map} +1 -1
- package/dist/getAddressElementOptions.js +2 -1
- package/dist/getAddressElementOptions.js.map +1 -1
- package/dist/getAmountInLargestCurrencyUnit.js +2 -1
- package/dist/getAmountInLargestCurrencyUnit.js.map +1 -1
- package/dist/getAmountInSmallestCurrencyUnit.js +2 -1
- package/dist/getAmountInSmallestCurrencyUnit.js.map +1 -1
- package/dist/getAmountWithAppliedTax.js +2 -1
- package/dist/getAmountWithAppliedTax.js.map +1 -1
- package/dist/getFormattedAmount.js +2 -1
- package/dist/getFormattedAmount.js.map +1 -1
- package/dist/getFormattedDiscountedAmount.js +2 -1
- package/dist/getFormattedDiscountedAmount.js.map +1 -1
- package/dist/getFormattedDiscountedPercentage.js +2 -1
- package/dist/getFormattedDiscountedPercentage.js.map +1 -1
- package/dist/getFormattedTaxAmount.js +2 -1
- package/dist/getFormattedTaxAmount.js.map +1 -1
- package/dist/getFormattedTipAmount.js +2 -1
- package/dist/getFormattedTipAmount.js.map +1 -1
- package/dist/getQrCodeValue.js +2 -1
- package/dist/getQrCodeValue.js.map +1 -1
- package/dist/getTaxAmount.js +2 -1
- package/dist/getTaxAmount.js.map +1 -1
- package/dist/getTipAmount.js +2 -1
- package/dist/getTipAmount.js.map +1 -1
- package/dist/hasAmountToPay.js +2 -1
- package/dist/hasAmountToPay.js.map +1 -1
- package/dist/{index-CajHy3NQ.js → index-Dt75BBN1.js} +41 -3
- package/dist/index-Dt75BBN1.js.map +1 -0
- package/dist/index.js +24 -24
- package/dist/razorpayCheckoutOutcome-Ctud4CXC.js +62 -0
- package/dist/razorpayCheckoutOutcome-Ctud4CXC.js.map +1 -0
- package/dist/{renderFunctions-B9mVn_ag.js → renderFunctions-COSv4XaW.js} +2 -2
- package/dist/{renderFunctions-B9mVn_ag.js.map → renderFunctions-COSv4XaW.js.map} +1 -1
- package/dist/{useAccountsApi-CZyJ4R8Z.js → useAccountsApi-E2CSkaZv.js} +2 -2
- package/dist/{useAccountsApi-CZyJ4R8Z.js.map → useAccountsApi-E2CSkaZv.js.map} +1 -1
- package/dist/{useBusinessTypesApi-CS2aPq7Y.js → useBusinessTypesApi-AGjp8zYp.js} +2 -2
- package/dist/{useBusinessTypesApi-CS2aPq7Y.js.map → useBusinessTypesApi-AGjp8zYp.js.map} +1 -1
- package/dist/{useCheckoutSettingsApi-D1ZvMA4B.js → useCheckoutSettingsApi-DY67dWbA.js} +2 -2
- package/dist/{useCheckoutSettingsApi-D1ZvMA4B.js.map → useCheckoutSettingsApi-DY67dWbA.js.map} +1 -1
- package/dist/{useCountriesApi-ClXgwNgC.js → useCountriesApi-C66llo2C.js} +2 -2
- package/dist/{useCountriesApi-ClXgwNgC.js.map → useCountriesApi-C66llo2C.js.map} +1 -1
- package/dist/{useExportsApi-C1wjoVYy.js → useExportsApi-C7zFJILU.js} +2 -2
- package/dist/{useExportsApi-C1wjoVYy.js.map → useExportsApi-C7zFJILU.js.map} +1 -1
- package/dist/{useExportsApi-DA6ThV9b.js → useExportsApi-DY-FwHVE.js} +2 -2
- package/dist/{useExportsApi-DA6ThV9b.js.map → useExportsApi-DY-FwHVE.js.map} +1 -1
- package/dist/{useFetchData-8LLdmA74.js → useFetchData-BlRJdNWA.js} +2 -2
- package/dist/{useFetchData-8LLdmA74.js.map → useFetchData-BlRJdNWA.js.map} +1 -1
- package/dist/{useIntegrationsApi-BqU-lJql.js → useIntegrationsApi-eqpV4aiV.js} +2 -2
- package/dist/{useIntegrationsApi-BqU-lJql.js.map → useIntegrationsApi-eqpV4aiV.js.map} +1 -1
- package/dist/{usePaymentApi-gvPmTOWg.js → usePaymentApi--s98Vwpe.js} +2 -2
- package/dist/{usePaymentApi-gvPmTOWg.js.map → usePaymentApi--s98Vwpe.js.map} +1 -1
- package/dist/{usePaymentApi-CjtkL3IU.js → usePaymentApi-CRgdyg_z.js} +2 -2
- package/dist/{usePaymentApi-CjtkL3IU.js.map → usePaymentApi-CRgdyg_z.js.map} +1 -1
- package/dist/{usePaymentsApi-C2xbgHmw.js → usePaymentsApi-DiDnDWGs.js} +2 -2
- package/dist/{usePaymentsApi-C2xbgHmw.js.map → usePaymentsApi-DiDnDWGs.js.map} +1 -1
- package/dist/{usePlatformApi-Dug1pxaH.js → usePlatformApi-tMvXKljy.js} +2 -2
- package/dist/{usePlatformApi-Dug1pxaH.js.map → usePlatformApi-tMvXKljy.js.map} +1 -1
- package/dist/useRazorpayPayment.js +22 -13
- package/dist/useRazorpayPayment.js.map +1 -1
- package/dist/{useRecurringPaymentsApi-CkxjkZd2.js → useRecurringPaymentsApi-CUiJcHgd.js} +2 -2
- package/dist/{useRecurringPaymentsApi-CkxjkZd2.js.map → useRecurringPaymentsApi-CUiJcHgd.js.map} +1 -1
- package/dist/{useRecurringPaymentsApi-dbdBrh4V.js → useRecurringPaymentsApi-vwhKAkkh.js} +2 -2
- package/dist/{useRecurringPaymentsApi-dbdBrh4V.js.map → useRecurringPaymentsApi-vwhKAkkh.js.map} +1 -1
- package/dist/{useRecurringSettingsApi-B_kTDES9.js → useRecurringSettingsApi-Bg3o4XqI.js} +2 -2
- package/dist/{useRecurringSettingsApi-B_kTDES9.js.map → useRecurringSettingsApi-Bg3o4XqI.js.map} +1 -1
- package/dist/{useRefundsApi-DSMKTWIQ.js → useRefundsApi-BQVWYl8t.js} +2 -2
- package/dist/{useRefundsApi-DSMKTWIQ.js.map → useRefundsApi-BQVWYl8t.js.map} +1 -1
- package/dist/{useSplitTransfersApi-DlRs4wYh.js → useSplitTransfersApi-DCRH-bO0.js} +2 -2
- package/dist/{useSplitTransfersApi-DlRs4wYh.js.map → useSplitTransfersApi-DCRH-bO0.js.map} +1 -1
- package/dist/{useTaxesApi-BuPeVUxI.js → useTaxesApi-DpLNyDWT.js} +2 -2
- package/dist/{useTaxesApi-BuPeVUxI.js.map → useTaxesApi-DpLNyDWT.js.map} +1 -1
- package/dist/{useVpasApi-wicZ6o_z.js → useVpasApi-D1gwR__k.js} +2 -2
- package/dist/{useVpasApi-wicZ6o_z.js.map → useVpasApi-D1gwR__k.js.map} +1 -1
- package/dist/v2/AccountsDashboard.js +4 -4
- package/dist/v2/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/v2/CashPaymentButton.js +2 -2
- package/dist/v2/ConfirmCashPaymentButton.js +2 -2
- package/dist/v2/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/v2/ManualUpiConnect.js +2 -2
- package/dist/v2/ManualUpiPayment.js +2 -2
- package/dist/v2/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/v2/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/v2/PaymentsDashboard.js +5 -5
- package/dist/v2/PayoutsDashboard.js +4 -4
- package/dist/v2/PayoutsPage.js +3 -3
- package/dist/v2/RazorpayConnect.js +2 -2
- package/dist/v2/RazorpayLinkedAccountForm.js +2 -2
- package/dist/v2/RazorpayPaymentButton.js +21 -12
- package/dist/v2/RazorpayPaymentButton.js.map +1 -1
- package/dist/v2/RecurringPaymentSettings.js +2 -2
- package/dist/v2/RefundsDashboard.js +5 -5
- package/dist/v2/SplitTransfersDashboard.js +4 -4
- package/dist/v2/StripeCheckoutSetting.js +2 -2
- package/dist/v2/StripeConnect.js +4 -4
- package/dist/v2/StripeManage.js +2 -2
- package/dist/v2/TaxesDashboard.js +2 -2
- package/dist/v2/index.js +23 -23
- package/dist/verifyRazorpayPayment.js +13 -0
- package/dist/verifyRazorpayPayment.js.map +1 -0
- package/package.json +14 -14
- package/dist/cjs/index-CpEnC-Gq.js.map +0 -1
- package/dist/cjs/usePaymentApi-B198Hd_a.js +0 -21
- package/dist/cjs/usePaymentApi-B198Hd_a.js.map +0 -1
- package/dist/index-CajHy3NQ.js.map +0 -1
- package/dist/usePaymentApi-BzB3rzNe.js +0 -19
- package/dist/usePaymentApi-BzB3rzNe.js.map +0 -1
package/dist/{useRecurringSettingsApi-B_kTDES9.js.map → useRecurringSettingsApi-Bg3o4XqI.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRecurringSettingsApi-
|
|
1
|
+
{"version":3,"file":"useRecurringSettingsApi-Bg3o4XqI.js","sources":["../app/javascript/src/apis/recurring_settings.js","../app/javascript/src/hooks/reactQuery/useRecurringSettingsApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst show = feeId =>\n axios.get(`${BASE_URL}/api/v1/fees/${feeId}/recurring_setting`);\n\nconst update = (feeId, payload) =>\n axios.put(`${BASE_URL}/api/v1/fees/${feeId}/recurring_setting`, {\n recurringSetting: payload,\n });\n\nconst recurringSettingsApi = { show, update };\n\nexport default recurringSettingsApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\nimport { isNotNil } from \"ramda\";\n\nimport recurringSettingsApi from \"apis/recurring_settings\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchRecurringSettings = feeId =>\n useQuery({\n queryKey: [QUERY_KEYS.RECURRING_SETTINGS, feeId],\n queryFn: () => recurringSettingsApi.show(feeId),\n enabled: isNotNil(feeId),\n });\n\nexport const useUpdateRecurringSettings = (feeId, options) =>\n useMutationWithInvalidation(\n payload => recurringSettingsApi.update(feeId, payload),\n {\n keysToInvalidate: [QUERY_KEYS.RECURRING_SETTINGS, feeId],\n ...options,\n }\n );\n"],"names":["show","feeId","axios","get","BASE_URL","update","payload","put","recurringSetting","recurringSettingsApi","useFetchRecurringSettings","useQuery","queryKey","QUERY_KEYS","RECURRING_SETTINGS","queryFn","enabled","isNotNil","useUpdateRecurringSettings","options","useMutationWithInvalidation","keysToInvalidate"],"mappings":";;;;;;;AAIA,MAAMA,IAAI,GAAGC,KAAK,IAChBC,KAAK,CAACC,GAAG,CAAC,CAAA,EAAGC,QAAQ,CAAA,aAAA,EAAgBH,KAAK,oBAAoB,CAAC;AAEjE,MAAMI,MAAM,GAAGA,CAACJ,KAAK,EAAEK,OAAO,KAC5BJ,KAAK,CAACK,GAAG,CAAC,CAAA,EAAGH,QAAQ,CAAA,aAAA,EAAgBH,KAAK,oBAAoB,EAAE;AAC9DO,EAAAA,gBAAgB,EAAEF;AACpB,CAAC,CAAC;AAEJ,MAAMG,oBAAoB,GAAG;EAAET,IAAI;AAAEK,EAAAA;AAAO,CAAC;;MCLhCK,yBAAyB,GAAGT,KAAK,IAC5CU,QAAQ,CAAC;AACPC,EAAAA,QAAQ,EAAE,CAACC,UAAU,CAACC,kBAAkB,EAAEb,KAAK,CAAC;EAChDc,OAAO,EAAEA,MAAMN,oBAAoB,CAACT,IAAI,CAACC,KAAK,CAAC;EAC/Ce,OAAO,EAAEC,QAAQ,CAAChB,KAAK;AACzB,CAAC;AAEI,MAAMiB,0BAA0B,GAAGA,CAACjB,KAAK,EAAEkB,OAAO,KACvDC,2BAA2B,CACzBd,OAAO,IAAIG,oBAAoB,CAACJ,MAAM,CAACJ,KAAK,EAAEK,OAAO,CAAC,EACtD;AACEe,EAAAA,gBAAgB,EAAE,CAACR,UAAU,CAACC,kBAAkB,EAAEb,KAAK,CAAC;EACxD,GAAGkB;AACL,CACF;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
2
|
import axios from 'axios';
|
|
3
|
-
import { B as BASE_URL } from './index-
|
|
3
|
+
import { B as BASE_URL } from './index-Dt75BBN1.js';
|
|
4
4
|
import { Q as QUERY_KEYS } from './queryConstants-8c7Nd8ML.js';
|
|
5
5
|
|
|
6
6
|
const list = payload => axios.get(`${BASE_URL}/api/v1/refunds`, {
|
|
@@ -17,4 +17,4 @@ const useFetchRefunds = (payload = {}, options = {}) => useQuery({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
export { useFetchRefunds as u };
|
|
20
|
-
//# sourceMappingURL=useRefundsApi-
|
|
20
|
+
//# sourceMappingURL=useRefundsApi-BQVWYl8t.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRefundsApi-
|
|
1
|
+
{"version":3,"file":"useRefundsApi-BQVWYl8t.js","sources":["../app/javascript/src/apis/refunds.js","../app/javascript/src/hooks/reactQuery/useRefundsApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = payload =>\n axios.get(`${BASE_URL}/api/v1/refunds`, { params: payload });\n\nconst refundsApi = { list };\n\nexport default refundsApi;\n","import { useQuery } from \"@tanstack/react-query\";\n\nimport refundsApi from \"apis/refunds\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchRefunds = (payload = {}, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.REFUNDS_LIST, payload],\n queryFn: () => refundsApi.list(payload),\n ...options,\n });\n"],"names":["list","payload","axios","get","BASE_URL","params","refundsApi","useFetchRefunds","options","useQuery","queryKey","QUERY_KEYS","REFUNDS_LIST","queryFn"],"mappings":";;;;;AAIA,MAAMA,IAAI,GAAGC,OAAO,IAClBC,KAAK,CAACC,GAAG,CAAC,CAAA,EAAGC,QAAQ,CAAA,eAAA,CAAiB,EAAE;AAAEC,EAAAA,MAAM,EAAEJ;AAAQ,CAAC,CAAC;AAE9D,MAAMK,UAAU,GAAG;AAAEN,EAAAA;AAAK,CAAC;;ACFpB,MAAMO,eAAe,GAAGA,CAACN,OAAO,GAAG,EAAE,EAAEO,OAAO,GAAG,EAAE,KACxDC,QAAQ,CAAC;AACPC,EAAAA,QAAQ,EAAE,CAACC,UAAU,CAACC,YAAY,EAAEX,OAAO,CAAC;EAC5CY,OAAO,EAAEA,MAAMP,UAAU,CAACN,IAAI,CAACC,OAAO,CAAC;EACvC,GAAGO;AACL,CAAC;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
2
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
3
3
|
import axios from 'axios';
|
|
4
|
-
import { B as BASE_URL } from './index-
|
|
4
|
+
import { B as BASE_URL } from './index-Dt75BBN1.js';
|
|
5
5
|
import { Q as QUERY_KEYS } from './queryConstants-8c7Nd8ML.js';
|
|
6
6
|
|
|
7
7
|
const list = payload => axios.get(`${BASE_URL}/api/v1/split_transfers`, {
|
|
@@ -33,4 +33,4 @@ const useBulkUpdateSplitTransfers = options => useMutationWithInvalidation(split
|
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
export { useFetchSplitTransfers as a, useBulkUpdateSplitTransfers as b, useShowSplitTransfers as u };
|
|
36
|
-
//# sourceMappingURL=useSplitTransfersApi-
|
|
36
|
+
//# sourceMappingURL=useSplitTransfersApi-DCRH-bO0.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSplitTransfersApi-
|
|
1
|
+
{"version":3,"file":"useSplitTransfersApi-DCRH-bO0.js","sources":["../app/javascript/src/apis/split_transfers.js","../app/javascript/src/hooks/reactQuery/useSplitTransfersApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = payload =>\n axios.get(`${BASE_URL}/api/v1/split_transfers`, { params: payload });\n\nconst show = id => axios.get(`${BASE_URL}/api/v1/split_transfers/${id}`);\n\nconst bulkUpdate = payload =>\n axios.post(`${BASE_URL}/api/v1/split_transfers/bulk_update`, {\n splitTransfer: payload,\n });\n\nconst splitTransfersApi = { list, show, bulkUpdate };\n\nexport default splitTransfersApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport splitTransfersApi from \"apis/split_transfers\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchSplitTransfers = (payload = {}, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.SPLIT_TRANSFERS_LIST, payload],\n queryFn: () => splitTransfersApi.list(payload),\n ...options,\n });\n\nexport const useShowSplitTransfers = (id, options) =>\n useQuery({\n queryKey: [QUERY_KEYS.SPLIT_TRANSFERS_DETAILS, id],\n queryFn: () => splitTransfersApi.show(id),\n ...options,\n });\n\nexport const useBulkUpdateSplitTransfers = options =>\n useMutationWithInvalidation(splitTransfersApi.bulkUpdate, {\n keysToInvalidate: [QUERY_KEYS.SPLIT_TRANSFERS_LISTw],\n ...options,\n });\n"],"names":["list","payload","axios","get","BASE_URL","params","show","id","bulkUpdate","post","splitTransfer","splitTransfersApi","useFetchSplitTransfers","options","useQuery","queryKey","QUERY_KEYS","SPLIT_TRANSFERS_LIST","queryFn","useShowSplitTransfers","SPLIT_TRANSFERS_DETAILS","useBulkUpdateSplitTransfers","useMutationWithInvalidation","keysToInvalidate","SPLIT_TRANSFERS_LISTw"],"mappings":";;;;;;AAIA,MAAMA,IAAI,GAAGC,OAAO,IAClBC,KAAK,CAACC,GAAG,CAAC,CAAA,EAAGC,QAAQ,CAAA,uBAAA,CAAyB,EAAE;AAAEC,EAAAA,MAAM,EAAEJ;AAAQ,CAAC,CAAC;AAEtE,MAAMK,IAAI,GAAGC,EAAE,IAAIL,KAAK,CAACC,GAAG,CAAC,CAAA,EAAGC,QAAQ,CAAA,wBAAA,EAA2BG,EAAE,EAAE,CAAC;AAExE,MAAMC,UAAU,GAAGP,OAAO,IACxBC,KAAK,CAACO,IAAI,CAAC,CAAA,EAAGL,QAAQ,CAAA,mCAAA,CAAqC,EAAE;AAC3DM,EAAAA,aAAa,EAAET;AACjB,CAAC,CAAC;AAEJ,MAAMU,iBAAiB,GAAG;EAAEX,IAAI;EAAEM,IAAI;AAAEE,EAAAA;AAAW,CAAC;;ACR7C,MAAMI,sBAAsB,GAAGA,CAACX,OAAO,GAAG,EAAE,EAAEY,OAAO,GAAG,EAAE,KAC/DC,QAAQ,CAAC;AACPC,EAAAA,QAAQ,EAAE,CAACC,UAAU,CAACC,oBAAoB,EAAEhB,OAAO,CAAC;EACpDiB,OAAO,EAAEA,MAAMP,iBAAiB,CAACX,IAAI,CAACC,OAAO,CAAC;EAC9C,GAAGY;AACL,CAAC;AAEI,MAAMM,qBAAqB,GAAGA,CAACZ,EAAE,EAAEM,OAAO,KAC/CC,QAAQ,CAAC;AACPC,EAAAA,QAAQ,EAAE,CAACC,UAAU,CAACI,uBAAuB,EAAEb,EAAE,CAAC;EAClDW,OAAO,EAAEA,MAAMP,iBAAiB,CAACL,IAAI,CAACC,EAAE,CAAC;EACzC,GAAGM;AACL,CAAC;AAEI,MAAMQ,2BAA2B,GAAGR,OAAO,IAChDS,2BAA2B,CAACX,iBAAiB,CAACH,UAAU,EAAE;AACxDe,EAAAA,gBAAgB,EAAE,CAACP,UAAU,CAACQ,qBAAqB,CAAC;EACpD,GAAGX;AACL,CAAC;;;;"}
|
|
@@ -2,7 +2,7 @@ import { useQuery } from '@tanstack/react-query';
|
|
|
2
2
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
3
3
|
import { isNotNil } from 'ramda';
|
|
4
4
|
import axios from 'axios';
|
|
5
|
-
import { B as BASE_URL } from './index-
|
|
5
|
+
import { B as BASE_URL } from './index-Dt75BBN1.js';
|
|
6
6
|
import { Q as QUERY_KEYS } from './queryConstants-8c7Nd8ML.js';
|
|
7
7
|
|
|
8
8
|
const list = taxableId => axios.get(`${BASE_URL}/api/v1/taxable/${taxableId}/taxes`);
|
|
@@ -57,4 +57,4 @@ const useDeleteTax = ({
|
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
export { useUpdateTax as a, useFetchTaxes as b, useDeleteTax as c, useCreateTax as u };
|
|
60
|
-
//# sourceMappingURL=useTaxesApi-
|
|
60
|
+
//# sourceMappingURL=useTaxesApi-DpLNyDWT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTaxesApi-
|
|
1
|
+
{"version":3,"file":"useTaxesApi-DpLNyDWT.js","sources":["../app/javascript/src/apis/taxes.js","../app/javascript/src/hooks/reactQuery/useTaxesApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = taxableId =>\n axios.get(`${BASE_URL}/api/v1/taxable/${taxableId}/taxes`);\n\nconst create = ({ taxableId, payload }) =>\n axios.post(`${BASE_URL}/api/v1/taxable/${taxableId}/taxes`, {\n tax: payload,\n });\n\nconst update = ({ taxableId, taxId, payload }) =>\n axios.put(`${BASE_URL}/api/v1/taxable/${taxableId}/taxes/${taxId}`, {\n tax: payload,\n });\n\nconst destroy = ({ taxableId, taxId }) =>\n axios.delete(`${BASE_URL}/api/v1/taxable/${taxableId}/taxes/${taxId}`);\n\nconst taxesApi = { list, create, update, destroy };\n\nexport default taxesApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\nimport { isNotNil } from \"ramda\";\n\nimport taxesApi from \"apis/taxes\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchTaxes = ({ taxableId }) =>\n useQuery({\n queryKey: [QUERY_KEYS.TAXES, taxableId],\n queryFn: () => taxesApi.list(taxableId),\n enabled: isNotNil(taxableId),\n });\n\nexport const useCreateTax = ({ taxableId }, options) =>\n useMutationWithInvalidation(taxesApi.create, {\n keysToInvalidate: [QUERY_KEYS.TAXES, taxableId],\n ...options,\n });\n\nexport const useUpdateTax = ({ taxableId }, options) =>\n useMutationWithInvalidation(taxesApi.update, {\n keysToInvalidate: [QUERY_KEYS.TAXES, taxableId],\n ...options,\n });\n\nexport const useDeleteTax = ({ taxableId }, options) =>\n useMutationWithInvalidation(taxesApi.destroy, {\n keysToInvalidate: [QUERY_KEYS.TAXES, taxableId],\n ...options,\n });\n"],"names":["list","taxableId","axios","get","BASE_URL","create","payload","post","tax","update","taxId","put","destroy","delete","taxesApi","useFetchTaxes","useQuery","queryKey","QUERY_KEYS","TAXES","queryFn","enabled","isNotNil","useCreateTax","options","useMutationWithInvalidation","keysToInvalidate","useUpd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EtB,EAAAA;AAAU,CAAC,EAAEuB,OAAO,KACjDC,2BAA2B,CAACX,QAAQ,CAACT,MAAM,EAAE;AAC3CqB,EAAAA,gBAAgB,EAAE,CAACR,UAAU,CAACC,KAAK,EAAElB,SAAS,CAAC;EAC/C,GAAGuB;AACL,CAAC;AAEI,MAAMG,YAAY,GAAGA,CAAC;AAAE1B,EAAAA;AAAU,CAAC,EAAEuB,OAAO,KACjDC,2BAA2B,CAACX,QAAQ,CAACL,MAAM,EAAE;AAC3CiB,EAAAA,gBAAgB,EAAE,CAACR,UAAU,CAACC,KAAK,EAAElB,SAAS,CAAC;EAC/C,GAAGuB;AACL,CAAC;AAEI,MAAMI,YAAY,GAAGA,CAAC;AAAE3B,EAAAA;AAAU,CAAC,EAAEuB,OAAO,KACjDC,2BAA2B,CAACX,QAAQ,CAACF,OAAO,EAAE;AAC5Cc,EAAAA,gBAAgB,EAAE,CAACR,UAAU,CAACC,KAAK,EAAElB,SAAS,CAAC;EAC/C,GAAGuB;AACL,CAAC;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
2
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
3
3
|
import axios from 'axios';
|
|
4
|
-
import { B as BASE_URL } from './index-
|
|
4
|
+
import { B as BASE_URL } from './index-Dt75BBN1.js';
|
|
5
5
|
import { Q as QUERY_KEYS } from './queryConstants-8c7Nd8ML.js';
|
|
6
6
|
|
|
7
7
|
const list = holdableId => axios.get(`${BASE_URL}/api/v1/manual_upi/vpas`, {
|
|
@@ -37,4 +37,4 @@ const useDestroyVpa = (keysToInvalidateOnDelete = []) => useMutationWithInvalida
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
export { useDestroyVpa as a, useFetchVpas as b, useCreateVpa as u };
|
|
40
|
-
//# sourceMappingURL=useVpasApi-
|
|
40
|
+
//# sourceMappingURL=useVpasApi-D1gwR__k.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVpasApi-
|
|
1
|
+
{"version":3,"file":"useVpasApi-D1gwR__k.js","sources":["../app/javascript/src/apis/manual_upi/vpas.js","../app/javascript/src/hooks/reactQuery/manualUpi/useVpasApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = holdableId =>\n axios.get(`${BASE_URL}/api/v1/manual_upi/vpas`, {\n params: { holdableId },\n });\n\nconst create = payload =>\n axios.post(`${BASE_URL}/api/v1/manual_upi/vpas`, payload);\n\nconst destroy = ({ id, holdableId }) =>\n axios.delete(`${BASE_URL}/api/v1/manual_upi/vpas/${id}`, {\n params: { holdableId },\n });\n\nconst vpasApi = { list, create, destroy };\n\nexport default vpasApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport vpasApi from \"apis/manual_upi/vpas\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchVpas = (holdableId, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.VPAS_LIST, holdableId],\n queryFn: () => vpasApi.list(holdableId),\n ...options,\n });\n\nexport const useCreateVpa = (keysToInvalidateOnCreate = []) =>\n useMutationWithInvalidation(vpasApi.create, {\n keysToInvalidate: [[QUERY_KEYS.VPAS_LIST], ...keysToInvalidateOnCreate],\n });\n\nexport const useDestroyVpa = (keysToInvalidateOnDelete = []) =>\n useMutationWithInvalidation(vpasApi.destroy, {\n keysToInvalidate: [[QUERY_KEYS.VPAS_LIST], ...keysToInvalidateOnDelete],\n });\n"],"names":["list","holdableId","axios","get","BASE_URL","params","create","payload","post","destroy","id","delete","vpasApi","useFetchVpas","options","useQuery","queryKey","QUERY_KEYS","VPAS_LIST","queryFn","useCreateVpa","keysToInvalidateOnCreate","useMutationWithInvalidation","keysToInvalidate","useDestroyVpa","keysToInvalidateOnDelete"],"mappings":";;;;;;AAIA,MAAMA,IAAI,GAAGC,UAAU,IACrB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21 +7,21 @@ import { buildFiltersFromURL, Bar } from '@bigbinary/neeto-filters-frontend/v2';
|
|
|
7
7
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
8
8
|
import SubHeader from '@bigbinary/neeto-molecules/v2/SubHeader';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
10
|
-
import { u as useExportData, w as withReactQuery } from '../useExportsApi-
|
|
10
|
+
import { u as useExportData, w as withReactQuery } from '../useExportsApi-DY-FwHVE.js';
|
|
11
11
|
import { e as exportChannel, T as TABLE_KEYS } from '../exportChannel-Db0U5gc1.js';
|
|
12
12
|
import { Download, Building2 } from 'lucide-react';
|
|
13
|
-
import { u as uuidV4,
|
|
13
|
+
import { u as uuidV4, I as buildStripeAccountLink, G as DEFAULT_SORT_PROPERTIES } from '../index-Dt75BBN1.js';
|
|
14
14
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
import { getQueryParams, buildUrl } from 'neetocommons/utils';
|
|
16
16
|
import { pipe, split, map, join, mergeLeft, assoc } from 'ramda';
|
|
17
17
|
import { useHistory } from 'react-router-dom';
|
|
18
|
-
import { b as buildDefaultPageProperties, a as buildPayload, c as buildRowData } from '../dashboard-
|
|
18
|
+
import { b as buildDefaultPageProperties, a as buildPayload, c as buildRowData } from '../dashboard-CX-EarqG.js';
|
|
19
19
|
import { r as renderStatus, b as renderFullName, a as renderDate } from '../renderFunctions-SFUBbGqd.js';
|
|
20
20
|
import { C as CopyButtonWrapper } from '../CopyButtonWrapper-B53v2TyQ.js';
|
|
21
21
|
import { DEFAULT_PAGE_SIZE, DEFAULT_PAGE_INDEX } from 'neetocommons/constants';
|
|
22
22
|
import { useTableConfigurations } from '@bigbinary/neeto-molecules/v2/Columns';
|
|
23
23
|
import TableWrapper from '@bigbinary/neeto-molecules/v2/TableWrapper';
|
|
24
|
-
import { b as useFetchConnectedAccounts } from '../useAccountsApi-
|
|
24
|
+
import { b as useFetchConnectedAccounts } from '../useAccountsApi-E2CSkaZv.js';
|
|
25
25
|
import '@tanstack/react-query';
|
|
26
26
|
import '@tanstack/react-query-devtools';
|
|
27
27
|
import 'axios';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Button, Alert } from '@bigbinary/neeto-atoms';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { u as useUpdateRecurringPayments } from '../useRecurringPaymentsApi-
|
|
4
|
+
import { u as useUpdateRecurringPayments } from '../useRecurringPaymentsApi-vwhKAkkh.js';
|
|
5
5
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
6
6
|
import 'neetocommons/react-utils';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import '../index-
|
|
8
|
+
import '../index-Dt75BBN1.js';
|
|
9
9
|
import 'i18next';
|
|
10
10
|
import 'neetocommons/constants';
|
|
11
11
|
import 'decimal.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Button } from '@bigbinary/neeto-atoms';
|
|
2
2
|
import { noop } from 'neetocist';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { u as useCreateCashPayment } from '../usePaymentApi
|
|
4
|
+
import { u as useCreateCashPayment } from '../usePaymentApi--s98Vwpe.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
import '@tanstack/react-query';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import '../index-
|
|
8
|
+
import '../index-Dt75BBN1.js';
|
|
9
9
|
import 'i18next';
|
|
10
10
|
import 'neetocommons/constants';
|
|
11
11
|
import 'decimal.js';
|
|
@@ -3,11 +3,11 @@ import { Button, Dialog } from '@bigbinary/neeto-atoms';
|
|
|
3
3
|
import { Form, Textarea, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
4
4
|
import { noop } from 'neetocist';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
|
-
import { a as useUpdateCashPayment } from '../usePaymentApi
|
|
6
|
+
import { a as useUpdateCashPayment } from '../usePaymentApi--s98Vwpe.js';
|
|
7
7
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import 'axios';
|
|
10
|
-
import '../index-
|
|
10
|
+
import '../index-Dt75BBN1.js';
|
|
11
11
|
import 'i18next';
|
|
12
12
|
import 'neetocommons/constants';
|
|
13
13
|
import 'decimal.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Spinner, Typography } from '@bigbinary/neeto-atoms';
|
|
2
2
|
import { Form, Textarea, Button } from '@bigbinary/neeto-atoms/formik';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { u as useFetchRecurringPayment, a as useUpdateRecurringPayments } from '../useRecurringPaymentsApi-
|
|
4
|
+
import { u as useFetchRecurringPayment, a as useUpdateRecurringPayments } from '../useRecurringPaymentsApi-CUiJcHgd.js';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
import 'neetocommons/react-utils';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import '../index-
|
|
8
|
+
import '../index-Dt75BBN1.js';
|
|
9
9
|
import 'i18next';
|
|
10
10
|
import 'neetocommons/constants';
|
|
11
11
|
import 'decimal.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Typography, DataTable, Alert, Spinner } from '@bigbinary/neeto-atoms';
|
|
2
|
-
import { u as useCreateVpa, a as useDestroyVpa, b as useFetchVpas } from '../useVpasApi-
|
|
2
|
+
import { u as useCreateVpa, a as useDestroyVpa, b as useFetchVpas } from '../useVpasApi-D1gwR__k.js';
|
|
3
3
|
import { Form, Input, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
4
4
|
import CardLayout from '@bigbinary/neeto-molecules/v2/CardLayout';
|
|
5
5
|
import { useTranslation, Trans } from 'react-i18next';
|
|
@@ -14,7 +14,7 @@ import MoreDropdown from '@bigbinary/neeto-molecules/v2/MoreDropdown';
|
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
15
|
import 'neetocommons/react-utils';
|
|
16
16
|
import 'axios';
|
|
17
|
-
import '../index-
|
|
17
|
+
import '../index-Dt75BBN1.js';
|
|
18
18
|
import 'neetocommons/constants';
|
|
19
19
|
import 'decimal.js';
|
|
20
20
|
import 'neetocist';
|
|
@@ -7,8 +7,8 @@ import { isPresent, isNotPresent, noop } from 'neetocist';
|
|
|
7
7
|
import QRCodeImage from 'qrcode.react';
|
|
8
8
|
import { pluck } from 'ramda';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
10
|
-
import { a as useCreateUpiPayment } from '../usePaymentApi-
|
|
11
|
-
import { k as getQrCodeValue } from '../index-
|
|
10
|
+
import { a as useCreateUpiPayment } from '../usePaymentApi-CRgdyg_z.js';
|
|
11
|
+
import { k as getQrCodeValue } from '../index-Dt75BBN1.js';
|
|
12
12
|
import { t } from 'i18next';
|
|
13
13
|
import * as yup from 'yup';
|
|
14
14
|
import { useField } from 'formik';
|
|
@@ -4,14 +4,14 @@ import { Form, Select, Textarea, ActionBlock } from '@bigbinary/neeto-atoms/form
|
|
|
4
4
|
import { noop, findBy } from 'neetocist';
|
|
5
5
|
import { mergeLeft } from 'ramda';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
|
-
import { u as useUpdateUpiPayment } from '../usePaymentApi-
|
|
7
|
+
import { u as useUpdateUpiPayment } from '../usePaymentApi-CRgdyg_z.js';
|
|
8
8
|
import { t } from 'i18next';
|
|
9
9
|
import * as yup from 'yup';
|
|
10
10
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
11
11
|
import '@tanstack/react-query';
|
|
12
12
|
import 'neetocommons/react-utils';
|
|
13
13
|
import 'axios';
|
|
14
|
-
import '../index-
|
|
14
|
+
import '../index-Dt75BBN1.js';
|
|
15
15
|
import 'neetocommons/constants';
|
|
16
16
|
import 'decimal.js';
|
|
17
17
|
import 'neetocommons/utils';
|
|
@@ -3,12 +3,12 @@ import { Button, Dialog, Typography } from '@bigbinary/neeto-atoms';
|
|
|
3
3
|
import { Form, Textarea, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
4
4
|
import { noop } from 'neetocist';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
|
-
import { u as useUpdateUpiPayment } from '../usePaymentApi-
|
|
6
|
+
import { u as useUpdateUpiPayment } from '../usePaymentApi-CRgdyg_z.js';
|
|
7
7
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import 'neetocommons/react-utils';
|
|
10
10
|
import 'axios';
|
|
11
|
-
import '../index-
|
|
11
|
+
import '../index-Dt75BBN1.js';
|
|
12
12
|
import 'i18next';
|
|
13
13
|
import 'neetocommons/constants';
|
|
14
14
|
import 'decimal.js';
|
|
@@ -5,10 +5,10 @@ import { getQueryParams, buildUrl } from 'neetocommons/utils';
|
|
|
5
5
|
import { Bar, buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/v2';
|
|
6
6
|
import { map, curry, concat, reject, isNil, prop, mergeDeepWith, mergeLeft, isEmpty } from 'ramda';
|
|
7
7
|
import { useHistory } from 'react-router-dom';
|
|
8
|
-
import { E as ExportModal } from '../ExportModal-
|
|
9
|
-
import { u as useFetchPayments } from '../usePaymentsApi-
|
|
10
|
-
import {
|
|
11
|
-
import { m as mergeEnforcedFilters } from '../dashboard-
|
|
8
|
+
import { E as ExportModal } from '../ExportModal-BVqaCjzT.js';
|
|
9
|
+
import { u as useFetchPayments } from '../usePaymentsApi-DiDnDWGs.js';
|
|
10
|
+
import { r as PAYMENT_PROVIDERS, s as formatAmount, t as formatCurrency, z as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, D as DEFAULT_PAGE_VALUES, A as DASHBOARD_KIND } from '../index-Dt75BBN1.js';
|
|
11
|
+
import { m as mergeEnforcedFilters } from '../dashboard-CX-EarqG.js';
|
|
12
12
|
import { t } from 'i18next';
|
|
13
13
|
import { toLabelAndValue, isNotPresent, humanize, snakeToCamelCase, isPresent, camelToSnakeCase } from 'neetocist';
|
|
14
14
|
import { CreditCard } from 'lucide-react';
|
|
@@ -22,7 +22,7 @@ import { C as CopyButtonWrapper } from '../CopyButtonWrapper-B53v2TyQ.js';
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
24
24
|
import SubHeader from '@bigbinary/neeto-molecules/v2/SubHeader';
|
|
25
|
-
import '../useExportsApi-
|
|
25
|
+
import '../useExportsApi-C7zFJILU.js';
|
|
26
26
|
import '@tanstack/react-query';
|
|
27
27
|
import 'axios';
|
|
28
28
|
import '../queryConstants-8c7Nd8ML.js';
|
|
@@ -6,22 +6,22 @@ import { buildFiltersFromURL, Bar } from '@bigbinary/neeto-filters-frontend/v2';
|
|
|
6
6
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
7
7
|
import SubHeader from '@bigbinary/neeto-molecules/v2/SubHeader';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
|
-
import { u as useExportData, w as withReactQuery } from '../useExportsApi-
|
|
9
|
+
import { u as useExportData, w as withReactQuery } from '../useExportsApi-DY-FwHVE.js';
|
|
10
10
|
import { e as exportChannel, T as TABLE_KEYS } from '../exportChannel-Db0U5gc1.js';
|
|
11
11
|
import { Download, Landmark } from 'lucide-react';
|
|
12
|
-
import { u as uuidV4,
|
|
12
|
+
import { u as uuidV4, G as DEFAULT_SORT_PROPERTIES$1 } from '../index-Dt75BBN1.js';
|
|
13
13
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
import { camelToSnakeCase, removeBy, snakeToCamelCase, isPresent } from 'neetocist';
|
|
15
15
|
import { buildUrl, getQueryParams } from 'neetocommons/utils';
|
|
16
16
|
import { curry, insert, mergeLeft, assoc } from 'ramda';
|
|
17
17
|
import { useHistory } from 'react-router-dom';
|
|
18
|
-
import { b as buildDefaultPageProperties, a as buildPayload, c as buildRowData } from '../dashboard-
|
|
18
|
+
import { b as buildDefaultPageProperties, a as buildPayload, c as buildRowData } from '../dashboard-CX-EarqG.js';
|
|
19
19
|
import { r as renderStatus, a as renderDate } from '../renderFunctions-SFUBbGqd.js';
|
|
20
20
|
import { C as CopyButtonWrapper } from '../CopyButtonWrapper-B53v2TyQ.js';
|
|
21
21
|
import { DEFAULT_PAGE_SIZE, DEFAULT_PAGE_INDEX } from 'neetocommons/constants';
|
|
22
22
|
import { useTableConfigurations } from '@bigbinary/neeto-molecules/v2/Columns';
|
|
23
23
|
import TableWrapper from '@bigbinary/neeto-molecules/v2/TableWrapper';
|
|
24
|
-
import { b as useFetchStripePayouts, c as useFetchStripePlatformPayouts } from '../usePlatformApi-
|
|
24
|
+
import { b as useFetchStripePayouts, c as useFetchStripePlatformPayouts } from '../usePlatformApi-tMvXKljy.js';
|
|
25
25
|
import '@tanstack/react-query';
|
|
26
26
|
import '@tanstack/react-query-devtools';
|
|
27
27
|
import 'axios';
|
package/dist/v2/PayoutsPage.js
CHANGED
|
@@ -3,12 +3,12 @@ import { isPresent } from 'neetocist';
|
|
|
3
3
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import { useParams } from 'react-router-dom/cjs/react-router-dom';
|
|
6
|
-
import { u as useFetchData } from '../useFetchData-
|
|
6
|
+
import { u as useFetchData } from '../useFetchData-BlRJdNWA.js';
|
|
7
7
|
import { r as renderStatus, a as renderDate } from '../renderFunctions-SFUBbGqd.js';
|
|
8
|
-
import { p as buildStripePayoutLink } from '../index-
|
|
8
|
+
import { p as buildStripePayoutLink } from '../index-Dt75BBN1.js';
|
|
9
9
|
import { C as CopyButtonWrapper } from '../CopyButtonWrapper-B53v2TyQ.js';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
|
-
import '../usePlatformApi-
|
|
11
|
+
import '../usePlatformApi-tMvXKljy.js';
|
|
12
12
|
import '@tanstack/react-query';
|
|
13
13
|
import 'neetocommons/react-utils';
|
|
14
14
|
import 'axios';
|
|
@@ -9,9 +9,9 @@ import Container from '@bigbinary/neeto-molecules/v2/Container';
|
|
|
9
9
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
10
10
|
import { useTranslation } from 'react-i18next';
|
|
11
11
|
import { useHistory } from 'react-router-dom';
|
|
12
|
-
import { u as useFetchPaymentIntegrations } from '../useIntegrationsApi-
|
|
12
|
+
import { u as useFetchPaymentIntegrations } from '../useIntegrationsApi-eqpV4aiV.js';
|
|
13
13
|
import { Q as QUERY_KEYS } from '../queryConstants-8c7Nd8ML.js';
|
|
14
|
-
import { E as ERROR_TYPE, M as MAX_POLLING_TIME, P as POLLING_INTERVAL } from '../index-
|
|
14
|
+
import { E as ERROR_TYPE, M as MAX_POLLING_TIME, P as POLLING_INTERVAL } from '../index-Dt75BBN1.js';
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
import 'axios';
|
|
17
17
|
import 'i18next';
|
|
@@ -4,12 +4,12 @@ import CardLayout from '@bigbinary/neeto-molecules/v2/CardLayout';
|
|
|
4
4
|
import { FormikPhoneNumberInput } from '@bigbinary/neeto-molecules/v2/PhoneNumber';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { useHistory } from 'react-router-dom';
|
|
7
|
-
import { u as useFetchBusinessTypes, a as useFetchBusinessCategories } from '../useBusinessTypesApi-
|
|
7
|
+
import { u as useFetchBusinessTypes, a as useFetchBusinessCategories } from '../useBusinessTypesApi-AGjp8zYp.js';
|
|
8
8
|
import { humanize } from 'neetocist';
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
import '@tanstack/react-query';
|
|
11
11
|
import 'axios';
|
|
12
|
-
import '../index-
|
|
12
|
+
import '../index-Dt75BBN1.js';
|
|
13
13
|
import 'i18next';
|
|
14
14
|
import 'neetocommons/constants';
|
|
15
15
|
import 'decimal.js';
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { useRef } from 'react';
|
|
1
2
|
import { Button } from '@bigbinary/neeto-atoms';
|
|
2
|
-
import { noop, findBy
|
|
3
|
+
import { noop, findBy } from 'neetocist';
|
|
3
4
|
import { mergeDeepLeft } from 'ramda';
|
|
4
5
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { u as useCreateRazorpayPayment } from '../
|
|
6
|
-
import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from '../index-
|
|
6
|
+
import { u as useCreateRazorpayPayment, v as verifyCheckoutPayment, r as resolveDismissedCheckout } from '../razorpayCheckoutOutcome-Ctud4CXC.js';
|
|
7
|
+
import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from '../index-Dt75BBN1.js';
|
|
7
8
|
import { jsx } from 'react/jsx-runtime';
|
|
8
9
|
import '@tanstack/react-query';
|
|
9
|
-
import 'axios';
|
|
10
10
|
import 'i18next';
|
|
11
11
|
import 'neetocommons/constants';
|
|
12
12
|
import 'decimal.js';
|
|
13
13
|
import 'neetocommons/utils';
|
|
14
|
+
import 'axios';
|
|
14
15
|
|
|
15
16
|
const loadScript = src => new Promise(resolve => {
|
|
16
17
|
const script = document.createElement("script");
|
|
@@ -41,11 +42,13 @@ const RazorpayPaymentButton = ({
|
|
|
41
42
|
onBeforePayment = noop,
|
|
42
43
|
onSuccessfulPayment = noop,
|
|
43
44
|
onFailedPayment = noop,
|
|
45
|
+
onPaymentCreated = noop,
|
|
44
46
|
onError = noop
|
|
45
47
|
}) => {
|
|
46
48
|
const {
|
|
47
49
|
t
|
|
48
50
|
} = useTranslation();
|
|
51
|
+
const paymentRef = useRef(null);
|
|
49
52
|
const openRazorpayCheckout = async options => {
|
|
50
53
|
const script = await loadScript("https://checkout.razorpay.com/v1/checkout.js");
|
|
51
54
|
if (!script) {
|
|
@@ -67,16 +70,22 @@ const RazorpayPaymentButton = ({
|
|
|
67
70
|
});
|
|
68
71
|
checkout.open();
|
|
69
72
|
};
|
|
70
|
-
const handlePayment = response => {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
const handlePayment = response => verifyCheckoutPayment({
|
|
74
|
+
payment: paymentRef.current,
|
|
75
|
+
response,
|
|
76
|
+
onSuccessfulPayment,
|
|
77
|
+
onFailedPayment
|
|
78
|
+
});
|
|
79
|
+
const handleDismiss = () => resolveDismissedCheckout({
|
|
80
|
+
payment: paymentRef.current,
|
|
81
|
+
onSuccessfulPayment,
|
|
82
|
+
onFailedPayment
|
|
83
|
+
});
|
|
77
84
|
const handleSuccess = ({
|
|
78
85
|
payment
|
|
79
86
|
}) => {
|
|
87
|
+
paymentRef.current = payment;
|
|
88
|
+
onPaymentCreated(payment);
|
|
80
89
|
if (payment?.status === "successful") {
|
|
81
90
|
return onSuccessfulPayment();
|
|
82
91
|
}
|
|
@@ -94,7 +103,7 @@ const RazorpayPaymentButton = ({
|
|
|
94
103
|
},
|
|
95
104
|
modal: {
|
|
96
105
|
confirm_close: true,
|
|
97
|
-
ondismiss:
|
|
106
|
+
ondismiss: handleDismiss
|
|
98
107
|
},
|
|
99
108
|
handler: handlePayment,
|
|
100
109
|
theme: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RazorpayPaymentButton.js","sources":["../../app/javascript/src/v2/components/RazorpayPaymentButton.jsx"],"sourcesContent":["import { Button } from \"@bigbinary/neeto-atoms\";\nimport {
|
|
1
|
+
{"version":3,"file":"RazorpayPaymentButton.js","sources":["../../app/javascript/src/v2/components/RazorpayPaymentButton.jsx"],"sourcesContent":["import { useRef } from \"react\";\n\nimport { Button } from \"@bigbinary/neeto-atoms\";\nimport { noop, findBy } from \"neetocist\";\nimport { mergeDeepLeft } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useCreateRazorpayPayment } from \"hooks/reactQuery/razorpay/usePaymentApi\";\nimport { RAZORPAY_PAYMENT_BUTTON_OPTIONS } from \"src/constants\";\nimport {\n verifyCheckoutPayment,\n resolveDismissedCheckout,\n} from \"utils/razorpayCheckoutOutcome\";\n\nconst loadScript = src =>\n new Promise(resolve => {\n const script = document.createElement(\"script\");\n script.src = src;\n script.onload = () => {\n resolve(true);\n };\n\n script.onerror = () => {\n resolve(false);\n };\n document.body.appendChild(script);\n });\n\nconst RazorpayPaymentButton = ({\n label,\n payableId,\n discountCode,\n email,\n contact,\n customAmount,\n isDisabled,\n isLoading,\n name,\n tip,\n theme = {},\n isPreserveDetailsChecked = false,\n numberOfInstallments = 1,\n payableType = null,\n onBeforePayment = noop,\n onSuccessfulPayment = noop,\n onFailedPayment = noop,\n onPaymentCreated = noop,\n onError = noop,\n}) => {\n const { t } = useTranslation();\n const paymentRef = useRef(null);\n\n const openRazorpayCheckout = async options => {\n const script = await loadScript(\n \"https://checkout.razorpay.com/v1/checkout.js\"\n );\n\n if (!script) {\n logger.error(t(\"neetoPayments.razorpay.loadError\"));\n\n return;\n }\n const checkout = new window.Razorpay(options);\n\n checkout.on(\"payment.failed\", response => {\n const errorDescription = response?.error?.description;\n const errorReason = response?.error?.reason;\n logger.error(\"Razorpay payment failed:\", {\n description: errorDescription,\n reason: errorReason,\n });\n onFailedPayment({ errorDescription, errorReason });\n });\n\n checkout.open();\n };\n\n const handlePayment = response =>\n verifyCheckoutPayment({\n payment: paymentRef.current,\n response,\n onSuccessfulPayment,\n onFailedPayment,\n });\n\n const handleDismiss = () =>\n resolveDismissedCheckout({\n payment: paymentRef.current,\n onSuccessfulPayment,\n onFailedPayment,\n });\n\n const handleSuccess = ({ payment }) => {\n paymentRef.current = payment;\n onPaymentCreated(payment);\n\n if (payment?.status === \"successful\") {\n return onSuccessfulPayment();\n }\n\n const themePrimaryColor = findBy(\n { key: \"primary_color\" },\n theme?.properties\n )?.value;\n\n const options = {\n key: payment.publicKey,\n order_id: payment.orderIdentifier,\n remember_customer: true,\n customer_id: payment.customerIdentifier,\n prefill: { name, email },\n modal: { confirm_close: true, ondismiss: handleDismiss },\n handler: handlePayment,\n theme: { color: themePrimaryColor ?? \"#0da84c\" },\n };\n\n if (isPreserveDetailsChecked) {\n options[\"recurring\"] = \"1\";\n }\n\n return openRazorpayCheckout(\n mergeDeepLeft(RAZORPAY_PAYMENT_BUTTON_OPTIONS, options)\n );\n };\n\n const { isPending, mutate: createRazorpayOrder } = useCreateRazorpayPayment({\n onSuccess: handleSuccess,\n onError,\n });\n\n const handleClick = () => {\n onBeforePayment();\n const payload = {\n payableId,\n payableType,\n discountCode,\n customAmount,\n tipAttributes: tip,\n numberOfInstallments,\n customerAttributes: { email, name, contact },\n isCardPreservingEnabled: isPreserveDetailsChecked,\n };\n createRazorpayOrder(payload);\n };\n\n return (\n <Button\n disabled={isPending || isDisabled}\n label={label || t(\"neetoPayments.common.pay\")}\n loading={isPending || isLoading}\n onClick={handleClick}\n />\n );\n};\n\nexport default RazorpayPaymentButton;\n"],"names":["loadScript","src","Promise","resolve","script","document","createElement","onload","onerror","body","appendChild","RazorpayPaymentButton","label","payableId","discountCode","email","contact","customAmount","isDisabled","isLoading","name","tip","theme","isPreserveDetailsChecked","numberOfInstallments","payableType","onBeforePayment","noop","onSuccessfulPayment","onFailedPayment","onPaymentCreated","onError","t","useTranslation","paymentRef","useRef","openRazorpayCheckout","options","logger","error","checkout","window","Razorpay","on","response","errorDescription","description","errorReason","reason","open","handlePayment","verifyCheckoutPayment","payment","current","handleDismiss","resolveDismissedCheckout","handleSuccess","status","themePrimaryColor","findBy","key","properties","value","publicKey","order_id","orderIdentifier","remember_customer","customer_id","customerIdentifier","prefill","modal","confirm_close","ondismiss","handler","color","mergeDeepLeft","RAZORPAY_PAYMENT_BUTTON_OPTIONS","isPending","mutate","createRazorpayOrder","useCreateRazorpayPayment","onSuccess","handleClick","payload","tipAttributes","customerAttributes","isCardPreservingEnabled","_jsx","Button","disabled","loading","onClick"],"mappings":";;;;;;;;;;;;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Z,SAAS,IAAI3D,UAAW;AAClCN,IAAAA,KAAK,EAAEA,KAAK,IAAIoB,CAAC,CAAC,0BAA0B,CAAE;IAC9C0D,OAAO,EAAEb,SAAS,IAAI1D,SAAU;AAChCwE,IAAAA,OAAO,EAAET;AAAY,GACtB,CAAC;AAEN;;;;"}
|
|
@@ -6,14 +6,14 @@ import Container from '@bigbinary/neeto-molecules/v2/Container';
|
|
|
6
6
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
7
7
|
import { mergeLeft } from 'ramda';
|
|
8
8
|
import { useTranslation, Trans } from 'react-i18next';
|
|
9
|
-
import { u as useFetchRecurringSettings, a as useUpdateRecurringSettings } from '../useRecurringSettingsApi-
|
|
9
|
+
import { u as useFetchRecurringSettings, a as useUpdateRecurringSettings } from '../useRecurringSettingsApi-Bg3o4XqI.js';
|
|
10
10
|
import { t } from 'i18next';
|
|
11
11
|
import * as yup from 'yup';
|
|
12
12
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
13
13
|
import '@tanstack/react-query';
|
|
14
14
|
import 'neetocommons/react-utils';
|
|
15
15
|
import 'axios';
|
|
16
|
-
import '../index-
|
|
16
|
+
import '../index-Dt75BBN1.js';
|
|
17
17
|
import 'neetocommons/constants';
|
|
18
18
|
import 'decimal.js';
|
|
19
19
|
import 'neetocommons/utils';
|
|
@@ -5,10 +5,10 @@ import { getQueryParams, buildUrl } from 'neetocommons/utils';
|
|
|
5
5
|
import { Bar, buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/v2';
|
|
6
6
|
import { map, curry, reject, isNil, concat, prop, mergeDeepWith, mergeLeft, isEmpty } from 'ramda';
|
|
7
7
|
import { useHistory } from 'react-router-dom';
|
|
8
|
-
import { E as ExportModal } from '../ExportModal-
|
|
9
|
-
import { u as useFetchRefunds } from '../useRefundsApi-
|
|
10
|
-
import {
|
|
11
|
-
import { m as mergeEnforcedFilters } from '../dashboard-
|
|
8
|
+
import { E as ExportModal } from '../ExportModal-BVqaCjzT.js';
|
|
9
|
+
import { u as useFetchRefunds } from '../useRefundsApi-BQVWYl8t.js';
|
|
10
|
+
import { r as PAYMENT_PROVIDERS, s as formatAmount, t as formatCurrency, G as DEFAULT_SORT_PROPERTIES, F as ASSOCIATED_TABLE_COLUMNS, z as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, D as DEFAULT_PAGE_VALUES, A as DASHBOARD_KIND } from '../index-Dt75BBN1.js';
|
|
11
|
+
import { m as mergeEnforcedFilters } from '../dashboard-CX-EarqG.js';
|
|
12
12
|
import { t } from 'i18next';
|
|
13
13
|
import { toLabelAndValue, humanize, snakeToCamelCase, isPresent, isNotPresent, camelToSnakeCase } from 'neetocist';
|
|
14
14
|
import { RotateCcw } from 'lucide-react';
|
|
@@ -22,7 +22,7 @@ import { C as CopyButtonWrapper } from '../CopyButtonWrapper-B53v2TyQ.js';
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
24
24
|
import SubHeader from '@bigbinary/neeto-molecules/v2/SubHeader';
|
|
25
|
-
import '../useExportsApi-
|
|
25
|
+
import '../useExportsApi-C7zFJILU.js';
|
|
26
26
|
import '@tanstack/react-query';
|
|
27
27
|
import 'axios';
|
|
28
28
|
import '../queryConstants-8c7Nd8ML.js';
|
|
@@ -5,9 +5,9 @@ import { currencyFormat, getQueryParams, buildUrl } from 'neetocommons/utils';
|
|
|
5
5
|
import { Bar, buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/v2';
|
|
6
6
|
import { mergeLeft, curry, reject, isNil, concat, map, prop, mergeDeepWith, sortBy, isEmpty, pluck } from 'ramda';
|
|
7
7
|
import { useHistory } from 'react-router-dom';
|
|
8
|
-
import { E as ExportModal } from '../ExportModal-
|
|
9
|
-
import { u as useShowSplitTransfers, a as useFetchSplitTransfers, b as useBulkUpdateSplitTransfers } from '../useSplitTransfersApi-
|
|
10
|
-
import {
|
|
8
|
+
import { E as ExportModal } from '../ExportModal-BVqaCjzT.js';
|
|
9
|
+
import { u as useShowSplitTransfers, a as useFetchSplitTransfers, b as useBulkUpdateSplitTransfers } from '../useSplitTransfersApi-DCRH-bO0.js';
|
|
10
|
+
import { s as formatAmount, t as formatCurrency, L as PAYMENT_KIND, G as DEFAULT_SORT_PROPERTIES, z as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, D as DEFAULT_PAGE_VALUES, A as DASHBOARD_KIND } from '../index-Dt75BBN1.js';
|
|
11
11
|
import { Form, Textarea, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
13
|
import { t } from 'i18next';
|
|
@@ -24,7 +24,7 @@ import DateFormat from '@bigbinary/neeto-molecules/v2/DateFormat';
|
|
|
24
24
|
import { C as CopyButtonWrapper } from '../CopyButtonWrapper-B53v2TyQ.js';
|
|
25
25
|
import Header from '@bigbinary/neeto-molecules/v2/Header';
|
|
26
26
|
import SubHeader from '@bigbinary/neeto-molecules/v2/SubHeader';
|
|
27
|
-
import '../useExportsApi-
|
|
27
|
+
import '../useExportsApi-C7zFJILU.js';
|
|
28
28
|
import '@tanstack/react-query';
|
|
29
29
|
import 'axios';
|
|
30
30
|
import 'neetocommons/react-utils';
|