cmat 0.0.111 → 0.0.113

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 (256) hide show
  1. package/fesm2022/cmat-components-adapter.mjs +531 -536
  2. package/fesm2022/cmat-components-adapter.mjs.map +1 -1
  3. package/fesm2022/cmat-components-breadcrumb.mjs +521 -356
  4. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
  5. package/fesm2022/cmat-components-card.mjs +150 -42
  6. package/fesm2022/cmat-components-card.mjs.map +1 -1
  7. package/fesm2022/cmat-components-carousel.mjs +1120 -629
  8. package/fesm2022/cmat-components-carousel.mjs.map +1 -1
  9. package/fesm2022/cmat-components-cascade.mjs +861 -441
  10. package/fesm2022/cmat-components-cascade.mjs.map +1 -1
  11. package/fesm2022/cmat-components-chip-input.mjs +580 -335
  12. package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
  13. package/fesm2022/cmat-components-code-editor.mjs +197 -105
  14. package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
  15. package/fesm2022/cmat-components-color-picker.mjs +1762 -825
  16. package/fesm2022/cmat-components-color-picker.mjs.map +1 -1
  17. package/fesm2022/cmat-components-custom-formly.mjs +5196 -2531
  18. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  19. package/fesm2022/cmat-components-data-picker.mjs +1901 -1073
  20. package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
  21. package/fesm2022/cmat-components-date-range.mjs +701 -456
  22. package/fesm2022/cmat-components-date-range.mjs.map +1 -1
  23. package/fesm2022/cmat-components-date-time-display.mjs +137 -30
  24. package/fesm2022/cmat-components-date-time-display.mjs.map +1 -1
  25. package/fesm2022/cmat-components-drawer.mjs +410 -258
  26. package/fesm2022/cmat-components-drawer.mjs.map +1 -1
  27. package/fesm2022/cmat-components-empty-state.mjs +201 -41
  28. package/fesm2022/cmat-components-empty-state.mjs.map +1 -1
  29. package/fesm2022/cmat-components-file-preview.mjs +198 -35
  30. package/fesm2022/cmat-components-file-preview.mjs.map +1 -1
  31. package/fesm2022/cmat-components-filter-toolbar.mjs +320 -72
  32. package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
  33. package/fesm2022/cmat-components-form-actions.mjs +102 -26
  34. package/fesm2022/cmat-components-form-actions.mjs.map +1 -1
  35. package/fesm2022/cmat-components-fullscreen.mjs +167 -47
  36. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
  37. package/fesm2022/cmat-components-highlight.mjs +203 -112
  38. package/fesm2022/cmat-components-highlight.mjs.map +1 -1
  39. package/fesm2022/cmat-components-image-viewer.mjs +489 -215
  40. package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
  41. package/fesm2022/cmat-components-inline-loading.mjs +117 -27
  42. package/fesm2022/cmat-components-inline-loading.mjs.map +1 -1
  43. package/fesm2022/cmat-components-json-editor.mjs +276 -230
  44. package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
  45. package/fesm2022/cmat-components-knob-input.mjs +615 -420
  46. package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
  47. package/fesm2022/cmat-components-loading-overlay.mjs +53 -25
  48. package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -1
  49. package/fesm2022/cmat-components-masonry.mjs +120 -40
  50. package/fesm2022/cmat-components-masonry.mjs.map +1 -1
  51. package/fesm2022/cmat-components-material-color-picker.mjs +332 -155
  52. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  53. package/fesm2022/cmat-components-material-datetimepicker.mjs +4283 -2504
  54. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  55. package/fesm2022/cmat-components-navigation.mjs +3080 -1404
  56. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  57. package/fesm2022/cmat-components-opt-input.mjs +540 -466
  58. package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
  59. package/fesm2022/cmat-components-org-chart.mjs +528 -125
  60. package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
  61. package/fesm2022/cmat-components-page-header.mjs +141 -32
  62. package/fesm2022/cmat-components-page-header.mjs.map +1 -1
  63. package/fesm2022/cmat-components-pagination.mjs +866 -534
  64. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  65. package/fesm2022/cmat-components-password-strength.mjs +873 -434
  66. package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
  67. package/fesm2022/cmat-components-popover.mjs +1012 -731
  68. package/fesm2022/cmat-components-popover.mjs.map +1 -1
  69. package/fesm2022/cmat-components-progress-bar.mjs +98 -35
  70. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  71. package/fesm2022/cmat-components-qrcode.mjs +463 -287
  72. package/fesm2022/cmat-components-qrcode.mjs.map +1 -1
  73. package/fesm2022/cmat-components-rating.mjs +377 -203
  74. package/fesm2022/cmat-components-rating.mjs.map +1 -1
  75. package/fesm2022/cmat-components-rich-text-editor.mjs +153 -39
  76. package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
  77. package/fesm2022/cmat-components-select-search.mjs +926 -496
  78. package/fesm2022/cmat-components-select-search.mjs.map +1 -1
  79. package/fesm2022/cmat-components-select-table.mjs +1280 -842
  80. package/fesm2022/cmat-components-select-table.mjs.map +1 -1
  81. package/fesm2022/cmat-components-select-tree.mjs +998 -690
  82. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  83. package/fesm2022/cmat-components-skeleton.mjs +143 -57
  84. package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
  85. package/fesm2022/cmat-components-speed-dial.mjs +457 -303
  86. package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
  87. package/fesm2022/cmat-components-status-tag.mjs +136 -44
  88. package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
  89. package/fesm2022/cmat-components-table-toolbar.mjs +120 -28
  90. package/fesm2022/cmat-components-table-toolbar.mjs.map +1 -1
  91. package/fesm2022/cmat-components-timeline.mjs +464 -168
  92. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  93. package/fesm2022/cmat-components-toast.mjs +346 -262
  94. package/fesm2022/cmat-components-toast.mjs.map +1 -1
  95. package/fesm2022/cmat-components-transfer-picker.mjs +1427 -593
  96. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  97. package/fesm2022/cmat-components-treetable.mjs +372 -112
  98. package/fesm2022/cmat-components-treetable.mjs.map +1 -1
  99. package/fesm2022/cmat-components-upload.mjs +904 -410
  100. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  101. package/fesm2022/cmat-components-x6-angular-shape.mjs +153 -170
  102. package/fesm2022/cmat-components-x6-angular-shape.mjs.map +1 -1
  103. package/fesm2022/cmat-directives-animate-on-scroll.mjs +220 -138
  104. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
  105. package/fesm2022/cmat-directives-arrow-cursor.mjs +246 -193
  106. package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
  107. package/fesm2022/cmat-directives-autofocus.mjs +43 -25
  108. package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
  109. package/fesm2022/cmat-directives-data-exporter.mjs +537 -338
  110. package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
  111. package/fesm2022/cmat-directives-debounce.mjs +162 -76
  112. package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
  113. package/fesm2022/cmat-directives-digit-only.mjs +457 -356
  114. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
  115. package/fesm2022/cmat-directives-equal-validator.mjs +70 -53
  116. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
  117. package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +180 -132
  118. package/fesm2022/cmat-directives-seamless-auto-scroll.mjs.map +1 -1
  119. package/fesm2022/cmat-lib-mock-api.mjs +207 -195
  120. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
  121. package/fesm2022/cmat-pipes-bytes.mjs +50 -30
  122. package/fesm2022/cmat-pipes-bytes.mjs.map +1 -1
  123. package/fesm2022/cmat-pipes-date-format.mjs +41 -25
  124. package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
  125. package/fesm2022/cmat-pipes-find-by-key.mjs +44 -26
  126. package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
  127. package/fesm2022/cmat-pipes-group-by.mjs +50 -38
  128. package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
  129. package/fesm2022/cmat-pipes-keys.mjs +44 -31
  130. package/fesm2022/cmat-pipes-keys.mjs.map +1 -1
  131. package/fesm2022/cmat-pipes-secure.mjs +60 -49
  132. package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
  133. package/fesm2022/cmat-pipes-uppercase.mjs +39 -22
  134. package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -1
  135. package/fesm2022/cmat-reports.mjs +2761 -0
  136. package/fesm2022/cmat-reports.mjs.map +1 -0
  137. package/fesm2022/cmat-services-alert.mjs +249 -277
  138. package/fesm2022/cmat-services-alert.mjs.map +1 -1
  139. package/fesm2022/cmat-services-config.mjs +110 -81
  140. package/fesm2022/cmat-services-config.mjs.map +1 -1
  141. package/fesm2022/cmat-services-confirmation.mjs +184 -73
  142. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  143. package/fesm2022/cmat-services-data.mjs +136 -125
  144. package/fesm2022/cmat-services-data.mjs.map +1 -1
  145. package/fesm2022/cmat-services-export-as.mjs +165 -183
  146. package/fesm2022/cmat-services-export-as.mjs.map +1 -1
  147. package/fesm2022/cmat-services-loading.mjs +116 -95
  148. package/fesm2022/cmat-services-loading.mjs.map +1 -1
  149. package/fesm2022/cmat-services-local-storage.mjs +75 -66
  150. package/fesm2022/cmat-services-local-storage.mjs.map +1 -1
  151. package/fesm2022/cmat-services-media-watcher.mjs +69 -64
  152. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
  153. package/fesm2022/cmat-services-platform.mjs +48 -45
  154. package/fesm2022/cmat-services-platform.mjs.map +1 -1
  155. package/fesm2022/cmat-services-print.mjs +984 -1109
  156. package/fesm2022/cmat-services-print.mjs.map +1 -1
  157. package/fesm2022/cmat-services-splash-screen.mjs +53 -38
  158. package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
  159. package/fesm2022/cmat-services-title.mjs +57 -47
  160. package/fesm2022/cmat-services-title.mjs.map +1 -1
  161. package/fesm2022/cmat-services-translation.mjs +79 -68
  162. package/fesm2022/cmat-services-translation.mjs.map +1 -1
  163. package/fesm2022/cmat-services-utils.mjs +424 -517
  164. package/fesm2022/cmat-services-utils.mjs.map +1 -1
  165. package/fesm2022/cmat-validators.mjs +23 -33
  166. package/fesm2022/cmat-validators.mjs.map +1 -1
  167. package/fesm2022/cmat-version.mjs +12 -16
  168. package/fesm2022/cmat-version.mjs.map +1 -1
  169. package/fesm2022/cmat.mjs +39805 -22511
  170. package/fesm2022/cmat.mjs.map +1 -1
  171. package/package.json +5 -1
  172. package/types/cmat-components-adapter.d.ts +145 -156
  173. package/types/cmat-components-breadcrumb.d.ts +108 -86
  174. package/types/cmat-components-card.d.ts +34 -18
  175. package/types/cmat-components-carousel.d.ts +251 -134
  176. package/types/cmat-components-cascade.d.ts +158 -117
  177. package/types/cmat-components-chip-input.d.ts +105 -71
  178. package/types/cmat-components-code-editor.d.ts +59 -34
  179. package/types/cmat-components-color-picker.d.ts +378 -236
  180. package/types/cmat-components-custom-formly.d.ts +776 -814
  181. package/types/cmat-components-data-picker.d.ts +502 -360
  182. package/types/cmat-components-date-range.d.ts +106 -77
  183. package/types/cmat-components-date-time-display.d.ts +36 -13
  184. package/types/cmat-components-drawer.d.ts +91 -61
  185. package/types/cmat-components-empty-state.d.ts +47 -17
  186. package/types/cmat-components-file-preview.d.ts +42 -14
  187. package/types/cmat-components-filter-toolbar.d.ts +57 -25
  188. package/types/cmat-components-form-actions.d.ts +18 -10
  189. package/types/cmat-components-fullscreen.d.ts +21 -13
  190. package/types/cmat-components-highlight.d.ts +33 -26
  191. package/types/cmat-components-image-viewer.d.ts +119 -58
  192. package/types/cmat-components-inline-loading.d.ts +24 -11
  193. package/types/cmat-components-json-editor.d.ts +39 -28
  194. package/types/cmat-components-knob-input.d.ts +172 -101
  195. package/types/cmat-components-loading-overlay.d.ts +8 -11
  196. package/types/cmat-components-masonry.d.ts +27 -14
  197. package/types/cmat-components-material-color-picker.d.ts +56 -42
  198. package/types/cmat-components-material-datetimepicker.d.ts +817 -454
  199. package/types/cmat-components-navigation.d.ts +295 -221
  200. package/types/cmat-components-opt-input.d.ts +111 -90
  201. package/types/cmat-components-org-chart.d.ts +53 -35
  202. package/types/cmat-components-page-header.d.ts +37 -14
  203. package/types/cmat-components-pagination.d.ts +144 -107
  204. package/types/cmat-components-password-strength.d.ts +197 -86
  205. package/types/cmat-components-popover.d.ts +264 -166
  206. package/types/cmat-components-progress-bar.d.ts +17 -14
  207. package/types/cmat-components-qrcode.d.ts +111 -42
  208. package/types/cmat-components-rating.d.ts +105 -59
  209. package/types/cmat-components-rich-text-editor.d.ts +39 -16
  210. package/types/cmat-components-select-search.d.ts +195 -99
  211. package/types/cmat-components-select-table.d.ts +241 -142
  212. package/types/cmat-components-select-tree.d.ts +185 -118
  213. package/types/cmat-components-skeleton.d.ts +55 -32
  214. package/types/cmat-components-speed-dial.d.ts +86 -61
  215. package/types/cmat-components-status-tag.d.ts +42 -24
  216. package/types/cmat-components-table-toolbar.d.ts +30 -12
  217. package/types/cmat-components-timeline.d.ts +83 -51
  218. package/types/cmat-components-toast.d.ts +84 -85
  219. package/types/cmat-components-transfer-picker.d.ts +228 -181
  220. package/types/cmat-components-treetable.d.ts +63 -39
  221. package/types/cmat-components-upload.d.ts +205 -106
  222. package/types/cmat-components-x6-angular-shape.d.ts +29 -37
  223. package/types/cmat-directives-animate-on-scroll.d.ts +48 -30
  224. package/types/cmat-directives-arrow-cursor.d.ts +55 -35
  225. package/types/cmat-directives-autofocus.d.ts +8 -11
  226. package/types/cmat-directives-data-exporter.d.ts +71 -40
  227. package/types/cmat-directives-debounce.d.ts +31 -28
  228. package/types/cmat-directives-digit-only.d.ts +90 -53
  229. package/types/cmat-directives-equal-validator.d.ts +11 -14
  230. package/types/cmat-directives-seamless-auto-scroll.d.ts +42 -29
  231. package/types/cmat-lib-mock-api.d.ts +46 -55
  232. package/types/cmat-pipes-bytes.d.ts +7 -10
  233. package/types/cmat-pipes-date-format.d.ts +7 -10
  234. package/types/cmat-pipes-find-by-key.d.ts +8 -12
  235. package/types/cmat-pipes-group-by.d.ts +11 -15
  236. package/types/cmat-pipes-keys.d.ts +10 -13
  237. package/types/cmat-pipes-secure.d.ts +14 -17
  238. package/types/cmat-pipes-uppercase.d.ts +7 -10
  239. package/types/cmat-reports.d.ts +1138 -0
  240. package/types/cmat-services-alert.d.ts +80 -87
  241. package/types/cmat-services-config.d.ts +37 -43
  242. package/types/cmat-services-confirmation.d.ts +31 -37
  243. package/types/cmat-services-data.d.ts +18 -21
  244. package/types/cmat-services-export-as.d.ts +28 -33
  245. package/types/cmat-services-loading.d.ts +27 -31
  246. package/types/cmat-services-local-storage.d.ts +17 -21
  247. package/types/cmat-services-media-watcher.d.ts +14 -18
  248. package/types/cmat-services-platform.d.ts +8 -11
  249. package/types/cmat-services-print.d.ts +97 -102
  250. package/types/cmat-services-splash-screen.d.ts +11 -14
  251. package/types/cmat-services-title.d.ts +9 -12
  252. package/types/cmat-services-translation.d.ts +19 -22
  253. package/types/cmat-services-utils.d.ts +76 -80
  254. package/types/cmat-validators.d.ts +5 -8
  255. package/types/cmat-version.d.ts +8 -10
  256. package/types/cmat.d.ts +7551 -5204
