@univerjs/sheets-ui 0.6.0-nightly.202502101606 → 0.6.0-nightly.202502121606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +38 -36
- package/lib/es/facade.js +649 -563
- package/lib/es/index.js +3880 -3848
- package/lib/types/common/keys.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +1 -1
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +1 -1
- package/lib/types/components/color-picker/index.d.ts +1 -1
- package/lib/types/components/color-picker/interface.d.ts +1 -1
- package/lib/types/components/const.d.ts +1 -1
- package/lib/types/components/font-family/index.d.ts +1 -1
- package/lib/types/components/font-family/interface.d.ts +1 -1
- package/lib/types/components/font-size/index.d.ts +1 -1
- package/lib/types/components/font-size/interface.d.ts +1 -1
- package/lib/types/components/menu-item-input/index.d.ts +1 -1
- package/lib/types/consts/plugin-name.d.ts +1 -1
- package/lib/types/consts/ui-name.d.ts +1 -1
- package/lib/types/controllers/clipboard/const.d.ts +1 -1
- package/lib/types/controllers/editor/utils/{isEmbeddingFormulaEditor.d.ts → is-embedding-formula-editor.d.ts} +1 -1
- package/lib/types/controllers/editor/utils/{isRangeSelector.d.ts → is-range-selector.d.ts} +1 -1
- package/lib/types/controllers/utils/cell-tools.d.ts +1 -1
- package/lib/types/facade/f-univer.d.ts +1 -4
- package/lib/types/facade/index.d.ts +1 -1
- package/lib/types/index.d.ts +4 -4
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/services/editor-bridge.service.d.ts +2 -0
- package/lib/types/views/cell-alert/index.d.ts +1 -1
- package/lib/types/views/clipboard/ClipboardPopupMenu.d.ts +1 -1
- package/lib/types/views/count-bar/CountBar.d.ts +1 -1
- package/lib/types/views/count-bar/ZoomSlider.d.ts +1 -1
- package/lib/types/views/count-bar/index.d.ts +1 -1
- package/lib/types/views/defined-name/DefinedName.d.ts +1 -1
- package/lib/types/views/defined-name/DefinedNameContainer.d.ts +1 -1
- package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +1 -1
- package/lib/types/views/defined-name/component-name.d.ts +1 -1
- package/lib/types/views/editor-container/index.d.ts +1 -1
- package/lib/types/views/formula-bar/FormulaBar.d.ts +1 -1
- package/lib/types/views/formula-bar/index.d.ts +1 -1
- package/lib/types/views/mobile/sheet-bar/MobileSheetBar.d.ts +1 -1
- package/lib/types/views/operate-container/index.d.ts +1 -1
- package/lib/types/views/permission/error-msg-dialog/index.d.ts +1 -1
- package/lib/types/views/permission/error-msg-dialog/interface.d.ts +1 -1
- package/lib/types/views/permission/extensions/protect-background-img.d.ts +1 -1
- package/lib/types/views/permission/index.d.ts +1 -1
- package/lib/types/views/permission/panel-list/constant.d.ts +1 -1
- package/lib/types/views/permission/panel-list/index.d.ts +1 -1
- package/lib/types/views/permission/permission-dialog/index.d.ts +1 -1
- package/lib/types/views/permission/user-dialog/constant.d.ts +1 -1
- package/lib/types/views/permission/user-dialog/index.d.ts +1 -1
- package/lib/types/views/sheet-bar/SheetBar.d.ts +1 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +1 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts +1 -1
- package/lib/types/views/sheet-container/SheetContainer.d.ts +1 -1
- package/lib/types/views/status-bar/CopyableStatisticItem.d.ts +1 -1
- package/lib/types/views/status-bar/StatusBar.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +32 -30
- package/package.json +11 -11
- /package/lib/types/hooks/{useHighlightRange.d.ts → use-highlight-range.d.ts} +0 -0
|
@@ -53,10 +53,7 @@ export interface IFUniverSheetsUIMixin {
|
|
|
53
53
|
}
|
|
54
54
|
export declare class FUniverSheetsUIMixin extends FUniver implements IFUniverSheetsUIMixin {
|
|
55
55
|
private _initSheetUIEvent;
|
|
56
|
-
|
|
57
|
-
* @ignore
|
|
58
|
-
*/
|
|
59
|
-
_initObserverListener(injector: Injector): void;
|
|
56
|
+
private _initObserverListener;
|
|
60
57
|
/**
|
|
61
58
|
* @ignore
|
|
62
59
|
*/
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2023-present DreamNum
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
@@ -32,7 +32,7 @@ export { SheetUIController } from './controllers/sheet-ui.controller';
|
|
|
32
32
|
export { whenFormulaEditorActivated, whenSheetEditorFocused } from './controllers/shortcuts/utils';
|
|
33
33
|
export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord, } from './controllers/utils/component-tools';
|
|
34
34
|
export { matchedSelectionByRowColIndex as checkInHeaderRanges } from './controllers/utils/selections-tools';
|
|
35
|
-
export { useHighlightRange } from './hooks/
|
|
35
|
+
export { useHighlightRange } from './hooks/use-highlight-range';
|
|
36
36
|
export { UniverSheetsMobileUIPlugin } from './mobile-plugin';
|
|
37
37
|
export { UniverSheetsUIPlugin } from './plugin';
|
|
38
38
|
export { AutoFillService, IAutoFillService } from './services/auto-fill/auto-fill.service';
|
|
@@ -84,8 +84,8 @@ export { type IUniverSheetsUIConfig } from './controllers/config.schema';
|
|
|
84
84
|
export { getCellRealRange } from './common/utils';
|
|
85
85
|
export { FONT_FAMILY_COMPONENT, FONT_FAMILY_ITEM_COMPONENT } from './components/font-family/interface';
|
|
86
86
|
export { FONT_SIZE_COMPONENT } from './components/font-size/interface';
|
|
87
|
-
export { EMBEDDING_FORMULA_EDITOR, isEmbeddingFormulaEditor } from './controllers/editor/utils/
|
|
88
|
-
export { isRangeSelector, RANGE_SELECTOR_SYMBOLS } from './controllers/editor/utils/
|
|
87
|
+
export { EMBEDDING_FORMULA_EDITOR, isEmbeddingFormulaEditor } from './controllers/editor/utils/is-embedding-formula-editor';
|
|
88
|
+
export { isRangeSelector, RANGE_SELECTOR_SYMBOLS } from './controllers/editor/utils/is-range-selector';
|
|
89
89
|
export { menuSchema as SheetsUIMenuSchema } from './controllers/menu.schema';
|
|
90
90
|
export { SheetCellEditorResizeService } from './services/editor/cell-editor-resize.service';
|
|
91
91
|
export { FormatPainterStatus, IFormatPainterService } from './services/format-painter/format-painter.service';
|
|
@@ -50,6 +50,7 @@ export interface IEditorBridgeService {
|
|
|
50
50
|
getEditCellState(): Readonly<Nullable<IEditorBridgeServiceParam>>;
|
|
51
51
|
getEditCellLayout(): Readonly<Nullable<ICellEditorLayout>>;
|
|
52
52
|
getEditLocation(): Readonly<Nullable<ICellEditorState>>;
|
|
53
|
+
updateEditLocation(row: number, col: number): void;
|
|
53
54
|
getLatestEditCellState(): Readonly<Nullable<IEditorBridgeServiceParam>>;
|
|
54
55
|
/**
|
|
55
56
|
* @deprecated do not use it directly, use command SetCellEditVisibleOperation as instead.
|
|
@@ -112,6 +113,7 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
112
113
|
getEditCellState(): Readonly<Nullable<IEditorBridgeServiceParam>>;
|
|
113
114
|
getEditCellLayout(): Readonly<Nullable<ICellEditorLayout>>;
|
|
114
115
|
getEditLocation(): Readonly<Nullable<ICellEditorState>>;
|
|
116
|
+
updateEditLocation(row: number, column: number): void;
|
|
115
117
|
getLatestEditCellState(): {
|
|
116
118
|
position: {
|
|
117
119
|
startX: number;
|