@skyux/datetime 11.28.0 → 11.29.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/documentation.json +2208 -2190
- package/esm2022/lib/modules/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2022/lib/modules/date-range-picker/date-range.service.mjs +8 -10
- package/esm2022/lib/modules/date-range-picker/types/date-range-calculator.mjs +19 -3
- package/fesm2022/skyux-datetime.mjs +25 -13
- package/fesm2022/skyux-datetime.mjs.map +1 -1
- package/lib/modules/date-range-picker/date-range.service.d.ts +0 -1
- package/lib/modules/date-range-picker/types/date-range-calculator.d.ts +7 -6
- package/package.json +9 -9
@@ -1,4 +1,6 @@
|
|
1
1
|
import { ValidationErrors } from '@angular/forms';
|
2
|
+
import { SkyLibResourcesService } from '@skyux/i18n';
|
3
|
+
import { Observable } from 'rxjs';
|
2
4
|
import { SkyDateRange } from './date-range';
|
3
5
|
import { SkyDateRangeCalculation } from './date-range-calculation';
|
4
6
|
import { SkyDateRangeCalculatorConfig } from './date-range-calculator-config';
|
@@ -16,11 +18,12 @@ export declare class SkyDateRangeCalculator {
|
|
16
18
|
/**
|
17
19
|
* The text to display in the calculator select menu.
|
18
20
|
*/
|
19
|
-
shortDescription: string
|
21
|
+
get shortDescription$(): Observable<string>;
|
20
22
|
/**
|
21
|
-
*
|
23
|
+
* The text to display in the calculator select menu.
|
24
|
+
* @deprecated Subscribe to the `shortDescription$` observable instead.
|
22
25
|
*/
|
23
|
-
|
26
|
+
shortDescription: string;
|
24
27
|
/**
|
25
28
|
* The type of calculations available for the date range.
|
26
29
|
*/
|
@@ -29,9 +32,7 @@ export declare class SkyDateRangeCalculator {
|
|
29
32
|
/**
|
30
33
|
* The calculator ID that specifies calculator objects that represent date ranges.
|
31
34
|
*/
|
32
|
-
calculatorId: SkyDateRangeCalculatorId, config: SkyDateRangeCalculatorConfig
|
33
|
-
_shortDescriptionResourceKey?: string;
|
34
|
-
});
|
35
|
+
calculatorId: SkyDateRangeCalculatorId, config: SkyDateRangeCalculatorConfig, resourcesSvc: SkyLibResourcesService, _shortDescriptionResourceKey?: string);
|
35
36
|
/**
|
36
37
|
* Gets the current value of the calculator.
|
37
38
|
* @param startDateInput The start date.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux/datetime",
|
3
|
-
"version": "11.
|
3
|
+
"version": "11.29.0",
|
4
4
|
"author": "Blackbaud, Inc.",
|
5
5
|
"keywords": [
|
6
6
|
"blackbaud",
|
@@ -41,14 +41,14 @@
|
|
41
41
|
"@angular/core": "^18.2.13",
|
42
42
|
"@angular/forms": "^18.2.13",
|
43
43
|
"@angular/platform-browser": "^18.2.13",
|
44
|
-
"@skyux-sdk/testing": "11.
|
45
|
-
"@skyux/core": "11.
|
46
|
-
"@skyux/forms": "11.
|
47
|
-
"@skyux/i18n": "11.
|
48
|
-
"@skyux/icon": "11.
|
49
|
-
"@skyux/indicators": "11.
|
50
|
-
"@skyux/popovers": "11.
|
51
|
-
"@skyux/theme": "11.
|
44
|
+
"@skyux-sdk/testing": "11.29.0",
|
45
|
+
"@skyux/core": "11.29.0",
|
46
|
+
"@skyux/forms": "11.29.0",
|
47
|
+
"@skyux/i18n": "11.29.0",
|
48
|
+
"@skyux/icon": "11.29.0",
|
49
|
+
"@skyux/indicators": "11.29.0",
|
50
|
+
"@skyux/popovers": "11.29.0",
|
51
|
+
"@skyux/theme": "11.29.0",
|
52
52
|
"moment": "^2.30.1"
|
53
53
|
},
|
54
54
|
"dependencies": {
|