@@ -1,121 +1,162 @@
1
- import * as _angular_core from '@angular/core';
2
- import { Signal, OnDestroy, OnInit, ElementRef } from '@angular/core';
3
- import { BooleanInput } from '@angular/cdk/coercion';
4
- import { CdkOverlayOrigin, OverlayRef } from '@angular/cdk/overlay';
5
- import { CdkPortal } from '@angular/cdk/portal';
6
- import { ControlValueAccessor, NgControl } from '@angular/forms';
7
- import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
8
- import { MatFormFieldControl } from '@angular/material/form-field';
9
- import { Subject } from 'rxjs';
10
-
11
- interface CmatCascadeOptionsInterface {
12
- [propName: string]: any;
13
- label?: string;
14
- value: string;
15
- children?: CmatCascadeOptionsInterface[];
16
- disabled?: boolean;
17
- }
18
- interface CmatCascadeStepItem extends CmatCascadeOptionsInterface {
19
- active: boolean;
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef, OnDestroy, OnInit, Signal } from "@angular/core";
3
+ import { BooleanInput } from "@angular/cdk/coercion";
4
+ import { CdkOverlayOrigin, OverlayRef } from "@angular/cdk/overlay";
5
+ import { CdkPortal } from "@angular/cdk/portal";
6
+ import { ControlValueAccessor, NgControl } from "@angular/forms";
7
+ import { MatBottomSheetRef } from "@angular/material/bottom-sheet";
8
+ import { MatFormFieldControl } from "@angular/material/form-field";
9
+ import { Subject } from "rxjs";
10
+ export interface CmatCascadeOptionsInterface {
11
+ [propName: string]: any;
12
+ label?: string;
13
+ value: string;
14
+ children?: CmatCascadeOptionsInterface[];
15
+ disabled?: boolean;
20
16
  }
