@univerjs/core 0.24.0-insiders.20260527-b1d726f → 0.24.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/LICENSE ADDED
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
package/lib/cjs/index.js CHANGED
@@ -1788,16 +1788,9 @@ const isNodeEnv = () => {
1788
1788
  * @returns {RegExp} The generated regular expression
1789
1789
  */
1790
1790
  function createREGEXFromWildChar(wildChar) {
1791
- const regexpStr = escapeRegExp(wildChar).replace(/\\\*/g, ".*").replace(/\\\?/g, ".");
1791
+ const regexpStr = wildChar.replace(/[.*+?^${}()|[\]\\]/g, "\\$&").replace(/\\\*/g, ".*").replace(/\\\?/g, ".");
1792
1792
  return new RegExp(`^${regexpStr}$`, "i");
1793
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
- }
1801
1794
 
1802
1795
  //#endregion
1803
1796
  //#region src/types/enum/auto-fill-series.ts
@@ -2122,7 +2115,6 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
2122
2115
  LocaleType["ZH_CN"] = "zhCN";
2123
2116
  LocaleType["RU_RU"] = "ruRU";
2124
2117
  LocaleType["ZH_TW"] = "zhTW";
2125
- LocaleType["ZH_HK"] = "zhHK";
2126
2118
  LocaleType["VI_VN"] = "viVN";
2127
2119
  LocaleType["FA_IR"] = "faIR";
2128
2120
  LocaleType["JA_JP"] = "jaJP";
@@ -2130,12 +2122,6 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
2130
2122
  LocaleType["ES_ES"] = "esES";
2131
2123
  LocaleType["CA_ES"] = "caES";
2132
2124
  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";
2139
2125
  return LocaleType;
2140
2126
  }({});
2141
2127
 
@@ -4994,10 +4980,11 @@ function getCellValueType(cell) {
4994
4980
  }
4995
4981
  function isNullCell(cell) {
4996
4982
  if (cell == null) return true;
4997
- const { v, f, si, p } = cell;
4983
+ const { v, f, si, p, custom } = cell;
4998
4984
  if (!(v == null || typeof v === "string" && v.length === 0)) return false;
4999
4985
  if (f != null && f.length > 0 || si != null && si.length > 0) return false;
5000
4986
  if (p != null) return false;
4987
+ if (custom != null) return false;
5001
4988
  return true;
5002
4989
  }
