allyhub 0.8.0 → 0.9.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/CHANGELOG.md +11 -0
- package/NOTICE +122 -42
- package/client.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +4 -4
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +13 -7
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/contributed.js +2 -0
- package/dist/commands/dev.js +2 -2
- package/dist/commands/doctor.js +4 -4
- package/dist/commands/extensions.js +3 -0
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/compare.js +1 -1
- package/dist/commands/frames/cuts.js +1 -1
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/overlay.js +2 -0
- 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 +2 -2
- package/dist/commands/inspect/common.js +2 -2
- package/dist/commands/inspect/facts.js +3 -3
- package/dist/commands/inspect/index.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/views.js +2 -0
- package/dist/commands/mail.js +9 -0
- package/dist/commands/render.js +2 -2
- package/dist/fields.js +1 -1
- package/dist/help.js +4 -4
- package/dist/main.js +4 -4
- package/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/package.json +295 -0
- package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
- package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
- package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
- package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
- package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
- package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
- package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
- package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
- package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
- package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
- package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
- package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
- package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
- package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
- package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
- package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
- package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
- package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
- package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
- package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
- package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
- package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
- package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
- package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
- package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
- package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
- package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
- package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
- package/dist/node_modules/@allyhub/canvas-extension/package.json +106 -0
- package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +27 -0
- package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
- package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +43 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +25 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
- package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
- package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
- package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
- package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
- package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
- package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
- package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
- package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
- package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
- package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
- package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
- package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
- package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
- package/dist/node_modules/@allyhub/components/registry.json +6 -0
- package/dist/node_modules/@allyhub/components/src/callout.ts +80 -4
- package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
- package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
- package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
- package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
- package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
- package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +243 -56
- 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/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/package.json +187 -0
- package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
- package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
- package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
- package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
- package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
- package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
- package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
- package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
- package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
- package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
- package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
- package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
- package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
- package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
- package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
- package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/i18n/package.json +13 -0
- package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
- package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
- package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/package.json +276 -0
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +44 -0
- package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
- package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
- package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
- package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
- package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
- package/dist/node_modules/@allyhub/image-render/package.json +14 -0
- package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
- package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
- package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
- package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/NOTICE +1 -42
- package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
- package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
- package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
- package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
- package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
- package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
- package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/package.json +62 -0
- package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
- package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
- package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
- package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
- package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
- package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
- package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
- package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
- package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/package.json +18 -0
- package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
- package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
- package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
- package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
- package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
- package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
- package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
- package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/render/package.json +1 -5
- package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
- package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -5
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +5 -1
- package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/package.json +209 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- 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/connect.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
- 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/merge.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
- package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/package.json +246 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
- package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
- package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
- package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
- package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
- package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
- package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +454 -0
- package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
- package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
- package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
- package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/package.json +152 -0
- package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
- package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
- package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
- package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/package.json +277 -0
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +67 -0
- package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
- package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
- package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
- package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
- package/dist/node_modules/@allyhub/x-model/package.json +14 -0
- package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
- package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/x-view/package.json +21 -0
- package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
- package/dist/package.json +16 -0
- package/dist/parameters.js +1 -1
- package/dist/presence.js +2 -0
- package/dist/project.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/console-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/text/index.js +1 -1
- package/dist/tool-options.js +1 -1
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/abnfDiagram-WEYOIA3C-CN5PiJYY.js +1 -0
- package/editor-web/assets/alt-BOVao_9S.js +4 -0
- package/editor-web/assets/architecture-WOLXFQ4H-BnvZtQYk.js +1 -0
- package/editor-web/assets/architectureDiagram-ZHVYKT53-tkcEcFQ8.js +36 -0
- package/editor-web/assets/arrow-up-DTP2yVSU.js +1 -0
- package/editor-web/assets/article-B6YCzhj8.js +73 -0
- package/editor-web/assets/audio-lines-Ti8-m7H2.js +1 -0
- package/editor-web/assets/blockDiagram-RJAE7QA3-DhqEIpie.js +140 -0
- package/editor-web/assets/c4Diagram-XDPPPE54-Bg9G95tl.js +38 -0
- package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
- package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
- package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
- package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
- package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
- package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
- package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
- package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
- package/editor-web/assets/calc-worker-B5-fDWnb.js +45 -0
- package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
- package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
- package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
- package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
- package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
- package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
- package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
- package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
- package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
- package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
- package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
- package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
- package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
- package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
- package/editor-web/assets/channel-C26aBI4o.js +1 -0
- package/editor-web/assets/chart-BOnxneyw.js +1 -0
- package/editor-web/assets/choice-O5nwc2N0.js +1 -0
- package/editor-web/assets/chunk-2E7WHVMD-C8Ve9lAa.js +88 -0
- package/editor-web/assets/chunk-4EMNKR2T-BDWwPUnT.js +1 -0
- package/editor-web/assets/chunk-55XCU76K-BQiNPKgx.js +1 -0
- package/editor-web/assets/chunk-7S6XSTFO-QoEt-6jf.js +2 -0
- package/editor-web/assets/chunk-AQDTSKZB-BeuwIv0-.js +72 -0
- package/editor-web/assets/chunk-DSNLSHJZ-BHW7sLAz.js +129 -0
- package/editor-web/assets/chunk-HAGFOTED-bbGED0hu.js +62 -0
- package/editor-web/assets/chunk-HNE4Q36P-FltWp8yo.js +1 -0
- package/editor-web/assets/chunk-NQOKRVIF-NeQzr6kH.js +213 -0
- package/editor-web/assets/chunk-UHW7PFBP-eA4-WUhn.js +1 -0
- package/editor-web/assets/chunk-VQ5W62QI-BPPv325z.js +1 -0
- package/editor-web/assets/chunk-WQQL4CDK-DOCIz7Te.js +10 -0
- package/editor-web/assets/chunk-YZO67HFG-Dc_ihQJi.js +1 -0
- package/editor-web/assets/chunk-ZAUX2LTX-CoqwCPSm.js +1 -0
- package/editor-web/assets/chunk-ZCHMQSOR-CZUQPkJx.js +2 -0
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-DUh9c50k.js +217 -0
- package/editor-web/assets/collaborator-BJU5qwHd.js +1 -0
- package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
- package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
- package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
- package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
- package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
- package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
- package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
- package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
- package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
- package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
- package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
- package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
- package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
- package/editor-web/assets/createLucideIcon-B3B95oX5.js +1 -0
- package/editor-web/assets/cynefin-EF2NZ3EQ-DUTZiog0.js +1 -0
- package/editor-web/assets/cynefinDiagram-WF24UDRP-oAjpfbrU.js +62 -0
- package/editor-web/assets/dagre-NK4GIZVX-BrKvKCvb.js +4 -0
- package/editor-web/assets/diagram-CBK3MWTC-GekVRnmm.js +24 -0
- package/editor-web/assets/diagram-I5XIIV2D-CDd1VFRT.js +24 -0
- package/editor-web/assets/diagram-ODIL2UCW-535RISTn.js +30 -0
- package/editor-web/assets/diagram-PFBEJUXE-MXzzKCGG.js +3 -0
- package/editor-web/assets/diagram-RJA3I4VV-vKVwkQxY.js +41 -0
- package/editor-web/assets/diagram-TYUNFSNR-UwGAiQLx.js +200 -0
- package/editor-web/assets/dist-9ymlIMhr.js +1 -0
- package/editor-web/assets/dist-C6NqUEG4.js +16 -0
- package/editor-web/assets/dist-C9UGmCG9.js +6 -0
- package/editor-web/assets/dist-CAk5bjBm.js +1 -0
- package/editor-web/assets/dist-CKyfo5RM.js +340 -0
- package/editor-web/assets/dist-CRaWqNwq.js +37 -0
- package/editor-web/assets/dist-CwIBc7HQ.js +1 -0
- package/editor-web/assets/dist-DXRmkezB.js +38 -0
- package/editor-web/assets/dist-EKK5i0dG.js +219 -0
- package/editor-web/assets/dist-YW8hS4IM.js +9 -0
- package/editor-web/assets/dist-hHJlpLWo.js +5 -0
- package/editor-web/assets/dist-oYKcwWUj.js +4 -0
- package/editor-web/assets/dist-shKo7XVN.js +2 -0
- package/editor-web/assets/dist-wrKxBrVu.js +24 -0
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-73yGokYa.js +1 -0
- package/editor-web/assets/elk-QONTBCTQ-BW6V9y6a.js +27 -0
- package/editor-web/assets/erDiagram-KYQIGQAA-BPqIJ22h.js +99 -0
- package/editor-web/assets/eventmodeling-K75KTNOO-_VZ8jvuy.js +1 -0
- package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +1 -0
- package/editor-web/assets/ganttDiagram-R7GPNTJY-DZ157JN2.js +292 -0
- package/editor-web/assets/gitGraph-VSP46ZUC-fmcNL9bq.js +1 -0
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-DiZDyksR.js +106 -0
- package/editor-web/assets/hint-_AQWCDMj.js +1 -0
- package/editor-web/assets/index-BsstP-cI.js +28 -0
- package/editor-web/assets/index-DQRcmxBO.css +2 -0
- package/editor-web/assets/info-OHQRW6UA-V06620kN.js +1 -0
- package/editor-web/assets/infoDiagram-MVDRKAX5-CbIgheWX.js +2 -0
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-D5oJQPkG.js +70 -0
- package/editor-web/assets/italic-CDhZKo_q.js +1 -0
- package/editor-web/assets/journeyDiagram-BOSHW7O7-BZEv6JI4.js +139 -0
- package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
- package/editor-web/assets/kanban-definition-FNSA4HC5-CLG1R8y_.js +89 -0
- package/editor-web/assets/layout-SWqqA0yV.js +1 -0
- package/editor-web/assets/mermaid-parser.core-DxDwXM7z.js +7 -0
- package/editor-web/assets/mermaid.core-tU55ZwVG.js +44 -0
- package/editor-web/assets/mindmap-definition-6OY57UG3-CYf4zzAh.js +98 -0
- package/editor-web/assets/minus-Cgmm6ncD.js +1 -0
- package/editor-web/assets/packet-JDAUHWVQ-DsHeKYNL.js +1 -0
- package/editor-web/assets/pegDiagram-ECIUJNBX-CQyh6TTa.js +1 -0
- package/editor-web/assets/picture-B-I4V_JT.js +1 -0
- package/editor-web/assets/pie-XZMESJXO-3vCIvpNB.js +1 -0
- package/editor-web/assets/pieDiagram-GNMPY74T-DF5yGBLn.js +39 -0
- package/editor-web/assets/progress-0B_TVsPi.js +6 -0
- package/editor-web/assets/quadrantDiagram-D57K4MC3-B7pxlDYP.js +7 -0
- package/editor-web/assets/radar-ABXABTNO-cpEA41mL.js +1 -0
- package/editor-web/assets/railroad-I3PHUGI6-BLyy5R2c.js +1 -0
- package/editor-web/assets/railroad-abnf-LNEFI6M7-Y-oyol19.js +1 -0
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-o58wHZsr.js +1 -0
- package/editor-web/assets/railroad-peg-JR7BVNR7-CcD3PXZ8.js +1 -0
- package/editor-web/assets/railroadDiagram-Y72NRBL7-BuCC4eyy.js +1 -0
- package/editor-web/assets/react-BP46yLMB.js +1 -0
- package/editor-web/assets/react-pgBZqVxJ.js +96 -0
- package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
- package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
- package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
- package/editor-web/assets/repeat-2-C5PCbNsg.js +1 -0
- package/editor-web/assets/requirementDiagram-EQYSW5RA-Dp-JFGn4.js +84 -0
- package/editor-web/assets/sankeyDiagram-SY24JHO5-rYuCqEvw.js +40 -0
- package/editor-web/assets/schemas-Ewwjtbf4.js +1 -0
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-DryW8x6d.js +169 -0
- package/editor-web/assets/session-DiI9KYRI.js +1 -0
- package/editor-web/assets/slides-CCwgBcGH.js +1 -0
- package/editor-web/assets/sound-CqryteNl.js +1 -0
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js +291 -0
- package/editor-web/assets/strikethrough-DJckA35o.js +1 -0
- package/editor-web/assets/svg-BjM9RazX.js +1 -0
- package/editor-web/assets/swatch-DL3HqIjW.js +1 -0
- package/editor-web/assets/swimlanes-B3ENRKFQ-BiRRhhbd.js +1 -0
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +8 -0
- package/editor-web/assets/switch-DltnKqN-.js +1 -0
- package/editor-web/assets/syntax-C0iPON60.js +18 -0
- package/editor-web/assets/syntax-CC6QYhCz.js +1 -0
- package/editor-web/assets/tabs-C-re0Kxn.js +1 -0
- package/editor-web/assets/textarea-BGtPqZdB.js +105 -0
- package/editor-web/assets/timeline-definition-JXYKGLGB-D-Q5ZtDF.js +120 -0
- package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
- package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
- package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
- package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
- package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
- package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
- package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
- package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
- package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
- package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
- package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
- package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
- package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
- package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
- package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
- package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
- package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
- package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
- package/editor-web/assets/trash-2-Bjj6cWzP.js +1 -0
- package/editor-web/assets/treeView-D4JQ5SDB-B6DDatXq.js +1 -0
- package/editor-web/assets/treemap-SAJKECNS-D7j5ZhiI.js +1 -0
- package/editor-web/assets/undo-2-yOSG766T.js +1 -0
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-tkrdKUJB.js +328 -0
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-Ch4XbSnD.js +34 -0
- package/editor-web/assets/video-DXFiCNGc.js +1 -0
- package/editor-web/assets/wardley-7MLQ67FV-Bynt7qNQ.js +1 -0
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-DRuSgm_L.js +78 -0
- package/editor-web/assets/xychartDiagram-4URNHDU4-DctpvfkL.js +7 -0
- package/editor-web/index.html +7 -3
- package/package.json +21 -5
- package/dist/audio-text.js +0 -6
- package/dist/cloud-hearing.js +0 -2
- package/dist/commands/audio.js +0 -4
- package/dist/commands/inspect/contrast.js +0 -2
- package/dist/commands/inspect/fidelity.js +0 -2
- package/dist/commands/inspect/joins.js +0 -2
- package/dist/commands/inspect/motion.js +0 -4
- package/dist/commands/inspect/sheet.js +0 -3
- package/dist/commands/inspect/timeline.js +0 -3
- package/dist/commands/model.js +0 -3
- package/dist/commands/reference-text.js +0 -5
- package/dist/commands/reference.js +0 -2
- package/dist/commands/scenery-input.js +0 -2
- package/dist/commands/scenery.js +0 -7
- package/dist/commands/sheet.js +0 -8
- package/dist/commands/site.js +0 -4
- package/dist/commands/slides.js +0 -3
- package/dist/commands/voice.js +0 -3
- package/dist/commands/words-text.js +0 -6
- package/dist/commands/words.js +0 -2
- package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
- package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
- package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
- package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
- package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
- package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
- package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
- package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
- package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
- package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
- package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
- package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
- package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
- package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
- package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
- package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
- package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
- package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
- package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
- package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
- package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
- package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
- package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
- package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
- package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
- package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
- package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
- package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
- package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
- package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
- package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
- package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
- package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
- package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
- package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
- package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
- package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
- package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
- package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
- package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
- package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
- package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
- package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
- package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
- package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
- package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
- package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
- package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
- package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
- package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
- package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
- package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
- package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
- package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
- package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
- package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
- package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
- package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
- package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
- package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
- package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
- package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
- package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
- package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
- package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
- package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
- package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
- package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
- package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
- package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
- package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
- package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
- package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
- package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
- package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
- package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
- package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
- package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
- package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
- package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
- package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
- package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
- package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
- package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
- package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
- package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
- package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
- package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
- package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
- package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
- package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
- package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
- package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
- package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
- package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
- package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
- package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
- package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
- package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
- package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
- package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
- package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
- package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
- package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
- package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
- package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
- package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
- package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
- package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
- package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
- package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
- package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
- package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
- package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
- package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
- package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
- package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
- package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
- package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
- package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
- package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
- package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
- package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
- package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
- package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
- package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
- package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
- package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
- package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
- package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
- package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
- package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
- package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
- package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
- package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
- package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
- package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
- package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
- package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
- package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
- package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
- package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
- package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
- package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
- package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
- package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
- package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
- package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
- package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
- package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
- package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
- package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
- package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
- package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
- package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
- package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
- package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
- package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
- package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
- package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
- package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
- package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
- package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
- package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
- package/dist/text/timeline-text.js +0 -2
- package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
- package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
- package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
- package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
- package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
- package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
- package/editor-web/assets/channel-hhT2g1yB.js +0 -1
- package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
- package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
- package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
- package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
- package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
- package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
- package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
- package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
- package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
- package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
- package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
- package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
- package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
- package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
- package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
- package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
- package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
- package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
- package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
- package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
- package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
- package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
- package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
- package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
- package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
- package/editor-web/assets/dist-BRuoygB7.js +0 -2
- package/editor-web/assets/dist-CK42vCmN.js +0 -550
- package/editor-web/assets/dist-C_buDsM-.js +0 -36
- package/editor-web/assets/dist-DNcXHhzn.js +0 -37
- package/editor-web/assets/dist-HxiPpGXi.js +0 -10
- package/editor-web/assets/dist-PF3VMsK7.js +0 -1
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
- package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
- package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
- package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
- package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
- package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
- package/editor-web/assets/hint-BwGc32IE.js +0 -1
- package/editor-web/assets/index-BQKSbBSy.js +0 -69
- package/editor-web/assets/index-CfD80QPx.css +0 -2
- package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
- package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
- package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
- package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
- package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
- package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
- package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
- package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
- package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
- package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
- package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
- package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
- package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
- package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
- package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
- package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
- package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
- package/editor-web/assets/react-BSSSHUyV.js +0 -101
- package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
- package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
- package/editor-web/assets/svg-BiObwMnL.js +0 -1
- package/editor-web/assets/swatch-CwskGSEY.js +0 -105
- package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
- package/editor-web/assets/tabs-uHwPMprC.js +0 -1
- package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
- package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
- package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
- package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
- package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
- /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
- /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
- /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
- /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
- /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
- /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
- /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
- /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime/dist → piece/dist/page}/locate.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
- /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
- /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
- /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
- /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{CHART_LEGEND_POSITIONS as
|
|
3
|
-
`,n,r);break;case"link":
|
|
4
|
-
`,n,r);break}const s=
|
|
5
|
-
`&&Object.keys(i[0].styles).length===0?[]:i,under:E(t,r)}}return U(n)?{content:[],under:E(t,r)}:{content:[],under:E(t,e)}}const N=(t,e)=>e.length>0?{...t,children:e}:t;function ae(t,e,n,r){const{content:i,under:o}=j(t,e.children);return typeof e.checked=="boolean"?N({type:"check",checked:e.checked,content:i},o):N(n?{type:"numbered",...r===void 0||r===1?{}:{start:r},content:i}:{type:"bullet",content:i},o)}function le(t,e){return e.children.map(n=>M(t,n.children))}function g(t,e){return e?{[t]:e}:{}}function ce(t,e){const n=k(t,e,["align","color","bg","toggle"]),r=E(t,e.children),[i,...o]=r;if(i===void 0)return a(t,e,`<${BLOCK_TAG}> holds a block: this one is empty`),[];if(i.type==="embed"||i.type==="source")return a(t,e,`<${BLOCK_TAG}> holds a block of the doc's own, not a tag or an import`),r;const s=n.get("align");s!==void 0&&!H.has(s)&&a(t,e,`align is center, right or justify, not "${s}"`);const d={...s!==void 0&&H.has(s)?{align:s}:{},...g("color",n.get("color")),...g("background",n.get("bg"))};let l=i;if(n.has("toggle")&&(l.type==="heading"?l={...l,toggle:!0}:l.type==="paragraph"?l={type:"toggle",content:l.content}:a(t,e,"toggle is for a heading or a line of text")),Object.keys(d).length>0&&("content"in l?l={...l,look:d}:a(t,e,`a ${l.type} has no look to set`)),o.length>0)if("content"in l)l={...l,children:[...l.children??[],...o]};else return a(t,e,`a ${l.type} holds no blocks under it`),[l,...o];return[l]}function ue(t,e){const n=k(t,e,["icon","color","bg"]),{content:r,under:i}=j(t,e.children),o={...g("color",n.get("color")),...g("background",n.get("bg"))};return[N({type:"callout",...g("icon",n.get("icon")),...Object.keys(o).length>0?{look:o}:{},content:r},i)]}function fe(t,e){const n=k(t,e,["src","alt","title","width","align"]),r=n.get("src");if(!r)return a(t,e,"<img> names its picture: src is missing"),[];const i=Number(n.get("width")),o=n.get("align");return o!==void 0&&o!=="center"&&o!=="right"&&a(t,e,`a picture's align is center or right, not "${o}"`),[{type:"image",src:r,...g("alt",n.get("alt")),...g("caption",n.get("title")),...Number.isFinite(i)&&i>0?{width:Math.round(i)}:{},...o==="center"||o==="right"?{align:o}:{}}]}function de(t,e){if(e.children.length>0)return a(t,e,`<${COMPONENT_TAG}> holds nothing: its props are its attributes`),[];const n=new Map,r={};for(const c of e.attributes){if(c.type!=="mdxJsxAttribute"){a(t,e,`<${COMPONENT_TAG}>'s attributes are plain strings, not {…}`);continue}const u=c.value===null||c.value===void 0?"":typeof c.value=="string"?c.value:void 0;if(u===void 0){a(t,e,`${c.name} of <${COMPONENT_TAG}> is a plain string`);continue}COMPONENT_ATTRIBUTES.includes(c.name)?n.set(c.name,u):r[c.name]=u}const i=n.get("of")??"";if(i.trim()==="")return a(t,e,`<${COMPONENT_TAG}> names its component: of is missing (of="../ui.ts#Dialog")`),[];const o=c=>{const u=n.get(c);if(u===void 0)return;const p=Number(u);if(Number.isFinite(p)&&p>0)return Math.round(p);a(t,e,`${c} of <${COMPONENT_TAG}> is a number of pixels, not "${u}"`)},s=o("width"),d=o("height"),l=n.get("at"),f=l===void 0?void 0:Number(l);f!==void 0&&!(Number.isFinite(f)&&f>=0)&&a(t,e,`at of <${COMPONENT_TAG}> is seconds, 0 or more, not "${l??""}"`);const m=n.get("align");return m!==void 0&&m!=="center"&&m!=="right"&&a(t,e,`a component's align is center or right, not "${m}"`),[{type:"component",of:i,...s===void 0?{}:{width:s},...d===void 0?{}:{height:d},...f!==void 0&&Number.isFinite(f)&&f>=0?{at:f}:{},...g("alt",n.get("alt")),...g("caption",n.get("title")),...m==="center"||m==="right"?{align:m}:{},props:r}]}function me(t,e){const n=k(t,e,CHART_ATTRIBUTES),r=h=>{a(t,e,h)},i=n.get("type");if(i===void 0||i==="")return r(`<${CHART_TAG}> says what it is drawn as: type is missing (${L.join(", ")})`),[];if(!L.includes(i))return r(`a chart's type is ${L.join(", ")}, not "${i}"`),[];const o=e.children,[s,...d]=o;if(d.length>0||s!==void 0&&s.type!=="table")return r(`<${CHART_TAG}> holds one table: its numbers`),[];const l=s?.type==="table"?s.children.map(h=>h.children.map(y=>M(t,y.children).map(T=>T.text).join("").trim())):void 0,f=n.get("data"),m=n.get("categories"),c=n.get("series");if(l!==void 0&&f!==void 0)return r("a chart's numbers are its table or the file data names, not both"),[];if(l===void 0&&(f===void 0||f===""))return r(`<${CHART_TAG}> has numbers: a table inside it, or data="…" naming a file of them`),[];if(l!==void 0){(m!==void 0||c!==void 0)&&r("categories and series name a file's columns: a chart's own table has its series in its head row and its categories in its first column");const h=Math.min(...l.map(y=>y.length));(l.length<2||h<2)&&r("a chart's table has a head row and a row of numbers, a column of categories and a column of numbers")}else(m===void 0||m==="")&&r("with data, categories names the column of the categories"),(c===void 0||A(c).length===0)&&r('with data, series names the columns of the numbers (series="revenue,cost")');const u=n.get("legend"),p=[...Y,"none"];u!==void 0&&!p.includes(u)&&r(`a chart's legend is ${p.join(", ")}, not "${u}"`);const w=n.get("labels"),C=w===void 0?void 0:w===""?["value"]:A(w),S=C?.filter(h=>!I.includes(h));S?.length&&r(`a chart's labels are ${I.join(", ")}, not ${S.map(h=>`"${h}"`).join(", ")}`);const O=(h,y)=>{const T=n.get(h);if(T===void 0)return;const F=Number(T);if(T.trim()!==""&&Number.isFinite(F)&&(!y||F>0))return y?Math.round(F):F;r(`${h} of <${CHART_TAG}> is ${y?"a number of pixels":"a number"}, not "${T}"`)},G=O("min",!1),B=O("max",!1),J=O("width",!0),R=O("height",!0),_=n.get("colors");return[{type:"chart",kind:i,...g("title",n.get("title")),...l===void 0?{}:{table:l},...f===void 0||f===""?{}:{data:f},...l===void 0?g("categories",m):{},...l===void 0&&c!==void 0&&A(c).length>0?{series:A(c)}:{},...u!==void 0&&p.includes(u)?{legend:u}:{},...C!==void 0&&!S?.length?{labels:C}:{},...g("format",n.get("format")),...G===void 0?{}:{min:G},...B===void 0?{}:{max:B},..._!==void 0&&A(_).length>0?{colors:A(_)}:{},...J===void 0?{}:{width:J},...R===void 0?{}:{height:R},...g("alt",n.get("alt"))}]}function ge(t,e){k(t,e,[]);const n=[];for(const r of e.children){if(r.type!=="mdxJsxFlowElement"||r.name!==COLUMN_TAG)return a(t,r,`<${COLUMNS_TAG}> holds <${COLUMN_TAG}>s, each around its blocks`),[];const o=k(t,r,["width"]).get("width"),s=o===void 0?void 0:Number(o);o!==void 0&&!(Number.isFinite(s)&&(s??0)>0)&&a(t,r,`a column's width is a share against the others' (1, 2, 0.5), not "${o}"`);const d=E(t,r.children);if(d.some(l=>l.type==="columns"))return a(t,r,`a <${COLUMN_TAG}> holds no <${COLUMNS_TAG}>`),[];n.push({...s!==void 0&&Number.isFinite(s)&&s>0&&s!==1?{width:s}:{},blocks:d})}return n.length<2?(a(t,e,`<${COLUMNS_TAG}> holds two or more <${COLUMN_TAG}>s`),[]):[{type:"columns",columns:n}]}function he(t,e){const n=k(t,e,["widths","head"]),r=E(t,e.children),[i,...o]=r;if(i?.type!=="table"||o.length>0)return a(t,e,`<${TABLE_TAG}> holds one table`),r;const s=n.get("head");s!==void 0&&!["none","column","both","row"].includes(s)&&a(t,e,`a table's head is none, row, column or both, not "${s}"`);const d=n.get("widths")?.split(",").map(l=>{const f=Number(l.trim());return l.trim()!==""&&Number.isFinite(f)&&f>0?Math.round(f):null});return[{...i,...s==="none"||s==="column"||s==="both"?{head:s}:{},...d?.some(l=>l!==null)?{widths:d}:{}}]}function pe(t,e){switch(e.type){case"paragraph":{const n=e.children.length===1?e.children[0]:void 0;if(n?.type==="image")return[{type:"image",src:n.url,...n.alt?{alt:n.alt}:{},...n.title?{caption:n.title}:{}}];const r=M(t,e.children),i=r.map(o=>o.text).join("").trim();return i.startsWith("$$")&&i.endsWith("$$")&&i.length>4&&a(t,e,"$$ is not drawn in a doc: an equation is a ```math code block"),[{type:"paragraph",content:r}]}case"heading":return[{type:"heading",level:e.depth,content:M(t,e.children)}];case"list":{const n=e.ordered===!0;return e.children.map((r,i)=>ae(t,r,n,i===0&&n?e.start??void 0:void 0))}case"blockquote":{const{content:n,under:r}=j(t,e.children);return[N({type:"quote",content:n},r)]}case"code":return[{type:"code",...e.lang?{language:e.lang}:{},code:e.value}];case"table":return[{type:"table",rows:e.children.map(n=>le(t,n))}];case"thematicBreak":return[{type:"divider"}];case"mdxJsxFlowElement":{const n=r=>r.length>0?r:[{type:"embed",source:b(t,e)}];return e.name===BLOCK_TAG?n(ce(t,e)):e.name===TABLE_TAG?he(t,e):e.name===CALLOUT_TAG?ue(t,e):e.name===COMPONENT_TAG?n(de(t,e)):e.name===CHART_TAG?n(me(t,e)):e.name===COLUMNS_TAG?n(ge(t,e)):e.name===PAGE_BREAK_TAG?e.attributes.length>0||e.children.length>0?(a(t,e,`<${PAGE_BREAK_TAG} /> takes nothing`),n([])):[{type:"pagebreak"}]:e.name===COLUMN_TAG?(a(t,e,`a <${COLUMN_TAG}> stands inside <${COLUMNS_TAG}>`),n([])):e.name==="img"&&e.children.length===0?n(fe(t,e)):U(e)?[{type:"paragraph",content:[]}]:[{type:"embed",source:b(t,e)}]}case"footnoteDefinition":{const{content:n,under:r}=j(t,e.children);return[N({type:"note",label:e.label??e.identifier,content:n},r)]}case"mdxjsEsm":case"definition":return[{type:"source",source:b(t,e)}];case"mdxFlowExpression":return a(t,e,"{…} on its own is not drawn in a doc"),[{type:"source",source:b(t,e)}];default:return a(t,e,`${e.type} is not drawn in a doc`),[{type:"source",source:b(t,e)}]}}function D(t,e){return e.map((n,r)=>{const i=pe(t,n),o=e[r-1],s=i[0];return n.type==="list"&&n.ordered===!0&&o?.type==="list"&&o.ordered===!0&&s?.type==="numbered"&&s.start===void 0&&(i[0]={...s,start:n.start??1}),i})}function E(t,e){return D(t,e).flat()}export function parseDoc(t){const e={source:t,problems:[]};let n;try{n=q(t,{extensions:[Z(),re(),x(),te(),ee(),ne()],mdastExtensions:[K(),V(),W(),X(),z(),Q()]})}catch(c){const u=c;return{source:t,blocks:[],segments:[],page:{},problems:[{message:u.reason??u.message??"The file is not MDX",...typeof u.line=="number"?{line:u.line}:{},...typeof u.column=="number"?{column:u.column}:{}}]}}const[r]=n.children,i=r?.type==="yaml"?r:void 0,o=i?n.children.slice(1):n.children,s=i?be(e,i):{},d=[],l=D(e,o);o.forEach((c,u)=>{const p=c.position?.start.offset,w=c.position?.end.offset;p===void 0||w===void 0||d.push({start:p,end:w,blocks:l[u]??[]})});const f=i?.position?.start.offset,m=i?.position?.end.offset;return{source:t,blocks:d.flatMap(c=>c.blocks),segments:d,problems:e.problems,page:s,...f===void 0||m===void 0?{}:{frontMatter:{start:f,end:m}}}}function be(t,e){let n;try{n=ie(e.value)}catch(i){return a(t,e,`the front matter is not YAML: ${i instanceof Error?i.message:String(i)}`),{}}if(n==null)return{};if(typeof n!="object"||Array.isArray(n))return a(t,e,"the front matter holds keys: font, accent, cover, cover-y, page-numbers"),{};const r={};for(const[i,o]of Object.entries(n))i==="font"?P.includes(o)?r.font=o:a(t,e,`a page's font is ${P.join(", ")}, not ${JSON.stringify(o)}`):i==="cover"?typeof o=="string"&&o.trim()!==""?r.cover=o.trim():a(t,e,"a page's cover is a picture's path"):i==="cover-y"?typeof o=="number"&&o>=0&&o<=100?r.coverY=o:a(t,e,`a cover's cover-y is 0 (its top) to 100 (its bottom), not ${JSON.stringify(o)}`):i==="page-numbers"?o===!1?r.pageNumbers=!1:o!==!0&&a(t,e,`a page's page-numbers is true or false, not ${JSON.stringify(o)}`):i==="accent"?typeof o=="string"&&o.trim()!==""?r.accent=o.trim():a(t,e,"a page's accent is a colour"):a(t,e,`the front matter holds font, accent, cover, cover-y and page-numbers: ${i} is not one of them`);return r}
|
|
2
|
+
import{CHART_LEGEND_POSITIONS as D,SHEET_CHART_TYPES as j}from"@allyhub/formats";import{fromMarkdown as Y}from"mdast-util-from-markdown";import{frontmatterFromMarkdown as q}from"mdast-util-frontmatter";import{gfmFootnoteFromMarkdown as K}from"mdast-util-gfm-footnote";import{gfmStrikethroughFromMarkdown as W}from"mdast-util-gfm-strikethrough";import{gfmTableFromMarkdown as z}from"mdast-util-gfm-table";import{gfmTaskListItemFromMarkdown as X}from"mdast-util-gfm-task-list-item";import{mdxFromMarkdown as Q}from"mdast-util-mdx";import{cjkFriendlyExtension as V}from"micromark-extension-cjk-friendly";import{frontmatter as Z}from"micromark-extension-frontmatter";import{gfmFootnote as x}from"micromark-extension-gfm-footnote";import{gfmStrikethrough as ee}from"micromark-extension-gfm-strikethrough";import{gfmTable as te}from"micromark-extension-gfm-table";import{gfmTaskListItem as ne}from"micromark-extension-gfm-task-list-item";import{mdxjs as re}from"micromark-extension-mdxjs";import{parse as ie}from"yaml";import{citedOf as oe}from"./cite.js";import{PAGE_KEYS as se,readPageLook as ae}from"./page.js";import{CHART_LABELS as P}from"./model.js";export const BLOCK_TAG="Block",CALLOUT_TAG="Callout",TABLE_TAG="Table",COMPONENT_TAG="Component",COMPONENT_ATTRIBUTES=["of","width","height","at","alt","title","align","id"],PAGE_BREAK_TAG="PageBreak",CARD_TAG="Card",STATS_TAG="Stats",STAT_TAG="Stat",STAT_ATTRIBUTES=["label","value","delta","note","down-is-good","trend"],TAG_TAG="Tag",COLUMNS_TAG="Columns",COLUMN_TAG="Column",CHART_TAG="Chart",CHART_ATTRIBUTES=["type","title","data","categories","series","legend","labels","format","min","max","colors","smooth","width","height","alt","id"],BIBLIOGRAPHY_TAG="Bibliography",TOC_TAG="TableOfContents";const v=t=>t.split(",").map(e=>e.trim()).filter(e=>e!==""),J=new Set(["center","right","justify"]),k=(t,e)=>{const n=e.position?.start.offset,r=e.position?.end.offset;return n===void 0||r===void 0?"":t.source.slice(n,r)};function l(t,e,n){const r=e.position?.start;t.problems.push({message:n,...r?{line:r.line,column:r.column}:{}})}const le=(t,e)=>t.bold===e.bold&&t.italic===e.italic&&t.underline===e.underline&&t.strike===e.strike&&t.code===e.code&&t.color===e.color&&t.background===e.background&&t.tag===e.tag;function y(t,e,n,r){if(e==="")return;const i=t.at(-1);if(i&&i.note===void 0&&i.cite===void 0&&i.href===r&&le(i.styles,n)){i.text+=e;return}t.push({text:e,styles:{...n},...r===void 0?{}:{href:r}})}function h(t,e,n){const r=new Map;for(const i of e.attributes){if(i.type!=="mdxJsxAttribute"||!n.includes(i.name)){l(t,e,`<${e.name??""}> takes ${n.join(", ")}: ${i.type==="mdxJsxAttribute"?i.name:"{…}"} is not one of them`);continue}i.value===null||i.value===void 0?r.set(i.name,""):typeof i.value=="string"?r.set(i.name,i.value):l(t,e,`${i.name} of <${e.name??""}> is a plain string`)}return r}function ue(t,e,n){switch(e.name){case"u":return{...n,underline:!0};case"strong":case"b":return{...n,bold:!0};case"em":case"i":return{...n,italic:!0};case"del":case"s":return{...n,strike:!0};case"code":return{...n,code:!0};case TAG_TAG:{const r=h(t,e,["color"]).get("color");return{...n,tag:r===void 0||r===""?"gray":r}}case"span":{const r=h(t,e,["color","bg"]),i=r.get("color"),o=r.get("bg");return{...n,...i?{color:i}:{},...o?{background:o}:{}}}default:return}}function N(t,e,n,r,i){for(const o of e)switch(o.type){case"text":for(const[,s]of o.value.matchAll(/\[\^([^\]\s]+)\]/gu))l(t,o,`the footnote [^${s??""}] has no note: write [^${s??""}]: … on a line of its own`);for(const s of o.value.replace(/\r?\n/g," ").split(/(\[-?@[^\]]+\])/u)){if(s==="")continue;const d=/^\[(-?@[^\]]+)\]$/u.exec(s)?.[1];d!==void 0&&oe(d).keys.length>0?i.push({text:s,styles:{...n},cite:d}):y(i,s,n,r)}break;case"strong":N(t,o.children,{...n,bold:!0},r,i);break;case"emphasis":N(t,o.children,{...n,italic:!0},r,i);break;case"delete":N(t,o.children,{...n,strike:!0},r,i);break;case"inlineCode":y(i,o.value,{...n,code:!0},r);break;case"break":y(i,`
|
|
3
|
+
`,n,r);break;case"link":o.children.length===0?i.push({text:"",styles:{...n},href:o.url}):N(t,o.children,n,o.url,i);break;case"footnoteReference":{const s=o.label??o.identifier;i.push({text:s,styles:{...n},...r===void 0?{}:{href:r},note:s});break}case"mdxJsxTextElement":{if(o.name==="br"){y(i,`
|
|
4
|
+
`,n,r);break}const s=ue(t,o,n);if(s){N(t,o.children,s,r,i);break}l(t,o,`<${o.name??""}> inside a line is not drawn: a tag the doc's code draws goes on lines of its own`),y(i,k(t,o),n,r);break}case"mdxTextExpression":l(t,o,"{…} in a line is not drawn: write \\{ for a brace"),y(i,k(t,o),n,r);break;default:l(t,o,`${o.type} is not drawn in a doc`),y(i,k(t,o),n,r)}}function _(t,e){const n=[];return N(t,e,{},void 0,n),n}const H=t=>t?.type==="mdxJsxFlowElement"&&t.name==="br"&&t.children.length===0;function M(t,e){const[n,...r]=e;if(n?.type==="paragraph"){const i=_(t,n.children);return{content:i.length===1&&i[0]?.text===`
|
|
5
|
+
`&&Object.keys(i[0].styles).length===0?[]:i,under:T(t,r)}}return H(n)?{content:[],under:T(t,r)}:{content:[],under:T(t,e)}}const w=(t,e)=>e.length>0?{...t,children:e}:t;function ce(t,e,n,r){const{content:i,under:o}=M(t,e.children);return typeof e.checked=="boolean"?w({type:"check",checked:e.checked,content:i},o):w(n?{type:"numbered",...r===void 0||r===1?{}:{start:r},content:i}:{type:"bullet",content:i},o)}function de(t,e){return e.children.map(n=>_(t,n.children))}function m(t,e){return e?{[t]:e}:{}}function fe(t,e){const n=h(t,e,["align","color","bg","toggle"]),r=T(t,e.children),[i,...o]=r;if(i===void 0)return l(t,e,`<${BLOCK_TAG}> holds a block: this one is empty`),[];if(i.type==="embed"||i.type==="source")return l(t,e,`<${BLOCK_TAG}> holds a block of the doc's own, not a tag or an import`),r;const s=n.get("align");s!==void 0&&!J.has(s)&&l(t,e,`align is center, right or justify, not "${s}"`);const d={...s!==void 0&&J.has(s)?{align:s}:{},...m("color",n.get("color")),...m("background",n.get("bg"))};let a=i;if(n.has("toggle")&&(a.type==="heading"?a={...a,toggle:!0}:a.type==="paragraph"?a={type:"toggle",content:a.content}:l(t,e,"toggle is for a heading or a line of text")),Object.keys(d).length>0&&("content"in a?a={...a,look:d}:l(t,e,`a ${a.type} has no look to set`)),o.length>0)if("content"in a)a={...a,children:[...a.children??[],...o]};else return l(t,e,`a ${a.type} holds no blocks under it`),[a,...o];return[a]}function me(t,e){const n=h(t,e,["icon","color","bg"]),{content:r,under:i}=M(t,e.children),o={...m("color",n.get("color")),...m("background",n.get("bg"))};return[w({type:"callout",...m("icon",n.get("icon")),...Object.keys(o).length>0?{look:o}:{},content:r},i)]}function ge(t,e){const n=h(t,e,["title","subtitle"]),r=T(t,e.children);return[w({type:"card",...m("title",n.get("title")),...m("subtitle",n.get("subtitle"))},r)]}function he(t,e){h(t,e,[]);const n=[];for(const r of e.children){if(r.type!=="mdxJsxFlowElement"||r.name!==STAT_TAG||r.children.length>0)return l(t,r,`<${STATS_TAG}> holds <${STAT_TAG} label="…" value="…" />s, one to a line`),[];const i=h(t,r,STAT_ATTRIBUTES),o=i.get("label"),s=i.get("value");if(s===void 0||o===void 0)return l(t,r,`a <${STAT_TAG}> has a label and a value`),[];const d=i.get("trend"),a=d?.split(",").map(c=>Number(c.trim()));if(a!==void 0&&!a.every(c=>Number.isFinite(c)))return l(t,r,`a stat's trend is numbers, oldest first, comma-separated ("12,15,14,19"), not "${d??""}"`),[];n.push({label:o,value:s,...m("delta",i.get("delta")),...m("note",i.get("note")),...i.has("down-is-good")&&i.get("down-is-good")!=="false"?{downIsGood:!0}:{},...a===void 0||a.length<2?{}:{trend:a}})}return n.length===0?(l(t,e,`<${STATS_TAG}> holds one <${STAT_TAG} /> or more`),[]):[{type:"stats",stats:n}]}function pe(t,e){const n=h(t,e,["src","alt","title","width","align","id"]),r=n.get("src");if(!r)return l(t,e,"<img> names its picture: src is missing"),[];const i=Number(n.get("width")),o=n.get("align");return o!==void 0&&o!=="center"&&o!=="right"&&l(t,e,`a picture's align is center or right, not "${o}"`),[{type:"image",src:r,...m("alt",n.get("alt")),...m("caption",n.get("title")),...Number.isFinite(i)&&i>0?{width:Math.round(i)}:{},...o==="center"||o==="right"?{align:o}:{},...m("id",n.get("id"))}]}function be(t,e){if(e.children.length>0)return l(t,e,`<${COMPONENT_TAG}> holds nothing: its props are its attributes`),[];const n=new Map,r={};for(const u of e.attributes){if(u.type!=="mdxJsxAttribute"){l(t,e,`<${COMPONENT_TAG}>'s attributes are plain strings, not {…}`);continue}const f=u.value===null||u.value===void 0?"":typeof u.value=="string"?u.value:void 0;if(f===void 0){l(t,e,`${u.name} of <${COMPONENT_TAG}> is a plain string`);continue}COMPONENT_ATTRIBUTES.includes(u.name)?n.set(u.name,f):r[u.name]=f}const i=n.get("of")??"";if(i.trim()==="")return l(t,e,`<${COMPONENT_TAG}> names its component: of is missing (of="../ui.ts#Dialog")`),[];const o=u=>{const f=n.get(u);if(f===void 0)return;const b=Number(f);if(Number.isFinite(b)&&b>0)return Math.round(b);l(t,e,`${u} of <${COMPONENT_TAG}> is a number of pixels, not "${f}"`)},s=o("width"),d=o("height"),a=n.get("at"),c=a===void 0?void 0:Number(a);c!==void 0&&!(Number.isFinite(c)&&c>=0)&&l(t,e,`at of <${COMPONENT_TAG}> is seconds, 0 or more, not "${a??""}"`);const g=n.get("align");return g!==void 0&&g!=="center"&&g!=="right"&&l(t,e,`a component's align is center or right, not "${g}"`),[{type:"component",of:i,...s===void 0?{}:{width:s},...d===void 0?{}:{height:d},...c!==void 0&&Number.isFinite(c)&&c>=0?{at:c}:{},...m("alt",n.get("alt")),...m("caption",n.get("title")),...g==="center"||g==="right"?{align:g}:{},...m("id",n.get("id")),props:r}]}function ke(t,e){const n=h(t,e,CHART_ATTRIBUTES),r=p=>{l(t,e,p)},i=n.get("type");if(i===void 0||i==="")return r(`<${CHART_TAG}> says what it is drawn as: type is missing (${j.join(", ")})`),[];if(!j.includes(i))return r(`a chart's type is ${j.join(", ")}, not "${i}"`),[];const o=e.children,[s,...d]=o;if(d.length>0||s!==void 0&&s.type!=="table")return r(`<${CHART_TAG}> holds one table: its numbers`),[];const a=s?.type==="table"?s.children.map(p=>p.children.map($=>_(t,$.children).map(E=>E.text).join("").trim())):void 0,c=n.get("data"),g=n.get("categories"),u=n.get("series");if(a!==void 0&&c!==void 0)return r("a chart's numbers are its table or the file data names, not both"),[];if(a===void 0&&(c===void 0||c===""))return r(`<${CHART_TAG}> has numbers: a table inside it, or data="…" naming a file of them`),[];if(a!==void 0){(g!==void 0||u!==void 0)&&r("categories and series name a file's columns: a chart's own table has its series in its head row and its categories in its first column");const p=Math.min(...a.map($=>$.length));(a.length<2||p<2)&&r("a chart's table has a head row and a row of numbers, a column of categories and a column of numbers")}else(g===void 0||g==="")&&r("with data, categories names the column of the categories"),(u===void 0||v(u).length===0)&&r('with data, series names the columns of the numbers (series="revenue,cost")');const f=n.get("legend"),b=[...D,"none"];f!==void 0&&!b.includes(f)&&r(`a chart's legend is ${b.join(", ")}, not "${f}"`);const A=n.get("labels"),S=A===void 0?void 0:A===""?["value"]:v(A),G=S?.filter(p=>!P.includes(p));G?.length&&r(`a chart's labels are ${P.join(", ")}, not ${G.map(p=>`"${p}"`).join(", ")}`);const F=(p,$)=>{const E=n.get(p);if(E===void 0)return;const C=Number(E);if(E.trim()!==""&&Number.isFinite(C)&&(!$||C>0))return $?Math.round(C):C;r(`${p} of <${CHART_TAG}> is ${$?"a number of pixels":"a number"}, not "${E}"`)},L=F("min",!1),B=F("max",!1),I=F("width",!0),R=F("height",!0),O=n.get("colors");return[{type:"chart",kind:i,...m("title",n.get("title")),...a===void 0?{}:{table:a},...c===void 0||c===""?{}:{data:c},...a===void 0?m("categories",g):{},...a===void 0&&u!==void 0&&v(u).length>0?{series:v(u)}:{},...f!==void 0&&b.includes(f)?{legend:f}:{},...S!==void 0&&!G?.length?{labels:S}:{},...m("format",n.get("format")),...L===void 0?{}:{min:L},...B===void 0?{}:{max:B},...O!==void 0&&v(O).length>0?{colors:v(O)}:{},...n.has("smooth")&&n.get("smooth")!=="false"?{smooth:!0}:{},...I===void 0?{}:{width:I},...R===void 0?{}:{height:R},...m("alt",n.get("alt")),...m("id",n.get("id"))}]}function $e(t,e){h(t,e,[]);const n=[];for(const r of e.children){if(r.type!=="mdxJsxFlowElement"||r.name!==COLUMN_TAG)return l(t,r,`<${COLUMNS_TAG}> holds <${COLUMN_TAG}>s, each around its blocks`),[];const o=h(t,r,["width"]).get("width"),s=o===void 0?void 0:Number(o);o!==void 0&&!(Number.isFinite(s)&&(s??0)>0)&&l(t,r,`a column's width is a share against the others' (1, 2, 0.5), not "${o}"`);const d=T(t,r.children);if(d.some(a=>a.type==="columns"))return l(t,r,`a <${COLUMN_TAG}> holds no <${COLUMNS_TAG}>`),[];n.push({...s!==void 0&&Number.isFinite(s)&&s>0&&s!==1?{width:s}:{},blocks:d})}return n.length<2?(l(t,e,`<${COLUMNS_TAG}> holds two or more <${COLUMN_TAG}>s`),[]):[{type:"columns",columns:n}]}function ye(t,e){const n=h(t,e,["widths","head","caption","id"]),r=T(t,e.children),[i,...o]=r;if(i?.type!=="table"||o.length>0)return l(t,e,`<${TABLE_TAG}> holds one table`),r;const s=n.get("head");s!==void 0&&!["none","column","both","row"].includes(s)&&l(t,e,`a table's head is none, row, column or both, not "${s}"`);const d=n.get("widths")?.split(",").map(a=>{const c=Number(a.trim());return a.trim()!==""&&Number.isFinite(c)&&c>0?Math.round(c):null});return[{...i,...s==="none"||s==="column"||s==="both"?{head:s}:{},...d?.some(a=>a!==null)?{widths:d}:{},...m("caption",n.get("caption")),...m("id",n.get("id"))}]}function we(t,e){switch(e.type){case"paragraph":{const n=e.children.length===1?e.children[0]:void 0;if(n?.type==="image")return[{type:"image",src:n.url,...n.alt?{alt:n.alt}:{},...n.title?{caption:n.title}:{}}];const r=_(t,e.children),i=r.map(o=>o.text).join("").trim();return i.startsWith("$$")&&i.endsWith("$$")&&i.length>4&&l(t,e,"$$ is not drawn in a doc: an equation is a ```math code block"),[{type:"paragraph",content:r}]}case"heading":return[{type:"heading",level:e.depth,content:_(t,e.children)}];case"list":{const n=e.ordered===!0;return e.children.map((r,i)=>ce(t,r,n,i===0&&n?e.start??void 0:void 0))}case"blockquote":{const{content:n,under:r}=M(t,e.children);return[w({type:"quote",content:n},r)]}case"code":return[{type:"code",...e.lang?{language:e.lang}:{},code:e.value}];case"table":return[{type:"table",rows:e.children.map(n=>de(t,n))}];case"thematicBreak":return[{type:"divider"}];case"mdxJsxFlowElement":{const n=r=>r.length>0?r:[{type:"embed",source:k(t,e)}];if(e.name===BLOCK_TAG)return n(fe(t,e));if(e.name===TABLE_TAG)return ye(t,e);if(e.name===CALLOUT_TAG)return me(t,e);if(e.name===COMPONENT_TAG)return n(be(t,e));if(e.name===CHART_TAG)return n(ke(t,e));if(e.name===COLUMNS_TAG)return n($e(t,e));if(e.name===CARD_TAG)return n(ge(t,e));if(e.name===STATS_TAG)return n(he(t,e));if(e.name===STAT_TAG)return l(t,e,`a <${STAT_TAG} /> stands inside <${STATS_TAG}>`),n([]);if(e.name===PAGE_BREAK_TAG){const i=h(t,e,["orientation"]).get("orientation");return e.children.length>0?(l(t,e,`<${PAGE_BREAK_TAG} /> holds nothing`),n([])):i!==void 0&&i!=="portrait"&&i!=="landscape"?(l(t,e,`a page break's orientation is portrait or landscape, not "${i}"`),n([])):[{type:"pagebreak",...i===void 0?{}:{orientation:i}}]}if(e.name===BIBLIOGRAPHY_TAG)return e.attributes.length>0||e.children.length>0?(l(t,e,`<${BIBLIOGRAPHY_TAG} /> takes nothing`),n([])):[{type:"bibliography"}];if(e.name===TOC_TAG){const r=h(t,e,["levels","title"]),i=r.get("levels"),o=r.get("title"),s=i===void 0?void 0:Number(i);return e.children.length>0||s!==void 0&&!(Number.isInteger(s)&&s>=1&&s<=6)?(l(t,e,`<${TOC_TAG} /> holds nothing, and its levels are 1 to 6 (the deepest heading it lists)`),n([])):[{type:"toc",...s===void 0?{}:{levels:s},...o===void 0?{}:{title:o}}]}return e.name===COLUMN_TAG?(l(t,e,`a <${COLUMN_TAG}> stands inside <${COLUMNS_TAG}>`),n([])):e.name==="img"&&e.children.length===0?n(pe(t,e)):H(e)?[{type:"paragraph",content:[]}]:[{type:"embed",source:k(t,e)}]}case"footnoteDefinition":{const{content:n,under:r}=M(t,e.children);return[w({type:"note",label:e.label??e.identifier,content:n},r)]}case"mdxjsEsm":case"definition":return[{type:"source",source:k(t,e)}];case"mdxFlowExpression":return l(t,e,"{…} on its own is not drawn in a doc"),[{type:"source",source:k(t,e)}];default:return l(t,e,`${e.type} is not drawn in a doc`),[{type:"source",source:k(t,e)}]}}function U(t,e){return e.map((n,r)=>{const i=we(t,n),o=e[r-1],s=i[0];return n.type==="list"&&n.ordered===!0&&o?.type==="list"&&o.ordered===!0&&s?.type==="numbered"&&s.start===void 0&&(i[0]={...s,start:n.start??1}),i})}function T(t,e){return U(t,e).flat()}export function parseDoc(t){const e={source:t,problems:[]};let n;try{n=Y(t,{extensions:[Z(),re(),x(),te(),ee(),ne(),V()],mdastExtensions:[q(),Q(),K(),z(),W(),X()]})}catch(u){const f=u;return{source:t,blocks:[],segments:[],page:{},problems:[{message:f.reason??f.message??"The file is not MDX",...typeof f.line=="number"?{line:f.line}:{},...typeof f.column=="number"?{column:f.column}:{}}]}}const[r]=n.children,i=r?.type==="yaml"?r:void 0,o=i?n.children.slice(1):n.children,s=i?Te(e,i):{},d=[],a=U(e,o);o.forEach((u,f)=>{const b=u.position?.start.offset,A=u.position?.end.offset;b===void 0||A===void 0||d.push({start:b,end:A,blocks:a[f]??[]})});const c=i?.position?.start.offset,g=i?.position?.end.offset;return{source:t,blocks:d.flatMap(u=>u.blocks),segments:d,problems:e.problems,page:s,...c===void 0||g===void 0?{}:{frontMatter:{start:c,end:g}}}}function Te(t,e){let n;try{n=ie(e.value)}catch(r){return l(t,e,`the front matter is not YAML: ${r instanceof Error?r.message:String(r)}`),{}}return n==null?{}:typeof n!="object"||Array.isArray(n)?(l(t,e,`the front matter holds keys: ${se.join(", ")}`),{}):ae(n,r=>{l(t,e,r)})}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
const c=/^[+\-−–]?[$€£¥]?\s?\d[\d,.\s]*\s?(%|×|x|k|K|M|B|bn|pt|pp)?\*?$/u,x=/^([—–-]|n\/a|N\/A|NA)$/u,d=t=>t.map(e=>e.text).join("").trim();export function numberColumns(t){const e=t.head===void 0||t.head==="both",s=t.head==="column"||t.head==="both",r=e?t.rows.slice(1):t.rows,m=Math.max(0,...t.rows.map(o=>o.length)),a=new Set;for(let o=s?1:0;o<m;o++){const u=r.map(n=>d(n[o]??[]));u.some(n=>c.test(n))&&u.every(n=>n===""||c.test(n)||x.test(n))&&a.add(o)}return a}const h={min:6,max:36,room:2};export function columnShares(t){const e=Math.max(0,...t.rows.map(s=>s.length));return Array.from({length:e},(s,r)=>{const m=Math.max(0,...t.rows.map(a=>Array.from(d(a[r]??[])).length));return Math.min(h.max,Math.max(h.min,m+h.room))})}
|
|
@@ -1,65 +1,70 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{
|
|
3
|
-
${e.styles.background??""}`:void 0;default:return e.styles[n]?"on":void 0}}const
|
|
2
|
+
import{Document as K,visit as Y}from"yaml";import{pageLookYaml as F}from"./page.js";import{BLOCK_TAG as C,CALLOUT_TAG as M,CARD_TAG as E,STAT_TAG as J,STATS_TAG as R,TAG_TAG as I,CHART_TAG as L,PAGE_BREAK_TAG as Q,COLUMN_TAG as B,COLUMNS_TAG as N,COMPONENT_TAG as V,TABLE_TAG as U,TOC_TAG as X,BIBLIOGRAPHY_TAG as Z}from"./parse.js";const A=["link","span","tag","underline","bold","italic","strike","code"];function g(e,n){switch(n){case"link":return e.href;case"tag":return e.styles.tag;case"span":return e.styles.color!==void 0||e.styles.background!==void 0?`${e.styles.color??""}
|
|
3
|
+
${e.styles.background??""}`:void 0;default:return e.styles[n]?"on":void 0}}const s=(e,n)=>n===void 0?"":` ${e}="${n.replace(/&/g,"&").replace(/"/g,""")}"`,_=e=>e!==void 0&&/[\p{L}\p{N}]/u.test(e);function G(e,n,r=n){let t="";const i=Array.from(e);return i.forEach((a,d)=>{const u=i[d-1],c=i[d+1];switch(a){case"\\":case"*":case"`":case"[":case"]":case"<":case">":case"{":case"}":case"~":t+=`\\${a}`;break;case"_":t+=_(u)&&_(c)?a:`\\${a}`;break;case"&":t+=/^&(#\d+|#x[0-9a-f]+|[a-z][a-z0-9]*);/i.test(i.slice(d,d+34).join(""))?"&":a;break;case"|":t+=n?"\\|":a;break;case"!":t+=c===void 0?"\\!":a;break;case`
|
|
4
4
|
`:t+=r?"<br />":`\\
|
|
5
|
-
`;break;default:t+=a}}),t}function
|
|
6
|
-
`)||n.inTable
|
|
7
|
-
`)&&i&&
|
|
8
|
-
`).map(
|
|
9
|
-
`)}const
|
|
5
|
+
`;break;default:t+=a}}),t}function b(e){const n=Math.max(0,...(e.match(/`+/g)??[]).map(i=>i.length)),r="`".repeat(n+1),t=e.startsWith("`")||e.endsWith("`")||e.startsWith(" ")&&e.endsWith(" ")&&e.trim()!==""?" ":"";return`${r}${t}${e}${t}${r}`}const k={bold:"**",italic:"*",strike:"~~"},W={underline:"u",bold:"strong",italic:"em",strike:"del",code:"code"};function T(e,n){let r="",t=0,i=!0;for(;t<e.length;){const a=e[t];if(a===void 0)break;if(a.note!==void 0||a.cite!==void 0){r+=a.note===void 0?`[${a.cite??""}]`:`[^${a.note}]`,i=!1,t++;continue}const d=A.find(f=>!n.used.has(f)&&g(a,f)!==void 0);if(d===void 0){r+=G(a.text,n.inTable,n.oneLine),i=!0,t++;continue}const u=g(a,d);let c=t+1;for(;c<e.length;){const f=e[c];if(f===void 0||g(f,d)!==u||d==="code"&&A.some(p=>p!=="code"&&!n.used.has(p)&&g(f,p)!==void 0))break;c++}const o=e.slice(t,c),$=new Set([...n.used,d]),h=o.map(f=>f.text).join(""),j=e[c],q=j===void 0||A.every(f=>n.used.has(f)||g(j,f)===void 0);if(d==="code")r+=h.includes(`
|
|
6
|
+
`)||n.inTable&&h.includes("|")?`<code>${G(h,n.inTable,n.oneLine)}</code>`:b(h);else if(d==="link"){const f=T(o,{...n,used:$}),p=(u??"").replace(/[\s()<>\\]/g,x=>encodeURIComponent(x));r+=`[${f}](${p})`}else if(d==="tag"){const f=T(o,{...n,used:$});r+=`<${I}${s("color",u)}>${f}</${I}>`}else if(d==="span"){const f=T(o,{...n,used:$}),p=o[0];r+=`<span${s("color",p?.styles.color)}${s("bg",p?.styles.background)}>${f}</span>`}else{const f=T(o,{...n,used:$}),p=k[d],x=Array.from(h),D=t===0&&c===e.length,P=n.used.has("bold")||n.used.has("italic")||n.used.has("strike"),O=w=>w!==void 0&&A.every(y=>$.has(y)||g(w,y)===void 0),z=d==="bold"&&o.every(w=>w.styles.italic===!0&&A.every(y=>y==="italic"||$.has(y)||g(w,y)===void 0)),H=p!==void 0&&_(x[0])&&_(x.at(-1))&&!h.includes(`
|
|
7
|
+
`)&&i&&q&&(!P||D&&d==="italic"&&n.used.has("bold"))&&(O(o[0])&&O(o.at(-1))||z);r+=H?`${p}${f}${p}`:`<${W[d]}>${f}</${W[d]}>`}i=!1,t=c}return r}function ee(e){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 l(e,n=!1,r=n){const t=e.filter(d=>d.text!==""||d.href!==void 0).map((d,u,c)=>{if(d.note===void 0)return d;const o=c.slice(0,u).findLast($=>$.note===void 0);return o===void 0?d:{...d,styles:{...o.styles},...o.href===void 0?{}:{href:o.href}}}),i=T(t,{inTable:n,oneLine:r,used:new Set}),a=d=>d.replace(/ +$/,"").replace(/^ +/,u=>" ".repeat(u.length));return r?a(i):i.split(`
|
|
8
|
+
`).map(d=>ee(a(d))).join(`
|
|
9
|
+
`)}const v=(e,n)=>e.split(`
|
|
10
10
|
`).map((r,t)=>t===0||r===""?r:`${n}${r}`).join(`
|
|
11
|
-
`),m=e=>e.type==="bullet"||e.type==="numbered"||e.type==="check",
|
|
11
|
+
`),m=e=>e.type==="bullet"||e.type==="numbered"||e.type==="check",ne=e=>`${s("align",e?.align)}${s("color",e?.color)}${s("bg",e?.background)}`,te=e=>e!==void 0&&Object.keys(e).length>0;function S(e){return!("content"in e)||e.type==="callout"?!1:te(e.look)||e.type==="toggle"||e.type==="heading"&&e.toggle?!0:(e.type==="paragraph"||e.type==="heading")&&(e.children?.length??0)>0}function re(e){const n=Math.max(2,...(e.match(/^\s*`{3,}/gm)??[]).map(r=>r.trim().length));return"`".repeat(n+1)}function se(e,n,r){const t=e.type==="numbered"?`${String(n)}${r} `:e.type==="check"?`- [${e.checked?"x":" "}] `:"- ",i=" ".repeat(e.type==="numbered"?t.length:2),a=e.children??[],d=l(e.content)||(e.type==="check"&&(e.children??[]).length===0?"<br />":"");if(a.length===0)return`${t}${v(d,i)}`.trimEnd();const u=d===""?"<br />":d,[c]=a,o=c!==void 0&&m(c)&&l(c.content)!==""&&!(c.type==="numbered"&&(c.start??1)!==1),$=a.every(m)&&d!==""&&o;return`${t}${v(u,i)}${$?`
|
|
12
12
|
`:`
|
|
13
13
|
|
|
14
|
-
`}${i}${
|
|
14
|
+
`}${i}${v(writeBlocks(a),i)}`}function ie(e){switch(e.type){case"paragraph":{const n=l(e.content);return n===""?"<br />":n}case"heading":return`${"#".repeat(e.level)} ${l(e.content,!1,!0).replace(/(^| )(#+)$/,"$1\\$2")}`.trimEnd();case"toggle":return l(e.content)||"<br />";case"quote":{const n=l(e.content);return(e.children?.length?[n===""?"<br />":n,writeBlocks(e.children)]:[n]).join(`
|
|
15
15
|
|
|
16
16
|
`).split(`
|
|
17
17
|
`).map(t=>t===""?">":`> ${t}`).join(`
|
|
18
|
-
`)}case"callout":{const n=
|
|
18
|
+
`)}case"callout":{const n=l(e.content),r=[n===""?"<br />":n,...e.children?.length?[writeBlocks(e.children)]:[]].join(`
|
|
19
19
|
|
|
20
|
-
`);return`<${
|
|
20
|
+
`);return`<${M}${s("icon",e.icon)}${s("color",e.look?.color)}${s("bg",e.look?.background)}>
|
|
21
21
|
|
|
22
22
|
${r}
|
|
23
23
|
|
|
24
|
-
</${
|
|
24
|
+
</${M}>`}case"card":{const n=e.children?.length?writeBlocks(e.children):"";return`<${E}${s("title",e.title)}${s("subtitle",e.subtitle)}>
|
|
25
|
+
|
|
26
|
+
${n===""?"<br />":n}
|
|
27
|
+
|
|
28
|
+
</${E}>`}case"stats":return[`<${R}>`,...e.stats.map(n=>`<${J}${s("label",n.label)}${s("value",n.value)}${s("delta",n.delta)}${s("note",n.note)}${n.downIsGood?" down-is-good":""}${s("trend",n.trend?.join(","))} />`),`</${R}>`].join(`
|
|
29
|
+
`);case"code":{const n=re(e.code);return`${n}${e.language??""}
|
|
25
30
|
${e.code}
|
|
26
|
-
${n}`}case"image":{const n=e.src.replace(/[\s()<>\\]/g,t=>encodeURIComponent(t));if(e.width!==void 0||e.align!==void 0)return`<img${
|
|
27
|
-
`),
|
|
31
|
+
${n}`}case"image":{const n=e.src.replace(/[\s()<>\\]/g,t=>encodeURIComponent(t));if(e.width!==void 0||e.align!==void 0||e.id!==void 0)return`<img${s("src",e.src)}${s("alt",e.alt)}${s("title",e.caption)}${s("width",e.width===void 0?void 0:String(e.width))}${s("align",e.align)}${s("id",e.id)} />`;const r=e.caption===void 0?"":` "${e.caption.replace(/["\\]/g,"\\$&")}"`;return``}case"table":{const n=Math.max(1,...e.rows.map(u=>u.length)),r=u=>`| ${Array.from({length:n},(c,o)=>l(u[o]??[],!0)).join(" | ")} |`,[t,...i]=e.rows,a=[r(t??[]),`| ${Array.from({length:n},()=>"---").join(" | ")} |`,...i.map(r)].join(`
|
|
32
|
+
`),d=e.widths?.some(u=>u!==null)?e.widths.map(u=>u===null?"":String(u)).join(","):void 0;return d===void 0&&e.head===void 0&&e.caption===void 0&&e.id===void 0?a:`<${U}${s("widths",d)}${s("head",e.head)}${s("caption",e.caption)}${s("id",e.id)}>
|
|
28
33
|
|
|
29
34
|
${a}
|
|
30
35
|
|
|
31
|
-
</${
|
|
36
|
+
</${U}>`}case"divider":return"---";case"component":{const n=t=>t===void 0?void 0:String(t),r=Object.entries(e.props).map(([t,i])=>s(t,i)).join("");return`<${V}${s("of",e.of)}${s("width",n(e.width))}${s("height",n(e.height))}${s("at",n(e.at))}${r}${s("alt",e.alt)}${s("title",e.caption)}${s("align",e.align)}${s("id",e.id)} />`}case"chart":return de(e);case"pagebreak":return`<${Q}${s("orientation",e.orientation)} />`;case"bibliography":return`<${Z} />`;case"toc":return`<${X}${s("levels",e.levels===void 0?void 0:String(e.levels))}${s("title",e.title)} />`;case"note":{const n=l(e.content)||"<br />",r=e.children?.length?`
|
|
32
37
|
|
|
33
38
|
${writeBlocks(e.children).split(`
|
|
34
39
|
`).map(t=>t===""?t:` ${t}`).join(`
|
|
35
|
-
`)}`:"";return`[^${e.label}]: ${
|
|
40
|
+
`)}`:"";return`[^${e.label}]: ${v(n," ")}${r}`}case"columns":return[`<${N}>`,...e.columns.map(n=>{const r=writeBlocks(n.blocks);return`<${B}${s("width",n.width===void 0?void 0:String(n.width))}>
|
|
36
41
|
|
|
37
42
|
${r===""?"<br />":r}
|
|
38
43
|
|
|
39
|
-
</${
|
|
44
|
+
</${B}>`}),`</${N}>`].join(`
|
|
40
45
|
|
|
41
|
-
`);case"embed":case"source":return e.source}}function
|
|
42
|
-
`);return`<${
|
|
46
|
+
`);case"embed":case"source":return e.source}}function de(e){const n=$=>$===void 0?void 0:String($),r=$=>$===void 0?void 0:$.join(","),t=e.labels?.length===1&&e.labels[0]==="value"?" labels":s("labels",r(e.labels)),i=[s("type",e.kind),s("title",e.title),s("data",e.data),s("categories",e.categories),s("series",r(e.series)),s("legend",e.legend),t,s("format",e.format),s("min",n(e.min)),s("max",n(e.max)),s("colors",r(e.colors)),e.smooth?" smooth":"",s("width",n(e.width)),s("height",n(e.height)),s("alt",e.alt),s("id",e.id)].join("");if(e.table===void 0)return`<${L}${i} />`;const a=Math.max(1,...e.table.map($=>$.length)),d=$=>`| ${Array.from({length:a},(h,j)=>G($[j]??"",!0)).join(" | ")} |`,[u,...c]=e.table,o=[d(u??[]),`| ${Array.from({length:a},()=>"---").join(" | ")} |`,...c.map(d)].join(`
|
|
47
|
+
`);return`<${L}${i}>
|
|
43
48
|
|
|
44
|
-
${
|
|
49
|
+
${o}
|
|
45
50
|
|
|
46
|
-
</${
|
|
51
|
+
</${L}>`}export function frontMatterOf(e){const n=F(e);if(Object.keys(n).length===0)return"";const r=new K(n);return Y(r,{Seq:(t,i)=>{i.flow=!0},Map:(t,i,a)=>{a.length>1&&(i.flow=!0)}}),r.toString({lineWidth:0}).trimEnd()}export function withPage(e,n){const r=frontMatterOf(n),t=r===""?"":`---
|
|
47
52
|
${r}
|
|
48
|
-
---`,i=e.frontMatter;if(i===void 0){if(t==="")return e.source;const
|
|
53
|
+
---`,i=e.frontMatter;if(i===void 0){if(t==="")return e.source;const d=e.source.replace(/^\s+/u,"");return d===""?`${t}
|
|
49
54
|
`:`${t}
|
|
50
55
|
|
|
51
|
-
${
|
|
56
|
+
${d}`}const a=e.source.slice(i.end).replace(/^\s+/u,"");return t===""?a:a===""?`${t}
|
|
52
57
|
`:`${t}
|
|
53
58
|
|
|
54
|
-
${a}`}function
|
|
59
|
+
${a}`}function ae(e){const n=e.type==="toggle"||e.type==="heading"&&e.toggle,{children:r}=e,t={...e};delete t.look,delete t.children;const i=t.type==="toggle"?{type:"paragraph",content:t.content}:t.type==="heading"?{type:"heading",level:t.level,content:t.content}:t,a=m(i)||i.type==="quote",d=writeBlocks(a?[{...i,...r?{children:r}:{}}]:[i,...r??[]]);return`<${C}${ne(e.look)}${n?" toggle":""}>
|
|
55
60
|
|
|
56
|
-
${
|
|
61
|
+
${d}
|
|
57
62
|
|
|
58
|
-
</${
|
|
63
|
+
</${C}>`}export function continuesList(e,n){return m(e)&&m(n)&&!S(e)&&!S(n)&&e.type==="numbered"==(n.type==="numbered")&&!(n.type==="numbered"&&n.start!==void 0)}export function writeBlocks(e){const n=[];let r=0,t;for(;r<e.length;){const i=e[r];if(i===void 0)break;if(S(i)){n.push(ae(i)),t=void 0,r++;continue}if(!m(i)){n.push(r===0&&i.type==="divider"?"***":ie(i)),t=void 0,r++;continue}const a=i.type==="numbered",d=i.type==="numbered"?i.start??1:1,u=a&&t==="."?")":".",c=[];let o=r;for(;o<e.length;){const h=e[o];if(h===void 0||!m(h)||S(h)||h.type==="numbered"!==a||o>r&&!continuesList(i,h))break;c.push(se(h,d+(o-r),u)),o++}const $=c.some(h=>h.includes(`
|
|
59
64
|
|
|
60
|
-
`));n.push(
|
|
65
|
+
`));n.push(c.join($?`
|
|
61
66
|
|
|
62
67
|
`:`
|
|
63
|
-
`)),t=a?u:void 0,r=
|
|
68
|
+
`)),t=a?u:void 0,r=o}return n.join(`
|
|
64
69
|
|
|
65
70
|
`)}
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
AllyHub Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AllyHub, Inc. ("AllyHub"). All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software (the AllyHub command-line tool, its SDK, runtime and the
|
|
6
|
+
packages they depend on) is proprietary. It is not open source.
|
|
7
|
+
|
|
8
|
+
1. Permitted use. You may install and run the software, unmodified, to make,
|
|
9
|
+
check, preview and render videos and decks, including for commercial
|
|
10
|
+
purposes. What you make with it is yours.
|
|
11
|
+
|
|
12
|
+
2. Restrictions. Except as this license permits or applicable law requires,
|
|
13
|
+
you may not copy, modify, adapt, translate, sublicense, sell, rent, lease,
|
|
14
|
+
publish or otherwise distribute the software, create derivative works of
|
|
15
|
+
it, or reverse engineer, decompile or disassemble it.
|
|
16
|
+
|
|
17
|
+
3. Cloud services. AllyHub's cloud tools (sign-in, research, images, voice,
|
|
18
|
+
video) are separate services governed by AllyHub's terms of service.
|
|
19
|
+
|
|
20
|
+
4. Trademarks. This license grants no right to use the name "AllyHub" or its
|
|
21
|
+
logos.
|
|
22
|
+
|
|
23
|
+
5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
24
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
26
|
+
ALLYHUB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
|
|
28
|
+
|
|
29
|
+
6. Third-party code. Parts of the software are adapted from HyperFrames,
|
|
30
|
+
licensed under the Apache License, Version 2.0 (see NOTICE). Those parts
|
|
31
|
+
remain under that license, reproduced below, and nothing in this license
|
|
32
|
+
limits your rights under it.
|
|
33
|
+
|
|
34
|
+
7. Starter components. The starter components in the "components" folder,
|
|
35
|
+
which "allyhub add" copies into your workspace, are licensed under the MIT
|
|
36
|
+
License (see components/LICENSE): once copied, you may change, use and
|
|
37
|
+
share them freely.
|
|
38
|
+
|
|
39
|
+
--------------------------------------------------------------------------------
|
|
40
|
+
|
|
41
|
+
Apache License
|
|
42
|
+
Version 2.0, January 2004
|
|
43
|
+
http://www.apache.org/licenses/
|
|
44
|
+
|
|
45
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
46
|
+
|
|
47
|
+
1. Definitions.
|
|
48
|
+
|
|
49
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
50
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
51
|
+
|
|
52
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
53
|
+
the copyright owner that is granting the License.
|
|
54
|
+
|
|
55
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
56
|
+
other entities that control, are controlled by, or are under common
|
|
57
|
+
control with that entity. For the purposes of this definition,
|
|
58
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
59
|
+
direction or management of such entity, whether by contract or
|
|
60
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
61
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
62
|
+
|
|
63
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
64
|
+
exercising permissions granted by this License.
|
|
65
|
+
|
|
66
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
67
|
+
including but not limited to software source code, documentation
|
|
68
|
+
source, and configuration files.
|
|
69
|
+
|
|
70
|
+
"Object" form shall mean any form resulting from mechanical
|
|
71
|
+
transformation or translation of a Source form, including but
|
|
72
|
+
not limited to compiled object code, generated documentation,
|
|
73
|
+
and conversions to other media types.
|
|
74
|
+
|
|
75
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
76
|
+
Object form, made available under the License, as indicated by a
|
|
77
|
+
copyright notice that is included in or attached to the work
|
|
78
|
+
(an example is provided in the Appendix below).
|
|
79
|
+
|
|
80
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
81
|
+
form, that is based on (or derived from) the Work and for which the
|
|
82
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
83
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
84
|
+
of this License, Derivative Works shall not include works that remain
|
|
85
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
86
|
+
the Work and Derivative Works thereof.
|
|
87
|
+
|
|
88
|
+
"Contribution" shall mean any work of authorship, including
|
|
89
|
+
the original version of the Work and any modifications or additions
|
|
90
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
91
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
92
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
93
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
94
|
+
means any form of electronic, verbal, or written communication sent
|
|
95
|
+
to the Licensor or its representatives, including but not limited to
|
|
96
|
+
communication on electronic mailing lists, source code control systems,
|
|
97
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
98
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
99
|
+
excluding communication that is conspicuously marked or otherwise
|
|
100
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
101
|
+
|
|
102
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
103
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
104
|
+
subsequently incorporated within the Work.
|
|
105
|
+
|
|
106
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
107
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
108
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
109
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
110
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
111
|
+
Work and such Derivative Works in Source or Object form.
|
|
112
|
+
|
|
113
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
114
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
115
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
116
|
+
(except as stated in this section) patent license to make, have made,
|
|
117
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
118
|
+
where such license applies only to those patent claims licensable
|
|
119
|
+
by such Contributor that are necessarily infringed by their
|
|
120
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
121
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
122
|
+
institute patent litigation against any entity (including a
|
|
123
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
124
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
125
|
+
or contributory patent infringement, then any patent licenses
|
|
126
|
+
granted to You under this License for that Work shall terminate
|
|
127
|
+
as of the date such litigation is filed.
|
|
128
|
+
|
|
129
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
130
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
131
|
+
modifications, and in Source or Object form, provided that You
|
|
132
|
+
meet the following conditions:
|
|
133
|
+
|
|
134
|
+
(a) You must give any other recipients of the Work or
|
|
135
|
+
Derivative Works a copy of this License; and
|
|
136
|
+
|
|
137
|
+
(b) You must cause any modified files to carry prominent notices
|
|
138
|
+
stating that You changed the files; and
|
|
139
|
+
|
|
140
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
141
|
+
that You distribute, all copyright, patent, trademark, and
|
|
142
|
+
attribution notices from the Source form of the Work,
|
|
143
|
+
excluding those notices that do not pertain to any part of
|
|
144
|
+
the Derivative Works; and
|
|
145
|
+
|
|
146
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
147
|
+
distribution, then any Derivative Works that You distribute must
|
|
148
|
+
include a readable copy of the attribution notices contained
|
|
149
|
+
within such NOTICE file, excluding those notices that do not
|
|
150
|
+
pertain to any part of the Derivative Works, in at least one
|
|
151
|
+
of the following places: within a NOTICE text file distributed
|
|
152
|
+
as part of the Derivative Works; within the Source form or
|
|
153
|
+
documentation, if provided along with the Derivative Works; or,
|
|
154
|
+
within a display generated by the Derivative Works, if and
|
|
155
|
+
wherever such third-party notices normally appear. The contents
|
|
156
|
+
of the NOTICE file are for informational purposes only and
|
|
157
|
+
do not modify the License. You may add Your own attribution
|
|
158
|
+
notices within Derivative Works that You distribute, alongside
|
|
159
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
160
|
+
that such additional attribution notices cannot be construed
|
|
161
|
+
as modifying the License.
|
|
162
|
+
|
|
163
|
+
You may add Your own copyright statement to Your modifications and
|
|
164
|
+
may provide additional or different license terms and conditions
|
|
165
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
166
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
167
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
168
|
+
the conditions stated in this License.
|
|
169
|
+
|
|
170
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
171
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
172
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
173
|
+
this License, without any additional terms or conditions.
|
|
174
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
175
|
+
the terms of any separate license agreement you may have executed
|
|
176
|
+
with Licensor regarding such Contributions.
|
|
177
|
+
|
|
178
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
179
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
180
|
+
except as required for reasonable and customary use in describing the
|
|
181
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
182
|
+
|
|
183
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
184
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
185
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
186
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
187
|
+
implied, including, without limitation, any warranties or conditions
|
|
188
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
189
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
190
|
+
appropriateness of using or redistributing the Work and assume any
|
|
191
|
+
risks associated with Your exercise of permissions under this License.
|
|
192
|
+
|
|
193
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
194
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
195
|
+
unless required by applicable law (such as deliberate and grossly
|
|
196
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
197
|
+
liable to You for damages, including any direct, indirect, special,
|
|
198
|
+
incidental, or consequential damages of any character arising as a
|
|
199
|
+
result of this License or out of the use or inability to use the
|
|
200
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
201
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
202
|
+
other commercial damages or losses), even if such Contributor
|
|
203
|
+
has been advised of the possibility of such damages.
|
|
204
|
+
|
|
205
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
206
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
207
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
208
|
+
or other liability obligations and/or rights consistent with this
|
|
209
|
+
License. However, in accepting such obligations, You may act only
|
|
210
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
211
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
212
|
+
defend, and hold each Contributor harmless for any liability
|
|
213
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
214
|
+
of your accepting any such warranty or additional liability.
|
|
215
|
+
|
|
216
|
+
END OF TERMS AND CONDITIONS
|
|
217
|
+
|
|
218
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
219
|
+
|
|
220
|
+
To apply the Apache License to your work, attach the following
|
|
221
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
222
|
+
replaced with your own identifying information. (Don't include
|
|
223
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
224
|
+
comment syntax for the file format. We also recommend that a
|
|
225
|
+
file or class name and description of purpose be included on the
|
|
226
|
+
same "printed page" as the copyright notice for easier
|
|
227
|
+
identification within third-party archives.
|
|
228
|
+
|
|
229
|
+
Copyright [yyyy] [name of copyright owner]
|
|
230
|
+
|
|
231
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
232
|
+
you may not use this file except in compliance with the License.
|
|
233
|
+
You may obtain a copy of the License at
|
|
234
|
+
|
|
235
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
236
|
+
|
|
237
|
+
Unless required by applicable law or agreed to in writing, software
|
|
238
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
239
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
240
|
+
See the License for the specific language governing permissions and
|
|
241
|
+
limitations under the License.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as S}from"node:fs/promises";import{join as D,posix as m}from"node:path";import{problem as d}from"@allyhub/diagnostics";import{parseComponentRef as J,readPropsText as W,stageName as q}from"@allyhub/build";import{DRAWN_CODE as x,citedKeys as B,docChart as P,everyBlock as v,readSources as U,mathHtml as G,parseDoc as C,shownBlocks as H,splitTitle as X,titleText as _}from"@allyhub/doc";const z=180,Q=/^([a-z][a-z0-9+.-]*:|\/\/)/iu;function V(r){for(const o of r){if(o.type!=="paragraph")continue;const t=o.content.map(i=>i.text).join("").replace(/\s+/gu," ").trim();if(t!=="")return t.length>z?`${t.slice(0,z-1)}…`:t}}function*E(r){let o=0,t=1;for(const i of r.segments){for(;o<i.start;o++)r.source[o]===`
|
|
3
|
+
`&&t++;for(const h of i.blocks)for(const s of v([h]))yield{block:s,line:t}}}function O(r){const o=new Map;return(t,i,h)=>{const s=`${t}#${i}`;let n=o.get(s);return n||(n=(async()=>{if(!r)return{};const a=await r.request({type:"component",file:t,name:i});if(h.push(...a.problems),!a.ok)return{not:a.error??`${t} could not be read`};const u=a.value;return u.not===void 0?{props:u.props??{}}:{not:u.not}})(),o.set(s,n)),n}}async function R(r,o,t,i,h){const s=[],n=o.entry,a=C(await S(D(r,n),"utf8"));for(const e of a.problems)s.push(d("AK-M008",`${n}: ${e.message}.`,{where:{file:n,...e.line===void 0?{}:{line:e.line}}}));const u=X(H(a.blocks)),M=_(u.title).trim()||void 0,b=V(u.body),g=new Set,L=[...a.page.cover===void 0?[]:[a.page.cover],...[...v(a.blocks)].flatMap(e=>e.type==="image"?[e.src]:[])];for(const e of L){if(Q.test(e))continue;const c=m.normalize(m.join(o.dir,decodeURIComponent(e)));g.add(c),t.has(c)||s.push(d("AK-M008",`${n} shows the picture ${e}, which is not in the project (${c}).`,{where:{file:n}}))}const j=new Map;for(const{block:e,line:c}of E(a)){if(e.type!=="component")continue;const p={where:{file:n,line:c}},$=J(e.of);if(!$){s.push(d("AK-M008",`${n}: of="${e.of}" names no component: write the module's path from the doc's folder and its export (../../components/ui.ts#Dialog).`,p));continue}const f=m.normalize(m.join(o.dir,$.path));if(!t.has(f)){s.push(d("AK-M008",`${n} shows the component ${e.of}, whose module is not in the project (${f}).`,p));continue}const l=await i(f,$.name,s);if(l.not!==void 0){s.push(d("AK-M008",`${n}: ${l.not}.`,p));continue}if(l.props)for(const I of W({name:$.name,props:l.props},e.props).problems)s.push(d("AK-M008",`${n}: ${I}.`,p));j.set(e.of,{of:e.of,module:f,name:$.name,...l.props?{props:l.props}:{}})}const A={};for(const{block:e,line:c}of E(a)){const p={where:{file:n,line:c}};if(e.type==="code"&&e.language===x.math){const{error:f}=G(e.code);f!==void 0&&s.push(d("AK-M008",`${n}: an equation: ${f}.`,p));continue}if(e.type!=="chart")continue;if(e.data!==void 0){const f=m.normalize(m.join(o.dir,e.data)),l=h[f];if(l===void 0){s.push(d("AK-M008",`${n}: a chart reads ${e.data}, which is not a data file or a sheet's table of the project (${f}).`,p));continue}if(l.error!==void 0){s.push(d("AK-M008",`${n}: a chart reads ${e.data}, which cannot be read: ${l.error}.`,p));continue}A[e.data]=l.value,t.has(f)&&g.add(f)}const $=P(e,{base:o.dir,data:f=>A[f]});for(const f of $.problems)s.push(d("AK-M008",`${n}: the chart${e.title===void 0?"":` "${e.title}"`}: ${f}.`,p))}let y,k;const w=a.page.bibliography,K=B(a.blocks);if(w!==void 0){const e=m.normalize(m.join(o.dir,decodeURIComponent(w)));if(k=e,!t.has(e))s.push(d("AK-M008",`${n}: its bibliography ${w} is not in the project (${e}).`,{where:{file:n}}));else{g.add(e);try{const c=JSON.parse(await S(D(r,e),"utf8"));if(!Array.isArray(c))throw new Error("not a list of sources");y=U(c)}catch(c){s.push(d("AK-M008",`${n}: its bibliography ${w} is not CSL-JSON (a list of sources, each with an id): ${c instanceof Error?c.message:String(c)}.`,{where:{file:n}}))}}}if(K.length>0){const e=new Set((y??[]).map(p=>p.id)),c=K.filter(p=>!e.has(p));w===void 0?s.push(d("AK-M008",`${n} cites ${K.map(p=>`@${p}`).join(", ")}: name its sources' CSL-JSON file in its front matter (bibliography: ./references.json).`,{where:{file:n}})):y!==void 0&&c.length>0&&s.push(d("AK-M008",`${n} cites ${c.map(p=>`@${p}`).join(", ")}, which ${w} does not hold.`,{where:{file:n}}))}const T={dir:o.dir,place:o.id,file:n,...M?{title:M}:{},...b?{glimpse:b}:{},shows:[...g],components:[...j.values()],data:A,...y===void 0?{}:{sources:y}},F=[...[...g].map(e=>({path:e,role:"shows"})),...k===void 0?[]:[{path:k,role:"sources"}]];return{doc:T,problems:s,files:F}}export async function readDocs(r,o,t,i,h={}){const s=new Set(t),n=O(i),a=[],u=[];for(const M of o){const b=await R(r,M,s,n,h);a.push(b.doc),u.push(...b.problems)}return{docs:a,problems:u}}const N=new WeakMap,Y={async read(r,o){let t=N.get(o.meta);t||(t={known:new Set(o.files),reads:O(o.meta)},N.set(o.meta,t));const{doc:i,problems:h,files:s}=await R(o.root,r,t.known,t.reads,o.data);return{doc:i,problems:h,files:s,...i.components.length>0?{stage:{name:q(i.place),of:i.file,components:i.components}}:{}}},unreadable(r){const o=C(r),t=o.blocks.length===0?o.problems[0]:void 0;return t&&r.trim()!==""?[`not MDX${t.line===void 0?"":` (line ${String(t.line)})`}: ${t.message}`]:[]},render:async(r,o)=>(await import("./export.js")).renderDocFiles(r,o)};export default Y;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as x,writeFile as p}from"node:fs/promises";import{dirname as C,join as O,relative as w}from"node:path";import{z as t}from"zod";import{PROJECT_DIR as j,defineCliCommand as v}from"@allyhub/build";import{COVER_NAMES as a,COVER_WORDS as E,coverFileName as s,coverSvg as $,parseDoc as F,withPage as R}from"@allyhub/doc";import{CommandError as b,EXIT as y}from"@allyhub/protocol";import{findDoc as D}from"./find.js";export const docCoverList=v({input:t.strictObject({}),output:t.looseObject({}),examples:["allyhub doc cover list"],run(){const o=a.map(e=>({name:e,words:E[e],file:s(e)})),n=Math.max(...a.map(e=>e.length));return Promise.resolve({value:{covers:o},text:o.map(e=>`${e.name.padEnd(n)} ${e.words}`).join(`
|
|
3
|
+
`)})}}),docCoverSet=v({input:t.strictObject({doc:t.string().describe("The doc, by its file or its id in allyhub.yaml"),name:t.enum(a).describe(`The cover (allyhub doc cover list): ${a.join(", ")}`),dir:j}),positional:["doc","name"],output:t.looseObject({}),examples:["allyhub doc cover set plan dots","allyhub doc cover set reports/q3 lake"],async run(o,n){const e=await n.root(o.dir),r=await D(e,n.cwd,o.doc);if(r===void 0)throw new b("not-found",`${o.doc} is not a doc.`,{exit:y.notFound,hint:"Name a doc by its file or its id in allyhub.yaml."});const d=await x(r,"utf8"),i=F(d),g=i.frontMatter===void 0?0:d.slice(0,i.frontMatter.end).split(`
|
|
4
|
+
`).length,l=i.problems.find(h=>h.line!==void 0&&h.line<=g);if(l!==void 0)throw new b("bad-front-matter",l.message,{exit:y.usage,hint:"Fix the front matter first (allyhub check names what is wrong)."});const m=O(C(r),s(o.name));await p(m,$(o.name));const c=`./${s(o.name)}`,f={...i.page,cover:c};delete f.coverY,await p(r,R(i,f));const u=w(e,r);return{value:{doc:u,cover:c,file:w(e,m)},text:`${u}: cover ${c}`}}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as f,stat as w}from"node:fs/promises";import{join as u,relative as k,resolve as b,sep as y}from"node:path";import{readWork as x}from"@allyhub/build";import{componentDraws as D,everyBlock as $,parseDoc as m}from"@allyhub/doc";import{itemIdOf as j,listedWork as v}from"@allyhub/formats";import{CommandError as W,EXIT as B}from"@allyhub/protocol";const C=/\.mdx?$/iu;export async function findDoc(r,i,c){const t=b(i,c),o=k(r,t).split(y).join("/"),a=v((await x(r)).work);if(C.test(t)&&(await w(t).catch(()=>{}))?.isFile())return a.some(s=>s.file===o&&s.kind!=="doc")?void 0:t;const e=new Set([o,c.replace(/^\.\//u,"").replace(/\/+$/u,"")]),n=a.find(s=>s.kind==="doc"&&e.has(j(s.file)));return n===void 0?void 0:u(r,n.file)}export function pagesOf(r){const i=[];for(const c of r.split(",")){const t=/^\s*(\d+)\s*(?:-\s*(\d+)\s*)?$/u.exec(c),o=Number(t?.[1]),a=t?.[2]===void 0?o:Number(t[2]);if(!t||o<1||a<o)throw new W("bad-page",`Cannot read the pages "${r}".`,{exit:B.usage,hint:"Write pages from 1, joined with commas: --page 2, --page 2-4, --page 1,5."});for(let e=o;e<=a;e++)i.push(e)}return i}export async function fromBuild(r,i,c){const t=await f(r,"utf8"),o=e=>e.type==="component"||e.type==="chart"&&e.data!==void 0,a=m(t);return![...$(a.blocks)].some(o)&&a.page.bibliography===void 0?{}:c(async e=>{const n=e.prepared.docs.find(h=>h.place===i);if(!n)return{};const s=e.prepared.messages.locales[0],d=n.components.length===0?[]:D(m(await f(u(e.prepared.root,n.file),"utf8")).blocks),p=s===void 0?{}:{lang:s},l=d.length===0?void 0:await e.componentStills(n,d,p),g=d.length===0?void 0:await e.componentMeasures?.(n,d,p);return{stills:l,measures:g,data:n.data,sources:n.sources}})}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{mkdir as i,writeFile as c}from"node:fs/promises";import{dirname as s,extname as p,join as a,resolve as m}from"node:path";import{WORK_DIR as u}from"@allyhub/formats";const o=()=>process.env.ALLYHUB_TEST_EXACT_PICTURES==="1";export const looks=()=>o()?"png":"webp";export function picturePath(e,r,n){const t=r===void 0?n:m(e,r);return o()?t:`${t.slice(0,t.length-p(t).length)}.webp`}export const workPath=(e,...r)=>a(e,u,...r);export async function save(e,r){return await i(s(e),{recursive:!0}),await c(e,r),e}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{createHash as M}from"node:crypto";import{mkdir as $,readFile as x,writeFile as D}from"node:fs/promises";import{basename as P,dirname as d,join as p}from"node:path";import{componentDraws as W,componentDrawingKey as O,markdownOf as j,parseDoc as F}from"@allyhub/doc";import{renderDoc as k,renderWord as z}from"@allyhub/doc-print";import{createPackages as C}from"@allyhub/runtimes";export const DOC_TYPES=["pdf","docx","png","md"];async function E(l){const s=C(),e=()=>l?.("Getting docx, once, to write Word documents…"),[i,a]=await Promise.all([s.load("docx",{onFetch:e}),s.load("docx",{module:"fflate",onFetch:e})]);return{docx:i,zip:a}}export async function renderDocFiles(l,s){const e=s.prepared.docs.find(t=>t.place===l.id);if(!e||s.types.length===0)return[];const{root:i,log:a,types:f}=s;a?.(`Rendering ${e.file}…`);const c=[],g={file:e.file,dir:e.dir,path:e.place,title:e.title,data:e.data,sources:e.sources},h=s.prepared.messages.locales[0],m=e.components.length===0?new Map:await s.session.componentStills(e,W(F(await x(p(s.prepared.root,e.file),"utf8")).blocks),h===void 0?{}:{lang:h});if(f.includes("md")){const t=s.out("md"),o=F(await x(p(i,e.file),"utf8"));await $(d(t),{recursive:!0});const r=`${P(t,".md")}.assets`,w=new Map;for(const[n,v]of m){const b=`${M("sha256").update(n).digest("hex").slice(0,16)}.webp`;await $(p(d(t),r),{recursive:!0}),await D(p(d(t),r,b),v),w.set(n,`${r}/${b}`)}await D(t,j(o.blocks,{page:o.page,component:n=>w.get(O(n)),base:e.dir,data:n=>e.data[n],sources:e.sources})),c.push({type:"md",files:[t]})}if(f.includes("docx")){const t=s.out("docx");await z({root:i,doc:g,out:t,...await E(a),stills:m}),c.push({type:"docx",files:[t]})}const y=f.filter(t=>t==="pdf"||t==="png");if(y.length===0)return c;const u=s.out("pdf"),S=await k({root:i,doc:g,out:d(u),name:P(u,".pdf"),types:y,stills:m,onPrinted:t=>{const o=[...t.layout.blocks.values()].filter(r=>r.pastPaper>.1).length;o>0&&a?.(`${e.file}: ${String(o)} block${o===1?" runs":"s run"} past the paper's edge, which cuts ${o===1?"it":"them"}; allyhub inspect pages ${e.place} says where and by how much.`),t.settled||a?.(`${e.file}: its contents' page numbers did not hold after ${String(t.passes)} printings; one may be a page off.`)}});for(const t of S)c.push({type:t.endsWith(".png")?"png":"pdf",files:[p(d(u),t)]});return c}
|
|
@@ -0,0 +1,3 @@
|
|
|
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 f,EXIT as h}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,i)=>`${String(e)} ${i}${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,i){const s=await i.root(e.dir),r=await V(s,i.cwd,e.doc);if(r===void 0)throw new f("not-found",`${e.doc} is not a doc.`,{exit:h.notFound,hint:"Name a doc by its file or its id in allyhub.yaml."});for(const t of e.kind??[])if(!p.includes(t))throw new f("bad-kind",`A doc's pages give no fact of kind ${t}.`,{exit:h.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:j,measures:v,data:u,sources:L}=await W(r,a,t=>i.session(s,t)),g=new Map;for(const[t,P]of G(l.blocks)){const w=F.get(t);w!==void 0&&t.type!=="columns"&&g.set(P,String(w))}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:L},pages:A,stills:j,format:q(),outlines:g,onFetch:()=>{i.progress("Getting pdf.js, once, to draw a doc's pages…")}})}catch(t){throw t instanceof z?new f("not-found",t.message,{exit:h.notFound,hint:`Pages are 1 to ${String(t.count)}.`}):t}const m=J(l,n.layout,a,{headingLines:e.headingLines,shortChars:e.shortLine,all:e.all},[...K(l.blocks)].some(t=>t.type==="toc")?n.printing:void 0,v),d=I(m,{kinds:i.factKinds(e.kind,s)}),b=await Q(H(i.cwd,e.out,E(Y(s,"inspect",a),"pages.png")),n.picture);return{value:{doc:a,pages:n.count,paper:n.paper,picture:b,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(i.cwd,b)} (each block outlined and labelled by its line in the doc's file, the space at each page's foot shaded).`,`${$(d.length,"fact")}: measurements for you to judge, not problems; sizes are mm on the paper, lines are its file's; --json has every one.`,...i.factLines(d,{all:e.all})].join(`
|
|
3
|
+
`)}}}),x={pages:Z};export default x;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as g}from"node:fs/promises";import{join as h}from"node:path";import{defineProjectTool as d}from"@allyhub/build";import{componentDraws as O,parseDoc as y}from"@allyhub/doc";import{pagePictures as R,placesOf as b,printDoc as k}from"@allyhub/doc-print";import{RPC_ERROR as D,RpcError as P}from"@allyhub/protocol";import{DOC_TOOLS as l}from"./tools.js";async function m(c,s){const a=await c.prepared(),t=s.replace(/^\.?\/?/u,""),o=a.docs.find(r=>r.place===t||r.file===t);if(!o)throw new P(D.notFound,`${s} is not a doc.`);return{prepared:a,doc:o,place:o.place}}const S={"doc/data":d(l["doc/data"],async({item:c},s)=>{const{doc:a}=await m(s,c);return{data:a.data,...a.sources===void 0?{}:{sources:a.sources.map(t=>({...t}))}}}),"doc/pages":d(l["doc/pages"],async({item:c,width:s},a)=>{const{prepared:t,doc:o,place:r}=await m(a,c),i=t.messages.locales[0],f=o.components.length===0?new Map:await a.componentStills(o,O(y(await g(h(t.root,o.file),"utf8")).blocks),i===void 0?{}:{lang:i}),n=await k({root:a.root,doc:{file:o.file,dir:o.dir,path:r,data:o.data,sources:o.sources},stills:f}),{pages:p}=n.layout,u=await R(n,p.map(e=>e.n),s??900);return{pages:p.map((e,w)=>({n:e.n,width:e.width,height:e.height,landscape:e.landscape,image:{mime:"image/webp",data:(u[w]??Buffer.alloc(0)).toString("base64")}})),blocks:[...n.layout.blocks.values()].map(e=>({n:e.n,places:b(e)}))}})};export default S;
|
|
@@ -0,0 +1,2 @@
|
|
|
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 r,PathSchema as e,method as a,toolCaller as s}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()}),"The numbers a doc's charts read from the project's files (a sheet's table, a CSV, a data file of rows): 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:r})),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=s(DOC_TOOLS);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as r}from"node:fs/promises";import{join as c}from"node:path";import{componentAt as f,everyBlock as u,parseDoc as s,splitTitle as a,titleText as p}from"@allyhub/doc";export const PREVIEW_DEFAULTS={lines:4,chars:240};function l(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 h=(t,n)=>t.length<=n?t:`${t.slice(0,n-1).trimEnd()}…`;export function docPreview(t){const{body:n}=a(s(t).blocks),e=[];for(const i of n){const o=l(i);if(o!==void 0&&e.push(h(o,PREVIEW_DEFAULTS.chars)),e.length===PREVIEW_DEFAULTS.lines)break}return{type:"text",lines:e}}export async function docTitle(t,n){try{const e=await r(c(t,n.entry),"utf8");return p(a(s(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 r(c(n,t.entry),"utf8").catch(()=>{});if(i===void 0)return{};const o=[];for(const d of u(s(i).blocks))d.type==="component"&&o.push(f(d));return o.length===0?{}:{stills:[{version:"",components:o}]}}export function activate(t){t.subscriptions.push(t.allyhub.kinds.registerKindProvider("doc",{preview:async(n,{root:e})=>docPreview(await r(c(e,n.entry),"utf8")),title:(n,{root:e})=>docTitle(e,n),snapshot:(n,e)=>docSnapshot(n,e)}))}
|