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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-hana-nameserver-history-viewer",
3
- "version": "1.1.99.8.beta",
3
+ "version": "1.2.09.8.beta",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Kuang Cheng",
@@ -1,4 +1,4 @@
1
- import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
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, OnInit {
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
- * Reset Chart to initial status
141
- * If legend is already selected/unselected from the list, it wouldn't be restored.
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 moment from 'moment';
28
- export declare type XValue = number | string | Date | moment.Moment;
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;