@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.
@@ -25,8 +25,6 @@ class GuiMgForm extends ControlBase {
25
25
  }
26
26
 
27
27
  class Events {
28
- constructor() {
29
- }
30
28
  static OnFocus(ctrl, line, isProduceClick, onMultiMark) {
31
29
  Debug.Assert(Events.FocusEvent !== null);
32
30
  Events.FocusEvent(ctrl, line, isProduceClick, onMultiMark);
@@ -375,6 +373,8 @@ class Events {
375
373
  Events.CopyDataEvent(guiMgForm, copyData);
376
374
  }
377
375
  }
376
+ constructor() {
377
+ }
378
378
  }
379
379
  Events.NonParkableLastParkedCtrlEvent = null;
380
380
  Events.IsBatchRunningInMainContextEvent = null;
@@ -1153,8 +1153,6 @@ class GuiCommand {
1153
1153
  }
1154
1154
 
1155
1155
  class Commands {
1156
- constructor() {
1157
- }
1158
1156
  static SetResolveCallback(resolveCallback) {
1159
1157
  this.resolveCallback = resolveCallback;
1160
1158
  }
@@ -1317,6 +1315,8 @@ class Commands {
1317
1315
  static invoke() {
1318
1316
  GuiCommandQueue.getInstance().invoke();
1319
1317
  }
1318
+ constructor() {
1319
+ }
1320
1320
  }
1321
1321
  Commands.resolveCallback = null;
1322
1322
 
@@ -3270,6 +3270,12 @@ class ValidationDetailsBase {
3270
3270
  }
3271
3271
 
3272
3272
  class NUM_TYPE {
3273
+ set Data(value) {
3274
+ this._data = value;
3275
+ }
3276
+ get Data() {
3277
+ return this._data;
3278
+ }
3273
3279
  constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
3274
3280
  this.COMMACHAR = ',';
3275
3281
  this.DECIMALCHAR = '.';
@@ -3297,12 +3303,6 @@ class NUM_TYPE {
3297
3303
  }
3298
3304
  this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
3299
3305
  }
3300
- set Data(value) {
3301
- this._data = value;
3302
- }
3303
- get Data() {
3304
- return this._data;
3305
- }
3306
3306
  constructor_0() {
3307
3307
  this.initConst();
3308
3308
  this.NUM_ZERO();
@@ -5316,17 +5316,17 @@ HebrewDate.DOW_LEN = 5;
5316
5316
  HebrewDate._localDows = new Array(8);
5317
5317
 
5318
5318
  class DisplayConvertor {
5319
- constructor() {
5320
- this._environment = null;
5321
- this.DATECHAR = 0;
5322
- this._environment = GuiEnvironment.Environment;
5323
- }
5324
5319
  static get Instance() {
5325
5320
  if (DisplayConvertor._instance === null) {
5326
5321
  DisplayConvertor._instance = new DisplayConvertor();
5327
5322
  }
5328
5323
  return DisplayConvertor._instance;
5329
5324
  }
5325
+ constructor() {
5326
+ this._environment = null;
5327
+ this.DATECHAR = 0;
5328
+ this._environment = GuiEnvironment.Environment;
5329
+ }
5330
5330
  getNewDateBreakParams() {
5331
5331
  return new DateBreakParams();
5332
5332
  }
@@ -8008,6 +8008,12 @@ class CellElement {
8008
8008
  }
8009
8009
 
8010
8010
  class FieldDef {
8011
+ set DbModifiable(value) {
8012
+ this._dbModifiable = value;
8013
+ }
8014
+ get DbModifiable() {
8015
+ return this._dbModifiable;
8016
+ }
8011
8017
  constructor(id) {
8012
8018
  this.DefaultValue = null;
8013
8019
  this.NullAllowed = false;
@@ -8031,12 +8037,6 @@ class FieldDef {
8031
8037
  this._id = id;
8032
8038
  this.VarDisplayName = NString.Empty;
8033
8039
  }
8034
- set DbModifiable(value) {
8035
- this._dbModifiable = value;
8036
- }
8037
- get DbModifiable() {
8038
- return this._dbModifiable;
8039
- }
8040
8040
  get PartOfDataview() {
8041
8041
  return this._partOfDataview;
8042
8042
  }
@@ -8756,6 +8756,9 @@ class CustomValidator {
8756
8756
  getErrMessage() { return this._errorMessage; }
8757
8757
  }
8758
8758
  class Property {
8759
+ get TaskDefinitionId() {
8760
+ return this._taskDefinitionId;
8761
+ }
8759
8762
  constructor(cId, cParentObj, parType, val) {
8760
8763
  this._id = Int32.MinValue;
8761
8764
  this._dataType = StorageAttribute.NONE;
@@ -8780,9 +8783,6 @@ class Property {
8780
8783
  else
8781
8784
  this.constructor_2(cId, cParentObj, parType, val);
8782
8785
  }
8783
- get TaskDefinitionId() {
8784
- return this._taskDefinitionId;
8785
- }
8786
8786
  constructor_0() {
8787
8787
  this._prevValues = new List();
8788
8788
  }
@@ -11041,6 +11041,15 @@ class FieldValidator {
11041
11041
  }
11042
11042
 
11043
11043
  class ValidationDetails extends ValidationDetailsBase {
11044
+ get ErrorMessage() {
11045
+ return this.errMessage;
11046
+ }
11047
+ set ErrorMessage(msg) {
11048
+ this.errMessage = msg;
11049
+ }
11050
+ get ValidationFailed() {
11051
+ return this._validationFailed;
11052
+ }
11044
11053
  constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
11045
11054
  super();
11046
11055
  this._control = null;
@@ -11061,15 +11070,6 @@ class ValidationDetails extends ValidationDetailsBase {
11061
11070
  else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
11062
11071
  this.constructor_2(oldvalueOrRangeStrOrVd);
11063
11072
  }
11064
- get ErrorMessage() {
11065
- return this.errMessage;
11066
- }
11067
- set ErrorMessage(msg) {
11068
- this.errMessage = msg;
11069
- }
11070
- get ValidationFailed() {
11071
- return this._validationFailed;
11072
- }
11073
11073
  constructor_0(oldvalue, val, range, pic, control) {
11074
11074
  this._picData = pic;
11075
11075
  this._oldvalue = oldvalue;
@@ -11286,6 +11286,9 @@ class ValidationDetails extends ValidationDetailsBase {
11286
11286
  const EMPTY_DCREF = -2;
11287
11287
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
11288
11288
  class DcValues {
11289
+ get HasReferences() {
11290
+ return this._refCount > 0;
11291
+ }
11289
11292
  constructor(empty) {
11290
11293
  this._id = 0;
11291
11294
  this._type = StorageAttribute.NONE;
@@ -11300,9 +11303,6 @@ class DcValues {
11300
11303
  }
11301
11304
  this._isNumericType = false;
11302
11305
  }
11303
- get HasReferences() {
11304
- return this._refCount > 0;
11305
- }
11306
11306
  GetAttr() {
11307
11307
  return this._type;
11308
11308
  }
@@ -11557,6 +11557,16 @@ class FocusManager {
11557
11557
  }
11558
11558
 
11559
11559
  class MgControlBase extends GuiControlPropertyAdapter {
11560
+ set Form(value) {
11561
+ this._form = value;
11562
+ this.GuiMgForm = value;
11563
+ }
11564
+ get Form() {
11565
+ return this._form;
11566
+ }
11567
+ get ControlIsn() {
11568
+ return this._controlIsn;
11569
+ }
11560
11570
  constructor(type, parentMgForm, parentControl) {
11561
11571
  super();
11562
11572
  this._ditIdx = 0;
@@ -11609,16 +11619,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
11609
11619
  }
11610
11620
  this.constructor_1(type, parentMgForm, parentControl);
11611
11621
  }
11612
- set Form(value) {
11613
- this._form = value;
11614
- this.GuiMgForm = value;
11615
- }
11616
- get Form() {
11617
- return this._form;
11618
- }
11619
- get ControlIsn() {
11620
- return this._controlIsn;
11621
- }
11622
11622
  constructor_0() {
11623
11623
  this._linkedControls = new List();
11624
11624
  this.DataType = StorageAttribute.NONE;
@@ -15359,6 +15359,9 @@ class ExpVal {
15359
15359
  class MagicHelp {
15360
15360
  }
15361
15361
  class InternalHelp extends MagicHelp {
15362
+ GetHelpType() {
15363
+ return HelpType.Internal;
15364
+ }
15362
15365
  constructor() {
15363
15366
  super();
15364
15367
  this.val = null;
@@ -15375,47 +15378,44 @@ class InternalHelp extends MagicHelp {
15375
15378
  this.TitleBar = 0;
15376
15379
  this.FontTableIndex = 0;
15377
15380
  }
15378
- GetHelpType() {
15379
- return HelpType.Internal;
15380
- }
15381
15381
  }
15382
15382
  class PromptpHelp extends MagicHelp {
15383
+ GetHelpType() {
15384
+ return HelpType.Prompt;
15385
+ }
15383
15386
  constructor() {
15384
15387
  super();
15385
15388
  this.PromptHelpText = null;
15386
15389
  }
15387
- GetHelpType() {
15388
- return HelpType.Prompt;
15389
- }
15390
15390
  }
15391
15391
  class ToolTipHelp extends MagicHelp {
15392
+ GetHelpType() {
15393
+ return HelpType.Tooltip;
15394
+ }
15392
15395
  constructor() {
15393
15396
  super();
15394
15397
  this.tooltipHelpText = null;
15395
15398
  }
15396
- GetHelpType() {
15397
- return HelpType.Tooltip;
15398
- }
15399
15399
  }
15400
15400
  class URLHelp extends MagicHelp {
15401
+ GetHelpType() {
15402
+ return HelpType.URL;
15403
+ }
15401
15404
  constructor() {
15402
15405
  super();
15403
15406
  this.urlHelpText = null;
15404
15407
  }
15405
- GetHelpType() {
15406
- return HelpType.URL;
15407
- }
15408
15408
  }
15409
15409
  class WindowsHelp extends MagicHelp {
15410
+ GetHelpType() {
15411
+ return HelpType.Windows;
15412
+ }
15410
15413
  constructor() {
15411
15414
  super();
15412
15415
  this.FilePath = null;
15413
15416
  this.HelpCommand = 0;
15414
15417
  this.HelpKey = null;
15415
15418
  }
15416
- GetHelpType() {
15417
- return HelpType.Windows;
15418
- }
15419
15419
  }
15420
15420
  class Helps {
15421
15421
  constructor() {
@@ -15595,6 +15595,21 @@ class GuiDataCollection {
15595
15595
  GuiDataCollection.MGDataTable = null;
15596
15596
 
15597
15597
  class GuiTaskBase {
15598
+ Init() {
15599
+ this.DataView.Init();
15600
+ }
15601
+ get RouterPath() {
15602
+ return this.routerPath;
15603
+ }
15604
+ get RouterParams() {
15605
+ return this.routeParams;
15606
+ }
15607
+ get InDefaultRouterOutlet() {
15608
+ return this.inDefaultRouterOutlet;
15609
+ }
15610
+ get IsBlockingBatch() {
15611
+ return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15612
+ }
15598
15613
  constructor() {
15599
15614
  this._flowMonitor = null;
15600
15615
  this._keyboardMappingState = 0xFFFF0000;
@@ -15639,21 +15654,6 @@ class GuiTaskBase {
15639
15654
  this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
15640
15655
  this._propTab = new PropTable(this);
15641
15656
  }
15642
- Init() {
15643
- this.DataView.Init();
15644
- }
15645
- get RouterPath() {
15646
- return this.routerPath;
15647
- }
15648
- get RouterParams() {
15649
- return this.routeParams;
15650
- }
15651
- get InDefaultRouterOutlet() {
15652
- return this.inDefaultRouterOutlet;
15653
- }
15654
- get IsBlockingBatch() {
15655
- return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15656
- }
15657
15657
  getTaskTag() {
15658
15658
  return this._taskTag;
15659
15659
  }