@univerjs/sheets-ui
Version:
UniverSheet normal ui-plugin-sheets
34 lines (33 loc) • 1.61 kB
TypeScript
/**
* Copyright 2023-present DreamNum Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export declare const SHEET_ZOOM_RANGE: number[];
/**
* TODO@ggg: To avoid introducing the range-selector of the sheet-formula-ui package into sheet-ui, use a component key for now
*/
export declare const RANGE_SELECTOR_COMPONENT_KEY = "RANGE_SELECTOR_COMPONENT_KEY";
export declare const EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY = "EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY";
export declare const EMBEDDING_CELL_EDITOR_COMPONENT_KEY = "EMBEDDING_CELL_EDITOR_COMPONENT_KEY";
export declare enum SHEET_VIEW_KEY {
MAIN = "__SpreadsheetRender__",
ROW = "__SpreadsheetRowHeader__",
COLUMN = "__SpreadsheetColumnHeader__",
LEFT_TOP = "__SpreadsheetLeftTopPlaceholder__"
}
export declare const SHEET_COMPONENT_MAIN_LAYER_INDEX = 0;
export declare const SHEET_COMPONENT_SELECTION_LAYER_INDEX = 1;
export declare const SHEET_COMPONENT_HEADER_LAYER_INDEX = 10;
export declare const SHEET_COMPONENT_HEADER_SELECTION_LAYER_INDEX = 11;
export declare const SHEET_COMPONENT_UNHIDE_LAYER_INDEX = 12;