@univerjs/docs-ui 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.
Files changed (156) hide show
  1. package/lib/cjs/facade.js +23 -183
  2. package/lib/cjs/index.js +7475 -5364
  3. package/lib/cjs/locale/ar-SA.js +35 -1
  4. package/lib/cjs/locale/ca-ES.js +35 -1
  5. package/lib/cjs/locale/de-DE.js +35 -1
  6. package/lib/cjs/locale/en-US.js +35 -1
  7. package/lib/cjs/locale/es-ES.js +35 -1
  8. package/lib/cjs/locale/fa-IR.js +35 -1
  9. package/lib/cjs/locale/fr-FR.js +35 -1
  10. package/lib/cjs/locale/id-ID.js +35 -1
  11. package/lib/cjs/locale/it-IT.js +35 -1
  12. package/lib/cjs/locale/ja-JP.js +35 -1
  13. package/lib/cjs/locale/ko-KR.js +35 -1
  14. package/lib/cjs/locale/pl-PL.js +35 -1
  15. package/lib/cjs/locale/pt-BR.js +35 -1
  16. package/lib/cjs/locale/ru-RU.js +35 -1
  17. package/lib/cjs/locale/sk-SK.js +35 -1
  18. package/lib/cjs/locale/vi-VN.js +35 -1
  19. package/lib/cjs/locale/zh-CN.js +35 -1
  20. package/lib/cjs/locale/zh-HK.js +35 -1
  21. package/lib/cjs/locale/zh-TW.js +35 -1
  22. package/lib/es/facade.js +25 -178
  23. package/lib/es/index.js +7934 -5853
  24. package/lib/es/locale/ar-SA.js +35 -1
  25. package/lib/es/locale/ca-ES.js +35 -1
  26. package/lib/es/locale/de-DE.js +35 -1
  27. package/lib/es/locale/en-US.js +35 -1
  28. package/lib/es/locale/es-ES.js +35 -1
  29. package/lib/es/locale/fa-IR.js +35 -1
  30. package/lib/es/locale/fr-FR.js +35 -1
  31. package/lib/es/locale/id-ID.js +35 -1
  32. package/lib/es/locale/it-IT.js +35 -1
  33. package/lib/es/locale/ja-JP.js +35 -1
  34. package/lib/es/locale/ko-KR.js +35 -1
  35. package/lib/es/locale/pl-PL.js +35 -1
  36. package/lib/es/locale/pt-BR.js +35 -1
  37. package/lib/es/locale/ru-RU.js +35 -1
  38. package/lib/es/locale/sk-SK.js +35 -1
  39. package/lib/es/locale/vi-VN.js +35 -1
  40. package/lib/es/locale/zh-CN.js +35 -1
  41. package/lib/es/locale/zh-HK.js +35 -1
  42. package/lib/es/locale/zh-TW.js +35 -1
  43. package/lib/facade.js +25 -178
  44. package/lib/index.css +25 -35
  45. package/lib/index.js +7934 -5853
  46. package/lib/locale/ar-SA.js +35 -1
  47. package/lib/locale/ca-ES.js +35 -1
  48. package/lib/locale/de-DE.js +35 -1
  49. package/lib/locale/en-US.js +35 -1
  50. package/lib/locale/es-ES.js +35 -1
  51. package/lib/locale/fa-IR.js +35 -1
  52. package/lib/locale/fr-FR.js +35 -1
  53. package/lib/locale/id-ID.js +35 -1
  54. package/lib/locale/it-IT.js +35 -1
  55. package/lib/locale/ja-JP.js +35 -1
  56. package/lib/locale/ko-KR.js +35 -1
  57. package/lib/locale/pl-PL.js +35 -1
  58. package/lib/locale/pt-BR.js +35 -1
  59. package/lib/locale/ru-RU.js +35 -1
  60. package/lib/locale/sk-SK.js +35 -1
  61. package/lib/locale/vi-VN.js +35 -1
  62. package/lib/locale/zh-CN.js +35 -1
  63. package/lib/locale/zh-HK.js +35 -1
  64. package/lib/locale/zh-TW.js +35 -1
  65. package/lib/types/commands/commands/doc-delete.command.d.ts +1 -1
  66. package/lib/types/commands/commands/inline-format.command.d.ts +3 -1
  67. package/lib/types/commands/commands/table/doc-table-create.command.d.ts +31 -1
  68. package/lib/types/commands/operations/doc-cursor.operation.d.ts +2 -0
  69. package/lib/types/commands/util.d.ts +1 -2
  70. package/lib/types/config/config.d.ts +15 -0
  71. package/lib/types/controllers/components.controller.d.ts +25 -0
  72. package/lib/types/controllers/doc-header-footer.controller.d.ts +1 -4
  73. package/lib/types/controllers/doc-move-cursor.controller.d.ts +9 -0
  74. package/lib/types/controllers/doc-paragraph-setting.controller.d.ts +2 -4
  75. package/lib/types/controllers/doc-table.controller.d.ts +1 -4
  76. package/lib/types/controllers/render-controllers/doc-paragraph-placeholder.render-controller.d.ts +51 -0
  77. package/lib/types/controllers/render-controllers/doc.render-controller.d.ts +5 -2
  78. package/lib/types/controllers/render-controllers/zoom.render-controller.d.ts +3 -1
  79. package/lib/types/controllers/{doc-ui.controller.d.ts → ui.controller.d.ts} +2 -4
  80. package/lib/types/facade/f-document.d.ts +11 -43
  81. package/lib/types/facade/index.d.ts +2 -3
  82. package/lib/types/index.d.ts +39 -26
  83. package/lib/types/locale/en-US.d.ts +34 -0
  84. package/lib/types/{views/side-menu/index.d.ts → locale/types.d.ts} +3 -1
  85. package/lib/types/menu/context-menu.d.ts +15 -14
  86. package/lib/types/menu/menu.d.ts +31 -29
  87. package/lib/types/menu/paragraph-menu.d.ts +68 -38
  88. package/lib/types/services/clipboard/html-to-udm/converter.d.ts +1 -0
  89. package/lib/types/services/doc-event-manager.service.d.ts +15 -0
  90. package/lib/types/services/doc-ime-state-change-interceptor.service.d.ts +23 -0
  91. package/lib/types/services/doc-page-layout.service.d.ts +3 -1
  92. package/lib/types/services/doc-paragraph-menu.service.d.ts +26 -2
  93. package/lib/types/services/doc-render-background.d.ts +29 -0
  94. package/lib/types/services/doc-view-scale.d.ts +54 -0
  95. package/lib/types/services/doc-zoom.d.ts +20 -0
  96. package/lib/types/services/docs-render.service.d.ts +5 -2
  97. package/lib/types/services/editor/editor-manager.service.d.ts +8 -1
  98. package/lib/types/services/index.d.ts +2 -0
  99. package/lib/types/services/selection/selection-utils.d.ts +0 -15
  100. package/lib/types/services/{doc-content-insert.service.d.ts → selection/word-boundary.d.ts} +4 -10
  101. package/lib/types/shortcuts/core-editing.shortcut.d.ts +1 -0
  102. package/lib/types/shortcuts/cursor.shortcut.d.ts +12 -0
  103. package/lib/types/shortcuts/heading.shortcut.d.ts +22 -0
  104. package/lib/types/{types/delete-direction.d.ts → views/DocSideMenu.d.ts} +1 -4
  105. package/lib/types/views/Icon.d.ts +49 -0
  106. package/lib/types/views/{page-settings/index.d.ts → PageSettings.d.ts} +1 -1
  107. package/lib/types/views/ParagraphMenu.d.ts +62 -0
  108. package/lib/types/views/{rich-text-editor/index.d.ts → RichTextEditor.d.ts} +3 -3
  109. package/lib/types/{components/side-menu/index.d.ts → views/SideMenu.d.ts} +4 -3
  110. package/lib/types/views/count-bar/CountBar.d.ts +1 -1
  111. package/lib/types/views/count-bar/ZoomSlider.d.ts +1 -1
  112. package/lib/types/views/doc-footer/DocFooter.d.ts +1 -1
  113. package/lib/types/views/float-toolbar/FloatToolbar.d.ts +25 -0
  114. package/lib/types/{components → views}/float-toolbar/FloatToolbar.stories.d.ts +1 -1
  115. package/lib/types/views/header-footer/panel/DocHeaderFooterOptions.d.ts +1 -1
  116. package/lib/types/views/header-footer/panel/DocHeaderFooterPanel.d.ts +1 -1
  117. package/lib/types/{components → views}/list-type-picker/Picker.d.ts +3 -3
  118. package/lib/types/{components/float-toolbar/FloatToolbar.d.ts → views/paragraph-menu/component-keys.d.ts} +2 -5
  119. package/lib/types/views/paragraph-menu/theme-color.d.ts +17 -0
  120. package/lib/types/views/paragraph-setting/Setting.d.ts +1 -1
  121. package/lib/types/views/paragraph-setting/index.d.ts +1 -1
  122. package/lib/types/views/paragraph-setting/line-spacing.d.ts +51 -0
  123. package/lib/types/views/rich-text-editor/hooks/editor-undo-redo-keyboard.d.ts +32 -0
  124. package/lib/types/views/rich-text-editor/hooks/index.d.ts +1 -0
  125. package/lib/types/views/rich-text-editor/hooks/use-editor-click-outside.d.ts +2 -1
  126. package/lib/types/{components → views}/side-menu/SideMenu.stories.d.ts +5 -5
  127. package/lib/types/views/table/create/TableCreate.d.ts +1 -1
  128. package/lib/umd/facade.js +1 -5
  129. package/lib/umd/index.js +11 -26
  130. package/lib/umd/locale/ar-SA.js +1 -1
  131. package/lib/umd/locale/ca-ES.js +1 -1
  132. package/lib/umd/locale/de-DE.js +1 -1
  133. package/lib/umd/locale/en-US.js +1 -1
  134. package/lib/umd/locale/es-ES.js +1 -1
  135. package/lib/umd/locale/fa-IR.js +1 -1
  136. package/lib/umd/locale/fr-FR.js +1 -1
  137. package/lib/umd/locale/id-ID.js +1 -1
  138. package/lib/umd/locale/it-IT.js +1 -1
  139. package/lib/umd/locale/ja-JP.js +1 -1
  140. package/lib/umd/locale/ko-KR.js +1 -1
  141. package/lib/umd/locale/pl-PL.js +1 -1
  142. package/lib/umd/locale/pt-BR.js +1 -1
  143. package/lib/umd/locale/ru-RU.js +1 -1
  144. package/lib/umd/locale/sk-SK.js +1 -1
  145. package/lib/umd/locale/vi-VN.js +1 -1
  146. package/lib/umd/locale/zh-CN.js +1 -1
  147. package/lib/umd/locale/zh-HK.js +1 -1
  148. package/lib/umd/locale/zh-TW.js +1 -1
  149. package/package.json +12 -12
  150. package/lib/types/commands/commands/core-editing.command.d.ts +0 -58
  151. package/lib/types/components/paragraph-menu/index.d.ts +0 -41
  152. package/lib/types/facade/f-univer.d.ts +0 -52
  153. package/lib/types/services/doc-state-change-manager.service.d.ts +0 -50
  154. /package/lib/types/{components → views}/const.d.ts +0 -0
  155. /package/lib/types/{components → views}/editor/utils.d.ts +0 -0
  156. /package/lib/types/{components → views}/list-type-picker/index.d.ts +0 -0
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "Wyjustuj",
32
32
  horizontalLine: "Linia pozioma",
