namirasoft-site-react 1.3.429 → 1.3.431
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/dist/App.js +74 -3
- package/dist/App.js.map +1 -1
- package/dist/components/NSBoxBoolean.module.css +0 -1
- package/dist/components/{NSRadioButton.d.ts → NSBoxRadio.d.ts} +5 -5
- package/dist/components/{NSRadioButton.js → NSBoxRadio.js} +3 -3
- package/dist/components/NSBoxRadio.js.map +1 -0
- package/{src/components/NSRadioButton.module.css → dist/components/NSBoxRadio.module.css} +1 -0
- package/dist/components/NSCardScreenshot.d.ts +9 -0
- package/dist/components/NSCardScreenshot.js +12 -0
- package/dist/components/NSCardScreenshot.js.map +1 -0
- package/dist/components/NSCardScreenshot.module.css +41 -0
- package/dist/components/NSChartColumn.d.ts +12 -0
- package/dist/components/NSChartColumn.js +81 -0
- package/dist/components/NSChartColumn.js.map +1 -0
- package/dist/components/NSChartColumn.module.css +8 -0
- package/dist/components/NSChartTable.d.ts +15 -0
- package/dist/components/NSChartTable.js +62 -0
- package/dist/components/NSChartTable.js.map +1 -0
- package/dist/components/NSChartTable.module.css +22 -0
- package/dist/components/NSDownload.d.ts +6 -0
- package/dist/components/NSDownload.js +23 -0
- package/dist/components/NSDownload.js.map +1 -0
- package/dist/components/NSDownload.module.css +47 -0
- package/dist/components/NSPageSelectionModal.js +2 -2
- package/dist/components/NSPageSelectionModal.js.map +1 -1
- package/dist/components/NSTable.module.css +7 -3
- package/dist/main.d.ts +4 -1
- package/dist/main.js +4 -1
- package/dist/main.js.map +1 -1
- package/package.json +3 -3
- package/src/App.tsx +76 -3
- package/src/components/NSBoxBoolean.module.css +0 -1
- package/{dist/components/NSRadioButton.module.css → src/components/NSBoxRadio.module.css} +1 -0
- package/src/components/{NSRadioButton.tsx → NSBoxRadio.tsx} +6 -6
- package/src/components/NSCardScreenshot.module.css +41 -0
- package/src/components/NSCardScreenshot.tsx +31 -0
- package/src/components/NSChartColumn.module.css +8 -0
- package/src/components/NSChartColumn.tsx +107 -0
- package/src/components/NSChartTable.module.css +22 -0
- package/src/components/NSChartTable.tsx +93 -0
- package/src/components/NSDownload.module.css +47 -0
- package/src/components/NSDownload.tsx +58 -0
- package/src/components/NSPageSelectionModal.tsx +9 -9
- package/src/components/NSTable.module.css +7 -3
- package/src/main.ts +4 -1
- package/dist/components/NSRadioButton.js.map +0 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.download_parent {
|
|
2
|
+
padding: 32px 16px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.download_header {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: flex-start;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 16px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.radio_group {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: flex-start;
|
|
16
|
+
align-items: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.radio_button {
|
|
20
|
+
background-color: transparent !important;
|
|
21
|
+
border: none !important;
|
|
22
|
+
max-width: 97px !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.download_detail {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: flex-start;
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
gap: 24px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.download_button {
|
|
34
|
+
max-width: unset !important;
|
|
35
|
+
width: 100% !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media screen and (min-width: 554px) {
|
|
39
|
+
.download_header {
|
|
40
|
+
gap: 64px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.download_button {
|
|
44
|
+
max-width: 272px !important;
|
|
45
|
+
width: 272px !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { useState } from "react";
|
|
2
|
+
import { IBaseComponentProps, NSButtonBlue } from "../main";
|
|
3
|
+
import { NSBoxRadio } from "./NSBoxRadio";
|
|
4
|
+
import Styles from "./NSDownload.module.css"
|
|
5
|
+
import { NSLine } from "./NSLine";
|
|
6
|
+
|
|
7
|
+
export interface NSDownloadProps extends IBaseComponentProps {
|
|
8
|
+
releaseDate: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function NSDownload(props: NSDownloadProps) {
|
|
12
|
+
const [state, setState] = useState("32-bit");
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<div className={`${Styles.download_parent} ${props.classList?.join(' ')}`}>
|
|
16
|
+
<div className={Styles.download_header}>
|
|
17
|
+
<h3 style={{ color: "#141B5C" }}>Choose Your Windows Architecture</h3>
|
|
18
|
+
<div className={Styles.radio_group}>
|
|
19
|
+
<NSBoxRadio
|
|
20
|
+
title={"32-bit"}
|
|
21
|
+
required={false}
|
|
22
|
+
isSelected={state === "32-bit"}
|
|
23
|
+
onChanged={(event) => {
|
|
24
|
+
let value = event.getValue();
|
|
25
|
+
if (value) {
|
|
26
|
+
setState("32-bit");
|
|
27
|
+
}
|
|
28
|
+
}}
|
|
29
|
+
classList={[Styles.radio_button]}
|
|
30
|
+
/>
|
|
31
|
+
<NSBoxRadio
|
|
32
|
+
title={"64-bit"}
|
|
33
|
+
required={false}
|
|
34
|
+
isSelected={state === "64-bit"}
|
|
35
|
+
onChanged={(event) => {
|
|
36
|
+
let value = event.getValue();
|
|
37
|
+
if (value) {
|
|
38
|
+
setState("64-bit");
|
|
39
|
+
}
|
|
40
|
+
}}
|
|
41
|
+
classList={[Styles.radio_button]}
|
|
42
|
+
/>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<NSLine />
|
|
46
|
+
<div className={Styles.download_detail}>
|
|
47
|
+
<h4 style={{ color: "#141B5C" }}>For Windows 7 and higher, Windows Server 2008 R2 and higher.</h4>
|
|
48
|
+
<div>
|
|
49
|
+
<p style={{ marginBottom: "0" }}>Latest Version</p>
|
|
50
|
+
<p style={{ marginBottom: "0" }}>Release Date: {props.releaseDate}</p>
|
|
51
|
+
</div>
|
|
52
|
+
<NSButtonBlue title="Download" onClick={() => { }} classList={[Styles.download_button]} />
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export default NSDownload;
|
|
@@ -2,8 +2,8 @@ import React, { Component, createRef } from 'react';
|
|
|
2
2
|
import { NSButtonBlue } from './NSButtonBlue';
|
|
3
3
|
import { NSBoxString } from './NSBoxString';
|
|
4
4
|
import { NSSpace, NSSpaceSizeType } from './NSSpace';
|
|
5
|
-
import { NSRadioButton } from './NSRadioButton';
|
|
6
5
|
import Styles from './NSPageSelectionModal.module.css';
|
|
6
|
+
import { NSBoxRadio } from './NSBoxRadio';
|
|
7
7
|
|
|
8
8
|
export interface NSPageSelectionModalProps<RowType>
|
|
9
9
|
{
|
|
@@ -22,10 +22,10 @@ interface NSPageSelectionModalState
|
|
|
22
22
|
export class NSPageSelectionModal<RowType> extends Component<NSPageSelectionModalProps<RowType>, NSPageSelectionModalState>
|
|
23
23
|
{
|
|
24
24
|
private toastRef: React.RefObject<HTMLDivElement> = createRef();
|
|
25
|
-
private NSBoxBoolean_CurrentPage: React.RefObject<
|
|
26
|
-
private NSBoxBoolean_SelectedItems: React.RefObject<
|
|
27
|
-
private NSBoxBoolean_CustomPage: React.RefObject<
|
|
28
|
-
private NSBoxBoolean_AllPage: React.RefObject<
|
|
25
|
+
private NSBoxBoolean_CurrentPage: React.RefObject<NSBoxRadio> = createRef();
|
|
26
|
+
private NSBoxBoolean_SelectedItems: React.RefObject<NSBoxRadio> = createRef();
|
|
27
|
+
private NSBoxBoolean_CustomPage: React.RefObject<NSBoxRadio> = createRef();
|
|
28
|
+
private NSBoxBoolean_AllPage: React.RefObject<NSBoxRadio> = createRef();
|
|
29
29
|
private NSBoxString_Pages: React.RefObject<NSBoxString> = createRef();
|
|
30
30
|
|
|
31
31
|
constructor(props: NSPageSelectionModalProps<RowType>)
|
|
@@ -124,7 +124,7 @@ export class NSPageSelectionModal<RowType> extends Component<NSPageSelectionModa
|
|
|
124
124
|
<p className={Styles.ns_print_description}>Please select which pages you want to continue with</p>
|
|
125
125
|
<NSSpace size={NSSpaceSizeType.SMALL} />
|
|
126
126
|
<div className={Styles.ns_parent_checkboxs}>
|
|
127
|
-
<
|
|
127
|
+
<NSBoxRadio
|
|
128
128
|
defaultValue={true}
|
|
129
129
|
ref={this.NSBoxBoolean_CurrentPage}
|
|
130
130
|
title={"Current page"}
|
|
@@ -133,7 +133,7 @@ export class NSPageSelectionModal<RowType> extends Component<NSPageSelectionModa
|
|
|
133
133
|
isSelected={this.state.selectedRadio === 'current_page'}
|
|
134
134
|
onClick={() => this.handleRadioChange('current_page')}
|
|
135
135
|
/>
|
|
136
|
-
<
|
|
136
|
+
<NSBoxRadio
|
|
137
137
|
ref={this.NSBoxBoolean_SelectedItems}
|
|
138
138
|
title={"Only Selected Items"}
|
|
139
139
|
required={false}
|
|
@@ -141,7 +141,7 @@ export class NSPageSelectionModal<RowType> extends Component<NSPageSelectionModa
|
|
|
141
141
|
isSelected={this.state.selectedRadio === 'selected_items'}
|
|
142
142
|
onClick={() => this.handleRadioChange('selected_items')}
|
|
143
143
|
/>
|
|
144
|
-
<
|
|
144
|
+
<NSBoxRadio
|
|
145
145
|
ref={this.NSBoxBoolean_CustomPage}
|
|
146
146
|
title={"Custom Pages"}
|
|
147
147
|
required={false}
|
|
@@ -149,7 +149,7 @@ export class NSPageSelectionModal<RowType> extends Component<NSPageSelectionModa
|
|
|
149
149
|
isSelected={this.state.selectedRadio === 'custom_page'}
|
|
150
150
|
onClick={() => this.handleRadioChange('custom_page')}
|
|
151
151
|
/>
|
|
152
|
-
<
|
|
152
|
+
<NSBoxRadio
|
|
153
153
|
ref={this.NSBoxBoolean_AllPage}
|
|
154
154
|
title={"All Pages"}
|
|
155
155
|
required={false}
|
|
@@ -48,7 +48,9 @@
|
|
|
48
48
|
/* Button Group */
|
|
49
49
|
.ns_pagination_button {
|
|
50
50
|
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
51
|
+
flex-direction: column-reverse;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
align-items: flex-start;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
.ns_button {
|
|
@@ -56,6 +58,7 @@
|
|
|
56
58
|
flex-direction: row;
|
|
57
59
|
justify-content: space-between;
|
|
58
60
|
align-items: center;
|
|
61
|
+
width: 100%;
|
|
59
62
|
}
|
|
60
63
|
|
|
61
64
|
.ns_modal a {
|
|
@@ -73,7 +76,7 @@
|
|
|
73
76
|
justify-content: center
|
|
74
77
|
}
|
|
75
78
|
|
|
76
|
-
@media screen and (min-width:
|
|
79
|
+
@media screen and (min-width: 992px) {
|
|
77
80
|
.ns_table {
|
|
78
81
|
color: #000000;
|
|
79
82
|
}
|
|
@@ -139,7 +142,7 @@
|
|
|
139
142
|
/* Button Group */
|
|
140
143
|
.ns_pagination_button {
|
|
141
144
|
display: flex;
|
|
142
|
-
flex-direction:
|
|
145
|
+
flex-direction: column;
|
|
143
146
|
align-items: center;
|
|
144
147
|
justify-content: center;
|
|
145
148
|
padding: 16px 0;
|
|
@@ -151,6 +154,7 @@
|
|
|
151
154
|
justify-content: space-between;
|
|
152
155
|
align-items: center;
|
|
153
156
|
gap: 24px;
|
|
157
|
+
width: 100%;
|
|
154
158
|
}
|
|
155
159
|
|
|
156
160
|
.ns_check_box {
|
package/src/main.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from "./components/NSBoxLabel";
|
|
|
20
20
|
export * from "./components/NSBoxPassword";
|
|
21
21
|
export * from "./components/NSBoxPhone";
|
|
22
22
|
export * from "./components/NSBoxPrice";
|
|
23
|
+
export * from "./components/NSBoxRadio";
|
|
23
24
|
export * from "./components/NSBoxString";
|
|
24
25
|
export * from "./components/NSBoxSearch";
|
|
25
26
|
export * from "./components/NSBoxTextArea";
|
|
@@ -30,10 +31,13 @@ export * from "./components/NSButtonBlue";
|
|
|
30
31
|
export * from "./components/NSButtonGreen";
|
|
31
32
|
export * from "./components/NSButtonRed";
|
|
32
33
|
export * from "./components/NSCard";
|
|
34
|
+
export * from "./components/NSCardScreenshot"
|
|
33
35
|
export * from "./components/NSCopyToClipboard";
|
|
36
|
+
export * from "./components/NSChartColumn";
|
|
34
37
|
export * from "./components/NSChartPie";
|
|
35
38
|
export * from "./components/NSDeleteDialog";
|
|
36
39
|
export * from "./components/NSDialog";
|
|
40
|
+
export * from "./components/NSDownload";
|
|
37
41
|
export * from "./components/NSElectronicCard";
|
|
38
42
|
export * from "./components/NSEntityBar";
|
|
39
43
|
export * from "./components/NSEntityCardBackground";
|
|
@@ -56,7 +60,6 @@ export * from "./components/NSPagination";
|
|
|
56
60
|
export * from "./components/NSPanel";
|
|
57
61
|
export * from "./components/NSPageSelectionModal";
|
|
58
62
|
export * from "./components/NSProductList";
|
|
59
|
-
export * from "./components/NSRadioButton";
|
|
60
63
|
export * from "./components/NSRepeater";
|
|
61
64
|
export * from "./components/NSSection";
|
|
62
65
|
export * from "./components/NSSectionBars";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NSRadioButton.js","sourceRoot":"","sources":["../../src/components/NSRadioButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAIhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAkB1D,MAAM,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAkD;IAEvF,YAAY,KAA0B;;QAElC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,EAAE,CAAC;QACpD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ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