allyhub 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/NOTICE +122 -42
- package/client.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +4 -4
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +13 -7
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/contributed.js +2 -0
- package/dist/commands/dev.js +2 -2
- package/dist/commands/doctor.js +4 -4
- package/dist/commands/extensions.js +3 -0
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/compare.js +1 -1
- package/dist/commands/frames/cuts.js +1 -1
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/overlay.js +2 -0
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +9 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/combos.js +2 -2
- package/dist/commands/inspect/common.js +2 -2
- package/dist/commands/inspect/facts.js +3 -3
- package/dist/commands/inspect/index.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/views.js +2 -0
- package/dist/commands/mail.js +9 -0
- package/dist/commands/render.js +2 -2
- package/dist/fields.js +1 -1
- package/dist/help.js +4 -4
- package/dist/main.js +4 -4
- package/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/package.json +295 -0
- package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
- package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
- package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
- package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
- package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
- package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
- package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
- package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
- package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
- package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
- package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
- package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
- package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
- package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
- package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
- package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
- package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
- package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
- package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
- package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
- package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
- package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
- package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
- package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
- package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
- package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
- package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
- package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
- package/dist/node_modules/@allyhub/canvas-extension/package.json +106 -0
- package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +27 -0
- package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
- package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +43 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +25 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
- package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
- package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
- package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
- package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
- package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
- package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
- package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
- package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
- package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
- package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
- package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
- package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
- package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
- package/dist/node_modules/@allyhub/components/registry.json +6 -0
- package/dist/node_modules/@allyhub/components/src/callout.ts +80 -4
- package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
- package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
- package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
- package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
- package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
- package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +243 -56
- package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/package.json +187 -0
- package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
- package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
- package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
- package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
- package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
- package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
- package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
- package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
- package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
- package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
- package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
- package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
- package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
- package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
- package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
- package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/i18n/package.json +13 -0
- package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
- package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
- package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/package.json +276 -0
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +44 -0
- package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
- package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
- package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
- package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
- package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
- package/dist/node_modules/@allyhub/image-render/package.json +14 -0
- package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
- package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
- package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
- package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/NOTICE +1 -42
- package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
- package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
- package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
- package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
- package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
- package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
- package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/package.json +62 -0
- package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
- package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
- package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
- package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
- package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
- package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
- package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
- package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
- package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/package.json +18 -0
- package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
- package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
- package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
- package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
- package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
- package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
- package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
- package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/render/package.json +1 -5
- package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
- package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -5
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +5 -1
- package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/package.json +209 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
- package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/package.json +246 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
- package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
- package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
- package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
- package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
- package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
- package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +454 -0
- package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
- package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
- package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
- package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/package.json +152 -0
- package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
- package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
- package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
- package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/package.json +277 -0
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +67 -0
- package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
- package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
- package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
- package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
- package/dist/node_modules/@allyhub/x-model/package.json +14 -0
- package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
- package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/x-view/package.json +21 -0
- package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
- package/dist/package.json +16 -0
- package/dist/parameters.js +1 -1
- package/dist/presence.js +2 -0
- package/dist/project.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/console-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/text/index.js +1 -1
- package/dist/tool-options.js +1 -1
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/abnfDiagram-WEYOIA3C-CN5PiJYY.js +1 -0
- package/editor-web/assets/alt-BOVao_9S.js +4 -0
- package/editor-web/assets/architecture-WOLXFQ4H-BnvZtQYk.js +1 -0
- package/editor-web/assets/architectureDiagram-ZHVYKT53-tkcEcFQ8.js +36 -0
- package/editor-web/assets/arrow-up-DTP2yVSU.js +1 -0
- package/editor-web/assets/article-B6YCzhj8.js +73 -0
- package/editor-web/assets/audio-lines-Ti8-m7H2.js +1 -0
- package/editor-web/assets/blockDiagram-RJAE7QA3-DhqEIpie.js +140 -0
- package/editor-web/assets/c4Diagram-XDPPPE54-Bg9G95tl.js +38 -0
- package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
- package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
- package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
- package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
- package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
- package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
- package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
- package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
- package/editor-web/assets/calc-worker-B5-fDWnb.js +45 -0
- package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
- package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
- package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
- package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
- package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
- package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
- package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
- package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
- package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
- package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
- package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
- package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
- package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
- package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
- package/editor-web/assets/channel-C26aBI4o.js +1 -0
- package/editor-web/assets/chart-BOnxneyw.js +1 -0
- package/editor-web/assets/choice-O5nwc2N0.js +1 -0
- package/editor-web/assets/chunk-2E7WHVMD-C8Ve9lAa.js +88 -0
- package/editor-web/assets/chunk-4EMNKR2T-BDWwPUnT.js +1 -0
- package/editor-web/assets/chunk-55XCU76K-BQiNPKgx.js +1 -0
- package/editor-web/assets/chunk-7S6XSTFO-QoEt-6jf.js +2 -0
- package/editor-web/assets/chunk-AQDTSKZB-BeuwIv0-.js +72 -0
- package/editor-web/assets/chunk-DSNLSHJZ-BHW7sLAz.js +129 -0
- package/editor-web/assets/chunk-HAGFOTED-bbGED0hu.js +62 -0
- package/editor-web/assets/chunk-HNE4Q36P-FltWp8yo.js +1 -0
- package/editor-web/assets/chunk-NQOKRVIF-NeQzr6kH.js +213 -0
- package/editor-web/assets/chunk-UHW7PFBP-eA4-WUhn.js +1 -0
- package/editor-web/assets/chunk-VQ5W62QI-BPPv325z.js +1 -0
- package/editor-web/assets/chunk-WQQL4CDK-DOCIz7Te.js +10 -0
- package/editor-web/assets/chunk-YZO67HFG-Dc_ihQJi.js +1 -0
- package/editor-web/assets/chunk-ZAUX2LTX-CoqwCPSm.js +1 -0
- package/editor-web/assets/chunk-ZCHMQSOR-CZUQPkJx.js +2 -0
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-DUh9c50k.js +217 -0
- package/editor-web/assets/collaborator-BJU5qwHd.js +1 -0
- package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
- package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
- package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
- package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
- package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
- package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
- package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
- package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
- package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
- package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
- package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
- package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
- package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
- package/editor-web/assets/createLucideIcon-B3B95oX5.js +1 -0
- package/editor-web/assets/cynefin-EF2NZ3EQ-DUTZiog0.js +1 -0
- package/editor-web/assets/cynefinDiagram-WF24UDRP-oAjpfbrU.js +62 -0
- package/editor-web/assets/dagre-NK4GIZVX-BrKvKCvb.js +4 -0
- package/editor-web/assets/diagram-CBK3MWTC-GekVRnmm.js +24 -0
- package/editor-web/assets/diagram-I5XIIV2D-CDd1VFRT.js +24 -0
- package/editor-web/assets/diagram-ODIL2UCW-535RISTn.js +30 -0
- package/editor-web/assets/diagram-PFBEJUXE-MXzzKCGG.js +3 -0
- package/editor-web/assets/diagram-RJA3I4VV-vKVwkQxY.js +41 -0
- package/editor-web/assets/diagram-TYUNFSNR-UwGAiQLx.js +200 -0
- package/editor-web/assets/dist-9ymlIMhr.js +1 -0
- package/editor-web/assets/dist-C6NqUEG4.js +16 -0
- package/editor-web/assets/dist-C9UGmCG9.js +6 -0
- package/editor-web/assets/dist-CAk5bjBm.js +1 -0
- package/editor-web/assets/dist-CKyfo5RM.js +340 -0
- package/editor-web/assets/dist-CRaWqNwq.js +37 -0
- package/editor-web/assets/dist-CwIBc7HQ.js +1 -0
- package/editor-web/assets/dist-DXRmkezB.js +38 -0
- package/editor-web/assets/dist-EKK5i0dG.js +219 -0
- package/editor-web/assets/dist-YW8hS4IM.js +9 -0
- package/editor-web/assets/dist-hHJlpLWo.js +5 -0
- package/editor-web/assets/dist-oYKcwWUj.js +4 -0
- package/editor-web/assets/dist-shKo7XVN.js +2 -0
- package/editor-web/assets/dist-wrKxBrVu.js +24 -0
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-73yGokYa.js +1 -0
- package/editor-web/assets/elk-QONTBCTQ-BW6V9y6a.js +27 -0
- package/editor-web/assets/erDiagram-KYQIGQAA-BPqIJ22h.js +99 -0
- package/editor-web/assets/eventmodeling-K75KTNOO-_VZ8jvuy.js +1 -0
- package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +1 -0
- package/editor-web/assets/ganttDiagram-R7GPNTJY-DZ157JN2.js +292 -0
- package/editor-web/assets/gitGraph-VSP46ZUC-fmcNL9bq.js +1 -0
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-DiZDyksR.js +106 -0
- package/editor-web/assets/hint-_AQWCDMj.js +1 -0
- package/editor-web/assets/index-BsstP-cI.js +28 -0
- package/editor-web/assets/index-DQRcmxBO.css +2 -0
- package/editor-web/assets/info-OHQRW6UA-V06620kN.js +1 -0
- package/editor-web/assets/infoDiagram-MVDRKAX5-CbIgheWX.js +2 -0
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-D5oJQPkG.js +70 -0
- package/editor-web/assets/italic-CDhZKo_q.js +1 -0
- package/editor-web/assets/journeyDiagram-BOSHW7O7-BZEv6JI4.js +139 -0
- package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
- package/editor-web/assets/kanban-definition-FNSA4HC5-CLG1R8y_.js +89 -0
- package/editor-web/assets/layout-SWqqA0yV.js +1 -0
- package/editor-web/assets/mermaid-parser.core-DxDwXM7z.js +7 -0
- package/editor-web/assets/mermaid.core-tU55ZwVG.js +44 -0
- package/editor-web/assets/mindmap-definition-6OY57UG3-CYf4zzAh.js +98 -0
- package/editor-web/assets/minus-Cgmm6ncD.js +1 -0
- package/editor-web/assets/packet-JDAUHWVQ-DsHeKYNL.js +1 -0
- package/editor-web/assets/pegDiagram-ECIUJNBX-CQyh6TTa.js +1 -0
- package/editor-web/assets/picture-B-I4V_JT.js +1 -0
- package/editor-web/assets/pie-XZMESJXO-3vCIvpNB.js +1 -0
- package/editor-web/assets/pieDiagram-GNMPY74T-DF5yGBLn.js +39 -0
- package/editor-web/assets/progress-0B_TVsPi.js +6 -0
- package/editor-web/assets/quadrantDiagram-D57K4MC3-B7pxlDYP.js +7 -0
- package/editor-web/assets/radar-ABXABTNO-cpEA41mL.js +1 -0
- package/editor-web/assets/railroad-I3PHUGI6-BLyy5R2c.js +1 -0
- package/editor-web/assets/railroad-abnf-LNEFI6M7-Y-oyol19.js +1 -0
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-o58wHZsr.js +1 -0
- package/editor-web/assets/railroad-peg-JR7BVNR7-CcD3PXZ8.js +1 -0
- package/editor-web/assets/railroadDiagram-Y72NRBL7-BuCC4eyy.js +1 -0
- package/editor-web/assets/react-BP46yLMB.js +1 -0
- package/editor-web/assets/react-pgBZqVxJ.js +96 -0
- package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
- package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
- package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
- package/editor-web/assets/repeat-2-C5PCbNsg.js +1 -0
- package/editor-web/assets/requirementDiagram-EQYSW5RA-Dp-JFGn4.js +84 -0
- package/editor-web/assets/sankeyDiagram-SY24JHO5-rYuCqEvw.js +40 -0
- package/editor-web/assets/schemas-Ewwjtbf4.js +1 -0
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-DryW8x6d.js +169 -0
- package/editor-web/assets/session-DiI9KYRI.js +1 -0
- package/editor-web/assets/slides-CCwgBcGH.js +1 -0
- package/editor-web/assets/sound-CqryteNl.js +1 -0
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js +291 -0
- package/editor-web/assets/strikethrough-DJckA35o.js +1 -0
- package/editor-web/assets/svg-BjM9RazX.js +1 -0
- package/editor-web/assets/swatch-DL3HqIjW.js +1 -0
- package/editor-web/assets/swimlanes-B3ENRKFQ-BiRRhhbd.js +1 -0
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +8 -0
- package/editor-web/assets/switch-DltnKqN-.js +1 -0
- package/editor-web/assets/syntax-C0iPON60.js +18 -0
- package/editor-web/assets/syntax-CC6QYhCz.js +1 -0
- package/editor-web/assets/tabs-C-re0Kxn.js +1 -0
- package/editor-web/assets/textarea-BGtPqZdB.js +105 -0
- package/editor-web/assets/timeline-definition-JXYKGLGB-D-Q5ZtDF.js +120 -0
- package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
- package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
- package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
- package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
- package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
- package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
- package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
- package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
- package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
- package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
- package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
- package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
- package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
- package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
- package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
- package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
- package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
- package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
- package/editor-web/assets/trash-2-Bjj6cWzP.js +1 -0
- package/editor-web/assets/treeView-D4JQ5SDB-B6DDatXq.js +1 -0
- package/editor-web/assets/treemap-SAJKECNS-D7j5ZhiI.js +1 -0
- package/editor-web/assets/undo-2-yOSG766T.js +1 -0
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-tkrdKUJB.js +328 -0
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-Ch4XbSnD.js +34 -0
- package/editor-web/assets/video-DXFiCNGc.js +1 -0
- package/editor-web/assets/wardley-7MLQ67FV-Bynt7qNQ.js +1 -0
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-DRuSgm_L.js +78 -0
- package/editor-web/assets/xychartDiagram-4URNHDU4-DctpvfkL.js +7 -0
- package/editor-web/index.html +7 -3
- package/package.json +21 -5
- package/dist/audio-text.js +0 -6
- package/dist/cloud-hearing.js +0 -2
- package/dist/commands/audio.js +0 -4
- package/dist/commands/inspect/contrast.js +0 -2
- package/dist/commands/inspect/fidelity.js +0 -2
- package/dist/commands/inspect/joins.js +0 -2
- package/dist/commands/inspect/motion.js +0 -4
- package/dist/commands/inspect/sheet.js +0 -3
- package/dist/commands/inspect/timeline.js +0 -3
- package/dist/commands/model.js +0 -3
- package/dist/commands/reference-text.js +0 -5
- package/dist/commands/reference.js +0 -2
- package/dist/commands/scenery-input.js +0 -2
- package/dist/commands/scenery.js +0 -7
- package/dist/commands/sheet.js +0 -8
- package/dist/commands/site.js +0 -4
- package/dist/commands/slides.js +0 -3
- package/dist/commands/voice.js +0 -3
- package/dist/commands/words-text.js +0 -6
- package/dist/commands/words.js +0 -2
- package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
- package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
- package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
- package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
- package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
- package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
- package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
- package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
- package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
- package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
- package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
- package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
- package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
- package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
- package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
- package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
- package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
- package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
- package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
- package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
- package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
- package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
- package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
- package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
- package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
- package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
- package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
- package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
- package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
- package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
- package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
- package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
- package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
- package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
- package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
- package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
- package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
- package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
- package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
- package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
- package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
- package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
- package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
- package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
- package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
- package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
- package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
- package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
- package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
- package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
- package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
- package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
- package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
- package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
- package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
- package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
- package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
- package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
- package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
- package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
- package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
- package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
- package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
- package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
- package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
- package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
- package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
- package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
- package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
- package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
- package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
- package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
- package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
- package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
- package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
- package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
- package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
- package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
- package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
- package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
- package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
- package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
- package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
- package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
- package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
- package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
- package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
- package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
- package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
- package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
- package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
- package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
- package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
- package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
- package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
- package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
- package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
- package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
- package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
- package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
- package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
- package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
- package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
- package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
- package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
- package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
- package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
- package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
- package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
- package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
- package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
- package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
- package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
- package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
- package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
- package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
- package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
- package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
- package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
- package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
- package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
- package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
- package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
- package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
- package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
- package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
- package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
- package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
- package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
- package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
- package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
- package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
- package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
- package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
- package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
- package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
- package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
- package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
- package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
- package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
- package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
- package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
- package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
- package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
- package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
- package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
- package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
- package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
- package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
- package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
- package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
- package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
- package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
- package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
- package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
- package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
- package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
- package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
- package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
- package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
- package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
- package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
- package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
- package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
- package/dist/text/timeline-text.js +0 -2
- package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
- package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
- package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
- package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
- package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
- package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
- package/editor-web/assets/channel-hhT2g1yB.js +0 -1
- package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
- package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
- package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
- package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
- package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
- package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
- package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
- package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
- package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
- package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
- package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
- package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
- package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
- package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
- package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
- package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
- package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
- package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
- package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
- package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
- package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
- package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
- package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
- package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
- package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
- package/editor-web/assets/dist-BRuoygB7.js +0 -2
- package/editor-web/assets/dist-CK42vCmN.js +0 -550
- package/editor-web/assets/dist-C_buDsM-.js +0 -36
- package/editor-web/assets/dist-DNcXHhzn.js +0 -37
- package/editor-web/assets/dist-HxiPpGXi.js +0 -10
- package/editor-web/assets/dist-PF3VMsK7.js +0 -1
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
- package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
- package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
- package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
- package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
- package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
- package/editor-web/assets/hint-BwGc32IE.js +0 -1
- package/editor-web/assets/index-BQKSbBSy.js +0 -69
- package/editor-web/assets/index-CfD80QPx.css +0 -2
- package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
- package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
- package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
- package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
- package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
- package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
- package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
- package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
- package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
- package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
- package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
- package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
- package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
- package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
- package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
- package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
- package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
- package/editor-web/assets/react-BSSSHUyV.js +0 -101
- package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
- package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
- package/editor-web/assets/svg-BiObwMnL.js +0 -1
- package/editor-web/assets/swatch-CwskGSEY.js +0 -105
- package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
- package/editor-web/assets/tabs-uHwPMprC.js +0 -1
- package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
- package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
- package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
- package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
- package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
- /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
- /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
- /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
- /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
- /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
- /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
- /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
- /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime/dist → piece/dist/page}/locate.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
- /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
- /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
- /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
- /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{spawn as T}from"node:child_process";import{mkdir as L,open as H,rename as k,rm as U,stat as N}from"node:fs/promises";import{dirname as z,join as C,resolve as D}from"node:path";import{MediaError as O,oneLine as G,stopped as P,mapLimit as I,ffmpegPath as W,tempFor as j}from"@allyhub/media";import{inWork as B,measured as K,uploaded as R}from"../cloud.js";import{UPLOAD_LONG_SIDE as Y,CHUNKS_AT_ONCE as q,CHUNK_WAIT_SECONDS as J,chunksOf as Q,evenSize as V,ffmpegOut as X,formatSeconds as Z,prepare as ee,sampleFpsOf as te,uploadCopy as ae}from"./common.js";import{encodeRate as ne,frameCount as oe,matteSize as re,sampleAt as ie,sampleFrames as se,tween as fe}from"./mattes.js";export const MATTE_TOOL="cut-out-video",MATTE_LONG_SIDE=480;async function ce(_,M,t,{ffmpeg:f,rate:m,frames:r,width:h,height:c,signal:n,onFrames:o}){const y=h*c,a=T(f,["-v","error","-nostdin","-y","-f","rawvideo","-pix_fmt","gray","-s",`${String(h)}x${String(c)}`,"-framerate",`${String(m.num)}/${String(m.den)}`,"-i","-","-vf","scale=in_range=full:out_range=full,format=yuv420p","-c:v","libx264","-preset","medium","-crf","18","-g",String(Math.max(1,Math.round(m.value*2))),"-color_range","pc","-movflags","+faststart","-an","-f","mp4",t],{stdio:["pipe","ignore","pipe"],...n?{signal:n}:{}});let b="";a.stderr.on("data",i=>b+=i.toString());const x=new Promise((i,S)=>{a.on("error",e=>{S(P(e.code==="ENOENT"?new O("ffmpeg",`Cannot run ffmpeg (${f}).`,{hint:"Run it again to fetch ffmpeg, or unset ALLYHUB_FFMPEG if it names a program that is not there."}):e,n))}),a.on("close",i)});x.catch(()=>{}),a.stdin.on("error",()=>{});const v=await H(_,"r");try{const i=new Map,S=async e=>{const d=i.get(e);if(d)return d;const u=new Uint8Array(y);await v.read(u,0,y,e*y);for(const w of i.keys())w<e-1&&i.delete(w);return i.set(e,u),u};for(let e=0;e<r&&!(a.exitCode!==null||a.stdin.destroyed);e++){const{a:d,b:u,f:w}=ie(e,M),g=fe(await S(d),await S(u),w);a.stdin.write(g)||await new Promise($=>{const s=()=>{a.stdin.off("drain",s),a.stdin.off("close",s),$()};a.stdin.on("drain",s),a.stdin.on("close",s)}),(e%10===9||e===r-1)&&o(e+1)}}finally{await v.close(),a.stdin.end()}const l=await x;if(n?.aborted)throw P(new Error("ffmpeg stopped"),n);if(l!==0)throw new O("ffmpeg",`ffmpeg could not write the matte: ${G(b||`it exited with code ${String(l)}`,300)}`)}export async function runMatte(_,M,t){const f=te(t),{path:m,probe:r}=await ee(_,t),h=await W(t),c=ne(r.fps),n=oe(r.duration,c),o=re(r.width,r.height,MATTE_LONG_SIDE);return B("matte",async y=>{const a=`Finding the person in ${String(n)} frames of ${m} (${Z(r.duration)}; looked at ${String(f)} times a second) in AllyHub's cloud`;t.onProgress?.({step:"decode",message:a});const b=Q(r.duration,f,t.chunkSeconds),x=await I(b,q,async(g,$)=>{const s=C(y,`chunk-${String($)}`);await L(s,{recursive:!0});const A=C(s,"matte-source.mp4");await ae(m,A,{fps:f,size:V(r.width,r.height,Y),from:g.first/f,frames:g.frames,ffmpeg:h,signal:t.signal});const F=await R(t.cloud,A),E=await K(t.cloud,MATTE_TOOL,{video:F},{dir:s,signal:t.signal,timeoutSeconds:J});if(E.file===void 0)throw new O("cloud","AllyHub's cloud answered without the matte video.");const p=C(s,"samples.raw");return await X(["-i",E.file,"-vf",`scale=${String(o.width)}:${String(o.height)}:flags=bicubic:in_range=tv:out_range=full,format=gray`,"-f","rawvideo",p],"read the matte the cloud made",{ffmpeg:h,signal:t.signal}),p}),v=C(y,"samples.raw"),l=o.width*o.height,i=await H(v,"w");try{for(const[g,$]of x.entries()){const s=b[g]?.frames??0,A=Math.floor((await N($)).size/l);if(A===0)throw new O("cloud",`AllyHub's cloud gave no frames of ${m}'s person matte.`);const F=await H($,"r");try{const E=new Uint8Array(l);for(let p=0;p<s;p++)p<A&&await F.read(E,0,l,p*l),await i.write(E)}finally{await F.close()}}}finally{await i.close()}const S=Math.floor((await N(v)).size/l),e=se(S,f,c,n);if(e.length===0)throw new O("cloud",`AllyHub's cloud gave no frames of ${m}'s person matte.`);const d=D(M),u=`Writing the matte (${String(o.width)}×${String(o.height)}, ${String(n)} frames at ${String(Math.round(c.value*1e3)/1e3)} fps) to ${d}`;t.onProgress?.({step:"encode",message:u}),await L(z(d),{recursive:!0});const w=j(d);try{await ce(v,e,w,{ffmpeg:h,rate:c,frames:n,width:o.width,height:o.height,signal:t.signal,onFrames:g=>{t.onProgress?.({step:"encode",message:u,done:g,total:n,unit:"frames"})}}),await k(w,d)}finally{await U(w,{force:!0})}return{info:{version:2,model:MATTE_TOOL,width:o.width,height:o.height,fps:Math.round(c.value*1e6)/1e6,sampleFps:f,duration:Math.round(n/c.value*1e6)/1e6,frames:e},provider:"AllyHub's cloud"}})}export async function personMatte(_,M,t){return(await runMatte(_,M,t)).info}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export function matteSize(n,t,a=480){const o=Math.min(1,a/Math.max(n,t)),c=e=>Math.max(2,2*Math.round(e*o/2));return{width:c(n),height:c(t)}}const i=[[24e3,1001],[24,1],[25,1],[3e4,1001],[30,1],[48,1],[50,1],[6e4,1001],[60,1],[120,1]],l=(n,t)=>t===0?n:l(t,n%t);export function encodeRate(n){let t;for(const[c,e]of i){const r=c/e,s=Math.abs(n-r)/r;s<.002&&(!t||s<Math.abs(n-t.value)/t.value)&&(t={num:c,den:e,value:r})}if(t)return t;const a=Math.max(1,Math.round(n*1e3)),o=l(a,1e3);return{num:a/o,den:1e3/o,value:a/1e3}}export const frameCount=(n,t)=>Math.max(1,Math.round(n*t.value));export function sampleFrames(n,t,a,o){const c=[];for(let e=0;e<n;e++){const r=Math.round(e/t*a.value);if(r>=o)break;(c.length===0||r>(c.at(-1)??-1))&&c.push(r)}return c}export function sampleAt(n,t){const a=t.length-1;if(a<0)return{a:0,b:0,f:0};if(n<(t[0]??0))return{a:0,b:0,f:0};let o=0,c=a;for(;o<c;){const u=o+c+1>>1;(t[u]??0)<=n?o=u:c=u-1}const e=o,r=t[e]??0;if(r===n||e===a)return{a:e,b:e,f:0};const s=e+1,h=t[s]??r+1;return{a:e,b:s,f:(n-r)/(h-r)}}export const APART=127;export function tween(n,t,a,o=new Uint8Array(n.length)){if(a<=0)return o.set(n),o;if(a>=1)return o.set(t),o;const c=a>.5;for(let e=0;e<n.length;e++){const r=n[e]??0,s=t[e]??0;o[e]=Math.abs(r-s)>APART?c?s:r:Math.round(r+(s-r)*a)}return o}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import"@allyhub/media";import{iou as w}from"./boxes.js";const E=1,N=.5,b=t=>t[2]*t[3],m=t=>[t[0]+t[2]/2,t[1]+t[3]/2];export function continues(t,e){if(w(t,e)>.1)return!0;const[f,s]=m(t),[r,n]=m(e);return Math.hypot(f-r,s-n)<.5*Math.sqrt(b(t))}export function chooseMain(t,e){const f=Math.max(1,Math.round(E*e)),s=[];let r;return t.forEach((n,c)=>{let a,i=0;for(const x of n)b(x.box)>i&&(i=b(x.box),a=x);if(r&&c-r.at<=f){const x=r.d.box;let o;for(const u of n)!continues(x,u.box)||b(u.box)<N*i||(!o||w(x,u.box)>w(x,o.box))&&(o=u);o&&(a=o)}s.push(a),a&&(r={d:a,at:c})}),s.map((n,c)=>{const a=s[c-1],i=s[c+1];return!n||!a||!i||continues(a.box,n.box)||continues(i.box,n.box)?n:continues(a.box,i.box)?void 0:n})}const O=(t,e,f)=>[t[0]+e,t[1]+f,t[2],t[3]];export function linkFaces(t,e){const f=Math.max(1,Math.round(E*e)),s=[],r=new Map;return t.forEach((n,c)=>{const a=[];for(const o of s){const u=c-o.at,h=u<=f,l=h?O(o.last,o.vx*u,o.vy*u):o.last;n.forEach((d,p)=>{const M=b(d.box)/Math.max(1,b(o.last));if(M<1/3||M>3||!continues(l,d.box)&&!continues(o.last,d.box))return;const[v,y]=m(l),[_,A]=m(d.box),S=Math.hypot(v-_,y-A)/Math.sqrt(Math.max(1,b(o.last)))+(h?0:1);a.push({f:o,d:p,cost:S})})}a.sort((o,u)=>o.cost-u.cost||o.f.id-u.f.id||o.d-u.d);const i=new Set,x=new Map;for(const o of a)i.has(o.f)||x.has(o.d)||(i.add(o.f),x.set(o.d,o.f));n.forEach((o,u)=>{let h=x.get(u);if(h){const l=c-h.at;if(l<=f){const[d,p]=m(h.last),[M,v]=m(o.box);h.vx=(h.vx+(M-d)/l)/2,h.vy=(h.vy+(v-p)/l)/2}else h.vx=0,h.vy=0}else h={id:s.length,last:o.box,at:c,vx:0,vy:0,frames:[]},s.push(h);h.last=o.box,h.at=c,h.frames[c]=o,r.set(o,h.id)})}),{faces:s.map(n=>({id:n.id,frames:Array.from({length:t.length},(c,a)=>n.frames[a])})),of:r}}export function defaultSpeaker(t,e){const f=new Map;for(const n of t){const c=n===void 0?void 0:e.get(n);c!==void 0&&f.set(c,(f.get(c)??0)+1)}let s,r=0;for(const[n,c]of f)(c>r||c===r&&s!==void 0&&n<s)&&(s=n,r=c);return s}const j=(t,e,f)=>t+(e-t)*f;export function fillGaps(t){const e=t.flatMap((s,r)=>s?[r]:[]),f=[];for(let s=0;s<e.length;s++){const r=e[s]??0,n=t[r];if(!n)continue;f.push({index:r,box:[...n.box],score:n.score});const c=e[s+1],a=c===void 0?void 0:t[c];if(!(c===void 0||!a))for(let i=r+1;i<c;i++){const x=(i-r)/(c-r);f.push({index:i,box:[0,1,2,3].map(o=>j(n.box[o]??0,a.box[o]??0,x)),score:0})}}return f}function q(t,e){const[f,s]=m(t),[r,n]=m(e);return Math.hypot(f-r,s-n)>Math.max(t[2],t[3],e[2],e[3])}export function smoothBoxes(t,e){if(e<=0||t.length<2)return t.map(a=>[...a]);const f=Math.ceil(2.5*e),s=Array.from({length:f+1},(a,i)=>Math.exp(-(i*i)/(2*e*e))),r=[];let n=0;t.forEach((a,i)=>{const x=t[i-1];x&&q(x,a)&&n++,r.push(n)});const c=t.map(a=>[...m(a),a[2],a[3]]);return t.map((a,i)=>{const x=[0,0,0,0];let o=0;for(let p=-f;p<=f;p++){const M=c[i+p];if(!M||r[i+p]!==r[i])continue;const v=s[Math.abs(p)]??0;o+=v;for(let y=0;y<4;y++)x[y]=(x[y]??0)+v*(M[y]??0)}const[u=0,h=0,l=0,d=0]=x.map(p=>p/o);return[u-l/2,h-d/2,l,d]})}const g=(t,e)=>Math.round(t*10**e)/10**e;function C(t,e,f){const s=Math.max(0,t[0]),r=Math.max(0,t[1]),n=Math.min(e,t[0]+t[2]),c=Math.min(f,t[1]+t[3]);return[s,r,Math.max(0,n-s),Math.max(0,c-r)]}export function buildTrack(t){const{fps:e,width:f,height:s}=t,r=linkFaces(t.frames,e),n=r.faces.map(a=>{const i=fillGaps(a.frames),x=smoothBoxes(i.map(u=>u.box),(t.smoothing??.1)*e),o=i.map((u,h)=>{const l=C(x[h]??u.box,f,s);return{t:g(u.index/e,3),box:[g(l[0],1),g(l[1],1),g(l[2],1),g(l[3],1)],score:g(u.score,3)}});return{id:a.id,samples:o}}),c=defaultSpeaker(chooseMain(t.frames,e),r.of);return{version:2,model:t.model,width:f,height:s,fps:e,faces:n,...c===void 0?{}:{speaker:c}}}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allyhub/media-extension",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"default": "./dist/index.js"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"allyhub": {
|
|
12
|
+
"id": "allyhub.media",
|
|
13
|
+
"engines": "^0.1.0",
|
|
14
|
+
"contributes": {
|
|
15
|
+
"mediaAnalyses": [
|
|
16
|
+
{
|
|
17
|
+
"id": "faces",
|
|
18
|
+
"about": "Every face of a video over time, followed from frame to frame, and the default speaker (found in AllyHub's cloud).",
|
|
19
|
+
"what": "the face track",
|
|
20
|
+
"media": [
|
|
21
|
+
"video"
|
|
22
|
+
],
|
|
23
|
+
"module": "./dist/analyses/faces.js"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "matte",
|
|
27
|
+
"about": "The person in a video as a matte video, luma the alpha (made in AllyHub's cloud).",
|
|
28
|
+
"what": "the person matte",
|
|
29
|
+
"media": [
|
|
30
|
+
"video"
|
|
31
|
+
],
|
|
32
|
+
"module": "./dist/analyses/matte.js"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"previewRenderers": [
|
|
36
|
+
{
|
|
37
|
+
"id": "allyhub.media.picture",
|
|
38
|
+
"types": [
|
|
39
|
+
"image/*"
|
|
40
|
+
],
|
|
41
|
+
"module": "@allyhub/media-renderers/picture"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "allyhub.media.video",
|
|
45
|
+
"types": [
|
|
46
|
+
"video/*"
|
|
47
|
+
],
|
|
48
|
+
"module": "@allyhub/media-renderers/video"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "allyhub.media.sound",
|
|
52
|
+
"types": [
|
|
53
|
+
"audio/*"
|
|
54
|
+
],
|
|
55
|
+
"module": "@allyhub/media-renderers/sound"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"private": true,
|
|
61
|
+
"license": "SEE LICENSE IN LICENSE.md"
|
|
62
|
+
}
|
|
@@ -537,10 +537,15 @@ export declare class Bpy {
|
|
|
537
537
|
export declare const createBpy: (options?: ModelingContextOptions) => Bpy;
|
|
538
538
|
export type ModelParameters = Readonly<Record<string, unknown>>;
|
|
539
539
|
export interface ModelDefinition {
|
|
540
|
+
/** Its title, for people: what Studio and `allyhub dev` list it by (none: its name). */
|
|
541
|
+
readonly title?: string;
|
|
540
542
|
build(bpy: Bpy, parameters: ModelParameters): void | Promise<void>;
|
|
541
543
|
}
|
|
542
|
-
/**
|
|
543
|
-
|
|
544
|
+
/**
|
|
545
|
+
* AllyHub extension: a model module's default export, of its build alone
|
|
546
|
+
* or of `{ title, build }`.
|
|
547
|
+
*/
|
|
548
|
+
export declare function defineModel(definition: ModelDefinition["build"] | ModelDefinition): ModelDefinition;
|
|
544
549
|
/** AllyHub extension: an object's mesh, failing for curve objects and empties. */
|
|
545
550
|
export declare function meshData(object: ModelObject): ModelMesh;
|
|
546
551
|
/** An internal invariant checked at the adapter boundary. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{allocateName as p}from"./names.js";import{MeshAttributes as w}from"./mesh-attributes.js";import{polygonArea as x,polygonCenter as S,polygonNormal as v,vertexNormal as M,vertexNormals as E}from"./mesh-queries.js";import{VertexGroups as k}from"./vertex-groups.js";export class ModelError extends Error{code;constructor(e,t){super(t),this.name="ModelError",this.code=e}}export function requireModel(i,e){if(!i)throw new ModelError("invalid_model",e)}export function unsupported(i){throw new ModelError("unsupported_model_api",`${i} is not supported. The supported subset is @allyhub/model's capabilities (its README).`)}export function finiteVector(i,e,t){requireModel(i.length===e&&i.every(Number.isFinite),`${t} must contain ${String(e)} finite numbers.`)}const _=new WeakMap;export class DataBlock{owner;identity=Symbol("datablock");alive=!0;name;constructor(e,t){this.owner=e,this.name=t}copy(){requireModel(this.alive,"Cannot copy a removed datablock.");const e=_.get(this);return requireModel(e,"This datablock cannot be copied."),e()}}export class DataBlocks{entries=[];make;removing;cloning;guard;constructor(e,t=()=>{},o,a=()=>{}){this.make=e,this.removing=t,this.cloning=o,this.guard=a}new(e,...t){return this.insert(e,o=>this.make(o,...t))}insert(e,t){this.guard(),requireModel(typeof e=="string"&&e.length>0,"A datablock needs a nonempty name.");const o=p(e,this.entries.map(r=>r.name),"ID"),a=t(o);this.entries.push(a);const s=this.cloning;return s&&_.set(a,()=>this.insert(a.name,r=>s(a,r))),a}get(e){this.guard();const t=this.entries.filter(o=>o.name===e);return requireModel(t.length<=1,`Ambiguous datablock name ${e}.`),t[0]??null}remove(e){this.guard();const t=this.entries.indexOf(e);requireModel(t!==-1,"The datablock does not belong to this collection."),this.removing(e),this.entries.splice(t,1),e.alive=!1,_.delete(e)}get length(){return this.guard(),this.entries.length}[Symbol.iterator](){return this.guard(),this.entries[Symbol.iterator]()}invalidate(){for(const e of this.entries)e.alive=!1,_.delete(e);this.entries.length=0}}export const materialSupport={},imageSupport={};export class ModelMaterial extends DataBlock{diffuse_color=[.8,.8,.8,1];metallic=0;roughness=.4;use_backface_culling=!1;#e=!1;#t=null;get use_nodes(){return this.#e}set use_nodes(e){if(requireModel(typeof e=="boolean","use_nodes must be a boolean."),requireModel(this.alive,"Cannot edit a removed material."),e&&!this.#t){const t=materialSupport.standardTree;requireModel(t,"Material nodes are not loaded; import @allyhub/model."),this.#t=t(this.owner,()=>this.alive)}this.#e=e}get node_tree(){return this.#t}adoptTree(e){this.#t=e.#t?.copy(this.owner,()=>this.alive)??null,this.#e=e.#e}}function y(i,e){for(const t of i)for(const[o,a]of Object.entries(e(t)))Object.defineProperty(t,o,{get:a,configurable:!0,enumerable:!1});return i}export class MaterialSlots{entries=[];#e=[];shrunkSince(e){return[Math.min(this.entries.length,...this.#e.slice(e)),this.#e.length]}append(e){this.entries.push(e)}get length(){return this.entries.length}at(e){return this.entries[e]}clear(){this.entries.length=0,this.#e.push(0)}pop(e=-1){requireModel(Number.isInteger(e),"index must be an integer.");const t=e<0?this.entries.length+e:e;requireModel(t>=0&&t<this.entries.length,`Index ${String(e)} is out of range.`);const[o]=this.entries.splice(t,1);return this.#e.push(this.entries.length),o??null}set(e,t){requireModel(Number.isInteger(e)&&e>=0&&e<this.entries.length,`Index ${String(e)} is out of range.`),this.entries[e]=t}[Symbol.iterator](){return this.entries[Symbol.iterator]()}adopt(e){this.entries=e.entries,this.#e.push(Math.min(...e.#e,this.entries.length))}}export class MeshUVLayer{name;data;constructor(e,t){this.name=e,this.data=Array.from({length:t},()=>({uv:[0,0],pin_uv:!1,select:!1,select_edge:!1}))}}export function resetUV(i,e){return e===4?[[0,0],[1,0],[1,1],[0,1]][i]??[0,0]:e===3?[[0,0],[1,0],[1,1]][i]??[0,0]:[.5+.5*Math.sin(2*Math.PI*i/e),.5+.5*Math.cos(2*Math.PI*i/e)]}export class MeshUVLayers{layers=[];mesh;active_index=0;constructor(e){this.mesh=e}new(e="UVMap",t=!0){requireModel(this.mesh.alive,"Cannot edit a removed mesh."),requireModel(typeof e=="string","A UV layer name must be a string."),requireModel(typeof t=="boolean","do_init must be a boolean.");const o=p(e||"UVMap",this.layers.map(s=>s.name),"UV"),a=new MeshUVLayer(o,this.mesh.loops.length);if(t){const s=this.active;if(s)a.data.forEach((r,n)=>{const l=s.data[n]?.uv;l&&(r.uv=[l[0],l[1]])});else for(const r of this.mesh.polygons){const n=r.loop_total;for(let l=0;l<n;l++){const c=a.data[r.loop_start+l];c&&(c.uv=resetUV(l,n))}}}return this.layers.push(a),a}get(e){return this.layers.find(t=>t.name===e)??null}get active(){return this.layers[this.active_index]??null}get length(){return this.layers.length}remove(e){const t=this.layers.indexOf(e);requireModel(t>=0,"UV layer is not part of this mesh."),this.layers.splice(t,1),t<this.active_index&&this.active_index--,this.active_index=Math.max(0,Math.min(this.active_index,this.layers.length-1))}clear(){this.layers.length=0,this.active_index=0}[Symbol.iterator](){return this.layers[Symbol.iterator]()}adopt(e){this.layers=e.layers,this.active_index=e.active_index}}export class ModelMesh extends DataBlock{#e=[];edges=[];loops=[];#t=[];get vertices(){return this.#e}set vertices(e){this.#e=y(e,t=>({normal:()=>M(this,this.#e.indexOf(t))}))}get polygons(){return this.#t}set polygons(e){this.#t=y(e,t=>({normal:()=>v(this,t),center:()=>S(this,t),area:()=>x(this,t)}))}get vertex_normals(){return E(this).map(e=>({vector:e}))}get polygon_normals(){return this.#t.map(e=>({vector:v(this,e)}))}shade_smooth(){requireModel(this.alive,"Cannot edit a removed mesh.");for(const e of this.#t)e.use_smooth=!0}shade_flat(){requireModel(this.alive,"Cannot edit a removed mesh.");for(const e of this.#t)e.use_smooth=!1}set_sharp_from_angle(e=Math.PI){requireModel(this.alive,"Cannot edit a removed mesh."),requireModel(Number.isFinite(e)&&e>=0&&e<=Math.PI,"set_sharp_from_angle needs an angle in [0, pi].");const t=new Map;this.#t.forEach((s,r)=>{s.vertices.forEach((n,l)=>{const c=present(s.vertices[(l+1)%s.vertices.length]),d=n<c?`${String(n)},${String(c)}`:`${String(c)},${String(n)}`,u=t.get(d);u?u.push(r):t.set(d,[r])})});const o=e>0&&e<Math.PI?this.polygon_normals:[],a=Math.fround(Math.cos(Math.fround(e)));for(const s of this.edges){const[r,n]=s.vertices,l=t.get(r<n?`${String(r)},${String(n)}`:`${String(n)},${String(r)}`)??[],[c,d]=l.map(u=>o[u]?.vector);s.use_edge_sharp=l.length>=2&&c!==void 0&&d!==void 0&&c[0]*d[0]+c[1]*d[1]+c[2]*d[2]<a}for(const s of this.#t)s.use_smooth=e>0}materials=new MaterialSlots;uv_layers=new MeshUVLayers(this);attributes=new w(this);from_pydata(e,t,o,a=!0){requireModel(this.alive,"Cannot edit a removed mesh.");const s=e.map(h=>(finiteVector(h,3,"Vertex"),{co:[...h]})),r=[],n=new Map,l=h=>{requireModel(Number.isInteger(h)&&h>=0&&h<s.length,`Invalid vertex index ${String(h)}.`)},c=(h,m)=>{l(h),l(m),requireModel(h!==m,"An edge needs two distinct vertices.");const f=h<m?`${String(h)},${String(m)}`:`${String(m)},${String(h)}`,g=n.get(f);return g!==void 0?g:(n.set(f,r.length),r.push({vertices:[h,m]}),r.length-1)};for(const h of t)requireModel(h.length===2,"An edge needs exactly two indices."),c(present(h[0]),present(h[1]));const d=[],u=o.map(h=>{requireModel(h.length>=3&&new Set(h).size===h.length,"A face needs at least three distinct vertices."),h.forEach(l);const m=d.length;for(let f=0;f<h.length;f++)d.push({vertex_index:present(h[f]),edge_index:c(present(h[f]),present(h[(f+1)%h.length]))});return{vertices:[...h],material_index:0,use_smooth:!a,loop_start:m,loop_total:h.length}});this.uv_layers.clear(),this.attributes.clear(),this.vertices=s,this.edges=r,this.loops=d,this.polygons=u}update(){}}export class BooleanModifier{name;type="BOOLEAN";operation="DIFFERENCE";object=null;solver="EXACT";operand_type="OBJECT";material_mode="INDEX";show_viewport=!0;show_render=!0;constructor(e){this.name=e,Object.seal(this)}}export class MirrorModifier{type="MIRROR";use_axis=[!0,!1,!1];use_bisect_axis=[!1,!1,!1];use_bisect_flip_axis=[!1,!1,!1];use_clip=!1;use_mirror_merge=!0;merge_threshold=.001;bisect_threshold=.001;mirror_object=null;use_mirror_vertex_groups=!0;use_mirror_u=!1;use_mirror_v=!1;offset_u=0;offset_v=0;mirror_offset_u=0;mirror_offset_v=0;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class ArrayModifier{type="ARRAY";fit_type="FIXED_COUNT";count=2;fit_length=0;use_relative_offset=!0;relative_offset_displace=[1,0,0];use_constant_offset=!1;constant_offset_displace=[1,0,0];use_object_offset=!1;offset_object=null;use_merge_vertices=!1;use_merge_vertices_cap=!1;merge_threshold=.01;start_cap=null;end_cap=null;offset_u=0;offset_v=0;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class SolidifyModifier{type="SOLIDIFY";solidify_mode="EXTRUDE";thickness=.01;offset=-1;use_even_offset=!1;use_quality_normals=!1;use_rim=!0;use_rim_only=!1;use_flip_normals=!1;material_offset=0;material_offset_rim=0;edge_crease_inner=0;edge_crease_outer=0;edge_crease_rim=0;thickness_clamp=0;use_thickness_angle_clamp=!1;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class SubsurfModifier{type="SUBSURF";subdivision_type="CATMULL_CLARK";levels=1;render_levels=2;quality=3;uv_smooth="PRESERVE_BOUNDARIES";boundary_smooth="ALL";use_creases=!0;use_custom_normals=!1;use_limit_surface=!0;show_only_control_edges=!0;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class BevelModifier{type="BEVEL";width=.1;segments=1;affect="EDGES";limit_method="ANGLE";angle_limit=Math.PI/6;edge_weight="bevel_weight_edge";vertex_weight="bevel_weight_vert";vertex_group="";invert_vertex_group=!1;use_clamp_overlap=!0;offset_type="OFFSET";profile_type="SUPERELLIPSE";profile=.5;material=-1;loop_slide=!0;mark_seam=!1;mark_sharp=!1;harden_normals=!1;face_strength_mode="FSTR_NONE";miter_outer="MITER_SHARP";miter_inner="MITER_SHARP";spread=.1;vmesh_method="ADJ";show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.defineProperty(this,"width_pct",{enumerable:!0,get:()=>this.width,set:t=>{this.width=t}}),Object.seal(this)}}export class ScrewModifier{type="SCREW";angle=2*Math.PI;steps=16;render_steps=16;iterations=1;axis="Z";screw_offset=0;object=null;use_object_screw_offset=!1;use_merge_vertices=!1;merge_threshold=.01;use_normal_flip=!1;use_normal_calculate=!1;use_smooth_shade=!0;use_stretch_u=!1;use_stretch_v=!1;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class WeightedNormalModifier{type="WEIGHTED_NORMAL";mode="FACE_AREA";weight=50;thresh=.01;keep_sharp=!1;use_face_influence=!1;vertex_group="";invert_vertex_group=!1;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class ObjectModifiers{entries=[];new(e,t){["BOOLEAN","MIRROR","ARRAY","SOLIDIFY","SUBSURF","BEVEL","SCREW","WEIGHTED_NORMAL"].includes(t)||unsupported(`Modifier ${t}`),requireModel(typeof e=="string"&&e.length>0,"A modifier needs a nonempty name.");const o=p(e,this.entries.map(s=>s.name),"LOCAL"),a=t==="BOOLEAN"?new BooleanModifier(o):t==="MIRROR"?new MirrorModifier(o):t==="ARRAY"?new ArrayModifier(o):t==="SOLIDIFY"?new SolidifyModifier(o):t==="SUBSURF"?new SubsurfModifier(o):t==="SCREW"?new ScrewModifier(o):t==="WEIGHTED_NORMAL"?new WeightedNormalModifier(o):new BevelModifier(o);return this.entries.push(a),a}get(e){const t=this.entries.filter(o=>o.name===e);return requireModel(t.length<=1,`Ambiguous modifier name ${e}.`),t[0]??null}at(e){return this.entries.at(e)}get length(){return this.entries.length}remove(e){const t=this.entries.indexOf(e);requireModel(t>=0,"Modifier does not belong to this object."),this.entries.splice(t,1)}clear(){this.entries.length=0}move(e,t){requireModel([e,t].every(a=>Number.isInteger(a)&&a>=0&&a<this.entries.length),"Modifier index out of range.");const o=present(this.entries.splice(e,1)[0]);this.entries.splice(t,0,o)}[Symbol.iterator](){return this.entries[Symbol.iterator]()}}function b(i,e,t=new Set){if(t.has(i))return!1;if(t.add(i),i.objects.has(e))return!0;for(const o of i.children)if(b(o,e,t))return!0;return!1}export class MaterialSlot{#e;slot_index;constructor(e,t){this.#e=e,this.slot_index=t,Object.freeze(this)}get link(){return this.#e.slotState(this.slot_index).link}set link(e){if(e!=="DATA"&&e!=="OBJECT")throw new TypeError(`enum "${String(e)}" not found in ('OBJECT', 'DATA')`);this.#e.slotState(this.slot_index).link=e}get material(){return this.#e.slotMaterial(this.slot_index)}set material(e){this.#e.setSlotMaterial(this.slot_index,e)}get name(){return this.material?.name??""}}export class ModelObject extends DataBlock{data;location=[0,0,0];rotation_euler=[0,0,0];scale=[1,1,1];parent=null;hide_render=!1;hide_viewport=!1;modifiers=new ObjectModifiers;instance_type="NONE";#e=null;vertex_groups=new k(this);constructor(e,t,o){super(e,t),this.data=o}get instance_collection(){return this.#e}set instance_collection(e){e&&(requireModel(e.owner===this.owner&&e.alive,"Cannot instance a removed collection or one from another context."),requireModel(!b(e,this),"Cannot set instance-collection as object belongs in collection being instanced, thus causing a cycle.")),this.#e=e}#t=[];#n=[null,0];#s=0;syncSlots(){const e=this.data?.materials??null,[t,o]=this.#n,[a,s]=e?t===e?e.shrunkSince(o):[e.length,e.shrunkSince(0)[1]]:[0,0];this.#t.length>a&&(this.#t.length=a);const r=e?.length??0;for(;this.#t.length<r;)this.#t.push({link:"DATA",material:null});return this.#n=[e,s],r}slotState(e){this.syncSlots();const t=this.#t[e];return requireModel(t,`${this.name} has no material slot ${String(e)}.`),t}slotMaterial(e){const t=this.slotState(e);return t.link==="OBJECT"?t.material:this.data?.materials.at(e)??null}setSlotMaterial(e,t){t&&requireModel(t.owner===this.owner&&t.alive,"Cannot assign a removed material or one from another context.");const o=this.slotState(e);o.link==="OBJECT"?o.material=t:present(this.data).materials.set(e,t)}get material_slots(){return Array.from({length:this.syncSlots()},(e,t)=>new MaterialSlot(this,t))}get active_material_index(){const e=this.data?.materials.length??0;return Math.max(0,Math.min(this.#s,e-1))}set active_material_index(e){requireModel(Number.isInteger(e),"active_material_index must be an integer."),this.#s=Math.max(0,e)}get active_material(){return this.data?.materials.length??0?this.slotMaterial(this.active_material_index):null}set active_material(e){const t=this.data;if(requireModel(t,`${this.name} has no data to hold a material.`),!t.materials.length){e&&requireModel(e.owner===this.owner&&e.alive,"Cannot assign a removed material or one from another context."),t.materials.append(e),this.#s=0;return}this.setSlotMaterial(this.active_material_index,e)}copySlots(e){e.syncSlots(),this.#t=e.#t.map(t=>({...t})),this.#n=[...e.#n],this.#s=e.#s}ownMaterials(){return this.syncSlots(),this.#t.map(e=>e.material)}get rotation_mode(){return"XYZ"}set rotation_mode(e){e!=="XYZ"&&unsupported(`rotation_mode ${e}`)}}export class Links{entries=new Set;owner;constructor(e){this.owner=e}link(e){requireModel(e.owner===this.owner&&e.alive,"Cannot link a removed datablock or one from another context."),requireModel(!this.entries.has(e),`${e.name} is already linked.`),this.entries.add(e)}unlink(e){requireModel(this.entries.delete(e),`${e.name} is not linked.`)}has(e){return this.entries.has(e)}get length(){return this.entries.size}[Symbol.iterator](){return this.entries[Symbol.iterator]()}}export class ModelCollection extends DataBlock{objects;children;instance_offset=[0,0,0];constructor(e,t){super(e,t),this.objects=new Links(e),this.children=new Links(e)}}export const curveSupport={};export class MeshBlocks extends DataBlocks{new_from_object(e,t=!1,o=null){requireModel(typeof t=="boolean","preserve_all_data_layers must be a boolean."),o!==null&&unsupported("new_from_object with a depsgraph (evaluated objects); apply modifiers with applyModifier"),requireModel(e.alive,"Cannot convert a removed object.");const a=e.data;if(requireModel(a,`${e.name} has no data to convert to a mesh.`),a instanceof ModelMesh)return a.copy();const s=curveSupport.toMesh;requireModel(s,"Curve support is not loaded; import @allyhub/model.");const r=this.new(a.name);try{s(a,r)}catch(n){throw this.remove(r),n}return r}}export class ImageBlocks extends DataBlocks{load(e,t=!1){requireModel(typeof t=="boolean","check_existing must be a boolean.");const{load:o,path:a}=imageSupport;requireModel(o&&a,"Images are not loaded; import @allyhub/model.");const s=a(e);if(t){const n=[...this].find(l=>l.source==="FILE"&&l.filepath===s);if(n)return n}const r=s.slice(s.lastIndexOf("/")+1);return this.insert(r,n=>o(this.owner,n,s))}owner;constructor(e,t,o){super((a,s,r,n=!1,l=!1,c=!1,d=!1,u=!1)=>{const h=imageSupport.generate;return requireModel(h,"Images are not loaded; import @allyhub/model."),h(e,a,s,r,n,l,c,d,u)},t,(a,s)=>{const r=imageSupport.copy;return requireModel(r,"Images are not loaded; import @allyhub/model."),r(a,e,s)},o),this.owner=e}}export class Bpy{active=!0;randomState;owner=Symbol("model context");data;context;constructor(e={}){const t=e.seed??0;requireModel(Number.isSafeInteger(t),"Model seed must be a safe integer."),this.randomState=t>>>0;const o=()=>{this.assertActive()},a=new ModelCollection(this.owner,"Scene Collection");this.context={scene:{collection:a},collection:a},this.data={meshes:new MeshBlocks(s=>new ModelMesh(this.owner,s),s=>{requireModel(![...this.data.objects].some(r=>r.data===s),`Mesh ${s.name} is still used by an object.`)},(s,r)=>{const n=new ModelMesh(this.owner,r);n.vertices=structuredClone(s.vertices),n.edges=structuredClone(s.edges),n.loops=structuredClone(s.loops),n.polygons=structuredClone(s.polygons),n.attributes.copyFrom(s.attributes);for(const l of s.uv_layers){const c=n.uv_layers.new(l.name,!1);c.data.splice(0,c.data.length,...structuredClone(l.data))}n.uv_layers.active_index=s.uv_layers.active_index;for(const l of s.materials)n.materials.append(l);return n},o),objects:new DataBlocks((s,r)=>(requireModel(r===null||r.owner===this.owner&&r.alive,"Invalid mesh or curve datablock."),requireModel(r===null||[...this.data.meshes,...this.data.curves].some(n=>n===r),"Object data must be a mesh or a curve of this context."),new ModelObject(this.owner,s,r)),s=>{for(const r of[a,...this.data.collections])r.objects.has(s)&&r.objects.unlink(s);for(const r of this.data.curves)r.bevel_object===s&&(r.bevel_object=null),r.taper_object===s&&(r.taper_object=null);for(const r of this.data.objects){r.parent===s&&(r.parent=null);for(const n of r.modifiers)n.type==="BOOLEAN"&&n.object===s&&(n.object=null),n.type==="MIRROR"&&n.mirror_object===s&&(n.mirror_object=null),n.type==="SCREW"&&n.object===s&&(n.object=null),n.type==="ARRAY"&&(n.offset_object===s&&(n.offset_object=null),n.start_cap===s&&(n.start_cap=null),n.end_cap===s&&(n.end_cap=null))}},(s,r)=>{const n=new ModelObject(this.owner,r,s.data);n.location=[...s.location],n.rotation_euler=[...s.rotation_euler],n.scale=[...s.scale],n.parent=s.parent,n.hide_render=s.hide_render,n.hide_viewport=s.hide_viewport,n.instance_type=s.instance_type,n.instance_collection=s.instance_collection,n.copySlots(s);for(const l of s.vertex_groups)n.vertex_groups.new(l.name);for(const l of s.modifiers)Object.assign(n.modifiers.new(l.name,l.type),Object.fromEntries(Object.entries(l).map(([c,d])=>[c,Array.isArray(d)?[...d]:d])));return n},o),materials:new DataBlocks(s=>new ModelMaterial(this.owner,s),s=>{requireModel(![...this.data.meshes].some(r=>[...r.materials].includes(s)),`Material ${s.name} is still used by a mesh.`),requireModel(![...this.data.curves].some(r=>[...r.materials].includes(s)),`Material ${s.name} is still used by a curve.`),requireModel(![...this.data.objects].some(r=>r.ownMaterials().includes(s)),`Material ${s.name} is still used by an object's material slot.`)},(s,r)=>{const n=new ModelMaterial(this.owner,r);return n.diffuse_color=[...s.diffuse_color],n.metallic=s.metallic,n.roughness=s.roughness,n.use_backface_culling=s.use_backface_culling,n.adoptTree(s),n},o),collections:new DataBlocks(s=>new ModelCollection(this.owner,s),s=>{for(const r of[a,...this.data.collections])r.children.has(s)&&r.children.unlink(s);for(const r of this.data.objects)r.instance_collection===s&&(r.instance_collection=null)},(s,r)=>{const n=new ModelCollection(this.owner,r);n.instance_offset=[...s.instance_offset];for(const l of s.objects)n.objects.link(l);for(const l of s.children)n.children.link(l);return n},o),curves:new DataBlocks((s,r)=>{r!=="CURVE"&&unsupported(`Curve type ${r}`);const n=curveSupport.make;return requireModel(n,"Curve support is not loaded; import @allyhub/model."),n(this.owner,s)},s=>{requireModel(![...this.data.objects].some(r=>r.data===s),`Curve ${s.name} is still used by an object.`)},(s,r)=>{const n=curveSupport.make,l=curveSupport.copy;return requireModel(n&&l,"Curve support is not loaded."),l(s,n(this.owner,r))},o),images:new ImageBlocks(this.owner,s=>{requireModel(![...this.data.materials].some(r=>[...r.node_tree?.nodes??[]].some(n=>"image"in n&&n.image===s)),`Image ${s.name} is still used by a material.`)},o)}}dispose(){if(this.active){for(const e of Object.values(this.data))e.invalidate();this.context.scene.collection.alive=!1,this.active=!1}}assertActive(){requireModel(this.active,"Model context is disposed.")}random(){this.assertActive(),this.randomState=this.randomState+1831565813>>>0;let e=this.randomState;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}export const createBpy=(i={})=>new Bpy(i);export function defineModel(i){return Object.freeze({build:i})}export function meshData(i){const e=i.data;return requireModel(e instanceof ModelMesh,`${i.name} is not a mesh object.`),e}export function present(i){return requireModel(i!=null,"Missing model element."),i}
|
|
2
|
+
import{allocateName as p}from"./names.js";import{MeshAttributes as w}from"./mesh-attributes.js";import{polygonArea as x,polygonCenter as S,polygonNormal as b,vertexNormal as M,vertexNormals as E}from"./mesh-queries.js";import{VertexGroups as k}from"./vertex-groups.js";export class ModelError extends Error{code;constructor(e,t){super(t),this.name="ModelError",this.code=e}}export function requireModel(i,e){if(!i)throw new ModelError("invalid_model",e)}export function unsupported(i){throw new ModelError("unsupported_model_api",`${i} is not supported. The supported subset is @allyhub/model's capabilities (its README).`)}export function finiteVector(i,e,t){requireModel(i.length===e&&i.every(Number.isFinite),`${t} must contain ${String(e)} finite numbers.`)}const _=new WeakMap;export class DataBlock{owner;identity=Symbol("datablock");alive=!0;name;constructor(e,t){this.owner=e,this.name=t}copy(){requireModel(this.alive,"Cannot copy a removed datablock.");const e=_.get(this);return requireModel(e,"This datablock cannot be copied."),e()}}export class DataBlocks{entries=[];make;removing;cloning;guard;constructor(e,t=()=>{},o,a=()=>{}){this.make=e,this.removing=t,this.cloning=o,this.guard=a}new(e,...t){return this.insert(e,o=>this.make(o,...t))}insert(e,t){this.guard(),requireModel(typeof e=="string"&&e.length>0,"A datablock needs a nonempty name.");const o=p(e,this.entries.map(r=>r.name),"ID"),a=t(o);this.entries.push(a);const s=this.cloning;return s&&_.set(a,()=>this.insert(a.name,r=>s(a,r))),a}get(e){this.guard();const t=this.entries.filter(o=>o.name===e);return requireModel(t.length<=1,`Ambiguous datablock name ${e}.`),t[0]??null}remove(e){this.guard();const t=this.entries.indexOf(e);requireModel(t!==-1,"The datablock does not belong to this collection."),this.removing(e),this.entries.splice(t,1),e.alive=!1,_.delete(e)}get length(){return this.guard(),this.entries.length}[Symbol.iterator](){return this.guard(),this.entries[Symbol.iterator]()}invalidate(){for(const e of this.entries)e.alive=!1,_.delete(e);this.entries.length=0}}export const materialSupport={},imageSupport={};export class ModelMaterial extends DataBlock{diffuse_color=[.8,.8,.8,1];metallic=0;roughness=.4;use_backface_culling=!1;#e=!1;#t=null;get use_nodes(){return this.#e}set use_nodes(e){if(requireModel(typeof e=="boolean","use_nodes must be a boolean."),requireModel(this.alive,"Cannot edit a removed material."),e&&!this.#t){const t=materialSupport.standardTree;requireModel(t,"Material nodes are not loaded; import @allyhub/model."),this.#t=t(this.owner,()=>this.alive)}this.#e=e}get node_tree(){return this.#t}adoptTree(e){this.#t=e.#t?.copy(this.owner,()=>this.alive)??null,this.#e=e.#e}}function y(i,e){for(const t of i)for(const[o,a]of Object.entries(e(t)))Object.defineProperty(t,o,{get:a,configurable:!0,enumerable:!1});return i}export class MaterialSlots{entries=[];#e=[];shrunkSince(e){return[Math.min(this.entries.length,...this.#e.slice(e)),this.#e.length]}append(e){this.entries.push(e)}get length(){return this.entries.length}at(e){return this.entries[e]}clear(){this.entries.length=0,this.#e.push(0)}pop(e=-1){requireModel(Number.isInteger(e),"index must be an integer.");const t=e<0?this.entries.length+e:e;requireModel(t>=0&&t<this.entries.length,`Index ${String(e)} is out of range.`);const[o]=this.entries.splice(t,1);return this.#e.push(this.entries.length),o??null}set(e,t){requireModel(Number.isInteger(e)&&e>=0&&e<this.entries.length,`Index ${String(e)} is out of range.`),this.entries[e]=t}[Symbol.iterator](){return this.entries[Symbol.iterator]()}adopt(e){this.entries=e.entries,this.#e.push(Math.min(...e.#e,this.entries.length))}}export class MeshUVLayer{name;data;constructor(e,t){this.name=e,this.data=Array.from({length:t},()=>({uv:[0,0],pin_uv:!1,select:!1,select_edge:!1}))}}export function resetUV(i,e){return e===4?[[0,0],[1,0],[1,1],[0,1]][i]??[0,0]:e===3?[[0,0],[1,0],[1,1]][i]??[0,0]:[.5+.5*Math.sin(2*Math.PI*i/e),.5+.5*Math.cos(2*Math.PI*i/e)]}export class MeshUVLayers{layers=[];mesh;active_index=0;constructor(e){this.mesh=e}new(e="UVMap",t=!0){requireModel(this.mesh.alive,"Cannot edit a removed mesh."),requireModel(typeof e=="string","A UV layer name must be a string."),requireModel(typeof t=="boolean","do_init must be a boolean.");const o=p(e||"UVMap",this.layers.map(s=>s.name),"UV"),a=new MeshUVLayer(o,this.mesh.loops.length);if(t){const s=this.active;if(s)a.data.forEach((r,n)=>{const l=s.data[n]?.uv;l&&(r.uv=[l[0],l[1]])});else for(const r of this.mesh.polygons){const n=r.loop_total;for(let l=0;l<n;l++){const c=a.data[r.loop_start+l];c&&(c.uv=resetUV(l,n))}}}return this.layers.push(a),a}get(e){return this.layers.find(t=>t.name===e)??null}get active(){return this.layers[this.active_index]??null}get length(){return this.layers.length}remove(e){const t=this.layers.indexOf(e);requireModel(t>=0,"UV layer is not part of this mesh."),this.layers.splice(t,1),t<this.active_index&&this.active_index--,this.active_index=Math.max(0,Math.min(this.active_index,this.layers.length-1))}clear(){this.layers.length=0,this.active_index=0}[Symbol.iterator](){return this.layers[Symbol.iterator]()}adopt(e){this.layers=e.layers,this.active_index=e.active_index}}export class ModelMesh extends DataBlock{#e=[];edges=[];loops=[];#t=[];get vertices(){return this.#e}set vertices(e){this.#e=y(e,t=>({normal:()=>M(this,this.#e.indexOf(t))}))}get polygons(){return this.#t}set polygons(e){this.#t=y(e,t=>({normal:()=>b(this,t),center:()=>S(this,t),area:()=>x(this,t)}))}get vertex_normals(){return E(this).map(e=>({vector:e}))}get polygon_normals(){return this.#t.map(e=>({vector:b(this,e)}))}shade_smooth(){requireModel(this.alive,"Cannot edit a removed mesh.");for(const e of this.#t)e.use_smooth=!0}shade_flat(){requireModel(this.alive,"Cannot edit a removed mesh.");for(const e of this.#t)e.use_smooth=!1}set_sharp_from_angle(e=Math.PI){requireModel(this.alive,"Cannot edit a removed mesh."),requireModel(Number.isFinite(e)&&e>=0&&e<=Math.PI,"set_sharp_from_angle needs an angle in [0, pi].");const t=new Map;this.#t.forEach((s,r)=>{s.vertices.forEach((n,l)=>{const c=present(s.vertices[(l+1)%s.vertices.length]),d=n<c?`${String(n)},${String(c)}`:`${String(c)},${String(n)}`,u=t.get(d);u?u.push(r):t.set(d,[r])})});const o=e>0&&e<Math.PI?this.polygon_normals:[],a=Math.fround(Math.cos(Math.fround(e)));for(const s of this.edges){const[r,n]=s.vertices,l=t.get(r<n?`${String(r)},${String(n)}`:`${String(n)},${String(r)}`)??[],[c,d]=l.map(u=>o[u]?.vector);s.use_edge_sharp=l.length>=2&&c!==void 0&&d!==void 0&&c[0]*d[0]+c[1]*d[1]+c[2]*d[2]<a}for(const s of this.#t)s.use_smooth=e>0}materials=new MaterialSlots;uv_layers=new MeshUVLayers(this);attributes=new w(this);from_pydata(e,t,o,a=!0){requireModel(this.alive,"Cannot edit a removed mesh.");const s=e.map(h=>(finiteVector(h,3,"Vertex"),{co:[...h]})),r=[],n=new Map,l=h=>{requireModel(Number.isInteger(h)&&h>=0&&h<s.length,`Invalid vertex index ${String(h)}.`)},c=(h,m)=>{l(h),l(m),requireModel(h!==m,"An edge needs two distinct vertices.");const f=h<m?`${String(h)},${String(m)}`:`${String(m)},${String(h)}`,g=n.get(f);return g!==void 0?g:(n.set(f,r.length),r.push({vertices:[h,m]}),r.length-1)};for(const h of t)requireModel(h.length===2,"An edge needs exactly two indices."),c(present(h[0]),present(h[1]));const d=[],u=o.map(h=>{requireModel(h.length>=3&&new Set(h).size===h.length,"A face needs at least three distinct vertices."),h.forEach(l);const m=d.length;for(let f=0;f<h.length;f++)d.push({vertex_index:present(h[f]),edge_index:c(present(h[f]),present(h[(f+1)%h.length]))});return{vertices:[...h],material_index:0,use_smooth:!a,loop_start:m,loop_total:h.length}});this.uv_layers.clear(),this.attributes.clear(),this.vertices=s,this.edges=r,this.loops=d,this.polygons=u}update(){}}export class BooleanModifier{name;type="BOOLEAN";operation="DIFFERENCE";object=null;solver="EXACT";operand_type="OBJECT";material_mode="INDEX";show_viewport=!0;show_render=!0;constructor(e){this.name=e,Object.seal(this)}}export class MirrorModifier{type="MIRROR";use_axis=[!0,!1,!1];use_bisect_axis=[!1,!1,!1];use_bisect_flip_axis=[!1,!1,!1];use_clip=!1;use_mirror_merge=!0;merge_threshold=.001;bisect_threshold=.001;mirror_object=null;use_mirror_vertex_groups=!0;use_mirror_u=!1;use_mirror_v=!1;offset_u=0;offset_v=0;mirror_offset_u=0;mirror_offset_v=0;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class ArrayModifier{type="ARRAY";fit_type="FIXED_COUNT";count=2;fit_length=0;use_relative_offset=!0;relative_offset_displace=[1,0,0];use_constant_offset=!1;constant_offset_displace=[1,0,0];use_object_offset=!1;offset_object=null;use_merge_vertices=!1;use_merge_vertices_cap=!1;merge_threshold=.01;start_cap=null;end_cap=null;offset_u=0;offset_v=0;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class SolidifyModifier{type="SOLIDIFY";solidify_mode="EXTRUDE";thickness=.01;offset=-1;use_even_offset=!1;use_quality_normals=!1;use_rim=!0;use_rim_only=!1;use_flip_normals=!1;material_offset=0;material_offset_rim=0;edge_crease_inner=0;edge_crease_outer=0;edge_crease_rim=0;thickness_clamp=0;use_thickness_angle_clamp=!1;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class SubsurfModifier{type="SUBSURF";subdivision_type="CATMULL_CLARK";levels=1;render_levels=2;quality=3;uv_smooth="PRESERVE_BOUNDARIES";boundary_smooth="ALL";use_creases=!0;use_custom_normals=!1;use_limit_surface=!0;show_only_control_edges=!0;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class BevelModifier{type="BEVEL";width=.1;segments=1;affect="EDGES";limit_method="ANGLE";angle_limit=Math.PI/6;edge_weight="bevel_weight_edge";vertex_weight="bevel_weight_vert";vertex_group="";invert_vertex_group=!1;use_clamp_overlap=!0;offset_type="OFFSET";profile_type="SUPERELLIPSE";profile=.5;material=-1;loop_slide=!0;mark_seam=!1;mark_sharp=!1;harden_normals=!1;face_strength_mode="FSTR_NONE";miter_outer="MITER_SHARP";miter_inner="MITER_SHARP";spread=.1;vmesh_method="ADJ";show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.defineProperty(this,"width_pct",{enumerable:!0,get:()=>this.width,set:t=>{this.width=t}}),Object.seal(this)}}export class ScrewModifier{type="SCREW";angle=2*Math.PI;steps=16;render_steps=16;iterations=1;axis="Z";screw_offset=0;object=null;use_object_screw_offset=!1;use_merge_vertices=!1;merge_threshold=.01;use_normal_flip=!1;use_normal_calculate=!1;use_smooth_shade=!0;use_stretch_u=!1;use_stretch_v=!1;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class WeightedNormalModifier{type="WEIGHTED_NORMAL";mode="FACE_AREA";weight=50;thresh=.01;keep_sharp=!1;use_face_influence=!1;vertex_group="";invert_vertex_group=!1;show_viewport=!0;show_render=!0;name;constructor(e){this.name=e,Object.seal(this)}}export class ObjectModifiers{entries=[];new(e,t){["BOOLEAN","MIRROR","ARRAY","SOLIDIFY","SUBSURF","BEVEL","SCREW","WEIGHTED_NORMAL"].includes(t)||unsupported(`Modifier ${t}`),requireModel(typeof e=="string"&&e.length>0,"A modifier needs a nonempty name.");const o=p(e,this.entries.map(s=>s.name),"LOCAL"),a=t==="BOOLEAN"?new BooleanModifier(o):t==="MIRROR"?new MirrorModifier(o):t==="ARRAY"?new ArrayModifier(o):t==="SOLIDIFY"?new SolidifyModifier(o):t==="SUBSURF"?new SubsurfModifier(o):t==="SCREW"?new ScrewModifier(o):t==="WEIGHTED_NORMAL"?new WeightedNormalModifier(o):new BevelModifier(o);return this.entries.push(a),a}get(e){const t=this.entries.filter(o=>o.name===e);return requireModel(t.length<=1,`Ambiguous modifier name ${e}.`),t[0]??null}at(e){return this.entries.at(e)}get length(){return this.entries.length}remove(e){const t=this.entries.indexOf(e);requireModel(t>=0,"Modifier does not belong to this object."),this.entries.splice(t,1)}clear(){this.entries.length=0}move(e,t){requireModel([e,t].every(a=>Number.isInteger(a)&&a>=0&&a<this.entries.length),"Modifier index out of range.");const o=present(this.entries.splice(e,1)[0]);this.entries.splice(t,0,o)}[Symbol.iterator](){return this.entries[Symbol.iterator]()}}function v(i,e,t=new Set){if(t.has(i))return!1;if(t.add(i),i.objects.has(e))return!0;for(const o of i.children)if(v(o,e,t))return!0;return!1}export class MaterialSlot{#e;slot_index;constructor(e,t){this.#e=e,this.slot_index=t,Object.freeze(this)}get link(){return this.#e.slotState(this.slot_index).link}set link(e){if(e!=="DATA"&&e!=="OBJECT")throw new TypeError(`enum "${String(e)}" not found in ('OBJECT', 'DATA')`);this.#e.slotState(this.slot_index).link=e}get material(){return this.#e.slotMaterial(this.slot_index)}set material(e){this.#e.setSlotMaterial(this.slot_index,e)}get name(){return this.material?.name??""}}export class ModelObject extends DataBlock{data;location=[0,0,0];rotation_euler=[0,0,0];scale=[1,1,1];parent=null;hide_render=!1;hide_viewport=!1;modifiers=new ObjectModifiers;instance_type="NONE";#e=null;vertex_groups=new k(this);constructor(e,t,o){super(e,t),this.data=o}get instance_collection(){return this.#e}set instance_collection(e){e&&(requireModel(e.owner===this.owner&&e.alive,"Cannot instance a removed collection or one from another context."),requireModel(!v(e,this),"Cannot set instance-collection as object belongs in collection being instanced, thus causing a cycle.")),this.#e=e}#t=[];#n=[null,0];#s=0;syncSlots(){const e=this.data?.materials??null,[t,o]=this.#n,[a,s]=e?t===e?e.shrunkSince(o):[e.length,e.shrunkSince(0)[1]]:[0,0];this.#t.length>a&&(this.#t.length=a);const r=e?.length??0;for(;this.#t.length<r;)this.#t.push({link:"DATA",material:null});return this.#n=[e,s],r}slotState(e){this.syncSlots();const t=this.#t[e];return requireModel(t,`${this.name} has no material slot ${String(e)}.`),t}slotMaterial(e){const t=this.slotState(e);return t.link==="OBJECT"?t.material:this.data?.materials.at(e)??null}setSlotMaterial(e,t){t&&requireModel(t.owner===this.owner&&t.alive,"Cannot assign a removed material or one from another context.");const o=this.slotState(e);o.link==="OBJECT"?o.material=t:present(this.data).materials.set(e,t)}get material_slots(){return Array.from({length:this.syncSlots()},(e,t)=>new MaterialSlot(this,t))}get active_material_index(){const e=this.data?.materials.length??0;return Math.max(0,Math.min(this.#s,e-1))}set active_material_index(e){requireModel(Number.isInteger(e),"active_material_index must be an integer."),this.#s=Math.max(0,e)}get active_material(){return this.data?.materials.length??0?this.slotMaterial(this.active_material_index):null}set active_material(e){const t=this.data;if(requireModel(t,`${this.name} has no data to hold a material.`),!t.materials.length){e&&requireModel(e.owner===this.owner&&e.alive,"Cannot assign a removed material or one from another context."),t.materials.append(e),this.#s=0;return}this.setSlotMaterial(this.active_material_index,e)}copySlots(e){e.syncSlots(),this.#t=e.#t.map(t=>({...t})),this.#n=[...e.#n],this.#s=e.#s}ownMaterials(){return this.syncSlots(),this.#t.map(e=>e.material)}get rotation_mode(){return"XYZ"}set rotation_mode(e){e!=="XYZ"&&unsupported(`rotation_mode ${e}`)}}export class Links{entries=new Set;owner;constructor(e){this.owner=e}link(e){requireModel(e.owner===this.owner&&e.alive,"Cannot link a removed datablock or one from another context."),requireModel(!this.entries.has(e),`${e.name} is already linked.`),this.entries.add(e)}unlink(e){requireModel(this.entries.delete(e),`${e.name} is not linked.`)}has(e){return this.entries.has(e)}get length(){return this.entries.size}[Symbol.iterator](){return this.entries[Symbol.iterator]()}}export class ModelCollection extends DataBlock{objects;children;instance_offset=[0,0,0];constructor(e,t){super(e,t),this.objects=new Links(e),this.children=new Links(e)}}export const curveSupport={};export class MeshBlocks extends DataBlocks{new_from_object(e,t=!1,o=null){requireModel(typeof t=="boolean","preserve_all_data_layers must be a boolean."),o!==null&&unsupported("new_from_object with a depsgraph (evaluated objects); apply modifiers with applyModifier"),requireModel(e.alive,"Cannot convert a removed object.");const a=e.data;if(requireModel(a,`${e.name} has no data to convert to a mesh.`),a instanceof ModelMesh)return a.copy();const s=curveSupport.toMesh;requireModel(s,"Curve support is not loaded; import @allyhub/model.");const r=this.new(a.name);try{s(a,r)}catch(n){throw this.remove(r),n}return r}}export class ImageBlocks extends DataBlocks{load(e,t=!1){requireModel(typeof t=="boolean","check_existing must be a boolean.");const{load:o,path:a}=imageSupport;requireModel(o&&a,"Images are not loaded; import @allyhub/model.");const s=a(e);if(t){const n=[...this].find(l=>l.source==="FILE"&&l.filepath===s);if(n)return n}const r=s.slice(s.lastIndexOf("/")+1);return this.insert(r,n=>o(this.owner,n,s))}owner;constructor(e,t,o){super((a,s,r,n=!1,l=!1,c=!1,d=!1,u=!1)=>{const h=imageSupport.generate;return requireModel(h,"Images are not loaded; import @allyhub/model."),h(e,a,s,r,n,l,c,d,u)},t,(a,s)=>{const r=imageSupport.copy;return requireModel(r,"Images are not loaded; import @allyhub/model."),r(a,e,s)},o),this.owner=e}}export class Bpy{active=!0;randomState;owner=Symbol("model context");data;context;constructor(e={}){const t=e.seed??0;requireModel(Number.isSafeInteger(t),"Model seed must be a safe integer."),this.randomState=t>>>0;const o=()=>{this.assertActive()},a=new ModelCollection(this.owner,"Scene Collection");this.context={scene:{collection:a},collection:a},this.data={meshes:new MeshBlocks(s=>new ModelMesh(this.owner,s),s=>{requireModel(![...this.data.objects].some(r=>r.data===s),`Mesh ${s.name} is still used by an object.`)},(s,r)=>{const n=new ModelMesh(this.owner,r);n.vertices=structuredClone(s.vertices),n.edges=structuredClone(s.edges),n.loops=structuredClone(s.loops),n.polygons=structuredClone(s.polygons),n.attributes.copyFrom(s.attributes);for(const l of s.uv_layers){const c=n.uv_layers.new(l.name,!1);c.data.splice(0,c.data.length,...structuredClone(l.data))}n.uv_layers.active_index=s.uv_layers.active_index;for(const l of s.materials)n.materials.append(l);return n},o),objects:new DataBlocks((s,r)=>(requireModel(r===null||r.owner===this.owner&&r.alive,"Invalid mesh or curve datablock."),requireModel(r===null||[...this.data.meshes,...this.data.curves].some(n=>n===r),"Object data must be a mesh or a curve of this context."),new ModelObject(this.owner,s,r)),s=>{for(const r of[a,...this.data.collections])r.objects.has(s)&&r.objects.unlink(s);for(const r of this.data.curves)r.bevel_object===s&&(r.bevel_object=null),r.taper_object===s&&(r.taper_object=null);for(const r of this.data.objects){r.parent===s&&(r.parent=null);for(const n of r.modifiers)n.type==="BOOLEAN"&&n.object===s&&(n.object=null),n.type==="MIRROR"&&n.mirror_object===s&&(n.mirror_object=null),n.type==="SCREW"&&n.object===s&&(n.object=null),n.type==="ARRAY"&&(n.offset_object===s&&(n.offset_object=null),n.start_cap===s&&(n.start_cap=null),n.end_cap===s&&(n.end_cap=null))}},(s,r)=>{const n=new ModelObject(this.owner,r,s.data);n.location=[...s.location],n.rotation_euler=[...s.rotation_euler],n.scale=[...s.scale],n.parent=s.parent,n.hide_render=s.hide_render,n.hide_viewport=s.hide_viewport,n.instance_type=s.instance_type,n.instance_collection=s.instance_collection,n.copySlots(s);for(const l of s.vertex_groups)n.vertex_groups.new(l.name);for(const l of s.modifiers)Object.assign(n.modifiers.new(l.name,l.type),Object.fromEntries(Object.entries(l).map(([c,d])=>[c,Array.isArray(d)?[...d]:d])));return n},o),materials:new DataBlocks(s=>new ModelMaterial(this.owner,s),s=>{requireModel(![...this.data.meshes].some(r=>[...r.materials].includes(s)),`Material ${s.name} is still used by a mesh.`),requireModel(![...this.data.curves].some(r=>[...r.materials].includes(s)),`Material ${s.name} is still used by a curve.`),requireModel(![...this.data.objects].some(r=>r.ownMaterials().includes(s)),`Material ${s.name} is still used by an object's material slot.`)},(s,r)=>{const n=new ModelMaterial(this.owner,r);return n.diffuse_color=[...s.diffuse_color],n.metallic=s.metallic,n.roughness=s.roughness,n.use_backface_culling=s.use_backface_culling,n.adoptTree(s),n},o),collections:new DataBlocks(s=>new ModelCollection(this.owner,s),s=>{for(const r of[a,...this.data.collections])r.children.has(s)&&r.children.unlink(s);for(const r of this.data.objects)r.instance_collection===s&&(r.instance_collection=null)},(s,r)=>{const n=new ModelCollection(this.owner,r);n.instance_offset=[...s.instance_offset];for(const l of s.objects)n.objects.link(l);for(const l of s.children)n.children.link(l);return n},o),curves:new DataBlocks((s,r)=>{r!=="CURVE"&&unsupported(`Curve type ${r}`);const n=curveSupport.make;return requireModel(n,"Curve support is not loaded; import @allyhub/model."),n(this.owner,s)},s=>{requireModel(![...this.data.objects].some(r=>r.data===s),`Curve ${s.name} is still used by an object.`)},(s,r)=>{const n=curveSupport.make,l=curveSupport.copy;return requireModel(n&&l,"Curve support is not loaded."),l(s,n(this.owner,r))},o),images:new ImageBlocks(this.owner,s=>{requireModel(![...this.data.materials].some(r=>[...r.node_tree?.nodes??[]].some(n=>"image"in n&&n.image===s)),`Image ${s.name} is still used by a material.`)},o)}}dispose(){if(this.active){for(const e of Object.values(this.data))e.invalidate();this.context.scene.collection.alive=!1,this.active=!1}}assertActive(){requireModel(this.active,"Model context is disposed.")}random(){this.assertActive(),this.randomState=this.randomState+1831565813>>>0;let e=this.randomState;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}export const createBpy=(i={})=>new Bpy(i);export function defineModel(i){if(typeof i=="function")return Object.freeze({build:i});const{title:e,build:t}=i;return requireModel(typeof t=="function","defineModel needs build(bpy, parameters), the function that builds the model."),requireModel(e===void 0||typeof e=="string",`defineModel's title is a string, not ${JSON.stringify(e)}.`),Object.freeze({...e===void 0?{}:{title:e},build:t})}export function meshData(i){const e=i.data;return requireModel(e instanceof ModelMesh,`${i.name} is not a mesh object.`),e}export function present(i){return requireModel(i!=null,"Missing model element."),i}
|