@magic-xpa/angular 4.1100.0-dev4110.99 → 4.1100.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/README.md +5 -5
- package/{esm2020 → esm2022}/index.mjs +59 -59
- package/{esm2020 → esm2022}/magic-xpa-angular.mjs +1 -1
- package/esm2022/src/controls.metadata.model.mjs +183 -0
- package/{esm2020 → esm2022}/src/interfaces/sub-form-definition.iterface.mjs +1 -1
- package/{esm2020 → esm2022}/src/magic.core.module.mjs +159 -160
- package/{esm2020 → esm2022}/src/services/ISubformMagicService.mjs +1 -1
- package/esm2022/src/services/OverlayWindowService.mjs +244 -0
- package/esm2022/src/services/StylesMapManager.mjs +28 -0
- package/esm2022/src/services/accessor.magic.service.mjs +358 -0
- package/esm2022/src/services/commands-collector.magic.service.mjs +47 -0
- package/esm2022/src/services/component-list.magic.service.mjs +45 -0
- package/{esm2020 → esm2022}/src/services/confirmation.components.magic.provider.mjs +21 -21
- package/esm2022/src/services/engine.magic.service.mjs +80 -0
- package/{esm2020 → esm2022}/src/services/exit.magic.service.mjs +13 -13
- package/esm2022/src/services/magic-color.service.mjs +101 -0
- package/{esm2020 → esm2022}/src/services/magic.lazy.loader.service.mjs +16 -16
- package/{esm2020 → esm2022}/src/services/magic.providers.mjs +24 -24
- package/esm2022/src/services/magic.services.mjs +36 -0
- package/esm2022/src/services/mg-date-adapter.mjs +108 -0
- package/{esm2020 → esm2022}/src/services/overlay.conainer.magic.provider.mjs +14 -14
- package/esm2022/src/services/router-commands.magic.service.mjs +31 -0
- package/esm2022/src/services/subform.magic.service.mjs +194 -0
- package/esm2022/src/services/table.magic.service.mjs +81 -0
- package/esm2022/src/services/task.magics.service.mjs +648 -0
- package/esm2022/src/services/title.magic.service.mjs +19 -0
- package/esm2022/src/ui/GuiInteractiveExecutor.mjs +114 -0
- package/esm2022/src/ui/components/base-magic-alert.component.mjs +24 -0
- package/esm2022/src/ui/components/base-magic-confirm.component.mjs +24 -0
- package/esm2022/src/ui/components/magic-alert.component.mjs +36 -0
- package/esm2022/src/ui/components/magic-confirmation-box.component.mjs +42 -0
- package/esm2022/src/ui/directives/NonMagicControlDirective.mjs +58 -0
- package/esm2022/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +29 -0
- package/esm2022/src/ui/directives/magic/checkbox.magic.directive.mjs +100 -0
- package/esm2022/src/ui/directives/magic/combobox.magic.directive.mjs +37 -0
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +27 -0
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +85 -0
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +32 -0
- package/esm2022/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +28 -0
- package/{esm2020 → esm2022}/src/ui/directives/magic/nocontrol.magic.directive.mjs +193 -193
- package/esm2022/src/ui/directives/magic/row.magic.directive.mjs +62 -0
- package/esm2022/src/ui/directives/magic-focus.directive.mjs +20 -0
- package/esm2022/src/ui/directives/magic.directive.mjs +232 -0
- package/esm2022/src/ui/directives/magicViewContainerRef.directive.mjs +20 -0
- package/esm2022/src/ui/directives/mgformat.magic.directive.mjs +579 -0
- package/esm2022/src/ui/directives/range-validator.magic.directive.mjs +60 -0
- package/{esm2020 → esm2022}/src/ui/magic-confirmationBox.mjs +41 -41
- package/{esm2020 → esm2022}/src/ui/magic-modal/base-magic-overlay-container.mjs +22 -22
- package/esm2022/src/ui/magic-modal/magic-modal-form.mjs +6 -0
- package/{esm2020 → esm2022}/src/ui/magic-modal/magic-modal-interface.mjs +1 -1
- package/esm2022/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +124 -0
- package/esm2022/src/ui/magic-modal/magic-overlay-container.mjs +162 -0
- package/esm2022/src/ui/magic-root.component.mjs +236 -0
- package/esm2022/src/ui/mgerror.magic.component.mjs +125 -0
- package/esm2022/src/ui/pipes/date.magic.pipe.mjs +106 -0
- package/esm2022/src/ui/pipes/time.magic.pipe.mjs +52 -0
- package/esm2022/src/ui/pipes/time24.magic.pipe.mjs +35 -0
- package/esm2022/src/ui/router-container.magic.component.mjs +115 -0
- package/{esm2020 → esm2022}/src/ui/subform.magic.component.mjs +50 -46
- package/esm2022/src/ui/task-base.magic.component.mjs +91 -0
- package/{esm2020 → esm2022}/src/ui/utils.mjs +53 -53
- package/{fesm2020 → fesm2022}/magic-xpa-angular.mjs +4930 -4495
- package/fesm2022/magic-xpa-angular.mjs.map +1 -0
- package/index.d.ts +58 -58
- package/package.json +10 -16
- package/src/controls.metadata.model.d.ts +62 -62
- package/src/interfaces/sub-form-definition.iterface.d.ts +12 -12
- package/src/magic.core.module.d.ts +41 -41
- package/src/services/ISubformMagicService.d.ts +4 -4
- package/src/services/OverlayWindowService.d.ts +30 -31
- package/src/services/StylesMapManager.d.ts +5 -5
- package/src/services/accessor.magic.service.d.ts +69 -69
- package/src/services/commands-collector.magic.service.d.ts +15 -15
- package/src/services/component-list.magic.service.d.ts +23 -23
- package/src/services/confirmation.components.magic.provider.d.ts +8 -8
- package/src/services/engine.magic.service.d.ts +27 -27
- package/src/services/exit.magic.service.d.ts +6 -6
- package/src/services/magic-color.service.d.ts +19 -19
- package/src/services/magic.lazy.loader.service.d.ts +6 -6
- package/src/services/magic.providers.d.ts +107 -107
- package/src/services/magic.services.d.ts +16 -16
- package/src/services/mg-date-adapter.d.ts +38 -40
- package/src/services/overlay.conainer.magic.provider.d.ts +7 -7
- package/src/services/router-commands.magic.service.d.ts +17 -17
- package/src/services/subform.magic.service.d.ts +43 -43
- package/src/services/table.magic.service.d.ts +30 -30
- package/src/services/task.magics.service.d.ts +100 -100
- package/src/services/title.magic.service.d.ts +9 -9
- package/src/ui/GuiInteractiveExecutor.d.ts +22 -22
- package/src/ui/components/base-magic-alert.component.d.ts +10 -10
- package/src/ui/components/base-magic-confirm.component.d.ts +10 -10
- package/src/ui/components/magic-alert.component.d.ts +6 -6
- package/src/ui/components/magic-confirmation-box.component.d.ts +6 -6
- package/src/ui/directives/NonMagicControlDirective.d.ts +26 -26
- package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +9 -9
- package/src/ui/directives/magic/checkbox.magic.directive.d.ts +22 -9
- package/src/ui/directives/magic/combobox.magic.directive.d.ts +10 -10
- package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +7 -7
- package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +23 -17
- package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +7 -7
- package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +9 -9
- package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +18 -18
- package/src/ui/directives/magic/row.magic.directive.d.ts +17 -17
- package/src/ui/directives/magic-focus.directive.d.ts +9 -9
- package/src/ui/directives/magic.directive.d.ts +45 -44
- package/src/ui/directives/magicViewContainerRef.directive.d.ts +8 -8
- package/src/ui/directives/mgformat.magic.directive.d.ts +38 -31
- package/src/ui/directives/range-validator.magic.directive.d.ts +17 -17
- package/src/ui/magic-confirmationBox.d.ts +6 -6
- package/src/ui/magic-modal/base-magic-overlay-container.d.ts +5 -5
- package/src/ui/magic-modal/magic-modal-form.d.ts +5 -5
- package/src/ui/magic-modal/magic-modal-interface.d.ts +10 -10
- package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +30 -31
- package/src/ui/magic-modal/magic-overlay-container.d.ts +24 -25
- package/src/ui/magic-root.component.d.ts +43 -40
- package/src/ui/mgerror.magic.component.d.ts +20 -20
- package/src/ui/pipes/date.magic.pipe.d.ts +17 -17
- package/src/ui/pipes/time.magic.pipe.d.ts +11 -11
- package/src/ui/pipes/time24.magic.pipe.d.ts +10 -10
- package/src/ui/router-container.magic.component.d.ts +29 -30
- package/src/ui/subform.magic.component.d.ts +16 -16
- package/src/ui/task-base.magic.component.d.ts +34 -34
- package/src/ui/utils.d.ts +9 -9
- package/esm2020/src/controls.metadata.model.mjs +0 -180
- package/esm2020/src/services/OverlayWindowService.mjs +0 -236
- package/esm2020/src/services/StylesMapManager.mjs +0 -28
- package/esm2020/src/services/accessor.magic.service.mjs +0 -356
- package/esm2020/src/services/commands-collector.magic.service.mjs +0 -46
- package/esm2020/src/services/component-list.magic.service.mjs +0 -46
- package/esm2020/src/services/engine.magic.service.mjs +0 -82
- package/esm2020/src/services/magic-color.service.mjs +0 -99
- package/esm2020/src/services/magic.services.mjs +0 -31
- package/esm2020/src/services/mg-date-adapter.mjs +0 -109
- package/esm2020/src/services/router-commands.magic.service.mjs +0 -28
- package/esm2020/src/services/subform.magic.service.mjs +0 -184
- package/esm2020/src/services/table.magic.service.mjs +0 -77
- package/esm2020/src/services/task.magics.service.mjs +0 -624
- package/esm2020/src/services/title.magic.service.mjs +0 -18
- package/esm2020/src/ui/GuiInteractiveExecutor.mjs +0 -105
- package/esm2020/src/ui/components/base-magic-alert.component.mjs +0 -23
- package/esm2020/src/ui/components/base-magic-confirm.component.mjs +0 -23
- package/esm2020/src/ui/components/magic-alert.component.mjs +0 -35
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +0 -41
- package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +0 -49
- package/esm2020/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +0 -28
- package/esm2020/src/ui/directives/magic/checkbox.magic.directive.mjs +0 -28
- package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +0 -36
- package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +0 -27
- package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +0 -52
- package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +0 -32
- package/esm2020/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +0 -27
- package/esm2020/src/ui/directives/magic/row.magic.directive.mjs +0 -58
- package/esm2020/src/ui/directives/magic-focus.directive.mjs +0 -19
- package/esm2020/src/ui/directives/magic.directive.mjs +0 -215
- package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +0 -19
- package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +0 -408
- package/esm2020/src/ui/directives/range-validator.magic.directive.mjs +0 -58
- package/esm2020/src/ui/magic-modal/magic-modal-form.mjs +0 -8
- package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +0 -121
- package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +0 -159
- package/esm2020/src/ui/magic-root.component.mjs +0 -203
- package/esm2020/src/ui/mgerror.magic.component.mjs +0 -119
- package/esm2020/src/ui/pipes/date.magic.pipe.mjs +0 -105
- package/esm2020/src/ui/pipes/time.magic.pipe.mjs +0 -51
- package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +0 -34
- package/esm2020/src/ui/router-container.magic.component.mjs +0 -108
- package/esm2020/src/ui/task-base.magic.component.mjs +0 -86
- package/fesm2015/magic-xpa-angular.mjs +0 -4865
- package/fesm2015/magic-xpa-angular.mjs.map +0 -1
- package/fesm2020/magic-xpa-angular.mjs.map +0 -1
@@ -1,26 +1,26 @@
|
|
1
|
-
import { ElementRef, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
2
|
-
import { TaskBaseMagicComponent } from '../task-base.magic.component';
|
3
|
-
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
-
import { Subscription } from 'rxjs';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class NonMagicControlDirective implements OnInit {
|
7
|
-
protected _task: TaskMagicService;
|
8
|
-
protected element: ElementRef;
|
9
|
-
protected renderer: Renderer2;
|
10
|
-
protected vcRef: ViewContainerRef;
|
11
|
-
set magic(val: any);
|
12
|
-
protected htmlElement: HTMLElement;
|
13
|
-
component: TaskBaseMagicComponent;
|
14
|
-
private eventHandlers;
|
15
|
-
id: string;
|
16
|
-
protected selector: string;
|
17
|
-
subscribeRefreshDom: Subscription;
|
18
|
-
eventsOnlyVal: boolean;
|
19
|
-
constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef);
|
20
|
-
get task(): TaskMagicService;
|
21
|
-
protected regEvents(): void;
|
22
|
-
private OnFocus;
|
23
|
-
ngOnInit(): void;
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NonMagicControlDirective, never>;
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NonMagicControlDirective, "[NonMagicControl]", never, { "magic": "NonMagicControl"; }, {}, never, never, false, never>;
|
26
|
-
}
|
1
|
+
import { ElementRef, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
2
|
+
import { TaskBaseMagicComponent } from '../task-base.magic.component';
|
3
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
+
import { Subscription } from 'rxjs';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class NonMagicControlDirective implements OnInit {
|
7
|
+
protected _task: TaskMagicService;
|
8
|
+
protected element: ElementRef;
|
9
|
+
protected renderer: Renderer2;
|
10
|
+
protected vcRef: ViewContainerRef;
|
11
|
+
set magic(val: any);
|
12
|
+
protected htmlElement: HTMLElement;
|
13
|
+
component: TaskBaseMagicComponent;
|
14
|
+
private eventHandlers;
|
15
|
+
id: string;
|
16
|
+
protected selector: string;
|
17
|
+
subscribeRefreshDom: Subscription;
|
18
|
+
eventsOnlyVal: boolean;
|
19
|
+
constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef);
|
20
|
+
get task(): TaskMagicService;
|
21
|
+
protected regEvents(): void;
|
22
|
+
private OnFocus;
|
23
|
+
ngOnInit(): void;
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NonMagicControlDirective, never>;
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NonMagicControlDirective, "[NonMagicControl]", never, { "magic": { "alias": "NonMagicControl"; "required": false; }; }, {}, never, never, false, never>;
|
26
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { MagicDirective } from "../magic.directive";
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class CheckboxNoFormControlMagicDirective {
|
4
|
-
protected magicDirective: MagicDirective;
|
5
|
-
constructor(magicDirective: MagicDirective);
|
6
|
-
onChange($event: any): void;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxNoFormControlMagicDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxNoFormControlMagicDirective, " input[type=checkbox][magic]:([noFormControl]) ", never, {}, {}, never, never, false, never>;
|
9
|
-
}
|
1
|
+
import { MagicDirective } from "../magic.directive";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class CheckboxNoFormControlMagicDirective {
|
4
|
+
protected magicDirective: MagicDirective;
|
5
|
+
constructor(magicDirective: MagicDirective);
|
6
|
+
onChange($event: any): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxNoFormControlMagicDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxNoFormControlMagicDirective, " input[type=checkbox][magic]:([noFormControl]) ", never, {}, {}, never, never, false, never>;
|
9
|
+
}
|
@@ -1,9 +1,22 @@
|
|
1
|
-
import {
|
2
|
-
import
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { MagicDirective } from '../magic.directive';
|
3
|
+
import { TaskMagicService } from "../../../services/task.magics.service";
|
4
|
+
import { GuiCommand } from "@magic-xpa/gui";
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class CheckboxMagicDirective {
|
7
|
+
protected magicDirective: MagicDirective;
|
8
|
+
private el;
|
9
|
+
protected task: TaskMagicService;
|
10
|
+
threeState: boolean;
|
11
|
+
private subscribeRefreshDom;
|
12
|
+
private isIndeterminate;
|
13
|
+
constructor(magicDirective: MagicDirective, el: ElementRef, task: TaskMagicService);
|
14
|
+
onChange($event: any): void;
|
15
|
+
ngOnInit(): void;
|
16
|
+
private regUpdatesUI;
|
17
|
+
handleCommand(command: GuiCommand): void;
|
18
|
+
private handleThreeState;
|
19
|
+
ngOnDestroy(): void;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxMagicDirective, never>;
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMagicDirective, " input[type=checkbox][magic]:not([noFormControl])", never, { "threeState": { "alias": "threeState"; "required": false; }; }, {}, never, never, false, never>;
|
22
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { MagicDirective } from '../magic.directive';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class ComboboxMagicDirective {
|
4
|
-
protected magicDirective: MagicDirective;
|
5
|
-
constructor(magicDirective: MagicDirective);
|
6
|
-
onChange($event: any): void;
|
7
|
-
onComboboxItemsListChanged(): void;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxMagicDirective, never>;
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxMagicDirective, "select[magic]:not([multiple])", never, {}, {}, never, never, false, never>;
|
10
|
-
}
|
1
|
+
import { MagicDirective } from '../magic.directive';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class ComboboxMagicDirective {
|
4
|
+
protected magicDirective: MagicDirective;
|
5
|
+
constructor(magicDirective: MagicDirective);
|
6
|
+
onChange($event: any): void;
|
7
|
+
onComboboxItemsListChanged(): void;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxMagicDirective, never>;
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxMagicDirective, "select[magic]:not([multiple])", never, {}, {}, never, never, false, never>;
|
10
|
+
}
|
package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { CheckboxControlValueAccessor } from '@angular/forms';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare const CHECKBOX_VALUE_ACCESSOR: any;
|
4
|
-
export declare class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
|
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, never, false, never>;
|
7
|
-
}
|
1
|
+
import { CheckboxControlValueAccessor } from '@angular/forms';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare const CHECKBOX_VALUE_ACCESSOR: any;
|
4
|
+
export declare class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
|
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, never, false, never>;
|
7
|
+
}
|
package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts
CHANGED
@@ -1,17 +1,23 @@
|
|
1
|
-
import { ElementRef, Renderer2 } from "@angular/core";
|
2
|
-
import { ControlValueAccessor } from "@angular/forms";
|
3
|
-
import
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
1
|
+
import { ElementRef, Renderer2 } from "@angular/core";
|
2
|
+
import { AbstractControl, ControlValueAccessor } from "@angular/forms";
|
3
|
+
import { MagicDirective } from "../../../magic.directive";
|
4
|
+
import { TaskMagicService } from "../../../../../services/task.magics.service";
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare const DATE_VALUE_ACCESSOR: any;
|
7
|
+
export declare class DateValueAccessor implements ControlValueAccessor {
|
8
|
+
private renderer;
|
9
|
+
private elementRef;
|
10
|
+
protected magicDir: MagicDirective;
|
11
|
+
protected _task: TaskMagicService;
|
12
|
+
onChange: (_: any) => void;
|
13
|
+
onTouched: () => void;
|
14
|
+
onBlurEvent(event: any): void;
|
15
|
+
constructor(renderer: Renderer2, elementRef: ElementRef, magicDir: MagicDirective, _task: TaskMagicService);
|
16
|
+
formatDateWithCentury(userInput: string, century: number, control: AbstractControl): void;
|
17
|
+
writeValue(value: Date): void;
|
18
|
+
registerOnChange(fn: (_: any) => void): void;
|
19
|
+
registerOnTouched(fn: () => void): void;
|
20
|
+
setDisabledState(isDisabled: boolean): void;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, never>;
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "[dateInput]", never, {}, {}, never, never, false, never>;
|
23
|
+
}
|
package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { DefaultValueAccessor } from '@angular/forms';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare const MAGIC_DEFAULT_VALUE_ACCESSOR: any;
|
4
|
-
export declare class MagicDefaultValueAccessor extends DefaultValueAccessor {
|
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, never, false, never>;
|
7
|
-
}
|
1
|
+
import { DefaultValueAccessor } from '@angular/forms';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare const MAGIC_DEFAULT_VALUE_ACCESSOR: any;
|
4
|
+
export declare class MagicDefaultValueAccessor extends DefaultValueAccessor {
|
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, never, false, never>;
|
7
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { MagicDirective } from '../magic.directive';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class InputNoFormControlMagicDirective {
|
4
|
-
protected magicDirective: MagicDirective;
|
5
|
-
constructor(magicDirective: MagicDirective);
|
6
|
-
onChange($event: any): void;
|
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, never, false, never>;
|
9
|
-
}
|
1
|
+
import { MagicDirective } from '../magic.directive';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class InputNoFormControlMagicDirective {
|
4
|
+
protected magicDirective: MagicDirective;
|
5
|
+
constructor(magicDirective: MagicDirective);
|
6
|
+
onChange($event: any): void;
|
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, never, false, never>;
|
9
|
+
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
import { ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
|
2
|
-
import { GuiCommand } from "@magic-xpa/gui";
|
3
|
-
import { MagicDirective } from "../magic.directive";
|
4
|
-
import { TaskMagicService } from "../../../services/task.magics.service";
|
5
|
-
import { RowMagicDirective } from "./row.magic.directive";
|
6
|
-
import { Platform } from "@angular/cdk/platform";
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare class NoControlMagicDirective extends MagicDirective {
|
9
|
-
set magic(val: any);
|
10
|
-
constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef, platform: Platform, magicRow: RowMagicDirective);
|
11
|
-
regEvents(): void;
|
12
|
-
isTabControl(): boolean;
|
13
|
-
isRadio(): boolean;
|
14
|
-
handleCommand(command: GuiCommand): void;
|
15
|
-
handleSetProperty(command: GuiCommand): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoControlMagicDirective, [null, null, null, null, null, { optional: true; }]>;
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NoControlMagicDirective, "[magicnc]", never, { "magic": "magicnc"; }, {}, never, never, false, never>;
|
18
|
-
}
|
1
|
+
import { ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
|
2
|
+
import { GuiCommand } from "@magic-xpa/gui";
|
3
|
+
import { MagicDirective } from "../magic.directive";
|
4
|
+
import { TaskMagicService } from "../../../services/task.magics.service";
|
5
|
+
import { RowMagicDirective } from "./row.magic.directive";
|
6
|
+
import { Platform } from "@angular/cdk/platform";
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class NoControlMagicDirective extends MagicDirective {
|
9
|
+
set magic(val: any);
|
10
|
+
constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef, platform: Platform, magicRow: RowMagicDirective);
|
11
|
+
regEvents(): void;
|
12
|
+
isTabControl(): boolean;
|
13
|
+
isRadio(): boolean;
|
14
|
+
handleCommand(command: GuiCommand): void;
|
15
|
+
handleSetProperty(command: GuiCommand): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoControlMagicDirective, [null, null, null, null, null, { optional: true; }]>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NoControlMagicDirective, "[magicnc]", never, { "magic": { "alias": "magicnc"; "required": false; }; }, {}, never, never, false, never>;
|
18
|
+
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit } from "@angular/core";
|
2
|
-
import { TaskMagicService } from "../../../services/task.magics.service";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class RowMagicDirective implements OnInit, OnDestroy {
|
5
|
-
protected _task: TaskMagicService;
|
6
|
-
protected element: ElementRef;
|
7
|
-
rowId: string;
|
8
|
-
protected htmlElement: HTMLElement;
|
9
|
-
private rowChangedSubscriber;
|
10
|
-
constructor(_task: TaskMagicService, element: ElementRef);
|
11
|
-
ngOnInit(): void;
|
12
|
-
private isInView;
|
13
|
-
ngOnDestroy(): void;
|
14
|
-
onClick($event: any): void;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RowMagicDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RowMagicDirective, "[magicRow]", never, { "rowId": "magicRow"; }, {}, never, never, false, never>;
|
17
|
-
}
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from "@angular/core";
|
2
|
+
import { TaskMagicService } from "../../../services/task.magics.service";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class RowMagicDirective implements OnInit, OnDestroy {
|
5
|
+
protected _task: TaskMagicService;
|
6
|
+
protected element: ElementRef;
|
7
|
+
rowId: string;
|
8
|
+
protected htmlElement: HTMLElement;
|
9
|
+
private rowChangedSubscriber;
|
10
|
+
constructor(_task: TaskMagicService, element: ElementRef);
|
11
|
+
ngOnInit(): void;
|
12
|
+
private isInView;
|
13
|
+
ngOnDestroy(): void;
|
14
|
+
onClick($event: any): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowMagicDirective, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RowMagicDirective, "[magicRow]", never, { "rowId": { "alias": "magicRow"; "required": false; }; }, {}, never, never, false, never>;
|
17
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class MagicFocusDirective {
|
4
|
-
private hostElement;
|
5
|
-
constructor(hostElement: ElementRef);
|
6
|
-
ngAfterViewInit(): void;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicFocusDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicFocusDirective, "[magicFocus]", never, {}, {}, never, never, false, never>;
|
9
|
-
}
|
1
|
+
import { ElementRef } from "@angular/core";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class MagicFocusDirective {
|
4
|
+
private hostElement;
|
5
|
+
constructor(hostElement: ElementRef);
|
6
|
+
ngAfterViewInit(): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicFocusDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicFocusDirective, "[magicFocus]", never, {}, {}, never, never, false, never>;
|
9
|
+
}
|
@@ -1,44 +1,45 @@
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2, ViewContainerRef } from "@angular/core";
|
2
|
-
import { GuiCommand, GuiInteractive } from "@magic-xpa/gui";
|
3
|
-
import { TaskBaseMagicComponent } from "../task-base.magic.component";
|
4
|
-
import { TaskMagicService } from "../../services/task.magics.service";
|
5
|
-
import { RowMagicDirective } from "./magic/row.magic.directive";
|
6
|
-
import { Subscription } from "rxjs";
|
7
|
-
import { Platform } from "@angular/cdk/platform";
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export declare class MagicDirective implements OnInit, OnDestroy {
|
10
|
-
protected _task: TaskMagicService;
|
11
|
-
protected element: ElementRef;
|
12
|
-
protected renderer: Renderer2;
|
13
|
-
protected vcRef: ViewContainerRef;
|
14
|
-
platform: Platform;
|
15
|
-
protected magicRow: RowMagicDirective;
|
16
|
-
set magic(val: any);
|
17
|
-
set eventsOnly(val: any);
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
static
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
private
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
static
|
44
|
-
}
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Renderer2, ViewContainerRef } from "@angular/core";
|
2
|
+
import { GuiCommand, GuiInteractive } from "@magic-xpa/gui";
|
3
|
+
import { TaskBaseMagicComponent } from "../task-base.magic.component";
|
4
|
+
import { TaskMagicService } from "../../services/task.magics.service";
|
5
|
+
import { RowMagicDirective } from "./magic/row.magic.directive";
|
6
|
+
import { Subscription } from "rxjs";
|
7
|
+
import { Platform } from "@angular/cdk/platform";
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
export declare class MagicDirective implements OnInit, OnDestroy {
|
10
|
+
protected _task: TaskMagicService;
|
11
|
+
protected element: ElementRef;
|
12
|
+
protected renderer: Renderer2;
|
13
|
+
protected vcRef: ViewContainerRef;
|
14
|
+
platform: Platform;
|
15
|
+
protected magicRow: RowMagicDirective;
|
16
|
+
set magic(val: any);
|
17
|
+
set eventsOnly(val: any);
|
18
|
+
pollTime: number;
|
19
|
+
rowId: string;
|
20
|
+
protected htmlElement: HTMLElement;
|
21
|
+
component: TaskBaseMagicComponent;
|
22
|
+
private eventHandlers;
|
23
|
+
id: string;
|
24
|
+
protected selector: string;
|
25
|
+
subscribeRefreshDom: Subscription;
|
26
|
+
private focusUnlistener;
|
27
|
+
eventsOnlyVal: boolean;
|
28
|
+
static opened: boolean;
|
29
|
+
static noOfAutoCompleteBoxesOpened: number;
|
30
|
+
subscribeInteractiveCommands: Subscription;
|
31
|
+
constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef, platform: Platform, magicRow: RowMagicDirective);
|
32
|
+
get task(): TaskMagicService;
|
33
|
+
protected regEvents(): void;
|
34
|
+
private OnFocus;
|
35
|
+
IsSameElement(command: any): boolean;
|
36
|
+
private IsSameComponent;
|
37
|
+
private regUpdatesUI;
|
38
|
+
ngOnInit(): void;
|
39
|
+
handleCommand(command: GuiCommand): void;
|
40
|
+
handleInteractiveCommands(command: GuiInteractive): void;
|
41
|
+
handleSetProperty(command: GuiCommand): void;
|
42
|
+
ngOnDestroy(): void;
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDirective, [null, null, null, null, null, { optional: true; }]>;
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDirective, "[magic]", never, { "magic": { "alias": "magic"; "required": false; }; "eventsOnly": { "alias": "eventsOnly"; "required": false; }; "pollTime": { "alias": "pollTime"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; }, {}, never, never, false, never>;
|
45
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ViewContainerRef } from "@angular/core";
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class MagicViewContainerRef {
|
4
|
-
private vcRef;
|
5
|
-
constructor(vcRef: ViewContainerRef);
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicViewContainerRef, never>;
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never, never, false, never>;
|
8
|
-
}
|
1
|
+
import { ViewContainerRef } from "@angular/core";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class MagicViewContainerRef {
|
4
|
+
private vcRef;
|
5
|
+
constructor(vcRef: ViewContainerRef);
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicViewContainerRef, never>;
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never, never, false, never>;
|
8
|
+
}
|
@@ -1,31 +1,38 @@
|
|
1
|
-
import { TaskMagicService } from '../../services/task.magics.service';
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
3
|
-
import { StorageAttribute } from '@magic-xpa/utils';
|
4
|
-
import { MagicDirective } from './magic.directive';
|
5
|
-
import { AbstractControl } from '@angular/forms';
|
6
|
-
import { PIC } from '@magic-xpa/gui';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare class MgformatMagicDirective {
|
9
|
-
protected magicDir: MagicDirective;
|
10
|
-
protected _task: TaskMagicService;
|
11
|
-
datePasteFlag: boolean;
|
12
|
-
constructor(magicDir: MagicDirective, _task: TaskMagicService);
|
13
|
-
ngAfterViewInit(): void;
|
14
|
-
onFocusEvent($event: any): void;
|
15
|
-
onPaste(event: ClipboardEvent): void;
|
16
|
-
onInputEvent(event: any): void;
|
17
|
-
dateMasking(event: any): void;
|
18
|
-
onChangeEvent(
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
1
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
2
|
+
import { RefParam } from '@magic-xpa/mscorelib';
|
3
|
+
import { StorageAttribute } from '@magic-xpa/utils';
|
4
|
+
import { MagicDirective } from './magic.directive';
|
5
|
+
import { AbstractControl } from '@angular/forms';
|
6
|
+
import { PIC } from '@magic-xpa/gui';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class MgformatMagicDirective {
|
9
|
+
protected magicDir: MagicDirective;
|
10
|
+
protected _task: TaskMagicService;
|
11
|
+
datePasteFlag: boolean;
|
12
|
+
constructor(magicDir: MagicDirective, _task: TaskMagicService);
|
13
|
+
ngAfterViewInit(): void;
|
14
|
+
onFocusEvent($event: any): void;
|
15
|
+
onPaste(event: ClipboardEvent): void;
|
16
|
+
onInputEvent(event: any): void;
|
17
|
+
dateMasking(event: any): void;
|
18
|
+
onChangeEvent(event: any): void;
|
19
|
+
onBlurEvent(event: any): void;
|
20
|
+
formatDateWithCentury(userInput: string, century: number, control: AbstractControl): void;
|
21
|
+
updateYear(day: number, month: string, year: number, separator: string, century: number, centuryVal: number, control: AbstractControl): void;
|
22
|
+
getDateSegments1(dateArray: any): any[];
|
23
|
+
getDateSegments2(dateArray: any): any[];
|
24
|
+
getDateSegments3(dateArray: any): any[];
|
25
|
+
getDateSegments4(dateArray: any): any[];
|
26
|
+
calculatePattern(): void;
|
27
|
+
formatDate(pic: PIC): void;
|
28
|
+
formatAlphaUnicode(control: AbstractControl): void;
|
29
|
+
formatBoolean(control: AbstractControl): void;
|
30
|
+
generatePattern(attribute: StorageAttribute, pic: PIC): string;
|
31
|
+
generatePatternForNumber(pic: PIC): string;
|
32
|
+
isPatternGenerationNeeded(attr: StorageAttribute, pic: PIC): boolean;
|
33
|
+
generatePatternForAlpha(pic: PIC): string;
|
34
|
+
getDirectiveCount(mask: string, idx: number, pattern: string, changeInPattern: RefParam<boolean>): number;
|
35
|
+
IsPatternMatches(mask: string, pattern: string): boolean;
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MgformatMagicDirective, never>;
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MgformatMagicDirective, "[mgFormat]", never, {}, {}, never, never, false, never>;
|
38
|
+
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
2
|
-
import { FormControl, Validator } from '@angular/forms';
|
3
|
-
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class RangeValidatorMagicDirective implements Validator {
|
6
|
-
protected _task: TaskMagicService;
|
7
|
-
protected vcRef: ViewContainerRef;
|
8
|
-
constructor(_task: TaskMagicService, vcRef: ViewContainerRef);
|
9
|
-
validate(c: FormControl): {
|
10
|
-
rangevalidator: {
|
11
|
-
errorMsg: string;
|
12
|
-
};
|
13
|
-
};
|
14
|
-
getControlName(c: FormControl): string | null;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RangeValidatorMagicDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValidatorMagicDirective, "[rangevalidator] ", never, {}, {}, never, never, false, never>;
|
17
|
-
}
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
2
|
+
import { FormControl, Validator } from '@angular/forms';
|
3
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class RangeValidatorMagicDirective implements Validator {
|
6
|
+
protected _task: TaskMagicService;
|
7
|
+
protected vcRef: ViewContainerRef;
|
8
|
+
constructor(_task: TaskMagicService, vcRef: ViewContainerRef);
|
9
|
+
validate(c: FormControl): {
|
10
|
+
rangevalidator: {
|
11
|
+
errorMsg: string;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
getControlName(c: FormControl): string | null;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangeValidatorMagicDirective, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValidatorMagicDirective, "[rangevalidator] ", never, {}, {}, never, never, false, never>;
|
17
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Styles } from "@magic-xpa/gui";
|
2
|
-
export declare class confirmationBox {
|
3
|
-
static isConfirmBox(style: Styles): Boolean;
|
4
|
-
static convertToExcpectedResultBox(style: Styles, okWasPressed: Boolean): Styles;
|
5
|
-
static showConfirmationBox(title: string, message: string, style: Styles): boolean;
|
6
|
-
}
|
1
|
+
import { Styles } from "@magic-xpa/gui";
|
2
|
+
export declare class confirmationBox {
|
3
|
+
static isConfirmBox(style: Styles): Boolean;
|
4
|
+
static convertToExcpectedResultBox(style: Styles, okWasPressed: Boolean): Styles;
|
5
|
+
static showConfirmationBox(title: string, message: string, style: Styles): boolean;
|
6
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare abstract class BaseMagicOverlayContainer {
|
2
|
-
abstract ModalComp: any;
|
3
|
-
abstract ModalCompParameters: any;
|
4
|
-
abstract onClose: any;
|
5
|
-
}
|
1
|
+
export declare abstract class BaseMagicOverlayContainer {
|
2
|
+
abstract ModalComp: any;
|
3
|
+
abstract ModalCompParameters: any;
|
4
|
+
abstract onClose: any;
|
5
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare class ModalFormDefinition {
|
2
|
-
taskId: string;
|
3
|
-
comp: any;
|
4
|
-
parameters: any;
|
5
|
-
}
|
1
|
+
export declare class ModalFormDefinition {
|
2
|
+
taskId: string;
|
3
|
+
comp: any;
|
4
|
+
parameters: any;
|
5
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export interface MagicModalInterface {
|
2
|
-
X(): any;
|
3
|
-
Y(): any;
|
4
|
-
Width(): string;
|
5
|
-
Height(): string;
|
6
|
-
IsCenteredToWindow(): any;
|
7
|
-
FormName(): any;
|
8
|
-
ShowTitleBar(): any;
|
9
|
-
ShouldCloseOnBackgroundClick(): any;
|
10
|
-
}
|
1
|
+
export interface MagicModalInterface {
|
2
|
+
X(): any;
|
3
|
+
Y(): any;
|
4
|
+
Width(): string;
|
5
|
+
Height(): string;
|
6
|
+
IsCenteredToWindow(): any;
|
7
|
+
FormName(): any;
|
8
|
+
ShowTitleBar(): any;
|
9
|
+
ShouldCloseOnBackgroundClick(): any;
|
10
|
+
}
|