@univerjs-pro/engine-chart 1.3.1 → 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.
Files changed (111) hide show
  1. package/lib/cjs/facade.js +1 -1
  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/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/chart-3d/adapters/axes.d.ts +3 -3
  65. package/lib/types/chart-3d/adapters/projection-data-label.d.ts +26 -26
  66. package/lib/types/chart-builder/chart-color.d.ts +1 -1
  67. package/lib/types/chart-builder/chart-types.d.ts +12 -12
  68. package/lib/types/chart-builder/configuration/cartesian-series.d.ts +1 -1
  69. package/lib/types/chart-builder/configuration/waterfall.d.ts +1 -1
  70. package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +3 -2554
  71. package/lib/types/enum.d.ts +26 -26
  72. package/lib/types/models/chart-data/pie-composite/pie-composite-projection.d.ts +5 -5
  73. package/lib/types/models/chart-host/resource/chart-resource-repository.d.ts +6 -6
  74. package/lib/types/models/chart-model/chart-model.d.ts +3 -7629
  75. package/lib/types/models/chart-render/chart-render-model-manager.service.d.ts +1 -1
  76. package/lib/types/models/chart-render/converter/converters/chord-chart-converter.d.ts +5 -5
  77. package/lib/types/models/chart-render/converter/converters/gauge-chart-converter.d.ts +8 -8
  78. package/lib/types/models/chart-render/converter/echart-text-overflow.d.ts +3 -3
  79. package/lib/types/models/chart-render/converter/render-spec-operators/tools.d.ts +1 -1
  80. package/lib/types/models/chart-render/converter/render-spec-operators/visual-map-operator.d.ts +2 -2
  81. package/lib/types/models/chart-render/format/chart-value-format.d.ts +4 -4
  82. package/lib/types/models/common/constants/default-chart-style.d.ts +75 -75
  83. package/lib/types/types.d.ts +3 -3
  84. package/lib/types/util.d.ts +1 -1
  85. package/lib/types/wordcloud/core/collision/box-shape-engine.d.ts +1 -1
  86. package/lib/types/wordcloud/core/collision/glyph-shape-engine.d.ts +1 -1
  87. package/lib/types/wordcloud/echarts-options.d.ts +3 -3
  88. package/lib/types/wordcloud/render-config.d.ts +4 -4
  89. package/lib/types/wordcloud/types.d.ts +1 -1
  90. package/lib/umd/facade.js +1 -1
  91. package/lib/umd/index.js +1 -1
  92. package/lib/umd/locale/ar-SA.js +1 -1
  93. package/lib/umd/locale/ca-ES.js +1 -1
  94. package/lib/umd/locale/de-DE.js +1 -1
  95. package/lib/umd/locale/en-US.js +1 -1
  96. package/lib/umd/locale/es-ES.js +1 -1
  97. package/lib/umd/locale/fa-IR.js +1 -1
  98. package/lib/umd/locale/fr-FR.js +1 -1
  99. package/lib/umd/locale/id-ID.js +1 -1
  100. package/lib/umd/locale/it-IT.js +1 -1
  101. package/lib/umd/locale/ja-JP.js +1 -1
  102. package/lib/umd/locale/ko-KR.js +1 -1
  103. package/lib/umd/locale/pl-PL.js +1 -1
  104. package/lib/umd/locale/pt-BR.js +1 -1
  105. package/lib/umd/locale/ru-RU.js +1 -1
  106. package/lib/umd/locale/sk-SK.js +1 -1
  107. package/lib/umd/locale/vi-VN.js +1 -1
  108. package/lib/umd/locale/zh-CN.js +1 -1
  109. package/lib/umd/locale/zh-HK.js +1 -1
  110. package/lib/umd/locale/zh-TW.js +1 -1
  111. package/package.json +9 -9
@@ -104,40 +104,40 @@ export declare enum ChartTypeBits {
104
104
  Chord = 8388608
105
105
  }
106
106
  export declare const ChartChordLabelPosition: {
107
- readonly Inside: "inside";
108
- readonly Outside: "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: "adjacency";
113
- readonly Self: "self";
114
- readonly None: "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: "source";
120
- readonly Target: "target";
121
- readonly Gradient: "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: "modern";
127
- readonly Classic: "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: "needle";
133
- readonly Slim: "slim";
134
- readonly Arrow: "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: "inside";
140
- readonly Outside: "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: "rising";
184
- readonly Falling: "falling";
185
- readonly Doji: "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: "count";
191
- readonly Width: "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: "underflow";
197
- readonly Regular: "regular";
198
- readonly Overflow: "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: "banner";
204
- readonly Overlapping: "overlapping";
205
- readonly None: "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: "insufficientSourcePoints";
5
- readonly InvalidSecondaryPlot: "invalidSecondaryPlot";
6
- readonly InvalidPositionCount: "invalidPositionCount";
7
- readonly EmptySecondarySelection: "emptySecondarySelection";
8
- readonly AllPointsSelected: "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: "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";
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;