logitude-dashboard-library 1.2.41 → 1.2.44

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.
@@ -252,11 +252,14 @@ $dark-grey: #717585;
252
252
  }
253
253
 
254
254
 
255
- .dashboard-widget {
255
+ .dl-dashboard-widget {
256
256
  height: calc(100% - 40px);
257
257
  box-sizing: border-box;
258
+
259
+
258
260
  }
259
261
 
262
+
260
263
  .filter-label {
261
264
  font-size: 12px;
262
265
  color: $dark-grey;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { ReactWidgetPM } from "../../../types/widget";
3
+ declare type ApexChartProps = {
4
+ widget: ReactWidgetPM | null;
5
+ };
6
+ declare const ApexChart: (props: ApexChartProps) => JSX.Element;
7
+ export declare type ApexChartArgs = {
8
+ options: any;
9
+ series: any;
10
+ };
11
+ export default ApexChart;
@@ -4,8 +4,6 @@ import { ChartComponentState } from "../../../types/ChartComponentState";
4
4
  declare class BarChartComponent extends React.Component<ChartComponentProps, ChartComponentState> {
5
5
  data: any[];
6
6
  constructor(props: ChartComponentProps | Readonly<ChartComponentProps>);
7
- private InitChart;
8
- private GroupItems;
9
7
  render(): JSX.Element;
10
8
  }
11
9
  export default BarChartComponent;
@@ -1,8 +1,13 @@
1
1
  /// <reference types="react" />
2
+ import { Layouts } from "react-grid-layout";
2
3
  import ColumnChartComponent from "./ChartsComponents/ColumnChartComponent";
3
4
  import { ReactWidgetPM } from "../../types/widget";
4
5
  declare type DashboardDesignerProps = {
6
+ dashboardLayouts: {
7
+ lg: ReactWidgetPM[];
8
+ };
5
9
  openEditWidget: (widget: ReactWidgetPM) => void;
10
+ onLayoutChange: (layouts: Layouts) => void;
6
11
  };
7
12
  declare const DashboardDesigner: (props: DashboardDesignerProps) => JSX.Element;
8
13
  export declare const layoutGridProps: {
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
+ import { ReactWidgetPM } from "../../types/widget";
2
3
  declare type WidgetCardProps = {
3
4
  editBtnClicked(widget: any): any;
4
5
  deleteBtnClicked(i: any): any;
5
- widget: any | null;
6
+ widget: ReactWidgetPM | null;
6
7
  el: any;
7
8
  dateFilter: any;
8
9
  };