@univerjs/sheets 0.16.1 → 0.17.0
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 +3 -3
- package/lib/es/index.js +1881 -1876
- package/lib/index.js +1881 -1876
- package/lib/types/commands/mutations/reorder-range.mutation.d.ts +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/plugin.d.ts +3 -1
- package/lib/types/services/permission/permission-point/range/edit.d.ts +1 -1
- package/lib/types/services/permission/range-permission/range-protection.ref-range.d.ts +2 -2
- package/lib/types/services/permission/workbook-permission/index.d.ts +1 -1
- package/lib/umd/index.js +3 -3
- package/package.json +7 -7
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IMutation, IRange } from '@univerjs/core';
|
|
2
|
-
import { ISheetCommandSharedParams } from '
|
|
2
|
+
import { ISheetCommandSharedParams } from '../utils/interface';
|
|
3
3
|
export interface IReorderRangeMutationParams extends ISheetCommandSharedParams {
|
|
4
4
|
range: IRange;
|
|
5
5
|
order: {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -159,8 +159,8 @@ export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/uti
|
|
|
159
159
|
export { handleInsertRangeMutation } from './commands/utils/handle-range-mutation';
|
|
160
160
|
export { type ISheetCommandSharedParams } from './commands/utils/interface';
|
|
161
161
|
export { getSelectionsService } from './commands/utils/selection-command-util';
|
|
162
|
+
export { defaultLargeSheetOperationConfig, type ILargeSheetOperationConfig, type IUniverSheetsConfig, SHEETS_PLUGIN_CONFIG_KEY } from './config/config';
|
|
162
163
|
export { AutoFillController } from './controllers/auto-fill.controller';
|
|
163
|
-
export { defaultLargeSheetOperationConfig, type ILargeSheetOperationConfig, type IUniverSheetsConfig, SHEETS_PLUGIN_CONFIG_KEY } from './controllers/config.schema';
|
|
164
164
|
export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
|
|
165
165
|
export { DefinedNameDataController } from './controllers/defined-name-data.controller';
|
|
166
166
|
export { SCOPE_WORKBOOK_VALUE_DEFINED_NAME } from './controllers/defined-name-data.controller';
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { IUniverSheetsConfig } from './
|
|
1
|
+
import { IUniverSheetsConfig } from './config/config';
|
|
2
2
|
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
3
|
export declare class UniverSheetsPlugin extends Plugin {
|
|
4
4
|
private readonly _config;
|
|
5
5
|
readonly _injector: Injector;
|
|
6
6
|
private readonly _configService;
|
|
7
7
|
static pluginName: string;
|
|
8
|
+
static packageName: string;
|
|
9
|
+
static version: string;
|
|
8
10
|
static type: UniverInstanceType;
|
|
9
11
|
constructor(_config: Partial<IUniverSheetsConfig> | undefined, _injector: Injector, _configService: IConfigService);
|
|
10
12
|
private _initConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPermissionPoint, PermissionStatus } from '@univerjs/core';
|
|
2
2
|
import { UnitAction, UnitObject } from '@univerjs/protocol';
|
|
3
3
|
export declare class RangeProtectionPermissionEditPoint implements IPermissionPoint {
|
|
4
4
|
type: UnitObject;
|
|
@@ -2,11 +2,11 @@ import { IMutationInfo, Disposable, DisposableCollection, ICommandService, IUniv
|
|
|
2
2
|
import { IAddRangeProtectionMutationParams } from '../../../commands/mutations/add-range-protection.mutation';
|
|
3
3
|
import { IDeleteRangeProtectionMutationParams } from '../../../commands/mutations/delete-range-protection.mutation';
|
|
4
4
|
import { ISetRangeProtectionMutationParams } from '../../../commands/mutations/set-range-protection.mutation';
|
|
5
|
-
import { EffectRefRangeParams } from '
|
|
5
|
+
import { EffectRefRangeParams } from '../../ref-range/type';
|
|
6
6
|
import { RangeProtectionRenderModel } from '../../../model/range-protection-render.model';
|
|
7
7
|
import { RangeProtectionRuleModel } from '../../../model/range-protection-rule.model';
|
|
8
8
|
import { RangeProtectionCache } from '../../../model/range-protection.cache';
|
|
9
|
-
import { RefRangeService } from '
|
|
9
|
+
import { RefRangeService } from '../../ref-range/ref-range.service';
|
|
10
10
|
import { SheetInterceptorService } from '../../sheet-interceptor/sheet-interceptor.service';
|
|
11
11
|
export declare class RangeProtectionRefRangeService extends Disposable {
|
|
12
12
|
private _selectionProtectionRuleModel;
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export {
|
|
16
|
+
export { defaultWorkbookPermissionPoints, getAllWorkbookPermissionPoint } from './util';
|