@univerjs-pro/chart-ui 1.0.0-alpha.7 → 1.0.0-beta.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.
- 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 +323 -6
- 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/ChartEditPanel.d.ts +49 -0
- package/lib/types/components/ChartInlineTableEditor.d.ts +5 -0
- package/lib/types/components/ChartSemanticDataFields.d.ts +28 -0
- package/lib/types/components/ChartTypeOptions.d.ts +148 -2
- package/lib/types/components/FontFormatBar.d.ts +19 -1
- package/lib/types/components/chart-inline-starter-data.d.ts +23 -0
- package/lib/types/components/use-chart-panel-input-focus.d.ts +4 -0
- package/lib/types/controllers/components.controller.d.ts +4 -2
- package/lib/types/editor/ChartEditorProvider.d.ts +11 -0
- package/lib/types/editor/atoms/common/ChartFontAtom.d.ts +28 -0
- package/lib/types/editor/atoms/common/ChartNumberFormatAtom.d.ts +9 -0
- package/lib/types/editor/atoms/common/chart-number-format.d.ts +28 -0
- package/lib/types/editor/components/ChartCheckboxField.d.ts +11 -0
- package/lib/types/editor/components/ChartColorField.d.ts +13 -0
- package/lib/types/editor/components/ChartField.d.ts +15 -0
- package/lib/types/editor/components/ChartFieldGroup.d.ts +9 -0
- package/lib/types/editor/components/ChartFieldGroupTitle.d.ts +6 -0
- package/lib/types/editor/components/ChartFieldRow.d.ts +5 -0
- package/lib/types/editor/components/ChartFontField.d.ts +28 -0
- package/lib/types/editor/components/ChartImageSelectField.d.ts +13 -0
- package/lib/types/editor/components/ChartListField.d.ts +18 -0
- package/lib/types/editor/components/ChartMultiSelectField.d.ts +25 -0
- package/lib/types/editor/components/ChartNumberField.d.ts +16 -0
- package/lib/types/editor/components/ChartSelectField.d.ts +25 -0
- package/lib/types/editor/components/ChartTextField.d.ts +14 -0
- package/lib/types/editor/hooks/use-chart-config-state.d.ts +3 -0
- package/lib/types/editor/hooks/use-chart-data-mapping-fields.d.ts +5 -0
- package/lib/types/editor/hooks/use-chart-editor-model.d.ts +3 -0
- package/lib/types/editor/hooks/use-chart-runtime-context.d.ts +13 -0
- package/lib/types/editor/routing/chart-edit-panel-route.d.ts +21 -0
- package/lib/types/editor/sections/ChartAxisSections.d.ts +63 -0
- package/lib/types/editor/sections/ChartIndicatorLineSection.d.ts +20 -0
- package/lib/types/editor/sections/ChartLegendSection.d.ts +27 -0
- package/lib/types/editor/sections/ChartLineAndAreaSection.d.ts +11 -0
- package/lib/types/editor/sections/ChartParetoSeriesSection.d.ts +26 -0
- package/lib/types/editor/sections/ChartSeriesSection.d.ts +60 -0
- package/lib/types/editor/sections/ChartSetupSections.d.ts +21 -0
- package/lib/types/editor/sections/ChartStyleSection.d.ts +15 -0
- package/lib/types/editor/sections/ChartTitleSections.d.ts +50 -0
- package/lib/types/editor/sections/ChartTrendlineSection.d.ts +18 -0
- package/lib/types/editor/sections/chart-capabilities.d.ts +10 -0
- package/lib/types/editor/sections/chart-style-options.d.ts +86 -0
- package/lib/types/editor/sections/specific-section/ChartCandlestickStyleSection.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/ChartFunnelStyleSection.d.ts +10 -0
- package/lib/types/editor/sections/specific-section/ChartHeatmapStyleSection.d.ts +10 -0
- package/lib/types/editor/sections/specific-section/ChartHistogramStyleSection.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/ChartPieStyleSection.d.ts +21 -0
- package/lib/types/editor/sections/specific-section/ChartRadarStyleSection.d.ts +9 -0
- package/lib/types/editor/sections/specific-section/ChartRelationStyleSection.d.ts +17 -0
- package/lib/types/editor/sections/specific-section/ChartTreemapStyleSection.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/ChartTypeSpecificSections.d.ts +9 -0
- package/lib/types/editor/sections/specific-section/ChartWaterfallStyleSection.d.ts +26 -0
- package/lib/types/editor/sections/specific-section/ChartWordCloudStyleSection.d.ts +21 -0
- package/lib/types/editor/sections/specific-section/ChordDataMappingAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/ChordLabelAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/ChordLayoutAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/ChordRibbonAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/GaugeDataMappingAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/GaugeModeAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/GaugePointerAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/GaugeProgressAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/GaugeRangesAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/GaugeScaleAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/SunburstCenterLabelAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/SunburstDataMappingAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/SunburstLabelAtom.d.ts +1 -0
- package/lib/types/editor/sections/specific-section/chord-field-options.d.ts +2 -0
- package/lib/types/editor/sections/specific-section/chord-style.d.ts +16 -0
- package/lib/types/editor/sections/specific-section/gauge-style.d.ts +10 -0
- package/lib/types/editor/sections/specific-section/sunburst-label.d.ts +8 -0
- package/lib/types/editor/utils/chart-runtime-axis.d.ts +3 -0
- package/lib/types/float-menu/ChartElementFloatMenu.d.ts +2 -2
- package/lib/types/float-menu/chart-element-selection.d.ts +7 -0
- package/lib/types/float-menu/constants.d.ts +72 -77
- package/lib/types/float-menu/create-chart-element-float-menu-adapter.d.ts +10 -0
- package/lib/types/float-menu/pie-mark-patch.d.ts +8 -0
- package/lib/types/float-menu/types.d.ts +28 -9
- package/lib/types/index.d.ts +68 -3
- package/lib/types/locale/en-US.d.ts +481 -58
- package/lib/types/services/chart-host-adapter.d.ts +12 -0
- package/lib/types/services/chart-snapshot-queue.d.ts +58 -0
- package/lib/types/services/chart-ui.service.d.ts +19 -0
- package/lib/types/services/chart-view-state-projector.d.ts +15 -0
- package/lib/types/services/chart-view-state-registry.d.ts +11 -0
- package/lib/types/services/chart-view-state.d.ts +118 -0
- package/lib/types/services/inline-chart-creation.d.ts +42 -0
- package/lib/types/services/register-chart-config-states.d.ts +3 -0
- package/lib/types/services/register-chart-view-states/chart-specific.d.ts +4 -0
- package/lib/types/services/register-chart-view-states/semantic.d.ts +4 -0
- 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 +11 -8
- package/lib/types/components/ChartEditPanelScaffold.d.ts +0 -16
- package/lib/types/components/ChartEditorFields.d.ts +0 -65
- package/lib/types/components/ChartPresentationFields.d.ts +0 -8
- package/lib/types/components/index.d.ts +0 -16
- package/lib/types/float-menu/index.d.ts +0 -5
package/lib/types/index.d.ts
CHANGED
|
@@ -3,21 +3,86 @@ export { ChartDomFrame } from './chart-host/chart-dom-frame';
|
|
|
3
3
|
export { ChartFrameContentMode, ChartFrameLayout } from './chart-host/chart-frame-layout';
|
|
4
4
|
export { CHART_DOM_HOST_Z_INDEX, CHART_HOST_BORDER_RADIUS, MIN_CHART_HOST_DIMENSION } from './chart-host/constants';
|
|
5
5
|
export { ChartPointMappingStateKey } from './chart-state/constants';
|
|
6
|
-
export {
|
|
7
|
-
export type {
|
|
6
|
+
export { createChartInlineStarterData, getChartInlineTableMinColumns } from './components/chart-inline-starter-data';
|
|
7
|
+
export type { IChartInlineStarterDataLabels } from './components/chart-inline-starter-data';
|
|
8
|
+
export { ChartEditBlockTitle, ChartEditPanel, ChartEditPanelTabs, ChartSectionAccordion, ChartSectionAccordionContent, ChartSectionAccordionItem, ChartSectionAccordionTrigger, } from './components/ChartEditPanel';
|
|
9
|
+
export type { IChartEditBlockTitleProps, IChartEditPanelProps, IChartEditPanelTabItem, IChartEditPanelTabsProps, IChartSectionAccordionContentProps, IChartSectionAccordionItemProps, IChartSectionAccordionProps, IChartSectionAccordionTriggerProps, } from './components/ChartEditPanel';
|
|
10
|
+
export { appendInlineTableColumn, appendInlineTableRow, applyInlineTablePaste, ChartInlineTableEditor, coerceInlineTableCell, compactInlineTableValues, normalizeInlineTableValues, } from './components/ChartInlineTableEditor';
|
|
11
|
+
export type { ChartInlineCellValue, IChartInlineTableEditorProps, } from './components/ChartInlineTableEditor';
|
|
12
|
+
export { buildChartThemeSelectOptions, buildChartTypeSelectOptions, CHART_TYPE_CATALOG, chartBorderWidthValues, chartLinePointSizeValues, chartOpacityValues, chartTickLengthValues, chartTickWidthValues, chartTypeToIcon, createPercentOptions, createPxOptions, STATIC_CHART_TYPE_CATALOG, } from './components/ChartTypeOptions';
|
|
13
|
+
export type { ChartTypeLabelId, IChartPrimitiveOption, IChartSelectOption, IChartTypeCatalogEntry, IChartTypeOption, IStaticChartTypeCatalogEntry, } from './components/ChartTypeOptions';
|
|
8
14
|
export { ColorPickerControl } from './components/ColorPickerControl';
|
|
9
15
|
export type { IColorPickerControlProps } from './components/ColorPickerControl';
|
|
10
16
|
export { DropdownSelector } from './components/DropdownSelector';
|
|
11
17
|
export type { IDropdownSelectorOption, IDropdownSelectorProps } from './components/DropdownSelector';
|
|
12
18
|
export type { IFontAlignSelectorProps, IFontColorSelectorProps, IFontFormatBarProps, IFontFormatStyle, IFontFormatToggleProps, IFontSizeSelectorProps, PropertyChangeFunction, } from './components/FontFormatBar';
|
|
19
|
+
export { FontAlignSelector, FontColorSelector, FontFormatBar, FontFormatToggle, FontSizeSelector, } from './components/FontFormatBar';
|
|
13
20
|
export type { IUniverChartUIConfig } from './config/config';
|
|
14
21
|
export { CHART_UI_PLUGIN_CONFIG_KEY } from './config/config';
|
|
22
|
+
export { ChartNumberFormatAtom, ChartNumberFormatTextField, } from './editor/atoms/common/ChartNumberFormatAtom';
|
|
23
|
+
export type { ChartNumberFormatFieldComponent, IChartNumberFormatAtomProps, } from './editor/atoms/common/ChartNumberFormatAtom';
|
|
24
|
+
export { ChartEditorProvider } from './editor/ChartEditorProvider';
|
|
25
|
+
export { ChartColorField } from './editor/components/ChartColorField';
|
|
26
|
+
export type { IChartColorFieldProps } from './editor/components/ChartColorField';
|
|
27
|
+
export { useChartEditorChartType, useChartEditorHasRightAxis } from './editor/hooks/use-chart-editor-model';
|
|
28
|
+
export { resolveChartEditPanelRoute } from './editor/routing/chart-edit-panel-route';
|
|
29
|
+
export type { IChartEditPanelRoute } from './editor/routing/chart-edit-panel-route';
|
|
30
|
+
export type { IChartPanelRouteState, IChartSelectedElementState } from './editor/routing/chart-edit-panel-route';
|
|
31
|
+
export { ChartEditorCapability, chartTypeSupportsCapability, chartTypeSupportsLineAndAreaStyle, chartTypeSupportsPlotArea, } from './editor/sections/chart-capabilities';
|
|
32
|
+
export { ChartAxisBoundsFields, ChartAxisFormatTextField, ChartAxisLabelStyleFields, ChartAxisLabelVisibilityField, ChartAxisLineVisibilityField, ChartAxisReverseField, ChartAxisSection, ChartAxisTickVisibilityField, ChartGridlinesAndTicksSection, ChartGridlineVisibilityField, ChartGridlineWidthField, DEFAULT_CHART_AXIS_VALUES, } from './editor/sections/ChartAxisSections';
|
|
33
|
+
export type { IChartAxisDefaultValues } from './editor/sections/ChartAxisSections';
|
|
34
|
+
export { ChartIndicatorLineColorField, ChartIndicatorLineSection, ChartIndicatorLineTypeField, DEFAULT_CHART_INDICATOR_LINE_VALUES, } from './editor/sections/ChartIndicatorLineSection';
|
|
35
|
+
export type { IChartIndicatorLineDefaultValues } from './editor/sections/ChartIndicatorLineSection';
|
|
36
|
+
export { ChartLegendFontSizeField, ChartLegendPositionField, ChartLegendRoot, ChartLegendSection, ChartLegendSelectModeField, ChartLegendWrapField, DEFAULT_CHART_LEGEND_VALUES, } from './editor/sections/ChartLegendSection';
|
|
37
|
+
export type { IChartLegendDefaultValues } from './editor/sections/ChartLegendSection';
|
|
38
|
+
export { ChartLineAndAreaSection, DEFAULT_CHART_LINE_AND_AREA_VALUES, } from './editor/sections/ChartLineAndAreaSection';
|
|
39
|
+
export type { IChartLineAndAreaDefaultValues, LineStyleControl, } from './editor/sections/ChartLineAndAreaSection';
|
|
40
|
+
export { ChartParetoSeriesSection, DEFAULT_CHART_PARETO_VALUES, } from './editor/sections/ChartParetoSeriesSection';
|
|
41
|
+
export type { ChartParetoSeriesTarget, IChartParetoDefaultValues, } from './editor/sections/ChartParetoSeriesSection';
|
|
42
|
+
export { ChartSeriesBorderFields, ChartSeriesDataLabelFields, ChartSeriesDataPointFields, ChartSeriesFillFields, ChartSeriesLabelFontSizeField, ChartSeriesLabelPositionField, ChartSeriesLabelVisibilityField, ChartSeriesPointFields, ChartSeriesRightAxisField, ChartSeriesRoot, ChartSeriesSection, ChartSeriesSelector, ChartSeriesTypeField, DEFAULT_CHART_SERIES_VALUES, } from './editor/sections/ChartSeriesSection';
|
|
43
|
+
export type { IChartSeriesDefaultValues } from './editor/sections/ChartSeriesSection';
|
|
44
|
+
export { ChartGradientFillField, ChartStackField, ChartThemeField, ChartTypeField, ChartWaterfallSetupFields, DEFAULT_CHART_WATERFALL_SETUP_VALUES, } from './editor/sections/ChartSetupSections';
|
|
45
|
+
export type { IChartTypeFieldProps, IChartWaterfallSetupDefaultValues, IChartWaterfallSetupFieldsProps, } from './editor/sections/ChartSetupSections';
|
|
46
|
+
export { ChartStyleSection, DEFAULT_CHART_STYLE_VALUES, } from './editor/sections/ChartStyleSection';
|
|
47
|
+
export type { IChartStyleDefaultValues, IChartStyleSectionProps, } from './editor/sections/ChartStyleSection';
|
|
48
|
+
export { ChartAxisTitleFields, ChartMainTitleFields, ChartSubtitleFields, ChartTitleFontSizeFields, ChartTitlesSection, DEFAULT_CHART_TITLE_VALUES, } from './editor/sections/ChartTitleSections';
|
|
49
|
+
export type { IChartTitleDefaultValues } from './editor/sections/ChartTitleSections';
|
|
50
|
+
export { ChartTrendlineSection, DEFAULT_CHART_TRENDLINE_VALUES, } from './editor/sections/ChartTrendlineSection';
|
|
51
|
+
export type { IChartTrendlineDefaultValues } from './editor/sections/ChartTrendlineSection';
|
|
52
|
+
export { ChartFunnelStyleSection, DEFAULT_CHART_FUNNEL_VALUES } from './editor/sections/specific-section/ChartFunnelStyleSection';
|
|
53
|
+
export type { FunnelGapControl, IChartFunnelDefaultValues } from './editor/sections/specific-section/ChartFunnelStyleSection';
|
|
54
|
+
export { ChartHeatmapStyleSection, DEFAULT_CHART_HEATMAP_VALUES } from './editor/sections/specific-section/ChartHeatmapStyleSection';
|
|
55
|
+
export type { IChartHeatmapDefaultValues } from './editor/sections/specific-section/ChartHeatmapStyleSection';
|
|
56
|
+
export { ChartPieStyleSection, DEFAULT_CHART_PIE_VALUES } from './editor/sections/specific-section/ChartPieStyleSection';
|
|
57
|
+
export type { IChartPieDefaultValues } from './editor/sections/specific-section/ChartPieStyleSection';
|
|
58
|
+
export { ChartRadarStyleSection, DEFAULT_CHART_RADAR_VALUES } from './editor/sections/specific-section/ChartRadarStyleSection';
|
|
59
|
+
export type { IChartRadarDefaultValues } from './editor/sections/specific-section/ChartRadarStyleSection';
|
|
60
|
+
export { ChartRelationStyleSection, DEFAULT_CHART_RELATION_VALUES } from './editor/sections/specific-section/ChartRelationStyleSection';
|
|
61
|
+
export type { IChartRelationDefaultValues } from './editor/sections/specific-section/ChartRelationStyleSection';
|
|
62
|
+
export { ChartCommonDataMappingSection, ChartTypeSpecificDataSection, ChartTypeSpecificSetupSection, ChartTypeSpecificStyleSection, } from './editor/sections/specific-section/ChartTypeSpecificSections';
|
|
63
|
+
export type { IChartCommonDataMappingSectionProps } from './editor/sections/specific-section/ChartTypeSpecificSections';
|
|
64
|
+
export { ChartWaterfallStyleSection, DEFAULT_CHART_WATERFALL_STYLE_VALUES } from './editor/sections/specific-section/ChartWaterfallStyleSection';
|
|
65
|
+
export type { IChartWaterfallStyleDefaultValues } from './editor/sections/specific-section/ChartWaterfallStyleSection';
|
|
66
|
+
export { ChartWordCloudMaskImageIdField, ChartWordCloudRepeatField, ChartWordCloudRoot, ChartWordCloudShapeField, ChartWordCloudStyleSection, DEFAULT_CHART_WORD_CLOUD_VALUES, } from './editor/sections/specific-section/ChartWordCloudStyleSection';
|
|
67
|
+
export type { IChartWordCloudDefaultValues } from './editor/sections/specific-section/ChartWordCloudStyleSection';
|
|
15
68
|
export { ChartElementFloatMenuAdapterRegistry } from './float-menu/chart-element-float-menu-adapter-registry';
|
|
69
|
+
export { resolveChartElementSelection, } from './float-menu/chart-element-selection';
|
|
70
|
+
export type { IChartElementSelection, } from './float-menu/chart-element-selection';
|
|
16
71
|
export { ChartElementFloatMenu } from './float-menu/ChartElementFloatMenu';
|
|
17
72
|
export { CHART_ELEMENT_FLOAT_MENU_COMPONENT, CHART_ELEMENT_FLOAT_MENU_OFFSET, } from './float-menu/constants';
|
|
73
|
+
export { createChartElementFloatMenuAdapter } from './float-menu/create-chart-element-float-menu-adapter';
|
|
18
74
|
export { resolveChartElementConfigTarget } from './float-menu/types';
|
|
19
75
|
export { ChartAxisId, ChartTitleKey } from './float-menu/types';
|
|
20
76
|
export { ChartMarkDirectEditKind, ChartMarkPanel } from './float-menu/types';
|
|
21
77
|
export { ChartEditPanelSection, ChartEditPanelTab } from './float-menu/types';
|
|
22
|
-
export type { ChartElementConfigTarget,
|
|
78
|
+
export type { ChartElementConfigTarget, ChartMarkDirectEditTarget, ChartMarkPanelTarget, IChartElementFloatMenuAdapter, IChartElementFloatMenuAdapterRegistry, IChartElementFloatMenuContext, } from './float-menu/types';
|
|
23
79
|
export { UniverChartUIPlugin } from './plugin';
|
|
80
|
+
export { ChartHostAdapter, IChartHostAdapter } from './services/chart-host-adapter';
|
|
81
|
+
export { ChartSnapshotQueue } from './services/chart-snapshot-queue';
|
|
82
|
+
export type { IChartSnapshotEntry, IChartSnapshotInvalidation, IChartSnapshotInvalidationOptions, IChartSnapshotRenderer, IChartSnapshotRequest, IChartSnapshotRuntimeProvider, } from './services/chart-snapshot-queue';
|
|
83
|
+
export { ChartUIService, IChartUIService } from './services/chart-ui.service';
|
|
84
|
+
export { ChartViewStateKey } from './services/chart-view-state';
|
|
85
|
+
export type { ChartViewStateName } from './services/chart-view-state';
|
|
86
|
+
export { ChartViewStateRegistry } from './services/chart-view-state-registry';
|
|
87
|
+
export { InlineChartCreationIssueCode, resolveChartCreationIntent, tryBuildInlineChartCreationPlan, tryPrepareInlineChartData, } from './services/inline-chart-creation';
|
|
88
|
+
export type { ChartTypeOptionId, IChartCreationIntent, IInlineChartCreationInput, IInlineChartCreationIssue, IInlineChartCreationPlan, InlineChartCreationResult, InlineChartDataPreparationResult, } from './services/inline-chart-creation';
|
|
@@ -1,11 +1,489 @@
|
|
|
1
1
|
declare const locale: {
|
|
2
2
|
'chart-ui': {
|
|
3
|
+
editor: {
|
|
4
|
+
defaultColor: string;
|
|
5
|
+
fontSize: string;
|
|
6
|
+
};
|
|
7
|
+
setup: {
|
|
8
|
+
stack: string;
|
|
9
|
+
percentStacked: string;
|
|
10
|
+
};
|
|
11
|
+
chartTypes: {
|
|
12
|
+
line: string;
|
|
13
|
+
column: string;
|
|
14
|
+
columnStacked: string;
|
|
15
|
+
columnPercentStacked: string;
|
|
16
|
+
bar: string;
|
|
17
|
+
barStacked: string;
|
|
18
|
+
barPercentStacked: string;
|
|
19
|
+
pie: string;
|
|
20
|
+
donut: string;
|
|
21
|
+
pieOfPie: string;
|
|
22
|
+
barOfPie: string;
|
|
23
|
+
area: string;
|
|
24
|
+
areaStacked: string;
|
|
25
|
+
areaPercentStacked: string;
|
|
26
|
+
radar: string;
|
|
27
|
+
scatter: string;
|
|
28
|
+
combination: string;
|
|
29
|
+
wordCloud: string;
|
|
30
|
+
funnel: string;
|
|
31
|
+
bubble: string;
|
|
32
|
+
relation: string;
|
|
33
|
+
waterfall: string;
|
|
34
|
+
pareto: string;
|
|
35
|
+
sankey: string;
|
|
36
|
+
heatmap: string;
|
|
37
|
+
boxplot: string;
|
|
38
|
+
candlestick: string;
|
|
39
|
+
histogram: string;
|
|
40
|
+
treemap: string;
|
|
41
|
+
sunburst: string;
|
|
42
|
+
gauge: string;
|
|
43
|
+
chord: string;
|
|
44
|
+
};
|
|
45
|
+
section: {
|
|
46
|
+
waterfall: string;
|
|
47
|
+
paretoBar: string;
|
|
48
|
+
paretoLine: string;
|
|
49
|
+
pie: string;
|
|
50
|
+
wordCloud: string;
|
|
51
|
+
radar: string;
|
|
52
|
+
funnel: string;
|
|
53
|
+
relation: string;
|
|
54
|
+
lineAndArea: string;
|
|
55
|
+
gridlinesAndTicks: string;
|
|
56
|
+
indicatorLine: string;
|
|
57
|
+
candlestick: string;
|
|
58
|
+
histogram: string;
|
|
59
|
+
treemap: string;
|
|
60
|
+
sunburst: string;
|
|
61
|
+
gauge: string;
|
|
62
|
+
chord: string;
|
|
63
|
+
};
|
|
64
|
+
presentation: {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
theme: string;
|
|
67
|
+
gradientFill: string;
|
|
68
|
+
bodyFontSize: string;
|
|
69
|
+
bodyFontColor: string;
|
|
70
|
+
titleType: string;
|
|
71
|
+
horizontalAxisTitle: string;
|
|
72
|
+
verticalAxisTitle: string;
|
|
73
|
+
rightVerticalAxisTitle: string;
|
|
74
|
+
wrap: string;
|
|
75
|
+
selectMode: string;
|
|
76
|
+
visualMapType: string;
|
|
77
|
+
align: string;
|
|
78
|
+
};
|
|
79
|
+
numberFormat: {
|
|
80
|
+
source: string;
|
|
81
|
+
number: string;
|
|
82
|
+
scientific: string;
|
|
83
|
+
custom: string;
|
|
84
|
+
preview: string;
|
|
85
|
+
generalType: string;
|
|
86
|
+
accountingType: string;
|
|
87
|
+
thousandsType: string;
|
|
88
|
+
formatTypes: string;
|
|
89
|
+
generalDesc: string;
|
|
90
|
+
accountingDesc: string;
|
|
91
|
+
currencyDesc: string;
|
|
92
|
+
dateDesc: string;
|
|
93
|
+
thousandsDesc: string;
|
|
94
|
+
decimalPlaces: string;
|
|
95
|
+
currencyTypes: string;
|
|
96
|
+
negativeNumberTypes: string;
|
|
97
|
+
dateTypes: string;
|
|
98
|
+
setFormat: string;
|
|
99
|
+
};
|
|
100
|
+
series: {
|
|
101
|
+
allSeries: string;
|
|
102
|
+
aggregate: string;
|
|
103
|
+
rightAxis: string;
|
|
104
|
+
borderOpacity: string;
|
|
105
|
+
solid: string;
|
|
106
|
+
pointShape: string;
|
|
107
|
+
pointSize: string;
|
|
108
|
+
pointColor: string;
|
|
109
|
+
removeDataPoint: string;
|
|
110
|
+
square: string;
|
|
111
|
+
rect: string;
|
|
112
|
+
roundRect: string;
|
|
113
|
+
pin: string;
|
|
114
|
+
emptyCircle: string;
|
|
115
|
+
emptySquare: string;
|
|
116
|
+
emptyTriangle: string;
|
|
117
|
+
emptyDiamond: string;
|
|
118
|
+
emptyRect: string;
|
|
119
|
+
emptyRoundRect: string;
|
|
120
|
+
emptyPin: string;
|
|
121
|
+
emptyArrow: string;
|
|
122
|
+
};
|
|
123
|
+
lineAndArea: {
|
|
124
|
+
lineStyle: string;
|
|
125
|
+
line: string;
|
|
126
|
+
smooth: string;
|
|
127
|
+
step: string;
|
|
128
|
+
invalidValues: string;
|
|
129
|
+
breakLine: string;
|
|
130
|
+
connect: string;
|
|
131
|
+
zero: string;
|
|
132
|
+
};
|
|
133
|
+
axis: {
|
|
134
|
+
target: string;
|
|
135
|
+
useDateAxis: string;
|
|
136
|
+
lineColor: string;
|
|
137
|
+
lineWidth: string;
|
|
138
|
+
labelRotation: string;
|
|
139
|
+
reverse: string;
|
|
140
|
+
gridlineVisible: string;
|
|
141
|
+
gridlineColor: string;
|
|
142
|
+
gridlineWidth: string;
|
|
143
|
+
tickVisible: string;
|
|
144
|
+
tickLength: string;
|
|
145
|
+
tickWidth: string;
|
|
146
|
+
tickColor: string;
|
|
147
|
+
tickPosition: string;
|
|
148
|
+
};
|
|
149
|
+
indicator: {
|
|
150
|
+
lineColor: string;
|
|
151
|
+
lineType: string;
|
|
152
|
+
labelBackground: string;
|
|
153
|
+
labelText: string;
|
|
154
|
+
};
|
|
155
|
+
trendline: {
|
|
156
|
+
add: string;
|
|
157
|
+
type: string;
|
|
158
|
+
linear: string;
|
|
159
|
+
exponential: string;
|
|
160
|
+
logarithmic: string;
|
|
161
|
+
polynomial: string;
|
|
162
|
+
power: string;
|
|
163
|
+
movingAverage: string;
|
|
164
|
+
showFormula: string;
|
|
165
|
+
showR2: string;
|
|
166
|
+
order: string;
|
|
167
|
+
period: string;
|
|
168
|
+
formulaColor: string;
|
|
169
|
+
r2Color: string;
|
|
170
|
+
};
|
|
171
|
+
pareto: {
|
|
172
|
+
includeZeroValues: string;
|
|
173
|
+
};
|
|
174
|
+
plotArea: {
|
|
175
|
+
label: string;
|
|
176
|
+
manual: string;
|
|
177
|
+
left: string;
|
|
178
|
+
top: string;
|
|
179
|
+
width: string;
|
|
180
|
+
height: string;
|
|
181
|
+
};
|
|
182
|
+
bar: {
|
|
183
|
+
layout: string;
|
|
184
|
+
gapWidth: string;
|
|
185
|
+
overlap: string;
|
|
186
|
+
};
|
|
187
|
+
pie: {
|
|
188
|
+
mode: string;
|
|
189
|
+
modeNormal: string;
|
|
190
|
+
modePieOfPie: string;
|
|
191
|
+
modeBarOfPie: string;
|
|
192
|
+
splitType: string;
|
|
193
|
+
splitAuto: string;
|
|
194
|
+
splitPosition: string;
|
|
195
|
+
splitCustom: string;
|
|
196
|
+
customSelectedCount: string;
|
|
197
|
+
customSelectedCountValue: string;
|
|
198
|
+
positionCount: string;
|
|
199
|
+
valueLessThan: string;
|
|
200
|
+
percentageLessThan: string;
|
|
201
|
+
secondarySize: string;
|
|
202
|
+
advancedLayout: string;
|
|
203
|
+
connector: string;
|
|
204
|
+
slices: string;
|
|
205
|
+
gapWidth: string;
|
|
206
|
+
connectorColor: string;
|
|
207
|
+
connectorWidth: string;
|
|
208
|
+
connectorType: string;
|
|
209
|
+
aggregateOther: string;
|
|
210
|
+
aggregateMembers: string;
|
|
211
|
+
doughnutHole: string;
|
|
212
|
+
startAngle: string;
|
|
213
|
+
explosion: string;
|
|
214
|
+
valueScale: string;
|
|
215
|
+
paddingAngle: string;
|
|
216
|
+
halfPie: string;
|
|
217
|
+
rosePie: string;
|
|
218
|
+
labelLine: string;
|
|
219
|
+
};
|
|
220
|
+
radar: {
|
|
221
|
+
shape: string;
|
|
222
|
+
polygon: string;
|
|
223
|
+
fill: string;
|
|
224
|
+
};
|
|
225
|
+
funnel: {
|
|
226
|
+
gap: string;
|
|
227
|
+
absoluteValues: string;
|
|
228
|
+
};
|
|
229
|
+
heatmap: {
|
|
230
|
+
unit: string;
|
|
231
|
+
labels: string;
|
|
232
|
+
};
|
|
233
|
+
relation: {
|
|
234
|
+
nodes: string;
|
|
235
|
+
interaction: string;
|
|
236
|
+
edgeLength: string;
|
|
237
|
+
circular: string;
|
|
238
|
+
force: string;
|
|
239
|
+
nodeShape: string;
|
|
240
|
+
valueSize: string;
|
|
241
|
+
rotateLabels: string;
|
|
242
|
+
gravity: string;
|
|
243
|
+
repulsion: string;
|
|
244
|
+
};
|
|
245
|
+
wordCloud: {
|
|
246
|
+
maskImage: string;
|
|
247
|
+
repeat: string;
|
|
248
|
+
cloud: string;
|
|
249
|
+
rect: string;
|
|
250
|
+
cardioid: string;
|
|
251
|
+
heart: string;
|
|
252
|
+
'triangle-forward': string;
|
|
253
|
+
pentagon: string;
|
|
254
|
+
star: string;
|
|
255
|
+
};
|
|
256
|
+
waterfall: {
|
|
257
|
+
styleTarget: string;
|
|
258
|
+
positive: string;
|
|
259
|
+
negative: string;
|
|
260
|
+
stackType: string;
|
|
261
|
+
arrangement: string;
|
|
262
|
+
subtotal: string;
|
|
263
|
+
includeSubtotal: string;
|
|
264
|
+
connector: string;
|
|
265
|
+
};
|
|
266
|
+
candlestick: {
|
|
267
|
+
candle: string;
|
|
268
|
+
body: string;
|
|
269
|
+
wick: string;
|
|
270
|
+
state: string;
|
|
271
|
+
open: string;
|
|
272
|
+
high: string;
|
|
273
|
+
low: string;
|
|
274
|
+
close: string;
|
|
275
|
+
rising: string;
|
|
276
|
+
falling: string;
|
|
277
|
+
doji: string;
|
|
278
|
+
bodyColor: string;
|
|
279
|
+
fillOpacity: string;
|
|
280
|
+
wickColor: string;
|
|
281
|
+
wickWidth: string;
|
|
282
|
+
wickOpacity: string;
|
|
283
|
+
candleWidth: string;
|
|
284
|
+
hollow: string;
|
|
285
|
+
columnsError: string;
|
|
286
|
+
series: string;
|
|
287
|
+
};
|
|
288
|
+
histogram: {
|
|
289
|
+
binGap: string;
|
|
290
|
+
binningMode: string;
|
|
291
|
+
count: string;
|
|
292
|
+
width: string;
|
|
293
|
+
binCount: string;
|
|
294
|
+
binWidth: string;
|
|
295
|
+
underflow: string;
|
|
296
|
+
overflow: string;
|
|
297
|
+
frequency: string;
|
|
298
|
+
};
|
|
299
|
+
treemap: {
|
|
300
|
+
parentLabelLayout: string;
|
|
301
|
+
banner: string;
|
|
302
|
+
overlapping: string;
|
|
303
|
+
leafLabel: string;
|
|
304
|
+
hierarchy: string;
|
|
305
|
+
diagnostic: string;
|
|
306
|
+
};
|
|
307
|
+
sunburst: {
|
|
308
|
+
hierarchy: string;
|
|
309
|
+
addHierarchy: string;
|
|
310
|
+
moveUp: string;
|
|
311
|
+
moveDown: string;
|
|
312
|
+
removeHierarchy: string;
|
|
313
|
+
centerLabel: string;
|
|
314
|
+
labelFormat: string;
|
|
315
|
+
diagnostic: string;
|
|
316
|
+
};
|
|
317
|
+
gauge: {
|
|
318
|
+
scale: string;
|
|
319
|
+
majorDivisions: string;
|
|
320
|
+
minorDivisions: string;
|
|
321
|
+
angles: string;
|
|
322
|
+
endAngle: string;
|
|
323
|
+
ranges: string;
|
|
324
|
+
rangeFrom: string;
|
|
325
|
+
rangeTo: string;
|
|
326
|
+
addRange: string;
|
|
327
|
+
removeRange: string;
|
|
328
|
+
axisTick: string;
|
|
329
|
+
splitLine: string;
|
|
330
|
+
pointer: string;
|
|
331
|
+
anchor: string;
|
|
332
|
+
progress: string;
|
|
333
|
+
detail: string;
|
|
334
|
+
pointerNeedle: string;
|
|
335
|
+
pointerSlim: string;
|
|
336
|
+
template: string;
|
|
337
|
+
modern: string;
|
|
338
|
+
classic: string;
|
|
339
|
+
minimal: string;
|
|
340
|
+
advanced: string;
|
|
341
|
+
customized: string;
|
|
342
|
+
axisLabelNumberFormat: string;
|
|
343
|
+
detailNumberFormat: string;
|
|
344
|
+
emptyDiagnostic: string;
|
|
345
|
+
mappingDiagnostic: string;
|
|
346
|
+
configDiagnostic: string;
|
|
347
|
+
};
|
|
348
|
+
chord: {
|
|
349
|
+
source: string;
|
|
350
|
+
target: string;
|
|
351
|
+
count: string;
|
|
352
|
+
node: string;
|
|
353
|
+
ribbon: string;
|
|
354
|
+
clockwise: string;
|
|
355
|
+
padAngle: string;
|
|
356
|
+
minAngle: string;
|
|
357
|
+
innerRadius: string;
|
|
358
|
+
outerRadius: string;
|
|
359
|
+
invalidRadii: string;
|
|
360
|
+
rotation: string;
|
|
361
|
+
distance: string;
|
|
362
|
+
width: string;
|
|
363
|
+
focus: string;
|
|
364
|
+
solid: string;
|
|
365
|
+
gradient: string;
|
|
366
|
+
adjacency: string;
|
|
367
|
+
self: string;
|
|
368
|
+
emptyDiagnostic: string;
|
|
369
|
+
mappingDiagnostic: string;
|
|
370
|
+
configDiagnostic: string;
|
|
371
|
+
associatedValue: string;
|
|
372
|
+
};
|
|
3
373
|
common: {
|
|
374
|
+
category: string;
|
|
375
|
+
seriesName: string;
|
|
376
|
+
value: string;
|
|
377
|
+
percentage: string;
|
|
378
|
+
borderColor: string;
|
|
379
|
+
labelContent: string;
|
|
380
|
+
labelPosition: string;
|
|
381
|
+
dataLabels: string;
|
|
382
|
+
chartType: string;
|
|
383
|
+
bold: string;
|
|
384
|
+
italic: string;
|
|
385
|
+
shape: string;
|
|
386
|
+
chartStyle: string;
|
|
387
|
+
chartAndAxisTitles: string;
|
|
388
|
+
legend: string;
|
|
389
|
+
chartTitle: string;
|
|
390
|
+
subtitle: string;
|
|
391
|
+
series: string;
|
|
392
|
+
dataPoint: string;
|
|
393
|
+
trendline: string;
|
|
394
|
+
horizontalAxis: string;
|
|
395
|
+
verticalAxis: string;
|
|
396
|
+
rightVerticalAxis: string;
|
|
397
|
+
layout: string;
|
|
398
|
+
arrow: string;
|
|
399
|
+
axisLabels: string;
|
|
400
|
+
currency: string;
|
|
401
|
+
date: string;
|
|
402
|
+
displayName: string;
|
|
403
|
+
emphasis: string;
|
|
404
|
+
heatmap: string;
|
|
405
|
+
lineColor: string;
|
|
406
|
+
lineWidth: string;
|
|
407
|
+
min: string;
|
|
408
|
+
max: string;
|
|
409
|
+
mode: string;
|
|
410
|
+
stacked: string;
|
|
411
|
+
title: string;
|
|
412
|
+
auto: string;
|
|
413
|
+
position: {
|
|
414
|
+
label: string;
|
|
415
|
+
inside: string;
|
|
416
|
+
outside: string;
|
|
417
|
+
top: string;
|
|
418
|
+
right: string;
|
|
419
|
+
bottom: string;
|
|
420
|
+
left: string;
|
|
421
|
+
hide: string;
|
|
422
|
+
};
|
|
423
|
+
axisAlign: {
|
|
424
|
+
start: string;
|
|
425
|
+
center: string;
|
|
426
|
+
end: string;
|
|
427
|
+
};
|
|
428
|
+
textAlign: {
|
|
429
|
+
left: string;
|
|
430
|
+
center: string;
|
|
431
|
+
right: string;
|
|
432
|
+
};
|
|
433
|
+
legendSelectMode: {
|
|
434
|
+
single: string;
|
|
435
|
+
multiple: string;
|
|
436
|
+
disabled: string;
|
|
437
|
+
};
|
|
438
|
+
visualMapType: {
|
|
439
|
+
continuous: string;
|
|
440
|
+
piecewise: string;
|
|
441
|
+
};
|
|
4
442
|
default: string;
|
|
5
443
|
reset: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
444
|
+
color: string;
|
|
445
|
+
opacity: string;
|
|
446
|
+
font: string;
|
|
447
|
+
none: string;
|
|
448
|
+
numberFormat: string;
|
|
449
|
+
borderWidth: string;
|
|
450
|
+
borderType: string;
|
|
451
|
+
lineType: string;
|
|
452
|
+
dashed: string;
|
|
453
|
+
dotted: string;
|
|
454
|
+
circle: string;
|
|
455
|
+
triangle: string;
|
|
456
|
+
diamond: string;
|
|
457
|
+
axisLine: string;
|
|
458
|
+
minimum: string;
|
|
459
|
+
maximum: string;
|
|
460
|
+
startAngle: string;
|
|
461
|
+
valueField: string;
|
|
462
|
+
categoryName: string;
|
|
463
|
+
ownValue: string;
|
|
464
|
+
children: string;
|
|
465
|
+
label: string;
|
|
466
|
+
editChart: string;
|
|
467
|
+
deleteChart: string;
|
|
468
|
+
insertChart: string;
|
|
469
|
+
insertChartFailed: string;
|
|
470
|
+
openChartPanel: string;
|
|
471
|
+
hideChartPanel: string;
|
|
472
|
+
exportImage: string;
|
|
473
|
+
copy: string;
|
|
474
|
+
setup: string;
|
|
475
|
+
customize: string;
|
|
476
|
+
data: string;
|
|
477
|
+
tableDataEmpty: string;
|
|
478
|
+
dataRange: string;
|
|
479
|
+
editData: string;
|
|
480
|
+
inlineData: string;
|
|
481
|
+
switchRowColumn: string;
|
|
482
|
+
useAsCategoryLabels: string;
|
|
483
|
+
cancel: string;
|
|
484
|
+
insert: string;
|
|
485
|
+
apply: string;
|
|
486
|
+
duplicate: string;
|
|
9
487
|
};
|
|
10
488
|
inlineTable: {
|
|
11
489
|
pasteHint: string;
|
|
@@ -15,83 +493,28 @@ declare const locale: {
|
|
|
15
493
|
floatMenu: {
|
|
16
494
|
menuTitle: {
|
|
17
495
|
chart: string;
|
|
18
|
-
chartTitle: string;
|
|
19
|
-
subtitle: string;
|
|
20
496
|
axisTitle: string;
|
|
21
|
-
legend: string;
|
|
22
|
-
horizontalAxis: string;
|
|
23
|
-
verticalAxis: string;
|
|
24
|
-
rightVerticalAxis: string;
|
|
25
497
|
gridline: string;
|
|
26
498
|
tick: string;
|
|
27
499
|
mark: string;
|
|
28
|
-
series: string;
|
|
29
|
-
dataPoint: string;
|
|
30
500
|
dataLabel: string;
|
|
31
501
|
};
|
|
32
502
|
field: {
|
|
33
|
-
title: string;
|
|
34
|
-
subtitle: string;
|
|
35
503
|
position: string;
|
|
36
504
|
size: string;
|
|
37
505
|
align: string;
|
|
38
|
-
mode: string;
|
|
39
506
|
map: string;
|
|
40
507
|
rotate: string;
|
|
41
|
-
min: string;
|
|
42
|
-
max: string;
|
|
43
|
-
color: string;
|
|
44
|
-
borderColor: string;
|
|
45
|
-
opacity: string;
|
|
46
|
-
labelPosition: string;
|
|
47
508
|
labelText: string;
|
|
48
509
|
titleText: string;
|
|
49
510
|
};
|
|
50
511
|
action: {
|
|
51
512
|
more: string;
|
|
52
|
-
bold: string;
|
|
53
|
-
italic: string;
|
|
54
513
|
};
|
|
55
514
|
control: {
|
|
56
515
|
labels: string;
|
|
57
516
|
line: string;
|
|
58
517
|
reverse: string;
|
|
59
|
-
date: string;
|
|
60
|
-
};
|
|
61
|
-
option: {
|
|
62
|
-
textAlign: {
|
|
63
|
-
left: string;
|
|
64
|
-
center: string;
|
|
65
|
-
right: string;
|
|
66
|
-
};
|
|
67
|
-
position: {
|
|
68
|
-
top: string;
|
|
69
|
-
bottom: string;
|
|
70
|
-
left: string;
|
|
71
|
-
right: string;
|
|
72
|
-
hide: string;
|
|
73
|
-
inside: string;
|
|
74
|
-
outside: string;
|
|
75
|
-
};
|
|
76
|
-
labelText: {
|
|
77
|
-
category: string;
|
|
78
|
-
value: string;
|
|
79
|
-
percentage: string;
|
|
80
|
-
};
|
|
81
|
-
axisAlign: {
|
|
82
|
-
start: string;
|
|
83
|
-
center: string;
|
|
84
|
-
end: string;
|
|
85
|
-
};
|
|
86
|
-
legendSelectMode: {
|
|
87
|
-
single: string;
|
|
88
|
-
multiple: string;
|
|
89
|
-
close: string;
|
|
90
|
-
};
|
|
91
|
-
visualMapType: {
|
|
92
|
-
continuous: string;
|
|
93
|
-
piecewise: string;
|
|
94
|
-
};
|
|
95
518
|
};
|
|
96
519
|
};
|
|
97
520
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChartModel, ChartPendingConfig, IChartBuilderAdapter } from '@univerjs-pro/engine-chart';
|
|
2
|
+
export declare abstract class IChartHostAdapter {
|
|
3
|
+
abstract getChartModel(): ChartModel;
|
|
4
|
+
abstract commit(config: ChartPendingConfig): void;
|
|
5
|
+
}
|
|
6
|
+
export declare class ChartHostAdapter extends IChartHostAdapter {
|
|
7
|
+
private readonly _model;
|
|
8
|
+
private readonly _commitTarget;
|
|
9
|
+
constructor(_model: ChartModel, _commitTarget: Pick<IChartBuilderAdapter, 'commit'>);
|
|
10
|
+
getChartModel(): ChartModel;
|
|
11
|
+
commit(config: ChartPendingConfig): void;
|
|
12
|
+
}
|