@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,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class for API request to delete a file
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserFileDeleteRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initale Werte der Klasse
|
|
6
|
+
* Allowed file types
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
AllowedTypes: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Path
|
|
12
11
|
*/
|
|
13
12
|
Path: string;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* Constructor
|
|
15
|
+
* @param init Initial values for the class
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
constructor(init?: Partial<BrowserFileDeleteRequest>);
|
|
18
18
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class for API request to rename a file
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserFileRenameRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initiale Werte
|
|
6
|
+
* Allowed file extensions
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
AllowedTypes: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* New file name
|
|
12
11
|
*/
|
|
13
|
-
|
|
12
|
+
NewFilename: string;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* Path to file
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
Path: string;
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
18
|
+
* Constructor
|
|
19
|
+
* @param init Initial values
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
constructor(init?: Partial<BrowserFileRenameRequest>);
|
|
22
22
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IBrowserFile } from './browserfile';
|
|
2
2
|
/**
|
|
3
|
-
* Interface
|
|
3
|
+
* Interface for API response of files
|
|
4
4
|
*/
|
|
5
5
|
export interface IBrowserFileResponse {
|
|
6
6
|
/**
|
|
7
|
-
* Array
|
|
7
|
+
* Array of files in a node
|
|
8
8
|
*/
|
|
9
9
|
Files: IBrowserFile[];
|
|
10
10
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Request
|
|
2
|
+
* Request to save an uploaded file
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserFileSaveRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initale Parameter
|
|
6
|
+
* Allowed file types
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
AllowedTypes: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Path where the upload should be saved
|
|
12
11
|
*/
|
|
13
12
|
Path: string;
|
|
14
13
|
/**
|
|
@@ -16,7 +15,8 @@ export declare class BrowserFileSaveRequest {
|
|
|
16
15
|
*/
|
|
17
16
|
UploadId: string;
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
18
|
+
* Constructor
|
|
19
|
+
* @param init Initial parameters
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
constructor(init?: Partial<BrowserFileSaveRequest>);
|
|
22
22
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { IBrowserFile } from './browserfile';
|
|
2
2
|
/**
|
|
3
|
-
* Interface
|
|
3
|
+
* Interface for node in file browser component
|
|
4
4
|
*/
|
|
5
5
|
export interface IBrowserNode {
|
|
6
|
-
/**
|
|
7
|
-
* Name des Nodes
|
|
8
|
-
*/
|
|
9
|
-
Name: string;
|
|
10
6
|
/**
|
|
11
7
|
* Child Nodes
|
|
12
8
|
*/
|
|
13
9
|
ChildNodes: IBrowserNode[];
|
|
14
10
|
/**
|
|
15
|
-
* File
|
|
11
|
+
* File items in this node
|
|
16
12
|
*/
|
|
17
13
|
Files: IBrowserFile[];
|
|
18
14
|
/**
|
|
19
|
-
*
|
|
15
|
+
* Node is being edited
|
|
20
16
|
*/
|
|
21
|
-
|
|
17
|
+
IsEditMode: boolean;
|
|
22
18
|
/**
|
|
23
|
-
* Node
|
|
19
|
+
* Node is expanded
|
|
24
20
|
*/
|
|
25
21
|
IsExpanded: boolean;
|
|
26
22
|
/**
|
|
27
|
-
* Node
|
|
23
|
+
* Node was created but not yet saved
|
|
28
24
|
*/
|
|
29
|
-
|
|
25
|
+
IsNewNode: boolean;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
27
|
+
* Name of the node
|
|
32
28
|
*/
|
|
33
|
-
|
|
29
|
+
Name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Path for this node
|
|
32
|
+
*/
|
|
33
|
+
Path: string;
|
|
34
34
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class for API request to delete a node
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserNodeDeleteRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initiale Werte
|
|
6
|
+
* Path
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
Path: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param init Initial values
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
constructor(init?: Partial<BrowserNodeDeleteRequest>);
|
|
14
14
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class for API request to create a new node
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserNodeNewRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initiale Werte
|
|
6
|
+
* Name of the new node
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
NewFoldername: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Path
|
|
12
11
|
*/
|
|
13
12
|
Path: string;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* Constructor
|
|
15
|
+
* @param init Initial values
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
constructor(init?: Partial<BrowserNodeNewRequest>);
|
|
18
18
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class for API request to rename a node
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserNodeRenameRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initiale Werte
|
|
6
|
+
* New name of the node
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
NewFoldername: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Path
|
|
12
11
|
*/
|
|
13
12
|
Path: string;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* Constructor
|
|
15
|
+
* @param init Initial values
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
constructor(init?: Partial<BrowserNodeRenameRequest>);
|
|
18
18
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class for the request of a node
|
|
3
3
|
*/
|
|
4
4
|
export declare class BrowserNodeRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param init Initale Werte für die Instanz
|
|
6
|
+
* Allowed file types
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
AllowedTypes: string;
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Path of the node
|
|
12
11
|
*/
|
|
13
12
|
Path: string;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* Constructor
|
|
15
|
+
* @param init Initial values for the instance
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
constructor(init?: Partial<BrowserNodeRequest>);
|
|
18
18
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { BUTTONROLETYPE } from '../../enums/ButtonRoleType';
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
3
|
/**
|
|
4
|
-
* Base
|
|
4
|
+
* Base component for the button
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacButtonCommon {
|
|
7
7
|
/**
|
|
8
|
-
* Boolean
|
|
8
|
+
* Boolean property defines whether the button is 'disabled'; default - false
|
|
9
9
|
*/
|
|
10
10
|
private _isdisabledvalue;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* This property defines the role of the button. Default value is 'default'.
|
|
13
13
|
*/
|
|
14
14
|
private _role;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* This boolean property is used for activating the spinner of the button. Default is false.
|
|
17
17
|
*/
|
|
18
18
|
_isloadingvalue: boolean;
|
|
19
19
|
/**
|
|
@@ -25,50 +25,56 @@ export declare class SacButtonCommon {
|
|
|
25
25
|
*/
|
|
26
26
|
e2eidentifier: string | null;
|
|
27
27
|
/**
|
|
28
|
-
* Boolean
|
|
28
|
+
* Boolean property for error; default value - false
|
|
29
29
|
*/
|
|
30
30
|
hasError: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* Input
|
|
32
|
+
* Input property for icon style class; default value - ''
|
|
33
33
|
*/
|
|
34
34
|
icon: string;
|
|
35
35
|
/**
|
|
36
|
-
* Input
|
|
36
|
+
* Input property for name; default value - ''
|
|
37
37
|
*/
|
|
38
38
|
name: string;
|
|
39
39
|
/**
|
|
40
|
-
* Input
|
|
40
|
+
* Input property for button text; default value - ''
|
|
41
41
|
*/
|
|
42
42
|
text: string;
|
|
43
43
|
/**
|
|
44
|
-
* Getter
|
|
44
|
+
* Getter method. Returns boolean value. Defines whether the button is disabled.
|
|
45
45
|
*/
|
|
46
46
|
get _isdisabled(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Returns whether the button is disabled.
|
|
49
|
+
*/
|
|
47
50
|
get isdisabled(): boolean | string;
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @param v
|
|
51
|
-
* @return
|
|
52
|
+
* Disables buttons
|
|
53
|
+
* @param v Disables the button
|
|
54
|
+
* @return Defines whether the button is disabled
|
|
52
55
|
*/
|
|
53
56
|
set isdisabled(v: boolean | string);
|
|
57
|
+
/**
|
|
58
|
+
* Returns whether the loading spinner is active.
|
|
59
|
+
*/
|
|
54
60
|
get isloading(): boolean | string;
|
|
55
61
|
/**
|
|
56
|
-
*
|
|
62
|
+
* This input property defines the status of the isloading property. It is used for activating the spinner of the button.
|
|
57
63
|
*/
|
|
58
64
|
set isloading(v: boolean | string);
|
|
59
65
|
/**
|
|
60
|
-
*
|
|
66
|
+
* This method returns the defined style role of the button
|
|
61
67
|
*/
|
|
62
68
|
get role(): BUTTONROLETYPE;
|
|
63
69
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @param v
|
|
66
|
-
*
|
|
67
|
-
* @returns Type
|
|
70
|
+
* Defines the style of the button
|
|
71
|
+
* @param v Defines the style of the button.
|
|
72
|
+
* The following types are supported: primary, secondary, success, danger, warning, info, light, dark, link, default
|
|
73
|
+
* @returns Type of the button
|
|
68
74
|
*/
|
|
69
75
|
set role(v: BUTTONROLETYPE);
|
|
70
76
|
/**
|
|
71
|
-
*
|
|
77
|
+
* This method will trigger an event when the button is clicked AND the button is not disabled OR isloading.
|
|
72
78
|
*/
|
|
73
79
|
buttonClick(): void;
|
|
74
80
|
}
|
|
@@ -2,7 +2,7 @@ import { SacBaseModelControl } from '../../common/basemodelcontrol';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Base component for SacCheckboxCommon. Extends SacBaseModelControl
|
|
6
6
|
*/
|
|
7
7
|
export declare class SacCheckboxCommon extends SacBaseModelControl<boolean> implements OnInit {
|
|
8
8
|
/**
|
|
@@ -10,7 +10,7 @@ export declare class SacCheckboxCommon extends SacBaseModelControl<boolean> impl
|
|
|
10
10
|
*/
|
|
11
11
|
checkboxstyle: 'checkbox' | 'switch' | null;
|
|
12
12
|
/**
|
|
13
|
-
* Text
|
|
13
|
+
* Text of the checkbox control. The text is displayed to the right of the checkbox.
|
|
14
14
|
*/
|
|
15
15
|
checkboxtext: any;
|
|
16
16
|
/**
|
|
@@ -22,7 +22,7 @@ export declare class SacCheckboxCommon extends SacBaseModelControl<boolean> impl
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnInit(): void;
|
|
24
24
|
/**
|
|
25
|
-
* Control
|
|
25
|
+
* Control has no validator
|
|
26
26
|
*/
|
|
27
27
|
validateData(c: AbstractControl): ValidationErrors | null;
|
|
28
28
|
/**
|
|
@@ -5,13 +5,13 @@ import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
|
5
5
|
import { SacRadiobuttonsCommon } from './radiobuttons';
|
|
6
6
|
import { EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Base component for SacRadiobutton.
|
|
9
9
|
*/
|
|
10
10
|
export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy {
|
|
11
11
|
protected sacRadioButtons: SacRadiobuttonsCommon;
|
|
12
12
|
private readonly injector;
|
|
13
13
|
/**
|
|
14
|
-
* Boolean
|
|
14
|
+
* Boolean property to hide the control; default value - false
|
|
15
15
|
*/
|
|
16
16
|
private _hidden;
|
|
17
17
|
/**
|
|
@@ -27,19 +27,19 @@ export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy
|
|
|
27
27
|
*/
|
|
28
28
|
protected iconService: ISacIconService;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* ControlHeight enum for use in HTML markup
|
|
31
31
|
*/
|
|
32
32
|
ControlHeight: typeof ControlHeight;
|
|
33
33
|
/**
|
|
34
|
-
* Unique
|
|
34
|
+
* Unique index for radio button
|
|
35
35
|
*/
|
|
36
36
|
_index: number;
|
|
37
37
|
/**
|
|
38
|
-
* Boolean
|
|
38
|
+
* Boolean property whether the radio button is checked
|
|
39
39
|
*/
|
|
40
40
|
checked: boolean;
|
|
41
41
|
/**
|
|
42
|
-
* Boolean
|
|
42
|
+
* Boolean property whether the radio button is disabled
|
|
43
43
|
*/
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
/**
|
|
@@ -55,7 +55,7 @@ export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy
|
|
|
55
55
|
*/
|
|
56
56
|
label: string;
|
|
57
57
|
/**
|
|
58
|
-
* Template
|
|
58
|
+
* Template for value element
|
|
59
59
|
*/
|
|
60
60
|
labeltemplate: TemplateRef<any>;
|
|
61
61
|
/**
|
|
@@ -67,7 +67,7 @@ export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy
|
|
|
67
67
|
*/
|
|
68
68
|
value: any;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Constructor
|
|
71
71
|
* @param SacRadioButtons
|
|
72
72
|
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
73
73
|
* @param injector Injector for injecting services
|
|
@@ -82,7 +82,7 @@ export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy
|
|
|
82
82
|
*/
|
|
83
83
|
get componentHeight(): ControlHeight | null;
|
|
84
84
|
/**
|
|
85
|
-
* Getter
|
|
85
|
+
* Getter for unique index
|
|
86
86
|
*/
|
|
87
87
|
get getIndex(): number;
|
|
88
88
|
/**
|
|
@@ -91,21 +91,27 @@ export declare abstract class SacRadiobuttonCommon implements OnInit, OnDestroy
|
|
|
91
91
|
get getName(): string;
|
|
92
92
|
get hidden(): boolean | string;
|
|
93
93
|
/**
|
|
94
|
-
* Setter
|
|
94
|
+
* Setter for hidden property
|
|
95
95
|
*/
|
|
96
96
|
set hidden(v: boolean | string);
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Method returns boolean whether control is disabled
|
|
99
99
|
*/
|
|
100
100
|
get isDisabled(): boolean;
|
|
101
101
|
/**
|
|
102
|
-
* Event
|
|
102
|
+
* Event on changes
|
|
103
103
|
*/
|
|
104
104
|
ChangeEvent(): void;
|
|
105
105
|
/**
|
|
106
|
-
* Event
|
|
106
|
+
* Event when the component is destroyed
|
|
107
107
|
*/
|
|
108
108
|
ngOnDestroy(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Component initialization lifecycle hook.
|
|
111
|
+
*
|
|
112
|
+
* Initializes helptext mode, and marks the radio button as checked when the value matches
|
|
113
|
+
* the container's selected value.
|
|
114
|
+
*/
|
|
109
115
|
ngOnInit(): void;
|
|
110
116
|
/**
|
|
111
117
|
* Set mode for helptext. Can be tooltip or text
|
|
@@ -4,7 +4,7 @@ import { SacRadiobuttonCommon } from './radiobutton';
|
|
|
4
4
|
import { Injector } from '@angular/core';
|
|
5
5
|
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Base component for SacRadiobuttonsCommon. Extends SacBaseModelControl
|
|
8
8
|
*/
|
|
9
9
|
export declare abstract class SacRadiobuttonsCommon extends SacBaseModelControl<any> implements Validator {
|
|
10
10
|
/**
|
|
@@ -12,15 +12,15 @@ export declare abstract class SacRadiobuttonsCommon extends SacBaseModelControl<
|
|
|
12
12
|
*/
|
|
13
13
|
private contentRadiobuttons;
|
|
14
14
|
/**
|
|
15
|
-
* Radio
|
|
15
|
+
* Radio button index
|
|
16
16
|
*/
|
|
17
17
|
private radioButtonIndex;
|
|
18
18
|
/**
|
|
19
|
-
* Resource
|
|
19
|
+
* Resource key for validation message Required at control
|
|
20
20
|
*/
|
|
21
21
|
validationmessagerequired: string;
|
|
22
22
|
/**
|
|
23
|
-
* Resource
|
|
23
|
+
* Resource key for validation message Required in validation summary
|
|
24
24
|
*/
|
|
25
25
|
validationmessagesummaryrequired: string;
|
|
26
26
|
/**
|
|
@@ -30,23 +30,25 @@ export declare abstract class SacRadiobuttonsCommon extends SacBaseModelControl<
|
|
|
30
30
|
*/
|
|
31
31
|
constructor(formlayout: SacFormLayoutCommon, injector: Injector);
|
|
32
32
|
/**
|
|
33
|
-
* Getter
|
|
33
|
+
* Getter for radio button index
|
|
34
|
+
* @returns Index of the current radio button
|
|
34
35
|
*/
|
|
35
36
|
GetRadionButtonIndex(): number;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Method checks if an item is checked
|
|
39
|
+
* @returns Boolean indicating if an item is checked
|
|
38
40
|
*/
|
|
39
41
|
HasCheckedItem(): boolean;
|
|
40
42
|
/**
|
|
41
|
-
*
|
|
43
|
+
* Register the radio button
|
|
42
44
|
*/
|
|
43
45
|
RegisterRadioButton(radioButton: SacRadiobuttonCommon): void;
|
|
44
46
|
/**
|
|
45
|
-
*
|
|
47
|
+
* Select item
|
|
46
48
|
*/
|
|
47
49
|
SelectItem(value: any): void;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* Unregister the radio button
|
|
50
52
|
*/
|
|
51
53
|
UnregisterRadioButton(radioButton: SacRadiobuttonCommon): void;
|
|
52
54
|
/**
|
|
@@ -54,7 +56,8 @@ export declare abstract class SacRadiobuttonsCommon extends SacBaseModelControl<
|
|
|
54
56
|
*/
|
|
55
57
|
validateData(c: AbstractControl): ValidationErrors;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* Write value
|
|
60
|
+
* @param value Value to apply to the selected radio item.
|
|
58
61
|
*/
|
|
59
62
|
writeValue(value: any): void;
|
|
60
63
|
}
|
|
@@ -12,14 +12,14 @@ export declare class SacConfirmButton {
|
|
|
12
12
|
*/
|
|
13
13
|
role?: BUTTONROLETYPE | null;
|
|
14
14
|
/**
|
|
15
|
-
* Display text of the
|
|
15
|
+
* Display text of the button
|
|
16
16
|
*/
|
|
17
17
|
text: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Constructor
|
|
20
20
|
* @param key Key for button
|
|
21
21
|
* @param text Text for button
|
|
22
|
-
* @param role Role type for the button. Default is
|
|
22
|
+
* @param role Role type for the button. Default is 'default'
|
|
23
23
|
*/
|
|
24
24
|
constructor(key?: string, text?: string, role?: BUTTONROLETYPE);
|
|
25
25
|
}
|
|
@@ -2,48 +2,49 @@ import { IConfirmComponent } from '../../interfaces/iconfirmcomponent';
|
|
|
2
2
|
import { SacConfirmButton } from './confirm.button';
|
|
3
3
|
import { EventEmitter } from '@angular/core';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Base class for Confirm Dialog
|
|
6
6
|
*/
|
|
7
7
|
export declare class SacConfirmCommon implements IConfirmComponent {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Array with buttons displayed in the dialog.
|
|
10
10
|
*/
|
|
11
11
|
buttons: SacConfirmButton[];
|
|
12
12
|
/**
|
|
13
|
-
* Icon
|
|
13
|
+
* Icon displayed on the dialog
|
|
14
14
|
*/
|
|
15
15
|
image: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Defines whether the dialog is visible
|
|
18
18
|
*/
|
|
19
19
|
isvisible: boolean;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Message displayed on the dialog
|
|
22
22
|
*/
|
|
23
23
|
message: string;
|
|
24
24
|
/**
|
|
25
|
-
* Event
|
|
25
|
+
* Event when dialog is closed
|
|
26
26
|
*/
|
|
27
27
|
onconfirm: EventEmitter<string>;
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
* Dialog title for Confirm Dialog
|
|
30
|
+
*/
|
|
31
31
|
title: string;
|
|
32
32
|
/**
|
|
33
|
-
* Action
|
|
33
|
+
* Action when a button on the dialog is clicked. Triggers the EventEmitter and hides the dialog.
|
|
34
34
|
* @param action
|
|
35
35
|
*/
|
|
36
36
|
confirm(action: string): void;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Defines whether an image is set for the dialog
|
|
39
|
+
* @returns Boolean indicating whether an image is set
|
|
39
40
|
*/
|
|
40
41
|
hasImage(): boolean;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Hides the dialog
|
|
43
44
|
*/
|
|
44
45
|
hide(): void;
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
+
* Shows the dialog
|
|
47
48
|
*/
|
|
48
49
|
show(): void;
|
|
49
50
|
}
|