Skip to content

Commit

Permalink
Merge pull request #29 from SyncfusionExamples/EJ2-915494-dependent_bot
Browse files Browse the repository at this point in the history
915494: Resolved dependent bot issues in textsearch and ass save button sample
  • Loading branch information
SasidharanKaruppiah authored Oct 17, 2024
2 parents dd77efc + 4b25722 commit 5f5572e
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 91 deletions.
16 changes: 10 additions & 6 deletions How to/Add Save Button In ToolBar/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cuatomize-toolbar",
"name": "addsavebutton",
"version": "0.1.0",
"private": true,
"scripts": {
Expand All @@ -10,8 +10,12 @@
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"core-js": "^3.8.3",
"gulp": "^5.0.0",
"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 @@ -20,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 @@ -40,6 +43,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
12 changes: 7 additions & 5 deletions How to/Add Save Button In ToolBar/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
</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';
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 Expand Up @@ -63,5 +65,5 @@ export default {
@import "../node_modules/@syncfusion/ej2-navigations/styles/material.css";
@import "../node_modules/@syncfusion/ej2-popups/styles/material.css";
@import "../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css";
@import "../node_modules/@syncfusion/ej2-pdfviewer/styles/material.css";
@import "../node_modules/@syncfusion/ej2-vue-pdfviewer/styles/material.css";
</style>
58 changes: 0 additions & 58 deletions How to/Add Save Button In ToolBar/src/components/HelloWorld.vue

This file was deleted.

8 changes: 2 additions & 6 deletions How to/Add Save Button In 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/TextSearch/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart
# textsearch

## Project setup
```
Expand Down
15 changes: 10 additions & 5 deletions How to/TextSearch/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "quickstart",
"name": "textsearch",
"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"
]
}
11 changes: 7 additions & 4 deletions How to/TextSearch/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@
</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/27.1.48/dist/ej2-pdfviewer-lib",
Expand Down
8 changes: 2 additions & 6 deletions How to/TextSearch/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 5f5572e

Please sign in to comment.