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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/bundles/simpleangularcontrols-sac-common.umd.js +2232 -1604
  2. package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
  3. package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
  4. package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
  5. package/common/basedatetimecontrol.d.ts +100 -14
  6. package/common/baseinputcontrol.d.ts +0 -4
  7. package/common/basemodelcontrol.d.ts +55 -27
  8. package/common/baseuploadcontrol.d.ts +71 -55
  9. package/controls/checkbox/checkbox.d.ts +12 -3
  10. package/controls/checkbox/radiobutton.d.ts +61 -26
  11. package/controls/contextmenu/contextmenu.d.ts +26 -19
  12. package/controls/contextmenu/contextmenu.interface.d.ts +3 -0
  13. package/controls/contextmenu/contextmenuitem.d.ts +5 -0
  14. package/controls/contextmenu/contextmenuitembutton.d.ts +21 -20
  15. package/controls/datetime/date.d.ts +28 -31
  16. package/controls/datetime/datetime.d.ts +27 -31
  17. package/controls/datetime/time.d.ts +26 -30
  18. package/controls/dialog/dialog.d.ts +31 -43
  19. package/controls/grid/grid.d.ts +38 -36
  20. package/controls/grid/gridbutton.d.ts +13 -13
  21. package/controls/grid/gridcolumn.d.ts +8 -8
  22. package/controls/grid/gridcolumnaction.d.ts +3 -3
  23. package/controls/grid/gridcolumnbase.d.ts +45 -37
  24. package/controls/grid/gridimage.d.ts +2 -2
  25. package/controls/grid/model.d.ts +51 -42
  26. package/controls/grid/paging.d.ts +41 -43
  27. package/controls/input/input.d.ts +3 -3
  28. package/controls/input/inputarea.d.ts +5 -5
  29. package/controls/input/inputpassword.d.ts +7 -7
  30. package/controls/input/inputsearch.d.ts +13 -4
  31. package/controls/layout/formlayout.d.ts +17 -1
  32. package/controls/list/buildvaluestring.d.ts +6 -0
  33. package/controls/list/dropdown.d.ts +9 -51
  34. package/controls/list/dropdownoptions.d.ts +38 -0
  35. package/controls/multilanguage/multilanguageinput.d.ts +2 -2
  36. package/controls/multilanguage/multilanguageinputarea.d.ts +4 -4
  37. package/controls/static/formcontainer.d.ts +7 -3
  38. package/controls/tooltip/tooltip.d.ts +76 -69
  39. package/controls/treeview/treeview.d.ts +107 -107
  40. package/esm2015/common/basedatetimecontrol.js +185 -30
  41. package/esm2015/common/baseinputcontrol.js +2 -7
  42. package/esm2015/common/basemodelcontrol.js +109 -57
  43. package/esm2015/common/baseuploadcontrol.js +92 -59
  44. package/esm2015/controls/checkbox/checkbox.js +29 -6
  45. package/esm2015/controls/checkbox/radiobutton.js +94 -45
  46. package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -0
  47. package/esm2015/controls/contextmenu/contextmenu.interface.ngfactory.js +7 -0
  48. package/esm2015/controls/contextmenu/contextmenu.js +22 -23
  49. package/esm2015/controls/contextmenu/contextmenuitem.js +13 -2
  50. package/esm2015/controls/contextmenu/contextmenuitembutton.js +34 -25
  51. package/esm2015/controls/datetime/date.js +44 -43
  52. package/esm2015/controls/datetime/datetime.js +43 -43
  53. package/esm2015/controls/datetime/time.js +43 -43
  54. package/esm2015/controls/dialog/dialog.js +41 -83
  55. package/esm2015/controls/grid/grid.js +21 -21
  56. package/esm2015/controls/grid/gridbutton.js +19 -13
  57. package/esm2015/controls/grid/gridcolumn.js +14 -7
  58. package/esm2015/controls/grid/gridcolumnaction.js +6 -5
  59. package/esm2015/controls/grid/gridcolumnbase.js +67 -55
  60. package/esm2015/controls/grid/gridimage.js +3 -3
  61. package/esm2015/controls/grid/model.js +51 -30
  62. package/esm2015/controls/grid/paging.js +40 -42
  63. package/esm2015/controls/input/input.js +6 -8
  64. package/esm2015/controls/input/inputarea.js +19 -12
  65. package/esm2015/controls/input/inputpassword.js +12 -12
  66. package/esm2015/controls/input/inputsearch.js +35 -6
  67. package/esm2015/controls/layout/formlayout.js +20 -8
  68. package/esm2015/controls/list/buildvaluestring.js +18 -0
  69. package/esm2015/controls/{treeview/ngtreeitemaction.ngfactory.js → list/buildvaluestring.ngfactory.js} +1 -1
  70. package/esm2015/controls/list/dropdown.js +16 -114
  71. package/esm2015/controls/list/dropdownoptions.js +72 -0
  72. package/esm2015/controls/{treeview/treeviewchild.ngfactory.js → list/dropdownoptions.ngfactory.js} +1 -1
  73. package/esm2015/controls/multilanguage/multilanguageinput.js +8 -14
  74. package/esm2015/controls/multilanguage/multilanguageinputarea.js +9 -15
  75. package/esm2015/controls/static/formcontainer.js +16 -5
  76. package/esm2015/controls/tooltip/tooltip.js +126 -245
  77. package/esm2015/controls/treeview/treeview.js +276 -231
  78. package/esm2015/interfaces/ISacConfigurationService.js +1 -1
  79. package/esm2015/interfaces/ISacIconService.js +1 -1
  80. package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -0
  81. package/esm2015/interfaces/ISacUploadEventCompleteState.ngfactory.js +7 -0
  82. package/esm2015/interfaces/ISacValidationKeyService.js +1 -1
  83. package/esm2015/interfaces/treeviewaction.interface.js +1 -0
  84. package/esm2015/interfaces/treeviewaction.interface.ngfactory.js +7 -0
  85. package/esm2015/public_api.js +15 -8
  86. package/esm2015/services/sac-configuration.service.js +31 -5
  87. package/esm2015/services/sac-icon.service.js +37 -1
  88. package/esm2015/services/sac-localisation.service.js +69 -180
  89. package/esm2015/services/sac-validationkey.service.js +12 -9
  90. package/esm2015/simpleangularcontrols-sac-common.js +1 -7
  91. package/esm2015/utilities/enums.js +5 -1
  92. package/esm2015/utilities/guid.js +4 -2
  93. package/esm2015/utilities/popuphelper.js +343 -0
  94. package/esm2015/utilities/popuphelper.ngfactory.js +7 -0
  95. package/esm2015/validation/equals.validator.js +14 -0
  96. package/esm2015/validation/equals.validator.ngfactory.js +7 -0
  97. package/esm2015/validation/isDateValid.js +9 -1
  98. package/esm2015/validation/mintextlength.validator.js +23 -0
  99. package/esm2015/validation/mintextlength.validator.ngfactory.js +7 -0
  100. package/esm2015/validation/notequals.validator.js +14 -0
  101. package/esm2015/validation/{minlength.validator.ngfactory.js → notequals.validator.ngfactory.js} +1 -1
  102. package/esm2015/validation/validation.class.js +35 -6
  103. package/fesm2015/simpleangularcontrols-sac-common.js +2070 -1498
  104. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
  105. package/interfaces/ISacConfigurationService.d.ts +20 -0
  106. package/interfaces/ISacIconService.d.ts +24 -0
  107. package/interfaces/ISacUploadEventCompleteState.d.ts +5 -0
  108. package/interfaces/ISacUploadEventCompleteState.ngfactory.d.ts +1 -0
  109. package/interfaces/ISacValidationKeyService.d.ts +2 -2
  110. package/interfaces/treeviewaction.interface.d.ts +4 -0
  111. package/interfaces/treeviewaction.interface.ngfactory.d.ts +1 -0
  112. package/package.json +2 -2
  113. package/public_api.d.ts +13 -6
  114. package/services/sac-configuration.service.d.ts +40 -0
  115. package/services/sac-icon.service.d.ts +49 -1
  116. package/services/sac-localisation.service.d.ts +10 -10
  117. package/services/sac-validationkey.service.d.ts +7 -7
  118. package/simpleangularcontrols-sac-common-10.0.0-rc.21.tgz +0 -0
  119. package/simpleangularcontrols-sac-common.d.ts +0 -6
  120. package/simpleangularcontrols-sac-common.metadata.json +1 -1
  121. package/utilities/enums.d.ts +3 -1
  122. package/utilities/popuphelper.d.ts +83 -0
  123. package/utilities/popuphelper.ngfactory.d.ts +1 -0
  124. package/validation/equals.validator.d.ts +2 -0
  125. package/validation/equals.validator.ngfactory.d.ts +1 -0
  126. package/validation/mintextlength.validator.d.ts +2 -0
  127. package/validation/mintextlength.validator.ngfactory.d.ts +1 -0
  128. package/validation/notequals.validator.d.ts +2 -0
  129. package/validation/notequals.validator.ngfactory.d.ts +1 -0
  130. package/validation/validation.class.d.ts +22 -3
  131. package/controls/treeview/ngtreeitemaction.d.ts +0 -40
  132. package/controls/treeview/treeviewchild.d.ts +0 -12
  133. package/esm2015/controls/treeview/ngtreeitemaction.js +0 -60
  134. package/esm2015/controls/treeview/treeviewchild.js +0 -18
  135. package/esm2015/validation/minlength.validator.js +0 -21
  136. package/simpleangularcontrols-sac-common-10.0.0-rc.2.tgz +0 -0
  137. package/validation/minlength.validator.d.ts +0 -2
  138. /package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → contextmenu/contextmenu.interface.ngfactory.d.ts} +0 -0
  139. /package/controls/{treeview/treeviewchild.ngfactory.d.ts → list/buildvaluestring.ngfactory.d.ts} +0 -0
  140. /package/{validation/minlength.validator.ngfactory.d.ts → controls/list/dropdownoptions.ngfactory.d.ts} +0 -0
