@alisio/plugin-thesis 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/thesis-architect.md +38 -0
- package/.agents/agents/thesis-coordinator.md +39 -0
- package/.agents/agents/thesis-editor.md +35 -0
- package/.agents/agents/thesis-evidence-auditor.md +37 -0
- package/.agents/agents/thesis-librarian.md +38 -0
- package/.agents/agents/thesis-methodologist.md +39 -0
- package/.agents/agents/thesis-reviewer.md +36 -0
- package/.agents/agents/thesis-writer.md +38 -0
- package/.agents/skills/thesis-build/SKILL.md +48 -0
- package/.agents/skills/thesis-citations/SKILL.md +49 -0
- package/.agents/skills/thesis-csl-authoring/SKILL.md +48 -0
- package/.agents/skills/thesis-editing/SKILL.md +49 -0
- package/.agents/skills/thesis-evidence/SKILL.md +48 -0
- package/.agents/skills/thesis-figures/SKILL.md +50 -0
- package/.agents/skills/thesis-institution-norms/SKILL.md +50 -0
- package/.agents/skills/thesis-intake/SKILL.md +48 -0
- package/.agents/skills/thesis-math/SKILL.md +48 -0
- package/.agents/skills/thesis-methodology/SKILL.md +49 -0
- package/.agents/skills/thesis-outline/SKILL.md +48 -0
- package/.agents/skills/thesis-policy/SKILL.md +48 -0
- package/.agents/skills/thesis-review/SKILL.md +49 -0
- package/.agents/skills/thesis-search/SKILL.md +47 -0
- package/.agents/skills/thesis-writing/SKILL.md +52 -0
- package/LICENSE +21 -0
- package/README.es.md +242 -0
- package/README.md +235 -0
- package/THIRD_PARTY_NOTICES.md +94 -0
- package/assets/architecture.svg +1 -0
- package/assets/evidence-pipeline.svg +1 -0
- package/assets/lifecycle.svg +1 -0
- package/assets/policy-resolution.svg +1 -0
- package/cover.webp +0 -0
- package/dist/authoring.d.ts +30 -0
- package/dist/authoring.d.ts.map +1 -0
- package/dist/authoring.js +681 -0
- package/dist/authoring.js.map +1 -0
- package/dist/brief.d.ts +40 -0
- package/dist/brief.d.ts.map +1 -0
- package/dist/brief.js +566 -0
- package/dist/brief.js.map +1 -0
- package/dist/cache.d.ts +8 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +20 -0
- package/dist/cache.js.map +1 -0
- package/dist/checks/brief.d.ts +5 -0
- package/dist/checks/brief.d.ts.map +1 -0
- package/dist/checks/brief.js +38 -0
- package/dist/checks/brief.js.map +1 -0
- package/dist/checks/citations.d.ts +14 -0
- package/dist/checks/citations.d.ts.map +1 -0
- package/dist/checks/citations.js +87 -0
- package/dist/checks/citations.js.map +1 -0
- package/dist/checks/claims.d.ts +16 -0
- package/dist/checks/claims.d.ts.map +1 -0
- package/dist/checks/claims.js +147 -0
- package/dist/checks/claims.js.map +1 -0
- package/dist/checks/closing.d.ts +20 -0
- package/dist/checks/closing.d.ts.map +1 -0
- package/dist/checks/closing.js +168 -0
- package/dist/checks/closing.js.map +1 -0
- package/dist/checks/design.d.ts +5 -0
- package/dist/checks/design.d.ts.map +1 -0
- package/dist/checks/design.js +107 -0
- package/dist/checks/design.js.map +1 -0
- package/dist/checks/document.d.ts +17 -0
- package/dist/checks/document.d.ts.map +1 -0
- package/dist/checks/document.js +213 -0
- package/dist/checks/document.js.map +1 -0
- package/dist/checks/evidence.d.ts +7 -0
- package/dist/checks/evidence.d.ts.map +1 -0
- package/dist/checks/evidence.js +133 -0
- package/dist/checks/evidence.js.map +1 -0
- package/dist/checks/hygiene.d.ts +5 -0
- package/dist/checks/hygiene.d.ts.map +1 -0
- package/dist/checks/hygiene.js +37 -0
- package/dist/checks/hygiene.js.map +1 -0
- package/dist/checks/index.d.ts +21 -0
- package/dist/checks/index.d.ts.map +1 -0
- package/dist/checks/index.js +98 -0
- package/dist/checks/index.js.map +1 -0
- package/dist/checks/language.d.ts +14 -0
- package/dist/checks/language.d.ts.map +1 -0
- package/dist/checks/language.js +73 -0
- package/dist/checks/language.js.map +1 -0
- package/dist/checks/outline.d.ts +25 -0
- package/dist/checks/outline.d.ts.map +1 -0
- package/dist/checks/outline.js +214 -0
- package/dist/checks/outline.js.map +1 -0
- package/dist/checks/policy.d.ts +5 -0
- package/dist/checks/policy.d.ts.map +1 -0
- package/dist/checks/policy.js +129 -0
- package/dist/checks/policy.js.map +1 -0
- package/dist/checks/project.d.ts +65 -0
- package/dist/checks/project.d.ts.map +1 -0
- package/dist/checks/project.js +203 -0
- package/dist/checks/project.js.map +1 -0
- package/dist/checks/styles.d.ts +12 -0
- package/dist/checks/styles.d.ts.map +1 -0
- package/dist/checks/styles.js +67 -0
- package/dist/checks/styles.js.map +1 -0
- package/dist/checks/writing.d.ts +6 -0
- package/dist/checks/writing.d.ts.map +1 -0
- package/dist/checks/writing.js +115 -0
- package/dist/checks/writing.js.map +1 -0
- package/dist/chrome/detect.d.ts +19 -0
- package/dist/chrome/detect.d.ts.map +1 -0
- package/dist/chrome/detect.js +116 -0
- package/dist/chrome/detect.js.map +1 -0
- package/dist/claims.d.ts +19 -0
- package/dist/claims.d.ts.map +1 -0
- package/dist/claims.js +99 -0
- package/dist/claims.js.map +1 -0
- package/dist/cli.d.ts +11 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +262 -0
- package/dist/cli.js.map +1 -0
- package/dist/context.d.ts +55 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +62 -0
- package/dist/context.js.map +1 -0
- package/dist/coordinator.d.ts +139 -0
- package/dist/coordinator.d.ts.map +1 -0
- package/dist/coordinator.js +710 -0
- package/dist/coordinator.js.map +1 -0
- package/dist/delegate.d.ts +34 -0
- package/dist/delegate.d.ts.map +1 -0
- package/dist/delegate.js +105 -0
- package/dist/delegate.js.map +1 -0
- package/dist/diffguard.d.ts +24 -0
- package/dist/diffguard.d.ts.map +1 -0
- package/dist/diffguard.js +92 -0
- package/dist/diffguard.js.map +1 -0
- package/dist/doctor.d.ts +34 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/doctor.js +155 -0
- package/dist/doctor.js.map +1 -0
- package/dist/draft.d.ts +64 -0
- package/dist/draft.d.ts.map +1 -0
- package/dist/draft.js +801 -0
- package/dist/draft.js.map +1 -0
- package/dist/figure.d.ts +13 -0
- package/dist/figure.d.ts.map +1 -0
- package/dist/figure.js +143 -0
- package/dist/figure.js.map +1 -0
- package/dist/finalize.d.ts +29 -0
- package/dist/finalize.d.ts.map +1 -0
- package/dist/finalize.js +230 -0
- package/dist/finalize.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +206 -0
- package/dist/index.js.map +1 -0
- package/dist/intake.d.ts +57 -0
- package/dist/intake.d.ts.map +1 -0
- package/dist/intake.js +772 -0
- package/dist/intake.js.map +1 -0
- package/dist/labels.d.ts +50 -0
- package/dist/labels.d.ts.map +1 -0
- package/dist/labels.js +98 -0
- package/dist/labels.js.map +1 -0
- package/dist/outline.d.ts +45 -0
- package/dist/outline.d.ts.map +1 -0
- package/dist/outline.js +148 -0
- package/dist/outline.js.map +1 -0
- package/dist/pack-commands.d.ts +18 -0
- package/dist/pack-commands.d.ts.map +1 -0
- package/dist/pack-commands.js +397 -0
- package/dist/pack-commands.js.map +1 -0
- package/dist/package-paths.d.ts +8 -0
- package/dist/package-paths.d.ts.map +1 -0
- package/dist/package-paths.js +13 -0
- package/dist/package-paths.js.map +1 -0
- package/dist/policy/context.d.ts +19 -0
- package/dist/policy/context.d.ts.map +1 -0
- package/dist/policy/context.js +62 -0
- package/dist/policy/context.js.map +1 -0
- package/dist/policy/ethics.d.ts +59 -0
- package/dist/policy/ethics.d.ts.map +1 -0
- package/dist/policy/ethics.js +106 -0
- package/dist/policy/ethics.js.map +1 -0
- package/dist/policy/kinds.d.ts +9 -0
- package/dist/policy/kinds.d.ts.map +1 -0
- package/dist/policy/kinds.js +68 -0
- package/dist/policy/kinds.js.map +1 -0
- package/dist/policy/packs.d.ts +53 -0
- package/dist/policy/packs.d.ts.map +1 -0
- package/dist/policy/packs.js +336 -0
- package/dist/policy/packs.js.map +1 -0
- package/dist/policy/resolver.d.ts +87 -0
- package/dist/policy/resolver.d.ts.map +1 -0
- package/dist/policy/resolver.js +337 -0
- package/dist/policy/resolver.js.map +1 -0
- package/dist/policy/rules.d.ts +65 -0
- package/dist/policy/rules.d.ts.map +1 -0
- package/dist/policy/rules.js +194 -0
- package/dist/policy/rules.js.map +1 -0
- package/dist/protocol.d.ts +46 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +86 -0
- package/dist/protocol.js.map +1 -0
- package/dist/render/adapters/chrome-pdf/cdp.d.ts +36 -0
- package/dist/render/adapters/chrome-pdf/cdp.d.ts.map +1 -0
- package/dist/render/adapters/chrome-pdf/cdp.js +291 -0
- package/dist/render/adapters/chrome-pdf/cdp.js.map +1 -0
- package/dist/render/adapters/chrome-pdf/index.d.ts +10 -0
- package/dist/render/adapters/chrome-pdf/index.d.ts.map +1 -0
- package/dist/render/adapters/chrome-pdf/index.js +139 -0
- package/dist/render/adapters/chrome-pdf/index.js.map +1 -0
- package/dist/render/adapters/chrome-pdf/network.d.ts +7 -0
- package/dist/render/adapters/chrome-pdf/network.d.ts.map +1 -0
- package/dist/render/adapters/chrome-pdf/network.js +33 -0
- package/dist/render/adapters/chrome-pdf/network.js.map +1 -0
- package/dist/render/adapters/html-preview/index.d.ts +8 -0
- package/dist/render/adapters/html-preview/index.d.ts.map +1 -0
- package/dist/render/adapters/html-preview/index.js +62 -0
- package/dist/render/adapters/html-preview/index.js.map +1 -0
- package/dist/render/adapters/test-json/index.d.ts +8 -0
- package/dist/render/adapters/test-json/index.d.ts.map +1 -0
- package/dist/render/adapters/test-json/index.js +62 -0
- package/dist/render/adapters/test-json/index.js.map +1 -0
- package/dist/render/adapters/typst-pdf/emitter.d.ts +21 -0
- package/dist/render/adapters/typst-pdf/emitter.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/emitter.js +259 -0
- package/dist/render/adapters/typst-pdf/emitter.js.map +1 -0
- package/dist/render/adapters/typst-pdf/escape.d.ts +14 -0
- package/dist/render/adapters/typst-pdf/escape.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/escape.js +56 -0
- package/dist/render/adapters/typst-pdf/escape.js.map +1 -0
- package/dist/render/adapters/typst-pdf/index.d.ts +9 -0
- package/dist/render/adapters/typst-pdf/index.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/index.js +154 -0
- package/dist/render/adapters/typst-pdf/index.js.map +1 -0
- package/dist/render/adapters/typst-pdf/profile.d.ts +3 -0
- package/dist/render/adapters/typst-pdf/profile.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/profile.js +55 -0
- package/dist/render/adapters/typst-pdf/profile.js.map +1 -0
- package/dist/render/adapters/typst-pdf/runner.d.ts +52 -0
- package/dist/render/adapters/typst-pdf/runner.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/runner.js +209 -0
- package/dist/render/adapters/typst-pdf/runner.js.map +1 -0
- package/dist/render/adapters/typst-pdf/setup.d.ts +30 -0
- package/dist/render/adapters/typst-pdf/setup.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/setup.js +183 -0
- package/dist/render/adapters/typst-pdf/setup.js.map +1 -0
- package/dist/render/adapters/typst-pdf/version.d.ts +8 -0
- package/dist/render/adapters/typst-pdf/version.d.ts.map +1 -0
- package/dist/render/adapters/typst-pdf/version.js +14 -0
- package/dist/render/adapters/typst-pdf/version.js.map +1 -0
- package/dist/render/assemble.d.ts +28 -0
- package/dist/render/assemble.d.ts.map +1 -0
- package/dist/render/assemble.js +309 -0
- package/dist/render/assemble.js.map +1 -0
- package/dist/render/assets.d.ts +27 -0
- package/dist/render/assets.d.ts.map +1 -0
- package/dist/render/assets.js +232 -0
- package/dist/render/assets.js.map +1 -0
- package/dist/render/build.d.ts +43 -0
- package/dist/render/build.d.ts.map +1 -0
- package/dist/render/build.js +187 -0
- package/dist/render/build.js.map +1 -0
- package/dist/render/charts.d.ts +83 -0
- package/dist/render/charts.d.ts.map +1 -0
- package/dist/render/charts.js +633 -0
- package/dist/render/charts.js.map +1 -0
- package/dist/render/default-registry.d.ts +7 -0
- package/dist/render/default-registry.d.ts.map +1 -0
- package/dist/render/default-registry.js +15 -0
- package/dist/render/default-registry.js.map +1 -0
- package/dist/render/diagram-theme.d.ts +7 -0
- package/dist/render/diagram-theme.d.ts.map +1 -0
- package/dist/render/diagram-theme.js +50 -0
- package/dist/render/diagram-theme.js.map +1 -0
- package/dist/render/dialect.d.ts +23 -0
- package/dist/render/dialect.d.ts.map +1 -0
- package/dist/render/dialect.js +188 -0
- package/dist/render/dialect.js.map +1 -0
- package/dist/render/html/citations.d.ts +70 -0
- package/dist/render/html/citations.d.ts.map +1 -0
- package/dist/render/html/citations.js +371 -0
- package/dist/render/html/citations.js.map +1 -0
- package/dist/render/html/css.d.ts +14 -0
- package/dist/render/html/css.d.ts.map +1 -0
- package/dist/render/html/css.js +113 -0
- package/dist/render/html/css.js.map +1 -0
- package/dist/render/html/emitter.d.ts +20 -0
- package/dist/render/html/emitter.d.ts.map +1 -0
- package/dist/render/html/emitter.js +652 -0
- package/dist/render/html/emitter.js.map +1 -0
- package/dist/render/html/escape.d.ts +11 -0
- package/dist/render/html/escape.d.ts.map +1 -0
- package/dist/render/html/escape.js +32 -0
- package/dist/render/html/escape.js.map +1 -0
- package/dist/render/html/katex.d.ts +9 -0
- package/dist/render/html/katex.d.ts.map +1 -0
- package/dist/render/html/katex.js +39 -0
- package/dist/render/html/katex.js.map +1 -0
- package/dist/render/html/stage.d.ts +12 -0
- package/dist/render/html/stage.d.ts.map +1 -0
- package/dist/render/html/stage.js +30 -0
- package/dist/render/html/stage.js.map +1 -0
- package/dist/render/index.d.ts +5 -0
- package/dist/render/index.d.ts.map +1 -0
- package/dist/render/index.js +5 -0
- package/dist/render/index.js.map +1 -0
- package/dist/render/math.d.ts +9 -0
- package/dist/render/math.d.ts.map +1 -0
- package/dist/render/math.js +60 -0
- package/dist/render/math.js.map +1 -0
- package/dist/render/model.d.ts +233 -0
- package/dist/render/model.d.ts.map +1 -0
- package/dist/render/model.js +2 -0
- package/dist/render/model.js.map +1 -0
- package/dist/render/numbering.d.ts +51 -0
- package/dist/render/numbering.d.ts.map +1 -0
- package/dist/render/numbering.js +155 -0
- package/dist/render/numbering.js.map +1 -0
- package/dist/render/output-name.d.ts +4 -0
- package/dist/render/output-name.d.ts.map +1 -0
- package/dist/render/output-name.js +11 -0
- package/dist/render/output-name.js.map +1 -0
- package/dist/render/palettes.d.ts +22 -0
- package/dist/render/palettes.d.ts.map +1 -0
- package/dist/render/palettes.js +46 -0
- package/dist/render/palettes.js.map +1 -0
- package/dist/render/parse.d.ts +15 -0
- package/dist/render/parse.d.ts.map +1 -0
- package/dist/render/parse.js +637 -0
- package/dist/render/parse.js.map +1 -0
- package/dist/render/port.d.ts +79 -0
- package/dist/render/port.d.ts.map +1 -0
- package/dist/render/port.js +2 -0
- package/dist/render/port.js.map +1 -0
- package/dist/render/registry.d.ts +11 -0
- package/dist/render/registry.d.ts.map +1 -0
- package/dist/render/registry.js +21 -0
- package/dist/render/registry.js.map +1 -0
- package/dist/render/text.d.ts +13 -0
- package/dist/render/text.d.ts.map +1 -0
- package/dist/render/text.js +65 -0
- package/dist/render/text.js.map +1 -0
- package/dist/render/walk.d.ts +13 -0
- package/dist/render/walk.d.ts.map +1 -0
- package/dist/render/walk.js +69 -0
- package/dist/render/walk.js.map +1 -0
- package/dist/research/bibtex.d.ts +12 -0
- package/dist/research/bibtex.d.ts.map +1 -0
- package/dist/research/bibtex.js +99 -0
- package/dist/research/bibtex.js.map +1 -0
- package/dist/research/client.d.ts +112 -0
- package/dist/research/client.d.ts.map +1 -0
- package/dist/research/client.js +661 -0
- package/dist/research/client.js.map +1 -0
- package/dist/research/dossier.d.ts +31 -0
- package/dist/research/dossier.d.ts.map +1 -0
- package/dist/research/dossier.js +54 -0
- package/dist/research/dossier.js.map +1 -0
- package/dist/research/flow.d.ts +31 -0
- package/dist/research/flow.d.ts.map +1 -0
- package/dist/research/flow.js +635 -0
- package/dist/research/flow.js.map +1 -0
- package/dist/research/library.d.ts +79 -0
- package/dist/research/library.d.ts.map +1 -0
- package/dist/research/library.js +319 -0
- package/dist/research/library.js.map +1 -0
- package/dist/research/verify.d.ts +80 -0
- package/dist/research/verify.d.ts.map +1 -0
- package/dist/research/verify.js +307 -0
- package/dist/research/verify.js.map +1 -0
- package/dist/resources.d.ts +15 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +148 -0
- package/dist/resources.js.map +1 -0
- package/dist/review.d.ts +22 -0
- package/dist/review.d.ts.map +1 -0
- package/dist/review.js +355 -0
- package/dist/review.js.map +1 -0
- package/dist/schemas.d.ts +252 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +1020 -0
- package/dist/schemas.js.map +1 -0
- package/dist/sections.d.ts +30 -0
- package/dist/sections.d.ts.map +1 -0
- package/dist/sections.js +62 -0
- package/dist/sections.js.map +1 -0
- package/dist/storage.d.ts +21 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +296 -0
- package/dist/storage.js.map +1 -0
- package/dist/style-commands.d.ts +15 -0
- package/dist/style-commands.d.ts.map +1 -0
- package/dist/style-commands.js +54 -0
- package/dist/style-commands.js.map +1 -0
- package/dist/styles/csl.d.ts +58 -0
- package/dist/styles/csl.d.ts.map +1 -0
- package/dist/styles/csl.js +112 -0
- package/dist/styles/csl.js.map +1 -0
- package/dist/styles/discovery.d.ts +45 -0
- package/dist/styles/discovery.d.ts.map +1 -0
- package/dist/styles/discovery.js +99 -0
- package/dist/styles/discovery.js.map +1 -0
- package/dist/styles/golden.d.ts +52 -0
- package/dist/styles/golden.d.ts.map +1 -0
- package/dist/styles/golden.js +216 -0
- package/dist/styles/golden.js.map +1 -0
- package/dist/styles/profile.d.ts +126 -0
- package/dist/styles/profile.d.ts.map +1 -0
- package/dist/styles/profile.js +582 -0
- package/dist/styles/profile.js.map +1 -0
- package/dist/styles/xml.d.ts +22 -0
- package/dist/styles/xml.d.ts.map +1 -0
- package/dist/styles/xml.js +179 -0
- package/dist/styles/xml.js.map +1 -0
- package/dist/types.d.ts +285 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +155 -0
- package/dist/types.js.map +1 -0
- package/dist/typst-pins.d.ts +16 -0
- package/dist/typst-pins.d.ts.map +1 -0
- package/dist/typst-pins.js +39 -0
- package/dist/typst-pins.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/dist/workflow.d.ts +49 -0
- package/dist/workflow.d.ts.map +1 -0
- package/dist/workflow.js +722 -0
- package/dist/workflow.js.map +1 -0
- package/dist/workspace.d.ts +12 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +71 -0
- package/dist/workspace.js.map +1 -0
- package/package.json +70 -0
- package/policy-packs/countries/CO/academic-standards/ntc-1486-2022.yaml +188 -0
- package/policy-packs/countries/CO/copyright/decision-andina-351.yaml +61 -0
- package/policy-packs/countries/CO/copyright/ley-1915-2018.yaml +25 -0
- package/policy-packs/countries/CO/copyright/ley-23-1982.yaml +64 -0
- package/policy-packs/countries/CO/domains/health/resolucion-8430-1993.yaml +219 -0
- package/policy-packs/countries/CO/higher-education/ley-30-1992.yaml +61 -0
- package/policy-packs/countries/CO/manifest.yaml +42 -0
- package/policy-packs/countries/CO/official-domains.yaml +90 -0
- package/policy-packs/countries/CO/privacy/ley-1581-2012.yaml +197 -0
- package/policy-packs/countries/CO/research-integrity/minciencias-res-0314-2018.yaml +64 -0
- package/policy-packs/global/academic-integrity.yaml +45 -0
- package/policy-packs/global/academic-writing.yaml +70 -0
- package/policy-packs/global/evidence-quality.yaml +81 -0
- package/policy-packs/global/manifest.yaml +54 -0
- package/policy-packs/global/objective-verbs.yaml +245 -0
- package/policy-packs/global/reporting-guidelines.yaml +392 -0
- package/policy-packs/global/work-types.yaml +195 -0
- package/styles/LICENSE-CSL +375 -0
- package/styles/apa.csl +2283 -0
- package/styles/catalog.json +43 -0
- package/styles/fixtures/apa-7.expected.json +25 -0
- package/styles/fixtures/icontec-ntc1486-2022.expected.json +25 -0
- package/styles/fixtures/ieee.expected.json +25 -0
- package/styles/fixtures/references.jsonl +8 -0
- package/styles/icontec-ntc1486-2022.csl +388 -0
- package/styles/ieee.csl +519 -0
- package/templates/html/runtime.js +159 -0
- package/templates/html/thesis.css +98 -0
- package/templates/html/vendor/katex/LICENSE +21 -0
- package/templates/html/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/templates/html/vendor/katex/katex.min.css +1 -0
- package/templates/html/vendor/katex/katex.min.js +1 -0
- package/templates/html/vendor/mermaid/LICENSE +21 -0
- package/templates/html/vendor/mermaid/mermaid.min.js +3587 -0
- package/templates/html/vendor/pagedjs/LICENSE +21 -0
- package/templates/html/vendor/pagedjs/paged.polyfill.min.js +4 -0
- package/templates/palettes.json +57 -0
- package/templates/profiles/apa-7.profile.yaml +15 -0
- package/templates/profiles/generic.profile.yaml +20 -0
- package/templates/profiles/icontec-ntc1486-2022.profile.yaml +36 -0
- package/templates/profiles/ieee.profile.yaml +14 -0
- package/templates/typst/i18n/en.yaml +31 -0
- package/templates/typst/i18n/es.yaml +31 -0
- package/templates/typst/i18n/pt.yaml +31 -0
- package/templates/typst/thesis.typ +276 -0
- package/typst-packages/preview/merman/0.3.0/LICENSE +231 -0
- package/typst-packages/preview/merman/0.3.0/README.md +388 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/cose-base-v1/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/cose-base-v2/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/cytoscape/LICENSE +19 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/cytoscape-cose-bilkent/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/cytoscape-fcose/LICENSE +19 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/d3-shape/LICENSE +13 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/dagre/LICENSE +19 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/dompurify/LICENSE +202 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md +264 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/elkjs/LICENSE.md +264 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/fmin/LICENSE +27 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/graphlib/LICENSE +19 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/layout-base-v1/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/layout-base-v2/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/mermaid/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/rough-rs/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/roughjs/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/sanitize-url/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/venn-js/LICENSE +22 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/wasm-minimal-protocol/LICENSE +24 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_LICENSES/zenuml-core/LICENSE +21 -0
- package/typst-packages/preview/merman/0.3.0/THIRD_PARTY_NOTICES.md +265 -0
- package/typst-packages/preview/merman/0.3.0/lib.typ +1 -0
- package/typst-packages/preview/merman/0.3.0/merman_typst_plugin.wasm +0 -0
- package/typst-packages/preview/merman/0.3.0/src/capabilities.typ +5 -0
- package/typst-packages/preview/merman/0.3.0/src/context.typ +1 -0
- package/typst-packages/preview/merman/0.3.0/src/errors.typ +33 -0
- package/typst-packages/preview/merman/0.3.0/src/exports.typ +5 -0
- package/typst-packages/preview/merman/0.3.0/src/figure.typ +143 -0
- package/typst-packages/preview/merman/0.3.0/src/image.typ +50 -0
- package/typst-packages/preview/merman/0.3.0/src/options.typ +566 -0
- package/typst-packages/preview/merman/0.3.0/src/plugin.typ +1 -0
- package/typst-packages/preview/merman/0.3.0/src/raw.typ +22 -0
- package/typst-packages/preview/merman/0.3.0/src/render.typ +137 -0
- package/typst-packages/preview/merman/0.3.0/src/source.typ +7 -0
- package/typst-packages/preview/merman/0.3.0/src/units.typ +51 -0
- package/typst-packages/preview/merman/0.3.0/typst.toml +12 -0
- package/typst-packages/preview/mitex/0.2.7/CHANGELOG.md +69 -0
- package/typst-packages/preview/mitex/0.2.7/LICENSE +176 -0
- package/typst-packages/preview/mitex/0.2.7/README.md +154 -0
- package/typst-packages/preview/mitex/0.2.7/lib.typ +1 -0
- package/typst-packages/preview/mitex/0.2.7/mitex.typ +45 -0
- package/typst-packages/preview/mitex/0.2.7/mitex.wasm +0 -0
- package/typst-packages/preview/mitex/0.2.7/specs/README.md +250 -0
- package/typst-packages/preview/mitex/0.2.7/specs/latex/standard.typ +1187 -0
- package/typst-packages/preview/mitex/0.2.7/specs/mod.typ +12 -0
- package/typst-packages/preview/mitex/0.2.7/specs/prelude.typ +230 -0
- package/typst-packages/preview/mitex/0.2.7/typst.toml +12 -0
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This file records the third-party material in the `typst-publish` artifact scope.
|
|
4
|
+
It is generated from the release component contract and is intentionally limited to this artifact.
|
|
5
|
+
The wrapper and Merman-authored code remain under the project license; each component below keeps its own terms.
|
|
6
|
+
|
|
7
|
+
## Artifact scope
|
|
8
|
+
|
|
9
|
+
- ID: `typst-publish`
|
|
10
|
+
- Description: The Typst WASM publish profile, including ELK and wasm-minimal-protocol but excluding RaTeX.
|
|
11
|
+
- Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `rough-rs`, `roughjs`, `sanitize-url`, `venn-js`, `zenuml-core`, `eclipse-elk`, `elkjs`, `wasm-minimal-protocol`
|
|
12
|
+
|
|
13
|
+
## Components
|
|
14
|
+
|
|
15
|
+
### cose-base 1.x
|
|
16
|
+
|
|
17
|
+
Manatee contains Rust translations and adaptations of CoSE layout behavior from this baseline.
|
|
18
|
+
|
|
19
|
+
- Version: `1.0.3`
|
|
20
|
+
- Source: https://github.com/iVis-at-Bilkent/cose-base.git @ `914bfe712991534af1d8b795d6f262687edc2563`
|
|
21
|
+
- Source path: `.`
|
|
22
|
+
- Relationship: `modified`, `translated`
|
|
23
|
+
- License: `MIT`
|
|
24
|
+
- Local evidence: `crates/manatee`
|
|
25
|
+
- Legal file: `THIRD_PARTY_LICENSES/cose-base-v1/LICENSE`
|
|
26
|
+
|
|
27
|
+
### cose-base 2.x
|
|
28
|
+
|
|
29
|
+
Manatee contains Rust translations and adaptations of the newer CoSE base behavior from this baseline.
|
|
30
|
+
|
|
31
|
+
- Version: `2.2.0`
|
|
32
|
+
- Source: https://github.com/iVis-at-Bilkent/cose-base.git @ `37f07ed2b8803211ec6c74110574cc47c156a136`
|
|
33
|
+
- Source path: `.`
|
|
34
|
+
- Relationship: `modified`, `translated`
|
|
35
|
+
- License: `MIT`
|
|
36
|
+
- Local evidence: `crates/manatee`
|
|
37
|
+
- Legal file: `THIRD_PARTY_LICENSES/cose-base-v2/LICENSE`
|
|
38
|
+
|
|
39
|
+
### Cytoscape.js
|
|
40
|
+
|
|
41
|
+
Architecture layout and styling use source-backed Cytoscape behavior and defaults.
|
|
42
|
+
|
|
43
|
+
- Version: `3.34.0`
|
|
44
|
+
- Source: https://github.com/cytoscape/cytoscape.js.git @ `22716bfb75834b56fa6679648b0abb06f4ae691c`
|
|
45
|
+
- Source path: `.`
|
|
46
|
+
- Relationship: `behavior-reference`, `translated`
|
|
47
|
+
- License: `MIT`
|
|
48
|
+
- Local evidence: `crates/manatee`, `crates/merman-render/src/architecture.rs`
|
|
49
|
+
- Legal file: `THIRD_PARTY_LICENSES/cytoscape/LICENSE`
|
|
50
|
+
|
|
51
|
+
### cytoscape.js-cose-bilkent
|
|
52
|
+
|
|
53
|
+
Manatee includes source-backed CoSE-Bilkent layout behavior translated to Rust.
|
|
54
|
+
|
|
55
|
+
- Version: `4.1.0`
|
|
56
|
+
- Source: https://github.com/iVis-at-Bilkent/cytoscape.js-cose-bilkent.git @ `999090a8438b4f14788d636ef4fd7a5355e29e8c`
|
|
57
|
+
- Source path: `.`
|
|
58
|
+
- Relationship: `modified`, `translated`
|
|
59
|
+
- License: `MIT`
|
|
60
|
+
- Local evidence: `crates/manatee`
|
|
61
|
+
- Legal file: `THIRD_PARTY_LICENSES/cytoscape-cose-bilkent/LICENSE`
|
|
62
|
+
|
|
63
|
+
### cytoscape.js-fcose
|
|
64
|
+
|
|
65
|
+
The headless Architecture layout is a modified Rust implementation of FCoSE behavior.
|
|
66
|
+
|
|
67
|
+
- Version: `2.2.0`
|
|
68
|
+
- Source: https://github.com/iVis-at-Bilkent/cytoscape.js-fcose.git @ `78afcf96512a409abc903699277ad616c02dfad9`
|
|
69
|
+
- Source path: `.`
|
|
70
|
+
- Relationship: `modified`, `translated`
|
|
71
|
+
- License: `MIT`
|
|
72
|
+
- Local evidence: `crates/manatee`, `crates/merman-render/src/architecture.rs`
|
|
73
|
+
- Legal file: `THIRD_PARTY_LICENSES/cytoscape-fcose/LICENSE`
|
|
74
|
+
|
|
75
|
+
### d3-shape
|
|
76
|
+
|
|
77
|
+
The SVG parity layer translates D3 curve algorithms, including basis, natural, step, cardinal, bump, and Catmull-Rom variants.
|
|
78
|
+
|
|
79
|
+
- Version: `3.2.0`
|
|
80
|
+
- Source: https://github.com/d3/d3-shape.git @ `8ec82658454750cfa29efb1e0ea514e3dd9b2297`
|
|
81
|
+
- Source path: `src/curve`
|
|
82
|
+
- Relationship: `modified`, `translated`
|
|
83
|
+
- License: `ISC`
|
|
84
|
+
- Local evidence: `crates/merman-render/src/svg/parity/curve.rs`
|
|
85
|
+
- Legal file: `THIRD_PARTY_LICENSES/d3-shape/LICENSE`
|
|
86
|
+
|
|
87
|
+
### Dagre
|
|
88
|
+
|
|
89
|
+
Dugong is a modified Rust translation of Dagre's directed graph layout pipeline.
|
|
90
|
+
|
|
91
|
+
- Version: `2.0.2`
|
|
92
|
+
- Source: https://github.com/dagrejs/dagre.git @ `ba986662394f8f3ed608717194e5958f3386ce01`
|
|
93
|
+
- Source path: `lib`
|
|
94
|
+
- Relationship: `modified`, `translated`
|
|
95
|
+
- License: `MIT`
|
|
96
|
+
- Local evidence: `crates/dugong`
|
|
97
|
+
- Legal file: `THIRD_PARTY_LICENSES/dagre/LICENSE`
|
|
98
|
+
|
|
99
|
+
### DOMPurify
|
|
100
|
+
|
|
101
|
+
Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; the exact upstream Apache-2.0 license file is preserved.
|
|
102
|
+
|
|
103
|
+
- Version: `3.4.13`
|
|
104
|
+
- Source: https://github.com/cure53/DOMPurify.git @ `3067f774676975de12306effd6db6ad7a9a8c17f`
|
|
105
|
+
- Source path: `.`
|
|
106
|
+
- Relationship: `generated`, `translated`
|
|
107
|
+
- License: `(Apache-2.0 OR MPL-2.0)`
|
|
108
|
+
- Local evidence: `crates/merman-core/src/generated/dompurify_defaults.rs`
|
|
109
|
+
- Legal file: `THIRD_PARTY_LICENSES/dompurify/LICENSE`
|
|
110
|
+
|
|
111
|
+
### fmin
|
|
112
|
+
|
|
113
|
+
The Venn layout kernel translates the fmin Nelder-Mead and conjugate-gradient optimization behavior.
|
|
114
|
+
|
|
115
|
+
- Version: `0.0.4`
|
|
116
|
+
- Source: https://github.com/benfred/fmin.git @ `6b155c9f4a6ecf73ea5d71666da8e5dcd418b18b`
|
|
117
|
+
- Source path: `.`
|
|
118
|
+
- Relationship: `modified`, `translated`
|
|
119
|
+
- License: `BSD-3-Clause`
|
|
120
|
+
- Local evidence: `crates/merman-render/src/venn.rs`
|
|
121
|
+
- Legal file: `THIRD_PARTY_LICENSES/fmin/LICENSE`
|
|
122
|
+
|
|
123
|
+
### Graphlib
|
|
124
|
+
|
|
125
|
+
dugong-graphlib is a modified Rust translation of the graph model used by Dagre.
|
|
126
|
+
|
|
127
|
+
- Version: `2.2.4`
|
|
128
|
+
- Source: https://github.com/dagrejs/graphlib.git @ `380d5efa1f4ab0904539f046bdba583d14ac2add`
|
|
129
|
+
- Source path: `lib`
|
|
130
|
+
- Relationship: `modified`, `translated`
|
|
131
|
+
- License: `MIT`
|
|
132
|
+
- Local evidence: `crates/dugong-graphlib`
|
|
133
|
+
- Legal file: `THIRD_PARTY_LICENSES/graphlib/LICENSE`
|
|
134
|
+
|
|
135
|
+
### layout-base 1.x
|
|
136
|
+
|
|
137
|
+
Manatee translates shared layout-base geometry, graph, and force-layout primitives from this baseline.
|
|
138
|
+
|
|
139
|
+
- Version: `1.0.2`
|
|
140
|
+
- Source: https://github.com/iVis-at-Bilkent/layout-base.git @ `836898aa4a88e2794774997d7128b383108a3d5a`
|
|
141
|
+
- Source path: `.`
|
|
142
|
+
- Relationship: `modified`, `translated`
|
|
143
|
+
- License: `MIT`
|
|
144
|
+
- Local evidence: `crates/manatee`
|
|
145
|
+
- Legal file: `THIRD_PARTY_LICENSES/layout-base-v1/LICENSE`
|
|
146
|
+
|
|
147
|
+
### layout-base 2.x
|
|
148
|
+
|
|
149
|
+
Manatee also follows the newer layout-base behavior selected by the FCoSE dependency graph.
|
|
150
|
+
|
|
151
|
+
- Version: `2.0.1`
|
|
152
|
+
- Source: https://github.com/iVis-at-Bilkent/layout-base.git @ `3f7549940feef31416cc35ef8256282ebc4d1ecd`
|
|
153
|
+
- Source path: `.`
|
|
154
|
+
- Relationship: `modified`, `translated`
|
|
155
|
+
- License: `MIT`
|
|
156
|
+
- Local evidence: `crates/manatee`
|
|
157
|
+
- Legal file: `THIRD_PARTY_LICENSES/layout-base-v2/LICENSE`
|
|
158
|
+
|
|
159
|
+
### Mermaid
|
|
160
|
+
|
|
161
|
+
Merman independently implements Mermaid-compatible behavior while translating selected algorithms, generating defaults, copying architecture icon data, and retaining upstream fixtures and snapshots.
|
|
162
|
+
|
|
163
|
+
- Version: `11.16.1`
|
|
164
|
+
- Source: https://github.com/mermaid-js/mermaid.git @ `7ecca0cd7f1658ef74f4e7e91f925724ef403bbf`
|
|
165
|
+
- Source path: `packages/mermaid`
|
|
166
|
+
- Relationship: `behavior-reference`, `copied`, `fixtures`, `generated`, `modified`, `translated`
|
|
167
|
+
- License: `MIT`
|
|
168
|
+
- Local evidence: `crates/merman-core/src`, `crates/merman-render/src`, `crates/merman-render/src/svg/parity/architecture/icons.rs`, `fixtures`
|
|
169
|
+
- Legal file: `THIRD_PARTY_LICENSES/mermaid/LICENSE`
|
|
170
|
+
|
|
171
|
+
### rough-rs roughr
|
|
172
|
+
|
|
173
|
+
roughr-merman is a modified in-tree fork of the rough-rs roughr crate.
|
|
174
|
+
|
|
175
|
+
- Version: `0.12.0`
|
|
176
|
+
- Source: https://github.com/orhanbalci/rough-rs.git @ `b1c2d96c944da4e74275aa09892be14e2d54445a`
|
|
177
|
+
- Source path: `roughr`
|
|
178
|
+
- Relationship: `copied`, `modified`
|
|
179
|
+
- License: `MIT`
|
|
180
|
+
- Local evidence: `crates/roughr`
|
|
181
|
+
- Legal file: `THIRD_PARTY_LICENSES/rough-rs/LICENSE`
|
|
182
|
+
|
|
183
|
+
### Rough.js
|
|
184
|
+
|
|
185
|
+
The roughr fork aligns its randomization and drawing-operation semantics with Rough.js as used by Mermaid.
|
|
186
|
+
|
|
187
|
+
- Version: `4.6.6`
|
|
188
|
+
- Source: https://github.com/pshihn/rough.git @ `56a2762171b1294d643501e8d14f120db6b27bd7`
|
|
189
|
+
- Source path: `src`
|
|
190
|
+
- Relationship: `behavior-reference`, `translated`
|
|
191
|
+
- License: `MIT`
|
|
192
|
+
- Local evidence: `crates/roughr`
|
|
193
|
+
- Legal file: `THIRD_PARTY_LICENSES/roughjs/LICENSE`
|
|
194
|
+
|
|
195
|
+
### sanitize-url
|
|
196
|
+
|
|
197
|
+
Merman's URL sanitization behavior is a source-backed Rust translation of sanitize-url.
|
|
198
|
+
|
|
199
|
+
- Version: `7.1.1`
|
|
200
|
+
- Source: https://github.com/braintree/sanitize-url.git @ `b1e8d50e4066a9af00fa042176676374747f754b`
|
|
201
|
+
- Source path: `src`
|
|
202
|
+
- Relationship: `modified`, `translated`
|
|
203
|
+
- License: `MIT`
|
|
204
|
+
- Local evidence: `crates/merman-core/src/utils.rs`
|
|
205
|
+
- Legal file: `THIRD_PARTY_LICENSES/sanitize-url/LICENSE`
|
|
206
|
+
|
|
207
|
+
### @upsetjs/venn.js
|
|
208
|
+
|
|
209
|
+
The Venn family uses a modified Rust translation of the venn.js geometry and layout kernel.
|
|
210
|
+
|
|
211
|
+
- Version: `2.0.0`
|
|
212
|
+
- Source: https://github.com/upsetjs/venn.js.git @ `350c835aab4a92a7570963c28f725cf9f6e5f258`
|
|
213
|
+
- Source path: `src`
|
|
214
|
+
- Relationship: `modified`, `translated`
|
|
215
|
+
- License: `MIT`
|
|
216
|
+
- Local evidence: `crates/merman-core/src/diagrams/venn.rs`, `crates/merman-render/src/venn.rs`
|
|
217
|
+
- Legal file: `THIRD_PARTY_LICENSES/venn-js/LICENSE`
|
|
218
|
+
|
|
219
|
+
### ZenUML Core
|
|
220
|
+
|
|
221
|
+
Merman's ZenUML grammar, model, renderer, emoji/icon data, and behavior probes follow the admitted ZenUML Core 3.50.1 source baseline.
|
|
222
|
+
|
|
223
|
+
- Version: `3.50.1`
|
|
224
|
+
- Source: https://github.com/mermaid-js/zenuml-core.git @ `38404ccc14243ed54ab45b804b2eb6f2ca73af36`
|
|
225
|
+
- Source path: `.`
|
|
226
|
+
- Relationship: `behavior-reference`, `copied`, `modified`, `translated`
|
|
227
|
+
- License: `MIT`
|
|
228
|
+
- Local evidence: `crates/merman-core/src/diagrams/zenuml`, `crates/merman-render/assets/zenuml`, `crates/merman-render/src/zenuml.rs`
|
|
229
|
+
- Legal file: `THIRD_PARTY_LICENSES/zenuml-core/LICENSE`
|
|
230
|
+
|
|
231
|
+
### Eclipse Layout Kernel
|
|
232
|
+
|
|
233
|
+
The merman-elk-layered crate contains a modified Rust source translation of Eclipse ELK layered algorithms under EPL-2.0.
|
|
234
|
+
|
|
235
|
+
- Version: `0.9.1`
|
|
236
|
+
- Source: https://github.com/eclipse-elk/elk.git @ `62d5909f96fad541bc101ad52dabaece6b7eab7e`
|
|
237
|
+
- Source path: `plugins/org.eclipse.elk.alg.layered`
|
|
238
|
+
- Relationship: `modified`, `translated`
|
|
239
|
+
- License: `EPL-2.0`
|
|
240
|
+
- Local evidence: `crates/merman-elk-layered`, `crates/merman-layout-elk`
|
|
241
|
+
- Legal file: `THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md`
|
|
242
|
+
|
|
243
|
+
### elkjs
|
|
244
|
+
|
|
245
|
+
Mermaid's ELK adapter behavior is compared against this JavaScript distribution, which is generated from Eclipse ELK sources.
|
|
246
|
+
|
|
247
|
+
- Version: `0.9.3`
|
|
248
|
+
- Source: https://github.com/kieler/elkjs.git @ `a8304cf79fde75bc2ab1a89d28320f53f8637436`
|
|
249
|
+
- Source path: `.`
|
|
250
|
+
- Relationship: `behavior-reference`
|
|
251
|
+
- License: `EPL-2.0`
|
|
252
|
+
- Local evidence: `crates/merman-layout-elk`, `playground`
|
|
253
|
+
- Legal file: `THIRD_PARTY_LICENSES/elkjs/LICENSE.md`
|
|
254
|
+
|
|
255
|
+
### wasm-minimal-protocol
|
|
256
|
+
|
|
257
|
+
The Typst WASM transport links wasm-minimal-protocol; its upstream license file is the Unlicense text.
|
|
258
|
+
|
|
259
|
+
- Version: `0.2.0`
|
|
260
|
+
- Source: https://github.com/typst-community/wasm-minimal-protocol.git @ `cc08c96b8e7683188eb16ad315a9689b89290f85`
|
|
261
|
+
- Source path: `crates/macro`
|
|
262
|
+
- Relationship: `linked`
|
|
263
|
+
- License: `Unlicense`
|
|
264
|
+
- Local evidence: `Cargo.lock`, `crates/merman-typst-plugin`
|
|
265
|
+
- Legal file: `THIRD_PARTY_LICENSES/wasm-minimal-protocol/LICENSE`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#import "src/exports.typ": *
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#let typst-layout = layout
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#let error-message(result) = {
|
|
2
|
+
if result.message == none {
|
|
3
|
+
result.code_name
|
|
4
|
+
} else {
|
|
5
|
+
result.message
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#let validate-error-mode(error-mode) = {
|
|
10
|
+
if not ("panic", "text", "placeholder").contains(error-mode) {
|
|
11
|
+
panic("unknown merman error-mode: " + str(error-mode))
|
|
12
|
+
}
|
|
13
|
+
error-mode
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#let diagram-error(result, error-mode, width) = {
|
|
17
|
+
if error-mode == "text" {
|
|
18
|
+
text(fill: rgb("#b91c1c"))[merman: #error-message(result)]
|
|
19
|
+
} else if error-mode == "placeholder" {
|
|
20
|
+
block(
|
|
21
|
+
width: width,
|
|
22
|
+
inset: 8pt,
|
|
23
|
+
fill: rgb("#fff7f7"),
|
|
24
|
+
stroke: rgb("#ef4444"),
|
|
25
|
+
)[
|
|
26
|
+
#strong[merman diagram error]
|
|
27
|
+
#linebreak()
|
|
28
|
+
#error-message(result)
|
|
29
|
+
]
|
|
30
|
+
} else {
|
|
31
|
+
panic("unknown merman error-mode: " + str(error-mode))
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
#import "options.typ": choose-value, dictionary-or-none, profile-field
|
|
2
|
+
#import "render.typ": mermaid
|
|
3
|
+
|
|
4
|
+
#let figure-field(figure-profile, key, alt: none) = {
|
|
5
|
+
let figure-profile = dictionary-or-none(figure-profile, "merman figure profile")
|
|
6
|
+
if figure-profile == none {
|
|
7
|
+
none
|
|
8
|
+
} else if key in figure-profile {
|
|
9
|
+
figure-profile.at(key)
|
|
10
|
+
} else if alt != none and alt in figure-profile {
|
|
11
|
+
figure-profile.at(alt)
|
|
12
|
+
} else {
|
|
13
|
+
none
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#let figure-caption(caption, caption-position, caption-separator) = {
|
|
18
|
+
if caption == none {
|
|
19
|
+
none
|
|
20
|
+
} else if caption-position != none and caption-separator != none {
|
|
21
|
+
figure.caption(position: caption-position, separator: caption-separator, caption)
|
|
22
|
+
} else if caption-position != none {
|
|
23
|
+
figure.caption(position: caption-position, caption)
|
|
24
|
+
} else if caption-separator != none {
|
|
25
|
+
figure.caption(separator: caption-separator, caption)
|
|
26
|
+
} else {
|
|
27
|
+
caption
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#let build-figure-options(
|
|
32
|
+
profile,
|
|
33
|
+
caption,
|
|
34
|
+
placement,
|
|
35
|
+
scope,
|
|
36
|
+
supplement,
|
|
37
|
+
numbering,
|
|
38
|
+
outlined,
|
|
39
|
+
gap,
|
|
40
|
+
caption-position,
|
|
41
|
+
caption-separator,
|
|
42
|
+
) = {
|
|
43
|
+
let figure-profile = profile-field(profile, "figure")
|
|
44
|
+
let placement = choose-value(figure-field(figure-profile, "placement"), placement)
|
|
45
|
+
let scope = choose-value(figure-field(figure-profile, "scope"), scope)
|
|
46
|
+
let supplement = choose-value(figure-field(figure-profile, "supplement"), supplement)
|
|
47
|
+
let numbering = choose-value(figure-field(figure-profile, "numbering"), numbering)
|
|
48
|
+
let outlined = choose-value(figure-field(figure-profile, "outlined"), outlined)
|
|
49
|
+
let gap = choose-value(figure-field(figure-profile, "gap"), gap)
|
|
50
|
+
let caption-position = choose-value(
|
|
51
|
+
figure-field(figure-profile, "caption-position", alt: "caption_position"),
|
|
52
|
+
caption-position,
|
|
53
|
+
)
|
|
54
|
+
let caption-separator = choose-value(
|
|
55
|
+
figure-field(figure-profile, "caption-separator", alt: "caption_separator"),
|
|
56
|
+
caption-separator,
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
let caption = figure-caption(caption, caption-position, caption-separator)
|
|
60
|
+
let out = if caption != none {
|
|
61
|
+
(caption: caption)
|
|
62
|
+
} else {
|
|
63
|
+
(:)
|
|
64
|
+
}
|
|
65
|
+
let out = if placement != none {
|
|
66
|
+
(: ..out, placement: placement)
|
|
67
|
+
} else {
|
|
68
|
+
out
|
|
69
|
+
}
|
|
70
|
+
let out = if scope != none {
|
|
71
|
+
(: ..out, scope: scope)
|
|
72
|
+
} else {
|
|
73
|
+
out
|
|
74
|
+
}
|
|
75
|
+
let out = if supplement != none {
|
|
76
|
+
(: ..out, supplement: supplement)
|
|
77
|
+
} else {
|
|
78
|
+
out
|
|
79
|
+
}
|
|
80
|
+
let out = if numbering != none {
|
|
81
|
+
(: ..out, numbering: numbering)
|
|
82
|
+
} else {
|
|
83
|
+
out
|
|
84
|
+
}
|
|
85
|
+
let out = if outlined != none {
|
|
86
|
+
(: ..out, outlined: outlined)
|
|
87
|
+
} else {
|
|
88
|
+
out
|
|
89
|
+
}
|
|
90
|
+
if gap != none {
|
|
91
|
+
(: ..out, gap: gap)
|
|
92
|
+
} else {
|
|
93
|
+
out
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
#let mermaid-figure(
|
|
98
|
+
source,
|
|
99
|
+
caption: none,
|
|
100
|
+
document-context: false,
|
|
101
|
+
placement: none,
|
|
102
|
+
scope: none,
|
|
103
|
+
supplement: none,
|
|
104
|
+
numbering: none,
|
|
105
|
+
outlined: none,
|
|
106
|
+
gap: none,
|
|
107
|
+
caption-position: none,
|
|
108
|
+
caption-separator: none,
|
|
109
|
+
profile: none,
|
|
110
|
+
width: auto,
|
|
111
|
+
height: auto,
|
|
112
|
+
fit: "contain",
|
|
113
|
+
scale: none,
|
|
114
|
+
alt: none,
|
|
115
|
+
error-mode: "panic",
|
|
116
|
+
..args,
|
|
117
|
+
) = {
|
|
118
|
+
let diagram = mermaid(
|
|
119
|
+
source,
|
|
120
|
+
profile: profile,
|
|
121
|
+
document-context: document-context,
|
|
122
|
+
width: width,
|
|
123
|
+
height: height,
|
|
124
|
+
fit: fit,
|
|
125
|
+
scale: scale,
|
|
126
|
+
alt: alt,
|
|
127
|
+
error-mode: error-mode,
|
|
128
|
+
..args,
|
|
129
|
+
)
|
|
130
|
+
let resolved-figure-options = build-figure-options(
|
|
131
|
+
profile,
|
|
132
|
+
caption,
|
|
133
|
+
placement,
|
|
134
|
+
scope,
|
|
135
|
+
supplement,
|
|
136
|
+
numbering,
|
|
137
|
+
outlined,
|
|
138
|
+
gap,
|
|
139
|
+
caption-position,
|
|
140
|
+
caption-separator,
|
|
141
|
+
)
|
|
142
|
+
figure(diagram, ..resolved-figure-options)
|
|
143
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
#import "errors.typ": diagram-error, error-message
|
|
2
|
+
|
|
3
|
+
#let scale-factor(factor) = {
|
|
4
|
+
if type(factor) == int or type(factor) == float {
|
|
5
|
+
factor * 100%
|
|
6
|
+
} else {
|
|
7
|
+
factor
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
#let scaled(body, factor) = {
|
|
12
|
+
if factor == none {
|
|
13
|
+
body
|
|
14
|
+
} else {
|
|
15
|
+
scale(x: scale-factor(factor), y: scale-factor(factor), reflow: true, body)
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
#let svg-bytes-or-panic(result) = {
|
|
20
|
+
if result.ok {
|
|
21
|
+
bytes(result.svg)
|
|
22
|
+
} else {
|
|
23
|
+
panic(error-message(result))
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
#let result-image(
|
|
28
|
+
result,
|
|
29
|
+
width,
|
|
30
|
+
height,
|
|
31
|
+
fit,
|
|
32
|
+
alt,
|
|
33
|
+
scale,
|
|
34
|
+
error-mode,
|
|
35
|
+
) = {
|
|
36
|
+
if result.ok {
|
|
37
|
+
scaled(image(
|
|
38
|
+
bytes(result.svg),
|
|
39
|
+
format: "svg",
|
|
40
|
+
width: width,
|
|
41
|
+
height: height,
|
|
42
|
+
fit: fit,
|
|
43
|
+
alt: alt,
|
|
44
|
+
), scale)
|
|
45
|
+
} else if error-mode == "panic" {
|
|
46
|
+
panic(error-message(result))
|
|
47
|
+
} else {
|
|
48
|
+
diagram-error(result, error-mode, width)
|
|
49
|
+
}
|
|
50
|
+
}
|