namirasoft-account-react 1.3.244 → 1.3.246

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 (71) hide show
  1. package/config-overrides.js +72 -72
  2. package/dist/components/NSAAccessModal.module.css +119 -119
  3. package/dist/components/NSABoxOTP.module.css +10 -10
  4. package/dist/components/NSAHomePage.module.css +22 -22
  5. package/dist/components/NSAMessageDialog.module.css +147 -147
  6. package/dist/components/NSAProductListDialog.d.ts +18 -0
  7. package/dist/components/{NSAProductListModal.js → NSAProductListDialog.js} +10 -18
  8. package/dist/components/NSAProductListDialog.js.map +1 -0
  9. package/dist/components/{NSAProductListModal.module.css → NSAProductListDialog.module.css} +76 -76
  10. package/dist/components/NSAProjectListDialog.module.css +43 -42
  11. package/dist/layouts/NSALayout.js +3 -3
  12. package/dist/layouts/NSALayout.js.map +1 -1
  13. package/dist/layouts/NSASectionTabs.js +6 -4
  14. package/dist/layouts/NSASectionTabs.js.map +1 -1
  15. package/dist/pages/NSALoginPage.module.css +19 -19
  16. package/dist/pages/NSAVerificationPage.module.css +22 -22
  17. package/package.json +69 -69
  18. package/public/index.html +21 -21
  19. package/src/App.css +31 -31
  20. package/src/App.tsx +6 -6
  21. package/src/IEntityInfo.ts +31 -31
  22. package/src/INSARouterMaker.ts +7 -7
  23. package/src/INSARouterProps.ts +17 -17
  24. package/src/INSARouterState.ts +5 -5
  25. package/src/Info.ts +20 -20
  26. package/src/Message.ts +6 -6
  27. package/src/Messages.ts +33 -33
  28. package/src/NSARouterMaker.tsx +138 -138
  29. package/src/components/NSAAccessModal.module.css +119 -119
  30. package/src/components/NSAAccessModal.tsx +136 -136
  31. package/src/components/NSABoxOTP.module.css +10 -10
  32. package/src/components/NSABoxOTP.tsx +63 -63
  33. package/src/components/NSAHomePage.module.css +22 -22
  34. package/src/components/NSAHomePage.tsx +27 -27
  35. package/src/components/NSAMessageDialog.module.css +147 -147
  36. package/src/components/NSAMessageDialog.tsx +138 -138
  37. package/src/components/{NSAProductListModal.module.css → NSAProductListDialog.module.css} +76 -76
  38. package/src/components/{NSAProductListModal.tsx → NSAProductListDialog.tsx} +100 -115
  39. package/src/components/NSAProjectListDialog.module.css +43 -42
  40. package/src/components/NSAProjectListDialog.tsx +76 -76
  41. package/src/index.tsx +7 -7
  42. package/src/layouts/Actions.ts +119 -119
  43. package/src/layouts/Menus.ts +15 -15
  44. package/src/layouts/NSALayout.tsx +365 -363
  45. package/src/layouts/NSASectionEdit.tsx +137 -137
  46. package/src/layouts/NSASectionList.tsx +157 -157
  47. package/src/layouts/NSASectionTabs.tsx +80 -78
  48. package/src/layouts/NSASectionView.tsx +58 -58
  49. package/src/main.ts +19 -19
  50. package/src/pages/NSALoginPage.module.css +19 -19
  51. package/src/pages/NSALoginPage.tsx +61 -61
  52. package/src/pages/NSAVerificationPage.module.css +22 -22
  53. package/src/pages/NSAVerificationPage.tsx +58 -58
  54. package/tsconfig.json +43 -43
  55. package/dist/App.css +0 -32
  56. package/dist/assets/images/verify.png +0 -0
  57. package/dist/components/NSAAccessModel.d.ts +0 -17
  58. package/dist/components/NSAAccessModel.js +0 -73
  59. package/dist/components/NSAAccessModel.js.map +0 -1
  60. package/dist/components/NSAAccessModel.module.css +0 -101
  61. package/dist/components/NSADeleteModal.d.ts +0 -8
  62. package/dist/components/NSADeleteModal.js +0 -7
  63. package/dist/components/NSADeleteModal.js.map +0 -1
  64. package/dist/components/NSADeleteModal.module.css +0 -0
  65. package/dist/components/NSAProductListModal.d.ts +0 -20
  66. package/dist/components/NSAProductListModal.js.map +0 -1
  67. package/dist/components/NSAProjectListModal.d.ts +0 -19
  68. package/dist/components/NSAProjectListModal.js +0 -53
  69. package/dist/components/NSAProjectListModal.js.map +0 -1
  70. package/dist/components/NSAProjectListModal.module.css +0 -68
  71. package/dist/index.css +0 -0
