@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.
Files changed (267) hide show
  1. package/bundles/simpleangularcontrols-sac-common.umd.js +1848 -1249
  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 +47 -21
  6. package/common/baseinputcontrol.d.ts +10 -8
  7. package/common/baselistcontrol.d.ts +15 -15
  8. package/common/basemodelcontrol.d.ts +59 -43
  9. package/common/baseselectcontrol.d.ts +5 -5
  10. package/common/baseuploadcontrol.d.ts +77 -57
  11. package/components/browser/browser.d.ts +86 -89
  12. package/components/browser/models/browserfile.d.ts +6 -6
  13. package/components/browser/models/browserfiledeleterequest.d.ts +7 -7
  14. package/components/browser/models/browserfilerenamerequest.d.ts +10 -10
  15. package/components/browser/models/browserfileresponse.d.ts +2 -2
  16. package/components/browser/models/browserfilesaverequest.d.ts +7 -7
  17. package/components/browser/models/browsernode.d.ts +13 -13
  18. package/components/browser/models/browsernodedeleterequest.d.ts +6 -6
  19. package/components/browser/models/browsernodenewrequest.d.ts +7 -7
  20. package/components/browser/models/browsernoderenamerequest.d.ts +7 -7
  21. package/components/browser/models/browsernoderequest.d.ts +7 -7
  22. package/components/browser/models/browsernoderesponse.d.ts +1 -1
  23. package/controls/buttons/button.d.ts +25 -19
  24. package/controls/checkbox/checkbox.d.ts +3 -3
  25. package/controls/checkbox/radiobutton.d.ts +19 -13
  26. package/controls/checkbox/radiobuttons.d.ts +13 -10
  27. package/controls/confirm/confirm.button.d.ts +3 -3
  28. package/controls/confirm/confirm.d.ts +13 -12
  29. package/controls/confirm/confirm.service.d.ts +14 -14
  30. package/controls/contextmenu/contextmenu.d.ts +33 -27
  31. package/controls/contextmenu/contextmenu.interface.d.ts +6 -0
  32. package/controls/contextmenu/contextmenuanchor.d.ts +4 -4
  33. package/controls/contextmenu/contextmenucontainer.d.ts +4 -4
  34. package/controls/contextmenu/contextmenuitembutton.d.ts +12 -12
  35. package/controls/datetime/date.d.ts +11 -11
  36. package/controls/datetime/dateselector.d.ts +47 -40
  37. package/controls/datetime/datetime.d.ts +15 -14
  38. package/controls/datetime/time.d.ts +22 -12
  39. package/controls/dialog/dialog.d.ts +28 -22
  40. package/controls/form/form.d.ts +17 -12
  41. package/controls/grid/grid.d.ts +1 -0
  42. package/controls/grid/gridbutton.d.ts +1 -0
  43. package/controls/grid/gridcolumn.d.ts +5 -1
  44. package/controls/grid/gridcolumnaction.d.ts +1 -1
  45. package/controls/grid/gridcolumnbase.d.ts +8 -3
  46. package/controls/grid/model.d.ts +5 -2
  47. package/controls/grid/paging.d.ts +2 -3
  48. package/controls/input/input.d.ts +7 -7
  49. package/controls/input/inputarea.d.ts +8 -6
  50. package/controls/input/inputcurrency.d.ts +4 -1
  51. package/controls/input/inputdecimal.d.ts +14 -14
  52. package/controls/input/inputemail.d.ts +4 -4
  53. package/controls/input/inputinteger.d.ts +14 -14
  54. package/controls/input/inputpassword.d.ts +3 -3
  55. package/controls/input/inputsearch.d.ts +8 -5
  56. package/controls/layout/formlayout.d.ts +8 -5
  57. package/controls/list/buildvaluestring.d.ts +2 -2
  58. package/controls/list/dropdown.d.ts +23 -22
  59. package/controls/list/dropdownoptions.d.ts +10 -10
  60. package/controls/list/listbox.d.ts +25 -23
  61. package/controls/multilanguage/multilanguageinput.d.ts +25 -25
  62. package/controls/multilanguage/multilanguageinputarea.d.ts +27 -27
  63. package/controls/static/formcontainer.d.ts +8 -8
  64. package/controls/static/staticlabel.d.ts +5 -5
  65. package/controls/tabs/tab.d.ts +2 -2
  66. package/controls/tabs/tabitem.d.ts +7 -7
  67. package/controls/tinymce/tinymce.d.ts +37 -37
  68. package/controls/tinymce/tinymcedialogsettings.d.ts +6 -6
  69. package/controls/tinymce/tinymcedialogsettingsmeta.d.ts +2 -2
  70. package/controls/tinymce/tinymceinstance.d.ts +2 -2
  71. package/controls/tooltip/tooltip.d.ts +10 -5
  72. package/controls/treeview/treeview.d.ts +50 -5
  73. package/controls/upload/dropzonemultiple.d.ts +16 -16
  74. package/controls/upload/dropzonesingle.d.ts +11 -11
  75. package/controls/upload/uploadmultiple.d.ts +12 -12
  76. package/controls/upload/uploadsingle.d.ts +7 -7
  77. package/controls/validation/validationsummary.d.ts +12 -11
  78. package/controls/wizard/wizard.d.ts +25 -18
  79. package/controls/wizard/wizarditem.d.ts +5 -5
  80. package/enums/ButtonRoleType.d.ts +26 -1
  81. package/enums/ControlHeight.d.ts +1 -1
  82. package/enums/IconType.d.ts +1 -1
  83. package/esm2015/common/basedatetimecontrol.js +47 -22
  84. package/esm2015/common/baseinputcontrol.js +13 -11
  85. package/esm2015/common/baselistcontrol.js +21 -17
  86. package/esm2015/common/basemodelcontrol.js +72 -49
  87. package/esm2015/common/baseselectcontrol.js +11 -9
  88. package/esm2015/common/baseuploadcontrol.js +69 -49
  89. package/esm2015/components/browser/browser.js +93 -105
  90. package/esm2015/components/browser/models/browserfile.js +1 -1
  91. package/esm2015/components/browser/models/browserfiledeleterequest.js +6 -4
  92. package/esm2015/components/browser/models/browserfilerenamerequest.js +6 -4
  93. package/esm2015/components/browser/models/browserfileresponse.js +1 -1
  94. package/esm2015/components/browser/models/browserfilesaverequest.js +5 -3
  95. package/esm2015/components/browser/models/browsernode.js +1 -1
  96. package/esm2015/components/browser/models/browsernodedeleterequest.js +6 -4
  97. package/esm2015/components/browser/models/browsernodenewrequest.js +6 -4
  98. package/esm2015/components/browser/models/browsernoderenamerequest.js +6 -4
  99. package/esm2015/components/browser/models/browsernoderequest.js +6 -4
  100. package/esm2015/components/browser/models/browsernoderesponse.js +1 -1
  101. package/esm2015/controls/buttons/button.js +26 -20
  102. package/esm2015/controls/checkbox/checkbox.js +3 -3
  103. package/esm2015/controls/checkbox/radiobutton.js +21 -15
  104. package/esm2015/controls/checkbox/radiobuttons.js +14 -11
  105. package/esm2015/controls/confirm/confirm.button.js +4 -4
  106. package/esm2015/controls/confirm/confirm.js +14 -13
  107. package/esm2015/controls/confirm/confirm.service.js +21 -21
  108. package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -1
  109. package/esm2015/controls/contextmenu/contextmenu.js +29 -23
  110. package/esm2015/controls/contextmenu/contextmenuanchor.js +4 -4
  111. package/esm2015/controls/contextmenu/contextmenucontainer.js +4 -4
  112. package/esm2015/controls/contextmenu/contextmenuitembutton.js +10 -10
  113. package/esm2015/controls/datetime/date.js +13 -13
  114. package/esm2015/controls/datetime/dateselector.js +55 -54
  115. package/esm2015/controls/datetime/datetime.js +17 -16
  116. package/esm2015/controls/datetime/time.js +24 -14
  117. package/esm2015/controls/dialog/dialog.js +31 -24
  118. package/esm2015/controls/form/form.js +18 -13
  119. package/esm2015/controls/grid/grid.js +2 -1
  120. package/esm2015/controls/grid/gridbutton.js +2 -1
  121. package/esm2015/controls/grid/gridcolumn.js +6 -2
  122. package/esm2015/controls/grid/gridcolumnaction.js +2 -2
  123. package/esm2015/controls/grid/gridcolumnbase.js +9 -4
  124. package/esm2015/controls/grid/model.js +5 -2
  125. package/esm2015/controls/grid/paging.js +6 -7
  126. package/esm2015/controls/input/input.js +8 -8
  127. package/esm2015/controls/input/inputarea.js +9 -7
  128. package/esm2015/controls/input/inputcurrency.js +6 -3
  129. package/esm2015/controls/input/inputdecimal.js +21 -27
  130. package/esm2015/controls/input/inputemail.js +5 -5
  131. package/esm2015/controls/input/inputinteger.js +19 -23
  132. package/esm2015/controls/input/inputpassword.js +4 -4
  133. package/esm2015/controls/input/inputsearch.js +9 -6
  134. package/esm2015/controls/layout/formlayout.js +10 -7
  135. package/esm2015/controls/list/buildvaluestring.js +6 -6
  136. package/esm2015/controls/list/dropdown.js +28 -27
  137. package/esm2015/controls/list/dropdownoptions.js +12 -12
  138. package/esm2015/controls/list/listbox.js +26 -24
  139. package/esm2015/controls/multilanguage/multilanguageinput.js +29 -29
  140. package/esm2015/controls/multilanguage/multilanguageinputarea.js +31 -31
  141. package/esm2015/controls/static/formcontainer.js +10 -10
  142. package/esm2015/controls/static/staticlabel.js +7 -7
  143. package/esm2015/controls/tabs/tab.js +2 -2
  144. package/esm2015/controls/tabs/tabitem.js +5 -5
  145. package/esm2015/controls/tinymce/tinymce.js +35 -35
  146. package/esm2015/controls/tinymce/tinymcedialogsettings.js +4 -4
  147. package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.js +1 -1
  148. package/esm2015/controls/tinymce/tinymceinstance.js +1 -1
  149. package/esm2015/controls/tooltip/tooltip.js +13 -8
  150. package/esm2015/controls/treeview/treeview.js +52 -7
  151. package/esm2015/controls/upload/dropzonemultiple.js +18 -18
  152. package/esm2015/controls/upload/dropzonesingle.js +12 -12
  153. package/esm2015/controls/upload/uploadmultiple.js +14 -14
  154. package/esm2015/controls/upload/uploadsingle.js +8 -8
  155. package/esm2015/controls/validation/validationsummary.js +14 -13
  156. package/esm2015/controls/wizard/wizard.js +24 -17
  157. package/esm2015/controls/wizard/wizarditem.js +4 -4
  158. package/esm2015/enums/ButtonRoleType.js +1 -1
  159. package/esm2015/enums/ControlHeight.js +2 -2
  160. package/esm2015/enums/IconType.js +2 -2
  161. package/esm2015/interfaces/ISacConfigurationService.js +1 -1
  162. package/esm2015/interfaces/ISacFileBrowserService.js +1 -1
  163. package/esm2015/interfaces/ISacLabelSizes.js +1 -1
  164. package/esm2015/interfaces/ISacLanguageService.js +1 -1
  165. package/esm2015/interfaces/ISacLocalisationService.js +1 -1
  166. package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -1
  167. package/esm2015/interfaces/iabstractcontrollabel.js +1 -1
  168. package/esm2015/interfaces/iconfirmcomponent.js +1 -1
  169. package/esm2015/interfaces/idatetimecontrol.js +1 -1
  170. package/esm2015/interfaces/iuploadcontrol.js +1 -1
  171. package/esm2015/interfaces/treeviewaction.interface.js +1 -1
  172. package/esm2015/models/languagemodel.js +5 -3
  173. package/esm2015/public_api.js +3 -2
  174. package/esm2015/services/index.js +4 -4
  175. package/esm2015/services/sac-configuration.service.js +7 -1
  176. package/esm2015/services/sac-filebrowser.service.js +46 -38
  177. package/esm2015/services/sac-localisation.service.js +11 -7
  178. package/esm2015/services/sac-validationkey.service.js +148 -1
  179. package/esm2015/utilities/convertion.js +7 -5
  180. package/esm2015/utilities/datatypes.js +6 -4
  181. package/esm2015/utilities/enums.js +9 -8
  182. package/esm2015/utilities/guid.js +2 -2
  183. package/esm2015/utilities/interpolation.js +16 -9
  184. package/esm2015/utilities/popuphelper.js +62 -25
  185. package/esm2015/utilities/positioncalculator.js +209 -0
  186. package/esm2015/utilities/positioncalculator.ngfactory.js +7 -0
  187. package/esm2015/utilities/positionelements.js +108 -0
  188. package/esm2015/utilities/positionelements.ngfactory.js +7 -0
  189. package/esm2015/utilities/testingattribute.pipe.js +17 -2
  190. package/esm2015/validation/email.validator.js +11 -2
  191. package/esm2015/validation/equals.validator.js +11 -1
  192. package/esm2015/validation/index.js +1 -1
  193. package/esm2015/validation/invaliddate.validator.js +11 -2
  194. package/esm2015/validation/isDateValid.js +11 -10
  195. package/esm2015/validation/maxdate.validator.js +14 -4
  196. package/esm2015/validation/maxtime.validator.js +14 -4
  197. package/esm2015/validation/maxvalue.validator.js +12 -2
  198. package/esm2015/validation/mindate.validator.js +14 -4
  199. package/esm2015/validation/minfiles.validator.js +12 -2
  200. package/esm2015/validation/mintextlength.validator.js +9 -1
  201. package/esm2015/validation/mintime.validator.js +14 -4
  202. package/esm2015/validation/minvalue.validator.js +12 -2
  203. package/esm2015/validation/multilanguagerequired.validator.js +11 -1
  204. package/esm2015/validation/multilanguagerequiredany.validator.js +11 -1
  205. package/esm2015/validation/notequals.validator.js +11 -1
  206. package/esm2015/validation/pattern.validator.js +12 -2
  207. package/esm2015/validation/required.validator.js +11 -2
  208. package/esm2015/validation/validation.class.js +84 -101
  209. package/esm2015/validation/validationerrorcreator.js +12 -1
  210. package/esm2015/validation/validationerroritem.js +11 -9
  211. package/fesm2015/simpleangularcontrols-sac-common.js +1823 -1226
  212. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
  213. package/interfaces/ISacConfigurationService.d.ts +9 -1
  214. package/interfaces/ISacFileBrowserService.d.ts +43 -43
  215. package/interfaces/ISacLabelSizes.d.ts +15 -12
  216. package/interfaces/ISacLanguageService.d.ts +3 -3
  217. package/interfaces/ISacLocalisationService.d.ts +2 -2
  218. package/interfaces/ISacUploadEventCompleteState.d.ts +6 -0
  219. package/interfaces/iabstractcontrollabel.d.ts +4 -1
  220. package/interfaces/iconfirmcomponent.d.ts +6 -6
  221. package/interfaces/idatetimecontrol.d.ts +10 -1
  222. package/interfaces/treeviewaction.interface.d.ts +9 -0
  223. package/models/languagemodel.d.ts +9 -9
  224. package/package.json +1 -1
  225. package/public_api.d.ts +2 -1
  226. package/services/index.d.ts +3 -3
  227. package/services/sac-configuration.service.d.ts +8 -0
  228. package/services/sac-filebrowser.service.d.ts +78 -70
  229. package/services/sac-localisation.service.d.ts +11 -7
  230. package/services/sac-validationkey.service.d.ts +147 -0
  231. package/simpleangularcontrols-sac-common-10.0.0-rc.30.tgz +0 -0
  232. package/simpleangularcontrols-sac-common.metadata.json +1 -1
  233. package/utilities/convertion.d.ts +4 -4
  234. package/utilities/datatypes.d.ts +3 -3
  235. package/utilities/enums.d.ts +8 -1
  236. package/utilities/guid.d.ts +1 -1
  237. package/utilities/interpolation.d.ts +9 -8
  238. package/utilities/popuphelper.d.ts +47 -10
  239. package/utilities/positioncalculator.d.ts +82 -0
  240. package/utilities/positionelements.d.ts +30 -0
  241. package/utilities/positionelements.ngfactory.d.ts +1 -0
  242. package/utilities/testingattribute.pipe.d.ts +16 -1
  243. package/validation/email.validator.d.ts +7 -0
  244. package/validation/equals.validator.d.ts +8 -0
  245. package/validation/invaliddate.validator.d.ts +7 -0
  246. package/validation/isDateValid.d.ts +5 -2
  247. package/validation/maxdate.validator.d.ts +8 -0
  248. package/validation/maxtime.validator.d.ts +8 -0
  249. package/validation/maxvalue.validator.d.ts +8 -0
  250. package/validation/mindate.validator.d.ts +8 -0
  251. package/validation/minfiles.validator.d.ts +8 -0
  252. package/validation/mintextlength.validator.d.ts +8 -0
  253. package/validation/mintime.validator.d.ts +8 -0
  254. package/validation/minvalue.validator.d.ts +8 -0
  255. package/validation/multilanguagerequired.validator.d.ts +9 -1
  256. package/validation/multilanguagerequiredany.validator.d.ts +9 -1
  257. package/validation/notequals.validator.d.ts +8 -0
  258. package/validation/pattern.validator.d.ts +8 -0
  259. package/validation/required.validator.d.ts +7 -0
  260. package/validation/validation.class.d.ts +83 -100
  261. package/validation/validationerrorcreator.d.ts +9 -0
  262. package/validation/validationerroritem.d.ts +16 -16
  263. package/esm2015/utilities/positioning.js +0 -301
  264. package/esm2015/utilities/positioning.ngfactory.js +0 -7
  265. package/simpleangularcontrols-sac-common-10.0.0-rc.29.tgz +0 -0
  266. package/utilities/positioning.d.ts +0 -82
  267. /package/utilities/{positioning.ngfactory.d.ts → positioncalculator.ngfactory.d.ts} +0 -0
