@devtable/dashboard 12.5.0 → 12.8.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.
Files changed (143) hide show
  1. package/dist/components/filter/filter-date-range/widget/shortcuts/shortcuts.d.ts +1 -1
  2. package/dist/components/panel/settings/common/data-field-selector.d.ts +1 -0
  3. package/dist/components/panel/settings/common/mantine-size-selector.d.ts +6 -3
  4. package/dist/components/plugins/common-echarts-fields/axis-label-rotate/axis-label-rotate-input.d.ts +10 -0
  5. package/dist/components/plugins/common-echarts-fields/axis-label-rotate/index.d.ts +1 -0
  6. package/dist/components/plugins/common-echarts-fields/label-position/label-position-selector.d.ts +3 -2
  7. package/dist/components/plugins/common-echarts-fields/line-type/index.d.ts +2 -0
  8. package/dist/components/plugins/common-echarts-fields/line-type/line-type-selector.d.ts +11 -0
  9. package/dist/components/plugins/common-echarts-fields/line-type/types.d.ts +1 -0
  10. package/dist/components/plugins/common-echarts-fields/name-text-align/index.d.ts +2 -0
  11. package/dist/components/plugins/common-echarts-fields/name-text-align/name-text-align-selector.d.ts +12 -0
  12. package/dist/components/plugins/common-echarts-fields/name-text-align/types.d.ts +1 -0
  13. package/dist/components/plugins/common-echarts-fields/orientation/index.d.ts +2 -0
  14. package/dist/components/plugins/common-echarts-fields/orientation/orientation-selector.d.ts +12 -0
  15. package/dist/components/plugins/common-echarts-fields/orientation/types.d.ts +1 -0
  16. package/dist/components/plugins/common-echarts-fields/regression-line/types.d.ts +3 -2
  17. package/dist/components/plugins/{viz-components/cartesian/editors/scatter-size-select → common-echarts-fields/symbol-size}/dynamic-size-function-editor.d.ts +3 -3
  18. package/dist/components/plugins/common-echarts-fields/symbol-size/dynamic.d.ts +6 -0
  19. package/dist/components/plugins/common-echarts-fields/symbol-size/index.d.ts +2 -0
  20. package/dist/components/plugins/common-echarts-fields/symbol-size/static.d.ts +7 -0
  21. package/dist/components/plugins/common-echarts-fields/symbol-size/symbol-size-selector.d.ts +9 -0
  22. package/dist/components/plugins/common-echarts-fields/symbol-size/types.d.ts +13 -0
  23. package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +2 -1
  24. package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/index.d.ts +4 -9
  25. package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/types.d.ts +1 -1
  26. package/dist/components/plugins/{viz-components/cartesian/editors/x-axis/x-axis-label-formatter/index.d.ts → common-echarts-fields/x-axis-label-formatter/x-axis-label-formatter-field.d.ts} +1 -0
  27. package/dist/components/plugins/common-echarts-fields/x-axis-position/index.d.ts +2 -0
  28. package/dist/components/plugins/common-echarts-fields/x-axis-position/types.d.ts +1 -0
  29. package/dist/components/plugins/common-echarts-fields/x-axis-position/x-axis-position-selector.d.ts +11 -0
  30. package/dist/components/plugins/common-echarts-fields/y-axis-position/index.d.ts +2 -0
  31. package/dist/components/plugins/common-echarts-fields/y-axis-position/types.d.ts +1 -0
  32. package/dist/components/plugins/common-echarts-fields/y-axis-position/y-axis-position-selector.d.ts +11 -0
  33. package/dist/components/plugins/editor-components/color-type/color-type-selector.d.ts +11 -0
  34. package/dist/components/plugins/editor-components/color-type/index.d.ts +2 -0
  35. package/dist/components/plugins/editor-components/color-type/type.d.ts +1 -0
  36. package/dist/components/plugins/editor-components/flex/align-items-selector.d.ts +11 -0
  37. package/dist/components/plugins/editor-components/flex/index.d.ts +3 -0
  38. package/dist/components/plugins/editor-components/flex/justify-content-selector.d.ts +11 -0
  39. package/dist/components/plugins/editor-components/flex/type.d.ts +2 -0
  40. package/dist/components/plugins/editor-components/horizontal-align-selector.d.ts +11 -0
  41. package/dist/components/plugins/editor-components/index.d.ts +7 -0
  42. package/dist/components/plugins/editor-components/vertical-align-selector.d.ts +11 -0
  43. package/dist/components/plugins/editor-components/viz-config-banner.d.ts +5 -0
  44. package/dist/components/plugins/plugin-context.d.ts +1 -0
  45. package/dist/components/plugins/viz-components/bar-3d-chart/translation.d.ts +2 -0
  46. package/dist/components/plugins/viz-components/boxplot-chart/option/index.d.ts +10 -2
  47. package/dist/components/plugins/viz-components/boxplot-chart/option/legend.d.ts +3 -1
  48. package/dist/components/plugins/viz-components/boxplot-chart/option/tooltip/index.d.ts +3 -1
  49. package/dist/components/plugins/viz-components/boxplot-chart/option/type.d.ts +5 -0
  50. package/dist/components/plugins/viz-components/boxplot-chart/translation.d.ts +2 -0
  51. package/dist/components/plugins/viz-components/boxplot-chart/type.d.ts +3 -3
  52. package/dist/components/plugins/viz-components/button/translation.d.ts +2 -0
  53. package/dist/components/plugins/viz-components/button/type.d.ts +3 -2
  54. package/dist/components/plugins/viz-components/calendar-heatmap/option/formatters.d.ts +1 -1
  55. package/dist/components/plugins/viz-components/calendar-heatmap/translation.d.ts +2 -0
  56. package/dist/components/plugins/viz-components/cartesian/migrators/index.d.ts +1 -1
  57. package/dist/components/plugins/viz-components/cartesian/option/series/get-echarts-symbol-size.d.ts +2 -0
  58. package/dist/components/plugins/viz-components/cartesian/option/series/reference_lines.d.ts +1 -1
  59. package/dist/components/plugins/viz-components/cartesian/translation.d.ts +2 -0
  60. package/dist/components/plugins/viz-components/cartesian/type.d.ts +15 -10
  61. package/dist/components/plugins/viz-components/funnel/translation.d.ts +2 -0
  62. package/dist/components/plugins/viz-components/funnel/type.d.ts +2 -1
  63. package/dist/components/plugins/viz-components/heatmap/option/formatters.d.ts +1 -1
  64. package/dist/components/plugins/viz-components/heatmap/option/x-axis.d.ts +1 -1
  65. package/dist/components/plugins/viz-components/heatmap/option/y-axis.d.ts +1 -1
  66. package/dist/components/plugins/viz-components/heatmap/translation.d.ts +2 -0
  67. package/dist/components/plugins/viz-components/heatmap/type.d.ts +3 -2
  68. package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/reference_lines.d.ts +2 -2
  69. package/dist/components/plugins/viz-components/horizontal-bar-chart/translation.d.ts +2 -0
  70. package/dist/components/plugins/viz-components/horizontal-bar-chart/type.d.ts +11 -6
  71. package/dist/components/plugins/viz-components/merico-estimation-chart/option/x-axis.d.ts +1 -1
  72. package/dist/components/plugins/viz-components/merico-estimation-chart/translation.d.ts +2 -0
  73. package/dist/components/plugins/viz-components/merico-estimation-chart/type.d.ts +1 -1
  74. package/dist/components/plugins/viz-components/merico-heatmap/render/option/formatters.d.ts +1 -1
  75. package/dist/components/plugins/viz-components/merico-heatmap/render/option/x-axis.d.ts +1 -1
  76. package/dist/components/plugins/viz-components/merico-heatmap/render/option/y-axis.d.ts +1 -1
  77. package/dist/components/plugins/viz-components/merico-heatmap/translation.d.ts +2 -0
  78. package/dist/components/plugins/viz-components/merico-heatmap/type.d.ts +4 -3
  79. package/dist/components/plugins/viz-components/merico-stats/translation.d.ts +2 -0
  80. package/dist/components/plugins/viz-components/merico-stats/type.d.ts +3 -3
  81. package/dist/components/plugins/viz-components/pareto-chart/translation.d.ts +2 -0
  82. package/dist/components/plugins/viz-components/pareto-chart/type.d.ts +4 -3
  83. package/dist/components/plugins/viz-components/pie-chart/translation.d.ts +2 -0
  84. package/dist/components/plugins/viz-components/radar-chart/translation.d.ts +2 -0
  85. package/dist/components/plugins/viz-components/regression-chart/migrators/index.d.ts +1 -1
  86. package/dist/components/plugins/viz-components/regression-chart/translation.d.ts +2 -0
  87. package/dist/components/plugins/viz-components/regression-chart/type.d.ts +1 -1
  88. package/dist/components/plugins/viz-components/rich-text/translation.d.ts +2 -0
  89. package/dist/components/plugins/viz-components/scatter-chart/option/get-echarts-symbol-size.d.ts +2 -0
  90. package/dist/components/plugins/viz-components/scatter-chart/translation.d.ts +2 -0
  91. package/dist/components/plugins/viz-components/scatter-chart/type.d.ts +5 -4
  92. package/dist/components/plugins/viz-components/stats/translation.d.ts +2 -0
  93. package/dist/components/plugins/viz-components/stats/type.d.ts +3 -2
  94. package/dist/components/plugins/viz-components/sunburst/translation.d.ts +2 -0
  95. package/dist/components/plugins/viz-components/table/translation.d.ts +2 -0
  96. package/dist/components/plugins/viz-components/table/type.d.ts +2 -1
  97. package/dist/components/plugins/viz-components/table/value-type-selector.d.ts +0 -1
  98. package/dist/components/plugins/viz-components/text/translation.d.ts +2 -0
  99. package/dist/components/plugins/viz-components/text/type.d.ts +2 -1
  100. package/dist/components/plugins/viz-components/viz-merico-gqm/translation.d.ts +2 -0
  101. package/dist/contexts/dates-provider.d.ts +4 -0
  102. package/dist/contexts/index.d.ts +1 -0
  103. package/dist/dashboard-editor/model/filters/index.d.ts +6 -0
  104. package/dist/dashboard.es.js +17085 -15890
  105. package/dist/dashboard.umd.js +117 -122
  106. package/dist/i18n/en.d.ts +543 -6
  107. package/dist/i18n/zh.d.ts +543 -6
  108. package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +1 -0
  109. package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +9 -0
  110. package/dist/model/render-model/dashboard/content/filters/filters.d.ts +6 -0
  111. package/dist/stats.html +1 -1
  112. package/dist/types/plugin/index.d.ts +5 -0
  113. package/package.json +1 -1
  114. package/dist/components/panel/settings/common/css-types.d.ts +0 -10
  115. package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/dynamic.d.ts +0 -6
  116. package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/get-echarts-symbol-size.d.ts +0 -2
  117. package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/index.d.ts +0 -9
  118. package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/static.d.ts +0 -7
  119. package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/types.d.ts +0 -13
  120. package/dist/components/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
  121. package/dist/components/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -2
  122. package/dist/components/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -8
  123. package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
  124. package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -3
  125. package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -8
  126. package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -8
  127. package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
  128. package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -3
  129. package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -8
  130. package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -8
  131. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic-size-function-editor.d.ts +0 -7
  132. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic.d.ts +0 -6
  133. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/get-echarts-symbol-size.d.ts +0 -2
  134. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts +0 -9
  135. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/static.d.ts +0 -7
  136. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/types.d.ts +0 -13
  137. package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
  138. package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -2
  139. package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -8
  140. package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -5
  141. /package/dist/components/plugins/{controls → editor-components}/color-interpolation-select/index.d.ts +0 -0
  142. /package/dist/components/plugins/{controls → editor-components}/color-mapping-editor/index.d.ts +0 -0
  143. /package/dist/components/plugins/{controls → editor-components}/color-mapping-editor/style.d.ts +0 -0
