@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,59 +1,59 @@
1
1
  import { SacInputBase } from '../../common/baseinputcontrol';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
- * Basis Komponente für SacInputDecimal
4
+ * Base component for SacInputDecimal
5
5
  */
6
6
  export declare class SacInputDecimalCommon extends SacInputBase<number> {
7
7
  /**
8
- * Definiert das Negative Werte erlaubt sind
8
+ * Defines whether negative values are allowed
9
9
  */
10
10
  allownegativ: boolean;
11
11
  /**
12
- * Definiert den maximalen Wert
12
+ * Defines the maximum value
13
13
  */
14
14
  maxvalue: number;
15
15
  /**
16
- * Definiert den minimalen Wert
16
+ * Defines the minimum value
17
17
  */
18
18
  minvalue: number;
19
19
  /**
20
- * Resource Key für Validation Message MaxValue bei Control
20
+ * Resource key for validation message MaxValue at control
21
21
  */
22
22
  validationmessagemaxvalue: string;
23
23
  /**
24
- * Resource Key für Validation Message MinValue bei Control
24
+ * Resource key for validation message MinValue at control
25
25
  */
26
26
  validationmessageminvalue: string;
27
27
  /**
28
- * Resource Key für Validation Message Required bei Control
28
+ * Resource key for validation message Required at control
29
29
  */
30
30
  validationmessagerequired: string;
31
31
  /**
32
- * Resource Key für Validation Message MaxValue in Validation Summary
32
+ * Resource key for validation message MaxValue in validation summary
33
33
  */
34
34
  validationmessagesummarymaxvalue: string;
35
35
  /**
36
- * Resource Key für Validation Message MinValue in Validation Summary
36
+ * Resource key for validation message MinValue in validation summary
37
37
  */
38
38
  validationmessagesummaryminvalue: string;
39
39
  /**
40
- * Resource Key für Validation Message Required in Validation Summary
40
+ * Resource key for validation message Required in validation summary
41
41
  */
42
42
  validationmessagesummaryrequired: string;
43
43
  /**
44
- * Methode validiert ob der Wert entspricht den gegebenen Kriterien
44
+ * Method validates whether the value meets the given criteria
45
45
  */
46
46
  validateData(c: AbstractControl): ValidationErrors | null;
47
47
  /**
48
- * Konvertiert den Wert des Inputs
48
+ * Converts the input value
49
49
  */
50
50
  protected ConvertInputValue(value: any): any;
51
51
  /**
52
- * Methode die erzeugt den Control in Abhängigkeit davon, ob negative Were erlaubt sing oder nicht
52
+ * Method that creates the control depending on whether negative values are allowed
53
53
  */
54
54
  protected OnClassInit(): void;
55
55
  /**
56
- * Methode validiert ob der Wert entspricht den gegebenen Kriterien wenn ein Key gedrückt wird
56
+ * Method validates whether the value meets the given criteria when a key is pressed
57
57
  */
58
58
  protected OnKeyPressValidation(position: number, character: string): boolean;
59
59
  }
@@ -1,19 +1,19 @@
1
1
  import { SacInputCommon } from './input';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
- * Basis Komponente für SacInputEmail
4
+ * Base component for SacInputEmail
5
5
  */
6
6
  export declare class SacInputEmailCommon extends SacInputCommon {
7
7
  /**
8
- * Resource Key für Validation Message Email bei Control
8
+ * Resource key for validation message email in Control
9
9
  */
10
10
  validationmessageemail: string;
11
11
  /**
12
- * Resource Key für Validation Message Email in Validation Summary
12
+ * Resource key for the validation message email in the validation summary
13
13
  */
14
14
  validationmessagesummaryemail: string;
15
15
  /**
16
- * Methode validiert, ob der Wert den gegebenen Kriteriten entspricht
16
+ * Method validates whether the value meets the given criteria
17
17
  */
18
18
  validateData(c: AbstractControl): ValidationErrors | null;
19
19
  }
@@ -1,59 +1,59 @@
1
1
  import { SacInputBase } from '../../common/baseinputcontrol';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
- * Basis Komponente für SacInputInteger
4
+ * Base component for SacInputInteger
5
5
  */