@@ -35,7 +35,7 @@ export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, Aft
35
35
  */
36
36
  IsTooltipContentVisible: boolean;
37
37
  /**
38
- * Position des Tooltips links
38
+ * Position of the tooltip on the left
39
39
  */
40
40
  LeftPos: number;
41
41
  /**
@@ -77,8 +77,9 @@ export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, Aft
77
77
  */
78
78
  tooltiptext: string;
79
79
  /**
80
- * Konstruktor
81
- * @param ref Element Referenz
80
+ * Constructor
81
+ * @param cdRef Change detector reference for updating component view
82
+ * @param ref Element reference
82
83
  */
83
84
  constructor(cdRef: ChangeDetectorRef, ref: ElementRef);
84
85
  /**
@@ -96,6 +97,7 @@ export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, Aft
96
97
  get tooltop(): ElementRef;
97
98
  /**
98
99
  * Returns the position of the tooltip
100
+ * @returns TooltipPosition The calculated position for the tooltip
99
101
  */
100
102
  GetTooltipPosition(): TooltipPosition;
101
103
  /**
@@ -104,6 +106,7 @@ export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, Aft
104
106
  HideTooltip(): void;
105
107
  /**
106
108
  * Defines whether the tooltip is present in the markup
109
+ * @returns Boolean indicating whether the tooltip is visible
107
110
  */
