@univerjs/sheets-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 (192) hide show
  1. package/lib/cjs/facade.js +210 -265
  2. package/lib/cjs/index.js +8701 -8639
  3. package/lib/cjs/locale/ar-SA.js +4 -1
  4. package/lib/cjs/locale/ca-ES.js +4 -1
  5. package/lib/cjs/locale/de-DE.js +4 -1
  6. package/lib/cjs/locale/en-US.js +4 -1
  7. package/lib/cjs/locale/es-ES.js +4 -1
  8. package/lib/cjs/locale/fa-IR.js +4 -1
  9. package/lib/cjs/locale/fr-FR.js +4 -1
  10. package/lib/cjs/locale/id-ID.js +4 -1
  11. package/lib/cjs/locale/it-IT.js +4 -1
  12. package/lib/cjs/locale/ja-JP.js +4 -1
  13. package/lib/cjs/locale/ko-KR.js +4 -1
  14. package/lib/cjs/locale/pl-PL.js +4 -1
  15. package/lib/cjs/locale/pt-BR.js +4 -1
  16. package/lib/cjs/locale/ru-RU.js +4 -1
  17. package/lib/cjs/locale/sk-SK.js +4 -1
  18. package/lib/cjs/locale/vi-VN.js +4 -1
  19. package/lib/cjs/locale/zh-CN.js +4 -1
  20. package/lib/cjs/locale/zh-HK.js +4 -1
  21. package/lib/cjs/locale/zh-TW.js +4 -1
  22. package/lib/es/facade.js +211 -266
  23. package/lib/es/index.js +9031 -8951
  24. package/lib/es/locale/ar-SA.js +4 -1
  25. package/lib/es/locale/ca-ES.js +4 -1
  26. package/lib/es/locale/de-DE.js +4 -1
  27. package/lib/es/locale/en-US.js +4 -1
  28. package/lib/es/locale/es-ES.js +4 -1
  29. package/lib/es/locale/fa-IR.js +4 -1
  30. package/lib/es/locale/fr-FR.js +4 -1
  31. package/lib/es/locale/id-ID.js +4 -1
  32. package/lib/es/locale/it-IT.js +4 -1
  33. package/lib/es/locale/ja-JP.js +4 -1
  34. package/lib/es/locale/ko-KR.js +4 -1
  35. package/lib/es/locale/pl-PL.js +4 -1
  36. package/lib/es/locale/pt-BR.js +4 -1
  37. package/lib/es/locale/ru-RU.js +4 -1
  38. package/lib/es/locale/sk-SK.js +4 -1
  39. package/lib/es/locale/vi-VN.js +4 -1
  40. package/lib/es/locale/zh-CN.js +4 -1
  41. package/lib/es/locale/zh-HK.js +4 -1
  42. package/lib/es/locale/zh-TW.js +4 -1
  43. package/lib/facade.js +211 -266
  44. package/lib/index.css +0 -8
  45. package/lib/index.js +9031 -8951
  46. package/lib/locale/ar-SA.js +4 -1
  47. package/lib/locale/ca-ES.js +4 -1
  48. package/lib/locale/de-DE.js +4 -1
  49. package/lib/locale/en-US.js +4 -1
  50. package/lib/locale/es-ES.js +4 -1
  51. package/lib/locale/fa-IR.js +4 -1
  52. package/lib/locale/fr-FR.js +4 -1
  53. package/lib/locale/id-ID.js +4 -1
  54. package/lib/locale/it-IT.js +4 -1
  55. package/lib/locale/ja-JP.js +4 -1
  56. package/lib/locale/ko-KR.js +4 -1
  57. package/lib/locale/pl-PL.js +4 -1
  58. package/lib/locale/pt-BR.js +4 -1
  59. package/lib/locale/ru-RU.js +4 -1
  60. package/lib/locale/sk-SK.js +4 -1
  61. package/lib/locale/vi-VN.js +4 -1
  62. package/lib/locale/zh-CN.js +4 -1
  63. package/lib/locale/zh-HK.js +4 -1
  64. package/lib/locale/zh-TW.js +4 -1
  65. package/lib/types/basics/editor/range.d.ts +2 -1
  66. package/lib/types/consts/permission.d.ts +0 -5
  67. package/lib/types/controllers/cell-alert.controller.d.ts +0 -1
  68. package/lib/types/controllers/clipboard/utils.d.ts +17 -64
  69. package/lib/types/controllers/components.controller.d.ts +26 -0
  70. package/lib/types/controllers/editor/editing.render-controller.d.ts +6 -0
  71. package/lib/types/controllers/force-string-alert-render.controller.d.ts +1 -4
  72. package/lib/types/controllers/mobile/{mobile-sheet-ui.controller.d.ts → ui-mobile.controller.d.ts} +2 -6
  73. package/lib/types/controllers/permission/sheet-permission-render.controller.d.ts +3 -4
  74. package/lib/types/controllers/shortcuts/style.shortcut.d.ts +2 -0
  75. package/lib/types/controllers/{sheet-ui.controller.d.ts → ui.controller.d.ts} +2 -4
  76. package/lib/types/facade/f-event.d.ts +9 -19
  77. package/lib/types/facade/f-univer.d.ts +9 -20
  78. package/lib/types/facade/f-workbook.d.ts +3 -54
  79. package/lib/types/facade/f-worksheet.d.ts +1 -6
  80. package/lib/types/facade/index.d.ts +0 -4
  81. package/lib/types/index.d.ts +43 -36
  82. package/lib/types/locale/en-US.d.ts +3 -0
  83. package/lib/types/locale/types.d.ts +18 -0
  84. package/lib/types/menu/border.menu.d.ts +2 -1
  85. package/lib/types/menu/clear.menu.d.ts +6 -5
  86. package/lib/types/menu/delete.menu.d.ts +6 -5
  87. package/lib/types/menu/font.menu.d.ts +3 -2
  88. package/lib/types/menu/frozen.menu.d.ts +10 -9
  89. package/lib/types/menu/gridlines.menu.d.ts +2 -1
  90. package/lib/types/menu/insert.menu.d.ts +16 -15
  91. package/lib/types/menu/menu.d.ts +32 -31
  92. package/lib/types/menu/merge.menu.d.ts +6 -5
  93. package/lib/types/menu/permission.menu.d.ts +11 -10
  94. package/lib/types/menu/sheet.menu.d.ts +8 -7
  95. package/lib/types/menu/text-to-number.menu.d.ts +3 -2
  96. package/lib/types/mobile-plugin.d.ts +1 -3
  97. package/lib/types/plugin.d.ts +1 -3
  98. package/lib/types/services/cell-alert-manager.service.d.ts +3 -2
  99. package/lib/types/services/cell-dropdown-manager.service.d.ts +2 -3
  100. package/lib/types/services/clipboard/html-to-usm/converter.d.ts +6 -0
  101. package/lib/types/services/sheet-bar/sheet-bar.service.d.ts +1 -1
  102. package/lib/types/{views/permission/permission-dialog/index.d.ts → services/sheet-bar/type.d.ts} +4 -1
  103. package/lib/types/views/{cell-popup/index.d.ts → CellPopup.d.ts} +1 -1
  104. package/lib/types/views/auto-fill-popup-menu/AutoFillPopupMenu.d.ts +1 -1
  105. package/lib/types/{components → views}/border-panel/BorderPanel.d.ts +1 -1
  106. package/lib/types/{components → views}/border-panel/border-line/BorderLine.d.ts +1 -1
  107. package/lib/types/{components → views}/border-panel/border-line/icons/BorderDashDot.d.ts +1 -1
  108. package/lib/types/{components → views}/border-panel/border-line/icons/BorderDashDotDot.d.ts +1 -1
  109. package/lib/types/{components → views}/border-panel/border-line/icons/BorderDashed.d.ts +1 -1
  110. package/lib/types/{components → views}/border-panel/border-line/icons/BorderDotted.d.ts +1 -1
  111. package/lib/types/{components → views}/border-panel/border-line/icons/BorderDouble.d.ts +1 -1
  112. package/lib/types/{components → views}/border-panel/border-line/icons/BorderHair.d.ts +1 -1
  113. package/lib/types/{components → views}/border-panel/border-line/icons/BorderMedium.d.ts +1 -1
  114. package/lib/types/{components → views}/border-panel/border-line/icons/BorderMediumDashDot.d.ts +1 -1
  115. package/lib/types/{components → views}/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +1 -1
  116. package/lib/types/{components → views}/border-panel/border-line/icons/BorderMediumDashed.d.ts +1 -1
  117. package/lib/types/{components → views}/border-panel/border-line/icons/BorderThick.d.ts +1 -1
  118. package/lib/types/{components → views}/border-panel/border-line/icons/BorderThin.d.ts +1 -1
  119. package/lib/types/views/cell-alert/CellAlertPopup.d.ts +1 -1
  120. package/lib/types/views/clipboard/ClipboardPopupMenu.d.ts +1 -1
  121. package/lib/types/views/defined-name/DefinedName.d.ts +1 -1
  122. package/lib/types/views/defined-name/DefinedNameContainer.d.ts +1 -1
  123. package/lib/types/views/defined-name/DefinedNameInput.d.ts +1 -1
  124. package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +1 -1
  125. package/lib/types/views/dropdown/{cascader-dropdown/index.d.ts → CascaderDropdown.d.ts} +2 -2
  126. package/lib/types/views/dropdown/{color-dropdown/index.d.ts → ColorDropdown.d.ts} +2 -2
  127. package/lib/types/views/dropdown/{date-dropdown/index.d.ts → DateDropdown.d.ts} +2 -2
  128. package/lib/types/views/dropdown/{list-dropdown/index.d.ts → ListDropDown.d.ts} +2 -2
  129. package/lib/types/views/dropdown/index.d.ts +12 -12
  130. package/lib/types/views/editor-container/EditorContainer.d.ts +1 -1
  131. package/lib/types/views/editor-container/hooks.d.ts +1 -1
  132. package/lib/types/views/formula-bar/FormulaBar.d.ts +1 -1
  133. package/lib/types/{components → views}/menu-item-frozen/MenuItemFrozen.d.ts +1 -1
  134. package/lib/types/{components → views}/menu-item-input/MenuItemInput.d.ts +1 -1
  135. package/lib/types/views/mobile/sheet-bar/MobileSheetBar.d.ts +1 -1
  136. package/lib/types/views/permission/{error-msg-dialog/index.d.ts → AlertDialog.d.ts} +1 -1
  137. package/lib/types/views/permission/SheetPermissionDialog.d.ts +16 -0
  138. package/lib/types/views/permission/{panel/index.d.ts → SheetPermissionPanel.d.ts} +2 -2
  139. package/lib/types/views/permission/{panel-list/index.d.ts → SheetPermissionPanelList.d.ts} +1 -1
  140. package/lib/types/views/permission/{user-dialog/index.d.ts → SheetPermissionUserDialog.d.ts} +1 -1
  141. package/lib/types/views/permission/{spin/index.d.ts → Spin.d.ts} +1 -1
  142. package/lib/types/views/permission/index.d.ts +4 -4
  143. package/lib/types/views/permission/panel-detail/PermissionDetailFooterPart.d.ts +1 -1
  144. package/lib/types/views/permission/panel-detail/PermissionDetailMainPart.d.ts +1 -1
  145. package/lib/types/views/permission/panel-detail/PermissionDetailPanel.d.ts +1 -1
  146. package/lib/types/views/permission/panel-detail/PermissionDetailUserPart.d.ts +1 -1
  147. package/lib/types/views/permission/util.d.ts +2 -1
  148. package/lib/types/views/sheet-bar/SheetBar.d.ts +1 -1
  149. package/lib/types/views/sheet-bar/sheet-bar-button/SheetBarButton.d.ts +1 -1
  150. package/lib/types/views/sheet-bar/sheet-bar-menu/SheetBarMenu.d.ts +1 -1
  151. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +1 -1
  152. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabs.d.ts +1 -1
  153. package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarTabsContextMenu.d.ts +1 -1
  154. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/animate.d.ts +3 -3
  155. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/sheet-tab-drag-sort.d.ts +26 -0
  156. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/sheet-tab-name-editor.d.ts +26 -0
  157. package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +6 -8
  158. package/lib/types/views/sheet-container/SheetContainer.d.ts +3 -3
  159. package/lib/types/views/sheet-slider/CountBar.d.ts +1 -1
  160. package/lib/types/views/sheet-slider/ZoomSlider.d.ts +1 -1
  161. package/lib/types/views/status-bar/StatusBar.d.ts +1 -1
  162. package/lib/umd/facade.js +1 -1
  163. package/lib/umd/index.js +12 -15
  164. package/lib/umd/locale/ar-SA.js +1 -1
  165. package/lib/umd/locale/ca-ES.js +1 -1
  166. package/lib/umd/locale/de-DE.js +1 -1
  167. package/lib/umd/locale/en-US.js +1 -1
  168. package/lib/umd/locale/es-ES.js +1 -1
  169. package/lib/umd/locale/fa-IR.js +1 -1
  170. package/lib/umd/locale/fr-FR.js +1 -1
  171. package/lib/umd/locale/id-ID.js +1 -1
  172. package/lib/umd/locale/it-IT.js +1 -1
  173. package/lib/umd/locale/ja-JP.js +1 -1
  174. package/lib/umd/locale/ko-KR.js +1 -1
  175. package/lib/umd/locale/pl-PL.js +1 -1
  176. package/lib/umd/locale/pt-BR.js +1 -1
  177. package/lib/umd/locale/ru-RU.js +1 -1
  178. package/lib/umd/locale/sk-SK.js +1 -1
  179. package/lib/umd/locale/vi-VN.js +1 -1
  180. package/lib/umd/locale/zh-CN.js +1 -1
  181. package/lib/umd/locale/zh-HK.js +1 -1
  182. package/lib/umd/locale/zh-TW.js +1 -1
  183. package/package.json +15 -15
  184. package/lib/types/facade/f-sheet-hooks.d.ts +0 -125
  185. package/lib/types/facade/f-workbook-permission.d.ts +0 -39
  186. /package/lib/types/{components → views}/border-panel/interface.d.ts +0 -0
  187. /package/lib/types/{components → views}/const.d.ts +0 -0
  188. /package/lib/types/{components → views}/hook.d.ts +0 -0
  189. /package/lib/types/{components → views}/menu-item-frozen/index.d.ts +0 -0
  190. /package/lib/types/{components → views}/menu-item-frozen/interface.d.ts +0 -0
  191. /package/lib/types/{components → views}/menu-item-input/index.d.ts +0 -0
  192. /package/lib/types/{components → views}/menu-item-input/interface.d.ts +0 -0
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "لصق التنسيق",
146
146
  pasteColWidth: "لصق عرض العمود",
