Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| be27ce1340 | |||
| 97d5f447e1 |
@@ -1,21 +1,19 @@
|
|||||||
MIT License
|
All rights reserved.
|
||||||
|
|
||||||
Copyright (c) 2026 Mummert
|
Copyright (c) 2026 Mummert
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
This source code is publicly visible for informational and deployment purposes only.
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
Permission is NOT granted to:
|
||||||
copies or substantial portions of the Software.
|
- use this code for any commercial or non-commercial purpose
|
||||||
|
- copy, modify, merge, publish, distribute, sublicense, or sell copies of the Software
|
||||||
|
- use this code in any other project
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
Any use of this code without explicit written permission from the author is strictly prohibited.
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
SOFTWARE.
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
DEALINGS IN THE SOFTWARE.
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ Felder:
|
|||||||
|
|
||||||
- Das Inhaltselement rendert PDF-Seiten als `<canvas>` innerhalb von `.c-flipbook__page`.
|
- Das Inhaltselement rendert PDF-Seiten als `<canvas>` innerhalb von `.c-flipbook__page`.
|
||||||
- Die benoetigten Open-Source-Dateien sind lokal im Bundle enthalten.
|
- Die benoetigten Open-Source-Dateien sind lokal im Bundle enthalten.
|
||||||
|
- Fuer Shared-Hosting ohne konfigurierbare MIME-Types werden PDF.js-Module als `.js` ausgeliefert (statt `.mjs`).
|
||||||
- Siehe `THIRD_PARTY_LICENSES.md` fuer Abhaengigkeiten.
|
- Siehe `THIRD_PARTY_LICENSES.md` fuer Abhaengigkeiten.
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"name": "mummert/flipbook-bundle",
|
"name": "mummert/flipbook-bundle",
|
||||||
"description": "PDF flipbook content element for Contao 5.7 using pdfjs-dist and flipbook-js.",
|
"description": "PDF flipbook content element for Contao 5.7 using pdfjs-dist and flipbook-js.",
|
||||||
"type": "contao-bundle",
|
"type": "contao-bundle",
|
||||||
"license": "MIT",
|
"license": "proprietary",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"contao",
|
"contao",
|
||||||
"contao-bundle",
|
"contao-bundle",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const MODULE_SELECTOR = '[data-pdf-flipbook-element="1"]';
|
const MODULE_SELECTOR = '[data-pdf-flipbook-element="1"]';
|
||||||
const PDF_MODULE_URL = '/bundles/flipbook/assets/vendor/pdf.min.mjs';
|
const PDF_MODULE_URL = '/bundles/flipbook/assets/vendor/pdf.min.js';
|
||||||
const PDF_WORKER_URL = '/bundles/flipbook/assets/vendor/pdf.worker.min.mjs';
|
const PDF_WORKER_URL = '/bundles/flipbook/assets/vendor/pdf.worker.min.js';
|
||||||
const FLIPBOOK_MODULE_URL = '/bundles/flipbook/assets/vendor/flipbook.esm.min.js';
|
const FLIPBOOK_MODULE_URL = '/bundles/flipbook/assets/vendor/flipbook.esm.min.js';
|
||||||
const TURN_SOUND_URL = '/bundles/flipbook/assets/audio/turn.mp3';
|
const TURN_SOUND_URL = '/bundles/flipbook/assets/audio/turn.mp3';
|
||||||
const INIT_MARKER = 'pdfFlipbookInitialized';
|
const INIT_MARKER = 'pdfFlipbookInitialized';
|
||||||
|
|||||||
Vendored
+28
File diff suppressed because one or more lines are too long
+28
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user