cmat 0.0.29 → 0.0.31

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 (164) hide show
  1. package/components/adapter/index.d.ts +8 -9
  2. package/components/breadcrumb/index.d.ts +2 -4
  3. package/components/carousel/index.d.ts +3 -5
  4. package/components/cascade/index.d.ts +6 -7
  5. package/components/chip-input/index.d.ts +2 -2
  6. package/components/custom-formly/index.d.ts +41 -49
  7. package/components/date-range/index.d.ts +5 -6
  8. package/components/drawer/index.d.ts +30 -34
  9. package/components/fullscreen/index.d.ts +1 -2
  10. package/components/highlight/index.d.ts +12 -14
  11. package/components/image-viewer/index.d.ts +4 -5
  12. package/components/json-editor/index.d.ts +2 -3
  13. package/components/knob-input/index.d.ts +8 -8
  14. package/components/material-color-picker/index.d.ts +3 -3
  15. package/components/material-datetimepicker/index.d.ts +89 -93
  16. package/components/navigation/index.d.ts +82 -88
  17. package/components/opt-input/index.d.ts +6 -6
  18. package/components/pagination/index.d.ts +6 -9
  19. package/components/popover/index.d.ts +13 -16
  20. package/components/progress-bar/index.d.ts +3 -5
  21. package/components/rating/index.d.ts +5 -5
  22. package/components/select-search/index.d.ts +16 -17
  23. package/components/select-table/index.d.ts +6 -6
  24. package/components/select-tree/index.d.ts +7 -6
  25. package/components/speed-dial/index.d.ts +2 -3
  26. package/components/timeline/index.d.ts +2 -3
  27. package/components/toast/index.d.ts +14 -16
  28. package/components/transfer-picker/index.d.ts +43 -44
  29. package/components/treetable/index.d.ts +2 -3
  30. package/components/upload/index.d.ts +24 -27
  31. package/directives/animate-on-scroll/index.d.ts +4 -19
  32. package/directives/arrow-cursor/index.d.ts +2 -4
  33. package/directives/autofocus/index.d.ts +2 -2
  34. package/directives/data-exporter/index.d.ts +2 -15
  35. package/directives/digit-only/index.d.ts +4 -4
  36. package/directives/equal-validator/index.d.ts +1 -2
  37. package/fesm2022/cmat-components-adapter.mjs +22 -39
  38. package/fesm2022/cmat-components-adapter.mjs.map +1 -1
  39. package/fesm2022/cmat-components-breadcrumb.mjs +19 -21
  40. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
  41. package/fesm2022/cmat-components-card.mjs +3 -3
  42. package/fesm2022/cmat-components-carousel.mjs +112 -127
  43. package/fesm2022/cmat-components-carousel.mjs.map +1 -1
  44. package/fesm2022/cmat-components-cascade.mjs +61 -73
  45. package/fesm2022/cmat-components-cascade.mjs.map +1 -1
  46. package/fesm2022/cmat-components-chip-input.mjs +14 -18
  47. package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
  48. package/fesm2022/cmat-components-custom-formly.mjs +167 -169
  49. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  50. package/fesm2022/cmat-components-date-range.mjs +17 -17
  51. package/fesm2022/cmat-components-date-range.mjs.map +1 -1
  52. package/fesm2022/cmat-components-drawer.mjs +17 -19
  53. package/fesm2022/cmat-components-drawer.mjs.map +1 -1
  54. package/fesm2022/cmat-components-fullscreen.mjs +7 -10
  55. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
  56. package/fesm2022/cmat-components-highlight.mjs +14 -14
  57. package/fesm2022/cmat-components-highlight.mjs.map +1 -1
  58. package/fesm2022/cmat-components-image-viewer.mjs +9 -12
  59. package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
  60. package/fesm2022/cmat-components-json-editor.mjs +7 -7
  61. package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
  62. package/fesm2022/cmat-components-knob-input.mjs +12 -19
  63. package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
  64. package/fesm2022/cmat-components-masonry.mjs +3 -3
  65. package/fesm2022/cmat-components-material-color-picker.mjs +8 -7
  66. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  67. package/fesm2022/cmat-components-material-datetimepicker.mjs +166 -216
  68. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  69. package/fesm2022/cmat-components-navigation.mjs +108 -112
  70. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  71. package/fesm2022/cmat-components-opt-input.mjs +13 -20
  72. package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
  73. package/fesm2022/cmat-components-org-chart.mjs +9 -9
  74. package/fesm2022/cmat-components-pagination.mjs +32 -34
  75. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  76. package/fesm2022/cmat-components-password-strength.mjs +9 -9
  77. package/fesm2022/cmat-components-popover.mjs +27 -32
  78. package/fesm2022/cmat-components-popover.mjs.map +1 -1
  79. package/fesm2022/cmat-components-progress-bar.mjs +10 -10
  80. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  81. package/fesm2022/cmat-components-rating.mjs +10 -14
  82. package/fesm2022/cmat-components-rating.mjs.map +1 -1
  83. package/fesm2022/cmat-components-select-search.mjs +30 -53
  84. package/fesm2022/cmat-components-select-search.mjs.map +1 -1
  85. package/fesm2022/cmat-components-select-table.mjs +28 -33
  86. package/fesm2022/cmat-components-select-table.mjs.map +1 -1
  87. package/fesm2022/cmat-components-select-tree.mjs +55 -61
  88. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  89. package/fesm2022/cmat-components-speed-dial.mjs +13 -13
  90. package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
  91. package/fesm2022/cmat-components-timeline.mjs +18 -20
  92. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  93. package/fesm2022/cmat-components-toast.mjs +16 -16
  94. package/fesm2022/cmat-components-toast.mjs.map +1 -1
  95. package/fesm2022/cmat-components-transfer-picker.mjs +47 -47
  96. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  97. package/fesm2022/cmat-components-treetable.mjs +11 -12
  98. package/fesm2022/cmat-components-treetable.mjs.map +1 -1
  99. package/fesm2022/cmat-components-upload.mjs +40 -33
  100. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  101. package/fesm2022/cmat-directives-animate-on-scroll.mjs +13 -14
  102. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
  103. package/fesm2022/cmat-directives-arrow-cursor.mjs +11 -14
  104. package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
  105. package/fesm2022/cmat-directives-autofocus.mjs +8 -9
  106. package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
  107. package/fesm2022/cmat-directives-data-exporter.mjs +28 -28
  108. package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
  109. package/fesm2022/cmat-directives-debounce.mjs +11 -13
  110. package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
  111. package/fesm2022/cmat-directives-digit-only.mjs +17 -17
  112. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
  113. package/fesm2022/cmat-directives-equal-validator.mjs +9 -16
  114. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
  115. package/fesm2022/cmat-lib-mock-api.mjs +11 -14
  116. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
  117. package/fesm2022/cmat-pipes-bytes.mjs +4 -5
  118. package/fesm2022/cmat-pipes-bytes.mjs.map +1 -1
  119. package/fesm2022/cmat-pipes-date-format.mjs +4 -5
  120. package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
  121. package/fesm2022/cmat-pipes-find-by-key.mjs +4 -5
  122. package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
  123. package/fesm2022/cmat-pipes-group-by.mjs +4 -5
  124. package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
  125. package/fesm2022/cmat-pipes-keys.mjs +4 -5
  126. package/fesm2022/cmat-pipes-keys.mjs.map +1 -1
  127. package/fesm2022/cmat-pipes-secure.mjs +13 -14
  128. package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
  129. package/fesm2022/cmat-pipes-uppercase.mjs +4 -5
  130. package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -1
  131. package/fesm2022/cmat-services-alert.mjs +3 -3
  132. package/fesm2022/cmat-services-config.mjs +10 -12
  133. package/fesm2022/cmat-services-config.mjs.map +1 -1
  134. package/fesm2022/cmat-services-confirmation.mjs +17 -20
  135. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  136. package/fesm2022/cmat-services-data.mjs +10 -11
  137. package/fesm2022/cmat-services-data.mjs.map +1 -1
  138. package/fesm2022/cmat-services-export-as.mjs +3 -3
  139. package/fesm2022/cmat-services-loading.mjs +14 -14
  140. package/fesm2022/cmat-services-loading.mjs.map +1 -1
  141. package/fesm2022/cmat-services-local-storage.mjs +3 -3
  142. package/fesm2022/cmat-services-media-watcher.mjs +10 -10
  143. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
  144. package/fesm2022/cmat-services-platform.mjs +8 -8
  145. package/fesm2022/cmat-services-platform.mjs.map +1 -1
  146. package/fesm2022/cmat-services-splash-screen.mjs +9 -13
  147. package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
  148. package/fesm2022/cmat-services-title.mjs +10 -11
  149. package/fesm2022/cmat-services-title.mjs.map +1 -1
  150. package/fesm2022/cmat-services-translation.mjs +8 -8
  151. package/fesm2022/cmat-services-translation.mjs.map +1 -1
  152. package/fesm2022/cmat-services-utils.mjs +3 -3
  153. package/lib/mock-api/index.d.ts +0 -1
  154. package/package.json +17 -17
  155. package/pipes/secure/index.d.ts +2 -4
  156. package/services/config/index.d.ts +1 -1
  157. package/services/confirmation/index.d.ts +2 -4
  158. package/services/data/index.d.ts +1 -3
  159. package/services/loading/index.d.ts +3 -4
  160. package/services/media-watcher/index.d.ts +2 -3
  161. package/services/platform/index.d.ts +2 -3
  162. package/services/splash-screen/index.d.ts +1 -2
  163. package/services/title/index.d.ts +3 -5
  164. package/services/translation/index.d.ts +1 -2