147
147
  pasteBesidesBorder: "لصق باستثناء أنماط الحدود",
148
+ pasteFormula: "لصق الصيغة",
148
149
  insert: "إدراج",
149
150
  insertRow: "إدراج صف",
150
151
  insertRowBefore: "إدراج صف قبل",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "يقتصر نطاق الزيادة على 1-100",
237
238
  tipRowHeightLimit: "يجب أن يكون ارتفاع الصف بين 0 ~ 545",
238
239
  tipColumnWidthLimit: "يجب أن يكون عرض العمود بين 0 ~ 2038",
239
- problem: "حدثت مشكلة"
240
+ problem: "حدثت مشكلة",
241
+ error: "خطأ",
242
+ forceStringInfo: "رقم مخزن كنص"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Enganxar només el format",
146
146
  pasteColWidth: "Enganxar l'amplada de la columna",
147
147
  pasteBesidesBorder: "Enganxar excepte les vores",
148
+ pasteFormula: "Enganxa la fórmula",
148
149
  insert: "Inserir",
149
150
  insertRow: "Inserir fila",
150
151
  insertRowBefore: "Inserir fila abans",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "L'interval d'augment està limitat a 1-100",
237
238
  tipRowHeightLimit: "L'alçada de la fila ha d'estar entre 0 i 545",
