stable

Clone or download

Read-only

chore: Move FormattedArtifact-to-docx in dedicated lib

It will be needed when we will have to generate artifacts in another apps (like TestPlan). No functional changes. Tracker report can still be exported as document. Part story #23462: export test plan as a docx document Change-Id: I490fc39a6129e30821a17f98b8264da0d8023a75

Modified Files

Name
M plugins/document_generation/build-manifest.json +4 −0 Go to diff View file
M plugins/document_generation/package.json +1 −2 Go to diff View file
M plugins/document_generation/pnpm-lock.yaml +2 −18 Go to diff View file
M plugins/document_generation/scripts/lib/docx/package.json +7 −2 Go to diff View file
M plugins/document_generation/scripts/lib/docx/pnpm-lock.yaml +51 −19 Go to diff View file
A plugins/document_generation/scripts/lib/docx/po/fr_FR.po +58 −0 Go to diff View file
A plugins/document_generation/scripts/lib/docx/src/Artifact/build-list-of-artifacts-content.ts +613 −0 Go to diff View file
A plugins/document_generation/scripts/lib/docx/src/Artifact/internationalize-test-status.test.ts +41 −0 Go to diff View file
A plugins/document_generation/scripts/lib/docx/src/Artifact/internationalize-test-status.ts +41 −0 Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/sections-anchor.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/sections-anchor.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/extract-style-html-element.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/extract-style-html-element.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/list-instance-id-generator.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/list-instance-id-generator.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-html-into-paragraphs.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-html-into-paragraphs.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-large-content-into-paragraphs.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-large-content-into-paragraphs.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-text-with-newlines.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-text-with-newlines.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/html-styles.ts Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/index.ts +4 −0 Go to diff View file
A plugins/document_generation/scripts/lib/docx/src/pofile-shim.d.ts +24 −0 Go to diff View file
A plugins/document_generation/scripts/lib/docx/src/type.ts +115 −0 Go to diff View file
A plugins/document_generation/scripts/lib/docx/tsconfig.json +11 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/vite.config.ts +14 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/po/fr_FR.po +1 −33 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.ts +5 −9 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-traceability-matrix.ts +2 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TableOfContents/table-of-contents.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TableOfContents/table-of-contents.ts +2 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +14 −437 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/internationalize-test-status.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/internationalize-test-status.ts +1 −1 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/pofile-shim.d.ts +24 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +2 −97 Go to diff View file
M plugins/document_generation/vite.config.ts +1 −1 Go to diff View file