Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: remove demo's default style as it is not working (#4790)
Wenzhao Huc0fed59d7916
diff --git a/mockdata/src/sheets/demo/default-workbook-data-demo.ts b/mockdata/src/sheets/demo/default-workbook-data-demo.tsindex eef67b6f81..4a06119ba5 100644--- a/mockdata/src/sheets/demo/default-workbook-data-demo.ts+++ b/mockdata/src/sheets/demo/default-workbook-data-demo.ts@@ -13985,7 +13985,6 @@ export const DEFAULT_WORKBOOK_DATA_DEMO: IWorkbookData = {rowCount: 1000,columnCount: 20,zoomRatio: 1,- defaultStyle: 'defaultSheetStyle',cellData: {0: {0: {diff --git a/packages/core/src/sheets/worksheet.ts b/packages/core/src/sheets/worksheet.tsindex 5f30ac4734..ab54e9b9a6 100644--- a/packages/core/src/sheets/worksheet.ts+++ b/packages/core/src/sheets/worksheet.ts@@ -16,6 +16,7 @@import type { IInterceptor } from '../common/interceptor';import type { IObjectMatrixPrimitiveType, Nullable } from '../shared';+import type { BooleanNumber, HorizontalAlign, TextDirection, VerticalAlign, WrapStrategy } from '../types/enum';import type { IDocumentData, IDocumentRenderConfig, IPaddingData, IStyleData, ITextRotation } from '../types/interfaces';import type { Styles } from './styles';import type { CustomData, ICellData, ICellDataForSheetInterceptor, ICellDataWithSpanAndDisplay, IFreeze, IRange, ISelectionCell, IWorksheetData } from './typedef';@@ -24,7 +25,7 @@ import { convertTextRotation, getFontStyleString } from '../docs/data-model/utilimport { composeStyles, ObjectMatrix, Tools } from '../shared';import { createRowColIter } from '../shared/row-col-iter';import { DEFAULT_STYLES } from '../types/const';-import { type BooleanNumber, CellValueType, type HorizontalAlign, type TextDirection, type VerticalAlign, type WrapStrategy } from '../types/enum';+import { CellValueType } from '../types/enum';import { ColumnManager } from './column-manager';import { Range } from './range';import { RowManager } from './row-manager';