@simpleangularcontrols/sac-common 10.0.0-rc.27 → 10.0.0-rc.29

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.
Files changed (123) hide show
  1. package/bundles/simpleangularcontrols-sac-common.umd.js +729 -369
  2. package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
  3. package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
  4. package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
  5. package/common/basedatetimecontrol.d.ts +5 -0
  6. package/common/basemodelcontrol.d.ts +4 -0
  7. package/common/baseuploadcontrol.d.ts +4 -0
  8. package/controls/buttons/button.d.ts +25 -21
  9. package/controls/checkbox/checkbox.d.ts +1 -1
  10. package/controls/confirm/confirm.d.ts +19 -19
  11. package/controls/confirm/confirm.service.d.ts +10 -10
  12. package/controls/contextmenu/contextmenu.d.ts +8 -0
  13. package/controls/datetime/dateselector.d.ts +9 -1
  14. package/controls/dialog/dialog.d.ts +5 -1
  15. package/controls/form/form.d.ts +4 -4
  16. package/controls/grid/grid.d.ts +22 -18
  17. package/controls/grid/gridbutton.d.ts +23 -4
  18. package/controls/grid/gridcolumn.d.ts +5 -5
  19. package/controls/grid/gridcolumnaction.d.ts +1 -1
  20. package/controls/grid/gridcolumnbase.d.ts +21 -5
  21. package/controls/grid/model.d.ts +17 -17
  22. package/controls/grid/paging.d.ts +33 -29
  23. package/controls/input/inputdecimal.d.ts +1 -1
  24. package/controls/input/inputemail.d.ts +1 -1
  25. package/controls/input/inputinteger.d.ts +1 -1
  26. package/controls/input/inputsearch.d.ts +5 -5
  27. package/controls/list/dropdown.d.ts +3 -3
  28. package/controls/list/dropdownoptions.d.ts +1 -1
  29. package/controls/list/listbox.d.ts +1 -1
  30. package/controls/multilanguage/multilanguageinput.d.ts +2 -2
  31. package/controls/static/staticlabel.d.ts +1 -1
  32. package/controls/tabs/tab.d.ts +19 -15
  33. package/controls/tabs/tabitem.d.ts +4 -4
  34. package/controls/tinymce/tinymce.d.ts +26 -22
  35. package/controls/tinymce/tinymcedialogsettings.d.ts +9 -9
  36. package/controls/tooltip/tooltip.d.ts +8 -0
  37. package/controls/treeview/treeview.d.ts +1 -1
  38. package/controls/upload/dropzonemultiple.d.ts +4 -0
  39. package/controls/upload/dropzonesingle.d.ts +4 -0
  40. package/controls/upload/uploadmultiple.d.ts +4 -0
  41. package/controls/upload/uploadsingle.d.ts +4 -0
  42. package/controls/validation/validationsummary.d.ts +8 -4
  43. package/controls/wizard/wizard.d.ts +30 -30
  44. package/controls/wizard/wizarditem.d.ts +4 -4
  45. package/esm2015/common/basedatetimecontrol.js +6 -1
  46. package/esm2015/common/basemodelcontrol.js +6 -1
  47. package/esm2015/common/baseuploadcontrol.js +18 -5
  48. package/esm2015/controls/buttons/button.js +37 -32
  49. package/esm2015/controls/checkbox/checkbox.js +2 -2
  50. package/esm2015/controls/confirm/confirm.button.js +1 -1
  51. package/esm2015/controls/confirm/confirm.js +33 -35
  52. package/esm2015/controls/confirm/confirm.service.js +2 -2
  53. package/esm2015/controls/contextmenu/contextmenu.js +12 -1
  54. package/esm2015/controls/contextmenu/contextmenuanchor.js +1 -1
  55. package/esm2015/controls/contextmenu/contextmenucontainer.js +1 -1
  56. package/esm2015/controls/datetime/dateselector.js +41 -19
  57. package/esm2015/controls/dialog/dialog.js +22 -12
  58. package/esm2015/controls/form/form.js +3 -4
  59. package/esm2015/controls/grid/grid.js +23 -13
  60. package/esm2015/controls/grid/gridbutton.js +55 -14
  61. package/esm2015/controls/grid/gridcolumn.js +8 -8
  62. package/esm2015/controls/grid/gridcolumnaction.js +2 -2
  63. package/esm2015/controls/grid/gridcolumnbase.js +23 -7
  64. package/esm2015/controls/grid/gridimage.js +1 -1
  65. package/esm2015/controls/grid/model.js +23 -23
  66. package/esm2015/controls/grid/paging.js +48 -38
  67. package/esm2015/controls/input/inputdecimal.js +2 -2
  68. package/esm2015/controls/input/inputemail.js +2 -2
  69. package/esm2015/controls/input/inputinteger.js +2 -2
  70. package/esm2015/controls/input/inputsearch.js +8 -8
  71. package/esm2015/controls/layout/formlayout.js +6 -2
  72. package/esm2015/controls/list/buildvaluestring.js +3 -1
  73. package/esm2015/controls/list/dropdown.js +11 -2
  74. package/esm2015/controls/list/dropdownoptions.js +9 -2
  75. package/esm2015/controls/list/list.module.js +2 -2
  76. package/esm2015/controls/list/listbox.js +4 -4
  77. package/esm2015/controls/multilanguage/multilanguageinput.js +2 -2
  78. package/esm2015/controls/static/staticlabel.js +6 -2
  79. package/esm2015/controls/tabs/tab.js +38 -28
  80. package/esm2015/controls/tabs/tabitem.js +5 -3
  81. package/esm2015/controls/tinymce/tinymce.js +33 -32
  82. package/esm2015/controls/tinymce/tinymcedialogsettings.js +3 -1
  83. package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.js +1 -4
  84. package/esm2015/controls/tinymce/tinymceinstance.js +1 -1
  85. package/esm2015/controls/tooltip/tooltip.js +12 -1
  86. package/esm2015/controls/treeview/treeview.js +9 -9
  87. package/esm2015/controls/upload/dropzonemultiple.js +10 -2
  88. package/esm2015/controls/upload/dropzonesingle.js +10 -2
  89. package/esm2015/controls/upload/uploadmultiple.js +10 -2
  90. package/esm2015/controls/upload/uploadsingle.js +10 -2
  91. package/esm2015/controls/validation/validationsummary.js +12 -6
  92. package/esm2015/controls/wizard/wizard.js +55 -49
  93. package/esm2015/controls/wizard/wizarditem.js +8 -6
  94. package/esm2015/interfaces/ISacConfigurationService.js +1 -1
  95. package/esm2015/interfaces/ISacIconService.js +1 -1
  96. package/esm2015/public_api.js +4 -1
  97. package/esm2015/services/sac-configuration.service.js +15 -5
  98. package/esm2015/services/sac-filebrowser.service.js +68 -62
  99. package/esm2015/services/sac-icon.service.js +31 -1
  100. package/esm2015/services/sac-language.service.js +6 -2
  101. package/esm2015/utilities/guid.js +4 -4
  102. package/esm2015/utilities/popuphelper.js +2 -2
  103. package/esm2015/utilities/testingattribute.pipe.js +39 -0
  104. package/esm2015/utilities/testingattribute.pipe.ngfactory.js +7 -0
  105. package/esm2015/utilities/utilities.module.js +12 -0
  106. package/esm2015/utilities/utilities.module.ngfactory.js +7 -0
  107. package/fesm2015/simpleangularcontrols-sac-common.js +721 -390
  108. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
  109. package/interfaces/ISacConfigurationService.d.ts +4 -0
  110. package/interfaces/ISacIconService.d.ts +20 -0
  111. package/package.json +1 -1
  112. package/public_api.d.ts +2 -0
  113. package/services/sac-configuration.service.d.ts +13 -5
  114. package/services/sac-filebrowser.service.d.ts +59 -59
  115. package/services/sac-icon.service.d.ts +40 -0
  116. package/services/sac-language.service.d.ts +2 -2
  117. package/simpleangularcontrols-sac-common-10.0.0-rc.29.tgz +0 -0
  118. package/simpleangularcontrols-sac-common.metadata.json +1 -1
  119. package/utilities/testingattribute.pipe.d.ts +12 -0
  120. package/utilities/testingattribute.pipe.ngfactory.d.ts +1 -0
  121. package/utilities/utilities.module.d.ts +2 -0
  122. package/utilities/utilities.module.ngfactory.d.ts +3 -0
  123. package/simpleangularcontrols-sac-common-10.0.0-rc.27.tgz +0 -0
