@devtable/dashboard 14.58.1 → 14.58.3
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 +9 -9
- package/dist/components/filter/filter-date-range/editor.d.ts +0 -1
- package/dist/components/filter/filter-merico-date-range/widget/calendar/use-get-day-props.d.ts +1 -1
- package/dist/components/filter/filter-multi-select/editor.d.ts +0 -1
- package/dist/components/filter/filter-settings/filter-settings.d.ts +0 -1
- package/dist/components/filter/filter-settings/index.d.ts +0 -1
- package/dist/components/filter/filter-text-input/editor.d.ts +0 -1
- package/dist/components/filter/filter-tree/common/types.d.ts +0 -1
- package/dist/components/filter/filter-tree/filter-tree-select/editor/filter-tree-select-editor.d.ts +0 -1
- package/dist/components/filter/index.d.ts +0 -1
- package/dist/components/filter/search-button/index.d.ts +0 -1
- package/dist/components/panel/panel-editor/dropdown-menu-items/dropdown-menu-items.d.ts +0 -1
- package/dist/components/panel/panel-editor/index.d.ts +0 -1
- package/dist/components/panel/panel-render/dropdown-menu-items/dropdown-menu-items.d.ts +0 -1
- package/dist/components/panel/panel-render/full-screen-render/full-screen-panel.d.ts +0 -1
- package/dist/components/panel/panel-render/title-bar/index.d.ts +0 -1
- package/dist/components/panel/panel-render/use-download-panel-screenshot.d.ts +0 -1
- package/dist/components/panel/panel-render/viz/viz.d.ts +0 -1
- package/dist/components/panel/settings/common/mantine-size-selector.d.ts +0 -1
- package/dist/components/panel/settings/common/variable-selector/variable-selector-item.d.ts +1 -2
- package/dist/components/plugins/colors/diverging-color.d.ts +1 -1
- package/dist/components/plugins/colors/sequential-color.d.ts +1 -1
- package/dist/components/plugins/common-echarts-fields/axis-label-overflow/axis-label-overflow-field.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/axis-label-overflow/overflow-field.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/axis-label-rotate/axis-label-rotate-input.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/label-position/label-position-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/line-area-style/line-area-origin-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/line-area-style/line-area-style-field.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/line-area-style/temp-color-input.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/line-type/line-type-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/name-text-align/name-text-align-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/number-or-dynamic-value/field/index.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/orientation/orientation-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/reference-area/field.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/series-order/series-order-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/series-unit/series-unit-field.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/symbol-size/symbol-size-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/visual-map/visual-map-editor/continuous/gradient-editor.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/x-axis-label-formatter-field.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/x-axis-position/x-axis-position-selector.d.ts +0 -1
- package/dist/components/plugins/common-echarts-fields/y-axis-position/y-axis-position-selector.d.ts +0 -1
- package/dist/components/plugins/editor-components/color-mapping-editor/index.d.ts +0 -1
- package/dist/components/plugins/editor-components/color-type/color-type-selector.d.ts +0 -1
- package/dist/components/plugins/editor-components/flex/align-items-selector.d.ts +0 -1
- package/dist/components/plugins/editor-components/flex/justify-content-selector.d.ts +0 -1
- package/dist/components/plugins/editor-components/horizontal-align-selector.d.ts +0 -1
- package/dist/components/plugins/editor-components/vertical-align-selector.d.ts +0 -1
- package/dist/components/plugins/editor-components/viz-config-banner.d.ts +0 -1
- package/dist/components/plugins/hooks/use-tab-state.d.ts +0 -1
- package/dist/components/plugins/plugin-context.d.ts +648 -3557
- package/dist/components/plugins/viz-components/cartesian/editors/echarts-zooming-field/index.d.ts +0 -1
- package/dist/components/plugins/viz-components/merico-linear-gauge/editor/sections-editor/sections-editor.d.ts +0 -1
- package/dist/components/plugins/viz-components/merico-panel-groups/editor/groups-editor.d.ts +0 -1
- package/dist/components/plugins/viz-components/merico-stats/editors/metrics/postfix-field.d.ts +0 -1
- package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +2 -2
- package/dist/components/plugins/viz-components/pareto-chart/option/series.d.ts +2 -2
- package/dist/components/plugins/viz-components/pie-chart/editors/pie-color-map-editor/pie-color-map-editor.d.ts +0 -1
- package/dist/components/plugins/viz-components/pie-chart/editors/radius-slider.d.ts +0 -1
- package/dist/components/plugins/viz-components/pie-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/regression-chart/render/toolbox/data-key-selector/data-key-selector.d.ts +3 -3
- package/dist/components/plugins/viz-components/regression-chart/render/use-data-key.d.ts +0 -1
- package/dist/components/plugins/viz-components/rich-text/triggers/click-rich-text-block.d.ts +6 -0
- package/dist/components/plugins/viz-components/rich-text/triggers/index.d.ts +1 -0
- package/dist/components/plugins/viz-components/rich-text/viz-rich-text.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/label-overflow.d.ts +0 -1
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts +0 -1
- package/dist/components/plugins/viz-components/sunburst/option/levels.d.ts +1 -1
- package/dist/components/plugins/viz-components/table/components/background-color-select.d.ts +0 -1
- package/dist/components/plugins/viz-components/table/editors/columns/func_content-editor.d.ts +0 -1
- package/dist/components/plugins/viz-components/table/render/table-body.d.ts +0 -1
- package/dist/components/plugins/viz-components/table/value-type-selector.d.ts +0 -1
- package/dist/components/plugins/viz-components/text/editors/func-content/index.d.ts +0 -1
- package/dist/components/view/view-component/render/division.d.ts +1 -1
- package/dist/components/view/view-component/utils/use-download-div-screenshot.d.ts +0 -1
- package/dist/components/view/view-editor.d.ts +0 -1
- package/dist/components/view/view-render.d.ts +0 -1
- package/dist/components/widgets/color-picker-popover/color-picker-popover-for-viz.d.ts +0 -1
- package/dist/components/widgets/inline-function-input/index.d.ts +0 -1
- package/dist/components/widgets/rich-text-editor/custom-rich-text-editor.d.ts +0 -1
- package/dist/components/widgets/rich-text-editor/interaction-block-node/index.d.ts +23 -0
- package/dist/components/widgets/rich-text-editor/interaction-block-node/interaction-block-control.d.ts +2 -0
- package/dist/components/widgets/rich-text-editor/readonly-rich-text-editor.d.ts +0 -1
- package/dist/contexts/dashboard-theme-context.d.ts +2 -2
- package/dist/contexts/panel-context.d.ts +2697 -8513
- package/dist/dashboard-editor/model/datasources/datasource.d.ts +4 -4
- package/dist/dashboard-editor/model/datasources/db-info/db-info.d.ts +2 -1
- package/dist/dashboard-editor/model/datasources/index.d.ts +19 -19
- package/dist/dashboard-editor/model/datasources/mm-info/metric-detail.d.ts +3 -3
- package/dist/dashboard-editor/model/datasources/mm-info/metric-detail.utils.d.ts +1 -1
- package/dist/dashboard-editor/model/datasources/mm-info/mm-info.d.ts +3 -3
- package/dist/dashboard-editor/model/filters/filter-model.d.ts +3 -3
- package/dist/dashboard-editor/model/filters/index.d.ts +36 -36
- package/dist/dashboard-editor/model/layouts/layouts.d.ts +2 -451
- package/dist/dashboard-editor/model/panels/panel.d.ts +9 -1464
- package/dist/dashboard-editor/model/panels/panels.d.ts +13968 -0
- package/dist/dashboard-editor/model/queries/queries.d.ts +105 -105
- package/dist/dashboard-editor/model/queries/query.d.ts +8 -8
- package/dist/dashboard-editor/model/views/index.d.ts +13 -1470
- package/dist/dashboard-editor/model/views/view.d.ts +2 -11
- package/dist/dashboard-editor/ui/settings/content/data-preview/data-table-with-pagination.d.ts +1 -1
- package/dist/dashboard-editor/ui/settings/content/data-preview/index.d.ts +1 -1
- package/dist/dashboard-editor/ui/settings/content/db-explorer-modal/db-explorer/structure/loading-skeleton.d.ts +4 -4
- package/dist/dashboard-editor/ui/settings/content/edit-panel/pick-query/index.d.ts +0 -1
- package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/data-table-with-pagination.d.ts +1 -1
- package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/dimension-icon.d.ts +1 -1
- package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/sql-var-selector/index.d.ts +0 -1
- package/dist/dashboard-editor/ui/settings/content/edit-view/edit-view-form/index.d.ts +2 -1160
- package/dist/dashboard-editor/ui/settings/content/utils.d.ts +9 -9
- package/dist/dashboard-editor/ui/settings/content/view-query-vars/query-variables-guide.d.ts +0 -1
- package/dist/dashboard.es.js +7978 -7739
- package/dist/dashboard.umd.js +67 -67
- package/dist/i18n/en.d.ts +9 -0
- package/dist/i18n/zh.d.ts +9 -0
- package/dist/interactions/interactions-viewer/node-with-interactions/index.d.ts +2 -3
- package/dist/model/meta-model/context/context.d.ts +2 -2
- package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +2 -2
- package/dist/model/meta-model/dashboard/content/filter/widgets/date-range.d.ts +5 -5
- package/dist/model/meta-model/dashboard/content/filter/widgets/merico-date-range.d.ts +5 -5
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +6 -6
- package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +6 -6
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select-base.d.ts +2 -2
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +6 -6
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-single-select.d.ts +6 -6
- package/dist/model/meta-model/dashboard/content/layout/layout-item.d.ts +1 -1
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +25 -25
- package/dist/model/render-model/dashboard/content/layouts/layouts.d.ts +3 -452
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +7 -1462
- package/dist/model/render-model/dashboard/content/panels/panels.d.ts +12432 -0
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +72 -72
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +8 -8
- package/dist/model/render-model/dashboard/content/views/view.d.ts +1 -1
- package/dist/model/render-model/dashboard/content/views/views.d.ts +9 -9
- package/dist/shared/api-client/default-api-client.d.ts +3 -3
- package/dist/stats.html +1 -1
- package/dist/utils/http-query.d.ts +1 -1
- package/dist/utils/template/render/render-string.d.ts +0 -1
- package/dist/version.json +2 -2
- package/package.json +6 -6
|
@@ -78,7 +78,7 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, vari
|
|
|
78
78
|
label: {
|
|
79
79
|
show: boolean;
|
|
80
80
|
position: string;
|
|
81
|
-
formatter: (payload:
|
|
81
|
+
formatter: (payload: $TSFixMe) => void;
|
|
82
82
|
};
|
|
83
83
|
yAxisIndex: number;
|
|
84
84
|
data: BarData;
|
|
@@ -103,7 +103,7 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, vari
|
|
|
103
103
|
label: {
|
|
104
104
|
show: boolean;
|
|
105
105
|
position: string;
|
|
106
|
-
formatter: (payload:
|
|
106
|
+
formatter: (payload: $TSFixMe) => void;
|
|
107
107
|
};
|
|
108
108
|
yAxisIndex: number;
|
|
109
109
|
data: import("./types").TLineDataItem[];
|
|
@@ -11,7 +11,7 @@ export declare function getSeries(conf: IParetoChartConf, barData: BarData, form
|
|
|
11
11
|
label: {
|
|
12
12
|
show: boolean;
|
|
13
13
|
position: string;
|
|
14
|
-
formatter: (payload:
|
|
14
|
+
formatter: (payload: $TSFixMe) => void;
|
|
15
15
|
};
|
|
16
16
|
yAxisIndex: number;
|
|
17
17
|
data: BarData;
|
|
@@ -36,7 +36,7 @@ export declare function getSeries(conf: IParetoChartConf, barData: BarData, form
|
|
|
36
36
|
label: {
|
|
37
37
|
show: boolean;
|
|
38
38
|
position: string;
|
|
39
|
-
formatter: (payload:
|
|
39
|
+
formatter: (payload: $TSFixMe) => void;
|
|
40
40
|
};
|
|
41
41
|
yAxisIndex: number;
|
|
42
42
|
data: TLineDataItem[];
|
|
@@ -3,7 +3,7 @@ import React from './react';
|
|
|
3
3
|
export declare const DataKeySelector: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<NativeSelectProps, "value" | "onChange"> & {
|
|
4
4
|
value: string;
|
|
5
5
|
onChange: (v: string) => void;
|
|
6
|
-
clearable?: boolean
|
|
7
|
-
queryID?: string
|
|
8
|
-
unsetKey?: string
|
|
6
|
+
clearable?: boolean;
|
|
7
|
+
queryID?: string;
|
|
8
|
+
unsetKey?: string;
|
|
9
9
|
} & React.RefAttributes<HTMLSelectElement>, "ref"> & React.RefAttributes<HTMLSelectElement>>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ITriggerConfigProps, ITriggerSchema } from '../../../../../types/plugin';
|
|
2
|
+
export declare const ClickRichTextBlock: ITriggerSchema;
|
|
3
|
+
export interface IClickRichTextBlockConfig {
|
|
4
|
+
blockId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function ClickRichTextBlockSettings(props: ITriggerConfigProps): import('./react/jsx-runtime').JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './click-rich-text-block';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { VizViewProps } from '../../../../types/plugin';
|
|
2
|
-
export declare const VizRichText: (({ context }: VizViewProps) => import('./react/jsx-runtime').JSX.Element | null) & {
|
|
2
|
+
export declare const VizRichText: (({ context, instance }: VizViewProps) => import('./react/jsx-runtime').JSX.Element | null) & {
|
|
3
3
|
displayName: string;
|
|
4
4
|
};
|
|
@@ -3,7 +3,7 @@ import { IEchartsSunburstLabelFormatter } from './types';
|
|
|
3
3
|
export declare function getLevels(conf: ISunburstConf): {
|
|
4
4
|
label: {
|
|
5
5
|
formatter: ({ treePathInfo, name, value }: IEchartsSunburstLabelFormatter) => string | undefined;
|
|
6
|
-
rotate: "
|
|
6
|
+
rotate: "radial" | "tangential" | "0";
|
|
7
7
|
align: "left" | "center" | "right";
|
|
8
8
|
position: import("../../../common-echarts-fields/label-position").IEchartsLabelPosition;
|
|
9
9
|
padding: number;
|
|
@@ -9,7 +9,7 @@ export declare const DivActions: (({ downloadScreenshot }: {
|
|
|
9
9
|
export declare const RenderViewDivision: (({ children, view, sx }: {
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
view: ViewRenderModelInstance;
|
|
12
|
-
sx?: EmotionSx
|
|
12
|
+
sx?: EmotionSx;
|
|
13
13
|
}) => import('./react/jsx-runtime').JSX.Element) & {
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
export interface InteractionBlockOptions {
|
|
3
|
+
HTMLAttributes: Record<string, any>;
|
|
4
|
+
}
|
|
5
|
+
declare module '@tiptap/core' {
|
|
6
|
+
interface Commands<ReturnType> {
|
|
7
|
+
interactionBlock: {
|
|
8
|
+
/**
|
|
9
|
+
* Set an interaction block with a specific ID
|
|
10
|
+
*/
|
|
11
|
+
setInteractionBlock: (blockId: string) => ReturnType;
|
|
12
|
+
/**
|
|
13
|
+
* Toggle an interaction block
|
|
14
|
+
*/
|
|
15
|
+
toggleInteractionBlock: (blockId: string) => ReturnType;
|
|
16
|
+
/**
|
|
17
|
+
* Unset an interaction block
|
|
18
|
+
*/
|
|
19
|
+
unsetInteractionBlock: () => ReturnType;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export declare const InteractionBlock: Node<InteractionBlockOptions, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from './react';
|
|
2
2
|
import { RenderSearchButtonProps } from '..';
|
|
3
3
|
export declare const DashboardThemeContextProvider: React.Provider<{
|
|
4
|
-
renderSearchButton?: (
|
|
4
|
+
renderSearchButton?: (props: RenderSearchButtonProps) => ReactNode;
|
|
5
5
|
}>;
|
|
6
6
|
export declare function useDashboardThemeContext(): {
|
|
7
|
-
renderSearchButton?: (
|
|
7
|
+
renderSearchButton?: (props: RenderSearchButtonProps) => ReactNode;
|
|
8
8
|
};
|