namirasoft-account-react 1.4.102 → 1.4.103

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 (53) hide show
  1. package/.env.template +12 -12
  2. package/config-overrides.js +72 -72
  3. package/dist/components/NSAAccessListDialog.js +2 -2
  4. package/dist/components/NSAAccessListDialog.js.map +1 -1
  5. package/dist/components/NSAAccessListDialog.module.css +86 -86
  6. package/dist/components/NSABoxOTP.module.css +10 -10
  7. package/dist/components/NSAMessageListDialog.module.css +96 -96
  8. package/dist/components/NSAProductListDialog.module.css +44 -44
  9. package/dist/components/NSAWorkspaceListDialog.module.css +42 -42
  10. package/dist/pages/NSAHomePage.module.css +23 -23
  11. package/dist/pages/NSALoginPage.module.css +19 -19
  12. package/dist/pages/NSAVerificationPage.module.css +31 -31
  13. package/package.json +70 -70
  14. package/public/index.html +21 -21
  15. package/src/App.css +31 -31
  16. package/src/App.tsx +31 -31
  17. package/src/IEntityInfo.ts +31 -31
  18. package/src/INSARouterMaker.ts +7 -7
  19. package/src/INSARouterProps.ts +17 -17
  20. package/src/INSARouterState.ts +5 -5
  21. package/src/Info.ts +20 -20
  22. package/src/Message.ts +7 -7
  23. package/src/Messages.ts +53 -53
  24. package/src/NSARouterMaker.tsx +142 -142
  25. package/src/Router.tsx +39 -39
  26. package/src/components/NSAAccessListDialog.module.css +86 -86
  27. package/src/components/NSAAccessListDialog.tsx +137 -136
  28. package/src/components/NSABoxOTP.module.css +10 -10
  29. package/src/components/NSABoxOTP.tsx +63 -63
  30. package/src/components/NSAMessageListDialog.module.css +96 -96
  31. package/src/components/NSAMessageListDialog.tsx +131 -131
  32. package/src/components/NSAProductListDialog.module.css +44 -44
  33. package/src/components/NSAProductListDialog.tsx +106 -106
  34. package/src/components/NSAWorkspaceListDialog.module.css +42 -42
  35. package/src/components/NSAWorkspaceListDialog.tsx +98 -98
  36. package/src/index.tsx +24 -24
  37. package/src/layouts/Actions.ts +151 -151
  38. package/src/layouts/Menus.ts +15 -15
  39. package/src/layouts/NSALayout.tsx +463 -463
  40. package/src/layouts/NSASectionEdit.tsx +149 -149
  41. package/src/layouts/NSASectionList.tsx +187 -187
  42. package/src/layouts/NSASectionTabs.tsx +180 -180
  43. package/src/layouts/NSASectionView.tsx +65 -65
  44. package/src/main.ts +19 -19
  45. package/src/pages/NSAHomePage.module.css +23 -23
  46. package/src/pages/NSAHomePage.tsx +29 -29
  47. package/src/pages/NSALoginPage.module.css +19 -19
  48. package/src/pages/NSALoginPage.tsx +67 -67
  49. package/src/pages/NSAVerificationPage.module.css +31 -31
  50. package/src/pages/NSAVerificationPage.tsx +89 -89
  51. package/tsconfig.json +43 -43
  52. package/dist/App.css +0 -32
  53. package/dist/index.css +0 -0
