@univerjs/sheets-ui 0.1.4 → 0.1.6

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 (161) hide show
  1. package/lib/cjs/index.js +10 -10
  2. package/lib/es/index.js +6396 -5578
  3. package/lib/index.css +1 -1
  4. package/lib/types/basics/editor/get-editor-object.d.ts +3 -17
  5. package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +3 -19
  6. package/lib/types/commands/commands/__tests__/create-selection-command-test-bed.d.ts +18 -32
  7. package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +2 -17
  8. package/lib/types/commands/commands/auto-fill.command.d.ts +2 -16
  9. package/lib/types/commands/commands/clipboard.command.d.ts +2 -16
  10. package/lib/types/commands/commands/delete-range-move-left-confirm.command .d.ts +2 -16
  11. package/lib/types/commands/commands/delete-range-move-up-confirm.command.d.ts +2 -16
  12. package/lib/types/commands/commands/hide-row-col-confirm.command.d.ts +2 -16
  13. package/lib/types/commands/commands/inline-format.command.d.ts +2 -16
  14. package/lib/types/commands/commands/insert-range-move-down-confirm.command.d.ts +2 -16
  15. package/lib/types/commands/commands/insert-range-move-right-confirm.command.d.ts +2 -16
  16. package/lib/types/commands/commands/refill.command.d.ts +2 -16
  17. package/lib/types/commands/commands/remove-row-col-confirm.command.d.ts +2 -16
  18. package/lib/types/commands/commands/remove-sheet-confirm.command.d.ts +2 -16
  19. package/lib/types/commands/commands/set-format-painter.command.d.ts +2 -16
  20. package/lib/types/commands/commands/set-frozen.command.d.ts +2 -16
  21. package/lib/types/commands/commands/set-scroll.command.d.ts +2 -16
  22. package/lib/types/commands/commands/set-selection.command.d.ts +2 -16
  23. package/lib/types/commands/commands/set-zoom-ratio.command.d.ts +2 -16
  24. package/lib/types/commands/commands/unhide.command.d.ts +2 -16
  25. package/lib/types/commands/commands/utils/selection-utils.d.ts +2 -17
  26. package/lib/types/commands/operations/activate-cell-edit.operation.d.ts +3 -17
  27. package/lib/types/commands/operations/cell-edit.operation.d.ts +3 -17
  28. package/lib/types/commands/operations/rename-sheet.operation.d.ts +2 -16
  29. package/lib/types/commands/operations/scroll.operation.d.ts +3 -17
  30. package/lib/types/commands/operations/set-format-painter.operation.d.ts +3 -17
  31. package/lib/types/commands/operations/set-zoom-ratio.operation.d.ts +3 -17
  32. package/lib/types/commands/operations/sidebar-defined-name.operation.d.ts +6 -0
  33. package/lib/types/common/utils.d.ts +12 -20
  34. package/lib/types/components/border-panel/BorderPanel.d.ts +3 -17
  35. package/lib/types/components/border-panel/border-line/BorderLine.d.ts +2 -16
  36. package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +2 -16
  37. package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +2 -16
  38. package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +2 -16
  39. package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +2 -16
  40. package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +2 -16
  41. package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +2 -16
  42. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +2 -16
  43. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +2 -16
  44. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +2 -16
  45. package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +2 -16
  46. package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +2 -16
  47. package/lib/types/components/border-panel/interface.d.ts +3 -17
  48. package/lib/types/components/menu-item-input/MenuItemInput.d.ts +3 -17
  49. package/lib/types/components/menu-item-input/interface.d.ts +2 -16
  50. package/lib/types/controllers/active-worksheet/active-worksheet.controller.d.ts +1 -15
  51. package/lib/types/controllers/auto-fill.controller.d.ts +6 -20
  52. package/lib/types/controllers/auto-height.controller.d.ts +4 -18
  53. package/lib/types/controllers/cell-alert.controller.d.ts +8 -0
  54. package/lib/types/controllers/cell-custom-render.controller.d.ts +12 -0
  55. package/lib/types/controllers/clipboard/clipboard.controller.d.ts +6 -20
  56. package/lib/types/controllers/clipboard/utils.d.ts +4 -19
  57. package/lib/types/controllers/contextmenu/contextmenu.controller.d.ts +5 -19
  58. package/lib/types/controllers/editor/__tests__/create-test-bed.d.ts +3 -19
  59. package/lib/types/controllers/editor/editing.controller.d.ts +2 -16
  60. package/lib/types/controllers/editor/end-edit.controller.d.ts +7 -23
  61. package/lib/types/controllers/editor/formula-editor.controller.d.ts +5 -19
  62. package/lib/types/controllers/editor/start-edit.controller.d.ts +6 -20
  63. package/lib/types/controllers/editor-bridge.controller.d.ts +7 -21
  64. package/lib/types/controllers/format-painter/format-painter.controller.d.ts +4 -18
  65. package/lib/types/controllers/freeze.controller.d.ts +7 -21
  66. package/lib/types/controllers/header-menu.controller.d.ts +5 -19
  67. package/lib/types/controllers/header-move.controller.d.ts +5 -19
  68. package/lib/types/controllers/header-resize.controller.d.ts +4 -18
  69. package/lib/types/controllers/header-unhide.controller.d.ts +3 -17
  70. package/lib/types/controllers/hover.controller.d.ts +12 -0
  71. package/lib/types/controllers/mark-selection.controller.d.ts +3 -17
  72. package/lib/types/controllers/menu/__tests__/create-menu-test-bed.d.ts +2 -16
  73. package/lib/types/controllers/menu/border.menu.d.ts +4 -18
  74. package/lib/types/controllers/menu/clear.menu.d.ts +2 -16
  75. package/lib/types/controllers/menu/delete.menu.d.ts +2 -16
  76. package/lib/types/controllers/menu/insert.menu.d.ts +3 -17
  77. package/lib/types/controllers/menu/menu.d.ts +3 -17
  78. package/lib/types/controllers/menu/merge.menu.d.ts +3 -17
  79. package/lib/types/controllers/menu/sheet.menu.d.ts +3 -17
  80. package/lib/types/controllers/move-range.controller.d.ts +3 -17
  81. package/lib/types/controllers/scroll.controller.d.ts +8 -20
  82. package/lib/types/controllers/selection.controller.d.ts +10 -22
  83. package/lib/types/controllers/sheet-render.controller.d.ts +3 -17
  84. package/lib/types/controllers/sheet-ui.controller.d.ts +3 -18
  85. package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +2 -17
  86. package/lib/types/controllers/shortcuts/operation.shortcut.d.ts +2 -16
  87. package/lib/types/controllers/shortcuts/selection.shortcut.d.ts +3 -17
  88. package/lib/types/controllers/shortcuts/style.shortcut.d.ts +2 -16
  89. package/lib/types/controllers/shortcuts/utils.d.ts +2 -16
  90. package/lib/types/controllers/shortcuts/value.shortcut.d.ts +2 -16
  91. package/lib/types/controllers/shortcuts/view.shortcut.d.ts +2 -16
  92. package/lib/types/controllers/status-bar.controller.d.ts +4 -18
  93. package/lib/types/controllers/utils/component-tools.d.ts +3 -17
  94. package/lib/types/controllers/utils/selections-tools.d.ts +3 -0
  95. package/lib/types/controllers/zoom.controller.d.ts +6 -20
  96. package/lib/types/index.d.ts +7 -2
  97. package/lib/types/locale/en-US.d.ts +2 -16
  98. package/lib/types/locale/zh-CN.d.ts +27 -1
  99. package/lib/types/services/auto-fill/auto-fill.service.d.ts +6 -22
  100. package/lib/types/services/auto-fill/rules.d.ts +2 -16
  101. package/lib/types/services/auto-fill/tools.d.ts +7 -22
  102. package/lib/types/services/auto-fill/type.d.ts +2 -16
  103. package/lib/types/services/canvas-pop-manager.service.d.ts +8 -22
  104. package/lib/types/services/cell-alert-manager.service.d.ts +30 -0
  105. package/lib/types/services/clipboard/__tests__/clipboard-test-bed.d.ts +10 -25
  106. package/lib/types/services/clipboard/clipboard.service.d.ts +10 -25
  107. package/lib/types/services/clipboard/copy-content-cache.d.ts +3 -17
  108. package/lib/types/services/clipboard/html-to-usm/converter.d.ts +6 -26
  109. package/lib/types/services/clipboard/html-to-usm/parse-node-style.d.ts +2 -16
  110. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-lark.d.ts +2 -16
  111. package/lib/types/services/clipboard/html-to-usm/paste-plugins/plugin-word.d.ts +2 -16
  112. package/lib/types/services/clipboard/html-to-usm/paste-plugins/type.d.ts +2 -16
  113. package/lib/types/services/clipboard/html-to-usm/utils.d.ts +2 -16
  114. package/lib/types/services/clipboard/type.d.ts +2 -16
  115. package/lib/types/services/clipboard/usm-to-html/convertor.d.ts +3 -17
  116. package/lib/types/services/clipboard/utils.d.ts +3 -17
  117. package/lib/types/services/editor/cell-editor-manager.service.d.ts +5 -19
  118. package/lib/types/services/editor/formula-editor-manager.service.d.ts +5 -19
  119. package/lib/types/services/editor-bridge.service.d.ts +16 -30
  120. package/lib/types/services/format-painter/format-painter.service.d.ts +5 -20
  121. package/lib/types/services/hover-manager.service.d.ts +26 -0
  122. package/lib/types/services/mark-selection/mark-selection.service.d.ts +7 -22
  123. package/lib/types/services/scroll-manager.service.d.ts +3 -17
  124. package/lib/types/services/selection/__test__/create-service-test-bed.d.ts +3 -19
  125. package/lib/types/services/selection/selection-render-model.d.ts +2 -17
  126. package/lib/types/services/selection/selection-render.service.d.ts +9 -25
  127. package/lib/types/services/selection/selection-shape-extension.d.ts +5 -19
  128. package/lib/types/services/selection/selection-shape.d.ts +25 -41
  129. package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +5 -19
  130. package/lib/types/services/sheet-skeleton-manager.service.d.ts +5 -21
  131. package/lib/types/services/shortcut-experience.service.d.ts +4 -19
  132. package/lib/types/services/status-bar.service.d.ts +6 -20
  133. package/lib/types/sheets-ui-plugin.d.ts +2 -16
  134. package/lib/types/views/cell-alert/CellAlertPopup.d.ts +3 -0
  135. package/lib/types/views/cell-alert/index.d.ts +18 -0
  136. package/lib/types/views/count-bar/CountBar.d.ts +2 -16
  137. package/lib/types/views/count-bar/ZoomSlider.d.ts +2 -16
  138. package/lib/types/views/defined-name/DefinedName.d.ts +3 -0
  139. package/lib/types/views/defined-name/DefinedNameContainer.d.ts +3 -0
  140. package/lib/types/views/defined-name/DefinedNameInput.d.ts +12 -0
  141. package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +5 -0
  142. package/lib/types/views/defined-name/component-name.d.ts +17 -0
  143. package/lib/types/views/editor-container/EditorContainer.d.ts +2 -16
  144. package/lib/types/views/formula-bar/FormulaBar.d.ts +2 -16
  145. package/lib/types/views/header-menu-shape.d.ts +2 -17
  146. package/lib/types/views/header-resize-shape.d.ts +2 -17
  147. package/lib/types/views/header-unhide-shape.d.ts +2 -17
  148. package/lib/types/views/operate-container/AutoFillPopupMenu.d.ts +2 -16
  149. package/lib/types/views/operate-container/OperateContainer.d.ts +2 -16
  150. package/lib/types/views/sheet-bar/SheetBar.d.ts +2 -16
  151. package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +2 -16
  152. package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +2 -16
  153. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +3 -17
  154. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +2 -16
  155. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +1 -16
  156. package/lib/types/views/sheet-canvas-view.d.ts +5 -19
  157. package/lib/types/views/sheet-container/SheetContainer.d.ts +2 -16
  158. package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +3 -17
  159. package/lib/types/views/status-bar/StatusBar.d.ts +2 -16
  160. package/lib/umd/index.js +11 -11
  161. package/package.json +23 -22
