@univerjs/core 0.23.0 → 0.24.0-insiders.20260527-b1d726f
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 +77 -40
- package/lib/es/index.js +78 -38
- package/lib/index.js +78 -38
- package/lib/types/common/function.d.ts +5 -0
- package/lib/types/index.d.ts +6 -7
- package/lib/types/services/instance/instance.service.d.ts +0 -3
- package/lib/types/shared/index.d.ts +1 -1
- package/lib/types/shared/numfmt.d.ts +2 -1
- package/lib/types/shared/timer.d.ts +14 -0
- package/lib/types/shared/tools.d.ts +5 -0
- package/lib/types/types/enum/locale-type.d.ts +8 -1
- package/lib/umd/index.js +9 -9
- package/package.json +4 -4
- package/LICENSE +0 -176
- package/lib/types/shared/text-diff.d.ts +0 -16
package/lib/cjs/index.js
CHANGED
|
@@ -405,6 +405,11 @@ var CanceledError = class extends CustomCommandExecutionError {
|
|
|
405
405
|
* See the License for the specific language governing permissions and
|
|
406
406
|
* limitations under the License.
|
|
407
407
|
*/
|
|
408
|
+
/**
|
|
409
|
+
* A no-op (no operation) function that does nothing.
|
|
410
|
+
* Use this as a default placeholder for callbacks or optional handlers.
|
|
411
|
+
*/
|
|
412
|
+
function noop() {}
|
|
408
413
|
function throttle(fn, wait = 16) {
|
|
409
414
|
let lastTime = 0;
|
|
410
415
|
let timer = null;
|
|
@@ -1783,9 +1788,16 @@ const isNodeEnv = () => {
|
|
|
1783
1788
|
* @returns {RegExp} The generated regular expression
|
|
1784
1789
|
*/
|
|
1785
1790
|
function createREGEXFromWildChar(wildChar) {
|
|
1786
|
-
const regexpStr = wildChar
|
|
1791
|
+
const regexpStr = escapeRegExp(wildChar).replace(/\\\*/g, ".*").replace(/\\\?/g, ".");
|
|
1787
1792
|
return new RegExp(`^${regexpStr}$`, "i");
|
|
1788
1793
|
}
|
|
1794
|
+
/**
|
|
1795
|
+
* Escapes characters that have special meaning in a regular expression so the
|
|
1796
|
+
* returned string can be safely embedded in a RegExp pattern as literal text.
|
|
1797
|
+
*/
|
|
1798
|
+
function escapeRegExp(str) {
|
|
1799
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1800
|
+
}
|
|
1789
1801
|
|
|
1790
1802
|
//#endregion
|
|
1791
1803
|
//#region src/types/enum/auto-fill-series.ts
|
|
@@ -2110,6 +2122,7 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
|
|
|
2110
2122
|
LocaleType["ZH_CN"] = "zhCN";
|
|
2111
2123
|
LocaleType["RU_RU"] = "ruRU";
|
|
2112
2124
|
LocaleType["ZH_TW"] = "zhTW";
|
|
2125
|
+
LocaleType["ZH_HK"] = "zhHK";
|
|
2113
2126
|
LocaleType["VI_VN"] = "viVN";
|
|
2114
2127
|
LocaleType["FA_IR"] = "faIR";
|
|
2115
2128
|
LocaleType["JA_JP"] = "jaJP";
|
|
@@ -2117,6 +2130,12 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
|
|
|
2117
2130
|
LocaleType["ES_ES"] = "esES";
|
|
2118
2131
|
LocaleType["CA_ES"] = "caES";
|
|
2119
2132
|
LocaleType["SK_SK"] = "skSK";
|
|
2133
|
+
LocaleType["PT_BR"] = "ptBR";
|
|
2134
|
+
LocaleType["DE_DE"] = "deDE";
|
|
2135
|
+
LocaleType["IT_IT"] = "itIT";
|
|
2136
|
+
LocaleType["ID_ID"] = "idID";
|
|
2137
|
+
LocaleType["PL_PL"] = "plPL";
|
|
2138
|
+
LocaleType["AR_SA"] = "arSA";
|
|
2120
2139
|
return LocaleType;
|
|
2121
2140
|
}({});
|
|
2122
2141
|
|
|
@@ -4975,11 +4994,10 @@ function getCellValueType(cell) {
|
|
|
4975
4994
|
}
|
|
4976
4995
|
function isNullCell(cell) {
|
|
4977
4996
|
if (cell == null) return true;
|
|
4978
|
-
const { v, f, si, p
|
|
4997
|
+
const { v, f, si, p } = cell;
|
|
4979
4998
|
if (!(v == null || typeof v === "string" && v.length === 0)) return false;
|
|
4980
4999
|
if (f != null && f.length > 0 || si != null && si.length > 0) return false;
|
|
4981
5000
|
if (p != null) return false;
|
|
4982
|
-
if (custom != null) return false;
|
|
4983
5001
|
return true;
|
|
4984
5002
|
}
|
|
4985
5003
|
function isCellV(cell) {
|
|
@@ -5163,16 +5181,42 @@ const isPatternEqualWithoutDecimal = (patternA, patternB) => {
|
|
|
5163
5181
|
};
|
|
5164
5182
|
const ignoreCommonPatterns = new Set(["m d"]);
|
|
5165
5183
|
const ignoreAMPMPatterns = new Set(["h:mm AM/PM", "hh:mm AM/PM"]);
|
|
5166
|
-
const currencySymbols =
|
|
5184
|
+
const currencySymbols = [
|
|
5185
|
+
"Rp",
|
|
5186
|
+
"zł",
|
|
5187
|
+
"NT$",
|
|
5188
|
+
"R$",
|
|
5189
|
+
"HK$",
|
|
5167
5190
|
"$",
|
|
5191
|
+
"£",
|
|
5168
5192
|
"¥",
|
|
5169
|
-
"
|
|
5193
|
+
"¤",
|
|
5194
|
+
"֏",
|
|
5195
|
+
"؋",
|
|
5196
|
+
"৳",
|
|
5197
|
+
"฿",
|
|
5198
|
+
"៛",
|
|
5199
|
+
"₡",
|
|
5200
|
+
"₦",
|
|
5201
|
+
"₩",
|
|
5202
|
+
"₪",
|
|
5170
5203
|
"₫",
|
|
5171
|
-
"NT$",
|
|
5172
5204
|
"€",
|
|
5173
|
-
"
|
|
5205
|
+
"₭",
|
|
5206
|
+
"₮",
|
|
5207
|
+
"₱",
|
|
5208
|
+
"₲",
|
|
5209
|
+
"₴",
|
|
5210
|
+
"₸",
|
|
5211
|
+
"₹",
|
|
5212
|
+
"₺",
|
|
5213
|
+
"₼",
|
|
5214
|
+
"₽",
|
|
5215
|
+
"₾",
|
|
5216
|
+
"₿",
|
|
5174
5217
|
"﷼"
|
|
5175
|
-
]
|
|
5218
|
+
];
|
|
5219
|
+
const currencySymbolSet = new Set(currencySymbols);
|
|
5176
5220
|
/**
|
|
5177
5221
|
* Get the numfmt parse value, and filter out the parse error.
|
|
5178
5222
|
*/
|
|
@@ -5202,7 +5246,7 @@ const getNumfmtParseValueFilter = (value) => {
|
|
|
5202
5246
|
*/
|
|
5203
5247
|
if (z.includes("#,##0")) {
|
|
5204
5248
|
if (/[.,]$/.test(value)) return null;
|
|
5205
|
-
const normalized = value.replace(new RegExp(`^[${[...
|
|
5249
|
+
const normalized = value.replace(new RegExp(`^[${[...currencySymbolSet].join("")}]+`), "").trim();
|
|
5206
5250
|
if (normalized.includes(",")) {
|
|
5207
5251
|
if (!/^-?\d{1,3}(,\d{3})*(\.\d+)?$/.test(normalized)) return null;
|
|
5208
5252
|
}
|
|
@@ -6670,21 +6714,6 @@ function mergeIntervals(intervals) {
|
|
|
6670
6714
|
//#endregion
|
|
6671
6715
|
//#region src/shared/locale.ts
|
|
6672
6716
|
/**
|
|
6673
|
-
* Copyright 2023-present DreamNum Co., Ltd.
|
|
6674
|
-
*
|
|
6675
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6676
|
-
* you may not use this file except in compliance with the License.
|
|
6677
|
-
* You may obtain a copy of the License at
|
|
6678
|
-
*
|
|
6679
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
6680
|
-
*
|
|
6681
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
6682
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
6683
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
6684
|
-
* See the License for the specific language governing permissions and
|
|
6685
|
-
* limitations under the License.
|
|
6686
|
-
*/
|
|
6687
|
-
/**
|
|
6688
6717
|
* Merges multiple locale objects into a single locale object.
|
|
6689
6718
|
* It can accept either multiple locale objects as arguments or a single array of locale objects.
|
|
6690
6719
|
* @param locales - An array of locale objects or multiple locale objects.
|
|
@@ -6694,7 +6723,7 @@ function mergeLocales(...locales) {
|
|
|
6694
6723
|
let mergedLocales;
|
|
6695
6724
|
if (locales.length === 1 && Array.isArray(locales[0])) mergedLocales = locales[0];
|
|
6696
6725
|
else mergedLocales = locales;
|
|
6697
|
-
return
|
|
6726
|
+
return Object.assign({}, ...mergedLocales);
|
|
6698
6727
|
}
|
|
6699
6728
|
|
|
6700
6729
|
//#endregion
|
|
@@ -14785,7 +14814,7 @@ const IURLImageService = (0, _wendellhu_redi.createIdentifier)("core.url-image.s
|
|
|
14785
14814
|
//#endregion
|
|
14786
14815
|
//#region package.json
|
|
14787
14816
|
var name = "@univerjs/core";
|
|
14788
|
-
var version = "0.
|
|
14817
|
+
var version = "0.24.0-insiders.20260527-b1d726f";
|
|
14789
14818
|
|
|
14790
14819
|
//#endregion
|
|
14791
14820
|
//#region src/sheets/empty-snapshot.ts
|
|
@@ -17364,11 +17393,8 @@ let UniverInstanceService = class UniverInstanceService extends Disposable {
|
|
|
17364
17393
|
return (_units$get = units.get(type)) !== null && _units$get !== void 0 ? _units$get : null;
|
|
17365
17394
|
}), (0, rxjs.distinctUntilChanged)());
|
|
17366
17395
|
}
|
|
17367
|
-
getCurrentUnitForType(type) {
|
|
17368
|
-
return this._currentUnits.get(type);
|
|
17369
|
-
}
|
|
17370
17396
|
getCurrentUnitOfType(type) {
|
|
17371
|
-
return this.
|
|
17397
|
+
return this._currentUnits.get(type);
|
|
17372
17398
|
}
|
|
17373
17399
|
setCurrentUnitForType(unitId) {
|
|
17374
17400
|
const result = this._getUnitById(unitId);
|
|
@@ -17411,7 +17437,7 @@ let UniverInstanceService = class UniverInstanceService extends Disposable {
|
|
|
17411
17437
|
return unit;
|
|
17412
17438
|
}
|
|
17413
17439
|
getCurrentUniverDocInstance() {
|
|
17414
|
-
return this.
|
|
17440
|
+
return this.getCurrentUnitOfType(_univerjs_protocol.UniverType.UNIVER_DOC);
|
|
17415
17441
|
}
|
|
17416
17442
|
getUniverDocInstance(unitId) {
|
|
17417
17443
|
return this.getUnit(unitId, _univerjs_protocol.UniverType.UNIVER_DOC);
|
|
@@ -17492,7 +17518,7 @@ let UniverInstanceService = class UniverInstanceService extends Disposable {
|
|
|
17492
17518
|
return true;
|
|
17493
17519
|
}
|
|
17494
17520
|
_tryResetCurrentOnRemoval(unitId, type) {
|
|
17495
|
-
const current = this.
|
|
17521
|
+
const current = this.getCurrentUnitOfType(type);
|
|
17496
17522
|
if ((current === null || current === void 0 ? void 0 : current.getUnitId()) === unitId) {
|
|
17497
17523
|
this._currentUnits.set(type, null);
|
|
17498
17524
|
this._currentUnits$.next(this._currentUnits);
|
|
@@ -18773,9 +18799,23 @@ var RTree = class {
|
|
|
18773
18799
|
* See the License for the specific language governing permissions and
|
|
18774
18800
|
* limitations under the License.
|
|
18775
18801
|
*/
|
|
18802
|
+
/**
|
|
18803
|
+
* Returns a Promise that resolves after the specified number of milliseconds.
|
|
18804
|
+
* Use this to pause execution for a given duration.
|
|
18805
|
+
*
|
|
18806
|
+
* @param ms The number of milliseconds to wait before resolving.
|
|
18807
|
+
* @returns A Promise that resolves after `ms` milliseconds.
|
|
18808
|
+
*/
|
|
18776
18809
|
function awaitTime(ms) {
|
|
18777
18810
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
18778
18811
|
}
|
|
18812
|
+
/**
|
|
18813
|
+
* Returns a Promise that resolves after the specified number of animation frames.
|
|
18814
|
+
* Use this to wait for the browser to complete one or more rendering cycles.
|
|
18815
|
+
*
|
|
18816
|
+
* @param frames The number of animation frames to wait before resolving. Defaults to `1`.
|
|
18817
|
+
* @returns A Promise that resolves after `frames` animation frames.
|
|
18818
|
+
*/
|
|
18779
18819
|
function delayAnimationFrame(frames = 1) {
|
|
18780
18820
|
return new Promise((resolve) => {
|
|
18781
18821
|
let count = 0;
|
|
@@ -18993,8 +19033,8 @@ let SheetSkeleton = class SheetSkeleton extends Skeleton {
|
|
|
18993
19033
|
const { r, g, b } = new ColorKit(this._injector.get(ThemeService).getColorFromTheme("primary.500")).toRgb();
|
|
18994
19034
|
return {
|
|
18995
19035
|
...config,
|
|
18996
|
-
defaultBackgroundColor: (_config$defaultBackgr = config.defaultBackgroundColor) !== null && _config$defaultBackgr !== void 0 ? _config$defaultBackgr : `rgba(${r}, ${g}, ${b}, 0.
|
|
18997
|
-
defaultStripeColor: (_config$defaultStripe = config.defaultStripeColor) !== null && _config$defaultStripe !== void 0 ? _config$defaultStripe : `rgba(${r}, ${g}, ${b}, 0.
|
|
19036
|
+
defaultBackgroundColor: (_config$defaultBackgr = config.defaultBackgroundColor) !== null && _config$defaultBackgr !== void 0 ? _config$defaultBackgr : `rgba(${r}, ${g}, ${b}, 0.025)`,
|
|
19037
|
+
defaultStripeColor: (_config$defaultStripe = config.defaultStripeColor) !== null && _config$defaultStripe !== void 0 ? _config$defaultStripe : `rgba(${r}, ${g}, ${b}, 0.08)`
|
|
18998
19038
|
};
|
|
18999
19039
|
}
|
|
19000
19040
|
/**
|
|
@@ -20479,6 +20519,7 @@ exports.createInternalEditorID = createInternalEditorID;
|
|
|
20479
20519
|
exports.createREGEXFromWildChar = createREGEXFromWildChar;
|
|
20480
20520
|
exports.createRowColIter = createRowColIter;
|
|
20481
20521
|
exports.createSheetGapTestConfig = createSheetGapTestConfig;
|
|
20522
|
+
exports.currencySymbols = currencySymbols;
|
|
20482
20523
|
exports.customNameCharacterCheck = customNameCharacterCheck;
|
|
20483
20524
|
exports.dateKit = dateKit;
|
|
20484
20525
|
Object.defineProperty(exports, 'debounce', {
|
|
@@ -20492,6 +20533,7 @@ exports.dedupeBy = dedupeBy;
|
|
|
20492
20533
|
exports.deepCompare = deepCompare;
|
|
20493
20534
|
exports.delayAnimationFrame = delayAnimationFrame;
|
|
20494
20535
|
exports.deleteContent = deleteContent;
|
|
20536
|
+
exports.escapeRegExp = escapeRegExp;
|
|
20495
20537
|
exports.extractPureTextFromCell = extractPureTextFromCell;
|
|
20496
20538
|
Object.defineProperty(exports, 'forwardRef', {
|
|
20497
20539
|
enumerable: true,
|
|
@@ -20635,6 +20677,7 @@ exports.mixinClass = mixinClass;
|
|
|
20635
20677
|
exports.moveMatrixArray = moveMatrixArray;
|
|
20636
20678
|
exports.moveRangeByOffset = moveRangeByOffset;
|
|
20637
20679
|
exports.nameCharacterCheck = nameCharacterCheck;
|
|
20680
|
+
exports.noop = noop;
|
|
20638
20681
|
exports.normalizeBody = normalizeBody;
|
|
20639
20682
|
exports.normalizeTextRuns = normalizeTextRuns;
|
|
20640
20683
|
exports.numberToABC = numberToABC;
|
|
@@ -20681,12 +20724,6 @@ exports.sortRulesFactory = sortRulesFactory;
|
|
|
20681
20724
|
exports.spliceArray = spliceArray;
|
|
20682
20725
|
exports.splitIntoGrid = splitIntoGrid;
|
|
20683
20726
|
exports.takeAfter = takeAfter;
|
|
20684
|
-
Object.defineProperty(exports, 'textDiff', {
|
|
20685
|
-
enumerable: true,
|
|
20686
|
-
get: function () {
|
|
20687
|
-
return fast_diff.default;
|
|
20688
|
-
}
|
|
20689
|
-
});
|
|
20690
20727
|
exports.throttle = throttle;
|
|
20691
20728
|
exports.toDisposable = toDisposable;
|
|
20692
20729
|
exports.touchDependencies = touchDependencies;
|
package/lib/es/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import * as json1 from "ot-json1";
|
|
|
8
8
|
import { debounceTime as debounceTime$1, filter as filter$1, first, map as map$1 } from "rxjs/operators";
|
|
9
9
|
import * as numfmt from "numfmt";
|
|
10
10
|
import RBush, { default as RBush$1 } from "rbush";
|
|
11
|
-
import
|
|
11
|
+
import fastDiff from "fast-diff";
|
|
12
12
|
import { defaultTheme } from "@univerjs/themes";
|
|
13
13
|
import KDBush from "kdbush";
|
|
14
14
|
|
|
@@ -371,6 +371,11 @@ var CanceledError = class extends CustomCommandExecutionError {
|
|
|
371
371
|
* See the License for the specific language governing permissions and
|
|
372
372
|
* limitations under the License.
|
|
373
373
|
*/
|
|
374
|
+
/**
|
|
375
|
+
* A no-op (no operation) function that does nothing.
|
|
376
|
+
* Use this as a default placeholder for callbacks or optional handlers.
|
|
377
|
+
*/
|
|
378
|
+
function noop() {}
|
|
374
379
|
function throttle(fn, wait = 16) {
|
|
375
380
|
let lastTime = 0;
|
|
376
381
|
let timer = null;
|
|
@@ -1749,9 +1754,16 @@ const isNodeEnv = () => {
|
|
|
1749
1754
|
* @returns {RegExp} The generated regular expression
|
|
1750
1755
|
*/
|
|
1751
1756
|
function createREGEXFromWildChar(wildChar) {
|
|
1752
|
-
const regexpStr = wildChar
|
|
1757
|
+
const regexpStr = escapeRegExp(wildChar).replace(/\\\*/g, ".*").replace(/\\\?/g, ".");
|
|
1753
1758
|
return new RegExp(`^${regexpStr}$`, "i");
|
|
1754
1759
|
}
|
|
1760
|
+
/**
|
|
1761
|
+
* Escapes characters that have special meaning in a regular expression so the
|
|
1762
|
+
* returned string can be safely embedded in a RegExp pattern as literal text.
|
|
1763
|
+
*/
|
|
1764
|
+
function escapeRegExp(str) {
|
|
1765
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1766
|
+
}
|
|
1755
1767
|
|
|
1756
1768
|
//#endregion
|
|
1757
1769
|
//#region src/types/enum/auto-fill-series.ts
|
|
@@ -2076,6 +2088,7 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
|
|
|
2076
2088
|
LocaleType["ZH_CN"] = "zhCN";
|
|
2077
2089
|
LocaleType["RU_RU"] = "ruRU";
|
|
2078
2090
|
LocaleType["ZH_TW"] = "zhTW";
|
|
2091
|
+
LocaleType["ZH_HK"] = "zhHK";
|
|
2079
2092
|
LocaleType["VI_VN"] = "viVN";
|
|
2080
2093
|
LocaleType["FA_IR"] = "faIR";
|
|
2081
2094
|
LocaleType["JA_JP"] = "jaJP";
|
|
@@ -2083,6 +2096,12 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
|
|
|
2083
2096
|
LocaleType["ES_ES"] = "esES";
|
|
2084
2097
|
LocaleType["CA_ES"] = "caES";
|
|
2085
2098
|
LocaleType["SK_SK"] = "skSK";
|
|
2099
|
+
LocaleType["PT_BR"] = "ptBR";
|
|
2100
|
+
LocaleType["DE_DE"] = "deDE";
|
|
2101
|
+
LocaleType["IT_IT"] = "itIT";
|
|
2102
|
+
LocaleType["ID_ID"] = "idID";
|
|
2103
|
+
LocaleType["PL_PL"] = "plPL";
|
|
2104
|
+
LocaleType["AR_SA"] = "arSA";
|
|
2086
2105
|
return LocaleType;
|
|
2087
2106
|
}({});
|
|
2088
2107
|
|
|
@@ -4941,11 +4960,10 @@ function getCellValueType(cell) {
|
|
|
4941
4960
|
}
|
|
4942
4961
|
function isNullCell(cell) {
|
|
4943
4962
|
if (cell == null) return true;
|
|
4944
|
-
const { v, f, si, p
|
|
4963
|
+
const { v, f, si, p } = cell;
|
|
4945
4964
|
if (!(v == null || typeof v === "string" && v.length === 0)) return false;
|
|
4946
4965
|
if (f != null && f.length > 0 || si != null && si.length > 0) return false;
|
|
4947
4966
|
if (p != null) return false;
|
|
4948
|
-
if (custom != null) return false;
|
|
4949
4967
|
return true;
|
|
4950
4968
|
}
|
|
4951
4969
|
function isCellV(cell) {
|
|
@@ -5129,16 +5147,42 @@ const isPatternEqualWithoutDecimal = (patternA, patternB) => {
|
|
|
5129
5147
|
};
|
|
5130
5148
|
const ignoreCommonPatterns = new Set(["m d"]);
|
|
5131
5149
|
const ignoreAMPMPatterns = new Set(["h:mm AM/PM", "hh:mm AM/PM"]);
|
|
5132
|
-
const currencySymbols =
|
|
5150
|
+
const currencySymbols = [
|
|
5151
|
+
"Rp",
|
|
5152
|
+
"zł",
|
|
5153
|
+
"NT$",
|
|
5154
|
+
"R$",
|
|
5155
|
+
"HK$",
|
|
5133
5156
|
"$",
|
|
5157
|
+
"£",
|
|
5134
5158
|
"¥",
|
|
5135
|
-
"
|
|
5159
|
+
"¤",
|
|
5160
|
+
"֏",
|
|
5161
|
+
"؋",
|
|
5162
|
+
"৳",
|
|
5163
|
+
"฿",
|
|
5164
|
+
"៛",
|
|
5165
|
+
"₡",
|
|
5166
|
+
"₦",
|
|
5167
|
+
"₩",
|
|
5168
|
+
"₪",
|
|
5136
5169
|
"₫",
|
|
5137
|
-
"NT$",
|
|
5138
5170
|
"€",
|
|
5139
|
-
"
|
|
5171
|
+
"₭",
|
|
5172
|
+
"₮",
|
|
5173
|
+
"₱",
|
|
5174
|
+
"₲",
|
|
5175
|
+
"₴",
|
|
5176
|
+
"₸",
|
|
5177
|
+
"₹",
|
|
5178
|
+
"₺",
|
|
5179
|
+
"₼",
|
|
5180
|
+
"₽",
|
|
5181
|
+
"₾",
|
|
5182
|
+
"₿",
|
|
5140
5183
|
"﷼"
|
|
5141
|
-
]
|
|
5184
|
+
];
|
|
5185
|
+
const currencySymbolSet = new Set(currencySymbols);
|
|
5142
5186
|
/**
|
|
5143
5187
|
* Get the numfmt parse value, and filter out the parse error.
|
|
5144
5188
|
*/
|
|
@@ -5168,7 +5212,7 @@ const getNumfmtParseValueFilter = (value) => {
|
|
|
5168
5212
|
*/
|
|
5169
5213
|
if (z.includes("#,##0")) {
|
|
5170
5214
|
if (/[.,]$/.test(value)) return null;
|
|
5171
|
-
const normalized = value.replace(new RegExp(`^[${[...
|
|
5215
|
+
const normalized = value.replace(new RegExp(`^[${[...currencySymbolSet].join("")}]+`), "").trim();
|
|
5172
5216
|
if (normalized.includes(",")) {
|
|
5173
5217
|
if (!/^-?\d{1,3}(,\d{3})*(\.\d+)?$/.test(normalized)) return null;
|
|
5174
5218
|
}
|
|
@@ -6636,21 +6680,6 @@ function mergeIntervals(intervals) {
|
|
|
6636
6680
|
//#endregion
|
|
6637
6681
|
//#region src/shared/locale.ts
|
|
6638
6682
|
/**
|
|
6639
|
-
* Copyright 2023-present DreamNum Co., Ltd.
|
|
6640
|
-
*
|
|
6641
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6642
|
-
* you may not use this file except in compliance with the License.
|
|
6643
|
-
* You may obtain a copy of the License at
|
|
6644
|
-
*
|
|
6645
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
6646
|
-
*
|
|
6647
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
6648
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
6649
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
6650
|
-
* See the License for the specific language governing permissions and
|
|
6651
|
-
* limitations under the License.
|
|
6652
|
-
*/
|
|
6653
|
-
/**
|
|
6654
6683
|
* Merges multiple locale objects into a single locale object.
|
|
6655
6684
|
* It can accept either multiple locale objects as arguments or a single array of locale objects.
|
|
6656
6685
|
* @param locales - An array of locale objects or multiple locale objects.
|
|
@@ -6660,7 +6689,7 @@ function mergeLocales(...locales) {
|
|
|
6660
6689
|
let mergedLocales;
|
|
6661
6690
|
if (locales.length === 1 && Array.isArray(locales[0])) mergedLocales = locales[0];
|
|
6662
6691
|
else mergedLocales = locales;
|
|
6663
|
-
return
|
|
6692
|
+
return Object.assign({}, ...mergedLocales);
|
|
6664
6693
|
}
|
|
6665
6694
|
|
|
6666
6695
|
//#endregion
|
|
@@ -11717,7 +11746,7 @@ const replaceSelectionTextX = (params) => {
|
|
|
11717
11746
|
const body = (_doc$getSelfOrHeaderF = doc.getSelfOrHeaderFooterModel(segmentId)) === null || _doc$getSelfOrHeaderF === void 0 ? void 0 : _doc$getSelfOrHeaderF.getBody();
|
|
11718
11747
|
if (!body) return false;
|
|
11719
11748
|
const oldBody = selection.collapsed ? null : getBodySlice(body, selection.startOffset, selection.endOffset);
|
|
11720
|
-
const diffs =
|
|
11749
|
+
const diffs = fastDiff(oldBody ? oldBody.dataStream : "", insertBody.dataStream);
|
|
11721
11750
|
let cursor = 0;
|
|
11722
11751
|
const actions = diffs.map(([type, text]) => {
|
|
11723
11752
|
switch (type) {
|
|
@@ -11767,7 +11796,7 @@ const replaceSelectionTextRuns = (params) => {
|
|
|
11767
11796
|
const body = (_doc$getSelfOrHeaderF2 = doc.getSelfOrHeaderFooterModel(segmentId)) === null || _doc$getSelfOrHeaderF2 === void 0 ? void 0 : _doc$getSelfOrHeaderF2.getBody();
|
|
11768
11797
|
if (!body) return false;
|
|
11769
11798
|
const oldBody = selection.collapsed ? null : getBodySlice(body, selection.startOffset, selection.endOffset);
|
|
11770
|
-
const diffs =
|
|
11799
|
+
const diffs = fastDiff(oldBody ? oldBody.dataStream : "", insertBody.dataStream);
|
|
11771
11800
|
let cursor = 0;
|
|
11772
11801
|
const actions = diffs.map(([type, text]) => {
|
|
11773
11802
|
switch (type) {
|
|
@@ -14751,7 +14780,7 @@ const IURLImageService = createIdentifier("core.url-image.service");
|
|
|
14751
14780
|
//#endregion
|
|
14752
14781
|
//#region package.json
|
|
14753
14782
|
var name = "@univerjs/core";
|
|
14754
|
-
var version = "0.
|
|
14783
|
+
var version = "0.24.0-insiders.20260527-b1d726f";
|
|
14755
14784
|
|
|
14756
14785
|
//#endregion
|
|
14757
14786
|
//#region src/sheets/empty-snapshot.ts
|
|
@@ -17330,11 +17359,8 @@ let UniverInstanceService = class UniverInstanceService extends Disposable {
|
|
|
17330
17359
|
return (_units$get = units.get(type)) !== null && _units$get !== void 0 ? _units$get : null;
|
|
17331
17360
|
}), distinctUntilChanged());
|
|
17332
17361
|
}
|
|
17333
|
-
getCurrentUnitForType(type) {
|
|
17334
|
-
return this._currentUnits.get(type);
|
|
17335
|
-
}
|
|
17336
17362
|
getCurrentUnitOfType(type) {
|
|
17337
|
-
return this.
|
|
17363
|
+
return this._currentUnits.get(type);
|
|
17338
17364
|
}
|
|
17339
17365
|
setCurrentUnitForType(unitId) {
|
|
17340
17366
|
const result = this._getUnitById(unitId);
|
|
@@ -17377,7 +17403,7 @@ let UniverInstanceService = class UniverInstanceService extends Disposable {
|
|
|
17377
17403
|
return unit;
|
|
17378
17404
|
}
|
|
17379
17405
|
getCurrentUniverDocInstance() {
|
|
17380
|
-
return this.
|
|
17406
|
+
return this.getCurrentUnitOfType(UniverInstanceType.UNIVER_DOC);
|
|
17381
17407
|
}
|
|
17382
17408
|
getUniverDocInstance(unitId) {
|
|
17383
17409
|
return this.getUnit(unitId, UniverInstanceType.UNIVER_DOC);
|
|
@@ -17458,7 +17484,7 @@ let UniverInstanceService = class UniverInstanceService extends Disposable {
|
|
|
17458
17484
|
return true;
|
|
17459
17485
|
}
|
|
17460
17486
|
_tryResetCurrentOnRemoval(unitId, type) {
|
|
17461
|
-
const current = this.
|
|
17487
|
+
const current = this.getCurrentUnitOfType(type);
|
|
17462
17488
|
if ((current === null || current === void 0 ? void 0 : current.getUnitId()) === unitId) {
|
|
17463
17489
|
this._currentUnits.set(type, null);
|
|
17464
17490
|
this._currentUnits$.next(this._currentUnits);
|
|
@@ -18739,9 +18765,23 @@ var RTree = class {
|
|
|
18739
18765
|
* See the License for the specific language governing permissions and
|
|
18740
18766
|
* limitations under the License.
|
|
18741
18767
|
*/
|
|
18768
|
+
/**
|
|
18769
|
+
* Returns a Promise that resolves after the specified number of milliseconds.
|
|
18770
|
+
* Use this to pause execution for a given duration.
|
|
18771
|
+
*
|
|
18772
|
+
* @param ms The number of milliseconds to wait before resolving.
|
|
18773
|
+
* @returns A Promise that resolves after `ms` milliseconds.
|
|
18774
|
+
*/
|
|
18742
18775
|
function awaitTime(ms) {
|
|
18743
18776
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
18744
18777
|
}
|
|
18778
|
+
/**
|
|
18779
|
+
* Returns a Promise that resolves after the specified number of animation frames.
|
|
18780
|
+
* Use this to wait for the browser to complete one or more rendering cycles.
|
|
18781
|
+
*
|
|
18782
|
+
* @param frames The number of animation frames to wait before resolving. Defaults to `1`.
|
|
18783
|
+
* @returns A Promise that resolves after `frames` animation frames.
|
|
18784
|
+
*/
|
|
18745
18785
|
function delayAnimationFrame(frames = 1) {
|
|
18746
18786
|
return new Promise((resolve) => {
|
|
18747
18787
|
let count = 0;
|
|
@@ -18959,8 +18999,8 @@ let SheetSkeleton = class SheetSkeleton extends Skeleton {
|
|
|
18959
18999
|
const { r, g, b } = new ColorKit(this._injector.get(ThemeService).getColorFromTheme("primary.500")).toRgb();
|
|
18960
19000
|
return {
|
|
18961
19001
|
...config,
|
|
18962
|
-
defaultBackgroundColor: (_config$defaultBackgr = config.defaultBackgroundColor) !== null && _config$defaultBackgr !== void 0 ? _config$defaultBackgr : `rgba(${r}, ${g}, ${b}, 0.
|
|
18963
|
-
defaultStripeColor: (_config$defaultStripe = config.defaultStripeColor) !== null && _config$defaultStripe !== void 0 ? _config$defaultStripe : `rgba(${r}, ${g}, ${b}, 0.
|
|
19002
|
+
defaultBackgroundColor: (_config$defaultBackgr = config.defaultBackgroundColor) !== null && _config$defaultBackgr !== void 0 ? _config$defaultBackgr : `rgba(${r}, ${g}, ${b}, 0.025)`,
|
|
19003
|
+
defaultStripeColor: (_config$defaultStripe = config.defaultStripeColor) !== null && _config$defaultStripe !== void 0 ? _config$defaultStripe : `rgba(${r}, ${g}, ${b}, 0.08)`
|
|
18964
19004
|
};
|
|
18965
19005
|
}
|
|
18966
19006
|
/**
|
|
@@ -20029,4 +20069,4 @@ function createUniverInjector(parentInjector, override) {
|
|
|
20029
20069
|
installShims();
|
|
20030
20070
|
|
|
20031
20071
|
//#endregion
|
|
20032
|
-
export { ABCToNumber, AUTO_HEIGHT_FOR_MERGED_CELLS, AbsoluteRefType, ActionIterator, AlignTypeH, AlignTypeV, ArrangeTypeEnum, AsyncInterceptorManager, AsyncLock, AuthzIoLocalService, AutoFillSeries, BORDER_KEYS, BORDER_STYLE_KEYS, BaselineOffset, BlockType, BooleanNumber, BorderStyleTypes, BorderType, BuildTextUtils, BulletAlignment, COLORS, COLOR_STYLE_KEYS, COMMAND_LOG_EXECUTION_CONFIG_KEY, CanceledError, CellModeEnum, CellValueType, ColorKit, ColorType, ColumnSeparatorType, CommandService, CommandType, CommonHideTypes, ConfigService, ContextService, CopyPasteType, CustomCommandExecutionError, CustomDecorationType, CustomRangeType, DEFAULT_CELL, DEFAULT_DOC, DEFAULT_DOCUMENT_SUB_COMPONENT_ID, DEFAULT_EMPTY_DOCUMENT_VALUE, DEFAULT_NUMBER_FORMAT, DEFAULT_RANGE, DEFAULT_RANGE_ARRAY, DEFAULT_SELECTION, DEFAULT_STYLES, DEFAULT_TEXT_FORMAT, DEFAULT_TEXT_FORMAT_EXCEL, DEFAULT_WORKSHEET_COLUMN_COUNT, DEFAULT_WORKSHEET_COLUMN_COUNT_KEY, DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT, DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT_KEY, DEFAULT_WORKSHEET_COLUMN_WIDTH, DEFAULT_WORKSHEET_COLUMN_WIDTH_KEY, DEFAULT_WORKSHEET_ROW_COUNT, DEFAULT_WORKSHEET_ROW_COUNT_KEY, DEFAULT_WORKSHEET_ROW_HEIGHT, DEFAULT_WORKSHEET_ROW_HEIGHT_KEY, DEFAULT_WORKSHEET_ROW_TITLE_WIDTH, DEFAULT_WORKSHEET_ROW_TITLE_WIDTH_KEY, DOCS_COMMENT_EDITOR_UNIT_ID_KEY, DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DOCS_NORMAL_EDITOR_UNIT_ID_KEY, DOCS_ZEN_EDITOR_UNIT_ID_KEY, DOC_DRAWING_PRINTING_COMPONENT_KEY, DOC_RANGE_TYPE, DashStyleType, DataStreamTreeNodeType, DataStreamTreeTokenType, DataValidationErrorStyle, DataValidationImeMode, DataValidationOperator, DataValidationRenderMode, DataValidationStatus, DataValidationType, DeleteDirection, DependentOn, DesktopLogService, DeveloperMetadataVisibility, Dimension, Direction, Disposable, DisposableCollection, DocStyleType, DocumentDataModel, DocumentFlavor, DrawingTypeEnum, EDITOR_ACTIVATED, EXTENSION_NAMES, ErrorService, EventState, EventSubject, FOCUSING_COMMENT_EDITOR, FOCUSING_COMMON_DRAWINGS, FOCUSING_DOC, FOCUSING_EDITOR_BUT_HIDDEN, FOCUSING_EDITOR_INPUT_FORMULA, FOCUSING_EDITOR_STANDALONE, FOCUSING_FX_BAR_EDITOR, FOCUSING_PANEL_EDITOR, FOCUSING_SHAPE_TEXT_EDITOR, FOCUSING_SHEET, FOCUSING_SLIDE, FOCUSING_UNIT, FOCUSING_UNIVER_EDITOR, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE, FORMULA_EDITOR_ACTIVATED, FollowNumberWithType, FontItalic, FontStyleType, FontWeight, GridType, HorizontalAlign, IAuthzIoService, ICommandService, IConfigService, IConfirmService, IContextService, IImageIoService, ILocalStorageService, ILogService, IMentionIOService, IPermissionService, IResourceLoaderService, IResourceManagerService, IS_ROW_STYLE_PRECEDE_COLUMN_STYLE, IURLImageService, IUndoRedoService, IUniverInstanceService, ImageCacheMap, ImageSourceType, ImageUploadStatusType, Inject, InjectSelf, Injector, InterceptorEffectEnum, InterceptorManager, InterpolationPointType, json1 as JSON1, JSONX, LRUHelper, LRUMap, LifecycleService, LifecycleStages, LifecycleUnreachableError, ListGlyphType, LocalUndoRedoService, LocaleService, LocaleType, LogLevel, LookUp, MAX_COLUMN_COUNT, MAX_ROW_COUNT, MOVE_BUFFER_VALUE, Many, MemoryCursor, MentionIOLocalService, MentionType, NAMED_STYLE_MAP, NAMED_STYLE_SPACE_MAP, NamedStyleType, NilCommand, NumberUnitType, ObjectMatrix, ObjectRelativeFromH, ObjectRelativeFromV, Optional, PADDING_KEYS, PAGE_SIZE, PAPER_TYPES, PRESET_LIST_TYPE, PRINT_CHART_COMPONENT_KEY, PageOrientType, PaperType, ParagraphElementType, ParagraphStyleBuilder, ParagraphStyleValue, PermissionService, PermissionStatus, Plugin, PluginService, PositionedObjectLayoutType, PresetListType, ProtectionType, Quantity, QuickListType, QuickListTypeMap, RANGE_DIRECTION, RANGE_TYPE, RBush, RCDisposable, RGBA_PAREN, RGB_PAREN, ROTATE_BUFFER_VALUE, RTree, Range, Rectangle, RediError, RedoCommand, RedoCommandId, RefAlias, Registry, RegistryAsMap, RelativeDate, ResourceManagerService, RichTextBuilder, RichTextValue, RxDisposable, SHEET_EDITOR_UNITS, STYLE_KEYS, SectionType, Self, SheetSkeleton, SheetTypes, SheetViewModel, Skeleton, SkipSelf, SliceBodyType, SpacingRule, Styles, TEXT_DECORATION_KEYS, TEXT_ROTATION_KEYS, THEME_COLORS, TabStopAlignment, TableAlignmentType, TableLayoutType, TableRowHeightRule, TableSizeType, TableTextWrapType, TestConfirmService, TextDecoration, TextDecorationBuilder, TextDirection, TextDirectionType, TextStyleBuilder, TextStyleValue, TextX, TextXActionType, ThemeColorType, ThemeColors, ThemeService, Tools, UndoCommand, UndoCommandId, UnitModel, Univer, UniverInstanceService, UniverInstanceType, UpdateDocsAttributeType, UserManagerService, VerticalAlign, VerticalAlignmentType, WithNew, Workbook, Worksheet, WrapStrategy, WrapTextType, addLinkToDocumentModel, afterInitApply, afterTime, awaitTime, binSearchFirstGreaterThanTarget, binarySearchArray, bufferDebounceTime, cellToRange, characterSpacingControlType, checkForSubstrings, checkIfMove, checkParagraphHasBullet, checkParagraphHasIndent, checkParagraphHasIndentByStyle, cloneCellData, cloneCellDataMatrix, cloneCellDataWithSpanAndDisplay, cloneValue, cloneWorksheetData, codeToBlob, columnLabelToNumber, composeBody, composeInterceptors, composeStyles, concatMatrixArray, convertCellToRange, convertObservableToBehaviorSubject, covertCellValue, covertCellValues, createAsyncInterceptorKey, createDefaultUser, createDocumentModelWithStyle, createIdentifier, createInterceptorKey, createInternalEditorID, createREGEXFromWildChar, createRowColIter, createSheetGapTestConfig, customNameCharacterCheck, dateKit, debounce, dedupe, dedupeBy, deepCompare, delayAnimationFrame, deleteContent, extractPureTextFromCell, forwardRef, fromCallback, fromEventSubject, generateIntervalsByPoints, generateRandomId, get, getArrayLength, getBodySlice, getBorderStyleType, getCellCoordByIndexSimple, getCellInfoInMergeData, getCellValueType, getCellWithCoordByIndexCore, getColorStyle, getCustomBlockSlice, getCustomDecorationSlice, getCustomRangeSlice, getDisplayValueFromCell, getDocsUpdateBody, getEmptyCell, getIntersectRange, getNumfmtParseValueFilter, getOriginCellValue, getParagraphsSlice, getPlainText, getReverseDirection, getSectionBreakSlice, getTableSlice, getTextRunSlice, getTransformOffsetX, getTransformOffsetY, getWorksheetUID, groupBy, handleStyleToString, hashAlgorithm, horizontalLineSegmentsSubtraction, insertMatrixArray, insertTextToContent, invertColorByHSL, invertColorByMatrix, isAsyncDependencyItem, isAsyncHook, isBlackColor, isBooleanString, isCellCoverable, isCellV, isClassDependencyItem, isCommentEditorID, isCtor, isDefaultFormat, isDisposable, isEmptyCell, isFactoryDependencyItem, isFormulaId, isFormulaString, isICellData, isInternalEditorID, isNodeEnv, isNotNullOrUndefined, isNullCell, isNumeric, isPatternEqualWithoutDecimal, isRangesEqual, isRealNum, isSafeNumeric, isSameStyleTextRun, isTextFormat, isUnitRangesEqual, isValidRange, isValueDependencyItem, isWhiteColor, makeArray, makeCellRangeToRangeData, makeCellToSelection, makeCustomRangeStream, mapObjectMatrix, merge, mergeIntervals, mergeLocales, mergeOverrideWithDependencies, mergeSets, mergeWith, mergeWorksheetSnapshotWithDefault, mixinClass, moveMatrixArray, moveRangeByOffset, nameCharacterCheck, normalizeBody, normalizeTextRuns, numberToABC, numberToListABC, numfmt, queryObjectMatrix, registerDependencies, remove, repeatStringNumTimes, replaceInDocumentBody, requestImmediateMacroTask, resolveWithBasePath, rotate, searchArray, searchInOrderedArray, selectionToArray, sequence, sequenceAsync, sequenceExecute, sequenceExecuteAsync, set, setDependencies, shallowEqual, skipParseTagNames, sliceMatrixArray, sortRules, sortRulesByDesc, sortRulesFactory, spliceArray, splitIntoGrid, takeAfter,
|
|
20072
|
+
export { ABCToNumber, AUTO_HEIGHT_FOR_MERGED_CELLS, AbsoluteRefType, ActionIterator, AlignTypeH, AlignTypeV, ArrangeTypeEnum, AsyncInterceptorManager, AsyncLock, AuthzIoLocalService, AutoFillSeries, BORDER_KEYS, BORDER_STYLE_KEYS, BaselineOffset, BlockType, BooleanNumber, BorderStyleTypes, BorderType, BuildTextUtils, BulletAlignment, COLORS, COLOR_STYLE_KEYS, COMMAND_LOG_EXECUTION_CONFIG_KEY, CanceledError, CellModeEnum, CellValueType, ColorKit, ColorType, ColumnSeparatorType, CommandService, CommandType, CommonHideTypes, ConfigService, ContextService, CopyPasteType, CustomCommandExecutionError, CustomDecorationType, CustomRangeType, DEFAULT_CELL, DEFAULT_DOC, DEFAULT_DOCUMENT_SUB_COMPONENT_ID, DEFAULT_EMPTY_DOCUMENT_VALUE, DEFAULT_NUMBER_FORMAT, DEFAULT_RANGE, DEFAULT_RANGE_ARRAY, DEFAULT_SELECTION, DEFAULT_STYLES, DEFAULT_TEXT_FORMAT, DEFAULT_TEXT_FORMAT_EXCEL, DEFAULT_WORKSHEET_COLUMN_COUNT, DEFAULT_WORKSHEET_COLUMN_COUNT_KEY, DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT, DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT_KEY, DEFAULT_WORKSHEET_COLUMN_WIDTH, DEFAULT_WORKSHEET_COLUMN_WIDTH_KEY, DEFAULT_WORKSHEET_ROW_COUNT, DEFAULT_WORKSHEET_ROW_COUNT_KEY, DEFAULT_WORKSHEET_ROW_HEIGHT, DEFAULT_WORKSHEET_ROW_HEIGHT_KEY, DEFAULT_WORKSHEET_ROW_TITLE_WIDTH, DEFAULT_WORKSHEET_ROW_TITLE_WIDTH_KEY, DOCS_COMMENT_EDITOR_UNIT_ID_KEY, DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DOCS_NORMAL_EDITOR_UNIT_ID_KEY, DOCS_ZEN_EDITOR_UNIT_ID_KEY, DOC_DRAWING_PRINTING_COMPONENT_KEY, DOC_RANGE_TYPE, DashStyleType, DataStreamTreeNodeType, DataStreamTreeTokenType, DataValidationErrorStyle, DataValidationImeMode, DataValidationOperator, DataValidationRenderMode, DataValidationStatus, DataValidationType, DeleteDirection, DependentOn, DesktopLogService, DeveloperMetadataVisibility, Dimension, Direction, Disposable, DisposableCollection, DocStyleType, DocumentDataModel, DocumentFlavor, DrawingTypeEnum, EDITOR_ACTIVATED, EXTENSION_NAMES, ErrorService, EventState, EventSubject, FOCUSING_COMMENT_EDITOR, FOCUSING_COMMON_DRAWINGS, FOCUSING_DOC, FOCUSING_EDITOR_BUT_HIDDEN, FOCUSING_EDITOR_INPUT_FORMULA, FOCUSING_EDITOR_STANDALONE, FOCUSING_FX_BAR_EDITOR, FOCUSING_PANEL_EDITOR, FOCUSING_SHAPE_TEXT_EDITOR, FOCUSING_SHEET, FOCUSING_SLIDE, FOCUSING_UNIT, FOCUSING_UNIVER_EDITOR, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE, FORMULA_EDITOR_ACTIVATED, FollowNumberWithType, FontItalic, FontStyleType, FontWeight, GridType, HorizontalAlign, IAuthzIoService, ICommandService, IConfigService, IConfirmService, IContextService, IImageIoService, ILocalStorageService, ILogService, IMentionIOService, IPermissionService, IResourceLoaderService, IResourceManagerService, IS_ROW_STYLE_PRECEDE_COLUMN_STYLE, IURLImageService, IUndoRedoService, IUniverInstanceService, ImageCacheMap, ImageSourceType, ImageUploadStatusType, Inject, InjectSelf, Injector, InterceptorEffectEnum, InterceptorManager, InterpolationPointType, json1 as JSON1, JSONX, LRUHelper, LRUMap, LifecycleService, LifecycleStages, LifecycleUnreachableError, ListGlyphType, LocalUndoRedoService, LocaleService, LocaleType, LogLevel, LookUp, MAX_COLUMN_COUNT, MAX_ROW_COUNT, MOVE_BUFFER_VALUE, Many, MemoryCursor, MentionIOLocalService, MentionType, NAMED_STYLE_MAP, NAMED_STYLE_SPACE_MAP, NamedStyleType, NilCommand, NumberUnitType, ObjectMatrix, ObjectRelativeFromH, ObjectRelativeFromV, Optional, PADDING_KEYS, PAGE_SIZE, PAPER_TYPES, PRESET_LIST_TYPE, PRINT_CHART_COMPONENT_KEY, PageOrientType, PaperType, ParagraphElementType, ParagraphStyleBuilder, ParagraphStyleValue, PermissionService, PermissionStatus, Plugin, PluginService, PositionedObjectLayoutType, PresetListType, ProtectionType, Quantity, QuickListType, QuickListTypeMap, RANGE_DIRECTION, RANGE_TYPE, RBush, RCDisposable, RGBA_PAREN, RGB_PAREN, ROTATE_BUFFER_VALUE, RTree, Range, Rectangle, RediError, RedoCommand, RedoCommandId, RefAlias, Registry, RegistryAsMap, RelativeDate, ResourceManagerService, RichTextBuilder, RichTextValue, RxDisposable, SHEET_EDITOR_UNITS, STYLE_KEYS, SectionType, Self, SheetSkeleton, SheetTypes, SheetViewModel, Skeleton, SkipSelf, SliceBodyType, SpacingRule, Styles, TEXT_DECORATION_KEYS, TEXT_ROTATION_KEYS, THEME_COLORS, TabStopAlignment, TableAlignmentType, TableLayoutType, TableRowHeightRule, TableSizeType, TableTextWrapType, TestConfirmService, TextDecoration, TextDecorationBuilder, TextDirection, TextDirectionType, TextStyleBuilder, TextStyleValue, TextX, TextXActionType, ThemeColorType, ThemeColors, ThemeService, Tools, UndoCommand, UndoCommandId, UnitModel, Univer, UniverInstanceService, UniverInstanceType, UpdateDocsAttributeType, UserManagerService, VerticalAlign, VerticalAlignmentType, WithNew, Workbook, Worksheet, WrapStrategy, WrapTextType, addLinkToDocumentModel, afterInitApply, afterTime, awaitTime, binSearchFirstGreaterThanTarget, binarySearchArray, bufferDebounceTime, cellToRange, characterSpacingControlType, checkForSubstrings, checkIfMove, checkParagraphHasBullet, checkParagraphHasIndent, checkParagraphHasIndentByStyle, cloneCellData, cloneCellDataMatrix, cloneCellDataWithSpanAndDisplay, cloneValue, cloneWorksheetData, codeToBlob, columnLabelToNumber, composeBody, composeInterceptors, composeStyles, concatMatrixArray, convertCellToRange, convertObservableToBehaviorSubject, covertCellValue, covertCellValues, createAsyncInterceptorKey, createDefaultUser, createDocumentModelWithStyle, createIdentifier, createInterceptorKey, createInternalEditorID, createREGEXFromWildChar, createRowColIter, createSheetGapTestConfig, currencySymbols, customNameCharacterCheck, dateKit, debounce, dedupe, dedupeBy, deepCompare, delayAnimationFrame, deleteContent, escapeRegExp, extractPureTextFromCell, forwardRef, fromCallback, fromEventSubject, generateIntervalsByPoints, generateRandomId, get, getArrayLength, getBodySlice, getBorderStyleType, getCellCoordByIndexSimple, getCellInfoInMergeData, getCellValueType, getCellWithCoordByIndexCore, getColorStyle, getCustomBlockSlice, getCustomDecorationSlice, getCustomRangeSlice, getDisplayValueFromCell, getDocsUpdateBody, getEmptyCell, getIntersectRange, getNumfmtParseValueFilter, getOriginCellValue, getParagraphsSlice, getPlainText, getReverseDirection, getSectionBreakSlice, getTableSlice, getTextRunSlice, getTransformOffsetX, getTransformOffsetY, getWorksheetUID, groupBy, handleStyleToString, hashAlgorithm, horizontalLineSegmentsSubtraction, insertMatrixArray, insertTextToContent, invertColorByHSL, invertColorByMatrix, isAsyncDependencyItem, isAsyncHook, isBlackColor, isBooleanString, isCellCoverable, isCellV, isClassDependencyItem, isCommentEditorID, isCtor, isDefaultFormat, isDisposable, isEmptyCell, isFactoryDependencyItem, isFormulaId, isFormulaString, isICellData, isInternalEditorID, isNodeEnv, isNotNullOrUndefined, isNullCell, isNumeric, isPatternEqualWithoutDecimal, isRangesEqual, isRealNum, isSafeNumeric, isSameStyleTextRun, isTextFormat, isUnitRangesEqual, isValidRange, isValueDependencyItem, isWhiteColor, makeArray, makeCellRangeToRangeData, makeCellToSelection, makeCustomRangeStream, mapObjectMatrix, merge, mergeIntervals, mergeLocales, mergeOverrideWithDependencies, mergeSets, mergeWith, mergeWorksheetSnapshotWithDefault, mixinClass, moveMatrixArray, moveRangeByOffset, nameCharacterCheck, noop, normalizeBody, normalizeTextRuns, numberToABC, numberToListABC, numfmt, queryObjectMatrix, registerDependencies, remove, repeatStringNumTimes, replaceInDocumentBody, requestImmediateMacroTask, resolveWithBasePath, rotate, searchArray, searchInOrderedArray, selectionToArray, sequence, sequenceAsync, sequenceExecute, sequenceExecuteAsync, set, setDependencies, shallowEqual, skipParseTagNames, sliceMatrixArray, sortRules, sortRulesByDesc, sortRulesFactory, spliceArray, splitIntoGrid, takeAfter, throttle, toDisposable, touchDependencies, updateAttributeByDelete, updateAttributeByInsert, willLoseNumericPrecision };
|