namirasoft-site-react 1.3.381 → 1.3.383
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.
|
@@ -13,6 +13,7 @@ import React from "react";
|
|
|
13
13
|
import Styles from "./NSFooter.module.css";
|
|
14
14
|
import { NamirasoftAPILinkServer } from 'namirasoft-api-link';
|
|
15
15
|
import { IStorageLocal, CacheService } from "namirasoft-core";
|
|
16
|
+
import { PackageService } from "namirasoft-core";
|
|
16
17
|
export class NSFooter extends React.Component {
|
|
17
18
|
constructor(props) {
|
|
18
19
|
super(props);
|
|
@@ -63,8 +64,8 @@ export class NSFooter extends React.Component {
|
|
|
63
64
|
return this.getFilters().filter(f => f.parent_id === id).length > 0;
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
66
|
-
var _a;
|
|
67
|
-
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", rel: "noreferrer", 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", rel: "noreferrer", 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", rel: "noreferrer", 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", rel: "noreferrer", children: _jsx("img", { src: "https://static.namirasoft.com/image/concept/social/location/white.svg", alt: "Communicate with Namirasoft in Person", width: 24, height: 24 }) })] }),
|
|
67
|
+
var _a, _b, _c;
|
|
68
|
+
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", rel: "noreferrer", 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", rel: "noreferrer", 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", rel: "noreferrer", 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", rel: "noreferrer", 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: [" Versin: ", (_b = PackageService.MainJson) === null || _b === void 0 ? void 0 : _b.version, " "] })] })] }), _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", rel: "noreferrer", 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", rel: "noreferrer", 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", rel: "noreferrer", 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", rel: "noreferrer", 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: [" Versin: ", (_c = PackageService.MainJson) === null || _c === void 0 ? void 0 : _c.version, " "] })] }) }), _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: "noreferrer", children: " Namira Software Corporation" }), ". ", " ", _jsx("span", { children: " All rights reserved. " })] })] }) }));
|
|
68
69
|
}
|
|
69
70
|
render_menu(level, parent_id) {
|
|
70
71
|
let fs = this.getFilters().filter(f => f.parent_id === parent_id);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSFooter.js","sourceRoot":"","sources":["../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SACL;aACI,IAAI,KAAK,KAAK,CAAC,EACpB;YACI,OAAO,CACH,aAEI,EAAE,EAAE,kBAAkB,MAAM,CAAC,EAAE,EAAE,YAChC,MAAM,CAAC,IAAI,IAFP,MAAM,CAAC,EAAE,CAGb,CACR,CAAC;SACL;aAED;YACI,IAAI,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,0CAAE,GAAG,CAAC;YAC5B,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB;gBAChC,IAAI,IAAI,EACR;oBACI,IAAI,GAAG,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC;oBACxB,GAAG,CAAC,IAAI,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;oBAChC,GAAG,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;oBACxC,IAAI,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;iBACzB;YACL,OAAO,CACH,aAAoB,SAAS,EAAC,MAAM,YAChC,YAAG,IAAI,EAAE,IAAI,YACR,MAAM,CAAC,IAAI,GACZ,IAHC,MAAM,CAAC,EAAE,CAIb,CACR,CAAC;SACL;IACL,CAAC;CACJ"}
|
|
@@ -24,7 +24,7 @@ export function NSLayout(props) {
|
|
|
24
24
|
background: props.background,
|
|
25
25
|
backgroundSize: "cover",
|
|
26
26
|
backgroundAttachment: "fixed"
|
|
27
|
-
}, children: [_jsx(NSHeader, { scope: props.scope, name: "Header", logo: props.logo, header: props.header, isLoggedIn: props.isLoggedIn }), props.notifications.map(props => _jsx(NSBarNotification, Object.assign({}, props))), isValidAction(props.action) && _jsx(NSBarAction, Object.assign({}, props.action)), props.banner && _jsx(NSBarHeroBanner, Object.assign({}, props.banner)), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), props.title &&
|
|
27
|
+
}, children: [_jsx(NSHeader, { scope: props.scope, name: "Header", logo: props.logo, header: props.header, isLoggedIn: props.isLoggedIn }), props.notifications.map(props => _jsxs(_Fragment, { children: [_jsx(NSBarNotification, Object.assign({}, props)), _jsx(NSSpace, { size: NSSpaceSizeType.MINI })] })), isValidAction(props.action) && _jsx(NSBarAction, Object.assign({}, props.action)), props.banner && _jsx(NSBarHeroBanner, Object.assign({}, props.banner)), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), props.title &&
|
|
28
28
|
_jsxs(_Fragment, { children: [_jsx(NSBarTitle, Object.assign({}, props.title)), _jsx(NSSpace, { size: NSSpaceSizeType.MEDUIM })] }), _jsx("main", { className: `d-flex flex-column text-white ${Styles.ns_layout_main}`, children: props.children }), _jsx(NSSpace, { size: NSSpaceSizeType.MEDUIM }), _jsx(NSFooter, { scope: props.scope, name: "Footer", logo: props.logo, isLoggedIn: props.isLoggedIn })] }));
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=NSLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,iBAAiB,EAA2B,MAAM,qBAAqB,CAAC;AAEjF,OAAO,EAAqB,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAoB,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAqBrD,MAAM,UAAU,QAAQ,CAAC,KAAqB;;IAE7C,SAAS,aAAa,CAAC,MAA0B;QAEhD,IAAI,MAAM;YACT,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,WAAW,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CA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IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACvC,KAAK,CAAC,KAAK;gBACX,8BACC,KAAC,UAAU,oBAAK,KAAK,CAAC,KAAK,EAAiB,EAC5C,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,IACvC,EAEJ,eAAM,SAAS,EAAE,iCAAiC,MAAM,CAAC,cAAc,EAAE,YACvE,KAAK,CAAC,QAAQ,GACT,EACP,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,EACzC,KAAC,QAAQ,IACR,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,UAAU,EAAE,KAAK,CAAC,UAAU,GAC3B,IACI,CACP,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.3.
|
|
11
|
+
"version": "1.3.383",
|
|
12
12
|
"author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh, Mehrab Bahramian",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -5,6 +5,8 @@ import Styles from "./NSFooter.module.css";
|
|
|
5
5
|
import { NamirasoftAPILinkServer, FilterLinkFullRow } from 'namirasoft-api-link';
|
|
6
6
|
import { IBaseComponentProps } from "../props/IBaseComponentProps";
|
|
7
7
|
import { IStorageLocal, CacheService } from "namirasoft-core";
|
|
8
|
+
import { PackageService } from "namirasoft-core";
|
|
9
|
+
|
|
8
10
|
|
|
9
11
|
export interface INSFooterProps extends IBaseComponentProps
|
|
10
12
|
{
|
|
@@ -115,7 +117,7 @@ export class NSFooter extends React.Component<INSFooterProps, NSFooterState>
|
|
|
115
117
|
<a href="support@namirasoft.com" target="_blank" rel="noreferrer"><img src="https://static.namirasoft.com/image/concept/social/email/white.svg" alt="Communicate with Namirasoft Via Email" width={24} height={24} /></a>
|
|
116
118
|
<a href="https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X" target="_blank" rel="noreferrer"><img src="https://static.namirasoft.com/image/concept/social/location/white.svg" alt="Communicate with Namirasoft in Person" width={24} height={24} /></a>
|
|
117
119
|
</div>
|
|
118
|
-
<div className={`${Styles.ns_footer_copyright}`}> Versin: </div>
|
|
120
|
+
<div className={`${Styles.ns_footer_copyright}`}> Versin: {PackageService.MainJson?.version} </div>
|
|
119
121
|
</div>
|
|
120
122
|
</div>
|
|
121
123
|
<div className={`${Styles.ns_footer_logos_mobile}`}>
|
|
@@ -130,7 +132,7 @@ export class NSFooter extends React.Component<INSFooterProps, NSFooterState>
|
|
|
130
132
|
<a href="support@namirasoft.com" target="_blank" rel="noreferrer"><img src="https://static.namirasoft.com/image/concept/social/email/white.svg" alt="Communicate with Namirasoft Via Email" width={24} height={24} /></a>
|
|
131
133
|
<a href="https://www.google.com/maps/place//@49.2781041,-123.1354814,14z/data=!4m2!3m1!1s0x0:0x18f70365c7a2f0fa?entry=s&sa=X" target="_blank" rel="noreferrer"><img src="https://static.namirasoft.com/image/concept/social/location/white.svg" alt="Communicate with Namirasoft in Person" width={24} height={24} /></a>
|
|
132
134
|
</div>
|
|
133
|
-
<div className={`${Styles.ns_footer_copyright}`}> Versin: </div>
|
|
135
|
+
<div className={`${Styles.ns_footer_copyright}`}> Versin: {PackageService.MainJson?.version} </div>
|
|
134
136
|
</div>
|
|
135
137
|
</div>
|
|
136
138
|
<div className={`${Styles.ns_footer_copyright}`}>
|
|
@@ -58,7 +58,12 @@ export function NSLayout(props: INSLayoutProps)
|
|
|
58
58
|
header={props.header}
|
|
59
59
|
isLoggedIn={props.isLoggedIn}
|
|
60
60
|
/>
|
|
61
|
-
{props.notifications.map(props =>
|
|
61
|
+
{props.notifications.map(props =>
|
|
62
|
+
<>
|
|
63
|
+
<NSBarNotification {...props} />
|
|
64
|
+
<NSSpace size={NSSpaceSizeType.MINI} />
|
|
65
|
+
</>
|
|
66
|
+
)}
|
|
62
67
|
{isValidAction(props.action) && <NSBarAction {...props.action} ></NSBarAction >}
|
|
63
68
|
{props.banner && <NSBarHeroBanner {...props.banner} ></NSBarHeroBanner >}
|
|
64
69
|
<NSSpace size={NSSpaceSizeType.SMALL} />
|