Skip to content

Commit a50f4aa

Browse files
committed
915494: Resolved dependent bot issues
1 parent e7436f7 commit a50f4aa

File tree

10 files changed

+40
-150
lines changed

10 files changed

+40
-150
lines changed

How to/Load N number of pages on initial loading/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# quickstart
1+
# load-n-pages
22

33
## Project setup
44
```

How to/Load N number of pages on initial loading/package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "quickstart",
2+
"name": "load-n-pages",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
@@ -9,8 +9,13 @@
99
},
1010
"dependencies": {
1111
"@syncfusion/ej2-vue-pdfviewer": "*",
12+
"buffer": "^6.0.3",
1213
"core-js": "^3.8.3",
13-
"vue": "^2.7.16"
14+
"crypto-browserify": "^3.12.0",
15+
"stream-browserify": "^3.0.0",
16+
"util": "^0.12.5",
17+
"vm-browserify": "^1.1.2",
18+
"vue": "^3.2.13"
1419
},
1520
"devDependencies": {
1621
"@babel/core": "^7.12.16",
@@ -19,8 +24,7 @@
1924
"@vue/cli-plugin-eslint": "~5.0.0",
2025
"@vue/cli-service": "~5.0.0",
2126
"eslint": "^7.32.0",
22-
"eslint-plugin-vue": "^8.0.3",
23-
"vue-template-compiler": "^2.7.16"
27+
"eslint-plugin-vue": "^8.0.3"
2428
},
2529
"eslintConfig": {
2630
"root": true,
@@ -39,6 +43,7 @@
3943
"browserslist": [
4044
"> 1%",
4145
"last 2 versions",
42-
"not dead"
46+
"not dead",
47+
"not ie 11"
4348
]
4449
}

How to/Load N number of pages on initial loading/src/App.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@
1111

1212
<script>
1313
14-
import Vue from 'vue';
15-
import { PdfViewerPlugin, Toolbar, Magnification, Navigation,
14+
import { PdfViewerComponent, Toolbar, Magnification, Navigation,
1615
Annotation, LinkAnnotation, BookmarkView, ThumbnailView,
1716
Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer';
18-
Vue.use(PdfViewerPlugin);
1917
2018
export default {
21-
name: 'app',
19+
name: 'App',
20+
components: {
21+
"ejs-pdfviewer": PdfViewerComponent
22+
},
2223
data() {
2324
return {
24-
serviceUrl: "https://services.syncfusion.com/vue/production/api/pdfviewer",
25+
// Replace the "localhost:44396" with the actual URL of your server
26+
serviceUrl: "https://localhost:44396/pdfviewer",
2527
documentPath: "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf",
2628
initialRenderPages : 10
2729
};

How to/Load N number of pages on initial loading/src/components/HelloWorld.vue

Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import Vue from 'vue'
1+
import { createApp } from 'vue'
22
import App from './App.vue'
33

4-
Vue.config.productionTip = false
5-
6-
new Vue({
7-
render: h => h(App),
8-
}).$mount('#app')
4+
createApp(App).mount('#app')

How to/Retry Timeout/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# quickstart
1+
# retry-timeout
22

33
## Project setup
44
```

How to/Retry Timeout/package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "quickstart",
2+
"name": "retry-timeout",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
@@ -9,8 +9,13 @@
99
},
1010
"dependencies": {
1111
"@syncfusion/ej2-vue-pdfviewer": "*",
12+
"buffer": "^6.0.3",
1213
"core-js": "^3.8.3",
13-
"vue": "^2.7.16"
14+
"crypto-browserify": "^3.12.0",
15+
"stream-browserify": "^3.0.0",
16+
"util": "^0.12.5",
17+
"vm-browserify": "^1.1.2",
18+
"vue": "^3.2.13"
1419
},
1520
"devDependencies": {
1621
"@babel/core": "^7.12.16",
@@ -19,8 +24,7 @@
1924
"@vue/cli-plugin-eslint": "~5.0.0",
2025
"@vue/cli-service": "~5.0.0",
2126
"eslint": "^7.32.0",
22-
"eslint-plugin-vue": "^8.0.3",
23-
"vue-template-compiler": "^2.7.16"
27+
"eslint-plugin-vue": "^8.0.3"
2428
},
2529
"eslintConfig": {
2630
"root": true,
@@ -39,6 +43,7 @@
3943
"browserslist": [
4044
"> 1%",
4145
"last 2 versions",
42-
"not dead"
46+
"not dead",
47+
"not ie 11"
4348
]
4449
}

How to/Retry Timeout/src/App.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@
1111
</template>
1212

1313
<script>
14-
import Vue from 'vue';
15-
import { PdfViewerPlugin, Toolbar, Magnification, Navigation,
14+
import { PdfViewerComponent, Toolbar, Magnification, Navigation,
1615
Annotation, LinkAnnotation, BookmarkView, ThumbnailView,
1716
Print, TextSelection, TextSearch, FormFields, FormDesigner } from '@syncfusion/ej2-vue-pdfviewer';
18-
Vue.use(PdfViewerPlugin);
1917
2018
export default {
21-
name: 'app',
19+
name: 'App',
20+
components: {
21+
"ejs-pdfviewer": PdfViewerComponent
22+
},
2223
data() {
2324
return {
24-
serviceUrl: "https://services.syncfusion.com/vue/production/api/pdfviewer",
25+
// Replace the "localhost:44396" with the actual URL of your server
26+
serviceUrl: "https://localhost:44396/pdfviewer",
2527
documentPath: "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf",
2628
retryTimeout : 10,
2729
retryCount : 10

How to/Retry Timeout/src/components/HelloWorld.vue

Lines changed: 0 additions & 58 deletions
This file was deleted.

How to/Retry Timeout/src/main.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import Vue from 'vue'
1+
import { createApp } from 'vue'
22
import App from './App.vue'
33

4-
Vue.config.productionTip = false
5-
6-
new Vue({
7-
render: h => h(App),
8-
}).$mount('#app')
4+
createApp(App).mount('#app')

0 commit comments

Comments
 (0)