@univerjs/core 1.0.4 → 1.1.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/facade.js +8 -8
- package/lib/cjs/index.js +108 -74
- package/lib/es/facade.js +6 -6
- package/lib/es/index.js +46 -30
- package/lib/facade.js +6 -6
- package/lib/index.js +46 -30
- package/lib/types/common/const.d.ts +1 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/sheets/calculation-settings.d.ts +37 -0
- package/lib/types/sheets/sheet-skeleton.d.ts +2 -0
- package/lib/types/sheets/typedef.d.ts +6 -3
- package/lib/types/sheets/workbook.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +26 -26
- package/package.json +5 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -81,7 +81,7 @@ var FBaseInitialable = class extends _univerjs_core.Disposable {
|
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
//#endregion
|
|
84
|
-
//#region \0@oxc-project+runtime@0.
|
|
84
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
|
|
85
85
|
function __decorateParam(paramIndex, decorator) {
|
|
86
86
|
return function(target, key) {
|
|
87
87
|
decorator(target, key, paramIndex);
|
|
@@ -89,7 +89,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
//#endregion
|
|
92
|
-
//#region \0@oxc-project+runtime@0.
|
|
92
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
93
93
|
function __decorate(decorators, target, key, desc) {
|
|
94
94
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
95
95
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -213,7 +213,7 @@ let FBlob = _FBlob = class FBlob extends FBase {
|
|
|
213
213
|
FBlob = _FBlob = __decorate([__decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_core.Injector))], FBlob);
|
|
214
214
|
|
|
215
215
|
//#endregion
|
|
216
|
-
//#region \0@oxc-project+runtime@0.
|
|
216
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
217
217
|
function _typeof(o) {
|
|
218
218
|
"@babel/helpers - typeof";
|
|
219
219
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -224,7 +224,7 @@ function _typeof(o) {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
//#endregion
|
|
227
|
-
//#region \0@oxc-project+runtime@0.
|
|
227
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
228
228
|
function toPrimitive(t, r) {
|
|
229
229
|
if ("object" != _typeof(t) || !t) return t;
|
|
230
230
|
var e = t[Symbol.toPrimitive];
|
|
@@ -237,14 +237,14 @@ function toPrimitive(t, r) {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
//#endregion
|
|
240
|
-
//#region \0@oxc-project+runtime@0.
|
|
240
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
241
241
|
function toPropertyKey(t) {
|
|
242
242
|
var i = toPrimitive(t, "string");
|
|
243
243
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
//#endregion
|
|
247
|
-
//#region \0@oxc-project+runtime@0.
|
|
247
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
248
248
|
function _defineProperty(e, r, t) {
|
|
249
249
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
250
250
|
value: t,
|
|
@@ -1716,7 +1716,7 @@ FUniver = _FUniver = __decorate([
|
|
|
1716
1716
|
//#endregion
|
|
1717
1717
|
exports.FBase = FBase;
|
|
1718
1718
|
exports.FBaseInitialable = FBaseInitialable;
|
|
1719
|
-
Object.defineProperty(exports,
|
|
1719
|
+
Object.defineProperty(exports, "FBlob", {
|
|
1720
1720
|
enumerable: true,
|
|
1721
1721
|
get: function () {
|
|
1722
1722
|
return FBlob;
|
|
@@ -1724,7 +1724,7 @@ Object.defineProperty(exports, 'FBlob', {
|
|
|
1724
1724
|
});
|
|
1725
1725
|
exports.FEnum = FEnum;
|
|
1726
1726
|
exports.FEventName = FEventName;
|
|
1727
|
-
Object.defineProperty(exports,
|
|
1727
|
+
Object.defineProperty(exports, "FUniver", {
|
|
1728
1728
|
enumerable: true,
|
|
1729
1729
|
get: function () {
|
|
1730
1730
|
return FUniver;
|
package/lib/cjs/index.js
CHANGED
|
@@ -152,7 +152,7 @@ function installShims() {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
|
-
//#region \0@oxc-project+runtime@0.
|
|
155
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
156
156
|
function _typeof(o) {
|
|
157
157
|
"@babel/helpers - typeof";
|
|
158
158
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -163,7 +163,7 @@ function _typeof(o) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
//#endregion
|
|
166
|
-
//#region \0@oxc-project+runtime@0.
|
|
166
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
167
167
|
function toPrimitive(t, r) {
|
|
168
168
|
if ("object" != _typeof(t) || !t) return t;
|
|
169
169
|
var e = t[Symbol.toPrimitive];
|
|
@@ -176,14 +176,14 @@ function toPrimitive(t, r) {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
//#endregion
|
|
179
|
-
//#region \0@oxc-project+runtime@0.
|
|
179
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
180
180
|
function toPropertyKey(t) {
|
|
181
181
|
var i = toPrimitive(t, "string");
|
|
182
182
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
//#endregion
|
|
186
|
-
//#region \0@oxc-project+runtime@0.
|
|
186
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
187
187
|
function _defineProperty(e, r, t) {
|
|
188
188
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
189
189
|
value: t,
|
|
@@ -1699,7 +1699,7 @@ let ThemeColors = /* @__PURE__ */ function(ThemeColors) {
|
|
|
1699
1699
|
//#endregion
|
|
1700
1700
|
//#region package.json
|
|
1701
1701
|
var name = "@univerjs/core";
|
|
1702
|
-
var version = "1.0
|
|
1702
|
+
var version = "1.1.0";
|
|
1703
1703
|
|
|
1704
1704
|
//#endregion
|
|
1705
1705
|
//#region src/common/array.ts
|
|
@@ -2045,7 +2045,7 @@ function hashLogContent(...args) {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
|
|
2047
2047
|
//#endregion
|
|
2048
|
-
//#region \0@oxc-project+runtime@0.
|
|
2048
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
|
|
2049
2049
|
function __decorateParam(paramIndex, decorator) {
|
|
2050
2050
|
return function(target, key) {
|
|
2051
2051
|
decorator(target, key, paramIndex);
|
|
@@ -2053,7 +2053,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
2055
|
//#endregion
|
|
2056
|
-
//#region \0@oxc-project+runtime@0.
|
|
2056
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
2057
2057
|
function __decorate(decorators, target, key, desc) {
|
|
2058
2058
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2059
2059
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -9299,8 +9299,10 @@ function startOf(date, unit, isUTC) {
|
|
|
9299
9299
|
}
|
|
9300
9300
|
}
|
|
9301
9301
|
function getWeekOfYear(date, isUTC) {
|
|
9302
|
-
const
|
|
9303
|
-
const
|
|
9302
|
+
const current = getDateParts(startOf(date, "week", isUTC), isUTC);
|
|
9303
|
+
const first = getDateParts(startOf(startOf(date, "year", isUTC), "week", isUTC), isUTC);
|
|
9304
|
+
const currentWeekStart = createDateWithParts(current.year, current.month, current.day, 0, 0, 0, 0, true);
|
|
9305
|
+
const firstWeekStart = createDateWithParts(first.year, first.month, first.day, 0, 0, 0, 0, true);
|
|
9304
9306
|
return Math.floor((currentWeekStart.getTime() - firstWeekStart.getTime()) / DAY / 7) + 1;
|
|
9305
9307
|
}
|
|
9306
9308
|
function getTimezoneString(date, isUTC, compact = false) {
|
|
@@ -11590,24 +11592,6 @@ function scanFormulaStringState(formula, start, end, initialState) {
|
|
|
11590
11592
|
return inString;
|
|
11591
11593
|
}
|
|
11592
11594
|
|
|
11593
|
-
//#endregion
|
|
11594
|
-
//#region src/common/async.ts
|
|
11595
|
-
/**
|
|
11596
|
-
* Copyright 2023-present DreamNum Co., Ltd.
|
|
11597
|
-
*
|
|
11598
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11599
|
-
* you may not use this file except in compliance with the License.
|
|
11600
|
-
* You may obtain a copy of the License at
|
|
11601
|
-
*
|
|
11602
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11603
|
-
*
|
|
11604
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11605
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11606
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11607
|
-
* See the License for the specific language governing permissions and
|
|
11608
|
-
* limitations under the License.
|
|
11609
|
-
*/
|
|
11610
|
-
|
|
11611
11595
|
//#endregion
|
|
11612
11596
|
//#region src/common/boolean.ts
|
|
11613
11597
|
/**
|
|
@@ -11654,6 +11638,7 @@ const DOCS_COMMENT_EDITOR_UNIT_ID_KEY = `${PREFIX}COMMENT_EDITOR`;
|
|
|
11654
11638
|
const DEFAULT_EMPTY_DOCUMENT_VALUE = "\r\n";
|
|
11655
11639
|
const IS_ROW_STYLE_PRECEDE_COLUMN_STYLE = "isRowStylePrecedeColumnStyle";
|
|
11656
11640
|
const AUTO_HEIGHT_FOR_MERGED_CELLS = Symbol("AUTO_HEIGHT_FOR_MERGED_CELLS");
|
|
11641
|
+
const SHEET_TEXT_LINE_GAP = Symbol("SHEET_TEXT_LINE_GAP");
|
|
11657
11642
|
function createInternalEditorID(id) {
|
|
11658
11643
|
return `${PREFIX}${id}`;
|
|
11659
11644
|
}
|
|
@@ -17599,8 +17584,10 @@ function replaceInDocumentBody(body, query, target, caseSensitive) {
|
|
|
17599
17584
|
documentStyle: {}
|
|
17600
17585
|
});
|
|
17601
17586
|
const queryLen = query.length;
|
|
17602
|
-
|
|
17603
|
-
|
|
17587
|
+
const expression = createLiteralRegExp(query, caseSensitive ? "g" : "gi");
|
|
17588
|
+
let match;
|
|
17589
|
+
while ((match = expression.exec(documentDataModel.getBody().dataStream)) !== null) {
|
|
17590
|
+
const index = match.index;
|
|
17604
17591
|
const textX = new TextX();
|
|
17605
17592
|
const jsonX = JSONX.getInstance();
|
|
17606
17593
|
if (index > 0) textX.retain(index);
|
|
@@ -17622,6 +17609,7 @@ function replaceInDocumentBody(body, query, target, caseSensitive) {
|
|
|
17622
17609
|
}
|
|
17623
17610
|
textX.delete(queryLen);
|
|
17624
17611
|
documentDataModel.apply(jsonX.editOp(textX.serialize()));
|
|
17612
|
+
expression.lastIndex = index + target.length;
|
|
17625
17613
|
}
|
|
17626
17614
|
const newBody = documentDataModel.getBody();
|
|
17627
17615
|
documentDataModel.dispose();
|
|
@@ -22182,6 +22170,23 @@ const IImageIoService = (0, _wendellhu_redi.createIdentifier)("core.image-io.ser
|
|
|
22182
22170
|
//#region src/services/image-io/url-image.service.ts
|
|
22183
22171
|
const IURLImageService = (0, _wendellhu_redi.createIdentifier)("core.url-image.service");
|
|
22184
22172
|
|
|
22173
|
+
//#endregion
|
|
22174
|
+
//#region src/sheets/calculation-settings.ts
|
|
22175
|
+
const MAX_ITERATION_COUNT = 32767;
|
|
22176
|
+
const DEFAULT_WORKBOOK_CALCULATION_SETTINGS = Object.freeze({
|
|
22177
|
+
iterativeCalculation: false,
|
|
22178
|
+
maxIterations: 100,
|
|
22179
|
+
maxChange: .001
|
|
22180
|
+
});
|
|
22181
|
+
function normalizeWorkbookCalculationSettings(value) {
|
|
22182
|
+
const defaults = DEFAULT_WORKBOOK_CALCULATION_SETTINGS;
|
|
22183
|
+
return {
|
|
22184
|
+
iterativeCalculation: typeof (value === null || value === void 0 ? void 0 : value.iterativeCalculation) === "boolean" ? value.iterativeCalculation : defaults.iterativeCalculation,
|
|
22185
|
+
maxIterations: Number.isInteger(value === null || value === void 0 ? void 0 : value.maxIterations) && value.maxIterations >= 1 && value.maxIterations <= 32767 ? value.maxIterations : defaults.maxIterations,
|
|
22186
|
+
maxChange: typeof (value === null || value === void 0 ? void 0 : value.maxChange) === "number" && Number.isFinite(value.maxChange) && value.maxChange > 0 ? value.maxChange : defaults.maxChange
|
|
22187
|
+
};
|
|
22188
|
+
}
|
|
22189
|
+
|
|
22185
22190
|
//#endregion
|
|
22186
22191
|
//#region src/sheets/empty-snapshot.ts
|
|
22187
22192
|
function getEmptySnapshot$2(unitID = "", locale = "zhCN", name = "") {
|
|
@@ -24791,6 +24796,7 @@ let Workbook = class Workbook extends UnitModel {
|
|
|
24791
24796
|
this._snapshot.dateSystem = "date1900";
|
|
24792
24797
|
}
|
|
24793
24798
|
}
|
|
24799
|
+
this._snapshot.calculationSettings = normalizeWorkbookCalculationSettings(workbookData.calculationSettings);
|
|
24794
24800
|
const { styles } = this._snapshot;
|
|
24795
24801
|
if (this._snapshot.id == null || this._snapshot.id.length === 0) this._snapshot.id = generateRandomId(6);
|
|
24796
24802
|
this._unitId = this._snapshot.id;
|
|
@@ -24828,6 +24834,12 @@ let Workbook = class Workbook extends UnitModel {
|
|
|
24828
24834
|
getSnapshot() {
|
|
24829
24835
|
return this._snapshot;
|
|
24830
24836
|
}
|
|
24837
|
+
getCalculationSettings() {
|
|
24838
|
+
return normalizeWorkbookCalculationSettings(this._snapshot.calculationSettings);
|
|
24839
|
+
}
|
|
24840
|
+
setCalculationSettings(settings) {
|
|
24841
|
+
this._snapshot.calculationSettings = { ...settings };
|
|
24842
|
+
}
|
|
24831
24843
|
setName(name) {
|
|
24832
24844
|
this._name$.next(name);
|
|
24833
24845
|
this._snapshot.name = name;
|
|
@@ -27531,6 +27543,8 @@ let SheetSkeleton = class SheetSkeleton extends Skeleton {
|
|
|
27531
27543
|
_defineProperty(this, "_scaleY", 1);
|
|
27532
27544
|
_defineProperty(this, "_scrollX", 0);
|
|
27533
27545
|
_defineProperty(this, "_scrollY", 0);
|
|
27546
|
+
_defineProperty(this, "_gapConfigChanged$", new rxjs.Subject());
|
|
27547
|
+
_defineProperty(this, "gapConfigChanged$", this._gapConfigChanged$.asObservable());
|
|
27534
27548
|
this._worksheetData = this.worksheet.getConfig();
|
|
27535
27549
|
this._cellData = this.worksheet.getCellMatrix();
|
|
27536
27550
|
this._imageCacheMap = new ImageCacheMap(this._injector);
|
|
@@ -27622,6 +27636,7 @@ let SheetSkeleton = class SheetSkeleton extends Skeleton {
|
|
|
27622
27636
|
this._gapConfig = this._fillDefaultGapThemeColors(config);
|
|
27623
27637
|
this.makeDirty(true);
|
|
27624
27638
|
this._updateLayout();
|
|
27639
|
+
this._gapConfigChanged$.next();
|
|
27625
27640
|
}
|
|
27626
27641
|
_fillDefaultGapThemeColors(config) {
|
|
27627
27642
|
if (config.defaultBackgroundColor && config.defaultStripeColor) return config;
|
|
@@ -28097,6 +28112,7 @@ let SheetSkeleton = class SheetSkeleton extends Skeleton {
|
|
|
28097
28112
|
}
|
|
28098
28113
|
dispose() {
|
|
28099
28114
|
super.dispose();
|
|
28115
|
+
this._gapConfigChanged$.complete();
|
|
28100
28116
|
this._rowHeightAccumulation = [];
|
|
28101
28117
|
this._columnWidthAccumulation = [];
|
|
28102
28118
|
this._rowTotalHeight = 0;
|
|
@@ -28782,8 +28798,13 @@ exports.AlignTypeH = AlignTypeH;
|
|
|
28782
28798
|
exports.AlignTypeV = AlignTypeV;
|
|
28783
28799
|
exports.ArrangeTypeEnum = ArrangeTypeEnum;
|
|
28784
28800
|
exports.AsyncInterceptorManager = AsyncInterceptorManager;
|
|
28785
|
-
exports
|
|
28786
|
-
|
|
28801
|
+
Object.defineProperty(exports, "AsyncLock", {
|
|
28802
|
+
enumerable: true,
|
|
28803
|
+
get: function () {
|
|
28804
|
+
return async_lock.default;
|
|
28805
|
+
}
|
|
28806
|
+
});
|
|
28807
|
+
Object.defineProperty(exports, "AuthzIoLocalService", {
|
|
28787
28808
|
enumerable: true,
|
|
28788
28809
|
get: function () {
|
|
28789
28810
|
return AuthzIoLocalService;
|
|
@@ -28823,7 +28844,7 @@ exports.ColorType = ColorType;
|
|
|
28823
28844
|
exports.ColumnLayoutType = ColumnLayoutType;
|
|
28824
28845
|
exports.ColumnResponsiveType = ColumnResponsiveType;
|
|
28825
28846
|
exports.ColumnSeparatorType = ColumnSeparatorType;
|
|
28826
|
-
Object.defineProperty(exports,
|
|
28847
|
+
Object.defineProperty(exports, "CommandService", {
|
|
28827
28848
|
enumerable: true,
|
|
28828
28849
|
get: function () {
|
|
28829
28850
|
return CommandService;
|
|
@@ -28941,19 +28962,19 @@ exports.IUniverInstanceService = IUniverInstanceService;
|
|
|
28941
28962
|
exports.ImageCacheMap = ImageCacheMap;
|
|
28942
28963
|
exports.ImageSourceType = ImageSourceType;
|
|
28943
28964
|
exports.ImageUploadStatusType = ImageUploadStatusType;
|
|
28944
|
-
Object.defineProperty(exports,
|
|
28965
|
+
Object.defineProperty(exports, "Inject", {
|
|
28945
28966
|
enumerable: true,
|
|
28946
28967
|
get: function () {
|
|
28947
28968
|
return _wendellhu_redi.Inject;
|
|
28948
28969
|
}
|
|
28949
28970
|
});
|
|
28950
|
-
Object.defineProperty(exports,
|
|
28971
|
+
Object.defineProperty(exports, "InjectSelf", {
|
|
28951
28972
|
enumerable: true,
|
|
28952
28973
|
get: function () {
|
|
28953
28974
|
return _wendellhu_redi.InjectSelf;
|
|
28954
28975
|
}
|
|
28955
28976
|
});
|
|
28956
|
-
Object.defineProperty(exports,
|
|
28977
|
+
Object.defineProperty(exports, "Injector", {
|
|
28957
28978
|
enumerable: true,
|
|
28958
28979
|
get: function () {
|
|
28959
28980
|
return _wendellhu_redi.Injector;
|
|
@@ -28962,7 +28983,7 @@ Object.defineProperty(exports, 'Injector', {
|
|
|
28962
28983
|
exports.InterceptorEffectEnum = InterceptorEffectEnum;
|
|
28963
28984
|
exports.InterceptorManager = InterceptorManager;
|
|
28964
28985
|
exports.InterpolationPointType = InterpolationPointType;
|
|
28965
|
-
Object.defineProperty(exports,
|
|
28986
|
+
Object.defineProperty(exports, "JSON1", {
|
|
28966
28987
|
enumerable: true,
|
|
28967
28988
|
get: function () {
|
|
28968
28989
|
return ot_json1;
|
|
@@ -28972,7 +28993,7 @@ exports.JSONX = JSONX;
|
|
|
28972
28993
|
exports.LOCALE_META = LOCALE_META;
|
|
28973
28994
|
exports.LRUHelper = LRUHelper;
|
|
28974
28995
|
exports.LRUMap = LRUMap;
|
|
28975
|
-
Object.defineProperty(exports,
|
|
28996
|
+
Object.defineProperty(exports, "LifecycleService", {
|
|
28976
28997
|
enumerable: true,
|
|
28977
28998
|
get: function () {
|
|
28978
28999
|
return LifecycleService;
|
|
@@ -28981,7 +29002,7 @@ Object.defineProperty(exports, 'LifecycleService', {
|
|
|
28981
29002
|
exports.LifecycleStages = LifecycleStages;
|
|
28982
29003
|
exports.LifecycleUnreachableError = LifecycleUnreachableError;
|
|
28983
29004
|
exports.ListGlyphType = ListGlyphType;
|
|
28984
|
-
Object.defineProperty(exports,
|
|
29005
|
+
Object.defineProperty(exports, "LocalUndoRedoService", {
|
|
28985
29006
|
enumerable: true,
|
|
28986
29007
|
get: function () {
|
|
28987
29008
|
return LocalUndoRedoService;
|
|
@@ -28990,25 +29011,26 @@ Object.defineProperty(exports, 'LocalUndoRedoService', {
|
|
|
28990
29011
|
exports.LocaleService = LocaleService;
|
|
28991
29012
|
exports.LocaleType = LocaleType;
|
|
28992
29013
|
exports.LogLevel = LogLevel;
|
|
28993
|
-
Object.defineProperty(exports,
|
|
29014
|
+
Object.defineProperty(exports, "LookUp", {
|
|
28994
29015
|
enumerable: true,
|
|
28995
29016
|
get: function () {
|
|
28996
29017
|
return _wendellhu_redi.LookUp;
|
|
28997
29018
|
}
|
|
28998
29019
|
});
|
|
28999
29020
|
exports.MAX_COLUMN_COUNT = MAX_COLUMN_COUNT;
|
|
29021
|
+
exports.MAX_ITERATION_COUNT = MAX_ITERATION_COUNT;
|
|
29000
29022
|
exports.MAX_ROW_COUNT = MAX_ROW_COUNT;
|
|
29001
29023
|
exports.MODERN_DOCUMENT_DEFAULT_MARGIN = MODERN_DOCUMENT_DEFAULT_MARGIN;
|
|
29002
29024
|
exports.MODERN_DOCUMENT_WIDTH = MODERN_DOCUMENT_WIDTH;
|
|
29003
29025
|
exports.MOVE_BUFFER_VALUE = MOVE_BUFFER_VALUE;
|
|
29004
|
-
Object.defineProperty(exports,
|
|
29026
|
+
Object.defineProperty(exports, "Many", {
|
|
29005
29027
|
enumerable: true,
|
|
29006
29028
|
get: function () {
|
|
29007
29029
|
return _wendellhu_redi.Many;
|
|
29008
29030
|
}
|
|
29009
29031
|
});
|
|
29010
29032
|
exports.MemoryCursor = MemoryCursor;
|
|
29011
|
-
Object.defineProperty(exports,
|
|
29033
|
+
Object.defineProperty(exports, "MentionIOLocalService", {
|
|
29012
29034
|
enumerable: true,
|
|
29013
29035
|
get: function () {
|
|
29014
29036
|
return MentionIOLocalService;
|
|
@@ -29024,7 +29046,7 @@ exports.NumberUnitType = NumberUnitType;
|
|
|
29024
29046
|
exports.OBJECT_PERMISSION_CONFIG_KEY = OBJECT_PERMISSION_CONFIG_KEY;
|
|
29025
29047
|
exports.ObjectMatrix = ObjectMatrix;
|
|
29026
29048
|
exports.ObjectPermissionRuleModel = ObjectPermissionRuleModel;
|
|
29027
|
-
Object.defineProperty(exports,
|
|
29049
|
+
Object.defineProperty(exports, "ObjectPermissionService", {
|
|
29028
29050
|
enumerable: true,
|
|
29029
29051
|
get: function () {
|
|
29030
29052
|
return ObjectPermissionService;
|
|
@@ -29032,7 +29054,7 @@ Object.defineProperty(exports, 'ObjectPermissionService', {
|
|
|
29032
29054
|
});
|
|
29033
29055
|
exports.ObjectRelativeFromH = ObjectRelativeFromH;
|
|
29034
29056
|
exports.ObjectRelativeFromV = ObjectRelativeFromV;
|
|
29035
|
-
Object.defineProperty(exports,
|
|
29057
|
+
Object.defineProperty(exports, "Optional", {
|
|
29036
29058
|
enumerable: true,
|
|
29037
29059
|
get: function () {
|
|
29038
29060
|
return _wendellhu_redi.Optional;
|
|
@@ -29052,7 +29074,7 @@ exports.ParagraphStyleValue = ParagraphStyleValue;
|
|
|
29052
29074
|
exports.PermissionService = PermissionService;
|
|
29053
29075
|
exports.PermissionStatus = PermissionStatus;
|
|
29054
29076
|
exports.Plugin = Plugin;
|
|
29055
|
-
Object.defineProperty(exports,
|
|
29077
|
+
Object.defineProperty(exports, "PluginService", {
|
|
29056
29078
|
enumerable: true,
|
|
29057
29079
|
get: function () {
|
|
29058
29080
|
return PluginService;
|
|
@@ -29061,7 +29083,7 @@ Object.defineProperty(exports, 'PluginService', {
|
|
|
29061
29083
|
exports.PositionedObjectLayoutType = PositionedObjectLayoutType;
|
|
29062
29084
|
exports.PresetListType = PresetListType;
|
|
29063
29085
|
exports.ProtectionType = ProtectionType;
|
|
29064
|
-
Object.defineProperty(exports,
|
|
29086
|
+
Object.defineProperty(exports, "Quantity", {
|
|
29065
29087
|
enumerable: true,
|
|
29066
29088
|
get: function () {
|
|
29067
29089
|
return _wendellhu_redi.Quantity;
|
|
@@ -29071,7 +29093,12 @@ exports.QuickListType = QuickListType;
|
|
|
29071
29093
|
exports.QuickListTypeMap = QuickListTypeMap;
|
|
29072
29094
|
exports.RANGE_DIRECTION = RANGE_DIRECTION;
|
|
29073
29095
|
exports.RANGE_TYPE = RANGE_TYPE;
|
|
29074
|
-
exports
|
|
29096
|
+
Object.defineProperty(exports, "RBush", {
|
|
29097
|
+
enumerable: true,
|
|
29098
|
+
get: function () {
|
|
29099
|
+
return rbush.default;
|
|
29100
|
+
}
|
|
29101
|
+
});
|
|
29075
29102
|
exports.RCDisposable = RCDisposable;
|
|
29076
29103
|
exports.RESTORE_INSERTED_PARAGRAPH_IDS = RESTORE_INSERTED_PARAGRAPH_IDS;
|
|
29077
29104
|
exports.RGBA_PAREN = RGBA_PAREN;
|
|
@@ -29081,7 +29108,7 @@ exports.RTree = RTree;
|
|
|
29081
29108
|
exports.Range = Range;
|
|
29082
29109
|
exports.RecordValueType = RecordValueType;
|
|
29083
29110
|
exports.Rectangle = Rectangle;
|
|
29084
|
-
Object.defineProperty(exports,
|
|
29111
|
+
Object.defineProperty(exports, "RediError", {
|
|
29085
29112
|
enumerable: true,
|
|
29086
29113
|
get: function () {
|
|
29087
29114
|
return _wendellhu_redi.RediError;
|
|
@@ -29090,7 +29117,7 @@ Object.defineProperty(exports, 'RediError', {
|
|
|
29090
29117
|
exports.RedoCommand = RedoCommand;
|
|
29091
29118
|
exports.RedoCommandId = RedoCommandId;
|
|
29092
29119
|
exports.RefAlias = RefAlias;
|
|
29093
|
-
Object.defineProperty(exports,
|
|
29120
|
+
Object.defineProperty(exports, "RegionService", {
|
|
29094
29121
|
enumerable: true,
|
|
29095
29122
|
get: function () {
|
|
29096
29123
|
return RegionService;
|
|
@@ -29099,7 +29126,7 @@ Object.defineProperty(exports, 'RegionService', {
|
|
|
29099
29126
|
exports.Registry = Registry;
|
|
29100
29127
|
exports.RegistryAsMap = RegistryAsMap;
|
|
29101
29128
|
exports.RelativeDate = RelativeDate;
|
|
29102
|
-
Object.defineProperty(exports,
|
|
29129
|
+
Object.defineProperty(exports, "ResourceManagerService", {
|
|
29103
29130
|
enumerable: true,
|
|
29104
29131
|
get: function () {
|
|
29105
29132
|
return ResourceManagerService;
|
|
@@ -29112,15 +29139,16 @@ exports.RichTextValue = RichTextValue;
|
|
|
29112
29139
|
exports.RxDisposable = RxDisposable;
|
|
29113
29140
|
exports.SECTION_ID_PREFIX = SECTION_ID_PREFIX;
|
|
29114
29141
|
exports.SHEET_EDITOR_UNITS = SHEET_EDITOR_UNITS;
|
|
29142
|
+
exports.SHEET_TEXT_LINE_GAP = SHEET_TEXT_LINE_GAP;
|
|
29115
29143
|
exports.STYLE_KEYS = STYLE_KEYS;
|
|
29116
29144
|
exports.SectionType = SectionType;
|
|
29117
|
-
Object.defineProperty(exports,
|
|
29145
|
+
Object.defineProperty(exports, "Self", {
|
|
29118
29146
|
enumerable: true,
|
|
29119
29147
|
get: function () {
|
|
29120
29148
|
return _wendellhu_redi.Self;
|
|
29121
29149
|
}
|
|
29122
29150
|
});
|
|
29123
|
-
Object.defineProperty(exports,
|
|
29151
|
+
Object.defineProperty(exports, "SheetSkeleton", {
|
|
29124
29152
|
enumerable: true,
|
|
29125
29153
|
get: function () {
|
|
29126
29154
|
return SheetSkeleton;
|
|
@@ -29128,13 +29156,13 @@ Object.defineProperty(exports, 'SheetSkeleton', {
|
|
|
29128
29156
|
});
|
|
29129
29157
|
exports.SheetTypes = SheetTypes;
|
|
29130
29158
|
exports.SheetViewModel = SheetViewModel;
|
|
29131
|
-
Object.defineProperty(exports,
|
|
29159
|
+
Object.defineProperty(exports, "Skeleton", {
|
|
29132
29160
|
enumerable: true,
|
|
29133
29161
|
get: function () {
|
|
29134
29162
|
return Skeleton;
|
|
29135
29163
|
}
|
|
29136
29164
|
});
|
|
29137
|
-
Object.defineProperty(exports,
|
|
29165
|
+
Object.defineProperty(exports, "SkipSelf", {
|
|
29138
29166
|
enumerable: true,
|
|
29139
29167
|
get: function () {
|
|
29140
29168
|
return _wendellhu_redi.SkipSelf;
|
|
@@ -29171,24 +29199,29 @@ exports.UndoCommand = UndoCommand;
|
|
|
29171
29199
|
exports.UndoCommandId = UndoCommandId;
|
|
29172
29200
|
exports.UnitModel = UnitModel;
|
|
29173
29201
|
exports.Univer = Univer;
|
|
29174
|
-
Object.defineProperty(exports,
|
|
29202
|
+
Object.defineProperty(exports, "UniverInstanceService", {
|
|
29175
29203
|
enumerable: true,
|
|
29176
29204
|
get: function () {
|
|
29177
29205
|
return UniverInstanceService;
|
|
29178
29206
|
}
|
|
29179
29207
|
});
|
|
29180
|
-
exports
|
|
29208
|
+
Object.defineProperty(exports, "UniverInstanceType", {
|
|
29209
|
+
enumerable: true,
|
|
29210
|
+
get: function () {
|
|
29211
|
+
return _univerjs_protocol.UniverType;
|
|
29212
|
+
}
|
|
29213
|
+
});
|
|
29181
29214
|
exports.UpdateDocsAttributeType = UpdateDocsAttributeType;
|
|
29182
29215
|
exports.UserManagerService = UserManagerService;
|
|
29183
29216
|
exports.VerticalAlign = VerticalAlign;
|
|
29184
29217
|
exports.VerticalAlignmentType = VerticalAlignmentType;
|
|
29185
|
-
Object.defineProperty(exports,
|
|
29218
|
+
Object.defineProperty(exports, "WithNew", {
|
|
29186
29219
|
enumerable: true,
|
|
29187
29220
|
get: function () {
|
|
29188
29221
|
return _wendellhu_redi.WithNew;
|
|
29189
29222
|
}
|
|
29190
29223
|
});
|
|
29191
|
-
Object.defineProperty(exports,
|
|
29224
|
+
Object.defineProperty(exports, "Workbook", {
|
|
29192
29225
|
enumerable: true,
|
|
29193
29226
|
get: function () {
|
|
29194
29227
|
return Workbook;
|
|
@@ -29241,7 +29274,7 @@ exports.createBaseRecordIdField = createBaseRecordIdField;
|
|
|
29241
29274
|
exports.createDefaultBaseTableSnapshot = createDefaultBaseTableSnapshot;
|
|
29242
29275
|
exports.createDefaultUser = createDefaultUser;
|
|
29243
29276
|
exports.createDocumentModelWithStyle = createDocumentModelWithStyle;
|
|
29244
|
-
Object.defineProperty(exports,
|
|
29277
|
+
Object.defineProperty(exports, "createIdentifier", {
|
|
29245
29278
|
enumerable: true,
|
|
29246
29279
|
get: function () {
|
|
29247
29280
|
return _wendellhu_redi.createIdentifier;
|
|
@@ -29257,7 +29290,7 @@ exports.createSheetGapTestConfig = createSheetGapTestConfig;
|
|
|
29257
29290
|
exports.currencySymbols = currencySymbols;
|
|
29258
29291
|
exports.customNameCharacterCheck = customNameCharacterCheck;
|
|
29259
29292
|
exports.dateKit = dateKit;
|
|
29260
|
-
Object.defineProperty(exports,
|
|
29293
|
+
Object.defineProperty(exports, "debounce", {
|
|
29261
29294
|
enumerable: true,
|
|
29262
29295
|
get: function () {
|
|
29263
29296
|
return lodash_es.debounce;
|
|
@@ -29275,7 +29308,7 @@ exports.excelSerialToDate = excelSerialToDate;
|
|
|
29275
29308
|
exports.excelSerialToDateTime = excelSerialToDateTime;
|
|
29276
29309
|
exports.excelSerialToDateTimeParts = excelSerialToDateTimeParts;
|
|
29277
29310
|
exports.extractPureTextFromCell = extractPureTextFromCell;
|
|
29278
|
-
Object.defineProperty(exports,
|
|
29311
|
+
Object.defineProperty(exports, "forwardRef", {
|
|
29279
29312
|
enumerable: true,
|
|
29280
29313
|
get: function () {
|
|
29281
29314
|
return _wendellhu_redi.forwardRef;
|
|
@@ -29285,7 +29318,7 @@ exports.fromCallback = fromCallback;
|
|
|
29285
29318
|
exports.fromEventSubject = fromEventSubject;
|
|
29286
29319
|
exports.generateIntervalsByPoints = generateIntervalsByPoints;
|
|
29287
29320
|
exports.generateRandomId = generateRandomId;
|
|
29288
|
-
Object.defineProperty(exports,
|
|
29321
|
+
Object.defineProperty(exports, "get", {
|
|
29289
29322
|
enumerable: true,
|
|
29290
29323
|
get: function () {
|
|
29291
29324
|
return lodash_es.get;
|
|
@@ -29352,13 +29385,13 @@ exports.insertTextToContent = insertTextToContent;
|
|
|
29352
29385
|
exports.intersectsOperationalIntervals = intersectsOperationalIntervals;
|
|
29353
29386
|
exports.invertColorByHSL = invertColorByHSL;
|
|
29354
29387
|
exports.invertColorByMatrix = invertColorByMatrix;
|
|
29355
|
-
Object.defineProperty(exports,
|
|
29388
|
+
Object.defineProperty(exports, "isAsyncDependencyItem", {
|
|
29356
29389
|
enumerable: true,
|
|
29357
29390
|
get: function () {
|
|
29358
29391
|
return _wendellhu_redi.isAsyncDependencyItem;
|
|
29359
29392
|
}
|
|
29360
29393
|
});
|
|
29361
|
-
Object.defineProperty(exports,
|
|
29394
|
+
Object.defineProperty(exports, "isAsyncHook", {
|
|
29362
29395
|
enumerable: true,
|
|
29363
29396
|
get: function () {
|
|
29364
29397
|
return _wendellhu_redi.isAsyncHook;
|
|
@@ -29369,28 +29402,28 @@ exports.isBlackColor = isBlackColor;
|
|
|
29369
29402
|
exports.isBooleanString = isBooleanString;
|
|
29370
29403
|
exports.isCellCoverable = isCellCoverable;
|
|
29371
29404
|
exports.isCellV = isCellV;
|
|
29372
|
-
Object.defineProperty(exports,
|
|
29405
|
+
Object.defineProperty(exports, "isClassDependencyItem", {
|
|
29373
29406
|
enumerable: true,
|
|
29374
29407
|
get: function () {
|
|
29375
29408
|
return _wendellhu_redi.isClassDependencyItem;
|
|
29376
29409
|
}
|
|
29377
29410
|
});
|
|
29378
29411
|
exports.isCommentEditorID = isCommentEditorID;
|
|
29379
|
-
Object.defineProperty(exports,
|
|
29412
|
+
Object.defineProperty(exports, "isCtor", {
|
|
29380
29413
|
enumerable: true,
|
|
29381
29414
|
get: function () {
|
|
29382
29415
|
return _wendellhu_redi.isCtor;
|
|
29383
29416
|
}
|
|
29384
29417
|
});
|
|
29385
29418
|
exports.isDefaultFormat = isDefaultFormat;
|
|
29386
|
-
Object.defineProperty(exports,
|
|
29419
|
+
Object.defineProperty(exports, "isDisposable", {
|
|
29387
29420
|
enumerable: true,
|
|
29388
29421
|
get: function () {
|
|
29389
29422
|
return _wendellhu_redi.isDisposable;
|
|
29390
29423
|
}
|
|
29391
29424
|
});
|
|
29392
29425
|
exports.isEmptyCell = isEmptyCell;
|
|
29393
|
-
Object.defineProperty(exports,
|
|
29426
|
+
Object.defineProperty(exports, "isFactoryDependencyItem", {
|
|
29394
29427
|
enumerable: true,
|
|
29395
29428
|
get: function () {
|
|
29396
29429
|
return _wendellhu_redi.isFactoryDependencyItem;
|
|
@@ -29414,7 +29447,7 @@ exports.isTextFormat = isTextFormat;
|
|
|
29414
29447
|
exports.isUnitRangesEqual = isUnitRangesEqual;
|
|
29415
29448
|
exports.isValidBaseRecordId = isValidBaseRecordId;
|
|
29416
29449
|
exports.isValidRange = isValidRange;
|
|
29417
|
-
Object.defineProperty(exports,
|
|
29450
|
+
Object.defineProperty(exports, "isValueDependencyItem", {
|
|
29418
29451
|
enumerable: true,
|
|
29419
29452
|
get: function () {
|
|
29420
29453
|
return _wendellhu_redi.isValueDependencyItem;
|
|
@@ -29424,7 +29457,7 @@ exports.isWhiteColor = isWhiteColor;
|
|
|
29424
29457
|
exports.makeArray = makeArray;
|
|
29425
29458
|
exports.makeCellRangeToRangeData = makeCellRangeToRangeData;
|
|
29426
29459
|
exports.mapObjectMatrix = mapObjectMatrix;
|
|
29427
|
-
Object.defineProperty(exports,
|
|
29460
|
+
Object.defineProperty(exports, "merge", {
|
|
29428
29461
|
enumerable: true,
|
|
29429
29462
|
get: function () {
|
|
29430
29463
|
return lodash_es.merge;
|
|
@@ -29434,7 +29467,7 @@ exports.mergeIntervals = mergeIntervals;
|
|
|
29434
29467
|
exports.mergeLocales = mergeLocales;
|
|
29435
29468
|
exports.mergeOverrideWithDependencies = mergeOverrideWithDependencies;
|
|
29436
29469
|
exports.mergeSets = mergeSets;
|
|
29437
|
-
Object.defineProperty(exports,
|
|
29470
|
+
Object.defineProperty(exports, "mergeWith", {
|
|
29438
29471
|
enumerable: true,
|
|
29439
29472
|
get: function () {
|
|
29440
29473
|
return lodash_es.mergeWith;
|
|
@@ -29454,9 +29487,10 @@ exports.normalizeDrawingOrderIndex = normalizeDrawingOrderIndex;
|
|
|
29454
29487
|
exports.normalizeInsertedSectionIdsForDocument = normalizeInsertedSectionIdsForDocument;
|
|
29455
29488
|
exports.normalizeTextRuns = normalizeTextRuns;
|
|
29456
29489
|
exports.normalizeUrl = normalizeUrl;
|
|
29490
|
+
exports.normalizeWorkbookCalculationSettings = normalizeWorkbookCalculationSettings;
|
|
29457
29491
|
exports.numberToABC = numberToABC;
|
|
29458
29492
|
exports.numberToListABC = numberToListABC;
|
|
29459
|
-
Object.defineProperty(exports,
|
|
29493
|
+
Object.defineProperty(exports, "numfmt", {
|
|
29460
29494
|
enumerable: true,
|
|
29461
29495
|
get: function () {
|
|
29462
29496
|
return api_exports;
|
|
@@ -29480,19 +29514,19 @@ exports.sequence = sequence;
|
|
|
29480
29514
|
exports.sequenceAsync = sequenceAsync;
|
|
29481
29515
|
exports.sequenceExecute = sequenceExecute;
|
|
29482
29516
|
exports.sequenceExecuteAsync = sequenceExecuteAsync;
|
|
29483
|
-
Object.defineProperty(exports,
|
|
29517
|
+
Object.defineProperty(exports, "set", {
|
|
29484
29518
|
enumerable: true,
|
|
29485
29519
|
get: function () {
|
|
29486
29520
|
return lodash_es.set;
|
|
29487
29521
|
}
|
|
29488
29522
|
});
|
|
29489
|
-
Object.defineProperty(exports,
|
|
29523
|
+
Object.defineProperty(exports, "setDependencies", {
|
|
29490
29524
|
enumerable: true,
|
|
29491
29525
|
get: function () {
|
|
29492
29526
|
return _wendellhu_redi.setDependencies;
|
|
29493
29527
|
}
|
|
29494
29528
|
});
|
|
29495
|
-
Object.defineProperty(exports,
|
|
29529
|
+
Object.defineProperty(exports, "setWith", {
|
|
29496
29530
|
enumerable: true,
|
|
29497
29531
|
get: function () {
|
|
29498
29532
|
return lodash_es.setWith;
|