inboxlookup_screen 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.
- package/README.md +70 -0
- package/dist/assets/09394b2afc53828fe342.otf +0 -0
- package/dist/assets/6537363fd5b802d5049c.woff2 +0 -0
- package/dist/assets/7287d1faf8f8e079aeab.ttf +0 -0
- package/dist/assets/9ac1f13f07c4503334c7.woff +0 -0
- package/dist/assets/ba20f6b82215cbe1b080.woff2 +0 -0
- package/dist/assets/c120fd44dc6e07624cd1.woff +0 -0
- package/dist/assets/icons/dxicons.ttf +0 -0
- package/dist/assets/icons/dxicons.woff +0 -0
- package/dist/assets/icons/dxicons.woff2 +0 -0
- package/dist/assets/icons/dxiconsfluent.ttf +0 -0
- package/dist/assets/icons/dxiconsfluent.woff +0 -0
- package/dist/assets/icons/dxiconsfluent.woff2 +0 -0
- package/dist/assets/icons/dxiconsmaterial.ttf +0 -0
- package/dist/assets/icons/dxiconsmaterial.woff +0 -0
- package/dist/assets/icons/dxiconsmaterial.woff2 +0 -0
- package/dist/index.html +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +14 -0
- package/package.json +55 -0
- package/src/App.css +38 -0
- package/src/App.js +33 -0
- package/src/App.test.js +8 -0
- package/src/Common/CustomLoadingPanel.js +43 -0
- package/src/assets/Desktop.png +0 -0
- package/src/assets/Excel.png +0 -0
- package/src/assets/Thumbs.db +0 -0
- package/src/assets/apps.png +0 -0
- package/src/assets/arc_flow.png +0 -0
- package/src/assets/circle_icons.png +0 -0
- package/src/assets/close.png +0 -0
- package/src/assets/connection.png +0 -0
- package/src/assets/csv.png +0 -0
- package/src/assets/data_preview.png +0 -0
- package/src/assets/database1.png +0 -0
- package/src/assets/date_refresh.png +0 -0
- package/src/assets/delete.png +0 -0
- package/src/assets/edit.png +0 -0
- package/src/assets/filter.png +0 -0
- package/src/assets/fonts/FontAwesome.otf +0 -0
- package/src/assets/fonts/Proxima-Nova-Bold.otf +0 -0
- package/src/assets/fonts/fa-brands-400.eot +0 -0
- package/src/assets/fonts/fa-brands-400.svg +1008 -0
- package/src/assets/fonts/fa-brands-400.ttf +0 -0
- package/src/assets/fonts/fa-brands-400.woff +0 -0
- package/src/assets/fonts/fa-brands-400.woff2 +0 -0
- package/src/assets/fonts/fa-regular-400.eot +0 -0
- package/src/assets/fonts/fa-regular-400.svg +366 -0
- package/src/assets/fonts/fa-regular-400.ttf +0 -0
- package/src/assets/fonts/fa-regular-400.woff +0 -0
- package/src/assets/fonts/fa-regular-400.woff2 +0 -0
- package/src/assets/fonts/fa-solid-900.eot +0 -0
- package/src/assets/fonts/fa-solid-900.svg +1518 -0
- package/src/assets/fonts/fa-solid-900.ttf +0 -0
- package/src/assets/fonts/fa-solid-900.woff +0 -0
- package/src/assets/fonts/fa-solid-900.woff2 +0 -0
- package/src/assets/fonts/fontawesome-webfont.eot +0 -0
- package/src/assets/fonts/fontawesome-webfont.svg +2671 -0
- package/src/assets/fonts/fontawesome-webfont.ttf +0 -0
- package/src/assets/fonts/fontawesome-webfont.woff +0 -0
- package/src/assets/fonts/fontawesome-webfont.woff2 +0 -0
- package/src/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/assets/fonts/proxima_nova_thin-webfont.woff +0 -0
- package/src/assets/fonts/proxima_nova_thin-webfont.woff2 +0 -0
- package/src/assets/fonts/proximanova-regular-webfont.woff +0 -0
- package/src/assets/fonts/proximanova-regular-webfont.woff2 +0 -0
- package/src/assets/logo_preview.png +0 -0
- package/src/assets/mail.png +0 -0
- package/src/assets/map_white 2.png +0 -0
- package/src/assets/map_white.png +0 -0
- package/src/assets/mapping.png +0 -0
- package/src/assets/notifications.png +0 -0
- package/src/assets/plus_add.png +0 -0
- package/src/assets/plusadd_white.png +0 -0
- package/src/assets/tick.png +0 -0
- package/src/assets/user.jpg +0 -0
- package/src/assets/user_setting.png +0 -0
- package/src/assets/wDesktop.png +0 -0
- package/src/assets/wconnction.png +0 -0
- package/src/assets/wdata_preview.png +0 -0
- package/src/assets/wdate_refresh.png +0 -0
- package/src/assets/wmapping.png +0 -0
- package/src/assets/wplus.png +0 -0
- package/src/components/Service/OrdersMasterDetail.css +427 -0
- package/src/components/Service/OrdersMasterDetail.js +1123 -0
- package/src/devextreme-license.js +1 -0
- package/src/index.css +13 -0
- package/src/index.js +261 -0
- package/src/logo.svg +1 -0
- package/src/reportWebVitals.js +13 -0
- package/src/routes/AppRoutes.js +18 -0
- package/src/setupTests.js +5 -0
- package/src/styles/UserDashBoard.css +1843 -0
- package/src/utils/ToastContext.js +34 -0
- package/src/utils/commonSchema.js +29 -0
- package/src/utils/helperFunctions.js +24 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const licenseKey = "ewogICJmb3JtYXQiOiAxLAogICJjdXN0b21lcklkIjogIjhiZGIzM2I0LWE0YTktNGViYS05ZjhkLTY0NTVmNmYyOThiZSIsCiAgIm1heFZlcnNpb25BbGxvd2VkIjogMjQyCn0=.UVvc2/hmUQwH85cL9+EQwrrwiXGZbuZV22WA3Pm2DplGyo6oqFoSBTycnzR5pq3LeEXDW/7neFeA9LLKUO17cz6LqCR+sntUiLVkSBYU73OA3iybdh4IIACRh9hjtoxF5gJUaA==";
|
package/src/index.css
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
4
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
5
|
+
sans-serif;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
-moz-osx-font-smoothing: grayscale;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
code {
|
|
11
|
+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
12
|
+
monospace;
|
|
13
|
+
}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
// import React, { useState, useEffect } from "react";
|
|
2
|
+
// import "./styles/custom_field.css";
|
|
3
|
+
// import SubPanel from "./components/SubPanel";
|
|
4
|
+
// import "devextreme/dist/css/dx.light.css";
|
|
5
|
+
// import { BrowserRouter } from "react-router-dom";
|
|
6
|
+
// import { ToastProvider, useToast } from "./utils/ToastContext";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// const FieldMapping = () => {
|
|
10
|
+
// const [apiResponse, setApiResponse] = useState(null);
|
|
11
|
+
// const [isLoading, setIsLoading] = useState(true);
|
|
12
|
+
// const [error, setError] = useState(null);
|
|
13
|
+
// const { showToast } = useToast();
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// const API_URL =
|
|
17
|
+
// "https://arcdev.accesshealthcare.com/ETL/api/ETLApi/GetFieldListForProcessMapping?processId=20";
|
|
18
|
+
|
|
19
|
+
// useEffect(() => {
|
|
20
|
+
// const fetchData = async () => {
|
|
21
|
+
// try {
|
|
22
|
+
// const response = await fetch(API_URL);
|
|
23
|
+
// if (!response.ok) {
|
|
24
|
+
// throw new Error(`HTTP error! Status: ${response.status}`);
|
|
25
|
+
// }
|
|
26
|
+
// const data = await response.json();
|
|
27
|
+
// setApiResponse(data);
|
|
28
|
+
// } catch (err) {
|
|
29
|
+
// setError(err.message);
|
|
30
|
+
// } finally {
|
|
31
|
+
// setIsLoading(false);
|
|
32
|
+
// }
|
|
33
|
+
// };
|
|
34
|
+
|
|
35
|
+
// fetchData();
|
|
36
|
+
// }, []);
|
|
37
|
+
|
|
38
|
+
// if (isLoading) return <div>Loading...</div>;
|
|
39
|
+
// if (error) return <div>Error: {error}</div>;
|
|
40
|
+
|
|
41
|
+
// const validate = () => {
|
|
42
|
+
// showToast("Some mapper field is incorrect, Please check and update");
|
|
43
|
+
// }
|
|
44
|
+
|
|
45
|
+
// const { fields, fieldMappingConfigData } = apiResponse;
|
|
46
|
+
|
|
47
|
+
// // Group fields by TableName
|
|
48
|
+
// const groupedFields = fields.reduce((acc, field) => {
|
|
49
|
+
// const tableName = field.TableName;
|
|
50
|
+
|
|
51
|
+
// if (!acc[tableName]) acc[tableName] = [];
|
|
52
|
+
// acc[tableName].push(field);
|
|
53
|
+
|
|
54
|
+
// return acc;
|
|
55
|
+
// }, {});
|
|
56
|
+
|
|
57
|
+
// const getMapperOptions = (cpTableId) => {
|
|
58
|
+
// if (!cpTableId) return [];
|
|
59
|
+
// return fieldMappingConfigData.fieldData
|
|
60
|
+
// .filter((field) => field.CpTableId === cpTableId)
|
|
61
|
+
// .map((mapping) => ({
|
|
62
|
+
// value: mapping.Column,
|
|
63
|
+
// label: mapping.Column,
|
|
64
|
+
// }));
|
|
65
|
+
// };
|
|
66
|
+
|
|
67
|
+
// const relationshipData = fieldMappingConfigData.relationshipData;
|
|
68
|
+
|
|
69
|
+
// return (
|
|
70
|
+
// <div>
|
|
71
|
+
// <div className="container-fluid">
|
|
72
|
+
// <div className="sectionpanel">
|
|
73
|
+
|
|
74
|
+
// <div className="boxpanel submenulist">
|
|
75
|
+
// <BrowserRouter>
|
|
76
|
+
// <SubPanel />
|
|
77
|
+
// </BrowserRouter> <div className="content_section">
|
|
78
|
+
// <div className="datalevel">
|
|
79
|
+
// <h3 className="fieldmapping_title">Field Mapping </h3>
|
|
80
|
+
// </div>
|
|
81
|
+
|
|
82
|
+
// <div className="contentbox">
|
|
83
|
+
// <div className="content">
|
|
84
|
+
// <div className="acc accordated">
|
|
85
|
+
// {Object.entries(groupedFields).map(([tableName, fields]) => (
|
|
86
|
+
// <div className="acc__card" key={tableName}>
|
|
87
|
+
// <div className="acc__title active">{tableName}</div>
|
|
88
|
+
// <div className="acc__panel" style={{ display: "block" }}>
|
|
89
|
+
// <table className="table encounter_tables">
|
|
90
|
+
// <thead>
|
|
91
|
+
// <tr>
|
|
92
|
+
// <th>Fields</th>
|
|
93
|
+
// <th>Mandatory</th>
|
|
94
|
+
// <th>Mapper Column</th>
|
|
95
|
+
// </tr>
|
|
96
|
+
// </thead>
|
|
97
|
+
// <tbody>
|
|
98
|
+
// {fields.map((field) => (
|
|
99
|
+
// <tr key={field.FieldId}>
|
|
100
|
+
// <td>{field.FieldsName}</td>
|
|
101
|
+
// <td>
|
|
102
|
+
// {field.IsRequired ? (
|
|
103
|
+
// <img
|
|
104
|
+
// src="data:image/png;base64,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"
|
|
105
|
+
// className="tick_image"
|
|
106
|
+
// alt="Mandatory"
|
|
107
|
+
// />
|
|
108
|
+
// ) : (
|
|
109
|
+
// <img
|
|
110
|
+
// src="http://10.20.0.187:84/ETL/image/disablecheck.png"
|
|
111
|
+
// className="tick_image"
|
|
112
|
+
// alt="Mandatory"
|
|
113
|
+
// />
|
|
114
|
+
// )}
|
|
115
|
+
// </td>
|
|
116
|
+
// <td>
|
|
117
|
+
// <select
|
|
118
|
+
// className="fieldmappingSelect"
|
|
119
|
+
// defaultValue={
|
|
120
|
+
// fieldMappingConfigData.fieldData.find(
|
|
121
|
+
// (mapping) =>
|
|
122
|
+
// mapping.FieldId === field.FieldId
|
|
123
|
+
// )?.Column || ""
|
|
124
|
+
// }
|
|
125
|
+
// onChange={(e) =>
|
|
126
|
+
// console.log(
|
|
127
|
+
// `Selected for ${field.FieldsName}: ${e.target.value}`
|
|
128
|
+
// )
|
|
129
|
+
// }
|
|
130
|
+
// >
|
|
131
|
+
// <option value="" disabled>
|
|
132
|
+
// Select an option
|
|
133
|
+
// </option>
|
|
134
|
+
// {getMapperOptions(
|
|
135
|
+
// field.CptableId
|
|
136
|
+
// ).map((option) => (
|
|
137
|
+
// <option
|
|
138
|
+
// key={option.value}
|
|
139
|
+
// value={option.value}
|
|
140
|
+
// >
|
|
141
|
+
// {option.label}
|
|
142
|
+
// </option>
|
|
143
|
+
// ))}
|
|
144
|
+
// </select>
|
|
145
|
+
// </td>
|
|
146
|
+
// </tr>
|
|
147
|
+
// ))}
|
|
148
|
+
// </tbody>
|
|
149
|
+
// </table>
|
|
150
|
+
|
|
151
|
+
// {/* Relationship Section */}
|
|
152
|
+
// {relationshipData
|
|
153
|
+
// .filter(
|
|
154
|
+
// (relation) =>
|
|
155
|
+
// relation.CpTableId === fields[0]?.CptableId
|
|
156
|
+
// )
|
|
157
|
+
// .map((relation) => (
|
|
158
|
+
// <div
|
|
159
|
+
// className="relationship-section"
|
|
160
|
+
// key={relation.CpTableId}
|
|
161
|
+
// style={{
|
|
162
|
+
// marginTop: "15px",
|
|
163
|
+
// display: "flex",
|
|
164
|
+
// alignItems: "center",
|
|
165
|
+
// }}
|
|
166
|
+
// >
|
|
167
|
+
// <label
|
|
168
|
+
// style={{ marginRight: "10px", fontWeight: "bold" }}
|
|
169
|
+
// >
|
|
170
|
+
// Relationship
|
|
171
|
+
// </label>
|
|
172
|
+
// <select
|
|
173
|
+
// className="relationshipSelect"
|
|
174
|
+
// defaultValue={relation.JoinType}
|
|
175
|
+
// style={{ marginRight: "10px", width: "150px" }}
|
|
176
|
+
// disabled
|
|
177
|
+
// >
|
|
178
|
+
// <option value="From">From</option>
|
|
179
|
+
// <option value="Inner">Inner Join</option>
|
|
180
|
+
// <option value="Left">Left Join</option>
|
|
181
|
+
// </select>
|
|
182
|
+
// <label>{relation.DsName}</label>
|
|
183
|
+
// <input
|
|
184
|
+
// type="text"
|
|
185
|
+
// value={relation.JoinColumn}
|
|
186
|
+
// className="form-control"
|
|
187
|
+
// style={{ marginLeft: "10px", width: "300px" }}
|
|
188
|
+
// disabled
|
|
189
|
+
// />
|
|
190
|
+
// </div>
|
|
191
|
+
// ))}
|
|
192
|
+
// </div>
|
|
193
|
+
// </div>
|
|
194
|
+
// ))}
|
|
195
|
+
// </div>
|
|
196
|
+
// <div className="footerlevel">
|
|
197
|
+
// <div className="footerbutton">
|
|
198
|
+
// <button
|
|
199
|
+
// onClick={validate}
|
|
200
|
+
// type="button"
|
|
201
|
+
// className="btn btn-default btnsave"
|
|
202
|
+
// data-dismiss="modal"
|
|
203
|
+
// >
|
|
204
|
+
// Validate And Save
|
|
205
|
+
// </button>
|
|
206
|
+
// </div>
|
|
207
|
+
// </div>
|
|
208
|
+
// </div>
|
|
209
|
+
// </div>
|
|
210
|
+
// </div>
|
|
211
|
+
// </div>
|
|
212
|
+
// </div>
|
|
213
|
+
// </div>
|
|
214
|
+
// </div>
|
|
215
|
+
// );
|
|
216
|
+
// };
|
|
217
|
+
|
|
218
|
+
// const App = () => (
|
|
219
|
+
// <ToastProvider>
|
|
220
|
+
// <FieldMapping />
|
|
221
|
+
// </ToastProvider>
|
|
222
|
+
// );
|
|
223
|
+
|
|
224
|
+
// export default App;
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
// import React from "react";
|
|
228
|
+
// import AppRoutes from "./routes/AppRoutes"; // Adjust path as needed
|
|
229
|
+
// import store from './redux/store';
|
|
230
|
+
// import { Provider } from "react-redux";
|
|
231
|
+
// import 'devextreme/dist/css/dx.light.css';
|
|
232
|
+
// import DashBoard from './components/DashBoard'; // Import components
|
|
233
|
+
|
|
234
|
+
// import config from 'devextreme/core/config';
|
|
235
|
+
// import { licenseKey } from './devextreme-license';
|
|
236
|
+
|
|
237
|
+
// config({ licenseKey });
|
|
238
|
+
// const App = (props) => (
|
|
239
|
+
// <Provider store={store}>
|
|
240
|
+
// <DashBoard {...props}/>
|
|
241
|
+
// </Provider>
|
|
242
|
+
|
|
243
|
+
// );
|
|
244
|
+
// export default App;
|
|
245
|
+
import React from "react";
|
|
246
|
+
// import { Provider } from "react-redux";
|
|
247
|
+
import 'devextreme/dist/css/dx.light.css';
|
|
248
|
+
import OrdersMasterDetail from "./components/Service/OrdersMasterDetail";
|
|
249
|
+
|
|
250
|
+
import config from 'devextreme/core/config';
|
|
251
|
+
import { licenseKey } from './devextreme-license';
|
|
252
|
+
|
|
253
|
+
config({ licenseKey });
|
|
254
|
+
|
|
255
|
+
const App = (props) => (
|
|
256
|
+
// <Provider>
|
|
257
|
+
<OrdersMasterDetail {...props} />
|
|
258
|
+
// </Provider>
|
|
259
|
+
);
|
|
260
|
+
|
|
261
|
+
export default App;
|
package/src/logo.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const reportWebVitals = onPerfEntry => {
|
|
2
|
+
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
3
|
+
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
|
4
|
+
getCLS(onPerfEntry);
|
|
5
|
+
getFID(onPerfEntry);
|
|
6
|
+
getFCP(onPerfEntry);
|
|
7
|
+
getLCP(onPerfEntry);
|
|
8
|
+
getTTFB(onPerfEntry);
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export default reportWebVitals;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { HashRouter, Routes, Route, Navigate } from 'react-router-dom'; // Correct imports
|
|
4
|
+
import OrdersMasterDetail from "./components/Service/OrdersMasterDetail";
|
|
5
|
+
|
|
6
|
+
const AppRoutes = (props) => {
|
|
7
|
+
return (
|
|
8
|
+
<HashRouter> {/* Wrap the app in HashRouter */}
|
|
9
|
+
<Routes>
|
|
10
|
+
<Route path="/" element={<OrdersMasterDetail />} />
|
|
11
|
+
|
|
12
|
+
</Routes>
|
|
13
|
+
</HashRouter>
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default AppRoutes;
|
|
18
|
+
|