namirasoft-account-react 1.4.278 → 1.4.280
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IBaseComponentProps,
|
|
1
|
+
import { IBaseComponentProps, NSRouterMakerProps } from 'namirasoft-site-react';
|
|
2
2
|
import { ProductFullRow } from 'namirasoft-api-product';
|
|
3
|
-
export interface NSAHomePageProps extends IBaseComponentProps,
|
|
3
|
+
export interface NSAHomePageProps extends IBaseComponentProps, NSRouterMakerProps {
|
|
4
4
|
product_id: string;
|
|
5
5
|
custom?: {
|
|
6
6
|
scope?: string;
|
|
7
|
-
|
|
7
|
+
headline?: string;
|
|
8
8
|
logo?: string;
|
|
9
9
|
description?: string;
|
|
10
10
|
};
|
|
@@ -14,9 +14,9 @@ export function NSAHomePage(props) {
|
|
|
14
14
|
if (!state.product)
|
|
15
15
|
return _jsx(NSLoading, {});
|
|
16
16
|
let scope = (_b = (_a = props.custom) === null || _a === void 0 ? void 0 : _a.scope) !== null && _b !== void 0 ? _b : `${state.product.name} Console`;
|
|
17
|
-
let
|
|
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: [_jsx("img", { src: logo, alt: state.product.name, width: 256, height: 256 }), _jsx(NSSpace, { size: NSSpaceSizeType.MICRO }), _jsx("h2", { children:
|
|
20
|
+
return (_jsxs("div", { className: Styles.nsa_home_container, children: [_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
21
|
}
|
|
22
22
|
//# sourceMappingURL=NSAHomePage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSAHomePage.js","sourceRoot":"","sources":["../../src/pages/NSAHomePage.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"NSAHomePage.js","sourceRoot":"","sources":["../../src/pages/NSAHomePage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,aAAa,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAsB,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzJ,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAkB5C,MAAM,UAAU,WAAW,CAAC,KAAuB;;IAE/C,IAAI,KAAK,GAAG,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC9E,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAmB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAEtE,SAAS,CAAC,GAAG,EAAE;QAEX,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;YAEvB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;QAC1B,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,KAAK,CAAC,OAAO;QACd,OAAO,KAAC,SAAS,KAAG,CAAC;IAEzB,IAAI,KAAK,GAAG,MAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,KAAK,mCAAI,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC;IACnE,IAAI,QAAQ,GAAG,MAAA,MAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,QAAQ,mCAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,mCAAI,EAAE,CAAC;IACtE,IAAI,IAAI,GAAG,MAAA,MAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,IAAI,mCAAI,KAAK,CAAC,OAAO,CAAC,IAAI,mCAAI,EAAE,CAAC;IAC1D,IAAI,WAAW,GAAG,MAAA,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,aACrC,cACI,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,EACvB,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,GAAG,GACb,EACF,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.280",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"namirasoft-secret": "^1.4.32",
|
|
38
38
|
"namirasoft-site": "^1.4.38",
|
|
39
39
|
"namirasoft-site-map": "^1.4.25",
|
|
40
|
-
"namirasoft-site-react": "^1.4.
|
|
40
|
+
"namirasoft-site-react": "^1.4.385",
|
|
41
41
|
"namirasoft-workspace": "^1.4.22",
|
|
42
42
|
"os-browserify": "^0.3.0",
|
|
43
43
|
"path-browserify": "^1.0.1",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IBaseComponentProps,
|
|
1
|
+
import { IBaseComponentProps, NSListProduct, NSSpace, NSSpaceSizeType, NSLoading, NSRouterMakerProps, ProductCacheService } from 'namirasoft-site-react';
|
|
2
2
|
import Styles from './NSAHomePage.module.css';
|
|
3
3
|
import { ProductFullRow } from 'namirasoft-api-product';
|
|
4
4
|
import { useEffect, useState } from 'react';
|
|
5
5
|
|
|
6
|
-
export interface NSAHomePageProps extends IBaseComponentProps,
|
|
6
|
+
export interface NSAHomePageProps extends IBaseComponentProps, NSRouterMakerProps
|
|
7
7
|
{
|
|
8
8
|
product_id: string;
|
|
9
9
|
custom?: {
|