@magic-xpa/gui 4.1000.0-dev4100.108 → 4.1000.0-dev4100.113

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.
@@ -26,8 +26,6 @@ class GuiMgForm extends ControlBase {
26
26
  }
27
27
 
28
28
  class Events {
29
- constructor() {
30
- }
31
29
  static OnFocus(ctrl, line, isProduceClick, onMultiMark) {
32
30
  Debug.Assert(Events.FocusEvent !== null);
33
31
  Events.FocusEvent(ctrl, line, isProduceClick, onMultiMark);
@@ -376,6 +374,8 @@ class Events {
376
374
  Events.CopyDataEvent(guiMgForm, copyData);
377
375
  }
378
376
  }
377
+ constructor() {
378
+ }
379
379
  }
380
380
  Events.NonParkableLastParkedCtrlEvent = null;
381
381
  Events.IsBatchRunningInMainContextEvent = null;
@@ -1154,8 +1154,6 @@ class GuiCommand {
1154
1154
  }
1155
1155
 
1156
1156
  class Commands {
1157
- constructor() {
1158
- }
1159
1157
  static SetResolveCallback(resolveCallback) {
1160
1158
  this.resolveCallback = resolveCallback;
1161
1159
  }
@@ -1320,6 +1318,8 @@ class Commands {
1320
1318
  static invoke() {
1321
1319
  GuiCommandQueue.getInstance().invoke();
1322
1320
  }
1321
+ constructor() {
1322
+ }
1323
1323
  }
1324
1324
  Commands.resolveCallback = null;
1325
1325
 
@@ -3277,6 +3277,12 @@ class ValidationDetailsBase {
3277
3277
  }
3278
3278
 
3279
3279
  class NUM_TYPE {
3280
+ set Data(value) {
3281
+ this._data = value;
3282
+ }
3283
+ get Data() {
3284
+ return this._data;
3285
+ }
3280
3286
  constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
3281
3287
  this.COMMACHAR = ',';
3282
3288
  this.DECIMALCHAR = '.';
@@ -3304,12 +3310,6 @@ class NUM_TYPE {
3304
3310
  }
3305
3311
  this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
3306
3312
  }
3307
- set Data(value) {
3308
- this._data = value;
3309
- }
3310
- get Data() {
3311
- return this._data;
3312
- }
3313
3313
  constructor_0() {
3314
3314
  this.initConst();
3315
3315
  this.NUM_ZERO();
@@ -5323,17 +5323,17 @@ HebrewDate.DOW_LEN = 5;
5323
5323
  HebrewDate._localDows = new Array(8);
5324
5324
 
5325
5325
  class DisplayConvertor {
5326
- constructor() {
5327
- this._environment = null;
5328
- this.DATECHAR = 0;
5329
- this._environment = GuiEnvironment.Environment;
5330
- }
5331
5326
  static get Instance() {
5332
5327
  if (DisplayConvertor._instance === null) {
5333
5328
  DisplayConvertor._instance = new DisplayConvertor();
5334
5329
  }
5335
5330
  return DisplayConvertor._instance;
5336
5331
  }
5332
+ constructor() {
5333
+ this._environment = null;
5334
+ this.DATECHAR = 0;
5335
+ this._environment = GuiEnvironment.Environment;
5336
+ }
5337
5337
  getNewDateBreakParams() {
5338
5338
  return new DateBreakParams();
5339
5339
  }
@@ -8015,6 +8015,12 @@ class CellElement {
8015
8015
  }
8016
8016
 
8017
8017
  class FieldDef {
8018
+ set DbModifiable(value) {
8019
+ this._dbModifiable = value;
8020
+ }
8021
+ get DbModifiable() {
8022
+ return this._dbModifiable;
8023
+ }
8018
8024
  constructor(id) {
8019
8025
  this.DefaultValue = null;
8020
8026
  this.NullAllowed = false;
@@ -8038,12 +8044,6 @@ class FieldDef {
8038
8044
  this._id = id;
8039
8045
  this.VarDisplayName = NString.Empty;
8040
8046
  }
8041
- set DbModifiable(value) {
8042
- this._dbModifiable = value;
8043
- }
8044
- get DbModifiable() {
8045
- return this._dbModifiable;
8046
- }
8047
8047
  get PartOfDataview() {
8048
8048
  return this._partOfDataview;
8049
8049
  }
@@ -8777,6 +8777,9 @@ class CustomValidator {
8777
8777
  getErrMessage() { return this._errorMessage; }
8778
8778
  }
8779
8779
  class Property {
8780
+ get TaskDefinitionId() {
8781
+ return this._taskDefinitionId;
8782
+ }
8780
8783
  constructor(cId, cParentObj, parType, val) {
8781
8784
  this._id = Int32.MinValue;
8782
8785
  this._dataType = StorageAttribute.NONE;
@@ -8801,9 +8804,6 @@ class Property {
8801
8804
  else
8802
8805
  this.constructor_2(cId, cParentObj, parType, val);
8803
8806
  }
8804
- get TaskDefinitionId() {
8805
- return this._taskDefinitionId;
8806
- }
8807
8807
  constructor_0() {
8808
8808
  this._prevValues = new List();
8809
8809
  }
@@ -11094,6 +11094,15 @@ class FieldValidator {
11094
11094
  }
11095
11095
 
11096
11096
  class ValidationDetails extends ValidationDetailsBase {
11097
+ get ErrorMessage() {
11098
+ return this.errMessage;
11099
+ }
11100
+ set ErrorMessage(msg) {
11101
+ this.errMessage = msg;
11102
+ }
11103
+ get ValidationFailed() {
11104
+ return this._validationFailed;
11105
+ }
11097
11106
  constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
11098
11107
  super();
11099
11108
  this._control = null;
@@ -11114,15 +11123,6 @@ class ValidationDetails extends ValidationDetailsBase {
11114
11123
  else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
11115
11124
  this.constructor_2(oldvalueOrRangeStrOrVd);
11116
11125
  }
11117
- get ErrorMessage() {
11118
- return this.errMessage;
11119
- }
11120
- set ErrorMessage(msg) {
11121
- this.errMessage = msg;
11122
- }
11123
- get ValidationFailed() {
11124
- return this._validationFailed;
11125
- }
11126
11126
  constructor_0(oldvalue, val, range, pic, control) {
11127
11127
  this._picData = pic;
11128
11128
  this._oldvalue = oldvalue;
@@ -11339,6 +11339,9 @@ class ValidationDetails extends ValidationDetailsBase {
11339
11339
  const EMPTY_DCREF = -2;
11340
11340
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
11341
11341
  class DcValues {
11342
+ get HasReferences() {
11343
+ return this._refCount > 0;
11344
+ }
11342
11345
  constructor(empty) {
11343
11346
  this._id = 0;
11344
11347
  this._type = StorageAttribute.NONE;
@@ -11353,9 +11356,6 @@ class DcValues {
11353
11356
  }
11354
11357
  this._isNumericType = false;
11355
11358
  }
11356
- get HasReferences() {
11357
- return this._refCount > 0;
11358
- }
11359
11359
  GetAttr() {
11360
11360
  return this._type;
11361
11361
  }
@@ -11616,6 +11616,16 @@ class FocusManager {
11616
11616
  }
11617
11617
 
11618
11618
  class MgControlBase extends GuiControlPropertyAdapter {
11619
+ set Form(value) {
11620
+ this._form = value;
11621
+ this.GuiMgForm = value;
11622
+ }
11623
+ get Form() {
11624
+ return this._form;
11625
+ }
11626
+ get ControlIsn() {
11627
+ return this._controlIsn;
11628
+ }
11619
11629
  constructor(type, parentMgForm, parentControl) {
11620
11630
  super();
11621
11631
  this._ditIdx = 0;
@@ -11668,16 +11678,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
11668
11678
  }
11669
11679
  this.constructor_1(type, parentMgForm, parentControl);
11670
11680
  }
11671
- set Form(value) {
11672
- this._form = value;
11673
- this.GuiMgForm = value;
11674
- }
11675
- get Form() {
11676
- return this._form;
11677
- }
11678
- get ControlIsn() {
11679
- return this._controlIsn;
11680
- }
11681
11681
  constructor_0() {
11682
11682
  this._linkedControls = new List();
11683
11683
  this.DataType = StorageAttribute.NONE;
@@ -15535,6 +15535,9 @@ class ExpVal {
15535
15535
  class MagicHelp {
15536
15536
  }
15537
15537
  class InternalHelp extends MagicHelp {
15538
+ GetHelpType() {
15539
+ return HelpType.Internal;
15540
+ }
15538
15541
  constructor() {
15539
15542
  super();
15540
15543
  this.val = null;
@@ -15551,47 +15554,44 @@ class InternalHelp extends MagicHelp {
15551
15554
  this.TitleBar = 0;
15552
15555
  this.FontTableIndex = 0;
15553
15556
  }
15554
- GetHelpType() {
15555
- return HelpType.Internal;
15556
- }
15557
15557
  }
15558
15558
  class PromptpHelp extends MagicHelp {
15559
+ GetHelpType() {
15560
+ return HelpType.Prompt;
15561
+ }
15559
15562
  constructor() {
15560
15563
  super();
15561
15564
  this.PromptHelpText = null;
15562
15565
  }
15563
- GetHelpType() {
15564
- return HelpType.Prompt;
15565
- }
15566
15566
  }
15567
15567
  class ToolTipHelp extends MagicHelp {
15568
+ GetHelpType() {
15569
+ return HelpType.Tooltip;
15570
+ }
15568
15571
  constructor() {
15569
15572
  super();
15570
15573
  this.tooltipHelpText = null;
15571
15574
  }
15572
- GetHelpType() {
15573
- return HelpType.Tooltip;
15574
- }
15575
15575
  }
15576
15576
  class URLHelp extends MagicHelp {
15577
+ GetHelpType() {
15578
+ return HelpType.URL;
15579
+ }
15577
15580
  constructor() {
15578
15581
  super();
15579
15582
  this.urlHelpText = null;
15580
15583
  }
15581
- GetHelpType() {
15582
- return HelpType.URL;
15583
- }
15584
15584
  }
15585
15585
  class WindowsHelp extends MagicHelp {
15586
+ GetHelpType() {
15587
+ return HelpType.Windows;
15588
+ }
15586
15589
  constructor() {
15587
15590
  super();
15588
15591
  this.FilePath = null;
15589
15592
  this.HelpCommand = 0;
15590
15593
  this.HelpKey = null;
15591
15594
  }
15592
- GetHelpType() {
15593
- return HelpType.Windows;
15594
- }
15595
15595
  }
15596
15596
  class Helps {
15597
15597
  constructor() {
@@ -15771,6 +15771,21 @@ class GuiDataCollection {
15771
15771
  GuiDataCollection.MGDataTable = null;
15772
15772
 
15773
15773
  class GuiTaskBase {
15774
+ Init() {
15775
+ this.DataView.Init();
15776
+ }
15777
+ get RouterPath() {
15778
+ return this.routerPath;
15779
+ }
15780
+ get RouterParams() {
15781
+ return this.routeParams;
15782
+ }
15783
+ get InDefaultRouterOutlet() {
15784
+ return this.inDefaultRouterOutlet;
15785
+ }
15786
+ get IsBlockingBatch() {
15787
+ return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15788
+ }
15774
15789
  constructor() {
15775
15790
  this._flowMonitor = null;
15776
15791
  this._keyboardMappingState = 0xFFFF0000;
@@ -15815,21 +15830,6 @@ class GuiTaskBase {
15815
15830
  this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
15816
15831
  this._propTab = new PropTable(this);
15817
15832
  }
15818
- Init() {
15819
- this.DataView.Init();
15820
- }
15821
- get RouterPath() {
15822
- return this.routerPath;
15823
- }
15824
- get RouterParams() {
15825
- return this.routeParams;
15826
- }
15827
- get InDefaultRouterOutlet() {
15828
- return this.inDefaultRouterOutlet;
15829
- }
15830
- get IsBlockingBatch() {
15831
- return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15832
- }
15833
15833
  getTaskTag() {
15834
15834
  return this._taskTag;
15835
15835
  }