namirasoft-account-react 1.4.431 → 1.4.433
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.
- package/.env.template +15 -15
- package/SKILLS.md +514 -514
- package/config-overrides.js +72 -72
- package/dist/App.d.ts +1 -1
- package/dist/NSARouterMaker.js +1 -0
- package/dist/NSARouterMaker.js.map +1 -1
- package/dist/NSARouterMakerProps.d.ts +2 -0
- package/dist/NSATaskService.d.ts +35 -0
- package/dist/NSATaskService.js +80 -0
- package/dist/NSATaskService.js.map +1 -0
- package/dist/UseParams.d.ts +1 -1
- package/dist/components/NSAAccessListDialog.d.ts +2 -2
- package/dist/components/NSAAccessListDialog.module.css +71 -71
- package/dist/components/NSAMasterMenu.d.ts +1 -1
- package/dist/components/NSAMasterMenu.module.css +248 -248
- package/dist/components/NSAMasterMenuItem.d.ts +1 -1
- package/dist/components/NSAMessageListDialog.d.ts +1 -1
- package/dist/components/NSAMessageListDialog.js +4 -3
- package/dist/components/NSAMessageListDialog.js.map +1 -1
- package/dist/components/NSAMessageListDialog.module.css +99 -99
- package/dist/components/NSANavigationGuard.d.ts +6 -0
- package/dist/components/NSANavigationGuard.js +37 -0
- package/dist/components/NSANavigationGuard.js.map +1 -0
- package/dist/components/NSAProductListDialog.d.ts +1 -1
- package/dist/components/NSAProductListDialog.module.css +44 -44
- package/dist/components/NSAReorderDialog.d.ts +1 -1
- package/dist/components/NSAReorderDialog.module.css +49 -49
- package/dist/components/NSASortDialog.d.ts +1 -1
- package/dist/components/NSATable.js +7 -0
- package/dist/components/NSATable.js.map +1 -1
- package/dist/components/NSATaskBar.d.ts +13 -0
- package/dist/components/NSATaskBar.js +53 -0
- package/dist/components/NSATaskBar.js.map +1 -0
- package/dist/components/NSATaskBar.module.css +58 -0
- package/dist/components/NSAUserDialog.d.ts +1 -1
- package/dist/components/NSAUserDialog.module.css +67 -67
- package/dist/components/NSAWorkspaceListDialog.d.ts +1 -1
- package/dist/components/NSAWorkspaceListDialog.module.css +41 -41
- package/dist/components/NSBoxSecret.d.ts +1 -1
- package/dist/components/NSBoxSecret.module.css +23 -23
- package/dist/components/NSLabelSecret.d.ts +1 -1
- package/dist/components/quickfilter/NSAQuickFilterBar.d.ts +1 -1
- package/dist/components/quickfilter/NSAQuickFilterDialog.d.ts +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/layouts/Actions.d.ts +1 -1
- package/dist/layouts/Actions.js +8 -6
- package/dist/layouts/Actions.js.map +1 -1
- package/dist/layouts/NSALayout.d.ts +1 -6
- package/dist/layouts/NSALayout.js +36 -61
- package/dist/layouts/NSALayout.js.map +1 -1
- package/dist/layouts/NSASectionEdit.d.ts +3 -1
- package/dist/layouts/NSASectionEdit.js +28 -19
- package/dist/layouts/NSASectionEdit.js.map +1 -1
- package/dist/layouts/NSASectionEditTabPage.d.ts +1 -1
- package/dist/layouts/NSASectionEditTabPage.module.css +4 -4
- package/dist/layouts/NSASectionList.d.ts +1 -1
- package/dist/layouts/NSASectionList.module.css +31 -31
- package/dist/layouts/NSASectionView.d.ts +1 -1
- package/dist/layouts/NSASectionViewTabMore.d.ts +1 -1
- package/dist/layouts/NSASectionViewTabMore.js +3 -3
- package/dist/layouts/NSASectionViewTabMore.js.map +1 -1
- package/dist/layouts/NSASectionViewTabPage.d.ts +1 -1
- package/dist/layouts/NSASectionViewTabPage.module.css +47 -47
- package/dist/pages/NSAConsentPage.module.css +26 -26
- package/dist/pages/NSAEmailVerificationPage.d.ts +1 -1
- package/dist/pages/NSAHomePage.d.ts +1 -1
- package/dist/pages/NSAHomePage.module.css +41 -41
- package/dist/pages/NSALoginPage.d.ts +1 -1
- package/dist/pages/NSALoginPage.module.css +26 -26
- package/dist/pages/NSAPhoneVerificationPage.d.ts +1 -1
- package/dist/pages/NSAVerificationPage.d.ts +1 -1
- package/dist/pages/NSAVerificationPage.module.css +31 -31
- package/dist/pages/PaymentRequired.js +4 -2
- package/dist/pages/PaymentRequired.js.map +1 -1
- package/package.json +94 -94
- package/public/index.html +21 -21
- package/src/App.css +31 -31
- package/src/App.tsx +19 -19
- package/src/CTFRow.ts +7 -7
- package/src/IEntityInfo.ts +33 -33
- package/src/NSACacheService.ts +120 -120
- package/src/NSAFilterOperators.ts +92 -92
- package/src/NSARouterMaker.tsx +140 -139
- package/src/NSARouterMakerConfig.ts +15 -15
- package/src/NSARouterMakerProps.ts +24 -22
- package/src/NSATaskService.ts +123 -0
- package/src/Router.tsx +45 -45
- package/src/UseParams.tsx +18 -18
- package/src/components/NSAAccessListDialog.module.css +71 -71
- package/src/components/NSAAccessListDialog.tsx +178 -178
- package/src/components/NSAMasterMenu.module.css +248 -248
- package/src/components/NSAMasterMenu.tsx +169 -169
- package/src/components/NSAMasterMenuItem.tsx +250 -250
- package/src/components/NSAMessageListDialog.module.css +99 -99
- package/src/components/NSAMessageListDialog.tsx +142 -141
- package/src/components/NSANavigationGuard.tsx +65 -0
- package/src/components/NSAProductListDialog.module.css +44 -44
- package/src/components/NSAProductListDialog.tsx +88 -88
- package/src/components/NSAReorderDialog.module.css +49 -49
- package/src/components/NSAReorderDialog.tsx +149 -149
- package/src/components/NSASortDialog.tsx +117 -117
- package/src/components/NSATable.tsx +498 -489
- package/src/components/NSATaskBar.module.css +58 -0
- package/src/components/NSATaskBar.tsx +102 -0
- package/src/components/NSAUserDialog.module.css +67 -67
- package/src/components/NSAUserDialog.tsx +122 -122
- package/src/components/NSAWorkspaceListDialog.module.css +41 -41
- package/src/components/NSAWorkspaceListDialog.tsx +147 -147
- package/src/components/NSBoxSecret.module.css +23 -23
- package/src/components/NSBoxSecret.tsx +258 -258
- package/src/components/NSLabelSecret.tsx +37 -37
- package/src/components/quickfilter/NSAFilterBoxBase.tsx +55 -55
- package/src/components/quickfilter/NSAFilterBoxBoolean.tsx +54 -54
- package/src/components/quickfilter/NSAFilterBoxDate.tsx +104 -104
- package/src/components/quickfilter/NSAFilterBoxDateTime.tsx +105 -105
- package/src/components/quickfilter/NSAFilterBoxEnum.module.css +44 -44
- package/src/components/quickfilter/NSAFilterBoxEnum.tsx +79 -79
- package/src/components/quickfilter/NSAFilterBoxNumber.tsx +136 -136
- package/src/components/quickfilter/NSAFilterBoxString.tsx +81 -81
- package/src/components/quickfilter/NSAFilterBoxTime.tsx +101 -101
- package/src/components/quickfilter/NSAQuickFilterBar.module.css +19 -19
- package/src/components/quickfilter/NSAQuickFilterBar.tsx +114 -114
- package/src/components/quickfilter/NSAQuickFilterDialog.module.css +74 -74
- package/src/components/quickfilter/NSAQuickFilterDialog.tsx +260 -260
- package/src/css.d.ts +13 -13
- package/src/formatters/SecretFormatter.tsx +24 -24
- package/src/index.tsx +26 -24
- package/src/layouts/Actions.ts +146 -145
- package/src/layouts/CFTUtil.ts +18 -18
- package/src/layouts/NSALayout.tsx +790 -841
- package/src/layouts/NSASectionEdit.tsx +279 -260
- package/src/layouts/NSASectionEditTabPage.module.css +4 -4
- package/src/layouts/NSASectionEditTabPage.tsx +250 -250
- package/src/layouts/NSASectionList.module.css +31 -31
- package/src/layouts/NSASectionList.tsx +149 -149
- package/src/layouts/NSASectionView.tsx +100 -100
- package/src/layouts/NSASectionViewTabMore.tsx +77 -77
- package/src/layouts/NSASectionViewTabPage.module.css +47 -47
- package/src/layouts/NSASectionViewTabPage.tsx +419 -419
- package/src/main.ts +46 -46
- package/src/pages/NSAConsentPage.module.css +26 -26
- package/src/pages/NSAConsentPage.tsx +120 -120
- package/src/pages/NSAEmailVerificationPage.tsx +30 -30
- package/src/pages/NSAHomePage.module.css +41 -41
- package/src/pages/NSAHomePage.tsx +102 -102
- package/src/pages/NSALoginPage.module.css +26 -26
- package/src/pages/NSALoginPage.tsx +87 -87
- package/src/pages/NSAPhoneVerificationPage.tsx +94 -94
- package/src/pages/NSAVerificationPage.module.css +31 -31
- package/src/pages/NSAVerificationPage.tsx +186 -186
- package/src/pages/PaymentRequired.tsx +76 -74
- package/tsconfig.json +43 -43
- package/dist/App.css +0 -32
- package/dist/components/quickfilter/NSAFilterBoxEnum.module.css +0 -45
- package/dist/components/quickfilter/NSAQuickFilterBar.module.css +0 -20
- package/dist/components/quickfilter/NSAQuickFilterDialog.module.css +0 -75
- package/dist/index.css +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.nsa_task_bar {
|
|
2
|
+
position: fixed;
|
|
3
|
+
left: 1rem;
|
|
4
|
+
bottom: 1rem;
|
|
5
|
+
z-index: 1100;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column-reverse;
|
|
8
|
+
gap: 0.75rem;
|
|
9
|
+
max-width: calc(100vw - 2rem);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.nsa_task_card {
|
|
13
|
+
width: 320px;
|
|
14
|
+
max-width: calc(100vw - 2rem);
|
|
15
|
+
background-color: #ffffff;
|
|
16
|
+
border: 1px solid #e2e5f1;
|
|
17
|
+
border-radius: 0.75rem;
|
|
18
|
+
box-shadow: 0 8px 24px rgba(20, 27, 92, 0.16);
|
|
19
|
+
padding: 0.875rem 1rem;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
gap: 0.625rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.nsa_task_header {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
gap: 0.5rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.nsa_task_title {
|
|
33
|
+
font-size: 0.95rem;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
color: #141b5c;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.nsa_task_close {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
color: #8a90b3;
|
|
44
|
+
font-size: 0.875rem;
|
|
45
|
+
line-height: 1;
|
|
46
|
+
padding: 0.125rem 0.25rem;
|
|
47
|
+
border-radius: 0.25rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.nsa_task_close:hover {
|
|
51
|
+
color: #141b5c;
|
|
52
|
+
background-color: #eef0f8;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.nsa_task_actions {
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: flex-end;
|
|
58
|
+
}
|
|
@@ -10,6 +10,6 @@ interface NSAUserDialogState {
|
|
|
10
10
|
}
|
|
11
11
|
export declare class NSAUserDialog extends Component<NSAUserDialogProps, NSAUserDialogState> {
|
|
12
12
|
constructor(props: NSAUserDialogProps);
|
|
13
|
-
render(): import("react
|
|
13
|
+
render(): import("react").JSX.Element;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
.ns_figure {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: 1rem;
|
|
6
|
-
margin-bottom: 0;
|
|
7
|
-
color: #141b5c;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_figure>img {
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ns_figure figcaption {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
align-items: center;
|
|
18
|
-
gap: 0.5rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ns_figure_placeholder {
|
|
22
|
-
width: 6rem;
|
|
23
|
-
height: 6rem;
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
border-radius: 50%;
|
|
28
|
-
background-color: #141b5c;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ns_figure_placeholder span {
|
|
32
|
-
font-size: 1.75rem;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
word-spacing: -0.375rem;
|
|
35
|
-
color: #fff;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.ns_figure_title {
|
|
39
|
-
font-size: 1.5rem;
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
line-height: 1.75rem;
|
|
42
|
-
text-align: center;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.ns_actions_wrapper {
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.ns_actions_wrapper .ns_link>a,
|
|
51
|
-
.ns_actions_wrapper .ns_button {
|
|
52
|
-
box-shadow: none;
|
|
53
|
-
color: #141b5c !important;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ns_actions_wrapper .ns_link>a:hover,
|
|
57
|
-
.ns_actions_wrapper .ns_button:hover {
|
|
58
|
-
background-color: #b2bbd9;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.ns_user_id {
|
|
62
|
-
margin: 0;
|
|
63
|
-
font-size: 16px;
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
text-align: right;
|
|
66
|
-
color: rgba(3, 119, 255);
|
|
67
|
-
cursor: pointer;
|
|
1
|
+
.ns_figure {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 1rem;
|
|
6
|
+
margin-bottom: 0;
|
|
7
|
+
color: #141b5c;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ns_figure>img {
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ns_figure figcaption {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 0.5rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ns_figure_placeholder {
|
|
22
|
+
width: 6rem;
|
|
23
|
+
height: 6rem;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
background-color: #141b5c;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ns_figure_placeholder span {
|
|
32
|
+
font-size: 1.75rem;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
word-spacing: -0.375rem;
|
|
35
|
+
color: #fff;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ns_figure_title {
|
|
39
|
+
font-size: 1.5rem;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
line-height: 1.75rem;
|
|
42
|
+
text-align: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ns_actions_wrapper {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ns_actions_wrapper .ns_link>a,
|
|
51
|
+
.ns_actions_wrapper .ns_button {
|
|
52
|
+
box-shadow: none;
|
|
53
|
+
color: #141b5c !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ns_actions_wrapper .ns_link>a:hover,
|
|
57
|
+
.ns_actions_wrapper .ns_button:hover {
|
|
58
|
+
background-color: #b2bbd9;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ns_user_id {
|
|
62
|
+
margin: 0;
|
|
63
|
+
font-size: 16px;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
text-align: right;
|
|
66
|
+
color: rgba(3, 119, 255);
|
|
67
|
+
cursor: pointer;
|
|
68
68
|
}
|
|
@@ -14,5 +14,5 @@ export declare class NSAWorkspaceListDialog extends Component<NSAWorkspaceListDi
|
|
|
14
14
|
constructor(props: NSAWorkspaceListDialogProps);
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
workspaceClickHandler(id: string): void;
|
|
17
|
-
render(): import("react
|
|
17
|
+
render(): import("react").JSX.Element;
|
|
18
18
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
.nsa_workspace_h2 {
|
|
2
|
-
color: rgba(3, 119, 255, 1);
|
|
3
|
-
text-align: center;
|
|
4
|
-
font-weight: 600;
|
|
5
|
-
font-size: 16px;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nsa_workspace_h6 {
|
|
10
|
-
color: rgba(20, 27, 92, 1);
|
|
11
|
-
text-align: center;
|
|
12
|
-
font-weight: 300;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
margin: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.nsa_workspace_list {
|
|
19
|
-
overflow-y: auto;
|
|
20
|
-
height: 320px;
|
|
21
|
-
width: 302px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.nsa_workspace_border {
|
|
25
|
-
margin-top: 16px;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
justify-content: left;
|
|
29
|
-
align-items: center;
|
|
30
|
-
gap: 8px;
|
|
31
|
-
border-radius: 8px;
|
|
32
|
-
border: 1px solid gray;
|
|
33
|
-
padding: 8px;
|
|
34
|
-
transition: all .2s ease-in-out;
|
|
35
|
-
flex-wrap: wrap;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.nsa_workspace_border:hover {
|
|
39
|
-
background-color: rgba(20, 27, 92, 0.3);
|
|
40
|
-
color: white;
|
|
41
|
-
cursor: pointer;
|
|
1
|
+
.nsa_workspace_h2 {
|
|
2
|
+
color: rgba(3, 119, 255, 1);
|
|
3
|
+
text-align: center;
|
|
4
|
+
font-weight: 600;
|
|
5
|
+
font-size: 16px;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.nsa_workspace_h6 {
|
|
10
|
+
color: rgba(20, 27, 92, 1);
|
|
11
|
+
text-align: center;
|
|
12
|
+
font-weight: 300;
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
margin: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.nsa_workspace_list {
|
|
19
|
+
overflow-y: auto;
|
|
20
|
+
height: 320px;
|
|
21
|
+
width: 302px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nsa_workspace_border {
|
|
25
|
+
margin-top: 16px;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
justify-content: left;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 8px;
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
border: 1px solid gray;
|
|
33
|
+
padding: 8px;
|
|
34
|
+
transition: all .2s ease-in-out;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.nsa_workspace_border:hover {
|
|
39
|
+
background-color: rgba(20, 27, 92, 0.3);
|
|
40
|
+
color: white;
|
|
41
|
+
cursor: pointer;
|
|
42
42
|
}
|
|
@@ -34,6 +34,6 @@ export declare class NSBoxSecret extends React.Component<NSBoxSecretProps, NSBox
|
|
|
34
34
|
setDisabled(disabled: boolean): void;
|
|
35
35
|
onChanged(box: NSBoxSensitive | NSBoxString): void;
|
|
36
36
|
getCurrentBox(): NSBoxString | NSBoxSensitive | null;
|
|
37
|
-
render():
|
|
37
|
+
render(): React.JSX.Element;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.ns_checkbox {
|
|
2
|
-
width: auto;
|
|
3
|
-
max-width: fit-content;
|
|
4
|
-
padding: 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.ns_checkbox.disabled {
|
|
8
|
-
opacity: 0.5;
|
|
9
|
-
pointer-events: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ns_checkbox label {
|
|
13
|
-
height: auto;
|
|
14
|
-
border: none !important;
|
|
15
|
-
padding: 0;
|
|
16
|
-
background-color: transparent;
|
|
17
|
-
font-size: 0.875rem;
|
|
18
|
-
line-height: 1rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ns_checkbox label input {
|
|
22
|
-
width: 1rem;
|
|
23
|
-
height: 1rem;
|
|
1
|
+
.ns_checkbox {
|
|
2
|
+
width: auto;
|
|
3
|
+
max-width: fit-content;
|
|
4
|
+
padding: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ns_checkbox.disabled {
|
|
8
|
+
opacity: 0.5;
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ns_checkbox label {
|
|
13
|
+
height: auto;
|
|
14
|
+
border: none !important;
|
|
15
|
+
padding: 0;
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
font-size: 0.875rem;
|
|
18
|
+
line-height: 1rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ns_checkbox label input {
|
|
22
|
+
width: 1rem;
|
|
23
|
+
height: 1rem;
|
|
24
24
|
}
|
|
@@ -10,5 +10,5 @@ export interface NSLabelSecretState {
|
|
|
10
10
|
loading: boolean;
|
|
11
11
|
decrypted_value: string | null;
|
|
12
12
|
}
|
|
13
|
-
export declare function NSLabelSecret(props: NSLabelSecretProps): import("react
|
|
13
|
+
export declare function NSLabelSecret(props: NSLabelSecretProps): import("react").JSX.Element;
|
|
14
14
|
export default NSLabelSecret;
|
|
@@ -23,6 +23,6 @@ export declare class NSAQuickFilterBar extends Component<NSAQuickFilterBarProps,
|
|
|
23
23
|
private handleFilterChange;
|
|
24
24
|
private renderFilterBox;
|
|
25
25
|
private renderCard;
|
|
26
|
-
render(): import("react
|
|
26
|
+
render(): import("react").JSX.Element | null;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -38,6 +38,6 @@ export declare class NSAQuickFilterDialog extends Component<NSAQuickFilterDialog
|
|
|
38
38
|
private deleteConfig;
|
|
39
39
|
private hasChanges;
|
|
40
40
|
private saveForm;
|
|
41
|
-
render(): import("react
|
|
41
|
+
render(): import("react").JSX.Element;
|
|
42
42
|
}
|
|
43
43
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import ReactDOM from "react-dom/client";
|
|
3
3
|
import Router from "./Router";
|
|
4
|
-
import {
|
|
4
|
+
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
|
5
5
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
6
6
|
import "./index.css";
|
|
7
7
|
const root = ReactDOM.createRoot(document.getElementById("root"));
|
|
@@ -12,5 +12,8 @@ if (REACT_APP_BASE_PATH) {
|
|
|
12
12
|
const head = document.querySelector('head');
|
|
13
13
|
head === null || head === void 0 ? void 0 : head.appendChild(baseElement);
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
const router = createBrowserRouter([
|
|
16
|
+
{ path: "*", element: _jsx(Router, {}) }
|
|
17
|
+
]);
|
|
18
|
+
root.render(_jsx(RouterProvider, { router: router }));
|
|
16
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,sCAAsC,CAAC;AAC9C,OAAO,aAAa,CAAC;AAErB,MAAM,IAAI,GAAG,QAAQ,CAAC,UAAU,CAC5B,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAgB,CACjD,CAAC;AAGF,MAAM,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC;AAC5D,IAAI,mBAAmB,EACvB,CAAC;IACG,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IACnD,WAAW,CAAC,IAAI,GAAG,mBAAmB,GAAG,GAAG,CAAC;IAC7C,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,CAAC,WAAW,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,MAAM,GAAG,mBAAmB,CAAC;IAC/B,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,KAAC,MAAM,KAAG,EAAE;CACrC,CAAC,CAAC;AAEH,IAAI,CAAC,MAAM,CACP,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,GAAI,CACrC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NSButtonOnClickProps, NSMenuActionProps } from "namirasoft-site-react";
|
|
2
|
-
import { NSARouterMakerProps } from "../NSARouterMakerProps";
|
|
3
2
|
import { IEntityInfo } from "../IEntityInfo";
|
|
3
|
+
import { NSARouterMakerProps } from "../NSARouterMakerProps";
|
|
4
4
|
export declare class Actions {
|
|
5
5
|
static apply(onClick: NSButtonOnClickProps): NSMenuActionProps;
|
|
6
6
|
static _new(props: NSARouterMakerProps, entity: IEntityInfo<any>): NSMenuActionProps;
|
package/dist/layouts/Actions.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EnvService, FilterItem, FilterItemOperator } from "namirasoft-core";
|
|
2
2
|
import { NamirasoftHistoryMetaDatabase } from "namirasoft-history";
|
|
3
|
+
import { LinkOperation } from "namirasoft-site-react";
|
|
3
4
|
export class Actions {
|
|
4
5
|
static apply(onClick) {
|
|
5
6
|
return {
|
|
@@ -17,7 +18,7 @@ export class Actions {
|
|
|
17
18
|
action: () => {
|
|
18
19
|
if (entity.client.getNewURL) {
|
|
19
20
|
let link = props.url.getLink(entity.client.getNewURL(), {});
|
|
20
|
-
|
|
21
|
+
LinkOperation.open(link);
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
24
|
showLoading: false
|
|
@@ -33,7 +34,7 @@ export class Actions {
|
|
|
33
34
|
action: () => {
|
|
34
35
|
if (entity.client.getListURL) {
|
|
35
36
|
let link = props.url.getLink(entity.client.getListURL(), {});
|
|
36
|
-
|
|
37
|
+
LinkOperation.open(link);
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
showLoading: false
|
|
@@ -50,7 +51,7 @@ export class Actions {
|
|
|
50
51
|
if (entity.client.getViewURL) {
|
|
51
52
|
let ids = getIDs();
|
|
52
53
|
let link = props.url.getLink(entity.client.getViewURL(ids[0]), {});
|
|
53
|
-
|
|
54
|
+
LinkOperation.open(link);
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
showLoading: false
|
|
@@ -69,7 +70,8 @@ export class Actions {
|
|
|
69
70
|
let filters = [];
|
|
70
71
|
filters.push(new FilterItem(meta.tables.history, meta.tables.history.columns.entity_id, false, FilterItemOperator.all.equals, getIDs()[0]));
|
|
71
72
|
let encoded = FilterItem.encode(filters);
|
|
72
|
-
|
|
73
|
+
let link = REACT_APP_BASE_URL_HISTORY_CONSOLE + "/history/list?filters=" + encoded;
|
|
74
|
+
LinkOperation.open(link);
|
|
73
75
|
},
|
|
74
76
|
showLoading: false
|
|
75
77
|
},
|
|
@@ -85,7 +87,7 @@ export class Actions {
|
|
|
85
87
|
if (entity.client.getCopyURL) {
|
|
86
88
|
let ids = getIDs();
|
|
87
89
|
let link = props.url.getLink(entity.client.getCopyURL(ids[0]), {});
|
|
88
|
-
|
|
90
|
+
LinkOperation.open(link);
|
|
89
91
|
}
|
|
90
92
|
},
|
|
91
93
|
showLoading: false
|
|
@@ -102,7 +104,7 @@ export class Actions {
|
|
|
102
104
|
if (entity.client.getEditURL) {
|
|
103
105
|
let ids = getIDs();
|
|
104
106
|
let link = props.url.getLink(entity.client.getEditURL(ids[0]), {});
|
|
105
|
-
|
|
107
|
+
LinkOperation.open(link);
|
|
106
108
|
}
|
|
107
109
|
},
|
|
108
110
|
showLoading: false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actions.js","sourceRoot":"","sources":["../../src/layouts/Actions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Actions.js","sourceRoot":"","sources":["../../src/layouts/Actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,aAAa,EAA2C,MAAM,uBAAuB,CAAC;AAI/F,MAAM,OAAO,OAAO;IAEhB,MAAM,CAAC,KAAK,CAAC,OAA6B;QAEtC,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,OAAO;YAClB,OAAO;YACP,QAAQ,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;SAC9B,CAAA;IACL,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,KAA0B,EAAE,MAAwB;QAE5D,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,KAAK;YAChB,OAAO,EAAE;gBACL,MAAM,EAAE,GAAG,EAAE;oBAET,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,EAC3B,CAAC;wBACG,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC;wBAC5D,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAC7B,CAAC;gBACL,CAAC;gBACD,WAAW,EAAE,KAAK;aACrB;YACD,QAAQ,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;SAC9B,CAAC;IACN,CAAC;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nE,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAC7B,CAAC;gBACL,CAAC;gBACD,WAAW,EAAE,KAAK;aACrB;YACD,QAAQ,KAAK,OAAO,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;SAC/C,CAAC;IACN,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,KAA0B,EAAE,MAAwB,EAAE,MAAsB;QAEpF,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,MAAM;YACjB,OAAO,EAAE;gBACL,MAAM,EAAE,GAAG,EAAE;oBAET,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,EAC5B,CAAC;wBACG,IAAI,GAAG,GAAG,MAAM,EAAE,CAAC;wBACnB,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;wBACnE,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAC7B,CAAC;gBACL,CAAC;gBACD,WAAW,EAAE,KAAK;aACrB;YACD,QAAQ,KAAK,OAAO,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;SAC/C,CAAC;IACN,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,MAAsB,EAAE,OAA6B;QAE/D,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,QAAQ;YACnB,OAAO;YACP,QAAQ,KAAK,OAAO,MAAM,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;SAC/C,CAAA;IACL,CAAC;CACJ"}
|
|
@@ -81,10 +81,6 @@ interface NSALayoutState {
|
|
|
81
81
|
refresher: number;
|
|
82
82
|
message_count: number;
|
|
83
83
|
showDeleteDialog: boolean;
|
|
84
|
-
deleting: boolean;
|
|
85
|
-
deleteTotal: number;
|
|
86
|
-
deleteDone: number;
|
|
87
|
-
deleteFailed: number;
|
|
88
84
|
showMessageListDialog: boolean;
|
|
89
85
|
showAccessListDialog: boolean;
|
|
90
86
|
showProductListDialog: boolean;
|
|
@@ -109,13 +105,12 @@ export declare class NSALayout<RowType extends {
|
|
|
109
105
|
NSASectionList_Ref: import("react").RefObject<NSASectionList<RowType, RowTypeInput>>;
|
|
110
106
|
NSASectionEdit_Ref: import("react").RefObject<NSASectionEdit<RowType, RowTypeInput>>;
|
|
111
107
|
NSASectionView_Ref: import("react").RefObject<NSASectionView<RowType, RowTypeInput>>;
|
|
112
|
-
private cancelDelete;
|
|
113
108
|
constructor(props: NSALayoutProps<RowType, RowTypeInput>);
|
|
114
109
|
reloadMessageCount(force: boolean): void;
|
|
115
110
|
private runDelete;
|
|
116
111
|
componentDidMount(): void;
|
|
117
112
|
componentDidUpdate(): void;
|
|
118
113
|
componentWillUnmount(): void;
|
|
119
|
-
render(): import("react
|
|
114
|
+
render(): import("react").JSX.Element;
|
|
120
115
|
}
|
|
121
116
|
export {};
|