@univerjs-pro/sheets-chart-ui 1.0.0-alpha.2 → 1.0.0-alpha.4
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/README.md +5 -3
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +3 -131
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/focused-chart.command.d.ts +9 -0
- package/lib/types/commands/operations/open-chart-panel-operation.d.ts +2 -0
- package/lib/types/config/config.d.ts +1 -0
- package/lib/types/controllers/chart-element-float-menu.controller.d.ts +30 -0
- package/lib/types/controllers/chart-render.controller.d.ts +4 -1
- package/lib/types/controllers/ui.controller.d.ts +14 -3
- package/lib/types/hooks.d.ts +2 -4
- package/lib/types/index.d.ts +4 -1
- package/lib/types/locale/en-US.d.ts +2 -0
- package/lib/types/menu/chart-context-menu.d.ts +7 -0
- package/lib/types/plugin.d.ts +1 -0
- package/lib/types/services/chart-content-layout.d.ts +1 -16
- package/lib/types/services/chart-element-popup-anchor.d.ts +10 -0
- package/lib/types/services/chart-element-selection.d.ts +9 -0
- package/lib/types/services/chart-image-rect.d.ts +4 -1
- package/lib/types/services/chart-panel-route.d.ts +20 -0
- package/lib/types/services/chart-render.service.d.ts +20 -9
- package/lib/types/services/sheet-chart-host.d.ts +8 -4
- package/lib/types/services/sheet-image-chart-host.d.ts +3 -3
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +12 -9
- package/lib/types/services/sheets-chart-ui.service.d.ts +51 -12
- package/lib/types/views/chart-edit-panel/Options.d.ts +26 -85
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +1 -6
- package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +0 -3
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +1 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +1 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +1 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +1 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +2 -8
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -18
- package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +0 -9
- package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +0 -16
- package/lib/types/views/chart-edit-panel/font-format-bar/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +0 -6
- package/lib/types/views/print-chart/index.d.ts +0 -10
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { Nullable } from '@univerjs/core';
|
|
2
|
-
import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
|
|
3
2
|
import { ChartTypeBits } from '@univerjs-pro/engine-chart';
|
|
4
3
|
export declare const PieChartStyleEdit: (props: {
|
|
5
4
|
chartType: Nullable<ChartTypeBits>;
|
|
6
|
-
service: SheetsChartUIService;
|
|
7
5
|
onChartTypeChange?: (chartType: ChartTypeBits) => void;
|
|
8
6
|
}) => import("react").JSX.Element;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface IRelationEditProps {
|
|
3
|
-
service: SheetsChartUIService;
|
|
4
|
-
}
|
|
5
|
-
export declare function RelationEdit(props: IRelationEditProps): import("react").JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
export declare function RelationEdit(): import("react").JSX.Element;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface ITrendLineStyleEditProps {
|
|
3
|
-
uiService: SheetsChartUIService;
|
|
4
|
-
}
|
|
5
|
-
export declare const TrendLineStyleEdit: (props: ITrendLineStyleEditProps) => import("react").JSX.Element | null;
|
|
6
|
-
export {};
|
|
1
|
+
export declare const TrendLineStyleEdit: () => import("react").JSX.Element | null;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface IWaterfallSeriesEditProps {
|
|
3
|
-
service: SheetsChartUIService;
|
|
4
|
-
}
|
|
5
|
-
export declare const WaterfallSeriesEdit: (props: IWaterfallSeriesEditProps) => import("react").JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
export declare const WaterfallSeriesEdit: () => import("react").JSX.Element;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface IWordCloudShapeSelectorProps {
|
|
3
|
-
service: SheetsChartUIService;
|
|
4
|
-
}
|
|
5
|
-
export declare function WordCloudShapeSelector(props: IWordCloudShapeSelectorProps): import("react").JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
export declare function WordCloudShapeSelector(): import("react").JSX.Element;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { IRuntimeAxis } from '@univerjs-pro/engine-chart';
|
|
2
2
|
import type { Nullable } from '@univerjs/core';
|
|
3
|
-
import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
|
|
4
3
|
export interface IGridLineAndTickOptionsProps {
|
|
5
4
|
className?: string;
|
|
6
|
-
service: SheetsChartUIService;
|
|
7
5
|
runtimeAxes: Nullable<IRuntimeAxis[]>;
|
|
8
6
|
}
|
|
9
7
|
export declare const GridLineAndTickOptions: (props: IGridLineAndTickOptionsProps) => import("react").JSX.Element;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
|
|
2
1
|
export interface ICombinationChartTypeSelectProps {
|
|
3
|
-
service: SheetsChartUIService;
|
|
4
2
|
seriesId: string;
|
|
5
3
|
}
|
|
6
4
|
export declare const CombinationChartTypeSelect: (props: ICombinationChartTypeSelectProps) => import("react").JSX.Element;
|
package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { Nullable } from '@univerjs/core';
|
|
2
|
-
import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
|
|
3
2
|
import { ChartTypeBits } from '@univerjs-pro/engine-chart';
|
|
4
3
|
export interface ISeriesStyleEditProps {
|
|
5
4
|
chartType: Nullable<ChartTypeBits>;
|
|
6
|
-
|
|
5
|
+
selectedSeriesId?: string;
|
|
7
6
|
}
|
|
8
7
|
export declare const SeriesStyleEdit: (props: ISeriesStyleEditProps) => import("react").JSX.Element;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { SheetsChartUIService } from '../../../../services/sheets-chart-ui.service';
|
|
1
|
+
import type { Nullable } from '@univerjs/core';
|
|
3
2
|
import { ChartTypeBits } from '@univerjs-pro/engine-chart';
|
|
4
|
-
export
|
|
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;
|
|
3
|
+
export declare function useSeriesChartType(chartType: Nullable<ChartTypeBits>, seriesId: string): void | ChartTypeBits | null;
|