-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SaravanaPriya31
authored and
SaravanaPriya31
committed
Jan 5, 2024
1 parent
6d9e344
commit fb59796
Showing
27 changed files
with
240 additions
and
374 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
Save and Load/Load PDF file from URL/TypeScriptClient/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
src/**/*.js | ||
!src/system.config.js | ||
dist/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 36 additions & 27 deletions
63
Save and Load/Load PDF file from URL/TypeScriptClient/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
{ | ||
"name": "ej2-quickstart", | ||
"version": "0.0.1", | ||
"description": "Essential JS 2 typescript quick start application", | ||
"author": "Syncfusion Inc.", | ||
"license": "SEE LICENSE IN license", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/syncfusion/ej2-quickstart.git" | ||
}, | ||
"dependencies": { | ||
"@syncfusion/ej2": "*" | ||
}, | ||
"devDependencies": { | ||
"browser-sync": "^2.18.12", | ||
"gulp": "*", | ||
"gulp-protractor": "*", | ||
"gulp-typescript": "*", | ||
"jasmine": "^2.6.0", | ||
"systemjs": "^0.20.14", | ||
"typescript": "*" | ||
}, | ||
"scripts": { | ||
"start": "gulp start", | ||
"serve": "gulp e2e-serve", | ||
"test": "gulp e2e-test", | ||
"update-webdriver": "gulp e2e-webdriver-update" | ||
} | ||
"name": "ej2-quickstart", | ||
"version": "0.0.1", | ||
"description": "Essential JS 2 typescript quick start application", | ||
"author": "Syncfusion Inc.", | ||
"license": "SEE LICENSE IN license", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/syncfusion/ej2-quickstart.git" | ||
}, | ||
"scripts": { | ||
"start": "webpack-dev-server --mode development", | ||
"build": "webpack --mode production", | ||
"serve": "gulp e2e-serve", | ||
"test": "gulp e2e-test", | ||
"update-webdriver": "gulp e2e-webdriver-update" | ||
}, | ||
"devDependencies": { | ||
"ajv": "^8.11.2", | ||
"browser-sync": "^2.18.12", | ||
"gulp": "*", | ||
"typescript": "*", | ||
"gulp-protractor": "*", | ||
"gulp-typescript": "*", | ||
"jasmine": "^2.6.0", | ||
"css-loader": "^6.7.2", | ||
"ts-loader": "^9.4.1", | ||
"mini-css-extract-plugin": "^2.7.0", | ||
"html-webpack-plugin": "^5.5.0", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^5.0.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"webpack-stream": "^7.0.0" | ||
}, | ||
"dependencies": { | ||
"@syncfusion/ej2": "*" | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
Save and Load/Load PDF file from URL/TypeScriptClient/src/app/app.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { PdfViewer, Toolbar, Magnification, Navigation, Annotation, LinkAnnotation, | ||
ThumbnailView, BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner} from '@syncfusion/ej2-pdfviewer'; | ||
ThumbnailView, BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner} from '@syncfusion/ej2-pdfviewer'; | ||
|
||
PdfViewer.Inject( Toolbar, Magnification, Navigation, Annotation, LinkAnnotation, ThumbnailView, | ||
BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner); | ||
BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner); | ||
|
||
let pdfviewer: PdfViewer = new PdfViewer(); | ||
// Replace the "localhost:44396" with the actual URL of your server | ||
pdfviewer.serviceUrl = 'https://localhost:44396/pdfviewer'; | ||
// Replace correct PDF Document URL want to load | ||
pdfviewer.documentPath="https://cdn.syncfusion.com/content/PDFViewer/flutter-succinctly.pdf" | ||
pdfviewer.documentPath="https://cdn.syncfusion.com/content/PDFViewer/pdf-succinctly.pdf" | ||
pdfviewer.appendTo('#PdfViewer'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 9 additions & 8 deletions
17
Save and Load/Load PDF file from URL/TypeScriptClient/src/styles/styles.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
@import '../node_modules/@syncfusion/ej2-base/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css'; | ||
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css'; | ||
@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-base/styles/material.css'; | ||
@import '../../node_modules/@syncfusion/ej2-buttons/styles/material.css'; | ||
@import '../../node_modules/@syncfusion/ej2-dropdowns/styles/material.css'; | ||
@import '../../node_modules/@syncfusion/ej2-inputs/styles/material.css'; | ||
@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-notifications/styles/material.css"; |
33 changes: 11 additions & 22 deletions
33
Save and Load/Load PDF file from URL/TypeScriptClient/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "amd", | ||
"removeComments": true, | ||
"noLib": false, | ||
"sourceMap": true, | ||
"pretty": true, | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"noImplicitAny": true, | ||
"noImplicitReturns": true, | ||
"noImplicitUseStrict": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"allowJs": false, | ||
"noEmitOnError": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"moduleResolution": "node", | ||
"suppressImplicitAnyIndexErrors": true, | ||
"lib": ["es6", "dom"] | ||
}, | ||
"compileOnSave": false | ||
} | ||
"compilerOptions": { | ||
"target": "es2016", | ||
"module": "ES6", | ||
"sourceMap": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"moduleResolution": "node" | ||
} | ||
} |
3 changes: 1 addition & 2 deletions
3
Save and Load/Load PDF file from base64 string/TypeScriptClient/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
src/**/*.js | ||
!src/system.config.js | ||
dist/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.