108
111
  IsTooltipVisible(): boolean;
109
112
  /**
@@ -112,18 +115,20 @@ export declare abstract class SacTooltipCommon implements OnInit, OnDestroy, Aft
112
115
  ShowTooltip(): void;
113
116
  /**
114
117
  * Calculates the height of the tooltip
118
+ * @returns The height of the tooltip in pixels
115
119
  */
116
120
  getToolTipHeight(): number;
117
121
  /**
118
122
  * Calculates the width of the tooltips
123
+ * @returns The width of the tooltip in pixels
119
124
  */
120
125
  getToolTipWidth(): number;
121
126
  /**
122
- * Detect Changes after view checked. Prevent ExpressionChangedAfterItHasBeenCheckedError error
127
+ * Detect changes after view checked. Prevent ExpressionChangedAfterItHasBeenCheckedError error
123
128
  */
124
129
  ngAfterViewChecked(): void;
125
130
  /**
126
- * Detect UI Changes to Calculate Tooltip correct
131
+ * Detect UI changes to calculate tooltip correctly
127
132
  */
128
133
  ngDoCheck(): void;
129
134
  /**
@@ -4,7 +4,7 @@ import { SacFormLayoutCommon } from '../layout/formlayout';
4
4
  import { EventEmitter, Injector, TemplateRef } from '@angular/core';
5
5
  import { AbstractControl, ValidationErrors } from '@angular/forms';
6
6
  /**
7
- * Basis Komponente für SacTreeView
7
+ * Base component for SacTreeView
8
8
  */
