@univerjs/watermark 0.6.1 → 0.6.2-nightly.202503031606

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.
@@ -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 | IWatermarkTypeEnum.Image} type - The type of watermark to add. Can be either 'Text' or 'Image'.
10
- * @param {ITextWatermarkConfig | IImageWatermarkConfig} config - The configuration object for the watermark.
11
- * - If the type is 'Text', the config should follow the ITextWatermarkConfig interface.
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.1",
3
+ "version": "0.6.2-nightly.202503031606",
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
- "clsx": "^2.1.1",
62
- "@univerjs/core": "0.6.1",
63
- "@univerjs/engine-render": "0.6.1"
56
+ "@univerjs/core": "0.6.2-nightly.202503031606",
57
+ "@univerjs/engine-render": "0.6.2-nightly.202503031606"
64
58
  },
65
59
  "devDependencies": {
66
60
  "rxjs": "^7.8.1",
67
- "typescript": "^5.7.3",
68
- "vite": "^6.1.1",
69
- "vitest": "^3.0.6",
70
- "@univerjs-infra/shared": "0.6.1"
61
+ "typescript": "^5.8.2",
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/LICENSE DELETED
@@ -1,176 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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
- };
@@ -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,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
- };
@@ -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,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
- };
@@ -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,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,3 +0,0 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
3
- export default locale;
@@ -1,3 +0,0 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
3
- export default locale;
@@ -1,3 +0,0 @@
1
- import { default as enUS } from './en-US';
2
- declare const locale: typeof enUS;
3
- export default locale;
@@ -1,3 +0,0 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
3
- export default locale;
@@ -1,3 +0,0 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
3
- export default locale;
@@ -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;
@@ -1,3 +0,0 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
3
- export default locale;
@@ -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"}}});
@@ -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:"کپی تنظیمات"}}});
@@ -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"}}});
@@ -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:"Копировать конфигурацию"}}});
@@ -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"}}});
@@ -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:"复制配置"}}});
@@ -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:"複製配置"}}});