@ammarkhalidfarooq/dashboard-package 0.6.116 → 0.6.118
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/index.cjs.js +6 -39
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7 -40
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Suspense, lazy, useState, useRef, useEffect, useMemo } from 'react';
|
|
2
2
|
import { Box, Button, Menu, MenuItem, Grid, Card, CardContent, Typography, IconButton, ThemeProvider, CircularProgress, Avatar, LinearProgress, Stack, TableContainer, Table, TableHead, TableRow, TableCell, TableBody, Skeleton } from '@mui/material';
|
|
3
|
-
import { MoreHoriz, TrendingDown, TrendingUp, MoreVert, Check, InfoOutlined, Settings, PeopleAltOutlined, PaidOutlined, PersonOutlined, IndeterminateCheckBoxOutlined, FavoriteOutlined, SearchOutlined, HighlightOff, Email } from '@mui/icons-material';
|
|
3
|
+
import { MoreHoriz, TrendingDown, TrendingUp, MoreVert, Check, InfoOutlined, Settings, PeopleAltOutlined, RequestQuoteOutlined, PaidOutlined, PersonOutlined, IndeterminateCheckBoxOutlined, FavoriteOutlined, SearchOutlined, HighlightOff, Email } from '@mui/icons-material';
|
|
4
4
|
import { createTheme, useTheme } from '@mui/material/styles';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import Grid$1 from '@mui/material/Grid';
|
|
@@ -16938,11 +16938,11 @@ var html2canvas_esm = /*#__PURE__*/Object.freeze({
|
|
|
16938
16938
|
default: html2canvas
|
|
16939
16939
|
});
|
|
16940
16940
|
|
|
16941
|
-
var _excluded$
|
|
16941
|
+
var _excluded$6 = ["size"];
|
|
16942
16942
|
var AverageDonationIcon = function AverageDonationIcon(_ref) {
|
|
16943
16943
|
var _ref$size = _ref.size,
|
|
16944
16944
|
size = _ref$size === void 0 ? 30 : _ref$size,
|
|
16945
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
16945
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
16946
16946
|
return /*#__PURE__*/jsx("svg", _objectSpread2(_objectSpread2({
|
|
16947
16947
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16948
16948
|
viewBox: "0 0 24 24",
|
|
@@ -16973,11 +16973,11 @@ var AverageDonationIcon = function AverageDonationIcon(_ref) {
|
|
|
16973
16973
|
}));
|
|
16974
16974
|
};
|
|
16975
16975
|
|
|
16976
|
-
var _excluded$
|
|
16976
|
+
var _excluded$5 = ["size"];
|
|
16977
16977
|
var ConversionRateIcon = function ConversionRateIcon(_ref) {
|
|
16978
16978
|
var _ref$size = _ref.size,
|
|
16979
16979
|
size = _ref$size === void 0 ? 30 : _ref$size,
|
|
16980
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
16980
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
16981
16981
|
return /*#__PURE__*/jsx("svg", _objectSpread2(_objectSpread2({
|
|
16982
16982
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16983
16983
|
viewBox: "0 0 24 24",
|
|
@@ -17004,39 +17004,6 @@ var ConversionRateIcon = function ConversionRateIcon(_ref) {
|
|
|
17004
17004
|
}));
|
|
17005
17005
|
};
|
|
17006
17006
|
|
|
17007
|
-
var _excluded$5 = ["size"];
|
|
17008
|
-
var NetRaisedIcon = function NetRaisedIcon(_ref) {
|
|
17009
|
-
var _ref$size = _ref.size,
|
|
17010
|
-
size = _ref$size === void 0 ? 30 : _ref$size,
|
|
17011
|
-
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
17012
|
-
return /*#__PURE__*/jsx("svg", _objectSpread2(_objectSpread2({
|
|
17013
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17014
|
-
viewBox: "0 0 24 24",
|
|
17015
|
-
width: size,
|
|
17016
|
-
height: size,
|
|
17017
|
-
"aria-hidden": "true"
|
|
17018
|
-
}, props), {}, {
|
|
17019
|
-
children: /*#__PURE__*/jsxs("g", {
|
|
17020
|
-
fill: "#4e47e5",
|
|
17021
|
-
children: [/*#__PURE__*/jsx("path", {
|
|
17022
|
-
d: "M19.06,8.58s-.05.06-.05.09c-.08.3-.12.64-.19.94-.51,2.31-1.24,4.58-2.76,6.43-2.99,3.66-7.63,3.71-11.68,1.85-.4-.19-1.44-.67-1.73-.95-.51-.5-.15-1.34.53-1.34.3,0,1.3.63,1.65.8,1.88.89,4.06,1.43,6.14,1.02,4.28-.84,5.87-5.18,6.51-9.01l-1.92,2.29c-.63.55-1.57-.08-1.23-.88,1.23-1.46,2.4-3.02,3.67-4.45.26-.29.41-.51.85-.47.34.03.53.27.66.57l2.05,5.4c.28.93-.99,1.44-1.43.56l-1.06-2.85Z"
|
|
17023
|
-
}), /*#__PURE__*/jsx("path", {
|
|
17024
|
-
d: "M13.64,11.93c.01.07-.03.14-.03.21,0,.22.03.46.03.68.01,1.06,0,2.13,0,3.19-.38.34-.83.57-1.28.8v-4.87h1.29Z"
|
|
17025
|
-
}), /*#__PURE__*/jsx("path", {
|
|
17026
|
-
d: "M11.74,12.74v4.29c-.33.09-.66.2-.99.25-.08.01-.27.07-.29-.01v-4.52s1.28,0,1.28,0Z"
|
|
17027
|
-
}), /*#__PURE__*/jsx("path", {
|
|
17028
|
-
d: "M9.87,13.55v3.8c-.42.07-.86,0-1.29-.03v-3.77h1.29Z"
|
|
17029
|
-
}), /*#__PURE__*/jsx("path", {
|
|
17030
|
-
d: "M15.51,11.13v2.69c-.39.58-.76,1.19-1.29,1.66v-4.35h1.29Z"
|
|
17031
|
-
}), /*#__PURE__*/jsx("polygon", {
|
|
17032
|
-
points: "7.97 14.35 7.97 17.25 6.71 16.91 6.71 14.35"
|
|
17033
|
-
}), /*#__PURE__*/jsx("polygon", {
|
|
17034
|
-
points: "6.1 15.16 6.1 16.74 4.81 16.19 4.81 15.16"
|
|
17035
|
-
})]
|
|
17036
|
-
})
|
|
17037
|
-
}));
|
|
17038
|
-
};
|
|
17039
|
-
|
|
17040
17007
|
var CARD_BORDER = "1.5px solid #F1F1F5";
|
|
17041
17008
|
var PANEL_BORDER = "1px solid #f0f0f0";
|
|
17042
17009
|
var PANEL_SHADOW = "0 4px 24px rgba(0,0,0,0.06)";
|
|
@@ -17766,7 +17733,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17766
17733
|
value: "$".concat(formatNumber(((_apiData$overviewStat5 = apiData === null || apiData === void 0 || (_apiData$overviewStat6 = apiData.overviewStats) === null || _apiData$overviewStat6 === void 0 || (_apiData$overviewStat6 = _apiData$overviewStat6.overview) === null || _apiData$overviewStat6 === void 0 ? void 0 : _apiData$overviewStat6.netRevenue) !== null && _apiData$overviewStat5 !== void 0 ? _apiData$overviewStat5 : 0).toFixed(2))),
|
|
17767
17734
|
subValue: "".concat(Number((_apiData$overviewStat7 = apiData === null || apiData === void 0 || (_apiData$overviewStat8 = apiData.overviewStats) === null || _apiData$overviewStat8 === void 0 || (_apiData$overviewStat8 = _apiData$overviewStat8.overview.growthPercentage) === null || _apiData$overviewStat8 === void 0 ? void 0 : _apiData$overviewStat8.netRevenue) !== null && _apiData$overviewStat7 !== void 0 ? _apiData$overviewStat7 : 0).toFixed(2), "% vs pp\n "),
|
|
17768
17735
|
label: "Net Raised",
|
|
17769
|
-
icon: /*#__PURE__*/jsx(
|
|
17736
|
+
icon: /*#__PURE__*/jsx(RequestQuoteOutlined, {}),
|
|
17770
17737
|
money: true,
|
|
17771
17738
|
error: false,
|
|
17772
17739
|
warning: false
|
|
@@ -18364,7 +18331,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18364
18331
|
error: false,
|
|
18365
18332
|
warning: false
|
|
18366
18333
|
},
|
|
18367
|
-
"
|
|
18334
|
+
"Revenue Raised": {
|
|
18368
18335
|
value: "$".concat(formatNumber(0)),
|
|
18369
18336
|
subValue: formatGrowth$2(0),
|
|
18370
18337
|
data: flatSeries(0),
|