namirasoft-account-react 1.5.3 → 1.5.5

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 (138) 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/NSABoxSecret.d.ts +1 -1
  10. package/dist/components/{NSBoxSecret.module.css → NSABoxSecret.module.css} +23 -23
  11. package/dist/components/NSAMasterMenu.d.ts +1 -1
  12. package/dist/components/NSAMasterMenu.module.css +248 -248
  13. package/dist/components/NSAMasterMenuItem.d.ts +1 -1
  14. package/dist/components/NSAMessageListDialog.d.ts +1 -1
  15. package/dist/components/NSAMessageListDialog.module.css +99 -99
  16. package/dist/components/NSANavigationGuard.d.ts +1 -1
  17. package/dist/components/NSAProductListDialog.d.ts +1 -1
  18. package/dist/components/NSAProductListDialog.module.css +44 -44
  19. package/dist/components/NSAReorderDialog.d.ts +1 -1
  20. package/dist/components/NSAReorderDialog.module.css +49 -49
  21. package/dist/components/NSASortDialog.d.ts +1 -1
  22. package/dist/components/NSATaskBar.d.ts +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/NSFBoxCategoryScope.d.ts +1 -1
  29. package/dist/components/NSFBoxField.d.ts +1 -1
  30. package/dist/components/NSFBoxSlot.d.ts +1 -1
  31. package/dist/components/NSFBoxWrapper.d.ts +1 -1
  32. package/dist/components/NSLabelSecret.d.ts +1 -1
  33. package/dist/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
  34. package/dist/components/quickfilter/NSAQuickFilterBar.d.ts +1 -1
  35. package/dist/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
  36. package/dist/components/quickfilter/NSAQuickFilterDialog.d.ts +1 -1
  37. package/dist/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  38. package/dist/layouts/NSALayout.d.ts +1 -1
  39. package/dist/layouts/NSASectionEdit.d.ts +1 -1
  40. package/dist/layouts/NSASectionEditTabPage.d.ts +1 -1
  41. package/dist/layouts/NSASectionEditTabPage.module.css +4 -4
  42. package/dist/layouts/NSASectionList.d.ts +1 -1
  43. package/dist/layouts/NSASectionList.module.css +31 -31
  44. package/dist/layouts/NSASectionView.d.ts +1 -1
  45. package/dist/layouts/NSASectionViewTabMore.d.ts +1 -1
  46. package/dist/layouts/NSASectionViewTabPage.d.ts +1 -1
  47. package/dist/layouts/NSASectionViewTabPage.module.css +47 -47
  48. package/dist/pages/NSAConsentPage.module.css +26 -26
  49. package/dist/pages/NSAEmailVerificationPage.d.ts +1 -1
  50. package/dist/pages/NSAHomePage.d.ts +1 -1
  51. package/dist/pages/NSAHomePage.module.css +41 -41
  52. package/dist/pages/NSALoginPage.d.ts +1 -1
  53. package/dist/pages/NSALoginPage.module.css +26 -26
  54. package/dist/pages/NSAPhoneVerificationPage.d.ts +1 -1
  55. package/dist/pages/NSAVerificationPage.d.ts +1 -1
  56. package/dist/pages/NSAVerificationPage.module.css +31 -31
  57. package/package.json +95 -95
  58. package/public/index.html +21 -21
  59. package/src/App.css +31 -31
  60. package/src/App.tsx +19 -19
  61. package/src/CTFRow.ts +7 -7
  62. package/src/FieldCacheService.ts +38 -38
  63. package/src/IEntityInfo.ts +33 -33
  64. package/src/NSACacheService.ts +120 -120
  65. package/src/NSAFilterOperators.ts +92 -92
  66. package/src/NSARouterMaker.tsx +142 -142
  67. package/src/NSARouterMakerConfig.ts +15 -15
  68. package/src/NSARouterMakerProps.ts +24 -24
  69. package/src/Router.tsx +45 -45
  70. package/src/UseParams.tsx +18 -18
  71. package/src/components/NSAAccessListDialog.module.css +71 -71
  72. package/src/components/NSAAccessListDialog.tsx +178 -178
  73. package/src/components/{NSBoxSecret.module.css → NSABoxSecret.module.css} +23 -23
  74. package/src/components/NSABoxSecret.tsx +264 -264
  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/NSANavigationGuard.tsx +79 -79
  81. package/src/components/NSAProductListDialog.module.css +44 -44
  82. package/src/components/NSAProductListDialog.tsx +88 -88
  83. package/src/components/NSAReorderDialog.module.css +49 -49
  84. package/src/components/NSAReorderDialog.tsx +149 -149
  85. package/src/components/NSASortDialog.tsx +117 -117
  86. package/src/components/NSATable.tsx +545 -545
  87. package/src/components/NSATaskBar.module.css +57 -57
  88. package/src/components/NSATaskBar.tsx +193 -193
  89. package/src/components/NSAUserDialog.module.css +67 -67
  90. package/src/components/NSAUserDialog.tsx +122 -122
  91. package/src/components/NSAWorkspaceListDialog.module.css +41 -41
  92. package/src/components/NSAWorkspaceListDialog.tsx +147 -147
  93. package/src/components/NSFBoxCategoryScope.tsx +52 -52
  94. package/src/components/NSFBoxField.tsx +37 -37
  95. package/src/components/NSFBoxSlot.tsx +71 -71
  96. package/src/components/NSFBoxWrapper.tsx +69 -69
  97. package/src/components/NSLabelSecret.tsx +37 -37
  98. package/src/components/quickfilter/NSAFilterBoxBase.tsx +89 -89
  99. package/src/components/quickfilter/NSAFilterBoxBoolean.tsx +66 -66
  100. package/src/components/quickfilter/NSAFilterBoxDate.tsx +110 -110
  101. package/src/components/quickfilter/NSAFilterBoxDateTime.tsx +110 -110
  102. package/src/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
  103. package/src/components/quickfilter/NSAFilterBoxEnum.tsx +79 -79
  104. package/src/components/quickfilter/NSAFilterBoxNumber.tsx +145 -145
  105. package/src/components/quickfilter/NSAFilterBoxString.tsx +83 -83
  106. package/src/components/quickfilter/NSAFilterBoxTime.tsx +106 -106
  107. package/src/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
  108. package/src/components/quickfilter/NSAQuickFilterBar.tsx +142 -142
  109. package/src/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  110. package/src/components/quickfilter/NSAQuickFilterDialog.tsx +260 -260
  111. package/src/css.d.ts +13 -13
  112. package/src/formatters/SecretFormatter.tsx +24 -24
  113. package/src/index.tsx +26 -26
  114. package/src/layouts/Actions.ts +146 -146
  115. package/src/layouts/CFTUtil.ts +18 -18
  116. package/src/layouts/NSALayout.tsx +739 -739
  117. package/src/layouts/NSASectionEdit.tsx +282 -282
  118. package/src/layouts/NSASectionEditTabPage.module.css +4 -4
  119. package/src/layouts/NSASectionEditTabPage.tsx +257 -257
  120. package/src/layouts/NSASectionList.module.css +31 -31
  121. package/src/layouts/NSASectionList.tsx +148 -148
  122. package/src/layouts/NSASectionView.tsx +99 -99
  123. package/src/layouts/NSASectionViewTabMore.tsx +77 -77
  124. package/src/layouts/NSASectionViewTabPage.module.css +47 -47
  125. package/src/layouts/NSASectionViewTabPage.tsx +400 -400
  126. package/src/main.ts +46 -46
  127. package/src/pages/NSAConsentPage.module.css +26 -26
  128. package/src/pages/NSAConsentPage.tsx +120 -120
  129. package/src/pages/NSAEmailVerificationPage.tsx +30 -30
  130. package/src/pages/NSAHomePage.module.css +41 -41
  131. package/src/pages/NSAHomePage.tsx +123 -123
  132. package/src/pages/NSALoginPage.module.css +26 -26
  133. package/src/pages/NSALoginPage.tsx +87 -87
  134. package/src/pages/NSAPhoneVerificationPage.tsx +94 -94
  135. package/src/pages/NSAVerificationPage.module.css +31 -31
  136. package/src/pages/NSAVerificationPage.tsx +186 -186
  137. package/src/pages/PaymentRequired.tsx +76 -76
  138. package/tsconfig.json +43 -43