9
9
  export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
10
10
  /**
@@ -52,7 +52,7 @@ export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
52
52
  */
53
53
  data: any[];
54
54
  /**
55
- * Activates the 'expand' and 'collabse' event even if a node has no children. This is helpful if node elements are to be reloaded at runtime.
55
+ * Activates the 'expand' and 'collapse' event even if a node has no children. This is helpful if node elements are to be reloaded at runtime.
56
56
  */
57
57
  enableasynchload: boolean | string;
58
58
  /**
@@ -100,21 +100,22 @@ export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
100
100
  */
101
101
  templatelabel: TemplateRef<any>;
102
102
  /**
103
- * Resource Key für Validation Message Required bei Control
103
+ * Resource key required for validation message at control
104
104
  */
105
105
  validationmessagerequired: string;
106
106
  /**
107
- * Resource Key für Validation Message Required in Validation Summary
107
+ * Resource key required for validation message in the validation summary
108
108
  */
109
109
  validationmessagesummaryrequired: string;
110
110
  /**
111
111
  * Constructor
112
+ * @param formlayout Form layout directive for scoped layout settings
112
113
  * @param injector Service Injector
113
114
  */
114
115
  constructor(formlayout: SacFormLayoutCommon, injector: Injector);
115
116
  get iconAction(): string;
