@etsoo/materialui 1.2.72 → 1.2.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.
@@ -56,7 +56,8 @@ export class ServiceApp extends ReactApp {
56
56
  * @param tryLogin Try to login again
57
57
  */
58
58
  toLoginPage(tryLogin) {
59
- const parameters = `?serviceId=${this.settings.serviceId}&${DomUtils.CultureField}=${this.culture}${tryLogin ? "" : "&tryLogin=false"}`;
59
+ const parameters = `?serviceId=${this.settings.serviceId}&${DomUtils.CultureField}=${this.culture}${tryLogin ? "" : "&tryLogin=false"}&url=` +
60
+ encodeURIComponent(location.href);
60
61
  // Make sure apply new device id for new login
61
62
  this.clearDeviceId();
62
63
  if (BridgeUtils.host == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.2.72",
3
+ "version": "1.2.73",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,20 +50,20 @@
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.26",
53
+ "@etsoo/appscript": "^1.4.27",
54
54
  "@etsoo/notificationbase": "^1.1.25",
55
- "@etsoo/react": "^1.6.97",
55
+ "@etsoo/react": "^1.6.98",
56
56
  "@etsoo/shared": "^1.2.8",
57
- "@mui/icons-material": "^5.14.0",
58
- "@mui/material": "^5.14.0",
59
- "@mui/x-data-grid": "^6.10.0",
57
+ "@mui/icons-material": "^5.14.1",
58
+ "@mui/material": "^5.14.2",
59
+ "@mui/x-data-grid": "^6.10.1",
60
60
  "@types/pica": "^9.0.1",
61
61
  "@types/pulltorefreshjs": "^0.1.5",
62
- "@types/react": "^18.2.15",
62
+ "@types/react": "^18.2.16",
63
63
  "@types/react-avatar-editor": "^13.0.0",
64
64
  "@types/react-dom": "^18.2.7",
65
65
  "@types/react-input-mask": "^3.0.2",
66
- "chart.js": "^4.3.0",
66
+ "chart.js": "^4.3.1",
67
67
  "chartjs-plugin-datalabels": "^2.2.0",
68
68
  "pica": "^9.0.1",
69
69
  "pulltorefreshjs": "^0.1.22",
@@ -85,8 +85,8 @@
85
85
  "@testing-library/jest-dom": "^5.17.0",
86
86
  "@testing-library/react": "^14.0.0",
87
87
  "@types/jest": "^29.5.3",
88
- "@typescript-eslint/eslint-plugin": "^6.1.0",
89
- "@typescript-eslint/parser": "^6.1.0",
88
+ "@typescript-eslint/eslint-plugin": "^6.2.0",
89
+ "@typescript-eslint/parser": "^6.2.0",
90
90
  "jest": "^29.6.1",
91
91
  "jest-environment-jsdom": "^29.6.1",
92
92
  "typescript": "^5.1.6"
@@ -91,9 +91,11 @@ export class ServiceApp<
91
91
  * @param tryLogin Try to login again
92
92
  */
93
93
  override toLoginPage(tryLogin?: boolean) {
94
- const parameters = `?serviceId=${this.settings.serviceId}&${
95
- DomUtils.CultureField
96
- }=${this.culture}${tryLogin ? "" : "&tryLogin=false"}`;
94
+ const parameters =
95
+ `?serviceId=${this.settings.serviceId}&${DomUtils.CultureField}=${
96
+ this.culture
97
+ }${tryLogin ? "" : "&tryLogin=false"}&url=` +
98
+ encodeURIComponent(location.href);
97
99
 
98
100
  // Make sure apply new device id for new login
99
101
  this.clearDeviceId();