namirasoft-account-react 1.4.435 → 1.4.436

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 (139) hide show
  1. package/.env.template +15 -15
  2. package/SKILLS.md +514 -514
  3. package/config-overrides.js +72 -72
  4. package/dist/App.css +31 -31
  5. package/dist/App.d.ts +1 -1
  6. package/dist/UseParams.d.ts +1 -1
  7. package/dist/components/NSAAccessListDialog.d.ts +2 -2
  8. package/dist/components/NSAAccessListDialog.module.css +71 -71
  9. package/dist/components/NSAMasterMenu.d.ts +1 -1
  10. package/dist/components/NSAMasterMenu.module.css +248 -248
  11. package/dist/components/NSAMasterMenuItem.d.ts +1 -1
  12. package/dist/components/NSAMessageListDialog.d.ts +1 -1
  13. package/dist/components/NSAMessageListDialog.module.css +99 -99
  14. package/dist/components/NSANavigationGuard.d.ts +1 -1
  15. package/dist/components/NSAProductListDialog.d.ts +1 -1
  16. package/dist/components/NSAProductListDialog.module.css +44 -44
  17. package/dist/components/NSAReorderDialog.d.ts +1 -1
  18. package/dist/components/NSAReorderDialog.module.css +49 -49
  19. package/dist/components/NSASortDialog.d.ts +1 -1
  20. package/dist/components/NSATaskBar.d.ts +31 -7
  21. package/dist/components/NSATaskBar.js +74 -15
  22. package/dist/components/NSATaskBar.js.map +1 -1
  23. package/dist/components/NSATaskBar.module.css +57 -57
  24. package/dist/components/NSAUserDialog.d.ts +1 -1
  25. package/dist/components/NSAUserDialog.module.css +67 -67
  26. package/dist/components/NSAWorkspaceListDialog.d.ts +1 -1
  27. package/dist/components/NSAWorkspaceListDialog.module.css +41 -41
  28. package/dist/components/NSBoxSecret.d.ts +1 -1
  29. package/dist/components/NSBoxSecret.module.css +23 -23
  30. package/dist/components/NSLabelSecret.d.ts +1 -1
  31. package/dist/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
  32. package/dist/components/quickfilter/NSAQuickFilterBar.d.ts +1 -1
  33. package/dist/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
  34. package/dist/components/quickfilter/NSAQuickFilterDialog.d.ts +1 -1
  35. package/dist/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  36. package/dist/formatters/SecretFormatter.d.ts +1 -1
  37. package/dist/formatters/SecretFormatter.js +2 -2
  38. package/dist/formatters/SecretFormatter.js.map +1 -1
  39. package/dist/layouts/NSALayout.d.ts +5 -1
  40. package/dist/layouts/NSALayout.js +37 -39
  41. package/dist/layouts/NSALayout.js.map +1 -1
  42. package/dist/layouts/NSASectionEdit.d.ts +1 -1
  43. package/dist/layouts/NSASectionEditTabPage.d.ts +1 -1
  44. package/dist/layouts/NSASectionEditTabPage.module.css +4 -4
  45. package/dist/layouts/NSASectionList.d.ts +1 -1
  46. package/dist/layouts/NSASectionList.module.css +31 -31
  47. package/dist/layouts/NSASectionView.d.ts +1 -1
  48. package/dist/layouts/NSASectionViewTabMore.d.ts +1 -1
  49. package/dist/layouts/NSASectionViewTabPage.d.ts +1 -1
  50. package/dist/layouts/NSASectionViewTabPage.module.css +47 -47
  51. package/dist/pages/NSAConsentPage.module.css +26 -26
  52. package/dist/pages/NSAEmailVerificationPage.d.ts +1 -1
  53. package/dist/pages/NSAHomePage.d.ts +1 -1
  54. package/dist/pages/NSAHomePage.module.css +41 -41
  55. package/dist/pages/NSALoginPage.d.ts +1 -1
  56. package/dist/pages/NSALoginPage.module.css +26 -26
  57. package/dist/pages/NSAPhoneVerificationPage.d.ts +1 -1
  58. package/dist/pages/NSAVerificationPage.d.ts +1 -1
  59. package/dist/pages/NSAVerificationPage.module.css +31 -31
  60. package/package.json +94 -94
  61. package/public/index.html +21 -21
  62. package/src/App.css +31 -31
  63. package/src/App.tsx +19 -19
  64. package/src/CTFRow.ts +7 -7
  65. package/src/IEntityInfo.ts +33 -33
  66. package/src/NSACacheService.ts +120 -120
  67. package/src/NSAFilterOperators.ts +92 -92
  68. package/src/NSARouterMaker.tsx +140 -140
  69. package/src/NSARouterMakerConfig.ts +15 -15
  70. package/src/NSARouterMakerProps.ts +24 -24
  71. package/src/Router.tsx +45 -45
  72. package/src/UseParams.tsx +18 -18
  73. package/src/components/NSAAccessListDialog.module.css +71 -71
  74. package/src/components/NSAAccessListDialog.tsx +178 -178
  75. package/src/components/NSAMasterMenu.module.css +248 -248
  76. package/src/components/NSAMasterMenu.tsx +169 -169
  77. package/src/components/NSAMasterMenuItem.tsx +250 -250
  78. package/src/components/NSAMessageListDialog.module.css +99 -99
  79. package/src/components/NSAMessageListDialog.tsx +142 -142
  80. package/src/components/NSAProductListDialog.module.css +44 -44
  81. package/src/components/NSAProductListDialog.tsx +88 -88
  82. package/src/components/NSAReorderDialog.module.css +49 -49
  83. package/src/components/NSAReorderDialog.tsx +149 -149
  84. package/src/components/NSASortDialog.tsx +117 -117
  85. package/src/components/NSATable.tsx +498 -498
  86. package/src/components/NSATaskBar.module.css +57 -57
  87. package/src/components/NSATaskBar.tsx +193 -101
  88. package/src/components/NSAUserDialog.module.css +67 -67
  89. package/src/components/NSAUserDialog.tsx +122 -122
  90. package/src/components/NSAWorkspaceListDialog.module.css +41 -41
  91. package/src/components/NSAWorkspaceListDialog.tsx +147 -147
  92. package/src/components/NSBoxSecret.module.css +23 -23
  93. package/src/components/NSBoxSecret.tsx +258 -258
  94. package/src/components/NSLabelSecret.tsx +37 -37
  95. package/src/components/quickfilter/NSAFilterBoxBase.tsx +55 -55
  96. package/src/components/quickfilter/NSAFilterBoxBoolean.tsx +54 -54
  97. package/src/components/quickfilter/NSAFilterBoxDate.tsx +104 -104
  98. package/src/components/quickfilter/NSAFilterBoxDateTime.tsx +105 -105
  99. package/src/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
  100. package/src/components/quickfilter/NSAFilterBoxEnum.tsx +79 -79
  101. package/src/components/quickfilter/NSAFilterBoxNumber.tsx +136 -136
  102. package/src/components/quickfilter/NSAFilterBoxString.tsx +81 -81
  103. package/src/components/quickfilter/NSAFilterBoxTime.tsx +101 -101
  104. package/src/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
  105. package/src/components/quickfilter/NSAQuickFilterBar.tsx +114 -114
  106. package/src/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  107. package/src/components/quickfilter/NSAQuickFilterDialog.tsx +260 -260
  108. package/src/css.d.ts +13 -13
  109. package/src/formatters/SecretFormatter.tsx +24 -24
  110. package/src/index.tsx +26 -26
  111. package/src/layouts/Actions.ts +146 -146
  112. package/src/layouts/CFTUtil.ts +18 -18
  113. package/src/layouts/NSALayout.tsx +793 -790
  114. package/src/layouts/NSASectionEdit.tsx +279 -279
  115. package/src/layouts/NSASectionEditTabPage.module.css +4 -4
  116. package/src/layouts/NSASectionEditTabPage.tsx +250 -250
  117. package/src/layouts/NSASectionList.module.css +31 -31
  118. package/src/layouts/NSASectionList.tsx +149 -149
  119. package/src/layouts/NSASectionView.tsx +100 -100
  120. package/src/layouts/NSASectionViewTabMore.tsx +77 -77
  121. package/src/layouts/NSASectionViewTabPage.module.css +47 -47
  122. package/src/layouts/NSASectionViewTabPage.tsx +419 -419
  123. package/src/main.ts +46 -46
  124. package/src/pages/NSAConsentPage.module.css +26 -26
  125. package/src/pages/NSAConsentPage.tsx +120 -120
  126. package/src/pages/NSAEmailVerificationPage.tsx +30 -30
  127. package/src/pages/NSAHomePage.module.css +41 -41
  128. package/src/pages/NSAHomePage.tsx +102 -102
  129. package/src/pages/NSALoginPage.module.css +26 -26
  130. package/src/pages/NSALoginPage.tsx +87 -87
  131. package/src/pages/NSAPhoneVerificationPage.tsx +94 -94
  132. package/src/pages/NSAVerificationPage.module.css +31 -31
  133. package/src/pages/NSAVerificationPage.tsx +186 -186
  134. package/src/pages/PaymentRequired.tsx +76 -76
  135. package/tsconfig.json +43 -43
  136. package/dist/NSATaskService.d.ts +0 -35
  137. package/dist/NSATaskService.js +0 -80
  138. package/dist/NSATaskService.js.map +0 -1
  139. package/src/NSATaskService.ts +0 -123
