namirasoft-site-react 1.3.261 → 1.3.263
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/NSBarAction.js +1 -1
- package/dist/components/NSBarAction.js.map +1 -1
- package/dist/components/NSFooter.js +1 -1
- package/dist/components/NSFooter.js.map +1 -1
- package/dist/components/NSGroupedList.js +1 -4
- package/dist/components/NSGroupedList.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NSBarAction.tsx +0 -1
- package/src/components/NSFooter.tsx +4 -4
- package/src/components/NSGroupedList.tsx +14 -21
|
@@ -12,7 +12,7 @@ export function NSBarAction(props) {
|
|
|
12
12
|
});
|
|
13
13
|
const groups = Object.keys(props.menus);
|
|
14
14
|
return (_jsxs(_Fragment, { children: [_jsx("div", { className: Styles.ns_action_bar_holder, children: _jsxs("div", { className: 'container d-flex justify-content-center justify-content-md-between align-items-center w-100', children: [_jsxs("div", { className: `d-none d-lg-flex ${Styles.ns_desktop_action_bar_title}`, children: [_jsx("h1", { className: Styles.title, children: props.title }), props.description !== "" &&
|
|
15
|
-
_jsxs("button", { className: Styles.ns_info_container, onClick: () => setState({ show: true }), children: [_jsx("img", { src: 'https://static.namirasoft.com/image/concept/info/white-blue.svg', alt: 'info-icon', width: 24, height: 24 }), _jsx("span", { children: " Info " })] }), _jsx(NSModal, { show: state.show, description: props.description, title: props.title, onClose: () => setState({ show: false }) })] }), _jsx("div", { style: { padding: groups.length !== 0 ? "16px 0" : "0" }, className: Styles.ns_actions_hodler, children: groups.map((group) => _jsx(NSActionMenu, { name: group, items: props.menus[group] })) })] }) }),
|
|
15
|
+
_jsxs("button", { className: Styles.ns_info_container, onClick: () => setState({ show: true }), children: [_jsx("img", { src: 'https://static.namirasoft.com/image/concept/info/white-blue.svg', alt: 'info-icon', width: 24, height: 24 }), _jsx("span", { children: " Info " })] }), _jsx(NSModal, { show: state.show, description: props.description, title: props.title, onClose: () => setState({ show: false }) })] }), _jsx("div", { style: { padding: groups.length !== 0 ? "16px 0" : "0" }, className: Styles.ns_actions_hodler, children: groups.map((group) => _jsx(NSActionMenu, { name: group, items: props.menus[group] })) })] }) }), _jsxs("div", { className: `container d-block d-lg-none ${Styles.ns_mobile_action_bar_title}`, children: [_jsx("h1", { className: Styles.title, children: props.title }), props.description && lines &&
|
|
16
16
|
_jsxs(_Fragment, { children: [_jsx("p", { className: Styles.description, children: lines.map((line, index) => {
|
|
17
17
|
return (_jsxs(React.Fragment, { children: [line.trim(), index !== lines.length - 1 && _jsx("br", {})] }, index));
|
|
18
18
|
}) }), _jsx(NSSpace, { size: NSSpaceSizeType.MINI })] })] })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBarAction.js","sourceRoot":"","sources":["../../src/components/NSBarAction.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAsB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAcpC,MAAM,UAAU,WAAW,CAAC,KAAwB;;IAEnD,IAAI,KAAK,GAAG,CAAC,MAAA,KAAK,CAAC,WAAW,mCAAI,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAEzE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAmB;QACpD,IAAI,EAAE,KAAK;KACX,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAExC,OAAO,CACN,8BACC,cAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,YAE1C,eAAK,SAAS,EAAC,8FAA8F,aAC5G,eAAK,SAAS,EAAE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AM,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EACxD,SAAS,EAAE,MAAM,CAAC,iBAAiB,YAGlC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACpB,KAAC,YAAY,IAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAI,CACxD,GAEG,IACD,GACD,EAEN,eAAK,SAAS,EAAE,+BAA+B,MAAM,CAAC,0BAA0B,EAAE,aACjF,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,KAAK,CAAC,KAAK,GAAM,EAE9C,KAAK,CAAC,WAAW,IAAI,KAAK;wBAC1B,8BACC,YAAG,SAAS,EAAE,MAAM,CAAC,WAAW,YAE9B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;wCAEzB,OAAO,CACN,MAAC,KAAK,CAAC,QAAQ,eACb,IAAI,CAAC,IAAI,EAAE,EACX,KAAK,KAAK,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,cAAM,KAFjB,KAAK,CAGT,CACjB,CAAA;oCACF,CAAC,CAAC,GAEA,EACJ,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,IAAI,GAAI,IACrC,IAEC,IACJ,CACH,CAAC;AACH,CAAC"}
|
|
@@ -25,7 +25,7 @@ export class NSFooter extends React.Component {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
var _a;
|
|
28
|
-
return (_jsx("footer", { id: this.props.id, className: `${Styles.ns_footer} ${(_a = this.props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: this.props.style, children: _jsxs("div", { className: `container ${Styles.ns_package_footer}`, children: [_jsxs("div", { className: `${Styles.ns_footer_parent_items}`, children: [_jsx("div", { className: `${Styles.ns_footer_project_logo_tablet}`, children: _jsx("a", { href: "/", children: _jsx("img", { src: this.props.logo, alt: 'Logo', width: 80, height: 80 }) }) }), _jsx("div", { className: `${Styles.ns_footer_menu_container}`, children: this.render_menu(0, null) }), _jsxs("div", { className: `${Styles.ns_footer_namira_logo_tablet}`, children: [_jsxs("div", { className: "d-flex flex-row gap-3", children: [_jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/site/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) }), _jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/account/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) })] }), _jsxs("div", { className: "d-flex flex-row gap-1 w-100 justify-content-center align-items-center", children: [_jsx("a", { style: { cursor: "pointer" }, href: "https://ca.linkedin.com/company/namira-software-corporation", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/linkedin/white.svg", alt: "Communicate with Namirasoft Via LinkedIn", width: 24, height: 24 }) }), _jsx("a", { href: "https://instagram.com/namira.software.corporation?igshid=MzRlODBiNWFlZA==", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/instagram/white.svg", alt: "Communicate with Namirasoft Via Instagram", width: 24, height: 24 }) }), _jsx("a", { href: "support@namirasoft.com", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/email/white.svg", alt: "Communicate with Namirasoft Via Email", width: 24, height: 24 }) }), _jsx("a", { href: "https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/location/white.svg", alt: "Communicate with Namirasoft in Person", width: 24, height: 24 }) })] })] })] }), _jsx("div", { className: `${Styles.ns_footer_logos_mobile}`, children: _jsxs("div", { className: "d-flex flex-column gap-4", children: [_jsxs("div", { className: "d-flex flex-row gap-3", children: [_jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/site/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) }), _jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/account/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) })] }), _jsxs("div", { className: "d-flex flex-row gap-1 w-100 justify-content-center align-items-center", children: [_jsx("a", { href: "https://ca.linkedin.com/company/namira-software-corporation", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/linkedin/white.svg", alt: "Communicate with Namirasoft Via LinkedIn", width: 24, height: 24 }) }), _jsx("a", { href: "https://instagram.com/namira.software.corporation?igshid=MzRlODBiNWFlZA==", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/instagram/white.svg", alt: "Communicate with Namirasoft Via Instagram", width: 24, height: 24 }) }), _jsx("a", { href: "support@namirasoft.com", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/email/white.svg", alt: "Communicate with Namirasoft Via Email", width: 24, height: 24 }) }), _jsx("a", { href: "https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/location/white.svg", alt: "Communicate with Namirasoft in Person", width: 24, height: 24 }) })] })] }) }), _jsxs("div", { className: `${Styles.ns_footer_copyright}`, children: [_jsxs("span", { children: [" \u00A9Copyright 2010 - ", new Date().getFullYear(), " "] }), " ", _jsx("a", { href: "https://namirasoft.com/", target: "_blank", rel: "noopener noreferrer", children: " Namira Software Corporation" }), ". ", " ", _jsx("span", { children: " All rights reserved. " })] })] }) }));
|
|
28
|
+
return (_jsx("footer", { id: this.props.id, className: `${Styles.ns_footer} ${(_a = this.props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: this.props.style, children: _jsxs("div", { className: `container ${Styles.ns_package_footer}`, children: [_jsxs("div", { className: `${Styles.ns_footer_parent_items}`, children: [_jsx("div", { className: `${Styles.ns_footer_project_logo_tablet}`, children: _jsx("a", { href: "/", children: _jsx("img", { src: this.props.logo, alt: 'Logo', width: 80, height: 80 }) }) }), _jsx("div", { className: `${Styles.ns_footer_menu_container}`, children: this.render_menu(0, null) }), _jsxs("div", { className: `${Styles.ns_footer_namira_logo_tablet}`, children: [_jsxs("div", { className: "d-flex flex-row gap-3", children: [_jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/site/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) }), _jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/account/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) })] }), _jsxs("div", { className: "d-flex flex-row gap-1 w-100 justify-content-center align-items-center", children: [_jsx("a", { style: { cursor: "pointer" }, href: "https://ca.linkedin.com/company/namira-software-corporation", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/linkedin/white.svg", alt: "Communicate with Namirasoft Via LinkedIn", width: 24, height: 24 }) }), _jsx("a", { href: "https://instagram.com/namira.software.corporation?igshid=MzRlODBiNWFlZA==", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/instagram/white.svg", alt: "Communicate with Namirasoft Via Instagram", width: 24, height: 24 }) }), _jsx("a", { href: "support@namirasoft.com", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/email/white.svg", alt: "Communicate with Namirasoft Via Email", width: 24, height: 24 }) }), _jsx("a", { href: "https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/location/white.svg", alt: "Communicate with Namirasoft in Person", width: 24, height: 24 }) })] })] })] }), _jsx("div", { className: `${Styles.ns_footer_logos_mobile}`, children: _jsxs("div", { className: "d-flex flex-column gap-4", children: [_jsxs("div", { className: "d-flex flex-row gap-3", children: [_jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/site/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) }), _jsx("a", { href: "/", children: _jsx("img", { src: "https://static.namirasoft.com/image/namirasoft/account/logo/circle.png", alt: 'Namira Software Corporation Logo', width: 48, height: 48 }) })] }), _jsxs("div", { className: "d-flex flex-row gap-1 w-100 justify-content-center align-items-center", children: [_jsx("a", { href: "https://ca.linkedin.com/company/namira-software-corporation", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/linkedin/white.svg", alt: "Communicate with Namirasoft Via LinkedIn", width: 24, height: 24 }) }), _jsx("a", { href: "https://instagram.com/namira.software.corporation?igshid=MzRlODBiNWFlZA==", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/instagram/white.svg", alt: "Communicate with Namirasoft Via Instagram", width: 24, height: 24 }) }), _jsx("a", { href: "support@namirasoft.com", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/email/white.svg", alt: "Communicate with Namirasoft Via Email", width: 24, height: 24 }) }), _jsx("a", { href: "https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X", target: "_blank", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/location/white.svg", alt: "Communicate with Namirasoft in Person", width: 24, height: 24 }) })] })] }) }), _jsxs("div", { className: `${Styles.ns_footer_copyright}`, children: [_jsxs("span", { children: [" \u00A9Copyright 2010 - ", new Date().getFullYear(), " "] }), " ", _jsx("a", { href: "https://namirasoft.com/", target: "_blank", rel: "noopener noreferrer", children: " Namira Software Corporation" }), ". ", " ", _jsx("span", { children: " All rights reserved. " })] })] }) }));
|
|
29
29
|
}
|
|
30
30
|
render_menu(level, parent_id) {
|
|
31
31
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSFooter.js","sourceRoot":"","s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AI,YACxB,MAAM,CAAC,IAAI,IADR,MAAM,CAAC,EAAE,CAEb,GACH,CACR,CAAC;SACL;IACL,CAAC;CACJ"}
|
|
@@ -23,15 +23,12 @@ export default class NSGroupedList extends Component {
|
|
|
23
23
|
if (this.groupListRef.current && !this.groupListRef.current.contains(event.target)) {
|
|
24
24
|
this.hide();
|
|
25
25
|
}
|
|
26
|
-
else {
|
|
27
|
-
this.show();
|
|
28
|
-
}
|
|
29
26
|
}
|
|
30
27
|
hide() {
|
|
31
28
|
this.setState({ isVisible: false });
|
|
32
29
|
}
|
|
33
30
|
show() {
|
|
34
|
-
this.setState({ isVisible:
|
|
31
|
+
this.setState({ isVisible: true });
|
|
35
32
|
}
|
|
36
33
|
render() {
|
|
37
34
|
if (!this.state.isVisible) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSGroupedList.js","sourceRoot":"","sources":["../../src/components/NSGroupedList.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,MAAM,MAAM,4BAA4B,CAAC;AA4BhD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,SAAmD;IAG7F,YAAY,KAA0B;QAErC,KAAK,CAAC,KAAK,CAAC,CAAC;QAJN,iBAAY,GAAG,SAAS,EAAkB,CAAC;QAKlD,IAAI,CAAC,KAAK,GAAG;YACZ,SAAS,EAAE,IAAI;SACf,CAAC;QACF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAEQ,iBAAiB;QAEzB,QAAQ,CAAC,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ClB,EACN,IAAI,CAAC,WAAW,IAAI,eAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,YAAG,IAAI,CAAC,WAAW,GAAQ,IAC3E,IAPE,KAAK,CAQT,CACL,CAAC,KAtBM,KAAK,CAuBT,CACL,CAAC,GACG,CACN,CAAC;IACH,CAAC;CACD"}
|
package/package.json
CHANGED
|
@@ -59,7 +59,6 @@ export function NSBarAction(props: INSBarActionProps)
|
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
62
|
-
<NSSpace size={NSSpaceSizeType.SMALL} />
|
|
63
62
|
{/* Mobile */}
|
|
64
63
|
<div className={`container d-block d-lg-none ${Styles.ns_mobile_action_bar_title}`}>
|
|
65
64
|
<h1 className={Styles.title}>{props.title}</h1>
|
|
@@ -66,10 +66,10 @@ export class NSFooter extends React.Component<INSFooterProps, NSFooterState>
|
|
|
66
66
|
<a href="/"><img src="https://static.namirasoft.com/image/namirasoft/account/logo/circle.png" alt='Namira Software Corporation Logo' width={48} height={48} /></a>
|
|
67
67
|
</div>
|
|
68
68
|
<div className="d-flex flex-row gap-1 w-100 justify-content-center align-items-center">
|
|
69
|
-
<a style={{ cursor: "pointer" }} href="https://ca.linkedin.com/company/namira-software-corporation"><img src="https://static.namirasoft.com/image/concept/social/linkedin/white.svg" alt="Communicate with Namirasoft Via LinkedIn" width={24} height={24} /></a>
|
|
70
|
-
<a href="https://instagram.com/namira.software.corporation?igshid=MzRlODBiNWFlZA=="><img src="https://static.namirasoft.com/image/concept/social/instagram/white.svg" alt="Communicate with Namirasoft Via Instagram" width={24} height={24} /></a>
|
|
71
|
-
<a href="support@namirasoft.com"><img src="https://static.namirasoft.com/image/concept/social/email/white.svg" alt="Communicate with Namirasoft Via Email" width={24} height={24} /></a>
|
|
72
|
-
<a href="https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X"><img src="https://static.namirasoft.com/image/concept/social/location/white.svg" alt="Communicate with Namirasoft in Person" width={24} height={24} /></a>
|
|
69
|
+
<a style={{ cursor: "pointer" }} href="https://ca.linkedin.com/company/namira-software-corporation" target="_blank"><img src="https://static.namirasoft.com/image/concept/social/linkedin/white.svg" alt="Communicate with Namirasoft Via LinkedIn" width={24} height={24} /></a>
|
|
70
|
+
<a href="https://instagram.com/namira.software.corporation?igshid=MzRlODBiNWFlZA==" target="_blank"><img src="https://static.namirasoft.com/image/concept/social/instagram/white.svg" alt="Communicate with Namirasoft Via Instagram" width={24} height={24} /></a>
|
|
71
|
+
<a href="support@namirasoft.com" target="_blank"><img src="https://static.namirasoft.com/image/concept/social/email/white.svg" alt="Communicate with Namirasoft Via Email" width={24} height={24} /></a>
|
|
72
|
+
<a href="https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X" target="_blank"><img src="https://static.namirasoft.com/image/concept/social/location/white.svg" alt="Communicate with Namirasoft in Person" width={24} height={24} /></a>
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
@@ -32,7 +32,7 @@ interface INSGroupedListState
|
|
|
32
32
|
export default class NSGroupedList extends Component<INSGroupedListProps, INSGroupedListState> {
|
|
33
33
|
private groupListRef = createRef<HTMLDivElement>();
|
|
34
34
|
|
|
35
|
-
constructor(props: INSGroupedListProps)
|
|
35
|
+
constructor(props: INSGroupedListProps)
|
|
36
36
|
{
|
|
37
37
|
super(props);
|
|
38
38
|
this.state = {
|
|
@@ -40,41 +40,34 @@ export default class NSGroupedList extends Component<INSGroupedListProps, INSGro
|
|
|
40
40
|
};
|
|
41
41
|
this.handleClickOutside = this.handleClickOutside.bind(this);
|
|
42
42
|
this.hide = this.hide.bind(this);
|
|
43
|
-
this.show = this.show.bind(this);
|
|
43
|
+
this.show = this.show.bind(this);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
override componentDidMount()
|
|
46
|
+
override componentDidMount()
|
|
47
47
|
{
|
|
48
48
|
document.addEventListener('mousedown', this.handleClickOutside);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
override componentWillUnmount()
|
|
52
|
-
{
|
|
51
|
+
override componentWillUnmount() {
|
|
53
52
|
document.removeEventListener('mousedown', this.handleClickOutside);
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
handleClickOutside(event: MouseEvent)
|
|
57
|
-
|
|
58
|
-
if (this.groupListRef.current && !this.groupListRef.current.contains(event.target as Node))
|
|
59
|
-
{
|
|
55
|
+
handleClickOutside(event: MouseEvent) {
|
|
56
|
+
if (this.groupListRef.current && !this.groupListRef.current.contains(event.target as Node)) {
|
|
60
57
|
this.hide();
|
|
61
58
|
}
|
|
62
|
-
else{
|
|
63
|
-
this.show();
|
|
64
|
-
}
|
|
65
59
|
}
|
|
66
|
-
|
|
67
|
-
{
|
|
60
|
+
|
|
61
|
+
hide() {
|
|
68
62
|
this.setState({ isVisible: false });
|
|
69
63
|
}
|
|
70
|
-
|
|
71
|
-
{
|
|
72
|
-
this.setState({ isVisible:
|
|
64
|
+
|
|
65
|
+
show() { // Add the show method to make the list visible
|
|
66
|
+
this.setState({ isVisible: true });
|
|
73
67
|
}
|
|
74
|
-
|
|
75
|
-
{
|
|
76
|
-
if (!this.state.isVisible)
|
|
77
|
-
{
|
|
68
|
+
|
|
69
|
+
override render() {
|
|
70
|
+
if (!this.state.isVisible) {
|
|
78
71
|
return null;
|
|
79
72
|
}
|
|
80
73
|
|