namirasoft-account-react 1.3.264 → 1.3.265
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/components/NSAAccessListDialog.js +1 -1
- package/dist/components/NSAMessageListDialog.js +1 -1
- package/dist/components/NSAProductListDialog.js +1 -1
- package/dist/components/NSAProjectListDialog.js +2 -2
- package/dist/components/NSAProjectListDialog.module.css +0 -4
- package/package.json +1 -1
- package/src/components/NSAAccessListDialog.tsx +1 -1
- package/src/components/NSAMessageListDialog.tsx +1 -1
- package/src/components/NSAProductListDialog.tsx +1 -1
- package/src/components/NSAProjectListDialog.module.css +0 -4
- package/src/components/NSAProjectListDialog.tsx +2 -2
|
@@ -72,7 +72,7 @@ export default class NSAAccessListDialog extends Component {
|
|
|
72
72
|
}
|
|
73
73
|
return (_jsxs(NSDialog, Object.assign({}, this.props, { style: {
|
|
74
74
|
top: "0",
|
|
75
|
-
transform: "translate(-100%,
|
|
75
|
+
transform: "translate(-100%,20%)",
|
|
76
76
|
left: "99%"
|
|
77
77
|
}, children: [_jsx("a", { className: 'text-left w-100', href: 'https://access.namirasoft.com/', children: _jsx("span", { className: 'd-flex justify-content-left', children: "Manage Accesss" }) }), _jsxs("section", { className: Styles.ns_access_container, children: [profile, _jsx(NSLine, {}), _jsx("h6", { children: "Switch user as:" }), content !== null &&
|
|
78
78
|
_jsx("p", { children: "There is not any other user" })] })] })));
|
|
@@ -37,7 +37,7 @@ export class NSAMessageListDialog extends Component {
|
|
|
37
37
|
}, children: [_jsx("ul", { className: Styles.nsa_message_item_ul, children: _jsx("li", { className: `${Styles.nsa_message_item_title}`, children: message.title }) }), _jsx("p", { className: `${Styles.nsa_message_item_content} nsa_font_13_normal`, children: message.body })] }));
|
|
38
38
|
return (_jsxs(NSDialog, Object.assign({ style: {
|
|
39
39
|
top: "0",
|
|
40
|
-
transform: "translate(-100%,
|
|
40
|
+
transform: "translate(-100%,20%)",
|
|
41
41
|
left: "99%"
|
|
42
42
|
} }, this.props, { children: [_jsx("div", { className: Styles.nsa_toast, children: _jsxs("div", { children: [_jsx("div", { className: Styles.nsa_toast_header, children: _jsxs("article", { className: 'd-flex flex-row justify-content-center align-item-center', style: { cursor: "pointer" }, children: [_jsx("img", { src: MessageHeader, alt: "Message Header", width: 22 }), _jsx("span", { className: `${Styles.nsa_message_title} ms-2`, onClick: () => {
|
|
43
43
|
let server = new NamirasoftMessageServer(this.props.account.token_manager, this.props.notifier.onError);
|
|
@@ -46,7 +46,7 @@ export class NSAProductListDialog extends Component {
|
|
|
46
46
|
}
|
|
47
47
|
return (_jsxs(NSDialog, Object.assign({}, this.props, { style: {
|
|
48
48
|
top: "0",
|
|
49
|
-
transform: "translate(-100%,
|
|
49
|
+
transform: "translate(-100%,20%)",
|
|
50
50
|
left: "99%"
|
|
51
51
|
}, children: [_jsx(NSBoxSearch, { title: "", required: false, onChanged: (e) => {
|
|
52
52
|
this.setState({ search: e.getValue() });
|
|
@@ -23,11 +23,11 @@ export default class NSAProjectListDialog extends Component {
|
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
let projects = SearchOperation.filter(this.state.projects, p => p.name, this.state.search);
|
|
26
|
-
content = (_jsx("div", { className: Styles.nsa_project_list, children: projects.map((project) => (_jsxs("div", { className: Styles.nsa_project_border, children: [_jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/project/logo/base.png", alt: 'No Profile', width: 48, height: 48, style: { cursor: "
|
|
26
|
+
content = (_jsx("div", { className: Styles.nsa_project_list, children: projects.map((project) => (_jsxs("div", { className: Styles.nsa_project_border, children: [_jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/project/logo/base.png", alt: 'No Profile', width: 48, height: 48, style: { cursor: "pointer" } }), _jsxs("div", { className: 'd-flex flex-column align-items-start', children: [_jsx("h2", { className: Styles.nsa_project_h2, children: project.name }), _jsx("h6", { className: Styles.nsa_project_h6, children: project.user_id })] })] }))) }));
|
|
27
27
|
}
|
|
28
28
|
return (_jsxs(NSDialog, Object.assign({}, this.props, { style: {
|
|
29
29
|
top: "0",
|
|
30
|
-
transform: "translate(-100%,
|
|
30
|
+
transform: "translate(-100%,20%)",
|
|
31
31
|
left: "99%"
|
|
32
32
|
}, children: [_jsx(NSBoxSearch, { title: '', required: false, placeholder: 'Search your project', onChanged: (e) => {
|
|
33
33
|
this.setState({ search: e.getValue() });
|
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@ export default class NSAProjectListDialog extends Component<NSAProjectListDialog
|
|
|
45
45
|
{
|
|
46
46
|
projects.map((project) => (
|
|
47
47
|
<div className={Styles.nsa_project_border}>
|
|
48
|
-
<img src={"https://static.namirasoft.com/image/namirasoft/project/logo/base.png"} alt='No Profile' width={48} height={48} style={{ cursor: "
|
|
48
|
+
<img src={"https://static.namirasoft.com/image/namirasoft/project/logo/base.png"} alt='No Profile' width={48} height={48} style={{ cursor: "pointer" }} />
|
|
49
49
|
<div className='d-flex flex-column align-items-start'>
|
|
50
50
|
<h2 className={Styles.nsa_project_h2}>{project.name}</h2>
|
|
51
51
|
<h6 className={Styles.nsa_project_h6}>{project.user_id}</h6>
|
|
@@ -60,7 +60,7 @@ export default class NSAProjectListDialog extends Component<NSAProjectListDialog
|
|
|
60
60
|
<NSDialog {...this.props}
|
|
61
61
|
style={{
|
|
62
62
|
top: "0",
|
|
63
|
-
transform: "translate(-100%,
|
|
63
|
+
transform: "translate(-100%,20%)",
|
|
64
64
|
left: "99%"
|
|
65
65
|
}}
|
|
66
66
|
>
|