@univerjs/sheets-drawing-ui 0.15.5 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/lib/cjs/index.js +2 -2
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1420 -1331
  15. package/lib/es/locale/ca-ES.js +3 -1
  16. package/lib/es/locale/en-US.js +3 -1
  17. package/lib/es/locale/es-ES.js +3 -1
  18. package/lib/es/locale/fa-IR.js +3 -1
  19. package/lib/es/locale/fr-FR.js +3 -1
  20. package/lib/es/locale/ja-JP.js +3 -1
  21. package/lib/es/locale/ko-KR.js +3 -1
  22. package/lib/es/locale/ru-RU.js +3 -1
  23. package/lib/es/locale/sk-SK.js +3 -1
  24. package/lib/es/locale/vi-VN.js +5 -3
  25. package/lib/es/locale/zh-CN.js +3 -1
  26. package/lib/es/locale/zh-TW.js +3 -1
  27. package/lib/index.js +1420 -1331
  28. package/lib/locale/ca-ES.js +3 -1
  29. package/lib/locale/en-US.js +3 -1
  30. package/lib/locale/es-ES.js +3 -1
  31. package/lib/locale/fa-IR.js +3 -1
  32. package/lib/locale/fr-FR.js +3 -1
  33. package/lib/locale/ja-JP.js +3 -1
  34. package/lib/locale/ko-KR.js +3 -1
  35. package/lib/locale/ru-RU.js +3 -1
  36. package/lib/locale/sk-SK.js +3 -1
  37. package/lib/locale/vi-VN.js +5 -3
  38. package/lib/locale/zh-CN.js +3 -1
  39. package/lib/locale/zh-TW.js +3 -1
  40. package/lib/types/commands/commands/flip-drawings.command.d.ts +17 -0
  41. package/lib/types/locale/en-US.d.ts +2 -0
  42. package/lib/umd/index.js +2 -2
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/sk-SK.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +13 -13
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "Elimina",
28
28
  edit: "Edita",
29
29
  crop: "Retalla",
30
- reset: "Restableix la mida"
30
+ reset: "Restableix la mida",
31
+ flipH: "Gira horizontalmente",
32
+ flipV: "Gira verticalmente"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Propietats d’ancoratge",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "Delete",
28
28
  edit: "Edit",
29
29
  crop: "Crop",
30
- reset: "Reset Size"
30
+ reset: "Reset Size",
31
+ flipH: "Flip Horizontal",
32
+ flipV: "Flip Vertical"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Anchor Properties",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "Eliminar",
28
28
  edit: "Editar",
29
29
  crop: "Recortar",
30
- reset: "Restablecer tamaño"
30
+ reset: "Restablecer tamaño",
31
+ flipH: "Voltear horizontalmente",
32
+ flipV: "Voltear verticalmente"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Propiedades de anclaje",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "حذف",
28
28
  edit: "ویرایش",
29
29
  crop: "کراپ",
30
- reset: "بازنشانی اندازه"
30
+ reset: "بازنشانی اندازه",
31
+ flipH: "چرخش افقی",
32
+ flipV: "چرخش عمودی"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "خواص لنگر",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "Supprimer",
28
28
  edit: "Éditer",
29
29
  crop: "Rogner",
30
- reset: "Réinitialiser la taille"
30
+ reset: "Réinitialiser la taille",
31
+ flipH: "Retournement horizontal",
32
+ flipV: "Retournement vertical"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Propriétés de l'ancre",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "削除",
28
28
  edit: "編集",
29
29
  crop: "トリミング",
30
- reset: "元のサイズに戻す"
30
+ reset: "元のサイズに戻す",
31
+ flipH: "左右反転",
32
+ flipV: "上下反転"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "プロパティ",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "삭제",
28
28
  edit: "편집",
29
29
  crop: "자르기",
30
- reset: "원래 크기"
30
+ reset: "원래 크기",
31
+ flipH: "가로 뒤집기",
32
+ flipV: "세로 뒤집기"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "고정 위치 설정",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "Удалить",
28
28
  edit: "Редактировать",
29
29
  crop: "Обрезать",
30
- reset: "Сбросить размер"
30
+ reset: "Сбросить размер",
31
+ flipH: "Отразить по горизонтали",
32
+ flipV: "Отразить по вертикали"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Свойства привязки",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "Odstrániť",
28
28
  edit: "Upraviť",
29
29
  crop: "Orezať",
30
- reset: "Obnoviť veľkosť"
30
+ reset: "Obnoviť veľkosť",
31
+ flipH: "Prevrátiť vodorovne",
32
+ flipV: "Prevrátiť zvisle"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Vlastnosti ukotvenia",
@@ -1,4 +1,4 @@
1
- const h = {
1
+ const n = {
2
2
  sheetImage: {
3
3
  title: "Hình ảnh",
4
4
  upload: {
@@ -27,7 +27,9 @@ const h = {
27
27
  delete: "Xóa",
28
28
  edit: "Chỉnh sửa",
29
29
  crop: "Cắt",
30
- reset: "Đặt lại kích thước"
30
+ reset: "Đặt lại kích thước",
31
+ flipH: "Lật ngang",
32
+ flipV: "Lật dọc"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "Thuộc tính neo",
@@ -48,5 +50,5 @@ const h = {
48
50
  }
49
51
  };
50
52
  export {
51
- h as default
53
+ n as default
52
54
  };
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "删除",
28
28
  edit: "编辑",
29
29
  crop: "裁剪",
30
- reset: "重置大小"
30
+ reset: "重置大小",
31
+ flipH: "水平翻转",
32
+ flipV: "垂直翻转"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "锚点属性",
@@ -27,7 +27,9 @@ const e = {
27
27
  delete: "刪除",
28
28
  edit: "編輯",
29
29
  crop: "裁切",
30
- reset: "重置大小"
30
+ reset: "重置大小",
31
+ flipH: "水平翻轉",
32
+ flipV: "垂直翻轉"
31
33
  },
32
34
  "drawing-anchor": {
33
35
  title: "錨點屬性",
@@ -0,0 +1,17 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ interface IFlipDrawingCommandParam {
3
+ unitId: string;
4
+ subUnitId: string;
5
+ drawingId: string;
6
+ }
7
+ export interface IFlipSheetDrawingCommandParams {
8
+ unitId: string;
9
+ drawings: IFlipDrawingCommandParam[];
10
+ flipH?: boolean;
11
+ flipV?: boolean;
12
+ }
13
+ /**
14
+ * The command to flip sheet drawing elements
15
+ */
16
+ export declare const FlipSheetDrawingCommand: ICommand;
17
+ export {};
@@ -43,6 +43,8 @@ declare const locale: {
43
43
  edit: string;
44
44
  crop: string;
45
45
  reset: string;
46
+ flipH: string;
47
+ flipV: string;
46
48
  };
47
49
  'drawing-anchor': {
48
50
  title: string;