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
flush
jerry9d564e45b2be
diff --git a/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts b/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.tsindex 8c86eef601..f4b30449b8 100644--- a/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts+++ b/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts@@ -124,12 +124,11 @@ export class SheetBarUIController {const currentUnitId = currentWorkbook.getUnitId();if (unitId === currentUnitId) {switch (data.actionName) {- case SetWorkSheetActivateAction.NAME:case SetSheetOrderAction.NAME:+ case SetWorkSheetActivateAction.NAME:case InsertSheetAction.NAME:case RemoveSheetAction.NAME:case SetWorkSheetNameAction.NAME:- case InsertSheetAction.NAME:case SetTabColorAction.NAME:case SetWorkSheetStatusAction.NAME:case SetWorkSheetHideAction.NAME: {@@ -228,13 +227,13 @@ export class SheetBarUIController {return sheetUl;}- selectSheet() { }+ selectSheet() {}- deleteSheet() { }+ deleteSheet() {}- sortMenu(index: number, hidden?: boolean, hideIndex?: number) { }+ sortMenu(index: number, hidden?: boolean, hideIndex?: number) {}- copySheet() { }+ copySheet() {}addSheet = (position?: string, config?: SheetUlProps): void => {this.setUIObserve('onUIChangeObservable', {@@ -246,13 +245,13 @@ export class SheetBarUIController {});};- hideSheet() { }+ hideSheet() {}unHideSheet() {this._sheetBar.ref.current.showSelect();}- moveSheet(direct: string) { }+ moveSheet(direct: string) {}changeSheetName = (event: Event) => {this.setUIObserve('onUIChangeObservable', {@@ -301,7 +300,7 @@ export class SheetBarUIController {this._dataId = target.dataset.id as string;//this._barControl.contextMenu(e);},- changeSheetName: (event: Event) => { },+ changeSheetName: (event: Event) => {},dragEnd: (elements: HTMLDivElement[]) => {//this._barControl.dragEnd(elements);},diff --git a/packages/ui-plugin-sheets/src/View/SheetBar/index.module.less b/packages/ui-plugin-sheets/src/View/SheetBar/index.module.lessindex 3bd4712793..849d29b704 100644--- a/packages/ui-plugin-sheets/src/View/SheetBar/index.module.less+++ b/packages/ui-plugin-sheets/src/View/SheetBar/index.module.less@@ -187,6 +187,7 @@z-index: 100;box-sizing: border-box;user-select: none;+ box-shadow: rgb(0 0 0 / 20%) 0px 2px 4px;li {list-style: none;