@univerjs/sheets 1.0.0-alpha.7 → 1.0.0-alpha.8
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 -7
- package/lib/cjs/index.js +147 -128
- package/lib/es/facade.js +8 -7
- package/lib/es/index.js +148 -129
- package/lib/facade.js +8 -7
- package/lib/index.js +148 -129
- package/lib/types/basics/selection.d.ts +0 -9
- package/lib/types/commands/commands/remove-row-col.command.d.ts +2 -0
- package/lib/types/commands/utils/selection-command-util.d.ts +2 -1
- package/lib/types/facade/index.d.ts +0 -1
- package/lib/types/models/range-protection-render.model.d.ts +3 -2
- package/lib/types/services/selections/selection-data-model.d.ts +0 -6
- package/lib/types/services/selections/selection.service.d.ts +0 -6
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/package.json +8 -8
- package/lib/types/facade/f-types.d.ts +0 -16
package/lib/facade.js
CHANGED
|
@@ -23,7 +23,7 @@ import { ObjectScope, UnitAction, UnitObject, UnitRole } from "@univerjs/protoco
|
|
|
23
23
|
const SHEETS_CUSTOM_FIELD_WARNING_MESSAGE = "[Facade]: The sheets custom field is not recommended for external use. Use it at your own risk.";
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region \0@oxc-project+runtime@0.
|
|
26
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/typeof.js
|
|
27
27
|
function _typeof(o) {
|
|
28
28
|
"@babel/helpers - typeof";
|
|
29
29
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -34,7 +34,7 @@ function _typeof(o) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region \0@oxc-project+runtime@0.
|
|
37
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPrimitive.js
|
|
38
38
|
function toPrimitive(t, r) {
|
|
39
39
|
if ("object" != _typeof(t) || !t) return t;
|
|
40
40
|
var e = t[Symbol.toPrimitive];
|
|
@@ -47,14 +47,14 @@ function toPrimitive(t, r) {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
//#endregion
|
|
50
|
-
//#region \0@oxc-project+runtime@0.
|
|
50
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPropertyKey.js
|
|
51
51
|
function toPropertyKey(t) {
|
|
52
52
|
var i = toPrimitive(t, "string");
|
|
53
53
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region \0@oxc-project+runtime@0.
|
|
57
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/defineProperty.js
|
|
58
58
|
function _defineProperty(e, r, t) {
|
|
59
59
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
60
60
|
value: t,
|
|
@@ -65,7 +65,7 @@ function _defineProperty(e, r, t) {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region \0@oxc-project+runtime@0.
|
|
68
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/decorateParam.js
|
|
69
69
|
function __decorateParam(paramIndex, decorator) {
|
|
70
70
|
return function(target, key) {
|
|
71
71
|
decorator(target, key, paramIndex);
|
|
@@ -73,7 +73,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
//#endregion
|
|
76
|
-
//#region \0@oxc-project+runtime@0.
|
|
76
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/decorate.js
|
|
77
77
|
function __decorate(decorators, target, key, desc) {
|
|
78
78
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
79
79
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4420,7 +4420,8 @@ FRangePermission = __decorate([
|
|
|
4420
4420
|
|
|
4421
4421
|
//#endregion
|
|
4422
4422
|
//#region src/facade/f-range.ts
|
|
4423
|
-
var _FRange
|
|
4423
|
+
var _FRange;
|
|
4424
|
+
var _FRange2;
|
|
4424
4425
|
let FRange = _FRange = class FRange extends FBaseInitialable {
|
|
4425
4426
|
constructor(_workbook, _worksheet, _range, _injector, _commandService, _formulaDataModel, _logService) {
|
|
4426
4427
|
super(_injector);
|