@devtable/dashboard 4.19.0 → 5.1.0
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/dashboard.es.js +3833 -3472
- package/dist/dashboard.umd.js +17 -17
- package/dist/definition-editor/query-editor/preview-sql.d.ts +3 -1
- package/dist/filter/filter-date-range/render.d.ts +2 -2
- package/dist/interactions/operation/operations/open-view.d.ts +5 -0
- package/dist/interactions/operation/operations/set-filter-values.d.ts +5 -0
- package/dist/interactions/temp-hack.d.ts +2 -0
- package/dist/main/main.d.ts +2 -0
- package/dist/main/read-only.d.ts +5 -1
- package/dist/main/use-panel-full-screen.d.ts +1 -1
- package/dist/view/main-view.d.ts +2 -0
- package/dist/view/read-only-view.d.ts +2 -0
- package/dist/view/view-component/render/division.d.ts +6 -0
- package/dist/view/view-component/render/index.d.ts +8 -0
- package/dist/view/view-component/render/modal.d.ts +8 -0
- package/package.json +2 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IFilterConfig_DateRange } from '../../model/filters/filter/date-range';
|
|
2
|
+
import { IFilterConfig_DateRange, TDateRangePickerValue } from '../../model/filters/filter/date-range';
|
|
3
3
|
interface IFilterDateRange {
|
|
4
4
|
label: string;
|
|
5
5
|
config: IFilterConfig_DateRange;
|
|
6
|
-
value:
|
|
6
|
+
value: TDateRangePickerValue;
|
|
7
7
|
onChange: (v: $TSFixMe) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const FilterDateRange: (({ label, config, value, onChange }: IFilterDateRange) => JSX.Element) & {
|
package/dist/main/main.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ interface IDashboardProps {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
update: (dashboard: IDashboard) => Promise<void>;
|
|
9
9
|
config: IDashboardConfig;
|
|
10
|
+
fullScreenPanelID: string;
|
|
11
|
+
setFullScreenPanelID: (v: string) => void;
|
|
10
12
|
}
|
|
11
13
|
export declare const Dashboard: React.FunctionComponent<IDashboardProps>;
|
|
12
14
|
export {};
|
package/dist/main/read-only.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ interface IReadOnlyDashboard {
|
|
|
6
6
|
dashboard: IDashboard;
|
|
7
7
|
className?: string;
|
|
8
8
|
config: IDashboardConfig;
|
|
9
|
+
fullScreenPanelID: string;
|
|
10
|
+
setFullScreenPanelID: (v: string) => void;
|
|
9
11
|
}
|
|
10
|
-
export declare
|
|
12
|
+
export declare const ReadOnlyDashboard: (({ context, dashboard, className, config, fullScreenPanelID, setFullScreenPanelID, }: IReadOnlyDashboard) => JSX.Element) & {
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
11
15
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewModelInstance } from '..';
|
|
2
|
-
export declare function usePanelFullScreen(view: ViewModelInstance): {
|
|
2
|
+
export declare function usePanelFullScreen(view: ViewModelInstance, panelID: string, setPanelID: (v: string) => void): {
|
|
3
3
|
viewPanelInFullScreen: (id: string) => void;
|
|
4
4
|
exitFullScreen: () => void;
|
|
5
5
|
inFullScreen: boolean;
|
package/dist/view/main-view.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { ViewModelInstance } from '..';
|
|
|
3
3
|
interface IMainDashboardView {
|
|
4
4
|
view: ViewModelInstance;
|
|
5
5
|
saveDashboardChanges: () => void;
|
|
6
|
+
fullScreenPanelID: string;
|
|
7
|
+
setFullScreenPanelID: (v: string) => void;
|
|
6
8
|
}
|
|
7
9
|
export declare const MainDashboardView: import("react").FunctionComponent<IMainDashboardView>;
|
|
8
10
|
export {};
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { ViewModelInstance } from '..';
|
|
3
3
|
interface IReadOnlyDashboardView {
|
|
4
4
|
view: ViewModelInstance;
|
|
5
|
+
fullScreenPanelID: string;
|
|
6
|
+
setFullScreenPanelID: (v: string) => void;
|
|
5
7
|
}
|
|
6
8
|
export declare const ReadOnlyDashboardView: import("react").FunctionComponent<IReadOnlyDashboardView>;
|
|
7
9
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devtable/dashboard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"chroma-js": "^2.4.2",
|
|
92
92
|
"d3-array": "3.2.0",
|
|
93
93
|
"d3-regression": "1.2.8",
|
|
94
|
+
"dayjs": "1.11.6",
|
|
94
95
|
"echarts": "^5.3.2",
|
|
95
96
|
"echarts-for-react": "^3.0.2",
|
|
96
97
|
"echarts-gl": "^2.0.9",
|