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.
- package/fesm2022/cmat-components-adapter.mjs +531 -536
- package/fesm2022/cmat-components-adapter.mjs.map +1 -1
- package/fesm2022/cmat-components-breadcrumb.mjs +521 -356
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +150 -42
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-carousel.mjs +1120 -629
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +861 -441
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +580 -335
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-code-editor.mjs +197 -105
- package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-color-picker.mjs +1762 -825
- package/fesm2022/cmat-components-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +5196 -2531
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-data-picker.mjs +1901 -1073
- package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +701 -456
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-date-time-display.mjs +137 -30
- package/fesm2022/cmat-components-date-time-display.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +410 -258
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-empty-state.mjs +201 -41
- package/fesm2022/cmat-components-empty-state.mjs.map +1 -1
- package/fesm2022/cmat-components-file-preview.mjs +198 -35
- package/fesm2022/cmat-components-file-preview.mjs.map +1 -1
- package/fesm2022/cmat-components-filter-toolbar.mjs +320 -72
- package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-form-actions.mjs +102 -26
- package/fesm2022/cmat-components-form-actions.mjs.map +1 -1
- package/fesm2022/cmat-components-fullscreen.mjs +167 -47
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
- package/fesm2022/cmat-components-highlight.mjs +203 -112
- package/fesm2022/cmat-components-highlight.mjs.map +1 -1
- package/fesm2022/cmat-components-image-viewer.mjs +489 -215
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-inline-loading.mjs +117 -27
- package/fesm2022/cmat-components-inline-loading.mjs.map +1 -1
- package/fesm2022/cmat-components-json-editor.mjs +276 -230
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +615 -420
- package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
- package/fesm2022/cmat-components-loading-overlay.mjs +53 -25
- package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +120 -40
- package/fesm2022/cmat-components-masonry.mjs.map +1 -1
- package/fesm2022/cmat-components-material-color-picker.mjs +332 -155
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +4283 -2504
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +3080 -1404
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +540 -466
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-org-chart.mjs +528 -125
- package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
- package/fesm2022/cmat-components-page-header.mjs +141 -32
- package/fesm2022/cmat-components-page-header.mjs.map +1 -1
- package/fesm2022/cmat-components-pagination.mjs +866 -534
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +873 -434
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +1012 -731
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +98 -35
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
- package/fesm2022/cmat-components-qrcode.mjs +463 -287
- package/fesm2022/cmat-components-qrcode.mjs.map +1 -1
- package/fesm2022/cmat-components-rating.mjs +377 -203
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-rich-text-editor.mjs +153 -39
- package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +926 -496
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-table.mjs +1280 -842
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +998 -690
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +143 -57
- package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +457 -303
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-status-tag.mjs +136 -44
- package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
- package/fesm2022/cmat-components-table-toolbar.mjs +120 -28
- package/fesm2022/cmat-components-table-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +464 -168
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +346 -262
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +1427 -593
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +372 -112
- package/fesm2022/cmat-components-treetable.mjs.map +1 -1
- package/fesm2022/cmat-components-upload.mjs +904 -410
- package/fesm2022/cmat-components-upload.mjs.map +1 -1
- package/fesm2022/cmat-components-x6-angular-shape.mjs +153 -170
- package/fesm2022/cmat-components-x6-angular-shape.mjs.map +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +220 -138
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/cmat-directives-arrow-cursor.mjs +246 -193
- package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
- package/fesm2022/cmat-directives-autofocus.mjs +43 -25
- package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
- package/fesm2022/cmat-directives-data-exporter.mjs +537 -338
- package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
- package/fesm2022/cmat-directives-debounce.mjs +162 -76
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
- package/fesm2022/cmat-directives-digit-only.mjs +457 -356
- package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
- package/fesm2022/cmat-directives-equal-validator.mjs +70 -53
- package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +180 -132
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs.map +1 -1
- package/fesm2022/cmat-lib-mock-api.mjs +207 -195
- package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
- package/fesm2022/cmat-pipes-bytes.mjs +50 -30
- package/fesm2022/cmat-pipes-bytes.mjs.map +1 -1
- package/fesm2022/cmat-pipes-date-format.mjs +41 -25
- package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
- package/fesm2022/cmat-pipes-find-by-key.mjs +44 -26
- package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
- package/fesm2022/cmat-pipes-group-by.mjs +50 -38
- package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
- package/fesm2022/cmat-pipes-keys.mjs +44 -31
- package/fesm2022/cmat-pipes-keys.mjs.map +1 -1
- package/fesm2022/cmat-pipes-secure.mjs +60 -49
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
- package/fesm2022/cmat-pipes-uppercase.mjs +39 -22
- package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -1
- package/fesm2022/cmat-reports.mjs +2761 -0
- package/fesm2022/cmat-reports.mjs.map +1 -0
- package/fesm2022/cmat-services-alert.mjs +249 -277
- package/fesm2022/cmat-services-alert.mjs.map +1 -1
- package/fesm2022/cmat-services-config.mjs +110 -81
- package/fesm2022/cmat-services-config.mjs.map +1 -1
- package/fesm2022/cmat-services-confirmation.mjs +184 -73
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +136 -125
- package/fesm2022/cmat-services-data.mjs.map +1 -1
- package/fesm2022/cmat-services-export-as.mjs +165 -183
- package/fesm2022/cmat-services-export-as.mjs.map +1 -1
- package/fesm2022/cmat-services-loading.mjs +116 -95
- package/fesm2022/cmat-services-loading.mjs.map +1 -1
- package/fesm2022/cmat-services-local-storage.mjs +75 -66
- package/fesm2022/cmat-services-local-storage.mjs.map +1 -1
- package/fesm2022/cmat-services-media-watcher.mjs +69 -64
- package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
- package/fesm2022/cmat-services-platform.mjs +48 -45
- package/fesm2022/cmat-services-platform.mjs.map +1 -1
- package/fesm2022/cmat-services-print.mjs +984 -1109
- package/fesm2022/cmat-services-print.mjs.map +1 -1
- package/fesm2022/cmat-services-splash-screen.mjs +53 -38
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
- package/fesm2022/cmat-services-title.mjs +57 -47
- package/fesm2022/cmat-services-title.mjs.map +1 -1
- package/fesm2022/cmat-services-translation.mjs +79 -68
- package/fesm2022/cmat-services-translation.mjs.map +1 -1
- package/fesm2022/cmat-services-utils.mjs +424 -517
- package/fesm2022/cmat-services-utils.mjs.map +1 -1
- package/fesm2022/cmat-validators.mjs +23 -33
- package/fesm2022/cmat-validators.mjs.map +1 -1
- package/fesm2022/cmat-version.mjs +12 -16
- package/fesm2022/cmat-version.mjs.map +1 -1
- package/fesm2022/cmat.mjs +39805 -22511
- package/fesm2022/cmat.mjs.map +1 -1
- package/package.json +5 -1
- package/types/cmat-components-adapter.d.ts +145 -156
- package/types/cmat-components-breadcrumb.d.ts +108 -86
- package/types/cmat-components-card.d.ts +34 -18
- package/types/cmat-components-carousel.d.ts +251 -134
- package/types/cmat-components-cascade.d.ts +158 -117
- package/types/cmat-components-chip-input.d.ts +105 -71
- package/types/cmat-components-code-editor.d.ts +59 -34
- package/types/cmat-components-color-picker.d.ts +378 -236
- package/types/cmat-components-custom-formly.d.ts +776 -814
- package/types/cmat-components-data-picker.d.ts +502 -360
- package/types/cmat-components-date-range.d.ts +106 -77
- package/types/cmat-components-date-time-display.d.ts +36 -13
- package/types/cmat-components-drawer.d.ts +91 -61
- package/types/cmat-components-empty-state.d.ts +47 -17
- package/types/cmat-components-file-preview.d.ts +42 -14
- package/types/cmat-components-filter-toolbar.d.ts +57 -25
- package/types/cmat-components-form-actions.d.ts +18 -10
- package/types/cmat-components-fullscreen.d.ts +21 -13
- package/types/cmat-components-highlight.d.ts +33 -26
- package/types/cmat-components-image-viewer.d.ts +119 -58
- package/types/cmat-components-inline-loading.d.ts +24 -11
- package/types/cmat-components-json-editor.d.ts +39 -28
- package/types/cmat-components-knob-input.d.ts +172 -101
- package/types/cmat-components-loading-overlay.d.ts +8 -11
- package/types/cmat-components-masonry.d.ts +27 -14
- package/types/cmat-components-material-color-picker.d.ts +56 -42
- package/types/cmat-components-material-datetimepicker.d.ts +817 -454
- package/types/cmat-components-navigation.d.ts +295 -221
- package/types/cmat-components-opt-input.d.ts +111 -90
- package/types/cmat-components-org-chart.d.ts +53 -35
- package/types/cmat-components-page-header.d.ts +37 -14
- package/types/cmat-components-pagination.d.ts +144 -107
- package/types/cmat-components-password-strength.d.ts +197 -86
- package/types/cmat-components-popover.d.ts +264 -166
- package/types/cmat-components-progress-bar.d.ts +17 -14
- package/types/cmat-components-qrcode.d.ts +111 -42
- package/types/cmat-components-rating.d.ts +105 -59
- package/types/cmat-components-rich-text-editor.d.ts +39 -16
- package/types/cmat-components-select-search.d.ts +195 -99
- package/types/cmat-components-select-table.d.ts +241 -142
- package/types/cmat-components-select-tree.d.ts +185 -118
- package/types/cmat-components-skeleton.d.ts +55 -32
- package/types/cmat-components-speed-dial.d.ts +86 -61
- package/types/cmat-components-status-tag.d.ts +42 -24
- package/types/cmat-components-table-toolbar.d.ts +30 -12
- package/types/cmat-components-timeline.d.ts +83 -51
- package/types/cmat-components-toast.d.ts +84 -85
- package/types/cmat-components-transfer-picker.d.ts +228 -181
- package/types/cmat-components-treetable.d.ts +63 -39
- package/types/cmat-components-upload.d.ts +205 -106
- package/types/cmat-components-x6-angular-shape.d.ts +29 -37
- package/types/cmat-directives-animate-on-scroll.d.ts +48 -30
- package/types/cmat-directives-arrow-cursor.d.ts +55 -35
- package/types/cmat-directives-autofocus.d.ts +8 -11
- package/types/cmat-directives-data-exporter.d.ts +71 -40
- package/types/cmat-directives-debounce.d.ts +31 -28
- package/types/cmat-directives-digit-only.d.ts +90 -53
- package/types/cmat-directives-equal-validator.d.ts +11 -14
- package/types/cmat-directives-seamless-auto-scroll.d.ts +42 -29
- package/types/cmat-lib-mock-api.d.ts +46 -55
- package/types/cmat-pipes-bytes.d.ts +7 -10
- package/types/cmat-pipes-date-format.d.ts +7 -10
- package/types/cmat-pipes-find-by-key.d.ts +8 -12
- package/types/cmat-pipes-group-by.d.ts +11 -15
- package/types/cmat-pipes-keys.d.ts +10 -13
- package/types/cmat-pipes-secure.d.ts +14 -17
- package/types/cmat-pipes-uppercase.d.ts +7 -10
- package/types/cmat-reports.d.ts +1138 -0
- package/types/cmat-services-alert.d.ts +80 -87
- package/types/cmat-services-config.d.ts +37 -43
- package/types/cmat-services-confirmation.d.ts +31 -37
- package/types/cmat-services-data.d.ts +18 -21
- package/types/cmat-services-export-as.d.ts +28 -33
- package/types/cmat-services-loading.d.ts +27 -31
- package/types/cmat-services-local-storage.d.ts +17 -21
- package/types/cmat-services-media-watcher.d.ts +14 -18
- package/types/cmat-services-platform.d.ts +8 -11
- package/types/cmat-services-print.d.ts +97 -102
- package/types/cmat-services-splash-screen.d.ts +11 -14
- package/types/cmat-services-title.d.ts +9 -12
- package/types/cmat-services-translation.d.ts +19 -22
- package/types/cmat-services-utils.d.ts +76 -80
- package/types/cmat-validators.d.ts +5 -8
- package/types/cmat-version.d.ts +8 -10
- package/types/cmat.d.ts +7551 -5204
|
@@ -1,92 +1,113 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { ControlValueAccessor,
|
|
5
|
-
import { MatFormFieldControl } from
|
|
6
|
-
import { Subject } from
|
|
7
|
-
|
|
1
|
+
import { BooleanInput } from "@angular/cdk/coercion";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { AfterViewInit, OnDestroy } from "@angular/core";
|
|
4
|
+
import { ControlValueAccessor, FormControl, NgControl, UntypedFormGroup } from "@angular/forms";
|
|
5
|
+
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
6
|
+
import { Subject } from "rxjs";
|
|
8
7
|
declare class OptInputConfig {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
inputStyles?: Record<string, any>;
|
|
9
|
+
containerStyles?: Record<string, any>;
|
|
10
|
+
length: number;
|
|
11
|
+
allowNumbersOnly?: boolean;
|
|
12
|
+
inputClass?: string;
|
|
13
|
+
containerClass?: string;
|
|
14
|
+
isPasswordInput?: boolean;
|
|
15
|
+
disableAutoFocus?: boolean;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
letterCase?: 'Upper' | 'Lower';
|
|
18
|
+
separator?: string;
|
|
19
|
+
showError?: boolean;
|
|
21
20
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
21
|
+
export declare class CmatOtpInputComponent implements MatFormFieldControl<string | null>, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
22
|
+
readonly config: import("@angular/core").InputSignal<OptInputConfig>;
|
|
23
|
+
readonly onBlur: import("@angular/core").OutputEmitterRef<void>;
|
|
24
|
+
readonly onInputChange: import("@angular/core").OutputEmitterRef<string | null>;
|
|
25
|
+
readonly id: string;
|
|
26
|
+
userAriaDescribedBy?: string;
|
|
27
|
+
readonly stateChanges: Subject<void>;
|
|
28
|
+
private readonly _placeholderSignal;
|
|
29
|
+
private readonly _requiredSignal;
|
|
30
|
+
private readonly _disabledSignal;
|
|
31
|
+
private readonly _valueSignal;
|
|
32
|
+
private readonly _currentValSignal;
|
|
33
|
+
private _focused;
|
|
34
|
+
private _activeFocusCount;
|
|
35
|
+
readonly controlKeys: import("@angular/core").Signal<string[]>;
|
|
36
|
+
readonly inputType: import("@angular/core").Signal<"password" | "tel" | "text">;
|
|
37
|
+
get errorState(): boolean;
|
|
38
|
+
otpForm: UntypedFormGroup;
|
|
39
|
+
componentKey: string;
|
|
40
|
+
ngControl: NgControl;
|
|
41
|
+
private readonly _document;
|
|
42
|
+
private readonly _formBuilder;
|
|
43
|
+
private readonly _destroyRef;
|
|
44
|
+
private _valueChangesSub;
|
|
45
|
+
private _pendingTimeouts;
|
|
46
|
+
constructor();
|
|
47
|
+
get placeholder(): string;
|
|
48
|
+
set placeholder(value: string);
|
|
49
|
+
get required(): boolean;
|
|
50
|
+
set required(value: BooleanInput);
|
|
51
|
+
get disabled(): boolean;
|
|
52
|
+
set disabled(value: BooleanInput);
|
|
53
|
+
get focused(): boolean;
|
|
54
|
+
get value(): string | null;
|
|
55
|
+
set value(val: string | null);
|
|
56
|
+
get empty(): boolean;
|
|
57
|
+
get shouldLabelFloat(): boolean;
|
|
58
|
+
setDisabledState(isDisabled: boolean): void;
|
|
59
|
+
writeValue(value: string): void;
|
|
60
|
+
registerOnChange(fn: (value: string | null) => void): void;
|
|
61
|
+
registerOnTouched(fn: () => void): void;
|
|
62
|
+
onFocusIn(): void;
|
|
63
|
+
onFocusOut(): void;
|
|
64
|
+
ngAfterViewInit(): void;
|
|
65
|
+
ngOnDestroy(): void;
|
|
66
|
+
setDescribedByIds(ids: string[]): void;
|
|
67
|
+
onContainerClick(): void;
|
|
68
|
+
onKeyDown($event: KeyboardEvent, inputIdx: number): void;
|
|
69
|
+
onInput($event: Event, inputIdx: number): void;
|
|
70
|
+
onKeyUp($event: KeyboardEvent, inputIdx: number): void;
|
|
71
|
+
validateNumber(val: string): boolean;
|
|
72
|
+
getBoxId(idx: string | number): string;
|
|
73
|
+
focusTo(eleId: string): void;
|
|
74
|
+
setValue(value: string | null): void;
|
|
75
|
+
handlePaste(e: ClipboardEvent): void;
|
|
76
|
+
getFormControl(key: string): FormControl;
|
|
77
|
+
private _onModelChange;
|
|
78
|
+
private _onTouchedChange;
|
|
79
|
+
private _removePendingTimeout;
|
|
80
|
+
private _getControlName;
|
|
81
|
+
private _clearInput;
|
|
82
|
+
private _setSelected;
|
|
83
|
+
private ifValidKeyCode;
|
|
84
|
+
private _rebuildValue;
|
|
85
|
+
private _rebuildForm;
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatOtpInputComponent, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatOtpInputComponent, "cmat-otp-input", ["cmatOtpInput"], {
|
|
88
|
+
"config": {
|
|
89
|
+
"alias": "config";
|
|
90
|
+
"required": false;
|
|
91
|
+
"isSignal": true;
|
|
92
|
+
};
|
|
93
|
+
"placeholder": {
|
|
94
|
+
"alias": "placeholder";
|
|
95
|
+
"required": false;
|
|
96
|
+
};
|
|
97
|
+
"required": {
|
|
98
|
+
"alias": "required";
|
|
99
|
+
"required": false;
|
|
100
|
+
};
|
|
101
|
+
"disabled": {
|
|
102
|
+
"alias": "disabled";
|
|
103
|
+
"required": false;
|
|
104
|
+
};
|
|
105
|
+
"value": {
|
|
106
|
+
"alias": "value";
|
|
107
|
+
"required": false;
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
"onBlur": "onBlur";
|
|
111
|
+
"onInputChange": "onInputChange";
|
|
112
|
+
}, never, never, true, never>;
|
|
113
|
+
}
|
|
@@ -1,37 +1,55 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
heightFactor?: number;
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface INode {
|
|
3
|
+
name: string;
|
|
4
|
+
cssClass: string;
|
|
5
|
+
image: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
showDetail: boolean;
|
|
9
|
+
children: INode[];
|
|
10
|
+
heightFactor?: number;
|
|
12
11
|
}
|
|
13
|
-
declare class ChartNode implements INode {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
export declare class ChartNode implements INode {
|
|
13
|
+
name: string;
|
|
14
|
+
cssClass: string;
|
|
15
|
+
image: string;
|
|
16
|
+
title?: string;
|
|
17
|
+
color?: string;
|
|
18
|
+
showDetail: boolean;
|
|
19
|
+
children: ChartNode[];
|
|
20
|
+
heightFactor?: number;
|
|
21
|
+
parent?: ChartNode;
|
|
22
|
+
constructor(structure: string[], parent?: ChartNode);
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
24
|
+
export declare class CmatOrgChartComponent {
|
|
25
|
+
readonly nodes: import("@angular/core").InputSignal<INode[]>;
|
|
26
|
+
readonly enableControlHeight: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
readonly direction: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
28
|
+
readonly detailsBtnTitle: import("@angular/core").InputSignal<string>;
|
|
29
|
+
readonly detailsBtnClick: import("@angular/core").OutputEmitterRef<INode>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatOrgChartComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatOrgChartComponent, "cmat-org-chart", ["cmatOrgChart"], {
|
|
32
|
+
"nodes": {
|
|
33
|
+
"alias": "nodes";
|
|
34
|
+
"required": true;
|
|
35
|
+
"isSignal": true;
|
|
36
|
+
};
|
|
37
|
+
"enableControlHeight": {
|
|
38
|
+
"alias": "enableControlHeight";
|
|
39
|
+
"required": false;
|
|
40
|
+
"isSignal": true;
|
|
41
|
+
};
|
|
42
|
+
"direction": {
|
|
43
|
+
"alias": "direction";
|
|
44
|
+
"required": false;
|
|
45
|
+
"isSignal": true;
|
|
46
|
+
};
|
|
47
|
+
"detailsBtnTitle": {
|
|
48
|
+
"alias": "detailsBtnTitle";
|
|
49
|
+
"required": false;
|
|
50
|
+
"isSignal": true;
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
"detailsBtnClick": "detailsBtnClick";
|
|
54
|
+
}, never, never, true, never>;
|
|
55
|
+
}
|
|
@@ -1,14 +1,37 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CmatPageHeaderComponent {
|
|
3
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
4
|
+
readonly description: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly eyebrow: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly divider: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly align: import("@angular/core").InputSignal<"start" | "center">;
|
|
8
|
+
readonly isCentered: import("@angular/core").Signal<boolean>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPageHeaderComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatPageHeaderComponent, "cmat-page-header", never, {
|
|
11
|
+
"title": {
|
|
12
|
+
"alias": "title";
|
|
13
|
+
"required": false;
|
|
14
|
+
"isSignal": true;
|
|
15
|
+
};
|
|
16
|
+
"description": {
|
|
17
|
+
"alias": "description";
|
|
18
|
+
"required": false;
|
|
19
|
+
"isSignal": true;
|
|
20
|
+
};
|
|
21
|
+
"eyebrow": {
|
|
22
|
+
"alias": "eyebrow";
|
|
23
|
+
"required": false;
|
|
24
|
+
"isSignal": true;
|
|
25
|
+
};
|
|
26
|
+
"divider": {
|
|
27
|
+
"alias": "divider";
|
|
28
|
+
"required": false;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"align": {
|
|
32
|
+
"alias": "align";
|
|
33
|
+
"required": false;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
}, {}, never, ["[cmatPageHeaderActions]"], true, never>;
|
|
37
|
+
}
|
|
@@ -1,114 +1,151 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { PipeTransform } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { PipeTransform } from "@angular/core";
|
|
3
|
+
export declare class CmatPaginationComponent {
|
|
4
|
+
readonly id: import("@angular/core").InputSignal<string | undefined>;
|
|
5
|
+
readonly maxSize: import("@angular/core").InputSignal<number>;
|
|
6
|
+
readonly itemsPerPages: import("@angular/core").InputSignal<number[]>;
|
|
7
|
+
readonly initPerPage: import("@angular/core").InputSignal<number>;
|
|
8
|
+
readonly autoHide: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly pageChange: import("@angular/core").OutputEmitterRef<number>;
|
|
10
|
+
readonly pageBoundsCorrection: import("@angular/core").OutputEmitterRef<number>;
|
|
11
|
+
readonly perPageCountChange: import("@angular/core").OutputEmitterRef<number>;
|
|
12
|
+
private _elementRef;
|
|
13
|
+
private _destroyRef;
|
|
14
|
+
private _componentWidth;
|
|
15
|
+
readonly isScreenSmall: import("@angular/core").Signal<boolean>;
|
|
16
|
+
constructor();
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPaginationComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatPaginationComponent, "cmat-pagination", ["cmatPagination"], {
|
|
19
|
+
"id": {
|
|
20
|
+
"alias": "id";
|
|
21
|
+
"required": false;
|
|
22
|
+
"isSignal": true;
|
|
23
|
+
};
|
|
24
|
+
"maxSize": {
|
|
25
|
+
"alias": "maxSize";
|
|
26
|
+
"required": false;
|
|
27
|
+
"isSignal": true;
|
|
28
|
+
};
|
|
29
|
+
"itemsPerPages": {
|
|
30
|
+
"alias": "itemsPerPages";
|
|
31
|
+
"required": false;
|
|
32
|
+
"isSignal": true;
|
|
33
|
+
};
|
|
34
|
+
"initPerPage": {
|
|
35
|
+
"alias": "initPerPage";
|
|
36
|
+
"required": false;
|
|
37
|
+
"isSignal": true;
|
|
38
|
+
};
|
|
39
|
+
"autoHide": {
|
|
40
|
+
"alias": "autoHide";
|
|
41
|
+
"required": false;
|
|
42
|
+
"isSignal": true;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
"pageChange": "pageChange";
|
|
46
|
+
"pageBoundsCorrection": "pageBoundsCorrection";
|
|
47
|
+
"perPageCountChange": "perPageCountChange";
|
|
48
|
+
}, never, never, true, never>;
|
|
20
49
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
totalItems: number;
|
|
50
|
+
export interface CmatPaginationInstance {
|
|
51
|
+
[prop: string]: unknown;
|
|
52
|
+
id?: string;
|
|
53
|
+
itemsPerPage: number;
|
|
54
|
+
currentPage: number;
|
|
55
|
+
totalItems: number;
|
|
28
56
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
57
|
+
export declare class CmatPaginationService {
|
|
58
|
+
private readonly _instances;
|
|
59
|
+
readonly instances: import("@angular/core").Signal<Record<string, CmatPaginationInstance>>;
|
|
60
|
+
private readonly _defaultPaginationId;
|
|
61
|
+
defaultId(): string;
|
|
62
|
+
notifyChange(_id: string): void;
|
|
63
|
+
register(instance: CmatPaginationInstance, fromPipe?: boolean): boolean;
|
|
64
|
+
getCurrentPage(id: string): number | undefined;
|
|
65
|
+
getItemsPerPage(id: string): number | undefined;
|
|
66
|
+
setCurrentPage(id: string, page: number): void;
|
|
67
|
+
setTotalItems(id: string, totalItems: number): void;
|
|
68
|
+
setItemsPerPage(id: string, itemsPerPage: number): void;
|
|
69
|
+
getInstance(id?: string): CmatPaginationInstance | undefined;
|
|
70
|
+
private _updateInstance;
|
|
71
|
+
private _needsUpdate;
|
|
72
|
+
private _clone;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPaginationService, never>;
|
|
74
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
48
75
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
totalItems: string | number;
|
|
76
|
+
export type Collection<T> = readonly T[];
|
|
77
|
+
export interface CmatPaginatePipeArgs {
|
|
78
|
+
id?: string;
|
|
79
|
+
currentPage: string | number;
|
|
80
|
+
itemsPerPage: string | number;
|
|
81
|
+
totalItems: string | number;
|
|
56
82
|
}
|
|
57
|
-
interface CmatPipeState {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
83
|
+
export interface CmatPipeState {
|
|
84
|
+
size: number;
|
|
85
|
+
start?: number;
|
|
86
|
+
end?: number;
|
|
87
|
+
slice: readonly unknown[];
|
|
62
88
|
}
|
|
63
|
-
declare class CmatPaginatePipe implements PipeTransform {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
89
|
+
export declare class CmatPaginatePipe implements PipeTransform {
|
|
90
|
+
private service;
|
|
91
|
+
private readonly state;
|
|
92
|
+
transform<T, U extends Collection<T>>(collection: U, args: CmatPaginatePipeArgs): U;
|
|
93
|
+
private createInstance;
|
|
94
|
+
private checkConfig;
|
|
95
|
+
private _saveState;
|
|
96
|
+
private _stateIsIdentical;
|
|
97
|
+
private _toNumber;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPaginatePipe, never>;
|
|
99
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CmatPaginatePipe, "paginate", true>;
|
|
74
100
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
value: number;
|
|
101
|
+
export interface Page {
|
|
102
|
+
label: string | number;
|
|
103
|
+
value: number;
|
|
79
104
|
}
|
|
80
|
-
declare class CmatPaginationDirective {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
105
|
+
export declare class CmatPaginationDirective {
|
|
106
|
+
readonly id: import("@angular/core").InputSignal<string | undefined>;
|
|
107
|
+
readonly maxSize: import("@angular/core").InputSignal<number>;
|
|
108
|
+
readonly pageChange: import("@angular/core").OutputEmitterRef<number>;
|
|
109
|
+
readonly pageBoundsCorrection: import("@angular/core").OutputEmitterRef<number>;
|
|
110
|
+
readonly perPageCountChange: import("@angular/core").OutputEmitterRef<number>;
|
|
111
|
+
readonly pages: import("@angular/core").WritableSignal<Page[]>;
|
|
112
|
+
private readonly service;
|
|
113
|
+
private readonly _injector;
|
|
114
|
+
private _pageLinksUpdateQueued;
|
|
115
|
+
constructor();
|
|
116
|
+
previous(): void;
|
|
117
|
+
next(): void;
|
|
118
|
+
goFirstPage(): void;
|
|
119
|
+
goLastPage(): void;
|
|
120
|
+
isFirstPage(): boolean;
|
|
121
|
+
isLastPage(): boolean;
|
|
122
|
+
setCurrent(page: number | string): void;
|
|
123
|
+
getCurrent(): number | void;
|
|
124
|
+
getLastPage(): number | void;
|
|
125
|
+
getTotalItems(): number | void;
|
|
126
|
+
setItemsPerPage(count: number): void;
|
|
127
|
+
private _getId;
|
|
128
|
+
private _checkValidId;
|
|
129
|
+
private _updatePageLinks;
|
|
130
|
+
private _schedulePageLinksUpdate;
|
|
131
|
+
private _outOfBoundCorrection;
|
|
132
|
+
private _createPageArray;
|
|
133
|
+
private _calculatePageNumber;
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPaginationDirective, never>;
|
|
135
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatPaginationDirective, "pagination-template,[pagination-template]", ["paginationApi"], {
|
|
136
|
+
"id": {
|
|
137
|
+
"alias": "id";
|
|
138
|
+
"required": false;
|
|
139
|
+
"isSignal": true;
|
|
140
|
+
};
|
|
141
|
+
"maxSize": {
|
|
142
|
+
"alias": "maxSize";
|
|
143
|
+
"required": false;
|
|
144
|
+
"isSignal": true;
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
"pageChange": "pageChange";
|
|
148
|
+
"pageBoundsCorrection": "pageBoundsCorrection";
|
|
149
|
+
"perPageCountChange": "perPageCountChange";
|
|
150
|
+
}, never, never, true, never>;
|
|
151
|
+
}
|