@etsoo/materialui 1.4.76 → 1.4.77
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/cjs/app/ReactApp.d.ts +1 -1
- package/lib/cjs/app/ReactApp.js +2 -1
- package/lib/cjs/app/ServiceApp.js +2 -1
- package/lib/mjs/app/ReactApp.d.ts +1 -1
- package/lib/mjs/app/ReactApp.js +2 -1
- package/lib/mjs/app/ServiceApp.js +2 -1
- package/package.json +6 -6
- package/src/app/ReactApp.ts +2 -1
- package/src/app/ServiceApp.ts +2 -1
package/lib/cjs/app/ReactApp.js
CHANGED
|
@@ -220,7 +220,8 @@ class ReactApp extends appscript_1.CoreApp {
|
|
|
220
220
|
}
|
|
221
221
|
// Refresh token
|
|
222
222
|
await this.refreshToken({
|
|
223
|
-
showLoading: data?.showLoading
|
|
223
|
+
showLoading: data?.showLoading,
|
|
224
|
+
timeZone: this.getTimeZone()
|
|
224
225
|
}, (result) => {
|
|
225
226
|
if (result === true) {
|
|
226
227
|
onSuccess?.();
|
|
@@ -202,7 +202,8 @@ class ServiceApp extends ReactApp_1.ReactApp {
|
|
|
202
202
|
// Call the core system API refresh token
|
|
203
203
|
const data = await this.apiRefreshTokenData(this.coreApi, {
|
|
204
204
|
token: coreTokenDecrypted,
|
|
205
|
-
appId: this.settings.appId
|
|
205
|
+
appId: this.settings.appId,
|
|
206
|
+
timeZone: this.getTimeZone()
|
|
206
207
|
});
|
|
207
208
|
if (data == null)
|
|
208
209
|
return;
|
package/lib/mjs/app/ReactApp.js
CHANGED
|
@@ -212,7 +212,8 @@ export class ReactApp extends CoreApp {
|
|
|
212
212
|
}
|
|
213
213
|
// Refresh token
|
|
214
214
|
await this.refreshToken({
|
|
215
|
-
showLoading: data?.showLoading
|
|
215
|
+
showLoading: data?.showLoading,
|
|
216
|
+
timeZone: this.getTimeZone()
|
|
216
217
|
}, (result) => {
|
|
217
218
|
if (result === true) {
|
|
218
219
|
onSuccess?.();
|
|
@@ -199,7 +199,8 @@ export class ServiceApp extends ReactApp {
|
|
|
199
199
|
// Call the core system API refresh token
|
|
200
200
|
const data = await this.apiRefreshTokenData(this.coreApi, {
|
|
201
201
|
token: coreTokenDecrypted,
|
|
202
|
-
appId: this.settings.appId
|
|
202
|
+
appId: this.settings.appId,
|
|
203
|
+
timeZone: this.getTimeZone()
|
|
203
204
|
});
|
|
204
205
|
if (data == null)
|
|
205
206
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.77",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@dnd-kit/sortable": "^10.0.0",
|
|
41
41
|
"@emotion/react": "^11.14.0",
|
|
42
42
|
"@emotion/styled": "^11.14.0",
|
|
43
|
-
"@etsoo/appscript": "^1.5.
|
|
44
|
-
"@etsoo/notificationbase": "^1.1.
|
|
43
|
+
"@etsoo/appscript": "^1.5.97",
|
|
44
|
+
"@etsoo/notificationbase": "^1.1.58",
|
|
45
45
|
"@etsoo/react": "^1.8.26",
|
|
46
|
-
"@etsoo/shared": "^1.2.
|
|
47
|
-
"@mui/icons-material": "^6.
|
|
48
|
-
"@mui/material": "^6.
|
|
46
|
+
"@etsoo/shared": "^1.2.60",
|
|
47
|
+
"@mui/icons-material": "^6.4.2",
|
|
48
|
+
"@mui/material": "^6.4.2",
|
|
49
49
|
"@mui/x-data-grid": "^7.24.1",
|
|
50
50
|
"chart.js": "^4.4.7",
|
|
51
51
|
"chartjs-plugin-datalabels": "^2.2.0",
|
package/src/app/ReactApp.ts
CHANGED
|
@@ -372,7 +372,8 @@ export class ReactApp<S extends IAppSettings, D extends IUser>
|
|
|
372
372
|
// Refresh token
|
|
373
373
|
await this.refreshToken(
|
|
374
374
|
{
|
|
375
|
-
showLoading: data?.showLoading
|
|
375
|
+
showLoading: data?.showLoading,
|
|
376
|
+
timeZone: this.getTimeZone()
|
|
376
377
|
},
|
|
377
378
|
(result) => {
|
|
378
379
|
if (result === true) {
|
package/src/app/ServiceApp.ts
CHANGED
|
@@ -267,7 +267,8 @@ export class ServiceApp<
|
|
|
267
267
|
// Call the core system API refresh token
|
|
268
268
|
const data = await this.apiRefreshTokenData(this.coreApi, {
|
|
269
269
|
token: coreTokenDecrypted,
|
|
270
|
-
appId: this.settings.appId
|
|
270
|
+
appId: this.settings.appId,
|
|
271
|
+
timeZone: this.getTimeZone()
|
|
271
272
|
});
|
|
272
273
|
|
|
273
274
|
if (data == null) return;
|