@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
@@ -4,13 +4,13 @@ import { ISacValidationKeyService } from '../../interfaces/ISacValidationKeyServ
4
4
  import { IConfirmComponent } from '../../interfaces/iconfirmcomponent';
5
5
  import { ApplicationRef, ComponentFactory, ComponentRef, EventEmitter, Injector } from '@angular/core';
6
6
  /**
7
- * Basis Klasse für Confirm Service implementation
7
+ * Base class for confirm service implementation
8
8
  */
9
9
  export declare abstract class ServiceConfirmCommon {
10
10
  private appRef;
11
11
  private injector;
12
12
  /**
13
- * Referenz auf IConfirm Instanz.
13
+ * Reference to the IConfirm instance.
14
14
  */
15
15
  protected component: ComponentRef<IConfirmComponent>;
16
16
  /**
@@ -18,7 +18,7 @@ export declare abstract class ServiceConfirmCommon {
18
18
  */
19
19
  protected iconService: ISacIconService;
20
20
  /**
21
- * service for tranlsate default text
21
+ * Service for translating default text
22
22
  */
23
23
  protected localisationService: ISacLocalisationService;
24
24
  /**
@@ -26,38 +26,38 @@ export declare abstract class ServiceConfirmCommon {
26
26
  */
27
27
  protected validationKeyService: ISacValidationKeyService;
28
28
  /**
29
- * Konstruktor
30
- * @param appRef ApplicationRef zum Anhängen des Dialogs an den Content
31
- * @param injector Injector um die Instanz zu erzeuge
29
+ * Constructor
30
+ * @param appRef ApplicationRef to attach the dialog to the content
31
+ * @param injector Injector to create the instance
32
32
  */
33
33
  constructor(appRef: ApplicationRef, injector: Injector);
34
34
  /**
35
- * Blendet den Dialog aus
35
+ * Hides the dialog
36
36
  */
37
37
  protected CloseDialog(): void;
38
38
  /**
39
- * Methode zur Konfiguration der Confirm Dialog Komponente
40
- * @param instance Instanz auf IConfirmComponent Komponente
39
+ * Method to configure the confirm dialog component
40
+ * @param instance Instance of the IConfirmComponent component
41
41
  */
42
42
  protected abstract ConfigureDialog(instance: IConfirmComponent): any;
43
43
  /**
44
- * Interne Methode für die Implementation des Confirm Dialogs. Steuert die Feedbacks, die Erzeugung und Anzeige des Dialogs
44
+ * Internal method for the implementation of the confirm dialog. Controls feedback, creation, and display of the dialog
45
45
  */
46
46
  protected Confirm(): EventEmitter<string>;
47
47
  /**
48
- * Erzeugt eine Instanz für den Dialog
48
+ * Creates an instance for the dialog
49
49
  */
50
50
  protected CreateInstance(): void;
51
51
  /**
52
- * Entfernt die Instanz des Dialogs
52
+ * Removes the dialog instance
53
53
  */
54
54
  protected DestroyInstance(): void;
55
55
  /**
56
- * Abstrakte Methode zum erzeugen der Komponent Factory für den Dialog
56
+ * Abstract method to create the component factory for the dialog
57
57
  */
58
58
  protected abstract GetComponentFactory(): ComponentFactory<IConfirmComponent>;
59
59
  /**
60
- * Zeigt den Dialog an
60
+ * Shows the dialog
61
61
  */
62
62
  protected OpenDialog(): IConfirmComponent;
63
63
  }
@@ -1,10 +1,10 @@
1
1
  import { ISacIconService } from '../../interfaces/ISacIconService';
2
- import { PlacementArray } from '../../utilities/positioning';
2
+ import { PlacementArray } from '../../utilities/positionelements';
3
3
  import { ISacContextmenuCommon } from './contextmenu.interface';
4
4
  import { SacContextmenuItemCommon } from './contextmenuitem';
5
5
  import { AfterContentInit, ElementRef, Injector, NgZone, OnDestroy, QueryList, Renderer2, TemplateRef } from '@angular/core';
