@univerjs/engine-render 0.1.0-alpha.1 → 0.1.0-alpha.2

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 (227) hide show
  1. package/LICENSE.txt +178 -0
  2. package/lib/cjs/index.js +73 -23962
  3. package/lib/es/index.js +13690 -0
  4. package/lib/types/base-object.d.ts +15 -1
  5. package/lib/types/basics/cell-data.d.ts +15 -1
  6. package/lib/types/basics/const.d.ts +15 -1
  7. package/lib/types/basics/document-node-tools.d.ts +15 -1
  8. package/lib/types/basics/draw.d.ts +15 -1
  9. package/lib/types/basics/font-cache.d.ts +15 -1
  10. package/lib/types/basics/i-document-skeleton-cached.d.ts +17 -3
  11. package/lib/types/basics/i-events.d.ts +17 -6
  12. package/lib/types/basics/index.d.ts +15 -1
  13. package/lib/types/basics/interfaces.d.ts +15 -1
  14. package/lib/types/basics/path2.d.ts +15 -1
  15. package/lib/types/basics/performance-monitor.d.ts +15 -1
  16. package/lib/types/basics/position.d.ts +15 -1
  17. package/lib/types/basics/quick-event.d.ts +15 -1
  18. package/lib/types/basics/range.d.ts +15 -1
  19. package/lib/types/basics/scroll-xy.d.ts +15 -1
  20. package/lib/types/basics/tools.d.ts +18 -5
  21. package/lib/types/basics/transform.d.ts +15 -1
  22. package/lib/types/basics/unit-convert.d.ts +15 -1
  23. package/lib/types/basics/vector2.d.ts +15 -1
  24. package/lib/types/canvas.d.ts +15 -1
  25. package/lib/types/components/component.d.ts +15 -1
  26. package/lib/types/components/docs/block/block-error.d.ts +15 -1
  27. package/lib/types/components/docs/block/index.d.ts +15 -1
  28. package/lib/types/components/docs/block/paragraph/bullet-ruler.d.ts +15 -1
  29. package/lib/types/components/docs/block/paragraph/bullet.d.ts +15 -1
  30. package/lib/types/components/docs/block/paragraph/index.d.ts +15 -1
  31. package/lib/types/components/docs/block/paragraph/inline-drawing.d.ts +15 -1
  32. package/lib/types/components/docs/block/paragraph/language-ruler.d.ts +17 -3
  33. package/lib/types/components/docs/block/paragraph/layout-ruler.d.ts +15 -1
  34. package/lib/types/components/docs/block/paragraph/paragraph.d.ts +15 -1
  35. package/lib/types/components/docs/block/section.d.ts +15 -1
  36. package/lib/types/components/docs/common/column.d.ts +15 -1
  37. package/lib/types/components/docs/common/convert-cursor.d.ts +17 -3
  38. package/lib/types/components/docs/common/index.d.ts +15 -1
  39. package/lib/types/components/docs/common/line.d.ts +16 -2
  40. package/lib/types/components/docs/common/liquid.d.ts +15 -1
  41. package/lib/types/components/docs/common/page.d.ts +15 -1
  42. package/lib/types/components/docs/common/range.d.ts +15 -1
  43. package/lib/types/components/docs/common/section.d.ts +15 -1
  44. package/lib/types/components/docs/common/span.d.ts +17 -1
  45. package/lib/types/components/docs/common/tools.d.ts +15 -2
  46. package/lib/types/components/docs/doc-component.d.ts +15 -1
  47. package/lib/types/components/docs/doc-extension.d.ts +15 -1
  48. package/lib/types/components/docs/doc-skeleton.d.ts +16 -2
  49. package/lib/types/components/docs/document.d.ts +15 -3
  50. package/lib/types/components/docs/extensions/background.d.ts +15 -1
  51. package/lib/types/components/docs/extensions/border.d.ts +15 -1
  52. package/lib/types/components/docs/extensions/font-and-base-line.d.ts +16 -1
  53. package/lib/types/components/docs/extensions/index.d.ts +15 -1
  54. package/lib/types/components/docs/extensions/line.d.ts +16 -1
  55. package/lib/types/components/docs/horizon-bar.d.ts +15 -1
  56. package/lib/types/components/docs/index.d.ts +15 -1
  57. package/lib/types/components/docs/text-selection-render-manager.d.ts +15 -1
  58. package/lib/types/components/docs/vertical-bar.d.ts +15 -1
  59. package/lib/types/components/docs/view-model/data-stream-tree-node.d.ts +15 -1
  60. package/lib/types/components/docs/view-model/document-view-model.d.ts +15 -1
  61. package/lib/types/components/extension.d.ts +15 -1
  62. package/lib/types/components/index.d.ts +15 -1
  63. package/lib/types/components/sheets/column-header.d.ts +15 -1
  64. package/lib/types/components/sheets/extensions/background.d.ts +15 -1
  65. package/lib/types/components/sheets/extensions/border-auxiliary.d.ts +15 -1
  66. package/lib/types/components/sheets/extensions/border.d.ts +15 -1
  67. package/lib/types/components/sheets/extensions/column-header-layout.d.ts +15 -1
  68. package/lib/types/components/sheets/extensions/font.d.ts +15 -1
  69. package/lib/types/components/sheets/extensions/index.d.ts +15 -1
  70. package/lib/types/components/sheets/extensions/row-header-layout.d.ts +15 -1
  71. package/lib/types/components/sheets/extensions/sheet-extension.d.ts +15 -1
  72. package/lib/types/components/sheets/index.d.ts +15 -1
  73. package/lib/types/components/sheets/interfaces.d.ts +15 -1
  74. package/lib/types/components/sheets/row-header.d.ts +15 -1
  75. package/lib/types/components/sheets/sheet-component.d.ts +15 -1
  76. package/lib/types/components/sheets/sheet-skeleton.d.ts +15 -1
  77. package/lib/types/components/sheets/spreadsheet.d.ts +15 -1
  78. package/lib/types/components/skeleton.d.ts +15 -1
  79. package/lib/types/components/slides/index.d.ts +15 -1
  80. package/lib/types/components/slides/slide.d.ts +15 -1
  81. package/lib/types/custom/custom-object.d.ts +15 -1
  82. package/lib/types/custom/index.d.ts +15 -1
  83. package/lib/types/engine.d.ts +15 -1
  84. package/lib/types/group.d.ts +15 -1
  85. package/lib/types/index.d.ts +16 -2
  86. package/lib/types/layer.d.ts +15 -1
  87. package/lib/types/render-engine.d.ts +16 -2
  88. package/lib/types/render-manager.service.d.ts +15 -1
  89. package/lib/types/scene-viewer.d.ts +15 -1
  90. package/lib/types/scene.-transformer.d.ts +15 -1
  91. package/lib/types/scene.d.ts +15 -1
  92. package/lib/types/scene.input-manager.d.ts +19 -2
  93. package/lib/types/scroll-timer.d.ts +15 -1
  94. package/lib/types/services/object-transform-manager.service.d.ts +15 -1
  95. package/lib/types/shape/base-scroll-bar.d.ts +15 -1
  96. package/lib/types/shape/circle.d.ts +15 -1
  97. package/lib/types/shape/control.d.ts +15 -1
  98. package/lib/types/shape/drawing.d.ts +15 -1
  99. package/lib/types/shape/index.d.ts +15 -1
  100. package/lib/types/shape/path.d.ts +15 -1
  101. package/lib/types/shape/picture.d.ts +15 -1
  102. package/lib/types/shape/rect.d.ts +15 -1
  103. package/lib/types/shape/regular-polygon.d.ts +15 -1
  104. package/lib/types/shape/rich-text.d.ts +15 -1
  105. package/lib/types/shape/scroll-bar.d.ts +15 -1
  106. package/lib/types/shape/selection.d.ts +15 -1
  107. package/lib/types/shape/shape.d.ts +15 -1
  108. package/lib/types/thin-engine.d.ts +15 -1
  109. package/lib/types/thin-scene.d.ts +15 -1
  110. package/lib/types/viewport.d.ts +15 -1
  111. package/lib/umd/index.js +73 -0
  112. package/package.json +21 -14
  113. package/LICENSE +0 -21
  114. package/lib/esm/index.js +0 -23259
  115. package/lib/types/base-object.d.ts.map +0 -1
  116. package/lib/types/basics/cell-data.d.ts.map +0 -1
  117. package/lib/types/basics/const.d.ts.map +0 -1
  118. package/lib/types/basics/document-node-tools.d.ts.map +0 -1
  119. package/lib/types/basics/draw.d.ts.map +0 -1
  120. package/lib/types/basics/font-cache.d.ts.map +0 -1
  121. package/lib/types/basics/i-document-skeleton-cached.d.ts.map +0 -1
  122. package/lib/types/basics/i-events.d.ts.map +0 -1
  123. package/lib/types/basics/index.d.ts.map +0 -1
  124. package/lib/types/basics/interfaces.d.ts.map +0 -1
  125. package/lib/types/basics/path2.d.ts.map +0 -1
  126. package/lib/types/basics/performance-monitor.d.ts.map +0 -1
  127. package/lib/types/basics/position.d.ts.map +0 -1
  128. package/lib/types/basics/quick-event.d.ts.map +0 -1
  129. package/lib/types/basics/range.d.ts.map +0 -1
  130. package/lib/types/basics/scroll-xy.d.ts.map +0 -1
  131. package/lib/types/basics/tools.d.ts.map +0 -1
  132. package/lib/types/basics/transform.d.ts.map +0 -1
  133. package/lib/types/basics/unit-convert.d.ts.map +0 -1
  134. package/lib/types/basics/vector2.d.ts.map +0 -1
  135. package/lib/types/canvas.d.ts.map +0 -1
  136. package/lib/types/components/component.d.ts.map +0 -1
  137. package/lib/types/components/docs/block/block-error.d.ts.map +0 -1
  138. package/lib/types/components/docs/block/index.d.ts.map +0 -1
  139. package/lib/types/components/docs/block/paragraph/bullet-ruler.d.ts.map +0 -1
  140. package/lib/types/components/docs/block/paragraph/bullet.d.ts.map +0 -1
  141. package/lib/types/components/docs/block/paragraph/index.d.ts.map +0 -1
  142. package/lib/types/components/docs/block/paragraph/inline-drawing.d.ts.map +0 -1
  143. package/lib/types/components/docs/block/paragraph/language-ruler.d.ts.map +0 -1
  144. package/lib/types/components/docs/block/paragraph/layout-ruler.d.ts.map +0 -1
  145. package/lib/types/components/docs/block/paragraph/paragraph.d.ts.map +0 -1
  146. package/lib/types/components/docs/block/section.d.ts.map +0 -1
  147. package/lib/types/components/docs/block/table/table-cell.d.ts +0 -1
  148. package/lib/types/components/docs/block/table/table-cell.d.ts.map +0 -1
  149. package/lib/types/components/docs/block/table/table-row.d.ts +0 -1
  150. package/lib/types/components/docs/block/table/table-row.d.ts.map +0 -1
  151. package/lib/types/components/docs/block/table/table.d.ts +0 -1
  152. package/lib/types/components/docs/block/table/table.d.ts.map +0 -1
  153. package/lib/types/components/docs/common/column.d.ts.map +0 -1
  154. package/lib/types/components/docs/common/convert-cursor.d.ts.map +0 -1
  155. package/lib/types/components/docs/common/index.d.ts.map +0 -1
  156. package/lib/types/components/docs/common/line.d.ts.map +0 -1
  157. package/lib/types/components/docs/common/liquid.d.ts.map +0 -1
  158. package/lib/types/components/docs/common/page.d.ts.map +0 -1
  159. package/lib/types/components/docs/common/range.d.ts.map +0 -1
  160. package/lib/types/components/docs/common/section.d.ts.map +0 -1
  161. package/lib/types/components/docs/common/span.d.ts.map +0 -1
  162. package/lib/types/components/docs/common/tools.d.ts.map +0 -1
  163. package/lib/types/components/docs/doc-component.d.ts.map +0 -1
  164. package/lib/types/components/docs/doc-extension.d.ts.map +0 -1
  165. package/lib/types/components/docs/doc-skeleton.d.ts.map +0 -1
  166. package/lib/types/components/docs/document.d.ts.map +0 -1
  167. package/lib/types/components/docs/extensions/background.d.ts.map +0 -1
  168. package/lib/types/components/docs/extensions/border.d.ts.map +0 -1
  169. package/lib/types/components/docs/extensions/font-and-base-line.d.ts.map +0 -1
  170. package/lib/types/components/docs/extensions/index.d.ts.map +0 -1
  171. package/lib/types/components/docs/extensions/line.d.ts.map +0 -1
  172. package/lib/types/components/docs/horizon-bar.d.ts.map +0 -1
  173. package/lib/types/components/docs/index.d.ts.map +0 -1
  174. package/lib/types/components/docs/text-selection-render-manager.d.ts.map +0 -1
  175. package/lib/types/components/docs/vertical-bar.d.ts.map +0 -1
  176. package/lib/types/components/docs/view-model/data-stream-tree-node.d.ts.map +0 -1
  177. package/lib/types/components/docs/view-model/document-view-model.d.ts.map +0 -1
  178. package/lib/types/components/extension.d.ts.map +0 -1
  179. package/lib/types/components/index.d.ts.map +0 -1
  180. package/lib/types/components/sheets/column-header.d.ts.map +0 -1
  181. package/lib/types/components/sheets/extensions/background.d.ts.map +0 -1
  182. package/lib/types/components/sheets/extensions/border-auxiliary.d.ts.map +0 -1
  183. package/lib/types/components/sheets/extensions/border.d.ts.map +0 -1
  184. package/lib/types/components/sheets/extensions/column-header-layout.d.ts.map +0 -1
  185. package/lib/types/components/sheets/extensions/font.d.ts.map +0 -1
  186. package/lib/types/components/sheets/extensions/index.d.ts.map +0 -1
  187. package/lib/types/components/sheets/extensions/row-header-layout.d.ts.map +0 -1
  188. package/lib/types/components/sheets/extensions/sheet-extension.d.ts.map +0 -1
  189. package/lib/types/components/sheets/index.d.ts.map +0 -1
  190. package/lib/types/components/sheets/interfaces.d.ts.map +0 -1
  191. package/lib/types/components/sheets/row-header.d.ts.map +0 -1
  192. package/lib/types/components/sheets/sheet-component.d.ts.map +0 -1
  193. package/lib/types/components/sheets/sheet-skeleton.d.ts.map +0 -1
  194. package/lib/types/components/sheets/spreadsheet.d.ts.map +0 -1
  195. package/lib/types/components/skeleton.d.ts.map +0 -1
  196. package/lib/types/components/slides/index.d.ts.map +0 -1
  197. package/lib/types/components/slides/slide.d.ts.map +0 -1
  198. package/lib/types/custom/custom-object.d.ts.map +0 -1
  199. package/lib/types/custom/index.d.ts.map +0 -1
  200. package/lib/types/engine.d.ts.map +0 -1
  201. package/lib/types/group.d.ts.map +0 -1
  202. package/lib/types/index.d.ts.map +0 -1
  203. package/lib/types/layer.d.ts.map +0 -1
  204. package/lib/types/render-engine.d.ts.map +0 -1
  205. package/lib/types/render-manager.service.d.ts.map +0 -1
  206. package/lib/types/scene-viewer.d.ts.map +0 -1
  207. package/lib/types/scene.-transformer.d.ts.map +0 -1
  208. package/lib/types/scene.d.ts.map +0 -1
  209. package/lib/types/scene.input-manager.d.ts.map +0 -1
  210. package/lib/types/scroll-timer.d.ts.map +0 -1
  211. package/lib/types/services/object-transform-manager.service.d.ts.map +0 -1
  212. package/lib/types/shape/base-scroll-bar.d.ts.map +0 -1
  213. package/lib/types/shape/circle.d.ts.map +0 -1
  214. package/lib/types/shape/control.d.ts.map +0 -1
  215. package/lib/types/shape/drawing.d.ts.map +0 -1
  216. package/lib/types/shape/index.d.ts.map +0 -1
  217. package/lib/types/shape/path.d.ts.map +0 -1
  218. package/lib/types/shape/picture.d.ts.map +0 -1
  219. package/lib/types/shape/rect.d.ts.map +0 -1
  220. package/lib/types/shape/regular-polygon.d.ts.map +0 -1
  221. package/lib/types/shape/rich-text.d.ts.map +0 -1
  222. package/lib/types/shape/scroll-bar.d.ts.map +0 -1
  223. package/lib/types/shape/selection.d.ts.map +0 -1
  224. package/lib/types/shape/shape.d.ts.map +0 -1
  225. package/lib/types/thin-engine.d.ts.map +0 -1
  226. package/lib/types/thin-scene.d.ts.map +0 -1
  227. package/lib/types/viewport.d.ts.map +0 -1
