@magic-xpa/angular 4.1000.0-dev4100.98 → 4.1000.0
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/index.mjs +2 -1
- package/esm2020/src/magic.core.module.mjs +16 -13
- package/esm2020/src/services/accessor.magic.service.mjs +28 -3
- package/esm2020/src/services/magic-color.service.mjs +4 -4
- package/esm2020/src/services/subform.magic.service.mjs +1 -1
- package/esm2020/src/services/table.magic.service.mjs +5 -2
- package/esm2020/src/services/task.magics.service.mjs +14 -4
- package/esm2020/src/ui/components/base-magic-alert.component.mjs +3 -7
- package/esm2020/src/ui/components/base-magic-confirm.component.mjs +3 -7
- package/esm2020/src/ui/components/magic-alert.component.mjs +3 -35
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +3 -39
- package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +6 -6
- package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +11 -1
- package/esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs +3 -3
- package/esm2020/src/ui/directives/magic.directive.mjs +11 -11
- package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +168 -3
- package/esm2020/src/ui/magic-modal/base-magic-overlay-container.mjs +1 -1
- package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +4 -18
- package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +4 -4
- package/esm2020/src/ui/magic-root.component.mjs +4 -38
- package/esm2020/src/ui/mgerror.magic.component.mjs +9 -9
- package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +34 -0
- package/esm2020/src/ui/router-container.magic.component.mjs +4 -4
- package/esm2020/src/ui/subform.magic.component.mjs +4 -4
- package/esm2020/src/ui/task-base.magic.component.mjs +8 -2
- package/fesm2015/magic-xpa-angular.mjs +323 -197
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +321 -197
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +11 -8
- package/src/magic.core.module.d.ts +8 -6
- package/src/services/accessor.magic.service.d.ts +3 -0
- package/src/services/table.magic.service.d.ts +2 -0
- package/src/services/task.magics.service.d.ts +1 -0
- package/src/ui/components/base-magic-alert.component.d.ts +1 -1
- package/src/ui/components/base-magic-confirm.component.d.ts +1 -1
- package/src/ui/components/magic-alert.component.d.ts +1 -1
- package/src/ui/components/magic-confirmation-box.component.d.ts +1 -1
- package/src/ui/directives/NonMagicControlDirective.d.ts +1 -1
- package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/checkbox.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/combobox.magic.directive.d.ts +2 -1
- package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +1 -1
- package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +1 -1
- package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +1 -1
- package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/row.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic-focus.directive.d.ts +1 -1
- package/src/ui/directives/magic.directive.d.ts +2 -2
- package/src/ui/directives/magicViewContainerRef.directive.d.ts +1 -1
- package/src/ui/directives/mgformat.magic.directive.d.ts +5 -2
- package/src/ui/directives/range-validator.magic.directive.d.ts +1 -1
- package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +1 -1
- package/src/ui/magic-modal/magic-overlay-container.d.ts +1 -1
- package/src/ui/magic-root.component.d.ts +1 -1
- package/src/ui/mgerror.magic.component.d.ts +1 -1
- package/src/ui/pipes/date.magic.pipe.d.ts +1 -1
- package/src/ui/pipes/time.magic.pipe.d.ts +1 -1
- package/src/ui/pipes/time24.magic.pipe.d.ts +10 -0
- package/src/ui/router-container.magic.component.d.ts +1 -1
- package/src/ui/subform.magic.component.d.ts +1 -1
- package/src/ui/task-base.magic.component.d.ts +2 -1
- package/magic-xpa-angular.d.ts +0 -2
package/index.d.ts
CHANGED
@@ -55,3 +55,4 @@ export * from "./src/ui/magic-modal/magic-overlay-container-wrapper";
|
|
55
55
|
export * from "./src/ui/magic-modal/magic-overlay-container";
|
56
56
|
export * from "./src/ui/pipes/date.magic.pipe";
|
57
57
|
export * from "./src/ui/pipes/time.magic.pipe";
|
58
|
+
export * from "./src/ui/pipes/time24.magic.pipe";
|
package/package.json
CHANGED
@@ -1,18 +1,21 @@
|
|
1
1
|
{
|
2
2
|
"name": "@magic-xpa/angular",
|
3
|
-
"version": "4.1000.0
|
3
|
+
"version": "4.1000.0",
|
4
4
|
"license": "SEE LICENSE IN EULA.pdf",
|
5
5
|
"dependencies": {
|
6
|
-
"@magic-xpa/engine": "4.1000.0
|
7
|
-
"@magic-xpa/angular-material-core": "4.1000.0
|
6
|
+
"@magic-xpa/engine": "4.1000.0",
|
7
|
+
"@magic-xpa/angular-material-core": "4.1000.0",
|
8
8
|
"ng-dynamic-component": "^10.1.0",
|
9
9
|
"rxjs": "^6.5.2",
|
10
|
+
"@maskito/angular": "^1.4.0",
|
11
|
+
"@maskito/core": "^1.4.0",
|
12
|
+
"@maskito/kit": "^1.4.0",
|
10
13
|
"tslib": "^2.3.0"
|
11
14
|
},
|
12
15
|
"peerDependencies": {
|
13
|
-
"@angular/core": "^
|
14
|
-
"@angular/common": "^
|
15
|
-
"@angular/forms": "^
|
16
|
+
"@angular/core": "^15.2.2",
|
17
|
+
"@angular/common": "^15.2.2",
|
18
|
+
"@angular/forms": "^15.2.2"
|
16
19
|
},
|
17
20
|
"schematics": "./schematics/collection.json",
|
18
21
|
"module": "fesm2015/magic-xpa-angular.mjs",
|
@@ -20,13 +23,13 @@
|
|
20
23
|
"esm2020": "esm2020/magic-xpa-angular.mjs",
|
21
24
|
"fesm2020": "fesm2020/magic-xpa-angular.mjs",
|
22
25
|
"fesm2015": "fesm2015/magic-xpa-angular.mjs",
|
23
|
-
"typings": "
|
26
|
+
"typings": "index.d.ts",
|
24
27
|
"exports": {
|
25
28
|
"./package.json": {
|
26
29
|
"default": "./package.json"
|
27
30
|
},
|
28
31
|
".": {
|
29
|
-
"types": "./
|
32
|
+
"types": "./index.d.ts",
|
30
33
|
"esm2020": "./esm2020/magic-xpa-angular.mjs",
|
31
34
|
"es2020": "./fesm2020/magic-xpa-angular.mjs",
|
32
35
|
"es2015": "./fesm2015/magic-xpa-angular.mjs",
|
@@ -27,13 +27,15 @@ import * as i25 from "./ui/directives/range-validator.magic.directive";
|
|
27
27
|
import * as i26 from "./ui/directives/NonMagicControlDirective";
|
28
28
|
import * as i27 from "./ui/directives/magic-focus.directive";
|
29
29
|
import * as i28 from "./ui/directives/magicViewContainerRef.directive";
|
30
|
-
import * as i29 from "
|
31
|
-
import * as i30 from "@angular/
|
32
|
-
import * as i31 from "@angular/
|
33
|
-
import * as i32 from "
|
34
|
-
import * as i33 from "
|
30
|
+
import * as i29 from "./ui/pipes/time24.magic.pipe";
|
31
|
+
import * as i30 from "@angular/common";
|
32
|
+
import * as i31 from "@angular/forms";
|
33
|
+
import * as i32 from "@angular/router";
|
34
|
+
import * as i33 from "ng-dynamic-component";
|
35
|
+
import * as i34 from "@angular/common/http";
|
36
|
+
import * as i35 from "@maskito/angular";
|
35
37
|
export declare class MagicModule {
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicModule, never>;
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MagicModule, [typeof i1.MagicDirective, typeof i2.CheckboxMagicDirective, typeof i3.CheckboxNoFormControlMagicDirective, typeof i4.InputNoFormControlMagicDirective, typeof i5.ComboboxMagicDirective, typeof i6.RowMagicDirective, typeof i7.MagicCheckboxControlValueAccessor, typeof i8.MagicDefaultValueAccessor, typeof i9.DateValueAccessor, typeof i10.TaskBaseMagicComponent, typeof i11.MagicOverlayContainer, typeof i12.MagicAlertComponent, typeof i13.MagicConfirmationBoxComponent, typeof i14.BaseMagicAlertComponent, typeof i15.BaseMagicConfirmComponent, typeof i16.MagicOverlayContainerWrapper, typeof i17.RouterContainerMagicComponent, typeof i18.MagicShellComponent, typeof i19.SubformMagicComponent, typeof i20.ErrorMagicComponent, typeof i21.NoControlMagicDirective, typeof i22.MgformatMagicDirective, typeof i23.DateMagicPipe, typeof i24.TimeMagicPipe, typeof i25.RangeValidatorMagicDirective, typeof i26.NonMagicControlDirective, typeof i27.MagicFocusDirective, typeof i28.MagicViewContainerRef], [typeof
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MagicModule, [typeof i1.MagicDirective, typeof i2.CheckboxMagicDirective, typeof i3.CheckboxNoFormControlMagicDirective, typeof i4.InputNoFormControlMagicDirective, typeof i5.ComboboxMagicDirective, typeof i6.RowMagicDirective, typeof i7.MagicCheckboxControlValueAccessor, typeof i8.MagicDefaultValueAccessor, typeof i9.DateValueAccessor, typeof i10.TaskBaseMagicComponent, typeof i11.MagicOverlayContainer, typeof i12.MagicAlertComponent, typeof i13.MagicConfirmationBoxComponent, typeof i14.BaseMagicAlertComponent, typeof i15.BaseMagicConfirmComponent, typeof i16.MagicOverlayContainerWrapper, typeof i17.RouterContainerMagicComponent, typeof i18.MagicShellComponent, typeof i19.SubformMagicComponent, typeof i20.ErrorMagicComponent, typeof i21.NoControlMagicDirective, typeof i22.MgformatMagicDirective, typeof i23.DateMagicPipe, typeof i24.TimeMagicPipe, typeof i25.RangeValidatorMagicDirective, typeof i26.NonMagicControlDirective, typeof i27.MagicFocusDirective, typeof i28.MagicViewContainerRef, typeof i29.Time24MagicPipe], [typeof i30.CommonModule, typeof i31.FormsModule, typeof i31.ReactiveFormsModule, typeof i32.RouterModule, typeof i33.DynamicModule, typeof i34.HttpClientModule], [typeof i1.MagicDirective, typeof i2.CheckboxMagicDirective, typeof i3.CheckboxNoFormControlMagicDirective, typeof i4.InputNoFormControlMagicDirective, typeof i5.ComboboxMagicDirective, typeof i6.RowMagicDirective, typeof i7.MagicCheckboxControlValueAccessor, typeof i8.MagicDefaultValueAccessor, typeof i9.DateValueAccessor, typeof i10.TaskBaseMagicComponent, typeof i11.MagicOverlayContainer, typeof i12.MagicAlertComponent, typeof i13.MagicConfirmationBoxComponent, typeof i14.BaseMagicAlertComponent, typeof i15.BaseMagicConfirmComponent, typeof i16.MagicOverlayContainerWrapper, typeof i17.RouterContainerMagicComponent, typeof i18.MagicShellComponent, typeof i19.SubformMagicComponent, typeof i20.ErrorMagicComponent, typeof i21.NoControlMagicDirective, typeof i22.MgformatMagicDirective, typeof i23.DateMagicPipe, typeof i24.TimeMagicPipe, typeof i25.RangeValidatorMagicDirective, typeof i26.NonMagicControlDirective, typeof i27.MagicFocusDirective, typeof i28.MagicViewContainerRef, typeof i29.Time24MagicPipe, typeof i35.MaskitoModule]>;
|
38
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<MagicModule>;
|
39
41
|
}
|
@@ -2,11 +2,14 @@ import { TaskMagicService } from './task.magics.service';
|
|
2
2
|
import { HtmlProperties } from '@magic-xpa/gui';
|
3
3
|
import { FormGroup } from '@angular/forms';
|
4
4
|
import { MagicColorService } from './magic-color.service';
|
5
|
+
import { MaskitoOptions } from "@maskito/core";
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class AccessorMagicService {
|
7
8
|
protected task: TaskMagicService;
|
8
9
|
protected magicColor: MagicColorService;
|
9
10
|
Logger: any;
|
11
|
+
readonly hhmm: MaskitoOptions;
|
12
|
+
readonly hhmmss: MaskitoOptions;
|
10
13
|
constructor(task: TaskMagicService, magicColor: MagicColorService);
|
11
14
|
checkIsReadOnly(controlId: string): boolean;
|
12
15
|
getText(controlId: string, rowId?: string): string;
|
@@ -5,10 +5,12 @@ export declare class TableMagicService {
|
|
5
5
|
protected componentList: ComponentListMagicService;
|
6
6
|
protected task: TaskMagicService;
|
7
7
|
selectedItem: any;
|
8
|
+
private chunkSize;
|
8
9
|
constructor(componentList: ComponentListMagicService, task: TaskMagicService);
|
9
10
|
shouldOpenFieldTextEditor: boolean;
|
10
11
|
refreshDataSource(): void;
|
11
12
|
getPageSize(): number;
|
13
|
+
setChunkSize(size: number): void;
|
12
14
|
getMaxRowsInTable(): number;
|
13
15
|
selectRow(rowId: string): void;
|
14
16
|
getSelectedRow(): any;
|
@@ -6,5 +6,5 @@ export declare class BaseMagicAlertComponent {
|
|
6
6
|
onClose: EventEmitter<void>;
|
7
7
|
OnClose(): void;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseMagicAlertComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicAlertComponent, "mg-base-alert", never, { "title": "title"; "message": "message"; }, { "onClose": "onClose"; }, never, never>;
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicAlertComponent, "mg-base-alert", never, { "title": "title"; "message": "message"; }, { "onClose": "onClose"; }, never, never, false, never>;
|
10
10
|
}
|
@@ -6,5 +6,5 @@ export declare class BaseMagicConfirmComponent {
|
|
6
6
|
onClose: EventEmitter<boolean>;
|
7
7
|
OnClose(result: any): void;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseMagicConfirmComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicConfirmComponent, "mg-base-alert", never, { "title": "title"; "message": "message"; }, { "onClose": "onClose"; }, never, never>;
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicConfirmComponent, "mg-base-alert", never, { "title": "title"; "message": "message"; }, { "onClose": "onClose"; }, never, never, false, never>;
|
10
10
|
}
|
@@ -2,5 +2,5 @@ import { BaseMagicAlertComponent } from './base-magic-alert.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class MagicAlertComponent extends BaseMagicAlertComponent {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicAlertComponent, never>;
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicAlertComponent, "sample-magic-alert-component", never, {}, {}, never, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicAlertComponent, "sample-magic-alert-component", never, {}, {}, never, never, false, never>;
|
6
6
|
}
|
@@ -2,5 +2,5 @@ import { BaseMagicConfirmComponent } from './base-magic-confirm.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicConfirmationBoxComponent, never>;
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicConfirmationBoxComponent, "sample-magic-confirmation-box", never, {}, {}, never, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicConfirmationBoxComponent, "sample-magic-confirmation-box", never, {}, {}, never, never, false, never>;
|
6
6
|
}
|
@@ -22,5 +22,5 @@ export declare class NonMagicControlDirective implements OnInit {
|
|
22
22
|
private OnFocus;
|
23
23
|
ngOnInit(): void;
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NonMagicControlDirective, never>;
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NonMagicControlDirective, "[NonMagicControl]", never, { "magic": "NonMagicControl"; }, {}, never>;
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NonMagicControlDirective, "[NonMagicControl]", never, { "magic": "NonMagicControl"; }, {}, never, never, false, never>;
|
26
26
|
}
|
@@ -5,5 +5,5 @@ export declare class CheckboxNoFormControlMagicDirective {
|
|
5
5
|
constructor(magicDirective: MagicDirective);
|
6
6
|
onChange($event: any): void;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxNoFormControlMagicDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxNoFormControlMagicDirective, " input[type=checkbox][magic]:([noFormControl]) ", never, {}, {}, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxNoFormControlMagicDirective, " input[type=checkbox][magic]:([noFormControl]) ", never, {}, {}, never, never, false, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class CheckboxMagicDirective {
|
|
5
5
|
constructor(magicDirective: MagicDirective);
|
6
6
|
onChange($event: any): void;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxMagicDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMagicDirective, " input[type=checkbox][magic]:not([noFormControl])", never, {}, {}, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMagicDirective, " input[type=checkbox][magic]:not([noFormControl])", never, {}, {}, never, never, false, never>;
|
9
9
|
}
|
@@ -4,6 +4,7 @@ export declare class ComboboxMagicDirective {
|
|
4
4
|
protected magicDirective: MagicDirective;
|
5
5
|
constructor(magicDirective: MagicDirective);
|
6
6
|
onChange($event: any): void;
|
7
|
+
onComboboxItemsListChanged(): void;
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxMagicDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxMagicDirective, "select[magic]:not([multiple])", never, {}, {}, never>;
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxMagicDirective, "select[magic]:not([multiple])", never, {}, {}, never, never, false, never>;
|
9
10
|
}
|
package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts
CHANGED
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare const CHECKBOX_VALUE_ACCESSOR: any;
|
4
4
|
export declare class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicCheckboxControlValueAccessor, never>;
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicCheckboxControlValueAccessor, " input[type=checkbox][magic]:not([formControlName]):not([no-form-control]), input[type=checkbox][magic]:not([formControl]), input[type=checkbox][magic]:not([ngModel]) ", never, {}, {}, never>;
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicCheckboxControlValueAccessor, " input[type=checkbox][magic]:not([formControlName]):not([no-form-control]), input[type=checkbox][magic]:not([formControl]), input[type=checkbox][magic]:not([ngModel]) ", never, {}, {}, never, never, false, never>;
|
7
7
|
}
|
package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts
CHANGED
@@ -13,5 +13,5 @@ export declare class DateValueAccessor implements ControlValueAccessor {
|
|
13
13
|
registerOnTouched(fn: () => void): void;
|
14
14
|
setDisabledState(isDisabled: boolean): void;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "[dateInput]", never, {}, {}, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "[dateInput]", never, {}, {}, never, never, false, never>;
|
17
17
|
}
|
package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts
CHANGED
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare const MAGIC_DEFAULT_VALUE_ACCESSOR: any;
|
4
4
|
export declare class MagicDefaultValueAccessor extends DefaultValueAccessor {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDefaultValueAccessor, never>;
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDefaultValueAccessor, " input[magic]:not([type=checkbox]):not([formControlName]):not([no-form-control]), textarea[magic]:not([formControlName]):not([noFormControl]):not([no-form-control]) ", ["magic"], {}, {}, never>;
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDefaultValueAccessor, " input[magic]:not([type=checkbox]):not([formControlName]):not([no-form-control]), textarea[magic]:not([formControlName]):not([noFormControl]):not([no-form-control]) ", ["magic"], {}, {}, never, never, false, never>;
|
7
7
|
}
|
@@ -5,5 +5,5 @@ export declare class InputNoFormControlMagicDirective {
|
|
5
5
|
constructor(magicDirective: MagicDirective);
|
6
6
|
onChange($event: any): void;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNoFormControlMagicDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InputNoFormControlMagicDirective, "input[magic]:([noFormControl]):not([type=checkbox]), textarea[magic]:([noFormControl]):not([type=checkbox])", never, {}, {}, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputNoFormControlMagicDirective, "input[magic]:([noFormControl]):not([type=checkbox]), textarea[magic]:([noFormControl]):not([type=checkbox])", never, {}, {}, never, never, false, never>;
|
9
9
|
}
|
@@ -13,5 +13,5 @@ export declare class NoControlMagicDirective extends MagicDirective {
|
|
13
13
|
handleCommand(command: GuiCommand): void;
|
14
14
|
handleSetProperty(command: GuiCommand): void;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoControlMagicDirective, [null, null, null, null, { optional: true; }]>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NoControlMagicDirective, "[magicnc]", never, { "magic": "magicnc"; }, {}, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NoControlMagicDirective, "[magicnc]", never, { "magic": "magicnc"; }, {}, never, never, false, never>;
|
17
17
|
}
|
@@ -13,5 +13,5 @@ export declare class RowMagicDirective implements OnInit, OnDestroy {
|
|
13
13
|
ngOnDestroy(): void;
|
14
14
|
onClick($event: any): void;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowMagicDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RowMagicDirective, "[magicRow]", never, { "rowId": "magicRow"; }, {}, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RowMagicDirective, "[magicRow]", never, { "rowId": "magicRow"; }, {}, never, never, false, never>;
|
17
17
|
}
|
@@ -5,5 +5,5 @@ export declare class MagicFocusDirective {
|
|
5
5
|
constructor(hostElement: ElementRef);
|
6
6
|
ngAfterViewInit(): void;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicFocusDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicFocusDirective, "[magicFocus]", never, {}, {}, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicFocusDirective, "[magicFocus]", never, {}, {}, never, never, false, never>;
|
9
9
|
}
|
@@ -29,7 +29,7 @@ export declare class MagicDirective implements OnInit, OnDestroy {
|
|
29
29
|
get task(): TaskMagicService;
|
30
30
|
protected regEvents(): void;
|
31
31
|
private OnFocus;
|
32
|
-
|
32
|
+
IsSameElement(command: any): boolean;
|
33
33
|
private IsSameComponent;
|
34
34
|
private regUpdatesUI;
|
35
35
|
ngOnInit(): void;
|
@@ -38,5 +38,5 @@ export declare class MagicDirective implements OnInit, OnDestroy {
|
|
38
38
|
handleSetProperty(command: GuiCommand): void;
|
39
39
|
ngOnDestroy(): void;
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDirective, [null, null, null, null, { optional: true; }]>;
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDirective, "[magic]", never, { "magic": "magic"; "eventsOnly": "eventsOnly"; "rowId": "rowId"; }, {}, never>;
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDirective, "[magic]", never, { "magic": "magic"; "eventsOnly": "eventsOnly"; "rowId": "rowId"; }, {}, never, never, false, never>;
|
42
42
|
}
|
@@ -4,5 +4,5 @@ export declare class MagicViewContainerRef {
|
|
4
4
|
private vcRef;
|
5
5
|
constructor(vcRef: ViewContainerRef);
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicViewContainerRef, never>;
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never>;
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never, never, false, never>;
|
8
8
|
}
|
@@ -8,10 +8,13 @@ import * as i0 from "@angular/core";
|
|
8
8
|
export declare class MgformatMagicDirective {
|
9
9
|
protected magicDir: MagicDirective;
|
10
10
|
protected _task: TaskMagicService;
|
11
|
+
datePasteFlag: boolean;
|
11
12
|
constructor(magicDir: MagicDirective, _task: TaskMagicService);
|
12
13
|
ngAfterViewInit(): void;
|
13
14
|
onFocusEvent($event: any): void;
|
14
|
-
|
15
|
+
onPaste(event: ClipboardEvent): void;
|
16
|
+
onInputEvent(event: any): void;
|
17
|
+
dateMasking(event: any): void;
|
15
18
|
onChangeEvent($event: any): void;
|
16
19
|
calculatePattern(): void;
|
17
20
|
formatDate(pic: PIC): void;
|
@@ -24,5 +27,5 @@ export declare class MgformatMagicDirective {
|
|
24
27
|
getDirectiveCount(mask: string, idx: number, pattern: string, changeInPattern: RefParam<boolean>): number;
|
25
28
|
IsPatternMatches(mask: string, pattern: string): boolean;
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<MgformatMagicDirective, never>;
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MgformatMagicDirective, "[mgFormat]", never, {}, {}, never>;
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MgformatMagicDirective, "[mgFormat]", never, {}, {}, never, never, false, never>;
|
28
31
|
}
|
@@ -13,5 +13,5 @@ export declare class RangeValidatorMagicDirective implements Validator {
|
|
13
13
|
};
|
14
14
|
getControlName(c: FormControl): string | null;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<RangeValidatorMagicDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValidatorMagicDirective, "[rangevalidator] ", never, {}, {}, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValidatorMagicDirective, "[rangevalidator] ", never, {}, {}, never, never, false, never>;
|
17
17
|
}
|
@@ -27,5 +27,5 @@ export declare class MagicOverlayContainerWrapper implements IMagicViewContainer
|
|
27
27
|
GetRootElement(): HTMLElement;
|
28
28
|
DetectChanges(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainerWrapper, never>;
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainerWrapper, "app-magic-overlay-container-wrapper", never, { "Component": "Component"; "Parameters": "Parameters"; "OverlayTypeParam": "OverlayTypeParam"; }, { "onClose": "onClose"; }, never, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainerWrapper, "app-magic-overlay-container-wrapper", never, { "Component": "Component"; "Parameters": "Parameters"; "OverlayTypeParam": "OverlayTypeParam"; }, { "onClose": "onClose"; }, never, never, false, never>;
|
31
31
|
}
|
@@ -21,5 +21,5 @@ export declare class MagicOverlayContainer extends BaseMagicOverlayContainer imp
|
|
21
21
|
OnClose(): void;
|
22
22
|
OnBackgroundClick(): void;
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainer, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainer, "app-magic-overlay-container", never, { "ModalComp": "ModalComp"; "ModalCompParameters": "ModalCompParameters"; }, { "onClose": "onClose"; }, never, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainer, "app-magic-overlay-container", never, { "ModalComp": "ModalComp"; "ModalCompParameters": "ModalCompParameters"; }, { "onClose": "onClose"; }, never, never, false, never>;
|
25
25
|
}
|
@@ -36,5 +36,5 @@ export declare class MagicShellComponent implements AfterViewInit, IMagicViewCon
|
|
36
36
|
registerUICommands(): void;
|
37
37
|
executeCommand(command: GuiCommand): void;
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicShellComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicShellComponent, "magic-root", never, { "SpinnerTemplate": "SpinnerTemplate"; }, {}, never, never>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicShellComponent, "magic-root", never, { "SpinnerTemplate": "SpinnerTemplate"; }, {}, never, never, false, never>;
|
40
40
|
}
|
@@ -16,5 +16,5 @@ export declare class ErrorMagicComponent {
|
|
16
16
|
isEmpty(element: HTMLElement): boolean;
|
17
17
|
HasErrors(id: string): boolean;
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMagicComponent, never>;
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMagicComponent, "mgError", never, { "magic": "magic"; "rowId1": "rowId"; }, {}, never, ["*"]>;
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMagicComponent, "mgError", never, { "magic": "magic"; "rowId1": "rowId"; }, {}, never, ["*"], false, never>;
|
20
20
|
}
|
@@ -10,7 +10,7 @@ export declare class DateMagicPipe extends DatePipe implements PipeTransform {
|
|
10
10
|
constructor(_task: TaskMagicService);
|
11
11
|
transform(value: any, controlId: string): any;
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateMagicPipe, never>;
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateMagicPipe, "magicDate">;
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateMagicPipe, "magicDate", false>;
|
14
14
|
}
|
15
15
|
export declare class MgDateFormatter {
|
16
16
|
ConvertMgDateFormatToAngular(mgDateMask: string): string;
|
@@ -7,5 +7,5 @@ export declare class TimeMagicPipe extends DatePipe implements PipeTransform {
|
|
7
7
|
constructor(_task: TaskMagicService);
|
8
8
|
transform(value: any, controlId: string): any;
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeMagicPipe, never>;
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeMagicPipe, "magicTime">;
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeMagicPipe, "magicTime", false>;
|
11
11
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { TaskMagicService } from "../../services/task.magics.service";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class Time24MagicPipe implements PipeTransform {
|
5
|
+
protected _task: TaskMagicService;
|
6
|
+
constructor(_task: TaskMagicService);
|
7
|
+
transform(value: any, controlId: string): any;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Time24MagicPipe, never>;
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<Time24MagicPipe, "magicTime24", false>;
|
10
|
+
}
|
@@ -26,5 +26,5 @@ export declare class RouterContainerMagicComponent implements OnInit {
|
|
26
26
|
initializeComponent(): void;
|
27
27
|
ngOnDestroy(): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<RouterContainerMagicComponent, never>;
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RouterContainerMagicComponent, "magic-route-outlet", never, {}, {}, never, never>;
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RouterContainerMagicComponent, "magic-route-outlet", never, {}, {}, never, never, false, never>;
|
30
30
|
}
|
@@ -12,5 +12,5 @@ export declare class SubformMagicComponent {
|
|
12
12
|
get Component(): Component;
|
13
13
|
get Parameters(): any;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubformMagicComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubformMagicComponent, "magic-subform", never, { "magic": "magic"; }, {}, never, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubformMagicComponent, "magic-subform", never, { "magic": "magic"; }, {}, never, never, false, never>;
|
16
16
|
}
|
@@ -25,9 +25,10 @@ export declare class TaskBaseMagicComponent implements OnInit, OnDestroy, AfterV
|
|
25
25
|
setInputDateFormat(): void;
|
26
26
|
PropertyChanged(propertyName: string, rowId: number, value: any): void;
|
27
27
|
RecordsCountChanged(recordsCount: number): void;
|
28
|
+
mgOnLoad(): void;
|
28
29
|
ngAfterViewInit(): void;
|
29
30
|
ngAfterContentChecked(): void;
|
30
31
|
ngOnDestroy(): void;
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskBaseMagicComponent, never>;
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskBaseMagicComponent, "task-magic", never, { "taskIdParam": "taskIdParam"; "taskDescription": "taskDescription"; }, {}, never, never>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskBaseMagicComponent, "task-magic", never, { "taskIdParam": "taskIdParam"; "taskDescription": "taskDescription"; }, {}, never, never, false, never>;
|
33
34
|
}
|
package/magic-xpa-angular.d.ts
DELETED