@univerjs-pro/engine-chart 1.0.0-alpha.8 → 1.0.0-beta.1

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 (396) hide show
  1. package/README.md +25 -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 +1 -3
  66. package/lib/types/chart-builder/chart-builder.d.ts +4 -6
  67. package/lib/types/chart-builder/chart-live-adapter.d.ts +15 -0
  68. package/lib/types/chart-builder/chart-starter-data.d.ts +3 -2
  69. package/lib/types/chart-builder/chart-types.d.ts +129 -13
  70. package/lib/types/chart-builder/configuration/assertions.d.ts +2 -0
  71. package/lib/types/chart-builder/configuration/cartesian-series.d.ts +3 -1
  72. package/lib/types/chart-builder/configuration/chart-config-group.d.ts +38 -0
  73. package/lib/types/chart-builder/configuration/chart-config-operation.d.ts +1 -33
  74. package/lib/types/chart-builder/configuration/chord.d.ts +12 -0
  75. package/lib/types/chart-builder/configuration/gauge.d.ts +31 -0
  76. package/lib/types/chart-builder/configuration/pie.d.ts +5 -6
  77. package/lib/types/chart-builder/configuration/sunburst.d.ts +7 -0
  78. package/lib/types/chart-builder/configuration/treemap.d.ts +2 -2
  79. package/lib/types/chart-builder/configuration/waterfall.d.ts +3 -1
  80. package/lib/types/chart-builder/conversion/chart-config-converter.d.ts +25 -10
  81. package/lib/types/chart-builder/conversion/chart-context-patch.d.ts +1 -1
  82. package/lib/types/chart-builder/conversion/chart-create-config.d.ts +6 -0
  83. package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +25 -7
  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 +1419 -7
  86. package/lib/types/chart-builder/conversion/resolve-chart-model-data.d.ts +2 -2
  87. package/lib/types/chart-builder/detached-chart-builder-adapter.d.ts +4 -4
  88. package/lib/types/chart-builder/internal/apply-pending-to-description.d.ts +2 -0
  89. package/lib/types/chart-builder/internal/chart-host-config-adapter.d.ts +3 -0
  90. package/lib/types/chart-builder/internal/chart-patch-replace-policy.d.ts +6 -0
  91. package/lib/types/chart-builder/internal/chart-pending-patch.d.ts +11 -0
  92. package/lib/types/chart-builder/internal/patch-interpreter.d.ts +17 -0
  93. package/lib/types/chart-data-aggregation.d.ts +10 -0
  94. package/lib/types/config/config.d.ts +7 -0
  95. package/lib/types/enum.d.ts +45 -2
  96. package/lib/types/facade/builders/f-area-chart-builder.d.ts +52 -7
  97. package/lib/types/facade/builders/f-boxplot-chart-builder.d.ts +88 -3
  98. package/lib/types/facade/builders/f-bubble-chart-builder.d.ts +59 -6
  99. package/lib/types/facade/builders/f-candlestick-chart-builder.d.ts +90 -31
  100. package/lib/types/facade/builders/f-chord-chart-builder.d.ts +202 -0
  101. package/lib/types/facade/builders/f-combination-chart-builder.d.ts +55 -10
  102. package/lib/types/facade/builders/f-funnel-chart-builder.d.ts +55 -9
  103. package/lib/types/facade/builders/f-gauge-chart-builder.d.ts +420 -0
  104. package/lib/types/facade/builders/f-heatmap-chart-builder.d.ts +83 -26
  105. package/lib/types/facade/builders/f-histogram-chart-builder.d.ts +142 -16
  106. package/lib/types/facade/builders/f-line-chart-builder.d.ts +51 -6
  107. package/lib/types/facade/builders/f-pareto-chart-builder.d.ts +83 -20
  108. package/lib/types/facade/builders/f-pie-chart-builder.d.ts +134 -107
  109. package/lib/types/facade/builders/f-radar-chart-builder.d.ts +64 -11
  110. package/lib/types/facade/builders/f-relation-chart-builder.d.ts +72 -38
  111. package/lib/types/facade/builders/f-scatter-chart-builder.d.ts +58 -6
  112. package/lib/types/facade/builders/f-sunburst-chart-builder.d.ts +138 -0
  113. package/lib/types/facade/builders/f-treemap-chart-builder.d.ts +116 -14
  114. package/lib/types/facade/builders/f-waterfall-chart-builder.d.ts +87 -53
  115. package/lib/types/facade/builders/f-word-cloud-chart-builder.d.ts +64 -15
  116. package/lib/types/facade/chart-builder-registry.d.ts +4 -4
  117. package/lib/types/facade/chart-builder-type-map.d.ts +55 -30
  118. package/lib/types/facade/chart-host-builder-types.d.ts +2 -21
  119. package/lib/types/facade/create-chart-builder.d.ts +46 -0
  120. package/lib/types/facade/f-axis-chart-builder.d.ts +21 -38
  121. package/lib/types/facade/f-cartesian-chart-builder.d.ts +34 -22
  122. package/lib/types/facade/f-chart-builder-base.d.ts +206 -74
  123. package/lib/types/facade/f-chart.d.ts +652 -0
  124. package/lib/types/facade/f-enum.d.ts +686 -31
  125. package/lib/types/facade/f-univer.d.ts +51 -0
  126. package/lib/types/facade/index.d.ts +27 -10
  127. package/lib/types/facade/internal/chart-builder-facade-context.d.ts +11 -10
  128. package/lib/types/index.d.ts +131 -39
  129. package/lib/types/locale/ar-SA.d.ts +3 -0
  130. package/lib/types/locale/ca-ES.d.ts +3 -0
  131. package/lib/types/locale/de-DE.d.ts +3 -0
  132. package/lib/types/locale/en-US.d.ts +46 -0
  133. package/lib/types/locale/es-ES.d.ts +3 -0
  134. package/lib/types/locale/fa-IR.d.ts +3 -0
  135. package/lib/types/locale/fr-FR.d.ts +3 -0
  136. package/lib/types/locale/id-ID.d.ts +3 -0
  137. package/lib/types/locale/it-IT.d.ts +3 -0
  138. package/lib/types/locale/ja-JP.d.ts +3 -0
  139. package/lib/types/locale/ko-KR.d.ts +3 -0
  140. package/lib/types/locale/pl-PL.d.ts +3 -0
  141. package/lib/types/locale/pt-BR.d.ts +3 -0
  142. package/lib/types/locale/ru-RU.d.ts +3 -0
  143. package/lib/types/locale/sk-SK.d.ts +3 -0
  144. package/lib/types/locale/types.d.ts +3 -0
  145. package/lib/types/locale/vi-VN.d.ts +3 -0
  146. package/lib/types/locale/zh-CN.d.ts +3 -0
  147. package/lib/types/locale/zh-HK.d.ts +3 -0
  148. package/lib/types/locale/zh-TW.d.ts +3 -0
  149. package/lib/types/models/{chart-semantic-axes.d.ts → chart-context/axes/chart-semantic-axes.d.ts} +2 -2
  150. package/lib/types/models/chart-context/chart-field-selection.d.ts +21 -0
  151. package/lib/types/models/chart-context/resolve-chart-context.d.ts +5 -0
  152. package/lib/types/models/chart-data/build-chart-data.d.ts +5 -0
  153. package/lib/types/models/chart-data/builders/boxplot-chart-data.d.ts +4 -0
  154. package/lib/types/models/chart-data/builders/candlestick-chart-data.d.ts +4 -0
  155. package/lib/types/models/chart-data/builders/cartesian-point-chart-data.d.ts +5 -0
  156. package/lib/types/models/chart-data/builders/category-series-chart-data.d.ts +5 -0
  157. package/lib/types/models/chart-data/builders/chord-chart-data.d.ts +4 -0
  158. package/lib/types/models/chart-data/builders/gauge-chart-data.d.ts +4 -0
  159. package/lib/types/models/chart-data/builders/heatmap-chart-data.d.ts +3 -0
  160. package/lib/types/models/chart-data/builders/hierarchy-chart-data.d.ts +5 -0
  161. package/lib/types/models/chart-data/builders/histogram-chart-data.d.ts +4 -0
  162. package/lib/types/models/chart-data/builders/relation-chart-data.d.ts +3 -0
  163. package/lib/types/models/chart-data/builders/sankey-chart-data.d.ts +3 -0
  164. package/lib/types/models/chart-data/chart-field-consumption-validator.d.ts +15 -0
  165. package/lib/types/models/chart-data/chart-field-consumption.d.ts +4 -0
  166. package/lib/types/models/chart-data/chart-field-requirements.d.ts +7 -0
  167. package/lib/types/models/chart-data/get-chart-data-builder.d.ts +7 -0
  168. package/lib/types/models/chart-data/internal/aggregate-number-format.d.ts +8 -0
  169. package/lib/types/models/{chart-data-operators → chart-data/internal}/cartesian-point-data.d.ts +3 -8
  170. package/lib/types/models/chart-data/internal/category-data.d.ts +3 -0
  171. package/lib/types/models/chart-data/internal/category-series-aggregation.d.ts +10 -0
  172. package/lib/types/models/chart-data/internal/chart-data-result.d.ts +5 -0
  173. package/lib/types/models/chart-data/internal/chart-hierarchy-data.d.ts +1 -0
  174. package/lib/types/models/chart-data/internal/chord-data.d.ts +7 -0
  175. package/lib/types/models/chart-data/internal/data-set-accessors.d.ts +7 -0
  176. package/lib/types/models/chart-data/internal/gauge-data.d.ts +5 -0
  177. package/lib/types/models/{chart-data-operators/histogram-data.d.ts → chart-data/internal/histogram-bins.d.ts} +1 -1
  178. package/lib/types/models/chart-data/internal/relation-data-shape.d.ts +2 -0
  179. package/lib/types/models/chart-data/internal/source-cell-label.d.ts +3 -0
  180. package/lib/types/models/chart-data/internal/sunburst-data.d.ts +4 -0
  181. package/lib/types/models/chart-data/internal/treemap-data.d.ts +4 -0
  182. package/lib/types/models/chart-data/pie-composite/pie-composite-projection.d.ts +36 -0
  183. package/lib/types/models/chart-data/pie-composite/pie-composite-render-metadata.d.ts +15 -0
  184. package/lib/types/models/chart-data/pie-composite/pie-composite-spec.d.ts +38 -0
  185. package/lib/types/models/{chart-host-style.d.ts → chart-host/chart-host-style.d.ts} +1 -1
  186. package/lib/types/models/chart-host/config/chart-config-interpreter.d.ts +13 -0
  187. package/lib/types/models/{image-chart-host.d.ts → chart-host/image-chart-host.d.ts} +14 -2
  188. package/lib/types/models/{offscreen-chart-host.d.ts → chart-host/offscreen-chart-host.d.ts} +1 -1
  189. package/lib/types/models/chart-host/resource/chart-data-source-resolver.d.ts +58 -0
  190. package/lib/types/models/chart-host/resource/chart-resource-repository.d.ts +111 -0
  191. package/lib/types/models/{chart-resource-serializer.d.ts → chart-host/resource/chart-resource-serializer.d.ts} +3 -2
  192. package/lib/types/models/chart-host/resource/inline-chart-table.d.ts +5 -0
  193. package/lib/types/models/chart-host/resource/persisted-chart-style.d.ts +3 -0
  194. package/lib/types/models/chart-host/resource/resource-ref-chart-data-source.adapter.d.ts +22 -0
  195. package/lib/types/models/chart-host/resource/resource-ref-chart-data-source.provider.d.ts +12 -0
  196. package/lib/types/models/chart-host/static/chart-model-store.d.ts +56 -0
  197. package/lib/types/models/chart-host/static/chart-runtime.d.ts +27 -0
  198. package/lib/types/models/{chart-model.d.ts → chart-model/chart-model.d.ts} +1415 -947
  199. package/lib/types/models/{echart-to-chart-model-init.d.ts → chart-model/echart-to-chart-model-init.d.ts} +2 -2
  200. package/lib/types/models/{data-context-transformers/bar-data-context-transformer.d.ts → chart-model/type-transition/bar-type-transition.d.ts} +1 -1
  201. 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
  202. package/lib/types/models/{data-context-transformers/percent-data-context-transformer.d.ts → chart-model/type-transition/percent-type-transition.d.ts} +1 -1
  203. package/lib/types/models/{chart-element-axis-id.d.ts → chart-render/axes/chart-element-axis-id.d.ts} +1 -1
  204. package/lib/types/models/{chart-runtime-axes.d.ts → chart-render/axes/chart-runtime-axes.d.ts} +4 -4
  205. package/lib/types/models/{chart-render-input-resolver.d.ts → chart-render/chart-render-input-resolver.d.ts} +3 -3
  206. package/lib/types/models/{chart-render-model-manager.service.d.ts → chart-render/chart-render-model-manager.service.d.ts} +2 -3
  207. package/lib/types/models/chart-render/converter/converters/boxplot-chart-converter.d.ts +2 -0
  208. package/lib/types/models/chart-render/converter/converters/bubble-chart-converter.d.ts +2 -0
  209. package/lib/types/models/chart-render/converter/converters/candlestick-chart-converter.d.ts +4 -0
  210. package/lib/types/models/chart-render/converter/converters/chord-chart-converter.d.ts +10 -0
  211. package/lib/types/models/chart-render/converter/converters/combination-chart-converter.d.ts +2 -0
  212. package/lib/types/models/chart-render/converter/converters/funnel-chart-converter.d.ts +2 -0
  213. package/lib/types/models/chart-render/converter/converters/gauge-chart-converter.d.ts +20 -0
  214. package/lib/types/models/chart-render/converter/converters/heatmap-chart-convert.d.ts +2 -0
  215. package/lib/types/models/{mode-converter → chart-render/converter}/converters/histogram-chart-converter.d.ts +2 -3
  216. package/lib/types/models/chart-render/converter/converters/pareto-chart-converter.d.ts +2 -0
  217. package/lib/types/models/chart-render/converter/converters/pie-chart-converter.d.ts +2 -0
  218. package/lib/types/models/chart-render/converter/converters/radar-chart-converter.d.ts +2 -0
  219. package/lib/types/models/chart-render/converter/converters/relation-chart-converter.d.ts +2 -0
  220. package/lib/types/models/chart-render/converter/converters/sankey-chart-converter.d.ts +2 -0
  221. package/lib/types/models/chart-render/converter/converters/scatter-chart-converter.d.ts +2 -0
  222. package/lib/types/models/chart-render/converter/converters/sunburst-chart-converter.d.ts +3 -0
  223. package/lib/types/models/{mode-converter → chart-render/converter}/converters/tools.d.ts +1 -1
  224. package/lib/types/models/chart-render/converter/converters/treemap-chart-converter.d.ts +3 -0
  225. package/lib/types/models/chart-render/converter/converters/waterfall-chart-converter.d.ts +2 -0
  226. package/lib/types/models/{mode-converter → chart-render/converter}/converters/waterfall-layout.d.ts +2 -2
  227. package/lib/types/models/chart-render/converter/converters/word-cloud-converter.d.ts +2 -0
  228. package/lib/types/models/chart-render/converter/echart-text-overflow.d.ts +7 -0
  229. package/lib/types/models/{mode-converter → chart-render/converter}/mode-converter.d.ts +3 -5
  230. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/auto-gradient-presets.d.ts +1 -1
  231. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/axis-title.operator.d.ts +1 -1
  232. package/lib/types/models/chart-render/converter/render-spec-operators/bar-layout.operator.d.ts +3 -0
  233. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/bubble-style.operator.d.ts +1 -1
  234. 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
  235. 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
  236. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/chart-color.d.ts +1 -1
  237. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/empty-style-operator.d.ts +1 -1
  238. package/lib/types/models/chart-render/converter/render-spec-operators/font-size.operator.d.ts +2 -0
  239. package/lib/types/models/chart-render/converter/render-spec-operators/grid-operator.d.ts +12 -0
  240. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/heatmap-chart-operator.d.ts +1 -1
  241. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/hover-mark-style.operator.d.ts +1 -1
  242. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/implicit-category-axis.operator.d.ts +1 -1
  243. 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
  244. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/legend-size.d.ts +1 -2
  245. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/legend-style.operator.d.ts +1 -1
  246. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/line-like-style.operator.d.ts +1 -1
  247. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/mark-line.operator.d.ts +1 -1
  248. package/lib/types/models/chart-render/converter/render-spec-operators/pie-composite-layout.operator.d.ts +2 -0
  249. package/lib/types/models/chart-render/converter/render-spec-operators/pie-style.operator.d.ts +2 -0
  250. package/lib/types/models/chart-render/converter/render-spec-operators/plot-area.d.ts +10 -0
  251. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/radar-style.operator.d.ts +1 -1
  252. package/lib/types/models/chart-render/converter/render-spec-operators/relation-chart-operator/relation-chart-operator.d.ts +2 -0
  253. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/rich-text-inheritance.operator.d.ts +1 -1
  254. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/rtl-render-spec.operator.d.ts +1 -1
  255. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/sankey-chart-operator.d.ts +1 -1
  256. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/scatter-style.operator.d.ts +1 -1
  257. package/lib/types/models/chart-render/converter/render-spec-operators/series-style-operator/pareto-series-style.handler.d.ts +2 -0
  258. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/series-style-operator.d.ts +3 -3
  259. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/waterfall-series-style-operator.d.ts +1 -1
  260. package/lib/types/models/chart-render/converter/render-spec-operators/stack.operator.d.ts +2 -0
  261. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/theme.operator.d.ts +1 -1
  262. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/title-style.operator.d.ts +1 -1
  263. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/tool-tip-operator.d.ts +6 -17
  264. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/tool-tip-renderer.d.ts +1 -1
  265. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/tools.d.ts +5 -7
  266. package/lib/types/models/chart-render/converter/render-spec-operators/trend-line/trend-line.operator.d.ts +2 -0
  267. package/lib/types/models/chart-render/converter/render-spec-operators/visual-map-operator.d.ts +6 -0
  268. package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/watermark.operator.d.ts +1 -1
  269. package/lib/types/models/{echart-render-model.d.ts → chart-render/echart-render-model.d.ts} +22 -12
  270. package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/chart-element-edit-overlay.d.ts +2 -2
  271. package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/resolve-chart-element-hit-layout.d.ts +2 -2
  272. package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/types.d.ts +1 -1
  273. package/lib/types/models/chart-render/format/chart-value-format.d.ts +16 -0
  274. package/lib/types/models/{chart-runtime-style.d.ts → chart-render/style/chart-runtime-style.d.ts} +3 -3
  275. package/lib/types/models/common/chart-field-diagnostic.d.ts +14 -0
  276. package/lib/types/models/common/chart-field-role.d.ts +53 -0
  277. package/lib/types/models/common/chart-locale-texts.d.ts +44 -0
  278. package/lib/types/models/common/constants/chord.d.ts +5 -0
  279. package/lib/types/models/common/constants/default-chart-style.d.ts +920 -0
  280. package/lib/types/models/{constants → common/constants}/default.d.ts +3 -2
  281. package/lib/types/models/common/constants/hierarchy.d.ts +5 -0
  282. package/lib/types/models/common/constants/histogram-defaults.d.ts +8 -0
  283. package/lib/types/models/common/constants/treemap.d.ts +1 -0
  284. package/lib/types/models/common/theme/build-in-theme/theme-util.d.ts +4 -0
  285. package/lib/types/models/{chart-theme.service.d.ts → common/theme/chart-theme.service.d.ts} +1 -3
  286. package/lib/types/plugin.d.ts +15 -0
  287. package/lib/types/types.d.ts +307 -39
  288. package/lib/types/util.d.ts +1 -1
  289. package/lib/types/utils/compact.d.ts +6 -0
  290. package/lib/types/utils/echarts.d.ts +0 -1
  291. package/lib/types/word-cloud-resource/word-cloud-resource-config.d.ts +5 -0
  292. package/lib/types/wordcloud-chart/adapters/echarts/chart-view.d.ts +0 -2
  293. package/lib/types/wordcloud-chart/adapters/echarts/echarts-options.d.ts +1 -1
  294. package/lib/types/wordcloud-chart/adapters/echarts/layout-register.d.ts +0 -2
  295. package/lib/types/wordcloud-chart/adapters/echarts/series-model.d.ts +0 -2
  296. package/lib/types/wordcloud-chart/adapters/echarts/text-measurer.d.ts +1 -1
  297. package/lib/types/wordcloud-chart/core/collision/box-shape-engine.d.ts +1 -1
  298. package/lib/types/wordcloud-chart/word-cloud-render-config.d.ts +1 -0
  299. package/lib/umd/facade.js +1 -1
  300. package/lib/umd/index.js +1 -1
  301. package/lib/umd/locale/ar-SA.js +1 -0
  302. package/lib/umd/locale/ca-ES.js +1 -0
  303. package/lib/umd/locale/de-DE.js +1 -0
  304. package/lib/umd/locale/en-US.js +1 -0
  305. package/lib/umd/locale/es-ES.js +1 -0
  306. package/lib/umd/locale/fa-IR.js +1 -0
  307. package/lib/umd/locale/fr-FR.js +1 -0
  308. package/lib/umd/locale/id-ID.js +1 -0
  309. package/lib/umd/locale/it-IT.js +1 -0
  310. package/lib/umd/locale/ja-JP.js +1 -0
  311. package/lib/umd/locale/ko-KR.js +1 -0
  312. package/lib/umd/locale/pl-PL.js +1 -0
  313. package/lib/umd/locale/pt-BR.js +1 -0
  314. package/lib/umd/locale/ru-RU.js +1 -0
  315. package/lib/umd/locale/sk-SK.js +1 -0
  316. package/lib/umd/locale/vi-VN.js +1 -0
  317. package/lib/umd/locale/zh-CN.js +1 -0
  318. package/lib/umd/locale/zh-HK.js +1 -0
  319. package/lib/umd/locale/zh-TW.js +1 -0
  320. package/package.json +11 -4
  321. package/lib/types/chart-builder/candlestick-inline-table.d.ts +0 -4
  322. package/lib/types/chart-builder/configuration/index.d.ts +0 -34
  323. package/lib/types/chart-builder/index.d.ts +0 -17
  324. package/lib/types/chart-builder/internal/host-builder-runtime.d.ts +0 -3
  325. package/lib/types/chart-builder/internal/merge-description.d.ts +0 -2
  326. package/lib/types/facade/builders/index.d.ts +0 -17
  327. package/lib/types/facade/f-chart-base.d.ts +0 -82
  328. package/lib/types/facade/f-charts-base.d.ts +0 -74
  329. package/lib/types/facade/internal/host-builder-composer.d.ts +0 -16
  330. package/lib/types/models/chart-data-operators/build-chart-data.d.ts +0 -9
  331. package/lib/types/models/chart-data-operators/index.d.ts +0 -3
  332. package/lib/types/models/chart-data-operators/operators.d.ts +0 -26
  333. package/lib/types/models/chart-data-operators/treemap-data.d.ts +0 -3
  334. package/lib/types/models/chart-element-edit-overlay/index.d.ts +0 -4
  335. package/lib/types/models/chart-locale-texts.d.ts +0 -36
  336. package/lib/types/models/constants/build-in-theme/index.d.ts +0 -15
  337. package/lib/types/models/constants/build-in-theme/theme-util.d.ts +0 -5
  338. package/lib/types/models/constants/default-chart-style.d.ts +0 -181
  339. package/lib/types/models/constants/histogram-defaults.d.ts +0 -4
  340. package/lib/types/models/constants/treemap.d.ts +0 -1
  341. package/lib/types/models/data-context-transformers/box-plot-data-context-transformer.d.ts +0 -3
  342. package/lib/types/models/data-context-transformers/candlestick-data-context-transformer.d.ts +0 -4
  343. package/lib/types/models/data-context-transformers/histogram-data-context-transformer.d.ts +0 -7
  344. package/lib/types/models/data-context-transformers/pareto-data-context-transformer.d.ts +0 -3
  345. package/lib/types/models/data-context-transformers/pie-data-context-transformer.d.ts +0 -3
  346. package/lib/types/models/data-context-transformers/treemap-data-context-transformer.d.ts +0 -11
  347. package/lib/types/models/data-context-transformers/word-cloud-data-context-transform.d.ts +0 -3
  348. package/lib/types/models/mode-converter/converters/boxplot-chart-converter.d.ts +0 -3
  349. package/lib/types/models/mode-converter/converters/bubble-chart-converter.d.ts +0 -3
  350. package/lib/types/models/mode-converter/converters/candlestick-chart-converter.d.ts +0 -5
  351. package/lib/types/models/mode-converter/converters/combination-chart-converter.d.ts +0 -3
  352. package/lib/types/models/mode-converter/converters/funnel-chart-converter.d.ts +0 -3
  353. package/lib/types/models/mode-converter/converters/heatmap-chart-convert.d.ts +0 -3
  354. package/lib/types/models/mode-converter/converters/pareto-chart-converter.d.ts +0 -3
  355. package/lib/types/models/mode-converter/converters/pie-chart-converter.d.ts +0 -3
  356. package/lib/types/models/mode-converter/converters/radar-chart-converter.d.ts +0 -3
  357. package/lib/types/models/mode-converter/converters/relation-chart-converter.d.ts +0 -3
  358. package/lib/types/models/mode-converter/converters/sankey-chart-converter.d.ts +0 -3
  359. package/lib/types/models/mode-converter/converters/scatter-chart-converter.d.ts +0 -3
  360. package/lib/types/models/mode-converter/converters/treemap-chart-converter.d.ts +0 -4
  361. package/lib/types/models/mode-converter/converters/waterfall-chart-converter.d.ts +0 -3
  362. package/lib/types/models/mode-converter/converters/word-cloud-converter.d.ts +0 -3
  363. package/lib/types/models/mode-converter/render-spec-operators/chart-axes.operator.d.ts +0 -2
  364. package/lib/types/models/mode-converter/render-spec-operators/chart-box-style.operator.d.ts +0 -2
  365. package/lib/types/models/mode-converter/render-spec-operators/font-size.operator.d.ts +0 -2
  366. package/lib/types/models/mode-converter/render-spec-operators/grid-operator.d.ts +0 -2
  367. package/lib/types/models/mode-converter/render-spec-operators/index.d.ts +0 -15
  368. package/lib/types/models/mode-converter/render-spec-operators/invalid-value-style.operator.d.ts +0 -2
  369. package/lib/types/models/mode-converter/render-spec-operators/pie-style.operator.d.ts +0 -2
  370. package/lib/types/models/mode-converter/render-spec-operators/stack.operator.d.ts +0 -2
  371. package/lib/types/models/mode-converter/render-spec-operators/visual-map-operator.d.ts +0 -2
  372. package/lib/types/models/spec-converter/spec-converter.d.ts +0 -1
  373. package/lib/types/models/word-cloud-musk-image.service.d.ts +0 -17
  374. package/lib/types/wordcloud-chart/index.d.ts +0 -12
  375. /package/lib/types/models/{mode-converter → chart-render/converter}/converters/constants.d.ts +0 -0
  376. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/operator-types.d.ts +0 -0
  377. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/relation-chart-operator/relation-force-directed-layout.d.ts +0 -0
  378. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/series-chart-style.handler.d.ts +0 -0
  379. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/series-style-operator/series-data-label.handler.d.ts +0 -0
  380. /package/lib/types/models/{mode-converter → chart-render/converter}/render-spec-operators/trend-line/trendline-util.d.ts +0 -0
  381. /package/lib/types/models/{chart-element-edit-overlay → chart-render/edit-overlay}/palette.d.ts +0 -0
  382. /package/lib/types/models/{series-style → chart-render/style/series-style}/series-style-resolver.d.ts +0 -0
  383. /package/lib/types/models/{constants → common/theme}/build-in-theme/default.d.ts +0 -0
  384. /package/lib/types/models/{constants → common/theme}/build-in-theme/types.d.ts +0 -0
  385. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient1.d.ts +0 -0
  386. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient2.d.ts +0 -0
  387. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient3.d.ts +0 -0
  388. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient4.d.ts +0 -0
  389. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient5.d.ts +0 -0
  390. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer-gradient6.d.ts +0 -0
  391. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer1.d.ts +0 -0
  392. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer2.d.ts +0 -0
  393. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer3.d.ts +0 -0
  394. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer4.d.ts +0 -0
  395. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer5.d.ts +0 -0
  396. /package/lib/types/models/{constants → common/theme}/build-in-theme/univer6.d.ts +0 -0