@@ -1,7 +1,21 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './bullet';
2
17
  export * from './bullet-ruler';
3
18
  export * from './inline-drawing';
4
19
  export * from './language-ruler';
5
20
  export * from './layout-ruler';
6
21
  export * from './paragraph';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,19 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDrawing, LocaleService } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonPage } from '../../../../basics/i-document-skeleton-cached';
3
18
  import type { IParagraphConfig, ISectionBreakConfig } from '../../../../basics/interfaces';
4
19
  export declare function dealWidthInlineDrawing(drawing: IDrawing, sectionBreakConfig: ISectionBreakConfig, allPages?: IDocumentSkeletonPage[], paragraphConfig?: IParagraphConfig, localeService?: LocaleService): never[];
5
- //# sourceMappingURL=inline-drawing.d.ts.map
@@ -1,12 +1,26 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IParagraphStyle, Nullable } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonSpan } from '../../../../basics/i-document-skeleton-cached';
3
18
  import type { ISectionBreakConfig } from '../../../../basics/interfaces';
4
19
  import type { DataStreamTreeNode } from '../../view-model/data-stream-tree-node';
5
20
  import type { DocumentViewModel } from '../../view-model/document-view-model';
6
- interface LanguageResult {
21
+ interface ILanguageResult {
7
22
  charIndex: number;
8
23
  spanGroup: IDocumentSkeletonSpan[];
9
24
  }
10
- export declare function composeCharForLanguage(char: string, index: number, charArray: string, bodyModel: DocumentViewModel, paragraphNode: DataStreamTreeNode, sectionBreakConfig: ISectionBreakConfig, paragraphStyle: IParagraphStyle): Nullable<LanguageResult>;
25
+ export declare function composeCharForLanguage(char: string, index: number, charArray: string, bodyModel: DocumentViewModel, paragraphNode: DataStreamTreeNode, sectionBreakConfig: ISectionBreakConfig, paragraphStyle: IParagraphStyle): Nullable<ILanguageResult>;
11
26
  export {};
12
- //# sourceMappingURL=language-ruler.d.ts.map
@@ -1,4 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonPage, IDocumentSkeletonSpan } from '../../../../basics/i-document-skeleton-cached';
2
17
  import type { IParagraphConfig, ISectionBreakConfig } from '../../../../basics/interfaces';
