@simpleangularcontrols/sac-common 10.0.0-rc.2 → 10.0.0-rc.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/bundles/simpleangularcontrols-sac-common.umd.js +2232 -1604
  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 +100 -14
  6. package/common/baseinputcontrol.d.ts +0 -4
  7. package/common/basemodelcontrol.d.ts +55 -27
  8. package/common/baseuploadcontrol.d.ts +71 -55
  9. package/controls/checkbox/checkbox.d.ts +12 -3
  10. package/controls/checkbox/radiobutton.d.ts +61 -26
  11. package/controls/contextmenu/contextmenu.d.ts +26 -19
  12. package/controls/contextmenu/contextmenu.interface.d.ts +3 -0
  13. package/controls/contextmenu/contextmenuitem.d.ts +5 -0
  14. package/controls/contextmenu/contextmenuitembutton.d.ts +21 -20
  15. package/controls/datetime/date.d.ts +28 -31
  16. package/controls/datetime/datetime.d.ts +27 -31
  17. package/controls/datetime/time.d.ts +26 -30
  18. package/controls/dialog/dialog.d.ts +31 -43
  19. package/controls/grid/grid.d.ts +38 -36
  20. package/controls/grid/gridbutton.d.ts +13 -13
  21. package/controls/grid/gridcolumn.d.ts +8 -8
  22. package/controls/grid/gridcolumnaction.d.ts +3 -3
  23. package/controls/grid/gridcolumnbase.d.ts +45 -37
  24. package/controls/grid/gridimage.d.ts +2 -2
  25. package/controls/grid/model.d.ts +51 -42
  26. package/controls/grid/paging.d.ts +41 -43
  27. package/controls/input/input.d.ts +3 -3
  28. package/controls/input/inputarea.d.ts +5 -5
  29. package/controls/input/inputpassword.d.ts +7 -7
  30. package/controls/input/inputsearch.d.ts +13 -4
  31. package/controls/layout/formlayout.d.ts +17 -1
  32. package/controls/list/buildvaluestring.d.ts +6 -0
  33. package/controls/list/dropdown.d.ts +9 -51
  34. package/controls/list/dropdownoptions.d.ts +38 -0
  35. package/controls/multilanguage/multilanguageinput.d.ts +2 -2
  36. package/controls/multilanguage/multilanguageinputarea.d.ts +4 -4
  37. package/controls/static/formcontainer.d.ts +7 -3
  38. package/controls/tooltip/tooltip.d.ts +76 -69
  39. package/controls/treeview/treeview.d.ts +107 -107
  40. package/esm2015/common/basedatetimecontrol.js +185 -30
  41. package/esm2015/common/baseinputcontrol.js +2 -7
  42. package/esm2015/common/basemodelcontrol.js +109 -57
  43. package/esm2015/common/baseuploadcontrol.js +92 -59
  44. package/esm2015/controls/checkbox/checkbox.js +29 -6
  45. package/esm2015/controls/checkbox/radiobutton.js +94 -45
  46. package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -0
  47. package/esm2015/controls/contextmenu/contextmenu.interface.ngfactory.js +7 -0
  48. package/esm2015/controls/contextmenu/contextmenu.js +22 -23
  49. package/esm2015/controls/contextmenu/contextmenuitem.js +13 -2
  50. package/esm2015/controls/contextmenu/contextmenuitembutton.js +34 -25
  51. package/esm2015/controls/datetime/date.js +44 -43
  52. package/esm2015/controls/datetime/datetime.js +43 -43
  53. package/esm2015/controls/datetime/time.js +43 -43
  54. package/esm2015/controls/dialog/dialog.js +41 -83
  55. package/esm2015/controls/grid/grid.js +21 -21
  56. package/esm2015/controls/grid/gridbutton.js +19 -13
  57. package/esm2015/controls/grid/gridcolumn.js +14 -7
  58. package/esm2015/controls/grid/gridcolumnaction.js +6 -5
  59. package/esm2015/controls/grid/gridcolumnbase.js +67 -55
  60. package/esm2015/controls/grid/gridimage.js +3 -3
  61. package/esm2015/controls/grid/model.js +51 -30
  62. package/esm2015/controls/grid/paging.js +40 -42
  63. package/esm2015/controls/input/input.js +6 -8
  64. package/esm2015/controls/input/inputarea.js +19 -12
  65. package/esm2015/controls/input/inputpassword.js +12 -12
  66. package/esm2015/controls/input/inputsearch.js +35 -6
  67. package/esm2015/controls/layout/formlayout.js +20 -8
  68. package/esm2015/controls/list/buildvaluestring.js +18 -0
  69. package/esm2015/controls/{treeview/ngtreeitemaction.ngfactory.js → list/buildvaluestring.ngfactory.js} +1 -1
  70. package/esm2015/controls/list/dropdown.js +16 -114
  71. package/esm2015/controls/list/dropdownoptions.js +72 -0
  72. package/esm2015/controls/{treeview/treeviewchild.ngfactory.js → list/dropdownoptions.ngfactory.js} +1 -1
  73. package/esm2015/controls/multilanguage/multilanguageinput.js +8 -14
  74. package/esm2015/controls/multilanguage/multilanguageinputarea.js +9 -15
  75. package/esm2015/controls/static/formcontainer.js +16 -5
  76. package/esm2015/controls/tooltip/tooltip.js +126 -245
  77. package/esm2015/controls/treeview/treeview.js +276 -231
  78. package/esm2015/interfaces/ISacConfigurationService.js +1 -1
  79. package/esm2015/interfaces/ISacIconService.js +1 -1
  80. package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -0
  81. package/esm2015/interfaces/ISacUploadEventCompleteState.ngfactory.js +7 -0
  82. package/esm2015/interfaces/ISacValidationKeyService.js +1 -1
  83. package/esm2015/interfaces/treeviewaction.interface.js +1 -0
  84. package/esm2015/interfaces/treeviewaction.interface.ngfactory.js +7 -0
  85. package/esm2015/public_api.js +15 -8
  86. package/esm2015/services/sac-configuration.service.js +31 -5
  87. package/esm2015/services/sac-icon.service.js +37 -1
  88. package/esm2015/services/sac-localisation.service.js +69 -180
  89. package/esm2015/services/sac-validationkey.service.js +12 -9
  90. package/esm2015/simpleangularcontrols-sac-common.js +1 -7
  91. package/esm2015/utilities/enums.js +5 -1
  92. package/esm2015/utilities/guid.js +4 -2
  93. package/esm2015/utilities/popuphelper.js +343 -0
  94. package/esm2015/utilities/popuphelper.ngfactory.js +7 -0
  95. package/esm2015/validation/equals.validator.js +14 -0
  96. package/esm2015/validation/equals.validator.ngfactory.js +7 -0
  97. package/esm2015/validation/isDateValid.js +9 -1
  98. package/esm2015/validation/mintextlength.validator.js +23 -0
  99. package/esm2015/validation/mintextlength.validator.ngfactory.js +7 -0
  100. package/esm2015/validation/notequals.validator.js +14 -0
  101. package/esm2015/validation/{minlength.validator.ngfactory.js → notequals.validator.ngfactory.js} +1 -1
  102. package/esm2015/validation/validation.class.js +35 -6
  103. package/fesm2015/simpleangularcontrols-sac-common.js +2070 -1498
  104. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
  105. package/interfaces/ISacConfigurationService.d.ts +20 -0
  106. package/interfaces/ISacIconService.d.ts +24 -0
  107. package/interfaces/ISacUploadEventCompleteState.d.ts +5 -0
  108. package/interfaces/ISacUploadEventCompleteState.ngfactory.d.ts +1 -0
  109. package/interfaces/ISacValidationKeyService.d.ts +2 -2
  110. package/interfaces/treeviewaction.interface.d.ts +4 -0
  111. package/interfaces/treeviewaction.interface.ngfactory.d.ts +1 -0
  112. package/package.json +2 -2
  113. package/public_api.d.ts +13 -6
  114. package/services/sac-configuration.service.d.ts +40 -0
  115. package/services/sac-icon.service.d.ts +49 -1
  116. package/services/sac-localisation.service.d.ts +10 -10
  117. package/services/sac-validationkey.service.d.ts +7 -7
  118. package/simpleangularcontrols-sac-common-10.0.0-rc.21.tgz +0 -0
  119. package/simpleangularcontrols-sac-common.d.ts +0 -6
  120. package/simpleangularcontrols-sac-common.metadata.json +1 -1
  121. package/utilities/enums.d.ts +3 -1
  122. package/utilities/popuphelper.d.ts +83 -0
  123. package/utilities/popuphelper.ngfactory.d.ts +1 -0
  124. package/validation/equals.validator.d.ts +2 -0
  125. package/validation/equals.validator.ngfactory.d.ts +1 -0
  126. package/validation/mintextlength.validator.d.ts +2 -0
  127. package/validation/mintextlength.validator.ngfactory.d.ts +1 -0
  128. package/validation/notequals.validator.d.ts +2 -0
  129. package/validation/notequals.validator.ngfactory.d.ts +1 -0
  130. package/validation/validation.class.d.ts +22 -3
  131. package/controls/treeview/ngtreeitemaction.d.ts +0 -40
  132. package/controls/treeview/treeviewchild.d.ts +0 -12
  133. package/esm2015/controls/treeview/ngtreeitemaction.js +0 -60
  134. package/esm2015/controls/treeview/treeviewchild.js +0 -18
  135. package/esm2015/validation/minlength.validator.js +0 -21
  136. package/simpleangularcontrols-sac-common-10.0.0-rc.2.tgz +0 -0
  137. package/validation/minlength.validator.d.ts +0 -2
  138. /package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → contextmenu/contextmenu.interface.ngfactory.d.ts} +0 -0
  139. /package/controls/{treeview/treeviewchild.ngfactory.d.ts → list/buildvaluestring.ngfactory.d.ts} +0 -0
  140. /package/{validation/minlength.validator.ngfactory.d.ts → controls/list/dropdownoptions.ngfactory.d.ts} +0 -0