@@ -1,27 +1,27 @@
1
- .nsa_consent_page_container {
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: center;
6
- min-height: 100vh;
7
- }
8
-
9
- .nsa_consent_page_logo {
10
- text-align: center;
11
- }
12
-
13
- .nsa_consent_page_title {
14
- font-size: 32px;
15
- font-weight: 700;
16
- text-align: center;
17
- }
18
-
19
- .nsa_consent_page_button {
20
- text-align: center;
21
- }
22
-
23
- .nsa_consent_page_version {
24
- position: fixed;
25
- left: 16px;
26
- bottom: 16px;
1
+ .nsa_consent_page_container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ justify-content: center;
6
+ min-height: 100vh;
7
+ }
8
+
9
+ .nsa_consent_page_logo {
10
+ text-align: center;
11
+ }
12
+
13
+ .nsa_consent_page_title {
14
+ font-size: 32px;
15
+ font-weight: 700;
16
+ text-align: center;
17
+ }
18
+
19
+ .nsa_consent_page_button {
20
+ text-align: center;
21
+ }
22
+
23
+ .nsa_consent_page_version {
24
+ position: fixed;
25
+ left: 16px;
26
+ bottom: 16px;
27
27
  }
@@ -2,5 +2,5 @@ import { NSARouterMakerProps } from "../NSARouterMakerProps";
2
2
  interface NSAEmailVerificationPageProps extends NSARouterMakerProps {
3
3
  callback: string;
4
4
  }
