mftsccs-browser 2.1.29-beta → 2.1.30-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
|
@@ -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
|
/**
|
|
@@ -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
|
/**
|