@@ -6,5 +6,7 @@ export declare enum TooltipPosition {
6
6
  top = 1,
7
7
  right = 2,
8
8
  bottom = 4,
9
- left = 8
9
+ left = 8,
10
+ topend = 16,
11
+ bottomend = 32
10
12
  }
@@ -0,0 +1,83 @@
1
+ import { TooltipPosition } from './enums';
2
+ import { ElementRef } from '@angular/core';
3
+ export declare class PopUpHelper {
4
+ getContainerHeight(referenceContainer: ElementRef<HTMLElement>, referenceIsContainer: boolean): number;
5
+ getContainerWidth(referenceContainer: ElementRef<HTMLElement>, referenceIsContainer: boolean): number;
6
+ /**
7
+ * Get Position who the popup would be positioned
8
+ *
9
+ * @param referenceContainer Element Reference to HTML Element which is the reference to positioning the popup
10
+ * @param popupcontentcontainer Element Reference to container of popup
11
+ * @param popupOffset Offset for popup positioning
12
+ * @param allowedPositions Allowed Positions for the popup
13
+ * @returns Returns the position where the popup should be displayed
14
+ */
15
+ getDisplayPosition(referenceContainer: ElementRef<HTMLElement>, popupcontentcontainer: ElementRef<HTMLElement>, arrowWidth: number, arrowHeight: number, allowedPositions: string, referenceIsContainer: boolean): TooltipPosition;
16
+ /**
17
+ * Calculates the height of the popup
18
+ *
19
+ * @param container Element Reference to container of popup
20
+ */
21
+ getPopupHeight(container: ElementRef<HTMLElement>): number;
22
+ /**
23
+ * Calculates the width of the popup
24
+ *
25
+ * @param container Element Reference to container of popup
26
+ */
27
+ getPopupWidth(container: ElementRef<HTMLElement>): number;
28
+ /**
29
+ * Returns the defined position for the tooltip
30
+ *
31
+ * @param allowedPositions Allowed positions defined in markup for popup
32
+ */
33
+ getPosition(allowedPositions: string): TooltipPosition;
34
+ /**
35
+ * Calculates the position of the tooltip from links
36
+ *
37
+ * @param controlReference Element Reference to angular component
38
+ * @param popupContainer Element Reference to container of popup
39
+ * @param referenceContainer Element Reference to HTML Element which is the reference to positioning the popup
40
+ * @param popupOffset Offset for popup positioning
41
+ * @param requestedPosition Requested Position by Control
42
+ */
43
+ getPositionLeft(referenceContainer: ElementRef<HTMLElement>, popupContainer: ElementRef<HTMLElement>, controlReference: ElementRef, arrowWidth: number, arrowHeight: number, requestedPosition: string, referenceIsContainer: boolean): number;
44
+ /**
45
+ * Calculates the position of the tooltip from the top
46
+ *
47
+ * @param controlReference Element Reference to angular component
48
+ * @param popupContainer Element Reference to container of popup
49
+ * @param referenceContainer Element Reference to HTML Element which is the reference to positioning the popup
50
+ * @param popupOffset Offset for popup positioning
51
+ * @param requestedPosition Requested Position by Control
52
+ */
53
+ getPositionTop(referenceContainer: ElementRef<HTMLElement>, popupContainer: ElementRef<HTMLElement>, controlReference: ElementRef, arrowWidth: number, arrowHeight: number, requestedPosition: string, referenceIsContainer: boolean): number;
54
+ /**
55
+ * Returns whether the position has been configured
56
+ *
57
+ * @param allowedPositions Positions that allowed by control
58
+ * @param requestedPosition Position to be checked
59
+ */
60
+ hasPosition(allowedPositions: string, requestedPosition: TooltipPosition): boolean;
61
+ /**
62
+ * Defines whether AutoPosition is active
63
+ * @param positionProperty List of allowed positions
64
+ */
65
+ isAutoPosition(positionProperty: string): boolean;
66
+ /**
67
+ * Checks whether the position is valid or whether the tooltip on the position has space
68
+ */
69
+ validatePositions(referenceContainer: ElementRef<HTMLElement>, popupcontentcontainer: ElementRef<HTMLElement>, arrowWidth: number, arrowHeight: number, referenceIsContainer: boolean): TooltipPosition;
70
+ /**
71
+ * Calculates the top of the page inside all elements
72
+ * @param element HTML Element
73
+ * @returns summarized top value for absolute position
74
+ */
75
+ private getOffsetTopParent;
76
+ /**
77
+ * Caclulate Scrollbars inside tree
78
+ * @param element HTML Element
79
+ * @param [isFixed=false] Invert Scroll Position value when style is fixed to preserve negative values
80
+ * @returns Scroll top value of element with all childs
81
+ */
82
+ private getScrollTopParent;
83
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare function equalsValueValidator(requiredvalue: any, validationMessage: string, validationMessageSummary: string): ValidatorFn;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare function minTextLengthValidator(mintextlength: number, validationMessage: string, validationMessageSummary: string): ValidatorFn;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare function notEqualsValueValidator(invalidValue: any, validationMessage: string, validationMessageSummary: string): ValidatorFn;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
- import { ValidatorFn } from '@angular/forms';
2
1
  import { LanguageModel } from '../models/languagemodel';
2
+ import { ValidatorFn } from '@angular/forms';
3
3
  /**
4
4
  * Klasse mit Standard Validatoren
5
5
  */
@@ -21,6 +21,16 @@ export declare class Validation {
21
21
  * @param validationMessageSummary Validierungsmeldung die im Validation Summary angezeigt wird
22
22
  */
23
23
  static email(validationMessage: string, validationMessageSummary: any): ValidatorFn;
24
+ /**
25
+ * Validator validate if value is the requiredValue
26
+ * @param requiredValue Value that control should have
27
+ * @param control Control to be validate
28
+ * @param fieldName Label of control
29
+ * @param validationMessage validation message near the control
30
+ * @param validationMessageSummary validation inside the validation summary
31
+
32
+ */
33
+ static equals(requiredValue: any, validationMessage: string, validationMessageSummary: any): ValidatorFn;
24
34
  /**
25
35
  * Validator der prüft ob der Wert ein Datum ist.
26
36
  * @param control Control mit IDateTimeControl Interface implementierung
@@ -77,12 +87,12 @@ export declare class Validation {
77
87
  /**
78
88
  * Validiert auf die Länge des Wertes im Control
79
89
  * @param control Control das Validiert werden soll
80
- * @param minlength Min. Länge des Wertes
90
+ * @param mintextlength Min. Länge des Wertes
81
91
  * @param fieldName Label des Controls
82
92
  * @param validationMessage Validierungsmeldung die
83
93
  * @param validationMessageSummary Validierungsmeldung die im Validation Summary angezeigt wird
84
94
  */
85
- static minLength(minlength: number, validationMessage: string, validationMessageSummary: any): ValidatorFn;
95
+ static minTextLength(minlength: number, validationMessage: string, validationMessageSummary: any): ValidatorFn;
86
96
  /**
87
97
  * Validiert ob die Zeit später als minTime ist.
88
98
  * @param control Control das Validiert werden soll. Muss IDateTimeControl implementiert haben
@@ -119,6 +129,15 @@ export declare class Validation {
119
129
  * @param validationMessageSummary Validierungsmeldung die im Validation Summary angezeigt wird
120
130
  */
121
131
  static multilanguageRequiredAny(languages: LanguageModel[], validationMessage: string, validationMessageSummary: any): ValidatorFn;
132
+ /**
133
+ * Validator validate if value is not the invalidValue
134
+ * @param invalidValue Value that control doesn't should have
135
+ * @param control Control to be validate
136
+ * @param fieldName Label of control
137
+ * @param validationMessage validation message near the control
138
+ * @param validationMessageSummary validation inside the validation summary
139
+ */
140
+ static notequals(invalidValue: any, validationMessage: string, validationMessageSummary: any): ValidatorFn;
122
141
  /**
123
142
  * Validierung mit einem RegEx Pattern
124
143
  * @param control Control das validiert werden soll.
@@ -1,40 +0,0 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- /**
3
- *Basis Komponente für SacTreeItemAction
4
- */
5
- export declare class SacTreeItemActionCommon implements OnInit {
6
- private el;
7
- /**
8
- * Konstruktor
9
- * @param el Element Referenz
10
- */
11
- constructor(el: ElementRef);
12
- /**
13
- * lifecycle OnInit hook. Wird aufgeruren sobald das Komponent initialisiert ist.
14
- */
15
- ngOnInit(): void;
16
- /**
17
- *Input Property. Akzeptiert das Wert des Object.
18
- */
19
- item: any;
20
- /**
21
- * Input Property für Title des TreeItemAction
22
- */
23
- title: string;
24
- /**
25
- * Input Property für Styling des Icon. Deffiniert die Css Klassen des Icon
26
- */
27
- iconstyle: string;
28
- /**
29
- * Event wenn auf das Icon geclickt wird
30
- */
31
- clicked: EventEmitter<any>;
32
- /**
33
- * Die Methode erstellt die CSS Klasse des Icon. Akzeptiert ein Key-word und baut ein vollständige CSS Klasse.
34
- */
35
- transformClass(initialClass: any): any;
36
- /**
37
- * Die Methode wird das cklickaction Emitter aktivieren.
38
- */
39
- iconaction(): void;
40
- }
@@ -1,12 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { SacTreeViewCommon } from './treeview';
3
- /**
4
- * Komponente für SacTreeViewChildCommon. Extends SacTreeViewCommon
5
- */
6
- export declare class SacTreeViewChildCommon extends SacTreeViewCommon implements OnInit {
7
- /**
8
- * A lifecycle hook that is called after Angular has initialized all data-bound properties of a directive.
9
- * Define an ngOnInit() method to handle any additional initialization tasks.
10
- */
11
- ngOnInit(): void;
12
- }
@@ -1,60 +0,0 @@
1
- import { Directive, ElementRef, EventEmitter, Input, Output, } from '@angular/core';
2
- /**
3
- *Basis Komponente für SacTreeItemAction
4
- */
5
- export class SacTreeItemActionCommon {
6
- /**
7
- * Konstruktor
8
- * @param el Element Referenz
9
- */
10
- constructor(el) {
11
- this.el = el;
12
- /**
13
- * Event wenn auf das Icon geclickt wird
14
- */
15
- this.clicked = new EventEmitter();
16
- }
17
- /**
18
- * lifecycle OnInit hook. Wird aufgeruren sobald das Komponent initialisiert ist.
19
- */
20
- ngOnInit() {
21
- let rootElement = this.el.nativeElement;
22
- let parentElement = rootElement.parentElement;
23
- while (rootElement.firstChild) {
24
- parentElement.insertBefore(rootElement.firstChild, rootElement);
25
- }
26
- parentElement.removeChild(rootElement);
27
- }
28
- /**
29
- * Die Methode erstellt die CSS Klasse des Icon. Akzeptiert ein Key-word und baut ein vollständige CSS Klasse.
30
- */
31
- transformClass(initialClass) {
32
- switch (initialClass) {
33
- case 'add':
34
- return 'jstree-icon icon icon-base-add jstree-add';
35
- case 'delete':
36
- return 'jstree-icon icon icon-base-delete jstree-delete';
37
- default:
38
- return initialClass;
39
- }
40
- }
41
- /**
42
- * Die Methode wird das cklickaction Emitter aktivieren.
43
- */
44
- iconaction() {
45
- this.clicked.emit();
46
- }
47
- }
48
- SacTreeItemActionCommon.decorators = [
49
- { type: Directive }
50
- ];
51
- SacTreeItemActionCommon.ctorParameters = () => [
52
- { type: ElementRef }
53
- ];
54
- SacTreeItemActionCommon.propDecorators = {
55
- item: [{ type: Input }],
56
- title: [{ type: Input }],
57
- iconstyle: [{ type: Input }],
58
- clicked: [{ type: Output }]
59
- };
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0cmVlaXRlbWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiJDOi9Qcm9qZWt0ZS9zaW1wbGVhbmd1bGFyY29udHJvbHMtbmcxMC9jaC5qbmV0d29yay5zYWMtY29udHJvbHMvcHJvamVjdHMvc2FjLWNvbW1vbi9zcmMvIiwic291cmNlcyI6WyJjb250cm9scy90cmVldmlldy9uZ3RyZWVpdGVtYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUNWLFlBQVksRUFDWixLQUFLLEVBRUwsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBRXZCOztHQUVHO0FBRUgsTUFBTSxPQUFPLHVCQUF1QjtJQUNsQzs7O09BR0c7SUFDSCxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQStCbEM7O1dBRUc7UUFFSCxZQUFPLEdBQXNCLElBQUksWUFBWSxFQUFPLENBQUM7SUFuQ2hCLENBQUM7SUFFdEM7O09BRUc7SUFDSCxRQUFRO1FBQ04sSUFBSSxXQUFXLEdBQWdCLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxDQUFDO1FBQ3JELElBQUksYUFBY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ljb25cclxuICAgKi9cclxuICBASW5wdXQoKSBpY29uc3R5bGU6IHN0cmluZztcclxuXHJcbiAgLyoqXHJcbiAgICogRXZlbnQgd2VubiBhdWYgZGFzIEljb24gZ2VjbGlja3Qgd2lyZFxyXG4gICAqL1xyXG4gIEBPdXRwdXQoKVxyXG4gIGNsaWNrZWQ6IEV2ZW50RW1pdHRlcjxhbnk+ID0gbmV3IEV2ZW50RW1pdHRlcjxhbnk+KCk7XHJcblxyXG4gIC8qKlxyXG4gICAqIERpZSBNZXRob2RlIGVyc3RlbGx0IGRpZSBDU1MgS2xhc3NlIGRlcyBJY29uLiBBa3plcHRpZXJ0IGVpbiBLZXktd29yZCB1bmQgYmF1dCBlaW4gdm9sbHN0w6RuZGlnZSBDU1MgS2xhc3NlLlxyXG4gICAqL1xyXG4gIHRyYW5zZm9ybUNsYXNzKGluaXRpYWxDbGFzcykge1xyXG4gICAgc3dpdGNoIChpbml0aWFsQ2xhc3MpIHtcclxuICAgICAgY2FzZSAnYWRkJzpcclxuICAgICAgICByZXR1cm4gJ2pzdHJlZS1pY29uIGljb24gaWNvbi1iYXNlLWFkZCBqc3RyZWUtYWRkJztcclxuICAgICAgY2FzZSAnZGVsZXRlJzpcclxuICAgICAgICByZXR1cm4gJ2pzdHJlZS1pY29uIGljb24gaWNvbi1iYXNlLWRlbGV0ZSBqc3RyZWUtZGVsZXRlJztcclxuICAgICAgZGVmYXVsdDpcclxuICAgICAgICByZXR1cm4gaW5pdGlhbENsYXNzO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLyoqXHJcbiAgICogRGllIE1ldGhvZGUgd2lyZCBkYXMgY2tsaWNrYWN0aW9uIEVtaXR0ZXIgYWt0aXZpZXJlbi5cclxuICAgKi9cclxuICBpY29uYWN0aW9uKCkge1xyXG4gICAgdGhpcy5jbGlja2VkLmVtaXQoKTtcclxuICB9XHJcbn1cclxuIl19
@@ -1,18 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { SacTreeViewCommon } from './treeview';
3
- /**
4
- * Komponente für SacTreeViewChildCommon. Extends SacTreeViewCommon
5
- */
6
- export class SacTreeViewChildCommon extends SacTreeViewCommon {
7
- /**
8
- * A lifecycle hook that is called after Angular has initialized all data-bound properties of a directive.
9
- * Define an ngOnInit() method to handle any additional initialization tasks.
10
- */
11
- ngOnInit() {
12
- this.collapseAllNode(this.collapseall);
13
- }
14
- }
15
- SacTreeViewChildCommon.decorators = [
16
- { type: Directive }
17
- ];
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZXZpZXdjaGlsZC5qcyIsInNvdXJjZVJvb3QiOiJDOi9Qcm9qZWt0ZS9zaW1wbGVhbmd1bGFyY29udHJvbHMtbmcxMC9jaC5qbmV0d29yay5zYWMtY29udHJvbHMvcHJvamVjdHMvc2FjLWNvbW1vbi9zcmMvIiwic291cmNlcyI6WyJjb250cm9scy90cmVldmlldy90cmVldmlld2NoaWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sWUFBWSxDQUFDO0FBRS9DOztHQUVHO0FBRUgsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGlCQUFpQjtJQUMzRDs7O09BR0c7SUFDSCxRQUFRO1FBQ04sSUFBSSxDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUE7SUFDeEMsQ0FBQzs7O1lBUkYsU0FBUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFNhY1RyZWVWaWV3Q29tbW9uIH0gZnJvbSAnLi90cmVldmlldyc7XHJcblxyXG4vKipcclxuICogS29tcG9uZW50ZSBmw7xyIFNhY1RyZWVWaWV3Q2hpbGRDb21tb24uIEV4dGVuZHMgU2FjVHJlZVZpZXdDb21tb24gXHJcbiAqL1xyXG5ARGlyZWN0aXZlKClcclxuZXhwb3J0IGNsYXNzIFNhY1RyZWVWaWV3Q2hpbGRDb21tb24gZXh0ZW5kcyBTYWNUcmVlVmlld0NvbW1vbiBpbXBsZW1lbnRzIE9uSW5pdCB7XHJcbiAgLyoqXHJcbiAgICogQSBsaWZlY3ljbGUgaG9vayB0aGF0IGlzIGNhbGxlZCBhZnRlciBBbmd1bGFyIGhhcyBpbml0aWFsaXplZCBhbGwgZGF0YS1ib3VuZCBwcm9wZXJ0aWVzIG9mIGEgZGlyZWN0aXZlLiBcclxuICAgKiBEZWZpbmUgYW4gbmdPbkluaXQoKSBtZXRob2QgdG8gaGFuZGxlIGFueSBhZGRpdGlvbmFsIGluaXRpYWxpemF0aW9uIHRhc2tzLlxyXG4gICAqL1xyXG4gIG5nT25Jbml0KCl7ICAgIFxyXG4gICAgdGhpcy5jb2xsYXBzZUFsbE5vZGUodGhpcy5jb2xsYXBzZWFsbClcclxuICB9XHJcbn1cclxuXHJcblxyXG4iXX0=
@@ -1,21 +0,0 @@
1
- import { Validators, } from '@angular/forms';
2
- import { CreateValidationError } from './validationerrorcreator';
3
- export function minLengthValidator(minlength, validationMessage, validationMessageSummary) {
4
- return (control) => {
5
- const validator = Validators.minLength(minlength);
6
- if (minlength !== null &&
7
- minlength !== undefined &&
8
- control.value !== '' &&
9
- control.value !== undefined &&
10
- control.value != null &&
11
- validator(control) != null) {
12
- const parameters = new Map();
13
- parameters.set('MINLENGTH', minlength);
14
- return CreateValidationError('minlength', validationMessage, validationMessageSummary, parameters);
15
- }
16
- else {
17
- return null;
18
- }
19
- };
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlubGVuZ3RoLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiJDOi9Qcm9qZWt0ZS9zaW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1xyXG4gICAgICBwYXJhbWV0ZXJzLnNldCgnTUlOTEVOR1RIJywgbWlubGVuZ3RoKTtcclxuXHJcbiAgICAgIHJldHVybiBDcmVhdGVWYWxpZGF0aW9uRXJyb3IoXHJcbiAgICAgICAgJ21pbmxlbmd0aCcsXHJcbiAgICAgICAgdmFsaWRhdGlvbk1lc3NhZ2UsXHJcbiAgICAgICAgdmFsaWRhdGlvbk1lc3NhZ2VTdW1tYXJ5LFxyXG4gICAgICAgIHBhcmFtZXRlcnNcclxuICAgICAgKTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHJldHVybiBudWxsO1xyXG4gICAgfVxyXG4gIH07XHJcbn1cclxuIl19
@@ -1,2 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- export declare function minLengthValidator(minlength: number, validationMessage: string, validationMessageSummary: string): ValidatorFn;