cmat 0.0.78 → 0.0.79

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 (201) hide show
  1. package/fesm2022/cmat-components-adapter.mjs +9 -46
  2. package/fesm2022/cmat-components-adapter.mjs.map +1 -1
  3. package/fesm2022/cmat-components-breadcrumb.mjs +104 -205
  4. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
  5. package/fesm2022/cmat-components-card.mjs +4 -8
  6. package/fesm2022/cmat-components-card.mjs.map +1 -1
  7. package/fesm2022/cmat-components-carousel.mjs +12 -12
  8. package/fesm2022/cmat-components-cascade.mjs +14 -20
  9. package/fesm2022/cmat-components-cascade.mjs.map +1 -1
  10. package/fesm2022/cmat-components-chip-input.mjs +21 -21
  11. package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
  12. package/fesm2022/cmat-components-code-editor.mjs +4 -22
  13. package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
  14. package/fesm2022/cmat-components-custom-formly.mjs +153 -220
  15. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  16. package/fesm2022/cmat-components-date-range.mjs +5 -177
  17. package/fesm2022/cmat-components-date-range.mjs.map +1 -1
  18. package/fesm2022/cmat-components-date-time-display.mjs +3 -15
  19. package/fesm2022/cmat-components-date-time-display.mjs.map +1 -1
  20. package/fesm2022/cmat-components-drawer.mjs +6 -96
  21. package/fesm2022/cmat-components-drawer.mjs.map +1 -1
  22. package/fesm2022/cmat-components-empty-state.mjs +4 -25
  23. package/fesm2022/cmat-components-empty-state.mjs.map +1 -1
  24. package/fesm2022/cmat-components-file-preview.mjs +3 -21
  25. package/fesm2022/cmat-components-file-preview.mjs.map +1 -1
  26. package/fesm2022/cmat-components-filter-toolbar.mjs +7 -50
  27. package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
  28. package/fesm2022/cmat-components-form-actions.mjs +3 -9
  29. package/fesm2022/cmat-components-form-actions.mjs.map +1 -1
  30. package/fesm2022/cmat-components-fullscreen.mjs +4 -4
  31. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
  32. package/fesm2022/cmat-components-highlight.mjs +6 -31
  33. package/fesm2022/cmat-components-highlight.mjs.map +1 -1
  34. package/fesm2022/cmat-components-image-viewer.mjs +3 -12
  35. package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
  36. package/fesm2022/cmat-components-inline-loading.mjs +3 -12
  37. package/fesm2022/cmat-components-inline-loading.mjs.map +1 -1
  38. package/fesm2022/cmat-components-json-editor.mjs +10 -13
  39. package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
  40. package/fesm2022/cmat-components-knob-input.mjs +18 -12
  41. package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
  42. package/fesm2022/cmat-components-masonry.mjs +3 -9
  43. package/fesm2022/cmat-components-masonry.mjs.map +1 -1
  44. package/fesm2022/cmat-components-material-color-picker.mjs +3 -23
  45. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  46. package/fesm2022/cmat-components-material-datetimepicker.mjs +49 -397
  47. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  48. package/fesm2022/cmat-components-navigation.mjs +183 -725
  49. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  50. package/fesm2022/cmat-components-opt-input.mjs +7 -10
  51. package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
  52. package/fesm2022/cmat-components-org-chart.mjs +11 -11
  53. package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
  54. package/fesm2022/cmat-components-page-header.mjs +8 -19
  55. package/fesm2022/cmat-components-page-header.mjs.map +1 -1
  56. package/fesm2022/cmat-components-pagination.mjs +96 -93
  57. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  58. package/fesm2022/cmat-components-password-strength.mjs +10 -11
  59. package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
  60. package/fesm2022/cmat-components-popover.mjs +15 -149
  61. package/fesm2022/cmat-components-popover.mjs.map +1 -1
  62. package/fesm2022/cmat-components-progress-bar.mjs +9 -16
  63. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  64. package/fesm2022/cmat-components-qrcode.mjs +5 -11
  65. package/fesm2022/cmat-components-qrcode.mjs.map +1 -1
  66. package/fesm2022/cmat-components-rating.mjs +3 -3
  67. package/fesm2022/cmat-components-rich-text-editor.mjs +4 -25
  68. package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
  69. package/fesm2022/cmat-components-select-search.mjs +46 -72
  70. package/fesm2022/cmat-components-select-search.mjs.map +1 -1
  71. package/fesm2022/cmat-components-select-table.mjs +193 -150
  72. package/fesm2022/cmat-components-select-table.mjs.map +1 -1
  73. package/fesm2022/cmat-components-select-tree.mjs +124 -78
  74. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  75. package/fesm2022/cmat-components-skeleton.mjs +4 -22
  76. package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
  77. package/fesm2022/cmat-components-speed-dial.mjs +9 -11
  78. package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
  79. package/fesm2022/cmat-components-status-tag.mjs +3 -18
  80. package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
  81. package/fesm2022/cmat-components-table-toolbar.mjs +3 -15
  82. package/fesm2022/cmat-components-table-toolbar.mjs.map +1 -1
  83. package/fesm2022/cmat-components-timeline.mjs +18 -21
  84. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  85. package/fesm2022/cmat-components-toast.mjs +16 -14
  86. package/fesm2022/cmat-components-toast.mjs.map +1 -1
  87. package/fesm2022/cmat-components-transfer-picker.mjs +103 -80
  88. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  89. package/fesm2022/cmat-components-treetable.mjs +6 -6
  90. package/fesm2022/cmat-components-upload.mjs +21 -36
  91. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  92. package/fesm2022/cmat-components-x6-angular-shape.mjs +0 -1
  93. package/fesm2022/cmat-components-x6-angular-shape.mjs.map +1 -1
  94. package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -27
  95. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
  96. package/fesm2022/cmat-directives-arrow-cursor.mjs +7 -9
  97. package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
  98. package/fesm2022/cmat-directives-autofocus.mjs +3 -3
  99. package/fesm2022/cmat-directives-data-exporter.mjs +24 -33
  100. package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
  101. package/fesm2022/cmat-directives-debounce.mjs +14 -17
  102. package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
  103. package/fesm2022/cmat-directives-digit-only.mjs +6 -23
  104. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
  105. package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
  106. package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +4 -11
  107. package/fesm2022/cmat-directives-seamless-auto-scroll.mjs.map +1 -1
  108. package/fesm2022/cmat-lib-mock-api.mjs +6 -43
  109. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
  110. package/fesm2022/cmat-pipes-bytes.mjs +3 -3
  111. package/fesm2022/cmat-pipes-date-format.mjs +3 -3
  112. package/fesm2022/cmat-pipes-find-by-key.mjs +3 -5
  113. package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
  114. package/fesm2022/cmat-pipes-group-by.mjs +3 -3
  115. package/fesm2022/cmat-pipes-keys.mjs +3 -3
  116. package/fesm2022/cmat-pipes-secure.mjs +8 -12
  117. package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
  118. package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
  119. package/fesm2022/cmat-services-alert.mjs +3 -3
  120. package/fesm2022/cmat-services-config.mjs +50 -26
  121. package/fesm2022/cmat-services-config.mjs.map +1 -1
  122. package/fesm2022/cmat-services-confirmation.mjs +9 -11
  123. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  124. package/fesm2022/cmat-services-data.mjs +56 -101
  125. package/fesm2022/cmat-services-data.mjs.map +1 -1
  126. package/fesm2022/cmat-services-export-as.mjs +4 -32
  127. package/fesm2022/cmat-services-export-as.mjs.map +1 -1
  128. package/fesm2022/cmat-services-loading.mjs +49 -40
  129. package/fesm2022/cmat-services-loading.mjs.map +1 -1
  130. package/fesm2022/cmat-services-local-storage.mjs +3 -3
  131. package/fesm2022/cmat-services-media-watcher.mjs +19 -25
  132. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
  133. package/fesm2022/cmat-services-platform.mjs +3 -10
  134. package/fesm2022/cmat-services-platform.mjs.map +1 -1
  135. package/fesm2022/cmat-services-splash-screen.mjs +8 -13
  136. package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
  137. package/fesm2022/cmat-services-title.mjs +8 -12
  138. package/fesm2022/cmat-services-title.mjs.map +1 -1
  139. package/fesm2022/cmat-services-translation.mjs +3 -3
  140. package/fesm2022/cmat-services-utils.mjs +5 -27
  141. package/fesm2022/cmat-services-utils.mjs.map +1 -1
  142. package/fesm2022/cmat-validators.mjs +0 -8
  143. package/fesm2022/cmat-validators.mjs.map +1 -1
  144. package/fesm2022/cmat.mjs +3159 -3441
  145. package/fesm2022/cmat.mjs.map +1 -1
  146. package/package.json +1 -1
  147. package/tailwind/plugins/helpers.js +1 -10
  148. package/tailwind/plugins/scrollbar/index.js +0 -1
  149. package/tailwind/plugins/scrollbar/typedefs.js +1 -7
  150. package/tailwind/plugins/scrollbar/utilities.js +9 -58
  151. package/tailwind/plugins/scrollbar/variants.js +2 -17
  152. package/tailwind/plugins/theming.js +1 -57
  153. package/tailwind/utils/generate-contrasts.js +1 -12
  154. package/tailwind/utils/generate-palette.js +1 -32
  155. package/types/cmat-components-adapter.d.ts +0 -25
  156. package/types/cmat-components-breadcrumb.d.ts +25 -175
  157. package/types/cmat-components-carousel.d.ts +0 -18
  158. package/types/cmat-components-cascade.d.ts +1 -1
  159. package/types/cmat-components-chip-input.d.ts +4 -3
  160. package/types/cmat-components-code-editor.d.ts +0 -18
  161. package/types/cmat-components-custom-formly.d.ts +22 -28
  162. package/types/cmat-components-date-range.d.ts +0 -71
  163. package/types/cmat-components-date-time-display.d.ts +0 -15
  164. package/types/cmat-components-drawer.d.ts +0 -42
  165. package/types/cmat-components-empty-state.d.ts +0 -21
  166. package/types/cmat-components-file-preview.d.ts +0 -18
  167. package/types/cmat-components-filter-toolbar.d.ts +3 -43
  168. package/types/cmat-components-form-actions.d.ts +0 -6
  169. package/types/cmat-components-image-viewer.d.ts +0 -12
  170. package/types/cmat-components-inline-loading.d.ts +0 -9
  171. package/types/cmat-components-knob-input.d.ts +1 -1
  172. package/types/cmat-components-material-datetimepicker.d.ts +0 -263
  173. package/types/cmat-components-navigation.d.ts +24 -164
  174. package/types/cmat-components-opt-input.d.ts +1 -1
  175. package/types/cmat-components-page-header.d.ts +2 -16
  176. package/types/cmat-components-pagination.d.ts +22 -24
  177. package/types/cmat-components-popover.d.ts +1 -109
  178. package/types/cmat-components-progress-bar.d.ts +3 -4
  179. package/types/cmat-components-rich-text-editor.d.ts +0 -21
  180. package/types/cmat-components-select-search.d.ts +3 -19
  181. package/types/cmat-components-select-table.d.ts +17 -4
  182. package/types/cmat-components-select-tree.d.ts +20 -19
  183. package/types/cmat-components-skeleton.d.ts +0 -18
  184. package/types/cmat-components-status-tag.d.ts +0 -15
  185. package/types/cmat-components-table-toolbar.d.ts +0 -12
  186. package/types/cmat-components-timeline.d.ts +3 -4
  187. package/types/cmat-components-toast.d.ts +1 -0
  188. package/types/cmat-components-transfer-picker.d.ts +23 -27
  189. package/types/cmat-components-upload.d.ts +7 -10
  190. package/types/cmat-components-x6-angular-shape.d.ts +0 -1
  191. package/types/cmat-directives-arrow-cursor.d.ts +1 -1
  192. package/types/cmat-directives-debounce.d.ts +3 -4
  193. package/types/cmat-pipes-secure.d.ts +3 -4
  194. package/types/cmat-services-config.d.ts +35 -13
  195. package/types/cmat-services-data.d.ts +13 -12
  196. package/types/cmat-services-export-as.d.ts +0 -22
  197. package/types/cmat-services-loading.d.ts +15 -10
  198. package/types/cmat-services-media-watcher.d.ts +10 -13
  199. package/types/cmat-services-splash-screen.d.ts +2 -4
  200. package/types/cmat-services-title.d.ts +3 -5
  201. package/types/cmat.d.ts +655 -1308
package/types/cmat.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { DateAdapter, MatDateFormats, ThemePalette, MatOption } from '@angular/material/core';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, OnDestroy, OnInit, TemplateRef, OnChanges, SimpleChanges, AfterContentInit, AfterContentChecked, ElementRef, NgZone, ChangeDetectorRef, EventEmitter, QueryList, AfterViewInit, Type as Type$2, PipeTransform, Injector } from '@angular/core';
3
+ import { InjectionToken, TemplateRef, OnChanges, SimpleChanges, AfterContentInit, AfterContentChecked, OnDestroy, ElementRef, NgZone, ChangeDetectorRef, EventEmitter, QueryList, OnInit, AfterViewInit, Type as Type$2, PipeTransform, Injector } from '@angular/core';
4
4
  import { Dayjs } from 'dayjs';
5
- import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
5
+ import { Observable, Subject, ReplaySubject } from 'rxjs';
6
6
  import { BooleanInput } from '@angular/cdk/coercion';
