@univerjs-pro/engine-chart 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.
Files changed (347) hide show
  1. package/README.md +16 -3
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -0
  5. package/lib/cjs/locale/ca-ES.js +1 -0
  6. package/lib/cjs/locale/de-DE.js +1 -0
  7. package/lib/cjs/locale/en-US.js +1 -0
  8. package/lib/cjs/locale/es-ES.js +1 -0
  9. package/lib/cjs/locale/fa-IR.js +1 -0
  10. package/lib/cjs/locale/fr-FR.js +1 -0
  11. package/lib/cjs/locale/id-ID.js +1 -0
  12. package/lib/cjs/locale/it-IT.js +1 -0
  13. package/lib/cjs/locale/ja-JP.js +1 -0
  14. package/lib/cjs/locale/ko-KR.js +1 -0
  15. package/lib/cjs/locale/pl-PL.js +1 -0
  16. package/lib/cjs/locale/pt-BR.js +1 -0
  17. package/lib/cjs/locale/ru-RU.js +1 -0
  18. package/lib/cjs/locale/sk-SK.js +1 -0
  19. package/lib/cjs/locale/vi-VN.js +1 -0
  20. package/lib/cjs/locale/zh-CN.js +1 -0
  21. package/lib/cjs/locale/zh-HK.js +1 -0
  22. package/lib/cjs/locale/zh-TW.js +1 -0
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -0
  26. package/lib/es/locale/ca-ES.js +1 -0
  27. package/lib/es/locale/de-DE.js +1 -0
  28. package/lib/es/locale/en-US.js +1 -0
  29. package/lib/es/locale/es-ES.js +1 -0
  30. package/lib/es/locale/fa-IR.js +1 -0
  31. package/lib/es/locale/fr-FR.js +1 -0
  32. package/lib/es/locale/id-ID.js +1 -0
  33. package/lib/es/locale/it-IT.js +1 -0
  34. package/lib/es/locale/ja-JP.js +1 -0
  35. package/lib/es/locale/ko-KR.js +1 -0
  36. package/lib/es/locale/pl-PL.js +1 -0
  37. package/lib/es/locale/pt-BR.js +1 -0
  38. package/lib/es/locale/ru-RU.js +1 -0
  39. package/lib/es/locale/sk-SK.js +1 -0
  40. package/lib/es/locale/vi-VN.js +1 -0
  41. package/lib/es/locale/zh-CN.js +1 -0
  42. package/lib/es/locale/zh-HK.js +1 -0
  43. package/lib/es/locale/zh-TW.js +1 -0
  44. package/lib/facade.js +1 -1
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -0
  47. package/lib/locale/ca-ES.js +1 -0
  48. package/lib/locale/de-DE.js +1 -0
  49. package/lib/locale/en-US.js +1 -0
  50. package/lib/locale/es-ES.js +1 -0
  51. package/lib/locale/fa-IR.js +1 -0
  52. package/lib/locale/fr-FR.js +1 -0
  53. package/lib/locale/id-ID.js +1 -0
  54. package/lib/locale/it-IT.js +1 -0
  55. package/lib/locale/ja-JP.js +1 -0
  56. package/lib/locale/ko-KR.js +1 -0
  57. package/lib/locale/pl-PL.js +1 -0
  58. package/lib/locale/pt-BR.js +1 -0
  59. package/lib/locale/ru-RU.js +1 -0
  60. package/lib/locale/sk-SK.js +1 -0
  61. package/lib/locale/vi-VN.js +1 -0
  62. package/lib/locale/zh-CN.js +1 -0
  63. package/lib/locale/zh-HK.js +1 -0
  64. package/lib/locale/zh-TW.js +1 -0
  65. package/lib/types/chart-builder/chart-builder-adapter.d.ts +3 -3
  66. package/lib/types/chart-builder/chart-builder.d.ts +4 -3
  67. package/lib/types/chart-builder/chart-starter-data.d.ts +4 -0
  68. package/lib/types/chart-builder/chart-types.d.ts +180 -67
  69. package/lib/types/chart-builder/configuration/assertions.d.ts +3 -0
  70. package/lib/types/chart-builder/configuration/candlestick.d.ts +9 -0
  71. package/lib/types/chart-builder/configuration/cartesian-series.d.ts +2 -1
  72. package/lib/types/chart-builder/configuration/chart-config-operation.d.ts +9 -1
  73. package/lib/types/chart-builder/configuration/chord.d.ts +12 -0
  74. package/lib/types/chart-builder/configuration/gauge.d.ts +31 -0
  75. package/lib/types/chart-builder/configuration/histogram.d.ts +11 -0
  76. package/lib/types/chart-builder/configuration/pie.d.ts +5 -6
  77. package/lib/types/chart-builder/configuration/point-mapping.d.ts +3 -0
  78. package/lib/types/chart-builder/configuration/sunburst.d.ts +7 -0
  79. package/lib/types/chart-builder/configuration/treemap.d.ts +8 -0
  80. package/lib/types/chart-builder/configuration/waterfall.d.ts +3 -1
  81. package/lib/types/chart-builder/conversion/chart-config-converter.d.ts +9 -3
  82. package/lib/types/chart-builder/conversion/chart-context-patch.d.ts +5 -0
  83. package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +13 -6
  84. package/lib/types/chart-builder/conversion/chart-type-converter.d.ts +3 -1
  85. package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +1546 -7
  86. package/lib/types/chart-builder/conversion/resolve-chart-model-data.d.ts +4 -4
  87. package/lib/types/chart-builder/detached-chart-builder-adapter.d.ts +10 -1
  88. package/lib/types/chart-builder/internal/chart-patch-replace-policy.d.ts +6 -0
  89. package/lib/types/chart-builder/internal/host-builder-runtime.d.ts +0 -2
  90. package/lib/types/chart-data-aggregation.d.ts +10 -0
  91. package/lib/types/chart-text-measure-canvas.d.ts +6 -0
  92. package/lib/types/config/config.d.ts +7 -0
  93. package/lib/types/enum.d.ts +78 -2
  94. package/lib/types/facade/builders/f-candlestick-chart-builder.d.ts +133 -0
  95. package/lib/types/facade/builders/f-chord-chart-builder.d.ts +30 -0
  96. package/lib/types/facade/builders/f-gauge-chart-builder.d.ts +52 -0
  97. package/lib/types/facade/builders/f-histogram-chart-builder.d.ts +74 -0
  98. package/lib/types/facade/builders/f-pie-chart-builder.d.ts +4 -61
  99. package/lib/types/facade/builders/f-sunburst-chart-builder.d.ts +24 -0
  100. package/lib/types/facade/builders/f-treemap-chart-builder.d.ts +34 -0
  101. package/lib/types/facade/chart-builder-type-map.d.ts +26 -1
  102. package/lib/types/facade/f-cartesian-chart-builder.d.ts +3 -3
  103. package/lib/types/facade/f-chart-base.d.ts +2 -2
  104. package/lib/types/facade/f-chart-builder-base.d.ts +4 -1
  105. package/lib/types/facade/f-enum.d.ts +3 -1
  106. package/lib/types/facade/index.d.ts +20 -1
  107. package/lib/types/index.d.ts +122 -39
  108. package/lib/types/locale/ar-SA.d.ts +3 -0
  109. package/lib/types/locale/ca-ES.d.ts +3 -0
  110. package/lib/types/locale/de-DE.d.ts +3 -0
  111. package/lib/types/locale/en-US.d.ts +46 -0
  112. package/lib/types/locale/es-ES.d.ts +3 -0
  113. package/lib/types/locale/fa-IR.d.ts +3 -0
  114. package/lib/types/locale/fr-FR.d.ts +3 -0
  115. package/lib/types/locale/id-ID.d.ts +3 -0
  116. package/lib/types/locale/it-IT.d.ts +3 -0
  117. package/lib/types/locale/ja-JP.d.ts +3 -0
  118. package/lib/types/locale/ko-KR.d.ts +3 -0
  119. package/lib/types/locale/pl-PL.d.ts +3 -0
  120. package/lib/types/locale/pt-BR.d.ts +3 -0
  121. package/lib/types/locale/ru-RU.d.ts +3 -0
  122. package/lib/types/locale/sk-SK.d.ts +3 -0
  123. package/lib/types/locale/types.d.ts +3 -0
  124. package/lib/types/locale/vi-VN.d.ts +3 -0
  125. package/lib/types/locale/zh-CN.d.ts +3 -0
  126. package/lib/types/locale/zh-HK.d.ts +3 -0
  127. package/lib/types/locale/zh-TW.d.ts +3 -0
  128. package/lib/types/models/{chart-semantic-axes.d.ts → chart-context/axes/chart-semantic-axes.d.ts} +2 -2
  129. package/lib/types/models/chart-context/chart-field-selection.d.ts +21 -0
  130. package/lib/types/models/chart-context/resolve-chart-context.d.ts +2 -0
  131. package/lib/types/models/chart-data/build-chart-data.d.ts +5 -0
  132. package/lib/types/models/chart-data/builders/boxplot-chart-data.d.ts +4 -0
  133. package/lib/types/models/chart-data/builders/candlestick-chart-data.d.ts +4 -0
  134. package/lib/types/models/chart-data/builders/cartesian-point-chart-data.d.ts +5 -0
  135. package/lib/types/models/chart-data/builders/category-series-chart-data.d.ts +5 -0
  136. package/lib/types/models/chart-data/builders/chord-chart-data.d.ts +4 -0
  137. package/lib/types/models/chart-data/builders/gauge-chart-data.d.ts +4 -0
  138. package/lib/types/models/chart-data/builders/heatmap-chart-data.d.ts +3 -0
  139. package/lib/types/models/chart-data/builders/hierarchy-chart-data.d.ts +5 -0
  140. package/lib/types/models/chart-data/builders/histogram-chart-data.d.ts +4 -0
  141. package/lib/types/models/chart-data/builders/relation-chart-data.d.ts +3 -0
  142. package/lib/types/models/chart-data/builders/sankey-chart-data.d.ts +3 -0
  143. package/lib/types/models/chart-data/chart-field-consumption-validator.d.ts +15 -0
  144. package/lib/types/models/chart-data/chart-field-consumption.d.ts +4 -0
  145. package/lib/types/models/chart-data/chart-field-requirements.d.ts +7 -0
  146. package/lib/types/models/chart-data/get-chart-data-builder.d.ts +7 -0
  147. package/lib/types/models/chart-data/internal/aggregate-number-format.d.ts +8 -0
  148. package/lib/types/models/{chart-data-operators → chart-data/internal}/cartesian-point-data.d.ts +3 -8
  149. package/lib/types/models/chart-data/internal/category-data.d.ts +3 -0
  150. package/lib/types/models/chart-data/internal/category-series-aggregation.d.ts +10 -0
  151. package/lib/types/models/chart-data/internal/chart-data-result.d.ts +5 -0
  152. package/lib/types/models/chart-data/internal/chart-hierarchy-data.d.ts +1 -0
  153. package/lib/types/models/chart-data/internal/chord-data.d.ts +7 -0
  154. package/lib/types/models/chart-data/internal/data-set-accessors.d.ts +7 -0
  155. package/lib/types/models/chart-data/internal/gauge-data.d.ts +5 -0
  156. package/lib/types/models/chart-data/internal/histogram-bins.d.ts +10 -0
  157. package/lib/types/models/chart-data/internal/relation-data-shape.d.ts +2 -0
  158. package/lib/types/models/chart-data/internal/source-cell-label.d.ts +3 -0
  159. package/lib/types/models/chart-data/internal/sunburst-data.d.ts +4 -0
  160. package/lib/types/models/chart-data/internal/treemap-data.d.ts +4 -0
  161. package/lib/types/models/chart-data/pie-composite/pie-composite-projection.d.ts +36 -0
  162. package/lib/types/models/chart-data/pie-composite/pie-composite-render-metadata.d.ts +15 -0
  163. package/lib/types/models/chart-data/pie-composite/pie-composite-spec.d.ts +38 -0
  164. package/lib/types/models/{chart-host-style.d.ts → chart-host/chart-host-style.d.ts} +1 -1
  165. package/lib/types/models/{image-chart-host.d.ts → chart-host/image-chart-host.d.ts} +14 -2
  166. package/lib/types/models/{offscreen-chart-host.d.ts → chart-host/offscreen-chart-host.d.ts} +1 -1
  167. package/lib/types/models/{chart-resource-serializer.d.ts → chart-host/resource/chart-resource-serializer.d.ts} +1 -1
  168. package/lib/types/models/chart-host/resource/inline-chart-table.d.ts +4 -0
  169. package/lib/types/models/chart-host/resource/static-chart-resource-repository.d.ts +75 -0
  170. package/lib/types/models/chart-host/static/static-chart-model-store.d.ts +43 -0
  171. package/lib/types/models/chart-host/static/static-chart-runtime.d.ts +26 -0
  172. package/lib/types/models/{chart-model.d.ts → chart-model/chart-model.d.ts} +1660 -625
  173. package/lib/types/models/{echart-to-chart-model-init.d.ts → chart-model/echart-to-chart-model-init.d.ts} +2 -2
  174. package/lib/types/models/{data-context-transformers/bar-data-context-transformer.d.ts → chart-model/type-transition/bar-type-transition.d.ts} +1 -1
  175. package/lib/types/models/{data-context-transformers/line-like-context-transformer.d.ts → chart-model/type-transition/line-like-type-transition.d.ts} +1 -1
  176. package/lib/types/models/{data-context-transformers/percent-data-context-transformer.d.ts → chart-model/type-transition/percent-type-transition.d.ts} +1 -1
  177. package/lib/types/models/{chart-element-axis-id.d.ts → chart-render/axes/chart-element-axis-id.d.ts} +1 -1
  178. package/lib/types/models/{chart-runtime-axes.d.ts → chart-render/axes/chart-runtime-axes.d.ts} +3 -3
  179. package/lib/types/models/{chart-render-input-resolver.d.ts → chart-render/chart-render-input-resolver.d.ts} +2 -2
  180. package/lib/types/models/{chart-render-model-manager.service.d.ts → chart-render/chart-render-model-manager.service.d.ts} +2 -3
  181. package/lib/types/models/{mode-converter → chart-render/converter}/converters/boxplot-chart-converter.d.ts +1 -1
  182. package/lib/types/models/{mode-converter → chart-render/converter}/converters/bubble-chart-converter.d.ts +1 -1
  183. package/lib/types/models/chart-render/converter/converters/candlestick-chart-converter.d.ts +4 -0
  184. package/lib/types/models/chart-render/converter/converters/chord-chart-converter.d.ts +10 -0
  185. package/lib/types/models/{mode-converter → chart-render/converter}/converters/combination-chart-converter.d.ts +1 -1
  186. package/lib/types/models/{mode-converter → chart-render/converter}/converters/funnel-chart-converter.d.ts +1 -1
  187. package/lib/types/models/chart-render/converter/converters/gauge-chart-converter.d.ts +18 -0
  188. package/lib/types/models/{mode-converter → chart-render/converter}/converters/heatmap-chart-convert.d.ts +1 -1
  189. package/lib/types/models/chart-render/converter/converters/histogram-chart-converter.d.ts +3 -0
  190. package/lib/types/models/{mode-converter → chart-render/converter}/converters/pareto-chart-converter.d.ts +1 -1
  191. package/lib/types/models/{mode-converter → chart-render/converter}/converters/pie-chart-converter.d.ts +1 -1
  192. package/lib/types/models/{mode-converter → chart-render/converter}/converters/radar-chart-converter.d.ts +1 -1
  193. package/lib/types/models/{mode-converter → chart-render/converter}/converters/relation-chart-converter.d.ts +1 -1
  194. package/lib/types/models/{mode-converter → chart-render/converter}/converters/sankey-chart-converter.d.ts +1 -1
  195. package/lib/types/models/{mode-converter → chart-render/converter}/converters/scatter-chart-converter.d.ts +1 -1
  196. package/lib/types/models/chart-render/converter/converters/sunburst-chart-converter.d.ts +3 -0
  197. package/lib/types/models/{mode-converter → chart-render/converter}/converters/tools.d.ts +1 -1
  198. package/lib/types/models/chart-render/converter/converters/treemap-chart-converter.d.ts +3 -0
  199. package/lib/types/models/{mode-converter → chart-render/converter}/converters/waterfall-chart-converter.d.ts +1 -1
  200. package/lib/types/models/{mode-converter → chart-render/converter}/converters/waterfall-layout.d.ts +2 -2
  201. package/lib/types/models/{mode-converter → chart-render/converter}/converters/word-cloud-converter.d.ts +1 -1
  202. package/lib/types/models/{mode-converter → chart-render/converter}/mode-converter.d.ts +3 -5
  203. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/auto-gradient-presets.d.ts +1 -1
  204. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/axis-title.operator.d.ts +1 -1
  205. package/lib/types/models/chart-render/converter/render-spec-operators/bar-layout.operator.d.ts +3 -0
  206. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/bubble-style.operator.d.ts +1 -1
  207. package/lib/types/models/{mode-converter/render-spec-operators/trend-line/trend-line.operator.d.ts → chart-render/converter/render-spec-operators/chart-axes.operator.d.ts} +1 -1
  208. package/lib/types/models/{mode-converter/render-spec-operators/relation-chart-operator/relation-chart-operator.d.ts → chart-render/converter/render-spec-operators/chart-box-style.operator.d.ts} +1 -1
  209. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/chart-color.d.ts +1 -1
  210. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/empty-style-operator.d.ts +1 -1
  211. package/lib/types/models/chart-render/converter/render-spec-operators/font-size.operator.d.ts +2 -0
  212. package/lib/types/models/chart-render/converter/render-spec-operators/grid-operator.d.ts +12 -0
  213. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/heatmap-chart-operator.d.ts +1 -1
  214. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/hover-mark-style.operator.d.ts +1 -1
  215. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/implicit-category-axis.operator.d.ts +1 -1
  216. package/lib/types/models/{mode-converter/render-spec-operators/series-style-operator/pareto-series-style.handler.d.ts → chart-render/converter/render-spec-operators/invalid-value-style.operator.d.ts} +1 -1
  217. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/legend-size.d.ts +1 -1
  218. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/legend-style.operator.d.ts +1 -1
  219. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/line-like-style.operator.d.ts +1 -1
  220. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/mark-line.operator.d.ts +1 -1
  221. package/lib/types/models/chart-render/converter/render-spec-operators/pie-composite-layout.operator.d.ts +2 -0
  222. package/lib/types/models/chart-render/converter/render-spec-operators/pie-style.operator.d.ts +2 -0
  223. package/lib/types/models/chart-render/converter/render-spec-operators/plot-area.d.ts +10 -0
  224. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/radar-style.operator.d.ts +1 -1
  225. package/lib/types/models/chart-render/converter/render-spec-operators/relation-chart-operator/relation-chart-operator.d.ts +2 -0
  226. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/rich-text-inheritance.operator.d.ts +1 -1
  227. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/rtl-render-spec.operator.d.ts +1 -1
  228. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/sankey-chart-operator.d.ts +1 -1
  229. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/scatter-style.operator.d.ts +1 -1
  230. package/lib/types/models/chart-render/converter/render-spec-operators/series-style-operator/pareto-series-style.handler.d.ts +2 -0
  231. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/series-style-operator.d.ts +2 -2
  232. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/waterfall-series-style-operator.d.ts +1 -1
  233. package/lib/types/models/chart-render/converter/render-spec-operators/stack.operator.d.ts +2 -0
  234. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/theme.operator.d.ts +1 -1
  235. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/title-style.operator.d.ts +1 -1
  236. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/tool-tip-operator.d.ts +8 -3
  237. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/tool-tip-renderer.d.ts +1 -1
  238. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/tools.d.ts +1 -2
  239. package/lib/types/models/chart-render/converter/render-spec-operators/trend-line/trend-line.operator.d.ts +2 -0
  240. package/lib/types/models/chart-render/converter/render-spec-operators/visual-map-operator.d.ts +2 -0
  241. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/watermark.operator.d.ts +1 -1
  242. package/lib/types/models/{echart-render-model.d.ts → chart-render/echart-render-model.d.ts} +10 -4
  243. package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/chart-element-edit-overlay.d.ts +2 -2
  244. package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/resolve-chart-element-hit-layout.d.ts +2 -2
  245. package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/types.d.ts +1 -1
  246. package/lib/types/models/chart-render/format/chart-value-format.d.ts +16 -0
  247. package/lib/types/models/{chart-runtime-style.d.ts → chart-render/style/chart-runtime-style.d.ts} +3 -2
  248. package/lib/types/models/common/chart-field-diagnostic.d.ts +14 -0
  249. package/lib/types/models/common/chart-field-role.d.ts +53 -0
  250. package/lib/types/models/common/chart-locale-texts.d.ts +44 -0
  251. package/lib/types/models/common/constants/chord.d.ts +5 -0
  252. package/lib/types/models/common/constants/default-chart-style.d.ts +920 -0
  253. package/lib/types/models/{constants → common/constants}/default.d.ts +1 -1
  254. package/lib/types/models/common/constants/hierarchy.d.ts +5 -0
  255. package/lib/types/models/common/constants/histogram-defaults.d.ts +8 -0
  256. package/lib/types/models/common/constants/treemap.d.ts +1 -0
  257. package/lib/types/models/common/theme/build-in-theme/theme-util.d.ts +4 -0
  258. package/lib/types/models/{chart-theme.service.d.ts → common/theme/chart-theme.service.d.ts} +1 -3
  259. package/lib/types/plugin.d.ts +15 -0
  260. package/lib/types/types.d.ts +426 -31
  261. package/lib/types/util.d.ts +1 -7
  262. package/lib/types/utils/echarts.d.ts +0 -1
  263. package/lib/types/word-cloud-resource/word-cloud-resource-config.d.ts +5 -0
  264. package/lib/types/wordcloud-chart/adapters/echarts/chart-view.d.ts +0 -2
  265. package/lib/types/wordcloud-chart/adapters/echarts/echarts-options.d.ts +1 -1
  266. package/lib/types/wordcloud-chart/adapters/echarts/layout-register.d.ts +0 -2
  267. package/lib/types/wordcloud-chart/adapters/echarts/series-model.d.ts +0 -2
  268. package/lib/types/wordcloud-chart/adapters/echarts/text-measurer.d.ts +1 -1
  269. package/lib/types/wordcloud-chart/canvas.d.ts +3 -3
  270. package/lib/types/wordcloud-chart/core/collision/box-shape-engine.d.ts +1 -1
  271. package/lib/types/wordcloud-chart/core/layout/word-shrink.d.ts +5 -8
  272. package/lib/types/wordcloud-chart/core/text/formatter.d.ts +2 -2
  273. package/lib/types/wordcloud-chart/core/text/normalize.d.ts +2 -2
  274. package/lib/types/wordcloud-chart/defaults.d.ts +2 -2
  275. package/lib/types/wordcloud-chart/types.d.ts +0 -3
  276. package/lib/types/wordcloud-chart/word-cloud-render-config.d.ts +1 -0
  277. package/lib/umd/facade.js +1 -1
  278. package/lib/umd/index.js +1 -1
  279. package/lib/umd/locale/ar-SA.js +1 -0
  280. package/lib/umd/locale/ca-ES.js +1 -0
  281. package/lib/umd/locale/de-DE.js +1 -0
  282. package/lib/umd/locale/en-US.js +1 -0
  283. package/lib/umd/locale/es-ES.js +1 -0
  284. package/lib/umd/locale/fa-IR.js +1 -0
  285. package/lib/umd/locale/fr-FR.js +1 -0
  286. package/lib/umd/locale/id-ID.js +1 -0
  287. package/lib/umd/locale/it-IT.js +1 -0
  288. package/lib/umd/locale/ja-JP.js +1 -0
  289. package/lib/umd/locale/ko-KR.js +1 -0
  290. package/lib/umd/locale/pl-PL.js +1 -0
  291. package/lib/umd/locale/pt-BR.js +1 -0
  292. package/lib/umd/locale/ru-RU.js +1 -0
  293. package/lib/umd/locale/sk-SK.js +1 -0
  294. package/lib/umd/locale/vi-VN.js +1 -0
  295. package/lib/umd/locale/zh-CN.js +1 -0
  296. package/lib/umd/locale/zh-HK.js +1 -0
  297. package/lib/umd/locale/zh-TW.js +1 -0
  298. package/package.json +10 -4
  299. package/lib/types/chart-builder/configuration/index.d.ts +0 -30
  300. package/lib/types/chart-builder/index.d.ts +0 -14
  301. package/lib/types/facade/builders/index.d.ts +0 -14
  302. package/lib/types/models/chart-data-operators/build-chart-data.d.ts +0 -9
  303. package/lib/types/models/chart-data-operators/index.d.ts +0 -2
  304. package/lib/types/models/chart-data-operators/operators.d.ts +0 -20
  305. package/lib/types/models/chart-element-edit-overlay/index.d.ts +0 -4
  306. package/lib/types/models/chart-locale-texts.d.ts +0 -22
  307. package/lib/types/models/constants/build-in-theme/index.d.ts +0 -15
  308. package/lib/types/models/constants/build-in-theme/theme-util.d.ts +0 -5
  309. package/lib/types/models/constants/default-chart-style.d.ts +0 -138
  310. package/lib/types/models/data-context-transformers/box-plot-data-context-transformer.d.ts +0 -3
  311. package/lib/types/models/data-context-transformers/pareto-data-context-transformer.d.ts +0 -3
  312. package/lib/types/models/data-context-transformers/pie-data-context-transformer.d.ts +0 -3
  313. package/lib/types/models/data-context-transformers/word-cloud-data-context-transform.d.ts +0 -3
  314. package/lib/types/models/mode-converter/render-spec-operators/chart-axes.operator.d.ts +0 -2
  315. package/lib/types/models/mode-converter/render-spec-operators/chart-box-style.operator.d.ts +0 -2
  316. package/lib/types/models/mode-converter/render-spec-operators/font-size.operator.d.ts +0 -2
  317. package/lib/types/models/mode-converter/render-spec-operators/grid-operator.d.ts +0 -2
  318. package/lib/types/models/mode-converter/render-spec-operators/index.d.ts +0 -15
  319. package/lib/types/models/mode-converter/render-spec-operators/invalid-value-style.operator.d.ts +0 -2
  320. package/lib/types/models/mode-converter/render-spec-operators/pie-style.operator.d.ts +0 -2
  321. package/lib/types/models/mode-converter/render-spec-operators/stack.operator.d.ts +0 -2
  322. package/lib/types/models/mode-converter/render-spec-operators/visual-map-operator.d.ts +0 -2
  323. package/lib/types/models/spec-converter/spec-converter.d.ts +0 -1
  324. package/lib/types/models/word-cloud-musk-image.service.d.ts +0 -17
  325. package/lib/types/wordcloud-chart/index.d.ts +0 -12
  326. /package/lib/types/models/{mode-converter → chart-render/converter}/converters/constants.d.ts +0 -0
  327. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/operator-types.d.ts +0 -0
  328. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/relation-chart-operator/relation-force-directed-layout.d.ts +0 -0
  329. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/series-chart-style.handler.d.ts +0 -0
  330. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/series-data-label.handler.d.ts +0 -0
  331. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/trend-line/trendline-util.d.ts +0 -0
  332. /package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/palette.d.ts +0 -0
  333. /package/lib/types/models/{series-style → chart-render/style/series-style}/series-style-resolver.d.ts +0 -0
  334. /package/lib/types/models/{constants → common/theme}/build-in-theme/default.d.ts +0 -0
  335. /package/lib/types/models/{constants → common/theme}/build-in-theme/types.d.ts +0 -0
  336. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient1.d.ts +0 -0
  337. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient2.d.ts +0 -0
  338. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient3.d.ts +0 -0
  339. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient4.d.ts +0 -0
  340. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient5.d.ts +0 -0
  341. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient6.d.ts +0 -0
  342. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer1.d.ts +0 -0
  343. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer2.d.ts +0 -0
  344. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer3.d.ts +0 -0
  345. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer4.d.ts +0 -0
  346. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer5.d.ts +0 -0
  347. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer6.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { ChartAllSeriesStyleTarget, ChartAxisPointerTarget, ChartPublicSeriesSelector, ChartSeriesClearTarget, ChartSeriesTrendlineSelector, ChartTrendlineSelector, ChartTrendlineValue, IChartAxisPointerSpec, IChartBarSpec, IChartSeriesPatch, IChartSeriesStyleSpec } from '@univerjs-pro/engine-chart';