@@ -1,19 +1,5 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  interface ICellIEditorProps {
18
4
  }
19
5
  /**
@@ -1,17 +1,3 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export declare function FormulaBar(): React.JSX.Element;
@@ -1,20 +1,5 @@
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 { IShapeProps, UniverRenderingContext } from '@univerjs/engine-render';
17
- import { Shape } from '@univerjs/engine-render';
1
+ import { IShapeProps, UniverRenderingContext, Shape } from '@univerjs/engine-render';
2
+
18
3
  export interface IHeaderMenuShapeProps extends IShapeProps {
19
4
  size?: number;
20
5
  mode?: HEADER_MENU_SHAPE_TYPE;
@@ -1,20 +1,5 @@
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 { IShapeProps, UniverRenderingContext } from '@univerjs/engine-render';
17
- import { Shape } from '@univerjs/engine-render';
1
+ import { IShapeProps, UniverRenderingContext, Shape } from '@univerjs/engine-render';
2
+
18
3
  export interface IHeaderMenuShapeResizeProps extends IShapeProps {
19
4
  size?: number;
20
5
  mode?: HEADER_RESIZE_SHAPE_TYPE;
@@ -1,20 +1,5 @@
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 { IShapeProps, UniverRenderingContext } from '@univerjs/engine-render';
17
- import { Shape } from '@univerjs/engine-render';
1
+ import { IShapeProps, UniverRenderingContext, Shape } from '@univerjs/engine-render';
2
+
18
3
  export declare const enum HeaderUnhideShapeType {
19
4
  ROW = 0,
20
5
  COLUMN = 1
@@ -1,20 +1,6 @@
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 React from 'react';
17
1
  import { APPLY_TYPE } from '../../services/auto-fill/type';
2
+ import { default as React } from 'react';
3
+
18
4
  export interface IAnchorPoint {
19
5
  row: number;
20
6
  col: number;
@@ -1,17 +1,3 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export declare const OperateContainer: React.FC;
@@ -1,17 +1,3 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export declare const SheetBar: () => React.JSX.Element;
@@ -1,19 +1,5 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export interface IBaseSheetBarButtonProps {
18
4
  children?: React.ReactNode;
19
5
  /** Semantic DOM class */
