@univerjs/docs-ui 0.21.1 → 0.22.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 +29 -16
- package/lib/cjs/facade.js +6 -6
- package/lib/cjs/index.js +152 -199
- package/lib/es/facade.js +6 -6
- package/lib/es/index.js +150 -197
- package/lib/facade.js +6 -6
- package/lib/index.css +12 -0
- package/lib/index.js +150 -197
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-lark.d.ts +2 -2
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-univer.d.ts +2 -2
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-word.d.ts +2 -2
- package/lib/umd/index.js +9 -9
- package/package.json +19 -15
package/lib/facade.js
CHANGED
|
@@ -3,7 +3,7 @@ import { FUniver } from "@univerjs/core/facade";
|
|
|
3
3
|
import { DocSelectionRenderService, InsertCommand } from "@univerjs/docs-ui";
|
|
4
4
|
import { IRenderManagerService } from "@univerjs/engine-render";
|
|
5
5
|
|
|
6
|
-
//#region \0@oxc-project+runtime@0.
|
|
6
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
|
|
7
7
|
function _typeof(o) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -14,7 +14,7 @@ function _typeof(o) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region \0@oxc-project+runtime@0.
|
|
17
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
|
|
18
18
|
function toPrimitive(t, r) {
|
|
19
19
|
if ("object" != _typeof(t) || !t) return t;
|
|
20
20
|
var e = t[Symbol.toPrimitive];
|
|
@@ -27,14 +27,14 @@ function toPrimitive(t, r) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region \0@oxc-project+runtime@0.
|
|
30
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
|
|
31
31
|
function toPropertyKey(t) {
|
|
32
32
|
var i = toPrimitive(t, "string");
|
|
33
33
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region \0@oxc-project+runtime@0.
|
|
37
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
|
|
38
38
|
function _defineProperty(e, r, t) {
|
|
39
39
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
40
40
|
value: t,
|
|
@@ -45,7 +45,7 @@ function _defineProperty(e, r, t) {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region \0@oxc-project+runtime@0.
|
|
48
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
|
|
49
49
|
function __decorateParam(paramIndex, decorator) {
|
|
50
50
|
return function(target, key) {
|
|
51
51
|
decorator(target, key, paramIndex);
|
|
@@ -53,7 +53,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region \0@oxc-project+runtime@0.
|
|
56
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
|
|
57
57
|
function __decorate(decorators, target, key, desc) {
|
|
58
58
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
59
59
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
package/lib/index.css
CHANGED
|
@@ -257,6 +257,10 @@
|
|
|
257
257
|
border-color: var(--univer-primary-500);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
.\!univer-bg-gray-500 {
|
|
261
|
+
background-color: var(--univer-gray-500) !important;
|
|
262
|
+
}
|
|
263
|
+
|
|
260
264
|
.\!univer-bg-gray-700 {
|
|
261
265
|
background-color: var(--univer-gray-700) !important;
|
|
262
266
|
}
|
|
@@ -269,6 +273,10 @@
|
|
|
269
273
|
background-color: var(--univer-gray-100);
|
|
270
274
|
}
|
|
271
275
|
|
|
276
|
+
.univer-bg-gray-200 {
|
|
277
|
+
background-color: var(--univer-gray-200);
|
|
278
|
+
}
|
|
279
|
+
|
|
272
280
|
.univer-bg-white {
|
|
273
281
|
background-color: var(--univer-white);
|
|
274
282
|
}
|
|
@@ -449,6 +457,10 @@
|
|
|
449
457
|
border-color: var(--univer-gray-700) !important;
|
|
450
458
|
}
|
|
451
459
|
|
|
460
|
+
.dark\:\!univer-bg-gray-500:where(.univer-dark, .univer-dark *) {
|
|
461
|
+
background-color: var(--univer-gray-500) !important;
|
|
462
|
+
}
|
|
463
|
+
|
|
452
464
|
.dark\:\!univer-bg-gray-600:where(.univer-dark, .univer-dark *) {
|
|
453
465
|
background-color: var(--univer-gray-600) !important;
|
|
454
466
|
}
|