3
18
  export declare function calculateParagraphLayout(spanGroup: IDocumentSkeletonSpan[], pages: IDocumentSkeletonPage[], sectionBreakConfig: ISectionBreakConfig, paragraphConfig: IParagraphConfig, paragraphStart?: boolean): IDocumentSkeletonPage[];
4
- //# sourceMappingURL=layout-ruler.d.ts.map
@@ -1,6 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonPage, ISkeletonResourceReference } from '../../../../basics/i-document-skeleton-cached';
2
17
  import type { ISectionBreakConfig } from '../../../../basics/interfaces';
3
18
  import type { DataStreamTreeNode } from '../../view-model/data-stream-tree-node';
4
19
  import type { DocumentViewModel } from '../../view-model/document-view-model';
5
20
  export declare function dealWidthParagraph(bodyModel: DocumentViewModel, paragraphNode: DataStreamTreeNode, curPage: IDocumentSkeletonPage, sectionBreakConfig: ISectionBreakConfig, skeletonResourceReference: ISkeletonResourceReference): IDocumentSkeletonPage[];
6
- //# sourceMappingURL=paragraph.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonPage, ISkeletonResourceReference } from '../../../basics/i-document-skeleton-cached';
2
17
  import type { ISectionBreakConfig } from '../../../basics/interfaces';
