allyhub 0.18.0 → 0.20.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/bin/allyhub.js +10 -0
- package/dist/args.js +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +1 -1
- package/dist/commands/align.js +1 -1
- package/dist/commands/auth.js +1 -1
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +2 -2
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/contributed.js +1 -1
- package/dist/commands/dev.js +5 -5
- package/dist/commands/export.js +3 -0
- package/dist/commands/found-extensions.js +2 -0
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +9 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/combos.js +1 -1
- package/dist/commands/inspect/common.js +3 -3
- package/dist/commands/inspect/facts.js +2 -2
- package/dist/commands/inspect/index.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/views.js +1 -1
- package/dist/commands/list.js +2 -0
- package/dist/commands/mail.js +1 -1
- package/dist/commands/migrate.js +3 -0
- package/dist/commands/run-context.js +2 -0
- package/dist/commands/skills.js +3 -3
- package/dist/commands/upgrade.js +5 -0
- package/dist/commands.json +1 -0
- package/dist/fields.js +1 -1
- package/dist/help.js +3 -3
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +4 -3
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
- package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
- package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
- package/dist/node_modules/@allyhub/blocks/package.json +19 -0
- package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
- package/dist/node_modules/@allyhub/build/package.json +13 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
- package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
- package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
- package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
- package/dist/node_modules/@allyhub/cloud/package.json +5 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
- package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
- package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
- package/dist/node_modules/@allyhub/doc/package.json +5 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
- package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
- package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +36 -10
- package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
- package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
- package/dist/node_modules/@allyhub/formats/package.json +25 -1
- package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
- package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
- package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
- package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
- package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +5 -1
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
- package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
- package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +9 -3
- package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +5 -2
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +41 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
- package/dist/node_modules/@allyhub/render/package.json +9 -1
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/html.js +9 -9
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
- package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
- package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
- package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
- package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +7 -26
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
- package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +6 -6
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/x-extension/package.json +8 -4
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
- package/dist/package.json +14 -14
- package/dist/project.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/self-upgrade.js +2 -0
- package/dist/slot.js +4 -0
- package/dist/telemetry.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/update-notice.js +3 -0
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-Hy4-O0wN.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-43JEVxqz.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-7bFTl41n.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
- package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
- package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
- package/editor-web/assets/article-DHf6mOY_.js +7 -0
- package/editor-web/assets/article-Dns1-Xh-.js +3 -0
- package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
- package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
- package/editor-web/assets/{blockDiagram-RJAE7QA3-DcoNo1WH.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
- package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
- package/editor-web/assets/{c4Diagram-XDPPPE54-CsMt61gx.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
- package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
- package/editor-web/assets/channel-CVWSV3su.js +1 -0
- package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
- package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-fj-TJIRG.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-Du5cRy-Y.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BHXxBBtm.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-R5HW6X5I.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-C98F2BUb.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-NIGsJ2cK.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-BtHxtfW5.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-BI8i7Vkk.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-DP_Z_zEA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-C_8bui28.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-CKZgzWB2.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-Ff4DgCht.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Csbx1-pi.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-BO1kcV3w.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-CxeNZYZG.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-D8eHQa5i.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
- package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
- package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
- package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
- package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-lIUY3WQQ.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-CFOOhEEs.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-DdHVup2I.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
- package/editor-web/assets/deck-DQpNIS2p.js +1 -0
- package/editor-web/assets/{diagram-CBK3MWTC-CFAD9Y2B.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-DZJAn95A.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-BcIeYTaY.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-CnZmh_fl.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-DpDd9rGx.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-ouGiUQcR.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
- package/editor-web/assets/dist--z0ZHp4T.js +16 -0
- package/editor-web/assets/dist-9kuRjUTN.js +41 -0
- package/editor-web/assets/dist-B3rd02Cg.js +6 -0
- package/editor-web/assets/dist-B5GOGGEe.js +1 -0
- package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
- package/editor-web/assets/dist-C4hHtrJr.js +1 -0
- package/editor-web/assets/dist-CCXJewsi.js +19 -0
- package/editor-web/assets/dist-CfK2BLl8.js +4 -0
- package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
- package/editor-web/assets/dist-Cspf85KV.js +6 -0
- package/editor-web/assets/dist-DA72-4WB.js +82 -0
- package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
- package/editor-web/assets/dist-DIJnhQFK.js +9 -0
- package/editor-web/assets/dist-DOrGo1GD.js +19 -0
- package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
- package/editor-web/assets/dist-DjiCHlSu.js +35 -0
- package/editor-web/assets/dist-Do4a40Wn.js +19 -0
- package/editor-web/assets/dist-FKEWS3Co.js +547 -0
- package/editor-web/assets/dist-QKd2i6kG.js +5 -0
- package/editor-web/assets/dist-SGnOfLhx.js +24 -0
- package/editor-web/assets/dist-VmVB7tl4.js +3 -0
- package/editor-web/assets/{docx-draw-C4aiB8HI.js → docx-draw-L54blreB.js} +1 -1
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-HRjVlbUf.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BFmtKyOf.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-C9gcGEgK.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
- package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
- package/editor-web/assets/{eventmodeling-K75KTNOO-Bpma5Bdb.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
- package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-CE5ut4C3.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-Dva3iGx2.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-CJXFsAWp.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
- package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
- package/editor-web/assets/hint-CbwoSBMw.js +1 -0
- package/editor-web/assets/index-CXisi0Cj.css +2 -0
- package/editor-web/assets/index-wMlfx8aT.js +28 -0
- package/editor-web/assets/{info-OHQRW6UA-BY0AOfex.js → info-OHQRW6UA-CdPrqere.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-4Up1gMvC.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
- package/editor-web/assets/iso-UwGLGD3F.js +1 -0
- package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-BxV09WdR.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-zTJtIDPG.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
- package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
- package/editor-web/assets/{mermaid-parser.core-BWT9UQh_.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
- package/editor-web/assets/{mermaid.core-DFf_Vg5X.js → mermaid.core-BOln9YdH.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-BYexiugS.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
- package/editor-web/assets/minus-ngE8owxs.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-DX_kSrI6.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
- package/editor-web/assets/{pegDiagram-ECIUJNBX-I3SrcMLp.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-BmAFSw3E.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DIZKcme5.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
- package/editor-web/assets/progress-DZQTiRLv.js +6 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-CO3oSqpQ.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-D5CkFrrb.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BeKY1p0K.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-CIYV9_3-.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DN0zDl6d.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-Bd_GcO24.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-DlFoiMhb.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
- package/editor-web/assets/react-Byupo4pA.js +1 -0
- package/editor-web/assets/replace-CLLMtF4e.js +1 -0
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-LWAEz8Gy.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
- package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
- package/editor-web/assets/row-Bei9HNEe.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-B_pZGwUK.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
- package/editor-web/assets/schemas-C21MyseF.js +1 -0
- package/editor-web/assets/{iso-ahTwmFwH.js → schemas-DlRAoVtq.js} +1 -1
- package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
- package/editor-web/assets/search-D75Bi2GU.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-bNhyCq0C.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
- package/editor-web/assets/{session-Beijw9EK.js → session-BhClkDyr.js} +1 -1
- package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
- package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
- package/editor-web/assets/sound-DkR3qxSt.js +1 -0
- package/editor-web/assets/split-DBAbwPZ5.js +3 -0
- package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DI-oM3qz.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
- package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
- package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
- package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-awDmoLdW.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
- package/editor-web/assets/switch-DrZxoPQS.js +1 -0
- package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
- package/editor-web/assets/table-BW43XXVd.js +1 -0
- package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
- package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
- package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
- package/editor-web/assets/{timeline-definition-JXYKGLGB-CayduPvL.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
- package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
- package/editor-web/assets/{treeView-D4JQ5SDB-BVEuNzCO.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-BOB14HP3.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
- package/editor-web/assets/type-CvZ0HZsV.js +41 -0
- package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DxT99uaq.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CWUKom-r.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
- package/editor-web/assets/video-SJvDRCJK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-BAQyTneD.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CiIYz4lZ.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
- package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
- package/editor-web/assets/{words-0Ww2RyT4.js → words-BUlNNuH2.js} +3 -3
- package/editor-web/assets/words-zMedmPWc.js +3 -0
- package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-D_D5IGmd.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
- package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
- package/editor-web/index.html +9 -8
- package/package.json +3 -3
- package/CHANGELOG.md +0 -243
- package/dist/commands/render.js +0 -3
- package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
- package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
- package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
- package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
- package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
- package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
- package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
- package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
- package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
- package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
- package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
- package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
- package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
- package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
- package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
- package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
- package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
- package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
- package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
- package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
- package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
- package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
- package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -136
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
- package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
- package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
- package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
- package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
- package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -48
- package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
- package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
- package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
- package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
- package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
- package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
- package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
- package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
- package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
- package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
- package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
- package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
- package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
- package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
- package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
- package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
- package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
- package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
- package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
- package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
- package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
- package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
- package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
- package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
- package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
- package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
- package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
- package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
- package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
- package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
- package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
- package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
- package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
- package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
- package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
- package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
- package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
- package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
- package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
- package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
- package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
- package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
- package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
- package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
- package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
- package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
- package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
- package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
- package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
- package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
- package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
- package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
- package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
- package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
- package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
- package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
- package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
- package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
- package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
- package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
- package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
- package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
- package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
- package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
- package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
- package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
- package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
- package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -144
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
- package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
- package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
- package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
- package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
- package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -503
- package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
- package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
- package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
- package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
- package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -196
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
- package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
- package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
- package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
- package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
- package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
- package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
- package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
- package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
- package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
- package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
- package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
- package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
- package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
- package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
- package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
- package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
- package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
- package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
- package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
- package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
- package/editor-web/assets/article-CS48wwvk.js +0 -3
- package/editor-web/assets/article-Cyle57uq.js +0 -7
- package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
- package/editor-web/assets/calc-worker-BdHh5LXM.js +0 -45
- package/editor-web/assets/channel-HUlo15J7.js +0 -1
- package/editor-web/assets/chart-amT4lgX3.js +0 -2
- package/editor-web/assets/chart-file-CfbWK9l1.js +0 -1
- package/editor-web/assets/code-CD-CbJG9.js +0 -1
- package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
- package/editor-web/assets/deck-CtEtDHo2.js +0 -1
- package/editor-web/assets/dist-BBshIz1Q.js +0 -5
- package/editor-web/assets/dist-BI8QjOsV.js +0 -1
- package/editor-web/assets/dist-BajH5QfK.js +0 -24
- package/editor-web/assets/dist-Bl74xqMW.js +0 -19
- package/editor-web/assets/dist-BrUtQth3.js +0 -18
- package/editor-web/assets/dist-CN5A7Au2.js +0 -1
- package/editor-web/assets/dist-CcL6r6l3.js +0 -1
- package/editor-web/assets/dist-D2E3cgRP.js +0 -4
- package/editor-web/assets/dist-D3C6FyrO.js +0 -82
- package/editor-web/assets/dist-DGKjn59H.js +0 -16
- package/editor-web/assets/dist-NQNQ5HqZ.js +0 -17
- package/editor-web/assets/dist-SV0sOVIC.js +0 -43
- package/editor-web/assets/dist-YW8hS4IM.js +0 -9
- package/editor-web/assets/dist-Y_XZZa8q.js +0 -531
- package/editor-web/assets/dist-ZrBAbqyJ.js +0 -3
- package/editor-web/assets/dist-d4dayaWE.js +0 -17
- package/editor-web/assets/dist-elglzHMT.js +0 -6
- package/editor-web/assets/dist-hHcrvNn9.js +0 -1
- package/editor-web/assets/esm-DzxAod8Q.js +0 -21
- package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +0 -1
- package/editor-web/assets/hint-rlht0uxG.js +0 -1
- package/editor-web/assets/index-Dvh1t1om.css +0 -2
- package/editor-web/assets/index-q7X6hdHp.js +0 -28
- package/editor-web/assets/minus-CbPnUIOy.js +0 -1
- package/editor-web/assets/progress-CwKcXARv.js +0 -6
- package/editor-web/assets/props-form-DUFxM5eb.js +0 -1
- package/editor-web/assets/react-Edyoga_4.js +0 -1
- package/editor-web/assets/row-C_svyL8o.js +0 -1
- package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
- package/editor-web/assets/search-Ba2BbT6T.js +0 -1
- package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
- package/editor-web/assets/snapshots-Dd0Wd_qM.js +0 -1
- package/editor-web/assets/sound-bTlco_K3.js +0 -1
- package/editor-web/assets/split-zARio3J8.js +0 -3
- package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
- package/editor-web/assets/surface-DtCjIlrq.js +0 -1
- package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
- package/editor-web/assets/swatch-DhztHwPU.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +0 -8
- package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
- package/editor-web/assets/table-DRbddzx0.js +0 -1
- package/editor-web/assets/tabs-BHBvbekZ.js +0 -1
- package/editor-web/assets/tag-CIfWT8B_.js +0 -1
- package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
- package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
- package/editor-web/assets/video-oJ3qa1Qv.js +0 -1
- package/editor-web/assets/words-XlXG79Ur.js +0 -3
- package/editor-web/assets/workbook-DznVDqoE.js +0 -45
- package/editor-web/assets/x-DlhyIKuu.js +0 -41
- /package/dist/node_modules/@allyhub/{protocol/dist/runtimes.js → runtimes/dist/schema.js} +0 -0
|
@@ -1,70 +1,96 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{Document as
|
|
3
|
-
${e.styles.
|
|
4
|
-
`:
|
|
5
|
-
`;break;default:
|
|
6
|
-
`)||n.inTable&&
|
|
7
|
-
`)&&s&&
|
|
8
|
-
`).map(d=>
|
|
9
|
-
`)}const
|
|
10
|
-
`).map((r
|
|
11
|
-
`),
|
|
2
|
+
import{Document as ie,isMap as re,visit as se}from"yaml";import{pageLookYaml as de}from"./page.js";import{writeAligns as ae,writeMerges as ue}from"./merges.js";import{writtenAttributes as U}from"./styles.js";import{BLOCK_TAG as P,CALLOUT_TAG as W,CARD_TAG as K,TEXT_BOX_TAG as J,STAT_TAG as oe,STATS_TAG as F,TAG_TAG as H,INSERTED_TAG as N,CELL_TAG as Q,FORMATTED_TAG as O,DELETED_TAG as R,COMMENT_TAG as x,FIELD_TAG as X,CHART_TAG as I,PAGE_BREAK_TAG as fe,SECTION_BREAK_TAG as $e,COLUMN_TAG as Y,COLUMNS_TAG as Z,COMPONENT_TAG as ce,ITEM_TAG as pe,TABLE_TAG as B,TOC_TAG as he,BIBLIOGRAPHY_TAG as ge}from"./parse.js";const S=["comment","inserted","deleted","formatted","link","span","tag","underline","bold","italic","strike","superscript","subscript","code"],me=["style","font","size","caps","smallCaps","letterSpacing"];function le(e){const n=e.styles;return[t("style",n.style),t("font",n.font),t("size",n.size===void 0?void 0:String(n.size)),n.caps===!0?" caps":"",n.smallCaps===!0?" small-caps":"",t("letter-spacing",n.letterSpacing===void 0?void 0:String(n.letterSpacing)),t("color",n.color),t("bg",n.background)].join("")}function w(e,n){switch(n){case"comment":return e.styles.comments===void 0||e.styles.comments.length===0?void 0:e.styles.comments.join(" ");case"inserted":case"deleted":{const i=e.styles[n];return i===void 0?void 0:`${i.author}
|
|
3
|
+
${i.date??""}`}case"formatted":return e.styles.formatted===void 0?void 0:JSON.stringify(e.styles.formatted);case"link":return e.href;case"tag":return e.styles.tag;case"span":return e.styles.color!==void 0||e.styles.background!==void 0||me.some(i=>e.styles[i]!==void 0)?le(e):void 0;default:return e.styles[n]?"on":void 0}}const t=(e,n)=>n===void 0?"":` ${e}="${n.replace(/&/g,"&").replace(/"/g,""")}"`,ye=(e,n)=>n.includes('"')&&!n.includes("'")?` ${e}='${n.replace(/&/g,"&")}'`:t(e,n),v=e=>e!==void 0&&/[\p{L}\p{N}]/u.test(e);function _(e,n,i=n){let r="";const s=Array.from(e);return s.forEach((a,d)=>{const p=s[d-1],f=s[d+1];switch(a){case"\\":case"*":case"`":case"[":case"]":case"<":case">":case"{":case"}":case"~":r+=`\\${a}`;break;case"_":r+=v(p)&&v(f)?a:`\\${a}`;break;case"&":r+=/^&(#\d+|#x[0-9a-f]+|[a-z][a-z0-9]*);/i.test(s.slice(d,d+34).join(""))?"&":a;break;case"|":r+=n?"\\|":a;break;case"!":r+=f===void 0?"\\!":a;break;case`
|
|
4
|
+
`:r+=i?"<br />":`\\
|
|
5
|
+
`;break;default:r+=a}}),r}function we(e){const n=Math.max(0,...(e.match(/`+/g)??[]).map(s=>s.length)),i="`".repeat(n+1),r=e.startsWith("`")||e.endsWith("`")||e.startsWith(" ")&&e.endsWith(" ")&&e.trim()!==""?" ":"";return`${i}${r}${e}${r}${i}`}const Ae={bold:"**",italic:"*",strike:"~~"},V={underline:"u",bold:"strong",italic:"em",strike:"del",superscript:"sup",subscript:"sub",code:"code"};function l(e,n){let i="",r=0,s=!0;for(;r<e.length;){const a=e[r];if(a===void 0)break;if(a.note!==void 0||a.cite!==void 0){i+=a.note===void 0?`[${a.cite??""}]`:`[^${a.note}]`,s=!1,r++;continue}const d=S.find(c=>!n.used.has(c)&&w(a,c)!==void 0);if(d===void 0){i+=a.field===void 0?_(a.text,n.inTable,n.oneLine):`<${X}${ye("code",a.field)}${a.text===""?" />":`>${_(a.text,n.inTable,!0)}</${X}>`}`,s=!0,r++;continue}const p=w(a,d);let f=r+1;for(;f<e.length;){const c=e[f];if(c===void 0||w(c,d)!==p||d==="code"&&S.some(h=>h!=="code"&&!n.used.has(h)&&w(c,h)!==void 0))break;f++}const u=e.slice(r,f),$=new Set([...n.used,d]),o=u.map(c=>c.text).join(""),g=e[f],C=g===void 0||S.every(c=>n.used.has(c)||w(g,c)===void 0);if(d==="code")i+=o.includes(`
|
|
6
|
+
`)||n.inTable&&o.includes("|")?`<code>${_(o,n.inTable,n.oneLine)}</code>`:we(o);else if(d==="link"){const c=l(u,{...n,used:$}),h=(p??"").replace(/[\s<>\\]/g,M=>encodeURIComponent(M)),y=Te(h)?h:h.replace(/[()]/g,"\\$&");i+=`[${c}](${y})`}else if(d==="comment"){let c=l(u,{...n,used:$});for(const h of[...(p??"").split(" ")].reverse())c=`<${x}${t("id",h)}>${c}</${x}>`;i+=c}else if(d==="inserted"||d==="deleted"){const c=l(u,{...n,used:$}),h=u[0]?.styles[d],y=d==="inserted"?N:R;i+=`<${y}${t("author",h?.author)}${t("date",h?.date)}${t("move",h?.move)}>${c}</${y}>`}else if(d==="formatted"){const c=l(u,{...n,used:$}),h=u[0]?.styles.formatted;i+=`<${O}${t("author",h?.author)}${t("date",h?.date)} was={${L(h?.was??{})}}>${c}</${O}>`}else if(d==="tag"){const c=l(u,{...n,used:$});i+=`<${H}${t("color",p)}>${c}</${H}>`}else if(d==="span"){const c=l(u,{...n,used:$});i+=`<span${p??""}>${c}</span>`}else{const c=l(u,{...n,used:$}),h=Ae[d],y=Array.from(o),M=r===0&&f===e.length,ee=n.used.has("bold")||n.used.has("italic")||n.used.has("strike"),z=j=>j!==void 0&&S.every(T=>$.has(T)||w(j,T)===void 0),ne=d==="bold"&&u.every(j=>j.styles.italic===!0&&S.every(T=>T==="italic"||$.has(T)||w(j,T)===void 0)),te=h!==void 0&&v(y[0])&&v(y.at(-1))&&!o.includes(`
|
|
7
|
+
`)&&s&&C&&(!ee||M&&d==="italic"&&n.used.has("bold"))&&(z(u[0])&&z(u.at(-1))||ne);i+=te?`${h}${c}${h}`:`<${V[d]}>${c}</${V[d]}>`}s=!1,r=f}return i}function Te(e){let n=0;for(const i of e)if(i==="(")n+=1;else if(i===")"&&--n<0)return!1;return n===0}function je(e){if(/^[ \t]/.test(e))return`&#x${e.charCodeAt(0).toString(16)};${e.slice(1)}`;if(/^(import|export)(\s|$)/.test(e))return`&#x${e.charCodeAt(0).toString(16)};${e.slice(1)}`;if(/^(#{1,6}(\s|$)|[-+](\s|$)|[=-]+\s*$|[|:\-\s]*-[|:\-\s]*$)/.test(e))return`\\${e}`;const n=/^(\d{1,9})([.)])(\s|$)/.exec(e);return n?.[1]!==void 0?`${n[1]}\\${e.slice(n[1].length)}`:e}function m(e,n=!1,i=n){const r=e.filter(d=>d.text!==""||d.href!==void 0||d.field!==void 0).map((d,p,f)=>{if(d.note===void 0)return d;const u=f.slice(0,p).findLast($=>$.note===void 0);return u===void 0?d:{...d,styles:{...u.styles},...u.href===void 0?{}:{href:u.href}}}),s=l(r,{inTable:n,oneLine:i,used:new Set}),a=d=>d.replace(/ +$/,"").replace(/^ +/,p=>" ".repeat(p.length));return i?a(s):s.split(`
|
|
8
|
+
`).map(d=>je(a(d))).join(`
|
|
9
|
+
`)}const Se=e=>{const n=e.mark;return n===void 0?"":`<${n.kind==="inserted"?N:R}${t("author",n.author)}${t("date",n.date)}${t("move",n.move)} />`},D=(e,n)=>n.mark===void 0?e:`${e}${Se(n)}`,G=(e,n)=>e.split(`
|
|
10
|
+
`).map((i,r)=>r===0||i===""?i:`${n}${i}`).join(`
|
|
11
|
+
`),A=e=>e.type==="bullet"||e.type==="numbered"||e.type==="check";function _e(e){if(e===void 0)return"";const{color:n,background:i,style:r,...s}=e,a=U(s).map(([d,p])=>p===!0?` ${d}`:t(d,p)).join("");return`${t("style",r)}${a}${t("color",n)}${t("bg",i)}`}function Oe(e){const{color:n,background:i,style:r,...s}=e;return{...r===void 0?{}:{style:r},...Object.fromEntries(U(s)),...n===void 0?{}:{color:n},...i===void 0?{}:{bg:i}}}const xe=e=>e!==void 0&&Object.keys(e).length>0;function E(e){return!("content"in e)||e.type==="callout"?!1:xe(e.look)||e.type==="toggle"||e.type==="heading"&&e.toggle?!0:(e.type==="paragraph"||e.type==="heading")&&(e.children?.length??0)>0}function ve(e){const n=Math.max(2,...(e.match(/^\s*`{3,}/gm)??[]).map(i=>i.trim().length));return"`".repeat(n+1)}function Ge(e,n,i){const r=e.type==="numbered"?`${String(n)}${i} `:e.type==="check"?`- [${e.checked?"x":" "}] `:"- ",s=" ".repeat(e.type==="numbered"?r.length:2),a=e.children??[],d=D(m(e.content)||(e.type==="check"&&(e.children??[]).length===0?"<br />":""),e);if(a.length===0)return`${r}${G(d,s)}`.trimEnd();const p=d===""?"<br />":d,[f]=a,u=f!==void 0&&A(f)&&m(f.content)!==""&&!(f.type==="numbered"&&(f.start??1)!==1),$=a.every(A)&&d!==""&&u;return`${r}${G(p,s)}${$?`
|
|
12
12
|
`:`
|
|
13
13
|
|
|
14
|
-
`}${s}${
|
|
14
|
+
`}${s}${G(writeBlocks(a),s)}`}function Ee(e){switch(e.type){case"paragraph":{const n=D(m(e.content),e);return n===""?"<br />":n}case"heading":return`${"#".repeat(e.level)} ${D(m(e.content,!1,!0).replace(/(^| )(#+)$/,"$1\\$2"),e)}`.trimEnd();case"toggle":return m(e.content)||"<br />";case"quote":{const n=m(e.content);return(e.children?.length?[n===""?"<br />":n,writeBlocks(e.children)]:[n]).join(`
|
|
15
15
|
|
|
16
16
|
`).split(`
|
|
17
|
-
`).map(
|
|
18
|
-
`)}case"callout":{const n=
|
|
17
|
+
`).map(r=>r===""?">":`> ${r}`).join(`
|
|
18
|
+
`)}case"callout":{const n=m(e.content),i=[n===""?"<br />":n,...e.children?.length?[writeBlocks(e.children)]:[]].join(`
|
|
19
19
|
|
|
20
|
-
`);return`<${
|
|
20
|
+
`);return`<${W}${t("icon",e.icon)}${t("tone",e.tone)}${t("color",e.look?.color)}${t("bg",e.look?.background)}>
|
|
21
21
|
|
|
22
|
-
${
|
|
22
|
+
${i}
|
|
23
23
|
|
|
24
|
-
</${
|
|
24
|
+
</${W}>`}case"card":{const n=e.children?.length?writeBlocks(e.children):"";return`<${K}${t("title",e.title)}${t("subtitle",e.subtitle)}${t("icon",e.icon)}${t("tag",e.tag)}${e.featured?" featured":""}>
|
|
25
25
|
|
|
26
26
|
${n===""?"<br />":n}
|
|
27
27
|
|
|
28
|
-
</${
|
|
29
|
-
|
|
28
|
+
</${K}>`}case"textbox":{const n=e.children?.length?writeBlocks(e.children):"",i=r=>r===void 0?void 0:String(r);return`<${J}${t("float",e.float)}${t("width",i(e.width))}${t("wrap",e.wrap)}${e.wrap===void 0?"":`${t("x",i(e.x))}${t("y",i(e.y))}`}>
|
|
29
|
+
|
|
30
|
+
${n===""?"<br />":n}
|
|
31
|
+
|
|
32
|
+
</${J}>`}case"block":{const n=i=>Object.entries(i).map(([r,s])=>t(r,s)).join("");return e.items===void 0||e.items.length===0?`<${e.tag}${n(e.props)} />`:[`<${e.tag}${n(e.props)}>`,...e.items.map(i=>`<${i.tag}${n(i.props)} />`),`</${e.tag}>`].join(`
|
|
33
|
+
`)}case"stats":return[`<${F}>`,...e.stats.map(n=>`<${oe}${t("label",n.label)}${t("value",n.value)}${t("delta",n.delta)}${t("note",n.note)}${n.downIsGood?" down-is-good":""}${t("trend",n.trend?.join(","))}${t("status",n.status)}${t("target",n.target)}${t("icon",n.icon)} />`),`</${F}>`].join(`
|
|
34
|
+
`);case"code":{const n=ve(e.code);return`${n}${e.language??""}
|
|
30
35
|
${e.code}
|
|
31
|
-
${n}`}case"image":{const n=e.src.replace(/[\s()<>\\]/g,
|
|
32
|
-
`),d=e.widths?.some(
|
|
36
|
+
${n}`}case"image":{const n=e.src.replace(/[\s()<>\\]/g,r=>encodeURIComponent(r));if(e.width!==void 0||e.align!==void 0||e.float!==void 0||e.wrap!==void 0||e.id!==void 0){const r=s=>s===void 0?void 0:String(s);return`<img${t("src",e.src)}${t("alt",e.alt)}${t("title",e.caption)}${t("width",r(e.width))}${t("align",e.align)}${t("float",e.float)}${t("wrap",e.wrap)}${e.wrap===void 0?"":`${t("x",r(e.x))}${t("y",r(e.y))}`}${t("id",e.id)} />`}const i=e.caption===void 0?"":` "${e.caption.replace(/["\\]/g,"\\$&")}"`;return``}case"table":{if(e.data!==void 0){const o=e.widths?.some(g=>g!==null)?e.widths.map(g=>g===null?"":String(g)).join(","):void 0;return`<${B}${t("data",e.data)}${t("style",e.style)}${t("fields",e.fields?.join(","))}${t("widths",o)}${t("head",e.head)}${t("caption",e.caption)}${t("id",e.id)} />`}const n=Math.max(1,...e.rows.map(o=>o.length)),i=o=>`| ${Array.from({length:n},(g,C)=>m(o[C]??[],!0)).join(" | ")} |`,[r,...s]=e.rows,a=[i(r??[]),`| ${Array.from({length:n},()=>"---").join(" | ")} |`,...s.map(i)].join(`
|
|
37
|
+
`),d=e.widths?.some(o=>o!==null)?e.widths.map(o=>o===null?"":String(o)).join(","):void 0,p=e.merges===void 0||e.merges.length===0?void 0:ue(e.merges),f=e.heights?.some(o=>o!==null)?e.heights.map(o=>o===null?"":String(o)).join(","):void 0,u=e.valign===void 0||e.valign.length===0?void 0:ae(e.valign),$=Object.entries(e.cells??{}).map(([o,g])=>`
|
|
38
|
+
|
|
39
|
+
<${Q}${t("at",o)}>
|
|
33
40
|
|
|
34
|
-
${
|
|
41
|
+
${writeBlocks(g)}
|
|
35
42
|
|
|
36
|
-
</${
|
|
43
|
+
</${Q}>`).join("");return d===void 0&&e.head===void 0&&e.caption===void 0&&e.id===void 0&&e.style===void 0&&p===void 0&&f===void 0&&u===void 0&&$===""?a:`<${B}${t("style",e.style)}${t("widths",d)}${t("heights",f)}${t("head",e.head)}${t("merge",p)}${t("valign",u)}${t("caption",e.caption)}${t("id",e.id)}>
|
|
44
|
+
|
|
45
|
+
${a}${$}
|
|
46
|
+
|
|
47
|
+
</${B}>`}case"divider":return"---";case"component":{const n=r=>r===void 0?void 0:String(r),i=Object.entries(e.props).map(([r,s])=>t(r,s)).join("");return`<${e.item===!0?pe:ce}${t("of",e.of)}${t("width",n(e.width))}${t("height",n(e.height))}${t("at",n(e.at))}${i}${t("alt",e.alt)}${t("title",e.caption)}${t("align",e.align)}${t("id",e.id)} />`}case"chart":return Le(e);case"pagebreak":return e.continuous===!0?`<${$e}${t("columns",e.columns===void 0?void 0:String(e.columns))} />`:`<${fe}${t("orientation",e.orientation)}${t("columns",e.columns===void 0?void 0:String(e.columns))}${t("margins",e.margins===void 0?void 0:typeof e.margins=="number"?String(e.margins):e.margins.join(" "))}${b("header",e.header)}${b("footer",e.footer)} />`;case"bibliography":return`<${ge} />`;case"toc":return`<${he}${t("levels",e.levels===void 0?void 0:String(e.levels))}${t("title",e.title)} />`;case"note":{const n=m(e.content)||"<br />",i=e.children?.length?`
|
|
37
48
|
|
|
38
49
|
${writeBlocks(e.children).split(`
|
|
39
|
-
`).map(
|
|
40
|
-
`)}`:"";return`[^${e.label}]: ${
|
|
50
|
+
`).map(r=>r===""?r:` ${r}`).join(`
|
|
51
|
+
`)}`:"";return`[^${e.label}]: ${G(n," ")}${i}`}case"columns":return[`<${Z}>`,...e.columns.map(n=>{const i=writeBlocks(n.blocks);return`<${Y}${t("width",n.width===void 0?void 0:String(n.width))}>
|
|
52
|
+
|
|
53
|
+
${i===""?"<br />":i}
|
|
41
54
|
|
|
42
|
-
|
|
55
|
+
</${Y}>`}),`</${Z}>`].join(`
|
|
43
56
|
|
|
44
|
-
|
|
57
|
+
`);case"embed":case"source":return e.source;case"comment":{const n=writeBlocks(e.blocks);return`<${x}${t("id",e.id)}${t("author",e.author)}${t("date",e.date)}${t("reply-to",e.replyTo)}${e.done===!0?" done":""}>
|
|
45
58
|
|
|
46
|
-
|
|
47
|
-
|
|
59
|
+
${n===""?"<br />":n}
|
|
60
|
+
|
|
61
|
+
</${x}>`}}}function Le(e){const n=$=>$===void 0?void 0:String($),i=$=>$===void 0?void 0:$.join(","),r=e.labels?.length===1&&e.labels[0]==="value"?" labels":t("labels",i(e.labels)),s=[t("type",e.kind),t("title",e.title),t("data",e.data),t("categories",e.categories),t("series",i(e.series)),t("legend",e.legend),r,t("format",e.format),t("min",n(e.min)),t("max",n(e.max)),t("colors",i(e.colors)),e.smooth?" smooth":"",t("totals",i(e.totals)),t("quartiles",e.quartiles),t("width",n(e.width)),t("height",n(e.height)),t("alt",e.alt),t("id",e.id)].join("");if(e.table===void 0)return`<${I}${s} />`;const a=Math.max(1,...e.table.map($=>$.length)),d=$=>`| ${Array.from({length:a},(o,g)=>_($[g]??"",!0)).join(" | ")} |`,[p,...f]=e.table,u=[d(p??[]),`| ${Array.from({length:a},()=>"---").join(" | ")} |`,...f.map(d)].join(`
|
|
62
|
+
`);return`<${I}${s}>
|
|
48
63
|
|
|
49
|
-
${
|
|
64
|
+
${u}
|
|
50
65
|
|
|
51
|
-
</${
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
66
|
+
</${I}>`}export function frontMatterOf(e){const n=de(e);if(Object.keys(n).length===0)return"";const i=new ie(n);se(i,{Seq:(r,s)=>{s.flow=!0},Map:(r,s,a)=>{a.length>1&&(s.flow=!0)},Scalar:(r,s)=>{typeof s.value=="string"&&s.value.includes(`
|
|
67
|
+
`)&&(s.type="QUOTE_DOUBLE")}});for(const r of["styles","headings"]){const s=i.get(r,!0);re(s)&&(s.flow=!1)}return i.toString({lineWidth:0,doubleQuotedAsJSON:!0}).trimEnd()}export function withPage(e,n){const i=frontMatterOf(n),r=i===""?"":`---
|
|
68
|
+
${i}
|
|
69
|
+
---`,s=e.frontMatter;if(s===void 0){if(r==="")return e.source;const d=e.source.replace(/^\s+/u,"");return d===""?`${r}
|
|
70
|
+
`:`${r}
|
|
55
71
|
|
|
56
|
-
${d}`}const a=e.source.slice(s.end).replace(/^\s+/u,"");return
|
|
57
|
-
`:`${
|
|
72
|
+
${d}`}const a=e.source.slice(s.end).replace(/^\s+/u,"");return r===""?a:a===""?`${r}
|
|
73
|
+
`:`${r}
|
|
58
74
|
|
|
59
|
-
${a}`}function
|
|
75
|
+
${a}`}function Ce(e){const n=e.type==="toggle"||e.type==="heading"&&e.toggle,{children:i}=e,r={...e};delete r.look,delete r.children;const s=r.type==="toggle"?{type:"paragraph",content:r.content}:r.type==="heading"?{type:"heading",level:r.level,content:r.content}:r,a=A(s)||s.type==="quote",d=writeBlocks(a?[{...s,...i?{children:i}:{}}]:[s,...i??[]]);return`<${P}${_e(e.look)}${n?" toggle":""}>
|
|
60
76
|
|
|
61
77
|
${d}
|
|
62
78
|
|
|
63
|
-
</${
|
|
79
|
+
</${P}>`}export function continuesList(e,n){return A(e)&&A(n)&&!E(e)&&!E(n)&&e.type==="numbered"==(n.type==="numbered")&&!(n.type==="numbered"&&n.start!==void 0)}function L(e){return e!==null&&typeof e=="object"&&Object.values(e).every(n=>n===void 0)?"{}":e!==null&&typeof e=="object"?`{ ${Object.entries(e).filter(([,n])=>n!==void 0).map(([n,i])=>`${/^[A-Za-z_]\w*$/u.test(n)?n:JSON.stringify(n)}: ${L(i)}`).join(", ")} }`:JSON.stringify(e)}const b=(e,n)=>n===void 0?"":` ${e}={${L(n)}}`;export function writeBlocks(e){if(!e.some(r=>r.revision!==void 0||r.formatted!==void 0))return q(e);const n=[];let i=0;for(;i<e.length;){const r=e[i];if(r===void 0)break;const s=r.formatted;if(s!==void 0){const u={...r};delete u.formatted,n.push(`<${O}${t("author",s.author)}${t("date",s.date)} was={${L(Oe(s.was))}}>
|
|
80
|
+
|
|
81
|
+
${writeBlocks([u])}
|
|
82
|
+
|
|
83
|
+
</${O}>`),i++;continue}const a=k(r);let d=i+1;for(;d<e.length;){const u=e[d];if(u===void 0||k(u)!==a)break;d++}const p=e.slice(i,d),f=r.revision;if(f===void 0)n.push(q(p));else{const u=f.kind==="inserted"?N:R,$=q(p.map(o=>Object.fromEntries(Object.entries(o).filter(([g])=>g!=="revision"))));n.push(`<${u}${t("author",f.author)}${t("date",f.date)}${t("move",f.move)}>
|
|
84
|
+
|
|
85
|
+
${$}
|
|
86
|
+
|
|
87
|
+
</${u}>`)}i=d}return n.join(`
|
|
88
|
+
|
|
89
|
+
`)}const k=e=>e.formatted!==void 0?"\0formatted":e.revision===void 0?"":`${e.revision.kind}\0${e.revision.author}\0${e.revision.date??""}`;function q(e){const n=[];let i=0,r;for(;i<e.length;){const s=e[i];if(s===void 0)break;if(E(s)){n.push(Ce(s)),r=void 0,i++;continue}if(!A(s)){n.push(i===0&&s.type==="divider"?"***":Ee(s)),r=void 0,i++;continue}const a=s.type==="numbered",d=s.type==="numbered"?s.start??1:1,p=a&&r==="."?")":".",f=[];let u=i;for(;u<e.length;){const o=e[u];if(o===void 0||!A(o)||E(o)||o.type==="numbered"!==a||u>i&&!continuesList(s,o))break;f.push(Ge(o,d+(u-i),p)),u++}const $=f.some(o=>o.includes(`
|
|
64
90
|
|
|
65
|
-
`));n.push(
|
|
91
|
+
`));n.push(f.join($?`
|
|
66
92
|
|
|
67
93
|
`:`
|
|
68
|
-
`)),
|
|
94
|
+
`)),r=a?p:void 0,i=u}return n.join(`
|
|
69
95
|
|
|
70
96
|
`)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/doc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"./docx": {
|
|
11
11
|
"types": "./dist/docx.d.ts",
|
|
12
12
|
"default": "./dist/docx.js"
|
|
13
|
+
},
|
|
14
|
+
"./docx-read": {
|
|
15
|
+
"types": "./dist/docx-read.d.ts",
|
|
16
|
+
"default": "./dist/docx-read.js"
|
|
13
17
|
}
|
|
14
18
|
},
|
|
15
19
|
"private": true,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as
|
|
3
|
-
`&&
|
|
2
|
+
import{readFile as C}from"node:fs/promises";import{join as E,posix as u}from"node:path";import{problem as l}from"@allyhub/diagnostics";import{parseComponentRef as x,readPropsText as _,stageName as G,splitReference as H}from"@allyhub/build";import{DRAWN_CODE as X,citedKeys as Q,docChart as V,everyBlock as N,runningPictures as Y,readSources as Z,mathHtml as ee,parseDoc as P,shownBlocks as oe,splitTitle as te,tableRowsOf as ne,titleText as se}from"@allyhub/doc";import{USE_FORMS as v,isBlockReference as ae,shownPath as F}from"@allyhub/formats";import{addressParts as ie}from"@allyhub/blocks";const L=180,re=/^([a-z][a-z0-9+.-]*:|\/\/)/iu;function ce(f){for(const t of f){if(t.type!=="paragraph")continue;const s=t.content.map(p=>p.text).join("").replace(/\s+/gu," ").trim();if(s!=="")return s.length>L?`${s.slice(0,L-1)}…`:s}}function*T(f){let t=0,s=1;for(const p of f.segments){for(;t<p.start;t++)f.source[t]===`
|
|
3
|
+
`&&s++;for(const h of p.blocks)for(const a of N([h]))yield{block:a,line:s}}}function B(f){const t=new Map;return(s,p,h)=>{const a=`${s}#${p}`;let o=t.get(a);return o||(o=(async()=>{if(!f)return{};const d=await f.request({type:"component",file:s,name:p});if(h.push(...d.problems),!d.ok)return{not:d.error??`${s} could not be read`};const m=d.value;return m.not===void 0?{props:m.props??{}}:{not:m.not}})(),t.set(a,o)),o}}async function I(f,t,s,p,h){const a=[],o=t.entry,d=P(await C(E(f,o),"utf8"));for(const e of d.problems)a.push(l("AK-M008",`${o}: ${e.message}.`,{where:{file:o,...e.line===void 0?{}:{line:e.line}}}));const m=te(oe(d.blocks)),K=se(m.title).trim()||void 0,j=ce(m.body),y=new Set,U=[...d.page.cover===void 0?[]:[d.page.cover],...Y(d.page,d.blocks),...[...N(d.blocks)].flatMap(e=>e.type==="image"?[e.src]:[])];for(const e of U){if(re.test(e))continue;const r=u.normalize(u.join(t.dir,decodeURIComponent(e)));y.add(r),s.has(r)||a.push(l("AK-M008",`${o} shows the picture ${e}, which is not in the project (${r}).`,{where:{file:o}}))}const O=new Map,D=new Set,k=[];for(const{block:e,line:r}of T(d)){if(e.type!=="component")continue;const c={where:{file:o,line:r}};if(e.item===!0){const{path:b,part:$}=H(e.of);D.has(e.of)||O.set(e.of,{of:e.of,module:u.normalize(u.join(t.dir,b)),name:$??"",item:!0}),D.add(e.of),k.push({of:e.of,from:o,line:r,types:[v.live],role:"item"});continue}const g=x(e.of);if(!g){a.push(l("AK-M008",`${o}: of="${e.of}" names no component: write the module's path from the doc's folder and its export (../../components/ui.ts#Dialog).`,c));continue}const i=u.normalize(u.join(t.dir,g.path));if(!s.has(i)){a.push(l("AK-M008",`${o} shows the component ${e.of}, whose module is not in the project (${i}).`,c));continue}const n=await p(i,g.name,a);if(n.not!==void 0){a.push(l("AK-M008",`${o}: ${n.not}.`,c));continue}if(n.props)for(const b of _({name:g.name,props:n.props},e.props).problems)a.push(l("AK-M008",`${o}: ${b}.`,c));O.set(e.of,{of:e.of,module:i,name:g.name,...n.props?{props:n.props}:{}})}const w={};for(const{block:e,line:r}of T(d)){const c={where:{file:o,line:r}};if(e.type==="code"&&e.language===X.math){const{error:i}=ee(e.code);i!==void 0&&a.push(l("AK-M008",`${o}: an equation: ${i}.`,c));continue}if(e.type==="block"||e.type==="stats"){const i=e.type==="block"?[...Object.values(e.props),...(e.items??[]).flatMap(n=>Object.values(n.props))]:e.stats.flatMap(n=>[n.value,n.delta,n.target,n.status]);for(const n of i){if(n===void 0||!ae(n)||!/^(?:\.{1,2}\/|\/)/u.test(n))continue;let b=!1;for(const $ of ie(n)){const S=h[u.normalize(u.join(t.dir,$))];S?.value!==void 0&&(w[$]=S.value,S.shown!==void 0&&(w[F($)]=S.shown),b=!0,$.includes("#")&&k.push({of:$,from:o,line:r,types:[v.data],role:"data"}))}b||a.push(l("AK-M008",`${o}: a block reads ${n}, which is not a data file, a sheet's table, defined name or cell of the project.`,c))}continue}if(e.type==="table"&&e.data!==void 0){const i=u.normalize(u.join(t.dir,e.data)),n=h[i];if(n?.value===void 0){a.push(l("AK-M008",n===void 0?`${o}: a table reads ${e.data}, which is not a data file or a sheet's table of the project (${i}).`:`${o}: a table reads ${e.data}, which cannot be read: ${n.error??"it holds nothing"}.`,c));continue}w[e.data]=n.value,n.shown!==void 0&&(w[F(e.data)]=n.shown),s.has(i)&&y.add(i);for(const b of ne(e,{data:$=>w[$]}).problems)a.push(l("AK-M008",`${o}: a table: ${b}.`,c));e.data.includes("#")&&k.push({of:e.data,from:o,line:r,types:[v.data],role:"data"});continue}if(e.type!=="chart")continue;if(e.data!==void 0){const i=u.normalize(u.join(t.dir,e.data)),n=h[i];if(n===void 0){a.push(l("AK-M008",`${o}: a chart reads ${e.data}, which is not a data file or a sheet's table of the project (${i}).`,c));continue}if(n.error!==void 0){a.push(l("AK-M008",`${o}: a chart reads ${e.data}, which cannot be read: ${n.error}.`,c));continue}w[e.data]=n.value,s.has(i)&&y.add(i),e.data.includes("#")&&k.push({of:e.data,from:o,line:r,types:[v.data],role:"data"})}const g=V(e,{base:t.dir,data:i=>w[i]});for(const i of g.problems)a.push(l("AK-M008",`${o}: the chart${e.title===void 0?"":` "${e.title}"`}: ${i}.`,c))}let A,R;const M=d.page.bibliography,z=Q(d.blocks);if(M!==void 0){const e=u.normalize(u.join(t.dir,decodeURIComponent(M)));if(R=e,!s.has(e))a.push(l("AK-M008",`${o}: its bibliography ${M} is not in the project (${e}).`,{where:{file:o}}));else{y.add(e);try{const r=JSON.parse(await C(E(f,e),"utf8"));if(!Array.isArray(r))throw new Error("not a list of sources");A=Z(r)}catch(r){a.push(l("AK-M008",`${o}: its bibliography ${M} is not CSL-JSON (a list of sources, each with an id): ${r instanceof Error?r.message:String(r)}.`,{where:{file:o}}))}}}if(z.length>0){const e=new Set((A??[]).map(c=>c.id)),r=z.filter(c=>!e.has(c));M===void 0?a.push(l("AK-M008",`${o} cites ${z.map(c=>`@${c}`).join(", ")}: name its sources' CSL-JSON file in its front matter (bibliography: ./references.json).`,{where:{file:o}})):A!==void 0&&r.length>0&&a.push(l("AK-M008",`${o} cites ${r.map(c=>`@${c}`).join(", ")}, which ${M} does not hold.`,{where:{file:o}}))}const W={dir:t.dir,place:t.id,file:o,...K?{title:K}:{},...j?{glimpse:j}:{},shows:[...y],components:[...O.values()],data:w,...A===void 0?{}:{sources:A}},q=[...[...y].map(e=>({path:e,role:"shows"})),...R===void 0?[]:[{path:R,role:"sources"}]];return{doc:W,problems:a,files:q,uses:k}}export async function readDocs(f,t,s,p,h={}){const a=new Set(s),o=B(p),d=[],m=[];for(const K of t){const j=await I(f,K,a,o,h);d.push(j.doc),m.push(...j.problems)}return{docs:d,problems:m}}const J=new WeakMap,fe={async read(f,t){let s=J.get(t.meta);s||(s={known:new Set(t.files),reads:B(t.meta)},J.set(t.meta,s));const{doc:p,problems:h,files:a,uses:o}=await I(t.root,f,s.known,s.reads,t.data);return{doc:p,problems:h,files:a,...o.length>0?{uses:o}:{},...p.components.length>0?{stage:{name:G(p.place),of:p.file,components:p.components}}:{}}},unreadable(f){const t=P(f),s=t.blocks.length===0?t.problems[0]:void 0;return s&&f.trim()!==""?[`not MDX${s.line===void 0?"":` (line ${String(s.line)})`}: ${s.message}`]:[]},render:async(f,t)=>(await import("./export.js")).renderDocFiles(f,t)};export default fe;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as
|
|
2
|
+
import{readFile as g,stat as v}from"node:fs/promises";import{join as h,relative as x,resolve as b,sep as j}from"node:path";import{readWork as D}from"@allyhub/build";import{itemIdOf as O,listedWork as $}from"@allyhub/formats";import{CommandError as B,EXIT as M}from"@allyhub/protocol";const W=/\.mdx?$/iu;export async function findDoc(a,c,d){const o=b(c,d),n=x(a,o).split(j).join("/"),r=$((await D(a)).work);if(W.test(o)&&(await v(o).catch(()=>{}))?.isFile())return r.some(i=>i.file===n&&i.kind!=="doc")?void 0:o;const s=new Set([n,d.replace(/^\.\//u,"").replace(/\/+$/u,"")]),p=r.find(i=>i.kind==="doc"&&s.has(O(i.file)));return p===void 0?void 0:h(a,p.file)}export function pagesOf(a){const c=[];for(const d of a.split(",")){const o=/^\s*(\d+)\s*(?:-\s*(\d+)\s*)?$/u.exec(d),n=Number(o?.[1]),r=o?.[2]===void 0?n:Number(o[2]);if(!o||n<1||r<n)throw new B("bad-page",`Cannot read the pages "${a}".`,{exit:M.usage,hint:"Write pages from 1, joined with commas: --page 2, --page 2-4, --page 1,5."});for(let s=n;s<=r;s++)c.push(s)}return c}export async function fromBuild(a,c,d){const o=await g(a,"utf8"),{componentDraws:n,everyBlock:r,parseDoc:s}=await import("@allyhub/doc"),{isBlockReference:p}=await import("@allyhub/formats"),i=e=>e.type==="component"||(e.type==="chart"||e.type==="table")&&e.data!==void 0||e.type==="block"&&[...Object.values(e.props),...(e.items??[]).flatMap(t=>Object.values(t.props))].some(p)||e.type==="stats"&&e.stats.some(t=>[t.value,t.delta,t.target,t.status].some(p)),u=s(o);return![...r(u.blocks)].some(i)&&u.page.bibliography===void 0?{}:d(async e=>{const t=e.prepared.docs.find(y=>y.place===c);if(!t)return{};const l=e.prepared.messages.locales[0],f=t.components.length===0?[]:n(s(await g(h(e.prepared.root,t.file),"utf8")).blocks),m=l===void 0?{}:{lang:l},w=f.length===0?void 0:await e.componentStills(t,f,m),k=f.length===0?void 0:await e.componentMeasures?.(t,f,m);return{stills:w,measures:k,data:t.data,sources:t.sources}})}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{existsSync as k}from"node:fs";import{copyFile as T,mkdir as E,readFile as j,stat as F,writeFile as x}from"node:fs/promises";import{basename as I,join as s,posix as y,resolve as v}from"node:path";import{z as n}from"zod";import{ZIP_LIMITS as C,itemIdOf as O}from"@allyhub/formats";import{PROJECT_DIR as W,defineCliCommand as z,listWork as N,projectRoot as D}from"@allyhub/build";import{GATHER_DEFAULT as L,importDocx as R}from"@allyhub/doc/docx-read";import{CommandError as h,EXIT as p}from"@allyhub/protocol";const S=n.string().transform(t=>t.replace(/^\/+/gu,"")).refine(t=>t.endsWith(".mdx")&&!t.split("/").some(r=>r===""||r==="."||r===".."),{message:"an .mdx file from the project's root, such as legal/contract.mdx"}),U=t=>I(t).replace(/\.docx$/iu,"").normalize("NFKC").replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/gu,"").toLowerCase()||"doc";export const docImport=z({input:n.strictObject({file:n.string().describe("The .docx to make a doc of"),to:S.optional().describe("The doc's file, from the project's root (default <the file's name>/<the file's name>.mdx); its pictures beside it, and the Word file it came from as <name>.original.docx"),gather:n.number().int().min(1).default(L).describe("How many paragraphs must share the same direct formatting for it to become a style of the doc's (Style1, Style2); fewer keep it as their own"),maxUnzipped:n.number().positive().default(C.bytes/1024/1024).describe("The most MB the file may unzip to"),dir:W}),positional:["file"],output:n.looseObject({}),examples:["allyhub doc import ~/Downloads/contract.docx --to legal/contract.mdx","allyhub doc import 报告.docx"],run:async(t,r)=>{const o=await D(r.cwd,t.dir),c=v(r.cwd,t.file),g=await j(c).catch(e=>{throw e instanceof Error&&"code"in e&&e.code==="ENOENT"?new h("not-found",`There is no file ${c}.`,{exit:p.notFound}):e}),u=U(c),a=t.to??`${u}/${u}.mdx`,f=y.dirname(a),w=y.basename(a,".mdx"),l=e=>f==="."?e:`${f}/${e}`;let i;try{i=R(new Uint8Array(g),{name:w,gather:t.gather,taken:e=>k(s(o,l(e)))},{bytes:t.maxUnzipped*1024*1024})}catch(e){throw e instanceof Error?new h("bad-file",`${c} is not a Word document this can read: ${e.message}`,{exit:p.usage}):e}const d=l(`${w}.original.docx`),b=[a,d,...[...i.files.keys()].map(l)];for(const e of b)if(await F(s(o,e)).catch(()=>{}))throw new h("place-taken",`${e} is already there.`,{exit:p.conflict,hint:"--to names another file for the doc."});await E(s(o,f),{recursive:!0}),await x(s(o,a),i.mdx,{flag:"wx"}),await T(c,s(o,d));for(const[e,$]of i.files)await x(s(o,l(e)),$,{flag:"wx"});await N(o,{kind:"doc",file:a},r.kinds(o));const m=O(a);return{value:{id:m,files:b,lost:i.lost},text:[`Made ${a}, its pictures beside it, and kept the Word file as ${d}; listed in allyhub.yaml as ${m}.`,...i.lost.length>0?["Not carried over:",...i.lost.map(e=>` ${e}`)]:[],`allyhub check, then allyhub frames ${m}, to see it; allyhub render ${m} --type docx --param since=${d} writes what changes from here as Word's revisions.`].join(`
|
|
3
|
+
`)}}});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{docCoverList as o,docCoverSet as
|
|
2
|
+
import{docCoverList as o,docCoverSet as t}from"./cover.js";import{docImport as r}from"./import.js";import{docStyles as c}from"./styles.js";const d={"doc cover list":o,"doc cover set":t,"doc import":r,"doc styles":c};export default d;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as y,writeFile as b}from"node:fs/promises";import{relative as g,resolve as x}from"node:path";import{z as s}from"zod";import{ZIP_LIMITS as T}from"@allyhub/formats";import{PROJECT_DIR as $,defineCliCommand as E}from"@allyhub/build";import{parseDoc as j,withPage as v}from"@allyhub/doc";import{templateStyles as I}from"@allyhub/doc/docx-read";import{CommandError as a,EXIT as l}from"@allyhub/protocol";import{findDoc as O}from"./find.js";export const docStyles=E({input:s.strictObject({template:s.string().describe("The Word template (.dotx) or document (.docx) whose styles the doc takes"),doc:s.string().describe("The doc, by its file or its id in allyhub.yaml"),maxUnzipped:s.number().positive().default(T.bytes/1024/1024).describe("The most MB the file may unzip to"),dir:$}),positional:["template","doc"],output:s.looseObject({}),examples:["allyhub doc styles ~/Templates/house.dotx reports/q3","allyhub doc styles 公文模板.dotx notice"],async run(r,d){const m=await d.root(r.dir),i=await O(m,d.cwd,r.doc);if(i===void 0)throw new a("not-found",`${r.doc} is not a doc.`,{exit:l.notFound,hint:"A doc is named by its file or its id in allyhub.yaml."});const n=x(d.cwd,r.template),u=await y(n).catch(t=>{throw t instanceof Error&&"code"in t&&t.code==="ENOENT"?new a("not-found",`There is no file ${n}.`,{exit:l.notFound}):t});let e;try{e=I(new Uint8Array(u),{bytes:r.maxUnzipped*1024*1024})}catch(t){throw t instanceof Error?new a("bad-file",`${n} is not a Word file this can read: ${t.message}`,{exit:l.usage}):t}const f=await y(i,"utf8"),o=j(f),w=o.frontMatter===void 0?0:f.slice(0,o.frontMatter.end).split(`
|
|
3
|
+
`).length,h=o.problems.find(t=>t.line!==void 0&&t.line<=w);if(h!==void 0)throw new a("bad-front-matter",h.message,{exit:l.usage,hint:"allyhub check lists the front matter's problems."});const c=Object.keys(e.styles);await b(i,v(o,{...o.page,styles:{...o.page.styles,...e.styles}}));const p=g(m,i);return{value:{doc:p,styles:c,lost:e.lost},text:[`${p}: ${String(c.length)} styles from ${n} (${c.join(", ")}).`,...e.lost.length>0?["Not carried over:",...e.lost.map(t=>` ${t}`)]:[]].join(`
|
|
4
|
+
`)}}});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as x}from"node:fs/promises";import{basename as P,dirname as
|
|
2
|
+
import{existsSync as T}from"node:fs";import{readFile as x}from"node:fs/promises";import{basename as P,dirname as y,join as h,resolve as W}from"node:path";import{ProjectError as b,projectTheme as v}from"@allyhub/build";import{componentDraws as M,parseDoc as w}from"@allyhub/doc";import{importDocx as O}from"@allyhub/doc/docx-read";import{PAGE_FACT_DEFAULTS as k,pageFacts as C,printDoc as j,renderDoc as N,renderWord as _}from"@allyhub/doc-print";import{createPackages as L}from"@allyhub/runtimes";export const DOC_TYPES=["pdf","docx","png"];async function R(r){const t=L(),e=()=>r?.("Getting docx, once, to write Word documents…"),[n,a,d,c]=await Promise.all([t.load("docx",{onFetch:e}),t.load("docx",{module:"fflate",onFetch:e}),t.load("docx",{module:"docx/shapes",onFetch:e}),t.load("docx",{module:"docx/math",onFetch:e})]);return{docx:n,zip:a,shapes:d,math:c}}export async function renderDocFiles(r,t){const e=t.prepared.docs.find(s=>s.place===r.id);if(!e||t.types.length===0)return[];const{root:n,log:a,types:d}=t;a?.(`Rendering ${e.file}…`);const c=[],p={file:e.file,dir:e.dir,path:e.place,title:e.title,data:e.data,sources:e.sources,theme:v(n)},f=t.prepared.messages.locales[0],i=e.components.length===0?new Map:await t.session.componentStills(e,M(w(await x(h(t.prepared.root,e.file),"utf8")).blocks),f===void 0?{}:{lang:f});if(d.includes("docx")){const s=t.out("docx"),l=P(e.file).replace(/\.mdx?$/iu,""),u=h(y(e.file),`${l}.original.docx`),A=t.params.changes===!0&&t.params.since===void 0;if(A&&!T(W(n,u)))throw new b("missing-baseline",`${e.file} came from no Word file: its changes are shown against the Word file allyhub doc import kept (${u}).`,"usage");const g=await U(n,A?{...t.params,since:u}:t.params,l);g!==void 0&&a?.(`${e.file}: its changes since ${g.file}, as Word's revisions by ${g.author}.`),await _({root:n,doc:p,out:s,...await R(a),stills:i,...g===void 0?{}:{changes:g}}),c.push({type:"docx",files:[s]})}const o=d.filter(s=>s==="pdf"||s==="png"),S=async s=>{const l=w(await x(h(n,e.file),"utf8"));for(const u of pagesLines(e.file,e.place,l,s))a?.(u)};if(o.length===0){if(d.includes("docx")){const s=await j({root:n,doc:p,stills:i});await S(s);for(const l of paperNotes(e.file,s))a?.(l)}return c}const $=t.out("pdf"),D={},F=await N({root:n,doc:p,out:y($),name:P($,".pdf"),types:o,stills:i,onPrinted:s=>{D.done=s}}),m=D.done??(d.includes("docx")?await j({root:n,doc:p,stills:i}):void 0);m!==void 0&&await S(m);const E=m===void 0?[]:paperNotes(e.file,m);for(const s of F){const l=s.endsWith(".png")?"png":"pdf";c.push({type:l,files:[h(y($),s)],...l==="pdf"&&E.length>0?{notes:E}:{}})}return c}export const REDLINE_AUTHOR="AllyHub";async function U(r,t,e){const n=t.since;if(typeof n!="string"||n==="")return;const a=/\.docx$/iu.test(n);if(!a&&!/\.mdx?$/iu.test(n))throw new b("bad-baseline",`Cannot compare with ${n}: a baseline is a doc's .mdx, or the Word file it came from.`,"usage");const d=await x(W(r,n)).catch(i=>{throw i instanceof Error&&"code"in i&&i.code==="ENOENT"?new b("missing-baseline",`Cannot compare with ${n}: there is no such file.`,"usage"):i}),c=t.author,p=t.alike;return{since:a?O(new Uint8Array(d),{name:e}).blocks:w(d.toString("utf8")).blocks,file:n,author:typeof c=="string"&&c!==""?c:REDLINE_AUTHOR,date:new Date().toISOString().replace(/\.\d+Z$/u,"Z"),...typeof p=="number"?{alike:p}:{}}}export function pagesLines(r,t,e,n){const a=C(e,n.layout,t,{...k,all:!1}),d=o=>`${String(Math.round(o*100))}%`,c=a.flatMap(o=>o.kind==="page-fill"?[o.data]:[]),p=a.flatMap(o=>o.kind==="page-split"?[o.data]:[]),f=n.layout.pages.length,i=[`${r}: ${String(f)} page${f===1?"":"s"} as it prints; left empty at each page's foot: ${c.map(o=>`page ${String(o.page)} ${d(o.share)}`).join(", ")}.`];return p.length>0&&i.push(`${r}: broken over pages: ${p.map(o=>`line ${String(o.line)} ${o.block} (pages ${o.pages.join(", ")})`).join("; ")}.`),i.push(`allyhub inspect pages ${t} has every fact, and a picture of the pages.`),i}export function paperNotes(r,t){const e=[],n=[...t.layout.blocks.values()].filter(a=>a.pastPaper>.1).length;return n>0&&e.push(`${r}: ${String(n)} block${n===1?" runs":"s run"} past the paper's edge, which cuts ${n===1?"it":"them"}.`),t.settled||e.push(`${r}: its contents' page numbers did not hold after ${String(t.passes)} printings; one may be a page off.`),e}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as D}from"node:fs/promises";import{join as E,relative as y,sep as S}from"node:path";import{z as o}from"zod";import{PROJECT_DIR as T,allFindings as C,defineView as O}from"@allyhub/build";import{countFacts as _,filterFacts as I}from"@allyhub/diagnostics";import{blockNumbers as G,everyBlock as K,parseDoc as N}from"@allyhub/doc";import{DocPageError as z,PAGE_FACT_DEFAULTS as k,PAGE_FACT_KINDS as p,blockLines as B,docPages as R,pageFacts as J}from"@allyhub/doc-print";import{dirOf as M,itemIdOf as U}from"@allyhub/formats";import{CommandError as
|
|
2
|
+
import{readFile as D}from"node:fs/promises";import{join as E,relative as y,sep as S}from"node:path";import{z as o}from"zod";import{PROJECT_DIR as T,allFindings as C,defineView as O}from"@allyhub/build";import{countFacts as _,filterFacts as I}from"@allyhub/diagnostics";import{blockNumbers as G,everyBlock as K,parseDoc as N}from"@allyhub/doc";import{DocPageError as z,PAGE_FACT_DEFAULTS as k,PAGE_FACT_KINDS as p,blockLines as B,docPages as R,pageFacts as J}from"@allyhub/doc-print";import{dirOf as M,itemIdOf as U}from"@allyhub/formats";import{CommandError as h,EXIT as f}from"@allyhub/protocol";import{findDoc as V,fromBuild as W,pagesOf as X}from"./cli/find.js";import{looks as q,picturePath as H,save as Q,workPath as Y}from"./cli/pictures.js";const $=(e,t)=>`${String(e)} ${t}${e===1?"":"s"}`,Z=O({input:o.strictObject({doc:o.string().describe("The doc, by its file or its id in allyhub.yaml"),kind:o.array(o.string()).optional().describe(`Only facts of these kinds: ${p.join(", ")}`),headingLines:o.number().int().min(1).default(k.headingLines).describe("A heading is listed when fewer lines than this follow it on its page"),shortLine:o.number().int().min(0).default(k.shortChars).describe("A paragraph's last line is listed when it holds this many letters or fewer (punctuation not counted)"),all:C("every heading and every paragraph's last line"),page:o.string().optional().describe("Draw only these pages, large: 2, 2-4, 1,5"),out:o.string().optional().describe("Where the picture goes; default .allyhub/work/inspect/<doc>/pages.webp"),dir:T}),positional:["doc"],examples:["allyhub inspect pages launch/plan","allyhub inspect pages launch/plan --kind page-split,page-heading","allyhub inspect pages launch/plan --page 3-4 --all"],async run(e,t){const s=await t.root(e.dir),r=await V(s,t.cwd,e.doc);if(r===void 0)throw new h("not-found",`${e.doc} is not a doc.`,{exit:f.notFound,hint:"Name a doc by its file or its id in allyhub.yaml."});for(const i of e.kind??[])if(!p.includes(i))throw new h("bad-kind",`A doc's pages give no fact of kind ${i}.`,{exit:f.usage,hint:`Kinds: ${p.join(", ")}.`});const c=y(s,r).split(S).join("/"),a=U(c),l=N(await D(r,"utf8")),F=B(l),{stills:v,measures:L,data:u,sources:j}=await W(r,a,i=>t.session(s,i)),g=new Map;for(const[i,P]of G(l.blocks)){const b=F.get(i);b!==void 0&&i.type!=="columns"&&g.set(P,String(b))}const A=e.page===void 0?void 0:X(e.page);let n;try{n=await R({root:s,doc:{file:c,dir:M(c),path:a,...u===void 0?{}:{data:u},sources:j},pages:A,stills:v,format:q(),outlines:g,onFetch:()=>{t.progress("Getting pdf.js, once, to draw a doc's pages…")}})}catch(i){throw i instanceof z?new h("not-found",i.message,{exit:f.notFound,hint:`Pages are 1 to ${String(i.count)}.`}):i}const m=J(l,n.layout,a,{headingLines:e.headingLines,shortChars:e.shortLine,all:e.all},[...K(l.blocks)].some(i=>i.type==="toc")?n.printing:void 0,L),d=I(m,{kinds:t.factKinds(e.kind,s)}),w=await Q(H(t.cwd,e.out,E(Y(s,"inspect",a),"pages.png")),n.picture);return{value:{doc:a,pages:n.count,paper:n.paper,picture:w,facts:d,counts:_(d),total:m.length},text:[`${a}: ${$(n.count,"page")} of ${String(n.paper.width)} × ${String(n.paper.height)} mm. The picture: ${y(t.cwd,w)} (each block outlined and labelled by its line in the doc's file, the space at each page's foot shaded).`,`${$(d.length,"fact")}: sizes are mm on the paper, lines are its file's; --json has every one.`,...t.factLines(d,{all:e.all})].join(`
|
|
3
3
|
`)}}}),x={pages:Z};export default x;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as
|
|
2
|
+
import{readFile as h}from"node:fs/promises";import{join as O}from"node:path";import{defineProjectTool as d,projectTheme as l}from"@allyhub/build";import{componentDraws as y,parseDoc as R}from"@allyhub/doc";import{pagePictures as b,placesOf as k,printDoc as D}from"@allyhub/doc-print";import{RPC_ERROR as j,RpcError as P}from"@allyhub/protocol";import{DOC_TOOLS as m}from"./tools.js";async function f(s,r){const e=await s.prepared(),t=r.replace(/^\.?\/?/u,""),o=e.docs.find(c=>c.place===t||c.file===t);if(!o)throw new P(j.notFound,`${r} is not a doc.`);return{prepared:e,doc:o,place:o.place}}const S={"doc/data":d(m["doc/data"],async({item:s},r)=>{const{doc:e}=await f(r,s),t=l(r.root);return{data:e.data,...t===void 0?{}:{theme:t},...e.sources===void 0?{}:{sources:e.sources.map(o=>({...o}))}}}),"doc/pages":d(m["doc/pages"],async({item:s,width:r},e)=>{const{prepared:t,doc:o,place:c}=await f(e,s),i=t.messages.locales[0],u=o.components.length===0?new Map:await e.componentStills(o,y(R(await h(O(t.root,o.file),"utf8")).blocks),i===void 0?{}:{lang:i}),n=await D({root:e.root,doc:{file:o.file,dir:o.dir,path:c,data:o.data,sources:o.sources,theme:l(e.root)},stills:u}),{pages:p}=n.layout,w=await b(n,p.map(a=>a.n),r??900);return{pages:p.map((a,g)=>({n:a.n,width:a.width,height:a.height,landscape:a.landscape,image:{mime:"image/webp",data:(w[g]??Buffer.alloc(0)).toString("base64")}})),blocks:[...n.layout.blocks.values()].map(a=>({n:a.n,places:k(a)}))}})};export default S;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{ImageSchema as
|
|
2
|
+
import{z as t}from"zod";import{ImageSchema as o,PathSchema as e,method as a,toolCaller as r}from"@allyhub/protocol";export const DOC_TOOLS={"doc/data":a(t.strictObject({item:e}),t.strictObject({data:t.record(t.string(),t.unknown()),sources:t.array(t.looseObject({id:t.string()})).optional(),theme:t.unknown().optional()}),"The numbers a doc's charts read from the project's files (a sheet's table, a CSV, a data file of rows), and the project's theme: what its editor draws them with."),"doc/pages":a(t.strictObject({item:e,width:t.int().min(100).max(2400).optional()}),t.strictObject({pages:t.array(t.strictObject({n:t.int().positive(),width:t.number().positive(),height:t.number().positive(),landscape:t.boolean(),image:o})),blocks:t.array(t.strictObject({n:t.int().nonnegative(),places:t.array(t.strictObject({page:t.int().positive(),top:t.number(),bottom:t.number(),left:t.number(),right:t.number()}))}))}),"A doc's pages as render prints them, each a picture, and where each of its blocks lies on them: what its page view shows, measured as `allyhub inspect pages` measures them.")},callDocTool=r(DOC_TOOLS);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as
|
|
2
|
+
import{readFile as a}from"node:fs/promises";import{join as d}from"node:path";const u=()=>import("@allyhub/doc");export const PREVIEW_DEFAULTS={lines:4,chars:240};function p(t){if(!("content"in t)||!Array.isArray(t.content))return;const n=t.content.map(e=>e.text).join("").trim();return n===""?void 0:n}const l=(t,n)=>t.length<=n?t:`${t.slice(0,n-1).trimEnd()}…`;export async function docPreview(t){const{parseDoc:n,splitTitle:e}=await u(),{body:i}=e(n(t).blocks),o=[];for(const r of i){const c=p(r);if(c!==void 0&&o.push(l(c,PREVIEW_DEFAULTS.chars)),o.length===PREVIEW_DEFAULTS.lines)break}return{type:"text",lines:o}}export async function docTitle(t,n){try{const e=await a(d(t,n.entry),"utf8"),{parseDoc:i,splitTitle:o,titleText:r}=await u();return r(o(i(e).blocks).title)||void 0}catch{return}}export async function docSnapshot(t,{root:n,tool:e}){await e("doc/data",{item:t.id}).catch(()=>{});const i=await a(d(n,t.entry),"utf8").catch(()=>{});if(i===void 0)return{};const{componentAt:o,everyBlock:r,parseDoc:c}=await u(),s=[];for(const f of r(c(i).blocks))f.type==="component"&&s.push(o(f));return s.length===0?{}:{stills:[{version:"",components:s}]}}export function activate(t){t.subscriptions.push(t.allyhub.kinds.registerKindProvider("doc",{preview:async(n,{root:e})=>docPreview(await a(d(e,n.entry),"utf8")),title:(n,{root:e})=>docTitle(e,n),snapshot:(n,e)=>docSnapshot(n,e)}))}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/doc-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./cli": {
|
|
@@ -68,7 +68,15 @@
|
|
|
68
68
|
"docx",
|
|
69
69
|
"png"
|
|
70
70
|
],
|
|
71
|
-
"extras": []
|
|
71
|
+
"extras": [],
|
|
72
|
+
"options": [
|
|
73
|
+
{
|
|
74
|
+
"name": "changes",
|
|
75
|
+
"only": [
|
|
76
|
+
"docx"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
72
80
|
},
|
|
73
81
|
"renders": {
|
|
74
82
|
"types": [
|
|
@@ -168,6 +176,18 @@
|
|
|
168
176
|
"summary": "Sets one of AllyHub's covers on a doc, as the editor's gallery does: its SVG written beside the doc's file (cover-<name>.svg) and named in the front matter's cover; the rest of the file keeps its bytes",
|
|
169
177
|
"work": "docs",
|
|
170
178
|
"module": "./dist/cli/index.js"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "doc import",
|
|
182
|
+
"summary": "Makes a doc of a Word file: its words as MDX, its look as the doc's named styles, its pictures beside it, its revisions as the doc's, the Word file kept beside it as the baseline its changes are shown against; listed in allyhub.yaml; says what the doc does not hold",
|
|
183
|
+
"work": "docs",
|
|
184
|
+
"module": "./dist/cli/index.js"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "doc styles",
|
|
188
|
+
"summary": "Gives a doc a Word template's styles, as Word's Automatically update document styles takes an attached template's: each style the .dotx (or .docx) defines written into the doc's front matter over the doc's own of that name, the doc's others kept",
|
|
189
|
+
"work": "docs",
|
|
190
|
+
"module": "./dist/cli/index.js"
|
|
171
191
|
}
|
|
172
192
|
],
|
|
173
193
|
"projectTools": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as
|
|
3
|
-
const codes = ${JSON.stringify(
|
|
4
|
-
window.mermaid.initialize(${JSON.stringify(
|
|
2
|
+
import{readFile as h}from"node:fs/promises";import{createRequire as y}from"node:module";import{dirname as p,join as f}from"node:path";import{openPage as u,startBrowser as v}from"@allyhub/browser";import{diagramConfig as b}from"@allyhub/doc";import{createPackages as x}from"@allyhub/runtimes";const w=y(import.meta.url);let g;export function katexCss(){return g??=(async()=>{const i=w.resolve("katex/dist/katex.min.css"),s=await h(i,"utf8"),n=[...s.matchAll(/src:url\((fonts\/[^)]+\.woff2)\) format\("woff2"\)[^;}]*/gu)];let a=s;for(const[r,e]of n){if(e===void 0)continue;const t=await h(f(p(i),e));a=a.replace(r,`src:url(data:font/woff2;base64,${t.toString("base64")}) format("woff2")`)}return a})(),g}let d;const S=()=>(d??=(async()=>{let i;try{i=w.resolve("mermaid/dist/mermaid.min.js")}catch{const{dir:s}=await x().ensure("mermaid");i=f(s,"node_modules","mermaid","dist","mermaid.min.js")}return h(i,"utf8")})(),d.catch(()=>{d=void 0}),d);export async function drawDiagrams(i,s,n){const a=b(n),r=new Map,e=[...new Set(s)];if(e.length===0)return r;const t=await u(i,{width:900,height:1200,allow:()=>!1});try{await m(t,`<!doctype html><html><head><meta charset="utf-8"></head><body><script>${(await S()).replace(/<\/script/giu,"<\\/script")}<\/script></body></html>`);const o=await t.evaluate(`(async () => {
|
|
3
|
+
const codes = ${JSON.stringify(e)};
|
|
4
|
+
window.mermaid.initialize(${JSON.stringify(a)});
|
|
5
5
|
const out = [];
|
|
6
6
|
for (let i = 0; i < codes.length; i++) {
|
|
7
7
|
try {
|
|
@@ -24,4 +24,4 @@ import{readFile as l}from"node:fs/promises";import{createRequire as y}from"node:
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
return out;
|
|
27
|
-
})()`);
|
|
27
|
+
})()`);e.forEach((c,l)=>{r.set(c,o[l]??{error:"Mermaid drew nothing"})})}finally{await t.close()}return r}async function m(i,s){const{frameTree:n}=await i.session.send("Page.getFrameTree");await i.session.send("Page.setDocumentContent",{frameId:n.frame.id,html:s}),await i.evaluate("new Promise((r) => (document.readyState === 'complete' ? r(true) : addEventListener('load', () => r(true), { once: true })))")}const M=2;export async function mathPictures(i,s){const n=new Map,a=[...new Set(s)];if(a.length===0)return n;const r=await u(i,{width:900,height:1200,scale:M,allow:()=>!1});try{await m(r,`<!doctype html><html><head><meta charset="utf-8"><style>${await katexCss()} body{margin:0;background:#fff} .eq{display:inline-block;padding:2px 4px} .katex-display{margin:0}</style></head><body>${a.map((e,t)=>`<div><div class="eq" id="eq${String(t)}">${e}</div></div>`).join("")}</body></html>`),await r.evaluate("document.fonts.ready.then(() => true)");for(let e=0;e<a.length;e++){const t=a[e];if(t===void 0)continue;const o=await r.evaluate(`(() => { const r = document.getElementById("eq${String(e)}")?.getBoundingClientRect(); return r ? { x: r.x, y: r.y + scrollY, width: r.width, height: r.height } : null; })()`);if(!o||o.width===0||o.height===0)continue;const c=await r.session.send("Page.captureScreenshot",{format:"png",clip:{...o,scale:1},captureBeyondViewport:!0});n.set(t,{data:Buffer.from(c.data,"base64"),width:Math.ceil(o.width),height:Math.ceil(o.height)})}}finally{await r.close()}return n}export async function svgPictures(i,s=2){const n=new Map,a=[...new Set(i)];if(a.length===0)return n;const r=await v({gpu:!1,htmlInCanvas:!1});try{const e=await u(r,{width:1600,height:1200,scale:s,allow:()=>!1});await m(e,`<!doctype html><html><head><meta charset="utf-8"><style>body{margin:0;background:#fff} .d{display:inline-block;line-height:0}</style></head><body>${a.map((t,o)=>`<div><div class="d" id="d${String(o)}">${t}</div></div>`).join("")}</body></html>`),await e.evaluate("document.fonts.ready.then(() => true)");for(let t=0;t<a.length;t++){const o=a[t];if(o===void 0)continue;const c=await e.evaluate(`(() => { const r = document.getElementById("d${String(t)}")?.getBoundingClientRect(); return r ? { x: r.x, y: r.y + scrollY, width: r.width, height: r.height } : null; })()`);if(!c||c.width===0||c.height===0)continue;const l=await e.session.send("Page.captureScreenshot",{format:"png",clip:{...c,scale:1},captureBeyondViewport:!0});n.set(o,{data:Buffer.from(l.data,"base64"),width:Math.ceil(c.width),height:Math.ceil(c.height)})}}finally{await r.close()}return n}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{docPage,PICTURE_DPI,printPage,printPdf,renderDoc,renderWord}from"./print.js";export{docFontsCss,SHEET_FONT,sheetFontsCss}from"./fonts.js";export{docPages,DocPageError,pagePictures,placesOf}from"./pages.js";export{printDoc,writeDocPdf}from"./layout.js";export{PdfJoiner}from"./pdf.js";export{PAGE_FACT_DEFAULTS,PAGE_FACT_KINDS,blockLines,pageFacts}from"./facts.js";
|
|
2
|
+
export{docPage,PICTURE_DPI,printPage,printPdf,renderDoc,renderWord}from"./print.js";export{docFontsCss,SHEET_FONT,sheetFontsCss}from"./fonts.js";export{docPages,DocPageError,pagePictures,placesOf}from"./pages.js";export{printDoc,writeDocPdf}from"./layout.js";export{PdfJoiner}from"./pdf.js";export{PAGE_FACT_DEFAULTS,PAGE_FACT_KINDS,blockLines,pageFacts}from"./facts.js";export{svgPictures}from"./drawn.js";
|