@simpleangularcontrols/sac-common 10.0.0-rc.29 → 10.0.0-rc.30
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 +1848 -1249
- 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 +47 -21
- package/common/baseinputcontrol.d.ts +10 -8
- package/common/baselistcontrol.d.ts +15 -15
- package/common/basemodelcontrol.d.ts +59 -43
- package/common/baseselectcontrol.d.ts +5 -5
- package/common/baseuploadcontrol.d.ts +77 -57
- package/components/browser/browser.d.ts +86 -89
- package/components/browser/models/browserfile.d.ts +6 -6
- package/components/browser/models/browserfiledeleterequest.d.ts +7 -7
- package/components/browser/models/browserfilerenamerequest.d.ts +10 -10
- package/components/browser/models/browserfileresponse.d.ts +2 -2
- package/components/browser/models/browserfilesaverequest.d.ts +7 -7
- package/components/browser/models/browsernode.d.ts +13 -13
- package/components/browser/models/browsernodedeleterequest.d.ts +6 -6
- package/components/browser/models/browsernodenewrequest.d.ts +7 -7
- package/components/browser/models/browsernoderenamerequest.d.ts +7 -7
- package/components/browser/models/browsernoderequest.d.ts +7 -7
- package/components/browser/models/browsernoderesponse.d.ts +1 -1
- package/controls/buttons/button.d.ts +25 -19
- package/controls/checkbox/checkbox.d.ts +3 -3
- package/controls/checkbox/radiobutton.d.ts +19 -13
- package/controls/checkbox/radiobuttons.d.ts +13 -10
- package/controls/confirm/confirm.button.d.ts +3 -3
- package/controls/confirm/confirm.d.ts +13 -12
- package/controls/confirm/confirm.service.d.ts +14 -14
- package/controls/contextmenu/contextmenu.d.ts +33 -27
- package/controls/contextmenu/contextmenu.interface.d.ts +6 -0
- package/controls/contextmenu/contextmenuanchor.d.ts +4 -4
- package/controls/contextmenu/contextmenucontainer.d.ts +4 -4
- package/controls/contextmenu/contextmenuitembutton.d.ts +12 -12
- package/controls/datetime/date.d.ts +11 -11
- package/controls/datetime/dateselector.d.ts +47 -40
- package/controls/datetime/datetime.d.ts +15 -14
- package/controls/datetime/time.d.ts +22 -12
- package/controls/dialog/dialog.d.ts +28 -22
- package/controls/form/form.d.ts +17 -12
- package/controls/grid/grid.d.ts +1 -0
- package/controls/grid/gridbutton.d.ts +1 -0
- package/controls/grid/gridcolumn.d.ts +5 -1
- package/controls/grid/gridcolumnaction.d.ts +1 -1
- package/controls/grid/gridcolumnbase.d.ts +8 -3
- package/controls/grid/model.d.ts +5 -2
- package/controls/grid/paging.d.ts +2 -3
- package/controls/input/input.d.ts +7 -7
- package/controls/input/inputarea.d.ts +8 -6
- package/controls/input/inputcurrency.d.ts +4 -1
- package/controls/input/inputdecimal.d.ts +14 -14
- package/controls/input/inputemail.d.ts +4 -4
- package/controls/input/inputinteger.d.ts +14 -14
- package/controls/input/inputpassword.d.ts +3 -3
- package/controls/input/inputsearch.d.ts +8 -5
- package/controls/layout/formlayout.d.ts +8 -5
- package/controls/list/buildvaluestring.d.ts +2 -2
- package/controls/list/dropdown.d.ts +23 -22
- package/controls/list/dropdownoptions.d.ts +10 -10
- package/controls/list/listbox.d.ts +25 -23
- package/controls/multilanguage/multilanguageinput.d.ts +25 -25
- package/controls/multilanguage/multilanguageinputarea.d.ts +27 -27
- package/controls/static/formcontainer.d.ts +8 -8
- package/controls/static/staticlabel.d.ts +5 -5
- package/controls/tabs/tab.d.ts +2 -2
- package/controls/tabs/tabitem.d.ts +7 -7
- package/controls/tinymce/tinymce.d.ts +37 -37
- package/controls/tinymce/tinymcedialogsettings.d.ts +6 -6
- package/controls/tinymce/tinymcedialogsettingsmeta.d.ts +2 -2
- package/controls/tinymce/tinymceinstance.d.ts +2 -2
- package/controls/tooltip/tooltip.d.ts +10 -5
- package/controls/treeview/treeview.d.ts +50 -5
- package/controls/upload/dropzonemultiple.d.ts +16 -16
- package/controls/upload/dropzonesingle.d.ts +11 -11
- package/controls/upload/uploadmultiple.d.ts +12 -12
- package/controls/upload/uploadsingle.d.ts +7 -7
- package/controls/validation/validationsummary.d.ts +12 -11
- package/controls/wizard/wizard.d.ts +25 -18
- package/controls/wizard/wizarditem.d.ts +5 -5
- package/enums/ButtonRoleType.d.ts +26 -1
- package/enums/ControlHeight.d.ts +1 -1
- package/enums/IconType.d.ts +1 -1
- package/esm2015/common/basedatetimecontrol.js +47 -22
- package/esm2015/common/baseinputcontrol.js +13 -11
- package/esm2015/common/baselistcontrol.js +21 -17
- package/esm2015/common/basemodelcontrol.js +72 -49
- package/esm2015/common/baseselectcontrol.js +11 -9
- package/esm2015/common/baseuploadcontrol.js +69 -49
- package/esm2015/components/browser/browser.js +93 -105
- package/esm2015/components/browser/models/browserfile.js +1 -1
- package/esm2015/components/browser/models/browserfiledeleterequest.js +6 -4
- package/esm2015/components/browser/models/browserfilerenamerequest.js +6 -4
- package/esm2015/components/browser/models/browserfileresponse.js +1 -1
- package/esm2015/components/browser/models/browserfilesaverequest.js +5 -3
- package/esm2015/components/browser/models/browsernode.js +1 -1
- package/esm2015/components/browser/models/browsernodedeleterequest.js +6 -4
- package/esm2015/components/browser/models/browsernodenewrequest.js +6 -4
- package/esm2015/components/browser/models/browsernoderenamerequest.js +6 -4
- package/esm2015/components/browser/models/browsernoderequest.js +6 -4
- package/esm2015/components/browser/models/browsernoderesponse.js +1 -1
- package/esm2015/controls/buttons/button.js +26 -20
- package/esm2015/controls/checkbox/checkbox.js +3 -3
- package/esm2015/controls/checkbox/radiobutton.js +21 -15
- package/esm2015/controls/checkbox/radiobuttons.js +14 -11
- package/esm2015/controls/confirm/confirm.button.js +4 -4
- package/esm2015/controls/confirm/confirm.js +14 -13
- package/esm2015/controls/confirm/confirm.service.js +21 -21
- package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -1
- package/esm2015/controls/contextmenu/contextmenu.js +29 -23
- package/esm2015/controls/contextmenu/contextmenuanchor.js +4 -4
- package/esm2015/controls/contextmenu/contextmenucontainer.js +4 -4
- package/esm2015/controls/contextmenu/contextmenuitembutton.js +10 -10
- package/esm2015/controls/datetime/date.js +13 -13
- package/esm2015/controls/datetime/dateselector.js +55 -54
- package/esm2015/controls/datetime/datetime.js +17 -16
- package/esm2015/controls/datetime/time.js +24 -14
- package/esm2015/controls/dialog/dialog.js +31 -24
- package/esm2015/controls/form/form.js +18 -13
- package/esm2015/controls/grid/grid.js +2 -1
- package/esm2015/controls/grid/gridbutton.js +2 -1
- package/esm2015/controls/grid/gridcolumn.js +6 -2
- package/esm2015/controls/grid/gridcolumnaction.js +2 -2
- package/esm2015/controls/grid/gridcolumnbase.js +9 -4
- package/esm2015/controls/grid/model.js +5 -2
- package/esm2015/controls/grid/paging.js +6 -7
- package/esm2015/controls/input/input.js +8 -8
- package/esm2015/controls/input/inputarea.js +9 -7
- package/esm2015/controls/input/inputcurrency.js +6 -3
- package/esm2015/controls/input/inputdecimal.js +21 -27
- package/esm2015/controls/input/inputemail.js +5 -5
- package/esm2015/controls/input/inputinteger.js +19 -23
- package/esm2015/controls/input/inputpassword.js +4 -4
- package/esm2015/controls/input/inputsearch.js +9 -6
- package/esm2015/controls/layout/formlayout.js +10 -7
- package/esm2015/controls/list/buildvaluestring.js +6 -6
- package/esm2015/controls/list/dropdown.js +28 -27
- package/esm2015/controls/list/dropdownoptions.js +12 -12
- package/esm2015/controls/list/listbox.js +26 -24
- package/esm2015/controls/multilanguage/multilanguageinput.js +29 -29
- package/esm2015/controls/multilanguage/multilanguageinputarea.js +31 -31
- package/esm2015/controls/static/formcontainer.js +10 -10
- package/esm2015/controls/static/staticlabel.js +7 -7
- package/esm2015/controls/tabs/tab.js +2 -2
- package/esm2015/controls/tabs/tabitem.js +5 -5
- package/esm2015/controls/tinymce/tinymce.js +35 -35
- package/esm2015/controls/tinymce/tinymcedialogsettings.js +4 -4
- package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.js +1 -1
- package/esm2015/controls/tinymce/tinymceinstance.js +1 -1
- package/esm2015/controls/tooltip/tooltip.js +13 -8
- package/esm2015/controls/treeview/treeview.js +52 -7
- package/esm2015/controls/upload/dropzonemultiple.js +18 -18
- package/esm2015/controls/upload/dropzonesingle.js +12 -12
- package/esm2015/controls/upload/uploadmultiple.js +14 -14
- package/esm2015/controls/upload/uploadsingle.js +8 -8
- package/esm2015/controls/validation/validationsummary.js +14 -13
- package/esm2015/controls/wizard/wizard.js +24 -17
- package/esm2015/controls/wizard/wizarditem.js +4 -4
- package/esm2015/enums/ButtonRoleType.js +1 -1
- package/esm2015/enums/ControlHeight.js +2 -2
- package/esm2015/enums/IconType.js +2 -2
- package/esm2015/interfaces/ISacConfigurationService.js +1 -1
- package/esm2015/interfaces/ISacFileBrowserService.js +1 -1
- package/esm2015/interfaces/ISacLabelSizes.js +1 -1
- package/esm2015/interfaces/ISacLanguageService.js +1 -1
- package/esm2015/interfaces/ISacLocalisationService.js +1 -1
- package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -1
- package/esm2015/interfaces/iabstractcontrollabel.js +1 -1
- package/esm2015/interfaces/iconfirmcomponent.js +1 -1
- package/esm2015/interfaces/idatetimecontrol.js +1 -1
- package/esm2015/interfaces/iuploadcontrol.js +1 -1
- package/esm2015/interfaces/treeviewaction.interface.js +1 -1
- package/esm2015/models/languagemodel.js +5 -3
- package/esm2015/public_api.js +3 -2
- package/esm2015/services/index.js +4 -4
- package/esm2015/services/sac-configuration.service.js +7 -1
- package/esm2015/services/sac-filebrowser.service.js +46 -38
- package/esm2015/services/sac-localisation.service.js +11 -7
- package/esm2015/services/sac-validationkey.service.js +148 -1
- package/esm2015/utilities/convertion.js +7 -5
- package/esm2015/utilities/datatypes.js +6 -4
- package/esm2015/utilities/enums.js +9 -8
- package/esm2015/utilities/guid.js +2 -2
- package/esm2015/utilities/interpolation.js +16 -9
- package/esm2015/utilities/popuphelper.js +62 -25
- package/esm2015/utilities/positioncalculator.js +209 -0
- package/esm2015/utilities/positioncalculator.ngfactory.js +7 -0
- package/esm2015/utilities/positionelements.js +108 -0
- package/esm2015/utilities/positionelements.ngfactory.js +7 -0
- package/esm2015/utilities/testingattribute.pipe.js +17 -2
- package/esm2015/validation/email.validator.js +11 -2
- package/esm2015/validation/equals.validator.js +11 -1
- package/esm2015/validation/index.js +1 -1
- package/esm2015/validation/invaliddate.validator.js +11 -2
- package/esm2015/validation/isDateValid.js +11 -10
- package/esm2015/validation/maxdate.validator.js +14 -4
- package/esm2015/validation/maxtime.validator.js +14 -4
- package/esm2015/validation/maxvalue.validator.js +12 -2
- package/esm2015/validation/mindate.validator.js +14 -4
- package/esm2015/validation/minfiles.validator.js +12 -2
- package/esm2015/validation/mintextlength.validator.js +9 -1
- package/esm2015/validation/mintime.validator.js +14 -4
- package/esm2015/validation/minvalue.validator.js +12 -2
- package/esm2015/validation/multilanguagerequired.validator.js +11 -1
- package/esm2015/validation/multilanguagerequiredany.validator.js +11 -1
- package/esm2015/validation/notequals.validator.js +11 -1
- package/esm2015/validation/pattern.validator.js +12 -2
- package/esm2015/validation/required.validator.js +11 -2
- package/esm2015/validation/validation.class.js +84 -101
- package/esm2015/validation/validationerrorcreator.js +12 -1
- package/esm2015/validation/validationerroritem.js +11 -9
- package/fesm2015/simpleangularcontrols-sac-common.js +1823 -1226
- package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
- package/interfaces/ISacConfigurationService.d.ts +9 -1
- package/interfaces/ISacFileBrowserService.d.ts +43 -43
- package/interfaces/ISacLabelSizes.d.ts +15 -12
- package/interfaces/ISacLanguageService.d.ts +3 -3
- package/interfaces/ISacLocalisationService.d.ts +2 -2
- package/interfaces/ISacUploadEventCompleteState.d.ts +6 -0
- package/interfaces/iabstractcontrollabel.d.ts +4 -1
- package/interfaces/iconfirmcomponent.d.ts +6 -6
- package/interfaces/idatetimecontrol.d.ts +10 -1
- package/interfaces/treeviewaction.interface.d.ts +9 -0
- package/models/languagemodel.d.ts +9 -9
- package/package.json +1 -1
- package/public_api.d.ts +2 -1
- package/services/index.d.ts +3 -3
- package/services/sac-configuration.service.d.ts +8 -0
- package/services/sac-filebrowser.service.d.ts +78 -70
- package/services/sac-localisation.service.d.ts +11 -7
- package/services/sac-validationkey.service.d.ts +147 -0
- package/simpleangularcontrols-sac-common-10.0.0-rc.30.tgz +0 -0
- package/simpleangularcontrols-sac-common.metadata.json +1 -1
- package/utilities/convertion.d.ts +4 -4
- package/utilities/datatypes.d.ts +3 -3
- package/utilities/enums.d.ts +8 -1
- package/utilities/guid.d.ts +1 -1
- package/utilities/interpolation.d.ts +9 -8
- package/utilities/popuphelper.d.ts +47 -10
- package/utilities/positioncalculator.d.ts +82 -0
- package/utilities/positionelements.d.ts +30 -0
- package/utilities/positionelements.ngfactory.d.ts +1 -0
- package/utilities/testingattribute.pipe.d.ts +16 -1
- package/validation/email.validator.d.ts +7 -0
- package/validation/equals.validator.d.ts +8 -0
- package/validation/invaliddate.validator.d.ts +7 -0
- package/validation/isDateValid.d.ts +5 -2
- package/validation/maxdate.validator.d.ts +8 -0
- package/validation/maxtime.validator.d.ts +8 -0
- package/validation/maxvalue.validator.d.ts +8 -0
- package/validation/mindate.validator.d.ts +8 -0
- package/validation/minfiles.validator.d.ts +8 -0
- package/validation/mintextlength.validator.d.ts +8 -0
- package/validation/mintime.validator.d.ts +8 -0
- package/validation/minvalue.validator.d.ts +8 -0
- package/validation/multilanguagerequired.validator.d.ts +9 -1
- package/validation/multilanguagerequiredany.validator.d.ts +9 -1
- package/validation/notequals.validator.d.ts +8 -0
- package/validation/pattern.validator.d.ts +8 -0
- package/validation/required.validator.d.ts +7 -0
- package/validation/validation.class.d.ts +83 -100
- package/validation/validationerrorcreator.d.ts +9 -0
- package/validation/validationerroritem.d.ts +16 -16
- package/esm2015/utilities/positioning.js +0 -301
- package/esm2015/utilities/positioning.ngfactory.js +0 -7
- package/simpleangularcontrols-sac-common-10.0.0-rc.29.tgz +0 -0
- package/utilities/positioning.d.ts +0 -82
- /package/utilities/{positioning.ngfactory.d.ts → positioncalculator.ngfactory.d.ts} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { SacInputBase } from '../../common/baseinputcontrol';
|
|
2
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Base component for SacInputDecimal
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacInputDecimalCommon extends SacInputBase<number> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Defines whether negative values are allowed
|
|
9
9
|
*/
|
|
10
10
|
allownegativ: boolean;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Defines the maximum value
|
|
13
13
|
*/
|
|
14
14
|
maxvalue: number;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Defines the minimum value
|
|
17
17
|
*/
|
|
18
18
|
minvalue: number;
|
|
19
19
|
/**
|
|
20
|
-
* Resource
|
|
20
|
+
* Resource key for validation message MaxValue at control
|
|
21
21
|
*/
|
|
22
22
|
validationmessagemaxvalue: string;
|
|
23
23
|
/**
|
|
24
|
-
* Resource
|
|
24
|
+
* Resource key for validation message MinValue at control
|
|
25
25
|
*/
|
|
26
26
|
validationmessageminvalue: string;
|
|
27
27
|
/**
|
|
28
|
-
* Resource
|
|
28
|
+
* Resource key for validation message Required at control
|
|
29
29
|
*/
|
|
30
30
|
validationmessagerequired: string;
|
|
31
31
|
/**
|
|
32
|
-
* Resource
|
|
32
|
+
* Resource key for validation message MaxValue in validation summary
|
|
33
33
|
*/
|
|
34
34
|
validationmessagesummarymaxvalue: string;
|
|
35
35
|
/**
|
|
36
|
-
* Resource
|
|
36
|
+
* Resource key for validation message MinValue in validation summary
|
|
37
37
|
*/
|
|
38
38
|
validationmessagesummaryminvalue: string;
|
|
39
39
|
/**
|
|
40
|
-
* Resource
|
|
40
|
+
* Resource key for validation message Required in validation summary
|
|
41
41
|
*/
|
|
42
42
|
validationmessagesummaryrequired: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Method validates whether the value meets the given criteria
|
|
45
45
|
*/
|
|
46
46
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Converts the input value
|
|
49
49
|
*/
|
|
50
50
|
protected ConvertInputValue(value: any): any;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Method that creates the control depending on whether negative values are allowed
|
|
53
53
|
*/
|
|
54
54
|
protected OnClassInit(): void;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Method validates whether the value meets the given criteria when a key is pressed
|
|
57
57
|
*/
|
|
58
58
|
protected OnKeyPressValidation(position: number, character: string): boolean;
|
|
59
59
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SacInputCommon } from './input';
|
|
2
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Base component for SacInputEmail
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacInputEmailCommon extends SacInputCommon {
|
|
7
7
|
/**
|
|
8
|
-
* Resource
|
|
8
|
+
* Resource key for validation message email in Control
|
|
9
9
|
*/
|
|
10
10
|
validationmessageemail: string;
|
|
11
11
|
/**
|
|
12
|
-
* Resource
|
|
12
|
+
* Resource key for the validation message email in the validation summary
|
|
13
13
|
*/
|
|
14
14
|
validationmessagesummaryemail: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Method validates whether the value meets the given criteria
|
|
17
17
|
*/
|
|
18
18
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
19
19
|
}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { SacInputBase } from '../../common/baseinputcontrol';
|
|
2
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Base component for SacInputInteger
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacInputIntegerCommon extends SacInputBase<number> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Defines whether negative values are allowed
|
|
9
9
|
*/
|
|
10
10
|
allownegativ: boolean;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Defines the maximum value
|
|
13
13
|
*/
|
|
14
14
|
maxvalue: number;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Defines the minimum value
|
|
17
17
|
*/
|
|
18
18
|
minvalue: number;
|
|
19
19
|
/**
|
|
20
|
-
* Resource
|
|
20
|
+
* Resource key for validation message MaxValue at control
|
|
21
21
|
*/
|
|
22
22
|
validationmessagemaxvalue: string;
|
|
23
23
|
/**
|
|
24
|
-
* Resource
|
|
24
|
+
* Resource key for validation message MinValue at control
|
|
25
25
|
*/
|
|
26
26
|
validationmessageminvalue: string;
|
|
27
27
|
/**
|
|
28
|
-
* Resource
|
|
28
|
+
* Resource key for validation message Required at control
|
|
29
29
|
*/
|
|
30
30
|
validationmessagerequired: string;
|
|
31
31
|
/**
|
|
32
|
-
* Resource
|
|
32
|
+
* Resource key for validation message MaxValue in validation summary
|
|
33
33
|
*/
|
|
34
34
|
validationmessagesummarymaxvalue: string;
|
|
35
35
|
/**
|
|
36
|
-
* Resource
|
|
36
|
+
* Resource key for validation message MinValue in validation summary
|
|
37
37
|
*/
|
|
38
38
|
validationmessagesummaryminvalue: string;
|
|
39
39
|
/**
|
|
40
|
-
* Resource
|
|
40
|
+
* Resource key for validation message Required in validation summary
|
|
41
41
|
*/
|
|
42
42
|
validationmessagesummaryrequired: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Method validates whether the value meets the given criteria
|
|
45
45
|
*/
|
|
46
46
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Converts the input value
|
|
49
49
|
*/
|
|
50
50
|
protected ConvertInputValue(value: any): any;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Method that creates the control depending on whether negative values are allowed
|
|
53
53
|
*/
|
|
54
54
|
protected OnClassInit(): void;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Method validates whether the value meets the given criteria when a key is pressed
|
|
57
57
|
*/
|
|
58
58
|
protected OnKeyPressValidation(position: number, character: string): boolean;
|
|
59
59
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SacInputCommon } from './input';
|
|
2
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Base component for SacInputPassword
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacInputPasswordCommon extends SacInputCommon {
|
|
7
7
|
/**
|
|
@@ -25,7 +25,7 @@ export declare class SacInputPasswordCommon extends SacInputCommon {
|
|
|
25
25
|
*/
|
|
26
26
|
validationmessagesummarymintextlength: string;
|
|
27
27
|
/**
|
|
28
|
-
*Icon used by InputPassword to hide the password in the input field
|
|
28
|
+
* Icon used by InputPassword to hide the password in the input field
|
|
29
29
|
*/
|
|
30
30
|
get PasswordEyeHiddenIcon(): string;
|
|
31
31
|
/**
|
|
@@ -37,7 +37,7 @@ export declare class SacInputPasswordCommon extends SacInputCommon {
|
|
|
37
37
|
*/
|
|
38
38
|
onTogglePasswordEye(): void;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Method validates whether the value meets the given criteria
|
|
41
41
|
*/
|
|
42
42
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
43
43
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SacInputCommon } from './input';
|
|
2
2
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Base component for SacInputSearch
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacInputSearchCommon extends SacInputCommon implements OnInit {
|
|
7
7
|
/**
|
|
@@ -9,15 +9,15 @@ export declare class SacInputSearchCommon extends SacInputCommon implements OnIn
|
|
|
9
9
|
*/
|
|
10
10
|
buttonmode: 'icon' | 'text' | 'mixed';
|
|
11
11
|
/**
|
|
12
|
-
* Text
|
|
12
|
+
* Text displayed on the button
|
|
13
13
|
*/
|
|
14
14
|
buttontext: string;
|
|
15
15
|
/**
|
|
16
|
-
* Event
|
|
16
|
+
* Event when the search icon is clicked
|
|
17
17
|
*/
|
|
18
18
|
clicked: EventEmitter<any>;
|
|
19
19
|
/**
|
|
20
|
-
* Name
|
|
20
|
+
* Name of the search icon
|
|
21
21
|
*/
|
|
22
22
|
iconname: string;
|
|
23
23
|
/**
|
|
@@ -25,8 +25,11 @@ export declare class SacInputSearchCommon extends SacInputCommon implements OnIn
|
|
|
25
25
|
*/
|
|
26
26
|
ngOnInit(): void;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Method sends the value of the input through the event
|
|
29
29
|
*/
|
|
30
30
|
searchClick(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the button mode for the search input
|
|
33
|
+
*/
|
|
31
34
|
private setButtonMode;
|
|
32
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ControlHeight } from '../../enums/ControlHeight';
|
|
2
|
-
|
|
3
|
-
*
|
|
2
|
+
/**
|
|
3
|
+
* Base component for form options
|
|
4
4
|
*/
|
|
5
5
|
export declare class SacFormLayoutCommon {
|
|
6
6
|
/**
|
|
@@ -24,11 +24,14 @@ export declare class SacFormLayoutCommon {
|
|
|
24
24
|
*/
|
|
25
25
|
inputsearchiconmode: 'text' | 'icon' | 'mixed' | null;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Defines the default label mode for all components with labels
|
|
28
|
+
*
|
|
29
|
+
* Options are 'standard' and 'floating'
|
|
30
|
+
* Floating labels are only supported in Bootstrap 5
|
|
28
31
|
*/
|
|
29
|
-
|
|
32
|
+
labelMode: 'standard' | 'floating' | null;
|
|
30
33
|
/**
|
|
31
|
-
* default
|
|
34
|
+
* default label size for large devices
|
|
32
35
|
*/
|
|
33
36
|
labelSizeLg: number | null;
|
|
34
37
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Function
|
|
2
|
+
* Function to generate a key value pair for the dropdown
|
|
3
3
|
* @param id ID
|
|
4
|
-
* @param value
|
|
4
|
+
* @param value Value that should be bound to the element
|
|
5
5
|
*/
|
|
6
6
|
export declare function _buildValueString(id: string | null, value: any): string;
|
|
@@ -3,37 +3,37 @@ import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
|
3
3
|
import { ElementRef, Injector, Renderer2 } from '@angular/core';
|
|
4
4
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
5
|
/**
|
|
6
|
-
* Base
|
|
6
|
+
* Base dropdown component
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
9
9
|
private renderer;
|
|
10
10
|
private elementRef;
|
|
11
11
|
/**
|
|
12
|
-
* compareWith
|
|
12
|
+
* compareWith function
|
|
13
13
|
*/
|
|
14
14
|
private _compareWith;
|
|
15
15
|
/**
|
|
16
|
-
* Counter
|
|
16
|
+
* Counter for option ID; default value = 0
|
|
17
17
|
*/
|
|
18
18
|
_optionIdCounter: number;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Option map
|
|
21
21
|
*/
|
|
22
22
|
_optionMap: Map<string, any>;
|
|
23
23
|
/**
|
|
24
|
-
* Label
|
|
24
|
+
* Label text for empty item
|
|
25
25
|
*/
|
|
26
26
|
emptylabel: string;
|
|
27
27
|
/**
|
|
28
|
-
* Option
|
|
28
|
+
* Option value for empty item
|
|
29
29
|
*/
|
|
30
30
|
emptyvalue: string | null | number;
|
|
31
31
|
/**
|
|
32
|
-
* Resource
|
|
32
|
+
* Resource key for validation message required at control
|
|
33
33
|
*/
|
|
34
34
|
validationmessagerequired: string;
|
|
35
35
|
/**
|
|
36
|
-
* Resource
|
|
36
|
+
* Resource key for validation message required in validation summary
|
|
37
37
|
*/
|
|
38
38
|
validationmessagesummaryrequired: string;
|
|
39
39
|
/**
|
|
@@ -45,51 +45,52 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
|
45
45
|
*/
|
|
46
46
|
constructor(formlayout: SacFormLayoutCommon, injector: Injector, renderer: Renderer2, elementRef: ElementRef);
|
|
47
47
|
/**
|
|
48
|
-
* compareWith
|
|
48
|
+
* compareWith function
|
|
49
49
|
*/
|
|
50
50
|
set comparewith(fn: (o1: any, o2: any) => boolean);
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Registers the option ID counter as string
|
|
53
|
+
* @returns The option ID as string
|
|
53
54
|
*/
|
|
54
55
|
registerOption(): string;
|
|
55
56
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @param id: Id
|
|
57
|
+
* Method called by options to establish the mapping between dropdown value and value.
|
|
58
|
+
* @param id: Id from options
|
|
58
59
|
* @param value: Value
|
|
59
60
|
*/
|
|
60
61
|
setOptionMap(id: string, value: any): void;
|
|
61
62
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @param value -
|
|
63
|
+
* Set value
|
|
64
|
+
* @param value - Value
|
|
64
65
|
*/
|
|
65
66
|
setValue(value: string): void;
|
|
66
67
|
/**
|
|
67
68
|
* Validator
|
|
68
|
-
* @param c Control
|
|
69
|
+
* @param c Control instance
|
|
69
70
|
*/
|
|
70
71
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
71
72
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @param value -
|
|
73
|
+
* Write value
|
|
74
|
+
* @param value - Value
|
|
74
75
|
*/
|
|
75
76
|
writeValue(value: any): void;
|
|
76
77
|
/**
|
|
77
|
-
* ID
|
|
78
|
-
* @param valueString String
|
|
78
|
+
* Extract ID
|
|
79
|
+
* @param valueString String from which the ID should be extracted
|
|
79
80
|
*/
|
|
80
81
|
private extractId;
|
|
81
82
|
/**
|
|
82
|
-
*
|
|
83
|
+
* Takes the ID from the option
|
|
83
84
|
* @param value
|
|
84
85
|
*/
|
|
85
86
|
private getOptionId;
|
|
86
87
|
/**
|
|
87
|
-
*
|
|
88
|
+
* Takes the string value from the option
|
|
88
89
|
* @param valueString
|
|
89
90
|
*/
|
|
90
91
|
private getOptionValue;
|
|
91
92
|
/**
|
|
92
|
-
*
|
|
93
|
+
* Sets the selected value on the control
|
|
93
94
|
* @param value Value
|
|
94
95
|
*/
|
|
95
96
|
private setSelectedValue;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { SacDropdownCommon } from './dropdown';
|
|
2
2
|
import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
3
|
/**
|
|
4
|
-
* SacDropdownOption
|
|
4
|
+
* SacDropdownOption class
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacDropdownOptionCommon implements OnDestroy {
|
|
7
7
|
private _element;
|
|
8
8
|
private _renderer;
|
|
9
9
|
private _dropdown;
|
|
10
10
|
/**
|
|
11
|
-
* ID
|
|
11
|
+
* ID string
|
|
12
12
|
*/
|
|
13
13
|
private id;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @param _element
|
|
17
|
-
* @param _renderer Render
|
|
18
|
-
* @param _dropdown Dropdown
|
|
15
|
+
* Constructor
|
|
16
|
+
* @param _element Reference to HTML element
|
|
17
|
+
* @param _renderer Render engine
|
|
18
|
+
* @param _dropdown Dropdown instance
|
|
19
19
|
*/
|
|
20
20
|
constructor(_element: ElementRef, _renderer: Renderer2, _dropdown: SacDropdownCommon);
|
|
21
21
|
/**
|
|
@@ -23,16 +23,16 @@ export declare class SacDropdownOptionCommon implements OnDestroy {
|
|
|
23
23
|
*/
|
|
24
24
|
set ngValue(value: any);
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Value setter
|
|
27
27
|
*/
|
|
28
28
|
set value(value: any);
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @param value
|
|
30
|
+
* Set the value of the option element
|
|
31
|
+
* @param value Value
|
|
32
32
|
*/
|
|
33
33
|
_setElementValue(value: string): void;
|
|
34
34
|
/**
|
|
35
|
-
* OnDestroy
|
|
35
|
+
* OnDestroy event
|
|
36
36
|
*/
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
}
|
|
@@ -2,85 +2,87 @@ import { ElementRef, OnDestroy, QueryList, Renderer2 } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
3
|
import { SacBaseSelectControl } from '../../common/baseselectcontrol';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Base component for SacListboxOption
|
|
6
6
|
*/
|
|
7
7
|
export declare class SacListboxOptionCommon implements OnDestroy {
|
|
8
8
|
private _element;
|
|
9
9
|
private _renderer;
|
|
10
10
|
private _listbox;
|
|
11
11
|
/**
|
|
12
|
-
* Value
|
|
12
|
+
* Value of selected option item
|
|
13
13
|
*/
|
|
14
14
|
private _value;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
* @param _element
|
|
18
|
-
* @param _renderer
|
|
16
|
+
* Constructor
|
|
17
|
+
* @param _element Reference to host element
|
|
18
|
+
* @param _renderer Renderer for DOM manipulation
|
|
19
|
+
* @param _listbox Reference to parent listbox component
|
|
19
20
|
*/
|
|
20
21
|
constructor(_element: ElementRef, _renderer: Renderer2, _listbox: SacListboxCommon);
|
|
21
22
|
/**
|
|
22
|
-
* NgValue
|
|
23
|
+
* NgValue of the control. Needed for multiple selection
|
|
23
24
|
*/
|
|
24
25
|
set ngValue(value: any);
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
+
* Defines the value of the listbox
|
|
27
28
|
*/
|
|
28
29
|
set value(value: any);
|
|
29
30
|
get value(): any;
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @param selected Element
|
|
32
|
+
* Method returns the status of the elements that were selected
|
|
33
|
+
* @param selected Element is selected
|
|
33
34
|
*/
|
|
34
35
|
_setSelected(selected: boolean): void;
|
|
35
36
|
/**
|
|
36
|
-
* OnDestroy
|
|
37
|
+
* OnDestroy event
|
|
37
38
|
*/
|
|
38
39
|
ngOnDestroy(): void;
|
|
39
40
|
}
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* Component for SacListboxCommon. Extends SacBaseSelectControl
|
|
42
43
|
*/
|
|
43
44
|
export declare class SacListboxCommon extends SacBaseSelectControl<Array<string>> {
|
|
44
45
|
/**
|
|
45
|
-
*
|
|
46
|
+
* Number of rows
|
|
46
47
|
*/
|
|
47
48
|
rowsize: number;
|
|
48
49
|
/**
|
|
49
|
-
* Resource
|
|
50
|
+
* Resource key for validation message required at control
|
|
50
51
|
*/
|
|
51
52
|
validationmessagerequired: string;
|
|
52
53
|
/**
|
|
53
|
-
* Resource
|
|
54
|
+
* Resource key for validation message required in validation summary
|
|
54
55
|
*/
|
|
55
56
|
validationmessagesummaryrequired: string;
|
|
56
57
|
/**
|
|
57
|
-
* ViewChildren
|
|
58
|
+
* ViewChildren method
|
|
58
59
|
*/
|
|
59
60
|
contentOptions: QueryList<SacListboxOptionCommon>;
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* Option list
|
|
62
63
|
*/
|
|
63
64
|
optionlist: Array<SacListboxOptionCommon>;
|
|
64
65
|
/**
|
|
65
|
-
* Getter
|
|
66
|
+
* Getter for selected items
|
|
66
67
|
*/
|
|
67
68
|
getSelectedItems(selectelement: any): void;
|
|
68
69
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @param option Listbox
|
|
70
|
+
* Registers a listbox element
|
|
71
|
+
* @param option Listbox option item to be registered
|
|
71
72
|
*/
|
|
72
73
|
registerOption(option: SacListboxOptionCommon): void;
|
|
73
74
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @param option Listbox
|
|
75
|
+
* Cancels the registration of a listbox item
|
|
76
|
+
* @param option Listbox option item to be deregistered
|
|
76
77
|
*/
|
|
77
78
|
unregisterOption(option: SacListboxOptionCommon): void;
|
|
78
79
|
/**
|
|
79
|
-
* Validator
|
|
80
|
+
* Validator method
|
|
80
81
|
*/
|
|
81
82
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
82
83
|
/**
|
|
83
|
-
*
|
|
84
|
+
* Method writes new value
|
|
85
|
+
* @param value Selected values that should be set on the options.
|
|
84
86
|
*/
|
|
85
87
|
writeValue(value: Array<string>): void;
|
|
86
88
|
}
|