@dhutaryan/ngx-mat-timepicker 20.2.0 → 22.0.0
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@dhutaryan/ngx-mat-timepicker",
|
|
3
3
|
"description": "Angular timepicker to add time which is based on material design and Angular material.",
|
|
4
4
|
"homepage": "https://dhutaryan.github.io/ngx-mat-timepicker/",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "22.0.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Dzmitry Hutaryan"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"timepicker input"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@angular/common": ">=
|
|
31
|
-
"@angular/core": ">=
|
|
32
|
-
"@angular/material": ">=
|
|
30
|
+
"@angular/common": ">=22.0.0",
|
|
31
|
+
"@angular/core": ">=22.0.0",
|
|
32
|
+
"@angular/material": ">=22.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": ">=2.0.0"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|
|
39
39
|
"sass": "./_index.scss",
|
|
40
|
-
"types": "./
|
|
40
|
+
"types": "./types/dhutaryan-ngx-mat-timepicker.d.ts",
|
|
41
41
|
"default": "./fesm2022/dhutaryan-ngx-mat-timepicker.mjs"
|
|
42
42
|
},
|
|
43
43
|
"./package.json": {
|
|
@@ -46,5 +46,6 @@
|
|
|
46
46
|
},
|
|
47
47
|
"sideEffects": false,
|
|
48
48
|
"module": "fesm2022/dhutaryan-ngx-mat-timepicker.mjs",
|
|
49
|
-
"typings": "
|
|
49
|
+
"typings": "types/dhutaryan-ngx-mat-timepicker.d.ts",
|
|
50
|
+
"type": "module"
|
|
50
51
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Provider, OnDestroy, AfterContentInit, AfterViewChecked, EventEmitter, ElementRef, ChangeDetectorRef, AfterViewInit, OnChanges, ViewContainerRef, Injector, SimpleChanges, OnInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
4
4
|
import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
5
5
|
import * as i2 from '@angular/cdk/portal';
|
|
@@ -46,22 +46,16 @@ declare class MatTimepickerIntl {
|
|
|
46
46
|
type MatTimePeriodType = 'am' | 'pm';
|
|
47
47
|
declare class MatTimePeriod {
|
|
48
48
|
_intl: MatTimepickerIntl;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
set period(value: MatTimePeriodType);
|
|
55
|
-
private _period;
|
|
56
|
-
get disabledPeriod(): MatTimePeriodType | null;
|
|
57
|
-
set disabledPeriod(value: MatTimePeriodType | null);
|
|
58
|
-
private _disabledPeriod;
|
|
59
|
-
periodChanged: EventEmitter<MatTimePeriodType>;
|
|
49
|
+
readonly vertical: i0.InputSignalWithTransform<boolean, unknown>;
|
|
50
|
+
readonly period: i0.InputSignal<MatTimePeriodType>;
|
|
51
|
+
readonly disabledPeriod: i0.InputSignal<MatTimePeriodType | null>;
|
|
52
|
+
readonly periodChanged: i0.OutputEmitterRef<MatTimePeriodType>;
|
|
53
|
+
readonly _currentPeriod: i0.WritableSignal<MatTimePeriodType>;
|
|
60
54
|
constructor(_intl: MatTimepickerIntl);
|
|
61
55
|
setPeriod(event: Event, period: MatTimePeriodType): void;
|
|
62
56
|
_isPeriodDisabled(period: MatTimePeriodType): boolean;
|
|
63
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTimePeriod, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTimePeriod, "mat-time-period", never, { "vertical": { "alias": "vertical"; "required": false; }; "period": { "alias": "period"; "required": false; }; "disabledPeriod": { "alias": "disabledPeriod"; "required": false; }; }, { "periodChanged": "periodChanged"; }, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTimePeriod, "mat-time-period", never, { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "period": { "alias": "period"; "required": false; "isSignal": true; }; "disabledPeriod": { "alias": "disabledPeriod"; "required": false; "isSignal": true; }; }, { "periodChanged": "periodChanged"; }, never, never, true, never>;
|
|
65
59
|
}
|
|
66
60
|
|
|
67
61
|
/** InjectionToken for timepicker that can be used to override default locale code. */
|
|
@@ -571,6 +565,10 @@ interface MatTimepickerControl<T> {
|
|
|
571
565
|
}
|
|
572
566
|
/** A timepicker that can be attached to a {@link MatTimepickerControl}. */
|
|
573
567
|
interface MatTimepickerPanel<C extends MatTimepickerControl<T>, S, T = ExtractTimeTypeFromSelection<S>> {
|
|
568
|
+
/** The id for the timepicker's. */
|
|
569
|
+
id: string;
|
|
570
|
+
/** Whether the timepicker is open. */
|
|
571
|
+
opened: boolean;
|
|
574
572
|
/** Stream that emits whenever the timepicker is opened. */
|
|
575
573
|
openedStream: EventEmitter<void>;
|
|
576
574
|
/** Stream that emits whenever the timepicker is closed. */
|
|
@@ -840,7 +838,7 @@ declare abstract class MatTimepickerInputBase<S, T = ExtractTimeTypeFromSelectio
|
|
|
840
838
|
ngOnDestroy(): void;
|
|
841
839
|
/** Registers a time selection model with the input. */
|
|
842
840
|
_registerModel(model: MatTimeSelectionModel<S, T>): void;
|
|
843
|
-
_onInput(
|
|
841
|
+
_onInput(event: Event): void;
|
|
844
842
|
/** Handles change event on the input. */
|
|
845
843
|
_onChange(): void;
|
|
846
844
|
/** Handles blur event on the input. */
|