@univerjs-pro/sheets-chart-ui 1.0.0 → 1.0.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.
Files changed (120) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +19 -19
  82. package/lib/types/controllers/menu.schema.d.ts +0 -2
  83. package/lib/types/controllers/sheets-chart-ui.controller.d.ts +0 -54
  84. package/lib/types/hooks.d.ts +0 -5
  85. package/lib/types/views/chart-edit-panel/Options.d.ts +0 -223
  86. package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +0 -7
  87. package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +0 -8
  88. package/lib/types/views/chart-edit-panel/button-switch/index.d.ts +0 -1
  89. package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +0 -6
  90. package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +0 -13
  91. package/lib/types/views/chart-edit-panel/data-tab-panel/index.d.ts +0 -1
  92. package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +0 -9
  93. package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +0 -18
  94. package/lib/types/views/chart-edit-panel/font-format-bar/index.d.ts +0 -1
  95. package/lib/types/views/chart-edit-panel/index.d.ts +0 -1
  96. package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +0 -12
  97. package/lib/types/views/chart-edit-panel/style-tab-panel/ChartNumfmtDialog.d.ts +0 -6
  98. package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +0 -26
  99. package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +0 -18
  100. package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +0 -9
  101. package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +0 -9
  102. package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +0 -8
  103. package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +0 -8
  104. package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +0 -8
  105. package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +0 -8
  106. package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +0 -10
  107. package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/index.d.ts +0 -1
  108. package/lib/types/views/chart-edit-panel/style-tab-panel/index.d.ts +0 -1
  109. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +0 -8
  110. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +0 -12
  111. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +0 -9
  112. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +0 -9
  113. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +0 -34
  114. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +0 -2
  115. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/index.d.ts +0 -1
  116. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +0 -9
  117. package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +0 -6
  118. package/lib/types/views/print-chart/index.d.ts +0 -9
  119. package/lib/types/wordcloud/index.d.ts +0 -2
  120. package/lib/types/wordcloud/layout.d.ts +0 -13