6
6
  /**
7
- * Base Context Menü Element. Die Logik wurde aus NG-BOOTSTRAP übernommen.
7
+ * Base context menu element. The logic was taken from NG-BOOTSTRAP.
8
8
  */
9
9
  export declare class SacContextmenuCommon implements ISacContextmenuCommon, AfterContentInit, OnDestroy {
10
10
  private readonly document;
@@ -12,19 +12,19 @@ export declare class SacContextmenuCommon implements ISacContextmenuCommon, Afte
12
12
  private readonly elementRef;
13
13
  private readonly renderer;
14
14
  /**
15
- * Button für Open/Close Event
15
+ * Button for open/close event
16
16
  */
17
17
  private readonly _anchor;
18
18
  /**
19
- * Button für Open/Close Event aus Template
19
+ * Button for open/close event from template
20
20
  */
21
21
  private readonly _anchorTemplate;
22
22
  /**
23
- * Container Element für Dropdown
23
+ * Container element for dropdown
24
24
  */
25
25
  private readonly _menu;
26
26
  /**
27
- * Zone Subscription für Postitonierung des Elements
27
+ * Zone subscription for positioning the element
28
28
  */
29
29
  private readonly zoneSubscription;
30
30
  /**
@@ -36,15 +36,15 @@ export declare class SacContextmenuCommon implements ISacContextmenuCommon, Afte
36
36
  */
37
37
  protected iconService: ISacIconService;
38
38
  /**
39
- * Custom HTML Template für Dropdown Button. Button muss den Marker "ngContextmenuAnchor" beinhalten, damit das Control korrekt funktioniert.
39
+ * Custom HTML template for dropdown button. Button must contain the marker "ngContextmenuAnchor" for the control to work correctly.
40
40
  */
41
41
  buttontemplate: TemplateRef<any>;
42
42
  /**
43
- * Container an welchem die Position ausgerichtet wird. Aktuell wird nun Body Supported
43
+ * Container to which the position is aligned. Currently only body is supported.
44
44
  */
45
45
  container: null | 'body';
46
46
  /**
47
- * Extra CSS Klassen für das Control
47
+ * Extra CSS classes for the control
48
48
  */
49
49
  cssclass: string;
50
50
  /**
@@ -52,7 +52,7 @@ export declare class SacContextmenuCommon implements ISacContextmenuCommon, Afte
52
52
  */
53
53
  e2eidentifier: string | null;
54
54
  /**
55
- * Definiert ob das Dropdown offen ist.
55
+ * Defines whether the dropdown is open.
56
56
  */
57
57
  isopen: boolean;
58
58
  /**
@@ -78,51 +78,57 @@ export declare class SacContextmenuCommon implements ISacContextmenuCommon, Afte
78
78
  */
79
79
  placement: PlacementArray;
80
80
  /**
81
- * Konstruktor
82
- * @param document HTML Document Element
83
- * @param ngZone Angular Zone Service
84
- * @param elementRef HTML Element des aktuellen Controls
85
- * @param renderer Angular Rendering Service
86
- * @param injector injector to resolve the icon service
81
+ * Constructor
82
+ * @param document HTML document element
83
+ * @param ngZone Angular zone service
84
+ * @param elementRef HTML element of the current control
85
+ * @param renderer Angular rendering service
86
+ * @param injector Injector to resolve the icon service
87
87
  */
88
88
  constructor(document: any, ngZone: NgZone, elementRef: ElementRef<HTMLElement>, renderer: Renderer2, injector: Injector);
89
89
  /**
90
- * icon for default context menü button
90
+ * Icon for default context menu button
91
91
  */
92
92
  get IconContextMenu(): string;
93
93
  /**
94
- * Schliesst das Dropdown
94
+ * Closes the dropdown
95
95
  */
96
96
  close(): void;
97
+ /**
98
+ * Lifecycle hook that is called after content projection is completed.
99
+ *
100
+ * Associates each menu item with this context menu instance so that item
101
+ * events can delegate to the parent menu.
102
+ */
97
103
  ngAfterContentInit(): void;
98
104
  /**
99
- * Event wenn Component entfernt wird.
105
+ * Event when component is destroyed.
100
106
  */
101
107
  ngOnDestroy(): void;
102
108
  /**
103
- * HostListener um das Dropdown zu schliessen wenn nicht auf das Element geklickt wird.
109
+ * HostListener to close the dropdown when clicking outside the element.
104
110
  */
105
111
  onClick(targetElement: any): void;
106
112
  /**
107
- * Öffnet das Dropdown / Zeigt das Menü an.
113
+ * Opens the dropdown / shows the menu.
108
114
  */
109
115
  open(): void;
110
116
  /**
111
- * Toggle von Dropdown
117
+ * Toggle dropdown
112
118
  */
113
119
  toggle(): void;
114
120
  /**
115
- * Setzt die Position des Menüs im Markup
121
+ * Sets the position of the menu in the markup
116
122
  */
117
123
  protected _positionMenu(): void;
118
124
  /**
119
- * Setzt die Position des Menüs innerhalb der Seite. Die Ausrichtung passiert innerhalb der Seite
120
- * damit das Menü innerhalb eines Dialogs sauber funktionioniert.
121
- * @param container Definiert wo das Menü ausgerichtet wird. Im Moment nur BODY Supported
125
+ * Sets the position of the menu within the page. The alignment happens within the page
126
+ * so that the menu works correctly inside a dialog.
127
+ * @param container Defines where the menu is aligned. Currently only BODY is supported
122
128
  */
123
129
  private _applyContainer;
124
130
  /**
125
- * Setzt die CSS Klassen auf dem Menü Container auf den Standard zurück
131
+ * Resets the CSS classes on the menu container to default
126
132
  */
127
133
  private _resetContainer;
128
134
  }
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Defines the common context menu API contract for all context menu components.
3
+ */
1
4
  export interface ISacContextmenuCommon {
5
+ /**
6
+ * Closes the context menu.
7
+ */
2
8
  close(): void;
3
9
  }