@@ -4,15 +4,7 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular
4
4
  */
5
5
  export declare class SacDialogCommon implements OnDestroy {
6
6
  private cdRef;
7
- /**
8
- * Name des Containers für den Dialog
9
- */
10
- dialogElement: ElementRef;
11
7
  private hasSetBodyTag;
12
- /**
13
- * Implementation als Setter, da mit ngIf das Element bei Unsichtbarkeit UNDEFINED ist.
14
- */
15
- set dialogElementSetter(content: ElementRef);
16
8
  /**
17
9
  * Boolean Property definiert ob das Dialog angezeigt wird
18
10
  */
@@ -21,11 +13,7 @@ export declare class SacDialogCommon implements OnDestroy {
21
13
  * Das property enthielt (wenn überhaupt gesetzt) entweder keywords für sizing oder custom css Klassen.
22
14
  * Die akzeptabel keywordssind: 'small', 'large', 'extralarge', 'medium', ''.
23
15
  */
24
- _size: string;
25
- /**
26
- * Input Property. Erhält den Title des Dialog. Default Value: 'Dialog'.
27
- */
28
- title: string;
16
+ _size: 'small' | 'large' | 'extralarge' | 'medium' | '';
29
17
  /**
30
18
  * Das input property akzeptiert boolen Wert. Definiert ob das Dialog darf durch ESC geschlossen werden. Default ist true.
31
19
  */
@@ -34,66 +22,62 @@ export declare class SacDialogCommon implements OnDestroy {
34
22
  * Das input property akzeptiert boolen Wert. Definiert ob das Dialog darf durch click außerhalb des Dialog-Fenster geschlossen werden. Default ist true.
35
23
  */
36
24
  backdrop: boolean;
37
- /**
38
- * Input Property. Erhält den Namen des Dialog - benutzt für das ID. Default Value: ''
39
- */
40
- name: string;
41
25
  /**
42
26
  * Steuert ob im Header des Dialogs ein Button angezeigt wird.
43
27
  */
44
28
  closebutton: boolean;
45
29
  /**
46
- * Input Property. Erhält die Breite des Dialog
30
+ * Name des Containers für den Dialog
47
31
  */
48
- width: string;
32
+ dialogElement: ElementRef;
49
33
  /**
50
- * Definiert eine feste Höhe beim Dialog.
34
+ * Output Emitter. Wird aufgerufen, wenn das Wert des _show property geändert ist - damait das Dialog geöfnet/geschlossen wird.
51
35
  */
52
- height: string;
36
+ isvisibleChange: EventEmitter<boolean>;
53
37
  /**
54
- * Das Input akzeptiert sowohl default size-css-Klassen als auch custom Klassen.
55
- * case insensitive.
56
- * Die akzeptabel default-size-Klassen sind: 'small', 'large', 'extralarge', 'medium', ''.
57
- * Wenn size ist NICHT gesetzt (oder 'medium' oder ''), default ist in medium size: max-width 500px.
38
+ * Input Property. Erhält den Namen des Dialog - benutzt für das ID. Default Value: ''
58
39
  */
59
- set size(v: string);
40
+ name: string;
60
41
  /**
61
- * Output Emitter. Wird aufgerufen, wenn das Wert des _show property geändert ist - damait das Dialog geöfnet/geschlossen wird.
42
+ * Input Property. Erhält den Title des Dialog. Default Value: 'Dialog'.
62
43
  */
63
- isvisibleChange: EventEmitter<boolean>;
44
+ title: string;
64
45
  /**
65
- * Setter. Erhält das boolen Wert des _show property
46
+ * Konstruktor
47
+ * Inject des Formulars
66
48
  */
67
- set isvisible(v: boolean);
49
+ constructor(cdRef: ChangeDetectorRef);
68
50
  /**
69
- * Getter. Ergibt das boolen Wert des _show property
51
+ * Implementation als Setter, da mit ngIf das Element bei Unsichtbarkeit UNDEFINED ist.
70
52
  */
71
- get isvisible(): boolean;
53
+ set dialogElementSetter(content: ElementRef);
72
54
  /**
73
- * Die Funktion prüft ob es ein default css classe für Size des Dialog durch den size Input gesetzt wurde.
55
+ * Getter. Ergibt das boolen Wert des _show property
74
56
  */
75
- issetdefaultsize(): boolean;
57
+ get isvisible(): boolean;
76
58
  /**
77
- * Konstruktor
78
- * Inject des Formulars
59
+ * Setter. Erhält das boolen Wert des _show property
79
60
  */
80
- constructor(cdRef: ChangeDetectorRef);
61
+ set isvisible(v: boolean);
81
62
  /**
82
- * Methode wenn Componente entfernt wird
63
+ * Das Input akzeptiert sowohl default size-css-Klassen als auch custom Klassen.
64
+ * case insensitive.
65
+ * Die akzeptabel default-size-Klassen sind: 'small', 'large', 'extralarge', 'medium', ''.
66
+ * Wenn size ist NICHT gesetzt (oder 'medium' oder ''), default ist in medium size: max-width 500px.
83
67
  */
84
- ngOnDestroy(): void;
68
+ set size(v: 'small' | 'large' | 'extralarge' | 'medium' | '');
85
69
  /**
86
- * Die Methode setz den Wert des _show property auf true
70
+ * Getter for ChangeDetector.
87
71
  */
88
- show(): void;
72
+ protected get ChangeDetector(): ChangeDetectorRef;
89
73
  /**
90
74
  * Die Methode setz den Wert des _show property auf false
91
75
  */
92
76
  hide(): void;
93
77
  /**
94
- * Getter for ChangeDetector.
78
+ * Methode wenn Componente entfernt wird
95
79
  */
96
- protected get ChangeDetector(): ChangeDetectorRef;
80
+ ngOnDestroy(): void;
97
81
  /**
98
82
  * Allow Close by Click outside Dialog
99
83
  */
@@ -102,4 +86,8 @@ export declare class SacDialogCommon implements OnDestroy {
102
86
  * Allow Close by ESC
103
87
  */
104
88
  onKeydownHandler(event: KeyboardEvent): void;
89
+ /**
90
+ * Die Methode setz den Wert des _show property auf true
91
+ */
92
+ show(): void;
105
93
  }
@@ -2,124 +2,126 @@ import { ChangeDetectorRef, EventEmitter, Injector, TemplateRef } from '@angular
2
2
  import { ISacValidationKeyService } from '../../interfaces/ISacValidationKeyService';
3
3
  import { PagerData, PagerRequest, SortDescriptor, SortOrder } from './model';
4
4
  /**
5
- * Basis Komponente für SacGrid
5
+ * Basic component for SacGrid
6
6
  */
7
7
  export declare abstract class SacGridCommon {
8
8
  private cd;
9
9
  /**
10
- * Protected Property. Enthielt die Nummer der aktiven Seite. Type: number. Default ist 1
10
+ * Page number of the active page.
11
11
  */
12
12
  protected activePage: number;
13
13
  /**
14
- * Protected Property. Enthielt die Nummer der ersten angezeigtenen Seite in Pager. Type: number. Default ist 1
14
+ * Contains the number of the first page displayed in Pager.
15
15
  */
16
16
  protected firstPageNumber: number;
17
17
  /**
18
- * Protected Property. Enthielt die Nummer der letzen Seite in Pager. Type: number. Default ist undefined/null
18
+ * Contains the number of the last page in Pager. The value is calculated automatically.
19
19
  */
20
20
  protected lastPageNumber: number;
21
21
  /**
22
- * Protected Property. Enthielt Array of Pages. Default value: empty array []
22
+ * Contains Array of Pages.
23
23
  */
24
24
  protected paginators: Array<any>;
25
25
  /**
26
- * Input property für body. Type: TemplateRef<any>.
26
+ * Input property for Body.
27
27
  */
28
28
  body: TemplateRef<any>;
29
29
  /**
30
- * Text welcher angezeigt wird, wenn keine Rows verfügbar sind.
30
+ * Text which is displayed if no rows are available.
31
31
  */
32
32
  emptytext: string;
33
33
  /**
34
- * Input property für headers. Type: TemplateRef<any>.
34
+ * Property for headers.
35
35
  */
36
36
  headers: TemplateRef<any>;
37
37
  /**
38
- * Input property für die maximalle Seiten die sichtbar sind. Type: number.
38
+ * Property for the maximum pages that are visible.
39
39
  */
40
40
  maxvisiblepagenumbers: number;
41
41
  /**
42
- * Input property für Name.
42
+ * Control Name. Used to generate the ID and names.
43
43
  */
44
44
  name: string;
45
45
  /**
46
- * Pager Settings
47
- *
48
- * Pager kann ausgeschaltet werden, in dem PagerData auf NULL gesetzt wird.
46
+ * Pager configuration. Pager can be switched off by setting PagerData to `null`.
49
47
  */
50
48
  pagerdata: PagerData;
51
49
  /**
52
- * Deaktiviert die Auswahl der PageSize im Pager
50
+ * Deactivates the selection of the PageSize in the pager
53
51
  */
54
52
  pagesizedisabled: boolean;
55
53
  /**
56
- * Definiert die Anzahl der Elemente pro Seite die ausgewählt werden können
54
+ * Defines the number of elements per page that can be selected. The default is 20, 50 and 100. The values must be separated with a `|`.
57
55
  */
58
56
  pagesizes: string;
59
57
  /**
60
- * Text in Page für Anzahl Seitenelemente pro Seite
61
- * Folgende Interpolation Texte sind vorhanden:
62
- * {{PAGESIZE}}: Anzahl Elemente pro Seite
58
+ * Text in Page for number of page elements per page. The following interpolation texts are available:
59
+ *
60
+ * {{PAGESIZE}}: Number of elements per page
63
61
  */
64
62
  pagesizetext: string;
65
63
  /**
66
- * Text in Pager für 'Seite x von y'.
67
- * Folgende Interpolation Texte sind vorhanden:
68
- * {{CURRENTPAGE}}: Aktuelle Seite
69
- * {{TOTALPAGES}}: Anzahl Seiten
64
+ * Text in pager for 'Page x of y'. The following interpolation texts are available:
65
+ *
66
+ * {{CURRENTPAGE}}: Current page
67
+ *
68
+ * {{TOTALPAGES}}: Number of pages
70
69
  */
71
70
  pagingtext: string;
72
71
  /**
73
- * Grid Daten
72
+ * Grid data
74
73
  */
75
74
  value: any;
76
75
  /**
77
- * Output EventEmitter. Wird aufgerufen wenn das Pager geklickt ist.
76
+ * Event when the pager is clicked.
78
77
  */
79
78
  paging: EventEmitter<PagerRequest>;
80
79
  /**
81
- * Output EventEmitter. Wird aufgerufen wenn ein Header geklickt ist, damit das Column soritert wird.
80
+ * Event when a header is clicked so that the grid is sorted.
82
81
  */
83
82
  sorting: EventEmitter<SortDescriptor>;
84
83
  /**
85
- * Private Property. Enthielt die Column Menge. Type: number. Default ist 0
84
+ * Number of columns in the grid
86
85
  */
87
86
  ColumnCount: number;
88
87
  /**
89
- * Aktuell Sortierte Spalte
88
+ * Column by which currently sorted.
90
89
  */
91
90
  sortColumn: string;
92
91
  /**
93
- * Aktuelle Sortierung
92
+ * Current direction of sorting
94
93
  */
95
94
  sortDirection: SortOrder;
95
+ /**
96
+ * Service with the validation keys. Is required to load the default texts for the pager etc.
97
+ */
96
98
  validationKeyService: ISacValidationKeyService;
97
99
  /**
98
- * Konstruktor
100
+ * Constructor
99
101
  * @param cd Change Detection Service
100
102
  * @param injector DI Injector
101
103
  */
102
104
  constructor(cd: ChangeDetectorRef, injector: Injector);
103
105
  /**
104
- * Model für Sortierung
105
- * @param sortDescription Settings für aktuelle sortierung
106
+ * Model for sorting
107
+ * @param sortDescription Settings for current sorting
106
108
  */
107
109
  set sortdata(sortDescription: SortDescriptor);
108
110
  /**
109
- * Die Methode erhöht die Column-Stücke um eins
111
+ * The method increases the column elements by one
110
112
  */
111
113
  RegisterColumn(): void;
112
114
  /**
113
- * Die Methode deffiniert das Sortierung Flow
115
+ * Method for sorting the data.
114
116
  */
115
117
  SortBy(command: any): void;
116
118
  /**
117
- * Die Methode verringert die Column-Stücke um eins
119
+ * The method reduces the column elements by one
118
120
  */
119
121
  UnregisterColumn(): void;
120
122
  /**
121
- * Setzt die neue Seite
122
- * @param newStartIndex Neuer Seiten Index (Zero-Based)
123
+ * Method if Grid is to switch to a new page.
124
+ * @param newStartIndex New Page Index (Zero-Based)
123
125
  */
124
126
  pageChange(newStartIndex: any): void;
125
127
  }
@@ -4,30 +4,30 @@ import { EventEmitter } from '@angular/core';
4
4
  */
5
5
  export declare class SacGridButtonCommon {
6
6
  /**
7
- * Input Property für Styling des Buttons. Deffiniert die Css Klassen des Buttons
7
+ * Button is deactivated
8
8
  */
9
- iconstyle: string;
9
+ protected _isdisabledvalue: boolean;
10
10
  /**
11
- * Icon Name aus Sprite
11
+ * Icon name from sprite
12
12
  */
13
13
  icon: string;
14
14
  /**
15
- * Button ist deaktiviert
15
+ * Input property for styling the button. Defines the CSS classes of the button
16
16
  */
17
- protected _isdisabledvalue: boolean;
17
+ iconstyle: string;
18
18
  /**
19
- * Deaktivieren von Buttons
20
- * @param v Deaktiviert den Button
21
- * @return Definiert ob der Button deaktiviert ist
19
+ * Event when the button is clicked
22
20
  */
23
- set isdisabled(v: boolean | string);
24
- get isdisabled(): boolean | string;
21
+ clicked: EventEmitter<any>;
25
22
  /**
26
- * Event wenn auf den Button geklickt wird
23
+ * Deactivating buttons
24
+ * @param v Deactivates the button. Can be a Boolean or the strings `true` or `false`.
25
+ * @return Defines whether the button is deactivated. Is always a Boolean type
27
26
  */
28
- clicked: EventEmitter<any>;
27
+ set isdisabled(v: boolean | string);
28
+ get isdisabled(): boolean | string;
29
29
  /**
30
- * Die Methode wird das cklickaction Emitter aktivieren
30
+ * Triggers the clicked event if the button is not deactivated.
31
31
  */
32
32
  callaction(): void;
33
33
  }
@@ -2,27 +2,27 @@ import { ElementRef, Injector } from '@angular/core';
2
2
  import { SacGridCommon } from './grid';
3
3
  import { SacGridColumnBaseCommon } from './gridcolumnbase';
4
4
  /**
5
- * Komponente für SacGridColumnCommon. Extends SacGridColumnBaseCommon
5
+ * Component for SacGridColumnCommon. Extends SacGridColumnBaseCommon
6
6
  */
7
7
  export declare class SacGridColumnCommon extends SacGridColumnBaseCommon {
8
8
  /**
9
- * Konstruktor
9
+ * Defines whether the CSS class ellipsis is set.
10
10
  */
11
- constructor(grid: SacGridCommon, injector: Injector, el: ElementRef);
11
+ private _ellipsis;
12
12
  /**
13
- * Das Property enthielt boolean Wert für die CSS Klasse ellipsis. Default is false.
13
+ * Constructor
14
14
  */
15
- private _ellipsis;
15
+ constructor(grid: SacGridCommon, injector: Injector, el: ElementRef);
16
16
  /**
17
- * Input Parameter für das css Class ellipsis. Das Setter setzt das boolean Wert auf das private property _ellipsis
17
+ * Sets the ellipsis property. Can be a Boolean or the strings `true` or `false`.
18
18
  */
19
19
  set ellipsis(v: string | boolean);
20
20
  /**
21
- * Getter für das private property _ellipsis. Ergibt das boolean Wert des Property
21
+ * Getter for the ellipsis property. Always returns a boolean type.
22
22
  */
23
23
  get ellipsis(): string | boolean;
24
24
  /**
25
- * Die Methode returns das Wert des Property _ellipsis
25
+ * Checks whether ellipsis is set
26
26
  */
27
27
  IsEllipsis(): boolean;
28
28
  }
@@ -2,12 +2,12 @@ import { ElementRef, Injector } from '@angular/core';
2
2
  import { SacGridCommon } from './grid';
3
3
  import { SacGridColumnBaseCommon } from './gridcolumnbase';
4
4
  /**
5
- * Komponente für SacGridColumnActionCommon. Extends SacGridColumnBaseCommon
5
+ * Component for SacGridColumnActionCommon. Extends SacGridColumnBaseCommon
6
6
  */
7
7
  export declare class SacGridColumnActionCommon extends SacGridColumnBaseCommon {
8
8
  /**
9
- * Konstruktor
10
- * @param el Element Referenz
9
+ * Constructor
10
+ * @param el Element reference
11
11
  * @param injector di inector to resolve icon service
12
12
  * @param grid SacGridCommon
13
13
  */
@@ -1,86 +1,94 @@
1
- import { ElementRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { SacGridCommon } from './grid';
1
+ import { ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
3
2
  import { ISacIconService } from '../../interfaces/ISacIconService';
3
+ import { SacGridCommon } from './grid';
4
4
  /**
5
- * Base Komponente für GridColumn
5
+ * Base component for GridColumn
6
6
  */
7
7
  export declare class SacGridColumnBaseCommon implements OnInit, OnDestroy {
8
8
  private grid;
9
9
  protected injector: Injector;
10
10
  private el;
11
11
  /**
12
- * Konstruktor
13
- * @param grid reference to grid component
14
- * @param injector di injector to resolve icon service
15
- * @param el reference to html element
12
+ * icon service for reading the icons
16
13
  */
17
- constructor(grid: SacGridCommon, injector: Injector, el: ElementRef);
14
+ protected iconService: ISacIconService;
18
15
  /**
19
- * icon service
16
+ * Value of the cell if the type is `header`.
20
17
  */
21
- protected iconService: ISacIconService;
18
+ header: string;
22
19
  /**
23
- * Das Input property erhält den Namen des Column
20
+ * Name of the column
24
21
  */
25
22
  name: any;
26
23
  /**
27
- * Das Input property erhält das Value des Column
24
+ * Key for sorting the column
28
25
  */
29
- value: any;
26
+ sortkey: string;
30
27
  /**
31
- * Das Input property erhält das Header des Column
28
+ * Type of column. Can contain the values `header`,`footer` and `body`.
32
29
  */
33
- header: string;
30
+ type: string;
31
+ /**
32
+ * Value of the cell if the type is `body`
33
+ */
34
+ value: any;
34
35
  /**
35
- * Das Input property erhält die Breite des Column
36
+ * Column width
36
37
  */
37
38
  width: string;
38
39
  /**
39
- * Das Input property erhält das Type des Column
40
+ * Click on Column Element
40
41
  */
41
- type: string;
42
+ rowclicked: EventEmitter<void>;
42
43
  /**
43
- * Das Input property erhält das Column- Key-Word, damit das Column sortiert werden kann.
44
+ * Constructor
45
+ * @param grid reference to grid component
46
+ * @param injector di injector to resolve icon service
47
+ * @param el reference to html element
44
48
  */
45
- sortkey: string;
49
+ constructor(grid: SacGridCommon, injector: Injector, el: ElementRef);
46
50
  /**
47
- * lifecycle hook - OnInit. Wird aufgeruren sobald das Komponent initialisiert ist.
51
+ * sort down icon for grid header
48
52
  */
49
- ngOnInit(): void;
53
+ get IconSortDown(): string;
50
54
  /**
51
- * lifecycle hook - ngOnDestroy. Wird aufgeruren wenn das Component zerstört wird.
55
+ * sort up icon for grid header
52
56
  */
53
- ngOnDestroy(): void;
57
+ get IconSortUp(): string;
54
58
  /**
55
- * die Methode ergibt boolean Wert, ob das Element Header ist.
59
+ * Method when Colument element is clicked. Triggers a RowClicked
56
60
  */
57
- IsHeader(): boolean;
61
+ ColumnClick(): void;
62
+ /**
63
+ * Indicates the direction of sorting. The possible values are `none`,`asc`,`desc`
64
+ */
65
+ GetSortDirection(): string;
58
66
  /**
59
- * die Methode ergibt boolean Wert, ob das Element Body ist.
67
+ * Defines whether the element is a cell in the table.
60
68
  */
61
69
  IsBody(): boolean;
62
70
  /**
63
- * die Methode ergibt boolean Wert, ob das Element Footer ist.
71
+ * Defines whether the element is a cell in the footer of the table
64
72
  */
65
73
  IsFooter(): boolean;
66
74
  /**
67
- * sort up icon for grid header
75
+ * Defines whether the element is a cell in the table header
68
76
  */
69
- get IconSortUp(): string;
77
+ IsHeader(): boolean;
70
78
  /**
71
- * sort down icon for grid header
79
+ * Defines whether this column is sorted.
72
80
  */
73
- get IconSortDown(): string;
81
+ IsSortedColumn(): boolean;
74
82
  /**
75
- * Die Methode deffiniert wie das Grid sortiert wird, abhängig von gekligte Column
83
+ * Triggers the events so that the table is sorted according to this column.
76
84
  */
77
85
  SortByColumn(): void;
78
86
  /**
79
- * die Methode ergibt boolean Wert und definiert, ob das Column für Sortierung aktiviert ist, gemäß eingegebene sortKey
87
+ * Called when the component is destroyed.
80
88
  */
81
- IsSortedColumn(): boolean;
89
+ ngOnDestroy(): void;
82
90
  /**
83
- * Die methode definiert die Dortirung Richtung. Die Werte sind: none, asc, desc.
91
+ * Is called when the component is initialized.
84
92
  */
85
- GetSortDirection(): string;
93
+ ngOnInit(): void;
86
94
  }
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Basis Komponente für SacGridImage
2
+ * Basic component for SacGridImage
3
3
  */
4
4
  export declare class SacGridImageCommon {
5
5
  /**
6
- * das Input property akypetiert string value für style des Icon
6
+ * Style of the icon
7
7
  */
8
8
  iconstyle: string;
9
9
  }