@univerjs-pro/engine-chart 1.3.0 → 1.4.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/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/chart-3d/adapters/axes.d.ts +3 -3
- package/lib/types/chart-3d/adapters/projection-data-label.d.ts +26 -26
- package/lib/types/chart-builder/chart-color.d.ts +1 -1
- package/lib/types/chart-builder/chart-types.d.ts +12 -12
- package/lib/types/chart-builder/configuration/cartesian-series.d.ts +1 -1
- package/lib/types/chart-builder/configuration/waterfall.d.ts +1 -1
- package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +3 -2554
- package/lib/types/enum.d.ts +26 -26
- package/lib/types/models/chart-data/pie-composite/pie-composite-projection.d.ts +5 -5
- package/lib/types/models/chart-host/resource/chart-resource-repository.d.ts +6 -6
- package/lib/types/models/chart-model/chart-model.d.ts +3 -7629
- package/lib/types/models/chart-render/chart-render-model-manager.service.d.ts +1 -1
- package/lib/types/models/chart-render/converter/converters/chord-chart-converter.d.ts +5 -5
- package/lib/types/models/chart-render/converter/converters/gauge-chart-converter.d.ts +8 -8
- package/lib/types/models/chart-render/converter/echart-text-overflow.d.ts +3 -3
- package/lib/types/models/chart-render/converter/render-spec-operators/tools.d.ts +1 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/visual-map-operator.d.ts +2 -2
- package/lib/types/models/chart-render/format/chart-value-format.d.ts +4 -4
- package/lib/types/models/common/constants/default-chart-style.d.ts +75 -75
- package/lib/types/types.d.ts +3 -3
- package/lib/types/util.d.ts +1 -1
- package/lib/types/wordcloud/core/collision/box-shape-engine.d.ts +1 -1
- package/lib/types/wordcloud/core/collision/glyph-shape-engine.d.ts +1 -1
- package/lib/types/wordcloud/echarts-options.d.ts +3 -3
- package/lib/types/wordcloud/render-config.d.ts +4 -4
- package/lib/types/wordcloud/types.d.ts +1 -1
- 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 -9
package/lib/types/enum.d.ts
CHANGED
|
@@ -104,40 +104,40 @@ export declare enum ChartTypeBits {
|
|
|
104
104
|
Chord = 8388608
|
|
105
105
|
}
|
|
106
106
|
export declare const ChartChordLabelPosition: {
|
|
107
|
-
readonly Inside:
|
|
108
|
-
readonly Outside:
|
|
107
|
+
readonly Inside: 'inside';
|
|
108
|
+
readonly Outside: 'outside';
|
|
109
109
|
};
|
|
110
110
|
export type ChartChordLabelPosition = typeof ChartChordLabelPosition[keyof typeof ChartChordLabelPosition];
|
|
111
111
|
export declare const ChartChordFocusMode: {
|
|
112
|
-
readonly Adjacency:
|
|
113
|
-
readonly Self:
|
|
114
|
-
readonly None:
|
|
112
|
+
readonly Adjacency: 'adjacency';
|
|
113
|
+
readonly Self: 'self';
|
|
114
|
+
readonly None: 'none';
|
|
115
115
|
};
|
|
116
116
|
export type ChartChordFocusMode = typeof ChartChordFocusMode[keyof typeof ChartChordFocusMode];
|
|
117
117
|
/** Persisted renderer-independent Chord ribbon color semantics. */
|
|
118
118
|
export declare const ChartChordRibbonColorMode: {
|
|
119
|
-
readonly Source:
|
|
120
|
-
readonly Target:
|
|
121
|
-
readonly Gradient:
|
|
119
|
+
readonly Source: 'source';
|
|
120
|
+
readonly Target: 'target';
|
|
121
|
+
readonly Gradient: 'gradient';
|
|
122
122
|
};
|
|
123
123
|
export type ChartChordRibbonColorMode = typeof ChartChordRibbonColorMode[keyof typeof ChartChordRibbonColorMode];
|
|
124
124
|
/** Persisted Gauge visual language. Missing historical values resolve to Modern. */
|
|
125
125
|
export declare const ChartGaugeMode: {
|
|
126
|
-
readonly Modern:
|
|
127
|
-
readonly Classic:
|
|
126
|
+
readonly Modern: 'modern';
|
|
127
|
+
readonly Classic: 'classic';
|
|
128
128
|
};
|
|
129
129
|
export type ChartGaugeMode = typeof ChartGaugeMode[keyof typeof ChartGaugeMode];
|
|
130
130
|
/** Persisted renderer-independent Gauge pointer shape. Missing historical values resolve to Needle. */
|
|
131
131
|
export declare const ChartGaugePointerShape: {
|
|
132
|
-
readonly Needle:
|
|
133
|
-
readonly Slim:
|
|
134
|
-
readonly Arrow:
|
|
132
|
+
readonly Needle: 'needle';
|
|
133
|
+
readonly Slim: 'slim';
|
|
134
|
+
readonly Arrow: 'arrow';
|
|
135
135
|
};
|
|
136
136
|
export type ChartGaugePointerShape = typeof ChartGaugePointerShape[keyof typeof ChartGaugePointerShape];
|
|
137
137
|
/** Persisted renderer-independent Sunburst label placement. */
|
|
138
138
|
export declare const ChartSunburstLabelPosition: {
|
|
139
|
-
readonly Inside:
|
|
140
|
-
readonly Outside:
|
|
139
|
+
readonly Inside: 'inside';
|
|
140
|
+
readonly Outside: 'outside';
|
|
141
141
|
};
|
|
142
142
|
export type ChartSunburstLabelPosition = typeof ChartSunburstLabelPosition[keyof typeof ChartSunburstLabelPosition];
|
|
143
143
|
export declare enum CategoryType {
|
|
@@ -180,29 +180,29 @@ export declare enum ChartWaterfallPointRole {
|
|
|
180
180
|
}
|
|
181
181
|
/** Candlestick point states used by persisted style keys and render classification. */
|
|
182
182
|
export declare const ChartCandlestickState: {
|
|
183
|
-
readonly Rising:
|
|
184
|
-
readonly Falling:
|
|
185
|
-
readonly Doji:
|
|
183
|
+
readonly Rising: 'rising';
|
|
184
|
+
readonly Falling: 'falling';
|
|
185
|
+
readonly Doji: 'doji';
|
|
186
186
|
};
|
|
187
187
|
export type ChartCandlestickState = typeof ChartCandlestickState[keyof typeof ChartCandlestickState];
|
|
188
188
|
/** Histogram bin sizing modes persisted by the semantic chart model. */
|
|
189
189
|
export declare const HistogramBinningMode: {
|
|
190
|
-
readonly Count:
|
|
191
|
-
readonly Width:
|
|
190
|
+
readonly Count: 'count';
|
|
191
|
+
readonly Width: 'width';
|
|
192
192
|
};
|
|
193
193
|
export type HistogramBinningMode = typeof HistogramBinningMode[keyof typeof HistogramBinningMode];
|
|
194
194
|
/** Roles assigned to computed Histogram bins. */
|
|
195
195
|
export declare const ChartHistogramBinKind: {
|
|
196
|
-
readonly Underflow:
|
|
197
|
-
readonly Regular:
|
|
198
|
-
readonly Overflow:
|
|
196
|
+
readonly Underflow: 'underflow';
|
|
197
|
+
readonly Regular: 'regular';
|
|
198
|
+
readonly Overflow: 'overflow';
|
|
199
199
|
};
|
|
200
200
|
export type ChartHistogramBinKind = typeof ChartHistogramBinKind[keyof typeof ChartHistogramBinKind];
|
|
201
201
|
/** Layout modes for Treemap parent labels. */
|
|
202
202
|
export declare const TreemapParentLabelLayout: {
|
|
203
|
-
readonly Banner:
|
|
204
|
-
readonly Overlapping:
|
|
205
|
-
readonly None:
|
|
203
|
+
readonly Banner: 'banner';
|
|
204
|
+
readonly Overlapping: 'overlapping';
|
|
205
|
+
readonly None: 'none';
|
|
206
206
|
};
|
|
207
207
|
export type TreemapParentLabelLayout = typeof TreemapParentLabelLayout[keyof typeof TreemapParentLabelLayout];
|
|
208
208
|
export declare enum IRuntimeAxisPriority {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { IChartPieCompositeSpec } from '../../../chart-builder/chart-types';
|
|
2
2
|
import { PieCompositeMarkRole, PieCompositePlot, PieSecondaryPlotType } from '../../../chart-builder/chart-types';
|
|
3
3
|
export declare const PieCompositeDiagnosticCode: {
|
|
4
|
-
readonly InsufficientSourcePoints:
|
|
5
|
-
readonly InvalidSecondaryPlot:
|
|
6
|
-
readonly InvalidPositionCount:
|
|
7
|
-
readonly EmptySecondarySelection:
|
|
8
|
-
readonly AllPointsSelected:
|
|
4
|
+
readonly InsufficientSourcePoints: 'insufficientSourcePoints';
|
|
5
|
+
readonly InvalidSecondaryPlot: 'invalidSecondaryPlot';
|
|
6
|
+
readonly InvalidPositionCount: 'invalidPositionCount';
|
|
7
|
+
readonly EmptySecondarySelection: 'emptySecondarySelection';
|
|
8
|
+
readonly AllPointsSelected: 'allPointsSelected';
|
|
9
9
|
};
|
|
10
10
|
export type PieCompositeDiagnosticCode = typeof PieCompositeDiagnosticCode[keyof typeof PieCompositeDiagnosticCode];
|
|
11
11
|
export type PieCompositeDatum = {
|
|
@@ -54,12 +54,12 @@ interface IChartDataSourceRemovedEvent {
|
|
|
54
54
|
dataSourceId: string;
|
|
55
55
|
}
|
|
56
56
|
export declare const ChartResourceChangeKind: {
|
|
57
|
-
readonly DataSourceSet:
|
|
58
|
-
readonly DataSourceRemoved:
|
|
59
|
-
readonly ChartSet:
|
|
60
|
-
readonly ChartRemoved:
|
|
61
|
-
readonly UnitLoaded:
|
|
62
|
-
readonly UnitUnloaded:
|
|
57
|
+
readonly DataSourceSet: 'data-source-set';
|
|
58
|
+
readonly DataSourceRemoved: 'data-source-removed';
|
|
59
|
+
readonly ChartSet: 'chart-set';
|
|
60
|
+
readonly ChartRemoved: 'chart-removed';
|
|
61
|
+
readonly UnitLoaded: 'unit-loaded';
|
|
62
|
+
readonly UnitUnloaded: 'unit-unloaded';
|
|
63
63
|
};
|
|
64
64
|
export type IChartResourceChangeEvent = {
|
|
65
65
|
kind: typeof ChartResourceChangeKind.DataSourceSet;
|