namirasoft-account-react 1.5.26 → 1.5.28

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 (149) 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/NSACacheService.d.ts +1 -1
  6. package/dist/NSACacheService.js +5 -2
  7. package/dist/NSACacheService.js.map +1 -1
  8. package/dist/NSAFilterOperators.d.ts +6 -4
  9. package/dist/NSAFilterOperators.js +4 -4
  10. package/dist/NSAFilterOperators.js.map +1 -1
  11. package/dist/Router.d.ts +1 -1
  12. package/dist/UseParams.d.ts +1 -1
  13. package/dist/components/NSAAccessListDialog.d.ts +2 -2
  14. package/dist/components/NSAAccessListDialog.module.css +71 -71
  15. package/dist/components/NSABoxSecret.d.ts +1 -1
  16. package/dist/components/NSABoxSecret.module.css +23 -23
  17. package/dist/components/NSAMasterMenu.d.ts +1 -1
  18. package/dist/components/NSAMasterMenu.module.css +250 -250
  19. package/dist/components/NSAMasterMenuItem.d.ts +1 -1
  20. package/dist/components/NSAMessageListDialog.d.ts +1 -1
  21. package/dist/components/NSAMessageListDialog.module.css +99 -99
  22. package/dist/components/NSANavigationGuard.d.ts +1 -1
  23. package/dist/components/NSAProductListDialog.d.ts +1 -1
  24. package/dist/components/NSAProductListDialog.module.css +44 -44
  25. package/dist/components/NSATable.js +4 -4
  26. package/dist/components/NSATable.js.map +1 -1
  27. package/dist/components/NSATaskBar.d.ts +1 -1
  28. package/dist/components/NSATaskBar.module.css +57 -57
  29. package/dist/components/NSAUserDialog.d.ts +1 -1
  30. package/dist/components/NSAUserDialog.module.css +67 -67
  31. package/dist/components/NSAWorkspaceListDialog.d.ts +1 -1
  32. package/dist/components/NSAWorkspaceListDialog.module.css +41 -41
  33. package/dist/components/NSFBoxCategoryScope.d.ts +1 -1
  34. package/dist/components/NSFBoxField.d.ts +1 -1
  35. package/dist/components/NSFBoxSlot.d.ts +1 -1
  36. package/dist/components/NSFBoxWrapper.d.ts +1 -1
  37. package/dist/components/NSLabelSecret.d.ts +1 -1
  38. package/dist/components/quickfilter/NSAFilterBoxBase.d.ts +2 -0
  39. package/dist/components/quickfilter/NSAFilterBoxBase.js +20 -2
  40. package/dist/components/quickfilter/NSAFilterBoxBase.js.map +1 -1
  41. package/dist/components/quickfilter/NSAFilterBoxBoolean.js +15 -9
  42. package/dist/components/quickfilter/NSAFilterBoxBoolean.js.map +1 -1
  43. package/dist/components/quickfilter/NSAFilterBoxEnum.d.ts +6 -1
  44. package/dist/components/quickfilter/NSAFilterBoxEnum.js +26 -9
  45. package/dist/components/quickfilter/NSAFilterBoxEnum.js.map +1 -1
  46. package/dist/components/quickfilter/NSAFilterBoxEnum.module.css +51 -44
  47. package/dist/components/quickfilter/NSAQuickFilterBar.d.ts +1 -1
  48. package/dist/components/quickfilter/NSAQuickFilterBar.module.css +20 -19
  49. package/dist/components/quickfilter/NSAQuickFilterDialog.d.ts +6 -1
  50. package/dist/components/quickfilter/NSAQuickFilterDialog.js +24 -6
  51. package/dist/components/quickfilter/NSAQuickFilterDialog.js.map +1 -1
  52. package/dist/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  53. package/dist/layouts/NSALayout.d.ts +1 -1
  54. package/dist/layouts/NSASectionEdit.d.ts +1 -1
  55. package/dist/layouts/NSASectionEditTabPage.d.ts +1 -1
  56. package/dist/layouts/NSASectionEditTabPage.module.css +4 -4
  57. package/dist/layouts/NSASectionList.d.ts +1 -1
  58. package/dist/layouts/NSASectionList.module.css +31 -31
  59. package/dist/layouts/NSASectionView.d.ts +1 -1
  60. package/dist/layouts/NSASectionViewTabMore.d.ts +1 -1
  61. package/dist/layouts/NSASectionViewTabPage.d.ts +1 -1
  62. package/dist/layouts/NSASectionViewTabPage.module.css +47 -47
  63. package/dist/pages/NSAConsentPage.module.css +26 -26
  64. package/dist/pages/NSAEmailVerificationPage.d.ts +1 -1
  65. package/dist/pages/NSAHomePage.d.ts +1 -1
  66. package/dist/pages/NSAHomePage.module.css +41 -41
  67. package/dist/pages/NSALoginPage.d.ts +1 -1
  68. package/dist/pages/NSALoginPage.module.css +26 -26
  69. package/dist/pages/NSAPhoneVerificationPage.d.ts +1 -1
  70. package/dist/pages/NSAVerificationPage.d.ts +1 -1
  71. package/dist/pages/NSAVerificationPage.module.css +31 -31
  72. package/package.json +95 -95
  73. package/public/index.html +21 -21
  74. package/src/App.tsx +19 -19
  75. package/src/CTFRow.ts +7 -7
  76. package/src/IEntityInfo.ts +33 -33
  77. package/src/NSACacheService.ts +123 -120
  78. package/src/NSAFilterOperators.ts +94 -92
  79. package/src/NSARouterMaker.tsx +140 -140
  80. package/src/NSARouterMakerProps.ts +23 -23
  81. package/src/NSARouterMakerResult.ts +24 -24
  82. package/src/NSFRouterMaker.tsx +35 -35
  83. package/src/Router.tsx +48 -48
  84. package/src/UseParams.tsx +17 -17
  85. package/src/components/NSAAccessListDialog.module.css +71 -71
  86. package/src/components/NSAAccessListDialog.tsx +178 -178
  87. package/src/components/NSABoxSecret.module.css +23 -23
  88. package/src/components/NSABoxSecret.tsx +264 -264
  89. package/src/components/NSAMasterMenu.module.css +250 -250
  90. package/src/components/NSAMasterMenu.tsx +169 -169
  91. package/src/components/NSAMasterMenuItem.tsx +250 -250
  92. package/src/components/NSAMessageListDialog.module.css +99 -99
  93. package/src/components/NSAMessageListDialog.tsx +144 -144
  94. package/src/components/NSANavigationGuard.tsx +79 -79
  95. package/src/components/NSAProductListDialog.module.css +44 -44
  96. package/src/components/NSAProductListDialog.tsx +88 -88
  97. package/src/components/NSATable.tsx +494 -494
  98. package/src/components/NSATaskBar.module.css +57 -57
  99. package/src/components/NSATaskBar.tsx +193 -193
  100. package/src/components/NSAUserDialog.module.css +67 -67
  101. package/src/components/NSAUserDialog.tsx +122 -122
  102. package/src/components/NSAWorkspaceListDialog.module.css +41 -41
  103. package/src/components/NSAWorkspaceListDialog.tsx +147 -147
  104. package/src/components/NSFBoxCategoryScope.tsx +52 -52
  105. package/src/components/NSFBoxField.tsx +37 -37
  106. package/src/components/NSFBoxSlot.tsx +71 -71
  107. package/src/components/NSFBoxWrapper.tsx +69 -69
  108. package/src/components/NSLabelSecret.tsx +37 -37
  109. package/src/components/quickfilter/NSAFilterBoxBase.tsx +110 -89
  110. package/src/components/quickfilter/NSAFilterBoxBoolean.tsx +72 -66
  111. package/src/components/quickfilter/NSAFilterBoxDate.tsx +110 -110
  112. package/src/components/quickfilter/NSAFilterBoxDateTime.tsx +110 -110
  113. package/src/components/quickfilter/NSAFilterBoxEnum.module.css +51 -44
  114. package/src/components/quickfilter/NSAFilterBoxEnum.tsx +103 -79
  115. package/src/components/quickfilter/NSAFilterBoxNumber.tsx +145 -145
  116. package/src/components/quickfilter/NSAFilterBoxString.tsx +83 -83
  117. package/src/components/quickfilter/NSAFilterBoxTime.tsx +106 -106
  118. package/src/components/quickfilter/NSAQuickFilterBar.module.css +20 -19
  119. package/src/components/quickfilter/NSAQuickFilterBar.tsx +142 -142
  120. package/src/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
  121. package/src/components/quickfilter/NSAQuickFilterDialog.tsx +297 -260
  122. package/src/css.d.ts +13 -13
  123. package/src/formatters/SecretFormatter.tsx +24 -24
  124. package/src/index.tsx +26 -26
  125. package/src/layouts/Actions.ts +146 -146
  126. package/src/layouts/CFTUtil.ts +18 -18
  127. package/src/layouts/NSALayout.tsx +744 -744
  128. package/src/layouts/NSASectionEdit.tsx +281 -281
  129. package/src/layouts/NSASectionEditTabPage.module.css +4 -4
  130. package/src/layouts/NSASectionEditTabPage.tsx +256 -256
  131. package/src/layouts/NSASectionList.module.css +31 -31
  132. package/src/layouts/NSASectionList.tsx +165 -165
  133. package/src/layouts/NSASectionView.tsx +98 -98
  134. package/src/layouts/NSASectionViewTabMore.tsx +78 -78
  135. package/src/layouts/NSASectionViewTabPage.module.css +47 -47
  136. package/src/layouts/NSASectionViewTabPage.tsx +400 -400
  137. package/src/main.ts +52 -52
  138. package/src/pages/NSAConsentPage.module.css +26 -26
  139. package/src/pages/NSAConsentPage.tsx +120 -120
  140. package/src/pages/NSAEmailVerificationPage.tsx +30 -30
  141. package/src/pages/NSAHomePage.module.css +41 -41
  142. package/src/pages/NSAHomePage.tsx +113 -113
  143. package/src/pages/NSALoginPage.module.css +26 -26
  144. package/src/pages/NSALoginPage.tsx +87 -87
  145. package/src/pages/NSAPhoneVerificationPage.tsx +94 -94
  146. package/src/pages/NSAVerificationPage.module.css +31 -31
  147. package/src/pages/NSAVerificationPage.tsx +185 -185
  148. package/src/pages/PaymentRequired.tsx +80 -80
  149. package/tsconfig.json +43 -43
