@msrajawat298/do-graphs 1.0.0 → 1.0.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.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/dist/App.js +124 -124
  3. package/dist/App.test.js +8 -8
  4. package/dist/Components/Charts/Bar/Form.js +231 -231
  5. package/dist/Components/Charts/Bar/Format.js +43 -43
  6. package/dist/Components/Charts/Bar/index.js +106 -106
  7. package/dist/Components/Charts/DoughnutAndPie/Form.js +232 -232
  8. package/dist/Components/Charts/DoughnutAndPie/Format.js +52 -52
  9. package/dist/Components/Charts/DoughnutAndPie/index.js +106 -106
  10. package/dist/Components/Charts/DrawGraph.js +32 -32
  11. package/dist/Components/Charts/Line/Form.js +231 -231
  12. package/dist/Components/Charts/Line/Format.js +47 -47
  13. package/dist/Components/Charts/Line/index.js +106 -106
  14. package/dist/Components/Charts/MixedChart/index.js +107 -107
  15. package/dist/Components/Charts/Options.js +139 -139
  16. package/dist/Components/Charts/PolarArea/Form.js +225 -225
  17. package/dist/Components/Charts/PolarArea/Format.js +42 -42
  18. package/dist/Components/Charts/PolarArea/index.js +106 -106
  19. package/dist/Components/Charts/Progess/Form.js +107 -107
  20. package/dist/Components/Charts/Progess/index.js +119 -119
  21. package/dist/Components/Charts/Scatter/Form.js +225 -225
  22. package/dist/Components/Charts/Scatter/Format.js +45 -45
  23. package/dist/Components/Charts/Scatter/index.js +106 -106
  24. package/dist/Components/Charts/Table/Form.js +70 -70
  25. package/dist/Components/Charts/Table/Styles.js +27 -27
  26. package/dist/Components/Charts/Table/index.js +56 -56
  27. package/dist/Components/Common/CustomComponent/index.js +83 -83
  28. package/dist/Components/Common/Menu/DynamicMenu/List.js +43 -43
  29. package/dist/Components/Common/Menu/DynamicMenu/index.js +155 -155
  30. package/dist/Components/Common/Menu/index.js +24 -24
  31. package/dist/Components/Common/Model/Model.js +56 -56
  32. package/dist/Components/Common/MultipleSelectDropdown/index.js +124 -124
  33. package/dist/Components/Common/NotFound/index.js +19 -19
  34. package/dist/Components/Common/Title/Form.js +36 -36
  35. package/dist/Components/Common/Title/Styles.js +16 -16
  36. package/dist/Components/Common/Title/index.js +41 -41
  37. package/dist/Components/Common/Widget/index.js +407 -407
  38. package/dist/Pages/Dashboard/CreatePage.js +115 -115
  39. package/dist/Pages/Dashboard/index.js +150 -150
  40. package/dist/Pages/LayoutPages/index.js +143 -143
  41. package/dist/Pages/Layouts/index.js +52 -52
  42. package/dist/Services/Menu.js +58 -58
  43. package/dist/Services/Routing.js +80 -80
  44. package/dist/Utility/Contexts.js +20 -20
  45. package/dist/Utility/Main.js +368 -368
  46. package/dist/Utility/Routes.js +10 -10
  47. package/dist/index.js +15 -15
  48. package/dist/reportWebVitals.js +13 -13
  49. package/dist/setupTests.js +5 -5
  50. package/package.json +4 -3
  51. package/dist/Assets/Fonts/NotoSans-Bold.ttf +0 -0
  52. package/dist/Assets/Fonts/NotoSans-Medium.ttf +0 -0
  53. package/dist/Assets/Fonts/NotoSans-Regular.ttf +0 -0
  54. package/dist/Assets/Fonts/NotoSans-SemiBold.ttf +0 -0
  55. package/dist/Assets/Images/analytic-graph.png +0 -0
  56. package/dist/Assets/Images/bar-graph.png +0 -0
  57. package/dist/Assets/Images/bubble-chart.png +0 -0
  58. package/dist/Assets/Images/coding.png +0 -0
  59. package/dist/Assets/Images/doughnut.png +0 -0
  60. package/dist/Assets/Images/horizontal-bar-graph.png +0 -0
  61. package/dist/Assets/Images/line-chart.png +0 -0
  62. package/dist/Assets/Images/mixed-chart.png +0 -0
  63. package/dist/Assets/Images/pie-chart.png +0 -0
  64. package/dist/Assets/Images/polar-chart.png +0 -0
  65. package/dist/Assets/Images/progress-bar.png +0 -0
  66. package/dist/Assets/Images/scatter-graph.png +0 -0
  67. package/dist/Assets/Images/table.png +0 -0
  68. package/dist/Assets/Images/travel.png +0 -0
@@ -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.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "author": "Mayank Singh Kushwah",
6
6
  "license": "MIT",
@@ -51,7 +51,8 @@
51
51
  "clean": "rimraf dist/",
52
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
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file