@univerjs/docs-ui 0.8.2 → 0.8.3-nightly.202507010644
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 +18 -18
- package/lib/cjs/locale/ko-KR.js +1 -0
- package/lib/es/index.js +8098 -8099
- package/lib/es/locale/ko-KR.js +125 -0
- package/lib/index.js +8098 -8099
- package/lib/locale/ko-KR.js +125 -0
- package/lib/types/index.d.ts +35 -35
- package/lib/types/locale/ko-KR.d.ts +3 -0
- package/lib/umd/index.js +18 -18
- package/lib/umd/locale/ko-KR.js +1 -0
- package/package.json +10 -10
- package/LICENSE +0 -176
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
toolbar: {
|
|
3
|
+
undo: "실행 취소",
|
|
4
|
+
redo: "다시 실행",
|
|
5
|
+
font: "글꼴",
|
|
6
|
+
fontSize: "글꼴 크기",
|
|
7
|
+
bold: "굵게",
|
|
8
|
+
italic: "기울임꼴",
|
|
9
|
+
strikethrough: "취소선",
|
|
10
|
+
subscript: "아래 첨자",
|
|
11
|
+
superscript: "위 첨자",
|
|
12
|
+
underline: "밑줄",
|
|
13
|
+
textColor: {
|
|
14
|
+
main: "글자 색상",
|
|
15
|
+
right: "색상 선택"
|
|
16
|
+
},
|
|
17
|
+
fillColor: {
|
|
18
|
+
main: "글자 배경색",
|
|
19
|
+
right: "색상 선택"
|
|
20
|
+
},
|
|
21
|
+
table: {
|
|
22
|
+
main: "표",
|
|
23
|
+
insert: "표 삽입",
|
|
24
|
+
colCount: "열 개수",
|
|
25
|
+
rowCount: "행 개수"
|
|
26
|
+
},
|
|
27
|
+
resetColor: "기본색으로 재설정",
|
|
28
|
+
order: "번호 매기기",
|
|
29
|
+
unorder: "글머리 기호",
|
|
30
|
+
checklist: "할 일 목록",
|
|
31
|
+
documentFlavor: "모던 모드",
|
|
32
|
+
alignLeft: "왼쪽 정렬",
|
|
33
|
+
alignCenter: "가운데 정렬",
|
|
34
|
+
alignRight: "오른쪽 정렬",
|
|
35
|
+
alignJustify: "양쪽 맞춤",
|
|
36
|
+
horizontalLine: "가로줄 삽입",
|
|
37
|
+
headerFooter: "머리글 및 바닥글",
|
|
38
|
+
pageSetup: "페이지 설정"
|
|
39
|
+
},
|
|
40
|
+
table: {
|
|
41
|
+
insert: "삽입",
|
|
42
|
+
insertRowAbove: "위에 행 삽입",
|
|
43
|
+
insertRowBelow: "아래에 행 삽입",
|
|
44
|
+
insertColumnLeft: "왼쪽에 열 삽입",
|
|
45
|
+
insertColumnRight: "오른쪽에 열 삽입",
|
|
46
|
+
delete: "표 삭제",
|
|
47
|
+
deleteRows: "행 삭제",
|
|
48
|
+
deleteColumns: "열 삭제",
|
|
49
|
+
deleteTable: "표 삭제"
|
|
50
|
+
},
|
|
51
|
+
headerFooter: {
|
|
52
|
+
header: "머리글",
|
|
53
|
+
footer: "바닥글",
|
|
54
|
+
panel: "머리글 및 바닥글 설정",
|
|
55
|
+
firstPageCheckBox: "첫 페이지 다르게 설정",
|
|
56
|
+
oddEvenCheckBox: "홀짝 페이지 다르게 설정",
|
|
57
|
+
headerTopMargin: "머리글 위쪽 여백(px)",
|
|
58
|
+
footerBottomMargin: "바닥글 아래쪽 여백(px)",
|
|
59
|
+
closeHeaderFooter: "머리글 및 바닥글 닫기",
|
|
60
|
+
disableText: "머리글 및 바닥글 설정이 비활성화되었습니다"
|
|
61
|
+
},
|
|
62
|
+
doc: {
|
|
63
|
+
menu: {
|
|
64
|
+
paragraphSetting: "문단 설정"
|
|
65
|
+
},
|
|
66
|
+
slider: {
|
|
67
|
+
paragraphSetting: "문단 설정"
|
|
68
|
+
},
|
|
69
|
+
paragraphSetting: {
|
|
70
|
+
alignment: "정렬",
|
|
71
|
+
indentation: "들여쓰기",
|
|
72
|
+
left: "왼쪽",
|
|
73
|
+
right: "오른쪽",
|
|
74
|
+
firstLine: "첫 줄",
|
|
75
|
+
hanging: "내어쓰기",
|
|
76
|
+
spacing: "간격",
|
|
77
|
+
before: "위 간격",
|
|
78
|
+
after: "아래 간격",
|
|
79
|
+
lineSpace: "줄 간격",
|
|
80
|
+
multiSpace: "복수 줄 간격",
|
|
81
|
+
fixedValue: "고정 값(px)"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
rightClick: {
|
|
85
|
+
copy: "복사",
|
|
86
|
+
cut: "잘라내기",
|
|
87
|
+
paste: "붙여넣기",
|
|
88
|
+
delete: "삭제",
|
|
89
|
+
bulletList: "글머리 기호 목록",
|
|
90
|
+
orderList: "번호 매기기 목록",
|
|
91
|
+
checkList: "할 일 목록",
|
|
92
|
+
insertBellow: "아래에 삽입"
|
|
93
|
+
},
|
|
94
|
+
"page-settings": {
|
|
95
|
+
"document-setting": "문서 설정",
|
|
96
|
+
"paper-size": "용지 크기",
|
|
97
|
+
"page-size": {
|
|
98
|
+
main: "용지 크기",
|
|
99
|
+
a4: "A4",
|
|
100
|
+
a3: "A3",
|
|
101
|
+
a5: "A5",
|
|
102
|
+
b4: "B4",
|
|
103
|
+
b5: "B5",
|
|
104
|
+
letter: "Letter",
|
|
105
|
+
legal: "Legal",
|
|
106
|
+
tabloid: "Tabloid",
|
|
107
|
+
statement: "Statement",
|
|
108
|
+
executive: "Executive",
|
|
109
|
+
folio: "Folio"
|
|
110
|
+
},
|
|
111
|
+
orientation: "방향",
|
|
112
|
+
portrait: "세로",
|
|
113
|
+
landscape: "가로",
|
|
114
|
+
"custom-paper-size": "사용자 정의 용지 크기",
|
|
115
|
+
top: "위",
|
|
116
|
+
bottom: "아래",
|
|
117
|
+
left: "왼쪽",
|
|
118
|
+
right: "오른쪽",
|
|
119
|
+
cancel: "취소",
|
|
120
|
+
confirm: "확인"
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
export {
|
|
124
|
+
e as default
|
|
125
|
+
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -22,38 +22,6 @@ export { addCustomDecorationBySelectionFactory, addCustomDecorationFactory, dele
|
|
|
22
22
|
export * from './basics/docs-view-key';
|
|
23
23
|
export { hasParagraphInTable } from './basics/paragraph';
|
|
24
24
|
export { docDrawingPositionToTransform, transformToDocDrawingPosition } from './basics/transform-position';
|
|
25
|
-
export { type IKeyboardEventConfig, useKeyboardEvent, useResize } from './views/rich-text-editor/hooks';
|
|
26
|
-
export { type IRichTextEditorProps, RichTextEditor } from './views/rich-text-editor';
|
|
27
|
-
export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
|
|
28
|
-
export { DocUIController } from './controllers/doc-ui.controller';
|
|
29
|
-
export { menuSchema as DocsUIMenuSchema } from './controllers/menu.schema';
|
|
30
|
-
export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
|
|
31
|
-
export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
|
|
32
|
-
export type { IUniverDocsUIConfig } from './controllers/config.schema';
|
|
33
|
-
export { UniverDocsUIPlugin } from './plugin';
|
|
34
|
-
export * from './services';
|
|
35
|
-
export { IDocClipboardService } from './services/clipboard/clipboard.service';
|
|
36
|
-
export { DocEventManagerService } from './services/doc-event-manager.service';
|
|
37
|
-
export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
|
|
38
|
-
export { calcDocRangePositions, DocCanvasPopManagerService } from './services/doc-popup-manager.service';
|
|
39
|
-
export { DocStateChangeManagerService } from './services/doc-state-change-manager.service';
|
|
40
|
-
export { DocsRenderService } from './services/docs-render.service';
|
|
41
|
-
export { Editor } from './services/editor/editor';
|
|
42
|
-
export { EditorService, IEditorService } from './services/editor/editor-manager.service';
|
|
43
|
-
export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
|
|
44
|
-
export { DocPrintInterceptorService, type IDocPrintComponentContext, type IDocPrintContext } from './services/doc-print-interceptor-service';
|
|
45
|
-
export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
|
|
46
|
-
export { getOneTextSelectionRange } from './services/selection/convert-text-range';
|
|
47
|
-
export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
|
|
48
|
-
export { DocSelectionRenderService } from './services/selection/doc-selection-render.service';
|
|
49
|
-
export type { IDocRange } from './services/selection/range-interface';
|
|
50
|
-
export { convertPositionsToRectRanges, RectRange } from './services/selection/rect-range';
|
|
51
|
-
export { getCanvasOffsetByEngine } from './services/selection/selection-utils';
|
|
52
|
-
export { getAnchorBounding, getLineBounding, TEXT_RANGE_LAYER_INDEX, TextRange } from './services/selection/text-range';
|
|
53
|
-
export { whenDocAndEditorFocused } from './shortcuts/utils';
|
|
54
|
-
export { DOC_VERTICAL_PADDING } from './types/const/padding';
|
|
55
|
-
export { SwitchDocModeCommand } from './commands/commands/switch-doc-mode.command';
|
|
56
|
-
export { HorizontalLineCommand } from './commands/commands/doc-horizontal-line.command';
|
|
57
25
|
export { AfterSpaceCommand, EnterCommand, type ITabCommandParams, TabCommand } from './commands/commands/auto-format.command';
|
|
58
26
|
export { BreakLineCommand } from './commands/commands/break-line.command';
|
|
59
27
|
export { generateParagraphs } from './commands/commands/break-line.command';
|
|
@@ -64,17 +32,21 @@ export { getCustomBlockIdsInSelections, getCutActionsFromDocRanges } from './com
|
|
|
64
32
|
export { DeleteCommand, EditorInsertTextCommandId, type ICoverCommandParams, type IDeleteCommandParams, type IInsertCommandParams, InsertCommand, type IUpdateCommandParams, UpdateCommand, } from './commands/commands/core-editing.command';
|
|
65
33
|
export { DeleteCustomBlockCommand, DeleteLeftCommand, DeleteRightCommand, type IDeleteCustomBlockParams, MergeTwoParagraphCommand } from './commands/commands/doc-delete.command';
|
|
66
34
|
export { getCursorWhenDelete } from './commands/commands/doc-delete.command';
|
|
35
|
+
export { HorizontalLineCommand } from './commands/commands/doc-horizontal-line.command';
|
|
36
|
+
export { DocSelectAllCommand } from './commands/commands/doc-select-all.command';
|
|
67
37
|
export { type IIMEInputCommandParams, IMEInputCommand } from './commands/commands/ime-input.command';
|
|
68
38
|
export { ResetInlineFormatTextBackgroundColorCommand, SetInlineFormatBoldCommand, SetInlineFormatCommand, SetInlineFormatFontFamilyCommand, SetInlineFormatFontSizeCommand, SetInlineFormatItalicCommand, SetInlineFormatStrikethroughCommand, SetInlineFormatSubscriptCommand, SetInlineFormatSuperscriptCommand, SetInlineFormatTextBackgroundColorCommand, SetInlineFormatTextColorCommand, SetInlineFormatUnderlineCommand, } from './commands/commands/inline-format.command';
|
|
39
|
+
export { type IInsertCustomRangeCommandParams, InsertCustomRangeCommand } from './commands/commands/insert-custom-range.command';
|
|
69
40
|
export { BulletListCommand, ChangeListNestingLevelCommand, ChangeListTypeCommand, CheckListCommand, ListOperationCommand, OrderListCommand, QuickListCommand, ToggleCheckListCommand, } from './commands/commands/list.command';
|
|
70
41
|
export { ChangeListNestingLevelType } from './commands/commands/list.command';
|
|
71
42
|
export { AlignCenterCommand, AlignJustifyCommand, AlignLeftCommand, AlignOperationCommand, AlignRightCommand, } from './commands/commands/paragraph-align.command';
|
|
72
43
|
export { ReplaceTextRunsCommand } from './commands/commands/replace-content.command';
|
|
73
44
|
export { CoverContentCommand, type IReplaceSelectionCommandParams, type IReplaceSnapshotCommandParams, ReplaceContentCommand, ReplaceSelectionCommand, ReplaceSnapshotCommand } from './commands/commands/replace-content.command';
|
|
74
45
|
export { SetDocZoomRatioCommand } from './commands/commands/set-doc-zoom-ratio.command';
|
|
46
|
+
export { SetParagraphNamedStyleCommand } from './commands/commands/set-heading.command';
|
|
47
|
+
export { SwitchDocModeCommand } from './commands/commands/switch-doc-mode.command';
|
|
75
48
|
export { CreateDocTableCommand, type ICreateDocTableCommandParams } from './commands/commands/table/doc-table-create.command';
|
|
76
49
|
export { DocTableDeleteColumnsCommand, DocTableDeleteRowsCommand, DocTableDeleteTableCommand } from './commands/commands/table/doc-table-delete.command';
|
|
77
|
-
export { type IInsertCustomRangeCommandParams, InsertCustomRangeCommand } from './commands/commands/insert-custom-range.command';
|
|
78
50
|
export type { IDocTableDeleteColumnsCommandParams, IDocTableDeleteRowsCommandParams, IDocTableDeleteTableCommandParams, } from './commands/commands/table/doc-table-delete.command';
|
|
79
51
|
export type { IDocTableInsertColumnCommandParams, IDocTableInsertColumnLeftCommandParams, IDocTableInsertColumnRightCommandParams, IDocTableInsertRowAboveCommandParams, IDocTableInsertRowBellowCommandParams, IDocTableInsertRowCommandParams, } from './commands/commands/table/doc-table-insert.command';
|
|
80
52
|
export { DocTableInsertColumnCommand, DocTableInsertColumnLeftCommand, DocTableInsertColumnRightCommand, DocTableInsertRowAboveCommand, DocTableInsertRowBellowCommand, DocTableInsertRowCommand, } from './commands/commands/table/doc-table-insert.command';
|
|
@@ -84,7 +56,35 @@ export { genTableSource, getEmptyTableCell, getEmptyTableRow, getTableColumn } f
|
|
|
84
56
|
export { DocCreateTableOperation } from './commands/operations/doc-create-table.operation';
|
|
85
57
|
export { type IMoveCursorOperationParams, MoveSelectionOperation } from './commands/operations/doc-cursor.operation';
|
|
86
58
|
export { MoveCursorOperation } from './commands/operations/doc-cursor.operation';
|
|
87
|
-
export { DocSelectAllCommand } from './commands/commands/doc-select-all.command';
|
|
88
59
|
export { type ISetDocZoomRatioOperationParams, SetDocZoomRatioOperation } from './commands/operations/set-doc-zoom-ratio.operation';
|
|
89
|
-
export {
|
|
60
|
+
export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
|
|
61
|
+
export type { IUniverDocsUIConfig } from './controllers/config.schema';
|
|
62
|
+
export { DocUIController } from './controllers/doc-ui.controller';
|
|
63
|
+
export { menuSchema as DocsUIMenuSchema } from './controllers/menu.schema';
|
|
64
|
+
export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
|
|
65
|
+
export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
|
|
66
|
+
export { UniverDocsUIPlugin } from './plugin';
|
|
67
|
+
export * from './services';
|
|
68
|
+
export { IDocClipboardService } from './services/clipboard/clipboard.service';
|
|
90
69
|
export { convertBodyToHtml } from './services/clipboard/udm-to-html/convertor';
|
|
70
|
+
export { DocEventManagerService } from './services/doc-event-manager.service';
|
|
71
|
+
export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
|
|
72
|
+
export { calcDocRangePositions, DocCanvasPopManagerService } from './services/doc-popup-manager.service';
|
|
73
|
+
export { DocPrintInterceptorService, type IDocPrintComponentContext, type IDocPrintContext } from './services/doc-print-interceptor-service';
|
|
74
|
+
export { DocStateChangeManagerService } from './services/doc-state-change-manager.service';
|
|
75
|
+
export { DocsRenderService } from './services/docs-render.service';
|
|
76
|
+
export { Editor } from './services/editor/editor';
|
|
77
|
+
export { EditorService, IEditorService } from './services/editor/editor-manager.service';
|
|
78
|
+
export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
|
|
79
|
+
export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
|
|
80
|
+
export { getOneTextSelectionRange } from './services/selection/convert-text-range';
|
|
81
|
+
export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
|
|
82
|
+
export { DocSelectionRenderService } from './services/selection/doc-selection-render.service';
|
|
83
|
+
export type { IDocRange } from './services/selection/range-interface';
|
|
84
|
+
export { convertPositionsToRectRanges, RectRange } from './services/selection/rect-range';
|
|
85
|
+
export { getCanvasOffsetByEngine } from './services/selection/selection-utils';
|
|
86
|
+
export { getAnchorBounding, getLineBounding, TEXT_RANGE_LAYER_INDEX, TextRange } from './services/selection/text-range';
|
|
87
|
+
export { whenDocAndEditorFocused } from './shortcuts/utils';
|
|
88
|
+
export { DOC_VERTICAL_PADDING } from './types/const/padding';
|
|
89
|
+
export { type IRichTextEditorProps, RichTextEditor } from './views/rich-text-editor';
|
|
90
|
+
export { type IKeyboardEventConfig, useKeyboardEvent, useResize } from './views/rich-text-editor/hooks';
|