@etsoo/react 1.3.72 → 1.3.73
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/lib/app/ServiceApp.d.ts
CHANGED
|
@@ -16,14 +16,16 @@ export declare class ServiceApp<P extends IServicePageData = IServicePageData, U
|
|
|
16
16
|
* Service API
|
|
17
17
|
*/
|
|
18
18
|
readonly serviceApi: IApi;
|
|
19
|
+
private _serviceUser?;
|
|
19
20
|
/**
|
|
20
21
|
* Service user
|
|
21
22
|
*/
|
|
22
|
-
serviceUser
|
|
23
|
+
get serviceUser(): IServiceUser | undefined;
|
|
24
|
+
protected set serviceUser(value: IServiceUser | undefined);
|
|
23
25
|
/**
|
|
24
26
|
* Service passphrase
|
|
25
27
|
*/
|
|
26
|
-
servicePassphrase: string;
|
|
28
|
+
protected servicePassphrase: string;
|
|
27
29
|
/**
|
|
28
30
|
* Constructor
|
|
29
31
|
* @param settings Settings
|
package/lib/app/ServiceApp.js
CHANGED
|
@@ -30,6 +30,15 @@ export class ServiceApp extends ReactApp {
|
|
|
30
30
|
this.setApi(api);
|
|
31
31
|
this.serviceApi = api;
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Service user
|
|
35
|
+
*/
|
|
36
|
+
get serviceUser() {
|
|
37
|
+
return this._serviceUser;
|
|
38
|
+
}
|
|
39
|
+
set serviceUser(value) {
|
|
40
|
+
this._serviceUser = value;
|
|
41
|
+
}
|
|
33
42
|
/**
|
|
34
43
|
* Go to the login page
|
|
35
44
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/react",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.73",
|
|
4
4
|
"description": "TypeScript ReactJs framework",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
51
51
|
"@emotion/style": "^0.8.0",
|
|
52
52
|
"@emotion/styled": "^11.6.0",
|
|
53
|
-
"@etsoo/appscript": "^1.1.
|
|
54
|
-
"@etsoo/notificationbase": "^1.0.
|
|
55
|
-
"@etsoo/shared": "^1.0.
|
|
56
|
-
"@mui/icons-material": "^5.2.
|
|
57
|
-
"@mui/material": "^5.2.
|
|
53
|
+
"@etsoo/appscript": "^1.1.86",
|
|
54
|
+
"@etsoo/notificationbase": "^1.0.95",
|
|
55
|
+
"@etsoo/shared": "^1.0.82",
|
|
56
|
+
"@mui/icons-material": "^5.2.5",
|
|
57
|
+
"@mui/material": "^5.2.5",
|
|
58
58
|
"@reach/router": "^1.3.4",
|
|
59
59
|
"@types/pica": "^5.1.3",
|
|
60
60
|
"@types/pulltorefreshjs": "^0.1.5",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"@babel/runtime-corejs3": "^7.16.5",
|
|
82
82
|
"@types/jest": "^27.0.3",
|
|
83
83
|
"@types/react-test-renderer": "^17.0.1",
|
|
84
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
85
|
-
"@typescript-eslint/parser": "^5.
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
85
|
+
"@typescript-eslint/parser": "^5.8.0",
|
|
86
86
|
"eslint": "^8.5.0",
|
|
87
87
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
88
88
|
"eslint-plugin-import": "^2.25.3",
|
package/src/app/ServiceApp.ts
CHANGED
|
@@ -30,15 +30,21 @@ export class ServiceApp<
|
|
|
30
30
|
*/
|
|
31
31
|
readonly serviceApi: IApi;
|
|
32
32
|
|
|
33
|
+
private _serviceUser?: IServiceUser;
|
|
33
34
|
/**
|
|
34
35
|
* Service user
|
|
35
36
|
*/
|
|
36
|
-
serviceUser
|
|
37
|
+
get serviceUser() {
|
|
38
|
+
return this._serviceUser;
|
|
39
|
+
}
|
|
40
|
+
protected set serviceUser(value: IServiceUser | undefined) {
|
|
41
|
+
this._serviceUser = value;
|
|
42
|
+
}
|
|
37
43
|
|
|
38
44
|
/**
|
|
39
45
|
* Service passphrase
|
|
40
46
|
*/
|
|
41
|
-
servicePassphrase: string = '';
|
|
47
|
+
protected servicePassphrase: string = '';
|
|
42
48
|
|
|
43
49
|
/**
|
|
44
50
|
* Constructor
|