mftsccs-browser 1.1.31-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,40 +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 dynamicAsyncFunction = new Function("tsccs", `
18481
+ //console.log("onmountVal", onmountVal);
18482
+ const dynamicAsyncFunction = new Function("tsccs", `
18478
18483
  return (async function() {
18479
- ${this.addEventFunction}
18484
+ ${this.componentDidMountFunction}
18480
18485
  }).call(this);
18481
18486
  `).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);
18492
- });
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);
18493
18497
  }
18494
18498
  addEvents() {
18495
- return __awaiter(this, void 0, void 0, function* () {
18496
- // const AsyncFunction = Object.getPrototypeOf(
18497
- // async function () {}
18498
- // ).constructor;
18499
- const dynamicAsyncFunction = new Function("tsccs", `
18499
+ // const AsyncFunction = Object.getPrototypeOf(
18500
+ // async function () {}
18501
+ // ).constructor;
18502
+ const dynamicAsyncFunction = new Function("tsccs", `
18500
18503
  return (async function() {
18501
18504
  ${this.addEventFunction}
18502
18505
  }).call(this);
18503
18506
  `).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);
18508
- });
18507
+ dynamicAsyncFunction(_app__WEBPACK_IMPORTED_MODULE_1__);
18508
+ // const renderOnmount = AsyncFunction("tsccs", this.addEventFunction);
18509
+ // renderOnmount.call(this, tsccs);
18509
18510
  }
18510
18511
  getWidgetClassFunction(widgetId) {
18511
18512
  return __awaiter(this, void 0, void 0, function* () {