chore(eslint): disable perfectionist/sort-exports in index.ts (#3542)

This commit is contained in:
白熱
2024-09-23 21:05:28 +08:00
committed by GitHub
parent 33f4592a8b
commit 719783e0db
108 changed files with 1546 additions and 1230 deletions
-1
View File
@@ -28,7 +28,6 @@ exports.baseRules = {
ignoreComments: true,
}],
'perfectionist/sort-imports': 'warn',
'perfectionist/sort-exports': 'warn',
'perfectionist/sort-named-exports': 'warn',
'antfu/consistent-chaining': 'warn',
'sort-imports': [
+4 -4
View File
@@ -17,13 +17,13 @@
"./vite": "./vite/index.js"
},
"dependencies": {
"@typescript-eslint/parser": "^8.5.0",
"@typescript-eslint/parser": "^8.6.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-istanbul": "^2.0.5",
"@vitest/coverage-istanbul": "^2.1.1",
"happy-dom": "15.0.0",
"javascript-obfuscator": "^4.1.1",
"vite": "^5.4.4",
"vite": "^5.4.7",
"vite-plugin-dts": "^4.2.1",
"vitest": "^2.0.5"
"vitest": "^2.1.1"
}
}
+5
View File
@@ -88,6 +88,11 @@ export default antfu({
rules: {
'penetrating/no-penetrating-import': 2,
},
}, {
files: ['**/*/src/index.ts'],
rules: {
'perfectionist/sort-exports': 'off',
},
},
typescriptPreset(),
facadePreset(),
+4 -4
View File
@@ -50,19 +50,19 @@
"@eslint-react/eslint-plugin": "^1.14.0",
"@playwright/test": "^1.47.0",
"@release-it-plugins/workspaces": "^4.2.0",
"@release-it/conventional-changelog": "^8.0.1",
"@release-it/conventional-changelog": "^8.0.2",
"@storybook/react": "8.2.9",
"@types/node": "^22.5.4",
"@types/node": "^22.5.5",
"@types/react": "^18.3.5",
"@univerjs-infra/shared": "workspace:*",
"@univerjs/design": "workspace:*",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "9.10.0",
"eslint": "9.11.0",
"eslint-plugin-format": "^0.1.2",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-no-barrel-import": "^0.0.2",
"eslint-plugin-no-penetrating-import": "^0.0.1",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "5.1.0-rc-107a2f8c3e-20240617",
"eslint-plugin-react-refresh": "^0.4.11",
"husky": "^9.1.5",
@@ -88,8 +88,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -82,8 +82,8 @@
"@vitejs/plugin-vue": "^5.1.3",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5",
"vite": "^5.4.7",
"vitest": "^2.1.1",
"vue": "^3.5.3"
},
"univerSpace": {
@@ -80,8 +80,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -91,8 +91,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -72,8 +72,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -85,8 +85,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -86,8 +86,8 @@
"react-dom": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -94,8 +94,8 @@
"react-dom": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -79,8 +79,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -1
View File
@@ -16,5 +16,5 @@
export * from './document-data-model';
export * from './preset-list-type';
export * from './types';
export * from './text-x/build-utils';
export * from './types';
+2 -2
View File
@@ -19,6 +19,7 @@ export * from './border-style-types';
export * from './color-type';
export * from './common-hide-types';
export * from './copy-paste-type';
export * from './delete-direction';
export * from './developer-metadata-visibility';
export * from './dimension';
export * from './direction';
@@ -26,9 +27,8 @@ export * from './format-type';
export * from './interpolation-point-type';
export * from './locale-type';
export * from './protection-type';
export * from './prst-geom-type';
export * from './relative-date';
export * from './sheet-types';
export * from './text-style';
export * from './theme-color-type';
export * from './prst-geom-type';
export * from './delete-direction';
+1 -1
View File
@@ -17,8 +17,8 @@
export * from './i-document-data';
export * from './i-document-data-interceptor';
export * from './i-image-properties';
export * from './i-need-check-disposable';
export * from './i-placeholder';
export * from './i-shape-properties';
export * from './i-slide-data';
export * from './i-style-data';
export * from './i-need-check-disposable';
+2 -2
View File
@@ -76,8 +76,8 @@
"@univerjs/core": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+10 -10
View File
@@ -14,15 +14,6 @@
* limitations under the License.
*/
// #region - all commands
export {
AddDataValidationMutation,
type IAddDataValidationMutationParams,
type IRemoveDataValidationMutationParams,
type IUpdateDataValidationMutationParams,
RemoveDataValidationMutation,
UpdateDataValidationMutation,
} from './commands/mutations/data-validation.mutation';
export {
getRuleOptions,
getRuleSetting,
@@ -46,5 +37,14 @@ export type { IFormulaValidResult } from './validators/base-data-validator';
export type { IBaseDataValidationWidget } from './validators/base-widget';
// #endregion
// #region - all commands
export {
AddDataValidationMutation,
type IAddDataValidationMutationParams,
type IRemoveDataValidationMutationParams,
type IUpdateDataValidationMutationParams,
RemoveDataValidationMutation,
UpdateDataValidationMutation,
} from './commands/mutations/data-validation.mutation';
// #endregion
+2 -2
View File
@@ -104,8 +104,8 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -14,5 +14,5 @@
* limitations under the License.
*/
export { DatePicker, type IDatePickerProps } from './DatePicker';
export { DatePanel, type IDatePanelProps } from './DatePanel';
export { DatePicker, type IDatePickerProps } from './DatePicker';
@@ -14,5 +14,5 @@
* limitations under the License.
*/
export { type ITooltipProps, type NullableTooltipRef, Tooltip } from './Tooltip';
export { resizeObserverCtor } from './hooks';
export { type ITooltipProps, type NullableTooltipRef, Tooltip } from './Tooltip';
+8 -8
View File
@@ -37,16 +37,16 @@ export { CheckboxGroup, type ICheckboxGroupProps } from './components/checkbox-g
export { ColorPicker, type IColorPickerProps } from './components/color-picker';
export { ConfigContext, ConfigProvider, type IConfigProviderProps } from './components/config-provider';
export { Confirm, type IConfirmProps } from './components/confirm';
export { DatePicker, type IDatePickerProps, DatePanel, type IDatePanelProps } from './components/date-picker';
export { DatePanel, DatePicker, type IDatePanelProps, type IDatePickerProps } from './components/date-picker';
export { Dialog, type IDialogProps } from './components/dialog';
export { Dropdown, type IDropdownProps } from './components/dropdown';
export { FormDualColumnLayout, type IFormDualColumnLayoutProps, FormLayout, type IFormLayoutProps } from './components/form-layout';
export { FormDualColumnLayout, FormLayout, type IFormDualColumnLayoutProps, type IFormLayoutProps } from './components/form-layout';
export { type IInputProps, type IInputWithSlotProps, Input, InputWithSlot } from './components/input';
export { type IInputNumberProps, InputNumber } from './components/input-number';
export { type MenuRef, Menu, MenuItem, MenuItemGroup, SubMenu } from './components/menu';
export { Menu, MenuItem, MenuItemGroup, type MenuRef, SubMenu } from './components/menu';
export { type IMessageOptions, type IMessageProps, Message, MessageType } from './components/message';
export { type IPagerProps, Pager } from './components/pager';
export { type IPopupProps, Popup, RectPopup, type IRectPopupProps } from './components/popup';
export { type IPopupProps, type IRectPopupProps, Popup, RectPopup } from './components/popup';
export { type IRadioProps, Radio } from './components/radio';
export { type IRadioGroupProps, RadioGroup } from './components/radio-group';
export { type IScrollbarProps, Scrollbar } from './components/scrollbar';
@@ -54,11 +54,11 @@ export { type ISelectProps, Select } from './components/select';
export { type ISelectListProps, SelectList } from './components/select-list';
export { type ISegmentedProps, Segmented } from './components/segmented';
export { type ISliderProps, Slider } from './components/slider';
export { type ITooltipProps, Tooltip, resizeObserverCtor, type NullableTooltipRef } from './components/tooltip';
export { type ITreeNodeProps, type ITreeProps, Tree, TreeSelectionMode, mergeTreeSelected, findSubTreeFromPath, findNodePathFromTree, filterLeafNode } from './components/tree';
export { type ITooltipProps, type NullableTooltipRef, resizeObserverCtor, Tooltip } from './components/tooltip';
export { filterLeafNode, findNodePathFromTree, findSubTreeFromPath, type ITreeNodeProps, type ITreeProps, mergeTreeSelected, Tree, TreeSelectionMode } from './components/tree';
export { Switch } from './components/switch';
export { type ILocale } from './locale/interface';
export { defaultTheme, greenTheme, themeInstance } from './themes';
export { DraggableList, type IDraggableListProps } from './components/draggable-list';
export { Textarea, type ITextareaProps } from './components/textarea';
export { Mentions, type IMentionsProps, Mention, type MentionProps } from './components/mentions';
export { type ITextareaProps, Textarea } from './components/textarea';
export { type IMentionsProps, Mention, type MentionProps, Mentions } from './components/mentions';
+2 -2
View File
@@ -95,8 +95,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -1
View File
@@ -15,6 +15,7 @@
*/
export { UniverDocsDrawingUIPlugin } from './plugin';
export { IMAGE_MENU_ID } from './views/menu/image.menu';
// #region - all commands
@@ -31,5 +32,4 @@ export { EditDocDrawingOperation } from './commands/operations/edit-doc-drawing.
export { InsertDocImageCommand } from './commands/commands/insert-image.command';
export { SidebarDocDrawingOperation } from './commands/operations/open-drawing-panel.operation';
export { IMAGE_MENU_ID } from './views/menu/image.menu';
// #endregion
+2 -2
View File
@@ -68,8 +68,8 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -4
View File
@@ -15,9 +15,6 @@
*/
export { UniverDocsDrawingPlugin } from './plugin';
export { type IDocDrawing, IDocDrawingService, DocDrawingService } from './services/doc-drawing.service';
export { DocDrawingService, type IDocDrawing, IDocDrawingService } from './services/doc-drawing.service';
export { DOCS_DRAWING_PLUGIN, type IDocDrawingModel } from './controllers/doc-drawing.controller';
// #region - all commands
// #endregion
+2 -2
View File
@@ -85,8 +85,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -67,8 +67,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -88,8 +88,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -82,8 +82,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -92,8 +92,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+57 -37
View File
@@ -14,7 +14,6 @@
* limitations under the License.
*/
// #endregion
export { DocAutoFormatService } from '../../docs-ui/src/services/doc-auto-format.service';
export * from './basics';
export type { IDocObjectParam } from './basics/component-tools';
@@ -25,6 +24,42 @@ export * from './basics/docs-view-key';
export { hasParagraphInTable } from './basics/paragraph';
export { replaceSelectionFactory } from './basics/replace';
export { docDrawingPositionToTransform, transformToDocDrawingPosition } from './basics/transform-position';
export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
export { TextEditor } from './components/editor/TextEditor';
export { RangeSelector } from './components/range-selector/RangeSelector';
export { DocUIController } from './controllers/doc-ui.controller';
export { menuSchema } from './controllers/menu.schema';
export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
export * from './docs-ui-plugin';
export * from './services';
export { IDocClipboardService } from './services/clipboard/clipboard.service';
export { DocEventManagerService } from './services/doc-event-manager.service';
export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
export { DocCanvasPopManagerService } from './services/doc-popup-manager.service';
export { DocStateChangeManagerService } from './services/doc-state-change-manager.service';
export { DocsRenderService } from './services/docs-render.service';
export { Editor } from './services/editor/editor';
export { EditorService, IEditorService } from './services/editor/editor-manager.service';
export { type IRangeSelectorRange, IRangeSelectorService, RangeSelectorService } from './services/range-selector/range-selector.service';
export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
export { getOneTextSelectionRange } from './services/selection/convert-text-range';
export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
export { DocSelectionRenderService } from './services/selection/doc-selection-render.service';
export type { IDocRange } from './services/selection/range-interface';
export { convertPositionsToRectRanges, RectRange } from './services/selection/rect-range';
export { getCanvasOffsetByEngine } from './services/selection/selection-utils';
export { getAnchorBounding, getLineBounding, TEXT_RANGE_LAYER_INDEX, TextRange } from './services/selection/text-range';
export { whenDocAndEditorFocused } from './shortcuts/utils';
export { DOC_VERTICAL_PADDING } from './types/const/padding';
// #region - all commands
export { AfterSpaceCommand, EnterCommand, type ITabCommandParams, TabCommand } from './commands/commands/auto-format.command';
export { BreakLineCommand } from './commands/commands/break-line.command';
export { generateParagraphs } from './commands/commands/break-line.command';
@@ -45,7 +80,6 @@ export {
export { DeleteCustomBlockCommand, DeleteLeftCommand, DeleteRightCommand, type IDeleteCustomBlockParams, MergeTwoParagraphCommand } from './commands/commands/delete.command';
export { getCursorWhenDelete } from './commands/commands/delete.command';
// #region - all commands
export { IMEInputCommand } from './commands/commands/ime-input.command';
export {
ResetInlineFormatTextBackgroundColorCommand,
@@ -85,9 +119,27 @@ export { SetDocZoomRatioCommand } from './commands/commands/set-doc-zoom-ratio.c
export { CreateDocTableCommand, type ICreateDocTableCommandParams } from './commands/commands/table/doc-table-create.command';
export { DocTableDeleteColumnsCommand, DocTableDeleteRowsCommand, DocTableDeleteTableCommand } from './commands/commands/table/doc-table-delete.command';
export type { IDocTableDeleteColumnsCommandParams, IDocTableDeleteRowsCommandParams, IDocTableDeleteTableCommandParams } from './commands/commands/table/doc-table-delete.command';
export type { IDocTableInsertColumnCommandParams, IDocTableInsertColumnLeftCommandParams, IDocTableInsertColumnRightCommandParams, IDocTableInsertRowAboveCommandParams, IDocTableInsertRowBellowCommandParams, IDocTableInsertRowCommandParams } from './commands/commands/table/doc-table-insert.command';
export { DocTableInsertColumnCommand, DocTableInsertColumnLeftCommand, DocTableInsertColumnRightCommand, DocTableInsertRowAboveCommand, DocTableInsertRowBellowCommand, DocTableInsertRowCommand } from './commands/commands/table/doc-table-insert.command';
export type {
IDocTableDeleteColumnsCommandParams,
IDocTableDeleteRowsCommandParams,
IDocTableDeleteTableCommandParams,
} from './commands/commands/table/doc-table-delete.command';
export type {
IDocTableInsertColumnCommandParams,
IDocTableInsertColumnLeftCommandParams,
IDocTableInsertColumnRightCommandParams,
IDocTableInsertRowAboveCommandParams,
IDocTableInsertRowBellowCommandParams,
IDocTableInsertRowCommandParams,
} from './commands/commands/table/doc-table-insert.command';
export {
DocTableInsertColumnCommand,
DocTableInsertColumnLeftCommand,
DocTableInsertColumnRightCommand,
DocTableInsertRowAboveCommand,
DocTableInsertRowBellowCommand,
DocTableInsertRowCommand,
} from './commands/commands/table/doc-table-insert.command';
export type { IDocTableTabCommandParams } from './commands/commands/table/doc-table-tab.command';
export { DocTableTabCommand } from './commands/commands/table/doc-table-tab.command';
@@ -97,37 +149,5 @@ export { MoveSelectionOperation } from './commands/operations/doc-cursor.operati
export { MoveCursorOperation } from './commands/operations/doc-cursor.operation';
export { SelectAllOperation } from './commands/operations/select-all.operation';
export { type ISetDocZoomRatioOperationParams, SetDocZoomRatioOperation } from './commands/operations/set-doc-zoom-ratio.operation';
export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
export { TextEditor } from './components/editor/TextEditor';
export { RangeSelector } from './components/range-selector/RangeSelector';
export { DocUIController } from './controllers/doc-ui.controller';
export { menuSchema } from './controllers/menu.schema';
export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
export * from './docs-ui-plugin';
export * from './services';
export { IDocClipboardService } from './services/clipboard/clipboard.service';
export { DocEventManagerService } from './services/doc-event-manager.service';
export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
export { DocCanvasPopManagerService } from './services/doc-popup-manager.service';
export { DocStateChangeManagerService } from './services/doc-state-change-manager.service';
export { DocsRenderService } from './services/docs-render.service';
export { Editor } from './services/editor/editor';
export { EditorService, IEditorService } from './services/editor/editor-manager.service';
export { type IRangeSelectorRange, IRangeSelectorService, RangeSelectorService } from './services/range-selector/range-selector.service';
export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
export { getOneTextSelectionRange } from './services/selection/convert-text-range';
export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
export { DocSelectionRenderService } from './services/selection/doc-selection-render.service';
export type { IDocRange } from './services/selection/range-interface';
// #region - all commands
export { convertPositionsToRectRanges, RectRange } from './services/selection/rect-range';
export { getCanvasOffsetByEngine } from './services/selection/selection-utils';
export { getAnchorBounding, getLineBounding, TEXT_RANGE_LAYER_INDEX, TextRange } from './services/selection/text-range';
export { whenDocAndEditorFocused } from './shortcuts/utils';
export { DOC_VERTICAL_PADDING } from './types/const/padding';
// #endregion
+2 -2
View File
@@ -72,8 +72,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+13 -10
View File
@@ -14,16 +14,6 @@
* limitations under the License.
*/
// #region - all commands
export {
type IRichTextEditingMutationParams,
RichTextEditingMutation,
} from './commands/mutations/core-editing.mutation';
export {
type ISetTextSelectionsOperationParams,
SetTextSelectionsOperation,
} from './commands/operations/text-selection.operation';
export type { IUniverDocsConfig } from './controllers/config.schema';
export { UniverDocsPlugin } from './doc-plugin';
export { DocInterceptorService } from './services/doc-interceptor/doc-interceptor.service';
@@ -33,4 +23,17 @@ export { DocSkeletonManagerService } from './services/doc-skeleton-manager.servi
export type { IDocStateChangeInfo, IDocStateChangeParams } from './services/doc-state-emit.service';
export { DocStateEmitService } from './services/doc-state-emit.service';
// #region - all commands
export {
type IRichTextEditingMutationParams,
RichTextEditingMutation,
} from './commands/mutations/core-editing.mutation';
export {
type ISetTextSelectionsOperationParams,
SetTextSelectionsOperation,
} from './commands/operations/text-selection.operation';
// #endregion
+2 -2
View File
@@ -87,8 +87,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -1
View File
@@ -25,7 +25,7 @@ export { ImageCropperObject } from './views/crop/image-cropper-object';
// #region - all commands
export { SetDrawingAlignOperation } from './commands/operations/drawing-align.operation';
export { OpenImageCropOperation, CloseImageCropOperation, AutoImageCropOperation } from './commands/operations/image-crop.operation';
export { AutoImageCropOperation, CloseImageCropOperation, OpenImageCropOperation } from './commands/operations/image-crop.operation';
export { ImageResetSizeOperation } from './commands/operations/image-reset-size.operation';
// #endregion
+2 -2
View File
@@ -71,8 +71,8 @@
"less": "^4.2.0",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+13 -13
View File
@@ -14,31 +14,31 @@
* limitations under the License.
*/
export { DRAWING_IMAGE_WIDTH_LIMIT, DRAWING_IMAGE_HEIGHT_LIMIT, DRAWING_IMAGE_COUNT_LIMIT, DRAWING_IMAGE_ALLOW_SIZE, DRAWING_IMAGE_ALLOW_IMAGE_LIST } from './basics/config';
export { DrawingManagerService, UnitDrawingService, type IDrawingJson1Type, type IDrawingJsonUndo1 } from './services/drawing-manager-impl.service';
export { DRAWING_IMAGE_ALLOW_IMAGE_LIST, DRAWING_IMAGE_ALLOW_SIZE, DRAWING_IMAGE_COUNT_LIMIT, DRAWING_IMAGE_HEIGHT_LIMIT, DRAWING_IMAGE_WIDTH_LIMIT } from './basics/config';
export { DrawingManagerService, type IDrawingJson1Type, type IDrawingJsonUndo1, UnitDrawingService } from './services/drawing-manager-impl.service';
export { getDrawingShapeKeyByDrawingSearch } from './utils/get-image-shape-key';
export { getImageSize } from './utils/get-image-size';
export { UniverDrawingPlugin } from './plugin';
export { type IImageData } from './models/image-model-interface';
export { IImageIoService, type IImageIoServiceParam, ImageSourceType, ImageUploadStatusType } from './services/image-io.service';
export { ImageIoService } from './services/image-io-impl.service';
export type { ITransformState, IRotationSkewFlipTransform } from './services/interface';
export type { IRotationSkewFlipTransform, ITransformState } from './services/interface';
export {
ArrangeTypeEnum,
DEFAULT_DOCUMENT_SUB_COMPONENT_ID,
type DrawingType,
DrawingTypeEnum,
type IDrawingGroupUpdateParam,
IDrawingManagerService,
type IDrawingMap,
type IDrawingMapItem,
type IDrawingMapItemData,
type IDrawingOrderMapParam,
type IDrawingOrderUpdateParam,
type IDrawingParam,
type IDrawingSearch,
type IDrawingSpace,
type IDrawingParam,
IDrawingManagerService,
type IDrawingOrderUpdateParam,
type IUnitDrawingService,
type IDrawingMap,
type IDrawingSubunitMap,
type IDrawingOrderMapParam,
type IDrawingGroupUpdateParam,
type IDrawingVisibleParam,
type IDrawingMapItemData,
type IDrawingMapItem,
ArrangeTypeEnum,
type IUnitDrawingService,
} from './services/drawing-manager.service';
+2 -2
View File
@@ -74,8 +74,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+37 -21
View File
@@ -18,7 +18,10 @@ export type {
IArrayFormulaRangeType,
IArrayFormulaUnitCellType,
IDirtyUnitFeatureMap,
IDirtyUnitOtherFormulaMap,
IDirtyUnitSheetDefinedNameMap,
IDirtyUnitSheetNameMap,
IFeatureDirtyRangeType,
IFormulaData,
IFormulaDataItem,
IFormulaDatasetConfig,
@@ -26,17 +29,14 @@ export type {
ISheetData,
IUnitData,
IUnitSheetNameMap,
IDirtyUnitOtherFormulaMap,
IDirtyUnitSheetDefinedNameMap,
IFeatureDirtyRangeType,
} from './basics/common';
export { isInDirtyRange } from './basics/dirty';
export { ErrorType, ERROR_TYPE_SET } from './basics/error-type';
export { ERROR_TYPE_SET, ErrorType } from './basics/error-type';
export { FunctionType, type IFunctionInfo, type IFunctionParam } from './basics/function';
export { type IFunctionNames } from './basics/function';
export { includeFormulaLexerToken, isFormulaLexerToken, normalizeSheetName } from './basics/match-token';
export { convertUnitDataToRuntime } from './basics/runtime';
export { matchToken, compareToken, operatorToken } from './basics/token';
export { compareToken, matchToken, operatorToken } from './basics/token';
export { LexerNode } from './engine/analysis/lexer-node';
export { LexerTreeBuilder } from './engine/analysis/lexer-tree-builder';
@@ -47,14 +47,14 @@ export {
deserializeRangeWithSheet,
getAbsoluteRefTypeWithSingleString,
getAbsoluteRefTypeWitString,
getRangeWithRefsString,
type IAbsoluteRefTypeForRange,
isReferenceStrings,
isReferenceStringWithEffectiveColumn,
serializeRange,
serializeRangeToRefString,
serializeRangeWithSheet,
serializeRangeWithSpreadsheet,
isReferenceStringWithEffectiveColumn,
getRangeWithRefsString,
isReferenceStrings,
singleReferenceToGrid,
} from './engine/utils/reference';
export { generateStringWithSequence, type ISequenceNode, sequenceNodeType } from './engine/utils/sequence';
@@ -64,7 +64,7 @@ export { BooleanValue } from './basics/common';
export type { PrimitiveValueType } from './engine/value-object/primitive-object';
export { NumberValueObject } from './engine/value-object/primitive-object';
export { BooleanValueObject } from './engine/value-object/primitive-object';
export { StringValueObject, NullValueObject } from './engine/value-object/primitive-object';
export { NullValueObject, StringValueObject } from './engine/value-object/primitive-object';
export { functionArray } from './functions/array/function-map';
export { FUNCTION_NAMES_ARRAY } from './functions/array/function-names';
export { BaseFunction } from './functions/base-function';
@@ -113,9 +113,9 @@ export { FormulaExecuteStageType, type IExecutionInProgressParams } from './serv
export { FormulaExecutedStateType, type IAllRuntimeData } from './services/runtime.service';
export { isReferenceString } from './basics/regex';
export { matchRefDrawToken } from './basics/match-token';
export { IDefinedNamesService, DefinedNamesService, type IDefinedNamesServiceParam, type IDefinedNameMapItem } from './services/defined-names.service';
export { IFormulaRuntimeService, FormulaRuntimeService } from './services/runtime.service';
export { IFormulaCurrentConfigService, FormulaCurrentConfigService, type IFormulaDirtyData } from './services/current-data.service';
export { DefinedNamesService, type IDefinedNameMapItem, IDefinedNamesService, type IDefinedNamesServiceParam } from './services/defined-names.service';
export { FormulaRuntimeService, IFormulaRuntimeService } from './services/runtime.service';
export { FormulaCurrentConfigService, IFormulaCurrentConfigService, type IFormulaDirtyData } from './services/current-data.service';
export { IActiveDirtyManagerService } from './services/active-dirty-manager.service';
export { ActiveDirtyManagerService } from './services/active-dirty-manager.service';
@@ -144,23 +144,39 @@ export { ValueNodeFactory } from './engine/ast-node/value-node';
export { IDependencyManagerService } from './services/dependency-manager.service';
export { DependencyManagerService } from './services/dependency-manager.service';
export { CalculateController } from './controller/calculate.controller';
// #region - all commands
export { RegisterFunctionMutation } from './commands/mutations/register-function.mutation';
export { type ISetArrayFormulaDataMutationParams, SetArrayFormulaDataMutation } from './commands/mutations/set-array-formula-data.mutation';
export { RemoveDefinedNameMutation, SetDefinedNameMutation, type ISetDefinedNameMutationSearchParam, type ISetDefinedNameMutationParam } from './commands/mutations/set-defined-name.mutation';
export {
type ISetDefinedNameMutationParam,
type ISetDefinedNameMutationSearchParam,
RemoveDefinedNameMutation,
SetDefinedNameMutation,
} from './commands/mutations/set-defined-name.mutation';
export { RemoveFeatureCalculationMutation, SetFeatureCalculationMutation } from './commands/mutations/set-feature-calculation.mutation';
export {
SetFormulaCalculationStartMutation,
SetFormulaCalculationStopMutation,
SetFormulaCalculationNotificationMutation,
SetFormulaCalculationResultMutation,
type ISetFormulaCalculationStartMutation,
type ISetFormulaCalculationNotificationMutation,
type ISetFormulaCalculationResultMutation,
type ISetFormulaCalculationStartMutation,
SetFormulaCalculationNotificationMutation,
SetFormulaCalculationResultMutation,
SetFormulaCalculationStartMutation,
SetFormulaCalculationStopMutation,
} from './commands/mutations/set-formula-calculation.mutation';
export { SetFormulaDataMutation, type ISetFormulaDataMutationParams } from './commands/mutations/set-formula-data.mutation';
export { SetOtherFormulaMutation, RemoveOtherFormulaMutation, type ISetOtherFormulaMutationParams, type IRemoveOtherFormulaMutationParams } from './commands/mutations/set-other-formula.mutation';
export { SetSuperTableMutation, RemoveSuperTableMutation, SetSuperTableOptionMutation } from './commands/mutations/set-super-table.mutation';
export { type ISetFormulaDataMutationParams, SetFormulaDataMutation } from './commands/mutations/set-formula-data.mutation';
export {
type IRemoveOtherFormulaMutationParams,
type ISetOtherFormulaMutationParams,
RemoveOtherFormulaMutation,
SetOtherFormulaMutation,
} from './commands/mutations/set-other-formula.mutation';
export {
RemoveSuperTableMutation,
SetSuperTableMutation,
SetSuperTableOptionMutation,
} from './commands/mutations/set-super-table.mutation';
// #endregion
+2 -2
View File
@@ -62,8 +62,8 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -76,8 +76,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"browser": {
"fs": false
+3 -3
View File
@@ -14,11 +14,12 @@
* limitations under the License.
*/
export * from '../components/docs/layout/shaping-engine/font-cache';
export * from './cell-data';
export * from './const';
export * from './document-node-tools';
export * from './draw';
export * from '../components/docs/layout/shaping-engine/font-cache';
export * from './group-transform';
export * from './i-document-skeleton-cached';
export * from './i-events';
export * from './interfaces';
@@ -26,8 +27,7 @@ export * from './path2';
export * from './performance-monitor';
export * from './range';
export * from './scroll-xy';
export * from './text-rotation';
export * from './tools';
export * from './transform';
export * from './vector2';
export * from './text-rotation';
export * from './group-transform';
@@ -17,6 +17,6 @@
export * from './component';
export * from './extension';
export * from './sheets';
export * from './skeleton';
export { RENDER_RAW_FORMULA_KEY } from './sheets/sheet-skeleton';
export * from './skeleton';
export * from './slides';
@@ -17,8 +17,8 @@
export * from './background';
export * from './border';
export * from './column-header-layout';
export * from './custom';
export * from './font';
export * from './marker';
export * from './row-header-layout';
export * from './sheet-extension';
export * from './marker';
export * from './custom';
+3 -3
View File
@@ -14,15 +14,15 @@
* limitations under the License.
*/
export * from './checkbox';
export * from './circle';
export * from './control';
export * from './dashedrect';
export * from './drawing';
export * from './path';
export * from './image';
export * from './path';
export * from './rect';
export * from './regular-polygon';
export * from './rich-text';
export * from './scroll-bar';
export * from './shape';
export * from './checkbox';
export * from './dashedrect';
+2 -2
View File
@@ -113,8 +113,8 @@
"jsdom": "^24.1.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -86,8 +86,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+4 -4
View File
@@ -18,17 +18,17 @@ export { UniverFindReplacePlugin } from './plugin';
export { FindReplaceController } from './controllers/find-replace.controller';
export type {
IFindComplete,
IFindMoveParams,
IFindMatch,
IFindMoveParams,
IFindQuery,
IFindReplaceProvider,
IReplaceAllResult,
} from './services/find-replace.service';
export { FindModel, IFindReplaceService, FindBy, FindScope, FindDirection } from './services/find-replace.service';
export { FindBy, FindDirection, FindModel, FindScope, IFindReplaceService } from './services/find-replace.service';
// #region - all commands
export { ReplaceCurrentMatchCommand, ReplaceAllMatchesCommand } from './commands/commands/replace.command';
export { OpenFindDialogOperation, OpenReplaceDialogOperation, GoToNextMatchOperation, GoToPreviousMatchOperation } from './commands/operations/find-replace.operation';
export { ReplaceAllMatchesCommand, ReplaceCurrentMatchCommand } from './commands/commands/replace.command';
export { GoToNextMatchOperation, GoToPreviousMatchOperation, OpenFindDialogOperation, OpenReplaceDialogOperation } from './commands/operations/find-replace.operation';
// #endregion
+2 -2
View File
@@ -69,8 +69,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+11 -3
View File
@@ -21,16 +21,24 @@ export { FetchHTTPImplementation } from './services/http/implementations/fetch';
export { XHRHTTPImplementation } from './services/http/implementations/xhr';
export { HTTPRequest, type HTTPRequestMethod } from './services/http/request';
export { type HTTPResponseType, HTTPStatusCode } from './services/http/http';
export { HTTPResponse, type HTTPEvent, HTTPResponseError, HTTPEventType, HTTPProgress, ResponseHeader, type HTTPResponseBody } from './services/http/response';
export {
type HTTPEvent,
HTTPEventType,
HTTPProgress,
HTTPResponse,
type HTTPResponseBody,
HTTPResponseError,
ResponseHeader,
} from './services/http/response';
export {
type ISocket,
ISocketService,
type SocketBodyType,
WebSocketService,
} from './services/web-socket/web-socket.service';
export type { IRequestParams, IPostRequestParams } from './services/http/http.service';
export type { IPostRequestParams, IRequestParams } from './services/http/http.service';
export type { HTTPHandlerFn, HTTPInterceptorFn, HTTPInterceptorFnFactory } from './services/http/interceptor';
export { RetryInterceptorFactory, type IRetryInterceptorFactoryParams } from './services/http/interceptors/retry-interceptor';
export { type IRetryInterceptorFactoryParams, RetryInterceptorFactory } from './services/http/interceptors/retry-interceptor';
export { ThresholdInterceptorFactory } from './services/http/interceptors/threshold-interceptor';
export { AuthInterceptorFactory, type IAuthInterceptorParams } from './services/http/interceptors/auth-interceptor';
export { MergeInterceptorFactory } from './services/http/interceptors/merge-interceptor';
+2 -2
View File
@@ -66,8 +66,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -22,13 +22,13 @@ export { DataSyncReplicaController } from './controllers/data-sync/data-sync-rep
export { DataSyncPrimaryController } from './controllers/data-sync/data-sync-primary.controller';
export {
IRemoteInstanceService,
WebWorkerRemoteInstanceService,
RemoteInstanceServiceName,
RemoteSyncPrimaryService,
RemoteSyncServiceName,
WebWorkerRemoteInstanceService,
} from './services/remote-instance/remote-instance.service';
export { ChannelService, IRPCChannelService } from './services/rpc/channel.service';
export { ChannelClient, ChannelServer, type IMessageProtocol, fromModule, toModule } from './services/rpc/rpc.service';
export { ChannelClient, ChannelServer, fromModule, type IMessageProtocol, toModule } from './services/rpc/rpc.service';
export { IRemoteSyncService } from './services/remote-instance/remote-instance.service';
export type { IUniverRPCMainThreadConfig, IUniverRPCWorkerThreadConfig } from './controllers/config.schema';
@@ -106,8 +106,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -82,8 +82,8 @@
"rxjs": "^7.8.1",
"sharp": "^0.33.5",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -15,11 +15,6 @@
*/
export * from './base/const';
export { AddConditionalRuleMutation, AddConditionalRuleMutationUndoFactory, type IAddConditionalRuleMutationParams } from './commands/mutations/add-conditional-rule.mutation';
export { DeleteConditionalRuleMutation, DeleteConditionalRuleMutationUndoFactory, type IDeleteConditionalRuleMutationParams } from './commands/mutations/delete-conditional-rule.mutation';
export { ConditionalFormattingFormulaMarkDirty } from './commands/mutations/formula-mark-dirty.mutation';
export { type IMoveConditionalRuleMutationParams, MoveConditionalRuleMutation, MoveConditionalRuleMutationUndoFactory } from './commands/mutations/move-conditional-rule.mutation';
export { type ISetConditionalRuleMutationParams, SetConditionalRuleMutation, setConditionalRuleMutationUndoFactory } from './commands/mutations/set-conditional-rule.mutation';
export * from './models/conditional-formatting-rule-model';
export * from './models/conditional-formatting-view-model';
export * from './models/icon-map';
@@ -33,13 +28,34 @@ export * from './services/calculate-unit/utils';
export * from './services/conditional-formatting.service';
export * from './services/conditional-formatting-formula.service';
// #region - all commands
export * from './utils/anchor';
export * from './utils/create-cf-id';
export * from './utils/is-ranges-equal';
export * from './utils/remove-undefined-attr';
export * from './utils/type';
// #endregion
// #region - all commands
export {
AddConditionalRuleMutation,
AddConditionalRuleMutationUndoFactory,
type IAddConditionalRuleMutationParams,
} from './commands/mutations/add-conditional-rule.mutation';
export {
DeleteConditionalRuleMutation,
DeleteConditionalRuleMutationUndoFactory,
type IDeleteConditionalRuleMutationParams,
} from './commands/mutations/delete-conditional-rule.mutation';
export { ConditionalFormattingFormulaMarkDirty } from './commands/mutations/formula-mark-dirty.mutation';
export {
type IMoveConditionalRuleMutationParams,
MoveConditionalRuleMutation,
MoveConditionalRuleMutationUndoFactory,
} from './commands/mutations/move-conditional-rule.mutation';
export {
type ISetConditionalRuleMutationParams,
SetConditionalRuleMutation,
setConditionalRuleMutationUndoFactory,
} from './commands/mutations/set-conditional-rule.mutation';
// #endregion
@@ -86,8 +86,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
@@ -20,11 +20,11 @@ export { CROSSHAIR_HIGHLIGHT_COLORS } from './services/crosshair.service';
// #region commands
export {
ToggleCrosshairHighlightOperation,
DisableCrosshairHighlightOperation,
EnableCrosshairHighlightOperation,
SetCrosshairHighlightColorOperation,
type ISetCrosshairHighlightColorOperationParams,
SetCrosshairHighlightColorOperation,
ToggleCrosshairHighlightOperation,
} from './commands/operations/operation';
// #endregion
+2 -2
View File
@@ -102,8 +102,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+15 -13
View File
@@ -14,6 +14,21 @@
* limitations under the License.
*/
export { DATA_VALIDATION_PLUGIN_NAME } from './common/const';
export { UniverSheetsDataValidationMobilePlugin } from './mobile-plugin';
export { SheetDataValidationModel } from './models/sheet-data-validation-model';
export { UniverSheetsDataValidationPlugin } from './plugin';
export { DataValidationCacheService } from './services/dv-cache.service';
export type { IDataValidationResCache } from './services/dv-cache.service';
export { DataValidationCustomFormulaService } from './services/dv-custom-formula.service';
export { DataValidationFormulaService } from './services/dv-formula.service';
export { SheetsDataValidationValidatorService } from './services/dv-validator-service';
export { DATE_DROPDOWN_KEY, LIST_DROPDOWN_KEY } from './views';
// TODO: @jikkai: I think this is a mistake, it should be exported from here. @weird94
export { DataValidationModel } from '@univerjs/data-validation';
// #region - all commands
export {
AddSheetDataValidationAndOpenCommand,
@@ -39,18 +54,5 @@ export {
ShowDataValidationDropdown,
ToggleValidationPanelOperation,
} from './commands/operations/data-validation.operation';
export { DATA_VALIDATION_PLUGIN_NAME } from './common/const';
export { UniverSheetsDataValidationMobilePlugin } from './mobile-plugin';
export { SheetDataValidationModel } from './models/sheet-data-validation-model';
export { UniverSheetsDataValidationPlugin } from './plugin';
export { DataValidationCacheService } from './services/dv-cache.service';
export type { IDataValidationResCache } from './services/dv-cache.service';
export { DataValidationCustomFormulaService } from './services/dv-custom-formula.service';
export { DataValidationFormulaService } from './services/dv-formula.service';
export { SheetsDataValidationValidatorService } from './services/dv-validator-service';
export { DATE_DROPDOWN_KEY, LIST_DROPDOWN_KEY } from './views';
export { DataValidationModel } from '@univerjs/data-validation';
// #endregion
@@ -14,5 +14,5 @@
* limitations under the License.
*/
export * from './interface';
export * from './const';
export * from './interface';
@@ -14,8 +14,8 @@
* limitations under the License.
*/
export { CheckboxValidator, CHECKBOX_FORMULA_1, CHECKBOX_FORMULA_2 } from './checkbox-validator';
export { CHECKBOX_FORMULA_1, CHECKBOX_FORMULA_2, CheckboxValidator } from './checkbox-validator';
export { DateValidator } from './date-validator';
export { ListValidator } from './list-validator';
export { DecimalValidator } from './decimal-validator';
export { ListValidator } from './list-validator';
export { TextLengthValidator } from './text-length-validator';
@@ -14,8 +14,8 @@
* limitations under the License.
*/
export { DataValidationPanel } from './panel';
export { ListDropDown } from './list-dropdown';
export { DateDropdown } from './date-dropdown';
export { ListDropDown } from './list-dropdown';
export { DataValidationPanel } from './panel';
export const LIST_DROPDOWN_KEY = 'data-validation.list.dropdown';
export const DATE_DROPDOWN_KEY = 'data-validation.date.dropdown';
+2 -2
View File
@@ -95,8 +95,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+3 -3
View File
@@ -15,7 +15,8 @@
*/
export { UniverSheetsDrawingUIPlugin } from './plugin';
export { SheetCanvasFloatDomManagerService, type ICanvasFloatDom } from './services/canvas-float-dom-manager.service';
export { type ICanvasFloatDom, SheetCanvasFloatDomManagerService } from './services/canvas-float-dom-manager.service';
export { IMAGE_MENU_ID } from './views/menu/image.menu';
// #region - all commands
@@ -30,8 +31,7 @@ export { UngroupSheetDrawingCommand } from './commands/commands/ungroup-sheet-dr
export { ClearSheetDrawingTransformerOperation } from './commands/operations/clear-drawing-transformer.operation';
export { EditSheetDrawingOperation } from './commands/operations/edit-sheet-drawing.operation';
export { InsertFloatImageCommand, type IInsertImageCommandParams } from './commands/commands/insert-image.command';
export { type IInsertImageCommandParams, InsertFloatImageCommand } from './commands/commands/insert-image.command';
export { SidebarSheetDrawingOperation } from './commands/operations/open-drawing-panel.operation';
export { IMAGE_MENU_ID } from './views/menu/image.menu';
// #endregion
+2 -2
View File
@@ -69,8 +69,8 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -1
View File
@@ -20,6 +20,6 @@ export type { IFloatDomData, ISheetDrawing, ISheetDrawingPosition, ISheetFloatDo
// #region - all commands
export { SetDrawingApplyMutation, DrawingApplyType, type ISetDrawingApplyMutationParams } from './commands/mutations/set-drawing-apply.mutation';
export { DrawingApplyType, type ISetDrawingApplyMutationParams, SetDrawingApplyMutation } from './commands/mutations/set-drawing-apply.mutation';
// #endregion
+2 -2
View File
@@ -94,8 +94,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+7 -7
View File
@@ -21,20 +21,20 @@ export { UniverSheetsFilterUIWorkerPlugin } from './worker/plugin';
// #region - all commands
export {
SmartToggleSheetsFilterCommand,
SetSheetsFilterCriteriaCommand,
ClearSheetsFilterCriteriaCommand,
SetSheetFilterRangeCommand,
RemoveSheetFilterCommand,
type ISetSheetFilterRangeCommandParams,
ReCalcSheetsFilterCommand,
type ISetSheetsFilterCriteriaCommandParams,
ReCalcSheetsFilterCommand,
RemoveSheetFilterCommand,
SetSheetFilterRangeCommand,
SetSheetsFilterCriteriaCommand,
SmartToggleSheetsFilterCommand,
} from './commands/commands/sheets-filter.command';
export {
OpenFilterPanelOperation,
CloseFilterPanelOperation,
ChangeFilterByOperation,
CloseFilterPanelOperation,
type IOpenFilterPanelOperationParams,
OpenFilterPanelOperation,
} from './commands/operations/sheets-filter.operation';
// #endregion
+2 -2
View File
@@ -70,8 +70,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+7 -7
View File
@@ -18,26 +18,26 @@ export { UniverSheetsFilterPlugin } from './plugin';
export { FilterColumn, FilterModel } from './models/filter-model';
export {
equals,
notEquals,
getCustomFilterFn,
greaterThan,
greaterThanOrEqualTo,
lessThan,
lessThanOrEqualTo,
notEquals,
} from './models/custom-filters';
export { SheetsFilterService, FILTER_MUTATIONS, SHEET_FILTER_SNAPSHOT_ID } from './services/sheet-filter.service';
export type { IAutoFilter, IFilterColumn, IFilters, ICustomFilters, ICustomFilter } from './models/types';
export { FILTER_MUTATIONS, SHEET_FILTER_SNAPSHOT_ID, SheetsFilterService } from './services/sheet-filter.service';
export type { IAutoFilter, ICustomFilter, ICustomFilters, IFilterColumn, IFilters } from './models/types';
export { CustomFilterOperator } from './models/types';
// #region - all commands
export {
type ISetSheetsFilterRangeMutationParams,
type ISetSheetsFilterCriteriaMutationParams,
SetSheetsFilterRangeMutation,
SetSheetsFilterCriteriaMutation,
RemoveSheetsFilterMutation,
type ISetSheetsFilterRangeMutationParams,
ReCalcSheetsFilterMutation,
RemoveSheetsFilterMutation,
SetSheetsFilterCriteriaMutation,
SetSheetsFilterRangeMutation,
} from './commands/mutations/sheets-filter.mutation';
// #endregion
+2 -2
View File
@@ -82,8 +82,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -99,8 +99,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
export { UniverRemoteSheetsFormulaPlugin, UniverSheetsFormulaPlugin, UniverSheetsFormulaMobilePlugin } from './formula-ui-plugin';
export { UniverRemoteSheetsFormulaPlugin, UniverSheetsFormulaMobilePlugin, UniverSheetsFormulaPlugin } from './formula-ui-plugin';
export { IDescriptionService } from './services/description.service';
export { DescriptionService } from './services/description.service';
export type { IRegisterFunctionParams, IUnregisterFunctionParams } from './services/register-function.service';
+2 -2
View File
@@ -97,8 +97,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+13 -10
View File
@@ -14,16 +14,6 @@
* limitations under the License.
*/
export { AddHyperLinkCommand, type IAddHyperLinkCommandParams } from './commands/commands/add-hyper-link.command';
export { CancelHyperLinkCommand, type ICancelHyperLinkCommandParams } from './commands/commands/remove-hyper-link.command';
export { type IUpdateHyperLinkCommandParams, UpdateHyperLinkCommand } from './commands/commands/update-hyper-link.command';
// #region - all commands
export {
CloseHyperLinkPopupOperation,
InsertHyperLinkOperation,
type IOpenHyperLinkEditPanelOperationParams,
OpenHyperLinkEditPanelOperation,
} from './commands/operations/popup.operations';
export { SheetsHyperLinkCopyPasteController } from './controllers/copy-paste.controller';
export { InsertLinkShortcut } from './controllers/menu';
export { UniverSheetsHyperLinkUIPlugin } from './plugin';
@@ -33,4 +23,17 @@ export { SheetsHyperLinkPopupService } from './services/popup.service';
export { SheetsHyperLinkResolverService } from './services/resolver.service';
export { type ICustomHyperLinkView, SheetsHyperLinkSidePanelService } from './services/side-panel.service';
export type { ISheetHyperLinkInfo, ISheetUrlParams } from './types/interfaces';
// #region - all commands
export { AddHyperLinkCommand, type IAddHyperLinkCommandParams } from './commands/commands/add-hyper-link.command';
export { CancelHyperLinkCommand, type ICancelHyperLinkCommandParams } from './commands/commands/remove-hyper-link.command';
export { type IUpdateHyperLinkCommandParams, UpdateHyperLinkCommand } from './commands/commands/update-hyper-link.command';
export {
CloseHyperLinkPopupOperation,
InsertHyperLinkOperation,
type IOpenHyperLinkEditPanelOperationParams,
OpenHyperLinkEditPanelOperation,
} from './commands/operations/popup.operations';
// #endregion
+2 -2
View File
@@ -74,8 +74,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+7 -2
View File
@@ -24,8 +24,13 @@ export { ERROR_RANGE } from './types/const';
// #region - all commands
export { AddHyperLinkMutation, type IAddHyperLinkMutationParams } from './commands/mutations/add-hyper-link.mutation';
export { RemoveHyperLinkMutation, type IRemoveHyperLinkMutationParams } from './commands/mutations/remove-hyper-link.mutation';
export { UpdateHyperLinkMutation, UpdateHyperLinkRefMutation, type IUpdateHyperLinkMutationParams, type IUpdateHyperLinkRefMutationParams } from './commands/mutations/update-hyper-link.mutation';
export { type IRemoveHyperLinkMutationParams, RemoveHyperLinkMutation } from './commands/mutations/remove-hyper-link.mutation';
export {
type IUpdateHyperLinkMutationParams,
type IUpdateHyperLinkRefMutationParams,
UpdateHyperLinkMutation,
UpdateHyperLinkRefMutation,
} from './commands/mutations/update-hyper-link.mutation';
// #endregion
+2 -2
View File
@@ -93,8 +93,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+6 -5
View File
@@ -15,18 +15,19 @@
*/
export { countryCurrencyMap } from './base/const/CURRENCY-SYMBOLS';
export { UniverSheetsNumfmtPlugin } from './numfmt-plugin';
export { MenuCurrencyService } from './service/menu.currency.service';
export { getPatternPreview, getPatternType } from './utils/pattern';
// #region - all commands
export { AddDecimalCommand } from './commands/commands/add-decimal.command';
export { SetCurrencyCommand } from './commands/commands/set-currency.command';
export { type ISetNumfmtCommandParams, SetNumfmtCommand } from './commands/commands/set-numfmt.command';
// #region - all commands
export { SetPercentCommand } from './commands/commands/set-percent.command';
export { SubtractDecimalCommand } from './commands/commands/subtract-decimal.command';
export { CloseNumfmtPanelOperator } from './commands/operations/close.numfmt.panel.operation';
export { OpenNumfmtPanelOperator } from './commands/operations/open.numfmt.panel.operation';
export { UniverSheetsNumfmtPlugin } from './numfmt-plugin';
export { MenuCurrencyService } from './service/menu.currency.service';
export { getPatternPreview, getPatternType } from './utils/pattern';
// #endregion
+2 -2
View File
@@ -90,8 +90,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+5 -5
View File
@@ -21,14 +21,14 @@ export { UniverSheetsSortUIPlugin } from './plugin';
export {
SortRangeAscCommand,
SortRangeAscExtCommand,
SortRangeAscExtInCtxMenuCommand,
SortRangeAscInCtxMenuCommand,
SortRangeCustomCommand,
SortRangeCustomInCtxMenuCommand,
SortRangeDescCommand,
SortRangeDescExtCommand,
SortRangeCustomCommand,
SortRangeAscInCtxMenuCommand,
SortRangeAscExtInCtxMenuCommand,
SortRangeDescInCtxMenuCommand,
SortRangeDescExtInCtxMenuCommand,
SortRangeCustomInCtxMenuCommand,
SortRangeDescInCtxMenuCommand,
} from './commands/commands/sheets-sort.command';
// #endregion
+2 -2
View File
@@ -72,8 +72,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+1 -1
View File
@@ -17,7 +17,7 @@
export { UniverSheetsSortPlugin } from './plugin';
export { SheetsSortService } from './services/sheets-sort.service';
export { type ISortOption, SortType, type IOrderRule } from './services/interface';
export { type IOrderRule, type ISortOption, SortType } from './services/interface';
// #region - all commands
@@ -75,8 +75,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -88,8 +88,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+4 -3
View File
@@ -18,8 +18,12 @@ export { ShowAddSheetCommentModalOperation } from './commands/operations/comment
export { UniverSheetsThreadCommentPlugin } from './plugin';
export { SheetsThreadCommentPopupService } from './services/sheets-thread-comment-popup.service';
export { SHEETS_THREAD_COMMENT } from './types/const';
export { SheetsThreadCommentModel } from '@univerjs/sheets-thread-comment-base';
export { IThreadCommentDataSourceService } from '@univerjs/thread-comment';
// #region - all commands
export {
AddCommentCommand,
DeleteCommentCommand,
@@ -27,9 +31,6 @@ export {
ResolveCommentCommand,
UpdateCommentCommand,
} from '@univerjs/thread-comment';
// #region - all commands
export type {
IAddCommentCommandParams,
IDeleteCommentCommandParams,
+2 -2
View File
@@ -99,8 +99,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+13 -8
View File
@@ -14,8 +14,6 @@
* limitations under the License.
*/
/* eslint-disable perfectionist/sort-exports */
export { SheetsUIPart } from './consts/ui-name';
export { SHEET_UI_PLUGIN_NAME } from './consts/plugin-name';
export { getEditorObject } from './basics/editor/get-editor-object';
@@ -101,6 +99,11 @@ export { SheetPermissionInitController } from './controllers/permission/sheet-pe
export { FormatPainterStatus, IFormatPainterService } from './services/format-painter/format-painter.service';
export type { IFormatPainterBeforeApplyHookParams, IFormatPainterHook } from './services/format-painter/format-painter.service';
export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
export { FONT_FAMILY_COMPONENT, FONT_FAMILY_ITEM_COMPONENT } from './components/font-family/interface';
export { FONT_SIZE_COMPONENT } from './components/font-size/interface';
export { attachPrimaryWithCoord, attachSelectionWithCoord } from './services/selection/util';
export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
export { menuSchema } from './controllers/menu.schema';
@@ -164,7 +167,13 @@ export {
export { ExpandSelectionCommand, JumpOver, MoveSelectionCommand, MoveSelectionEnterAndTabCommand, SelectAllCommand } from './commands/commands/set-selection.command';
export { ChangeZoomRatioCommand, SetZoomRatioCommand } from './commands/commands/set-zoom-ratio.command';
export { ShowMenuListCommand } from './commands/commands/unhide.command';
export { AddWorksheetProtectionCommand, ChangeSheetProtectionFromSheetBarCommand, DeleteWorksheetProtectionCommand, DeleteWorksheetProtectionFormSheetBarCommand, SetWorksheetProtectionCommand } from './commands/commands/worksheet-protection.command';
export {
AddWorksheetProtectionCommand,
ChangeSheetProtectionFromSheetBarCommand,
DeleteWorksheetProtectionCommand,
DeleteWorksheetProtectionFormSheetBarCommand,
SetWorksheetProtectionCommand,
} from './commands/commands/worksheet-protection.command';
export { SetActivateCellEditOperation } from './commands/operations/activate-cell-edit.operation';
export { SetCellEditVisibleArrowOperation, SetCellEditVisibleOperation, SetCellEditVisibleWithF2Operation } from './commands/operations/cell-edit.operation';
@@ -176,9 +185,5 @@ export { SetZoomRatioOperation } from './commands/operations/set-zoom-ratio.oper
export { SheetPermissionOpenDialogOperation } from './commands/operations/sheet-permission-open-dialog.operation';
export { SheetPermissionOpenPanelOperation } from './commands/operations/sheet-permission-open-panel.operation';
export { SidebarDefinedNameOperation } from './commands/operations/sidebar-defined-name.operation';
export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
export { FONT_FAMILY_COMPONENT, FONT_FAMILY_ITEM_COMPONENT } from './components/font-family/interface';
export { FONT_SIZE_COMPONENT } from './components/font-size/interface';
export { attachPrimaryWithCoord, attachSelectionWithCoord } from './services/selection/util';
export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
// #endregion
@@ -14,9 +14,9 @@
* limitations under the License.
*/
export { SheetPermissionPanel } from './panel';
export { SheetPermissionPanelFooter } from './footer';
export { SheetPermissionPanelList } from './panel-list';
export { SheetPermissionPanelAddFooter } from './footer/permission-list-footer';
export { SheetPermissionUserDialog } from './user-dialog';
export { SheetPermissionPanel } from './panel';
export { SheetPermissionPanelList } from './panel-list';
export { SheetPermissionDialog } from './permission-dialog';
export { SheetPermissionUserDialog } from './user-dialog';
+2 -2
View File
@@ -94,8 +94,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -80,8 +80,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+149 -152
View File
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/* eslint-disable perfectionist/sort-named-exports */
/* eslint-disable perfectionist/sort-exports */
export { UniverSheetsPlugin } from './sheets-plugin';
// #region services
@@ -46,25 +43,17 @@ export {
SELECTION_CONTROL_BORDER_BUFFER_WIDTH,
transformCellDataToSelectionData,
} from './basics/selection';
export { rangeMerge, createTopMatrixFromRanges, createTopMatrixFromMatrix, findAllRectangle, RangeMergeUtil } from './basics/rangeMerge';
export { getSheetCommandTarget, getSheetCommandTargetWorkbook, getSheetMutationTarget } from './commands/commands/utils/target-util';
export { alignToMergedCellsBorders, getCellAtRowCol, setEndForRange, isSingleCellSelection } from './commands/commands/utils/selection-utils';
export { getSelectionsService } from './commands/utils/selection-command-util';
export { followSelectionOperation, getPrimaryForRange } from './commands/commands/utils/selection-utils';
export { handleDeleteRangeMutation } from './commands/utils/handle-range-mutation';
export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/utils/handle-range-mutation';
export { handleInsertRangeMutation } from './commands/utils/handle-range-mutation';
export { type ISheetCommandSharedParams } from './commands/utils/interface';
export { createTopMatrixFromMatrix, createTopMatrixFromRanges, findAllRectangle, rangeMerge, RangeMergeUtil } from './basics/rangeMerge';
export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
export { BorderStyleManagerService, type IBorderInfo } from './services/border-style-manager.service';
export * from './services/permission/permission-point';
export { WorksheetPermissionService } from './services/permission/worksheet-permission/worksheet-permission.service';
export { WorkbookPermissionService } from './services/permission/workbook-permission/workbook-permission.service';
export {
DISABLE_NORMAL_SELECTIONS,
SelectionMoveType,
SheetsSelectionsService,
WorkbookSelections,
SelectionMoveType,
DISABLE_NORMAL_SELECTIONS,
} from './services/selections/selection-manager.service';
export { IRefSelectionsService, RefSelectionsService } from './services/selections/ref-selections.service';
@@ -80,6 +69,10 @@ export {
handleBaseInsertRange,
handleBaseMoveRowsCols,
handleBaseRemoveRange,
handleCommonDefaultRangeChangeWithEffectRefCommands,
handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests,
handleDefaultRangeChangeWithEffectRefCommands,
handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests,
handleDeleteRangeMoveLeft,
handleDeleteRangeMoveUp,
handleInsertCol,
@@ -93,15 +86,11 @@ export {
handleMoveRows,
rotateRange,
runRefRangeMutations,
handleCommonDefaultRangeChangeWithEffectRefCommands,
handleDefaultRangeChangeWithEffectRefCommands,
handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests,
handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests,
} from './services/ref-range/util';
export { INTERCEPTOR_POINT, InterceptCellContentPriority } from './services/sheet-interceptor/interceptor-const';
export { InterceptCellContentPriority, INTERCEPTOR_POINT } from './services/sheet-interceptor/interceptor-const';
export { SheetInterceptorService } from './services/sheet-interceptor/sheet-interceptor.service';
export type { ISheetLocation, ISheetLocationBase, ISheetRowLocation } from './services/sheet-interceptor/utils/interceptor';
export { MergeCellController, MERGE_CELL_INTERCEPTOR_CHECK } from './controllers/merge-cell.controller';
export { MERGE_CELL_INTERCEPTOR_CHECK, MergeCellController } from './controllers/merge-cell.controller';
export { AddMergeRedoSelectionsOperationFactory, AddMergeUndoSelectionsOperationFactory } from './commands/utils/handle-merge-operation';
export type { FormatType } from './services/numfmt/type';
@@ -112,78 +101,86 @@ export { ExclusiveRangeService, IExclusiveRangeService } from './services/exclus
// permission
export { defaultWorksheetPermissionPoint, getAllWorksheetPermissionPoint, getAllWorksheetPermissionPointByPointPanel } from './services/permission';
export type { IWorksheetProtectionRule } from './services/permission/type';
export { WorksheetProtectionRuleModel, WorksheetProtectionPointModel } from './services/permission/worksheet-permission';
export { getAllWorkbookPermissionPoint, defaultWorkbookPermissionPoints } from './services/permission/workbook-permission';
export { WorksheetProtectionPointModel, WorksheetProtectionRuleModel } from './services/permission/worksheet-permission';
export { defaultWorkbookPermissionPoints, getAllWorkbookPermissionPoint } from './services/permission/workbook-permission';
export {
WorkbookCommentPermission,
WorkbookCopyPermission,
WorkbookCreateSheetPermission,
WorkbookDeleteSheetPermission,
WorkbookDuplicatePermission,
WorkbookEditablePermission,
WorkbookExportPermission,
WorkbookHideSheetPermission,
WorkbookHistoryPermission,
WorkbookManageCollaboratorPermission,
WorkbookMoveSheetPermission,
WorkbookPrintPermission,
WorkbookRecoverHistoryPermission,
WorkbookRenameSheetPermission,
WorkbookSharePermission,
WorkbookViewHistoryPermission,
WorkbookViewPermission,
WorksheetCopyPermission,
WorksheetDeleteColumnPermission,
WorksheetDeleteRowPermission,
WorksheetEditExtraObjectPermission,
WorksheetEditPermission,
WorksheetFilterPermission,
WorksheetInsertColumnPermission,
WorksheetInsertHyperlinkPermission,
WorksheetInsertRowPermission,
WorksheetManageCollaboratorPermission,
WorksheetPivotTablePermission,
WorksheetSelectProtectedCellsPermission,
WorksheetSelectUnProtectedCellsPermission,
WorksheetSetCellStylePermission,
WorksheetSetCellValuePermission,
WorksheetViewPermission,
WorksheetSetRowStylePermission,
WorksheetSetColumnStylePermission,
WorksheetInsertRowPermission,
WorksheetInsertColumnPermission,
WorksheetInsertHyperlinkPermission,
WorksheetDeleteRowPermission,
WorksheetDeleteColumnPermission,
WorksheetSetRowStylePermission,
WorksheetSortPermission,
WorksheetFilterPermission,
WorksheetPivotTablePermission,
WorksheetEditExtraObjectPermission,
WorksheetManageCollaboratorPermission,
WorksheetEditPermission,
WorkbookCommentPermission,
WorkbookEditablePermission,
WorkbookDuplicatePermission,
WorkbookPrintPermission,
WorkbookExportPermission,
WorkbookMoveSheetPermission,
WorkbookDeleteSheetPermission,
WorkbookHideSheetPermission,
WorkbookRenameSheetPermission,
WorkbookCreateSheetPermission,
WorkbookHistoryPermission,
WorkbookViewPermission,
WorkbookSharePermission,
WorkbookCopyPermission,
WorkbookManageCollaboratorPermission,
WorkbookViewHistoryPermission,
WorkbookRecoverHistoryPermission,
WorksheetViewPermission,
} from './services/permission/permission-point';
export { UnitObject } from '@univerjs/protocol';
export { checkRangesEditablePermission } from './services/permission/util';
// range-protection
export { RangeProtectionRenderModel, type ICellPermission } from './model/range-protection-render.model';
export { RangeProtectionRuleModel, type IObjectModel, type IRangeProtectionRule, type IModel } from './model/range-protection-rule.model';
export { type ICellPermission, RangeProtectionRenderModel } from './model/range-protection-render.model';
export { type IModel, type IObjectModel, type IRangeProtectionRule, RangeProtectionRuleModel } from './model/range-protection-rule.model';
export type { IWorksheetProtectionRenderCellData } from './services/permission/worksheet-permission/type';
export { RangeProtectionRefRangeService } from './services/permission/range-permission/range-protection.ref-range';
export { RangeProtectionService } from './services/permission/range-permission/range-protection.service';
export {
type IRangePermissionPoint,
getAllRangePermissionPoint,
getDefaultRangePermission,
type IRangePermissionPoint,
} from './services/permission/range-permission/util';
export { RangeProtectionPermissionEditPoint } from './services/permission/permission-point/range/edit';
export { RangeProtectionPermissionViewPoint } from './services/permission/permission-point/range/view';
export { generateNullCellValue, generateNullCell } from './basics/utils';
export { generateNullCell, generateNullCellValue } from './basics/utils';
export { getSheetCommandTarget, getSheetCommandTargetWorkbook, getSheetMutationTarget } from './commands/commands/utils/target-util';
export { alignToMergedCellsBorders, getCellAtRowCol, isSingleCellSelection, setEndForRange } from './commands/commands/utils/selection-utils';
export { getSelectionsService } from './commands/utils/selection-command-util';
export { followSelectionOperation, getPrimaryForRange } from './commands/commands/utils/selection-utils';
export { handleDeleteRangeMutation } from './commands/utils/handle-range-mutation';
export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/utils/handle-range-mutation';
export { handleInsertRangeMutation } from './commands/utils/handle-range-mutation';
export { type ISheetCommandSharedParams } from './commands/utils/interface';
export { copyRangeStyles } from './commands/commands/utils/selection-utils';
// #region - all commands
export { AddRangeProtectionCommand, type IAddRangeProtectionCommandParams } from './commands/commands/add-range-protection.command';
export {
AddWorksheetMergeCommand,
AddWorksheetMergeAllCommand,
AddWorksheetMergeVerticalCommand,
AddWorksheetMergeHorizontalCommand,
addMergeCellsUtil,
AddWorksheetMergeAllCommand,
AddWorksheetMergeCommand,
AddWorksheetMergeHorizontalCommand,
AddWorksheetMergeVerticalCommand,
} from './commands/commands/add-worksheet-merge.command';
export { ClearSelectionAllCommand } from './commands/commands/clear-selection-all.command';
export { ClearSelectionContentCommand } from './commands/commands/clear-selection-content.command';
@@ -196,75 +193,59 @@ export { InsertDefinedNameCommand } from './commands/commands/insert-defined-nam
export { InsertRangeMoveDownCommand, type InsertRangeMoveDownCommandParams } from './commands/commands/insert-range-move-down.command';
export { InsertRangeMoveRightCommand, type InsertRangeMoveRightCommandParams } from './commands/commands/insert-range-move-right.command';
export {
InsertRowCommand,
InsertRowBeforeCommand,
InsertRowAfterCommand,
InsertColCommand,
InsertColBeforeCommand,
InsertColAfterCommand,
type IInsertRowCommandParams,
type IInsertColCommandParams,
type IInsertRowCommandParams,
InsertColAfterCommand,
InsertColBeforeCommand,
InsertColCommand,
InsertRowAfterCommand,
InsertRowBeforeCommand,
InsertRowCommand,
} from './commands/commands/insert-row-col.command';
export { InsertSheetCommand, type IInsertSheetCommandParams } from './commands/commands/insert-sheet.command';
export { MoveRangeCommand, getMoveRangeUndoRedoMutations, type IMoveRangeCommandParams } from './commands/commands/move-range.command';
export { type IInsertSheetCommandParams, InsertSheetCommand } from './commands/commands/insert-sheet.command';
export { getMoveRangeUndoRedoMutations, type IMoveRangeCommandParams, MoveRangeCommand } from './commands/commands/move-range.command';
export {
MoveRowsCommand,
MoveColsCommand,
type IMoveRowsCommandParams,
type IMoveColsCommandParams,
type IMoveRowsCommandParams,
MoveColsCommand,
MoveRowsCommand,
} from './commands/commands/move-rows-cols.command';
export { RemoveDefinedNameCommand } from './commands/commands/remove-defined-name.command';
export { RemoveRowCommand, RemoveColCommand, type IRemoveRowColCommandParams, type IRemoveRowColCommandInterceptParams } from './commands/commands/remove-row-col.command';
export { RemoveSheetCommand, type IRemoveSheetCommandParams } from './commands/commands/remove-sheet.command';
export { type IRemoveRowColCommandInterceptParams, type IRemoveRowColCommandParams, RemoveColCommand, RemoveRowCommand } from './commands/commands/remove-row-col.command';
export { type IRemoveSheetCommandParams, RemoveSheetCommand } from './commands/commands/remove-sheet.command';
export { RemoveWorksheetMergeCommand } from './commands/commands/remove-worksheet-merge.command';
export { ReorderRangeCommand, type IReorderRangeCommandParams } from './commands/commands/reorder-range.command';
export { type IReorderRangeCommandParams, ReorderRangeCommand } from './commands/commands/reorder-range.command';
export {
SetBorderBasicCommand,
SetBorderPositionCommand,
SetBorderStyleCommand,
SetBorderColorCommand,
SetBorderCommand,
type ISetBorderBasicCommandParams,
type ISetBorderPositionCommandParams,
type ISetBorderStyleCommandParams,
type ISetBorderColorCommandParams,
type ISetBorderCommandParams,
type ISetBorderPositionCommandParams,
type ISetBorderStyleCommandParams,
SetBorderBasicCommand,
SetBorderColorCommand,
SetBorderCommand,
SetBorderPositionCommand,
SetBorderStyleCommand,
} from './commands/commands/set-border-command';
export {
SetSpecificColsVisibleCommand,
SetSelectedColsVisibleCommand,
SetColHiddenCommand,
type ISetSpecificColsVisibleCommandParams,
SetColHiddenCommand,
SetSelectedColsVisibleCommand,
SetSpecificColsVisibleCommand,
} from './commands/commands/set-col-visible.command';
export { SetDefinedNameCommand, type ISetDefinedNameCommandParams } from './commands/commands/set-defined-name.command';
export { type ISetDefinedNameCommandParams, SetDefinedNameCommand } from './commands/commands/set-defined-name.command';
export { SetFrozenCancelCommand } from './commands/commands/set-frozen-cancel.command';
export { SetFrozenCommand } from './commands/commands/set-frozen.command';
export { SetHideGridlinesCommand } from './commands/commands/set-hide-gridlines.command';
export { SetRangeProtectionCommand, type ISetRangeProtectionCommandParams } from './commands/commands/set-range-protection.command';
export { SetRangeValuesCommand, type ISetRangeValuesCommandParams } from './commands/commands/set-range-values.command';
export { type ISetRangeProtectionCommandParams, SetRangeProtectionCommand } from './commands/commands/set-range-protection.command';
export { type ISetRangeValuesCommandParams, SetRangeValuesCommand } from './commands/commands/set-range-values.command';
export {
SetSpecificRowsVisibleCommand,
SetSelectedRowsVisibleCommand,
SetRowHiddenCommand,
type ISetSpecificRowsVisibleCommandParams,
SetRowHiddenCommand,
SetSelectedRowsVisibleCommand,
SetSpecificRowsVisibleCommand,
} from './commands/commands/set-row-visible.command';
export {
SetStyleCommand,
SetBoldCommand,
SetItalicCommand,
SetUnderlineCommand,
SetStrikeThroughCommand,
SetOverlineCommand,
SetFontFamilyCommand,
SetFontSizeCommand,
SetTextColorCommand,
ResetTextColorCommand,
SetBackgroundColorCommand,
ResetBackgroundColorCommand,
SetVerticalTextAlignCommand,
SetHorizontalTextAlignCommand,
SetTextWrapCommand,
SetTextRotationCommand,
type ISetColorCommandParams,
type ISetFontFamilyCommandParams,
type ISetFontSizeCommandParams,
@@ -274,122 +255,138 @@ export {
type ISetTextWrapCommandParams,
type ISetVerticalTextAlignCommandParams,
type IStyleTypeValue,
ResetBackgroundColorCommand,
ResetTextColorCommand,
SetBackgroundColorCommand,
SetBoldCommand,
SetFontFamilyCommand,
SetFontSizeCommand,
SetHorizontalTextAlignCommand,
SetItalicCommand,
SetOverlineCommand,
SetStrikeThroughCommand,
SetStyleCommand,
SetTextColorCommand,
SetTextRotationCommand,
SetTextWrapCommand,
SetUnderlineCommand,
SetVerticalTextAlignCommand,
} from './commands/commands/set-style.command';
export { SetTabColorCommand } from './commands/commands/set-tab-color.command';
export { SetWorkbookNameCommand, type ISetWorkbookNameCommandParams } from './commands/commands/set-workbook-name.command';
export { type ISetWorkbookNameCommandParams, SetWorkbookNameCommand } from './commands/commands/set-workbook-name.command';
export {
SetWorksheetActivateCommand,
type ISetWorksheetActivateCommandParams,
SetWorksheetActivateCommand,
} from './commands/commands/set-worksheet-activate.command';
export {
DeltaColumnWidthCommand,
SetColWidthCommand,
type IDeltaColumnWidthCommandParams,
SetColWidthCommand,
} from './commands/commands/set-worksheet-col-width.command';
export { SetWorksheetHideCommand } from './commands/commands/set-worksheet-hide.command';
export {
SetWorksheetNameCommand,
type ISetWorksheetNameCommandParams,
SetWorksheetNameCommand,
} from './commands/commands/set-worksheet-name.command';
export { SetWorksheetOrderCommand } from './commands/commands/set-worksheet-order.command';
export { SetWorksheetPermissionPointsCommand } from './commands/commands/set-worksheet-permission-points.command';
export { SetWorksheetRightToLeftCommand } from './commands/commands/set-worksheet-right-to-left.command';
export {
DeltaRowHeightCommand,
SetRowHeightCommand,
SetWorksheetRowIsAutoHeightCommand,
type IDeltaRowHeightCommand,
type ISetWorksheetRowIsAutoHeightCommandParams,
SetRowHeightCommand,
SetWorksheetRowIsAutoHeightCommand,
} from './commands/commands/set-worksheet-row-height.command';
export { SetWorksheetShowCommand } from './commands/commands/set-worksheet-show.command';
export type { ISetWorksheetShowCommandParams } from './commands/commands/set-worksheet-show.command';
export { AddRangeProtectionMutation, FactoryAddRangeProtectionMutation, type IAddRangeProtectionMutationParams } from './commands/mutations/add-range-protection.mutation';
export { AddWorksheetMergeMutation, AddMergeUndoMutationFactory } from './commands/mutations/add-worksheet-merge.mutation';
export { AddMergeUndoMutationFactory, AddWorksheetMergeMutation } from './commands/mutations/add-worksheet-merge.mutation';
export { AddWorksheetProtectionMutation, type IAddWorksheetProtectionParams } from './commands/mutations/add-worksheet-protection.mutation';
export { DeleteRangeProtectionMutation, FactoryDeleteRangeProtectionMutation, type IDeleteSelectionProtectionMutationParams } from './commands/mutations/delete-range-protection.mutation';
export { DeleteWorksheetProtectionMutation } from './commands/mutations/delete-worksheet-protection.mutation';
export { EmptyMutation } from './commands/mutations/empty.mutation';
export {
InsertRowMutation,
InsertColMutation,
InsertRowMutationUndoFactory,
InsertColMutationUndoFactory,
InsertRowMutation,
InsertRowMutationUndoFactory,
} from './commands/mutations/insert-row-col.mutation';
export { InsertSheetMutation, InsertSheetUndoMutationFactory } from './commands/mutations/insert-sheet.mutation';
export { MoveRangeMutation, type IMoveRangeMutationParams } from './commands/mutations/move-range.mutation';
export { type IMoveRangeMutationParams, MoveRangeMutation } from './commands/mutations/move-range.mutation';
export {
MoveRowsMutation,
MoveColsMutation,
MoveRowsMutationUndoFactory,
MoveColsMutationUndoFactory,
type IMoveRowsMutationParams,
type IMoveColumnsMutationParams,
type IMoveRowsMutationParams,
MoveColsMutation,
MoveColsMutationUndoFactory,
MoveRowsMutation,
MoveRowsMutationUndoFactory,
} from './commands/mutations/move-rows-cols.mutation';
export {
SetNumfmtMutation,
RemoveNumfmtMutation,
factorySetNumfmtUndoMutation,
factoryRemoveNumfmtUndoMutation,
transformCellsToRange,
type ISetNumfmtMutationParams,
factorySetNumfmtUndoMutation,
type IRemoveNumfmtMutationParams,
type ISetCellsNumfmt,
type ISetNumfmtMutationParams,
RemoveNumfmtMutation,
SetNumfmtMutation,
transformCellsToRange,
} from './commands/mutations/numfmt-mutation';
export { RemoveRowMutation, RemoveColMutation } from './commands/mutations/remove-row-col.mutation';
export { RemoveColMutation, RemoveRowMutation } from './commands/mutations/remove-row-col.mutation';
export { RemoveSheetMutation, RemoveSheetUndoMutationFactory } from './commands/mutations/remove-sheet.mutation';
export { RemoveWorksheetMergeMutation, RemoveMergeUndoMutationFactory } from './commands/mutations/remove-worksheet-merge.mutation';
export { ReorderRangeMutation, ReorderRangeUndoMutationFactory, type IReorderRangeMutationParams } from './commands/mutations/reorder-range.mutation';
export { RemoveMergeUndoMutationFactory, RemoveWorksheetMergeMutation } from './commands/mutations/remove-worksheet-merge.mutation';
export { type IReorderRangeMutationParams, ReorderRangeMutation, ReorderRangeUndoMutationFactory } from './commands/mutations/reorder-range.mutation';
export {
SetColHiddenMutation,
SetColVisibleMutation,
type ISetColHiddenMutationParams,
type ISetColVisibleMutationParams,
SetColHiddenMutation,
SetColVisibleMutation,
} from './commands/mutations/set-col-visible.mutation';
export {
type ISetFrozenMutationParams,
SetFrozenMutation,
SetFrozenMutationFactory,
type ISetFrozenMutationParams,
} from './commands/mutations/set-frozen.mutation';
export { SetHideGridlinesMutation } from './commands/mutations/set-hide-gridlines.mutatiom';
export { SetRangeProtectionMutation, FactorySetRangeProtectionMutation, type ISetRangeProtectionMutationParams } from './commands/mutations/set-range-protection.mutation';
export { FactorySetRangeProtectionMutation, type ISetRangeProtectionMutationParams, SetRangeProtectionMutation } from './commands/mutations/set-range-protection.mutation';
export {
SetRangeValuesMutation,
SetRangeValuesUndoMutationFactory,
type ISetRangeValuesMutationParams,
type ISetRangeValuesRangeMutationParams,
SetRangeValuesMutation,
SetRangeValuesUndoMutationFactory,
} from './commands/mutations/set-range-values.mutation';
export {
SetRowVisibleMutation,
SetRowHiddenMutation,
type ISetRowVisibleMutationParams,
type ISetRowHiddenMutationParams,
type ISetRowVisibleMutationParams,
SetRowHiddenMutation,
SetRowVisibleMutation,
} from './commands/mutations/set-row-visible.mutation';
export { SetTabColorMutation, type ISetTabColorMutationParams } from './commands/mutations/set-tab-color.mutation';
export { SetWorkbookNameMutation, type ISetWorkbookNameMutationParams } from './commands/mutations/set-workbook-name.mutation';
export { type ISetTabColorMutationParams, SetTabColorMutation } from './commands/mutations/set-tab-color.mutation';
export { type ISetWorkbookNameMutationParams, SetWorkbookNameMutation } from './commands/mutations/set-workbook-name.mutation';
export {
type ISetWorksheetColWidthMutationParams,
SetWorksheetColWidthMutation,
SetWorksheetColWidthMutationFactory,
type ISetWorksheetColWidthMutationParams,
} from './commands/mutations/set-worksheet-col-width.mutation';
export { SetWorksheetHideMutation, type ISetWorksheetHideMutationParams } from './commands/mutations/set-worksheet-hide.mutation';
export { SetWorksheetNameMutation, type ISetWorksheetNameMutationParams } from './commands/mutations/set-worksheet-name.mutation';
export { SetWorksheetOrderMutation, type ISetWorksheetOrderMutationParams } from './commands/mutations/set-worksheet-order.mutation';
export { type ISetWorksheetHideMutationParams, SetWorksheetHideMutation } from './commands/mutations/set-worksheet-hide.mutation';
export { type ISetWorksheetNameMutationParams, SetWorksheetNameMutation } from './commands/mutations/set-worksheet-name.mutation';
export { type ISetWorksheetOrderMutationParams, SetWorksheetOrderMutation } from './commands/mutations/set-worksheet-order.mutation';
export { SetWorksheetPermissionPointsMutation } from './commands/mutations/set-worksheet-permission-points.mutation';
export type { ISetWorksheetPermissionPointsMutationParams } from './commands/mutations/set-worksheet-permission-points.mutation';
export { SetWorksheetProtectionMutation } from './commands/mutations/set-worksheet-protection.mutation';
export { SetWorksheetRightToLeftMutation } from './commands/mutations/set-worksheet-right-to-left.mutation';
export {
SetWorksheetRowHeightMutation,
SetWorksheetRowIsAutoHeightMutation,
SetWorksheetRowAutoHeightMutation,
SetWorksheetRowAutoHeightMutationFactory,
type ISetWorksheetRowAutoHeightMutationParams,
type ISetWorksheetRowHeightMutationParams,
type ISetWorksheetRowIsAutoHeightMutationParams,
type ISetWorksheetRowAutoHeightMutationParams,
SetWorksheetRowAutoHeightMutation,
SetWorksheetRowAutoHeightMutationFactory,
SetWorksheetRowHeightMutation,
SetWorksheetRowIsAutoHeightMutation,
} from './commands/mutations/set-worksheet-row-height.mutation';
export { ScrollToCellOperation } from './commands/operations/scroll-to-cell.operation';
export { SetSelectionsOperation, type ISetSelectionsOperationParams } from './commands/operations/selection.operation';
export { SetWorksheetActiveOperation, type ISetWorksheetActiveOperationParams } from './commands/operations/set-worksheet-active.operation';
export { type ISetSelectionsOperationParams, SetSelectionsOperation } from './commands/operations/selection.operation';
export { type ISetWorksheetActiveOperationParams, SetWorksheetActiveOperation } from './commands/operations/set-worksheet-active.operation';
// #endregion
@@ -14,44 +14,44 @@
* limitations under the License.
*/
export { RangeProtectionPermissionEditPoint } from './range/edit';
export { RangeProtectionPermissionViewPoint } from './range/view';
export { WorkbookCommentPermission } from './workbook/comment';
export { WorkbookCopyPermission } from './workbook/copy';
export { WorkbookCopySheetPermission } from './workbook/copy-sheet';
export { WorkbookCreateSheetPermission } from './workbook/create-sheet';
export { WorkbookDeleteSheetPermission } from './workbook/delete-sheet';
export { WorkbookDuplicatePermission } from './workbook/duplicate';
export { WorkbookEditablePermission } from './workbook/editable';
export { WorkbookExportPermission } from './workbook/export';
export { WorkbookHideSheetPermission } from './workbook/hide-sheet';
export { WorkbookHistoryPermission } from './workbook/history';
export { WorkbookManageCollaboratorPermission } from './workbook/manage-collaborator';
export { WorkbookMoveSheetPermission } from './workbook/move-sheet';
export { WorkbookPrintPermission } from './workbook/print';
export { WorkbookRecoverHistoryPermission } from './workbook/recover-history';
export { WorkbookRenameSheetPermission } from './workbook/rename-sheet';
export { WorkbookSharePermission } from './workbook/share';
export { WorkbookViewPermission } from './workbook/view';
export { WorkbookViewHistoryPermission } from './workbook/view-history';
export { WorksheetCopyPermission } from './worksheet/copy';
export { WorksheetDeleteColumnPermission } from './worksheet/delete-column';
export { WorksheetDeleteRowPermission } from './worksheet/delete-row';
export { WorksheetEditPermission } from './worksheet/edit';
export { WorksheetEditExtraObjectPermission } from './worksheet/edit-extra-object';
export { WorksheetFilterPermission } from './worksheet/filter';
export { WorksheetInsertColumnPermission } from './worksheet/insert-column';
export { WorksheetInsertHyperlinkPermission } from './worksheet/insert-hyperlink';
export { WorksheetInsertRowPermission } from './worksheet/insert-row';
export { WorksheetManageCollaboratorPermission } from './worksheet/manage-collaborator';
export { WorksheetPivotTablePermission } from './worksheet/pivot-table';
export { WorksheetSelectProtectedCellsPermission } from './worksheet/select-protected-cells';
export { WorksheetSelectUnProtectedCellsPermission } from './worksheet/select-un-protected-cells';
export { WorksheetSetCellStylePermission } from './worksheet/set-cell-style';
export { WorksheetSetCellValuePermission } from './worksheet/set-cell-value';
export { WorksheetViewPermission } from './worksheet/view';
export { WorksheetSetRowStylePermission } from './worksheet/set-row-style';
export { WorksheetSetColumnStylePermission } from './worksheet/set-column-style';
export { WorksheetInsertRowPermission } from './worksheet/insert-row';
export { WorksheetInsertColumnPermission } from './worksheet/insert-column';
export { WorksheetInsertHyperlinkPermission } from './worksheet/insert-hyperlink';
export { WorksheetDeleteRowPermission } from './worksheet/delete-row';
export { WorksheetDeleteColumnPermission } from './worksheet/delete-column';
export { WorksheetSetRowStylePermission } from './worksheet/set-row-style';
export { WorksheetSortPermission } from './worksheet/sort';
export { WorksheetFilterPermission } from './worksheet/filter';
export { WorksheetPivotTablePermission } from './worksheet/pivot-table';
export { WorksheetEditExtraObjectPermission } from './worksheet/edit-extra-object';
export { WorksheetManageCollaboratorPermission } from './worksheet/manage-collaborator';
export { WorksheetEditPermission } from './worksheet/edit';
export { WorkbookCommentPermission } from './workbook/comment';
export { WorkbookEditablePermission } from './workbook/editable';
export { WorkbookDuplicatePermission } from './workbook/duplicate';
export { WorkbookPrintPermission } from './workbook/print';
export { WorkbookExportPermission } from './workbook/export';
export { WorkbookMoveSheetPermission } from './workbook/move-sheet';
export { WorkbookDeleteSheetPermission } from './workbook/delete-sheet';
export { WorkbookHideSheetPermission } from './workbook/hide-sheet';
export { WorkbookRenameSheetPermission } from './workbook/rename-sheet';
export { WorkbookCreateSheetPermission } from './workbook/create-sheet';
export { WorkbookHistoryPermission } from './workbook/history';
export { WorkbookViewPermission } from './workbook/view';
export { WorkbookSharePermission } from './workbook/share';
export { WorkbookCopyPermission } from './workbook/copy';
export { WorkbookCopySheetPermission } from './workbook/copy-sheet';
export { WorkbookManageCollaboratorPermission } from './workbook/manage-collaborator';
export { WorkbookViewHistoryPermission } from './workbook/view-history';
export { WorkbookRecoverHistoryPermission } from './workbook/recover-history';
export { RangeProtectionPermissionEditPoint } from './range/edit';
export { RangeProtectionPermissionViewPoint } from './range/view';
export { WorksheetViewPermission } from './worksheet/view';
@@ -15,6 +15,6 @@
*/
export { WorksheetPermissionService } from './worksheet-permission.service';
export { WorksheetProtectionRuleModel } from './worksheet-permission-rule.model';
export { WorksheetProtectionPointModel } from './worksheet-permission-point.model';
export { WorksheetProtectionRuleModel } from './worksheet-permission-rule.model';
+2 -2
View File
@@ -96,8 +96,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+9 -7
View File
@@ -21,23 +21,25 @@ export { SlideSideBar } from './components/slide-bar/SlideBar';
export { ISlideEditorBridgeService } from './services/slide-editor-bridge.service';
export { SlideCanvasPopMangerService } from './services/slide-popup-manager.service';
export { SlideEditorContainer } from './views/editor-container/EditorContainer';
export { SLIDE_EDITOR_ID } from './const';
export { CanvasView } from './controllers/canvas-view';
export { IMAGE_MENU_ID } from './controllers/image.menu';
export { SHAPE_MENU_ID } from './controllers/shape.menu';
export { menuSchema } from './controllers/menu.schema';
// #region - all commands
export { ActivateSlidePageOperation } from './commands/operations/activate.operation';
export { DeleteSlideElementOperation } from './commands/operations/delete-element.operation';
export { InsertSlideFloatImageCommand } from './commands/operations/insert-image.operation';
export { InsertSlideShapeRectangleOperation, InsertSlideShapeRectangleCommand } from './commands/operations/insert-shape.operation';
export { InsertSlideShapeRectangleCommand, InsertSlideShapeRectangleOperation } from './commands/operations/insert-shape.operation';
export { SetSlidePageThumbOperation } from './commands/operations/set-thumb.operation';
export { AppendSlideOperation } from './commands/operations/append-slide.operation';
export { SlideAddTextOperation, SlideAddTextCommand } from './commands/operations/insert-text.operation';
export { SlideAddTextCommand, SlideAddTextOperation } from './commands/operations/insert-text.operation';
export { UpdateSlideElementOperation } from './commands/operations/update-element.operation';
// #endregion
export { SlideEditorContainer } from './views/editor-container/EditorContainer';
export { SLIDE_EDITOR_ID } from './const';
export { CanvasView } from './controllers/canvas-view';
+2 -2
View File
@@ -71,8 +71,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {
+2 -2
View File
@@ -14,10 +14,10 @@
* limitations under the License.
*/
export { SLIDE_VIEW_KEY } from './adaptors';
// export * from '../../../../slides-ui/src/controllers/canvas-view';
export * from './adaptor';
export { SLIDE_VIEW_KEY } from './adaptors';
export * from './object-provider';
export enum SLIDE_KEY {
+2 -2
View File
@@ -70,8 +70,8 @@
"react": "18.3.1",
"rxjs": "^7.8.1",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vitest": "^2.0.5"
"vite": "^5.4.7",
"vitest": "^2.1.1"
},
"univerSpace": {
".": {

Some files were not shown because too many files have changed in this diff Show More