6
6
  export declare class SacInputIntegerCommon extends SacInputBase<number> {
7
7
  /**
8
- * Definiert das Negative Werte erlaubt sind
8
+ * Defines whether negative values are allowed
9
9
  */
10
10
  allownegativ: boolean;
11
11
  /**
12
- * Definiert den maximalen Wert
12
+ * Defines the maximum value
13
13
  */
14
14
  maxvalue: number;
15
15
  /**
16
- * Definiert den minimalen Wert
16
+ * Defines the minimum value
17
17
  */
18
18
  minvalue: number;
19
19
  /**
20
- * Resource Key für Validation Message MaxValue bei Control
20
+ * Resource key for validation message MaxValue at control
21
21
  */
22
22
  validationmessagemaxvalue: string;
23
23
  /**
24
- * Resource Key für Validation Message MinValue bei Control
24
+ * Resource key for validation message MinValue at control
25
25
  */
26
26
  validationmessageminvalue: string;
27
27
  /**
28
- * Resource Key für Validation Message Required bei Control
28
+ * Resource key for validation message Required at control
29
29
  */
30
30
  validationmessagerequired: string;
31
31
  /**
32
- * Resource Key für Validation Message MaxValue in Validation Summary
32
+ * Resource key for validation message MaxValue in validation summary
33
33
  */
34
34
  validationmessagesummarymaxvalue: string;
35
35
  /**
36
- * Resource Key für Validation Message MinValue in Validation Summary
36
+ * Resource key for validation message MinValue in validation summary
37
37
  */
38
38
  validationmessagesummaryminvalue: string;
39
39
  /**
40
- * Resource Key für Validation Message Required in Validation Summary
40
+ * Resource key for validation message Required in validation summary
41
41
  */
42
42
  validationmessagesummaryrequired: string;
43
43
  /**
44
- * Methode validiert ob der Wert entspricht den gegebenen Kriterien
44
+ * Method validates whether the value meets the given criteria
45
45
  */
46
46
  validateData(c: AbstractControl): ValidationErrors | null;
47
47
  /**
48
- * Konvertiert den Wert des Inputs
48
+ * Converts the input value
49
49
  */
50
50
  protected ConvertInputValue(value: any): any;
51
51
  /**
52
- * Methode die erzeugt den Control in Abhängigkeit davon, ob negative Were erlaubt sing oder nicht
52
+ * Method that creates the control depending on whether negative values are allowed
53
53
  */
54
54
  protected OnClassInit(): void;
55
55
  /**
56
- * Methode validiert ob der Wert entspricht den gegebenen Kriterien wenn ein Key gedrückt wird
56
+ * Method validates whether the value meets the given criteria when a key is pressed
57
57
  */
58
58
  protected OnKeyPressValidation(position: number, character: string): boolean;
59
59
  }
@@ -1,7 +1,7 @@
1
1
  import { SacInputCommon } from './input';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  /**
4
- * Basis Komponente für SacInputPassword
4
+ * Base component for SacInputPassword
5
5
  */
6
6
  export declare class SacInputPasswordCommon extends SacInputCommon {
7
7
  /**
@@ -25,7 +25,7 @@ export declare class SacInputPasswordCommon extends SacInputCommon {
25
25
  */
26
26
  validationmessagesummarymintextlength: string;
27
27
  /**
28
- *Icon used by InputPassword to hide the password in the input field
28
+ * Icon used by InputPassword to hide the password in the input field
29
29
  */
30
30
  get PasswordEyeHiddenIcon(): string;
31
31
  /**
@@ -37,7 +37,7 @@ export declare class SacInputPasswordCommon extends SacInputCommon {
37
37
  */
38
38
  onTogglePasswordEye(): void;
39
39
  /**
40
- * Methode validiert, ob der Wert den gegebenen Kriteriten entspricht
40
+ * Method validates whether the value meets the given criteria
41
41
  */
42
42
  validateData(c: AbstractControl): ValidationErrors | null;
43
43
  }
@@ -1,7 +1,7 @@
1
1
  import { SacInputCommon } from './input';
2
2
  import { EventEmitter, OnInit } from '@angular/core';
3
3
  /**
4
- * Basis Komponente für SacInputSearch
4
+ * Base component for SacInputSearch
5
5
  */
