@univerjs/sheets-ui 0.6.0-nightly.202502161605 → 0.6.0-nightly.202502181606
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/index.js +27 -27
- package/lib/es/index.js +6020 -5966
- package/lib/types/controllers/permission/sheet-permission-init-ui.controller.d.ts +7 -0
- package/lib/types/index.d.ts +4 -3
- package/lib/types/services/clipboard/utils.d.ts +1 -0
- package/lib/types/views/formula-bar/FormulaBar.d.ts +5 -1
- package/lib/umd/index.js +25 -25
- package/package.json +11 -11
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Disposable } from '@univerjs/core';
|
|
2
|
+
import { SheetPermissionInitController } from '@univerjs/sheets';
|
|
3
|
+
export declare class SheetPermissionInitUIController extends Disposable {
|
|
4
|
+
private readonly _sheetPermissionInitController;
|
|
5
|
+
constructor(_sheetPermissionInitController: SheetPermissionInitController);
|
|
6
|
+
private _initPermission;
|
|
7
|
+
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export { SheetsScrollRenderController } from './controllers/render-controllers/s
|
|
|
30
30
|
export { SheetRenderController } from './controllers/render-controllers/sheet.render-controller';
|
|
31
31
|
export { SheetUIController } from './controllers/sheet-ui.controller';
|
|
32
32
|
export { whenFormulaEditorActivated, whenSheetEditorFocused } from './controllers/shortcuts/utils';
|
|
33
|
-
export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord
|
|
33
|
+
export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord } from './controllers/utils/component-tools';
|
|
34
34
|
export { matchedSelectionByRowColIndex as checkInHeaderRanges } from './controllers/utils/selections-tools';
|
|
35
35
|
export { useHighlightRange } from './hooks/use-highlight-range';
|
|
36
36
|
export { UniverSheetsMobileUIPlugin } from './mobile-plugin';
|
|
@@ -41,12 +41,12 @@ export { APPLY_TYPE, DATA_TYPE, type IAutoFillRule, type ICopyDataInTypeIndexInf
|
|
|
41
41
|
export type { IAutoFillLocation, ICopyDataPiece, ISheetAutoFillHook } from './services/auto-fill/type';
|
|
42
42
|
export { type ICanvasPopup, SheetCanvasPopManagerService } from './services/canvas-pop-manager.service';
|
|
43
43
|
export { CellAlertManagerService, CellAlertType, type ICellAlert } from './services/cell-alert-manager.service';
|
|
44
|
-
export { getMatrixPlainText, ISheetClipboardService, PREDEFINED_HOOK_NAME, SheetClipboardService
|
|
44
|
+
export { getMatrixPlainText, ISheetClipboardService, PREDEFINED_HOOK_NAME, SheetClipboardService } from './services/clipboard/clipboard.service';
|
|
45
45
|
export { COPY_TYPE } from './services/clipboard/type';
|
|
46
46
|
export type { ICellDataWithSpanInfo, ICopyPastePayload, IPasteHookValueType, ISheetClipboardHook, ISheetDiscreteRangeLocation } from './services/clipboard/type';
|
|
47
47
|
export { getRepeatRange, mergeSetRangeValues } from './services/clipboard/utils';
|
|
48
48
|
export { DragManagerService, type IDragCellPosition } from './services/drag-manager.service';
|
|
49
|
-
export { EditorBridgeService, IEditorBridgeService, type IEditorBridgeServiceVisibleParam
|
|
49
|
+
export { EditorBridgeService, IEditorBridgeService, type IEditorBridgeServiceVisibleParam } from './services/editor-bridge.service';
|
|
50
50
|
export type { IEditorBridgeServiceParam } from './services/editor-bridge.service';
|
|
51
51
|
export { CellEditorManagerService, ICellEditorManagerService } from './services/editor/cell-editor-manager.service';
|
|
52
52
|
export { IFormulaEditorManagerService } from './services/editor/formula-editor-manager.service';
|
|
@@ -92,6 +92,7 @@ export { FormatPainterStatus, IFormatPainterService } from './services/format-pa
|
|
|
92
92
|
export type { IFormatPainterBeforeApplyHookParams, IFormatPainterHook } from './services/format-painter/format-painter.service';
|
|
93
93
|
export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
|
|
94
94
|
export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
|
|
95
|
+
export { FormulaBar } from './views/formula-bar/FormulaBar';
|
|
95
96
|
export { SetWorksheetColAutoWidthCommand } from './commands/commands/set-worksheet-auto-col-width.command';
|
|
96
97
|
export { AutoClearContentCommand, AutoFillCommand } from './commands/commands/auto-fill.command';
|
|
97
98
|
export { type ISheetPasteByShortKeyParams, type ISheetPasteParams, SheetCopyCommand, SheetCutCommand, SheetPasteBesidesBorderCommand, SheetPasteColWidthCommand, SheetPasteCommand, SheetPasteFormatCommand, SheetPasteShortKeyCommand, SheetPasteValueCommand, } from './commands/commands/clipboard.command';
|
|
@@ -14,6 +14,7 @@ export declare const getRepeatRange: (sourceRange: IRange, targetRange: IRange,
|
|
|
14
14
|
repeatRelativeRange: IRange;
|
|
15
15
|
}[];
|
|
16
16
|
export declare function htmlIsFromExcel(html: string): boolean;
|
|
17
|
+
export declare function htmlContainsImage(html: string): boolean;
|
|
17
18
|
export declare function mergeCellValues(...cellValues: IObjectMatrixPrimitiveType<Nullable<ICellData>>[]): IObjectMatrixPrimitiveType<Nullable<ICellData>> | IObjectMatrixPrimitiveType<IObjectMatrixPrimitiveType<Nullable<ICellData>>>;
|
|
18
19
|
export declare function getRangeValuesMergeable(m1: IMutationInfo<ISetRangeValuesMutationParams>, m2: IMutationInfo<ISetRangeValuesMutationParams>): boolean;
|
|
19
20
|
export declare function mergeSetRangeValues(mutations: IMutationInfo[]): IMutationInfo<object>[];
|
|
@@ -13,4 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
interface IProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function FormulaBar(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|