@@ -1,7 +1,7 @@
1
- import { EventEmitter, Injector } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
1
  import { ISacLocalisationService } from '../../interfaces/ISacLocalisationService';
4
2
  import { PagerData, PagerRequest } from './model';
3
+ import { EventEmitter, Injector } from '@angular/core';
4
+ import { Observable } from 'rxjs';
5
5
  /**
6
6
  * Basic component for paging
7
7
  */
@@ -19,9 +19,29 @@ export declare abstract class SacPagingCommon {
19
19
  */
20
20
  protected totalRowCount: number;
21
21
  /**
22
- * Name of the grid. Used for ID and name designations
22
+ * Active page index
23
+ */
24
+ activePageIndex: number;
25
+ /**
26
+ * Identifier used for the E2E data attribute.
27
+ */
28
+ e2eidentifier: string | null;
29
+ /**
30
+ * First page index
31
+ */
32
+ firstPageIndex: number;
33
+ /**
34
+ * Last page index
35
+ */
36
+ lastPageIndex: number;
37
+ /**
38
+ * name of control
23
39
  */
24
40
  name: string;
41
+ /**
42
+ * Number of elements per page
43
+ */
44
+ pageSize: number;
25
45
  /**
26
46
  * Deactivate page size selection
27
47
  */
@@ -39,45 +59,25 @@ export declare abstract class SacPagingCommon {
39
59
  */
40
60
  pagesizetext: string;
41
61
  /**
42
- * Text in pager for 'Page x of y'. The following interpolation texts are available:
43
- * {{CURRENTPAGE}}: Current page
44
- * {{TOTALPAGES}}: Number of pages
62
+ * Item for each paging element (page number)
45
63
  */
46
- pagingtext: string;
64
+ paginators: Array<any>;
47
65
  /**
48
66
  * Event when the page is changed in the grid. The new PageIndex is given as a parameter.
49
67
  */
50
68
  paging: EventEmitter<PagerRequest>;
51
69
  /**
52
- * Active page index
53
- */
54
- activePageIndex: number;
55
- /**
56
- * First page index
57
- */
58
- firstPageIndex: number;
59
- /**
60
- * Last page index
61
- */
62
- lastPageIndex: number;
63
- /**
64
- * Number of elements per page
65
- */
66
- pageSize: number;
67
- /**
68
- * Item for each paging element (page number)
70
+ * Text in pager for 'Page x of y'. The following interpolation texts are available:
71
+ * {{CURRENTPAGE}}: Current page
72
+ * {{TOTALPAGES}}: Number of pages
69
73
  */
70
- paginators: Array<any>;
74
+ pagingtext: string;
71
75
  /**
72
76
  * Constructor
73
77
  * @parent SacFormCommon
74
78
  * @injector Injector
75
79
  */
76
80
  constructor(injector: Injector);
77
- /**
78
- * Property for Pager Data
79
- */
80
- set pagerdata(p: PagerData);
81
81
  /**
82
82
  * Property with text for total entries in page
83
83
  */
@@ -90,6 +90,10 @@ export declare abstract class SacPagingCommon {
90
90
  * Returns the page sizes as a number array
91
91
  */
92
92
  get getPageSizes(): number[];
93
+ /**
94
+ * Property for Pager Data
95
+ */
96
+ set pagerdata(p: PagerData);
93
97
  /**
94
98
  * Changes the page to the new index
95
99
  * @param newPageIndex Page index. This corresponds to the page number - 1.
@@ -1,5 +1,5 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
1
  import { SacInputBase } from '../../common/baseinputcontrol';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
4
  * Basis Komponente für SacInputDecimal
5
5
  */
@@ -1,5 +1,5 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
1
  import { SacInputCommon } from './input';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
4
  * Basis Komponente für SacInputEmail
5
5
  */
@@ -1,5 +1,5 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
1
  import { SacInputBase } from '../../common/baseinputcontrol';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
4
  * Basis Komponente für SacInputInteger
5
5
  */
@@ -1,5 +1,5 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
1
  import { SacInputCommon } from './input';
2
+ import { EventEmitter, OnInit } from '@angular/core';
3
3
  /**
4
4
  * Basis Komponente für SacInputSearch
5
5
  */
@@ -12,14 +12,14 @@ export declare class SacInputSearchCommon extends SacInputCommon implements OnIn
12
12
  * Text welcher auf dem Button angezeigt wird
13
13
  */
14
14
  buttontext: string;
15
- /**
16
- * Name des Such-Icons
17
- */
18
- iconname: string;
19
15
  /**
20
16
  * Event wenn auf das Such-Icon geclickt wird
21
17
  */
22
18
  clicked: EventEmitter<any>;
19
+ /**
20
+ * Name des Such-Icons
21
+ */
22
+ iconname: string;
23
23
  /**
24
24
  * Init Event
25
25
  */
@@ -1,7 +1,7 @@
1
- import { ElementRef, Injector, Renderer2 } from '@angular/core';
2
- import { AbstractControl, ValidationErrors } from '@angular/forms';
3
1
  import { SacBaseSelectControl } from '../../common/baseselectcontrol';
4
2
  import { SacFormLayoutCommon } from '../layout/formlayout';
3
+ import { ElementRef, Injector, Renderer2 } from '@angular/core';
4
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
5
5
  /**
6
6
  * Base Dropdown Komponente
7
7
  */
@@ -27,7 +27,7 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
27
27
  /**
28
28
  * Option Value für Empty Item
29
29
  */
30
- emptyvalue: string;
30
+ emptyvalue: string | null | number;
31
31
  /**
32
32
  * Resource Key für Validation Message Required bei Control
33
33
  */
@@ -1,5 +1,5 @@
1
- import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
1
  import { SacDropdownCommon } from './dropdown';
2
+ import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
3
3
  /**
4
4
  * SacDropdownOption-Klasse
5
5
  */
@@ -21,7 +21,7 @@ export declare class SacListboxOptionCommon implements OnDestroy {
21
21
  /**
22
22
  * NgValue des Controls. Wird für die Mehrfachauswahl benötigt
23
23
  */
24
- set ngvalue(value: any);
24
+ set ngValue(value: any);
25
25
  /**
26
26
  * Definiert den Wert der Listbox
27
27
  */
@@ -1,10 +1,10 @@
1
- import { Injector } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
1
  import { SacInputBase } from '../../common/baseinputcontrol';
4
2
  import { IconType } from '../../enums/IconType';
5
3
  import { ISacLanguageService } from '../../interfaces/ISacLanguageService';
6
4
  import { LanguageModel } from '../../models/languagemodel';
7
5
  import { SacFormLayoutCommon } from '../layout/formlayout';
6
+ import { Injector } from '@angular/core';
7
+ import { AbstractControl } from '@angular/forms';
8
8
  /**
9
9
  * Base Klasse für Multi Language Input Control
10
10
  */
@@ -1,5 +1,5 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
1
  import { SacInputBase } from '../../common/baseinputcontrol';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
4
  * Common Klasse für Static Label Control
5
5
  **/
@@ -1,45 +1,49 @@
1
- import { AfterContentInit, EventEmitter, TemplateRef } from '@angular/core';
2
1
  import { SacTabItemCommon } from './tabitem';
2
+ import { AfterContentInit, EventEmitter, TemplateRef } from '@angular/core';
3
3
  /**
4
4
  * Base component for SacTab
5
5
  */
6
6
  export declare abstract class SacTabCommon implements AfterContentInit {
7
7
  /**
8
- * control name
8
+ * Identifier used for the E2E data attribute.
9
+ */
10
+ e2eidentifier: string | null;
11
+ /**
12
+ * name of control
9
13
  */
10
14
  name: string;
11
15
  /**
12
16
  * input property for template. Typ TemplateRef<any>
13
17
  */
14
18
  tablabeltemplate: TemplateRef<any>;
15
- /**
16
- * dispose tabs when they are hidden
17
- */
18
- unloadtabitemswhenhidden: boolean | null;
19
19
  /**
20
20
  * Event when new tab is selected
21
21
  */
22
22
  tabselected: EventEmitter<string>;
23
23
  /**
24
- * Array von TabItems
24
+ * dispose tabs when they are hidden
25
25
  */
26
- abstract tabItems(): SacTabItemCommon[];
26
+ unloadtabitemswhenhidden: boolean | null;
27
27
  /**
28
- * AfterContentInit Event
28
+ * get id of tab button
29
+ * @param tabitemid id of tab
29
30
  */
30
- ngAfterContentInit(): void;
31
+ GetTabItemButtonId(tabitemid: string): string;
31
32
  /**
32
- * Initialisiert die Tabs
33
+ * AfterContentInit Event
33
34
  */
34
- private initTabs;
35
+ ngAfterContentInit(): void;
35
36
  /**
36
37
  * select new tab
37
38
  * @param tab tab that should be selected
38
39
  */
39
40
  selectTab(tab: SacTabItemCommon): void;
40
41
  /**
41
- * get id of tab button
42
- * @param tabitemid id of tab
42
+ * Array von TabItems
43
43
  */
44
- GetTabItemButtonId(tabitemid: string): string;
44
+ abstract tabItems(): SacTabItemCommon[];
45
+ /**
46
+ * Initialisiert die Tabs
47
+ */
48
+ private initTabs;
45
49
  }
@@ -19,12 +19,12 @@ export declare class SacTabItemCommon {
19
19
  * Label Text vom Control
20
20
  */
21
21
  label: string;
22
- /**
23
- * Das Input property ekzeptiert boolen Wert. Default ist true. Definiert, ob die Komponente hidden sein sollte.
24
- */
25
- unloadwhenhidden: boolean;
26
22
  /**
27
23
  * ContentChild Decorator
28
24
  */
29
25
  templateRef: TemplateRef<any>;
26
+ /**
27
+ * Das Input property ekzeptiert boolen Wert. Default ist true. Definiert, ob die Komponente hidden sein sollte.
28
+ */
29
+ unloadwhenhidden: boolean;
30
30
  }
@@ -1,11 +1,11 @@
1
- import { EventEmitter, Injector, NgZone } from '@angular/core';
2
- import { AbstractControl, ValidationErrors } from '@angular/forms';
3
1
  import { SacBaseModelControl } from '../../common/basemodelcontrol';
4
2
  import { ISacLocalisationService } from '../../interfaces/ISacLocalisationService';
5
3
  import { SacFormLayoutCommon } from '../layout/formlayout';
6
4
  import { TinyMceDialogSettings } from './tinymcedialogsettings';
7
5
  import { TinyMceDialogSettingsMeta } from './tinymcedialogsettingsmeta';
8
6
  import { TinyMceInstance } from './tinymceinstance';
7
+ import { EventEmitter, Injector, NgZone } from '@angular/core';
8
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
9
9
  /**
10
10
  * Basis Komponente für TinyMCE Editor
11
11
  */
@@ -15,6 +15,10 @@ export declare abstract class SacTinyMceCommon extends SacBaseModelControl<strin
15
15
  * Default Config mit Standardwerten für TinyMCE
16
16
  */
17
17
  private baseConfig;
18
+ /**
19
+ * TinyMCE Config
20
+ */
21
+ _config: any;
18
22
  /**
19
23
  * Erlaubt im Filebrowser das löschen von Dateien
20
24
  */
@@ -64,25 +68,13 @@ export declare abstract class SacTinyMceCommon extends SacBaseModelControl<strin
64
68
  */
65
69
  isrequired: boolean;
66
70
  /**
67
- * Resource Key für Validation Message Required bei Control
68
- */
69
- validationmessagerequired: string;
70
- /**
71
- * Resource Key für Validation Message Required in Validation Summary
71
+ * Service für Error Localisation
72
72
  */
73
- validationmessagesummaryrequired: string;
73
+ lngResourceService: ISacLocalisationService;
74
74
  /**
75
75
  * Event wenn Save Action in TinyMCE ausgelöst wird
76
76
  */
77
77
  onsave: EventEmitter<string>;
78
- /**
79
- * TinyMCE Config
80
- */
81
- _config: any;
82
- /**
83
- * Service für Error Localisation
84
- */
85
- lngResourceService: ISacLocalisationService;
86
78
  /**
87
79
  * Settings Instanz für Dialog
88
80
  */
@@ -95,6 +87,14 @@ export declare abstract class SacTinyMceCommon extends SacBaseModelControl<strin
95
87
  * Instanz auf TinyMCE Settings. Wird durch TinyMCE gesetzt und wird für den Callback des Dialog benötigt
96
88
  */
97
89
  settings: TinyMceInstance;
90
+ /**
91
+ * Resource Key für Validation Message Required bei Control
92
+ */
93
+ validationmessagerequired: string;
94
+ /**
95
+ * Resource Key für Validation Message Required in Validation Summary
96
+ */
97
+ validationmessagesummaryrequired: string;
98
98
  /**
99
99
  * Constructor
100
100
  * @param formlayout SacFormLayoutCommon to define scoped layout settings
@@ -102,19 +102,27 @@ export declare abstract class SacTinyMceCommon extends SacBaseModelControl<strin
102
102
  * @param ngZone ngzone for handling external javascripts
103
103
  */
104
104
  constructor(formlayout: SacFormLayoutCommon, injector: Injector, ngZone: NgZone);
105
+ /**
106
+ * TinyMCE Konfiguration
107
+ */
108
+ get config(): any;
105
109
  /**
106
110
  * TinyMCE Konfiguration
107
111
  * @link https://www.tiny.cloud/docs/configure/
108
112
  */
109
113
  set config(v: any);
110
114
  /**
111
- * TinyMCE Konfiguration
115
+ * event when control is touched
112
116
  */
113
- get config(): any;
117
+ blur(): void;
114
118
  /**
115
119
  * Schliesst den Dateiauswahl Dialog
116
120
  */
117
121
  closeSelectDialog(): void;
122
+ /**
123
+ * get settings in effective implementation that overwrites the defaults. use {} for non overwrites.
124
+ */
125
+ abstract overwriteDefaultSettings(): any;
118
126
  /**
119
127
  * Löst die Speichern Action aus
120
128
  * @param content Content als String
@@ -137,10 +145,6 @@ export declare abstract class SacTinyMceCommon extends SacBaseModelControl<strin
137
145
  * @returns Gibt eine Fehlermeldung oder NULL zurück
138
146
  */
139
147
  validateData(c: AbstractControl): ValidationErrors;
140
- /**
141
- * get settings in effective implementation that overwrites the defaults. use {} for non overwrites.
142
- */
143
- abstract overwriteDefaultSettings(): any;
144
148
  /**
145
149
  * Gibt die TinyMCE Settings zurück, die aus den Properties der Angular Komponenten erzeugt werden
146
150
  * @returns Objekt mit Settings
@@ -4,24 +4,24 @@ import { TinyMceDialogSettingsMeta } from './tinymcedialogsettingsmeta';
4
4
  */
5
5
  export declare class TinyMceDialogSettings {
6
6
  /**
7
- * Konstruktor
8
- * @param init Initale Werte
7
+ * File Type Filter
9
8
  */
10
- constructor(init?: Partial<TinyMceDialogSettings>);
9
+ allowedtypes: string;
11
10
  /**
12
11
  * Callback Methode für Dialog
13
12
  */
14
13
  callback: any;
15
- /**
16
- * Wert aus Dialog
17
- */
18
- value: string;
19
14
  /**
20
15
  * Meta Daten zu Dialog
21
16
  */
22
17
  meta: TinyMceDialogSettingsMeta;
23
18
  /**
24
- * File Type Filter
19
+ * Wert aus Dialog
25
20
  */
26
- allowedtypes: string;
21
+ value: string;
22
+ /**
23
+ * Konstruktor
24
+ * @param init Initale Werte
25
+ */
26
+ constructor(init?: Partial<TinyMceDialogSettings>);
27
27
  }
@@ -50,6 +50,14 @@ export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, Aft
50
50
  * Name of the container for content (e.g. icon) on which the tooltip is displayed.
51
51
  */
52
52
  content: ElementRef<HTMLElement>;
53
+ /**
54
+ * Identifier used for the E2E data attribute.
55
+ */
56
+ e2eidentifier: string | null;
57
+ /**
58
+ * name of control
59
+ */
60
+ name: string;
53
61
  /**
54
62
  * Position of the picker arrow at the left
55
63
  */
@@ -22,7 +22,7 @@ export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
22
22
  /**
23
23
  * Property on the 'data' object that stores the expanded state. Property must be of type boolean. Default is 'expanded'
24
24
  */
25
- attrexanded: string;
25
+ attrexpanded: string;
26
26
  /**
27
27
  * 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.
28
28
  */
@@ -67,4 +67,8 @@ export declare class SacDropzoneMultipleCommon extends SacUploadBase<string[]> i
67
67
  * @param c Control
68
68
  */
69
69
  validateData(c: AbstractControl): ValidationErrors | null;
70
+ /**
71
+ * @inheritdoc
72
+ */
73
+ protected GetMaxFiles(): number;
70
74
  }
@@ -44,4 +44,8 @@ export declare class SacDropzoneSingleCommon extends SacUploadBase<string> imple
44
44
  * @param event DragEnter Event
45
45
  */
46
46
  onDragOver(event: DragEvent): void;
47
+ /**
48
+ * @inheritdoc
49
+ */
50
+ protected GetMaxFiles(): number;
47
51
  }
@@ -47,4 +47,8 @@ export declare class SacUploadMultipleCommon extends SacUploadBase<string[]> {
47
47
  * @param c Control
48
48
  */
49
49
  validateData(c: AbstractControl): ValidationErrors | null;
50
+ /**
51
+ * @inheritdoc
52
+ */
53
+ protected GetMaxFiles(): number;
50
54
  }
@@ -24,4 +24,8 @@ export declare class SacUploadSingleCommon extends SacUploadBase<string> {
24
24
  * @param file ID des Files
25
25
  */
26
26
  SetUploadValue(file: UploadState): void;
27
+ /**
28
+ * @inheritdoc
29
+ */
30
+ protected GetMaxFiles(): number;
27
31
  }
@@ -1,9 +1,9 @@
1
- import { Injector } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
1
  import { ISacLocalisationService } from '../../interfaces/ISacLocalisationService';
5
2
  import { ISacValidationKeyService } from '../../interfaces/ISacValidationKeyService';
6
3
  import { SacFormCommon } from '../form/form';
4
+ import { Injector } from '@angular/core';
5
+ import { FormGroup } from '@angular/forms';
6
+ import { Observable } from 'rxjs';
7
7
  /**
8
8
  * Basis Komponente für SacValidationSummary
9
9
  */
@@ -20,6 +20,10 @@ export declare class SacValidationSummaryCommon {
20
20
  * Service to receive standard validation message keys and texts
21
21
  */
22
22
  protected validationKeyService: ISacValidationKeyService;
23
+ /**
24
+ * Identifier used for the E2E data attribute.
25
+ */
26
+ e2eidentifier: string | null;
23
27
  /**
24
28
  * reactive form instance
25
29
  */
@@ -31,7 +35,7 @@ export declare class SacValidationSummaryCommon {
31
35
  */
32
36
  formGroupName: string;
33
37
  /**
34
- * Name-Property
38
+ * name of control
35
39
  */
36
40
  name: string;
37
41
  /**
@@ -1,62 +1,48 @@
1
+ import { SacWizardItemCommon } from './wizarditem';
1
2
  import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
3
  import { ControlValueAccessor } from '@angular/forms';
3
- import { SacWizardItemCommon } from './wizarditem';
4
4
  /**
5
5
  * Base Komponente für SacWizardCommon
6
6
  */
7
7
  export declare abstract class SacWizardCommon implements AfterContentInit, ControlValueAccessor {
8
8
  /**
9
- * Aktueller Schritt im Wizard
10
- */
11
- private _currentstep;
12
- /**
13
- * Name des Controls
9
+ * Aktueller Schritt im Wizard
14
10
  */
15
- name: string;
11
+ private _currentstep;
16
12
  /**
17
13
  * Boolean Property prüft ob Navigation im Wizard disabled ist; default Wert - false
18
14
  */
19
15
  disablenavigation: boolean;
20
16
  /**
21
- * Setter und Getter für aktueller Schritt
22
- */
23
- set currentstep(v: string | null);
24
- get currentstep(): string | null;
25
- /**
26
- * EventEmitter wenn der Schritt geändert wird
17
+ * Name des Controls
27
18
  */
28
- stepchanged: EventEmitter<string>;
19
+ name: string;
29
20
  /**
30
- * Abstrakte QueryList von SacWizardItemCommon
21
+ * Leere Implementation von 'propagateChange'. Muss gemacht werden, damit kein Fehler entsteht
31
22
  */
32
- abstract wizardItems(): QueryList<SacWizardItemCommon>;
33
- private setStepInternal;
23
+ propagateChange: any;
34
24
  /**
35
- * AfterContentInit Event
25
+ * Leere Implementation von 'propagateTouch'. Muss gemacht werden, damit kein Fehler entsteht
36
26
  */
37
- ngAfterContentInit(): void;
27
+ propagateTouch: any;
38
28
  /**
39
- * Ursprünglicher Schritt wird selektiert
29
+ * EventEmitter wenn der Schritt geändert wird
40
30
  */
41
- private initSteps;
31
+ stepchanged: EventEmitter<string>;
32
+ get currentstep(): string | null;
42
33
  /**
43
- * Schritt selektieren
44
- * @param step Step welcher selektiert werden soll
34
+ * Setter und Getter für aktueller Schritt
45
35
  */
46
- selectStep(step: SacWizardItemCommon): void;
36
+ set currentstep(v: string | null);
47
37
  /**
48
38
  * Auf nächsten/vorherigen Schritt gehen
49
39
  * @param step Step auf welchen gewechselt werden soll
50
40
  */
51
41
  changeStep(step: string | null): void;
52
42
  /**
53
- * Leere Implementation von 'propagateChange'. Muss gemacht werden, damit kein Fehler entsteht
54
- */
55
- propagateChange: any;
56
- /**
57
- * Leere Implementation von 'propagateTouch'. Muss gemacht werden, damit kein Fehler entsteht
43
+ * AfterContentInit Event
58
44
  */
59
- propagateTouch: any;
45
+ ngAfterContentInit(): void;
60
46
  /**
61
47
  * Methode, damit andere Controls änderungen im Control mitbekommen können
62
48
  * Zur Änderungsinfo die Methode propagateChange aufrufen.
@@ -66,8 +52,22 @@ export declare abstract class SacWizardCommon implements AfterContentInit, Contr
66
52
  * Methode, damit andere Controls änderungen mitbekommen, wenn das Control aktiviert (Focus) wird.
67
53
  */
68
54
  registerOnTouched(fn: any): void;
55
+ /**
56
+ * Schritt selektieren
57
+ * @param step Step welcher selektiert werden soll
58
+ */
59
+ selectStep(step: SacWizardItemCommon): void;
60
+ /**
61
+ * Abstrakte QueryList von SacWizardItemCommon
62
+ */
63
+ abstract wizardItems(): QueryList<SacWizardItemCommon>;
69
64
  /**
70
65
  * Methode zum schreiben von Werten aus dem Model in das Control
71
66
  */
72
67
  writeValue(value: string | null): void;
68
+ /**
69
+ * Ursprünglicher Schritt wird selektiert
70
+ */
71
+ private initSteps;
72
+ private setStepInternal;
73
73
  }
@@ -6,10 +6,6 @@ export declare class SacWizardItemCommon {
6
6
  * Prüft ob der aktuelle Schritt aktiv ist.
7
7
  */
8
8
  active: boolean;
9
- /**
10
- * Prüft ob der Schritt abgeschlossen wurde.
11
- */
12
- iscomplete: boolean;
13
9
  /**
14
10
  * Prüft ob der Schritt disabled ist.
15
11
  */
@@ -18,6 +14,10 @@ export declare class SacWizardItemCommon {
18
14
  * ID-String
19
15
  */
20
16
  id: string;
17
+ /**
18
+ * Prüft ob der Schritt abgeschlossen wurde.
19
+ */
20
+ iscomplete: boolean;
21
21
  /**
22
22
  * Label-Property, das angezeigt wird
23
23
  */