logitude-dashboard-library 1.4.43 → 1.4.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.
- package/dist/features/Dashboard/ChartsComponents/ApexChart.d.ts +2 -1
- package/dist/features/Dashboard/ChartsComponents/CustomCharts/CustomChart.d.ts +2 -1
- package/dist/features/Dashboard/ChartsComponents/CustomCharts/KpiChart.d.ts +2 -1
- package/dist/features/Dashboard/ChartsComponents/FusionChartTest.d.ts +2 -1
- package/dist/features/Dashboard/DashboardDesigner.d.ts +2 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +85 -220
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +85 -220
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { ReactWidgetPM } from "../../../types/widget";
|
|
2
3
|
import { DataPointSelection } from '../../../types/SeriesMeasure';
|
|
3
4
|
import { ApexOptions } from "apexcharts";
|
|
@@ -8,7 +9,7 @@ declare type ApexChartProps = {
|
|
|
8
9
|
dataBinding: DashboardDataBinding;
|
|
9
10
|
onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
|
|
10
11
|
};
|
|
11
|
-
declare const ApexChart: (props: ApexChartProps) => JSX.Element;
|
|
12
|
+
declare const ApexChart: (props: ApexChartProps) => React.JSX.Element;
|
|
12
13
|
export declare type ApexChartArgs = {
|
|
13
14
|
options: ApexOptions;
|
|
14
15
|
series: ApexAxisChartSeries | ApexNonAxisChartSeries;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { DashboardDataBinding } from "../../../../types/DashboardDataBinding";
|
|
2
3
|
import { DataPointSelection } from "../../../../types/SeriesMeasure";
|
|
3
4
|
import { ReactWidgetPM } from "../../../../types/widget";
|
|
@@ -7,5 +8,5 @@ export declare type CustomChartProps = {
|
|
|
7
8
|
dataBinding: DashboardDataBinding;
|
|
8
9
|
onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
|
|
9
10
|
};
|
|
10
|
-
declare const CustomChart: (props: CustomChartProps) => JSX.Element;
|
|
11
|
+
declare const CustomChart: (props: CustomChartProps) => React.JSX.Element;
|
|
11
12
|
export default CustomChart;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { CustomChartProps } from "./CustomChart";
|
|
2
3
|
declare type KpiChartProps = {
|
|
3
4
|
customChartProps: CustomChartProps;
|
|
4
5
|
};
|
|
5
|
-
declare const KpiChart: (props: KpiChartProps) => JSX.Element;
|
|
6
|
+
declare const KpiChart: (props: KpiChartProps) => React.JSX.Element;
|
|
6
7
|
export default KpiChart;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Layouts } from "react-grid-layout";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import { ReactWidgetPM } from "../../types/widget";
|
|
3
4
|
import { DataPointSelection } from "../../types/SeriesMeasure";
|
|
4
5
|
import { DashboardDataBinding } from "../../types/DashboardDataBinding";
|
|
@@ -12,7 +13,7 @@ declare type DashboardDesignerProps = {
|
|
|
12
13
|
dataBinding: DashboardDataBinding;
|
|
13
14
|
onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
|
|
14
15
|
};
|
|
15
|
-
declare const DashboardDesigner: (props: DashboardDesignerProps) => JSX.Element;
|
|
16
|
+
declare const DashboardDesigner: (props: DashboardDesignerProps) => React.JSX.Element;
|
|
16
17
|
export declare const layoutGridProps: {
|
|
17
18
|
rowHeight: number;
|
|
18
19
|
className: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import "./styles.module.css";
|
|
2
3
|
import { ReactWidgetPM } from './types/widget';
|
|
3
4
|
import { DashboardDataBinding } from './types/DashboardDataBinding';
|
|
@@ -6,6 +7,8 @@ declare type DashboardProps = {
|
|
|
6
7
|
token: string;
|
|
7
8
|
tenant: number;
|
|
8
9
|
userId: string;
|
|
10
|
+
isPreviewMode: boolean;
|
|
11
|
+
widgetData: ReactWidgetPM | undefined;
|
|
9
12
|
dataBinding: DashboardDataBinding;
|
|
10
13
|
onChangeLayouts: (layouts: {
|
|
11
14
|
lg: ReactWidgetPM[];
|
|
@@ -13,5 +16,5 @@ declare type DashboardProps = {
|
|
|
13
16
|
openEditWidget: (Widget: ReactWidgetPM) => void;
|
|
14
17
|
onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
|
|
15
18
|
};
|
|
16
|
-
declare const Dashboard: (props: DashboardProps) => JSX.Element;
|
|
19
|
+
declare const Dashboard: (props: DashboardProps) => React.JSX.Element;
|
|
17
20
|
export default Dashboard;
|