@univerjs/docs-drawing-ui 0.17.0 → 0.18.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/index.js +37 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +37 -2891
- package/lib/es/locale/ca-ES.js +1 -62
- package/lib/es/locale/en-US.js +1 -62
- package/lib/es/locale/es-ES.js +1 -62
- package/lib/es/locale/fa-IR.js +1 -62
- package/lib/es/locale/fr-FR.js +1 -62
- package/lib/es/locale/ja-JP.js +1 -62
- package/lib/es/locale/ko-KR.js +1 -62
- package/lib/es/locale/ru-RU.js +1 -62
- package/lib/es/locale/sk-SK.js +1 -62
- package/lib/es/locale/vi-VN.js +1 -62
- package/lib/es/locale/zh-CN.js +1 -62
- package/lib/es/locale/zh-TW.js +1 -62
- package/lib/index.css +57 -1
- package/lib/index.js +37 -2891
- package/lib/locale/ca-ES.js +1 -62
- package/lib/locale/en-US.js +1 -62
- package/lib/locale/es-ES.js +1 -62
- package/lib/locale/fa-IR.js +1 -62
- package/lib/locale/fr-FR.js +1 -62
- package/lib/locale/ja-JP.js +1 -62
- package/lib/locale/ko-KR.js +1 -62
- package/lib/locale/ru-RU.js +1 -62
- package/lib/locale/sk-SK.js +1 -62
- package/lib/locale/vi-VN.js +1 -62
- package/lib/locale/zh-CN.js +1 -62
- package/lib/locale/zh-TW.js +1 -62
- package/lib/types/commands/commands/delete-doc-drawing.command.d.ts +16 -1
- package/lib/types/commands/commands/group-doc-drawing.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-doc-drawing.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-image.command.d.ts +16 -1
- package/lib/types/commands/commands/interfaces.d.ts +17 -2
- package/lib/types/commands/commands/move-drawings.command.d.ts +17 -1
- package/lib/types/commands/commands/remove-doc-drawing.command.d.ts +16 -1
- package/lib/types/commands/commands/set-drawing-arrange.command.d.ts +18 -2
- package/lib/types/commands/commands/ungroup-doc-drawing.command.d.ts +16 -1
- package/lib/types/commands/commands/update-doc-drawing.command.d.ts +16 -1
- package/lib/types/commands/commands/utils.d.ts +16 -1
- package/lib/types/commands/operations/clear-drawing-transformer.operation.d.ts +16 -1
- package/lib/types/commands/operations/edit-doc-drawing.operation.d.ts +16 -1
- package/lib/types/commands/operations/open-drawing-panel.operation.d.ts +16 -1
- package/lib/types/controllers/doc-drawing-notification.controller.d.ts +15 -0
- package/lib/types/controllers/doc-drawing-printing.controller.d.ts +15 -0
- package/lib/types/controllers/doc-drawing-transformer-update.controller.d.ts +15 -0
- package/lib/types/controllers/doc-drawing.controller.d.ts +15 -0
- package/lib/types/controllers/doc-float-dom.controller.d.ts +21 -3
- package/lib/types/controllers/render-controllers/doc-drawing-transform-update.controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-drawing-update.render-controller.d.ts +19 -2
- package/lib/types/controllers/shortcuts/drawing.shortcut.d.ts +18 -3
- package/lib/types/locale/ca-ES.d.ts +16 -1
- package/lib/types/locale/es-ES.d.ts +16 -1
- package/lib/types/locale/fa-IR.d.ts +16 -1
- package/lib/types/locale/fr-FR.d.ts +16 -1
- package/lib/types/locale/ja-JP.d.ts +16 -1
- package/lib/types/locale/ko-KR.d.ts +16 -1
- package/lib/types/locale/ru-RU.d.ts +16 -1
- package/lib/types/locale/sk-SK.d.ts +16 -1
- package/lib/types/locale/vi-VN.d.ts +16 -1
- package/lib/types/locale/zh-CN.d.ts +16 -1
- package/lib/types/locale/zh-TW.d.ts +16 -1
- package/lib/types/menu/drawing-popup-menu.controller.d.ts +15 -0
- package/lib/types/menu/image.menu.d.ts +17 -2
- package/lib/types/menu/schema.d.ts +16 -1
- package/lib/types/plugin.d.ts +16 -1
- package/lib/types/services/doc-refresh-drawings.service.d.ts +18 -3
- package/lib/types/views/doc-image-panel/DocDrawingPosition.d.ts +16 -1
- package/lib/types/views/doc-image-panel/DocDrawingTextWrap.d.ts +16 -1
- package/lib/types/views/printing-float-dom/index.d.ts +17 -2
- package/lib/umd/index.js +37 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -14
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1,62 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docImage: {
|
|
3
|
-
title: "图片",
|
|
4
|
-
upload: {
|
|
5
|
-
float: "插入图片"
|
|
6
|
-
},
|
|
7
|
-
panel: {
|
|
8
|
-
title: "编辑图片"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"image-popup": {
|
|
12
|
-
replace: "替换",
|
|
13
|
-
delete: "删除",
|
|
14
|
-
edit: "编辑",
|
|
15
|
-
crop: "裁剪",
|
|
16
|
-
reset: "重置大小"
|
|
17
|
-
},
|
|
18
|
-
"image-text-wrap": {
|
|
19
|
-
title: "文字环绕",
|
|
20
|
-
wrappingStyle: "环绕方式",
|
|
21
|
-
square: "四周型",
|
|
22
|
-
topAndBottom: "上下型",
|
|
23
|
-
inline: "嵌入型",
|
|
24
|
-
behindText: "衬于文字下方",
|
|
25
|
-
inFrontText: "浮于文字上方",
|
|
26
|
-
wrapText: "自动换行",
|
|
27
|
-
bothSide: "两侧",
|
|
28
|
-
leftOnly: "左侧",
|
|
29
|
-
rightOnly: "右侧",
|
|
30
|
-
distanceFromText: "距正文",
|
|
31
|
-
top: "上(px)",
|
|
32
|
-
left: "左(px)",
|
|
33
|
-
bottom: "下(px)",
|
|
34
|
-
right: "右(px)"
|
|
35
|
-
},
|
|
36
|
-
"image-position": {
|
|
37
|
-
title: "位置",
|
|
38
|
-
horizontal: "水平",
|
|
39
|
-
vertical: "垂直",
|
|
40
|
-
absolutePosition: "绝对位置(px)",
|
|
41
|
-
relativePosition: "相对位置",
|
|
42
|
-
toTheRightOf: "右侧",
|
|
43
|
-
relativeTo: "相对于",
|
|
44
|
-
bellow: "下方",
|
|
45
|
-
options: "选项",
|
|
46
|
-
moveObjectWithText: "对象随文字移动",
|
|
47
|
-
column: "栏",
|
|
48
|
-
margin: "页边距",
|
|
49
|
-
page: "页面",
|
|
50
|
-
line: "行",
|
|
51
|
-
paragraph: "段落"
|
|
52
|
-
},
|
|
53
|
-
"update-status": {
|
|
54
|
-
exceedMaxSize: "图片大小超过限制, 限制为{0}M",
|
|
55
|
-
invalidImageType: "图片类型错误",
|
|
56
|
-
exceedMaxCount: "图片只能一次上传{0}张",
|
|
57
|
-
invalidImage: "无效图片"
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
export {
|
|
61
|
-
e as default
|
|
62
|
-
};
|
|
1
|
+
const e={docImage:{title:`图片`,upload:{float:`插入图片`},panel:{title:`编辑图片`}},"image-popup":{replace:`替换`,delete:`删除`,edit:`编辑`,crop:`裁剪`,reset:`重置大小`},"image-text-wrap":{title:`文字环绕`,wrappingStyle:`环绕方式`,square:`四周型`,topAndBottom:`上下型`,inline:`嵌入型`,behindText:`衬于文字下方`,inFrontText:`浮于文字上方`,wrapText:`自动换行`,bothSide:`两侧`,leftOnly:`左侧`,rightOnly:`右侧`,distanceFromText:`距正文`,top:`上(px)`,left:`左(px)`,bottom:`下(px)`,right:`右(px)`},"image-position":{title:`位置`,horizontal:`水平`,vertical:`垂直`,absolutePosition:`绝对位置(px)`,relativePosition:`相对位置`,toTheRightOf:`右侧`,relativeTo:`相对于`,bellow:`下方`,options:`选项`,moveObjectWithText:`对象随文字移动`,column:`栏`,margin:`页边距`,page:`页面`,line:`行`,paragraph:`段落`},"update-status":{exceedMaxSize:`图片大小超过限制, 限制为{0}M`,invalidImageType:`图片类型错误`,exceedMaxCount:`图片只能一次上传{0}张`,invalidImage:`无效图片`}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1,62 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docImage: {
|
|
3
|
-
title: "圖片",
|
|
4
|
-
upload: {
|
|
5
|
-
float: "插入圖片"
|
|
6
|
-
},
|
|
7
|
-
panel: {
|
|
8
|
-
title: "編圖"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"image-popup": {
|
|
12
|
-
replace: "替換",
|
|
13
|
-
delete: "刪除",
|
|
14
|
-
edit: "編輯",
|
|
15
|
-
crop: "裁切",
|
|
16
|
-
reset: "重置大小"
|
|
17
|
-
},
|
|
18
|
-
"image-text-wrap": {
|
|
19
|
-
title: "文繞圖",
|
|
20
|
-
wrappingStyle: "文繞圖方式",
|
|
21
|
-
square: "矩形",
|
|
22
|
-
topAndBottom: "上及下",
|
|
23
|
-
inline: "與文字排列",
|
|
24
|
-
behindText: "文字在前",
|
|
25
|
-
inFrontText: "文字在後",
|
|
26
|
-
wrapText: "自動換行",
|
|
27
|
-
bothSide: "兩側",
|
|
28
|
-
leftOnly: "僅左側",
|
|
29
|
-
rightOnly: "僅右側",
|
|
30
|
-
distanceFromText: "與文字距離",
|
|
31
|
-
top: "上(px)",
|
|
32
|
-
left: "左(px)",
|
|
33
|
-
bottom: "下(px)",
|
|
34
|
-
right: "右(px)"
|
|
35
|
-
},
|
|
36
|
-
"image-position": {
|
|
37
|
-
title: "位置",
|
|
38
|
-
horizontal: "水平",
|
|
39
|
-
vertical: "垂直",
|
|
40
|
-
absolutePosition: "絕對位置(px)",
|
|
41
|
-
relativePosition: "相對位置",
|
|
42
|
-
toTheRightOf: "右側",
|
|
43
|
-
relativeTo: "相對於",
|
|
44
|
-
bellow: "下方",
|
|
45
|
-
options: "選項",
|
|
46
|
-
moveObjectWithText: "物件隨文字移動",
|
|
47
|
-
column: "欄",
|
|
48
|
-
margin: "邊界",
|
|
49
|
-
page: "頁面",
|
|
50
|
-
line: "行",
|
|
51
|
-
paragraph: "段落"
|
|
52
|
-
},
|
|
53
|
-
"update-status": {
|
|
54
|
-
exceedMaxSize: "圖片大小超過限制, 限制為{0}M",
|
|
55
|
-
invalidImageType: "圖片類型錯誤",
|
|
56
|
-
exceedMaxCount: "圖片只能一次上傳{0}張",
|
|
57
|
-
invalidImage: "無效圖片"
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
export {
|
|
61
|
-
e as default
|
|
62
|
-
};
|
|
1
|
+
const e={docImage:{title:`圖片`,upload:{float:`插入圖片`},panel:{title:`編圖`}},"image-popup":{replace:`替換`,delete:`刪除`,edit:`編輯`,crop:`裁切`,reset:`重置大小`},"image-text-wrap":{title:`文繞圖`,wrappingStyle:`文繞圖方式`,square:`矩形`,topAndBottom:`上及下`,inline:`與文字排列`,behindText:`文字在前`,inFrontText:`文字在後`,wrapText:`自動換行`,bothSide:`兩側`,leftOnly:`僅左側`,rightOnly:`僅右側`,distanceFromText:`與文字距離`,top:`上(px)`,left:`左(px)`,bottom:`下(px)`,right:`右(px)`},"image-position":{title:`位置`,horizontal:`水平`,vertical:`垂直`,absolutePosition:`絕對位置(px)`,relativePosition:`相對位置`,toTheRightOf:`右側`,relativeTo:`相對於`,bellow:`下方`,options:`選項`,moveObjectWithText:`物件隨文字移動`,column:`欄`,margin:`邊界`,page:`頁面`,line:`行`,paragraph:`段落`},"update-status":{exceedMaxSize:`圖片大小超過限制, 限制為{0}M`,invalidImageType:`圖片類型錯誤`,exceedMaxCount:`圖片只能一次上傳{0}張`,invalidImage:`無效圖片`}};export{e as default};
|
package/lib/index.css
CHANGED
|
@@ -1 +1,57 @@
|
|
|
1
|
-
.univer-absolute
|
|
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
|
+
}
|