@devtable/dashboard 14.41.0 → 14.42.1
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/request.d.ts +4 -4
- package/dist/components/plugins/plugin-context.d.ts +24 -96
- package/dist/components/plugins/viz-components/viz-dashboard-state/editor/dashboard-state-variable-selector.d.ts +9 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/editor/fields.d.ts +5 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/editor/viz-viz-dashboard-state-editor.d.ts +2 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/index.d.ts +2 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/checkbox-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/context-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/date-range-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/item-badge.d.ts +9 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/multi-select-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/selection-table.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/single-select-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/state-item.d.ts +6 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/text-input-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/tree-select-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/item/tree-single-select-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/state-items.d.ts +8 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/render/viz-viz-dashboard-state.d.ts +4 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/viz-dashboard-state/type.d.ts +5 -0
- package/dist/components/widgets/rich-text-editor/dynamic-color-mark/utils.d.ts +2 -2
- package/dist/components/widgets/rich-text-editor/readonly-rich-text-editor.d.ts +2 -2
- package/dist/contexts/panel-context.d.ts +48 -192
- package/dist/dashboard-editor/model/filters/index.d.ts +2 -1
- package/dist/dashboard-editor/model/panels/panel.d.ts +12 -48
- package/dist/dashboard-editor/model/queries/queries.d.ts +26 -104
- package/dist/dashboard-editor/model/queries/query.d.ts +2 -8
- package/dist/dashboard-render/model/types.d.ts +3 -3
- package/dist/dashboard.es.js +6477 -6116
- package/dist/dashboard.umd.js +67 -67
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +8 -4
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +8 -4
- package/dist/model/meta-model/dashboard/content/types.d.ts +25 -2
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +6 -4
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +8 -32
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +3 -9
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +18 -72
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +2 -8
- package/dist/stats.html +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/dashboard-state.d.ts +3 -3
- package/dist/utils/http-query.d.ts +2 -2
- package/dist/utils/sql.d.ts +2 -2
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -269,14 +269,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
269
269
|
} & {
|
|
270
270
|
readonly rootModel: any;
|
|
271
271
|
readonly contentModel: any;
|
|
272
|
-
readonly conditionOptions:
|
|
273
|
-
|
|
274
|
-
validValues: Set<string>;
|
|
275
|
-
};
|
|
276
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
277
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
278
|
-
validValues: Set<string>;
|
|
279
|
-
};
|
|
272
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
273
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
280
274
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
281
275
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
282
276
|
validValues: Set<string>;
|
|
@@ -617,14 +611,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
617
611
|
} & {
|
|
618
612
|
readonly rootModel: any;
|
|
619
613
|
readonly contentModel: any;
|
|
620
|
-
readonly conditionOptions:
|
|
621
|
-
|
|
622
|
-
validValues: Set<string>;
|
|
623
|
-
};
|
|
624
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
625
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
626
|
-
validValues: Set<string>;
|
|
627
|
-
};
|
|
614
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
615
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
628
616
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
629
617
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
630
618
|
validValues: Set<string>;
|
|
@@ -1725,14 +1713,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
1725
1713
|
} & {
|
|
1726
1714
|
readonly rootModel: any;
|
|
1727
1715
|
readonly contentModel: any;
|
|
1728
|
-
readonly conditionOptions:
|
|
1729
|
-
|
|
1730
|
-
validValues: Set<string>;
|
|
1731
|
-
};
|
|
1732
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
1733
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
1734
|
-
validValues: Set<string>;
|
|
1735
|
-
};
|
|
1716
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
1717
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
1736
1718
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
1737
1719
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
1738
1720
|
validValues: Set<string>;
|
|
@@ -2071,14 +2053,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
2071
2053
|
} & {
|
|
2072
2054
|
readonly rootModel: any;
|
|
2073
2055
|
readonly contentModel: any;
|
|
2074
|
-
readonly conditionOptions:
|
|
2075
|
-
|
|
2076
|
-
validValues: Set<string>;
|
|
2077
|
-
};
|
|
2078
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
2079
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
2080
|
-
validValues: Set<string>;
|
|
2081
|
-
};
|
|
2056
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
2057
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
2082
2058
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
2083
2059
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
2084
2060
|
validValues: Set<string>;
|
|
@@ -3168,14 +3144,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
3168
3144
|
} & {
|
|
3169
3145
|
readonly rootModel: any;
|
|
3170
3146
|
readonly contentModel: any;
|
|
3171
|
-
readonly conditionOptions:
|
|
3172
|
-
|
|
3173
|
-
validValues: Set<string>;
|
|
3174
|
-
};
|
|
3175
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
3176
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
3177
|
-
validValues: Set<string>;
|
|
3178
|
-
};
|
|
3147
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
3148
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
3179
3149
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
3180
3150
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
3181
3151
|
validValues: Set<string>;
|
|
@@ -3514,14 +3484,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
3514
3484
|
} & {
|
|
3515
3485
|
readonly rootModel: any;
|
|
3516
3486
|
readonly contentModel: any;
|
|
3517
|
-
readonly conditionOptions:
|
|
3518
|
-
|
|
3519
|
-
validValues: Set<string>;
|
|
3520
|
-
};
|
|
3521
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
3522
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
3523
|
-
validValues: Set<string>;
|
|
3524
|
-
};
|
|
3487
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
3488
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
3525
3489
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
3526
3490
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
3527
3491
|
validValues: Set<string>;
|
|
@@ -4660,14 +4624,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
4660
4624
|
} & {
|
|
4661
4625
|
readonly rootModel: any;
|
|
4662
4626
|
readonly contentModel: any;
|
|
4663
|
-
readonly conditionOptions:
|
|
4664
|
-
|
|
4665
|
-
validValues: Set<string>;
|
|
4666
|
-
};
|
|
4667
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
4668
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
4669
|
-
validValues: Set<string>;
|
|
4670
|
-
};
|
|
4627
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
4628
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
4671
4629
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
4672
4630
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
4673
4631
|
validValues: Set<string>;
|
|
@@ -5006,14 +4964,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
5006
4964
|
} & {
|
|
5007
4965
|
readonly rootModel: any;
|
|
5008
4966
|
readonly contentModel: any;
|
|
5009
|
-
readonly conditionOptions:
|
|
5010
|
-
|
|
5011
|
-
validValues: Set<string>;
|
|
5012
|
-
};
|
|
5013
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
5014
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
5015
|
-
validValues: Set<string>;
|
|
5016
|
-
};
|
|
4967
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
4968
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
5017
4969
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
5018
4970
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
5019
4971
|
validValues: Set<string>;
|
|
@@ -6103,14 +6055,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
6103
6055
|
} & {
|
|
6104
6056
|
readonly rootModel: any;
|
|
6105
6057
|
readonly contentModel: any;
|
|
6106
|
-
readonly conditionOptions:
|
|
6107
|
-
|
|
6108
|
-
validValues: Set<string>;
|
|
6109
|
-
};
|
|
6110
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
6111
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
6112
|
-
validValues: Set<string>;
|
|
6113
|
-
};
|
|
6058
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
6059
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
6114
6060
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
6115
6061
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
6116
6062
|
validValues: Set<string>;
|
|
@@ -6449,14 +6395,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
6449
6395
|
} & {
|
|
6450
6396
|
readonly rootModel: any;
|
|
6451
6397
|
readonly contentModel: any;
|
|
6452
|
-
readonly conditionOptions:
|
|
6453
|
-
|
|
6454
|
-
validValues: Set<string>;
|
|
6455
|
-
};
|
|
6456
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
6457
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
6458
|
-
validValues: Set<string>;
|
|
6459
|
-
};
|
|
6398
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
6399
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
6460
6400
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
6461
6401
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
6462
6402
|
validValues: Set<string>;
|
|
@@ -7612,14 +7552,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
7612
7552
|
} & {
|
|
7613
7553
|
readonly rootModel: any;
|
|
7614
7554
|
readonly contentModel: any;
|
|
7615
|
-
readonly conditionOptions:
|
|
7616
|
-
|
|
7617
|
-
validValues: Set<string>;
|
|
7618
|
-
};
|
|
7619
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
7620
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
7621
|
-
validValues: Set<string>;
|
|
7622
|
-
};
|
|
7555
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
7556
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
7623
7557
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
7624
7558
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
7625
7559
|
validValues: Set<string>;
|
|
@@ -7958,14 +7892,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
7958
7892
|
} & {
|
|
7959
7893
|
readonly rootModel: any;
|
|
7960
7894
|
readonly contentModel: any;
|
|
7961
|
-
readonly conditionOptions:
|
|
7962
|
-
|
|
7963
|
-
validValues: Set<string>;
|
|
7964
|
-
};
|
|
7965
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
7966
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
7967
|
-
validValues: Set<string>;
|
|
7968
|
-
};
|
|
7895
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
7896
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
7969
7897
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
7970
7898
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
7971
7899
|
validValues: Set<string>;
|
|
@@ -8312,14 +8240,8 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
8312
8240
|
} & {
|
|
8313
8241
|
readonly rootModel: any;
|
|
8314
8242
|
readonly contentModel: any;
|
|
8315
|
-
readonly conditionOptions:
|
|
8316
|
-
|
|
8317
|
-
validValues: Set<string>;
|
|
8318
|
-
};
|
|
8319
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
8320
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
8321
|
-
validValues: Set<string>;
|
|
8322
|
-
};
|
|
8243
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
8244
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
8323
8245
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
8324
8246
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
8325
8247
|
validValues: Set<string>;
|
|
@@ -268,14 +268,8 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
|
|
|
268
268
|
} & {
|
|
269
269
|
readonly rootModel: any;
|
|
270
270
|
readonly contentModel: any;
|
|
271
|
-
readonly conditionOptions:
|
|
272
|
-
|
|
273
|
-
validValues: Set<string>;
|
|
274
|
-
};
|
|
275
|
-
getConditionOptionsWithInvalidValue(value: string | null): {
|
|
276
|
-
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
277
|
-
validValues: Set<string>;
|
|
278
|
-
};
|
|
271
|
+
readonly conditionOptions: import('../../../model').DashboardStateVariableOptions;
|
|
272
|
+
getConditionOptionsWithInvalidValue(value: string | null): import('../../../model').DashboardStateVariableOptions;
|
|
279
273
|
readonly conditionOptionsWithInvalidRunbys: {
|
|
280
274
|
optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
|
|
281
275
|
validValues: Set<string>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TAdditionalQueryInfo } from '../../api-caller/request';
|
|
2
|
-
import { IFiltersRenderModel, ILayoutsRenderModel, IMockContextMeta, IPanelsRenderModel, IQueriesRenderModel, ISQLSnippetsRenderModel, IViewsRenderModel, TPayloadForSQL, TPayloadForViz } from '../../model';
|
|
2
|
+
import { IFiltersRenderModel, ILayoutsRenderModel, IMockContextMeta, IPanelsRenderModel, IQueriesRenderModel, ISQLSnippetsRenderModel, IViewsRenderModel, TDashboardState, TDashboardStateValues, TPayloadForSQL, TPayloadForViz } from '../../model';
|
|
3
3
|
import { DashboardContentDBType } from '../../types';
|
|
4
|
-
import { payloadToDashboardState } from '../../utils';
|
|
5
4
|
export interface IContentRenderModel {
|
|
6
5
|
id: string;
|
|
7
6
|
name: string;
|
|
@@ -20,7 +19,8 @@ export interface IContentRenderModel {
|
|
|
20
19
|
readonly contentJSON: DashboardContentDBType['content'];
|
|
21
20
|
readonly payloadForSQL: TPayloadForSQL;
|
|
22
21
|
readonly payloadForViz: TPayloadForViz;
|
|
23
|
-
readonly dashboardState:
|
|
22
|
+
readonly dashboardState: TDashboardState;
|
|
23
|
+
readonly dashboardStateValues: TDashboardStateValues;
|
|
24
24
|
getAdditionalQueryInfo(query_id: string): TAdditionalQueryInfo;
|
|
25
25
|
readonly data: Record<string, TQueryData>;
|
|
26
26
|
getDataStuffByID(queryID: string): {
|