namirasoft-account-react 1.4.296 → 1.4.298
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.
|
@@ -17,6 +17,7 @@ export function NSAHomePage(props) {
|
|
|
17
17
|
let headline = (_e = (_d = (_c = props.custom) === null || _c === void 0 ? void 0 : _c.headline) !== null && _d !== void 0 ? _d : state.product.headline) !== null && _e !== void 0 ? _e : "";
|
|
18
18
|
let logo = (_h = (_g = (_f = props.custom) === null || _f === void 0 ? void 0 : _f.logo) !== null && _g !== void 0 ? _g : state.product.logo) !== null && _h !== void 0 ? _h : "";
|
|
19
19
|
let description = (_l = (_k = (_j = props.custom) === null || _j === void 0 ? void 0 : _j.description) !== null && _k !== void 0 ? _k : state.product.description) !== null && _l !== void 0 ? _l : "";
|
|
20
|
-
return (_jsxs("div", { className: Styles.nsa_home_container, children: [
|
|
20
|
+
return (_jsxs("div", { className: Styles.nsa_home_container, children: [props.show_image &&
|
|
21
|
+
_jsx("img", { src: logo, alt: state.product.name, width: 256, height: 256 }), _jsx(NSSpace, { size: NSSpaceSizeType.MICRO }), _jsx("h2", { children: headline }), _jsx(NSSpace, { size: NSSpaceSizeType.MICRO }), _jsx("p", { children: description }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsx(NSListProduct, { scope: scope, name: "Home" })] }));
|
|
21
22
|
}
|
|
22
23
|
//# sourceMappingURL=NSAHomePage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSAHomePage.js","sourceRoot":"","sources":["../../src/pages/NSAHomePage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,aAAa,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACrI,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":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A,MAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,WAAW,mCAAI,KAAK,CAAC,OAAO,CAAC,WAAW,mCAAI,EAAE,CAAC;IAE/E,OAAO,CACH,eAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,aAEjC,KAAK,CAAC,UAAU;gBAChB,cACI,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,EACvB,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,GAAG,GACb,EAEN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,uBAAK,QAAQ,GAAM,EACnB,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,sBAAI,WAAW,GAAK,EACpB,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAC,MAAM,GAAG,IACzC,CACT,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
11
|
+
"version": "1.4.298",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@types/platform": "^1.3.6",
|
|
27
27
|
"@types/react": "^18.3.13",
|
|
28
28
|
"namirasoft-access": "^1.4.69",
|
|
29
|
-
"namirasoft-account": "^1.4.
|
|
29
|
+
"namirasoft-account": "^1.4.79",
|
|
30
30
|
"namirasoft-account-client": "^1.4.5",
|
|
31
|
-
"namirasoft-api-product": "^1.4.
|
|
31
|
+
"namirasoft-api-product": "^1.4.29",
|
|
32
32
|
"namirasoft-core": "^1.4.76",
|
|
33
33
|
"namirasoft-field": "^1.4.22",
|
|
34
34
|
"namirasoft-history": "^1.4.17",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react": "^18.3.1",
|
|
47
47
|
"react-app-rewired": "^2.2.1",
|
|
48
48
|
"react-dom": "^18.3.1",
|
|
49
|
-
"react-router-dom": "^7.6.
|
|
49
|
+
"react-router-dom": "^7.6.1",
|
|
50
50
|
"react-scripts": "5.0.1",
|
|
51
51
|
"run": "^1.5.0"
|
|
52
52
|
},
|
|
@@ -12,6 +12,7 @@ export interface NSAHomePageProps extends IBaseComponentProps, NSARouterMakerPro
|
|
|
12
12
|
logo?: string;
|
|
13
13
|
description?: string;
|
|
14
14
|
};
|
|
15
|
+
show_image?: boolean;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export interface NSAHomePageState
|
|
@@ -42,12 +43,15 @@ export function NSAHomePage(props: NSAHomePageProps)
|
|
|
42
43
|
|
|
43
44
|
return (
|
|
44
45
|
<div className={Styles.nsa_home_container}>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
{
|
|
47
|
+
props.show_image &&
|
|
48
|
+
<img
|
|
49
|
+
src={logo}
|
|
50
|
+
alt={state.product.name}
|
|
51
|
+
width={256}
|
|
52
|
+
height={256}
|
|
53
|
+
/>
|
|
54
|
+
}
|
|
51
55
|
<NSSpace size={NSSpaceSizeType.MICRO} />
|
|
52
56
|
<h2>{headline}</h2>
|
|
53
57
|
<NSSpace size={NSSpaceSizeType.MICRO} />
|