@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.
@@ -1,5 +1,5 @@
1
1
  import { IMutation, IRange } from '@univerjs/core';
2
- import { ISheetCommandSharedParams } from '../../commands/utils/interface';
2
+ import { ISheetCommandSharedParams } from '../utils/interface';
3
3
  export interface IReorderRangeMutationParams extends ISheetCommandSharedParams {
4
4
  range: IRange;
5
5
  order: {
@@ -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';
@@ -1,10 +1,12 @@
1
- import { IUniverSheetsConfig } from './controllers/config.schema';
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 { PermissionStatus, IPermissionPoint } from '@univerjs/core';
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 '../../../services/ref-range/type';
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 '../../../services/ref-range/ref-range.service';
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 { getAllWorkbookPermissionPoint, defaultWorkbookPermissionPoints } from './util';
16
+ export { defaultWorkbookPermissionPoints, getAllWorkbookPermissionPoint } from './util';