@devtable/dashboard 10.26.0 → 10.27.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 +8 -0
- package/dist/components/plugins/plugin-context.d.ts +8 -0
- package/dist/components/view/view-component/preview/index.d.ts +2 -2
- package/dist/components/view/view-component/preview/tabs.d.ts +2 -2
- package/dist/components/view/view-component/render/index.d.ts +2 -2
- package/dist/components/view/view-component/render/tabs.d.ts +2 -2
- package/dist/components/view/view-editor.d.ts +2 -2
- package/dist/components/view/view-render.d.ts +2 -2
- package/dist/contexts/panel-context.d.ts +16 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +7 -0
- package/dist/dashboard-editor/model/panels/panel.d.ts +4 -0
- package/dist/dashboard-editor/model/panels/panels.d.ts +32 -0
- package/dist/dashboard-editor/model/queries/index.d.ts +13 -0
- package/dist/dashboard-editor/model/views/index.d.ts +100 -5
- package/dist/dashboard.es.js +3036 -2961
- package/dist/dashboard.umd.js +62 -62
- package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +1 -0
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +7 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +4 -0
- package/dist/model/render-model/dashboard/content/panels/panels.d.ts +28 -0
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +2 -0
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +13 -0
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +2 -0
- package/dist/model/render-model/dashboard/content/views/index.d.ts +1 -0
- package/dist/model/render-model/dashboard/content/views/view.d.ts +232 -0
- package/dist/model/render-model/dashboard/content/views/views.d.ts +74 -0
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
2
|
-
import { EViewComponentType } from '~/model';
|
|
2
|
+
import { EViewComponentType, ViewRenderModelInstance } from '~/model';
|
|
3
3
|
import { IDashboardView } from '~/types';
|
|
4
|
-
import { ViewDivisionConfigSnapshotIn,
|
|
4
|
+
import { ViewDivisionConfigSnapshotIn, ViewModalConfigSnapshotIn } from '~/model';
|
|
5
5
|
export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
6
6
|
current: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
7
7
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -186,6 +186,8 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
186
186
|
removeTab(index: number): void;
|
|
187
187
|
}>>;
|
|
188
188
|
panelIDs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
189
|
+
} & {
|
|
190
|
+
tab: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
189
191
|
}, {
|
|
190
192
|
readonly json: {
|
|
191
193
|
id: string;
|
|
@@ -220,6 +222,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
220
222
|
setType(type: EViewComponentType): void;
|
|
221
223
|
appendPanelID(id: string): void;
|
|
222
224
|
removePanelID(id: string): void;
|
|
225
|
+
} & {
|
|
226
|
+
readonly defaultTab: string;
|
|
227
|
+
readonly tabViewID: string;
|
|
228
|
+
readonly contentModel: any;
|
|
229
|
+
readonly panels: any;
|
|
230
|
+
readonly renderViewIDs: string[];
|
|
231
|
+
} & {
|
|
232
|
+
setTab(tab: string | null): void;
|
|
233
|
+
afterCreate(): void;
|
|
223
234
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
224
235
|
visibleViewIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
225
236
|
} & {
|
|
@@ -1817,6 +1828,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
1817
1828
|
removeTab(index: number): void;
|
|
1818
1829
|
}>>>);
|
|
1819
1830
|
panelIDs: 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]>>;
|
|
1831
|
+
tab: string;
|
|
1820
1832
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1821
1833
|
readonly json: {
|
|
1822
1834
|
id: string;
|
|
@@ -1851,6 +1863,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
1851
1863
|
setType(type: EViewComponentType): void;
|
|
1852
1864
|
appendPanelID(id: string): void;
|
|
1853
1865
|
removePanelID(id: string): void;
|
|
1866
|
+
} & {
|
|
1867
|
+
readonly defaultTab: string;
|
|
1868
|
+
readonly tabViewID: string;
|
|
1869
|
+
readonly contentModel: any;
|
|
1870
|
+
readonly panels: any;
|
|
1871
|
+
readonly renderViewIDs: string[];
|
|
1872
|
+
} & {
|
|
1873
|
+
setTab(tab: string | null): void;
|
|
1874
|
+
afterCreate(): void;
|
|
1854
1875
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1855
1876
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1856
1877
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -2034,6 +2055,8 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2034
2055
|
removeTab(index: number): void;
|
|
2035
2056
|
}>>;
|
|
2036
2057
|
panelIDs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2058
|
+
} & {
|
|
2059
|
+
tab: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2037
2060
|
}, {
|
|
2038
2061
|
readonly json: {
|
|
2039
2062
|
id: string;
|
|
@@ -2068,6 +2091,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2068
2091
|
setType(type: EViewComponentType): void;
|
|
2069
2092
|
appendPanelID(id: string): void;
|
|
2070
2093
|
removePanelID(id: string): void;
|
|
2094
|
+
} & {
|
|
2095
|
+
readonly defaultTab: string;
|
|
2096
|
+
readonly tabViewID: string;
|
|
2097
|
+
readonly contentModel: any;
|
|
2098
|
+
readonly panels: any;
|
|
2099
|
+
readonly renderViewIDs: string[];
|
|
2100
|
+
} & {
|
|
2101
|
+
setTab(tab: string | null): void;
|
|
2102
|
+
afterCreate(): void;
|
|
2071
2103
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2072
2104
|
readonly firstVisibleView: ({
|
|
2073
2105
|
id: string;
|
|
@@ -2725,6 +2757,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2725
2757
|
removeTab(index: number): void;
|
|
2726
2758
|
}>>>);
|
|
2727
2759
|
panelIDs: 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]>>;
|
|
2760
|
+
tab: string;
|
|
2728
2761
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2729
2762
|
readonly json: {
|
|
2730
2763
|
id: string;
|
|
@@ -2759,6 +2792,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2759
2792
|
setType(type: EViewComponentType): void;
|
|
2760
2793
|
appendPanelID(id: string): void;
|
|
2761
2794
|
removePanelID(id: string): void;
|
|
2795
|
+
} & {
|
|
2796
|
+
readonly defaultTab: string;
|
|
2797
|
+
readonly tabViewID: string;
|
|
2798
|
+
readonly contentModel: any;
|
|
2799
|
+
readonly panels: any;
|
|
2800
|
+
readonly renderViewIDs: string[];
|
|
2801
|
+
} & {
|
|
2802
|
+
setTab(tab: string | null): void;
|
|
2803
|
+
afterCreate(): void;
|
|
2762
2804
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2763
2805
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2764
2806
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -2942,6 +2984,8 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2942
2984
|
removeTab(index: number): void;
|
|
2943
2985
|
}>>;
|
|
2944
2986
|
panelIDs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2987
|
+
} & {
|
|
2988
|
+
tab: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2945
2989
|
}, {
|
|
2946
2990
|
readonly json: {
|
|
2947
2991
|
id: string;
|
|
@@ -2976,6 +3020,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2976
3020
|
setType(type: EViewComponentType): void;
|
|
2977
3021
|
appendPanelID(id: string): void;
|
|
2978
3022
|
removePanelID(id: string): void;
|
|
3023
|
+
} & {
|
|
3024
|
+
readonly defaultTab: string;
|
|
3025
|
+
readonly tabViewID: string;
|
|
3026
|
+
readonly contentModel: any;
|
|
3027
|
+
readonly panels: any;
|
|
3028
|
+
readonly renderViewIDs: string[];
|
|
3029
|
+
} & {
|
|
3030
|
+
setTab(tab: string | null): void;
|
|
3031
|
+
afterCreate(): void;
|
|
2979
3032
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2980
3033
|
readonly visibleViews: ({
|
|
2981
3034
|
id: string;
|
|
@@ -3633,6 +3686,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3633
3686
|
removeTab(index: number): void;
|
|
3634
3687
|
}>>>);
|
|
3635
3688
|
panelIDs: 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]>>;
|
|
3689
|
+
tab: string;
|
|
3636
3690
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3637
3691
|
readonly json: {
|
|
3638
3692
|
id: string;
|
|
@@ -3667,6 +3721,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3667
3721
|
setType(type: EViewComponentType): void;
|
|
3668
3722
|
appendPanelID(id: string): void;
|
|
3669
3723
|
removePanelID(id: string): void;
|
|
3724
|
+
} & {
|
|
3725
|
+
readonly defaultTab: string;
|
|
3726
|
+
readonly tabViewID: string;
|
|
3727
|
+
readonly contentModel: any;
|
|
3728
|
+
readonly panels: any;
|
|
3729
|
+
readonly renderViewIDs: string[];
|
|
3730
|
+
} & {
|
|
3731
|
+
setTab(tab: string | null): void;
|
|
3732
|
+
afterCreate(): void;
|
|
3670
3733
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3671
3734
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
3672
3735
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -3850,6 +3913,8 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3850
3913
|
removeTab(index: number): void;
|
|
3851
3914
|
}>>;
|
|
3852
3915
|
panelIDs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
3916
|
+
} & {
|
|
3917
|
+
tab: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
3853
3918
|
}, {
|
|
3854
3919
|
readonly json: {
|
|
3855
3920
|
id: string;
|
|
@@ -3884,6 +3949,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3884
3949
|
setType(type: EViewComponentType): void;
|
|
3885
3950
|
appendPanelID(id: string): void;
|
|
3886
3951
|
removePanelID(id: string): void;
|
|
3952
|
+
} & {
|
|
3953
|
+
readonly defaultTab: string;
|
|
3954
|
+
readonly tabViewID: string;
|
|
3955
|
+
readonly contentModel: any;
|
|
3956
|
+
readonly panels: any;
|
|
3957
|
+
readonly renderViewIDs: string[];
|
|
3958
|
+
} & {
|
|
3959
|
+
setTab(tab: string | null): void;
|
|
3960
|
+
afterCreate(): void;
|
|
3887
3961
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
3888
3962
|
} & {
|
|
3889
3963
|
appendToVisibles(viewID: string): void;
|
|
@@ -4546,6 +4620,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4546
4620
|
removeTab(index: number): void;
|
|
4547
4621
|
}>>>);
|
|
4548
4622
|
panelIDs: 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]>>;
|
|
4623
|
+
tab: string;
|
|
4549
4624
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4550
4625
|
readonly json: {
|
|
4551
4626
|
id: string;
|
|
@@ -4580,6 +4655,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4580
4655
|
setType(type: EViewComponentType): void;
|
|
4581
4656
|
appendPanelID(id: string): void;
|
|
4582
4657
|
removePanelID(id: string): void;
|
|
4658
|
+
} & {
|
|
4659
|
+
readonly defaultTab: string;
|
|
4660
|
+
readonly tabViewID: string;
|
|
4661
|
+
readonly contentModel: any;
|
|
4662
|
+
readonly panels: any;
|
|
4663
|
+
readonly renderViewIDs: string[];
|
|
4664
|
+
} & {
|
|
4665
|
+
setTab(tab: string | null): void;
|
|
4666
|
+
afterCreate(): void;
|
|
4583
4667
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4584
4668
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
4585
4669
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -4763,6 +4847,8 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4763
4847
|
removeTab(index: number): void;
|
|
4764
4848
|
}>>;
|
|
4765
4849
|
panelIDs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4850
|
+
} & {
|
|
4851
|
+
tab: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4766
4852
|
}, {
|
|
4767
4853
|
readonly json: {
|
|
4768
4854
|
id: string;
|
|
@@ -4797,6 +4883,15 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4797
4883
|
setType(type: EViewComponentType): void;
|
|
4798
4884
|
appendPanelID(id: string): void;
|
|
4799
4885
|
removePanelID(id: string): void;
|
|
4886
|
+
} & {
|
|
4887
|
+
readonly defaultTab: string;
|
|
4888
|
+
readonly tabViewID: string;
|
|
4889
|
+
readonly contentModel: any;
|
|
4890
|
+
readonly panels: any;
|
|
4891
|
+
readonly renderViewIDs: string[];
|
|
4892
|
+
} & {
|
|
4893
|
+
setTab(tab: string | null): void;
|
|
4894
|
+
afterCreate(): void;
|
|
4800
4895
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4801
4896
|
readonly options: {
|
|
4802
4897
|
label: string;
|
|
@@ -4811,12 +4906,12 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4811
4906
|
}[];
|
|
4812
4907
|
} & {
|
|
4813
4908
|
setIDOfVIE(id: string): void;
|
|
4814
|
-
replace(current: Array<
|
|
4909
|
+
replace(current: Array<ViewRenderModelInstance>): void;
|
|
4815
4910
|
addANewView(id: string, name: string, type: EViewComponentType, config: ViewDivisionConfigSnapshotIn | ViewModalConfigSnapshotIn): void;
|
|
4816
|
-
append(item:
|
|
4911
|
+
append(item: ViewRenderModelInstance): void;
|
|
4817
4912
|
remove(index: number): void;
|
|
4818
4913
|
removeByID(id: string): void;
|
|
4819
|
-
replaceByIndex(index: number, replacement:
|
|
4914
|
+
replaceByIndex(index: number, replacement: ViewRenderModelInstance): void;
|
|
4820
4915
|
addARandomNewView(): void;
|
|
4821
4916
|
removeVIE(): void;
|
|
4822
4917
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|