@univerjs/sheets-ui 1.0.0-alpha.2 → 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/facade.js +47 -37
- package/lib/cjs/index.js +1161 -272
- package/lib/cjs/locale/ar-SA.js +5 -0
- package/lib/cjs/locale/ca-ES.js +5 -0
- package/lib/cjs/locale/de-DE.js +5 -0
- package/lib/cjs/locale/en-US.js +5 -0
- package/lib/cjs/locale/es-ES.js +6 -1
- package/lib/cjs/locale/fa-IR.js +5 -0
- package/lib/cjs/locale/fr-FR.js +5 -0
- package/lib/cjs/locale/id-ID.js +5 -0
- package/lib/cjs/locale/it-IT.js +5 -0
- package/lib/cjs/locale/ja-JP.js +5 -0
- package/lib/cjs/locale/ko-KR.js +5 -0
- package/lib/cjs/locale/pl-PL.js +5 -0
- package/lib/cjs/locale/pt-BR.js +5 -0
- package/lib/cjs/locale/ru-RU.js +5 -0
- package/lib/cjs/locale/sk-SK.js +5 -0
- package/lib/cjs/locale/vi-VN.js +5 -0
- package/lib/cjs/locale/zh-CN.js +5 -0
- package/lib/cjs/locale/zh-HK.js +5 -0
- package/lib/cjs/locale/zh-TW.js +5 -0
- package/lib/es/facade.js +47 -37
- package/lib/es/index.js +1140 -247
- package/lib/es/locale/ar-SA.js +5 -0
- package/lib/es/locale/ca-ES.js +5 -0
- package/lib/es/locale/de-DE.js +5 -0
- package/lib/es/locale/en-US.js +5 -0
- package/lib/es/locale/es-ES.js +6 -1
- package/lib/es/locale/fa-IR.js +5 -0
- package/lib/es/locale/fr-FR.js +5 -0
- package/lib/es/locale/id-ID.js +5 -0
- package/lib/es/locale/it-IT.js +5 -0
- package/lib/es/locale/ja-JP.js +5 -0
- package/lib/es/locale/ko-KR.js +5 -0
- package/lib/es/locale/pl-PL.js +5 -0
- package/lib/es/locale/pt-BR.js +5 -0
- package/lib/es/locale/ru-RU.js +5 -0
- package/lib/es/locale/sk-SK.js +5 -0
- package/lib/es/locale/vi-VN.js +5 -0
- package/lib/es/locale/zh-CN.js +5 -0
- package/lib/es/locale/zh-HK.js +5 -0
- package/lib/es/locale/zh-TW.js +5 -0
- package/lib/facade.js +47 -37
- package/lib/index.css +4 -0
- package/lib/index.js +1140 -247
- package/lib/locale/ar-SA.js +5 -0
- package/lib/locale/ca-ES.js +5 -0
- package/lib/locale/de-DE.js +5 -0
- package/lib/locale/en-US.js +5 -0
- package/lib/locale/es-ES.js +6 -1
- package/lib/locale/fa-IR.js +5 -0
- package/lib/locale/fr-FR.js +5 -0
- package/lib/locale/id-ID.js +5 -0
- package/lib/locale/it-IT.js +5 -0
- package/lib/locale/ja-JP.js +5 -0
- package/lib/locale/ko-KR.js +5 -0
- package/lib/locale/pl-PL.js +5 -0
- package/lib/locale/pt-BR.js +5 -0
- package/lib/locale/ru-RU.js +5 -0
- package/lib/locale/sk-SK.js +5 -0
- package/lib/locale/vi-VN.js +5 -0
- package/lib/locale/zh-CN.js +5 -0
- package/lib/locale/zh-HK.js +5 -0
- package/lib/locale/zh-TW.js +5 -0
- package/lib/types/commands/commands/set-scroll.command.d.ts +3 -0
- package/lib/types/controllers/editor/editing.render-controller.d.ts +1 -0
- package/lib/types/controllers/editor/formula-editor.controller.d.ts +1 -0
- package/lib/types/controllers/render-controllers/contextmenu.render-controller.d.ts +7 -2
- package/lib/types/controllers/render-controllers/editor-bridge.render-controller.d.ts +7 -1
- package/lib/types/controllers/render-controllers/header-unhide.render-controller.d.ts +0 -1
- package/lib/types/embed-tab-anchor.d.ts +23 -0
- package/lib/types/facade/f-univer.d.ts +1 -0
- package/lib/types/index.d.ts +16 -3
- package/lib/types/locale/en-US.d.ts +5 -0
- package/lib/types/services/canvas-pop-manager.service.d.ts +9 -0
- package/lib/types/services/cell-popup-manager.service.d.ts +1 -0
- package/lib/types/services/editor/cell-editor-resize.service.d.ts +4 -1
- package/lib/types/services/editor-bridge.service.d.ts +2 -0
- package/lib/types/services/print-interceptor.service.d.ts +8 -0
- package/lib/types/services/selection/base-selection-render.service.d.ts +1 -0
- package/lib/types/services/sheet-embed-integration.service.d.ts +126 -0
- package/lib/types/services/sheet-embed-runtime.service.d.ts +26 -0
- package/lib/types/services/sheet-host-chrome-override.service.d.ts +25 -0
- package/lib/types/services/sheet-skeleton-manager.service.d.ts +2 -0
- package/lib/types/views/border-panel/interface.d.ts +63 -2
- package/lib/types/views/editor-container/EditorContainer.d.ts +7 -5
- package/lib/types/{menu/mobile-menu.d.ts → views/editor-container/EditorContainer.spec.d.ts} +1 -1
- package/lib/types/views/editor-container/focus-editor.d.ts +25 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/SheetBarItem.d.ts +2 -1
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/sheet-tab-drag-sort.d.ts +1 -0
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +12 -12
- 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 +15 -15
package/lib/locale/ar-SA.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "الحدود الداخلية",
|
|
80
80
|
borderHorizontal: "الحدود الأفقية",
|
|
81
81
|
borderVertical: "الحدود العمودية",
|
|
82
|
+
borderTlbr: "حد قطري لأسفل",
|
|
83
|
+
borderTlbcTlmr: "حد قطري مزدوج لأسفل",
|
|
84
|
+
borderTlbrTlbcTlmr: "حد قطري ثلاثي لأسفل",
|
|
85
|
+
borderBlTr: "حد قطري لأعلى",
|
|
86
|
+
borderMltrBctr: "حد قطري مزدوج لأعلى",
|
|
82
87
|
borderColor: "لون الحدود",
|
|
83
88
|
borderSize: "حجم الحدود",
|
|
84
89
|
borderType: "نوع الحدود"
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "voraInterior",
|
|
80
80
|
borderHorizontal: "voraHoritzontal",
|
|
81
81
|
borderVertical: "voraVertical",
|
|
82
|
+
borderTlbr: "Vora diagonal descendent",
|
|
83
|
+
borderTlbcTlmr: "Vora diagonal descendent doble",
|
|
84
|
+
borderTlbrTlbcTlmr: "Vora diagonal descendent triple",
|
|
85
|
+
borderBlTr: "Vora diagonal ascendent",
|
|
86
|
+
borderMltrBctr: "Vora diagonal ascendent doble",
|
|
82
87
|
borderColor: "colorVora",
|
|
83
88
|
borderSize: "gruixVora",
|
|
84
89
|
borderType: "tipusVora"
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "Rahmen innen",
|
|
80
80
|
borderHorizontal: "Horizontale Rahmenlinie",
|
|
81
81
|
borderVertical: "Vertikale Rahmenlinie",
|
|
82
|
+
borderTlbr: "Diagonale Linie abwärts",
|
|
83
|
+
borderTlbcTlmr: "Doppelte diagonale Linie abwärts",
|
|
84
|
+
borderTlbrTlbcTlmr: "Dreifache diagonale Linie abwärts",
|
|
85
|
+
borderBlTr: "Diagonale Linie aufwärts",
|
|
86
|
+
borderMltrBctr: "Doppelte diagonale Linie aufwärts",
|
|
82
87
|
borderColor: "Rahmenfarbe",
|
|
83
88
|
borderSize: "Rahmenstärke",
|
|
84
89
|
borderType: "Rahmentyp"
|
package/lib/locale/en-US.js
CHANGED
|
@@ -94,6 +94,11 @@ const locale = { "sheets-ui": {
|
|
|
94
94
|
borderInside: "borderInside",
|
|
95
95
|
borderHorizontal: "borderHorizontal",
|
|
96
96
|
borderVertical: "borderVertical",
|
|
97
|
+
borderTlbr: "Diagonal down border",
|
|
98
|
+
borderTlbcTlmr: "Double diagonal down border",
|
|
99
|
+
borderTlbrTlbcTlmr: "Triple diagonal down border",
|
|
100
|
+
borderBlTr: "Diagonal up border",
|
|
101
|
+
borderMltrBctr: "Double diagonal up border",
|
|
97
102
|
borderColor: "borderColor",
|
|
98
103
|
borderSize: "borderSize",
|
|
99
104
|
borderType: "borderType"
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "bordeInterior",
|
|
80
80
|
borderHorizontal: "bordeHorizontal",
|
|
81
81
|
borderVertical: "bordeVertical",
|
|
82
|
+
borderTlbr: "Borde diagonal descendente",
|
|
83
|
+
borderTlbcTlmr: "Borde diagonal descendente doble",
|
|
84
|
+
borderTlbrTlbcTlmr: "Borde diagonal descendente triple",
|
|
85
|
+
borderBlTr: "Borde diagonal ascendente",
|
|
86
|
+
borderMltrBctr: "Borde diagonal ascendente doble",
|
|
82
87
|
borderColor: "colorBorde",
|
|
83
88
|
borderSize: "grosorBorde",
|
|
84
89
|
borderType: "tipoBorde"
|
|
@@ -376,7 +381,7 @@ const locale = { "sheets-ui": {
|
|
|
376
381
|
iCanNotEdit: "No puedo editar",
|
|
377
382
|
iCanView: "Puedo ver",
|
|
378
383
|
iCanNotView: "No puedo ver",
|
|
379
|
-
emptyRangeError: "El rango
|
|
384
|
+
emptyRangeError: "El rango no puede estar vacío",
|
|
380
385
|
rangeOverlapError: "El rango no puede superponerse",
|
|
381
386
|
rangeOverlapOverPermissionError: "El rango no puede superponerse con el rango que tiene el mismo permiso",
|
|
382
387
|
InsertHyperlink: "Insertar hipervínculo",
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "حاشیه داخلی",
|
|
80
80
|
borderHorizontal: "حاشیه افقی",
|
|
81
81
|
borderVertical: "حاشیه عمودی",
|
|
82
|
+
borderTlbr: "حاشیه قطری رو به پایین",
|
|
83
|
+
borderTlbcTlmr: "حاشیه قطری دوتایی رو به پایین",
|
|
84
|
+
borderTlbrTlbcTlmr: "حاشیه قطری سهتایی رو به پایین",
|
|
85
|
+
borderBlTr: "حاشیه قطری رو به بالا",
|
|
86
|
+
borderMltrBctr: "حاشیه قطری دوتایی رو به بالا",
|
|
82
87
|
borderColor: "رنگ حاشیه",
|
|
83
88
|
borderSize: "اندازه حاشیه",
|
|
84
89
|
borderType: "نوع حاشیه"
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "bordureIntérieure",
|
|
80
80
|
borderHorizontal: "bordureHorizontale",
|
|
81
81
|
borderVertical: "bordureVerticale",
|
|
82
|
+
borderTlbr: "Bordure diagonale descendante",
|
|
83
|
+
borderTlbcTlmr: "Double bordure diagonale descendante",
|
|
84
|
+
borderTlbrTlbcTlmr: "Triple bordure diagonale descendante",
|
|
85
|
+
borderBlTr: "Bordure diagonale montante",
|
|
86
|
+
borderMltrBctr: "Double bordure diagonale montante",
|
|
82
87
|
borderColor: "couleurDeBordure",
|
|
83
88
|
borderSize: "tailleDeBordure",
|
|
84
89
|
borderType: "typeDeBordure"
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "Batas dalam",
|
|
80
80
|
borderHorizontal: "Batas horizontal",
|
|
81
81
|
borderVertical: "Batas vertikal",
|
|
82
|
+
borderTlbr: "Batas diagonal turun",
|
|
83
|
+
borderTlbcTlmr: "Batas diagonal turun ganda",
|
|
84
|
+
borderTlbrTlbcTlmr: "Batas diagonal turun rangkap tiga",
|
|
85
|
+
borderBlTr: "Batas diagonal naik",
|
|
86
|
+
borderMltrBctr: "Batas diagonal naik ganda",
|
|
82
87
|
borderColor: "Warna batas",
|
|
83
88
|
borderSize: "Ukuran batas",
|
|
84
89
|
borderType: "Jenis batas"
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "bordoInterno",
|
|
80
80
|
borderHorizontal: "bordoOrizzontale",
|
|
81
81
|
borderVertical: "bordoVerticale",
|
|
82
|
+
borderTlbr: "Bordo diagonale discendente",
|
|
83
|
+
borderTlbcTlmr: "Bordo diagonale discendente doppio",
|
|
84
|
+
borderTlbrTlbcTlmr: "Bordo diagonale discendente triplo",
|
|
85
|
+
borderBlTr: "Bordo diagonale ascendente",
|
|
86
|
+
borderMltrBctr: "Bordo diagonale ascendente doppio",
|
|
82
87
|
borderColor: "coloreBordo",
|
|
83
88
|
borderSize: "spessoreBordo",
|
|
84
89
|
borderType: "tipoBordo"
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "内側",
|
|
80
80
|
borderHorizontal: "横罫線",
|
|
81
81
|
borderVertical: "縦罫線",
|
|
82
|
+
borderTlbr: "右下がり罫線",
|
|
83
|
+
borderTlbcTlmr: "右下がり二重斜線",
|
|
84
|
+
borderTlbrTlbcTlmr: "右下がり三重斜線",
|
|
85
|
+
borderBlTr: "右上がり罫線",
|
|
86
|
+
borderMltrBctr: "右上がり二重斜線",
|
|
82
87
|
borderColor: "罫線の色",
|
|
83
88
|
borderSize: "罫線の太さ",
|
|
84
89
|
borderType: "罫線の種類"
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "내부",
|
|
80
80
|
borderHorizontal: "가로",
|
|
81
81
|
borderVertical: "세로",
|
|
82
|
+
borderTlbr: "오른쪽 아래 대각선 테두리",
|
|
83
|
+
borderTlbcTlmr: "오른쪽 아래 이중 대각선 테두리",
|
|
84
|
+
borderTlbrTlbcTlmr: "오른쪽 아래 삼중 대각선 테두리",
|
|
85
|
+
borderBlTr: "오른쪽 위 대각선 테두리",
|
|
86
|
+
borderMltrBctr: "오른쪽 위 이중 대각선 테두리",
|
|
82
87
|
borderColor: "테두리 색상",
|
|
83
88
|
borderSize: "테두리 크기",
|
|
84
89
|
borderType: "테두리 유형"
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "Wewnątrz",
|
|
80
80
|
borderHorizontal: "Poziome",
|
|
81
81
|
borderVertical: "Pionowe",
|
|
82
|
+
borderTlbr: "Ukośne obramowanie w dół",
|
|
83
|
+
borderTlbcTlmr: "Podwójne ukośne obramowanie w dół",
|
|
84
|
+
borderTlbrTlbcTlmr: "Potrójne ukośne obramowanie w dół",
|
|
85
|
+
borderBlTr: "Ukośne obramowanie w górę",
|
|
86
|
+
borderMltrBctr: "Podwójne ukośne obramowanie w górę",
|
|
82
87
|
borderColor: "Kolor obramowania",
|
|
83
88
|
borderSize: "Rozmiar obramowania",
|
|
84
89
|
borderType: "Typ obramowania"
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "borda interna",
|
|
80
80
|
borderHorizontal: "borda horizontal",
|
|
81
81
|
borderVertical: "borda vertical",
|
|
82
|
+
borderTlbr: "Borda diagonal descendente",
|
|
83
|
+
borderTlbcTlmr: "Borda diagonal descendente dupla",
|
|
84
|
+
borderTlbrTlbcTlmr: "Borda diagonal descendente tripla",
|
|
85
|
+
borderBlTr: "Borda diagonal ascendente",
|
|
86
|
+
borderMltrBctr: "Borda diagonal ascendente dupla",
|
|
82
87
|
borderColor: "cor da borda",
|
|
83
88
|
borderSize: "tamanho da borda",
|
|
84
89
|
borderType: "tipo de borda"
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "внутренняя граница",
|
|
80
80
|
borderHorizontal: "горизонтальная граница",
|
|
81
81
|
borderVertical: "вертикальная граница",
|
|
82
|
+
borderTlbr: "Диагональная граница вниз",
|
|
83
|
+
borderTlbcTlmr: "Двойная диагональная граница вниз",
|
|
84
|
+
borderTlbrTlbcTlmr: "Тройная диагональная граница вниз",
|
|
85
|
+
borderBlTr: "Диагональная граница вверх",
|
|
86
|
+
borderMltrBctr: "Двойная диагональная граница вверх",
|
|
82
87
|
borderColor: "цвет границы",
|
|
83
88
|
borderSize: "размер границы",
|
|
84
89
|
borderType: "тип границы"
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "vnútornéOhraničenie",
|
|
80
80
|
borderHorizontal: "vodorovnéOhraničenie",
|
|
81
81
|
borderVertical: "zvisléOhraničenie",
|
|
82
|
+
borderTlbr: "Diagonálne orámovanie nadol",
|
|
83
|
+
borderTlbcTlmr: "Dvojité diagonálne orámovanie nadol",
|
|
84
|
+
borderTlbrTlbcTlmr: "Trojité diagonálne orámovanie nadol",
|
|
85
|
+
borderBlTr: "Diagonálne orámovanie nahor",
|
|
86
|
+
borderMltrBctr: "Dvojité diagonálne orámovanie nahor",
|
|
82
87
|
borderColor: "farbaOhraničenia",
|
|
83
88
|
borderSize: "hrúbkaOhraničenia",
|
|
84
89
|
borderType: "typOhraničenia"
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "Bên trong",
|
|
80
80
|
borderHorizontal: "Đường ngang bên trong",
|
|
81
81
|
borderVertical: "Đường dọc bên trong",
|
|
82
|
+
borderTlbr: "Đường viền chéo xuống",
|
|
83
|
+
borderTlbcTlmr: "Đường viền chéo xuống kép",
|
|
84
|
+
borderTlbrTlbcTlmr: "Đường viền chéo xuống ba",
|
|
85
|
+
borderBlTr: "Đường viền chéo lên",
|
|
86
|
+
borderMltrBctr: "Đường viền chéo lên kép",
|
|
82
87
|
borderColor: "Màu viền",
|
|
83
88
|
borderSize: "Độ dày viền",
|
|
84
89
|
borderType: "Loại đường viền"
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "内侧",
|
|
80
80
|
borderHorizontal: "内侧横线",
|
|
81
81
|
borderVertical: "内侧竖线",
|
|
82
|
+
borderTlbr: "右下斜线",
|
|
83
|
+
borderTlbcTlmr: "右下双斜线",
|
|
84
|
+
borderTlbrTlbcTlmr: "右下三斜线",
|
|
85
|
+
borderBlTr: "右上斜线",
|
|
86
|
+
borderMltrBctr: "右上双斜线",
|
|
82
87
|
borderColor: "边框颜色",
|
|
83
88
|
borderSize: "边框粗细",
|
|
84
89
|
borderType: "边框线类型"
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "內側",
|
|
80
80
|
borderHorizontal: "內側水平框線",
|
|
81
81
|
borderVertical: "內側垂直框線",
|
|
82
|
+
borderTlbr: "右下斜線",
|
|
83
|
+
borderTlbcTlmr: "右下雙斜線",
|
|
84
|
+
borderTlbrTlbcTlmr: "右下三斜線",
|
|
85
|
+
borderBlTr: "右上斜線",
|
|
86
|
+
borderMltrBctr: "右上雙斜線",
|
|
82
87
|
borderColor: "邊框顏色",
|
|
83
88
|
borderSize: "邊框粗細",
|
|
84
89
|
borderType: "邊框線類型"
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -79,6 +79,11 @@ const locale = { "sheets-ui": {
|
|
|
79
79
|
borderInside: "內側",
|
|
80
80
|
borderHorizontal: "內側水平框線",
|
|
81
81
|
borderVertical: "內側垂直框線",
|
|
82
|
+
borderTlbr: "右下斜線",
|
|
83
|
+
borderTlbcTlmr: "右下雙斜線",
|
|
84
|
+
borderTlbrTlbcTlmr: "右下三斜線",
|
|
85
|
+
borderBlTr: "右上斜線",
|
|
86
|
+
borderMltrBctr: "右上雙斜線",
|
|
82
87
|
borderColor: "邊框顏色",
|
|
83
88
|
borderSize: "邊框粗細",
|
|
84
89
|
borderType: "邊框線類型"
|
|
@@ -19,6 +19,8 @@ export interface ISetScrollRelativeCommandParams {
|
|
|
19
19
|
offsetY?: number;
|
|
20
20
|
}
|
|
21
21
|
export interface IScrollCommandParams {
|
|
22
|
+
unitId?: string;
|
|
23
|
+
sheetId?: string;
|
|
22
24
|
offsetX?: number;
|
|
23
25
|
offsetY?: number;
|
|
24
26
|
/**
|
|
@@ -54,6 +56,7 @@ export interface IScrollToCellCommandParams {
|
|
|
54
56
|
range: IRange;
|
|
55
57
|
forceTop?: boolean;
|
|
56
58
|
forceLeft?: boolean;
|
|
59
|
+
unitId?: string;
|
|
57
60
|
}
|
|
58
61
|
/**
|
|
59
62
|
* The command is used to scroll to the specific cell if the target cell is not in the viewport.
|
|
@@ -95,3 +95,4 @@ export declare function shouldSubmitCellEdit({ isEmpty, isCellImage, shouldSubmi
|
|
|
95
95
|
shouldSubmitEmptyCellImageEdit: boolean;
|
|
96
96
|
}): boolean;
|
|
97
97
|
export declare function getCellStyleBySnapshot(snapshot: IDocumentData): Nullable<IStyleData>;
|
|
98
|
+
export declare function emptyBody(body: IDocumentBody, removeStyle?: boolean): void;
|
|
@@ -32,6 +32,7 @@ export declare class FormulaEditorController extends RxDisposable {
|
|
|
32
32
|
private _loadedMap;
|
|
33
33
|
constructor(_univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _commandService: ICommandService, _contextService: IContextService, _formulaEditorManagerService: IFormulaEditorManagerService, _undoRedoService: IUndoRedoService, _textSelectionManagerService: DocSelectionManagerService, _editorService: IEditorService);
|
|
34
34
|
private _initialize;
|
|
35
|
+
private _syncFxBarFocusContext;
|
|
35
36
|
private _handleContentChange;
|
|
36
37
|
private _create;
|
|
37
38
|
private _listenFxBtnClick;
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { Workbook } from '@univerjs/core';
|
|
17
17
|
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
-
import {
|
|
18
|
+
import type { ISheetHostChromeOverride } from '../../services/sheet-host-chrome-override.service';
|
|
19
|
+
import { Disposable, Injector } from '@univerjs/core';
|
|
19
20
|
import { SheetsSelectionsService } from '@univerjs/sheets';
|
|
20
21
|
import { IContextMenuService } from '@univerjs/ui';
|
|
21
22
|
import { ISheetSelectionRenderService } from '../../services/selection/base-selection-render.service';
|
|
@@ -28,6 +29,10 @@ export declare class SheetContextMenuRenderController extends Disposable impleme
|
|
|
28
29
|
private readonly _contextMenuService;
|
|
29
30
|
private readonly _selectionManagerService;
|
|
30
31
|
private readonly _selectionRenderService;
|
|
31
|
-
|
|
32
|
+
private readonly _injector;
|
|
33
|
+
constructor(_context: IRenderContext<Workbook>, _contextMenuService: IContextMenuService, _selectionManagerService: SheetsSelectionsService, _selectionRenderService: ISheetSelectionRenderService, _injector: Injector);
|
|
32
34
|
private _init;
|
|
35
|
+
private _shouldSuppressHostContextMenu;
|
|
36
|
+
private _getSheetHostChromeOverrideService;
|
|
33
37
|
}
|
|
38
|
+
export declare function shouldSuppressSheetContextMenuForEmbedOverride(hostUnitId: string, override: Pick<ISheetHostChromeOverride, 'entry' | 'hostUnitId'> | null | undefined): boolean;
|
|
@@ -19,6 +19,7 @@ import { ICommandService, IContextService, IUniverInstanceService, RxDisposable
|
|
|
19
19
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
20
20
|
import { SheetsSelectionsService } from '@univerjs/sheets';
|
|
21
21
|
import { IEditorBridgeService } from '../../services/editor-bridge.service';
|
|
22
|
+
import { ISheetEmbedRuntimeFocusCoordinator } from '../../services/sheet-embed-integration.service';
|
|
22
23
|
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
23
24
|
export declare class EditorBridgeRenderController extends RxDisposable implements IRenderModule {
|
|
24
25
|
private readonly _context;
|
|
@@ -29,8 +30,9 @@ export declare class EditorBridgeRenderController extends RxDisposable implement
|
|
|
29
30
|
private readonly _contextService;
|
|
30
31
|
private readonly _renderManagerService;
|
|
31
32
|
private readonly _sheetSkeletonManagerService;
|
|
33
|
+
private readonly _embedRuntimeFocusCoordinator?;
|
|
32
34
|
private _d;
|
|
33
|
-
constructor(_context: IRenderContext<Workbook>, _instanceSrv: IUniverInstanceService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _selectionManagerService: SheetsSelectionsService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
|
|
35
|
+
constructor(_context: IRenderContext<Workbook>, _instanceSrv: IUniverInstanceService, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _selectionManagerService: SheetsSelectionsService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _embedRuntimeFocusCoordinator?: ISheetEmbedRuntimeFocusCoordinator | undefined);
|
|
34
36
|
private _init;
|
|
35
37
|
private _disposeCurrent;
|
|
36
38
|
private _initSelectionChangeListener;
|
|
@@ -42,9 +44,13 @@ export declare class EditorBridgeRenderController extends RxDisposable implement
|
|
|
42
44
|
* @param d DisposableCollection
|
|
43
45
|
*/
|
|
44
46
|
private _initialKeyboardListener;
|
|
47
|
+
private _initSheetFocusListener;
|
|
48
|
+
private _focusCellEditorInput;
|
|
45
49
|
private _commandExecutedListener;
|
|
46
50
|
private _showEditorByKeyboard;
|
|
47
51
|
private _tryHideEditor;
|
|
52
|
+
private _isEmbeddedFormulaEditorActive;
|
|
53
|
+
private _isCurrentEmbedRuntimeEvent;
|
|
48
54
|
private _hideEditor;
|
|
49
55
|
private _getSheetObject;
|
|
50
56
|
private _isCurrentSheetFocused;
|
|
@@ -19,7 +19,6 @@ import type { IHeaderUnhideRangeVisibleCheck } from '../../services/header-unhid
|
|
|
19
19
|
import { ICommandService, InterceptorManager, RxDisposable } from '@univerjs/core';
|
|
20
20
|
import { HeaderUnhideRangeService } from '../../services/header-unhide-range.service';
|
|
21
21
|
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
22
|
-
export type { IHeaderUnhideRangeVisibleCheck };
|
|
23
22
|
export declare const HEADER_UNHIDE_RANGE_VISIBLE_CHECK: import("@univerjs/core").IInterceptor<boolean, IHeaderUnhideRangeVisibleCheck>;
|
|
24
23
|
/**
|
|
25
24
|
* This controller controls rendering of the buttons to unhide hidden rows and columns.
|
|
@@ -0,0 +1,23 @@
|
|
|
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 type { IWorksheetData } from '@univerjs/core';
|
|
17
|
+
interface IEmbedSheetsTabCustomData {
|
|
18
|
+
version: 1;
|
|
19
|
+
embedId: string;
|
|
20
|
+
hostAnchorId: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function getEmbedSheetsTabCustomData(snapshot: Pick<IWorksheetData, 'custom'>): IEmbedSheetsTabCustomData | undefined;
|
|
23
|
+
export {};
|
|
@@ -137,6 +137,7 @@ export interface IFUniverSheetsUIMixin {
|
|
|
137
137
|
export declare class FUniverSheetsUIMixin extends FUniver implements IFUniverSheetsUIMixin {
|
|
138
138
|
private _initSheetUIEvent;
|
|
139
139
|
private _initObserverListener;
|
|
140
|
+
private _tryGetRenderDependency;
|
|
140
141
|
/**
|
|
141
142
|
* @ignore
|
|
142
143
|
*/
|
package/lib/types/index.d.ts
CHANGED
|
@@ -49,7 +49,8 @@ export { SheetPermissionOpenPanelOperation } from './commands/operations/sheet-p
|
|
|
49
49
|
export { SidebarDefinedNameOperation } from './commands/operations/sidebar-defined-name.operation';
|
|
50
50
|
export { EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY, RANGE_SELECTOR_COMPONENT_KEY, SHEET_VIEW_KEY } from './common/keys';
|
|
51
51
|
export { getCellRealRange, getViewportByCell } from './common/utils';
|
|
52
|
-
export {
|
|
52
|
+
export type { IUniverSheetsUIConfig } from './config/config';
|
|
53
|
+
export { SHEETS_UI_PLUGIN_CONFIG_KEY } from './config/config';
|
|
53
54
|
export { UNIVER_SHEET_PERMISSION_USER_PART } from './consts/permission';
|
|
54
55
|
export { SHEET_UI_PLUGIN_NAME } from './consts/plugin-name';
|
|
55
56
|
export { SheetsUIPart } from './consts/ui-name';
|
|
@@ -113,7 +114,7 @@ export { IMarkSelectionService, MarkSelectionService } from './services/mark-sel
|
|
|
113
114
|
export { SheetPermissionRenderManagerService } from './services/permission/sheet-permission-render-manager.service';
|
|
114
115
|
export type { ProtectedRangeShadowStrategy } from './services/permission/sheet-permission-render-manager.service';
|
|
115
116
|
export { SheetPermissionUserManagerService } from './services/permission/sheet-permission-user-list.service';
|
|
116
|
-
export { SheetPrintInterceptorService } from './services/print-interceptor.service';
|
|
117
|
+
export { SheetPrintingResourceCollector, SheetPrintInterceptorService } from './services/print-interceptor.service';
|
|
117
118
|
export { IRepeatLastActionService, RepeatLastActionPermission } from './services/repeat-last-action.service';
|
|
118
119
|
export type { RepeatableCommandHandler } from './services/repeat-last-action.service';
|
|
119
120
|
export { SheetScrollManagerService } from './services/scroll-manager.service';
|
|
@@ -124,14 +125,26 @@ export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
|
|
|
124
125
|
export { SelectionControl, SelectionControl as SelectionShape } from './services/selection/selection-control';
|
|
125
126
|
export { SheetSelectionRenderService } from './services/selection/selection-render.service';
|
|
126
127
|
export { SelectionShapeExtension } from './services/selection/selection-shape-extension';
|
|
128
|
+
export { ISheetEmbedFloatingGeometryService, ISheetEmbedInteractionBoundaryService, ISheetEmbedRuntimeFocusCoordinator, resolveActiveSheetEmbedRuntimeDomScope, resolveSheetEmbedRuntimeDomScope, SHEET_EMBED_CHILD_TYPE_ATTRIBUTE, SHEET_EMBED_CHILD_UNIT_ID_ATTRIBUTE, SHEET_EMBED_FLOAT_DOM_ATTRIBUTE, SHEET_EMBED_HOST_UNIT_ID_ATTRIBUTE, SHEET_EMBED_ID_ATTRIBUTE, SHEET_EMBED_INTERACTION_BOUNDARY_OWNER_ATTRIBUTE, SHEET_EMBED_RUNTIME_FOCUS_ROLE_ATTRIBUTE, } from './services/sheet-embed-integration.service';
|
|
129
|
+
export type { ISheetEmbedRuntimeDomScope } from './services/sheet-embed-integration.service';
|
|
130
|
+
export { ISheetEmbedRuntimeService } from './services/sheet-embed-runtime.service';
|
|
131
|
+
export type { ISheetEmbedTabMountParams } from './services/sheet-embed-runtime.service';
|
|
132
|
+
export { ISheetHostChromeOverrideService } from './services/sheet-host-chrome-override.service';
|
|
133
|
+
export type { ISheetHostChromeOverride } from './services/sheet-host-chrome-override.service';
|
|
127
134
|
export { SheetSkeletonManagerService } from './services/sheet-skeleton-manager.service';
|
|
128
135
|
export { SheetsRenderService } from './services/sheets-render.service';
|
|
129
136
|
export { IStatusBarService, StatusBarService } from './services/status-bar.service';
|
|
130
137
|
export { calculateDocSkeletonRects, getCustomRangePosition, getEditingCustomRangePosition, } from './services/utils/doc-skeleton-util';
|
|
131
|
-
export {
|
|
138
|
+
export { AutoFillPopupMenu } from './views/auto-fill-popup-menu/AutoFillPopupMenu';
|
|
139
|
+
export { BorderLine } from './views/border-panel/border-line/BorderLine';
|
|
140
|
+
export { BORDER_LINE_CHILDREN, BORDER_SIZE_CHILDREN } from './views/border-panel/interface';
|
|
141
|
+
export { EditorContainer, useKeyEventConfig } from './views/editor-container';
|
|
142
|
+
export { FormulaBar } from './views/formula-bar';
|
|
132
143
|
export { useActiveWorkbook, useActiveWorksheet, useWorkbooks } from './views/hook';
|
|
133
144
|
export type { IRangeProtectionRenderCellData } from './views/permission/extensions/range-protection.render';
|
|
134
145
|
export { type IPermissionDetailUserPartProps } from './views/permission/panel-detail/PermissionDetailUserPart';
|
|
135
146
|
export { type IBaseSheetBarProps } from './views/sheet-bar/sheet-bar-tabs/SheetBarItem';
|
|
147
|
+
export { SheetBar } from './views/sheet-bar/SheetBar';
|
|
148
|
+
export { SHEET_FOOTER_BAR_HEIGHT } from './views/sheet-container/SheetContainer';
|
|
136
149
|
export { type IStatisticItem } from './views/status-bar/CopyableStatisticItem';
|
|
137
150
|
export { functionDisplayNames } from './views/status-bar/CopyableStatisticItem';
|
|
@@ -94,6 +94,11 @@ declare const locale: {
|
|
|
94
94
|
borderInside: string;
|
|
95
95
|
borderHorizontal: string;
|
|
96
96
|
borderVertical: string;
|
|
97
|
+
borderTlbr: string;
|
|
98
|
+
borderTlbcTlmr: string;
|
|
99
|
+
borderTlbrTlbcTlmr: string;
|
|
100
|
+
borderBlTr: string;
|
|
101
|
+
borderMltrBctr: string;
|
|
97
102
|
borderColor: string;
|
|
98
103
|
borderSize: string;
|
|
99
104
|
borderType: string;
|
|
@@ -17,6 +17,7 @@ import type { DrawingTypeEnum, ICommandInfo, INeedCheckDisposable, IRange, Nulla
|
|
|
17
17
|
import type { BaseObject, IBoundRectNoAngle, Viewport } from '@univerjs/engine-render';
|
|
18
18
|
import type { ISheetLocationBase } from '@univerjs/sheets';
|
|
19
19
|
import type { IPopup } from '@univerjs/ui';
|
|
20
|
+
import type { Observable } from 'rxjs';
|
|
20
21
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
21
22
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
22
23
|
import { RefRangeService, SheetsSelectionsService } from '@univerjs/sheets';
|
|
@@ -45,6 +46,7 @@ export declare class SheetCanvasPopManagerService extends Disposable {
|
|
|
45
46
|
private readonly _selectionManagerService;
|
|
46
47
|
private _popupMenuFeatureMap;
|
|
47
48
|
private _popupMenuOffsetMap;
|
|
49
|
+
private readonly _popupDisposables;
|
|
48
50
|
constructor(_globalPopupManagerService: ICanvasPopupService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _refRangeService: RefRangeService, _commandService: ICommandService, _refSelectionsService: ISheetSelectionRenderService, _selectionManagerService: SheetsSelectionsService);
|
|
49
51
|
private _isSelectionMoving;
|
|
50
52
|
private _initMoving;
|
|
@@ -83,6 +85,11 @@ export declare class SheetCanvasPopManagerService extends Disposable {
|
|
|
83
85
|
dispose: () => void;
|
|
84
86
|
canDispose: () => boolean;
|
|
85
87
|
} | null | undefined;
|
|
88
|
+
attachPopupToDynamicAbsolutePosition(bound: IBoundRectNoAngle, anchorRect$: Observable<IBoundRectNoAngle>, popup: ICanvasPopup, _unitId?: string, _subUnitId?: string): {
|
|
89
|
+
dispose: () => void;
|
|
90
|
+
canDispose: () => boolean;
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
private _attachAbsolutePopup;
|
|
86
93
|
/**
|
|
87
94
|
* Bind popup to the right part of cell at(row, col).
|
|
88
95
|
* This popup would move with the cell.
|
|
@@ -105,6 +112,8 @@ export declare class SheetCanvasPopManagerService extends Disposable {
|
|
|
105
112
|
* @param showOnSelectionMoving
|
|
106
113
|
*/
|
|
107
114
|
attachRangePopup(range: IRange, popup: ICanvasPopup, _unitId?: string, _subUnitId?: string, viewport?: Viewport, showOnSelectionMoving?: boolean): Nullable<INeedCheckDisposable>;
|
|
115
|
+
private _resolveEmbeddedPopupInjector;
|
|
116
|
+
private _trackPopupDisposable;
|
|
108
117
|
/**
|
|
109
118
|
*
|
|
110
119
|
* @param initialRow
|
|
@@ -44,4 +44,5 @@ export declare class CellPopupManagerService extends Disposable {
|
|
|
44
44
|
showPopup(location: ISheetLocationBase, popup: ICellPopup): IDisposable;
|
|
45
45
|
getPopups(unitId: string, subUnitId: string, row: number, col: number, direction: 'horizontal' | 'vertical'): ICellPopup[];
|
|
46
46
|
hidePopup(unitId: string, subUnitId: string, row: number, col: number): void;
|
|
47
|
+
hidePopupsForUnit(unitId: string, subUnitId?: string): void;
|
|
47
48
|
}
|
|
@@ -17,6 +17,7 @@ import { Disposable, IConfigService, IUniverInstanceService } from '@univerjs/co
|
|
|
17
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
18
18
|
import { ILayoutService } from '@univerjs/ui';
|
|
19
19
|
import { IEditorBridgeService } from '../editor-bridge.service';
|
|
20
|
+
import { ISheetEmbedFloatingGeometryService } from '../sheet-embed-integration.service';
|
|
20
21
|
import { ICellEditorManagerService } from './cell-editor-manager.service';
|
|
21
22
|
export declare class SheetCellEditorResizeService extends Disposable {
|
|
22
23
|
private readonly _layoutService;
|
|
@@ -25,7 +26,8 @@ export declare class SheetCellEditorResizeService extends Disposable {
|
|
|
25
26
|
private readonly _renderManagerService;
|
|
26
27
|
private readonly _univerInstanceService;
|
|
27
28
|
private readonly _configService;
|
|
28
|
-
|
|
29
|
+
private readonly _embedFloatingGeometryService?;
|
|
30
|
+
constructor(_layoutService: ILayoutService, _cellEditorManagerService: ICellEditorManagerService, _editorBridgeService: IEditorBridgeService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService, _configService: IConfigService, _embedFloatingGeometryService?: ISheetEmbedFloatingGeometryService | undefined);
|
|
29
31
|
private get _currentRenderer();
|
|
30
32
|
private get _editingUnitId();
|
|
31
33
|
private get _editingRenderer();
|
|
@@ -45,6 +47,7 @@ export declare class SheetCellEditorResizeService extends Disposable {
|
|
|
45
47
|
* and calculate the editor's boundaries relative to the browser.
|
|
46
48
|
*/
|
|
47
49
|
private _editAreaProcessing;
|
|
50
|
+
private _getEditorContentElement;
|
|
48
51
|
/**
|
|
49
52
|
* Since the document does not support cell background color, an additional rect needs to be added.
|
|
50
53
|
*/
|
|
@@ -27,6 +27,7 @@ export interface IEditorBridgeServiceVisibleParam {
|
|
|
27
27
|
eventType: DeviceInputEventType;
|
|
28
28
|
unitId: string;
|
|
29
29
|
keycode?: KeyCode;
|
|
30
|
+
initialValue?: string;
|
|
30
31
|
}
|
|
31
32
|
export interface ICurrentEditCellParam {
|
|
32
33
|
scene: Scene;
|
|
@@ -154,6 +155,7 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
|
|
|
154
155
|
editorUnitId: string;
|
|
155
156
|
isInArrayFormulaRange: Nullable<boolean>;
|
|
156
157
|
} | undefined;
|
|
158
|
+
private _getWorkbookForEditUnit;
|
|
157
159
|
getCurrentEditorId(): string;
|
|
158
160
|
changeVisible(params: IEditorBridgeServiceVisibleParam): void;
|
|
159
161
|
isVisible(): IEditorBridgeServiceVisibleParam;
|
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
import type { DisposableCollection, IRange, Worksheet } from '@univerjs/core';
|
|
17
17
|
import type { Engine, Scene, Spreadsheet, SpreadsheetSkeleton } from '@univerjs/engine-render';
|
|
18
18
|
import { Disposable, InterceptorManager } from '@univerjs/core';
|
|
19
|
+
/** Tracks asynchronous resources registered by all interceptors for one print page. */
|
|
20
|
+
export declare class SheetPrintingResourceCollector {
|
|
21
|
+
private readonly _pending;
|
|
22
|
+
add(resource: Promise<unknown>): void;
|
|
23
|
+
wait(timeout?: number): Promise<void>;
|
|
24
|
+
}
|
|
19
25
|
interface ISheetPrintContext {
|
|
20
26
|
unitId: string;
|
|
21
27
|
subUnitId: string;
|
|
@@ -24,6 +30,8 @@ interface ISheetPrintContext {
|
|
|
24
30
|
root: HTMLElement;
|
|
25
31
|
worksheet: Worksheet;
|
|
26
32
|
skeleton: SpreadsheetSkeleton;
|
|
33
|
+
range: IRange;
|
|
34
|
+
resourceCollector: SheetPrintingResourceCollector;
|
|
27
35
|
offset: {
|
|
28
36
|
offsetX: number;
|
|
29
37
|
offsetY: number;
|
|
@@ -129,6 +129,7 @@ export declare class BaseSelectionRenderService extends Disposable implements IS
|
|
|
129
129
|
}>;
|
|
130
130
|
protected _escapeShortcutDisposable: Nullable<IDisposable>;
|
|
131
131
|
constructor(_injector: Injector, _themeService: ThemeService, _shortcutService: IShortcutService, _sheetSkeletonManagerService: SheetSkeletonManagerService, contextService: IContextService);
|
|
132
|
+
dispose(): void;
|
|
132
133
|
/**
|
|
133
134
|
* If true, the selector will respond to the range of merged cells and automatically extend the selected range. If false, it will ignore the merged cells.
|
|
134
135
|
*/
|