3
18
  import type { DataStreamTreeNode } from '../view-model/data-stream-tree-node';
@@ -7,4 +22,3 @@ export declare function dealWithSections(bodyModel: DocumentViewModel, sectionNo
7
22
  renderedBlockIdMap: Map<string, boolean>;
8
23
  };
9
24
  export declare function dealWidthBlocksByMultiColumnAndContinuous(): void;
10
- //# sourceMappingURL=section.d.ts.map
@@ -1,5 +1,19 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { ISectionColumnProperties } from '@univerjs/core';
2
17
  import { ColumnSeparatorType } from '@univerjs/core';
3
18
  import type { IDocumentSkeletonColumn } from '../../../basics/i-document-skeleton-cached';
4
19
  export declare function createSkeletonColumn(columnIndex: number | undefined, columnProperties: ISectionColumnProperties[], columnSeparatorType?: ColumnSeparatorType, pageWidth?: number): IDocumentSkeletonColumn;
5
- //# sourceMappingURL=column.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { ITextRange, Nullable } from '@univerjs/core';
2
17
  import type { INodePosition } from '../../../basics/interfaces';
3
18
  import type { IPoint } from '../../../basics/vector2';
@@ -39,12 +54,12 @@ export declare function compareNodePosition(pos1: INodePosition, pos2: INodePosi
39
54
  };