7
7
  import { ControlValueAccessor, NgControl, FormControl, FormGroup, UntypedFormGroup, Validator, AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
8
8
  import { CdkOverlayOrigin, OverlayRef, ScrollStrategy, Overlay } from '@angular/cdk/overlay';
@@ -11,6 +11,7 @@ import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
11
11
  import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
12
12
  import { MatAutocompleteSelectedEvent, MatAutocompleteActivatedEvent } from '@angular/material/autocomplete';
13
13
  import { MatChipInputEvent } from '@angular/material/chips';
14
+ import { NgxEditorModel } from 'ngx-monaco-editor-v2';
14
15
  import { FormlyFieldConfig, FieldWrapper, FieldTypeConfig, FieldArrayType, FieldType as FieldType$2 } from '@ngx-formly/core';
15
16
  import { FormlyFieldProps, FieldType } from '@ngx-formly/material/form-field';
16
17
  import { FieldType as FieldType$1 } from '@ngx-formly/material';
@@ -21,7 +22,6 @@ import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
21
22
  import { CmatSelectTableDataSource as CmatSelectTableDataSource$1, CmatSelectTableRow as CmatSelectTableRow$1 } from 'cmat/components/select-table';
22
23
  import { MatTable, MatTableDataSource } from '@angular/material/table';
23
24
  import { QuillModules } from 'ngx-quill';
24
- import { NgxEditorModel } from 'ngx-monaco-editor-v2';
25
25
  import { SafeUrl } from '@angular/platform-browser';
26
26
  import { Content as Content$1 } from 'vanilla-jsoneditor';
27
27
  import { MatButton } from '@angular/material/button';
@@ -34,6 +34,10 @@ import { SelectionModel } from '@angular/cdk/collections';
34
34
  import { CdkTree } from '@angular/cdk/tree';
35
35
  import { Node, NodeProperties, NodeView, Dom } from '@antv/x6';
36
36
  import { WritingOptions } from 'xlsx';
37
+ import { HttpResponseBase, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpHeaders } from '@angular/common/http';
38
+ import { MatDialogRef } from '@angular/material/dialog';
39
+ import { BreakpointState } from '@angular/cdk/layout';
40
+ import { Language } from '@ngx-translate/core';
37
41
 
38
42
  declare abstract class DatetimeAdapter<D> extends DateAdapter<D> {
39
43
  protected _delegate: DateAdapter<D>;
@@ -119,12 +123,6 @@ declare class CNativeDatetimeAdapter extends DatetimeAdapter<Date> {
119
123
  addCalendarMinutes(date: Date, minutes: number): Date;
120
124
  toIso8601(date: Date): string;
121
125
  private _getDateInNextMonth;
122
- /**
123
- * Pads a number to make it two digits.
124
- *
125
- * @param n The number to pad.
126
- * @returns The padded number.
127
- */
128
126
  private _2digit;
129
127
  private _createDateWithOverflow;
130
128
  static ɵfac: i0.ɵɵFactoryDeclaration<CNativeDatetimeAdapter, never>;
@@ -155,14 +153,8 @@ declare class DayjsDatetimeAdapter extends DatetimeAdapter<Dayjs> {
155
153
  declare const CMAT_DAYJS_DATETIME_FORMATS: CmatDatetimeFormats;
156
154
 
157
155
  interface DayJsDateAdapterOptions {
158
- /**
159
- * Turns the use of utc dates on or off.
160
- * Changing this will change how Angular Material components like DatePicker output dates.
161
- * {@default false}
162
- */
163
156
  useUtc?: boolean;
164
157
  }
165
- /** InjectionToken for Dayjs date adapter to configure options. */
166
158
  declare const CMAT_DAYJS_DATE_ADAPTER_OPTIONS: InjectionToken<DayJsDateAdapterOptions>;
167
159
  declare function CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY(): DayJsDateAdapterOptions;
168
160
  declare class DayjsDateAdapter extends DateAdapter<Dayjs> {
@@ -190,19 +182,6 @@ declare class DayjsDateAdapter extends DateAdapter<Dayjs> {
190
182
  addCalendarMonths(date: Dayjs, months: number): Dayjs;
191
183
  addCalendarDays(date: Dayjs, days: number): Dayjs;
192
184
  toIso8601(date: Dayjs): string;
193
- /**
194
- * Attempts to deserialize a value to a valid date object. This is different from parsing in that
195
- * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
196
- * string). The default implementation does not allow any deserialization, it simply checks that
197
- * the given value is already a valid date object or null. The `<mat-datepicker>` will call this
198
- * method on all of it's `@Input()` properties that accept dates. It is therefore possible to
199
- * support passing values from your backend directly to these properties by overriding this method
200
- * to also deserialize the format used by your backend.
201
- *
202
- * @param value The value to be deserialized into a date object.
203
- * @returns The deserialized date object, either a valid date, null if the value can be
204
- * deserialized into a null date (e.g. the empty string), or an invalid date.
205
- */
206
185
  deserialize(value: any): Dayjs | null;
207
186
  isDateInstance(obj: any): boolean;
208
187
  isValid(date: Dayjs): boolean;
@@ -215,241 +194,91 @@ declare class DayjsDateAdapter extends DateAdapter<Dayjs> {
215
194
 
216
195
  declare const CMAT_DAYJS_DATE_FORMATS: MatDateFormats;
217
196
 
218
- /**
219
- * This directive is used to customize the breadcrumb label behavior
220
- * *cmatBreadcrumbItem directive can be used in the child element of cmat-breadcrumb
221
- * Usage: refer to the demo - app.component.html
222
- */
223
197
  declare class CmatBreadcrumbItemDirective {
224
198
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatBreadcrumbItemDirective, never>;
225
199
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatBreadcrumbItemDirective, "[cmatBreadcrumbItem]", never, {}, {}, never, never, true, never>;
226
200
  }
227
201
 
228
202
  interface CmatBreadcrumb {
229
- /**
230
- * actual route path with resolved param. Ex /mentor/2, connect/edit
231
- */
232
203
  routeLink?: string;
233
- /**
234
- * route with path params converted to a RegExp
235
- * path '/mentor/:id' becomes routeRegex '/mentor/[^/]+', which can be matched against when needed
236
- */
237
204
  routeRegex?: string;
238
- /**
239
- * This is additional info on each breadcrumb item whether label is auto generated or user specified
240
- * isAutoGeneratedLabel has to be present at component level but not at the service,
241
- * since we may need to support multiple breadcrumb components in same app
242
- */
243
205
  isAutoGeneratedLabel?: boolean;
244
- /**
245
- * Query params in string form.
246
- */
247
206
  queryParams?: any;
248
207
  fragment?: string;
249
208
  routeInterceptor?: (breadcrumb: CmatBreadcrumb, routeLink?: string) => string;
250
209
  }
251
210
 
252
- /**
253
- * Breadcrumb config provided as part of App Route Config
254
- */
255
211
  interface CmatBreadcrumbObject {
256
- /**
257
- * breadcrumb label for a route
258
- */
259
212
  label?: string | CmatBreadcrumbFunction;
260
- /**
261
- * unique alias name for a route path that can be used to dynamically update a route's breadcrumb label via breadcrumbService.set()
262
- */
263
213
  alias?: string;
264
- /**
265
- * hide or show the breadcrumb item
266
- */
267
214
  skip?: boolean;
268
- /**
269
- * disable a certain breadcrumb in the list. Not clickable.
270
- * It may be needed when the routing has the path, but navigating to that path is of no use
271
- */
272
215
  disable?: boolean;
273
- /**
274
- * custom data for each breadcrumb that is passed back to ng-template
275
- */
276
216
  info?: unknown;
277
- /**
278
- * Interceptor for breadcrumb click action that returns the dynamic path
279
- * Consumers can change the breadcrumb routing dynamically with this approach
280
- */
281
217
  routeInterceptor?: (breadcrumb: CmatBreadcrumb, routeLink?: string) => string;
282
218
  }
283
219
  type CmatBreadcrumbFunction = (resolvedLabel?: string) => string;
284
220
 
285
221
  type CmatBreadcrumbDefinition = CmatBreadcrumb & CmatBreadcrumbObject;
286
- declare class CmatBreadcrumbService implements OnDestroy {
222
+ declare class CmatBreadcrumbService {
287
223
  private _activatedRoute;
288
224
  private _router;
225
+ private readonly _destroyRef;
289
226
  private _baseHref;
290
- private _unsubscribeAll;
291
- /**
292
- * dynamicBreadcrumbStore holds information about dynamically updated breadcrumbs.
293
- * Breadcrumbs can be set from anywhere (component, service) in the app.
294
- * On every breadcrumb update check this store and use the info if available.
295
- */
296
- private _dynamicBreadcrumbStore;
297
- /**
298
- * breadcrumbList for the current route
299
- * When breadcrumb info is changed dynamically, check if the currentBreadcrumbs is effected
300
- * If effected, update the change and emit a new stream
301
- */
227
+ private readonly _dynamicBreadcrumbStore;
302
228
  private _currentBreadcrumbs;
303
229
  private _previousBreadcrumbs;
304
- /**
305
- * Breadcrumbs observable to be subscribed by BreadcrumbComponent
306
- * Emits on every route change OR dynamic update of breadcrumb
307
- */
308
230
  private _breadcrumbs;
231
+ private readonly _breadcrumbs$;
309
232
  constructor();
310
233
  get breadcrumbs$(): Observable<CmatBreadcrumbDefinition[]>;
311
- ngOnDestroy(): void;
312
- /**
313
- * Update breadcrumb dynamically
314
- *
315
- * key can be a path | alias
316
- *
317
- * 1) Using complete route path. route can be passed the same way you define angular routes
318
- * - path can be passed as 'exact path(routeLink)' or 'path with params(routeRegex)'
319
- * - update label Ex: set('/mentor', 'Mentor'), set('/mentor/:id', 'Mentor Details')
320
- * - change visibility Ex: set('/mentor/:id/edit', { skip: true })
321
- * ------------------------------------------ OR ------------------------------------------
322
- * 2) Using route alias (prefixed with '@'). alias should be unique for a route
323
- * - update label Ex: set('@mentor', 'Enabler')
324
- * - change visibility Ex: set('@mentorEdit', { skip: true })
325
- *
326
- *
327
- * value can be string | BreadcrumbObject | BreadcrumbFunction
328
- */
329
234
  set(key: string, breadcrumb: string | CmatBreadcrumbObject): void;
330
- /**
331
- * Whenever route changes build breadcrumb list again
332
- */
333
235
  private _detectRouteChanges;
334
236
  private _setupBreadcrumbs;
335
237
  private _getRootBreadcrumb;
336
238
  private _prepareBreadcrumbItem;
337
239
  private _prepareBreadcrumbList;
338
240
  private _getFromStore;
339
- /**
340
- * use exact match instead of regexp.test
341
- * for /mentor/[^/]+ we should match '/mentor/12' but not '/mentor/12/abc'
342
- */
343
241
  private _matchRegex;
344
- /**
345
- * if the path segment has route params, read the param value from url
346
- * for each segment of route this gets called
347
- *
348
- * for mentor/:id/view - it gets called with mentor, :id, view 3 times
349
- */
350
242
  private _resolvePathSegment;
351
- /**
352
- * queryParams & fragments for previous breadcrumb path are copied over to new list
353
- */
354
243
  private _getQueryParamsFromPreviousList;
355
- /**
356
- * set current activated route query params to the last breadcrumb item
357
- */
358
244
  private _setQueryParamsForActiveBreadcrumb;
359
- /**
360
- * For a specific route, breadcrumb can be defined either on parent OR it's child(which has empty path)
361
- * When both are defined, child takes precedence
362
- *
363
- * Ex: Below we are setting breadcrumb on both parent and child.
364
- * So, child takes precedence and "Defined On Child" is displayed for the route 'home'
365
- * { path: 'home', loadChildren: './home/home.module#HomeModule' , data: {breadcrumb: "Defined On Module"}}
366
- * AND
367
- * children: [
368
- * { path: '', component: ShowUserComponent, data: {breadcrumb: "Defined On Child" }
369
- * ]
370
- */
371
245
  private _parseRouteData;
372
- /**
373
- * get empty children of a module or Component. Empty child is the one with path: ''
374
- * When parent and it's children (that has empty route path) define data merge them both with child taking precedence
375
- */
376
246
  private _mergeWithBaseChildData;
377
- /**
378
- * Update the store to reuse for dynamic declarations
379
- * If the store already has this route definition update it, else add
380
- */
381
247
  private _updateStore;
382
- /**
383
- * If breadcrumb is present in current breadcrumbs update it and emit new stream
384
- */
385
248
  private _updateCurrentBreadcrumbs;
386
- /**
387
- * For a route with path param, we create regex dynamically from angular route syntax
388
- * '/mentor/:id' becomes '/mentor/[^/]',
389
- * breadcrumbService.set('/mentor/:id', 'Uday') should update 'Uday' as label for '/mentor/2' OR 'mentor/ada'
390
- */
391
249
  private _buildRegex;
392
250
  private _ensureLeadingSlash;
393
- /**
394
- * In App's RouteConfig, breadcrumb can be defined as a string OR a function OR an object
395
- *
396
- * string: simple static breadcrumb label for a path
397
- * function: callback that gets invoked with resolved path param
398
- * object: additional data defined along with breadcrumb label that gets passed to *cmatBreadcrumbItem directive
399
- */
400
251
  private _extractLabel;
401
252
  private _extractObject;
253
+ private _publishCurrentBreadcrumbs;
402
254
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatBreadcrumbService, never>;
403
255
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatBreadcrumbService>;
404
256
  }
405
257
 
406
- declare class CmatBreadcrumbComponent implements OnInit {
407
- /**
408
- * 面包屑项目可以使用此模板进行自定义
409
- * 模板上下文提供标签、附加信息、第一个和最后一个索引
410
- * 用例:
411
- * 1) 添加图标和标签
412
- * 2) i18n. {{breadcrumb | translate}}
413
- * 3) 更改文本大小写 {{breadcrumb | titlecase}}
414
- */
415
- itemTemplate: any;
416
- /**
417
- * 如果为true,即使没有任何映射标签,面包屑也会自动生成
418
- * 默认标签与路由segment相同
419
- */
420
- autoGenerate: boolean;
421
- /**
422
- * 默认情况下,查询参数将与breadcrumbs一起保留
423
- */
258
+ interface CmatBreadcrumbTemplateContext {
259
+ $implicit: string | undefined | CmatBreadcrumbFunction;
260
+ info: unknown;
261
+ last: boolean;
262
+ first: boolean;
263
+ index: number;
264
+ count: number;
265
+ }
266
+ declare class CmatBreadcrumbComponent {
267
+ itemTemplate: TemplateRef<CmatBreadcrumbTemplateContext> | null;
268
+ set autoGenerate(value: boolean);
269
+ get autoGenerate(): boolean;
424
270
  preserveQueryParams: boolean;
425
- /**
426
- * 默认情况下,fragments参数将与breadcrumbs一起保留
427
- */
428
271
  preserveFragment: boolean;
429
- /**
430
- * 可提供覆盖样式,增加特异性
431
- */
432
272
  class: string;
433
- /**
434
- * anchorTarget = "_blank" 使breadcrumb链接在新选项卡中打开
435
- */
436
273
  anchorTarget: '_blank' | void;
437
- breadcrumbs$: Observable<CmatBreadcrumbDefinition[]>;
438
- separatorTemplate: TemplateRef<any> | null;
439
- private _separator;
440
- private _breadcrumbService;
274
+ separatorTemplate: TemplateRef<void> | null;
275
+ readonly breadcrumbs: i0.Signal<CmatBreadcrumbDefinition[]>;
276
+ private readonly _breadcrumbService;
277
+ private readonly _autoGenerate;
278
+ private readonly _breadcrumbItems;
279
+ set separator(value: string | void);
441
280
  get separator(): string | void;
442
- /**
443
- * 面包屑分隔符, 默认'/'.
444
- * 用户可以通过传递字符串或模板来自定义分隔符
445
- *
446
- * 字符串 --> Ex: <cmat-breadcrumb separator="-"></cmat-breadcrumb>
447
- *
448
- * 模板 --> Ex: <cmat-breadcrumb [separator]="separatorTemplate"></cmat-breadcrumb>
449
- * <ng-template #separatorTemplate><mat-icon>arrow_right</mat-icon></ng-template>
450
- */
451
- set separator(value: string | TemplateRef<void>);
452
- ngOnInit(): void;
281
+ private _separator;
453
282
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatBreadcrumbComponent, never>;
454
283
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatBreadcrumbComponent, "cmat-breadcrumb", ["cmatBreadcrumb"], { "autoGenerate": { "alias": "autoGenerate"; "required": false; }; "preserveQueryParams": { "alias": "preserveQueryParams"; "required": false; }; "preserveFragment": { "alias": "preserveFragment"; "required": false; }; "class": { "alias": "class"; "required": false; }; "anchorTarget": { "alias": "anchorTarget"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
455
284
  }
@@ -469,17 +298,8 @@ declare class CmatCardComponent implements OnChanges {
469
298
  }
470
299
 
471
300
  interface CmatCarouselResponsiveOptions {
472
- /**
473
- * 响应模式的断点。
474
- */
475
301
  breakpoint: string;
476
- /**
477
- * 断点上可见项目的数量。
478
- */
479
302
  numVisible: number;
480
- /**
481
- * 断点上滚动的项目数。
482
- */
483
303
  numScroll: number;
484
304
  }
485
305
  interface CmatCarouselPageEvent {
@@ -492,17 +312,8 @@ interface CmatCarouselTemplates {
492
312
  }): TemplateRef<{
493
313
  $implicit: any;
494
314
  }>;
495
- /**
496
- * previousicon自定义模板。
497
- */
498
315
  previousicon(): TemplateRef<any>;
499
- /**
500
- * nexticon自定义模板。
501
- */
502
316
  nexticon(): TemplateRef<any>;
503
- /**
504
- * footer自定义模板。
505
- */
506
317
  footer(): TemplateRef<any>;
507
318
  }
508
319
 
@@ -655,6 +466,7 @@ declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDe
655
466
  private _breakpointObserver;
656
467
  private _bottomSheet;
657
468
  private _changeDetectorRef;
469
+ private readonly _destroyRef;
658
470
  id: string;
659
471
  options: CmatCascadeOptionsInterface[];
660
472
  clearable: boolean;
@@ -673,7 +485,6 @@ declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDe
673
485
  focused: boolean;
674
486
  touched: boolean;
675
487
  controlType: string;
676
- private _unsubscribeAll;
677
488
  constructor();
678
489
  private _touchUi;
679
490
  get touchUi(): boolean;
@@ -740,7 +551,8 @@ declare class CmatChipInputComponent implements MatFormFieldControl<any>, Contro
740
551
  separatorKey: string;
741
552
  inputControl: FormControl<string | null>;
742
553
  filteredOptions$: Observable<string[] | null>;
743
- selectedOptions$: BehaviorSubject<any>;
554
+ private _selectedOptions;
555
+ readonly selectedOptions$: Observable<any[]>;
744
556
  separatorKeysCodes: number[];
745
557
  readonly stateChanges: Subject<void>;
746
558
  focused: boolean;
@@ -748,7 +560,7 @@ declare class CmatChipInputComponent implements MatFormFieldControl<any>, Contro
748
560
  controlType: string;
749
561
  autocompleteOptionActive: boolean;
750
562
  private readonly _maxFilteredItems;
751
- private _unsubscribeAll;
563
+ private readonly _destroyRef;
752
564
  constructor();
753
565
  ngOnDestroy(): void;
754
566
  get placeholder(): string;
@@ -785,6 +597,20 @@ declare class CmatChipInputComponent implements MatFormFieldControl<any>, Contro
785
597
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatChipInputComponent, "cmat-chip-input", ["cmatChipInput"], { "id": { "alias": "id"; "required": false; }; "selectableOptions": { "alias": "selectableOptions"; "required": false; }; "hasAutocomplete": { "alias": "hasAutocomplete"; "required": false; }; "outputIsString": { "alias": "outputIsString"; "required": false; }; "separatorKey": { "alias": "separatorKey"; "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>;
786
598
  }
787
599
 
600
+ declare class CmatCodeEditorComponent {
601
+ value: string;
602
+ language: string;
603
+ height: string;
604
+ readOnly: boolean;
605
+ options: any;
606
+ private readonly _document;
607
+ get model(): NgxEditorModel;
608
+ get editorOptions(): any;
609
+ private get _isDarkTheme();
610
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatCodeEditorComponent, never>;
611
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatCodeEditorComponent, "cmat-code-editor", never, { "value": { "alias": "value"; "required": false; }; "language": { "alias": "language"; "required": false; }; "height": { "alias": "height"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
612
+ }
613
+
788
614
  declare function addonsExtension(field: FormlyFieldConfig): void;
789
615
 
790
616
  declare class CmatAddonsWrapperComponent extends FieldWrapper implements AfterViewInit {
@@ -857,7 +683,7 @@ interface ChipsCascadeProps extends CustomFormFieldProps {
857
683
  value?: string;
858
684
  };
859
685
  }
860
- declare class CmatCascadeTypeComponent extends FieldType<FieldTypeConfig<ChipsCascadeProps>> implements OnInit, OnDestroy {
686
+ declare class CmatCascadeTypeComponent extends FieldType<FieldTypeConfig<ChipsCascadeProps>> implements OnInit {
861
687
  defaultOptions: {
862
688
  props: {
863
689
  clearable: boolean;
@@ -870,10 +696,9 @@ declare class CmatCascadeTypeComponent extends FieldType<FieldTypeConfig<ChipsCa
870
696
  private _http;
871
697
  private _changeDetectorRef;
872
698
  private _cmatMediaWatcherService;
873
- private _unsubscribeAll;
699
+ private readonly _destroyRef;
874
700
  constructor();
875
701
  ngOnInit(): void;
876
- ngOnDestroy(): void;
877
702
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatCascadeTypeComponent, never>;
878
703
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeTypeComponent, "cmat-cascade-type", never, {}, {}, never, never, true, never>;
879
704
  }
@@ -888,7 +713,7 @@ interface CheckListProps extends CustomFormFieldProps {
888
713
  value?: string;
889
714
  };
890
715
  }
891
- declare class CmatCheckListTypeComponent extends FieldType<FieldTypeConfig<CheckListProps>> implements OnInit, OnDestroy {
716
+ declare class CmatCheckListTypeComponent extends FieldType<FieldTypeConfig<CheckListProps>> implements OnInit {
892
717
  isIndeterminate: boolean;
893
718
  isChecked: boolean;
894
719
  urlData: [];
@@ -896,13 +721,13 @@ declare class CmatCheckListTypeComponent extends FieldType<FieldTypeConfig<Check
896
721
  checklist: any[];
897
722
  filteredData: any[];
898
723
  private _http;
724
+ private readonly _destroyRef;
899
725
  private _filteredItems;
900
- private _unsubscribeAll;
726
+ private readonly _filteredItems$;
901
727
  constructor();
902
728
  get filteredItems$(): Observable<any[] | null>;
903
729
  get datas(): any[];
904
730
  ngOnInit(): void;
905
- ngOnDestroy(): void;
906
731
  trackByFn(index: number, item: any): any;
907
732
  filterByQuery(event: any): void;
908
733
  toggleCheckList(data: any, event: any): void;
@@ -923,14 +748,13 @@ interface ChipsInputProps extends CustomFormFieldProps {
923
748
  value?: string;
924
749
  };
925
750
  }
926
- declare class CmatChipsInputTypeComponent extends FieldType<FieldTypeConfig<ChipsInputProps>> implements OnInit, OnDestroy {
751
+ declare class CmatChipsInputTypeComponent extends FieldType<FieldTypeConfig<ChipsInputProps>> implements OnInit {
927
752
  autocompleteUrlData: [];
928
753
  private _http;
929
- private _unsubscribeAll;
754
+ private readonly _destroyRef;
930
755
  constructor();
931
756
  get autocompleteText(): string[];
932
757
  ngOnInit(): void;
933
- ngOnDestroy(): void;
934
758
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatChipsInputTypeComponent, never>;
935
759
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatChipsInputTypeComponent, "cmat-chips-input-type", never, {}, {}, never, never, true, never>;
936
760
  }
@@ -967,7 +791,7 @@ interface DatepickerProps extends CustomFormFieldProps {
967
791
  twelvehour: boolean;
968
792
  timeInput: boolean;
969
793
  }
970
- declare class CmatDatepickerTypeComponent extends FieldType<FieldTypeConfig<DatepickerProps>> implements OnInit, OnDestroy {
794
+ declare class CmatDatepickerTypeComponent extends FieldType<FieldTypeConfig<DatepickerProps>> implements OnInit {
971
795
  defaultOptions: {
972
796
  props: {
973
797
  startView: "month";
@@ -984,10 +808,9 @@ declare class CmatDatepickerTypeComponent extends FieldType<FieldTypeConfig<Date
984
808
  isHandSet: boolean;
985
809
  private _changeDetectorRef;
986
810
  private _cmatMediaWatcherService;
987
- private _unsubscribeAll;
811
+ private readonly _destroyRef;
988
812
  constructor();
989
813
  ngOnInit(): void;
990
- ngOnDestroy(): void;
991
814
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatepickerTypeComponent, never>;
992
815
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatepickerTypeComponent, "cmat-datepicker-type", never, {}, {}, never, never, true, never>;
993
816
  }
@@ -1004,7 +827,7 @@ interface MultiCheckboxProps extends CustomFormFieldProps {
1004
827
  interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {
1005
828
  type: 'multicheckbox' | Type$2<CmatMultiCheckboxTypeComponent>;
1006
829
  }
1007
- declare class CmatMultiCheckboxTypeComponent extends FieldType<FieldTypeConfig<MultiCheckboxProps>> implements OnInit, OnDestroy {
830
+ declare class CmatMultiCheckboxTypeComponent extends FieldType<FieldTypeConfig<MultiCheckboxProps>> implements OnInit {
1008
831
  checkboxes: QueryList<MatCheckbox>;
1009
832
  defaultOptions: {
1010
833
  props: {
@@ -1015,13 +838,13 @@ declare class CmatMultiCheckboxTypeComponent extends FieldType<FieldTypeConfig<M
1015
838
  };
1016
839
  };
1017
840
  private _http;
841
+ private readonly _destroyRef;
1018
842
  private _urlData;
1019
- private _unsubscribeAll;
843
+ private readonly _urlData$;
1020
844
  constructor();
1021
845
  get urlData$(): Observable<any[]>;
1022
846
  onChange(value: any, checked: boolean): void;
1023
847
  ngOnInit(): void;
1024
- ngOnDestroy(): void;
1025
848
  isChecked(option: any): any;
1026
849
  trackByFn(index: number): any;
1027
850
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatMultiCheckboxTypeComponent, never>;
@@ -1078,7 +901,7 @@ interface RadioProps extends CustomFormFieldProps {
1078
901
  interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
1079
902
  type: 'radio' | Type$2<CmatRadioTypeComponent>;
1080
903
  }
1081
- declare class CmatRadioTypeComponent extends FieldType<FieldTypeConfig<RadioProps>> implements OnInit, AfterViewInit, OnDestroy {
904
+ declare class CmatRadioTypeComponent extends FieldType<FieldTypeConfig<RadioProps>> implements OnInit, AfterViewInit {
1082
905
  radioGroup: MatRadioGroup;
1083
906
  defaultOptions: {
1084
907
  props: {
@@ -1091,7 +914,8 @@ declare class CmatRadioTypeComponent extends FieldType<FieldTypeConfig<RadioProp
1091
914
  private _http;
1092
915
  private focusObserver;
1093
916
  private _urlData;
1094
- private _unsubscribeAll;
917
+ private readonly _destroyRef;
918
+ private readonly _urlData$;
1095
919
  constructor();
1096
920
  get urlData$(): Observable<any[]>;
1097
921
  ngOnInit(): void;
@@ -1144,12 +968,11 @@ declare class CmatSelectTypeComponent extends FieldType<FieldTypeConfig<SelectPr
1144
968
  isChecked: boolean;
1145
969
  multiFilterCtrl: FormControl;
1146
970
  private _http;
971
+ private readonly _destroyRef;
1147
972
  private _urlData;
1148
- private _unsubscribeAll;
1149
973
  constructor();
1150
974
  get datas(): any[];
1151
975
  ngOnInit(): void;
1152
- ngOnDestroy(): void;
1153
976
  getAriaLabelledby(): string;
1154
977
  getAriaLabel(): string;
1155
978
  toggleSelectAll(selectAllValue: boolean): void;
@@ -1188,10 +1011,9 @@ declare class CmatSelectTreeTypeComponent extends FieldType$1<FieldTypeConfig<Se
1188
1011
  urlData: [];
1189
1012
  private _http;
1190
1013
  private _changeDetectorRef;
1191
- private _unsubscribeAll;
1014
+ private readonly _destroyRef;
1192
1015
  constructor();
1193
1016
  ngOnInit(): void;
1194
- ngOnDestroy(): void;
1195
1017
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTreeTypeComponent, never>;
1196
1018
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTreeTypeComponent, "cmat-select-tree-type", never, {}, {}, never, never, true, never>;
1197
1019
  }
@@ -1220,10 +1042,9 @@ declare class CmatSelectTableTypeComponent extends FieldType$1<FieldTypeConfig<S
1220
1042
  urlData: CmatSelectTableDataSource$1<CmatSelectTableRow$1>;
1221
1043
  private _http;
1222
1044
  private _changeDetectorRef;
1223
- private _unsubscribeAll;
1045
+ private readonly _destroyRef;
1224
1046
  constructor();
1225
1047
  ngOnInit(): void;
1226
- ngOnDestroy(): void;
1227
1048
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTableTypeComponent, never>;
1228
1049
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTableTypeComponent, "cmat-select-table-type", never, {}, {}, never, never, true, never>;
1229
1050
  }
@@ -1296,7 +1117,7 @@ interface TagsProps extends CustomFormFieldProps {
1296
1117
  value?: string;
1297
1118
  };
1298
1119
  }
1299
- declare class CmatTagsTypeComponent extends FieldType<FieldTypeConfig<TagsProps>> implements OnInit, OnDestroy {
1120
+ declare class CmatTagsTypeComponent extends FieldType<FieldTypeConfig<TagsProps>> implements OnInit {
1300
1121
  private _tagsPanelOrigin;
1301
1122
  private _tagsPanel;
1302
1123
  urlData: [];
@@ -1305,14 +1126,14 @@ declare class CmatTagsTypeComponent extends FieldType<FieldTypeConfig<TagsProps>
1305
1126
  private _overlay;
1306
1127
  private _viewContainerRef;
1307
1128
  private _changeDetectorRef;
1129
+ private readonly _destroyRef;
1308
1130
  private _filteredItems;
1131
+ private readonly _filteredItems$;
1309
1132
  private _tagsPanelOverlayRef;
1310
- private _unsubscribeAll;
1311
1133
  constructor();
1312
1134
  get filteredItems$(): Observable<any[] | null>;
1313
1135
  get tags(): any[];
1314
1136
  ngOnInit(): void;
1315
- ngOnDestroy(): void;
1316
1137
  openTagsPanel(): void;
1317
1138
  filterTags(event: any): void;
1318
1139
  toggleTag(tag: any): void;
@@ -1381,12 +1202,11 @@ declare class CmatQuillTypeComponent extends FieldType<FieldTypeConfig<QuillProp
1381
1202
  private _fileService;
1382
1203
  private _urlStateConfigService;
1383
1204
  private _changeDetectorRef;
1205
+ private readonly _destroyRef;
1384
1206
  private _editorInstance;
1385
1207
  private _imgIds;
1386
1208
  private _config;
1387
- private _unsubscribeAll;
1388
1209
  constructor();
1389
- ngOnDestroy(): void;
1390
1210
  ngAfterViewInit(): void;
1391
1211
  fileChangeEvent(file: any): void;
1392
1212
  editorCreated(editorInstance: any): void;
@@ -1497,111 +1317,50 @@ declare class CmatDateRangeComponent implements ControlValueAccessor, OnInit, On
1497
1317
  private _timeRange;
1498
1318
  private _readonly;
1499
1319
  private readonly _timeRegExp;
1500
- private _unsubscribeAll;
1501
1320
  constructor();
1502
1321
  get readonly(): boolean;
1503
1322
  set readonly(value: boolean);
1504
1323
  get dateFormat(): string;
1505
1324
  set dateFormat(value: string);
1506
- /**
1507
- * Setter & getter for timeFormat input */
1508
1325
  get timeFormat(): string;
1509
1326
  set timeFormat(value: string);
1510
- /**
1511
- * Setter & getter for timeRange input */
1512
1327
  get timeRange(): boolean;
1513
1328
  set timeRange(value: boolean);
1514
- /**
1515
- * Setter & getter for range input */
1516
1329
  get range(): any;
1517
1330
  set range(value: any);
1518
- /**
1519
- * Update the form model on change
1520
- *
1521
- * @param fn
1522
- */
1523
1331
  registerOnChange(fn: any): void;
1524
- /**
1525
- * Update the form model on blur
1526
- *
1527
- * @param fn
1528
- */
1529
1332
  registerOnTouched(fn: any): void;
1530
- /**
1531
- * Write to view from model when the form model changes programmatically
1532
- *
1533
- * @param range
1534
- */
1535
1333
  writeValue(range: {
1536
1334
  start: string;
1537
1335
  end: string;
1538
1336
  }): void;
1539
1337
  ngOnInit(): void;
1540
- /**
1541
- * On destroy
1542
- */
1543
1338
  ngOnDestroy(): void;
1544
- /**
1545
- * Open the picker panel
1546
- */
1547
1339
  openPickerPanel(): void;
1548
- /**
1549
- * Get month label
1550
- *
1551
- * @param month
1552
- */
1553
1340
  getMonthLabel(month: number): string | void;
1554
- /**
1555
- * Date class function to add/remove class names to calendar days
1556
- */
1557
1341
  dateClass(): any;
1558
- /**
1559
- * Date filter to enable/disable calendar days
1560
- */
1561
1342
  dateFilter(): any;
1562
- /**
1563
- * On selected date change
1564
- *
1565
- * @param date
1566
- */
1567
1343
  onSelectedDateChange(date: Dayjs): void;
1568
- /**
1569
- * Go to previous month on both views
1570
- */
1571
1344
  prev(): void;
1572
- /**
1573
- * Go to next month on both views
1574
- */
1575
1345
  next(): void;
1576
- /**
1577
- * Update the start time
1578
- *
1579
- * @param event
1580
- */
1581
1346
  updateStartTime(event: any): void;
1582
- /**
1583
- * Update the end time
1584
- *
1585
- * @param event
1586
- */
1587
1347
  updateEndTime(event: any): void;
1588
- /**
1589
- * Initialize
1590
- *
1591
- * @private
1592
- */
1593
1348
  private _init;
1594
- /**
1595
- * Parse the time from the inputs
1596
- *
1597
- * @param value
1598
- * @private
1599
- */
1600
1349
  private _parseTime;
1601
1350
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDateRangeComponent, never>;
1602
1351
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDateRangeComponent, "cmat-date-range", ["cmatDateRange"], { "controlClass": { "alias": "controlClass"; "required": false; }; "initData": { "alias": "initData"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "timeRange": { "alias": "timeRange"; "required": false; }; "range": { "alias": "range"; "required": false; }; }, { "rangeChanged": "rangeChanged"; }, never, never, true, never>;
1603
1352
  }
1604
1353
 
1354
+ declare class CmatDateTimeDisplayComponent {
1355
+ value: string | number | Date | null | undefined;
1356
+ format: string;
1357
+ timezone: string;
1358
+ prefix: string;
1359
+ emptyText: string;
1360
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDateTimeDisplayComponent, never>;
1361
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatDateTimeDisplayComponent, "cmat-date-time-display", never, { "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; }, {}, never, never, true, never>;
1362
+ }
1363
+
1605
1364
  type CmatDrawerMode = 'over' | 'side';
1606
1365
  type CmatDrawerPosition = 'left' | 'right';
1607
1366
 
@@ -1637,36 +1396,10 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
1637
1396
  open(): void;
1638
1397
  close(): void;
1639
1398
  toggle(): void;
1640
- /**
1641
- * Enable the animations
1642
- *
1643
- * @private
1644
- */
1645
1399
  private _enableAnimations;
1646
- /**
1647
- * Disable the animations
1648
- *
1649
- * @private
1650
- */
1651
1400
  private _disableAnimations;
1652
- /**
1653
- * Show the backdrop
1654
- *
1655
- * @private
1656
- */
1657
1401
  private _showOverlay;
1658
- /**
1659
- * Hide the backdrop
1660
- *
1661
- * @private
1662
- */
1663
1402
  private _hideOverlay;
1664
- /**
1665
- * Open/close the drawer
1666
- *
1667
- * @param open
1668
- * @private
1669
- */
1670
1403
  private _toggleOpened;
1671
1404
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDrawerComponent, never>;
1672
1405
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDrawerComponent, "cmat-drawer", ["cmatDrawer"], { "fixed": { "alias": "fixed"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; }, { "fixedChanged": "fixedChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["*"], true, never>;
@@ -1674,232 +1407,70 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
1674
1407
 
1675
1408
  declare class CmatDrawerService {
1676
1409
  private _componentRegistry;
1677
- /**
1678
- * Register drawer component
1679
- *
1680
- * @param name
1681
- * @param component
1682
- */
1683
1410
  registerComponent(name: string, component: CmatDrawerComponent): void;
1684
- /**
1685
- * Deregister drawer component
1686
- *
1687
- * @param name
1688
- */
1689
1411
  deregisterComponent(name: string): void;
1690
- /**
1691
- * Get drawer component from the registry
1692
- *
1693
- * @param name
1694
- */
1695
1412
  getComponent(name: string): CmatDrawerComponent | void;
1696
1413
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDrawerService, never>;
1697
1414
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatDrawerService>;
1698
1415
  }
1699
1416
 
1700
1417
  declare class CmatEmptyStateComponent {
1701
- /**
1702
- * 图标名称。
1703
- */
1704
1418
  icon: string;
1705
- /**
1706
- * 标题。
1707
- */
1708
1419
  title: string;
1709
- /**
1710
- * 说明文字。
1711
- */
1712
1420
  description: string;
1713
- /**
1714
- * 按钮文字。
1715
- */
1716
1421
  ctaLabel: string;
1717
- /**
1718
- * 按钮是否禁用。
1719
- */
1720
1422
  ctaDisabled: boolean;
1721
- /**
1722
- * 点击按钮事件。
1723
- */
1724
1423
  ctaClick: EventEmitter<void>;
1725
- /**
1726
- * 触发操作。
1727
- */
1728
1424
  emitAction(): void;
1729
1425
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatEmptyStateComponent, never>;
1730
1426
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatEmptyStateComponent, "cmat-empty-state", never, { "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ctaLabel": { "alias": "ctaLabel"; "required": false; }; "ctaDisabled": { "alias": "ctaDisabled"; "required": false; }; }, { "ctaClick": "ctaClick"; }, never, never, true, never>;
1731
1427
  }
1732
1428
 
1733
- declare class CmatFullscreenComponent {
1734
- iconTpl: TemplateRef<any>;
1735
- tooltip: string;
1736
- private _document;
1737
- toggleFullscreen(): void;
1738
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatFullscreenComponent, never>;
1739
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatFullscreenComponent, "cmat-fullscreen", ["cmatFullscreen"], { "iconTpl": { "alias": "iconTpl"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
1429
+ declare class CmatFilePreviewComponent {
1430
+ name: string;
1431
+ description: string;
1432
+ fileType: string;
1433
+ size: string;
1434
+ src: any;
1435
+ previewImage: boolean;
1436
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatFilePreviewComponent, never>;
1437
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatFilePreviewComponent, "cmat-file-preview", never, { "name": { "alias": "name"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fileType": { "alias": "fileType"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "previewImage": { "alias": "previewImage"; "required": false; }; }, {}, never, never, true, never>;
1740
1438
  }
1741
1439
 
1742
- declare class CmatFilterToolbarComponent implements OnInit, OnDestroy {
1743
- /**
1744
- * 标题。
1745
- */
1440
+ declare class CmatFilterToolbarComponent implements OnInit {
1746
1441
  title: string;
1747
- /**
1748
- * 说明文字。
1749
- */
1750
1442
  description: string;
1751
- /**
1752
- * 搜索框占位符。
1753
- */
1754
1443
  searchPlaceholder: string;
1755
- /**
1756
- * 是否显示搜索框。
1757
- */
1758
1444
  showSearch: boolean;
1759
- /**
1760
- * 当前搜索内容。
1761
- */
1762
1445
  searchText: string;
1763
- /**
1764
- * 是否允许清空搜索内容。
1765
- */
1766
1446
  clearable: boolean;
1767
- /**
1768
- * 搜索内容变化事件。
1769
- */
1770
1447
  searchTextChange: EventEmitter<string>;
1771
- /**
1772
- * 清空事件。
1773
- */
1774
1448
  clear: EventEmitter<void>;
1775
- /**
1776
- * 搜索提交事件。
1777
- */
1778
1449
  searchSubmit: EventEmitter<string>;
1779
1450
  hostClass: string;
1780
1451
  searchControl: FormControl<string | null>;
1781
- private readonly _unsubscribeAll;
1782
- /**
1783
- * 初始化搜索联动。
1784
- */
1452
+ private readonly _destroyRef;
1785
1453
  ngOnInit(): void;
1786
- /**
1787
- * 释放订阅。
1788
- */
1789
- ngOnDestroy(): void;
1790
- /**
1791
- * 提交搜索。
1792
- */
1793
1454
  submitSearch(): void;
1794
- /**
1795
- * 清空搜索。
1796
- */
1797
1455
  clearSearch(): void;
1798
1456
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatFilterToolbarComponent, never>;
1799
1457
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatFilterToolbarComponent, "cmat-filter-toolbar", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; }, { "searchTextChange": "searchTextChange"; "clear": "clear"; "searchSubmit": "searchSubmit"; }, never, ["[cmatFilterToolbarActions]"], true, never>;
1800
1458
  }
1801
1459
 
1802
- declare class CmatFilePreviewComponent {
1803
- /**
1804
- * 文件名。
1805
- */
1806
- name: string;
1807
- /**
1808
- * 文件描述。
1809
- */
1810
- description: string;
1811
- /**
1812
- * 文件类型。
1813
- */
1814
- fileType: string;
1815
- /**
1816
- * 文件大小。
1817
- */
1818
- size: string;
1819
- /**
1820
- * 预览地址。
1821
- */
1822
- src: any;
1823
- /**
1824
- * 是否预览图片。
1825
- */
1826
- previewImage: boolean;
1827
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatFilePreviewComponent, never>;
1828
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatFilePreviewComponent, "cmat-file-preview", never, { "name": { "alias": "name"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fileType": { "alias": "fileType"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "previewImage": { "alias": "previewImage"; "required": false; }; }, {}, never, never, true, never>;
1829
- }
1830
-
1831
- declare class CmatInlineLoadingComponent {
1832
- /**
1833
- * 说明文字。
1834
- */
1835
- message: string;
1836
- /**
1837
- * 圆环大小。
1838
- */
1839
- diameter: number;
1840
- /**
1841
- * 是否显示文字。
1842
- */
1843
- showText: boolean;
1844
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatInlineLoadingComponent, never>;
1845
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatInlineLoadingComponent, "cmat-inline-loading", never, { "message": { "alias": "message"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; }, {}, never, never, true, never>;
1846
- }
1847
-
1848
- declare class CmatCodeEditorComponent {
1849
- /**
1850
- * 编辑器内容。
1851
- */
1852
- value: string;
1853
- /**
1854
- * 编程语言。
1855
- */
1856
- language: string;
1857
- /**
1858
- * 编辑器高度。
1859
- */
1860
- height: string;
1861
- /**
1862
- * 是否只读。
1863
- */
1864
- readOnly: boolean;
1865
- /**
1866
- * 编辑器配置。
1867
- */
1868
- options: any;
1869
- private readonly _document;
1870
- /**
1871
- * Monaco 模型。
1872
- */
1873
- get model(): NgxEditorModel;
1874
- get editorOptions(): any;
1875
- private get _isDarkTheme();
1876
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatCodeEditorComponent, never>;
1877
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatCodeEditorComponent, "cmat-code-editor", never, { "value": { "alias": "value"; "required": false; }; "language": { "alias": "language"; "required": false; }; "height": { "alias": "height"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
1460
+ declare class CmatFormActionsComponent {
1461
+ align: 'start' | 'center' | 'end';
1462
+ divider: boolean;
1463
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatFormActionsComponent, never>;
1464
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatFormActionsComponent, "cmat-form-actions", never, { "align": { "alias": "align"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["[cmatFormActionsLeft]", "[cmatFormActions]"], true, never>;
1878
1465
  }
1879
1466
 
1880
- declare class CmatDateTimeDisplayComponent {
1881
- /**
1882
- * 日期值。
1883
- */
1884
- value: string | number | Date | null | undefined;
1885
- /**
1886
- * 格式化模板。
1887
- */
1888
- format: string;
1889
- /**
1890
- * 时区。
1891
- */
1892
- timezone: string;
1893
- /**
1894
- * 前缀文字。
1895
- */
1896
- prefix: string;
1897
- /**
1898
- * 无值占位文字。
1899
- */
1900
- emptyText: string;
1901
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatDateTimeDisplayComponent, never>;
1902
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatDateTimeDisplayComponent, "cmat-date-time-display", never, { "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; }, {}, never, never, true, never>;
1467
+ declare class CmatFullscreenComponent {
1468
+ iconTpl: TemplateRef<any>;
1469
+ tooltip: string;
1470
+ private _document;
1471
+ toggleFullscreen(): void;
1472
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatFullscreenComponent, never>;
1473
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatFullscreenComponent, "cmat-fullscreen", ["cmatFullscreen"], { "iconTpl": { "alias": "iconTpl"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
1903
1474
  }
1904
1475
 
1905
1476
  declare class CmatHighlightComponent implements OnChanges, AfterViewInit {
@@ -1937,21 +1508,9 @@ declare class CmatImageComponent {
1937
1508
  width: number | undefined;
1938
1509
  height: number | undefined;
1939
1510
  loading: 'lazy' | 'eager' | undefined;
1940
- /**
1941
- * 要附加对话框的目标元素,有效值是“body”或另一个元素的本地ng模板变量(注意:使用带括号的绑定来绑定模板变量,例如[appedTo]=“mydiv”用于变量名为#mydiv的div元素)。
1942
- */
1943
1511
  appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined;
1944
- /**
1945
- * 启动预览功能。
1946
- */
1947
1512
  preview: boolean;
1948
- /**
1949
- * 监听预览显示/隐藏.
1950
- */
1951
1513
  previewShowChange: EventEmitter<boolean>;
1952
- /**
1953
- * 如果加载图像文件时发生错误,则会触发此事件.
1954
- */
1955
1514
  imageErrorEvent: EventEmitter<Event>;
1956
1515
  el: ElementRef<any>;
1957
1516
  maskVisible: boolean;
@@ -1994,6 +1553,14 @@ declare class CmatImageComponent {
1994
1553
  static ngAcceptInputType_preview: unknown;
1995
1554
  }
1996
1555
 
1556
+ declare class CmatInlineLoadingComponent {
1557
+ message: string;
1558
+ diameter: number;
1559
+ showText: boolean;
1560
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatInlineLoadingComponent, never>;
1561
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatInlineLoadingComponent, "cmat-inline-loading", never, { "message": { "alias": "message"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; }, {}, never, never, true, never>;
1562
+ }
1563
+
1997
1564
  declare class CmatJsonEditorComponent implements OnInit, OnChanges, OnDestroy {
1998
1565
  options: any;
1999
1566
  data: any;
@@ -2071,7 +1638,7 @@ declare class CmatKnobInputComponent implements MatFormFieldControl<any>, OnDest
2071
1638
  get disabled(): boolean;
2072
1639
  set disabled(value: BooleanInput);
2073
1640
  protected _disabled: boolean;
2074
- onKeyDown(event: KeyboardEvent): void;
1641
+ onKeyDown(event: Event): void;
2075
1642
  onMouseDown(event: MouseEvent): void;
2076
1643
  onMouseUp(event: MouseEvent): void;
2077
1644
  onTouchStart(event: TouchEvent): void;
@@ -2175,17 +1742,11 @@ declare enum CmatDatetimepickerFilterType {
2175
1742
  MINUTE = 2
2176
1743
  }
2177
1744
 
2178
- /** Possible types for datetimepicker. */
2179
1745
  type CmatDatetimepickerType = 'date' | 'time' | 'month' | 'year' | 'datetime';
2180
- /** Possible views for datetimepicker calendar. */
2181
1746
  type CmatCalendarView = 'clock' | 'month' | 'year' | 'multi-year';
2182
- /** Possible types for AM / PM */
2183
1747
  type CmatAMPM = 'AM' | 'PM';
2184
- /** Possible modes for datetimepicker dropdown display. */
2185
1748
  type CmatDatetimepickerMode = 'auto' | 'portrait' | 'landscape';
2186
- /** Possible positions for the datetimepicker dropdown along the X axis. */
2187
1749
  type DatetimepickerDropdownPositionX = 'start' | 'end';
2188
- /** Possible positions for the datetimepicker dropdown along the Y axis. */
2189
1750
  type DatetimepickerDropdownPositionY = 'above' | 'below';
2190
1751
  type CmatClockView = 'hour' | 'minute';
2191
1752
 
@@ -2193,24 +1754,17 @@ declare const CLOCK_RADIUS = 50;
2193
1754
  declare const CLOCK_INNER_RADIUS = 27.5;
2194
1755
  declare const CLOCK_OUTER_RADIUS = 41.25;
2195
1756
  declare const CLOCK_TICK_RADIUS = 7.0833;
2196
- /**
2197
- * A clock that is used as part of the datepicker.
2198
- */
2199
1757
  declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
2200
1758
  userSelection: EventEmitter<void>;
2201
- /** A function used to filter which dates are selectable. */
2202
1759
  dateFilter: (date: D, type: CmatDatetimepickerFilterType) => boolean;
2203
1760
  interval: number;
2204
1761
  twelvehour: boolean;
2205
- /** Emits when the currently selected date changes. */
2206
1762
  selectedChange: EventEmitter<D>;
2207
1763
  activeDateChange: EventEmitter<D>;
2208
1764
  role: string;
2209
1765
  class: string;
2210
- /** Hours and Minutes representing the clock view. */
2211
1766
  hours: any[];
2212
1767
  minutes: any[];
2213
- /** Whether the clock is in hour view. */
2214
1768
  hourView: boolean;
2215
1769
  selectedHour: number;
2216
1770
  selectedMinute: number;
@@ -2224,58 +1778,35 @@ declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
2224
1778
  private _minDate;
2225
1779
  private _maxDate;
2226
1780
  constructor();
2227
- /**
2228
- * The date to display in this clock view.
2229
- */
2230
1781
  get activeDate(): D;
2231
1782
  set activeDate(value: D);
2232
- /** The currently selected date. */
2233
1783
  get selected(): D | null;
2234
1784
  set selected(value: D | null);
2235
- /** The minimum selectable date. */
2236
1785
  get minDate(): D | null;
2237
1786
  set minDate(value: D | null);
2238
- /** The maximum selectable date. */
2239
1787
  get maxDate(): D | null;
2240
1788
  set maxDate(value: D | null);
2241
- /** Whether the clock should be started in hour or minute view. */
2242
1789
  set startView(value: CmatClockView);
2243
1790
  get hand(): any;
2244
- /** Handles mousedown events on the clock body. */
2245
1791
  handleMousedown(event: MouseEvent): void;
2246
1792
  ngAfterContentInit(): void;
2247
1793
  handleMousemove(event: any): void;
2248
1794
  handleMouseup(): void;
2249
- /** Initializes this clock view. */
2250
1795
  private _init;
2251
- /**
2252
- * Set Time
2253
- *
2254
- * @param event
2255
- */
2256
1796
  private _setTime;
2257
1797
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerClockComponent<any>, never>;
2258
1798
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerClockComponent<any>, "cmat-datetimepicker-clock", ["cmatDatetimepickerClock"], { "dateFilter": { "alias": "dateFilter"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; }, never, never, true, never>;
2259
1799
  }
2260
1800
 
2261
- /**
2262
- * A calendar that is used as part of the datepicker.
2263
- */
2264
1801
  declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit, OnDestroy {
2265
1802
  userSelection: EventEmitter<void>;
2266
- /** Active multi year view when click on year. */
2267
1803
  multiYearSelector: boolean;
2268
- /** Whether the calendar should be started in month or year view. */
2269
1804
  startView: CmatCalendarView;
2270
1805
  twelvehour: boolean;
2271
1806
  timeInterval: number;
2272
- /** A function used to filter which dates are selectable. */
2273
1807
  dateFilter: (date: D, type: CmatDatetimepickerFilterType) => boolean;
2274
- /** Prevent user to select same date time */
2275
1808
  preventSameDateTimeSelection: boolean;
2276
- /** Emits when the currently selected date changes. */
2277
1809
  selectedChange: EventEmitter<D>;
2278
- /** Emits when the view has been changed. **/
2279
1810
  viewChanged: EventEmitter<CmatCalendarView>;
2280
1811
  class: string;
2281
1812
  label: string;
@@ -2284,7 +1815,6 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
2284
1815
  AMPM: CmatAMPM;
2285
1816
  clockView: CmatClockView;
2286
1817
  calendarState: string;
2287
- /** Whether the calendar is in month view. */
2288
1818
  private _elementRef;
2289
1819
  private _intl;
2290
1820
  private _adapter;
@@ -2303,34 +1833,20 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
2303
1833
  constructor();
2304
1834
  get type(): CmatDatetimepickerType;
2305
1835
  set type(value: CmatDatetimepickerType);
2306
- /** A date representing the period (month or year) to start the calendar in. */
2307
1836
  get startAt(): D | null;
2308
1837
  set startAt(value: D | null);
2309
- /**
2310
- * Whether the calendar is in time mode. In time mode the calendar clock gets time input elements rather then just clock
2311
- *
2312
- * When touchUi is enabled this will be disabled
2313
- */
2314
1838
  get timeInput(): boolean;
2315
1839
  set timeInput(value: boolean);
2316
- /** The currently selected date. */
2317
1840
  get selected(): D | null;
2318
1841
  set selected(value: D | null);
2319
- /** The minimum selectable date. */
2320
1842
  get minDate(): D | null;
2321
1843
  set minDate(value: D | null);
2322
- /** The maximum selectable date. */
2323
1844
  get maxDate(): D | null;
2324
1845
  set maxDate(value: D | null);
2325
- /**
2326
- * The current active date. This determines which time period is shown and which date is
2327
- * highlighted when using keyboard navigation.
2328
- */
2329
1846
  get activeDate(): D;
2330
1847
  set activeDate(value: D);
2331
1848
  get currentView(): CmatCalendarView;
2332
1849
  set currentView(view: CmatCalendarView);
2333
- /** The label for the current calendar view. */
2334
1850
  get yearButtonText(): string;
2335
1851
  get yearPeriodText(): string;
2336
1852
  get yearButtonLabel(): string;
@@ -2343,16 +1859,12 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
2343
1859
  get prevButtonLabel(): string;
2344
1860
  get nextButtonLabel(): string;
2345
1861
  handleCalendarBodyKeydown(event: KeyboardEvent): void;
2346
- /** Date filter for the month and year views. */
2347
1862
  dateFilterForViews: (date: D) => boolean;
2348
1863
  userSelected(): void;
2349
1864
  ngAfterContentInit(): void;
2350
1865
  ngOnDestroy(): void;
2351
- /** Handles date selection in the month view. */
2352
1866
  dateSelected(date: D): void;
2353
- /** Handles month selection in the year view. */
2354
1867
  monthSelected(month: D): void;
2355
- /** Handles year selection in the multi year view. */
2356
1868
  yearSelected(year: D): void;
2357
1869
  timeSelected(date: D): void;
2358
1870
  dialTimeSelected(date: D): void;
@@ -2364,35 +1876,18 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
2364
1876
  dateClicked(): void;
2365
1877
  hoursClicked(): void;
2366
1878
  minutesClicked(): void;
2367
- /** Handles user clicks on the previous button. */
2368
1879
  previousClicked(): void;
2369
- /** Handles user clicks on the next button. */
2370
1880
  nextClicked(): void;
2371
- /** Whether the previous period button is enabled. */
2372
1881
  previousEnabled(): boolean;
2373
- /** Whether the next period button is enabled. */
2374
1882
  nextEnabled(): boolean;
2375
1883
  focusActiveCell(): void;
2376
1884
  calendarStateDone(event: AnimationEvent): void;
2377
- /** Whether the two dates represent the same view in the current view mode (month or year). */
2378
1885
  private _isSameView;
2379
- /** Handles keydown events on the calendar body when calendar is in month view. */
2380
1886
  private _handleCalendarBodyKeydownInMonthView;
2381
- /** Handles keydown events on the calendar body when calendar is in year view. */
2382
1887
  private _handleCalendarBodyKeydownInYearView;
2383
- /** Handles keydown events on the calendar body when calendar is in multi-year view. */
2384
1888
  private _handleCalendarBodyKeydownInMultiYearView;
2385
- /** Handles keydown events on the calendar body when calendar is in month view. */
2386
1889
  private _handleCalendarBodyKeydownInClockView;
2387
- /**
2388
- * Determine the date for the month that comes before the given month in the same column in the
2389
- * calendar table.
2390
- */
2391
1890
  private _prevMonthInSameCol;
2392
- /**
2393
- * Determine the date for the month that comes after the given month in the same column in the
2394
- * calendar table.
2395
- */
2396
1891
  private _nextMonthInSameCol;
2397
1892
  private _changeCalendarState;
2398
1893
  private _2digit;
@@ -2400,9 +1895,6 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
2400
1895
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerCalendarComponent<any>, "cmat-datetimepicker-calendar", ["cmatDatetimepickerCalendar"], { "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "type": { "alias": "type"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; "viewChanged": "viewChanged"; }, never, never, true, never>;
2401
1896
  }
2402
1897
 
2403
- /**
2404
- * An internal class that represents the data corresponding to a single calendar cell.
2405
- */
2406
1898
  declare class CmatDatetimepickerCalendarCellComponent {
2407
1899
  value: number;
2408
1900
  displayValue: string;
@@ -2410,30 +1902,17 @@ declare class CmatDatetimepickerCalendarCellComponent {
2410
1902
  enabled: boolean;
2411
1903
  constructor(value: number, displayValue: string, ariaLabel: string, enabled: boolean);
2412
1904
  }
2413
- /**
2414
- * An internal component used to display calendar data in a table.
2415
- */
2416
1905
  declare class CmatDatetimepickerCalendarBodyComponent {
2417
- /** The label for the table. (e.g. "Jan 2017"). */
2418
1906
  label: string;
2419
- /** The cells to display in the table. */
2420
1907
  rows: CmatDatetimepickerCalendarCellComponent[][];
2421
- /** The value in the table that corresponds to today. */
2422
1908
  todayValue: number | null;
2423
- /** The value in the table that is currently selected. */
2424
1909
  selectedValue: number | null;
2425
- /** The minimum number of free cells needed to fit the label in the first row. */
2426
1910
  labelMinRequiredCells: number;
2427
- /** The number of columns in the table. */
2428
1911
  numCols: number;
2429
- /** Whether to allow selection of disabled cells. */
2430
1912
  allowDisabledSelection: boolean;
2431
- /** The cell number of the active cell in the table. */
2432
1913
  activeCell: number;
2433
- /** Emits when a new value is selected. */
2434
1914
  selectedValueChange: EventEmitter<number>;
2435
1915
  class: string;
2436
- /** The number of blank cells to put at the beginning for the first row. */
2437
1916
  get _firstRowOffset(): number;
2438
1917
  cellClicked(cell: CmatDatetimepickerCalendarCellComponent): void;
2439
1918
  isActiveCell(rowIndex: number, colIndex: number): boolean;
@@ -2443,29 +1922,18 @@ declare class CmatDatetimepickerCalendarBodyComponent {
2443
1922
 
2444
1923
  declare const CMAT_DATETIMEPICKER_VALUE_ACCESSOR: any;
2445
1924
  declare const CMAT_DATETIMEPICKER_VALIDATORS: any;
2446
- /**
2447
- * An event used for datepicker input and change events. We don't always have access to a native
2448
- * input or change event because the event may have been triggered by the user clicking on the
2449
- * calendar popup. For consistency, we always use MatDatepickerInputEvent instead.
2450
- */
2451
1925
  declare class CmatDatetimepickerInputEvent<D> {
2452
1926
  target: CmatDatetimepickerInputDirective<D>;
2453
1927
  targetElement: HTMLElement;
2454
- /** The new value for the target datepicker input. */
2455
1928
  value: D | null;
2456
1929
  constructor(target: CmatDatetimepickerInputDirective<D>, targetElement: HTMLElement);
2457
1930
  }
2458
- /** Directive used to connect an input to a MatDatepicker. */
2459
1931
  declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, ControlValueAccessor, OnDestroy, Validator {
2460
- /** Emits when a `change` event is fired on this `<input>`. */
2461
1932
  dateChange: EventEmitter<CmatDatetimepickerInputEvent<D>>;
2462
- /** Emits when an `input` event is fired on this `<input>`. */
2463
1933
  dateInput: EventEmitter<CmatDatetimepickerInputEvent<D>>;
2464
1934
  datetimepicker: CmatDatetimepickerComponent<D>;
2465
1935
  dateFilter: (date: D | null, type: CmatDatetimepickerFilterType) => boolean;
2466
- /** Emits when the value changes (either due to user input or programmatic change). */
2467
1936
  valueChange: EventEmitter<D | null>;
2468
- /** Emits when the disabled state has changed */
2469
1937
  disabledChange: EventEmitter<boolean>;
2470
1938
  private _elementRef;
2471
1939
  private _dateAdapter;
@@ -2473,39 +1941,27 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
2473
1941
  private _formField;
2474
1942
  private _datepickerSubscription;
2475
1943
  private _localeSubscription;
2476
- /** Whether the last value set on the input was valid. */
2477
1944
  private _lastValueValid;
2478
1945
  private _value;
2479
1946
  private _min;
2480
1947
  private _max;
2481
1948
  private _disabled;
2482
1949
  constructor();
2483
- /** The datepicker that this input is associated with. */
2484
1950
  set cmatDatetimepicker(value: CmatDatetimepickerComponent<D>);
2485
1951
  set cmatDatepickerFilter(filter: (date: D | null, type: CmatDatetimepickerFilterType) => boolean);
2486
- /** The value of the input. */
2487
1952
  get value(): D | null;
2488
1953
  set value(value: D | null);
2489
- /** The minimum valid date. */
2490
1954
  get min(): D | null;
2491
1955
  set min(value: D | null);
2492
- /** The maximum valid date. */
2493
1956
  get max(): D | null;
2494
1957
  set max(value: D | null);
2495
- /** Whether the datepicker-input is disabled. */
2496
1958
  get disabled(): boolean;
2497
1959
  set disabled(value: any);
2498
1960
  ngAfterContentInit(): void;
2499
1961
  ngOnDestroy(): void;
2500
1962
  registerOnValidatorChange(fn: VoidFunction): void;
2501
1963
  validate(c: AbstractControl): ValidationErrors | null;
2502
- /**
2503
- * Gets the element that the datepicker popup should be connected to.
2504
- *
2505
- * @return The element to connect the popup to.
2506
- */
2507
1964
  getConnectedOverlayOrigin(): ElementRef;
2508
- /** Gets the ID of an element that should be used a description for the calendar overlay. */
2509
1965
  getOverlayLabelId(): string | null;
2510
1966
  writeValue(value: D): void;
2511
1967
  registerOnChange(fn: (value: any) => void): void;
@@ -2514,9 +1970,7 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
2514
1970
  onKeydown(event: KeyboardEvent): void;
2515
1971
  onInput(value: string): void;
2516
1972
  onChange(): void;
2517
- /** Handles blur events on the input. */
2518
1973
  onBlur(): void;
2519
- /** Returns the palette used by the input's form field, if any. */
2520
1974
  getThemePalette(): ThemePalette;
2521
1975
  private _registerDatetimepicker;
2522
1976
  private _getDisplayFormat;
@@ -2524,23 +1978,16 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
2524
1978
  private _onTouched;
2525
1979
  private _cvaOnChange;
2526
1980
  private _validatorOnChange;
2527
- /** The form control validator for whether the input parses. */
2528
1981
  private _parseValidator;
2529
- /** The form control validator for the min date. */
2530
1982
  private _minValidator;
2531
- /** The form control validator for the max date. */
2532
1983
  private _maxValidator;
2533
- /** The form control validator for the date filter. */
2534
1984
  private _filterValidator;
2535
- /** The combined form control validator for this input. */
2536
1985
  private _validator;
2537
- /** Formats a value and sets it on the input element. */
2538
1986
  private _formatValue;
2539
1987
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerInputDirective<any>, never>;
2540
1988
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerInputDirective<any>, "input[cmatDatetimepicker]", ["cmatDatepickerInput"], { "cmatDatetimepicker": { "alias": "cmatDatetimepicker"; "required": false; }; "cmatDatepickerFilter": { "alias": "cmatDatepickerFilter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, true, never>;
2541
1989
  }
2542
1990
 
2543
- /** Injection token that determines the scroll handling while the calendar is open. */
2544
1991
  declare const CMAT_DATETIMEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
2545
1992
  declare function CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
2546
1993
  declare const CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
@@ -2552,13 +1999,9 @@ declare class CmatDatetimepickerContentComponent<D> implements OnInit, AfterCont
2552
1999
  _calendar: CmatDatetimepickerCalendarComponent<D>;
2553
2000
  color: ThemePalette;
2554
2001
  datetimepicker: CmatDatetimepickerComponent<D>;
2555
- /** Whether the datetimepicker is above or below the input. */
2556
2002
  isAbove: boolean;
2557
- /** Current state of the animation. */
2558
2003
  animationState: 'enter-dropdown' | 'enter-dialog' | 'leave';
2559
- /** Emits when an animation has finished. */
2560
2004
  readonly animationDone: Subject<void>;
2561
- /** Id of the label for the `role="dialog"` element. */
2562
2005
  dialogLabelId: string | null;
2563
2006
  protected _elementRef: ElementRef<any>;
2564
2007
  private _changeDetectorRef;
@@ -2571,29 +2014,18 @@ declare class CmatDatetimepickerContentComponent<D> implements OnInit, AfterCont
2571
2014
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerContentComponent<any>, "cmat-datetimepicker-content", ["cmatDatetimepickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
2572
2015
  }
2573
2016
  declare class CmatDatetimepickerComponent<D> implements OnDestroy {
2574
- /** The view that the calendar should start in. */
2575
2017
  startView: CmatCalendarView;
2576
2018
  mode: CmatDatetimepickerMode;
2577
2019
  timeInterval: number;
2578
- /** Prevent user to select same date time */
2579
2020
  preventSameDateTimeSelection: boolean;
2580
- /** Preferred position of the datetimepicker in the X axis. */
2581
2021
  xPosition: DatetimepickerDropdownPositionX;
2582
- /** Preferred position of the datetimepicker in the Y axis. */
2583
2022
  yPosition: DatetimepickerDropdownPositionY;
2584
2023
  selectedChanged: EventEmitter<D>;
2585
- /** Emits when the datepicker has been opened. */
2586
2024
  openedStream: EventEmitter<void>;
2587
- /** Emits when the datepicker has been closed. */
2588
2025
  closedStream: EventEmitter<void>;
2589
- /** Emits when the view has been changed. **/
2590
2026
  viewChanged: EventEmitter<CmatCalendarView>;
2591
- /** Whether the calendar is open. */
2592
- /** The id for the datepicker calendar. */
2593
2027
  id: string;
2594
- /** The input element this datepicker is associated with. */
2595
2028
  datetimepickerInput: CmatDatetimepickerInputDirective<D>;
2596
- /** Emits when the datepicker is disabled. */
2597
2029
  disabledChange: Subject<boolean>;
2598
2030
  private _overlay;
2599
2031
  private _injector;
@@ -2603,13 +2035,9 @@ declare class CmatDatetimepickerComponent<D> implements OnDestroy {
2603
2035
  private _dir;
2604
2036
  private _document;
2605
2037
  private _validSelected;
2606
- /** A reference to the overlay into which we've rendered the calendar. */
2607
2038
  private _overlayRef;
2608
- /** Reference to the component instance rendered in the overlay. */
2609
2039
  private _componentRef;
2610
- /** The element that was focused before the datetimepicker was opened. */
2611
2040
  private _focusedElementBeforeOpen;
2612
- /** Unique class that will be added to the backdrop so that the test harnesses can look it up. */
2613
2041
  private _backdropHarnessClass;
2614
2042
  private _inputStateChanges;
2615
2043
  private _multiYearSelector;
@@ -2624,170 +2052,92 @@ declare class CmatDatetimepickerComponent<D> implements OnDestroy {
2624
2052
  private _timeInput;
2625
2053
  private _restoreFocus;
2626
2054
  constructor();
2627
- /** Whether to show multi-year view. */
2628
2055
  get multiYearSelector(): boolean;
2629
2056
  set multiYearSelector(value: boolean);
2630
- /** Whether the clock uses 12 hour format. */
2631
2057
  get twelvehour(): boolean;
2632
2058
  set twelvehour(value: boolean);
2633
- /**
2634
- * Classes to be passed to the date picker panel.
2635
- * Supports string and string array values, similar to `ngClass`.
2636
- */
2637
2059
  get panelClass(): string | string[];
2638
2060
  set panelClass(value: string | string[]);
2639
- /** Whether the calendar is open. */
2640
2061
  get opened(): boolean;
2641
2062
  set opened(value: boolean);
2642
- /** Color palette to use on the datetimepicker's calendar. */
2643
2063
  get color(): ThemePalette;
2644
2064
  set color(value: ThemePalette);
2645
- /** The date to open the calendar to initially. */
2646
2065
  get startAt(): D | null;
2647
2066
  set startAt(date: D | null);
2648
2067
  get type(): CmatDatetimepickerType;
2649
2068
  set type(value: CmatDatetimepickerType);
2650
- /**
2651
- * Whether the calendar is in time mode. In time mode the calendar clock gets time input
2652
- * elements rather then just clock. When `touchUi` is enabled this will be disabled.
2653
- */
2654
2069
  get timeInput(): boolean;
2655
2070
  set timeInput(value: boolean);
2656
- /**
2657
- * Whether the calendar UI is in touch mode. In touch mode the calendar opens in a dialog rather
2658
- * than a popup and elements have more padding to allow for bigger touch targets.
2659
- */
2660
2071
  get touchUi(): boolean;
2661
2072
  set touchUi(value: boolean);
2662
- /** Whether the datepicker pop-up should be disabled. */
2663
2073
  get disabled(): boolean;
2664
2074
  set disabled(value: boolean);
2665
- /**
2666
- * Whether to restore focus to the previously-focused element when the panel is closed.
2667
- * Note that automatic focus restoration is an accessibility feature and it is recommended that
2668
- * you provide your own equivalent, if you decide to turn it off.
2669
- */
2670
2075
  get restoreFocus(): boolean;
2671
2076
  set restoreFocus(value: boolean);
2672
- /** The currently selected date. */
2673
2077
  get selected(): D | null;
2674
2078
  set selected(value: D | null);
2675
- /** The minimum selectable date. */
2676
2079
  get minDate(): D | null;
2677
- /** The maximum selectable date. */
2678
2080
  get maxDate(): D | null;
2679
2081
  get dateFilter(): (date: D | null, type: CmatDatetimepickerFilterType) => boolean;
2680
2082
  ngOnDestroy(): void;
2681
- /**
2682
- * Register an input with this datepicker.
2683
- *
2684
- * @param input The datepicker input to register with this datepicker.
2685
- */
2686
2083
  registerInput(input: CmatDatetimepickerInputDirective<D>): void;
2687
- /** Open the calendar. */
2688
2084
  open(): void;
2689
- /** Close the calendar. */
2690
2085
  close(): void;
2691
- /** Selects the given date */
2692
2086
  select(date: D): void;
2693
2087
  viewChange(type: CmatCalendarView): void;
2694
- /**
2695
- * relevant values from the datetimepicker to the
2696
- * datetimepicker content inside the overlay.
2697
- */
2698
2088
  private _forwardContentValues;
2699
- /** Opens the overlay with the calendar. */
2700
2089
  private _openOverlay;
2701
- /** Destroys the current overlay. */
2702
2090
  private _destroyOverlay;
2703
- /** Gets a position strategy that will open the calendar as a dropdown. */
2704
2091
  private _getDialogStrategy;
2705
- /** Gets a position strategy that will open the calendar as a dropdown. */
2706
2092
  private _getDropdownStrategy;
2707
- /**
2708
- * Sets the positions of the datetimepicker in dropdown mode based on the current configuration.
2709
- */
2710
2093
  private _setConnectedPositions;
2711
- /** Gets an observable that will emit when the overlay is supposed to be closed. */
2712
2094
  private _getCloseStream;
2713
2095
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerComponent<any>, never>;
2714
2096
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerComponent<any>, "cmat-datetimepicker", ["cmatDatetimepicker"], { "startView": { "alias": "startView"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "type": { "alias": "type"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "openedStream": "openedStream"; "closedStream": "closedStream"; "viewChanged": "viewChanged"; }, never, never, true, never>;
2715
2097
  }
2716
2098
 
2717
2099
  declare class CmatDatetimepickerIntl {
2718
- /**
2719
- * Stream to emit from when labels are changed. Use this to notify components when the labels have
2720
- * changed after initialization.
2721
- */
2722
2100
  readonly changes: Subject<void>;
2723
- /** A label for the calendar popup (used by screen readers). */
2724
2101
  calendarLabel: string;
2725
- /** A label for the button used to open the calendar popup (used by screen readers). */
2726
2102
  openCalendarLabel: string;
2727
- /** Label for the button used to close the calendar popup. */
2728
2103
  closeCalendarLabel: string;
2729
- /** A label for the previous month button (used by screen readers). */
2730
2104
  prevMonthLabel: string;
2731
- /** A label for the next month button (used by screen readers). */
2732
2105
  nextMonthLabel: string;
2733
- /** A label for the previous year button (used by screen readers). */
2734
2106
  prevYearLabel: string;
2735
- /** A label for the next year button (used by screen readers). */
2736
2107
  nextYearLabel: string;
2737
- /** A label for the previous multi-year button (used by screen readers). */
2738
2108
  prevMultiYearLabel: string;
2739
- /** A label for the next multi-year button (used by screen readers). */
2740
2109
  nextMultiYearLabel: string;
2741
- /** A label for the 'switch to month view' button (used by screen readers). */
2742
2110
  switchToMonthViewLabel: string;
2743
- /** A label for the 'switch to year view' button (used by screen readers). */
2744
2111
  switchToYearViewLabel: string;
2745
- /** A label for the 'switch to multi-year view' button (used by screen readers). */
2746
2112
  switchToMultiYearViewLabel: string;
2747
- /** A label for the first date of a range of dates (used by screen readers). */
2748
2113
  startDateLabel: string;
2749
- /** A label for the last date of a range of dates (used by screen readers). */
2750
2114
  endDateLabel: string;
2751
- /** A label for the 'switch to clock hour view' button (used by screen readers). */
2752
2115
  switchToClockHourViewLabel: string;
2753
- /** A label for the 'switch to clock minute view' button (used by screen readers). */
2754
2116
  switchToClockMinuteViewLabel: string;
2755
- /** Label used for ok button within the manual time input. */
2756
2117
  okLabel: string;
2757
- /** Label used for cancel button within the manual time input. */
2758
2118
  cancelLabel: string;
2759
- /** Formats a range of years (used for visuals). */
2760
2119
  formatYearRange(start: string, end: string): string;
2761
- /** Formats a label for a range of years (used by screen readers). */
2762
2120
  formatYearRangeLabel(start: string, end: string): string;
2763
2121
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerIntl, never>;
2764
2122
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatDatetimepickerIntl>;
2765
2123
  }
2766
2124
 
2767
- /** Can be used to override the icon of a `cmatDatetimepickerToggle`. */
2768
2125
  declare class CmatDatetimepickerToggleIconDirective {
2769
2126
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerToggleIconDirective, never>;
2770
2127
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerToggleIconDirective, "[cmatDatetimepickerToggleIcon]", never, {}, {}, never, never, true, never>;
2771
2128
  }
2772
2129
  declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit, OnChanges, OnDestroy {
2773
- /** Datepicker instance that the button will toggle. */
2774
2130
  datetimepicker: CmatDatetimepickerComponent<D>;
2775
- /** Tabindex for the toggle. */
2776
2131
  tabIndex: number;
2777
- /** Screen-reader label for the button. */
2778
2132
  ariaLabel?: string;
2779
- /** Whether ripples on the toggle should be disabled. */
2780
2133
  disableRipple: boolean;
2781
- /** Custom icon set by the consumer. */
2782
2134
  customIcon: CmatDatetimepickerToggleIconDirective;
2783
- /** Underlying button element. */
2784
2135
  button: MatButton;
2785
2136
  class: string;
2786
2137
  protected intl: CmatDatetimepickerIntl;
2787
2138
  private _stateChanges;
2788
2139
  private _disabled;
2789
2140
  private _changeDetectorRef;
2790
- /** Whether the toggle button is disabled. */
2791
2141
  get disabled(): boolean;
2792
2142
  set disabled(value: boolean);
2793
2143
  ngOnChanges(changes: SimpleChanges): void;
@@ -2799,28 +2149,15 @@ declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit,
2799
2149
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerToggleComponent<any>, "cmat-datetimepicker-toggle", ["cmatDatetimepickerToggle"], { "datetimepicker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["customIcon"], ["[cmatDatetimepickerToggleIcon]"], true, never>;
2800
2150
  }
2801
2151
 
2802
- /**
2803
- * An internal component used to display a single month in the datepicker.
2804
- */
2805
2152
  declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentInit, OnDestroy {
2806
2153
  type: CmatDatetimepickerType;
2807
2154
  userSelection: EventEmitter<void>;
2808
- /** A function used to filter which dates are selectable. */
2809
2155
  dateFilter: (date: D) => boolean;
2810
- /** Emits when a new date is selected. */
2811
2156
  selectedChange: EventEmitter<D>;
2812
- /** Grid of calendar cells representing the dates of the month. */
2813
2157
  weeks: CmatDatetimepickerCalendarCellComponent[][];
2814
- /** The number of blank cells in the first row before the 1st of the month. */
2815
2158
  firstWeekOffset: number;
2816
- /**
2817
- * The date of the month that the currently selected Date falls on.
2818
- * Null if the currently selected Date is in another month.
2819
- */
2820
2159
  selectedDate: number | null;
2821
- /** The date of the month that today falls on. Null if today is in another month. */
2822
2160
  todayDate: number | null;
2823
- /** The names of the weekdays. */
2824
2161
  weekdays: {
2825
2162
  long: string;
2826
2163
  narrow: string;
@@ -2834,53 +2171,30 @@ declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentIni
2834
2171
  private _changeDetectorRef;
2835
2172
  private _calendarAnimationListener;
2836
2173
  constructor();
2837
- /**
2838
- * The date to display in this month view (everything other than the month and year is ignored).
2839
- */
2840
2174
  get activeDate(): D;
2841
2175
  set activeDate(value: D);
2842
- /** The currently selected date. */
2843
2176
  get selected(): D;
2844
2177
  set selected(value: D);
2845
2178
  ngAfterContentInit(): void;
2846
2179
  ngOnDestroy(): void;
2847
- /** Handles when a new date is selected. */
2848
2180
  dateSelected(date: number): void;
2849
2181
  calendarStateDone(event: AnimationEvent): void;
2850
- /** Initializes this month view. */
2851
2182
  private _init;
2852
- /** Creates MdCalendarCells for the dates in this month. */
2853
2183
  private _createWeekCells;
2854
- /**
2855
- * Gets the date in this month that the given Date falls on.
2856
- * Returns null if the given Date is in another month.
2857
- */
2858
2184
  private _getDateInCurrentMonth;
2859
2185
  private _changeCalendarState;
2860
2186
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerMonthViewComponent<any>, never>;
2861
2187
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerMonthViewComponent<any>, "cmat-datetimepicker-month-view", ["cmatDatetimepickerMonthView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; }, never, never, true, never>;
2862
2188
  }
2863
2189
 
2864
- /**
2865
- * An internal component used to display a single year in the datepicker.
2866
- */
2867
2190
  declare class CmatDatetimepickerYearViewComponent<D> implements AfterContentInit, OnDestroy {
2868
2191
  userSelection: EventEmitter<void>;
2869
2192
  type: CmatDatetimepickerType;
2870
- /** A function used to filter which dates are selectable. */
2871
2193
  dateFilter: (date: D) => boolean;
2872
- /** Emits when a new month is selected. */
2873
2194
  selectedChange: EventEmitter<D>;
2874
- /** Grid of calendar cells representing the months of the year. */
2875
2195
  months: CmatDatetimepickerCalendarCellComponent[][];
2876
- /** The label for this year (e.g. "2017"). */
2877
2196
  yearLabel: string;
2878
- /** The month in this year that today falls on. Null if today is in a different year. */
2879
2197
  todayMonth: number | null;
2880
- /**
2881
- * The month in this year that the selected Date falls on.
2882
- * Null if the selected Date is in a different year.
2883
- */
2884
2198
  selectedMonth: number | null;
2885
2199
  calendarState: string;
2886
2200
  adapter: DatetimeAdapter$1<D>;
@@ -2891,27 +2205,17 @@ declare class CmatDatetimepickerYearViewComponent<D> implements AfterContentInit
2891
2205
  private _elementRef;
2892
2206
  private _calendarAnimationListener;
2893
2207
  constructor();
2894
- /** The date to display in this year view (everything other than the year is ignored). */
2895
2208
  get activeDate(): D;
2896
2209
  set activeDate(value: D);
2897
- /** The currently selected date. */
2898
2210
  get selected(): D;
2899
2211
  set selected(value: D);
2900
2212
  ngAfterContentInit(): void;
2901
2213
  ngOnDestroy(): void;
2902
- /** Handles when a new month is selected. */
2903
2214
  monthSelected(month: number): void;
2904
2215
  calendarStateDone(event: AnimationEvent): void;
2905
- /** Initializes this month view. */
2906
2216
  private _init;
2907
- /**
2908
- * Gets the month in this year that the given Date falls on.
2909
- * Returns null if the given Date is in another year.
2910
- */
2911
2217
  private _getMonthInCurrentYear;
2912
- /** Creates an MdCalendarCell for the given month. */
2913
2218
  private _createCellForMonth;
2914
- /** Whether the given month is enabled. */
2915
2219
  private _isMonthEnabled;
2916
2220
  private _changeCalendarState;
2917
2221
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerYearViewComponent<any>, never>;
@@ -2945,8 +2249,13 @@ declare class CmatNavigationItem {
2945
2249
  classes?: string;
2946
2250
  };
2947
2251
  children?: CmatNavigationItem[];
2948
- meta?: any;
2949
- permission?: any;
2252
+ meta?: unknown;
2253
+ permission?: unknown;
2254
+ }
2255
+ interface CmatNavigationComponent {
2256
+ close(): void;
2257
+ open(): void;
2258
+ toggle(): void;
2950
2259
  }
2951
2260
  type CmatVerticalNavigationAppearance = 'default' | 'compact' | 'dense' | 'thin';
2952
2261
  type CmatVerticalNavigationMode = 'over' | 'side';
@@ -2960,7 +2269,6 @@ declare class CmatHorizontalNavigationComponent implements OnChanges, OnInit, On
2960
2269
  onRefreshed: ReplaySubject<boolean>;
2961
2270
  private _changeDetectorRef;
2962
2271
  private _cmatNavigationService;
2963
- private _unsubscribeAll;
2964
2272
  ngOnChanges(changes: SimpleChanges): void;
2965
2273
  ngOnInit(): void;
2966
2274
  ngOnDestroy(): void;
@@ -2975,6 +2283,9 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
2975
2283
  static ngAcceptInputType_inner: BooleanInput;
2976
2284
  static ngAcceptInputType_opened: BooleanInput;
2977
2285
  static ngAcceptInputType_transparentOverlay: BooleanInput;
2286
+ classList: string;
2287
+ styleList: string;
2288
+ private _navigationContentEl;
2978
2289
  appearance: CmatVerticalNavigationAppearance;
2979
2290
  autoCollapse: boolean;
2980
2291
  editState: boolean;
@@ -2992,7 +2303,6 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
2992
2303
  readonly openedChanged: EventEmitter<boolean>;
2993
2304
  readonly positionChanged: EventEmitter<CmatVerticalNavigationPosition>;
2994
2305
  readonly editSelectedItemChanged: EventEmitter<CmatNavigationItem>;
2995
- private _navigationContentEl;
2996
2306
  activeAsideItemId: string | null;
2997
2307
  onCollapsableItemCollapsed: ReplaySubject<CmatNavigationItem>;
2998
2308
  onCollapsableItemExpanded: ReplaySubject<CmatNavigationItem>;
@@ -3003,6 +2313,8 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
3003
2313
  private _router;
3004
2314
  private _scrollStrategyOptions;
3005
2315
  private _cmatNavigationService;
2316
+ private readonly _cmatUtilsService;
2317
+ private readonly _destroyRef;
3006
2318
  private _animationsEnabled;
3007
2319
  private _asideOverlay;
3008
2320
  private readonly _handleAsideOverlayClick;
@@ -3010,199 +2322,51 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
3010
2322
  private _hovered;
3011
2323
  private _overlay;
3012
2324
  private _scrollStrategy;
3013
- private _unsubscribeAll;
3014
2325
  constructor();
3015
- /**
3016
- * Host binding for component classes
3017
- */
3018
- get classList(): any;
3019
- /**
3020
- * Host binding for component inline styles
3021
- */
3022
- get styleList(): any;
3023
- /**
3024
- * On mouseenter
3025
- *
3026
- * @private
3027
- */
3028
2326
  onMouseenter(): void;
3029
- /**
3030
- * On mouseleave
3031
- *
3032
- * @private
3033
- */
3034
2327
  onMouseleave(): void;
3035
- /**
3036
- * On changes
3037
- *
3038
- * @param changes
3039
- */
3040
2328
  ngOnChanges(changes: SimpleChanges): void;
3041
- /**
3042
- * On init
3043
- */
3044
2329
  ngOnInit(): void;
3045
- /**
3046
- * After view init
3047
- */
3048
2330
  ngAfterViewInit(): void;
3049
- /**
3050
- * On destroy
3051
- */
3052
2331
  ngOnDestroy(): void;
3053
- /**
3054
- * Refresh the component to apply the changes
3055
- */
3056
2332
  refresh(): void;
3057
- /**
3058
- * Open the navigation
3059
- */
3060
2333
  open(): void;
3061
- /**
3062
- * Close the navigation
3063
- */
3064
2334
  close(): void;
3065
- /**
3066
- * Toggle the navigation
3067
- */
3068
2335
  toggle(): void;
3069
- /**
3070
- * Open the aside
3071
- *
3072
- * @param item
3073
- */
3074
2336
  openAside(item: CmatNavigationItem): void;
3075
- /**
3076
- * Close the aside
3077
- */
3078
2337
  closeAside(): void;
3079
- /**
3080
- * Toggle the aside
3081
- *
3082
- * @param item
3083
- */
3084
2338
  toggleAside(item: CmatNavigationItem): void;
3085
- /**
3086
- * Track by function for ngFor loops
3087
- *
3088
- * @param index
3089
- * @param item
3090
- */
3091
- trackByFn(index: number, item: any): any;
2339
+ trackByFn(index: number, item: CmatNavigationItem): string | number;
3092
2340
  selectItem(item: CmatNavigationItem): void;
3093
2341
  goToRouterLink(link: string): void;
3094
- /**
3095
- * Enable the animations
3096
- *
3097
- * @private
3098
- */
2342
+ isItemVisible(item: CmatNavigationItem): boolean;
3099
2343
  private _enableAnimations;
3100
- /**
3101
- * Disable the animations
3102
- *
3103
- * @private
3104
- */
3105
2344
  private _disableAnimations;
3106
- /**
3107
- * Show the overlay
3108
- *
3109
- * @private
3110
- */
3111
2345
  private _showOverlay;
3112
- /**
3113
- * Hide the overlay
3114
- *
3115
- * @private
3116
- */
3117
2346
  private _hideOverlay;
3118
- /**
3119
- * Show the aside overlay
3120
- *
3121
- * @private
3122
- */
3123
2347
  private _showAsideOverlay;
3124
- /**
3125
- * Hide the aside overlay
3126
- *
3127
- * @private
3128
- */
3129
2348
  private _hideAsideOverlay;
3130
- /**
3131
- * Open/close the navigation
3132
- *
3133
- * @param open
3134
- * @private
3135
- */
3136
2349
  private _toggleOpened;
2350
+ private _setNavigationOpened;
2351
+ private _applyOpenedState;
2352
+ private _setAsideActive;
2353
+ private _removeOverlayElement;
2354
+ private _syncHostBindings;
3137
2355
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatVerticalNavigationComponent, never>;
3138
2356
  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; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
3139
2357
  }
3140
2358
 
3141
2359
  declare class CmatNavigationService {
3142
- private _componentRegistry;
3143
- private _navigationStore;
3144
- /**
3145
- * Register navigation component
3146
- *
3147
- * @param name
3148
- * @param component
3149
- */
3150
- registerComponent(name: string, component: any): void;
3151
- /**
3152
- * Deregister navigation component
3153
- *
3154
- * @param name
3155
- */
2360
+ private readonly _componentRegistry;
2361
+ private readonly _navigationStore;
2362
+ registerComponent(name: string, component: unknown): void;
3156
2363
  deregisterComponent(name: string): void;
3157
- /**
3158
- * Get navigation component from the registry
3159
- *
3160
- * @param name
3161
- */
3162
- getComponent<T>(name: string): T;
3163
- /**
3164
- * Store the given navigation with the given key
3165
- *
3166
- * @param key
3167
- * @param navigation
3168
- */
2364
+ getComponent<T = unknown>(name: string): T;
3169
2365
  storeNavigation(key: string, navigation: CmatNavigationItem[]): void;
3170
- /**
3171
- * Get navigation from storage by key
3172
- *
3173
- * @param key
3174
- */
3175
2366
  getNavigation(key: string): CmatNavigationItem[];
3176
- /**
3177
- * Delete the navigation from the storage
3178
- *
3179
- * @param key
3180
- */
3181
2367
  deleteNavigation(key: string): void;
3182
- /**
3183
- * Utility function that returns a flattened
3184
- * version of the given navigation array
3185
- *
3186
- * @param navigation
3187
- * @param flatNavigation
3188
- */
3189
2368
  getFlatNavigation(navigation: CmatNavigationItem[], flatNavigation?: CmatNavigationItem[]): CmatNavigationItem[];
3190
- /**
3191
- * Utility function that returns the item
3192
- * with the given id from given navigation
3193
- *
3194
- * @param id
3195
- * @param navigation
3196
- */
3197
2369
  getItem(id: string, navigation: CmatNavigationItem[]): CmatNavigationItem | null;
3198
- /**
3199
- * Utility function that returns the item's parent
3200
- * with the given id from given navigation
3201
- *
3202
- * @param id
3203
- * @param navigation
3204
- * @param parent
3205
- */
3206
2370
  getItemParent(id: string, navigation: CmatNavigationItem[], parent: CmatNavigationItem[] | CmatNavigationItem): CmatNavigationItem[] | CmatNavigationItem | null;
3207
2371
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatNavigationService, never>;
3208
2372
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatNavigationService>;
@@ -3236,7 +2400,7 @@ declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterVi
3236
2400
  ngControl: NgControl;
3237
2401
  private _document;
3238
2402
  private _formBuilder;
3239
- private _unsubscribeAll;
2403
+ private readonly _destroyRef;
3240
2404
  private _activeFocusCount;
3241
2405
  constructor();
3242
2406
  get inputType(): string;
@@ -3320,6 +2484,17 @@ declare class CmatOrgChartComponent {
3320
2484
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatOrgChartComponent, "cmat-org-chart", ["cmatOrgChart"], { "nodes": { "alias": "nodes"; "required": false; }; "enableControlHeight": { "alias": "enableControlHeight"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "detailsBtnTitle": { "alias": "detailsBtnTitle"; "required": false; }; }, { "detailsBtnClick": "detailsBtnClick"; }, never, never, true, never>;
3321
2485
  }
3322
2486
 
2487
+ declare class CmatPageHeaderComponent {
2488
+ title: string;
2489
+ description: string;
2490
+ eyebrow: string;
2491
+ divider: boolean;
2492
+ align: 'start' | 'center';
2493
+ get isCentered(): boolean;
2494
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatPageHeaderComponent, never>;
2495
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatPageHeaderComponent, "cmat-page-header", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "eyebrow": { "alias": "eyebrow"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, ["[cmatPageHeaderActions]"], true, never>;
2496
+ }
2497
+
3323
2498
  declare class CmatPaginationComponent implements OnInit {
3324
2499
  pageChange: EventEmitter<number>;
3325
2500
  pageBoundsCorrection: EventEmitter<number>;
@@ -3331,8 +2506,8 @@ declare class CmatPaginationComponent implements OnInit {
3331
2506
  isScreenSmall: boolean;
3332
2507
  private _cmatMediaWatcherService;
3333
2508
  private _changeDetectorRef;
2509
+ private readonly _destroyRef;
3334
2510
  private _autoHide;
3335
- private _unsubscribeAll;
3336
2511
  get autoHide(): boolean;
3337
2512
  set autoHide(value: boolean);
3338
2513
  ngOnInit(): void;
@@ -3341,11 +2516,7 @@ declare class CmatPaginationComponent implements OnInit {
3341
2516
  }
3342
2517
 
3343
2518
  interface CmatPaginationInstance {
3344
- [prop: string]: any;
3345
- /**
3346
- * An optional ID for the pagination instance. Only useful if you wish to
3347
- * have more than once instance at a time in a given component.
3348
- */
2519
+ [prop: string]: unknown;
3349
2520
  id?: string;
3350
2521
  itemsPerPage: number;
3351
2522
  currentPage: number;
@@ -3353,24 +2524,26 @@ interface CmatPaginationInstance {
3353
2524
  }
3354
2525
 
3355
2526
  declare class CmatPaginationService {
3356
- change: EventEmitter<string>;
3357
- private _instances;
3358
- private _defaultPaginationId;
2527
+ private readonly _change;
2528
+ private readonly _instances;
2529
+ private readonly _defaultPaginationId;
2530
+ get change$(): Observable<string>;
3359
2531
  defaultId(): string;
2532
+ notifyChange(id: string): void;
3360
2533
  register(instance: CmatPaginationInstance): boolean;
3361
- getCurrentPage(id: string): number | void;
3362
- getItemsPerPage(id: string): number | void;
2534
+ getCurrentPage(id: string): number | undefined;
2535
+ getItemsPerPage(id: string): number | undefined;
3363
2536
  setCurrentPage(id: string, page: number): void;
3364
2537
  setTotalItems(id: string, totalItems: number): void;
3365
2538
  setItemsPerPage(id: string, itemsPerPage: number): void;
3366
- getInstance(id?: string): CmatPaginationInstance;
2539
+ getInstance(id?: string): CmatPaginationInstance | undefined;
3367
2540
  private _updateInstance;
3368
2541
  private _clone;
3369
2542
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatPaginationService, never>;
3370
2543
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatPaginationService>;
3371
2544
  }
3372
2545
 
3373
- type Collection<T> = T[];
2546
+ type Collection<T> = readonly T[];
3374
2547
  interface CmatPaginatePipeArgs {
3375
2548
  id?: string;
3376
2549
  currentPage: string | number;
@@ -3378,42 +2551,41 @@ interface CmatPaginatePipeArgs {
3378
2551
  totalItems: string | number;
3379
2552
  }
3380
2553
  interface CmatPipeState {
3381
- collection: any[];
3382
2554
  size: number;
3383
2555
  start?: number;
3384
2556
  end?: number;
3385
- slice: any[];
2557
+ slice: readonly unknown[];
3386
2558
  }
3387
2559
  declare class CmatPaginatePipe implements PipeTransform {
3388
2560
  private service;
3389
- private state;
2561
+ private readonly state;
3390
2562
  transform<T, U extends Collection<T>>(collection: U, args: CmatPaginatePipeArgs): U;
3391
2563
  private createInstance;
3392
2564
  private checkConfig;
3393
2565
  private _saveState;
3394
2566
  private _stateIsIdentical;
2567
+ private _toNumber;
3395
2568
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatPaginatePipe, never>;
3396
2569
  static ɵpipe: i0.ɵɵPipeDeclaration<CmatPaginatePipe, "paginate", true>;
3397
2570
  }
3398
2571
 
3399
2572
  interface Page {
3400
- label: string;
3401
- value: any;
2573
+ label: string | number;
2574
+ value: number;
3402
2575
  }
3403
- declare class CmatPaginationDirective implements OnInit, OnChanges, OnDestroy {
2576
+ declare class CmatPaginationDirective implements OnInit, OnChanges {
3404
2577
  id: string;
3405
2578
  maxSize: number;
3406
2579
  pageChange: EventEmitter<number>;
3407
2580
  pageBoundsCorrection: EventEmitter<number>;
3408
2581
  perPageCountChange: EventEmitter<number>;
3409
2582
  pages: Page[];
3410
- private service;
3411
- private changeDetectorRef;
3412
- private _unsubscribeAll;
2583
+ private readonly service;
2584
+ private readonly changeDetectorRef;
2585
+ private readonly _destroyRef;
3413
2586
  constructor();
3414
2587
  ngOnInit(): void;
3415
2588
  ngOnChanges(): void;
3416
- ngOnDestroy(): void;
3417
2589
  previous(): void;
3418
2590
  next(): void;
3419
2591
  goFirstPage(): void;
@@ -3434,98 +2606,6 @@ declare class CmatPaginationDirective implements OnInit, OnChanges, OnDestroy {
3434
2606
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatPaginationDirective, "pagination-template,[pagination-template]", ["paginationApi"], { "id": { "alias": "id"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; }, { "pageChange": "pageChange"; "pageBoundsCorrection": "pageBoundsCorrection"; "perPageCountChange": "perPageCountChange"; }, never, never, true, never>;
3435
2607
  }
3436
2608
 
3437
- declare class CmatPageHeaderComponent {
3438
- /**
3439
- * 标题。
3440
- */
3441
- title: string;
3442
- /**
3443
- * 副标题说明。
3444
- */
3445
- description: string;
3446
- /**
3447
- * 眉头说明。
3448
- */
3449
- eyebrow: string;
3450
- /**
3451
- * 是否显示底部分割线。
3452
- */
3453
- divider: boolean;
3454
- /**
3455
- * 内容对齐方式。
3456
- */
3457
- align: 'start' | 'center';
3458
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatPageHeaderComponent, never>;
3459
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatPageHeaderComponent, "cmat-page-header", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "eyebrow": { "alias": "eyebrow"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, ["[cmatPageHeaderActions]", "[cmatPageHeaderActions]"], true, never>;
3460
- }
3461
-
3462
- declare class CmatRichTextEditorComponent implements OnChanges {
3463
- /**
3464
- * 编辑器内容。
3465
- */
3466
- value: string;
3467
- /**
3468
- * 占位文字。
3469
- */
3470
- placeholder: string;
3471
- /**
3472
- * 是否只读。
3473
- */
3474
- readOnly: boolean;
3475
- /**
3476
- * 编辑器主题。
3477
- */
3478
- theme: string;
3479
- /**
3480
- * 编辑器最小高度。
3481
- */
3482
- minHeight: string;
3483
- /**
3484
- * 编辑器控件。
3485
- */
3486
- control: FormControl<string | null>;
3487
- /**
3488
- * 同步外部输入值。
3489
- */
3490
- ngOnChanges(changes: SimpleChanges): void;
3491
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatRichTextEditorComponent, never>;
3492
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatRichTextEditorComponent, "cmat-rich-text-editor", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; }, {}, never, never, true, never>;
3493
- }
3494
-
3495
- declare class CmatFormActionsComponent {
3496
- /**
3497
- * 对齐方式。
3498
- */
3499
- align: 'start' | 'center' | 'end';
3500
- /**
3501
- * 是否显示顶部分割线。
3502
- */
3503
- divider: boolean;
3504
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatFormActionsComponent, never>;
3505
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatFormActionsComponent, "cmat-form-actions", never, { "align": { "alias": "align"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["[cmatFormActionsLeft]", "[cmatFormActions]"], true, never>;
3506
- }
3507
-
3508
- declare class CmatTableToolbarComponent {
3509
- /**
3510
- * 标题。
3511
- */
3512
- title: string;
3513
- /**
3514
- * 说明文字。
3515
- */
3516
- description: string;
3517
- /**
3518
- * 记录数量。
3519
- */
3520
- count: number;
3521
- /**
3522
- * 是否显示数量。
3523
- */
3524
- showCount: boolean;
3525
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatTableToolbarComponent, never>;
3526
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatTableToolbarComponent, "cmat-table-toolbar", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "count": { "alias": "count"; "required": false; }; "showCount": { "alias": "showCount"; "required": false; }; }, {}, never, ["[cmatTableToolbarActions]"], true, never>;
3527
- }
3528
-
3529
2609
  type Type$1 = 'text' | 'password';
3530
2610
  declare class CmatPassToggleVisibilityComponent {
3531
2611
  isVisible: boolean;
@@ -3655,27 +2735,18 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
3655
2735
  static ngAcceptInputType_disableAnimation: BooleanInput;
3656
2736
  static ngAcceptInputType_focusTrapEnabled: BooleanInput;
3657
2737
  static ngAcceptInputType_focusTrapAutoCaptureEnabled: BooleanInput;
3658
- /** Event emitted when the popover is closed. */
3659
2738
  closed: EventEmitter<void>;
3660
2739
  templateRef: TemplateRef<any>;
3661
2740
  role: string;
3662
- /** Config object to be passed into the popover's arrow ngStyle */
3663
2741
  popoverPanelStyles: {};
3664
- /** Config object to be passed into the popover's arrow ngStyle */
3665
2742
  popoverArrowStyles: {};
3666
- /** Config object to be passed into the popover's content ngStyle */
3667
2743
  popoverContentStyles: {};
3668
- /** Whether popover's `targetElement` is defined */
3669
2744
  containerPositioning: boolean;
3670
- /** Closing disabled on popover */
3671
2745
  closeDisabled: boolean;
3672
- /** Config object to be passed into the popover's ngClass */
3673
2746
  classList: Record<string, boolean>;
3674
- /** Emits the current animation state whenever it changes. */
3675
2747
  _onAnimationStateChange: EventEmitter<AnimationEvent>;
3676
2748
  private _dir;
3677
2749
  private _elementRef;
3678
- /** Settings for popover, view setters and getters for more detail */
3679
2750
  private _position;
3680
2751
  private _triggerEvent;
3681
2752
  private _scrollStrategy;
@@ -3694,106 +2765,57 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
3694
2765
  private _arrowHeight;
3695
2766
  constructor();
3696
2767
  get position(): CmatPopoverPosition;
3697
- /** Position of the popover. */
3698
2768
  set position(value: CmatPopoverPosition);
3699
- /** Popover trigger event */
3700
2769
  get triggerEvent(): CmatPopoverTriggerEvent;
3701
2770
  set triggerEvent(value: CmatPopoverTriggerEvent);
3702
- /** Popover scroll strategy */
3703
2771
  get scrollStrategy(): CmatPopoverScrollStrategy;
3704
2772
  set scrollStrategy(value: CmatPopoverScrollStrategy);
3705
- /** Popover enter delay */
3706
2773
  get enterDelay(): number;
3707
2774
  set enterDelay(value: number);
3708
- /** Popover leave delay */
3709
2775
  get leaveDelay(): number;
3710
2776
  set leaveDelay(value: number);
3711
- /** Popover target offset x */
3712
2777
  get xOffset(): number;
3713
2778
  set xOffset(value: number);
3714
- /** Popover target offset y */
3715
2779
  get yOffset(): number;
3716
2780
  set yOffset(value: number);
3717
- /** Popover arrow offset x */
3718
2781
  get arrowOffsetX(): number;
3719
2782
  set arrowOffsetX(value: number);
3720
- /** Popover arrow offset y */
3721
2783
  get arrowOffsetY(): number;
3722
2784
  set arrowOffsetY(value: number);
3723
- /** Popover arrow width */
3724
2785
  get arrowWidth(): number;
3725
2786
  set arrowWidth(value: number);
3726
- /** Popover arrow height */
3727
2787
  get arrowHeight(): number;
3728
2788
  set arrowHeight(value: number);
3729
- /** Popover close on container click */
3730
2789
  get closeOnPanelClick(): boolean;
3731
2790
  set closeOnPanelClick(value: boolean);
3732
- /** Popover close on backdrop click */
3733
2791
  get closeOnBackdropClick(): boolean;
3734
2792
  set closeOnBackdropClick(value: boolean);
3735
- /** Disable animations of popover and all child elements */
3736
2793
  get disableAnimation(): boolean;
3737
2794
  set disableAnimation(value: boolean);
3738
- /** Popover focus trap using cdkTrapFocus */
3739
2795
  get focusTrapEnabled(): boolean;
3740
2796
  set focusTrapEnabled(value: boolean);
3741
- /** Popover focus trap auto capture using cdkTrapFocusAutoCapture */
3742
2797
  get focusTrapAutoCaptureEnabled(): boolean;
3743
2798
  set focusTrapAutoCaptureEnabled(value: boolean);
3744
- /**
3745
- * This method takes classes set on the host md-popover element and applies them on the
3746
- * popover template that displays in the overlay container. Otherwise, it's difficult
3747
- * to style the containing popover from outside the component.
3748
- *
3749
- * @param classes list of class names
3750
- */
3751
2799
  set panelClass(classes: string);
3752
2800
  ngOnDestroy(): void;
3753
- /** Handle a keyboard event from the popover, delegating to the appropriate action. */
3754
2801
  handleKeydown(event: KeyboardEvent): void;
3755
- /**
3756
- * This emits a close event to which the trigger is subscribed. When emitted, the
3757
- * trigger will close the popover.
3758
- */
3759
2802
  emitCloseEvent(): void;
3760
- /** Close popover on click if closeOnPanelClick is true */
3761
2803
  onClick(): void;
3762
- /**
3763
- * TODO: Refactor when @angular/cdk includes feature I mentioned on github see link below.
3764
- * https://github.com/angular/material2/pull/5493#issuecomment-313085323
3765
- */
3766
- /** Disables close of popover when leaving trigger element and mouse over the popover */
3767
2804
  onMouseOver(): void;
3768
2805
  onFocus(): void;
3769
- /** Enables close of popover when mouse leaving popover element */
3770
2806
  onMouseLeave(): void;
3771
- /** Sets the current styles for the popover to allow for dynamically changing settings */
3772
2807
  setCurrentStyles(pos?: CmatPopoverPosition): void;
3773
- /**
3774
- * It's necessary to set position-based classes to ensure the popover panel animation
3775
- * folds out from the correct direction.
3776
- */
3777
2808
  setPositionClasses(pos?: CmatPopoverPosition): void;
3778
2809
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverComponent, never>;
3779
2810
  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>;
3780
2811
  }
3781
2812
 
3782
- /**
3783
- * This directive is intended to be used in conjunction with an cmat-popover tag. It is
3784
- * responsible for toggling the display of the provided popover instance.
3785
- */
3786
2813
  declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, OnDestroy {
3787
2814
  ariaHaspopup: boolean;
3788
- /** References the popover instance that the trigger is associated with. */
3789
2815
  popover: CmatPopoverPanel;
3790
- /** References the popover target instance that the trigger is associated with. */
3791
2816
  targetElement: CmatTarget;
3792
- /** Popover trigger event */
3793
2817
  triggerEvent: CmatPopoverTriggerEvent;
3794
- /** Event emitted when the associated popover is opened. */
3795
2818
  popoverOpened: EventEmitter<void>;
3796
- /** Event emitted when the associated popover is closed. */
3797
2819
  popoverClosed: EventEmitter<void>;
3798
2820
  popoverOpened$: Subject<void>;
3799
2821
  popoverClosed$: Subject<void>;
@@ -3802,6 +2824,7 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
3802
2824
  private _viewContainerRef;
3803
2825
  private _dir;
3804
2826
  private _changeDetectorRef;
2827
+ private readonly _destroyRef;
3805
2828
  private _portal;
3806
2829
  private _overlayRef;
3807
2830
  private _popoverOpen;
@@ -3811,10 +2834,7 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
3811
2834
  private _detachmentsSubscription;
3812
2835
  private _mouseoverTimer;
3813
2836
  private _openedByMouse;
3814
- private _onDestroy;
3815
- /** Whether the popover is open. */
3816
2837
  get popoverOpen(): boolean;
3817
- /** The text direction of the containing app. */
3818
2838
  get dir(): Direction$1;
3819
2839
  onClick(): void;
3820
2840
  onMouseEnter(): void;
@@ -3823,70 +2843,22 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
3823
2843
  ngOnChanges(changes: SimpleChanges): void;
3824
2844
  ngAfterViewInit(): void;
3825
2845
  ngOnDestroy(): void;
3826
- /** Toggles the popover between the open and closed states. */
3827
2846
  togglePopover(): void;
3828
- /** Opens the popover. */
3829
2847
  openPopover(): void;
3830
- /** Closes the popover. */
3831
2848
  closePopover(): void;
3832
- /** Removes the popover from the DOM. */
3833
2849
  destroyPopover(): void;
3834
- /** Focuses the popover trigger. */
3835
2850
  focus(): void;
3836
- /**
3837
- * This method ensures that the popover closes when the overlay backdrop is clicked.
3838
- * We do not use first() here because doing so would not catch clicks from within
3839
- * the popover, and it would fail to unsubscribe properly. Instead, we unsubscribe
3840
- * explicitly when the popover is closed or destroyed.
3841
- */
3842
2851
  private _subscribeToBackdrop;
3843
2852
  private _subscribeToDetachments;
3844
- /**
3845
- * This method sets the popover state to open and focuses the first item if
3846
- * the popover was opened via the keyboard.
3847
- */
3848
2853
  private _initPopover;
3849
- /**
3850
- * This method resets the popover when it's closed, most importantly restoring
3851
- * focus to the popover trigger if the popover was opened via the keyboard.
3852
- */
3853
2854
  private _resetPopover;
3854
- /** set state rather than toggle to support triggers sharing a popover */
3855
2855
  private _setPopoverOpened;
3856
- /** set state rather than toggle to support triggers sharing a popover */
3857
2856
  private _setPopoverClosed;
3858
- /**
3859
- * This method checks that a valid instance of MdPopover has been passed into
3860
- * mdPopoverTriggerFor. If not, an exception is thrown.
3861
- */
3862
2857
  private _checkPopover;
3863
- /**
3864
- * This method creates the overlay from the provided popover's template and saves its
3865
- * OverlayRef so that it can be attached to the DOM when openPopover is called.
3866
- */
3867
2858
  private _createOverlay;
3868
- /**
3869
- * This method builds the configuration object needed to create the overlay, the OverlayConfig.
3870
- *
3871
- * @returns OverlayConfig
3872
- */
3873
2859
  private _getOverlayConfig;
3874
- /**
3875
- * This method returns the scroll strategy used by the cdk/overlay.
3876
- */
3877
2860
  private _getOverlayScrollStrategy;
3878
- /**
3879
- * Listens to changes in the position of the overlay and sets the correct classes
3880
- * on the popover based on the new position. This ensures the animation origin is always
3881
- * correct, even if a fallback position is used for the overlay.
3882
- */
3883
2861
  private _subscribeToPositions;
3884
- /**
3885
- * This method builds the position strategy for the overlay, so the popover is properly connected
3886
- * to the trigger.
3887
- *
3888
- * @returns ConnectedPositionStrategy
3889
- */
3890
2862
  private _getPosition;
3891
2863
  private _cleanUpSubscriptions;
3892
2864
  private _setCurrentConfig;
@@ -3900,17 +2872,16 @@ declare class CmatPopoverTargetDirective {
3900
2872
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatPopoverTargetDirective, "cmat-popover-target, [cmatPopoverTarget]", ["cmatPopoverTarget"], {}, {}, never, never, true, never>;
3901
2873
  }
3902
2874
 
3903
- declare class CmatProgressBarComponent implements OnChanges, OnInit, OnDestroy {
2875
+ declare class CmatProgressBarComponent implements OnChanges, OnInit {
3904
2876
  autoMode: boolean;
3905
2877
  mode: 'determinate' | 'indeterminate';
3906
2878
  progress: number | null;
3907
2879
  show: boolean;
3908
2880
  private _cmatLoadingService;
3909
2881
  private _changeDetectorRef;
3910
- private _unsubscribeAll;
2882
+ private readonly _destroyRef;
3911
2883
  ngOnChanges(changes: SimpleChanges): void;
3912
2884
  ngOnInit(): void;
3913
- ngOnDestroy(): void;
3914
2885
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatProgressBarComponent, never>;
3915
2886
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatProgressBarComponent, "cmat-progress-bar", ["cmatProgressBar"], { "autoMode": { "alias": "autoMode"; "required": false; }; }, {}, never, never, true, never>;
3916
2887
  }
@@ -4007,30 +2978,16 @@ declare class CmatRatingComponent implements MatFormFieldControl<any>, ControlVa
4007
2978
  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>;
4008
2979
  }
4009
2980
 
4010
- declare class CmatStatusTagComponent {
4011
- /**
4012
- * 标签文字。
4013
- */
4014
- label: string;
4015
- /**
4016
- * 视觉风格。
4017
- */
4018
- variant: 'soft' | 'filled' | 'outline';
4019
- /**
4020
- * 主题色。
4021
- */
4022
- tone: 'neutral' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
4023
- /**
4024
- * 是否显示圆点。
4025
- */
4026
- dot: boolean;
4027
- hostClass: string;
4028
- /**
4029
- * 计算样式类。
4030
- */
4031
- get classMap(): Record<string, boolean>;
4032
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatStatusTagComponent, never>;
4033
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatStatusTagComponent, "cmat-status-tag", never, { "label": { "alias": "label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "dot": { "alias": "dot"; "required": false; }; }, {}, never, never, true, never>;
2981
+ declare class CmatRichTextEditorComponent implements OnChanges {
2982
+ value: string;
2983
+ placeholder: string;
2984
+ readOnly: boolean;
2985
+ theme: string;
2986
+ minHeight: string;
2987
+ control: FormControl<string | null>;
2988
+ ngOnChanges(changes: SimpleChanges): void;
2989
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatRichTextEditorComponent, never>;
2990
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatRichTextEditorComponent, "cmat-rich-text-editor", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; }, {}, never, never, true, never>;
4034
2991
  }
4035
2992
 
4036
2993
  declare class CmatSelectNoEntriesFoundDirective {
@@ -4043,7 +3000,7 @@ declare class CmatSelectSearchClearDirective {
4043
3000
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatSelectSearchClearDirective, "[cmatSelectSearchClear]", never, {}, {}, never, never, true, never>;
4044
3001
  }
4045
3002
 
4046
- declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlValueAccessor {
3003
+ declare class CmatSelectSearchComponent implements OnInit, ControlValueAccessor {
4047
3004
  placeholderLabel: string;
4048
3005
  type: string;
4049
3006
  noEntriesFoundLabel: string;
@@ -4055,17 +3012,13 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
4055
3012
  preventHomeEndKeyPropagation: boolean;
4056
3013
  disableScrollToActiveOnOptionsChanged: boolean;
4057
3014
  ariaLabel: string;
4058
- /** Whether to show Select All Checkbox (for mat-select[multi=true]) */
4059
3015
  showToggleAllCheckbox: boolean;
4060
- /** select all checkbox checked state */
4061
3016
  toggleAllCheckboxChecked: boolean;
4062
- /** select all checkbox indeterminate state */
4063
3017
  toggleAllCheckboxIndeterminate: boolean;
4064
3018
  toggleAllCheckboxTooltipMessage: string;
4065
3019
  toggleAllCheckboxTooltipPosition: 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
4066
3020
  hideClearSearchButton: boolean;
4067
3021
  alwaysRestoreSelectedOptionsMulti: boolean;
4068
- /** Output emitter to send to parent component with the toggle all boolean */
4069
3022
  toggleAll: EventEmitter<boolean>;
4070
3023
  searchSelectInput: ElementRef;
4071
3024
  innerSelectSearch: ElementRef;
@@ -4078,16 +3031,14 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
4078
3031
  private _viewportRuler;
4079
3032
  private _matOption;
4080
3033
  private _defaultOptions;
3034
+ private readonly _destroyRef;
4081
3035
  private _options$;
4082
3036
  private _lastExternalInputValue?;
4083
3037
  private _optionsList$;
4084
3038
  private _optionsLength$;
4085
3039
  private _previousSelectedValues;
4086
- private _onDestroy;
4087
- /** Reference to active descendant for ARIA Support. */
4088
3040
  private _activeDescendant?;
4089
3041
  constructor();
4090
- /** whether to show the no entries found message */
4091
3042
  showNoEntriesFound$: Observable<boolean>;
4092
3043
  get isInsideMatOption(): boolean;
4093
3044
  get value(): string;
@@ -4096,13 +3047,8 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
4096
3047
  onTouched: () => any;
4097
3048
  ngOnInit(): void;
4098
3049
  emitSelectAllBooleanToParent(state: boolean): void;
4099
- ngOnDestroy(): void;
4100
3050
  isToggleAllCheckboxVisible(): boolean;
4101
3051
  handleKeydown(event: KeyboardEvent): void;
4102
- /**
4103
- * Handles the key up event with MatSelect.
4104
- * Allows e.g. the announcing of the currently activeDescendant by screen readers.
4105
- */
4106
3052
  handleKeyup(event: KeyboardEvent): void;
4107
3053
  writeValue(value: string): void;
4108
3054
  onBlur(): void;
@@ -4116,30 +3062,25 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
4116
3062
  private _unselectActiveDescendant;
4117
3063
  private _applyDefaultOptions;
4118
3064
  private _initMultipleHandling;
4119
- /**
4120
- * Scrolls the currently active option into the view if it is not yet visible.
4121
- */
4122
3065
  private _adjustScrollTopToFitActiveOptionIntoView;
4123
3066
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectSearchComponent, never>;
4124
3067
  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>;
4125
3068
  }
4126
3069
 
4127
- /** List of inputs of CmatSelectSearchComponent that can be configured with a global default. */
4128
3070
  declare const configurableDefaultOptions: readonly ["ariaLabel", "clearSearchInput", "disableInitialFocus", "disableScrollToActiveOnOptionsChanged", "enableClearOnEscapePressed", "hideClearSearchButton", "noEntriesFoundLabel", "placeholderLabel", "preventHomeEndKeyPropagation", "searching"];
4129
3071
  type ConfigurableDefaultOptions = typeof configurableDefaultOptions[number];
4130
3072
  declare const MAT_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<CmatSelectSearchComponent, "ariaLabel" | "clearSearchInput" | "disableInitialFocus" | "disableScrollToActiveOnOptionsChanged" | "enableClearOnEscapePressed" | "hideClearSearchButton" | "noEntriesFoundLabel" | "placeholderLabel" | "preventHomeEndKeyPropagation" | "searching">>>>;
4131
- /** Global configurable options for MatSelectSearch. */
4132
3073
  type MatSelectSearchOptions = Readonly<Partial<Pick<CmatSelectSearchComponent, ConfigurableDefaultOptions>>>;
4133
3074
 
4134
3075
  interface CmatSelectTableRow {
4135
- [key: string]: any;
3076
+ [key: string]: unknown;
4136
3077
  id: string | number | null | undefined;
4137
3078
  }
4138
3079
  interface CmatSelectTableFilter {
4139
3080
  enabled?: boolean;
4140
3081
  type: 'string' | 'number';
4141
3082
  comparator?: 'equalsIgnoreCase' | 'equals' | 'containsIgnoreCase' | 'contains' | 'startsWithIgnoreCase' | 'startsWith';
4142
- comparatorFn?: (value: any, filterValue: any, row: CmatSelectTableRow) => boolean;
3083
+ comparatorFn?: (value: string | number | boolean | null | undefined, filterValue: string | number | boolean | null | undefined, row: CmatSelectTableRow) => boolean;
4143
3084
  }
4144
3085
  interface CmatSelectTableColumn {
4145
3086
  key: string;
@@ -4170,7 +3111,7 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
4170
3111
  defaultSort: Sort;
4171
3112
  resetOptionAction: () => void;
4172
3113
  keyParam: string;
4173
- compareWith: (o1: any, o2: any) => boolean;
3114
+ compareWith: (o1: CmatSelectTableRow | null, o2: CmatSelectTableRow | null) => boolean;
4174
3115
  closed: EventEmitter<boolean>;
4175
3116
  private _matSelectSearch;
4176
3117
  private _sort;
@@ -4179,6 +3120,8 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
4179
3120
  tableDataSource: CmatSelectTableRow[];
4180
3121
  tableColumns: string[];
4181
3122
  tableColumnsMap: Map<string, CmatSelectTableColumn>;
3123
+ private readonly _rowById;
3124
+ private _columnKeys;
4182
3125
  filteredOutRows: Record<string, CmatSelectTableRow>;
4183
3126
  completeRowList: CmatSelectTableRow[];
4184
3127
  overallSearchVisibleState: boolean;
@@ -4189,10 +3132,10 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
4189
3132
  touched: boolean;
4190
3133
  ngControl: NgControl;
4191
3134
  private _cd;
3135
+ private readonly _destroyRef;
4192
3136
  private _matSelect;
4193
3137
  private _filterControls;
4194
3138
  private _nullRow;
4195
- private _unsubscribeAll;
4196
3139
  private _completeValueList;
4197
3140
  constructor();
4198
3141
  set matSelect(m: MatSelect);
@@ -4227,8 +3170,10 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
4227
3170
  openedChange(opened: boolean): void;
4228
3171
  filterFormControl(key: string): FormControl;
4229
3172
  simpleTriggerLabelFn(value: CmatSelectTableRow[]): string;
3173
+ getTriggerLabel(): string;
4230
3174
  toggleOverallSearch(): void;
4231
3175
  addNullRow(): boolean;
3176
+ get hasNullRow(): boolean;
4232
3177
  private _onModelChange;
4233
3178
  private _onTouchedChange;
4234
3179
  private _init;
@@ -4239,6 +3184,15 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
4239
3184
  private _sortingDataAccessor;
4240
3185
  private _sortData;
4241
3186
  private _checkAndResetSelection;
3187
+ private _matchesColumnFilter;
3188
+ private _buildTableOptions;
3189
+ private _getMatOptionById;
3190
+ private _expandPanelForTableRows;
3191
+ private _getCommittedValue;
3192
+ private _syncMatSelectValue;
3193
+ private _removeFilteredRow;
3194
+ private _resolveTriggerLabel;
3195
+ private _getTriggerRows;
4242
3196
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTableComponent, never>;
4243
3197
  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; }; "isPhone": { "alias": "isPhone"; "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; }; "keyParam": { "alias": "keyParam"; "required": false; }; "compareWith": { "alias": "compareWith"; "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>;
4244
3198
  }
@@ -4256,6 +3210,8 @@ declare class CmatSelectTreeNode {
4256
3210
  name: string;
4257
3211
  }
4258
3212
 
3213
+ type CmatSelectTreeValueItem = CmatSelectTreeNode | CmatSelectTreeFlatNode;
3214
+ type CmatSelectTreeValue = CmatSelectTreeValueItem[] | CmatSelectTreeValueItem | null;
4259
3215
  declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnChanges, AfterViewInit, OnDestroy {
4260
3216
  id: string;
4261
3217
  dataSource: CmatSelectTreeNode[];
@@ -4264,14 +3220,16 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
4264
3220
  multiple: boolean;
4265
3221
  overallSearchEnabled: boolean;
4266
3222
  canNull: boolean;
4267
- customTriggerLabelFn: (value: CmatSelectTreeNode[]) => string;
3223
+ customTriggerLabelFn?: (value: CmatSelectTreeFlatNode[]) => string;
4268
3224
  customTriggerLabelTemplate: string;
4269
3225
  expandable: boolean;
4270
3226
  showToggleAllCheckbox: boolean;
4271
- compareWith: (o1: any, o2: any) => boolean;
3227
+ compareWith: (o1: CmatSelectTreeNode | CmatSelectTreeFlatNode | null, o2: CmatSelectTreeNode | CmatSelectTreeFlatNode | null) => boolean;
4272
3228
  flatNodeMap: Map<CmatSelectTreeFlatNode, CmatSelectTreeNode>;
4273
3229
  nestedNodeMap: Map<CmatSelectTreeNode, CmatSelectTreeFlatNode>;
4274
- selectedParent: CmatSelectTreeFlatNode | null;
3230
+ private readonly _flatNodeById;
3231
+ private readonly _parentFlatNodeById;
3232
+ private readonly _selectedFlatNodeIds;
4275
3233
  checklistSelection: SelectionModel<CmatSelectTreeFlatNode>;
4276
3234
  treeDataSource: CmatSelectTreeNode[];
4277
3235
  dataFlatNodes: CmatSelectTreeFlatNode[];
@@ -4280,14 +3238,14 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
4280
3238
  isChecked: boolean;
4281
3239
  checkCount: number;
4282
3240
  selectControl: FormControl;
4283
- matSelectData: ReplaySubject<any[]>;
3241
+ readonly matSelectData: CmatSelectTreeFlatNode[];
4284
3242
  readonly stateChanges: Subject<void>;
4285
3243
  focused: boolean;
4286
3244
  touched: boolean;
4287
3245
  ngControl: NgControl;
4288
3246
  private _changeDetectorRef;
3247
+ private readonly _destroyRef;
4289
3248
  private _matSelect;
4290
- private _unsubscribeAll;
4291
3249
  constructor();
4292
3250
  tree: CdkTree<CmatSelectTreeNode>;
4293
3251
  set matSelect(m: MatSelect);
@@ -4301,9 +3259,9 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
4301
3259
  get placeholder(): string;
4302
3260
  set placeholder(value: string);
4303
3261
  private _placeholder;
4304
- get value(): any;
4305
- set value(value: any);
4306
- protected _value: any;
3262
+ get value(): CmatSelectTreeValue;
3263
+ set value(value: CmatSelectTreeValue);
3264
+ protected _value: CmatSelectTreeValue;
4307
3265
  get empty(): boolean;
4308
3266
  get errorState(): boolean;
4309
3267
  get shouldLabelFloat(): boolean;
@@ -4313,24 +3271,20 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
4313
3271
  get disabled(): boolean;
4314
3272
  set disabled(value: BooleanInput);
4315
3273
  protected _disabled: boolean;
4316
- registerOnChange(fn: any): void;
4317
- registerOnTouched(fn: any): void;
3274
+ registerOnChange(fn: (value: CmatSelectTreeValue) => void): void;
3275
+ registerOnTouched(fn: () => void): void;
4318
3276
  setDisabledState(isDisabled: boolean): void;
4319
3277
  setDescribedByIds(ids: string[]): void;
4320
3278
  onContainerClick(): void;
4321
3279
  onFocusIn(): void;
4322
3280
  onFocusOut(event: FocusEvent): void;
4323
- writeValue(value: any): void;
3281
+ writeValue(value: CmatSelectTreeValue): void;
4324
3282
  simpleTriggerLabelFn(value: CmatSelectTreeFlatNode[]): string;
4325
3283
  openedChange(opened: boolean): void;
4326
- /** Whether all the descendants of the node are selected. */
4327
3284
  descendantsAllSelected(node: CmatSelectTreeFlatNode): boolean;
4328
- /** Whether part of the descendants are selected */
4329
3285
  descendantsPartiallySelected(node: CmatSelectTreeFlatNode): boolean;
4330
- /** Toggle the to-do item selection. Select/deselect all the descendants node */
4331
- todoItemSelectionToggle(event: any, node: CmatSelectTreeFlatNode): void;
4332
- /** Toggle a leaf to-do item selection. Check all the parents to see if they changed */
4333
- todoLeafItemSelectionToggle(event: any, node: CmatSelectTreeFlatNode): void;
3286
+ todoItemSelectionToggle(event: MouseEvent, node: CmatSelectTreeFlatNode): void;
3287
+ todoLeafItemSelectionToggle(event: MouseEvent, node: CmatSelectTreeFlatNode): void;
4334
3288
  clearSelection(): void;
4335
3289
  toggleSelectAll(selectAllValue: boolean): void;
4336
3290
  getChecklistSelectionIsSelected(i: CmatSelectTreeNode): boolean;
@@ -4338,7 +3292,6 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
4338
3292
  private _onTouchedChange;
4339
3293
  private _init;
4340
3294
  private _checkAllParentsSelection;
4341
- /** Check root node checked state and change it accordingly */
4342
3295
  private _checkRootNodeSelection;
4343
3296
  private _getParentNode;
4344
3297
  private _updateChecklistSelection;
@@ -4346,6 +3299,8 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
4346
3299
  private _applyColumnLevelFilters;
4347
3300
  private _updateCheckState;
4348
3301
  private _getFlattenNodes;
3302
+ private _cloneTreeNodes;
3303
+ private _syncSelectedFlatNodeIds;
4349
3304
  private _transformer;
4350
3305
  private _getDescendants;
4351
3306
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTreeComponent, never>;
@@ -4413,6 +3368,26 @@ declare class CmatSpeedDialTriggerComponent {
4413
3368
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatSpeedDialTriggerComponent, "cmat-speed-dial-trigger", never, { "spin": { "alias": "spin"; "required": false; }; }, {}, never, ["[matFab]"], true, never>;
4414
3369
  }
4415
3370
 
3371
+ declare class CmatStatusTagComponent {
3372
+ label: string;
3373
+ variant: 'soft' | 'filled' | 'outline';
3374
+ tone: 'neutral' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
3375
+ dot: boolean;
3376
+ hostClass: string;
3377
+ get classMap(): Record<string, boolean>;
3378
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatStatusTagComponent, never>;
3379
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatStatusTagComponent, "cmat-status-tag", never, { "label": { "alias": "label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "dot": { "alias": "dot"; "required": false; }; }, {}, never, never, true, never>;
3380
+ }
3381
+
3382
+ declare class CmatTableToolbarComponent {
3383
+ title: string;
3384
+ description: string;
3385
+ count: number;
3386
+ showCount: boolean;
3387
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatTableToolbarComponent, never>;
3388
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatTableToolbarComponent, "cmat-table-toolbar", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "count": { "alias": "count"; "required": false; }; "showCount": { "alias": "showCount"; "required": false; }; }, {}, never, ["[cmatTableToolbarActions]"], true, never>;
3389
+ }
3390
+
4416
3391
  declare class CmatTimelineItemIconDirective {
4417
3392
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatTimelineItemIconDirective, never>;
4418
3393
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatTimelineItemIconDirective, "ng-template[cmatTimelineItemIcon]", never, {}, {}, never, never, true, never>;
@@ -4439,14 +3414,14 @@ declare class CmatTimelineItemComponent {
4439
3414
 
4440
3415
  type CMAT_TIMELINE_POSITION = 'start' | 'end' | 'center' | 'center-alt';
4441
3416
  type CMAT_TIMELINE_ORIENTATION = 'vertical' | 'horizontal';
4442
- declare class CmatTimelineComponent implements OnInit, OnDestroy {
3417
+ declare class CmatTimelineComponent implements OnInit {
4443
3418
  readonly items: QueryList<CmatTimelineItemComponent>;
4444
3419
  readonly class = "cmat-timeline";
4445
3420
  private _host;
3421
+ private readonly _destroyRef;
4446
3422
  private _reverse;
4447
3423
  private _position;
4448
3424
  private _orientation;
4449
- private _unsubscribeAll;
4450
3425
  get isStartPosition(): boolean;
4451
3426
  get isEndPosition(): boolean;
4452
3427
  get isCenterPosition(): boolean;
@@ -4458,7 +3433,6 @@ declare class CmatTimelineComponent implements OnInit, OnDestroy {
4458
3433
  set orientation(orientation: CMAT_TIMELINE_ORIENTATION);
4459
3434
  set reverse(reverse: boolean);
4460
3435
  ngOnInit(): void;
4461
- ngOnDestroy(): void;
4462
3436
  updateLayout(): void;
4463
3437
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatTimelineComponent, never>;
4464
3438
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatTimelineComponent, "cmat-timeline", ["cmatTimeLine"], { "position": { "alias": "position"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; }, {}, ["items"], ["*"], true, never>;
@@ -4522,6 +3496,7 @@ declare class CmatToastComponent implements OnInit {
4522
3496
  declare class CmatToastService {
4523
3497
  toasts: CmatToastModel[];
4524
3498
  private _positionSubject;
3499
+ private readonly _position$;
4525
3500
  private _toastPopSubject;
4526
3501
  private _globalConfigs;
4527
3502
  private _counter;
@@ -4542,16 +3517,12 @@ declare class CmatToastService {
4542
3517
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatToastService>;
4543
3518
  }
4544
3519
 
4545
- /**
4546
- * Node for Transfer item
4547
- */
4548
3520
  declare class CmatTransferItemNode {
4549
3521
  [key: string]: any;
4550
3522
  children?: CmatTransferItemNode[];
4551
3523
  label: string;
4552
3524
  value: string | number;
4553
3525
  }
4554
- /** Flat Transfer item node with expandable and level information */
4555
3526
  declare class CmatTransferItemFlatNode {
4556
3527
  label: string;
4557
3528
  value: string | number;
@@ -4585,7 +3556,7 @@ interface CmatSourceOptions {
4585
3556
  }
4586
3557
 
4587
3558
  declare class CmatTransferPickerFilterComponent implements OnInit {
4588
- filters: CmatTransferFilterItem[];
3559
+ filters: CmatTransferFilterItem[] | undefined;
4589
3560
  overlayOrigin: CdkOverlayOrigin;
4590
3561
  filterTemplate: CdkPortal;
4591
3562
  overlayRef: OverlayRef;
@@ -4603,7 +3574,7 @@ declare class CmatTransferPickerFilterComponent implements OnInit {
4603
3574
  }
4604
3575
 
4605
3576
  declare class CmatTransferPickerSearchComponent implements OnInit {
4606
- searchPlaceholder: string;
3577
+ searchPlaceholder: string | undefined;
4607
3578
  keyword: FormControl;
4608
3579
  private _service;
4609
3580
  constructor();
@@ -4613,45 +3584,35 @@ declare class CmatTransferPickerSearchComponent implements OnInit {
4613
3584
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatTransferPickerSearchComponent, "cmat-transfer-picker-search", ["cmatTransferPickerSearch"], { "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; }, {}, never, never, true, never>;
4614
3585
  }
4615
3586
 
4616
- declare class CmatTransferPickerSourceComponent implements OnInit, AfterViewInit, OnDestroy {
3587
+ declare class CmatTransferPickerSourceComponent implements OnInit, AfterViewInit {
4617
3588
  tree: CdkTree<CmatTransferItemNode>;
4618
- /** Map from nested node to flattened node. This helps us to keep the same object for selection */
4619
3589
  nestedNodeMap: Map<CmatTransferItemNode, CmatTransferItemFlatNode>;
4620
3590
  dataSource: CmatTransferItemNode[];
4621
3591
  dataFlatNodes: CmatTransferItemFlatNode[];
4622
- /** The selection for checklist */
4623
3592
  checklistSelection: SelectionModel<CmatTransferItemFlatNode>;
4624
- options: CmatSourceOptions;
3593
+ options: CmatSourceOptions | undefined;
4625
3594
  selectedList: CmatTransferItemFlatNode[];
3595
+ private readonly _flatNodeByValue;
4626
3596
  private _service;
4627
3597
  private _changeDetectorRef;
4628
- private _unsubscribeAll;
3598
+ private readonly _destroyRef;
4629
3599
  ngOnInit(): void;
4630
3600
  ngAfterViewInit(): void;
4631
- ngOnDestroy(): void;
4632
3601
  getSelectedList(): CmatTransferItemFlatNode[];
4633
3602
  resetSelectedItem(item: CmatTransferItemFlatNode): void;
4634
3603
  childrenAccessor: (node: CmatTransferItemNode) => CmatTransferItemNode[];
4635
3604
  hasChild: (_: number, node: CmatTransferItemNode) => boolean;
4636
- /** Whether all the descendants of the node are selected */
4637
3605
  descendantsAllSelected(node: CmatTransferItemFlatNode): boolean;
4638
- /** Whether part of the descendants are selected */
4639
3606
  descendantsPartiallySelected(node: CmatTransferItemFlatNode): boolean;
4640
- /** Toggle the transfer item selection. Select/deselect all the descendants node */
4641
3607
  transferItemSelectionToggle(node: CmatTransferItemFlatNode): void;
4642
- /** Toggle a leaf transfer item selection. Check all the parents to see if they changed */
4643
3608
  transferLeafItemSelectionToggle(node: CmatTransferItemFlatNode): void;
4644
3609
  private _getLevel;
4645
3610
  private _isExpandable;
4646
3611
  private _getChildren;
4647
- /**
4648
- * Transformer to convert nested node to flat node. Record the nodes in maps for later use.
4649
- */
4650
3612
  private _transformer;
4651
3613
  private _getDescendants;
4652
3614
  private _getFlattenNodes;
4653
3615
  private _checkAllParentsSelection;
4654
- /** Check root node checked state and change it accordingly */
4655
3616
  private _checkRootNodeSelection;
4656
3617
  private _getParentNode;
4657
3618
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatTransferPickerSourceComponent, never>;
@@ -4692,11 +3653,11 @@ declare class CmatTransferPickerComponent implements OnInit, AfterViewInit {
4692
3653
  }
4693
3654
 
4694
3655
  declare class CmatTransferPickerService {
4695
- dataSourceChange: BehaviorSubject<CmatTransferItemNode[]>;
4696
- refreshDataSourceChange: BehaviorSubject<boolean>;
4697
- filtersChange: BehaviorSubject<CmatTransferFilterItem[]>;
4698
- sourceOptionsChange: BehaviorSubject<CmatSourceOptions | void>;
4699
- selectedValuesChange: BehaviorSubject<string[]>;
3656
+ private readonly _dataSourceChange;
3657
+ private readonly _refreshDataSourceChange;
3658
+ private readonly _filtersChange;
3659
+ private readonly _sourceOptionsChange;
3660
+ private readonly _selectedValuesChange;
4700
3661
  private _dataSource;
4701
3662
  private _filterData;
4702
3663
  private _keyword;
@@ -4704,7 +3665,17 @@ declare class CmatTransferPickerService {
4704
3665
  private _filteredDataSource;
4705
3666
  private _compareMap;
4706
3667
  private _conditionMap;
3668
+ private readonly _dataSourceChange$;
3669
+ private readonly _refreshDataSourceChange$;
3670
+ private readonly _filtersChange$;
3671
+ private readonly _sourceOptionsChange$;
3672
+ private readonly _selectedValuesChange$;
4707
3673
  constructor();
3674
+ get dataSourceChange(): Observable<CmatTransferItemNode[]>;
3675
+ get refreshDataSourceChange(): Observable<boolean>;
3676
+ get filtersChange(): Observable<CmatTransferFilterItem[]>;
3677
+ get sourceOptionsChange(): Observable<CmatSourceOptions | void>;
3678
+ get selectedValuesChange(): Observable<string[]>;
4708
3679
  get dataSource(): CmatTransferItemNode[];
4709
3680
  set dataSource(data: CmatTransferItemNode[]);
4710
3681
  set sourceOptions(value: CmatSourceOptions);
@@ -4758,7 +3729,7 @@ declare class CmatTreeTableComponent implements OnChanges {
4758
3729
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatTreeTableComponent, "cmat-treetable", ["cmatTreeTable"], { "data": { "alias": "data"; "required": false; }; "verticalSeparator": { "alias": "verticalSeparator"; "required": false; }; "initExpand": { "alias": "initExpand"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "showControlColumn": { "alias": "showControlColumn"; "required": false; }; }, { "nodeClicked": "nodeClicked"; }, ["customColumnTpl"], never, true, never>;
4759
3730
  }
4760
3731
 
4761
- declare class CmatUploadComponent implements OnInit, OnDestroy {
3732
+ declare class CmatUploadComponent implements OnInit {
4762
3733
  fileAlias: string;
4763
3734
  filePath: string;
4764
3735
  fileCategory: string;
@@ -4774,13 +3745,12 @@ declare class CmatUploadComponent implements OnInit, OnDestroy {
4774
3745
  isUploading: boolean;
4775
3746
  private _fileService;
4776
3747
  private _changeDetectorRef;
3748
+ private readonly _destroyRef;
4777
3749
  private _file;
4778
- private _unsubscribeAll;
4779
3750
  get file(): any;
4780
3751
  set file(file: any);
4781
3752
  get fileType(): 'csv' | 'gif' | 'word' | 'excel' | 'jpg' | 'outlook' | 'pdf' | 'png' | 'ppt' | 'file' | 'text' | 'video' | 'zip';
4782
3753
  ngOnInit(): void;
4783
- ngOnDestroy(): void;
4784
3754
  upload(): void;
4785
3755
  download(): void;
4786
3756
  remove(): void;
@@ -4788,7 +3758,7 @@ declare class CmatUploadComponent implements OnInit, OnDestroy {
4788
3758
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatUploadComponent, "cmat-upload", ["cmatUpload"], { "fileAlias": { "alias": "fileAlias"; "required": false; }; "filePath": { "alias": "filePath"; "required": false; }; "fileCategory": { "alias": "fileCategory"; "required": false; }; "isPublic": { "alias": "isPublic"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "autoUpload": { "alias": "autoUpload"; "required": false; }; "id": { "alias": "id"; "required": false; }; "file": { "alias": "file"; "required": false; }; }, { "removeEvent": "removeEvent"; "uploadEvent": "uploadEvent"; }, never, never, true, never>;
4789
3759
  }
4790
3760
 
4791
- declare class CmatUploadQueueComponent implements OnDestroy, AfterViewInit {
3761
+ declare class CmatUploadQueueComponent implements AfterViewInit {
4792
3762
  fileUploads: QueryList<CmatUploadComponent>;
4793
3763
  fileAlias: string;
4794
3764
  filePath: string;
@@ -4809,12 +3779,11 @@ declare class CmatUploadQueueComponent implements OnDestroy, AfterViewInit {
4809
3779
  private _changeDetectorRef;
4810
3780
  private _cmatMediaWatcherService;
4811
3781
  private _elementRef;
4812
- private _unsubscribeAll;
3782
+ private readonly _destroyRef;
4813
3783
  constructor();
4814
3784
  onDrop(event: any): void;
4815
3785
  onDropOver(event: any): void;
4816
3786
  ngAfterViewInit(): void;
4817
- ngOnDestroy(): void;
4818
3787
  add(file: any): void;
4819
3788
  upload(event: any): void;
4820
3789
  remove(event: CmatUploadComponent): void;
@@ -4826,13 +3795,12 @@ declare class CmatUploadQueueComponent implements OnDestroy, AfterViewInit {
4826
3795
  static ɵcmp: i0.ɵɵComponentDeclaration<CmatUploadQueueComponent, "cmat-upload-queue", ["cmatUploadQueue"], { "fileAlias": { "alias": "fileAlias"; "required": false; }; "filePath": { "alias": "filePath"; "required": false; }; "fileCategory": { "alias": "fileCategory"; "required": false; }; "isPublic": { "alias": "isPublic"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autoUpload": { "alias": "autoUpload"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "title": { "alias": "title"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "filesData": { "alias": "filesData"; "required": false; }; }, { "outputRemoveIdEvent": "outputRemoveIdEvent"; "outputUploadIdEvent": "outputUploadIdEvent"; "outputFilesDataEvent": "outputFilesDataEvent"; }, never, never, true, never>;
4827
3796
  }
4828
3797
 
4829
- declare class CmatFilesUtilService implements OnDestroy {
3798
+ declare class CmatFilesUtilService {
4830
3799
  private _http;
4831
3800
  private _urlStateConfigService;
3801
+ private readonly _destroyRef;
4832
3802
  private _config;
4833
- private _unsubscribeAll;
4834
3803
  constructor();
4835
- ngOnDestroy(): void;
4836
3804
  downloadFile(fileId: string, isStream?: boolean): Observable<any>;
4837
3805
  downloadFileZip(fileIds?: string[]): Observable<any>;
4838
3806
  uploadFile(file: FormData): Observable<any>;
@@ -4887,7 +3855,6 @@ declare class AngularShapeView extends NodeView<AngularShape> {
4887
3855
  protected renderAngularContent(): void;
4888
3856
  protected unmountAngularContent(): HTMLDivElement;
4889
3857
  private getNgArguments;
4890
- /** 当执行 node.setData() 时需要对实例设置新的输入值 */
4891
3858
  private setInstanceInput;
4892
3859
  }
4893
3860
  declare namespace AngularShapeView {
@@ -4948,7 +3915,7 @@ declare class CmatArrowCursorDirective implements AfterViewInit, OnDestroy {
4948
3915
  oldCursorSide: string | null;
4949
3916
  private _document;
4950
3917
  private _cmatMediaWatcherService;
4951
- private _unsubscribeAll;
3918
+ private readonly _destroyRef;
4952
3919
  onMouseEnter(event: any): void;
4953
3920
  onMouseLeave(event: any): void;
4954
3921
  onMouseOver(event: any): void;
@@ -5005,15 +3972,14 @@ declare class CmatDataExporterDirective implements OnChanges {
5005
3972
  static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDataExporterDirective, "button[cmatDataExporter]", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "exportColumns": { "alias": "exportColumns"; "required": false; }; "options": { "alias": "options"; "required": false; }; "exportType": { "alias": "exportType"; "required": false; }; "transformBoolean": { "alias": "transformBoolean"; "required": false; }; "transformDate": { "alias": "transformDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
5006
3973
  }
5007
3974
 
5008
- declare abstract class AbstractDebounceDirective implements OnInit, OnDestroy {
3975
+ declare abstract class AbstractDebounceDirective implements OnInit {
5009
3976
  debounceTime: number;
5010
3977
  emitChanged: EventEmitter<any>;
5011
3978
  emitEvent$: Subject<any>;
5012
- subscription$: Subject<void>;
3979
+ private readonly _destroyRef;
5013
3980
  constructor();
5014
3981
  ngOnInit(): void;
5015
3982
  emitChange(value: any): void;
5016
- ngOnDestroy(): void;
5017
3983
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDebounceDirective, never>;
5018
3984
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDebounceDirective, never, never, { "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "emitChanged": "emitChanged"; }, never, never, true, never>;
5019
3985
  }
@@ -5147,5 +4113,386 @@ declare class CmatKeysPipe implements PipeTransform {
5147
4113
  static ɵpipe: i0.ɵɵPipeDeclaration<CmatKeysPipe, "cmatKeys", true>;
5148
4114
  }
5149
4115
 
5150
- export { AngularShape, AngularShapeView, CLOCK_INNER_RADIUS, CLOCK_OUTER_RADIUS, CLOCK_RADIUS, CLOCK_TICK_RADIUS, CMAT_DATETIMEPICKER_SCROLL_STRATEGY, CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY, CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, CMAT_DATETIMEPICKER_VALIDATORS, CMAT_DATETIMEPICKER_VALUE_ACCESSOR, CMAT_DATETIME_FORMATS, CMAT_DAYJS_DATETIME_FORMATS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY, CMAT_DAYJS_DATE_FORMATS, CMAT_MATERIAL_COLOR_PICKER_VALUE_ACCESSOR, CMAT_NATIVE_DATETIME_FORMATS, CNativeDatetimeAdapter, ChartNode, CmatAddonsWrapperComponent, CmatAnimationOnScrollDirective, CmatArrowCursorDirective, CmatAutofocusDirective, CmatBreadcrumbComponent, CmatBreadcrumbItemDirective, CmatBreadcrumbService, CmatButtonTypeComponent, CmatBytesPipe, CmatCardComponent, CmatCardWrapperComponent, CmatCarouselComponent, CmatCarouselFooterComponent, CmatCarouselHeaderComponent, CmatCarouselTemplateDirective, CmatCascadeBottomSheetComponent, CmatCascadeListComponent, CmatCascadeTypeComponent, CmatCheckListTypeComponent, CmatChipInputComponent, CmatChipsInputTypeComponent, CmatCodeEditorComponent, CmatColorPickerTypeComponent, CmatDataExporterDirective, CmatDateFormatPipe, CmatDateRangeComponent, CmatDateRangeTypeComponent, CmatDateTimeDisplayComponent, CmatDatepickerTypeComponent, CmatDatetimepickerCalendarBodyComponent, CmatDatetimepickerCalendarCellComponent, CmatDatetimepickerCalendarComponent, CmatDatetimepickerClockComponent, CmatDatetimepickerComponent, CmatDatetimepickerContentComponent, CmatDatetimepickerFilterType, CmatDatetimepickerInputDirective, CmatDatetimepickerInputEvent, CmatDatetimepickerMonthViewComponent, CmatDatetimepickerToggleComponent, CmatDatetimepickerToggleIconDirective, CmatDatetimepickerYearViewComponent, CmatDebounceClickDirective, CmatDebounceKeyupDirective, CmatDigitOnlyDirective, CmatDrawerComponent, CmatDrawerService, CmatEmptyStateComponent, CmatEqualValidatorDirective, CmatExpansionWrapperComponent, CmatFilePreviewComponent, CmatFilesUtilService, CmatFilterToolbarComponent, CmatFindByKeyPipe, CmatFormActionsComponent, CmatFormFieldWrapperComponent, CmatFullscreenComponent, CmatGroupByPipe, CmatHighlightComponent, CmatHighlightService, CmatHorizontalNavigationComponent, CmatImageComponent, CmatInlineLoadingComponent, CmatJsonEditorComponent, CmatKeysPipe, CmatKnobInputComponent, CmatKnobTypeComponent, CmatMaskDirective, CmatMasonryComponent, CmatMaterialColorPickerComponent, CmatMultiCheckboxTypeComponent, CmatNavigationItem, CmatNavigationService, CmatNumberTypeComponent, CmatOrgChartComponent, CmatOtpInputComponent, CmatPageHeaderComponent, CmatPaginatePipe, CmatPaginationComponent, CmatPaginationDirective, CmatPaginationService, CmatPanelWrapperComponent, CmatPassToggleVisibilityComponent, CmatPasswordStrengthComponent, CmatPasswordStrengthInfoComponent, CmatPopoverComponent, CmatPopoverTargetDirective, CmatPopoverTriggerDirective, CmatProgressBarComponent, CmatQRCodeComponent, CmatQuillTypeComponent, CmatRadioTypeComponent, CmatRatingComponent, CmatRatingTypeComponent, CmatRepeatTypeComponent, CmatRichTextEditorComponent, CmatSeamlessAutoScrollDirective, CmatSelectSearchComponent, CmatSelectTableComponent, CmatSelectTableTypeComponent, CmatSelectTreeComponent, CmatSelectTreeFlatNode, CmatSelectTreeNode, CmatSelectTreeTypeComponent, CmatSelectTypeComponent, CmatSelectedColor, CmatSliderTypeComponent, CmatSpeedDialActionsComponent, CmatSpeedDialComponent, CmatSpeedDialTriggerComponent, CmatStatusTagComponent, CmatStepperHorizontalTypeComponent, CmatStepperVerticalTypeComponent, CmatTabTypeComponent, CmatTableToolbarComponent, CmatTableTypeComponent, CmatTagsTypeComponent, CmatTextareaTypeComponent, CmatTimelineComponent, CmatTimelineItemComponent, CmatTimelineItemIconDirective, CmatTimelineItemLabelDirective, CmatToastComponent, CmatToastModalComponent, CmatToastService, CmatTransferFilterCondition, CmatTransferItemFlatNode, CmatTransferItemNode, CmatTransferPickerComponent, CmatTransferPickerFilterComponent, CmatTransferPickerSearchComponent, CmatTransferPickerService, CmatTransferPickerSourceComponent, CmatTransferPickerTargetComponent, CmatTreeTableColumnDirective, CmatTreeTableComponent, CmatTreeTableNode, CmatUploadComponent, CmatUploadQueueComponent, CmatUploadTypeComponent, CmatVerticalNavigationComponent, DatetimeAdapter, DayjsDateAdapter, DayjsDatetimeAdapter, ExportType, MAT_SELECTSEARCH_DEFAULT_OPTIONS, addonsExtension, configurableDefaultOptions, register, registerInfo };
5151
- export type { AngularShapeConfig, AnimationMode, CMAT_TIMELINE_ORIENTATION, CMAT_TIMELINE_POSITION, CmatAMPM, CmatBreadcrumb, CmatBreadcrumbDefinition, CmatBreadcrumbFunction, CmatBreadcrumbObject, CmatCalendarView, CmatCardFace, CmatCarouselPageEvent, CmatCarouselResponsiveOptions, CmatCarouselTemplates, CmatCascadeOptionsInterface, CmatClockView, CmatDatetimeFormats, CmatDatetimepickerMode, CmatDatetimepickerType, CmatDrawerMode, CmatDrawerPosition, CmatPaginatePipeArgs, CmatPaginationInstance, CmatPipeState, CmatPopoverPosition, CmatPopoverPositionEnd, CmatPopoverPositionStart, CmatPopoverScrollStrategy, CmatPopoverTriggerEvent, CmatSelectTableColumn, CmatSelectTableDataSource, CmatSelectTableFilter, CmatSelectTableRow, CmatSourceOptions, CmatToastModel, CmatTransferFilterData, CmatTransferFilterItem, CmatVerticalNavigationAppearance, CmatVerticalNavigationMode, CmatVerticalNavigationPosition, Collection, ConfigurableDefaultOptions, Content, CustomFormFieldProps, DatetimepickerDropdownPositionX, DatetimepickerDropdownPositionY, DayJsDateAdapterOptions, Direction, ExcelOptions, ExporterListInfo, FileCategoryModel, FileListModel, FileModel, FormlyMultiCheckboxFieldConfig, FormlyRadioFieldConfig, FormlySliderFieldConfig, GlobalConfigModel, GlobalPosition, GlobalTheme, GlobalType, INode, MatSelectSearchOptions, Options, Page, Position, PositionX, PositionY, Theme, ToastAPrefix, TxtOptions, Type };
4116
+ declare class CmatSecurePipe implements PipeTransform {
4117
+ private _http;
4118
+ private _sanitizer;
4119
+ private _urlStateConfigService;
4120
+ private readonly _destroyRef;
4121
+ private _config;
4122
+ constructor();
4123
+ transform(fileId: string): Observable<SafeUrl>;
4124
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatSecurePipe, never>;
4125
+ static ɵpipe: i0.ɵɵPipeDeclaration<CmatSecurePipe, "cmatSecure", true>;
4126
+ }
4127
+
4128
+ declare class CmatUppercasePipe implements PipeTransform {
4129
+ transform(value: string): string;
4130
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatUppercasePipe, never>;
4131
+ static ɵpipe: i0.ɵɵPipeDeclaration<CmatUppercasePipe, "cmatUppercase", true>;
4132
+ }
4133
+
4134
+ declare enum CmatDialogType {
4135
+ alert = 0,
4136
+ confirm = 1,
4137
+ prompt = 2
4138
+ }
4139
+ declare enum CmatMessageSeverity {
4140
+ info = "info",
4141
+ success = "success",
4142
+ error = "error",
4143
+ warning = "warning",
4144
+ wait = "wait"
4145
+ }
4146
+ interface ApiResult {
4147
+ success: boolean;
4148
+ msg: string;
4149
+ type: number;
4150
+ data?: any;
4151
+ dataExt?: any;
4152
+ }
4153
+
4154
+ declare class CmatAlertDialog {
4155
+ message: string;
4156
+ type: CmatDialogType;
4157
+ okCallback?: ((val?: any) => any) | undefined;
4158
+ cancelCallback?: (() => any) | undefined;
4159
+ defaultValue?: string | undefined;
4160
+ okLabel?: string | undefined;
4161
+ cancelLabel?: string | undefined;
4162
+ constructor(message: string, type: CmatDialogType, okCallback?: ((val?: any) => any) | undefined, cancelCallback?: (() => any) | undefined, defaultValue?: string | undefined, okLabel?: string | undefined, cancelLabel?: string | undefined);
4163
+ }
4164
+
4165
+ declare class CmatAlertMessage {
4166
+ severity: CmatMessageSeverity;
4167
+ summary: string;
4168
+ detail: string;
4169
+ isPostionBottom: boolean;
4170
+ constructor(severity: CmatMessageSeverity, summary: string, detail: string, isPostionBottom?: boolean);
4171
+ }
4172
+
4173
+ declare class CmatAlertService {
4174
+ private _messages;
4175
+ private _stickyMessages;
4176
+ private _dialogs;
4177
+ private _isLoading;
4178
+ private _loadingMessageId;
4179
+ get dialogEvent$(): Observable<CmatAlertDialog>;
4180
+ get messageEvent$(): Observable<CmatAlertMessage>;
4181
+ get stickyMessageEvent$(): Observable<CmatAlertMessage | void>;
4182
+ get isLoadingInProgress$(): Observable<boolean>;
4183
+ showDialog(message: string, type?: CmatDialogType, okCallback?: (val?: any) => any, cancelCallback?: () => any, okLabel?: string, cancelLabel?: string, defaultValue?: string): void;
4184
+ showMessage(summary: string): void;
4185
+ showMessage(detail: string | string[] | HttpResponseBase, params: string, severity: CmatMessageSeverity): void;
4186
+ showBottomMessage(summary: string): void;
4187
+ showBottomMessage(summary: string, detail: string, severity: CmatMessageSeverity): void;
4188
+ showStickyMessage(summary: string): void;
4189
+ showStickyMessage(summary: string, detail: string, severity: CmatMessageSeverity, error?: any): void;
4190
+ showStickyMessage(detail: string[] | HttpResponseBase, params: string, severity: CmatMessageSeverity): void;
4191
+ startLoadingMessage(message?: string, caption?: string): void;
4192
+ stopLoadingMessage(): void;
4193
+ logDebug(msg: any): void;
4194
+ logError(msg: any): void;
4195
+ logInfo(msg: any): void;
4196
+ logMessage(msg: any): void;
4197
+ logTrace(msg: any): void;
4198
+ logWarning(msg: any): void;
4199
+ resetStickyMessage(): void;
4200
+ private _showMessageHelper;
4201
+ private isApiResult;
4202
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatAlertService, never>;
4203
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatAlertService>;
4204
+ }
4205
+
4206
+ type CmatScheme = 'auto' | 'dark' | 'light';
4207
+ type CmatTheme = string;
4208
+ type CmatScreens = Record<string, string>;
4209
+ type CmatThemeOption<TExtra extends Record<string, unknown> = Record<string, unknown>> = {
4210
+ id: string;
4211
+ name: string;
4212
+ } & TExtra;
4213
+ interface CmatAppConfigBase {
4214
+ layout: string;
4215
+ scheme: CmatScheme;
4216
+ screens: CmatScreens;
4217
+ theme: CmatTheme;
4218
+ themes: CmatThemeOption[];
4219
+ }
4220
+ type CmatAppConfig<TExtra extends Record<string, unknown> = Record<string, unknown>> = CmatAppConfigBase & TExtra;
4221
+ declare const CMAT_APP_CONFIG: InjectionToken<CmatAppConfig<Record<string, unknown>>>;
4222
+ interface IUrlStateConfig {
4223
+ fileUrl: string;
4224
+ enableDataProtect: boolean;
4225
+ }
4226
+
4227
+ declare class CmatConfigService {
4228
+ private readonly _defaultConfig;
4229
+ private readonly _config;
4230
+ private readonly _config$;
4231
+ get config$(): Observable<CmatAppConfig>;
4232
+ set config(value: Partial<CmatAppConfig>);
4233
+ updateConfig(value: Partial<CmatAppConfig>): void;
4234
+ reset(): void;
4235
+ private _mergeConfig;
4236
+ private _isRecord;
4237
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatConfigService, never>;
4238
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatConfigService>;
4239
+ }
4240
+
4241
+ declare class CmatUrlStateConfigService {
4242
+ private readonly _defaultConfig;
4243
+ private readonly _config;
4244
+ private readonly _config$;
4245
+ get config$(): Observable<IUrlStateConfig>;
4246
+ config(value: Partial<IUrlStateConfig>): void;
4247
+ updateConfig(value: Partial<IUrlStateConfig>): void;
4248
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatUrlStateConfigService, never>;
4249
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatUrlStateConfigService>;
4250
+ }
4251
+
4252
+ interface CmatConfirmationConfig {
4253
+ title?: string;
4254
+ message?: string;
4255
+ icon?: {
4256
+ show?: boolean;
4257
+ name?: string;
4258
+ color?: 'primary' | 'accent' | 'warn' | 'basic' | 'info' | 'success' | 'warning' | 'error';
4259
+ };
4260
+ actions?: {
4261
+ confirm?: {
4262
+ show?: boolean;
4263
+ label?: string;
4264
+ color?: 'primary' | 'accent' | 'warn';
4265
+ };
4266
+ cancel?: {
4267
+ show?: boolean;
4268
+ label?: string;
4269
+ };
4270
+ };
4271
+ dismissible?: boolean;
4272
+ }
4273
+
4274
+ declare class CmatConfirmationDialogComponent {
4275
+ data: CmatConfirmationConfig;
4276
+ matDialogRef: MatDialogRef<CmatConfirmationDialogComponent, any>;
4277
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatConfirmationDialogComponent, never>;
4278
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatConfirmationDialogComponent, "cmat-confirmation-dialog", never, {}, {}, never, never, true, never>;
4279
+ }
4280
+
4281
+ declare class CmatConfirmationService {
4282
+ private _matDialog;
4283
+ private _defaultConfig;
4284
+ open(config?: CmatConfirmationConfig): MatDialogRef<CmatConfirmationDialogComponent>;
4285
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatConfirmationService, never>;
4286
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatConfirmationService>;
4287
+ }
4288
+
4289
+ declare class CmatDataService {
4290
+ private readonly _http;
4291
+ private readonly _urlStateConfigService;
4292
+ private readonly _destroyRef;
4293
+ private _enableDataProtect;
4294
+ constructor();
4295
+ get<T>(url: string, params?: Record<string, unknown>, auth?: boolean): Observable<T>;
4296
+ post<T>(url: string, data: any, params?: Record<string, unknown>, auth?: boolean, idempotent?: boolean): Observable<T>;
4297
+ put<T>(url: string, data: any, params?: Record<string, unknown>, auth?: boolean): Observable<T>;
4298
+ delete<T>(url: string, params?: Record<string, unknown>, auth?: boolean): Observable<T>;
4299
+ patch<T>(url: string, data: any, params?: Record<string, unknown>, auth?: boolean): Observable<T>;
4300
+ private _buildHttpParams;
4301
+ private _decryptResponse;
4302
+ private _normalizeParamValue;
4303
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDataService, never>;
4304
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatDataService>;
4305
+ }
4306
+
4307
+ type SupportedExtensions = 'xlsx' | 'xls' | 'txt' | 'csv' | 'json' | 'xml';
4308
+ interface ExportAsConfig {
4309
+ type: SupportedExtensions;
4310
+ elementIdOrContent: string;
4311
+ download?: boolean;
4312
+ fileName: string;
4313
+ options?: any;
4314
+ }
4315
+
4316
+ declare class CmatExportAsService {
4317
+ get(config: ExportAsConfig): Observable<any>;
4318
+ save(config: ExportAsConfig, fileName: string): Observable<string | null>;
4319
+ contentToBlob(content: string): Observable<Blob>;
4320
+ removeFileTypeFromBase64(fileContent: string): string;
4321
+ addFileTypeToBase64(fileContent: string, fileMime: string): string;
4322
+ downloadFromDataURL(fileName: string, dataURL: string): void;
4323
+ downloadFromBlob(blob: Blob, fileName: string): void;
4324
+ private _getCSV;
4325
+ private _getTXT;
4326
+ private _getXLS;
4327
+ private _getXLSX;
4328
+ private _getJSON;
4329
+ private _getXML;
4330
+ private _btoa;
4331
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatExportAsService, never>;
4332
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatExportAsService>;
4333
+ }
4334
+
4335
+ declare class CmatLoadingService {
4336
+ private readonly _auto$;
4337
+ private readonly _mode$;
4338
+ private readonly _progress$;
4339
+ private readonly _show$;
4340
+ private readonly _autoObservable$;
4341
+ private readonly _modeObservable$;
4342
+ private readonly _progressObservable$;
4343
+ private readonly _showObservable$;
4344
+ private readonly _urlSet;
4345
+ get auto$(): Observable<boolean>;
4346
+ get isAuto(): boolean;
4347
+ get mode$(): Observable<'determinate' | 'indeterminate'>;
4348
+ get currentMode(): 'determinate' | 'indeterminate';
4349
+ get progress$(): Observable<number | null>;
4350
+ get currentProgress(): number | null;
4351
+ get show$(): Observable<boolean>;
4352
+ get isShowing(): boolean;
4353
+ show(): void;
4354
+ hide(): void;
4355
+ setAutoMode(value: boolean): void;
4356
+ setMode(value: 'determinate' | 'indeterminate'): void;
4357
+ setProgress(value: number): void;
4358
+ setLoadingStatus(status: boolean, url: string): void;
4359
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatLoadingService, never>;
4360
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatLoadingService>;
4361
+ }
4362
+
4363
+ declare class CmatLoadingInterceptor implements HttpInterceptor {
4364
+ private readonly _cmatLoadingService;
4365
+ intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
4366
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatLoadingInterceptor, never>;
4367
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatLoadingInterceptor>;
4368
+ }
4369
+
4370
+ declare class CmatLocalStorageService {
4371
+ getItem(key: string): string | null;
4372
+ setItem(key: string, item: string): void;
4373
+ removeItem(key: string): void;
4374
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatLocalStorageService, never>;
4375
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatLocalStorageService>;
4376
+ }
4377
+
4378
+ interface CmatMediaChange {
4379
+ matchingAliases: string[];
4380
+ matchingQueries: Record<string, string>;
4381
+ }
4382
+ declare class CmatMediaWatcherService {
4383
+ private readonly _breakpointObserver;
4384
+ private readonly _cmatConfigService;
4385
+ get onMediaChange$(): Observable<CmatMediaChange>;
4386
+ onMediaQueryChange$(query: string | string[]): Observable<BreakpointState>;
4387
+ private _screensAreEqual;
4388
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatMediaWatcherService, never>;
4389
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatMediaWatcherService>;
4390
+ }
4391
+
4392
+ declare class CmatPlatformService {
4393
+ osName: string;
4394
+ private _platform;
4395
+ constructor();
4396
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatPlatformService, never>;
4397
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatPlatformService>;
4398
+ }
4399
+
4400
+ declare class CmatSplashScreenService {
4401
+ private _document;
4402
+ private _router;
4403
+ private readonly _destroyRef;
4404
+ constructor();
4405
+ show(): void;
4406
+ hide(): void;
4407
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatSplashScreenService, never>;
4408
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatSplashScreenService>;
4409
+ }
4410
+
4411
+ declare class CmatTitleService {
4412
+ private readonly _destroyRef;
4413
+ private readonly _router;
4414
+ private readonly _titleService;
4415
+ constructor();
4416
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatTitleService, never>;
4417
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatTitleService>;
4418
+ }
4419
+
4420
+ declare class CmatTranslationService {
4421
+ private _translate;
4422
+ private readonly _defaultLanguage;
4423
+ private _onLanguageChanged;
4424
+ constructor();
4425
+ get languageChanged$(): Observable<Language>;
4426
+ addLanguages(lang: Language[]): void;
4427
+ setDefaultLanguage(lang: Language): void;
4428
+ getDefaultLanguage(): Language;
4429
+ getBrowserLanguage(): Language | void;
4430
+ useBrowserLanguage(): Language | void;
4431
+ changeLanguage(language?: Language): Language;
4432
+ getTranslation(key: string | string[], interpolateParams?: object): any;
4433
+ getTranslationAsync(key: string | string[], interpolateParams?: object): Observable<any>;
4434
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatTranslationService, never>;
4435
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatTranslationService>;
4436
+ }
4437
+
4438
+ declare class CmatUtilsService {
4439
+ static readonly captionAndMessageSeparator = ":";
4440
+ static readonly noNetworkMessageCaption = "\u65E0\u7F51\u7EDC";
4441
+ static readonly noNetworkMessageDetail = "\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668";
4442
+ static readonly accessDeniedMessageCaption = "\u62D2\u7EDD\u8BBF\u95EE!";
4443
+ static readonly accessDeniedMessageDetail = "";
4444
+ private static readonly key;
4445
+ private static readonly iv;
4446
+ get exactMatchOptions(): IsActiveMatchOptions;
4447
+ get subsetMatchOptions(): IsActiveMatchOptions;
4448
+ static getRequestHeaders(): HttpHeaders;
4449
+ static getRequestIdempotentHeaders(): HttpHeaders;
4450
+ static getRequestBypassHeaders(): HttpHeaders;
4451
+ static getRequestIdempotentBypassHeaders(): HttpHeaders;
4452
+ static getRequestCryptoHeaders(params: string): HttpHeaders;
4453
+ static getRequestCryptoBypassHeaders(params: string): HttpHeaders;
4454
+ static getRequestCryptoIdempotentHeaders(params: string): HttpHeaders;
4455
+ static getRequestCryptoIdempotentBypassHeaders(params: string): HttpHeaders;
4456
+ static getEncryptData(data: string): string;
4457
+ static getDecryptData(data: string): string;
4458
+ static handleError(error: any): Observable<never>;
4459
+ static getHttpResponseMessage(data: any): string[];
4460
+ static findHttpResponseMessage(messageToFind: string, data: any, seachInCaptionOnly?: boolean, includeCaptionInResult?: boolean): string | null;
4461
+ static getResponseBody(response: HttpResponseBase): any;
4462
+ static checkNoNetwork(response: HttpResponseBase): boolean;
4463
+ static checkAccessDenied(response: HttpResponseBase): boolean;
4464
+ static checkNotFound(response: HttpResponseBase): boolean;
4465
+ static checkIsLocalHost(url: string, base?: string): boolean;
4466
+ static getQueryParamsFromString(paramString: string): Record<string, string | null> | null;
4467
+ static splitInTwo(text: string, separator?: string): {
4468
+ firstPart: string;
4469
+ secondPart: string | null;
4470
+ };
4471
+ static safeStringify(object: any): string;
4472
+ static jsonTryParse(value: string): string | void;
4473
+ static capitalizeFirstLetter(text: string): string;
4474
+ static toTitleCase(text: string): string;
4475
+ static toLowerCase(items: any): string | string[] | void;
4476
+ static uniqueId(): string;
4477
+ static randomNumber(min: number, max: number): number;
4478
+ static baseUrl(): string;
4479
+ static newGuid(): string;
4480
+ static testIsAbsoluteUrl(url: string): boolean;
4481
+ static convertToAbsoluteUrl(url: string): string;
4482
+ static urlBase64Decode(str: string): string;
4483
+ static decodeToken(token: string): any;
4484
+ static getTokenExpirationDate(token: string): Date | null;
4485
+ static isTokenExpired(token: string, offsetSeconds?: number): boolean;
4486
+ static readAsDataURL(file: File): Promise<any>;
4487
+ static dataURIToBlob(dataURI: string): Blob;
4488
+ static getFileType(accept: string): 'csv' | 'gif' | 'word' | 'excel' | 'jpg' | 'outlook' | 'pdf' | 'png' | 'ppt' | 'file' | 'text' | 'video' | 'zip';
4489
+ static isDateString(value: any): boolean;
4490
+ static transformObjectsForExport(jsonObjects: any[], columns: any[]): any[];
4491
+ private static _base64DecodeUnicode;
4492
+ randomId(stringLength?: number): string;
4493
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatUtilsService, never>;
4494
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatUtilsService>;
4495
+ }
4496
+
4497
+ export { AngularShape, AngularShapeView, CLOCK_INNER_RADIUS, CLOCK_OUTER_RADIUS, CLOCK_RADIUS, CLOCK_TICK_RADIUS, CMAT_APP_CONFIG, CMAT_DATETIMEPICKER_SCROLL_STRATEGY, CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY, CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, CMAT_DATETIMEPICKER_VALIDATORS, CMAT_DATETIMEPICKER_VALUE_ACCESSOR, CMAT_DATETIME_FORMATS, CMAT_DAYJS_DATETIME_FORMATS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY, CMAT_DAYJS_DATE_FORMATS, CMAT_MATERIAL_COLOR_PICKER_VALUE_ACCESSOR, CMAT_NATIVE_DATETIME_FORMATS, CNativeDatetimeAdapter, ChartNode, CmatAddonsWrapperComponent, CmatAlertDialog, CmatAlertMessage, CmatAlertService, CmatAnimationOnScrollDirective, CmatArrowCursorDirective, CmatAutofocusDirective, CmatBreadcrumbComponent, CmatBreadcrumbItemDirective, CmatBreadcrumbService, CmatButtonTypeComponent, CmatBytesPipe, CmatCardComponent, CmatCardWrapperComponent, CmatCarouselComponent, CmatCarouselFooterComponent, CmatCarouselHeaderComponent, CmatCarouselTemplateDirective, CmatCascadeBottomSheetComponent, CmatCascadeListComponent, CmatCascadeTypeComponent, CmatCheckListTypeComponent, CmatChipInputComponent, CmatChipsInputTypeComponent, CmatCodeEditorComponent, CmatColorPickerTypeComponent, CmatConfigService, CmatConfirmationService, CmatDataExporterDirective, CmatDataService, CmatDateFormatPipe, CmatDateRangeComponent, CmatDateRangeTypeComponent, CmatDateTimeDisplayComponent, CmatDatepickerTypeComponent, CmatDatetimepickerCalendarBodyComponent, CmatDatetimepickerCalendarCellComponent, CmatDatetimepickerCalendarComponent, CmatDatetimepickerClockComponent, CmatDatetimepickerComponent, CmatDatetimepickerContentComponent, CmatDatetimepickerFilterType, CmatDatetimepickerInputDirective, CmatDatetimepickerInputEvent, CmatDatetimepickerMonthViewComponent, CmatDatetimepickerToggleComponent, CmatDatetimepickerToggleIconDirective, CmatDatetimepickerYearViewComponent, CmatDebounceClickDirective, CmatDebounceKeyupDirective, CmatDialogType, CmatDigitOnlyDirective, CmatDrawerComponent, CmatDrawerService, CmatEmptyStateComponent, CmatEqualValidatorDirective, CmatExpansionWrapperComponent, CmatExportAsService, CmatFilePreviewComponent, CmatFilesUtilService, CmatFilterToolbarComponent, CmatFindByKeyPipe, CmatFormActionsComponent, CmatFormFieldWrapperComponent, CmatFullscreenComponent, CmatGroupByPipe, CmatHighlightComponent, CmatHighlightService, CmatHorizontalNavigationComponent, CmatImageComponent, CmatInlineLoadingComponent, CmatJsonEditorComponent, CmatKeysPipe, CmatKnobInputComponent, CmatKnobTypeComponent, CmatLoadingInterceptor, CmatLoadingService, CmatLocalStorageService, CmatMaskDirective, CmatMasonryComponent, CmatMaterialColorPickerComponent, CmatMediaWatcherService, CmatMessageSeverity, CmatMultiCheckboxTypeComponent, CmatNavigationItem, CmatNavigationService, CmatNumberTypeComponent, CmatOrgChartComponent, CmatOtpInputComponent, CmatPageHeaderComponent, CmatPaginatePipe, CmatPaginationComponent, CmatPaginationDirective, CmatPaginationService, CmatPanelWrapperComponent, CmatPassToggleVisibilityComponent, CmatPasswordStrengthComponent, CmatPasswordStrengthInfoComponent, CmatPlatformService, CmatPopoverComponent, CmatPopoverTargetDirective, CmatPopoverTriggerDirective, CmatProgressBarComponent, CmatQRCodeComponent, CmatQuillTypeComponent, CmatRadioTypeComponent, CmatRatingComponent, CmatRatingTypeComponent, CmatRepeatTypeComponent, CmatRichTextEditorComponent, CmatSeamlessAutoScrollDirective, CmatSecurePipe, CmatSelectSearchComponent, CmatSelectTableComponent, CmatSelectTableTypeComponent, CmatSelectTreeComponent, CmatSelectTreeFlatNode, CmatSelectTreeNode, CmatSelectTreeTypeComponent, CmatSelectTypeComponent, CmatSelectedColor, CmatSliderTypeComponent, CmatSpeedDialActionsComponent, CmatSpeedDialComponent, CmatSpeedDialTriggerComponent, CmatSplashScreenService, CmatStatusTagComponent, CmatStepperHorizontalTypeComponent, CmatStepperVerticalTypeComponent, CmatTabTypeComponent, CmatTableToolbarComponent, CmatTableTypeComponent, CmatTagsTypeComponent, CmatTextareaTypeComponent, CmatTimelineComponent, CmatTimelineItemComponent, CmatTimelineItemIconDirective, CmatTimelineItemLabelDirective, CmatTitleService, CmatToastComponent, CmatToastModalComponent, CmatToastService, CmatTransferFilterCondition, CmatTransferItemFlatNode, CmatTransferItemNode, CmatTransferPickerComponent, CmatTransferPickerFilterComponent, CmatTransferPickerSearchComponent, CmatTransferPickerService, CmatTransferPickerSourceComponent, CmatTransferPickerTargetComponent, CmatTranslationService, CmatTreeTableColumnDirective, CmatTreeTableComponent, CmatTreeTableNode, CmatUploadComponent, CmatUploadQueueComponent, CmatUploadTypeComponent, CmatUppercasePipe, CmatUrlStateConfigService, CmatUtilsService, CmatVerticalNavigationComponent, DatetimeAdapter, DayjsDateAdapter, DayjsDatetimeAdapter, ExportType, MAT_SELECTSEARCH_DEFAULT_OPTIONS, addonsExtension, configurableDefaultOptions, register, registerInfo };
4498
+ export type { AngularShapeConfig, AnimationMode, ApiResult, CMAT_TIMELINE_ORIENTATION, CMAT_TIMELINE_POSITION, CmatAMPM, CmatAppConfig, CmatAppConfigBase, CmatBreadcrumb, CmatBreadcrumbDefinition, CmatBreadcrumbFunction, CmatBreadcrumbObject, CmatCalendarView, CmatCardFace, CmatCarouselPageEvent, CmatCarouselResponsiveOptions, CmatCarouselTemplates, CmatCascadeOptionsInterface, CmatClockView, CmatConfirmationConfig, CmatDatetimeFormats, CmatDatetimepickerMode, CmatDatetimepickerType, CmatDrawerMode, CmatDrawerPosition, CmatNavigationComponent, CmatPaginatePipeArgs, CmatPaginationInstance, CmatPipeState, CmatPopoverPosition, CmatPopoverPositionEnd, CmatPopoverPositionStart, CmatPopoverScrollStrategy, CmatPopoverTriggerEvent, CmatScheme, CmatScreens, CmatSelectTableColumn, CmatSelectTableDataSource, CmatSelectTableFilter, CmatSelectTableRow, CmatSourceOptions, CmatTheme, CmatThemeOption, CmatToastModel, CmatTransferFilterData, CmatTransferFilterItem, CmatVerticalNavigationAppearance, CmatVerticalNavigationMode, CmatVerticalNavigationPosition, Collection, ConfigurableDefaultOptions, Content, CustomFormFieldProps, DatetimepickerDropdownPositionX, DatetimepickerDropdownPositionY, DayJsDateAdapterOptions, Direction, ExcelOptions, ExportAsConfig, ExporterListInfo, FileCategoryModel, FileListModel, FileModel, FormlyMultiCheckboxFieldConfig, FormlyRadioFieldConfig, FormlySliderFieldConfig, GlobalConfigModel, GlobalPosition, GlobalTheme, GlobalType, INode, IUrlStateConfig, MatSelectSearchOptions, Options, Page, Position, PositionX, PositionY, SupportedExtensions, Theme, ToastAPrefix, TxtOptions, Type };