1
+ import type { ChartAllSeriesStyleTarget, ChartAxisPointerTarget, ChartPublicSeriesSelector, ChartSeriesClearTarget, ChartSeriesTrendlineSelector, ChartTrendlineSelector, ChartTrendlineValue, DeepNullish, IChartAxisPointerSpec, IChartBarSpec, IChartSeriesPatch, IChartSeriesStyleSpec } from '@univerjs-pro/engine-chart';
2
2
  import { FAxisChartBuilder } from './f-axis-chart-builder';
3
3
  export declare class FCartesianChartBuilder<TSeriesPatch extends Omit<IChartSeriesPatch, 'selector'> = Omit<IChartSeriesPatch, 'selector'>, TSeriesStyle extends IChartSeriesStyleSpec = IChartSeriesStyleSpec> extends FAxisChartBuilder {
4
4
  readonly __seriesPatchType?: TSeriesPatch;
@@ -29,7 +29,7 @@ export declare class FCartesianChartBuilder<TSeriesPatch extends Omit<IChartSeri
29
29
  * builder.setSeries(0, { color });
30
30
  * ```
31
31
  */
32
- setSeries(selector: ChartPublicSeriesSelector, patch: TSeriesPatch): this;
32
+ setSeries(selector: ChartPublicSeriesSelector, patch: DeepNullish<TSeriesPatch>): this;
33
33
  /**
34
34
  * Clears the series configuration and returns this builder for chaining.
35
35
  *
@@ -60,7 +60,7 @@ export declare class FCartesianChartBuilder<TSeriesPatch extends Omit<IChartSeri
60
60
  * builder.setAllSeriesStyle({ color: '#1677ff', fillOpacity: 0.8 });
61
61
  * ```
62
62
  */
63
- setAllSeriesStyle(style: TSeriesStyle): this;
63
+ setAllSeriesStyle(style: DeepNullish<TSeriesStyle>): this;
64
64
  /**
65
65
  * Clears persistent defaults inherited by every series.
66
66
  *
@@ -1,4 +1,4 @@
1
- import type { ChartBuilder, ChartDescription, IChartRenderModelImageExportOptions, IChartRenderModelImageExportResult, IResolvedChartData } from '@univerjs-pro/engine-chart';
1
+ import type { ChartBuilder, ChartDescription, IChartData, IChartRenderModelImageExportOptions, IChartRenderModelImageExportResult } from '@univerjs-pro/engine-chart';
2
2
  import type { DeepReadonly } from '@univerjs/core';
3
3
  import type { IChartBuilderFacadeContext, IChartBuilderFacadeContextAccess } from './internal/chart-builder-facade-context';
4
4
  export declare abstract class FChartBase<TDescription extends ChartDescription = ChartDescription, TBuilder extends ChartBuilder = ChartBuilder> implements IChartBuilderFacadeContextAccess {
@@ -51,7 +51,7 @@ export declare abstract class FChartBase<TDescription extends ChartDescription =
51
51
  * console.log(data.series);
52
52
  * ```
53
53
  */
54
- resolveData(): DeepReadonly<IResolvedChartData>;
54
+ resolveData(): DeepReadonly<IChartData>;
55
55
  /**
56
56
  * Commits all pending builder changes synchronously.
57
57
  *
@@ -324,7 +324,10 @@ export declare class FChartBuilderBase<TBuilder extends ChartBuilder = ChartBuil
324
324
  * ```ts
325
325
  * const worksheet = univerAPI.getActiveWorkbook().getActiveSheet();
326
326
  * const builder = worksheet.charts.create();
327
- * builder.setAggregation({ aggregate: true, topN: 10 });
327
+ * builder.setAggregation({
328
+ * aggregate: true,
329
+ * topN: { count: 10, sourceIndex: 2 },
330
+ * });
328
331
  * ```
329
332
  */
330
333
  setAggregation(value: IChartAggregationSpec): this;
@@ -1,4 +1,4 @@
1
- import { AreaLineStyle, ChartAggregationTarget, ChartAllSeriesStyleTarget, ChartAppearanceTarget, ChartAxisDimension, ChartAxisName, ChartAxisPointerTarget, ChartAxisTarget, ChartAxisTickPosition, ChartMarkLineLabelPosition, ChartSemanticAxis, ChartSeriesAxis, ChartSeriesClearTarget, ChartSeriesTypeString, ChartTrendlineType, ChartTypeString, ChartVisualMapType, ChartWaterfallPointRole, ChartWaterfallStyleTarget, ChartWordCloudShapeSource, InvalidValueType, LabelAlignEnum, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum } from '@univerjs-pro/engine-chart';
1
+ import { AreaLineStyle, ChartAggregationTarget, ChartAllSeriesStyleTarget, ChartAppearanceTarget, ChartAxisDimension, ChartAxisName, ChartAxisPointerTarget, ChartAxisTarget, ChartAxisTickPosition, ChartMarkLineLabelPosition, ChartSemanticAxis, ChartSeriesAxis, ChartSeriesClearTarget, ChartSeriesTypeString, ChartSunburstLabelPosition, ChartTrendlineType, ChartTypeString, ChartVisualMapType, ChartWaterfallPointRole, ChartWaterfallStyleTarget, ChartWordCloudShapeSource, InvalidValueType, LabelAlignEnum, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum } from '@univerjs-pro/engine-chart';
2
2
  import { FEnum } from '@univerjs/core/facade';
3
3
  /** @ignore */
4
4
  export interface IFChartEnumMixin {
@@ -16,6 +16,7 @@ export interface IFChartEnumMixin {
16
16
  ChartSeriesClearTarget: typeof ChartSeriesClearTarget;
17
17
  ChartAllSeriesStyleTarget: typeof ChartAllSeriesStyleTarget;
18
18
  ChartSeriesTypeString: typeof ChartSeriesTypeString;
19
+ ChartSunburstLabelPosition: typeof ChartSunburstLabelPosition;
19
20
  ChartTypeString: typeof ChartTypeString;
20
21
  ChartVisualMapType: typeof ChartVisualMapType;
21
22
  ChartWaterfallStyleTarget: typeof ChartWaterfallStyleTarget;
@@ -50,6 +51,7 @@ export declare class FChartEnumMixin extends FEnum implements IFChartEnumMixin {
50
51
  get ChartSeriesClearTarget(): typeof ChartSeriesClearTarget;
51
52
  get ChartAllSeriesStyleTarget(): typeof ChartAllSeriesStyleTarget;
52
53
  get ChartSeriesTypeString(): typeof ChartSeriesTypeString;
54
+ get ChartSunburstLabelPosition(): typeof ChartSunburstLabelPosition;
53
55
  get ChartTypeString(): typeof ChartTypeString;
54
56
  get ChartVisualMapType(): typeof ChartVisualMapType;
55
57
  get ChartWaterfallStyleTarget(): typeof ChartWaterfallStyleTarget;
@@ -1,6 +1,25 @@
1
1
  import './register-builders';
2
2
  import './f-enum';
3
- export * from './builders';
3
+ export { FAreaChartBuilder } from './builders/f-area-chart-builder';
4
+ export { FBoxplotChartBuilder } from './builders/f-boxplot-chart-builder';
5
+ export { FBubbleChartBuilder } from './builders/f-bubble-chart-builder';
6
+ export { FCandlestickChartBuilder } from './builders/f-candlestick-chart-builder';
7
+ export { FChordChartBuilder } from './builders/f-chord-chart-builder';
8
+ export { FCombinationChartBuilder } from './builders/f-combination-chart-builder';
9
+ export { FFunnelChartBuilder } from './builders/f-funnel-chart-builder';
10
+ export { FGaugeChartBuilder } from './builders/f-gauge-chart-builder';
11
+ export { FHeatmapChartBuilder } from './builders/f-heatmap-chart-builder';
12
+ export { FHistogramChartBuilder } from './builders/f-histogram-chart-builder';
13
+ export { FLineChartBuilder } from './builders/f-line-chart-builder';
14
+ export { FParetoChartBuilder } from './builders/f-pareto-chart-builder';
15
+ export { FPieChartBuilder } from './builders/f-pie-chart-builder';
16
+ export { FRadarChartBuilder } from './builders/f-radar-chart-builder';
17
+ export { FRelationChartBuilder } from './builders/f-relation-chart-builder';
18
+ export { FScatterChartBuilder } from './builders/f-scatter-chart-builder';
19
+ export { FSunburstChartBuilder } from './builders/f-sunburst-chart-builder';
20
+ export { FTreemapChartBuilder } from './builders/f-treemap-chart-builder';
21
+ export { FWaterfallChartBuilder } from './builders/f-waterfall-chart-builder';
22
+ export { FWordCloudChartBuilder } from './builders/f-word-cloud-chart-builder';
4
23
  export { getChartBuilderConstructor } from './chart-builder-registry';
5
24
  export type { IChartBuilderTypeMap } from './chart-builder-type-map';
6
25
  export type { HostAnyChartBuilder, HostChartBuilderOf, HostComposedChartBuilder, IHostChartBuilderTypes } from './chart-host-builder-types';
@@ -1,44 +1,128 @@
1
- export type { ChartColor, ChartDescription, ChartLegendSpec, ChartLinearGradientInput, ChartPublicSeriesSelector, ChartSeriesSelector, ChartSeriesTrendlineSelector, ChartSubtitleSpec, ChartTitleSpec, IChartAggregationSpec, IChartAppearanceSpec, IChartAreaSpec, IChartAxesSpec, IChartAxisBindingDescription, IChartAxisLabelSpec, IChartAxisPointerSpec, IChartAxisSpec, IChartBarSpec, IChartBubbleMappingSpec, IChartDescription, IChartFontSpec, IChartFunnelSpec, IChartGradientPoint, IChartGradientStop, IChartHeatmapLabelSpec, IChartHeatmapSpec, IChartLegendOptions, IChartLinearGradient, IChartLineSeriesPatch, IChartMappingSpec, IChartMarkLineLabelSpec, IChartMarkLineSpec, IChartParetoBarLabelStyleSpec, IChartParetoBarStyleSpec, IChartParetoBorderStyleSpec, IChartParetoLineLabelStyleSpec, IChartParetoLineStyleSpec, IChartParetoPointStyleSpec, IChartParetoSpec, IChartPieLabelSpec, IChartPieSpec, IChartRadarSpec, IChartRelationForceSpec, IChartRelationSpec, IChartScatterMappingSpec, IChartSeriesBorderSpec, IChartSeriesDataPointStyleSpec, IChartSeriesDescription, IChartSeriesLabelSpec, IChartSeriesPatch, IChartSeriesPointSpec, IChartSeriesStyleSpec, IChartSliceStyleSpec, IChartSolidSeriesPatch, IChartSolidSeriesStyleSpec, IChartSubtitleOptions, IChartSymbolDataPointStyleSpec, IChartTitleOptions, IChartTrendlineSpec, IChartWaterfallConnectorStyleSpec, IChartWaterfallPointRoleSpec, IChartWaterfallSpec, IChartWordCloudDescription, IChartWordCloudSpec, IInlineChartBuilderAdapter, IInlineChartHostPatch, IResolvedChartData, } from './chart-builder';
2
- export { AREA_CHART_TYPES, AXIS_CHART_TYPES, CARTESIAN_CHART_TYPES, CHART_LINEAR_GRADIENT_TYPE, ChartAggregationTarget, ChartAllSeriesStyleTarget, ChartAppearanceTarget, ChartAxisName, ChartAxisPointerTarget, ChartAxisTarget, ChartAxisTickPosition, chartLinearGradient, ChartSeriesAxis, ChartSeriesClearTarget, ChartSeriesTypeString, ChartTypeString, ChartVisualMapType, ChartWaterfallStyleTarget, ChartWordCloudShapeSource, DEFAULT_CHART_TYPE, } from './chart-builder';
3
- export { ChartBuilder, chartTypeToBits, clearAggregation, clearAllSeriesStyle, clearAppearance, clearAreaLineStyle, clearAxisPointer, clearAxisTitle, clearBar, clearBubbleMapping, clearCategoryField, clearCellLabel, clearCumulativeLineStyle, clearDoughnutHole, clearLegend, clearLineStyle, clearMarkLines, clearMaskImage, clearPalette, clearParetoBarStyle, clearPieLabel, clearRelationForce, clearRightYAxis, clearScatterMapping, clearSeries, clearSliceBorderColor, clearSliceStyle, clearSubtitle, clearTheme, clearTitle, clearTrendlines, clearValueFields, clearValueRange, clearValueSuffix, clearValueUnit, clearWaterfallConnector, clearWaterfallStyle, clearXAxis, clearYAxis, describeChartModel, DetachedChartBuilderAdapter, InlineChartBuilder, removeTrendline, resetAutoGradientFill, resetCircularLabelRotation, resetCombinationSeriesAxis, resetCombinationSeriesType, resetDecimalPlaces, resetEmphasisEnabled, resetExplosion, resetFunnelGap, resetHalfPie, resetIncludeZeroValues, resetInvalidValueStrategy, resetLabelLineVisible, resetPaddingAngleEnabled, resetRadarFill, resetRadarShape, resetRelationLayout, resetRelationNodeShape, resetRosePie, resetUseAbsoluteValue, resetUseDateAxis, resetUseSubtotal, resetUseValueAsSymbolSize, resetValueScale, resetVisualMapType, resetWaterfallStackType, resetWordCloudRepeat, resetWordCloudShape, resolveChartDescriptionMetadata, resolveChartModelData, resolveInlineChartDataSet, setAggregation, setAllSeriesStyle, setAppearance, setAreaLineStyle, setAutoGradientFill, setAxisPointer, setAxisTitle, setBar, setBubbleMapping, setCategoryField, setCellLabel, setCircularLabelRotation, setCombinationSeriesAxis, setCombinationSeriesType, setCumulativeLineStyle, setDecimalPlaces, setDoughnutHole, setEmphasisEnabled, setExplosion, setFunnelGap, setHalfPie, setIncludeZeroValues, setInvalidValueStrategy, setLabelLineVisible, setLegend, setLineStyle, setMarkLines, setMaskImage, setPaddingAngleEnabled, setPalette, setParetoBarStyle, setPieLabel, setRadarFill, setRadarShape, setRelationForce, setRelationLayout, setRelationNodeShape, setRightYAxis, setRosePie, setScatterMapping, setSeries, setSliceBorderColor, setSliceStyle, setSubtitle, setTheme, setTitle, setTrendline, setUseAbsoluteValue, setUseDateAxis, setUseSubtotal, setUseValueAsSymbolSize, setValueFields, setValueRange, setValueScale, setValueSuffix, setValueUnit, setVisualMapType, setWaterfallConnector, setWaterfallPointRoles, setWaterfallStackType, setWaterfallStyle, setWordCloudRepeat, setWordCloudShape, setXAxis, setYAxis, toChartModelConfig, toCompleteChartModelConfig, } from './chart-builder';
4
- export type { ChartPendingConfig, ChartTrendlineSelector, ChartTrendlineValue, IChartBuilderAdapter, IChartCreateConfig, } from './chart-builder';
5
- export { AreaLineStyle, AxisAlignEnum, AxisValueType, BarShape, CategoryType, ChartAttributeBits, ChartAxisDimension, ChartBorderDashType, ChartMarkLineLabelPosition, ChartSemanticAxis, ChartSourceDataTypeEnum, ChartTrendlineType, ChartTypeBits, ChartWaterfallPointRole, DataOrientation, InvalidValueType, IRuntimeAxisPosition, IRuntimeAxisPriority, LabelAlignEnum, LabelContentType, LegendPositionEnum, LinePointShape, ParetoSeriesIndex, ParetoSeriesPart, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, StackType, TextAlign, TextVerticalAlign, TitlePositionEnum, WaterfallSeriesTypeEnum, WaterfallStackTypeEnum, WordCloudShapeEnum, } from './enum';
6
- export { buildChartData, RelationColumnIndex } from './models/chart-data-operators/build-chart-data';
7
- export { CartesianPointRoleIndex, CartesianPointValueIndex } from './models/chart-data-operators/cartesian-point-data';
8
- export { defaultChartContextOperators, findCategoryIndexes, findCategoryOperator, findHeaderOperator, findSeriesOperator, generateChartModelContextByOperators, pieSeriesFilterOperator, } from './models/chart-data-operators/operators';
9
- export { CHART_HOST_DEFAULT_BORDER_COLOR, CHART_HOST_DEFAULT_BORDER_RADIUS, CHART_HOST_DEFAULT_BORDER_WIDTH, composeChartHostFrameImage, getChartHostFrameContentRect, resolveChartHostFrameBorder, resolveChartHostFrameStyle, resolveDefaultChartHostFrameStyle, shouldComposeChartHostFrame, } from './models/chart-host-style';
10
- export type { IResolveChartHostFrameStyleInput, IResolveDefaultChartHostFrameStyleInput, } from './models/chart-host-style';
11
- export type { IChartLocaleTexts } from './models/chart-locale-texts';
12
- export { getDefaultChartLocaleTexts, replaceLocaleParams } from './models/chart-locale-texts';
13
- export { CHART_DEBOUNCE_TIME, ChartModel, } from './models/chart-model';
14
- export { resolveChartRenderModelImageExportInput } from './models/chart-render-input-resolver';
15
- export type { IChartRenderInputRuntime, IResolveChartRenderModelImageExportInputParams, } from './models/chart-render-input-resolver';
16
- export { ChartRenderModelManagerService, IChartRenderModelManagerService, registerChartRenderModelManagerService, } from './models/chart-render-model-manager.service';
17
- export { serializeChartResource } from './models/chart-resource-serializer';
18
- export { resolveChartRuntimeStyle, resolveChartStyleBackgroundColor, } from './models/chart-runtime-style';
19
- export { ChartThemeService, registerChartThemeService, } from './models/chart-theme.service';
20
- export { getThemeAxesByType } from './models/constants/build-in-theme';
21
- export { themeDefault, UniverTheme1, UniverTheme2, UniverTheme3, UniverTheme4, UniverTheme5, UniverTheme6, UniverThemeGradient1, UniverThemeGradient2, UniverThemeGradient3, UniverThemeGradient4, UniverThemeGradient5, UniverThemeGradient6, } from './models/constants/build-in-theme';
22
- export type { IEchartTheme } from './models/constants/build-in-theme';
23
- export { getThemeProps } from './models/constants/build-in-theme';
24
- export { defaultChartHeight, defaultChartWidth, EChartRenderEngineName } from './models/constants/default';
25
- export { defaultChartConfig, RTLChartStyle, themeColors } from './models/constants/default-chart-style';
26
- export { EChartRenderEngine, EChartRenderModel } from './models/echart-render-model';
27
- export type { IEChartRenderModelOptions } from './models/echart-render-model';
28
- export { echartToChartModelInit, isChartModelInit } from './models/echart-to-chart-model-init';
29
- export { chartImageSourceToDataUrl, ImageChartHost } from './models/image-chart-host';
30
- export type { IChartModelInitParams } from './models/mode-converter/mode-converter';
31
- export { convertModelFromInitData, convertModelToSpec, } from './models/mode-converter/mode-converter';
32
- export { OffscreenChartHost } from './models/offscreen-chart-host';
33
- export { registerWordCloudChartMakImageService, WordCloudMuskImageService, } from './models/word-cloud-musk-image.service';
1
+ export { ChartBuilder, } from './chart-builder/chart-builder';
2
+ export type { IChartBuilderAdapter, } from './chart-builder/chart-builder-adapter';
3
+ export type { ChartColor, ChartLinearGradientInput, IChartGradientPoint, IChartGradientStop, IChartLinearGradient, } from './chart-builder/chart-color';
4
+ export { CHART_LINEAR_GRADIENT_TYPE, chartLinearGradient, } from './chart-builder/chart-color';
5
+ export type { ChartDescription, } from './chart-builder/chart-description';
6
+ export { createChartStarterRows } from './chart-builder/chart-starter-data';
7
+ export type { ChartLegendSpec, ChartSeriesSelector, ChartSubtitleSpec, ChartTitleSpec, IChartAggregationSpec, IChartAppearanceSpec, IChartAreaSpec, IChartAxesSpec, IChartAxisBindingDescription, IChartAxisLabelSpec, IChartAxisPointerSpec, IChartAxisSpec, IChartBarSpec, IChartBubbleMappingSpec, IChartBubbleSpec, IChartDescription, IChartFontSpec, IChartFunnelSpec, IChartGaugeTicksPatch, IChartHeatmapLabelSpec, IChartHeatmapSpec, IChartLegendOptions, IChartLineSeriesPatch, IChartMappingSpec, IChartMarkLineLabelSpec, IChartMarkLineSpec, IChartParetoBarLabelStyleSpec, IChartParetoBarStyleSpec, IChartParetoBorderStyleSpec, IChartParetoLineLabelStyleSpec, IChartParetoLineStyleSpec, IChartParetoPointStyleSpec, IChartParetoSpec, IChartPieAggregateSpec, IChartPieCompositeSpec, IChartPieConnectorSpec, IChartPieLabelSpec, IChartPieSecondaryPlotSpec, IChartPieSpec, IChartPlotAreaSpec, IChartRadarSpec, IChartRelationForceSpec, IChartRelationSpec, IChartScatterMappingSpec, IChartSeriesBorderSpec, IChartSeriesDataPointStyleSpec, IChartSeriesDescription, IChartSeriesLabelSpec, IChartSeriesPatch, IChartSeriesPointSpec, IChartSeriesStyleSpec, IChartSliceStyleSpec, IChartSolidSeriesPatch, IChartSolidSeriesStyleSpec, IChartSubtitleOptions, IChartSymbolDataPointStyleSpec, IChartTitleOptions, IChartTrendlineSpec, IChartWaterfallConnectorStyleSpec, IChartWaterfallPointRoleSpec, IChartWaterfallSpec, IChartWordCloudDescription, IChartWordCloudSpec, PieSecondarySplitSpec, } from './chart-builder/chart-types';
8
+ export { AREA_CHART_TYPES, AXIS_CHART_TYPES, CARTESIAN_CHART_TYPES, ChartAxisTickPosition, ChartSeriesTypeString, ChartTypeString, ChartVisualMapType, ChartWaterfallStyleTarget, ChartWordCloudShapeSource, DEFAULT_CHART_TYPE, PieCompositeMarkRole, PieSecondaryPlotType, PieSecondarySplitType, } from './chart-builder/chart-types';
9
+ export type { ChartPendingConfig, IChartCreateConfig, } from './chart-builder/chart-types';
10
+ export { ChartAggregationTarget, } from './chart-builder/configuration/aggregation';
11
+ export { clearAggregation, setAggregation, } from './chart-builder/configuration/aggregation';
12
+ export { ChartAppearanceTarget, } from './chart-builder/configuration/appearance';
13
+ export { clearAppearance, setAppearance, } from './chart-builder/configuration/appearance';
14
+ export { clearAreaLineStyle, setAreaLineStyle, } from './chart-builder/configuration/area';
15
+ export { resetAutoGradientFill, setAutoGradientFill, } from './chart-builder/configuration/auto-gradient-fill';
16
+ export { ChartAxisName, ChartAxisTarget, } from './chart-builder/configuration/axes';
17
+ export { clearAxisTitle, clearRightYAxis, clearXAxis, clearYAxis, resetUseDateAxis, setAxisTitle, setRightYAxis, setUseDateAxis, setXAxis, setYAxis, } from './chart-builder/configuration/axes';
18
+ export { ChartAxisPointerTarget, } from './chart-builder/configuration/axis-pointer';
19
+ export { clearAxisPointer, setAxisPointer, } from './chart-builder/configuration/axis-pointer';
20
+ export { clearBar, setBar, } from './chart-builder/configuration/bar';
21
+ export { clearDojiStyle, clearFallingStyle, clearRisingStyle, resetCandleWidth, setCandleWidth, setDojiStyle, setFallingStyle, setRisingStyle, } from './chart-builder/configuration/candlestick';
22
+ export type { ChartPublicSeriesSelector, } from './chart-builder/configuration/cartesian-series';
23
+ export { ChartAllSeriesStyleTarget, ChartSeriesClearTarget, } from './chart-builder/configuration/cartesian-series';
24
+ export { clearAllSeriesStyle, clearSeries, setAllSeriesStyle, setSeries, } from './chart-builder/configuration/cartesian-series';
25
+ export type { IChartConfigOperation, } from './chart-builder/configuration/chart-config-operation';
26
+ export { resetChordEmphasis, resetChordLabel, resetChordLayout, resetChordNode, resetChordRibbon, setChordEmphasis, setChordLabel, setChordLayout, setChordMapping, setChordNode, setChordRibbon, } from './chart-builder/configuration/chord';
27
+ export { ChartSeriesAxis, } from './chart-builder/configuration/combination';
28
+ export { resetCombinationSeriesAxis, resetCombinationSeriesType, setCombinationSeriesAxis, setCombinationSeriesType, } from './chart-builder/configuration/combination';
29
+ export { resetFunnelGap, resetUseAbsoluteValue, setFunnelGap, setUseAbsoluteValue, } from './chart-builder/configuration/funnel';
30
+ export { resetGaugeAnchor, resetGaugeAngles, resetGaugeAxisLabel, resetGaugeAxisLine, resetGaugeAxisTick, resetGaugeDetail, resetGaugeMode, resetGaugePointer, resetGaugeProgress, resetGaugeRanges, resetGaugeScale, resetGaugeSplitLine, resetGaugeTitle, setGaugeAnchor, setGaugeAngles, setGaugeAxisLabel, setGaugeAxisLine, setGaugeAxisTick, setGaugeDetail, setGaugeMode, setGaugePointer, setGaugeProgress, setGaugeRanges, setGaugeScale, setGaugeSplitLine, setGaugeTicks, setGaugeTitle, setGaugeValueField, } from './chart-builder/configuration/gauge';
31
+ export { clearCellLabel, clearValueRange, clearValueUnit, resetVisualMapType, setCellLabel, setValueRange, setValueUnit, setVisualMapType, } from './chart-builder/configuration/heatmap';
32
+ export { clearHistogramField, clearHistogramOverflowThreshold, clearHistogramUnderflowThreshold, resetHistogramBinGap, resetHistogramBinning, setHistogramBinCount, setHistogramBinGap, setHistogramBinWidth, setHistogramField, setHistogramOverflowThreshold, setHistogramUnderflowThreshold, } from './chart-builder/configuration/histogram';
33
+ export { resetInvalidValueStrategy, setInvalidValueStrategy, } from './chart-builder/configuration/invalid-value';
34
+ export { clearLegend, setLegend, } from './chart-builder/configuration/legend';
35
+ export { clearLineStyle, setLineStyle, } from './chart-builder/configuration/line';
36
+ export { clearCategoryField, clearValueFields, setCategoryField, setValueFields, } from './chart-builder/configuration/mapping';
37
+ export { clearMarkLines, setMarkLines, } from './chart-builder/configuration/mark-lines';
38
+ export { clearPalette, setPalette, } from './chart-builder/configuration/palette';
39
+ export { clearCumulativeLineStyle, clearParetoBarStyle, resetIncludeZeroValues, setCumulativeLineStyle, setIncludeZeroValues, setParetoBarStyle, } from './chart-builder/configuration/pareto';
40
+ export { clearDoughnutHole, clearPieComposite, clearPieLabel, clearSliceBorderColor, clearSliceStyle, resetExplosion, resetHalfPie, resetLabelLineVisible, resetPaddingAngleEnabled, resetRosePie, resetValueScale, setDoughnutHole, setExplosion, setHalfPie, setLabelLineVisible, setPaddingAngleEnabled, setPieComposite, setPieLabel, setRosePie, setSliceBorderColor, setSliceStyle, setValueScale, } from './chart-builder/configuration/pie';
41
+ export { clearBubbleMapping, clearCandlestickFields, clearScatterMapping, setBubbleMapping, setCandlestickFields, setScatterMapping, } from './chart-builder/configuration/point-mapping';
42
+ export { resetRadarFill, resetRadarShape, setRadarFill, setRadarShape, } from './chart-builder/configuration/radar';
43
+ export { clearRelationForce, resetCircularLabelRotation, resetEmphasisEnabled, resetRelationLayout, resetRelationNodeShape, resetUseValueAsSymbolSize, setCircularLabelRotation, setEmphasisEnabled, setRelationForce, setRelationLayout, setRelationNodeShape, setUseValueAsSymbolSize, } from './chart-builder/configuration/relation';
44
+ export { clearSubtitle, setSubtitle, } from './chart-builder/configuration/subtitle';
45
+ export { resetSunburstCenterLabel, resetSunburstLabel, setSunburstCenterLabel, setSunburstHierarchyFields, setSunburstLabel, setSunburstValueField, } from './chart-builder/configuration/sunburst';
46
+ export { clearTheme, setTheme, } from './chart-builder/configuration/theme';
47
+ export { clearTitle, setTitle, } from './chart-builder/configuration/title';
48
+ export { resetTreemapLabel, resetTreemapParentLabelLayout, setTreemapHierarchyFields, setTreemapLabel, setTreemapParentLabelLayout, setTreemapValueField, } from './chart-builder/configuration/treemap';
49
+ export type { ChartSeriesTrendlineSelector, } from './chart-builder/configuration/trendline';
50
+ export { clearTrendlines, removeTrendline, setTrendline, } from './chart-builder/configuration/trendline';
51
+ export type { ChartTrendlineSelector, ChartTrendlineValue, } from './chart-builder/configuration/trendline';
52
+ export { clearWaterfallConnector, clearWaterfallStyle, resetUseSubtotal, resetWaterfallStackType, setUseSubtotal, setWaterfallConnector, setWaterfallPointRoles, setWaterfallStackType, setWaterfallStyle, } from './chart-builder/configuration/waterfall';
53
+ export { clearMaskImage, resetWordCloudRepeat, resetWordCloudShape, setMaskImage, setWordCloudRepeat, setWordCloudShape, } from './chart-builder/configuration/word-cloud';
54
+ export { toChartModelConfig, toCompleteChartModelConfig, } from './chart-builder/conversion/chart-config-converter';
55
+ export { canonicalizeChartContext, } from './chart-builder/conversion/chart-context-patch';
56
+ export { chartBitsToType, chartTypeToBits, getChartStackType, withChartStackType, } from './chart-builder/conversion/chart-type-converter';
57
+ export { describeChartModel, projectChartModelDescription, resolveChartDescriptionMetadata, } from './chart-builder/conversion/describe-chart-model';
58
+ export { resolveChartModelData, } from './chart-builder/conversion/resolve-chart-model-data';
59
+ export { DetachedChartBuilderAdapter, DetachedInlineChartBuilderAdapter, } from './chart-builder/detached-chart-builder-adapter';
60
+ export type { IInlineChartBuilderAdapter, IInlineChartHostPatch, } from './chart-builder/internal/host-builder-runtime';
61
+ export { InlineChartBuilder, resolveInlineChartDataSet, } from './chart-builder/internal/host-builder-runtime';
62
+ export type { IChartDataAggregation, IChartTopNSpec } from './chart-data-aggregation';
63
+ export type { IUniverChartConfig } from './config/config';
64
+ export { AreaLineStyle, AxisAlignEnum, AxisValueType, BarShape, CategoryType, ChartAttributeBits, ChartAxisDimension, ChartBorderDashType, ChartCandlestickState, ChartChordFocusMode, ChartChordLabelPosition, ChartChordRibbonColorMode, ChartGaugeMode, ChartGaugePointerShape, ChartHistogramBinKind, ChartMarkLineLabelPosition, ChartSemanticAxis, ChartSourceDataTypeEnum, ChartSunburstLabelPosition, ChartTrendlineType, ChartTypeBits, ChartWaterfallPointRole, DataOrientation, HistogramBinningMode, InvalidValueType, IRuntimeAxisPosition, IRuntimeAxisPriority, LabelAlignEnum, LabelContentType, LegendPositionEnum, LinePointShape, ParetoSeriesIndex, ParetoSeriesPart, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, StackType, TextAlign, TextVerticalAlign, TitlePositionEnum, TreemapParentLabelLayout, WaterfallSeriesTypeEnum, WaterfallStackTypeEnum, WordCloudShapeEnum, } from './enum';
65
+ export { generateChartContext } from './models/chart-context/resolve-chart-context';
66
+ export { MAX_HISTOGRAM_BIN_COUNT } from './models/chart-data/internal/histogram-bins';
67
+ export { PIE_CONNECTOR_COLOR_DEFAULT, PIE_CONNECTOR_DASH_TYPE_DEFAULT, PIE_CONNECTOR_OPACITY_DEFAULT, PIE_CONNECTOR_VISIBLE_DEFAULT, PIE_CONNECTOR_WIDTH_DEFAULT, PIE_PERCENTAGE_SPLIT_LESS_THAN_DEFAULT, PIE_POSITION_SPLIT_COUNT_DEFAULT, PIE_POSITION_SPLIT_COUNT_MIN, PIE_SECONDARY_GAP_WIDTH_DEFAULT, PIE_SECONDARY_GAP_WIDTH_MAX, PIE_SECONDARY_GAP_WIDTH_MIN, PIE_SECONDARY_SIZE_DEFAULT, PIE_SECONDARY_SIZE_MAX, PIE_SECONDARY_SIZE_MIN, PIE_VALUE_SPLIT_LESS_THAN_DEFAULT, } from './models/chart-data/pie-composite/pie-composite-spec';
68
+ export { CHART_HOST_DEFAULT_BORDER_COLOR, CHART_HOST_DEFAULT_BORDER_RADIUS, CHART_HOST_DEFAULT_BORDER_WIDTH, composeChartHostFrameImage, getChartHostFrameContentRect, resolveChartHostFrameBorder, resolveChartHostFrameStyle, resolveDefaultChartHostFrameStyle, shouldComposeChartHostFrame, } from './models/chart-host/chart-host-style';
69
+ export type { IResolveChartHostFrameStyleInput, IResolveDefaultChartHostFrameStyleInput, } from './models/chart-host/chart-host-style';
70
+ export { chartImageSourceToDataUrl, DataUrlImageChartHost, ImageChartHost, } from './models/chart-host/image-chart-host';
71
+ export { OffscreenChartHost } from './models/chart-host/offscreen-chart-host';
72
+ export { serializeChartResource } from './models/chart-host/resource/chart-resource-serializer';
73
+ export { buildInlineChartTableDataSet, parseInlineChartTable, } from './models/chart-host/resource/inline-chart-table';
74
+ export type { InlineChartCellValue } from './models/chart-host/resource/inline-chart-table';
75
+ export { STATIC_CHART_RESOURCE_VERSION, StaticChartResourceRepository, } from './models/chart-host/resource/static-chart-resource-repository';
76
+ export type { ICreateStaticChartDataSourceOptions, ICreateStaticChartSnapshotOptions, IStaticChartContext, IStaticChartInlineDataSource, IStaticChartResource, IStaticChartSnapshot, IStaticChartState, IUpdateStaticChartSnapshotPatch, } from './models/chart-host/resource/static-chart-resource-repository';
77
+ export { StaticChartModelStore } from './models/chart-host/static/static-chart-model-store';
78
+ export type { IStaticChartModelRuntime } from './models/chart-host/static/static-chart-model-store';
79
+ export { createStaticChartRuntime, refreshStaticChartRuntime, } from './models/chart-host/static/static-chart-runtime';
80
+ export type { ICreateStaticChartRuntimeOptions, IStaticChartRuntime, IStaticChartRuntimeConfig, } from './models/chart-host/static/static-chart-runtime';
81
+ export type { IChartModelInit } from './models/chart-model/chart-model';
82
+ export { ChartModel } from './models/chart-model/chart-model';
83
+ export { echartToChartModelInit, isChartModelInit } from './models/chart-model/echart-to-chart-model-init';
84
+ export { resolveChartElementAxisId } from './models/chart-render/axes/chart-element-axis-id';
85
+ export type { ChartElementAxisId } from './models/chart-render/axes/chart-element-axis-id';
86
+ export { resolveChartRenderModelImageExportInput } from './models/chart-render/chart-render-input-resolver';
87
+ export type { IChartRenderInputRuntime, IResolveChartRenderModelImageExportInputParams, } from './models/chart-render/chart-render-input-resolver';
88
+ export { ChartRenderModelManagerService, IChartRenderModelManagerService, } from './models/chart-render/chart-render-model-manager.service';
89
+ export type { IChartModelInitParams } from './models/chart-render/converter/mode-converter';
90
+ export { convertModelFromInitData, convertModelToSpec, } from './models/chart-render/converter/mode-converter';
91
+ export { resolveChartPlotAreaForEditing } from './models/chart-render/converter/render-spec-operators/grid-operator';
92
+ export { EChartRenderEngine, EChartRenderModel } from './models/chart-render/echart-render-model';
93
+ export type { IEChartRenderModelOptions } from './models/chart-render/echart-render-model';
94
+ export { CHART_VALUE_FORMAT_PRESETS, CHART_VALUE_FORMAT_PREVIEW_VALUE, } from './models/chart-render/format/chart-value-format';
95
+ export { resolveChartRuntimeStyle, resolveChartStyleBackgroundColor, } from './models/chart-render/style/chart-runtime-style';
96
+ export type { IChartLocaleTexts } from './models/common/chart-locale-texts';
97
+ export { replaceLocaleParams } from './models/common/chart-locale-texts';
98
+ export { DEFAULT_CHORD_MAPPING } from './models/common/constants/chord';
99
+ export { defaultChartHeight, defaultChartWidth, EChartRenderEngineName } from './models/common/constants/default';
100
+ export { defaultChartConfig, resolveGaugeStyle, RTLChartStyle } from './models/common/constants/default-chart-style';
101
+ export { DEFAULT_HISTOGRAM_BIN_COUNT, DEFAULT_HISTOGRAM_BIN_WIDTH, MAX_HISTOGRAM_BIN_GAP, } from './models/common/constants/histogram-defaults';
102
+ export type { IEchartTheme } from './models/common/theme/build-in-theme/types';
103
+ export { UniverTheme1 } from './models/common/theme/build-in-theme/univer1';
104
+ export { UniverTheme2 } from './models/common/theme/build-in-theme/univer2';
105
+ export { UniverTheme3 } from './models/common/theme/build-in-theme/univer3';
106
+ export { UniverTheme4 } from './models/common/theme/build-in-theme/univer4';
107
+ export { UniverTheme5 } from './models/common/theme/build-in-theme/univer5';
108
+ export { UniverTheme6 } from './models/common/theme/build-in-theme/univer6';
109
+ export { UniverThemeGradient1 } from './models/common/theme/build-in-theme/univer-gradient1';
110
+ export { UniverThemeGradient2 } from './models/common/theme/build-in-theme/univer-gradient2';
111
+ export { UniverThemeGradient3 } from './models/common/theme/build-in-theme/univer-gradient3';
112
+ export { UniverThemeGradient4 } from './models/common/theme/build-in-theme/univer-gradient4';
113
+ export { UniverThemeGradient5 } from './models/common/theme/build-in-theme/univer-gradient5';
114
+ export { UniverThemeGradient6 } from './models/common/theme/build-in-theme/univer-gradient6';
115
+ export { ChartThemeService, } from './models/common/theme/chart-theme.service';
116
+ export { UniverChartPlugin } from './plugin';
34
117
  export { toChartDataItem } from './source/chart-data-item';
35
118
  export { ChartDataSource } from './source/chart-source';
36
119
  export { StaticChartSource } from './source/static-chart-source';
120
+ export type { IChartCandlestickMappingSpec, IChartCandlestickSpec, IChartCandlestickStateStyleSpec, IChartChordEmphasisSpec, IChartChordLabelSpec, IChartChordLayoutSpec, IChartChordMappingSpec, IChartChordNodeStyleSpec, IChartChordRibbonStyleSpec, IChartChordSpec, IChartGaugeAnchorSpec, IChartGaugeAnglesSpec, IChartGaugeAxisLabelSpec, IChartGaugeAxisLineSpec, IChartGaugeAxisTickSpec, IChartGaugeDetailSpec, IChartGaugeFontSpec, IChartGaugePointerSpec, IChartGaugeProgressSpec, IChartGaugeRangeSpec, IChartGaugeScaleSpec, IChartGaugeSpec, IChartGaugeSplitLineSpec, IChartGaugeTitleSpec, IChartHistogramBinningSpec, IChartHistogramDataSpec, IChartHistogramSpec, IChartHistogramStyleSpec, IChartSunburstCenterLabelSpec, IChartSunburstLabelSpec, IChartSunburstSpec, IChartTreemapLabelSpec, IChartTreemapSpec, IChartValueLabelSpec, } from './types';
37
121
  export { ChartHostRenderMode, ChartImageSourceType } from './types';
38
- export type { ChartDataSourceValue, ChartDataSourceValues, ChartDirection, ChartElementEventHandler, ChartElementEventType, ChartElementKind, ChartImageSource, ChartStyle, DeepPartial, DimensionDefinitionLoose, IAllSeriesStyle, IAxisOptions, IBarStyle, IChartConfig, IChartContext, IChartData, IChartDataAggregation, IChartDataCategory, IChartDataSeries, IChartDataSource, IChartElementBounds, IChartElementEvent, IChartElementHit, IChartElementOverlay, IChartHost, IChartHostBorderStyle, IChartHostLease, IChartHostRect, IChartHostStyle, IChartInstance, IChartRenderAsImageOptions, IChartRenderInput, IChartRenderInstance, IChartRenderInstanceCreateContext, IChartRenderInstanceSpecInput, IChartRenderInstanceStyleInput, IChartRenderModel, IChartRenderModelImageExportInput, IChartRenderModelImageExportOptions, IChartRenderModelImageExportResult, IChartSnapshot, IChartStyle, IDimensionDefinition, IDomChartHost, IGridLineStyle, IImageChartHost, ILabelStyle, ILegendStyle, IPieLabelStyle, IPointStyle, IRelationForceOptions, IRuntimeAxis, ISeriesLabelStyle, ISeriesStyle, ITrendLine, IUniverDataSet, OptionDataValue, RightYAxisOptions, } from './types';
122
+ export type { ChartDataSourceValues, ChartDirection, ChartElementEventHandler, ChartElementEventType, ChartElementKind, ChartImageSource, ChartRenderRuntimeContext, ChartRuntimeStyle, ChartStyle, DeepNullish, DeepPartial, DimensionDefinitionLoose, IAllSeriesStyle, IAxisOptions, IBarStyle, IChartBubbleStyle, IChartCandlestickData, IChartCandlestickPoint, IChartChordData, IChartChordLink, IChartChordNode, IChartConfig, IChartContext, IChartData, IChartDataCategory, IChartDataSeries, IChartDataSource, IChartElementBounds, IChartElementEvent, IChartElementHit, IChartElementOverlay, IChartGaugeData, IChartGaugeItem, IChartHistogramBin, IChartHistogramData, IChartHost, IChartHostBorderStyle, IChartHostLease, IChartHostRect, IChartHostStyle, IChartInstance, IChartPlotArea, IChartRenderAsImageOptions, IChartRenderInput, IChartRenderInstance, IChartRenderInstanceCreateContext, IChartRenderInstanceSpecInput, IChartRenderInstanceStyleInput, IChartRenderModel, IChartRenderModelImageExportInput, IChartRenderModelImageExportOptions, IChartRenderModelImageExportResult, IChartSnapshot, IChartStyle, IChartSunburstData, IChartSunburstNode, IChartTreemapData, IChartTreemapNode, IDimensionDefinition, IDomChartHost, IGridLineStyle, IImageChartHost, ILabelStyle, ILegendStyle, IPieLabelStyle, IPointStyle, IRelationForceOptions, IRuntimeAxis, ISeriesLabelStyle, ISeriesStyle, ITrendLine, IUniverDataSet, OptionDataValue, RightYAxisOptions, } from './types';
39
123
  export { chartBitsUtils, chartTypeCanUseTrendLine, mergeChartConfig, } from './util';
40
- export * from './utils/echarts';
41
- export { WordCloudResourceConfig } from './word-cloud-resource/word-cloud-resource-config';
124
+ export { echarts } from './utils/echarts';
125
+ export { WordCloudMaskImageOptions, WordCloudResourceConfig } from './word-cloud-resource/word-cloud-resource-config';
42
126
  export { WORD_CLOUD_DEFAULT_OPTION, WORD_CLOUD_SERIES_TYPE } from './wordcloud-chart/adapters/echarts/echarts-options';
43
127
  export { registerWordCloudChart } from './wordcloud-chart/adapters/echarts/install';
44
128
  export { layoutWordCloudChart } from './wordcloud-chart/canvas';
@@ -73,9 +157,6 @@ export type { IWordCloudPlacedWord } from './wordcloud-chart/types';
73
157
  export type { IWordCloudProtocolSpec } from './wordcloud-chart/types';
74
158
  export type { IWordCloudSegmentationRegion } from './wordcloud-chart/types';
75
159
  export type { IWordCloudSegmentationResult } from './wordcloud-chart/types';
76
- export type { IWordCloudSeriesDataItem } from './wordcloud-chart/types';
77
- export type { IWordCloudSeriesOption } from './wordcloud-chart/types';
78
- export type { IWordCloudSpecBase } from './wordcloud-chart/types';
79
160
  export type { IWordCloudTextMarkAttrs } from './wordcloud-chart/types';
80
161
  export type { IWordCloudTextMarkSpec } from './wordcloud-chart/types';
81
162
  export type { IWordCloudTextMeasurer } from './wordcloud-chart/types';
@@ -86,6 +167,8 @@ export { DEFAULT_WORD_CLOUD_SHAPE } from './wordcloud-chart/types';
86
167
  export { normalizeWordCloudShape } from './wordcloud-chart/types';
87
168
  export { SUPPORTED_WORD_CLOUD_SHAPES } from './wordcloud-chart/types';
88
169
  export { DEFAULT_WORD_CLOUD_RENDER_CONFIG } from './wordcloud-chart/word-cloud-render-config';
170
+ export { STATIC_CHART_WORD_CLOUD_RENDER_CONFIG } from './wordcloud-chart/word-cloud-render-config';
89
171
  export { resolveWordCloudRenderConfig } from './wordcloud-chart/word-cloud-render-config';
90
172
  export type { IResolvedWordCloudRenderConfig } from './wordcloud-chart/word-cloud-render-config';
91
173
  export type { IWordCloudRenderConfig } from './wordcloud-chart/word-cloud-render-config';
174
+ export type { BarSeriesOption, DatasetComponentOption, ECharts, EChartsInitOpts, EChartsOption, FunnelSeriesOption, LegendComponentOption, LineSeriesOption, PieSeriesOption, XAXisComponentOption, } from 'echarts';
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,46 @@
1
+ declare const locale: {
2
+ 'engine-chart': {
3
+ seriesDefaultName: string;
4
+ categoryDefaultName: string;
5
+ blank: string;
6
+ boxplotMin: string;
7
+ boxplotQ1: string;
8
+ boxplotMedian: string;
9
+ boxplotQ3: string;
10
+ boxplotMax: string;
11
+ bubbleEmptyTips: string;
12
+ cloudWord: string;
13
+ cloudFrequency: string;
14
+ msgEmptyTips: string;
15
+ msgSankeyCircularTips: string;
16
+ paretoLineName: string;
17
+ pieAggregateOther: string;
18
+ pieAggregateMembers: string;
19
+ relationEmptyTips: string;
20
+ waterfallPositive: string;
21
+ waterfallNegative: string;
22
+ waterfallSubtotal: string;
23
+ candlestickSeries: string;
24
+ candlestickCategory: string;
25
+ candlestickOpen: string;
26
+ candlestickHigh: string;
27
+ candlestickLow: string;
28
+ candlestickClose: string;
29
+ histogramFrequency: string;
30
+ treemapEmptyTips: string;
31
+ treemapOwnValue: string;
32
+ treemapChildren: string;
33
+ sunburstEmptyTips: string;
34
+ sunburstOwnValue: string;
35
+ sunburstChildren: string;
36
+ gaugeEmptyTips: string;
37
+ gaugeInvalidMapping: string;
38
+ gaugeInvalidConfig: string;
39
+ chordEmptyTips: string;
40
+ chordInvalidMapping: string;
41
+ chordInvalidConfig: string;
42
+ chordCount: string;
43
+ chordAssociatedValue: string;
44
+ };
45
+ };
46
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type { LocaleLeafKeys } from '@univerjs/core';
2
+ import type enUS from './en-US';
3
+ export type LocaleKey = LocaleLeafKeys<typeof enUS>;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -1,4 +1,4 @@
1
- import type { IChartAxisBinding, IRuntimeAxis } from '../types';
2
- import { ChartSemanticAxis, ChartTypeBits } from '../enum';
1
+ import type { IChartAxisBinding, IRuntimeAxis } from '../../../types';
2
+ import { ChartSemanticAxis, ChartTypeBits } from '../../../enum';
3
3
  /** Maps the renderer's transient axes to stable semantic roles used by Facade readback. */
4
4
  export declare function resolveChartSemanticAxisBindings(type: ChartTypeBits, axes: readonly IRuntimeAxis[]): Partial<Record<ChartSemanticAxis, IChartAxisBinding>> | undefined;
@@ -0,0 +1,21 @@
1
+ import type { IChartContext, IChartSnapshotContext, IUniverDataSet, OptionDataValue } from '../../types';
2
+ import { ChartSourceDataTypeEnum } from '../../enum';
3
+ export interface IChartFieldSelection {
4
+ categoryIndexes: number[];
5
+ seriesIndexes: number[];
6
+ }
7
+ type ChartContextWithHistoricalCategoryIndex = Partial<IChartContext> & {
8
+ categoryIndex?: unknown;
9
+ };
10
+ export declare function countChartFieldTypes(field: Array<OptionDataValue | undefined>, sourceTypes?: Array<ChartSourceDataTypeEnum | undefined>): {
11
+ numbers: number;
12
+ strings: number;
13
+ total: number;
14
+ };
15
+ export declare function classifyChartFields(dataSet: Pick<IUniverDataSet, 'source' | 'sourceType'>): IChartFieldSelection;
16
+ export declare function resolveChartFieldSelectionContext(dataSet: IUniverDataSet, context: IChartContext, initializeSelection?: boolean): IChartContext;
17
+ /** The single compatibility boundary for the historical scalar snapshot field. */
18
+ export declare function normalizeChartSnapshotContext(context: IChartSnapshotContext): IChartContext;
19
+ /** Decodes the only supported historical field while preserving every canonical context field. */
20
+ export declare function decodeHistoricalCategoryIndex(context: ChartContextWithHistoricalCategoryIndex): Partial<IChartContext>;
21
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { IChartContext, IUniverDataSet } from '../../types';
2
+ export declare function generateChartContext(dataSet: IUniverDataSet, context?: IChartContext, initializeSelection?: boolean): IChartContext;
@@ -0,0 +1,5 @@
1
+ import type { IChartDataAggregation } from '../../chart-data-aggregation';
2
+ import type { ChartTypeBits } from '../../enum';
3
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../types';
4
+ import type { IChartLocaleTexts } from '../common/chart-locale-texts';
5
+ export declare function buildChartData(dataSet: IUniverDataSet, chartContext: IChartContext, chartType: ChartTypeBits, localeTexts: IChartLocaleTexts, dataAggregation?: IChartDataAggregation): IChartData;
@@ -0,0 +1,4 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildBoxplotChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, _chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,4 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildCandlestickChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,5 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildScatterChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
5
+ export declare function buildBubbleChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,5 @@
1
+ import type { IChartDataAggregation } from '../../../chart-data-aggregation';
2
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
3
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
4
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
5
+ export declare function buildCategorySeriesChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts, dataAggregation?: IChartDataAggregation): IChartData;
@@ -0,0 +1,4 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildChordChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,4 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildGaugeChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,3 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
3
+ export declare function buildHeatmapChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, _chartContext: IChartContext): IChartData;
@@ -0,0 +1,5 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildTreemapChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
5
+ export declare function buildSunburstChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,4 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartLocaleTexts } from '../../common/chart-locale-texts';
3
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
4
+ export declare function buildHistogramChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, chartContext: IChartContext, localeTexts: IChartLocaleTexts): IChartData;
@@ -0,0 +1,3 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
3
+ export declare function buildRelationChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, _chartContext: IChartContext): IChartData;
@@ -0,0 +1,3 @@
1
+ import type { IChartContext, IChartData, IUniverDataSet } from '../../../types';
2
+ import type { IChartFieldConsumption } from '../chart-field-consumption';
3
+ export declare function buildSankeyChartData(dataSet: IUniverDataSet, fieldConsumption: IChartFieldConsumption, _chartContext: IChartContext): IChartData;