@@ -1,15 +1,15 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  /**
3
- * Base Context Menu Anchor Component für Open/Close Event
3
+ * Base context menu anchor component for open/close event
4
4
  */
5
5
  export declare class SacContextmenuAnchorCommon {
6
6
  /**
7
- * Referenz auf das Native HTML Element
7
+ * Reference to the native HTML element
8
8
  */
9
9
  nativeElement: HTMLElement;
10
10
  /**
11
- * Konstruktor
12
- * @param elementRef Refernz auf das HTML welcher als Anker für das Context Menü verwendet wird
11
+ * Constructor
12
+ * @param elementRef Reference to the HTML element used as anchor for the context menu
13
13
  */
14
14
  constructor(elementRef: ElementRef<HTMLElement>);
15
15
  }
@@ -1,15 +1,15 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  /**
3
- * Common Marker Klasse für den Menü Container
3
+ * Common marker class for the menu container
4
4
  */
5
5
  export declare class SacContextMenuContrainerCommon {
6
6
  /**
7
- * Referenz auf das HTML Element des Menü Containers
7
+ * Reference to the HTML element of the menu container
8
8
  */
9
9
  nativeElement: HTMLElement;
10
10
  /**
11
- * Konstruktor
12
- * @param elementRef Referenz auf das HTML Element mit der Marker Direktive
11
+ * Constructor
12
+ * @param elementRef Reference to the HTML element with the marker directive
13
13
  */
14
14
  constructor(elementRef: ElementRef<HTMLElement>);
15
15
  }
@@ -5,15 +5,15 @@ import { EventEmitter } from '@angular/core';
5
5
  */
