@univerjs/sheets 0.1.0-alpha.3 → 0.1.0-beta.1
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 +1 -1
- package/lib/es/index.js +1881 -1837
- package/lib/types/basics/selection.d.ts +1 -1
- package/lib/types/commands/commands/insert-sheet.command.d.ts +1 -1
- package/lib/types/controllers/feature-calculation.controller.d.ts +7 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +5 -1
- package/lib/types/locale/zh-CN.d.ts +5 -1
- package/lib/umd/index.js +1 -1
- package/package.json +14 -12
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IRange, ISelection, ISelectionCellWithCoord, ISelectionWithCoord, Nullable, ThemeService } from '@univerjs/core';
|
|
17
|
-
export declare const SELECTION_CONTROL_BORDER_BUFFER_WIDTH = 1;
|
|
17
|
+
export declare const SELECTION_CONTROL_BORDER_BUFFER_WIDTH = 1.5;
|
|
18
18
|
export declare const SELECTION_CONTROL_BORDER_BUFFER_COLOR = "rgba(255,255,255, 0.01)";
|
|
19
19
|
/**
|
|
20
20
|
* Whether to display the controller that modifies the selection, distributed in 8 locations
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { ICommand, IWorksheetData } from '@univerjs/core';
|
|
17
|
-
export interface
|
|
17
|
+
export interface IInsertSheetCommandParams {
|
|
18
18
|
unitId?: string;
|
|
19
19
|
index?: number;
|
|
20
20
|
sheet?: IWorksheetData;
|
|
@@ -21,5 +21,12 @@ export declare class FeatureCalculationController extends Disposable {
|
|
|
21
21
|
private readonly _currentUniverService;
|
|
22
22
|
private readonly _formulaDataModel;
|
|
23
23
|
constructor(_commandService: ICommandService, _featureCalculationManagerService: IFeatureCalculationManagerService, _currentUniverService: IUniverInstanceService, _formulaDataModel: FormulaDataModel);
|
|
24
|
+
/**
|
|
25
|
+
* Test function access to the formula system example , feature calculation ,
|
|
26
|
+
* you can register a listening range and callback function ,
|
|
27
|
+
* the range will be analyzed through the dependency after the callback function execution ,
|
|
28
|
+
* the callback function to return to an execution result ,
|
|
29
|
+
* you can continue to enter the formula dependency system , to get the final result .
|
|
30
|
+
*/
|
|
24
31
|
private _initialize;
|
|
25
32
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export { InsertRangeMoveRightCommand } from './commands/commands/insert-range-mo
|
|
|
37
37
|
export { type InsertRangeMoveRightCommandParams } from './commands/commands/insert-range-move-right.command';
|
|
38
38
|
export type { IInsertColCommandParams, IInsertRowCommandParams } from './commands/commands/insert-row-col.command';
|
|
39
39
|
export { InsertColAfterCommand, InsertColBeforeCommand, InsertColCommand, InsertRowAfterCommand, InsertRowBeforeCommand, InsertRowCommand, } from './commands/commands/insert-row-col.command';
|
|
40
|
+
export type { IInsertSheetCommandParams } from './commands/commands/insert-sheet.command';
|
|
40
41
|
export { InsertSheetCommand } from './commands/commands/insert-sheet.command';
|
|
41
42
|
export { type IMoveRangeCommandParams, MoveRangeCommand } from './commands/commands/move-range.command';
|
|
42
43
|
export { type IMoveColsCommandParams, type IMoveRowsCommandParams, MoveColsCommand, MoveRowsCommand, } from './commands/commands/move-rows-cols.command';
|