@univerjs/core 1.5.2 → 1.6.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 +6 -6
- package/lib/cjs/index.js +1170 -778
- package/lib/es/facade.js +6 -6
- package/lib/es/index.js +1165 -779
- package/lib/facade.js +6 -6
- package/lib/index.js +1165 -779
- package/lib/types/docs/data-model/document-data-model.d.ts +1 -1
- package/lib/types/docs/data-model/index.d.ts +0 -2
- package/lib/types/docs/data-model/paragraph-style.d.ts +10 -1
- package/lib/types/docs/data-model/rich-text-builder.d.ts +3 -3
- package/lib/types/docs/data-model/text-x/apply-utils/common.d.ts +1 -1
- package/lib/types/docs/data-model/text-x/utils.d.ts +2 -1
- package/lib/types/index.d.ts +3 -1
- package/lib/types/services/instance/instance.service.d.ts +2 -0
- package/lib/types/services/locale/currency-symbol.d.ts +17 -0
- package/lib/types/services/undoredo/undoredo.service.d.ts +1 -1
- package/lib/types/shared/common.d.ts +8 -5
- package/lib/types/sheets/typedef.d.ts +4 -0
- package/lib/types/sheets/worksheet.d.ts +2 -2
- package/lib/types/types/interfaces/i-document-data.d.ts +137 -9
- package/lib/umd/index.js +26 -26
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -79,14 +79,14 @@ var FBaseInitialable = class extends _univerjs_core.Disposable {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
// \0@oxc-project+runtime@0.
|
|
82
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/decorateParam.js
|
|
83
83
|
function __decorateParam(paramIndex, decorator) {
|
|
84
84
|
return function(target, key) {
|
|
85
85
|
decorator(target, key, paramIndex);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
// \0@oxc-project+runtime@0.
|
|
89
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/decorate.js
|
|
90
90
|
function __decorate(decorators, target, key, desc) {
|
|
91
91
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
92
92
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -208,7 +208,7 @@ let FBlob = _FBlob = class FBlob extends FBase {
|
|
|
208
208
|
};
|
|
209
209
|
FBlob = _FBlob = __decorate([__decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_core.Injector))], FBlob);
|
|
210
210
|
|
|
211
|
-
// \0@oxc-project+runtime@0.
|
|
211
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/typeof.js
|
|
212
212
|
function _typeof(o) {
|
|
213
213
|
"@babel/helpers - typeof";
|
|
214
214
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -218,7 +218,7 @@ function _typeof(o) {
|
|
|
218
218
|
}, _typeof(o);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
// \0@oxc-project+runtime@0.
|
|
221
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/toPrimitive.js
|
|
222
222
|
function toPrimitive(t, e) {
|
|
223
223
|
if ("object" != _typeof(t) || !t) return t;
|
|
224
224
|
var r;
|
|
@@ -230,13 +230,13 @@ function toPrimitive(t, e) {
|
|
|
230
230
|
return ("string" === e ? String : Number)(t);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
// \0@oxc-project+runtime@0.
|
|
233
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/toPropertyKey.js
|
|
234
234
|
function toPropertyKey(t) {
|
|
235
235
|
var i = toPrimitive(t, "string");
|
|
236
236
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
// \0@oxc-project+runtime@0.
|
|
239
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/defineProperty.js
|
|
240
240
|
function _defineProperty(e, r, t) {
|
|
241
241
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
242
242
|
value: t,
|