@univerjs/docs-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.
Files changed (84) hide show
  1. package/lib/cjs/index.js +31 -14
  2. package/lib/cjs/locale/ar-SA.js +0 -3
  3. package/lib/cjs/locale/ca-ES.js +0 -3
  4. package/lib/cjs/locale/de-DE.js +0 -3
  5. package/lib/cjs/locale/en-US.js +0 -3
  6. package/lib/cjs/locale/es-ES.js +0 -3
  7. package/lib/cjs/locale/fa-IR.js +0 -3
  8. package/lib/cjs/locale/fr-FR.js +0 -3
  9. package/lib/cjs/locale/id-ID.js +0 -3
  10. package/lib/cjs/locale/it-IT.js +0 -3
  11. package/lib/cjs/locale/ja-JP.js +0 -3
  12. package/lib/cjs/locale/ko-KR.js +0 -3
  13. package/lib/cjs/locale/pl-PL.js +0 -3
  14. package/lib/cjs/locale/pt-BR.js +0 -3
  15. package/lib/cjs/locale/ru-RU.js +0 -3
  16. package/lib/cjs/locale/sk-SK.js +0 -3
  17. package/lib/cjs/locale/vi-VN.js +0 -3
  18. package/lib/cjs/locale/zh-CN.js +0 -3
  19. package/lib/cjs/locale/zh-HK.js +0 -3
  20. package/lib/cjs/locale/zh-TW.js +0 -3
  21. package/lib/es/index.js +31 -14
  22. package/lib/es/locale/ar-SA.js +0 -3
  23. package/lib/es/locale/ca-ES.js +0 -3
  24. package/lib/es/locale/de-DE.js +0 -3
  25. package/lib/es/locale/en-US.js +0 -3
  26. package/lib/es/locale/es-ES.js +0 -3
  27. package/lib/es/locale/fa-IR.js +0 -3
  28. package/lib/es/locale/fr-FR.js +0 -3
  29. package/lib/es/locale/id-ID.js +0 -3
  30. package/lib/es/locale/it-IT.js +0 -3
  31. package/lib/es/locale/ja-JP.js +0 -3
  32. package/lib/es/locale/ko-KR.js +0 -3
  33. package/lib/es/locale/pl-PL.js +0 -3
  34. package/lib/es/locale/pt-BR.js +0 -3
  35. package/lib/es/locale/ru-RU.js +0 -3
  36. package/lib/es/locale/sk-SK.js +0 -3
  37. package/lib/es/locale/vi-VN.js +0 -3
  38. package/lib/es/locale/zh-CN.js +0 -3
  39. package/lib/es/locale/zh-HK.js +0 -3
  40. package/lib/es/locale/zh-TW.js +0 -3
  41. package/lib/index.js +31 -14
  42. package/lib/locale/ar-SA.js +0 -3
  43. package/lib/locale/ca-ES.js +0 -3
  44. package/lib/locale/de-DE.js +0 -3
  45. package/lib/locale/en-US.js +0 -3
  46. package/lib/locale/es-ES.js +0 -3
  47. package/lib/locale/fa-IR.js +0 -3
  48. package/lib/locale/fr-FR.js +0 -3
  49. package/lib/locale/id-ID.js +0 -3
  50. package/lib/locale/it-IT.js +0 -3
  51. package/lib/locale/ja-JP.js +0 -3
  52. package/lib/locale/ko-KR.js +0 -3
  53. package/lib/locale/pl-PL.js +0 -3
  54. package/lib/locale/pt-BR.js +0 -3
  55. package/lib/locale/ru-RU.js +0 -3
  56. package/lib/locale/sk-SK.js +0 -3
  57. package/lib/locale/vi-VN.js +0 -3
  58. package/lib/locale/zh-CN.js +0 -3
  59. package/lib/locale/zh-HK.js +0 -3
  60. package/lib/locale/zh-TW.js +0 -3
  61. package/lib/types/controllers/render-controllers/doc-drawing-transform-update.controller.d.ts +3 -0
  62. package/lib/types/locale/en-US.d.ts +0 -3
  63. package/lib/types/services/doc-drawing-floating-toolbar-adapter.service.d.ts +1 -0
  64. package/lib/umd/index.js +1 -1
  65. package/lib/umd/locale/ar-SA.js +1 -1
  66. package/lib/umd/locale/ca-ES.js +1 -1
  67. package/lib/umd/locale/de-DE.js +1 -1
  68. package/lib/umd/locale/en-US.js +1 -1
  69. package/lib/umd/locale/es-ES.js +1 -1
  70. package/lib/umd/locale/fa-IR.js +1 -1
  71. package/lib/umd/locale/fr-FR.js +1 -1
  72. package/lib/umd/locale/id-ID.js +1 -1
  73. package/lib/umd/locale/it-IT.js +1 -1
  74. package/lib/umd/locale/ja-JP.js +1 -1
  75. package/lib/umd/locale/ko-KR.js +1 -1
  76. package/lib/umd/locale/pl-PL.js +1 -1
  77. package/lib/umd/locale/pt-BR.js +1 -1
  78. package/lib/umd/locale/ru-RU.js +1 -1
  79. package/lib/umd/locale/sk-SK.js +1 -1
  80. package/lib/umd/locale/vi-VN.js +1 -1
  81. package/lib/umd/locale/zh-CN.js +1 -1
  82. package/lib/umd/locale/zh-HK.js +1 -1
  83. package/lib/umd/locale/zh-TW.js +1 -1
  84. package/package.json +11 -11
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Edit Gambar" },
11
11
  "image-popup": {
12
- replace: "Ganti",
13
12
  delete: "Hapus",
14
13
  edit: "Edit",
15
14
  crop: "Pangkas",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertikal",
40
39
  absolutePosition: "Posisi Absolut(px)",
41
- relativePosition: "Posisi Relatif",
42
40
  toTheRightOf: "di sebelah kanan",
43
- relativeTo: "relatif terhadap",
44
41
  bellow: "di bawah",
45
42
  options: "Opsi",
46
43
  moveObjectWithText: "Pindahkan objek dengan teks",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Modifica immagine" },
11
11
  "image-popup": {
12
- replace: "Sostituisci",
13
12
  delete: "Elimina",
14
13
  edit: "Modifica",
15
14
  crop: "Ritaglia",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Orizzontale",
39
38
  vertical: "Verticale",
40
39
  absolutePosition: "Posizione assoluta(px)",
41
- relativePosition: "Posizione relativa",
42
40
  toTheRightOf: "a destra di",
43
- relativeTo: "relativo a",
44
41
  bellow: "sotto",
45
42
  options: "Opzioni",
46
43
  moveObjectWithText: "Sposta oggetto con il testo",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "画像の編集" },
11
11
  "image-popup": {
12
- replace: "置換",
13
12
  delete: "削除",
14
13
  edit: "編集",
15
14
  crop: "トリミング",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平方向",
39
38
  vertical: "垂直方向",
40
39
  absolutePosition: "絶対位置(px)",
41
- relativePosition: "相対位置",
42
40
  toTheRightOf: "右側に",
43
- relativeTo: "基準に対して",
44
41
  bellow: "下に",
45
42
  options: "オプション",
46
43
  moveObjectWithText: "文字列と一緒にオブジェクトを移動",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "이미지 편집" },
11
11
  "image-popup": {
12
- replace: "교체",
13
12
  delete: "삭제",
14
13
  edit: "편집",
15
14
  crop: "자르기",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "수평",
39
38
  vertical: "수직",
40
39
  absolutePosition: "절대 위치(px)",
41
- relativePosition: "상대 위치",
42
40
  toTheRightOf: "우측에",
43
- relativeTo: "상대적으로",
44
41
  bellow: "아래에",
45
42
  options: "옵션",
46
43
  moveObjectWithText: "텍스트와 함께 객체 이동",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Edytuj obraz" },
11
11
  "image-popup": {
12
- replace: "Zamień",
13
12
  delete: "Usuń",
14
13
  edit: "Edytuj",
15
14
  crop: "Przytnij",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Pozioma",
39
38
  vertical: "Pionowa",
40
39
  absolutePosition: "Pozycja bezwzględna(px)",
41
- relativePosition: "Pozycja względna",
42
40
  toTheRightOf: "po prawej stronie",
43
- relativeTo: "względem",
44
41
  bellow: "poniżej",
45
42
  options: "Opcje",
46
43
  moveObjectWithText: "Przesuwaj obiekt razem z tekstem",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Editar imagem" },
11
11
  "image-popup": {
12
- replace: "Substituir",
13
12
  delete: "Excluir",
14
13
  edit: "Editar",
15
14
  crop: "Cortar",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertical",
40
39
  absolutePosition: "Posição absoluta(px)",
41
- relativePosition: "Posição relativa",
42
40
  toTheRightOf: "à direita de",
43
- relativeTo: "relativo a",
44
41
  bellow: "abaixo",
45
42
  options: "Opções",
46
43
  moveObjectWithText: "Mover objeto com o texto",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Редактировать изображение" },
11
11
  "image-popup": {
12
- replace: "Заменить",
13
12
  delete: "Удалить",
14
13
  edit: "Редактировать",
15
14
  crop: "Обрезать",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "По горизонтали",
39
38
  vertical: "По вертикали",
40
39
  absolutePosition: "Абсолютное положение (px)",
41
- relativePosition: "Относительное положение",
42
40
  toTheRightOf: "справа от",
43
- relativeTo: "относительно",
44
41
  bellow: "снизу",
45
42
  options: "Параметры",
46
43
  moveObjectWithText: "Перемещать объект с текстом",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Upraviť obrázok" },
11
11
  "image-popup": {
12
- replace: "Nahradiť",
13
12
  delete: "Odstrániť",
14
13
  edit: "Upraviť",
15
14
  crop: "Orezať",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Vodorovne",
39
38
  vertical: "Zvisle",
40
39
  absolutePosition: "Absolútna pozícia (px)",
41
- relativePosition: "Relatívna pozícia",
42
40
  toTheRightOf: "vpravo od",
43
- relativeTo: "vzhľadom na",
44
41
  bellow: "pod",
45
42
  options: "Možnosti",
46
43
  moveObjectWithText: "Presunúť objekt s textom",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Chỉnh sửa hình ảnh" },
11
11
  "image-popup": {
12
- replace: "Thay thế",
13
12
  delete: "Xóa",
14
13
  edit: "Chỉnh sửa",
15
14
  crop: "Cắt",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Ngang",
39
38
  vertical: "Dọc",
40
39
  absolutePosition: "Vị trí tuyệt đối (px)",
41
- relativePosition: "Vị trí tương đối",
42
40
  toTheRightOf: "ở bên phải",
43
- relativeTo: "tương đối với",
44
41
  bellow: "bên dưới",
45
42
  options: "Tùy chọn",
46
43
  moveObjectWithText: "Di chuyển đối tượng cùng văn bản",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "编辑图片" },
11
11
  "image-popup": {
12
- replace: "替换",
13
12
  delete: "删除",
14
13
  edit: "编辑",
15
14
  crop: "裁剪",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平",
39
38
  vertical: "垂直",
40
39
  absolutePosition: "绝对位置(px)",
41
- relativePosition: "相对位置",
42
40
  toTheRightOf: "右侧",
43
- relativeTo: "相对于",
44
41
  bellow: "下方",
45
42
  options: "选项",
46
43
  moveObjectWithText: "对象随文字移动",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "編圖" },
11
11
  "image-popup": {
12
- replace: "替換",
13
12
  delete: "刪除",
14
13
  edit: "編輯",
15
14
  crop: "裁切",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平",
39
38
  vertical: "垂直",
40
39
  absolutePosition: "絕對位置(px)",
41
- relativePosition: "相對位置",
42
40
  toTheRightOf: "右側",
43
- relativeTo: "相對於",
44
41
  bellow: "下方",
45
42
  options: "選項",
46
43
  moveObjectWithText: "物件隨文字移動",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "編圖" },
11
11
  "image-popup": {
12
- replace: "替換",
13
12
  delete: "刪除",
14
13
  edit: "編輯",
15
14
  crop: "裁切",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平",
39
38
  vertical: "垂直",
40
39
  absolutePosition: "絕對位置(px)",
41
- relativePosition: "相對位置",
42
40
  toTheRightOf: "右側",
43
- relativeTo: "相對於",
44
41
  bellow: "下方",
45
42
  options: "選項",
46
43
  moveObjectWithText: "物件隨文字移動",
package/lib/index.js CHANGED
@@ -1033,7 +1033,8 @@ const getDisableWhenSelectionInTableObservable = (accessor) => {
1033
1033
  function ImageMenuFactory(accessor) {
1034
1034
  return {
1035
1035
  id: DOCS_IMAGE_MENU_ID,
1036
- type: MenuItemType.SUBITEMS,
1036
+ commandId: IMAGE_MENU_UPLOAD_FLOAT_ID,
1037
+ type: MenuItemType.BUTTON,
1037
1038
  icon: "AddImageIcon",
1038
1039
  tooltip: "docs-drawing-ui.title",
1039
1040
  disabled$: getDisableWhenSelectionInTableObservable(accessor),
@@ -1127,11 +1128,7 @@ function InsertEllipseShapeBelowMenuFactory(accessor) {
1127
1128
  const menuSchema = {
1128
1129
  [RibbonInsertGroup.MEDIA]: { [DOCS_IMAGE_MENU_ID]: {
1129
1130
  order: 0,
1130
- menuItemFactory: ImageMenuFactory,
1131
- [IMAGE_MENU_UPLOAD_FLOAT_ID]: {
1132
- order: 0,
1133
- menuItemFactory: UploadFloatImageMenuFactory
1134
- }
1131
+ menuItemFactory: ImageMenuFactory
1135
1132
  } },
1136
1133
  [ContextMenuPosition.PARAGRAPH]: {
1137
1134
  [ContextMenuGroup.LAYOUT]: { [INSERT_BELLOW_MENU_ID]: { [IMAGE_MENU_UPLOAD_FLOAT_ID]: {
@@ -1194,7 +1191,7 @@ const menuSchema = {
1194
1191
  //#endregion
1195
1192
  //#region package.json
1196
1193
  var name = "@univerjs/docs-drawing-ui";
1197
- var version = "1.0.0-beta.0";
1194
+ var version = "1.0.0-beta.1";
1198
1195
 
1199
1196
  //#endregion
1200
1197
  //#region src/config/config.ts
@@ -2607,6 +2604,7 @@ let DocDrawingTransformUpdateController = class DocDrawingTransformUpdateControl
2607
2604
  this._univerInstanceService = _univerInstanceService;
2608
2605
  this._lifecycleService = _lifecycleService;
2609
2606
  _defineProperty(this, "_liquid", new Liquid());
2607
+ _defineProperty(this, "_changesetDrawingRefreshScheduled", false);
2610
2608
  this._initialize();
2611
2609
  this._commandExecutedListener();
2612
2610
  }
@@ -2627,21 +2625,40 @@ let DocDrawingTransformUpdateController = class DocDrawingTransformUpdateControl
2627
2625
  }
2628
2626
  _commandExecutedListener() {
2629
2627
  const updateCommandList = [RichTextEditingMutation.id, SetDocZoomRatioOperation.id];
2630
- this.disposeWithMe(this._commandService.onCommandExecuted((command) => {
2628
+ this.disposeWithMe(this._commandService.onCommandExecuted((command, options) => {
2631
2629
  if (updateCommandList.includes(command.id)) {
2632
2630
  const { unitId: commandUnitId } = command.params;
2633
- const { unitId, mainComponent } = this._context;
2631
+ const { unitId } = this._context;
2634
2632
  if (commandUnitId !== unitId) return;
2635
- const skeleton = this._docSkeletonManagerService.getSkeleton();
2636
- if (skeleton == null) return;
2637
- if (this._editorService.isEditor(unitId)) {
2638
- mainComponent === null || mainComponent === void 0 || mainComponent.makeDirty();
2633
+ if (command.id === RichTextEditingMutation.id && (options === null || options === void 0 ? void 0 : options.fromChangeset)) {
2634
+ this._scheduleChangesetDrawingRefresh();
2639
2635
  return;
2640
2636
  }
2641
- this._refreshDrawing(skeleton);
2637
+ this._refreshCurrentDrawing();
2642
2638
  }
2643
2639
  }));
2644
2640
  }
2641
+ _scheduleChangesetDrawingRefresh() {
2642
+ if (this._changesetDrawingRefreshScheduled) return;
2643
+ this._changesetDrawingRefreshScheduled = true;
2644
+ queueMicrotask(() => {
2645
+ queueMicrotask(() => {
2646
+ this._changesetDrawingRefreshScheduled = false;
2647
+ if (this._disposed) return;
2648
+ this._refreshCurrentDrawing();
2649
+ });
2650
+ });
2651
+ }
2652
+ _refreshCurrentDrawing() {
2653
+ const skeleton = this._docSkeletonManagerService.getSkeleton();
2654
+ if (skeleton == null) return;
2655
+ const { unitId, mainComponent } = this._context;
2656
+ if (this._editorService.isEditor(unitId)) {
2657
+ mainComponent === null || mainComponent === void 0 || mainComponent.makeDirty();
2658
+ return;
2659
+ }
2660
+ this._refreshDrawing(skeleton);
2661
+ }
2645
2662
  _initTransformRefresh() {
2646
2663
  this.disposeWithMe(merge$1(fromEventSubject(this._context.engine.onTransformChange$).pipe(filter((evt) => evt.type === TRANSFORM_CHANGE_OBSERVABLE_TYPE.resize)), fromEventSubject(this._context.scene.onTransformChange$).pipe(filter((evt) => evt.type === TRANSFORM_CHANGE_OBSERVABLE_TYPE.scale))).pipe(debounceTime(16)).subscribe(() => {
2647
2664
  var _scene$getTransformer;
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "تحرير الصورة" },
11
11
  "image-popup": {
12
- replace: "استبدال",
13
12
  delete: "حذف",
14
13
  edit: "تحرير",
15
14
  crop: "قص",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "أفقي",
39
38
  vertical: "عمودي",
40
39
  absolutePosition: "موضع مطلق(بكسل)",
41
- relativePosition: "موضع نسبي",
42
40
  toTheRightOf: "إلى يمين",
43
- relativeTo: "بالنسبة إلى",
44
41
  bellow: "أسفل",
45
42
  options: "خيارات",
46
43
  moveObjectWithText: "نقل الكائن مع النص",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Edita la imatge" },
11
11
  "image-popup": {
12
- replace: "Reemplaça",
13
12
  delete: "Elimina",
14
13
  edit: "Edita",
15
14
  crop: "Retalla",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horitzontal",
39
38
  vertical: "Vertical",
40
39
  absolutePosition: "Posició absoluta(px)",
41
- relativePosition: "Posició relativa",
42
40
  toTheRightOf: "a la dreta de",
43
- relativeTo: "relatiu a",
44
41
  bellow: "a sota",
45
42
  options: "Opcions",
46
43
  moveObjectWithText: "Mou l'objecte amb el text",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Bild bearbeiten" },
11
11
  "image-popup": {
12
- replace: "Ersetzen",
13
12
  delete: "Löschen",
14
13
  edit: "Bearbeiten",
15
14
  crop: "Zuschneiden",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertikal",
40
39
  absolutePosition: "Absolute Position(px)",
41
- relativePosition: "Relative Position",
42
40
  toTheRightOf: "rechts von",
43
- relativeTo: "relativ zu",
44
41
  bellow: "unterhalb",
45
42
  options: "Optionen",
46
43
  moveObjectWithText: "Objekt mit Text verschieben",
@@ -24,7 +24,6 @@ const locale = { "docs-drawing-ui": {
24
24
  } },
25
25
  panel: { title: "Edit Image" },
26
26
  "image-popup": {
27
- replace: "Replace",
28
27
  delete: "Delete",
29
28
  edit: "Edit",
30
29
  crop: "Crop",
@@ -53,9 +52,7 @@ const locale = { "docs-drawing-ui": {
53
52
  horizontal: "Horizontal",
54
53
  vertical: "Vertical",
55
54
  absolutePosition: "Absolute Position(px)",
56
- relativePosition: "Relative Position",
57
55
  toTheRightOf: "to the right of",
58
- relativeTo: "relative to",
59
56
  bellow: "bellow",
60
57
  options: "Options",
61
58
  moveObjectWithText: "Move object with text",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Editar imagen" },
11
11
  "image-popup": {
12
- replace: "Reemplazar",
13
12
  delete: "Eliminar",
14
13
  edit: "Editar",
15
14
  crop: "Recortar",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertical",
40
39
  absolutePosition: "Posición absoluta(px)",
41
- relativePosition: "Posición relativa",
42
40
  toTheRightOf: "a la derecha de",
43
- relativeTo: "relativo a",
44
41
  bellow: "debajo",
45
42
  options: "Opciones",
46
43
  moveObjectWithText: "Mover objeto con el texto",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "ویرایش تصویر" },
11
11
  "image-popup": {
12
- replace: "تعویض",
13
12
  delete: "حذف",
14
13
  edit: "ویرایش",
15
14
  crop: "کراپ",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "افقی",
39
38
  vertical: "عمودی",
40
39
  absolutePosition: "موقعیت مطلق(px)",
41
- relativePosition: "موقعیت نسبی",
42
40
  toTheRightOf: "سمت راست",
43
- relativeTo: "نسبت به",
44
41
  bellow: "زیر",
45
42
  options: "گزینه‌ها",
46
43
  moveObjectWithText: "جابه‌جایی شیء با متن",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Modifier l'image" },
11
11
  "image-popup": {
12
- replace: "Remplacer",
13
12
  delete: "Supprimer",
14
13
  edit: "Modifier",
15
14
  crop: "Rogner",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertical",
40
39
  absolutePosition: "Position absolue(px)",
41
- relativePosition: "Position relative",
42
40
  toTheRightOf: "à droite de",
43
- relativeTo: "par rapport à",
44
41
  bellow: "en dessous",
45
42
  options: "Options",
46
43
  moveObjectWithText: "Déplacer l'objet avec le texte",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Edit Gambar" },
11
11
  "image-popup": {
12
- replace: "Ganti",
13
12
  delete: "Hapus",
14
13
  edit: "Edit",
15
14
  crop: "Pangkas",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertikal",
40
39
  absolutePosition: "Posisi Absolut(px)",
41
- relativePosition: "Posisi Relatif",
42
40
  toTheRightOf: "di sebelah kanan",
43
- relativeTo: "relatif terhadap",
44
41
  bellow: "di bawah",
45
42
  options: "Opsi",
46
43
  moveObjectWithText: "Pindahkan objek dengan teks",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Modifica immagine" },
11
11
  "image-popup": {
12
- replace: "Sostituisci",
13
12
  delete: "Elimina",
14
13
  edit: "Modifica",
15
14
  crop: "Ritaglia",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Orizzontale",
39
38
  vertical: "Verticale",
40
39
  absolutePosition: "Posizione assoluta(px)",
41
- relativePosition: "Posizione relativa",
42
40
  toTheRightOf: "a destra di",
43
- relativeTo: "relativo a",
44
41
  bellow: "sotto",
45
42
  options: "Opzioni",
46
43
  moveObjectWithText: "Sposta oggetto con il testo",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "画像の編集" },
11
11
  "image-popup": {
12
- replace: "置換",
13
12
  delete: "削除",
14
13
  edit: "編集",
15
14
  crop: "トリミング",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平方向",
39
38
  vertical: "垂直方向",
40
39
  absolutePosition: "絶対位置(px)",
41
- relativePosition: "相対位置",
42
40
  toTheRightOf: "右側に",
43
- relativeTo: "基準に対して",
44
41
  bellow: "下に",
45
42
  options: "オプション",
46
43
  moveObjectWithText: "文字列と一緒にオブジェクトを移動",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "이미지 편집" },
11
11
  "image-popup": {
12
- replace: "교체",
13
12
  delete: "삭제",
14
13
  edit: "편집",
15
14
  crop: "자르기",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "수평",
39
38
  vertical: "수직",
40
39
  absolutePosition: "절대 위치(px)",
41
- relativePosition: "상대 위치",
42
40
  toTheRightOf: "우측에",
43
- relativeTo: "상대적으로",
44
41
  bellow: "아래에",
45
42
  options: "옵션",
46
43
  moveObjectWithText: "텍스트와 함께 객체 이동",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Edytuj obraz" },
11
11
  "image-popup": {
12
- replace: "Zamień",
13
12
  delete: "Usuń",
14
13
  edit: "Edytuj",
15
14
  crop: "Przytnij",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Pozioma",
39
38
  vertical: "Pionowa",
40
39
  absolutePosition: "Pozycja bezwzględna(px)",
41
- relativePosition: "Pozycja względna",
42
40
  toTheRightOf: "po prawej stronie",
43
- relativeTo: "względem",
44
41
  bellow: "poniżej",
45
42
  options: "Opcje",
46
43
  moveObjectWithText: "Przesuwaj obiekt razem z tekstem",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Editar imagem" },
11
11
  "image-popup": {
12
- replace: "Substituir",
13
12
  delete: "Excluir",
14
13
  edit: "Editar",
15
14
  crop: "Cortar",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Horizontal",
39
38
  vertical: "Vertical",
40
39
  absolutePosition: "Posição absoluta(px)",
41
- relativePosition: "Posição relativa",
42
40
  toTheRightOf: "à direita de",
43
- relativeTo: "relativo a",
44
41
  bellow: "abaixo",
45
42
  options: "Opções",
46
43
  moveObjectWithText: "Mover objeto com o texto",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Редактировать изображение" },
11
11
  "image-popup": {
12
- replace: "Заменить",
13
12
  delete: "Удалить",
14
13
  edit: "Редактировать",
15
14
  crop: "Обрезать",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "По горизонтали",
39
38
  vertical: "По вертикали",
40
39
  absolutePosition: "Абсолютное положение (px)",
41
- relativePosition: "Относительное положение",
42
40
  toTheRightOf: "справа от",
43
- relativeTo: "относительно",
44
41
  bellow: "снизу",
45
42
  options: "Параметры",
46
43
  moveObjectWithText: "Перемещать объект с текстом",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Upraviť obrázok" },
11
11
  "image-popup": {
12
- replace: "Nahradiť",
13
12
  delete: "Odstrániť",
14
13
  edit: "Upraviť",
15
14
  crop: "Orezať",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Vodorovne",
39
38
  vertical: "Zvisle",
40
39
  absolutePosition: "Absolútna pozícia (px)",
41
- relativePosition: "Relatívna pozícia",
42
40
  toTheRightOf: "vpravo od",
43
- relativeTo: "vzhľadom na",
44
41
  bellow: "pod",
45
42
  options: "Možnosti",
46
43
  moveObjectWithText: "Presunúť objekt s textom",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "Chỉnh sửa hình ảnh" },
11
11
  "image-popup": {
12
- replace: "Thay thế",
13
12
  delete: "Xóa",
14
13
  edit: "Chỉnh sửa",
15
14
  crop: "Cắt",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "Ngang",
39
38
  vertical: "Dọc",
40
39
  absolutePosition: "Vị trí tuyệt đối (px)",
41
- relativePosition: "Vị trí tương đối",
42
40
  toTheRightOf: "ở bên phải",
43
- relativeTo: "tương đối với",
44
41
  bellow: "bên dưới",
45
42
  options: "Tùy chọn",
46
43
  moveObjectWithText: "Di chuyển đối tượng cùng văn bản",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "编辑图片" },
11
11
  "image-popup": {
12
- replace: "替换",
13
12
  delete: "删除",
14
13
  edit: "编辑",
15
14
  crop: "裁剪",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平",
39
38
  vertical: "垂直",
40
39
  absolutePosition: "绝对位置(px)",
41
- relativePosition: "相对位置",
42
40
  toTheRightOf: "右侧",
43
- relativeTo: "相对于",
44
41
  bellow: "下方",
45
42
  options: "选项",
46
43
  moveObjectWithText: "对象随文字移动",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "編圖" },
11
11
  "image-popup": {
12
- replace: "替換",
13
12
  delete: "刪除",
14
13
  edit: "編輯",
15
14
  crop: "裁切",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平",
39
38
  vertical: "垂直",
40
39
  absolutePosition: "絕對位置(px)",
41
- relativePosition: "相對位置",
42
40
  toTheRightOf: "右側",
43
- relativeTo: "相對於",
44
41
  bellow: "下方",
45
42
  options: "選項",
46
43
  moveObjectWithText: "物件隨文字移動",
@@ -9,7 +9,6 @@ const locale = { "docs-drawing-ui": {
9
9
  } },
10
10
  panel: { title: "編圖" },
11
11
  "image-popup": {
12
- replace: "替換",
13
12
  delete: "刪除",
14
13
  edit: "編輯",
15
14
  crop: "裁切",
@@ -38,9 +37,7 @@ const locale = { "docs-drawing-ui": {
38
37
  horizontal: "水平",
39
38
  vertical: "垂直",
40
39
  absolutePosition: "絕對位置(px)",
41
- relativePosition: "相對位置",
42
40
  toTheRightOf: "右側",
43
- relativeTo: "相對於",
44
41
  bellow: "下方",
45
42
  options: "選項",
46
43
  moveObjectWithText: "物件隨文字移動",