namirasoft-account-react 1.5.20 → 1.5.21

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/SKILL.md +514 -514
  3. package/config-overrides.js +72 -72
  4. package/dist/App.d.ts +1 -1
  5. package/dist/Router.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/NSABoxSecret.module.css +23 -23
  11. package/dist/components/NSAMasterMenu.d.ts +1 -1
  12. package/dist/components/NSAMasterMenu.module.css +250 -250
  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/NSATaskBar.d.ts +1 -1
  20. package/dist/components/NSATaskBar.module.css +57 -57
  21. package/dist/components/NSAUserDialog.d.ts +1 -1
  22. package/dist/components/NSAUserDialog.module.css +67 -67
  23. package/dist/components/NSAWorkspaceListDialog.d.ts +1 -1
  24. package/dist/components/NSAWorkspaceListDialog.module.css +41 -41
  25. package/dist/components/NSFBoxCategoryScope.d.ts +1 -1
  26. package/dist/components/NSFBoxField.d.ts +1 -1
  27. package/dist/components/NSFBoxSlot.d.ts +1 -1
  28. package/dist/components/NSFBoxWrapper.d.ts +1 -1
  29. package/dist/components/NSLabelSecret.d.ts +1 -1
  30. package/dist/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
  31. package/dist/components/quickfilter/NSAQuickFilterBar.d.ts +1 -1
  32. package/dist/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
  33. package/dist/components/quickfilter/NSAQuickFilterDialog.d.ts +1 -1
  34. package/dist/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  35. package/dist/layouts/NSALayout.d.ts +1 -1
  36. package/dist/layouts/NSASectionEdit.d.ts +1 -1
  37. package/dist/layouts/NSASectionEditTabPage.d.ts +1 -1
  38. package/dist/layouts/NSASectionEditTabPage.module.css +4 -4
  39. package/dist/layouts/NSASectionList.d.ts +1 -1
  40. package/dist/layouts/NSASectionList.module.css +31 -31
  41. package/dist/layouts/NSASectionView.d.ts +1 -1
  42. package/dist/layouts/NSASectionViewTabMore.d.ts +1 -1
  43. package/dist/layouts/NSASectionViewTabPage.d.ts +1 -1
  44. package/dist/layouts/NSASectionViewTabPage.module.css +47 -47
  45. package/dist/pages/NSAConsentPage.module.css +26 -26
  46. package/dist/pages/NSAEmailVerificationPage.d.ts +1 -1
  47. package/dist/pages/NSAHomePage.d.ts +1 -1
  48. package/dist/pages/NSAHomePage.module.css +41 -41
  49. package/dist/pages/NSALoginPage.d.ts +1 -1
  50. package/dist/pages/NSALoginPage.module.css +26 -26
  51. package/dist/pages/NSAPhoneVerificationPage.d.ts +1 -1
  52. package/dist/pages/NSAVerificationPage.d.ts +1 -1
  53. package/dist/pages/NSAVerificationPage.module.css +31 -31
  54. package/package.json +95 -95
  55. package/public/index.html +21 -21
  56. package/src/App.tsx +19 -19
  57. package/src/CTFRow.ts +7 -7
  58. package/src/FieldCacheService.tsx +84 -84
  59. package/src/IEntityInfo.ts +33 -33
  60. package/src/NSACacheService.ts +120 -120
  61. package/src/NSAFilterOperators.ts +92 -92
  62. package/src/NSARouterMaker.tsx +140 -140
  63. package/src/NSARouterMakerProps.ts +23 -23
  64. package/src/NSARouterMakerResult.ts +24 -24
  65. package/src/NSFRouterMaker.tsx +35 -35
  66. package/src/NSFRouterProps.ts +7 -7
  67. package/src/NSFRoutes.ts +30 -30
  68. package/src/Router.tsx +48 -48
  69. package/src/UseParams.tsx +17 -17
  70. package/src/components/NSAAccessListDialog.module.css +71 -71
  71. package/src/components/NSAAccessListDialog.tsx +178 -178
  72. package/src/components/NSABoxSecret.module.css +23 -23
  73. package/src/components/NSABoxSecret.tsx +264 -264
  74. package/src/components/NSAMasterMenu.module.css +250 -250
  75. package/src/components/NSAMasterMenu.tsx +169 -169
  76. package/src/components/NSAMasterMenuItem.tsx +250 -250
  77. package/src/components/NSAMessageListDialog.module.css +99 -99
  78. package/src/components/NSAMessageListDialog.tsx +142 -142
  79. package/src/components/NSANavigationGuard.tsx +79 -79
  80. package/src/components/NSAProductListDialog.module.css +44 -44
  81. package/src/components/NSAProductListDialog.tsx +88 -88
  82. package/src/components/NSATable.tsx +494 -494
  83. package/src/components/NSATaskBar.module.css +57 -57
  84. package/src/components/NSATaskBar.tsx +193 -193
  85. package/src/components/NSAUserDialog.module.css +67 -67
  86. package/src/components/NSAUserDialog.tsx +122 -122
  87. package/src/components/NSAWorkspaceListDialog.module.css +41 -41
  88. package/src/components/NSAWorkspaceListDialog.tsx +147 -147
  89. package/src/components/NSFBoxCategoryScope.tsx +52 -52
  90. package/src/components/NSFBoxField.tsx +37 -37
  91. package/src/components/NSFBoxSlot.tsx +71 -71
  92. package/src/components/NSFBoxWrapper.tsx +69 -69
  93. package/src/components/NSLabelSecret.tsx +37 -37
  94. package/src/components/quickfilter/NSAFilterBoxBase.tsx +89 -89
  95. package/src/components/quickfilter/NSAFilterBoxBoolean.tsx +66 -66
  96. package/src/components/quickfilter/NSAFilterBoxDate.tsx +110 -110
  97. package/src/components/quickfilter/NSAFilterBoxDateTime.tsx +110 -110
  98. package/src/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
  99. package/src/components/quickfilter/NSAFilterBoxEnum.tsx +79 -79
  100. package/src/components/quickfilter/NSAFilterBoxNumber.tsx +145 -145
  101. package/src/components/quickfilter/NSAFilterBoxString.tsx +83 -83
  102. package/src/components/quickfilter/NSAFilterBoxTime.tsx +106 -106
  103. package/src/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
  104. package/src/components/quickfilter/NSAQuickFilterBar.tsx +142 -142
  105. package/src/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  106. package/src/components/quickfilter/NSAQuickFilterDialog.tsx +260 -260
  107. package/src/css.d.ts +13 -13
  108. package/src/formatters/SecretFormatter.tsx +24 -24
  109. package/src/index.tsx +26 -26
  110. package/src/layouts/Actions.ts +146 -146
  111. package/src/layouts/CFTUtil.ts +18 -18
  112. package/src/layouts/NSALayout.tsx +744 -744
  113. package/src/layouts/NSALayout_Field.ts +125 -125
  114. package/src/layouts/NSASectionEdit.tsx +281 -281
  115. package/src/layouts/NSASectionEditTabPage.module.css +4 -4
  116. package/src/layouts/NSASectionEditTabPage.tsx +256 -256
  117. package/src/layouts/NSASectionList.module.css +31 -31
  118. package/src/layouts/NSASectionList.tsx +147 -147
  119. package/src/layouts/NSASectionView.tsx +98 -98
  120. package/src/layouts/NSASectionViewTabMore.tsx +78 -78
  121. package/src/layouts/NSASectionViewTabPage.module.css +47 -47
  122. package/src/layouts/NSASectionViewTabPage.tsx +399 -399
  123. package/src/main.ts +52 -52
  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 +124 -124
  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 +185 -185
  134. package/src/pages/NSFCategoryEditPage.tsx +87 -87
  135. package/src/pages/NSFCategoryListPage.tsx +23 -23
  136. package/src/pages/NSFCategoryViewPage.tsx +23 -23
  137. package/src/pages/NSFEntities.ts +58 -58
  138. package/src/pages/PaymentRequired.tsx +80 -80
  139. package/tsconfig.json +43 -43
@@ -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 { NSARouterMakerResult } from "../NSARouterMakerResult";
2
2
  interface NSAPhoneVerificationPageProps extends NSARouterMakerResult {
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.20",
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.8",
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.12",
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.6.3",
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.21",
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.8",
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.12",
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.tsx CHANGED
@@ -1,20 +1,20 @@
1
- import { NSALayout } from "./layouts/NSALayout";
2
- import { NSARouterMakerResult } from "./NSARouterMakerResult";
3
- import { NSALoginPage } from "./pages/NSALoginPage";
4
-
5
- export interface AppProps extends NSARouterMakerResult { }
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 { NSARouterMakerResult } from "./NSARouterMakerResult";
3
+ import { NSALoginPage } from "./pages/NSALoginPage";
4
+
5
+ export interface AppProps extends NSARouterMakerResult { }
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
  }