@magic-xpa/angular 4.801.6 → 4.801.8-dev481.397

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.
@@ -270,8 +270,8 @@ class EngineMagicService {
270
270
  GetControlPictureMask(taskId, controlName) {
271
271
  return this.magicBridge.GetControlPictureMask(taskId, controlName);
272
272
  }
273
- GetFormattedValue(taskId, controlName, value) {
274
- return this.magicBridge.GetFormattedValue(taskId, controlName, value);
273
+ GetFormattedValue(taskId, controlName, value, rowId) {
274
+ return this.magicBridge.GetFormattedValue(taskId, controlName, value, rowId);
275
275
  }
276
276
  ValidateControlValue(taskId, controlName, value) {
277
277
  return this.magicBridge.ValidateControlValue(taskId, controlName, value);
@@ -934,7 +934,7 @@ MagicOverlayContainer.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContain
934
934
  i0.ɵɵproperty("ngIf", ctx.getShowTitleBar());
935
935
  i0.ɵɵadvance(1);
936
936
  i0.ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
937
- } }, directives: [i1.NgIf, i1.NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#fff}.modal-background[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.75}.modal-header[_ngcontent-%COMP%]{background-color:beige;border-bottom:2px solid red}"] });
937
+ } }, directives: [i1.NgIf, i1.NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#fff}.modal-background[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#000;opacity:.75}.modal-header[_ngcontent-%COMP%]{background-color:beige;border-bottom:2px solid red}"] });
938
938
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicOverlayContainer, [{
939
939
  type: Component,
940
940
  args: [{ selector: 'app-magic-overlay-container', template: `
@@ -953,7 +953,7 @@ MagicOverlayContainer.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContain
953
953
  </div>
954
954
  </div>
955
955
  </div>
956
- `, styles: [".modal-foreground{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#fff}.modal-background{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.75}.modal-header{background-color:beige;border-bottom:2px solid red}\n"] }]
956
+ `, styles: [".modal-foreground{position:fixed;inset:0;background-color:#fff}.modal-background{position:fixed;inset:0;background-color:#000;opacity:.75}.modal-header{background-color:beige;border-bottom:2px solid red}\n"] }]
957
957
  }], function () { return [{ type: i0.ComponentFactoryResolver }]; }, { headerElementRef: [{
958
958
  type: ViewChild,
959
959
  args: ['modalheader', { static: false }]
@@ -1128,7 +1128,7 @@ MagicOverlayContainerWrapper.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlay
1128
1128
  i0.ɵɵelementEnd();
1129
1129
  i0.ɵɵelement(6, "div", 5);
1130
1130
  i0.ɵɵelementEnd();
1131
- } }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%]{position:fixed;top:0;z-index:999;right:0;bottom:0;left:0}"] });
1131
+ } }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%]{position:fixed;z-index:999;inset:0}"] });
1132
1132
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicOverlayContainerWrapper, [{
1133
1133
  type: Component,
1134
1134
  args: [{
@@ -1752,8 +1752,8 @@ class TaskMagicService {
1752
1752
  guiRowId = '0';
1753
1753
  return this.Records.list.length > +guiRowId ? this.Records.list[guiRowId].values[controlId] : '';
1754
1754
  }
1755
- getFormattedValue(controlName, val) {
1756
- return this.magic.GetFormattedValue(this.taskId, controlName, val);
1755
+ getFormattedValue(controlName, val, rowId) {
1756
+ return this.magic.GetFormattedValue(this.taskId, controlName, val, rowId);
1757
1757
  }
1758
1758
  setValue(controlId, guiRowId, value) {
1759
1759
  return this.Records.list[guiRowId].setValue(controlId, value);
@@ -2439,7 +2439,7 @@ class AccessorMagicService {
2439
2439
  }
2440
2440
  getFormattedValue(controlId, rowId) {
2441
2441
  let val = this.task.getValue(controlId, rowId);
2442
- val = this.task.getFormattedValue(controlId, val);
2442
+ val = this.task.getFormattedValue(controlId, val, rowId);
2443
2443
  return val;
2444
2444
  }
2445
2445
  getPicture(controlId, rowId) {
@@ -3910,7 +3910,7 @@ MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent,
3910
3910
  i0.ɵɵproperty("ngIf", ctx.RootComponent !== null);
3911
3911
  i0.ɵɵadvance(3);
3912
3912
  i0.ɵɵproperty("ngIf", ctx.showSpinner);
3913
- } }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective, MagicViewContainerRef, i1.NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%]{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;top:0;right:0;bottom:0;left:0;width:100px;height:100px;animation:spin 2s linear infinite}.spinner-background[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;z-index:1000;left:0;opacity:.5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"] });
3913
+ } }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective, MagicViewContainerRef, i1.NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%]{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;inset:0;width:100px;height:100px;animation:spin 2s linear infinite}.spinner-background[_ngcontent-%COMP%]{position:fixed;z-index:1000;inset:0;opacity:.5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"] });
3914
3914
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicShellComponent, [{
3915
3915
  type: Component,
3916
3916
  args: [{
@@ -4369,7 +4369,7 @@ class MgDateAdapter extends NativeDateAdapter {
4369
4369
  }
4370
4370
  if (month == 0 && year == 0 && date == 0)
4371
4371
  return null;
4372
- return new Date(Date.UTC(year, month, date));
4372
+ return new Date(year, month, date);
4373
4373
  }
4374
4374
  }
4375
4375
  format(date, displayFormat) {