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
|
@@ -42,27 +42,18 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
|
|
|
42
42
|
static ngAcceptInputType_disableAnimation: BooleanInput;
|
|
43
43
|
static ngAcceptInputType_focusTrapEnabled: BooleanInput;
|
|
44
44
|
static ngAcceptInputType_focusTrapAutoCaptureEnabled: BooleanInput;
|
|
45
|
-
/** Event emitted when the popover is closed. */
|
|
46
45
|
closed: EventEmitter<void>;
|
|
47
46
|
templateRef: TemplateRef<any>;
|
|
48
47
|
role: string;
|
|
49
|
-
/** Config object to be passed into the popover's arrow ngStyle */
|
|
50
48
|
popoverPanelStyles: {};
|
|
51
|
-
/** Config object to be passed into the popover's arrow ngStyle */
|
|
52
49
|
popoverArrowStyles: {};
|
|
53
|
-
/** Config object to be passed into the popover's content ngStyle */
|
|
54
50
|
popoverContentStyles: {};
|
|
55
|
-
/** Whether popover's `targetElement` is defined */
|
|
56
51
|
containerPositioning: boolean;
|
|
57
|
-
/** Closing disabled on popover */
|
|
58
52
|
closeDisabled: boolean;
|
|
59
|
-
/** Config object to be passed into the popover's ngClass */
|
|
60
53
|
classList: Record<string, boolean>;
|
|
61
|
-
/** Emits the current animation state whenever it changes. */
|
|
62
54
|
_onAnimationStateChange: EventEmitter<AnimationEvent>;
|
|
63
55
|
private _dir;
|
|
64
56
|
private _elementRef;
|
|
65
|
-
/** Settings for popover, view setters and getters for more detail */
|
|
66
57
|
private _position;
|
|
67
58
|
private _triggerEvent;
|
|
68
59
|
private _scrollStrategy;
|
|
@@ -81,106 +72,57 @@ declare class CmatPopoverComponent implements CmatPopoverPanel, OnDestroy {
|
|
|
81
72
|
private _arrowHeight;
|
|
82
73
|
constructor();
|
|
83
74
|
get position(): CmatPopoverPosition;
|
|
84
|
-
/** Position of the popover. */
|
|
85
75
|
set position(value: CmatPopoverPosition);
|
|
86
|
-
/** Popover trigger event */
|
|
87
76
|
get triggerEvent(): CmatPopoverTriggerEvent;
|
|
88
77
|
set triggerEvent(value: CmatPopoverTriggerEvent);
|
|
89
|
-
/** Popover scroll strategy */
|
|
90
78
|
get scrollStrategy(): CmatPopoverScrollStrategy;
|
|
91
79
|
set scrollStrategy(value: CmatPopoverScrollStrategy);
|
|
92
|
-
/** Popover enter delay */
|
|
93
80
|
get enterDelay(): number;
|
|
94
81
|
set enterDelay(value: number);
|
|
95
|
-
/** Popover leave delay */
|
|
96
82
|
get leaveDelay(): number;
|
|
97
83
|
set leaveDelay(value: number);
|
|
98
|
-
/** Popover target offset x */
|
|
99
84
|
get xOffset(): number;
|
|
100
85
|
set xOffset(value: number);
|
|
101
|
-
/** Popover target offset y */
|
|
102
86
|
get yOffset(): number;
|
|
103
87
|
set yOffset(value: number);
|
|
104
|
-
/** Popover arrow offset x */
|
|
105
88
|
get arrowOffsetX(): number;
|
|
106
89
|
set arrowOffsetX(value: number);
|
|
107
|
-
/** Popover arrow offset y */
|
|
108
90
|
get arrowOffsetY(): number;
|
|
109
91
|
set arrowOffsetY(value: number);
|
|
110
|
-
/** Popover arrow width */
|
|
111
92
|
get arrowWidth(): number;
|
|
112
93
|
set arrowWidth(value: number);
|
|
113
|
-
/** Popover arrow height */
|
|
114
94
|
get arrowHeight(): number;
|
|
115
95
|
set arrowHeight(value: number);
|
|
116
|
-
/** Popover close on container click */
|
|
117
96
|
get closeOnPanelClick(): boolean;
|
|
118
97
|
set closeOnPanelClick(value: boolean);
|
|
119
|
-
/** Popover close on backdrop click */
|
|
120
98
|
get closeOnBackdropClick(): boolean;
|
|
121
99
|
set closeOnBackdropClick(value: boolean);
|
|
122
|
-
/** Disable animations of popover and all child elements */
|
|
123
100
|
get disableAnimation(): boolean;
|
|
124
101
|
set disableAnimation(value: boolean);
|
|
125
|
-
/** Popover focus trap using cdkTrapFocus */
|
|
126
102
|
get focusTrapEnabled(): boolean;
|
|
127
103
|
set focusTrapEnabled(value: boolean);
|
|
128
|
-
/** Popover focus trap auto capture using cdkTrapFocusAutoCapture */
|
|
129
104
|
get focusTrapAutoCaptureEnabled(): boolean;
|
|
130
105
|
set focusTrapAutoCaptureEnabled(value: boolean);
|
|
131
|
-
/**
|
|
132
|
-
* This method takes classes set on the host md-popover element and applies them on the
|
|
133
|
-
* popover template that displays in the overlay container. Otherwise, it's difficult
|
|
134
|
-
* to style the containing popover from outside the component.
|
|
135
|
-
*
|
|
136
|
-
* @param classes list of class names
|
|
137
|
-
*/
|
|
138
106
|
set panelClass(classes: string);
|
|
139
107
|
ngOnDestroy(): void;
|
|
140
|
-
/** Handle a keyboard event from the popover, delegating to the appropriate action. */
|
|
141
108
|
handleKeydown(event: KeyboardEvent): void;
|
|
142
|
-
/**
|
|
143
|
-
* This emits a close event to which the trigger is subscribed. When emitted, the
|
|
144
|
-
* trigger will close the popover.
|
|
145
|
-
*/
|
|
146
109
|
emitCloseEvent(): void;
|
|
147
|
-
/** Close popover on click if closeOnPanelClick is true */
|
|
148
110
|
onClick(): void;
|
|
149
|
-
/**
|
|
150
|
-
* TODO: Refactor when @angular/cdk includes feature I mentioned on github see link below.
|
|
151
|
-
* https://github.com/angular/material2/pull/5493#issuecomment-313085323
|
|
152
|
-
*/
|
|
153
|
-
/** Disables close of popover when leaving trigger element and mouse over the popover */
|
|
154
111
|
onMouseOver(): void;
|
|
155
112
|
onFocus(): void;
|
|
156
|
-
/** Enables close of popover when mouse leaving popover element */
|
|
157
113
|
onMouseLeave(): void;
|
|
158
|
-
/** Sets the current styles for the popover to allow for dynamically changing settings */
|
|
159
114
|
setCurrentStyles(pos?: CmatPopoverPosition): void;
|
|
160
|
-
/**
|
|
161
|
-
* It's necessary to set position-based classes to ensure the popover panel animation
|
|
162
|
-
* folds out from the correct direction.
|
|
163
|
-
*/
|
|
164
115
|
setPositionClasses(pos?: CmatPopoverPosition): void;
|
|
165
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverComponent, never>;
|
|
166
117
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatPopoverComponent, "cmat-popover", ["cmatPopover"], { "popoverPanelStyles": { "alias": "popoverPanelStyles"; "required": false; }; "popoverArrowStyles": { "alias": "popoverArrowStyles"; "required": false; }; "popoverContentStyles": { "alias": "popoverContentStyles"; "required": false; }; "position": { "alias": "position"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "scrollStrategy": { "alias": "scrollStrategy"; "required": false; }; "enterDelay": { "alias": "enterDelay"; "required": false; }; "leaveDelay": { "alias": "leaveDelay"; "required": false; }; "xOffset": { "alias": "xOffset"; "required": false; }; "yOffset": { "alias": "yOffset"; "required": false; }; "arrowOffsetX": { "alias": "arrowOffsetX"; "required": false; }; "arrowOffsetY": { "alias": "arrowOffsetY"; "required": false; }; "arrowWidth": { "alias": "arrowWidth"; "required": false; }; "arrowHeight": { "alias": "arrowHeight"; "required": false; }; "closeOnPanelClick": { "alias": "closeOnPanelClick"; "required": false; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; }; "disableAnimation": { "alias": "disableAnimation"; "required": false; }; "focusTrapEnabled": { "alias": "focusTrapEnabled"; "required": false; }; "focusTrapAutoCaptureEnabled": { "alias": "focusTrapAutoCaptureEnabled"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
167
118
|
}
|
|
168
119
|
|
|
169
|
-
/**
|
|
170
|
-
* This directive is intended to be used in conjunction with an cmat-popover tag. It is
|
|
171
|
-
* responsible for toggling the display of the provided popover instance.
|
|
172
|
-
*/
|
|
173
120
|
declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, OnDestroy {
|
|
174
121
|
ariaHaspopup: boolean;
|
|
175
|
-
/** References the popover instance that the trigger is associated with. */
|
|
176
122
|
popover: CmatPopoverPanel;
|
|
177
|
-
/** References the popover target instance that the trigger is associated with. */
|
|
178
123
|
targetElement: CmatTarget;
|
|
179
|
-
/** Popover trigger event */
|
|
180
124
|
triggerEvent: CmatPopoverTriggerEvent;
|
|
181
|
-
/** Event emitted when the associated popover is opened. */
|
|
182
125
|
popoverOpened: EventEmitter<void>;
|
|
183
|
-
/** Event emitted when the associated popover is closed. */
|
|
184
126
|
popoverClosed: EventEmitter<void>;
|
|
185
127
|
popoverOpened$: Subject<void>;
|
|
186
128
|
popoverClosed$: Subject<void>;
|
|
@@ -188,7 +130,7 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
|
|
|
188
130
|
private _elementRef;
|
|
189
131
|
private _viewContainerRef;
|
|
190
132
|
private _dir;
|
|
191
|
-
private
|
|
133
|
+
private readonly _destroyRef;
|
|
192
134
|
private _portal;
|
|
193
135
|
private _overlayRef;
|
|
194
136
|
private _popoverOpen;
|
|
@@ -198,10 +140,7 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
|
|
|
198
140
|
private _detachmentsSubscription;
|
|
199
141
|
private _mouseoverTimer;
|
|
200
142
|
private _openedByMouse;
|
|
201
|
-
private _onDestroy;
|
|
202
|
-
/** Whether the popover is open. */
|
|
203
143
|
get popoverOpen(): boolean;
|
|
204
|
-
/** The text direction of the containing app. */
|
|
205
144
|
get dir(): Direction;
|
|
206
145
|
onClick(): void;
|
|
207
146
|
onMouseEnter(): void;
|
|
@@ -210,70 +149,22 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
|
|
|
210
149
|
ngOnChanges(changes: SimpleChanges): void;
|
|
211
150
|
ngAfterViewInit(): void;
|
|
212
151
|
ngOnDestroy(): void;
|
|
213
|
-
/** Toggles the popover between the open and closed states. */
|
|
214
152
|
togglePopover(): void;
|
|
215
|
-
/** Opens the popover. */
|
|
216
153
|
openPopover(): void;
|
|
217
|
-
/** Closes the popover. */
|
|
218
154
|
closePopover(): void;
|
|
219
|
-
/** Removes the popover from the DOM. */
|
|
220
155
|
destroyPopover(): void;
|
|
221
|
-
/** Focuses the popover trigger. */
|
|
222
156
|
focus(): void;
|
|
223
|
-
/**
|
|
224
|
-
* This method ensures that the popover closes when the overlay backdrop is clicked.
|
|
225
|
-
* We do not use first() here because doing so would not catch clicks from within
|
|
226
|
-
* the popover, and it would fail to unsubscribe properly. Instead, we unsubscribe
|
|
227
|
-
* explicitly when the popover is closed or destroyed.
|
|
228
|
-
*/
|
|
229
157
|
private _subscribeToBackdrop;
|
|
230
158
|
private _subscribeToDetachments;
|
|
231
|
-
/**
|
|
232
|
-
* This method sets the popover state to open and focuses the first item if
|
|
233
|
-
* the popover was opened via the keyboard.
|
|
234
|
-
*/
|
|
235
159
|
private _initPopover;
|
|
236
|
-
/**
|
|
237
|
-
* This method resets the popover when it's closed, most importantly restoring
|
|
238
|
-
* focus to the popover trigger if the popover was opened via the keyboard.
|
|
239
|
-
*/
|
|
240
160
|
private _resetPopover;
|
|
241
|
-
/** set state rather than toggle to support triggers sharing a popover */
|
|
242
161
|
private _setPopoverOpened;
|
|
243
|
-
/** set state rather than toggle to support triggers sharing a popover */
|
|
244
162
|
private _setPopoverClosed;
|
|
245
|
-
/**
|
|
246
|
-
* This method checks that a valid instance of MdPopover has been passed into
|
|
247
|
-
* mdPopoverTriggerFor. If not, an exception is thrown.
|
|
248
|
-
*/
|
|
249
163
|
private _checkPopover;
|
|
250
|
-
/**
|
|
251
|
-
* This method creates the overlay from the provided popover's template and saves its
|
|
252
|
-
* OverlayRef so that it can be attached to the DOM when openPopover is called.
|
|
253
|
-
*/
|
|
254
164
|
private _createOverlay;
|
|
255
|
-
/**
|
|
256
|
-
* This method builds the configuration object needed to create the overlay, the OverlayConfig.
|
|
257
|
-
*
|
|
258
|
-
* @returns OverlayConfig
|
|
259
|
-
*/
|
|
260
165
|
private _getOverlayConfig;
|
|
261
|
-
/**
|
|
262
|
-
* This method returns the scroll strategy used by the cdk/overlay.
|
|
263
|
-
*/
|
|
264
166
|
private _getOverlayScrollStrategy;
|
|
265
|
-
/**
|
|
266
|
-
* Listens to changes in the position of the overlay and sets the correct classes
|
|
267
|
-
* on the popover based on the new position. This ensures the animation origin is always
|
|
268
|
-
* correct, even if a fallback position is used for the overlay.
|
|
269
|
-
*/
|
|
270
167
|
private _subscribeToPositions;
|
|
271
|
-
/**
|
|
272
|
-
* This method builds the position strategy for the overlay, so the popover is properly connected
|
|
273
|
-
* to the trigger.
|
|
274
|
-
*
|
|
275
|
-
* @returns ConnectedPositionStrategy
|
|
276
|
-
*/
|
|
277
168
|
private _getPosition;
|
|
278
169
|
private _cleanUpSubscriptions;
|
|
279
170
|
private _setCurrentConfig;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { OnChanges, OnInit,
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
3
3
|
|
|
4
|
-
declare class CmatProgressBarComponent implements OnChanges, OnInit
|
|
4
|
+
declare class CmatProgressBarComponent implements OnChanges, OnInit {
|
|
5
5
|
autoMode: boolean;
|
|
6
|
-
mode:
|
|
7
|
-
progress: number | null
|
|
8
|
-
show: boolean
|
|
6
|
+
readonly mode: _angular_core.WritableSignal<"determinate" | "indeterminate">;
|
|
7
|
+
readonly progress: _angular_core.WritableSignal<number | null>;
|
|
8
|
+
readonly show: _angular_core.WritableSignal<boolean>;
|
|
9
9
|
private _cmatLoadingService;
|
|
10
|
-
private
|
|
11
|
-
private _unsubscribeAll;
|
|
10
|
+
private readonly _destroyRef;
|
|
12
11
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
12
|
ngOnInit(): void;
|
|
14
|
-
|
|
15
|
-
static
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CmatProgressBarComponent, "cmat-progress-bar", ["cmatProgressBar"], { "autoMode": { "alias": "autoMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatProgressBarComponent, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatProgressBarComponent, "cmat-progress-bar", ["cmatProgressBar"], { "autoMode": { "alias": "autoMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
export { CmatProgressBarComponent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
import { OnInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges } 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';
|
|
@@ -15,14 +15,13 @@ declare class CmatRatingComponent implements MatFormFieldControl<any>, ControlVa
|
|
|
15
15
|
color?: string;
|
|
16
16
|
showMode?: 'horizontal' | 'vertical';
|
|
17
17
|
valueChange: EventEmitter<any>;
|
|
18
|
-
starArray: number[]
|
|
19
|
-
currentValue: number
|
|
18
|
+
readonly starArray: _angular_core.WritableSignal<number[]>;
|
|
19
|
+
readonly currentValue: _angular_core.WritableSignal<number>;
|
|
20
20
|
readonly stateChanges: Subject<void>;
|
|
21
21
|
focused: boolean;
|
|
22
22
|
touched: boolean;
|
|
23
23
|
controlType: string;
|
|
24
24
|
ngControl: NgControl;
|
|
25
|
-
private _changeDetectorRef;
|
|
26
25
|
constructor();
|
|
27
26
|
onModelChange: (value: any) => void;
|
|
28
27
|
onTouchedChange: () => any;
|
|
@@ -55,8 +54,8 @@ declare class CmatRatingComponent implements MatFormFieldControl<any>, ControlVa
|
|
|
55
54
|
onMouseover(event: any, value: number, half?: boolean): void;
|
|
56
55
|
onMouseleave(): void;
|
|
57
56
|
private _initializeStarArray;
|
|
58
|
-
static ɵfac:
|
|
59
|
-
static ɵcmp:
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatRatingComponent, never>;
|
|
58
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatRatingComponent, "cmat-rating", ["cmatRating"], { "id": { "alias": "id"; "required": false; }; "stars": { "alias": "stars"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "half": { "alias": "half"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showMode": { "alias": "showMode"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
export { CmatRatingComponent };
|
|
@@ -3,33 +3,12 @@ import { OnChanges, SimpleChanges } from '@angular/core';
|
|
|
3
3
|
import { FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
5
|
declare class CmatRichTextEditorComponent implements OnChanges {
|
|
6
|
-
/**
|
|
7
|
-
* 编辑器内容。
|
|
8
|
-
*/
|
|
9
6
|
value: string;
|
|
10
|
-
/**
|
|
11
|
-
* 占位文字。
|
|
12
|
-
*/
|
|
13
7
|
placeholder: string;
|
|
14
|
-
/**
|
|
15
|
-
* 是否只读。
|
|
16
|
-
*/
|
|
17
8
|
readOnly: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* 编辑器主题。
|
|
20
|
-
*/
|
|
21
9
|
theme: string;
|
|
22
|
-
/**
|
|
23
|
-
* 编辑器最小高度。
|
|
24
|
-
*/
|
|
25
10
|
minHeight: string;
|
|
26
|
-
/**
|
|
27
|
-
* 编辑器控件。
|
|
28
|
-
*/
|
|
29
11
|
control: FormControl<string | null>;
|
|
30
|
-
/**
|
|
31
|
-
* 同步外部输入值。
|
|
32
|
-
*/
|
|
33
12
|
ngOnChanges(changes: SimpleChanges): void;
|
|
34
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatRichTextEditorComponent, never>;
|
|
35
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatRichTextEditorComponent, "cmat-rich-text-editor", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit,
|
|
2
|
+
import { OnInit, EventEmitter, ElementRef, QueryList, InjectionToken } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
4
4
|
import { MatOption } from '@angular/material/core';
|
|
5
5
|
import { MatFormField } from '@angular/material/form-field';
|
|
@@ -16,7 +16,7 @@ declare class CmatSelectSearchClearDirective {
|
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatSelectSearchClearDirective, "[cmatSelectSearchClear]", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
declare class CmatSelectSearchComponent implements OnInit,
|
|
19
|
+
declare class CmatSelectSearchComponent implements OnInit, ControlValueAccessor {
|
|
20
20
|
placeholderLabel: string;
|
|
21
21
|
type: string;
|
|
22
22
|
noEntriesFoundLabel: string;
|
|
@@ -28,17 +28,13 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
|
|
|
28
28
|
preventHomeEndKeyPropagation: boolean;
|
|
29
29
|
disableScrollToActiveOnOptionsChanged: boolean;
|
|
30
30
|
ariaLabel: string;
|
|
31
|
-
/** Whether to show Select All Checkbox (for mat-select[multi=true]) */
|
|
32
31
|
showToggleAllCheckbox: boolean;
|
|
33
|
-
/** select all checkbox checked state */
|
|
34
32
|
toggleAllCheckboxChecked: boolean;
|
|
35
|
-
/** select all checkbox indeterminate state */
|
|
36
33
|
toggleAllCheckboxIndeterminate: boolean;
|
|
37
34
|
toggleAllCheckboxTooltipMessage: string;
|
|
38
35
|
toggleAllCheckboxTooltipPosition: 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
|
|
39
36
|
hideClearSearchButton: boolean;
|
|
40
37
|
alwaysRestoreSelectedOptionsMulti: boolean;
|
|
41
|
-
/** Output emitter to send to parent component with the toggle all boolean */
|
|
42
38
|
toggleAll: EventEmitter<boolean>;
|
|
43
39
|
searchSelectInput: ElementRef;
|
|
44
40
|
innerSelectSearch: ElementRef;
|
|
@@ -47,20 +43,18 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
|
|
|
47
43
|
formControl: FormControl;
|
|
48
44
|
protected matSelect: MatSelect;
|
|
49
45
|
protected matFormField: MatFormField | null;
|
|
50
|
-
private _changeDetectorRef;
|
|
51
46
|
private _viewportRuler;
|
|
52
47
|
private _matOption;
|
|
53
48
|
private _defaultOptions;
|
|
49
|
+
private readonly _destroyRef;
|
|
54
50
|
private _options$;
|
|
55
51
|
private _lastExternalInputValue?;
|
|
56
52
|
private _optionsList$;
|
|
57
53
|
private _optionsLength$;
|
|
58
54
|
private _previousSelectedValues;
|
|
59
|
-
private _onDestroy;
|
|
60
|
-
/** Reference to active descendant for ARIA Support. */
|
|
61
55
|
private _activeDescendant?;
|
|
62
56
|
constructor();
|
|
63
|
-
|
|
57
|
+
readonly showNoEntriesFound: i0.WritableSignal<boolean>;
|
|
64
58
|
showNoEntriesFound$: Observable<boolean>;
|
|
65
59
|
get isInsideMatOption(): boolean;
|
|
66
60
|
get value(): string;
|
|
@@ -69,13 +63,8 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
|
|
|
69
63
|
onTouched: () => any;
|
|
70
64
|
ngOnInit(): void;
|
|
71
65
|
emitSelectAllBooleanToParent(state: boolean): void;
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
66
|
isToggleAllCheckboxVisible(): boolean;
|
|
74
67
|
handleKeydown(event: KeyboardEvent): void;
|
|
75
|
-
/**
|
|
76
|
-
* Handles the key up event with MatSelect.
|
|
77
|
-
* Allows e.g. the announcing of the currently activeDescendant by screen readers.
|
|
78
|
-
*/
|
|
79
68
|
handleKeyup(event: KeyboardEvent): void;
|
|
80
69
|
writeValue(value: string): void;
|
|
81
70
|
onBlur(): void;
|
|
@@ -89,19 +78,14 @@ declare class CmatSelectSearchComponent implements OnInit, OnDestroy, ControlVal
|
|
|
89
78
|
private _unselectActiveDescendant;
|
|
90
79
|
private _applyDefaultOptions;
|
|
91
80
|
private _initMultipleHandling;
|
|
92
|
-
/**
|
|
93
|
-
* Scrolls the currently active option into the view if it is not yet visible.
|
|
94
|
-
*/
|
|
95
81
|
private _adjustScrollTopToFitActiveOptionIntoView;
|
|
96
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectSearchComponent, never>;
|
|
97
83
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectSearchComponent, "cmat-select-search", ["cmatSelectSearch"], { "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "clearSearchInput": { "alias": "clearSearchInput"; "required": false; }; "searching": { "alias": "searching"; "required": false; }; "disableInitialFocus": { "alias": "disableInitialFocus"; "required": false; }; "enableClearOnEscapePressed": { "alias": "enableClearOnEscapePressed"; "required": false; }; "preventHomeEndKeyPropagation": { "alias": "preventHomeEndKeyPropagation"; "required": false; }; "disableScrollToActiveOnOptionsChanged": { "alias": "disableScrollToActiveOnOptionsChanged"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "showToggleAllCheckbox": { "alias": "showToggleAllCheckbox"; "required": false; }; "toggleAllCheckboxChecked": { "alias": "toggleAllCheckboxChecked"; "required": false; }; "toggleAllCheckboxIndeterminate": { "alias": "toggleAllCheckboxIndeterminate"; "required": false; }; "toggleAllCheckboxTooltipMessage": { "alias": "toggleAllCheckboxTooltipMessage"; "required": false; }; "toggleAllCheckboxTooltipPosition": { "alias": "toggleAllCheckboxTooltipPosition"; "required": false; }; "hideClearSearchButton": { "alias": "hideClearSearchButton"; "required": false; }; "alwaysRestoreSelectedOptionsMulti": { "alias": "alwaysRestoreSelectedOptionsMulti"; "required": false; }; }, { "toggleAll": "toggleAll"; }, ["clearIcon", "noEntriesFound"], ["[cmatSelectSearchClear]", ".cmat-select-search-custom-header-content", "[cmatSelectNoEntriesFound]"], true, never>;
|
|
98
84
|
}
|
|
99
85
|
|
|
100
|
-
/** List of inputs of CmatSelectSearchComponent that can be configured with a global default. */
|
|
101
86
|
declare const configurableDefaultOptions: readonly ["ariaLabel", "clearSearchInput", "disableInitialFocus", "disableScrollToActiveOnOptionsChanged", "enableClearOnEscapePressed", "hideClearSearchButton", "noEntriesFoundLabel", "placeholderLabel", "preventHomeEndKeyPropagation", "searching"];
|
|
102
87
|
type ConfigurableDefaultOptions = typeof configurableDefaultOptions[number];
|
|
103
88
|
declare const MAT_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<CmatSelectSearchComponent, "ariaLabel" | "clearSearchInput" | "disableInitialFocus" | "disableScrollToActiveOnOptionsChanged" | "enableClearOnEscapePressed" | "hideClearSearchButton" | "noEntriesFoundLabel" | "placeholderLabel" | "preventHomeEndKeyPropagation" | "searching">>>>;
|
|
104
|
-
/** Global configurable options for MatSelectSearch. */
|
|
105
89
|
type MatSelectSearchOptions = Readonly<Partial<Pick<CmatSelectSearchComponent, ConfigurableDefaultOptions>>>;
|
|
106
90
|
|
|
107
91
|
export { CmatSelectSearchComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, configurableDefaultOptions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
import { AfterViewInit, OnDestroy, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
4
|
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
5
5
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
6
6
|
import { MatSelect } from '@angular/material/select';
|
|
@@ -8,14 +8,14 @@ import { Sort } from '@angular/material/sort';
|
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
|
|
10
10
|
interface CmatSelectTableRow {
|
|
11
|
-
[key: string]:
|
|
11
|
+
[key: string]: unknown;
|
|
12
12
|
id: string | number | null | undefined;
|
|
13
13
|
}
|
|
14
14
|
interface CmatSelectTableFilter {
|
|
15
15
|
enabled?: boolean;
|
|
16
16
|
type: 'string' | 'number';
|
|
17
17
|
comparator?: 'equalsIgnoreCase' | 'equals' | 'containsIgnoreCase' | 'contains' | 'startsWithIgnoreCase' | 'startsWith';
|
|
18
|
-
comparatorFn?: (value:
|
|
18
|
+
comparatorFn?: (value: string | number | boolean | null | undefined, filterValue: string | number | boolean | null | undefined, row: CmatSelectTableRow) => boolean;
|
|
19
19
|
}
|
|
20
20
|
interface CmatSelectTableColumn {
|
|
21
21
|
key: string;
|
|
@@ -46,29 +46,30 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
|
|
|
46
46
|
defaultSort: Sort;
|
|
47
47
|
resetOptionAction: () => void;
|
|
48
48
|
keyParam: string;
|
|
49
|
-
compareWith: (o1:
|
|
49
|
+
compareWith: (o1: CmatSelectTableRow | null, o2: CmatSelectTableRow | null) => boolean;
|
|
50
50
|
closed: EventEmitter<boolean>;
|
|
51
51
|
private _matSelectSearch;
|
|
52
52
|
private _sort;
|
|
53
53
|
private _table;
|
|
54
54
|
private _matOptions;
|
|
55
|
-
tableDataSource: CmatSelectTableRow[]
|
|
56
|
-
tableColumns: string[]
|
|
55
|
+
readonly tableDataSource: _angular_core.WritableSignal<CmatSelectTableRow[]>;
|
|
56
|
+
readonly tableColumns: _angular_core.WritableSignal<string[]>;
|
|
57
57
|
tableColumnsMap: Map<string, CmatSelectTableColumn>;
|
|
58
|
+
private readonly _rowById;
|
|
59
|
+
private _columnKeys;
|
|
58
60
|
filteredOutRows: Record<string, CmatSelectTableRow>;
|
|
59
61
|
completeRowList: CmatSelectTableRow[];
|
|
60
|
-
overallSearchVisibleState: boolean
|
|
62
|
+
readonly overallSearchVisibleState: _angular_core.WritableSignal<boolean>;
|
|
61
63
|
overallFilterControl: FormControl;
|
|
62
64
|
selectControl: FormControl;
|
|
63
65
|
readonly stateChanges: Subject<void>;
|
|
64
66
|
focused: boolean;
|
|
65
67
|
touched: boolean;
|
|
66
68
|
ngControl: NgControl;
|
|
67
|
-
private
|
|
69
|
+
private readonly _destroyRef;
|
|
68
70
|
private _matSelect;
|
|
69
71
|
private _filterControls;
|
|
70
72
|
private _nullRow;
|
|
71
|
-
private _unsubscribeAll;
|
|
72
73
|
private _completeValueList;
|
|
73
74
|
constructor();
|
|
74
75
|
set matSelect(m: MatSelect);
|
|
@@ -103,8 +104,10 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
|
|
|
103
104
|
openedChange(opened: boolean): void;
|
|
104
105
|
filterFormControl(key: string): FormControl;
|
|
105
106
|
simpleTriggerLabelFn(value: CmatSelectTableRow[]): string;
|
|
107
|
+
getTriggerLabel(): string;
|
|
106
108
|
toggleOverallSearch(): void;
|
|
107
109
|
addNullRow(): boolean;
|
|
110
|
+
get hasNullRow(): boolean;
|
|
108
111
|
private _onModelChange;
|
|
109
112
|
private _onTouchedChange;
|
|
110
113
|
private _init;
|
|
@@ -115,8 +118,17 @@ declare class CmatSelectTableComponent implements MatFormFieldControl<any>, Cont
|
|
|
115
118
|
private _sortingDataAccessor;
|
|
116
119
|
private _sortData;
|
|
117
120
|
private _checkAndResetSelection;
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
private _matchesColumnFilter;
|
|
122
|
+
private _buildTableOptions;
|
|
123
|
+
private _getMatOptionById;
|
|
124
|
+
private _expandPanelForTableRows;
|
|
125
|
+
private _getCommittedValue;
|
|
126
|
+
private _syncMatSelectValue;
|
|
127
|
+
private _removeFilteredRow;
|
|
128
|
+
private _resolveTriggerLabel;
|
|
129
|
+
private _getTriggerRows;
|
|
130
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatSelectTableComponent, never>;
|
|
131
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatSelectTableComponent, "cmat-select-table", ["cmatSelectTable"], { "id": { "alias": "id"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "isPhone": { "alias": "isPhone"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "overallSearchEnabled": { "alias": "overallSearchEnabled"; "required": false; }; "overallSearchVisible": { "alias": "overallSearchVisible"; "required": false; }; "resetSortOnOpen": { "alias": "resetSortOnOpen"; "required": false; }; "resetFiltersOnOpen": { "alias": "resetFiltersOnOpen"; "required": false; }; "customTriggerLabelFn": { "alias": "customTriggerLabelFn"; "required": false; }; "triggerLabelSort": { "alias": "triggerLabelSort"; "required": false; }; "customTriggerLabelTemplate": { "alias": "customTriggerLabelTemplate"; "required": false; }; "canNull": { "alias": "canNull"; "required": false; }; "defaultSort": { "alias": "defaultSort"; "required": false; }; "resetOptionAction": { "alias": "resetOptionAction"; "required": false; }; "keyParam": { "alias": "keyParam"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
120
132
|
}
|
|
121
133
|
|
|
122
134
|
export { CmatSelectTableComponent };
|