@skyux/datetime 13.7.0 → 13.7.2
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/skyux-datetime.mjs +50 -62
- package/fesm2022/skyux-datetime.mjs.map +1 -1
- package/index.d.ts +15 -19
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -4,16 +4,21 @@ import * as i1 from '@skyux/i18n';
|
|
|
4
4
|
import { SkyAppLocaleProvider, SkyLibResourcesService } from '@skyux/i18n';
|
|
5
5
|
import * as _angular_forms from '@angular/forms';
|
|
6
6
|
import { ValidationErrors, ControlValueAccessor, Validator, AbstractControl, FormControl } from '@angular/forms';
|
|
7
|
-
import * as i6 from '@skyux/core';
|
|
8
7
|
import { SkyAffixService, SkyCoreAdapterService, SkyOverlayService, SkyStackingContext } from '@skyux/core';
|
|
9
8
|
import * as i2 from '@skyux/forms';
|
|
10
9
|
import { SkyInputBoxHostService } from '@skyux/forms';
|
|
11
|
-
import * as i7 from '@skyux/theme';
|
|
12
10
|
import { SkyThemeService } from '@skyux/theme';
|
|
13
11
|
import { Observable, BehaviorSubject, Subscription } from 'rxjs';
|
|
14
12
|
import { SkyPopoverMessage } from '@skyux/popovers';
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Import into any component library module that needs to use resource strings.
|
|
16
|
+
*/
|
|
17
|
+
declare class SkyDatetimeResourcesModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatetimeResourcesModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatetimeResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDatetimeResourcesModule>;
|
|
21
|
+
}
|
|
17
22
|
|
|
18
23
|
/**
|
|
19
24
|
* Formats date values according to locale rules.
|
|
@@ -38,7 +43,7 @@ declare class SkyDatePipe implements OnDestroy, PipeTransform {
|
|
|
38
43
|
*/
|
|
39
44
|
transform(value: any, format?: string, locale?: string): string;
|
|
40
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatePipe, never>;
|
|
41
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SkyDatePipe, "skyDate",
|
|
46
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SkyDatePipe, "skyDate", true>;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
interface SkyFuzzyDate {
|
|
@@ -132,21 +137,12 @@ declare class SkyFuzzyDatePipe implements PipeTransform {
|
|
|
132
137
|
*/
|
|
133
138
|
transform(value: SkyFuzzyDate, format?: string, locale?: string): string;
|
|
134
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyFuzzyDatePipe, never>;
|
|
135
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SkyFuzzyDatePipe, "skyFuzzyDate",
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Import into any component library module that needs to use resource strings.
|
|
140
|
-
*/
|
|
141
|
-
declare class SkyDatetimeResourcesModule {
|
|
142
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatetimeResourcesModule, never>;
|
|
143
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatetimeResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
|
|
144
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDatetimeResourcesModule>;
|
|
140
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SkyFuzzyDatePipe, "skyFuzzyDate", true>;
|
|
145
141
|
}
|
|
146
142
|
|
|
147
143
|
declare class SkyDatePipeModule {
|
|
148
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatePipeModule, never>;
|
|
149
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatePipeModule, [typeof
|
|
145
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatePipeModule, never, [typeof SkyDatetimeResourcesModule, typeof SkyDatePipe, typeof SkyFuzzyDatePipe], [typeof SkyDatePipe, typeof SkyFuzzyDatePipe]>;
|
|
150
146
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDatePipeModule>;
|
|
151
147
|
}
|
|
152
148
|
|
|
@@ -1185,7 +1181,7 @@ declare class SkyTimepickerComponent implements OnInit, OnDestroy {
|
|
|
1185
1181
|
onTriggerButtonClick(): void;
|
|
1186
1182
|
protected highlightMinute(selectedMinute: number, minute: number): boolean;
|
|
1187
1183
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTimepickerComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
1188
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyTimepickerComponent, "sky-timepicker", never, {}, { "selectedTimeChanged": "selectedTimeChanged"; }, never, ["*"],
|
|
1184
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyTimepickerComponent, "sky-timepicker", never, {}, { "selectedTimeChanged": "selectedTimeChanged"; }, never, ["*"], true, never>;
|
|
1189
1185
|
}
|
|
1190
1186
|
|
|
1191
1187
|
declare class SkyTimepickerInputDirective implements OnInit, OnDestroy, ControlValueAccessor, Validator, OnChanges, AfterContentInit {
|
|
@@ -1232,12 +1228,12 @@ declare class SkyTimepickerInputDirective implements OnInit, OnDestroy, ControlV
|
|
|
1232
1228
|
writeValue(value: any): void;
|
|
1233
1229
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
1234
1230
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTimepickerInputDirective, never>;
|
|
1235
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyTimepickerInputDirective, "[skyTimepickerInput]", never, { "skyTimepickerInput": { "alias": "skyTimepickerInput"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "returnFormat": { "alias": "returnFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never,
|
|
1231
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyTimepickerInputDirective, "[skyTimepickerInput]", never, { "skyTimepickerInput": { "alias": "skyTimepickerInput"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "returnFormat": { "alias": "returnFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
1236
1232
|
}
|
|
1237
1233
|
|
|
1238
1234
|
declare class SkyTimepickerModule {
|
|
1239
1235
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTimepickerModule, never>;
|
|
1240
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyTimepickerModule,
|
|
1236
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyTimepickerModule, never, [typeof SkyDatetimeResourcesModule, typeof SkyTimepickerInputDirective, typeof SkyTimepickerComponent], [typeof SkyTimepickerInputDirective, typeof SkyTimepickerComponent]>;
|
|
1241
1237
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyTimepickerModule>;
|
|
1242
1238
|
}
|
|
1243
1239
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/datetime",
|
|
3
|
-
"version": "13.7.
|
|
3
|
+
"version": "13.7.2",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"@angular/common": "^20.3.0",
|
|
21
21
|
"@angular/core": "^20.3.0",
|
|
22
22
|
"@angular/forms": "^20.3.0",
|
|
23
|
-
"@skyux/core": "13.7.
|
|
24
|
-
"@skyux/forms": "13.7.
|
|
25
|
-
"@skyux/i18n": "13.7.
|
|
26
|
-
"@skyux/icon": "13.7.
|
|
27
|
-
"@skyux/indicators": "13.7.
|
|
28
|
-
"@skyux/popovers": "13.7.
|
|
29
|
-
"@skyux/theme": "13.7.
|
|
23
|
+
"@skyux/core": "13.7.2",
|
|
24
|
+
"@skyux/forms": "13.7.2",
|
|
25
|
+
"@skyux/i18n": "13.7.2",
|
|
26
|
+
"@skyux/icon": "13.7.2",
|
|
27
|
+
"@skyux/indicators": "13.7.2",
|
|
28
|
+
"@skyux/popovers": "13.7.2",
|
|
29
|
+
"@skyux/theme": "13.7.2",
|
|
30
30
|
"moment": "^2.30.1"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|