@univerjs/preset-docs-drawing 0.25.0 → 1.0.0-alpha.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 +3 -3
- package/lib/cjs/index.js +46 -1
- package/lib/cjs/locales/ar-SA.js +11 -1
- package/lib/cjs/locales/ca-ES.js +11 -1
- package/lib/cjs/locales/de-DE.js +11 -1
- package/lib/cjs/locales/en-US.js +11 -1
- package/lib/cjs/locales/es-ES.js +11 -1
- package/lib/cjs/locales/fa-IR.js +11 -1
- package/lib/cjs/locales/fr-FR.js +11 -1
- package/lib/cjs/locales/id-ID.js +11 -1
- package/lib/cjs/locales/it-IT.js +11 -1
- package/lib/cjs/locales/ja-JP.js +11 -1
- package/lib/cjs/locales/ko-KR.js +11 -1
- package/lib/cjs/locales/pl-PL.js +11 -1
- package/lib/cjs/locales/pt-BR.js +11 -1
- package/lib/cjs/locales/ru-RU.js +11 -1
- package/lib/cjs/locales/sk-SK.js +11 -1
- package/lib/cjs/locales/vi-VN.js +11 -1
- package/lib/cjs/locales/zh-CN.js +11 -1
- package/lib/cjs/locales/zh-HK.js +11 -1
- package/lib/cjs/locales/zh-TW.js +11 -1
- package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
- package/lib/es/index.js +25 -22
- package/lib/es/locales/ar-SA.js +8 -10
- package/lib/es/locales/ca-ES.js +8 -10
- package/lib/es/locales/de-DE.js +8 -10
- package/lib/es/locales/en-US.js +8 -10
- package/lib/es/locales/es-ES.js +8 -10
- package/lib/es/locales/fa-IR.js +8 -10
- package/lib/es/locales/fr-FR.js +8 -10
- package/lib/es/locales/id-ID.js +8 -10
- package/lib/es/locales/it-IT.js +8 -10
- package/lib/es/locales/ja-JP.js +8 -10
- package/lib/es/locales/ko-KR.js +8 -10
- package/lib/es/locales/pl-PL.js +8 -10
- package/lib/es/locales/pt-BR.js +8 -10
- package/lib/es/locales/ru-RU.js +8 -10
- package/lib/es/locales/sk-SK.js +8 -10
- package/lib/es/locales/vi-VN.js +8 -10
- package/lib/es/locales/zh-CN.js +8 -10
- package/lib/es/locales/zh-HK.js +8 -10
- package/lib/es/locales/zh-TW.js +8 -10
- package/lib/index.css +356 -1
- package/lib/index.js +25 -22
- package/lib/locales/ar-SA.js +8 -10
- package/lib/locales/ca-ES.js +8 -10
- package/lib/locales/de-DE.js +8 -10
- package/lib/locales/en-US.js +8 -10
- package/lib/locales/es-ES.js +8 -10
- package/lib/locales/fa-IR.js +8 -10
- package/lib/locales/fr-FR.js +8 -10
- package/lib/locales/id-ID.js +8 -10
- package/lib/locales/it-IT.js +8 -10
- package/lib/locales/ja-JP.js +8 -10
- package/lib/locales/ko-KR.js +8 -10
- package/lib/locales/pl-PL.js +8 -10
- package/lib/locales/pt-BR.js +8 -10
- package/lib/locales/ru-RU.js +8 -10
- package/lib/locales/sk-SK.js +8 -10
- package/lib/locales/vi-VN.js +8 -10
- package/lib/locales/zh-CN.js +8 -10
- package/lib/locales/zh-HK.js +8 -10
- package/lib/locales/zh-TW.js +8 -10
- package/lib/types/index.d.ts +16 -1
- package/lib/types/locales/ar-SA.d.ts +144 -1
- package/lib/types/locales/ca-ES.d.ts +144 -1
- package/lib/types/locales/de-DE.d.ts +144 -1
- package/lib/types/locales/en-US.d.ts +144 -1
- package/lib/types/locales/es-ES.d.ts +144 -1
- package/lib/types/locales/fa-IR.d.ts +144 -1
- package/lib/types/locales/fr-FR.d.ts +144 -1
- package/lib/types/locales/id-ID.d.ts +144 -1
- package/lib/types/locales/it-IT.d.ts +144 -1
- package/lib/types/locales/ja-JP.d.ts +144 -1
- package/lib/types/locales/ko-KR.d.ts +144 -1
- package/lib/types/locales/pl-PL.d.ts +144 -1
- package/lib/types/locales/pt-BR.d.ts +144 -1
- package/lib/types/locales/ru-RU.d.ts +144 -1
- package/lib/types/locales/sk-SK.d.ts +144 -1
- package/lib/types/locales/vi-VN.d.ts +144 -1
- package/lib/types/locales/zh-CN.d.ts +144 -1
- package/lib/types/locales/zh-HK.d.ts +144 -1
- package/lib/types/locales/zh-TW.d.ts +144 -1
- package/lib/types/preset.d.ts +20 -0
- package/package.json +15 -17
- package/lib/types/types.d.ts +0 -11
- package/lib/types/umd.d.ts +0 -7
- package/lib/umd/index.js +0 -14
- package/lib/umd/locales/ar-SA.js +0 -8
- package/lib/umd/locales/ca-ES.js +0 -8
- package/lib/umd/locales/de-DE.js +0 -8
- package/lib/umd/locales/en-US.js +0 -8
- package/lib/umd/locales/es-ES.js +0 -8
- package/lib/umd/locales/fa-IR.js +0 -8
- package/lib/umd/locales/fr-FR.js +0 -8
- package/lib/umd/locales/id-ID.js +0 -8
- package/lib/umd/locales/it-IT.js +0 -8
- package/lib/umd/locales/ja-JP.js +0 -8
- package/lib/umd/locales/ko-KR.js +0 -8
- package/lib/umd/locales/pl-PL.js +0 -8
- package/lib/umd/locales/pt-BR.js +0 -8
- package/lib/umd/locales/ru-RU.js +0 -8
- package/lib/umd/locales/sk-SK.js +0 -8
- package/lib/umd/locales/vi-VN.js +0 -8
- package/lib/umd/locales/zh-CN.js +0 -8
- package/lib/umd/locales/zh-HK.js +0 -8
- package/lib/umd/locales/zh-TW.js +0 -8
package/lib/es/locales/ko-KR.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ko-KR";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ko-KR";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/ko-KR.ts
|
|
5
|
+
var ko_KR_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ko_KR_default as default };
|
package/lib/es/locales/pl-PL.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/pl-PL";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/pl-PL";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/pl-PL.ts
|
|
5
|
+
var pl_PL_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pl_PL_default as default };
|
package/lib/es/locales/pt-BR.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/pt-BR";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/pt-BR";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/pt-BR.ts
|
|
5
|
+
var pt_BR_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pt_BR_default as default };
|
package/lib/es/locales/ru-RU.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ru-RU";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ru-RU";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/ru-RU.ts
|
|
5
|
+
var ru_RU_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ru_RU_default as default };
|
package/lib/es/locales/sk-SK.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/sk-SK";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/sk-SK";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/sk-SK.ts
|
|
5
|
+
var sk_SK_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sk_SK_default as default };
|
package/lib/es/locales/vi-VN.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/vi-VN";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/vi-VN";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/vi-VN.ts
|
|
5
|
+
var vi_VN_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { vi_VN_default as default };
|
package/lib/es/locales/zh-CN.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/zh-CN";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/zh-CN";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/zh-CN.ts
|
|
5
|
+
var zh_CN_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { zh_CN_default as default };
|
package/lib/es/locales/zh-HK.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/zh-HK";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/zh-HK";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/zh-HK.ts
|
|
5
|
+
var zh_HK_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { zh_HK_default as default };
|
package/lib/es/locales/zh-TW.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/zh-TW";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/zh-TW";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/zh-TW.ts
|
|
5
|
+
var zh_TW_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { zh_TW_default as default };
|
package/lib/index.css
CHANGED
|
@@ -1 +1,356 @@
|
|
|
1
|
-
.univer-
|
|
1
|
+
.univer-absolute {
|
|
2
|
+
position: absolute;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.univer-left-0 {
|
|
6
|
+
left: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.univer-top-0 {
|
|
10
|
+
top: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.univer-grid {
|
|
14
|
+
display: grid;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.univer-hidden {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.univer-grid-cols-2 {
|
|
22
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.univer-gap-2 {
|
|
26
|
+
gap: .5rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.univer-py-2 {
|
|
30
|
+
padding-top: .5rem;
|
|
31
|
+
padding-bottom: .5rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.univer-text-sm {
|
|
35
|
+
font-size: .875rem;
|
|
36
|
+
line-height: 1.25rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.univer-text-gray-400 {
|
|
40
|
+
color: var(--univer-gray-400);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.univer-text-gray-600 {
|
|
44
|
+
color: var(--univer-gray-600);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
|
|
48
|
+
color: var(--univer-gray-200) !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.\[\&\>div\]\:univer-grid > div {
|
|
52
|
+
display: grid;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.\[\&\>div\]\:univer-gap-2 > div {
|
|
56
|
+
gap: .5rem;
|
|
57
|
+
}
|
|
58
|
+
.univer-relative {
|
|
59
|
+
position: relative;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.univer-mt-2\.5 {
|
|
63
|
+
margin-top: .625rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.univer-box-border {
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.univer-flex {
|
|
71
|
+
display: flex;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.univer-grid {
|
|
75
|
+
display: grid;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.univer-hidden {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.univer-size-4 {
|
|
83
|
+
width: 1rem;
|
|
84
|
+
height: 1rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.univer-h-6 {
|
|
88
|
+
height: 1.5rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.univer-h-7 {
|
|
92
|
+
height: 1.75rem;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.univer-h-8 {
|
|
96
|
+
height: 2rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.univer-h-full {
|
|
100
|
+
height: 100%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.univer-w-6 {
|
|
104
|
+
width: 1.5rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.univer-w-full {
|
|
108
|
+
width: 100%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.univer-min-w-32 {
|
|
112
|
+
min-width: 8rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.univer-min-w-9 {
|
|
116
|
+
min-width: 2.25rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.univer-flex-1 {
|
|
120
|
+
flex: 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.univer-grid-cols-2 {
|
|
124
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.univer-grid-cols-3 {
|
|
128
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.univer-items-center {
|
|
132
|
+
align-items: center;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.univer-justify-center {
|
|
136
|
+
justify-content: center;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.univer-gap-1 {
|
|
140
|
+
gap: .25rem;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.univer-gap-2 {
|
|
144
|
+
gap: .5rem;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.univer-rounded {
|
|
148
|
+
border-radius: .25rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.univer-rounded-lg {
|
|
152
|
+
border-radius: .5rem;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.univer-rounded-md {
|
|
156
|
+
border-radius: .375rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.univer-border {
|
|
160
|
+
border-width: 1px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.univer-border-solid {
|
|
164
|
+
border-style: solid;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.univer-border-none {
|
|
168
|
+
border-style: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.univer-border-gray-200 {
|
|
172
|
+
border-color: var(--univer-gray-200);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.\!univer-bg-gray-800 {
|
|
176
|
+
background-color: var(--univer-gray-800) !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.\!univer-bg-gray-900 {
|
|
180
|
+
background-color: var(--univer-gray-900) !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.univer-bg-gray-100 {
|
|
184
|
+
background-color: var(--univer-gray-100);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.univer-bg-primary-50 {
|
|
188
|
+
background-color: var(--univer-primary-50);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.univer-bg-transparent {
|
|
192
|
+
background-color: #0000;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.univer-bg-white {
|
|
196
|
+
background-color: var(--univer-white);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.univer-fill-primary-600 {
|
|
200
|
+
fill: var(--univer-primary-600);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.univer-p-0 {
|
|
204
|
+
padding: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.univer-p-1 {
|
|
208
|
+
padding: .25rem;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.univer-px-1 {
|
|
212
|
+
padding-left: .25rem;
|
|
213
|
+
padding-right: .25rem;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.univer-px-1\.5 {
|
|
217
|
+
padding-left: .375rem;
|
|
218
|
+
padding-right: .375rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.univer-px-2 {
|
|
222
|
+
padding-left: .5rem;
|
|
223
|
+
padding-right: .5rem;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.univer-py-1 {
|
|
227
|
+
padding-top: .25rem;
|
|
228
|
+
padding-bottom: .25rem;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.univer-py-2 {
|
|
232
|
+
padding-top: .5rem;
|
|
233
|
+
padding-bottom: .5rem;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.univer-text-left {
|
|
237
|
+
text-align: left;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.univer-text-center {
|
|
241
|
+
text-align: center;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.univer-text-sm {
|
|
245
|
+
font-size: .875rem;
|
|
246
|
+
line-height: 1.25rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.univer-text-xs {
|
|
250
|
+
font-size: .75rem;
|
|
251
|
+
line-height: 1rem;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.\!univer-text-primary-300 {
|
|
255
|
+
color: var(--univer-primary-300) !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.univer-text-gray-400 {
|
|
259
|
+
color: var(--univer-gray-400);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.univer-text-gray-600 {
|
|
263
|
+
color: var(--univer-gray-600);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.univer-text-gray-700 {
|
|
267
|
+
color: var(--univer-gray-700);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.univer-text-gray-900 {
|
|
271
|
+
color: var(--univer-gray-900);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.univer-text-primary-600 {
|
|
275
|
+
color: var(--univer-primary-600);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.univer-shadow-lg {
|
|
279
|
+
--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
|
|
280
|
+
--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
|
|
281
|
+
box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px #1e284d0d, 0 10px 15px -3px #1e284d1a;
|
|
282
|
+
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.univer-shadow-sm {
|
|
286
|
+
--univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
|
|
287
|
+
--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
|
|
288
|
+
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #1e284d14;
|
|
289
|
+
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.univer-transition-colors {
|
|
293
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
294
|
+
transition-duration: .15s;
|
|
295
|
+
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.hover\:univer-bg-gray-100:hover {
|
|
299
|
+
background-color: var(--univer-gray-100);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.disabled\:univer-cursor-not-allowed:disabled {
|
|
303
|
+
cursor: not-allowed;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.disabled\:univer-opacity-40:disabled {
|
|
307
|
+
opacity: .4;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
|
|
311
|
+
border-color: var(--univer-gray-700) !important;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
315
|
+
background-color: var(--univer-gray-700) !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
|
|
319
|
+
background-color: var(--univer-gray-800) !important;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
|
|
323
|
+
background-color: var(--univer-gray-900) !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
|
|
327
|
+
color: var(--univer-gray-100) !important;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
|
|
331
|
+
color: var(--univer-gray-200) !important;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.dark\:\!univer-text-primary-300:where(.univer-dark, .univer-dark *) {
|
|
335
|
+
color: var(--univer-primary-300) !important;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
|
|
339
|
+
color: var(--univer-white) !important;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
343
|
+
background-color: var(--univer-gray-700) !important;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
|
|
347
|
+
background-color: var(--univer-gray-800) !important;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.\[\&\>div\]\:univer-grid > div {
|
|
351
|
+
display: grid;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.\[\&\>div\]\:univer-gap-2 > div {
|
|
355
|
+
gap: .5rem;
|
|
356
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { UniverDocsDrawingPlugin } from "@univerjs/docs-drawing";
|
|
2
|
+
import { UniverDocsDrawingUIPlugin } from "@univerjs/docs-drawing-ui";
|
|
3
|
+
import { IImageIoService, UniverDrawingPlugin } from "@univerjs/drawing";
|
|
4
|
+
import { UniverDrawingUIPlugin } from "@univerjs/drawing-ui";
|
|
5
|
+
|
|
6
|
+
export * from "@univerjs/docs-drawing"
|
|
7
|
+
|
|
8
|
+
export * from "@univerjs/docs-drawing-ui"
|
|
9
|
+
|
|
10
|
+
export * from "@univerjs/drawing"
|
|
11
|
+
|
|
12
|
+
export * from "@univerjs/drawing-ui"
|
|
13
|
+
|
|
14
|
+
//#region src/preset.ts
|
|
15
|
+
function UniverDocsDrawingPreset(config = {}) {
|
|
16
|
+
const { collaboration = false } = config;
|
|
17
|
+
return { plugins: [
|
|
18
|
+
[UniverDrawingPlugin, { override: collaboration ? [[IImageIoService, null]] : [] }],
|
|
19
|
+
UniverDrawingUIPlugin,
|
|
20
|
+
UniverDocsDrawingPlugin,
|
|
21
|
+
UniverDocsDrawingUIPlugin
|
|
22
|
+
].filter((v) => !!v) };
|
|
20
23
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { UniverDocsDrawingPreset };
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ar-SA";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ar-SA";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/ar-SA.ts
|
|
5
|
+
var ar_SA_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ar_SA_default as default };
|
package/lib/locales/ca-ES.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ca-ES";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ca-ES";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/ca-ES.ts
|
|
5
|
+
var ca_ES_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ca_ES_default as default };
|
package/lib/locales/de-DE.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
t as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/de-DE";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/de-DE";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/de-DE.ts
|
|
5
|
+
var de_DE_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { de_DE_default as default };
|
package/lib/locales/en-US.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|
|
1
|
+
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/en-US";
|
|
2
|
+
import univerjsdrawingui from "@univerjs/drawing-ui/locale/en-US";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/en-US.ts
|
|
5
|
+
var en_US_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { en_US_default as default };
|