33
33
  headerFooter: "Nagłówek i stopka",
34
- pageSetup: "Ustawienia strony"
34
+ pageSetup: "Ustawienia strony",
35
+ heading: {
36
+ tooltip: "Heading",
37
+ normal: "Normal text",
38
+ leading1: "Heading 1",
39
+ leading2: "Heading 2",
40
+ leading3: "Heading 3",
41
+ leading4: "Heading 4",
42
+ leading5: "Heading 5",
43
+ title: "Title",
44
+ subTitle: "Subtitle"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "Wstaw",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "Zamknij nagłówek i stopkę",
56
67
  disableText: "Ustawienia nagłówka i stopki są wyłączone"
57
68
  },
69
+ placeholder: {
70
+ heading1: "Heading 1",
71
+ heading2: "Heading 2",
72
+ heading3: "Heading 3",
73
+ heading4: "Heading 4",
74
+ heading5: "Heading 5",
75
+ normalText: "Type text or press \"/\" for commands",
76
+ listItem: "Item"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Ustawienia akapitu" },
60
80
  slider: { paragraphSetting: "Ustawienia akapitu" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "Po",
71
91
  lineSpace: "Odstęp między wierszami",
72
92
  multiSpace: "Wielokrotny odstęp",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Wartość stała (px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "Lista zadań",
84
106
  insertBellow: "Wstaw poniżej"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "Align and indent",
110
+ align: "Align",
111
+ indent: "Indent",
112
+ color: "Colors",
113
+ increase: "Increase",
114
+ decrease: "Decrease",
115
+ increaseIndent: "Increase indent",
116
+ decreaseIndent: "Decrease indent",
117
+ defaultTextColor: "Default text color",
118
+ noBackground: "No background"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "Ustawienia dokumentu",
88
122
  mode: "Tryb",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "Justificar",
32
32
  horizontalLine: "Linha horizontal",
33
33
  headerFooter: "Cabeçalho e rodapé",
34
- pageSetup: "Configurar página"
34
+ pageSetup: "Configurar página",
35
+ heading: {
36
+ tooltip: "Heading",
37
+ normal: "Normal text",
38
+ leading1: "Heading 1",
39
+ leading2: "Heading 2",
40
+ leading3: "Heading 3",
41
+ leading4: "Heading 4",
42
+ leading5: "Heading 5",
43
+ title: "Title",
44
+ subTitle: "Subtitle"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "Inserir",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "Fechar cabeçalho e rodapé",
56
67
  disableText: "As configurações de cabeçalho e rodapé estão desativadas"
57
68
  },
69
+ placeholder: {
70
+ heading1: "Heading 1",
71
+ heading2: "Heading 2",
72
+ heading3: "Heading 3",
73
+ heading4: "Heading 4",
74
+ heading5: "Heading 5",
75
+ normalText: "Type text or press \"/\" for commands",
76
+ listItem: "Item"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Configurações de parágrafo" },
60
80
  slider: { paragraphSetting: "Configurações de parágrafo" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "Depois",
71
91
  lineSpace: "Espaçamento entre linhas",
72
92
  multiSpace: "Espaçamento múltiplo",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Valor fixo (px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "Lista de tarefas",
84
106
  insertBellow: "Inserir abaixo"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "Align and indent",
110
+ align: "Align",
111
+ indent: "Indent",
112
+ color: "Colors",
113
+ increase: "Increase",
114
+ decrease: "Decrease",
115
+ increaseIndent: "Increase indent",
116
+ decreaseIndent: "Decrease indent",
117
+ defaultTextColor: "Default text color",
118
+ noBackground: "No background"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "Configuração do documento",
88
122
  mode: "Modo",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "Выровнять по ширине",
32
32
  horizontalLine: "Горизонтальная линия",
33
33
  headerFooter: "Верхние и нижние колонтитулы",
34
- pageSetup: "Настройки страницы"
34
+ pageSetup: "Настройки страницы",
35
+ heading: {
36
+ tooltip: "Heading",
37
+ normal: "Normal text",
38
+ leading1: "Heading 1",
39
+ leading2: "Heading 2",
40
+ leading3: "Heading 3",
41
+ leading4: "Heading 4",
42
+ leading5: "Heading 5",
43
+ title: "Title",
44
+ subTitle: "Subtitle"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "Вставить",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "Закрыть верхний и нижний колонтитулы",
56
67
  disableText: "Настройки верхнего и нижнего колонтитулов отключены"
57
68
  },
69
+ placeholder: {
70
+ heading1: "Heading 1",
71
+ heading2: "Heading 2",
72
+ heading3: "Heading 3",
73
+ heading4: "Heading 4",
74
+ heading5: "Heading 5",
75
+ normalText: "Type text or press \"/\" for commands",
76
+ listItem: "Item"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Настройка абзаца" },
60
80
  slider: { paragraphSetting: "Настройка абзаца" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "После",
71
91
  lineSpace: "Высота строки",
72
92
  multiSpace: "Двойной отступ",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Фиксированное значение (px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "Список задач",
84
106
  insertBellow: "Вставить ниже"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "Align and indent",
110
+ align: "Align",
111
+ indent: "Indent",
112
+ color: "Colors",
113
+ increase: "Increase",
114
+ decrease: "Decrease",
115
+ increaseIndent: "Increase indent",
116
+ decreaseIndent: "Decrease indent",
117
+ defaultTextColor: "Default text color",
118
+ noBackground: "No background"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "Настройки документа",
88
122
  mode: "Режим",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "Zarovnať do bloku",
32
32
  horizontalLine: "Vodorovná čiara",
33
33
  headerFooter: "Hlavička a päta",
34
- pageSetup: "Nastavenie stránky"
34
+ pageSetup: "Nastavenie stránky",
35
+ heading: {
36
+ tooltip: "Heading",
37
+ normal: "Normal text",
38
+ leading1: "Heading 1",
39
+ leading2: "Heading 2",
40
+ leading3: "Heading 3",
41
+ leading4: "Heading 4",
42
+ leading5: "Heading 5",
43
+ title: "Title",
44
+ subTitle: "Subtitle"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "Vložiť",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "Zavrieť hlavičku a pätu",
56
67
  disableText: "Nastavenia hlavičky a päty sú vypnuté"
57
68
  },
69
+ placeholder: {
70
+ heading1: "Heading 1",
71
+ heading2: "Heading 2",
72
+ heading3: "Heading 3",
73
+ heading4: "Heading 4",
74
+ heading5: "Heading 5",
75
+ normalText: "Type text or press \"/\" for commands",
76
+ listItem: "Item"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Nastavenia odseku" },
60
80
  slider: { paragraphSetting: "Nastavenia odseku" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "Za",
71
91
  lineSpace: "Riadkovanie",
72
92
  multiSpace: "Viacnásobné",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Pevná hodnota (px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "Zoznam úloh",
84
106
  insertBellow: "Vložiť pod"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "Align and indent",
110
+ align: "Align",
111
+ indent: "Indent",
112
+ color: "Colors",
113
+ increase: "Increase",
114
+ decrease: "Decrease",
115
+ increaseIndent: "Increase indent",
116
+ decreaseIndent: "Decrease indent",
117
+ defaultTextColor: "Default text color",
118
+ noBackground: "No background"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "Nastavenia dokumentu",
88
122
  mode: "Režim",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "Căn đều hai bên",
32
32
  horizontalLine: "Horizontal line",
33
33
  headerFooter: "Đầu trang và chân trang",
34
- pageSetup: "Cài đặt trang"
34
+ pageSetup: "Cài đặt trang",
35
+ heading: {
36
+ tooltip: "Heading",
37
+ normal: "Normal text",
38
+ leading1: "Heading 1",
39
+ leading2: "Heading 2",
40
+ leading3: "Heading 3",
41
+ leading4: "Heading 4",
42
+ leading5: "Heading 5",
43
+ title: "Title",
44
+ subTitle: "Subtitle"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "Chèn",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "Đóng đầu trang và chân trang",
56
67
  disableText: "Cài đặt đầu trang và chân trang không khả dụng"
57
68
  },
69
+ placeholder: {
70
+ heading1: "Heading 1",
71
+ heading2: "Heading 2",
72
+ heading3: "Heading 3",
73
+ heading4: "Heading 4",
74
+ heading5: "Heading 5",
75
+ normalText: "Type text or press \"/\" for commands",
76
+ listItem: "Item"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Paragraph Setting" },
60
80
  slider: { paragraphSetting: "Paragraph Setting" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "After",
71
91
  lineSpace: "Line Space",
72
92
  multiSpace: "Multi Space",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Fixed Value(px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "Danh sách công việc",
84
106
  insertBellow: "Chèn dưới"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "Align and indent",
110
+ align: "Align",
111
+ indent: "Indent",
112
+ color: "Colors",
113
+ increase: "Increase",
114
+ decrease: "Decrease",
115
+ increaseIndent: "Increase indent",
116
+ decreaseIndent: "Decrease indent",
117
+ defaultTextColor: "Default text color",
118
+ noBackground: "No background"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "Cài đặt tài liệu",
88
122
  mode: "Chế độ",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "两端对齐",
32
32
  horizontalLine: "水平分割线",
33
33
  headerFooter: "页眉页脚",
34
- pageSetup: "页面设置"
34
+ pageSetup: "页面设置",
35
+ heading: {
36
+ tooltip: "标题",
37
+ normal: "普通文本",
38
+ leading1: "标题1",
39
+ leading2: "标题2",
40
+ leading3: "标题3",
41
+ leading4: "标题4",
42
+ leading5: "标题5",
43
+ title: "标题",
44
+ subTitle: "副标题"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "插入",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "关闭页眉页脚",
56
67
  disableText: "页眉页脚设置不可用"
57
68
  },
69
+ placeholder: {
70
+ heading1: "标题1",
71
+ heading2: "标题2",
72
+ heading3: "标题3",
73
+ heading4: "标题4",
74
+ heading5: "标题5",
75
+ normalText: "请输入文字或按\"/\"启用命令",
76
+ listItem: "项目"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "段落设置" },
60
80
  slider: { paragraphSetting: "段落设置" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "段落后",
71
91
  lineSpace: "行距",
72
92
  multiSpace: "多倍行距",
93
+ atLeast: "至少值(px)",
94
+ exactly: "固定值(px)",
73
95
  fixedValue: "固定值(px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "任务列表",
84
106
  insertBellow: "在下方插入"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "对齐和缩进",
110
+ align: "对齐",
111
+ indent: "缩进",
112
+ color: "颜色",
113
+ increase: "增加",
114
+ decrease: "减少",
115
+ increaseIndent: "增加缩进",
116
+ decreaseIndent: "减少缩进",
117
+ defaultTextColor: "默认文字颜色",
118
+ noBackground: "无背景色"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "文档设置",
88
122
  mode: "模式",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "兩端對齊",
32
32
  horizontalLine: "Horizontal line",
33
33
  headerFooter: "頁眉頁腳",
34
- pageSetup: "頁面設置"
34
+ pageSetup: "頁面設置",
35
+ heading: {
36
+ tooltip: "Heading",
37
+ normal: "Normal text",
38
+ leading1: "Heading 1",
39
+ leading2: "Heading 2",
40
+ leading3: "Heading 3",
41
+ leading4: "Heading 4",
42
+ leading5: "Heading 5",
43
+ title: "Title",
44
+ subTitle: "Subtitle"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "Insert",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "關閉頁眉頁腳",
56
67
  disableText: "頁眉頁腳設置不可用"
57
68
  },
69
+ placeholder: {
70
+ heading1: "標題1",
71
+ heading2: "標題2",
72
+ heading3: "標題3",
73
+ heading4: "標題4",
74
+ heading5: "標題5",
75
+ normalText: "請輸入文字或按\"/\"啟用命令",
76
+ listItem: "項目"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Paragraph Setting" },
60
80
  slider: { paragraphSetting: "Paragraph Setting" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "After",
71
91
  lineSpace: "Line Space",
72
92
  multiSpace: "Multi Space",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Fixed Value(px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "任務列表",
84
106
  insertBellow: "在下方插入"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "對齊與縮進",
110
+ align: "對齊",
111
+ indent: "縮進",
112
+ color: "顏色",
113
+ increase: "增加",
114
+ decrease: "減少",
115
+ increaseIndent: "增加縮進",
116
+ decreaseIndent: "減少縮進",
117
+ defaultTextColor: "預設文字顏色",
118
+ noBackground: "無背景色"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "文檔設置",
88
122
  mode: "模式",
@@ -31,7 +31,18 @@ const locale = { "docs-ui": {
31
31
  alignJustify: "兩端對齊",
32
32
  horizontalLine: "Horizontal line",
33
33
  headerFooter: "頁眉頁腳",
34
- pageSetup: "頁面設置"
34
+ pageSetup: "頁面設置",
35
+ heading: {
36
+ tooltip: "標題",
37
+ normal: "普通文字",
38
+ leading1: "標題1",
39
+ leading2: "標題2",
40
+ leading3: "標題3",
41
+ leading4: "標題4",
42
+ leading5: "標題5",
43
+ title: "標題",
44
+ subTitle: "副標題"
45
+ }
35
46
  },
36
47
  table: {
37
48
  insert: "插入",
@@ -55,6 +66,15 @@ const locale = { "docs-ui": {
55
66
  closeHeaderFooter: "關閉頁眉頁腳",
56
67
  disableText: "頁眉頁腳設置不可用"
57
68
  },
69
+ placeholder: {
70
+ heading1: "標題1",
71
+ heading2: "標題2",
72
+ heading3: "標題3",
73
+ heading4: "標題4",
74
+ heading5: "標題5",
75
+ normalText: "請輸入文字或按\"/\"啟用命令",
76
+ listItem: "項目"
77
+ },
58
78
  doc: {
59
79
  menu: { paragraphSetting: "Paragraph Setting" },
60
80
  slider: { paragraphSetting: "Paragraph Setting" },
@@ -70,6 +90,8 @@ const locale = { "docs-ui": {
70
90
  after: "After",
71
91
  lineSpace: "Line Space",
72
92
  multiSpace: "Multi Space",
93
+ atLeast: "At Least (px)",
94
+ exactly: "Exactly (px)",
73
95
  fixedValue: "Fixed Value(px)"
74
96
  }
75
97
  },
@@ -83,6 +105,18 @@ const locale = { "docs-ui": {
83
105
  checkList: "任務列表",
84
106
  insertBellow: "在下方插入"
85
107
  },
108
+ paragraphMenu: {
109
+ alignAndIndent: "對齊與縮排",
110
+ align: "對齊",
111
+ indent: "縮排",
112
+ color: "顏色",
113
+ increase: "增加",
114
+ decrease: "減少",
115
+ increaseIndent: "增加縮排",
116
+ decreaseIndent: "減少縮排",
117
+ defaultTextColor: "預設文字顏色",
118
+ noBackground: "無背景色"
119
+ },
86
120
  "page-settings": {
87
121
  "document-setting": "文檔設置",
88
122
  mode: "模式",