Skip to content

Commit

Permalink
Merge pull request #30 from SyncfusionExamples/EJ2-915494-dependent_bot
Browse files Browse the repository at this point in the history
915494: Resolved dependent bot issues in customize toolbar and open close bookmark sample
  • Loading branch information
SasidharanKaruppiah authored Oct 18, 2024
2 parents 5f5572e + c1ea883 commit 41eb465
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 148 deletions.
2 changes: 1 addition & 1 deletion How to/Customize existing toolbar/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart
# customize-toolbar

## Project setup
```
Expand Down
15 changes: 10 additions & 5 deletions How to/Customize existing toolbar/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cuatomize-toolbar",
"name": "customize-toolbar",
"version": "0.1.0",
"private": true,
"scripts": {
Expand All @@ -10,7 +10,12 @@
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"core-js": "^3.8.3",
"vue": "^2.7.16"
"vue": "^3.2.13",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.12.16",
Expand All @@ -19,8 +24,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.7.16"
"eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -39,6 +43,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
10 changes: 6 additions & 4 deletions How to/Customize existing toolbar/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@
</div>
</template>
<script>
import Vue from 'vue';
import { PdfViewerPlugin, Toolbar, Magnification, Navigation, LinkAnnotation,
import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation,
BookmarkView, ThumbnailView, Print, TextSelection, TextSearch,
Annotation, FormDesigner, FormFields, PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer';
import { ComboBox } from "@syncfusion/ej2-dropdowns";
import { TextBox } from "@syncfusion/ej2-inputs";
Vue.use(PdfViewerPlugin);
var viewer;
export default {
name: 'app',
name: 'App',
components: {
"ejs-pdfviewer": PdfViewerComponent
},
data () {
// Move the toolItem declaration inside the data function
var toolItem1 = {
Expand Down
58 changes: 0 additions & 58 deletions How to/Customize existing toolbar/src/components/HelloWorld.vue

This file was deleted.

8 changes: 2 additions & 6 deletions How to/Customize existing toolbar/src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')
2 changes: 1 addition & 1 deletion How to/Open and close bookmark/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart
# openclosebookmark

## Project setup
```
Expand Down
15 changes: 10 additions & 5 deletions How to/Open and close bookmark/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "quickstart",
"name": "openclosebookmark",
"version": "0.1.0",
"private": true,
"scripts": {
Expand All @@ -10,7 +10,12 @@
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"core-js": "^3.8.3",
"vue": "^2.7.16"
"vue": "^3.2.13",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.12.16",
Expand All @@ -19,8 +24,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.7.16"
"eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -39,6 +43,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
10 changes: 6 additions & 4 deletions How to/Open and close bookmark/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
</template>

<script>
import Vue from 'vue';
import { PdfViewerPlugin, Toolbar, Magnification, Navigation,
import { PdfViewerComponent, Toolbar, Magnification, Navigation,
LinkAnnotation, BookmarkView, Annotation, ThumbnailView,
Print, TextSelection, TextSearch, FormFields, FormDesigner,PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer';
Vue.use(PdfViewerPlugin);
export default {
name: 'app',
name: 'App',
components: {
"ejs-pdfviewer": PdfViewerComponent
},
data () {
return {
resourceUrl:"https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib",
Expand Down
58 changes: 0 additions & 58 deletions How to/Open and close bookmark/src/components/HelloWorld.vue

This file was deleted.

8 changes: 2 additions & 6 deletions How to/Open and close bookmark/src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')

0 comments on commit 41eb465

Please sign in to comment.