@devtable/dashboard 14.55.0 → 14.55.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/components/panel/settings/common/data-field-selector.d.ts +2 -1
- package/dist/components/plugins/plugin-context.d.ts +44 -8
- package/dist/components/plugins/viz-components/merico-linear-gauge/editor/sections-editor/row-editor.d.ts +3 -2
- package/dist/contexts/panel-context.d.ts +56 -8
- package/dist/dashboard-editor/model/panels/panel.d.ts +14 -2
- package/dist/dashboard.es.js +2385 -2321
- package/dist/dashboard.umd.js +59 -59
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +19 -6
- package/dist/model/render-model/dashboard/content/panels/types.d.ts +15 -2
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineSize } from '@mantine/core';
|
|
1
|
+
import { ComboboxItem, MantineSize } from '@mantine/core';
|
|
2
2
|
import { EmotionSx } from '@mantine/emotion';
|
|
3
3
|
import React from './react';
|
|
4
4
|
interface IDataFieldSelector {
|
|
@@ -13,6 +13,7 @@ interface IDataFieldSelector {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
unsetKey?: string;
|
|
16
|
+
additional_options?: ComboboxItem[];
|
|
16
17
|
}
|
|
17
18
|
export declare const DataFieldSelector: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<IDataFieldSelector & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>>;
|
|
18
19
|
export {};
|
|
@@ -7496,17 +7496,35 @@ export declare const tokens: {
|
|
|
7496
7496
|
label: string;
|
|
7497
7497
|
value: string;
|
|
7498
7498
|
group: string;
|
|
7499
|
-
group_id: string;
|
|
7499
|
+
group_id: string; /**
|
|
7500
|
+
* All available tokens of services, it also serves as an overview of the
|
|
7501
|
+
* plugin system
|
|
7502
|
+
*/
|
|
7500
7503
|
disabled: boolean;
|
|
7501
7504
|
}[];
|
|
7502
|
-
dataFieldOptions(selected
|
|
7505
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
7506
|
+
selected: string;
|
|
7507
|
+
clearable: boolean;
|
|
7508
|
+
unsetKey: string;
|
|
7509
|
+
queryID?: string | undefined;
|
|
7510
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
7511
|
+
}): {
|
|
7503
7512
|
label: string;
|
|
7504
7513
|
value: string;
|
|
7505
7514
|
group: string;
|
|
7506
|
-
group_id: string;
|
|
7515
|
+
group_id: string; /**
|
|
7516
|
+
* All available tokens of services, it also serves as an overview of the
|
|
7517
|
+
* plugin system
|
|
7518
|
+
*/
|
|
7507
7519
|
disabled: boolean;
|
|
7508
7520
|
}[];
|
|
7509
|
-
dataFieldOptionGroups(selected
|
|
7521
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
7522
|
+
selected: string;
|
|
7523
|
+
clearable: boolean;
|
|
7524
|
+
unsetKey: string;
|
|
7525
|
+
queryID?: string | undefined;
|
|
7526
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
7527
|
+
}): {
|
|
7510
7528
|
group: string;
|
|
7511
7529
|
items: {
|
|
7512
7530
|
label: string;
|
|
@@ -14939,17 +14957,35 @@ export declare const tokens: {
|
|
|
14939
14957
|
label: string;
|
|
14940
14958
|
value: string;
|
|
14941
14959
|
group: string;
|
|
14942
|
-
group_id: string;
|
|
14960
|
+
group_id: string; /**
|
|
14961
|
+
* All available tokens of services, it also serves as an overview of the
|
|
14962
|
+
* plugin system
|
|
14963
|
+
*/
|
|
14943
14964
|
disabled: boolean;
|
|
14944
14965
|
}[];
|
|
14945
|
-
dataFieldOptions(selected
|
|
14966
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
14967
|
+
selected: string;
|
|
14968
|
+
clearable: boolean;
|
|
14969
|
+
unsetKey: string;
|
|
14970
|
+
queryID?: string | undefined;
|
|
14971
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
14972
|
+
}): {
|
|
14946
14973
|
label: string;
|
|
14947
14974
|
value: string;
|
|
14948
14975
|
group: string;
|
|
14949
|
-
group_id: string;
|
|
14976
|
+
group_id: string; /**
|
|
14977
|
+
* All available tokens of services, it also serves as an overview of the
|
|
14978
|
+
* plugin system
|
|
14979
|
+
*/
|
|
14950
14980
|
disabled: boolean;
|
|
14951
14981
|
}[];
|
|
14952
|
-
dataFieldOptionGroups(selected
|
|
14982
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
14983
|
+
selected: string;
|
|
14984
|
+
clearable: boolean;
|
|
14985
|
+
unsetKey: string;
|
|
14986
|
+
queryID?: string | undefined;
|
|
14987
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
14988
|
+
}): {
|
|
14953
14989
|
group: string;
|
|
14954
14990
|
items: {
|
|
14955
14991
|
label: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComboboxItem } from '@mantine/core';
|
|
1
2
|
import { MericoLinearGaugeSection } from '../../type';
|
|
2
3
|
type RowFieldItem = {
|
|
3
4
|
id: string;
|
|
@@ -7,7 +8,7 @@ type Props = {
|
|
|
7
8
|
handleChange: (v: RowFieldItem) => void;
|
|
8
9
|
handleRemove: () => void;
|
|
9
10
|
index: number;
|
|
10
|
-
|
|
11
|
+
additional_options: ComboboxItem[];
|
|
11
12
|
};
|
|
12
|
-
export declare const RowEditor: ({ row, index, handleChange, handleRemove,
|
|
13
|
+
export declare const RowEditor: ({ row, index, handleChange, handleRemove, additional_options }: Props) => import('./react/jsx-runtime').JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -7483,14 +7483,26 @@ export declare const useRenderPanelContext: () => {
|
|
|
7483
7483
|
group_id: string;
|
|
7484
7484
|
disabled: boolean;
|
|
7485
7485
|
}[];
|
|
7486
|
-
dataFieldOptions(selected
|
|
7486
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
7487
|
+
selected: string;
|
|
7488
|
+
clearable: boolean;
|
|
7489
|
+
unsetKey: string;
|
|
7490
|
+
queryID?: string | undefined;
|
|
7491
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
7492
|
+
}): {
|
|
7487
7493
|
label: string;
|
|
7488
7494
|
value: string;
|
|
7489
7495
|
group: string;
|
|
7490
7496
|
group_id: string;
|
|
7491
7497
|
disabled: boolean;
|
|
7492
7498
|
}[];
|
|
7493
|
-
dataFieldOptionGroups(selected
|
|
7499
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
7500
|
+
selected: string;
|
|
7501
|
+
clearable: boolean;
|
|
7502
|
+
unsetKey: string;
|
|
7503
|
+
queryID?: string | undefined;
|
|
7504
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
7505
|
+
}): {
|
|
7494
7506
|
group: string;
|
|
7495
7507
|
items: {
|
|
7496
7508
|
label: string;
|
|
@@ -14888,14 +14900,26 @@ export declare const useRenderPanelContext: () => {
|
|
|
14888
14900
|
group_id: string;
|
|
14889
14901
|
disabled: boolean;
|
|
14890
14902
|
}[];
|
|
14891
|
-
dataFieldOptions(selected
|
|
14903
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
14904
|
+
selected: string;
|
|
14905
|
+
clearable: boolean;
|
|
14906
|
+
unsetKey: string;
|
|
14907
|
+
queryID?: string | undefined;
|
|
14908
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
14909
|
+
}): {
|
|
14892
14910
|
label: string;
|
|
14893
14911
|
value: string;
|
|
14894
14912
|
group: string;
|
|
14895
14913
|
group_id: string;
|
|
14896
14914
|
disabled: boolean;
|
|
14897
14915
|
}[];
|
|
14898
|
-
dataFieldOptionGroups(selected
|
|
14916
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
14917
|
+
selected: string;
|
|
14918
|
+
clearable: boolean;
|
|
14919
|
+
unsetKey: string;
|
|
14920
|
+
queryID?: string | undefined;
|
|
14921
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
14922
|
+
}): {
|
|
14899
14923
|
group: string;
|
|
14900
14924
|
items: {
|
|
14901
14925
|
label: string;
|
|
@@ -22856,14 +22880,26 @@ export declare const useEditPanelContext: () => {
|
|
|
22856
22880
|
group_id: string;
|
|
22857
22881
|
disabled: boolean;
|
|
22858
22882
|
}[];
|
|
22859
|
-
dataFieldOptions(selected
|
|
22883
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
22884
|
+
selected: string;
|
|
22885
|
+
clearable: boolean;
|
|
22886
|
+
unsetKey: string;
|
|
22887
|
+
queryID?: string | undefined;
|
|
22888
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
22889
|
+
}): {
|
|
22860
22890
|
label: string;
|
|
22861
22891
|
value: string;
|
|
22862
22892
|
group: string;
|
|
22863
22893
|
group_id: string;
|
|
22864
22894
|
disabled: boolean;
|
|
22865
22895
|
}[];
|
|
22866
|
-
dataFieldOptionGroups(selected
|
|
22896
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
22897
|
+
selected: string;
|
|
22898
|
+
clearable: boolean;
|
|
22899
|
+
unsetKey: string;
|
|
22900
|
+
queryID?: string | undefined;
|
|
22901
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
22902
|
+
}): {
|
|
22867
22903
|
group: string;
|
|
22868
22904
|
items: {
|
|
22869
22905
|
label: string;
|
|
@@ -30299,14 +30335,26 @@ export declare const useEditPanelContext: () => {
|
|
|
30299
30335
|
group_id: string;
|
|
30300
30336
|
disabled: boolean;
|
|
30301
30337
|
}[];
|
|
30302
|
-
dataFieldOptions(selected
|
|
30338
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
30339
|
+
selected: string;
|
|
30340
|
+
clearable: boolean;
|
|
30341
|
+
unsetKey: string;
|
|
30342
|
+
queryID?: string | undefined;
|
|
30343
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
30344
|
+
}): {
|
|
30303
30345
|
label: string;
|
|
30304
30346
|
value: string;
|
|
30305
30347
|
group: string;
|
|
30306
30348
|
group_id: string;
|
|
30307
30349
|
disabled: boolean;
|
|
30308
30350
|
}[];
|
|
30309
|
-
dataFieldOptionGroups(selected
|
|
30351
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
30352
|
+
selected: string;
|
|
30353
|
+
clearable: boolean;
|
|
30354
|
+
unsetKey: string;
|
|
30355
|
+
queryID?: string | undefined;
|
|
30356
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
30357
|
+
}): {
|
|
30310
30358
|
group: string;
|
|
30311
30359
|
items: {
|
|
30312
30360
|
label: string;
|
|
@@ -6917,14 +6917,26 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
6917
6917
|
group_id: string;
|
|
6918
6918
|
disabled: boolean;
|
|
6919
6919
|
}[];
|
|
6920
|
-
dataFieldOptions(selected
|
|
6920
|
+
dataFieldOptions({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
6921
|
+
selected: string;
|
|
6922
|
+
clearable: boolean;
|
|
6923
|
+
unsetKey: string;
|
|
6924
|
+
queryID?: string | undefined;
|
|
6925
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
6926
|
+
}): {
|
|
6921
6927
|
label: string;
|
|
6922
6928
|
value: string;
|
|
6923
6929
|
group: string;
|
|
6924
6930
|
group_id: string;
|
|
6925
6931
|
disabled: boolean;
|
|
6926
6932
|
}[];
|
|
6927
|
-
dataFieldOptionGroups(selected
|
|
6933
|
+
dataFieldOptionGroups({ selected, clearable, unsetKey, queryID, additional_options, }: {
|
|
6934
|
+
selected: string;
|
|
6935
|
+
clearable: boolean;
|
|
6936
|
+
unsetKey: string;
|
|
6937
|
+
queryID?: string | undefined;
|
|
6938
|
+
additional_options?: import("@mantine/core").ComboboxItem[] | undefined;
|
|
6939
|
+
}): {
|
|
6928
6940
|
group: string;
|
|
6929
6941
|
items: {
|
|
6930
6942
|
label: string;
|