@@ -1,79 +1,79 @@
1
- import { EnvService } from "namirasoft-core";
2
- import { LinkOperation, NSButtonGreen, NSColumn, NSLabel, NSLine, NSRow } from "namirasoft-site-react";
3
- import { Component } from "react";
4
- import { FieldCacheService } from "../FieldCacheService";
5
- import { NSARouterMakerResult } from "../NSARouterMakerResult";
6
-
7
- export interface NSASectionViewTabMoreProps extends NSARouterMakerResult
8
- { }
9
-
10
- export interface NSASectionViewTabMoreState
11
- { }
12
-
13
- export class NSASectionViewTabMore extends Component<NSASectionViewTabMoreProps, NSASectionViewTabMoreState>
14
- {
15
- override render()
16
- {
17
- return (
18
- <NSColumn
19
- >
20
- <NSLabel
21
- title="Namirasoft Field - Field"
22
- description="Here you can see the list of fields that are available in the system."
23
- ></NSLabel>
24
- <NSRow>
25
- <NSButtonGreen
26
- title="See Field List"
27
- onClick={{
28
- action: () =>
29
- {
30
- let REACT_APP_BASE_URL_FIELD_CONSOLE = new EnvService("REACT_APP_BASE_URL_FIELD_CONSOLE", true).getString();
31
- LinkOperation.open(REACT_APP_BASE_URL_FIELD_CONSOLE + "/field/list");
32
- },
33
- showLoading: false
34
- }}
35
- ></NSButtonGreen>
36
- </NSRow>
37
- <NSLine />
38
- <NSLabel
39
- title="Namirasoft Field - Category"
40
- description="Here you can see the list of categories that are available in the system."
41
- >
42
- </NSLabel>
43
- <NSRow>
44
- <NSButtonGreen
45
- title="See Category List"
46
- onClick={{
47
- action: () =>
48
- {
49
- let REACT_APP_BASE_URL_FIELD_CONSOLE = new EnvService("REACT_APP_BASE_URL_FIELD_CONSOLE", true).getString();
50
- LinkOperation.open(REACT_APP_BASE_URL_FIELD_CONSOLE + "/category/list");
51
- },
52
- showLoading: false
53
- }}
54
- ></NSButtonGreen>
55
- </NSRow>
56
- <NSLine />
57
- <NSLabel
58
- title="Namirasoft Field"
59
- description="We use a 24-hour cache to speed up rendering the page, so if you have recently made changes and you do not see it here, please clear it using the following button."
60
- >
61
- </NSLabel>
62
- <NSRow>
63
- <NSButtonGreen
64
- title="Clear Cache"
65
- onClick={{
66
- action: () =>
67
- {
68
- let cache = FieldCacheService.get(this.props.account.token_manager, this.props.product_id, this.props.notifier.onError);
69
- cache.del();
70
- document.location.reload();
71
- },
72
- showLoading: false
73
- }}
74
- ></NSButtonGreen>
75
- </NSRow>
76
- </NSColumn>
77
- );
78
- }
1
+ import { EnvService } from "namirasoft-core";
2
+ import { LinkOperation, NSButtonGreen, NSColumn, NSLabel, NSLine, NSRow } from "namirasoft-site-react";
3
+ import { Component } from "react";
4
+ import { FieldCacheService } from "../FieldCacheService";
5
+ import { NSARouterMakerResult } from "../NSARouterMakerResult";
6
+
7
+ export interface NSASectionViewTabMoreProps extends NSARouterMakerResult
8
+ { }
9
+
10
+ export interface NSASectionViewTabMoreState
11
+ { }
12
+
13
+ export class NSASectionViewTabMore extends Component<NSASectionViewTabMoreProps, NSASectionViewTabMoreState>
14
+ {
15
+ override render()
16
+ {
17
+ return (
18
+ <NSColumn
19
+ >
20
+ <NSLabel
21
+ title="Namirasoft Field - Field"
22
+ description="Here you can see the list of fields that are available in the system."
23
+ ></NSLabel>
24
+ <NSRow>
25
+ <NSButtonGreen
26
+ title="See Field List"
27
+ onClick={{
28
+ action: () =>
29
+ {
30
+ let REACT_APP_BASE_URL_FIELD_CONSOLE = new EnvService("REACT_APP_BASE_URL_FIELD_CONSOLE", true).getString();
31
+ LinkOperation.open(REACT_APP_BASE_URL_FIELD_CONSOLE + "/field/list");
32
+ },
33
+ showLoading: false
34
+ }}
35
+ ></NSButtonGreen>
36
+ </NSRow>
37
+ <NSLine />
38
+ <NSLabel
39
+ title="Namirasoft Field - Category"
40
+ description="Here you can see the list of categories that are available in the system."
41
+ >
42
+ </NSLabel>
43
+ <NSRow>
44
+ <NSButtonGreen
45
+ title="See Category List"
46
+ onClick={{
47
+ action: () =>
48
+ {
49
+ let REACT_APP_BASE_URL_FIELD_CONSOLE = new EnvService("REACT_APP_BASE_URL_FIELD_CONSOLE", true).getString();
50
+ LinkOperation.open(REACT_APP_BASE_URL_FIELD_CONSOLE + "/category/list");
51
+ },
52
+ showLoading: false
53
+ }}
54
+ ></NSButtonGreen>
55
+ </NSRow>
56
+ <NSLine />
57
+ <NSLabel
58
+ title="Namirasoft Field"
59
+ description="We use a 24-hour cache to speed up rendering the page, so if you have recently made changes and you do not see it here, please clear it using the following button."
60
+ >
61
+ </NSLabel>
62
+ <NSRow>
63
+ <NSButtonGreen
64
+ title="Clear Cache"
65
+ onClick={{
66
+ action: () =>
67
+ {
68
+ let cache = FieldCacheService.get(this.props.account.token_manager, this.props.product_id, this.props.notifier.onError);
69
+ cache.del();
70
+ document.location.reload();
71
+ },
72
+ showLoading: false
73
+ }}
74
+ ></NSButtonGreen>
75
+ </NSRow>
76
+ </NSColumn>
77
+ );
78
+ }
79
79
  }
@@ -1,48 +1,48 @@
1
- .nsa_section_tab_page_parent {
2
- display: flex;
3
- flex-wrap: wrap;
4
- flex-direction: column;
5
- gap: 0px 32px;
6
- }
7
-
8
- .nsa_section_tab_page_item {
9
- color: black;
10
- display: flex;
11
- flex-direction: column;
12
- }
13
-
14
- .nsa_section_tab_page_item>span {
15
- margin: 0px;
16
- }
17
-
18
- .nsa_section_tab_page_item>div {
19
- margin: 0px;
20
- }
21
-
22
- @media only screen and (min-width: 480px) {
23
- .nsa_section_tab_page_item {
24
- display: flex;
25
- flex-direction: row;
26
- }
27
-
28
- .nsa_section_tab_page_item>span {
29
- min-width: 200px;
30
- }
31
- }
32
-
33
- @media only screen and (min-width: 768px) {
34
- .nsa_section_tab_page_parent {
35
- gap: 16px 32px;
36
- }
37
- }
38
-
39
- @media only screen and (min-width: 1024px) {
40
- .nsa_section_tab_page_parent {
41
- flex-direction: row;
42
- gap: 16px 32px;
43
- }
44
-
45
- .nsa_section_tab_page_item {
46
- flex-direction: column;
47
- }
1
+ .nsa_section_tab_page_parent {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ flex-direction: column;
5
+ gap: 0px 32px;
6
+ }
7
+
8
+ .nsa_section_tab_page_item {
9
+ color: black;
10
+ display: flex;
11
+ flex-direction: column;
12
+ }
13
+
14
+ .nsa_section_tab_page_item>span {
15
+ margin: 0px;
16
+ }
17
+
18
+ .nsa_section_tab_page_item>div {
19
+ margin: 0px;
20
+ }
21
+
22
+ @media only screen and (min-width: 480px) {
23
+ .nsa_section_tab_page_item {
24
+ display: flex;
25
+ flex-direction: row;
26
+ }
27
+
28
+ .nsa_section_tab_page_item>span {
29
+ min-width: 200px;
30
+ }
31
+ }
32
+
33
+ @media only screen and (min-width: 768px) {
34
+ .nsa_section_tab_page_parent {
35
+ gap: 16px 32px;
36
+ }
37
+ }
38
+
39
+ @media only screen and (min-width: 1024px) {
40
+ .nsa_section_tab_page_parent {
41
+ flex-direction: row;
42
+ gap: 16px 32px;
43
+ }
44
+
45
+ .nsa_section_tab_page_item {
46
+ flex-direction: column;
47
+ }
48
48
  }