cmat 0.0.29 → 0.0.30
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/components/adapter/index.d.ts +8 -9
- package/components/breadcrumb/index.d.ts +2 -4
- package/components/carousel/index.d.ts +3 -5
- package/components/cascade/index.d.ts +6 -7
- package/components/chip-input/index.d.ts +2 -2
- package/components/custom-formly/index.d.ts +41 -49
- package/components/date-range/index.d.ts +5 -6
- package/components/drawer/index.d.ts +30 -34
- package/components/fullscreen/index.d.ts +1 -2
- package/components/highlight/index.d.ts +12 -14
- package/components/image-viewer/index.d.ts +4 -5
- package/components/json-editor/index.d.ts +2 -3
- package/components/knob-input/index.d.ts +8 -8
- package/components/material-color-picker/index.d.ts +3 -3
- package/components/material-datetimepicker/index.d.ts +89 -93
- package/components/navigation/index.d.ts +82 -88
- package/components/opt-input/index.d.ts +6 -6
- package/components/pagination/index.d.ts +6 -9
- package/components/popover/index.d.ts +13 -16
- package/components/progress-bar/index.d.ts +3 -5
- package/components/rating/index.d.ts +5 -5
- package/components/select-search/index.d.ts +16 -17
- package/components/select-table/index.d.ts +6 -6
- package/components/select-tree/index.d.ts +7 -6
- package/components/speed-dial/index.d.ts +2 -3
- package/components/timeline/index.d.ts +2 -3
- package/components/toast/index.d.ts +14 -16
- package/components/transfer-picker/index.d.ts +43 -44
- package/components/treetable/index.d.ts +2 -3
- package/components/upload/index.d.ts +23 -27
- package/directives/animate-on-scroll/index.d.ts +4 -19
- package/directives/arrow-cursor/index.d.ts +2 -4
- package/directives/autofocus/index.d.ts +2 -2
- package/directives/data-exporter/index.d.ts +2 -15
- package/directives/digit-only/index.d.ts +4 -4
- package/directives/equal-validator/index.d.ts +1 -2
- package/fesm2022/cmat-components-adapter.mjs +22 -39
- package/fesm2022/cmat-components-adapter.mjs.map +1 -1
- package/fesm2022/cmat-components-breadcrumb.mjs +19 -21
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +3 -3
- package/fesm2022/cmat-components-carousel.mjs +112 -127
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +61 -73
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +14 -18
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +167 -169
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +17 -17
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +17 -19
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-fullscreen.mjs +7 -10
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
- package/fesm2022/cmat-components-highlight.mjs +14 -14
- package/fesm2022/cmat-components-highlight.mjs.map +1 -1
- package/fesm2022/cmat-components-image-viewer.mjs +9 -12
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-json-editor.mjs +7 -7
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +12 -19
- package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +3 -3
- package/fesm2022/cmat-components-material-color-picker.mjs +8 -7
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +166 -216
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +108 -112
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +13 -20
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-org-chart.mjs +9 -9
- package/fesm2022/cmat-components-pagination.mjs +32 -34
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +9 -9
- package/fesm2022/cmat-components-popover.mjs +27 -32
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +10 -10
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
- package/fesm2022/cmat-components-rating.mjs +10 -14
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +30 -53
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-table.mjs +28 -33
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +55 -61
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +13 -13
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +18 -20
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +16 -16
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +47 -47
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +11 -12
- package/fesm2022/cmat-components-treetable.mjs.map +1 -1
- package/fesm2022/cmat-components-upload.mjs +32 -33
- package/fesm2022/cmat-components-upload.mjs.map +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +13 -14
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/cmat-directives-arrow-cursor.mjs +11 -14
- package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
- package/fesm2022/cmat-directives-autofocus.mjs +8 -9
- package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
- package/fesm2022/cmat-directives-data-exporter.mjs +28 -28
- package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
- package/fesm2022/cmat-directives-debounce.mjs +11 -13
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
- package/fesm2022/cmat-directives-digit-only.mjs +17 -17
- package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
- package/fesm2022/cmat-directives-equal-validator.mjs +9 -16
- package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
- package/fesm2022/cmat-lib-mock-api.mjs +11 -14
- package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
- package/fesm2022/cmat-pipes-bytes.mjs +4 -5
- package/fesm2022/cmat-pipes-bytes.mjs.map +1 -1
- package/fesm2022/cmat-pipes-date-format.mjs +4 -5
- package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
- package/fesm2022/cmat-pipes-find-by-key.mjs +4 -5
- package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
- package/fesm2022/cmat-pipes-group-by.mjs +4 -5
- package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
- package/fesm2022/cmat-pipes-keys.mjs +4 -5
- package/fesm2022/cmat-pipes-keys.mjs.map +1 -1
- package/fesm2022/cmat-pipes-secure.mjs +13 -14
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
- package/fesm2022/cmat-pipes-uppercase.mjs +4 -5
- package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -1
- package/fesm2022/cmat-services-alert.mjs +3 -3
- package/fesm2022/cmat-services-config.mjs +10 -12
- package/fesm2022/cmat-services-config.mjs.map +1 -1
- package/fesm2022/cmat-services-confirmation.mjs +17 -20
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +10 -11
- package/fesm2022/cmat-services-data.mjs.map +1 -1
- package/fesm2022/cmat-services-export-as.mjs +3 -3
- package/fesm2022/cmat-services-loading.mjs +14 -14
- 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 +10 -10
- package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
- package/fesm2022/cmat-services-platform.mjs +8 -8
- package/fesm2022/cmat-services-platform.mjs.map +1 -1
- package/fesm2022/cmat-services-splash-screen.mjs +9 -13
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
- package/fesm2022/cmat-services-title.mjs +10 -11
- package/fesm2022/cmat-services-title.mjs.map +1 -1
- package/fesm2022/cmat-services-translation.mjs +8 -8
- package/fesm2022/cmat-services-translation.mjs.map +1 -1
- package/fesm2022/cmat-services-utils.mjs +3 -3
- package/lib/mock-api/index.d.ts +0 -1
- package/package.json +52 -52
- package/pipes/secure/index.d.ts +2 -4
- package/services/config/index.d.ts +1 -1
- package/services/confirmation/index.d.ts +2 -4
- package/services/data/index.d.ts +1 -3
- package/services/loading/index.d.ts +3 -4
- package/services/media-watcher/index.d.ts +2 -3
- package/services/platform/index.d.ts +2 -3
- package/services/splash-screen/index.d.ts +1 -2
- package/services/title/index.d.ts +3 -5
- package/services/translation/index.d.ts +1 -2
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, AfterViewInit, TemplateRef,
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
-
|
|
5
|
-
declare class CmatHighlightService {
|
|
6
|
-
highlight(code: string, language: string): string;
|
|
7
|
-
private _format;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatHighlightService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CmatHighlightService>;
|
|
10
|
-
}
|
|
2
|
+
import { OnChanges, AfterViewInit, TemplateRef, SimpleChanges } from '@angular/core';
|
|
11
3
|
|
|
12
4
|
declare class CmatHighlightComponent implements OnChanges, AfterViewInit {
|
|
13
|
-
private _domSanitizer;
|
|
14
|
-
private _elementRef;
|
|
15
|
-
private _cmatHighlightService;
|
|
16
|
-
private _viewContainerRef;
|
|
17
5
|
code: string;
|
|
18
6
|
lang: string;
|
|
19
7
|
templateRef: TemplateRef<any>;
|
|
20
8
|
highlightedCode: string | null;
|
|
21
9
|
private _viewRef;
|
|
22
|
-
|
|
10
|
+
private _domSanitizer;
|
|
11
|
+
private _elementRef;
|
|
12
|
+
private _cmatHighlightService;
|
|
13
|
+
private _viewContainerRef;
|
|
23
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
15
|
ngAfterViewInit(): void;
|
|
25
16
|
private _highlightAndInsert;
|
|
@@ -27,4 +18,11 @@ declare class CmatHighlightComponent implements OnChanges, AfterViewInit {
|
|
|
27
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatHighlightComponent, "textarea[cmat-highlight]", ["cmatHighlight"], { "code": { "alias": "code"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
19
|
}
|
|
29
20
|
|
|
21
|
+
declare class CmatHighlightService {
|
|
22
|
+
highlight(code: string, language: string): string;
|
|
23
|
+
private _format;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatHighlightService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmatHighlightService>;
|
|
26
|
+
}
|
|
27
|
+
|
|
30
28
|
export { CmatHighlightComponent, CmatHighlightService };
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ElementRef, TemplateRef, EventEmitter
|
|
3
|
+
import { ElementRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
4
4
|
import { SafeUrl } from '@angular/platform-browser';
|
|
5
5
|
|
|
6
6
|
declare class CmatImageComponent {
|
|
7
|
-
private _document;
|
|
8
|
-
private _changeDetectorRef;
|
|
9
|
-
el: ElementRef;
|
|
10
7
|
imageClass: string | undefined;
|
|
11
8
|
imageStyle: Record<string, any> | null | undefined;
|
|
12
9
|
src: string | SafeUrl | undefined;
|
|
@@ -44,14 +41,16 @@ declare class CmatImageComponent {
|
|
|
44
41
|
mask: ElementRef | undefined;
|
|
45
42
|
previewButton: ElementRef | undefined;
|
|
46
43
|
closeButton: ElementRef | undefined;
|
|
44
|
+
el: ElementRef<any>;
|
|
47
45
|
maskVisible: boolean;
|
|
48
46
|
previewVisible: boolean;
|
|
49
47
|
rotate: number;
|
|
50
48
|
scale: number;
|
|
51
49
|
container: HTMLElement | void | null | undefined;
|
|
52
50
|
wrapper: HTMLElement | void | null | undefined;
|
|
51
|
+
private _document;
|
|
52
|
+
private _changeDetectorRef;
|
|
53
53
|
private _zoomSettings;
|
|
54
|
-
constructor(_document: Document, _changeDetectorRef: ChangeDetectorRef, el: ElementRef);
|
|
55
54
|
get isZoomOutDisabled(): boolean;
|
|
56
55
|
get isZoomInDisabled(): boolean;
|
|
57
56
|
onKeydownHandler(): void;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnChanges, OnDestroy, ElementRef, EventEmitter,
|
|
2
|
+
import { OnInit, OnChanges, OnDestroy, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { Content } from 'vanilla-jsoneditor';
|
|
4
4
|
|
|
5
5
|
declare class CmatJsonEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
6
|
-
private _changeDetectorRef;
|
|
7
6
|
jsonEditorContainer: ElementRef;
|
|
8
7
|
options: any;
|
|
9
8
|
data: any;
|
|
@@ -12,7 +11,7 @@ declare class CmatJsonEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
12
11
|
id: string;
|
|
13
12
|
content: Content;
|
|
14
13
|
private _editor;
|
|
15
|
-
|
|
14
|
+
private _changeDetectorRef;
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
17
|
ngOnDestroy(): void;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { OnDestroy, EventEmitter
|
|
3
|
+
import { OnDestroy, EventEmitter } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
5
5
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
|
|
8
8
|
declare class CmatKnobInputComponent implements MatFormFieldControl<any>, OnDestroy, ControlValueAccessor {
|
|
9
|
-
ngControl: NgControl;
|
|
10
|
-
private _document;
|
|
11
|
-
private _renderer;
|
|
12
|
-
private _changeDetectorRef;
|
|
13
|
-
private _el;
|
|
14
9
|
private _knobElementRef;
|
|
15
10
|
id: string;
|
|
16
11
|
valueColor: string;
|
|
@@ -37,7 +32,12 @@ declare class CmatKnobInputComponent implements MatFormFieldControl<any>, OnDest
|
|
|
37
32
|
readonly stateChanges: Subject<void>;
|
|
38
33
|
focused: boolean;
|
|
39
34
|
touched: boolean;
|
|
40
|
-
|
|
35
|
+
ngControl: NgControl;
|
|
36
|
+
private _document;
|
|
37
|
+
private _renderer;
|
|
38
|
+
private _changeDetectorRef;
|
|
39
|
+
private _el;
|
|
40
|
+
constructor();
|
|
41
41
|
ngOnDestroy(): void;
|
|
42
42
|
get placeholder(): string;
|
|
43
43
|
set placeholder(value: string);
|
|
@@ -91,7 +91,7 @@ declare class CmatKnobInputComponent implements MatFormFieldControl<any>, OnDest
|
|
|
91
91
|
valueToDisplay(): string;
|
|
92
92
|
private _onModelChange;
|
|
93
93
|
private _onTouchedChange;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatKnobInputComponent,
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatKnobInputComponent, never>;
|
|
95
95
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatKnobInputComponent, "cmat-knob-input", ["cmatKnobInput"], { "id": { "alias": "id"; "required": false; }; "valueColor": { "alias": "valueColor"; "required": false; }; "rangeColor": { "alias": "rangeColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "valueTemplate": { "alias": "valueTemplate"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "showValue": { "alias": "showValue"; "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>;
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
|
|
5
5
|
declare class CmatSelectedColor {
|
|
@@ -10,7 +10,6 @@ declare class CmatSelectedColor {
|
|
|
10
10
|
|
|
11
11
|
declare const CMAT_MATERIAL_COLOR_PICKER_VALUE_ACCESSOR: any;
|
|
12
12
|
declare class CmatMaterialColorPickerComponent implements ControlValueAccessor {
|
|
13
|
-
private _changeDetectorRef;
|
|
14
13
|
colorChanged: EventEmitter<any>;
|
|
15
14
|
palettes: string[];
|
|
16
15
|
hues: string[];
|
|
@@ -18,12 +17,13 @@ declare class CmatMaterialColorPickerComponent implements ControlValueAccessor {
|
|
|
18
17
|
selectedColor: CmatSelectedColor;
|
|
19
18
|
selectedPalette: string;
|
|
20
19
|
selectedHue: string;
|
|
20
|
+
private _changeDetectorRef;
|
|
21
21
|
private _color;
|
|
22
22
|
private _title;
|
|
23
23
|
private _readonly;
|
|
24
24
|
private _modelChange;
|
|
25
25
|
private _modelTouched;
|
|
26
|
-
constructor(
|
|
26
|
+
constructor();
|
|
27
27
|
get color(): string;
|
|
28
28
|
set color(value: string);
|
|
29
29
|
get title(): string;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { AfterContentInit, EventEmitter,
|
|
3
|
-
import { DatetimeAdapter, CmatDatetimeFormats } from 'cmat/components/adapter';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
+
import { AfterContentInit, EventEmitter, OnDestroy, ElementRef, InjectionToken, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
6
3
|
import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
|
|
7
4
|
import { ThemePalette } from '@angular/material/core';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
8
6
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
9
|
-
import { MatFormField } from '@angular/material/form-field';
|
|
10
7
|
import { MatButton } from '@angular/material/button';
|
|
8
|
+
import { DatetimeAdapter } from 'cmat/components/adapter';
|
|
11
9
|
|
|
12
10
|
declare enum CmatDatetimepickerFilterType {
|
|
13
11
|
DATE = 0,
|
|
@@ -37,8 +35,6 @@ declare const CLOCK_TICK_RADIUS = 7.0833;
|
|
|
37
35
|
* A clock that is used as part of the datepicker.
|
|
38
36
|
*/
|
|
39
37
|
declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
|
|
40
|
-
private _element;
|
|
41
|
-
private _adapter;
|
|
42
38
|
userSelection: EventEmitter<void>;
|
|
43
39
|
/** A function used to filter which dates are selectable. */
|
|
44
40
|
dateFilter: (date: D, type: CmatDatetimepickerFilterType) => boolean;
|
|
@@ -56,6 +52,8 @@ declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
|
|
|
56
52
|
hourView: boolean;
|
|
57
53
|
selectedHour: number;
|
|
58
54
|
selectedMinute: number;
|
|
55
|
+
private _element;
|
|
56
|
+
private _adapter;
|
|
59
57
|
private _timeChanged;
|
|
60
58
|
private _mouseMoveListener;
|
|
61
59
|
private _mouseUpListener;
|
|
@@ -63,7 +61,7 @@ declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
|
|
|
63
61
|
private _selected;
|
|
64
62
|
private _minDate;
|
|
65
63
|
private _maxDate;
|
|
66
|
-
constructor(
|
|
64
|
+
constructor();
|
|
67
65
|
/**
|
|
68
66
|
* The date to display in this clock view.
|
|
69
67
|
*/
|
|
@@ -98,64 +96,10 @@ declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
|
|
|
98
96
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerClockComponent<any>, "cmat-datetimepicker-clock", ["cmatDatetimepickerClock"], { "dateFilter": { "alias": "dateFilter"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; }, never, never, true, never>;
|
|
99
97
|
}
|
|
100
98
|
|
|
101
|
-
declare class CmatDatetimepickerIntl {
|
|
102
|
-
/**
|
|
103
|
-
* Stream to emit from when labels are changed. Use this to notify components when the labels have
|
|
104
|
-
* changed after initialization.
|
|
105
|
-
*/
|
|
106
|
-
readonly changes: Subject<void>;
|
|
107
|
-
/** A label for the calendar popup (used by screen readers). */
|
|
108
|
-
calendarLabel: string;
|
|
109
|
-
/** A label for the button used to open the calendar popup (used by screen readers). */
|
|
110
|
-
openCalendarLabel: string;
|
|
111
|
-
/** Label for the button used to close the calendar popup. */
|
|
112
|
-
closeCalendarLabel: string;
|
|
113
|
-
/** A label for the previous month button (used by screen readers). */
|
|
114
|
-
prevMonthLabel: string;
|
|
115
|
-
/** A label for the next month button (used by screen readers). */
|
|
116
|
-
nextMonthLabel: string;
|
|
117
|
-
/** A label for the previous year button (used by screen readers). */
|
|
118
|
-
prevYearLabel: string;
|
|
119
|
-
/** A label for the next year button (used by screen readers). */
|
|
120
|
-
nextYearLabel: string;
|
|
121
|
-
/** A label for the previous multi-year button (used by screen readers). */
|
|
122
|
-
prevMultiYearLabel: string;
|
|
123
|
-
/** A label for the next multi-year button (used by screen readers). */
|
|
124
|
-
nextMultiYearLabel: string;
|
|
125
|
-
/** A label for the 'switch to month view' button (used by screen readers). */
|
|
126
|
-
switchToMonthViewLabel: string;
|
|
127
|
-
/** A label for the 'switch to year view' button (used by screen readers). */
|
|
128
|
-
switchToYearViewLabel: string;
|
|
129
|
-
/** A label for the 'switch to multi-year view' button (used by screen readers). */
|
|
130
|
-
switchToMultiYearViewLabel: string;
|
|
131
|
-
/** A label for the first date of a range of dates (used by screen readers). */
|
|
132
|
-
startDateLabel: string;
|
|
133
|
-
/** A label for the last date of a range of dates (used by screen readers). */
|
|
134
|
-
endDateLabel: string;
|
|
135
|
-
/** A label for the 'switch to clock hour view' button (used by screen readers). */
|
|
136
|
-
switchToClockHourViewLabel: string;
|
|
137
|
-
/** A label for the 'switch to clock minute view' button (used by screen readers). */
|
|
138
|
-
switchToClockMinuteViewLabel: string;
|
|
139
|
-
/** Label used for ok button within the manual time input. */
|
|
140
|
-
okLabel: string;
|
|
141
|
-
/** Label used for cancel button within the manual time input. */
|
|
142
|
-
cancelLabel: string;
|
|
143
|
-
/** Formats a range of years (used for visuals). */
|
|
144
|
-
formatYearRange(start: string, end: string): string;
|
|
145
|
-
/** Formats a label for a range of years (used by screen readers). */
|
|
146
|
-
formatYearRangeLabel(start: string, end: string): string;
|
|
147
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerIntl, never>;
|
|
148
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CmatDatetimepickerIntl>;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
99
|
/**
|
|
152
100
|
* A calendar that is used as part of the datepicker.
|
|
153
101
|
*/
|
|
154
102
|
declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit, OnDestroy {
|
|
155
|
-
private _elementRef;
|
|
156
|
-
private _intl;
|
|
157
|
-
private _adapter;
|
|
158
|
-
private _dateFormats;
|
|
159
103
|
userSelection: EventEmitter<void>;
|
|
160
104
|
/** Active multi year view when click on year. */
|
|
161
105
|
multiYearSelector: boolean;
|
|
@@ -179,6 +123,10 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
|
|
|
179
123
|
clockView: CmatClockView;
|
|
180
124
|
calendarState: string;
|
|
181
125
|
/** Whether the calendar is in month view. */
|
|
126
|
+
private _elementRef;
|
|
127
|
+
private _intl;
|
|
128
|
+
private _adapter;
|
|
129
|
+
private _dateFormats;
|
|
182
130
|
private _currentView;
|
|
183
131
|
private _intlChanges;
|
|
184
132
|
private _clampedActiveDate;
|
|
@@ -188,7 +136,7 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
|
|
|
188
136
|
private _minDate;
|
|
189
137
|
private _maxDate;
|
|
190
138
|
private _timeInput;
|
|
191
|
-
constructor(
|
|
139
|
+
constructor();
|
|
192
140
|
get type(): CmatDatetimepickerType;
|
|
193
141
|
set type(value: CmatDatetimepickerType);
|
|
194
142
|
/** A date representing the period (month or year) to start the calendar in. */
|
|
@@ -284,7 +232,7 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
|
|
|
284
232
|
private _nextMonthInSameCol;
|
|
285
233
|
private _changeCalendarState;
|
|
286
234
|
private _2digit;
|
|
287
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerCalendarComponent<any>,
|
|
235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerCalendarComponent<any>, never>;
|
|
288
236
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerCalendarComponent<any>, "cmat-datetimepicker-calendar", ["cmatDatetimepickerCalendar"], { "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "type": { "alias": "type"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; "viewChanged": "viewChanged"; }, never, never, true, never>;
|
|
289
237
|
}
|
|
290
238
|
|
|
@@ -345,10 +293,6 @@ declare class CmatDatetimepickerInputEvent<D> {
|
|
|
345
293
|
}
|
|
346
294
|
/** Directive used to connect an input to a MatDatepicker. */
|
|
347
295
|
declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, ControlValueAccessor, OnDestroy, Validator {
|
|
348
|
-
private _elementRef;
|
|
349
|
-
_dateAdapter: DatetimeAdapter<D>;
|
|
350
|
-
private _dateFormats;
|
|
351
|
-
private _formField;
|
|
352
296
|
/** Emits when a `change` event is fired on this `<input>`. */
|
|
353
297
|
dateChange: EventEmitter<CmatDatetimepickerInputEvent<D>>;
|
|
354
298
|
/** Emits when an `input` event is fired on this `<input>`. */
|
|
@@ -359,6 +303,10 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
|
|
|
359
303
|
valueChange: EventEmitter<D | null>;
|
|
360
304
|
/** Emits when the disabled state has changed */
|
|
361
305
|
disabledChange: EventEmitter<boolean>;
|
|
306
|
+
private _elementRef;
|
|
307
|
+
private _dateAdapter;
|
|
308
|
+
private _dateFormats;
|
|
309
|
+
private _formField;
|
|
362
310
|
private _datepickerSubscription;
|
|
363
311
|
private _localeSubscription;
|
|
364
312
|
/** Whether the last value set on the input was valid. */
|
|
@@ -367,7 +315,7 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
|
|
|
367
315
|
private _min;
|
|
368
316
|
private _max;
|
|
369
317
|
private _disabled;
|
|
370
|
-
constructor(
|
|
318
|
+
constructor();
|
|
371
319
|
/** The datepicker that this input is associated with. */
|
|
372
320
|
set cmatDatetimepicker(value: CmatDatetimepickerComponent<D>);
|
|
373
321
|
set cmatDatepickerFilter(filter: (date: D | null, type: CmatDatetimepickerFilterType) => boolean);
|
|
@@ -424,7 +372,7 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
|
|
|
424
372
|
private _validator;
|
|
425
373
|
/** Formats a value and sets it on the input element. */
|
|
426
374
|
private _formatValue;
|
|
427
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerInputDirective<any>,
|
|
375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerInputDirective<any>, never>;
|
|
428
376
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerInputDirective<any>, "input[cmatDatetimepicker]", ["cmatDatepickerInput"], { "cmatDatetimepicker": { "alias": "cmatDatetimepicker"; "required": false; }; "cmatDatepickerFilter": { "alias": "cmatDatepickerFilter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, true, never>;
|
|
429
377
|
}
|
|
430
378
|
|
|
@@ -443,8 +391,6 @@ declare const CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
|
443
391
|
* future. (e.g. confirmation buttons).
|
|
444
392
|
*/
|
|
445
393
|
declare class CmatDatetimepickerContentComponent<D> implements OnInit, AfterContentInit, OnDestroy {
|
|
446
|
-
protected _elementRef: ElementRef;
|
|
447
|
-
private _changeDetectorRef;
|
|
448
394
|
_calendar: CmatDatetimepickerCalendarComponent<D>;
|
|
449
395
|
color: ThemePalette;
|
|
450
396
|
datetimepicker: CmatDatetimepickerComponent<D>;
|
|
@@ -456,7 +402,8 @@ declare class CmatDatetimepickerContentComponent<D> implements OnInit, AfterCont
|
|
|
456
402
|
readonly animationDone: Subject<void>;
|
|
457
403
|
/** Id of the label for the `role="dialog"` element. */
|
|
458
404
|
dialogLabelId: string | null;
|
|
459
|
-
|
|
405
|
+
protected _elementRef: ElementRef<any>;
|
|
406
|
+
private _changeDetectorRef;
|
|
460
407
|
ngOnInit(): void;
|
|
461
408
|
ngAfterContentInit(): void;
|
|
462
409
|
startExitAnimation(): void;
|
|
@@ -465,13 +412,6 @@ declare class CmatDatetimepickerContentComponent<D> implements OnInit, AfterCont
|
|
|
465
412
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerContentComponent<any>, "cmat-datetimepicker-content", ["cmatDatetimepickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
466
413
|
}
|
|
467
414
|
declare class CmatDatetimepickerComponent<D> implements OnDestroy {
|
|
468
|
-
private _overlay;
|
|
469
|
-
private _injector;
|
|
470
|
-
private _viewContainerRef;
|
|
471
|
-
private _scrollStrategy;
|
|
472
|
-
private _dateAdapter;
|
|
473
|
-
private _dir;
|
|
474
|
-
private _document;
|
|
475
415
|
/** The view that the calendar should start in. */
|
|
476
416
|
startView: CmatCalendarView;
|
|
477
417
|
mode: CmatDatetimepickerMode;
|
|
@@ -496,6 +436,13 @@ declare class CmatDatetimepickerComponent<D> implements OnDestroy {
|
|
|
496
436
|
datetimepickerInput: CmatDatetimepickerInputDirective<D>;
|
|
497
437
|
/** Emits when the datepicker is disabled. */
|
|
498
438
|
disabledChange: Subject<boolean>;
|
|
439
|
+
private _overlay;
|
|
440
|
+
private _injector;
|
|
441
|
+
private _viewContainerRef;
|
|
442
|
+
private _scrollStrategy;
|
|
443
|
+
private _dateAdapter;
|
|
444
|
+
private _dir;
|
|
445
|
+
private _document;
|
|
499
446
|
private _validSelected;
|
|
500
447
|
/** A reference to the overlay into which we've rendered the calendar. */
|
|
501
448
|
private _overlayRef;
|
|
@@ -517,7 +464,7 @@ declare class CmatDatetimepickerComponent<D> implements OnDestroy {
|
|
|
517
464
|
private _disabled;
|
|
518
465
|
private _timeInput;
|
|
519
466
|
private _restoreFocus;
|
|
520
|
-
constructor(
|
|
467
|
+
constructor();
|
|
521
468
|
/** Whether to show multi-year view. */
|
|
522
469
|
get multiYearSelector(): boolean;
|
|
523
470
|
set multiYearSelector(value: boolean);
|
|
@@ -604,18 +551,66 @@ declare class CmatDatetimepickerComponent<D> implements OnDestroy {
|
|
|
604
551
|
private _setConnectedPositions;
|
|
605
552
|
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
606
553
|
private _getCloseStream;
|
|
607
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerComponent<any>,
|
|
554
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerComponent<any>, never>;
|
|
608
555
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerComponent<any>, "cmat-datetimepicker", ["cmatDatetimepicker"], { "startView": { "alias": "startView"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "type": { "alias": "type"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "openedStream": "openedStream"; "closedStream": "closedStream"; "viewChanged": "viewChanged"; }, never, never, true, never>;
|
|
609
556
|
}
|
|
610
557
|
|
|
558
|
+
declare class CmatDatetimepickerIntl {
|
|
559
|
+
/**
|
|
560
|
+
* Stream to emit from when labels are changed. Use this to notify components when the labels have
|
|
561
|
+
* changed after initialization.
|
|
562
|
+
*/
|
|
563
|
+
readonly changes: Subject<void>;
|
|
564
|
+
/** A label for the calendar popup (used by screen readers). */
|
|
565
|
+
calendarLabel: string;
|
|
566
|
+
/** A label for the button used to open the calendar popup (used by screen readers). */
|
|
567
|
+
openCalendarLabel: string;
|
|
568
|
+
/** Label for the button used to close the calendar popup. */
|
|
569
|
+
closeCalendarLabel: string;
|
|
570
|
+
/** A label for the previous month button (used by screen readers). */
|
|
571
|
+
prevMonthLabel: string;
|
|
572
|
+
/** A label for the next month button (used by screen readers). */
|
|
573
|
+
nextMonthLabel: string;
|
|
574
|
+
/** A label for the previous year button (used by screen readers). */
|
|
575
|
+
prevYearLabel: string;
|
|
576
|
+
/** A label for the next year button (used by screen readers). */
|
|
577
|
+
nextYearLabel: string;
|
|
578
|
+
/** A label for the previous multi-year button (used by screen readers). */
|
|
579
|
+
prevMultiYearLabel: string;
|
|
580
|
+
/** A label for the next multi-year button (used by screen readers). */
|
|
581
|
+
nextMultiYearLabel: string;
|
|
582
|
+
/** A label for the 'switch to month view' button (used by screen readers). */
|
|
583
|
+
switchToMonthViewLabel: string;
|
|
584
|
+
/** A label for the 'switch to year view' button (used by screen readers). */
|
|
585
|
+
switchToYearViewLabel: string;
|
|
586
|
+
/** A label for the 'switch to multi-year view' button (used by screen readers). */
|
|
587
|
+
switchToMultiYearViewLabel: string;
|
|
588
|
+
/** A label for the first date of a range of dates (used by screen readers). */
|
|
589
|
+
startDateLabel: string;
|
|
590
|
+
/** A label for the last date of a range of dates (used by screen readers). */
|
|
591
|
+
endDateLabel: string;
|
|
592
|
+
/** A label for the 'switch to clock hour view' button (used by screen readers). */
|
|
593
|
+
switchToClockHourViewLabel: string;
|
|
594
|
+
/** A label for the 'switch to clock minute view' button (used by screen readers). */
|
|
595
|
+
switchToClockMinuteViewLabel: string;
|
|
596
|
+
/** Label used for ok button within the manual time input. */
|
|
597
|
+
okLabel: string;
|
|
598
|
+
/** Label used for cancel button within the manual time input. */
|
|
599
|
+
cancelLabel: string;
|
|
600
|
+
/** Formats a range of years (used for visuals). */
|
|
601
|
+
formatYearRange(start: string, end: string): string;
|
|
602
|
+
/** Formats a label for a range of years (used by screen readers). */
|
|
603
|
+
formatYearRangeLabel(start: string, end: string): string;
|
|
604
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerIntl, never>;
|
|
605
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmatDatetimepickerIntl>;
|
|
606
|
+
}
|
|
607
|
+
|
|
611
608
|
/** Can be used to override the icon of a `cmatDatetimepickerToggle`. */
|
|
612
609
|
declare class CmatDatetimepickerToggleIconDirective {
|
|
613
610
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerToggleIconDirective, never>;
|
|
614
611
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerToggleIconDirective, "[cmatDatetimepickerToggleIcon]", never, {}, {}, never, never, true, never>;
|
|
615
612
|
}
|
|
616
613
|
declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit, OnChanges, OnDestroy {
|
|
617
|
-
protected intl: CmatDatetimepickerIntl;
|
|
618
|
-
private _changeDetectorRef;
|
|
619
614
|
/** Datepicker instance that the button will toggle. */
|
|
620
615
|
datetimepicker: CmatDatetimepickerComponent<D>;
|
|
621
616
|
/** Tabindex for the toggle. */
|
|
@@ -629,9 +624,10 @@ declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit,
|
|
|
629
624
|
/** Underlying button element. */
|
|
630
625
|
button: MatButton;
|
|
631
626
|
class: string;
|
|
627
|
+
protected intl: CmatDatetimepickerIntl;
|
|
632
628
|
private _stateChanges;
|
|
633
629
|
private _disabled;
|
|
634
|
-
|
|
630
|
+
private _changeDetectorRef;
|
|
635
631
|
/** Whether the toggle button is disabled. */
|
|
636
632
|
get disabled(): boolean;
|
|
637
633
|
set disabled(value: boolean);
|
|
@@ -648,8 +644,6 @@ declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit,
|
|
|
648
644
|
* An internal component used to display a single month in the datepicker.
|
|
649
645
|
*/
|
|
650
646
|
declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentInit {
|
|
651
|
-
adapter: DatetimeAdapter<D>;
|
|
652
|
-
private _dateFormats;
|
|
653
647
|
type: CmatDatetimepickerType;
|
|
654
648
|
userSelection: EventEmitter<void>;
|
|
655
649
|
/** A function used to filter which dates are selectable. */
|
|
@@ -673,9 +667,11 @@ declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentIni
|
|
|
673
667
|
narrow: string;
|
|
674
668
|
}[];
|
|
675
669
|
calendarState: string;
|
|
670
|
+
adapter: DatetimeAdapter<D>;
|
|
671
|
+
private _dateFormats;
|
|
676
672
|
private _activeDate;
|
|
677
673
|
private _selected;
|
|
678
|
-
constructor(
|
|
674
|
+
constructor();
|
|
679
675
|
/**
|
|
680
676
|
* The date to display in this month view (everything other than the month and year is ignored).
|
|
681
677
|
*/
|
|
@@ -698,7 +694,7 @@ declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentIni
|
|
|
698
694
|
*/
|
|
699
695
|
private _getDateInCurrentMonth;
|
|
700
696
|
private _changeCalendarState;
|
|
701
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerMonthViewComponent<any>,
|
|
697
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerMonthViewComponent<any>, never>;
|
|
702
698
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerMonthViewComponent<any>, "cmat-datetimepicker-month-view", ["cmatDatetimepickerMonthView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
703
699
|
}
|
|
704
700
|
|
|
@@ -706,8 +702,6 @@ declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentIni
|
|
|
706
702
|
* An internal component used to display a single year in the datepicker.
|
|
707
703
|
*/
|
|
708
704
|
declare class CmatDatetimepickerYearViewComponent<D> implements AfterContentInit {
|
|
709
|
-
adapter: DatetimeAdapter<D>;
|
|
710
|
-
private _dateFormats;
|
|
711
705
|
userSelection: EventEmitter<void>;
|
|
712
706
|
type: CmatDatetimepickerType;
|
|
713
707
|
/** A function used to filter which dates are selectable. */
|
|
@@ -726,9 +720,11 @@ declare class CmatDatetimepickerYearViewComponent<D> implements AfterContentInit
|
|
|
726
720
|
*/
|
|
727
721
|
selectedMonth: number | null;
|
|
728
722
|
calendarState: string;
|
|
723
|
+
adapter: DatetimeAdapter<D>;
|
|
724
|
+
private _dateFormats;
|
|
729
725
|
private _activeDate;
|
|
730
726
|
private _selected;
|
|
731
|
-
constructor(
|
|
727
|
+
constructor();
|
|
732
728
|
/** The date to display in this year view (everything other than the year is ignored). */
|
|
733
729
|
get activeDate(): D;
|
|
734
730
|
set activeDate(value: D);
|
|
@@ -750,7 +746,7 @@ declare class CmatDatetimepickerYearViewComponent<D> implements AfterContentInit
|
|
|
750
746
|
private _createCellForMonth;
|
|
751
747
|
/** Whether the given month is enabled. */
|
|
752
748
|
private _isMonthEnabled;
|
|
753
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerYearViewComponent<any>,
|
|
749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerYearViewComponent<any>, never>;
|
|
754
750
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerYearViewComponent<any>, "cmat-datetimepicker-year-view", ["cmatDatetimepickerYearView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
755
751
|
}
|
|
756
752
|
|