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

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 (90) hide show
  1. package/README.md +9 -3
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/es/index.js +1 -1
  4. package/lib/index.js +1 -1
  5. package/lib/types/chart-model-api/chart-model-api.d.ts +2 -0
  6. package/lib/types/chart-model-api/chart-type-manifest.d.ts +128 -0
  7. package/lib/types/chart-model-api/chart-type-registry.d.ts +56 -0
  8. package/lib/types/chart-model-api/chart-type.d.ts +7 -0
  9. package/lib/types/chart-model-api/constants.d.ts +99 -0
  10. package/lib/types/chart-model-api/describe.d.ts +3 -0
  11. package/lib/types/chart-model-api/index.d.ts +8 -0
  12. package/lib/types/chart-model-api/patch-builder.d.ts +9 -0
  13. package/lib/types/chart-model-api/series-selector.d.ts +3 -0
  14. package/lib/types/chart-model-api/types.d.ts +452 -0
  15. package/lib/types/chart-model-api/utils.d.ts +10 -0
  16. package/lib/types/chart-model-api/validate.d.ts +5 -0
  17. package/lib/types/enum.d.ts +8 -0
  18. package/lib/types/f-base-chart.d.ts +25 -0
  19. package/lib/types/index.d.ts +119 -13
  20. package/lib/types/models/chart-data-operators/build-chart-data.d.ts +6 -1
  21. package/lib/types/models/chart-data-operators/cartesian-point-data.d.ts +43 -0
  22. package/lib/types/models/chart-data-operators/operators.d.ts +4 -5
  23. package/lib/types/models/chart-element-axis-id.d.ts +9 -0
  24. package/lib/types/models/chart-element-edit-overlay/chart-element-edit-overlay.d.ts +38 -0
  25. package/lib/types/models/chart-element-edit-overlay/index.d.ts +4 -0
  26. package/lib/types/models/chart-element-edit-overlay/palette.d.ts +2 -0
  27. package/lib/types/models/chart-element-edit-overlay/resolve-chart-element-hit-layout.d.ts +16 -0
  28. package/lib/types/models/chart-element-edit-overlay/types.d.ts +20 -0
  29. package/lib/types/models/chart-host-style.d.ts +35 -0
  30. package/lib/types/models/chart-model.d.ts +40 -31
  31. package/lib/types/models/chart-render-input-resolver.d.ts +13 -0
  32. package/lib/types/models/chart-render-model-manager.service.d.ts +26 -0
  33. package/lib/types/models/chart-runtime-style.d.ts +1 -0
  34. package/lib/types/models/constants/build-in-theme/index.d.ts +12 -12
  35. package/lib/types/models/constants/build-in-theme/univer-gradient1.d.ts +1 -1
  36. package/lib/types/models/constants/build-in-theme/univer-gradient2.d.ts +1 -1
  37. package/lib/types/models/constants/build-in-theme/univer-gradient3.d.ts +1 -1
  38. package/lib/types/models/constants/build-in-theme/univer-gradient4.d.ts +1 -1
  39. package/lib/types/models/constants/build-in-theme/univer-gradient5.d.ts +1 -1
  40. package/lib/types/models/constants/build-in-theme/univer-gradient6.d.ts +1 -1
  41. package/lib/types/models/constants/build-in-theme/univer1.d.ts +1 -1
  42. package/lib/types/models/constants/build-in-theme/univer2.d.ts +1 -1
  43. package/lib/types/models/constants/build-in-theme/univer3.d.ts +1 -1
  44. package/lib/types/models/constants/build-in-theme/univer4.d.ts +1 -1
  45. package/lib/types/models/constants/build-in-theme/univer5.d.ts +1 -1
  46. package/lib/types/models/constants/build-in-theme/univer6.d.ts +1 -1
  47. package/lib/types/models/constants/default.d.ts +3 -1
  48. package/lib/types/models/echart-render-model.d.ts +43 -4
  49. package/lib/types/models/image-chart-host.d.ts +18 -0
  50. package/lib/types/models/mode-converter/mode-converter.d.ts +0 -2
  51. package/lib/types/models/mode-converter/render-spec-operators/legend-size.d.ts +2 -1
  52. package/lib/types/models/offscreen-chart-host.d.ts +7 -0
  53. package/lib/types/models/series-style/series-style-resolver.d.ts +9 -0
  54. package/lib/types/source/source-util.d.ts +1 -1
  55. package/lib/types/source/static-chart-source.d.ts +11 -3
  56. package/lib/types/types.d.ts +188 -35
  57. package/lib/types/util.d.ts +1 -1
  58. package/lib/types/wordcloud-chart/adapters/echarts/chart-view.d.ts +2 -2
  59. package/lib/types/wordcloud-chart/adapters/echarts/install.d.ts +3 -2
  60. package/lib/types/wordcloud-chart/adapters/echarts/layout-register.d.ts +2 -2
  61. package/lib/types/wordcloud-chart/adapters/echarts/runtime-cache.d.ts +29 -0
  62. package/lib/types/wordcloud-chart/adapters/echarts/series-model.d.ts +2 -2
  63. package/lib/types/wordcloud-chart/core/collision/box-shape-engine.d.ts +1 -1
  64. package/lib/types/wordcloud-chart/core/collision/engine.d.ts +1 -1
  65. package/lib/types/wordcloud-chart/core/collision/footprint.d.ts +1 -1
  66. package/lib/types/wordcloud-chart/core/collision/glyph-shape-engine.d.ts +1 -1
  67. package/lib/types/wordcloud-chart/core/collision/grid.d.ts +1 -1
  68. package/lib/types/wordcloud-chart/core/layout/candidates.d.ts +1 -1
  69. package/lib/types/wordcloud-chart/core/layout/layout-config.d.ts +1 -1
  70. package/lib/types/wordcloud-chart/core/layout/layout.d.ts +1 -2
  71. package/lib/types/wordcloud-chart/core/layout/phases.d.ts +1 -1
  72. package/lib/types/wordcloud-chart/core/layout/place-word.d.ts +1 -1
  73. package/lib/types/wordcloud-chart/core/layout/placement-stats.d.ts +1 -1
  74. package/lib/types/wordcloud-chart/core/layout/placement-types.d.ts +1 -1
  75. package/lib/types/wordcloud-chart/core/layout/placement-word-manager.d.ts +1 -1
  76. package/lib/types/wordcloud-chart/core/layout/runtime-mask.d.ts +1 -1
  77. package/lib/types/wordcloud-chart/core/layout/word-prepare.d.ts +1 -1
  78. package/lib/types/wordcloud-chart/core/shape/shape-mask.d.ts +1 -1
  79. package/lib/types/wordcloud-chart/index.d.ts +3 -2
  80. package/lib/types/wordcloud-chart/types.d.ts +2 -0
  81. package/lib/umd/index.js +1 -1
  82. package/package.json +5 -5
  83. package/lib/types/wordcloud-chart/core/collision/types.d.ts +0 -1
  84. package/lib/types/wordcloud-chart/core/layout/types.d.ts +0 -1
  85. package/lib/types/wordcloud-chart/core/shape/types.d.ts +0 -1
  86. package/lib/types/wordcloud-chart/core/text/types.d.ts +0 -1
  87. package/lib/types/wordcloud-chart/core/types/option.d.ts +0 -1
  88. package/lib/types/wordcloud-chart/core/types/shape.d.ts +0 -1
  89. package/lib/types/wordcloud-chart/core/types/word.d.ts +0 -1
  90. package/lib/types/wordcloud-chart/echarts.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-chart",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "private": false,