116
117
  /**
117
- * CSS icon for folders in tree there are collabsed
118
+ * CSS icon for folders in tree that are collapsed
118
119
  * @returns css class with icon
119
120
  */
120
121
  get iconFolderCollabsed(): string;
@@ -134,12 +135,48 @@ export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
134
135
  * @returns Array
135
136
  */
136
137
  count(size: number): Array<void>;
138
+ /**
139
+ * Get the child nodes of a node
140
+ * @param node Parent node
141
+ * @returns Array of child nodes
142
+ */
137
143
  getChildren(node: any): any[];
144
+ /**
145
+ * Get string field value from node
146
+ * @param node Node object
147
+ * @param fieldname Field name to retrieve
148
+ * @returns The field value as string or empty string
149
+ */
138
150
  getStringField(node: any, fieldname: string): any;
151
+ /**
152
+ * Check if node has children
153
+ * @param node Node to check
154
+ * @returns Boolean indicating if node has child nodes
155
+ */
139
156
  hasChildren(node: any): boolean;
157
+ /**
158
+ * Check if node is in disabled state
159
+ * @param node Node to check
160
+ * @returns Boolean indicating if node is disabled
161
+ */
140
162
  isDisabledState(node: any): boolean;
163
+ /**
164
+ * Check if node is in expanded state
165
+ * @param node Node to check
166
+ * @returns Boolean indicating if node is expanded
167
+ */
141
168
  isExpandedState(node: any): boolean;
169
+ /**
170
+ * Check if node is in hover state
171
+ * @param node Node to check
172
+ * @returns Boolean indicating if node is hovered
173
+ */
142
174
  isHoverState(node: any): boolean;
175
+ /**
176
+ * Check if node is in selected state
177
+ * @param node Node to check
178
+ * @returns Boolean indicating if node is selected
179
+ */
143
180
  isSelectedState(node: any): boolean;
144
181
  /**
145
182
  * Method is called by clicking an action
@@ -180,6 +217,14 @@ export declare class SacTreeviewCommon extends SacBaseModelControl<any> {
180
217
  * @returns Returns the node if it is found. If not, NULL is returned.
181
218
  */
182
219
  private findNodeById;
220
+ /**
221
+ * Inverts the expanded state of a tree node
222
+ * @param node The node whose expanded state should be inverted
223
+ */
183
224
  private invertExpandedState;
225
+ /**
226
+ * Recursively resets the selected state of a node and its children
227
+ * @param node The node whose selected state should be reset
228
+ */
184
229
  private resetSelectedState;
185
230
  }
@@ -3,66 +3,66 @@ import { OnInit } from '@angular/core';
3
3
  import { AbstractControl, ValidationErrors } from '@angular/forms';
4
4
  import { UploadState } from 'ngx-uploadx';
5
5
  /**
6
- * Upload Komponente für ein einzelnes File
6
+ * Upload component for multiple files
7
7
  */
