namirasoft-site-react 1.2.41 → 1.2.43
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/.gitlab-ci.yml +14 -14
- package/config-overrides.js +65 -65
- package/dist/App.d.ts +3 -3
- package/dist/App.js +8 -8
- package/dist/assets/images/arrow.svg +3 -3
- package/dist/assets/images/danger.svg +3 -3
- package/dist/assets/images/exit.svg +3 -3
- package/dist/assets/images/icon-input-date.svg +9 -9
- package/dist/assets/images/icon-input-duration.svg +9 -9
- package/dist/assets/images/icon-input-email.svg +9 -9
- package/dist/assets/images/icon-input-float.svg +9 -9
- package/dist/assets/images/icon-input-id.svg +9 -9
- package/dist/assets/images/icon-input-integer.svg +9 -9
- package/dist/assets/images/icon-input-phone.svg +9 -9
- package/dist/assets/images/icon-input-price.svg +9 -9
- package/dist/assets/images/icon-input-search.svg +4 -4
- package/dist/assets/images/icon-input-string.svg +9 -9
- package/dist/assets/images/icon-input-text.svg +9 -9
- package/dist/assets/images/icon-input-time.svg +9 -9
- package/dist/assets/images/logo.svg +9 -9
- package/dist/assets/images/menu.svg +3 -3
- package/dist/assets/images/namira.svg +9 -9
- package/dist/assets/images/rectangle.svg +3 -3
- package/dist/components/NSButtonGreen.d.ts +16 -16
- package/dist/components/NSButtonGreen.js +16 -16
- package/dist/components/NSButtonRed.d.ts +16 -16
- package/dist/components/NSButtonRed.js +16 -16
- package/dist/components/NSCard.d.ts +20 -20
- package/dist/components/NSCard.js +12 -12
- package/dist/components/NSFooter.d.ts +20 -20
- package/dist/components/NSFooter.js +46 -46
- package/dist/components/NSHeader.d.ts +23 -23
- package/dist/components/NSHeader.js +60 -60
- package/dist/components/NSInputDate.d.ts +15 -15
- package/dist/components/NSInputDate.js +27 -27
- package/dist/components/NSInputDuration.d.ts +15 -15
- package/dist/components/NSInputDuration.js +28 -28
- package/dist/components/NSInputEmail.d.ts +16 -16
- package/dist/components/NSInputEmail.js +36 -36
- package/dist/components/NSInputEmail.module.css +37 -37
- package/dist/components/NSInputFloat.d.ts +15 -15
- package/dist/components/NSInputFloat.js +28 -28
- package/dist/components/NSInputFloat.module.css +25 -25
- package/dist/components/NSInputIP.d.ts +15 -15
- package/dist/components/NSInputIP.js +28 -28
- package/dist/components/NSInputIP.module.css +25 -25
- package/dist/components/NSInputInteger.d.ts +15 -15
- package/dist/components/NSInputInteger.js +28 -28
- package/dist/components/NSInputInteger.module.css +25 -25
- package/dist/components/NSInputPhone.d.ts +16 -16
- package/dist/components/NSInputPhone.js +30 -30
- package/dist/components/NSInputPhone.module.css +32 -32
- package/dist/components/NSInputPrice.d.ts +17 -17
- package/dist/components/NSInputPrice.js +31 -31
- package/dist/components/NSInputPrice.module.css +26 -26
- package/dist/components/NSInputSearch.d.ts +17 -17
- package/dist/components/NSInputSearch.js +37 -37
- package/dist/components/NSInputSearch.module.css +25 -25
- package/dist/components/NSInputString.d.ts +17 -17
- package/dist/components/NSInputString.js +31 -31
- package/dist/components/NSInputString.module.css +26 -26
- package/dist/components/NSInputText.d.ts +17 -17
- package/dist/components/NSInputText.js +31 -31
- package/dist/components/NSInputText.module.css +27 -27
- package/dist/components/NSInputTime.d.ts +15 -15
- package/dist/components/NSInputTime.js +28 -28
- package/dist/components/NSInputTime.module.css +26 -26
- package/dist/components/NSLayout.d.ts +8 -8
- package/dist/components/NSLayout.js +8 -8
- package/dist/components/NSLayout.module.css +16 -16
- package/dist/components/NSLayoutHeroBanner.d.ts +12 -12
- package/dist/components/NSLayoutHeroBanner.js +8 -8
- package/dist/components/NSLayoutHeroBanner.module.css +43 -43
- package/dist/components/NSLayoutTitle.d.ts +10 -10
- package/dist/components/NSLayoutTitle.js +6 -6
- package/dist/components/NSLinkGreen.d.ts +16 -16
- package/dist/components/NSLinkGreen.js +20 -20
- package/dist/components/NSLinkGreen.module.css +15 -15
- package/dist/components/NSLinkRed.d.ts +16 -16
- package/dist/components/NSLinkRed.js +20 -20
- package/dist/components/NSLinkRed.module.css +15 -15
- package/dist/components/NSPagination.d.ts +15 -15
- package/dist/components/NSPagination.js +35 -35
- package/dist/components/NSPagination.module.css +24 -24
- package/dist/components/NSParentCard.module.css +34 -34
- package/dist/components/NSSelectBox.d.ts +16 -16
- package/dist/components/NSSelectBox.js +24 -24
- package/dist/components/NSSelectBox.module.css +28 -28
- package/dist/components/NSTable.d.ts +28 -28
- package/dist/components/NSTable.js +20 -20
- package/dist/components/NSTable.modules.css +76 -76
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/main.d.ts +26 -26
- package/dist/main.js +26 -26
- package/dist/pages/NSLoginPage.d.ts +13 -13
- package/dist/pages/NSLoginPage.js +17 -17
- package/dist/pages/NSLoginPage.js.map +1 -1
- package/package.json +52 -52
- package/public/index.html +42 -42
- package/public/manifest.json +25 -25
- package/public/robots.txt +3 -3
- package/src/App.tsx +70 -70
- package/src/assets/images/arrow.svg +3 -3
- package/src/assets/images/danger.svg +3 -3
- package/src/assets/images/exit.svg +3 -3
- package/src/assets/images/icon-input-date.svg +9 -9
- package/src/assets/images/icon-input-duration.svg +9 -9
- package/src/assets/images/icon-input-email.svg +9 -9
- package/src/assets/images/icon-input-float.svg +9 -9
- package/src/assets/images/icon-input-id.svg +9 -9
- package/src/assets/images/icon-input-integer.svg +9 -9
- package/src/assets/images/icon-input-phone.svg +9 -9
- package/src/assets/images/icon-input-price.svg +9 -9
- package/src/assets/images/icon-input-search.svg +4 -4
- package/src/assets/images/icon-input-string.svg +9 -9
- package/src/assets/images/icon-input-text.svg +9 -9
- package/src/assets/images/icon-input-time.svg +9 -9
- package/src/assets/images/logo.svg +9 -9
- package/src/assets/images/menu.svg +3 -3
- package/src/assets/images/namira.svg +9 -9
- package/src/assets/images/rectangle.svg +3 -3
- package/src/components/NSButtonGreen.tsx +33 -33
- package/src/components/NSButtonRed.tsx +33 -33
- package/src/components/NSCard.tsx +54 -54
- package/src/components/NSFooter.tsx +123 -123
- package/src/components/NSHeader.tsx +134 -134
- package/src/components/NSInputDate.tsx +57 -57
- package/src/components/NSInputDuration.tsx +65 -65
- package/src/components/NSInputEmail.module.css +37 -37
- package/src/components/NSInputEmail.tsx +92 -92
- package/src/components/NSInputFloat.module.css +25 -25
- package/src/components/NSInputFloat.tsx +61 -61
- package/src/components/NSInputIP.module.css +25 -25
- package/src/components/NSInputIP.tsx +65 -65
- package/src/components/NSInputInteger.module.css +25 -25
- package/src/components/NSInputInteger.tsx +65 -65
- package/src/components/NSInputPhone.module.css +32 -32
- package/src/components/NSInputPhone.tsx +65 -65
- package/src/components/NSInputPrice.module.css +26 -26
- package/src/components/NSInputPrice.tsx +68 -68
- package/src/components/NSInputSearch.module.css +25 -25
- package/src/components/NSInputSearch.tsx +78 -78
- package/src/components/NSInputString.module.css +26 -26
- package/src/components/NSInputString.tsx +66 -66
- package/src/components/NSInputText.module.css +27 -27
- package/src/components/NSInputText.tsx +69 -69
- package/src/components/NSInputTime.module.css +26 -26
- package/src/components/NSInputTime.tsx +65 -65
- package/src/components/NSLayout.module.css +16 -16
- package/src/components/NSLayout.tsx +30 -30
- package/src/components/NSLayoutHeroBanner.module.css +43 -43
- package/src/components/NSLayoutHeroBanner.tsx +85 -85
- package/src/components/NSLayoutTitle.tsx +25 -25
- package/src/components/NSLinkGreen.module.css +15 -15
- package/src/components/NSLinkGreen.tsx +43 -43
- package/src/components/NSLinkRed.module.css +15 -15
- package/src/components/NSLinkRed.tsx +43 -43
- package/src/components/NSPagination.module.css +24 -24
- package/src/components/NSPagination.tsx +54 -54
- package/src/components/NSParentCard.module.css +34 -34
- package/src/components/NSParentCard.tsx.temp +58 -58
- package/src/components/NSSelectBox.module.css +28 -28
- package/src/components/NSSelectBox.tsx +62 -62
- package/src/components/NSTable.modules.css +76 -76
- package/src/components/NSTable.tsx +64 -64
- package/src/index.tsx +7 -7
- package/src/main.ts +25 -25
- package/src/pages/NSLoginPage.tsx +39 -39
- package/src/react-app-env.d.ts +1 -1
- package/tsconfig.json +37 -37
- package/dist/App.css +0 -0
- package/dist/assets/images/background.svg +0 -9
- package/dist/assets/images/left-vector.png +0 -0
- package/dist/assets/images/left_vector.png +0 -0
- package/dist/assets/images/right-vector.png +0 -0
- package/dist/assets/images/right_vector.png +0 -0
- package/dist/components/NSParentCard.d.ts +0 -0
- package/dist/components/NSParentCard.js +0 -2
- package/dist/components/NSParentCard.js.map +0 -1
- package/dist/index.css +0 -6
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
.thead th {
|
|
2
|
-
background-color: rgb(0, 0, 0, 0.3);
|
|
3
|
-
color: rgba(255, 255, 255, 1);
|
|
4
|
-
border: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.tbody th {
|
|
8
|
-
background-color: rgb(0, 0, 0, 0.3);
|
|
9
|
-
color: rgba(255, 255, 255, 1);
|
|
10
|
-
border: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.tbody td {
|
|
14
|
-
background-color: rgb(0, 0, 0, 0.3);
|
|
15
|
-
color: rgba(255, 255, 255, 1);
|
|
16
|
-
border: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.project_list_container {
|
|
20
|
-
border: none;
|
|
21
|
-
text-align: left;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media only screen and (max-width:600px) {
|
|
25
|
-
.project_list_container {
|
|
26
|
-
overflow: scroll;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/* table-satus */
|
|
31
|
-
.inqueue_status {
|
|
32
|
-
color: white;
|
|
33
|
-
background-color: rgba(255, 148, 50, 1);
|
|
34
|
-
font-size: 12px;
|
|
35
|
-
width: 96px;
|
|
36
|
-
height: 24px;
|
|
37
|
-
border-radius: 24px;
|
|
38
|
-
border: none;
|
|
39
|
-
text-align: center;
|
|
40
|
-
padding-top: 2px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.reserving_status {
|
|
44
|
-
color: white;
|
|
45
|
-
background-color: rgba(255, 79, 79, 1);
|
|
46
|
-
font-size: 12px;
|
|
47
|
-
width: 96px;
|
|
48
|
-
height: 24px;
|
|
49
|
-
border-radius: 24px;
|
|
50
|
-
border: none;
|
|
51
|
-
text-align: center;
|
|
52
|
-
padding-top: 2px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.done-status {
|
|
56
|
-
color: white;
|
|
57
|
-
background-color: rgba(6, 209, 130, 1);
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
width: 96px;
|
|
60
|
-
height: 24px;
|
|
61
|
-
border-radius: 24px;
|
|
62
|
-
border: none;
|
|
63
|
-
text-align: center;
|
|
64
|
-
padding-top: 2px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.inprogress_status {
|
|
68
|
-
color: white;
|
|
69
|
-
background-color: rgba(230, 208, 19, 1);
|
|
70
|
-
font-size: 12px;
|
|
71
|
-
width: 96px;
|
|
72
|
-
height: 24px;
|
|
73
|
-
border-radius: 24px;
|
|
74
|
-
border: none;
|
|
75
|
-
text-align: center;
|
|
76
|
-
padding-top: 2px;
|
|
1
|
+
.thead th {
|
|
2
|
+
background-color: rgb(0, 0, 0, 0.3);
|
|
3
|
+
color: rgba(255, 255, 255, 1);
|
|
4
|
+
border: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tbody th {
|
|
8
|
+
background-color: rgb(0, 0, 0, 0.3);
|
|
9
|
+
color: rgba(255, 255, 255, 1);
|
|
10
|
+
border: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tbody td {
|
|
14
|
+
background-color: rgb(0, 0, 0, 0.3);
|
|
15
|
+
color: rgba(255, 255, 255, 1);
|
|
16
|
+
border: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.project_list_container {
|
|
20
|
+
border: none;
|
|
21
|
+
text-align: left;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media only screen and (max-width:600px) {
|
|
25
|
+
.project_list_container {
|
|
26
|
+
overflow: scroll;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* table-satus */
|
|
31
|
+
.inqueue_status {
|
|
32
|
+
color: white;
|
|
33
|
+
background-color: rgba(255, 148, 50, 1);
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
width: 96px;
|
|
36
|
+
height: 24px;
|
|
37
|
+
border-radius: 24px;
|
|
38
|
+
border: none;
|
|
39
|
+
text-align: center;
|
|
40
|
+
padding-top: 2px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.reserving_status {
|
|
44
|
+
color: white;
|
|
45
|
+
background-color: rgba(255, 79, 79, 1);
|
|
46
|
+
font-size: 12px;
|
|
47
|
+
width: 96px;
|
|
48
|
+
height: 24px;
|
|
49
|
+
border-radius: 24px;
|
|
50
|
+
border: none;
|
|
51
|
+
text-align: center;
|
|
52
|
+
padding-top: 2px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.done-status {
|
|
56
|
+
color: white;
|
|
57
|
+
background-color: rgba(6, 209, 130, 1);
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
width: 96px;
|
|
60
|
+
height: 24px;
|
|
61
|
+
border-radius: 24px;
|
|
62
|
+
border: none;
|
|
63
|
+
text-align: center;
|
|
64
|
+
padding-top: 2px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.inprogress_status {
|
|
68
|
+
color: white;
|
|
69
|
+
background-color: rgba(230, 208, 19, 1);
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
width: 96px;
|
|
72
|
+
height: 24px;
|
|
73
|
+
border-radius: 24px;
|
|
74
|
+
border: none;
|
|
75
|
+
text-align: center;
|
|
76
|
+
padding-top: 2px;
|
|
77
77
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import './index.css';
|
|
1
|
+
import './index.css';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import ReactDOM from 'react-dom/client';
|
|
3
|
-
import './index.css';
|
|
4
|
-
import { App } from './App';
|
|
5
|
-
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
6
|
-
root.render(_jsx(App, {}));
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import ReactDOM from 'react-dom/client';
|
|
3
|
+
import './index.css';
|
|
4
|
+
import { App } from './App';
|
|
5
|
+
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
6
|
+
root.render(_jsx(App, {}));
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/main.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export * from "./components/NSButtonGreen";
|
|
2
|
-
export * from "./components/NSButtonRed";
|
|
3
|
-
export * from "./components/NSCard";
|
|
4
|
-
export * from "./components/NSFooter";
|
|
5
|
-
export * from "./components/NSHeader";
|
|
6
|
-
export * from "./components/NSInputDate";
|
|
7
|
-
export * from "./components/NSInputDuration";
|
|
8
|
-
export * from "./components/NSInputEmail";
|
|
9
|
-
export * from "./components/NSInputFloat";
|
|
10
|
-
export * from "./components/NSInputIP";
|
|
11
|
-
export * from "./components/NSInputInteger";
|
|
12
|
-
export * from "./components/NSInputPhone";
|
|
13
|
-
export * from "./components/NSInputPrice";
|
|
14
|
-
export * from "./components/NSInputSearch";
|
|
15
|
-
export * from "./components/NSInputString";
|
|
16
|
-
export * from "./components/NSInputText";
|
|
17
|
-
export * from "./components/NSInputTime";
|
|
18
|
-
export * from "./components/NSLayout";
|
|
19
|
-
export * from "./components/NSLayoutHeroBanner";
|
|
20
|
-
export * from "./components/NSLayoutTitle";
|
|
21
|
-
export * from "./components/NSSelectBox";
|
|
22
|
-
export * from "./components/NSLinkGreen";
|
|
23
|
-
export * from "./components/NSLinkRed";
|
|
24
|
-
export * from "./components/NSPagination";
|
|
25
|
-
export * from "./components/NSTable";
|
|
26
|
-
export * from "./pages/NSLoginPage";
|
|
1
|
+
export * from "./components/NSButtonGreen";
|
|
2
|
+
export * from "./components/NSButtonRed";
|
|
3
|
+
export * from "./components/NSCard";
|
|
4
|
+
export * from "./components/NSFooter";
|
|
5
|
+
export * from "./components/NSHeader";
|
|
6
|
+
export * from "./components/NSInputDate";
|
|
7
|
+
export * from "./components/NSInputDuration";
|
|
8
|
+
export * from "./components/NSInputEmail";
|
|
9
|
+
export * from "./components/NSInputFloat";
|
|
10
|
+
export * from "./components/NSInputIP";
|
|
11
|
+
export * from "./components/NSInputInteger";
|
|
12
|
+
export * from "./components/NSInputPhone";
|
|
13
|
+
export * from "./components/NSInputPrice";
|
|
14
|
+
export * from "./components/NSInputSearch";
|
|
15
|
+
export * from "./components/NSInputString";
|
|
16
|
+
export * from "./components/NSInputText";
|
|
17
|
+
export * from "./components/NSInputTime";
|
|
18
|
+
export * from "./components/NSLayout";
|
|
19
|
+
export * from "./components/NSLayoutHeroBanner";
|
|
20
|
+
export * from "./components/NSLayoutTitle";
|
|
21
|
+
export * from "./components/NSSelectBox";
|
|
22
|
+
export * from "./components/NSLinkGreen";
|
|
23
|
+
export * from "./components/NSLinkRed";
|
|
24
|
+
export * from "./components/NSPagination";
|
|
25
|
+
export * from "./components/NSTable";
|
|
26
|
+
export * from "./pages/NSLoginPage";
|
package/dist/main.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export * from "./components/NSButtonGreen";
|
|
2
|
-
export * from "./components/NSButtonRed";
|
|
3
|
-
export * from "./components/NSCard";
|
|
4
|
-
export * from "./components/NSFooter";
|
|
5
|
-
export * from "./components/NSHeader";
|
|
6
|
-
export * from "./components/NSInputDate";
|
|
7
|
-
export * from "./components/NSInputDuration";
|
|
8
|
-
export * from "./components/NSInputEmail";
|
|
9
|
-
export * from "./components/NSInputFloat";
|
|
10
|
-
export * from "./components/NSInputIP";
|
|
11
|
-
export * from "./components/NSInputInteger";
|
|
12
|
-
export * from "./components/NSInputPhone";
|
|
13
|
-
export * from "./components/NSInputPrice";
|
|
14
|
-
export * from "./components/NSInputSearch";
|
|
15
|
-
export * from "./components/NSInputString";
|
|
16
|
-
export * from "./components/NSInputText";
|
|
17
|
-
export * from "./components/NSInputTime";
|
|
18
|
-
export * from "./components/NSLayout";
|
|
19
|
-
export * from "./components/NSLayoutHeroBanner";
|
|
20
|
-
export * from "./components/NSLayoutTitle";
|
|
21
|
-
export * from "./components/NSSelectBox";
|
|
22
|
-
export * from "./components/NSLinkGreen";
|
|
23
|
-
export * from "./components/NSLinkRed";
|
|
24
|
-
export * from "./components/NSPagination";
|
|
25
|
-
export * from "./components/NSTable";
|
|
26
|
-
export * from "./pages/NSLoginPage";
|
|
1
|
+
export * from "./components/NSButtonGreen";
|
|
2
|
+
export * from "./components/NSButtonRed";
|
|
3
|
+
export * from "./components/NSCard";
|
|
4
|
+
export * from "./components/NSFooter";
|
|
5
|
+
export * from "./components/NSHeader";
|
|
6
|
+
export * from "./components/NSInputDate";
|
|
7
|
+
export * from "./components/NSInputDuration";
|
|
8
|
+
export * from "./components/NSInputEmail";
|
|
9
|
+
export * from "./components/NSInputFloat";
|
|
10
|
+
export * from "./components/NSInputIP";
|
|
11
|
+
export * from "./components/NSInputInteger";
|
|
12
|
+
export * from "./components/NSInputPhone";
|
|
13
|
+
export * from "./components/NSInputPrice";
|
|
14
|
+
export * from "./components/NSInputSearch";
|
|
15
|
+
export * from "./components/NSInputString";
|
|
16
|
+
export * from "./components/NSInputText";
|
|
17
|
+
export * from "./components/NSInputTime";
|
|
18
|
+
export * from "./components/NSLayout";
|
|
19
|
+
export * from "./components/NSLayoutHeroBanner";
|
|
20
|
+
export * from "./components/NSLayoutTitle";
|
|
21
|
+
export * from "./components/NSSelectBox";
|
|
22
|
+
export * from "./components/NSLinkGreen";
|
|
23
|
+
export * from "./components/NSLinkRed";
|
|
24
|
+
export * from "./components/NSPagination";
|
|
25
|
+
export * from "./components/NSTable";
|
|
26
|
+
export * from "./pages/NSLoginPage";
|
|
27
27
|
//# sourceMappingURL=main.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./NSLoginPage.modules.css";
|
|
2
|
-
import { Component } from 'react';
|
|
3
|
-
interface IProps {
|
|
4
|
-
title: string;
|
|
5
|
-
logo: string;
|
|
6
|
-
background: string;
|
|
7
|
-
href?: string;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare class NSLoginPage extends Component<IProps> {
|
|
11
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
1
|
+
import "./NSLoginPage.modules.css";
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
interface IProps {
|
|
4
|
+
title: string;
|
|
5
|
+
logo: string;
|
|
6
|
+
background: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare class NSLoginPage extends Component<IProps> {
|
|
11
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import "./NSLoginPage.modules.css";
|
|
4
|
-
import { Component } from 'react';
|
|
5
|
-
import { NSButtonGreen } from "../main";
|
|
6
|
-
import { NSLinkGreen } from "../main";
|
|
7
|
-
export class NSLoginPage extends Component {
|
|
8
|
-
render() {
|
|
9
|
-
var _a;
|
|
10
|
-
let button = _jsx(_Fragment, {});
|
|
11
|
-
if (this.props.href)
|
|
12
|
-
button = _jsx(NSLinkGreen, { title: "Login", href: (_a = this.props.href) !== null && _a !== void 0 ? _a : "" });
|
|
13
|
-
else if (this.props.onClick)
|
|
14
|
-
button = _jsx(NSButtonGreen, { title: "Login", onClick: this.props.onClick });
|
|
15
|
-
return (_jsx("div", Object.assign({ style: { backgroundImage: this.props.background } }, { children: _jsxs("div", Object.assign({ className: "d-flex flex-column align-items-center justify-content-center", style: { marginTop: "100px" } }, { children: [_jsx("div", Object.assign({ className: "m-auto" }, { children: _jsx("img", { width: 256, height: 256, src: this.props.logo, alt: "logo" }) })), _jsx("div", { children: _jsx("h1", Object.assign({ className: "text-
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import "./NSLoginPage.modules.css";
|
|
4
|
+
import { Component } from 'react';
|
|
5
|
+
import { NSButtonGreen } from "../main";
|
|
6
|
+
import { NSLinkGreen } from "../main";
|
|
7
|
+
export class NSLoginPage extends Component {
|
|
8
|
+
render() {
|
|
9
|
+
var _a;
|
|
10
|
+
let button = _jsx(_Fragment, {});
|
|
11
|
+
if (this.props.href)
|
|
12
|
+
button = _jsx(NSLinkGreen, { title: "Login", href: (_a = this.props.href) !== null && _a !== void 0 ? _a : "" });
|
|
13
|
+
else if (this.props.onClick)
|
|
14
|
+
button = _jsx(NSButtonGreen, { title: "Login", onClick: this.props.onClick });
|
|
15
|
+
return (_jsx("div", Object.assign({ style: { backgroundImage: this.props.background } }, { children: _jsxs("div", Object.assign({ className: "d-flex flex-column align-items-center justify-content-center", style: { marginTop: "100px" } }, { children: [_jsx("div", Object.assign({ className: "m-auto" }, { children: _jsx("img", { width: 256, height: 256, src: this.props.logo, alt: "logo" }) })), _jsx("div", { children: _jsx("h1", Object.assign({ className: "text-center mb-3" }, { children: this.props.title })) }), _jsx("div", Object.assign({ className: "m-auto" }, { children: button }))] })) })));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
18
|
//# sourceMappingURL=NSLoginPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAWtC,MAAM,OAAO,WAAY,SAAQ,SAAiB;IAErC,MAAM;;QAEX,IAAI,MAAM,GAAG,mBAAK,CAAC;QACnB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI;YACf,MAAM,GAAG,KAAC,WAAW,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,mCAAI,EAAE,GAAI,CAAC;aACnE,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO;YACvB,MAAM,GAAG,KAAC,aAAa,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAI,CAAC;QAC1E,OAAO,CACH,4BAAK,KAAK,EAAE,EAAE,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,gBAClD,6BAAK,SAAS,EAAC,8DAA8D,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,iBACvG,4BAAK,SAAS,EAAC,QAAQ,gBACnB,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,EAAC,MAAM,GAAO,IACnE,EACN,wBAAK,2BAAI,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAWtC,MAAM,OAAO,WAAY,SAAQ,SAAiB;IAErC,MAAM;;QAEX,IAAI,MAAM,GAAG,mBAAK,CAAC;QACnB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI;YACf,MAAM,GAAG,KAAC,WAAW,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,mCAAI,EAAE,GAAI,CAAC;aACnE,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO;YACvB,MAAM,GAAG,KAAC,aAAa,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAI,CAAC;QAC1E,OAAO,CACH,4BAAK,KAAK,EAAE,EAAE,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,gBAClD,6BAAK,SAAS,EAAC,8DAA8D,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,iBACvG,4BAAK,SAAS,EAAC,QAAQ,gBACnB,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,EAAC,MAAM,GAAO,IACnE,EACN,wBAAK,2BAAI,SAAS,EAAC,kBAAkB,gBAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAM,GAAM,EACnE,4BAAK,SAAS,EAAC,QAAQ,gBAClB,MAAM,IACL,KACJ,IACJ,CACT,CAAC;IACN,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "namirasoft-site-react",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"main": "./dist/main.js",
|
|
5
|
-
"types": "./dist/main.d.ts",
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"@types/node": "^20.11.
|
|
8
|
-
"@types/react": "^18.2.
|
|
9
|
-
"@types/react-dom": "^18.2.19",
|
|
10
|
-
"antd": "^5.14.
|
|
11
|
-
"bootstrap": "^5.3.
|
|
12
|
-
"link-react": "^3.0.0",
|
|
13
|
-
"namirasoft-api-link": "^1.2.3",
|
|
14
|
-
"namirasoft-core": "^1.2.5",
|
|
15
|
-
"path-browserify": "^1.0.1",
|
|
16
|
-
"react": "^18.2.0",
|
|
17
|
-
"react-app-rewired": "^2.2.1",
|
|
18
|
-
"react-bootstrap": "^2.10.1",
|
|
19
|
-
"react-dom": "^18.2.0",
|
|
20
|
-
"react-phone-input-2": "^2.15.1",
|
|
21
|
-
"react-phone-number-input": "^3.3.9",
|
|
22
|
-
"react-router-dom": "^6.22.
|
|
23
|
-
"react-scripts": "5.0.1"
|
|
24
|
-
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"start": "react-app-rewired start",
|
|
27
|
-
"build": "npm run copy && tsc",
|
|
28
|
-
"test": "react-app-rewired test",
|
|
29
|
-
"eject": "react-app-rewired eject",
|
|
30
|
-
"copy": "copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.svg src/**/*.png src/**/*.jpg dist/"
|
|
31
|
-
},
|
|
32
|
-
"eslintConfig": {
|
|
33
|
-
"extends": [
|
|
34
|
-
"react-app",
|
|
35
|
-
"react-app/jest"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"browserslist": {
|
|
39
|
-
"production": [
|
|
40
|
-
">0.2%",
|
|
41
|
-
"not dead",
|
|
42
|
-
"not op_mini all"
|
|
43
|
-
],
|
|
44
|
-
"development": [
|
|
45
|
-
"last 1 chrome version",
|
|
46
|
-
"last 1 firefox version",
|
|
47
|
-
"last 1 safari version"
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"copyfiles": "^2.4.1"
|
|
52
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "namirasoft-site-react",
|
|
3
|
+
"version": "1.2.43",
|
|
4
|
+
"main": "./dist/main.js",
|
|
5
|
+
"types": "./dist/main.d.ts",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@types/node": "^20.11.20",
|
|
8
|
+
"@types/react": "^18.2.58",
|
|
9
|
+
"@types/react-dom": "^18.2.19",
|
|
10
|
+
"antd": "^5.14.2",
|
|
11
|
+
"bootstrap": "^5.3.3",
|
|
12
|
+
"link-react": "^3.0.0",
|
|
13
|
+
"namirasoft-api-link": "^1.2.3",
|
|
14
|
+
"namirasoft-core": "^1.2.5",
|
|
15
|
+
"path-browserify": "^1.0.1",
|
|
16
|
+
"react": "^18.2.0",
|
|
17
|
+
"react-app-rewired": "^2.2.1",
|
|
18
|
+
"react-bootstrap": "^2.10.1",
|
|
19
|
+
"react-dom": "^18.2.0",
|
|
20
|
+
"react-phone-input-2": "^2.15.1",
|
|
21
|
+
"react-phone-number-input": "^3.3.9",
|
|
22
|
+
"react-router-dom": "^6.22.1",
|
|
23
|
+
"react-scripts": "5.0.1"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"start": "react-app-rewired start",
|
|
27
|
+
"build": "npm run copy && tsc",
|
|
28
|
+
"test": "react-app-rewired test",
|
|
29
|
+
"eject": "react-app-rewired eject",
|
|
30
|
+
"copy": "copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.svg src/**/*.png src/**/*.jpg dist/"
|
|
31
|
+
},
|
|
32
|
+
"eslintConfig": {
|
|
33
|
+
"extends": [
|
|
34
|
+
"react-app",
|
|
35
|
+
"react-app/jest"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"browserslist": {
|
|
39
|
+
"production": [
|
|
40
|
+
">0.2%",
|
|
41
|
+
"not dead",
|
|
42
|
+
"not op_mini all"
|
|
43
|
+
],
|
|
44
|
+
"development": [
|
|
45
|
+
"last 1 chrome version",
|
|
46
|
+
"last 1 firefox version",
|
|
47
|
+
"last 1 safari version"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"copyfiles": "^2.4.1"
|
|
52
|
+
}
|
|
53
53
|
}
|
package/public/index.html
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
<meta name="theme-color" content="#000000" />
|
|
9
|
-
<meta name="description" content="Web site created using create-react-app" />
|
|
10
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
11
|
-
<!--
|
|
12
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
13
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
14
|
-
-->
|
|
15
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
16
|
-
<!--
|
|
17
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
18
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
19
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
20
|
-
|
|
21
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
22
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
23
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
24
|
-
-->
|
|
25
|
-
<title>React App</title>
|
|
26
|
-
</head>
|
|
27
|
-
|
|
28
|
-
<body>
|
|
29
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
30
|
-
<div id="root"></div>
|
|
31
|
-
|
|
32
|
-
<!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
|
|
33
|
-
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
|
|
34
|
-
crossorigin="anonymous"></script>
|
|
35
|
-
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"
|
|
36
|
-
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
|
|
37
|
-
crossorigin="anonymous"></script>
|
|
38
|
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"
|
|
39
|
-
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
|
|
40
|
-
crossorigin="anonymous"></script> -->
|
|
41
|
-
</body>
|
|
42
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
+
<meta name="theme-color" content="#000000" />
|
|
9
|
+
<meta name="description" content="Web site created using create-react-app" />
|
|
10
|
+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
11
|
+
<!--
|
|
12
|
+
manifest.json provides metadata used when your web app is installed on a
|
|
13
|
+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
14
|
+
-->
|
|
15
|
+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
16
|
+
<!--
|
|
17
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
|
18
|
+
It will be replaced with the URL of the `public` folder during the build.
|
|
19
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
|
20
|
+
|
|
21
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
22
|
+
work correctly both with client-side routing and a non-root public URL.
|
|
23
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
|
24
|
+
-->
|
|
25
|
+
<title>React App</title>
|
|
26
|
+
</head>
|
|
27
|
+
|
|
28
|
+
<body>
|
|
29
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
30
|
+
<div id="root"></div>
|
|
31
|
+
|
|
32
|
+
<!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
|
|
33
|
+
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
|
|
34
|
+
crossorigin="anonymous"></script>
|
|
35
|
+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"
|
|
36
|
+
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
|
|
37
|
+
crossorigin="anonymous"></script>
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"
|
|
39
|
+
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
|
|
40
|
+
crossorigin="anonymous"></script> -->
|
|
41
|
+
</body>
|
|
42
|
+
|
|
43
43
|
</html>
|
package/public/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"short_name": "React App",
|
|
3
|
+
"name": "Create React App Sample",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "logo192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "logo512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"start_url": ".",
|
|
22
|
+
"display": "standalone",
|
|
23
|
+
"theme_color": "#000000",
|
|
24
|
+
"background_color": "#ffffff"
|
|
25
|
+
}
|
package/public/robots.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
-
User-agent: *
|
|
3
|
-
Disallow:
|
|
1
|
+
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
+
User-agent: *
|
|
3
|
+
Disallow:
|