@univerjs/docs 1.0.4 → 1.2.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/README.md +50 -0
- package/lib/cjs/facade.js +10 -10
- package/lib/cjs/index.js +704 -617
- package/lib/es/facade.js +6 -6
- package/lib/es/index.js +698 -612
- package/lib/facade.js +6 -6
- package/lib/index.js +698 -612
- package/lib/types/commands/commands/set-heading-collapsed.command.d.ts +22 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/doc-skeleton-manager.service.d.ts +3 -2
- package/lib/types/utils/section-columns.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/package.json +8 -8
package/lib/facade.js
CHANGED
|
@@ -303,7 +303,7 @@ function stripBlockTokens(text) {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
//#endregion
|
|
306
|
-
//#region \0@oxc-project+runtime@0.
|
|
306
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
|
|
307
307
|
function __decorateParam(paramIndex, decorator) {
|
|
308
308
|
return function(target, key) {
|
|
309
309
|
decorator(target, key, paramIndex);
|
|
@@ -311,7 +311,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
//#endregion
|
|
314
|
-
//#region \0@oxc-project+runtime@0.
|
|
314
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
315
315
|
function __decorate(decorators, target, key, desc) {
|
|
316
316
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
317
317
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1453,7 +1453,7 @@ let FDocumentSection = class FDocumentSection {
|
|
|
1453
1453
|
FDocumentSection = __decorate([__decorateParam(2, ICommandService), __decorateParam(3, IPermissionService)], FDocumentSection);
|
|
1454
1454
|
|
|
1455
1455
|
//#endregion
|
|
1456
|
-
//#region \0@oxc-project+runtime@0.
|
|
1456
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
1457
1457
|
function _typeof(o) {
|
|
1458
1458
|
"@babel/helpers - typeof";
|
|
1459
1459
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -1464,7 +1464,7 @@ function _typeof(o) {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
//#endregion
|
|
1467
|
-
//#region \0@oxc-project+runtime@0.
|
|
1467
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
1468
1468
|
function toPrimitive(t, r) {
|
|
1469
1469
|
if ("object" != _typeof(t) || !t) return t;
|
|
1470
1470
|
var e = t[Symbol.toPrimitive];
|
|
@@ -1477,14 +1477,14 @@ function toPrimitive(t, r) {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
1479
|
//#endregion
|
|
1480
|
-
//#region \0@oxc-project+runtime@0.
|
|
1480
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
1481
1481
|
function toPropertyKey(t) {
|
|
1482
1482
|
var i = toPrimitive(t, "string");
|
|
1483
1483
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
1484
1484
|
}
|
|
1485
1485
|
|
|
1486
1486
|
//#endregion
|
|
1487
|
-
//#region \0@oxc-project+runtime@0.
|
|
1487
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
1488
1488
|
function _defineProperty(e, r, t) {
|
|
1489
1489
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1490
1490
|
value: t,
|