package/.env.template CHANGED
@@ -1,13 +1,13 @@
1
- ## BASE
2
- REACT_APP_BASE_PATH = ""
3
- REACT_APP_BASE_URL_ACCESS = "https://access.namirasoft.com/api/v1"
4
- REACT_APP_BASE_URL_ACCOUNT = "https://account.namirasoft.com/api/v1"
5
- REACT_APP_BASE_URL_ACCOUNT_CONSOLE = "https://account.namirasoft.com"
6
- REACT_APP_BASE_URL_API_LINK = "https://namirasoft.com/api/link/v1"
7
- REACT_APP_BASE_URL_API_PRODUCT = "https://namirasoft.com/api/product/v1"
8
- REACT_APP_BASE_URL_FIELD = "https://field.namirasoft.com/api/v1";
9
- REACT_APP_BASE_URL_HISTORY = "https://history.namirasoft.com/api/v1";
10
- REACT_APP_BASE_URL_HISTORY_CONSOLE = "https://history.namirasoft.com";
11
- REACT_APP_BASE_URL_MESSAGE = "https://message.namirasoft.com/api/v1";
12
- REACT_APP_BASE_URL_MESSAGE_CONSOLE = "https://message.namirasoft.com"
1
+ ## BASE
2
+ REACT_APP_BASE_PATH = ""
3
+ REACT_APP_BASE_URL_ACCESS = "https://access.namirasoft.com/api/v1"
4
+ REACT_APP_BASE_URL_ACCOUNT = "https://account.namirasoft.com/api/v1"
5
+ REACT_APP_BASE_URL_ACCOUNT_CONSOLE = "https://account.namirasoft.com"
6
+ REACT_APP_BASE_URL_API_LINK = "https://namirasoft.com/api/link/v1"
7
+ REACT_APP_BASE_URL_API_PRODUCT = "https://namirasoft.com/api/product/v1"
8
+ REACT_APP_BASE_URL_FIELD = "https://field.namirasoft.com/api/v1";
9
+ REACT_APP_BASE_URL_HISTORY = "https://history.namirasoft.com/api/v1";
10
+ REACT_APP_BASE_URL_HISTORY_CONSOLE = "https://history.namirasoft.com";
11
+ REACT_APP_BASE_URL_MESSAGE = "https://message.namirasoft.com/api/v1";
12
+ REACT_APP_BASE_URL_MESSAGE_CONSOLE = "https://message.namirasoft.com"
13
13
  REACT_APP_BASE_URL_WORKSPACE = "https://workspace.namirasoft.com/api/v1"
@@ -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
  };
@@ -65,10 +65,10 @@ export class NSAAccessListDialog extends Component {
65
65
  let permissions = [me, ...this.state.permissions];
66
66
  let current = permissions.filter(x => x.default)[0];
67
67
  content = permissions.filter(x => !x.default).map(generate);
68
- profile = _jsx(_Fragment, { children: _jsxs("div", { className: 'text-center d-flex flex-column justify-content-center align-items-center pb-2', children: [_jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/access/logo/circle.png", alt: 'No Profile', width: 103, height: 103, className: 'rounded-circle', style: { cursor: "default", pointerEvents: "none" } }), _jsx("h6", { className: "pb-2", children: "Your current user is:" }), _jsx(NSCopy, { classList: ["flex-row"], id: current.user_id, children: _jsx("h2", { className: 'text-center', style: { cursor: "pointer" }, children: current.user_id }) }), _jsx("h6", { children: `${current.first_name} ${current.last_name}`.trim() })] }) });
68
+ profile = _jsx(_Fragment, { children: _jsxs("div", { className: 'text-center d-flex flex-column justify-content-center align-items-center pb-2', children: [_jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/access/logo/circle.png", alt: 'No Profile', width: 103, height: 103, className: 'rounded-circle', style: { cursor: "default", pointerEvents: "none" } }), _jsx("h6", { className: "pb-2", children: "You are working as:" }), _jsx(NSCopy, { classList: ["flex-row"], id: current.user_id, children: _jsx("h2", { className: 'text-center', style: { cursor: "pointer" }, children: current.user_id }) }), _jsx("h6", { children: `${current.first_name} ${current.last_name}`.trim() })] }) });
69
69
  }
70
70
  return (_jsxs(NSDialog, Object.assign({}, this.props, { children: [_jsx("a", { className: 'text-left w-100 ps-3', href: 'https://access.namirasoft.com/permission/incoming/list/', target: "_blank", rel: "noopener noreferrer", children: _jsx("span", { className: 'd-flex justify-content-left', children: "Manage Accesss" }) }), _jsxs("section", { className: Styles.ns_access_container, children: [profile ? profile : _jsx(NSLoading, {}), _jsx(NSLine, {}), _jsx("h6", { children: "Switch user as:" }), content !== null &&
71
- _jsx("p", { children: "There is not any other user" })] })] })));
71
+ _jsxs("p", { children: ["There is no ", _jsx("strong", { children: "Incoming Permission" }), ".", _jsx("br", {}), _jsx("br", {}), "If you would like to get access to other user's account and act on their behalf, you must request them to grant you ", _jsx("strong", { children: "Outgoing Permission" }), " using ", _jsx("a", { href: 'https://account.namirasoft.com', target: '_blank', children: "Namirasoft Access" }), " from their account."] })] })] })));
72
72
  }
73
73
  }