@@ -0,0 +1,920 @@
1
+ import type { ChartStyle, IChartGaugeSpec } from '../../../types';
2
+ import { AreaLineStyle, AxisAlignEnum, BarShape, ChartBorderDashType, ChartTypeBits, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, SelectModeEnum, SeriesLabelPosition, TextAlign, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum } from '../../../enum';
3
+ export declare const MODERN_GAUGE_STYLE: {
4
+ readonly mode: "modern";
5
+ readonly scale: {
6
+ readonly min: 0;
7
+ readonly max: 100;
8
+ readonly splitNumber: 5;
9
+ };
10
+ readonly angles: {
11
+ readonly startAngle: 225;
12
+ readonly endAngle: -45;
13
+ };
14
+ readonly ranges: [];
15
+ readonly axisLine: {
16
+ readonly visible: true;
17
+ readonly width: 18;
18
+ readonly color: "gray.300";
19
+ };
20
+ readonly axisTick: {
21
+ readonly visible: false;
22
+ readonly splitNumber: 2;
23
+ readonly length: 5;
24
+ readonly width: 1;
25
+ readonly color: "gray.700";
26
+ };
27
+ readonly splitLine: {
28
+ readonly visible: false;
29
+ readonly length: 8;
30
+ readonly width: 2;
31
+ readonly color: "gray.700";
32
+ };
33
+ readonly axisLabel: {
34
+ readonly visible: false;
35
+ readonly distance: 12;
36
+ readonly color: "gray.700";
37
+ readonly fontSize: 12;
38
+ readonly bold: false;
39
+ readonly italic: false;
40
+ readonly family: "Arial";
41
+ };
42
+ readonly pointer: {
43
+ readonly visible: true;
44
+ readonly length: 0.62;
45
+ readonly width: 5;
46
+ readonly color: "blue.500";
47
+ readonly shape: "needle";
48
+ };
49
+ readonly anchor: {
50
+ readonly visible: false;
51
+ readonly size: 8;
52
+ readonly color: "#FFFFFF";
53
+ readonly borderColor: "blue.500";
54
+ readonly borderWidth: 2;
55
+ };
56
+ readonly progress: {
57
+ readonly visible: true;
58
+ readonly width: 18;
59
+ readonly color: "blue.500";
60
+ readonly rounded: true;
61
+ };
62
+ readonly title: {
63
+ readonly visible: true;
64
+ readonly offsetY: 0.95;
65
+ readonly color: "gray.700";
66
+ readonly fontSize: 12;
67
+ readonly bold: false;
68
+ readonly italic: false;
69
+ readonly family: "Arial";
70
+ };
71
+ readonly detail: {
72
+ readonly visible: true;
73
+ readonly offsetY: 0.65;
74
+ readonly color: "gray.700";
75
+ readonly fontSize: 14;
76
+ readonly bold: true;
77
+ readonly italic: false;
78
+ readonly family: "Arial";
79
+ };
80
+ };
81
+ export declare const CLASSIC_GAUGE_STYLE: {
82
+ readonly mode: "classic";
83
+ readonly scale: {
84
+ readonly min: 0;
85
+ readonly max: 100;
86
+ readonly splitNumber: 5;
87
+ };
88
+ readonly angles: {
89
+ readonly startAngle: 225;
90
+ readonly endAngle: -45;
91
+ };
92
+ readonly ranges: [];
93
+ readonly axisLine: {
94
+ readonly visible: true;
95
+ readonly width: 8;
96
+ readonly color: "gray.300";
97
+ };
98
+ readonly axisTick: {
99
+ readonly visible: true;
100
+ readonly splitNumber: 5;
101
+ readonly length: 8;
102
+ readonly width: 1;
103
+ readonly color: "gray.700";
104
+ };
105
+ readonly splitLine: {
106
+ readonly visible: true;
107
+ readonly length: 12;
108
+ readonly width: 2;
109
+ readonly color: "gray.700";
110
+ };
111
+ readonly axisLabel: {
112
+ readonly visible: true;
113
+ readonly distance: 12;
114
+ readonly color: "gray.700";
115
+ readonly fontSize: 12;
116
+ readonly bold: false;
117
+ readonly italic: false;
118
+ readonly family: "Arial";
119
+ };
120
+ readonly pointer: {
121
+ readonly visible: true;
122
+ readonly length: 0.62;
123
+ readonly width: 5;
124
+ readonly color: "blue.500";
125
+ readonly shape: "needle";
126
+ };
127
+ readonly anchor: {
128
+ readonly visible: true;
129
+ readonly size: 8;
130
+ readonly color: "#FFFFFF";
131
+ readonly borderColor: "blue.500";
132
+ readonly borderWidth: 2;
133
+ };
134
+ readonly progress: {
135
+ readonly visible: true;
136
+ readonly width: 8;
137
+ readonly color: "blue.500";
138
+ readonly rounded: false;
139
+ };
140
+ readonly title: {
141
+ readonly visible: true;
142
+ readonly offsetY: 0.95;
143
+ readonly color: "gray.700";
144
+ readonly fontSize: 12;
145
+ readonly bold: false;
146
+ readonly italic: false;
147
+ readonly family: "Arial";
148
+ };
149
+ readonly detail: {
150
+ readonly visible: true;
151
+ readonly offsetY: 0.65;
152
+ readonly color: "gray.700";
153
+ readonly fontSize: 14;
154
+ readonly bold: true;
155
+ readonly italic: false;
156
+ readonly family: "Arial";
157
+ };
158
+ };
159
+ export declare const STATUS_DIAL_GAUGE_STYLE: {
160
+ readonly scale: {
161
+ readonly splitNumber: 2;
162
+ readonly min: 0;
163
+ readonly max: 100;
164
+ };
165
+ readonly axisLine: {
166
+ readonly width: 10;
167
+ readonly visible: true;
168
+ readonly color: "gray.300";
169
+ };
170
+ readonly splitLine: {
171
+ readonly visible: true;
172
+ readonly length: 8;
173
+ readonly width: 2;
174
+ readonly color: "gray.700";
175
+ };
176
+ readonly axisLabel: {
177
+ readonly visible: true;
178
+ readonly distance: 12;
179
+ readonly color: "gray.700";
180
+ readonly fontSize: 12;
181
+ readonly bold: false;
182
+ readonly italic: false;
183
+ readonly family: "Arial";
184
+ };
185
+ readonly pointer: {
186
+ readonly visible: true;
187
+ readonly length: 0.62;
188
+ readonly width: 5;
189
+ readonly color: "blue.500";
190
+ readonly shape: "needle";
191
+ };
192
+ readonly anchor: {
193
+ readonly visible: true;
194
+ readonly size: 8;
195
+ readonly color: "#FFFFFF";
196
+ readonly borderColor: "blue.500";
197
+ readonly borderWidth: 2;
198
+ };
199
+ readonly progress: {
200
+ readonly visible: true;
201
+ readonly width: 18;
202
+ readonly color: "blue.500";
203
+ readonly rounded: true;
204
+ };
205
+ readonly title: {
206
+ readonly offsetY: 0.95;
207
+ readonly visible: true;
208
+ readonly color: "gray.700";
209
+ readonly fontSize: 12;
210
+ readonly bold: false;
211
+ readonly italic: false;
212
+ readonly family: "Arial";
213
+ };
214
+ readonly detail: {
215
+ readonly offsetY: 0.65;
216
+ readonly visible: true;
217
+ readonly color: "gray.700";
218
+ readonly fontSize: 14;
219
+ readonly bold: true;
220
+ readonly italic: false;
221
+ readonly family: "Arial";
222
+ };
223
+ readonly mode: "modern";
224
+ readonly angles: {
225
+ readonly startAngle: 225;
226
+ readonly endAngle: -45;
227
+ };
228
+ readonly ranges: [];
229
+ readonly axisTick: {
230
+ readonly visible: false;
231
+ readonly splitNumber: 2;
232
+ readonly length: 5;
233
+ readonly width: 1;
234
+ readonly color: "gray.700";
235
+ };
236
+ };
237
+ export declare const PROGRESS_GAUGE_STYLE: {
238
+ readonly axisTick: {
239
+ readonly visible: false;
240
+ };
241
+ readonly splitLine: {
242
+ readonly visible: false;
243
+ };
244
+ readonly axisLabel: {
245
+ readonly visible: false;
246
+ };
247
+ readonly pointer: {
248
+ readonly visible: false;
249
+ };
250
+ readonly anchor: {
251
+ readonly visible: false;
252
+ };
253
+ readonly progress: {
254
+ readonly visible: true;
255
+ readonly width: 14;
256
+ readonly rounded: true;
257
+ };
258
+ readonly mode: "modern";
259
+ readonly scale: {
260
+ readonly min: 0;
261
+ readonly max: 100;
262
+ readonly splitNumber: 5;
263
+ };
264
+ readonly angles: {
265
+ readonly startAngle: 225;
266
+ readonly endAngle: -45;
267
+ };
268
+ readonly ranges: [];
269
+ readonly axisLine: {
270
+ readonly visible: true;
271
+ readonly width: 18;
272
+ readonly color: "gray.300";
273
+ };
274
+ readonly title: {
275
+ readonly visible: true;
276
+ readonly offsetY: 0.95;
277
+ readonly color: "gray.700";
278
+ readonly fontSize: 12;
279
+ readonly bold: false;
280
+ readonly italic: false;
281
+ readonly family: "Arial";
282
+ };
283
+ readonly detail: {
284
+ readonly visible: true;
285
+ readonly offsetY: 0.65;
286
+ readonly color: "gray.700";
287
+ readonly fontSize: 14;
288
+ readonly bold: true;
289
+ readonly italic: false;
290
+ readonly family: "Arial";
291
+ };
292
+ };
293
+ export declare const MINIMAL_GAUGE_STYLE: {
294
+ readonly axisTick: {
295
+ readonly visible: false;
296
+ };
297
+ readonly splitLine: {
298
+ readonly visible: false;
299
+ };
300
+ readonly axisLabel: {
301
+ readonly visible: false;
302
+ };
303
+ readonly pointer: {
304
+ readonly visible: true;
305
+ };
306
+ readonly anchor: {
307
+ readonly visible: false;
308
+ };
309
+ readonly progress: {
310
+ readonly visible: false;
311
+ };
312
+ readonly title: {
313
+ readonly visible: true;
314
+ };
315
+ readonly mode: "modern";
316
+ readonly scale: {
317
+ readonly min: 0;
318
+ readonly max: 100;
319
+ readonly splitNumber: 5;
320
+ };
321
+ readonly angles: {
322
+ readonly startAngle: 225;
323
+ readonly endAngle: -45;
324
+ };
325
+ readonly ranges: [];
326
+ readonly axisLine: {
327
+ readonly visible: true;
328
+ readonly width: 18;
329
+ readonly color: "gray.300";
330
+ };
331
+ readonly detail: {
332
+ readonly visible: true;
333
+ readonly offsetY: 0.65;
334
+ readonly color: "gray.700";
335
+ readonly fontSize: 14;
336
+ readonly bold: true;
337
+ readonly italic: false;
338
+ readonly family: "Arial";
339
+ };
340
+ };
341
+ export declare const GAUGE_STYLE_TEMPLATES: {
342
+ readonly modern: {
343
+ readonly mode: "modern";
344
+ readonly scale: {
345
+ readonly min: 0;
346
+ readonly max: 100;
347
+ readonly splitNumber: 5;
348
+ };
349
+ readonly angles: {
350
+ readonly startAngle: 225;
351
+ readonly endAngle: -45;
352
+ };
353
+ readonly ranges: [];
354
+ readonly axisLine: {
355
+ readonly visible: true;
356
+ readonly width: 18;
357
+ readonly color: "gray.300";
358
+ };
359
+ readonly axisTick: {
360
+ readonly visible: false;
361
+ readonly splitNumber: 2;
362
+ readonly length: 5;
363
+ readonly width: 1;
364
+ readonly color: "gray.700";
365
+ };
366
+ readonly splitLine: {
367
+ readonly visible: false;
368
+ readonly length: 8;
369
+ readonly width: 2;
370
+ readonly color: "gray.700";
371
+ };
372
+ readonly axisLabel: {
373
+ readonly visible: false;
374
+ readonly distance: 12;
375
+ readonly color: "gray.700";
376
+ readonly fontSize: 12;
377
+ readonly bold: false;
378
+ readonly italic: false;
379
+ readonly family: "Arial";
380
+ };
381
+ readonly pointer: {
382
+ readonly visible: true;
383
+ readonly length: 0.62;
384
+ readonly width: 5;
385
+ readonly color: "blue.500";
386
+ readonly shape: "needle";
387
+ };
388
+ readonly anchor: {
389
+ readonly visible: false;
390
+ readonly size: 8;
391
+ readonly color: "#FFFFFF";
392
+ readonly borderColor: "blue.500";
393
+ readonly borderWidth: 2;
394
+ };
395
+ readonly progress: {
396
+ readonly visible: true;
397
+ readonly width: 18;
398
+ readonly color: "blue.500";
399
+ readonly rounded: true;
400
+ };
401
+ readonly title: {
402
+ readonly visible: true;
403
+ readonly offsetY: 0.95;
404
+ readonly color: "gray.700";
405
+ readonly fontSize: 12;
406
+ readonly bold: false;
407
+ readonly italic: false;
408
+ readonly family: "Arial";
409
+ };
410
+ readonly detail: {
411
+ readonly visible: true;
412
+ readonly offsetY: 0.65;
413
+ readonly color: "gray.700";
414
+ readonly fontSize: 14;
415
+ readonly bold: true;
416
+ readonly italic: false;
417
+ readonly family: "Arial";
418
+ };
419
+ };
420
+ readonly classic: {
421
+ readonly mode: "classic";
422
+ readonly scale: {
423
+ readonly min: 0;
424
+ readonly max: 100;
425
+ readonly splitNumber: 5;
426
+ };
427
+ readonly angles: {
428
+ readonly startAngle: 225;
429
+ readonly endAngle: -45;
430
+ };
431
+ readonly ranges: [];
432
+ readonly axisLine: {
433
+ readonly visible: true;
434
+ readonly width: 8;
435
+ readonly color: "gray.300";
436
+ };
437
+ readonly axisTick: {
438
+ readonly visible: true;
439
+ readonly splitNumber: 5;
440
+ readonly length: 8;
441
+ readonly width: 1;
442
+ readonly color: "gray.700";
443
+ };
444
+ readonly splitLine: {
445
+ readonly visible: true;
446
+ readonly length: 12;
447
+ readonly width: 2;
448
+ readonly color: "gray.700";
449
+ };
450
+ readonly axisLabel: {
451
+ readonly visible: true;
452
+ readonly distance: 12;
453
+ readonly color: "gray.700";
454
+ readonly fontSize: 12;
455
+ readonly bold: false;
456
+ readonly italic: false;
457
+ readonly family: "Arial";
458
+ };
459
+ readonly pointer: {
460
+ readonly visible: true;
461
+ readonly length: 0.62;
462
+ readonly width: 5;
463
+ readonly color: "blue.500";
464
+ readonly shape: "needle";
465
+ };
466
+ readonly anchor: {
467
+ readonly visible: true;
468
+ readonly size: 8;
469
+ readonly color: "#FFFFFF";
470
+ readonly borderColor: "blue.500";
471
+ readonly borderWidth: 2;
472
+ };
473
+ readonly progress: {
474
+ readonly visible: true;
475
+ readonly width: 8;
476
+ readonly color: "blue.500";
477
+ readonly rounded: false;
478
+ };
479
+ readonly title: {
480
+ readonly visible: true;
481
+ readonly offsetY: 0.95;
482
+ readonly color: "gray.700";
483
+ readonly fontSize: 12;
484
+ readonly bold: false;
485
+ readonly italic: false;
486
+ readonly family: "Arial";
487
+ };
488
+ readonly detail: {
489
+ readonly visible: true;
490
+ readonly offsetY: 0.65;
491
+ readonly color: "gray.700";
492
+ readonly fontSize: 14;
493
+ readonly bold: true;
494
+ readonly italic: false;
495
+ readonly family: "Arial";
496
+ };
497
+ };
498
+ readonly progress: {
499
+ readonly axisTick: {
500
+ readonly visible: false;
501
+ };
502
+ readonly splitLine: {
503
+ readonly visible: false;
504
+ };
505
+ readonly axisLabel: {
506
+ readonly visible: false;
507
+ };
508
+ readonly pointer: {
509
+ readonly visible: false;
510
+ };
511
+ readonly anchor: {
512
+ readonly visible: false;
513
+ };
514
+ readonly progress: {
515
+ readonly visible: true;
516
+ readonly width: 14;
517
+ readonly rounded: true;
518
+ };
519
+ readonly mode: "modern";
520
+ readonly scale: {
521
+ readonly min: 0;
522
+ readonly max: 100;
523
+ readonly splitNumber: 5;
524
+ };
525
+ readonly angles: {
526
+ readonly startAngle: 225;
527
+ readonly endAngle: -45;
528
+ };
529
+ readonly ranges: [];
530
+ readonly axisLine: {
531
+ readonly visible: true;
532
+ readonly width: 18;
533
+ readonly color: "gray.300";
534
+ };
535
+ readonly title: {
536
+ readonly visible: true;
537
+ readonly offsetY: 0.95;
538
+ readonly color: "gray.700";
539
+ readonly fontSize: 12;
540
+ readonly bold: false;
541
+ readonly italic: false;
542
+ readonly family: "Arial";
543
+ };
544
+ readonly detail: {
545
+ readonly visible: true;
546
+ readonly offsetY: 0.65;
547
+ readonly color: "gray.700";
548
+ readonly fontSize: 14;
549
+ readonly bold: true;
550
+ readonly italic: false;
551
+ readonly family: "Arial";
552
+ };
553
+ };
554
+ readonly minimal: {
555
+ readonly axisTick: {
556
+ readonly visible: false;
557
+ };
558
+ readonly splitLine: {
559
+ readonly visible: false;
560
+ };
561
+ readonly axisLabel: {
562
+ readonly visible: false;
563
+ };
564
+ readonly pointer: {
565
+ readonly visible: true;
566
+ };
567
+ readonly anchor: {
568
+ readonly visible: false;
569
+ };
570
+ readonly progress: {
571
+ readonly visible: false;
572
+ };
573
+ readonly title: {
574
+ readonly visible: true;
575
+ };
576
+ readonly mode: "modern";
577
+ readonly scale: {
578
+ readonly min: 0;
579
+ readonly max: 100;
580
+ readonly splitNumber: 5;
581
+ };
582
+ readonly angles: {
583
+ readonly startAngle: 225;
584
+ readonly endAngle: -45;
585
+ };
586
+ readonly ranges: [];
587
+ readonly axisLine: {
588
+ readonly visible: true;
589
+ readonly width: 18;
590
+ readonly color: "gray.300";
591
+ };
592
+ readonly detail: {
593
+ readonly visible: true;
594
+ readonly offsetY: 0.65;
595
+ readonly color: "gray.700";
596
+ readonly fontSize: 14;
597
+ readonly bold: true;
598
+ readonly italic: false;
599
+ readonly family: "Arial";
600
+ };
601
+ };
602
+ };
603
+ /** Resolves the semantic Gauge visual language without persisting its defaults. */
604
+ export declare function resolveGaugeStyle(authored: IChartGaugeSpec | undefined): IChartGaugeSpec;
605
+ export declare const RTLChartStyle: ChartStyle;
606
+ export declare const defaultChartConfig: {
607
+ allSeriesId: string;
608
+ invalidValueType: InvalidValueType;
609
+ point: {
610
+ shape: LinePointShape;
611
+ size: number;
612
+ scatterSymbolSize: number;
613
+ };
614
+ backgroundColor: string;
615
+ axis: {
616
+ lineVisible: boolean;
617
+ labelVisible: boolean;
618
+ reverse: boolean;
619
+ titleAlign: AxisAlignEnum;
620
+ dateAxisRotate: number;
621
+ };
622
+ legend: {
623
+ hiddenByDefaultChartTypes: ChartTypeBits[];
624
+ position: LegendPositionEnum;
625
+ selectMode: SelectModeEnum;
626
+ };
627
+ borderStyle: {
628
+ opacity: number;
629
+ width: number;
630
+ specialChartWidthMap: {
631
+ lineOrArea: number;
632
+ radar: number;
633
+ };
634
+ dashType: ChartBorderDashType;
635
+ };
636
+ textStyle: {
637
+ fontSize: number;
638
+ subTitleFontSize: number;
639
+ titleFontSize: number;
640
+ color: string;
641
+ align: string;
642
+ position: SeriesLabelPosition;
643
+ bold: boolean;
644
+ family: string;
645
+ italic: boolean;
646
+ };
647
+ titlePosition: TitlePositionEnum;
648
+ titlePositionAlign: TextAlign;
649
+ titleFontSize: number;
650
+ area: {
651
+ lineStyle: AreaLineStyle;
652
+ };
653
+ bar: {
654
+ is3D: boolean;
655
+ shape: BarShape;
656
+ rotX: number;
657
+ rotY: number;
658
+ };
659
+ bubble: {
660
+ scale: number;
661
+ sizeRepresents: string;
662
+ };
663
+ labelContentType: LabelContentType;
664
+ pie: {
665
+ labelContentType: number;
666
+ showLabelLine: boolean;
667
+ valueScale: number;
668
+ radius: number;
669
+ doughnutHole: number;
670
+ borderColor: string;
671
+ labelPosition: PieLabelPosition;
672
+ hasPaddingAngle: boolean;
673
+ is3D: boolean;
674
+ };
675
+ combination: {
676
+ firstChartType: ChartTypeBits;
677
+ otherChartType: ChartTypeBits;
678
+ };
679
+ funnel: {
680
+ gap: number;
681
+ };
682
+ radar: {
683
+ shape: RadarShape;
684
+ symbolSize: number;
685
+ symbolType: LinePointShape;
686
+ areaOpacity: number;
687
+ };
688
+ wordCloud: {
689
+ shape: WordCloudShapeEnum;
690
+ repeat: boolean;
691
+ };
692
+ waterfall: {
693
+ stackType: WaterfallStackTypeEnum;
694
+ useSubtotal: boolean;
695
+ pointRoles: never[];
696
+ connector: boolean;
697
+ connectorStyle: {
698
+ color: string;
699
+ width: number;
700
+ opacity: number;
701
+ dashType: ChartBorderDashType;
702
+ };
703
+ subtotalColor: string;
704
+ };
705
+ trendline: {
706
+ period: number;
707
+ order: number;
708
+ opacity: number;
709
+ width: number;
710
+ dashType: ChartBorderDashType;
711
+ color: string;
712
+ showFormula: boolean;
713
+ showR2: boolean;
714
+ };
715
+ semanticLine: {
716
+ width: number;
717
+ opacity: number;
718
+ dashType: ChartBorderDashType;
719
+ };
720
+ relation: {
721
+ force: {
722
+ gravity: number;
723
+ repulsion: number;
724
+ };
725
+ circular: {
726
+ rotateLabel: boolean;
727
+ };
728
+ emphasis: boolean;
729
+ nodeShape: LinePointShape;
730
+ useValueAsSymbolSize: boolean;
731
+ };
732
+ tooltipAxisLabelBackground: string;
733
+ tooltipAxisLabelColor: string;
734
+ indicatorLineType: ChartBorderDashType;
735
+ formatStyle: {
736
+ red: {
737
+ color: string;
738
+ };
739
+ };
740
+ pareto: {
741
+ symbolSize: number;
742
+ barThemeColorIndex: number;
743
+ lineThemeColorIndex: number;
744
+ };
745
+ heatmap: {
746
+ visualMapType: string;
747
+ };
748
+ candlestick: {
749
+ rising: {
750
+ color: string;
751
+ fillOpacity: number;
752
+ border: {
753
+ color: string;
754
+ width: number;
755
+ opacity: number;
756
+ };
757
+ hollow: boolean;
758
+ };
759
+ falling: {
760
+ color: string;
761
+ fillOpacity: number;
762
+ border: {
763
+ color: string;
764
+ width: number;
765
+ opacity: number;
766
+ };
767
+ hollow: boolean;
768
+ };
769
+ doji: {
770
+ color: string;
771
+ fillOpacity: number;
772
+ border: {
773
+ color: string;
774
+ width: number;
775
+ opacity: number;
776
+ };
777
+ hollow: boolean;
778
+ };
779
+ };
780
+ histogram: {
781
+ binGap: number;
782
+ legendVisible: boolean;
783
+ };
784
+ treemap: {
785
+ parentLabelLayout: "banner";
786
+ label: {
787
+ visible: boolean;
788
+ contentType: LabelContentType;
789
+ fontSize: number;
790
+ };
791
+ };
792
+ sunburst: {
793
+ centerLabel: {
794
+ visible: boolean;
795
+ fontSize: number;
796
+ bold: boolean;
797
+ italic: boolean;
798
+ };
799
+ label: {
800
+ visible: boolean;
801
+ contentType: LabelContentType;
802
+ fontSize: number;
803
+ };
804
+ };
805
+ gauge: {
806
+ readonly mode: "classic";
807
+ readonly scale: {
808
+ readonly min: 0;
809
+ readonly max: 100;
810
+ readonly splitNumber: 5;
811
+ };
812
+ readonly angles: {
813
+ readonly startAngle: 225;
814
+ readonly endAngle: -45;
815
+ };
816
+ readonly ranges: [];
817
+ readonly axisLine: {
818
+ readonly visible: true;
819
+ readonly width: 8;
820
+ readonly color: "gray.300";
821
+ };
822
+ readonly axisTick: {
823
+ readonly visible: true;
824
+ readonly splitNumber: 5;
825
+ readonly length: 8;
826
+ readonly width: 1;
827
+ readonly color: "gray.700";
828
+ };
829
+ readonly splitLine: {
830
+ readonly visible: true;
831
+ readonly length: 12;
832
+ readonly width: 2;
833
+ readonly color: "gray.700";
834
+ };
835
+ readonly axisLabel: {
836
+ readonly visible: true;
837
+ readonly distance: 12;
838
+ readonly color: "gray.700";
839
+ readonly fontSize: 12;
840
+ readonly bold: false;
841
+ readonly italic: false;
842
+ readonly family: "Arial";
843
+ };
844
+ readonly pointer: {
845
+ readonly visible: true;
846
+ readonly length: 0.62;
847
+ readonly width: 5;
848
+ readonly color: "blue.500";
849
+ readonly shape: "needle";
850
+ };
851
+ readonly anchor: {
852
+ readonly visible: true;
853
+ readonly size: 8;
854
+ readonly color: "#FFFFFF";
855
+ readonly borderColor: "blue.500";
856
+ readonly borderWidth: 2;
857
+ };
858
+ readonly progress: {
859
+ readonly visible: true;
860
+ readonly width: 8;
861
+ readonly color: "blue.500";
862
+ readonly rounded: false;
863
+ };
864
+ readonly title: {
865
+ readonly visible: true;
866
+ readonly offsetY: 0.95;
867
+ readonly color: "gray.700";
868
+ readonly fontSize: 12;
869
+ readonly bold: false;
870
+ readonly italic: false;
871
+ readonly family: "Arial";
872
+ };
873
+ readonly detail: {
874
+ readonly visible: true;
875
+ readonly offsetY: 0.65;
876
+ readonly color: "gray.700";
877
+ readonly fontSize: 14;
878
+ readonly bold: true;
879
+ readonly italic: false;
880
+ readonly family: "Arial";
881
+ };
882
+ };
883
+ chord: {
884
+ layout: {
885
+ startAngle: number;
886
+ clockwise: boolean;
887
+ padAngle: number;
888
+ minAngle: number;
889
+ innerRadiusRatio: number;
890
+ outerRadiusRatio: number;
891
+ };
892
+ node: {
893
+ opacity: number;
894
+ borderColor: string;
895
+ borderWidth: number;
896
+ borderType: ChartBorderDashType;
897
+ };
898
+ label: {
899
+ visible: boolean;
900
+ position: "outside";
901
+ rotation: number;
902
+ distance: number;
903
+ color: string;
904
+ fontSize: number;
905
+ bold: boolean;
906
+ italic: boolean;
907
+ family: string;
908
+ };
909
+ ribbon: {
910
+ color: "gradient";
911
+ opacity: number;
912
+ width: number;
913
+ type: ChartBorderDashType;
914
+ };
915
+ emphasis: {
916
+ focus: "adjacency";
917
+ };
918
+ legendVisible: boolean;
919
+ };
920
+ };