8
8
  export declare class SacDropzoneMultipleCommon extends SacUploadBase<string[]> implements OnInit {
9
9
  /**
10
- * Property wenn Drag Event aktiv ist (Maus über Zone)
10
+ * Property when drag event is active (mouse over zone)
11
11
  */
12
12
  active: boolean;
13
13
  /**
14
- * Max. Anzahl Files die hochgeladen werden können
14
+ * Max. number of files that can be uploaded
15
15
  */
16
16
  maxfiles: number;
17
17
  /**
18
- * Min. Anzahl Files die hochgeladen werden müssen
18
+ * Min. number of files that must be uploaded
19
19
  */
20
20
  minfiles: number;
21
21
  /**
22
- * Höhe des Upload Controls
22
+ * Height of the upload control
23
23
  */
24
24
  uploadheight: string;
25
25
  /**
26
- * Resource Key für Validation Message Required bei Control
26
+ * Resource Key for Validation Message Required at Control
27
27
  */
28
28
  validationmessageminfiles: string;
29
29
  /**
30
- * Resource Key für Validation Message Required in Validation Summary
30
+ * Resource Key for Validation Message Required in Validation Summary
31
31
  */
32
32
  validationmessagesummaryminfiles: string;
33
33
  /**
34
- * Prüft ob die max. Files in der Queue nicht überschritten werden
34
+ * Checks if the max. files in the queue are not exceeded
35
35
  *
36
- * @param file File das hinzugefügt wurde
36
+ * @param file File that was added
37
37
  */
38
38
  CustomAddValidation(file: UploadState): boolean;
39
39
  /**
40
- * Setzt die File ID's der hochgeladen Files in das Model
40
+ * Sets the file IDs of the uploaded files into the model
41
41
  *
42
- * @param file ID des Files welches hochgeladen wurde.
42
+ * @param file ID of the file that was uploaded.
43
43
  */
44
44
  SetUploadValue(file: UploadState): void;
45
45
  /**
46
- * Methode für Drag and Drop von Files
46
+ * Method for drag and drop of files
47
47
  * @param event Drag Event
48
48
  */
49
49
  dropHandler(event: DragEvent): void;
50
50
  /**
51
- * Ervent wenn das Control initialisert wird
51
+ * Event when the control is initialized
52
52
  */
53
53
  ngOnInit(): void;
54
54
  /**
55
- * Methode wenn Drag die Zone verlässt
55
+ * Method when drag leaves the zone
56
56
  * @param event DragLeave Event
57
57
  */
58
58
  onDragLeave(event: DragEvent): void;
59
59
  /**
60
- * Methode wenn Drag in die Zone eintritt
60
+ * Method when drag enters the zone
61
61
  * @param event DragEnter Event
62
62
  */
63
63
  onDragOver(event: DragEvent): void;
64
64
  /**
65
- * Validiert das Control
65
+ * Validates the control
66
66
  *
67
67
  * @param c Control
68
68
  */
@@ -2,45 +2,45 @@ import { SacUploadBase } from '../../common/baseuploadcontrol';
2
2
  import { OnInit } from '@angular/core';
3
3
  import { UploadState } from 'ngx-uploadx';
4
4
  /**
5
- * Upload Komponente für ein einzelnes File
5
+ * Upload component for a single file
6
6
  */
7
7
  export declare class SacDropzoneSingleCommon extends SacUploadBase<string> implements OnInit {
8
8
  /**
9
- * Property wenn Drag Event aktiv ist (Maus über Zone)
9
+ * Property when drag event is active (mouse over zone)
10
10
  */
11
11
  active: boolean;
12
12
  /**
13
- * Höhe der Dropzone. Wert wird mit Einheit angegeben.
13
+ * Height of the dropzone. Value is given with unit.
14
14
  */
15
15
  uploadheight: string;
16
16
  /**
17
- * Macht keine Validierung in diesem Control
17
+ * Does no validation in this control
18
18
  *
19
- * @param file File das hinzugefügt wurde
19
+ * @param file File that was added
20
20
  */
21
21
  CustomAddValidation(file: UploadState): boolean;
22
22
  /**
23
- * Setzt die File ID des hochgeladen Files in das Model
23
+ * Sets the file ID of the uploaded file into the model
24
24
  *
25
- * @param file ID des Files
25
+ * @param file ID of the file
26
26
  */
27
27
  SetUploadValue(file: UploadState): void;
28
28
  /**
29
- * Methode für Drag and Drop von Files
29
+ * Method for drag and drop of files
30
30
  * @param event Drag Event
31
31
  */
32
32
  dropHandler(event: DragEvent): void;
33
33
  /**
34
- * Ervent wenn das Control initialisert wird
34
+ * Event when the control is initialized
35
35
  */
36
36
  ngOnInit(): void;
37
37
  /**
38
- * Methode wenn Drag die Zone verlässt
38
+ * Method when drag leaves the zone
39
39
  * @param event DragLeave Event
40
40
  */
41
41
  onDragLeave(event: DragEvent): void;
42
42
  /**
43
- * Methode wenn Drag in die Zone eintritt
43
+ * Method when drag enters the zone
44
44
  * @param event DragEnter Event
45
45
  */
46
46
  onDragOver(event: DragEvent): void;
@@ -2,47 +2,47 @@ import { SacUploadBase } from '../../common/baseuploadcontrol';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  import { UploadState } from 'ngx-uploadx';
4
4
  /**
5
- * Upload Componente für mehrere Files
5
+ * Upload component for multiple files
6
6
  */
7
7
  export declare class SacUploadMultipleCommon extends SacUploadBase<string[]> {
8
8
  /**
9
- * Label für Browse Button
9
+ * Label for Browse Button
10
10
  */
11
11
  buttonbrowse: string;
12
12
  /**
13
- * Label für Upload Button
13
+ * Label for Upload Button
14
14
  */
15
15
  buttonupload: string;
16
16
  /**
17
- * Max. Files die hochgeladen werden können. 0 deaktiviert das Limit
17
+ * Max. files that can be uploaded. 0 disables the limit
18
18
  */
19
19
  maxfiles: number;
20
20
  /**
21
- * Min. Files die hochgeladen werden müssen. 0 deaktiviert das Limit
21
+ * Min. files that must be uploaded. 0 disables the limit
22
22
  */
23
23
  minfiles: number;
24
24
  /**
25
- * Resource Key für Validation Message Required bei Control
25
+ * Resource Key for Validation Message Required at Control
26
26
  */
27
27
  validationmessageminfiles: string;
28
28
  /**
29
- * Resource Key für Validation Message Required in Validation Summary
29
+ * Resource Key for Validation Message Required in Validation Summary
30
30
  */
31
31
  validationmessagesummaryminfiles: string;
32
32
  /**
33
- * Prüft ob die max. Files in der Queue nicht überschritten werden
33
+ * Checks if the max. files in the queue are not exceeded
34
34
  *
35
- * @param file File das hinzugefügt wurde
35
+ * @param file File that was added
36
36
  */
37
37
  CustomAddValidation(file: UploadState): boolean;
38
38
  /**
39
- * Setzt die File ID's der hochgeladen Files in das Model
39
+ * Sets the file IDs of the uploaded files into the model
40
40
  *
41
- * @param file ID des Files welches hochgeladen wurde.
41
+ * @param file ID of the file that was uploaded.
42
42
  */
43
43
  SetUploadValue(file: UploadState): void;
44
44
  /**
45
- * Validiert das Control
45
+ * Validates the control
46
46
  *
47
47
  * @param c Control
48
48
  */
@@ -1,27 +1,27 @@
1
1
  import { SacUploadBase } from '../../common/baseuploadcontrol';
2
2
  import { UploadState } from 'ngx-uploadx';
3
3
  /**
4
- * Upload Komponente für ein einzelnes File
4
+ * Upload component for a single file
5
5
  */
6
6
  export declare class SacUploadSingleCommon extends SacUploadBase<string> {
7
7
  /**
8
- * Label für Browse Button
8
+ * Label for Browse Button
9
9
  */
10
10
  buttonbrowse: string;
11
11
  /**
12
- * Label für Upload Button
12
+ * Label for Upload Button
13
13
  */
14
14
  buttonupload: string;
15
15
  /**
16
- * Macht keine Validierung in diesem Control
16
+ * Does no validation in this control
17
17
  *
18
- * @param file File das hinzugefügt wurde
18
+ * @param file File that was added
19
19
  */
20
20
  CustomAddValidation(file: UploadState): boolean;
21
21
  /**
22
- * Setzt die File ID des hochgeladen Files in das Model
22
+ * Sets the file ID of the uploaded file into the model
23
23
  *
24
- * @param file ID des Files
24
+ * @param file ID of the file
25
25
  */
26
26
  SetUploadValue(file: UploadState): void;
27
27
  /**
@@ -5,15 +5,15 @@ import { Injector } from '@angular/core';
5
5
  import { FormGroup } from '@angular/forms';
6
6
  import { Observable } from 'rxjs';
7
7
  /**
8
- * Basis Komponente für SacValidationSummary
8
+ * Base component for SacValidationSummary
9
9
  */
10
10
  export declare class SacValidationSummaryCommon {
11
11
  /**
12
- * Service für Error Localisation
12
+ * Service for Error Localisation
13
13
  */
14
14
  protected lngResourceService: ISacLocalisationService;
15
15
  /**
16
- * Parent Formular
16
+ * Parent Form
17
17
  */
18
18
  protected parent: SacFormCommon;
19
19
  /**
@@ -39,26 +39,27 @@ export declare class SacValidationSummaryCommon {
39
39
  */
40
40
  name: string;
41
41
  /**
42
- * Konstruktor
43
- * Inject des Formulars
42
+ * Constructor
43
+ * @param parent Parent form control component
44
+ * @param injector Service injector for dependency resolution
44
45
  */
45
46
  constructor(parent: SacFormCommon, injector: Injector);
46
47
  /**
47
- * Validation Methode
48
+ * Validation method
48
49
  */
49
50
  get formErrors(): Observable<string>[];
50
51
  /**
51
- * Getter wenn Errors entstehen
52
+ * Getter when errors occur
52
53
  */
53
54
  get hasErrors(): boolean;
54
55
  /**
55
- * Fügt einen Validation Error in die Error Collection hinzu
56
- * @param ctl Fehlerhaftes Control
57
- * @param collection Collection aller Fehlermeldungen
56
+ * Adds a validation error to the error collection
57
+ * @param ctl Faulty control
58
+ * @param collection Collection of all error messages
58
59
  */
59
60
  private addErrorToCollection;
60
61
  /**
61
- * Die Methode gibt Collection von Errors. Verlangt controls: Array<NgForm | FormArray> und collection: Array<Observable<string>>
62
+ * The method returns collection of errors. Requires controls: Array<NgForm | FormArray> and collection: Array<Observable<string>>
62
63
  */
63
64
  private getErrorCollection;
64
65
  }
@@ -2,41 +2,41 @@ import { SacWizardItemCommon } from './wizarditem';
2
2
  import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  /**
5
- * Base Komponente für SacWizardCommon
5
+ * Base component for SacWizardCommon
6
6
  */
7
7
  export declare abstract class SacWizardCommon implements AfterContentInit, ControlValueAccessor {
8
8
  /**
9
- * Aktueller Schritt im Wizard
9
+ * Current step in wizard
10
10
  */
11
11
  private _currentstep;
12
12
  /**
13
- * Boolean Property prüft ob Navigation im Wizard disabled ist; default Wert - false
13
+ * Boolean property checks if navigation in wizard is disabled; default value - false
14
14
  */
15
15
  disablenavigation: boolean;
16
16
  /**
17
- * Name des Controls
17
+ * Name of the control
18
18
  */
19
19
  name: string;
20
20
  /**
21
- * Leere Implementation von 'propagateChange'. Muss gemacht werden, damit kein Fehler entsteht
21
+ * Empty implementation of 'propagateChange'. Must be done so that no error occurs
22
22
  */
23
23
  propagateChange: any;
24
24
  /**
25
- * Leere Implementation von 'propagateTouch'. Muss gemacht werden, damit kein Fehler entsteht
25
+ * Empty implementation of 'propagateTouch'. Must be done so that no error occurs
26
26
  */
27
27
  propagateTouch: any;
28
28
  /**
29
- * EventEmitter wenn der Schritt geändert wird
29
+ * EventEmitter when the step is changed
30
30
  */
31
31
  stepchanged: EventEmitter<string>;
32
32
  get currentstep(): string | null;
33
33
  /**
34
- * Setter und Getter für aktueller Schritt
34
+ * Setter and getter for current step
35
35
  */
36
36
  set currentstep(v: string | null);
37
37
  /**
38
- * Auf nächsten/vorherigen Schritt gehen
39
- * @param step Step auf welchen gewechselt werden soll
38
+ * Go to next/previous step
39
+ * @param step Step to which should be switched
40
40
  */
41
41
  changeStep(step: string | null): void;
42
42
  /**
@@ -44,30 +44,37 @@ export declare abstract class SacWizardCommon implements AfterContentInit, Contr
44
44
  */
45
45
  ngAfterContentInit(): void;
46
46
  /**
47
- * Methode, damit andere Controls änderungen im Control mitbekommen können
48
- * Zur Änderungsinfo die Methode propagateChange aufrufen.
47
+ * Method so that other controls can get changes in the control
48
+ * To change info call the propagateChange method.
49
+ * @param fn Callback to invoke when the value changes.
49
50
  */
50
51
  registerOnChange(fn: any): void;
51
52
  /**
52
- * Methode, damit andere Controls änderungen mitbekommen, wenn das Control aktiviert (Focus) wird.
53
+ * Method so that other controls get changes when the control is activated (Focus).
54
+ * @param fn Callback to invoke when the control is touched.
53
55
  */
54
56
  registerOnTouched(fn: any): void;
55
57
  /**
56
- * Schritt selektieren
57
- * @param step Step welcher selektiert werden soll
58
+ * Select step
59
+ * @param step Step which should be selected
58
60
  */
59
61
  selectStep(step: SacWizardItemCommon): void;
60
62
  /**
61
- * Abstrakte QueryList von SacWizardItemCommon
63
+ * Abstract QueryList of SacWizardItemCommon
62
64
  */
63
65
  abstract wizardItems(): QueryList<SacWizardItemCommon>;
64
66
  /**
65
- * Methode zum schreiben von Werten aus dem Model in das Control
67
+ * Method to write values from the model into the control
68
+ * @param value Step ID from the bound model.
66
69
  */
67
70
  writeValue(value: string | null): void;
68
71
  /**
69
- * Ursprünglicher Schritt wird selektiert
72
+ * Original step is selected
70
73
  */
71
74
  private initSteps;
75
+ /**
76
+ * Sets the current step internally and notifies observers of the change
77
+ * @param step The step ID to set as current
78
+ */
72
79
  private setStepInternal;
73
80
  }
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Basis Komponente für SacWizardItem
2
+ * Base component for SacWizardItem
3
3
  */
4
4
  export declare class SacWizardItemCommon {
5
5
  /**
6
- * Prüft ob der aktuelle Schritt aktiv ist.
6
+ * Checks if the current step is active.
7
7
  */
8
8
  active: boolean;
9
9
  /**
10
- * Prüft ob der Schritt disabled ist.
10
+ * Checks if the step is disabled.
11
11
  */
12
12
  disabled: boolean;
13
13
  /**
@@ -15,11 +15,11 @@ export declare class SacWizardItemCommon {
15
15
  */
16
16
  id: string;
17
17
  /**
18
- * Prüft ob der Schritt abgeschlossen wurde.
18
+ * Checks if the step was completed.
19
19
  */
20
20
  iscomplete: boolean;
21
21
  /**
22
- * Label-Property, das angezeigt wird
22
+ * Label property that is displayed
23
23
  */
24
24
  label: string;
25
25
  }
@@ -1 +1,26 @@
1
- export declare type BUTTONROLETYPE = '' | 'primary' | 'default' | 'light' | 'dark' | 'link' | 'success' | 'secondary' | 'danger' | 'warning' | 'info';
1
+ /**
2
+ * Available CSS role types for button styling. These values map to Bootstrap button style classes.
3
+ */
4
+ export declare type BUTTONROLETYPE =
5
+ /** no specific role, uses default styling */
6
+ ''
7
+ /** primary accent button */
8
+ | 'primary'
9
+ /** default button */
10
+ | 'default'
11
+ /** light variant */
12
+ | 'light'
13
+ /** dark variant */
14
+ | 'dark'
15
+ /** hyperlink-like variant */
16
+ | 'link'
17
+ /** success indicator style */
18
+ | 'success'
19
+ /** secondary button style */
20
+ | 'secondary'
21
+ /** danger/(error) style */
22
+ | 'danger'
23
+ /** warning style */
24
+ | 'warning'
25
+ /** info style */
26
+ | 'info';
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export declare enum ControlHeight {
5
5
  /**
6
- * Default Componnent Height
6
+ * Default Component Height
7
7
  */
8
8
  Default = 0,
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Enum für Icon Types in Componenten
2
+ * Enum for Icon Types in Components
3
3
  */
4
4
  export declare enum IconType {
5
5
  Image = 1,