6
6
  export declare class SacInputSearchCommon extends SacInputCommon implements OnInit {
7
7
  /**
@@ -9,15 +9,15 @@ export declare class SacInputSearchCommon extends SacInputCommon implements OnIn
9
9
  */
10
10
  buttonmode: 'icon' | 'text' | 'mixed';
11
11
  /**
12
- * Text welcher auf dem Button angezeigt wird
12
+ * Text displayed on the button
13
13
  */
14
14
  buttontext: string;
15
15
  /**
16
- * Event wenn auf das Such-Icon geclickt wird
16
+ * Event when the search icon is clicked
17
17
  */
18
18
  clicked: EventEmitter<any>;
19
19
  /**
20
- * Name des Such-Icons
20
+ * Name of the search icon
21
21
  */
22
22
  iconname: string;
23
23
  /**
@@ -25,8 +25,11 @@ export declare class SacInputSearchCommon extends SacInputCommon implements OnIn
25
25
  */
26
26
  ngOnInit(): void;
27
27
  /**
28
- * Methode sendet den Wert des Inputs durch das Event
28
+ * Method sends the value of the input through the event
29
29
  */
30
30
  searchClick(): void;
31
+ /**
32
+ * Sets the button mode for the search input
33
+ */
31
34
  private setButtonMode;
32
35
  }
@@ -1,6 +1,6 @@
1
1
  import { ControlHeight } from '../../enums/ControlHeight';
2
- /***
3
- * base component for form options
2
+ /**
3
+ * Base component for form options
4
4
  */
