@simpleangularcontrols/sac-common 10.0.0-rc.2 → 10.0.0-rc.21
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/bundles/simpleangularcontrols-sac-common.umd.js +2232 -1604
- package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
- package/common/basedatetimecontrol.d.ts +100 -14
- package/common/baseinputcontrol.d.ts +0 -4
- package/common/basemodelcontrol.d.ts +55 -27
- package/common/baseuploadcontrol.d.ts +71 -55
- package/controls/checkbox/checkbox.d.ts +12 -3
- package/controls/checkbox/radiobutton.d.ts +61 -26
- package/controls/contextmenu/contextmenu.d.ts +26 -19
- package/controls/contextmenu/contextmenu.interface.d.ts +3 -0
- package/controls/contextmenu/contextmenuitem.d.ts +5 -0
- package/controls/contextmenu/contextmenuitembutton.d.ts +21 -20
- package/controls/datetime/date.d.ts +28 -31
- package/controls/datetime/datetime.d.ts +27 -31
- package/controls/datetime/time.d.ts +26 -30
- package/controls/dialog/dialog.d.ts +31 -43
- package/controls/grid/grid.d.ts +38 -36
- package/controls/grid/gridbutton.d.ts +13 -13
- package/controls/grid/gridcolumn.d.ts +8 -8
- package/controls/grid/gridcolumnaction.d.ts +3 -3
- package/controls/grid/gridcolumnbase.d.ts +45 -37
- package/controls/grid/gridimage.d.ts +2 -2
- package/controls/grid/model.d.ts +51 -42
- package/controls/grid/paging.d.ts +41 -43
- package/controls/input/input.d.ts +3 -3
- package/controls/input/inputarea.d.ts +5 -5
- package/controls/input/inputpassword.d.ts +7 -7
- package/controls/input/inputsearch.d.ts +13 -4
- package/controls/layout/formlayout.d.ts +17 -1
- package/controls/list/buildvaluestring.d.ts +6 -0
- package/controls/list/dropdown.d.ts +9 -51
- package/controls/list/dropdownoptions.d.ts +38 -0
- package/controls/multilanguage/multilanguageinput.d.ts +2 -2
- package/controls/multilanguage/multilanguageinputarea.d.ts +4 -4
- package/controls/static/formcontainer.d.ts +7 -3
- package/controls/tooltip/tooltip.d.ts +76 -69
- package/controls/treeview/treeview.d.ts +107 -107
- package/esm2015/common/basedatetimecontrol.js +185 -30
- package/esm2015/common/baseinputcontrol.js +2 -7
- package/esm2015/common/basemodelcontrol.js +109 -57
- package/esm2015/common/baseuploadcontrol.js +92 -59
- package/esm2015/controls/checkbox/checkbox.js +29 -6
- package/esm2015/controls/checkbox/radiobutton.js +94 -45
- package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -0
- package/esm2015/controls/contextmenu/contextmenu.interface.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenu.js +22 -23
- package/esm2015/controls/contextmenu/contextmenuitem.js +13 -2
- package/esm2015/controls/contextmenu/contextmenuitembutton.js +34 -25
- package/esm2015/controls/datetime/date.js +44 -43
- package/esm2015/controls/datetime/datetime.js +43 -43
- package/esm2015/controls/datetime/time.js +43 -43
- package/esm2015/controls/dialog/dialog.js +41 -83
- package/esm2015/controls/grid/grid.js +21 -21
- package/esm2015/controls/grid/gridbutton.js +19 -13
- package/esm2015/controls/grid/gridcolumn.js +14 -7
- package/esm2015/controls/grid/gridcolumnaction.js +6 -5
- package/esm2015/controls/grid/gridcolumnbase.js +67 -55
- package/esm2015/controls/grid/gridimage.js +3 -3
- package/esm2015/controls/grid/model.js +51 -30
- package/esm2015/controls/grid/paging.js +40 -42
- package/esm2015/controls/input/input.js +6 -8
- package/esm2015/controls/input/inputarea.js +19 -12
- package/esm2015/controls/input/inputpassword.js +12 -12
- package/esm2015/controls/input/inputsearch.js +35 -6
- package/esm2015/controls/layout/formlayout.js +20 -8
- package/esm2015/controls/list/buildvaluestring.js +18 -0
- package/esm2015/controls/{treeview/ngtreeitemaction.ngfactory.js → list/buildvaluestring.ngfactory.js} +1 -1
- package/esm2015/controls/list/dropdown.js +16 -114
- package/esm2015/controls/list/dropdownoptions.js +72 -0
- package/esm2015/controls/{treeview/treeviewchild.ngfactory.js → list/dropdownoptions.ngfactory.js} +1 -1
- package/esm2015/controls/multilanguage/multilanguageinput.js +8 -14
- package/esm2015/controls/multilanguage/multilanguageinputarea.js +9 -15
- package/esm2015/controls/static/formcontainer.js +16 -5
- package/esm2015/controls/tooltip/tooltip.js +126 -245
- package/esm2015/controls/treeview/treeview.js +276 -231
- package/esm2015/interfaces/ISacConfigurationService.js +1 -1
- package/esm2015/interfaces/ISacIconService.js +1 -1
- package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -0
- package/esm2015/interfaces/ISacUploadEventCompleteState.ngfactory.js +7 -0
- package/esm2015/interfaces/ISacValidationKeyService.js +1 -1
- package/esm2015/interfaces/treeviewaction.interface.js +1 -0
- package/esm2015/interfaces/treeviewaction.interface.ngfactory.js +7 -0
- package/esm2015/public_api.js +15 -8
- package/esm2015/services/sac-configuration.service.js +31 -5
- package/esm2015/services/sac-icon.service.js +37 -1
- package/esm2015/services/sac-localisation.service.js +69 -180
- package/esm2015/services/sac-validationkey.service.js +12 -9
- package/esm2015/simpleangularcontrols-sac-common.js +1 -7
- package/esm2015/utilities/enums.js +5 -1
- package/esm2015/utilities/guid.js +4 -2
- package/esm2015/utilities/popuphelper.js +343 -0
- package/esm2015/utilities/popuphelper.ngfactory.js +7 -0
- package/esm2015/validation/equals.validator.js +14 -0
- package/esm2015/validation/equals.validator.ngfactory.js +7 -0
- package/esm2015/validation/isDateValid.js +9 -1
- package/esm2015/validation/mintextlength.validator.js +23 -0
- package/esm2015/validation/mintextlength.validator.ngfactory.js +7 -0
- package/esm2015/validation/notequals.validator.js +14 -0
- package/esm2015/validation/{minlength.validator.ngfactory.js → notequals.validator.ngfactory.js} +1 -1
- package/esm2015/validation/validation.class.js +35 -6
- package/fesm2015/simpleangularcontrols-sac-common.js +2070 -1498
- package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
- package/interfaces/ISacConfigurationService.d.ts +20 -0
- package/interfaces/ISacIconService.d.ts +24 -0
- package/interfaces/ISacUploadEventCompleteState.d.ts +5 -0
- package/interfaces/ISacUploadEventCompleteState.ngfactory.d.ts +1 -0
- package/interfaces/ISacValidationKeyService.d.ts +2 -2
- package/interfaces/treeviewaction.interface.d.ts +4 -0
- package/interfaces/treeviewaction.interface.ngfactory.d.ts +1 -0
- package/package.json +2 -2
- package/public_api.d.ts +13 -6
- package/services/sac-configuration.service.d.ts +40 -0
- package/services/sac-icon.service.d.ts +49 -1
- package/services/sac-localisation.service.d.ts +10 -10
- package/services/sac-validationkey.service.d.ts +7 -7
- package/simpleangularcontrols-sac-common-10.0.0-rc.21.tgz +0 -0
- package/simpleangularcontrols-sac-common.d.ts +0 -6
- package/simpleangularcontrols-sac-common.metadata.json +1 -1
- package/utilities/enums.d.ts +3 -1
- package/utilities/popuphelper.d.ts +83 -0
- package/utilities/popuphelper.ngfactory.d.ts +1 -0
- package/validation/equals.validator.d.ts +2 -0
- package/validation/equals.validator.ngfactory.d.ts +1 -0
- package/validation/mintextlength.validator.d.ts +2 -0
- package/validation/mintextlength.validator.ngfactory.d.ts +1 -0
- package/validation/notequals.validator.d.ts +2 -0
- package/validation/notequals.validator.ngfactory.d.ts +1 -0
- package/validation/validation.class.d.ts +22 -3
- package/controls/treeview/ngtreeitemaction.d.ts +0 -40
- package/controls/treeview/treeviewchild.d.ts +0 -12
- package/esm2015/controls/treeview/ngtreeitemaction.js +0 -60
- package/esm2015/controls/treeview/treeviewchild.js +0 -18
- package/esm2015/validation/minlength.validator.js +0 -21
- package/simpleangularcontrols-sac-common-10.0.0-rc.2.tgz +0 -0
- package/validation/minlength.validator.d.ts +0 -2
- /package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → contextmenu/contextmenu.interface.ngfactory.d.ts} +0 -0
- /package/controls/{treeview/treeviewchild.ngfactory.d.ts → list/buildvaluestring.ngfactory.d.ts} +0 -0
- /package/{validation/minlength.validator.ngfactory.d.ts → controls/list/dropdownoptions.ngfactory.d.ts} +0 -0
|
@@ -1,28 +1,39 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
1
|
import { ControlHeight } from '../../enums/ControlHeight';
|
|
2
|
+
import { ISacConfigurationService } from '../../interfaces/ISacConfigurationService';
|
|
3
|
+
import { ISacIconService } from '../../interfaces/ISacIconService';
|
|
4
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
3
5
|
import { SacRadiobuttonsCommon } from './radiobuttons';
|
|
6
|
+
import { EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
4
7
|
/**
|
|
5
8
|
* Basis Komponente für SacRadiobutton.
|
|
6
9
|
*/
|
|
7
|
-
export declare abstract class SacRadiobuttonCommon implements OnDestroy {
|
|
10
|
+
export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy {
|
|
8
11
|
protected sacRadioButtons: SacRadiobuttonsCommon;
|
|
12
|
+
private readonly injector;
|
|
9
13
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param SacRadioButtons
|
|
14
|
+
* Boolean Property zum Ausblenden des Controls; default Wert - false
|
|
12
15
|
*/
|
|
13
|
-
|
|
16
|
+
private _hidden;
|
|
14
17
|
/**
|
|
15
|
-
*
|
|
18
|
+
* Service for loading default settings for the controls
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
protected readonly configurationService: ISacConfigurationService;
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* Form layout instance if exists
|
|
20
23
|
*/
|
|
21
|
-
|
|
24
|
+
protected formlayout: SacFormLayoutCommon;
|
|
22
25
|
/**
|
|
23
|
-
*
|
|
26
|
+
* icon service
|
|
24
27
|
*/
|
|
25
|
-
|
|
28
|
+
protected iconService: ISacIconService;
|
|
29
|
+
/**
|
|
30
|
+
* public public public public public public public public public public public public public ControlHeight enum for use in HTML markup
|
|
31
|
+
*/
|
|
32
|
+
ControlHeight: typeof ControlHeight;
|
|
33
|
+
/**
|
|
34
|
+
* Unique Index für RadioButton
|
|
35
|
+
*/
|
|
36
|
+
_index: number;
|
|
26
37
|
/**
|
|
27
38
|
* Boolean Property, ob Radiobutton checked ist
|
|
28
39
|
*/
|
|
@@ -31,27 +42,45 @@ export declare abstract class SacRadiobuttonCommon implements OnDestroy {
|
|
|
31
42
|
* Boolean Property, ob Radiobutton disabled ist
|
|
32
43
|
*/
|
|
33
44
|
disabled: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Text to support the user during input.
|
|
47
|
+
*/
|
|
48
|
+
helptext: string;
|
|
49
|
+
/**
|
|
50
|
+
* Mode for display helptext
|
|
51
|
+
*/
|
|
52
|
+
helptextmode: 'tooltip' | 'text' | null;
|
|
53
|
+
/**
|
|
54
|
+
* Label Text
|
|
55
|
+
*/
|
|
56
|
+
label: string;
|
|
57
|
+
/**
|
|
58
|
+
* Template für Value Element
|
|
59
|
+
*/
|
|
60
|
+
labeltemplate: TemplateRef<any>;
|
|
34
61
|
/**
|
|
35
62
|
* Output Event
|
|
36
63
|
*/
|
|
37
64
|
onselectitem: EventEmitter<any>;
|
|
38
65
|
/**
|
|
39
|
-
*
|
|
66
|
+
* Wert
|
|
40
67
|
*/
|
|
41
|
-
|
|
68
|
+
value: any;
|
|
42
69
|
/**
|
|
43
|
-
*
|
|
70
|
+
* Konstruktor
|
|
71
|
+
* @param SacRadioButtons
|
|
72
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
73
|
+
* @param injector Injector for injecting services
|
|
44
74
|
*/
|
|
45
|
-
|
|
75
|
+
constructor(sacRadioButtons: SacRadiobuttonsCommon, formlayout: SacFormLayoutCommon, injector: Injector);
|
|
46
76
|
/**
|
|
47
|
-
*
|
|
77
|
+
* Get Icon for Helptext Tooltip
|
|
48
78
|
*/
|
|
49
|
-
|
|
50
|
-
get hidden(): boolean | string;
|
|
79
|
+
get HelptextTooltipIcon(): string;
|
|
51
80
|
/**
|
|
52
|
-
*
|
|
81
|
+
* define the control height from parent control
|
|
53
82
|
*/
|
|
54
|
-
|
|
83
|
+
get componentHeight(): ControlHeight | null;
|
|
55
84
|
/**
|
|
56
85
|
* Getter für Unique Index
|
|
57
86
|
*/
|
|
@@ -60,20 +89,26 @@ export declare abstract class SacRadiobuttonCommon implements OnDestroy {
|
|
|
60
89
|
* Parent Control Name
|
|
61
90
|
*/
|
|
62
91
|
get getName(): string;
|
|
92
|
+
get hidden(): boolean | string;
|
|
63
93
|
/**
|
|
64
|
-
*
|
|
94
|
+
* Setter für hidden Property
|
|
65
95
|
*/
|
|
66
|
-
|
|
96
|
+
set hidden(v: boolean | string);
|
|
67
97
|
/**
|
|
68
|
-
*
|
|
98
|
+
* Methode ergibt Boolean, ob Control disabled ist
|
|
69
99
|
*/
|
|
70
|
-
|
|
100
|
+
get isDisabled(): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Event bei Änderungen
|
|
103
|
+
*/
|
|
104
|
+
ChangeEvent(): void;
|
|
71
105
|
/**
|
|
72
106
|
* Event wenn die Komponente zerstört wird
|
|
73
107
|
*/
|
|
74
108
|
ngOnDestroy(): void;
|
|
109
|
+
ngOnInit(): void;
|
|
75
110
|
/**
|
|
76
|
-
*
|
|
111
|
+
* Set mode for helptext. Can be tooltip or text
|
|
77
112
|
*/
|
|
78
|
-
|
|
113
|
+
private setHelpTextMode;
|
|
79
114
|
}
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
import { ElementRef, Injector, NgZone, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
2
1
|
import { ISacIconService } from '../../interfaces/ISacIconService';
|
|
3
2
|
import { PlacementArray } from '../../utilities/positioning';
|
|
3
|
+
import { ISacContextmenuCommon } from './contextmenu.interface';
|
|
4
|
+
import { SacContextmenuItemCommon } from './contextmenuitem';
|
|
5
|
+
import { AfterContentInit, ElementRef, Injector, NgZone, OnDestroy, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
4
6
|
/**
|
|
5
7
|
* Base Context Menü Element. Die Logik wurde aus NG-BOOTSTRAP übernommen.
|
|
6
8
|
*/
|
|
7
|
-
export declare class SacContextmenuCommon implements OnDestroy {
|
|
8
|
-
private document;
|
|
9
|
-
private ngZone;
|
|
10
|
-
private elementRef;
|
|
11
|
-
private renderer;
|
|
9
|
+
export declare class SacContextmenuCommon implements ISacContextmenuCommon, AfterContentInit, OnDestroy {
|
|
10
|
+
private readonly document;
|
|
11
|
+
private readonly ngZone;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
private readonly renderer;
|
|
12
14
|
/**
|
|
13
|
-
* Button für Open/Close Event
|
|
15
|
+
* Button für Open/Close Event
|
|
14
16
|
*/
|
|
15
|
-
private
|
|
17
|
+
private readonly _anchor;
|
|
16
18
|
/**
|
|
17
|
-
* Button für Open/Close Event
|
|
19
|
+
* Button für Open/Close Event aus Template
|
|
18
20
|
*/
|
|
19
|
-
private
|
|
21
|
+
private readonly _anchorTemplate;
|
|
20
22
|
/**
|
|
21
23
|
* Container Element für Dropdown
|
|
22
24
|
*/
|
|
23
|
-
private _menu;
|
|
25
|
+
private readonly _menu;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
27
|
+
* Zone Subscription für Postitonierung des Elements
|
|
26
28
|
*/
|
|
27
|
-
private
|
|
29
|
+
private readonly zoneSubscription;
|
|
28
30
|
/**
|
|
29
|
-
*
|
|
31
|
+
* Body HTML Element
|
|
30
32
|
*/
|
|
31
|
-
private
|
|
33
|
+
private bodyContainer;
|
|
32
34
|
/**
|
|
33
35
|
* icon service
|
|
34
36
|
*/
|
|
@@ -49,6 +51,10 @@ export declare class SacContextmenuCommon implements OnDestroy {
|
|
|
49
51
|
* Definiert ob das Dropdown offen ist.
|
|
50
52
|
*/
|
|
51
53
|
isopen: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* All directly assigned context menu elements that are defined in the direct template for the context menu.
|
|
56
|
+
*/
|
|
57
|
+
menuitems: QueryList<SacContextmenuItemCommon>;
|
|
52
58
|
/**
|
|
53
59
|
* The preferred placement of the dropdown.
|
|
54
60
|
*
|
|
@@ -76,18 +82,19 @@ export declare class SacContextmenuCommon implements OnDestroy {
|
|
|
76
82
|
* icon for default context menü button
|
|
77
83
|
*/
|
|
78
84
|
get IconContextMenu(): string;
|
|
79
|
-
/**
|
|
80
|
-
* HostListener um das Dropdown zu schliessen wenn nicht auf das Element geklickt wird.
|
|
81
|
-
*/
|
|
82
|
-
onClick(targetElement: any): void;
|
|
83
85
|
/**
|
|
84
86
|
* Schliesst das Dropdown
|
|
85
87
|
*/
|
|
86
88
|
close(): void;
|
|
89
|
+
ngAfterContentInit(): void;
|
|
87
90
|
/**
|
|
88
91
|
* Event wenn Component entfernt wird.
|
|
89
92
|
*/
|
|
90
93
|
ngOnDestroy(): void;
|
|
94
|
+
/**
|
|
95
|
+
* HostListener um das Dropdown zu schliessen wenn nicht auf das Element geklickt wird.
|
|
96
|
+
*/
|
|
97
|
+
onClick(targetElement: any): void;
|
|
91
98
|
/**
|
|
92
99
|
* Öffnet das Dropdown / Zeigt das Menü an.
|
|
93
100
|
*/
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { ISacContextmenuCommon } from './contextmenu.interface';
|
|
1
2
|
/**
|
|
2
3
|
* Base Context Menu Item
|
|
3
4
|
*/
|
|
4
5
|
export declare class SacContextmenuItemCommon {
|
|
6
|
+
/**
|
|
7
|
+
* Reference to the higher-level context menu. This property is always set automatically by the context menu. However, it may be necessary to set the reference manually.
|
|
8
|
+
*/
|
|
9
|
+
contextmenu: ISacContextmenuCommon | null;
|
|
5
10
|
}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { SacContextmenuCommon } from './contextmenu';
|
|
3
1
|
import { SacContextmenuItemCommon } from './contextmenuitem';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
4
3
|
/**
|
|
5
4
|
* Base Context Menu Button Item
|
|
6
5
|
*/
|
|
7
6
|
export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCommon {
|
|
8
|
-
protected contextmenu: SacContextmenuCommon;
|
|
9
|
-
/**
|
|
10
|
-
* Constructor
|
|
11
|
-
* @param contextmenu Instance of Context Menü.
|
|
12
|
-
*/
|
|
13
|
-
constructor(contextmenu: SacContextmenuCommon);
|
|
14
7
|
/**
|
|
15
8
|
* Menu Item ist deaktiviert
|
|
16
9
|
*/
|
|
@@ -20,13 +13,17 @@ export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCo
|
|
|
20
13
|
*/
|
|
21
14
|
protected _isicondisabled: boolean;
|
|
22
15
|
/**
|
|
23
|
-
*
|
|
16
|
+
* Event wenn auf den Button geklickt wird
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
clicked: EventEmitter<void>;
|
|
26
19
|
/**
|
|
27
20
|
* css class for button styling
|
|
28
21
|
*/
|
|
29
22
|
cssclass: string;
|
|
23
|
+
/**
|
|
24
|
+
* Icon für Menü
|
|
25
|
+
*/
|
|
26
|
+
icon: string;
|
|
30
27
|
/**
|
|
31
28
|
* Input Property für Styling des Buttons. Definiert die Css Klassen des Buttons
|
|
32
29
|
*/
|
|
@@ -36,29 +33,33 @@ export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCo
|
|
|
36
33
|
*/
|
|
37
34
|
image: string;
|
|
38
35
|
/**
|
|
39
|
-
*
|
|
36
|
+
* name of button. used for generate id and name
|
|
40
37
|
*/
|
|
41
|
-
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* Text für Menü Item.
|
|
41
|
+
*/
|
|
42
|
+
text: string;
|
|
43
|
+
/**
|
|
44
|
+
* Constructor
|
|
45
|
+
*/
|
|
46
|
+
constructor();
|
|
42
47
|
/**
|
|
43
48
|
* Menu Item ist deaktiviert
|
|
44
49
|
*/
|
|
45
50
|
get isdisabled(): boolean | string;
|
|
46
51
|
/**
|
|
47
|
-
*
|
|
52
|
+
* Menu Item ist deaktiviert
|
|
48
53
|
*/
|
|
49
|
-
set
|
|
54
|
+
set isdisabled(v: boolean | string);
|
|
50
55
|
/**
|
|
51
56
|
* Icon Column in Menü ist deaktiviert
|
|
52
57
|
*/
|
|
53
58
|
get isicondisabled(): boolean | string;
|
|
54
59
|
/**
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
text: string;
|
|
58
|
-
/**
|
|
59
|
-
* Event wenn auf den Button geklickt wird
|
|
60
|
+
* Icon Column in Menü ist deaktiviert
|
|
60
61
|
*/
|
|
61
|
-
|
|
62
|
+
set isicondisabled(v: boolean | string);
|
|
62
63
|
/**
|
|
63
64
|
* Die Methode wird das cklickaction Emitter aktivieren
|
|
64
65
|
*/
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import * as IMask from 'imask';
|
|
4
|
-
import { Moment } from 'moment';
|
|
5
1
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
2
|
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
3
|
+
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
4
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import * as IMask from 'imask';
|
|
6
|
+
import * as moment_ from 'moment';
|
|
7
7
|
/**
|
|
8
8
|
* Komponente für SacDateCommon. Extends SacBaseDateTimeControl
|
|
9
9
|
*/
|
|
10
|
-
export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
10
|
+
export declare abstract class SacDateCommon extends SacBaseDateTimeControl {
|
|
11
11
|
protected elementRef: ElementRef;
|
|
12
|
-
/**
|
|
13
|
-
* icon service
|
|
14
|
-
*/
|
|
15
|
-
private iconService;
|
|
16
12
|
/**
|
|
17
13
|
* Format des Datums
|
|
18
14
|
*/
|
|
@@ -46,6 +42,18 @@ export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
|
46
42
|
lazy: boolean;
|
|
47
43
|
overwrite: boolean;
|
|
48
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Min Date
|
|
47
|
+
*/
|
|
48
|
+
_maxdate: Date;
|
|
49
|
+
/**
|
|
50
|
+
* Min Date
|
|
51
|
+
*/
|
|
52
|
+
_mindate: Date;
|
|
53
|
+
/**
|
|
54
|
+
* Moment JS module instance
|
|
55
|
+
*/
|
|
56
|
+
moment: any;
|
|
49
57
|
/**
|
|
50
58
|
* Resource Key für Validation Message MaxDate bei Control
|
|
51
59
|
*/
|
|
@@ -62,25 +70,18 @@ export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
|
62
70
|
* Resource Key für Validation Message MinDate in Validation Summary
|
|
63
71
|
*/
|
|
64
72
|
validationmessagesummarymindate: string;
|
|
65
|
-
/**
|
|
66
|
-
* Min Date
|
|
67
|
-
*/
|
|
68
|
-
_maxdate: Date;
|
|
69
|
-
/**
|
|
70
|
-
* Min Date
|
|
71
|
-
*/
|
|
72
|
-
_mindate: Date;
|
|
73
|
-
/**
|
|
74
|
-
* Definiert ob der Date Selector angezeigt wird
|
|
75
|
-
*/
|
|
76
|
-
_showselector: boolean;
|
|
77
73
|
/**
|
|
78
74
|
* Constructor
|
|
79
75
|
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
80
76
|
* @param injector Injector for injecting services
|
|
81
77
|
* @param elementRef reference to html element
|
|
78
|
+
* @param cdRef Change Dectection Servie
|
|
82
79
|
*/
|
|
83
|
-
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
80
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
|
|
81
|
+
/**
|
|
82
|
+
* icon for date selector button
|
|
83
|
+
*/
|
|
84
|
+
get IconSelector(): string;
|
|
84
85
|
/**
|
|
85
86
|
* Min Date
|
|
86
87
|
*/
|
|
@@ -89,14 +90,6 @@ export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
|
89
90
|
* Min Date
|
|
90
91
|
*/
|
|
91
92
|
set mindate(v: string | Date | null);
|
|
92
|
-
/**
|
|
93
|
-
* icon for date selector button
|
|
94
|
-
*/
|
|
95
|
-
get IconSelector(): string;
|
|
96
|
-
/**
|
|
97
|
-
* HostListener
|
|
98
|
-
*/
|
|
99
|
-
onClick(targetElement: any): void;
|
|
100
93
|
/**
|
|
101
94
|
* Methode ergibt Datum-Format vom String
|
|
102
95
|
*/
|
|
@@ -104,11 +97,15 @@ export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
|
104
97
|
/**
|
|
105
98
|
* Methode ergibt Datum - Moment
|
|
106
99
|
*/
|
|
107
|
-
ModifyParsedDateTimeValue(v: Moment): Moment;
|
|
100
|
+
ModifyParsedDateTimeValue(v: moment_.Moment): moment_.Moment;
|
|
108
101
|
/**
|
|
109
102
|
* Date Selector
|
|
110
103
|
*/
|
|
111
104
|
dateselect(v: any): void;
|
|
105
|
+
/**
|
|
106
|
+
* HostListener
|
|
107
|
+
*/
|
|
108
|
+
onClick(targetElement: any): void;
|
|
112
109
|
/**
|
|
113
110
|
* Zeigt Date Selector an
|
|
114
111
|
*/
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import * as IMask from 'imask';
|
|
4
|
-
import { Moment } from 'moment';
|
|
5
1
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
2
|
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
3
|
+
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
4
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import * as IMask from 'imask';
|
|
6
|
+
import * as moment_ from 'moment';
|
|
7
7
|
/**
|
|
8
8
|
* Komponente für SacDateTimeCommon. Extends SacBaseDateTimeControl
|
|
9
9
|
*/
|
|
10
|
-
export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
10
|
+
export declare abstract class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
11
11
|
protected elementRef: ElementRef;
|
|
12
|
-
/**
|
|
13
|
-
* icon service
|
|
14
|
-
*/
|
|
15
|
-
private iconService;
|
|
16
12
|
/**
|
|
17
13
|
* Format des Datums
|
|
18
14
|
*/
|
|
@@ -61,6 +57,18 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
61
57
|
lazy: boolean;
|
|
62
58
|
overwrite: boolean;
|
|
63
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* Maximaler Wert des Datums
|
|
62
|
+
*/
|
|
63
|
+
_maxdate: Date;
|
|
64
|
+
/**
|
|
65
|
+
* Minimaler Wert des Datums
|
|
66
|
+
*/
|
|
67
|
+
_mindate: Date;
|
|
68
|
+
/**
|
|
69
|
+
* Moment JS module instance
|
|
70
|
+
*/
|
|
71
|
+
moment: any;
|
|
64
72
|
/**
|
|
65
73
|
* Resource Key für Validation Message MaxDate bei Control
|
|
66
74
|
*/
|
|
@@ -77,25 +85,17 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
77
85
|
* Resource Key für Validation Message MinDate in Validation Summary
|
|
78
86
|
*/
|
|
79
87
|
validationmessagesummarymindate: string;
|
|
80
|
-
/**
|
|
81
|
-
* Maximaler Wert des Datums
|
|
82
|
-
*/
|
|
83
|
-
_maxdate: Date;
|
|
84
|
-
/**
|
|
85
|
-
* Minimaler Wert des Datums
|
|
86
|
-
*/
|
|
87
|
-
_mindate: Date;
|
|
88
|
-
/**
|
|
89
|
-
* Definiert ob der Date Selector angezeigt wird
|
|
90
|
-
*/
|
|
91
|
-
_showselector: boolean;
|
|
92
88
|
/**
|
|
93
89
|
* Constructor
|
|
94
90
|
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
95
91
|
* @param injector Injector for injecting services
|
|
96
92
|
* @param elementRef reference to html element
|
|
97
93
|
*/
|
|
98
|
-
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
94
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
|
|
95
|
+
/**
|
|
96
|
+
* icon for date selector button
|
|
97
|
+
*/
|
|
98
|
+
get IconSelector(): string;
|
|
99
99
|
/**
|
|
100
100
|
* Max Date
|
|
101
101
|
*/
|
|
@@ -104,14 +104,6 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
104
104
|
* Min Date
|
|
105
105
|
*/
|
|
106
106
|
set mindate(v: string | Date | null);
|
|
107
|
-
/**
|
|
108
|
-
* icon for date selector button
|
|
109
|
-
*/
|
|
110
|
-
get IconSelector(): string;
|
|
111
|
-
/**
|
|
112
|
-
* HostListener
|
|
113
|
-
*/
|
|
114
|
-
onClick(targetElement: any): void;
|
|
115
107
|
/**
|
|
116
108
|
* Methode ergibt Datum-Format vom String
|
|
117
109
|
*/
|
|
@@ -119,11 +111,15 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
119
111
|
/**
|
|
120
112
|
* Methode modifiziert den parsed Wert des Datums
|
|
121
113
|
*/
|
|
122
|
-
ModifyParsedDateTimeValue(v: Moment): Moment;
|
|
114
|
+
ModifyParsedDateTimeValue(v: moment_.Moment): moment_.Moment;
|
|
123
115
|
/**
|
|
124
116
|
* Methode ergibt das selektierte Datum
|
|
125
117
|
*/
|
|
126
118
|
dateselect(v: any): void;
|
|
119
|
+
/**
|
|
120
|
+
* HostListener
|
|
121
|
+
*/
|
|
122
|
+
onClick(targetElement: any): void;
|
|
127
123
|
/**
|
|
128
124
|
* DateSelector wird beim Click-Event angezeigt
|
|
129
125
|
*/
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import * as IMask from 'imask';
|
|
4
|
-
import { Moment } from 'moment';
|
|
5
1
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
2
|
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
3
|
+
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
4
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import * as IMask from 'imask';
|
|
6
|
+
import * as moment_ from 'moment';
|
|
7
7
|
/**
|
|
8
8
|
* Komponente für SacTimeCommon. Extends SacBaseDateTimeControl
|
|
9
9
|
*/
|
|
10
10
|
export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
11
11
|
protected elementRef: ElementRef;
|
|
12
|
-
/**
|
|
13
|
-
* icon service
|
|
14
|
-
*/
|
|
15
|
-
private iconService;
|
|
16
12
|
/**
|
|
17
13
|
* Format des Datums
|
|
18
14
|
*/
|
|
@@ -41,6 +37,18 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
41
37
|
lazy: boolean;
|
|
42
38
|
overwrite: boolean;
|
|
43
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* Max Time
|
|
42
|
+
*/
|
|
43
|
+
_maxtime: Date;
|
|
44
|
+
/**
|
|
45
|
+
* Min Time
|
|
46
|
+
*/
|
|
47
|
+
_mintime: Date;
|
|
48
|
+
/**
|
|
49
|
+
* Moment JS module instance
|
|
50
|
+
*/
|
|
51
|
+
moment: any;
|
|
44
52
|
/**
|
|
45
53
|
* Resource Key für Validation Message MinTime bei Control
|
|
46
54
|
*/
|
|
@@ -57,25 +65,17 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
57
65
|
* Resource Key für Validation Message MinTime in Validation Summary
|
|
58
66
|
*/
|
|
59
67
|
validationmessagesummarymintime: string;
|
|
60
|
-
/**
|
|
61
|
-
* Max Time
|
|
62
|
-
*/
|
|
63
|
-
_maxtime: Date;
|
|
64
|
-
/**
|
|
65
|
-
* Min Time
|
|
66
|
-
*/
|
|
67
|
-
_mintime: Date;
|
|
68
|
-
/**
|
|
69
|
-
* Definiert ob der Date Selector angezeigt wird
|
|
70
|
-
*/
|
|
71
|
-
_showselector: boolean;
|
|
72
68
|
/**
|
|
73
69
|
* Constructor
|
|
74
70
|
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
75
71
|
* @param injector Injector for injecting services
|
|
76
72
|
* @param elementRef reference to html element
|
|
77
73
|
*/
|
|
78
|
-
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
74
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
|
|
75
|
+
/**
|
|
76
|
+
* icon for date selector button
|
|
77
|
+
*/
|
|
78
|
+
get IconSelector(): string;
|
|
79
79
|
/**
|
|
80
80
|
* Max Time
|
|
81
81
|
*/
|
|
@@ -84,14 +84,6 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
84
84
|
* Min Time
|
|
85
85
|
*/
|
|
86
86
|
set mintime(v: string | Date | null);
|
|
87
|
-
/**
|
|
88
|
-
* icon for date selector button
|
|
89
|
-
*/
|
|
90
|
-
get IconSelector(): string;
|
|
91
|
-
/**
|
|
92
|
-
* HostListener
|
|
93
|
-
*/
|
|
94
|
-
onClick(targetElement: any): void;
|
|
95
87
|
/**
|
|
96
88
|
* Methode ergibt Datum-Format vom String
|
|
97
89
|
*/
|
|
@@ -99,7 +91,11 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
99
91
|
/**
|
|
100
92
|
* Methode ergibt Datum - Moment
|
|
101
93
|
*/
|
|
102
|
-
ModifyParsedDateTimeValue(v: Moment): Moment;
|
|
94
|
+
ModifyParsedDateTimeValue(v: moment_.Moment): moment_.Moment;
|
|
95
|
+
/**
|
|
96
|
+
* HostListener
|
|
97
|
+
*/
|
|
98
|
+
onClick(targetElement: any): void;
|
|
103
99
|
/**
|
|
104
100
|
* Zeigt Date Selector an
|
|
105
101
|
*/
|