@@ -1,223 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { IChartOptionType } from '../../services/sheets-chart-ui.service';
3
- import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, ChartTrendlineType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, SelectModeEnum, SeriesLabelPosition, TextAlign, TextVerticalAlign, TitlePositionEnum, WaterfallStackTypeEnum } from '@univerjs-pro/engine-chart';
4
- export type OptionType = IChartOptionType;
5
- export declare const defaultOption: {
6
- label: string;
7
- value: string;
8
- };
9
- export declare const chartTypeToIcon: Record<string, ReactNode>;
10
- export declare const seriesChartTypeOptions: {
11
- label: string;
12
- value: string;
13
- }[];
14
- export declare const titleOptions: readonly [{
15
- readonly label: "sheets-chart-ui.titles.mainTitle";
16
- readonly value: "title";
17
- }, {
18
- readonly label: "sheets-chart-ui.titles.xAxisTitle";
19
- readonly value: "xAxisTitle";
20
- }, {
21
- readonly label: "sheets-chart-ui.titles.yAxisTitle";
22
- readonly value: "yAxisTitle";
23
- }, {
24
- readonly label: "sheets-chart-ui.titles.rightYAxisTitle";
25
- readonly value: "rightYAxisTitle";
26
- }];
27
- export type TitleOptionValue = typeof titleOptions[number]['value'] | 'subtitle';
28
- export declare const fontSizeOptions: readonly [{
29
- readonly label: "10";
30
- readonly value: "10";
31
- }, {
32
- readonly label: "12";
33
- readonly value: "12";
34
- }, {
35
- readonly label: "14";
36
- readonly value: "14";
37
- }, {
38
- readonly label: "16";
39
- readonly value: "16";
40
- }, {
41
- readonly label: "18";
42
- readonly value: "18";
43
- }, {
44
- readonly label: "20";
45
- readonly value: "20";
46
- }, {
47
- readonly label: "24";
48
- readonly value: "24";
49
- }, {
50
- readonly label: "30";
51
- readonly value: "30";
52
- }, {
53
- readonly label: "36";
54
- readonly value: "36";
55
- }];
56
- export declare const textAlignOptions: readonly [{
57
- readonly label: "sheets-chart-ui.align.left";
58
- readonly value: "left";
59
- }, {
60
- readonly label: "sheets-chart-ui.align.center";
61
- readonly value: "center";
62
- }, {
63
- readonly label: "sheets-chart-ui.align.right";
64
- readonly value: "right";
65
- }];
66
- export type TextAlignOptionValue = typeof textAlignOptions[number]['value'];
67
- export declare function getAllSeriesOption(): {
68
- label: string;
69
- value: string;
70
- };
71
- export declare const lineOpacityOptions: {
72
- label: string;
73
- value: string;
74
- }[];
75
- export declare const axisPositionOptions: {
76
- label: string;
77
- value: string;
78
- }[];
79
- export declare const borderDashTypeOptions: {
80
- label: string;
81
- value: ChartBorderDashType;
82
- }[];
83
- export declare const linePointShapeOptions: {
84
- label: string;
85
- value: LinePointShape;
86
- }[];
87
- export declare const linePointSizeOptions: {
88
- label: string;
89
- value: string;
90
- }[];
91
- export declare const borderWidthOptions: {
92
- label: string;
93
- value: string;
94
- }[];
95
- export declare const axisLabelRotateOptions: {
96
- label: string;
97
- value: string;
98
- }[];
99
- export declare const trendlineTypeOptions: {
100
- label: string;
101
- value: ChartTrendlineType;
102
- }[];
103
- export declare const trendlineToIcon: Record<string, ReactNode>;
104
- export declare const trendlineOrderOptions: {
105
- label: string;
106
- value: string;
107
- }[];
108
- export declare const dataLabelPositionOptions: {
109
- label: string;
110
- value: SeriesLabelPosition;
111
- }[];
112
- export declare const pieDataLabelPositionOptions: {
113
- label: string;
114
- value: PieLabelPosition;
115
- }[];
116
- export declare const legendLabelPositionOptions: {
117
- label: string;
118
- value: LegendPositionEnum;
119
- }[];
120
- export declare const legendSelectModeOptions: {
121
- label: string;
122
- value: SelectModeEnum;
123
- }[];
124
- export declare const legendVisualMapTypeOptions: {
125
- label: string;
126
- value: string;
127
- }[];
128
- export declare const titlePositionOptions: {
129
- label: string;
130
- value: TitlePositionEnum;
131
- }[];
132
- export declare const axisTitlePositionOptions: {
133
- label: string;
134
- value: AxisAlignEnum;
135
- }[];
136
- /**
137
- * chart title position options X
138
- */
139
- export declare const titlePositionXOptions: {
140
- label: string;
141
- value: TextAlign;
142
- }[];
143
- /**
144
- * chart title position options Y
145
- */
146
- export declare const titlePositionYOptions: {
147
- label: string;
148
- value: TextVerticalAlign;
149
- }[];
150
- export declare const axisListOptions: {
151
- value: string;
152
- label: string;
153
- }[];
154
- export declare const tickThicknessOptions: {
155
- label: string;
156
- value: string;
157
- }[];
158
- export declare const stackTypeOptions: OptionType[];
159
- export declare const areaLineTypeOptions: {
160
- label: string;
161
- value: AreaLineStyle;
162
- }[];
163
- export declare const pieDonutHoleOptions: {
164
- label: string;
165
- value: string;
166
- }[];
167
- export declare const radarShapeOptions: {
168
- label: string;
169
- value: RadarShape;
170
- }[];
171
- export declare const invalidValueOptions: {
172
- label: string;
173
- value: InvalidValueType;
174
- }[];
175
- export declare const labelContentTypeList: LabelContentType[];
176
- export declare const labelContentOptions: {
177
- value: string;
178
- label: string;
179
- }[];
180
- export declare const pieLabelContentOptions: {
181
- value: string;
182
- label: string;
183
- }[];
184
- export declare const tickLengthOptions: {
185
- label: string;
186
- value: string;
187
- }[];
188
- export declare const tickWidthOptions: {
189
- label: string;
190
- value: string;
191
- }[];
192
- export declare const RelationLayoutOptions: {
193
- label: string;
194
- value: string;
195
- }[];
196
- export declare const DateFormatList: {
197
- label: string;
198
- suffix: string;
199
- }[];
200
- export declare const ThousandsSeparatorFormatList: ({
201
- label: string;
202
- suffix: string;
203
- color?: undefined;
204
- } | {
205
- label: string;
206
- suffix: string;
207
- color: string;
208
- })[];
209
- export declare const CurrencyFormatList: ({
210
- label: (suffix: string) => string;
211
- suffix: (suffix: string) => string;
212
- color?: undefined;
213
- } | {
214
- label: (suffix: string) => string;
215
- suffix: (suffix: string) => string;
216
- color: string;
217
- })[];
218
- export declare const UNIVER_SHEET_CHART_FORMAT_DIALOG_ID = "univer-sheet-chart-format-dialog-id";
219
- export declare const UNIVER_SHEET_CHART_FORMAT_DIALOG = "univer-sheet-chart-format-dialog";
220
- export declare const waterfallStackTypeOptions: {
221
- label: string;
222
- value: WaterfallStackTypeEnum;
223
- }[];
@@ -1,7 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../services/sheets-chart-ui.service';
3
- export declare const RadarChartOptionsEdit: (props: {
4
- service: SheetsChartUIService;
5
- localeService: LocaleService;
6
- className?: string;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import type { OptionType } from '../Options';
2
- export interface IButtonSwitchProps {
3
- className?: string;
4
- options: OptionType[];
5
- value?: string;
6
- onChange?: (value: string) => void;
7
- }
8
- export declare const ButtonSwitch: (props: IButtonSwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from './ButtonSwitch';
@@ -1,6 +0,0 @@
1
- import type { Nullable } from '@univerjs/core';
2
- export interface IColorPickerControlProps {
3
- color: Nullable<string>;
4
- onChange?: (color: Nullable<string>) => void;
5
- }
6
- export declare const ColorPickerControl: (props: IColorPickerControlProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- interface IBubbleDataEditProps {
4
- service: SheetsChartUIService;
5
- localeService: LocaleService;
6
- }
7
- export interface IBubbleSeriesOption {
8
- label: string;
9
- value: string;
10
- isCategoryList: boolean;
11
- }
12
- export declare const BubbleDataEdit: (props: IBubbleDataEditProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1 +0,0 @@
1
- export * from './DataTabPanel';
@@ -1,9 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { OptionType } from '../Options';
3
- export interface IDropdownMenuProps {
4
- value: string;
5
- menus: OptionType[];
6
- children: ReactElement | ((visible: boolean) => ReactElement);
7
- onSelect?: (index: number | string) => void;
8
- }
9
- export declare const DropdownSelector: (props: IDropdownMenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- export interface IFontFormatStyle {
3
- fontSize: number;
4
- color: string;
5
- bold: boolean;
6
- italic: boolean;
7
- underline: boolean;
8
- strikethrough: boolean;
9
- align?: string;
10
- alignControl?: boolean;
11
- }
12
- export type PropertyChangeFunction<T, K extends keyof T = keyof T> = (name: K, value: T[K]) => void;
13
- export interface IFontFormatBarProps extends Partial<IFontFormatStyle> {
14
- localeService: LocaleService;
15
- className?: string;
16
- onChange?: PropertyChangeFunction<Omit<IFontFormatStyle, 'controls'>>;
17
- }
18
- export declare const FontFormatBar: (props: IFontFormatBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from './FontFormatBar';
@@ -1 +0,0 @@
1
- export * from './ChartEditPanel';
@@ -1,12 +0,0 @@
1
- import type { DeepPartial, IAxisOptions } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService, Nullable } from '@univerjs/core';
3
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
4
- export interface IAxisOptionsEditProps {
5
- localeService: LocaleService;
6
- valueAxis: boolean;
7
- canUseDateAxis: boolean;
8
- axisOptions: Nullable<DeepPartial<IAxisOptions>>;
9
- onChange?: (axisOptions: DeepPartial<IAxisOptions>) => void;
10
- sheetsChartUIService: SheetsChartUIService;
11
- }
12
- export declare const AxisOptionsEdit: (props: IAxisOptionsEditProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- interface IChartNumfmtPanelProps {
2
- originPattern?: string;
3
- onPatternApply?: (pattern: string | undefined) => void;
4
- }
5
- export declare const ChartNumfmtDialog: ({ originPattern, onPatternApply }: IChartNumfmtPanelProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,26 +0,0 @@
1
- import type { ChartTypeBits, IPieLabelStyle, ISeriesLabelStyle } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService, Nullable } from '@univerjs/core';
3
- import type { PropertyChangeFunction } from '../font-format-bar';
4
- import type { OptionType } from '../Options';
5
- type UnionLabelStyle = ISeriesLabelStyle | IPieLabelStyle;
6
- export interface IDataLabelOptionsProps {
7
- localeService: LocaleService;
8
- chartType: Nullable<ChartTypeBits>;
9
- fallbackLabelStyle?: Partial<UnionLabelStyle>;
10
- labelStyle: Partial<UnionLabelStyle>;
11
- contentTypeOptions?: OptionType[];
12
- positionOptions?: OptionType[];
13
- onVisibleChange?: (visible: boolean) => void;
14
- onPadAngleChange?: (padAngle: boolean) => void;
15
- onLabelStyleChange?: PropertyChangeFunction<UnionLabelStyle>;
16
- isPieLike: boolean;
17
- padAngleStyle?: Nullable<boolean>;
18
- onHalfPieChange?: (isHalfPie: boolean) => void;
19
- isHalfPie?: Nullable<boolean>;
20
- isRosePie?: Nullable<boolean>;
21
- onRosePieChange?: (isRosePie: boolean) => void;
22
- onShowLabelLineChange?: (showLabelLine: boolean) => void;
23
- showLabelLine?: Nullable<boolean>;
24
- }
25
- export declare const DataLabelOptions: (props: IDataLabelOptionsProps) => import("react/jsx-runtime").JSX.Element;
26
- export {};
@@ -1,18 +0,0 @@
1
- import type { ChartBorderDashType } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService } from '@univerjs/core';
3
- interface IIndicatorChangeInfo {
4
- indicatorLabelColor?: string;
5
- indicatorLineType?: ChartBorderDashType;
6
- indicatorLineColor?: string;
7
- indicatorLabelTextColor?: string;
8
- }
9
- export interface IIndicatorLineProps {
10
- localeService: LocaleService;
11
- indicatorLabelColor: string;
12
- indicatorLineType: ChartBorderDashType;
13
- indicatorLineColor: string;
14
- indicatorLabelTextColor: string;
15
- onChange?: (v: IIndicatorChangeInfo) => void;
16
- }
17
- export declare const IndicatorLine: (props: IIndicatorLineProps) => import("react/jsx-runtime").JSX.Element;
18
- export {};
@@ -1,9 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- interface ITrendLineStyleEditProps {
4
- service: SheetsChartUIService;
5
- localeService: LocaleService;
6
- isLineSeries: boolean;
7
- }
8
- export declare const ParetoStyleEdit: (props: ITrendLineStyleEditProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- import type { LocaleService, Nullable } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
- export declare const PieChartStyleEdit: (props: {
5
- chartType: Nullable<ChartTypeBits>;
6
- service: SheetsChartUIService;
7
- localeService: LocaleService;
8
- onChartTypeChange?: (chartType: ChartTypeBits) => void;
9
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- interface IRelationEditProps {
4
- service: SheetsChartUIService;
5
- localeService: LocaleService;
6
- }
7
- export declare function RelationEdit(props: IRelationEditProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,8 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- interface ITrendLineStyleEditProps {
4
- uiService: SheetsChartUIService;
5
- localeService: LocaleService;
6
- }
7
- export declare const TrendLineStyleEdit: (props: ITrendLineStyleEditProps) => import("react/jsx-runtime").JSX.Element | null;
8
- export {};
@@ -1,8 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- interface IWaterfallSeriesEditProps {
4
- service: SheetsChartUIService;
5
- localeService: LocaleService;
6
- }
7
- export declare const WaterfallSeriesEdit: (props: IWaterfallSeriesEditProps) => import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,8 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
3
- interface IWordCloudShapeSelectorProps {
4
- service: SheetsChartUIService;
5
- localeService: LocaleService;
6
- }
7
- export declare function WordCloudShapeSelector(props: IWordCloudShapeSelectorProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,10 +0,0 @@
1
- import type { IRuntimeAxis } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService, Nullable } from '@univerjs/core';
3
- import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
4
- export interface IGridLineAndTickOptionsProps {
5
- className?: string;
6
- service: SheetsChartUIService;
7
- localeService: LocaleService;
8
- runtimeAxes: Nullable<IRuntimeAxis[]>;
9
- }
10
- export declare const GridLineAndTickOptions: (props: IGridLineAndTickOptionsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from './GridLineAndTickOptions';
@@ -1 +0,0 @@
1
- export * from './StyleTabPanel';
@@ -1,8 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
3
- export interface ICombinationChartTypeSelectProps {
4
- localeService: LocaleService;
5
- service: SheetsChartUIService;
6
- seriesId: string;
7
- }
8
- export declare const CombinationChartTypeSelect: (props: ICombinationChartTypeSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- import type { DeepPartial, ISeriesStyle } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService, Nullable } from '@univerjs/core';
3
- import type { IChartOptionType } from '../../../../services/sheets-chart-ui.service';
4
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
5
- export interface IDataPointsEditProps {
6
- chartType: Nullable<ChartTypeBits>;
7
- data: DeepPartial<ISeriesStyle['dataPoints']>;
8
- options: IChartOptionType[];
9
- localeService: LocaleService;
10
- onChange?: (style: DeepPartial<ISeriesStyle['dataPoints']>) => void;
11
- }
12
- export declare const DataPointsEdit: (props: IDataPointsEditProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- import type { DeepPartial, IPointStyle, ISeriesStyle } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService } from '@univerjs/core';
3
- interface IRadarSeriesPointProps {
4
- localeService: LocaleService;
5
- setSeriesStyle: (style: DeepPartial<ISeriesStyle>) => void;
6
- pointStyle?: IPointStyle;
7
- }
8
- export declare const RadarSeriesPoint: (props: IRadarSeriesPointProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- import type { LocaleService, Nullable } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
3
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
- export interface ISeriesStyleEditProps {
5
- chartType: Nullable<ChartTypeBits>;
6
- service: SheetsChartUIService;
7
- localeService: LocaleService;
8
- }
9
- export declare const SeriesStyleEdit: (props: ISeriesStyleEditProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,34 +0,0 @@
1
- import type { DeepPartial, IPointStyle, ISeriesStyle } from '@univerjs-pro/engine-chart';
2
- import type { LocaleService, Nullable } from '@univerjs/core';
3
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
- export interface IWidgetProps {
5
- localeService: LocaleService;
6
- onSeriesStyleChange?: (style: DeepPartial<ISeriesStyle>) => void;
7
- }
8
- export interface IFillOptions extends IWidgetProps {
9
- seriesStyle: Nullable<DeepPartial<ISeriesStyle>>;
10
- allSeriesStyle: Nullable<DeepPartial<ISeriesStyle>>;
11
- controlName: string;
12
- chartType: Nullable<ChartTypeBits>;
13
- }
14
- export declare const FillOptions: (props: IFillOptions) => import("react/jsx-runtime").JSX.Element;
15
- export interface IBorderOptionsProps extends IWidgetProps {
16
- borderStyle: ISeriesStyle['border'];
17
- controlName: string;
18
- hideBorder: boolean;
19
- allSeriesBorderStyle: Nullable<DeepPartial<ISeriesStyle>['border']>;
20
- isLineOrAreaChart: boolean;
21
- }
22
- export declare const BorderOptions: (props: IBorderOptionsProps) => import("react/jsx-runtime").JSX.Element;
23
- type PointStyleKeys = keyof IPointStyle;
24
- export interface ILinePointOptionsProps extends Omit<IWidgetProps, 'onSeriesStyleChange'> {
25
- pointStyle: ISeriesStyle['point'] | IPointStyle;
26
- controls: Array<PointStyleKeys>;
27
- onChange?: <K extends PointStyleKeys = PointStyleKeys>(key: K, value: IPointStyle[K]) => void;
28
- }
29
- export declare const LinePointOptions: (props: ILinePointOptionsProps) => import("react/jsx-runtime").JSX.Element;
30
- export interface IAxisControlProps extends IWidgetProps {
31
- rightYAxis: boolean;
32
- }
33
- export declare const AxisControl: (props: IAxisControlProps) => import("react/jsx-runtime").JSX.Element;
34
- export {};
@@ -1,2 +0,0 @@
1
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
2
- export declare const PercentageChartTypes: Set<ChartTypeBits>;
@@ -1 +0,0 @@
1
- export { SeriesStyleEdit } from './SeriesStyleEdit';
@@ -1,9 +0,0 @@
1
- import type { LocaleService, Nullable } from '@univerjs/core';
2
- import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
3
- import { ChartTypeBits } from '@univerjs-pro/engine-chart';
4
- export interface ICombinationChartTypeSelectProps {
5
- localeService: LocaleService;
6
- service: SheetsChartUIService;
7
- seriesId: string;
8
- }
9
- export declare function useSeriesChartType(chartType: Nullable<ChartTypeBits>, seriesId: string, service: SheetsChartUIService): void | ChartTypeBits | null;
@@ -1,6 +0,0 @@
1
- import type { LocaleService } from '@univerjs/core';
2
- import type { OptionType } from './Options';
3
- export declare function useTranslatedOptions(localeService: LocaleService, options: OptionType[]): {
4
- label: string;
5
- value: string;
6
- }[];
@@ -1,9 +0,0 @@
1
- export interface IPrintChartProps {
2
- unitId: string;
3
- floatDomId: string;
4
- context: {
5
- docDisabled: boolean;
6
- root: React.RefObject<HTMLDivElement>;
7
- };
8
- }
9
- export declare const PrintChart: (props: IPrintChartProps) => null;
@@ -1,2 +0,0 @@
1
- import type { echarts as EchartsType } from '@univerjs-pro/engine-chart';
2
- export declare function registerWordCloud(echarts: typeof EchartsType): void;
@@ -1,13 +0,0 @@
1
- /*!
2
- * wordcloud2.js
3
- * http://timdream.org/wordcloud2.js/
4
- *
5
- * Copyright 2011 - 2019 Tim Guan-tin Chien and contributors.
6
- * Released under the MIT license
7
- */
8
- declare const WordCloud: {
9
- (elements: any, options: any): void;
10
- isSupported: boolean;
11
- minFontSize: number | undefined;
12
- };
13
- export default WordCloud;