@etsoo/materialui 1.2.65 → 1.2.66
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.js +2 -0
- package/package.json +9 -9
- package/src/app/ServiceApp.ts +3 -0
package/lib/app/ServiceApp.js
CHANGED
|
@@ -57,6 +57,8 @@ export class ServiceApp extends ReactApp {
|
|
|
57
57
|
*/
|
|
58
58
|
toLoginPage(tryLogin) {
|
|
59
59
|
const parameters = `?serviceId=${this.settings.serviceId}&${DomUtils.CultureField}=${this.culture}${tryLogin ? "" : "&tryLogin=false"}`;
|
|
60
|
+
// Make sure apply new device id for new login
|
|
61
|
+
this.clearDeviceId();
|
|
60
62
|
if (BridgeUtils.host == null) {
|
|
61
63
|
const coreUrl = this.settings.webUrl;
|
|
62
64
|
window.location.href = coreUrl + parameters;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.66",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"@emotion/css": "^11.11.2",
|
|
51
51
|
"@emotion/react": "^11.11.1",
|
|
52
52
|
"@emotion/styled": "^11.11.0",
|
|
53
|
-
"@etsoo/appscript": "^1.4.
|
|
53
|
+
"@etsoo/appscript": "^1.4.24",
|
|
54
54
|
"@etsoo/notificationbase": "^1.1.25",
|
|
55
|
-
"@etsoo/react": "^1.6.
|
|
55
|
+
"@etsoo/react": "^1.6.96",
|
|
56
56
|
"@etsoo/shared": "^1.2.7",
|
|
57
57
|
"@mui/icons-material": "^5.13.7",
|
|
58
58
|
"@mui/material": "^5.13.7",
|
|
59
|
-
"@mui/x-data-grid": "^6.9.
|
|
59
|
+
"@mui/x-data-grid": "^6.9.2",
|
|
60
60
|
"@types/pica": "^9.0.1",
|
|
61
61
|
"@types/pulltorefreshjs": "^0.1.5",
|
|
62
62
|
"@types/react": "^18.2.14",
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@babel/cli": "^7.22.6",
|
|
79
|
-
"@babel/core": "^7.22.
|
|
80
|
-
"@babel/plugin-transform-runtime": "^7.22.
|
|
81
|
-
"@babel/preset-env": "^7.22.
|
|
79
|
+
"@babel/core": "^7.22.8",
|
|
80
|
+
"@babel/plugin-transform-runtime": "^7.22.7",
|
|
81
|
+
"@babel/preset-env": "^7.22.7",
|
|
82
82
|
"@babel/preset-react": "^7.22.5",
|
|
83
83
|
"@babel/preset-typescript": "^7.22.5",
|
|
84
84
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"@types/jest": "^29.5.2",
|
|
88
88
|
"@typescript-eslint/eslint-plugin": "^5.61.0",
|
|
89
89
|
"@typescript-eslint/parser": "^5.61.0",
|
|
90
|
-
"jest": "^29.6.
|
|
91
|
-
"jest-environment-jsdom": "^29.6.
|
|
90
|
+
"jest": "^29.6.1",
|
|
91
|
+
"jest-environment-jsdom": "^29.6.1",
|
|
92
92
|
"typescript": "^5.1.6"
|
|
93
93
|
}
|
|
94
94
|
}
|
package/src/app/ServiceApp.ts
CHANGED
|
@@ -95,6 +95,9 @@ export class ServiceApp<
|
|
|
95
95
|
DomUtils.CultureField
|
|
96
96
|
}=${this.culture}${tryLogin ? "" : "&tryLogin=false"}`;
|
|
97
97
|
|
|
98
|
+
// Make sure apply new device id for new login
|
|
99
|
+
this.clearDeviceId();
|
|
100
|
+
|
|
98
101
|
if (BridgeUtils.host == null) {
|
|
99
102
|
const coreUrl = this.settings.webUrl;
|
|
100
103
|
window.location.href = coreUrl + parameters;
|