5003
4990
  function isCellV(cell) {
@@ -5181,42 +5168,16 @@ const isPatternEqualWithoutDecimal = (patternA, patternB) => {
5181
5168
  };
5182
5169
  const ignoreCommonPatterns = new Set(["m d"]);
5183
5170
  const ignoreAMPMPatterns = new Set(["h:mm AM/PM", "hh:mm AM/PM"]);
5184
- const currencySymbols = [
5185
- "Rp",
5186
- "zł",
5187
- "NT$",
5188
- "R$",
5189
- "HK$",
5171
+ const currencySymbols = new Set([
5190
5172
  "$",
5191
- "£",
5192
5173
  "¥",
5193
- "¤",
5194
- "֏",
5195
- "؋",
5196
- "৳",
5197
- "฿",
5198
- "៛",
5199
- "₡",
5200
- "₦",
5201
- "₩",
5202
- "₪",
5174
+ "",
5203
5175
  "₫",
5176
+ "NT$",
5204
5177
  "€",
5205
- "",
5206
- "₮",
5207
- "₱",
5208
- "₲",
5209
- "₴",
5210
- "₸",
5211
- "₹",
5212
- "₺",
5213
- "₼",
5214
- "₽",
5215
- "₾",
5216
- "₿",
5178
+ "",
5217
5179
  "﷼"
5218
- ];
5219
- const currencySymbolSet = new Set(currencySymbols);
5180
+ ]);
5220
5181
  /**
5221
5182
  * Get the numfmt parse value, and filter out the parse error.
5222
5183
  */
@@ -5246,7 +5207,7 @@ const getNumfmtParseValueFilter = (value) => {
5246
5207
  */
5247
5208
  if (z.includes("#,##0")) {
5248
5209
  if (/[.,]$/.test(value)) return null;
5249
- const normalized = value.replace(new RegExp(`^[${[...currencySymbolSet].join("")}]+`), "").trim();
5210
+ const normalized = value.replace(new RegExp(`^[${[...currencySymbols].join("")}]+`), "").trim();
5250
5211
  if (normalized.includes(",")) {
5251
5212
  if (!/^-?\d{1,3}(,\d{3})*(\.\d+)?$/.test(normalized)) return null;
5252
5213
  }
@@ -6714,6 +6675,21 @@ function mergeIntervals(intervals) {
6714
6675
  //#endregion
6715
6676
  //#region src/shared/locale.ts
6716
6677
  /**
6678
+ * Copyright 2023-present DreamNum Co., Ltd.
6679
+ *
6680
+ * Licensed under the Apache License, Version 2.0 (the "License");
6681
+ * you may not use this file except in compliance with the License.
6682
+ * You may obtain a copy of the License at
6683
+ *
6684
+ * http://www.apache.org/licenses/LICENSE-2.0
6685
+ *
6686
+ * Unless required by applicable law or agreed to in writing, software
6687
+ * distributed under the License is distributed on an "AS IS" BASIS,
6688
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6689
+ * See the License for the specific language governing permissions and
6690
+ * limitations under the License.
6691
+ */
6692
+ /**
6717
6693
  * Merges multiple locale objects into a single locale object.
6718
6694
  * It can accept either multiple locale objects as arguments or a single array of locale objects.
6719
6695
  * @param locales - An array of locale objects or multiple locale objects.
@@ -6723,7 +6699,7 @@ function mergeLocales(...locales) {
6723
6699
  let mergedLocales;
6724
6700
  if (locales.length === 1 && Array.isArray(locales[0])) mergedLocales = locales[0];
6725
6701
  else mergedLocales = locales;
6726
- return Object.assign({}, ...mergedLocales);
6702
+ return (0, lodash_es.merge)({}, ...mergedLocales);
6727
6703
  }
6728
6704
 
6729
6705
  //#endregion
@@ -14814,7 +14790,7 @@ const IURLImageService = (0, _wendellhu_redi.createIdentifier)("core.url-image.s
14814
14790
  //#endregion
14815
14791
  //#region package.json
14816
14792
  var name = "@univerjs/core";
14817
- var version = "0.24.0-insiders.20260527-b1d726f";
14793
+ var version = "0.24.0";
14818
14794
 
14819
14795
  //#endregion
14820
14796
  //#region src/sheets/empty-snapshot.ts
@@ -20519,7 +20495,6 @@ exports.createInternalEditorID = createInternalEditorID;
20519
20495
  exports.createREGEXFromWildChar = createREGEXFromWildChar;
20520
20496
  exports.createRowColIter = createRowColIter;
20521
20497
  exports.createSheetGapTestConfig = createSheetGapTestConfig;
20522
- exports.currencySymbols = currencySymbols;
20523
20498
  exports.customNameCharacterCheck = customNameCharacterCheck;
20524
20499
  exports.dateKit = dateKit;
20525
20500
  Object.defineProperty(exports, 'debounce', {
@@ -20533,7 +20508,6 @@ exports.dedupeBy = dedupeBy;
20533
20508
  exports.deepCompare = deepCompare;
20534
20509
  exports.delayAnimationFrame = delayAnimationFrame;
20535
20510
  exports.deleteContent = deleteContent;
20536
- exports.escapeRegExp = escapeRegExp;
20537
20511
  exports.extractPureTextFromCell = extractPureTextFromCell;
20538
20512
  Object.defineProperty(exports, 'forwardRef', {
20539
20513
  enumerable: true,
package/lib/es/index.js CHANGED
@@ -1754,16 +1754,9 @@ const isNodeEnv = () => {
1754
1754
  * @returns {RegExp} The generated regular expression
1755
1755
  */
1756
1756
  function createREGEXFromWildChar(wildChar) {
1757
- const regexpStr = escapeRegExp(wildChar).replace(/\\\*/g, ".*").replace(/\\\?/g, ".");
1757
+ const regexpStr = wildChar.replace(/[.*+?^${}()|[\]\\]/g, "\\$&").replace(/\\\*/g, ".*").replace(/\\\?/g, ".");
1758
1758
  return new RegExp(`^${regexpStr}$`, "i");
1759
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
- }
1767
1760
 
1768
1761
  //#endregion
1769
1762
  //#region src/types/enum/auto-fill-series.ts
@@ -2088,7 +2081,6 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
2088
2081
  LocaleType["ZH_CN"] = "zhCN";
2089
2082
  LocaleType["RU_RU"] = "ruRU";
2090
2083
  LocaleType["ZH_TW"] = "zhTW";
2091
- LocaleType["ZH_HK"] = "zhHK";
2092
2084
  LocaleType["VI_VN"] = "viVN";
2093
2085
  LocaleType["FA_IR"] = "faIR";
2094
2086
  LocaleType["JA_JP"] = "jaJP";
@@ -2096,12 +2088,6 @@ let LocaleType = /* @__PURE__ */ function(LocaleType) {
2096
2088
  LocaleType["ES_ES"] = "esES";
2097
2089
  LocaleType["CA_ES"] = "caES";
2098
2090
  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";
2105
2091
  return LocaleType;
2106
2092
  }({});
2107
2093
 
@@ -4960,10 +4946,11 @@ function getCellValueType(cell) {
4960
4946
  }
4961
4947
  function isNullCell(cell) {
4962
4948
  if (cell == null) return true;
4963
- const { v, f, si, p } = cell;
4949
+ const { v, f, si, p, custom } = cell;
4964
4950
  if (!(v == null || typeof v === "string" && v.length === 0)) return false;
4965
4951
  if (f != null && f.length > 0 || si != null && si.length > 0) return false;
4966
4952
  if (p != null) return false;
4953
+ if (custom != null) return false;
4967
4954
  return true;
4968
4955
  }
4969
4956
  function isCellV(cell) {
@@ -5147,42 +5134,16 @@ const isPatternEqualWithoutDecimal = (patternA, patternB) => {
5147
5134
  };
5148
5135
  const ignoreCommonPatterns = new Set(["m d"]);
5149
5136
  const ignoreAMPMPatterns = new Set(["h:mm AM/PM", "hh:mm AM/PM"]);
5150
- const currencySymbols = [
5151
- "Rp",
5152
- "zł",
5153
- "NT$",
5154
- "R$",
5155
- "HK$",
5137
+ const currencySymbols = new Set([
5156
5138
  "$",
5157
- "£",
5158
5139
  "¥",
5159
- "¤",
5160
- "֏",
5161
- "؋",
5162
- "৳",
5163
- "฿",
5164
- "៛",
5165
- "₡",
5166
- "₦",
5167
- "₩",
5168
- "₪",
5140
+ "",
5169
5141
  "₫",
5142
+ "NT$",
5170
5143
  "€",
5171
- "",
5172
- "₮",
5173
- "₱",
5174
- "₲",
5175
- "₴",
5176
- "₸",
5177
- "₹",
5178
- "₺",
5179
- "₼",
5180
- "₽",
5181
- "₾",
5182
- "₿",
5144
+ "",
5183
5145
  "﷼"
5184
- ];
5185
- const currencySymbolSet = new Set(currencySymbols);
5146
+ ]);
5186
5147
  /**
5187
5148
  * Get the numfmt parse value, and filter out the parse error.
5188
5149
  */
@@ -5212,7 +5173,7 @@ const getNumfmtParseValueFilter = (value) => {
5212
5173
  */
5213
5174
  if (z.includes("#,##0")) {
5214
5175
  if (/[.,]$/.test(value)) return null;
5215
- const normalized = value.replace(new RegExp(`^[${[...currencySymbolSet].join("")}]+`), "").trim();
5176
+ const normalized = value.replace(new RegExp(`^[${[...currencySymbols].join("")}]+`), "").trim();
5216
5177
  if (normalized.includes(",")) {
5217
5178
  if (!/^-?\d{1,3}(,\d{3})*(\.\d+)?$/.test(normalized)) return null;
5218
5179
  }
@@ -6680,6 +6641,21 @@ function mergeIntervals(intervals) {
6680
6641
  //#endregion
6681
6642
  //#region src/shared/locale.ts
6682
6643
  /**
6644
+ * Copyright 2023-present DreamNum Co., Ltd.
6645
+ *
6646
+ * Licensed under the Apache License, Version 2.0 (the "License");
6647
+ * you may not use this file except in compliance with the License.
6648
+ * You may obtain a copy of the License at
6649
+ *
6650
+ * http://www.apache.org/licenses/LICENSE-2.0
6651
+ *
6652
+ * Unless required by applicable law or agreed to in writing, software
6653
+ * distributed under the License is distributed on an "AS IS" BASIS,
6654
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6655
+ * See the License for the specific language governing permissions and
6656
+ * limitations under the License.
6657
+ */
6658
+ /**
6683
6659
  * Merges multiple locale objects into a single locale object.
6684
6660
  * It can accept either multiple locale objects as arguments or a single array of locale objects.
6685
6661
  * @param locales - An array of locale objects or multiple locale objects.
@@ -6689,7 +6665,7 @@ function mergeLocales(...locales) {
6689
6665
  let mergedLocales;
6690
6666
  if (locales.length === 1 && Array.isArray(locales[0])) mergedLocales = locales[0];
6691
6667
  else mergedLocales = locales;
6692
- return Object.assign({}, ...mergedLocales);
6668
+ return merge({}, ...mergedLocales);
6693
6669
  }
6694
6670
 
6695
6671
  //#endregion
@@ -14780,7 +14756,7 @@ const IURLImageService = createIdentifier("core.url-image.service");
14780
14756
  //#endregion
14781
14757
  //#region package.json
14782
14758
  var name = "@univerjs/core";
14783
- var version = "0.24.0-insiders.20260527-b1d726f";
14759
+ var version = "0.24.0";
14784
14760
 
14785
14761
  //#endregion
14786
14762
  //#region src/sheets/empty-snapshot.ts
@@ -20069,4 +20045,4 @@ function createUniverInjector(parentInjector, override) {
20069
20045
  installShims();
20070
20046
 
20071
20047
  //#endregion
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 };
20048
+ 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, 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 };