@@ -1,19 +1,5 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export interface ISheetBarMenuItem {
18
4
  label?: string;
19
5
  hidden?: boolean;
@@ -1,20 +1,6 @@
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 { BooleanNumber } from '@univerjs/core';
17
- import React from 'react';
1
+ import { default as React } from 'react';
2
+ import { BooleanNumber } from '@univerjs/core';
3
+
18
4
  export interface IBaseSheetBarProps {
19
5
  label?: string;
20
6
  children?: any[];
@@ -1,19 +1,5 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export interface ISheetBarTabsProps {
18
4
  }
19
5
  export declare function SheetBarTabs(): React.JSX.Element;
@@ -1,20 +1,5 @@
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" />
17
1
  import { Animate } from './animate';
2
+
18
3
  export interface IScrollState {
19
4
  leftEnd: boolean;
20
5
  rightEnd: boolean;
@@ -1,22 +1,8 @@
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';
17
- import { IRenderManagerService } from '@univerjs/engine-render';
18
- import { ISelectionRenderService } from '../services/selection/selection-render.service';
19
1
  import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
2
+ import { ISelectionRenderService } from '../services/selection/selection-render.service';
3
+ import { IRenderManagerService } from '@univerjs/engine-render';
4
+ import { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
5
+
20
6
  export declare class SheetCanvasView extends RxDisposable {
21
7
  private readonly _currentUniverService;
22
8
  private readonly _commandService;
@@ -26,7 +12,7 @@ export declare class SheetCanvasView extends RxDisposable {
26
12
  private _scene;
27
13
  private _currentWorkbook;
28
14
  private readonly _fps$;
29
- readonly fps$: import("rxjs").Observable<string>;
15
+ readonly fps$: import('rxjs').Observable<string>;
30
16
  constructor(_currentUniverService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
31
17
  private _initialize;
32
18
  dispose(): void;
@@ -1,19 +1,5 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export declare function RenderSheetFooter(): React.JSX.Element;
18
4
  export declare function RenderSheetHeader(): React.JSX.Element;
19
5
  export declare function RenderSheetContent(): React.JSX.Element;
@@ -1,20 +1,6 @@
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 { IFunctionNames } from '@univerjs/engine-formula';
17
- import React from 'react';
1
+ import { default as React } from 'react';
2
+ import { IFunctionNames } from '@univerjs/engine-formula';
3
+
18
4
  export interface IStatisticItem {
19
5
  name: IFunctionNames;
20
6
  value: number;
@@ -1,17 +1,3 @@
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 React from 'react';
1
+ import { default as React } from 'react';
2
+
17
3
  export declare const StatusBar: () => false | React.JSX.Element;