@simpleangularcontrols/sac-common 16.0.0-rc.1 → 16.0.0-rc.10
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 +8 -16
- package/common/basedatetimecontrol.d.ts +33 -33
- package/common/basedatetimecontrol.d.ts.map +1 -1
- package/common/baseinputcontrol.d.ts +9 -13
- package/common/baseinputcontrol.d.ts.map +1 -1
- package/common/basemodelcontrol.d.ts +161 -86
- package/common/basemodelcontrol.d.ts.map +1 -1
- package/common/baseuploadcontrol.d.ts +136 -141
- package/common/baseuploadcontrol.d.ts.map +1 -1
- package/components/browser/browser.d.ts +11 -6
- package/components/browser/browser.d.ts.map +1 -1
- package/controls/buttons/button.d.ts +23 -22
- package/controls/buttons/button.d.ts.map +1 -1
- package/controls/checkbox/checkbox.d.ts +18 -5
- package/controls/checkbox/checkbox.d.ts.map +1 -1
- package/controls/checkbox/radiobutton.d.ts +9 -0
- package/controls/checkbox/radiobutton.d.ts.map +1 -1
- package/controls/checkbox/radiobuttons.d.ts +21 -20
- package/controls/checkbox/radiobuttons.d.ts.map +1 -1
- package/controls/confirm/confirm.button.d.ts +14 -8
- package/controls/confirm/confirm.button.d.ts.map +1 -1
- package/controls/confirm/confirm.service.d.ts +24 -19
- package/controls/confirm/confirm.service.d.ts.map +1 -1
- package/controls/contextmenu/contextmenu.d.ts +42 -42
- package/controls/contextmenu/contextmenu.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuanchor.d.ts +2 -2
- package/controls/contextmenu/contextmenuanchor.d.ts.map +1 -1
- package/controls/contextmenu/contextmenucontainer.d.ts +2 -2
- package/controls/contextmenu/contextmenucontainer.d.ts.map +1 -1
- package/controls/datetime/date.d.ts +32 -36
- package/controls/datetime/date.d.ts.map +1 -1
- package/controls/datetime/datetime.d.ts +34 -38
- package/controls/datetime/datetime.d.ts.map +1 -1
- package/controls/datetime/time.d.ts +28 -32
- package/controls/datetime/time.d.ts.map +1 -1
- package/controls/form/form.d.ts +7 -43
- package/controls/form/form.d.ts.map +1 -1
- package/controls/grid/grid.d.ts +67 -62
- package/controls/grid/grid.d.ts.map +1 -1
- package/controls/grid/gridbutton.d.ts +14 -14
- package/controls/grid/gridbutton.d.ts.map +1 -1
- package/controls/grid/gridcolumn.d.ts +8 -8
- package/controls/grid/gridcolumn.d.ts.map +1 -1
- package/controls/grid/gridcolumnaction.d.ts +3 -3
- package/controls/grid/gridcolumnaction.d.ts.map +1 -1
- package/controls/grid/gridcolumnbase.d.ts +46 -38
- package/controls/grid/gridcolumnbase.d.ts.map +1 -1
- package/controls/grid/gridimage.d.ts +2 -2
- package/controls/grid/gridimage.d.ts.map +1 -1
- package/controls/grid/model.d.ts +51 -42
- package/controls/grid/model.d.ts.map +1 -1
- package/controls/grid/paging.d.ts +77 -76
- package/controls/grid/paging.d.ts.map +1 -1
- package/controls/input/input.d.ts +11 -11
- package/controls/input/input.d.ts.map +1 -1
- package/controls/input/inputcurrency.d.ts +6 -1
- package/controls/input/inputcurrency.d.ts.map +1 -1
- package/controls/input/inputdecimal.d.ts +21 -21
- package/controls/input/inputdecimal.d.ts.map +1 -1
- package/controls/input/inputemail.d.ts.map +1 -1
- package/controls/input/inputinteger.d.ts +21 -21
- package/controls/input/inputinteger.d.ts.map +1 -1
- package/controls/input/inputpassword.d.ts +5 -5
- package/controls/input/inputpassword.d.ts.map +1 -1
- package/controls/input/inputsearch.d.ts +14 -5
- package/controls/input/inputsearch.d.ts.map +1 -1
- package/controls/layout/formlayout.d.ts +62 -0
- package/controls/layout/formlayout.d.ts.map +1 -0
- package/controls/list/dropdown.d.ts +45 -45
- package/controls/list/dropdown.d.ts.map +1 -1
- package/controls/list/listbox.d.ts +20 -20
- package/controls/list/listbox.d.ts.map +1 -1
- package/controls/multilanguage/multilanguageinput.d.ts +36 -35
- package/controls/multilanguage/multilanguageinput.d.ts.map +1 -1
- package/controls/multilanguage/multilanguageinputarea.d.ts +39 -38
- package/controls/multilanguage/multilanguageinputarea.d.ts.map +1 -1
- package/controls/static/formcontainer.d.ts +3 -7
- package/controls/static/formcontainer.d.ts.map +1 -1
- package/controls/tinymce/tinymce.d.ts +63 -63
- package/controls/tinymce/tinymce.d.ts.map +1 -1
- package/controls/tooltip/tooltip.d.ts +88 -63
- package/controls/tooltip/tooltip.d.ts.map +1 -1
- package/controls/upload/dropzonemultiple.d.ts +24 -24
- package/controls/upload/dropzonemultiple.d.ts.map +1 -1
- package/controls/upload/uploadmultiple.d.ts +9 -9
- package/controls/upload/uploadmultiple.d.ts.map +1 -1
- package/controls/validation/validationsummary.d.ts +18 -13
- package/controls/validation/validationsummary.d.ts.map +1 -1
- package/enums/ButtonRoleType.d.ts +2 -0
- package/enums/ButtonRoleType.d.ts.map +1 -0
- package/enums/ControlHeight.d.ts +18 -0
- package/enums/ControlHeight.d.ts.map +1 -0
- package/esm2022/common/basedatetimecontrol.mjs +41 -163
- package/esm2022/common/baseinputcontrol.mjs +21 -80
- package/esm2022/common/baselistcontrol.mjs +11 -56
- package/esm2022/common/basemodelcontrol.mjs +129 -354
- package/esm2022/common/baseselectcontrol.mjs +6 -27
- package/esm2022/common/baseuploadcontrol.mjs +109 -433
- package/esm2022/components/browser/browser.mjs +66 -474
- package/esm2022/components/browser/models/browserfile.mjs +3 -2
- package/esm2022/components/browser/models/browserfiledeleterequest.mjs +5 -10
- package/esm2022/components/browser/models/browserfilerenamerequest.mjs +5 -10
- package/esm2022/components/browser/models/browserfileresponse.mjs +3 -2
- package/esm2022/components/browser/models/browserfilesaverequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernode.mjs +3 -2
- package/esm2022/components/browser/models/browsernodedeleterequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernodenewrequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernoderenamerequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernoderequest.mjs +5 -10
- package/esm2022/components/browser/models/browsernoderesponse.mjs +3 -2
- package/esm2022/controls/buttons/button.mjs +32 -131
- package/esm2022/controls/checkbox/checkbox.mjs +15 -30
- package/esm2022/controls/checkbox/radiobutton.mjs +24 -98
- package/esm2022/controls/checkbox/radiobuttons.mjs +29 -106
- package/esm2022/controls/confirm/confirm.button.mjs +17 -21
- package/esm2022/controls/confirm/confirm.mjs +19 -69
- package/esm2022/controls/confirm/confirm.service.mjs +29 -74
- package/esm2022/controls/contextmenu/contextmenu.mjs +43 -171
- package/esm2022/controls/contextmenu/contextmenuanchor.mjs +8 -19
- package/esm2022/controls/contextmenu/contextmenucontainer.mjs +8 -19
- package/esm2022/controls/contextmenu/contextmenuitem.mjs +4 -13
- package/esm2022/controls/contextmenu/contextmenuitembutton.mjs +15 -91
- package/esm2022/controls/datetime/date.mjs +44 -207
- package/esm2022/controls/datetime/dateselector.mjs +65 -409
- package/esm2022/controls/datetime/datetime.mjs +46 -224
- package/esm2022/controls/datetime/time.mjs +43 -205
- package/esm2022/controls/dialog/dialog.mjs +33 -194
- package/esm2022/controls/form/form.mjs +27 -153
- package/esm2022/controls/grid/grid.mjs +48 -155
- package/esm2022/controls/grid/gridbutton.mjs +21 -59
- package/esm2022/controls/grid/gridcolumn.mjs +21 -46
- package/esm2022/controls/grid/gridcolumnaction.mjs +8 -22
- package/esm2022/controls/grid/gridcolumnbase.mjs +35 -124
- package/esm2022/controls/grid/gridimage.mjs +5 -16
- package/esm2022/controls/grid/model.mjs +49 -74
- package/esm2022/controls/grid/paging.mjs +82 -251
- package/esm2022/controls/input/input.mjs +17 -65
- package/esm2022/controls/input/inputarea.mjs +10 -53
- package/esm2022/controls/input/inputcurrency.mjs +9 -14
- package/esm2022/controls/input/inputdecimal.mjs +33 -143
- package/esm2022/controls/input/inputemail.mjs +10 -37
- package/esm2022/controls/input/inputinteger.mjs +32 -127
- package/esm2022/controls/input/inputpassword.mjs +12 -43
- package/esm2022/controls/input/inputsearch.mjs +16 -38
- package/esm2022/controls/layout/formlayout.mjs +32 -0
- package/esm2022/controls/list/dropdown.mjs +79 -225
- package/esm2022/controls/list/listbox.mjs +40 -159
- package/esm2022/controls/multilanguage/multilanguageinput.mjs +48 -215
- package/esm2022/controls/multilanguage/multilanguageinputarea.mjs +51 -217
- package/esm2022/controls/static/formcontainer.mjs +14 -45
- package/esm2022/controls/static/staticlabel.mjs +7 -28
- package/esm2022/controls/tabs/tab.mjs +14 -68
- package/esm2022/controls/tabs/tabitem.mjs +7 -37
- package/esm2022/controls/tinymce/tinymce.mjs +62 -232
- package/esm2022/controls/tinymce/tinymcedialogsettings.mjs +5 -10
- package/esm2022/controls/tinymce/tinymcedialogsettingsmeta.mjs +4 -4
- package/esm2022/controls/tinymce/tinymceinstance.mjs +3 -2
- package/esm2022/controls/tooltip/tooltip.mjs +102 -358
- package/esm2022/controls/treeview/ngtreeitemaction.mjs +9 -56
- package/esm2022/controls/treeview/treeview.mjs +53 -299
- package/esm2022/controls/treeview/treeviewchild.mjs +5 -19
- package/esm2022/controls/upload/dropzonemultiple.mjs +32 -152
- package/esm2022/controls/upload/dropzonesingle.mjs +12 -91
- package/esm2022/controls/upload/uploadmultiple.mjs +21 -111
- package/esm2022/controls/upload/uploadsingle.mjs +8 -50
- package/esm2022/controls/validation/validationsummary.mjs +23 -120
- package/esm2022/controls/wizard/wizard.mjs +20 -128
- package/esm2022/controls/wizard/wizarditem.mjs +6 -31
- package/esm2022/enums/ButtonRoleType.mjs +3 -0
- package/esm2022/enums/ControlHeight.mjs +11 -0
- package/esm2022/enums/IconType.mjs +4 -8
- package/esm2022/interfaces/ISacConfigurationService.mjs +3 -0
- package/esm2022/interfaces/ISacFileBrowserService.mjs +3 -2
- package/esm2022/interfaces/ISacIconService.mjs +3 -2
- package/esm2022/interfaces/ISacLabelSizes.mjs +3 -0
- package/esm2022/interfaces/ISacLanguageService.mjs +3 -2
- package/esm2022/interfaces/ISacLocalisationService.mjs +3 -2
- package/esm2022/interfaces/ISacValidationKeyService.mjs +3 -0
- package/esm2022/interfaces/iabstractcontrollabel.mjs +3 -2
- package/esm2022/interfaces/iconfirmcomponent.mjs +3 -2
- package/esm2022/interfaces/idatetimecontrol.mjs +3 -2
- package/esm2022/interfaces/iuploadcontrol.mjs +3 -2
- package/esm2022/models/languagemodel.mjs +5 -11
- package/esm2022/public_api.mjs +25 -94
- package/esm2022/services/index.mjs +3 -5
- package/esm2022/services/sac-configuration.service.mjs +37 -0
- package/esm2022/services/sac-filebrowser.service.mjs +15 -167
- package/esm2022/services/sac-icon.service.mjs +53 -155
- package/esm2022/services/sac-language.service.mjs +7 -45
- package/esm2022/services/sac-localisation.service.mjs +33 -428
- package/esm2022/services/sac-validationkey.service.mjs +7 -0
- package/esm2022/simpleangularcontrols-sac-common.mjs +4 -4
- package/esm2022/utilities/convertion.mjs +6 -26
- package/esm2022/utilities/datatypes.mjs +4 -6
- package/esm2022/utilities/enums.mjs +8 -15
- package/esm2022/utilities/guid.mjs +8 -0
- package/esm2022/utilities/interpolation.mjs +7 -42
- package/esm2022/utilities/positioning.mjs +23 -266
- package/esm2022/validation/email.validator.mjs +3 -13
- package/esm2022/validation/index.mjs +3 -3
- package/esm2022/validation/invaliddate.validator.mjs +3 -14
- package/esm2022/validation/isDateValid.mjs +9 -13
- package/esm2022/validation/maxdate.validator.mjs +4 -21
- package/esm2022/validation/maxtime.validator.mjs +4 -21
- package/esm2022/validation/maxvalue.validator.mjs +3 -16
- package/esm2022/validation/mindate.validator.mjs +4 -21
- package/esm2022/validation/minfiles.validator.mjs +4 -19
- package/esm2022/validation/minlength.validator.mjs +3 -21
- package/esm2022/validation/mintime.validator.mjs +4 -21
- package/esm2022/validation/minvalue.validator.mjs +3 -16
- package/esm2022/validation/multilanguagerequired.validator.mjs +3 -22
- package/esm2022/validation/multilanguagerequiredany.validator.mjs +3 -22
- package/esm2022/validation/pattern.validator.mjs +3 -16
- package/esm2022/validation/required.validator.mjs +3 -13
- package/esm2022/validation/validation.mjs +20 -99
- package/esm2022/validation/validationerrorcreator.mjs +3 -11
- package/esm2022/validation/validationerroritem.mjs +7 -19
- package/fesm2022/simpleangularcontrols-sac-common.mjs +2145 -9181
- package/fesm2022/simpleangularcontrols-sac-common.mjs.map +1 -1
- package/interfaces/ISacConfigurationService.d.ts +55 -0
- package/interfaces/ISacConfigurationService.d.ts.map +1 -0
- package/interfaces/ISacIconService.d.ts +10 -2
- package/interfaces/ISacIconService.d.ts.map +1 -1
- package/interfaces/ISacLabelSizes.d.ts +27 -0
- package/interfaces/ISacLabelSizes.d.ts.map +1 -0
- package/interfaces/ISacValidationKeyService.d.ts +53 -0
- package/interfaces/ISacValidationKeyService.d.ts.map +1 -0
- package/package.json +2 -2
- package/public_api.d.ts +28 -17
- package/public_api.d.ts.map +1 -1
- package/services/index.d.ts +6 -4
- package/services/index.d.ts.map +1 -1
- package/services/sac-configuration.service.d.ts +119 -0
- package/services/sac-configuration.service.d.ts.map +1 -0
- package/services/sac-icon.service.d.ts +16 -0
- package/services/sac-icon.service.d.ts.map +1 -1
- package/services/sac-localisation.service.d.ts +103 -97
- package/services/sac-localisation.service.d.ts.map +1 -1
- package/services/sac-validationkey.service.d.ts +59 -0
- package/services/sac-validationkey.service.d.ts.map +1 -0
- package/simpleangularcontrols-sac-common-16.0.0-rc.10.tgz +0 -0
- package/utilities/guid.d.ts +5 -0
- package/utilities/guid.d.ts.map +1 -0
- package/validation/isDateValid.d.ts.map +1 -1
- package/simpleangularcontrols-sac-common-13.0.0-rc.1.tgz +0 -0
- package/simpleangularcontrols-sac-common-16.0.0-rc.1.tgz +0 -0
|
@@ -3,17 +3,13 @@ import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
|
3
3
|
import * as IMask from 'imask';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
|
-
import {
|
|
6
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Komponente für SacDateTimeCommon. Extends SacBaseDateTimeControl
|
|
10
10
|
*/
|
|
11
11
|
export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
12
|
-
protected
|
|
13
|
-
/**
|
|
14
|
-
* icon service
|
|
15
|
-
*/
|
|
16
|
-
private iconService;
|
|
12
|
+
protected elementRef: ElementRef;
|
|
17
13
|
/**
|
|
18
14
|
* Format des Datums
|
|
19
15
|
*/
|
|
@@ -63,52 +59,56 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
63
59
|
overwrite: boolean;
|
|
64
60
|
};
|
|
65
61
|
/**
|
|
66
|
-
*
|
|
62
|
+
* Resource Key für Validation Message MaxDate bei Control
|
|
67
63
|
*/
|
|
68
|
-
|
|
64
|
+
validationmessagemaxdate: string;
|
|
69
65
|
/**
|
|
70
|
-
*
|
|
66
|
+
* Resource Key für Validation Message MinDate bei Control
|
|
71
67
|
*/
|
|
72
|
-
|
|
68
|
+
validationmessagemindate: string;
|
|
73
69
|
/**
|
|
74
|
-
*
|
|
70
|
+
* Resource Key für Validation Message MaxDate in Validation Summary
|
|
75
71
|
*/
|
|
76
|
-
|
|
72
|
+
validationmessagesummarymaxdate: string;
|
|
77
73
|
/**
|
|
78
|
-
*
|
|
74
|
+
* Resource Key für Validation Message MinDate in Validation Summary
|
|
79
75
|
*/
|
|
80
|
-
|
|
76
|
+
validationmessagesummarymindate: string;
|
|
81
77
|
/**
|
|
82
|
-
*
|
|
78
|
+
* Maximaler Wert des Datums
|
|
83
79
|
*/
|
|
84
|
-
|
|
80
|
+
_maxdate: Date;
|
|
85
81
|
/**
|
|
86
|
-
*
|
|
82
|
+
* Minimaler Wert des Datums
|
|
87
83
|
*/
|
|
88
|
-
|
|
84
|
+
_mindate: Date;
|
|
89
85
|
/**
|
|
90
|
-
*
|
|
86
|
+
* Definiert ob der Date Selector angezeigt wird
|
|
91
87
|
*/
|
|
92
|
-
|
|
88
|
+
_showselector: boolean;
|
|
93
89
|
/**
|
|
94
|
-
*
|
|
90
|
+
* Constructor
|
|
91
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
92
|
+
* @param injector Injector for injecting services
|
|
93
|
+
* @param elementRef reference to html element
|
|
95
94
|
*/
|
|
96
|
-
|
|
95
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* Max Date
|
|
99
98
|
*/
|
|
100
|
-
|
|
99
|
+
set maxdate(v: string | Date | null);
|
|
101
100
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @param parent typ SacFormCommon
|
|
104
|
-
* @param injector typ Injector
|
|
105
|
-
* @param _elementRef typ ElementRef
|
|
101
|
+
* Min Date
|
|
106
102
|
*/
|
|
107
|
-
|
|
103
|
+
set mindate(v: string | Date | null);
|
|
108
104
|
/**
|
|
109
105
|
* icon for date selector button
|
|
110
106
|
*/
|
|
111
107
|
get IconSelector(): string;
|
|
108
|
+
/**
|
|
109
|
+
* HostListener
|
|
110
|
+
*/
|
|
111
|
+
onClick(targetElement: any): void;
|
|
112
112
|
/**
|
|
113
113
|
* Methode ergibt Datum-Format vom String
|
|
114
114
|
*/
|
|
@@ -117,23 +117,19 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
117
117
|
* Methode modifiziert den parsed Wert des Datums
|
|
118
118
|
*/
|
|
119
119
|
ModifyParsedDateTimeValue(v: Moment): Moment;
|
|
120
|
-
/**
|
|
121
|
-
* DateSelector wird beim Click-Event angezeigt
|
|
122
|
-
*/
|
|
123
|
-
showDateSelector(): void;
|
|
124
|
-
/**
|
|
125
|
-
* HostListener
|
|
126
|
-
*/
|
|
127
|
-
onClick(targetElement: any): void;
|
|
128
120
|
/**
|
|
129
121
|
* Methode ergibt das selektierte Datum
|
|
130
122
|
*/
|
|
131
123
|
dateselect(v: any): void;
|
|
124
|
+
/**
|
|
125
|
+
* DateSelector wird beim Click-Event angezeigt
|
|
126
|
+
*/
|
|
127
|
+
showDateSelector(): void;
|
|
132
128
|
/**
|
|
133
129
|
* Validator
|
|
134
130
|
*/
|
|
135
131
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
136
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDateTimeCommon, never>;
|
|
137
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDateTimeCommon, never, never, { "
|
|
133
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDateTimeCommon, never, never, { "validationmessagemaxdate": { "alias": "validationmessagemaxdate"; "required": false; }; "validationmessagemindate": { "alias": "validationmessagemindate"; "required": false; }; "validationmessagesummarymaxdate": { "alias": "validationmessagesummarymaxdate"; "required": false; }; "validationmessagesummarymindate": { "alias": "validationmessagesummarymindate"; "required": false; }; "maxdate": { "alias": "maxdate"; "required": false; }; "mindate": { "alias": "mindate"; "required": false; }; }, {}, never, never, false, never>;
|
|
138
134
|
}
|
|
139
135
|
//# sourceMappingURL=datetime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/datetime.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/datetime.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;;AAO3D;;GAEG;AACH,qBACa,iBAAkB,SAAQ,sBAAsB;IAmGzD,SAAS,CAAC,UAAU,EAAE,UAAU;IAhGlC;;OAEG;IACH,SAAgB,UAAU,EAAE,MAAM,CAAsB;IACxD;;OAEG;IACH;;OAEG;IACH,SAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCvB;IAEF;;OAEG;IACa,wBAAwB,EAAE,MAAM,CACG;IACnD;;OAEG;IACa,wBAAwB,EAAE,MAAM,CACG;IACnD;;OAEG;IACa,+BAA+B,EAAE,MAAM,CACG;IAC1D;;OAEG;IACa,+BAA+B,EAAE,MAAM,CACG;IAE1D;;OAEG;IACI,QAAQ,EAAE,IAAI,CAAQ;IAC7B;;OAEG;IACI,QAAQ,EAAE,IAAI,CAAQ;IAC7B;;OAEG;IACI,aAAa,EAAE,OAAO,CAAS;IAMtC;;;;;OAKG;gBAED,UAAU,EAAE,mBAAmB,EAC/B,QAAQ,EAAE,QAAQ,EACR,UAAU,EAAE,UAAU;IASlC;;OAEG;IACH,IACW,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAQzC;IAED;;OAEG;IACH,IACW,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAQzC;IAED;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAEhC;IAMD;;OAEG;IAKI,OAAO,CAAC,aAAa,KAAA;IAO5B;;OAEG;IACI,uBAAuB,IAAI,MAAM;IAIxC;;OAEG;IACI,yBAAyB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAInD;;OAEG;IACI,UAAU,CAAC,CAAC,EAAE,GAAG;IAUxB;;OAEG;IACI,gBAAgB,IAAI,IAAI;IAa/B;;OAEG;IACI,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;yCA/MrD,iBAAiB;2CAAjB,iBAAiB;CAsP7B"}
|
|
@@ -3,13 +3,13 @@ import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
|
3
3
|
import * as IMask from 'imask';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
|
-
import {
|
|
6
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Komponente für SacTimeCommon. Extends SacBaseDateTimeControl
|
|
10
10
|
*/
|
|
11
11
|
export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
12
|
-
protected
|
|
12
|
+
protected elementRef: ElementRef;
|
|
13
13
|
/**
|
|
14
14
|
* Format des Datums
|
|
15
15
|
*/
|
|
@@ -39,56 +39,56 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
39
39
|
overwrite: boolean;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Resource Key für Validation Message MinTime bei Control
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
validationmessagemaxtime: string;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Resource Key für Validation Message MinTime bei Control
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
validationmessagemintime: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Resource Key für Validation Message MinTime in Validation Summary
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
validationmessagesummarymaxtime: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Resource Key für Validation Message MinTime in Validation Summary
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
validationmessagesummarymintime: string;
|
|
57
57
|
/**
|
|
58
58
|
* Max Time
|
|
59
59
|
*/
|
|
60
60
|
_maxtime: Date;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
_showselector: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Resource Key für Validation Message MinTime bei Control
|
|
62
|
+
* Min Time
|
|
67
63
|
*/
|
|
68
|
-
|
|
64
|
+
_mintime: Date;
|
|
69
65
|
/**
|
|
70
|
-
*
|
|
66
|
+
* Definiert ob der Date Selector angezeigt wird
|
|
71
67
|
*/
|
|
72
|
-
|
|
68
|
+
_showselector: boolean;
|
|
73
69
|
/**
|
|
74
|
-
*
|
|
70
|
+
* Constructor
|
|
71
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
72
|
+
* @param injector Injector for injecting services
|
|
73
|
+
* @param elementRef reference to html element
|
|
75
74
|
*/
|
|
76
|
-
|
|
75
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
77
76
|
/**
|
|
78
|
-
*
|
|
77
|
+
* Max Time
|
|
79
78
|
*/
|
|
80
|
-
|
|
79
|
+
set maxtime(v: string | Date | null);
|
|
81
80
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @param parent typ SacFormCommon
|
|
84
|
-
* @param injector typ Injector
|
|
85
|
-
* @param _elementRef typ ElementRef
|
|
81
|
+
* Min Time
|
|
86
82
|
*/
|
|
87
|
-
|
|
83
|
+
set mintime(v: string | Date | null);
|
|
88
84
|
/**
|
|
89
85
|
* icon for date selector button
|
|
90
86
|
*/
|
|
91
87
|
get IconSelector(): string;
|
|
88
|
+
/**
|
|
89
|
+
* HostListener
|
|
90
|
+
*/
|
|
91
|
+
onClick(targetElement: any): void;
|
|
92
92
|
/**
|
|
93
93
|
* Methode ergibt Datum-Format vom String
|
|
94
94
|
*/
|
|
@@ -101,10 +101,6 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
101
101
|
* Zeigt Date Selector an
|
|
102
102
|
*/
|
|
103
103
|
showTimeSelector(): void;
|
|
104
|
-
/**
|
|
105
|
-
* HostListener
|
|
106
|
-
*/
|
|
107
|
-
onClick(targetElement: any): void;
|
|
108
104
|
/**
|
|
109
105
|
* Time Selector
|
|
110
106
|
*/
|
|
@@ -114,6 +110,6 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
114
110
|
*/
|
|
115
111
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
116
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacTimeCommon, never>;
|
|
117
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacTimeCommon, never, never, { "
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacTimeCommon, never, never, { "validationmessagemaxtime": { "alias": "validationmessagemaxtime"; "required": false; }; "validationmessagemintime": { "alias": "validationmessagemintime"; "required": false; }; "validationmessagesummarymaxtime": { "alias": "validationmessagesummarymaxtime"; "required": false; }; "validationmessagesummarymintime": { "alias": "validationmessagesummarymintime"; "required": false; }; "maxtime": { "alias": "maxtime"; "required": false; }; "mintime": { "alias": "mintime"; "required": false; }; }, {}, never, never, false, never>;
|
|
118
114
|
}
|
|
119
115
|
//# sourceMappingURL=time.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/time.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/time.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;;AAO3D;;GAEG;AACH,qBACa,aAAc,SAAQ,sBAAsB;IA+ErD,SAAS,CAAC,UAAU,EAAE,UAAU;IA5ElC;;OAEG;IACH,SAAgB,UAAU,EAAE,MAAM,CAAW;IAC7C;;OAEG;IACH,SAAgB,SAAS;;;;;;;;;;;;;;;;;;;;MAoBvB;IAEF;;OAEG;IACa,wBAAwB,EAAE,MAAM,CACG;IACnD;;OAEG;IACa,wBAAwB,EAAE,MAAM,CACG;IACnD;;OAEG;IACa,+BAA+B,EAAE,MAAM,CACG;IAC1D;;OAEG;IACa,+BAA+B,EAAE,MAAM,CACG;IAE1D;;OAEG;IACI,QAAQ,EAAE,IAAI,CAAQ;IAC7B;;OAEG;IACI,QAAQ,EAAE,IAAI,CAAQ;IAC7B;;OAEG;IACI,aAAa,EAAE,OAAO,CAAS;IAMtC;;;;;OAKG;gBAED,UAAU,EAAE,mBAAmB,EAC/B,QAAQ,EAAE,QAAQ,EACR,UAAU,EAAE,UAAU;IASlC;;OAEG;IACH,IACW,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAUzC;IAED;;OAEG;IACH,IACW,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAUzC;IAED;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAEhC;IAMD;;OAEG;IAKI,OAAO,CAAC,aAAa,KAAA;IAO5B;;OAEG;IACI,uBAAuB,IAAI,MAAM;IAIxC;;OAEG;IACI,yBAAyB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAOnD;;OAEG;IACI,gBAAgB,IAAI,IAAI;IAW/B;;OAEG;IACI,UAAU,CAAC,CAAC,EAAE,GAAG;IAUxB;;OAEG;IACI,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;yCAhMrD,aAAa;2CAAb,aAAa;CAuOzB"}
|
package/controls/form/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NgForm } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Type for form actions
|
|
5
5
|
*/
|
|
6
6
|
export type FormHooks = 'change' | 'blur' | 'submit';
|
|
7
7
|
/**
|
|
@@ -9,56 +9,24 @@ export type FormHooks = 'change' | 'blur' | 'submit';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class SacFormCommon {
|
|
11
11
|
private form;
|
|
12
|
-
/**
|
|
13
|
-
* Inline Errors für das Formular
|
|
14
|
-
*/
|
|
15
|
-
private _inlineerrorenabled;
|
|
16
|
-
/**
|
|
17
|
-
* Form Control
|
|
18
|
-
*/
|
|
19
|
-
SacFormular: string;
|
|
20
|
-
/**
|
|
21
|
-
* Default Label Size for Form
|
|
22
|
-
*/
|
|
23
|
-
labelsize: number;
|
|
24
|
-
/**
|
|
25
|
-
* Kontroliert, ob das Label adaptive ist
|
|
26
|
-
*/
|
|
27
|
-
isadaptivelabel: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Type des Forms
|
|
30
|
-
*/
|
|
31
|
-
orientation: string;
|
|
32
12
|
/**
|
|
33
13
|
* Standardwert wann die Werte via NgModel aktualisiert werden
|
|
34
14
|
*/
|
|
35
15
|
private _updateon;
|
|
16
|
+
/**
|
|
17
|
+
* Konstruktor
|
|
18
|
+
* @param form Instanz von NgForm
|
|
19
|
+
*/
|
|
20
|
+
constructor(form: NgForm);
|
|
36
21
|
/**
|
|
37
22
|
* Definiert, wenn das Model geupdatet wird
|
|
38
23
|
*/
|
|
39
24
|
set updateon(v: FormHooks);
|
|
40
25
|
get updateon(): FormHooks;
|
|
41
|
-
/**
|
|
42
|
-
* Aktiviert oder Deaktiviert die Inline Errors für das Control
|
|
43
|
-
*/
|
|
44
|
-
set inlineerrorenabled(value: boolean);
|
|
45
|
-
/**
|
|
46
|
-
* Aktiviert oder Deaktiviert die Inline Errors für das Control
|
|
47
|
-
*/
|
|
48
|
-
get inlineerrorenabled(): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Vertikale oder horizontale Orientierung des Formulars zurück
|
|
51
|
-
*/
|
|
52
|
-
getOrientation(): string;
|
|
53
26
|
/**
|
|
54
27
|
* Gibt die NgForm Instanz zurück
|
|
55
28
|
*/
|
|
56
29
|
getForm(): NgForm;
|
|
57
|
-
/**
|
|
58
|
-
* Konstruktor
|
|
59
|
-
* @param form Instanz von NgForm
|
|
60
|
-
*/
|
|
61
|
-
constructor(form: NgForm);
|
|
62
30
|
/**
|
|
63
31
|
* Markiert alle Controls innerhalb des Formulares als Touched
|
|
64
32
|
*/
|
|
@@ -77,11 +45,7 @@ export declare class SacFormCommon {
|
|
|
77
45
|
* @param controls Controls Collection
|
|
78
46
|
*/
|
|
79
47
|
private updateValueAndValidityInternal;
|
|
80
|
-
/**
|
|
81
|
-
* Gibt zurück, ob die Inline Error Meldungen für das Formular aktiv sind.
|
|
82
|
-
*/
|
|
83
|
-
get IsInlineErrorEnabled(): boolean;
|
|
84
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacFormCommon, never>;
|
|
85
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormCommon, never, never, { "
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormCommon, never, never, { "updateon": { "alias": "updateon"; "required": false; }; }, {}, never, never, false, never>;
|
|
86
50
|
}
|
|
87
51
|
//# sourceMappingURL=form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/form/form.ts"],"names":[],"mappings":"AACA,OAAO,EAAqC,MAAM,EAAE,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/form/form.ts"],"names":[],"mappings":"AACA,OAAO,EAAqC,MAAM,EAAE,MAAM,gBAAgB,CAAC;;AAK3E;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AAMrD;;GAEG;AACH,qBACa,aAAa;IAgBZ,OAAO,CAAC,IAAI;IAbxB;;OAEG;IACH,OAAO,CAAC,SAAS,CAAuB;IAMxC;;;OAGG;gBACiB,IAAI,EAAE,MAAM;IAQhC;;OAEG;IACH,IACW,QAAQ,CAAC,CAAC,EAAE,SAAS,EAG/B;IAED,IAAW,QAAQ,IAAI,SAAS,CAE/B;IAMD;;OAEG;IACI,OAAO,IAAI,MAAM;IAIxB;;OAEG;IACI,aAAa,IAAI,IAAI;IAM5B;;OAEG;IACI,sBAAsB,CAAC,aAAa,GAAE,OAAc,GAAG,IAAI;IAgBlE;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAa7B;;;OAGG;IACH,OAAO,CAAC,8BAA8B;yCAjG3B,aAAa;2CAAb,aAAa;CAiHzB"}
|
package/controls/grid/grid.d.ts
CHANGED
|
@@ -1,126 +1,131 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ISacValidationKeyService } from '../../interfaces/ISacValidationKeyService';
|
|
2
3
|
import { PagerData, PagerRequest, SortDescriptor, SortOrder } from './model';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
+
* Basic component for SacGrid
|
|
6
7
|
*/
|
|
7
8
|
export declare abstract class SacGridCommon {
|
|
8
9
|
private cd;
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param cd Change Detection Service
|
|
11
|
+
* Page number of the active page.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
protected activePage: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Contains the number of the first page displayed in Pager.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
protected firstPageNumber: number;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Contains the number of the last page in Pager. The value is calculated automatically.
|
|
20
20
|
*/
|
|
21
|
-
protected
|
|
21
|
+
protected lastPageNumber: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Contains Array of Pages.
|
|
24
24
|
*/
|
|
25
|
-
protected
|
|
25
|
+
protected paginators: Array<any>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Input property for Body.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
body: TemplateRef<any>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Text which is displayed if no rows are available.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
emptytext: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Property for headers.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
headers: TemplateRef<any>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* Pager kann ausgeschaltet werden, in dem PagerData auf NULL gesetzt wird.
|
|
39
|
+
* Property for the maximum pages that are visible.
|
|
42
40
|
*/
|
|
43
|
-
|
|
41
|
+
maxvisiblepagenumbers: number;
|
|
44
42
|
/**
|
|
45
|
-
*
|
|
43
|
+
* Control Name. Used to generate the ID and names.
|
|
46
44
|
*/
|
|
47
45
|
name: string;
|
|
48
46
|
/**
|
|
49
|
-
*
|
|
47
|
+
* Pager configuration. Pager can be switched off by setting PagerData to `null`.
|
|
50
48
|
*/
|
|
51
|
-
|
|
49
|
+
pagerdata: PagerData;
|
|
52
50
|
/**
|
|
53
|
-
*
|
|
54
|
-
* Folgende Interpolation Texte sind vorhanden:
|
|
55
|
-
* {{CURRENTPAGE}}: Aktuelle Seite
|
|
56
|
-
* {{TOTALPAGES}}: Anzahl Seiten
|
|
51
|
+
* Deactivates the selection of the PageSize in the pager
|
|
57
52
|
*/
|
|
58
|
-
|
|
53
|
+
pagesizedisabled: boolean;
|
|
59
54
|
/**
|
|
60
|
-
*
|
|
61
|
-
* Folgende Interpolation Texte sind vorhanden:
|
|
62
|
-
* {{PAGESIZE}}: Anzahl Elemente pro Seite
|
|
55
|
+
* Defines the number of elements per page that can be selected. The default is 20, 50 and 100. The values must be separated with a `|`.
|
|
63
56
|
*/
|
|
64
|
-
|
|
57
|
+
pagesizes: string;
|
|
65
58
|
/**
|
|
66
|
-
*
|
|
59
|
+
* Text in Page for number of page elements per page. The following interpolation texts are available:
|
|
60
|
+
*
|
|
61
|
+
* {{PAGESIZE}}: Number of elements per page
|
|
67
62
|
*/
|
|
68
|
-
|
|
63
|
+
pagesizetext: string;
|
|
69
64
|
/**
|
|
70
|
-
*
|
|
65
|
+
* Text in pager for 'Page x of y'. The following interpolation texts are available:
|
|
66
|
+
*
|
|
67
|
+
* {{CURRENTPAGE}}: Current page
|
|
68
|
+
*
|
|
69
|
+
* {{TOTALPAGES}}: Number of pages
|
|
71
70
|
*/
|
|
72
|
-
|
|
71
|
+
pagingtext: string;
|
|
73
72
|
/**
|
|
74
|
-
*
|
|
73
|
+
* Grid data
|
|
75
74
|
*/
|
|
76
|
-
|
|
75
|
+
value: any;
|
|
77
76
|
/**
|
|
78
|
-
*
|
|
77
|
+
* Event when the pager is clicked.
|
|
79
78
|
*/
|
|
80
|
-
|
|
79
|
+
paging: EventEmitter<PagerRequest>;
|
|
81
80
|
/**
|
|
82
|
-
*
|
|
81
|
+
* Event when a header is clicked so that the grid is sorted.
|
|
83
82
|
*/
|
|
84
|
-
|
|
83
|
+
sorting: EventEmitter<SortDescriptor>;
|
|
85
84
|
/**
|
|
86
|
-
*
|
|
85
|
+
* Number of columns in the grid
|
|
87
86
|
*/
|
|
88
|
-
|
|
87
|
+
ColumnCount: number;
|
|
89
88
|
/**
|
|
90
|
-
*
|
|
89
|
+
* Column by which currently sorted.
|
|
91
90
|
*/
|
|
92
|
-
|
|
91
|
+
sortColumn: string;
|
|
93
92
|
/**
|
|
94
|
-
*
|
|
93
|
+
* Current direction of sorting
|
|
95
94
|
*/
|
|
96
95
|
sortDirection: SortOrder;
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* Service with the validation keys. Is required to load the default texts for the pager etc.
|
|
99
98
|
*/
|
|
100
|
-
|
|
99
|
+
validationKeyService: ISacValidationKeyService;
|
|
101
100
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @param
|
|
101
|
+
* Constructor
|
|
102
|
+
* @param cd Change Detection Service
|
|
103
|
+
* @param injector DI Injector
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
constructor(cd: ChangeDetectorRef, injector: Injector);
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Model for sorting
|
|
108
|
+
* @param sortDescription Settings for current sorting
|
|
108
109
|
*/
|
|
109
|
-
|
|
110
|
+
set sortdata(sortDescription: SortDescriptor);
|
|
110
111
|
/**
|
|
111
|
-
*
|
|
112
|
+
* The method increases the column elements by one
|
|
112
113
|
*/
|
|
113
|
-
|
|
114
|
+
RegisterColumn(): void;
|
|
114
115
|
/**
|
|
115
|
-
*
|
|
116
|
+
* Method for sorting the data.
|
|
116
117
|
*/
|
|
117
118
|
SortBy(command: any): void;
|
|
118
119
|
/**
|
|
119
|
-
*
|
|
120
|
-
* @param sortDescription Settings für aktuelle sortierung
|
|
120
|
+
* The method reduces the column elements by one
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
UnregisterColumn(): void;
|
|
123
|
+
/**
|
|
124
|
+
* Method if Grid is to switch to a new page.
|
|
125
|
+
* @param newStartIndex New Page Index (Zero-Based)
|
|
126
|
+
*/
|
|
127
|
+
pageChange(newStartIndex: any): void;
|
|
123
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacGridCommon, never>;
|
|
124
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacGridCommon, never, never, { "
|
|
129
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacGridCommon, never, never, { "body": { "alias": "body"; "required": false; }; "emptytext": { "alias": "emptytext"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "maxvisiblepagenumbers": { "alias": "maxvisiblepagenumbers"; "required": false; }; "name": { "alias": "name"; "required": false; }; "pagerdata": { "alias": "pagerdata"; "required": false; }; "pagesizedisabled": { "alias": "pagesizedisabled"; "required": false; }; "pagesizes": { "alias": "pagesizes"; "required": false; }; "pagesizetext": { "alias": "pagesizetext"; "required": false; }; "pagingtext": { "alias": "pagingtext"; "required": false; }; "value": { "alias": "value"; "required": false; }; "sortdata": { "alias": "sortdata"; "required": false; }; }, { "paging": "paging"; "sorting": "sorting"; }, never, never, false, never>;
|
|
125
130
|
}
|
|
126
131
|
//# sourceMappingURL=grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/grid/grid.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EACZ,QAAQ,EAGR,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAKrF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;;AAE7E;;GAEG;AACH,8BACsB,aAAa;IAmHrB,OAAO,CAAC,EAAE;IAhHtB;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,CAAK;IACjC;;OAEG;IACH,SAAS,CAAC,eAAe,EAAE,MAAM,CAAK;IACtC;;OAEG;IACH,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEtC;;OAEG;IACa,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IACvC;;OAEG;IAEI,SAAS,EAAE,MAAM,CAAC;IACzB;;OAEG;IACa,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1C;;OAEG;IACa,qBAAqB,EAAE,MAAM,CAAC;IAC9C;;OAEG;IAEI,IAAI,EAAE,MAAM,CAAC;IACpB;;OAEG;IAEI,SAAS,EAAE,SAAS,CAAC;IAC5B;;OAEG;IAEI,gBAAgB,EAAE,OAAO,CAAS;IACzC;;OAEG;IAEI,SAAS,EAAE,MAAM,CAAe;IACvC;;;;OAIG;IAEI,YAAY,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IAEI,UAAU,EAAE,MAAM,CAAC;IAC1B;;OAEG;IAEI,KAAK,EAAE,GAAG,CAAC;IAClB;;OAEG;IACc,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAChB;IACnC;;OAEG;IACc,OAAO,EAAE,YAAY,CAAC,cAAc,CAAC,CACjB;IAErC;;OAEG;IACI,WAAW,EAAE,MAAM,CAAK;IAC/B;;OAEG;IACI,UAAU,EAAE,MAAM,CAAM;IAC/B;;OAEG;IACI,aAAa,EAAE,SAAS,CAAkB;IACjD;;OAEG;IACI,oBAAoB,EAAE,wBAAwB,CAAC;IAMtD;;;;OAIG;gBACiB,EAAE,EAAE,iBAAiB,EAAE,QAAQ,EAAE,QAAQ;IAe7D;;;OAGG;IACH,IACW,QAAQ,CAAC,eAAe,EAAE,cAAc,EAGlD;IAMD;;OAEG;IACI,cAAc;IAMrB;;OAEG;IACI,MAAM,CAAC,OAAO,KAAA;IAwBrB;;OAEG;IACI,gBAAgB;IAIvB;;;OAGG;IACI,UAAU,CAAC,aAAa,KAAA;yCA/LX,aAAa;2CAAb,aAAa;CAoMlC"}
|
|
@@ -5,33 +5,33 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacGridButtonCommon {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Button is deactivated
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
protected _isdisabledvalue: boolean;
|
|
11
11
|
/**
|
|
12
|
-
* Icon
|
|
12
|
+
* Icon name from sprite
|
|
13
13
|
*/
|
|
14
14
|
icon: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Input property for styling the button. Defines the CSS classes of the button
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
iconstyle: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @param v Deaktiviert den Button
|
|
22
|
-
* @return Definiert ob der Button deaktiviert ist
|
|
20
|
+
* Event when the button is clicked
|
|
23
21
|
*/
|
|
24
|
-
|
|
25
|
-
get isdisabled(): boolean | string;
|
|
22
|
+
clicked: EventEmitter<any>;
|
|
26
23
|
/**
|
|
27
|
-
*
|
|
24
|
+
* Deactivating buttons
|
|
25
|
+
* @param v Deactivates the button. Can be a Boolean or the strings `true` or `false`.
|
|
26
|
+
* @return Defines whether the button is deactivated. Is always a Boolean type
|
|
28
27
|
*/
|
|
29
|
-
|
|
28
|
+
set isdisabled(v: boolean | string);
|
|
29
|
+
get isdisabled(): boolean | string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Triggers the clicked event if the button is not deactivated.
|
|
32
32
|
*/
|
|
33
33
|
callaction(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacGridButtonCommon, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacGridButtonCommon, never, never, { "
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacGridButtonCommon, never, never, { "icon": { "alias": "icon"; "required": false; }; "iconstyle": { "alias": "iconstyle"; "required": false; }; "isdisabled": { "alias": "isdisabled"; "required": false; }; }, { "clicked": "clicked"; }, never, never, false, never>;
|
|
36
36
|
}
|
|
37
37
|
//# sourceMappingURL=gridbutton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gridbutton.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/grid/gridbutton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;;AAEvE;;GAEG;AACH,qBACa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"gridbutton.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/grid/gridbutton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;;AAEvE;;GAEG;AACH,qBACa,mBAAmB;IAG9B;;OAEG;IACH,SAAS,CAAC,gBAAgB,EAAE,OAAO,CAAS;IAE5C;;OAEG;IAEI,IAAI,EAAE,MAAM,CAAC;IACpB;;OAEG;IAEI,SAAS,EAAE,MAAM,CAAM;IAC9B;;OAEG;IAEI,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAA2B;IAM5D;;;;OAIG;IACH,IACW,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,EAMxC;IAED,IAAW,UAAU,IAAI,OAAO,GAAG,MAAM,CAExC;IAMD;;OAEG;IACI,UAAU;yCArDN,mBAAmB;2CAAnB,mBAAmB;CA4D/B"}
|