stable
Clone or download
Read-only
Administrator can now preview their changes in PDF templates. The preview contain a fake document based on lorem ipsum text, a table, and an image. The image is big to see how the browser behaves and how we will be able to manage later this type of images. No functional changes in artidoc regarding the print of documents. Part of story #38630: Export to file Change-Id: Ib3a42d9d1ac2b2a17fecf9436cbc088d36bd2c75
Modified Files
Name | ||||
---|---|---|---|---|
A | lib/frontend/print-as-pdf/.gitignore | +1 | −0 | Go to diff View file |
A | lib/frontend/print-as-pdf/README.md | +19 | −0 | Go to diff View file |
A | lib/frontend/print-as-pdf/package.json | +29 | −0 | Go to diff View file |
A | lib/frontend/print-as-pdf/pnpm-lock.yaml | +21 | −0 | Go to diff View file |
R | plugins/artidoc/scripts/artidoc/src/helpers/pdf-template.ts | Go to diff View file | ||
A | lib/frontend/print-as-pdf/tsconfig.json | +7 | −0 | Go to diff View file |
A | lib/frontend/print-as-pdf/vite.config.ts | +31 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/package.json | +1 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/pnpm-lock.yaml | +3 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.vue | +2 | −7 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/pdf-templates-injection-key.ts | +1 | −1 | Go to diff View file |
M | plugins/pdftemplate/include/PdfTemplate/Admin/create-or-update-template.mustache | +5 | −1 | Go to diff View file |
A | plugins/pdftemplate/include/PdfTemplate/Admin/print-preview-fake-document.mustache | +157 | −0 | Go to diff View file |
M | plugins/pdftemplate/include/PdfTemplate/Admin/template-form-elements.mustache | +2 | −2 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/package.json | +1 | −0 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/pnpm-lock.yaml | +3 | −0 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/src/admin.scss | +4 | −0 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/src/index.ts | +5 | −1 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/src/initiate-code-editors.ts | +3 | −3 | Go to diff View file |
A | plugins/pdftemplate/scripts/admin/src/initiate-print-preview.ts | +54 | −0 | Go to diff View file |