allyhub 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/allyhub.js +10 -0
- package/dist/args.js +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +1 -1
- package/dist/commands/align.js +1 -1
- package/dist/commands/auth.js +1 -1
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +2 -2
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/contributed.js +1 -1
- package/dist/commands/dev.js +5 -5
- package/dist/commands/export.js +3 -0
- package/dist/commands/found-extensions.js +2 -0
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +9 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/combos.js +1 -1
- package/dist/commands/inspect/common.js +3 -3
- package/dist/commands/inspect/facts.js +2 -2
- package/dist/commands/inspect/index.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/views.js +1 -1
- package/dist/commands/list.js +2 -0
- package/dist/commands/mail.js +1 -1
- package/dist/commands/migrate.js +3 -0
- package/dist/commands/run-context.js +2 -0
- package/dist/commands/skills.js +3 -3
- package/dist/commands/upgrade.js +5 -0
- package/dist/commands.json +1 -0
- package/dist/fields.js +1 -1
- package/dist/help.js +3 -3
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +4 -3
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
- package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
- package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
- package/dist/node_modules/@allyhub/blocks/package.json +19 -0
- package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
- package/dist/node_modules/@allyhub/build/package.json +13 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
- package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
- package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
- package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
- package/dist/node_modules/@allyhub/cloud/package.json +5 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
- package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
- package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
- package/dist/node_modules/@allyhub/doc/package.json +5 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
- package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
- package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +36 -10
- package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
- package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
- package/dist/node_modules/@allyhub/formats/package.json +25 -1
- package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
- package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
- package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
- package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
- package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +5 -1
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
- package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
- package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +9 -3
- package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +5 -2
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +41 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
- package/dist/node_modules/@allyhub/render/package.json +9 -1
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/html.js +9 -9
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
- package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
- package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
- package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
- package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +7 -26
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
- package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +6 -6
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/x-extension/package.json +8 -4
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
- package/dist/package.json +14 -14
- package/dist/project.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/self-upgrade.js +2 -0
- package/dist/slot.js +4 -0
- package/dist/telemetry.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/update-notice.js +3 -0
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-Hy4-O0wN.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-43JEVxqz.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-7bFTl41n.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
- package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
- package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
- package/editor-web/assets/article-DHf6mOY_.js +7 -0
- package/editor-web/assets/article-Dns1-Xh-.js +3 -0
- package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
- package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
- package/editor-web/assets/{blockDiagram-RJAE7QA3-DcoNo1WH.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
- package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
- package/editor-web/assets/{c4Diagram-XDPPPE54-CsMt61gx.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
- package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
- package/editor-web/assets/channel-CVWSV3su.js +1 -0
- package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
- package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-fj-TJIRG.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-Du5cRy-Y.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BHXxBBtm.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-R5HW6X5I.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-C98F2BUb.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-NIGsJ2cK.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-BtHxtfW5.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-BI8i7Vkk.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-DP_Z_zEA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-C_8bui28.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-CKZgzWB2.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-Ff4DgCht.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Csbx1-pi.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-BO1kcV3w.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-CxeNZYZG.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-D8eHQa5i.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
- package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
- package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
- package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
- package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-lIUY3WQQ.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-CFOOhEEs.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-DdHVup2I.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
- package/editor-web/assets/deck-DQpNIS2p.js +1 -0
- package/editor-web/assets/{diagram-CBK3MWTC-CFAD9Y2B.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-DZJAn95A.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-BcIeYTaY.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-CnZmh_fl.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-DpDd9rGx.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-ouGiUQcR.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
- package/editor-web/assets/dist--z0ZHp4T.js +16 -0
- package/editor-web/assets/dist-9kuRjUTN.js +41 -0
- package/editor-web/assets/dist-B3rd02Cg.js +6 -0
- package/editor-web/assets/dist-B5GOGGEe.js +1 -0
- package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
- package/editor-web/assets/dist-C4hHtrJr.js +1 -0
- package/editor-web/assets/dist-CCXJewsi.js +19 -0
- package/editor-web/assets/dist-CfK2BLl8.js +4 -0
- package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
- package/editor-web/assets/dist-Cspf85KV.js +6 -0
- package/editor-web/assets/dist-DA72-4WB.js +82 -0
- package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
- package/editor-web/assets/dist-DIJnhQFK.js +9 -0
- package/editor-web/assets/dist-DOrGo1GD.js +19 -0
- package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
- package/editor-web/assets/dist-DjiCHlSu.js +35 -0
- package/editor-web/assets/dist-Do4a40Wn.js +19 -0
- package/editor-web/assets/dist-FKEWS3Co.js +547 -0
- package/editor-web/assets/dist-QKd2i6kG.js +5 -0
- package/editor-web/assets/dist-SGnOfLhx.js +24 -0
- package/editor-web/assets/dist-VmVB7tl4.js +3 -0
- package/editor-web/assets/{docx-draw-C4aiB8HI.js → docx-draw-L54blreB.js} +1 -1
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-HRjVlbUf.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BFmtKyOf.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-C9gcGEgK.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
- package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
- package/editor-web/assets/{eventmodeling-K75KTNOO-Bpma5Bdb.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
- package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-CE5ut4C3.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-Dva3iGx2.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-CJXFsAWp.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
- package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
- package/editor-web/assets/hint-CbwoSBMw.js +1 -0
- package/editor-web/assets/index-CXisi0Cj.css +2 -0
- package/editor-web/assets/index-wMlfx8aT.js +28 -0
- package/editor-web/assets/{info-OHQRW6UA-BY0AOfex.js → info-OHQRW6UA-CdPrqere.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-4Up1gMvC.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
- package/editor-web/assets/iso-UwGLGD3F.js +1 -0
- package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-BxV09WdR.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-zTJtIDPG.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
- package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
- package/editor-web/assets/{mermaid-parser.core-BWT9UQh_.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
- package/editor-web/assets/{mermaid.core-DFf_Vg5X.js → mermaid.core-BOln9YdH.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-BYexiugS.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
- package/editor-web/assets/minus-ngE8owxs.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-DX_kSrI6.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
- package/editor-web/assets/{pegDiagram-ECIUJNBX-I3SrcMLp.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-BmAFSw3E.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DIZKcme5.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
- package/editor-web/assets/progress-DZQTiRLv.js +6 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-CO3oSqpQ.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-D5CkFrrb.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BeKY1p0K.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-CIYV9_3-.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DN0zDl6d.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-Bd_GcO24.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-DlFoiMhb.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
- package/editor-web/assets/react-Byupo4pA.js +1 -0
- package/editor-web/assets/replace-CLLMtF4e.js +1 -0
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-LWAEz8Gy.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
- package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
- package/editor-web/assets/row-Bei9HNEe.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-B_pZGwUK.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
- package/editor-web/assets/schemas-C21MyseF.js +1 -0
- package/editor-web/assets/{iso-ahTwmFwH.js → schemas-DlRAoVtq.js} +1 -1
- package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
- package/editor-web/assets/search-D75Bi2GU.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-bNhyCq0C.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
- package/editor-web/assets/{session-Beijw9EK.js → session-BhClkDyr.js} +1 -1
- package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
- package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
- package/editor-web/assets/sound-DkR3qxSt.js +1 -0
- package/editor-web/assets/split-DBAbwPZ5.js +3 -0
- package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DI-oM3qz.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
- package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
- package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
- package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-awDmoLdW.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
- package/editor-web/assets/switch-DrZxoPQS.js +1 -0
- package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
- package/editor-web/assets/table-BW43XXVd.js +1 -0
- package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
- package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
- package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
- package/editor-web/assets/{timeline-definition-JXYKGLGB-CayduPvL.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
- package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
- package/editor-web/assets/{treeView-D4JQ5SDB-BVEuNzCO.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-BOB14HP3.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
- package/editor-web/assets/type-CvZ0HZsV.js +41 -0
- package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DxT99uaq.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CWUKom-r.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
- package/editor-web/assets/video-SJvDRCJK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-BAQyTneD.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CiIYz4lZ.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
- package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
- package/editor-web/assets/{words-0Ww2RyT4.js → words-BUlNNuH2.js} +3 -3
- package/editor-web/assets/words-zMedmPWc.js +3 -0
- package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-D_D5IGmd.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
- package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
- package/editor-web/index.html +9 -8
- package/package.json +3 -3
- package/CHANGELOG.md +0 -243
- package/dist/commands/render.js +0 -3
- package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
- package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
- package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
- package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
- package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
- package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
- package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
- package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
- package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
- package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
- package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
- package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
- package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
- package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
- package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
- package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
- package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
- package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
- package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
- package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
- package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
- package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
- package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -136
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
- package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
- package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
- package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
- package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
- package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -48
- package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
- package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
- package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
- package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
- package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
- package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
- package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
- package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
- package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
- package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
- package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
- package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
- package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
- package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
- package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
- package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
- package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
- package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
- package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
- package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
- package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
- package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
- package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
- package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
- package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
- package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
- package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
- package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
- package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
- package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
- package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
- package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
- package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
- package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
- package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
- package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
- package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
- package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
- package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
- package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
- package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
- package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
- package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
- package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
- package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
- package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
- package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
- package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
- package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
- package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
- package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
- package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
- package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
- package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
- package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
- package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
- package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
- package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
- package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
- package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
- package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
- package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
- package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
- package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
- package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
- package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
- package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
- package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -144
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
- package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
- package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
- package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
- package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
- package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -503
- package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
- package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
- package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
- package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
- package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -196
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
- package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
- package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
- package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
- package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
- package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
- package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
- package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
- package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
- package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
- package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
- package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
- package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
- package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
- package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
- package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
- package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
- package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
- package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
- package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
- package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
- package/editor-web/assets/article-CS48wwvk.js +0 -3
- package/editor-web/assets/article-Cyle57uq.js +0 -7
- package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
- package/editor-web/assets/calc-worker-BdHh5LXM.js +0 -45
- package/editor-web/assets/channel-HUlo15J7.js +0 -1
- package/editor-web/assets/chart-amT4lgX3.js +0 -2
- package/editor-web/assets/chart-file-CfbWK9l1.js +0 -1
- package/editor-web/assets/code-CD-CbJG9.js +0 -1
- package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
- package/editor-web/assets/deck-CtEtDHo2.js +0 -1
- package/editor-web/assets/dist-BBshIz1Q.js +0 -5
- package/editor-web/assets/dist-BI8QjOsV.js +0 -1
- package/editor-web/assets/dist-BajH5QfK.js +0 -24
- package/editor-web/assets/dist-Bl74xqMW.js +0 -19
- package/editor-web/assets/dist-BrUtQth3.js +0 -18
- package/editor-web/assets/dist-CN5A7Au2.js +0 -1
- package/editor-web/assets/dist-CcL6r6l3.js +0 -1
- package/editor-web/assets/dist-D2E3cgRP.js +0 -4
- package/editor-web/assets/dist-D3C6FyrO.js +0 -82
- package/editor-web/assets/dist-DGKjn59H.js +0 -16
- package/editor-web/assets/dist-NQNQ5HqZ.js +0 -17
- package/editor-web/assets/dist-SV0sOVIC.js +0 -43
- package/editor-web/assets/dist-YW8hS4IM.js +0 -9
- package/editor-web/assets/dist-Y_XZZa8q.js +0 -531
- package/editor-web/assets/dist-ZrBAbqyJ.js +0 -3
- package/editor-web/assets/dist-d4dayaWE.js +0 -17
- package/editor-web/assets/dist-elglzHMT.js +0 -6
- package/editor-web/assets/dist-hHcrvNn9.js +0 -1
- package/editor-web/assets/esm-DzxAod8Q.js +0 -21
- package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +0 -1
- package/editor-web/assets/hint-rlht0uxG.js +0 -1
- package/editor-web/assets/index-Dvh1t1om.css +0 -2
- package/editor-web/assets/index-q7X6hdHp.js +0 -28
- package/editor-web/assets/minus-CbPnUIOy.js +0 -1
- package/editor-web/assets/progress-CwKcXARv.js +0 -6
- package/editor-web/assets/props-form-DUFxM5eb.js +0 -1
- package/editor-web/assets/react-Edyoga_4.js +0 -1
- package/editor-web/assets/row-C_svyL8o.js +0 -1
- package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
- package/editor-web/assets/search-Ba2BbT6T.js +0 -1
- package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
- package/editor-web/assets/snapshots-Dd0Wd_qM.js +0 -1
- package/editor-web/assets/sound-bTlco_K3.js +0 -1
- package/editor-web/assets/split-zARio3J8.js +0 -3
- package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
- package/editor-web/assets/surface-DtCjIlrq.js +0 -1
- package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
- package/editor-web/assets/swatch-DhztHwPU.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +0 -8
- package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
- package/editor-web/assets/table-DRbddzx0.js +0 -1
- package/editor-web/assets/tabs-BHBvbekZ.js +0 -1
- package/editor-web/assets/tag-CIfWT8B_.js +0 -1
- package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
- package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
- package/editor-web/assets/video-oJ3qa1Qv.js +0 -1
- package/editor-web/assets/words-XlXG79Ur.js +0 -3
- package/editor-web/assets/workbook-DznVDqoE.js +0 -45
- package/editor-web/assets/x-DlhyIKuu.js +0 -41
- /package/dist/node_modules/@allyhub/{protocol/dist/runtimes.js → runtimes/dist/schema.js} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as k}from"zod";import{CHART_LEGEND_POSITIONS as P,ChartAxisSchema as J,ChartSchema as T,colorOfFile as H}from"./slides.js";import{DIAGRAM_KIND_ALIASES as W,DIAGRAM_KINDS as E}from"./diagram-kinds.js";import{diagramFieldNames as Z,diagramWordFields as Y,readDiagram as V}from"./diagrams.js";import{NAMED_COLORS as q,roleOf as Q,toneOf as R,TONES as O}from"./tokens.js";import{FLOW_ITEM_ALIASES as U,FLOW_KIND_ALIASES as X,GANTT as ee,LINK as te,SANKEY as ne,SANKEY_MARKS as se,TASK as re}from"./blocks-flow.js";export const BLOCK_KINDS=["chart","table","stats","stat","card","tag","callout","icon","progress","timeline","steps","person","people","risk_matrix","sankey","gantt",...E];const w=t=>E.includes(t);export function fieldKey(t){return t.trim().replace(/([a-z0-9])([A-Z])/gu,"$1_$2").toLowerCase().replace(/[-\s]+/gu,"_")}const C={kpi:"stat",kpi_card:"stat",kpi_tile:"stat",metric:"stat",kpis:"stats",metrics:"stats",scorecard:"stats",tile:"card",panel:"card",badge:"tag",pill:"tag",chip:"tag",alert:"callout",admonition:"callout",notice:"callout",banner:"callout",glyph:"icon",gauge:"progress",meter:"progress",progress_bar:"progress",progressbar:"progress",milestones:"timeline",process:"steps",stepper:"steps",flow:"steps",avatar:"person",profile:"person",member:"person",team:"people",members:"people",graph:"chart",risk_grid:"risk_matrix",risk_map:"risk_matrix",impact_matrix:"risk_matrix",probability_impact:"risk_matrix",...X,...W};export function blockKindOf(t){const e=fieldKey(t);return BLOCK_KINDS.includes(e)?e:C[e]}export function blockKindNames(t){return[t,...Object.entries(C).filter(([,e])=>e===t).map(([e])=>e)]}export function isBlockReference(t){if(typeof t!="string")return!1;const e=t.trim();return isPathReference(e)?!0:/^=\S/u.test(e)||/^[A-Za-z_\\][\w.]*\[[^\]]+\]$/u.test(e)||/^(?:'[^']+'|[A-Za-z_][\w.]*)![A-Z]{1,3}\d+(?::[A-Z]{1,3}\d+)?$/u.test(e)}export function isPathReference(t){if(typeof t!="string")return!1;const e=t.trim();return/^(?:\.{1,2}\/|\/)\S+$/u.test(e)?e.includes("#")||/\.(?:csv|ya?ml|json)$/iu.test(e):/^[\w.-]+(?:\/[\w.-]+)*\.(?:csv|ya?ml|json)(?:#\S+)?$/iu.test(e)||/^[\w.-]+(?:\/[\w.-]+)+#\S+$/u.test(e)}const A={name:"alt",type:"words"},D={name:"orientation",type:{oneOf:{horizontal:"horizontal",row:"horizontal",across:"horizontal",vertical:"vertical",column:"vertical",down:"vertical"}},aliases:["direction"]},F={fields:[{name:"value",type:"figure",aliases:["figure","number","kpi","metric"],required:!0},{name:"label",type:"words",aliases:["title","name","caption"],required:!0},{name:"delta",type:"figure",aliases:["change","diff","vs"]},{name:"good",type:{oneOf:{up:"up",higher:"up",increase:"up",down:"down",lower:"down",decrease:"down"}},aliases:["direction"]},{name:"status",type:"tone-ref",aliases:["tone","rag"]},{name:"target",type:"figure",aliases:["goal","benchmark"]},{name:"min",type:"figure",aliases:["low","from","floor","scale_min","range_min"]},{name:"max",type:"figure",aliases:["high","to","ceiling","scale_max","range_max"]},{name:"note",type:"words",aliases:["subtitle","footnote","context"]},{name:"trend",type:"series",aliases:["sparkline","history"]},{name:"format",type:"string",aliases:["number_format"]},{name:"icon",type:"string"},A]},M={fields:[{name:"name",type:"words",required:!0},{name:"role",type:"words",aliases:["title","job","position","job_title"]},{name:"photo",type:"string",aliases:["image","avatar","picture","src"]},{name:"note",type:"words",aliases:["text","team"]},A]},ae={fields:[{name:"date",type:"string",aliases:["when","at","time"]},{name:"title",type:"words",aliases:["name","label","event"],required:!0},{name:"text",type:"words",aliases:["description","body"]},{name:"lane",type:"words",aliases:["track","row","group","stream"]},{name:"status",type:{oneOf:{done:"done",complete:"done",completed:"done",shipped:"done",current:"current",now:"current",active:"current",in_progress:"current",planned:"planned",next:"planned",todo:"planned",upcoming:"planned",future:"planned",...Object.fromEntries(O.map(t=>[t,t])),at_risk:"warning",risk:"warning",late:"bad",blocked:"bad"}},aliases:["state","tone"]}]},ie={fields:[{name:"title",type:"words",aliases:["name","label"],required:!0},{name:"text",type:"words",aliases:["description","body"]},{name:"icon",type:"string"}]},oe={fields:[{name:"label",type:"words",aliases:["number","name","id","title"],required:!0},{name:"row",type:"string",aliases:["y","impact","severity"],required:!0},{name:"column",type:"string",aliases:["x","likelihood","probability","col"],required:!0}]},I={stat:F,person:M,milestone:ae,step:ie,entry:oe,link:te,task:re},j={stat:F,stats:{fields:[A,{name:"columns",type:"number",aliases:["across","per_row"]}],item:"stat",list:!0},card:{fields:[{name:"eyebrow",type:"words",aliases:["kicker","overline","label"]},{name:"value",type:"figure",aliases:["metric","figure","number","kpi"]},{name:"caption",type:"words",aliases:["value_label","metric_label","unit"]},{name:"title",type:"words",aliases:["heading","name"]},{name:"subtitle",type:"words",aliases:["subheading"]},{name:"body",type:"words",aliases:["text","description","content"]},{name:"lines",type:"lines",aliases:["items","points","bullets","details","facts","list"]},{name:"icon",type:"string"},{name:"tag",type:"tag",aliases:["badge","pill","chip"]},{name:"featured",type:"bool",aliases:["highlight","highlighted","primary","emphasis"]},A]},tag:{fields:[{name:"text",type:"words",aliases:["label","value"],required:!0},{name:"status",type:"tone",aliases:["tone","variant"]},{name:"color",type:"color",aliases:["colour"]},A]},callout:{fields:[{name:"title",type:"words",aliases:["heading"]},{name:"text",type:"words",aliases:["body","content","message"]},{name:"tone",type:"callout-tone",aliases:["status","type","kind","variant"]},{name:"icon",type:"string",aliases:["emoji"]},A]},icon:{fields:[{name:"name",type:"string",aliases:["icon","glyph"],required:!0},{name:"size",type:"number"},{name:"color",type:"color",aliases:["colour"]},{name:"stroke",type:"number",aliases:["stroke_width"]},A]},progress:{fields:[{name:"value",type:"figure",aliases:["percent","current"],required:!0},{name:"of",type:"figure",aliases:["max","total"]},{name:"target",type:"figure",aliases:["goal"]},{name:"label",type:"words",aliases:["title"]},{name:"note",type:"words"},{name:"shape",type:{oneOf:{bar:"bar",linear:"bar",line:"bar",ring:"ring",circle:"ring",donut:"ring",doughnut:"ring",gauge:"ring",radial:"ring"}},aliases:["type","variant"]},{name:"status",type:"tone-ref",aliases:["tone"]},{name:"format",type:"string",aliases:["number_format"]},A]},timeline:{fields:[{name:"today",type:"string",aliases:["now"]},{name:"bands",type:{oneOf:{months:"months",month:"months",true:"months",quarters:"quarters",quarter:"quarters",none:"none",false:"none"}},aliases:["periods","scale","band"]},D,A],item:"milestone",list:!0},steps:{fields:[{name:"current",type:"string",aliases:["active"]},{name:"numbered",type:"bool"},D,A],item:"step",list:!0},person:M,people:{fields:[A],item:"person",list:!0},sankey:ne,gantt:ee,risk_matrix:{fields:[{name:"rows",type:"labels",aliases:["y_labels","row_labels","levels"],required:!0},{name:"columns",type:"labels",aliases:["x_labels","column_labels","cols"],required:!0},{name:"y",type:"words",aliases:["y_label","y_axis","row_title"]},{name:"x",type:"words",aliases:["x_label","x_axis","column_title"]},{name:"tones",type:{oneOf:{risk:"risk",heat:"risk",rag:"risk",none:"none",plain:"none",false:"none"}},aliases:["colors","colours","shading"]},A],item:"entry",list:!0}};function L(t){return t==="milestone"||t==="step"||t==="entry"||t==="link"||t==="task"?I[t]:j[t]}export function blockFieldNames(t){if(t==="chart")return Object.keys(T.shape);if(t==="table")return[...K];if(w(t))return Z(t);const e=L(t);return[...e.item?["items","data"]:[],...e.fields.map(s=>s.name)]}export function blockFieldInfo(t){return t==="chart"||t==="table"||w(t)?[]:L(t).fields.map(e=>typeof e.type=="object"?{name:e.name,type:"choice",choices:[...new Set(Object.values(e.type.oneOf))]}:e.type==="tone"||e.type==="tone-ref"||e.type==="callout-tone"?{name:e.name,type:e.type,choices:O}:{name:e.name,type:e.type})}export function blockWordFields(t){return t==="chart"?["title"]:t==="table"?["rows"]:w(t)?Y(t):L(t).fields.filter(s=>s.type==="words").map(s=>s.name)}const le={"":!0,true:!0,yes:!0,1:!0,false:!1,no:!1,0:!1};function _(t){if(typeof t!="string")return t;const e=t.trim();if(!/^[[{]/u.test(e))return t;try{return JSON.parse(e)}catch(s){if(s instanceof SyntaxError)return t;throw s}}const B=`a role (text, muted, accent1…accent6, deep), a tone (${O.join(", ")}), a colour name (${q.join(", ")}) or #RRGGBB`;export function isBlockColor(t){return Q(t)!==void 0||R(t)!==void 0||q.includes(t.trim().toLowerCase())||/^#[0-9A-Fa-f]{6}$/u.test(t.trim())||H(t.trim())!==void 0}function $(t,e,s,n){const i=r=>(n.push({path:s,message:`${t.name} is ${r}, not ${JSON.stringify(e)}.`}),null),u=t.type;if(typeof u=="object")return typeof e!="string"?i(Object.keys(u.oneOf).join(", ")):u.oneOf[fieldKey(e)]??i(`one of ${[...new Set(Object.values(u.oneOf))].join(", ")}`);switch(u){case"words":case"string":return typeof e=="string"?e:typeof e=="number"?String(e):i("words");case"figure":return typeof e=="number"&&Number.isFinite(e)||typeof e=="string"&&e.trim()!==""?e:i("a figure (words such as 68.4%, a number, or a reference)");case"series":{if(isBlockReference(e))return e;const r=_(e),c=typeof r=="string"?r.split(",").map(o=>o.trim()===""?NaN:Number(o)):r;return Array.isArray(c)&&c.length>0&&c.every(o=>typeof o=="number"&&Number.isFinite(o))?c:i("numbers oldest first ([12, 15, 14, 19] or 12,15,14,19), or a reference")}case"tone":case"tone-ref":case"callout-tone":return u==="tone-ref"&&isBlockReference(e)?e:typeof e!="string"?i(`a tone (${O.join(", ")})`):R(e,u==="callout-tone"?"callout":"other")??i(`a tone (${O.join(", ")}, or RAG's red, amber, green)`);case"bool":return typeof e=="boolean"?e:(typeof e=="string"?le[e.trim().toLowerCase()]:void 0)??i("true or false");case"number":{const r=typeof e=="string"&&e.trim()!==""?Number(e):e;return typeof r=="number"&&Number.isFinite(r)?r:i("a number")}case"color":return typeof e=="string"&&isBlockColor(e)?e.trim():i(B);case"tag":return typeof e=="string"?{text:e}:x(j.tag,_(e),s,n,{});case"names":{const r=_(e),c=Array.isArray(r)?r:typeof r=="string"||typeof r=="number"?String(r).split(/[,;]/u):void 0,o="a task's name or id, or a list of them";if(c===void 0||!c.every(l=>typeof l=="string"||typeof l=="number"))return i(o);const a=c.map(l=>String(l).trim()).filter(l=>l!=="");return a.length===0?null:a}case"nodes":{const r=_(e);if(!Array.isArray(r))return i("a list of nodes: a name each, or { name, label, color }");const c=[];return r.forEach((o,a)=>{if(typeof o=="string"||typeof o=="number"){c.push({name:String(o)});return}if(typeof o!="object"||o===null){n.push({path:[...s,a],message:"a node is its name, or { name, label, color }."});return}const l={};for(const[y,m]of Object.entries(o)){const h=fieldKey(y),b=typeof m=="string"||typeof m=="number"?String(m):void 0;b!==void 0&&(h==="name"||h==="id"||h==="key"?l.name??=b:h==="label"||h==="title"||h==="text"?l.label=b:h==="color"||h==="colour"?isBlockColor(b)?l.color=b.trim():n.push({path:[...s,a,y],message:`color is ${B}, not ${JSON.stringify(m)}.`}):n.push({path:[...s,a,y],message:`a node has name, label, color; not ${y}.`}))}l.name??=l.label??"",l.name===""?n.push({path:[...s,a],message:"a node has a name."}):c.push(l)}),c}case"labels":{const r=_(e),c=typeof r=="string"?r.split(",").map(o=>o.trim()):r;return Array.isArray(c)&&c.length>0&&c.every(o=>typeof o=="string"||typeof o=="number")?c.map(String):i("labels in order ([High, Med, Low] or High,Med,Low)")}case"lines":{const r=_(e);if(typeof r=="string")return[{text:r}];if(typeof r=="object"&&r!==null&&!Array.isArray(r))return Object.entries(r).map(([o,a])=>({label:o,text:String(a)}));if(!Array.isArray(r))return i("lines: a list of words, or of { label, text }");const c=[];return r.forEach((o,a)=>{if(typeof o=="string"||typeof o=="number")c.push({text:String(o)});else if(typeof o=="object"&&o!==null){const l=o,y=l.label??l.name??l.key??l.term,m=l.text??l.value??l.body??l.description;typeof m!="string"&&typeof m!="number"?n.push({path:[...s,a],message:"a line has its text: { label, text }, or words."}):c.push({text:String(m),...typeof y=="string"?{label:y}:{}})}}),c}}}function x(t,e,s,n,i){const u=_(e);if(typeof u!="object"||u===null||Array.isArray(u)){n.push({path:s,message:`this is a block's fields, not ${JSON.stringify(u)}.`});return}const r=new Map;for(const a of t.fields){r.set(a.name,a);for(const l of a.aliases??[])r.has(l)||r.set(l,a)}const c={},o=new Map;for(const[a,l]of Object.entries(u)){if(l==null)continue;const y=fieldKey(a);if((y==="down_is_good"||y==="lower_is_better")&&r.has("good")){const d=$({name:a,type:"bool"},l,[...s,a],n);if(d==null)continue;if(o.has("good")){n.push({path:[...s,a],message:`${a} and ${o.get("good")??"good"} both say which way is good: give one.`});continue}c.good=d===!0?"down":"up",o.set("good",a);continue}if(y==="higher_is_better"&&r.has("good")){const d=$({name:a,type:"bool"},l,[...s,a],n);if(d==null)continue;c.good=d===!0?"up":"down",o.set("good",a);continue}const m=r.get(y);if(m===void 0){n.push({path:[...s,a],message:`there is no ${a}: a block of this kind has ${t.fields.map(d=>d.name).join(", ")}.`});continue}const h=o.get(m.name);if(h!==void 0){n.push({path:[...s,a],message:`${a} and ${h} are both ${m.name}: give one.`});continue}const b=$(m,l,[...s,a],n);b!=null&&(c[m.name]=b,o.set(m.name,a))}for(const a of t.fields)a.required===!0&&c[a.name]===void 0&&!(i.wordsElsewhere===!0&&a.type==="words")&&n.push({path:s,message:`a block of this kind has a ${a.name}.`});return c}function ue(t,e,s,n,i){const u=t.item;if(u===void 0)return x(t,e,s,n,i);const r=I[u],c=(g,p)=>g.flatMap((f,S)=>{const v=x(r,f,[...p,S],n,i);return v===void 0?[]:[v]}),o=_(e);if(Array.isArray(o))return{items:c(o,s)};if(typeof o!="object"||o===null){n.push({path:s,message:`this is a list of items, or { items: [...] }, or { data: <a table>, … }, not ${JSON.stringify(o)}.`});return}const a={},l={};let y,m;const h=new Set(t.fields.flatMap(g=>[g.name,...g.aliases??[]])),b=["items","milestones","events","stages","phases","people","members","stats","kpis",...U,"entries","risks","points"];for(const[g,p]of Object.entries(o)){const f=fieldKey(g);b.includes(f)?y=p:f==="data"||f==="source"&&u!=="link"?m=p:h.has(f)?a[g]=p:l[g]=p}const d=x(t,a,s,n,i)??{};if(y!==void 0&&m!==void 0&&n.push({path:s,message:"give items or data, not both."}),y!==void 0){const g=_(y);Array.isArray(g)?d.items=c(g,[...s,"items"]):n.push({path:[...s,"items"],message:"items is a list."})}else if(m!==void 0){typeof m!="string"||m.trim()===""?n.push({path:[...s,"data"],message:"data names a table: ../budget/budget#kpis."}):d.data=m.trim();const g=new Map;for(const f of r.fields){g.set(f.name,f.name);for(const S of f.aliases??[])g.has(S)||g.set(S,f.name)}const p={};for(const[f,S]of Object.entries(l)){const v=g.get(fieldKey(f));if(v===void 0||typeof S!="string"){n.push({path:[...s,f],message:v===void 0?`there is no ${f}: with data, a field names its column (${r.fields.map(G=>G.name).join(", ")}).`:`${f} names a column of the data, not ${JSON.stringify(S)}.`});continue}p[v]=S}Object.keys(p).length>0&&(d.columns=p)}else{for(const g of Object.keys(l))n.push({path:[...s,g],message:`there is no ${g}: this block has items (or data), ${t.fields.map(p=>p.name).join(", ")}.`});Object.keys(l).length===0&&n.push({path:s,message:"this block has items, or data."})}return d}const K=["columns","rows","data","head","total","alt"],z={left:"left",l:"left",start:"left",center:"center",centre:"center",ctr:"center",middle:"center",right:"right",r:"right",end:"right"};function ce(t,e,s){const n=_(t);if(typeof n!="object"||n===null||Array.isArray(n)){s.push({path:e,message:"a table is { columns, rows } or { data }."});return}const i={fields:"columns",headers:"columns",source:"data",header:"head",totals:"total"},u={};for(const[r,c]of Object.entries(n)){const o=fieldKey(r),a=i[o]??o;if(!K.includes(a)){s.push({path:[...e,r],message:`there is no ${r}: a table has ${K.join(", ")}.`});continue}if(u[a]!==void 0){s.push({path:[...e,r],message:`${r} is ${a} again: give one.`});continue}const l=[...e,r],y=_(c);if(a==="columns"){if(!Array.isArray(y)){s.push({path:l,message:"columns is a list: a name each, or { name, title, align, format, width, tag }."});continue}const m=[];y.forEach((h,b)=>{if(typeof h=="string"||typeof h=="number"){m.push({name:String(h)});return}if(typeof h!="object"||h===null){s.push({path:[...l,b],message:"a column is its name, or { name, … }."});return}const d={name:""};for(const[g,p]of Object.entries(h)){const f=fieldKey(g);(f==="name"||f==="key"||f==="field")&&typeof p=="string"?d.name=p:(f==="title"||f==="label"||f==="header")&&typeof p=="string"?d.title=p:f==="align"&&typeof p=="string"&&z[fieldKey(p)]!==void 0?d.align=z[fieldKey(p)]??"left":(f==="format"||f==="number_format")&&typeof p=="string"?d.format=p:f==="width"&&(typeof p=="number"||typeof p=="string")?d.width=p:(f==="tag"||f==="pill"||f==="badge"||f==="status")&&typeof p=="boolean"?d.tag=p:(f==="avatar"||f==="person"||f==="people"||f==="initials"||f==="owner")&&typeof p=="boolean"?d.avatar=p:s.push({path:[...l,b,g],message:`a column has name, title, align (left, center, right), format, width, tag, avatar; not ${g}: ${JSON.stringify(p)}.`})}d.name===""&&d.title!==void 0&&d.title!==""&&(d.name=d.title),d.name===""&&(d.name=String(b+1)),m.push(d)}),u.columns=m}else if(a==="rows")Array.isArray(y)?u.rows=y:s.push({path:l,message:"rows is a list of rows, each a list of cells or a record by column."});else if(a==="data")typeof y=="string"&&y.trim()!==""?u.data=y.trim():s.push({path:l,message:"data names a table: ../budget/budget#orders, or a CSV."});else if(a==="head"||a==="total"){const m=$({name:a,type:"bool"},y,l,s);m!=null&&(u[a]=m)}else typeof y=="string"&&(u[a]=y)}return u.rows===void 0&&u.data===void 0&&s.push({path:e,message:"a table has rows, or data."}),u}const fe={column:"column-clustered",columns:"column-clustered",vertical_bar:"column-clustered",bar:"bar-clustered",horizontal_bar:"bar-clustered",donut:"doughnut",xy:"scatter",point:"scatter",points:"scatter",lines:"line",areas:"area"};export function chartTypeOf(t){const e=fieldKey(t),s=fe[e];if(s!==void 0)return s;const n=e.replace(/([a-z])(\d)/gu,"$1_$2").split("_"),i=n.find(r=>["column","bar","line","area","scatter"].includes(r));if(i===void 0)return t;const u=[i];return n.includes("stacked")&&u.push("stacked"),(n.includes("100")||n.includes("percent"))&&u.push("100"),n.includes("clustered")&&u.push("clustered"),n.includes("markers")&&u.push("markers"),n.includes("smooth")&&u.push("smooth"),(i==="column"||i==="bar")&&u.length===1&&u.push("clustered"),u.join("-")}function me(t){const e={};for(const[n,i]of Object.entries(t)){const u=fieldKey(n);u==="type"&&typeof i=="string"?e.type=chartTypeOf(i):u==="labels"&&Array.isArray(i)?e.categories=i:u==="datasets"&&Array.isArray(i)?e.series=i.map(r=>{if(typeof r!="object"||r===null)return r;const c={};for(const[o,a]of Object.entries(r)){const l=fieldKey(o);l==="label"?c.name=a:l==="data"?c.values=a:l==="background_color"||l==="border_color"?c.color??=a:c[l]=a}return c}):u==="data_labels"&&i!==void 0?e.labels=i:u==="legend"&&(i===!1||i==="none"||i==="false")?e.legend="none":e[u]=i}const s=e.format??e.number_format;if(typeof s=="string"){delete e.format,delete e.number_format;const n=e.value_axis;n===void 0?e.value_axis={format:s}:typeof n=="object"&&n!==null&&!Array.isArray(n)&&(e.value_axis={format:s,...n});const i=e.labels;i===!0?e.labels={value:!0,format:s}:typeof i=="object"&&i!==null&&!Array.isArray(i)&&(e.labels={format:s,...i})}return e}let N;const de=()=>{if(N!==void 0)return N;const t=J.extend({title:k.string().optional()});return N=T.extend({title:k.string().optional(),value_axis:t.optional(),category_axis:t.optional(),secondary_axis:t.optional(),points:k.record(k.string(),k.union([k.string(),k.record(k.string(),k.string())])).optional(),alt:k.string().optional(),legend:k.enum([...P,"none"]).optional()}),N};export function readBlock(t,e,s={}){const n=[],i=pe(t,e)??blockKindOf(t);if(i===void 0)return n.push({path:[],message:`there is no block ${t}: the blocks are ${BLOCK_KINDS.join(", ")}.`}),{problems:n};if(i==="chart"){const r=_(e);if(typeof r!="object"||r===null||Array.isArray(r))return n.push({path:[],message:"a chart is { type, categories, series } or { type, data, … }."}),{problems:n};const c=de().safeParse(me(r));if(!c.success){for(const o of c.error.issues)n.push({path:o.path.map(a=>typeof a=="number"?a:String(a)),message:o.message});return{problems:n}}return{block:{kind:i,fields:c.data},problems:n}}const u=i==="table"?ce(e,[],n):w(i)?V(i,e,[],n,s):ue(j[i],e,[],n,s);return u===void 0?{problems:n}:{block:{kind:i,fields:u},problems:n}}function pe(t,e){if(fieldKey(t)!=="flow")return;const s=_(e),n=Array.isArray(s)?s[0]:s;return typeof n!="object"||n===null?void 0:Object.keys(n).map(fieldKey).some(u=>se.includes(u))?"sankey":void 0}export function blockKeyOf(t){return Object.keys(t).find(e=>blockKindOf(e)!==void 0)}export function readBlockItem(t,e,s={}){const n=[],i=x(I[t],e,[],n,s);return i===void 0?{problems:n}:{fields:i,problems:n}}export function blockItemKind(t){return t==="chart"||t==="table"||w(t)?void 0:j[t].item}export const DECK_BLOCK_KINDS=["stat","stats","card","tag","callout","icon","progress","timeline","steps","person","people","risk_matrix","sankey","gantt",...E];export function blockFieldSchema(t){return k.unknown().superRefine((e,s)=>{for(const n of readBlock(t,e,{wordsElsewhere:!0}).problems)s.addIssue({code:"custom",path:n.path,message:n.message})})}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Excel's built-in cell styles, by the name Excel shows. */
|
|
2
|
+
export declare const EXCEL_CELL_STYLES: readonly ["Normal", "Title", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Good", "Bad", "Neutral", "Input", "Output", "Calculation", "Check Cell", "Linked Cell", "Note", "Warning Text", "Explanatory Text", "Total", "Hyperlink", "Followed Hyperlink", ...string[], "Comma", "Comma [0]", "Currency", "Currency [0]", "Percent"];
|
|
3
|
+
/** openpyxl's names for the styles Excel names otherwise. */
|
|
4
|
+
export declare const OPENPYXL_CELL_STYLE_NAMES: Readonly<Record<string, string>>;
|
|
5
|
+
/** Every name a sheet's `style` takes: Excel's, and openpyxl's for the same. */
|
|
6
|
+
export declare const SHEET_CELL_STYLES: readonly [string, ...string[]];
|
|
7
|
+
/** Excel's number for each built-in cell style (styles.xml's `builtinId`), by Excel's name. */
|
|
8
|
+
export declare const EXCEL_CELL_STYLE_IDS: Readonly<Record<string, number>>;
|
|
9
|
+
//# sourceMappingURL=cell-styles.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export const EXCEL_CELL_STYLES=["Normal","Title","Heading 1","Heading 2","Heading 3","Heading 4","Good","Bad","Neutral","Input","Output","Calculation","Check Cell","Linked Cell","Note","Warning Text","Explanatory Text","Total","Hyperlink","Followed Hyperlink",...[1,2,3,4,5,6].flatMap(e=>[`Accent${String(e)}`,`20% - Accent${String(e)}`,`40% - Accent${String(e)}`,`60% - Accent${String(e)}`]),"Comma","Comma [0]","Currency","Currency [0]","Percent"],OPENPYXL_CELL_STYLE_NAMES={"Headline 1":"Heading 1","Headline 2":"Heading 2","Headline 3":"Heading 3","Headline 4":"Heading 4"},SHEET_CELL_STYLES=[...EXCEL_CELL_STYLES,...Object.keys(OPENPYXL_CELL_STYLE_NAMES)],EXCEL_CELL_STYLE_IDS={Normal:0,Comma:3,Currency:4,Percent:5,"Comma [0]":6,"Currency [0]":7,Hyperlink:8,"Followed Hyperlink":9,Note:10,"Warning Text":11,Title:15,"Heading 1":16,"Heading 2":17,"Heading 3":18,"Heading 4":19,Input:20,Output:21,Calculation:22,"Check Cell":23,"Linked Cell":24,Total:25,Good:26,Bad:27,Neutral:28,...Object.fromEntries([1,2,3,4,5,6].flatMap(e=>{const t=29+(e-1)*4;return[[`Accent${String(e)}`,t],[`20% - Accent${String(e)}`,t+1],[`40% - Accent${String(e)}`,t+2],[`60% - Accent${String(e)}`,t+3]]})),"Explanatory Text":53};
|
|
@@ -5,34 +5,41 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
5
5
|
theme: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
name: z.ZodOptional<z.ZodString>;
|
|
7
7
|
colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8
|
-
dk1: "dk1";
|
|
9
|
-
lt1: "lt1";
|
|
10
|
-
dk2: "dk2";
|
|
11
|
-
lt2: "lt2";
|
|
12
8
|
accent1: "accent1";
|
|
13
9
|
accent2: "accent2";
|
|
14
10
|
accent3: "accent3";
|
|
15
11
|
accent4: "accent4";
|
|
16
12
|
accent5: "accent5";
|
|
17
13
|
accent6: "accent6";
|
|
14
|
+
dk1: "dk1";
|
|
15
|
+
lt1: "lt1";
|
|
16
|
+
dk2: "dk2";
|
|
17
|
+
lt2: "lt2";
|
|
18
18
|
hlink: "hlink";
|
|
19
19
|
folHlink: "folHlink";
|
|
20
20
|
}> & z.core.$partial, z.ZodString>>;
|
|
21
21
|
fonts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22
22
|
}, z.core.$strict>>;
|
|
23
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
fonts: z.ZodEnum<{
|
|
26
|
+
style: "style";
|
|
27
|
+
system: "system";
|
|
28
|
+
}>;
|
|
29
|
+
}, z.core.$strict>>;
|
|
23
30
|
masters: z.ZodArray<z.ZodObject<{
|
|
24
31
|
name: z.ZodString;
|
|
25
32
|
background: z.ZodUnion<readonly [z.ZodEnum<{
|
|
26
|
-
dk1: "dk1";
|
|
27
|
-
lt1: "lt1";
|
|
28
|
-
dk2: "dk2";
|
|
29
|
-
lt2: "lt2";
|
|
30
33
|
accent1: "accent1";
|
|
31
34
|
accent2: "accent2";
|
|
32
35
|
accent3: "accent3";
|
|
33
36
|
accent4: "accent4";
|
|
34
37
|
accent5: "accent5";
|
|
35
38
|
accent6: "accent6";
|
|
39
|
+
dk1: "dk1";
|
|
40
|
+
lt1: "lt1";
|
|
41
|
+
dk2: "dk2";
|
|
42
|
+
lt2: "lt2";
|
|
36
43
|
hlink: "hlink";
|
|
37
44
|
folHlink: "folHlink";
|
|
38
45
|
tx1: "tx1";
|
|
@@ -41,16 +48,16 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
41
48
|
bg2: "bg2";
|
|
42
49
|
}>, z.ZodObject<{
|
|
43
50
|
theme_color: z.ZodEnum<{
|
|
44
|
-
dk1: "dk1";
|
|
45
|
-
lt1: "lt1";
|
|
46
|
-
dk2: "dk2";
|
|
47
|
-
lt2: "lt2";
|
|
48
51
|
accent1: "accent1";
|
|
49
52
|
accent2: "accent2";
|
|
50
53
|
accent3: "accent3";
|
|
51
54
|
accent4: "accent4";
|
|
52
55
|
accent5: "accent5";
|
|
53
56
|
accent6: "accent6";
|
|
57
|
+
dk1: "dk1";
|
|
58
|
+
lt1: "lt1";
|
|
59
|
+
dk2: "dk2";
|
|
60
|
+
lt2: "lt2";
|
|
54
61
|
hlink: "hlink";
|
|
55
62
|
folHlink: "folHlink";
|
|
56
63
|
tx1: "tx1";
|
|
@@ -61,16 +68,16 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
61
68
|
brightness: z.ZodNumber;
|
|
62
69
|
}, z.core.$strict>, z.ZodObject<{
|
|
63
70
|
theme_color: z.ZodEnum<{
|
|
64
|
-
dk1: "dk1";
|
|
65
|
-
lt1: "lt1";
|
|
66
|
-
dk2: "dk2";
|
|
67
|
-
lt2: "lt2";
|
|
68
71
|
accent1: "accent1";
|
|
69
72
|
accent2: "accent2";
|
|
70
73
|
accent3: "accent3";
|
|
71
74
|
accent4: "accent4";
|
|
72
75
|
accent5: "accent5";
|
|
73
76
|
accent6: "accent6";
|
|
77
|
+
dk1: "dk1";
|
|
78
|
+
lt1: "lt1";
|
|
79
|
+
dk2: "dk2";
|
|
80
|
+
lt2: "lt2";
|
|
74
81
|
hlink: "hlink";
|
|
75
82
|
folHlink: "folHlink";
|
|
76
83
|
tx1: "tx1";
|
|
@@ -80,6 +87,7 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
80
87
|
}>;
|
|
81
88
|
transforms: z.ZodArray<z.ZodObject<{
|
|
82
89
|
name: z.ZodEnum<{
|
|
90
|
+
hue: "hue";
|
|
83
91
|
tint: "tint";
|
|
84
92
|
shade: "shade";
|
|
85
93
|
lumMod: "lumMod";
|
|
@@ -90,7 +98,6 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
90
98
|
sat: "sat";
|
|
91
99
|
hueMod: "hueMod";
|
|
92
100
|
hueOff: "hueOff";
|
|
93
|
-
hue: "hue";
|
|
94
101
|
alpha: "alpha";
|
|
95
102
|
alphaMod: "alphaMod";
|
|
96
103
|
alphaOff: "alphaOff";
|
|
@@ -101,6 +108,7 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
101
108
|
rgb: z.ZodString;
|
|
102
109
|
transforms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
103
110
|
name: z.ZodEnum<{
|
|
111
|
+
hue: "hue";
|
|
104
112
|
tint: "tint";
|
|
105
113
|
shade: "shade";
|
|
106
114
|
lumMod: "lumMod";
|
|
@@ -111,7 +119,6 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
111
119
|
sat: "sat";
|
|
112
120
|
hueMod: "hueMod";
|
|
113
121
|
hueOff: "hueOff";
|
|
114
|
-
hue: "hue";
|
|
115
122
|
alpha: "alpha";
|
|
116
123
|
alphaMod: "alphaMod";
|
|
117
124
|
alphaOff: "alphaOff";
|
|
@@ -120,16 +127,16 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
120
127
|
}, z.core.$strict>>>;
|
|
121
128
|
}, z.core.$strict>]>;
|
|
122
129
|
color_map: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
123
|
-
dk1: "dk1";
|
|
124
|
-
lt1: "lt1";
|
|
125
|
-
dk2: "dk2";
|
|
126
|
-
lt2: "lt2";
|
|
127
130
|
accent1: "accent1";
|
|
128
131
|
accent2: "accent2";
|
|
129
132
|
accent3: "accent3";
|
|
130
133
|
accent4: "accent4";
|
|
131
134
|
accent5: "accent5";
|
|
132
135
|
accent6: "accent6";
|
|
136
|
+
dk1: "dk1";
|
|
137
|
+
lt1: "lt1";
|
|
138
|
+
dk2: "dk2";
|
|
139
|
+
lt2: "lt2";
|
|
133
140
|
hlink: "hlink";
|
|
134
141
|
folHlink: "folHlink";
|
|
135
142
|
tx1: "tx1";
|
|
@@ -137,16 +144,16 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
137
144
|
tx2: "tx2";
|
|
138
145
|
bg2: "bg2";
|
|
139
146
|
}> & z.core.$partial, z.ZodEnum<{
|
|
140
|
-
dk1: "dk1";
|
|
141
|
-
lt1: "lt1";
|
|
142
|
-
dk2: "dk2";
|
|
143
|
-
lt2: "lt2";
|
|
144
147
|
accent1: "accent1";
|
|
145
148
|
accent2: "accent2";
|
|
146
149
|
accent3: "accent3";
|
|
147
150
|
accent4: "accent4";
|
|
148
151
|
accent5: "accent5";
|
|
149
152
|
accent6: "accent6";
|
|
153
|
+
dk1: "dk1";
|
|
154
|
+
lt1: "lt1";
|
|
155
|
+
dk2: "dk2";
|
|
156
|
+
lt2: "lt2";
|
|
150
157
|
hlink: "hlink";
|
|
151
158
|
folHlink: "folHlink";
|
|
152
159
|
}>>>;
|
|
@@ -158,11 +165,11 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
158
165
|
shapes: z.ZodArray<z.ZodObject<{
|
|
159
166
|
name: z.ZodString;
|
|
160
167
|
kind: z.ZodEnum<{
|
|
168
|
+
chart: "chart";
|
|
161
169
|
picture: "picture";
|
|
170
|
+
table: "table";
|
|
162
171
|
textbox: "textbox";
|
|
163
172
|
movie: "movie";
|
|
164
|
-
table: "table";
|
|
165
|
-
chart: "chart";
|
|
166
173
|
component: "component";
|
|
167
174
|
placeholder: "placeholder";
|
|
168
175
|
autoshape: "autoshape";
|
|
@@ -200,16 +207,16 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
200
207
|
name: z.ZodString;
|
|
201
208
|
master: z.ZodString;
|
|
202
209
|
color_map: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
203
|
-
dk1: "dk1";
|
|
204
|
-
lt1: "lt1";
|
|
205
|
-
dk2: "dk2";
|
|
206
|
-
lt2: "lt2";
|
|
207
210
|
accent1: "accent1";
|
|
208
211
|
accent2: "accent2";
|
|
209
212
|
accent3: "accent3";
|
|
210
213
|
accent4: "accent4";
|
|
211
214
|
accent5: "accent5";
|
|
212
215
|
accent6: "accent6";
|
|
216
|
+
dk1: "dk1";
|
|
217
|
+
lt1: "lt1";
|
|
218
|
+
dk2: "dk2";
|
|
219
|
+
lt2: "lt2";
|
|
213
220
|
hlink: "hlink";
|
|
214
221
|
folHlink: "folHlink";
|
|
215
222
|
tx1: "tx1";
|
|
@@ -217,27 +224,27 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
217
224
|
tx2: "tx2";
|
|
218
225
|
bg2: "bg2";
|
|
219
226
|
}> & z.core.$partial, z.ZodEnum<{
|
|
220
|
-
dk1: "dk1";
|
|
221
|
-
lt1: "lt1";
|
|
222
|
-
dk2: "dk2";
|
|
223
|
-
lt2: "lt2";
|
|
224
227
|
accent1: "accent1";
|
|
225
228
|
accent2: "accent2";
|
|
226
229
|
accent3: "accent3";
|
|
227
230
|
accent4: "accent4";
|
|
228
231
|
accent5: "accent5";
|
|
229
232
|
accent6: "accent6";
|
|
233
|
+
dk1: "dk1";
|
|
234
|
+
lt1: "lt1";
|
|
235
|
+
dk2: "dk2";
|
|
236
|
+
lt2: "lt2";
|
|
230
237
|
hlink: "hlink";
|
|
231
238
|
folHlink: "folHlink";
|
|
232
239
|
}>>>;
|
|
233
240
|
shapes: z.ZodArray<z.ZodObject<{
|
|
234
241
|
name: z.ZodString;
|
|
235
242
|
kind: z.ZodEnum<{
|
|
243
|
+
chart: "chart";
|
|
236
244
|
picture: "picture";
|
|
245
|
+
table: "table";
|
|
237
246
|
textbox: "textbox";
|
|
238
247
|
movie: "movie";
|
|
239
|
-
table: "table";
|
|
240
|
-
chart: "chart";
|
|
241
248
|
component: "component";
|
|
242
249
|
placeholder: "placeholder";
|
|
243
250
|
autoshape: "autoshape";
|
|
@@ -282,11 +289,11 @@ export declare const DeckCodeSchema: z.ZodObject<{
|
|
|
282
289
|
shapes: z.ZodArray<z.ZodObject<{
|
|
283
290
|
name: z.ZodString;
|
|
284
291
|
kind: z.ZodEnum<{
|
|
292
|
+
chart: "chart";
|
|
285
293
|
picture: "picture";
|
|
294
|
+
table: "table";
|
|
286
295
|
textbox: "textbox";
|
|
287
296
|
movie: "movie";
|
|
288
|
-
table: "table";
|
|
289
|
-
chart: "chart";
|
|
290
297
|
component: "component";
|
|
291
298
|
placeholder: "placeholder";
|
|
292
299
|
autoshape: "autoshape";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{COLOR_NAMES as o,COLOR_TRANSFORMS as l,THEME_COLORS as n}from"./slides.js";const e=t.number(),s=t.array(t.strictObject({name:t.enum(l),value:t.number()})),m=t.union([t.enum(o),t.strictObject({theme_color:t.enum(o),brightness:t.number().min(-1).max(1)}),t.strictObject({theme_color:t.enum(o),transforms:s}),t.strictObject({rgb:t.string().regex(/^#?[0-9A-Fa-f]{6}$/u),transforms:s.optional()})]),i=t.partialRecord(t.enum(o),t.enum(n)),p=t.strictObject({left:e,top:e,width:e,height:e}),b=t.looseObject({text:t.string()}),c=t.looseObject({level:t.number().int().min(0).max(8),runs:t.array(b)}),g=t.looseObject({paragraphs:t.array(c),levels:t.array(t.looseObject({}))}),r=t.looseObject({name:t.string(),kind:t.enum(["placeholder","textbox","picture","movie","autoshape","table","chart","component"]),frame:p.optional(),placeholder:t.strictObject({type:t.string(),idx:t.number().int(),orient:t.literal("vert").optional()}).optional(),text:g.optional(),media:t.looseObject({path:t.string(),base:t.string()}).optional(),component:t.strictObject({name:t.string(),props:t.record(t.string(),t.unknown())}).optional()}),h=t.looseObject({name:t.string(),master:t.string(),color_map:i.optional(),shapes:t.array(r)}),O=t.looseObject({name:t.string(),background:m,color_map:i.optional(),text_styles:t.strictObject({title:t.array(t.looseObject({})),body:t.array(t.looseObject({})),other:t.array(t.looseObject({}))}),shapes:t.array(r),layouts:t.array(h)}),a=t.lazy(()=>t.looseObject({type:t.string(),optional:t.boolean().optional(),of:a.optional(),fields:t.record(t.string(),a).optional(),kind:t.string().optional()})),
|
|
2
|
+
import{z as t}from"zod";import{COLOR_NAMES as o,COLOR_TRANSFORMS as l,THEME_COLORS as n}from"./slides.js";const e=t.number(),s=t.array(t.strictObject({name:t.enum(l),value:t.number()})),m=t.union([t.enum(o),t.strictObject({theme_color:t.enum(o),brightness:t.number().min(-1).max(1)}),t.strictObject({theme_color:t.enum(o),transforms:s}),t.strictObject({rgb:t.string().regex(/^#?[0-9A-Fa-f]{6}$/u),transforms:s.optional()})]),i=t.partialRecord(t.enum(o),t.enum(n)),p=t.strictObject({left:e,top:e,width:e,height:e}),b=t.looseObject({text:t.string()}),c=t.looseObject({level:t.number().int().min(0).max(8),runs:t.array(b)}),g=t.looseObject({paragraphs:t.array(c),levels:t.array(t.looseObject({}))}),r=t.looseObject({name:t.string(),kind:t.enum(["placeholder","textbox","picture","movie","autoshape","table","chart","component"]),frame:p.optional(),placeholder:t.strictObject({type:t.string(),idx:t.number().int(),orient:t.literal("vert").optional()}).optional(),text:g.optional(),media:t.looseObject({path:t.string(),base:t.string()}).optional(),component:t.strictObject({name:t.string(),props:t.record(t.string(),t.unknown())}).optional()}),h=t.looseObject({name:t.string(),master:t.string(),color_map:i.optional(),shapes:t.array(r)}),O=t.looseObject({name:t.string(),background:m,color_map:i.optional(),text_styles:t.strictObject({title:t.array(t.looseObject({})),body:t.array(t.looseObject({})),other:t.array(t.looseObject({}))}),shapes:t.array(r),layouts:t.array(h)}),a=t.lazy(()=>t.looseObject({type:t.string(),optional:t.boolean().optional(),of:a.optional(),fields:t.record(t.string(),a).optional(),kind:t.string().optional()})),u=t.looseObject({id:t.string(),layout:t.string(),shapes:t.array(r),text:t.record(t.string(),t.array(c)),notes:t.string().optional()});export const DeckCodeSchema=t.strictObject({slide_width:e.positive(),slide_height:e.positive(),theme:t.strictObject({name:t.string().optional(),colors:t.partialRecord(t.enum(n),t.string()).optional(),fonts:t.record(t.string(),t.string()).optional()}).optional(),style:t.strictObject({name:t.string(),fonts:t.enum(["style","system"])}).optional(),masters:t.array(O),components:t.record(t.string(),t.strictObject({props:t.record(t.string(),a)})),generators:t.record(t.string(),t.union([t.array(u),t.strictObject({error:t.string(),stack:t.string().optional()})]))});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** The kinds this module reads, by their canonical names. */
|
|
2
|
+
export declare const DIAGRAM_KINDS: readonly ["org_chart", "issue_tree", "decision_tree", "fishbone", "matrix", "marimekko", "heatmap", "small_multiples"];
|
|
3
|
+
export type DiagramKind = (typeof DIAGRAM_KINDS)[number];
|
|
4
|
+
/** The names an agent has read for each (`ishikawa`, `mekko`, `2x2`, `tree`…). */
|
|
5
|
+
export declare const DIAGRAM_KIND_ALIASES: Readonly<Record<string, DiagramKind>>;
|
|
6
|
+
//# sourceMappingURL=diagram-kinds.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export const DIAGRAM_KINDS=["org_chart","issue_tree","decision_tree","fishbone","matrix","marimekko","heatmap","small_multiples"],DIAGRAM_KIND_ALIASES={orgchart:"org_chart",organization_chart:"org_chart",organisation_chart:"org_chart",organigram:"org_chart",hierarchy:"org_chart",reporting_lines:"org_chart",issuetree:"issue_tree",logic_tree:"issue_tree",mece_tree:"issue_tree",mece:"issue_tree",driver_tree:"issue_tree",tree:"issue_tree",tree_diagram:"issue_tree",mind_map:"issue_tree",mindmap:"issue_tree",decisiontree:"decision_tree",decision:"decision_tree",ishikawa:"fishbone",fish_bone:"fishbone",cause_and_effect:"fishbone",cause_effect:"fishbone",root_cause:"fishbone","2x2":"matrix","2_x_2":"matrix",two_by_two:"matrix",quadrant:"matrix",quadrants:"matrix",quadrant_chart:"matrix",magic_quadrant:"matrix",priority_matrix:"matrix",bcg:"matrix",mekko:"marimekko",marimekko_chart:"marimekko",mosaic:"marimekko",mosaic_plot:"marimekko",variable_width:"marimekko",heat_map:"heatmap",heatmap_table:"heatmap",heat_table:"heatmap",small_multiple:"small_multiples",smallmultiples:"small_multiples",trellis:"small_multiples",facet:"small_multiples",facets:"small_multiples",faceted:"small_multiples",panel_chart:"small_multiples",lattice:"small_multiples",grid_of_charts:"small_multiples"};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BlockProblem, BlockReadOptions } from "./blocks.js";
|
|
2
|
+
import type { DiagramKind } from "./diagram-kinds.js";
|
|
3
|
+
export * from "./diagram-kinds.js";
|
|
4
|
+
type Fields = Record<string, unknown>;
|
|
5
|
+
type Path = (string | number)[];
|
|
6
|
+
type FieldType = "words" | "string" | "figure" | "number" | "share" | "bool" | "color" | "tone" | "numbers" | "words-list" | "matrix" | "chart" | {
|
|
7
|
+
oneOf: Readonly<Record<string, string>>;
|
|
8
|
+
};
|
|
9
|
+
interface Field {
|
|
10
|
+
name: string;
|
|
11
|
+
type: FieldType;
|
|
12
|
+
aliases?: readonly string[];
|
|
13
|
+
required?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/** A tree's node by the kind of tree it is in. */
|
|
16
|
+
declare const NODE_FIELDS: Readonly<Record<"org_chart" | "issue_tree" | "decision_tree", readonly Field[]>>;
|
|
17
|
+
type TreeKind = keyof typeof NODE_FIELDS;
|
|
18
|
+
/** A diagram's or a grid's fields as a file writes them, read; undefined where it cannot be read at all. */
|
|
19
|
+
export declare function readDiagram(kind: DiagramKind, raw: unknown, path: Path, problems: BlockProblem[], o: BlockReadOptions): Fields | undefined;
|
|
20
|
+
/** A tree's node fields, read from a row of its data. */
|
|
21
|
+
export declare function readTreeNode(kind: TreeKind, raw: unknown, o?: BlockReadOptions): {
|
|
22
|
+
fields?: Fields;
|
|
23
|
+
problems: BlockProblem[];
|
|
24
|
+
};
|
|
25
|
+
/** The field names of a diagram, canonical, in order. */
|
|
26
|
+
export declare function diagramFieldNames(kind: DiagramKind): string[];
|
|
27
|
+
/** The word fields of a diagram a deck's script may give (its nodes' by their paths). */
|
|
28
|
+
export declare function diagramWordFields(kind: DiagramKind): string[];
|
|
29
|
+
//# sourceMappingURL=diagrams.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{fieldKey as g,isBlockColor as I,isBlockReference as O}from"./blocks.js";import{toneOf as C,TONES as D}from"./tokens.js";export*from"./diagram-kinds.js";function w(u){if(typeof u!="string")return u;const r=u.trim();if(!/^[[{]/u.test(r))return u;try{return JSON.parse(r)}catch(t){if(t instanceof SyntaxError)return u;throw t}}const v=u=>typeof u=="object"&&u!==null&&!Array.isArray(u),L={"":!0,true:!0,yes:!0,1:!0,false:!1,no:!1,0:!1};function J(u,r,t,o){const e=w(r),s=a=>{o.push({path:t,message:`${u.name} is ${a}, not ${JSON.stringify(e)}.`})},l=u.type;if(typeof l=="object"){if(typeof e!="string"&&typeof e!="number"){s(Object.keys(l.oneOf).join(", "));return}const a=l.oneOf[g(String(e))];return a===void 0&&s(`one of ${[...new Set(Object.values(l.oneOf))].join(", ")}`),a}switch(l){case"words":case"string":if(typeof e=="string")return e;if(typeof e=="number")return String(e);{s("words");return}case"figure":if(typeof e=="number"&&Number.isFinite(e)||typeof e=="string"&&e.trim()!=="")return e;{s("a figure (a number, words such as 30%, or a reference)");return}case"number":{if(O(e))return e;const a=typeof e=="string"?Number(e.trim()):e;if(typeof a=="number"&&Number.isFinite(a))return a;s("a number");return}case"share":{if(O(e))return e;if(typeof e=="number"&&Number.isFinite(e))return e>1&&e<=100?e/100:e;if(typeof e=="string"){const a=/^\s*(\d+(?:\.\d+)?|\.\d+)\s*(%)?\s*$/u.exec(e);if(a){const n=Number(a[1]);return a[2]==="%"||n>1?n/100:n}}s("a share (0.3 or 30%)");return}case"bool":{if(typeof e=="boolean")return e;const a=typeof e=="string"?L[e.trim().toLowerCase()]:void 0;return a===void 0&&s("true or false"),a}case"color":if(typeof e=="string"&&I(e))return e.trim();{s("a role (accent1…accent6, muted), a tone, a colour name or #RRGGBB");return}case"tone":{if(O(e))return e;const a=typeof e=="string"?C(e):void 0;return a===void 0&&s(`a tone (${D.join(", ")})`),a}case"numbers":{if(O(e))return e;const a=typeof e=="string"?e.split(",").map(n=>n.trim()===""?NaN:Number(n)):e;if(Array.isArray(a)&&a.length>0&&a.every(n=>n===null||typeof n=="number"&&Number.isFinite(n)))return a;s("numbers ([12, 15, 14]), or a reference");return}case"words-list":{if(O(e))return e;const a=typeof e=="string"?e.split(",").map(n=>n.trim()):e;if(Array.isArray(a)&&a.every(n=>typeof n=="string"||typeof n=="number"))return a.map(String);s("a list of words");return}case"matrix":{if(Array.isArray(e)&&e.every(a=>Array.isArray(a)&&a.every(n=>n===null||typeof n=="number"&&Number.isFinite(n))))return e;s("rows of numbers ([[1, 2], [3, 4]])");return}case"chart":if(v(e))return e;{s("a chart's fields ({ type: line, … })");return}}}function _(u,r,t,o,e){const s=w(r);if(!v(s)){o.push({path:t,message:`this is ${e.what}'s fields, not ${JSON.stringify(s)}.`});return}const l=new Map;for(const i of u){l.set(i.name,i);for(const f of i.aliases??[])l.has(f)||l.set(f,i)}const a={},n=new Map;for(const[i,f]of Object.entries(s)){if(f==null)continue;const c=l.get(g(i));if(c===void 0){if(e.rest?.(i,f)===!0)continue;o.push({path:[...t,i],message:`there is no ${i}: ${e.what} has ${u.map(h=>h.name).join(", ")}.`});continue}const d=n.get(c.name);if(d!==void 0){o.push({path:[...t,i],message:`${i} and ${d} are both ${c.name}: give one.`});continue}const y=J(c,f,[...t,i],o);y!==void 0&&(a[c.name]=y,n.set(c.name,i))}for(const i of u)i.required===!0&&a[i.name]===void 0&&!(e.wordsElsewhere===!0&&i.type==="words")&&o.push({path:t,message:`${e.what} has a ${i.name}.`});return a}const j={name:"id",type:"string",aliases:["key","code"]},E={name:"parent",type:"string",aliases:["parent_id","manager","reports_to","boss","supervisor","parent_name","under"]},B=["children","items","reports","direct_reports","branches","sub","subitems","nodes","kids","options","outcomes"],$={org_chart:[{name:"name",type:"words",aliases:["full_name","person","employee","label"],required:!0},{name:"role",type:"words",aliases:["title","job","job_title","position"]},{name:"photo",type:"string",aliases:["image","avatar","picture","src","headshot"]},{name:"note",type:"words",aliases:["team","department","text"]},{name:"status",type:"tone",aliases:["tone"]},j,E],issue_tree:[{name:"text",type:"words",aliases:["title","label","name","question","issue","hypothesis","driver"],required:!0},{name:"note",type:"words",aliases:["detail","description","body"]},{name:"status",type:"tone",aliases:["tone"]},j,E],decision_tree:[{name:"text",type:"words",aliases:["title","name","node","question","event"]},{name:"label",type:"words",aliases:["branch","option","choice","edge","if"]},{name:"type",type:{oneOf:{decision:"decision",choice:"decision",square:"decision",chance:"chance",uncertainty:"chance",event:"chance",circle:"chance",random:"chance",end:"end",terminal:"end",leaf:"end",outcome:"end",triangle:"end",payoff:"end"}},aliases:["node_type","shape"]},{name:"probability",type:"share",aliases:["p","prob","chance_of","likelihood","odds"]},{name:"value",type:"figure",aliases:["payoff","result","ev","expected_value","npv","worth"]},j,E]},R=["items","nodes","root","tree","people","members","children","branches","hierarchy"];function q(u,r,t,o,e,s){const l=w(r),a=Array.isArray(l)?l:[l],n=`a node of ${u.replace("_"," ")}`;return s>32?(o.push({path:t,message:"a tree is at most 32 levels deep."}),[]):a.flatMap((i,f)=>{const c=Array.isArray(l)?[...t,f]:t;if(typeof i=="string"||typeof i=="number")return[{[u==="org_chart"?"name":"text"]:String(i)}];let d,y="";const h=_($[u],i,c,o,{...e,what:n,rest:(p,m)=>B.includes(g(p))?(d!==void 0?o.push({path:[...c,p],message:`${p} and ${y} are both its children: give one.`}):(d=m,y=p),!0):!1});return h===void 0?[]:(d!==void 0&&(h.children=q(u,d,[...c,y],o,e,s+1)),[h])})}const S={org_chart:[{name:"alt",type:"words"}],issue_tree:[{name:"orientation",type:{oneOf:{horizontal:"horizontal",left_to_right:"horizontal",right:"horizontal",across:"horizontal",row:"horizontal",vertical:"vertical",top_down:"vertical",down:"vertical",column:"vertical"}},aliases:["direction"]},{name:"alt",type:"words"}],decision_tree:[{name:"format",type:"string",aliases:["number_format"]},{name:"alt",type:"words"}]};function Y(u,r,t,o,e){const s=w(r);if(Array.isArray(s))return{items:q(u,s,t,o,e,0)};if(!v(s)){o.push({path:t,message:`this is a list of nodes, or { items: [...] }, or { data: <a table>, parent: <its column> }, not ${JSON.stringify(s)}.`});return}let l,a="",n;const i={},f=new Set($[u].flatMap(m=>[m.name,...m.aliases??[]])),c=Object.keys(s).map(g);if(!c.includes("data")&&!c.includes("source")&&!c.some(m=>R.includes(m)&&m!=="children")&&c.some(m=>f.has(m)&&m!=="id"&&m!=="parent")){const m={},b={},x=new Set(S[u].flatMap(A=>[A.name,...A.aliases??[]]));for(const[A,K]of Object.entries(s))x.has(g(A))&&!f.has(g(A))?m[A]=K:b[A]=K;const k=_(S[u],m,t,o,{...e,what:"a tree"})??{};return k.items=q(u,b,t,o,e,0),k}const y={},h=new Set(S[u].flatMap(m=>[m.name,...m.aliases??[]]));for(const[m,b]of Object.entries(s)){const x=g(m);R.includes(x)?(l!==void 0&&o.push({path:[...t,m],message:`${m} and ${a} are both its nodes: give one.`}),l=b,a=m):x==="data"||x==="source"?n=b:h.has(x)?y[m]=b:i[m]=b}const p=_(S[u],y,t,o,{...e,what:"a tree"})??{};if(l!==void 0&&n!==void 0&&o.push({path:t,message:"give items or data, not both."}),l!==void 0)p.items=q(u,l,[...t,a],o,e,0);else if(n!==void 0)typeof n!="string"||n.trim()===""?o.push({path:[...t,"data"],message:"data names a table: ../team/team#people, or a CSV, its rows a node each."}):p.data=n.trim(),p.columns=N($[u],i,t,o);else{for(const m of Object.keys(i))o.push({path:[...t,m],message:`there is no ${m}: a tree has items (its nodes, each with children), or data with a parent column, and ${S[u].map(b=>b.name).join(", ")}.`});Object.keys(i).length===0&&o.push({path:t,message:"a tree has items, or data."})}return p}function N(u,r,t,o){const e=new Map;for(const l of u){e.set(l.name,l.name);for(const a of l.aliases??[])e.has(a)||e.set(a,l.name)}const s={};for(const[l,a]of Object.entries(r)){const n=e.get(g(l));if(n===void 0||typeof a!="string"){o.push({path:[...t,l],message:n===void 0?`there is no ${l}: with data, a field names its column (${u.map(i=>i.name).join(", ")}).`:`${l} names a column of the data, not ${JSON.stringify(a)}.`});continue}s[n]=a}return s}const H=[{name:"name",type:"words",aliases:["title","label","category","bone","group","text"],required:!0}],F=["causes","items","children","reasons","factors","subcauses","sub_causes"];function z(u,r,t,o,e){const s=w(u);return(Array.isArray(s)?s:[s]).flatMap((a,n)=>{const i=Array.isArray(s)?[...r,n]:r;if(typeof a=="string"||typeof a=="number")return[{text:String(a)}];let f;const c=_([{name:"text",type:"words",aliases:["name","title","label","cause"],required:!0}],a,i,t,{...o,what:"a cause",rest:(d,y)=>!F.includes(g(d))||e>0?!1:(f=y,!0)});return c===void 0?[]:(f!==void 0&&(c.causes=z(f,[...i,"causes"],t,o,e+1)),[c])})}function G(u,r,t,o){const e=w(u);if(!v(e)){t.push({path:r,message:`a fishbone is { effect, categories: [{ name, causes: [...] }] } or { effect, data, category, cause }, not ${JSON.stringify(e)}.`});return}const s={};let l,a="";const n={},i=_([{name:"effect",type:"words",aliases:["problem","head","outcome","title","issue","result"],required:!0},{name:"data",type:"string",aliases:["source"]},{name:"alt",type:"words"}],e,r,t,{...o,what:"a fishbone",rest:(f,c)=>{const d=g(f);return["categories","bones","branches","causes","groups","items"].includes(d)?l!==void 0?(t.push({path:[...r,f],message:`${f} and ${a} are both its categories: give one.`}),!0):(l=c,a=f,!0):(n[f]=c,!0)}});if(i!==void 0){if(Object.assign(s,i),l!==void 0){const f=w(l),c=[...r,a],d=v(f)?Object.entries(f).map(([y,h])=>({name:y,causes:h})):f;Array.isArray(d)?s.categories=d.flatMap((y,h)=>{if(typeof y=="string")return[{name:y,causes:[]}];let p;const m=_(H,y,[...c,h],t,{...o,what:"a category",rest:(b,x)=>F.includes(g(b))?(p=x,!0):!1});return m===void 0?[]:(m.causes=p===void 0?[]:z(p,[...c,h,"causes"],t,o,0),[m])}):t.push({path:c,message:"categories is a list of { name, causes }, or { People: [causes…], … }."})}if(s.data!==void 0)s.columns=N([{name:"category",type:"string",aliases:["name","bone","group","area"]},{name:"cause",type:"string",aliases:["text","reason","factor"]}],n,r,t);else for(const f of Object.keys(n))t.push({path:[...r,f],message:`there is no ${f}: a fishbone has effect, categories (or data), alt.`});return s.categories===void 0&&s.data===void 0&&t.push({path:r,message:"a fishbone has categories, or data."}),s}}const P=[{name:"title",type:"words",aliases:["label","name","text"]},{name:"low",type:"words",aliases:["low_label","left","bottom"]},{name:"high",type:"words",aliases:["high_label","right","top"]},{name:"min",type:"number",aliases:["from","start"]},{name:"max",type:"number",aliases:["to","end"]},{name:"split",type:"number",aliases:["mid","middle","midpoint","threshold","cut","cross"]}],U={top_left:0,tl:0,upper_left:0,top_right:1,tr:1,upper_right:1,bottom_left:2,bl:2,lower_left:2,bottom_right:3,br:3,lower_right:3},T=[{name:"name",type:"words",aliases:["label","title","text","item","idea","option"],required:!0},{name:"x",type:"number",aliases:["score_x","horizontal","across","x_score"]},{name:"y",type:"number",aliases:["score_y","vertical","up","y_score"]},{name:"quadrant",type:"string",aliases:["cell","box","group"]},{name:"status",type:"tone",aliases:["tone"]},{name:"color",type:"color",aliases:["colour"]}];function V(u,r,t,o){let e,s="";const l={},a=w(u),n=_([{name:"x_axis",type:"chart",aliases:["x_label","horizontal_axis"]},{name:"y_axis",type:"chart",aliases:["y_label","vertical_axis"]},{name:"quadrants",type:"chart",aliases:["quadrant_names","quadrant_labels","cells","boxes"]},{name:"data",type:"string",aliases:["source"]},{name:"alt",type:"words"}],v(a)?Object.fromEntries(Object.entries(a).map(([i,f])=>{const c=w(f),d=g(i);return["x_axis","y_axis","x_label","y_label"].includes(d)&&typeof c=="string"?[i,{title:c}]:["quadrants","quadrant_names","quadrant_labels","cells","boxes"].includes(d)&&Array.isArray(c)?[i,{list:c}]:[i,c]})):a,r,t,{...o,what:"a matrix",rest:(i,f)=>{const c=g(i);return["items","points","ideas","options","initiatives","dots"].includes(c)?(e=f,s=i,!0):(l[i]=f,!0)}});if(n!==void 0){for(const i of["x_axis","y_axis"])n[i]!==void 0&&(n[i]=_(P,n[i],[...r,i],t,{...o,what:"an axis"}));if(n.quadrants!==void 0){const i=n.quadrants,f=[void 0,void 0,void 0,void 0];if(Array.isArray(i.list))i.list.slice(0,4).forEach((c,d)=>{typeof c=="string"?f[d]=c:v(c)&&typeof c.name=="string"&&(f[d]=c.name)});else for(const[c,d]of Object.entries(i)){const y=U[g(c)];y===void 0||typeof d!="string"?t.push({path:[...r,"quadrants",c],message:"quadrants are four names in reading order (top left, top right, bottom left, bottom right), or { top_left, top_right, bottom_left, bottom_right }."}):f[y]=d}n.quadrants=f}if(e!==void 0){const i=w(e);Array.isArray(i)?n.items=i.flatMap((f,c)=>{const d=_(T,f,[...r,s,c],t,{...o,what:"an item of a matrix"});return d===void 0?[]:(d.x===void 0!=(d.y===void 0)&&t.push({path:[...r,s,c],message:"an item has both x and y, or a quadrant."}),d.x===void 0&&d.quadrant===void 0&&t.push({path:[...r,s,c],message:"an item is placed by its x and y scores, or by its quadrant (top-left, top-right, bottom-left, bottom-right, or a quadrant's name)."}),[d])}):t.push({path:[...r,s],message:"items is a list."})}if(n.data!==void 0)n.columns=N(T,l,r,t);else for(const i of Object.keys(l))t.push({path:[...r,i],message:`there is no ${i}: a matrix has items (or data), x_axis, y_axis, quadrants, alt.`});return n.items===void 0&&n.data===void 0&&t.push({path:r,message:"a matrix has items, or data."}),n}}const W=[{name:"name",type:"words",aliases:["label","title"],required:!0},{name:"values",type:"numbers",aliases:["data","value"]},{name:"color",type:"color",aliases:["colour","background_color"]}];function M(u,r,t,o){const e=w(u);if(!Array.isArray(e)){t.push({path:r,message:"series is a list: { name, values } each, or with data the names of its columns."});return}return e.flatMap((s,l)=>{if(typeof s=="string")return[s];const a=_(W,s,[...r,l],t,{...o,what:"a series"});return a===void 0?[]:[a]})}function X(u,r,t,o){let e;const s=_([{name:"categories",type:"words-list",aliases:["columns","segments","labels","markets","x"]},{name:"data",type:"string",aliases:["source"]},{name:"widths",type:"numbers",aliases:["width","sizes","totals","market_size"]},{name:"format",type:"string",aliases:["number_format"]},{name:"labels",type:{oneOf:{share:"share",percent:"share",percentage:"share",value:"value",values:"value",none:"none",false:"none",true:"share"}},aliases:["data_labels"]},{name:"alt",type:"words"}],u,r,t,{...o,what:"a Marimekko",rest:(l,a)=>{const n=g(l);return["series","datasets","rows","stacks","segments_by"].includes(n)?(e=a,!0):!1}});if(s!==void 0){if(e!==void 0){const l=M(e,[...r,"series"],t,o);l!==void 0&&(s.series=l)}return s.series===void 0&&t.push({path:r,message:"a Marimekko has series."}),s.data===void 0&&!Array.isArray(s.categories)&&t.push({path:r,message:"a Marimekko has categories (its columns), or data."}),s}}function Q(u,r,t,o){const e=_([{name:"rows",type:"words-list",aliases:["row_labels","y","y_labels","row_names"]},{name:"columns",type:"words-list",aliases:["column_labels","x","x_labels","categories","column_names","labels"]},{name:"values",type:"matrix",aliases:["cells","matrix","z","grid"]},{name:"data",type:"string",aliases:["source","range"]},{name:"format",type:"string",aliases:["number_format"]},{name:"color",type:"color",aliases:["colour","hue"]},{name:"low_color",type:"color",aliases:["min_color","low_colour","from"]},{name:"mid",type:"number",aliases:["midpoint","center","centre"]},{name:"min",type:"number"},{name:"max",type:"number"},{name:"show_values",type:"bool",aliases:["show_labels","data_labels","numbers"]},{name:"title",type:"words",aliases:["corner","heading"]},{name:"alt",type:"words"}],u,r,t,{...o,what:"a heatmap"});if(e===void 0)return;e.values===void 0&&e.data===void 0&&t.push({path:r,message:"a heatmap has values, or data."});const s=e.values;if(s!==void 0){const l=e.rows,a=e.columns;Array.isArray(l)&&l.length!==s.length&&t.push({path:[...r,"rows"],message:`rows names ${String(l.length)} rows; values has ${String(s.length)}.`});const n=Math.max(0,...s.map(i=>i.length));Array.isArray(a)&&a.length!==n&&t.push({path:[...r,"columns"],message:`columns names ${String(a.length)} columns; values' rows have ${String(n)}.`})}return e}const Z=["type","legend","labels","gap_width","overlap","value_axis","category_axis","smooth","line_width","size","color","colors"];function ee(u,r,t,o){let e,s="",l;const a={},n=_([{name:"categories",type:"words-list",aliases:["labels","x"]},{name:"data",type:"string",aliases:["source"]},{name:"by",type:"string",aliases:["facet","split","per","split_by","group_by","row","column_by","panel"]},{name:"columns",type:"number",aliases:["across","cols","wrap","per_row"]},{name:"shared",type:"bool",aliases:["shared_axes","same_scale","share_axes"]},{name:"format",type:"string",aliases:["number_format"]},{name:"chart",type:"chart",aliases:["spec","each","template"]},{name:"alt",type:"words"}],u,r,t,{...o,what:"small multiples",rest:(f,c)=>{const d=g(f);return["panels","items","charts","multiples","groups","facets"].includes(d)?(e=c,s=f,!0):d==="series"||d==="datasets"?(l=c,!0):Z.includes(d)?(a[d==="colors"?"color":d]=c,!0):!1}});if(n===void 0)return;const i={...v(n.chart)?n.chart:{},...a};if(typeof i.type!="string"&&(i.type="column-clustered"),n.chart=i,l!==void 0){const f=M(l,[...r,"series"],t,o);f!==void 0&&(n.series=f)}if(e!==void 0){const f=w(e);Array.isArray(f)?n.panels=f.flatMap((c,d)=>{let y;const h=_([{name:"title",type:"words",aliases:["name","label","category","group"],required:!0},{name:"values",type:"numbers",aliases:["data","value"]}],c,[...r,s,d],t,{...o,what:"a panel",rest:(p,m)=>["series","datasets"].includes(g(p))?(y=m,!0):!1});if(h===void 0)return[];if(y!==void 0){const p=M(y,[...r,s,d,"series"],t,o);p!==void 0&&(h.series=p)}return h.values===void 0&&h.series===void 0&&t.push({path:[...r,s,d],message:"a panel has values, or series."}),[h]}):t.push({path:[...r,s],message:"panels is a list of { title, values } or { title, series }."})}return n.panels===void 0&&n.data===void 0&&t.push({path:r,message:"small multiples have panels, or data and by."}),n.data!==void 0&&n.by===void 0&&t.push({path:r,message:"with data, by names the column each panel is one value of."}),n}export function readDiagram(u,r,t,o,e){switch(u){case"org_chart":case"issue_tree":case"decision_tree":return Y(u,r,t,o,e);case"fishbone":return G(r,t,o,e);case"matrix":return V(r,t,o,e);case"marimekko":return X(r,t,o,e);case"heatmap":return Q(r,t,o,e);case"small_multiples":return ee(r,t,o,e)}}export function readTreeNode(u,r,t={}){const o=[],e=_($[u],r,[],o,{...t,what:`a node of ${u.replace("_"," ")}`});return e===void 0?{problems:o}:{fields:e,problems:o}}export function diagramFieldNames(u){switch(u){case"org_chart":case"issue_tree":case"decision_tree":return["items","data",...S[u].map(r=>r.name)];case"fishbone":return["effect","categories","data","alt"];case"matrix":return["items","data","x_axis","y_axis","quadrants","alt"];case"marimekko":return["categories","series","data","widths","format","labels","alt"];case"heatmap":return["rows","columns","values","data","format","color","low_color","mid","min","max","show_values","title","alt"];case"small_multiples":return["panels","categories","series","data","by","columns","shared","format","chart","alt"]}}export function diagramWordFields(u){switch(u){case"org_chart":return["name","role","note","alt"];case"issue_tree":return["text","note","alt"];case"decision_tree":return["text","label","alt"];case"fishbone":return["effect","name","text","alt"];case"matrix":return["name","title","low","high","quadrants","alt"];case"marimekko":return["categories","name","alt"];case"heatmap":return["rows","columns","title","alt"];case"small_multiples":return["title","categories","name","alt"]}}
|
|
@@ -34,5 +34,23 @@ export interface FaceTrack {
|
|
|
34
34
|
* it. Absent when no face was found.
|
|
35
35
|
*/
|
|
36
36
|
speaker?: number;
|
|
37
|
+
/**
|
|
38
|
+
* The stretches of the video whose frames were looked at, seconds, in
|
|
39
|
+
* order and apart. Absent: the whole video. A face is known only inside
|
|
40
|
+
* them; a reframe that shows other seconds asks for those (spansCovered).
|
|
41
|
+
*/
|
|
42
|
+
covered?: Span[];
|
|
37
43
|
}
|
|
44
|
+
/** A stretch of a media file: from and to, seconds of the file. */
|
|
45
|
+
export type Span = [from: number, to: number];
|
|
46
|
+
/** Spans in order, overlapping or touching ones (within `gap` seconds) made one; empty ones dropped. */
|
|
47
|
+
export declare function mergeSpans(spans: readonly Span[], gap?: number): Span[];
|
|
48
|
+
/** What of `wanted` is not inside `have` (both any spans), in order. */
|
|
49
|
+
export declare function spansMissing(wanted: readonly Span[], have: readonly Span[]): Span[];
|
|
50
|
+
/**
|
|
51
|
+
* Whether a face track was looked for in every second of `wanted`
|
|
52
|
+
* (within a hundredth of a second: the sample grid rounds); a track
|
|
53
|
+
* without `covered` covers the whole video.
|
|
54
|
+
*/
|
|
55
|
+
export declare function spansCovered(track: Pick<FaceTrack, "covered">, wanted: readonly Span[]): boolean;
|
|
38
56
|
//# sourceMappingURL=faces.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{};
|
|
2
|
+
export function mergeSpans(r,s=0){const i=r.filter(([e,t])=>Number.isFinite(e)&&Number.isFinite(t)&&t>e).map(([e,t])=>[e,t]).sort((e,t)=>e[0]-t[0]),o=[];for(const e of i){const t=o.at(-1);t&&e[0]<=t[1]+s?t[1]=Math.max(t[1],e[1]):o.push(e)}return o}export function spansMissing(r,s){const i=mergeSpans(s),o=[];for(const[e,t]of mergeSpans(r)){let n=e;for(const[f,u]of i)if(!(u<=n||f>=t)&&(f>n&&o.push([n,f]),n=Math.max(n,u),n>=t))break;n<t&&o.push([n,t])}return o}export function spansCovered(r,s){return r.covered===void 0?!0:spansMissing(s,r.covered).every(([i,o])=>o-i<=.01)}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type BlockKind } from "./blocks.js";
|
|
2
|
+
/**
|
|
3
|
+
* The data an address is read through, in the order it is asked (§7): a
|
|
4
|
+
* sheet's cells for a cell (`#Summary!B4`), a data file for a key in it
|
|
5
|
+
* (`kpis.yaml#conversion.rate`) or a CSV's column, a table for its column
|
|
6
|
+
* (`#orders[total]`, `#orders.total`), else the address itself (a table, a
|
|
7
|
+
* defined name, a data file). A host collects what its blocks read by these.
|
|
8
|
+
*/
|
|
9
|
+
export declare function addressParts(address: string): string[];
|
|
10
|
+
/**
|
|
11
|
+
* An attribute's value as the field it is: a list or an object written as
|
|
12
|
+
* JSON, else words; a chart's `true`, `false` and numbers as they are
|
|
13
|
+
* (its fields are numbers and switches), other blocks' words left words.
|
|
14
|
+
*/
|
|
15
|
+
export declare function attributeValue(v: string, kind?: BlockKind): unknown;
|
|
16
|
+
/** The addresses of the project's data a block's fields name (`../budget/budget#orders`, `../data/sales.csv`), as written. */
|
|
17
|
+
export declare function namedAddresses(fields: unknown): string[];
|
|
18
|
+
/** The id of the script a page is served with that holds the data its blocks name. */
|
|
19
|
+
export declare const PAGE_DATA_ID = "allyhub-data";
|
|
20
|
+
/** What a page's code asks for by name (`allyhubData("../budget/budget#orders")`), as written. */
|
|
21
|
+
export declare function askedAddresses(code: string): string[];
|
|
22
|
+
/** The addresses a page's file names, read from its text alone: its block elements' fields and what its code asks by `allyhubData`. */
|
|
23
|
+
export declare function pageAddresses(html: string): string[];
|
|
24
|
+
/** A data file of the project as the build read it (@allyhub/piece's DataFile). */
|
|
25
|
+
export interface PageDataFile {
|
|
26
|
+
readonly value?: unknown;
|
|
27
|
+
readonly shown?: unknown;
|
|
28
|
+
readonly error?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* What a page in `dir` (a project path) names of the project's data, read
|
|
32
|
+
* from `data` (the build's, by project path and `<sheet>#<part>`): by the
|
|
33
|
+
* address it is read through as the page writes it (addressParts), and as
|
|
34
|
+
* shown beside it (shownPath). An address nothing holds is in `missing`.
|
|
35
|
+
*/
|
|
36
|
+
export declare function pageData(addresses: readonly string[], dir: string, data: Readonly<Record<string, PageDataFile | undefined>>): {
|
|
37
|
+
rows: Record<string, unknown>;
|
|
38
|
+
missing: string[];
|
|
39
|
+
read: string[];
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* A page with the data its blocks name in a script of its own (PAGE_DATA_ID),
|
|
43
|
+
* first in its `<head>`, every other byte as it was; a page that names
|
|
44
|
+
* none is as it was.
|
|
45
|
+
*/
|
|
46
|
+
export declare function pageWithData(html: string, rows: Readonly<Record<string, unknown>>): string;
|
|
47
|
+
/**
|
|
48
|
+
* A page of the project (`file`, a project path) as served: with what its
|
|
49
|
+
* block elements and its code name of the project's data (`data`, the
|
|
50
|
+
* build's, by project path), and the keys it read; as it was when it names
|
|
51
|
+
* none, or is served with its data already.
|
|
52
|
+
*/
|
|
53
|
+
export declare function servedPage(html: string, file: string, data: Readonly<Record<string, PageDataFile | undefined>>): {
|
|
54
|
+
html: string;
|
|
55
|
+
read: string[];
|
|
56
|
+
};
|
|
57
|
+
/** The project path a key a page read names (`../budget/budget#orders` from `review`: `budget/budget`), without its part. */
|
|
58
|
+
export declare function readPath(file: string, key: string): string;
|
|
59
|
+
//# sourceMappingURL=page-data.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{shownPath as l}from"../items.js";import{isPathReference as p}from"./blocks.js";export function addressParts(t){const n=t.indexOf("#");if(n<0)return[t];const e=t.slice(0,n),s=t.slice(n+1);if(/\.ya?ml$/iu.test(e))return[...f(e.replace(/\.ya?ml$/iu,""),s),e];if(/\.(?:json|csv)$/iu.test(e)){const r=/^('?)(.+)\1!\$?[A-Z]{1,3}\$?\d+$/u.exec(s);return r?[`${e}#${r[2]??""}!`]:[e]}return f(e,s)}function f(t,n){const e=/^('?)(.+)\1!\$?[A-Z]{1,3}\$?\d+$/u.exec(n);if(e)return[`${t}#${e[2]??""}!`];const s=/^(.+?)\[([^\]]+)\]$/u.exec(n)??/^([^.![]+)\.([^!]+)$/u.exec(n);return s?[`${t}#${s[1]??""}`]:[`${t}#${n}`]}export function attributeValue(t,n){const e=t.trim();if(/^[[{]/u.test(e))try{return JSON.parse(e)}catch(s){if(s instanceof SyntaxError)return t;throw s}if(n==="chart"){if(e==="true")return!0;if(e==="false")return!1;if(/^-?\d+(?:\.\d+)?$/u.test(e))return Number(e)}return t}export function namedAddresses(t){const n=new Set,e=s=>{if(typeof s=="string"){const r=s.trim();p(r)&&n.add(r)}else Array.isArray(s)?s.forEach(e):typeof s=="object"&&s!==null&&Object.values(s).forEach(e)};return e(t),[...n]}export const PAGE_DATA_ID="allyhub-data";export function askedAddresses(t){return[...t.matchAll(/allyhubData\(\s*(["'`])((?:\.{1,2}\/|\/)[^"'`]+)\1/gu)].flatMap(n=>n[2]===void 0?[]:[n[2]])}const $={amp:"&",quot:'"',apos:"'",lt:"<",gt:">","#39":"'"},x=t=>t.replace(/&(amp|quot|apos|lt|gt|#39);/gu,(n,e)=>$[e]??n);export function pageAddresses(t){const n=new Set;for(const e of t.matchAll(/<(allyhub-[\w-]+)\b([^>]*)>/giu))for(const s of(e[2]??"").matchAll(/([^\s=/>]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/gu)){const r=x(s[2]??s[3]??"");for(const o of namedAddresses(attributeValue(r)))n.add(o)}for(const e of askedAddresses(t))n.add(e);return[...n]}function d(t,n){const e=[],s=n.startsWith("/")?n.slice(1):`${t}/${n}`;for(const r of s.split("/"))r===""||r==="."||(r===".."?e.pop():e.push(r));return e.join("/")}export function pageData(t,n,e){const s={},r=[],o=[];for(const c of t){let a=!1;for(const i of addressParts(c)){const u=e[d(n,i)];u?.value!==void 0&&(s[i]=u.value,u.shown!==void 0&&(s[l(i)]=u.shown),a=!0,o.push(i))}a||r.push(c)}return{rows:s,missing:r,read:[...new Set(o)]}}export function pageWithData(t,n){if(Object.keys(n).length===0)return t;const e=JSON.stringify(n).replace(/</gu,"\\u003c"),s=`<script type="application/json" id="${PAGE_DATA_ID}">${e}<\/script>`,r=/<head\b[^>]*>/iu.exec(t);if(r){const c=r.index+r[0].length;return`${t.slice(0,c)}${s}${t.slice(c)}`}const o=/<html\b[^>]*>/iu.exec(t);if(o){const c=o.index+o[0].length;return`${t.slice(0,c)}${s}${t.slice(c)}`}return`${s}${t}`}export function servedPage(t,n,e){if(t.includes(`id="${PAGE_DATA_ID}"`))return{html:t,read:[]};const s=pageAddresses(t);if(s.length===0)return{html:t,read:[]};const r=n.includes("/")?n.slice(0,n.lastIndexOf("/")):"",{rows:o,read:c}=pageData(s,r,e);return{html:pageWithData(t,o),read:c}}export function readPath(t,n){const e=t.includes("/")?t.slice(0,t.lastIndexOf("/")):"";return d(e,n.split("#")[0]??n)}
|