5
- export declare function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps): import("react").JSX.Element;
5
+ export declare function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -26,4 +26,4 @@ export interface NSAHomePageState {
26
26
  product: ProductFullRow | null;
27
27
  search_text?: string;
28
28
  }
29
- export declare function NSAHomePage(props: NSAHomePageProps): import("react").JSX.Element;
29
+ export declare function NSAHomePage(props: NSAHomePageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,42 +1,42 @@
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
- margin-bottom: 0;
24
- }
25
-
26
- .nsa_home_search_wrapper {
27
- height: 3.5rem;
28
- }
29
-
30
- .nsa_home_search_box {
31
- min-height: 100%;
32
- border: none !important;
33
- border-radius: 2rem;
34
- padding: 0.5rem 1rem 0.5rem 3rem;
35
- background: url("https://static.namirasoft.com/image/concept/search/blue.svg") left 16px center / 24px no-repeat scroll white !important;
36
- box-shadow: 0 0 0 4px rgba(64, 150, 255, 0.08);
37
- }
38
-
39
- .nsa_home_search_box:focus-visible {
40
- outline: none !important;
41
- box-shadow: 0 0 0 4px rgb(64, 150, 255, 0.24);
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
+ margin-bottom: 0;
24
+ }
25
+
26
+ .nsa_home_search_wrapper {
27
+ height: 3.5rem;
28
+ }
29
+
30
+ .nsa_home_search_box {
31
+ min-height: 100%;
32
+ border: none !important;
33
+ border-radius: 2rem;
34
+ padding: 0.5rem 1rem 0.5rem 3rem;
35
+ background: url("https://static.namirasoft.com/image/concept/search/blue.svg") left 16px center / 24px no-repeat scroll white !important;
36
+ box-shadow: 0 0 0 4px rgba(64, 150, 255, 0.08);
37
+ }
38
+
39
+ .nsa_home_search_box:focus-visible {
40
+ outline: none !important;
41
+ box-shadow: 0 0 0 4px rgb(64, 150, 255, 0.24);
42
42
  }
