@univerjs/sheets 0.8.1 → 0.8.2-nightly.202506201607
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/facade.js +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/es/facade.js +58 -55
- package/lib/es/index.js +3411 -3368
- package/lib/facade.js +58 -55
- package/lib/index.js +3411 -3368
- package/lib/types/basics/utils.d.ts +1 -1
- package/lib/types/facade/f-workbook.d.ts +1 -1
- package/lib/types/services/ref-range/util.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/package.json +8 -8
- package/LICENSE +0 -176
package/lib/facade.js
CHANGED
|
@@ -3,14 +3,14 @@ var nt = (r, e, t) => e in r ? tt(r, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var p = (r, e, t) => nt(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { Inject as u, Injector as x, ICommandService as l, IPermissionService as ue, IAuthzIoService as Fe, LocaleService as He, generateRandomId as Oe, Rectangle as M, RANGE_TYPE as w, HorizontalAlign as T, VerticalAlign as A, TextStyleValue as we, RichTextValue as P, BooleanNumber as g, WrapStrategy as L, DEFAULT_STYLES as ke, covertCellValue as re, covertCellValues as Se, Dimension as N, isNullCell as D, ILogService as je, Direction as H, ObjectMatrix as J, IResourceLoaderService as rt, IUniverInstanceService as se, mergeWorksheetSnapshotWithDefault as Ce, Tools as ve, UndoCommand as st, RedoCommand as ot, toDisposable as Le, UniverInstanceType as U, CanceledError as f } from "@univerjs/core";
|
|
5
5
|
import { FBase as ge, FBaseInitialable as le, FUniver as ze, FEnum as it, FEventName as at } from "@univerjs/core/facade";
|
|
6
|
-
import { WorksheetProtectionRuleModel as Ge, RangeProtectionRuleModel as $e, WorksheetProtectionPointModel as qe, SCOPE_WORKBOOK_VALUE_DEFINED_NAME as F, SetDefinedNameCommand as oe, RemoveDefinedNameCommand as ht, PermissionPointsDefinitions as dt, WorkbookEditablePermission as Ke, UnitObject as W, AddWorksheetProtectionMutation as ct, DeleteWorksheetProtectionMutation as ut, getAllWorksheetPermissionPoint as gt, getAllWorksheetPermissionPointByPointPanel as fe, SetWorksheetPermissionPointsMutation as lt, AddRangeProtectionMutation as mt, DeleteRangeProtectionMutation as _t, SetRangeProtectionMutation as wt, WorksheetEditPermission as kt, WorksheetViewPermission as St, SetBorderBasicCommand as Ct, SetStyleCommand as b, SetTextRotationCommand as vt, SetRangeValuesCommand as B, SetTextWrapCommand as ie, SetVerticalTextAlignCommand as ft, SetHorizontalTextAlignCommand as It, addMergeCellsUtil as Q, getAddMergeMutationRangeByType as Ie, RemoveWorksheetMergeCommand as Rt, getPrimaryForRange as z, SetSelectionsOperation as me, SplitTextToColumnsCommand as bt, SetWorksheetRangeThemeStyleCommand as Et, DeleteWorksheetRangeThemeStyleCommand as pt, SheetRangeThemeService as Ye, ClearSelectionAllCommand as Je, ClearSelectionContentCommand as Qe, ClearSelectionFormatCommand as Xe, InsertRangeMoveDownCommand as yt, InsertRangeMoveRightCommand as Ut, DeleteRangeMoveUpCommand as xt, DeleteRangeMoveLeftCommand as Pt, getNextPrimaryCell as Nt, SheetsSelectionsService as Ze, SetWorksheetDefaultStyleMutation as Mt, SetColDataCommand as Re, SetRowDataCommand as be, copyRangeStyles as O, InsertRowByRangeCommand as Ee, RemoveRowByRangeCommand as Tt, MoveRowsCommand as At, SetRowHiddenCommand as pe, SetSpecificRowsVisibleCommand as ye, SetWorksheetRowIsAutoHeightMutation as Dt, SetRowHeightCommand as Ue, SetWorksheetRowIsAutoHeightCommand as X, InsertColByRangeCommand as xe, RemoveColByRangeCommand as Wt, MoveColsCommand as Bt, SetColHiddenCommand as Pe, SetSpecificColsVisibleCommand as Ne, SetColWidthCommand as Vt, SetFrozenCommand as Z, CancelFrozenCommand as Ft, ToggleGridlinesCommand as ae, SetGridlinesColorCommand as he, SetTabColorCommand as Ht, SetRangeValuesMutation as Me, SetWorksheetHideCommand as Ot, SetWorksheetShowCommand as jt, SetWorksheetNameCommand as de, AppendRowCommand as Lt, SetWorksheetRowCountCommand as zt, SetWorksheetColumnCountCommand as Gt, InsertSheetCommand as G, SetWorksheetActiveOperation as V, RemoveSheetCommand as ce, CopySheetCommand as
|
|
7
|
-
import { IDefinedNamesService as et, serializeRange as _e, FormulaDataModel as
|
|
8
|
-
var
|
|
9
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
6
|
+
import { WorksheetProtectionRuleModel as Ge, RangeProtectionRuleModel as $e, WorksheetProtectionPointModel as qe, SCOPE_WORKBOOK_VALUE_DEFINED_NAME as F, SetDefinedNameCommand as oe, RemoveDefinedNameCommand as ht, PermissionPointsDefinitions as dt, WorkbookEditablePermission as Ke, UnitObject as W, AddWorksheetProtectionMutation as ct, DeleteWorksheetProtectionMutation as ut, getAllWorksheetPermissionPoint as gt, getAllWorksheetPermissionPointByPointPanel as fe, SetWorksheetPermissionPointsMutation as lt, AddRangeProtectionMutation as mt, DeleteRangeProtectionMutation as _t, SetRangeProtectionMutation as wt, WorksheetEditPermission as kt, WorksheetViewPermission as St, SetBorderBasicCommand as Ct, SetStyleCommand as b, SetTextRotationCommand as vt, SetRangeValuesCommand as B, SetTextWrapCommand as ie, SetVerticalTextAlignCommand as ft, SetHorizontalTextAlignCommand as It, addMergeCellsUtil as Q, getAddMergeMutationRangeByType as Ie, RemoveWorksheetMergeCommand as Rt, getPrimaryForRange as z, SetSelectionsOperation as me, SplitTextToColumnsCommand as bt, SetWorksheetRangeThemeStyleCommand as Et, DeleteWorksheetRangeThemeStyleCommand as pt, SheetRangeThemeService as Ye, ClearSelectionAllCommand as Je, ClearSelectionContentCommand as Qe, ClearSelectionFormatCommand as Xe, InsertRangeMoveDownCommand as yt, InsertRangeMoveRightCommand as Ut, DeleteRangeMoveUpCommand as xt, DeleteRangeMoveLeftCommand as Pt, getNextPrimaryCell as Nt, SheetsSelectionsService as Ze, SetWorksheetDefaultStyleMutation as Mt, SetColDataCommand as Re, SetRowDataCommand as be, copyRangeStyles as O, InsertRowByRangeCommand as Ee, RemoveRowByRangeCommand as Tt, MoveRowsCommand as At, SetRowHiddenCommand as pe, SetSpecificRowsVisibleCommand as ye, SetWorksheetRowIsAutoHeightMutation as Dt, SetRowHeightCommand as Ue, SetWorksheetRowIsAutoHeightCommand as X, InsertColByRangeCommand as xe, RemoveColByRangeCommand as Wt, MoveColsCommand as Bt, SetColHiddenCommand as Pe, SetSpecificColsVisibleCommand as Ne, SetColWidthCommand as Vt, SetFrozenCommand as Z, CancelFrozenCommand as Ft, ToggleGridlinesCommand as ae, SetGridlinesColorCommand as he, SetTabColorCommand as Ht, SetRangeValuesMutation as Me, SetWorksheetHideCommand as Ot, SetWorksheetShowCommand as jt, SetWorksheetNameCommand as de, AppendRowCommand as Lt, SetWorksheetRowCountCommand as zt, SetWorksheetColumnCountCommand as Gt, SetWorkbookNameCommand as $t, InsertSheetCommand as G, SetWorksheetActiveOperation as V, RemoveSheetCommand as ce, CopySheetCommand as qt, SetWorksheetOrderCommand as Kt, RegisterWorksheetRangeThemeStyleCommand as Yt, UnregisterWorksheetRangeThemeStyleCommand as Jt, RangeThemeStyle as Qt, SetWorksheetOrderMutation as Te, SetTabColorMutation as Ae, SetWorksheetHideMutation as De, COMMAND_LISTENER_VALUE_CHANGE as Xt, getValueChangedEffectedRange as Zt, SheetValueChangeType as en, SheetSkeletonChangeType as tn, SplitDelimiterEnum as nn } from "@univerjs/sheets";
|
|
7
|
+
import { IDefinedNamesService as et, serializeRange as _e, FormulaDataModel as rn, serializeRangeWithSheet as sn, deserializeRangeWithSheet as on } from "@univerjs/engine-formula";
|
|
8
|
+
var an = Object.getOwnPropertyDescriptor, hn = (r, e, t, n) => {
|
|
9
|
+
for (var s = n > 1 ? void 0 : n ? an(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
10
10
|
(i = r[o]) && (s = i(s) || s);
|
|
11
11
|
return s;
|
|
12
12
|
}, I = (r, e) => (t, n) => e(t, n, r);
|
|
13
|
-
function
|
|
13
|
+
function dn(r, e, t) {
|
|
14
14
|
const n = t.getDefinedNameMap(r);
|
|
15
15
|
if (n == null)
|
|
16
16
|
return e.t("definedName.defaultName") + 1;
|
|
@@ -233,7 +233,7 @@ let $ = class extends ge {
|
|
|
233
233
|
super(), this._definedNameParam = r, this._injector = e, this._commandService = t, this._permissionService = n, this._worksheetProtectionRuleModel = s, this._rangeProtectionRuleModel = o, this._worksheetProtectionPointRuleModel = i, this._authzIoService = a, this._localeService = h, this._definedNamesService = d;
|
|
234
234
|
}
|
|
235
235
|
_apply() {
|
|
236
|
-
this._definedNameParam.name === "" && (this._definedNameParam.name =
|
|
236
|
+
this._definedNameParam.name === "" && (this._definedNameParam.name = dn(this._definedNameParam.unitId, this._localeService, this._definedNamesService)), this._commandService.syncExecuteCommand(oe.id, this._definedNameParam);
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
239
|
* Gets the name of the defined name.
|
|
@@ -447,7 +447,7 @@ let $ = class extends ge {
|
|
|
447
447
|
return r.load(this._definedNameParam), r;
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
|
-
$ =
|
|
450
|
+
$ = hn([
|
|
451
451
|
I(1, u(x)),
|
|
452
452
|
I(2, l),
|
|
453
453
|
I(3, ue),
|
|
@@ -458,8 +458,8 @@ $ = an([
|
|
|
458
458
|
I(8, u(He)),
|
|
459
459
|
I(9, et)
|
|
460
460
|
], $);
|
|
461
|
-
var
|
|
462
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
461
|
+
var cn = Object.getOwnPropertyDescriptor, un = (r, e, t, n) => {
|
|
462
|
+
for (var s = n > 1 ? void 0 : n ? cn(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
463
463
|
(i = r[o]) && (s = i(s) || s);
|
|
464
464
|
return s;
|
|
465
465
|
}, y = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -799,7 +799,7 @@ let q = class extends ge {
|
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
|
-
q =
|
|
802
|
+
q = un([
|
|
803
803
|
y(0, u(x)),
|
|
804
804
|
y(1, l),
|
|
805
805
|
y(2, ue),
|
|
@@ -808,7 +808,7 @@ q = cn([
|
|
|
808
808
|
y(5, u(qe)),
|
|
809
809
|
y(6, u(Fe))
|
|
810
810
|
], q);
|
|
811
|
-
function
|
|
811
|
+
function gn(r) {
|
|
812
812
|
switch (r) {
|
|
813
813
|
case "left":
|
|
814
814
|
return T.LEFT;
|
|
@@ -832,7 +832,7 @@ function We(r) {
|
|
|
832
832
|
return "general";
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function ln(r) {
|
|
836
836
|
switch (r) {
|
|
837
837
|
case "top":
|
|
838
838
|
return A.TOP;
|
|
@@ -874,8 +874,8 @@ function te(r, e) {
|
|
|
874
874
|
rangeType: w.COLUMN
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
|
-
var
|
|
878
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
877
|
+
var mn = Object.getOwnPropertyDescriptor, _n = (r, e, t, n) => {
|
|
878
|
+
for (var s = n > 1 ? void 0 : n ? mn(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
879
879
|
(i = r[o]) && (s = i(s) || s);
|
|
880
880
|
return s;
|
|
881
881
|
}, ne = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -1954,7 +1954,7 @@ let m = class extends le {
|
|
|
1954
1954
|
unitId: this._workbook.getUnitId(),
|
|
1955
1955
|
subUnitId: this._worksheet.getSheetId(),
|
|
1956
1956
|
range: this._range,
|
|
1957
|
-
value:
|
|
1957
|
+
value: ln(r)
|
|
1958
1958
|
}), this;
|
|
1959
1959
|
}
|
|
1960
1960
|
/**
|
|
@@ -1974,7 +1974,7 @@ let m = class extends le {
|
|
|
1974
1974
|
unitId: this._workbook.getUnitId(),
|
|
1975
1975
|
subUnitId: this._worksheet.getSheetId(),
|
|
1976
1976
|
range: this._range,
|
|
1977
|
-
value:
|
|
1977
|
+
value: gn(r)
|
|
1978
1978
|
}), this;
|
|
1979
1979
|
}
|
|
1980
1980
|
/**
|
|
@@ -2364,7 +2364,7 @@ let m = class extends le {
|
|
|
2364
2364
|
startAbsoluteRefType: e,
|
|
2365
2365
|
endAbsoluteRefType: t
|
|
2366
2366
|
};
|
|
2367
|
-
return r ?
|
|
2367
|
+
return r ? sn(this._worksheet.getName(), n) : _e(n);
|
|
2368
2368
|
}
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Sets the specified range as the active range, with the top left cell in the range as the current cell.
|
|
@@ -2889,16 +2889,16 @@ let m = class extends le {
|
|
|
2889
2889
|
return this.setValues(r.map((e) => e.map((t) => ({ f: t }))));
|
|
2890
2890
|
}
|
|
2891
2891
|
};
|
|
2892
|
-
m =
|
|
2892
|
+
m = _n([
|
|
2893
2893
|
ne(3, u(x)),
|
|
2894
2894
|
ne(4, l),
|
|
2895
|
-
ne(5, u(
|
|
2895
|
+
ne(5, u(rn))
|
|
2896
2896
|
], m);
|
|
2897
|
-
var
|
|
2898
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
2897
|
+
var wn = Object.getOwnPropertyDescriptor, kn = (r, e, t, n) => {
|
|
2898
|
+
for (var s = n > 1 ? void 0 : n ? wn(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
2899
2899
|
(i = r[o]) && (s = i(s) || s);
|
|
2900
2900
|
return s;
|
|
2901
|
-
},
|
|
2901
|
+
}, Sn = (r, e) => (t, n) => e(t, n, r);
|
|
2902
2902
|
let K = class {
|
|
2903
2903
|
constructor(r, e, t, n) {
|
|
2904
2904
|
this._workbook = r, this._worksheet = e, this._selections = t, this._injector = n;
|
|
@@ -3052,11 +3052,11 @@ let K = class {
|
|
|
3052
3052
|
return t ? this._injector.createInstance(m, this._workbook, this._worksheet, t) : null;
|
|
3053
3053
|
}
|
|
3054
3054
|
};
|
|
3055
|
-
K =
|
|
3056
|
-
|
|
3055
|
+
K = kn([
|
|
3056
|
+
Sn(3, u(x))
|
|
3057
3057
|
], K);
|
|
3058
|
-
var
|
|
3059
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
3058
|
+
var Cn = Object.getOwnPropertyDescriptor, vn = (r, e, t, n) => {
|
|
3059
|
+
for (var s = n > 1 ? void 0 : n ? Cn(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
3060
3060
|
(i = r[o]) && (s = i(s) || s);
|
|
3061
3061
|
return s;
|
|
3062
3062
|
}, j = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -3295,7 +3295,7 @@ let k = class extends le {
|
|
|
3295
3295
|
if (typeof e == "object")
|
|
3296
3296
|
o = e, i = this._worksheet;
|
|
3297
3297
|
else if (typeof e == "string") {
|
|
3298
|
-
const { range: a, sheetName: h } =
|
|
3298
|
+
const { range: a, sheetName: h } = on(e), d = h ? this._workbook.getSheetBySheetName(h) : this._worksheet;
|
|
3299
3299
|
if (!d)
|
|
3300
3300
|
throw new Error("Range not found");
|
|
3301
3301
|
i = d, o = {
|
|
@@ -5044,14 +5044,14 @@ let k = class extends le {
|
|
|
5044
5044
|
}), this;
|
|
5045
5045
|
}
|
|
5046
5046
|
};
|
|
5047
|
-
k =
|
|
5047
|
+
k = vn([
|
|
5048
5048
|
j(3, u(x)),
|
|
5049
5049
|
j(4, u(Ze)),
|
|
5050
5050
|
j(5, u(je)),
|
|
5051
5051
|
j(6, l)
|
|
5052
5052
|
], k);
|
|
5053
|
-
var
|
|
5054
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
5053
|
+
var fn = Object.getOwnPropertyDescriptor, In = (r, e, t, n) => {
|
|
5054
|
+
for (var s = n > 1 ? void 0 : n ? fn(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
5055
5055
|
(i = r[o]) && (s = i(s) || s);
|
|
5056
5056
|
return s;
|
|
5057
5057
|
}, R = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -5114,7 +5114,10 @@ let S = class extends le {
|
|
|
5114
5114
|
* ```
|
|
5115
5115
|
*/
|
|
5116
5116
|
setName(e) {
|
|
5117
|
-
this.
|
|
5117
|
+
return this._commandService.syncExecuteCommand($t.id, {
|
|
5118
|
+
unitId: this._workbook.getUnitId(),
|
|
5119
|
+
name: e
|
|
5120
|
+
}), this;
|
|
5118
5121
|
}
|
|
5119
5122
|
/**
|
|
5120
5123
|
* Save workbook snapshot data, including conditional formatting, data validation, and other plugin data.
|
|
@@ -5555,7 +5558,7 @@ let S = class extends le {
|
|
|
5555
5558
|
* ```
|
|
5556
5559
|
*/
|
|
5557
5560
|
duplicateSheet(e) {
|
|
5558
|
-
return this._commandService.syncExecuteCommand(
|
|
5561
|
+
return this._commandService.syncExecuteCommand(qt.id, {
|
|
5559
5562
|
unitId: e.getWorkbook().getUnitId(),
|
|
5560
5563
|
subUnitId: e.getSheetId()
|
|
5561
5564
|
}), this._injector.createInstance(k, this, this._workbook, this._workbook.getActiveSheet());
|
|
@@ -5651,7 +5654,7 @@ let S = class extends le {
|
|
|
5651
5654
|
*/
|
|
5652
5655
|
moveSheet(e, t) {
|
|
5653
5656
|
let n = t;
|
|
5654
|
-
return n < 0 ? n = 0 : n > this._workbook.getSheets().length - 1 && (n = this._workbook.getSheets().length - 1), this._commandService.syncExecuteCommand(
|
|
5657
|
+
return n < 0 ? n = 0 : n > this._workbook.getSheets().length - 1 && (n = this._workbook.getSheets().length - 1), this._commandService.syncExecuteCommand(Kt.id, {
|
|
5655
5658
|
unitId: e.getWorkbook().getUnitId(),
|
|
5656
5659
|
order: n,
|
|
5657
5660
|
subUnitId: e.getSheetId()
|
|
@@ -5826,7 +5829,7 @@ let S = class extends le {
|
|
|
5826
5829
|
* ```
|
|
5827
5830
|
*/
|
|
5828
5831
|
registerRangeTheme(e) {
|
|
5829
|
-
this._commandService.syncExecuteCommand(
|
|
5832
|
+
this._commandService.syncExecuteCommand(Yt.id, {
|
|
5830
5833
|
unitId: this.getId(),
|
|
5831
5834
|
rangeThemeStyle: e
|
|
5832
5835
|
});
|
|
@@ -5842,7 +5845,7 @@ let S = class extends le {
|
|
|
5842
5845
|
* ```
|
|
5843
5846
|
*/
|
|
5844
5847
|
unregisterRangeTheme(e) {
|
|
5845
|
-
this._commandService.syncExecuteCommand(
|
|
5848
|
+
this._commandService.syncExecuteCommand(Jt.id, {
|
|
5846
5849
|
unitId: this.getId(),
|
|
5847
5850
|
themeName: e
|
|
5848
5851
|
});
|
|
@@ -5866,7 +5869,7 @@ let S = class extends le {
|
|
|
5866
5869
|
* ```
|
|
5867
5870
|
*/
|
|
5868
5871
|
createRangeThemeStyle(e, t) {
|
|
5869
|
-
return new
|
|
5872
|
+
return new Qt(e, t);
|
|
5870
5873
|
}
|
|
5871
5874
|
/**
|
|
5872
5875
|
* Set custom metadata of workbook
|
|
@@ -5895,7 +5898,7 @@ let S = class extends le {
|
|
|
5895
5898
|
return this._workbook.getCustomMetadata();
|
|
5896
5899
|
}
|
|
5897
5900
|
};
|
|
5898
|
-
S =
|
|
5901
|
+
S = In([
|
|
5899
5902
|
R(1, u(x)),
|
|
5900
5903
|
R(2, u(rt)),
|
|
5901
5904
|
R(3, u(Ze)),
|
|
@@ -5906,7 +5909,7 @@ S = fn([
|
|
|
5906
5909
|
R(8, u(He)),
|
|
5907
5910
|
R(9, et)
|
|
5908
5911
|
], S);
|
|
5909
|
-
class
|
|
5912
|
+
class Rn extends ze {
|
|
5910
5913
|
getCommandSheetTarget(e) {
|
|
5911
5914
|
var o;
|
|
5912
5915
|
const t = e.params;
|
|
@@ -6103,9 +6106,9 @@ class In extends ze {
|
|
|
6103
6106
|
), this.registerEventHandler(
|
|
6104
6107
|
this.Event.SheetValueChanged,
|
|
6105
6108
|
() => t.onCommandExecuted((n) => {
|
|
6106
|
-
if (
|
|
6109
|
+
if (Xt.indexOf(n.id) > -1) {
|
|
6107
6110
|
if (!this.getActiveSheet()) return;
|
|
6108
|
-
const o =
|
|
6111
|
+
const o = Zt(n).map(
|
|
6109
6112
|
(i) => {
|
|
6110
6113
|
var a, h;
|
|
6111
6114
|
return (h = (a = this.getWorkbook(i.unitId)) == null ? void 0 : a.getSheetBySheetId(i.subUnitId)) == null ? void 0 : h.getRange(i.range);
|
|
@@ -6292,20 +6295,20 @@ class In extends ze {
|
|
|
6292
6295
|
});
|
|
6293
6296
|
}
|
|
6294
6297
|
}
|
|
6295
|
-
ze.extend(
|
|
6296
|
-
class
|
|
6298
|
+
ze.extend(Rn);
|
|
6299
|
+
class bn {
|
|
6297
6300
|
get SheetValueChangeType() {
|
|
6298
|
-
return
|
|
6301
|
+
return en;
|
|
6299
6302
|
}
|
|
6300
6303
|
get SheetSkeletonChangeType() {
|
|
6301
|
-
return
|
|
6304
|
+
return tn;
|
|
6302
6305
|
}
|
|
6303
6306
|
get SplitDelimiterType() {
|
|
6304
|
-
return
|
|
6307
|
+
return nn;
|
|
6305
6308
|
}
|
|
6306
6309
|
}
|
|
6307
|
-
it.extend(
|
|
6308
|
-
class
|
|
6310
|
+
it.extend(bn);
|
|
6311
|
+
class En {
|
|
6309
6312
|
get SheetCreated() {
|
|
6310
6313
|
return "SheetCreated";
|
|
6311
6314
|
}
|
|
@@ -6367,27 +6370,27 @@ class bn {
|
|
|
6367
6370
|
return "SheetValueChanged";
|
|
6368
6371
|
}
|
|
6369
6372
|
}
|
|
6370
|
-
at.extend(
|
|
6371
|
-
var
|
|
6372
|
-
for (var s = n > 1 ? void 0 : n ?
|
|
6373
|
+
at.extend(En);
|
|
6374
|
+
var pn = Object.getOwnPropertyDescriptor, yn = (r, e, t, n) => {
|
|
6375
|
+
for (var s = n > 1 ? void 0 : n ? pn(e, t) : e, o = r.length - 1, i; o >= 0; o--)
|
|
6373
6376
|
(i = r[o]) && (s = i(s) || s);
|
|
6374
6377
|
return s;
|
|
6375
|
-
},
|
|
6378
|
+
}, Un = (r, e) => (t, n) => e(t, n, r);
|
|
6376
6379
|
let Ve = class extends ge {
|
|
6377
6380
|
constructor(r) {
|
|
6378
6381
|
super(), this._injector = r;
|
|
6379
6382
|
}
|
|
6380
6383
|
};
|
|
6381
|
-
Ve =
|
|
6382
|
-
|
|
6384
|
+
Ve = yn([
|
|
6385
|
+
Un(0, u(x))
|
|
6383
6386
|
], Ve);
|
|
6384
6387
|
export {
|
|
6385
6388
|
q as FPermission,
|
|
6386
6389
|
m as FRange,
|
|
6387
6390
|
K as FSelection,
|
|
6388
|
-
|
|
6391
|
+
En as FSheetEventName,
|
|
6389
6392
|
Ve as FSheetHooks,
|
|
6390
|
-
|
|
6393
|
+
bn as FSheetsEnum,
|
|
6391
6394
|
S as FWorkbook,
|
|
6392
6395
|
k as FWorksheet
|
|
6393
6396
|
};
|