namirasoft-site-react 1.2.30 → 1.2.31
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 +2 -40
- package/dist/App.js.map +1 -1
- package/dist/components/NSLayout.js +2 -1
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSLayout.module.css +5 -0
- package/dist/components/NSPagination.js +1 -1
- package/dist/components/NSPagination.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/images/correct_vector.png +0 -0
- package/public/assets/images/download_vector.png +0 -0
- package/public/assets/images/pen_vector.png +0 -0
- package/public/assets/images/radio_button.png +0 -0
- package/src/App.tsx +58 -60
- package/src/components/NSLayout.module.css +5 -0
- package/src/components/NSLayout.tsx +15 -10
- package/src/components/NSPagination.tsx +2 -2
- package/src/assets/images/left-vector.png +0 -0
- package/src/assets/images/right-vector.png +0 -0
- /package/{dist → public}/assets/images/left-vector.png +0 -0
- /package/{dist → public}/assets/images/right-vector.png +0 -0
package/dist/App.js
CHANGED
|
@@ -1,47 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import './App.css';
|
|
3
3
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
4
|
-
import { NSHeader } from './components/NSHeader';
|
|
5
|
-
import { NSFooter } from './components/NSFooter';
|
|
6
|
-
import { NSInputText } from './components/NSInputText';
|
|
7
|
-
import { NSInputInteger } from './components/NSInputInteger';
|
|
8
|
-
import { NSInputFloat } from './components/NSInputFloat';
|
|
9
|
-
import { NSInputPrice } from './components/NSInputPrice';
|
|
10
|
-
import { NSInputDate } from './components/NSInputDate';
|
|
11
|
-
import { NSInputTime } from './components/NSInputTime';
|
|
12
|
-
import { NSInputDuration } from './components/NSInputDuration';
|
|
13
|
-
import { NSInputString } from './components/NSInputString';
|
|
14
|
-
import { NSInputIP } from './components/NSInputIP';
|
|
15
|
-
import { NSInputEmail } from './components/NSInputEmail';
|
|
16
|
-
import { NSInputSearch } from './components/NSInputSearch';
|
|
17
|
-
import { NSInputPhone } from './components/NSInputPhone';
|
|
18
|
-
import { NSButtonGreen } from './components/NSButtonGreen';
|
|
19
4
|
import { NSButtonRed } from './components/NSButtonRed';
|
|
20
|
-
import {
|
|
21
|
-
import { NSPagination } from './main';
|
|
5
|
+
import { NSLayout, NSPagination } from './main';
|
|
22
6
|
export function App() {
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
label: 'Test1',
|
|
26
|
-
value: 'test1',
|
|
27
|
-
desc: 'Test1',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: 'Test2',
|
|
31
|
-
value: 'test2',
|
|
32
|
-
desc: 'Test2',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
label: 'Test3',
|
|
36
|
-
value: 'test3',
|
|
37
|
-
desc: 'Test3',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: 'Test4',
|
|
41
|
-
value: 'test4',
|
|
42
|
-
desc: 'Test4',
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
return (_jsxs("div", Object.assign({ className: "App" }, { children: [_jsx(NSHeader, { scope: 'Test', name: 'Header', logo: '' }), _jsxs("div", Object.assign({ className: 'my-4 container' }, { children: [_jsx(NSInputText, { title: 'Text' }), _jsx(NSInputInteger, { title: 'Integer' }), _jsx(NSInputFloat, { title: 'Floating Point' }), _jsx(NSInputPrice, { title: 'Price' }), _jsx(NSInputDate, { title: 'Date' }), _jsx(NSInputTime, { title: 'Time' }), _jsx(NSInputDuration, { title: 'Duration' }), _jsx(NSInputString, { title: 'String' }), _jsx(NSInputIP, { title: 'IP' }), _jsx(NSInputEmail, { title: 'Email' }), _jsx(NSInputSearch, { title: 'Search' }), _jsx(NSInputPhone, { title: 'Phone' }), _jsx(NSSelectBox, { title: "t", options: options }), _jsx(NSButtonGreen, { title: 'Save', onClick: () => { } }), _jsx(NSButtonRed, { title: 'Delete', onClick: () => { } }), _jsx(NSPagination, { page: 1, size: 25 })] })), _jsx(NSFooter, { scope: 'Test', name: 'Footer', logo: '' })] })));
|
|
7
|
+
return (_jsx("div", Object.assign({ className: "App" }, { children: _jsxs(NSLayout, Object.assign({ scope: 'Namirasoft SOP console', title: "", logo: '' }, { children: [_jsxs("div", Object.assign({ className: 'my-4 container' }, { children: [_jsx(NSButtonRed, { title: 'Delete', onClick: () => { } }), _jsx(NSPagination, { page: 1, size: 25 })] })), "asdasd"] })) })));
|
|
46
8
|
}
|
|
47
9
|
//# sourceMappingURL=App.js.map
|
package/dist/App.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAc9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEhD,MAAM,UAAU,GAAG;IAyBf,OAAO,CACH,4BAAK,SAAS,EAAC,KAAK,gBAChB,MAAC,QAAQ,kBAAC,KAAK,EAAC,wBAAwB,EAAC,KAAK,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,iBACrD,6BAAK,SAAS,EAAC,gBAAgB,iBAe3B,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAI,EAClD,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,GAAI,KACjC,eACW,IACnB,CACT,CAAC;AACN,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Styles from './NSLayout.module.css';
|
|
2
3
|
import { Component } from 'react';
|
|
3
4
|
import { NSHeader } from './NSHeader';
|
|
4
5
|
import { NSFooter } from './NSFooter';
|
|
5
6
|
export class NSLayout extends Component {
|
|
6
7
|
render() {
|
|
7
|
-
return (_jsxs("div", Object.assign({ className: "d-flex flex-column text-
|
|
8
|
+
return (_jsxs("div", { children: [_jsxs("div", Object.assign({ className: "d-flex flex-column text-white" }, { children: [_jsx(NSHeader, { scope: this.props.scope, name: "Header", logo: this.props.logo }), _jsxs("div", { children: [_jsx("h1", { children: this.props.title }), _jsx("h4", Object.assign({ className: "page-description" }, { children: this.props.description }))] }), _jsx("main", Object.assign({ className: "container" }, { children: this.props.children }))] })), _jsx("div", Object.assign({ className: Styles.ns_footer }, { children: _jsx(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo }) }))] }));
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=NSLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,OAAO,QAAS,SAAQ,SAAiB;IAElC,MAAM;QAEX,OAAO,CACH,6BAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,OAAO,QAAS,SAAQ,SAAiB;IAElC,MAAM;QAEX,OAAO,CACH,0BACI,6BAAK,SAAS,EAAC,+BAA+B,iBAC1C,KAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,EAC1E,0BACI,uBAAK,IAAI,CAAC,KAAK,CAAC,KAAK,GAAM,EAC3B,2BAAI,SAAS,EAAC,kBAAkB,gBAAE,IAAI,CAAC,KAAK,CAAC,WAAW,IAAM,IAC5D,EACN,6BAAM,SAAS,EAAC,WAAW,gBACtB,IAAI,CAAC,KAAK,CAAC,QAAQ,IACjB,KACJ,EACP,4BAAK,SAAS,EAAE,MAAM,CAAC,SAAS,gBAC5B,KAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,IACxE,IACJ,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -15,7 +15,7 @@ export class NSPagination extends Component {
|
|
|
15
15
|
let arr = [];
|
|
16
16
|
let pushPage = (index) => {
|
|
17
17
|
if (index == page)
|
|
18
|
-
arr.push(_jsx("div", Object.assign({ className: 'center_number' }, { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: index })) })));
|
|
18
|
+
arr.push(_jsx("div", Object.assign({ className: 'center_number' }, { children: _jsx("a", Object.assign({ href: '#', className: 'center_number text-decoration-none text-light' }, { children: index })) })));
|
|
19
19
|
else
|
|
20
20
|
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: index })) }));
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.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E,CAAC,EAAE;YAC3B,QAAQ,CAAC,CAAC,CAAC,CAAC;QAChB,IAAI,IAAI,IAAI,IAAI,GAAG,MAAM,GAAG,CAAC;YACzB,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iCAAiC,yBAAQ,GAAM,CAAC,CAAC;QACzF,QAAQ,CAAC,IAAI,CAAC,CAAC;QACf,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,gBAAC,cAAK,GAAG,EAAC,iCAAiC,EAAC,GAAG,EAAC,cAAc,GAAO,IAAI,GAAM,CAAC,CAAC;QAE1G,OAAO,CACH,4BAAK,SAAS,EAAC,oDAAoD,gBAC9D,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAChB,CACT,CAAC;IACN,CAAC;CACJ"}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/App.tsx
CHANGED
|
@@ -1,72 +1,70 @@
|
|
|
1
1
|
import './App.css';
|
|
2
2
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { NSInputPhone } from './components/NSInputPhone';
|
|
17
|
-
import { NSButtonGreen } from './components/NSButtonGreen';
|
|
3
|
+
// import { NSInputText } from './components/NSInputText';
|
|
4
|
+
// import { NSInputInteger } from './components/NSInputInteger';
|
|
5
|
+
// import { NSInputFloat } from './components/NSInputFloat';
|
|
6
|
+
// import { NSInputPrice } from './components/NSInputPrice';
|
|
7
|
+
// import { NSInputDate } from './components/NSInputDate';
|
|
8
|
+
// import { NSInputTime } from './components/NSInputTime';
|
|
9
|
+
// import { NSInputDuration } from './components/NSInputDuration';
|
|
10
|
+
// import { NSInputString } from './components/NSInputString';
|
|
11
|
+
// import { NSInputIP } from './components/NSInputIP';
|
|
12
|
+
// import { NSInputEmail } from './components/NSInputEmail';
|
|
13
|
+
// import { NSInputSearch } from './components/NSInputSearch';
|
|
14
|
+
// import { NSInputPhone } from './components/NSInputPhone';
|
|
15
|
+
// import { NSButtonGreen } from './components/NSButtonGreen';
|
|
18
16
|
import { NSButtonRed } from './components/NSButtonRed';
|
|
19
|
-
import { NSSelectBox } from './components/NSSelectBox';
|
|
20
|
-
import { type SelectProps } from 'antd';
|
|
21
|
-
import { NSPagination } from './main';
|
|
17
|
+
// import { NSSelectBox } from './components/NSSelectBox';
|
|
18
|
+
// import { type SelectProps } from 'antd';
|
|
19
|
+
import { NSLayout, NSPagination } from './main';
|
|
22
20
|
|
|
23
21
|
export function App()
|
|
24
22
|
{
|
|
25
|
-
const options: SelectProps['options'] = [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
];
|
|
23
|
+
// const options: SelectProps['options'] = [
|
|
24
|
+
// {
|
|
25
|
+
// label: 'Test1',
|
|
26
|
+
// value: 'test1',
|
|
27
|
+
// desc: 'Test1',
|
|
28
|
+
// },
|
|
29
|
+
// {
|
|
30
|
+
// label: 'Test2',
|
|
31
|
+
// value: 'test2',
|
|
32
|
+
// desc: 'Test2',
|
|
33
|
+
// },
|
|
34
|
+
// {
|
|
35
|
+
// label: 'Test3',
|
|
36
|
+
// value: 'test3',
|
|
37
|
+
// desc: 'Test3',
|
|
38
|
+
// },
|
|
39
|
+
// {
|
|
40
|
+
// label: 'Test4',
|
|
41
|
+
// value: 'test4',
|
|
42
|
+
// desc: 'Test4',
|
|
43
|
+
// },
|
|
44
|
+
// ];
|
|
47
45
|
|
|
48
46
|
return (
|
|
49
47
|
<div className="App">
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
48
|
+
<NSLayout scope='Namirasoft SOP console' title="" logo=''>
|
|
49
|
+
<div className='my-4 container'>
|
|
50
|
+
{/* <NSInputText title='Text' />
|
|
51
|
+
<NSInputInteger title='Integer' />
|
|
52
|
+
<NSInputFloat title='Floating Point' />
|
|
53
|
+
<NSInputPrice title='Price' />
|
|
54
|
+
<NSInputDate title='Date' />
|
|
55
|
+
<NSInputTime title='Time' />
|
|
56
|
+
<NSInputDuration title='Duration' />
|
|
57
|
+
<NSInputString title='String' />
|
|
58
|
+
<NSInputIP title='IP' />
|
|
59
|
+
<NSInputEmail title='Email' />
|
|
60
|
+
<NSInputSearch title='Search' />
|
|
61
|
+
<NSInputPhone title='Phone' />
|
|
62
|
+
<NSSelectBox title="t" options={options} />
|
|
63
|
+
<NSButtonGreen title='Save' onClick={() => { }} /> */}
|
|
64
|
+
<NSButtonRed title='Delete' onClick={() => { }} />
|
|
65
|
+
<NSPagination page={1} size={25} />
|
|
66
|
+
</div>
|
|
67
|
+
asdasd</NSLayout>
|
|
70
68
|
</div>
|
|
71
69
|
);
|
|
72
70
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Styles from './NSLayout.module.css';
|
|
1
2
|
import { Component, ReactNode } from 'react';
|
|
2
3
|
import { NSHeader } from './NSHeader';
|
|
3
4
|
import { NSFooter } from './NSFooter';
|
|
@@ -16,17 +17,21 @@ export class NSLayout extends Component<IProps>
|
|
|
16
17
|
override render()
|
|
17
18
|
{
|
|
18
19
|
return (
|
|
19
|
-
<div
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
|
|
20
|
+
<div>
|
|
21
|
+
<div className="d-flex flex-column text-white">
|
|
22
|
+
<NSHeader scope={this.props.scope} name="Header" logo={this.props.logo} />
|
|
23
|
+
<div>
|
|
24
|
+
<h1>{this.props.title}</h1>
|
|
25
|
+
<h4 className="page-description">{this.props.description}</h4>
|
|
26
|
+
</div>
|
|
27
|
+
<main className="container">
|
|
28
|
+
{this.props.children}
|
|
29
|
+
</main>
|
|
30
|
+
</div >
|
|
31
|
+
<div className={Styles.ns_footer}>
|
|
32
|
+
<NSFooter scope={this.props.scope} name="Footer" logo={this.props.logo} />
|
|
24
33
|
</div>
|
|
25
|
-
|
|
26
|
-
{this.props.children}
|
|
27
|
-
</main>
|
|
28
|
-
<NSFooter scope={this.props.scope} name="Footer" logo={this.props.logo} />
|
|
29
|
-
</div >
|
|
34
|
+
</div>
|
|
30
35
|
);
|
|
31
36
|
}
|
|
32
37
|
}
|
|
@@ -29,7 +29,7 @@ export class NSPagination extends Component<IState, IProps>
|
|
|
29
29
|
let pushPage = (index: number) =>
|
|
30
30
|
{
|
|
31
31
|
if (index == page)
|
|
32
|
-
arr.push(<div className='center_number'><a href='#' className='text-decoration-none text-light'>{index}</a></div>);
|
|
32
|
+
arr.push(<div className='center_number'><a href='#' className='center_number text-decoration-none text-light'>{index}</a></div>);
|
|
33
33
|
else
|
|
34
34
|
arr.push(<div><a href='#' className='text-decoration-none text-light'>{index}</a></div>);
|
|
35
35
|
};
|
|
@@ -50,4 +50,4 @@ export class NSPagination extends Component<IState, IProps>
|
|
|
50
50
|
</div>
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
-
}
|
|
53
|
+
}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|