@progress/kendo-angular-charts 7.0.0 → 7.1.0-dev.202204261149
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/api-types/series-point.interface.d.ts +8 -0
- package/argument-types/axis-label-content-args.interface.d.ts +39 -0
- package/argument-types/axis-note-content-args.interface.d.ts +21 -0
- package/argument-types/axis-note-visual-args.interface.d.ts +1 -1
- package/argument-types/series-labels-content-args.interface.d.ts +50 -0
- package/argument-types/series-note-content-args.interface.d.ts +29 -0
- package/bundles/kendo-angular-charts.umd.js +1 -1
- package/chart/axis-defaults/labels.component.d.ts +2 -2
- package/chart/category-axis-item/labels.component.d.ts +2 -2
- package/chart/category-axis-item/notes.label.component.d.ts +2 -2
- package/chart/series-defaults/labels.component.d.ts +2 -2
- package/chart/series-defaults/labels.from.component.d.ts +2 -2
- package/chart/series-defaults/labels.to.component.d.ts +2 -2
- package/chart/series-defaults/notes.label.component.d.ts +2 -2
- package/chart/series-item/labels.component.d.ts +2 -2
- package/chart/series-item/labels.from.component.d.ts +2 -2
- package/chart/series-item/labels.to.component.d.ts +2 -2
- package/chart/series-item/notes.label.component.d.ts +2 -2
- package/chart/value-axis-item/labels.component.d.ts +2 -2
- package/chart/value-axis-item/notes.label.component.d.ts +2 -2
- package/chart/x-axis-item/labels.component.d.ts +2 -2
- package/chart/x-axis-item/notes.label.component.d.ts +2 -2
- package/chart/y-axis-item/labels.component.d.ts +2 -2
- package/chart/y-axis-item/notes.label.component.d.ts +2 -2
- package/common/events.d.ts +1 -0
- package/common/property-types.d.ts +4 -0
- package/esm2015/argument-types/axis-label-content-args.interface.js +5 -0
- package/esm2015/argument-types/axis-note-content-args.interface.js +5 -0
- package/esm2015/argument-types/series-labels-content-args.interface.js +5 -0
- package/esm2015/argument-types/series-note-content-args.interface.js +5 -0
- package/esm2015/common/events.js +1 -0
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/stock-chart/option-types/navigator/hint-content-args.interface.js +5 -0
- package/fesm2015/kendo-angular-charts.js +2 -2
- package/field-types/auto-base-unit-steps.interface.d.ts +1 -0
- package/field-types/border.interface.d.ts +4 -0
- package/option-types/axis-defaults/labels.interface.d.ts +2 -10
- package/option-types/category-axis-item/labels.interface.d.ts +2 -12
- package/option-types/category-axis-item/notes.label.interface.d.ts +2 -3
- package/option-types/series-defaults/labels.from.interface.d.ts +3 -16
- package/option-types/series-defaults/labels.interface.d.ts +2 -15
- package/option-types/series-defaults/labels.to.interface.d.ts +3 -16
- package/option-types/series-defaults/notes.label.interface.d.ts +2 -3
- package/option-types/series-item/labels.from.interface.d.ts +3 -17
- package/option-types/series-item/labels.interface.d.ts +3 -16
- package/option-types/series-item/labels.to.interface.d.ts +2 -15
- package/option-types/series-item/notes.label.interface.d.ts +2 -3
- package/option-types/value-axis-item/labels.interface.d.ts +2 -2
- package/option-types/value-axis-item/notes.label.interface.d.ts +2 -3
- package/option-types/x-axis-item/labels.interface.d.ts +2 -9
- package/option-types/x-axis-item/notes.label.interface.d.ts +2 -2
- package/option-types/y-axis-item/labels.interface.d.ts +2 -9
- package/option-types/y-axis-item/notes.label.interface.d.ts +2 -3
- package/package.json +1 -1
- package/stock-chart/navigator/hint.component.d.ts +2 -2
- package/stock-chart/option-types/navigator/hint-content-args.interface.d.ts +17 -0
- package/stock-chart/option-types/navigator/hint.interface.d.ts +2 -1
- package/stock-chart/option-types.d.ts +1 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
5
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the Chart series `to` labels.
|
|
8
8
|
*/
|
|
@@ -22,21 +22,8 @@ export interface SeriesDefaultsLabelsTo {
|
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the `from` label content of the Chart series.
|
|
24
24
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*
|
|
28
|
-
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Funnel, Line, and Pie
|
|
29
|
-
* series.
|
|
30
|
-
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
31
|
-
* - `percentage`—The point value represented as a percentage value. Available for the Donut, Funnel, and
|
|
32
|
-
* Pie series.
|
|
33
|
-
* - `series`—The data series.
|
|
34
|
-
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
35
|
-
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for
|
|
36
|
-
* the Waterfall series.
|
|
37
|
-
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
38
|
-
*/
|
|
39
|
-
content?: (e: any) => string;
|
|
25
|
+
*/
|
|
26
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
40
27
|
/**
|
|
41
28
|
* The font style of the `to` labels.
|
|
42
29
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
5
|
+
import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the series notes label.
|
|
8
8
|
*/
|
|
@@ -21,10 +21,9 @@ export interface SeriesDefaultsNotesLabel {
|
|
|
21
21
|
color?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the label content.
|
|
24
|
-
* The function argument contains a `value` field which defines the point value.
|
|
25
24
|
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
26
25
|
*/
|
|
27
|
-
content?: (e:
|
|
26
|
+
content?: (e: SeriesNoteContentArgs) => string;
|
|
28
27
|
/**
|
|
29
28
|
* The font style of the label.
|
|
30
29
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
5
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the series `from` labels.
|
|
8
8
|
*/
|
|
@@ -20,24 +20,10 @@ export interface SeriesLabelsFrom {
|
|
|
20
20
|
*/
|
|
21
21
|
color?: string;
|
|
22
22
|
/**
|
|
23
|
-
* The function which returns the Chart series `from` label content.
|
|
24
|
-
*
|
|
25
|
-
* The fields available in the function argument are:
|
|
26
|
-
*
|
|
27
|
-
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Line, Pie, and
|
|
28
|
-
* Waterfall series.
|
|
29
|
-
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
30
|
-
* - `percentage`—The point value represented as a percentage value. Available only for the Donut, Pie, and
|
|
31
|
-
* 100% stacked charts.
|
|
32
|
-
* - `series`—The data series.
|
|
33
|
-
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
34
|
-
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for
|
|
35
|
-
* the Waterfall series.
|
|
36
|
-
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
37
|
-
*
|
|
23
|
+
* The function which returns the Chart series `from` label content. *
|
|
38
24
|
* The text can be split into multiple lines by using the line feed characters (`"\n"`).
|
|
39
25
|
*/
|
|
40
|
-
content?: (e:
|
|
26
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
41
27
|
/**
|
|
42
28
|
* The font style of the `from` labels.
|
|
43
29
|
*/
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
+
import { SeriesLabelsContentArgs } from '../../common/property-types';
|
|
6
7
|
import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
7
8
|
import { SeriesLabelsPosition } from '../../common/property-types';
|
|
8
9
|
import { SeriesLabelsFrom } from './labels.from.interface';
|
|
@@ -43,22 +44,8 @@ export interface SeriesLabels {
|
|
|
43
44
|
/**
|
|
44
45
|
* The function which returns the Chart series label content.
|
|
45
46
|
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
*
|
|
49
|
-
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Line, Pie, and
|
|
50
|
-
* Waterfall series.
|
|
51
|
-
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
52
|
-
* - `percentage`—The point value represented as a percentage value. Available only for the Donut, Pie, and
|
|
53
|
-
* 100% stacked charts.
|
|
54
|
-
* - `series`—The data series.
|
|
55
|
-
* - `stackValue`—The cumulative point value on the stack. Available only for the stackable series.
|
|
56
|
-
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
57
|
-
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for
|
|
58
|
-
* the Waterfall series.
|
|
59
|
-
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
60
|
-
*/
|
|
61
|
-
content?: (e: any) => string;
|
|
47
|
+
*/
|
|
48
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
62
49
|
/**
|
|
63
50
|
* The distance between the labels when [`series.type`]({% slug api_charts_series %}#toc-type) is set to `"donut"` or `"pie"`.
|
|
64
51
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
5
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the series `to` labels.
|
|
8
8
|
*/
|
|
@@ -22,21 +22,8 @@ export interface SeriesLabelsTo {
|
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the Chart series `to` label content.
|
|
24
24
|
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
25
|
-
*
|
|
26
|
-
* The fields available in the function argument are:
|
|
27
|
-
*
|
|
28
|
-
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Line, Pie, and
|
|
29
|
-
* Waterfall series.
|
|
30
|
-
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
31
|
-
* - `percentage`—The point value represented as a percentage value. Available only for the Donut, Pie, and
|
|
32
|
-
* 100% stacked charts.
|
|
33
|
-
* - `series`—The data series.
|
|
34
|
-
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
35
|
-
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for
|
|
36
|
-
* the Waterfall series.
|
|
37
|
-
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
38
25
|
*/
|
|
39
|
-
content?: (e:
|
|
26
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
40
27
|
/**
|
|
41
28
|
* The font style of the `to` labels.
|
|
42
29
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
5
|
+
import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the series notes label.
|
|
8
8
|
*/
|
|
@@ -21,10 +21,9 @@ export interface SeriesNotesLabel {
|
|
|
21
21
|
color?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the label content.
|
|
24
|
-
* The function argument contains a `value` field which defines the point value.
|
|
25
24
|
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
26
25
|
*/
|
|
27
|
-
content?: (e:
|
|
26
|
+
content?: (e: SeriesNoteContentArgs) => string;
|
|
28
27
|
/**
|
|
29
28
|
* The font style of the label.
|
|
30
29
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { AxisLabelsPosition, AxisLabelVisualArgs, Border, LabelRotation, Margin } from '../../common/property-types';
|
|
6
|
+
import { AxisLabelContentArgs, AxisLabelsPosition, AxisLabelVisualArgs, Border, LabelRotation, Margin } from '../../common/property-types';
|
|
7
7
|
import { Padding } from '../../common/property-types';
|
|
8
8
|
/**
|
|
9
9
|
* The configuration options of the value axis labels.
|
|
@@ -33,7 +33,7 @@ export interface ValueAxisLabels {
|
|
|
33
33
|
* - `index`—The index of the label.
|
|
34
34
|
* - `count`—The total number of rendered labels.
|
|
35
35
|
*/
|
|
36
|
-
content?: (e:
|
|
36
|
+
content?: (e: AxisLabelContentArgs) => string;
|
|
37
37
|
/**
|
|
38
38
|
* The font style of the labels.
|
|
39
39
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
5
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the value axis notes label.
|
|
8
8
|
*/
|
|
@@ -21,10 +21,9 @@ export interface ValueAxisNotesLabel {
|
|
|
21
21
|
color?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the label content.
|
|
24
|
-
* The function argument contains a `value` field. It defines the axis value.
|
|
25
24
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
26
25
|
*/
|
|
27
|
-
content?: (e:
|
|
26
|
+
content?: (e: AxisNoteContentArgs) => string;
|
|
28
27
|
/**
|
|
29
28
|
* The font style of the label.
|
|
30
29
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
6
|
+
import { AxisLabelContentArgs, AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
7
7
|
import { Margin, Padding } from '../../common/property-types';
|
|
8
8
|
/**
|
|
9
9
|
* The configuration of the X-axis labels.
|
|
@@ -24,15 +24,8 @@ export interface XAxisLabels {
|
|
|
24
24
|
/**
|
|
25
25
|
* The function which returns the label content.
|
|
26
26
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
27
|
-
*
|
|
28
|
-
* The available fields in the function argument are:
|
|
29
|
-
* - `value`—The category value.
|
|
30
|
-
* - `format`—The default format of the label.
|
|
31
|
-
* - `text`—The default label text.
|
|
32
|
-
* - `index`—The index of the label.
|
|
33
|
-
* - `count`—The total number of rendered labels.
|
|
34
27
|
*/
|
|
35
|
-
content?: (e:
|
|
28
|
+
content?: (e: AxisLabelContentArgs) => string;
|
|
36
29
|
/**
|
|
37
30
|
* The culture to use when formatting date values.
|
|
38
31
|
* The specified culture must be loaded as demonstrated in the [Internationalization Overview]({% slug overview_intl %}).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
5
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the X-axis notes label.
|
|
8
8
|
*/
|
|
@@ -24,7 +24,7 @@ export interface XAxisNotesLabel {
|
|
|
24
24
|
* The function argument contains a `value` field. It defines the axis value.
|
|
25
25
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
26
26
|
*/
|
|
27
|
-
content?: (e:
|
|
27
|
+
content?: (e: AxisNoteContentArgs) => string;
|
|
28
28
|
/**
|
|
29
29
|
* The font style of the label.
|
|
30
30
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
6
|
+
import { AxisLabelContentArgs, AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
7
7
|
import { Margin, Padding } from '../../common/property-types';
|
|
8
8
|
/**
|
|
9
9
|
* The yAxis.labels options.
|
|
@@ -24,15 +24,8 @@ export interface YAxisLabels {
|
|
|
24
24
|
/**
|
|
25
25
|
* The function which returns the label content.
|
|
26
26
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
27
|
-
*
|
|
28
|
-
* The available fields in the function argument are:
|
|
29
|
-
* - `value`—The category value.
|
|
30
|
-
* - `format`—The default format of the label.
|
|
31
|
-
* - `text`—The default label text.
|
|
32
|
-
* - `index`—The index of the label.
|
|
33
|
-
* - `count`—The total number of rendered labels.
|
|
34
27
|
*/
|
|
35
|
-
content?: (e:
|
|
28
|
+
content?: (e: AxisLabelContentArgs) => string;
|
|
36
29
|
/**
|
|
37
30
|
* The culture to use when formatting date values.
|
|
38
31
|
* The specified culture must be loaded as demonstrated in the [Internationalization Overview]({% slug overview_intl %}).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
5
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the Y-axis notes label.
|
|
8
8
|
*/
|
|
@@ -21,10 +21,9 @@ export interface YAxisNotesLabel {
|
|
|
21
21
|
color?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the label content.
|
|
24
|
-
* The function argument contains a `value` field. It defines the axis value.
|
|
25
24
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
26
25
|
*/
|
|
27
|
-
content?: (e:
|
|
26
|
+
content?: (e: AxisNoteContentArgs) => string;
|
|
28
27
|
/**
|
|
29
28
|
* The font style of the label.
|
|
30
29
|
*/
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
6
|
import { SettingsComponent } from '../../common/settings.component';
|
|
7
|
-
import { NavigatorHint } from '../option-types';
|
|
7
|
+
import { NavigatorHint, NavigatorHintContentArgs } from '../option-types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* The default options of the navigator hint
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class NavigatorHintComponent extends SettingsComponent implements NavigatorHint {
|
|
14
14
|
configurationService: ConfigurationService;
|
|
15
|
-
content: (e:
|
|
15
|
+
content: (e: NavigatorHintContentArgs) => string;
|
|
16
16
|
format: string;
|
|
17
17
|
visible: boolean;
|
|
18
18
|
constructor(configurationService: ConfigurationService);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* The navigator hint content function arguments.
|
|
7
|
+
*/
|
|
8
|
+
export interface NavigatorHintContentArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The lower boundary of the selected range.
|
|
11
|
+
*/
|
|
12
|
+
from?: Date;
|
|
13
|
+
/**
|
|
14
|
+
* The upper boundary of the selected range.
|
|
15
|
+
*/
|
|
16
|
+
to?: Date;
|
|
17
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { NavigatorHintContentArgs } from './hint-content-args.interface';
|
|
5
6
|
/**
|
|
6
7
|
* The `navigator.hint` options.
|
|
7
8
|
*/
|
|
@@ -14,7 +15,7 @@ export interface NavigatorHint {
|
|
|
14
15
|
* - `from`—The lower boundary of the selected range.
|
|
15
16
|
* - `to`—The upper boundary of the selected range.
|
|
16
17
|
*/
|
|
17
|
-
content?: (e:
|
|
18
|
+
content?: (e: NavigatorHintContentArgs) => string;
|
|
18
19
|
/**
|
|
19
20
|
* The format of the hint.
|
|
20
21
|
*/
|
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { Navigator } from './option-types/navigator.interface';
|
|
6
6
|
export { NavigatorHint } from './option-types/navigator/hint.interface';
|
|
7
|
+
export { NavigatorHintContentArgs } from './option-types/navigator/hint-content-args.interface';
|
|
7
8
|
export { NavigatorSelect } from './option-types/navigator/select.interface';
|