@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
|
@@ -32,7 +32,15 @@ export interface ISacConfigurationService {
|
|
|
32
32
|
*/
|
|
33
33
|
InputSearchIconMode: 'text' | 'icon' | 'mixed';
|
|
34
34
|
/**
|
|
35
|
-
* default
|
|
35
|
+
* Defines the default label mode for all components with labels
|
|
36
|
+
*
|
|
37
|
+
* Options are 'standard' and 'floating'
|
|
38
|
+
* Floating labels are only supported in Bootstrap 5
|
|
39
|
+
* Default is 'standard'
|
|
40
|
+
*/
|
|
41
|
+
LabelMode: 'standard' | 'floating';
|
|
42
|
+
/**
|
|
43
|
+
* Default label size for large devices
|
|
36
44
|
*/
|
|
37
45
|
LabelSizeLg: number | null;
|
|
38
46
|
/**
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
1
|
import { IBrowserFileResponse } from '../components/browser/models/browserfileresponse';
|
|
3
2
|
import { IBrowserNodeResponse } from '../components/browser/models/browsernoderesponse';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
/**
|
|
5
|
-
* Interface
|
|
5
|
+
* Interface for File Browser Service
|
|
6
6
|
*/
|
|
7
7
|
export interface ISacFileBrowserService {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* @param apiurl URL
|
|
11
|
-
* @param path
|
|
12
|
-
* @param allowedextensions
|
|
13
|
-
*/
|
|
14
|
-
GetFiles(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
15
|
-
/**
|
|
16
|
-
* Speichert eine Hochgeladene Datei in der Struktur
|
|
17
|
-
* @param apiurl URL zu API Service
|
|
18
|
-
* @param path Pfad in welchem das neue File gespeichert werden soll
|
|
19
|
-
* @param id ID des Uploads
|
|
20
|
-
* @param allowedextensions Erlaubte Extensions für den Upload
|
|
9
|
+
* Deletes a file
|
|
10
|
+
* @param apiurl URL to API Service
|
|
11
|
+
* @param path Path of the file to be deleted
|
|
12
|
+
* @param allowedextensions Allowed extensions for files
|
|
21
13
|
*/
|
|
22
|
-
|
|
14
|
+
DeleteFile(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
23
15
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @param apiurl URL
|
|
26
|
-
* @param path
|
|
27
|
-
* @param newFilename Neuer Dateiname
|
|
28
|
-
* @param allowedextensions Erlaubte Extension für Files
|
|
16
|
+
* Deletes a node
|
|
17
|
+
* @param apiurl URL to API Service
|
|
18
|
+
* @param path Path of the node to be deleted
|
|
29
19
|
*/
|
|
30
|
-
|
|
20
|
+
DeleteNode(apiurl: string, path: string): Observable<IBrowserNodeResponse>;
|
|
31
21
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @param apiurl URL
|
|
34
|
-
* @param path
|
|
35
|
-
* @param allowedextensions
|
|
22
|
+
* Method that reads the files of a node
|
|
23
|
+
* @param apiurl URL to API Service
|
|
24
|
+
* @param path Path of the node from which the files should be read
|
|
25
|
+
* @param allowedextensions Allowed file extensions
|
|
36
26
|
*/
|
|
37
|
-
|
|
27
|
+
GetFiles(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
38
28
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @param apiurl URL
|
|
41
|
-
* @param path
|
|
42
|
-
* @param allowedextensions
|
|
29
|
+
* Returns a node
|
|
30
|
+
* @param apiurl URL to API Service
|
|
31
|
+
* @param path Path of the node being requested
|
|
32
|
+
* @param allowedextensions Allowed extensions that may be displayed
|
|
43
33
|
*/
|
|
44
34
|
GetNode(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserNodeResponse>;
|
|
45
35
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @param apiurl URL
|
|
48
|
-
* @param path
|
|
49
|
-
* @param
|
|
36
|
+
* Method that renames a file
|
|
37
|
+
* @param apiurl URL to API Service
|
|
38
|
+
* @param path Path to the file to be renamed
|
|
39
|
+
* @param newFilename New filename
|
|
40
|
+
* @param allowedextensions Allowed extension for files
|
|
50
41
|
*/
|
|
51
|
-
|
|
42
|
+
RenameFile(apiurl: string, path: string, newFilename: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
52
43
|
/**
|
|
53
|
-
* Rename
|
|
54
|
-
* @param apiurl URL
|
|
55
|
-
* @param path
|
|
56
|
-
* @param newFoldername
|
|
44
|
+
* Rename a node
|
|
45
|
+
* @param apiurl URL to API Service
|
|
46
|
+
* @param path Path of the node to be renamed
|
|
47
|
+
* @param newFoldername New name of the node
|
|
57
48
|
*/
|
|
58
49
|
RenameNode(apiurl: string, path: string, newFoldername: string): Observable<IBrowserNodeResponse>;
|
|
59
50
|
/**
|
|
60
|
-
*
|
|
61
|
-
* @param apiurl URL
|
|
62
|
-
* @param path
|
|
51
|
+
* Saves an uploaded file in the structure
|
|
52
|
+
* @param apiurl URL to API Service
|
|
53
|
+
* @param path Path where the new file should be saved
|
|
54
|
+
* @param uploadid ID of the upload
|
|
55
|
+
* @param allowedextensions Allowed extensions for the upload
|
|
63
56
|
*/
|
|
64
|
-
|
|
57
|
+
SaveFile(apiurl: string, path: string, uploadid: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Saves a node
|
|
60
|
+
* @param apiurl URL to API Service
|
|
61
|
+
* @param path Path where the node should be saved
|
|
62
|
+
* @param newFoldername Name of the new node
|
|
63
|
+
*/
|
|
64
|
+
SaveNode(apiurl: string, path: string, newFoldername: string): Observable<IBrowserNodeResponse>;
|
|
65
65
|
}
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface defining responsive label column sizes for various device breakpoints.
|
|
3
|
+
*/
|
|
1
4
|
export interface ISacLabelSizes {
|
|
2
5
|
/**
|
|
3
|
-
*
|
|
6
|
+
* Default label size for large devices (lg breakpoint).
|
|
4
7
|
*/
|
|
5
|
-
|
|
8
|
+
labelSizeLg: number;
|
|
6
9
|
/**
|
|
7
|
-
*
|
|
10
|
+
* Default label size for medium devices (md breakpoint).
|
|
8
11
|
*/
|
|
9
|
-
|
|
12
|
+
labelSizeMd: number;
|
|
10
13
|
/**
|
|
11
|
-
*
|
|
14
|
+
* Default label size for small devices (sm breakpoint).
|
|
12
15
|
*/
|
|
13
|
-
|
|
16
|
+
labelSizeSm: number;
|
|
14
17
|
/**
|
|
15
|
-
*
|
|
18
|
+
* Default label size for extra large devices (xl breakpoint).
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
labelSizeXl: number;
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* Default label size for extra small devices (xs breakpoint).
|
|
20
23
|
*/
|
|
21
|
-
|
|
24
|
+
labelSizeXs: number;
|
|
22
25
|
/**
|
|
23
|
-
*
|
|
26
|
+
* Default label size for extra extra large devices (xxl breakpoint).
|
|
24
27
|
*/
|
|
25
|
-
|
|
28
|
+
labelSizeXxl: number;
|
|
26
29
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
1
|
import { LanguageModel } from '../models/languagemodel';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
3
|
/**
|
|
4
4
|
* Interface for language service
|
|
5
5
|
*/
|
|
6
6
|
export interface ISacLanguageService {
|
|
7
7
|
/**
|
|
8
|
-
* Returns any language
|
|
9
|
-
* Multilanguage
|
|
8
|
+
* Returns any language that the application supports. These languages are populated to the
|
|
9
|
+
* Multilanguage control.
|
|
10
10
|
*/
|
|
11
11
|
GetLanguages(): Observable<LanguageModel[]>;
|
|
12
12
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
/**
|
|
3
|
-
* Interface
|
|
3
|
+
* Interface for Language Resource Service implementation
|
|
4
4
|
*/
|
|
5
5
|
export interface ISacLocalisationService {
|
|
6
6
|
/**
|
|
7
|
-
* Get String
|
|
7
|
+
* Get String based on Key and Params
|
|
8
8
|
*/
|
|
9
9
|
GetString(key: string, params?: any): Observable<string>;
|
|
10
10
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payload structure for upload-complete events emitted by the uploader control.
|
|
3
|
+
*/
|
|
1
4
|
export interface ISacUploadEventCompleteState {
|
|
5
|
+
/** File name of the uploaded file. */
|
|
2
6
|
name: string;
|
|
7
|
+
/** File size in bytes of the uploaded file. */
|
|
3
8
|
size: number;
|
|
9
|
+
/** Identifier of the uploaded file. */
|
|
4
10
|
uploadid: string;
|
|
5
11
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Interface to extend FormControl with label
|
|
2
|
+
* Interface to extend FormControl with a label property used for form field labeling.
|
|
3
3
|
*/
|
|
4
4
|
export interface IAbstractControlLabelExtension {
|
|
5
|
+
/**
|
|
6
|
+
* Label text of the control, used for aria-labels and display labels.
|
|
7
|
+
*/
|
|
5
8
|
controllabel: string;
|
|
6
9
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
/**
|
|
3
|
-
* Interface
|
|
3
|
+
* Interface for Confirm Dialog implementation
|
|
4
4
|
*/
|
|
5
5
|
export interface IConfirmComponent {
|
|
6
6
|
/**
|
|
7
|
-
* EventEmitter
|
|
7
|
+
* EventEmitter on confirmation
|
|
8
8
|
*/
|
|
9
9
|
onconfirm: EventEmitter<string>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Hide
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
hide(): void;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Show
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
show(): void;
|
|
18
18
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Interface to extend FormControl with datetime parser format
|
|
2
|
+
* Interface to extend FormControl with datetime parser format and value semantics.
|
|
3
|
+
*
|
|
4
|
+
* Controls that implement this interface expose a date/time format string used for validation
|
|
5
|
+
* and conversion, and carry the current model value.
|
|
3
6
|
*/
|
|
4
7
|
export interface IDateTimeControl {
|
|
8
|
+
/**
|
|
9
|
+
* Date/time format pattern used by the control (moment.js format string).
|
|
10
|
+
*/
|
|
5
11
|
datetimeformatstring: string;
|
|
12
|
+
/**
|
|
13
|
+
* The current value of the datetime control.
|
|
14
|
+
*/
|
|
6
15
|
value: any;
|
|
7
16
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { IconType } from '../enums/IconType';
|
|
2
2
|
/**
|
|
3
|
-
* Model
|
|
3
|
+
* Model for languages
|
|
4
4
|
*/
|
|
5
5
|
export declare class LanguageModel {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Icon for language
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
Icon: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Type of the icon. Default is Image
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
IconType: IconType;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* ISO Code for language
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
IsoCode: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Designation for language
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
Text: string;
|
|
22
22
|
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -78,7 +78,8 @@ export * from './utilities/convertion';
|
|
|
78
78
|
export * from './utilities/datatypes';
|
|
79
79
|
export * from './utilities/enums';
|
|
80
80
|
export * from './utilities/interpolation';
|
|
81
|
-
export * from './utilities/
|
|
81
|
+
export * from './utilities/positioncalculator';
|
|
82
|
+
export * from './utilities/positionelements';
|
|
82
83
|
export * from './utilities/testingattribute.pipe';
|
|
83
84
|
export * from './common/basedatetimecontrol';
|
|
84
85
|
export * from './common/baseinputcontrol';
|
package/services/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { SACCONFIGURATION_SERVICE, SacAbstractConfigurationService, SacDefaultConfigurationService, } from './sac-configuration.service';
|
|
2
2
|
export { SACFILEBROWSER_SERVICE, SacAbstractFileBrowserService, SacDefaultFileBrowserService, } from './sac-filebrowser.service';
|
|
3
|
-
export { SACICON_SERVICE, SacAbstractIconService, SacDefaultIconService
|
|
4
|
-
export { SACLANGUAGE_SERVICE, SacAbstractLanguageService, SacDefaultLanguageService
|
|
3
|
+
export { SACICON_SERVICE, SacAbstractIconService, SacDefaultIconService } from './sac-icon.service';
|
|
4
|
+
export { SACLANGUAGE_SERVICE, SacAbstractLanguageService, SacDefaultLanguageService } from './sac-language.service';
|
|
5
5
|
export { SACLOCALISATION_SERVICE, SacAbstractLocalisationService, SacDefaultLocalisationService, } from './sac-localisation.service';
|
|
6
|
-
export { SACVALIDATIONKEY_SERVICE, SacDefaultValidationKeyService
|
|
6
|
+
export { SACVALIDATIONKEY_SERVICE, SacDefaultValidationKeyService } from './sac-validationkey.service';
|
|
@@ -37,6 +37,10 @@ export declare abstract class SacAbstractConfigurationService implements ISacCon
|
|
|
37
37
|
* @inheritdoc
|
|
38
38
|
*/
|
|
39
39
|
abstract get InputSearchIconMode(): 'text' | 'icon' | 'mixed';
|
|
40
|
+
/**
|
|
41
|
+
* @inheritdoc
|
|
42
|
+
*/
|
|
43
|
+
abstract get LabelMode(): 'standard' | 'floating';
|
|
40
44
|
/**
|
|
41
45
|
* @inheritdoc
|
|
42
46
|
*/
|
|
@@ -98,6 +102,10 @@ export declare class SacDefaultConfigurationService extends SacAbstractConfigura
|
|
|
98
102
|
* @inheritdoc
|
|
99
103
|
*/
|
|
100
104
|
get InputSearchIconMode(): 'text' | 'icon' | 'mixed';
|
|
105
|
+
/**
|
|
106
|
+
* @inheritdoc
|
|
107
|
+
*/
|
|
108
|
+
get LabelMode(): 'standard' | 'floating';
|
|
101
109
|
/**
|
|
102
110
|
* @inheritdoc
|
|
103
111
|
*/
|
|
@@ -5,136 +5,144 @@ import { HttpClient } from '@angular/common/http';
|
|
|
5
5
|
import { InjectionToken } from '@angular/core';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
/**
|
|
8
|
-
* Injection Token
|
|
8
|
+
* Injection Token for Language Service
|
|
9
9
|
*/
|
|
10
10
|
export declare const SACFILEBROWSER_SERVICE: InjectionToken<ISacFileBrowserService>;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Abstract implementation of the file service for the browser component
|
|
13
13
|
*/
|
|
14
14
|
export declare abstract class SacAbstractFileBrowserService implements ISacFileBrowserService {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
* @param apiurl URL
|
|
18
|
-
* @param path
|
|
19
|
-
* @param allowedextensions
|
|
16
|
+
* Deletes a file
|
|
17
|
+
* @param apiurl URL to API Service
|
|
18
|
+
* @param path Path of the file to be deleted
|
|
19
|
+
* @param allowedextensions Allowed extensions for files
|
|
20
20
|
*/
|
|
21
21
|
abstract DeleteFile(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @param apiurl URL
|
|
25
|
-
* @param path
|
|
23
|
+
* Deletes a node
|
|
24
|
+
* @param apiurl URL to API Service
|
|
25
|
+
* @param path Path of the node to be deleted
|
|
26
26
|
*/
|
|
27
27
|
abstract DeleteNode(apiurl: string, path: string): Observable<IBrowserNodeResponse>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @param apiurl URL
|
|
31
|
-
* @param path
|
|
32
|
-
* @param allowedextensions
|
|
29
|
+
* Method that reads the files of a node
|
|
30
|
+
* @param apiurl URL to API Service
|
|
31
|
+
* @param path Path of the node from which the files should be read
|
|
32
|
+
* @param allowedextensions Allowed file extensions
|
|
33
33
|
*/
|
|
34
34
|
abstract GetFiles(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @param apiurl URL
|
|
38
|
-
* @param path
|
|
39
|
-
* @param allowedextensions
|
|
36
|
+
* Returns a node
|
|
37
|
+
* @param apiurl URL to API Service
|
|
38
|
+
* @param path Path of the node being requested
|
|
39
|
+
* @param allowedextensions Allowed extensions that may be displayed
|
|
40
40
|
*/
|
|
41
41
|
abstract GetNode(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserNodeResponse>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @param apiurl URL
|
|
45
|
-
* @param path
|
|
46
|
-
* @param newFilename
|
|
47
|
-
* @param allowedextensions
|
|
43
|
+
* Method that renames a file
|
|
44
|
+
* @param apiurl URL to API Service
|
|
45
|
+
* @param path Path to the file to be renamed
|
|
46
|
+
* @param newFilename New filename
|
|
47
|
+
* @param allowedextensions Allowed extension for files
|
|
48
48
|
*/
|
|
49
49
|
abstract RenameFile(apiurl: string, path: string, newFilename: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
50
50
|
/**
|
|
51
|
-
* Rename
|
|
52
|
-
* @param apiurl URL
|
|
53
|
-
* @param path
|
|
54
|
-
* @param newFoldername
|
|
51
|
+
* Rename a node
|
|
52
|
+
* @param apiurl URL to API Service
|
|
53
|
+
* @param path Path of the node to be renamed
|
|
54
|
+
* @param newFoldername New name of the node
|
|
55
55
|
*/
|
|
56
56
|
abstract RenameNode(apiurl: string, path: string, newFoldername: string): Observable<IBrowserNodeResponse>;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @param apiurl URL
|
|
60
|
-
* @param path
|
|
61
|
-
* @param id ID
|
|
62
|
-
* @param allowedextensions
|
|
58
|
+
* Saves an uploaded file in the structure
|
|
59
|
+
* @param apiurl URL to API Service
|
|
60
|
+
* @param path Path where the new file should be saved
|
|
61
|
+
* @param id ID of the upload
|
|
62
|
+
* @param allowedextensions Allowed extensions for the upload
|
|
63
63
|
*/
|
|
64
64
|
abstract SaveFile(apiurl: string, path: string, id: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @param apiurl URL
|
|
68
|
-
* @param path
|
|
69
|
-
* @param newFoldername Name
|
|
66
|
+
* Saves a node
|
|
67
|
+
* @param apiurl URL to API Service
|
|
68
|
+
* @param path Path where the node should be saved
|
|
69
|
+
* @param newFoldername Name of the new node
|
|
70
70
|
*/
|
|
71
71
|
abstract SaveNode(apiurl: string, path: string, newFoldername: string): Observable<IBrowserNodeResponse>;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Standard implementation of the backend service for the file browser component
|
|
75
75
|
*/
|
|
76
76
|
export declare class SacDefaultFileBrowserService extends SacAbstractFileBrowserService {
|
|
77
77
|
private httpclient;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Constructor
|
|
80
80
|
* @param httpclient HTTP Client Service
|
|
81
81
|
*/
|
|
82
82
|
constructor(httpclient: HttpClient);
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @param apiurl URL
|
|
86
|
-
* @param path
|
|
87
|
-
* @param allowedextensions
|
|
84
|
+
* Deletes a file
|
|
85
|
+
* @param apiurl URL to API Service
|
|
86
|
+
* @param path Path of the file to be deleted
|
|
87
|
+
* @param allowedextensions Allowed extensions for files
|
|
88
|
+
* @returns Observable containing the file response after deletion
|
|
88
89
|
*/
|
|
89
90
|
DeleteFile(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
90
91
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @param apiurl URL
|
|
93
|
-
* @param path
|
|
92
|
+
* Deletes a node
|
|
93
|
+
* @param apiurl URL to API Service
|
|
94
|
+
* @param path Path of the node to be deleted
|
|
95
|
+
* @returns Observable containing the node response after deletion
|
|
94
96
|
*/
|
|
95
97
|
DeleteNode(apiurl: string, path: string): Observable<IBrowserNodeResponse>;
|
|
96
98
|
/**
|
|
97
|
-
*
|
|
98
|
-
* @param apiurl URL
|
|
99
|
-
* @param path
|
|
100
|
-
* @param allowedextensions
|
|
99
|
+
* Method that reads the files of a node
|
|
100
|
+
* @param apiurl URL to API Service
|
|
101
|
+
* @param path Path of the node from which the files should be read
|
|
102
|
+
* @param allowedextensions Allowed file extensions
|
|
103
|
+
* @returns Observable containing the file response
|
|
101
104
|
*/
|
|
102
105
|
GetFiles(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
103
106
|
/**
|
|
104
|
-
*
|
|
105
|
-
* @param apiurl URL
|
|
106
|
-
* @param path
|
|
107
|
-
* @param allowedextensions
|
|
107
|
+
* Returns a node
|
|
108
|
+
* @param apiurl URL to API Service
|
|
109
|
+
* @param path Path of the node being requested
|
|
110
|
+
* @param allowedextensions Allowed extensions that may be displayed
|
|
111
|
+
* @returns Observable containing the node response
|
|
108
112
|
*/
|
|
109
113
|
GetNode(apiurl: string, path: string, allowedextensions: string): Observable<IBrowserNodeResponse>;
|
|
110
114
|
/**
|
|
111
|
-
*
|
|
112
|
-
* @param apiurl URL
|
|
113
|
-
* @param path
|
|
114
|
-
* @param newFilename
|
|
115
|
-
* @param allowedextensions
|
|
115
|
+
* Method that renames a file
|
|
116
|
+
* @param apiurl URL to API Service
|
|
117
|
+
* @param path Path to the file to be renamed
|
|
118
|
+
* @param newFilename New filename
|
|
119
|
+
* @param allowedextensions Allowed extension for files
|
|
120
|
+
* @returns Observable containing the file response after rename
|
|
116
121
|
*/
|
|
117
122
|
RenameFile(apiurl: string, path: string, newFilename: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
118
123
|
/**
|
|
119
|
-
* Rename
|
|
120
|
-
* @param apiurl URL
|
|
121
|
-
* @param path
|
|
122
|
-
* @param newFoldername
|
|
124
|
+
* Rename a node
|
|
125
|
+
* @param apiurl URL to API Service
|
|
126
|
+
* @param path Path of the node to be renamed
|
|
127
|
+
* @param newFoldername New name of the node
|
|
128
|
+
* @returns Observable containing the node response after rename
|
|
123
129
|
*/
|
|
124
130
|
RenameNode(apiurl: string, path: string, newFoldername: string): Observable<IBrowserNodeResponse>;
|
|
125
131
|
/**
|
|
126
|
-
*
|
|
127
|
-
* @param apiurl URL
|
|
128
|
-
* @param path
|
|
129
|
-
* @param id ID
|
|
130
|
-
* @param allowedextensions
|
|
132
|
+
* Saves an uploaded file in the structure
|
|
133
|
+
* @param apiurl URL to API Service
|
|
134
|
+
* @param path Path where the new file should be saved
|
|
135
|
+
* @param id ID of the upload
|
|
136
|
+
* @param allowedextensions Allowed extensions for the upload
|
|
137
|
+
* @returns Observable containing the file response after save
|
|
131
138
|
*/
|
|
132
139
|
SaveFile(apiurl: string, path: string, id: string, allowedextensions: string): Observable<IBrowserFileResponse>;
|
|
133
140
|
/**
|
|
134
|
-
*
|
|
135
|
-
* @param apiurl URL
|
|
136
|
-
* @param path
|
|
137
|
-
* @param newFoldername Name
|
|
141
|
+
* Saves a node
|
|
142
|
+
* @param apiurl URL to API Service
|
|
143
|
+
* @param path Path where the node should be saved
|
|
144
|
+
* @param newFoldername Name of the new node
|
|
145
|
+
* @returns Observable containing the node response after save
|
|
138
146
|
*/
|
|
139
147
|
SaveNode(apiurl: string, path: string, newFoldername: string): Observable<IBrowserNodeResponse>;
|
|
140
148
|
}
|