@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.
Files changed (49) hide show
  1. package/dist/App.js +124 -124
  2. package/dist/App.test.js +8 -8
  3. package/dist/Components/Charts/Bar/Form.js +231 -231
  4. package/dist/Components/Charts/Bar/Format.js +43 -43
  5. package/dist/Components/Charts/Bar/index.js +106 -106
  6. package/dist/Components/Charts/DoughnutAndPie/Form.js +232 -232
  7. package/dist/Components/Charts/DoughnutAndPie/Format.js +52 -52
  8. package/dist/Components/Charts/DoughnutAndPie/index.js +106 -106
  9. package/dist/Components/Charts/DrawGraph.js +32 -32
  10. package/dist/Components/Charts/Line/Form.js +231 -231
  11. package/dist/Components/Charts/Line/Format.js +47 -47
  12. package/dist/Components/Charts/Line/index.js +106 -106
  13. package/dist/Components/Charts/MixedChart/index.js +107 -107
  14. package/dist/Components/Charts/Options.js +139 -139
  15. package/dist/Components/Charts/PolarArea/Form.js +225 -225
  16. package/dist/Components/Charts/PolarArea/Format.js +42 -42
  17. package/dist/Components/Charts/PolarArea/index.js +106 -106
  18. package/dist/Components/Charts/Progess/Form.js +107 -107
  19. package/dist/Components/Charts/Progess/index.js +119 -119
  20. package/dist/Components/Charts/Scatter/Form.js +225 -225
  21. package/dist/Components/Charts/Scatter/Format.js +45 -45
  22. package/dist/Components/Charts/Scatter/index.js +106 -106
  23. package/dist/Components/Charts/Table/Form.js +70 -70
  24. package/dist/Components/Charts/Table/Styles.js +27 -27
  25. package/dist/Components/Charts/Table/index.js +56 -56
  26. package/dist/Components/Common/CustomComponent/index.js +85 -83
  27. package/dist/Components/Common/Menu/DynamicMenu/List.js +43 -43
  28. package/dist/Components/Common/Menu/DynamicMenu/index.js +155 -155
  29. package/dist/Components/Common/Menu/index.js +24 -24
  30. package/dist/Components/Common/Model/Model.js +56 -56
  31. package/dist/Components/Common/MultipleSelectDropdown/index.js +124 -124
  32. package/dist/Components/Common/NotFound/index.js +19 -19
  33. package/dist/Components/Common/Title/Form.js +36 -36
  34. package/dist/Components/Common/Title/Styles.js +16 -16
  35. package/dist/Components/Common/Title/index.js +41 -41
  36. package/dist/Components/Common/Widget/index.js +407 -407
  37. package/dist/Pages/Dashboard/CreatePage.js +115 -115
  38. package/dist/Pages/Dashboard/index.js +150 -150
  39. package/dist/Pages/LayoutPages/index.js +143 -143
  40. package/dist/Pages/Layouts/index.js +52 -52
  41. package/dist/Services/Menu.js +58 -58
  42. package/dist/Services/Routing.js +80 -80
  43. package/dist/Utility/Contexts.js +20 -20
  44. package/dist/Utility/Main.js +368 -368
  45. package/dist/Utility/Routes.js +10 -10
  46. package/dist/index.js +15 -15
  47. package/dist/reportWebVitals.js +13 -13
  48. package/dist/setupTests.js +5 -5
  49. package/package.json +5 -4
@@ -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();
@@ -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;
@@ -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.1",
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/** dist/",
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
+ }