5
5
  "description": "Chart data model and rendering utilities for Univer Pro.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -51,15 +51,15 @@
51
51
  "rxjs": ">=7.0.0"
52
52
  },
53
53
  "dependencies": {
54
- "@univerjs/core": "1.0.0-alpha.1",
55
- "@univerjs/engine-render": "1.0.0-alpha.1"
54
+ "@univerjs/engine-render": "1.0.0-alpha.3",
55
+ "@univerjs/core": "1.0.0-alpha.3"
56
56
  },
57
57
  "devDependencies": {
58
58
  "echarts": "5.6.0",
59
59
  "rxjs": "7.8.2",
60
60
  "typescript": "^6.0.3",
61
- "vitest": "^4.1.9",
62
- "@univerjs-infra/shared": "1.0.0-alpha.1"
61
+ "vitest": "^4.1.10",
62
+ "@univerjs-infra/shared": "1.0.0-alpha.3"
63
63
  },
64
64
  "scripts": {
65
65
  "test": "vitest run",
@@ -1 +0,0 @@
1
- export type * from '../types/layout';
@@ -1 +0,0 @@
1
- export type * from '../types/layout';
@@ -1 +0,0 @@
1
- export type * from '../types/layout';
@@ -1 +0,0 @@
1
- export type * from '../types/layout';
@@ -1 +0,0 @@
1
- export type { IResolvedWordCloudSpec, IWordCloudChartSpec, IWordCloudDataSource, IWordCloudEChartsMaskSource, IWordCloudEChartsSeriesOption, IWordCloudEncoding, IWordCloudFieldMapping, IWordCloudProtocolSpec, IWordCloudSeriesOption, IWordCloudSpecBase, } from '../../types';
@@ -1 +0,0 @@
1
- export type { IWordCloudLayoutMask, IWordCloudMaskGrid, IWordCloudMaskShapeSpec, IWordCloudSegmentationRegion, IWordCloudSegmentationResult, WordCloudShape, } from '../../types';
@@ -1 +0,0 @@
1
- export type { INormalizedWordCloudDatum, IWordCloudEncodedWord, IWordCloudPlacedWord, IWordCloudTextMarkAttrs, IWordCloudTextMarkSpec, } from '../../types';
@@ -1,2 +0,0 @@
1
- export { WORD_CLOUD_DEFAULT_OPTION, WORD_CLOUD_SERIES_TYPE } from './adapters/echarts/echarts-options';
2
- export { registerWordCloudChart } from './adapters/echarts/install';