@univerjs/engine-render 0.6.0-alpha.0 → 0.6.0-experimental.20250212-dbe9830

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 (139) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +5582 -6082
  3. package/lib/types/basics/const.d.ts +1 -1
  4. package/lib/types/basics/index.d.ts +1 -1
  5. package/lib/types/basics/interfaces.d.ts +9 -0
  6. package/lib/types/basics/tools.d.ts +9 -17
  7. package/lib/types/basics/unit-convert.d.ts +1 -1
  8. package/lib/types/components/docs/extensions/index.d.ts +1 -1
  9. package/lib/types/components/docs/horizon-bar.d.ts +1 -1
  10. package/lib/types/components/docs/layout/block/block-error.d.ts +1 -1
  11. package/lib/types/components/docs/layout/doc-skeleton.d.ts +1 -2
  12. package/lib/types/components/docs/layout/hyphenation/lang.d.ts +1 -1
  13. package/lib/types/components/docs/layout/hyphenation/patterns/af.d.ts +1 -1
  14. package/lib/types/components/docs/layout/hyphenation/patterns/as.d.ts +1 -1
  15. package/lib/types/components/docs/layout/hyphenation/patterns/be.d.ts +1 -1
  16. package/lib/types/components/docs/layout/hyphenation/patterns/bg.d.ts +1 -1
  17. package/lib/types/components/docs/layout/hyphenation/patterns/bn.d.ts +1 -1
  18. package/lib/types/components/docs/layout/hyphenation/patterns/ca.d.ts +1 -1
  19. package/lib/types/components/docs/layout/hyphenation/patterns/cop.d.ts +1 -1
  20. package/lib/types/components/docs/layout/hyphenation/patterns/cs.d.ts +1 -1
  21. package/lib/types/components/docs/layout/hyphenation/patterns/cu.d.ts +1 -1
  22. package/lib/types/components/docs/layout/hyphenation/patterns/cy.d.ts +1 -1
  23. package/lib/types/components/docs/layout/hyphenation/patterns/da.d.ts +1 -1
  24. package/lib/types/components/docs/layout/hyphenation/patterns/de-1901.d.ts +1 -1
  25. package/lib/types/components/docs/layout/hyphenation/patterns/de-1996.d.ts +1 -1
  26. package/lib/types/components/docs/layout/hyphenation/patterns/de-ch-1901.d.ts +1 -1
  27. package/lib/types/components/docs/layout/hyphenation/patterns/el-monoton.d.ts +1 -1
  28. package/lib/types/components/docs/layout/hyphenation/patterns/el-polyton.d.ts +1 -1
  29. package/lib/types/components/docs/layout/hyphenation/patterns/en-gb.d.ts +1 -1
  30. package/lib/types/components/docs/layout/hyphenation/patterns/en-us.d.ts +1 -1
  31. package/lib/types/components/docs/layout/hyphenation/patterns/es.d.ts +1 -1
  32. package/lib/types/components/docs/layout/hyphenation/patterns/et.d.ts +1 -1
  33. package/lib/types/components/docs/layout/hyphenation/patterns/eu.d.ts +1 -1
  34. package/lib/types/components/docs/layout/hyphenation/patterns/fi.d.ts +1 -1
  35. package/lib/types/components/docs/layout/hyphenation/patterns/fr.d.ts +1 -1
  36. package/lib/types/components/docs/layout/hyphenation/patterns/fur.d.ts +1 -1
  37. package/lib/types/components/docs/layout/hyphenation/patterns/ga.d.ts +1 -1
  38. package/lib/types/components/docs/layout/hyphenation/patterns/gl.d.ts +1 -1
  39. package/lib/types/components/docs/layout/hyphenation/patterns/grc.d.ts +1 -1
  40. package/lib/types/components/docs/layout/hyphenation/patterns/gu.d.ts +1 -1
  41. package/lib/types/components/docs/layout/hyphenation/patterns/hi.d.ts +1 -1
  42. package/lib/types/components/docs/layout/hyphenation/patterns/hr.d.ts +1 -1
  43. package/lib/types/components/docs/layout/hyphenation/patterns/hsb.d.ts +1 -1
  44. package/lib/types/components/docs/layout/hyphenation/patterns/hu.d.ts +1 -1
  45. package/lib/types/components/docs/layout/hyphenation/patterns/hy.d.ts +1 -1
  46. package/lib/types/components/docs/layout/hyphenation/patterns/ia.d.ts +1 -1
  47. package/lib/types/components/docs/layout/hyphenation/patterns/id.d.ts +1 -1
  48. package/lib/types/components/docs/layout/hyphenation/patterns/is.d.ts +1 -1
  49. package/lib/types/components/docs/layout/hyphenation/patterns/it.d.ts +1 -1
  50. package/lib/types/components/docs/layout/hyphenation/patterns/ka.d.ts +1 -1
  51. package/lib/types/components/docs/layout/hyphenation/patterns/kmr.d.ts +1 -1
  52. package/lib/types/components/docs/layout/hyphenation/patterns/kn.d.ts +1 -1
  53. package/lib/types/components/docs/layout/hyphenation/patterns/la-x-classic.d.ts +1 -1
  54. package/lib/types/components/docs/layout/hyphenation/patterns/la-x-liturgic.d.ts +1 -1
  55. package/lib/types/components/docs/layout/hyphenation/patterns/la.d.ts +1 -1
  56. package/lib/types/components/docs/layout/hyphenation/patterns/lt.d.ts +1 -1
  57. package/lib/types/components/docs/layout/hyphenation/patterns/lv.d.ts +1 -1
  58. package/lib/types/components/docs/layout/hyphenation/patterns/ml.d.ts +1 -1
  59. package/lib/types/components/docs/layout/hyphenation/patterns/mn-cyrl-x-lmc.d.ts +1 -1
  60. package/lib/types/components/docs/layout/hyphenation/patterns/mn-cyrl.d.ts +1 -1
  61. package/lib/types/components/docs/layout/hyphenation/patterns/mr.d.ts +1 -1
  62. package/lib/types/components/docs/layout/hyphenation/patterns/mul-ethi.d.ts +1 -1
  63. package/lib/types/components/docs/layout/hyphenation/patterns/nb.d.ts +1 -1
  64. package/lib/types/components/docs/layout/hyphenation/patterns/nl.d.ts +1 -1
  65. package/lib/types/components/docs/layout/hyphenation/patterns/nn.d.ts +1 -1
  66. package/lib/types/components/docs/layout/hyphenation/patterns/no.d.ts +1 -1
  67. package/lib/types/components/docs/layout/hyphenation/patterns/oc.d.ts +1 -1
  68. package/lib/types/components/docs/layout/hyphenation/patterns/or.d.ts +1 -1
  69. package/lib/types/components/docs/layout/hyphenation/patterns/pa.d.ts +1 -1
  70. package/lib/types/components/docs/layout/hyphenation/patterns/pi.d.ts +1 -1
  71. package/lib/types/components/docs/layout/hyphenation/patterns/pl.d.ts +1 -1
  72. package/lib/types/components/docs/layout/hyphenation/patterns/pms.d.ts +1 -1
  73. package/lib/types/components/docs/layout/hyphenation/patterns/pt.d.ts +1 -1
  74. package/lib/types/components/docs/layout/hyphenation/patterns/rm.d.ts +1 -1
  75. package/lib/types/components/docs/layout/hyphenation/patterns/ro.d.ts +1 -1
  76. package/lib/types/components/docs/layout/hyphenation/patterns/ru.d.ts +1 -1
  77. package/lib/types/components/docs/layout/hyphenation/patterns/sa.d.ts +1 -1
  78. package/lib/types/components/docs/layout/hyphenation/patterns/sh-cyrl.d.ts +1 -1
  79. package/lib/types/components/docs/layout/hyphenation/patterns/sh-latn.d.ts +1 -1
  80. package/lib/types/components/docs/layout/hyphenation/patterns/sk.d.ts +1 -1
  81. package/lib/types/components/docs/layout/hyphenation/patterns/sl.d.ts +1 -1
  82. package/lib/types/components/docs/layout/hyphenation/patterns/sr-cyrl.d.ts +1 -1
  83. package/lib/types/components/docs/layout/hyphenation/patterns/sv.d.ts +1 -1
  84. package/lib/types/components/docs/layout/hyphenation/patterns/ta.d.ts +1 -1
  85. package/lib/types/components/docs/layout/hyphenation/patterns/te.d.ts +1 -1
  86. package/lib/types/components/docs/layout/hyphenation/patterns/th.d.ts +1 -1
  87. package/lib/types/components/docs/layout/hyphenation/patterns/tk.d.ts +1 -1
  88. package/lib/types/components/docs/layout/hyphenation/patterns/tr.d.ts +1 -1
  89. package/lib/types/components/docs/layout/hyphenation/patterns/uk.d.ts +1 -1
  90. package/lib/types/components/docs/layout/hyphenation/patterns/zh-latn-pinyin.d.ts +1 -1
  91. package/lib/types/components/docs/layout/hyphenation/tools.d.ts +1 -1
  92. package/lib/types/components/docs/layout/line-breaker/break.d.ts +1 -1
  93. package/lib/types/components/docs/layout/line-breaker/classes.d.ts +1 -1
  94. package/lib/types/components/docs/layout/line-breaker/enhancers/utils.d.ts +1 -1
  95. package/lib/types/components/docs/layout/line-breaker/index.d.ts +1 -1
  96. package/lib/types/components/docs/layout/line-breaker/pairs.d.ts +1 -1
  97. package/lib/types/components/docs/layout/line-breaker/swap.d.ts +1 -1
  98. package/lib/types/components/docs/layout/line-breaker/tiny-inflate.d.ts +1 -1
  99. package/lib/types/components/docs/layout/line-breaker/trie-data.d.ts +1 -1
  100. package/lib/types/components/docs/layout/line-breaker/unicode-trie.d.ts +1 -1
  101. package/lib/types/components/docs/layout/model/table.d.ts +1 -1
  102. package/lib/types/components/docs/vertical-bar.d.ts +1 -1
  103. package/lib/types/components/index.d.ts +2 -3
  104. package/lib/types/components/sheets/column-header.d.ts +1 -1
  105. package/lib/types/components/sheets/extensions/background.d.ts +1 -1
  106. package/lib/types/components/sheets/extensions/border.d.ts +1 -1
  107. package/lib/types/components/sheets/extensions/column-header-layout.d.ts +1 -1
  108. package/lib/types/components/sheets/extensions/custom.d.ts +1 -1
  109. package/lib/types/components/sheets/extensions/font.d.ts +6 -6
  110. package/lib/types/components/sheets/extensions/index.d.ts +1 -1
  111. package/lib/types/components/sheets/extensions/marker.d.ts +1 -1
  112. package/lib/types/components/sheets/extensions/row-header-layout.d.ts +1 -1
  113. package/lib/types/components/sheets/extensions/sheet-extension.d.ts +1 -1
  114. package/lib/types/components/sheets/index.d.ts +2 -2
  115. package/lib/types/components/sheets/interfaces.d.ts +5 -2
  116. package/lib/types/components/sheets/row-header.d.ts +1 -1
  117. package/lib/types/components/sheets/sheet-component.d.ts +1 -1
  118. package/lib/types/components/sheets/{sheet-skeleton.d.ts → sheet.render-skeleton.d.ts} +51 -231
  119. package/lib/types/components/sheets/spreadsheet.d.ts +3 -8
  120. package/lib/types/components/slides/index.d.ts +1 -1
  121. package/lib/types/controllers/config.schema.d.ts +1 -1
  122. package/lib/types/custom/custom-object.d.ts +1 -1
  123. package/lib/types/custom/index.d.ts +1 -1
  124. package/lib/types/engine.d.ts +20 -2
  125. package/lib/types/index.d.ts +2 -3
  126. package/lib/types/render-manager/render-manager.service.d.ts +2 -4
  127. package/lib/types/render-manager/render-unit.d.ts +20 -0
  128. package/lib/types/scene.d.ts +35 -8
  129. package/lib/types/services/render-config.d.ts +1 -1
  130. package/lib/types/services/render-config.service.d.ts +1 -1
  131. package/lib/types/shape/control.d.ts +1 -1
  132. package/lib/types/shape/drawing.d.ts +1 -1
  133. package/lib/types/shape/index.d.ts +1 -1
  134. package/lib/types/viewport.d.ts +9 -2
  135. package/lib/umd/index.js +1 -1
  136. package/package.json +4 -4
  137. package/LICENSE +0 -176
  138. package/lib/types/components/skeleton.d.ts +0 -13
  139. package/lib/types/thin-engine.d.ts +0 -32
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -16,6 +16,5 @@
16
16
  export * from './component';
