@univerjs/sheets 1.5.0 → 1.5.2
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/cjs/{plugin-tI5Deb_a.js → plugin-DpX3F7m0.js} +1 -1
- package/lib/cjs/worker.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/{plugin-Bmc8YRpc.js → plugin-6-Pyyimx.js} +1 -1
- package/lib/es/worker.js +1 -1
- package/lib/index.js +1 -1
- package/lib/{plugin-Bmc8YRpc.js → plugin-6-Pyyimx.js} +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/worker.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_plugin = require("./plugin-
|
|
2
|
+
const require_plugin = require("./plugin-DpX3F7m0.js");
|
|
3
3
|
let _univerjs_core = require("@univerjs/core");
|
|
4
4
|
let _univerjs_engine_formula = require("@univerjs/engine-formula");
|
|
5
5
|
let _univerjs_engine_render = require("@univerjs/engine-render");
|
|
@@ -18676,7 +18676,7 @@ RangeProtectionCache = __decorate([
|
|
|
18676
18676
|
|
|
18677
18677
|
// package.json
|
|
18678
18678
|
var name = "@univerjs/sheets";
|
|
18679
|
-
var version = "1.5.
|
|
18679
|
+
var version = "1.5.2";
|
|
18680
18680
|
|
|
18681
18681
|
// src/controllers/active-worksheet.controller.ts
|
|
18682
18682
|
let ActiveWorksheetController = class ActiveWorksheetController extends _univerjs_core.Disposable {
|
package/lib/cjs/worker.js
CHANGED
package/lib/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WorksheetViewPermission, $a as SetWorksheetRowCountMutation, $i as getMoveRangeUndoRedoMutations, $n as SheetLazyExecuteScheduleService, $o as checkCellValueType, $r as handleBaseInsertRange, $t as SetWorksheetHideMutation, A as ToggleCellCheckboxCommand, Aa as deserializeListOptions, Ai as InsertColAfterCommand, An as SetColDataCommand, Ao as InsertColMutation, Ar as SetUnderlineCommand, At as WorkbookExportPermission, B as DeltaRowHeightCommand, Ba as RangeMergeUtil, Bi as InsertRowByRangeCommand, Bn as UnregisterWorksheetRangeThemeStyleMutation, Bo as AFTER_CELL_EDIT, Br as AddWorksheetMergeVerticalCommand, Bt as baseProtectionActions, C as SetRangeThemeMutation, Ca as AddRangeProtectionMutation, Ci as MoveRowsCommand, Cn as SetFrozenCommand, Co as RemoveColMutation, Cr as SetOverlineCommand, Ct as WorkbookRecoverHistoryPermission, D as AddRangeThemeMutation, Da as EditStateEnum, Di as RemoveColCommand, Dn as SetColHiddenCommand, Do as MoveRowsMutation, Dr as SetTextColorCommand, Dt as WorkbookInsertRowPermission, E as EmptyMutation, Ea as FactoryDeleteRangeProtectionMutation, Ei as RemoveColByRangeCommand, En as SetDefinedNameCommand, Eo as MoveColsMutationUndoFactory, Er as SetStyleCommand, Et as WorkbookManageCollaboratorPermission, F as factorySetNumfmtUndoMutation, Fa as getVisibleRanges, Fi as InsertMultiColsRightCommand, Fn as SetBorderStyleCommand, Fo as DeleteWorksheetRangeThemeStyleMutationFactory, Fr as AddWorksheetProtectionMutation, Ft as WorkbookCreateSheetPermission, G as SetWorksheetPermissionPointsCommand, Ga as SetWorksheetActiveOperation, Gi as DeleteRangeMoveLeftCommand, Gn as DeleteWorksheetRangeThemeStyleCommand, Go as InterceptCellContentPriority, Gr as AddMergeRedoSelectionsOperationFactory, Gt as RangeProtectionPermissionEditPoint, H as SetWorksheetRowIsAutoHeightCommand, Ha as createTopMatrixFromRanges, Hi as InsertRangeMoveRightCommand, Hn as RefillCommand, Ho as SheetInterceptorService, Hr as getClearContentMutationParamForRange, Ht as getDefaultRangePermission, I as transformCellsToRange, Ia as rangeToDiscreteRange, Ii as InsertMultiRowsAboveCommand, In as BorderStyleManagerService, Io as SetWorksheetRangeThemeStyleMutation, Ir as WorksheetProtectionRuleModel, It as WorkbookCreateProtectPermission, J as defaultWorksheetPermissionPoint, Ja as SetWorksheetRowAutoHeightMutationFactory, Ji as handleDeleteRangeMutation, Jn as DeleteRangeProtectionCommand, Jo as AddWorksheetMergeMutation, Jr as MergeCellController, Jt as SetWorksheetOrderCommand, K as SetWorksheetPermissionPointsMutation, Ka as ToggleGridlinesMutation, Ki as getInsertRangeMutations, Kn as DeleteWorksheetProtectionCommand, Ko as RangeThemeInterceptorId, Kr as AddMergeUndoSelectionsOperationFactory, Kt as RangeProtectionPermissionDeleteProtectionPoint, L as INumfmtService, La as serializeListOptions, Li as InsertMultiRowsAfterCommand, Ln as RemoveSheetCommand, Lo as SetWorksheetRangeThemeStyleMutationFactory, Lr as AddWorksheetMergeAllCommand, Lt as WorkbookCopySheetPermission, M as RemoveNumfmtMutation, Ma as findFirstNonEmptyCell, Mi as InsertColByRangeCommand, Mn as SetBorderColorCommand, Mo as InsertRowMutation, Mr as AppendRowCommand, Mt as WorkbookDeleteSheetPermission, N as SetNumfmtMutation, Na as generateNullCell, Ni as InsertColCommand, Nn as SetBorderCommand, No as InsertRowMutationUndoFactory, Nr as SetWorksheetRangeThemeStyleCommand, Nt as WorkbookDeleteRowPermission, O as UnregisterWorksheetRangeThemeStyleCommand, Oa as RangeProtectionRuleModel, Oi as RemoveRowByRangeCommand, On as SetSelectedColsVisibleCommand, Oo as MoveRowsMutationUndoFactory, Or as SetTextRotationCommand, Ot as WorkbookInsertColumnPermission, P as factoryRemoveNumfmtUndoMutation, Pa as generateNullCellValue, Pi as InsertMultiColsLeftCommand, Pn as SetBorderPositionCommand, Po as DeleteWorksheetRangeThemeStyleMutation, Pr as AddWorksheetProtectionCommand, Pt as WorkbookDeleteColumnPermission, Q as getAllWorkbookPermissionPoint, Qa as SetWorksheetRowIsAutoHeightMutationFactory, Qi as getMoveRangeCommandMutations, Qn as CopyWorksheetEndMutation, Qo as getCellValue, Qr as getSeparateEffectedRangesOnCommand, Qt as SetWorksheetHideCommand, R as SplitTextToColumnsCommand, Ra as SplitDelimiterEnum, Ri as InsertRowAfterCommand, Rn as RemoveDefinedNameCommand, Ro as SheetRangeThemeModel, Rr as AddWorksheetMergeCommand, Rt as WorkbookCopyPermission, S as MarkDirtyRowAutoHeightOperation, Sa as AddRangeProtectionCommand, Si as MoveColsCommand, Sn as CancelFrozenCommand, So as RemoveWorksheetMergeMutation, Sr as SetItalicCommand, St as WorkbookRenameSheetPermission, T as MarkDirtyFilterChangeMutation, Ta as DeleteRangeProtectionMutation, Ti as RemoveSheetUndoMutationFactory, Tn as SetFrozenMutationFactory, To as MoveColsMutation, Tr as SetStrikeThroughCommand, Tt as WorkbookMoveSheetPermission, U as SetWorksheetRowCountCommand, Ua as findAllRectangle, Ui as InsertRangeMoveDownCommand, Un as InsertSheetCommand, Uo as VALIDATE_CELL, Ur as getClearContentMutationParamsForRanges, Ut as RangeProtectionPermissionViewPoint, V as SetRowHeightCommand, Va as createTopMatrixFromMatrix, Vi as InsertRowCommand, Vn as RegisterWorksheetRangeThemeStyleMutation, Vo as BEFORE_CELL_EDIT, Vr as addMergeCellsUtil, Vt as getAllRangePermissionPoint, W as SetWorksheetProtectionCommand, Wa as rangeMerge, Wi as DeleteRangeMoveUpCommand, Wn as InsertDefinedNameCommand, Wo as INTERCEPTOR_POINT, Wr as RemoveWorksheetMergeCommand, Wt as RangeProtectionPermissionManageCollaPoint, X as getAllWorksheetPermissionPointByPointPanel, Xa as SetWorksheetRowHeightMutationFactory, Xi as SetRangeValuesCommand, Xn as InsertSheetMutation, Xo as getSheetCommandTargetWorkbook, Xr as RefRangeService, Xt as SetWorksheetNameCommand, Y as getAllWorksheetPermissionPoint, Ya as SetWorksheetRowHeightMutation, Yi as handleInsertRangeMutation, Yn as CopySheetCommand, Yo as getSheetCommandTarget, Yr as getAddMergeMutationRangeByType, Yt as SetWorksheetOrderMutation, Z as defaultWorkbookPermissionPoints, Za as SetWorksheetRowIsAutoHeightMutation, Zi as MoveRangeCommand, Zn as InsertSheetUndoMutationFactory, Zo as getSheetMutationTarget, Zr as adjustRangeOnMutation, Zt as SetWorksheetNameMutation, _ as MAX_CELL_PER_SHEET_KEY, _a as REF_SELECTIONS_ENABLED, _i as rotateRange, _n as SetProtectionCommand, _o as SetColDataMutation, _r as SetBackgroundColorCommand, _t as WorksheetDeleteColumnPermission, a as NumfmtService, aa as alignToMergedCellsBorders, ai as handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, an as SetWorkbookNameCommand, ao as SetWorksheetColWidthMutation, ar as SheetCopyDownCommand, at as WorksheetSelectUnProtectedCellsPermission, b as ScrollToCellOperation, ba as WorkbookSelectionModel, bi as OperatorType, bn as SetRangeProtectionMutation, bo as ReorderRangeUndoMutationFactory, br as SetFontSizeCommand, bt as WorkbookViewPermission, c as RangeProtectionCache, ca as getCellAtRowCol, ci as handleIRemoveCol, cn as SetWorkbookCalculationSettingsMutation, co as SetRowVisibleMutation, cr as IAutoFillService, ct as WorksheetManageCollaboratorPermission, d as SheetPermissionInitController, da as setEndForRange, di as handleInsertRangeMoveDown, dn as SetTabColorMutation, do as SetRangeValuesMutation, dr as AUTO_FILL_DATA_TYPE, dt as WorksheetInsertColumnPermission, ea as SelectRangeCommand, ei as handleBaseMoveRowsCols, en as SetWorksheetDefaultStyleCommand, eo as SetWorksheetRowCountUndoMutationFactory, er as SHEETS_PLUGIN_CONFIG_KEY, es as getCellType, et as WorksheetSortPermission, f as WorkbookPermissionService, fa as ClearSelectionFormatCommand, fi as handleInsertRangeMoveRight, fn as SetRowHiddenCommand, fo as SetRangeValuesUndoMutationFactory, fr as AUTO_FILL_HOOK_TYPE, ft as WorksheetFilterPermission, g as SCOPE_WORKBOOK_VALUE_DEFINED_NAME, ga as DISABLE_NORMAL_SELECTIONS, gi as handleMoveRows, gn as SetRangeCustomMetadataCommand, go as SetColVisibleMutation, gr as ResetTextColorCommand, gt as WorksheetDeleteProtectionPermission, h as DefinedNameDataController, ha as SheetSkeletonService, hi as handleMoveRange, hn as SetRowDataCommand, ho as SetColHiddenMutation, hr as ResetBackgroundColorCommand, ht as WorksheetDeleteRowPermission, i as RangeProtectionRefRangeService, ia as RefSelectionsService, ii as handleDefaultRangeChangeWithEffectRefCommands, in as SetWorksheetActivateCommand, io as SetWorksheetColumnCountUndoMutationFactory, ir as AutoFillCommand, it as WorksheetSetCellStylePermission, j as TextToNumberCommand, ja as discreteRangeToRange, ji as InsertColBeforeCommand, jn as SetBorderBasicCommand, jo as InsertColMutationUndoFactory, jr as SetVerticalTextAlignCommand, jt as WorkbookDuplicatePermission, k as ToggleGridlinesCommand, ka as ViewStateEnum, ki as RemoveRowCommand, kn as SetSpecificColsVisibleCommand, ko as MoveRangeMutation, kr as SetTextWrapCommand, kt as WorkbookHideSheetPermission, l as RangeProtectionRenderModel, la as getPrimaryForRange, li as handleIRemoveRow, ln as WorkbookEditablePermission, lo as SetRowDataMutation, lr as AutoFillRules, lt as WorksheetInsertRowPermission, m as SheetsFreezeSyncController, ma as countCells, mi as handleMoveCols, mn as SetSpecificRowsVisibleCommand, mo as SetGridlinesColorMutation, mr as AFFECT_LAYOUT_STYLES, mt as WorksheetEditPermission, n as SheetRangeThemeService, na as getSelectionsService, ni as handleCommonDefaultRangeChangeWithEffectRefCommands, nn as DeltaColumnWidthCommand, no as SetWorksheetDefaultStyleMutationFactory, nr as ClearSelectionContentCommand, nt as WorksheetSetColumnStylePermission, o as ExclusiveRangeService, oa as copyRangeStyles, oi as handleDeleteRangeMoveLeft, on as SetWorkbookNameMutation, oo as SetWorksheetColWidthMutationFactory, or as SheetCopyRightCommand, ot as WorksheetSelectProtectedCellsPermission, p as SheetPermissionCheckController, pa as ClearSelectionAllCommand, pi as handleInsertRow, pn as SetSelectedRowsVisibleCommand, po as prepareSetRangeValuesMutation, pr as AutoFillTools, pt as WorksheetEditExtraObjectPermission, q as WorksheetPermissionService, qa as SetWorksheetRowAutoHeightMutation, qi as getRemoveRangeMutations, qn as DeleteWorksheetProtectionMutation, qo as AddMergeUndoMutationFactory, qr as MERGE_CELL_INTERCEPTOR_CHECK, qt as WorksheetProtectionPointModel, r as RangeProtectionService, ra as IRefSelectionsService, ri as handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests, rn as SetColWidthCommand, ro as SetWorksheetColumnCountMutation, rr as AutoClearContentCommand, rt as WorksheetSetCellValuePermission, s as IExclusiveRangeService, sa as followSelectionOperation, si as handleDeleteRangeMoveUp, sn as SetWorkbookCalculationSettingsCommand, so as SetRowHiddenMutation, sr as AutoFillService, st as WorksheetPivotTablePermission, t as UniverSheetsPlugin, ta as SetSelectionsOperation, ti as handleBaseRemoveRange, tn as SetWorksheetColumnCountCommand, to as SetWorksheetDefaultStyleMutation, tr as defaultLargeSheetOperationConfig, ts as isCellImage, tt as WorksheetSetRowStylePermission, u as ZebraCrossingCacheController, ua as isSingleCellSelection, ui as handleInsertCol, un as SetTabColorCommand, uo as SetRowDataMutationFactory, ur as AUTO_FILL_APPLY_TYPE, ut as WorksheetInsertHyperlinkPermission, v as CalculateResultApplyController, va as SELECTIONS_ENABLED, vi as runRefRangeMutations, vn as SetWorksheetProtectionMutation, vo as SetColDataMutationFactory, vr as SetBoldCommand, vt as WorksheetCopyPermission, w as RemoveRangeThemeMutation, wa as FactoryAddRangeProtectionMutation, wi as RemoveSheetMutation, wn as SetFrozenMutation, wo as RemoveRowMutation, wr as SetShrinkToFitCommand, wt as WorkbookPrintPermission, x as CancelMarkDirtyRowAutoHeightOperation, xa as SelectionMoveType, xi as ReorderRangeCommand, xn as SetGridlinesColorCommand, xo as RemoveMergeUndoMutationFactory, xr as SetHorizontalTextAlignCommand, xt as WorkbookSharePermission, y as AutoFillController, ya as SheetsSelectionsService, yi as EffectRefRangId, yn as FactorySetRangeProtectionMutation, yo as ReorderRangeMutation, yr as SetFontFamilyCommand, yt as WorkbookViewHistoryPermission, z as SetWorksheetShowCommand, za as splitRangeText, zi as InsertRowBeforeCommand, zn as RegisterWorksheetRangeThemeStyleCommand, zo as RangeThemeStyle, zr as AddWorksheetMergeHorizontalCommand, zt as WorkbookCommentPermission } from "./plugin-Bmc8YRpc.js";
|
|
1
|
+
import { $ as WorksheetViewPermission, $a as SetWorksheetRowCountMutation, $i as getMoveRangeUndoRedoMutations, $n as SheetLazyExecuteScheduleService, $o as checkCellValueType, $r as handleBaseInsertRange, $t as SetWorksheetHideMutation, A as ToggleCellCheckboxCommand, Aa as deserializeListOptions, Ai as InsertColAfterCommand, An as SetColDataCommand, Ao as InsertColMutation, Ar as SetUnderlineCommand, At as WorkbookExportPermission, B as DeltaRowHeightCommand, Ba as RangeMergeUtil, Bi as InsertRowByRangeCommand, Bn as UnregisterWorksheetRangeThemeStyleMutation, Bo as AFTER_CELL_EDIT, Br as AddWorksheetMergeVerticalCommand, Bt as baseProtectionActions, C as SetRangeThemeMutation, Ca as AddRangeProtectionMutation, Ci as MoveRowsCommand, Cn as SetFrozenCommand, Co as RemoveColMutation, Cr as SetOverlineCommand, Ct as WorkbookRecoverHistoryPermission, D as AddRangeThemeMutation, Da as EditStateEnum, Di as RemoveColCommand, Dn as SetColHiddenCommand, Do as MoveRowsMutation, Dr as SetTextColorCommand, Dt as WorkbookInsertRowPermission, E as EmptyMutation, Ea as FactoryDeleteRangeProtectionMutation, Ei as RemoveColByRangeCommand, En as SetDefinedNameCommand, Eo as MoveColsMutationUndoFactory, Er as SetStyleCommand, Et as WorkbookManageCollaboratorPermission, F as factorySetNumfmtUndoMutation, Fa as getVisibleRanges, Fi as InsertMultiColsRightCommand, Fn as SetBorderStyleCommand, Fo as DeleteWorksheetRangeThemeStyleMutationFactory, Fr as AddWorksheetProtectionMutation, Ft as WorkbookCreateSheetPermission, G as SetWorksheetPermissionPointsCommand, Ga as SetWorksheetActiveOperation, Gi as DeleteRangeMoveLeftCommand, Gn as DeleteWorksheetRangeThemeStyleCommand, Go as InterceptCellContentPriority, Gr as AddMergeRedoSelectionsOperationFactory, Gt as RangeProtectionPermissionEditPoint, H as SetWorksheetRowIsAutoHeightCommand, Ha as createTopMatrixFromRanges, Hi as InsertRangeMoveRightCommand, Hn as RefillCommand, Ho as SheetInterceptorService, Hr as getClearContentMutationParamForRange, Ht as getDefaultRangePermission, I as transformCellsToRange, Ia as rangeToDiscreteRange, Ii as InsertMultiRowsAboveCommand, In as BorderStyleManagerService, Io as SetWorksheetRangeThemeStyleMutation, Ir as WorksheetProtectionRuleModel, It as WorkbookCreateProtectPermission, J as defaultWorksheetPermissionPoint, Ja as SetWorksheetRowAutoHeightMutationFactory, Ji as handleDeleteRangeMutation, Jn as DeleteRangeProtectionCommand, Jo as AddWorksheetMergeMutation, Jr as MergeCellController, Jt as SetWorksheetOrderCommand, K as SetWorksheetPermissionPointsMutation, Ka as ToggleGridlinesMutation, Ki as getInsertRangeMutations, Kn as DeleteWorksheetProtectionCommand, Ko as RangeThemeInterceptorId, Kr as AddMergeUndoSelectionsOperationFactory, Kt as RangeProtectionPermissionDeleteProtectionPoint, L as INumfmtService, La as serializeListOptions, Li as InsertMultiRowsAfterCommand, Ln as RemoveSheetCommand, Lo as SetWorksheetRangeThemeStyleMutationFactory, Lr as AddWorksheetMergeAllCommand, Lt as WorkbookCopySheetPermission, M as RemoveNumfmtMutation, Ma as findFirstNonEmptyCell, Mi as InsertColByRangeCommand, Mn as SetBorderColorCommand, Mo as InsertRowMutation, Mr as AppendRowCommand, Mt as WorkbookDeleteSheetPermission, N as SetNumfmtMutation, Na as generateNullCell, Ni as InsertColCommand, Nn as SetBorderCommand, No as InsertRowMutationUndoFactory, Nr as SetWorksheetRangeThemeStyleCommand, Nt as WorkbookDeleteRowPermission, O as UnregisterWorksheetRangeThemeStyleCommand, Oa as RangeProtectionRuleModel, Oi as RemoveRowByRangeCommand, On as SetSelectedColsVisibleCommand, Oo as MoveRowsMutationUndoFactory, Or as SetTextRotationCommand, Ot as WorkbookInsertColumnPermission, P as factoryRemoveNumfmtUndoMutation, Pa as generateNullCellValue, Pi as InsertMultiColsLeftCommand, Pn as SetBorderPositionCommand, Po as DeleteWorksheetRangeThemeStyleMutation, Pr as AddWorksheetProtectionCommand, Pt as WorkbookDeleteColumnPermission, Q as getAllWorkbookPermissionPoint, Qa as SetWorksheetRowIsAutoHeightMutationFactory, Qi as getMoveRangeCommandMutations, Qn as CopyWorksheetEndMutation, Qo as getCellValue, Qr as getSeparateEffectedRangesOnCommand, Qt as SetWorksheetHideCommand, R as SplitTextToColumnsCommand, Ra as SplitDelimiterEnum, Ri as InsertRowAfterCommand, Rn as RemoveDefinedNameCommand, Ro as SheetRangeThemeModel, Rr as AddWorksheetMergeCommand, Rt as WorkbookCopyPermission, S as MarkDirtyRowAutoHeightOperation, Sa as AddRangeProtectionCommand, Si as MoveColsCommand, Sn as CancelFrozenCommand, So as RemoveWorksheetMergeMutation, Sr as SetItalicCommand, St as WorkbookRenameSheetPermission, T as MarkDirtyFilterChangeMutation, Ta as DeleteRangeProtectionMutation, Ti as RemoveSheetUndoMutationFactory, Tn as SetFrozenMutationFactory, To as MoveColsMutation, Tr as SetStrikeThroughCommand, Tt as WorkbookMoveSheetPermission, U as SetWorksheetRowCountCommand, Ua as findAllRectangle, Ui as InsertRangeMoveDownCommand, Un as InsertSheetCommand, Uo as VALIDATE_CELL, Ur as getClearContentMutationParamsForRanges, Ut as RangeProtectionPermissionViewPoint, V as SetRowHeightCommand, Va as createTopMatrixFromMatrix, Vi as InsertRowCommand, Vn as RegisterWorksheetRangeThemeStyleMutation, Vo as BEFORE_CELL_EDIT, Vr as addMergeCellsUtil, Vt as getAllRangePermissionPoint, W as SetWorksheetProtectionCommand, Wa as rangeMerge, Wi as DeleteRangeMoveUpCommand, Wn as InsertDefinedNameCommand, Wo as INTERCEPTOR_POINT, Wr as RemoveWorksheetMergeCommand, Wt as RangeProtectionPermissionManageCollaPoint, X as getAllWorksheetPermissionPointByPointPanel, Xa as SetWorksheetRowHeightMutationFactory, Xi as SetRangeValuesCommand, Xn as InsertSheetMutation, Xo as getSheetCommandTargetWorkbook, Xr as RefRangeService, Xt as SetWorksheetNameCommand, Y as getAllWorksheetPermissionPoint, Ya as SetWorksheetRowHeightMutation, Yi as handleInsertRangeMutation, Yn as CopySheetCommand, Yo as getSheetCommandTarget, Yr as getAddMergeMutationRangeByType, Yt as SetWorksheetOrderMutation, Z as defaultWorkbookPermissionPoints, Za as SetWorksheetRowIsAutoHeightMutation, Zi as MoveRangeCommand, Zn as InsertSheetUndoMutationFactory, Zo as getSheetMutationTarget, Zr as adjustRangeOnMutation, Zt as SetWorksheetNameMutation, _ as MAX_CELL_PER_SHEET_KEY, _a as REF_SELECTIONS_ENABLED, _i as rotateRange, _n as SetProtectionCommand, _o as SetColDataMutation, _r as SetBackgroundColorCommand, _t as WorksheetDeleteColumnPermission, a as NumfmtService, aa as alignToMergedCellsBorders, ai as handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, an as SetWorkbookNameCommand, ao as SetWorksheetColWidthMutation, ar as SheetCopyDownCommand, at as WorksheetSelectUnProtectedCellsPermission, b as ScrollToCellOperation, ba as WorkbookSelectionModel, bi as OperatorType, bn as SetRangeProtectionMutation, bo as ReorderRangeUndoMutationFactory, br as SetFontSizeCommand, bt as WorkbookViewPermission, c as RangeProtectionCache, ca as getCellAtRowCol, ci as handleIRemoveCol, cn as SetWorkbookCalculationSettingsMutation, co as SetRowVisibleMutation, cr as IAutoFillService, ct as WorksheetManageCollaboratorPermission, d as SheetPermissionInitController, da as setEndForRange, di as handleInsertRangeMoveDown, dn as SetTabColorMutation, do as SetRangeValuesMutation, dr as AUTO_FILL_DATA_TYPE, dt as WorksheetInsertColumnPermission, ea as SelectRangeCommand, ei as handleBaseMoveRowsCols, en as SetWorksheetDefaultStyleCommand, eo as SetWorksheetRowCountUndoMutationFactory, er as SHEETS_PLUGIN_CONFIG_KEY, es as getCellType, et as WorksheetSortPermission, f as WorkbookPermissionService, fa as ClearSelectionFormatCommand, fi as handleInsertRangeMoveRight, fn as SetRowHiddenCommand, fo as SetRangeValuesUndoMutationFactory, fr as AUTO_FILL_HOOK_TYPE, ft as WorksheetFilterPermission, g as SCOPE_WORKBOOK_VALUE_DEFINED_NAME, ga as DISABLE_NORMAL_SELECTIONS, gi as handleMoveRows, gn as SetRangeCustomMetadataCommand, go as SetColVisibleMutation, gr as ResetTextColorCommand, gt as WorksheetDeleteProtectionPermission, h as DefinedNameDataController, ha as SheetSkeletonService, hi as handleMoveRange, hn as SetRowDataCommand, ho as SetColHiddenMutation, hr as ResetBackgroundColorCommand, ht as WorksheetDeleteRowPermission, i as RangeProtectionRefRangeService, ia as RefSelectionsService, ii as handleDefaultRangeChangeWithEffectRefCommands, in as SetWorksheetActivateCommand, io as SetWorksheetColumnCountUndoMutationFactory, ir as AutoFillCommand, it as WorksheetSetCellStylePermission, j as TextToNumberCommand, ja as discreteRangeToRange, ji as InsertColBeforeCommand, jn as SetBorderBasicCommand, jo as InsertColMutationUndoFactory, jr as SetVerticalTextAlignCommand, jt as WorkbookDuplicatePermission, k as ToggleGridlinesCommand, ka as ViewStateEnum, ki as RemoveRowCommand, kn as SetSpecificColsVisibleCommand, ko as MoveRangeMutation, kr as SetTextWrapCommand, kt as WorkbookHideSheetPermission, l as RangeProtectionRenderModel, la as getPrimaryForRange, li as handleIRemoveRow, ln as WorkbookEditablePermission, lo as SetRowDataMutation, lr as AutoFillRules, lt as WorksheetInsertRowPermission, m as SheetsFreezeSyncController, ma as countCells, mi as handleMoveCols, mn as SetSpecificRowsVisibleCommand, mo as SetGridlinesColorMutation, mr as AFFECT_LAYOUT_STYLES, mt as WorksheetEditPermission, n as SheetRangeThemeService, na as getSelectionsService, ni as handleCommonDefaultRangeChangeWithEffectRefCommands, nn as DeltaColumnWidthCommand, no as SetWorksheetDefaultStyleMutationFactory, nr as ClearSelectionContentCommand, nt as WorksheetSetColumnStylePermission, o as ExclusiveRangeService, oa as copyRangeStyles, oi as handleDeleteRangeMoveLeft, on as SetWorkbookNameMutation, oo as SetWorksheetColWidthMutationFactory, or as SheetCopyRightCommand, ot as WorksheetSelectProtectedCellsPermission, p as SheetPermissionCheckController, pa as ClearSelectionAllCommand, pi as handleInsertRow, pn as SetSelectedRowsVisibleCommand, po as prepareSetRangeValuesMutation, pr as AutoFillTools, pt as WorksheetEditExtraObjectPermission, q as WorksheetPermissionService, qa as SetWorksheetRowAutoHeightMutation, qi as getRemoveRangeMutations, qn as DeleteWorksheetProtectionMutation, qo as AddMergeUndoMutationFactory, qr as MERGE_CELL_INTERCEPTOR_CHECK, qt as WorksheetProtectionPointModel, r as RangeProtectionService, ra as IRefSelectionsService, ri as handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests, rn as SetColWidthCommand, ro as SetWorksheetColumnCountMutation, rr as AutoClearContentCommand, rt as WorksheetSetCellValuePermission, s as IExclusiveRangeService, sa as followSelectionOperation, si as handleDeleteRangeMoveUp, sn as SetWorkbookCalculationSettingsCommand, so as SetRowHiddenMutation, sr as AutoFillService, st as WorksheetPivotTablePermission, t as UniverSheetsPlugin, ta as SetSelectionsOperation, ti as handleBaseRemoveRange, tn as SetWorksheetColumnCountCommand, to as SetWorksheetDefaultStyleMutation, tr as defaultLargeSheetOperationConfig, ts as isCellImage, tt as WorksheetSetRowStylePermission, u as ZebraCrossingCacheController, ua as isSingleCellSelection, ui as handleInsertCol, un as SetTabColorCommand, uo as SetRowDataMutationFactory, ur as AUTO_FILL_APPLY_TYPE, ut as WorksheetInsertHyperlinkPermission, v as CalculateResultApplyController, va as SELECTIONS_ENABLED, vi as runRefRangeMutations, vn as SetWorksheetProtectionMutation, vo as SetColDataMutationFactory, vr as SetBoldCommand, vt as WorksheetCopyPermission, w as RemoveRangeThemeMutation, wa as FactoryAddRangeProtectionMutation, wi as RemoveSheetMutation, wn as SetFrozenMutation, wo as RemoveRowMutation, wr as SetShrinkToFitCommand, wt as WorkbookPrintPermission, x as CancelMarkDirtyRowAutoHeightOperation, xa as SelectionMoveType, xi as ReorderRangeCommand, xn as SetGridlinesColorCommand, xo as RemoveMergeUndoMutationFactory, xr as SetHorizontalTextAlignCommand, xt as WorkbookSharePermission, y as AutoFillController, ya as SheetsSelectionsService, yi as EffectRefRangId, yn as FactorySetRangeProtectionMutation, yo as ReorderRangeMutation, yr as SetFontFamilyCommand, yt as WorkbookViewHistoryPermission, z as SetWorksheetShowCommand, za as splitRangeText, zi as InsertRowBeforeCommand, zn as RegisterWorksheetRangeThemeStyleCommand, zo as RangeThemeStyle, zr as AddWorksheetMergeHorizontalCommand, zt as WorkbookCommentPermission } from "./plugin-6-Pyyimx.js";
|
|
2
2
|
import { BooleanNumber, CommandType, Direction, ICommandService, IPermissionService, IUndoRedoService, IUniverInstanceService, ObjectMatrix, RANGE_TYPE, Range, Rectangle, Tools, UniverInstanceType, createRowColIter } from "@univerjs/core";
|
|
3
3
|
import { isReferenceStringWithEffectiveColumn } from "@univerjs/engine-formula";
|
|
4
4
|
import { cjk, precisionTo } from "@univerjs/engine-render";
|
|
@@ -18676,7 +18676,7 @@ RangeProtectionCache = __decorate([
|
|
|
18676
18676
|
|
|
18677
18677
|
// package.json
|
|
18678
18678
|
var name = "@univerjs/sheets";
|
|
18679
|
-
var version = "1.5.
|
|
18679
|
+
var version = "1.5.2";
|
|
18680
18680
|
|
|
18681
18681
|
// src/controllers/active-worksheet.controller.ts
|
|
18682
18682
|
let ActiveWorksheetController = class ActiveWorksheetController extends Disposable {
|
package/lib/es/worker.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WorksheetViewPermission, $a as SetWorksheetRowCountMutation, $i as getMoveRangeUndoRedoMutations, $n as SheetLazyExecuteScheduleService, $o as checkCellValueType, $r as handleBaseInsertRange, $t as SetWorksheetHideMutation, A as ToggleCellCheckboxCommand, Aa as deserializeListOptions, Ai as InsertColAfterCommand, An as SetColDataCommand, Ao as InsertColMutation, Ar as SetUnderlineCommand, At as WorkbookExportPermission, B as DeltaRowHeightCommand, Ba as RangeMergeUtil, Bi as InsertRowByRangeCommand, Bn as UnregisterWorksheetRangeThemeStyleMutation, Bo as AFTER_CELL_EDIT, Br as AddWorksheetMergeVerticalCommand, Bt as baseProtectionActions, C as SetRangeThemeMutation, Ca as AddRangeProtectionMutation, Ci as MoveRowsCommand, Cn as SetFrozenCommand, Co as RemoveColMutation, Cr as SetOverlineCommand, Ct as WorkbookRecoverHistoryPermission, D as AddRangeThemeMutation, Da as EditStateEnum, Di as RemoveColCommand, Dn as SetColHiddenCommand, Do as MoveRowsMutation, Dr as SetTextColorCommand, Dt as WorkbookInsertRowPermission, E as EmptyMutation, Ea as FactoryDeleteRangeProtectionMutation, Ei as RemoveColByRangeCommand, En as SetDefinedNameCommand, Eo as MoveColsMutationUndoFactory, Er as SetStyleCommand, Et as WorkbookManageCollaboratorPermission, F as factorySetNumfmtUndoMutation, Fa as getVisibleRanges, Fi as InsertMultiColsRightCommand, Fn as SetBorderStyleCommand, Fo as DeleteWorksheetRangeThemeStyleMutationFactory, Fr as AddWorksheetProtectionMutation, Ft as WorkbookCreateSheetPermission, G as SetWorksheetPermissionPointsCommand, Ga as SetWorksheetActiveOperation, Gi as DeleteRangeMoveLeftCommand, Gn as DeleteWorksheetRangeThemeStyleCommand, Go as InterceptCellContentPriority, Gr as AddMergeRedoSelectionsOperationFactory, Gt as RangeProtectionPermissionEditPoint, H as SetWorksheetRowIsAutoHeightCommand, Ha as createTopMatrixFromRanges, Hi as InsertRangeMoveRightCommand, Hn as RefillCommand, Ho as SheetInterceptorService, Hr as getClearContentMutationParamForRange, Ht as getDefaultRangePermission, I as transformCellsToRange, Ia as rangeToDiscreteRange, Ii as InsertMultiRowsAboveCommand, In as BorderStyleManagerService, Io as SetWorksheetRangeThemeStyleMutation, Ir as WorksheetProtectionRuleModel, It as WorkbookCreateProtectPermission, J as defaultWorksheetPermissionPoint, Ja as SetWorksheetRowAutoHeightMutationFactory, Ji as handleDeleteRangeMutation, Jn as DeleteRangeProtectionCommand, Jo as AddWorksheetMergeMutation, Jr as MergeCellController, Jt as SetWorksheetOrderCommand, K as SetWorksheetPermissionPointsMutation, Ka as ToggleGridlinesMutation, Ki as getInsertRangeMutations, Kn as DeleteWorksheetProtectionCommand, Ko as RangeThemeInterceptorId, Kr as AddMergeUndoSelectionsOperationFactory, Kt as RangeProtectionPermissionDeleteProtectionPoint, L as INumfmtService, La as serializeListOptions, Li as InsertMultiRowsAfterCommand, Ln as RemoveSheetCommand, Lo as SetWorksheetRangeThemeStyleMutationFactory, Lr as AddWorksheetMergeAllCommand, Lt as WorkbookCopySheetPermission, M as RemoveNumfmtMutation, Ma as findFirstNonEmptyCell, Mi as InsertColByRangeCommand, Mn as SetBorderColorCommand, Mo as InsertRowMutation, Mr as AppendRowCommand, Mt as WorkbookDeleteSheetPermission, N as SetNumfmtMutation, Na as generateNullCell, Ni as InsertColCommand, Nn as SetBorderCommand, No as InsertRowMutationUndoFactory, Nr as SetWorksheetRangeThemeStyleCommand, Nt as WorkbookDeleteRowPermission, O as UnregisterWorksheetRangeThemeStyleCommand, Oa as RangeProtectionRuleModel, Oi as RemoveRowByRangeCommand, On as SetSelectedColsVisibleCommand, Oo as MoveRowsMutationUndoFactory, Or as SetTextRotationCommand, Ot as WorkbookInsertColumnPermission, P as factoryRemoveNumfmtUndoMutation, Pa as generateNullCellValue, Pi as InsertMultiColsLeftCommand, Pn as SetBorderPositionCommand, Po as DeleteWorksheetRangeThemeStyleMutation, Pr as AddWorksheetProtectionCommand, Pt as WorkbookDeleteColumnPermission, Q as getAllWorkbookPermissionPoint, Qa as SetWorksheetRowIsAutoHeightMutationFactory, Qi as getMoveRangeCommandMutations, Qn as CopyWorksheetEndMutation, Qo as getCellValue, Qr as getSeparateEffectedRangesOnCommand, Qt as SetWorksheetHideCommand, R as SplitTextToColumnsCommand, Ra as SplitDelimiterEnum, Ri as InsertRowAfterCommand, Rn as RemoveDefinedNameCommand, Ro as SheetRangeThemeModel, Rr as AddWorksheetMergeCommand, Rt as WorkbookCopyPermission, S as MarkDirtyRowAutoHeightOperation, Sa as AddRangeProtectionCommand, Si as MoveColsCommand, Sn as CancelFrozenCommand, So as RemoveWorksheetMergeMutation, Sr as SetItalicCommand, St as WorkbookRenameSheetPermission, T as MarkDirtyFilterChangeMutation, Ta as DeleteRangeProtectionMutation, Ti as RemoveSheetUndoMutationFactory, Tn as SetFrozenMutationFactory, To as MoveColsMutation, Tr as SetStrikeThroughCommand, Tt as WorkbookMoveSheetPermission, U as SetWorksheetRowCountCommand, Ua as findAllRectangle, Ui as InsertRangeMoveDownCommand, Un as InsertSheetCommand, Uo as VALIDATE_CELL, Ur as getClearContentMutationParamsForRanges, Ut as RangeProtectionPermissionViewPoint, V as SetRowHeightCommand, Va as createTopMatrixFromMatrix, Vi as InsertRowCommand, Vn as RegisterWorksheetRangeThemeStyleMutation, Vo as BEFORE_CELL_EDIT, Vr as addMergeCellsUtil, Vt as getAllRangePermissionPoint, W as SetWorksheetProtectionCommand, Wa as rangeMerge, Wi as DeleteRangeMoveUpCommand, Wn as InsertDefinedNameCommand, Wo as INTERCEPTOR_POINT, Wr as RemoveWorksheetMergeCommand, Wt as RangeProtectionPermissionManageCollaPoint, X as getAllWorksheetPermissionPointByPointPanel, Xa as SetWorksheetRowHeightMutationFactory, Xi as SetRangeValuesCommand, Xn as InsertSheetMutation, Xo as getSheetCommandTargetWorkbook, Xr as RefRangeService, Xt as SetWorksheetNameCommand, Y as getAllWorksheetPermissionPoint, Ya as SetWorksheetRowHeightMutation, Yi as handleInsertRangeMutation, Yn as CopySheetCommand, Yo as getSheetCommandTarget, Yr as getAddMergeMutationRangeByType, Yt as SetWorksheetOrderMutation, Z as defaultWorkbookPermissionPoints, Za as SetWorksheetRowIsAutoHeightMutation, Zi as MoveRangeCommand, Zn as InsertSheetUndoMutationFactory, Zo as getSheetMutationTarget, Zr as adjustRangeOnMutation, Zt as SetWorksheetNameMutation, _ as MAX_CELL_PER_SHEET_KEY, _a as REF_SELECTIONS_ENABLED, _i as rotateRange, _n as SetProtectionCommand, _o as SetColDataMutation, _r as SetBackgroundColorCommand, _t as WorksheetDeleteColumnPermission, a as NumfmtService, aa as alignToMergedCellsBorders, ai as handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, an as SetWorkbookNameCommand, ao as SetWorksheetColWidthMutation, ar as SheetCopyDownCommand, at as WorksheetSelectUnProtectedCellsPermission, b as ScrollToCellOperation, ba as WorkbookSelectionModel, bi as OperatorType, bn as SetRangeProtectionMutation, bo as ReorderRangeUndoMutationFactory, br as SetFontSizeCommand, bt as WorkbookViewPermission, c as RangeProtectionCache, ca as getCellAtRowCol, ci as handleIRemoveCol, cn as SetWorkbookCalculationSettingsMutation, co as SetRowVisibleMutation, cr as IAutoFillService, ct as WorksheetManageCollaboratorPermission, d as SheetPermissionInitController, da as setEndForRange, di as handleInsertRangeMoveDown, dn as SetTabColorMutation, do as SetRangeValuesMutation, dr as AUTO_FILL_DATA_TYPE, dt as WorksheetInsertColumnPermission, ea as SelectRangeCommand, ei as handleBaseMoveRowsCols, en as SetWorksheetDefaultStyleCommand, eo as SetWorksheetRowCountUndoMutationFactory, er as SHEETS_PLUGIN_CONFIG_KEY, es as getCellType, et as WorksheetSortPermission, f as WorkbookPermissionService, fa as ClearSelectionFormatCommand, fi as handleInsertRangeMoveRight, fn as SetRowHiddenCommand, fo as SetRangeValuesUndoMutationFactory, fr as AUTO_FILL_HOOK_TYPE, ft as WorksheetFilterPermission, g as SCOPE_WORKBOOK_VALUE_DEFINED_NAME, ga as DISABLE_NORMAL_SELECTIONS, gi as handleMoveRows, gn as SetRangeCustomMetadataCommand, go as SetColVisibleMutation, gr as ResetTextColorCommand, gt as WorksheetDeleteProtectionPermission, h as DefinedNameDataController, ha as SheetSkeletonService, hi as handleMoveRange, hn as SetRowDataCommand, ho as SetColHiddenMutation, hr as ResetBackgroundColorCommand, ht as WorksheetDeleteRowPermission, i as RangeProtectionRefRangeService, ia as RefSelectionsService, ii as handleDefaultRangeChangeWithEffectRefCommands, in as SetWorksheetActivateCommand, io as SetWorksheetColumnCountUndoMutationFactory, ir as AutoFillCommand, it as WorksheetSetCellStylePermission, j as TextToNumberCommand, ja as discreteRangeToRange, ji as InsertColBeforeCommand, jn as SetBorderBasicCommand, jo as InsertColMutationUndoFactory, jr as SetVerticalTextAlignCommand, jt as WorkbookDuplicatePermission, k as ToggleGridlinesCommand, ka as ViewStateEnum, ki as RemoveRowCommand, kn as SetSpecificColsVisibleCommand, ko as MoveRangeMutation, kr as SetTextWrapCommand, kt as WorkbookHideSheetPermission, l as RangeProtectionRenderModel, la as getPrimaryForRange, li as handleIRemoveRow, ln as WorkbookEditablePermission, lo as SetRowDataMutation, lr as AutoFillRules, lt as WorksheetInsertRowPermission, m as SheetsFreezeSyncController, ma as countCells, mi as handleMoveCols, mn as SetSpecificRowsVisibleCommand, mo as SetGridlinesColorMutation, mr as AFFECT_LAYOUT_STYLES, mt as WorksheetEditPermission, n as SheetRangeThemeService, na as getSelectionsService, ni as handleCommonDefaultRangeChangeWithEffectRefCommands, nn as DeltaColumnWidthCommand, no as SetWorksheetDefaultStyleMutationFactory, nr as ClearSelectionContentCommand, nt as WorksheetSetColumnStylePermission, o as ExclusiveRangeService, oa as copyRangeStyles, oi as handleDeleteRangeMoveLeft, on as SetWorkbookNameMutation, oo as SetWorksheetColWidthMutationFactory, or as SheetCopyRightCommand, ot as WorksheetSelectProtectedCellsPermission, p as SheetPermissionCheckController, pa as ClearSelectionAllCommand, pi as handleInsertRow, pn as SetSelectedRowsVisibleCommand, po as prepareSetRangeValuesMutation, pr as AutoFillTools, pt as WorksheetEditExtraObjectPermission, q as WorksheetPermissionService, qa as SetWorksheetRowAutoHeightMutation, qi as getRemoveRangeMutations, qn as DeleteWorksheetProtectionMutation, qo as AddMergeUndoMutationFactory, qr as MERGE_CELL_INTERCEPTOR_CHECK, qt as WorksheetProtectionPointModel, r as RangeProtectionService, ra as IRefSelectionsService, ri as handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests, rn as SetColWidthCommand, ro as SetWorksheetColumnCountMutation, rr as AutoClearContentCommand, rt as WorksheetSetCellValuePermission, s as IExclusiveRangeService, sa as followSelectionOperation, si as handleDeleteRangeMoveUp, sn as SetWorkbookCalculationSettingsCommand, so as SetRowHiddenMutation, sr as AutoFillService, st as WorksheetPivotTablePermission, t as UniverSheetsPlugin, ta as SetSelectionsOperation, ti as handleBaseRemoveRange, tn as SetWorksheetColumnCountCommand, to as SetWorksheetDefaultStyleMutation, tr as defaultLargeSheetOperationConfig, ts as isCellImage, tt as WorksheetSetRowStylePermission, u as ZebraCrossingCacheController, ua as isSingleCellSelection, ui as handleInsertCol, un as SetTabColorCommand, uo as SetRowDataMutationFactory, ur as AUTO_FILL_APPLY_TYPE, ut as WorksheetInsertHyperlinkPermission, v as CalculateResultApplyController, va as SELECTIONS_ENABLED, vi as runRefRangeMutations, vn as SetWorksheetProtectionMutation, vo as SetColDataMutationFactory, vr as SetBoldCommand, vt as WorksheetCopyPermission, w as RemoveRangeThemeMutation, wa as FactoryAddRangeProtectionMutation, wi as RemoveSheetMutation, wn as SetFrozenMutation, wo as RemoveRowMutation, wr as SetShrinkToFitCommand, wt as WorkbookPrintPermission, x as CancelMarkDirtyRowAutoHeightOperation, xa as SelectionMoveType, xi as ReorderRangeCommand, xn as SetGridlinesColorCommand, xo as RemoveMergeUndoMutationFactory, xr as SetHorizontalTextAlignCommand, xt as WorkbookSharePermission, y as AutoFillController, ya as SheetsSelectionsService, yi as EffectRefRangId, yn as FactorySetRangeProtectionMutation, yo as ReorderRangeMutation, yr as SetFontFamilyCommand, yt as WorkbookViewHistoryPermission, z as SetWorksheetShowCommand, za as splitRangeText, zi as InsertRowBeforeCommand, zn as RegisterWorksheetRangeThemeStyleCommand, zo as RangeThemeStyle, zr as AddWorksheetMergeHorizontalCommand, zt as WorkbookCommentPermission } from "./plugin-Bmc8YRpc.js";
|
|
1
|
+
import { $ as WorksheetViewPermission, $a as SetWorksheetRowCountMutation, $i as getMoveRangeUndoRedoMutations, $n as SheetLazyExecuteScheduleService, $o as checkCellValueType, $r as handleBaseInsertRange, $t as SetWorksheetHideMutation, A as ToggleCellCheckboxCommand, Aa as deserializeListOptions, Ai as InsertColAfterCommand, An as SetColDataCommand, Ao as InsertColMutation, Ar as SetUnderlineCommand, At as WorkbookExportPermission, B as DeltaRowHeightCommand, Ba as RangeMergeUtil, Bi as InsertRowByRangeCommand, Bn as UnregisterWorksheetRangeThemeStyleMutation, Bo as AFTER_CELL_EDIT, Br as AddWorksheetMergeVerticalCommand, Bt as baseProtectionActions, C as SetRangeThemeMutation, Ca as AddRangeProtectionMutation, Ci as MoveRowsCommand, Cn as SetFrozenCommand, Co as RemoveColMutation, Cr as SetOverlineCommand, Ct as WorkbookRecoverHistoryPermission, D as AddRangeThemeMutation, Da as EditStateEnum, Di as RemoveColCommand, Dn as SetColHiddenCommand, Do as MoveRowsMutation, Dr as SetTextColorCommand, Dt as WorkbookInsertRowPermission, E as EmptyMutation, Ea as FactoryDeleteRangeProtectionMutation, Ei as RemoveColByRangeCommand, En as SetDefinedNameCommand, Eo as MoveColsMutationUndoFactory, Er as SetStyleCommand, Et as WorkbookManageCollaboratorPermission, F as factorySetNumfmtUndoMutation, Fa as getVisibleRanges, Fi as InsertMultiColsRightCommand, Fn as SetBorderStyleCommand, Fo as DeleteWorksheetRangeThemeStyleMutationFactory, Fr as AddWorksheetProtectionMutation, Ft as WorkbookCreateSheetPermission, G as SetWorksheetPermissionPointsCommand, Ga as SetWorksheetActiveOperation, Gi as DeleteRangeMoveLeftCommand, Gn as DeleteWorksheetRangeThemeStyleCommand, Go as InterceptCellContentPriority, Gr as AddMergeRedoSelectionsOperationFactory, Gt as RangeProtectionPermissionEditPoint, H as SetWorksheetRowIsAutoHeightCommand, Ha as createTopMatrixFromRanges, Hi as InsertRangeMoveRightCommand, Hn as RefillCommand, Ho as SheetInterceptorService, Hr as getClearContentMutationParamForRange, Ht as getDefaultRangePermission, I as transformCellsToRange, Ia as rangeToDiscreteRange, Ii as InsertMultiRowsAboveCommand, In as BorderStyleManagerService, Io as SetWorksheetRangeThemeStyleMutation, Ir as WorksheetProtectionRuleModel, It as WorkbookCreateProtectPermission, J as defaultWorksheetPermissionPoint, Ja as SetWorksheetRowAutoHeightMutationFactory, Ji as handleDeleteRangeMutation, Jn as DeleteRangeProtectionCommand, Jo as AddWorksheetMergeMutation, Jr as MergeCellController, Jt as SetWorksheetOrderCommand, K as SetWorksheetPermissionPointsMutation, Ka as ToggleGridlinesMutation, Ki as getInsertRangeMutations, Kn as DeleteWorksheetProtectionCommand, Ko as RangeThemeInterceptorId, Kr as AddMergeUndoSelectionsOperationFactory, Kt as RangeProtectionPermissionDeleteProtectionPoint, L as INumfmtService, La as serializeListOptions, Li as InsertMultiRowsAfterCommand, Ln as RemoveSheetCommand, Lo as SetWorksheetRangeThemeStyleMutationFactory, Lr as AddWorksheetMergeAllCommand, Lt as WorkbookCopySheetPermission, M as RemoveNumfmtMutation, Ma as findFirstNonEmptyCell, Mi as InsertColByRangeCommand, Mn as SetBorderColorCommand, Mo as InsertRowMutation, Mr as AppendRowCommand, Mt as WorkbookDeleteSheetPermission, N as SetNumfmtMutation, Na as generateNullCell, Ni as InsertColCommand, Nn as SetBorderCommand, No as InsertRowMutationUndoFactory, Nr as SetWorksheetRangeThemeStyleCommand, Nt as WorkbookDeleteRowPermission, O as UnregisterWorksheetRangeThemeStyleCommand, Oa as RangeProtectionRuleModel, Oi as RemoveRowByRangeCommand, On as SetSelectedColsVisibleCommand, Oo as MoveRowsMutationUndoFactory, Or as SetTextRotationCommand, Ot as WorkbookInsertColumnPermission, P as factoryRemoveNumfmtUndoMutation, Pa as generateNullCellValue, Pi as InsertMultiColsLeftCommand, Pn as SetBorderPositionCommand, Po as DeleteWorksheetRangeThemeStyleMutation, Pr as AddWorksheetProtectionCommand, Pt as WorkbookDeleteColumnPermission, Q as getAllWorkbookPermissionPoint, Qa as SetWorksheetRowIsAutoHeightMutationFactory, Qi as getMoveRangeCommandMutations, Qn as CopyWorksheetEndMutation, Qo as getCellValue, Qr as getSeparateEffectedRangesOnCommand, Qt as SetWorksheetHideCommand, R as SplitTextToColumnsCommand, Ra as SplitDelimiterEnum, Ri as InsertRowAfterCommand, Rn as RemoveDefinedNameCommand, Ro as SheetRangeThemeModel, Rr as AddWorksheetMergeCommand, Rt as WorkbookCopyPermission, S as MarkDirtyRowAutoHeightOperation, Sa as AddRangeProtectionCommand, Si as MoveColsCommand, Sn as CancelFrozenCommand, So as RemoveWorksheetMergeMutation, Sr as SetItalicCommand, St as WorkbookRenameSheetPermission, T as MarkDirtyFilterChangeMutation, Ta as DeleteRangeProtectionMutation, Ti as RemoveSheetUndoMutationFactory, Tn as SetFrozenMutationFactory, To as MoveColsMutation, Tr as SetStrikeThroughCommand, Tt as WorkbookMoveSheetPermission, U as SetWorksheetRowCountCommand, Ua as findAllRectangle, Ui as InsertRangeMoveDownCommand, Un as InsertSheetCommand, Uo as VALIDATE_CELL, Ur as getClearContentMutationParamsForRanges, Ut as RangeProtectionPermissionViewPoint, V as SetRowHeightCommand, Va as createTopMatrixFromMatrix, Vi as InsertRowCommand, Vn as RegisterWorksheetRangeThemeStyleMutation, Vo as BEFORE_CELL_EDIT, Vr as addMergeCellsUtil, Vt as getAllRangePermissionPoint, W as SetWorksheetProtectionCommand, Wa as rangeMerge, Wi as DeleteRangeMoveUpCommand, Wn as InsertDefinedNameCommand, Wo as INTERCEPTOR_POINT, Wr as RemoveWorksheetMergeCommand, Wt as RangeProtectionPermissionManageCollaPoint, X as getAllWorksheetPermissionPointByPointPanel, Xa as SetWorksheetRowHeightMutationFactory, Xi as SetRangeValuesCommand, Xn as InsertSheetMutation, Xo as getSheetCommandTargetWorkbook, Xr as RefRangeService, Xt as SetWorksheetNameCommand, Y as getAllWorksheetPermissionPoint, Ya as SetWorksheetRowHeightMutation, Yi as handleInsertRangeMutation, Yn as CopySheetCommand, Yo as getSheetCommandTarget, Yr as getAddMergeMutationRangeByType, Yt as SetWorksheetOrderMutation, Z as defaultWorkbookPermissionPoints, Za as SetWorksheetRowIsAutoHeightMutation, Zi as MoveRangeCommand, Zn as InsertSheetUndoMutationFactory, Zo as getSheetMutationTarget, Zr as adjustRangeOnMutation, Zt as SetWorksheetNameMutation, _ as MAX_CELL_PER_SHEET_KEY, _a as REF_SELECTIONS_ENABLED, _i as rotateRange, _n as SetProtectionCommand, _o as SetColDataMutation, _r as SetBackgroundColorCommand, _t as WorksheetDeleteColumnPermission, a as NumfmtService, aa as alignToMergedCellsBorders, ai as handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, an as SetWorkbookNameCommand, ao as SetWorksheetColWidthMutation, ar as SheetCopyDownCommand, at as WorksheetSelectUnProtectedCellsPermission, b as ScrollToCellOperation, ba as WorkbookSelectionModel, bi as OperatorType, bn as SetRangeProtectionMutation, bo as ReorderRangeUndoMutationFactory, br as SetFontSizeCommand, bt as WorkbookViewPermission, c as RangeProtectionCache, ca as getCellAtRowCol, ci as handleIRemoveCol, cn as SetWorkbookCalculationSettingsMutation, co as SetRowVisibleMutation, cr as IAutoFillService, ct as WorksheetManageCollaboratorPermission, d as SheetPermissionInitController, da as setEndForRange, di as handleInsertRangeMoveDown, dn as SetTabColorMutation, do as SetRangeValuesMutation, dr as AUTO_FILL_DATA_TYPE, dt as WorksheetInsertColumnPermission, ea as SelectRangeCommand, ei as handleBaseMoveRowsCols, en as SetWorksheetDefaultStyleCommand, eo as SetWorksheetRowCountUndoMutationFactory, er as SHEETS_PLUGIN_CONFIG_KEY, es as getCellType, et as WorksheetSortPermission, f as WorkbookPermissionService, fa as ClearSelectionFormatCommand, fi as handleInsertRangeMoveRight, fn as SetRowHiddenCommand, fo as SetRangeValuesUndoMutationFactory, fr as AUTO_FILL_HOOK_TYPE, ft as WorksheetFilterPermission, g as SCOPE_WORKBOOK_VALUE_DEFINED_NAME, ga as DISABLE_NORMAL_SELECTIONS, gi as handleMoveRows, gn as SetRangeCustomMetadataCommand, go as SetColVisibleMutation, gr as ResetTextColorCommand, gt as WorksheetDeleteProtectionPermission, h as DefinedNameDataController, ha as SheetSkeletonService, hi as handleMoveRange, hn as SetRowDataCommand, ho as SetColHiddenMutation, hr as ResetBackgroundColorCommand, ht as WorksheetDeleteRowPermission, i as RangeProtectionRefRangeService, ia as RefSelectionsService, ii as handleDefaultRangeChangeWithEffectRefCommands, in as SetWorksheetActivateCommand, io as SetWorksheetColumnCountUndoMutationFactory, ir as AutoFillCommand, it as WorksheetSetCellStylePermission, j as TextToNumberCommand, ja as discreteRangeToRange, ji as InsertColBeforeCommand, jn as SetBorderBasicCommand, jo as InsertColMutationUndoFactory, jr as SetVerticalTextAlignCommand, jt as WorkbookDuplicatePermission, k as ToggleGridlinesCommand, ka as ViewStateEnum, ki as RemoveRowCommand, kn as SetSpecificColsVisibleCommand, ko as MoveRangeMutation, kr as SetTextWrapCommand, kt as WorkbookHideSheetPermission, l as RangeProtectionRenderModel, la as getPrimaryForRange, li as handleIRemoveRow, ln as WorkbookEditablePermission, lo as SetRowDataMutation, lr as AutoFillRules, lt as WorksheetInsertRowPermission, m as SheetsFreezeSyncController, ma as countCells, mi as handleMoveCols, mn as SetSpecificRowsVisibleCommand, mo as SetGridlinesColorMutation, mr as AFFECT_LAYOUT_STYLES, mt as WorksheetEditPermission, n as SheetRangeThemeService, na as getSelectionsService, ni as handleCommonDefaultRangeChangeWithEffectRefCommands, nn as DeltaColumnWidthCommand, no as SetWorksheetDefaultStyleMutationFactory, nr as ClearSelectionContentCommand, nt as WorksheetSetColumnStylePermission, o as ExclusiveRangeService, oa as copyRangeStyles, oi as handleDeleteRangeMoveLeft, on as SetWorkbookNameMutation, oo as SetWorksheetColWidthMutationFactory, or as SheetCopyRightCommand, ot as WorksheetSelectProtectedCellsPermission, p as SheetPermissionCheckController, pa as ClearSelectionAllCommand, pi as handleInsertRow, pn as SetSelectedRowsVisibleCommand, po as prepareSetRangeValuesMutation, pr as AutoFillTools, pt as WorksheetEditExtraObjectPermission, q as WorksheetPermissionService, qa as SetWorksheetRowAutoHeightMutation, qi as getRemoveRangeMutations, qn as DeleteWorksheetProtectionMutation, qo as AddMergeUndoMutationFactory, qr as MERGE_CELL_INTERCEPTOR_CHECK, qt as WorksheetProtectionPointModel, r as RangeProtectionService, ra as IRefSelectionsService, ri as handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests, rn as SetColWidthCommand, ro as SetWorksheetColumnCountMutation, rr as AutoClearContentCommand, rt as WorksheetSetCellValuePermission, s as IExclusiveRangeService, sa as followSelectionOperation, si as handleDeleteRangeMoveUp, sn as SetWorkbookCalculationSettingsCommand, so as SetRowHiddenMutation, sr as AutoFillService, st as WorksheetPivotTablePermission, t as UniverSheetsPlugin, ta as SetSelectionsOperation, ti as handleBaseRemoveRange, tn as SetWorksheetColumnCountCommand, to as SetWorksheetDefaultStyleMutation, tr as defaultLargeSheetOperationConfig, ts as isCellImage, tt as WorksheetSetRowStylePermission, u as ZebraCrossingCacheController, ua as isSingleCellSelection, ui as handleInsertCol, un as SetTabColorCommand, uo as SetRowDataMutationFactory, ur as AUTO_FILL_APPLY_TYPE, ut as WorksheetInsertHyperlinkPermission, v as CalculateResultApplyController, va as SELECTIONS_ENABLED, vi as runRefRangeMutations, vn as SetWorksheetProtectionMutation, vo as SetColDataMutationFactory, vr as SetBoldCommand, vt as WorksheetCopyPermission, w as RemoveRangeThemeMutation, wa as FactoryAddRangeProtectionMutation, wi as RemoveSheetMutation, wn as SetFrozenMutation, wo as RemoveRowMutation, wr as SetShrinkToFitCommand, wt as WorkbookPrintPermission, x as CancelMarkDirtyRowAutoHeightOperation, xa as SelectionMoveType, xi as ReorderRangeCommand, xn as SetGridlinesColorCommand, xo as RemoveMergeUndoMutationFactory, xr as SetHorizontalTextAlignCommand, xt as WorkbookSharePermission, y as AutoFillController, ya as SheetsSelectionsService, yi as EffectRefRangId, yn as FactorySetRangeProtectionMutation, yo as ReorderRangeMutation, yr as SetFontFamilyCommand, yt as WorkbookViewHistoryPermission, z as SetWorksheetShowCommand, za as splitRangeText, zi as InsertRowBeforeCommand, zn as RegisterWorksheetRangeThemeStyleCommand, zo as RangeThemeStyle, zr as AddWorksheetMergeHorizontalCommand, zt as WorkbookCommentPermission } from "./plugin-6-Pyyimx.js";
|
|
2
2
|
import { BooleanNumber, CommandType, Direction, ICommandService, IPermissionService, IUndoRedoService, IUniverInstanceService, ObjectMatrix, RANGE_TYPE, Range, Rectangle, Tools, UniverInstanceType, createRowColIter } from "@univerjs/core";
|
|
3
3
|
import { isReferenceStringWithEffectiveColumn } from "@univerjs/engine-formula";
|
|
4
4
|
import { cjk, precisionTo } from "@univerjs/engine-render";
|
|
@@ -18676,7 +18676,7 @@ RangeProtectionCache = __decorate([
|
|
|
18676
18676
|
|
|
18677
18677
|
// package.json
|
|
18678
18678
|
var name = "@univerjs/sheets";
|
|
18679
|
-
var version = "1.5.
|
|
18679
|
+
var version = "1.5.2";
|
|
18680
18680
|
|
|
18681
18681
|
// src/controllers/active-worksheet.controller.ts
|
|
18682
18682
|
let ActiveWorksheetController = class ActiveWorksheetController extends Disposable {
|