@univerjs/docs-ui 1.0.0-alpha.1 → 1.0.0-alpha.3
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 +2544 -1063
- package/lib/cjs/locale/ar-SA.js +40 -19
- package/lib/cjs/locale/ca-ES.js +39 -18
- package/lib/cjs/locale/de-DE.js +40 -19
- package/lib/cjs/locale/en-US.js +23 -2
- package/lib/cjs/locale/es-ES.js +40 -19
- package/lib/cjs/locale/fa-IR.js +40 -19
- package/lib/cjs/locale/fr-FR.js +40 -19
- package/lib/cjs/locale/id-ID.js +39 -18
- package/lib/cjs/locale/it-IT.js +40 -19
- package/lib/cjs/locale/ja-JP.js +40 -19
- package/lib/cjs/locale/ko-KR.js +40 -19
- package/lib/cjs/locale/pl-PL.js +40 -19
- package/lib/cjs/locale/pt-BR.js +39 -18
- package/lib/cjs/locale/ru-RU.js +40 -19
- package/lib/cjs/locale/sk-SK.js +40 -19
- package/lib/cjs/locale/vi-VN.js +40 -19
- package/lib/cjs/locale/zh-CN.js +23 -2
- package/lib/cjs/locale/zh-HK.js +23 -2
- package/lib/cjs/locale/zh-TW.js +23 -2
- package/lib/es/index.js +2474 -1070
- package/lib/es/locale/ar-SA.js +40 -19
- package/lib/es/locale/ca-ES.js +39 -18
- package/lib/es/locale/de-DE.js +40 -19
- package/lib/es/locale/en-US.js +23 -2
- package/lib/es/locale/es-ES.js +40 -19
- package/lib/es/locale/fa-IR.js +40 -19
- package/lib/es/locale/fr-FR.js +40 -19
- package/lib/es/locale/id-ID.js +39 -18
- package/lib/es/locale/it-IT.js +40 -19
- package/lib/es/locale/ja-JP.js +40 -19
- package/lib/es/locale/ko-KR.js +40 -19
- package/lib/es/locale/pl-PL.js +40 -19
- package/lib/es/locale/pt-BR.js +39 -18
- package/lib/es/locale/ru-RU.js +40 -19
- package/lib/es/locale/sk-SK.js +40 -19
- package/lib/es/locale/vi-VN.js +40 -19
- package/lib/es/locale/zh-CN.js +23 -2
- package/lib/es/locale/zh-HK.js +23 -2
- package/lib/es/locale/zh-TW.js +23 -2
- package/lib/index.css +8 -0
- package/lib/index.js +2474 -1070
- package/lib/locale/ar-SA.js +40 -19
- package/lib/locale/ca-ES.js +39 -18
- package/lib/locale/de-DE.js +40 -19
- package/lib/locale/en-US.js +23 -2
- package/lib/locale/es-ES.js +40 -19
- package/lib/locale/fa-IR.js +40 -19
- package/lib/locale/fr-FR.js +40 -19
- package/lib/locale/id-ID.js +39 -18
- package/lib/locale/it-IT.js +40 -19
- package/lib/locale/ja-JP.js +40 -19
- package/lib/locale/ko-KR.js +40 -19
- package/lib/locale/pl-PL.js +40 -19
- package/lib/locale/pt-BR.js +39 -18
- package/lib/locale/ru-RU.js +40 -19
- package/lib/locale/sk-SK.js +40 -19
- package/lib/locale/vi-VN.js +40 -19
- package/lib/locale/zh-CN.js +23 -2
- package/lib/locale/zh-HK.js +23 -2
- package/lib/locale/zh-TW.js +23 -2
- package/lib/types/commands/commands/break-line.command.d.ts +4 -3
- package/lib/types/commands/commands/doc-block-move.command.d.ts +13 -1
- package/lib/types/commands/commands/doc-delete.command.d.ts +6 -2
- package/lib/types/commands/commands/doc-header-footer.command.d.ts +4 -9
- package/lib/types/commands/commands/doc-horizontal-line.command.d.ts +1 -0
- package/lib/types/commands/commands/doc-paragraph-setting.command.d.ts +1 -2
- package/lib/types/commands/commands/replace-content.command.d.ts +2 -1
- package/lib/types/commands/commands/table/doc-table-create.command.d.ts +2 -1
- package/lib/types/commands/operations/doc-section-setting-panel.operation.d.ts +17 -0
- package/lib/types/controllers/doc-header-footer.controller.d.ts +0 -8
- package/lib/types/controllers/doc-section-setting.controller.d.ts +24 -0
- package/lib/types/controllers/render-controllers/doc-input.controller.d.ts +4 -1
- package/lib/types/controllers/render-controllers/doc-selection-render.controller.d.ts +5 -1
- package/lib/types/controllers/render-controllers/doc.render-controller.d.ts +4 -1
- package/lib/types/controllers/render-controllers/zoom.render-controller.d.ts +3 -1
- package/lib/types/controllers/ui.controller.d.ts +4 -1
- package/lib/types/embed-docs-custom-block-bleed.d.ts +30 -0
- package/lib/types/embed-docs-custom-block-refresh.d.ts +28 -0
- package/lib/types/embed-docs-custom-block-scroll.d.ts +19 -0
- package/lib/types/embed-host-anchor.d.ts +45 -0
- package/lib/types/index.d.ts +19 -4
- package/lib/types/locale/en-US.d.ts +17 -0
- package/lib/types/menu/context-menu.d.ts +1 -0
- package/lib/types/menu/menu.d.ts +2 -1
- package/lib/types/services/clipboard/clipboard.service.d.ts +7 -3
- package/lib/types/services/clipboard/doc-paste-mutation-adapter.service.d.ts +47 -0
- package/lib/types/services/clipboard/html-to-udm/converter.d.ts +1 -0
- package/lib/types/services/doc-embed-integration.service.d.ts +63 -0
- package/lib/types/services/doc-paragraph-menu.service.d.ts +1 -1
- package/lib/types/services/doc-popup-manager.service.d.ts +2 -0
- package/lib/types/services/docs-render.service.d.ts +1 -1
- package/lib/types/services/float-menu.service.d.ts +1 -0
- package/lib/types/services/index.d.ts +1 -0
- package/lib/types/services/selection/convert-text-range.d.ts +3 -0
- package/lib/types/services/selection/doc-selection-render.service.d.ts +18 -4
- package/lib/types/shortcuts/core-editing.shortcut.d.ts +1 -0
- package/lib/types/utils/section-header-footer.d.ts +26 -0
- package/lib/types/views/ParagraphMenu.d.ts +8 -3
- package/lib/types/views/paragraph-setting/hook/utils.d.ts +13 -3
- package/lib/types/views/paragraph-setting/line-spacing.d.ts +6 -18
- package/lib/types/views/section-setting/Setting.d.ts +16 -0
- package/lib/types/views/section-setting/component-name.d.ts +16 -0
- package/lib/types/views/section-setting/index.d.ts +16 -0
- package/lib/types/views/section-setting/use-section-setting.d.ts +43 -0
- package/lib/umd/index.js +9 -10
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -12
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -56,6 +56,7 @@ const locale = { "docs-ui": {
|
|
|
56
56
|
deleteTable: "Xóa bảng"
|
|
57
57
|
},
|
|
58
58
|
headerFooter: {
|
|
59
|
+
linkToPrevious: "Link to previous",
|
|
59
60
|
header: "Đầu trang",
|
|
60
61
|
footer: "Chân trang",
|
|
61
62
|
panel: "Cài đặt đầu trang và chân trang",
|
|
@@ -67,17 +68,23 @@ const locale = { "docs-ui": {
|
|
|
67
68
|
disableText: "Cài đặt đầu trang và chân trang không khả dụng"
|
|
68
69
|
},
|
|
69
70
|
placeholder: {
|
|
70
|
-
heading1: "
|
|
71
|
-
heading2: "
|
|
72
|
-
heading3: "
|
|
73
|
-
heading4: "
|
|
74
|
-
heading5: "
|
|
75
|
-
normalText: "
|
|
76
|
-
listItem: "
|
|
71
|
+
heading1: "Tiêu đề 1",
|
|
72
|
+
heading2: "Tiêu đề 2",
|
|
73
|
+
heading3: "Tiêu đề 3",
|
|
74
|
+
heading4: "Tiêu đề 4",
|
|
75
|
+
heading5: "Tiêu đề 5",
|
|
76
|
+
normalText: "Nhập văn bản hoặc nhấn \"/\" để dùng lệnh",
|
|
77
|
+
listItem: "Mục"
|
|
77
78
|
},
|
|
78
79
|
doc: {
|
|
79
|
-
menu: {
|
|
80
|
-
|
|
80
|
+
menu: {
|
|
81
|
+
paragraphSetting: "Paragraph Setting",
|
|
82
|
+
sectionSetting: "Section Settings"
|
|
83
|
+
},
|
|
84
|
+
slider: {
|
|
85
|
+
paragraphSetting: "Paragraph Setting",
|
|
86
|
+
sectionSetting: "Section Settings"
|
|
87
|
+
},
|
|
81
88
|
paragraphSetting: {
|
|
82
89
|
alignment: "Alignment",
|
|
83
90
|
indentation: "Indentation",
|
|
@@ -93,6 +100,20 @@ const locale = { "docs-ui": {
|
|
|
93
100
|
atLeast: "At Least (px)",
|
|
94
101
|
exactly: "Exactly (px)",
|
|
95
102
|
fixedValue: "Fixed Value(px)"
|
|
103
|
+
},
|
|
104
|
+
sectionSetting: {
|
|
105
|
+
selectedSections: "{0} sections selected",
|
|
106
|
+
columnCount: "Column count",
|
|
107
|
+
columnGap: "Column gap",
|
|
108
|
+
columnSeparator: "Separator",
|
|
109
|
+
none: "None",
|
|
110
|
+
betweenColumns: "Between columns",
|
|
111
|
+
sectionStart: "Section start",
|
|
112
|
+
unspecified: "Unspecified",
|
|
113
|
+
continuous: "Continuous",
|
|
114
|
+
nextPage: "Next page",
|
|
115
|
+
evenPage: "Even page",
|
|
116
|
+
oddPage: "Odd page"
|
|
96
117
|
}
|
|
97
118
|
},
|
|
98
119
|
rightClick: {
|
|
@@ -106,16 +127,16 @@ const locale = { "docs-ui": {
|
|
|
106
127
|
insertBellow: "Chèn dưới"
|
|
107
128
|
},
|
|
108
129
|
paragraphMenu: {
|
|
109
|
-
alignAndIndent: "
|
|
110
|
-
align: "
|
|
111
|
-
indent: "
|
|
112
|
-
color: "
|
|
113
|
-
increase: "
|
|
114
|
-
decrease: "
|
|
115
|
-
increaseIndent: "
|
|
116
|
-
decreaseIndent: "
|
|
117
|
-
defaultTextColor: "
|
|
118
|
-
noBackground: "
|
|
130
|
+
alignAndIndent: "Căn chỉnh và thụt lề",
|
|
131
|
+
align: "Căn chỉnh",
|
|
132
|
+
indent: "Thụt lề",
|
|
133
|
+
color: "Màu sắc",
|
|
134
|
+
increase: "Tăng",
|
|
135
|
+
decrease: "Giảm",
|
|
136
|
+
increaseIndent: "Tăng thụt lề",
|
|
137
|
+
decreaseIndent: "Giảm thụt lề",
|
|
138
|
+
defaultTextColor: "Màu văn bản mặc định",
|
|
139
|
+
noBackground: "Không có nền"
|
|
119
140
|
},
|
|
120
141
|
"page-settings": {
|
|
121
142
|
"document-setting": "Cài đặt tài liệu",
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -56,6 +56,7 @@ const locale = { "docs-ui": {
|
|
|
56
56
|
deleteTable: "删除表格"
|
|
57
57
|
},
|
|
58
58
|
headerFooter: {
|
|
59
|
+
linkToPrevious: "链接到上一节",
|
|
59
60
|
header: "页眉",
|
|
60
61
|
footer: "页脚",
|
|
61
62
|
panel: "页眉页脚设置",
|
|
@@ -76,8 +77,14 @@ const locale = { "docs-ui": {
|
|
|
76
77
|
listItem: "项目"
|
|
77
78
|
},
|
|
78
79
|
doc: {
|
|
79
|
-
menu: {
|
|
80
|
-
|
|
80
|
+
menu: {
|
|
81
|
+
paragraphSetting: "段落设置",
|
|
82
|
+
sectionSetting: "节设置"
|
|
83
|
+
},
|
|
84
|
+
slider: {
|
|
85
|
+
paragraphSetting: "段落设置",
|
|
86
|
+
sectionSetting: "节设置"
|
|
87
|
+
},
|
|
81
88
|
paragraphSetting: {
|
|
82
89
|
alignment: "对齐方式",
|
|
83
90
|
indentation: "缩进",
|
|
@@ -93,6 +100,20 @@ const locale = { "docs-ui": {
|
|
|
93
100
|
atLeast: "至少值(px)",
|
|
94
101
|
exactly: "固定值(px)",
|
|
95
102
|
fixedValue: "固定值(px)"
|
|
103
|
+
},
|
|
104
|
+
sectionSetting: {
|
|
105
|
+
selectedSections: "已选择 {0} 个节",
|
|
106
|
+
columnCount: "栏数",
|
|
107
|
+
columnGap: "栏间距",
|
|
108
|
+
columnSeparator: "分隔线",
|
|
109
|
+
none: "无",
|
|
110
|
+
betweenColumns: "栏间分隔线",
|
|
111
|
+
sectionStart: "节起始位置",
|
|
112
|
+
unspecified: "未指定",
|
|
113
|
+
continuous: "连续",
|
|
114
|
+
nextPage: "下一页",
|
|
115
|
+
evenPage: "偶数页",
|
|
116
|
+
oddPage: "奇数页"
|
|
96
117
|
}
|
|
97
118
|
},
|
|
98
119
|
rightClick: {
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -56,6 +56,7 @@ const locale = { "docs-ui": {
|
|
|
56
56
|
deleteTable: "Delete table"
|
|
57
57
|
},
|
|
58
58
|
headerFooter: {
|
|
59
|
+
linkToPrevious: "連結到上一節",
|
|
59
60
|
header: "頁眉",
|
|
60
61
|
footer: "頁腳",
|
|
61
62
|
panel: "頁眉頁腳設置",
|
|
@@ -76,8 +77,14 @@ const locale = { "docs-ui": {
|
|
|
76
77
|
listItem: "項目"
|
|
77
78
|
},
|
|
78
79
|
doc: {
|
|
79
|
-
menu: {
|
|
80
|
-
|
|
80
|
+
menu: {
|
|
81
|
+
paragraphSetting: "Paragraph Setting",
|
|
82
|
+
sectionSetting: "Section Settings"
|
|
83
|
+
},
|
|
84
|
+
slider: {
|
|
85
|
+
paragraphSetting: "Paragraph Setting",
|
|
86
|
+
sectionSetting: "Section Settings"
|
|
87
|
+
},
|
|
81
88
|
paragraphSetting: {
|
|
82
89
|
alignment: "Alignment",
|
|
83
90
|
indentation: "Indentation",
|
|
@@ -93,6 +100,20 @@ const locale = { "docs-ui": {
|
|
|
93
100
|
atLeast: "At Least (px)",
|
|
94
101
|
exactly: "Exactly (px)",
|
|
95
102
|
fixedValue: "Fixed Value(px)"
|
|
103
|
+
},
|
|
104
|
+
sectionSetting: {
|
|
105
|
+
selectedSections: "{0} sections selected",
|
|
106
|
+
columnCount: "Column count",
|
|
107
|
+
columnGap: "Column gap",
|
|
108
|
+
columnSeparator: "Separator",
|
|
109
|
+
none: "None",
|
|
110
|
+
betweenColumns: "Between columns",
|
|
111
|
+
sectionStart: "Section start",
|
|
112
|
+
unspecified: "Unspecified",
|
|
113
|
+
continuous: "Continuous",
|
|
114
|
+
nextPage: "Next page",
|
|
115
|
+
evenPage: "Even page",
|
|
116
|
+
oddPage: "Odd page"
|
|
96
117
|
}
|
|
97
118
|
},
|
|
98
119
|
rightClick: {
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -56,6 +56,7 @@ const locale = { "docs-ui": {
|
|
|
56
56
|
deleteTable: "刪除表格"
|
|
57
57
|
},
|
|
58
58
|
headerFooter: {
|
|
59
|
+
linkToPrevious: "連結到上一節",
|
|
59
60
|
header: "頁眉",
|
|
60
61
|
footer: "頁腳",
|
|
61
62
|
panel: "頁眉頁腳設置",
|
|
@@ -76,8 +77,14 @@ const locale = { "docs-ui": {
|
|
|
76
77
|
listItem: "項目"
|
|
77
78
|
},
|
|
78
79
|
doc: {
|
|
79
|
-
menu: {
|
|
80
|
-
|
|
80
|
+
menu: {
|
|
81
|
+
paragraphSetting: "Paragraph Setting",
|
|
82
|
+
sectionSetting: "Section Settings"
|
|
83
|
+
},
|
|
84
|
+
slider: {
|
|
85
|
+
paragraphSetting: "Paragraph Setting",
|
|
86
|
+
sectionSetting: "Section Settings"
|
|
87
|
+
},
|
|
81
88
|
paragraphSetting: {
|
|
82
89
|
alignment: "Alignment",
|
|
83
90
|
indentation: "Indentation",
|
|
@@ -93,6 +100,20 @@ const locale = { "docs-ui": {
|
|
|
93
100
|
atLeast: "At Least (px)",
|
|
94
101
|
exactly: "Exactly (px)",
|
|
95
102
|
fixedValue: "Fixed Value(px)"
|
|
103
|
+
},
|
|
104
|
+
sectionSetting: {
|
|
105
|
+
selectedSections: "{0} sections selected",
|
|
106
|
+
columnCount: "Column count",
|
|
107
|
+
columnGap: "Column gap",
|
|
108
|
+
columnSeparator: "Separator",
|
|
109
|
+
none: "None",
|
|
110
|
+
betweenColumns: "Between columns",
|
|
111
|
+
sectionStart: "Section start",
|
|
112
|
+
unspecified: "Unspecified",
|
|
113
|
+
continuous: "Continuous",
|
|
114
|
+
nextPage: "Next page",
|
|
115
|
+
evenPage: "Even page",
|
|
116
|
+
oddPage: "Odd page"
|
|
96
117
|
}
|
|
97
118
|
},
|
|
98
119
|
rightClick: {
|