@etsoo/materialui 1.4.79 → 1.4.80
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.js
CHANGED
|
@@ -85,7 +85,7 @@ class ReactApp extends appscript_1.CoreApp {
|
|
|
85
85
|
this.notifier.message(notificationbase_1.NotificationMessageType.Success, this.get("updateTip") + `(${[app, version].join(", ")})`, this.get("updateReady"));
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
this.cultureState = new react_2.CultureState(settings.currentCulture);
|
|
88
|
+
this.cultureState = new react_2.CultureState(this.settings.currentCulture);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* Override alert action result
|
|
@@ -34,7 +34,7 @@ class ServiceApp extends ReactApp_1.ReactApp {
|
|
|
34
34
|
*/
|
|
35
35
|
constructor(settings, name, debug = false) {
|
|
36
36
|
super(settings, name, debug);
|
|
37
|
-
const coreEndpoint = settings.endpoints?.core;
|
|
37
|
+
const coreEndpoint = this.settings.endpoints?.core;
|
|
38
38
|
if (coreEndpoint == null) {
|
|
39
39
|
throw new Error("Core API endpont is required.");
|
|
40
40
|
}
|
package/lib/mjs/app/ReactApp.js
CHANGED
|
@@ -77,7 +77,7 @@ export class ReactApp extends CoreApp {
|
|
|
77
77
|
this.notifier.message(NotificationMessageType.Success, this.get("updateTip") + `(${[app, version].join(", ")})`, this.get("updateReady"));
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
this.cultureState = new CultureState(settings.currentCulture);
|
|
80
|
+
this.cultureState = new CultureState(this.settings.currentCulture);
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Override alert action result
|
|
@@ -31,7 +31,7 @@ export class ServiceApp extends ReactApp {
|
|
|
31
31
|
*/
|
|
32
32
|
constructor(settings, name, debug = false) {
|
|
33
33
|
super(settings, name, debug);
|
|
34
|
-
const coreEndpoint = settings.endpoints?.core;
|
|
34
|
+
const coreEndpoint = this.settings.endpoints?.core;
|
|
35
35
|
if (coreEndpoint == null) {
|
|
36
36
|
throw new Error("Core API endpont is required.");
|
|
37
37
|
}
|
package/package.json
CHANGED
package/src/app/ReactApp.ts
CHANGED
package/src/app/ServiceApp.ts
CHANGED
|
@@ -57,7 +57,7 @@ export class ServiceApp<
|
|
|
57
57
|
constructor(settings: S, name: string, debug: boolean = false) {
|
|
58
58
|
super(settings, name, debug);
|
|
59
59
|
|
|
60
|
-
const coreEndpoint = settings.endpoints?.core;
|
|
60
|
+
const coreEndpoint = this.settings.endpoints?.core;
|
|
61
61
|
if (coreEndpoint == null) {
|
|
62
62
|
throw new Error("Core API endpont is required.");
|
|
63
63
|
}
|