@devtable/dashboard 13.0.0 → 13.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/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +318 -0
- package/dist/components/panel/settings/common/data-field-selector.d.ts +1 -0
- package/dist/components/panel/settings/common/panel-query-selector.d.ts +14 -0
- package/dist/components/plugins/plugin-context.d.ts +340 -2
- package/dist/components/plugins/viz-components/table/migrators/index.d.ts +6 -0
- package/dist/components/plugins/viz-components/table/type.d.ts +1 -1
- package/dist/contexts/panel-context.d.ts +664 -8
- package/dist/dashboard-editor/dashboard-editor.d.ts +2 -2
- package/dist/dashboard-editor/model/panels/panel.d.ts +170 -1
- package/dist/dashboard.es.js +10148 -10096
- package/dist/dashboard.umd.js +68 -68
- package/dist/i18n/en.d.ts +2 -0
- package/dist/i18n/i18n.d.ts +1 -1
- package/dist/i18n/i18next-context.d.ts +5 -0
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/zh.d.ts +2 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +159 -0
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/i18n/en.d.ts
CHANGED
|
@@ -354,6 +354,7 @@ export declare const en: {
|
|
|
354
354
|
change_view: string;
|
|
355
355
|
change_view_title: string;
|
|
356
356
|
choose_queries: string;
|
|
357
|
+
need_to_choose_queries: string;
|
|
357
358
|
};
|
|
358
359
|
style: {
|
|
359
360
|
label: string;
|
|
@@ -487,6 +488,7 @@ export declare const en: {
|
|
|
487
488
|
label: string;
|
|
488
489
|
preview_data: string;
|
|
489
490
|
empty_data: string;
|
|
491
|
+
requires_data: string;
|
|
490
492
|
};
|
|
491
493
|
data_source: {
|
|
492
494
|
label: string;
|
package/dist/i18n/i18n.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const i18n: import("i18next").i18n;
|
|
2
2
|
export default i18n;
|
package/dist/i18n/index.d.ts
CHANGED
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -354,6 +354,7 @@ export declare const zh: {
|
|
|
354
354
|
change_view: string;
|
|
355
355
|
change_view_title: string;
|
|
356
356
|
choose_queries: string;
|
|
357
|
+
need_to_choose_queries: string;
|
|
357
358
|
};
|
|
358
359
|
style: {
|
|
359
360
|
label: string;
|
|
@@ -487,6 +488,7 @@ export declare const zh: {
|
|
|
487
488
|
label: string;
|
|
488
489
|
preview_data: string;
|
|
489
490
|
empty_data: string;
|
|
491
|
+
requires_data: string;
|
|
490
492
|
};
|
|
491
493
|
data_source: {
|
|
492
494
|
label: string;
|
|
@@ -1878,6 +1878,165 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1878
1878
|
} & {
|
|
1879
1879
|
afterCreate(): void;
|
|
1880
1880
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
1881
|
+
readonly firstQuery: ({
|
|
1882
|
+
id: string;
|
|
1883
|
+
name: string;
|
|
1884
|
+
type: import('../../../../../model/meta-model').DataSourceType;
|
|
1885
|
+
key: string;
|
|
1886
|
+
sql: string;
|
|
1887
|
+
pre_process: string;
|
|
1888
|
+
post_process: string;
|
|
1889
|
+
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]>>;
|
|
1890
|
+
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]>>;
|
|
1891
|
+
dep_query_ids: 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]>>;
|
|
1892
|
+
state: string;
|
|
1893
|
+
data: (string[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>) | (number[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>);
|
|
1894
|
+
error: any;
|
|
1895
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1896
|
+
readonly valid: boolean;
|
|
1897
|
+
readonly json: {
|
|
1898
|
+
id: string;
|
|
1899
|
+
key: string;
|
|
1900
|
+
sql: string;
|
|
1901
|
+
name: string;
|
|
1902
|
+
type: import('../../../../../model/meta-model').DataSourceType;
|
|
1903
|
+
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]>>;
|
|
1904
|
+
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]>>;
|
|
1905
|
+
pre_process: string;
|
|
1906
|
+
post_process: string;
|
|
1907
|
+
dep_query_ids: 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]>>;
|
|
1908
|
+
};
|
|
1909
|
+
} & {
|
|
1910
|
+
setName(name: string): void;
|
|
1911
|
+
setKey(key: string): void;
|
|
1912
|
+
setType(type: import('../../../../../model/meta-model').DataSourceType): void;
|
|
1913
|
+
setSQL(sql: string): void;
|
|
1914
|
+
setRunBy(v: string[]): void;
|
|
1915
|
+
setReactTo(v: string[]): void;
|
|
1916
|
+
setPreProcess(v: string): void;
|
|
1917
|
+
setPostProcess(v: string): void;
|
|
1918
|
+
setDependantQueryIDs(v: string[]): void;
|
|
1919
|
+
} & {
|
|
1920
|
+
readonly rootModel: any;
|
|
1921
|
+
readonly contentModel: any;
|
|
1922
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
1923
|
+
readonly unmetRunByConditions: string[];
|
|
1924
|
+
} & {
|
|
1925
|
+
readonly payload: any;
|
|
1926
|
+
readonly formattedSQL: any;
|
|
1927
|
+
readonly httpConfigString: string;
|
|
1928
|
+
readonly typedAsSQL: boolean;
|
|
1929
|
+
readonly typedAsHTTP: boolean;
|
|
1930
|
+
readonly isTransform: boolean;
|
|
1931
|
+
readonly reQueryKey: string;
|
|
1932
|
+
readonly runByConditionsMet: boolean;
|
|
1933
|
+
readonly conditionNames: {
|
|
1934
|
+
context: string[];
|
|
1935
|
+
filters: string[];
|
|
1936
|
+
};
|
|
1937
|
+
readonly queries: any;
|
|
1938
|
+
readonly inUse: any;
|
|
1939
|
+
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
1940
|
+
} & {
|
|
1941
|
+
readonly datasource: any;
|
|
1942
|
+
readonly additionalQueryInfo: import("../../../../..").TAdditionalQueryInfo;
|
|
1943
|
+
readonly depQueryModels: any;
|
|
1944
|
+
readonly depQueryModelStates: any;
|
|
1945
|
+
readonly depQueryModelStatesString: any;
|
|
1946
|
+
} & {
|
|
1947
|
+
readonly stateMessage: string;
|
|
1948
|
+
} & {
|
|
1949
|
+
controller: AbortController;
|
|
1950
|
+
} & {
|
|
1951
|
+
runSQL: () => Promise<void>;
|
|
1952
|
+
runHTTP: () => Promise<void>;
|
|
1953
|
+
runTransformation(): void;
|
|
1954
|
+
} & {
|
|
1955
|
+
fetchData: (force: boolean) => void | Promise<void>;
|
|
1956
|
+
beforeDestroy(): void;
|
|
1957
|
+
} & {
|
|
1958
|
+
afterCreate(): void;
|
|
1959
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1960
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1961
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
1962
|
+
type: import("mobx-state-tree").ISimpleType<import('../../../../../model/meta-model').DataSourceType>;
|
|
1963
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
1964
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
1965
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1966
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1967
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1968
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1969
|
+
dep_query_ids: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1970
|
+
} & {
|
|
1971
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1972
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
1973
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
1974
|
+
}, {
|
|
1975
|
+
readonly valid: boolean;
|
|
1976
|
+
readonly json: {
|
|
1977
|
+
id: string;
|
|
1978
|
+
key: string;
|
|
1979
|
+
sql: string;
|
|
1980
|
+
name: string;
|
|
1981
|
+
type: import('../../../../../model/meta-model').DataSourceType;
|
|
1982
|
+
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]>>;
|
|
1983
|
+
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]>>;
|
|
1984
|
+
pre_process: string;
|
|
1985
|
+
post_process: string;
|
|
1986
|
+
dep_query_ids: 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]>>;
|
|
1987
|
+
};
|
|
1988
|
+
} & {
|
|
1989
|
+
setName(name: string): void;
|
|
1990
|
+
setKey(key: string): void;
|
|
1991
|
+
setType(type: import('../../../../../model/meta-model').DataSourceType): void;
|
|
1992
|
+
setSQL(sql: string): void;
|
|
1993
|
+
setRunBy(v: string[]): void;
|
|
1994
|
+
setReactTo(v: string[]): void;
|
|
1995
|
+
setPreProcess(v: string): void;
|
|
1996
|
+
setPostProcess(v: string): void;
|
|
1997
|
+
setDependantQueryIDs(v: string[]): void;
|
|
1998
|
+
} & {
|
|
1999
|
+
readonly rootModel: any;
|
|
2000
|
+
readonly contentModel: any;
|
|
2001
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2002
|
+
readonly unmetRunByConditions: string[];
|
|
2003
|
+
} & {
|
|
2004
|
+
readonly payload: any;
|
|
2005
|
+
readonly formattedSQL: any;
|
|
2006
|
+
readonly httpConfigString: string;
|
|
2007
|
+
readonly typedAsSQL: boolean;
|
|
2008
|
+
readonly typedAsHTTP: boolean;
|
|
2009
|
+
readonly isTransform: boolean;
|
|
2010
|
+
readonly reQueryKey: string;
|
|
2011
|
+
readonly runByConditionsMet: boolean;
|
|
2012
|
+
readonly conditionNames: {
|
|
2013
|
+
context: string[];
|
|
2014
|
+
filters: string[];
|
|
2015
|
+
};
|
|
2016
|
+
readonly queries: any;
|
|
2017
|
+
readonly inUse: any;
|
|
2018
|
+
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
2019
|
+
} & {
|
|
2020
|
+
readonly datasource: any;
|
|
2021
|
+
readonly additionalQueryInfo: import("../../../../..").TAdditionalQueryInfo;
|
|
2022
|
+
readonly depQueryModels: any;
|
|
2023
|
+
readonly depQueryModelStates: any;
|
|
2024
|
+
readonly depQueryModelStatesString: any;
|
|
2025
|
+
} & {
|
|
2026
|
+
readonly stateMessage: string;
|
|
2027
|
+
} & {
|
|
2028
|
+
controller: AbortController;
|
|
2029
|
+
} & {
|
|
2030
|
+
runSQL: () => Promise<void>;
|
|
2031
|
+
runHTTP: () => Promise<void>;
|
|
2032
|
+
runTransformation(): void;
|
|
2033
|
+
} & {
|
|
2034
|
+
fetchData: (force: boolean) => void | Promise<void>;
|
|
2035
|
+
beforeDestroy(): void;
|
|
2036
|
+
} & {
|
|
2037
|
+
afterCreate(): void;
|
|
2038
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null;
|
|
2039
|
+
readonly firstQueryData: (string[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>) | (number[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>);
|
|
1881
2040
|
queryByID(queryID: string): ({
|
|
1882
2041
|
id: string;
|
|
1883
2042
|
name: string;
|