web-document-viewer 11.3.2 → 11.4.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/README.md +1 -7
- package/atalaWebDocumentViewer.css +10 -2
- package/atalaWebDocumentViewer.d.ts +2 -1
- package/atalaWebDocumentViewer.js +110 -104
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Atalasoft Web Document Viewer control
|
|
2
2
|
[](https://badge.fury.io/js/web-document-viewer)
|
|
3
3
|
[](https://badge.fury.io/nu/Atalasoft.Web.Document.Viewer)
|
|
4
|
-
[](https://badge.fury.io/bo/web-document-viewer)
|
|
5
4
|
|
|
6
5
|
The WebDocumentViewer(aka WDV) and WebDocumentThumbnailer(aka WDT) are JavaScript based image viewing controls that could be easily created by adding fex snippets of HTML and JavaScript on your web page and a separate bare-bones requests handler on the server side.
|
|
7
6
|
|
|
@@ -20,11 +19,6 @@ There currently is a gap of functionality on the internet in that browsers curre
|
|
|
20
19
|
|
|
21
20
|
### Installation
|
|
22
21
|
|
|
23
|
-
#### Bower
|
|
24
|
-
```bash
|
|
25
|
-
bower install web-document-viewer
|
|
26
|
-
```
|
|
27
|
-
|
|
28
22
|
#### Nuget
|
|
29
23
|
```bash
|
|
30
24
|
PM> Install-Package Atalasoft.Web.Document.Viewer
|
|
@@ -55,7 +49,7 @@ Atalasoft HTML5 imaging controls are support following server environments
|
|
|
55
49
|
WebDocumentViewer and WebDocumentThumbnailer requires [Jquery](https://github.com/jquery/jquery) and [Jquery UI](https://github.com/jquery/jquery-ui) libraries. If annotations support are enabled, [Raphael.js](https://github.com/DmitryBaranovskiy/raphael) library is also required. If text support is enabled, then [Raphael.js](https://github.com/DmitryBaranovskiy/raphael) and [ClipboardJS](https://github.com/zenorocha/clipboard.js) are both required.
|
|
56
50
|
|
|
57
51
|
[Jquery](https://github.com/jquery/jquery) should be included into web page by the application. If some of the other dependent libraries don't exist in the web page scope, controls are trying to automatically load them(using file names from dotImage web resources bundle shipped by installer).
|
|
58
|
-
When controls are delivered by NuGet
|
|
52
|
+
When controls are delivered by NuGet it's required to manually deploy them on the page(since file names could differ for different versions).
|
|
59
53
|
|
|
60
54
|
### Sample application
|
|
61
55
|
You can find a [demo application](https://github.com/Atalasoft/web-document-viewer-demo) shows basic usage of Web Document Viewer component of DotImage product.
|
|
@@ -219,14 +219,22 @@ button.atala-upload-files-cancel-button {
|
|
|
219
219
|
font-size: 1.3em;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.atala_bookmark_content li
|
|
222
|
+
.atala_bookmark_content li {
|
|
223
223
|
color: black;
|
|
224
224
|
padding: 9px 9px;
|
|
225
225
|
text-decoration: none;
|
|
226
226
|
display: block;
|
|
227
227
|
cursor: pointer;
|
|
228
228
|
user-select: none;
|
|
229
|
-
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.atala_bookmark_content ul {
|
|
232
|
+
color: black;
|
|
233
|
+
padding: 9px 9px;
|
|
234
|
+
text-decoration: none;
|
|
235
|
+
cursor: pointer;
|
|
236
|
+
user-select: none;
|
|
237
|
+
}
|
|
230
238
|
|
|
231
239
|
.atala_bookmark_content a:hover {background-color: #ddd}
|
|
232
240
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// Permission for usage and modification of this code is only permitted
|
|
8
8
|
// with the purchase of a source code license.
|
|
9
9
|
//-------------------------------------------------------------------------------------------------
|
|
10
|
-
// Version 11,
|
|
10
|
+
// Version 11,4,0,251
|
|
11
11
|
|
|
12
12
|
export as namespace Atalasoft;
|
|
13
13
|
interface NotificationCallback {
|
|
@@ -594,6 +594,7 @@ export namespace Controls {
|
|
|
594
594
|
mousetool?: MouseToolConfig | Utils.MouseToolType;
|
|
595
595
|
pageborderwidth?: number;
|
|
596
596
|
pagebuffersize?: number;
|
|
597
|
+
maxpagebuffersize?: number;
|
|
597
598
|
pageselectlocation?: Utils.PageSelection;
|
|
598
599
|
pagespacing?: number;
|
|
599
600
|
allowflick?: boolean;
|