ngx-hana-nameserver-history-viewer 1.1.9-9.8.beta → 1.2.0-9.8.beta
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/esm2020/src/nameserver-history-viewer/components/nameserver-history.component.mjs +16 -18
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.mjs +2 -2
- package/esm2020/src/nameserver-history-viewer/services/chart.service.mjs +11 -6
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.mjs +3 -2
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.mjs +3 -2
- package/esm2020/src/nameserver-history-viewer/utils/time-util.mjs +2 -2
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs +38 -33
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs.map +1 -1
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs +37 -33
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs.map +1 -1
- package/package.json +1 -1
- package/src/nameserver-history-viewer/components/nameserver-history.component.d.ts +6 -6
- package/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, OnChanges,
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Alert, Item, ChartContentData, ChartContentHeader, ChartContentTime, Port } from '../types';
|
|
3
3
|
import { FileService, ChartService, UIService } from '../services';
|
|
4
4
|
import 'hammerjs';
|
|
@@ -10,7 +10,7 @@ declare enum SearchType {
|
|
|
10
10
|
searchAll = "searchAll",
|
|
11
11
|
searchInChildren = "searchInChildren"
|
|
12
12
|
}
|
|
13
|
-
export declare class NameServerHistoryComponent implements OnChanges,
|
|
13
|
+
export declare class NameServerHistoryComponent implements OnChanges, AfterViewInit {
|
|
14
14
|
private fileService;
|
|
15
15
|
private chartService;
|
|
16
16
|
private uiService;
|
|
@@ -134,12 +134,12 @@ export declare class NameServerHistoryComponent implements OnChanges, OnInit {
|
|
|
134
134
|
*/
|
|
135
135
|
private _currentChartPort;
|
|
136
136
|
constructor(fileService: FileService, chartService: ChartService, uiService: UIService);
|
|
137
|
-
ngOnInit(): void;
|
|
138
137
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
138
|
+
ngAfterViewInit(): void;
|
|
139
139
|
/**
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
* Reset Chart to initial status
|
|
141
|
+
* If legend is already selected/unselected from the list, it wouldn't be restored.
|
|
142
|
+
*/
|
|
143
143
|
resetChart(): void;
|
|
144
144
|
/**
|
|
145
145
|
* read the file and display the chart
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
*/
|
|
25
25
|
import { ChartPoint } from 'chart.js';
|
|
26
26
|
import { Scale } from './chartjs_ext';
|
|
27
|
-
import
|
|
28
|
-
export declare type XValue = number | string | Date |
|
|
27
|
+
import * as moment_module from 'moment';
|
|
28
|
+
export declare type XValue = number | string | Date | moment_module.Moment;
|
|
29
29
|
export declare type Range = [XValue, XValue];
|
|
30
30
|
export declare function rangeIsEqual(previousValue: Range, currentValue: Range): boolean;
|
|
31
31
|
export declare function getScaleRange(scale: Scale): Range;
|