6
6
  export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCommon {
7
7
  /**
8
- * Menu Item ist deaktiviert
8
+ * Menu item is disabled
9
9
  */
10
10
  protected _isdisabled: boolean;
11
11
  /**
12
- * Icon Column in Menü ist deaktiviert
12
+ * Icon column in menu is disabled
13
13
  */
14
14
  protected _isicondisabled: boolean;
15
15
  /**
16
- * Event wenn auf den Button geklickt wird
16
+ * Event when the button is clicked
17
17
  */
18
18
  clicked: EventEmitter<void>;
19
19
  /**
@@ -21,15 +21,15 @@ export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCo
21
21
  */
22
22
  cssclass: string;
23
23
  /**
24
- * Icon für Menü
24
+ * Icon for menu
25
25
  */
26
26
  icon: string;
27
27
  /**
28
- * Input Property für Styling des Buttons. Definiert die Css Klassen des Buttons
28
+ * Input property for button styling. Defines the CSS classes of the button
29
29
  */
30
30
  iconstyle: string;
31
31
  /**
32
- * Image für Menü. Wird benötigt wenn das Icon für den Button ein File und nicht ein Icon Font ist.
32
+ * Image for menu. Required if the icon for the button is a file and not an icon font.
33
33
  */
34
34
  image: string;
35
35
  /**
@@ -37,7 +37,7 @@ export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCo
37
37
  */
38
38
  name: string;
39
39
  /**
40
- * Text für Menü Item.
40
+ * Text for menu item.
41
41
  */
42
42
  text: string;
43
43
  /**
@@ -45,23 +45,23 @@ export declare class SacContextmenuItemButtonCommon extends SacContextmenuItemCo
45
45
  */
46
46
  constructor();
47
47
  /**
48
- * Menu Item ist deaktiviert
48
+ * Menu item is disabled
49
49
  */
50
50
  get isdisabled(): boolean | string;
51
51
  /**
52
- * Menu Item ist deaktiviert
52
+ * Menu item is disabled
53
53
  */
54
54
  set isdisabled(v: boolean | string);
55
55
  /**
56
- * Icon Column in Menü ist deaktiviert
56
+ * Icon column in menu is disabled
57
57
  */
58
58
  get isicondisabled(): boolean | string;
59
59
  /**
60
- * Icon Column in Menü ist deaktiviert
60
+ * Icon column in menu is disabled
61
61
  */
62
62
  set isicondisabled(v: boolean | string);
63
63
  /**
64
- * Die Methode wird das cklickaction Emitter aktivieren
64
+ * This method will trigger the click action emitter
65
65
  */
66
66
  callaction(event: MouseEvent): void;
67
67
  }
@@ -5,16 +5,16 @@ import { AbstractControl, ValidationErrors } from '@angular/forms';
5
5
  import * as IMask from 'imask';
6
6
  import * as moment_ from 'moment';
7
7
  /**
8
- * Komponente für SacDateCommon. Extends SacBaseDateTimeControl
8
+ * Component for SacDateCommon. Extends SacBaseDateTimeControl
9
9
  */
