@magic-xpa/gui 4.900.0-dev490.90 → 4.900.0-dev490.95

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.
@@ -13060,6 +13060,11 @@ class MgControlBase extends GuiControlPropertyAdapter {
13060
13060
  if (prevMustInput !== await this.checkProp(PropInterface.PROP_TYPE_MUST_INPUT, false))
13061
13061
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, this.getDisplayLine(false), HtmlProperties.MustInput, !prevMustInput);
13062
13062
  }
13063
+ else if (mustInputProperty != null) {
13064
+ let mustInputVal = this.GetComputedBooleanProperty(PropInterface.PROP_TYPE_MUST_INPUT, false);
13065
+ if (mustInputVal)
13066
+ Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, this.getDisplayLine(false), HtmlProperties.MustInput, mustInputVal);
13067
+ }
13063
13068
  if (!this.GetComputedBooleanProperty(PropInterface.PROP_TYPE_TAB_IN, true))
13064
13069
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, this.getDisplayLine(false), HtmlProperties.TabIndex, -1);
13065
13070
  }
@@ -15592,16 +15597,17 @@ class GuiTaskBase {
15592
15597
  constructor() {
15593
15598
  this._flowMonitor = null;
15594
15599
  this._keyboardMappingState = 0xFFFF0000;
15595
- this._refreshType = 'T';
15600
+ this._refreshType = "T";
15596
15601
  this._lastParkedCtrl = null;
15597
15602
  this._brkLevel = null;
15598
15603
  this._brkLevelIndex = -1;
15599
15604
  this._mainLevel = null;
15600
- this._level = '\0';
15605
+ this._level = "\0";
15601
15606
  this._enteredRecLevel = false;
15602
15607
  this._currParkedFld = null;
15603
15608
  this.isInRecompute = false;
15604
15609
  this.CurrentEditingControl = null;
15610
+ this.shouldResumeSubformLayout = true;
15605
15611
  this.ApplicationGuid = null;
15606
15612
  this.ProgramIsn = 0;
15607
15613
  this.TaskIsn = 0;
@@ -15749,7 +15755,7 @@ class GuiTaskBase {
15749
15755
  return this._helpTab.getHelp(idx);
15750
15756
  }
15751
15757
  setProp(propId, val) {
15752
- this._propTab.setProp(propId, val, this, 'T');
15758
+ this._propTab.setProp(propId, val, this, "T");
15753
15759
  }
15754
15760
  setBrkLevel(cBrkLevel, NewBrkLevelIndex) {
15755
15761
  this._brkLevel = cBrkLevel;
@@ -15855,6 +15861,15 @@ class GuiTaskBase {
15855
15861
  this.Form.InInitForm = false;
15856
15862
  }
15857
15863
  }
15864
+ ResumeSubformLayout() {
15865
+ if (this.Form !== null) {
15866
+ let subFormCtrl = this.Form.getSubFormCtrl();
15867
+ if (subFormCtrl !== null && this.shouldResumeSubformLayout) {
15868
+ Commands.addOperationWithLine(CommandType.SET_PROPERTY, subFormCtrl, 0, HtmlProperties.Visible, subFormCtrl.isVisible());
15869
+ this.shouldResumeSubformLayout = false;
15870
+ }
15871
+ }
15872
+ }
15858
15873
  GetLastParkedCtrlName(depth) {
15859
15874
  let ancestor = this.GetTaskAncestor(depth);
15860
15875
  if (ancestor === null || ancestor._lastParkedCtrl === null)
@@ -15915,7 +15930,7 @@ class GuiTaskBase {
15915
15930
  return this.GetExpressionStorage(expId);
15916
15931
  }
15917
15932
  async CalculateExpression(expId, resType, length) {
15918
- return Promise.resolve('');
15933
+ return Promise.resolve("");
15919
15934
  }
15920
15935
  isStarted() {
15921
15936
  return true;