@univerjs/sheets-data-validation 0.2.3 → 0.2.4
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 +2 -2
- package/lib/es/index.js +1736 -1713
- package/lib/types/services/dropdown-manager.service.d.ts +1 -1
- package/lib/types/services/dv.service.d.ts +2 -2
- package/lib/umd/index.js +2 -2
- package/package.json +28 -28
|
@@ -30,7 +30,7 @@ export declare class DataValidationDropdownManagerService extends Disposable {
|
|
|
30
30
|
get activeDropdown(): Nullable<IDropdownParam>;
|
|
31
31
|
constructor(_canvasPopupManagerService: SheetCanvasPopManagerService, _univerInstanceService: IUniverInstanceService, _dataValidatorRegistryService: DataValidatorRegistryService, _zenZoneService: IZenZoneService, _renderManagerService: IRenderManagerService, _dataValidationModel: DataValidationModel);
|
|
32
32
|
private _init;
|
|
33
|
-
showDropdown(param: IDropdownParam): void;
|
|
33
|
+
showDropdown(param: IDropdownParam, closeOnOutSide?: boolean): void;
|
|
34
34
|
hideDropdown(): void;
|
|
35
35
|
showDataValidationDropdown(unitId: string, subUnitId: string, row: number, col: number, onHide?: () => void): void;
|
|
36
36
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nullable } from '@univerjs/core';
|
|
1
|
+
import { Disposable, Nullable } from '@univerjs/core';
|
|
2
2
|
import { DataValidationModel } from '@univerjs/data-validation';
|
|
3
3
|
import { SheetDataValidationManager } from '../models/sheet-data-validation-manager';
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ export interface ICurrentDataValidationManager {
|
|
|
7
7
|
unitId: string;
|
|
8
8
|
subUnitId: string;
|
|
9
9
|
}
|
|
10
|
-
export declare class SheetDataValidationService {
|
|
10
|
+
export declare class SheetDataValidationService extends Disposable {
|
|
11
11
|
private _dataValidationModel;
|
|
12
12
|
private _currentManager;
|
|
13
13
|
private _currentManager$;
|