10
10
  export declare abstract class SacDateCommon extends SacBaseDateTimeControl {
11
11
  protected elementRef: ElementRef;
12
12
  /**
13
- * Format des Datums
13
+ * Date format
14
14
  */
15
15
  readonly DATEFORMAT: string;
16
16
  /**
17
- * Maske
17
+ * Mask
18
18
  */
19
19
  readonly imaskDate: {
20
20
  mask: string;
@@ -55,19 +55,19 @@ export declare abstract class SacDateCommon extends SacBaseDateTimeControl {
55
55
  */
56
56
  moment: any;
57
57
  /**
58
- * Resource Key für Validation Message MaxDate bei Control
58
+ * Resource key for validation message MaxDate at control
59
59
  */
60
60
  validationmessagemaxdate: string;
61
61
  /**
62
- * Resource Key für Validation Message MinDate bei Control
62
+ * Resource key for validation message MinDate at control
63
63
  */
64
64
  validationmessagemindate: string;
65
65
  /**
66
- * Resource Key für Validation Message MaxDate in Validation Summary
66
+ * Resource key for validation message MaxDate in validation summary
67
67
  */
68
68
  validationmessagesummarymaxdate: string;
69
69
  /**
70
- * Resource Key für Validation Message MinDate in Validation Summary
70
+ * Resource key for validation message MinDate in validation summary
71
71
  */
72
72
  validationmessagesummarymindate: string;
73
73
  /**
@@ -75,7 +75,7 @@ export declare abstract class SacDateCommon extends SacBaseDateTimeControl {
75
75
  * @param formlayout SacFormLayoutCommon to define scoped layout settings
76
76
  * @param injector Injector for injecting services
77
77
  * @param elementRef reference to html element
78
- * @param cdRef Change Dectection Servie
78
+ * @param cdRef Change Detection Service
79
79
  */
80
80
  constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
81
81
  /**
@@ -91,11 +91,11 @@ export declare abstract class SacDateCommon extends SacBaseDateTimeControl {
91
91
  */
92
92
  set mindate(v: string | Date | null);
93
93
  /**
94
- * Methode ergibt Datum-Format vom String
94
+ * Method returns date format from string
95
95
  */
96
96
  GetDateTimeFormatString(): string;
97
97
  /**
98
- * Methode ergibt Datum - Moment
98
+ * Method returns date - moment
99
99
  */
100
100
  ModifyParsedDateTimeValue(v: moment_.Moment): moment_.Moment;
101
101
  /**
@@ -107,7 +107,7 @@ export declare abstract class SacDateCommon extends SacBaseDateTimeControl {
107
107
  */
108
108
  onClick(targetElement: any): void;
109
109
  /**
110
- * Zeigt Date Selector an
110
+ * Shows date selector
111
111
  */
112
112
  showDateSelector(): void;
113
113
  /**
@@ -1,57 +1,57 @@
1
1
  import { EventEmitter, Injector, OnInit } from '@angular/core';
2
2
  /**
3
- *Basis Komponente für DateSelectorItem
3
+ * Base component for DateSelectorItem
4
4
  */
5
5
  declare class DateSelectorItem {
6
6
  /**
7
- * Datum
7
+ * Date
8
8
  */
9
9
  date: Date;
10
10
  /**
11
- * DisplayText Property; default Wert - ''
11
+ * DisplayText property; default value - ''
12
12
  */
13
13
  displaytext: string;
14
14
  /**
15
- * Boolean Property, die zeigt, ob das Element aktuell ist; default Wert - false
15
+ * Boolean property indicating if the element is current; default value - false
16
16
  */
17
17
  iscurrent: boolean;
18
18
  /**
19
- * Boolean Property, die zeigt, ob das Control enabled ist; default Wert - false
19
+ * Boolean property indicating if the control is enabled; default value - false
20
20
  */
21
21
  isenabled: boolean;
22
22
  /**
23
- * Boolean Property, die zeigt, ob das Element neu ist; default Wert - false
23
+ * Boolean property indicating if the element is new; default value - false
24
24
  */
25
25
  isnew: boolean;
26
26
  /**
27
- * Boolean Property, die zeigt, ob das Element selektiert ist; default Wert - false
27
+ * Boolean property indicating if the element is selected; default value - false
28
28
  */
29
29
  isselected: boolean;
30
30
  /**
31
- * Konstruktor
32
- * @param displaytext Anzeigetext
33
- * @param date Datum
34
- * @param isenabled Element ist aktiv
35
- * @param isselected Element ist selektiert
36
- * @param iscurrent Element ist aktuelles Element
37
- * @param isnew Element ist neu
31
+ * Constructor
32
+ * @param displaytext Display text
33
+ * @param date Date
34
+ * @param isenabled Element is active
35
+ * @param isselected Element is selected
36
+ * @param iscurrent Element is current
37
+ * @param isnew Element is new
38
38
  */
39
39
  constructor(displaytext: string, date: Date, isenabled: boolean, isselected: boolean, iscurrent: boolean, isnew: boolean);
40
40
  }
41
41
  /**
42
- *Basis Komponente für SacDateSelector
42
+ * Base component for SacDateSelector
43
43
  */
44
44
  export declare class SacDateSelectorCommon implements OnInit {
45
45
  /**
46
- * Ursprüngliches Datum
46
+ * Initial date
47
47
  */
48
48
  private _initialValue;
49
49
  /**
50
- * Aktuell gewähltes Datum
50
+ * Currently selected date
51
51
  */
52
52
  private _selectedValue;
53
53
  /**
54
- * Anfang des Kalenders
54
+ * Beginning of the calendar
55
55
  */
56
56
  private beginOfCalendar;
57
57
  /**
@@ -59,15 +59,15 @@ export declare class SacDateSelectorCommon implements OnInit {
59
59
  */
60
60
  private iconService;
61
61
  /**
62
- * Boolean Property für automatische Selektierung; default Wert - false
62
+ * Boolean property for automatic selection; default value - false
63
63
  */
64
64
  autoapplyselection: boolean;
65
65
  /**
66
- * Array von Daten
66
+ * Array of dates
67
67
  */
68
68
  dates: DateSelectorItem[][];
69
69
  /**
70
- * Datum Selector
70
+ * Date selector
71
71
  */
72
72
  dateselection: boolean;
73
73
  /**
@@ -75,7 +75,7 @@ export declare class SacDateSelectorCommon implements OnInit {
75
75
  */
76
76
  e2eidentifier: string | null;
77
77
  /**
78
- * Monat
78
+ * Month
79
79
  */
80
80
  month: number;
81
81
  /**
@@ -83,17 +83,21 @@ export declare class SacDateSelectorCommon implements OnInit {
83
83
  */
84
84
  name: string;
85
85
  /**
86
- * Output Event beim Datum Selektieren
86
+ * Output event when date is selected
87
87
  */
88
88
  selectdate: EventEmitter<any>;
89
89
  /**
90
- * Time Selector
90
+ * Time selector
91
91
  */
92
92
  timeselection: boolean;
93
93
  /**
94
- * Jahr
94
+ * Year
95
95
  */
96
96
  year: number;
97
+ /**
98
+ * Constructor
99
+ * @param injector Service injector for dependency resolution
100
+ */
97
101
  constructor(injector: Injector);
98
102
  /**
99
103
  * Get icon to switch to next month
@@ -104,66 +108,69 @@ export declare class SacDateSelectorCommon implements OnInit {
104
108
  */
105
109
  get iconMonthPrev(): string;
106
110
  /**
107
- * Input für ursprüngliches Datum
111
+ * Input for initial date
108
112
  */
109
113
  get initialvalue(): Date;
110
114
  set initialvalue(v: Date | null);
111
115
  /**
112
- * Selektierung übernehmen
116
+ * Apply selection
113
117
  */
114
118
  applySelection(): void;
115
119
  /**
116
- * Modus ändern
120
+ * Change mode
117
121
  */
118
122
  changeMode(): void;
119
123
  /**
120
- * Getter für Stunden Uhrzeit
124
+ * Getter for hour of time
121
125
  */
122
126
  getHours(): number;
123
127
  /**
124
- * Getter für Minuten Uhrzeit
128
+ * Getter for minute of time
125
129
  */
126
130
  getMinutes(): number;
127
131
  /**
128
- * Vorheriger Monat
132
+ * Previous month
129
133
  */
130
134
  monthBack(): void;
131
135
  /**
132
- * Nächster Monat
136
+ * Next month
133
137
  */
134
138
  monthNext(): void;
135
139
  /**
136
- * Init Event
140
+ * Init event
137
141
  */
138
142
  ngOnInit(): void;
139
143
  /**
140
- * Selektierung resetten
144
+ * Reset selection
141
145
  */
142
146
  resetSelection(): void;
143
147
  /**
144
- * Methode ergibt das selektierte Datum
148
+ * Method returns the selected date
145
149
  */
146
150
  selectDate(v: DateSelectorItem): void;
147
151
  /**
148
- * Setter für Stunden Uhrzeit
152
+ * Setter for hour of time
149
153
  */
150
154
  setHours(v: number | null): void;
151
155
  /**
152
- * Setter für Minuten Uhrzeit
156
+ * Setter for minute of time
153
157
  */
154
158
  setMinutes(v: number | null): void;
155
159
  /**
156
- * Auswahl auf aktuelle Zeit stellen
160
+ * Set selection to current time
157
161
  */
158
162
  setToday(): void;
159
163
  /**
160
- * Ursprünglicher Kalender
164
+ * Initial calendar
161
165
  */
162
166
  private initCalendar;
163
167
  /**
164
- * Initial Datum
168
+ * Initial date
165
169
  */
166
170
  private initDates;
171
+ /**
172
+ * Initializes the selected date value with initial or current date
173
+ */
167
174
  private initSelectedValue;
168
175
  }
169
176
  export {};