@devtable/dashboard 14.33.0 → 14.34.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/filter/filter-settings/filter-setting.d.ts +7 -6
- package/dist/components/filter/filter-settings/filter-usage-table.d.ts +8 -0
- package/dist/components/filter/filter-settings/preview-filter.d.ts +7 -6
- package/dist/components/plugins/plugin-context.d.ts +12 -0
- package/dist/contexts/panel-context.d.ts +24 -0
- package/dist/dashboard-editor/model/filters/filter-model.d.ts +157 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +263 -0
- package/dist/dashboard-editor/model/panels/panel.d.ts +6 -0
- package/dist/dashboard-editor/model/queries/queries.d.ts +13 -0
- package/dist/dashboard-editor/model/queries/query.d.ts +1 -0
- package/dist/dashboard-editor/model/sql-snippets/index.d.ts +1 -0
- package/dist/dashboard.es.js +2046 -1933
- package/dist/dashboard.umd.js +65 -65
- package/dist/i18n/en.d.ts +4 -0
- package/dist/i18n/zh.d.ts +4 -0
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +4 -2
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +4 -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 +9 -0
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +1 -0
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/i18n/en.d.ts
CHANGED
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
2
|
import { type IObservableArray } from 'mobx';
|
|
3
|
-
import { ContextRecordType,
|
|
3
|
+
import { ContextRecordType, FilterValuesType, type DashboardFilterType, type IFilterMeta } from '../../../../../model';
|
|
4
4
|
import type { TSelectOption } from '../../../../../model/meta-model/dashboard/content/filter/widgets/select-base';
|
|
5
5
|
import { IContentRenderModel } from '../../../../../dashboard-render';
|
|
6
|
+
import { FilterModelSnapshotOut } from '../../../../../dashboard-editor';
|
|
6
7
|
export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
7
8
|
current: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
8
9
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -1013,6 +1014,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1013
1014
|
readonly firstFilterValueKey: string;
|
|
1014
1015
|
readonly keySet: Set<string>;
|
|
1015
1016
|
readonly keyLabelMap: Record<string, string>;
|
|
1017
|
+
readonly keyIDMap: Record<string, string>;
|
|
1016
1018
|
getSelectOption(id: string): TSelectOption | null | undefined;
|
|
1017
1019
|
} & {
|
|
1018
1020
|
setValues(values: Record<string, $TSFixMe>): void;
|
|
@@ -1027,7 +1029,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1027
1029
|
downloadSchema(ids: string[]): void;
|
|
1028
1030
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
1029
1031
|
export type FiltersRenderModelInstance = Instance<typeof FiltersRenderModel>;
|
|
1030
|
-
export declare function getInitialFiltersConfig(filters:
|
|
1032
|
+
export declare function getInitialFiltersConfig(filters: FilterModelSnapshotOut[], context: ContextRecordType, mock_context: ContextRecordType, filterValues: Record<string, any>): {
|
|
1031
1033
|
current: import("mobx-state-tree").ModelSnapshotType<{
|
|
1032
1034
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1033
1035
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -3472,6 +3472,7 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
3472
3472
|
readonly queries: any;
|
|
3473
3473
|
readonly inUse: any;
|
|
3474
3474
|
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
3475
|
+
readonly usedFilterKeySet: Set<string>;
|
|
3475
3476
|
readonly metricQueryPayload: {
|
|
3476
3477
|
id: string;
|
|
3477
3478
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -3817,6 +3818,7 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
3817
3818
|
readonly queries: any;
|
|
3818
3819
|
readonly inUse: any;
|
|
3819
3820
|
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
3821
|
+
readonly usedFilterKeySet: Set<string>;
|
|
3820
3822
|
readonly metricQueryPayload: {
|
|
3821
3823
|
id: string;
|
|
3822
3824
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -4913,6 +4915,7 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
4913
4915
|
readonly queries: any;
|
|
4914
4916
|
readonly inUse: any;
|
|
4915
4917
|
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
4918
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4916
4919
|
readonly metricQueryPayload: {
|
|
4917
4920
|
id: string;
|
|
4918
4921
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -5258,6 +5261,7 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
5258
5261
|
readonly queries: any;
|
|
5259
5262
|
readonly inUse: any;
|
|
5260
5263
|
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
5264
|
+
readonly usedFilterKeySet: Set<string>;
|
|
5261
5265
|
readonly metricQueryPayload: {
|
|
5262
5266
|
id: string;
|
|
5263
5267
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -317,6 +317,7 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
|
317
317
|
readonly queries: any;
|
|
318
318
|
readonly inUse: any;
|
|
319
319
|
readonly dependencies: DependencyInfo[];
|
|
320
|
+
readonly usedFilterKeySet: Set<string>;
|
|
320
321
|
readonly metricQueryPayload: MetricQueryPayload | null;
|
|
321
322
|
readonly metricQueryPayloadString: string;
|
|
322
323
|
readonly metricQueryPayloadError: string[];
|
|
@@ -347,6 +348,7 @@ export interface IMuteQueryModel extends IQueryMeta {
|
|
|
347
348
|
readonly queries: string[];
|
|
348
349
|
readonly inUse: boolean;
|
|
349
350
|
readonly dependencies: DependencyInfo[];
|
|
351
|
+
readonly usedFilterKeySet: Set<string>;
|
|
350
352
|
readonly metricQueryPayload: MetricQueryPayload | null;
|
|
351
353
|
readonly metricQueryPayloadString: string;
|
|
352
354
|
readonly metricQueryPayloadError: string[];
|
|
@@ -302,6 +302,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
302
302
|
readonly queries: any;
|
|
303
303
|
readonly inUse: any;
|
|
304
304
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
305
|
+
readonly usedFilterKeySet: Set<string>;
|
|
305
306
|
readonly metricQueryPayload: {
|
|
306
307
|
id: string;
|
|
307
308
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -1401,6 +1402,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1401
1402
|
readonly queries: any;
|
|
1402
1403
|
readonly inUse: any;
|
|
1403
1404
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
1405
|
+
readonly usedFilterKeySet: Set<string>;
|
|
1404
1406
|
readonly metricQueryPayload: {
|
|
1405
1407
|
id: string;
|
|
1406
1408
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -1746,6 +1748,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1746
1748
|
readonly queries: any;
|
|
1747
1749
|
readonly inUse: any;
|
|
1748
1750
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
1751
|
+
readonly usedFilterKeySet: Set<string>;
|
|
1749
1752
|
readonly metricQueryPayload: {
|
|
1750
1753
|
id: string;
|
|
1751
1754
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -2842,6 +2845,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
2842
2845
|
readonly queries: any;
|
|
2843
2846
|
readonly inUse: any;
|
|
2844
2847
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
2848
|
+
readonly usedFilterKeySet: Set<string>;
|
|
2845
2849
|
readonly metricQueryPayload: {
|
|
2846
2850
|
id: string;
|
|
2847
2851
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -3187,6 +3191,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
3187
3191
|
readonly queries: any;
|
|
3188
3192
|
readonly inUse: any;
|
|
3189
3193
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
3194
|
+
readonly usedFilterKeySet: Set<string>;
|
|
3190
3195
|
readonly metricQueryPayload: {
|
|
3191
3196
|
id: string;
|
|
3192
3197
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -4332,6 +4337,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
4332
4337
|
readonly queries: any;
|
|
4333
4338
|
readonly inUse: any;
|
|
4334
4339
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
4340
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4335
4341
|
readonly metricQueryPayload: {
|
|
4336
4342
|
id: string;
|
|
4337
4343
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -4677,6 +4683,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
4677
4683
|
readonly queries: any;
|
|
4678
4684
|
readonly inUse: any;
|
|
4679
4685
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
4686
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4680
4687
|
readonly metricQueryPayload: {
|
|
4681
4688
|
id: string;
|
|
4682
4689
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -5773,6 +5780,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
5773
5780
|
readonly queries: any;
|
|
5774
5781
|
readonly inUse: any;
|
|
5775
5782
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
5783
|
+
readonly usedFilterKeySet: Set<string>;
|
|
5776
5784
|
readonly metricQueryPayload: {
|
|
5777
5785
|
id: string;
|
|
5778
5786
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -6118,6 +6126,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
6118
6126
|
readonly queries: any;
|
|
6119
6127
|
readonly inUse: any;
|
|
6120
6128
|
readonly dependencies: import("../../../../../utils").DependencyInfo[];
|
|
6129
|
+
readonly usedFilterKeySet: Set<string>;
|
|
6121
6130
|
readonly metricQueryPayload: {
|
|
6122
6131
|
id: string;
|
|
6123
6132
|
type: import('../../../../../model/meta-model').MericoMetricType;
|
|
@@ -303,6 +303,7 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
303
303
|
readonly queries: any;
|
|
304
304
|
readonly inUse: any;
|
|
305
305
|
readonly dependencies: import('../../../../../utils').DependencyInfo[];
|
|
306
|
+
readonly usedFilterKeySet: Set<string>;
|
|
306
307
|
readonly metricQueryPayload: {
|
|
307
308
|
id: string;
|
|
308
309
|
type: import('../../../../../model/meta-model').MericoMetricType;
|