@skyux/datetime 11.0.0-alpha.9 → 11.0.0-beta.1
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/documentation.json +749 -932
- package/esm2022/lib/modules/date-pipe/date-pipe.module.mjs +6 -7
- package/esm2022/lib/modules/date-pipe/date.pipe.mjs +3 -3
- package/esm2022/lib/modules/date-pipe/date.service.mjs +3 -3
- package/esm2022/lib/modules/date-pipe/fuzzy-date.pipe.mjs +3 -3
- package/esm2022/lib/modules/date-range-picker/date-range-picker-end-date-resource-key.pipe.mjs +3 -3
- package/esm2022/lib/modules/date-range-picker/date-range-picker-start-date-resource-key.pipe.mjs +3 -3
- package/esm2022/lib/modules/date-range-picker/date-range-picker.component.mjs +37 -62
- package/esm2022/lib/modules/date-range-picker/date-range-picker.module.mjs +4 -4
- package/esm2022/lib/modules/date-range-picker/date-range.service.mjs +3 -3
- package/esm2022/lib/modules/datepicker/datepicker-calendar-inner.component.mjs +5 -5
- package/esm2022/lib/modules/datepicker/datepicker-calendar-label.pipe.mjs +3 -3
- package/esm2022/lib/modules/datepicker/datepicker-calendar.component.mjs +9 -10
- package/esm2022/lib/modules/datepicker/datepicker-config.service.mjs +3 -3
- package/esm2022/lib/modules/datepicker/datepicker-input-fuzzy.directive.mjs +3 -3
- package/esm2022/lib/modules/datepicker/datepicker-input.directive.mjs +5 -5
- package/esm2022/lib/modules/datepicker/datepicker.component.mjs +5 -5
- package/esm2022/lib/modules/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/modules/datepicker/datepicker.service.mjs +3 -3
- package/esm2022/lib/modules/datepicker/daypicker-button.component.mjs +5 -5
- package/esm2022/lib/modules/datepicker/daypicker-cell.component.mjs +5 -5
- package/esm2022/lib/modules/datepicker/daypicker.component.mjs +7 -8
- package/esm2022/lib/modules/datepicker/fuzzy-date.service.mjs +3 -3
- package/esm2022/lib/modules/datepicker/monthpicker.component.mjs +5 -5
- package/esm2022/lib/modules/datepicker/yearpicker.component.mjs +5 -5
- package/esm2022/lib/modules/shared/sky-datetime-resources.module.mjs +4 -4
- package/esm2022/lib/modules/timepicker/timepicker.component.mjs +5 -5
- package/esm2022/lib/modules/timepicker/timepicker.directive.mjs +3 -3
- package/esm2022/lib/modules/timepicker/timepicker.module.mjs +4 -4
- package/fesm2022/skyux-datetime.mjs +137 -162
- package/fesm2022/skyux-datetime.mjs.map +1 -1
- package/lib/modules/date-pipe/date-pipe.module.d.ts +2 -3
- package/lib/modules/date-range-picker/date-range-picker.component.d.ts +4 -23
- package/package.json +14 -14
@@ -1,10 +1,9 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./date.pipe";
|
3
3
|
import * as i2 from "./fuzzy-date.pipe";
|
4
|
-
import * as i3 from "
|
5
|
-
import * as i4 from "../shared/sky-datetime-resources.module";
|
4
|
+
import * as i3 from "../shared/sky-datetime-resources.module";
|
6
5
|
export declare class SkyDatePipeModule {
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDatePipeModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatePipeModule, [typeof i1.SkyDatePipe, typeof i2.SkyFuzzyDatePipe], [typeof i3.
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDatePipeModule, [typeof i1.SkyDatePipe, typeof i2.SkyFuzzyDatePipe], [typeof i3.SkyDatetimeResourcesModule], [typeof i1.SkyDatePipe, typeof i2.SkyFuzzyDatePipe]>;
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDatePipeModule>;
|
10
9
|
}
|
@@ -4,7 +4,6 @@ import { SkyDateRangeCalculation } from './types/date-range-calculation';
|
|
4
4
|
import { SkyDateRangeCalculator } from './types/date-range-calculator';
|
5
5
|
import { SkyDateRangeCalculatorId } from './types/date-range-calculator-id';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@skyux/forms";
|
8
7
|
export declare class SkyDateRangePickerComponent implements AfterViewInit, ControlValueAccessor, DoCheck, OnDestroy, Validator {
|
9
8
|
#private;
|
10
9
|
/**
|
@@ -30,12 +29,6 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
|
|
30
29
|
* @default false
|
31
30
|
*/
|
32
31
|
set disabled(value: boolean);
|
33
|
-
/**
|
34
|
-
* Whether to require users to specify a end date.
|
35
|
-
* @deprecated Use the `required` directive or Angular's `Validators.required`
|
36
|
-
* on the form control to mark the date range picker as required.
|
37
|
-
*/
|
38
|
-
endDateRequired: boolean;
|
39
32
|
/**
|
40
33
|
* The content of the help popover. When specified along with `labelText`, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline)
|
41
34
|
* button is added to date range picker. The help inline button displays a [popover](https://developer.blackbaud.com/skyux/components/popover)
|
@@ -62,34 +55,26 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
|
|
62
55
|
* The text to display as the date range picker's label.
|
63
56
|
*/
|
64
57
|
labelText: string | undefined;
|
65
|
-
/**
|
66
|
-
* Whether the date range picker requires a value.
|
67
|
-
*/
|
68
|
-
required: boolean;
|
69
58
|
/**
|
70
59
|
* Whether the date range picker is stacked on another form component. When specified, the appropriate
|
71
60
|
* vertical spacing is automatically added to the date range picker.
|
72
61
|
*/
|
73
62
|
stacked: boolean;
|
74
|
-
/**
|
75
|
-
* Whether to require users to specify a start date.
|
76
|
-
* @deprecated Use the `required` directive or Angular's `Validators.required`
|
77
|
-
* on the form control to mark the date range picker as required.
|
78
|
-
*/
|
79
|
-
startDateRequired: boolean;
|
80
63
|
/**
|
81
64
|
* A help key that identifies the global help content to display. When specified, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline)
|
82
65
|
* button is placed beside the date range picker label. Clicking the button invokes [global help](https://developer.blackbaud.com/skyux/learn/develop/global-help)
|
83
66
|
* as configured by the application.
|
84
67
|
*/
|
85
68
|
helpKey: string | undefined;
|
69
|
+
protected calculatorIdHasErrors: boolean;
|
86
70
|
protected calculators: SkyDateRangeCalculator[];
|
71
|
+
protected endDateHasErrors: boolean;
|
87
72
|
protected formGroup: FormGroup;
|
88
|
-
protected hasErrors: boolean;
|
89
73
|
protected hostControl: AbstractControl | null | undefined;
|
90
74
|
protected selectedCalculator: SkyDateRangeCalculator;
|
91
75
|
protected showEndDatePicker: boolean;
|
92
76
|
protected showStartDatePicker: boolean;
|
77
|
+
protected startDateHasErrors: boolean;
|
93
78
|
constructor();
|
94
79
|
ngAfterViewInit(): void;
|
95
80
|
/**
|
@@ -106,13 +91,9 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
|
|
106
91
|
setDisabledState(isDisabled: boolean): void;
|
107
92
|
validate(control: AbstractControl): ValidationErrors | null;
|
108
93
|
writeValue(value: Partial<SkyDateRangeCalculation> | undefined): void;
|
109
|
-
protected isRequired(): boolean;
|
110
94
|
protected onBlur(): void;
|
111
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDateRangePickerComponent, never>;
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDateRangePickerComponent, "sky-date-range-picker", never, { "calculatorIds": { "alias": "calculatorIds"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDateRangePickerComponent, "sky-date-range-picker", never, { "calculatorIds": { "alias": "calculatorIds"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["sky-form-error"], true, never>;
|
113
97
|
static ngAcceptInputType_disabled: unknown;
|
114
|
-
static ngAcceptInputType_endDateRequired: unknown;
|
115
|
-
static ngAcceptInputType_required: unknown;
|
116
98
|
static ngAcceptInputType_stacked: unknown;
|
117
|
-
static ngAcceptInputType_startDateRequired: unknown;
|
118
99
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux/datetime",
|
3
|
-
"version": "11.0.0-
|
3
|
+
"version": "11.0.0-beta.1",
|
4
4
|
"author": "Blackbaud, Inc.",
|
5
5
|
"keywords": [
|
6
6
|
"blackbaud",
|
@@ -36,19 +36,19 @@
|
|
36
36
|
}
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|
39
|
-
"@angular/cdk": "^18.
|
40
|
-
"@angular/common": "^18.
|
41
|
-
"@angular/core": "^18.
|
42
|
-
"@angular/forms": "^18.
|
43
|
-
"@angular/platform-browser": "^18.
|
44
|
-
"@skyux-sdk/testing": "11.0.0-
|
45
|
-
"@skyux/core": "11.0.0-
|
46
|
-
"@skyux/forms": "11.0.0-
|
47
|
-
"@skyux/i18n": "11.0.0-
|
48
|
-
"@skyux/icon": "11.0.0-
|
49
|
-
"@skyux/indicators": "11.0.0-
|
50
|
-
"@skyux/popovers": "11.0.0-
|
51
|
-
"@skyux/theme": "11.0.0-
|
39
|
+
"@angular/cdk": "^18.2.3",
|
40
|
+
"@angular/common": "^18.2.3",
|
41
|
+
"@angular/core": "^18.2.3",
|
42
|
+
"@angular/forms": "^18.2.3",
|
43
|
+
"@angular/platform-browser": "^18.2.3",
|
44
|
+
"@skyux-sdk/testing": "11.0.0-beta.1",
|
45
|
+
"@skyux/core": "11.0.0-beta.1",
|
46
|
+
"@skyux/forms": "11.0.0-beta.1",
|
47
|
+
"@skyux/i18n": "11.0.0-beta.1",
|
48
|
+
"@skyux/icon": "11.0.0-beta.1",
|
49
|
+
"@skyux/indicators": "11.0.0-beta.1",
|
50
|
+
"@skyux/popovers": "11.0.0-beta.1",
|
51
|
+
"@skyux/theme": "11.0.0-beta.1",
|
52
52
|
"moment": "^2.30.1"
|
53
53
|
},
|
54
54
|
"dependencies": {
|