mftsccs-browser 2.0.2-beta → 2.0.3-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 +5 -5
- package/dist/main.bundle.js.map +1 -1
- package/dist/serviceWorker.bundle.js +5 -5
- package/dist/serviceWorker.bundle.js.map +1 -1
- package/dist/types/Widgets/BuilderStatefulWidget.d.ts +1 -1
- package/dist/types/Widgets/StatefulWidget.d.ts +1 -1
- package/dist/types/Widgets/WidgetTree.d.ts +1 -1
- package/package.json +1 -1
package/dist/main.bundle.js
CHANGED
|
@@ -20393,7 +20393,7 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
|
|
|
20393
20393
|
this.elementIdentifier = Math.random() * 10000;
|
|
20394
20394
|
return this.elementIdentifier;
|
|
20395
20395
|
}
|
|
20396
|
-
|
|
20396
|
+
mount_child() {
|
|
20397
20397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20398
20398
|
const dynamicAsyncFunction = new Function("tsccs", `
|
|
20399
20399
|
return (async function() {
|
|
@@ -20442,7 +20442,7 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
|
|
|
20442
20442
|
if (this.componentMounted == false || this.widgetMounted == false) {
|
|
20443
20443
|
// Simulate componentDidMount by calling it after the component is inserted into the DOM
|
|
20444
20444
|
this.before_render();
|
|
20445
|
-
this.
|
|
20445
|
+
this.mount_child();
|
|
20446
20446
|
this.widgetMounted = true;
|
|
20447
20447
|
this.componentMounted = true;
|
|
20448
20448
|
}
|
|
@@ -20679,7 +20679,7 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
|
|
|
20679
20679
|
/**
|
|
20680
20680
|
* This is the function that needs to be called.
|
|
20681
20681
|
*/
|
|
20682
|
-
|
|
20682
|
+
mount_child() {
|
|
20683
20683
|
}
|
|
20684
20684
|
/**
|
|
20685
20685
|
*
|
|
@@ -20706,7 +20706,7 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
|
|
|
20706
20706
|
this.before_render();
|
|
20707
20707
|
// since this is the first time the widget is being created. then all the child widgets are being mounted
|
|
20708
20708
|
// as well here.
|
|
20709
|
-
this.
|
|
20709
|
+
this.mount_child();
|
|
20710
20710
|
// after the widget has been mounted for the first time then the widget has been updated.
|
|
20711
20711
|
this.widgetMounted = true;
|
|
20712
20712
|
}
|
|
@@ -20761,7 +20761,7 @@ class WidgetTree {
|
|
|
20761
20761
|
this.after_render = "";
|
|
20762
20762
|
this.before_render = "";
|
|
20763
20763
|
this.update = "";
|
|
20764
|
-
this.
|
|
20764
|
+
this.mount_child = "";
|
|
20765
20765
|
this.children = [];
|
|
20766
20766
|
this.wrapper = 0;
|
|
20767
20767
|
this.widget = new _BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_0__.BuilderStatefulWidget();
|