5
5
  export declare class SacFormLayoutCommon {
6
6
  /**
@@ -24,11 +24,14 @@ export declare class SacFormLayoutCommon {
24
24
  */
25
25
  inputsearchiconmode: 'text' | 'icon' | 'mixed' | null;
26
26
  /**
27
- * defines that the labels are displayed as adaptive labels
27
+ * Defines the default label mode for all components with labels
28
+ *
29
+ * Options are 'standard' and 'floating'
30
+ * Floating labels are only supported in Bootstrap 5
28
31
  */
29
- isAdaptiveLabel: boolean;
32
+ labelMode: 'standard' | 'floating' | null;
30
33
  /**
31
- * default labe size for large devices
34
+ * default label size for large devices
32
35
  */
33
36
  labelSizeLg: number | null;
34
37
  /**
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Function um ein Key Value Pair für das Dropdown zu erzeugen
2
+ * Function to generate a key value pair for the dropdown
3
3
  * @param id ID
4
- * @param value Wert der an das Element gebunden werden soll
4
+ * @param value Value that should be bound to the element
5
5
  */
6
6
  export declare function _buildValueString(id: string | null, value: any): string;
@@ -3,37 +3,37 @@ import { SacFormLayoutCommon } from '../layout/formlayout';
3
3
  import { ElementRef, Injector, Renderer2 } from '@angular/core';
4
4
  import { AbstractControl, ValidationErrors } from '@angular/forms';
5
5
  /**
6
- * Base Dropdown Komponente
6
+ * Base dropdown component
7
7
  */
8
8
  export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
9
9
  private renderer;
10
10
  private elementRef;
11
11
  /**
12
- * compareWith-Funktion
12
+ * compareWith function
13
13
  */
14
14
  private _compareWith;
15
15
  /**
16
- * Counter vom OptionID; default Wert = 0
16
+ * Counter for option ID; default value = 0
17
17
  */
18
18
  _optionIdCounter: number;
19
19
  /**
20
- * OptionMap
20
+ * Option map
21
21
  */
22
22
  _optionMap: Map<string, any>;
23
23
  /**
24
- * Label Text für Empty Item
24
+ * Label text for empty item
25
25
  */
26
26
  emptylabel: string;
27
27
  /**
28
- * Option Value für Empty Item
28
+ * Option value for empty item
29
29
  */
30
30
  emptyvalue: string | null | number;
31
31
  /**
32
- * Resource Key für Validation Message Required bei Control
32
+ * Resource key for validation message required at control
33
33
  */
34
34
  validationmessagerequired: string;
35
35
  /**
36
- * Resource Key für Validation Message Required in Validation Summary
36
+ * Resource key for validation message required in validation summary
37
37
  */
38
38
  validationmessagesummaryrequired: string;
39
39
  /**
@@ -45,51 +45,52 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
45
45
  */
46
46
  constructor(formlayout: SacFormLayoutCommon, injector: Injector, renderer: Renderer2, elementRef: ElementRef);
47
47
  /**
48
- * compareWith-Funktion
48
+ * compareWith function
49
49
  */
50
50
  set comparewith(fn: (o1: any, o2: any) => boolean);
51
51
  /**
52
- * Registriert das OptionID-Counter als String
52
+ * Registers the option ID counter as string
53
+ * @returns The option ID as string
53
54
  */
54
55
  registerOption(): string;
55
56
  /**
56
- * Methode die von Options aufgerufen wird, um das Mapping zwischen Dropdown Value und Value herzustellen.
57
- * @param id: Id aus Options
57
+ * Method called by options to establish the mapping between dropdown value and value.
58
+ * @param id: Id from options
58
59
  * @param value: Value
59
60
  */
60
61
  setOptionMap(id: string, value: any): void;
61
62
  /**
62
- * Wert einstellen
63
- * @param value - Wert
63
+ * Set value
64
+ * @param value - Value
64
65
  */
65
66
  setValue(value: string): void;
66
67
  /**
67
68
  * Validator
68
- * @param c Control Instanz
69
+ * @param c Control instance
69
70
  */
70
71
  validateData(c: AbstractControl): ValidationErrors | null;
71
72
  /**
72
- * Wert schreiben
73
- * @param value - Wert
73
+ * Write value
74
+ * @param value - Value
74
75
  */
75
76
  writeValue(value: any): void;
76
77
  /**
77
- * ID extrahieren
78
- * @param valueString String bei welchem die ID Extrahiert werden soll
78
+ * Extract ID
79
+ * @param valueString String from which the ID should be extracted
79
80
  */
80
81
  private extractId;
81
82
  /**
82
- * Nimmt das ID vom Option
83
+ * Takes the ID from the option
83
84
  * @param value
84
85
  */
85
86
  private getOptionId;
86
87
  /**
87
- * Nimmt den String-Wert vom Option
88
+ * Takes the string value from the option
88
89
  * @param valueString
89
90
  */
90
91
  private getOptionValue;
91
92
  /**
92
- * Setzt den Selected Value auf dem Control
93
+ * Sets the selected value on the control
93
94
  * @param value Value
94
95
  */
95
96
  private setSelectedValue;
@@ -1,21 +1,21 @@
1
1
  import { SacDropdownCommon } from './dropdown';
2
2
  import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
3
3
  /**
4
- * SacDropdownOption-Klasse
4
+ * SacDropdownOption class
5
5
  */
6
6
  export declare class SacDropdownOptionCommon implements OnDestroy {
7
7
  private _element;
8
8
  private _renderer;
9
9
  private _dropdown;
10
10
  /**
11
- * ID-String
11
+ * ID string
12
12
  */
13
13
  private id;
14
14
  /**
15
- * Konstruktor
16
- * @param _element Referenz auf HTML Element
17
- * @param _renderer Render Engine
18
- * @param _dropdown Dropdown Instanz
15
+ * Constructor
16
+ * @param _element Reference to HTML element
17
+ * @param _renderer Render engine
18
+ * @param _dropdown Dropdown instance
19
19
  */
20
20
  constructor(_element: ElementRef, _renderer: Renderer2, _dropdown: SacDropdownCommon);
21
21
  /**
@@ -23,16 +23,16 @@ export declare class SacDropdownOptionCommon implements OnDestroy {
23
23
  */
24
24
  set ngValue(value: any);
25
25
  /**
26
- * Wert-Setter
26
+ * Value setter
27
27
  */
28
28
  set value(value: any);
29
29
  /**
30
- * Den Wert vom Option-Element einstellen
31
- * @param value Wert
30
+ * Set the value of the option element
31
+ * @param value Value
32
32
  */
33
33
  _setElementValue(value: string): void;
34
34
  /**
35
- * OnDestroy Event
35
+ * OnDestroy event
36
36
  */
37
37
  ngOnDestroy(): void;
38
38
  }
@@ -2,85 +2,87 @@ import { ElementRef, OnDestroy, QueryList, Renderer2 } from '@angular/core';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  import { SacBaseSelectControl } from '../../common/baseselectcontrol';
4
4
  /**
5
- * Basis Komponente für SacListboxOption
5
+ * Base component for SacListboxOption
6
6
  */
7
7
  export declare class SacListboxOptionCommon implements OnDestroy {
8
8
  private _element;
9
9
  private _renderer;
10
10
  private _listbox;
11
11
  /**
12
- * Value von Selected Option Item
12
+ * Value of selected option item
13
13
  */
14
14
  private _value;
15
15
  /**
16
- * Konstruktor
17
- * @param _element: ElementRef
18
- * @param _renderer: Renderer2
16
+ * Constructor
17
+ * @param _element Reference to host element
18
+ * @param _renderer Renderer for DOM manipulation
19
+ * @param _listbox Reference to parent listbox component
19
20
  */
20
21
  constructor(_element: ElementRef, _renderer: Renderer2, _listbox: SacListboxCommon);
21
22
  /**
22
- * NgValue des Controls. Wird für die Mehrfachauswahl benötigt
23
+ * NgValue of the control. Needed for multiple selection
23
24
  */
24
25
  set ngValue(value: any);
25
26
  /**
26
- * Definiert den Wert der Listbox
27
+ * Defines the value of the listbox
27
28
  */
28
29
  set value(value: any);
29
30
  get value(): any;
30
31
  /**
31
- * Methode ergibt den Status der Elemente, die selektiert wurden
32
- * @param selected Element ist selektiert
32
+ * Method returns the status of the elements that were selected
33
+ * @param selected Element is selected
33
34
  */
34
35
  _setSelected(selected: boolean): void;
35
36
  /**
36
- * OnDestroy Event
37
+ * OnDestroy event
37
38
  */
38
39
  ngOnDestroy(): void;
39
40
  }
40
41
  /**
41
- * Komponente für SacListboxCommon. Extends SacBaseSelectControl
42
+ * Component for SacListboxCommon. Extends SacBaseSelectControl
42
43
  */
43
44
  export declare class SacListboxCommon extends SacBaseSelectControl<Array<string>> {
44
45
  /**
45
- * Anzahl der Zeilen
46
+ * Number of rows
46
47
  */
47
48
  rowsize: number;
48
49
  /**
49
- * Resource Key für Validation Message Required bei Control
50
+ * Resource key for validation message required at control
50
51
  */
51
52
  validationmessagerequired: string;
52
53
  /**
53
- * Resource Key für Validation Message Required in Validation Summary
54
+ * Resource key for validation message required in validation summary
54
55
  */
55
56
  validationmessagesummaryrequired: string;
56
57
  /**
57
- * ViewChildren Methode
58
+ * ViewChildren method
58
59
  */
59
60
  contentOptions: QueryList<SacListboxOptionCommon>;
60
61
  /**
61
- * OptionMap
62
+ * Option list
62
63
  */
63
64
  optionlist: Array<SacListboxOptionCommon>;
64
65
  /**
65
- * Getter für selektierte Elemente
66
+ * Getter for selected items
66
67
  */
67
68
  getSelectedItems(selectelement: any): void;
68
69
  /**
69
- * Registriert ein Listbox Element
70
- * @param option Listbox Option Item das registriert werden soll
70
+ * Registers a listbox element
71
+ * @param option Listbox option item to be registered
71
72
  */
72
73
  registerOption(option: SacListboxOptionCommon): void;
73
74
  /**
74
- * Hebt die Registration eines Listbox Items auf
75
- * @param option Listbox Option Item das deregistriert werden soll
75
+ * Cancels the registration of a listbox item
76
+ * @param option Listbox option item to be deregistered
76
77
  */
77
78
  unregisterOption(option: SacListboxOptionCommon): void;
78
79
  /**
79
- * Validator Methode
80
+ * Validator method
80
81
  */
81
82
  validateData(c: AbstractControl): ValidationErrors | null;
82
83
  /**
83
- * Methode schreibt neuen Wert
84
+ * Method writes new value
85
+ * @param value Selected values that should be set on the options.
84
86
  */
85
87
  writeValue(value: Array<string>): void;
86
88
  }