74
74
  //# sourceMappingURL=NSAAccessListDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSAAccessListDialog.js","sourceRoot":"","sources":["../../src/components/NSAAccessListDialog.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,sBAAsB,EAAiB,MAAM,mBAAmB,CAAC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Z,CAAC;IACH,CAAC;CACD"}
@@ -1,87 +1,87 @@
1
- .ns_access_container {
2
- width: 300px;
3
- }
4
-
5
- .ns_access_container h6 {
6
- color: rgba(20, 27, 92, 1);
7
- text-align: left;
8
- font-weight: 300;
9
- font-size: 16px;
10
- cursor: default;
11
- }
12
-
13
- .ns_access_container h2 {
14
- color: rgba(3, 119, 255, 1);
15
- text-align: center;
16
- font-weight: 600;
17
- font-size: 16px;
18
- cursor: default;
19
- margin: 0;
20
- }
21
-
22
- .ns_access_container h4 {
23
- color: rgba(20, 27, 92, 1);
24
- font-weight: 600;
25
- font-size: 16px;
26
- text-align: left;
27
- cursor: default;
28
- }
29
-
30
- .ns_access_content h6 {
31
- text-align: center;
32
- padding: 0;
33
- margin: 0;
34
- }
35
-
36
- .ns_access_account_container {
37
- display: flex;
38
- cursor: pointer;
39
- border: none;
40
- background-color: rgba(244, 246, 255, 1);
41
- border-radius: 8px;
42
- align-items: center;
43
- gap: 10px;
44
- width: 326px;
45
- max-width: 100%;
46
- }
47
-
48
- .ns_access_account_container:hover {
49
- background-color: rgba(178, 187, 217, 1);
50
- transition: all 0.3s ease-in-out;
51
- }
52
-
53
-
54
- .ns_access_account_container img {
55
- cursor: pointer;
56
- }
57
-
58
- .ns_access_account_info {
59
- display: flex;
60
- flex-direction: row;
61
- justify-content: left;
62
- align-items: flex-start;
63
- padding: 8px;
64
- }
65
-
66
- .nsa_close_icon {
67
- cursor: pointer;
68
- }
69
-
70
- .nsa_toast_background {
71
- width: 100vw;
72
- height: 100vh;
73
- background-color: #00000059;
74
- position: fixed;
75
- top: 0;
76
- left: 0;
77
- display: flex;
78
- justify-content: center;
79
- align-items: center;
80
- cursor: default;
81
- }
82
-
83
- .ns_line {
84
- border-left: none !important;
85
- border-right: none !important;
86
- width: 100% !important;
1
+ .ns_access_container {
2
+ width: 300px;
3
+ }
4
+
5
+ .ns_access_container h6 {
6
+ color: rgba(20, 27, 92, 1);
7
+ text-align: left;
8
+ font-weight: 300;
9
+ font-size: 16px;
10
+ cursor: default;
11
+ }
12
+
13
+ .ns_access_container h2 {
14
+ color: rgba(3, 119, 255, 1);
15
+ text-align: center;
16
+ font-weight: 600;
17
+ font-size: 16px;
18
+ cursor: default;
19
+ margin: 0;
20
+ }
21
+
22
+ .ns_access_container h4 {
23
+ color: rgba(20, 27, 92, 1);
24
+ font-weight: 600;
25
+ font-size: 16px;
26
+ text-align: left;
27
+ cursor: default;
28
+ }
29
+
30
+ .ns_access_content h6 {
31
+ text-align: center;
32
+ padding: 0;
33
+ margin: 0;
34
+ }
35
+
36
+ .ns_access_account_container {
37
+ display: flex;
38
+ cursor: pointer;
39
+ border: none;
40
+ background-color: rgba(244, 246, 255, 1);
41
+ border-radius: 8px;
42
+ align-items: center;
43
+ gap: 10px;
44
+ width: 326px;
45
+ max-width: 100%;
46
+ }
47
+
48
+ .ns_access_account_container:hover {
49
+ background-color: rgba(178, 187, 217, 1);
50
+ transition: all 0.3s ease-in-out;
51
+ }
52
+
53
+
54
+ .ns_access_account_container img {
55
+ cursor: pointer;
56
+ }
57
+
58
+ .ns_access_account_info {
59
+ display: flex;
60
+ flex-direction: row;
61
+ justify-content: left;
62
+ align-items: flex-start;
63
+ padding: 8px;
64
+ }
65
+
66
+ .nsa_close_icon {
67
+ cursor: pointer;
68
+ }
69
+
70
+ .nsa_toast_background {
71
+ width: 100vw;
72
+ height: 100vh;
73
+ background-color: #00000059;
74
+ position: fixed;
75
+ top: 0;
76
+ left: 0;
77
+ display: flex;
78
+ justify-content: center;
79
+ align-items: center;
80
+ cursor: default;
81
+ }
82
+
83
+ .ns_line {
84
+ border-left: none !important;
85
+ border-right: none !important;
86
+ width: 100% !important;
87
87
  }
@@ -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,97 +1,97 @@
1
- .nsa_message_icon {
2
- cursor: pointer;
3
- }
4
-
5
- .nsa_message_title {
6
- color: hsla(212, 100%, 51%, 1)
7
- }
8
-
9
- .nsa_message_item_title {
10
- color: hsla(234, 64%, 22%, 1);
11
- font-size: 16px;
12
- font-weight: 600;
13
- text-align: left;
14
- }
15
-
16
- .nsa_message_item_content {
17
- color: hsla(234, 64%, 22%, 1);
18
- margin: 0;
19
- text-align: left;
20
- overflow: hidden;
21
- text-overflow: ellipsis;
22
- white-space: nowrap;
23
- }
24
-
25
- .nsa_message_item_ul {
26
- padding-left: 16px !important;
27
- margin-bottom: 8px;
28
- }
29
-
30
- .nsa_message_item_ul li::marker {
31
- color: hsla(157, 94%, 42%, 1);
32
- }
33
-
34
- .nsa_message_item_dot_green {
35
- width: 8px;
36
- height: 8px;
37
- background: hsla(157, 94%, 42%, 1);
38
- border-radius: 50%;
39
- }
40
-
41
- .nsa_message_item_dot_gray {
42
- width: 8px;
43
- height: 8px;
44
- background: hsla(228, 9%, 66%, 1);
45
- border-radius: 50%;
46
- }
47
-
48
- .nsa_body_green {
49
- background-color: hsla(157, 94%, 42%, 0.1);
50
- padding: 16px;
51
- cursor: pointer !important;
52
- margin: 16px 0;
53
- }
54
-
55
- .nsa_body_gray {
56
- background-color: #fff;
57
- padding: 16px;
58
- box-shadow: 0px 2px 5px #e6e6e6;
59
- cursor: pointer !important;
60
- }
61
-
62
- .nsa_count {
63
- position: absolute;
64
- background: rgba(3, 119, 255, 1);
65
- right: -5px;
66
- top: -5px;
67
- color: #fff;
68
- width: 18px;
69
- height: 18px;
70
- border-radius: 50%;
71
- display: flex;
72
- justify-content: center;
73
- align-items: center;
74
- }
75
-
76
- .nsa_parent_count {
77
- position: relative;
78
- width: max-content;
79
- }
80
-
81
- .nsa_toast_body {
82
- padding: 0 !important;
83
- height: 100%;
84
- max-height: 450px;
85
- overflow-y: auto;
86
- }
87
-
88
- .nsa_toast_header {
89
- padding: 2px !important;
90
- display: flex;
91
- justify-content: space-between !important;
92
- align-items: center;
93
- }
94
-
95
- .nsa_close_icon {
96
- cursor: pointer;
1
+ .nsa_message_icon {
2
+ cursor: pointer;
3
+ }
4
+
5
+ .nsa_message_title {
6
+ color: hsla(212, 100%, 51%, 1)
7
+ }
8
+
9
+ .nsa_message_item_title {
10
+ color: hsla(234, 64%, 22%, 1);
11
+ font-size: 16px;
12
+ font-weight: 600;
13
+ text-align: left;
14
+ }
15
+
16
+ .nsa_message_item_content {
17
+ color: hsla(234, 64%, 22%, 1);
18
+ margin: 0;
19
+ text-align: left;
20
+ overflow: hidden;
21
+ text-overflow: ellipsis;
22
+ white-space: nowrap;
23
+ }
24
+
25
+ .nsa_message_item_ul {
26
+ padding-left: 16px !important;
27
+ margin-bottom: 8px;
28
+ }
29
+
30
+ .nsa_message_item_ul li::marker {
31
+ color: hsla(157, 94%, 42%, 1);
32
+ }
33
+
34
+ .nsa_message_item_dot_green {
35
+ width: 8px;
36
+ height: 8px;
37
+ background: hsla(157, 94%, 42%, 1);
38
+ border-radius: 50%;
39
+ }
40
+
41
+ .nsa_message_item_dot_gray {
42
+ width: 8px;
43
+ height: 8px;
44
+ background: hsla(228, 9%, 66%, 1);
45
+ border-radius: 50%;
46
+ }
47
+
48
+ .nsa_body_green {
49
+ background-color: hsla(157, 94%, 42%, 0.1);
50
+ padding: 16px;
51
+ cursor: pointer !important;
52
+ margin: 16px 0;
53
+ }
54
+
55
+ .nsa_body_gray {
56
+ background-color: #fff;
57
+ padding: 16px;
58
+ box-shadow: 0px 2px 5px #e6e6e6;
59
+ cursor: pointer !important;
60
+ }
61
+
62
+ .nsa_count {
63
+ position: absolute;
64
+ background: rgba(3, 119, 255, 1);
65
+ right: -5px;
66
+ top: -5px;
67
+ color: #fff;
68
+ width: 18px;
69
+ height: 18px;
70
+ border-radius: 50%;
71
+ display: flex;
72
+ justify-content: center;
73
+ align-items: center;
74
+ }
75
+
76
+ .nsa_parent_count {
77
+ position: relative;
78
+ width: max-content;
79
+ }
80
+
81
+ .nsa_toast_body {
82
+ padding: 0 !important;
83
+ height: 100%;
84
+ max-height: 450px;
85
+ overflow-y: auto;
86
+ }
87
+
88
+ .nsa_toast_header {
89
+ padding: 2px !important;
90
+ display: flex;
91
+ justify-content: space-between !important;
92
+ align-items: center;
93
+ }
94
+
95
+ .nsa_close_icon {
96
+ cursor: pointer;
97
97
  }