@bigbinary/neeto-payments-frontend 2.2.0 → 2.2.2
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/app/javascript/src/translations/en.json +11 -2
- package/dist/AccountsDashboard.js +368 -302
- package/dist/AccountsDashboard.js.map +1 -1
- package/dist/CopyButtonWrapper-54c5e270.js +27 -0
- package/dist/CopyButtonWrapper-54c5e270.js.map +1 -0
- package/dist/Dashboard.js +532 -440
- package/dist/Dashboard.js.map +1 -1
- package/dist/ExportModal-e95e0af1.js +694 -0
- package/dist/ExportModal-e95e0af1.js.map +1 -0
- package/dist/IdentifierButton-350fcc55.js +19 -0
- package/dist/IdentifierButton-350fcc55.js.map +1 -0
- package/dist/PaymentKindRestrictionAlert.js +18 -12
- package/dist/PaymentKindRestrictionAlert.js.map +1 -1
- package/dist/PaymentsDashboard.js +474 -0
- package/dist/PaymentsDashboard.js.map +1 -0
- package/dist/PayoutsDashboard.js +373 -315
- package/dist/PayoutsDashboard.js.map +1 -1
- package/dist/PayoutsPage.js +136 -112
- package/dist/PayoutsPage.js.map +1 -1
- package/dist/RazorpayDashboard.js +184 -172
- package/dist/RazorpayDashboard.js.map +1 -1
- package/dist/RazorpayPaymentButton.js +92 -66
- package/dist/RazorpayPaymentButton.js.map +1 -1
- package/dist/StripeConnect.js +359 -318
- package/dist/StripeConnect.js.map +1 -1
- package/dist/UpiConnect.js +128 -106
- package/dist/UpiConnect.js.map +1 -1
- package/dist/UpiMarkAsPaidButton.js +22 -21
- package/dist/UpiMarkAsPaidButton.js.map +1 -1
- package/dist/UpiPayment.js +75 -63
- package/dist/UpiPayment.js.map +1 -1
- package/dist/V2PaymentsDashboard.js +185 -176
- package/dist/V2PaymentsDashboard.js.map +1 -1
- package/dist/_commonjsHelpers-ae89b920.js +6 -0
- package/dist/_commonjsHelpers-ae89b920.js.map +1 -0
- package/dist/buildStripeTransactionLink.js +2 -2
- package/dist/cjs/AccountsDashboard.js +369 -303
- package/dist/cjs/AccountsDashboard.js.map +1 -1
- package/dist/cjs/CopyButtonWrapper-57331e1c.js +34 -0
- package/dist/cjs/CopyButtonWrapper-57331e1c.js.map +1 -0
- package/dist/cjs/Dashboard.js +533 -441
- package/dist/cjs/Dashboard.js.map +1 -1
- package/dist/cjs/ExportModal-730a91b8.js +718 -0
- package/dist/cjs/ExportModal-730a91b8.js.map +1 -0
- package/dist/cjs/IdentifierButton-3162ff10.js +25 -0
- package/dist/cjs/IdentifierButton-3162ff10.js.map +1 -0
- package/dist/cjs/PaymentKindRestrictionAlert.js +18 -12
- package/dist/cjs/PaymentKindRestrictionAlert.js.map +1 -1
- package/dist/cjs/PaymentsDashboard.js +492 -0
- package/dist/cjs/PaymentsDashboard.js.map +1 -0
- package/dist/cjs/PayoutsDashboard.js +374 -316
- package/dist/cjs/PayoutsDashboard.js.map +1 -1
- package/dist/cjs/PayoutsPage.js +136 -112
- package/dist/cjs/PayoutsPage.js.map +1 -1
- package/dist/cjs/RazorpayDashboard.js +185 -173
- package/dist/cjs/RazorpayDashboard.js.map +1 -1
- package/dist/cjs/RazorpayPaymentButton.js +92 -66
- package/dist/cjs/RazorpayPaymentButton.js.map +1 -1
- package/dist/cjs/StripeConnect.js +356 -315
- package/dist/cjs/StripeConnect.js.map +1 -1
- package/dist/cjs/UpiConnect.js +129 -107
- package/dist/cjs/UpiConnect.js.map +1 -1
- package/dist/cjs/UpiMarkAsPaidButton.js +22 -21
- package/dist/cjs/UpiMarkAsPaidButton.js.map +1 -1
- package/dist/cjs/UpiPayment.js +75 -63
- package/dist/cjs/UpiPayment.js.map +1 -1
- package/dist/cjs/V2PaymentsDashboard.js +186 -177
- package/dist/cjs/V2PaymentsDashboard.js.map +1 -1
- package/dist/cjs/_commonjsHelpers-755157d3.js +8 -0
- package/dist/cjs/_commonjsHelpers-755157d3.js.map +1 -0
- package/dist/cjs/buildStripeTransactionLink.js +1 -1
- package/dist/cjs/constants.js +12 -12
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/defineProperty-f3094d6c.js +45 -0
- package/dist/cjs/defineProperty-f3094d6c.js.map +1 -0
- package/dist/cjs/exportChannel-2d528a51.js +45 -0
- package/dist/cjs/{exportChannel-1c3103ef.js.map → exportChannel-2d528a51.js.map} +1 -1
- package/dist/cjs/{index-b7badf96.js → index-1ce7ebb8.js} +8 -8
- package/dist/cjs/{index-b7badf96.js.map → index-1ce7ebb8.js.map} +1 -1
- package/dist/cjs/index-6f9eb83b.js +387 -0
- package/dist/cjs/index-6f9eb83b.js.map +1 -0
- package/dist/cjs/index-8a575dd1.js +47 -0
- package/dist/cjs/index-8a575dd1.js.map +1 -0
- package/dist/cjs/index.js +31 -22
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/objectWithoutProperties-2fed2d7d.js +33 -0
- package/dist/cjs/objectWithoutProperties-2fed2d7d.js.map +1 -0
- package/dist/cjs/{queryConstants-45f84f3e.js → queryConstants-cb79f600.js} +4 -3
- package/dist/cjs/queryConstants-cb79f600.js.map +1 -0
- package/dist/cjs/renderFunctions-0284d0cb.js +159 -0
- package/dist/cjs/renderFunctions-0284d0cb.js.map +1 -0
- package/dist/cjs/slicedToArray-f320d9e7.js +61 -0
- package/dist/cjs/slicedToArray-f320d9e7.js.map +1 -0
- package/dist/cjs/toConsumableArray-9abb3858.js +22 -0
- package/dist/cjs/toConsumableArray-9abb3858.js.map +1 -0
- package/dist/cjs/{useConnectApi-a80cbf88.js → useConnectApi-67c912ae.js} +106 -85
- package/dist/cjs/useConnectApi-67c912ae.js.map +1 -0
- package/dist/cjs/useFiltersAndPagination-cd8bd491.js +316 -0
- package/dist/cjs/useFiltersAndPagination-cd8bd491.js.map +1 -0
- package/dist/cjs/usePaymentApi-7c41a34a.js +57 -0
- package/dist/cjs/usePaymentApi-7c41a34a.js.map +1 -0
- package/dist/cjs/usePaymentsApi-f53c5543.js +45 -0
- package/dist/cjs/usePaymentsApi-f53c5543.js.map +1 -0
- package/dist/cjs/usePlatformApi-365cf2dc.js +149 -0
- package/dist/cjs/usePlatformApi-365cf2dc.js.map +1 -0
- package/dist/cjs/useRazorpayPayment.js +70 -48
- package/dist/cjs/useRazorpayPayment.js.map +1 -1
- package/dist/cjs/useStripePromise.js +41 -16
- package/dist/cjs/useStripePromise.js.map +1 -1
- package/dist/constants.js +12 -12
- package/dist/constants.js.map +1 -1
- package/dist/defineProperty-e90a259c.js +43 -0
- package/dist/defineProperty-e90a259c.js.map +1 -0
- package/dist/exportChannel-e33c4c66.js +38 -0
- package/dist/{exportChannel-23e4628c.js.map → exportChannel-e33c4c66.js.map} +1 -1
- package/dist/index-1fdfa272.js +384 -0
- package/dist/index-1fdfa272.js.map +1 -0
- package/dist/{index-1aedc364.js → index-adf12baa.js} +8 -8
- package/dist/{index-1aedc364.js.map → index-adf12baa.js.map} +1 -1
- package/dist/index-f03e9537.js +38 -0
- package/dist/index-f03e9537.js.map +1 -0
- package/dist/index.js +29 -21
- package/dist/index.js.map +1 -1
- package/dist/objectWithoutProperties-a0edb288.js +31 -0
- package/dist/objectWithoutProperties-a0edb288.js.map +1 -0
- package/dist/{queryConstants-7d91832f.js → queryConstants-fada3549.js} +4 -3
- package/dist/queryConstants-fada3549.js.map +1 -0
- package/dist/renderFunctions-3640a4cf.js +143 -0
- package/dist/renderFunctions-3640a4cf.js.map +1 -0
- package/dist/slicedToArray-b4278ecd.js +57 -0
- package/dist/slicedToArray-b4278ecd.js.map +1 -0
- package/dist/toConsumableArray-1cc38429.js +20 -0
- package/dist/toConsumableArray-1cc38429.js.map +1 -0
- package/dist/{useConnectApi-36a92bd8.js → useConnectApi-b4fc32db.js} +107 -86
- package/dist/useConnectApi-b4fc32db.js.map +1 -0
- package/dist/useFiltersAndPagination-d14df27d.js +302 -0
- package/dist/useFiltersAndPagination-d14df27d.js.map +1 -0
- package/dist/usePaymentApi-433482f2.js +50 -0
- package/dist/usePaymentApi-433482f2.js.map +1 -0
- package/dist/usePaymentsApi-e95b2517.js +38 -0
- package/dist/usePaymentsApi-e95b2517.js.map +1 -0
- package/dist/usePlatformApi-9711698e.js +137 -0
- package/dist/usePlatformApi-9711698e.js.map +1 -0
- package/dist/useRazorpayPayment.js +70 -48
- package/dist/useRazorpayPayment.js.map +1 -1
- package/dist/useStripePromise.js +41 -16
- package/dist/useStripePromise.js.map +1 -1
- package/package.json +1 -1
- package/dist/ExportModal-23f4fa34.js +0 -645
- package/dist/ExportModal-23f4fa34.js.map +0 -1
- package/dist/IdentifierButton-81450a91.js +0 -20
- package/dist/IdentifierButton-81450a91.js.map +0 -1
- package/dist/cjs/ExportModal-b94a33bf.js +0 -669
- package/dist/cjs/ExportModal-b94a33bf.js.map +0 -1
- package/dist/cjs/IdentifierButton-c5f8ded9.js +0 -26
- package/dist/cjs/IdentifierButton-c5f8ded9.js.map +0 -1
- package/dist/cjs/exportChannel-1c3103ef.js +0 -39
- package/dist/cjs/extends-1b35a664.js +0 -19
- package/dist/cjs/extends-1b35a664.js.map +0 -1
- package/dist/cjs/index-e317e851.js +0 -41
- package/dist/cjs/index-e317e851.js.map +0 -1
- package/dist/cjs/queryConstants-45f84f3e.js.map +0 -1
- package/dist/cjs/renderFunctions-621282bb.js +0 -165
- package/dist/cjs/renderFunctions-621282bb.js.map +0 -1
- package/dist/cjs/useConnectApi-a80cbf88.js.map +0 -1
- package/dist/cjs/useFiltersAndPagination-98eb45d6.js +0 -276
- package/dist/cjs/useFiltersAndPagination-98eb45d6.js.map +0 -1
- package/dist/cjs/usePaymentApi-77803596.js +0 -48
- package/dist/cjs/usePaymentApi-77803596.js.map +0 -1
- package/dist/cjs/usePaymentsApi-239e8d8a.js +0 -36
- package/dist/cjs/usePaymentsApi-239e8d8a.js.map +0 -1
- package/dist/cjs/usePlatformApi-6740cf80.js +0 -117
- package/dist/cjs/usePlatformApi-6740cf80.js.map +0 -1
- package/dist/exportChannel-23e4628c.js +0 -32
- package/dist/extends-093996c9.js +0 -17
- package/dist/extends-093996c9.js.map +0 -1
- package/dist/index-385083ef.js +0 -32
- package/dist/index-385083ef.js.map +0 -1
- package/dist/queryConstants-7d91832f.js.map +0 -1
- package/dist/renderFunctions-ac5ef9d0.js +0 -146
- package/dist/renderFunctions-ac5ef9d0.js.map +0 -1
- package/dist/useConnectApi-36a92bd8.js.map +0 -1
- package/dist/useFiltersAndPagination-8813cdb2.js +0 -262
- package/dist/useFiltersAndPagination-8813cdb2.js.map +0 -1
- package/dist/usePaymentApi-edc45d99.js +0 -41
- package/dist/usePaymentApi-edc45d99.js.map +0 -1
- package/dist/usePaymentsApi-663c4058.js +0 -29
- package/dist/usePaymentsApi-663c4058.js.map +0 -1
- package/dist/usePlatformApi-3faabc82.js +0 -105
- package/dist/usePlatformApi-3faabc82.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -10,11 +10,13 @@ export { default as UpiConnect } from './UpiConnect.js';
|
|
|
10
10
|
export { default as UpiMarkAsPaidButton } from './UpiMarkAsPaidButton.js';
|
|
11
11
|
export { default as UpiPayment } from './UpiPayment.js';
|
|
12
12
|
export { default as V2PaymentsDashboard } from './V2PaymentsDashboard.js';
|
|
13
|
+
export { default as PaymentsDashboard } from './PaymentsDashboard.js';
|
|
13
14
|
export { default as useRazorpayPayment } from './useRazorpayPayment.js';
|
|
14
15
|
export { default as useStripePromise } from './useStripePromise.js';
|
|
15
16
|
export { CURRENCY_OPTIONS } from './constants.js';
|
|
16
|
-
export { a as buildStripeTransactionLink } from './index-
|
|
17
|
-
import { n } from './
|
|
17
|
+
export { a as buildStripeTransactionLink } from './index-f03e9537.js';
|
|
18
|
+
import { n } from './CopyButtonWrapper-54c5e270.js';
|
|
19
|
+
import './slicedToArray-b4278ecd.js';
|
|
18
20
|
import 'react';
|
|
19
21
|
import 'i18next';
|
|
20
22
|
import '@bigbinary/neeto-cist';
|
|
@@ -25,41 +27,47 @@ import '@bigbinary/neeto-molecules/SubHeader';
|
|
|
25
27
|
import '@bigbinary/neetoui/Tab';
|
|
26
28
|
import '@bigbinary/neetoui/Typography';
|
|
27
29
|
import 'react-i18next';
|
|
28
|
-
import '
|
|
30
|
+
import './renderFunctions-3640a4cf.js';
|
|
31
|
+
import './defineProperty-e90a259c.js';
|
|
32
|
+
import '@tanstack/react-query';
|
|
33
|
+
import '@tanstack/react-query-devtools';
|
|
34
|
+
import '@bigbinary/neeto-commons-frontend/constants';
|
|
35
|
+
import 'react/jsx-runtime';
|
|
36
|
+
import 'ramda';
|
|
37
|
+
import '@bigbinary/neeto-molecules/DateFormat';
|
|
29
38
|
import '@bigbinary/neetoui/Button';
|
|
39
|
+
import '@bigbinary/neetoui/Tag';
|
|
40
|
+
import '@bigbinary/neetoui/Tooltip';
|
|
41
|
+
import '@bigbinary/neeto-icons/Download';
|
|
30
42
|
import '@bigbinary/neetoui/Modal';
|
|
31
|
-
import './exportChannel-
|
|
32
|
-
import '@tanstack/react-query';
|
|
43
|
+
import './exportChannel-e33c4c66.js';
|
|
33
44
|
import 'axios';
|
|
34
45
|
import '@bigbinary/neeto-commons-frontend/utils';
|
|
35
|
-
import '
|
|
46
|
+
import './toConsumableArray-1cc38429.js';
|
|
36
47
|
import 'react-router-dom';
|
|
37
|
-
import './IdentifierButton-
|
|
38
|
-
import '@bigbinary/neeto-commons-frontend/constants';
|
|
48
|
+
import './IdentifierButton-350fcc55.js';
|
|
39
49
|
import '@bigbinary/neeto-molecules/Columns';
|
|
40
50
|
import '@bigbinary/neeto-molecules/PageLoader';
|
|
41
51
|
import '@bigbinary/neeto-molecules/TableWrapper';
|
|
42
52
|
import '@bigbinary/neetoui/Table';
|
|
43
53
|
import '@bigbinary/neetoui/NoData';
|
|
44
|
-
import './queryConstants-
|
|
45
|
-
import '@tanstack/react-query-devtools';
|
|
46
|
-
import '@bigbinary/neeto-molecules/DateFormat';
|
|
47
|
-
import '@bigbinary/neetoui/Tag';
|
|
48
|
-
import '@bigbinary/neetoui/Tooltip';
|
|
54
|
+
import './queryConstants-fada3549.js';
|
|
49
55
|
import '@bigbinary/neeto-molecules/CopyToClipboardButton';
|
|
50
|
-
import './
|
|
51
|
-
import './
|
|
52
|
-
import './
|
|
53
|
-
import './
|
|
56
|
+
import './index-adf12baa.js';
|
|
57
|
+
import './ExportModal-e95e0af1.js';
|
|
58
|
+
import './useConnectApi-b4fc32db.js';
|
|
59
|
+
import './_commonjsHelpers-ae89b920.js';
|
|
54
60
|
import 'util';
|
|
55
|
-
import './usePlatformApi-
|
|
61
|
+
import './usePlatformApi-9711698e.js';
|
|
56
62
|
import '@bigbinary/neeto-icons/Down';
|
|
57
63
|
import '@bigbinary/neeto-icons/Right';
|
|
64
|
+
import './objectWithoutProperties-a0edb288.js';
|
|
58
65
|
import '@bigbinary/neetoui/Pane';
|
|
59
66
|
import '@bigbinary/neetoui/Alert';
|
|
60
67
|
import 'react-router-dom/cjs/react-router-dom';
|
|
61
|
-
import './useFiltersAndPagination-
|
|
62
|
-
import './usePaymentApi-
|
|
68
|
+
import './useFiltersAndPagination-d14df27d.js';
|
|
69
|
+
import './usePaymentApi-433482f2.js';
|
|
70
|
+
import './index-1fdfa272.js';
|
|
63
71
|
import 'neetointegrations';
|
|
64
72
|
import '@bigbinary/neetoui/Label';
|
|
65
73
|
import '@bigbinary/neetoui/formik/Select';
|
|
@@ -70,7 +78,7 @@ import '@bigbinary/neetoui/Radio';
|
|
|
70
78
|
import '@bigbinary/neetoui/Spinner';
|
|
71
79
|
import '@bigbinary/neetoui/formik/Input';
|
|
72
80
|
import '@bigbinary/neeto-molecules/MoreDropdown';
|
|
73
|
-
import './usePaymentsApi-
|
|
81
|
+
import './usePaymentsApi-e95b2517.js';
|
|
74
82
|
import 'qrcode.react';
|
|
75
83
|
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
76
84
|
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2
|
+
if (source == null) return {};
|
|
3
|
+
var target = {};
|
|
4
|
+
var sourceKeys = Object.keys(source);
|
|
5
|
+
var key, i;
|
|
6
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
7
|
+
key = sourceKeys[i];
|
|
8
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function _objectWithoutProperties(source, excluded) {
|
|
15
|
+
if (source == null) return {};
|
|
16
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
17
|
+
var key, i;
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
20
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
21
|
+
key = sourceSymbolKeys[i];
|
|
22
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
23
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
24
|
+
target[key] = source[key];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { _objectWithoutProperties as _ };
|
|
31
|
+
//# sourceMappingURL=objectWithoutProperties-a0edb288.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectWithoutProperties-a0edb288.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}"],"names":["objectWithoutPropertiesLoose"],"mappings":"AAAe,SAAS,6BAA6B,CAAC,MAAM,EAAE,QAAQ,EAAE;AACxE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB,EAAE,IAAI,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACvC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AACb,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC1C,IAAI,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;AACxB,IAAI,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS;AAC7C,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAC9B,GAAG;AACH,EAAE,OAAO,MAAM,CAAC;AAChB;;ACVe,SAAS,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE;AACnE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAGA,6BAA4B,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAC9D,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AACb,EAAE,IAAI,MAAM,CAAC,qBAAqB,EAAE;AACpC,IAAI,IAAI,gBAAgB,GAAG,MAAM,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAChE,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAClD,MAAM,GAAG,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAChC,MAAM,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS;AAC/C,MAAM,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,SAAS;AAC7E,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAChC,KAAK;AACL,GAAG;AACH,EAAE,OAAO,MAAM,CAAC;AAChB;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
var QUERY_KEYS = {
|
|
2
2
|
STRIPE_ACCOUNT_DETAILS: "stripe-account-details",
|
|
3
3
|
STRIPE_PLATFORM_ACCOUNT_DETAILS: "stripe-platform-account-details",
|
|
4
4
|
TRANSACTIONS_LIST: "transactions-list",
|
|
@@ -14,8 +14,9 @@ const QUERY_KEYS = {
|
|
|
14
14
|
STRIPE_PAYOUT: "stripe-payout",
|
|
15
15
|
RAZORPAY_PAYMENTS_LIST: "razorpay-payment-list",
|
|
16
16
|
RAZORPAY_ACCOUNT_DETAILS: "razorpay-account-details",
|
|
17
|
-
V2_PAYMENTS: "v2-payments"
|
|
17
|
+
V2_PAYMENTS: "v2-payments",
|
|
18
|
+
PAYMENTS_LIST: "payments-list"
|
|
18
19
|
};
|
|
19
20
|
|
|
20
21
|
export { QUERY_KEYS as Q };
|
|
21
|
-
//# sourceMappingURL=queryConstants-
|
|
22
|
+
//# sourceMappingURL=queryConstants-fada3549.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryConstants-fada3549.js","sources":["../app/javascript/src/common/queryConstants.js"],"sourcesContent":["export const QUERY_KEYS = {\n STRIPE_ACCOUNT_DETAILS: \"stripe-account-details\",\n STRIPE_PLATFORM_ACCOUNT_DETAILS: \"stripe-platform-account-details\",\n TRANSACTIONS_LIST: \"transactions-list\",\n PLATFORM_TRANSACTIONS_LIST: \"platform-transactions-list\",\n PAYMENTS_FILTER_OPTIONS: \"payments-filter-options\",\n REFUNDS_LIST: \"refunds-list\",\n SPLITS_LIST: \"platform-splits-list\",\n CONNECTED_ACCOUNT: \"connected-account\",\n STRIPE_ACCOUNTS_LIST: \"stripe-accounts-list\",\n STRIPE_PLATFORM_TRANSACTION: \"stripe-platform-transaction\",\n STRIPE_REFUNDS_LIST: \"stripe-refunds-list\",\n STRIPE_PAYOUTS_LIST: \"stripe-payouts-list\",\n STRIPE_PAYOUT: \"stripe-payout\",\n RAZORPAY_PAYMENTS_LIST: \"razorpay-payment-list\",\n RAZORPAY_ACCOUNT_DETAILS: \"razorpay-account-details\",\n V2_PAYMENTS: \"v2-payments\",\n PAYMENTS_LIST: \"payments-list\",\n};\n"],"names":["QUERY_KEYS","STRIPE_ACCOUNT_DETAILS","STRIPE_PLATFORM_ACCOUNT_DETAILS","TRANSACTIONS_LIST","PLATFORM_TRANSACTIONS_LIST","PAYMENTS_FILTER_OPTIONS","REFUNDS_LIST","SPLITS_LIST","CONNECTED_ACCOUNT","STRIPE_ACCOUNTS_LIST","STRIPE_PLATFORM_TRANSACTION","STRIPE_REFUNDS_LIST","STRIPE_PAYOUTS_LIST","STRIPE_PAYOUT","RAZORPAY_PAYMENTS_LIST","RAZORPAY_ACCOUNT_DETAILS","V2_PAYMENTS","PAYMENTS_LIST"],"mappings":"AAAO,IAAMA,UAAU,GAAG;AACxBC,EAAAA,sBAAsB,EAAE,wBAAwB;AAChDC,EAAAA,+BAA+B,EAAE,iCAAiC;AAClEC,EAAAA,iBAAiB,EAAE,mBAAmB;AACtCC,EAAAA,0BAA0B,EAAE,4BAA4B;AACxDC,EAAAA,uBAAuB,EAAE,yBAAyB;AAClDC,EAAAA,YAAY,EAAE,cAAc;AAC5BC,EAAAA,WAAW,EAAE,sBAAsB;AACnCC,EAAAA,iBAAiB,EAAE,mBAAmB;AACtCC,EAAAA,oBAAoB,EAAE,sBAAsB;AAC5CC,EAAAA,2BAA2B,EAAE,6BAA6B;AAC1DC,EAAAA,mBAAmB,EAAE,qBAAqB;AAC1CC,EAAAA,mBAAmB,EAAE,qBAAqB;AAC1CC,EAAAA,aAAa,EAAE,eAAe;AAC9BC,EAAAA,sBAAsB,EAAE,uBAAuB;AAC/CC,EAAAA,wBAAwB,EAAE,0BAA0B;AACpDC,EAAAA,WAAW,EAAE,aAAa;AAC1BC,EAAAA,aAAa,EAAE,eAAA;AACjB;;;;"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-e90a259c.js';
|
|
2
|
+
import { QueryClient, QueryCache, keepPreviousData, QueryClientProvider } from '@tanstack/react-query';
|
|
3
|
+
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
|
4
|
+
import { DEFAULT_STALE_TIME } from '@bigbinary/neeto-commons-frontend/constants';
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
+
import { camelToSnakeCase, snakeToCamelCase } from '@bigbinary/neeto-cist';
|
|
7
|
+
import { isEmpty, assoc, modify, concat, curry } from 'ramda';
|
|
8
|
+
import { DEFAULT_PAGE_VALUES, TAG_STYLE, DEFAULT_TAG_STYLE } from './constants.js';
|
|
9
|
+
import { t } from 'i18next';
|
|
10
|
+
import DateFormat from '@bigbinary/neeto-molecules/DateFormat';
|
|
11
|
+
import Button from '@bigbinary/neetoui/Button';
|
|
12
|
+
import Tag from '@bigbinary/neetoui/Tag';
|
|
13
|
+
import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
14
|
+
import { C as CopyButtonWrapper } from './CopyButtonWrapper-54c5e270.js';
|
|
15
|
+
|
|
16
|
+
/* eslint-disable @bigbinary/neeto/api-connector-name-should-match-filename */
|
|
17
|
+
var queryClient = new QueryClient({
|
|
18
|
+
queryCache: new QueryCache(),
|
|
19
|
+
defaultOptions: {
|
|
20
|
+
queries: {
|
|
21
|
+
staleTime: DEFAULT_STALE_TIME,
|
|
22
|
+
placeholderData: keepPreviousData
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
|
+
var withReactQuery = function withReactQuery(Component) {
|
|
30
|
+
var QueryWrapper = function QueryWrapper(props) {
|
|
31
|
+
return /*#__PURE__*/jsxs(QueryClientProvider, {
|
|
32
|
+
client: queryClient,
|
|
33
|
+
children: [/*#__PURE__*/jsx(Component, _objectSpread$1({}, props)), /*#__PURE__*/jsx(ReactQueryDevtools, {
|
|
34
|
+
initialIsOpen: false,
|
|
35
|
+
position: "bottom"
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
return QueryWrapper;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
43
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44
|
+
var processSortProperties = function processSortProperties(sortProperties) {
|
|
45
|
+
if (sortProperties.sortBy === "payment_amount") {
|
|
46
|
+
return assoc("sortBy", "neeto_payments_engine_stripe_transactions.amount", sortProperties);
|
|
47
|
+
}
|
|
48
|
+
if (sortProperties.sortBy === "email" || sortProperties.sortBy === "first_name") {
|
|
49
|
+
return modify("sortBy", concat("users."), sortProperties);
|
|
50
|
+
}
|
|
51
|
+
if (sortProperties.sortBy === "payable,ends_at") {
|
|
52
|
+
return assoc("sortBy", "bookings.ends_at", sortProperties);
|
|
53
|
+
}
|
|
54
|
+
return sortProperties;
|
|
55
|
+
};
|
|
56
|
+
var buildDefaultPageProperties = function buildDefaultPageProperties(tabs) {
|
|
57
|
+
return tabs.reduce(function (pageProperties, tab) {
|
|
58
|
+
return _objectSpread(_objectSpread({}, pageProperties), {}, _defineProperty({}, tab, DEFAULT_PAGE_VALUES));
|
|
59
|
+
}, {});
|
|
60
|
+
};
|
|
61
|
+
var buildPayload = function buildPayload(_ref) {
|
|
62
|
+
var _pageProperties$tab, _pageProperties$tab2;
|
|
63
|
+
var tab = _ref.tab,
|
|
64
|
+
filters = _ref.filters,
|
|
65
|
+
pageProperties = _ref.pageProperties,
|
|
66
|
+
_ref$sortProperties = _ref.sortProperties,
|
|
67
|
+
sortProperties = _ref$sortProperties === void 0 ? {} : _ref$sortProperties,
|
|
68
|
+
_ref$payoutId = _ref.payoutId,
|
|
69
|
+
payoutId = _ref$payoutId === void 0 ? null : _ref$payoutId;
|
|
70
|
+
return _objectSpread({
|
|
71
|
+
tab: camelToSnakeCase(tab),
|
|
72
|
+
payoutId: payoutId,
|
|
73
|
+
page: (_pageProperties$tab = pageProperties[tab]) === null || _pageProperties$tab === void 0 ? void 0 : _pageProperties$tab.page,
|
|
74
|
+
pageSize: (_pageProperties$tab2 = pageProperties[tab]) === null || _pageProperties$tab2 === void 0 ? void 0 : _pageProperties$tab2.pageSize,
|
|
75
|
+
filters: filters
|
|
76
|
+
}, processSortProperties(sortProperties));
|
|
77
|
+
};
|
|
78
|
+
var buildRowData = function buildRowData(_ref2) {
|
|
79
|
+
var data = _ref2.data,
|
|
80
|
+
_ref2$pageProperties = _ref2.pageProperties,
|
|
81
|
+
pageProperties = _ref2$pageProperties === void 0 ? {} : _ref2$pageProperties,
|
|
82
|
+
_ref2$tab = _ref2.tab,
|
|
83
|
+
tab = _ref2$tab === void 0 ? "all" : _ref2$tab;
|
|
84
|
+
return data.map(function (element, index) {
|
|
85
|
+
var _pageProperties$tab3, _pageProperties$tab4;
|
|
86
|
+
return _objectSpread(_objectSpread({}, element), {}, {
|
|
87
|
+
payable: element.payable,
|
|
88
|
+
identifier: element,
|
|
89
|
+
id: isEmpty(pageProperties) ? index + 1 : ((_pageProperties$tab3 = pageProperties[tab]) === null || _pageProperties$tab3 === void 0 ? void 0 : _pageProperties$tab3.pageSize) * (((_pageProperties$tab4 = pageProperties[tab]) === null || _pageProperties$tab4 === void 0 ? void 0 : _pageProperties$tab4.page) - 1) + index + 1
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
var getTagStyle = function getTagStyle(status) {
|
|
95
|
+
return TAG_STYLE[status] || DEFAULT_TAG_STYLE;
|
|
96
|
+
};
|
|
97
|
+
var preProcessStatus = function preProcessStatus(type, status) {
|
|
98
|
+
var record = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
99
|
+
if (type === "transaction" || type === "payment") {
|
|
100
|
+
return record.isRefunded ? "refunded" : status;
|
|
101
|
+
}
|
|
102
|
+
if (status === "voided") {
|
|
103
|
+
return "incomplete";
|
|
104
|
+
}
|
|
105
|
+
return snakeToCamelCase(status);
|
|
106
|
+
};
|
|
107
|
+
var renderStatus = curry(function (type, status, record) {
|
|
108
|
+
var processedStatus = preProcessStatus(type, status, record);
|
|
109
|
+
return /*#__PURE__*/jsx(Tooltip, {
|
|
110
|
+
content: t("neetoPayments.tooltipContent.".concat(type, ".").concat(processedStatus)),
|
|
111
|
+
position: "top",
|
|
112
|
+
children: /*#__PURE__*/jsx("div", {
|
|
113
|
+
className: "w-fit",
|
|
114
|
+
children: /*#__PURE__*/jsx(Tag, {
|
|
115
|
+
label: t("neetoPayments.tagLabels.".concat(type, ".").concat(processedStatus)),
|
|
116
|
+
style: getTagStyle(processedStatus)
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
var renderFullName = function renderFullName(_, _ref) {
|
|
122
|
+
var firstName = _ref.firstName,
|
|
123
|
+
lastName = _ref.lastName;
|
|
124
|
+
return "".concat(firstName, " ").concat(lastName);
|
|
125
|
+
};
|
|
126
|
+
var renderEmail = function renderEmail(email) {
|
|
127
|
+
return /*#__PURE__*/jsx(CopyButtonWrapper, {
|
|
128
|
+
content: email,
|
|
129
|
+
children: /*#__PURE__*/jsx(Button, {
|
|
130
|
+
href: "mailto:".concat(email),
|
|
131
|
+
label: email,
|
|
132
|
+
style: "link"
|
|
133
|
+
})
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
var renderDate = function renderDate(date) {
|
|
137
|
+
return /*#__PURE__*/jsx(DateFormat.DateTime, {
|
|
138
|
+
date: date
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export { renderFullName as a, renderEmail as b, renderDate as c, buildDefaultPageProperties as d, buildPayload as e, buildRowData as f, renderStatus as r, withReactQuery as w };
|
|
143
|
+
//# sourceMappingURL=renderFunctions-3640a4cf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderFunctions-3640a4cf.js","sources":["../app/javascript/src/apis/queryClient.js","../app/javascript/src/components/Common/withReactQuery.jsx","../app/javascript/src/utils/dashboard.js","../app/javascript/src/utils/renderFunctions.jsx"],"sourcesContent":["/* eslint-disable @bigbinary/neeto/api-connector-name-should-match-filename */\n/* eslint-disable @bigbinary/neeto/file-name-and-export-name-standards */\nimport {\n QueryCache,\n QueryClient,\n keepPreviousData,\n} from \"@tanstack/react-query\";\nimport { DEFAULT_STALE_TIME } from \"neetocommons/constants\";\n\nconst queryClient = new QueryClient({\n queryCache: new QueryCache(),\n defaultOptions: {\n queries: {\n staleTime: DEFAULT_STALE_TIME,\n placeholderData: keepPreviousData,\n },\n },\n});\n\nexport default queryClient;\n","/* eslint-disable sonarjs/prefer-immediate-return */\n/* eslint-disable @bigbinary/neeto/file-name-and-export-name-standards */\nimport { QueryClientProvider } from \"@tanstack/react-query\";\nimport { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\n\nimport queryClient from \"apis/queryClient\";\n\nconst withReactQuery = Component => {\n const QueryWrapper = props => (\n <QueryClientProvider client={queryClient}>\n <Component {...props} />\n <ReactQueryDevtools initialIsOpen={false} position=\"bottom\" />\n </QueryClientProvider>\n );\n\n return QueryWrapper;\n};\n\nexport default withReactQuery;\n","import { camelToSnakeCase } from \"neetocist\";\nimport { assoc, concat, isEmpty, modify } from \"ramda\";\n\nimport { DEFAULT_PAGE_VALUES } from \"src/constants\";\n\nconst processSortProperties = sortProperties => {\n if (sortProperties.sortBy === \"payment_amount\") {\n return assoc(\n \"sortBy\",\n \"neeto_payments_engine_stripe_transactions.amount\",\n sortProperties\n );\n }\n\n if (\n sortProperties.sortBy === \"email\" ||\n sortProperties.sortBy === \"first_name\"\n ) {\n return modify(\"sortBy\", concat(\"users.\"), sortProperties);\n }\n\n if (sortProperties.sortBy === \"payable,ends_at\") {\n return assoc(\"sortBy\", \"bookings.ends_at\", sortProperties);\n }\n\n return sortProperties;\n};\n\nexport const buildDefaultPageProperties = tabs =>\n tabs.reduce(\n (pageProperties, tab) => ({\n ...pageProperties,\n [tab]: DEFAULT_PAGE_VALUES,\n }),\n {}\n );\n\nexport const buildPayload = ({\n tab,\n filters,\n pageProperties,\n sortProperties = {},\n payoutId = null,\n}) => ({\n tab: camelToSnakeCase(tab),\n payoutId,\n page: pageProperties[tab]?.page,\n pageSize: pageProperties[tab]?.pageSize,\n filters,\n ...processSortProperties(sortProperties),\n});\n\nexport const buildRowData = ({ data, pageProperties = {}, tab = \"all\" }) =>\n data.map((element, index) => ({\n ...element,\n payable: element.payable,\n identifier: element,\n id: isEmpty(pageProperties)\n ? index + 1\n : pageProperties[tab]?.pageSize * (pageProperties[tab]?.page - 1) +\n index +\n 1,\n }));\n","import { t } from \"i18next\";\nimport { snakeToCamelCase } from \"neetocist\";\nimport DateFormat from \"neetomolecules/DateFormat\";\nimport { Button, Tag, Tooltip } from \"neetoui\";\nimport { curry } from \"ramda\";\n\nimport CopyButtonWrapper from \"components/Common/CopyButtonWrapper\";\nimport { DEFAULT_TAG_STYLE, TAG_STYLE } from \"src/constants\";\n\nconst getTagStyle = status => TAG_STYLE[status] || DEFAULT_TAG_STYLE;\n\nconst preProcessStatus = (type, status, record = {}) => {\n if (type === \"transaction\" || type === \"payment\") {\n return record.isRefunded ? \"refunded\" : status;\n }\n\n if (status === \"voided\") {\n return \"incomplete\";\n }\n\n return snakeToCamelCase(status);\n};\n\nexport const renderStatus = curry((type, status, record) => {\n const processedStatus = preProcessStatus(type, status, record);\n\n return (\n <Tooltip\n content={t(`neetoPayments.tooltipContent.${type}.${processedStatus}`)}\n position=\"top\"\n >\n <div className=\"w-fit\">\n <Tag\n label={t(`neetoPayments.tagLabels.${type}.${processedStatus}`)}\n style={getTagStyle(processedStatus)}\n />\n </div>\n </Tooltip>\n );\n});\n\nexport const renderFullName = (_, { firstName, lastName }) =>\n `${firstName} ${lastName}`;\n\nexport const renderEmail = email => (\n <CopyButtonWrapper content={email}>\n <Button href={`mailto:${email}`} label={email} style=\"link\" />\n </CopyButtonWrapper>\n);\n\nexport const renderDate = date => <DateFormat.DateTime {...{ date }} />;\n"],"names":["queryClient","QueryClient","queryCache","QueryCache","defaultOptions","queries","staleTime","DEFAULT_STALE_TIME","placeholderData","keepPreviousData","withReactQuery","Component","QueryWrapper","props","_jsxs","QueryClientProvider","client","children","_jsx","_objectSpread","ReactQueryDevtools","initialIsOpen","position","processSortProperties","sortProperties","sortBy","assoc","modify","concat","buildDefaultPageProperties","tabs","reduce","pageProperties","tab","_defineProperty","DEFAULT_PAGE_VALUES","buildPayload","_ref","_pageProperties$tab","_pageProperties$tab2","filters","_ref$sortProperties","_ref$payoutId","payoutId","camelToSnakeCase","page","pageSize","buildRowData","_ref2","data","_ref2$pageProperties","_ref2$tab","map","element","index","_pageProperties$tab3","_pageProperties$tab4","payable","identifier","id","isEmpty","getTagStyle","status","TAG_STYLE","DEFAULT_TAG_STYLE","preProcessStatus","type","record","arguments","length","undefined","isRefunded","snakeToCamelCase","renderStatus","curry","processedStatus","Tooltip","content","t","className","Tag","label","style","renderFullName","_","firstName","lastName","renderEmail","email","CopyButtonWrapper","Button","href","renderDate","date","DateFormat","DateTime"],"mappings":";;;;;;;;;;;;;;;AAAA;AASA,IAAMA,WAAW,GAAG,IAAIC,WAAW,CAAC;AAClCC,EAAAA,UAAU,EAAE,IAAIC,UAAU,EAAE;AAC5BC,EAAAA,cAAc,EAAE;AACdC,IAAAA,OAAO,EAAE;AACPC,MAAAA,SAAS,EAAEC,kBAAkB;AAC7BC,MAAAA,eAAe,EAAEC,gBAAAA;AACnB,KAAA;AACF,GAAA;AACF,CAAC,CAAC;;;;ACVF,IAAMC,cAAc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CAAA;AAAC,GACC,CAAC,CAAA;AAEd,CAAC,EAAC;AAEK,IAAMQ,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,CAAC,EAAA/C,IAAA,EAAA;AAAA,EAAA,IAAIgD,SAAS,GAAAhD,IAAA,CAATgD,SAAS;IAAEC,QAAQ,GAAAjD,IAAA,CAARiD,QAAQ,CAAA;AAAA,EAAA,OAAA,EAAA,CAAA1D,MAAA,CAClDyD,SAAS,EAAAzD,GAAAA,CAAAA,CAAAA,MAAA,CAAI0D,QAAQ,CAAA,CAAA;AAAA,EAAE;IAEfC,WAAW,GAAG,SAAdA,WAAWA,CAAGC,KAAK,EAAA;EAAA,oBAC9BtE,GAAA,CAACuE,iBAAiB,EAAA;AAACZ,IAAAA,OAAO,EAAEW,KAAM;IAAAvE,QAAA,eAChCC,GAAA,CAACwE,MAAM,EAAA;AAACC,MAAAA,IAAI,EAAA/D,SAAAA,CAAAA,MAAA,CAAY4D,KAAK,CAAG;AAACP,MAAAA,KAAK,EAAEO,KAAM;AAACN,MAAAA,KAAK,EAAC,MAAA;KAAQ,CAAA;AAAC,GAC7C,CAAC,CAAA;AAAA,EACrB;IAEYU,UAAU,GAAG,SAAbA,UAAUA,CAAGC,IAAI,EAAA;AAAA,EAAA,oBAAI3E,GAAA,CAAC4E,UAAU,CAACC,QAAQ,EAAA;AAAOF,IAAAA,IAAI,EAAJA,IAAAA;AAAI,GAAK,CAAC,CAAA;AAAA;;;;"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
function _arrayWithHoles(arr) {
|
|
2
|
+
if (Array.isArray(arr)) return arr;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
function _iterableToArrayLimit(r, l) {
|
|
6
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
7
|
+
if (null != t) {
|
|
8
|
+
var e,
|
|
9
|
+
n,
|
|
10
|
+
i,
|
|
11
|
+
u,
|
|
12
|
+
a = [],
|
|
13
|
+
f = !0,
|
|
14
|
+
o = !1;
|
|
15
|
+
try {
|
|
16
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
17
|
+
if (Object(t) !== t) return;
|
|
18
|
+
f = !1;
|
|
19
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
20
|
+
} catch (r) {
|
|
21
|
+
o = !0, n = r;
|
|
22
|
+
} finally {
|
|
23
|
+
try {
|
|
24
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
25
|
+
} finally {
|
|
26
|
+
if (o) throw n;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return a;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function _arrayLikeToArray(arr, len) {
|
|
34
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
35
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
36
|
+
return arr2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
40
|
+
if (!o) return;
|
|
41
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
42
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
43
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
44
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
45
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function _nonIterableRest() {
|
|
49
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function _slicedToArray(arr, i) {
|
|
53
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { _slicedToArray as _, _arrayLikeToArray as a, _unsupportedIterableToArray as b };
|
|
57
|
+
//# sourceMappingURL=slicedToArray-b4278ecd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slicedToArray-b4278ecd.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}"],"names":["arrayLikeToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest"],"mappings":"AAAe,SAAS,eAAe,CAAC,GAAG,EAAE;AAC7C,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,OAAO,GAAG,CAAC;AACrC;;ACFe,SAAS,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE;AACpD,EAAE,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,IAAI,GAAG,WAAW,IAAI,OAAO,MAAM,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,CAAC;AACnG,EAAE,IAAI,IAAI,IAAI,CAAC,EAAE;AACjB,IAAI,IAAI,CAAC;AACT,MAAM,CAAC;AACP,MAAM,CAAC;AACP,MAAM,CAAC;AACP,MAAM,CAAC,GAAG,EAAE;AACZ,MAAM,CAAC,GAAG,CAAC,CAAC;AACZ,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AACb,IAAI,IAAI;AACR,MAAM,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;AAC7C,QAAQ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AC,CAAC,EAAE,MAAM,EAAE;AAC/D,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO;AACjB,EAAE,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,OAAOA,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAChE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACzD,EAAE,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC;AAC9D,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,KAAK,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvD,EAAE,IAAI,CAAC,KAAK,WAAW,IAAI,0CAA0C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAOA,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAClH;;ACRe,SAAS,gBAAgB,GAAG;AAC3C,EAAE,MAAM,IAAI,SAAS,CAAC,2IAA2I,CAAC,CAAC;AACnK;;ACEe,SAAS,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE;AAC/C,EAAE,OAAOC,eAAc,CAAC,GAAG,CAAC,IAAIC,qBAAoB,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,2BAA0B,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,gBAAe,EAAE,CAAC;AACxH;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { a as _arrayLikeToArray, b as _unsupportedIterableToArray } from './slicedToArray-b4278ecd.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(arr) {
|
|
4
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(iter) {
|
|
8
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(arr) {
|
|
16
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _ };
|
|
20
|
+
//# sourceMappingURL=toConsumableArray-1cc38429.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toConsumableArray-1cc38429.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"],"sourcesContent":["import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}"],"names":["arrayLikeToArray","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread"],"mappings":";;AACe,SAAS,kBAAkB,CAAC,GAAG,EAAE;AAChD,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,OAAOA,iBAAgB,CAAC,GAAG,CAAC,CAAC;AACvD;;ACHe,SAAS,gBAAgB,CAAC,IAAI,EAAE;AAC/C,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5H;;ACFe,SAAS,kBAAkB,GAAG;AAC7C,EAAE,MAAM,IAAI,SAAS,CAAC,sIAAsI,CAAC,CAAC;AAC9J;;ACEe,SAAS,kBAAkB,CAAC,GAAG,EAAE;AAChD,EAAE,OAAOC,kBAAiB,CAAC,GAAG,CAAC,IAAIC,gBAAe,CAAC,GAAG,CAAC,IAAIC,2BAA0B,CAAC,GAAG,CAAC,IAAIC,kBAAiB,EAAE,CAAC;AAClH;;;;"}
|