@univerjs/sheets-drawing-ui 0.6.7 → 0.6.9-experimental.20250403-d914ddc
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/facade.js +1010 -0
- package/lib/index.js +3656 -0
- package/lib/locale/en-US.js +49 -0
- package/lib/locale/fa-IR.js +49 -0
- package/lib/locale/fr-FR.js +49 -0
- package/lib/locale/ru-RU.js +49 -0
- package/lib/locale/vi-VN.js +49 -0
- package/lib/locale/zh-CN.js +49 -0
- package/lib/locale/zh-TW.js +49 -0
- package/package.json +15 -15
- package/LICENSE +0 -176
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "Image",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "Float Image",
|
|
6
|
+
cell: "Cell Image"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "Edit Image"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "Replace",
|
|
14
|
+
delete: "Delete",
|
|
15
|
+
edit: "Edit",
|
|
16
|
+
crop: "Crop",
|
|
17
|
+
reset: "Reset Size"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "Anchor Properties",
|
|
21
|
+
both: "Move and size with cells",
|
|
22
|
+
position: "Move but don't size with cells",
|
|
23
|
+
none: "Don't move or size with cells"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "Image size exceeds limit, limit is {0}M",
|
|
27
|
+
invalidImageType: "Invalid image type",
|
|
28
|
+
exceedMaxCount: "Only {0} images can be uploaded at a time",
|
|
29
|
+
invalidImage: "Invalid image"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "Drawing",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "Move Drawing down",
|
|
35
|
+
"drawing-move-up": "Move Drawing up",
|
|
36
|
+
"drawing-move-left": "Move Drawing left",
|
|
37
|
+
"drawing-move-right": "Move Drawing right",
|
|
38
|
+
"drawing-delete": "Delete Drawing"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "Paste as cell image",
|
|
43
|
+
pasteContent: "Pasting a cell image will overwrite the existing content of the cell, continue pasting",
|
|
44
|
+
pasteError: "Sheet cell image copy paste is not supported in this unit"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "تصویر",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "شناور کردن تصویر",
|
|
6
|
+
cell: "تصویر سلولی"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "ویرایش تصویر"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "تعویض",
|
|
14
|
+
delete: "حذف",
|
|
15
|
+
edit: "ویرایش",
|
|
16
|
+
crop: "کراپ",
|
|
17
|
+
reset: "بازنشانی اندازه"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "خواص لنگر",
|
|
21
|
+
both: "جابهجایی و تغییر اندازه با سلولها",
|
|
22
|
+
position: "جابهجایی اما تغییر اندازه نکردن با سلولها",
|
|
23
|
+
none: "جابهجایی یا تغییر اندازه نکردن با سلولها"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "اندازه تصویر از حد مجاز فراتر رفته است، حد مجاز {0}M است",
|
|
27
|
+
invalidImageType: "نوع تصویر نامعتبر است",
|
|
28
|
+
exceedMaxCount: "فقط {0} تصویر میتوانند همزمان آپلود شوند",
|
|
29
|
+
invalidImage: "تصویر نامعتبر است"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "طراحی",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "جابهجایی طراحی به پایین",
|
|
35
|
+
"drawing-move-up": "جابهجایی طراحی به بالا",
|
|
36
|
+
"drawing-move-left": "جابهجایی طراحی به چپ",
|
|
37
|
+
"drawing-move-right": "جابهجایی طراحی به راست",
|
|
38
|
+
"drawing-delete": "حذف طراحی"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "چسباندن به عنوان تصویر سلول",
|
|
43
|
+
pasteContent: "چسباندن تصویر سلول محتوای موجود سلول را پاک خواهد کرد، ادامه چسباندن",
|
|
44
|
+
pasteError: "کپی و چسباندن تصویر سلول در این واحد پشتیبانی نمیشود"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "Image",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "Image flottante",
|
|
6
|
+
cell: "Image de cellule"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "Modifier l'image"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "Remplacer",
|
|
14
|
+
delete: "Supprimer",
|
|
15
|
+
edit: "Éditer",
|
|
16
|
+
crop: "Rogner",
|
|
17
|
+
reset: "Réinitialiser la taille"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "Propriétés de l'ancre",
|
|
21
|
+
both: "Déplacer et redimensionner avec les cellules",
|
|
22
|
+
position: "Déplacer mais ne pas redimensionner avec les cellules",
|
|
23
|
+
none: "Ne pas déplacer ni redimensionner avec les cellules"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "La taille de l'image dépasse la limite, la limite est de {0}M",
|
|
27
|
+
invalidImageType: "Type d'image invalide",
|
|
28
|
+
exceedMaxCount: "Seulement {0} images peuvent être téléchargées à la fois",
|
|
29
|
+
invalidImage: "Image invalide"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "Dessin",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "Déplacer le dessin vers le bas",
|
|
35
|
+
"drawing-move-up": "Déplacer le dessin vers le haut",
|
|
36
|
+
"drawing-move-left": "Déplacer le dessin vers la gauche",
|
|
37
|
+
"drawing-move-right": "Déplacer le dessin vers la droite",
|
|
38
|
+
"drawing-delete": "Supprimer le dessin"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "Coller comme image de cellule",
|
|
43
|
+
pasteContent: "Coller une image de cellule écrasera le contenu existant de la cellule, continuer le collage",
|
|
44
|
+
pasteError: "Le copier-coller d'image de cellule n'est pas pris en charge dans cette unité"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "Изображение",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "Плавающее изображение",
|
|
6
|
+
cell: "Изображение в ячейке"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "Редактировать изображение"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "Заменить",
|
|
14
|
+
delete: "Удалить",
|
|
15
|
+
edit: "Редактировать",
|
|
16
|
+
crop: "Обрезать",
|
|
17
|
+
reset: "Сбросить размер"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "Свойства привязки",
|
|
21
|
+
both: "Перемещать и изменять размер с ячейками",
|
|
22
|
+
position: "Перемещать, но не изменять размер с ячейками",
|
|
23
|
+
none: "Не перемещать и не изменять размер с ячейками"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "Размер изображения превышает лимит, лимит составляет {0}М",
|
|
27
|
+
invalidImageType: "Недопустимый тип изображения",
|
|
28
|
+
exceedMaxCount: "За один раз можно загрузить только {0} изображений",
|
|
29
|
+
invalidImage: "Недопустимое изображение"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "Drawing",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "Move Drawing down",
|
|
35
|
+
"drawing-move-up": "Move Drawing up",
|
|
36
|
+
"drawing-move-left": "Move Drawing left",
|
|
37
|
+
"drawing-move-right": "Move Drawing right",
|
|
38
|
+
"drawing-delete": "Delete Drawing"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "Вставить как изображение ячейки",
|
|
43
|
+
pasteContent: "Вставка изображения ячейки перезапишет существующее содержимое ячейки, продолжить вставку",
|
|
44
|
+
pasteError: "Копирование и вставка изображения ячейки не поддерживается в этом блоке"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const n = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "Hình ảnh",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "Hình ảnh nổi",
|
|
6
|
+
cell: "Hình ảnh trong ô"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "Chỉnh sửa hình ảnh"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "Thay thế",
|
|
14
|
+
delete: "Xóa",
|
|
15
|
+
edit: "Chỉnh sửa",
|
|
16
|
+
crop: "Cắt",
|
|
17
|
+
reset: "Đặt lại kích thước"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "Thuộc tính neo",
|
|
21
|
+
both: "Di chuyển và thay đổi kích thước cùng với ô",
|
|
22
|
+
position: "Di chuyển nhưng không thay đổi kích thước với ô",
|
|
23
|
+
none: "Không di chuyển hoặc thay đổi kích thước với ô"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "Kích thước hình ảnh vượt quá giới hạn, giới hạn là {0}M",
|
|
27
|
+
invalidImageType: "Loại hình ảnh không hợp lệ",
|
|
28
|
+
exceedMaxCount: "Chỉ có thể tải lên {0} hình ảnh một lần",
|
|
29
|
+
invalidImage: "Hình ảnh không hợp lệ"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "Drawing",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "Move Drawing down",
|
|
35
|
+
"drawing-move-up": "Move Drawing up",
|
|
36
|
+
"drawing-move-left": "Move Drawing left",
|
|
37
|
+
"drawing-move-right": "Move Drawing right",
|
|
38
|
+
"drawing-delete": "Delete Drawing"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "Dán như hình ảnh ô",
|
|
43
|
+
pasteContent: "Dán hình ảnh ô sẽ ghi đè lên nội dung hiện có của ô, tiếp tục dán",
|
|
44
|
+
pasteError: "Sao chép và dán hình ảnh ô không được hỗ trợ trong đơn vị này"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
n as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "图片",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "浮动图片",
|
|
6
|
+
cell: "单元格图片"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "编辑图片"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "替换",
|
|
14
|
+
delete: "删除",
|
|
15
|
+
edit: "编辑",
|
|
16
|
+
crop: "裁剪",
|
|
17
|
+
reset: "重置大小"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "锚点属性",
|
|
21
|
+
both: "与单元格一起移动和调整大小",
|
|
22
|
+
position: "移动但不调整大小与单元格",
|
|
23
|
+
none: "不要移动或调整大小与单元格"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "图片大小超过限制, 限制为{0}M",
|
|
27
|
+
invalidImageType: "图片类型错误",
|
|
28
|
+
exceedMaxCount: "图片只能一次上传{0}张",
|
|
29
|
+
invalidImage: "无效图片"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "绘图",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "下移绘图",
|
|
35
|
+
"drawing-move-up": "上移绘图",
|
|
36
|
+
"drawing-move-left": "左移绘图",
|
|
37
|
+
"drawing-move-right": "右移绘图",
|
|
38
|
+
"drawing-delete": "删除绘图"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "粘贴为单元格图片",
|
|
43
|
+
pasteContent: "粘贴单元格图片将覆盖单元格中的现有内容,继续粘贴",
|
|
44
|
+
pasteError: "此单元中不支持单元格图片复制粘贴"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
sheetImage: {
|
|
3
|
+
title: "圖片",
|
|
4
|
+
upload: {
|
|
5
|
+
float: "浮動圖片",
|
|
6
|
+
cell: "儲存格圖片"
|
|
7
|
+
},
|
|
8
|
+
panel: {
|
|
9
|
+
title: "編圖"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"image-popup": {
|
|
13
|
+
replace: "替換",
|
|
14
|
+
delete: "刪除",
|
|
15
|
+
edit: "編輯",
|
|
16
|
+
crop: "裁切",
|
|
17
|
+
reset: "重置大小"
|
|
18
|
+
},
|
|
19
|
+
"drawing-anchor": {
|
|
20
|
+
title: "錨點屬性",
|
|
21
|
+
both: "與儲存格一起移動和調整大小",
|
|
22
|
+
position: "移動但不調整大小與儲存格",
|
|
23
|
+
none: "不要移動或調整大小與單元格"
|
|
24
|
+
},
|
|
25
|
+
"update-status": {
|
|
26
|
+
exceedMaxSize: "圖片大小超過限制, 限制為{0}M",
|
|
27
|
+
invalidImageType: "圖片類型錯誤",
|
|
28
|
+
exceedMaxCount: "圖片只能一次上傳{0}張",
|
|
29
|
+
invalidImage: "無效圖片"
|
|
30
|
+
},
|
|
31
|
+
"sheet-drawing-view": "繪圖",
|
|
32
|
+
shortcut: {
|
|
33
|
+
sheet: {
|
|
34
|
+
"drawing-move-down": "下移繪圖",
|
|
35
|
+
"drawing-move-up": "上移繪圖",
|
|
36
|
+
"drawing-move-left": "左移繪圖",
|
|
37
|
+
"drawing-move-right": "右移繪圖",
|
|
38
|
+
"drawing-delete": "刪除繪圖"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"cell-image": {
|
|
42
|
+
pasteTitle: "粘貼為儲存格圖片",
|
|
43
|
+
pasteContent: "粘貼儲存格圖片將覆蓋儲存格中的現有內容,繼續粘貼",
|
|
44
|
+
pasteError: "此單元中不支持儲存格圖片複製粘貼"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-drawing-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9-experimental.20250403-d914ddc",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -53,22 +53,22 @@
|
|
|
53
53
|
"lib"
|
|
54
54
|
],
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"react": "
|
|
56
|
+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/icons": "^0.2.
|
|
61
|
-
"@univerjs/core": "0.6.
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/docs-
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/
|
|
69
|
-
"@univerjs/
|
|
70
|
-
"@univerjs/sheets-
|
|
71
|
-
"@univerjs/ui": "0.6.
|
|
60
|
+
"@univerjs/icons": "^0.2.31",
|
|
61
|
+
"@univerjs/core": "0.6.9-experimental.20250403-d914ddc",
|
|
62
|
+
"@univerjs/design": "0.6.9-experimental.20250403-d914ddc",
|
|
63
|
+
"@univerjs/docs-drawing": "0.6.9-experimental.20250403-d914ddc",
|
|
64
|
+
"@univerjs/drawing-ui": "0.6.9-experimental.20250403-d914ddc",
|
|
65
|
+
"@univerjs/docs-ui": "0.6.9-experimental.20250403-d914ddc",
|
|
66
|
+
"@univerjs/drawing": "0.6.9-experimental.20250403-d914ddc",
|
|
67
|
+
"@univerjs/sheets": "0.6.9-experimental.20250403-d914ddc",
|
|
68
|
+
"@univerjs/engine-render": "0.6.9-experimental.20250403-d914ddc",
|
|
69
|
+
"@univerjs/sheets-ui": "0.6.9-experimental.20250403-d914ddc",
|
|
70
|
+
"@univerjs/sheets-drawing": "0.6.9-experimental.20250403-d914ddc",
|
|
71
|
+
"@univerjs/ui": "0.6.9-experimental.20250403-d914ddc"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"less": "^4.2.2",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"typescript": "^5.8.2",
|
|
80
80
|
"vite": "^6.2.3",
|
|
81
81
|
"vitest": "^3.0.9",
|
|
82
|
-
"@univerjs-infra/shared": "0.6.
|
|
82
|
+
"@univerjs-infra/shared": "0.6.9"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
85
|
"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
|