@vue-pdf-viewer/shared 1.6.0 → 1.6.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/const.js +12 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/const.js
CHANGED
|
@@ -128,17 +128,29 @@ export const XFDF_ELEMENT_TO_ANNOTATION_TYPE = {
|
|
|
128
128
|
highlight: AnnotationType.Highlight,
|
|
129
129
|
underline: AnnotationType.Underline,
|
|
130
130
|
strikeout: AnnotationType.StrikeOut,
|
|
131
|
+
squiggly: AnnotationType.Squiggly,
|
|
131
132
|
freetext: AnnotationType.FreeText,
|
|
132
133
|
stamp: AnnotationType.Stamp,
|
|
133
134
|
ink: AnnotationType.Ink,
|
|
134
135
|
text: AnnotationType.Popup,
|
|
136
|
+
square: AnnotationType.Square,
|
|
137
|
+
circle: AnnotationType.Circle,
|
|
138
|
+
line: AnnotationType.Line,
|
|
139
|
+
polygon: AnnotationType.Polygon,
|
|
140
|
+
polyline: AnnotationType.Polyline,
|
|
135
141
|
};
|
|
136
142
|
export const ANNOTATION_TYPE_TO_XFDF_ELEMENT = {
|
|
137
143
|
[AnnotationType.Highlight]: "highlight",
|
|
138
144
|
[AnnotationType.Underline]: "underline",
|
|
139
145
|
[AnnotationType.StrikeOut]: "strikeout",
|
|
146
|
+
[AnnotationType.Squiggly]: "squiggly",
|
|
140
147
|
[AnnotationType.FreeText]: "freetext",
|
|
141
148
|
[AnnotationType.Stamp]: "stamp",
|
|
142
149
|
[AnnotationType.Ink]: "ink",
|
|
143
150
|
[AnnotationType.Popup]: "text",
|
|
151
|
+
[AnnotationType.Square]: "square",
|
|
152
|
+
[AnnotationType.Circle]: "circle",
|
|
153
|
+
[AnnotationType.Line]: "line",
|
|
154
|
+
[AnnotationType.Polygon]: "polygon",
|
|
155
|
+
[AnnotationType.Polyline]: "polyline",
|
|
144
156
|
};
|
package/dist/types.d.ts
CHANGED