three-trees-ui 1.0.89 → 1.0.90

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-trees-ui",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "publicPath": "/ui",
5
5
  "author": "hotent",
6
6
  "private": false,
@@ -33,7 +33,9 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "element-resize-detector": "^1.2.3",
36
- "vee-validate": "2.1.7"
36
+ "v-viewer": "^1.7.4",
37
+ "vee-validate": "2.1.7",
38
+ "viewerjs": "^1.11.7"
37
39
  },
38
40
  "peerDependencies": {
39
41
  "axios": "^0.21.1",
@@ -4,6 +4,7 @@
4
4
  <loading v-if="loading" />
5
5
  <div
6
6
  v-else-if="contentType.indexOf('image') > -1"
7
+ v-viewer
7
8
  class="frame-viewer__img"
8
9
  >
9
10
  <img
@@ -124,12 +125,12 @@
124
125
  return
125
126
  }
126
127
  if (iframe.attachEvent) {
127
- iframe.attachEvent('onload', function() {
128
+ iframe.attachEvent('onload', function () {
128
129
  that.setFrameBody(this.contentWindow.document)
129
130
  that.watermarkRender()
130
131
  })
131
132
  } else {
132
- iframe.onload = function() {
133
+ iframe.onload = function () {
133
134
  that.setFrameBody(this.contentWindow.document)
134
135
  that.watermarkRender()
135
136
  }