@univerjs/watermark 0.6.1 → 0.6.2
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/types/facade/f-univer.d.ts +31 -5
- package/package.json +6 -12
- package/lib/cjs/locale/en-US.js +0 -1
- package/lib/cjs/locale/fa-IR.js +0 -1
- package/lib/cjs/locale/fr-FR.js +0 -1
- package/lib/cjs/locale/ru-RU.js +0 -1
- package/lib/cjs/locale/vi-VN.js +0 -1
- package/lib/cjs/locale/zh-CN.js +0 -1
- package/lib/cjs/locale/zh-TW.js +0 -1
- package/lib/es/locale/en-US.js +0 -35
- package/lib/es/locale/fa-IR.js +0 -35
- package/lib/es/locale/fr-FR.js +0 -35
- package/lib/es/locale/ru-RU.js +0 -35
- package/lib/es/locale/vi-VN.js +0 -35
- package/lib/es/locale/zh-CN.js +0 -35
- package/lib/es/locale/zh-TW.js +0 -35
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/fa-IR.d.ts +0 -3
- package/lib/types/locale/fr-FR.d.ts +0 -3
- package/lib/types/locale/ru-RU.d.ts +0 -3
- package/lib/types/locale/vi-VN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts +0 -48
- package/lib/types/locale/zh-TW.d.ts +0 -3
- package/lib/umd/locale/en-US.js +0 -1
- package/lib/umd/locale/fa-IR.js +0 -1
- package/lib/umd/locale/fr-FR.js +0 -1
- package/lib/umd/locale/ru-RU.js +0 -1
- package/lib/umd/locale/vi-VN.js +0 -1
- package/lib/umd/locale/zh-CN.js +0 -1
- package/lib/umd/locale/zh-TW.js +0 -1
|
@@ -6,19 +6,45 @@ import { FUniver } from '@univerjs/core/facade';
|
|
|
6
6
|
export interface IFUniverWatermarkMixin {
|
|
7
7
|
/**
|
|
8
8
|
* Adds a watermark to the unit. Supports both text and image watermarks based on the specified type.
|
|
9
|
-
* @param {IWatermarkTypeEnum.Text
|
|
10
|
-
* @param {ITextWatermarkConfig
|
|
11
|
-
*
|
|
12
|
-
* - If the type is 'Image', the config should follow the IImageWatermarkConfig interface.
|
|
9
|
+
* @param {IWatermarkTypeEnum.Text} type - The type of watermark to add is Text.
|
|
10
|
+
* @param {ITextWatermarkConfig} config - The configuration object for the text type watermark.
|
|
11
|
+
* @returns {FUniver} The {@link FUniver} instance for chaining.
|
|
13
12
|
* @throws {Error} Throws an error if the watermark type is unknown.
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* univerAPI.addWatermark('text', {
|
|
16
|
+
* content: 'Univer',
|
|
17
|
+
* fontSize: 20,
|
|
18
|
+
* repeat: true,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
14
21
|
*/
|
|
15
22
|
addWatermark(type: IWatermarkTypeEnum.Text, config: ITextWatermarkConfig): FUniver;
|
|
23
|
+
/**
|
|
24
|
+
* Adds a watermark to the unit. Supports both text and image watermarks based on the specified type.
|
|
25
|
+
* @param {IWatermarkTypeEnum.Image} type - The type of watermark to add is Image.
|
|
26
|
+
* @param {IImageWatermarkConfig} config - The configuration object for the image type watermark.
|
|
27
|
+
* @returns {FUniver} The {@link FUniver} instance for chaining.
|
|
28
|
+
* @throws {Error} Throws an error if the watermark type is unknown.
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* univerAPI.addWatermark('image', {
|
|
32
|
+
* url: 'https://avatars.githubusercontent.com/u/61444807?s=48&v=4',
|
|
33
|
+
* width: 100,
|
|
34
|
+
* height: 100,
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
16
38
|
addWatermark(type: IWatermarkTypeEnum.Image, config: IImageWatermarkConfig): FUniver;
|
|
17
39
|
addWatermark(type: IWatermarkTypeEnum.Text | IWatermarkTypeEnum.Image, config: ITextWatermarkConfig | IImageWatermarkConfig): FUniver;
|
|
18
40
|
/**
|
|
19
41
|
* Deletes the currently applied watermark from the unit.
|
|
20
|
-
*
|
|
21
42
|
* This function retrieves the watermark service and invokes the method to remove any existing watermark configuration.
|
|
43
|
+
* @returns {FUniver} The {@link FUniver} instance for chaining.
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* univerAPI.deleteWatermark();
|
|
47
|
+
* ```
|
|
22
48
|
*/
|
|
23
49
|
deleteWatermark(): FUniver;
|
|
24
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/watermark",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "univer watermark plugin",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -31,11 +31,6 @@
|
|
|
31
31
|
"require": "./lib/cjs/*",
|
|
32
32
|
"types": "./lib/types/index.d.ts"
|
|
33
33
|
},
|
|
34
|
-
"./locale/*": {
|
|
35
|
-
"import": "./lib/es/locale/*.js",
|
|
36
|
-
"require": "./lib/cjs/locale/*.js",
|
|
37
|
-
"types": "./lib/types/locale/*.d.ts"
|
|
38
|
-
},
|
|
39
34
|
"./facade": {
|
|
40
35
|
"import": "./lib/es/facade.js",
|
|
41
36
|
"require": "./lib/cjs/facade.js",
|
|
@@ -58,16 +53,15 @@
|
|
|
58
53
|
"rxjs": ">=7.0.0"
|
|
59
54
|
},
|
|
60
55
|
"dependencies": {
|
|
61
|
-
"
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/engine-render": "0.6.1"
|
|
56
|
+
"@univerjs/core": "0.6.2",
|
|
57
|
+
"@univerjs/engine-render": "0.6.2"
|
|
64
58
|
},
|
|
65
59
|
"devDependencies": {
|
|
66
60
|
"rxjs": "^7.8.1",
|
|
67
61
|
"typescript": "^5.7.3",
|
|
68
|
-
"vite": "^6.
|
|
69
|
-
"vitest": "^3.0.
|
|
70
|
-
"@univerjs-infra/shared": "0.6.
|
|
62
|
+
"vite": "^6.2.0",
|
|
63
|
+
"vitest": "^3.0.7",
|
|
64
|
+
"@univerjs-infra/shared": "0.6.2"
|
|
71
65
|
},
|
|
72
66
|
"scripts": {
|
|
73
67
|
"test": "vitest run",
|
package/lib/cjs/locale/en-US.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t={"univer-watermark":{title:"Watermark",type:"Type",text:"Text",image:"Image",uploadImage:"Upload Image",replaceImage:"Replace Image",keepRatio:"Keep Ratio",width:"Width",height:"Height",style:"Style Settings",content:"Content",textPlaceholder:"Enter text",fontSize:"Font Size",direction:"Direction",ltr:"Left to Right",rtl:"Right to Left",inherits:"Inherit",opacity:"Opacity",layout:"Layout Settings",rotate:"Rotate",repeat:"Repeat",spacingX:"Horizontal Spacing",spacingY:"Vertical Spacing",startX:"Horizontal Start Position",startY:"Vertical Start Position",cancel:"Cancel Watermark",close:"Close Panel",copy:"Copy Config"}};module.exports=t;
|
package/lib/cjs/locale/fa-IR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t={"univer-watermark":{title:"علامت آب",type:"نوع",text:"متن",image:"تصویر",uploadImage:"آپلود تصویر",replaceImage:"جایگزینی تصویر",keepRatio:"حفظ نسبت",width:"عرض",height:"ارتفاع",style:"تنظیمات سبک",content:"محتوا",textPlaceholder:"متن را وارد کنید",fontSize:"اندازه فونت",direction:"جهت",ltr:"چپ به راست",rtl:"راست به چپ",inherits:"ارث بردن",opacity:"شفافیت",layout:"تنظیمات چیدمان",rotate:"چرخاندن",repeat:"تکرار",spacingX:"فاصله افقی",spacingY:"فاصله عمودی",startX:"موقعیت شروع افقی",startY:"موقعیت شروع عمودی",cancel:"لغو علامت آب",close:"بستن پنل",copy:"کپی تنظیمات"}};module.exports=t;
|
package/lib/cjs/locale/fr-FR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e={"univer-watermark":{title:"Filigrane",type:"Type",text:"Texte",image:"Image",uploadImage:"Télécharger une image",replaceImage:"Remplacer l'image",keepRatio:"Conserver les proportions",width:"Largeur",height:"Hauteur",style:"Paramètres de style",content:"Contenu",textPlaceholder:"Saisir du texte",fontSize:"Taille de police",direction:"Direction",ltr:"De gauche à droite",rtl:"De droite à gauche",inherits:"Hériter",opacity:"Opacité",layout:"Paramètres de mise en page",rotate:"Rotation",repeat:"Répéter",spacingX:"Espacement horizontal",spacingY:"Espacement vertical",startX:"Position horizontale de départ",startY:"Position verticale de départ",cancel:"Annuler le filigrane",close:"Fermer le panneau",copy:"Copier la configuration"}};module.exports=e;
|
package/lib/cjs/locale/ru-RU.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t={"univer-watermark":{title:"Водяной знак",type:"Тип",text:"Текст",image:"Изображение",uploadImage:"Загрузить изображение",replaceImage:"Заменить изображение",keepRatio:"Сохранить пропорции",width:"Ширина",height:"Высота",style:"Настройки стиля",content:"Содержание",textPlaceholder:"Введите текст",fontSize:"Размер шрифта",direction:"Направление",ltr:"Слева направо",rtl:"Справа налево",inherits:"Наследовать",opacity:"Прозрачность",layout:"Настройки макета",rotate:"Поворот",repeat:"Повтор",spacingX:"Горизонтальный интервал",spacingY:"Вертикальный интервал",startX:"Горизонтальная начальная позиция",startY:"Вертикальная начальная позиция",cancel:"Отменить водяной знак",close:"Закрыть панель",copy:"Копировать конфигурацию"}};module.exports=t;
|
package/lib/cjs/locale/vi-VN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t={"univer-watermark":{title:"Hình mờ",type:"Loại",text:"Văn bản",image:"Hình ảnh",uploadImage:"Tải lên hình ảnh",replaceImage:"Thay thế hình ảnh",keepRatio:"Giữ tỷ lệ",width:"Chiều rộng",height:"Chiều cao",style:"Cài đặt kiểu",content:"Nội dung",textPlaceholder:"Nhập văn bản",fontSize:"Kích thước phông chữ",direction:"Hướng",ltr:"Trái sang phải",rtl:"Phải sang trái",inherits:"Thừa kế",opacity:"Độ mờ",layout:"Cài đặt bố cục",rotate:"Xoay",repeat:"Lặp lại",spacingX:"Khoảng cách ngang",spacingY:"Khoảng cách dọc",startX:"Vị trí bắt đầu ngang",startY:"Vị trí bắt đầu dọc",cancel:"Hủy hình mờ",close:"Đóng bảng điều khiển",copy:"Sao chép cấu hình"}};module.exports=t;
|
package/lib/cjs/locale/zh-CN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t={"univer-watermark":{title:"水印",type:"类型",text:"文本",image:"图片",uploadImage:"上传图片",replaceImage:"替换图片",keepRatio:"保持比例",width:"长度",height:"高度",style:"样式设置",content:"内容",textPlaceholder:"请输入文本",fontSize:"字体大小",direction:"方向",ltr:"从左到右",rtl:"从右到左",inherits:"继承",opacity:"透明度",layout:"布局设置",rotate:"旋转",repeat:"重复",spacingX:"水平间距",spacingY:"垂直间距",startX:"水平起始位置",startY:"垂直起始位置",cancel:"取消水印",close:"关闭面板",copy:"复制配置"}};module.exports=t;
|
package/lib/cjs/locale/zh-TW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t={"univer-watermark":{title:"浮水印",type:"類型",text:"文字",image:"圖片",uploadImage:"上傳圖片",replaceImage:"替換圖片",keepRatio:"保持比例",width:"長度",height:"高度",style:"樣式設置",content:"內容",textPlaceholder:"請輸入文字",fontSize:"字體大小",direction:"方向",ltr:"從左到右",rtl:"從右到左",inherits:"繼承",opacity:"透明度",layout:"佈局設置",rotate:"旋轉",repeat:"重複",spacingX:"水平間距",spacingY:"垂直間距",startX:"水平起始位置",startY:"垂直起始位置",cancel:"取消浮水印",close:"關閉面板",copy:"複製配置"}};module.exports=t;
|
package/lib/es/locale/en-US.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "Watermark",
|
|
4
|
-
type: "Type",
|
|
5
|
-
text: "Text",
|
|
6
|
-
image: "Image",
|
|
7
|
-
uploadImage: "Upload Image",
|
|
8
|
-
replaceImage: "Replace Image",
|
|
9
|
-
keepRatio: "Keep Ratio",
|
|
10
|
-
width: "Width",
|
|
11
|
-
height: "Height",
|
|
12
|
-
style: "Style Settings",
|
|
13
|
-
content: "Content",
|
|
14
|
-
textPlaceholder: "Enter text",
|
|
15
|
-
fontSize: "Font Size",
|
|
16
|
-
direction: "Direction",
|
|
17
|
-
ltr: "Left to Right",
|
|
18
|
-
rtl: "Right to Left",
|
|
19
|
-
inherits: "Inherit",
|
|
20
|
-
opacity: "Opacity",
|
|
21
|
-
layout: "Layout Settings",
|
|
22
|
-
rotate: "Rotate",
|
|
23
|
-
repeat: "Repeat",
|
|
24
|
-
spacingX: "Horizontal Spacing",
|
|
25
|
-
spacingY: "Vertical Spacing",
|
|
26
|
-
startX: "Horizontal Start Position",
|
|
27
|
-
startY: "Vertical Start Position",
|
|
28
|
-
cancel: "Cancel Watermark",
|
|
29
|
-
close: "Close Panel",
|
|
30
|
-
copy: "Copy Config"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
package/lib/es/locale/fa-IR.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "علامت آب",
|
|
4
|
-
type: "نوع",
|
|
5
|
-
text: "متن",
|
|
6
|
-
image: "تصویر",
|
|
7
|
-
uploadImage: "آپلود تصویر",
|
|
8
|
-
replaceImage: "جایگزینی تصویر",
|
|
9
|
-
keepRatio: "حفظ نسبت",
|
|
10
|
-
width: "عرض",
|
|
11
|
-
height: "ارتفاع",
|
|
12
|
-
style: "تنظیمات سبک",
|
|
13
|
-
content: "محتوا",
|
|
14
|
-
textPlaceholder: "متن را وارد کنید",
|
|
15
|
-
fontSize: "اندازه فونت",
|
|
16
|
-
direction: "جهت",
|
|
17
|
-
ltr: "چپ به راست",
|
|
18
|
-
rtl: "راست به چپ",
|
|
19
|
-
inherits: "ارث بردن",
|
|
20
|
-
opacity: "شفافیت",
|
|
21
|
-
layout: "تنظیمات چیدمان",
|
|
22
|
-
rotate: "چرخاندن",
|
|
23
|
-
repeat: "تکرار",
|
|
24
|
-
spacingX: "فاصله افقی",
|
|
25
|
-
spacingY: "فاصله عمودی",
|
|
26
|
-
startX: "موقعیت شروع افقی",
|
|
27
|
-
startY: "موقعیت شروع عمودی",
|
|
28
|
-
cancel: "لغو علامت آب",
|
|
29
|
-
close: "بستن پنل",
|
|
30
|
-
copy: "کپی تنظیمات"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
package/lib/es/locale/fr-FR.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "Filigrane",
|
|
4
|
-
type: "Type",
|
|
5
|
-
text: "Texte",
|
|
6
|
-
image: "Image",
|
|
7
|
-
uploadImage: "Télécharger une image",
|
|
8
|
-
replaceImage: "Remplacer l'image",
|
|
9
|
-
keepRatio: "Conserver les proportions",
|
|
10
|
-
width: "Largeur",
|
|
11
|
-
height: "Hauteur",
|
|
12
|
-
style: "Paramètres de style",
|
|
13
|
-
content: "Contenu",
|
|
14
|
-
textPlaceholder: "Saisir du texte",
|
|
15
|
-
fontSize: "Taille de police",
|
|
16
|
-
direction: "Direction",
|
|
17
|
-
ltr: "De gauche à droite",
|
|
18
|
-
rtl: "De droite à gauche",
|
|
19
|
-
inherits: "Hériter",
|
|
20
|
-
opacity: "Opacité",
|
|
21
|
-
layout: "Paramètres de mise en page",
|
|
22
|
-
rotate: "Rotation",
|
|
23
|
-
repeat: "Répéter",
|
|
24
|
-
spacingX: "Espacement horizontal",
|
|
25
|
-
spacingY: "Espacement vertical",
|
|
26
|
-
startX: "Position horizontale de départ",
|
|
27
|
-
startY: "Position verticale de départ",
|
|
28
|
-
cancel: "Annuler le filigrane",
|
|
29
|
-
close: "Fermer le panneau",
|
|
30
|
-
copy: "Copier la configuration"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
e as default
|
|
35
|
-
};
|
package/lib/es/locale/ru-RU.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "Водяной знак",
|
|
4
|
-
type: "Тип",
|
|
5
|
-
text: "Текст",
|
|
6
|
-
image: "Изображение",
|
|
7
|
-
uploadImage: "Загрузить изображение",
|
|
8
|
-
replaceImage: "Заменить изображение",
|
|
9
|
-
keepRatio: "Сохранить пропорции",
|
|
10
|
-
width: "Ширина",
|
|
11
|
-
height: "Высота",
|
|
12
|
-
style: "Настройки стиля",
|
|
13
|
-
content: "Содержание",
|
|
14
|
-
textPlaceholder: "Введите текст",
|
|
15
|
-
fontSize: "Размер шрифта",
|
|
16
|
-
direction: "Направление",
|
|
17
|
-
ltr: "Слева направо",
|
|
18
|
-
rtl: "Справа налево",
|
|
19
|
-
inherits: "Наследовать",
|
|
20
|
-
opacity: "Прозрачность",
|
|
21
|
-
layout: "Настройки макета",
|
|
22
|
-
rotate: "Поворот",
|
|
23
|
-
repeat: "Повтор",
|
|
24
|
-
spacingX: "Горизонтальный интервал",
|
|
25
|
-
spacingY: "Вертикальный интервал",
|
|
26
|
-
startX: "Горизонтальная начальная позиция",
|
|
27
|
-
startY: "Вертикальная начальная позиция",
|
|
28
|
-
cancel: "Отменить водяной знак",
|
|
29
|
-
close: "Закрыть панель",
|
|
30
|
-
copy: "Копировать конфигурацию"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
package/lib/es/locale/vi-VN.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "Hình mờ",
|
|
4
|
-
type: "Loại",
|
|
5
|
-
text: "Văn bản",
|
|
6
|
-
image: "Hình ảnh",
|
|
7
|
-
uploadImage: "Tải lên hình ảnh",
|
|
8
|
-
replaceImage: "Thay thế hình ảnh",
|
|
9
|
-
keepRatio: "Giữ tỷ lệ",
|
|
10
|
-
width: "Chiều rộng",
|
|
11
|
-
height: "Chiều cao",
|
|
12
|
-
style: "Cài đặt kiểu",
|
|
13
|
-
content: "Nội dung",
|
|
14
|
-
textPlaceholder: "Nhập văn bản",
|
|
15
|
-
fontSize: "Kích thước phông chữ",
|
|
16
|
-
direction: "Hướng",
|
|
17
|
-
ltr: "Trái sang phải",
|
|
18
|
-
rtl: "Phải sang trái",
|
|
19
|
-
inherits: "Thừa kế",
|
|
20
|
-
opacity: "Độ mờ",
|
|
21
|
-
layout: "Cài đặt bố cục",
|
|
22
|
-
rotate: "Xoay",
|
|
23
|
-
repeat: "Lặp lại",
|
|
24
|
-
spacingX: "Khoảng cách ngang",
|
|
25
|
-
spacingY: "Khoảng cách dọc",
|
|
26
|
-
startX: "Vị trí bắt đầu ngang",
|
|
27
|
-
startY: "Vị trí bắt đầu dọc",
|
|
28
|
-
cancel: "Hủy hình mờ",
|
|
29
|
-
close: "Đóng bảng điều khiển",
|
|
30
|
-
copy: "Sao chép cấu hình"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
package/lib/es/locale/zh-CN.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "水印",
|
|
4
|
-
type: "类型",
|
|
5
|
-
text: "文本",
|
|
6
|
-
image: "图片",
|
|
7
|
-
uploadImage: "上传图片",
|
|
8
|
-
replaceImage: "替换图片",
|
|
9
|
-
keepRatio: "保持比例",
|
|
10
|
-
width: "长度",
|
|
11
|
-
height: "高度",
|
|
12
|
-
style: "样式设置",
|
|
13
|
-
content: "内容",
|
|
14
|
-
textPlaceholder: "请输入文本",
|
|
15
|
-
fontSize: "字体大小",
|
|
16
|
-
direction: "方向",
|
|
17
|
-
ltr: "从左到右",
|
|
18
|
-
rtl: "从右到左",
|
|
19
|
-
inherits: "继承",
|
|
20
|
-
opacity: "透明度",
|
|
21
|
-
layout: "布局设置",
|
|
22
|
-
rotate: "旋转",
|
|
23
|
-
repeat: "重复",
|
|
24
|
-
spacingX: "水平间距",
|
|
25
|
-
spacingY: "垂直间距",
|
|
26
|
-
startX: "水平起始位置",
|
|
27
|
-
startY: "垂直起始位置",
|
|
28
|
-
cancel: "取消水印",
|
|
29
|
-
close: "关闭面板",
|
|
30
|
-
copy: "复制配置"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
package/lib/es/locale/zh-TW.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"univer-watermark": {
|
|
3
|
-
title: "浮水印",
|
|
4
|
-
type: "類型",
|
|
5
|
-
text: "文字",
|
|
6
|
-
image: "圖片",
|
|
7
|
-
uploadImage: "上傳圖片",
|
|
8
|
-
replaceImage: "替換圖片",
|
|
9
|
-
keepRatio: "保持比例",
|
|
10
|
-
width: "長度",
|
|
11
|
-
height: "高度",
|
|
12
|
-
style: "樣式設置",
|
|
13
|
-
content: "內容",
|
|
14
|
-
textPlaceholder: "請輸入文字",
|
|
15
|
-
fontSize: "字體大小",
|
|
16
|
-
direction: "方向",
|
|
17
|
-
ltr: "從左到右",
|
|
18
|
-
rtl: "從右到左",
|
|
19
|
-
inherits: "繼承",
|
|
20
|
-
opacity: "透明度",
|
|
21
|
-
layout: "佈局設置",
|
|
22
|
-
rotate: "旋轉",
|
|
23
|
-
repeat: "重複",
|
|
24
|
-
spacingX: "水平間距",
|
|
25
|
-
spacingY: "垂直間距",
|
|
26
|
-
startX: "水平起始位置",
|
|
27
|
-
startY: "垂直起始位置",
|
|
28
|
-
cancel: "取消浮水印",
|
|
29
|
-
close: "關閉面板",
|
|
30
|
-
copy: "複製配置"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
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
|
-
declare const locale: {
|
|
17
|
-
'univer-watermark': {
|
|
18
|
-
title: string;
|
|
19
|
-
type: string;
|
|
20
|
-
text: string;
|
|
21
|
-
image: string;
|
|
22
|
-
uploadImage: string;
|
|
23
|
-
replaceImage: string;
|
|
24
|
-
keepRatio: string;
|
|
25
|
-
width: string;
|
|
26
|
-
height: string;
|
|
27
|
-
style: string;
|
|
28
|
-
content: string;
|
|
29
|
-
textPlaceholder: string;
|
|
30
|
-
fontSize: string;
|
|
31
|
-
direction: string;
|
|
32
|
-
ltr: string;
|
|
33
|
-
rtl: string;
|
|
34
|
-
inherits: string;
|
|
35
|
-
opacity: string;
|
|
36
|
-
layout: string;
|
|
37
|
-
rotate: string;
|
|
38
|
-
repeat: string;
|
|
39
|
-
spacingX: string;
|
|
40
|
-
spacingY: string;
|
|
41
|
-
startX: string;
|
|
42
|
-
startY: string;
|
|
43
|
-
cancel: string;
|
|
44
|
-
close: string;
|
|
45
|
-
copy: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export default locale;
|
package/lib/umd/locale/en-US.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverWatermarkEnUS=t())})(this,function(){"use strict";return{"univer-watermark":{title:"Watermark",type:"Type",text:"Text",image:"Image",uploadImage:"Upload Image",replaceImage:"Replace Image",keepRatio:"Keep Ratio",width:"Width",height:"Height",style:"Style Settings",content:"Content",textPlaceholder:"Enter text",fontSize:"Font Size",direction:"Direction",ltr:"Left to Right",rtl:"Right to Left",inherits:"Inherit",opacity:"Opacity",layout:"Layout Settings",rotate:"Rotate",repeat:"Repeat",spacingX:"Horizontal Spacing",spacingY:"Vertical Spacing",startX:"Horizontal Start Position",startY:"Vertical Start Position",cancel:"Cancel Watermark",close:"Close Panel",copy:"Copy Config"}}});
|
package/lib/umd/locale/fa-IR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverWatermarkFaIR=t())})(this,function(){"use strict";return{"univer-watermark":{title:"علامت آب",type:"نوع",text:"متن",image:"تصویر",uploadImage:"آپلود تصویر",replaceImage:"جایگزینی تصویر",keepRatio:"حفظ نسبت",width:"عرض",height:"ارتفاع",style:"تنظیمات سبک",content:"محتوا",textPlaceholder:"متن را وارد کنید",fontSize:"اندازه فونت",direction:"جهت",ltr:"چپ به راست",rtl:"راست به چپ",inherits:"ارث بردن",opacity:"شفافیت",layout:"تنظیمات چیدمان",rotate:"چرخاندن",repeat:"تکرار",spacingX:"فاصله افقی",spacingY:"فاصله عمودی",startX:"موقعیت شروع افقی",startY:"موقعیت شروع عمودی",cancel:"لغو علامت آب",close:"بستن پنل",copy:"کپی تنظیمات"}}});
|
package/lib/umd/locale/fr-FR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverWatermarkFrFR=t())})(this,function(){"use strict";return{"univer-watermark":{title:"Filigrane",type:"Type",text:"Texte",image:"Image",uploadImage:"Télécharger une image",replaceImage:"Remplacer l'image",keepRatio:"Conserver les proportions",width:"Largeur",height:"Hauteur",style:"Paramètres de style",content:"Contenu",textPlaceholder:"Saisir du texte",fontSize:"Taille de police",direction:"Direction",ltr:"De gauche à droite",rtl:"De droite à gauche",inherits:"Hériter",opacity:"Opacité",layout:"Paramètres de mise en page",rotate:"Rotation",repeat:"Répéter",spacingX:"Espacement horizontal",spacingY:"Espacement vertical",startX:"Position horizontale de départ",startY:"Position verticale de départ",cancel:"Annuler le filigrane",close:"Fermer le panneau",copy:"Copier la configuration"}}});
|
package/lib/umd/locale/ru-RU.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverWatermarkRuRU=t())})(this,function(){"use strict";return{"univer-watermark":{title:"Водяной знак",type:"Тип",text:"Текст",image:"Изображение",uploadImage:"Загрузить изображение",replaceImage:"Заменить изображение",keepRatio:"Сохранить пропорции",width:"Ширина",height:"Высота",style:"Настройки стиля",content:"Содержание",textPlaceholder:"Введите текст",fontSize:"Размер шрифта",direction:"Направление",ltr:"Слева направо",rtl:"Справа налево",inherits:"Наследовать",opacity:"Прозрачность",layout:"Настройки макета",rotate:"Поворот",repeat:"Повтор",spacingX:"Горизонтальный интервал",spacingY:"Вертикальный интервал",startX:"Горизонтальная начальная позиция",startY:"Вертикальная начальная позиция",cancel:"Отменить водяной знак",close:"Закрыть панель",copy:"Копировать конфигурацию"}}});
|
package/lib/umd/locale/vi-VN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self,n.UniverWatermarkViVN=e())})(this,function(){"use strict";return{"univer-watermark":{title:"Hình mờ",type:"Loại",text:"Văn bản",image:"Hình ảnh",uploadImage:"Tải lên hình ảnh",replaceImage:"Thay thế hình ảnh",keepRatio:"Giữ tỷ lệ",width:"Chiều rộng",height:"Chiều cao",style:"Cài đặt kiểu",content:"Nội dung",textPlaceholder:"Nhập văn bản",fontSize:"Kích thước phông chữ",direction:"Hướng",ltr:"Trái sang phải",rtl:"Phải sang trái",inherits:"Thừa kế",opacity:"Độ mờ",layout:"Cài đặt bố cục",rotate:"Xoay",repeat:"Lặp lại",spacingX:"Khoảng cách ngang",spacingY:"Khoảng cách dọc",startX:"Vị trí bắt đầu ngang",startY:"Vị trí bắt đầu dọc",cancel:"Hủy hình mờ",close:"Đóng bảng điều khiển",copy:"Sao chép cấu hình"}}});
|
package/lib/umd/locale/zh-CN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverWatermarkZhCN=t())})(this,function(){"use strict";return{"univer-watermark":{title:"水印",type:"类型",text:"文本",image:"图片",uploadImage:"上传图片",replaceImage:"替换图片",keepRatio:"保持比例",width:"长度",height:"高度",style:"样式设置",content:"内容",textPlaceholder:"请输入文本",fontSize:"字体大小",direction:"方向",ltr:"从左到右",rtl:"从右到左",inherits:"继承",opacity:"透明度",layout:"布局设置",rotate:"旋转",repeat:"重复",spacingX:"水平间距",spacingY:"垂直间距",startX:"水平起始位置",startY:"垂直起始位置",cancel:"取消水印",close:"关闭面板",copy:"复制配置"}}});
|
package/lib/umd/locale/zh-TW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.UniverWatermarkZhTW=t())})(this,function(){"use strict";return{"univer-watermark":{title:"浮水印",type:"類型",text:"文字",image:"圖片",uploadImage:"上傳圖片",replaceImage:"替換圖片",keepRatio:"保持比例",width:"長度",height:"高度",style:"樣式設置",content:"內容",textPlaceholder:"請輸入文字",fontSize:"字體大小",direction:"方向",ltr:"從左到右",rtl:"從右到左",inherits:"繼承",opacity:"透明度",layout:"佈局設置",rotate:"旋轉",repeat:"重複",spacingX:"水平間距",spacingY:"垂直間距",startX:"水平起始位置",startY:"垂直起始位置",cancel:"取消浮水印",close:"關閉面板",copy:"複製配置"}}});
|