mftsccs-browser 2.1.29-beta → 2.1.31-beta
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/dist/main.bundle.js
CHANGED
|
@@ -12125,13 +12125,13 @@ class Logger {
|
|
|
12125
12125
|
});
|
|
12126
12126
|
if (!response.ok) {
|
|
12127
12127
|
const responseBody = yield response.text();
|
|
12128
|
-
this.applicationLogsData.push(storedLogs);
|
|
12128
|
+
//this.applicationLogsData.push(storedLogs);
|
|
12129
12129
|
// console.error("Failed to send app-logs:-", response.status, response.statusText, responseBody);
|
|
12130
12130
|
}
|
|
12131
12131
|
}
|
|
12132
12132
|
}
|
|
12133
12133
|
catch (error) {
|
|
12134
|
-
this.applicationLogsData.push(storedLogs);
|
|
12134
|
+
// this.applicationLogsData.push(storedLogs);
|
|
12135
12135
|
// console.error("Network error while sending logs:", error);
|
|
12136
12136
|
}
|
|
12137
12137
|
});
|
|
@@ -12163,7 +12163,7 @@ class Logger {
|
|
|
12163
12163
|
});
|
|
12164
12164
|
if (!response.ok) {
|
|
12165
12165
|
const responseBody = yield response.text();
|
|
12166
|
-
this.packageLogsData.push(storedLogs);
|
|
12166
|
+
//this.packageLogsData.push(storedLogs);
|
|
12167
12167
|
//console.error("Failed to send logs:-", response.status, response.statusText, responseBody);
|
|
12168
12168
|
return;
|
|
12169
12169
|
}
|
|
@@ -12172,7 +12172,7 @@ class Logger {
|
|
|
12172
12172
|
//this.packageLogsData = []
|
|
12173
12173
|
}
|
|
12174
12174
|
catch (error) {
|
|
12175
|
-
this.packageLogsData.push(storedLogs);
|
|
12175
|
+
//this.packageLogsData.push(storedLogs);
|
|
12176
12176
|
//console.error("Error while sending logs to server:", error);
|
|
12177
12177
|
}
|
|
12178
12178
|
});
|
|
@@ -22585,16 +22585,16 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
|
|
|
22585
22585
|
*/
|
|
22586
22586
|
setWidgetState(key, value) {
|
|
22587
22587
|
this.widgetState[key] = value;
|
|
22588
|
-
let thisWidget = this;
|
|
22589
22588
|
function updateChildStateRecursive(widget) {
|
|
22590
|
-
if (!widget) {
|
|
22589
|
+
if (!widget || !Array.isArray(widget.childWidgets)) {
|
|
22591
22590
|
return;
|
|
22592
22591
|
}
|
|
22593
22592
|
widget.childWidgets.forEach((child) => {
|
|
22594
22593
|
child.widgetState = Object.assign(Object.assign({}, child.widgetState), widget.widgetState);
|
|
22594
|
+
updateChildStateRecursive(child);
|
|
22595
22595
|
});
|
|
22596
22596
|
}
|
|
22597
|
-
updateChildStateRecursive(
|
|
22597
|
+
updateChildStateRecursive(this);
|
|
22598
22598
|
this.renderChildWidgets();
|
|
22599
22599
|
}
|
|
22600
22600
|
/**
|
|
@@ -12125,13 +12125,13 @@ class Logger {
|
|
|
12125
12125
|
});
|
|
12126
12126
|
if (!response.ok) {
|
|
12127
12127
|
const responseBody = yield response.text();
|
|
12128
|
-
this.applicationLogsData.push(storedLogs);
|
|
12128
|
+
//this.applicationLogsData.push(storedLogs);
|
|
12129
12129
|
// console.error("Failed to send app-logs:-", response.status, response.statusText, responseBody);
|
|
12130
12130
|
}
|
|
12131
12131
|
}
|
|
12132
12132
|
}
|
|
12133
12133
|
catch (error) {
|
|
12134
|
-
this.applicationLogsData.push(storedLogs);
|
|
12134
|
+
// this.applicationLogsData.push(storedLogs);
|
|
12135
12135
|
// console.error("Network error while sending logs:", error);
|
|
12136
12136
|
}
|
|
12137
12137
|
});
|
|
@@ -12163,7 +12163,7 @@ class Logger {
|
|
|
12163
12163
|
});
|
|
12164
12164
|
if (!response.ok) {
|
|
12165
12165
|
const responseBody = yield response.text();
|
|
12166
|
-
this.packageLogsData.push(storedLogs);
|
|
12166
|
+
//this.packageLogsData.push(storedLogs);
|
|
12167
12167
|
//console.error("Failed to send logs:-", response.status, response.statusText, responseBody);
|
|
12168
12168
|
return;
|
|
12169
12169
|
}
|
|
@@ -12172,7 +12172,7 @@ class Logger {
|
|
|
12172
12172
|
//this.packageLogsData = []
|
|
12173
12173
|
}
|
|
12174
12174
|
catch (error) {
|
|
12175
|
-
this.packageLogsData.push(storedLogs);
|
|
12175
|
+
//this.packageLogsData.push(storedLogs);
|
|
12176
12176
|
//console.error("Error while sending logs to server:", error);
|
|
12177
12177
|
}
|
|
12178
12178
|
});
|
|
@@ -23523,16 +23523,16 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
|
|
|
23523
23523
|
*/
|
|
23524
23524
|
setWidgetState(key, value) {
|
|
23525
23525
|
this.widgetState[key] = value;
|
|
23526
|
-
let thisWidget = this;
|
|
23527
23526
|
function updateChildStateRecursive(widget) {
|
|
23528
|
-
if (!widget) {
|
|
23527
|
+
if (!widget || !Array.isArray(widget.childWidgets)) {
|
|
23529
23528
|
return;
|
|
23530
23529
|
}
|
|
23531
23530
|
widget.childWidgets.forEach((child) => {
|
|
23532
23531
|
child.widgetState = Object.assign(Object.assign({}, child.widgetState), widget.widgetState);
|
|
23532
|
+
updateChildStateRecursive(child);
|
|
23533
23533
|
});
|
|
23534
23534
|
}
|
|
23535
|
-
updateChildStateRecursive(
|
|
23535
|
+
updateChildStateRecursive(this);
|
|
23536
23536
|
this.renderChildWidgets();
|
|
23537
23537
|
}
|
|
23538
23538
|
/**
|