@etsoo/react 1.3.89 → 1.3.93
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
|
@@ -11,7 +11,7 @@ import { RefreshTokenRQ } from './RefreshTokenRQ';
|
|
|
11
11
|
* Use the acess token to the service api, get a service access token
|
|
12
12
|
* Use the new acess token and refresh token to login
|
|
13
13
|
*/
|
|
14
|
-
export declare class ServiceApp<
|
|
14
|
+
export declare class ServiceApp<U extends IServiceUser = IServiceUser, P extends IServicePageData = IServicePageData, S extends IServiceAppSettings = IServiceAppSettings> extends ReactApp<S, U, P> {
|
|
15
15
|
/**
|
|
16
16
|
* Service API
|
|
17
17
|
*/
|
package/lib/app/ServiceApp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/react",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.93",
|
|
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.2.
|
|
53
|
+
"@etsoo/appscript": "^1.2.10",
|
|
54
54
|
"@etsoo/notificationbase": "^1.0.95",
|
|
55
55
|
"@etsoo/shared": "^1.0.94",
|
|
56
56
|
"@mui/icons-material": "^5.2.5",
|
|
57
|
-
"@mui/material": "^5.2.
|
|
57
|
+
"@mui/material": "^5.2.6",
|
|
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.8.
|
|
85
|
-
"@typescript-eslint/parser": "^5.8.
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
85
|
+
"@typescript-eslint/parser": "^5.8.1",
|
|
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
|
@@ -21,8 +21,8 @@ import { RefreshTokenRQ } from './RefreshTokenRQ';
|
|
|
21
21
|
* Use the new acess token and refresh token to login
|
|
22
22
|
*/
|
|
23
23
|
export class ServiceApp<
|
|
24
|
-
P extends IServicePageData = IServicePageData,
|
|
25
24
|
U extends IServiceUser = IServiceUser,
|
|
25
|
+
P extends IServicePageData = IServicePageData,
|
|
26
26
|
S extends IServiceAppSettings = IServiceAppSettings
|
|
27
27
|
> extends ReactApp<S, U, P> {
|
|
28
28
|
/**
|
|
@@ -76,8 +76,6 @@ export class ServiceApp<
|
|
|
76
76
|
coreUrl +
|
|
77
77
|
'?serviceId=' +
|
|
78
78
|
this.settings.serviceId +
|
|
79
|
-
'&serviceDeviceId=' +
|
|
80
|
-
encodeURIComponent(this.deviceId) +
|
|
81
79
|
'&' +
|
|
82
80
|
DomUtils.CultureField +
|
|
83
81
|
'=' +
|