@dexteel/mesf-core 4.6.0 → 4.6.2

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.
@@ -5,6 +5,7 @@ import { CursorData } from './models/TrendingModels';
5
5
  interface TableComponentProps {
6
6
  cursorData: CursorData;
7
7
  chartData: ChartData;
8
+ getTagsFromAPI: Function;
8
9
  }
9
10
  declare const TableComponent: React.FC<TableComponentProps>;
10
11
  export default TableComponent;
@@ -2,6 +2,7 @@ import "chartjs-adapter-moment/dist/chartjs-adapter-moment.esm.js";
2
2
  import React from "react";
3
3
  interface TrendingProps {
4
4
  title: string;
5
+ getTagsFromAPI: Function;
5
6
  }
6
7
  declare const Trending: React.FC<TrendingProps>;
7
8
  export default Trending;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  interface Props {
3
3
  open: boolean;
4
- handleClose: () => void;
4
+ handleClose: (shouldUpdate: boolean) => void;
5
5
  }
6
6
  export declare const LoadViewModal: ({ open, handleClose }: Props) => React.JSX.Element;
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  interface Props {
3
3
  open: boolean;
4
- handleClose: () => void;
4
+ handleClose: (shouldUpdate: boolean) => void;
5
5
  }
6
6
  export declare const SaveAsViewModal: ({ open, handleClose }: Props) => React.JSX.Element;
7
7
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ open: boolean;
4
+ handleClose: (shouldUpdate: boolean) => void;
5
+ }
6
+ export declare const SaveViewModal: ({ open, handleClose }: Props) => React.JSX.Element;
7
+ export {};
@@ -83,6 +83,16 @@ export declare const useTrendingContext: () => {
83
83
  payload: any;
84
84
  type: string;
85
85
  }): void;
86
+ setGraphShouldUpdate(state: import("immer/dist/internal").WritableDraft<{
87
+ timeScopeStart: Date;
88
+ timeScopeEnd: Date;
89
+ scope: import("../models/scopes.model").scopeType;
90
+ graphPan?: boolean | undefined;
91
+ graphShouldUpdate: number;
92
+ views: import("../models/TrendingModels").View[];
93
+ viewSelected: import("../models/TrendingModels").View | null;
94
+ viewTags: import("../models/TrendingModels").ViewTag[];
95
+ }>): void;
86
96
  }, "__">;
87
97
  };
88
98
  export declare const TrendingProvider: ({ children }: {
@@ -52,3 +52,7 @@ export interface ViewTag {
52
52
  IsVisible: boolean;
53
53
  IsAutoScale: boolean;
54
54
  }
55
+ export interface ViewTagDataSet {
56
+ timestamp: number;
57
+ value: number;
58
+ }
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
+ import { ViewTagDataSet } from "../models/TrendingModels";
2
3
  interface Props {
3
- series: any[];
4
+ series: ViewTagDataSet[][];
4
5
  chartOptions: any;
5
6
  setChartOptions: any;
6
7
  setCursorData: any;
@@ -82,4 +82,14 @@ export declare const TrendingsReducer: import("@reduxjs/toolkit").Slice<{
82
82
  payload: any;
83
83
  type: string;
84
84
  }): void;
85
+ setGraphShouldUpdate(state: import("immer/dist/internal").WritableDraft<{
86
+ timeScopeStart: Date;
87
+ timeScopeEnd: Date;
88
+ scope: scopeType;
89
+ graphPan?: boolean | undefined;
90
+ graphShouldUpdate: number;
91
+ views: View[];
92
+ viewSelected: View | null;
93
+ viewTags: ViewTag[];
94
+ }>): void;
85
95
  }, "__">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexteel/mesf-core",
3
- "version": "4.6.0",
3
+ "version": "4.6.2",
4
4
  "author": "Dexteel Team",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",