@@ -83,6 +83,10 @@ export interface IConfigMigrationContext {
83
83
  export interface IConfigMigrationExecContext extends IConfigMigrationContext {
84
84
  panelModel: PanelModelInstance;
85
85
  }
86
+ export type TranslationPatch = {
87
+ lang: 'en' | 'zh';
88
+ resources: Record<string, any>;
89
+ }[];
86
90
  export interface VizComponent {
87
91
  name: string;
88
92
  displayName?: string;
@@ -95,6 +99,7 @@ export interface VizComponent {
95
99
  config: AnyObject;
96
100
  };
97
101
  triggers?: ITriggerSchema[];
102
+ translation?: TranslationPatch;
98
103
  }
99
104
  export interface IPanelScopeConfigMigrator {
100
105
  needMigration(ctx: IConfigMigrationContext): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "12.5.0",
3
+ "version": "12.8.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,10 +0,0 @@
1
- export type TJustifyContent = 'center' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly';
2
- export declare const JustifyContentOptions: {
3
- label: string;
4
- value: TJustifyContent;
5
- }[];
6
- export type TAlignItems = 'start' | 'center' | 'end' | 'stretch';
7
- export declare const AlignItemsOptions: {
8
- label: string;
9
- value: TAlignItems;
10
- }[];
@@ -1,6 +0,0 @@
1
- import { TScatterSize } from './types';
2
- export interface IDynamicScatterSizeField {
3
- value: TScatterSize;
4
- onChange: (v: TScatterSize) => void;
5
- }
6
- export declare const DynamicScatterSizeField: ({ value, onChange }: IDynamicScatterSizeField) => import('./react/jsx-runtime').JSX.Element | null;
@@ -1,2 +0,0 @@
1
- import { TScatterSize } from './types';
2
- export declare function getEchartsSymbolSize({ type, ...rest }: TScatterSize, data: TPanelData, x_axis_data_key: string, variableValueMap: Record<string, string | number>): number | ((_value: number, params: $TSFixMe) => any);
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { TScatterSize } from './types';
3
- interface IScatterSizeSelect {
4
- label?: string;
5
- value: TScatterSize;
6
- onChange: (v: TScatterSize) => void;
7
- }
8
- export declare const ScatterSizeSelect: import('./react').ForwardRefExoticComponent<IScatterSizeSelect & import('./react').RefAttributes<HTMLInputElement>>;
9
- export {};
@@ -1,7 +0,0 @@
1
- import { TScatterSize } from './types';
2
- interface IStaticScatterSizeField {
3
- value: TScatterSize;
4
- onChange: (v: TScatterSize) => void;
5
- }
6
- export declare const StaticScatterSizeField: ({ value, onChange }: IStaticScatterSizeField) => import('./react/jsx-runtime').JSX.Element | null;
7
- export {};
@@ -1,13 +0,0 @@
1
- export type TScatterSize_Static = {
2
- type: 'static';
3
- size: number;
4
- };
5
- export type TScatterSize_Dynamic = {
6
- type: 'dynamic';
7
- func_content: string;
8
- };
9
- export type TScatterSize = TScatterSize_Static | TScatterSize_Dynamic;
10
- export declare const DEFAULT_SCATTER_SIZE: {
11
- static: TScatterSize_Static;
12
- dynamic: TScatterSize_Dynamic;
13
- };
@@ -1,7 +0,0 @@
1
- interface IXAxisLabelFormatterFunctionEditor {
2
- disabled: boolean;
3
- value: string;
4
- onChange: (v: string) => void;
5
- }
6
- export declare const XAxisLabelFormatterFunctionEditor: ({ disabled, value, onChange, }: IXAxisLabelFormatterFunctionEditor) => import('./react/jsx-runtime').JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- import { IXAxisLabelFormatter } from './types';
2
- export declare function getEchartsXAxisLabel({ enabled, func_content }: IXAxisLabelFormatter): (value: number | string, index: number) => any;
@@ -1,8 +0,0 @@
1
- export interface IXAxisLabelFormatter {
2
- enabled: boolean;
3
- func_content: string;
4
- }
5
- export declare const DEFAULT_X_AXIS_LABEL_FORMATTER: {
6
- enabled: boolean;
7
- func_content: string;
8
- };
@@ -1,7 +0,0 @@
1
- interface IXAxisLabelFormatterFunctionEditor {
2
- disabled: boolean;
3
- value: string;
4
- onChange: (v: string) => void;
5
- }
6
- export declare const XAxisLabelFormatterFunctionEditor: ({ disabled, value, onChange, }: IXAxisLabelFormatterFunctionEditor) => import('./react/jsx-runtime').JSX.Element;
7
- export {};
@@ -1,3 +0,0 @@
1
- import { IXAxisLabelFormatter } from './types';
2
- export type FormatterFuncType = (value: string | number, index?: number) => string | number;
3
- export declare function getEchartsXAxisLabel({ enabled, func_content }: IXAxisLabelFormatter): FormatterFuncType;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { IXAxisLabelFormatter } from './types';
3
- interface IXAxisLabelFormatterField {
4
- value: IXAxisLabelFormatter;
5
- onChange: (v: IXAxisLabelFormatter) => void;
6
- }
7
- export declare const XAxisLabelFormatterField: import('./react').ForwardRefExoticComponent<IXAxisLabelFormatterField & import('./react').RefAttributes<unknown>>;
8
- export {};
@@ -1,8 +0,0 @@
1
- export interface IXAxisLabelFormatter {
2
- enabled: boolean;
3
- func_content: string;
4
- }
5
- export declare const DEFAULT_X_AXIS_LABEL_FORMATTER: {
6
- enabled: boolean;
7
- func_content: string;
8
- };
@@ -1,7 +0,0 @@
1
- interface IXAxisLabelFormatterFunctionEditor {
2
- disabled: boolean;
3
- value: string;
4
- onChange: (v: string) => void;
5
- }
6
- export declare const XAxisLabelFormatterFunctionEditor: ({ disabled, value, onChange, }: IXAxisLabelFormatterFunctionEditor) => import('./react/jsx-runtime').JSX.Element;
7
- export {};
@@ -1,3 +0,0 @@
1
- import { IXAxisLabelFormatter } from './types';
2
- export type FormatterFuncType = (value: string | number, index?: number) => string | number;
3
- export declare function getEchartsXAxisLabel({ enabled, func_content }: IXAxisLabelFormatter): FormatterFuncType;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { IXAxisLabelFormatter } from './types';
3
- interface IXAxisLabelFormatterField {
4
- value: IXAxisLabelFormatter;
5
- onChange: (v: IXAxisLabelFormatter) => void;
6
- }
7
- export declare const XAxisLabelFormatterField: import('./react').ForwardRefExoticComponent<IXAxisLabelFormatterField & import('./react').RefAttributes<unknown>>;
8
- export {};
@@ -1,8 +0,0 @@
1
- export interface IXAxisLabelFormatter {
2
- enabled: boolean;
3
- func_content: string;
4
- }
5
- export declare const DEFAULT_X_AXIS_LABEL_FORMATTER: {
6
- enabled: boolean;
7
- func_content: string;
8
- };
@@ -1,7 +0,0 @@
1
- import { TScatterSize_Dynamic } from './types';
2
- interface IDynamicSizeFunctionEditor {
3
- value: TScatterSize_Dynamic['func_content'];
4
- onChange: (v: TScatterSize_Dynamic['func_content']) => void;
5
- }
6
- export declare const DynamicSizeFunctionEditor: ({ value, onChange }: IDynamicSizeFunctionEditor) => import('./react/jsx-runtime').JSX.Element;
7
- export {};
@@ -1,6 +0,0 @@
1
- import { TScatterSize } from './types';
2
- export interface IDynamicScatterSizeField {
3
- value: TScatterSize;
4
- onChange: (v: TScatterSize) => void;
5
- }
6
- export declare const DynamicScatterSizeField: ({ value, onChange }: IDynamicScatterSizeField) => import('./react/jsx-runtime').JSX.Element | null;
@@ -1,2 +0,0 @@
1
- import { TScatterSize } from './types';
2
- export declare function getEchartsSymbolSize({ type, ...rest }: TScatterSize, variableValueMap: Record<string, string | number>): number | ((_value: number, params: $TSFixMe) => any);
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { TScatterSize } from './types';
3
- interface IScatterSizeSelect {
4
- label?: string;
5
- value: TScatterSize;
6
- onChange: (v: TScatterSize) => void;
7
- }
8
- export declare const ScatterSizeSelect: import('./react').ForwardRefExoticComponent<IScatterSizeSelect & import('./react').RefAttributes<HTMLInputElement>>;
9
- export {};
@@ -1,7 +0,0 @@
1
- import { TScatterSize } from './types';
2
- interface IStaticScatterSizeField {
3
- value: TScatterSize;
4
- onChange: (v: TScatterSize) => void;
5
- }
6
- export declare const StaticScatterSizeField: ({ value, onChange }: IStaticScatterSizeField) => import('./react/jsx-runtime').JSX.Element | null;
7
- export {};
@@ -1,13 +0,0 @@
1
- export type TScatterSize_Static = {
2
- type: 'static';
3
- size: number;
4
- };
5
- export type TScatterSize_Dynamic = {
6
- type: 'dynamic';
7
- func_content: string;
8
- };
9
- export type TScatterSize = TScatterSize_Static | TScatterSize_Dynamic;
10
- export declare const DEFAULT_SCATTER_SIZE: {
11
- static: TScatterSize_Static;
12
- dynamic: TScatterSize_Dynamic;
13
- };
@@ -1,7 +0,0 @@
1
- interface IXAxisLabelFormatterFunctionEditor {
2
- disabled: boolean;
3
- value: string;
4
- onChange: (v: string) => void;
5
- }
6
- export declare const XAxisLabelFormatterFunctionEditor: ({ disabled, value, onChange, }: IXAxisLabelFormatterFunctionEditor) => import('./react/jsx-runtime').JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- import { IXAxisLabelFormatter } from './types';
2
- export declare function getEchartsXAxisLabel({ enabled, func_content }: IXAxisLabelFormatter): (value: number | string, index: number) => any;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { IXAxisLabelFormatter } from './types';
3
- interface IXAxisLabelFormatterField {
4
- value: IXAxisLabelFormatter;
5
- onChange: (v: IXAxisLabelFormatter) => void;
6
- }
7
- export declare const XAxisLabelFormatterField: import('./react').ForwardRefExoticComponent<IXAxisLabelFormatterField & import('./react').RefAttributes<unknown>>;
8
- export {};
@@ -1,5 +0,0 @@
1
- export interface IXAxisLabelFormatter {
2
- enabled: boolean;
3
- func_content: string;
4
- }
5
- export declare function getDefaultXAxisLabelFormatter(): IXAxisLabelFormatter;