-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pdf download format management (#538)
* Add pdf download format management * jsdoc * Update src/app/core/layers/mixins/download.js Fix wrong method Co-authored-by: Raruto <[email protected]> * Clean code * Clean code * Add getLayerDownloads to filter download formats enable of layer level * Clean code * Filter 'pdf' downloadformats config attribute, because it used only for layer feature level * Clean code * Clean code * Clean code * change from v-if to v-show to pass all html dom element for pdf download format * Add i18n translation * Add feature-html-content attribute to estract contento of single hmtl dome feature * Clean code * Clean code * Change pdf api url * Chnage pdf POST parameter name to html * DEV: Force download_pdf config layer to true. Fox Development only purpose * Fix delete feature-html-content attr after merging with dev brach * Remove DEV code * Clean code - spaces * Add parameter for POST method request * Use downloadFile utils intead $.fileDownload jquery plugin to download PDF. It down't work well with PDF promise resolve * simplify `layer.config` and `getDownloadFilefromDownloadDataType` * Clean code - Spaces * 🐛 download pdf format in case of single format * Filter pdf format from layer.downloads format array. --------- Co-authored-by: Raruto <[email protected]>
- Loading branch information
1 parent
666b959
commit 3f8b75a
Showing
18 changed files
with
238 additions
and
261 deletions.
There are no files selected for viewing
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
Oops, something went wrong.