@skyux/datetime 11.0.0-alpha.13 → 11.0.0-alpha.15
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 +1477 -1617
- package/esm2022/lib/modules/date-pipe/date-pipe.module.mjs +4 -5
- package/esm2022/lib/modules/date-range-picker/date-range-picker.component.mjs +35 -50
- package/fesm2022/skyux-datetime.mjs +39 -54
- 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 -17
- package/package.json +9 -9
@@ -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)
|
@@ -71,25 +64,21 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
|
|
71
64
|
* vertical spacing is automatically added to the date range picker.
|
72
65
|
*/
|
73
66
|
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
67
|
/**
|
81
68
|
* 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
69
|
* 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
70
|
* as configured by the application.
|
84
71
|
*/
|
85
72
|
helpKey: string | undefined;
|
73
|
+
protected calculatorIdHasErrors: boolean;
|
86
74
|
protected calculators: SkyDateRangeCalculator[];
|
75
|
+
protected endDateHasErrors: boolean;
|
87
76
|
protected formGroup: FormGroup;
|
88
|
-
protected hasErrors: boolean;
|
89
77
|
protected hostControl: AbstractControl | null | undefined;
|
90
78
|
protected selectedCalculator: SkyDateRangeCalculator;
|
91
79
|
protected showEndDatePicker: boolean;
|
92
80
|
protected showStartDatePicker: boolean;
|
81
|
+
protected startDateHasErrors: boolean;
|
93
82
|
constructor();
|
94
83
|
ngAfterViewInit(): void;
|
95
84
|
/**
|
@@ -109,10 +98,8 @@ export declare class SkyDateRangePickerComponent implements AfterViewInit, Contr
|
|
109
98
|
protected isRequired(): boolean;
|
110
99
|
protected onBlur(): void;
|
111
100
|
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; }; "
|
101
|
+
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; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["sky-form-error"], true, never>;
|
113
102
|
static ngAcceptInputType_disabled: unknown;
|
114
|
-
static ngAcceptInputType_endDateRequired: unknown;
|
115
103
|
static ngAcceptInputType_required: unknown;
|
116
104
|
static ngAcceptInputType_stacked: unknown;
|
117
|
-
static ngAcceptInputType_startDateRequired: unknown;
|
118
105
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux/datetime",
|
3
|
-
"version": "11.0.0-alpha.
|
3
|
+
"version": "11.0.0-alpha.15",
|
4
4
|
"author": "Blackbaud, Inc.",
|
5
5
|
"keywords": [
|
6
6
|
"blackbaud",
|
@@ -41,14 +41,14 @@
|
|
41
41
|
"@angular/core": "^18.1.2",
|
42
42
|
"@angular/forms": "^18.1.2",
|
43
43
|
"@angular/platform-browser": "^18.1.2",
|
44
|
-
"@skyux-sdk/testing": "11.0.0-alpha.
|
45
|
-
"@skyux/core": "11.0.0-alpha.
|
46
|
-
"@skyux/forms": "11.0.0-alpha.
|
47
|
-
"@skyux/i18n": "11.0.0-alpha.
|
48
|
-
"@skyux/icon": "11.0.0-alpha.
|
49
|
-
"@skyux/indicators": "11.0.0-alpha.
|
50
|
-
"@skyux/popovers": "11.0.0-alpha.
|
51
|
-
"@skyux/theme": "11.0.0-alpha.
|
44
|
+
"@skyux-sdk/testing": "11.0.0-alpha.15",
|
45
|
+
"@skyux/core": "11.0.0-alpha.15",
|
46
|
+
"@skyux/forms": "11.0.0-alpha.15",
|
47
|
+
"@skyux/i18n": "11.0.0-alpha.15",
|
48
|
+
"@skyux/icon": "11.0.0-alpha.15",
|
49
|
+
"@skyux/indicators": "11.0.0-alpha.15",
|
50
|
+
"@skyux/popovers": "11.0.0-alpha.15",
|
51
|
+
"@skyux/theme": "11.0.0-alpha.15",
|
52
52
|
"moment": "^2.30.1"
|
53
53
|
},
|
54
54
|
"dependencies": {
|