mftsccs-browser 1.1.30-beta → 1.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.
@@ -18474,27 +18474,37 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18474
18474
  componentDidMount() {
18475
18475
  return __awaiter(this, void 0, void 0, function* () {
18476
18476
  //console.log("onmountVal", onmountVal);
18477
- const AsyncFunction = Object.getPrototypeOf(function () {
18478
- return __awaiter(this, void 0, void 0, function* () { });
18479
- }).constructor;
18480
- const renderOnmount = AsyncFunction("tsccs", this.componentDidMountFunction);
18481
- renderOnmount.call(this, _app__WEBPACK_IMPORTED_MODULE_1__);
18477
+ const dynamicAsyncFunction = new Function("tsccs", `
18478
+ return (async function() {
18479
+ ${this.addEventFunction}
18480
+ }).call(this);
18481
+ `).bind(this);
18482
+ dynamicAsyncFunction(_app__WEBPACK_IMPORTED_MODULE_1__);
18483
+ // dynamicAsyncFunction(tsccs);
18484
+ // const AsyncFunction = Object.getPrototypeOf(
18485
+ // async function () {}
18486
+ // ).constructor;
18487
+ // const renderOnmount = AsyncFunction(
18488
+ // "tsccs",
18489
+ // this.componentDidMountFunction
18490
+ // );
18491
+ // renderOnmount.call(this, tsccs);
18482
18492
  });
18483
18493
  }
18484
18494
  addEvents() {
18485
18495
  return __awaiter(this, void 0, void 0, function* () {
18486
- const AsyncFunction = Object.getPrototypeOf(function () {
18487
- return __awaiter(this, void 0, void 0, function* () { });
18488
- }).constructor;
18489
- // const dynamicAsyncFunction = new Function("tsccs",`
18490
- // return (async function() {
18491
- // ${this.addEventFunction}
18492
- // }).call(this);
18493
- // `).bind(this);
18494
- // console.log("This is the async function", dynamicAsyncFunction);
18495
- // dynamicAsyncFunction(tsccs);
18496
- const renderOnmount = AsyncFunction("tsccs", this.addEventFunction);
18497
- renderOnmount.call(this, _app__WEBPACK_IMPORTED_MODULE_1__);
18496
+ // const AsyncFunction = Object.getPrototypeOf(
18497
+ // async function () {}
18498
+ // ).constructor;
18499
+ const dynamicAsyncFunction = new Function("tsccs", `
18500
+ return (async function() {
18501
+ ${this.addEventFunction}
18502
+ }).call(this);
18503
+ `).bind(this);
18504
+ console.log("This is the async function", dynamicAsyncFunction);
18505
+ dynamicAsyncFunction(_app__WEBPACK_IMPORTED_MODULE_1__);
18506
+ // const renderOnmount = AsyncFunction("tsccs", this.addEventFunction);
18507
+ // renderOnmount.call(this, tsccs);
18498
18508
  });
18499
18509
  }
18500
18510
  getWidgetClassFunction(widgetId) {