@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,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,7 +22,7 @@ export declare class Line extends docExtension {
7
22
  private _preBackgroundColor;
8
23
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, span: IDocumentSkeletonSpan): void;
9
24
  clearCache(): void;
25
+ private _drawLine;
10
26
  private _setLineType;
11
27
  private _getLineWidth;
12
28
  }
13
- //# sourceMappingURL=line.d.ts.map
@@ -1,3 +1,17 @@
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 declare class DocumentHorizonBar {
2
17
  }
3
- //# sourceMappingURL=horizon-bar.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 './block';
2
17
  export * from './common';
3
18
  export * from './doc-skeleton';
@@ -5,4 +20,3 @@ export * from './document';
5
20
  export * from './horizon-bar';
6
21
  export * from './text-selection-render-manager';
7
22
  export * from './vertical-bar';
8
- //# sourceMappingURL=index.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 { RxDisposable } from '@univerjs/core';
3
18
  import type { Observable } from 'rxjs';
@@ -153,4 +168,3 @@ export declare class TextSelectionRenderManager extends RxDisposable implements
153
168
  }
154
169
  export declare const ITextSelectionRenderManager: import("@wendellhu/redi").IdentifierDecorator<TextSelectionRenderManager>;
155
170
  export {};
156
- //# sourceMappingURL=text-selection-render-manager.d.ts.map
@@ -1,3 +1,17 @@
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 declare class DocumentVerticalBar {
2
17
  }
3
- //# sourceMappingURL=vertical-bar.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 { DataStreamTreeNodeType } from '@univerjs/core';
3
18
  export declare class DataStreamTreeNode {
@@ -36,4 +51,3 @@ export declare class DataStreamTreeNode {
36
51
  private _addIndexForBlock;
37
52
  private _resetBlocks;
38
53
  }
39
- //# sourceMappingURL=data-stream-tree-node.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 { IDocumentBody, ITextRun } from '@univerjs/core';
2
17
  import { DocumentDataModel } from '@univerjs/core';
3
18
  import type { IDisposable } from '@wendellhu/redi';
@@ -48,4 +63,3 @@ export declare class DocumentViewModel implements IDisposable {
48
63
  private _getNextNode;
49
64
  private _insertParagraph;
50
65
  }
51
- //# sourceMappingURL=document-view-model.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 { IDocumentRenderConfig, IScale, Nullable } from '@univerjs/core';
2
17
  import { Registry } from '@univerjs/core';
3
18
  import type { BaseObject } from '../base-object';
@@ -26,4 +41,3 @@ export declare const SpreadsheetExtensionRegistry: Registry;
26
41
  export declare const SheetRowHeaderExtensionRegistry: Registry;
27
42
  export declare const SheetColumnHeaderExtensionRegistry: Registry;
28
43
  export declare const DocumentsSpanAndLineExtensionRegistry: Registry;
29
- //# sourceMappingURL=extension.d.ts.map
@@ -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 './component';
2
17
  export * from './docs';
3
18
  export * from './extension';
4
19
  export * from './sheets';
5
20
  export * from './skeleton';
6
21
  export * from './slides';
7
- //# sourceMappingURL=index.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 { IBoundRect, Vector2 } from '../../basics/vector2';
2
17
  import type { ColumnHeaderLayout } from './extensions/column-header-layout';
3
18
  import { SpreadsheetHeader } from './sheet-component';
@@ -10,4 +25,3 @@ export declare class SpreadsheetColumnHeader extends SpreadsheetHeader {
10
25
  isHit(coord: Vector2): boolean;
11
26
  private _initialDefaultExtension;
12
27
  }
13
- //# sourceMappingURL=column-header.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 { SpreadsheetSkeleton } from '../sheet-skeleton';
3
18
  import { SheetExtension } from './sheet-extension';
@@ -6,4 +21,3 @@ export declare class Background extends SheetExtension {
6
21
  zIndex: number;
7
22
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, spreadsheetSkeleton: SpreadsheetSkeleton): void;
8
23
  }
9
- //# 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 { SpreadsheetSkeleton } from '../sheet-skeleton';
3
18
  import { SheetExtension } from './sheet-extension';
@@ -10,4 +25,3 @@ export declare class BorderAuxiliary extends SheetExtension {
10
25
  */
11
26
  private _clearRectangle;
12
27
  }
13
- //# sourceMappingURL=border-auxiliary.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 { SpreadsheetSkeleton } from '../sheet-skeleton';
3
18
  import { SheetExtension } from './sheet-extension';
@@ -7,4 +22,3 @@ export declare class Border extends SheetExtension {
7
22
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, spreadsheetSkeleton: SpreadsheetSkeleton): void;
8
23
  private _getOverflowExclusion;
9
24
  }
10
- //# 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 { SpreadsheetSkeleton } from '../sheet-skeleton';
3
18
  import { SheetExtension } from './sheet-extension';
@@ -6,4 +21,3 @@ export declare class ColumnHeaderLayout extends SheetExtension {
6
21
  zIndex: number;
7
22
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, spreadsheetSkeleton: SpreadsheetSkeleton): void;
8
23
  }
9
- //# sourceMappingURL=column-header-layout.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 { IColorStyle, IScale } from '@univerjs/core';
2
17
  import { ObjectMatrix } from '@univerjs/core';
3
18
  import type { SpreadsheetSkeleton } from '../sheet-skeleton';
