mftsccs-browser 1.1.30-beta → 1.1.32-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.
@@ -18336,8 +18336,6 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18336
18336
  freeschemaQuery.outputFormat = _app__WEBPACK_IMPORTED_MODULE_1__.DATAID;
18337
18337
  (0,_app__WEBPACK_IMPORTED_MODULE_1__.SchemaQueryListener)(freeschemaQuery, "")
18338
18338
  .subscribe((output) => {
18339
- console.log("thgis is the output", output);
18340
- console.log("this is the typeValuekey", typevalueKey, typeName, mainComposition);
18341
18339
  if (output === null || output === void 0 ? void 0 : output.length) {
18342
18340
  const result = output === null || output === void 0 ? void 0 : output.map((item) => {
18343
18341
  var _a, _b, _c, _d, _e, _f, _g;
@@ -18370,11 +18368,20 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18370
18368
  }
18371
18369
  mountChildWidgets() {
18372
18370
  return __awaiter(this, void 0, void 0, function* () {
18373
- const AsyncFunction = Object.getPrototypeOf(function () {
18374
- return __awaiter(this, void 0, void 0, function* () { });
18375
- }).constructor;
18376
- const renderOnmount = AsyncFunction("tsccs", this.mountChildWidgetsFunction);
18377
- renderOnmount.call(this, _app__WEBPACK_IMPORTED_MODULE_1__);
18371
+ const dynamicAsyncFunction = new Function("tsccs", `
18372
+ return (async function() {
18373
+ ${this.mountChildWidgetsFunction}
18374
+ }).call(this);
18375
+ `).bind(this);
18376
+ dynamicAsyncFunction(_app__WEBPACK_IMPORTED_MODULE_1__);
18377
+ // const AsyncFunction = Object.getPrototypeOf(
18378
+ // async function () {}
18379
+ // ).constructor;
18380
+ // const renderOnmount = AsyncFunction(
18381
+ // "tsccs",
18382
+ // this.mountChildWidgetsFunction
18383
+ // );
18384
+ // renderOnmount.call(this, tsccs);
18378
18385
  });
18379
18386
  }
18380
18387
  setProperty(widgetTypeName) {
@@ -18424,7 +18431,6 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18424
18431
  event.stopPropagation();
18425
18432
  //console.log("THAT ->", that);
18426
18433
  const inputValue = (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value;
18427
- console.log("this is the input change", inputValue);
18428
18434
  that.widgetType = inputValue;
18429
18435
  //console.log("inputValue", inputValue);
18430
18436
  //that.setProperty(inputValue);
@@ -18472,30 +18478,35 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18472
18478
  * This function will be called after the component mounts.
18473
18479
  */
18474
18480
  componentDidMount() {
18475
- return __awaiter(this, void 0, void 0, function* () {
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__);
18482
- });
18481
+ //console.log("onmountVal", onmountVal);
18482
+ const dynamicAsyncFunction = new Function("tsccs", `
18483
+ return (async function() {
18484
+ ${this.componentDidMountFunction}
18485
+ }).call(this);
18486
+ `).bind(this);
18487
+ dynamicAsyncFunction(_app__WEBPACK_IMPORTED_MODULE_1__);
18488
+ // dynamicAsyncFunction(tsccs);
18489
+ // const AsyncFunction = Object.getPrototypeOf(
18490
+ // async function () {}
18491
+ // ).constructor;
18492
+ // const renderOnmount = AsyncFunction(
18493
+ // "tsccs",
18494
+ // this.componentDidMountFunction
18495
+ // );
18496
+ // renderOnmount.call(this, tsccs);
18483
18497
  }
18484
18498
  addEvents() {
18485
- 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__);
18498
- });
18499
+ // const AsyncFunction = Object.getPrototypeOf(
18500
+ // async function () {}
18501
+ // ).constructor;
18502
+ const dynamicAsyncFunction = new Function("tsccs", `
18503
+ return (async function() {
18504
+ ${this.addEventFunction}
18505
+ }).call(this);
18506
+ `).bind(this);
18507
+ dynamicAsyncFunction(_app__WEBPACK_IMPORTED_MODULE_1__);
18508
+ // const renderOnmount = AsyncFunction("tsccs", this.addEventFunction);
18509
+ // renderOnmount.call(this, tsccs);
18499
18510
  }
18500
18511
  getWidgetClassFunction(widgetId) {
18501
18512
  return __awaiter(this, void 0, void 0, function* () {