@@ -1,11 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnChanges, OnInit, OnDestroy, ChangeDetectorRef, SimpleChanges, AfterViewInit, EventEmitter, ElementRef, Renderer2 } from '@angular/core';
2
+ import { OnChanges, OnInit, OnDestroy, SimpleChanges, AfterViewInit, EventEmitter } from '@angular/core';
3
3
  import { ReplaySubject } from 'rxjs';
4
- import { CmatUtilsService } from 'cmat/services/utils';
5
- import { IsActiveMatchOptions, Router } from '@angular/router';
6
- import { AnimationBuilder } from '@angular/animations';
4
+ import { IsActiveMatchOptions } from '@angular/router';
7
5
  import { BooleanInput } from '@angular/cdk/coercion';
8
- import { ScrollStrategyOptions } from '@angular/cdk/overlay';
9
6
 
10
7
  declare class CmatNavigationItem {
11
8
  id?: string;
@@ -41,85 +38,13 @@ type CmatVerticalNavigationAppearance = 'default' | 'compact' | 'dense' | 'thin'
41
38
  type CmatVerticalNavigationMode = 'over' | 'side';
42
39
  type CmatVerticalNavigationPosition = 'left' | 'right';
43
40
 
44
- declare class CmatNavigationService {
45
- private _componentRegistry;
46
- private _navigationStore;
47
- /**
48
- * Register navigation component
49
- *
50
- * @param name
51
- * @param component
52
- */
53
- registerComponent(name: string, component: any): void;
54
- /**
55
- * Deregister navigation component
56
- *
57
- * @param name
58
- */
59
- deregisterComponent(name: string): void;
60
- /**
61
- * Get navigation component from the registry
62
- *
63
- * @param name
64
- */
65
- getComponent<T>(name: string): T;
66
- /**
67
- * Store the given navigation with the given key
68
- *
69
- * @param key
70
- * @param navigation
71
- */
72
- storeNavigation(key: string, navigation: CmatNavigationItem[]): void;
73
- /**
74
- * Get navigation from storage by key
75
- *
76
- * @param key
77
- */
78
- getNavigation(key: string): CmatNavigationItem[];
79
- /**
80
- * Delete the navigation from the storage
81
- *
82
- * @param key
83
- */
84
- deleteNavigation(key: string): void;
85
- /**
86
- * Utility function that returns a flattened
87
- * version of the given navigation array
88
- *
89
- * @param navigation
90
- * @param flatNavigation
91
- */
92
- getFlatNavigation(navigation: CmatNavigationItem[], flatNavigation?: CmatNavigationItem[]): CmatNavigationItem[];
93
- /**
94
- * Utility function that returns the item
95
- * with the given id from given navigation
96
- *
97
- * @param id
98
- * @param navigation
99
- */
100
- getItem(id: string, navigation: CmatNavigationItem[]): CmatNavigationItem | null;
101
- /**
102
- * Utility function that returns the item's parent
103
- * with the given id from given navigation
104
- *
105
- * @param id
106
- * @param navigation
107
- * @param parent
108
- */
109
- getItemParent(id: string, navigation: CmatNavigationItem[], parent: CmatNavigationItem[] | CmatNavigationItem): CmatNavigationItem[] | CmatNavigationItem | null;
110
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatNavigationService, never>;
111
- static ɵprov: i0.ɵɵInjectableDeclaration<CmatNavigationService>;
112
- }
113
-
114
41
  declare class CmatHorizontalNavigationComponent implements OnChanges, OnInit, OnDestroy {
115
- private _changeDetectorRef;
116
- private _cmatNavigationService;
117
- private _cmatUtilsService;
118
42
  name: string;
119
43
  navigation: CmatNavigationItem[];
120
44
  onRefreshed: ReplaySubject<boolean>;
45
+ private _changeDetectorRef;
46
+ private _cmatNavigationService;
121
47
  private _unsubscribeAll;
122
- constructor(_changeDetectorRef: ChangeDetectorRef, _cmatNavigationService: CmatNavigationService, _cmatUtilsService: CmatUtilsService);
123
48
  /**
124
49
  * On changes
125
50
  *
@@ -150,14 +75,6 @@ declare class CmatHorizontalNavigationComponent implements OnChanges, OnInit, On
150
75
  }
151
76
 
152
77
  declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy {
153
- private _animationBuilder;
154
- private _changeDetectorRef;
155
- private _elementRef;
156
- private _renderer2;
157
- private _router;
158
- private _scrollStrategyOptions;
159
- private _cmatNavigationService;
160
- private _cmatUtilsService;
161
78
  static ngAcceptInputType_inner: BooleanInput;
162
79
  static ngAcceptInputType_opened: BooleanInput;
163
80
  static ngAcceptInputType_transparentOverlay: BooleanInput;
@@ -181,6 +98,13 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
181
98
  onCollapsableItemCollapsed: ReplaySubject<CmatNavigationItem>;
182
99
  onCollapsableItemExpanded: ReplaySubject<CmatNavigationItem>;
183
100
  onRefreshed: ReplaySubject<boolean>;
101
+ private _animationBuilder;
102
+ private _changeDetectorRef;
103
+ private _elementRef;
104
+ private _renderer2;
105
+ private _router;
106
+ private _scrollStrategyOptions;
107
+ private _cmatNavigationService;
184
108
  private _animationsEnabled;
185
109
  private _asideOverlay;
186
110
  private readonly _handleAsideOverlayClick;
@@ -190,7 +114,7 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
190
114
  private _player;
191
115
  private _scrollStrategy;
192
116
  private _unsubscribeAll;
193
- constructor(_animationBuilder: AnimationBuilder, _changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _renderer2: Renderer2, _router: Router, _scrollStrategyOptions: ScrollStrategyOptions, _cmatNavigationService: CmatNavigationService, _cmatUtilsService: CmatUtilsService);
117
+ constructor();
194
118
  /**
195
119
  * Host binding for component classes
196
120
  */
@@ -316,5 +240,75 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
316
240
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatVerticalNavigationComponent, "cmat-vertical-navigation", ["cmatVerticalNavigation"], { "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "editState": { "alias": "editState"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
317
241
  }
318
242
 
243
+ declare class CmatNavigationService {
244
+ private _componentRegistry;
245
+ private _navigationStore;
246
+ /**
247
+ * Register navigation component
248
+ *
249
+ * @param name
250
+ * @param component
251
+ */
252
+ registerComponent(name: string, component: any): void;
253
+ /**
254
+ * Deregister navigation component
255
+ *
256
+ * @param name
257
+ */
258
+ deregisterComponent(name: string): void;
259
+ /**
260
+ * Get navigation component from the registry
261
+ *
262
+ * @param name
263
+ */
264
+ getComponent<T>(name: string): T;
265
+ /**
266
+ * Store the given navigation with the given key
267
+ *
268
+ * @param key
269
+ * @param navigation
270
+ */
271
+ storeNavigation(key: string, navigation: CmatNavigationItem[]): void;
272
+ /**
273
+ * Get navigation from storage by key
274
+ *
275
+ * @param key
276
+ */
277
+ getNavigation(key: string): CmatNavigationItem[];
278
+ /**
279
+ * Delete the navigation from the storage
280
+ *
281
+ * @param key
282
+ */
283
+ deleteNavigation(key: string): void;
284
+ /**
285
+ * Utility function that returns a flattened
286
+ * version of the given navigation array
287
+ *
288
+ * @param navigation
289
+ * @param flatNavigation
290
+ */
291
+ getFlatNavigation(navigation: CmatNavigationItem[], flatNavigation?: CmatNavigationItem[]): CmatNavigationItem[];
292
+ /**
293
+ * Utility function that returns the item
294
+ * with the given id from given navigation
295
+ *
296
+ * @param id
297
+ * @param navigation
298
+ */
299
+ getItem(id: string, navigation: CmatNavigationItem[]): CmatNavigationItem | null;
300
+ /**
301
+ * Utility function that returns the item's parent
302
+ * with the given id from given navigation
303
+ *
304
+ * @param id
305
+ * @param navigation
306
+ * @param parent
307
+ */
308
+ getItemParent(id: string, navigation: CmatNavigationItem[], parent: CmatNavigationItem[] | CmatNavigationItem): CmatNavigationItem[] | CmatNavigationItem | null;
309
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatNavigationService, never>;
310
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatNavigationService>;
311
+ }
312
+
319
313
  export { CmatHorizontalNavigationComponent, CmatNavigationItem, CmatNavigationService, CmatVerticalNavigationComponent };
320
314
  export type { CmatVerticalNavigationAppearance, CmatVerticalNavigationMode, CmatVerticalNavigationPosition };
@@ -1,7 +1,7 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
3
  import { AfterViewInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
4
- import { ControlValueAccessor, NgControl, UntypedFormGroup, FormBuilder, FormControl } from '@angular/forms';
4
+ import { ControlValueAccessor, UntypedFormGroup, NgControl, FormControl } from '@angular/forms';
5
5
  import { MatFormFieldControl } from '@angular/material/form-field';
6
6
  import { Subject } from 'rxjs';
7
7
 
@@ -21,9 +21,6 @@ declare class OptInputConfig {
21
21
  }
22
22
 
23
23
  declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {
24
- ngControl: NgControl;
25
- private _document;
26
- private _formBuilder;
27
24
  id: string;
28
25
  onBlur: Subject<void>;
29
26
  onInputChange: Subject<string | null>;
@@ -33,9 +30,12 @@ declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterVi
33
30
  componentKey: string;
34
31
  readonly stateChanges: Subject<void>;
35
32
  focused: boolean;
33
+ ngControl: NgControl;
34
+ private _document;
35
+ private _formBuilder;
36
36
  private _unsubscribeAll;
37
37
  private _activeFocusCount;
38
- constructor(ngControl: NgControl, _document: Document, _formBuilder: FormBuilder);
38
+ constructor();
39
39
  get inputType(): string;
40
40
  get controlKeys(): string[];
41
41
  get errorState(): boolean;
@@ -80,7 +80,7 @@ declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterVi
80
80
  private _setSelected;
81
81
  private ifValidKeyCode;
82
82
  private _rebuildValue;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatOtpInputComponent, [{ optional: true; self: true; }, null, null]>;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatOtpInputComponent, never>;
84
84
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatOtpInputComponent, "cmat-otp-input", ["cmatOtpInput"], { "id": { "alias": "id"; "required": false; }; "config": { "alias": "config"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onBlur": "onBlur"; "onInputChange": "onInputChange"; }, never, never, true, never>;
85
85
  }
86
86
 
@@ -1,10 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, ChangeDetectorRef, PipeTransform, OnChanges, OnDestroy } from '@angular/core';
3
- import { CmatMediaWatcherService } from 'cmat/services/media-watcher';
2
+ import { OnInit, EventEmitter, PipeTransform, OnChanges, OnDestroy } from '@angular/core';
4
3
 
5
4
  declare class CmatPaginationComponent implements OnInit {
6
- private _cmatMediaWatcherService;
7
- private _changeDetectorRef;
8
5
  pageChange: EventEmitter<number>;
9
6
  pageBoundsCorrection: EventEmitter<number>;
10
7
  perPageCountChange: EventEmitter<number>;
@@ -13,9 +10,10 @@ declare class CmatPaginationComponent implements OnInit {
13
10
  itemsPerPages: number[];
14
11
  initPerPage: number;
15
12
  isScreenSmall: boolean;
13
+ private _cmatMediaWatcherService;
14
+ private _changeDetectorRef;
16
15
  private _autoHide;
17
16
  private _unsubscribeAll;
18
- constructor(_cmatMediaWatcherService: CmatMediaWatcherService, _changeDetectorRef: ChangeDetectorRef);
19
17
  get autoHide(): boolean;
20
18
  set autoHide(value: boolean);
21
19
  ngOnInit(): void;
@@ -70,7 +68,6 @@ interface CmatPipeState {
70
68
  declare class CmatPaginatePipe implements PipeTransform {
71
69
  private service;
72
70
  private state;
73
- constructor(service: CmatPaginationService);
74
71
  transform<T, U extends Collection<T>>(collection: U, args: CmatPaginatePipeArgs): U;
75
72
  private createInstance;
76
73
  private checkConfig;
@@ -85,16 +82,16 @@ interface Page {
85
82
  value: any;
86
83
  }
87
84
  declare class CmatPaginationDirective implements OnInit, OnChanges, OnDestroy {
88
- private service;
89
- private changeDetectorRef;
90
85
  id: string;
91
86
  maxSize: number;
92
87
  pageChange: EventEmitter<number>;
93
88
  pageBoundsCorrection: EventEmitter<number>;
94
89
  perPageCountChange: EventEmitter<number>;
95
90
  pages: Page[];
91
+ private service;
92
+ private changeDetectorRef;
96
93
  private _unsubscribeAll;
97
- constructor(service: CmatPaginationService, changeDetectorRef: ChangeDetectorRef);
94
+ constructor();
98
95
  ngOnInit(): void;
99
96
  ngOnChanges(): void;
100
97
  ngOnDestroy(): void;
@@ -1,9 +1,8 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
- import { Directionality, Direction } from '@angular/cdk/bidi';
3
2
  import { BooleanInput } from '@angular/cdk/coercion';
4
3
  import * as i0 from '@angular/core';
5
- import { TemplateRef, EventEmitter, ElementRef, OnDestroy, AfterViewInit, ViewContainerRef, ChangeDetectorRef } from '@angular/core';
6
- import { Overlay } from '@angular/cdk/overlay';
4
+ import { TemplateRef, EventEmitter, ElementRef, OnDestroy, AfterViewInit } from '@angular/core';
5
+ import { Direction } from '@angular/cdk/bidi';
7
6
  import { Subject } from 'rxjs';
8
7
 
9
8
  type CmatPopoverPositionStart = 'above' | 'below' | 'before' | 'after';
@@ -39,8 +38,6 @@ interface CmatTarget {
39
38
  }
40
39
 
41
40
  declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
42
- private _dir;
43
- private _elementRef;
44
41
  static ngAcceptInputType_closeOnPanelClick: BooleanInput;
45
42
  static ngAcceptInputType_closeOnBackdropClick: BooleanInput;
46
43
  static ngAcceptInputType_disableAnimation: BooleanInput;
@@ -64,6 +61,8 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
64
61
  classList: Record<string, boolean>;
65
62
  /** Emits the current animation state whenever it changes. */
66
63
  _onAnimationStateChange: EventEmitter<AnimationEvent>;
64
+ private _dir;
65
+ private _elementRef;
67
66
  /** Settings for popover, view setters and getters for more detail */
68
67
  private _position;
69
68
  private _triggerEvent;
@@ -81,7 +80,7 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
81
80
  private _arrowOffsetY;
82
81
  private _arrowWidth;
83
82
  private _arrowHeight;
84
- constructor(_dir: Directionality, _elementRef: ElementRef);
83
+ constructor();
85
84
  get position(): CmatPopoverPosition;
86
85
  /** Position of the popover. */
87
86
  set position(value: CmatPopoverPosition);
@@ -164,7 +163,7 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
164
163
  * folds out from the correct direction.
165
164
  */
166
165
  setPositionClasses(pos?: CmatPopoverPosition): void;
167
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverComponent, [{ optional: true; }, null]>;
166
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverComponent, never>;
168
167
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatPopoverComponent, "cmat-popover", ["cmatPopover"], { "popoverPanelStyles": { "alias": "popoverPanelStyles"; "required": false; }; "popoverArrowStyles": { "alias": "popoverArrowStyles"; "required": false; }; "popoverContentStyles": { "alias": "popoverContentStyles"; "required": false; }; "position": { "alias": "position"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "scrollStrategy": { "alias": "scrollStrategy"; "required": false; }; "enterDelay": { "alias": "enterDelay"; "required": false; }; "leaveDelay": { "alias": "leaveDelay"; "required": false; }; "xOffset": { "alias": "xOffset"; "required": false; }; "yOffset": { "alias": "yOffset"; "required": false; }; "arrowOffsetX": { "alias": "arrowOffsetX"; "required": false; }; "arrowOffsetY": { "alias": "arrowOffsetY"; "required": false; }; "arrowWidth": { "alias": "arrowWidth"; "required": false; }; "arrowHeight": { "alias": "arrowHeight"; "required": false; }; "closeOnPanelClick": { "alias": "closeOnPanelClick"; "required": false; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; }; "disableAnimation": { "alias": "disableAnimation"; "required": false; }; "focusTrapEnabled": { "alias": "focusTrapEnabled"; "required": false; }; "focusTrapAutoCaptureEnabled": { "alias": "focusTrapAutoCaptureEnabled"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
169
168
  }
170
169
 
@@ -173,11 +172,6 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
173
172
  * responsible for toggling the display of the provided popover instance.
174
173
  */
175
174
  declare class CmatPopoverTriggerDirective implements AfterViewInit, OnDestroy {
176
- private _overlay;
177
- private _elementRef;
178
- private _viewContainerRef;
179
- private _dir;
180
- private _changeDetectorRef;
181
175
  ariaHaspopup: boolean;
182
176
  /** References the popover instance that the trigger is associated with. */
183
177
  popover: CmatPopoverPanel;
@@ -191,6 +185,11 @@ declare class CmatPopoverTriggerDirective implements AfterViewInit, OnDestroy {
191
185
  popoverClosed: EventEmitter<void>;
192
186
  popoverOpened$: Subject<void>;
193
187
  popoverClosed$: Subject<void>;
188
+ private _overlay;
189
+ private _elementRef;
190
+ private _viewContainerRef;
191
+ private _dir;
192
+ private _changeDetectorRef;
194
193
  private _portal;
195
194
  private _overlayRef;
196
195
  private _popoverOpen;
@@ -201,7 +200,6 @@ declare class CmatPopoverTriggerDirective implements AfterViewInit, OnDestroy {
201
200
  private _mouseoverTimer;
202
201
  private _openedByMouse;
203
202
  private _onDestroy;
204
- constructor(_overlay: Overlay, _elementRef: ElementRef, _viewContainerRef: ViewContainerRef, _dir: Directionality, _changeDetectorRef: ChangeDetectorRef);
205
203
  /** Whether the popover is open. */
206
204
  get popoverOpen(): boolean;
207
205
  /** The text direction of the containing app. */
@@ -279,13 +277,12 @@ declare class CmatPopoverTriggerDirective implements AfterViewInit, OnDestroy {
279
277
  private _getPosition;
280
278
  private _cleanUpSubscriptions;
281
279
  private _setCurrentConfig;
282
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverTriggerDirective, [null, null, null, { optional: true; }, null]>;
280
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverTriggerDirective, never>;
283
281
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatPopoverTriggerDirective, "[cmatPopoverTriggerFor],[cmatPopoverTargetAt],[cmatPopoverTriggerOn]", ["cmatPopoverTrigger"], { "popover": { "alias": "cmatPopoverTriggerFor"; "required": false; }; "targetElement": { "alias": "cmatPopoverTargetAt"; "required": false; }; "triggerEvent": { "alias": "cmatPopoverTriggerOn"; "required": false; }; }, { "popoverOpened": "popoverOpened"; "popoverClosed": "popoverClosed"; }, never, never, true, never>;
284
282
  }
285
283
 
286
284
  declare class CmatPopoverTargetDirective {
287
- elementRef: ElementRef;
288
- constructor(elementRef: ElementRef);
285
+ elementRef: ElementRef<any>;
289
286
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverTargetDirective, never>;
290
287
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatPopoverTargetDirective, "cmat-popover-target, [cmatPopoverTarget]", ["cmatPopoverTarget"], {}, {}, never, never, true, never>;
291
288
  }
@@ -1,16 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnChanges, OnInit, OnDestroy, ChangeDetectorRef, SimpleChanges } from '@angular/core';
3
- import { CmatLoadingService } from 'cmat/services/loading';
2
+ import { OnChanges, OnInit, OnDestroy, SimpleChanges } from '@angular/core';
4
3
 
5
4
  declare class CmatProgressBarComponent implements OnChanges, OnInit, OnDestroy {
6
- private _cmatLoadingService;
7
- private _changeDetectorRef;
8
5
  autoMode: boolean;
9
6
  mode: 'determinate' | 'indeterminate';
10
7
  progress: number | null;
11
8
  show: boolean;
9
+ private _cmatLoadingService;
10
+ private _changeDetectorRef;
12
11
  private _unsubscribeAll;
13
- constructor(_cmatLoadingService: CmatLoadingService, _changeDetectorRef: ChangeDetectorRef);
14
12
  ngOnChanges(changes: SimpleChanges): void;
15
13
  ngOnInit(): void;
16
14
  ngOnDestroy(): void;
@@ -1,13 +1,11 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
- import { OnInit, OnChanges, OnDestroy, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
3
+ import { OnInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges } from '@angular/core';
4
4
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
5
  import { MatFormFieldControl } from '@angular/material/form-field';
6
6
  import { Subject } from 'rxjs';
7
7
 
8
8
  declare class CmatRatingComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnInit, OnChanges, OnDestroy {
9
- ngControl: NgControl;
10
- private _changeDetectorRef;
11
9
  id: string;
12
10
  private _ratingElementRef;
13
11
  stars: number;
@@ -23,7 +21,9 @@ declare class CmatRatingComponent implements MatFormFieldControl<any>, ControlVa
23
21
  focused: boolean;
24
22
  touched: boolean;
25
23
  controlType: string;
26
- constructor(ngControl: NgControl, _changeDetectorRef: ChangeDetectorRef);
24
+ ngControl: NgControl;
25
+ private _changeDetectorRef;
26
+ constructor();
27
27
  onModelChange: (value: any) => void;
28
28
  onTouchedChange: () => any;
29
29
  ngOnInit(): void;
@@ -54,7 +54,7 @@ declare class CmatRatingComponent implements MatFormFieldControl<any>, ControlVa
54
54
  onClick(event: any, value: number, half?: boolean): void;
55
55
  onMouseover(event: any, value: number, half?: boolean): void;
56
56
  onMouseleave(): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatRatingComponent, [{ optional: true; self: true; }, null]>;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatRatingComponent, never>;
58
58
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatRatingComponent, "cmat-rating", ["cmatRating"], { "id": { "alias": "id"; "required": false; }; "stars": { "alias": "stars"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "half": { "alias": "half"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showMode": { "alias": "showMode"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
59
59
  }
60
60
 
@@ -1,19 +1,11 @@
1
- import { ViewportRuler } from '@angular/cdk/scrolling';
2
1
  import * as i0 from '@angular/core';
3
- import { InjectionToken, OnInit, OnDestroy, EventEmitter, ElementRef, ChangeDetectorRef, QueryList } from '@angular/core';
2
+ import { OnInit, OnDestroy, EventEmitter, ElementRef, QueryList, InjectionToken } from '@angular/core';
4
3
  import { ControlValueAccessor, FormControl } from '@angular/forms';
5
4
  import { MatOption } from '@angular/material/core';
6
5
  import { MatFormField } from '@angular/material/form-field';
7
6
  import { MatSelect } from '@angular/material/select';
8
7
  import { Observable } from 'rxjs';
9
8
 
10
- /** List of inputs of CmatSelectSearchComponent that can be configured with a global default. */
11
- declare const configurableDefaultOptions: readonly ["ariaLabel", "clearSearchInput", "disableInitialFocus", "disableScrollToActiveOnOptionsChanged", "enableClearOnEscapePressed", "hideClearSearchButton", "noEntriesFoundLabel", "placeholderLabel", "preventHomeEndKeyPropagation", "searching"];
12
- type ConfigurableDefaultOptions = typeof configurableDefaultOptions[number];
13
- declare const MAT_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<CmatSelectSearchComponent, "ariaLabel" | "clearSearchInput" | "disableInitialFocus" | "disableScrollToActiveOnOptionsChanged" | "enableClearOnEscapePressed" | "hideClearSearchButton" | "noEntriesFoundLabel" | "placeholderLabel" | "preventHomeEndKeyPropagation" | "searching">>>>;
14
- /** Global configurable options for MatSelectSearch. */
15
- type MatSelectSearchOptions = Readonly<Partial<Pick<CmatSelectSearchComponent, ConfigurableDefaultOptions>>>;
16
-
17
9
  declare class CmatSelectNoEntriesFoundDirective {
18
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectNoEntriesFoundDirective, never>;
19
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatSelectNoEntriesFoundDirective, "[cmatSelectNoEntriesFound]", never, {}, {}, never, never, true, never>;
@@ -25,12 +17,6 @@ declare class CmatSelectSearchClearDirective {
25
17
  }
26
18
 
27
19
  declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlValueAccessor {
28
- protected matSelect: MatSelect;
29
- private _changeDetectorRef;
30
- private _viewportRuler;
31
- private _matOption;
32
- protected matFormField: MatFormField | null;
33
- private _defaultOptions?;
34
20
  placeholderLabel: string;
35
21
  type: string;
36
22
  noEntriesFoundLabel: string;
@@ -59,6 +45,12 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
59
45
  clearIcon: CmatSelectSearchClearDirective;
60
46
  noEntriesFound: CmatSelectNoEntriesFoundDirective;
61
47
  formControl: FormControl;
48
+ protected matSelect: MatSelect;
49
+ protected matFormField: MatFormField | null;
50
+ private _changeDetectorRef;
51
+ private _viewportRuler;
52
+ private _matOption;
53
+ private _defaultOptions;
62
54
  private _options$;
63
55
  private _lastExternalInputValue?;
64
56
  private _optionsList$;
@@ -67,7 +59,7 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
67
59
  private _onDestroy;
68
60
  /** Reference to active descendant for ARIA Support. */
69
61
  private _activeDescendant?;
70
- constructor(matSelect: MatSelect, _changeDetectorRef: ChangeDetectorRef, _viewportRuler: ViewportRuler, _matOption?: MatOption | null, matFormField?: MatFormField | null, _defaultOptions?: MatSelectSearchOptions | undefined);
62
+ constructor();
71
63
  /** whether to show the no entries found message */
72
64
  showNoEntriesFound$: Observable<boolean>;
73
65
  get isInsideMatOption(): boolean;
@@ -101,9 +93,16 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
101
93
  * Scrolls the currently active option into the view if it is not yet visible.
102
94
  */
103
95
  private _adjustScrollTopToFitActiveOptionIntoView;
104
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectSearchComponent, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectSearchComponent, never>;
105
97
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectSearchComponent, "cmat-select-search", ["cmatSelectSearch"], { "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "clearSearchInput": { "alias": "clearSearchInput"; "required": false; }; "searching": { "alias": "searching"; "required": false; }; "disableInitialFocus": { "alias": "disableInitialFocus"; "required": false; }; "enableClearOnEscapePressed": { "alias": "enableClearOnEscapePressed"; "required": false; }; "preventHomeEndKeyPropagation": { "alias": "preventHomeEndKeyPropagation"; "required": false; }; "disableScrollToActiveOnOptionsChanged": { "alias": "disableScrollToActiveOnOptionsChanged"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "showToggleAllCheckbox": { "alias": "showToggleAllCheckbox"; "required": false; }; "toggleAllCheckboxChecked": { "alias": "toggleAllCheckboxChecked"; "required": false; }; "toggleAllCheckboxIndeterminate": { "alias": "toggleAllCheckboxIndeterminate"; "required": false; }; "toggleAllCheckboxTooltipMessage": { "alias": "toggleAllCheckboxTooltipMessage"; "required": false; }; "toggleAllCheckboxTooltipPosition": { "alias": "toggleAllCheckboxTooltipPosition"; "required": false; }; "hideClearSearchButton": { "alias": "hideClearSearchButton"; "required": false; }; "alwaysRestoreSelectedOptionsMulti": { "alias": "alwaysRestoreSelectedOptionsMulti"; "required": false; }; }, { "toggleAll": "toggleAll"; }, ["clearIcon", "noEntriesFound"], ["[cmatSelectSearchClear]", ".cmat-select-search-custom-header-content", "[cmatSelectNoEntriesFound]"], true, never>;
106
98
  }
107
99
 
100
+ /** List of inputs of CmatSelectSearchComponent that can be configured with a global default. */
101
+ declare const configurableDefaultOptions: readonly ["ariaLabel", "clearSearchInput", "disableInitialFocus", "disableScrollToActiveOnOptionsChanged", "enableClearOnEscapePressed", "hideClearSearchButton", "noEntriesFoundLabel", "placeholderLabel", "preventHomeEndKeyPropagation", "searching"];
102
+ type ConfigurableDefaultOptions = typeof configurableDefaultOptions[number];
103
+ declare const MAT_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<CmatSelectSearchComponent, "ariaLabel" | "clearSearchInput" | "disableInitialFocus" | "disableScrollToActiveOnOptionsChanged" | "enableClearOnEscapePressed" | "hideClearSearchButton" | "noEntriesFoundLabel" | "placeholderLabel" | "preventHomeEndKeyPropagation" | "searching">>>>;
104
+ /** Global configurable options for MatSelectSearch. */
105
+ type MatSelectSearchOptions = Readonly<Partial<Pick<CmatSelectSearchComponent, ConfigurableDefaultOptions>>>;
106
+
108
107
  export { CmatSelectSearchComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, configurableDefaultOptions };
109
108
  export type { ConfigurableDefaultOptions, MatSelectSearchOptions };
@@ -1,7 +1,7 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
- import { AfterViewInit, OnDestroy, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
4
- import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
3
+ import { AfterViewInit, OnDestroy, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
4
+ import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
5
5
  import { MatFormFieldControl } from '@angular/material/form-field';
6
6
  import { MatSelect } from '@angular/material/select';
7
7
  import { Sort } from '@angular/material/sort';
@@ -29,8 +29,6 @@ interface CmatSelectTableDataSource<T extends CmatSelectTableRow> {
29
29
  }
30
30
 
31
31
  declare class CmatSelectTableComponent implements MatFormFieldControl<any>, ControlValueAccessor, AfterViewInit, OnDestroy, OnChanges {
32
- ngControl: NgControl;
33
- private _cd;
34
32
  id: string;
35
33
  dataSource: CmatSelectTableDataSource<CmatSelectTableRow>;
36
34
  noEntriesFoundLabel: string;
@@ -62,12 +60,14 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
62
60
  readonly stateChanges: Subject<void>;
63
61
  focused: boolean;
64
62
  touched: boolean;
63
+ ngControl: NgControl;
64
+ private _cd;
65
65
  private _matSelect;
66
66
  private _filterControls;
67
67
  private _nullRow;
68
68
  private _unsubscribeAll;
69
69
  private _completeValueList;
70
- constructor(ngControl: NgControl, _cd: ChangeDetectorRef);
70
+ constructor();
71
71
  set matSelect(m: MatSelect);
72
72
  clickedOut(): void;
73
73
  ngAfterViewInit(): void;
@@ -112,7 +112,7 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
112
112
  private _sortingDataAccessor;
113
113
  private _sortData;
114
114
  private _checkAndResetSelection;
115
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTableComponent, [{ optional: true; self: true; }, null]>;
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTableComponent, never>;
116
116
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTableComponent, "cmat-select-table", ["cmatSelectTable"], { "id": { "alias": "id"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "overallSearchEnabled": { "alias": "overallSearchEnabled"; "required": false; }; "overallSearchVisible": { "alias": "overallSearchVisible"; "required": false; }; "resetSortOnOpen": { "alias": "resetSortOnOpen"; "required": false; }; "resetFiltersOnOpen": { "alias": "resetFiltersOnOpen"; "required": false; }; "customTriggerLabelFn": { "alias": "customTriggerLabelFn"; "required": false; }; "triggerLabelSort": { "alias": "triggerLabelSort"; "required": false; }; "customTriggerLabelTemplate": { "alias": "customTriggerLabelTemplate"; "required": false; }; "canNull": { "alias": "canNull"; "required": false; }; "defaultSort": { "alias": "defaultSort"; "required": false; }; "resetOptionAction": { "alias": "resetOptionAction"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
117
117
  }
118
118
 
@@ -2,8 +2,8 @@ import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { SelectionModel } from '@angular/cdk/collections';
3
3
  import { CdkTree } from '@angular/cdk/tree';
4
4
  import * as i0 from '@angular/core';
5
- import { OnChanges, AfterViewInit, OnDestroy, ChangeDetectorRef, SimpleChanges } from '@angular/core';
6
- import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
5
+ import { OnChanges, AfterViewInit, OnDestroy, SimpleChanges } from '@angular/core';
6
+ import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
7
7
  import { MatFormFieldControl } from '@angular/material/form-field';
8
8
  import { MatSelect } from '@angular/material/select';
9
9
  import { ReplaySubject, Subject } from 'rxjs';
@@ -22,8 +22,6 @@ declare class CmatSelectTreeNode {
22
22
  }
23
23
 
24
24
  declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnChanges, AfterViewInit, OnDestroy {
25
- ngControl: NgControl;
26
- private _changeDetectorRef;
27
25
  id: string;
28
26
  dataSource: CmatSelectTreeNode[];
29
27
  noEntriesFoundLabel: string;
@@ -50,9 +48,11 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
50
48
  readonly stateChanges: Subject<void>;
51
49
  focused: boolean;
52
50
  touched: boolean;
51
+ ngControl: NgControl;
52
+ private _changeDetectorRef;
53
53
  private _matSelect;
54
54
  private _unsubscribeAll;
55
- constructor(ngControl: NgControl, _changeDetectorRef: ChangeDetectorRef);
55
+ constructor();
56
56
  tree: CdkTree<CmatSelectTreeNode>;
57
57
  set matSelect(m: MatSelect);
58
58
  clickedOut(): void;
@@ -86,6 +86,7 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
86
86
  onFocusOut(event: FocusEvent): void;
87
87
  writeValue(value: any): void;
88
88
  simpleTriggerLabelFn(value: CmatSelectTreeFlatNode[]): string;
89
+ openedChange(opened: boolean): void;
89
90
  /** Whether all the descendants of the node are selected. */
90
91
  descendantsAllSelected(node: CmatSelectTreeFlatNode): boolean;
91
92
  /** Whether part of the descendants are selected */
@@ -112,7 +113,7 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
112
113
  private _getFlattenNodes;
113
114
  private _transformer;
114
115
  private _getDescendants;
115
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTreeComponent, [{ optional: true; self: true; }, null]>;
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTreeComponent, never>;
116
117
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTreeComponent, "cmat-select-tree", ["cmatSelectTree"], { "id": { "alias": "id"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "overallSearchEnabled": { "alias": "overallSearchEnabled"; "required": false; }; "canNull": { "alias": "canNull"; "required": false; }; "customTriggerLabelFn": { "alias": "customTriggerLabelFn"; "required": false; }; "customTriggerLabelTemplate": { "alias": "customTriggerLabelTemplate"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "showToggleAllCheckbox": { "alias": "showToggleAllCheckbox"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
117
118
  }
118
119