@bigbinary/neeto-payments-frontend 6.1.13 → 6.1.14
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 +4 -4
- package/dist/AdminCancelRecurringPaymentButton.js +1 -1
- package/dist/CashPaymentButton.js +2 -2
- package/dist/ConfirmCashPaymentButton.js +2 -2
- package/dist/CustomerCancelRecurringPaymentForm.js +1 -1
- package/dist/{ExportModal-DyRGg_4o.js → ExportModal-CoRuQVas.js} +2 -2
- package/dist/{ExportModal-DyRGg_4o.js.map → ExportModal-CoRuQVas.js.map} +1 -1
- package/dist/ManualUpiConnect.js +1 -1
- package/dist/ManualUpiPayment.js +2 -2
- package/dist/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/PaymentsDashboard.js +2 -2
- package/dist/PayoutsDashboard.js +4 -4
- package/dist/PayoutsPage.js +3 -3
- package/dist/RazorpayConnect.js +2 -2
- package/dist/RazorpayLinkedAccountForm.js +1 -1
- package/dist/RazorpayPaymentButton.js +2 -2
- package/dist/RecurringPaymentSettings.js +1 -1
- package/dist/RefundsDashboard.js +2 -2
- package/dist/SplitTransfersDashboard.js +2 -2
- package/dist/StripeCheckoutSetting.js +1 -1
- package/dist/StripeConnect.js +3 -3
- package/dist/StripeManage.js +1 -1
- package/dist/TaxesDashboard.js +1 -1
- package/dist/buildStripeTransactionLink.js +1 -1
- package/dist/cjs/AccountsDashboard.js +4 -4
- package/dist/cjs/AdminCancelRecurringPaymentButton.js +1 -1
- package/dist/cjs/CashPaymentButton.js +2 -2
- package/dist/cjs/ConfirmCashPaymentButton.js +2 -2
- package/dist/cjs/CustomerCancelRecurringPaymentForm.js +1 -1
- package/dist/cjs/{ExportModal-DE-VcN1X.js → ExportModal-ClKqp-oy.js} +2 -2
- package/dist/cjs/{ExportModal-DE-VcN1X.js.map → ExportModal-ClKqp-oy.js.map} +1 -1
- package/dist/cjs/ManualUpiConnect.js +1 -1
- 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 +2 -2
- package/dist/cjs/PayoutsDashboard.js +4 -4
- package/dist/cjs/PayoutsPage.js +3 -3
- package/dist/cjs/RazorpayConnect.js +2 -2
- package/dist/cjs/RazorpayLinkedAccountForm.js +1 -1
- package/dist/cjs/RazorpayPaymentButton.js +2 -2
- package/dist/cjs/RecurringPaymentSettings.js +1 -1
- package/dist/cjs/RefundsDashboard.js +2 -2
- package/dist/cjs/SplitTransfersDashboard.js +2 -2
- package/dist/cjs/StripeCheckoutSetting.js +1 -1
- package/dist/cjs/StripeConnect.js +3 -3
- package/dist/cjs/StripeManage.js +1 -1
- package/dist/cjs/TaxesDashboard.js +1 -1
- package/dist/cjs/buildStripeTransactionLink.js +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/{dashboard-BiCB2A6S.js → dashboard-B1R6fLcS.js} +2 -2
- package/dist/cjs/{dashboard-BiCB2A6S.js.map → dashboard-B1R6fLcS.js.map} +1 -1
- package/dist/cjs/getAddressElementOptions.js +1 -1
- package/dist/cjs/getAmountInLargestCurrencyUnit.js +1 -1
- package/dist/cjs/getAmountInSmallestCurrencyUnit.js +1 -1
- package/dist/cjs/getAmountWithAppliedTax.js +1 -1
- package/dist/cjs/getFormattedAmount.js +1 -1
- package/dist/cjs/getFormattedDiscountedAmount.js +1 -1
- package/dist/cjs/getFormattedDiscountedPercentage.js +1 -1
- package/dist/cjs/getFormattedTaxAmount.js +1 -1
- package/dist/cjs/getFormattedTipAmount.js +1 -1
- package/dist/cjs/getQrCodeValue.js +1 -1
- package/dist/cjs/getTaxAmount.js +1 -1
- package/dist/cjs/getTipAmount.js +1 -1
- package/dist/cjs/hasAmountToPay.js +1 -1
- package/dist/cjs/{index-D6V3Vofs.js → index-C3LUTqjR.js} +2 -2
- package/dist/cjs/{index-D6V3Vofs.js.map → index-C3LUTqjR.js.map} +1 -1
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/{renderFunctions-DhCwlBWw.js → renderFunctions-ghFUoYiM.js} +2 -2
- package/dist/cjs/{renderFunctions-DhCwlBWw.js.map → renderFunctions-ghFUoYiM.js.map} +1 -1
- package/dist/cjs/{useAccountsApi-B2MZWHMY.js → useAccountsApi-Dw9yNiOj.js} +2 -2
- package/dist/cjs/{useAccountsApi-B2MZWHMY.js.map → useAccountsApi-Dw9yNiOj.js.map} +1 -1
- package/dist/cjs/{useIntegrationsApi-CVlTmLKc.js → useIntegrationsApi-B8JBENJ0.js} +2 -2
- package/dist/cjs/{useIntegrationsApi-CVlTmLKc.js.map → useIntegrationsApi-B8JBENJ0.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-BCE_Ql18.js → usePaymentApi-C034qyn4.js} +2 -2
- package/dist/cjs/{usePaymentApi-BCE_Ql18.js.map → usePaymentApi-C034qyn4.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-Bl8jWvnG.js → usePaymentApi-Dvv-jkNC.js} +2 -2
- package/dist/cjs/{usePaymentApi-Bl8jWvnG.js.map → usePaymentApi-Dvv-jkNC.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-CiwXBe90.js → usePaymentApi-HlugiqX9.js} +2 -2
- package/dist/cjs/{usePaymentApi-CiwXBe90.js.map → usePaymentApi-HlugiqX9.js.map} +1 -1
- package/dist/cjs/{usePlatformApi-CcGVG4Qi.js → usePlatformApi-DpOqBsBn.js} +2 -2
- package/dist/cjs/{usePlatformApi-CcGVG4Qi.js.map → usePlatformApi-DpOqBsBn.js.map} +1 -1
- package/dist/cjs/useRazorpayPayment.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/{dashboard-CwvqEeOl.js → dashboard-CKB3Vyop.js} +2 -2
- package/dist/{dashboard-CwvqEeOl.js.map → dashboard-CKB3Vyop.js.map} +1 -1
- package/dist/getAddressElementOptions.js +1 -1
- package/dist/getAmountInLargestCurrencyUnit.js +1 -1
- package/dist/getAmountInSmallestCurrencyUnit.js +1 -1
- package/dist/getAmountWithAppliedTax.js +1 -1
- package/dist/getFormattedAmount.js +1 -1
- package/dist/getFormattedDiscountedAmount.js +1 -1
- package/dist/getFormattedDiscountedPercentage.js +1 -1
- package/dist/getFormattedTaxAmount.js +1 -1
- package/dist/getFormattedTipAmount.js +1 -1
- package/dist/getQrCodeValue.js +1 -1
- package/dist/getTaxAmount.js +1 -1
- package/dist/getTipAmount.js +1 -1
- package/dist/hasAmountToPay.js +1 -1
- package/dist/{index-CNouM9_z.js → index-BTVToZp9.js} +2 -2
- package/dist/{index-CNouM9_z.js.map → index-BTVToZp9.js.map} +1 -1
- package/dist/index.js +10 -10
- package/dist/{renderFunctions-Bx5nzyE_.js → renderFunctions-BB3hiqhN.js} +2 -2
- package/dist/{renderFunctions-Bx5nzyE_.js.map → renderFunctions-BB3hiqhN.js.map} +1 -1
- package/dist/{useAccountsApi-C9_eNmEZ.js → useAccountsApi-C4KOwjWh.js} +2 -2
- package/dist/{useAccountsApi-C9_eNmEZ.js.map → useAccountsApi-C4KOwjWh.js.map} +1 -1
- package/dist/{useIntegrationsApi-D9eA_FrB.js → useIntegrationsApi-CDqBFq32.js} +2 -2
- package/dist/{useIntegrationsApi-D9eA_FrB.js.map → useIntegrationsApi-CDqBFq32.js.map} +1 -1
- package/dist/{usePaymentApi-B98qoM7U.js → usePaymentApi-B3dzQqWN.js} +2 -2
- package/dist/{usePaymentApi-B98qoM7U.js.map → usePaymentApi-B3dzQqWN.js.map} +1 -1
- package/dist/{usePaymentApi-DMHHdCK1.js → usePaymentApi-DG2ApS6s.js} +2 -2
- package/dist/{usePaymentApi-DMHHdCK1.js.map → usePaymentApi-DG2ApS6s.js.map} +1 -1
- package/dist/{usePaymentApi-DSlW_EBq.js → usePaymentApi-_dPcALic.js} +2 -2
- package/dist/{usePaymentApi-DSlW_EBq.js.map → usePaymentApi-_dPcALic.js.map} +1 -1
- package/dist/{usePlatformApi-sJUY6wju.js → usePlatformApi-DBLpH3rH.js} +2 -2
- package/dist/{usePlatformApi-sJUY6wju.js.map → usePlatformApi-DBLpH3rH.js.map} +1 -1
- package/dist/useRazorpayPayment.js +2 -2
- package/package.json +12 -11
|
@@ -7,20 +7,20 @@ import Header from '@bigbinary/neeto-molecules/Header';
|
|
|
7
7
|
import SubHeader from '@bigbinary/neeto-molecules/SubHeader';
|
|
8
8
|
import { Modal, Typography, Button, Spinner, NoData, Table, Tab } from '@bigbinary/neetoui';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
10
|
-
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-
|
|
10
|
+
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-CKB3Vyop.js';
|
|
11
11
|
import { e as exportChannel, T as TABLE_KEYS } from './exportChannel-Db0U5gc1.js';
|
|
12
12
|
import { Download } from '@bigbinary/neeto-icons';
|
|
13
|
-
import { u as uuidV4, h as buildStripeAccountLink, D as DEFAULT_SORT_PROPERTIES, S as SORT_DIRECTIONS } from './index-
|
|
13
|
+
import { u as uuidV4, h as buildStripeAccountLink, D as DEFAULT_SORT_PROPERTIES, S as SORT_DIRECTIONS } from './index-BTVToZp9.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 { r as renderStatus, a as renderFullName, b as renderDate } from './renderFunctions-
|
|
18
|
+
import { r as renderStatus, a as renderFullName, b as renderDate } from './renderFunctions-BB3hiqhN.js';
|
|
19
19
|
import { C as CopyButtonWrapper } from './CopyButtonWrapper-Bp5IVO76.js';
|
|
20
20
|
import { DEFAULT_PAGE_SIZE, DEFAULT_PAGE_INDEX } from 'neetocommons/constants';
|
|
21
21
|
import { useTableConfigurations } from '@bigbinary/neeto-molecules/Columns';
|
|
22
22
|
import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
|
|
23
|
-
import { u as useFetchConnectedAccounts } from './useAccountsApi-
|
|
23
|
+
import { u as useFetchConnectedAccounts } from './useAccountsApi-C4KOwjWh.js';
|
|
24
24
|
import '@tanstack/react-query';
|
|
25
25
|
import '@tanstack/react-query-devtools';
|
|
26
26
|
import 'axios';
|
|
@@ -3,7 +3,7 @@ import { Button, Alert } from '@bigbinary/neetoui';
|
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { B as BASE_URL } from './index-
|
|
6
|
+
import { B as BASE_URL } from './index-BTVToZp9.js';
|
|
7
7
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
8
8
|
import 'i18next';
|
|
9
9
|
import 'neetocommons/constants';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { noop } from 'neetocist';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import { u as useCreateCashPayment } from './usePaymentApi-
|
|
3
|
+
import { u as useCreateCashPayment } from './usePaymentApi-B3dzQqWN.js';
|
|
4
4
|
import { Button } from '@bigbinary/neetoui';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
import '@tanstack/react-query';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-BTVToZp9.js';
|
|
9
9
|
import 'i18next';
|
|
10
10
|
import 'neetocommons/constants';
|
|
11
11
|
import 'decimal.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { noop } from 'neetocist';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { a as useUpdateCashPayment } from './usePaymentApi-
|
|
4
|
+
import { a as useUpdateCashPayment } from './usePaymentApi-B3dzQqWN.js';
|
|
5
5
|
import { Button, Modal, Typography } from '@bigbinary/neetoui';
|
|
6
6
|
import { Form, Textarea, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
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-BTVToZp9.js';
|
|
11
11
|
import 'i18next';
|
|
12
12
|
import 'neetocommons/constants';
|
|
13
13
|
import 'decimal.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useTranslation } from 'react-i18next';
|
|
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-BTVToZp9.js';
|
|
5
5
|
import { useQuery } from '@tanstack/react-query';
|
|
6
6
|
import { isNotNil } from 'ramda';
|
|
7
7
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
@@ -5,7 +5,7 @@ import { mergeLeft } from 'ramda';
|
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { useMutation } from '@tanstack/react-query';
|
|
7
7
|
import axios from 'axios';
|
|
8
|
-
import { B as BASE_URL, u as uuidV4 } from './index-
|
|
8
|
+
import { B as BASE_URL, u as uuidV4 } from './index-BTVToZp9.js';
|
|
9
9
|
import { getQueryParams } from 'neetocommons/utils';
|
|
10
10
|
import { Modal, Typography, Button } from '@bigbinary/neetoui';
|
|
11
11
|
import { e as exportChannel } from './exportChannel-Db0U5gc1.js';
|
|
@@ -117,4 +117,4 @@ const ExportModal = ({
|
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
export { ExportModal as E };
|
|
120
|
-
//# sourceMappingURL=ExportModal-
|
|
120
|
+
//# sourceMappingURL=ExportModal-CoRuQVas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportModal-
|
|
1
|
+
{"version":3,"file":"ExportModal-CoRuQVas.js","sources":["../app/javascript/src/apis/exports.js","../app/javascript/src/hooks/reactQuery/useExportsApi.js","../app/javascript/src/components/Common/ExportModal.jsx"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst create = payload =>\n axios.post(\n `${BASE_URL}/api/v1/exports`,\n { export: payload },\n { showToastr: false }\n );\n\nconst exportsApi = { create };\n\nexport default exportsApi;\n","import { useMutation } from \"@tanstack/react-query\";\n\nimport exportsApi from \"apis/exports\";\n\nexport const useExportsData = () =>\n useMutation({ mutationFn: exportsApi.create });\n","import { useEffect, useMemo, useState } from \"react\";\n\nimport { isPresent, camelToSnakeCase } from \"neetocist\";\nimport { Download } from \"neetoicons\";\nimport { mergeLeft } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useExportsData } from \"hooks/reactQuery/useExportsApi\";\nimport { getQueryParams } from \"neetocommons/utils\";\nimport { Button, Modal, Typography } from \"neetoui\";\nimport exportChannel from \"src/channels/exportChannel\";\nimport { uuidV4 } from \"utils\";\n\nconst ExportModal = ({\n filters,\n dashboardKind,\n holdableIds,\n sortProperties,\n isExportModalOpen,\n setIsExportModalOpen,\n}) => {\n const { t } = useTranslation();\n const [downloadUrl, setDownloadUrl] = useState(\"\");\n const [isGenerating, setIsGenerating] = useState(false);\n\n const { tab = \"all\" } = getQueryParams();\n\n const { mutate: exportsData } = useExportsData();\n\n const token = useMemo(\n () => `${dashboardKind}-report-${uuidV4()}`,\n [dashboardKind]\n );\n\n const receivedCallback = data => {\n if (!data.download_url) return;\n setDownloadUrl(data.download_url);\n setIsGenerating(false);\n };\n\n useEffect(() => {\n if (isExportModalOpen) {\n const channel = exportChannel(token, receivedCallback);\n setDownloadUrl(\"\");\n setIsGenerating(false);\n\n return () => {\n channel.disconnected();\n };\n }\n\n return undefined;\n }, [isExportModalOpen, token]);\n\n const onClose = () => setIsExportModalOpen(false);\n\n const handleExport = () => {\n setDownloadUrl(\"\");\n setIsGenerating(true);\n const payload = mergeLeft(sortProperties, {\n token,\n filters,\n tab,\n holdableIds,\n dashboard: camelToSnakeCase(dashboardKind),\n });\n\n exportsData(payload);\n };\n\n return (\n <Modal {...{ onClose }} isOpen={isExportModalOpen}>\n <Modal.Header>\n <Typography style=\"h2\">\n {t(`neetoPayments.export.title.${dashboardKind}`)}\n </Typography>\n </Modal.Header>\n <Modal.Body>\n {isGenerating ? (\n <Typography style=\"body2\">\n {t(\"neetoPayments.export.pleaseWait\")}\n </Typography>\n ) : (\n <Typography style=\"body2\">\n {isPresent(downloadUrl)\n ? t(\"neetoPayments.export.fileReady\")\n : t(`neetoPayments.export.download.${dashboardKind}`)}\n </Typography>\n )}\n </Modal.Body>\n <Modal.Footer className=\"space-x-2\">\n {isPresent(downloadUrl) ? (\n <Button\n data-testid=\"neeto-payments-download-button\"\n href={downloadUrl}\n icon={Download}\n label={t(\"neetoPayments.common.download\")}\n onClick={onClose}\n />\n ) : (\n <>\n <Button\n data-testid=\"cancel-button\"\n disabled={isGenerating}\n label={t(\"neetoPayments.common.cancel\")}\n style=\"tertiary\"\n onClick={onClose}\n />\n <Button\n data-testid=\"neeto-payments-export-button\"\n disabled={isGenerating}\n label={t(\"neetoPayments.common.export\")}\n loading={isGenerating}\n onClick={handleExport}\n />\n </>\n )}\n </Modal.Footer>\n </Modal>\n );\n};\n\nexport default ExportModal;\n"],"names":["create","payload","axios","post","BASE_URL","export","showToastr","exportsApi","useExportsData","useMutation","mutationFn","ExportModal","filters","dashboardKind","holdableIds","sortProperties","isExportModalOpen","setIsExportModalOpen","t","useTranslation","downloadUrl","setDownloadUrl","useState","isGenerating","setIsGenerating","tab","getQueryParams","mutate","exportsData","token","useMemo","uuidV4","receivedCallback","data","download_url","useEffect","channel","exportChannel","disconnected","undefined","onClose","handleExport","mergeLeft","dashboard","camelToSnakeCase","_jsxs","Modal","isOpen","children","_jsx","Header","Typography","style","Body","isPresent","Footer","className","Button","href","icon","Download","label","onClick","_Fragment","disabled","loading"],"mappings":";;;;;;;;;;;;;AAIA,MAAMA,MAAM,GAAGC,OAAO,IACpBC,KAAK,CAACC,IAAI,CACR,CAAA,EAAGC,QAAQ,CAAA,eAAA,CAAiB,EAC5B;AAAEC,EAAAA,MAAM,EAAEJ;AAAQ,CAAC,EACnB;AAAEK,EAAAA,UAAU,EAAE;AAAM,CACtB,CAAC;AAEH,MAAMC,UAAU,GAAG;AAAEP,EAAAA;AAAO,CAAC;;ACPtB,MAAMQ,cAAc,GAAGA,MAC5BC,WAAW,CAAC;EAAEC,UAAU,EAAEH,UAAU,CAACP;AAAO,CAAC,CAAC;;ACQ1CW,MAAAA,WAAW,GAAGA,CAAC;EACnBC,OAAO;EACPC,aAAa;EACbC,WAAW;EACXC,cAAc;EACdC,iBAAiB;AACjBC,EAAAA;AACF,CAAC,KAAK;EACJ,MAAM;AAAEC,IAAAA;GAAG,GAAGC,cAAc,EAAE;EAC9B,MAAM,CAACC,WAAW,EAAEC,cAAc,CAAC,GAAGC,QAAQ,CAAC,EAAE,CAAC;EAClD,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAGF,QAAQ,CAAC,KAAK,CAAC;EAEvD,MAAM;AAAEG,IAAAA,GAAG,GAAG;GAAO,GAAGC,cAAc,EAAE;EAExC,MAAM;AAAEC,IAAAA,MAAM,EAAEC;GAAa,GAAGpB,cAAc,EAAE;AAEhD,EAAA,MAAMqB,KAAK,GAAGC,OAAO,CACnB,MAAM,GAAGjB,aAAa,CAAA,QAAA,EAAWkB,MAAM,EAAE,CAAE,CAAA,EAC3C,CAAClB,aAAa,CAChB,CAAC;EAED,MAAMmB,gBAAgB,GAAGC,IAAI,IAAI;AAC/B,IAAA,IAAI,CAACA,IAAI,CAACC,YAAY,EAAE;AACxBb,IAAAA,cAAc,CAACY,IAAI,CAACC,YAAY,C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AA,GACV,CAAC;AAEZ;;;;"}
|
package/dist/ManualUpiConnect.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Typography, Table, Alert, Spinner } from '@bigbinary/neetoui';
|
|
|
2
2
|
import { useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
4
4
|
import axios from 'axios';
|
|
5
|
-
import { B as BASE_URL } from './index-
|
|
5
|
+
import { B as BASE_URL } from './index-BTVToZp9.js';
|
|
6
6
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
7
7
|
import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
|
|
8
8
|
import { Form, ActionBlock, Input } from '@bigbinary/neetoui/formik';
|
package/dist/ManualUpiPayment.js
CHANGED
|
@@ -4,8 +4,8 @@ import { Form, Input, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
|
4
4
|
import QRCodeImage from 'qrcode.react';
|
|
5
5
|
import { pluck } from 'ramda';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
|
-
import { u as useCreateUpiPayment } from './usePaymentApi-
|
|
8
|
-
import { k as getQrCodeValue } from './index-
|
|
7
|
+
import { u as useCreateUpiPayment } from './usePaymentApi-DG2ApS6s.js';
|
|
8
|
+
import { k as getQrCodeValue } from './index-BTVToZp9.js';
|
|
9
9
|
import { t } from 'i18next';
|
|
10
10
|
import * as yup from 'yup';
|
|
11
11
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -2,7 +2,7 @@ import { useState } from 'react';
|
|
|
2
2
|
import { noop, findBy } from 'neetocist';
|
|
3
3
|
import { mergeLeft } from 'ramda';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { a as useUpdateUpiPayment } from './usePaymentApi-
|
|
5
|
+
import { a as useUpdateUpiPayment } from './usePaymentApi-DG2ApS6s.js';
|
|
6
6
|
import { Button, Modal, Typography } from '@bigbinary/neetoui';
|
|
7
7
|
import { Form, Select, Textarea, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
8
8
|
import { t } from 'i18next';
|
|
@@ -11,7 +11,7 @@ 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-BTVToZp9.js';
|
|
15
15
|
import 'neetocommons/constants';
|
|
16
16
|
import 'decimal.js';
|
|
17
17
|
import 'neetocommons/utils';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { noop } from 'neetocist';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { a as useUpdateUpiPayment } from './usePaymentApi-
|
|
4
|
+
import { a as useUpdateUpiPayment } from './usePaymentApi-DG2ApS6s.js';
|
|
5
5
|
import { Button, Modal, Typography } from '@bigbinary/neetoui';
|
|
6
6
|
import { Form, Textarea, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
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-BTVToZp9.js';
|
|
12
12
|
import 'i18next';
|
|
13
13
|
import 'neetocommons/constants';
|
|
14
14
|
import 'decimal.js';
|
|
@@ -5,10 +5,10 @@ import { Bar, buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend';
|
|
|
5
5
|
import { Typography, Tooltip, Tag, Button, NoData, Table, Tab, Spinner } from '@bigbinary/neetoui';
|
|
6
6
|
import { map, curry, concat, mergeDeepWith, mergeLeft, reject, isNil, prop, isEmpty, modify } from 'ramda';
|
|
7
7
|
import { useHistory } from 'react-router-dom';
|
|
8
|
-
import { E as ExportModal } from './ExportModal-
|
|
8
|
+
import { E as ExportModal } from './ExportModal-CoRuQVas.js';
|
|
9
9
|
import { useQuery } from '@tanstack/react-query';
|
|
10
10
|
import axios from 'axios';
|
|
11
|
-
import { B as BASE_URL, P as PAYMENT_PROVIDERS, j as DEFAULT_TAG_STYLE, l as formatAmount, m as formatCurrency, n as getUniquePaymentProviders, o as buildDefaultTableColumns, p as processDataIndex, S as SORT_DIRECTIONS, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, q as DASHBOARD_KIND } from './index-
|
|
11
|
+
import { B as BASE_URL, P as PAYMENT_PROVIDERS, j as DEFAULT_TAG_STYLE, l as formatAmount, m as formatCurrency, n as getUniquePaymentProviders, o as buildDefaultTableColumns, p as processDataIndex, S as SORT_DIRECTIONS, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, q as DASHBOARD_KIND } from './index-BTVToZp9.js';
|
|
12
12
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
13
13
|
import { t } from 'i18next';
|
|
14
14
|
import { toLabelAndValue, isNotPresent, snakeToCamelCase, humanize, isPresent, camelToSnakeCase } from 'neetocist';
|
package/dist/PayoutsDashboard.js
CHANGED
|
@@ -6,21 +6,21 @@ import Header from '@bigbinary/neeto-molecules/Header';
|
|
|
6
6
|
import SubHeader from '@bigbinary/neeto-molecules/SubHeader';
|
|
7
7
|
import { Modal, Typography, Button, Spinner, NoData, Table, Tab } from '@bigbinary/neetoui';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
|
-
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-
|
|
9
|
+
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-CKB3Vyop.js';
|
|
10
10
|
import { e as exportChannel, T as TABLE_KEYS } from './exportChannel-Db0U5gc1.js';
|
|
11
11
|
import { Download } from '@bigbinary/neeto-icons';
|
|
12
|
-
import { u as uuidV4, D as DEFAULT_SORT_PROPERTIES$1, S as SORT_DIRECTIONS } from './index-
|
|
12
|
+
import { u as uuidV4, D as DEFAULT_SORT_PROPERTIES$1, S as SORT_DIRECTIONS } from './index-BTVToZp9.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, assoc, insert, mergeLeft } from 'ramda';
|
|
17
17
|
import { useHistory } from 'react-router-dom';
|
|
18
|
-
import { r as renderStatus, b as renderDate } from './renderFunctions-
|
|
18
|
+
import { r as renderStatus, b as renderDate } from './renderFunctions-BB3hiqhN.js';
|
|
19
19
|
import { C as CopyButtonWrapper } from './CopyButtonWrapper-Bp5IVO76.js';
|
|
20
20
|
import { DEFAULT_PAGE_SIZE, DEFAULT_PAGE_INDEX } from 'neetocommons/constants';
|
|
21
21
|
import { useTableConfigurations } from '@bigbinary/neeto-molecules/Columns';
|
|
22
22
|
import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
|
|
23
|
-
import { u as useFetchStripePayouts, a as useFetchStripePlatformPayouts } from './usePlatformApi-
|
|
23
|
+
import { u as useFetchStripePayouts, a as useFetchStripePlatformPayouts } from './usePlatformApi-DBLpH3rH.js';
|
|
24
24
|
import '@tanstack/react-query';
|
|
25
25
|
import '@tanstack/react-query-devtools';
|
|
26
26
|
import 'axios';
|
package/dist/PayoutsPage.js
CHANGED
|
@@ -3,10 +3,10 @@ import Header from '@bigbinary/neeto-molecules/Header';
|
|
|
3
3
|
import { Button, Spinner, Typography } from '@bigbinary/neetoui';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import { useParams } from 'react-router-dom/cjs/react-router-dom';
|
|
6
|
-
import { r as renderStatus, b as renderDate } from './renderFunctions-
|
|
7
|
-
import { b as useShowStripePayout, c as useShowStripePlatformPayout } from './usePlatformApi-
|
|
6
|
+
import { r as renderStatus, b as renderDate } from './renderFunctions-BB3hiqhN.js';
|
|
7
|
+
import { b as useShowStripePayout, c as useShowStripePlatformPayout } from './usePlatformApi-DBLpH3rH.js';
|
|
8
8
|
import { C as CopyButtonWrapper } from './CopyButtonWrapper-Bp5IVO76.js';
|
|
9
|
-
import { r as buildStripePayoutLink } from './index-
|
|
9
|
+
import { r as buildStripePayoutLink } from './index-BTVToZp9.js';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
import 'i18next';
|
|
12
12
|
import '@bigbinary/neeto-molecules/DateFormat';
|
package/dist/RazorpayConnect.js
CHANGED
|
@@ -9,9 +9,9 @@ import Header from '@bigbinary/neeto-molecules/Header';
|
|
|
9
9
|
import { Button, Callout, Spinner, Typography } from '@bigbinary/neetoui';
|
|
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-CDqBFq32.js';
|
|
13
13
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
14
|
-
import { E as ERROR_TYPE, M as MAX_POLLING_TIME, t as POLLING_INTERVAL } from './index-
|
|
14
|
+
import { E as ERROR_TYPE, M as MAX_POLLING_TIME, t as POLLING_INTERVAL } from './index-BTVToZp9.js';
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
import 'axios';
|
|
17
17
|
import 'i18next';
|
|
@@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
6
6
|
import { useHistory } from 'react-router-dom';
|
|
7
7
|
import { useQuery } from '@tanstack/react-query';
|
|
8
8
|
import axios from 'axios';
|
|
9
|
-
import { B as BASE_URL } from './index-
|
|
9
|
+
import { B as BASE_URL } from './index-BTVToZp9.js';
|
|
10
10
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
11
11
|
import { humanize } from 'neetocist';
|
|
12
12
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { noop, findBy, isNotPresent } from 'neetocist';
|
|
2
2
|
import { mergeDeepLeft } from 'ramda';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { u as useCreateRazorpayPayment } from './usePaymentApi-
|
|
4
|
+
import { u as useCreateRazorpayPayment } from './usePaymentApi-_dPcALic.js';
|
|
5
5
|
import { Button } from '@bigbinary/neetoui';
|
|
6
|
-
import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from './index-
|
|
6
|
+
import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from './index-BTVToZp9.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import 'axios';
|
|
@@ -4,7 +4,7 @@ import { useTranslation, Trans } from 'react-i18next';
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
6
6
|
import axios from 'axios';
|
|
7
|
-
import { B as BASE_URL } from './index-
|
|
7
|
+
import { B as BASE_URL } from './index-BTVToZp9.js';
|
|
8
8
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
9
9
|
import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
|
|
10
10
|
import Container from '@bigbinary/neeto-molecules/Container';
|
package/dist/RefundsDashboard.js
CHANGED
|
@@ -5,10 +5,10 @@ import { Bar, buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend';
|
|
|
5
5
|
import { Tooltip, Tag, Typography, Button, NoData, Table, Tab, Spinner } from '@bigbinary/neetoui';
|
|
6
6
|
import { map, curry, mergeDeepWith, concat, mergeLeft, reject, isNil, prop, isEmpty, modify } from 'ramda';
|
|
7
7
|
import { useHistory } from 'react-router-dom';
|
|
8
|
-
import { E as ExportModal } from './ExportModal-
|
|
8
|
+
import { E as ExportModal } from './ExportModal-CoRuQVas.js';
|
|
9
9
|
import { useQuery } from '@tanstack/react-query';
|
|
10
10
|
import axios from 'axios';
|
|
11
|
-
import { B as BASE_URL, P as PAYMENT_PROVIDERS, j as DEFAULT_TAG_STYLE, l as formatAmount, m as formatCurrency, o as buildDefaultTableColumns, S as SORT_DIRECTIONS, p as processDataIndex, A as ASSOCIATED_TABLE_COLUMNS, D as DEFAULT_SORT_PROPERTIES, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, q as DASHBOARD_KIND } from './index-
|
|
11
|
+
import { B as BASE_URL, P as PAYMENT_PROVIDERS, j as DEFAULT_TAG_STYLE, l as formatAmount, m as formatCurrency, o as buildDefaultTableColumns, S as SORT_DIRECTIONS, p as processDataIndex, A as ASSOCIATED_TABLE_COLUMNS, D as DEFAULT_SORT_PROPERTIES, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, q as DASHBOARD_KIND } from './index-BTVToZp9.js';
|
|
12
12
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
13
13
|
import { t } from 'i18next';
|
|
14
14
|
import { toLabelAndValue, humanize, snakeToCamelCase, isPresent, isNotPresent, camelToSnakeCase } from 'neetocist';
|
|
@@ -5,11 +5,11 @@ import { Bar, buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend';
|
|
|
5
5
|
import { Modal, Typography, Tooltip, Tag, Pane, Spinner, Button, NoData, Table, Tab, Dropdown } from '@bigbinary/neetoui';
|
|
6
6
|
import { mergeLeft, curry, mergeDeepWith, concat, reject, isNil, map, prop, sortBy, isEmpty, modify, pluck } from 'ramda';
|
|
7
7
|
import { useHistory } from 'react-router-dom';
|
|
8
|
-
import { E as ExportModal } from './ExportModal-
|
|
8
|
+
import { E as ExportModal } from './ExportModal-CoRuQVas.js';
|
|
9
9
|
import { useQuery } from '@tanstack/react-query';
|
|
10
10
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
11
11
|
import axios from 'axios';
|
|
12
|
-
import { B as BASE_URL, v as preProcessStatus, w as getTagStyle, l as formatAmount, m as formatCurrency, x as PAYMENT_KIND, S as SORT_DIRECTIONS, p as processDataIndex, D as DEFAULT_SORT_PROPERTIES, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, q as DASHBOARD_KIND } from './index-
|
|
12
|
+
import { B as BASE_URL, v as preProcessStatus, w as getTagStyle, l as formatAmount, m as formatCurrency, x as PAYMENT_KIND, S as SORT_DIRECTIONS, p as processDataIndex, D as DEFAULT_SORT_PROPERTIES, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, q as DASHBOARD_KIND } from './index-BTVToZp9.js';
|
|
13
13
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
14
14
|
import { Form, Textarea, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
15
15
|
import { useTranslation, Trans } from 'react-i18next';
|
|
@@ -4,7 +4,7 @@ import { useQuery } from '@tanstack/react-query';
|
|
|
4
4
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
5
5
|
import { isNotNil } from 'ramda';
|
|
6
6
|
import axios from 'axios';
|
|
7
|
-
import { B as BASE_URL } from './index-
|
|
7
|
+
import { B as BASE_URL } from './index-BTVToZp9.js';
|
|
8
8
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
import 'i18next';
|
package/dist/StripeConnect.js
CHANGED
|
@@ -9,13 +9,13 @@ import { buildUrl } from 'neetocommons/utils';
|
|
|
9
9
|
import { Stripe } from '@bigbinary/neeto-icons/misc';
|
|
10
10
|
import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
|
|
11
11
|
import { Button, Radio, Spinner, Callout, Typography } from '@bigbinary/neetoui';
|
|
12
|
-
import { u as useFetchPaymentIntegrations } from './useIntegrationsApi-
|
|
13
|
-
import { y as STRIPE_CONNECT_ENDPOINT, B as BASE_URL, t as POLLING_INTERVAL, E as ERROR_TYPE, M as MAX_POLLING_TIME } from './index-
|
|
12
|
+
import { u as useFetchPaymentIntegrations } from './useIntegrationsApi-CDqBFq32.js';
|
|
13
|
+
import { y as STRIPE_CONNECT_ENDPOINT, B as BASE_URL, t as POLLING_INTERVAL, E as ERROR_TYPE, M as MAX_POLLING_TIME } from './index-BTVToZp9.js';
|
|
14
14
|
import { t } from 'i18next';
|
|
15
15
|
import * as yup from 'yup';
|
|
16
16
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
17
17
|
import { Form, ActionBlock, Select } from '@bigbinary/neetoui/formik';
|
|
18
|
-
import { a as useCreateStripeAccount, b as usePollingStripeAccountCreationStatus } from './useAccountsApi-
|
|
18
|
+
import { a as useCreateStripeAccount, b as usePollingStripeAccountCreationStatus } from './useAccountsApi-C4KOwjWh.js';
|
|
19
19
|
import { useQuery, useQueryClient } from '@tanstack/react-query';
|
|
20
20
|
import axios from 'axios';
|
|
21
21
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
package/dist/StripeManage.js
CHANGED
package/dist/TaxesDashboard.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useTranslation, Trans } from 'react-i18next';
|
|
|
5
5
|
import { useQuery } from '@tanstack/react-query';
|
|
6
6
|
import { useMutationWithInvalidation } from 'neetocommons/react-utils';
|
|
7
7
|
import axios from 'axios';
|
|
8
|
-
import { B as BASE_URL } from './index-
|
|
8
|
+
import { B as BASE_URL } from './index-BTVToZp9.js';
|
|
9
9
|
import { Q as QUERY_KEYS } from './queryConstants-C7AqdemO.js';
|
|
10
10
|
import Container from '@bigbinary/neeto-molecules/Container';
|
|
11
11
|
import Header$1 from '@bigbinary/neeto-molecules/Header';
|
|
@@ -9,20 +9,20 @@ var Header = require('@bigbinary/neeto-molecules/Header');
|
|
|
9
9
|
var SubHeader = require('@bigbinary/neeto-molecules/SubHeader');
|
|
10
10
|
var neetoui = require('@bigbinary/neetoui');
|
|
11
11
|
var reactI18next = require('react-i18next');
|
|
12
|
-
var dashboard = require('./dashboard-
|
|
12
|
+
var dashboard = require('./dashboard-B1R6fLcS.js');
|
|
13
13
|
var exportChannel = require('./exportChannel-BL2RGGhP.js');
|
|
14
14
|
var neetoIcons = require('@bigbinary/neeto-icons');
|
|
15
|
-
var constants = require('./index-
|
|
15
|
+
var constants = require('./index-C3LUTqjR.js');
|
|
16
16
|
var jsxRuntime = require('react/jsx-runtime');
|
|
17
17
|
var utils = require('neetocommons/utils');
|
|
18
18
|
var ramda = require('ramda');
|
|
19
19
|
var reactRouterDom = require('react-router-dom');
|
|
20
|
-
var renderFunctions = require('./renderFunctions-
|
|
20
|
+
var renderFunctions = require('./renderFunctions-ghFUoYiM.js');
|
|
21
21
|
var CopyButtonWrapper = require('./CopyButtonWrapper-I-kdKiiB.js');
|
|
22
22
|
var constants$1 = require('neetocommons/constants');
|
|
23
23
|
var Columns = require('@bigbinary/neeto-molecules/Columns');
|
|
24
24
|
var TableWrapper = require('@bigbinary/neeto-molecules/TableWrapper');
|
|
25
|
-
var useAccountsApi = require('./useAccountsApi-
|
|
25
|
+
var useAccountsApi = require('./useAccountsApi-Dw9yNiOj.js');
|
|
26
26
|
require('@tanstack/react-query');
|
|
27
27
|
require('@tanstack/react-query-devtools');
|
|
28
28
|
require('axios');
|
|
@@ -5,7 +5,7 @@ var neetoui = require('@bigbinary/neetoui');
|
|
|
5
5
|
var reactI18next = require('react-i18next');
|
|
6
6
|
var reactUtils = require('neetocommons/react-utils');
|
|
7
7
|
var axios = require('axios');
|
|
8
|
-
var constants = require('./index-
|
|
8
|
+
var constants = require('./index-C3LUTqjR.js');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
10
|
require('i18next');
|
|
11
11
|
require('neetocommons/constants');
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var neetocist = require('neetocist');
|
|
4
4
|
var reactI18next = require('react-i18next');
|
|
5
|
-
var usePaymentApi = require('./usePaymentApi-
|
|
5
|
+
var usePaymentApi = require('./usePaymentApi-C034qyn4.js');
|
|
6
6
|
var neetoui = require('@bigbinary/neetoui');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
8
|
require('@tanstack/react-query');
|
|
9
9
|
require('axios');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-C3LUTqjR.js');
|
|
11
11
|
require('i18next');
|
|
12
12
|
require('neetocommons/constants');
|
|
13
13
|
require('decimal.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var neetocist = require('neetocist');
|
|
5
5
|
var reactI18next = require('react-i18next');
|
|
6
|
-
var usePaymentApi = require('./usePaymentApi-
|
|
6
|
+
var usePaymentApi = require('./usePaymentApi-C034qyn4.js');
|
|
7
7
|
var neetoui = require('@bigbinary/neetoui');
|
|
8
8
|
var formik = require('@bigbinary/neetoui/formik');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
10
|
require('@tanstack/react-query');
|
|
11
11
|
require('axios');
|
|
12
|
-
require('./index-
|
|
12
|
+
require('./index-C3LUTqjR.js');
|
|
13
13
|
require('i18next');
|
|
14
14
|
require('neetocommons/constants');
|
|
15
15
|
require('decimal.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var reactI18next = require('react-i18next');
|
|
4
4
|
var reactUtils = require('neetocommons/react-utils');
|
|
5
5
|
var axios = require('axios');
|
|
6
|
-
var constants = require('./index-
|
|
6
|
+
var constants = require('./index-C3LUTqjR.js');
|
|
7
7
|
var reactQuery = require('@tanstack/react-query');
|
|
8
8
|
var ramda = require('ramda');
|
|
9
9
|
var queryConstants = require('./queryConstants-Dc6wh21D.js');
|
|
@@ -7,7 +7,7 @@ var ramda = require('ramda');
|
|
|
7
7
|
var reactI18next = require('react-i18next');
|
|
8
8
|
var reactQuery = require('@tanstack/react-query');
|
|
9
9
|
var axios = require('axios');
|
|
10
|
-
var constants = require('./index-
|
|
10
|
+
var constants = require('./index-C3LUTqjR.js');
|
|
11
11
|
var utils = require('neetocommons/utils');
|
|
12
12
|
var neetoui = require('@bigbinary/neetoui');
|
|
13
13
|
var exportChannel = require('./exportChannel-BL2RGGhP.js');
|
|
@@ -119,4 +119,4 @@ const ExportModal = ({
|
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
exports.ExportModal = ExportModal;
|
|
122
|
-
//# sourceMappingURL=ExportModal-
|
|
122
|
+
//# sourceMappingURL=ExportModal-ClKqp-oy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportModal-
|
|
1
|
+
{"version":3,"file":"ExportModal-ClKqp-oy.js","sources":["../../app/javascript/src/apis/exports.js","../../app/javascript/src/hooks/reactQuery/useExportsApi.js","../../app/javascript/src/components/Common/ExportModal.jsx"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst create = payload =>\n axios.post(\n `${BASE_URL}/api/v1/exports`,\n { export: payload },\n { showToastr: false }\n );\n\nconst exportsApi = { create };\n\nexport default exportsApi;\n","import { useMutation } from \"@tanstack/react-query\";\n\nimport exportsApi from \"apis/exports\";\n\nexport const useExportsData = () =>\n useMutation({ mutationFn: exportsApi.create });\n","import { useEffect, useMemo, useState } from \"react\";\n\nimport { isPresent, camelToSnakeCase } from \"neetocist\";\nimport { Download } from \"neetoicons\";\nimport { mergeLeft } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useExportsData } from \"hooks/reactQuery/useExportsApi\";\nimport { getQueryParams } from \"neetocommons/utils\";\nimport { Button, Modal, Typography } from \"neetoui\";\nimport exportChannel from \"src/channels/exportChannel\";\nimport { uuidV4 } from \"utils\";\n\nconst ExportModal = ({\n filters,\n dashboardKind,\n holdableIds,\n sortProperties,\n isExportModalOpen,\n setIsExportModalOpen,\n}) => {\n const { t } = useTranslation();\n const [downloadUrl, setDownloadUrl] = useState(\"\");\n const [isGenerating, setIsGenerating] = useState(false);\n\n const { tab = \"all\" } = getQueryParams();\n\n const { mutate: exportsData } = useExportsData();\n\n const token = useMemo(\n () => `${dashboardKind}-report-${uuidV4()}`,\n [dashboardKind]\n );\n\n const receivedCallback = data => {\n if (!data.download_url) return;\n setDownloadUrl(data.download_url);\n setIsGenerating(false);\n };\n\n useEffect(() => {\n if (isExportModalOpen) {\n const channel = exportChannel(token, receivedCallback);\n setDownloadUrl(\"\");\n setIsGenerating(false);\n\n return () => {\n channel.disconnected();\n };\n }\n\n return undefined;\n }, [isExportModalOpen, token]);\n\n const onClose = () => setIsExportModalOpen(false);\n\n const handleExport = () => {\n setDownloadUrl(\"\");\n setIsGenerating(true);\n const payload = mergeLeft(sortProperties, {\n token,\n filters,\n tab,\n holdableIds,\n dashboard: camelToSnakeCase(dashboardKind),\n });\n\n exportsData(payload);\n };\n\n return (\n <Modal {...{ onClose }} isOpen={isExportModalOpen}>\n <Modal.Header>\n <Typography style=\"h2\">\n {t(`neetoPayments.export.title.${dashboardKind}`)}\n </Typography>\n </Modal.Header>\n <Modal.Body>\n {isGenerating ? (\n <Typography style=\"body2\">\n {t(\"neetoPayments.export.pleaseWait\")}\n </Typography>\n ) : (\n <Typography style=\"body2\">\n {isPresent(downloadUrl)\n ? t(\"neetoPayments.export.fileReady\")\n : t(`neetoPayments.export.download.${dashboardKind}`)}\n </Typography>\n )}\n </Modal.Body>\n <Modal.Footer className=\"space-x-2\">\n {isPresent(downloadUrl) ? (\n <Button\n data-testid=\"neeto-payments-download-button\"\n href={downloadUrl}\n icon={Download}\n label={t(\"neetoPayments.common.download\")}\n onClick={onClose}\n />\n ) : (\n <>\n <Button\n data-testid=\"cancel-button\"\n disabled={isGenerating}\n label={t(\"neetoPayments.common.cancel\")}\n style=\"tertiary\"\n onClick={onClose}\n />\n <Button\n data-testid=\"neeto-payments-export-button\"\n disabled={isGenerating}\n label={t(\"neetoPayments.common.export\")}\n loading={isGenerating}\n onClick={handleExport}\n />\n </>\n )}\n </Modal.Footer>\n </Modal>\n );\n};\n\nexport default ExportModal;\n"],"names":["create","payload","axios","post","BASE_URL","export","showToastr","exportsApi","useExportsData","useMutation","mutationFn","ExportModal","filters","dashboardKind","holdableIds","sortProperties","isExportModalOpen","setIsExportModalOpen","t","useTranslation","downloadUrl","setDownloadUrl","useState","isGenerating","setIsGenerating","tab","getQueryParams","mutate","exportsData","token","useMemo","uuidV4","receivedCallback","data","download_url","useEffect","channel","exportChannel","disconnected","undefined","onClose","handleExport","mergeLeft","dashboard","camelToSnakeCase","_jsxs","Modal","isOpen","children","_jsx","Header","Typography","style","Body","isPresent","Footer","className","Button","href","icon","Download","label","onClick","_Fragment","disabled","loading"],"mappings":";;;;;;;;;;;;;;;AAIA,MAAMA,MAAM,GAAGC,OAAO,IACpBC,KAAK,CAACC,IAAI,CACR,CAAA,EAAGC,kBAAQ,CAAA,eAAA,CAAiB,EAC5B;AAAEC,EAAAA,MAAM,EAAEJ;AAAQ,CAAC,EACnB;AAAEK,EAAAA,UAAU,EAAE;AAAM,CACtB,CAAC;AAEH,MAAMC,UAAU,GAAG;AAAEP,EAAAA;AAAO,CAAC;;ACPtB,MAAMQ,cAAc,GAAGA,MAC5BC,sBAAW,CAAC;EAAEC,UAAU,EAAEH,UAAU,CAACP;AAAO,CAAC,CAAC;;ACQ1CW,MAAAA,WAAW,GAAGA,CAAC;EACnBC,OAAO;EACPC,aAAa;EACbC,WAAW;EACXC,cAAc;EACdC,iBAAiB;AACjBC,EAAAA;AACF,CAAC,KAAK;EACJ,MAAM;AAAEC,IAAAA;GAAG,GAAGC,2BAAc,EAAE;EAC9B,MAAM,CAACC,WAAW,EAAEC,cAAc,CAAC,GAAGC,cAAQ,CAAC,EAAE,CAAC;EAClD,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC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,aAAA,EAAY,eAAe;AAC3BO,UAAAA,QAAQ,EAAEzC,YAAa;AACvBsC,UAAAA,KAAK,EAAE3C,CAAC,CAAC,6BAA6B,CAAE;AACxCkC,UAAAA,KAAK,EAAC,UAAU;AAChBU,UAAAA,OAAO,EAAEtB;AAAQ,SAClB,CAAC,eACFS,cAAA,CAACQ,cAAM,EAAA;AACL,UAAA,aAAA,EAAY,8BAA8B;AAC1CO,UAAAA,QAAQ,EAAEzC,YAAa;AACvBsC,UAAAA,KAAK,EAAE3C,CAAC,CAAC,6BAA6B,CAAE;AACxC+C,UAAAA,OAAO,EAAE1C,YAAa;AACtBuC,UAAAA,OAAO,EAAErB;AAAa,SACvB,CAAC;OACF;AACH,KACW,CAAC;AAAA,GACV,CAAC;AAEZ;;;;"}
|
|
@@ -4,7 +4,7 @@ var neetoui = require('@bigbinary/neetoui');
|
|
|
4
4
|
var reactQuery = require('@tanstack/react-query');
|
|
5
5
|
var reactUtils = require('neetocommons/react-utils');
|
|
6
6
|
var axios = require('axios');
|
|
7
|
-
var constants = require('./index-
|
|
7
|
+
var constants = require('./index-C3LUTqjR.js');
|
|
8
8
|
var queryConstants = require('./queryConstants-Dc6wh21D.js');
|
|
9
9
|
var CardLayout = require('@bigbinary/neeto-molecules/CardLayout');
|
|
10
10
|
var formik = require('@bigbinary/neetoui/formik');
|
|
@@ -6,8 +6,8 @@ var formik = require('@bigbinary/neetoui/formik');
|
|
|
6
6
|
var QRCodeImage = require('qrcode.react');
|
|
7
7
|
var ramda = require('ramda');
|
|
8
8
|
var reactI18next = require('react-i18next');
|
|
9
|
-
var usePaymentApi = require('./usePaymentApi-
|
|
10
|
-
var constants = require('./index-
|
|
9
|
+
var usePaymentApi = require('./usePaymentApi-Dvv-jkNC.js');
|
|
10
|
+
var constants = require('./index-C3LUTqjR.js');
|
|
11
11
|
var i18next = require('i18next');
|
|
12
12
|
var yup = require('yup');
|
|
13
13
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -4,7 +4,7 @@ var react = require('react');
|
|
|
4
4
|
var neetocist = require('neetocist');
|
|
5
5
|
var ramda = require('ramda');
|
|
6
6
|
var reactI18next = require('react-i18next');
|
|
7
|
-
var usePaymentApi = require('./usePaymentApi-
|
|
7
|
+
var usePaymentApi = require('./usePaymentApi-Dvv-jkNC.js');
|
|
8
8
|
var neetoui = require('@bigbinary/neetoui');
|
|
9
9
|
var formik = require('@bigbinary/neetoui/formik');
|
|
10
10
|
var i18next = require('i18next');
|
|
@@ -13,7 +13,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
13
13
|
require('@tanstack/react-query');
|
|
14
14
|
require('neetocommons/react-utils');
|
|
15
15
|
require('axios');
|
|
16
|
-
require('./index-
|
|
16
|
+
require('./index-C3LUTqjR.js');
|
|
17
17
|
require('neetocommons/constants');
|
|
18
18
|
require('decimal.js');
|
|
19
19
|
require('neetocommons/utils');
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var neetocist = require('neetocist');
|
|
5
5
|
var reactI18next = require('react-i18next');
|
|
6
|
-
var usePaymentApi = require('./usePaymentApi-
|
|
6
|
+
var usePaymentApi = require('./usePaymentApi-Dvv-jkNC.js');
|
|
7
7
|
var neetoui = require('@bigbinary/neetoui');
|
|
8
8
|
var formik = require('@bigbinary/neetoui/formik');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
10
|
require('@tanstack/react-query');
|
|
11
11
|
require('neetocommons/react-utils');
|
|
12
12
|
require('axios');
|
|
13
|
-
require('./index-
|
|
13
|
+
require('./index-C3LUTqjR.js');
|
|
14
14
|
require('i18next');
|
|
15
15
|
require('neetocommons/constants');
|
|
16
16
|
require('decimal.js');
|