cmat 0.0.78 → 0.0.80
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 +9 -46
- package/fesm2022/cmat-components-adapter.mjs.map +1 -1
- package/fesm2022/cmat-components-breadcrumb.mjs +104 -205
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +4 -8
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-carousel.mjs +21 -21
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +18 -24
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +21 -21
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-code-editor.mjs +4 -22
- package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +181 -245
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +12 -184
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-date-time-display.mjs +3 -15
- package/fesm2022/cmat-components-date-time-display.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +10 -100
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-empty-state.mjs +4 -25
- package/fesm2022/cmat-components-empty-state.mjs.map +1 -1
- package/fesm2022/cmat-components-file-preview.mjs +3 -21
- package/fesm2022/cmat-components-file-preview.mjs.map +1 -1
- package/fesm2022/cmat-components-filter-toolbar.mjs +7 -50
- package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-form-actions.mjs +3 -9
- package/fesm2022/cmat-components-form-actions.mjs.map +1 -1
- package/fesm2022/cmat-components-fullscreen.mjs +4 -4
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
- package/fesm2022/cmat-components-highlight.mjs +6 -32
- package/fesm2022/cmat-components-highlight.mjs.map +1 -1
- package/fesm2022/cmat-components-image-viewer.mjs +12 -24
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-inline-loading.mjs +3 -12
- package/fesm2022/cmat-components-inline-loading.mjs.map +1 -1
- package/fesm2022/cmat-components-json-editor.mjs +11 -16
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +24 -18
- package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +8 -17
- package/fesm2022/cmat-components-masonry.mjs.map +1 -1
- package/fesm2022/cmat-components-material-color-picker.mjs +13 -34
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +80 -436
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +266 -816
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +7 -10
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-org-chart.mjs +11 -11
- package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
- package/fesm2022/cmat-components-page-header.mjs +8 -19
- package/fesm2022/cmat-components-page-header.mjs.map +1 -1
- package/fesm2022/cmat-components-pagination.mjs +113 -108
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +13 -16
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +15 -151
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +16 -26
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
- package/fesm2022/cmat-components-qrcode.mjs +5 -11
- package/fesm2022/cmat-components-qrcode.mjs.map +1 -1
- package/fesm2022/cmat-components-rating.mjs +14 -14
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-rich-text-editor.mjs +4 -25
- package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +51 -79
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-table.mjs +204 -162
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +142 -97
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +4 -22
- package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +14 -19
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-status-tag.mjs +3 -18
- package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
- package/fesm2022/cmat-components-table-toolbar.mjs +3 -15
- package/fesm2022/cmat-components-table-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +18 -21
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +20 -20
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +159 -123
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +17 -19
- package/fesm2022/cmat-components-treetable.mjs.map +1 -1
- package/fesm2022/cmat-components-upload.mjs +35 -57
- package/fesm2022/cmat-components-upload.mjs.map +1 -1
- package/fesm2022/cmat-components-x6-angular-shape.mjs +0 -4
- package/fesm2022/cmat-components-x6-angular-shape.mjs.map +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -27
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/cmat-directives-arrow-cursor.mjs +7 -9
- package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-data-exporter.mjs +24 -33
- package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
- package/fesm2022/cmat-directives-debounce.mjs +14 -17
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
- package/fesm2022/cmat-directives-digit-only.mjs +6 -23
- package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +4 -11
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs.map +1 -1
- package/fesm2022/cmat-lib-mock-api.mjs +6 -43
- package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -5
- package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-secure.mjs +8 -12
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-services-alert.mjs +3 -3
- package/fesm2022/cmat-services-config.mjs +50 -26
- package/fesm2022/cmat-services-config.mjs.map +1 -1
- package/fesm2022/cmat-services-confirmation.mjs +9 -11
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +56 -101
- package/fesm2022/cmat-services-data.mjs.map +1 -1
- package/fesm2022/cmat-services-export-as.mjs +4 -32
- package/fesm2022/cmat-services-export-as.mjs.map +1 -1
- package/fesm2022/cmat-services-loading.mjs +49 -40
- package/fesm2022/cmat-services-loading.mjs.map +1 -1
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +19 -25
- package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
- package/fesm2022/cmat-services-platform.mjs +3 -10
- package/fesm2022/cmat-services-platform.mjs.map +1 -1
- package/fesm2022/cmat-services-splash-screen.mjs +8 -13
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
- package/fesm2022/cmat-services-title.mjs +8 -12
- package/fesm2022/cmat-services-title.mjs.map +1 -1
- package/fesm2022/cmat-services-translation.mjs +3 -3
- package/fesm2022/cmat-services-utils.mjs +5 -27
- package/fesm2022/cmat-services-utils.mjs.map +1 -1
- package/fesm2022/cmat-validators.mjs +0 -8
- package/fesm2022/cmat-validators.mjs.map +1 -1
- package/fesm2022/cmat.mjs +3477 -3795
- package/fesm2022/cmat.mjs.map +1 -1
- package/package.json +1 -1
- package/tailwind/plugins/helpers.js +1 -10
- package/tailwind/plugins/scrollbar/index.js +0 -1
- package/tailwind/plugins/scrollbar/typedefs.js +1 -7
- package/tailwind/plugins/scrollbar/utilities.js +9 -58
- package/tailwind/plugins/scrollbar/variants.js +2 -17
- package/tailwind/plugins/theming.js +1 -57
- package/tailwind/utils/generate-contrasts.js +1 -12
- package/tailwind/utils/generate-palette.js +1 -32
- package/types/cmat-components-adapter.d.ts +0 -25
- package/types/cmat-components-breadcrumb.d.ts +25 -175
- package/types/cmat-components-carousel.d.ts +2 -20
- package/types/cmat-components-cascade.d.ts +4 -4
- package/types/cmat-components-chip-input.d.ts +4 -3
- package/types/cmat-components-code-editor.d.ts +0 -18
- package/types/cmat-components-custom-formly.d.ts +30 -37
- package/types/cmat-components-date-range.d.ts +1 -72
- package/types/cmat-components-date-time-display.d.ts +0 -15
- package/types/cmat-components-drawer.d.ts +2 -44
- package/types/cmat-components-empty-state.d.ts +0 -21
- package/types/cmat-components-file-preview.d.ts +0 -18
- package/types/cmat-components-filter-toolbar.d.ts +3 -43
- package/types/cmat-components-form-actions.d.ts +0 -6
- package/types/cmat-components-image-viewer.d.ts +5 -18
- package/types/cmat-components-inline-loading.d.ts +0 -9
- package/types/cmat-components-json-editor.d.ts +0 -1
- package/types/cmat-components-knob-input.d.ts +3 -3
- package/types/cmat-components-masonry.d.ts +1 -2
- package/types/cmat-components-material-color-picker.d.ts +1 -2
- package/types/cmat-components-material-datetimepicker.d.ts +6 -272
- package/types/cmat-components-navigation.d.ts +34 -171
- package/types/cmat-components-opt-input.d.ts +1 -1
- package/types/cmat-components-page-header.d.ts +2 -16
- package/types/cmat-components-pagination.d.ts +26 -27
- package/types/cmat-components-password-strength.d.ts +1 -2
- package/types/cmat-components-popover.d.ts +1 -110
- package/types/cmat-components-progress-bar.d.ts +9 -11
- package/types/cmat-components-rating.d.ts +6 -7
- package/types/cmat-components-rich-text-editor.d.ts +0 -21
- package/types/cmat-components-select-search.d.ts +4 -20
- package/types/cmat-components-select-table.d.ts +24 -12
- package/types/cmat-components-select-tree.d.ts +29 -29
- package/types/cmat-components-skeleton.d.ts +0 -18
- package/types/cmat-components-speed-dial.d.ts +1 -2
- package/types/cmat-components-status-tag.d.ts +0 -15
- package/types/cmat-components-table-toolbar.d.ts +0 -12
- package/types/cmat-components-timeline.d.ts +3 -4
- package/types/cmat-components-toast.d.ts +2 -2
- package/types/cmat-components-transfer-picker.d.ts +42 -36
- package/types/cmat-components-treetable.d.ts +3 -4
- package/types/cmat-components-upload.d.ts +12 -17
- package/types/cmat-components-x6-angular-shape.d.ts +0 -1
- package/types/cmat-directives-arrow-cursor.d.ts +1 -1
- package/types/cmat-directives-debounce.d.ts +3 -4
- package/types/cmat-pipes-secure.d.ts +3 -4
- package/types/cmat-services-config.d.ts +35 -13
- package/types/cmat-services-data.d.ts +13 -12
- package/types/cmat-services-export-as.d.ts +0 -22
- package/types/cmat-services-loading.d.ts +15 -10
- package/types/cmat-services-media-watcher.d.ts +10 -13
- package/types/cmat-services-splash-screen.d.ts +2 -4
- package/types/cmat-services-title.d.ts +3 -5
- package/types/cmat.d.ts +733 -1391
|
@@ -18,12 +18,12 @@ declare class CmatDateRangeComponent implements ControlValueAccessor, OnInit, On
|
|
|
18
18
|
month1: Dayjs | null;
|
|
19
19
|
month2: Dayjs | null;
|
|
20
20
|
};
|
|
21
|
+
readonly refreshVersion: i0.WritableSignal<number>;
|
|
21
22
|
setWhichDate: 'start' | 'end';
|
|
22
23
|
startTimeFormControl: FormControl;
|
|
23
24
|
endTimeFormControl: FormControl;
|
|
24
25
|
private _overlay;
|
|
25
26
|
private _viewContainerRef;
|
|
26
|
-
private _changeDetectorRef;
|
|
27
27
|
private _dateFormat;
|
|
28
28
|
private _onChange;
|
|
29
29
|
private _onTouched;
|
|
@@ -33,106 +33,35 @@ declare class CmatDateRangeComponent implements ControlValueAccessor, OnInit, On
|
|
|
33
33
|
private _timeRange;
|
|
34
34
|
private _readonly;
|
|
35
35
|
private readonly _timeRegExp;
|
|
36
|
-
private _unsubscribeAll;
|
|
37
36
|
constructor();
|
|
38
37
|
get readonly(): boolean;
|
|
39
38
|
set readonly(value: boolean);
|
|
40
39
|
get dateFormat(): string;
|
|
41
40
|
set dateFormat(value: string);
|
|
42
|
-
/**
|
|
43
|
-
* Setter & getter for timeFormat input */
|
|
44
41
|
get timeFormat(): string;
|
|
45
42
|
set timeFormat(value: string);
|
|
46
|
-
/**
|
|
47
|
-
* Setter & getter for timeRange input */
|
|
48
43
|
get timeRange(): boolean;
|
|
49
44
|
set timeRange(value: boolean);
|
|
50
|
-
/**
|
|
51
|
-
* Setter & getter for range input */
|
|
52
45
|
get range(): any;
|
|
53
46
|
set range(value: any);
|
|
54
|
-
/**
|
|
55
|
-
* Update the form model on change
|
|
56
|
-
*
|
|
57
|
-
* @param fn
|
|
58
|
-
*/
|
|
59
47
|
registerOnChange(fn: any): void;
|
|
60
|
-
/**
|
|
61
|
-
* Update the form model on blur
|
|
62
|
-
*
|
|
63
|
-
* @param fn
|
|
64
|
-
*/
|
|
65
48
|
registerOnTouched(fn: any): void;
|
|
66
|
-
/**
|
|
67
|
-
* Write to view from model when the form model changes programmatically
|
|
68
|
-
*
|
|
69
|
-
* @param range
|
|
70
|
-
*/
|
|
71
49
|
writeValue(range: {
|
|
72
50
|
start: string;
|
|
73
51
|
end: string;
|
|
74
52
|
}): void;
|
|
75
53
|
ngOnInit(): void;
|
|
76
|
-
/**
|
|
77
|
-
* On destroy
|
|
78
|
-
*/
|
|
79
54
|
ngOnDestroy(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Open the picker panel
|
|
82
|
-
*/
|
|
83
55
|
openPickerPanel(): void;
|
|
84
|
-
/**
|
|
85
|
-
* Get month label
|
|
86
|
-
*
|
|
87
|
-
* @param month
|
|
88
|
-
*/
|
|
89
56
|
getMonthLabel(month: number): string | void;
|
|
90
|
-
/**
|
|
91
|
-
* Date class function to add/remove class names to calendar days
|
|
92
|
-
*/
|
|
93
57
|
dateClass(): any;
|
|
94
|
-
/**
|
|
95
|
-
* Date filter to enable/disable calendar days
|
|
96
|
-
*/
|
|
97
58
|
dateFilter(): any;
|
|
98
|
-
/**
|
|
99
|
-
* On selected date change
|
|
100
|
-
*
|
|
101
|
-
* @param date
|
|
102
|
-
*/
|
|
103
59
|
onSelectedDateChange(date: Dayjs): void;
|
|
104
|
-
/**
|
|
105
|
-
* Go to previous month on both views
|
|
106
|
-
*/
|
|
107
60
|
prev(): void;
|
|
108
|
-
/**
|
|
109
|
-
* Go to next month on both views
|
|
110
|
-
*/
|
|
111
61
|
next(): void;
|
|
112
|
-
/**
|
|
113
|
-
* Update the start time
|
|
114
|
-
*
|
|
115
|
-
* @param event
|
|
116
|
-
*/
|
|
117
62
|
updateStartTime(event: any): void;
|
|
118
|
-
/**
|
|
119
|
-
* Update the end time
|
|
120
|
-
*
|
|
121
|
-
* @param event
|
|
122
|
-
*/
|
|
123
63
|
updateEndTime(event: any): void;
|
|
124
|
-
/**
|
|
125
|
-
* Initialize
|
|
126
|
-
*
|
|
127
|
-
* @private
|
|
128
|
-
*/
|
|
129
64
|
private _init;
|
|
130
|
-
/**
|
|
131
|
-
* Parse the time from the inputs
|
|
132
|
-
*
|
|
133
|
-
* @param value
|
|
134
|
-
* @private
|
|
135
|
-
*/
|
|
136
65
|
private _parseTime;
|
|
137
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDateRangeComponent, never>;
|
|
138
67
|
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>;
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class CmatDateTimeDisplayComponent {
|
|
4
|
-
/**
|
|
5
|
-
* 日期值。
|
|
6
|
-
*/
|
|
7
4
|
value: string | number | Date | null | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* 格式化模板。
|
|
10
|
-
*/
|
|
11
5
|
format: string;
|
|
12
|
-
/**
|
|
13
|
-
* 时区。
|
|
14
|
-
*/
|
|
15
6
|
timezone: string;
|
|
16
|
-
/**
|
|
17
|
-
* 前缀文字。
|
|
18
|
-
*/
|
|
19
7
|
prefix: string;
|
|
20
|
-
/**
|
|
21
|
-
* 无值占位文字。
|
|
22
|
-
*/
|
|
23
8
|
emptyText: string;
|
|
24
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDateTimeDisplayComponent, never>;
|
|
25
10
|
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>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
2
|
import { OnChanges, OnInit, OnDestroy, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
4
|
|
|
5
5
|
type CmatDrawerMode = 'over' | 'side';
|
|
6
6
|
type CmatDrawerPosition = 'left' | 'right';
|
|
@@ -19,6 +19,7 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
19
19
|
readonly modeChanged: EventEmitter<CmatDrawerMode>;
|
|
20
20
|
readonly openedChanged: EventEmitter<boolean>;
|
|
21
21
|
readonly positionChanged: EventEmitter<CmatDrawerPosition>;
|
|
22
|
+
readonly refreshVersion: i0.WritableSignal<number>;
|
|
22
23
|
private _elementRef;
|
|
23
24
|
private _renderer2;
|
|
24
25
|
private _cmatDrawerService;
|
|
@@ -26,7 +27,6 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
26
27
|
private _hovered;
|
|
27
28
|
private _overlay;
|
|
28
29
|
private _overlayClickDestroyFn;
|
|
29
|
-
private _changeDetectorRef;
|
|
30
30
|
get classList(): any;
|
|
31
31
|
get styleList(): any;
|
|
32
32
|
onMouseenter(): void;
|
|
@@ -37,36 +37,10 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
37
37
|
open(): void;
|
|
38
38
|
close(): void;
|
|
39
39
|
toggle(): void;
|
|
40
|
-
/**
|
|
41
|
-
* Enable the animations
|
|
42
|
-
*
|
|
43
|
-
* @private
|
|
44
|
-
*/
|
|
45
40
|
private _enableAnimations;
|
|
46
|
-
/**
|
|
47
|
-
* Disable the animations
|
|
48
|
-
*
|
|
49
|
-
* @private
|
|
50
|
-
*/
|
|
51
41
|
private _disableAnimations;
|
|
52
|
-
/**
|
|
53
|
-
* Show the backdrop
|
|
54
|
-
*
|
|
55
|
-
* @private
|
|
56
|
-
*/
|
|
57
42
|
private _showOverlay;
|
|
58
|
-
/**
|
|
59
|
-
* Hide the backdrop
|
|
60
|
-
*
|
|
61
|
-
* @private
|
|
62
|
-
*/
|
|
63
43
|
private _hideOverlay;
|
|
64
|
-
/**
|
|
65
|
-
* Open/close the drawer
|
|
66
|
-
*
|
|
67
|
-
* @param open
|
|
68
|
-
* @private
|
|
69
|
-
*/
|
|
70
44
|
private _toggleOpened;
|
|
71
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDrawerComponent, never>;
|
|
72
46
|
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>;
|
|
@@ -74,24 +48,8 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
74
48
|
|
|
75
49
|
declare class CmatDrawerService {
|
|
76
50
|
private _componentRegistry;
|
|
77
|
-
/**
|
|
78
|
-
* Register drawer component
|
|
79
|
-
*
|
|
80
|
-
* @param name
|
|
81
|
-
* @param component
|
|
82
|
-
*/
|
|
83
51
|
registerComponent(name: string, component: CmatDrawerComponent): void;
|
|
84
|
-
/**
|
|
85
|
-
* Deregister drawer component
|
|
86
|
-
*
|
|
87
|
-
* @param name
|
|
88
|
-
*/
|
|
89
52
|
deregisterComponent(name: string): void;
|
|
90
|
-
/**
|
|
91
|
-
* Get drawer component from the registry
|
|
92
|
-
*
|
|
93
|
-
* @param name
|
|
94
|
-
*/
|
|
95
53
|
getComponent(name: string): CmatDrawerComponent | void;
|
|
96
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDrawerService, never>;
|
|
97
55
|
static ɵprov: i0.ɵɵInjectableDeclaration<CmatDrawerService>;
|
|
@@ -2,33 +2,12 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class CmatEmptyStateComponent {
|
|
5
|
-
/**
|
|
6
|
-
* 图标名称。
|
|
7
|
-
*/
|
|
8
5
|
icon: string;
|
|
9
|
-
/**
|
|
10
|
-
* 标题。
|
|
11
|
-
*/
|
|
12
6
|
title: string;
|
|
13
|
-
/**
|
|
14
|
-
* 说明文字。
|
|
15
|
-
*/
|
|
16
7
|
description: string;
|
|
17
|
-
/**
|
|
18
|
-
* 按钮文字。
|
|
19
|
-
*/
|
|
20
8
|
ctaLabel: string;
|
|
21
|
-
/**
|
|
22
|
-
* 按钮是否禁用。
|
|
23
|
-
*/
|
|
24
9
|
ctaDisabled: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 点击按钮事件。
|
|
27
|
-
*/
|
|
28
10
|
ctaClick: EventEmitter<void>;
|
|
29
|
-
/**
|
|
30
|
-
* 触发操作。
|
|
31
|
-
*/
|
|
32
11
|
emitAction(): void;
|
|
33
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatEmptyStateComponent, never>;
|
|
34
13
|
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>;
|
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class CmatFilePreviewComponent {
|
|
4
|
-
/**
|
|
5
|
-
* 文件名。
|
|
6
|
-
*/
|
|
7
4
|
name: string;
|
|
8
|
-
/**
|
|
9
|
-
* 文件描述。
|
|
10
|
-
*/
|
|
11
5
|
description: string;
|
|
12
|
-
/**
|
|
13
|
-
* 文件类型。
|
|
14
|
-
*/
|
|
15
6
|
fileType: string;
|
|
16
|
-
/**
|
|
17
|
-
* 文件大小。
|
|
18
|
-
*/
|
|
19
7
|
size: string;
|
|
20
|
-
/**
|
|
21
|
-
* 预览地址。
|
|
22
|
-
*/
|
|
23
8
|
src: any;
|
|
24
|
-
/**
|
|
25
|
-
* 是否预览图片。
|
|
26
|
-
*/
|
|
27
9
|
previewImage: boolean;
|
|
28
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatFilePreviewComponent, never>;
|
|
29
11
|
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>;
|
|
@@ -1,62 +1,22 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit,
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import { FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
|
-
declare class CmatFilterToolbarComponent implements OnInit
|
|
6
|
-
/**
|
|
7
|
-
* 标题。
|
|
8
|
-
*/
|
|
5
|
+
declare class CmatFilterToolbarComponent implements OnInit {
|
|
9
6
|
title: string;
|
|
10
|
-
/**
|
|
11
|
-
* 说明文字。
|
|
12
|
-
*/
|
|
13
7
|
description: string;
|
|
14
|
-
/**
|
|
15
|
-
* 搜索框占位符。
|
|
16
|
-
*/
|
|
17
8
|
searchPlaceholder: string;
|
|
18
|
-
/**
|
|
19
|
-
* 是否显示搜索框。
|
|
20
|
-
*/
|
|
21
9
|
showSearch: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* 当前搜索内容。
|
|
24
|
-
*/
|
|
25
10
|
searchText: string;
|
|
26
|
-
/**
|
|
27
|
-
* 是否允许清空搜索内容。
|
|
28
|
-
*/
|
|
29
11
|
clearable: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* 搜索内容变化事件。
|
|
32
|
-
*/
|
|
33
12
|
searchTextChange: EventEmitter<string>;
|
|
34
|
-
/**
|
|
35
|
-
* 清空事件。
|
|
36
|
-
*/
|
|
37
13
|
clear: EventEmitter<void>;
|
|
38
|
-
/**
|
|
39
|
-
* 搜索提交事件。
|
|
40
|
-
*/
|
|
41
14
|
searchSubmit: EventEmitter<string>;
|
|
42
15
|
hostClass: string;
|
|
43
16
|
searchControl: FormControl<string | null>;
|
|
44
|
-
private readonly
|
|
45
|
-
/**
|
|
46
|
-
* 初始化搜索联动。
|
|
47
|
-
*/
|
|
17
|
+
private readonly _destroyRef;
|
|
48
18
|
ngOnInit(): void;
|
|
49
|
-
/**
|
|
50
|
-
* 释放订阅。
|
|
51
|
-
*/
|
|
52
|
-
ngOnDestroy(): void;
|
|
53
|
-
/**
|
|
54
|
-
* 提交搜索。
|
|
55
|
-
*/
|
|
56
19
|
submitSearch(): void;
|
|
57
|
-
/**
|
|
58
|
-
* 清空搜索。
|
|
59
|
-
*/
|
|
60
20
|
clearSearch(): void;
|
|
61
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatFilterToolbarComponent, never>;
|
|
62
22
|
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>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class CmatFormActionsComponent {
|
|
4
|
-
/**
|
|
5
|
-
* 对齐方式。
|
|
6
|
-
*/
|
|
7
4
|
align: 'start' | 'center' | 'end';
|
|
8
|
-
/**
|
|
9
|
-
* 是否显示顶部分割线。
|
|
10
|
-
*/
|
|
11
5
|
divider: boolean;
|
|
12
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatFormActionsComponent, never>;
|
|
13
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatFormActionsComponent, "cmat-form-actions", never, { "align": { "alias": "align"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["[cmatFormActionsLeft]", "[cmatFormActions]"], true, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import { SafeUrl } from '@angular/platform-browser';
|
|
4
4
|
|
|
@@ -13,31 +13,18 @@ declare class CmatImageComponent {
|
|
|
13
13
|
width: number | undefined;
|
|
14
14
|
height: number | undefined;
|
|
15
15
|
loading: 'lazy' | 'eager' | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* 要附加对话框的目标元素,有效值是“body”或另一个元素的本地ng模板变量(注意:使用带括号的绑定来绑定模板变量,例如[appedTo]=“mydiv”用于变量名为#mydiv的div元素)。
|
|
18
|
-
*/
|
|
19
16
|
appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* 启动预览功能。
|
|
22
|
-
*/
|
|
23
17
|
preview: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* 监听预览显示/隐藏.
|
|
26
|
-
*/
|
|
27
18
|
previewShowChange: EventEmitter<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* 如果加载图像文件时发生错误,则会触发此事件.
|
|
30
|
-
*/
|
|
31
19
|
imageErrorEvent: EventEmitter<Event>;
|
|
32
20
|
el: ElementRef<any>;
|
|
33
|
-
maskVisible: boolean
|
|
34
|
-
previewVisible: boolean
|
|
21
|
+
readonly maskVisible: _angular_core.WritableSignal<boolean>;
|
|
22
|
+
readonly previewVisible: _angular_core.WritableSignal<boolean>;
|
|
35
23
|
rotate: number;
|
|
36
24
|
scale: number;
|
|
37
25
|
private _loadingPreview;
|
|
38
26
|
private _closePreviewByEscape;
|
|
39
27
|
private _document;
|
|
40
|
-
private _changeDetectorRef;
|
|
41
28
|
private _originalOverflow;
|
|
42
29
|
private _zoomSettings;
|
|
43
30
|
get isZoomOutDisabled(): boolean;
|
|
@@ -65,8 +52,8 @@ declare class CmatImageComponent {
|
|
|
65
52
|
imageError(event: Event): void;
|
|
66
53
|
private _disableBackgroundScroll;
|
|
67
54
|
private _enableBackgroundScroll;
|
|
68
|
-
static ɵfac:
|
|
69
|
-
static ɵcmp:
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatImageComponent, never>;
|
|
56
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatImageComponent, "cmat-image", never, { "imageClass": { "alias": "imageClass"; "required": false; }; "imageStyle": { "alias": "imageStyle"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcSet": { "alias": "srcSet"; "required": false; }; "previewImageSrc": { "alias": "previewImageSrc"; "required": false; }; "previewImageSrcSet": { "alias": "previewImageSrcSet"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; }, { "previewShowChange": "previewShowChange"; "imageErrorEvent": "imageErrorEvent"; }, never, never, true, never>;
|
|
70
57
|
static ngAcceptInputType_preview: unknown;
|
|
71
58
|
}
|
|
72
59
|
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class CmatInlineLoadingComponent {
|
|
4
|
-
/**
|
|
5
|
-
* 说明文字。
|
|
6
|
-
*/
|
|
7
4
|
message: string;
|
|
8
|
-
/**
|
|
9
|
-
* 圆环大小。
|
|
10
|
-
*/
|
|
11
5
|
diameter: number;
|
|
12
|
-
/**
|
|
13
|
-
* 是否显示文字。
|
|
14
|
-
*/
|
|
15
6
|
showText: boolean;
|
|
16
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatInlineLoadingComponent, never>;
|
|
17
8
|
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>;
|
|
@@ -13,7 +13,6 @@ declare class CmatJsonEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
13
13
|
private _jsonEditorContainer?;
|
|
14
14
|
private _destroyed;
|
|
15
15
|
private readonly _document;
|
|
16
|
-
private _changeDetectorRef;
|
|
17
16
|
get darkTheme(): boolean;
|
|
18
17
|
private get _isDarkTheme();
|
|
19
18
|
set jsonEditorContainer(value: ElementRef | undefined);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
2
|
import { OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
4
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
5
5
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
@@ -32,10 +32,10 @@ declare class CmatKnobInputComponent implements MatFormFieldControl<any>, OnDest
|
|
|
32
32
|
readonly stateChanges: Subject<void>;
|
|
33
33
|
focused: boolean;
|
|
34
34
|
touched: boolean;
|
|
35
|
+
readonly refreshVersion: i0.WritableSignal<number>;
|
|
35
36
|
ngControl: NgControl;
|
|
36
37
|
private _document;
|
|
37
38
|
private _renderer;
|
|
38
|
-
private _changeDetectorRef;
|
|
39
39
|
private _el;
|
|
40
40
|
constructor();
|
|
41
41
|
ngOnDestroy(): void;
|
|
@@ -54,7 +54,7 @@ declare class CmatKnobInputComponent implements MatFormFieldControl<any>, OnDest
|
|
|
54
54
|
get disabled(): boolean;
|
|
55
55
|
set disabled(value: BooleanInput);
|
|
56
56
|
protected _disabled: boolean;
|
|
57
|
-
onKeyDown(event:
|
|
57
|
+
onKeyDown(event: Event): void;
|
|
58
58
|
onMouseDown(event: MouseEvent): void;
|
|
59
59
|
onMouseUp(event: MouseEvent): void;
|
|
60
60
|
onTouchStart(event: TouchEvent): void;
|
|
@@ -8,8 +8,7 @@ declare class CmatMasonryComponent implements OnChanges, AfterViewInit {
|
|
|
8
8
|
columnsTemplate: TemplateRef<any>;
|
|
9
9
|
columns: number;
|
|
10
10
|
items: any[];
|
|
11
|
-
distributedColumns: MasonryColumn[]
|
|
12
|
-
private _changeDetectorRef;
|
|
11
|
+
readonly distributedColumns: i0.WritableSignal<MasonryColumn[]>;
|
|
13
12
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14
13
|
ngAfterViewInit(): void;
|
|
15
14
|
private _distributeItems;
|
|
@@ -14,10 +14,9 @@ declare class CmatMaterialColorPickerComponent implements ControlValueAccessor {
|
|
|
14
14
|
palettes: string[];
|
|
15
15
|
hues: string[];
|
|
16
16
|
view: string;
|
|
17
|
-
selectedColor: CmatSelectedColor
|
|
17
|
+
readonly selectedColor: i0.WritableSignal<CmatSelectedColor>;
|
|
18
18
|
selectedPalette: string;
|
|
19
19
|
selectedHue: string;
|
|
20
|
-
private _changeDetectorRef;
|
|
21
20
|
private _color;
|
|
22
21
|
private _title;
|
|
23
22
|
private _readonly;
|