@bigbinary/neeto-payments-frontend 3.3.4 → 3.3.6
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 +3 -3
- package/dist/ConfirmUpiPaymentButton.js +2 -2
- package/dist/{ExportModal-BkWscSJE.js → ExportModal-DCGDM_Fa.js} +2 -2
- package/dist/{ExportModal-BkWscSJE.js.map → ExportModal-DCGDM_Fa.js.map} +1 -1
- package/dist/PaymentsDashboard.js +2 -2
- package/dist/PayoutsDashboard.js +5 -5
- package/dist/PayoutsPage.js +4 -4
- 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/StripeConnect.js +2 -2
- package/dist/TaxesDashboard.js +1 -1
- package/dist/UpiConnect.js +23 -25
- package/dist/UpiConnect.js.map +1 -1
- package/dist/UpiPayment.js +56 -58
- package/dist/UpiPayment.js.map +1 -1
- package/dist/buildStripeTransactionLink.js +1 -1
- package/dist/cjs/AccountsDashboard.js +3 -3
- package/dist/cjs/ConfirmUpiPaymentButton.js +2 -2
- package/dist/cjs/{ExportModal-BU5MzzaS.js → ExportModal-CPZu2qzb.js} +2 -2
- package/dist/cjs/{ExportModal-BU5MzzaS.js.map → ExportModal-CPZu2qzb.js.map} +1 -1
- package/dist/cjs/PaymentsDashboard.js +2 -2
- package/dist/cjs/PayoutsDashboard.js +5 -5
- package/dist/cjs/PayoutsPage.js +4 -4
- 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/StripeConnect.js +2 -2
- package/dist/cjs/TaxesDashboard.js +1 -1
- package/dist/cjs/UpiConnect.js +23 -25
- package/dist/cjs/UpiConnect.js.map +1 -1
- package/dist/cjs/UpiPayment.js +56 -58
- package/dist/cjs/UpiPayment.js.map +1 -1
- package/dist/cjs/buildStripeTransactionLink.js +1 -1
- package/dist/cjs/constants.js +2 -1
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/{dashboard-Bhh942b_.js → dashboard-H1ov-J3v.js} +2 -2
- package/dist/cjs/{dashboard-Bhh942b_.js.map → dashboard-H1ov-J3v.js.map} +1 -1
- package/dist/cjs/{index-DFhiGrTx.js → index-BYewZJN8.js} +10 -1
- package/dist/cjs/index-BYewZJN8.js.map +1 -0
- package/dist/cjs/index.js +9 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/{renderFunctions-C0wN6yD6.js → renderFunctions-DWGcZwCb.js} +2 -2
- package/dist/cjs/{renderFunctions-C0wN6yD6.js.map → renderFunctions-DWGcZwCb.js.map} +1 -1
- package/dist/cjs/{useConnectApi-AKCRTnvM.js → useConnectApi-CKqh8VKR.js} +2 -2
- package/dist/cjs/{useConnectApi-AKCRTnvM.js.map → useConnectApi-CKqh8VKR.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-Ct4IyY6F.js → usePaymentApi-CcdKGxJD.js} +2 -2
- package/dist/cjs/{usePaymentApi-Ct4IyY6F.js.map → usePaymentApi-CcdKGxJD.js.map} +1 -1
- package/dist/cjs/{usePaymentsApi-CRsEWHjO.js → usePaymentsApi-Dz6uXFhx.js} +2 -2
- package/dist/cjs/{usePaymentsApi-CRsEWHjO.js.map → usePaymentsApi-Dz6uXFhx.js.map} +1 -1
- package/dist/cjs/{usePlatformApi-BaR9BNZs.js → usePlatformApi-DTa_oyAT.js} +2 -2
- package/dist/cjs/{usePlatformApi-BaR9BNZs.js.map → usePlatformApi-DTa_oyAT.js.map} +1 -1
- package/dist/cjs/useRazorpayPayment.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/{dashboard-BWze-7eb.js → dashboard-D6ZJpJ3n.js} +2 -2
- package/dist/{dashboard-BWze-7eb.js.map → dashboard-D6ZJpJ3n.js.map} +1 -1
- package/dist/{index-Cl511Juk.js → index-ER2sofJn.js} +9 -2
- package/dist/index-ER2sofJn.js.map +1 -0
- package/dist/index.js +8 -8
- package/dist/{renderFunctions-DlSa2Jxe.js → renderFunctions-COtuAmF9.js} +2 -2
- package/dist/{renderFunctions-DlSa2Jxe.js.map → renderFunctions-COtuAmF9.js.map} +1 -1
- package/dist/{useConnectApi-0JizTABG.js → useConnectApi-BJyvgLXQ.js} +2 -2
- package/dist/{useConnectApi-0JizTABG.js.map → useConnectApi-BJyvgLXQ.js.map} +1 -1
- package/dist/{usePaymentApi-DiWHWkBI.js → usePaymentApi-DBEceBVs.js} +2 -2
- package/dist/{usePaymentApi-DiWHWkBI.js.map → usePaymentApi-DBEceBVs.js.map} +1 -1
- package/dist/{usePaymentsApi-BwHtaZK6.js → usePaymentsApi-K6rhWzss.js} +2 -2
- package/dist/{usePaymentsApi-BwHtaZK6.js.map → usePaymentsApi-K6rhWzss.js.map} +1 -1
- package/dist/{usePlatformApi-BUUkJvaH.js → usePlatformApi-D-E9w189.js} +2 -2
- package/dist/{usePlatformApi-BUUkJvaH.js.map → usePlatformApi-D-E9w189.js.map} +1 -1
- package/dist/useRazorpayPayment.js +2 -2
- package/package.json +16 -16
- package/dist/cjs/index-DFhiGrTx.js.map +0 -1
- package/dist/index-Cl511Juk.js.map +0 -1
|
@@ -9,20 +9,20 @@ import SubHeader from '@bigbinary/neeto-molecules/SubHeader';
|
|
|
9
9
|
import Tab from '@bigbinary/neetoui/Tab';
|
|
10
10
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
11
11
|
import { useTranslation } from 'react-i18next';
|
|
12
|
-
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-
|
|
12
|
+
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-D6ZJpJ3n.js';
|
|
13
13
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
14
14
|
import Download from '@bigbinary/neeto-icons/Download';
|
|
15
15
|
import Button from '@bigbinary/neetoui/Button';
|
|
16
16
|
import Modal from '@bigbinary/neetoui/Modal';
|
|
17
17
|
import { e as exportChannel } from './exportChannel-CViICC6x.js';
|
|
18
|
-
import { u as uuidV4, a as buildStripeAccountLink, D as DEFAULT_SORT_PROPERTIES, B as BASE_URL, S as SORT_DIRECTIONS } from './index-
|
|
18
|
+
import { u as uuidV4, a as buildStripeAccountLink, D as DEFAULT_SORT_PROPERTIES, B as BASE_URL, S as SORT_DIRECTIONS } from './index-ER2sofJn.js';
|
|
19
19
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
20
20
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
21
21
|
import { getQueryParams, buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
22
22
|
import { buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/utils';
|
|
23
23
|
import { pipe, split, map, join, mergeLeft, assoc } from 'ramda';
|
|
24
24
|
import { useHistory } from 'react-router-dom';
|
|
25
|
-
import { r as renderStatus, a as renderFullName, b as renderEmail, c as renderDate } from './renderFunctions-
|
|
25
|
+
import { r as renderStatus, a as renderFullName, b as renderEmail, c as renderDate } from './renderFunctions-COtuAmF9.js';
|
|
26
26
|
import { C as CopyButtonWrapper } from './CopyButtonWrapper-SoJkwX-d.js';
|
|
27
27
|
import { DEFAULT_PAGE_SIZE, DEFAULT_PAGE_INDEX } from '@bigbinary/neeto-commons-frontend/constants';
|
|
28
28
|
import { useHiddenColumns } from '@bigbinary/neeto-molecules/Columns';
|
|
@@ -9,14 +9,14 @@ import Textarea from '@bigbinary/neetoui/formik/Textarea';
|
|
|
9
9
|
import Select from '@bigbinary/neetoui/formik/Select';
|
|
10
10
|
import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
11
11
|
import { useTranslation } from 'react-i18next';
|
|
12
|
-
import { u as useUpdateUpiPayment } from './usePaymentsApi-
|
|
12
|
+
import { u as useUpdateUpiPayment } from './usePaymentsApi-K6rhWzss.js';
|
|
13
13
|
import { t } from 'i18next';
|
|
14
14
|
import * as yup from 'yup';
|
|
15
15
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
16
16
|
import '@babel/runtime/helpers/defineProperty';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
18
|
import 'axios';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-ER2sofJn.js';
|
|
20
20
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
21
21
|
import '@bigbinary/neeto-commons-frontend/utils';
|
|
22
22
|
import 'ramda';
|
|
@@ -10,7 +10,7 @@ import { mergeLeft } from 'ramda';
|
|
|
10
10
|
import { useTranslation } from 'react-i18next';
|
|
11
11
|
import { useMutation } from '@tanstack/react-query';
|
|
12
12
|
import axios from 'axios';
|
|
13
|
-
import { B as BASE_URL, u as uuidV4 } from './index-
|
|
13
|
+
import { B as BASE_URL, u as uuidV4 } from './index-ER2sofJn.js';
|
|
14
14
|
import { e as exportChannel } from './exportChannel-CViICC6x.js';
|
|
15
15
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
@@ -128,4 +128,4 @@ var ExportModal = function ExportModal(_ref) {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
export { ExportModal as E };
|
|
131
|
-
//# sourceMappingURL=ExportModal-
|
|
131
|
+
//# sourceMappingURL=ExportModal-DCGDM_Fa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportModal-
|
|
1
|
+
{"version":3,"file":"ExportModal-DCGDM_Fa.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 { getQueryParams } from \"neetocommons/utils\";\nimport { Download } from \"neetoicons\";\nimport { Button, Modal, Typography } from \"neetoui\";\nimport { mergeLeft } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useExportsData } from \"hooks/reactQuery/useExportsApi\";\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 href={downloadUrl}\n icon={Download}\n label={t(\"neetoPayments.common.download\")}\n onClick={onClose}\n />\n ) : (\n <>\n <Button\n disabled={isGenerating}\n label={t(\"neetoPayments.common.cancel\")}\n style=\"tertiary\"\n onClick={onClose}\n />\n <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","concat","BASE_URL","showToastr","exportsApi","useExportsData","useMutation","mutationFn","ExportModal","_ref","filters","dashboardKind","holdableIds","sortProperties","isExportModalOpen","setIsExportModalOpen","_useTranslation","useTranslation","t","_useState","useState","_useState2","_slicedToArray","downloadUrl","setDownloadUrl","_useState3","_useState4","isGenerating","setIsGenerating","_getQueryParams","getQueryParams","_getQueryParams$tab","tab","_useExportsData","exportsData","mutate","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,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,KAAK,CAACC,IAAI,IAAAC,MAAA,CACLC,QAAQ,EACX,iBAAA,CAAA,EAAA;IAAE,QAAQJ,EAAAA;AAAQ,GAAC,EACnB;AA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AAC,CAAC,+BAA+B,CAAE;AAC1CmD,QAAAA,OAAO,EAAEtB;AAAQ,OAClB,CAAC,gBAEFK,IAAA,CAAAkB,QAAA,EAAA;QAAAf,QAAA,EAAA,cACEC,GAAA,CAACQ,MAAM,EAAA;AACLO,UAAAA,QAAQ,EAAE5C,YAAa;AACvByC,UAAAA,KAAK,EAAElD,CAAC,CAAC,6BAA6B,CAAE;AACxCyC,UAAAA,KAAK,EAAC,UAAU;AAChBU,UAAAA,OAAO,EAAEtB;AAAQ,SAClB,CAAC,eACFS,GAAA,CAACQ,MAAM,EAAA;AACLO,UAAAA,QAAQ,EAAE5C,YAAa;AACvByC,UAAAA,KAAK,EAAElD,CAAC,CAAC,6BAA6B,CAAE;AACxCsD,UAAAA,OAAO,EAAE7C,YAAa;AACtB0C,UAAAA,OAAO,EAAErB;AAAa,SACvB,CAAC;OACF;AACH,KACW,CAAC;AAAA,GACV,CAAC;AAEZ;;;;"}
|
|
@@ -8,10 +8,10 @@ import { buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/utils';
|
|
|
8
8
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
9
9
|
import { map, curry, mergeDeepWith, concat, mergeLeft, reject, isNil, prop, isEmpty, modify } from 'ramda';
|
|
10
10
|
import { useHistory } from 'react-router-dom';
|
|
11
|
-
import { E as ExportModal } from './ExportModal-
|
|
11
|
+
import { E as ExportModal } from './ExportModal-DCGDM_Fa.js';
|
|
12
12
|
import { useQuery } from '@tanstack/react-query';
|
|
13
13
|
import axios from 'axios';
|
|
14
|
-
import { B as BASE_URL, P as PAYMENT_PROVIDERS, c as DEFAULT_TAG_STYLE, f as formatAmount, d as formatCurrency,
|
|
14
|
+
import { B as BASE_URL, P as PAYMENT_PROVIDERS, c as DEFAULT_TAG_STYLE, f as formatAmount, d as formatCurrency, e as getUniquePaymentProviders, h as buildDefaultTableColumns, 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, j as DASHBOARD_KIND } from './index-ER2sofJn.js';
|
|
15
15
|
import { Q as QUERY_KEYS } from './queryConstants-CqEabttJ.js';
|
|
16
16
|
import { t } from 'i18next';
|
|
17
17
|
import { toLabelAndValue, snakeToCamelCase, humanize, isNotPresent, isPresent, camelToSnakeCase } from '@bigbinary/neeto-cist';
|
package/dist/PayoutsDashboard.js
CHANGED
|
@@ -8,13 +8,13 @@ import SubHeader from '@bigbinary/neeto-molecules/SubHeader';
|
|
|
8
8
|
import Tab from '@bigbinary/neetoui/Tab';
|
|
9
9
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
10
10
|
import { useTranslation } from 'react-i18next';
|
|
11
|
-
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-
|
|
11
|
+
import { u as useExportData, b as buildDefaultPageProperties, a as buildPayload, c as buildRowData, w as withReactQuery } from './dashboard-D6ZJpJ3n.js';
|
|
12
12
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
13
13
|
import Download from '@bigbinary/neeto-icons/Download';
|
|
14
14
|
import Button from '@bigbinary/neetoui/Button';
|
|
15
15
|
import Modal from '@bigbinary/neetoui/Modal';
|
|
16
16
|
import { e as exportChannel } from './exportChannel-CViICC6x.js';
|
|
17
|
-
import { u as uuidV4, D as DEFAULT_SORT_PROPERTIES$1, S as SORT_DIRECTIONS } from './index-
|
|
17
|
+
import { u as uuidV4, D as DEFAULT_SORT_PROPERTIES$1, S as SORT_DIRECTIONS } from './index-ER2sofJn.js';
|
|
18
18
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
20
20
|
import { camelToSnakeCase, removeBy, snakeToCamelCase, isPresent } from '@bigbinary/neeto-cist';
|
|
@@ -22,7 +22,7 @@ import { buildUrl, getQueryParams } from '@bigbinary/neeto-commons-frontend/util
|
|
|
22
22
|
import { buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/utils';
|
|
23
23
|
import { curry, assoc, insert, mergeLeft } from 'ramda';
|
|
24
24
|
import { useHistory } from 'react-router-dom';
|
|
25
|
-
import { r as renderStatus, c as renderDate } from './renderFunctions-
|
|
25
|
+
import { r as renderStatus, c as renderDate } from './renderFunctions-COtuAmF9.js';
|
|
26
26
|
import { C as CopyButtonWrapper } from './CopyButtonWrapper-SoJkwX-d.js';
|
|
27
27
|
import { DEFAULT_PAGE_SIZE, DEFAULT_PAGE_INDEX } from '@bigbinary/neeto-commons-frontend/constants';
|
|
28
28
|
import { useHiddenColumns } from '@bigbinary/neeto-molecules/Columns';
|
|
@@ -30,8 +30,8 @@ import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
|
|
|
30
30
|
import Table from '@bigbinary/neetoui/Table';
|
|
31
31
|
import NoData from '@bigbinary/neetoui/NoData';
|
|
32
32
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
33
|
-
import { u as useFetchStripePayouts } from './useConnectApi-
|
|
34
|
-
import { u as useFetchStripePlatformPayouts } from './usePlatformApi-
|
|
33
|
+
import { u as useFetchStripePayouts } from './useConnectApi-BJyvgLXQ.js';
|
|
34
|
+
import { u as useFetchStripePlatformPayouts } from './usePlatformApi-D-E9w189.js';
|
|
35
35
|
import '@tanstack/react-query';
|
|
36
36
|
import '@tanstack/react-query-devtools';
|
|
37
37
|
import 'axios';
|
package/dist/PayoutsPage.js
CHANGED
|
@@ -4,12 +4,12 @@ import Spinner from '@bigbinary/neetoui/Spinner';
|
|
|
4
4
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { useParams } from 'react-router-dom/cjs/react-router-dom';
|
|
7
|
-
import { r as renderStatus, c as renderDate } from './renderFunctions-
|
|
8
|
-
import { a as useShowStripePayout } from './useConnectApi-
|
|
9
|
-
import { a as useShowStripePlatformPayout } from './usePlatformApi-
|
|
7
|
+
import { r as renderStatus, c as renderDate } from './renderFunctions-COtuAmF9.js';
|
|
8
|
+
import { a as useShowStripePayout } from './useConnectApi-BJyvgLXQ.js';
|
|
9
|
+
import { a as useShowStripePlatformPayout } from './usePlatformApi-D-E9w189.js';
|
|
10
10
|
import Button from '@bigbinary/neetoui/Button';
|
|
11
11
|
import { C as CopyButtonWrapper } from './CopyButtonWrapper-SoJkwX-d.js';
|
|
12
|
-
import {
|
|
12
|
+
import { k as buildStripePayoutLink } from './index-ER2sofJn.js';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
import 'i18next';
|
|
15
15
|
import '@bigbinary/neeto-molecules/DateFormat';
|
|
@@ -4,8 +4,8 @@ import { noop, findBy, isNotPresent } from '@bigbinary/neeto-cist';
|
|
|
4
4
|
import Button from '@bigbinary/neetoui/Button';
|
|
5
5
|
import { mergeDeepLeft } from 'ramda';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
|
-
import { u as useCreateRazorpayPayment } from './usePaymentApi-
|
|
8
|
-
import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from './index-
|
|
7
|
+
import { u as useCreateRazorpayPayment } from './usePaymentApi-DBEceBVs.js';
|
|
8
|
+
import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from './index-ER2sofJn.js';
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
import '@babel/runtime/helpers/defineProperty';
|
|
11
11
|
import '@tanstack/react-query';
|
|
@@ -13,7 +13,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
13
13
|
import { useQuery } from '@tanstack/react-query';
|
|
14
14
|
import { useMutationWithInvalidation } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
15
15
|
import axios from 'axios';
|
|
16
|
-
import { B as BASE_URL } from './index-
|
|
16
|
+
import { B as BASE_URL } from './index-ER2sofJn.js';
|
|
17
17
|
import { Q as QUERY_KEYS } from './queryConstants-CqEabttJ.js';
|
|
18
18
|
import { t } from 'i18next';
|
|
19
19
|
import * as yup from 'yup';
|
package/dist/RefundsDashboard.js
CHANGED
|
@@ -8,10 +8,10 @@ import { buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/utils';
|
|
|
8
8
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
9
9
|
import { map, curry, mergeDeepWith, concat, mergeLeft, reject, isNil, prop, isEmpty, modify } from 'ramda';
|
|
10
10
|
import { useHistory } from 'react-router-dom';
|
|
11
|
-
import { E as ExportModal } from './ExportModal-
|
|
11
|
+
import { E as ExportModal } from './ExportModal-DCGDM_Fa.js';
|
|
12
12
|
import { useQuery } from '@tanstack/react-query';
|
|
13
13
|
import axios from 'axios';
|
|
14
|
-
import { B as BASE_URL, P as PAYMENT_PROVIDERS, c as DEFAULT_TAG_STYLE, f as formatAmount, d as formatCurrency,
|
|
14
|
+
import { B as BASE_URL, P as PAYMENT_PROVIDERS, c as DEFAULT_TAG_STYLE, f as formatAmount, d as formatCurrency, h 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, j as DASHBOARD_KIND } from './index-ER2sofJn.js';
|
|
15
15
|
import { Q as QUERY_KEYS } from './queryConstants-CqEabttJ.js';
|
|
16
16
|
import { t } from 'i18next';
|
|
17
17
|
import { toLabelAndValue, snakeToCamelCase, humanize, isNotPresent, camelToSnakeCase, isPresent } from '@bigbinary/neeto-cist';
|
|
@@ -8,11 +8,11 @@ import { buildFiltersFromURL } from '@bigbinary/neeto-filters-frontend/utils';
|
|
|
8
8
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
9
9
|
import { mergeLeft, curry, mergeDeepWith, concat, reject, isNil, map, prop, sortBy, isEmpty, modify, pluck } from 'ramda';
|
|
10
10
|
import { useHistory } from 'react-router-dom';
|
|
11
|
-
import { E as ExportModal } from './ExportModal-
|
|
11
|
+
import { E as ExportModal } from './ExportModal-DCGDM_Fa.js';
|
|
12
12
|
import { useQuery } from '@tanstack/react-query';
|
|
13
13
|
import { useMutationWithInvalidation } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
14
14
|
import axios from 'axios';
|
|
15
|
-
import { B as BASE_URL,
|
|
15
|
+
import { B as BASE_URL, l as preProcessStatus, m as getTagStyle, f as formatAmount, d as formatCurrency, n as PAYMENT_KIND, p as processDataIndex, S as SORT_DIRECTIONS, D as DEFAULT_SORT_PROPERTIES, s as shouldTabsVisible, U as UN_HIDEABLE_COLUMNS, i as DEFAULT_PAGE_VALUES, j as DASHBOARD_KIND } from './index-ER2sofJn.js';
|
|
16
16
|
import { Q as QUERY_KEYS } from './queryConstants-CqEabttJ.js';
|
|
17
17
|
import Modal from '@bigbinary/neetoui/Modal';
|
|
18
18
|
import Typography from '@bigbinary/neetoui/Typography';
|
package/dist/StripeConnect.js
CHANGED
|
@@ -6,7 +6,7 @@ import { humanize, isPresent } from '@bigbinary/neeto-cist';
|
|
|
6
6
|
import { useQueryParams, withT, useStateWithDependency } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
7
7
|
import Demo from 'neetointegrations/Demo';
|
|
8
8
|
import IntegrationModal from 'neetointegrations/Modal';
|
|
9
|
-
import { b as useCreateStripeAccount, c as usePollingStripeAccountCreationStatus, d as useFetchConnectedStripeAccount, e as useDestroyStripeAccount, f as usePollingStripeAccount } from './useConnectApi-
|
|
9
|
+
import { b as useCreateStripeAccount, c as usePollingStripeAccountCreationStatus, d as useFetchConnectedStripeAccount, e as useDestroyStripeAccount, f as usePollingStripeAccount } from './useConnectApi-BJyvgLXQ.js';
|
|
10
10
|
import Label from '@bigbinary/neetoui/Label';
|
|
11
11
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
12
12
|
import { useTranslation, Trans } from 'react-i18next';
|
|
@@ -17,7 +17,7 @@ import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
|
17
17
|
import { useHistory } from 'react-router-dom';
|
|
18
18
|
import { useQuery } from '@tanstack/react-query';
|
|
19
19
|
import axios from 'axios';
|
|
20
|
-
import { B as BASE_URL } from './index-
|
|
20
|
+
import { B as BASE_URL } from './index-ER2sofJn.js';
|
|
21
21
|
import { Q as QUERY_KEYS } from './queryConstants-CqEabttJ.js';
|
|
22
22
|
import { t } from 'i18next';
|
|
23
23
|
import * as yup from 'yup';
|
package/dist/TaxesDashboard.js
CHANGED
|
@@ -15,7 +15,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
15
15
|
import { useQuery } from '@tanstack/react-query';
|
|
16
16
|
import { useMutationWithInvalidation } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
17
17
|
import axios from 'axios';
|
|
18
|
-
import { B as BASE_URL } from './index-
|
|
18
|
+
import { B as BASE_URL } from './index-ER2sofJn.js';
|
|
19
19
|
import { Q as QUERY_KEYS } from './queryConstants-CqEabttJ.js';
|
|
20
20
|
import Label from '@bigbinary/neetoui/Label';
|
|
21
21
|
import Typography from '@bigbinary/neetoui/Typography';
|
package/dist/UpiConnect.js
CHANGED
|
@@ -26,33 +26,31 @@ var Add = function Add(_ref) {
|
|
|
26
26
|
var _useTranslation = useTranslation(),
|
|
27
27
|
t = _useTranslation.t;
|
|
28
28
|
var history = useHistory();
|
|
29
|
-
return /*#__PURE__*/jsx(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
upiId: ""
|
|
34
|
-
},
|
|
35
|
-
onSubmit: handleCreateUpiId,
|
|
36
|
-
validationSchema: VALIDATION_SCHEMA
|
|
29
|
+
return /*#__PURE__*/jsx(Form, {
|
|
30
|
+
formikProps: {
|
|
31
|
+
initialValues: {
|
|
32
|
+
upiId: ""
|
|
37
33
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
label: t("neetoPayments.upi.form.add")
|
|
34
|
+
onSubmit: handleCreateUpiId,
|
|
35
|
+
validationSchema: VALIDATION_SCHEMA
|
|
36
|
+
},
|
|
37
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
38
|
+
className: "space-y-3",
|
|
39
|
+
children: [/*#__PURE__*/jsx(Input, {
|
|
40
|
+
className: "w-64",
|
|
41
|
+
label: t("neetoPayments.upi.form.enterUpi"),
|
|
42
|
+
name: "upiId",
|
|
43
|
+
placeholder: t("neetoPayments.upi.form.enterUpi")
|
|
44
|
+
}), /*#__PURE__*/jsx(ActionBlock, {
|
|
45
|
+
cancelButtonProps: {
|
|
46
|
+
onClick: function onClick() {
|
|
47
|
+
return history.goBack();
|
|
53
48
|
}
|
|
54
|
-
}
|
|
55
|
-
|
|
49
|
+
},
|
|
50
|
+
submitButtonProps: {
|
|
51
|
+
label: t("neetoPayments.upi.form.add")
|
|
52
|
+
}
|
|
53
|
+
})]
|
|
56
54
|
})
|
|
57
55
|
});
|
|
58
56
|
};
|
package/dist/UpiConnect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpiConnect.js","sources":["../app/javascript/src/components/UpiConnect/constants.js","../app/javascript/src/components/UpiConnect/Add.jsx","../app/javascript/src/components/UpiConnect/utils.jsx","../app/javascript/src/components/UpiConnect/List.jsx","../app/javascript/src/components/UpiConnect/index.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as Yup from \"yup\";\n\nexport const VALIDATION_SCHEMA = Yup.object({\n upiId: Yup.string()\n .matches(\n /^[a-zA-Z0-9.-]{2,256}@[a-zA-Z][a-zA-Z]{2,64}$/,\n t(\"neetoPayments.upi.form.validation.invalidUpi\")\n )\n .required(t(\"neetoPayments.upi.form.validation.required\")),\n});\n","import { ActionBlock, Form, Input } from \"neetoui/formik\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { VALIDATION_SCHEMA } from \"./constants\";\n\nconst Add = ({ handleCreateUpiId }) => {\n const { t } = useTranslation();\n\n const history = useHistory();\n\n return (\n <div>\n <Form\n formikProps={{\n initialValues: { upiId: \"\" },\n onSubmit: handleCreateUpiId,\n validationSchema: VALIDATION_SCHEMA,\n }}\n >\n <div className=\"space-y-3\">\n <Input\n className=\"w-64\"\n label={t(\"neetoPayments.upi.form.enterUpi\")}\n name=\"upiId\"\n placeholder={t(\"neetoPayments.upi.form.enterUpi\")}\n />\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n submitButtonProps={{ label: t(\"neetoPayments.upi.form.add\") }}\n />\n </div>\n </Form>\n </div>\n );\n};\n\nexport default Add;\n","import { t } from \"i18next\";\nimport { dateFormat } from \"neetocommons/utils\";\nimport MoreDropdown from \"neetomolecules/MoreDropdown\";\nimport { Typography } from \"neetoui\";\n\nexport const getColumnData = handleDeleteClick => [\n {\n title: t(\"neetoPayments.common.upiId\"),\n dataIndex: \"address\",\n key: \"address\",\n width: 272,\n render: (_, upiId) => (\n <div className=\"flex items-center justify-between gap-3\">\n <Typography className=\"w-4/5\" style=\"body2\">\n {upiId.address}\n </Typography>\n <MoreDropdown\n dropdownProps={{ strategy: \"fixed\" }}\n menuItems={[\n {\n key: \"delete-meeting\",\n label: t(\"neetoPayments.common.delete\"),\n onClick: () => handleDeleteClick(upiId),\n },\n ]}\n />\n </div>\n ),\n },\n {\n title: t(\"neetoPayments.common.createdAt\"),\n dataIndex: \"createdAt\",\n key: \"createdAt\",\n render: dateFormat.dateTime,\n },\n];\n","import { useState } from \"react\";\n\nimport { Alert, Table } from \"neetoui\";\nimport { isEmpty } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nimport { getColumnData } from \"./utils\";\n\nconst List = ({ handleDeleteUpiId, upiIds }) => {\n const { t } = useTranslation();\n\n const [isAlertOpen, setIsAlertOpen] = useState(false);\n const [selectedUpiId, setSelectedUpiId] = useState({});\n\n const handleOpenDeleteModal = id => {\n setSelectedUpiId(id);\n setIsAlertOpen(true);\n };\n\n const handleAlertClose = () => {\n setSelectedUpiId({});\n setIsAlertOpen(false);\n };\n\n const handleAlertSubmit = () => {\n handleDeleteUpiId(selectedUpiId);\n setIsAlertOpen(false);\n };\n\n if (isEmpty(upiIds)) {\n return null;\n }\n\n return (\n <>\n <Table\n columnData={getColumnData(handleOpenDeleteModal)}\n rowData={upiIds}\n />\n <Alert\n isOpen={isAlertOpen}\n title={t(\"neetoPayments.upi.alert.title\")}\n message={\n <Trans\n components={{ b: <strong /> }}\n i18nKey=\"neetoPayments.upi.alert.message\"\n values={{ upiId: selectedUpiId.address }}\n />\n }\n onClose={handleAlertClose}\n onSubmit={handleAlertSubmit}\n />\n </>\n );\n};\n\nexport default List;\n","import { noop } from \"neetocist\";\nimport { Spinner } from \"neetoui\";\n\nimport Add from \"./Add\";\nimport List from \"./List\";\n\nconst UpiConnect = ({\n upiIds = [],\n isLoading = false,\n isDeleting = false,\n handleDeleteUpiId = noop,\n handleCreateUpiId = noop,\n}) => {\n if (isLoading) return <Spinner />;\n\n return (\n <div className=\"flex w-full max-w-3xl flex-col items-start space-y-6\">\n <Add {...{ handleCreateUpiId }} />\n <List {...{ handleDeleteUpiId, isDeleting, upiIds }} />\n </div>\n );\n};\n\nexport default UpiConnect;\n"],"names":["VALIDATION_SCHEMA","Yup","object","upiId","string","matches","t","required","Add","_ref","handleCreateUpiId","_useTranslation","useTranslation","history","useHistory","_jsx","children","Form","formikProps","initialValues","onSubmit","validationSchema","_jsxs","className","Input","label","name","placeholder","ActionBlock","cancelButtonProps","onClick","goBack","submitButtonProps","getColumnData","handleDeleteClick","title","dataIndex","key","width","render","_","Typography","style","address","MoreDropdown","dropdownProps","strategy","menuItems","dateFormat","dateTime","List","handleDeleteUpiId","upiIds","_useState","useState","_useState2","_slicedToArray","isAlertOpen","setIsAlertOpen","_useState3","_useState4","selectedUpiId","setSelectedUpiId","handleOpenDeleteModal","id","handleAlertClose","handleAlertSubmit","isEmpty","_Fragment","Table","columnData","rowData","Alert","isOpen","message","Trans","components","b","i18nKey","values","onClose","UpiConnect","_ref$upiIds","_ref$isLoading","isLoading","_ref$isDeleting","isDeleting","_ref$handleDeleteUpiI","noop","_ref$handleCreateUpiI","Spinner"],"mappings":";;;;;;;;;;;;;;;;;;;AAGO,IAAMA,iBAAiB,GAAGC,GAAG,CAACC,MAAM,CAAC;EAC1CC,KAAK,EAAEF,GAAG,CAACG,MAAM,EAAE,CAChBC,OAAO,CACN,+CAA+C,EAC/CC,CAAC,CAAC,8CAA8C,CAClD,CAAC,CACAC,QAAQ,CAACD,CAAC,CAAC,4CAA4C,CAAC;AAC7D,CAAC,CAAC;;ACJF,IAAME,GAAG,GAAG,SAANA,GAAGA,CAAAC,IAAA,EAA8B;AAAA,EAAA,IAAxBC,iBAAiB,GAAAD,IAAA,CAAjBC,iBAAiB;AAC9B,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBN,CAAC,GAAAK,eAAA,CAADL,CAAC;AAET,EAAA,IAAMO,OAAO,GAAGC,UAAU,EAAE;AAE5B,EAAA,oBACEC,GAAA,CAAA,KAAA,EAAA;IAAAC,QAAA,eACED,GAAA,CAACE,IAAI,EAAA;AACHC,MAAAA,WAAW,EAAE;AACXC,QAAAA,aAAa,EAAE;AAAEhB,UAAAA,KAAK,EAAE;SAAI;AAC5BiB,QAAAA,QAAQ,EAAEV,iBAAiB;AAC3BW,QAAAA,gBAAgB,EAAErB;OAClB;AAAAgB,MAAAA,QAAA,eAEFM,IAAA,CAAA,KAAA,EAAA;AAAKC,QAAAA,SAAS,EAAC,WAAW;QAAAP,QAAA,EAAA,cACxBD,GAAA,CAACS,KAAK,EAAA;AACJD,UAAAA,SAAS,EAAC,MAAM;AAChBE,UAAAA,KAAK,EAAEnB,CAAC,CAAC,iCAAiC,CAAE;AAC5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,CACjB6E,UAAU;AAAVA,IAAAA,UAAU,GAAAD,eAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,eAAA;IAAAE,qBAAA,GAAA9E,IAAA,CAClB0C,iBAAiB;AAAjBA,IAAAA,iBAAiB,GAAAoC,qBAAA,KAAGC,KAAAA,CAAAA,GAAAA,IAAI,GAAAD,qBAAA;IAAAE,qBAAA,GAAAhF,IAAA,CACxBC,iBAAiB;AAAjBA,IAAAA,iBAAiB,GAAA+E,qBAAA,KAAGD,KAAAA,CAAAA,GAAAA,IAAI,GAAAC,qBAAA;AAExB,EAAA,IAAIL,SAAS,EAAE,oBAAOrE,GAAA,CAAC2E,OAAO,IAAE,CAAC;AAEjC,EAAA,oBACEpE,IAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,sDAAsD;IAAAP,QAAA,EAAA,cACnED,GAAA,CAACP,GAAG,EAAA;AAAOE,MAAAA,iBAAiB,EAAjBA;AAAiB,KAAK,CAAC,eAClCK,GAAA,CAACmC,IAAI,EAAA;AAAOC,MAAAA,iBAAiB,EAAjBA,iBAAiB;AAAEmC,MAAAA,UAAU,EAAVA,UAAU;AAAElC,MAAAA,MAAM,EAANA;AAAM,KAAK,CAAC;AAAA,GACpD,CAAC;AAEV;;;;"}
|
|
1
|
+
{"version":3,"file":"UpiConnect.js","sources":["../app/javascript/src/components/UpiConnect/constants.js","../app/javascript/src/components/UpiConnect/Add.jsx","../app/javascript/src/components/UpiConnect/utils.jsx","../app/javascript/src/components/UpiConnect/List.jsx","../app/javascript/src/components/UpiConnect/index.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as Yup from \"yup\";\n\nexport const VALIDATION_SCHEMA = Yup.object({\n upiId: Yup.string()\n .matches(\n /^[a-zA-Z0-9.-]{2,256}@[a-zA-Z][a-zA-Z]{2,64}$/,\n t(\"neetoPayments.upi.form.validation.invalidUpi\")\n )\n .required(t(\"neetoPayments.upi.form.validation.required\")),\n});\n","import { ActionBlock, Form, Input } from \"neetoui/formik\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { VALIDATION_SCHEMA } from \"./constants\";\n\nconst Add = ({ handleCreateUpiId }) => {\n const { t } = useTranslation();\n\n const history = useHistory();\n\n return (\n <Form\n formikProps={{\n initialValues: { upiId: \"\" },\n onSubmit: handleCreateUpiId,\n validationSchema: VALIDATION_SCHEMA,\n }}\n >\n <div className=\"space-y-3\">\n <Input\n className=\"w-64\"\n label={t(\"neetoPayments.upi.form.enterUpi\")}\n name=\"upiId\"\n placeholder={t(\"neetoPayments.upi.form.enterUpi\")}\n />\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n submitButtonProps={{ label: t(\"neetoPayments.upi.form.add\") }}\n />\n </div>\n </Form>\n );\n};\n\nexport default Add;\n","import { t } from \"i18next\";\nimport { dateFormat } from \"neetocommons/utils\";\nimport MoreDropdown from \"neetomolecules/MoreDropdown\";\nimport { Typography } from \"neetoui\";\n\nexport const getColumnData = handleDeleteClick => [\n {\n title: t(\"neetoPayments.common.upiId\"),\n dataIndex: \"address\",\n key: \"address\",\n width: 272,\n render: (_, upiId) => (\n <div className=\"flex items-center justify-between gap-3\">\n <Typography className=\"w-4/5\" style=\"body2\">\n {upiId.address}\n </Typography>\n <MoreDropdown\n dropdownProps={{ strategy: \"fixed\" }}\n menuItems={[\n {\n key: \"delete-meeting\",\n label: t(\"neetoPayments.common.delete\"),\n onClick: () => handleDeleteClick(upiId),\n },\n ]}\n />\n </div>\n ),\n },\n {\n title: t(\"neetoPayments.common.createdAt\"),\n dataIndex: \"createdAt\",\n key: \"createdAt\",\n render: dateFormat.dateTime,\n },\n];\n","import { useState } from \"react\";\n\nimport { Alert, Table } from \"neetoui\";\nimport { isEmpty } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nimport { getColumnData } from \"./utils\";\n\nconst List = ({ handleDeleteUpiId, upiIds }) => {\n const { t } = useTranslation();\n\n const [isAlertOpen, setIsAlertOpen] = useState(false);\n const [selectedUpiId, setSelectedUpiId] = useState({});\n\n const handleOpenDeleteModal = id => {\n setSelectedUpiId(id);\n setIsAlertOpen(true);\n };\n\n const handleAlertClose = () => {\n setSelectedUpiId({});\n setIsAlertOpen(false);\n };\n\n const handleAlertSubmit = () => {\n handleDeleteUpiId(selectedUpiId);\n setIsAlertOpen(false);\n };\n\n if (isEmpty(upiIds)) {\n return null;\n }\n\n return (\n <>\n <Table\n columnData={getColumnData(handleOpenDeleteModal)}\n rowData={upiIds}\n />\n <Alert\n isOpen={isAlertOpen}\n title={t(\"neetoPayments.upi.alert.title\")}\n message={\n <Trans\n components={{ b: <strong /> }}\n i18nKey=\"neetoPayments.upi.alert.message\"\n values={{ upiId: selectedUpiId.address }}\n />\n }\n onClose={handleAlertClose}\n onSubmit={handleAlertSubmit}\n />\n </>\n );\n};\n\nexport default List;\n","import { noop } from \"neetocist\";\nimport { Spinner } from \"neetoui\";\n\nimport Add from \"./Add\";\nimport List from \"./List\";\n\nconst UpiConnect = ({\n upiIds = [],\n isLoading = false,\n isDeleting = false,\n handleDeleteUpiId = noop,\n handleCreateUpiId = noop,\n}) => {\n if (isLoading) return <Spinner />;\n\n return (\n <div className=\"flex w-full max-w-3xl flex-col items-start space-y-6\">\n <Add {...{ handleCreateUpiId }} />\n <List {...{ handleDeleteUpiId, isDeleting, upiIds }} />\n </div>\n );\n};\n\nexport default UpiConnect;\n"],"names":["VALIDATION_SCHEMA","Yup","object","upiId","string","matches","t","required","Add","_ref","handleCreateUpiId","_useTranslation","useTranslation","history","useHistory","_jsx","Form","formikProps","initialValues","onSubmit","validationSchema","children","_jsxs","className","Input","label","name","placeholder","ActionBlock","cancelButtonProps","onClick","goBack","submitButtonProps","getColumnData","handleDeleteClick","title","dataIndex","key","width","render","_","Typography","style","address","MoreDropdown","dropdownProps","strategy","menuItems","dateFormat","dateTime","List","handleDeleteUpiId","upiIds","_useState","useState","_useState2","_slicedToArray","isAlertOpen","setIsAlertOpen","_useState3","_useState4","selectedUpiId","setSelectedUpiId","handleOpenDeleteModal","id","handleAlertClose","handleAlertSubmit","isEmpty","_Fragment","Table","columnData","rowData","Alert","isOpen","message","Trans","components","b","i18nKey","values","onClose","UpiConnect","_ref$upiIds","_ref$isLoading","isLoading","_ref$isDeleting","isDeleting","_ref$handleDeleteUpiI","noop","_ref$handleCreateUpiI","Spinner"],"mappings":";;;;;;;;;;;;;;;;;;;AAGO,IAAMA,iBAAiB,GAAGC,GAAG,CAACC,MAAM,CAAC;EAC1CC,KAAK,EAAEF,GAAG,CAACG,MAAM,EAAE,CAChBC,OAAO,CACN,+CAA+C,EAC/CC,CAAC,CAAC,8CAA8C,CAClD,CAAC,CACAC,QAAQ,CAACD,CAAC,CAAC,4CAA4C,CAAC;AAC7D,CAAC,CAAC;;ACJF,IAAME,GAAG,GAAG,SAANA,GAAGA,CAAAC,IAAA,EAA8B;AAAA,EAAA,IAAxBC,iBAAiB,GAAAD,IAAA,CAAjBC,iBAAiB;AAC9B,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBN,CAAC,GAAAK,eAAA,CAADL,CAAC;AAET,EAAA,IAAMO,OAAO,GAAGC,UAAU,EAAE;EAE5B,oBACEC,GAAA,CAACC,IAAI,EAAA;AACHC,IAAAA,WAAW,EAAE;AACXC,MAAAA,aAAa,EAAE;AAAEf,QAAAA,KAAK,EAAE;OAAI;AAC5BgB,MAAAA,QAAQ,EAAET,iBAAiB;AAC3BU,MAAAA,gBAAgB,EAAEpB;KAClB;AAAAqB,IAAAA,QAAA,eAEFC,IAAA,CAAA,KAAA,EAAA;AAAKC,MAAAA,SAAS,EAAC,WAAW;MAAAF,QAAA,EAAA,cACxBN,GAAA,CAACS,KAAK,EAAA;AACJD,QAAAA,SAAS,EAAC,MAAM;AAChBE,QAAAA,KAAK,EAAEnB,CAAC,CAAC,iCAAiC,CAAE;AAC5CoB,QAAAA,IAAI,EAAC,OAAO;QACZC,WAAW,EAAErB,CAA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AA,CAAA,GAAA,KAAK,GAAAA,eAAA;IAAAE,qBAAA,GAAA9E,IAAA,CAClB0C,iBAAiB;AAAjBA,IAAAA,iBAAiB,GAAAoC,qBAAA,KAAGC,KAAAA,CAAAA,GAAAA,IAAI,GAAAD,qBAAA;IAAAE,qBAAA,GAAAhF,IAAA,CACxBC,iBAAiB;AAAjBA,IAAAA,iBAAiB,GAAA+E,qBAAA,KAAGD,KAAAA,CAAAA,GAAAA,IAAI,GAAAC,qBAAA;AAExB,EAAA,IAAIL,SAAS,EAAE,oBAAOrE,GAAA,CAAC2E,OAAO,IAAE,CAAC;AAEjC,EAAA,oBACEpE,IAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,sDAAsD;IAAAF,QAAA,EAAA,cACnEN,GAAA,CAACP,GAAG,EAAA;AAAOE,MAAAA,iBAAiB,EAAjBA;AAAiB,KAAK,CAAC,eAClCK,GAAA,CAACmC,IAAI,EAAA;AAAOC,MAAAA,iBAAiB,EAAjBA,iBAAiB;AAAEmC,MAAAA,UAAU,EAAVA,UAAU;AAAElC,MAAAA,MAAM,EAANA;AAAM,KAAK,CAAC;AAAA,GACpD,CAAC;AAEV;;;;"}
|
package/dist/UpiPayment.js
CHANGED
|
@@ -7,13 +7,13 @@ import Input from '@bigbinary/neetoui/formik/Input';
|
|
|
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 './usePaymentsApi-
|
|
10
|
+
import { a as useCreateUpiPayment } from './usePaymentsApi-K6rhWzss.js';
|
|
11
11
|
import { t } from 'i18next';
|
|
12
12
|
import * as yup from 'yup';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
15
|
import 'axios';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-ER2sofJn.js';
|
|
17
17
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
18
18
|
import '@bigbinary/neeto-commons-frontend/utils';
|
|
19
19
|
|
|
@@ -55,63 +55,61 @@ var UpiPayment = function UpiPayment(_ref) {
|
|
|
55
55
|
});
|
|
56
56
|
createPayment(payload);
|
|
57
57
|
};
|
|
58
|
-
return /*#__PURE__*/jsx(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
identifier: ""
|
|
65
|
-
},
|
|
66
|
-
validationSchema: VALIDATION_SCHEMA
|
|
58
|
+
return /*#__PURE__*/jsx(Form, {
|
|
59
|
+
className: "space-y-4",
|
|
60
|
+
formikProps: {
|
|
61
|
+
onSubmit: handleSubmit,
|
|
62
|
+
initialValues: {
|
|
63
|
+
identifier: ""
|
|
67
64
|
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
65
|
+
validationSchema: VALIDATION_SCHEMA
|
|
66
|
+
},
|
|
67
|
+
children: function children(_ref2) {
|
|
68
|
+
var dirty = _ref2.dirty;
|
|
69
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
70
|
+
children: [/*#__PURE__*/jsx(Typography, {
|
|
71
|
+
style: "body1",
|
|
72
|
+
children: t("neetoPayments.upi.payment.vpaText", {
|
|
73
|
+
count: vpaIds.length
|
|
74
|
+
})
|
|
75
|
+
}), isPresent(vpaIds) && /*#__PURE__*/jsx("div", {
|
|
76
|
+
className: "grid grid-cols-1 gap-8 gap-y-4 sm:grid-cols-2",
|
|
77
|
+
children: vpaIds.map(function (vpaId) {
|
|
78
|
+
return /*#__PURE__*/jsxs("div", {
|
|
79
|
+
className: "flex flex-col items-center justify-center",
|
|
80
|
+
children: [/*#__PURE__*/jsx(QRCodeImage, {
|
|
81
|
+
size: 256,
|
|
82
|
+
style: {
|
|
83
|
+
width: 80,
|
|
84
|
+
height: 80
|
|
85
|
+
},
|
|
86
|
+
value: vpaIdToQrCodeValue(vpaId)
|
|
87
|
+
}), /*#__PURE__*/jsx(Typography, {
|
|
88
|
+
className: "mt-2 w-full break-words text-center",
|
|
89
|
+
style: "body2",
|
|
90
|
+
children: vpaId
|
|
91
|
+
})]
|
|
92
|
+
}, vpaId);
|
|
93
|
+
})
|
|
94
|
+
}), /*#__PURE__*/jsx(Input, {
|
|
95
|
+
required: true,
|
|
96
|
+
label: t("neetoPayments.upi.payment.transaction.label"),
|
|
97
|
+
name: "identifier",
|
|
98
|
+
placeholder: t("neetoPayments.upi.payment.transaction.placeholder")
|
|
99
|
+
}), /*#__PURE__*/jsx(ActionBlock, {
|
|
100
|
+
cancelButtonProps: {
|
|
101
|
+
label: t("neetoPayments.upi.payment.buttons.back"),
|
|
102
|
+
onClick: handleCancel,
|
|
103
|
+
disabled: isPending
|
|
104
|
+
},
|
|
105
|
+
submitButtonProps: {
|
|
106
|
+
label: t("neetoPayments.upi.payment.buttons.submit"),
|
|
107
|
+
disabled: !dirty || isPending,
|
|
108
|
+
loading: isPending
|
|
109
|
+
}
|
|
110
|
+
})]
|
|
111
|
+
});
|
|
112
|
+
}
|
|
115
113
|
});
|
|
116
114
|
};
|
|
117
115
|
|
package/dist/UpiPayment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpiPayment.js","sources":["../app/javascript/src/components/UpiPayment/constants.js","../app/javascript/src/components/UpiPayment/utils.js","../app/javascript/src/components/UpiPayment/index.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const VALIDATION_SCHEMA = yup.object({\n identifier: yup\n .string()\n .required(t(\"neetoPayments.upi.payment.transaction.required\"))\n .min(6, t(\"neetoPayments.upi.payment.transaction.sixCharacters\"))\n .max(6, t(\"neetoPayments.upi.payment.transaction.sixCharacters\")),\n});\n","export const vpaIdToQrCodeValue = vpaId => `upi://pay?pa=${vpaId}`;\n","import { noop, isPresent } from \"neetocist\";\nimport { Typography } from \"neetoui\";\nimport { ActionBlock, Form, Input } from \"neetoui/formik\";\nimport QRCodeImage from \"qrcode.react\";\nimport { pluck } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useCreateUpiPayment } from \"hooks/reactQuery/upi/usePaymentsApi\";\n\nimport { VALIDATION_SCHEMA } from \"./constants\";\nimport { vpaIdToQrCodeValue } from \"./utils\";\n\nconst UpiPayment = ({\n fee,\n payableId,\n discountCode,\n handleCancel,\n onBeforePayment = noop,\n onFailedPayment = noop,\n onSuccessfulPayment = noop,\n}) => {\n const { t } = useTranslation();\n\n const vpaIds = pluck(\"address\", fee?.vpas);\n\n const { isPending, mutate: createPayment } = useCreateUpiPayment({\n onSuccess: onSuccessfulPayment,\n onError: onFailedPayment,\n });\n\n const handleSubmit = values => {\n onBeforePayment();\n const payload = { ...values, payableId, discountCode };\n createPayment(payload);\n };\n\n return (\n <
|
|
1
|
+
{"version":3,"file":"UpiPayment.js","sources":["../app/javascript/src/components/UpiPayment/constants.js","../app/javascript/src/components/UpiPayment/utils.js","../app/javascript/src/components/UpiPayment/index.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const VALIDATION_SCHEMA = yup.object({\n identifier: yup\n .string()\n .required(t(\"neetoPayments.upi.payment.transaction.required\"))\n .min(6, t(\"neetoPayments.upi.payment.transaction.sixCharacters\"))\n .max(6, t(\"neetoPayments.upi.payment.transaction.sixCharacters\")),\n});\n","export const vpaIdToQrCodeValue = vpaId => `upi://pay?pa=${vpaId}`;\n","import { noop, isPresent } from \"neetocist\";\nimport { Typography } from \"neetoui\";\nimport { ActionBlock, Form, Input } from \"neetoui/formik\";\nimport QRCodeImage from \"qrcode.react\";\nimport { pluck } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useCreateUpiPayment } from \"hooks/reactQuery/upi/usePaymentsApi\";\n\nimport { VALIDATION_SCHEMA } from \"./constants\";\nimport { vpaIdToQrCodeValue } from \"./utils\";\n\nconst UpiPayment = ({\n fee,\n payableId,\n discountCode,\n handleCancel,\n onBeforePayment = noop,\n onFailedPayment = noop,\n onSuccessfulPayment = noop,\n}) => {\n const { t } = useTranslation();\n\n const vpaIds = pluck(\"address\", fee?.vpas);\n\n const { isPending, mutate: createPayment } = useCreateUpiPayment({\n onSuccess: onSuccessfulPayment,\n onError: onFailedPayment,\n });\n\n const handleSubmit = values => {\n onBeforePayment();\n const payload = { ...values, payableId, discountCode };\n createPayment(payload);\n };\n\n return (\n <Form\n className=\"space-y-4\"\n formikProps={{\n onSubmit: handleSubmit,\n initialValues: { identifier: \"\" },\n validationSchema: VALIDATION_SCHEMA,\n }}\n >\n {({ dirty }) => (\n <>\n <Typography style=\"body1\">\n {t(\"neetoPayments.upi.payment.vpaText\", { count: vpaIds.length })}\n </Typography>\n {isPresent(vpaIds) && (\n <div className=\"grid grid-cols-1 gap-8 gap-y-4 sm:grid-cols-2\">\n {vpaIds.map(vpaId => (\n <div\n className=\"flex flex-col items-center justify-center\"\n key={vpaId}\n >\n <QRCodeImage\n size={256}\n style={{ width: 80, height: 80 }}\n value={vpaIdToQrCodeValue(vpaId)}\n />\n <Typography\n className=\"mt-2 w-full break-words text-center\"\n style=\"body2\"\n >\n {vpaId}\n </Typography>\n </div>\n ))}\n </div>\n )}\n <Input\n required\n label={t(\"neetoPayments.upi.payment.transaction.label\")}\n name=\"identifier\"\n placeholder={t(\"neetoPayments.upi.payment.transaction.placeholder\")}\n />\n <ActionBlock\n cancelButtonProps={{\n label: t(\"neetoPayments.upi.payment.buttons.back\"),\n onClick: handleCancel,\n disabled: isPending,\n }}\n submitButtonProps={{\n label: t(\"neetoPayments.upi.payment.buttons.submit\"),\n disabled: !dirty || isPending,\n loading: isPending,\n }}\n />\n </>\n )}\n </Form>\n );\n};\n\nexport default UpiPayment;\n"],"names":["VALIDATION_SCHEMA","yup","object","identifier","string","required","t","min","max","vpaIdToQrCodeValue","vpaId","concat","UpiPayment","_ref","fee","payableId","discountCode","handleCancel","_ref$onBeforePayment","onBeforePayment","noop","_ref$onFailedPayment","onFailedPayment","_ref$onSuccessfulPaym","onSuccessfulPayment","_useTranslation","useTranslation","vpaIds","pluck","vpas","_useCreateUpiPayment","useCreateUpiPayment","onSuccess","onError","isPending","createPayment","mutate","handleSubmit","values","payload","_objectSpread","_jsx","Form","className","formikProps","onSubmit","initialValues","validationSchema","children","_ref2","dirty","_jsxs","_Fragment","Typography","style","count","length","isPresent","map","QRCodeImage","size","width","height","value","Input","label","name","placeholder","ActionBlock","cancelButtonProps","onClick","disabled","submitButtonProps","loading"],"mappings":";;;;;;;;;;;;;;;;;;;AAGO,IAAMA,iBAAiB,GAAGC,GAAG,CAACC,MAAM,CAAC;AAC1CC,EAAAA,UAAU,EAAEF,GAAG,CACZG,MAAM,EAAE,CACRC,QAAQ,CAACC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAC7DC,GAAG,CAAC,CAAC,EAAED,CAAC,CAAC,qDAAqD,CAAC,CAAC,CAChEE,GAAG,CAAC,CAAC,EAAEF,CAAC,CAAC,qDAAqD,CAAC;AACpE,CAAC,CAAC;;ACTK,IAAMG,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAGC,KAAK,E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,CAACC,KAAK;AAAE,eAClC,CAAC,eACF+B,GAAA,CAACY,UAAU,EAAA;AACTV,gBAAAA,SAAS,EAAC,qCAAqC;AAC/CW,gBAAAA,KAAK,EAAC,OAAO;AAAAN,gBAAAA,QAAA,EAEZtC;AAAK,eACI,CAAC;AAAA,aAAA,EAZRA,KAaF,CAAC;WACP;AAAC,SACC,CACN,eACD+B,GAAA,CAACuB,KAAK,EAAA;UACJ3D,QAAQ,EAAA,IAAA;AACR4D,UAAAA,KAAK,EAAE3D,CAAC,CAAC,6CAA6C,CAAE;AACxD4D,UAAAA,IAAI,EAAC,YAAY;UACjBC,WAAW,EAAE7D,CAAC,CAAC,mDAAmD;AAAE,SACrE,CAAC,eACFmC,GAAA,CAAC2B,WAAW,EAAA;AACVC,UAAAA,iBAAiB,EAAE;AACjBJ,YAAAA,KAAK,EAAE3D,CAAC,CAAC,wCAAwC,CAAC;AAClDgE,YAAAA,OAAO,EAAErD,YAAY;AACrBsD,YAAAA,QAAQ,EAAErC;WACV;AACFsC,UAAAA,iBAAiB,EAAE;AACjBP,YAAAA,KAAK,EAAE3D,CAAC,CAAC,0CAA0C,CAAC;AACpDiE,YAAAA,QAAQ,EAAE,CAACrB,KAAK,IAAIhB,SAAS;AAC7BuC,YAAAA,OAAO,EAAEvC;AACX;AAAE,SACH,CAAC;AAAA,OACF,CAAC;AAAA;AACJ,GACG,CAAC;AAEX;;;;"}
|
|
@@ -11,20 +11,20 @@ var SubHeader = require('@bigbinary/neeto-molecules/SubHeader');
|
|
|
11
11
|
var Tab = require('@bigbinary/neetoui/Tab');
|
|
12
12
|
var Typography = require('@bigbinary/neetoui/Typography');
|
|
13
13
|
var reactI18next = require('react-i18next');
|
|
14
|
-
var dashboard = require('./dashboard-
|
|
14
|
+
var dashboard = require('./dashboard-H1ov-J3v.js');
|
|
15
15
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
16
16
|
var Download = require('@bigbinary/neeto-icons/Download');
|
|
17
17
|
var Button = require('@bigbinary/neetoui/Button');
|
|
18
18
|
var Modal = require('@bigbinary/neetoui/Modal');
|
|
19
19
|
var exportChannel = require('./exportChannel-BsZ3fusx.js');
|
|
20
|
-
var constants = require('./index-
|
|
20
|
+
var constants = require('./index-BYewZJN8.js');
|
|
21
21
|
var jsxRuntime = require('react/jsx-runtime');
|
|
22
22
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
23
23
|
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
24
24
|
var utils$1 = require('@bigbinary/neeto-filters-frontend/utils');
|
|
25
25
|
var ramda = require('ramda');
|
|
26
26
|
var reactRouterDom = require('react-router-dom');
|
|
27
|
-
var renderFunctions = require('./renderFunctions-
|
|
27
|
+
var renderFunctions = require('./renderFunctions-DWGcZwCb.js');
|
|
28
28
|
var CopyButtonWrapper = require('./CopyButtonWrapper-Ds1k64E0.js');
|
|
29
29
|
var constants$1 = require('@bigbinary/neeto-commons-frontend/constants');
|
|
30
30
|
var Columns = require('@bigbinary/neeto-molecules/Columns');
|