@@ -12,4 +12,4 @@ export interface NSALoginPageProps {
12
12
  export interface NSALoginPageState {
13
13
  product: ProductFullRow | null;
14
14
  }
15
- export declare function NSALoginPage(props: NSALoginPageProps): import("react").JSX.Element;
15
+ export declare function NSALoginPage(props: NSALoginPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,27 +1,27 @@
1
- .nsa_login_page_container {
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: center;
6
- min-height: 100vh;
7
- }
8
-
9
- .nsa_login_page_logo {
10
- text-align: center;
11
- }
12
-
13
- .nsa_login_page_title {
14
- font-size: 32px;
15
- font-weight: 700;
16
- text-align: center;
17
- }
18
-
19
- .nsa_login_page_button {
20
- text-align: center;
21
- }
22
-
23
- .nsa_login_page_version {
24
- position: fixed;
25
- left: 16px;
26
- bottom: 16px;
1
+ .nsa_login_page_container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ justify-content: center;
6
+ min-height: 100vh;
7
+ }
8
+
9
+ .nsa_login_page_logo {
10
+ text-align: center;
11
+ }
12
+
13
+ .nsa_login_page_title {
14
+ font-size: 32px;
15
+ font-weight: 700;
16
+ text-align: center;
17
+ }
18
+
19
+ .nsa_login_page_button {
20
+ text-align: center;
21
+ }
22
+
23
+ .nsa_login_page_version {
24
+ position: fixed;
25
+ left: 16px;
26
+ bottom: 16px;
27
27
  }
@@ -2,5 +2,5 @@ import { NSARouterMakerProps } from "../NSARouterMakerProps";
2
2
  interface NSAPhoneVerificationPageProps extends NSARouterMakerProps {
3
3
  callback: string;
4
4
  }
5
- export declare function NSAPhoneVerificationPage(props: NSAPhoneVerificationPageProps): import("react").JSX.Element;
5
+ export declare function NSAPhoneVerificationPage(props: NSAPhoneVerificationPageProps): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -21,5 +21,5 @@ export declare class NSAVerificationPage extends React.Component<NSAVerification
21
21
  private onRequest;
22
22
  private onVerify;
23
23
  componentDidMount(): void;
24
- render(): React.JSX.Element;
24
+ render(): import("react/jsx-runtime").JSX.Element;
25
25
  }
@@ -1,32 +1,32 @@
1
- .nsa_verification_container {
2
- background-color: #FFF;
3
- border: 1px solid #A1A4B0;
4
- backdrop-filter: blur(5px);
5
- border-radius: 8px;
6
- width: 100%;
7
- max-width: 594px;
8
- padding: 16px;
9
- color: #141B5C !important;
10
- display: flex;
11
- flex-direction: column;
12
- gap: 16px;
13
- align-items: center;
14
- }
15
-
16
- .nsa_verification_container p {
17
- text-align: center;
18
- }
19
-
20
- .nsa_verification_vector {
21
- width: 224px;
22
- height: 224px;
23
- }
24
-
25
- .nsa_resend_button {
26
- border: 0;
27
- outline: 0;
28
- background: none;
29
- color: #141B5C;
30
- font-size: 16px;
31
- font-weight: 500;
1
+ .nsa_verification_container {
2
+ background-color: #FFF;
3
+ border: 1px solid #A1A4B0;
4
+ backdrop-filter: blur(5px);
5
+ border-radius: 8px;
6
+ width: 100%;
7
+ max-width: 594px;
8
+ padding: 16px;
9
+ color: #141B5C !important;
10
+ display: flex;
11
+ flex-direction: column;
12
+ gap: 16px;
13
+ align-items: center;
14
+ }
15
+
16
+ .nsa_verification_container p {
17
+ text-align: center;
18
+ }
19
+
20
+ .nsa_verification_vector {
21
+ width: 224px;
22
+ height: 224px;
23
+ }
24
+
25
+ .nsa_resend_button {
26
+ border: 0;
27
+ outline: 0;
28
+ background: none;
29
+ color: #141B5C;
30
+ font-size: 16px;
31
+ font-weight: 500;
32
32
  }
package/package.json CHANGED
@@ -1,96 +1,96 @@
1
- {
2
- "name": "namirasoft-account-react",
3
- "title": "Namirasoft Account React NPM Package",
4
- "description": "Namira Software Corporation Account React NPM Package",
5
- "icon": "logo.png",
6
- "logo": "https://static.namirasoft.com/image/namirasoft/account/logo/base.png",
7
- "language": "ts",
8
- "framework": "npm",
9
- "application": "package",
10
- "private": false,
11
- "version": "1.5.3",
12
- "author": "Amir Abolhasani",
13
- "license": "MIT",
14
- "main": "./dist/main.js",
15
- "types": "./dist/main.d.ts",
16
- "scripts": {
17
- "start": "react-app-rewired start",
18
- "build": "npm run copy",
19
- "test": "react-app-rewired test",
20
- "eject": "react-app-rewired eject",
21
- "copy": "copyfiles -u 1 \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.svg\" \"src/**/*.png\" \"src/**/*.jpg\" dist/"
22
- },
23
- "dependencies": {
24
- "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
25
- "@babel/plugin-transform-private-property-in-object": "^7.29.7",
26
- "@types/react": "^18.3.13",
27
- "@types/react-helmet": "^6.1.11",
28
- "bootstrap": "^5.3.8",
29
- "copyfiles": "^2.4.1",
30
- "namirasoft-access": "^1.5.1",
31
- "namirasoft-account": "^1.5.0",
32
- "namirasoft-account-client": "^1.5.0",
33
- "namirasoft-api-link": "^1.5.0",
34
- "namirasoft-api-product": "^1.5.0",
35
- "namirasoft-core": "^1.5.2",
36
- "namirasoft-field": "^1.5.6",
37
- "namirasoft-history": "^1.5.0",
38
- "namirasoft-message": "^1.5.0",
39
- "namirasoft-payment": "^1.5.0",
40
- "namirasoft-schema": "^1.5.0",
41
- "namirasoft-secret": "^1.5.1",
42
- "namirasoft-site-map": "^1.5.0",
43
- "namirasoft-site-react": "^1.5.7",
44
- "namirasoft-workspace": "^1.5.0",
45
- "os-browserify": "^0.3.0",
46
- "path-browserify": "^1.0.1",
47
- "query-string": "^9.4.1",
48
- "react": "^18.3.1",
49
- "react-app-rewired": "^2.2.1",
50
- "react-dev-utils": "^12.0.1",
51
- "react-dom": "^18.3.1",
52
- "react-helmet": "^6.1.0",
53
- "react-router-dom": "7.9.1",
54
- "react-scripts": "5.0.1",
55
- "webpack": "^5.108.4"
56
- },
57
- "eslintConfig": {
58
- "extends": [
59
- "react-app",
60
- "react-app/jest"
61
- ]
62
- },
63
- "browserslist": {
64
- "production": [
65
- ">0.2%",
66
- "not dead",
67
- "not op_mini all"
68
- ],
69
- "development": [
70
- "last 1 chrome version",
71
- "last 1 firefox version",
72
- "last 1 safari version"
73
- ]
74
- },
75
- "ns-psc": {
76
- "skip": {
77
- "files": [
78
- "/tsconfig.json"
79
- ],
80
- "content": {
81
- "dependencies": {
82
- "unused": {
83
- "list": [
84
- "@babel/plugin-proposal-private-property-in-object",
85
- "@babel/plugin-transform-private-property-in-object",
86
- "os-browserify",
87
- "path-browserify",
88
- "react-app-rewired",
89
- "react-scripts"
90
- ]
91
- }
92
- }
93
- }
94
- }
95
- }
1
+ {
2
+ "name": "namirasoft-account-react",
3
+ "title": "Namirasoft Account React NPM Package",
4
+ "description": "Namira Software Corporation Account React NPM Package",
5
+ "icon": "logo.png",
6
+ "logo": "https://static.namirasoft.com/image/namirasoft/account/logo/base.png",
7
+ "language": "ts",
8
+ "framework": "npm",
9
+ "application": "package",
10
+ "private": false,
11
+ "version": "1.5.5",
12
+ "author": "Amir Abolhasani",
13
+ "license": "MIT",
14
+ "main": "./dist/main.js",
15
+ "types": "./dist/main.d.ts",
16
+ "scripts": {
17
+ "start": "react-app-rewired start",
18
+ "build": "npm run copy",
19
+ "test": "react-app-rewired test",
20
+ "eject": "react-app-rewired eject",
21
+ "copy": "copyfiles -u 1 \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.svg\" \"src/**/*.png\" \"src/**/*.jpg\" dist/"
22
+ },
23
+ "dependencies": {
24
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
25
+ "@babel/plugin-transform-private-property-in-object": "^7.29.7",
26
+ "@types/react": "^18.3.13",
27
+ "@types/react-helmet": "^6.1.11",
28
+ "bootstrap": "^5.3.8",
29
+ "copyfiles": "^2.4.1",
30
+ "namirasoft-access": "^1.5.1",
31
+ "namirasoft-account": "^1.5.0",
32
+ "namirasoft-account-client": "^1.5.0",
33
+ "namirasoft-api-link": "^1.5.0",
34
+ "namirasoft-api-product": "^1.5.0",
35
+ "namirasoft-core": "^1.5.2",
36
+ "namirasoft-field": "^1.5.7",
37
+ "namirasoft-history": "^1.5.0",
38
+ "namirasoft-message": "^1.5.0",
39
+ "namirasoft-payment": "^1.5.0",
40
+ "namirasoft-schema": "^1.5.0",
41
+ "namirasoft-secret": "^1.5.1",
42
+ "namirasoft-site-map": "^1.5.0",
43
+ "namirasoft-site-react": "^1.5.7",
44
+ "namirasoft-workspace": "^1.5.0",
45
+ "os-browserify": "^0.3.0",
46
+ "path-browserify": "^1.0.1",
47
+ "query-string": "^9.4.1",
48
+ "react": "^18.3.1",
49
+ "react-app-rewired": "^2.2.1",
50
+ "react-dev-utils": "^12.0.1",
51
+ "react-dom": "^18.3.1",
52
+ "react-helmet": "^6.1.0",
53
+ "react-router-dom": "7.9.1",
54
+ "react-scripts": "5.0.1",
55
+ "webpack": "^5.108.4"
56
+ },
57
+ "eslintConfig": {
58
+ "extends": [
59
+ "react-app",
60
+ "react-app/jest"
61
+ ]
62
+ },
63
+ "browserslist": {
64
+ "production": [
65
+ ">0.2%",
66
+ "not dead",
67
+ "not op_mini all"
68
+ ],
69
+ "development": [
70
+ "last 1 chrome version",
71
+ "last 1 firefox version",
72
+ "last 1 safari version"
73
+ ]
74
+ },
75
+ "ns-psc": {
76
+ "skip": {
77
+ "files": [
78
+ "/tsconfig.json"
79
+ ],
80
+ "content": {
81
+ "dependencies": {
82
+ "unused": {
83
+ "list": [
84
+ "@babel/plugin-proposal-private-property-in-object",
85
+ "@babel/plugin-transform-private-property-in-object",
86
+ "os-browserify",
87
+ "path-browserify",
88
+ "react-app-rewired",
89
+ "react-scripts"
90
+ ]
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
96
  }
package/public/index.html CHANGED
@@ -1,22 +1,22 @@
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 href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
11
- integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
12
- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
- <!-- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> -->
14
- <title>React App</title>
15
- </head>
16
-
17
- <body>
18
- <noscript>You need to enable JavaScript to run this app.</noscript>
19
- <div id="root"></div>
20
- </body>
21
-
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 href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
11
+ integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
12
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
+ <!-- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> -->
14
+ <title>React App</title>
15
+ </head>
16
+
17
+ <body>
18
+ <noscript>You need to enable JavaScript to run this app.</noscript>
19
+ <div id="root"></div>
20
+ </body>
21
+
22
22
  </html>
package/src/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/src/App.tsx CHANGED
@@ -1,20 +1,20 @@
1
- import { NSALayout } from "./layouts/NSALayout";
2
- import { NSARouterMakerProps } from "./NSARouterMakerProps";
3
- import { NSALoginPage } from "./pages/NSALoginPage";
4
-
5
- export interface AppProps extends NSARouterMakerProps { }
6
-
7
- export function App(props: AppProps)
8
- {
9
- if (!props.account)
10
- return <NSALoginPage product_id={props.product_id} />
11
-
12
- return (
13
- <NSALayout
14
- {...props}
15
- header={{ mega_menu: true }}
16
- >
17
- <></>
18
- </NSALayout>
19
- );
1
+ import { NSALayout } from "./layouts/NSALayout";
2
+ import { NSARouterMakerProps } from "./NSARouterMakerProps";
3
+ import { NSALoginPage } from "./pages/NSALoginPage";
4
+
5
+ export interface AppProps extends NSARouterMakerProps { }
6
+
7
+ export function App(props: AppProps)
8
+ {
9
+ if (!props.account)
10
+ return <NSALoginPage product_id={props.product_id} />
11
+
12
+ return (
13
+ <NSALayout
14
+ {...props}
15
+ header={{ mega_menu: true }}
16
+ >
17
+ <></>
18
+ </NSALayout>
19
+ );
20
20
  };
package/src/CTFRow.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { EntityCategoryInputRow, EntityFieldInputRow, EntityTagInputRow } from "namirasoft-field";
2
-
3
- export interface CTFRow
4
- {
5
- categories: EntityCategoryInputRow[];
6
- fields: EntityFieldInputRow[];
7
- tags: EntityTagInputRow[];
1
+ import { EntityCategoryInputRow, EntityFieldInputRow, EntityTagInputRow } from "namirasoft-field";
2
+
3
+ export interface CTFRow
4
+ {
5
+ categories: EntityCategoryInputRow[];
6
+ fields: EntityFieldInputRow[];
7
+ tags: EntityTagInputRow[];
8
8
  }