@magic-xpa/gui 4.900.0 → 4.901.0-ang15-dev491.310
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.
- package/esm2020/src/Commands.mjs +3 -3
- package/esm2020/src/Events.mjs +3 -3
- package/esm2020/src/management/data/DcValues.mjs +4 -4
- package/esm2020/src/management/data/FieldDef.mjs +7 -7
- package/esm2020/src/management/data/NUM_TYPE.mjs +7 -7
- package/esm2020/src/management/gui/DisplayConvertor.mjs +6 -6
- package/esm2020/src/management/gui/Helps.mjs +16 -16
- package/esm2020/src/management/gui/MgControlBase.mjs +11 -11
- package/esm2020/src/management/gui/Property.mjs +4 -4
- package/esm2020/src/management/gui/ValidationDetails.mjs +10 -10
- package/esm2020/src/management/tasks/GuiTaskBase.mjs +16 -16
- package/fesm2015/magic-xpa-gui.mjs +76 -76
- package/fesm2015/magic-xpa-gui.mjs.map +1 -1
- package/fesm2020/magic-xpa-gui.mjs +76 -76
- package/fesm2020/magic-xpa-gui.mjs.map +1 -1
- package/package.json +4 -4
- package/magic-xpa-gui.d.ts +0 -2
|
@@ -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;
|
|
@@ -15358,6 +15358,9 @@ class ExpVal {
|
|
|
15358
15358
|
class MagicHelp {
|
|
15359
15359
|
}
|
|
15360
15360
|
class InternalHelp extends MagicHelp {
|
|
15361
|
+
GetHelpType() {
|
|
15362
|
+
return HelpType.Internal;
|
|
15363
|
+
}
|
|
15361
15364
|
constructor() {
|
|
15362
15365
|
super();
|
|
15363
15366
|
this.val = null;
|
|
@@ -15374,47 +15377,44 @@ class InternalHelp extends MagicHelp {
|
|
|
15374
15377
|
this.TitleBar = 0;
|
|
15375
15378
|
this.FontTableIndex = 0;
|
|
15376
15379
|
}
|
|
15377
|
-
GetHelpType() {
|
|
15378
|
-
return HelpType.Internal;
|
|
15379
|
-
}
|
|
15380
15380
|
}
|
|
15381
15381
|
class PromptpHelp extends MagicHelp {
|
|
15382
|
+
GetHelpType() {
|
|
15383
|
+
return HelpType.Prompt;
|
|
15384
|
+
}
|
|
15382
15385
|
constructor() {
|
|
15383
15386
|
super();
|
|
15384
15387
|
this.PromptHelpText = null;
|
|
15385
15388
|
}
|
|
15386
|
-
GetHelpType() {
|
|
15387
|
-
return HelpType.Prompt;
|
|
15388
|
-
}
|
|
15389
15389
|
}
|
|
15390
15390
|
class ToolTipHelp extends MagicHelp {
|
|
15391
|
+
GetHelpType() {
|
|
15392
|
+
return HelpType.Tooltip;
|
|
15393
|
+
}
|
|
15391
15394
|
constructor() {
|
|
15392
15395
|
super();
|
|
15393
15396
|
this.tooltipHelpText = null;
|
|
15394
15397
|
}
|
|
15395
|
-
GetHelpType() {
|
|
15396
|
-
return HelpType.Tooltip;
|
|
15397
|
-
}
|
|
15398
15398
|
}
|
|
15399
15399
|
class URLHelp extends MagicHelp {
|
|
15400
|
+
GetHelpType() {
|
|
15401
|
+
return HelpType.URL;
|
|
15402
|
+
}
|
|
15400
15403
|
constructor() {
|
|
15401
15404
|
super();
|
|
15402
15405
|
this.urlHelpText = null;
|
|
15403
15406
|
}
|
|
15404
|
-
GetHelpType() {
|
|
15405
|
-
return HelpType.URL;
|
|
15406
|
-
}
|
|
15407
15407
|
}
|
|
15408
15408
|
class WindowsHelp extends MagicHelp {
|
|
15409
|
+
GetHelpType() {
|
|
15410
|
+
return HelpType.Windows;
|
|
15411
|
+
}
|
|
15409
15412
|
constructor() {
|
|
15410
15413
|
super();
|
|
15411
15414
|
this.FilePath = null;
|
|
15412
15415
|
this.HelpCommand = 0;
|
|
15413
15416
|
this.HelpKey = null;
|
|
15414
15417
|
}
|
|
15415
|
-
GetHelpType() {
|
|
15416
|
-
return HelpType.Windows;
|
|
15417
|
-
}
|
|
15418
15418
|
}
|
|
15419
15419
|
class Helps {
|
|
15420
15420
|
constructor() {
|
|
@@ -15594,6 +15594,21 @@ class GuiDataCollection {
|
|
|
15594
15594
|
GuiDataCollection.MGDataTable = null;
|
|
15595
15595
|
|
|
15596
15596
|
class GuiTaskBase {
|
|
15597
|
+
Init() {
|
|
15598
|
+
this.DataView.Init();
|
|
15599
|
+
}
|
|
15600
|
+
get RouterPath() {
|
|
15601
|
+
return this.routerPath;
|
|
15602
|
+
}
|
|
15603
|
+
get RouterParams() {
|
|
15604
|
+
return this.routeParams;
|
|
15605
|
+
}
|
|
15606
|
+
get InDefaultRouterOutlet() {
|
|
15607
|
+
return this.inDefaultRouterOutlet;
|
|
15608
|
+
}
|
|
15609
|
+
get IsBlockingBatch() {
|
|
15610
|
+
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
15611
|
+
}
|
|
15597
15612
|
constructor() {
|
|
15598
15613
|
this._flowMonitor = null;
|
|
15599
15614
|
this._keyboardMappingState = 0xFFFF0000;
|
|
@@ -15638,21 +15653,6 @@ class GuiTaskBase {
|
|
|
15638
15653
|
this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
|
|
15639
15654
|
this._propTab = new PropTable(this);
|
|
15640
15655
|
}
|
|
15641
|
-
Init() {
|
|
15642
|
-
this.DataView.Init();
|
|
15643
|
-
}
|
|
15644
|
-
get RouterPath() {
|
|
15645
|
-
return this.routerPath;
|
|
15646
|
-
}
|
|
15647
|
-
get RouterParams() {
|
|
15648
|
-
return this.routeParams;
|
|
15649
|
-
}
|
|
15650
|
-
get InDefaultRouterOutlet() {
|
|
15651
|
-
return this.inDefaultRouterOutlet;
|
|
15652
|
-
}
|
|
15653
|
-
get IsBlockingBatch() {
|
|
15654
|
-
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
15655
|
-
}
|
|
15656
15656
|
getTaskTag() {
|
|
15657
15657
|
return this._taskTag;
|
|
15658
15658
|
}
|