@univerjs-pro/chart-ui 1.0.1 → 1.0.3
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/lib/cjs/facade.js +1 -1
- 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/facade.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/facade.js +1 -1
- 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/components/ChartDataSourceStatusView.d.ts +12 -0
- package/lib/types/components/ChartEditorTabs.d.ts +18 -0
- package/lib/types/components/ChartSetupPanel.d.ts +14 -0
- package/lib/types/editor/ChartEditorProvider.d.ts +0 -2
- package/lib/types/editor/sections/ChartSetupSections.d.ts +2 -2
- package/lib/types/index.d.ts +6 -2
- package/lib/types/locale/en-US.d.ts +4 -4
- package/lib/umd/facade.js +1 -1
- 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 +9 -12
- package/lib/types/components/ChartReferencedDataSourceEditor.d.ts +0 -11
- package/lib/types/services/chart-referenced-data-source-binding.service.d.ts +0 -13
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps, ComponentType, ReactNode } from 'react';
|
|
2
2
|
import type { IChartHostAdapter } from '../services/chart-host-adapter';
|
|
3
3
|
import type { IChartUIService } from '../services/chart-ui.service';
|
|
4
|
-
import { ReferencedUnitViewer } from '@univerjs-pro/embed-unit-ui';
|
|
5
4
|
import { Button, ColorPicker, Dialog, Dropdown, DropdownMenu, Input, InputNumber, Select } from '@univerjs/design';
|
|
6
5
|
export interface IChartEditorComponents {
|
|
7
6
|
ButtonComponent: ComponentType<ComponentProps<typeof Button>>;
|
|
@@ -10,7 +9,6 @@ export interface IChartEditorComponents {
|
|
|
10
9
|
SelectTriggerComponent: ComponentType<ComponentProps<'button'>>;
|
|
11
10
|
TableCellComponent: ComponentType<ComponentProps<'input'>>;
|
|
12
11
|
TableViewportComponent: ComponentType<ComponentProps<'div'>>;
|
|
13
|
-
ReferencedFrameComponent: ComponentType<ComponentProps<typeof ReferencedUnitViewer.Frame>>;
|
|
14
12
|
ColorPickerComponent: typeof ColorPicker;
|
|
15
13
|
DialogComponent: typeof Dialog;
|
|
16
14
|
DropdownComponent: typeof Dropdown;
|
|
@@ -16,6 +16,6 @@ export interface IChartWaterfallSetupDefaultValues {
|
|
|
16
16
|
}
|
|
17
17
|
export declare const DEFAULT_CHART_WATERFALL_SETUP_VALUES: IChartWaterfallSetupDefaultValues;
|
|
18
18
|
export interface IChartWaterfallSetupFieldsProps {
|
|
19
|
-
defaultValues
|
|
19
|
+
defaultValues?: IChartWaterfallSetupDefaultValues;
|
|
20
20
|
}
|
|
21
|
-
export declare function ChartWaterfallSetupFields(
|
|
21
|
+
export declare function ChartWaterfallSetupFields({ defaultValues, }: IChartWaterfallSetupFieldsProps): import("react").JSX.Element | null;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -5,12 +5,16 @@ export { CHART_DOM_HOST_Z_INDEX, CHART_HOST_BORDER_RADIUS, MIN_CHART_HOST_DIMENS
|
|
|
5
5
|
export { ChartPointMappingStateKey } from './chart-state/constants';
|
|
6
6
|
export { createChartInlineStarterData, getChartInlineTableMinColumns } from './components/chart-inline-starter-data';
|
|
7
7
|
export type { IChartInlineStarterDataLabels } from './components/chart-inline-starter-data';
|
|
8
|
+
export { ChartDataSourceStatusView } from './components/ChartDataSourceStatusView';
|
|
9
|
+
export type { IChartDataSourceStatusMessages, IChartDataSourceStatusViewProps } from './components/ChartDataSourceStatusView';
|
|
10
|
+
export { ChartEditorTabs } from './components/ChartEditorTabs';
|
|
11
|
+
export type { IChartEditorTab, IChartEditorTabsProps } from './components/ChartEditorTabs';
|
|
8
12
|
export { ChartEditBlockTitle, ChartEditPanel, ChartEditPanelTabs, ChartSectionAccordion, ChartSectionAccordionContent, ChartSectionAccordionItem, ChartSectionAccordionTrigger, } from './components/ChartEditPanel';
|
|
9
13
|
export type { IChartEditBlockTitleProps, IChartEditPanelProps, IChartEditPanelTabItem, IChartEditPanelTabsProps, IChartSectionAccordionContentProps, IChartSectionAccordionItemProps, IChartSectionAccordionProps, IChartSectionAccordionTriggerProps, } from './components/ChartEditPanel';
|
|
10
14
|
export { appendInlineTableColumn, appendInlineTableRow, applyInlineTablePaste, ChartInlineTableEditor, coerceInlineTableCell, compactInlineTableValues, normalizeInlineTableValues, } from './components/ChartInlineTableEditor';
|
|
11
15
|
export type { ChartInlineCellValue, IChartInlineTableEditorProps, } from './components/ChartInlineTableEditor';
|
|
12
|
-
export {
|
|
13
|
-
export type {
|
|
16
|
+
export { ChartSetupPanel } from './components/ChartSetupPanel';
|
|
17
|
+
export type { IChartSetupPanelProps } from './components/ChartSetupPanel';
|
|
14
18
|
export { buildChartThemeSelectOptions, buildChartTypeSelectOptions, CHART_TYPE_CATALOG, chartBorderWidthValues, chartLinePointSizeValues, chartOpacityValues, chartTickLengthValues, chartTickWidthValues, chartTypeToIcon, createPercentOptions, createPxOptions, } from './components/ChartTypeOptions';
|
|
15
19
|
export type { ChartTypeLabelId, IChartPrimitiveOption, IChartSelectOption, IChartTypeCatalogEntry, IChartTypeOption, } from './components/ChartTypeOptions';
|
|
16
20
|
export { ColorPickerControl } from './components/ColorPickerControl';
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x14bb(_0x396711,_0x4259b6){_0x396711=_0x396711-0x9e;var _0xcb17f0=_0xcb17();var _0x14bbb5=_0xcb17f0[_0x396711];return _0x14bbb5;}function _0xcb17(){var _0x36a505=['338495hmBVaa','9gTMZeb','function','extend','2043Jqytsa','2LZjdKc','_injector','FChart','exportImage','object','5256670PZhJTB','UniverProEngineChartFacade','18XvPxzm','64103FraAaa','amd','1161884vDsZkx','22cWfLBE','UniverProChartUi','@univerjs-pro/chart-ui','30032gmBJoh','897792VVLrqZ','841965JtmUAh','156oTERWn','get'];_0xcb17=function(){return _0x36a505;};return _0xcb17();}(function(_0x42f75a,_0x528bc0){var _0x241858=_0x14bb,_0x229f6e=_0x42f75a();while(!![]){try{var _0x5fc7d=-parseInt(_0x241858(0xb1))/0x1*(parseInt(_0x241858(0x9e))/0x2)+-parseInt(_0x241858(0xb2))/0x3*(-parseInt(_0x241858(0xa8))/0x4)+-parseInt(_0x241858(0xae))/0x5*(-parseInt(_0x241858(0xa5))/0x6)+-parseInt(_0x241858(0xad))/0x7+parseInt(_0x241858(0xac))/0x8*(parseInt(_0x241858(0xb5))/0x9)+-parseInt(_0x241858(0xa3))/0xa*(parseInt(_0x241858(0xa9))/0xb)+-parseInt(_0x241858(0xaf))/0xc*(parseInt(_0x241858(0xa6))/0xd);if(_0x5fc7d===_0x528bc0)break;else _0x229f6e['push'](_0x229f6e['shift']());}catch(_0x588896){_0x229f6e['push'](_0x229f6e['shift']());}}}(_0xcb17,0x9dda2),function(_0x5abc14,_0xc5435){var _0x2aef6=_0x14bb;typeof exports==_0x2aef6(0xa2)&&typeof module<'u'?_0xc5435(require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart/facade')):typeof define==_0x2aef6(0xb3)&&define[_0x2aef6(0xa7)]?define([_0x2aef6(0xab),'@univerjs-pro/engine-chart/facade'],_0xc5435):(_0x5abc14=typeof globalThis<'u'?globalThis:_0x5abc14||self,_0xc5435(_0x5abc14[_0x2aef6(0xaa)],_0x5abc14[_0x2aef6(0xa4)]));}(this,function(_0x554837,_0x1fb3a2){var _0x52975b=_0x14bb,_0x7aaf38=class extends _0x1fb3a2[_0x52975b(0xa0)]{[_0x52975b(0xa1)](_0x3c7923){var _0x2f0fbd=_0x52975b;return this[_0x2f0fbd(0x9f)][_0x2f0fbd(0xb0)](_0x554837['ChartImageExportService'])['exportImage'](this,_0x3c7923);}};_0x1fb3a2['FChart'][_0x52975b(0xb4)](_0x7aaf38);}));
|