238
239
  tipColumnWidthLimit: "L'amplada de la columna ha d'estar entre 0 i 2038",
239
- problem: "Hi ha hagut un problema"
240
+ problem: "Hi ha hagut un problema",
241
+ error: "Error",
242
+ forceStringInfo: "Número emmagatzemat com a text"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Formatierung einfügen",
146
146
  pasteColWidth: "Spaltenbreite einfügen",
147
147
  pasteBesidesBorder: "Rahmenstile einfügen",
148
+ pasteFormula: "Formel einfügen",
148
149
  insert: "Einfügen",
149
150
  insertRow: "Zeile einfügen",
150
151
  insertRowBefore: "Zeile davor einfügen",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "Der Erhöhungsbereich ist auf 1–100 begrenzt",
237
238
  tipRowHeightLimit: "Die Zeilenhöhe muss zwischen 0 und 545 liegen",
238
239
  tipColumnWidthLimit: "Die Spaltenbreite muss zwischen 0 und 2038 liegen",
239
- problem: "Es ist ein Problem aufgetreten"
240
+ problem: "Es ist ein Problem aufgetreten",
241
+ error: "Fehler",
242
+ forceStringInfo: "Zahl als Text gespeichert"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -160,6 +160,7 @@ const locale = { "sheets-ui": {
160
160
  pasteFormat: "Paste Format",
161
161
  pasteColWidth: "Paste Column Width",
162
162
  pasteBesidesBorder: "Paste Besides Border Styles",
163
+ pasteFormula: "Paste Formula",
163
164
  insert: "Insert",
164
165
  insertRow: "Insert Row",
165
166
  insertRowBefore: "Insert Row Before",
@@ -251,7 +252,9 @@ const locale = { "sheets-ui": {
251
252
  tipInputNumberLimit: "The increase range is limited to 1-100",
252
253
  tipRowHeightLimit: "Row height must be between 0 ~ 545",
253
254
  tipColumnWidthLimit: "The column width must be between 0 ~ 2038",
254
- problem: "There was a problem"
255
+ problem: "There was a problem",
256
+ error: "Error",
257
+ forceStringInfo: "Number stored as text"
255
258
  },
256
259
  clipboard: {
257
260
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Pegar solo formato",
146
146
  pasteColWidth: "Pegar ancho de columna",
147
147
  pasteBesidesBorder: "Pegar todo excepto los bordes",
148
+ pasteFormula: "Pegar fórmula",
148
149
  insert: "Insertar",
149
150
  insertRow: "Insertar fila",
150
151
  insertRowBefore: "Insertar fila antes",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "El rango de aumento está limitado a 1-100",
237
238
  tipRowHeightLimit: "La altura de la fila debe estar entre 0 y 545",
238
239
  tipColumnWidthLimit: "El ancho de la columna debe estar entre 0 y 2038",
239
- problem: "Ha habido un problema"
240
+ problem: "Ha habido un problema",
241
+ error: "Error",
242
+ forceStringInfo: "Número almacenado como texto"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "چسباندن قالب",
146
146
  pasteColWidth: "چسباندن عرض ستون",
147
147
  pasteBesidesBorder: "چسباندن کنار سبک‌های مرز",
148
+ pasteFormula: "چسباندن فرمول",
148
149
  insert: "درج",
149
150
  insertRow: "درج سطر",
150
151
  insertRowBefore: "درج سطر قبل از",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "محدوده افزایش محدود به 1-100 است",
237
238
  tipRowHeightLimit: "ارتفاع سطر باید بین 0 ~ 545 باشد",
238
239
  tipColumnWidthLimit: "عرض ستون باید بین 0 ~ 2038 باشد",
239
- problem: "مشکلی پیش آمد"
240
+ problem: "مشکلی پیش آمد",
241
+ error: "خطا",
242
+ forceStringInfo: "عدد به عنوان متن ذخیره شده"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Coller le format",
146
146
  pasteColWidth: "Coller la largeur de la colonne",
147
147
  pasteBesidesBorder: "Coller à côté des styles de bordure",
148
+ pasteFormula: "Coller la formule",
148
149
  insert: "Insérer",
149
150
  insertRow: "Insérer une ligne",
150
151
  insertRowBefore: "Insérer une ligne avant",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "L'augmentatiion de la plage est limitée à 1-100",
237
238
  tipRowHeightLimit: "La hauteur de la ligne doit être comprise entre 0 et 545",
238
239
  tipColumnWidthLimit: "La largeur de la colonne doit être comprise entre 0 et 2038",
239
- problem: "Il y a eu un problème"
240
+ problem: "Il y a eu un problème",
241
+ error: "Erreur",
242
+ forceStringInfo: "Nombre stocké en tant que texte"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Tempel Format",
146
146
  pasteColWidth: "Tempel Lebar Kolom",
147
147
  pasteBesidesBorder: "Tempel Tanpa Gaya Batas",
148
+ pasteFormula: "Tempel Rumus",
148
149
  insert: "Sisipkan",
149
150
  insertRow: "Sisipkan Baris",
150
151
  insertRowBefore: "Sisipkan Baris Sebelum",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "Rentang peningkatan dibatasi hingga 1-100",
237
238
  tipRowHeightLimit: "Tinggi baris harus antara 0 ~ 545",
238
239
  tipColumnWidthLimit: "Lebar kolom harus antara 0 ~ 2038",
239
- problem: "Terjadi masalah"
240
+ problem: "Terjadi masalah",
241
+ error: "Kesalahan",
242
+ forceStringInfo: "Angka disimpan sebagai teks"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Incolla formato",
146
146
  pasteColWidth: "Incolla larghezza colonna",
147
147
  pasteBesidesBorder: "Incolla esclusi stili bordo",
148
+ pasteFormula: "Incolla formula",
148
149
  insert: "Inserisci",
149
150
  insertRow: "Inserisci riga",
150
151
  insertRowBefore: "Inserisci riga prima",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "L'incremento è limitato a 1-100",
237
238
  tipRowHeightLimit: "L'altezza della riga deve essere compresa tra 0 ~ 545",
238
239
  tipColumnWidthLimit: "La larghezza della colonna deve essere compresa tra 0 ~ 2038",
239
- problem: "Si è verificato un problema"
240
+ problem: "Si è verificato un problema",
241
+ error: "Errore",
242
+ forceStringInfo: "Numero memorizzato come testo"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "書式を貼り付け",
146
146
  pasteColWidth: "列幅を貼り付け",
147
147
  pasteBesidesBorder: "罫線スタイルを貼り付け",
148
+ pasteFormula: "数式を貼り付け",
148
149
  insert: "挿入",
149
150
  insertRow: "行を挿入",
150
151
  insertRowBefore: "前に行を挿入",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "増分は1〜100の範囲で制限されます",
237
238
  tipRowHeightLimit: "行の高さは0〜545の範囲である必要があります",
238
239
  tipColumnWidthLimit: "列幅は0〜2038の範囲である必要があります",
239
- problem: "問題が発生しました"
240
+ problem: "問題が発生しました",
241
+ error: "エラー",
242
+ forceStringInfo: "数値がテキストとして保存されました"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "서식 붙여넣기",
146
146
  pasteColWidth: "열 너비 붙여넣기",
147
147
  pasteBesidesBorder: "테두리 스타일 붙여넣기",
148
+ pasteFormula: "수식 붙여넣기",
148
149
  insert: "삽입",
149
150
  insertRow: "행 삽입",
150
151
  insertRowBefore: "앞에 행 삽입",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "증가 범위는 1-100 사이로 제한됩니다",
237
238
  tipRowHeightLimit: "행 높이는 0 ~ 545 사이여야 합니다",
238
239
  tipColumnWidthLimit: "열 너비는 0 ~ 2038 사이여야 합니다",
239
- problem: "문제가 발생했습니다"
240
+ problem: "문제가 발생했습니다",
241
+ error: "오류",
242
+ forceStringInfo: "숫자가 텍스트로 저장되었습니다"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Wklej format",
146
146
  pasteColWidth: "Wklej szerokość kolumny",
147
147
  pasteBesidesBorder: "Wklej oprócz stylów obramowania",
148
+ pasteFormula: "Wklej formułę",
148
149
  insert: "Wstaw",
149
150
  insertRow: "Wstaw wiersz",
150
151
  insertRowBefore: "Wstaw wiersz przed",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "Zakres zwiększenia jest ograniczony do 1-100",
237
238
  tipRowHeightLimit: "Wysokość wiersza musi wynosić od 0 do 545",
238
239
  tipColumnWidthLimit: "Szerokość kolumny musi wynosić od 0 do 2038",
239
- problem: "Wystąpił problem"
240
+ problem: "Wystąpił problem",
241
+ error: "Błąd",
242
+ forceStringInfo: "Liczba przechowywana jako tekst"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Colar formatação",
146
146
  pasteColWidth: "Colar largura da coluna",
147
147
  pasteBesidesBorder: "Colar exceto estilos de borda",
148
+ pasteFormula: "Colar Fórmula",
148
149
  insert: "Inserir",
149
150
  insertRow: "Inserir linha",
150
151
  insertRowBefore: "Inserir linha antes",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "O intervalo de aumento é limitado a 1-100",
237
238
  tipRowHeightLimit: "A altura da linha deve estar entre 0 ~ 545",
238
239
  tipColumnWidthLimit: "A largura da coluna deve estar entre 0 ~ 2038",
239
- problem: "Ocorreu um problema"
240
+ problem: "Ocorreu um problema",
241
+ error: "Erro",
242
+ forceStringInfo: "Número armazenado como texto"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Вставить формат",
146
146
  pasteColWidth: "Вставить ширину столбца",
147
147
  pasteBesidesBorder: "Вставить кроме стилей границы",
148
+ pasteFormula: "Вставить Формулу",
148
149
  insert: "Вставить",
149
150
  insertRow: "Вставить строку",
150
151
  insertRowBefore: "Вставить строку выше",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "Диапазон увеличения ограничен от 1 до 100",
237
238
  tipRowHeightLimit: "Высота строки должна быть в пределах от 0 до 545",
238
239
  tipColumnWidthLimit: "Ширина столбца должна быть в пределах от 0 до 2038",
239
- problem: "Произошла проблема"
240
+ problem: "Произошла проблема",
241
+ error: "Ошибка",
242
+ forceStringInfo: "Число хранится как текст"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Prilepiť formát",
146
146
  pasteColWidth: "Prilepiť šírku stĺpca",
147
147
  pasteBesidesBorder: "Prilepiť bez štýlov ohraničenia",
148
+ pasteFormula: "Prilepiť vzorec",
148
149
  insert: "Vložiť",
149
150
  insertRow: "Vložiť riadok",
150
151
  insertRowBefore: "Vložiť riadok pred",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "Rozsah zvýšenia je obmedzený na 1-100",
237
238
  tipRowHeightLimit: "Výška riadku musí byť medzi 0 ~ 545",
238
239
  tipColumnWidthLimit: "Šírka stĺpca musí byť medzi 0 ~ 2038",
239
- problem: "Vyskytol sa problém"
240
+ problem: "Vyskytol sa problém",
241
+ error: "Chyba",
242
+ forceStringInfo: "Číslo uložené ako text"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "Chỉ dán định dạng",
146
146
  pasteColWidth: "Chỉ dán độ rộng cột",
147
147
  pasteBesidesBorder: "Chỉ dán nội dung ngoài đường viền",
148
+ pasteFormula: "Chỉ dán công thức",
148
149
  insert: "Chèn",
149
150
  insertRow: "Chèn hàng",
150
151
  insertRowBefore: "Chèn hàng phía trên",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "Phạm vi tăng giới hạn từ 1-100",
237
238
  tipRowHeightLimit: "Chiều cao hàng phải từ 0 ~ 545",
238
239
  tipColumnWidthLimit: "Độ rộng cột phải từ 0 ~ 2038",
239
- problem: "Đã xảy ra một vấn đề"
240
+ problem: "Đã xảy ra một vấn đề",
241
+ error: "Lỗi",
242
+ forceStringInfo: "Số được lưu trữ dưới dạng văn bản"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "仅粘贴格式",
146
146
  pasteColWidth: "仅粘贴列宽",
147
147
  pasteBesidesBorder: "仅粘贴边框以外内容",
148
+ pasteFormula: "仅粘贴公式",
148
149
  insert: "插入",
149
150
  insertRow: "插入行",
150
151
  insertRowBefore: "在上方插入行",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "增加范围限制在1-100",
237
238
  tipRowHeightLimit: "行高必须在0 ~ 545之间",
238
239
  tipColumnWidthLimit: "列宽必须在0 ~ 2038之间",
239
- problem: "出现了一个问题"
240
+ problem: "出现了一个问题",
241
+ error: "错误",
242
+ forceStringInfo: "以文本形式存储的数字"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "僅貼上格式",
146
146
  pasteColWidth: "僅貼上欄寬",
147
147
  pasteBesidesBorder: "僅貼上邊框以外內容",
148
+ pasteFormula: "僅貼上公式",
148
149
  insert: "插入",
149
150
  insertRow: "插入列",
150
151
  insertRowBefore: "上方插入列",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "增加範圍限制在1-100",
237
238
  tipRowHeightLimit: "列高必須在 0 ~ 545 之間",
238
239
  tipColumnWidthLimit: "欄寬必須在 0 ~ 2038 之間",
239
- problem: "出現了一個問題"
240
+ problem: "出現了一個問題",
241
+ error: "錯誤",
242
+ forceStringInfo: "以文字形式儲存的數字"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -145,6 +145,7 @@ const locale = { "sheets-ui": {
145
145
  pasteFormat: "僅貼上格式",
146
146
  pasteColWidth: "僅貼上欄寬",
147
147
  pasteBesidesBorder: "僅貼上邊框以外內容",
148
+ pasteFormula: "僅貼上公式",
148
149
  insert: "插入",
149
150
  insertRow: "插入列",
150
151
  insertRowBefore: "上方插入列",
@@ -236,7 +237,9 @@ const locale = { "sheets-ui": {
236
237
  tipInputNumberLimit: "增加範圍限制在1-100",
237
238
  tipRowHeightLimit: "列高必須在 0 ~ 545 之間",
238
239
  tipColumnWidthLimit: "欄寬必須在 0 ~ 2038 之間",
239
- problem: "出現了一個問題"
240
+ problem: "出現了一個問題",
241
+ error: "錯誤",
242
+ forceStringInfo: "以文字形式儲存的數字"
240
243
  },
241
244
  clipboard: {
242
245
  paste: {
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import type { Nullable } from '@univerjs/core';
17
17
  import type { Editor, IRichTextEditorProps } from '@univerjs/docs-ui';
18
+ import type { RefObject } from 'react';
18
19
  export interface IRangeSelectorInstance {
19
20
  editor: Nullable<Editor>;
20
21
  blur: () => void;
@@ -27,7 +28,7 @@ export interface IRangeSelectorProps extends IRichTextEditorProps {
27
28
  subUnitId: string;
28
29
  maxRangeCount?: number;
29
30
  supportAcrossSheet?: boolean;
30
- selectorRef?: React.RefObject<IRangeSelectorInstance>;
31
+ selectorRef?: RefObject<IRangeSelectorInstance>;
31
32
  onVerify?: (res: boolean, rangeText: string) => void;
32
33
  onRangeSelectorDialogVisibleChange?: (visible: boolean) => void;
33
34
  }
@@ -24,8 +24,3 @@ export declare const UNIVER_SHEET_PERMISSION_USER_DIALOG_ID = "UNIVER_SHEET_PERM
24
24
  export declare const UNIVER_SHEET_PERMISSION_DIALOG_ID = "UNIVER_SHEET_PERMISSION_DIALOG_ID";
25
25
  export declare const subUnitPermissionTypeMap: Partial<Record<UnitAction, string>>;
26
26
  export declare const defaultWorksheetUnitActionList: UnitAction[];
27
- export declare const permissionMenuIconKey = "sheet-permission-menu-icon";
28
- export declare const permissionDeleteIconKey = "sheet-permission-delete-icon";
29
- export declare const permissionEditIconKey = "sheet-permission-edit-icon";
30
- export declare const permissionCheckIconKey = "sheet-permission-check-icon";
31
- export declare const permissionLockIconKey = "sheet-permission-lock-icon";
@@ -21,5 +21,4 @@ export declare class CellAlertRenderController extends Disposable implements IRe
21
21
  private readonly _context;
22
22
  private _componentManager;
23
23
  constructor(_context: IRenderContext<Workbook>, _componentManager: ComponentManager);
24
- private _initComponent;
25
24
  }
@@ -26,21 +26,15 @@ import { ObjectMatrix } from '@univerjs/core';
26
26
  * @param accessor
27
27
  */
28
28
  export declare function getDefaultOnPasteCellMutations(pasteFrom: ISheetDiscreteRangeLocation, pasteTo: ISheetDiscreteRangeLocation, data: ObjectMatrix<ICellDataWithSpanInfo>, payload: ICopyPastePayload, accessor: IAccessor): {
29
- undos: IMutationInfo<object>[];
30
- redos: IMutationInfo<object>[];
29
+ undos: (IMutationInfo<object> | {
30
+ id: string;
31
+ params: import("@univerjs/sheets").IMoveRangeMutationParams;
32
+ })[];
33
+ redos: (IMutationInfo<object> | {
34
+ id: string;
35
+ params: import("@univerjs/sheets").IMoveRangeMutationParams;
36
+ })[];
31
37
  };
32
- /**
33
- *
34
- * @param from
35
- * @param from.unitId
36
- * @param from.subUnitId
37
- * @param from.range
38
- * @param to
39
- * @param to.unitId
40
- * @param to.subUnitId
41
- * @param to.range
42
- * @param accessor
43
- */
44
38
  export declare function getMoveRangeMutations(from: {
45
39
  unitId: string;
46
40
  subUnitId: string;
@@ -59,61 +53,20 @@ export declare function getMoveRangeMutations(from: {
59
53
  params: import("@univerjs/sheets").IMoveRangeMutationParams;
60
54
  })[];
61
55
  };
62
- /**
63
- *
64
- * @param pasteTo
65
- * @param pasteFrom
66
- * @param matrix
67
- * @param accessor
68
- */
69
- export declare function getSetCellValueMutations(pasteTo: ISheetDiscreteRangeLocation, pasteFrom: Nullable<ISheetDiscreteRangeLocation>, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
70
- undos: IMutationInfo<object>[];
71
- redos: IMutationInfo<object>[];
56
+ export declare function getSetCellDataMutations(pasteTo: ISheetDiscreteRangeLocation, pasteFrom: Nullable<ISheetDiscreteRangeLocation>, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
57
+ redo: IMutationInfo;
58
+ undo: IMutationInfo;
72
59
  };
73
- /**
74
- *
75
- * @param pasteTo
76
- * @param pasteFrom
77
- * @param matrix
78
- * @param accessor
79
- * @param _withRichFormat
80
- */
81
- export declare function getSetCellStyleMutations(pasteTo: ISheetDiscreteRangeLocation, pasteFrom: Nullable<ISheetDiscreteRangeLocation>, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor, _withRichFormat?: boolean): {
82
- undos: IMutationInfo<object>[];
83
- redos: IMutationInfo<object>[];
60
+ export declare function getSetCellValueMutations(pasteTo: ISheetDiscreteRangeLocation, pasteFrom: Nullable<ISheetDiscreteRangeLocation>, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
61
+ redo: IMutationInfo;
62
+ undo: IMutationInfo;
84
63
  };
85
- /**
86
- *
87
- * @param pasteTo
88
- * @param matrix
89
- * @param accessor
90
- */
91
- export declare function getClearCellStyleMutations(pasteTo: ISheetDiscreteRangeLocation, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
92
- undos: IMutationInfo<object>[];
93
- redos: IMutationInfo<object>[];
64
+ export declare function getSetCellStyleMutations(pasteTo: ISheetDiscreteRangeLocation, pasteFrom: Nullable<ISheetDiscreteRangeLocation>, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
65
+ redo: IMutationInfo;
66
+ undo: IMutationInfo;
94
67
  };
95
- /**
96
- *
97
- * @param pasteTo
98
- * @param matrix
99
- * @param accessor
100
- */
101
- export declare function getClearCellValueMutations(pasteTo: ISheetDiscreteRangeLocation, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
102
- undos: IMutationInfo<object>[];
103
- redos: IMutationInfo<object>[];
104
- };
105
- /**
106
- *
107
- * @param pasteTo
108
- * @param matrix
109
- * @param accessor
110
- */
111
68
  export declare function getClearAndSetMergeMutations(pasteTo: ISheetDiscreteRangeLocation, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
112
69
  redos: IMutationInfo<object>[];
113
70
  undos: IMutationInfo<object>[];
114
71
  };
115
- /**
116
- *
117
- * @param text
118
- */
119
72
  export declare function generateBody(text: string): IDocumentBody;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Disposable, Injector } from '@univerjs/core';
17
+ import { ComponentManager, IconManager } from '@univerjs/ui';
18
+ export declare class ComponentsController extends Disposable {
19
+ private readonly _componentManager;
20
+ private readonly _iconManager;
21
+ private readonly _injector;
22
+ constructor(_componentManager: ComponentManager, _iconManager: IconManager, _injector: Injector);
23
+ private _registerComponents;
24
+ private _registerParts;
25
+ private _registerIcons;
26
+ }
@@ -46,6 +46,7 @@ export declare class EditingRenderController extends Disposable {
46
46
  private _cursorChange;
47
47
  /** If the corresponding unit is active and prepared for editing. */
48
48
  private _editingUnit;
49
+ private _submitEmptyCellImageEdit;
49
50
  _cursorTimeout: NodeJS.Timeout;
50
51
  constructor(_undoRedoService: IUndoRedoService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _cellEditorManagerService: ICellEditorManagerService, _lexerTreeBuilder: LexerTreeBuilder, _functionService: IFunctionService, _textSelectionManagerService: DocSelectionManagerService, _commandService: ICommandService, _localService: LocaleService, _editorService: IEditorService, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _sheetCellEditorResizeService: SheetCellEditorResizeService, _selectionManagerService: SheetsSelectionsService, _configService: IConfigService);
51
52
  dispose(): void;
@@ -88,4 +89,9 @@ export declare class EditingRenderController extends Disposable {
88
89
  }
89
90
  export declare function getCellDataByInput(cellData: ICellData, snapshot: Nullable<IDocumentData>, lexerTreeBuilder: LexerTreeBuilder, localeService: LocaleService, functionService: IFunctionService, styles: Styles): ICellData | null;
90
91
  export declare function isRichText(body: IDocumentBody): boolean;
92
+ export declare function shouldSubmitCellEdit({ isEmpty, isCellImage, shouldSubmitEmptyCellImageEdit, }: {
93
+ isEmpty?: boolean;
94
+ isCellImage: boolean;
95
+ shouldSubmitEmptyCellImageEdit: boolean;
96
+ }): boolean;
91
97
  export declare function getCellStyleBySnapshot(snapshot: IDocumentData): Nullable<IStyleData>;
@@ -16,7 +16,6 @@
16
16
  import type { Workbook } from '@univerjs/core';
17
17
  import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
18
18
  import { Disposable, IConfigService, LocaleService } from '@univerjs/core';
19
- import { IZenZoneService } from '@univerjs/ui';
20
19
  import { CellAlertManagerService } from '../services/cell-alert-manager.service';
21
20
  import { HoverManagerService } from '../services/hover-manager.service';
22
21
  export declare class ForceStringAlertRenderController extends Disposable implements IRenderModule {
@@ -24,11 +23,9 @@ export declare class ForceStringAlertRenderController extends Disposable impleme
24
23
  private readonly _hoverManagerService;
25
24
  private readonly _cellAlertManagerService;
26
25
  private readonly _localeService;
27
- private readonly _zenZoneService;
28
26
  private readonly _configService;
29
- constructor(_context: IRenderContext<Workbook>, _hoverManagerService: HoverManagerService, _cellAlertManagerService: CellAlertManagerService, _localeService: LocaleService, _zenZoneService: IZenZoneService, _configService: IConfigService);
27
+ constructor(_context: IRenderContext<Workbook>, _hoverManagerService: HoverManagerService, _cellAlertManagerService: CellAlertManagerService, _localeService: LocaleService, _configService: IConfigService);
30
28
  private _init;
31
29
  private _initCellAlertPopup;
32
- private _initZenService;
33
30
  private _hideAlert;
34
31
  }
@@ -14,22 +14,18 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Disposable, ICommandService, IConfigService, Injector } from '@univerjs/core';
17
- import { ComponentManager, ILayoutService, IMenuManagerService, IShortcutService, IUIPartsService } from '@univerjs/ui';
17
+ import { ILayoutService, IMenuManagerService, IUIPartsService } from '@univerjs/ui';
18
18
  export declare class SheetUIMobileController extends Disposable {
19
19
  protected readonly _injector: Injector;
20
- protected readonly _componentManager: ComponentManager;
21
20
  protected readonly _layoutService: ILayoutService;
22
21
  protected readonly _commandService: ICommandService;
23
- protected readonly _shortcutService: IShortcutService;
24
22
  protected readonly _menuManagerService: IMenuManagerService;
25
23
  protected readonly _uiPartsService: IUIPartsService;
26
24
  protected readonly _configService: IConfigService;
27
- constructor(_injector: Injector, _componentManager: ComponentManager, _layoutService: ILayoutService, _commandService: ICommandService, _shortcutService: IShortcutService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _configService: IConfigService);
25
+ constructor(_injector: Injector, _layoutService: ILayoutService, _commandService: ICommandService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _configService: IConfigService);
28
26
  private _init;
29
- private _initComponents;
30
27
  private _initCommands;
31
28
  private _initMenus;
32
- private _initShortcuts;
33
29
  private _initWorkbenchParts;
34
30
  private _initFocusHandler;
35
31
  }
@@ -18,7 +18,7 @@ import type { MenuConfig } from '@univerjs/ui';
18
18
  import { Disposable, IConfigService, Injector, IPermissionService } from '@univerjs/core';
19
19
  import { IRenderManagerService } from '@univerjs/engine-render';
20
20
  import { RangeProtectionRuleModel, WorksheetProtectionRuleModel } from '@univerjs/sheets';
21
- import { ComponentManager } from '@univerjs/ui';
21
+ import { ComponentManager, IconManager } from '@univerjs/ui';
22
22
  import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
23
23
  export interface IUniverSheetsPermissionMenuConfig {
24
24
  menu: MenuConfig;
@@ -26,10 +26,9 @@ export interface IUniverSheetsPermissionMenuConfig {
26
26
  export declare class SheetPermissionRenderManagerController extends Disposable {
27
27
  private _injector;
28
28
  private _componentManager;
29
- constructor(_injector: Injector, _componentManager: ComponentManager);
29
+ private _iconManager;
30
+ constructor(_injector: Injector, _componentManager: ComponentManager, _iconManager: IconManager);
30
31
  private _init;
31
- private _initComponents;
32
- private _initUiPartComponents;
33
32
  }
34
33
  export declare class SheetPermissionRenderController extends Disposable implements IRenderModule {
35
34
  private readonly _context;
@@ -18,3 +18,5 @@ export declare const SetBoldShortcutItem: IShortcutItem;
18
18
  export declare const SetItalicShortcutItem: IShortcutItem;
19
19
  export declare const SetUnderlineShortcutItem: IShortcutItem;
20
20
  export declare const SetStrikeThroughShortcutItem: IShortcutItem;
21
+ export declare const SetFontIncreaseShortcutItem: IShortcutItem;
22
+ export declare const SetFontDecreaseShortcutItem: IShortcutItem;