@devtable/dashboard 8.57.1 → 8.57.2
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/inline-function-input/index.d.ts +1 -1
- package/dist/contexts/dashboard-action-context.d.ts +1 -1
- package/dist/contexts/full-screen-panel-context.d.ts +1 -1
- package/dist/contexts/layout-state-context.d.ts +1 -1
- package/dist/contexts/panel-context.d.ts +1 -1
- package/dist/dashboard.es.js +10954 -16970
- package/dist/dashboard.umd.js +132 -106
- package/dist/filter/filter-checkbox/editor.d.ts +1 -1
- package/dist/filter/filter-date-range/editor.d.ts +1 -1
- package/dist/filter/filter-multi-select/editor.d.ts +1 -1
- package/dist/filter/filter-select/editor.d.ts +1 -1
- package/dist/filter/filter-settings/filter-setting.d.ts +1 -1
- package/dist/filter/filter-settings/preview-filter.d.ts +1 -1
- package/dist/filter/filter-text-input/editor.d.ts +1 -1
- package/dist/filter/filter-tree-select/editor.d.ts +1 -1
- package/dist/filter/filter.d.ts +1 -1
- package/dist/filter/index.d.ts +1 -1
- package/dist/filter/select-item.d.ts +1 -1
- package/dist/interactions/interactions-viewer/data/types.d.ts +1 -1
- package/dist/interactions/interactions-viewer/node-with-interactions/index.d.ts +1 -1
- package/dist/interactions/interactions-viewer/node-with-interactions/lines.d.ts +1 -1
- package/dist/interactions/interactions-viewer/node-with-interactions/types.d.ts +1 -1
- package/dist/main/dashboard-editor/header/index.d.ts +1 -1
- package/dist/main/dashboard-editor/index.d.ts +1 -1
- package/dist/main/dashboard-editor/settings/content/data-preview/index.d.ts +1 -1
- package/dist/main/dashboard-editor/settings/content/edit-panel/pick-query/index.d.ts +1 -1
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/variable-field.d.ts +1 -1
- package/dist/main/dashboard-editor/settings/content/view-global-vars/global-variables-guide.d.ts +1 -1
- package/dist/main/full-screen-panel.d.ts +1 -1
- package/dist/panel/index.d.ts +1 -1
- package/dist/panel/plugin-adaptor.d.ts +1 -1
- package/dist/panel/settings/common/aggregation-selector.d.ts +1 -1
- package/dist/panel/settings/common/color-array-input.d.ts +1 -1
- package/dist/panel/settings/common/custom-rich-text-editor.d.ts +1 -1
- package/dist/panel/settings/common/data-field-selector.d.ts +1 -1
- package/dist/panel/settings/common/mantine-color.d.ts +1 -1
- package/dist/panel/settings/common/mantine-font-weight.d.ts +1 -1
- package/dist/panel/settings/common/numbro-format-selector.d.ts +1 -1
- package/dist/panel/settings/common/text-array-input.d.ts +1 -1
- package/dist/panel/title-bar.d.ts +1 -1
- package/dist/panel/viz/index.d.ts +1 -1
- package/dist/plugins/common-echarts-fields/axis-label-overflow/axis-label-overflow-field.d.ts +1 -1
- package/dist/plugins/common-echarts-fields/axis-label-overflow/overflow-field.d.ts +1 -1
- package/dist/plugins/common-echarts-fields/label-position/label-position-selector.d.ts +1 -1
- package/dist/plugins/common-echarts-fields/reference-area/field.d.ts +1 -1
- package/dist/plugins/controls/color-mapping-editor/index.d.ts +1 -1
- package/dist/plugins/hooks/use-tab-state.d.ts +1 -1
- package/dist/plugins/plugin-context.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/editors/echarts-zooming-field/index.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/index.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/index.d.ts +1 -1
- package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/label-overflow.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts +1 -1
- package/dist/plugins/viz-components/table/components/background-color-select.d.ts +1 -1
- package/dist/plugins/viz-components/table/editors/columns/func_content-editor.d.ts +1 -1
- package/dist/plugins/viz-components/table/value-type-selector.d.ts +1 -1
- package/dist/plugins/viz-components/text/editors/func-content/index.d.ts +1 -1
- package/dist/service-locator/use-service-locator.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/types/plugin/index.d.ts +1 -1
- package/dist/utils/error-boundary.d.ts +1 -1
- package/dist/utils/template/editor/template-input.d.ts +2 -2
- package/dist/utils/template/editor/variable-field.d.ts +1 -1
- package/dist/utils/template/editor/variable-style.d.ts +1 -1
- package/dist/utils/template/render/render-jsx.d.ts +1 -1
- package/dist/view/layout/read-only-layout.d.ts +1 -1
- package/dist/view/view-component/preview/division.d.ts +1 -1
- package/dist/view/view-component/preview/index.d.ts +1 -1
- package/dist/view/view-component/preview/modal.d.ts +1 -1
- package/dist/view/view-component/preview/tabs.d.ts +1 -1
- package/dist/view/view-component/render/division.d.ts +1 -1
- package/dist/view/view-component/render/index.d.ts +1 -1
- package/dist/view/view-component/render/modal.d.ts +1 -1
- package/dist/view/view-component/render/tabs.d.ts +1 -1
- package/dist/view/view-editor.d.ts +1 -1
- package/dist/view/view-render.d.ts +1 -1
- package/package.json +2 -1
|
@@ -4,5 +4,5 @@ interface IFilterEditorCheckbox {
|
|
|
4
4
|
config: IFilterConfig_Checkbox;
|
|
5
5
|
index: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const FilterEditorCheckbox: import(
|
|
7
|
+
export declare const FilterEditorCheckbox: import('./react').FunctionComponent<IFilterEditorCheckbox>;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ import { IFilterConfig_DateRange } from '../../model/filters/filter/date-range';
|
|
|
3
3
|
interface IFilterEditorDateRange {
|
|
4
4
|
config: IFilterConfig_DateRange;
|
|
5
5
|
}
|
|
6
|
-
export declare const FilterEditorDateRange: import(
|
|
6
|
+
export declare const FilterEditorDateRange: import('./react').FunctionComponent<IFilterEditorDateRange>;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ import { IFilterConfig_MultiSelect } from '../../model/filters/filter/multi-sele
|
|
|
3
3
|
interface IFilterEditorMultiSelect {
|
|
4
4
|
config: IFilterConfig_MultiSelect;
|
|
5
5
|
}
|
|
6
|
-
export declare const FilterEditorMultiSelect: import(
|
|
6
|
+
export declare const FilterEditorMultiSelect: import('./react').FunctionComponent<IFilterEditorMultiSelect>;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ import { IFilterConfig_Select } from '../../model/filters/filter/select';
|
|
|
3
3
|
interface IFilterEditorSelect {
|
|
4
4
|
config: IFilterConfig_Select;
|
|
5
5
|
}
|
|
6
|
-
export declare const FilterEditorSelect: import(
|
|
6
|
+
export declare const FilterEditorSelect: import('./react').FunctionComponent<IFilterEditorSelect>;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ import { IFilterConfig_TextInput } from '../../model/filters/filter/text-input';
|
|
|
3
3
|
interface IFilterEditorTextInput {
|
|
4
4
|
config: IFilterConfig_TextInput;
|
|
5
5
|
}
|
|
6
|
-
export declare const FilterEditorTextInput: import(
|
|
6
|
+
export declare const FilterEditorTextInput: import('./react').FunctionComponent<IFilterEditorTextInput>;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ import { IFilterConfig_TreeSelect } from '../../model/filters/filter/tree-select
|
|
|
3
3
|
interface IFilterEditorTreeSelect {
|
|
4
4
|
config: IFilterConfig_TreeSelect;
|
|
5
5
|
}
|
|
6
|
-
export declare const FilterEditorTreeSelect: import(
|
|
6
|
+
export declare const FilterEditorTreeSelect: import('./react').FunctionComponent<IFilterEditorTreeSelect>;
|
|
7
7
|
export {};
|
package/dist/filter/filter.d.ts
CHANGED
package/dist/filter/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ interface ItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
|
3
3
|
label: string;
|
|
4
4
|
description: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const FilterSelectItem: import(
|
|
6
|
+
export declare const FilterSelectItem: import('./react').ForwardRefExoticComponent<ItemProps & import('./react').RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Position } from 'reactflow';
|
|
3
|
-
export declare const InteractionNode: import(
|
|
3
|
+
export declare const InteractionNode: import('./react').MemoExoticComponent<({ data, isConnectable, sourcePosition, targetPosition, ...rest }: {
|
|
4
4
|
data: any;
|
|
5
5
|
isConnectable: boolean;
|
|
6
6
|
sourcePosition?: Position | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode } from './react';
|
|
2
2
|
import { TInteraction, TInteractionLine } from './types';
|
|
3
3
|
export declare const IconMap: Record<string, ReactNode>;
|
|
4
4
|
export declare function getInteractionLines(interactions: TInteraction[]): TInteractionLine[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from './react';
|
|
2
2
|
export declare const PickQuery: React.FunctionComponent<object>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PanelModelInstance } from '~/model/panels';
|
|
3
3
|
import { ViewModelInstance } from '..';
|
|
4
|
-
export declare const FullScreenPanel: import(
|
|
4
|
+
export declare const FullScreenPanel: import('./react').FunctionComponent<{
|
|
5
5
|
view: ViewModelInstance;
|
|
6
6
|
panel: PanelModelInstance;
|
|
7
7
|
exitFullScreen: () => void;
|
package/dist/panel/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ interface ICustomRichTextEditor {
|
|
|
7
7
|
label: string;
|
|
8
8
|
onSubmit?: () => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const CustomRichTextEditor: import(
|
|
10
|
+
export declare const CustomRichTextEditor: import('./react').ForwardRefExoticComponent<ICustomRichTextEditor & import('./react').RefAttributes<unknown>>;
|
|
11
11
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const PanelTitleBar: import(
|
|
2
|
+
export declare const PanelTitleBar: import('./react').FunctionComponent<object>;
|
package/dist/plugins/common-echarts-fields/axis-label-overflow/axis-label-overflow-field.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ interface ILabelOverflowField {
|
|
|
4
4
|
value: IAxisLabelOverflow;
|
|
5
5
|
onChange: (v: IAxisLabelOverflow) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const LabelOverflowField: import(
|
|
7
|
+
export declare const LabelOverflowField: import('./react').ForwardRefExoticComponent<ILabelOverflowField & import('./react').RefAttributes<unknown>>;
|
|
8
8
|
export {};
|
|
@@ -5,5 +5,5 @@ interface IOverflowField {
|
|
|
5
5
|
value: IEchartsOverflow;
|
|
6
6
|
onChange: (v: IEchartsOverflow) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const OverflowField: import(
|
|
8
|
+
export declare const OverflowField: import('./react').ForwardRefExoticComponent<IOverflowField & import('./react').RefAttributes<unknown>>;
|
|
9
9
|
export {};
|
|
@@ -6,5 +6,5 @@ interface ILabelPositionSelector {
|
|
|
6
6
|
onChange: (v: IEchartsLabelPosition) => void;
|
|
7
7
|
options?: LabelPositionOptionType[];
|
|
8
8
|
}
|
|
9
|
-
export declare const LabelPositionSelector: import(
|
|
9
|
+
export declare const LabelPositionSelector: import('./react').ForwardRefExoticComponent<ILabelPositionSelector & import('./react').RefAttributes<HTMLInputElement>>;
|
|
10
10
|
export {};
|
|
@@ -12,5 +12,5 @@ interface IReferenceAreaField {
|
|
|
12
12
|
xAxisOptions?: SelectorOptionType[];
|
|
13
13
|
yAxisOptions?: SelectorOptionType[];
|
|
14
14
|
}
|
|
15
|
-
export declare const ReferenceAreaField: import(
|
|
15
|
+
export declare const ReferenceAreaField: import('./react').ForwardRefExoticComponent<IReferenceAreaField & import('./react').RefAttributes<unknown>>;
|
|
16
16
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare function useTabState(initialTab: string | null): {
|
|
3
3
|
tab: string | null;
|
|
4
|
-
setTab: import(
|
|
4
|
+
setTab: import('./react').Dispatch<import('./react').SetStateAction<string | null>>;
|
|
5
5
|
};
|
|
@@ -2795,4 +2795,4 @@ export declare const tokens: {
|
|
|
2795
2795
|
};
|
|
2796
2796
|
};
|
|
2797
2797
|
export declare const createPluginContext: () => IPluginContextProps;
|
|
2798
|
-
export declare const PluginContext: import(
|
|
2798
|
+
export declare const PluginContext: import('./react').Context<IPluginContextProps>;
|
|
@@ -4,5 +4,5 @@ interface IEchartsZoomingField {
|
|
|
4
4
|
value: TEchartsDataZoomConfig;
|
|
5
5
|
onChange: (v: TEchartsDataZoomConfig) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const EchartsZoomingField: import(
|
|
7
|
+
export declare const EchartsZoomingField: import('./react').ForwardRefExoticComponent<IEchartsZoomingField & import('./react').RefAttributes<unknown>>;
|
|
8
8
|
export {};
|
|
@@ -7,5 +7,5 @@ interface IScatterSizeSelect {
|
|
|
7
7
|
onChange: (v: TScatterSize) => void;
|
|
8
8
|
data: AnyObject[];
|
|
9
9
|
}
|
|
10
|
-
export declare const ScatterSizeSelect: import(
|
|
10
|
+
export declare const ScatterSizeSelect: import('./react').ForwardRefExoticComponent<IScatterSizeSelect & import('./react').RefAttributes<HTMLInputElement>>;
|
|
11
11
|
export {};
|
package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ interface IXAxisLabelFormatterField {
|
|
|
6
6
|
onChange: (v: IXAxisLabelFormatter) => void;
|
|
7
7
|
data: AnyObject[];
|
|
8
8
|
}
|
|
9
|
-
export declare const XAxisLabelFormatterField: import(
|
|
9
|
+
export declare const XAxisLabelFormatterField: import('./react').ForwardRefExoticComponent<IXAxisLabelFormatterField & import('./react').RefAttributes<unknown>>;
|
|
10
10
|
export {};
|
package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ interface IXAxisLabelFormatterField {
|
|
|
6
6
|
onChange: (v: IXAxisLabelFormatter) => void;
|
|
7
7
|
data: AnyObject[];
|
|
8
8
|
}
|
|
9
|
-
export declare const XAxisLabelFormatterField: import(
|
|
9
|
+
export declare const XAxisLabelFormatterField: import('./react').ForwardRefExoticComponent<IXAxisLabelFormatterField & import('./react').RefAttributes<unknown>>;
|
|
10
10
|
export {};
|
|
@@ -4,5 +4,5 @@ interface IScatterLabelOverflowField {
|
|
|
4
4
|
value: IScatterLabelOverflow;
|
|
5
5
|
onChange: (v: IScatterLabelOverflow) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const ScatterLabelOverflowField: import(
|
|
7
|
+
export declare const ScatterLabelOverflowField: import('./react').ForwardRefExoticComponent<IScatterLabelOverflowField & import('./react').RefAttributes<unknown>>;
|
|
8
8
|
export {};
|
package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ interface IScatterSizeSelect {
|
|
|
7
7
|
onChange: (v: TScatterSize) => void;
|
|
8
8
|
data: AnyObject[];
|
|
9
9
|
}
|
|
10
|
-
export declare const ScatterSizeSelect: import(
|
|
10
|
+
export declare const ScatterSizeSelect: import('./react').ForwardRefExoticComponent<IScatterSizeSelect & import('./react').RefAttributes<HTMLInputElement>>;
|
|
11
11
|
export {};
|
package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ interface ISeriesColorSelect {
|
|
|
7
7
|
onChange: (v: TSeriesColor) => void;
|
|
8
8
|
data: AnyObject[];
|
|
9
9
|
}
|
|
10
|
-
export declare const SeriesColorSelect: import(
|
|
10
|
+
export declare const SeriesColorSelect: import('./react').ForwardRefExoticComponent<ISeriesColorSelect & import('./react').RefAttributes<HTMLInputElement>>;
|
|
11
11
|
export {};
|
package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ interface IXAxisLabelFormatterField {
|
|
|
6
6
|
onChange: (v: IXAxisLabelFormatter) => void;
|
|
7
7
|
data: AnyObject[];
|
|
8
8
|
}
|
|
9
|
-
export declare const XAxisLabelFormatterField: import(
|
|
9
|
+
export declare const XAxisLabelFormatterField: import('./react').ForwardRefExoticComponent<IXAxisLabelFormatterField & import('./react').RefAttributes<unknown>>;
|
|
10
10
|
export {};
|
|
@@ -4,4 +4,4 @@ export interface IBackgroundColorSelectProps {
|
|
|
4
4
|
value?: CellBackgroundColorType;
|
|
5
5
|
onChange?: (value: CellBackgroundColorType) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const BackgroundColorSelect: import(
|
|
7
|
+
export declare const BackgroundColorSelect: import('./react').ForwardRefExoticComponent<IBackgroundColorSelectProps & import('./react').RefAttributes<unknown>>;
|
|
@@ -3,5 +3,5 @@ interface IFuncContentEditor {
|
|
|
3
3
|
value: string;
|
|
4
4
|
onChange: (v: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const FuncContentEditor: import(
|
|
6
|
+
export declare const FuncContentEditor: import('./react').ForwardRefExoticComponent<IFuncContentEditor & import('./react').RefAttributes<unknown>>;
|
|
7
7
|
export {};
|
|
@@ -6,5 +6,5 @@ interface IValueTypeSelector {
|
|
|
6
6
|
onChange: (value: string) => void;
|
|
7
7
|
sx?: Sx;
|
|
8
8
|
}
|
|
9
|
-
export declare const ValueTypeSelector: import(
|
|
9
|
+
export declare const ValueTypeSelector: import('./react').ForwardRefExoticComponent<IValueTypeSelector & import('./react').RefAttributes<HTMLInputElement>>;
|
|
10
10
|
export {};
|
|
@@ -3,5 +3,5 @@ interface IFuncContentField {
|
|
|
3
3
|
value: string;
|
|
4
4
|
onChange: (v: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const FuncContentField: import(
|
|
6
|
+
export declare const FuncContentField: import('./react').ForwardRefExoticComponent<IFuncContentField & import('./react').RefAttributes<unknown>>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from './react';
|
|
2
2
|
import { IServiceLocator } from '~/service-locator/index';
|
|
3
3
|
export declare const ServiceLocatorContext: React.Context<IServiceLocator>;
|
|
4
4
|
export declare function ServiceLocatorProvider(props: {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.panel-root{height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;position:relative}.panel-dropdown-target{text-align:center;transition:background-color .3s ease}.panel-dropdown-target:hover{cursor:pointer;background-color:#6464640d}.viz-root{width:100%;overflow:auto;flex-grow:1;background-color:#fff}.dashboard-layout{margin:5px}.react-grid-item{padding:0}.panel-grid-item{padding:5px;min-height:38px}.remove-panel{position:absolute;right:2px;top:0;cursor:pointer}.code-textarea textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.preview-sql-in-monaco-editor{overflow:hidden}.react-flow__node-interaction{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 12px 6px #ff0;border-style:dashed}.dashboard-root{overflow:auto;overflow-x:hidden;padding:0;height:100%}.dashboard-view{position:relative;height:100%;overflow-y:auto;overflow-x:hidden;-ms-overflow-style:initial!important}.dashboard-sticky-area{z-index:100;background:white;margin:0;padding:0 10px}.mantine-RichTextEditor-root{overflow-y:auto!important;-ms-overflow-style:initial!important}.dashboard-root *:not(.mantine-RichTextEditor-root):not(.dashboard-view):not(.mantine-Modal-body):not([data-enable-scrollbar])::-webkit-scrollbar{width:0!important;height:0!important}.dashboard-root *:not([data-enable-scrollbar]){overflow:-moz-scrollbars-none;-ms-overflow-style:none}.function-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e}.minimal-monaco-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e;padding-top:14px}
|
|
1
|
+
.panel-root{height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;position:relative}.panel-dropdown-target{text-align:center;transition:background-color .3s ease}.panel-dropdown-target:hover{cursor:pointer;background-color:#6464640d}.viz-root{width:100%;overflow:auto;flex-grow:1;background-color:#fff}.dashboard-layout{margin:5px}.react-grid-item{padding:0}.panel-grid-item{padding:5px;min-height:38px}.remove-panel{position:absolute;right:2px;top:0;cursor:pointer}.code-textarea textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.preview-sql-in-monaco-editor{overflow:hidden}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectable{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:rgba(255,255,255,.5);padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__minimap{background-color:#fff}.react-flow__node-interaction{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 12px 6px #ff0;border-style:dashed}.dashboard-root{overflow:auto;overflow-x:hidden;padding:0;height:100%}.dashboard-view{position:relative;height:100%;overflow-y:auto;overflow-x:hidden;-ms-overflow-style:initial!important}.dashboard-sticky-area{z-index:100;background:white;margin:0;padding:0 10px}.mantine-RichTextEditor-root{overflow-y:auto!important;-ms-overflow-style:initial!important}.dashboard-root *:not(.mantine-RichTextEditor-root):not(.dashboard-view):not(.mantine-Modal-body):not([data-enable-scrollbar])::-webkit-scrollbar{width:0!important;height:0!important}.dashboard-root *:not([data-enable-scrollbar]){overflow:-moz-scrollbars-none;-ms-overflow-style:none}.function-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e}.minimal-monaco-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e;padding-top:14px}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TextInputProps } from '@mantine/core';
|
|
2
|
-
import { ChangeEventHandler } from 'react';
|
|
2
|
+
import { ChangeEventHandler } from './react';
|
|
3
3
|
interface ITemplateInput extends Omit<TextInputProps, 'value' | 'onChange'> {
|
|
4
4
|
value: string;
|
|
5
5
|
onChange: ChangeEventHandler<HTMLInputElement>;
|
|
6
6
|
}
|
|
7
|
-
export declare const TemplateInput: import(
|
|
7
|
+
export declare const TemplateInput: import('./react').ForwardRefExoticComponent<ITemplateInput & import('./react').RefAttributes<unknown>>;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from './react';
|
|
2
2
|
import { ITemplateVariable } from '../types';
|
|
3
3
|
export declare function variable2Jsx(variable: ITemplateVariable, data: Record<string, number>[]): JSX.Element;
|
|
4
4
|
export declare function templateToJSX(template: string, variables: ITemplateVariable[], data: Record<string, number>[]): (JSX.Element | React.ReactNode[])[];
|
|
@@ -4,5 +4,5 @@ interface IReadOnlyDashboardLayout {
|
|
|
4
4
|
view: ViewModelInstance;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const ReadOnlyDashboardLayout: import(
|
|
7
|
+
export declare const ReadOnlyDashboardLayout: import('./react').FunctionComponent<IReadOnlyDashboardLayout>;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ import { ViewModelInstance } from '..';
|
|
|
3
3
|
interface IDashboardViewEditor {
|
|
4
4
|
view: ViewModelInstance;
|
|
5
5
|
}
|
|
6
|
-
export declare const DashboardViewEditor: import(
|
|
6
|
+
export declare const DashboardViewEditor: import('./react').FunctionComponent<IDashboardViewEditor>;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ import { ViewModelInstance } from '..';
|
|
|
3
3
|
interface IDashboardViewRender {
|
|
4
4
|
view: ViewModelInstance;
|
|
5
5
|
}
|
|
6
|
-
export declare const DashboardViewRender: import(
|
|
6
|
+
export declare const DashboardViewRender: import('./react').FunctionComponent<IDashboardViewRender>;
|
|
7
7
|
export {};
|