@@ -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
  };
package/dist/App.css CHANGED
@@ -1,32 +1,32 @@
1
- @font-face {
2
- font-family: inter;
3
- src: url("../src/assets/fonts/Inter-Regular.ttf");
4
- }
5
-
6
- body {
7
- margin: 0;
8
- font-family: inter;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- }
12
-
13
-
14
- .btn-close {
15
- background: url(https://static.namirasoft.com/image/concept/close/blue.svg) center/1em auto no-repeat !important;
16
- opacity: 1 !important;
17
- }
18
-
19
- .nsa_font_16_bold {
20
- font-size: 16px;
21
- font-weight: 600;
22
- }
23
-
24
- .nsa_font_13_normal {
25
- font-size: 13px;
26
- font-weight: 300;
27
- }
28
-
29
- .nsa_font_12_normal {
30
- font-size: 12px;
31
- font-weight: 300;
1
+ @font-face {
2
+ font-family: inter;
3
+ src: url("../src/assets/fonts/Inter-Regular.ttf");
4
+ }
5
+
6
+ body {
7
+ margin: 0;
8
+ font-family: inter;
9
+ -webkit-font-smoothing: antialiased;
10
+ -moz-osx-font-smoothing: grayscale;
11
+ }
12
+
13
+
14
+ .btn-close {
15
+ background: url(https://static.namirasoft.com/image/concept/close/blue.svg) center/1em auto no-repeat !important;
16
+ opacity: 1 !important;
17
+ }
18
+
19
+ .nsa_font_16_bold {
20
+ font-size: 16px;
21
+ font-weight: 600;
22
+ }
23
+
24
+ .nsa_font_13_normal {
25
+ font-size: 13px;
26
+ font-weight: 300;
27
+ }
28
+
29
+ .nsa_font_12_normal {
30
+ font-size: 12px;
31
+ font-weight: 300;
32
32
  }
package/dist/App.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { NSARouterMakerProps } from "./NSARouterMakerProps";
2
2
  export interface AppProps extends NSARouterMakerProps {
3
3
  }
4
- export declare function App(props: AppProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function App(props: AppProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export interface UseParamsProps {
2
2
  onLoaded: (p: any) => void;
3
3
  }
4
- export declare function UseParams(props: UseParamsProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function UseParams(props: UseParamsProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { Component } from 'react';
1
+ import React, { Component } from 'react';
2
2
  import { PermissionRow } from 'namirasoft-access';
3
3
  import { NSDialogProps } from 'namirasoft-site-react';
4
4
  import { NSARouterMakerProps } from '../NSARouterMakerProps';
@@ -15,5 +15,5 @@ export declare class NSAAccessListDialog extends Component<NSAAccessListDialogPr
15
15
  componentDidMount(): void;
16
16
  componentWillUnmount(): void;
17
17
  private handleClickOutside;
18
- render(): import("react/jsx-runtime").JSX.Element;
18
+ render(): React.JSX.Element;
19
19
  }
@@ -1,72 +1,72 @@
1
- .nsa_access_list_dialog_container {
2
- width: 302px;
3
- }
4
-
5
- .nsa_access_list_dialog_container p {
6
- padding: 0;
7
- margin: 0;
8
- }
9
-
10
- .nsa_access_list_dialog_item_id {
11
- color: rgba(3, 119, 255, 1);
12
- text-align: right;
13
- font-weight: 600;
14
- font-size: 16px;
15
- cursor: pointer;
16
- margin: 0;
17
- }
18
-
19
- .nsa_access_list_dialog_item_name {
20
- color: rgba(20, 27, 92, 1);
21
- font-weight: 600;
22
- font-size: 16px;
23
- text-align: left;
24
- cursor: pointer;
25
- margin: 0px;
26
- }
27
-
28
- .nsa_access_list_dialog_item_email {
29
- color: rgba(20, 27, 92, 1);
30
- }
31
-
32
- .nsa_access_list_dialog_main_name {
33
- color: rgba(20, 27, 92, 1);
34
- font-weight: 600;
35
- font-size: 24px;
36
- text-align: center;
37
- cursor: pointer;
38
- margin: 0px;
39
- }
40
-
41
- .nsa_access_list_dialog_main_email {
42
- color: rgba(20, 27, 92, 1);
43
- }
44
-
45
- .nsa_access_list_dialog_main_id {
46
- color: rgba(3, 119, 255, 1);
47
- text-align: center;
48
- font-weight: 600;
49
- font-size: 16px;
50
- cursor: pointer;
51
- margin: 0;
52
- }
53
-
54
- .nsa_access_list_dialog_users_container {
55
- padding: 0px 16px 0px 16px;
56
- display: flex;
57
- cursor: pointer;
58
- border: none;
59
- background-color: rgba(224, 226, 235, 1);
60
- border-radius: 8px;
61
- align-items: center;
62
- max-width: 100%;
63
- }
64
-
65
- .nsa_access_list_dialog_users_container:hover {
66
- background-color: rgba(178, 187, 217, 1);
67
- transition: all 0.3s ease-in-out;
68
- }
69
-
70
- .nsa_access_list_dialog_users_container img {
71
- cursor: pointer;
1
+ .nsa_access_list_dialog_container {
2
+ width: 302px;
3
+ }
4
+
5
+ .nsa_access_list_dialog_container p {
6
+ padding: 0;
7
+ margin: 0;
8
+ }
9
+
10
+ .nsa_access_list_dialog_item_id {
11
+ color: rgba(3, 119, 255, 1);
12
+ text-align: right;
13
+ font-weight: 600;
14
+ font-size: 16px;
15
+ cursor: pointer;
16
+ margin: 0;
17
+ }
18
+
19
+ .nsa_access_list_dialog_item_name {
20
+ color: rgba(20, 27, 92, 1);
21
+ font-weight: 600;
22
+ font-size: 16px;
23
+ text-align: left;
24
+ cursor: pointer;
25
+ margin: 0px;
26
+ }
27
+
28
+ .nsa_access_list_dialog_item_email {
29
+ color: rgba(20, 27, 92, 1);
30
+ }
31
+
32
+ .nsa_access_list_dialog_main_name {
33
+ color: rgba(20, 27, 92, 1);
34
+ font-weight: 600;
35
+ font-size: 24px;
36
+ text-align: center;
37
+ cursor: pointer;
38
+ margin: 0px;
39
+ }
40
+
41
+ .nsa_access_list_dialog_main_email {
42
+ color: rgba(20, 27, 92, 1);
43
+ }
44
+
45
+ .nsa_access_list_dialog_main_id {
46
+ color: rgba(3, 119, 255, 1);
47
+ text-align: center;
48
+ font-weight: 600;
49
+ font-size: 16px;
50
+ cursor: pointer;
51
+ margin: 0;
52
+ }
53
+
54
+ .nsa_access_list_dialog_users_container {
55
+ padding: 0px 16px 0px 16px;
56
+ display: flex;
57
+ cursor: pointer;
58
+ border: none;
59
+ background-color: rgba(224, 226, 235, 1);
60
+ border-radius: 8px;
61
+ align-items: center;
62
+ max-width: 100%;
63
+ }
64
+
65
+ .nsa_access_list_dialog_users_container:hover {
66
+ background-color: rgba(178, 187, 217, 1);
67
+ transition: all 0.3s ease-in-out;
68
+ }
69
+
70
+ .nsa_access_list_dialog_users_container img {
71
+ cursor: pointer;
72
72
  }
@@ -24,6 +24,6 @@ declare class NSAMasterMenu extends Component<NSAMasterMenuProps, NSAMasterMenuS
24
24
  componentDidUpdate(_: Readonly<NSAMasterMenuProps>, prev_state: Readonly<NSAMasterMenuState>): void;
25
25
  load(): Promise<void>;
26
26
  setSearch(search: string): void;
27
- render(): import("react/jsx-runtime").JSX.Element;
27
+ render(): import("react").JSX.Element;
28
28
  }
29
29
  export default NSAMasterMenu;