@@ -1,73 +1,73 @@
1
- const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
2
- const webpack = require('webpack');
3
-
4
- const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';
5
-
6
- module.exports = function config_overrides(config, webpackEnv)
7
- {
8
- console.log('overriding webpack config...');
9
- const isEnvDevelopment = webpackEnv === 'development';
10
- const isEnvProduction = webpackEnv === 'production';
11
- const loaders = config.module.rules[1].oneOf;
12
-
13
- loaders.splice(loaders.length - 1, 0, {
14
- test: /\.(js|mjs|cjs)$/,
15
- exclude: /@babel(?:\/|\\{1,2})runtime/,
16
- loader: require.resolve('babel-loader'),
17
- options: {
18
- babelrc: false,
19
- configFile: false,
20
- compact: false,
21
- presets: [
22
- [
23
- require.resolve('babel-preset-react-app/dependencies'),
24
- { helpers: true },
25
- ],
26
- ],
27
- cacheDirectory: true,
28
- // See #6846 for context on why cacheCompression is disabled
29
- cacheCompression: false,
30
- // @remove-on-eject-begin
31
- cacheIdentifier: getCacheIdentifier(
32
- isEnvProduction
33
- ? 'production'
34
- : isEnvDevelopment && 'development',
35
- [
36
- 'babel-plugin-named-asset-import',
37
- 'babel-preset-react-app',
38
- 'react-dev-utils',
39
- 'react-scripts',
40
- ]
41
- ),
42
- // @remove-on-eject-end
43
- // Babel sourcemaps are needed for debugging into node_modules
44
- // code. Without the options below, debuggers like VSCode
45
- // show incorrect code and set breakpoints on the wrong lines.
46
- sourceMaps: shouldUseSourceMap,
47
- inputSourceMap: shouldUseSourceMap,
48
- },
49
- });
50
-
51
- config.resolve.fallback = {
52
- "fs": false,
53
- "tls": false,
54
- "net": false,
55
- "https": false,
56
- // "http": require.resolve("stream-http"),
57
- // "zlib": require.resolve("browserify-zlib"),
58
- "path": require.resolve("path-browserify"),
59
- // "stream": require.resolve("stream-browserify"),
60
- // "util": require.resolve("util/"),
61
- // "crypto": require.resolve("crypto-browserify")
62
- "child_process": false,
63
- "os": false,
64
- "crypto": false
65
- }
66
- config.plugins = (config.plugins || []).concat([
67
- new webpack.NormalModuleReplacementPlugin(/node:/, (resource) =>
68
- {
69
- resource.request = resource.request.replace(/^node:/, "");
70
- })
71
- ]);
72
- return config;
1
+ const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
2
+ const webpack = require('webpack');
3
+
4
+ const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';
5
+
6
+ module.exports = function config_overrides(config, webpackEnv)
7
+ {
8
+ console.log('overriding webpack config...');
9
+ const isEnvDevelopment = webpackEnv === 'development';
10
+ const isEnvProduction = webpackEnv === 'production';
11
+ const loaders = config.module.rules[1].oneOf;
12
+
13
+ loaders.splice(loaders.length - 1, 0, {
14
+ test: /\.(js|mjs|cjs)$/,
15
+ exclude: /@babel(?:\/|\\{1,2})runtime/,
16
+ loader: require.resolve('babel-loader'),
17
+ options: {
18
+ babelrc: false,
19
+ configFile: false,
20
+ compact: false,
21
+ presets: [
22
+ [
23
+ require.resolve('babel-preset-react-app/dependencies'),
24
+ { helpers: true },
25
+ ],
26
+ ],
27
+ cacheDirectory: true,
28
+ // See #6846 for context on why cacheCompression is disabled
29
+ cacheCompression: false,
30
+ // @remove-on-eject-begin
31
+ cacheIdentifier: getCacheIdentifier(
32
+ isEnvProduction
33
+ ? 'production'
34
+ : isEnvDevelopment && 'development',
35
+ [
36
+ 'babel-plugin-named-asset-import',
37
+ 'babel-preset-react-app',
38
+ 'react-dev-utils',
39
+ 'react-scripts',
40
+ ]
41
+ ),
42
+ // @remove-on-eject-end
43
+ // Babel sourcemaps are needed for debugging into node_modules
44
+ // code. Without the options below, debuggers like VSCode
45
+ // show incorrect code and set breakpoints on the wrong lines.
46
+ sourceMaps: shouldUseSourceMap,
47
+ inputSourceMap: shouldUseSourceMap,
48
+ },
49
+ });
50
+
51
+ config.resolve.fallback = {
52
+ "fs": false,
53
+ "tls": false,
54
+ "net": false,
55
+ "https": false,
56
+ // "http": require.resolve("stream-http"),
57
+ // "zlib": require.resolve("browserify-zlib"),
58
+ "path": require.resolve("path-browserify"),
59
+ // "stream": require.resolve("stream-browserify"),
60
+ // "util": require.resolve("util/"),
61
+ // "crypto": require.resolve("crypto-browserify")
62
+ "child_process": false,
63
+ "os": false,
64
+ "crypto": false
65
+ }
66
+ config.plugins = (config.plugins || []).concat([
67
+ new webpack.NormalModuleReplacementPlugin(/node:/, (resource) =>
68
+ {
69
+ resource.request = resource.request.replace(/^node:/, "");
70
+ })
71
+ ]);
72
+ return config;
73
73
  };
@@ -1,120 +1,120 @@
1
- .ns_access_container {
2
- width: max-content;
3
- position: relative;
4
- background-color: rgba(255, 255, 255, 1);
5
- border-radius: 16px;
6
- border: 0.2px solid rgb(210, 210, 210);
7
- padding: 16px;
8
- position: absolute;
9
- right: 0;
10
- z-index: 1;
11
- top: 0;
12
- left: auto;
13
- transform: translate(30%, 50%);
14
- cursor: default;
15
- }
16
-
17
- .ns_access_container h6 {
18
- color: rgba(20, 27, 92, 1);
19
- text-align: left;
20
- font-weight: 300;
21
- font-size: 16px;
22
- cursor: default;
23
- }
24
-
25
- .ns_access_container h2 {
26
- color: rgba(3, 119, 255, 1);
27
- text-align: center;
28
- font-weight: 600;
29
- font-size: 16px;
30
- cursor: default;
31
- margin: 0;
32
- }
33
-
34
- .ns_access_container h4 {
35
- color: rgba(20, 27, 92, 1);
36
- font-weight: 600;
37
- font-size: 16px;
38
- text-align: left;
39
- cursor: default;
40
- }
41
-
42
- .ns_access_account_container h4 {
43
- cursor: pointer;
44
- }
45
-
46
- .ns_access_container h5 {
47
- color: rgba(20, 27, 92, 1);
48
- font-weight: 300;
49
- font-size: 12px;
50
- text-align: left;
51
- }
52
-
53
- .ns_access_content h6 {
54
- text-align: center;
55
- padding: 0;
56
- margin: 0;
57
- }
58
-
59
-
60
- .ns_access_account_container {
61
- display: flex;
62
- cursor: pointer;
63
- border: none;
64
- background-color: rgba(244, 246, 255, 1);
65
- border-radius: 8px;
66
- align-items: center;
67
- gap: 10px;
68
- width: 326px;
69
- max-width: 100%;
70
- }
71
-
72
- .ns_access_account_container:hover {
73
- background-color: rgba(178, 187, 217, 1);
74
- transition: all 0.3s ease-in-out;
75
- }
76
-
77
-
78
- .ns_access_account_container img {
79
- cursor: pointer;
80
- }
81
-
82
- .ns_access_account_info {
83
- display: flex;
84
- flex-direction: row;
85
- justify-content: left;
86
- align-items: flex-start;
87
- padding: 8px;
88
- }
89
-
90
- .nsa_close_icon {
91
- cursor: pointer;
92
- }
93
-
94
- .nsa_toast_background {
95
- width: 100vw;
96
- height: 100vh;
97
- background-color: #00000059;
98
- position: fixed;
99
- top: 0;
100
- left: 0;
101
- display: flex;
102
- justify-content: center;
103
- align-items: center;
104
- cursor: default;
105
- }
106
-
107
-
108
- @media only screen and (min-width: 500px) {
109
- .ns_access_container {
110
- padding: 16px;
111
- position: absolute;
112
- right: 0;
113
- z-index: 1;
114
- top: 30px;
115
- left: auto;
116
- transform: translate(0%, 0%);
117
- width: 275px;
118
- min-height: 250px;
119
- }
1
+ .ns_access_container {
2
+ width: max-content;
3
+ position: relative;
4
+ background-color: rgba(255, 255, 255, 1);
5
+ border-radius: 16px;
6
+ border: 0.2px solid rgb(210, 210, 210);
7
+ padding: 16px;
8
+ position: absolute;
9
+ right: 0;
10
+ z-index: 1;
11
+ top: 0;
12
+ left: auto;
13
+ transform: translate(30%, 50%);
14
+ cursor: default;
15
+ }
16
+
17
+ .ns_access_container h6 {
18
+ color: rgba(20, 27, 92, 1);
19
+ text-align: left;
20
+ font-weight: 300;
21
+ font-size: 16px;
22
+ cursor: default;
23
+ }
24
+
25
+ .ns_access_container h2 {
26
+ color: rgba(3, 119, 255, 1);
27
+ text-align: center;
28
+ font-weight: 600;
29
+ font-size: 16px;
30
+ cursor: default;
31
+ margin: 0;
32
+ }
33
+
34
+ .ns_access_container h4 {
35
+ color: rgba(20, 27, 92, 1);
36
+ font-weight: 600;
37
+ font-size: 16px;
38
+ text-align: left;
39
+ cursor: default;
40
+ }
41
+
42
+ .ns_access_account_container h4 {
43
+ cursor: pointer;
44
+ }
45
+
46
+ .ns_access_container h5 {
47
+ color: rgba(20, 27, 92, 1);
48
+ font-weight: 300;
49
+ font-size: 12px;
50
+ text-align: left;
51
+ }
52
+
53
+ .ns_access_content h6 {
54
+ text-align: center;
55
+ padding: 0;
56
+ margin: 0;
57
+ }
58
+
59
+
60
+ .ns_access_account_container {
61
+ display: flex;
62
+ cursor: pointer;
63
+ border: none;
64
+ background-color: rgba(244, 246, 255, 1);
65
+ border-radius: 8px;
66
+ align-items: center;
67
+ gap: 10px;
68
+ width: 326px;
69
+ max-width: 100%;
70
+ }
71
+
72
+ .ns_access_account_container:hover {
73
+ background-color: rgba(178, 187, 217, 1);
74
+ transition: all 0.3s ease-in-out;
75
+ }
76
+
77
+
78
+ .ns_access_account_container img {
79
+ cursor: pointer;
80
+ }
81
+
82
+ .ns_access_account_info {
83
+ display: flex;
84
+ flex-direction: row;
85
+ justify-content: left;
86
+ align-items: flex-start;
87
+ padding: 8px;
88
+ }
89
+
90
+ .nsa_close_icon {
91
+ cursor: pointer;
92
+ }
93
+
94
+ .nsa_toast_background {
95
+ width: 100vw;
96
+ height: 100vh;
97
+ background-color: #00000059;
98
+ position: fixed;
99
+ top: 0;
100
+ left: 0;
101
+ display: flex;
102
+ justify-content: center;
103
+ align-items: center;
104
+ cursor: default;
105
+ }
106
+
107
+
108
+ @media only screen and (min-width: 500px) {
109
+ .ns_access_container {
110
+ padding: 16px;
111
+ position: absolute;
112
+ right: 0;
113
+ z-index: 1;
114
+ top: 30px;
115
+ left: auto;
116
+ transform: translate(0%, 0%);
117
+ width: 275px;
118
+ min-height: 250px;
119
+ }
120
120
  }
@@ -1,11 +1,11 @@
1
- .nsa_otp_input {
2
- border: none;
3
- background-color: transparent;
4
- border-bottom: 2px solid #141B5C;
5
- }
6
-
7
- .nsa_otp_input:focus {
8
- border: none;
9
- outline: none;
10
- border-bottom: 2px solid #141B5C;
1
+ .nsa_otp_input {
2
+ border: none;
3
+ background-color: transparent;
4
+ border-bottom: 2px solid #141B5C;
5
+ }
6
+
7
+ .nsa_otp_input:focus {
8
+ border: none;
9
+ outline: none;
10
+ border-bottom: 2px solid #141B5C;
11
11
  }
@@ -1,23 +1,23 @@
1
- .nsa_home_container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- justify-content: center;
6
- align-items: center;
7
- text-align: center;
8
- color: #141B5C;
9
- }
10
-
11
- .nsa_home_container h2 {
12
- color: #141B5C;
13
- font-size: 48px;
14
- font-weight: 600;
15
- text-align: center;
16
- }
17
-
18
- .nsa_home_container p {
19
- color: #141B5C;
20
- font-size: 16px;
21
- max-width: 960px;
22
- text-align: center;
1
+ .nsa_home_container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ justify-content: center;
6
+ align-items: center;
7
+ text-align: center;
8
+ color: #141B5C;
9
+ }
10
+
11
+ .nsa_home_container h2 {
12
+ color: #141B5C;
13
+ font-size: 48px;
14
+ font-weight: 600;
15
+ text-align: center;
16
+ }
17
+
18
+ .nsa_home_container p {
19
+ color: #141B5C;
20
+ font-size: 16px;
21
+ max-width: 960px;
22
+ text-align: center;
23
23
  }