@devtable/dashboard 9.9.0 → 9.11.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/api-caller/index.d.ts +4 -12
- package/dist/dashboard.es.js +2913 -2876
- package/dist/dashboard.umd.js +58 -58
- package/dist/filter/error-message-or-not-found.d.ts +6 -0
- package/dist/filter/filter-multi-select/render/widget.d.ts +2 -1
- package/dist/filter/filter-tree-select/render/widget.d.ts +2 -1
- package/dist/main/use-panel-full-screen.d.ts +20 -0
- package/dist/model/filters/filter/tree-select.d.ts +3 -0
- package/dist/model/panels/index.d.ts +70 -0
- package/dist/model/panels/panel.d.ts +10 -0
- package/dist/model/queries/index.d.ts +16 -0
- package/dist/model/queries/mute-query.d.ts +4 -0
- package/dist/model/queries/query.d.ts +5 -0
- package/dist/plugins/plugin-context.d.ts +20 -0
- package/dist/plugins/viz-components/cartesian/option/y-axis.d.ts +2 -2
- package/dist/plugins/viz-components/funnel/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/funnel/option/series.d.ts +1 -1
- package/dist/plugins/viz-components/heatmap/option/y-axis.d.ts +1 -1
- package/dist/plugins/viz-components/horizontal-bar-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/horizontal-bar-chart/option/x-axis.d.ts +1 -1
- package/dist/plugins/viz-components/pareto-chart/option/index.d.ts +2 -2
- package/dist/plugins/viz-components/pareto-chart/option/y-axes.d.ts +2 -2
- package/dist/plugins/viz-components/scatter-chart/option/y-axis.d.ts +2 -2
- package/dist/plugins/viz-components/sunburst/option/levels.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ interface IProps extends DefaultProps<StylesNames, MultiSelectWidgetStylesParams
|
|
|
15
15
|
onChange: (v: string[]) => void;
|
|
16
16
|
options: TSelectOption[];
|
|
17
17
|
disabled: boolean;
|
|
18
|
+
errorMessage?: string;
|
|
18
19
|
}
|
|
19
|
-
export declare const MultiSelectWidget: ({ disabled, classNames, styles, unstyled, radius, style, label, value, onChange, options, }: IProps) => JSX.Element;
|
|
20
|
+
export declare const MultiSelectWidget: ({ disabled, classNames, styles, unstyled, radius, style, label, value, onChange, options, errorMessage, }: IProps) => JSX.Element;
|
|
20
21
|
export {};
|
|
@@ -10,6 +10,7 @@ interface IFilterTreeSelectWidget extends DefaultProps<MyComponentStylesNames, T
|
|
|
10
10
|
onChange: (v: string[]) => void;
|
|
11
11
|
treeData: $TSFixMe;
|
|
12
12
|
disabled: boolean;
|
|
13
|
+
errorMessage?: string;
|
|
13
14
|
}
|
|
14
|
-
export declare const FilterTreeSelectWidget: ({ disabled, classNames, styles, unstyled, radius, style, label, value, onChange, treeData, }: IFilterTreeSelectWidget) => JSX.Element;
|
|
15
|
+
export declare const FilterTreeSelectWidget: ({ disabled, classNames, styles, unstyled, radius, style, label, value, onChange, treeData, errorMessage, }: IFilterTreeSelectWidget) => JSX.Element;
|
|
15
16
|
export {};
|
|
@@ -584,6 +584,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
584
584
|
pre_process: string;
|
|
585
585
|
post_process: string;
|
|
586
586
|
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
587
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
587
588
|
state: "error" | "loading" | "idle";
|
|
588
589
|
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
589
590
|
error: any;
|
|
@@ -596,6 +597,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
596
597
|
name: string;
|
|
597
598
|
type: import("../model/queries/types").DataSourceType;
|
|
598
599
|
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
600
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
599
601
|
pre_process: string;
|
|
600
602
|
post_process: string;
|
|
601
603
|
};
|
|
@@ -606,6 +608,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
606
608
|
}[];
|
|
607
609
|
readonly unmetRunByConditions: string[];
|
|
608
610
|
} & {
|
|
611
|
+
readonly reQueryKey: string;
|
|
609
612
|
readonly runByConditionsMet: boolean;
|
|
610
613
|
readonly conditionNames: {
|
|
611
614
|
context: string[];
|
|
@@ -617,6 +620,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
617
620
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
618
621
|
setSQL(sql: string): void;
|
|
619
622
|
setRunBy(v: string[]): void;
|
|
623
|
+
setReactTo(v: string[]): void;
|
|
620
624
|
setPreProcess(v: string): void;
|
|
621
625
|
setPostProcess(v: string): void;
|
|
622
626
|
} & {
|
|
@@ -624,6 +628,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
624
628
|
readonly typedAsSQL: boolean;
|
|
625
629
|
readonly typedAsHTTP: boolean;
|
|
626
630
|
readonly datasource: any;
|
|
631
|
+
readonly httpConfigString: string;
|
|
627
632
|
} & {
|
|
628
633
|
readonly stateMessage: string;
|
|
629
634
|
} & {
|
|
@@ -645,6 +650,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
645
650
|
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
646
651
|
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
647
652
|
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
653
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
648
654
|
} & {
|
|
649
655
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
650
656
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -658,6 +664,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
658
664
|
name: string;
|
|
659
665
|
type: import("../model/queries/types").DataSourceType;
|
|
660
666
|
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
667
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
661
668
|
pre_process: string;
|
|
662
669
|
post_process: string;
|
|
663
670
|
};
|
|
@@ -668,6 +675,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
668
675
|
}[];
|
|
669
676
|
readonly unmetRunByConditions: string[];
|
|
670
677
|
} & {
|
|
678
|
+
readonly reQueryKey: string;
|
|
671
679
|
readonly runByConditionsMet: boolean;
|
|
672
680
|
readonly conditionNames: {
|
|
673
681
|
context: string[];
|
|
@@ -679,6 +687,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
679
687
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
680
688
|
setSQL(sql: string): void;
|
|
681
689
|
setRunBy(v: string[]): void;
|
|
690
|
+
setReactTo(v: string[]): void;
|
|
682
691
|
setPreProcess(v: string): void;
|
|
683
692
|
setPostProcess(v: string): void;
|
|
684
693
|
} & {
|
|
@@ -686,6 +695,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
686
695
|
readonly typedAsSQL: boolean;
|
|
687
696
|
readonly typedAsHTTP: boolean;
|
|
688
697
|
readonly datasource: any;
|
|
698
|
+
readonly httpConfigString: string;
|
|
689
699
|
} & {
|
|
690
700
|
readonly stateMessage: string;
|
|
691
701
|
} & {
|
|
@@ -1825,6 +1835,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1825
1835
|
pre_process: string;
|
|
1826
1836
|
post_process: string;
|
|
1827
1837
|
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1838
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1828
1839
|
state: "error" | "loading" | "idle";
|
|
1829
1840
|
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
1830
1841
|
error: any;
|
|
@@ -1837,6 +1848,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1837
1848
|
name: string;
|
|
1838
1849
|
type: import("../model/queries/types").DataSourceType;
|
|
1839
1850
|
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1851
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1840
1852
|
pre_process: string;
|
|
1841
1853
|
post_process: string;
|
|
1842
1854
|
};
|
|
@@ -1847,6 +1859,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1847
1859
|
}[];
|
|
1848
1860
|
readonly unmetRunByConditions: string[];
|
|
1849
1861
|
} & {
|
|
1862
|
+
readonly reQueryKey: string;
|
|
1850
1863
|
readonly runByConditionsMet: boolean;
|
|
1851
1864
|
readonly conditionNames: {
|
|
1852
1865
|
context: string[];
|
|
@@ -1858,6 +1871,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1858
1871
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1859
1872
|
setSQL(sql: string): void;
|
|
1860
1873
|
setRunBy(v: string[]): void;
|
|
1874
|
+
setReactTo(v: string[]): void;
|
|
1861
1875
|
setPreProcess(v: string): void;
|
|
1862
1876
|
setPostProcess(v: string): void;
|
|
1863
1877
|
} & {
|
|
@@ -1865,6 +1879,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1865
1879
|
readonly typedAsSQL: boolean;
|
|
1866
1880
|
readonly typedAsHTTP: boolean;
|
|
1867
1881
|
readonly datasource: any;
|
|
1882
|
+
readonly httpConfigString: string;
|
|
1868
1883
|
} & {
|
|
1869
1884
|
readonly stateMessage: string;
|
|
1870
1885
|
} & {
|
|
@@ -1886,6 +1901,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1886
1901
|
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1887
1902
|
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1888
1903
|
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1904
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1889
1905
|
} & {
|
|
1890
1906
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
1891
1907
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -1899,6 +1915,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1899
1915
|
name: string;
|
|
1900
1916
|
type: import("../model/queries/types").DataSourceType;
|
|
1901
1917
|
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1918
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1902
1919
|
pre_process: string;
|
|
1903
1920
|
post_process: string;
|
|
1904
1921
|
};
|
|
@@ -1909,6 +1926,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1909
1926
|
}[];
|
|
1910
1927
|
readonly unmetRunByConditions: string[];
|
|
1911
1928
|
} & {
|
|
1929
|
+
readonly reQueryKey: string;
|
|
1912
1930
|
readonly runByConditionsMet: boolean;
|
|
1913
1931
|
readonly conditionNames: {
|
|
1914
1932
|
context: string[];
|
|
@@ -1920,6 +1938,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1920
1938
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1921
1939
|
setSQL(sql: string): void;
|
|
1922
1940
|
setRunBy(v: string[]): void;
|
|
1941
|
+
setReactTo(v: string[]): void;
|
|
1923
1942
|
setPreProcess(v: string): void;
|
|
1924
1943
|
setPostProcess(v: string): void;
|
|
1925
1944
|
} & {
|
|
@@ -1927,6 +1946,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1927
1946
|
readonly typedAsSQL: boolean;
|
|
1928
1947
|
readonly typedAsHTTP: boolean;
|
|
1929
1948
|
readonly datasource: any;
|
|
1949
|
+
readonly httpConfigString: string;
|
|
1930
1950
|
} & {
|
|
1931
1951
|
readonly stateMessage: string;
|
|
1932
1952
|
} & {
|
|
@@ -47,6 +47,7 @@ export declare const FilterConfigModel_TreeSelect: import("mobx-state-tree").IMo
|
|
|
47
47
|
default_selection_count: number;
|
|
48
48
|
};
|
|
49
49
|
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
50
|
+
readonly errorMessage: any;
|
|
50
51
|
readonly treeDataLoading: boolean;
|
|
51
52
|
readonly defaultSelection: any[];
|
|
52
53
|
} & {
|
|
@@ -107,6 +108,7 @@ export declare const createFilterConfig_TreeSelect: () => {
|
|
|
107
108
|
default_selection_count: number;
|
|
108
109
|
};
|
|
109
110
|
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
111
|
+
readonly errorMessage: any;
|
|
110
112
|
readonly treeDataLoading: boolean;
|
|
111
113
|
readonly defaultSelection: any[];
|
|
112
114
|
} & {
|
|
@@ -160,6 +162,7 @@ export declare const createFilterConfig_TreeSelect: () => {
|
|
|
160
162
|
default_selection_count: number;
|
|
161
163
|
};
|
|
162
164
|
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
165
|
+
readonly errorMessage: any;
|
|
163
166
|
readonly treeDataLoading: boolean;
|
|
164
167
|
readonly defaultSelection: any[];
|
|
165
168
|
} & {
|