@univerjs/sheets-drawing-ui 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +47 -13
- package/lib/cjs/locale/ar-SA.js +1 -3
- package/lib/cjs/locale/ca-ES.js +1 -3
- package/lib/cjs/locale/de-DE.js +1 -3
- package/lib/cjs/locale/en-US.js +1 -3
- package/lib/cjs/locale/es-ES.js +1 -3
- package/lib/cjs/locale/fa-IR.js +1 -3
- package/lib/cjs/locale/fr-FR.js +1 -3
- package/lib/cjs/locale/id-ID.js +1 -3
- package/lib/cjs/locale/it-IT.js +1 -3
- package/lib/cjs/locale/ja-JP.js +1 -3
- package/lib/cjs/locale/ko-KR.js +1 -3
- package/lib/cjs/locale/pl-PL.js +1 -3
- package/lib/cjs/locale/pt-BR.js +1 -3
- package/lib/cjs/locale/ru-RU.js +1 -3
- package/lib/cjs/locale/sk-SK.js +1 -3
- package/lib/cjs/locale/vi-VN.js +1 -3
- package/lib/cjs/locale/zh-CN.js +1 -3
- package/lib/cjs/locale/zh-HK.js +1 -3
- package/lib/cjs/locale/zh-TW.js +1 -3
- package/lib/es/index.js +48 -14
- package/lib/es/locale/ar-SA.js +1 -3
- package/lib/es/locale/ca-ES.js +1 -3
- package/lib/es/locale/de-DE.js +1 -3
- package/lib/es/locale/en-US.js +1 -3
- package/lib/es/locale/es-ES.js +1 -3
- package/lib/es/locale/fa-IR.js +1 -3
- package/lib/es/locale/fr-FR.js +1 -3
- package/lib/es/locale/id-ID.js +1 -3
- package/lib/es/locale/it-IT.js +1 -3
- package/lib/es/locale/ja-JP.js +1 -3
- package/lib/es/locale/ko-KR.js +1 -3
- package/lib/es/locale/pl-PL.js +1 -3
- package/lib/es/locale/pt-BR.js +1 -3
- package/lib/es/locale/ru-RU.js +1 -3
- package/lib/es/locale/sk-SK.js +1 -3
- package/lib/es/locale/vi-VN.js +1 -3
- package/lib/es/locale/zh-CN.js +1 -3
- package/lib/es/locale/zh-HK.js +1 -3
- package/lib/es/locale/zh-TW.js +1 -3
- package/lib/index.js +48 -14
- package/lib/locale/ar-SA.js +1 -3
- package/lib/locale/ca-ES.js +1 -3
- package/lib/locale/de-DE.js +1 -3
- package/lib/locale/en-US.js +1 -3
- package/lib/locale/es-ES.js +1 -3
- package/lib/locale/fa-IR.js +1 -3
- package/lib/locale/fr-FR.js +1 -3
- package/lib/locale/id-ID.js +1 -3
- package/lib/locale/it-IT.js +1 -3
- package/lib/locale/ja-JP.js +1 -3
- package/lib/locale/ko-KR.js +1 -3
- package/lib/locale/pl-PL.js +1 -3
- package/lib/locale/pt-BR.js +1 -3
- package/lib/locale/ru-RU.js +1 -3
- package/lib/locale/sk-SK.js +1 -3
- package/lib/locale/vi-VN.js +1 -3
- package/lib/locale/zh-CN.js +1 -3
- package/lib/locale/zh-HK.js +1 -3
- package/lib/locale/zh-TW.js +1 -3
- package/lib/types/controllers/render-controllers/sheet-celll-image-hover.render-controller.d.ts +3 -1
- package/lib/types/controllers/ui.controller.d.ts +6 -2
- package/lib/types/locale/en-US.d.ts +0 -2
- package/lib/umd/index.js +2 -2
- 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 +14 -14
package/lib/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { buildDocTransform, docDrawingPositionToTransform } from "@univerjs/docs
|
|
|
6
6
|
import { DRAWING_IMAGE_ALLOW_IMAGE_LIST, DRAWING_IMAGE_COUNT_LIMIT, DRAWING_IMAGE_HEIGHT_LIMIT, DRAWING_IMAGE_WIDTH_LIMIT, IDrawingManagerService, SetDrawingSelectedOperation, UniverDrawingPlugin, getDrawingImageAllowSize, getDrawingShapeKeyByDrawingSearch, getImageSize } from "@univerjs/drawing";
|
|
7
7
|
import { COMMAND_LISTENER_SKELETON_CHANGE, IAutoFillService, INTERCEPTOR_POINT, InterceptCellContentPriority, RangeProtectionPermissionEditPoint, SetFrozenMutation, SetRangeValuesCommand, SetSelectionsOperation, SetWorksheetActiveOperation, SetWorksheetRowAutoHeightMutation, SheetInterceptorService, SheetPermissionCheckController, SheetSkeletonService, SheetsSelectionsService, UniverSheetsPlugin, WorkbookEditablePermission, WorkbookViewPermission, WorksheetEditPermission, WorksheetViewPermission, attachRangeWithCoord, discreteRangeToRange, getSheetCommandTarget, isCellImage } from "@univerjs/sheets";
|
|
8
8
|
import { COPY_TYPE, EditingRenderController, HoverManagerService, IEditorBridgeService, ISheetClipboardService, ISheetSelectionRenderService, PREDEFINED_HOOK_NAME_PASTE, SetCellEditVisibleOperation, SetScrollOperation, SetZoomRatioOperation, SheetCanvasPopManagerService, SheetPrintInterceptorService, SheetSkeletonManagerService, UniverSheetsUIPlugin, getCurrentRangeDisable$, useHighlightRange, virtualizeDiscreteRanges } from "@univerjs/sheets-ui";
|
|
9
|
-
import { CanvasFloatDomPreviewService, CanvasFloatDomService, ComponentManager, ContextMenuGroup, ContextMenuPosition, IClipboardInterfaceService, IContextMenuService, IDialogService, ILocalFileService, IMenuManagerService, IMessageService, IShortcutService, ISidebarService, KeyCode, MenuItemType, PrintFloatDomSingle, RibbonInsertGroup, connectInjector, getMenuHiddenObservable, useDependency, useObservable } from "@univerjs/ui";
|
|
9
|
+
import { CanvasFloatDomPreviewService, CanvasFloatDomService, ComponentManager, ContextMenuGroup, ContextMenuPosition, IClipboardInterfaceService, IContextMenuService, IDialogService, ILocalFileService, IMenuManagerService, IMessageService, IShortcutService, ISidebarService, KeyCode, MenuItemType, PrintFloatDomSingle, RibbonInsertGroup, UndoRedoGroupService, connectInjector, getMenuHiddenObservable, useDependency, useObservable } from "@univerjs/ui";
|
|
10
10
|
import { COMPONENT_IMAGE_POPUP_MENU, DrawingCommonPanel, DrawingRenderService, ImageCropperObject, ImageResetSizeOperation, OpenImageCropOperation, UniverDrawingUIPlugin, disposeDrawingRenderObject, insertGroupObject } from "@univerjs/drawing-ui";
|
|
11
11
|
import { BehaviorSubject, EMPTY, Subject, combineLatest, distinctUntilChanged, filter, map, of, switchMap, take, tap, throttleTime } from "rxjs";
|
|
12
12
|
import { DocDrawingController, UniverDocsDrawingPlugin } from "@univerjs/docs-drawing";
|
|
@@ -903,6 +903,7 @@ const MoveDrawingsCommand = {
|
|
|
903
903
|
const commandService = accessor.get(ICommandService);
|
|
904
904
|
const drawingManagerService = accessor.get(ISheetDrawingService);
|
|
905
905
|
const sheetSkeletonService = accessor.get(SheetSkeletonService);
|
|
906
|
+
const undoRedoGroupService = accessor.get(UndoRedoGroupService);
|
|
906
907
|
const { direction } = params;
|
|
907
908
|
const drawings = drawingManagerService.getFocusDrawings();
|
|
908
909
|
if (drawings.length === 0) return false;
|
|
@@ -924,10 +925,10 @@ const MoveDrawingsCommand = {
|
|
|
924
925
|
axisAlignSheetTransform: transformToAxisAlignPosition(newTransform, skeleton)
|
|
925
926
|
};
|
|
926
927
|
}).filter((drawing) => drawing != null);
|
|
927
|
-
if (commandService.syncExecuteCommand(SetSheetDrawingCommand.id, {
|
|
928
|
+
if (undoRedoGroupService.runTimed(unitId, `sheet-drawing:nudge:${drawings[0].subUnitId}:${drawings.map((drawing) => drawing.drawingId).sort().join(",")}`, () => commandService.syncExecuteCommand(SetSheetDrawingCommand.id, {
|
|
928
929
|
unitId,
|
|
929
930
|
drawings: newDrawings
|
|
930
|
-
})) {
|
|
931
|
+
}))) {
|
|
931
932
|
commandService.syncExecuteCommand(ClearSheetDrawingTransformerOperation.id, [unitId]);
|
|
932
933
|
return true;
|
|
933
934
|
}
|
|
@@ -1374,21 +1375,24 @@ const SidebarSheetDrawingOperation = {
|
|
|
1374
1375
|
const sidebarService = accessor.get(ISidebarService);
|
|
1375
1376
|
const localeService = accessor.get(LocaleService);
|
|
1376
1377
|
const univerInstanceService = accessor.get(IUniverInstanceService);
|
|
1378
|
+
const drawingManagerService = accessor.get(IDrawingManagerService);
|
|
1377
1379
|
const commandService = accessor.get(ICommandService);
|
|
1378
1380
|
if (!getSheetCommandTarget(univerInstanceService)) return false;
|
|
1379
1381
|
switch (params.value) {
|
|
1380
1382
|
case "open":
|
|
1381
1383
|
sidebarService.open({
|
|
1384
|
+
id: COMPONENT_SHEET_DRAWING_PANEL,
|
|
1382
1385
|
header: { title: localeService.t("sheets-drawing-ui.panel.title") },
|
|
1383
1386
|
children: { label: COMPONENT_SHEET_DRAWING_PANEL },
|
|
1384
1387
|
onClose: () => {
|
|
1385
|
-
|
|
1388
|
+
const focusedDrawings = drawingManagerService.getFocusDrawings();
|
|
1389
|
+
if (focusedDrawings.length === 1 && focusedDrawings[0].drawingType === DrawingTypeEnum.DRAWING_IMAGE) commandService.syncExecuteCommand(SetDrawingSelectedOperation.id, []);
|
|
1386
1390
|
},
|
|
1387
1391
|
width: 360
|
|
1388
1392
|
});
|
|
1389
1393
|
break;
|
|
1390
1394
|
default:
|
|
1391
|
-
sidebarService.close();
|
|
1395
|
+
sidebarService.close(COMPONENT_SHEET_DRAWING_PANEL);
|
|
1392
1396
|
break;
|
|
1393
1397
|
}
|
|
1394
1398
|
return true;
|
|
@@ -3428,7 +3432,7 @@ const menuSchema = {
|
|
|
3428
3432
|
//#endregion
|
|
3429
3433
|
//#region package.json
|
|
3430
3434
|
var name = "@univerjs/sheets-drawing-ui";
|
|
3431
|
-
var version = "1.0.0-beta.
|
|
3435
|
+
var version = "1.0.0-beta.1";
|
|
3432
3436
|
|
|
3433
3437
|
//#endregion
|
|
3434
3438
|
//#region src/config/config.ts
|
|
@@ -3820,6 +3824,7 @@ DrawingContextMenuController = __decorate([
|
|
|
3820
3824
|
|
|
3821
3825
|
//#endregion
|
|
3822
3826
|
//#region src/controllers/render-controllers/sheet-celll-image-hover.render-controller.ts
|
|
3827
|
+
const CELL_IMAGE_PREVIEW_KEY = "preview-cell-image";
|
|
3823
3828
|
let SheetCellImageHoverRenderController = class SheetCellImageHoverRenderController extends Disposable {
|
|
3824
3829
|
constructor(_context, _hoverManagerService, _selectionsService, _drawingRenderService, _sheetSkeletonManagerService) {
|
|
3825
3830
|
super();
|
|
@@ -3858,15 +3863,31 @@ let SheetCellImageHoverRenderController = class SheetCellImageHoverRenderControl
|
|
|
3858
3863
|
_initImageClick() {
|
|
3859
3864
|
this.disposeWithMe(this._hoverManagerService.currentClickedCell$.subscribe((click) => {
|
|
3860
3865
|
if ((click === null || click === void 0 ? void 0 : click.drawing) && this._isSetCursor) {
|
|
3861
|
-
var _this$_sheetSkeletonM;
|
|
3862
3866
|
const imageDrawing = click.drawing.drawing.drawingOrigin;
|
|
3863
|
-
|
|
3864
|
-
if (!imageEle) return;
|
|
3865
|
-
this._drawingRenderService.previewImage("preview-cell-image", imageEle.src, imageEle.width, imageEle.height);
|
|
3866
|
-
this._context.scene.resetCursor();
|
|
3867
|
-
this._isSetCursor = false;
|
|
3867
|
+
this._previewImage(imageDrawing);
|
|
3868
3868
|
}
|
|
3869
3869
|
}));
|
|
3870
|
+
const currentDbClickedCell$ = this._hoverManagerService.currentDbClickedCell$;
|
|
3871
|
+
if (!currentDbClickedCell$) return;
|
|
3872
|
+
this.disposeWithMe(currentDbClickedCell$.subscribe(({ location }) => {
|
|
3873
|
+
var _worksheet$getCellRaw, _documentData$drawing, _documentData$drawing2;
|
|
3874
|
+
if (location.unitId !== this._context.unitId) return;
|
|
3875
|
+
const worksheet = this._context.unit.getSheetBySheetId(location.subUnitId);
|
|
3876
|
+
const documentData = worksheet === null || worksheet === void 0 || (_worksheet$getCellRaw = worksheet.getCellRaw(location.row, location.col)) === null || _worksheet$getCellRaw === void 0 ? void 0 : _worksheet$getCellRaw.p;
|
|
3877
|
+
const drawingId = documentData === null || documentData === void 0 || (_documentData$drawing = documentData.drawingsOrder) === null || _documentData$drawing === void 0 ? void 0 : _documentData$drawing[0];
|
|
3878
|
+
const imageDrawing = isCellImage(documentData) && drawingId ? (_documentData$drawing2 = documentData.drawings) === null || _documentData$drawing2 === void 0 ? void 0 : _documentData$drawing2[drawingId] : void 0;
|
|
3879
|
+
if (imageDrawing) this._previewImage(imageDrawing);
|
|
3880
|
+
}));
|
|
3881
|
+
}
|
|
3882
|
+
_previewImage(imageDrawing) {
|
|
3883
|
+
var _this$_sheetSkeletonM;
|
|
3884
|
+
if (this._disposed) return;
|
|
3885
|
+
const imageCacheMap = (_this$_sheetSkeletonM = this._sheetSkeletonManagerService.getCurrentSkeleton()) === null || _this$_sheetSkeletonM === void 0 ? void 0 : _this$_sheetSkeletonM.imageCacheMap;
|
|
3886
|
+
const imageEle = imageCacheMap === null || imageCacheMap === void 0 ? void 0 : imageCacheMap.getImage(imageDrawing.imageSourceType, imageDrawing.source, () => this._previewImage(imageDrawing));
|
|
3887
|
+
if (!imageEle) return;
|
|
3888
|
+
this._drawingRenderService.previewImage(CELL_IMAGE_PREVIEW_KEY, imageEle.src, imageEle.width, imageEle.height);
|
|
3889
|
+
this._context.scene.resetCursor();
|
|
3890
|
+
this._isSetCursor = false;
|
|
3870
3891
|
}
|
|
3871
3892
|
};
|
|
3872
3893
|
SheetCellImageHoverRenderController = __decorate([
|
|
@@ -5192,11 +5213,13 @@ const DeleteDrawingsShortcutItem = {
|
|
|
5192
5213
|
* limitations under the License.
|
|
5193
5214
|
*/
|
|
5194
5215
|
let SheetDrawingUIController = class SheetDrawingUIController extends Disposable {
|
|
5195
|
-
constructor(_menuManagerService, _commandService, _shortcutService) {
|
|
5216
|
+
constructor(_menuManagerService, _commandService, _shortcutService, _drawingManagerService, _sidebarService) {
|
|
5196
5217
|
super();
|
|
5197
5218
|
this._menuManagerService = _menuManagerService;
|
|
5198
5219
|
this._commandService = _commandService;
|
|
5199
5220
|
this._shortcutService = _shortcutService;
|
|
5221
|
+
this._drawingManagerService = _drawingManagerService;
|
|
5222
|
+
this._sidebarService = _sidebarService;
|
|
5200
5223
|
this._init();
|
|
5201
5224
|
}
|
|
5202
5225
|
_initCustomComponents() {}
|
|
@@ -5228,17 +5251,27 @@ let SheetDrawingUIController = class SheetDrawingUIController extends Disposable
|
|
|
5228
5251
|
this.disposeWithMe(this._shortcutService.registerShortcut(item));
|
|
5229
5252
|
});
|
|
5230
5253
|
}
|
|
5254
|
+
_initImagePanel() {
|
|
5255
|
+
this.disposeWithMe(this._drawingManagerService.focus$.subscribe((drawings) => {
|
|
5256
|
+
if (!this._sidebarService.visible || this._sidebarService.options.id !== "COMPONENT_SHEET_DRAWING_PANEL") return;
|
|
5257
|
+
if (drawings.length === 1 && drawings[0].drawingType === DrawingTypeEnum.DRAWING_IMAGE) return;
|
|
5258
|
+
this._sidebarService.close(COMPONENT_SHEET_DRAWING_PANEL);
|
|
5259
|
+
}));
|
|
5260
|
+
}
|
|
5231
5261
|
_init() {
|
|
5232
5262
|
this._initCommands();
|
|
5233
5263
|
this._initCustomComponents();
|
|
5234
5264
|
this._initMenus();
|
|
5235
5265
|
this._initShortcuts();
|
|
5266
|
+
this._initImagePanel();
|
|
5236
5267
|
}
|
|
5237
5268
|
};
|
|
5238
5269
|
SheetDrawingUIController = __decorate([
|
|
5239
5270
|
__decorateParam(0, IMenuManagerService),
|
|
5240
5271
|
__decorateParam(1, ICommandService),
|
|
5241
|
-
__decorateParam(2, IShortcutService)
|
|
5272
|
+
__decorateParam(2, IShortcutService),
|
|
5273
|
+
__decorateParam(3, IDrawingManagerService),
|
|
5274
|
+
__decorateParam(4, Inject(ISidebarService))
|
|
5242
5275
|
], SheetDrawingUIController);
|
|
5243
5276
|
|
|
5244
5277
|
//#endregion
|
|
@@ -5327,6 +5360,7 @@ let DrawingPopupMenuController = class DrawingPopupMenuController extends RxDisp
|
|
|
5327
5360
|
const menus = this._canvasPopManagerService.getFeatureMenu(unitId, subUnitId, drawingId, drawingType);
|
|
5328
5361
|
singletonPopupDisposer = this.disposeWithMe(this._canvasPopManagerService.attachPopupToObject(object, {
|
|
5329
5362
|
componentKey: COMPONENT_IMAGE_POPUP_MENU,
|
|
5363
|
+
constrainToCanvas: true,
|
|
5330
5364
|
direction: this._localeService.getDirection() === "rtl" ? "left" : "horizontal",
|
|
5331
5365
|
offset: [2, 0],
|
|
5332
5366
|
extraProps: { menuItems: menus || this._getImageMenuItems(unitId, subUnitId, drawingId, drawingType) }
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "فشل في حفظ صور الخلايا"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "استبدال",
|
|
25
24
|
delete: "حذف",
|
|
26
25
|
edit: "تحرير",
|
|
27
26
|
crop: "قص",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "لصق كصورة خلية",
|
|
46
|
-
pasteContent: "سيؤدي لصق صورة خلية إلى استبدال المحتوى الموجود في الخلية، هل تريد المتابعة؟"
|
|
47
|
-
pasteError: "نسخ ولصق صورة خلية الورقة غير مدعوم في هذه الوحدة"
|
|
45
|
+
pasteContent: "سيؤدي لصق صورة خلية إلى استبدال المحتوى الموجود في الخلية، هل تريد المتابعة؟"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "النطاق محمي، وليس لديك إذن التحرير. للتحرير، يرجى التواصل مع المنشئ." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "No s'han pogut desar les imatges de cel·la"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Reemplaça",
|
|
25
24
|
delete: "Elimina",
|
|
26
25
|
edit: "Edita",
|
|
27
26
|
crop: "Retalla",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Enganxa com a imatge de cel·la",
|
|
46
|
-
pasteContent: "Enganxar una imatge de cel·la sobreescriurà el contingut existent de la cel·la, continuar enganxant"
|
|
47
|
-
pasteError: "La còpia i enganxat d’imatges de cel·la de full no està suportada en aquesta unitat"
|
|
45
|
+
pasteContent: "Enganxar una imatge de cel·la sobreescriurà el contingut existent de la cel·la, continuar enganxant"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "L'interval està protegit i no teniu permís d'edició. Per editar, contacteu amb el creador." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Zellenbilder konnten nicht gespeichert werden"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Ersetzen",
|
|
25
24
|
delete: "Löschen",
|
|
26
25
|
edit: "Bearbeiten",
|
|
27
26
|
crop: "Zuschneiden",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Als Zellenbild einfügen",
|
|
46
|
-
pasteContent: "Das Einfügen eines Zellenbilds überschreibt den bestehenden Inhalt der Zelle, mit dem Einfügen fortfahren?"
|
|
47
|
-
pasteError: "Kopieren und Einfügen von Zellenbildern wird in dieser Einheit nicht unterstützt"
|
|
45
|
+
pasteContent: "Das Einfügen eines Zellenbilds überschreibt den bestehenden Inhalt der Zelle, mit dem Einfügen fortfahren?"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "Der Bereich ist geschützt, und Sie haben keine Bearbeitungsberechtigung. Um zu bearbeiten, wenden Sie sich bitte an den Ersteller." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/en-US.js
CHANGED
|
@@ -36,7 +36,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
36
36
|
error: "Failed to save cell images"
|
|
37
37
|
},
|
|
38
38
|
"image-popup": {
|
|
39
|
-
replace: "Replace",
|
|
40
39
|
delete: "Delete",
|
|
41
40
|
edit: "Edit",
|
|
42
41
|
crop: "Crop",
|
|
@@ -58,8 +57,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
58
57
|
},
|
|
59
58
|
"cell-image": {
|
|
60
59
|
pasteTitle: "Paste as cell image",
|
|
61
|
-
pasteContent: "Pasting a cell image will overwrite the existing content of the cell, continue pasting"
|
|
62
|
-
pasteError: "Sheet cell image copy paste is not supported in this unit"
|
|
60
|
+
pasteContent: "Pasting a cell image will overwrite the existing content of the cell, continue pasting"
|
|
63
61
|
},
|
|
64
62
|
permission: { dialog: { editErr: "The range is protected, and you do not have edit permission. To edit, please contact the creator." } },
|
|
65
63
|
shortcut: {
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Error al guardar las imágenes de celda"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Reemplazar",
|
|
25
24
|
delete: "Eliminar",
|
|
26
25
|
edit: "Editar",
|
|
27
26
|
crop: "Recortar",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Pegar como imagen de celda",
|
|
46
|
-
pasteContent: "Pegar una imagen de celda sobrescribirá el contenido existente de la celda, continuar pegando"
|
|
47
|
-
pasteError: "La copia y pegado de imágenes de celda de hoja no está soportada en esta unidad"
|
|
45
|
+
pasteContent: "Pegar una imagen de celda sobrescribirá el contenido existente de la celda, continuar pegando"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "El rango está protegido y no tienes permiso de edición. Para editar, contacta al creador." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "ذخیره تصاویر سلول ناموفق بود"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "تعویض",
|
|
25
24
|
delete: "حذف",
|
|
26
25
|
edit: "ویرایش",
|
|
27
26
|
crop: "کراپ",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "چسباندن به عنوان تصویر سلول",
|
|
46
|
-
pasteContent: "چسباندن تصویر سلول محتوای موجود سلول را پاک خواهد کرد، ادامه چسباندن"
|
|
47
|
-
pasteError: "کپی و چسباندن تصویر سلول در این واحد پشتیبانی نمیشود"
|
|
45
|
+
pasteContent: "چسباندن تصویر سلول محتوای موجود سلول را پاک خواهد کرد، ادامه چسباندن"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "محدوده محافظت شده است و شما مجوز ویرایش را ندارید. برای ویرایش، لطفا با سازنده تماس بگیرید." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Échec de l'enregistrement des images de cellule"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Remplacer",
|
|
25
24
|
delete: "Supprimer",
|
|
26
25
|
edit: "Éditer",
|
|
27
26
|
crop: "Rogner",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Coller comme image de cellule",
|
|
46
|
-
pasteContent: "Coller une image de cellule écrasera le contenu existant de la cellule, continuer le collage"
|
|
47
|
-
pasteError: "Le copier-coller d'image de cellule n'est pas pris en charge dans cette unité"
|
|
45
|
+
pasteContent: "Coller une image de cellule écrasera le contenu existant de la cellule, continuer le collage"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "La plage est protégée, et vous n'avez pas la permission de modifier. Pour modifier, veuillez contacter le créateur." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Gagal menyimpan gambar sel"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Ganti",
|
|
25
24
|
delete: "Hapus",
|
|
26
25
|
edit: "Edit",
|
|
27
26
|
crop: "Pangkas",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Tempel sebagai gambar sel",
|
|
46
|
-
pasteContent: "Menempel gambar sel akan menimpa konten yang ada di sel, lanjutkan menempel"
|
|
47
|
-
pasteError: "Salin tempel gambar sel lembar kerja tidak didukung dalam unit ini"
|
|
45
|
+
pasteContent: "Menempel gambar sel akan menimpa konten yang ada di sel, lanjutkan menempel"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "Rentang ini dilindungi, dan Anda tidak memiliki izin edit. Untuk mengedit, silakan hubungi pembuatnya." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Salvataggio immagini celle non riuscito"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Sostituisci",
|
|
25
24
|
delete: "Elimina",
|
|
26
25
|
edit: "Modifica",
|
|
27
26
|
crop: "Ritaglia",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Incolla come immagine cella",
|
|
46
|
-
pasteContent: "L'incollaggio di un'immagine cella sovrascriverà il contenuto esistente della cella, continuare con l'incollaggio"
|
|
47
|
-
pasteError: "Copia e incolla di immagine cella non supportato in questa unità"
|
|
45
|
+
pasteContent: "L'incollaggio di un'immagine cella sovrascriverà il contenuto esistente della cella, continuare con l'incollaggio"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "L'intervallo è protetto e non hai l'autorizzazione di modifica. Per modificare, contatta il creatore." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "セル画像の保存に失敗しました"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "画像の変更",
|
|
25
24
|
delete: "削除",
|
|
26
25
|
edit: "編集",
|
|
27
26
|
crop: "トリミング",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "セル内画像として貼り付け",
|
|
46
|
-
pasteContent: "セル内画像を貼り付けると、既存のセル内容が上書きされます。続行しますか?"
|
|
47
|
-
pasteError: "この箇所では、シートのセル内画像のコピー&ペーストはサポートされていません"
|
|
45
|
+
pasteContent: "セル内画像を貼り付けると、既存のセル内容が上書きされます。続行しますか?"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "この範囲は保護されており、編集権限がありません。編集するには作成者に連絡してください。" } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "셀 이미지 저장 실패"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "바꾸기",
|
|
25
24
|
delete: "삭제",
|
|
26
25
|
edit: "편집",
|
|
27
26
|
crop: "자르기",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "셀 이미지로 붙여넣기",
|
|
46
|
-
pasteContent: "셀 이미지 붙여넣기는 기존 셀 내용을 덮어씁니다. 계속 진행하시겠습니까?"
|
|
47
|
-
pasteError: "이 단위에서는 시트 셀 이미지 복사 붙여넣기를 지원하지 않습니다"
|
|
45
|
+
pasteContent: "셀 이미지 붙여넣기는 기존 셀 내용을 덮어씁니다. 계속 진행하시겠습니까?"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "해당 범위는 보호되어 있어 편집 권한이 없습니다. 편집하려면 작성자에게 문의하세요." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Nie udało się zapisać obrazów w komórkach"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Zamień",
|
|
25
24
|
delete: "Usuń",
|
|
26
25
|
edit: "Edytuj",
|
|
27
26
|
crop: "Przytnij",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Wklej jako obraz w komórce",
|
|
46
|
-
pasteContent: "Wklejenie obrazu w komórce spowoduje zastąpienie istniejącej zawartości komórki, kontynuować wklejanie"
|
|
47
|
-
pasteError: "Kopiowanie i wklejanie obrazu w komórce arkusza nie jest obsługiwane w tej jednostce"
|
|
45
|
+
pasteContent: "Wklejenie obrazu w komórce spowoduje zastąpienie istniejącej zawartości komórki, kontynuować wklejanie"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "Zakres jest chroniony i nie masz uprawnień do edycji. Aby edytować, skontaktuj się z twórcą." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Falha ao salvar imagens de célula"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Substituir",
|
|
25
24
|
delete: "Excluir",
|
|
26
25
|
edit: "Editar",
|
|
27
26
|
crop: "Cortar",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Colar como imagem de célula",
|
|
46
|
-
pasteContent: "Colar uma imagem de célula substituirá o conteúdo existente da célula, continuar colando"
|
|
47
|
-
pasteError: "Copiar e colar imagem de célula da planilha não é suportado nesta unidade"
|
|
45
|
+
pasteContent: "Colar uma imagem de célula substituirá o conteúdo existente da célula, continuar colando"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "O intervalo está protegido e você não tem permissão de edição. Para editar, entre em contato com o criador." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Не удалось сохранить изображения ячеек"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Заменить",
|
|
25
24
|
delete: "Удалить",
|
|
26
25
|
edit: "Редактировать",
|
|
27
26
|
crop: "Обрезать",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Вставить как изображение ячейки",
|
|
46
|
-
pasteContent: "Вставка изображения ячейки перезапишет существующее содержимое ячейки, продолжить вставку"
|
|
47
|
-
pasteError: "Копирование и вставка изображения ячейки не поддерживается в этом блоке"
|
|
45
|
+
pasteContent: "Вставка изображения ячейки перезапишет существующее содержимое ячейки, продолжить вставку"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "Диапазон защищен, и у вас нет разрешения на редактирование. Для редактирования свяжитесь с создателем." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Nepodarilo sa uložiť obrázky buniek"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Nahradiť",
|
|
25
24
|
delete: "Odstrániť",
|
|
26
25
|
edit: "Upraviť",
|
|
27
26
|
crop: "Orezať",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Prilepiť ako obrázok bunky",
|
|
46
|
-
pasteContent: "Prilepením obrázka bunky sa prepíše existujúci obsah bunky, pokračovať"
|
|
47
|
-
pasteError: "Kopírovanie a prilepovanie obrázkov buniek v tomto module nie je podporované"
|
|
45
|
+
pasteContent: "Prilepením obrázka bunky sa prepíše existujúci obsah bunky, pokračovať"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "Rozsah je chránený a nemáte oprávnenie na úpravy. Ak chcete upravovať, kontaktujte autora." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "Lưu hình ảnh ô thất bại"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "Thay thế",
|
|
25
24
|
delete: "Xóa",
|
|
26
25
|
edit: "Chỉnh sửa",
|
|
27
26
|
crop: "Cắt",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "Dán như hình ảnh ô",
|
|
46
|
-
pasteContent: "Dán hình ảnh ô sẽ ghi đè lên nội dung hiện có của ô, tiếp tục dán"
|
|
47
|
-
pasteError: "Sao chép và dán hình ảnh ô không được hỗ trợ trong đơn vị này"
|
|
45
|
+
pasteContent: "Dán hình ảnh ô sẽ ghi đè lên nội dung hiện có của ô, tiếp tục dán"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "Phạm vi này đã được bảo vệ, hiện không có quyền chỉnh sửa. Nếu cần chỉnh sửa, vui lòng liên hệ với người tạo." } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "保存单元格图片失败"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "替换",
|
|
25
24
|
delete: "删除",
|
|
26
25
|
edit: "编辑",
|
|
27
26
|
crop: "裁剪",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "粘贴为单元格图片",
|
|
46
|
-
pasteContent: "粘贴单元格图片将覆盖单元格中的现有内容,继续粘贴"
|
|
47
|
-
pasteError: "此单元中不支持单元格图片复制粘贴"
|
|
45
|
+
pasteContent: "粘贴单元格图片将覆盖单元格中的现有内容,继续粘贴"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "该范围已被保护,目前无编辑权限。如需编辑,请联系创建者。" } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "儲存儲存格圖片失敗"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "替換",
|
|
25
24
|
delete: "刪除",
|
|
26
25
|
edit: "編輯",
|
|
27
26
|
crop: "裁切",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "貼上為儲存格圖片",
|
|
46
|
-
pasteContent: "貼上儲存格圖片將覆蓋儲存格中的現有內容,繼續貼上"
|
|
47
|
-
pasteError: "此儲存格不支援儲存格圖片複製貼上"
|
|
45
|
+
pasteContent: "貼上儲存格圖片將覆蓋儲存格中的現有內容,繼續貼上"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。 " } },
|
|
50
48
|
shortcut: {
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -21,7 +21,6 @@ const locale = { "sheets-drawing-ui": {
|
|
|
21
21
|
error: "儲存儲存格圖片失敗"
|
|
22
22
|
},
|
|
23
23
|
"image-popup": {
|
|
24
|
-
replace: "替換",
|
|
25
24
|
delete: "刪除",
|
|
26
25
|
edit: "編輯",
|
|
27
26
|
crop: "裁切",
|
|
@@ -43,8 +42,7 @@ const locale = { "sheets-drawing-ui": {
|
|
|
43
42
|
},
|
|
44
43
|
"cell-image": {
|
|
45
44
|
pasteTitle: "貼上為儲存格圖片",
|
|
46
|
-
pasteContent: "貼上儲存格圖片將覆蓋儲存格中的現有內容,繼續貼上"
|
|
47
|
-
pasteError: "此儲存格不支援儲存格圖片複製貼上"
|
|
45
|
+
pasteContent: "貼上儲存格圖片將覆蓋儲存格中的現有內容,繼續貼上"
|
|
48
46
|
},
|
|
49
47
|
permission: { dialog: { editErr: "該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。 " } },
|
|
50
48
|
shortcut: {
|
package/lib/types/controllers/render-controllers/sheet-celll-image-hover.render-controller.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import type { Workbook } from '@univerjs/core';
|
|
16
17
|
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
17
18
|
import { Disposable } from '@univerjs/core';
|
|
18
19
|
import { DrawingRenderService } from '@univerjs/drawing-ui';
|
|
@@ -25,7 +26,8 @@ export declare class SheetCellImageHoverRenderController extends Disposable impl
|
|
|
25
26
|
private _drawingRenderService;
|
|
26
27
|
private _sheetSkeletonManagerService;
|
|
27
28
|
private _isSetCursor;
|
|
28
|
-
constructor(_context: IRenderContext
|
|
29
|
+
constructor(_context: IRenderContext<Workbook>, _hoverManagerService: HoverManagerService, _selectionsService: SheetsSelectionsService, _drawingRenderService: DrawingRenderService, _sheetSkeletonManagerService: SheetSkeletonManagerService);
|
|
29
30
|
private _initHover;
|
|
30
31
|
private _initImageClick;
|
|
32
|
+
private _previewImage;
|
|
31
33
|
}
|
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
-
import {
|
|
17
|
+
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
18
|
+
import { IMenuManagerService, IShortcutService, ISidebarService } from '@univerjs/ui';
|
|
18
19
|
export declare class SheetDrawingUIController extends Disposable {
|
|
19
20
|
private readonly _menuManagerService;
|
|
20
21
|
private readonly _commandService;
|
|
21
22
|
private readonly _shortcutService;
|
|
22
|
-
|
|
23
|
+
private readonly _drawingManagerService;
|
|
24
|
+
private readonly _sidebarService;
|
|
25
|
+
constructor(_menuManagerService: IMenuManagerService, _commandService: ICommandService, _shortcutService: IShortcutService, _drawingManagerService: IDrawingManagerService, _sidebarService: ISidebarService);
|
|
23
26
|
private _initCustomComponents;
|
|
24
27
|
private _initMenus;
|
|
25
28
|
private _initCommands;
|
|
26
29
|
private _initShortcuts;
|
|
30
|
+
private _initImagePanel;
|
|
27
31
|
private _init;
|
|
28
32
|
}
|
|
@@ -40,7 +40,6 @@ declare const locale: {
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
'image-popup': {
|
|
43
|
-
replace: string;
|
|
44
43
|
delete: string;
|
|
45
44
|
edit: string;
|
|
46
45
|
crop: string;
|
|
@@ -63,7 +62,6 @@ declare const locale: {
|
|
|
63
62
|
'cell-image': {
|
|
64
63
|
pasteTitle: string;
|
|
65
64
|
pasteContent: string;
|
|
66
|
-
pasteError: string;
|
|
67
65
|
};
|
|
68
66
|
permission: {
|
|
69
67
|
dialog: {
|