@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.
Files changed (126) hide show
  1. package/README.md +5 -3
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.css +3 -131
  43. package/lib/index.js +1 -1
  44. package/lib/locale/ar-SA.js +1 -1
  45. package/lib/locale/ca-ES.js +1 -1
  46. package/lib/locale/de-DE.js +1 -1
  47. package/lib/locale/en-US.js +1 -1
  48. package/lib/locale/es-ES.js +1 -1
  49. package/lib/locale/fa-IR.js +1 -1
  50. package/lib/locale/fr-FR.js +1 -1
  51. package/lib/locale/id-ID.js +1 -1
  52. package/lib/locale/it-IT.js +1 -1
  53. package/lib/locale/ja-JP.js +1 -1
  54. package/lib/locale/ko-KR.js +1 -1
  55. package/lib/locale/pl-PL.js +1 -1
  56. package/lib/locale/pt-BR.js +1 -1
  57. package/lib/locale/ru-RU.js +1 -1
  58. package/lib/locale/sk-SK.js +1 -1
  59. package/lib/locale/vi-VN.js +1 -1
  60. package/lib/locale/zh-CN.js +1 -1
  61. package/lib/locale/zh-HK.js +1 -1
  62. package/lib/locale/zh-TW.js +1 -1
  63. package/lib/types/commands/commands/focused-chart.command.d.ts +9 -0
  64. package/lib/types/commands/operations/open-chart-panel-operation.d.ts +2 -0
  65. package/lib/types/config/config.d.ts +1 -0
  66. package/lib/types/controllers/chart-element-float-menu.controller.d.ts +30 -0
  67. package/lib/types/controllers/chart-render.controller.d.ts +4 -1
  68. package/lib/types/controllers/ui.controller.d.ts +14 -3
  69. package/lib/types/hooks.d.ts +2 -4
  70. package/lib/types/index.d.ts +4 -1
  71. package/lib/types/locale/en-US.d.ts +2 -0
  72. package/lib/types/menu/chart-context-menu.d.ts +7 -0
  73. package/lib/types/plugin.d.ts +1 -0
  74. package/lib/types/services/chart-content-layout.d.ts +1 -16
  75. package/lib/types/services/chart-element-popup-anchor.d.ts +10 -0
  76. package/lib/types/services/chart-element-selection.d.ts +9 -0
  77. package/lib/types/services/chart-image-rect.d.ts +4 -1
  78. package/lib/types/services/chart-panel-route.d.ts +20 -0
  79. package/lib/types/services/chart-render.service.d.ts +20 -9
  80. package/lib/types/services/sheet-chart-host.d.ts +8 -4
  81. package/lib/types/services/sheet-image-chart-host.d.ts +3 -3
  82. package/lib/types/services/sheets-chart-host-provider.service.d.ts +12 -9
  83. package/lib/types/services/sheets-chart-ui.service.d.ts +51 -12
  84. package/lib/types/views/chart-edit-panel/Options.d.ts +26 -85
  85. package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +0 -2
  86. package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +1 -6
  87. package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +0 -3
  88. package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +0 -2
  89. package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +1 -1
  90. package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +0 -2
  91. package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +0 -2
  92. package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +1 -6
  93. package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +1 -6
  94. package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +1 -6
  95. package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +1 -6
  96. package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +0 -2
  97. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +0 -2
  98. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +1 -2
  99. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +2 -8
  100. package/lib/umd/index.js +1 -1
  101. package/lib/umd/locale/ar-SA.js +1 -1
  102. package/lib/umd/locale/ca-ES.js +1 -1
  103. package/lib/umd/locale/de-DE.js +1 -1
  104. package/lib/umd/locale/en-US.js +1 -1
  105. package/lib/umd/locale/es-ES.js +1 -1
  106. package/lib/umd/locale/fa-IR.js +1 -1
  107. package/lib/umd/locale/fr-FR.js +1 -1
  108. package/lib/umd/locale/id-ID.js +1 -1
  109. package/lib/umd/locale/it-IT.js +1 -1
  110. package/lib/umd/locale/ja-JP.js +1 -1
  111. package/lib/umd/locale/ko-KR.js +1 -1
  112. package/lib/umd/locale/pl-PL.js +1 -1
  113. package/lib/umd/locale/pt-BR.js +1 -1
  114. package/lib/umd/locale/ru-RU.js +1 -1
  115. package/lib/umd/locale/sk-SK.js +1 -1
  116. package/lib/umd/locale/vi-VN.js +1 -1
  117. package/lib/umd/locale/zh-CN.js +1 -1
  118. package/lib/umd/locale/zh-HK.js +1 -1
  119. package/lib/umd/locale/zh-TW.js +1 -1
  120. package/package.json +21 -18
  121. package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +0 -6
  122. package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +0 -9
  123. package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +0 -16
  124. package/lib/types/views/chart-edit-panel/font-format-bar/index.d.ts +0 -1
  125. package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +0 -6
  126. 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
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
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
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
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
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
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
- import type { SheetsChartUIService } from '../../../services/sheets-chart-ui.service';
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;
@@ -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
- service: SheetsChartUIService;
5
+ selectedSeriesId?: string;
7
6
  }
8
7
  export declare const SeriesStyleEdit: (props: ISeriesStyleEditProps) => import("react").JSX.Element;
@@ -1,9 +1,3 @@
1
- import type { LocaleService, Nullable } from '@univerjs/core';
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 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;
3
+ export declare function useSeriesChartType(chartType: Nullable<ChartTypeBits>, seriesId: string): void | ChartTypeBits | null;