@msrajawat298/do-graphs 1.0.1 → 1.0.3
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/App.js +124 -124
- package/dist/App.test.js +8 -8
- package/dist/Components/Charts/Bar/Form.js +231 -231
- package/dist/Components/Charts/Bar/Format.js +43 -43
- package/dist/Components/Charts/Bar/index.js +106 -106
- package/dist/Components/Charts/DoughnutAndPie/Form.js +232 -232
- package/dist/Components/Charts/DoughnutAndPie/Format.js +52 -52
- package/dist/Components/Charts/DoughnutAndPie/index.js +106 -106
- package/dist/Components/Charts/DrawGraph.js +32 -32
- package/dist/Components/Charts/Line/Form.js +231 -231
- package/dist/Components/Charts/Line/Format.js +47 -47
- package/dist/Components/Charts/Line/index.js +106 -106
- package/dist/Components/Charts/MixedChart/index.js +107 -107
- package/dist/Components/Charts/Options.js +139 -139
- package/dist/Components/Charts/PolarArea/Form.js +225 -225
- package/dist/Components/Charts/PolarArea/Format.js +42 -42
- package/dist/Components/Charts/PolarArea/index.js +106 -106
- package/dist/Components/Charts/Progess/Form.js +107 -107
- package/dist/Components/Charts/Progess/index.js +119 -119
- package/dist/Components/Charts/Scatter/Form.js +225 -225
- package/dist/Components/Charts/Scatter/Format.js +45 -45
- package/dist/Components/Charts/Scatter/index.js +106 -106
- package/dist/Components/Charts/Table/Form.js +70 -70
- package/dist/Components/Charts/Table/Styles.js +27 -27
- package/dist/Components/Charts/Table/index.js +56 -56
- package/dist/Components/Common/CustomComponent/index.js +85 -83
- package/dist/Components/Common/Menu/DynamicMenu/List.js +43 -43
- package/dist/Components/Common/Menu/DynamicMenu/index.js +155 -155
- package/dist/Components/Common/Menu/index.js +24 -24
- package/dist/Components/Common/Model/Model.js +56 -56
- package/dist/Components/Common/MultipleSelectDropdown/index.js +124 -124
- package/dist/Components/Common/NotFound/index.js +19 -19
- package/dist/Components/Common/Title/Form.js +36 -36
- package/dist/Components/Common/Title/Styles.js +16 -16
- package/dist/Components/Common/Title/index.js +41 -41
- package/dist/Components/Common/Widget/index.js +407 -407
- package/dist/Pages/Dashboard/CreatePage.js +115 -115
- package/dist/Pages/Dashboard/index.js +150 -150
- package/dist/Pages/LayoutPages/index.js +143 -143
- package/dist/Pages/Layouts/index.js +52 -52
- package/dist/Services/Menu.js +58 -58
- package/dist/Services/Routing.js +80 -80
- package/dist/Utility/Contexts.js +20 -20
- package/dist/Utility/Main.js +368 -368
- package/dist/Utility/Routes.js +10 -10
- package/dist/index.js +15 -15
- package/dist/reportWebVitals.js +13 -13
- package/dist/setupTests.js +5 -5
- package/package.json +5 -4
package/dist/Utility/Routes.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import LayoutPages from "../Pages/LayoutPages";
|
|
3
|
-
import Dashboard from "../Pages/Dashboard";
|
|
4
|
-
export var RoutePath = function () {
|
|
5
|
-
var route = [
|
|
6
|
-
{ id: 1, path: '/', element: _jsx(Dashboard, { routeBackendUrl: 'http://localhost:8001/dev/api/v1/custom-layout/routing' }) },
|
|
7
|
-
{ id: 2, path: '/layout/:id', element: _jsx(LayoutPages, { routeBackendUrl: 'http://localhost:8001/dev/api/v1/custom-layout/routing', menuBackendUrl: 'http://localhost:8001/dev/api/v1/custom-layout/menu', headers: {}, frontendUrl: 'http://localhost:3000' }) },
|
|
8
|
-
];
|
|
9
|
-
return route;
|
|
10
|
-
};
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import LayoutPages from "../Pages/LayoutPages";
|
|
3
|
+
import Dashboard from "../Pages/Dashboard";
|
|
4
|
+
export var RoutePath = function () {
|
|
5
|
+
var route = [
|
|
6
|
+
{ id: 1, path: '/', element: _jsx(Dashboard, { routeBackendUrl: 'http://localhost:8001/dev/api/v1/custom-layout/routing' }) },
|
|
7
|
+
{ id: 2, path: '/layout/:id', element: _jsx(LayoutPages, { routeBackendUrl: 'http://localhost:8001/dev/api/v1/custom-layout/routing', menuBackendUrl: 'http://localhost:8001/dev/api/v1/custom-layout/menu', headers: {}, frontendUrl: 'http://localhost:3000' }) },
|
|
8
|
+
];
|
|
9
|
+
return route;
|
|
10
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { RouteContext } from './Utility/Contexts';
|
|
2
|
-
export { getRoutLists } from './Services/Routing';
|
|
3
|
-
export { getMenuList } from './Services/Menu';
|
|
4
|
-
export { default as CustomDashboard } from "./Pages/Dashboard";
|
|
5
|
-
export { default as LayoutPages } from "./Pages/LayoutPages";
|
|
6
|
-
export { default as Layouts } from "./Pages/Layouts";
|
|
7
|
-
// import ReactDOM from 'react-dom/client';
|
|
8
|
-
// import './index.css';
|
|
9
|
-
// import DOGraphs from './App';
|
|
10
|
-
// import reportWebVitals from './reportWebVitals';
|
|
11
|
-
// const root = ReactDOM.createRoot(
|
|
12
|
-
// document.getElementById('app') as HTMLElement
|
|
13
|
-
// );
|
|
14
|
-
// root.render(<DOGraphs />);
|
|
15
|
-
// reportWebVitals();
|
|
1
|
+
export { RouteContext } from './Utility/Contexts';
|
|
2
|
+
export { getRoutLists } from './Services/Routing';
|
|
3
|
+
export { getMenuList } from './Services/Menu';
|
|
4
|
+
export { default as CustomDashboard } from "./Pages/Dashboard";
|
|
5
|
+
export { default as LayoutPages } from "./Pages/LayoutPages";
|
|
6
|
+
export { default as Layouts } from "./Pages/Layouts";
|
|
7
|
+
// import ReactDOM from 'react-dom/client';
|
|
8
|
+
// import './index.css';
|
|
9
|
+
// import DOGraphs from './App';
|
|
10
|
+
// import reportWebVitals from './reportWebVitals';
|
|
11
|
+
// const root = ReactDOM.createRoot(
|
|
12
|
+
// document.getElementById('app') as HTMLElement
|
|
13
|
+
// );
|
|
14
|
+
// root.render(<DOGraphs />);
|
|
15
|
+
// reportWebVitals();
|
package/dist/reportWebVitals.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var reportWebVitals = function (onPerfEntry) {
|
|
2
|
-
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
3
|
-
import('web-vitals').then(function (_a) {
|
|
4
|
-
var getCLS = _a.getCLS, getFID = _a.getFID, getFCP = _a.getFCP, getLCP = _a.getLCP, getTTFB = _a.getTTFB;
|
|
5
|
-
getCLS(onPerfEntry);
|
|
6
|
-
getFID(onPerfEntry);
|
|
7
|
-
getFCP(onPerfEntry);
|
|
8
|
-
getLCP(onPerfEntry);
|
|
9
|
-
getTTFB(onPerfEntry);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
export default reportWebVitals;
|
|
1
|
+
var reportWebVitals = function (onPerfEntry) {
|
|
2
|
+
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
3
|
+
import('web-vitals').then(function (_a) {
|
|
4
|
+
var getCLS = _a.getCLS, getFID = _a.getFID, getFCP = _a.getFCP, getLCP = _a.getLCP, getTTFB = _a.getTTFB;
|
|
5
|
+
getCLS(onPerfEntry);
|
|
6
|
+
getFID(onPerfEntry);
|
|
7
|
+
getFCP(onPerfEntry);
|
|
8
|
+
getLCP(onPerfEntry);
|
|
9
|
+
getTTFB(onPerfEntry);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export default reportWebVitals;
|
package/dist/setupTests.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
|
2
|
-
// allows you to do things like:
|
|
3
|
-
// expect(element).toHaveTextContent(/react/i)
|
|
4
|
-
// learn more: https://github.com/testing-library/jest-dom
|
|
5
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
|
2
|
+
// allows you to do things like:
|
|
3
|
+
// expect(element).toHaveTextContent(/react/i)
|
|
4
|
+
// learn more: https://github.com/testing-library/jest-dom
|
|
5
|
+
import '@testing-library/jest-dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@msrajawat298/do-graphs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Mayank Singh Kushwah",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,9 +49,10 @@
|
|
|
49
49
|
"test": "react-scripts test",
|
|
50
50
|
"eject": "react-scripts eject",
|
|
51
51
|
"clean": "rimraf dist/",
|
|
52
|
-
"copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css src/Assets
|
|
52
|
+
"copy-files": "copyfiles -u 1 \"src/**/*.html\" \"src/**/*.css\" \"src/Assets/**/*\" dist/",
|
|
53
53
|
"build": "npm run clean && tsc && npm run copy-files",
|
|
54
|
-
"prepublishOnly": "npm run build"
|
|
54
|
+
"prepublishOnly": "npm run build",
|
|
55
|
+
"build:watch": "tsc -w && npm run copy-files"
|
|
55
56
|
},
|
|
56
57
|
"eslintConfig": {
|
|
57
58
|
"extends": [
|
|
@@ -69,4 +70,4 @@
|
|
|
69
70
|
"copyfiles": "^2.4.1",
|
|
70
71
|
"rimraf": "^6.0.1"
|
|
71
72
|
}
|
|
72
|
-
}
|
|
73
|
+
}
|