40
55
  export declare function getOneTextSelectionRange(rangeList: ITextRange[]): Nullable<ITextRange>;
41
56
  export declare class NodePositionConvertToCursor {
42
- private _liquid;
43
57
  private _documentOffsetConfig;
44
58
  private _docSkeleton;
59
+ private _liquid;
45
60
  private _currentStartState;
46
61
  private _currentEndState;
47
- constructor(documentOffsetConfig: IDocumentOffsetConfig, docSkeleton: DocumentSkeleton);
62
+ constructor(_documentOffsetConfig: IDocumentOffsetConfig, _docSkeleton: DocumentSkeleton);
48
63
  getRangePointData(startOrigin: Nullable<INodePosition>, endOrigin: Nullable<INodePosition>): {
49
64
  borderBoxPointGroup: IPoint[][];
50
65
  contentBoxPointGroup: IPoint[][];
@@ -57,4 +72,3 @@ export declare class NodePositionConvertToCursor {
57
72
  private _pushToPoints;
58
73
  private _selectionIterator;
59
74
  }
60
- //# sourceMappingURL=convert-cursor.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './column';
2
17
  export * from './convert-cursor';
3
18
  export * from './line';
@@ -7,4 +22,3 @@ export * from './range';
7
22
  export * from './section';
8
23
  export * from './span';
9
24
  export * from './tools';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1,14 +1,29 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonDivide, IDocumentSkeletonDrawing, IDocumentSkeletonDrawingAnchor, IDocumentSkeletonLine, LineType } from '../../../basics/i-document-skeleton-cached';
2
17
  interface ILineBoundingBox {
3
18
  lineHeight: number;
4
19
  lineTop: number;
20
+ contentHeight: number;
5
21
  paddingLeft?: number;
6
22
  paddingRight?: number;
7
23
  paddingTop?: number;
8
24
  paddingBottom?: number;
9
25
  marginTop?: number;
10
26
  spaceBelowApply?: number;
11
- contentHeight: number;
12
27
  }
13
28
  export declare function createSkeletonLine(paragraphIndex: number, lineType: LineType, lineBoundingBox: ILineBoundingBox, columnWidth: number, lineIndex?: number, isParagraphStart?: boolean, affectSkeDrawings?: Map<string, IDocumentSkeletonDrawing>, headersDrawings?: Map<string, IDocumentSkeletonDrawing>, footersDrawings?: Map<string, IDocumentSkeletonDrawing>): IDocumentSkeletonLine;
14
29
  export declare function calculateLineTopByDrawings(lineHeight?: number, lineTop?: number, pageSkeDrawings?: Map<string, IDocumentSkeletonDrawing>, headersDrawings?: Map<string, IDocumentSkeletonDrawing>, footersDrawings?: Map<string, IDocumentSkeletonDrawing>): number;
@@ -17,4 +32,3 @@ export declare function setLineMarginBottom(line: IDocumentSkeletonLine, marginB
17
32
  export declare function updateDivideInLine(line: IDocumentSkeletonLine): void;
18
33
  export declare function createAndUpdateBlockAnchor(paragraphIndex: number, line: IDocumentSkeletonLine, top: number, drawingAnchor?: Map<number, IDocumentSkeletonDrawingAnchor>): void;
19
34
  export {};
20
- //# sourceMappingURL=line.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonColumn, IDocumentSkeletonDivide, IDocumentSkeletonLine, IDocumentSkeletonPage, IDocumentSkeletonSection, IDocumentSkeletonSpan } from '../../../basics/i-document-skeleton-cached';
2
17
  import { PageLayoutType } from '../../../basics/i-document-skeleton-cached';
3
18
  export declare class Liquid {
@@ -38,4 +53,3 @@ export declare class Liquid {
38
53
  y: number;
39
54
  };
40
55
  }
41
- //# sourceMappingURL=liquid.d.ts.map
@@ -1,5 +1,19 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonPage, ISkeletonResourceReference } from '../../../basics/i-document-skeleton-cached';
2
17
  import { BreakType } from '../../../basics/i-document-skeleton-cached';
3
18
  import type { ISectionBreakConfig } from '../../../basics/interfaces';
4
19
  export declare function createSkeletonPage(sectionBreakConfig: ISectionBreakConfig, skeletonResourceReference: ISkeletonResourceReference, pageNumber?: number, breakType?: BreakType): IDocumentSkeletonPage;
5
- //# sourceMappingURL=page.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { Nullable } from '@univerjs/core';
2
17
  import type { INodePosition } from '../../../basics/interfaces';
3
18
  import type { ITextRangeWithStyle, ITextSelectionStyle } from '../../../basics/range';
@@ -42,4 +57,3 @@ export declare class TextRange {
42
57
  private _createOrUpdateAnchor;
43
58
  private _setCursorList;
44
59
  }
45
- //# sourceMappingURL=range.d.ts.map
@@ -1,6 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { ISectionColumnProperties } from '@univerjs/core';
2
17
  import { ColumnSeparatorType } from '@univerjs/core';
3
18
  import type { IDocumentSkeletonColumn, IDocumentSkeletonSection } from '../../../basics/i-document-skeleton-cached';
4
19
  export declare function createSkeletonSection(columnProperties?: ISectionColumnProperties[], columnSeparatorType?: ColumnSeparatorType, top?: number, left?: number, sectionWidth?: number, sectionHeight?: number): IDocumentSkeletonSection;
5
20
  export declare function setColumnFullState(column: IDocumentSkeletonColumn, state: boolean): void;
6
- //# sourceMappingURL=section.d.ts.map
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { Nullable } from '@univerjs/core';
1
17
  import type { IDocumentSkeletonBullet, IDocumentSkeletonDivide, IDocumentSkeletonSpan } from '../../../basics/i-document-skeleton-cached';
2
18
  import { SpanType } from '../../../basics/i-document-skeleton-cached';
3
19
  import type { IFontCreateConfig } from '../../../basics/interfaces';
@@ -9,4 +25,4 @@ export declare function createSkeletonBulletSpan(span: IDocumentSkeletonSpan, bu
9
25
  export declare function setSpanGroupLeft(spanGroup: IDocumentSkeletonSpan[], left?: number): void;
10
26
  export declare function setSpanLeft(span: IDocumentSkeletonSpan, left?: number): void;
11
27
  export declare function addSpanToDivide(divide: IDocumentSkeletonDivide, spanGroup: IDocumentSkeletonSpan[], offsetLeft?: number): void;
12
- //# sourceMappingURL=span.d.ts.map
28
+ export declare function hasMixedTextLayout(preSpan: Nullable<IDocumentSkeletonSpan>, span: IDocumentSkeletonSpan): boolean;
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { INumberUnit, IParagraphStyle, ITextStyle, ObjectPositionH, ObjectPositionV } from '@univerjs/core';
2
17
  import { BooleanNumber, GridType, SpacingRule } from '@univerjs/core';
3
18
  import type { IDocumentSkeletonColumn, IDocumentSkeletonDivide, IDocumentSkeletonLine, IDocumentSkeletonPage, IDocumentSkeletonSpan } from '../../../basics/i-document-skeleton-cached';
@@ -53,7 +68,6 @@ export declare function lineIterator(pages: IDocumentSkeletonPage[], iteratorFun
53
68
  export declare function columnIterator(pages: IDocumentSkeletonPage[], iteratorFunction: (column: IDocumentSkeletonColumn) => void): void;
54
69
  export declare function getPositionHorizon(positionH: ObjectPositionH, column: IDocumentSkeletonColumn, page: IDocumentSkeletonPage, objectWidth: number, isPageBreak?: boolean): number | undefined;
55
70
  export declare function getPositionVertical(positionV: ObjectPositionV, page: IDocumentSkeletonPage, lineTop: number, lineHeight: number, objectHeight: number, blockAnchorTop?: number, isPageBreak?: boolean): number | undefined;
56
- export declare function getPositionHorizonBySpan(positionH: ObjectPositionH, span: IDocumentSkeletonSpan): void;
57
71
  export declare function getSpanGroupWidth(divide: IDocumentSkeletonDivide): number;
58
72
  interface IFontCreateConfig {
59
73
  fontStyle: {
@@ -70,4 +84,3 @@ interface IFontCreateConfig {
70
84
  export declare function clearFontCreateConfigCache(): void;
71
85
  export declare function getFontCreateConfig(index: number, bodyModel: DocumentViewModel, paragraphNode: DataStreamTreeNode, sectionBreakConfig: ISectionBreakConfig, paragraphStyle: IParagraphStyle): IFontCreateConfig;
72
86
  export {};
73
- //# sourceMappingURL=tools.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { Nullable } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonLine, IDocumentSkeletonSpan } from '../../basics/i-document-skeleton-cached';
3
18
  import { PageLayoutType } from '../../basics/i-document-skeleton-cached';
@@ -31,4 +46,3 @@ export declare class DocComponent extends RenderComponent<IDocumentSkeletonSpan
31
46
  protected _getBounding(bounds?: IBoundRect): void;
32
47
  protected _draw(ctx: CanvasRenderingContext2D, bounds?: IBoundRect): void;
33
48
  }
34
- //# sourceMappingURL=doc-component.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentSkeletonLine, IDocumentSkeletonSpan } from '../../basics/i-document-skeleton-cached';
2
17
  import { ComponentExtension } from '../extension';
3
18
  export declare enum DOCS_EXTENSION_TYPE {
@@ -9,4 +24,3 @@ export declare class docExtension extends ComponentExtension<IDocumentSkeletonSp
9
24
  translateX: number;
10
25
  translateY: number;
11
26
  }
12
- //# sourceMappingURL=doc-extension.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { LocaleService, Nullable } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonCached, IDocumentSkeletonSpan } from '../../basics/i-document-skeleton-cached';
3
18
  import { PageLayoutType } from '../../basics/i-document-skeleton-cached';
@@ -16,7 +31,7 @@ export declare class DocumentSkeleton extends Skeleton {
16
31
  private _skeletonData;
17
32
  private _renderedBlockIdMap;
18
33
  private _findLiquid;
19
- constructor(docViewModel: DocumentViewModel, localeService: LocaleService);
34
+ constructor(_docViewModel: DocumentViewModel, localeService: LocaleService);
20
35
  static create(docViewModel: DocumentViewModel, localeService: LocaleService): DocumentSkeleton;
21
36
  getViewModel(): DocumentViewModel;
22
37
  calculate(bounds?: IBoundRect): void;
@@ -68,4 +83,3 @@ export declare class DocumentSkeleton extends Skeleton {
68
83
  private _getNullSke;
69
84
  private _findNodeIterator;
70
85
  }
71
- //# sourceMappingURL=doc-skeleton.d.ts.map
@@ -1,4 +1,18 @@
1
- import './extensions';
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
2
16
  import type { Nullable } from '@univerjs/core';
3
17
  import { Observable } from '@univerjs/core';
4
18
  import type { IDocumentSkeletonPage } from '../../basics/i-document-skeleton-cached';
@@ -29,7 +43,6 @@ export interface IDocumentOffsetConfig extends IPageMarginLayout {
29
43
  documentTransform: Transform;
30
44
  }
31
45
  export declare class Documents extends DocComponent {
32
- isCalculateSkeleton: boolean;
33
46
  onPageRenderObservable: Observable<IPageRenderConfig>;
34
47
  docsLeft: number;
35
48
  docsTop: number;
@@ -51,4 +64,3 @@ export declare class Documents extends DocComponent {
51
64
  private _initialDefaultExtension;
52
65
  }
53
66
  export {};
54
- //# sourceMappingURL=document.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IScale } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonSpan } from '../../../basics/i-document-skeleton-cached';
3
18
  import { docExtension } from '../doc-extension';
@@ -8,4 +23,3 @@ export declare class Background extends docExtension {
8
23
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, span: IDocumentSkeletonSpan): void;
9
24
  clearCache(): void;
10
25
  }
11
- //# sourceMappingURL=background.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IScale } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonSpan } from '../../../basics/i-document-skeleton-cached';
3
18
  import { docExtension } from '../doc-extension';
@@ -10,4 +25,3 @@ export declare class Border extends docExtension {
10
25
  clearCache(): void;
11
26
  private _createBorderCache;
12
27
  }
13
- //# sourceMappingURL=border.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IScale } from '@univerjs/core';
2
17
  import type { IDocumentSkeletonSpan } from '../../../basics/i-document-skeleton-cached';
3
18
  import { docExtension } from '../doc-extension';
@@ -7,6 +22,6 @@ export declare class FontAndBaseLine extends docExtension {
7
22
  private _preFontString;
8
23
  private _preFontColor;
9
24
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, span: IDocumentSkeletonSpan): void;
25
+ private _fillText;
10
26
  clearCache(): void;
11
27
  }
12
- //# sourceMappingURL=font-and-base-line.d.ts.map
@@ -1,5 +1,19 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './background';
2
17
  export * from './border';
3
18
  export * from './font-and-base-line';
4
19
  export * from './line';
5
- //# sourceMappingURL=index.d.ts.map