@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,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 * from './const';
2
17
  export * from './interfaces';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export interface ICell {
2
17
  row: number;
3
18
  column: number;
4
19
  value: string;
5
20
  }
6
- //# sourceMappingURL=cell.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 { LocaleType } from '@univerjs/core';
2
17
  import type { SheetContainerConfig } from './sheet-container-config';
3
18
  import type { SheetToolbarConfig } from './toolbar-config';
@@ -5,9 +20,8 @@ export interface ILayout {
5
20
  sheetContainerConfig?: SheetContainerConfig;
6
21
  toolbarConfig?: SheetToolbarConfig;
7
22
  }
8
- export interface ISheetsUIPluginConfig {
23
+ export interface IUniverSheetsUIConfig {
9
24
  container?: HTMLElement | string;
10
25
  layout?: ILayout;
11
26
  locale?: LocaleType;
12
27
  }
13
- //# sourceMappingURL=i-sheet-ui-plugin-config.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 * from './i-sheet-ui-plugin-config';
2
17
  export * from './toolbar-config';
3
- //# 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
  export interface SheetContainerConfig {
2
17
  outerLeft?: boolean;
3
18
  outerRight?: boolean;
@@ -17,4 +32,3 @@ export interface SheetContainerConfig {
17
32
  rightMenu?: boolean;
18
33
  contentSplit?: boolean | string;
19
34
  }
20
- //# sourceMappingURL=sheet-container-config.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 interface SheetToolbarConfig {
2
17
  undo?: boolean;
3
18
  redo?: boolean;
@@ -22,4 +37,3 @@ export interface SheetToolbarConfig {
22
37
  textRotateMode?: boolean;
23
38
  mergeCell?: boolean;
24
39
  }
25
- //# sourceMappingURL=toolbar-config.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 './component-config';
2
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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
+ */
16
+ export {};
@@ -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 {};
2
- //# sourceMappingURL=auto-fill.controller.spec.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 { IWorkbookData } from '@univerjs/core';
2
17
  export declare function createSelectionCommandTestBed(workbookConfig?: IWorkbookData): {
3
18
  univer: import("@univerjs/core").Univer;
@@ -26,4 +41,3 @@ export declare function createFrozenCommandTestBed(workbookConfig?: IWorkbookDat
26
41
  export declare const SELECTION_WITH_EMPTY_CELLS_DATA: IWorkbookData;
27
42
  export declare const SELECTION_WITH_MERGED_CELLS_DATA: IWorkbookData;
28
43
  export declare const SIMPLE_SELECTION_WORKBOOK_DATA: IWorkbookData;
29
- //# sourceMappingURL=create-selection-command-test-bed.d.ts.map
@@ -0,0 +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
+ */
16
+ export {};
@@ -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 {};
2
- //# sourceMappingURL=set-frozen.command.spec.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 {};
2
- //# sourceMappingURL=set-selections.command.spec.d.ts.map
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import { Dimension } from '@univerjs/core';
18
+ export interface IAddMergeCommandParams {
19
+ value?: Dimension.ROWS | Dimension.COLUMNS;
20
+ selections: IRange[];
21
+ unitId: string;
22
+ subUnitId: string;
23
+ }
24
+ export declare const AddWorksheetMergeCommand: ICommand;
25
+ export declare const AddWorksheetMergeAllCommand: ICommand;
26
+ export declare const AddWorksheetMergeVerticalCommand: ICommand;
27
+ export declare const AddWorksheetMergeHorizontalCommand: ICommand;
@@ -1,7 +1,22 @@
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, ICommand, IMutationInfo, IRange } from '@univerjs/core';
2
17
  export interface IAutoFillCommandParams {
3
- worksheetId?: string;
4
- workbookId?: string;
18
+ subUnitId?: string;
19
+ unitId?: string;
5
20
  applyRange: IRange;
6
21
  selectionRange: IRange;
7
22
  applyDatas: ICellData[][];
@@ -17,4 +32,3 @@ export interface IAutoClearContentCommand {
17
32
  selectionRange: IRange;
18
33
  }
19
34
  export declare const AutoClearContentCommand: ICommand;
20
- //# sourceMappingURL=auto-fill.command.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 { ICommand, IMultiCommand } from '@univerjs/core';
2
17
  export declare const SheetCopyCommand: IMultiCommand;
3
18
  export declare const SheetCutCommand: IMultiCommand;
@@ -9,4 +24,3 @@ export declare const SheetPasteValueCommand: ICommand;
9
24
  export declare const SheetPasteFormatCommand: ICommand;
10
25
  export declare const SheetPasteColWidthCommand: ICommand;
11
26
  export declare const SheetPasteBesidesBorderCommand: ICommand;
12
- //# sourceMappingURL=clipboard.command.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 { ICommand } from '@univerjs/core';
2
17
  /**
3
18
  * It is used to set the bold style of selections or one cell, need to distinguish between
@@ -9,7 +24,8 @@ export declare const SetRangeBoldCommand: ICommand;
9
24
  export declare const SetRangeItalicCommand: ICommand;
10
25
  export declare const SetRangeUnderlineCommand: ICommand;
11
26
  export declare const SetRangeStrickThroughCommand: ICommand;
27
+ export declare const SetRangeSubscriptCommand: ICommand;
28
+ export declare const SetRangeSuperscriptCommand: ICommand;
12
29
  export declare const SetRangeFontSizeCommand: ICommand;
13
30
  export declare const SetRangeFontFamilyCommand: ICommand;
14
31
  export declare const SetRangeTextColorCommand: ICommand;
15
- //# sourceMappingURL=inline-format.command.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 type { ICommand } from '@univerjs/core';
2
17
  export declare const RefillCommand: ICommand;
3
- //# sourceMappingURL=refill.command.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 type { ICommand } from '@univerjs/core';
2
17
  export declare const RenameSheetOperation: ICommand;
3
- //# sourceMappingURL=rename.command.d.ts.map
@@ -1,12 +1,30 @@
1
- import type { ICommand } 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 type { ICellData, ICommand, IRange } from '@univerjs/core';
2
17
  import { FormatPainterStatus } from '../../services/format-painter/format-painter.service';
3
18
  export interface ISetFormatPainterCommandParams {
4
19
  status: FormatPainterStatus;
5
20
  }
6
21
  export declare const SetInfiniteFormatPainterCommand: ICommand;
7
22
  export declare const SetOnceFormatPainterCommand: ICommand;
8
- export interface ISetCopySelectionCommandParams {
9
- show?: boolean;
23
+ export interface IApplyFormatPainterCommandParams {
24
+ subUnitId: string;
25
+ unitId: string;
26
+ styleRange: IRange;
27
+ styleValues: ICellData[][];
28
+ mergeRanges: IRange[];
10
29
  }
11
- export declare const SetCopySelectionCommand: ICommand;
12
- //# sourceMappingURL=set-format-painter.command.d.ts.map
30
+ export declare const ApplyFormatPainterCommand: ICommand;
@@ -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 { ICommand } from '@univerjs/core';
2
17
  export declare enum SetSelectionFrozenType {
3
18
  RowColumn = 0,
@@ -11,4 +26,3 @@ export declare const SetSelectionFrozenCommand: ICommand<ISetSelectionFrozenComm
11
26
  export declare const SetRowFrozenCommand: ICommand;
12
27
  export declare const SetColumnFrozenCommand: ICommand;
13
28
  export declare const CancelFrozenCommand: ICommand;
14
- //# sourceMappingURL=set-frozen.command.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 { ICommand } from '@univerjs/core';
2
17
  export interface IScrollCommandParams {
3
18
  offsetX?: number;
@@ -21,4 +36,3 @@ export declare const ScrollCommand: ICommand<IScrollCommandParams>;
21
36
  * This command is reset the scroll position of the current view to 0 ,0
22
37
  */
23
38
  export declare const RestScrollCommand: ICommand<{}>;
24
- //# sourceMappingURL=set-scroll.command.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 type { ICommand } from '@univerjs/core';
2
17
  export declare const SetSelectionFrozenCommand: ICommand;
3
- //# sourceMappingURL=set-selection-frozen.command.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 { Direction, ICommand } from '@univerjs/core';
2
17
  import { KeyCode } from '@univerjs/ui';
3
18
  export declare enum JumpOver {
@@ -37,4 +52,3 @@ export interface ISelectAllCommandParams {
37
52
  * This command expand selection to all neighbor ranges. If there are no neighbor ranges. Select the whole sheet.
38
53
  */
39
54
  export declare const SelectAllCommand: ICommand<ISelectAllCommandParams>;
40
- //# sourceMappingURL=set-selection.command.d.ts.map
@@ -1,8 +1,23 @@
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 { ICommand } from '@univerjs/core';
2
17
  export interface ISetZoomRatioCommandParams {
3
18
  zoomRatio: number;
4
- workbookId: string;
5
- worksheetId: string;
19
+ unitId: string;
20
+ subUnitId: string;
6
21
  }
7
22
  export interface IChangeZoomRatioCommandParams {
8
23
  reset?: boolean;
@@ -13,4 +28,3 @@ export interface IChangeZoomRatioCommandParams {
13
28
  */
14
29
  export declare const ChangeZoomRatioCommand: ICommand<IChangeZoomRatioCommandParams>;
15
30
  export declare const SetZoomRatioCommand: ICommand<ISetZoomRatioCommandParams>;
16
- //# sourceMappingURL=set-zoom-ratio.command.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 type { ICommand } from '@univerjs/core';
2
17
  export declare const ShowMenuListCommand: ICommand;
3
- //# sourceMappingURL=unhide.command.d.ts.map
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IRange, ISelection, ISelectionCell, Nullable, Worksheet } from '@univerjs/core';
17
+ import { Direction } from '@univerjs/core';
18
+ export interface IExpandParams {
19
+ left?: boolean;
20
+ right?: boolean;
21
+ up?: boolean;
22
+ down?: boolean;
23
+ }
24
+ export declare function findNextRange(startRange: IRange, direction: Direction, worksheet: Worksheet, boundary?: IRange, isFindNext?: boolean, nextStep?: number, isGoBack?: boolean): IRange;
25
+ export declare function findNextGapRange(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
26
+ export declare function findNextRangeExpand(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
27
+ export declare function expandToNextGapRange(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
28
+ export declare function expandToNextCell(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
29
+ /**
30
+ * This function is considered as a reversed operation of `expandToNextGapCell` but there are slightly differences.
31
+ * @param startRange
32
+ * @param direction
33
+ * @param worksheet
34
+ */
35
+ export declare function shrinkToNextGapRange(startRange: IRange, anchorRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
36
+ /**
37
+ * This function is considered as a reversed operation of `expandToNextCell` but there are some slightly differences.
38
+ * @param startRange
39
+ * @param direction
40
+ * @param worksheet
41
+ */
42
+ export declare function shrinkToNextCell(startRange: IRange, direction: Direction, worksheet: Worksheet): IRange;
43
+ export declare function expandToContinuousRange(startRange: IRange, directions: IExpandParams, worksheet: Worksheet): IRange;
44
+ export declare function expandToWholeSheet(worksheet: Worksheet): IRange;
45
+ export declare function getStartRange(range: IRange, primary: Nullable<ISelectionCell>, direction: Direction): IRange;
46
+ export declare function checkIfShrink(selection: ISelection, direction: Direction, worksheet: Worksheet): boolean;