@simpleangularcontrols/sac-common 16.0.0-rc.2 → 16.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/README.md +15 -15
- package/common/basedatetimecontrol.d.ts +120 -30
- 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 +172 -85
- package/common/basemodelcontrol.d.ts.map +1 -1
- package/common/baseuploadcontrol.d.ts +162 -142
- 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 +35 -30
- 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 +68 -24
- package/controls/checkbox/radiobutton.d.ts.map +1 -1
- package/controls/checkbox/radiobuttons.d.ts +23 -22
- 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 +59 -44
- package/controls/contextmenu/contextmenu.d.ts.map +1 -1
- package/controls/contextmenu/contextmenu.interface.d.ts +4 -0
- package/controls/contextmenu/contextmenu.interface.d.ts.map +1 -0
- 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/contextmenu/contextmenuitem.d.ts +6 -1
- package/controls/contextmenu/contextmenuitem.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuitembutton.d.ts +22 -21
- package/controls/contextmenu/contextmenuitembutton.d.ts.map +1 -1
- package/controls/datetime/date.d.ts +33 -36
- package/controls/datetime/date.d.ts.map +1 -1
- package/controls/datetime/dateselector.d.ts +10 -2
- package/controls/datetime/dateselector.d.ts.map +1 -1
- package/controls/datetime/datetime.d.ts +33 -40
- package/controls/datetime/datetime.d.ts.map +1 -1
- package/controls/datetime/time.d.ts +32 -36
- package/controls/datetime/time.d.ts.map +1 -1
- package/controls/dialog/dialog.d.ts +35 -43
- package/controls/dialog/dialog.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 +70 -61
- package/controls/grid/grid.d.ts.map +1 -1
- package/controls/grid/gridbutton.d.ts +33 -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 +58 -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 +78 -73
- package/controls/grid/paging.d.ts.map +1 -1
- package/controls/input/input.d.ts +12 -12
- package/controls/input/input.d.ts.map +1 -1
- package/controls/input/inputarea.d.ts +6 -6
- package/controls/input/inputarea.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 +28 -8
- 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 +66 -0
- package/controls/layout/formlayout.d.ts.map +1 -0
- package/controls/list/buildvaluestring.d.ts +7 -0
- package/controls/list/buildvaluestring.d.ts.map +1 -0
- package/controls/list/dropdown.d.ts +38 -82
- package/controls/list/dropdown.d.ts.map +1 -1
- package/controls/list/dropdownoptions.d.ts +42 -0
- package/controls/list/dropdownoptions.d.ts.map +1 -0
- 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 +41 -40
- package/controls/multilanguage/multilanguageinputarea.d.ts.map +1 -1
- package/controls/static/formcontainer.d.ts +8 -4
- package/controls/static/formcontainer.d.ts.map +1 -1
- package/controls/tabs/tab.d.ts +20 -16
- package/controls/tabs/tab.d.ts.map +1 -1
- package/controls/tinymce/tinymce.d.ts +65 -61
- package/controls/tinymce/tinymce.d.ts.map +1 -1
- package/controls/tooltip/tooltip.d.ts +82 -67
- package/controls/tooltip/tooltip.d.ts.map +1 -1
- package/controls/treeview/treeview.d.ts +109 -109
- package/controls/treeview/treeview.d.ts.map +1 -1
- package/controls/upload/dropzonemultiple.d.ts +25 -21
- package/controls/upload/dropzonemultiple.d.ts.map +1 -1
- package/controls/upload/dropzonesingle.d.ts +20 -16
- package/controls/upload/dropzonesingle.d.ts.map +1 -1
- package/controls/upload/uploadmultiple.d.ts +14 -10
- package/controls/upload/uploadmultiple.d.ts.map +1 -1
- package/controls/upload/uploadsingle.d.ts +5 -1
- package/controls/upload/uploadsingle.d.ts.map +1 -1
- package/controls/validation/validationsummary.d.ts +24 -15
- 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 +83 -164
- package/esm2022/common/baseinputcontrol.mjs +21 -80
- package/esm2022/common/baselistcontrol.mjs +11 -56
- package/esm2022/common/basemodelcontrol.mjs +136 -353
- package/esm2022/common/baseselectcontrol.mjs +6 -27
- package/esm2022/common/baseuploadcontrol.mjs +122 -435
- 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 +35 -132
- package/esm2022/controls/checkbox/checkbox.mjs +15 -30
- package/esm2022/controls/checkbox/radiobutton.mjs +45 -102
- 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.interface.mjs +3 -0
- package/esm2022/controls/contextmenu/contextmenu.mjs +47 -171
- package/esm2022/controls/contextmenu/contextmenuanchor.mjs +8 -19
- package/esm2022/controls/contextmenu/contextmenucontainer.mjs +8 -19
- package/esm2022/controls/contextmenu/contextmenuitem.mjs +7 -13
- package/esm2022/controls/contextmenu/contextmenuitembutton.mjs +25 -93
- package/esm2022/controls/datetime/date.mjs +42 -206
- package/esm2022/controls/datetime/dateselector.mjs +75 -411
- package/esm2022/controls/datetime/datetime.mjs +42 -224
- package/esm2022/controls/datetime/time.mjs +40 -204
- package/esm2022/controls/dialog/dialog.mjs +46 -209
- package/esm2022/controls/form/form.mjs +27 -153
- package/esm2022/controls/grid/grid.mjs +52 -155
- package/esm2022/controls/grid/gridbutton.mjs +30 -59
- package/esm2022/controls/grid/gridcolumn.mjs +21 -46
- package/esm2022/controls/grid/gridcolumnaction.mjs +8 -22
- package/esm2022/controls/grid/gridcolumnbase.mjs +37 -124
- package/esm2022/controls/grid/gridimage.mjs +5 -16
- package/esm2022/controls/grid/model.mjs +49 -74
- package/esm2022/controls/grid/paging.mjs +86 -251
- package/esm2022/controls/input/input.mjs +17 -65
- package/esm2022/controls/input/inputarea.mjs +18 -56
- 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 +26 -45
- package/esm2022/controls/input/inputsearch.mjs +16 -38
- package/esm2022/controls/layout/formlayout.mjs +31 -0
- package/esm2022/controls/list/buildvaluestring.mjs +10 -0
- package/esm2022/controls/list/dropdown.mjs +53 -235
- package/esm2022/controls/list/dropdownoptions.mjs +22 -0
- 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 +18 -45
- package/esm2022/controls/static/staticlabel.mjs +7 -28
- package/esm2022/controls/tabs/tab.mjs +24 -73
- package/esm2022/controls/tabs/tabitem.mjs +7 -37
- package/esm2022/controls/tinymce/tinymce.mjs +64 -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 +78 -358
- package/esm2022/controls/treeview/treeview.mjs +103 -343
- package/esm2022/controls/upload/dropzonemultiple.mjs +35 -151
- package/esm2022/controls/upload/dropzonesingle.mjs +27 -99
- package/esm2022/controls/upload/uploadmultiple.mjs +25 -111
- package/esm2022/controls/upload/uploadsingle.mjs +15 -50
- package/esm2022/controls/validation/validationsummary.mjs +26 -121
- 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/ISacUploadEventCompleteState.mjs +3 -0
- 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/interfaces/treeviewaction.interface.mjs +3 -0
- 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 +41 -0
- package/esm2022/services/sac-filebrowser.service.mjs +15 -167
- package/esm2022/services/sac-icon.service.mjs +77 -157
- package/esm2022/services/sac-language.service.mjs +7 -45
- package/esm2022/services/sac-localisation.service.mjs +32 -426
- 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 +10 -15
- package/esm2022/utilities/guid.mjs +8 -0
- package/esm2022/utilities/interpolation.mjs +7 -42
- package/esm2022/utilities/popuphelper.mjs +80 -0
- package/esm2022/utilities/positioning.mjs +23 -266
- package/esm2022/utilities/testingattribute.pipe.mjs +12 -0
- package/esm2022/validation/email.validator.mjs +3 -13
- package/esm2022/validation/equals.validator.mjs +3 -0
- 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/mintextlength.validator.mjs +5 -0
- 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/notequals.validator.mjs +3 -0
- package/esm2022/validation/pattern.validator.mjs +3 -16
- package/esm2022/validation/required.validator.mjs +3 -13
- package/esm2022/validation/validation.mjs +74 -134
- package/esm2022/validation/validationerrorcreator.mjs +3 -11
- package/esm2022/validation/validationerroritem.mjs +7 -19
- package/fesm2022/simpleangularcontrols-sac-common.mjs +2479 -9262
- package/fesm2022/simpleangularcontrols-sac-common.mjs.map +1 -1
- package/interfaces/ISacConfigurationService.d.ts +63 -0
- package/interfaces/ISacConfigurationService.d.ts.map +1 -0
- package/interfaces/ISacIconService.d.ts +54 -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/ISacUploadEventCompleteState.d.ts +6 -0
- package/interfaces/ISacUploadEventCompleteState.d.ts.map +1 -0
- package/interfaces/ISacValidationKeyService.d.ts +53 -0
- package/interfaces/ISacValidationKeyService.d.ts.map +1 -0
- package/interfaces/treeviewaction.interface.d.ts +5 -0
- package/interfaces/treeviewaction.interface.d.ts.map +1 -0
- package/package.json +2 -2
- package/public_api.d.ts +34 -21
- 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 +135 -0
- package/services/sac-configuration.service.d.ts.map +1 -0
- package/services/sac-icon.service.d.ts +109 -5
- package/services/sac-icon.service.d.ts.map +1 -1
- package/services/sac-localisation.service.d.ts +100 -94
- 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.21.tgz +0 -0
- package/utilities/enums.d.ts +3 -1
- package/utilities/enums.d.ts.map +1 -1
- package/utilities/guid.d.ts +5 -0
- package/utilities/guid.d.ts.map +1 -0
- package/utilities/popuphelper.d.ts +84 -0
- package/utilities/popuphelper.d.ts.map +1 -0
- package/utilities/testingattribute.pipe.d.ts +16 -0
- package/utilities/testingattribute.pipe.d.ts.map +1 -0
- package/validation/equals.validator.d.ts +3 -0
- package/validation/equals.validator.d.ts.map +1 -0
- package/validation/isDateValid.d.ts.map +1 -1
- package/validation/mintextlength.validator.d.ts +3 -0
- package/validation/mintextlength.validator.d.ts.map +1 -0
- package/validation/notequals.validator.d.ts +3 -0
- package/validation/notequals.validator.d.ts.map +1 -0
- package/validation/validation.d.ts +70 -52
- package/validation/validation.d.ts.map +1 -1
- package/controls/treeview/ngtreeitemaction.d.ts +0 -44
- package/controls/treeview/ngtreeitemaction.d.ts.map +0 -1
- package/controls/treeview/treeviewchild.d.ts +0 -16
- package/controls/treeview/treeviewchild.d.ts.map +0 -1
- package/esm2022/controls/treeview/ngtreeitemaction.mjs +0 -63
- package/esm2022/controls/treeview/treeviewchild.mjs +0 -22
- package/esm2022/validation/minlength.validator.mjs +0 -21
- package/simpleangularcontrols-sac-common-16.0.0-rc.2.tgz +0 -0
- package/validation/minlength.validator.d.ts +0 -3
- package/validation/minlength.validator.d.ts.map +0 -1
|
@@ -1,189 +1,189 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacBaseModelControl } from '../../common/basemodelcontrol';
|
|
2
|
+
import { TreeviewAction } from '../../interfaces/treeviewaction.interface';
|
|
3
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
4
|
+
import { EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
5
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
6
|
import * as i0 from "@angular/core";
|
|
3
7
|
/**
|
|
4
8
|
* Basis Komponente für SacTreeView
|
|
5
9
|
*/
|
|
6
|
-
export declare class
|
|
10
|
+
export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Event when Action is clicked on Node. An object of the type 'TreeviewAction' is returned. In the default case, 'action' in this object is always the value 'default'. The value can be changed via the 'templateaction'.
|
|
9
13
|
*/
|
|
10
|
-
|
|
14
|
+
actionclicked: EventEmitter<TreeviewAction>;
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* Property on the data object that contains the children of the structure element. Must be an array of objects. The default value is 'children'
|
|
13
17
|
*/
|
|
14
|
-
|
|
18
|
+
attrchildren: string;
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
20
|
+
* Defines the property on the 'data' object with which the actions for a node can be deactivated. A 'disabled' property is used by default.
|
|
17
21
|
*/
|
|
18
|
-
|
|
22
|
+
attrdisableaction: string;
|
|
19
23
|
/**
|
|
20
|
-
*
|
|
24
|
+
* Property on the 'data' object that stores the expanded state. Property must be of type boolean. Default is 'expanded'
|
|
21
25
|
*/
|
|
22
|
-
|
|
26
|
+
attrexanded: string;
|
|
23
27
|
/**
|
|
24
|
-
*
|
|
28
|
+
* Property for saving the HoverState on the field. If the property is not present on the node, it is automatically created and removed again. The value can usually be left at the default value unless there is a conflict with a property on the node that is required for other purposes.
|
|
25
29
|
*/
|
|
26
|
-
|
|
30
|
+
attrhoverstate: string;
|
|
27
31
|
/**
|
|
28
|
-
*
|
|
32
|
+
* Property on 'data' object, which contains the icon for the node. By default, the property is not set, which hides the icon in the node.
|
|
29
33
|
*/
|
|
30
|
-
|
|
34
|
+
attricon: string | null;
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
36
|
+
* property on the 'data' object contains an ID of the node. The default is 'id'. If the property is set to NULL, the selectedId event is no longer triggered.
|
|
33
37
|
*/
|
|
34
|
-
|
|
38
|
+
attrid: string | null;
|
|
35
39
|
/**
|
|
36
|
-
*
|
|
40
|
+
* Property on 'data' object, which contains the label for the node. Default is 'label'
|
|
37
41
|
*/
|
|
38
|
-
|
|
42
|
+
attrlabel: string;
|
|
39
43
|
/**
|
|
40
|
-
*
|
|
44
|
+
* Property on 'data' object, which defines whether the node is selected or not. It should be ensured that only 1 node has the value for Selected set to true. Default is 'selected'.
|
|
41
45
|
*/
|
|
42
|
-
|
|
46
|
+
attrselected: string;
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
48
|
+
* Event when a node is collapsed. Returns the node element as a parameter
|
|
45
49
|
*/
|
|
46
|
-
|
|
50
|
+
collabsed: EventEmitter<any>;
|
|
47
51
|
/**
|
|
48
|
-
*
|
|
52
|
+
* The property contains an array of nodes. The data must already map the tree via child properties.
|
|
49
53
|
*/
|
|
50
|
-
|
|
54
|
+
data: any[];
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* Activates the 'expand' and 'collabse' event even if a node has no children. This is helpful if node elements are to be reloaded at runtime.
|
|
53
57
|
*/
|
|
54
|
-
|
|
58
|
+
enableasynchload: boolean | string;
|
|
55
59
|
/**
|
|
56
|
-
*
|
|
60
|
+
* Activates Ellipsis on the node labels
|
|
57
61
|
*/
|
|
58
|
-
|
|
62
|
+
enableellipsis: boolean;
|
|
59
63
|
/**
|
|
60
|
-
*
|
|
64
|
+
* Event when a node is expanded. Returns the node element as a parameter
|
|
61
65
|
*/
|
|
62
|
-
|
|
66
|
+
expanded: EventEmitter<any>;
|
|
63
67
|
/**
|
|
64
|
-
*
|
|
68
|
+
* Defines whether an icon for the expanded/collapsed status should be displayed.
|
|
65
69
|
*/
|
|
66
|
-
|
|
70
|
+
expandedstate: boolean | string;
|
|
67
71
|
/**
|
|
68
|
-
*
|
|
72
|
+
* A node must be selected
|
|
69
73
|
*/
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* A flag indicating data is flatten in array and prepare is required.(Default
|
|
73
|
-
* is false).
|
|
74
|
-
*/
|
|
75
|
-
prepareData: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Attribute for Text in Tree
|
|
78
|
-
*/
|
|
79
|
-
textAttr: string;
|
|
80
|
-
/**
|
|
81
|
-
* Name of ID property in input data.
|
|
82
|
-
*/
|
|
83
|
-
idAttr: string;
|
|
74
|
+
isrequired: boolean;
|
|
84
75
|
/**
|
|
85
|
-
* Name of
|
|
76
|
+
* Name of the TreeView control
|
|
86
77
|
*/
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Name of children list property in input data.
|
|
90
|
-
*/
|
|
91
|
-
childrenAttr: string;
|
|
92
|
-
/**
|
|
93
|
-
* Title des Treeview
|
|
94
|
-
*/
|
|
95
|
-
title: any;
|
|
96
|
-
/**
|
|
97
|
-
* Collapse or expand all parent nodes.
|
|
98
|
-
*/
|
|
99
|
-
set collapseall(value: boolean);
|
|
78
|
+
name: string;
|
|
100
79
|
/**
|
|
101
|
-
*
|
|
80
|
+
* Event when a node is selected. Returns the id attribute as a parameter. The event is not triggered if 'attrid' is not set.
|
|
102
81
|
*/
|
|
103
|
-
|
|
82
|
+
selected: EventEmitter<any>;
|
|
104
83
|
/**
|
|
105
|
-
*
|
|
84
|
+
* Event when a node is selected. Returns the node element as a parameter.
|
|
106
85
|
*/
|
|
107
|
-
|
|
86
|
+
selectednode: EventEmitter<any>;
|
|
108
87
|
/**
|
|
109
|
-
*
|
|
88
|
+
* Defines that the action template is displayed independently of the selected state. If the value is 'true', the action template is displayed for every element.
|
|
110
89
|
*/
|
|
111
|
-
|
|
90
|
+
showactionalways: any;
|
|
112
91
|
/**
|
|
113
|
-
*
|
|
92
|
+
* Custom template for actions per node. Template parameters are: 'node'
|
|
114
93
|
*/
|
|
115
|
-
|
|
94
|
+
templateaction: TemplateRef<any>;
|
|
116
95
|
/**
|
|
117
|
-
*
|
|
96
|
+
* Custom template for icon per node. Template parameters are: 'node'
|
|
118
97
|
*/
|
|
119
|
-
|
|
98
|
+
templateicon: TemplateRef<any>;
|
|
120
99
|
/**
|
|
121
|
-
*
|
|
100
|
+
* Custom template for the label area per node. Template parameters are: 'node' and 'label'
|
|
122
101
|
*/
|
|
123
|
-
|
|
102
|
+
templatelabel: TemplateRef<any>;
|
|
124
103
|
/**
|
|
125
|
-
*
|
|
104
|
+
* Resource Key für Validation Message Required bei Control
|
|
126
105
|
*/
|
|
127
|
-
|
|
106
|
+
validationmessagerequired: string;
|
|
128
107
|
/**
|
|
129
|
-
*
|
|
108
|
+
* Resource Key für Validation Message Required in Validation Summary
|
|
130
109
|
*/
|
|
131
|
-
|
|
110
|
+
validationmessagesummaryrequired: string;
|
|
132
111
|
/**
|
|
133
|
-
*
|
|
112
|
+
* Constructor
|
|
113
|
+
* @param injector Service Injector
|
|
134
114
|
*/
|
|
135
|
-
|
|
115
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector);
|
|
116
|
+
get iconAction(): string;
|
|
136
117
|
/**
|
|
137
|
-
*
|
|
118
|
+
* CSS icon for folders in tree there are collabsed
|
|
119
|
+
* @returns css class with icon
|
|
138
120
|
*/
|
|
139
|
-
|
|
121
|
+
get iconFolderCollabsed(): string;
|
|
140
122
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
123
|
+
* CSS icon class for folders without subfolders
|
|
124
|
+
* @returns css class with icon
|
|
143
125
|
*/
|
|
144
|
-
|
|
126
|
+
get iconFolderEmpty(): string;
|
|
145
127
|
/**
|
|
146
|
-
*
|
|
147
|
-
*
|
|
128
|
+
* CSS icon for folders in tree there are expanded
|
|
129
|
+
* @returns css class with icon
|
|
148
130
|
*/
|
|
149
|
-
|
|
131
|
+
get iconFolderOpen(): string;
|
|
150
132
|
/**
|
|
151
|
-
*
|
|
133
|
+
* Creates an array of a certain size. Is required for a For in the UI, as Angular does not support counting loops
|
|
134
|
+
* @param size Size of the array
|
|
135
|
+
* @returns Array
|
|
152
136
|
*/
|
|
153
|
-
|
|
137
|
+
count(size: number): Array<void>;
|
|
138
|
+
getChildren(node: any): any[];
|
|
139
|
+
getStringField(node: any, fieldname: string): any;
|
|
140
|
+
hasChildren(node: any): boolean;
|
|
141
|
+
isDisabledState(node: any): boolean;
|
|
142
|
+
isExpandedState(node: any): boolean;
|
|
143
|
+
isHoverState(node: any): boolean;
|
|
144
|
+
isSelectedState(node: any): boolean;
|
|
154
145
|
/**
|
|
155
|
-
*
|
|
146
|
+
* Method is called by clicking an action
|
|
147
|
+
* @param action action and node
|
|
156
148
|
*/
|
|
157
|
-
|
|
149
|
+
onActionClicked(action: TreeviewAction): void;
|
|
158
150
|
/**
|
|
159
|
-
*
|
|
151
|
+
* Method is called when Node in Tree is clicked
|
|
152
|
+
* @param node Selected Node
|
|
160
153
|
*/
|
|
161
|
-
|
|
154
|
+
onNodeClicked(node: any): void;
|
|
162
155
|
/**
|
|
163
|
-
*
|
|
156
|
+
* Sets the hover state on a node
|
|
157
|
+
* @param node Node on which the status is set
|
|
158
|
+
* @param state Activate or deactivate HoverState
|
|
164
159
|
*/
|
|
165
|
-
|
|
160
|
+
setHoverState(node: any, state: boolean): void;
|
|
166
161
|
/**
|
|
167
|
-
*
|
|
162
|
+
* Sets the selected state on a node
|
|
163
|
+
* @param node Node which is marked as Selected
|
|
168
164
|
*/
|
|
169
|
-
|
|
165
|
+
setSelectedState(node: any): void;
|
|
170
166
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* @
|
|
174
|
-
* @param searchValue Das gesuchte value
|
|
175
|
-
* @param attr Der namen des Attributs auf dem das value gesucht wird
|
|
167
|
+
* Validates the model state of the control
|
|
168
|
+
* @param c Control instance
|
|
169
|
+
* @returns Returns a validation error, if present. Otherwise, as Result is NULL
|
|
176
170
|
*/
|
|
177
|
-
|
|
171
|
+
validateData(c: AbstractControl): ValidationErrors | null;
|
|
178
172
|
/**
|
|
179
|
-
*
|
|
173
|
+
* Saves the data from the model binding
|
|
174
|
+
* @param value Id of the selected node
|
|
180
175
|
*/
|
|
181
|
-
|
|
176
|
+
writeValue(value: any): void;
|
|
182
177
|
/**
|
|
183
|
-
*
|
|
178
|
+
* Searches for a node based on the value in the ID attribute
|
|
179
|
+
* @param node Node
|
|
180
|
+
* @param value Value of the Id attribute
|
|
181
|
+
* @returns Returns the node if it is found. If not, NULL is returned.
|
|
184
182
|
*/
|
|
185
|
-
private
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
private findNodeById;
|
|
184
|
+
private invertExpandedState;
|
|
185
|
+
private resetSelectedState;
|
|
186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacTreeviewCommon, [{ host: true; }, null]>;
|
|
187
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacTreeviewCommon, never, never, { "attrchildren": { "alias": "attrchildren"; "required": false; }; "attrdisableaction": { "alias": "attrdisableaction"; "required": false; }; "attrexanded": { "alias": "attrexanded"; "required": false; }; "attrhoverstate": { "alias": "attrhoverstate"; "required": false; }; "attricon": { "alias": "attricon"; "required": false; }; "attrid": { "alias": "attrid"; "required": false; }; "attrlabel": { "alias": "attrlabel"; "required": false; }; "attrselected": { "alias": "attrselected"; "required": false; }; "data": { "alias": "data"; "required": false; }; "enableasynchload": { "alias": "enableasynchload"; "required": false; }; "enableellipsis": { "alias": "enableellipsis"; "required": false; }; "expandedstate": { "alias": "expandedstate"; "required": false; }; "isrequired": { "alias": "isrequired"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showactionalways": { "alias": "showactionalways"; "required": false; }; "templateaction": { "alias": "templateaction"; "required": false; }; "templateicon": { "alias": "templateicon"; "required": false; }; "templatelabel": { "alias": "templatelabel"; "required": false; }; "validationmessagerequired": { "alias": "validationmessagerequired"; "required": false; }; "validationmessagesummaryrequired": { "alias": "validationmessagesummaryrequired"; "required": false; }; }, { "actionclicked": "actionclicked"; "collabsed": "collabsed"; "expanded": "expanded"; "selected": "selected"; "selectednode": "selectednode"; }, never, never, false, never>;
|
|
188
188
|
}
|
|
189
189
|
//# sourceMappingURL=treeview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeview.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/treeview/treeview.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"treeview.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/treeview/treeview.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
4
|
import { UploadState } from 'ngx-uploadx';
|
|
4
|
-
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Upload Komponente für ein einzelnes File
|
|
@@ -11,10 +11,6 @@ export declare class SacDropzoneMultipleCommon extends SacUploadBase<string[]> i
|
|
|
11
11
|
* Property wenn Drag Event aktiv ist (Maus über Zone)
|
|
12
12
|
*/
|
|
13
13
|
active: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Höhe des Upload Controls
|
|
16
|
-
*/
|
|
17
|
-
uploadheight: string;
|
|
18
14
|
/**
|
|
19
15
|
* Max. Anzahl Files die hochgeladen werden können
|
|
20
16
|
*/
|
|
@@ -23,6 +19,10 @@ export declare class SacDropzoneMultipleCommon extends SacUploadBase<string[]> i
|
|
|
23
19
|
* Min. Anzahl Files die hochgeladen werden müssen
|
|
24
20
|
*/
|
|
25
21
|
minfiles: number;
|
|
22
|
+
/**
|
|
23
|
+
* Höhe des Upload Controls
|
|
24
|
+
*/
|
|
25
|
+
uploadheight: string;
|
|
26
26
|
/**
|
|
27
27
|
* Resource Key für Validation Message Required bei Control
|
|
28
28
|
*/
|
|
@@ -32,43 +32,47 @@ export declare class SacDropzoneMultipleCommon extends SacUploadBase<string[]> i
|
|
|
32
32
|
*/
|
|
33
33
|
validationmessagesummaryminfiles: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Prüft ob die max. Files in der Queue nicht überschritten werden
|
|
36
|
+
*
|
|
37
|
+
* @param file File das hinzugefügt wurde
|
|
36
38
|
*/
|
|
37
|
-
|
|
39
|
+
CustomAddValidation(file: UploadState): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Setzt die File ID's der hochgeladen Files in das Model
|
|
42
|
+
*
|
|
43
|
+
* @param file ID des Files welches hochgeladen wurde.
|
|
44
|
+
*/
|
|
45
|
+
SetUploadValue(file: UploadState): void;
|
|
38
46
|
/**
|
|
39
47
|
* Methode für Drag and Drop von Files
|
|
40
48
|
* @param event Drag Event
|
|
41
49
|
*/
|
|
42
50
|
dropHandler(event: DragEvent): void;
|
|
43
51
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @param event DragEnter Event
|
|
52
|
+
* Ervent wenn das Control initialisert wird
|
|
46
53
|
*/
|
|
47
|
-
|
|
54
|
+
ngOnInit(): void;
|
|
48
55
|
/**
|
|
49
56
|
* Methode wenn Drag die Zone verlässt
|
|
50
57
|
* @param event DragLeave Event
|
|
51
58
|
*/
|
|
52
59
|
onDragLeave(event: DragEvent): void;
|
|
53
60
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* @param file File das hinzugefügt wurde
|
|
57
|
-
*/
|
|
58
|
-
CustomAddValidation(file: UploadState): boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Setzt die File ID's der hochgeladen Files in das Model
|
|
61
|
-
*
|
|
62
|
-
* @param file ID des Files welches hochgeladen wurde.
|
|
61
|
+
* Methode wenn Drag in die Zone eintritt
|
|
62
|
+
* @param event DragEnter Event
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
onDragOver(event: DragEvent): void;
|
|
65
65
|
/**
|
|
66
66
|
* Validiert das Control
|
|
67
67
|
*
|
|
68
68
|
* @param c Control
|
|
69
69
|
*/
|
|
70
70
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
71
|
+
/**
|
|
72
|
+
* @inheritdoc
|
|
73
|
+
*/
|
|
74
|
+
protected GetMaxFiles(): number;
|
|
71
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropzoneMultipleCommon, never>;
|
|
72
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropzoneMultipleCommon, never, never, { "
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropzoneMultipleCommon, never, never, { "maxfiles": { "alias": "maxfiles"; "required": false; }; "minfiles": { "alias": "minfiles"; "required": false; }; "uploadheight": { "alias": "uploadheight"; "required": false; }; "validationmessageminfiles": { "alias": "validationmessageminfiles"; "required": false; }; "validationmessagesummaryminfiles": { "alias": "validationmessagesummaryminfiles"; "required": false; }; }, {}, never, never, false, never>;
|
|
73
77
|
}
|
|
74
78
|
//# sourceMappingURL=dropzonemultiple.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropzonemultiple.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/dropzonemultiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"dropzonemultiple.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/dropzonemultiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;AAE1C;;GAEG;AACH,qBACa,yBAA0B,SAAQ,aAAa,CAAC,MAAM,EAAE,CAAE,YAAW,MAAM;IAGpF;;OAEG;IACI,MAAM,UAAS;IAEtB;;OAEG;IAEI,QAAQ,EAAE,MAAM,CAAK;IAE5B;;OAEG;IAEI,QAAQ,EAAE,MAAM,CAAK;IAE5B;;OAEG;IAEI,YAAY,EAAE,MAAM,CAAQ;IAEnC;;OAEG;IACa,yBAAyB,EAAE,MAAM,CAAqD;IAEtG;;OAEG;IAEI,gCAAgC,EAAE,MAAM,CAA4D;IAM3G;;;;OAIG;IACI,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO;IAStD;;;;OAIG;IACI,cAAc,CAAC,IAAI,EAAE,WAAW;IA2CvC;;;OAGG;IACI,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAS1C;;OAEG;IACI,QAAQ;IAMf;;;OAGG;IACI,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAI1C;;;OAGG;IACI,UAAU,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAczC;;;;OAIG;IACI,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;IAkBhE;;OAEG;IACH,SAAS,CAAC,WAAW,IAAI,MAAM;yCAjLtB,yBAAyB;2CAAzB,yBAAyB;CAsLrC"}
|
|
@@ -1,50 +1,54 @@
|
|
|
1
|
+
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { UploadState } from 'ngx-uploadx';
|
|
3
|
-
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Upload Komponente für ein einzelnes File
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacDropzoneSingleCommon extends SacUploadBase<string> implements OnInit {
|
|
9
|
+
/**
|
|
10
|
+
* Property wenn Drag Event aktiv ist (Maus über Zone)
|
|
11
|
+
*/
|
|
12
|
+
active: boolean;
|
|
9
13
|
/**
|
|
10
14
|
* Höhe der Dropzone. Wert wird mit Einheit angegeben.
|
|
11
15
|
*/
|
|
12
16
|
uploadheight: string;
|
|
13
17
|
/**
|
|
14
|
-
*
|
|
18
|
+
* Macht keine Validierung in diesem Control
|
|
19
|
+
*
|
|
20
|
+
* @param file File das hinzugefügt wurde
|
|
15
21
|
*/
|
|
16
|
-
|
|
22
|
+
CustomAddValidation(file: UploadState): boolean;
|
|
17
23
|
/**
|
|
18
|
-
*
|
|
24
|
+
* Setzt die File ID des hochgeladen Files in das Model
|
|
25
|
+
*
|
|
26
|
+
* @param file ID des Files
|
|
19
27
|
*/
|
|
20
|
-
|
|
28
|
+
SetUploadValue(file: UploadState): void;
|
|
21
29
|
/**
|
|
22
30
|
* Methode für Drag and Drop von Files
|
|
23
31
|
* @param event Drag Event
|
|
24
32
|
*/
|
|
25
33
|
dropHandler(event: DragEvent): void;
|
|
26
34
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @param event DragEnter Event
|
|
35
|
+
* Ervent wenn das Control initialisert wird
|
|
29
36
|
*/
|
|
30
|
-
|
|
37
|
+
ngOnInit(): void;
|
|
31
38
|
/**
|
|
32
39
|
* Methode wenn Drag die Zone verlässt
|
|
33
40
|
* @param event DragLeave Event
|
|
34
41
|
*/
|
|
35
42
|
onDragLeave(event: DragEvent): void;
|
|
36
43
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* @param file File das hinzugefügt wurde
|
|
44
|
+
* Methode wenn Drag in die Zone eintritt
|
|
45
|
+
* @param event DragEnter Event
|
|
40
46
|
*/
|
|
41
|
-
|
|
47
|
+
onDragOver(event: DragEvent): void;
|
|
42
48
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* @param file ID des Files
|
|
49
|
+
* @inheritdoc
|
|
46
50
|
*/
|
|
47
|
-
|
|
51
|
+
protected GetMaxFiles(): number;
|
|
48
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropzoneSingleCommon, never>;
|
|
49
53
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropzoneSingleCommon, never, never, { "uploadheight": { "alias": "uploadheight"; "required": false; }; }, {}, never, never, false, never>;
|
|
50
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropzonesingle.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/dropzonesingle.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"dropzonesingle.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/dropzonesingle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;AAE1C;;GAEG;AACH,qBACa,uBAAwB,SAAQ,aAAa,CAAC,MAAM,CAAE,YAAW,MAAM;IAGhF;;OAEG;IACI,MAAM,UAAS;IAEtB;;OAEG;IAEI,YAAY,EAAE,MAAM,CAAQ;IAMnC;;;;OAIG;IACI,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO;IAItD;;;;OAIG;IACI,cAAc,CAAC,IAAI,EAAE,WAAW;IAiBvC;;;OAGG;IACI,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAmB1C;;OAEG;IACI,QAAQ;IAMf;;;OAGG;IACI,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAI1C;;;OAGG;IACI,UAAU,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAmBzC;;OAEG;IACH,SAAS,CAAC,WAAW,IAAI,MAAM;yCAnHtB,uBAAuB;2CAAvB,uBAAuB;CAwHnC"}
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
+
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
1
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
3
|
import { UploadState } from 'ngx-uploadx';
|
|
3
|
-
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Upload Componente für mehrere Files
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacUploadMultipleCommon extends SacUploadBase<string[]> {
|
|
9
|
-
/**
|
|
10
|
-
* Max. Files die hochgeladen werden können. 0 deaktiviert das Limit
|
|
11
|
-
*/
|
|
12
|
-
maxfiles: number;
|
|
13
|
-
/**
|
|
14
|
-
* Min. Files die hochgeladen werden müssen. 0 deaktiviert das Limit
|
|
15
|
-
*/
|
|
16
|
-
minfiles: number;
|
|
17
9
|
/**
|
|
18
10
|
* Label für Browse Button
|
|
19
11
|
*/
|
|
@@ -22,6 +14,14 @@ export declare class SacUploadMultipleCommon extends SacUploadBase<string[]> {
|
|
|
22
14
|
* Label für Upload Button
|
|
23
15
|
*/
|
|
24
16
|
buttonupload: string;
|
|
17
|
+
/**
|
|
18
|
+
* Max. Files die hochgeladen werden können. 0 deaktiviert das Limit
|
|
19
|
+
*/
|
|
20
|
+
maxfiles: number;
|
|
21
|
+
/**
|
|
22
|
+
* Min. Files die hochgeladen werden müssen. 0 deaktiviert das Limit
|
|
23
|
+
*/
|
|
24
|
+
minfiles: number;
|
|
25
25
|
/**
|
|
26
26
|
* Resource Key für Validation Message Required bei Control
|
|
27
27
|
*/
|
|
@@ -48,7 +48,11 @@ export declare class SacUploadMultipleCommon extends SacUploadBase<string[]> {
|
|
|
48
48
|
* @param c Control
|
|
49
49
|
*/
|
|
50
50
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
51
|
+
/**
|
|
52
|
+
* @inheritdoc
|
|
53
|
+
*/
|
|
54
|
+
protected GetMaxFiles(): number;
|
|
51
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacUploadMultipleCommon, never>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacUploadMultipleCommon, never, never, { "
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacUploadMultipleCommon, never, never, { "buttonbrowse": { "alias": "buttonbrowse"; "required": false; }; "buttonupload": { "alias": "buttonupload"; "required": false; }; "maxfiles": { "alias": "maxfiles"; "required": false; }; "minfiles": { "alias": "minfiles"; "required": false; }; "validationmessageminfiles": { "alias": "validationmessageminfiles"; "required": false; }; "validationmessagesummaryminfiles": { "alias": "validationmessagesummaryminfiles"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
57
|
}
|
|
54
58
|
//# sourceMappingURL=uploadmultiple.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploadmultiple.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/uploadmultiple.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"uploadmultiple.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/uploadmultiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAG/D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;AAE1C;;GAEG;AACH,qBACa,uBAAwB,SAAQ,aAAa,CAAC,MAAM,EAAE,CAAC;IAGhE;;OAEG;IAEI,YAAY,EAAE,MAAM,CAAM;IAEjC;;OAEG;IAEI,YAAY,EAAE,MAAM,CAAM;IAEjC;;OAEG;IAEI,QAAQ,EAAE,MAAM,CAAK;IAE5B;;OAEG;IAEI,QAAQ,EAAE,MAAM,CAAK;IAE5B;;OAEG;IACa,yBAAyB,EAAE,MAAM,CAAqD;IAEtG;;OAEG;IAEI,gCAAgC,EAAE,MAAM,CAA4D;IAM3G;;;;OAIG;IACI,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO;IAStD;;;;OAIG;IACI,cAAc,CAAC,IAAI,EAAE,WAAW;IA2CvC;;;;OAIG;IACI,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;IAkBhE;;OAEG;IACH,SAAS,CAAC,WAAW,IAAI,MAAM;yCAlItB,uBAAuB;2CAAvB,uBAAuB;CAuInC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UploadState } from 'ngx-uploadx';
|
|
2
1
|
import { SacUploadBase } from '../../common/baseuploadcontrol';
|
|
2
|
+
import { UploadState } from 'ngx-uploadx';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Upload Komponente für ein einzelnes File
|
|
@@ -25,6 +25,10 @@ export declare class SacUploadSingleCommon extends SacUploadBase<string> {
|
|
|
25
25
|
* @param file ID des Files
|
|
26
26
|
*/
|
|
27
27
|
SetUploadValue(file: UploadState): void;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritdoc
|
|
30
|
+
*/
|
|
31
|
+
protected GetMaxFiles(): number;
|
|
28
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacUploadSingleCommon, never>;
|
|
29
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacUploadSingleCommon, never, never, { "buttonbrowse": { "alias": "buttonbrowse"; "required": false; }; "buttonupload": { "alias": "buttonupload"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploadsingle.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/uploadsingle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"uploadsingle.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/upload/uploadsingle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;AAE1C;;GAEG;AACH,qBACa,qBAAsB,SAAQ,aAAa,CAAC,MAAM,CAAC;IAG5D;;OAEG;IAEI,YAAY,EAAE,MAAM,CAAM;IAEjC;;OAEG;IAEI,YAAY,EAAE,MAAM,CAAM;IAMjC;;;;OAIG;IACI,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO;IAItD;;;;OAIG;IACI,cAAc,CAAC,IAAI,EAAE,WAAW;IAqBvC;;OAEG;IACH,SAAS,CAAC,WAAW,IAAI,MAAM;yCAzDtB,qBAAqB;2CAArB,qBAAqB;CA8DjC"}
|