@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
@@ -1,22 +1,22 @@
1
1
  import { SacFormLayoutCommon } from '../controls/layout/formlayout';
2
2
  import { TooltipPosition } from '../utilities/enums';
3
3
  import { SacBaseModelControl } from './basemodelcontrol';
4
- import { ChangeDetectorRef, DoCheck, ElementRef, Injector, OnDestroy, OnInit } from '@angular/core';
4
+ import { ChangeDetectorRef, ElementRef, Injector, OnDestroy, OnInit } from '@angular/core';
5
5
  import { AbstractControl, ValidationErrors } from '@angular/forms';
6
6
  import { IMaskDirective } from 'angular-imask';
7
7
  import * as moment_ from 'moment';
8
8
  /**
9
- * Base Klasse für Date/Time Controls
9
+ * Base class for Date/Time controls
10
10
  */
11
- export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl<Date> implements OnInit, OnDestroy, DoCheck {
11
+ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl<Date> implements OnInit, OnDestroy {
12
12
  protected elementRef: ElementRef;
13
13
  private readonly cdRef;
14
14
  /**
15
- * Helper class to display tooltip on correct position
15
+ * Helper class to display tooltips in the correct position
16
16
  */
17
17
  private readonly popupHelper;
18
18
  /**
19
- * das property enthielt das Value als string. Default ist ''
19
+ * This property contains the value as a string. Default is ''
20
20
  */
21
21
  protected _valueAsString: string;
22
22
  /**
@@ -28,7 +28,7 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
28
28
  */
29
29
  TooltipPosition: typeof TooltipPosition;
30
30
  /**
31
- * Definiert ob der Date Selector angezeigt wird
31
+ * Defines whether the date selector is displayed
32
32
  */
33
33
  _showselector: boolean;
34
34
  /**
@@ -36,7 +36,7 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
36
36
  */
37
37
  iMask: IMaskDirective<any>;
38
38
  /**
39
- * Definiert das Control als Required
39
+ * Defines the control as required
40
40
  */
41
41
  isrequired: boolean;
42
42
  /**
@@ -47,6 +47,9 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
47
47
  * Arrow Item of Picker Element. Required to set the position of arrow correctly
48
48
  */
49
49
  pickerPosition: typeof TooltipPosition;
50
+ /**
51
+ * Reference to the picker arrow element used for calculating tooltip arrow position.
52
+ */
50
53
  pickerarrow: ElementRef<HTMLElement> | null;
51
54
  /**
52
55
  * Name of the container for content (e.g. icon) on which the tooltip is displayed.
@@ -79,43 +82,44 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
79
82
  */
80
83
  position: string;
81
84
  /**
82
- * Resource Key für Validation Message DateTimeFormat bei Control
85
+ * Resource Key for Validation Message DateTimeFormat at Control
83
86
  */
84
87
  validationmessagedatetimeformat: string;
85
88
  /**
86
- * Resource Key für Validation Message DateTimeFormat in Validation Summary
89
+ * Resource Key for Validation Message DateTimeFormat in Validation Summary
87
90
  */
88
91
  validationmessagedatetimeformatsummary: string;
89
92
  /**
90
- * Resource Key für Validation Message Required bei Control
93
+ * Resource Key for Validation Message Required at Control
91
94
  */
92
95
  validationmessagerequired: string;
93
96
  /**
94
- * Resource Key für Validation Message Required in Validation Summary
97
+ * Resource Key for Validation Message Required in Validation Summary
95
98
  */
96
99
  validationmessagerequiredsummary: string;
97
100
  /**
98
101
  * Constructor
99
102
  * @param formlayout SacFormLayoutCommon to define scoped layout settings
100
103
  * @param injector Injector for injecting services
101
- * @param elementRef reference to html element
104
+ * @param elementRef Reference to html element
105
+ * @param cdRef Change detector reference for updating component view
102
106
  */
103
107
  constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
104
108
  /**
105
- * Setter for the name of the container for the tooltip. Is required as the tooltip can be hidden via ngIf.
109
+ * Setter for the name of the container for the tooltip. Required because the tooltip can be hidden via ngIf.
106
110
  */
107
111
  set picker(picker: ElementRef);
108
112
  get tooltop(): ElementRef;
109
113
  /**
110
- * getter für valuestring
114
+ * Getter for valuestring
111
115
  */
112
116
  get valuestring(): string;
113
117
  /**
114
- * Das Input bekommt das value von typ string
118
+ * The input receives the value of type string
115
119
  */
116
120
  set valuestring(v: string);
117
121
  /**
118
- * Die methode returns dateTime in string
122
+ * The method returns dateTime as a string
119
123
  */
120
124
  abstract GetDateTimeFormatString(): string;
121
125
  /**
@@ -123,11 +127,13 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
123
127
  */
124
128
  GetPickerPosition(): TooltipPosition;
125
129
  /**
126
- * Die methode modifiziert das eingegebene Value von typ Moment
130
+ * The method modifies the entered value of type Moment
127
131
  */
128
132
  abstract ModifyParsedDateTimeValue(v: moment_.Moment): moment_.Moment;
129
133
  /**
130
- * JSON Date String in ein UTC DateTime Object konvertieren, welches vom Control verwendete werden kann
134
+ * Converts a JSON date string into a UTC DateTime object that can be used by the control
135
+ * @param timestamp Date timestamp to convert
136
+ * @returns Moment object in UTC
131
137
  */
132
138
  getDate(timestamp: any): moment.Moment;
133
139
  /**
@@ -138,25 +144,42 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
138
144
  * Calculates the width of the picker
139
145
  */
140
146
  getPickerWidth(): number;
141
- ngDoCheck(): void;
147
+ /**
148
+ * Clean up resources when the control is destroyed.
149
+ *
150
+ * Removes the picker element from the DOM if visible and unregisters global resize/scroll listeners.
151
+ */
142
152
  ngOnDestroy(): void;
143
153
  /**
144
154
  * Init Event
145
155
  */
146
156
  ngOnInit(): void;
147
157
  /**
148
- * setzt das value von typ string zu property valuestring
158
+ * Sets the value of type string to the property valuestring
159
+ * @param v String value to set
149
160
  */
150
161
  setValueString(v: string): void;
151
162
  /**
152
- * Validator
163
+ * Validates the datetime control value format and required status.
164
+ *
165
+ * @param c AbstractControl instance to validate.
166
+ * @returns ValidationErrors if invalid, otherwise null.
153
167
  */
154
168
  validateData(c: AbstractControl): ValidationErrors | null;
155
169
  /**
156
170
  * Overwrite WriteValue to Set correct Date Object
171
+ * @param value Date or string value to write to the control
157
172
  */
158
173
  writeValue(value: Date | string): void;
174
+ /**
175
+ * Gets the height of the arrow element
176
+ * @returns The height in pixels of the arrow element, or 0 if not present
177
+ */
159
178
  protected getArrowHeight(): number;
179
+ /**
180
+ * Gets the width of the arrow element
181
+ * @returns The width in pixels of the arrow element, or 0 if not present
182
+ */
160
183
  protected getArrowWidth(): number;
161
184
  /**
162
185
  * Calculates the position of the tooltip from links
@@ -170,5 +193,8 @@ export declare abstract class SacBaseDateTimeControl extends SacBaseModelControl
170
193
  * method if content has changed and proportions need to be reset in the UI.
171
194
  */
172
195
  private readonly onContentChange;
196
+ /**
197
+ * Sets the date-time format string from the configured format property
198
+ */
173
199
  private setDateTimeFormat;
174
200
  }
@@ -1,18 +1,18 @@
1
1
  import { SacBaseModelControl } from './basemodelcontrol';
2
2
  /**
3
- * Abstract Klasse für SacInputBase. Extendes SacBaseModelControl
3
+ * Abstract class for SacInputBase. Extends SacBaseModelControl
4
4
  */
5
5
  export declare abstract class SacInputBase<VALUE> extends SacBaseModelControl<VALUE> {
6
6
  /**
7
- * Erlaubte Zeichen bei der Eingabe
7
+ * Allowed characters for input
8
8
  */
9
9
  allowedchars: string;
10
10
  /**
11
- * Autofill aktivieren oder deaktivieren
11
+ * Enable or disable autofill
12
12
  */
13
13
  disableautocomplete: boolean;
14
14
  /**
15
- * Definiert das Control als Required
15
+ * Defines the control as required
16
16
  */
17
17
  isrequired: boolean;
18
18
  /**
@@ -20,19 +20,21 @@ export declare abstract class SacInputBase<VALUE> extends SacBaseModelControl<VA
20
20
  */
21
21
  placeholder: string;
22
22
  /**
23
- * Macht das Input readonly
23
+ * Makes the input readonly
24
24
  */
25
25
  readonly: boolean;
26
26
  /**
27
- * Definiert das Feld als valid/invalid von eingegebenen regex-pattern
27
+ * Defines the field as valid/invalid by entered regex pattern
28
28
  */
29
29
  regexvalidation: string;
30
30
  /**
31
- * Methode validiert Input wenn KeyPress-Event passiert
31
+ * Method validates input when keypress event occurs
32
+ * @param event Keyboard event object
33
+ * @returns Boolean indicating whether the event should propagate
32
34
  */
33
35
  onKeyPress(event: KeyboardEvent): Boolean;
34
36
  /**
35
- * Methode validiert wenn ein Drück-Event passiert
37
+ * Method validates when a keypress event occurs
36
38
  */
37
39
  protected OnKeyPressValidation(position: number, character: string): boolean;
38
40
  }
@@ -1,7 +1,7 @@
1
- import { TemplateRef } from '@angular/core';
2
1
  import { SacBaseModelControl } from './basemodelcontrol';
2
+ import { TemplateRef } from '@angular/core';
3
3
  /**
4
- * Abstract Klasse für SacBaseListControl. Extendes SacBaseModelControl
4
+ * Abstract class for SacBaseListControl. Extends SacBaseModelControl
5
5
  */
6
6
  export declare abstract class SacBaseListControl<VALUE> extends SacBaseModelControl<VALUE> {
7
7
  /**
@@ -9,35 +9,35 @@ export declare abstract class SacBaseListControl<VALUE> extends SacBaseModelCont
9
9
  */
10
10
  _options: any[];
11
11
  /**
12
- * Template für Value Element
12
+ * Defines the control as required
13
13
  */
14
- optionlabeltemplate: TemplateRef<any>;
14
+ isrequired: boolean;
15
15
  /**
16
- * Definiert das Label für das Option Element
16
+ * Defines whether the option element is active
17
17
  */
18
- optionlabel: string;
18
+ optionenabled: string;
19
19
  /**
20
- * Definiert den Wert für das Option Element
20
+ * Defines the label for the option element
21
21
  */
22
- optionvalue: string;
22
+ optionlabel: string;
23
23
  /**
24
- * Definiert, ob das Option Element aktiv ist
24
+ * Template for value element
25
25
  */
26
- optionenabled: string;
26
+ optionlabeltemplate: TemplateRef<any>;
27
27
  /**
28
- * Definiert das Control als Required
28
+ * Defines the value for the option element
29
29
  */
30
- isrequired: boolean;
30
+ optionvalue: string;
31
31
  /**
32
- * Style Breite für List Control Element
32
+ * Style width for list control element
33
33
  */
34
34
  width: string;
35
35
  /**
36
- * Input property für options
36
+ * Input property for options
37
37
  */
38
38
  get options(): any[];
39
39
  /**
40
- * setter für options
40
+ * Setter for options
41
41
  */
42
42
  set options(val: any[]);
43
43
  }
@@ -9,12 +9,12 @@ import { Injector, OnInit } from '@angular/core';
9
9
  import { AbstractControl, ControlValueAccessor, FormControl, ValidationErrors, Validator } from '@angular/forms';
10
10
  import { Observable } from 'rxjs';
11
11
  /**
12
- * Abstract Klasse für SacBaseModelControl. Implements ControlValueAccessor, Validator, OnInit
12
+ * Abstract class for SacBaseModelControl. Implements ControlValueAccessor, Validator, OnInit
13
13
  */
14
14
  export declare abstract class SacBaseModelControl<VALUE> implements ControlValueAccessor, Validator, OnInit {
15
15
  private readonly injector;
16
16
  /**
17
- * Inline Errors für das Control
17
+ * Inline errors for the control
18
18
  */
19
19
  private _inlineerrorenabled;
20
20
  /**
@@ -26,11 +26,11 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
26
26
  */
27
27
  protected readonly configurationService: ISacConfigurationService;
28
28
  /**
29
- * Boolean Property dirty; default Wert - false
29
+ * Boolean property dirty; default value - false
30
30
  */
31
31
  protected _dirty: boolean;
32
32
  /**
33
- * SacModel Form ist disabled
33
+ * SacModel form is disabled
34
34
  */
35
35
  protected _disabledForm: boolean;
36
36
  /**
@@ -38,11 +38,11 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
38
38
  */
39
39
  protected _onChange: () => void;
40
40
  /**
41
- * Boolean Property touched; default Wert - false
41
+ * Boolean property touched; default value - false
42
42
  */
43
43
  protected _touched: boolean;
44
44
  /**
45
- * Interne Variable, die den Wert des Controls hält
45
+ * Internal variable that holds the value of the control
46
46
  */
47
47
  protected _value: VALUE;
48
48
  /**
@@ -54,7 +54,7 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
54
54
  */
55
55
  protected iconService: ISacIconService;
56
56
  /**
57
- * Service für Error Localisation
57
+ * Service for error localisation
58
58
  */
59
59
  protected lngResourceService: ISacLocalisationService;
60
60
  /**
@@ -70,11 +70,11 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
70
70
  */
71
71
  componentHeight: ControlHeight | null;
72
72
  /**
73
- * Deaktiviert das Input Control
73
+ * Disables the input control
74
74
  */
75
75
  disabled: boolean;
76
76
  /**
77
- * Deaktiviert das Label im Template
77
+ * Disables the label in the template
78
78
  */
79
79
  disablelabel: boolean;
80
80
  /**
@@ -94,9 +94,9 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
94
94
  */
95
95
  inlineError: boolean;
96
96
  /**
97
- * defines that the labels are displayed as adaptive labels
97
+ * Label Mode 'standard' | 'floating' or null (null = use global configuration)
98
98
  */
99
- isAdaptiveLabel: boolean;
99
+ labelMode: 'standard' | 'floating' | null;
100
100
  /**
101
101
  * default labe size for large devices
102
102
  */
@@ -122,15 +122,15 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
122
122
  */
123
123
  labelSizeXxl: number | null;
124
124
  /**
125
- * Name des Controls
125
+ * Name of the control
126
126
  */
127
127
  name: string;
128
128
  /**
129
- * Leere Implementation von "propagateChange". Muss gemacht werden, damit kein Fehler entsteht
129
+ * Empty implementation of "propagateChange". Must be done to avoid errors
130
130
  */
131
131
  propagateChange: any;
132
132
  /**
133
- * Leere Implementation von "propagateTouch". Muss gemacht werden, damit kein Fehler entsteht
133
+ * Empty implementation of "propagateTouch". Must be done to avoid errors
134
134
  */
135
135
  propagateTouch: any;
136
136
  /**
@@ -152,7 +152,7 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
152
152
  */
153
153
  get HelptextTooltipIcon(): string;
154
154
  /**
155
- * Methode ergibt Boolean Wert für dirty
155
+ * Method returns boolean value for dirty
156
156
  */
157
157
  get dirty(): boolean;
158
158
  /**
@@ -160,15 +160,15 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
160
160
  */
161
161
  get inlineerrorenabled(): boolean | null;
162
162
  /**
163
- * Aktiviert oder Deaktiviert die Inline Errors für das Control
163
+ * Enables or disables the inline errors for the control
164
164
  */
165
165
  set inlineerrorenabled(value: boolean | null);
166
166
  /**
167
- * Methode ergibt boolean Wert wenn Form invalid oder nicht invalid ist
167
+ * Method returns a boolean value indicating whether the form is invalid
168
168
  */
169
169
  get invalid(): boolean;
170
170
  /**
171
- * Definiert ob das Control disabled ist
171
+ * Defines whether the control is disabled
172
172
  */
173
173
  get isdisabled(): boolean;
174
174
  /**
@@ -176,32 +176,32 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
176
176
  */
177
177
  get isinlineerrorenabled(): boolean;
178
178
  /**
179
- * Definiert den Label Text
179
+ * Defines the label text
180
180
  */
181
181
  get label(): string;
182
182
  /**
183
- * Definiert den Label Text
183
+ * Sets the label text
184
184
  */
185
185
  set label(v: string);
186
186
  /**
187
- * returns an object with all label sizes. These values can then be transferred to corresponding CSS classes using a pipe
187
+ * Returns an object with all label sizes. These values can then be transferred to corresponding CSS classes using a pipe
188
188
  */
189
189
  get labelSizes(): ISacLabelSizes;
190
190
  /**
191
- * Methode ergibt Boolean Wert für touched
191
+ * Method returns boolean value for touched
192
192
  */
193
193
  get touched(): boolean;
194
194
  /**
195
- * Get Methode für NgModel Binding in Html Markup
195
+ * Get method for NgModel binding in HTML markup
196
196
  */
197
197
  get value(): VALUE;
198
198
  /**
199
- * Set Methode für NgModel Binding in Html Markup
200
- * Input wird benötigt, damit der Wert auch über das Markup gesetzt werden kann.
199
+ * Set method for NgModel binding in HTML markup
200
+ * Input is required so that the value can also be set via the markup.
201
201
  */
202
202
  set value(v: VALUE);
203
203
  /**
204
- * Methode ergibt Error anhand von gegebenen Kriterien
204
+ * Method returns error based on given criteria
205
205
  */
206
206
  GetErrorMessage(): Observable<string>;
207
207
  /**
@@ -209,50 +209,63 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
209
209
  */
210
210
  ngOnInit(): void;
211
211
  /**
212
- * Methode ergibt boolean touched = true
212
+ * Method sets touched = true
213
213
  */
214
214
  onTouch(): void;
215
215
  /**
216
- * Methode, damit andere Controls änderungen im Control mitbekommen können
217
- * Zur Änderungsinfo die Methode propagateChange aufrufen.
216
+ * Method so that other controls can be notified of changes in the control
217
+ * For change notification, call the propagateChange method.
218
+ * @param fn Callback function for change notification
218
219
  */
219
220
  registerOnChange(fn: any): void;
220
221
  /**
221
- * Methode, damit andere Controls änderungen mitbekommen, wenn das Control aktiviert (Focus) wird.
222
+ * Method so that other controls can be notified of changes when the control is activated (focus).
223
+ * @param fn Callback function for touch notification
222
224
  */
223
225
  registerOnTouched(fn: any): void;
224
226
  /**
225
- * Methode registriert Änderungen bei der Validierung
227
+ * Method registers changes in validation
228
+ * @param fn Callback function for validator change notification
226
229
  */
227
230
  registerOnValidatorChange(fn: () => void): void;
228
231
  /**
229
- * Setzt das Control auf Disabled
232
+ * Sets the control to disabled
233
+ * @param isDisabled True to disable the control, false to enable it
230
234
  */
231
235
  setDisabledState(isDisabled: boolean): void;
232
236
  /**
233
- * Methode die den Wert des Inputs setzt
237
+ * Method that sets the value of the input
238
+ * @param v The value to set
234
239
  */
235
240
  setValue(v: VALUE): void;
236
241
  /**
237
- * Validator Methode
242
+ * Validator method
243
+ * @param c Form control to validate
244
+ * @returns Validation errors or null if valid
238
245
  */
239
246
  validate(c: AbstractControl): ValidationErrors | null;
240
247
  /**
241
- * Abstrakte Validator Methode
248
+ * Abstract validator method for form control value.
249
+ *
250
+ * Derived classes should check control value and return validation errors or null.
251
+ *
252
+ * @param c Form control being validated
253
+ * @returns ValidationErrors if invalid, otherwise null
242
254
  */
243
255
  abstract validateData(c: AbstractControl): ValidationErrors | null;
244
256
  /**
245
- * Methode zum schreiben von Werten aus dem Model in das Control
257
+ * Method for writing values from the model into the control
258
+ * @param value The value to write to the control
246
259
  */
247
260
  writeValue(value: VALUE): void;
248
261
  /**
249
- * Method can Overwriten in Parent Classes
250
- * @param value Wert welcher in den korrekten Typ konvertiert werden soll
251
- * @returns Wert im korrekten Typ
262
+ * Method can be overridden in parent classes
263
+ * @param value Value that should be converted to the correct type
264
+ * @returns Value in the correct type
252
265
  */
253
266
  protected ConvertInputValue(value: VALUE): VALUE;
254
267
  /**
255
- * Methode ergibt Decimal Symbol
268
+ * Method returns the decimal symbol
256
269
  */
257
270
  protected GetDecimalSymbol(): string;
258
271
  /**
@@ -260,7 +273,7 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
260
273
  */
261
274
  protected OnClassInit(): void;
262
275
  /**
263
- * Aktualisiert den NgModel Wert und die Gültigkeit des Validators des Controls
276
+ * Updates the NgModel value and the validity of the control's validator
264
277
  */
265
278
  protected UpdateValueAndValidity(): void;
266
279
  private UpdateLabelToControl;
@@ -273,12 +286,15 @@ export declare abstract class SacBaseModelControl<VALUE> implements ControlValue
273
286
  */
274
287
  private setHelpTextMode;
275
288
  /**
276
- * Set adaptive label property from parent layout control
289
+ * Sets the label display mode from property or parent layout control
277
290
  */
278
- private setIsAdaptiveLabel;
291
+ private setLabelMode;
279
292
  /**
280
293
  * Set label sizes from property or parent layout control
281
294
  */
282
295
  private setLabelSizes;
296
+ /**
297
+ * Sets the label split mode from property or parent layout control\n
298
+ **/
283
299
  private setLabelSplitMode;
284
300
  }
@@ -1,14 +1,14 @@
1
1
  import { SacBaseListControl } from './baselistcontrol';
2
2
  /**
3
- * Abstract Klasse für SacBaseSelectControl. Extendes SacBaseListControl
3
+ * Abstract class for SacBaseSelectControl. Extends SacBaseListControl
4
4
  */
5
5
  export declare abstract class SacBaseSelectControl<VALUE> extends SacBaseListControl<VALUE> {
6
6
  /**
7
- * Definiert das Label für das Group Element
7
+ * Defines the collection of items in the group element
8
8
  */
9
- grouplabel: string;
9
+ groupitems: string;
10
10
  /**
11
- * Definiert die Collection der Items im Group Element
11
+ * Defines the label for the group element
12
12
  */
13
- groupitems: string;
13
+ grouplabel: string;
14
14
  }