@univerjs/sheets-ui 0.1.0-alpha.1 → 0.1.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. package/LICENSE.txt +178 -0
  2. package/README.md +1 -1
  3. package/lib/cjs/index.js +15 -21729
  4. package/lib/es/index.js +15140 -0
  5. package/lib/index.css +1 -587
  6. package/lib/types/basics/const/default-univer-sheet-config.d.ts +15 -1
  7. package/lib/types/basics/const/index.d.ts +15 -1
  8. package/lib/types/basics/const/plugin-name.d.ts +15 -1
  9. package/lib/types/basics/editor/get-editor-object.d.ts +15 -1
  10. package/lib/types/basics/index.d.ts +15 -1
  11. package/lib/types/basics/interfaces/cell.d.ts +15 -1
  12. package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts +16 -2
  13. package/lib/types/basics/interfaces/component-config/index.d.ts +15 -1
  14. package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts +15 -1
  15. package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts +15 -1
  16. package/lib/types/basics/interfaces/index.d.ts +15 -1
  17. package/lib/types/commands/commands/__tests__/add-worksheet-merge.command.spec.d.ts +16 -0
  18. package/lib/types/commands/commands/__tests__/auto-fill.controller.spec.d.ts +15 -1
  19. package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts +15 -1
  20. package/lib/types/commands/commands/__tests__/set-format-painter.command.spec.d.ts +16 -0
  21. package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts +15 -1
  22. package/lib/types/commands/commands/__tests__/set-selections.command.spec.d.ts +15 -1
  23. package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +27 -0
  24. package/lib/types/commands/commands/auto-fill.command.d.ts +17 -3
  25. package/lib/types/commands/commands/clipboard.command.d.ts +15 -1
  26. package/lib/types/commands/commands/inline-format.command.d.ts +17 -1
  27. package/lib/types/commands/commands/refill.command.d.ts +15 -1
  28. package/lib/types/commands/commands/rename.command.d.ts +15 -1
  29. package/lib/types/commands/commands/set-format-painter.command.d.ts +23 -5
  30. package/lib/types/commands/commands/set-frozen.command.d.ts +15 -1
  31. package/lib/types/commands/commands/set-scroll.command.d.ts +15 -1
  32. package/lib/types/commands/commands/set-selection-frozen.command.d.ts +15 -1
  33. package/lib/types/commands/commands/set-selection.command.d.ts +15 -1
  34. package/lib/types/commands/commands/set-zoom-ratio.command.d.ts +17 -3
  35. package/lib/types/commands/commands/unhide.command.d.ts +15 -1
  36. package/lib/types/commands/commands/utils/selection-utils.d.ts +46 -0
  37. package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +15 -1
  38. package/lib/types/commands/operations/cell-edit.operation.d.ts +15 -1
  39. package/lib/types/commands/operations/scroll.operation.d.ts +15 -1
  40. package/lib/types/commands/operations/set-editor-resize.operation.d.ts +15 -1
  41. package/lib/types/commands/operations/set-format-painter.operation.d.ts +15 -1
  42. package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +17 -3
  43. package/lib/types/common/keys.d.ts +15 -1
  44. package/lib/types/common/utils.d.ts +25 -0
  45. package/lib/types/components/border-panel/BorderPanel.d.ts +15 -1
  46. package/lib/types/components/border-panel/border-line/BorderLine.d.ts +15 -1
  47. package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +15 -1
  48. package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +15 -1
  49. package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +15 -1
  50. package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +15 -1
  51. package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +15 -1
  52. package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +15 -1
  53. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +15 -1
  54. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +15 -1
  55. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +15 -1
  56. package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +15 -1
  57. package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +15 -1
  58. package/lib/types/components/border-panel/interface.d.ts +15 -1
  59. package/lib/types/components/color-picker/index.d.ts +15 -1
  60. package/lib/types/components/color-picker/interface.d.ts +15 -1
  61. package/lib/types/components/const.d.ts +15 -1
  62. package/lib/types/components/font-family/FontFamily.d.ts +15 -1
  63. package/lib/types/components/font-family/FontFamilyItem.d.ts +15 -1
  64. package/lib/types/components/font-family/index.d.ts +15 -1
  65. package/lib/types/components/font-family/interface.d.ts +15 -1
  66. package/lib/types/components/font-size/FontSize.d.ts +15 -1
  67. package/lib/types/components/font-size/index.d.ts +15 -1
  68. package/lib/types/components/font-size/interface.d.ts +15 -1
  69. package/lib/types/components/menu-item-input/MenuItemInput.d.ts +15 -1
  70. package/lib/types/components/menu-item-input/index.d.ts +15 -1
  71. package/lib/types/components/menu-item-input/interface.d.ts +15 -1
  72. package/lib/types/components/range-selector/RangeSelector.d.ts +15 -1
  73. package/lib/types/controllers/active-worksheet/active-worksheet.controller.d.ts +33 -0
  74. package/lib/types/controllers/auto-fill.controller.d.ts +15 -1
  75. package/lib/types/controllers/auto-height.controller.d.ts +15 -1
  76. package/lib/types/controllers/clipboard/clipboard.controller.d.ts +15 -1
  77. package/lib/types/controllers/clipboard/utils.d.ts +21 -7
  78. package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts +15 -1
  79. package/lib/types/controllers/editor/editing.controller.d.ts +20 -8
  80. package/lib/types/controllers/editor/end-edit.controller.d.ts +18 -4
  81. package/lib/types/controllers/editor/formula-editor.controller.d.ts +16 -1
  82. package/lib/types/controllers/editor/initialize-editor.controller.d.ts +16 -8
  83. package/lib/types/controllers/editor/start-edit.controller.d.ts +16 -1
  84. package/lib/types/controllers/editor-bridge.controller.d.ts +19 -3
  85. package/lib/types/controllers/format-painter/format-painter.controller.d.ts +18 -3
  86. package/lib/types/controllers/freeze.controller.d.ts +15 -1
  87. package/lib/types/controllers/header-menu.controller.d.ts +15 -1
  88. package/lib/types/controllers/header-move.controller.d.ts +15 -1
  89. package/lib/types/controllers/header-resize.controller.d.ts +19 -3
  90. package/lib/types/controllers/header-unhide.controller.d.ts +15 -1
  91. package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts +15 -1
  92. package/lib/types/controllers/menu/__tests__/menu.spec.d.ts +15 -1
  93. package/lib/types/controllers/menu/__tests__/row-col.menu.spec.d.ts +15 -1
  94. package/lib/types/controllers/menu/border.menu.d.ts +15 -1
  95. package/lib/types/controllers/menu/clear.menu.d.ts +15 -1
  96. package/lib/types/controllers/menu/delete.menu.d.ts +15 -1
  97. package/lib/types/controllers/menu/insert.menu.d.ts +15 -1
  98. package/lib/types/controllers/menu/menu.d.ts +18 -1
  99. package/lib/types/controllers/menu/merge.menu.d.ts +15 -1
  100. package/lib/types/controllers/menu/sheet.menu.d.ts +15 -1
  101. package/lib/types/controllers/move-range.controller.d.ts +15 -1
  102. package/lib/types/controllers/navigation/navigation.controller.d.ts +15 -1
  103. package/lib/types/controllers/scroll.controller.d.ts +15 -1
  104. package/lib/types/controllers/selection.controller.d.ts +18 -1
  105. package/lib/types/controllers/sheet-render.controller.d.ts +15 -1
  106. package/lib/types/controllers/sheet-ui.controller.d.ts +20 -1
  107. package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +15 -1
  108. package/lib/types/controllers/shortcuts/operation.shortcut.d.ts +15 -1
  109. package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +15 -1
  110. package/lib/types/controllers/shortcuts/style.shortcut.d.ts +15 -1
  111. package/lib/types/controllers/shortcuts/utils.d.ts +15 -1
  112. package/lib/types/controllers/shortcuts/value.shortcut.d.ts +15 -1
  113. package/lib/types/controllers/shortcuts/view.shortcut.d.ts +15 -1
  114. package/lib/types/controllers/status-bar.controller.d.ts +19 -4
  115. package/lib/types/controllers/utils/component-tools.d.ts +15 -1
  116. package/lib/types/controllers/zoom.controller.d.ts +15 -1
  117. package/lib/types/index.d.ts +32 -3
  118. package/lib/types/locale/en-US.d.ts +34 -1
  119. package/lib/types/locale/index.d.ts +15 -1
  120. package/lib/types/locale/zh-CN.d.ts +61 -1
  121. package/lib/types/services/auto-fill/auto-fill.service.d.ts +15 -1
  122. package/lib/types/services/auto-fill/rules.d.ts +15 -1
  123. package/lib/types/services/auto-fill/tools.d.ts +16 -2
  124. package/lib/types/services/auto-fill/type.d.ts +15 -1
  125. package/lib/types/services/clipboard/__tests__/clipboard-service.spec.d.ts +15 -1
  126. package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +15 -1
  127. package/lib/types/services/clipboard/__tests__/mock-clipboard.d.ts +15 -1
  128. package/lib/types/services/clipboard/__tests__/utils.spec.d.ts +16 -0
  129. package/lib/types/services/clipboard/clipboard.service.d.ts +18 -2
  130. package/lib/types/services/clipboard/copy-content-cache.d.ts +17 -3
  131. package/lib/types/services/clipboard/html-to-usm/converter.d.ts +24 -2
  132. package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts +15 -1
  133. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts +15 -1
  134. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts +15 -1
  135. package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts +15 -1
  136. package/lib/types/services/clipboard/html-to-usm/utils.d.ts +15 -1
  137. package/lib/types/services/clipboard/type.d.ts +23 -7
  138. package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +15 -1
  139. package/lib/types/services/clipboard/utils.d.ts +28 -0
  140. package/lib/types/services/editor/cell-editor-manager.service.d.ts +15 -1
  141. package/lib/types/services/editor/formula-editor-manager.service.d.ts +15 -1
  142. package/lib/types/services/editor-bridge.service.d.ts +21 -6
  143. package/lib/types/services/format-painter/format-painter.service.d.ts +30 -8
  144. package/lib/types/services/mark-selection/mark-selection.service.d.ts +18 -2
  145. package/lib/types/services/scroll-manager.service.d.ts +15 -1
  146. package/lib/types/services/selection/selection-render-model.d.ts +15 -1
  147. package/lib/types/services/selection/selection-render.service.d.ts +28 -12
  148. package/lib/types/services/selection/selection-shape-extension.d.ts +16 -2
  149. package/lib/types/services/selection/selection-shape.d.ts +15 -1
  150. package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +15 -1
  151. package/lib/types/services/sheet-skeleton-manager.service.d.ts +15 -1
  152. package/lib/types/services/status-bar.service.d.ts +24 -5
  153. package/lib/types/sheets-ui-plugin.d.ts +16 -2
  154. package/lib/types/views/count-bar/CountBar.d.ts +15 -1
  155. package/lib/types/views/count-bar/index.d.ts +15 -1
  156. package/lib/types/views/count-bar/zoom-slider.d.ts +15 -1
  157. package/lib/types/views/editor-container/EditorContainer.d.ts +15 -1
  158. package/lib/types/views/editor-container/index.d.ts +15 -1
  159. package/lib/types/views/formula-bar/FormulaBar.d.ts +15 -1
  160. package/lib/types/views/formula-bar/index.d.ts +15 -1
  161. package/lib/types/views/header-menu-shape.d.ts +15 -1
  162. package/lib/types/views/header-resize-shape.d.ts +15 -1
  163. package/lib/types/views/header-unhide-shape.d.ts +15 -1
  164. package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +15 -1
  165. package/lib/types/views/operate-container/OperateContainer.d.ts +15 -1
  166. package/lib/types/views/operate-container/index.d.ts +15 -1
  167. package/lib/types/views/sheet-bar/SheetBar.d.ts +15 -1
  168. package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +15 -1
  169. package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +15 -1
  170. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +15 -1
  171. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +15 -1
  172. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts +17 -2
  173. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +19 -4
  174. package/lib/types/views/sheet-canvas-view.d.ts +20 -3
  175. package/lib/types/views/sheet-container/SheetContainer.d.ts +17 -3
  176. package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +18 -3
  177. package/lib/types/views/status-bar/StatusBar.d.ts +15 -1
  178. package/lib/umd/index.js +15 -0
  179. package/package.json +40 -30
  180. package/LICENSE +0 -21
  181. package/lib/cjs/locale/en-US.js +0 -605
  182. package/lib/cjs/locale/zh-CN.js +0 -442
  183. package/lib/esm/index.js +0 -21640
  184. package/lib/esm/locale/en-US.js +0 -584
  185. package/lib/esm/locale/zh-CN.js +0 -421
  186. package/lib/types/basics/const/default-univer-sheet-config.d.ts.map +0 -1
  187. package/lib/types/basics/const/index.d.ts.map +0 -1
  188. package/lib/types/basics/const/plugin-name.d.ts.map +0 -1
  189. package/lib/types/basics/editor/get-editor-object.d.ts.map +0 -1
  190. package/lib/types/basics/index.d.ts.map +0 -1
  191. package/lib/types/basics/interfaces/cell.d.ts.map +0 -1
  192. package/lib/types/basics/interfaces/component-config/i-sheet-ui-plugin-config.d.ts.map +0 -1
  193. package/lib/types/basics/interfaces/component-config/index.d.ts.map +0 -1
  194. package/lib/types/basics/interfaces/component-config/sheet-container-config.d.ts.map +0 -1
  195. package/lib/types/basics/interfaces/component-config/toolbar-config.d.ts.map +0 -1
  196. package/lib/types/basics/interfaces/index.d.ts.map +0 -1
  197. package/lib/types/commands/commands/__tests__/auto-fill.controller.spec.d.ts.map +0 -1
  198. package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts.map +0 -1
  199. package/lib/types/commands/commands/__tests__/set-frozen.command.spec.d.ts.map +0 -1
  200. package/lib/types/commands/commands/__tests__/set-selections.command.spec.d.ts.map +0 -1
  201. package/lib/types/commands/commands/auto-fill.command.d.ts.map +0 -1
  202. package/lib/types/commands/commands/clipboard.command.d.ts.map +0 -1
  203. package/lib/types/commands/commands/inline-format.command.d.ts.map +0 -1
  204. package/lib/types/commands/commands/refill.command.d.ts.map +0 -1
  205. package/lib/types/commands/commands/rename.command.d.ts.map +0 -1
  206. package/lib/types/commands/commands/set-format-painter.command.d.ts.map +0 -1
  207. package/lib/types/commands/commands/set-frozen.command.d.ts.map +0 -1
  208. package/lib/types/commands/commands/set-scroll.command.d.ts.map +0 -1
  209. package/lib/types/commands/commands/set-selection-frozen.command.d.ts.map +0 -1
  210. package/lib/types/commands/commands/set-selection.command.d.ts.map +0 -1
  211. package/lib/types/commands/commands/set-zoom-ratio.command.d.ts.map +0 -1
  212. package/lib/types/commands/commands/unhide.command.d.ts.map +0 -1
  213. package/lib/types/commands/operations/activate-cell-edit.operation.d.ts.map +0 -1
  214. package/lib/types/commands/operations/cell-edit.operation.d.ts.map +0 -1
  215. package/lib/types/commands/operations/scroll.operation.d.ts.map +0 -1
  216. package/lib/types/commands/operations/selection.operation.d.ts +0 -12
  217. package/lib/types/commands/operations/selection.operation.d.ts.map +0 -1
  218. package/lib/types/commands/operations/set-editor-resize.operation.d.ts.map +0 -1
  219. package/lib/types/commands/operations/set-format-painter.operation.d.ts.map +0 -1
  220. package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts.map +0 -1
  221. package/lib/types/common/keys.d.ts.map +0 -1
  222. package/lib/types/components/border-panel/BorderPanel.d.ts.map +0 -1
  223. package/lib/types/components/border-panel/border-line/BorderLine.d.ts.map +0 -1
  224. package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts.map +0 -1
  225. package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts.map +0 -1
  226. package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts.map +0 -1
  227. package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts.map +0 -1
  228. package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts.map +0 -1
  229. package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts.map +0 -1
  230. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts.map +0 -1
  231. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts.map +0 -1
  232. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts.map +0 -1
  233. package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts.map +0 -1
  234. package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts.map +0 -1
  235. package/lib/types/components/border-panel/index.d.ts +0 -1
  236. package/lib/types/components/border-panel/index.d.ts.map +0 -1
  237. package/lib/types/components/border-panel/interface.d.ts.map +0 -1
  238. package/lib/types/components/color-picker/index.d.ts.map +0 -1
  239. package/lib/types/components/color-picker/interface.d.ts.map +0 -1
  240. package/lib/types/components/const.d.ts.map +0 -1
  241. package/lib/types/components/font-family/FontFamily.d.ts.map +0 -1
  242. package/lib/types/components/font-family/FontFamilyItem.d.ts.map +0 -1
  243. package/lib/types/components/font-family/index.d.ts.map +0 -1
  244. package/lib/types/components/font-family/interface.d.ts.map +0 -1
  245. package/lib/types/components/font-size/FontSize.d.ts.map +0 -1
  246. package/lib/types/components/font-size/index.d.ts.map +0 -1
  247. package/lib/types/components/font-size/interface.d.ts.map +0 -1
  248. package/lib/types/components/menu-item-input/MenuItemInput.d.ts.map +0 -1
  249. package/lib/types/components/menu-item-input/index.d.ts.map +0 -1
  250. package/lib/types/components/menu-item-input/interface.d.ts.map +0 -1
  251. package/lib/types/components/range-selector/RangeSelector.d.ts.map +0 -1
  252. package/lib/types/controllers/auto-fill.controller.d.ts.map +0 -1
  253. package/lib/types/controllers/auto-height.controller.d.ts.map +0 -1
  254. package/lib/types/controllers/clipboard/clipboard.controller.d.ts.map +0 -1
  255. package/lib/types/controllers/clipboard/utils.d.ts.map +0 -1
  256. package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts.map +0 -1
  257. package/lib/types/controllers/editor/editing.controller.d.ts.map +0 -1
  258. package/lib/types/controllers/editor/end-edit.controller.d.ts.map +0 -1
  259. package/lib/types/controllers/editor/formula-editor.controller.d.ts.map +0 -1
  260. package/lib/types/controllers/editor/initialize-editor.controller.d.ts.map +0 -1
  261. package/lib/types/controllers/editor/start-edit.controller.d.ts.map +0 -1
  262. package/lib/types/controllers/editor-bridge.controller.d.ts.map +0 -1
  263. package/lib/types/controllers/format-painter/format-painter.controller.d.ts.map +0 -1
  264. package/lib/types/controllers/freeze.controller.d.ts.map +0 -1
  265. package/lib/types/controllers/header-menu.controller.d.ts.map +0 -1
  266. package/lib/types/controllers/header-move.controller.d.ts.map +0 -1
  267. package/lib/types/controllers/header-resize.controller.d.ts.map +0 -1
  268. package/lib/types/controllers/header-unhide.controller.d.ts.map +0 -1
  269. package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts.map +0 -1
  270. package/lib/types/controllers/menu/__tests__/menu.spec.d.ts.map +0 -1
  271. package/lib/types/controllers/menu/__tests__/row-col.menu.spec.d.ts.map +0 -1
  272. package/lib/types/controllers/menu/border.menu.d.ts.map +0 -1
  273. package/lib/types/controllers/menu/clear.menu.d.ts.map +0 -1
  274. package/lib/types/controllers/menu/delete.menu.d.ts.map +0 -1
  275. package/lib/types/controllers/menu/insert.menu.d.ts.map +0 -1
  276. package/lib/types/controllers/menu/menu.d.ts.map +0 -1
  277. package/lib/types/controllers/menu/merge.menu.d.ts.map +0 -1
  278. package/lib/types/controllers/menu/sheet.menu.d.ts.map +0 -1
  279. package/lib/types/controllers/move-range.controller.d.ts.map +0 -1
  280. package/lib/types/controllers/navigation/navigation.controller.d.ts.map +0 -1
  281. package/lib/types/controllers/scroll.controller.d.ts.map +0 -1
  282. package/lib/types/controllers/selection.controller.d.ts.map +0 -1
  283. package/lib/types/controllers/sheet-render.controller.d.ts.map +0 -1
  284. package/lib/types/controllers/sheet-ui.controller.d.ts.map +0 -1
  285. package/lib/types/controllers/shortcuts/editor.shortcut.d.ts.map +0 -1
  286. package/lib/types/controllers/shortcuts/operation.shortcut.d.ts.map +0 -1
  287. package/lib/types/controllers/shortcuts/selection.shortcut.d.ts.map +0 -1
  288. package/lib/types/controllers/shortcuts/style.shortcut.d.ts.map +0 -1
  289. package/lib/types/controllers/shortcuts/utils.d.ts.map +0 -1
  290. package/lib/types/controllers/shortcuts/value.shortcut.d.ts.map +0 -1
  291. package/lib/types/controllers/shortcuts/view.shortcut.d.ts.map +0 -1
  292. package/lib/types/controllers/status-bar.controller.d.ts.map +0 -1
  293. package/lib/types/controllers/utils/component-tools.d.ts.map +0 -1
  294. package/lib/types/controllers/zoom.controller.d.ts.map +0 -1
  295. package/lib/types/index.d.ts.map +0 -1
  296. package/lib/types/locale/en-US.d.ts.map +0 -1
  297. package/lib/types/locale/index.d.ts.map +0 -1
  298. package/lib/types/locale/zh-CN.d.ts.map +0 -1
  299. package/lib/types/services/auto-fill/auto-fill.service.d.ts.map +0 -1
  300. package/lib/types/services/auto-fill/rules.d.ts.map +0 -1
  301. package/lib/types/services/auto-fill/tools.d.ts.map +0 -1
  302. package/lib/types/services/auto-fill/type.d.ts.map +0 -1
  303. package/lib/types/services/clipboard/__tests__/clipboard-service.spec.d.ts.map +0 -1
  304. package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts.map +0 -1
  305. package/lib/types/services/clipboard/__tests__/mock-clipboard.d.ts.map +0 -1
  306. package/lib/types/services/clipboard/clipboard.service.d.ts.map +0 -1
  307. package/lib/types/services/clipboard/copy-content-cache.d.ts.map +0 -1
  308. package/lib/types/services/clipboard/html-to-usm/converter.d.ts.map +0 -1
  309. package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts.map +0 -1
  310. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts.map +0 -1
  311. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts.map +0 -1
  312. package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts.map +0 -1
  313. package/lib/types/services/clipboard/html-to-usm/utils.d.ts.map +0 -1
  314. package/lib/types/services/clipboard/type.d.ts.map +0 -1
  315. package/lib/types/services/clipboard/usm-to-html/convertor.d.ts.map +0 -1
  316. package/lib/types/services/editor/cell-editor-manager.service.d.ts.map +0 -1
  317. package/lib/types/services/editor/formula-editor-manager.service.d.ts.map +0 -1
  318. package/lib/types/services/editor-bridge.service.d.ts.map +0 -1
  319. package/lib/types/services/format-painter/format-painter.service.d.ts.map +0 -1
  320. package/lib/types/services/mark-selection/mark-selection.service.d.ts.map +0 -1
  321. package/lib/types/services/scroll-manager.service.d.ts.map +0 -1
  322. package/lib/types/services/selection/selection-render-model.d.ts.map +0 -1
  323. package/lib/types/services/selection/selection-render.service.d.ts.map +0 -1
  324. package/lib/types/services/selection/selection-shape-extension.d.ts.map +0 -1
  325. package/lib/types/services/selection/selection-shape.d.ts.map +0 -1
  326. package/lib/types/services/sheet-bar/sheet-bar.service.d.ts.map +0 -1
  327. package/lib/types/services/sheet-skeleton-manager.service.d.ts.map +0 -1
  328. package/lib/types/services/status-bar.service.d.ts.map +0 -1
  329. package/lib/types/sheets-ui-plugin.d.ts.map +0 -1
  330. package/lib/types/views/count-bar/CountBar.d.ts.map +0 -1
  331. package/lib/types/views/count-bar/index.d.ts.map +0 -1
  332. package/lib/types/views/count-bar/zoom-slider.d.ts.map +0 -1
  333. package/lib/types/views/editor-container/EditorContainer.d.ts.map +0 -1
  334. package/lib/types/views/editor-container/index.d.ts.map +0 -1
  335. package/lib/types/views/formula-bar/FormulaBar.d.ts.map +0 -1
  336. package/lib/types/views/formula-bar/index.d.ts.map +0 -1
  337. package/lib/types/views/header-menu-shape.d.ts.map +0 -1
  338. package/lib/types/views/header-resize-shape.d.ts.map +0 -1
  339. package/lib/types/views/header-unhide-shape.d.ts.map +0 -1
  340. package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts.map +0 -1
  341. package/lib/types/views/operate-container/OperateContainer.d.ts.map +0 -1
  342. package/lib/types/views/operate-container/index.d.ts.map +0 -1
  343. package/lib/types/views/sheet-bar/SheetBar.d.ts.map +0 -1
  344. package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts.map +0 -1
  345. package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts.map +0 -1
  346. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts.map +0 -1
  347. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts.map +0 -1
  348. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts.map +0 -1
  349. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts.map +0 -1
  350. package/lib/types/views/sheet-canvas-view.d.ts.map +0 -1
  351. package/lib/types/views/sheet-container/SheetContainer.d.ts.map +0 -1
  352. package/lib/types/views/status-bar/CopyableStatisticItem.d.ts.map +0 -1
  353. package/lib/types/views/status-bar/StatusBar.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 { Nullable } from '@univerjs/core';
