@vue-pdf-viewer/shared 1.2.0-rc.6 → 1.2.0-rc.7
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/dist/const.d.ts +8 -4
- package/dist/const.js +15 -16
- package/dist/locales/en_US.json +10 -0
- package/dist/locales/it_IT.json +10 -0
- package/dist/locales/pt_PT.json +10 -0
- package/dist/locales/th_TH.json +10 -0
- package/dist/locales/zh_CN.json +10 -0
- package/dist/types.d.ts +10 -0
- package/package.json +1 -1
package/dist/const.d.ts
CHANGED
|
@@ -31,7 +31,13 @@ export declare const FREE_TEXT_FONT_COLOR: {
|
|
|
31
31
|
readonly LightestGray: "#CDCDCD";
|
|
32
32
|
readonly White: "#FFFFFF";
|
|
33
33
|
};
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const TEXT_SELECTION_COLOR: {
|
|
35
|
+
readonly Black: "#000000";
|
|
36
|
+
readonly DarkGray: "#444444";
|
|
37
|
+
readonly Gray: "#696969";
|
|
38
|
+
readonly LightGray: "#9C9C9C";
|
|
39
|
+
readonly LightestGray: "#CDCDCD";
|
|
40
|
+
readonly White: "#FFFFFF";
|
|
35
41
|
readonly Purple: "#CAAAFF";
|
|
36
42
|
readonly Cyan: "#65EDE9";
|
|
37
43
|
readonly Red: "#FFACAC";
|
|
@@ -39,8 +45,6 @@ export declare const HIGHLIGHT_COLOR: {
|
|
|
39
45
|
readonly Yellow: "#FCE244";
|
|
40
46
|
readonly Green: "#A0F751";
|
|
41
47
|
};
|
|
42
|
-
export declare const
|
|
48
|
+
export declare const DEFAULT_TEXT_SELECTION_COLOR: Record<(typeof TEXT_SELECTION_COLOR)[keyof typeof TEXT_SELECTION_COLOR], string>;
|
|
43
49
|
export declare const DEFAULT_FREE_TEXT_FONT_COLOR: Record<(typeof FREE_TEXT_FONT_COLOR)[keyof typeof FREE_TEXT_FONT_COLOR], string>;
|
|
44
|
-
export declare const DEFAULT_STRIKETHROUGH_COLOR: Record<(typeof HIGHLIGHT_COLOR)[keyof typeof HIGHLIGHT_COLOR] & (typeof FREE_TEXT_FONT_COLOR)[keyof typeof FREE_TEXT_FONT_COLOR], string>;
|
|
45
|
-
export declare const DEFAULT_UNDERLINE_COLOR: Record<(typeof HIGHLIGHT_COLOR)[keyof typeof HIGHLIGHT_COLOR] & (typeof FREE_TEXT_FONT_COLOR)[keyof typeof FREE_TEXT_FONT_COLOR], string>;
|
|
46
50
|
export declare const EDITOR_PREFIX: "pdfjs_internal_editor_";
|
package/dist/const.js
CHANGED
|
@@ -48,21 +48,28 @@ export const FREE_TEXT_FONT_COLOR = {
|
|
|
48
48
|
Yellow: "#F5C463",
|
|
49
49
|
Green: "#48BB77",
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const TEXT_SELECTION_COLOR = {
|
|
52
52
|
Purple: "#CAAAFF",
|
|
53
53
|
Cyan: "#65EDE9",
|
|
54
54
|
Red: "#FFACAC",
|
|
55
55
|
Orange: "#FFBD82",
|
|
56
56
|
Yellow: "#FCE244",
|
|
57
57
|
Green: "#A0F751",
|
|
58
|
+
...BASIC_COLOR,
|
|
58
59
|
};
|
|
59
|
-
export const
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
[
|
|
65
|
-
[
|
|
60
|
+
export const DEFAULT_TEXT_SELECTION_COLOR = {
|
|
61
|
+
[TEXT_SELECTION_COLOR.Purple]: "Purple",
|
|
62
|
+
[TEXT_SELECTION_COLOR.Cyan]: "Cyan",
|
|
63
|
+
[TEXT_SELECTION_COLOR.Red]: "Red",
|
|
64
|
+
[TEXT_SELECTION_COLOR.Orange]: "Orange",
|
|
65
|
+
[TEXT_SELECTION_COLOR.Yellow]: "Yellow",
|
|
66
|
+
[TEXT_SELECTION_COLOR.Green]: "Green",
|
|
67
|
+
[TEXT_SELECTION_COLOR.Black]: "Black",
|
|
68
|
+
[TEXT_SELECTION_COLOR.DarkGray]: "Dark Gray",
|
|
69
|
+
[TEXT_SELECTION_COLOR.Gray]: "Gray",
|
|
70
|
+
[TEXT_SELECTION_COLOR.LightGray]: "Light Gray",
|
|
71
|
+
[TEXT_SELECTION_COLOR.LightestGray]: "Lightest Gray",
|
|
72
|
+
[TEXT_SELECTION_COLOR.White]: "White",
|
|
66
73
|
};
|
|
67
74
|
export const DEFAULT_FREE_TEXT_FONT_COLOR = {
|
|
68
75
|
[FREE_TEXT_FONT_COLOR.Black]: "Black",
|
|
@@ -78,12 +85,4 @@ export const DEFAULT_FREE_TEXT_FONT_COLOR = {
|
|
|
78
85
|
[FREE_TEXT_FONT_COLOR.Yellow]: "Yellow",
|
|
79
86
|
[FREE_TEXT_FONT_COLOR.Green]: "Green",
|
|
80
87
|
};
|
|
81
|
-
export const DEFAULT_STRIKETHROUGH_COLOR = {
|
|
82
|
-
...DEFAULT_HIGHLIGHT_COLOR,
|
|
83
|
-
...DEFAULT_FREE_TEXT_FONT_COLOR,
|
|
84
|
-
};
|
|
85
|
-
export const DEFAULT_UNDERLINE_COLOR = {
|
|
86
|
-
...DEFAULT_HIGHLIGHT_COLOR,
|
|
87
|
-
...DEFAULT_FREE_TEXT_FONT_COLOR,
|
|
88
|
-
};
|
|
89
88
|
export const EDITOR_PREFIX = "pdfjs_internal_editor_";
|
package/dist/locales/en_US.json
CHANGED
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"annotationHighlightColorTooltip": "Change highlight color",
|
|
95
95
|
"annotationHighlightColorPickerLabel": "Highlight color",
|
|
96
96
|
"annotationHighlightDeleteTooltip": "Remove highlight",
|
|
97
|
+
"annotationUnderlineLabel": "Underline",
|
|
98
|
+
"annotationUnderlineTooltip": "Underline",
|
|
99
|
+
"annotationUnderlineColorTooltip": "Change underline color",
|
|
100
|
+
"annotationUnderlineColorPickerLabel": "Underline color",
|
|
101
|
+
"annotationUnderlineDeleteTooltip": "Remove underline",
|
|
102
|
+
"annotationStrikethroughLabel": "Strikethrough",
|
|
103
|
+
"annotationStrikethroughTooltip": "Strikethrough",
|
|
104
|
+
"annotationStrikethroughColorTooltip": "Change strikethrough color",
|
|
105
|
+
"annotationStrikethroughColorPickerLabel": "Strikethrough color",
|
|
106
|
+
"annotationStrikethroughDeleteTooltip": "Remove strikethrough",
|
|
97
107
|
"annotationFreeTextLabel": "Free text",
|
|
98
108
|
"annotationFreeTextTooltip": "Free text",
|
|
99
109
|
"annotationFreeTextDeleteTooltip": "Remove free text",
|
package/dist/locales/it_IT.json
CHANGED
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"annotationHighlightColorTooltip": "Cambia colore evidenziazione",
|
|
95
95
|
"annotationHighlightColorPickerLabel": "Colore evidenziazione",
|
|
96
96
|
"annotationHighlightDeleteTooltip": "Rimuovi evidenziazione",
|
|
97
|
+
"annotationUnderlineLabel": "Sottolineato",
|
|
98
|
+
"annotationUnderlineTooltip": "Sottolineato",
|
|
99
|
+
"annotationUnderlineColorTooltip": "Cambia colore sottolineato",
|
|
100
|
+
"annotationUnderlineColorPickerLabel": "Colore sottolineato",
|
|
101
|
+
"annotationUnderlineDeleteTooltip": "Rimuovi sottolineato",
|
|
102
|
+
"annotationStrikethroughLabel": "Barrato",
|
|
103
|
+
"annotationStrikethroughTooltip": "Barrato",
|
|
104
|
+
"annotationStrikethroughColorTooltip": "Cambia colore barrato",
|
|
105
|
+
"annotationStrikethroughColorPickerLabel": "Colore barrato",
|
|
106
|
+
"annotationStrikethroughDeleteTooltip": "Rimuovi barrato",
|
|
97
107
|
"annotationFreeTextLabel": "Testo libero",
|
|
98
108
|
"annotationFreeTextTooltip": "Testo libero",
|
|
99
109
|
"annotationFreeTextDeleteTooltip": "Rimuovi testo libero",
|
package/dist/locales/pt_PT.json
CHANGED
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"annotationHighlightColorTooltip": "Alterar cor do destaque",
|
|
95
95
|
"annotationHighlightColorPickerLabel": "Cor de destaque",
|
|
96
96
|
"annotationHighlightDeleteTooltip": "Remover destaque",
|
|
97
|
+
"annotationUnderlineLabel": "Sublinhado",
|
|
98
|
+
"annotationUnderlineTooltip": "Sublinhado",
|
|
99
|
+
"annotationUnderlineColorTooltip": "Alterar cor do sublinhado",
|
|
100
|
+
"annotationUnderlineColorPickerLabel": "Cor de sublinhado",
|
|
101
|
+
"annotationUnderlineDeleteTooltip": "Remover sublinhado",
|
|
102
|
+
"annotationStrikethroughLabel": "Tachado",
|
|
103
|
+
"annotationStrikethroughTooltip": "Tachado",
|
|
104
|
+
"annotationStrikethroughColorTooltip": "Alterar cor do tachado",
|
|
105
|
+
"annotationStrikethroughColorPickerLabel": "Cor de tachado",
|
|
106
|
+
"annotationStrikethroughDeleteTooltip": "Remover tachado",
|
|
97
107
|
"annotationFreeTextLabel": "Texto livre",
|
|
98
108
|
"annotationFreeTextTooltip": "Texto livre",
|
|
99
109
|
"annotationFreeTextDeleteTooltip": "Remover texto livre",
|
package/dist/locales/th_TH.json
CHANGED
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"annotationHighlightColorTooltip": "เปลี่ยนสีไฮไลท์",
|
|
95
95
|
"annotationHighlightColorPickerLabel": "สีไฮไลท์",
|
|
96
96
|
"annotationHighlightDeleteTooltip": "ลบไฮไลท์",
|
|
97
|
+
"annotationUnderlineLabel": "ขีดเส้นใต้",
|
|
98
|
+
"annotationUnderlineTooltip": "ขีดเส้นใต้",
|
|
99
|
+
"annotationUnderlineColorTooltip": "เปลี่ยนสีขีดเส้นใต้",
|
|
100
|
+
"annotationUnderlineColorPickerLabel": "สีขีดเส้นใต้",
|
|
101
|
+
"annotationUnderlineDeleteTooltip": "ลบขีดเส้นใต้",
|
|
102
|
+
"annotationStrikethroughLabel": "ขีดฆ่า",
|
|
103
|
+
"annotationStrikethroughTooltip": "ขีดฆ่า",
|
|
104
|
+
"annotationStrikethroughColorTooltip": "เปลี่ยนสีขีดฆ่า",
|
|
105
|
+
"annotationStrikethroughColorPickerLabel": "สีขีดฆ่า",
|
|
106
|
+
"annotationStrikethroughDeleteTooltip": "ลบขีดฆ่า",
|
|
97
107
|
"annotationFreeTextLabel": "ข้อความ",
|
|
98
108
|
"annotationFreeTextTooltip": "ข้อความ",
|
|
99
109
|
"annotationFreeTextDeleteTooltip": "ลบข้อความ",
|
package/dist/locales/zh_CN.json
CHANGED
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"annotationHighlightColorTooltip": "更改高亮颜色",
|
|
95
95
|
"annotationHighlightColorPickerLabel": "高亮颜色",
|
|
96
96
|
"annotationHighlightDeleteTooltip": "删除高亮",
|
|
97
|
+
"annotationUnderlineLabel": "下划线",
|
|
98
|
+
"annotationUnderlineTooltip": "下划线",
|
|
99
|
+
"annotationUnderlineColorTooltip": "更改下划线颜色",
|
|
100
|
+
"annotationUnderlineColorPickerLabel": "下划线颜色",
|
|
101
|
+
"annotationUnderlineDeleteTooltip": "删除下划线",
|
|
102
|
+
"annotationStrikethroughLabel": "删除线",
|
|
103
|
+
"annotationStrikethroughTooltip": "删除线",
|
|
104
|
+
"annotationStrikethroughColorTooltip": "更改删除线颜色",
|
|
105
|
+
"annotationStrikethroughColorPickerLabel": "删除线颜色",
|
|
106
|
+
"annotationStrikethroughDeleteTooltip": "删除删除线",
|
|
97
107
|
"annotationFreeTextLabel": "自由文本",
|
|
98
108
|
"annotationFreeTextTooltip": "自由文本",
|
|
99
109
|
"annotationFreeTextDeleteTooltip": "删除自由文本",
|
package/dist/types.d.ts
CHANGED
|
@@ -97,6 +97,16 @@ export type Localization = {
|
|
|
97
97
|
annotationHighlightColorTooltip: string;
|
|
98
98
|
annotationHighlightColorPickerLabel: string;
|
|
99
99
|
annotationHighlightDeleteTooltip: string;
|
|
100
|
+
annotationUnderlineLabel: string;
|
|
101
|
+
annotationUnderlineTooltip: string;
|
|
102
|
+
annotationUnderlineColorTooltip: string;
|
|
103
|
+
annotationUnderlineColorPickerLabel: string;
|
|
104
|
+
annotationUnderlineDeleteTooltip: string;
|
|
105
|
+
annotationStrikethroughLabel: string;
|
|
106
|
+
annotationStrikethroughTooltip: string;
|
|
107
|
+
annotationStrikethroughColorTooltip: string;
|
|
108
|
+
annotationStrikethroughColorPickerLabel: string;
|
|
109
|
+
annotationStrikethroughDeleteTooltip: string;
|
|
100
110
|
annotationFreeTextLabel: string;
|
|
101
111
|
annotationFreeTextTooltip: string;
|
|
102
112
|
annotationFreeTextDeleteTooltip: string;
|