17
17
  export * from './extension';
18
18
  export * from './sheets';
19
- export { RENDER_RAW_FORMULA_KEY } from './sheets/sheet-skeleton';
20
- export * from './skeleton';
19
+ export { RENDER_RAW_FORMULA_KEY } from './sheets/sheet.render-skeleton';
21
20
  export * from './slides';
@@ -2,7 +2,7 @@ import { Nullable } from '@univerjs/core';
2
2
  import { IViewportInfo, Vector2 } from '../../basics/vector2';
3
3
  import { UniverRenderingContext } from '../../context';
4
4
  import { ColumnHeaderLayout, IColumnsHeaderCfgParam } from './extensions/column-header-layout';
5
- import { SpreadsheetSkeleton } from './sheet-skeleton';
5
+ import { SpreadsheetSkeleton } from './sheet.render-skeleton';
6
6
  import { SpreadsheetHeader } from './sheet-component';
7
7
  export declare class SpreadsheetColumnHeader extends SpreadsheetHeader {
8
8
  getDocuments(): void;
@@ -1,7 +1,7 @@
1
1
  import { ICellWithCoord, IRange, IScale, ObjectMatrix } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
3
  import { IDrawInfo } from '../../extension';
4
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
4
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
5
5
  import { SheetExtension } from './sheet-extension';
6
6
  interface IRenderBGContext {
7
7
  ctx: UniverRenderingContext;
@@ -2,7 +2,7 @@ import { IRange, IScale, ObjectMatrix, BorderStyleTypes } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
3
  import { IDrawInfo } from '../../extension';
4
4
  import { BorderCache } from '../interfaces';
5
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
5
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
6
6
  import { SheetExtension } from './sheet-extension';
7
7
  interface IRenderBorderContext {
8
8
  ctx: UniverRenderingContext;
@@ -1,7 +1,7 @@
1
1
  import { IScale } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
3
  import { IAColumnCfg, IAColumnCfgObj, IHeaderStyleCfg } from '../interfaces';
4
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
4
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
5
5
  import { SheetExtension } from './sheet-extension';
6
6
  export interface IColumnsHeaderCfgParam {
7
7
  headerStyle?: Partial<IHeaderStyleCfg>;
@@ -1,6 +1,6 @@
1
1
  import { IRange, IScale } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
3
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
4
4
  import { SheetExtension } from './sheet-extension';
5
5
  export declare class Custom extends SheetExtension {
6
6
  protected Z_INDEX: number;
@@ -1,8 +1,8 @@
1
- import { ICellDataForSheetInterceptor, ICellWithCoord, IRange, IScale, Nullable, ObjectMatrix } from '@univerjs/core';
1
+ import { ICellWithCoord, IRange, IScale, Nullable, ObjectMatrix } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
3
  import { IDrawInfo } from '../../extension';
4
4
  import { IFontCacheItem } from '../interfaces';
5
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
5
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
6
6
  import { SheetExtension } from './sheet-extension';
7
7
  interface IRenderFontContext {
8
8
  ctx: UniverRenderingContext;
@@ -16,10 +16,10 @@ interface IRenderFontContext {
16
16
  diffRanges: IRange[];
17
17
  spreadsheetSkeleton: SpreadsheetSkeleton;
18
18
  overflowRectangle: Nullable<IRange>;
19
- cellData: {
20
- fontCache?: Nullable<IFontCacheItem>;
21
- cellDataInterceptor?: Nullable<ICellDataForSheetInterceptor>;
22
- };
19
+ /**
20
+ * includes documentSkeleton & cellData
21
+ */
22
+ fontCache?: Nullable<IFontCacheItem>;
23
23
  startY: number;
24
24
  endY: number;
25
25
  startX: number;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  import { IRange, IScale } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
3
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
4
4
  import { SheetExtension } from './sheet-extension';
5
5
  export declare class Marker extends SheetExtension {
6
6
  protected Z_INDEX: number;
@@ -1,7 +1,7 @@
1
1
  import { IScale } from '@univerjs/core';
2
2
  import { UniverRenderingContext } from '../../../context';
3
3
  import { IARowCfg, IARowCfgObj, IHeaderStyleCfg, IRowStyleCfg } from '../interfaces';
4
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
4
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
5
5
  import { SheetExtension } from './sheet-extension';
6
6
  export interface IRowsHeaderCfgParam {
7
7
  headerStyle?: Partial<IRowStyleCfg>;
@@ -1,5 +1,5 @@
1
1
  import { IRange } from '@univerjs/core';
2
- import { SpreadsheetSkeleton } from '../sheet-skeleton';
2
+ import { SpreadsheetSkeleton } from '../sheet.render-skeleton';
3
3
  import { ComponentExtension } from '../../extension';
4
4
  export declare enum SHEET_EXTENSION_TYPE {
5
5
  GRID = 0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023-present DreamNum Inc.
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -19,5 +19,5 @@ export * from './extensions';
19
19
  export * from './interfaces';
20
20
  export * from './row-header';
21
21
  export * from './sheet-component';
22
- export * from './sheet-skeleton';
22
+ export * from './sheet.render-skeleton';
23
23
  export * from './spreadsheet';
@@ -1,4 +1,4 @@
1
- import { BorderStyleTypes, HorizontalAlign, ICellWithCoord, IFontRenderExtension, ImageCacheMap, ObjectMatrix, VerticalAlign, WrapStrategy } from '@univerjs/core';
1
+ import { BorderStyleTypes, HorizontalAlign, ICellDataForSheetInterceptor, ICellWithCoord, ImageCacheMap, Nullable, ObjectMatrix, VerticalAlign, WrapStrategy } from '@univerjs/core';
2
2
  import { BORDER_TYPE as BORDER_LTRB } from '../../basics/const';
3
3
  import { Canvas } from '../../canvas';
4
4
  import { UniverRenderingContext } from '../../context';
@@ -19,13 +19,16 @@ export interface IFontCacheItem {
19
19
  horizontalAlign: HorizontalAlign;
20
20
  wrapStrategy: WrapStrategy;
21
21
  imageCacheMap: ImageCacheMap;
22
- fontRenderExtension?: IFontRenderExtension;
22
+ cellData: Nullable<ICellDataForSheetInterceptor>;
23
23
  }
24
24
  type colorString = string;
25
25
  export interface IStylesCache {
26
26
  background?: Record<colorString, ObjectMatrix<string>>;
27
27
  backgroundPositions?: ObjectMatrix<ICellWithCoord>;
28
28
  font?: Record<string, ObjectMatrix<IFontCacheItem>>;
29
+ /**
30
+ * Get value from getCell in skeleton and this value is used in font extension
31
+ */
29
32
  fontMatrix: ObjectMatrix<IFontCacheItem>;
30
33
  border?: ObjectMatrix<BorderCache>;
31
34
  }
@@ -2,7 +2,7 @@ import { Nullable } from '@univerjs/core';
2
2
  import { IViewportInfo, Vector2 } from '../../basics/vector2';
3
3
  import { UniverRenderingContext } from '../../context';
4
4
  import { IRowsHeaderCfgParam, RowHeaderLayout } from './extensions/row-header-layout';
5
- import { SpreadsheetSkeleton } from './sheet-skeleton';
5
+ import { SpreadsheetSkeleton } from './sheet.render-skeleton';
6
6
  import { SpreadsheetHeader } from './sheet-component';
7
7
  export declare class SpreadsheetRowHeader extends SpreadsheetHeader {
8
8
  getDocuments(): void;
@@ -2,7 +2,7 @@ import { IRange, Nullable } from '@univerjs/core';
2
2
  import { IViewportInfo, Vector2 } from '../../basics/vector2';
3
3
  import { UniverRenderingContext } from '../../context';
4
4
  import { SHEET_EXTENSION_TYPE } from './extensions/sheet-extension';
5
- import { SpreadsheetSkeleton } from './sheet-skeleton';
5
+ import { SpreadsheetSkeleton } from './sheet.render-skeleton';
6
6
  import { RenderComponent } from '../component';
7
7
  export declare abstract class SheetComponent extends RenderComponent<SpreadsheetSkeleton, SHEET_EXTENSION_TYPE, IRange[]> {
8
8
  private _skeleton?;