2
17
  import { IUniverInstanceService, LocaleService } from '@univerjs/core';
3
18
  import { SpreadsheetSkeleton } from '@univerjs/engine-render';
@@ -44,4 +59,3 @@ export declare class SheetSkeletonManagerService implements IDisposable {
44
59
  private _getCurrentBySearch;
45
60
  private _buildSkeleton;
46
61
  }
47
- //# sourceMappingURL=sheet-skeleton-manager.service.d.ts.map
@@ -1,5 +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 { Nullable } from '@univerjs/core';
2
- import { FUNCTION_NAMES } from '@univerjs/engine-formula';
17
+ import type { IFunctionNames } from '@univerjs/engine-formula';
3
18
  import type { IDisposable } from '@wendellhu/redi';
4
19
  import type { Observable } from 'rxjs';
5
20
  export interface IStatusBarService {
@@ -7,12 +22,16 @@ export interface IStatusBarService {
7
22
  dispose(): void;
8
23
  setState(param: IStatusBarServiceStatus | null): void;
9
24
  getState(): Readonly<Nullable<IStatusBarServiceStatus>>;
10
- getFunctions(): Readonly<FUNCTION_NAMES[]>;
25
+ getFunctions(): Readonly<IStatusBarFunction[]>;
11
26
  }
12
27
  export type IStatusBarServiceStatus = Array<{
13
- func: FUNCTION_NAMES;
28
+ func: IFunctionNames;
14
29
  value: number;
15
30
  }>;
31
+ export interface IStatusBarFunction {
32
+ func: IFunctionNames;
33
+ filter?: (status: IStatusBarServiceStatus) => boolean;
34
+ }
16
35
  export declare class StatusBarService implements IStatusBarService, IDisposable {
17
36
  private readonly _functions;
18
37
  private readonly _state$;
@@ -20,7 +39,7 @@ export declare class StatusBarService implements IStatusBarService, IDisposable
20
39
  dispose(): void;
21
40
  setState(param: IStatusBarServiceStatus | null): void;
22
41
  getState(): Readonly<Nullable<IStatusBarServiceStatus>>;
23
- getFunctions(): Readonly<FUNCTION_NAMES[]>;
42
+ getFunctions(): Readonly<IStatusBarFunction[]>;
43
+ addFunctions(functions: IStatusBarFunction[]): void;
24
44
  }
25
45
  export declare const IStatusBarService: import("@wendellhu/redi").IdentifierDecorator<StatusBarService>;
26
- //# sourceMappingURL=status-bar.service.d.ts.map
@@ -1,6 +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
  import { IUniverInstanceService, LocaleService, Plugin, PluginType } from '@univerjs/core';
2
17
  import { Injector } from '@wendellhu/redi';
3
- export declare class SheetsUIPlugin extends Plugin {
18
+ export declare class UniverSheetsUIPlugin extends Plugin {
4
19
  readonly _injector: Injector;
5
20
  private readonly _localeService;
6
21
  private readonly _currentUniverService;
@@ -10,4 +25,3 @@ export declare class SheetsUIPlugin extends Plugin {
10
25
  onReady(): void;
11
26
  private _markSheetAsFocused;
12
27
  }
13
- //# sourceMappingURL=sheets-ui-plugin.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 React from 'react';
2
17
  interface ICountBarProps {
3
18
  changeRatio?: (ratio: string) => void;
@@ -5,4 +20,3 @@ interface ICountBarProps {
5
20
  }
6
21
  export declare function CountBar(props: ICountBarProps): React.JSX.Element;
7
22
  export {};
8
- //# sourceMappingURL=CountBar.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 './CountBar';
2
- //# sourceMappingURL=index.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
  import React from 'react';
2
17
  export declare function ZoomSlider(): React.JSX.Element;
3
- //# sourceMappingURL=zoom-slider.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 React from 'react';
2
17
  interface ICellIEditorProps {
3
18
  }
@@ -7,4 +22,3 @@ interface ICellIEditorProps {
7
22
  */
8
23
  export declare const EditorContainer: React.FC<ICellIEditorProps>;
9
24
  export {};
10
- //# sourceMappingURL=EditorContainer.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 './EditorContainer';
2
- //# sourceMappingURL=index.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
  import React from 'react';
2
17
  export declare function FormulaBar(): React.JSX.Element;
3
- //# sourceMappingURL=FormulaBar.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 './FormulaBar';
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 { IShapeProps } from '@univerjs/engine-render';
2
17
  import { Shape } from '@univerjs/engine-render';
3
18
  export interface IHeaderMenuShapeProps extends IShapeProps {
@@ -20,4 +35,3 @@ export declare class HeaderMenuShape<T extends IHeaderMenuShapeProps = IHeaderMe
20
35
  setShapeProps(props?: T): void;
21
36
  protected _draw(ctx: CanvasRenderingContext2D): void;
22
37
  }
23
- //# sourceMappingURL=header-menu-shape.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 { IShapeProps } from '@univerjs/engine-render';
2
17
  import { Shape } from '@univerjs/engine-render';
3
18
  export interface IHeaderMenuShapeResizeProps extends IShapeProps {
@@ -24,4 +39,3 @@ export declare class HeaderMenuResizeShape<T extends IHeaderMenuShapeResizeProps
24
39
  protected _draw(ctx: CanvasRenderingContext2D): void;
25
40
  setShapeProps(props?: T): this;
26
41
  }
27
- //# sourceMappingURL=header-resize-shape.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 { IShapeProps } from '@univerjs/engine-render';
2
17
  import { Shape } from '@univerjs/engine-render';
3
18
  export declare const enum HeaderUnhideShapeType {
@@ -32,4 +47,3 @@ export declare class HeaderUnhideShape<T extends IHeaderUnhideShapeProps = IHead
32
47
  */
33
48
  private _drawOnCol;
34
49
  }
35
- //# sourceMappingURL=header-unhide-shape.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 React from 'react';
2
17
  import { APPLY_TYPE } from '../../services/auto-fill/type';
3
18
  export interface IAnchorPoint {
@@ -11,4 +26,3 @@ export interface IAutoFillPopupMenuItem {
11
26
  disable: boolean;
12
27
  }
13
28
  export declare const AutoFillPopupMenu: React.FC<{}>;
14
- //# sourceMappingURL=AutoFillPopupMenu.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
  import React from 'react';
2
17
  export declare const OperateContainer: React.FC;
3
- //# sourceMappingURL=OperateContainer.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 './OperateContainer';
2
- //# sourceMappingURL=index.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
  import React from 'react';
2
17
  export declare const SheetBar: () => React.JSX.Element;
3
- //# sourceMappingURL=SheetBar.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 React from 'react';
2
17
  export interface IBaseSheetBarButtonProps {
3
18
  children?: React.ReactNode;
@@ -17,4 +32,3 @@ export interface IBaseSheetBarButtonProps {
17
32
  * Button Component
18
33
  */
19
34
  export declare function SheetBarButton(props: IBaseSheetBarButtonProps): React.JSX.Element;
20
- //# sourceMappingURL=SheetBarButton.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 React from 'react';
2
17
  export interface ISheetBarMenuItem {
3
18
  label?: string;
@@ -11,4 +26,3 @@ export interface ISheetBarMenuProps {
11
26
  onClick?: (e?: MouseEvent) => void;
12
27
  }
13
28
  export declare function SheetBarMenu(props: ISheetBarMenuProps): React.JSX.Element;
14
- //# sourceMappingURL=SheetBarMenu.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 { BooleanNumber } from '@univerjs/core';
2
17
  import React from 'react';
3
18
  export interface IBaseSheetBarProps {
@@ -11,4 +26,3 @@ export interface IBaseSheetBarProps {
11
26
  selected?: boolean;
12
27
  }
13
28
  export declare function SheetBarItem(props: IBaseSheetBarProps): React.JSX.Element;
14
- //# sourceMappingURL=SheetBarItem.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 React from 'react';
2
17
  export interface ISheetBarTabsProps {
3
18
  }
4
19
  export declare function SheetBarTabs(): React.JSX.Element;
5
- //# sourceMappingURL=SheetBarTabs.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
+ /// <reference types="node" />
1
17
  export interface AnimateConfig {
2
18
  loop: boolean;
3
19
  begin: number;
@@ -19,11 +35,10 @@ export declare class Animate {
19
35
  protected _status: AnimateStatus;
20
36
  protected _start: number;
21
37
  protected _handle: number;
22
- protected _delayHandle: number | null;
38
+ protected _delayHandle: NodeJS.Timeout | number | null;
23
39
  constructor(config: Partial<AnimateConfig>);
24
40
  static success(...animates: Animate[]): Promise<void>;
25
41
  request(): void;
26
42
  cancel(): void;
27
43
  protected _fakeHandle(): void;
28
44
  }
29
- //# sourceMappingURL=animate.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
+ /// <reference types="node" />
1
17
  import { Animate } from './animate';
2
18
  export interface IScrollState {
3
19
  leftEnd: boolean;
@@ -39,7 +55,7 @@ export declare class SlideTabItem {
39
55
  isEditMode(): boolean;
40
56
  classList(): DOMTokenList;
41
57
  primeval(): HTMLElement;
42
- translateX(x: number): 1 | -1 | 0;
58
+ translateX(x: number): 1 | 0 | -1;
43
59
  editor(callback?: (event: FocusEvent) => void): void;
44
60
  emptyCheck(): boolean;
45
61
  animate(): SlideTabItemAnimate;
@@ -53,7 +69,7 @@ export declare class SlideTabItem {
53
69
  getMidLine(): number;
54
70
  getBoundingRect(): DOMRect;
55
71
  getWidth(): number;
56
- getTranslateXDirection(): 1 | -1 | 0;
72
+ getTranslateXDirection(): 1 | 0 | -1;
57
73
  equals(other: SlideTabItem | null): boolean | null;
58
74
  getId(): string;
59
75
  }
@@ -86,7 +102,7 @@ export declare class SlideTabBar {
86
102
  protected _compareDirection: number;
87
103
  protected _autoScrollTime: number | null;
88
104
  protected _slideScrollbar: SlideScrollbar;
89
- protected _longPressTimer: number | null;
105
+ protected _longPressTimer: NodeJS.Timeout | number | null;
90
106
  /**
91
107
  * left border line
92
108
  */
@@ -139,4 +155,3 @@ export declare class SlideTabBar {
139
155
  protected _compareRight(): void;
140
156
  protected _initConfig(): void;
141
157
  }
142
- //# sourceMappingURL=slide-tab-bar.d.ts.map
@@ -1,8 +1,23 @@
1
- import { ICommandService, IUniverInstanceService } from '@univerjs/core';
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 { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
2
17
  import { IRenderManagerService } from '@univerjs/engine-render';
3
18
  import { ISelectionRenderService } from '../services/selection/selection-render.service';
4
19
  import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
5
- export declare class SheetCanvasView {
20
+ export declare class SheetCanvasView extends RxDisposable {
6
21
  private readonly _currentUniverService;
7
22
  private readonly _commandService;
8
23
  private readonly _renderManagerService;
@@ -12,9 +27,11 @@ export declare class SheetCanvasView {
12
27
  private _currentWorkbook;
13
28
  private _loadedMap;
14
29
  private _isLoadedEditor;
30
+ private readonly _fps$;
31
+ readonly fps$: import("rxjs").Observable<string>;
15
32
  constructor(_currentUniverService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
33
+ dispose(): void;
16
34
  private _addNewRender;
17
35
  private _addComponent;
18
36
  private _addViewport;
19
37
  }
20
- //# sourceMappingURL=sheet-canvas-view.d.ts.map
@@ -1,11 +1,25 @@
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 React from 'react';
2
- import type { ISheetsUIPluginConfig } from '../../basics';
17
+ import type { IUniverSheetsUIConfig } from '../../basics';
3
18
  export interface IBaseSheetContainerProps {
4
- config: ISheetsUIPluginConfig;
19
+ config: IUniverSheetsUIConfig;
5
20
  changeLocale: (locale: string) => void;
6
21
  methods?: any;
7
22
  }
8
23
  export declare function RenderSheetFooter(): React.JSX.Element;
9
24
  export declare function RenderSheetHeader(): React.JSX.Element;
10
25
  export declare function RenderSheetContent(): React.JSX.Element;
11
- //# sourceMappingURL=SheetContainer.d.ts.map