@@ -12,4 +27,3 @@ export declare class Font extends SheetExtension {
12
27
  private _renderDocuments;
13
28
  private _clipRectangle;
14
29
  }
15
- //# sourceMappingURL=font.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 './background';
2
17
  export * from './border';
3
18
  export * from './border-auxiliary';
@@ -5,4 +20,3 @@ export * from './column-header-layout';
5
20
  export * from './font';
6
21
  export * from './row-header-layout';
7
22
  export * from './sheet-extension';
8
- //# sourceMappingURL=index.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 { SpreadsheetSkeleton } from '../sheet-skeleton';
3
18
  import { SheetExtension } from './sheet-extension';
@@ -6,4 +21,3 @@ export declare class RowHeaderLayout extends SheetExtension {
6
21
  zIndex: number;
7
22
  draw(ctx: CanvasRenderingContext2D, parentScale: IScale, spreadsheetSkeleton: SpreadsheetSkeleton): void;
8
23
  }
9
- //# sourceMappingURL=row-header-layout.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 { IRange } from '@univerjs/core';
2
17
  import { ComponentExtension } from '../../extension';
3
18
  import type { SpreadsheetSkeleton } from '../sheet-skeleton';
@@ -8,4 +23,3 @@ export declare class SheetExtension extends ComponentExtension<SpreadsheetSkelet
8
23
  type: SHEET_EXTENSION_TYPE;
9
24
  getCellIndex(rowIndex: number, columnIndex: number, rowHeightAccumulation: number[], columnWidthAccumulation: number[], dataMergeCache: IRange[]): import("@univerjs/core").ISelectionCellWithCoord;
10
25
  }
11
- //# sourceMappingURL=sheet-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
  export * from './column-header';
2
17
  export * from './extensions';
3
18
  export * from './interfaces';
@@ -5,4 +20,3 @@ export * from './row-header';
5
20
  export * from './sheet-component';
6
21
  export * from './sheet-skeleton';
7
22
  export * from './spreadsheet';
8
- //# sourceMappingURL=index.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 { BorderStyleTypes, HorizontalAlign, ObjectMatrix, VerticalAlign, WrapStrategy } from '@univerjs/core';
2
17
  import type { BORDER_TYPE } from '../../basics/const';
3
18
  import type { DocumentSkeleton } from '../docs/doc-skeleton';
@@ -32,4 +47,3 @@ export declare enum ShowGridlinesState {
32
47
  ON = 1
33
48
  }
34
49
  export {};
35
- //# sourceMappingURL=interfaces.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 { IBoundRect, Vector2 } from '../../basics/vector2';
2
17
  import type { RowHeaderLayout } from './extensions/row-header-layout';
3
18
  import { SpreadsheetHeader } from './sheet-component';
@@ -10,4 +25,3 @@ export declare class SpreadsheetRowHeader extends SpreadsheetHeader {
10
25
  isHit(coord: Vector2): boolean;
11
26
  private _initialDefaultExtension;
12
27
  }
13
- //# sourceMappingURL=row-header.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 { IBoundRect, Vector2 } from '../../basics/vector2';
3
18
  import { RenderComponent } from '../component';
@@ -35,4 +50,3 @@ export declare class SheetComponent extends RenderComponent<SpreadsheetSkeleton,
35
50
  export declare class SpreadsheetHeader extends SheetComponent {
36
51
  protected _draw(ctx: CanvasRenderingContext2D, bounds?: IBoundRect): void;
37
52
  }
38
- //# sourceMappingURL=sheet-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 { ICellData, IPaddingData, IRange, ISelectionCellWithCoord, ITextRotation, IWorksheetData, LocaleService, Nullable, Styles, Worksheet } from '@univerjs/core';
2
17
  import { BooleanNumber, DocumentDataModel, HorizontalAlign, ObjectMatrix, VerticalAlign, WrapStrategy } from '@univerjs/core';
3
18
  import type { IBoundRect } from '../../basics/vector2';
@@ -272,4 +287,3 @@ export declare class SpreadsheetSkeleton extends Skeleton {
272
287
  private _getMergeCells;
273
288
  }
274
289
  export {};
275
- //# sourceMappingURL=sheet-skeleton.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 { IBoundRect } from '../../basics/vector2';
2
17
  import { Vector2 } from '../../basics/vector2';
3
18
  import { Documents } from '../docs/document';
@@ -67,4 +82,3 @@ export declare class Spreadsheet extends SheetComponent {
67
82
  private _differentBounds;
68
83
  private _checkSheetDifferentBounds;
69
84
  }
70
- //# sourceMappingURL=spreadsheet.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 { Disposable, LocaleService } from '@univerjs/core';
2
17
  import type { IFontLocale } from '../basics/interfaces';
3
18
  export declare class Skeleton extends Disposable {
@@ -10,4 +25,3 @@ export declare class Skeleton extends Disposable {
10
25
  makeDirty(state: boolean): void;
11
26
  private _localeInitial;
12
27
  }
13
- //# sourceMappingURL=skeleton.d.ts.map
@@ -1,2 +1,16 @@
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 './slide';
2
- //# sourceMappingURL=index.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 { Observable } from '@univerjs/core';
3
18
  import type { Scene } from '../../scene';
@@ -24,4 +39,3 @@ export declare class Slide extends SceneViewer {
24
39
  private _addNavTrigger;
25
40
  private _getArrowColor;
26
41
  }
27
- //# sourceMappingURL=slide.d.ts.map