21
- interface CascadeBottomSheetData {
22
- options: CmatCascadeOptionsInterface[];
23
- steps: Signal<CmatCascadeStepItem[][]>;
24
- currentLabels: Signal<CmatCascadeOptionsInterface[]>;
25
- selectHandle: (event: Event, step: number, index: number) => void;
26
- changeOnSelect: boolean;
27
- placeholder: string;
17
+ export interface CmatCascadeStepItem extends CmatCascadeOptionsInterface {
18
+ active: boolean;
28
19
  }
29
-
30
- declare class CmatCascadeBottomSheetComponent {
31
- readonly data: CascadeBottomSheetData;
32
- readonly selectedTab: _angular_core.WritableSignal<number>;
33
- readonly labels: _angular_core.Signal<string[]>;
34
- private readonly _bottomSheetRef;
35
- constructor();
36
- resetTabIndex(): void;
37
- clickHandle(event: Event): void;
38
- dismiss(): void;
39
- select(disabled: boolean | undefined): void;
40
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCascadeBottomSheetComponent, never>;
41
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCascadeBottomSheetComponent, "cmat-cascade-bottom-sheet", ["cmatCascadeBottomSheet"], {}, {}, never, never, true, never>;
20
+ export interface CascadeBottomSheetData {
21
+ options: CmatCascadeOptionsInterface[];
22
+ steps: Signal<CmatCascadeStepItem[][]>;
23
+ currentLabels: Signal<CmatCascadeOptionsInterface[]>;
24
+ selectHandle: (event: Event, step: number, index: number) => void;
25
+ changeOnSelect: boolean;
26
+ placeholder: string;
42
27
  }
43
-
44
- declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDestroy, OnInit, ControlValueAccessor {
45
- readonly id: string;
46
- readonly options: _angular_core.InputSignal<CmatCascadeOptionsInterface[]>;
47
- readonly clearable: _angular_core.InputSignal<boolean>;
48
- readonly fullLevels: _angular_core.InputSignal<boolean>;
49
- readonly changeOnSelect: _angular_core.InputSignal<boolean>;
50
- readonly allowLabelValue: _angular_core.InputSignal<boolean>;
51
- readonly touchUi: _angular_core.InputSignalWithTransform<boolean, any>;
52
- readonly overlayOrigin: _angular_core.Signal<CdkOverlayOrigin>;
53
- readonly menuTemplate: _angular_core.Signal<CdkPortal>;
54
- readonly _inputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
55
- private readonly _placeholderSignal;
56
- private readonly _disabledSignal;
57
- private readonly _requiredSignal;
58
- get placeholder(): string;
59
- set placeholder(value: string);
60
- get disabled(): boolean;
61
- set disabled(value: BooleanInput);
62
- get required(): boolean;
63
- set required(value: BooleanInput);
64
- readonly ngControl: NgControl | null;
65
- readonly stateChanges: Subject<void>;
66
- controlType: string;
67
- overlayRef: OverlayRef;
68
- bottomSheetRef: MatBottomSheetRef;
69
- private readonly _overlay;
70
- private readonly _breakpointObserver;
71
- private readonly _bottomSheet;
72
- private readonly _destroyRef;
73
- private readonly _value;
74
- private readonly _focused;
75
- private readonly _touched;
76
- readonly currentLabels: _angular_core.Signal<CmatCascadeOptionsInterface[]>;
77
- readonly steps: _angular_core.Signal<{
78
- active: boolean;
79
- label?: string;
80
- value: string;
81
- children?: CmatCascadeOptionsInterface[];
82
- disabled?: boolean;
83
- }[][]>;
84
- readonly showClearIcon: _angular_core.Signal<boolean>;
85
- readonly menuVisible: _angular_core.Signal<boolean>;
86
- get empty(): boolean;
87
- get shouldLabelFloat(): boolean;
88
- get errorState(): boolean;
89
- private _onChange;
90
- private _onTouched;
91
- constructor();
92
- get value(): CmatCascadeOptionsInterface[] | null;
93
- set value(val: CmatCascadeOptionsInterface[] | null);
94
- get focused(): boolean;
95
- set focused(val: boolean);
96
- get touched(): boolean;
97
- set touched(val: boolean);
98
- ngOnInit(): void;
99
- ngOnDestroy(): void;
100
- writeValue(value: CmatCascadeOptionsInterface[] | null): void;
101
- registerOnChange(fn: (value: CmatCascadeOptionsInterface[] | null) => void): void;
102
- registerOnTouched(fn: () => void): void;
103
- setDisabledState(isDisabled: boolean): void;
104
- setDescribedByIds(ids: string[]): void;
105
- onContainerClick(): void;
106
- clickHandle(event: MouseEvent): void;
107
- clearValue(event?: Event): void;
108
- selectHandle(event: Event, step: number, index: number): void;
109
- onFocusIn(): void;
110
- onFocusOut(event: FocusEvent): void;
111
- private _findLabelsByValue;
112
- private _buildStepsFromLabels;
113
- private _updateInputValue;
114
- private _openBottomSheet;
115
- private _getLabelText;
116
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCascadeListComponent, never>;
117
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCascadeListComponent, "cmat-cascade-list", ["cmatCascadeList"], { "options": { "alias": "options"; "required": true; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "fullLevels": { "alias": "fullLevels"; "required": false; "isSignal": true; }; "changeOnSelect": { "alias": "changeOnSelect"; "required": false; "isSignal": true; }; "allowLabelValue": { "alias": "allowLabelValue"; "required": false; "isSignal": true; }; "touchUi": { "alias": "touchUi"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
28
+ export declare class CmatCascadeBottomSheetComponent {
29
+ readonly data: CascadeBottomSheetData;
30
+ readonly selectedTab: import("@angular/core").WritableSignal<number>;
31
+ readonly labels: import("@angular/core").Signal<string[]>;
32
+ private readonly _bottomSheetRef;
33
+ constructor();
34
+ resetTabIndex(): void;
35
+ clickHandle(event: Event): void;
36
+ dismiss(): void;
37
+ select(disabled: boolean | undefined): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatCascadeBottomSheetComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeBottomSheetComponent, "cmat-cascade-bottom-sheet", ["cmatCascadeBottomSheet"], {}, {}, never, never, true, never>;
118
40
  }
119
-
120
- export { CmatCascadeBottomSheetComponent, CmatCascadeListComponent };
121
- export type { CascadeBottomSheetData, CmatCascadeOptionsInterface, CmatCascadeStepItem };
41
+ export declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDestroy, OnInit, ControlValueAccessor {
42
+ readonly id: string;
43
+ readonly options: import("@angular/core").InputSignal<CmatCascadeOptionsInterface[]>;
44
+ readonly clearable: import("@angular/core").InputSignal<boolean>;
45
+ readonly fullLevels: import("@angular/core").InputSignal<boolean>;
46
+ readonly changeOnSelect: import("@angular/core").InputSignal<boolean>;
47
+ readonly allowLabelValue: import("@angular/core").InputSignal<boolean>;
48
+ readonly touchUi: import("@angular/core").InputSignalWithTransform<boolean, any>;
49
+ readonly overlayOrigin: import("@angular/core").Signal<CdkOverlayOrigin>;
50
+ readonly menuTemplate: import("@angular/core").Signal<CdkPortal>;
51
+ readonly _inputElement: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
52
+ private readonly _placeholderSignal;
53
+ private readonly _disabledSignal;
54
+ private readonly _requiredSignal;
55
+ get placeholder(): string;
56
+ set placeholder(value: string);
57
+ get disabled(): boolean;
58
+ set disabled(value: BooleanInput);
59
+ get required(): boolean;
60
+ set required(value: BooleanInput);
61
+ readonly ngControl: NgControl | null;
62
+ readonly stateChanges: Subject<void>;
63
+ controlType: string;
64
+ overlayRef: OverlayRef;
65
+ bottomSheetRef: MatBottomSheetRef;
66
+ private readonly _overlay;
67
+ private readonly _breakpointObserver;
68
+ private readonly _bottomSheet;
69
+ private readonly _destroyRef;
70
+ private readonly _value;
71
+ private readonly _focused;
72
+ private readonly _touched;
73
+ readonly currentLabels: import("@angular/core").Signal<CmatCascadeOptionsInterface[]>;
74
+ readonly steps: import("@angular/core").Signal<{
75
+ active: boolean;
76
+ label?: string;
77
+ value: string;
78
+ children?: CmatCascadeOptionsInterface[];
79
+ disabled?: boolean;
80
+ }[][]>;
81
+ readonly showClearIcon: import("@angular/core").Signal<boolean>;
82
+ readonly menuVisible: import("@angular/core").Signal<boolean>;
83
+ get empty(): boolean;
84
+ get shouldLabelFloat(): boolean;
85
+ get errorState(): boolean;
86
+ private _onChange;
87
+ private _onTouched;
88
+ constructor();
89
+ get value(): CmatCascadeOptionsInterface[] | null;
90
+ set value(val: CmatCascadeOptionsInterface[] | null);
91
+ get focused(): boolean;
92
+ set focused(val: boolean);
93
+ get touched(): boolean;
94
+ set touched(val: boolean);
95
+ ngOnInit(): void;
96
+ ngOnDestroy(): void;
97
+ writeValue(value: CmatCascadeOptionsInterface[] | null): void;
98
+ registerOnChange(fn: (value: CmatCascadeOptionsInterface[] | null) => void): void;
99
+ registerOnTouched(fn: () => void): void;
100
+ setDisabledState(isDisabled: boolean): void;
101
+ setDescribedByIds(ids: string[]): void;
102
+ onContainerClick(): void;
103
+ clickHandle(event: MouseEvent): void;
104
+ clearValue(event?: Event): void;
105
+ selectHandle(event: Event, step: number, index: number): void;
106
+ onFocusIn(): void;
107
+ onFocusOut(event: FocusEvent): void;
108
+ private _findLabelsByValue;
109
+ private _buildStepsFromLabels;
110
+ private _updateInputValue;
111
+ private _openBottomSheet;
112
+ private _getLabelText;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatCascadeListComponent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeListComponent, "cmat-cascade-list", ["cmatCascadeList"], {
115
+ "options": {
116
+ "alias": "options";
117
+ "required": true;
118
+ "isSignal": true;
119
+ };
120
+ "clearable": {
121
+ "alias": "clearable";
122
+ "required": false;
123
+ "isSignal": true;
124
+ };
125
+ "fullLevels": {
126
+ "alias": "fullLevels";
127
+ "required": false;
128
+ "isSignal": true;
129
+ };
130
+ "changeOnSelect": {
131
+ "alias": "changeOnSelect";
132
+ "required": false;
133
+ "isSignal": true;
134
+ };
135
+ "allowLabelValue": {
136
+ "alias": "allowLabelValue";
137
+ "required": false;
138
+ "isSignal": true;
139
+ };
140
+ "touchUi": {
141
+ "alias": "touchUi";
142
+ "required": false;
143
+ "isSignal": true;
144
+ };
145
+ "placeholder": {
146
+ "alias": "placeholder";
147
+ "required": false;
148
+ };
149
+ "disabled": {
150
+ "alias": "disabled";
151
+ "required": false;
152
+ };
153
+ "required": {
154
+ "alias": "required";
155
+ "required": false;
156
+ };
157
+ "value": {
158
+ "alias": "value";
159
+ "required": false;
160
+ };
161
+ }, {}, never, never, true, never>;
162
+ }
@@ -1,71 +1,105 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnDestroy } from '@angular/core';
3
- import { BooleanInput } from '@angular/cdk/coercion';
4
- import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
5
- import { MatAutocompleteSelectedEvent, MatAutocompleteActivatedEvent } from '@angular/material/autocomplete';
6
- import { MatChipInputEvent } from '@angular/material/chips';
7
- import { MatFormFieldControl } from '@angular/material/form-field';
8
- import { Subject } from 'rxjs';
9
-
10
- declare class CmatChipInputComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnDestroy {
11
- readonly id: string;
12
- ngControl: NgControl;
13
- readonly selectableOptions: _angular_core.InputSignal<string[] | undefined>;
14
- readonly hasAutocomplete: _angular_core.InputSignal<boolean>;
15
- readonly outputIsString: _angular_core.InputSignal<boolean>;
16
- readonly separatorKey: _angular_core.InputSignal<string>;
17
- inputControl: FormControl<string | null>;
18
- readonly separatorKeysCodes: number[];
19
- readonly controlType = "cmat-chip-input";
20
- readonly autocompleteOptionActive: _angular_core.WritableSignal<boolean>;
21
- private readonly _inputValueSignal;
22
- readonly stateChanges: Subject<void>;
23
- private readonly _focused;
24
- private readonly _touched;
25
- private readonly _placeholderSignal;
26
- private readonly _disabledSignal;
27
- private readonly _requiredSignal;
28
- private readonly _valueSignal;
29
- readonly selectedOptions: _angular_core.WritableSignal<string[]>;
30
- private readonly _inputElementRef;
31
- private readonly _autoTrigger;
32
- private _suppressPanelOpen;
33
- private readonly _maxFilteredItems;
34
- private readonly _destroyRef;
35
- readonly filteredOptions: _angular_core.Signal<string[] | null>;
36
- constructor();
37
- ngOnDestroy(): void;
38
- get focused(): boolean;
39
- get touched(): boolean;
40
- get placeholder(): string;
41
- set placeholder(value: string);
42
- get value(): string[] | string | null;
43
- set value(value: string[] | string | null);
44
- get empty(): boolean;
45
- get errorState(): boolean;
46
- get shouldLabelFloat(): boolean;
47
- get required(): boolean;
48
- set required(value: BooleanInput);
49
- get disabled(): boolean;
50
- set disabled(value: BooleanInput);
51
- registerOnChange(fn: (value: string[] | string | null) => void): void;
52
- registerOnTouched(fn: () => void): void;
53
- writeValue(value: string[] | string | null): void;
54
- setDisabledState(isDisabled: boolean): void;
55
- setDescribedByIds(ids: string[]): void;
56
- onContainerClick(): void;
57
- onAdd(event: MatChipInputEvent): void;
58
- onRemove(option: string): void;
59
- onSelected(event: MatAutocompleteSelectedEvent): void;
60
- onFocusIn(event?: FocusEvent): void;
61
- onFocusOut(event: FocusEvent): void;
62
- onActivated(event: MatAutocompleteActivatedEvent): void;
63
- private _updateValue;
64
- private _onModelChange;
65
- private _onTouchedChange;
66
- private _filter;
67
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatChipInputComponent, never>;
68
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatChipInputComponent, "cmat-chip-input", ["cmatChipInput"], { "selectableOptions": { "alias": "selectableOptions"; "required": false; "isSignal": true; }; "hasAutocomplete": { "alias": "hasAutocomplete"; "required": false; "isSignal": true; }; "outputIsString": { "alias": "outputIsString"; "required": false; "isSignal": true; }; "separatorKey": { "alias": "separatorKey"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
69
- }
70
-
71
- export { CmatChipInputComponent };
1
+ import { BooleanInput } from "@angular/cdk/coercion";
2
+ import * as i0 from "@angular/core";
3
+ import { OnDestroy } from "@angular/core";
4
+ import { ControlValueAccessor, FormControl, NgControl } from "@angular/forms";
5
+ import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
6
+ import { MatChipInputEvent } from "@angular/material/chips";
7
+ import { MatFormFieldControl } from "@angular/material/form-field";
8
+ import { Subject } from "rxjs";
9
+ export declare class CmatChipInputComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnDestroy {
10
+ readonly id: string;
11
+ ngControl: NgControl;
12
+ readonly selectableOptions: import("@angular/core").InputSignal<string[] | undefined>;
13
+ readonly hasAutocomplete: import("@angular/core").InputSignal<boolean>;
14
+ readonly outputIsString: import("@angular/core").InputSignal<boolean>;
15
+ readonly separatorKey: import("@angular/core").InputSignal<string>;
16
+ inputControl: FormControl<string | null>;
17
+ readonly separatorKeysCodes: number[];
18
+ readonly controlType = "cmat-chip-input";
19
+ readonly autocompleteOptionActive: import("@angular/core").WritableSignal<boolean>;
20
+ private readonly _inputValueSignal;
21
+ readonly stateChanges: Subject<void>;
22
+ private readonly _focused;
23
+ private readonly _touched;
24
+ private readonly _placeholderSignal;
25
+ private readonly _disabledSignal;
26
+ private readonly _requiredSignal;
27
+ private readonly _valueSignal;
28
+ readonly selectedOptions: import("@angular/core").WritableSignal<string[]>;
29
+ private readonly _inputElementRef;
30
+ private readonly _autoTrigger;
31
+ private _suppressPanelOpen;
32
+ private readonly _maxFilteredItems;
33
+ private readonly _destroyRef;
34
+ readonly filteredOptions: import("@angular/core").Signal<string[] | null>;
35
+ constructor();
36
+ ngOnDestroy(): void;
37
+ get focused(): boolean;
38
+ get touched(): boolean;
39
+ get placeholder(): string;
40
+ set placeholder(value: string);
41
+ get value(): string[] | string | null;
42
+ set value(value: string[] | string | null);
43
+ get empty(): boolean;
44
+ get errorState(): boolean;
45
+ get shouldLabelFloat(): boolean;
46
+ get required(): boolean;
47
+ set required(value: BooleanInput);
48
+ get disabled(): boolean;
49
+ set disabled(value: BooleanInput);
50
+ registerOnChange(fn: (value: string[] | string | null) => void): void;
51
+ registerOnTouched(fn: () => void): void;
52
+ writeValue(value: string[] | string | null): void;
53
+ setDisabledState(isDisabled: boolean): void;
54
+ setDescribedByIds(ids: string[]): void;
55
+ onContainerClick(): void;
56
+ onAdd(event: MatChipInputEvent): void;
57
+ onRemove(option: string): void;
58
+ onSelected(event: MatAutocompleteSelectedEvent): void;
59
+ onFocusIn(event?: FocusEvent): void;
60
+ onFocusOut(event: FocusEvent): void;
61
+ onActivated(event: MatAutocompleteActivatedEvent): void;
62
+ private _updateValue;
63
+ private _onModelChange;
64
+ private _onTouchedChange;
65
+ private _filter;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatChipInputComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatChipInputComponent, "cmat-chip-input", ["cmatChipInput"], {
68
+ "selectableOptions": {
69
+ "alias": "selectableOptions";
70
+ "required": false;
71
+ "isSignal": true;
72
+ };
73
+ "hasAutocomplete": {
74
+ "alias": "hasAutocomplete";
75
+ "required": false;
76
+ "isSignal": true;
77
+ };
78
+ "outputIsString": {
79
+ "alias": "outputIsString";
80
+ "required": false;
81
+ "isSignal": true;
82
+ };
83
+ "separatorKey": {
84
+ "alias": "separatorKey";
85
+ "required": false;
86
+ "isSignal": true;
87
+ };
88
+ "placeholder": {
89
+ "alias": "placeholder";
90
+ "required": false;
91
+ };
92
+ "value": {
93
+ "alias": "value";
94
+ "required": false;
95
+ };
96
+ "required": {
97
+ "alias": "required";
98
+ "required": false;
99
+ };
100
+ "disabled": {
101
+ "alias": "disabled";
102
+ "required": false;
103
+ };
104
+ }, {}, never, never, true, never>;
105
+ }
@@ -1,34 +1,59 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnDestroy } from '@angular/core';
3
- import { editor } from 'monaco-editor';
4
-
5
- declare class CmatCodeEditorComponent implements OnDestroy {
6
- readonly id: string;
7
- readonly value: _angular_core.InputSignal<string>;
8
- readonly language: _angular_core.InputSignal<string>;
9
- readonly height: _angular_core.InputSignal<string>;
10
- readonly readOnly: _angular_core.InputSignal<boolean>;
11
- readonly valueChange: _angular_core.OutputEmitterRef<string>;
12
- readonly options: _angular_core.InputSignal<Record<string, unknown>>;
13
- readonly model: _angular_core.Signal<{
14
- value: string;
15
- language: string;
16
- uri: string;
17
- }>;
18
- readonly editorOptions: _angular_core.Signal<{
19
- readOnly: boolean;
20
- theme: string;
21
- }>;
22
- private _editorInstance;
23
- private _contentChangeDisposable;
24
- private _isUpdatingFromOutside;
25
- private readonly _document;
26
- constructor();
27
- private get _isDarkTheme();
28
- ngOnDestroy(): void;
29
- onEditorInit(editor: editor.IStandaloneCodeEditor): void;
30
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCodeEditorComponent, never>;
31
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCodeEditorComponent, "cmat-code-editor", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
32
- }
33
-
34
- export { CmatCodeEditorComponent };
1
+ import * as i0 from "@angular/core";
2
+ import { OnDestroy } from "@angular/core";
3
+ import { editor } from "monaco-editor";
4
+ export declare class CmatCodeEditorComponent implements OnDestroy {
5
+ readonly id: string;
6
+ readonly value: import("@angular/core").InputSignal<string>;
7
+ readonly language: import("@angular/core").InputSignal<string>;
8
+ readonly height: import("@angular/core").InputSignal<string>;
9
+ readonly readOnly: import("@angular/core").InputSignal<boolean>;
10
+ readonly valueChange: import("@angular/core").OutputEmitterRef<string>;
11
+ readonly options: import("@angular/core").InputSignal<Record<string, unknown>>;
12
+ readonly model: import("@angular/core").Signal<{
13
+ value: string;
14
+ language: string;
15
+ uri: string;
16
+ }>;
17
+ readonly editorOptions: import("@angular/core").Signal<{
18
+ readOnly: boolean;
19
+ theme: string;
20
+ }>;
21
+ private _editorInstance;
22
+ private _contentChangeDisposable;
23
+ private _isUpdatingFromOutside;
24
+ private readonly _document;
25
+ constructor();
26
+ private get _isDarkTheme();
27
+ ngOnDestroy(): void;
28
+ onEditorInit(editor: editor.IStandaloneCodeEditor): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatCodeEditorComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatCodeEditorComponent, "cmat-code-editor", never, {
31
+ "value": {
32
+ "alias": "value";
33
+ "required": false;
34
+ "isSignal": true;
35
+ };
36
+ "language": {
37
+ "alias": "language";
38
+ "required": false;
39
+ "isSignal": true;
40
+ };
41
+ "height": {
42
+ "alias": "height";
43
+ "required": false;
44
+ "isSignal": true;
45
+ };
46
+ "readOnly": {
47
+ "alias": "readOnly";
48
+ "required": false;
49
+ "isSignal": true;
50
+ };
51
+ "options": {
52
+ "alias": "options";
53
+ "required": false;
54
+ "isSignal": true;
55
+ };
56
+ }, {
57
+ "valueChange": "valueChange";
58
+ }, never, never, true, never>;
59
+ }