@univerjs/core 1.5.1 → 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/facade.js
CHANGED
|
@@ -78,14 +78,14 @@ var FBaseInitialable = class extends Disposable {
|
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
// \0@oxc-project+runtime@0.
|
|
81
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/decorateParam.js
|
|
82
82
|
function __decorateParam(paramIndex, decorator) {
|
|
83
83
|
return function(target, key) {
|
|
84
84
|
decorator(target, key, paramIndex);
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
// \0@oxc-project+runtime@0.
|
|
88
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/decorate.js
|
|
89
89
|
function __decorate(decorators, target, key, desc) {
|
|
90
90
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
91
91
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -207,7 +207,7 @@ let FBlob = _FBlob = class FBlob extends FBase {
|
|
|
207
207
|
};
|
|
208
208
|
FBlob = _FBlob = __decorate([__decorateParam(1, Inject(Injector))], FBlob);
|
|
209
209
|
|
|
210
|
-
// \0@oxc-project+runtime@0.
|
|
210
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/typeof.js
|
|
211
211
|
function _typeof(o) {
|
|
212
212
|
"@babel/helpers - typeof";
|
|
213
213
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -217,7 +217,7 @@ function _typeof(o) {
|
|
|
217
217
|
}, _typeof(o);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
// \0@oxc-project+runtime@0.
|
|
220
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/toPrimitive.js
|
|
221
221
|
function toPrimitive(t, e) {
|
|
222
222
|
if ("object" != _typeof(t) || !t) return t;
|
|
223
223
|
var r;
|
|
@@ -229,13 +229,13 @@ function toPrimitive(t, e) {
|
|
|
229
229
|
return ("string" === e ? String : Number)(t);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
// \0@oxc-project+runtime@0.
|
|
232
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/toPropertyKey.js
|
|
233
233
|
function toPropertyKey(t) {
|
|
234
234
|
var i = toPrimitive(t, "string");
|
|
235
235
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
// \0@oxc-project+runtime@0.
|
|
238
|
+
// \0@oxc-project+runtime@0.158.0/helpers/esm/defineProperty.js
|
|
239
239
|
function _defineProperty(e, r, t) {
|
|
240
240
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
241
241
|
value: t,
|