@allyhub/sdk 0.7.1 → 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 +149 -0
- package/NOTICE +46 -49
- package/dist/dom.d.ts +1 -209
- package/dist/dom.js +1 -1
- package/dist/image.d.ts +2 -0
- package/dist/image.js +2 -0
- package/dist/index.d.ts +1 -21
- package/dist/index.js +1 -1
- package/dist/media.d.ts +1 -5
- package/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/audio/dist/levels.d.ts +96 -0
- package/dist/node_modules/@allyhub/audio/dist/levels.js +2 -0
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.d.ts +26 -0
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/audio/package.json +17 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +33 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
- package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +206 -0
- package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
- package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
- package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +14 -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/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 +38 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +585 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/script.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +5076 -0
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +2608 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +21 -0
- package/dist/node_modules/@allyhub/formats/dist/data/website.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +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 +27 -0
- package/dist/node_modules/@allyhub/formats/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +256 -0
- package/dist/node_modules/@allyhub/formats/dist/items.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +62 -0
- package/dist/node_modules/@allyhub/formats/dist/layout.js +5 -0
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +2745 -0
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +2 -0
- package/dist/node_modules/@allyhub/formats/package.json +15 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.d.ts +5 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/contrast.d.ts +13 -0
- package/dist/node_modules/@allyhub/image-draw/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.d.ts +112 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.d.ts +20 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.d.ts +110 -0
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/guards.d.ts +32 -0
- package/dist/node_modules/@allyhub/image-draw/dist/guards.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.d.ts +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.d.ts +113 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.d.ts +151 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.d.ts +29 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/pictures.d.ts +39 -0
- package/dist/node_modules/@allyhub/image-draw/dist/pictures.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.d.ts +52 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.d.ts +145 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.d.ts +26 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.d.ts +56 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/styles.d.ts +35 -0
- package/dist/node_modules/@allyhub/image-draw/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/tone.d.ts +53 -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-measure/dist/contrast.d.ts +43 -0
- package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-measure/dist/layout.d.ts +186 -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-sdk/dist/adjustment.d.ts +13 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.d.ts +119 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.d.ts +210 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.d.ts +21 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.d.ts +17 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.d.ts +166 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.d.ts +6 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/messages.d.ts +40 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.d.ts +59 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/props.d.ts +124 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.d.ts +34 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.d.ts +16 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.d.ts +38 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.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/measure/dist/compare.d.ts +195 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.js +2 -0
- 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/image.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/measure/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/measure/package.json +13 -0
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +31 -0
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +2 -0
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +71 -0
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +2 -0
- package/dist/node_modules/@allyhub/ooxml/package.json +26 -0
- package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/dist/component.d.ts +70 -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/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/gen.js +2 -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/page/locate.js +2 -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/protocol/LICENSE +241 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +478 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +30 -0
- package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +119 -0
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +66 -0
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +327 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +651 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +103 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +303 -0
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
- 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 +28 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
- package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
- 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 +213 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
- 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 +191 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
- 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 +109 -0
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +297 -0
- package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +447 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
- package/dist/node_modules/@allyhub/protocol/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +524 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/protocol/package.json +14 -0
- package/dist/node_modules/@allyhub/runtimes/LICENSE +241 -0
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +10 -0
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
- 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/download.d.ts +38 -0
- package/dist/node_modules/@allyhub/runtimes/dist/download.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 +12 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +84 -0
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +73 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +4 -0
- package/dist/node_modules/@allyhub/runtimes/manifest.json +387 -0
- package/dist/node_modules/@allyhub/runtimes/package.json +18 -0
- package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
- package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
- package/dist/node_modules/@allyhub/scenery/LICENSE +241 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +166 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/scenery/package.json +13 -0
- package/dist/node_modules/@allyhub/sheet/LICENSE +241 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +204 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +19 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/code.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +83 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +170 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +117 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +366 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +68 -0
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +82 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +52 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +154 -0
- package/dist/node_modules/@allyhub/sheet/dist/export.js +5 -0
- package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +24 -0
- package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
- package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +24 -0
- package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +32 -0
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +13 -0
- package/dist/node_modules/@allyhub/sheet/dist/import.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +41 -0
- package/dist/node_modules/@allyhub/sheet/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +100 -0
- package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +98 -0
- package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +4 -0
- package/dist/node_modules/@allyhub/sheet/dist/patch.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/sdk.d.ts +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +38 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +32 -0
- package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +26 -0
- package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +324 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +53 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +51 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +159 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +40 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
- package/dist/node_modules/@allyhub/sheet/package.json +25 -0
- package/dist/node_modules/@allyhub/slides-core/LICENSE +241 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +145 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +770 -0
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +219 -0
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +33 -0
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/connect.d.ts +62 -0
- package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.d.ts +208 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +131 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +4 -0
- package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +27 -0
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +36 -0
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +58 -0
- package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +310 -0
- package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +84 -0
- package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +6 -0
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +209 -0
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +45 -0
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +3 -0
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.d.ts +18 -0
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +78 -0
- package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +7 -0
- package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +72 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +59 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/package.json +18 -0
- package/dist/node_modules/@allyhub/video-core/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +147 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +113 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.js +11 -0
- package/dist/node_modules/@allyhub/video-core/dist/check.d.ts +62 -0
- package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +77 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +163 -0
- package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +438 -0
- package/dist/node_modules/@allyhub/video-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +169 -0
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +27 -0
- package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +212 -0
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.d.ts +44 -0
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +56 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +746 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +37 -0
- package/dist/node_modules/@allyhub/video-core/dist/render-types.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +344 -0
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +185 -0
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +213 -0
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +72 -0
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +81 -0
- package/dist/node_modules/@allyhub/video-core/dist/speech.js +5 -0
- package/dist/node_modules/@allyhub/video-core/dist/stage.d.ts +52 -0
- package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +513 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +88 -0
- package/dist/node_modules/@allyhub/video-core/dist/timing.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +288 -0
- package/dist/node_modules/@allyhub/video-core/dist/transcript.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +300 -0
- package/dist/node_modules/@allyhub/video-core/dist/transition.js +2 -0
- package/dist/node_modules/@allyhub/video-core/package.json +14 -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/free.d.ts +22 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.d.ts +28 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.d.ts +360 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.d.ts +25 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.d.ts +225 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.d.ts +26 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.d.ts +120 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.d.ts +46 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/scenery.d.ts +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/scenery.d.ts +1 -1
- package/dist/scenery.js +1 -1
- package/dist/sheets.d.ts +1 -1
- package/dist/sheets.js +1 -1
- package/dist/slides.d.ts +1 -9
- package/dist/slides.js +1 -1
- package/docs/README.md +9 -7
- package/docs/batches.md +5 -5
- package/docs/contract.md +2 -2
- package/docs/defaults.md +330 -19
- package/docs/docs.md +209 -48
- package/docs/footage.md +7 -7
- package/docs/image.md +165 -0
- package/docs/layers.md +48 -13
- package/docs/modeling.md +9 -9
- package/docs/pictures.md +65 -0
- package/docs/project.md +53 -33
- package/docs/scenery.md +15 -15
- package/docs/sheets.md +27 -26
- package/docs/slides.md +74 -66
- package/docs/sound.md +3 -3
- package/docs/speech.md +8 -8
- package/docs/video.md +16 -13
- package/docs/websites.md +7 -7
- package/package.json +9 -3
- package/dist/define.d.ts +0 -85
- package/dist/define.js +0 -2
- package/dist/free.d.ts +0 -18
- package/dist/free.js +0 -2
- package/dist/input.d.ts +0 -306
- package/dist/input.js +0 -2
- package/dist/messages.d.ts +0 -40
- package/dist/module.d.ts +0 -23
- package/dist/module.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/audio/dist/levels.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/package.json +0 -17
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +0 -204
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/chart/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/chart/package.json +0 -14
- package/dist/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +0 -94
- package/dist/node_modules/@allyhub-next/formats/dist/data/comments.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +0 -590
- package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +0 -62
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -5138
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +0 -2520
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +0 -20
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +0 -23
- package/dist/node_modules/@allyhub-next/formats/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +0 -120
- package/dist/node_modules/@allyhub-next/formats/dist/items.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/layout.d.ts +0 -56
- package/dist/node_modules/@allyhub-next/formats/dist/layout.js +0 -5
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -2741
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/package.json +0 -15
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +0 -28
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +0 -2
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +0 -57
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +0 -2
- package/dist/node_modules/@allyhub-next/ooxml/package.json +0 -26
- package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +0 -338
- package/dist/node_modules/@allyhub-next/protocol/dist/account.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +0 -115
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/cli.d.ts +0 -55
- package/dist/node_modules/@allyhub-next/protocol/dist/cli.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +0 -324
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +0 -486
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +0 -101
- package/dist/node_modules/@allyhub-next/protocol/dist/files.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +0 -20
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +0 -185
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +0 -115
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +0 -293
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +0 -396
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +0 -428
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/package.json +0 -14
- package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/download.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -4
- package/dist/node_modules/@allyhub-next/runtimes/manifest.json +0 -469
- package/dist/node_modules/@allyhub-next/runtimes/package.json +0 -18
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -8
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -8
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -128
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -9
- package/dist/node_modules/@allyhub-next/scenery/dist/define.d.ts +0 -164
- package/dist/node_modules/@allyhub-next/scenery/dist/define.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery/package.json +0 -13
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +0 -204
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +0 -83
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +0 -170
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +0 -117
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +0 -362
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +0 -68
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +0 -154
- package/dist/node_modules/@allyhub-next/sheet/dist/export.js +0 -5
- package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/sheet/dist/import.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/sheet/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +0 -98
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +0 -324
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +0 -159
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/package.json +0 -21
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +0 -129
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +0 -726
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +0 -202
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +0 -131
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +0 -309
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +0 -84
- package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +0 -202
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +0 -61
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +0 -62
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/package.json +0 -14
- package/dist/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +0 -164
- package/dist/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +0 -148
- package/dist/node_modules/@allyhub-next/video-core/dist/captions.d.ts +0 -122
- package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +0 -11
- package/dist/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +0 -98
- package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +0 -77
- package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/edits.d.ts +0 -163
- package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/export.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/video-core/dist/export.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +0 -1179
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -168
- package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/formats.d.ts +0 -205
- package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/gen.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/look.d.ts +0 -66
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.d.ts +0 -558
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/media.d.ts +0 -226
- package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/messages.d.ts +0 -88
- package/dist/node_modules/@allyhub-next/video-core/dist/motion.d.ts +0 -56
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +0 -1154
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/placement.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +0 -278
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +0 -350
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +0 -180
- package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +0 -76
- package/dist/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/seams.d.ts +0 -214
- package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/video-core/dist/speech.d.ts +0 -83
- package/dist/node_modules/@allyhub-next/video-core/dist/speech.js +0 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +0 -626
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/timing.d.ts +0 -88
- package/dist/node_modules/@allyhub-next/video-core/dist/timing.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +0 -288
- package/dist/node_modules/@allyhub-next/video-core/dist/transcript.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/transition.d.ts +0 -289
- package/dist/node_modules/@allyhub-next/video-core/dist/transition.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/voice.d.ts +0 -175
- package/dist/node_modules/@allyhub-next/video-core/package.json +0 -14
- package/dist/parts.d.ts +0 -216
- package/dist/parts.js +0 -2
- package/dist/phone.d.ts +0 -26
- package/dist/phone.js +0 -2
- package/dist/piece.d.ts +0 -110
- package/dist/piece.js +0 -2
- package/dist/props.d.ts +0 -124
- package/dist/written.js +0 -2
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/formats → @allyhub/diagnostics}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/ooxml → @allyhub/formats}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
- /package/dist/node_modules/{@allyhub-next/protocol → @allyhub/image-draw}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/runtimes → @allyhub/image-measure}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/scenery → @allyhub/image-sdk}/LICENSE +0 -0
- /package/dist/{fit.d.ts → node_modules/@allyhub/image-sdk/dist/fit.d.ts} +0 -0
- /package/dist/{fit.js → node_modules/@allyhub/image-sdk/dist/fit.js} +0 -0
- /package/dist/{messages.js → node_modules/@allyhub/image-sdk/dist/messages.js} +0 -0
- /package/dist/{props.js → node_modules/@allyhub/image-sdk/dist/props.js} +0 -0
- /package/dist/{text.d.ts → node_modules/@allyhub/image-sdk/dist/text.d.ts} +0 -0
- /package/dist/{text.js → node_modules/@allyhub/image-sdk/dist/text.js} +0 -0
- /package/dist/{written.d.ts → node_modules/@allyhub/image-sdk/dist/written.d.ts} +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/measure}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/ooxml}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/anchors.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core/dist/model.js → @allyhub/piece/dist/context.js} +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/contrast.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/look.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/messages.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/source.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/voice.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core/dist/stage.js → @allyhub/slides-core/dist/model.js} +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core/dist/render-types.js → @allyhub/slides-core/dist/stage.js} +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
- /package/dist/{anim.d.ts → node_modules/@allyhub/video-sdk/dist/anim.d.ts} +0 -0
- /package/dist/{anim.js → node_modules/@allyhub/video-sdk/dist/anim.js} +0 -0
- /package/dist/{noise.d.ts → node_modules/@allyhub/video-sdk/dist/noise.d.ts} +0 -0
- /package/dist/{noise.js → node_modules/@allyhub/video-sdk/dist/noise.js} +0 -0
- /package/dist/{paths.d.ts → node_modules/@allyhub/video-sdk/dist/paths.d.ts} +0 -0
- /package/dist/{paths.js → node_modules/@allyhub/video-sdk/dist/paths.js} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** What can go wrong, by a code a caller branches on. */
|
|
2
|
+
export type AudioErrorCode =
|
|
3
|
+
/** The file has no sound stream. */
|
|
4
|
+
"no-sound"
|
|
5
|
+
/** ffmpeg exited with an error. */
|
|
6
|
+
| "ffmpeg";
|
|
7
|
+
export declare class AudioError extends Error {
|
|
8
|
+
readonly code: AudioErrorCode;
|
|
9
|
+
constructor(code: AudioErrorCode, message: string, options?: ErrorOptions);
|
|
10
|
+
}
|
|
11
|
+
export { ffmpegOf, type FfmpegOptions } from "@allyhub/runtimes";
|
|
12
|
+
/** How much of ffmpeg's log a run keeps unless it asks for more, in characters. */
|
|
13
|
+
export declare const FFMPEG_LOG = 200000;
|
|
14
|
+
/**
|
|
15
|
+
* Runs ffmpeg; resolves with its stdout (when asked for) and stderr. Of
|
|
16
|
+
* its log, the last `keep` characters are kept (at least half of them):
|
|
17
|
+
* enough to say what went wrong. A run that measures from the log (a
|
|
18
|
+
* line per moment of the sound) asks for all of it.
|
|
19
|
+
*/
|
|
20
|
+
export declare function runFfmpeg(ffmpeg: string, args: string[], stdout?: boolean, keep?: number): Promise<{
|
|
21
|
+
out: Buffer;
|
|
22
|
+
err: string;
|
|
23
|
+
}>;
|
|
24
|
+
/** Samples of 32-bit floats from ffmpeg's output, copied: the Buffer may not be 4-byte aligned. */
|
|
25
|
+
export declare function floats(out: Buffer): Float32Array;
|
|
26
|
+
//# sourceMappingURL=ffmpeg.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{spawn as a}from"node:child_process";export class AudioError extends Error{code;constructor(s,f,o){super(f,o),this.name="AudioError",this.code=s}}export{ffmpegOf}from"@allyhub/runtimes";export const FFMPEG_LOG=2e5;export function runFfmpeg(e,s,f=!1,o=FFMPEG_LOG){return new Promise((c,i)=>{const n=a(e,s,{stdio:["ignore",f?"pipe":"ignore","pipe"]}),p=[];let r="";n.stdout?.on("data",t=>p.push(t)),n.stderr?.on("data",t=>{r+=t.toString(),r.length>o&&(r=r.slice(-o/2))}),n.on("error",i),n.on("close",t=>{t===0?c({out:Buffer.concat(p),err:r}):i(new AudioError("ffmpeg",`ffmpeg failed (${String(t)}): ${r.slice(-2e3)}`))})})}export function floats(e){return new Float32Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength-e.byteLength%4))}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allyhub/audio",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"default": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"./node": {
|
|
11
|
+
"types": "./dist/node/index.d.ts",
|
|
12
|
+
"default": "./dist/node/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"private": true,
|
|
16
|
+
"license": "SEE LICENSE IN LICENSE.md"
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ChartFile } from "@allyhub/formats";
|
|
2
|
+
import { type ChartDef } from "./chart.js";
|
|
3
|
+
export declare function chartOfFile(f: ChartFile, o: {
|
|
4
|
+
title: string | undefined;
|
|
5
|
+
/** The folder of the file that writes it (a deck's, a doc's). */
|
|
6
|
+
base: string;
|
|
7
|
+
/** A data file's content, by its path from that folder. */
|
|
8
|
+
rows: (path: string) => unknown;
|
|
9
|
+
problem: (message: string) => void;
|
|
10
|
+
}): ChartDef | undefined;
|
|
11
|
+
//# sourceMappingURL=chart-file.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{colorOfFile as j}from"@allyhub/formats";import{isScatter as O,labelPositionsOf as v}from"./chart.js";const u=e=>j(e)??"dk1";function S(e,n){if(n.startsWith("/"))return n.slice(1);const o=e===""?[]:e.split("/");for(const s of n.split("/"))s===""||s==="."||(s===".."?o.pop():o.push(s));return o.join("/")}const w=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:u(e.gridline_color)},...e.line_color===void 0?{}:{line_color:u(e.line_color)}},F=e=>{if(!(e===void 0||e===!1))return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:u(e.color)}}};function $(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!="string")return;const n=e.trim();if(n==="")return null;const o=Number(n);return Number.isFinite(o)?o:void 0}export function chartOfFile(e,n){const o=F(e.labels),s=O(e.type);let l,m;const g=r=>({...r.color===void 0?{}:{color:u(r.color)},...r.format===void 0?{}:{number_format:r.format},...r.smooth===void 0?{}:{smooth:r.smooth},...r.line_width===void 0?{}:{line_width:r.line_width},...r.marker_size===void 0?{}:{marker_size:r.marker_size}});if(e.data!==void 0){let r;try{r=n.rows(e.data)}catch(t){n.problem(`${e.data} cannot be read: ${t instanceof Error?t.message:String(t)}`);return}if(!Array.isArray(r)||r.length===0){n.problem(`${e.data} holds no rows.`);return}const i=r,d=e.categories;if(typeof d!="string"){n.problem("with data, categories names its column.");return}const h=Object.keys(i[0]??{}),y=[d,...e.series.map(t=>typeof t=="string"?t:t.name)].filter(t=>!h.includes(t));if(y.length>0){n.problem(`${e.data} has no column ${y.join(", ")} (it has ${h.join(", ")}).`);return}l=i.map(t=>{const a=t[d];return typeof a=="string"||typeof a=="number"?String(a):""}),m=e.series.map(t=>{const a=typeof t=="string"?t:t.name,x=i.map((c,z)=>{const b=$(c[a]);return b===void 0?(n.problem(`${String(e.data)} row ${String(z+1)}: ${JSON.stringify(c[a])} in ${a} is not a number.`),null):b});return{name:a,values:x,...s?{x:i.map(c=>$(c[d])??null)}:{},...typeof t=="string"?{}:g(t)}})}else{if(typeof e.categories=="string"){n.problem("categories names a column, and there is no data to read.");return}if(e.categories===void 0&&!s){n.problem(`a ${e.type} chart has categories.`);return}l=e.categories??[];const r=[];for(const i of e.series){if(typeof i=="string"||!i.values){const d=typeof i=="string"?i:i.name;n.problem(`series ${d} has no values, and there is no data to read.`);return}if(s){if(i.x?.length!==i.values.length){n.problem(`series ${i.name} has an x for each of its values.`);return}}else i.values.length!==l.length&&n.problem(`series ${i.name} has ${String(i.values.length)} values for ${String(l.length)} categories.`);r.push({name:i.name,values:i.values,...s&&i.x?{x:i.x}:{},...g(i)})}m=r}const f=o?.position;f!==void 0&&!v(e.type).includes(f)&&n.problem(`a ${e.type} chart has no label position ${f}, which PowerPoint would repair (it has ${v(e.type).join(", ")||"none"}).`);const p=w(e.value_axis),_=w(e.category_axis);return{type:e.type,categories:l,series:m,...n.title===void 0?{}:{title:n.title},...e.legend===void 0?{}:{legend:e.legend},...o?{labels:o}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.category_colors===void 0?{}:{category_colors:e.category_colors.map(u)},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...p?{value_axis:p}:{},..._?{category_axis:_}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:u(e.color)},...e.data===void 0?{}:{source:S(n.base,e.data)}}}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ChartDef } from "./chart.js";
|
|
2
|
+
/** The cells a chart's numbers are read through, in its file's spelling. */
|
|
3
|
+
export interface ChartRefs {
|
|
4
|
+
/** A series' name, or undefined when it is its own text. */
|
|
5
|
+
name: (series: number) => string | undefined;
|
|
6
|
+
/** Its categories, or undefined when it has none to name. */
|
|
7
|
+
categories: string | undefined;
|
|
8
|
+
/** Whether its categories are numbers (dates, years): a numRef. */
|
|
9
|
+
numeric?: boolean;
|
|
10
|
+
/** A series' values. */
|
|
11
|
+
values: (series: number) => string;
|
|
12
|
+
/** A scatter series' places across. */
|
|
13
|
+
x?: (series: number) => string | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface ChartPart {
|
|
16
|
+
refs: ChartRefs;
|
|
17
|
+
/** The plot's place, from the frame in points; absent: the app's own automatic layout. */
|
|
18
|
+
frame?: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
/** The title's cell: it reads the title from there. */
|
|
23
|
+
titleRef?: string;
|
|
24
|
+
/** What ends the part: a deck's workbook. */
|
|
25
|
+
tail?: string;
|
|
26
|
+
/** Rows a filter or a person hides are left out, as a chart's own option. */
|
|
27
|
+
plotVisible?: boolean;
|
|
28
|
+
/** No fill and no line round the chart's own area or its plot: it lies on the page, as a doc's and a slide's does. */
|
|
29
|
+
frameless?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/** A chart's part. */
|
|
32
|
+
export declare function chartSpaceXml(c: ChartDef, part: ChartPart): string;
|
|
33
|
+
//# sourceMappingURL=chart-xml.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{lumOf as X}from"@allyhub/ooxml/brightness";import{accentOf as j,CHART_DEFAULTS as d,chartDrawing as D,groupingOf as z,hasLines as E,hasMarkers as U,isArea as R,isBar as C,isHorizontal as T,isLine as P,isRound as h,isScatter as k,labelPositionOf as V,variesOf as w}from"./chart.js";const B="http://schemas.openxmlformats.org/drawingml/2006/chart",W="http://schemas.openxmlformats.org/drawingml/2006/main",H="http://schemas.openxmlformats.org/officeDocument/2006/relationships",Z=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
3
|
+
`,y="2118791784",x="2140495176",q={"&":"&","<":"<",">":">",'"':"""},K=e=>{const n=e.charCodeAt(0);return n<32&&n!==9&&n!==10&&n!==13||n===65534||n===65535},l=e=>Array.from(e,n=>K(n)?"":q[n]??n).join("");function r(e,n={},...c){const o=Object.entries(n).filter(([,s])=>s!==void 0).map(([s,i])=>` ${s}="${l(typeof i=="boolean"?i?"1":"0":String(i))}"`).join(""),a=c.join("");return a===""?`<${e}${o}/>`:`<${e}${o}>${a}</${e}>`}const Y=e=>{if(typeof e=="string")return r("a:schemeClr",{val:e});if("rgb"in e)return r("a:srgbClr",{val:e.rgb.replace("#","").toUpperCase()});const{lumMod:n,lumOff:c}=X(e.brightness);return r("a:schemeClr",{val:e.theme_color},t("a:lumMod",n),...c===void 0?[]:[t("a:lumOff",c)])},p=e=>e===null?r("a:noFill"):r("a:solidFill",{},Y(e)),t=(e,n)=>r(e,{val:typeof n=="boolean"?n?1:0:n}),m=(e,n)=>r("a:ln",n===void 0?{}:{w:Math.round(n*12700)},p(e)),F=(e,n)=>r("c:txPr",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",e===void 0?{}:{sz:Math.round(e*100)},n===void 0?"":p(n))),r("a:endParaRPr",{lang:"en-US"}))),S=e=>r("c:strCache",{},t("c:ptCount",e.length),...e.map((n,c)=>r("c:pt",{idx:c},`<c:v>${l(n)}</c:v>`))),A=(e,n)=>r("c:numCache",{},`<c:formatCode>${l(e??"General")}</c:formatCode>`,t("c:ptCount",n.length),...n.flatMap((c,o)=>c===null?[]:[r("c:pt",{idx:o},`<c:v>${String(c)}</c:v>`)])),J=(e,n)=>r("c:tx",{},n===void 0?`<c:v>${l(e.name)}</c:v>`:r("c:strRef",{},`<c:f>${l(n)}</c:f>`,S([e.name]))),Q=(e,n)=>n===void 0?"":r("c:xVal",{},r("c:numRef",{},`<c:f>${l(n)}</c:f>`,A("General",e.x??[])));function ee(e,n,c,o){const a=n.color??j(c),s=h(e.type),i=k(e.type),u=P(e.type)||i,g=U(e.type),N=u?r("c:spPr",{},E(e.type)?m(a,n.line_width??d.lineWidth):r("a:ln",{w:19050},p(null))):r("c:spPr",{},p(a),s?m("lt1",1):""),_=o.categories;return r("c:ser",{},t("c:idx",c),t("c:order",c),J(n,o.name(c)),N,C(e.type)?t("c:invertIfNegative",!1):"",u?r("c:marker",{},t("c:symbol",g?"circle":"none"),g?t("c:size",n.marker_size??d.marker):"",g?r("c:spPr",{},p(a),m(a)):""):"",...w(e)&&!u&&!R(e.type)?e.categories.map((v,f)=>r("c:dPt",{},t("c:idx",f),C(e.type)?t("c:invertIfNegative",!1):"",t("c:bubble3D",!1),r("c:spPr",{},p(e.category_colors?.[f]??j(f)),s?m("lt1",1):""))):[],i?Q(n,o.x?.(c)):_===void 0?"":r("c:cat",{},o.numeric===!0?r("c:numRef",{},`<c:f>${l(_)}</c:f>`,A("General",e.categories.map(v=>{const f=Number(v);return v===""||!Number.isFinite(f)?null:f}))):r("c:strRef",{},`<c:f>${l(_)}</c:f>`,S(e.categories))),r(i?"c:yVal":"c:val",{},r("c:numRef",{},`<c:f>${l(o.values(c))}</c:f>`,A(n.number_format,n.values))),u?t("c:smooth",n.smooth===!0||e.type==="scatter-smooth"):"")}function b(e){const n=e.labels;if(!n)return"";const c=n.show_percentage===!0,o=V(e);return r("c:dLbls",{},n.number_format===void 0?"":r("c:numFmt",{formatCode:n.number_format,sourceLinked:0}),n.size===void 0&&n.color===void 0&&!h(e.type)?"":F(n.size,n.color??(h(e.type)?"lt1":void 0)),o===void 0?"":t("c:dLblPos",o),t("c:showLegendKey",!1),t("c:showVal",n.show_value??!c),t("c:showCatName",n.show_category_name===!0),t("c:showSerName",n.show_series_name===!0),t("c:showPercent",c),t("c:showBubbleSize",!1))}function te(e,n){const c=e.series.map((s,i)=>ee(e,s,i,n)).join(""),o=z(e.type),a=t("c:axId",y)+t("c:axId",x);if(h(e.type)){const s=e.type==="pie";return r(s?"c:pieChart":"c:doughnutChart",{},t("c:varyColors",w(e)),c,b(e),t("c:firstSliceAng",0),s?"":t("c:holeSize",e.hole_size??50))}if(k(e.type))return r("c:scatterChart",{},t("c:scatterStyle","lineMarker"),t("c:varyColors",!1),c,b(e),a);if(C(e.type)){const s=o!=="clustered";return r("c:barChart",{},t("c:barDir",T(e.type)?"bar":"col"),t("c:grouping",o),t("c:varyColors",w(e)),c,b(e),t("c:gapWidth",e.gap_width??150),e.overlap!==void 0||s?t("c:overlap",e.overlap??100):"",a)}return r(P(e.type)?"c:lineChart":"c:areaChart",{},t("c:grouping",o),t("c:varyColors",!1),c,b(e),P(e.type)?t("c:marker",!0):"",a)}const L=e=>r("c:scaling",{},t("c:orientation",e.reverse_order===!0?"maxMin":"minMax"),e.maximum_scale===void 0?"":t("c:max",e.maximum_scale),e.minimum_scale===void 0?"":t("c:min",e.minimum_scale)),O=e=>r("c:spPr",{},m(e.line_color??{rgb:d.axisLine},d.gridWidth)),M=e=>e.has_major_gridlines===!0?r("c:majorGridlines",{},r("c:spPr",{},m(e.gridline_color??{rgb:d.gridline},d.gridWidth))):"",I=(e,n)=>r("c:rich",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",{sz:n,b:0})),r("a:r",{},r("a:rPr",{lang:"en-US",sz:n,b:0}),`<a:t>${l(e)}</a:t>`))),$=(e,n)=>e===void 0||e===""?"":r("c:title",{},r("c:tx",{},I(e,n)),t("c:overlay",!1));function ne(e){if(h(e.type))return"";const n=k(e.type),c=T(e.type),o=e.category_axis??{},a={has_major_gridlines:!0,...e.value_axis},s=z(e.type)==="percentStacked",i=a.number_format??(s?"0%":e.series[0]?.number_format??"General"),u=Math.round((e.font_size??d.fontSize)*100);return(n?r("c:valAx",{},t("c:axId",y),L(o),t("c:delete",o.visible===!1),t("c:axPos","b"),M(o),$(o.title,u),r("c:numFmt",{formatCode:o.number_format??"General",sourceLinked:o.number_format===void 0?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),O(o),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:crossBetween","midCat"),o.major_unit===void 0?"":t("c:majorUnit",o.major_unit)):r("c:catAx",{},t("c:axId",y),L(o),t("c:delete",o.visible===!1),t("c:axPos",c?"l":"b"),M(o),$(o.title,u),r("c:numFmt",{formatCode:"General",sourceLinked:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),O(o),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:auto",!0),t("c:lblAlgn","ctr"),t("c:lblOffset",100),t("c:noMultiLvlLbl",!1)))+r("c:valAx",{},t("c:axId",x),L(a),t("c:delete",a.visible===!1),t("c:axPos",c?"b":"l"),M(a),$(a.title,u),r("c:numFmt",{formatCode:i,sourceLinked:a.number_format===void 0&&!s?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),r("c:spPr",{},m(null)),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:crossBetween",R(e.type)||n?"midCat":"between"),a.major_unit===void 0?"":t("c:majorUnit",a.major_unit))}const re={bottom:"b",top:"t",left:"l",right:"r"};function oe(e,n){const c=n.width,o=n.height,{plot:a}=D(e,c,o),s=i=>Number(i.toFixed(5));return r("c:layout",{},r("c:manualLayout",{},t("c:layoutTarget","inner"),t("c:xMode","edge"),t("c:yMode","edge"),t("c:x",s(a.x/c)),t("c:y",s(a.y/o)),t("c:w",s(a.width/c)),t("c:h",s(a.height/o))))}const G=r("c:spPr",{},r("a:noFill"),r("a:ln",{},r("a:noFill")));export function chartSpaceXml(e,n){const c=e.title!==void 0&&e.title!==""?e.title:void 0,o=e.font_size??d.fontSize,a=Math.round((e.title_size??o*d.titleScale)*100);return Z+r("c:chartSpace",{"xmlns:c":B,"xmlns:a":W,"xmlns:r":H},t("c:date1904",!1),t("c:roundedCorners",!1),r("c:chart",{},c===void 0?"":r("c:title",{},r("c:tx",{},n.titleRef===void 0?I(c,a):r("c:strRef",{},`<c:f>${l(n.titleRef)}</c:f>`,S([c]))),t("c:overlay",!1)),t("c:autoTitleDeleted",c===void 0),r("c:plotArea",{},n.frame?oe(e,n.frame):r("c:layout"),te(e,n.refs),ne(e),n.frameless===!0?G:""),e.legend===void 0?"":r("c:legend",{},t("c:legendPos",re[e.legend]),t("c:overlay",e.legend_overlay===!0)),t("c:plotVisOnly",n.plotVisible??!0),t("c:dispBlanksAs","gap")),n.frameless===!0?G:"",F(o,e.font_color??"dk1"),n.tail??"")}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import type { ChartLegendPosition, Color, SheetChartType, ThemeColor } from "@allyhub/formats";
|
|
2
|
+
export type { Color };
|
|
3
|
+
/** A theme colour at a brightness: its name alone at 0. */
|
|
4
|
+
export declare const themeColor: (theme_color: ThemeColor, brightness?: number) => Color;
|
|
5
|
+
/** The theme colour a colour is, at any brightness. */
|
|
6
|
+
export declare const themeColorOf: (c: Color) => ThemeColor | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* A colour as it is drawn, against the theme in force: a theme colour's
|
|
9
|
+
* value, lighter or darker by its brightness as PowerPoint makes it, or its
|
|
10
|
+
* own. Every colour drawn or measured comes through here.
|
|
11
|
+
*/
|
|
12
|
+
export declare function colorRgb(c: Color, colors: Readonly<Record<ThemeColor, string>>): string;
|
|
13
|
+
/** The kinds a chart is drawn as: a slide's and a sheet's (which adds scatter). */
|
|
14
|
+
export type ChartKind = SheetChartType;
|
|
15
|
+
/** Where a data label sits (`c:dLblPos`). */
|
|
16
|
+
export type ChartLabelPosition = "outEnd" | "inEnd" | "ctr" | "inBase" | "t" | "b" | "l" | "r" | "bestFit";
|
|
17
|
+
export interface ChartSeriesDef {
|
|
18
|
+
name: string;
|
|
19
|
+
/** One per category; null where there is none. */
|
|
20
|
+
values: (number | null)[];
|
|
21
|
+
/** A scatter's: each point's place across, beside `values`. */
|
|
22
|
+
x?: (number | null)[];
|
|
23
|
+
/** Its values' format in the workbook (Excel's). */
|
|
24
|
+
number_format?: string;
|
|
25
|
+
/** Its colour; default the theme's accents, in turn. */
|
|
26
|
+
color?: Color;
|
|
27
|
+
/** A line's curve. */
|
|
28
|
+
smooth?: boolean;
|
|
29
|
+
/** A line's width in points. */
|
|
30
|
+
line_width?: number;
|
|
31
|
+
/** A marker's size in points. */
|
|
32
|
+
marker_size?: number;
|
|
33
|
+
}
|
|
34
|
+
export interface ChartAxisDef {
|
|
35
|
+
minimum_scale?: number;
|
|
36
|
+
maximum_scale?: number;
|
|
37
|
+
major_unit?: number;
|
|
38
|
+
has_major_gridlines?: boolean;
|
|
39
|
+
visible?: boolean;
|
|
40
|
+
/** Its tick labels' format (Excel's). */
|
|
41
|
+
number_format?: string;
|
|
42
|
+
/** Last category first. */
|
|
43
|
+
reverse_order?: boolean;
|
|
44
|
+
/** Its gridlines' colour. */
|
|
45
|
+
gridline_color?: Color;
|
|
46
|
+
/** Its line's colour. */
|
|
47
|
+
line_color?: Color;
|
|
48
|
+
/** Its title (`c:title`). */
|
|
49
|
+
title?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface ChartLabelsDef {
|
|
52
|
+
show_value?: boolean;
|
|
53
|
+
show_percentage?: boolean;
|
|
54
|
+
show_category_name?: boolean;
|
|
55
|
+
show_series_name?: boolean;
|
|
56
|
+
number_format?: string;
|
|
57
|
+
position?: ChartLabelPosition;
|
|
58
|
+
/** Points. */
|
|
59
|
+
size?: number;
|
|
60
|
+
color?: Color;
|
|
61
|
+
}
|
|
62
|
+
/** A chart (`c:chartSpace`). */
|
|
63
|
+
export interface ChartDef {
|
|
64
|
+
type: ChartKind;
|
|
65
|
+
categories: string[];
|
|
66
|
+
series: ChartSeriesDef[];
|
|
67
|
+
title?: string;
|
|
68
|
+
/** Where its legend is; absent: it has none. */
|
|
69
|
+
legend?: ChartLegendPosition;
|
|
70
|
+
/** Its legend drawn over the plot, the plot not made smaller for it (python-pptx's include_in_layout false, `c:overlay`). */
|
|
71
|
+
legend_overlay?: boolean;
|
|
72
|
+
/** Its data labels; absent: it has none. */
|
|
73
|
+
labels?: ChartLabelsDef;
|
|
74
|
+
/** Between bars' groups, as a share of a bar's width, in %. */
|
|
75
|
+
gap_width?: number;
|
|
76
|
+
/** Of one bar over the next, in %, from -100 to 100. */
|
|
77
|
+
overlap?: number;
|
|
78
|
+
/** A colour per category, as a pie has by default. */
|
|
79
|
+
vary_by_categories?: boolean;
|
|
80
|
+
/** Each category's colour when they vary (`c:dPt`); default the theme's accents, in turn. */
|
|
81
|
+
category_colors?: Color[];
|
|
82
|
+
/** A doughnut's hole, in % of its size. */
|
|
83
|
+
hole_size?: number;
|
|
84
|
+
value_axis?: ChartAxisDef;
|
|
85
|
+
category_axis?: ChartAxisDef;
|
|
86
|
+
/** Its text's size in points. */
|
|
87
|
+
font_size?: number;
|
|
88
|
+
/** Its title's size in points. */
|
|
89
|
+
title_size?: number;
|
|
90
|
+
font_color?: Color;
|
|
91
|
+
/** The project file its numbers came from. */
|
|
92
|
+
source?: string;
|
|
93
|
+
}
|
|
94
|
+
/** What a chart is drawn with unless it says otherwise. */
|
|
95
|
+
export declare const CHART_DEFAULTS: {
|
|
96
|
+
/** Points. */
|
|
97
|
+
readonly fontSize: 12;
|
|
98
|
+
/** A title's size over the chart's text. */
|
|
99
|
+
readonly titleScale: 1.2;
|
|
100
|
+
readonly gapWidth: 150;
|
|
101
|
+
readonly holeSize: 50;
|
|
102
|
+
/** Space round the chart, points. */
|
|
103
|
+
readonly margin: 6;
|
|
104
|
+
readonly gridline: "#D9D9D9";
|
|
105
|
+
readonly axisLine: "#BFBFBF";
|
|
106
|
+
/** A share of a letter's size: how wide a letter is taken to be. */
|
|
107
|
+
readonly letter: 0.55;
|
|
108
|
+
/** Line widths, points. */
|
|
109
|
+
readonly lineWidth: 2.25;
|
|
110
|
+
readonly gridWidth: 0.75;
|
|
111
|
+
/** A marker's size, points. */
|
|
112
|
+
readonly marker: 5;
|
|
113
|
+
};
|
|
114
|
+
export declare const accentOf: (i: number) => Color;
|
|
115
|
+
export declare const isBar: (t: ChartKind) => boolean;
|
|
116
|
+
export declare const isHorizontal: (t: ChartKind) => boolean;
|
|
117
|
+
export declare const isLine: (t: ChartKind) => boolean;
|
|
118
|
+
export declare const isArea: (t: ChartKind) => boolean;
|
|
119
|
+
export declare const isRound: (t: ChartKind) => t is "pie" | "doughnut";
|
|
120
|
+
export declare const isScatter: (t: ChartKind) => boolean;
|
|
121
|
+
/** Whether its points are joined. */
|
|
122
|
+
export declare const hasLines: (t: ChartKind) => boolean;
|
|
123
|
+
export declare const hasMarkers: (t: ChartKind) => t is "line-markers" | "scatter" | "scatter-lines";
|
|
124
|
+
export declare const groupingOf: (t: ChartKind) => "clustered" | "stacked" | "percentStacked" | "standard";
|
|
125
|
+
/**
|
|
126
|
+
* Where each kind of chart can have its labels: PowerPoint repairs a file
|
|
127
|
+
* that names any other (a stacked bar's outside end), and an area or a
|
|
128
|
+
* doughnut names none.
|
|
129
|
+
*/
|
|
130
|
+
export declare function labelPositionsOf(t: ChartKind): readonly ChartLabelPosition[];
|
|
131
|
+
/** Where a chart's labels are: where it says if its kind can, else where this one draws them. */
|
|
132
|
+
export declare function labelPositionOf(c: Pick<ChartDef, "type" | "labels">): ChartLabelPosition | undefined;
|
|
133
|
+
/** Whether each category has its own colour. */
|
|
134
|
+
export declare const variesOf: (c: Pick<ChartDef, "type" | "vary_by_categories">) => boolean;
|
|
135
|
+
/** A number as an Excel format shows it. */
|
|
136
|
+
export declare function formatValue(value: number, code?: string): string;
|
|
137
|
+
export interface ChartScale {
|
|
138
|
+
min: number;
|
|
139
|
+
max: number;
|
|
140
|
+
major: number;
|
|
141
|
+
ticks: number[];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* A value axis from the values it shows, as Excel's automatic one: zero is on
|
|
145
|
+
* it unless the values are close together, a step of 1, 2 or 5 of a power of
|
|
146
|
+
* ten that gives its length at least `room` per step, and 5 % of head room.
|
|
147
|
+
*/
|
|
148
|
+
export declare function chartScale(low: number, high: number, length: number, room: number, axis?: ChartAxisDef): ChartScale;
|
|
149
|
+
export interface ChartBox {
|
|
150
|
+
x: number;
|
|
151
|
+
y: number;
|
|
152
|
+
width: number;
|
|
153
|
+
height: number;
|
|
154
|
+
color: Color;
|
|
155
|
+
series: number;
|
|
156
|
+
category: number;
|
|
157
|
+
}
|
|
158
|
+
export interface ChartStroke {
|
|
159
|
+
/** An SVG path. */
|
|
160
|
+
d: string;
|
|
161
|
+
color: Color;
|
|
162
|
+
width: number;
|
|
163
|
+
fill?: Color;
|
|
164
|
+
series?: number;
|
|
165
|
+
category?: number;
|
|
166
|
+
}
|
|
167
|
+
export interface ChartDot {
|
|
168
|
+
x: number;
|
|
169
|
+
y: number;
|
|
170
|
+
r: number;
|
|
171
|
+
color: Color;
|
|
172
|
+
}
|
|
173
|
+
export interface ChartWord {
|
|
174
|
+
/** Where it is anchored: its left, middle or right, at its vertical middle. */
|
|
175
|
+
x: number;
|
|
176
|
+
y: number;
|
|
177
|
+
text: string;
|
|
178
|
+
size: number;
|
|
179
|
+
anchor: "start" | "middle" | "end";
|
|
180
|
+
color: Color;
|
|
181
|
+
/** Turned, in degrees: an axis's title beside it. */
|
|
182
|
+
rotate?: number;
|
|
183
|
+
}
|
|
184
|
+
/** A chart as drawn, in points in its frame, back to front. */
|
|
185
|
+
export interface ChartDrawing {
|
|
186
|
+
grid: ChartStroke[];
|
|
187
|
+
/** Filled areas, bars and slices. */
|
|
188
|
+
shapes: ChartStroke[];
|
|
189
|
+
boxes: ChartBox[];
|
|
190
|
+
lines: ChartStroke[];
|
|
191
|
+
axes: ChartStroke[];
|
|
192
|
+
dots: ChartDot[];
|
|
193
|
+
/** Swatches of the legend. */
|
|
194
|
+
keys: ChartBox[];
|
|
195
|
+
words: ChartWord[];
|
|
196
|
+
/** Where the plot is. */
|
|
197
|
+
plot: {
|
|
198
|
+
x: number;
|
|
199
|
+
y: number;
|
|
200
|
+
width: number;
|
|
201
|
+
height: number;
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
/** A chart laid out in a frame of `width` × `height` points. */
|
|
205
|
+
export declare function chartDrawing(c: ChartDef, width: number, height: number): ChartDrawing;
|
|
206
|
+
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{format as Ct,isValidFormat as Lt}from"numfmt";import{brightened as jt}from"@allyhub/ooxml/brightness";export const themeColor=(t,s=0)=>s===0?t:{theme_color:t,brightness:s},themeColorOf=t=>typeof t=="string"?t:"theme_color"in t?t.theme_color:void 0;export function colorRgb(t,s){return typeof t=="string"?s[t]:"rgb"in t?t.rgb:jt(s[t.theme_color],t.brightness)}export const CHART_DEFAULTS={fontSize:12,titleScale:1.2,gapWidth:150,holeSize:50,margin:6,gridline:"#D9D9D9",axisLine:"#BFBFBF",letter:.55,lineWidth:2.25,gridWidth:.75,marker:5};const vt=["accent1","accent2","accent3","accent4","accent5","accent6"];export const accentOf=t=>vt[t%vt.length]??"accent1",isBar=t=>t.startsWith("column")||t.startsWith("bar"),isHorizontal=t=>t.startsWith("bar"),isLine=t=>t.startsWith("line"),isArea=t=>t.startsWith("area"),isRound=t=>t==="pie"||t==="doughnut",isScatter=t=>t.startsWith("scatter"),hasLines=t=>!isScatter(t)||t!=="scatter",hasMarkers=t=>t==="line-markers"||t==="scatter"||t==="scatter-lines",groupingOf=t=>t.endsWith("-100")?"percentStacked":t.endsWith("-stacked")?"stacked":isBar(t)?"clustered":"standard";export function labelPositionsOf(t){return isArea(t)||t==="doughnut"?[]:t==="pie"?["bestFit","outEnd","inEnd","ctr"]:isLine(t)||isScatter(t)?["t","b","l","r","ctr"]:groupingOf(t)==="clustered"?["outEnd","inEnd","ctr","inBase"]:["inEnd","ctr","inBase"]}export function labelPositionOf(t){const s=labelPositionsOf(t.type),l=t.labels?.position;if(l!==void 0&&s.includes(l))return l;if(s.length!==0)return t.type==="pie"?"ctr":isLine(t.type)||isScatter(t.type)?"t":groupingOf(t.type)==="clustered"?"outEnd":"ctr"}export const variesOf=t=>t.vary_by_categories??isRound(t.type);export function formatValue(t,s="General"){return s==="General"||!Lt(s)?String(Number(t.toPrecision(10))):Ct(s,t)}const Ft=[1,2,5,10];export function chartScale(t,s,l,r,e={}){const h=t>0&&(s-t)/s<.16666666666666666?t:Math.min(t,0),a=s<=0&&t<0?0:s,o=e.minimum_scale??h,j=e.maximum_scale??a,b=j>o?j-o:1,F=Math.max(1,Math.floor(l/r)),w=b/F,P=10**Math.floor(Math.log10(w)),O=e.major_unit??(Ft.find(E=>E*P>=w)??10)*P,B=(E,C)=>Number((C(Number((E/O).toFixed(9)))*O).toPrecision(12)),Z=a>0?a+b*.05:a===h?b:a,g=e.maximum_scale??B(Z,Math.ceil),R=h<0?h-b*.05:h,W=e.minimum_scale??B(R,Math.floor),N=[],x=Math.round((g-W)/O);for(let E=0;E<=x;E++)N.push(Number((W+E*O).toPrecision(12)));return{min:W,max:g,major:O,ticks:N}}const it=(t,s)=>{let l=0;for(const r of t)l+=(r.codePointAt(0)??0)>11903?1:CHART_DEFAULTS.letter;return l*s},m=t=>String(Number(t.toFixed(3)));function kt(t){const s=l=>t[Math.max(0,Math.min(t.length-1,l))]??[0,0];return t.map(([l,r],e)=>{if(e===0)return`M${m(l)} ${m(r)}`;const[h,a]=s(e-2),[o,j]=s(e-1),[b,F]=s(e+1),w=`${m(o+(l-h)/6)} ${m(j+(r-a)/6)}`,P=`${m(l-(b-o)/6)} ${m(r-(F-j)/6)}`;return`C${w} ${P} ${m(l)} ${m(r)}`}).join(" ")}const lt=t=>t.map(([s,l],r)=>`${r===0?"M":"L"}${m(s)} ${m(l)}`).join(" ");function Ot(t,s,l,r,e,h){const a=(F,w)=>`${m(t+F*Math.sin(w))} ${m(s-F*Math.cos(w))}`,o=h-e>=Math.PI*2?e+Math.PI*2-1e-4:h,j=o-e>Math.PI?1:0,b=`M${a(l,e)} A${m(l)} ${m(l)} 0 ${String(j)} 1 ${a(l,o)}`;return r<=0?`${b} L${m(t)} ${m(s)} Z`:`${b} L${a(r,o)} A${m(r)} ${m(r)} 0 ${String(j)} 0 ${a(r,e)} Z`}function Wt(t,s,l,r){const e=r*1.5;return s!==void 0&&s!==""&&(t.bottom-=e),l!==void 0&&l!==""&&(t.left+=e),{x:t.left-e/2,y:t.bottom+e/2}}function Et(t,s,l,r,e,h,a){r!==void 0&&r!==""&&t.words.push({x:s.x+s.width/2,y:l.y,text:r,size:h,anchor:"middle",color:a}),e!==void 0&&e!==""&&t.words.push({x:l.x,y:s.y+s.height/2,text:e,size:h,anchor:"middle",color:a,rotate:-90})}const ht=(t,s,l,r,e)=>{const h=t.labels;if(!h)return"";const a=isRound(t.type),o=[];return h.show_series_name&&o.push(r.name),h.show_category_name&&o.push(e),(h.show_value??!(h.show_percentage??!1))&&o.push(formatValue(s,h.number_format??r.number_format)),h.show_percentage&&a&&o.push(formatValue(l,h.number_format??"0%")),o.join(", ")};function Bt(t,s,l,r,e){const h=CHART_DEFAULTS,a=t.category_axis??{},o=t.value_axis??{},j=Wt(l,a.title,o.title,r),b=t.series.map(c=>c.values.flatMap(($,H)=>{const I=c.x?.[H]??(c.x?null:H+1);return I===null||$===null?[]:[[I,$]]})),F=b.flat().map(c=>c[0]),w=b.flat().map(c=>c[1]),P=c=>c.length>0?Math.min(...c):0,O=c=>c.length>0?Math.max(...c):1,B=o.number_format??t.series[0]?.number_format??"General",Z=a.number_format??"General",g=r*.5,R=chartScale(P(w),O(w),l.bottom-l.top,r*2.4,o),W=o.visible===!1?0:Math.max(0,...R.ticks.map(c=>it(formatValue(c,B),r)))+g,N=a.visible===!1?0:r*1.2+g,x={x:l.left+W,y:l.top,width:l.right-l.left-W,height:l.bottom-l.top-N};s.plot=x,Et(s,x,j,a.title,o.title,r,e);const E=chartScale(P(F),O(F),x.width,r*5,a),C=chartScale(P(w),O(w),x.height,r*2.4,o),z=c=>x.x+(Math.min(E.max,Math.max(E.min,c))-E.min)/(E.max-E.min)*x.width,D=c=>x.y+x.height-(Math.min(C.max,Math.max(C.min,c))-C.min)/(C.max-C.min)*x.height;for(const c of C.ticks){const $=D(c);(o.has_major_gridlines??!0)&&s.grid.push({d:`M${m(x.x)} ${m($)} H${m(x.x+x.width)}`,color:o.gridline_color??{rgb:h.gridline},width:h.gridWidth}),o.visible!==!1&&s.words.push({x:x.x-g,y:$,text:formatValue(c,B),size:r,anchor:"end",color:e})}for(const c of E.ticks){const $=z(c);a.has_major_gridlines===!0&&s.grid.push({d:`M${m($)} ${m(x.y)} V${m(x.y+x.height)}`,color:a.gridline_color??{rgb:h.gridline},width:h.gridWidth}),a.visible!==!1&&s.words.push({x:$,y:x.y+x.height+g+r*.6,text:formatValue(c,Z),size:r,anchor:"middle",color:e})}s.axes.push({d:`M${m(x.x)} ${m(D(Math.max(C.min,Math.min(C.max,0))))} H${m(x.x+x.width)}`,color:a.line_color??{rgb:h.axisLine},width:h.gridWidth}),t.series.forEach((c,$)=>{const H=c.color??accentOf($),I=(b[$]??[]).map(([U,Y])=>[z(U),D(Y)]);if(I.length!==0&&(hasLines(t.type)&&s.lines.push({d:t.type==="scatter-smooth"||c.smooth===!0?kt(I):lt(I),color:H,width:c.line_width??h.lineWidth,series:$}),hasMarkers(t.type)))for(const[U,Y]of I)s.dots.push({x:U,y:Y,r:(c.marker_size??h.marker)/2,color:H})})}export function chartDrawing(t,s,l){const r=CHART_DEFAULTS,e=t.font_size??r.fontSize,h=t.font_color??"dk1",a={grid:[],shapes:[],boxes:[],lines:[],axes:[],dots:[],keys:[],words:[],plot:{x:0,y:0,width:0,height:0}},o={left:r.margin,top:r.margin,right:s-r.margin,bottom:l-r.margin};if(t.title!==void 0&&t.title!==""){const n=t.title_size??e*r.titleScale;a.words.push({x:s/2,y:o.top+n*.7,text:t.title,size:n,anchor:"middle",color:h}),o.top+=n*1.6}const j=isRound(t.type),b=variesOf(t),F=(n,d)=>b?t.category_colors?.[d]??accentOf(d):t.series[n]?.color??accentOf(n);if(t.legend!==void 0){const n=b?t.categories:t.series.map(p=>p.name),d=e*.6,f=e*.4,i=e*1.5,y=n.map(p=>d+f+it(p,e)),S=(p,M,_)=>{a.keys.push({x:M,y:_-d/2,width:d,height:d,color:b?t.category_colors?.[p]??accentOf(p):t.series[p]?.color??accentOf(p),series:b?0:p,category:b?p:0}),a.words.push({x:M+d+f,y:_,text:n[p]??"",size:e,anchor:"start",color:h})};if(t.legend==="top"||t.legend==="bottom"){const p=y.reduce((A,v)=>A+v,0)+e*(n.length-1),M=t.legend==="top"?o.top+i/2:o.bottom-i/2;let _=(s-p)/2;n.forEach((A,v)=>{S(v,_,M),_+=(y[v]??0)+e}),t.legend_overlay!==!0&&(t.legend==="top"?o.top+=i:o.bottom-=i)}else{const p=Math.max(0,...y),M=t.legend==="left"?o.left:o.right-p,_=(o.top+o.bottom-i*n.length)/2+i/2;n.forEach((A,v)=>{S(v,M,_+v*i)}),t.legend_overlay!==!0&&(t.legend==="left"?o.left+=p+e:o.right-=p+e)}}const w=t.labels,P=w?.size??e,O=w?.color??h,B=(n,d,f,i,y=O)=>{f!==""&&a.words.push({x:n,y:d,text:f,size:P,anchor:i,color:y})};if(j){const n=t.series[0],d=(n?.values??[]).map(_=>Math.max(0,_??0)),f=d.reduce((_,A)=>_+A,0),i=Math.max(0,Math.min(o.right-o.left,o.bottom-o.top)/2),y=(o.left+o.right)/2,S=(o.top+o.bottom)/2,p=t.type==="doughnut"?i*((t.hole_size??r.holeSize)/100):0;a.plot={x:y-i,y:S-i,width:i*2,height:i*2};let M=0;return d.forEach((_,A)=>{const v=f>0?_/f:0,V=M+v*Math.PI*2;if(v>0){a.shapes.push({d:Ot(y,S,i,p,M,V),color:"lt1",width:1,fill:F(0,A),series:0,category:A});const L=(M+V)/2,k=p>0?(i+p)/2:labelPositionOf(t)==="inEnd"?i*.85:i*.6;n&&B(y+k*Math.sin(L),S-k*Math.cos(L),ht(t,_,v,n,t.categories[A]??""),"middle",w?.color??"lt1")}M=V}),a}if(isScatter(t.type))return Bt(t,a,o,e,h),a;const Z=Math.max(1,t.categories.length),g=isHorizontal(t.type),R=groupingOf(t.type),W=R!=="clustered"&&R!=="standard",N=R==="percentStacked",x=t.series.map(n=>t.categories.map((d,f)=>n.values[f]??null)),E=t.categories.map((n,d)=>x.reduce((f,i)=>f+Math.abs(i[d]??0),0)),C=(n,d)=>{const f=x[n]?.[d];if(f==null)return null;const i=E[d]??0;return N?i>0?f/i:0:f};let z=0,D=0;if(t.categories.forEach((n,d)=>{let f=0,i=0;t.series.forEach((y,S)=>{const p=C(S,d)??0;W?p>=0?f+=p:i+=p:(f=Math.max(f,p),i=Math.min(i,p))}),D=Math.max(D,f),z=Math.min(z,i)}),!W){const n=x.flat().filter(d=>d!==null);n.length>0&&Math.min(...n)>0&&(z=Math.min(...n))}N&&(D=1,z=Math.min(z,0));const c=t.value_axis??{},$=t.category_axis??{},H=c.number_format??(N?"0%":t.series[0]?.number_format??"General"),I=g?o.right-o.left:o.bottom-o.top,U=g?e*5:e*2.4,Y=chartScale(z,D,I,U,{...c,...N?{maximum_scale:c.maximum_scale??1}:{}}),dt=c.visible===!1?[]:Y.ticks.map(n=>formatValue(n,H)),mt=Math.max(0,...dt.map(n=>it(n,e))),ot=$.visible!==!1,ft=ot?Math.max(0,...t.categories.map(n=>it(n,e))):0,T=e*.5,ut=g?c.title:$.title,pt=g?$.title:c.title,St=Wt(o,ut,pt,e),u=g?{x:o.left+(ot?ft+T:0),y:o.top,width:0,height:o.bottom-o.top-(c.visible===!1?0:e*1.2+T)}:{x:o.left+(c.visible===!1?0:mt+T),y:o.top,width:0,height:o.bottom-o.top-(ot?e*1.2+T:0)};u.width=o.right-u.x-(g&&dt.length>0?mt/2:0),a.plot=u,Et(a,u,St,ut,pt,e,h);const G=chartScale(z,D,g?u.width:u.height,U,{...c,...N?{maximum_scale:c.maximum_scale??1}:{}}),gt=n=>(Math.min(G.max,Math.max(G.min,n))-G.min)/(G.max-G.min)*(g?u.width:u.height),q=n=>g?u.x+gt(n):u.y+u.height-gt(n),xt=isArea(t.type),yt=$.reverse_order===!0,Mt=g?!yt:yt,at=(g?u.height:u.width)/Z,_t=xt?(g?u.height:u.width)/Math.max(1,Z-1):at,ct=n=>{const d=xt?n*_t:(n+.5)*at,f=g?u.height:u.width,i=Mt?f-d:d;return(g?u.y:u.x)+i},bt=q(Math.max(G.min,Math.min(G.max,0)));for(const n of G.ticks){const d=q(n);(c.has_major_gridlines??!0)&&a.grid.push({d:g?`M${m(d)} ${m(u.y)} V${m(u.y+u.height)}`:`M${m(u.x)} ${m(d)} H${m(u.x+u.width)}`,color:c.gridline_color??{rgb:r.gridline},width:r.gridWidth}),c.visible!==!1&&a.words.push(g?{x:d,y:u.y+u.height+T+e*.6,text:formatValue(n,H),size:e,anchor:"middle",color:h}:{x:u.x-T,y:d,text:formatValue(n,H),size:e,anchor:"end",color:h})}if(a.axes.push({d:g?`M${m(bt)} ${m(u.y)} V${m(u.y+u.height)}`:`M${m(u.x)} ${m(bt)} H${m(u.x+u.width)}`,color:$.line_color??{rgb:r.axisLine},width:r.gridWidth}),ot){const n=g?e*1.3:ft+e,d=Math.max(1,Math.ceil(n/Math.max(1,_t)));t.categories.forEach((f,i)=>{if(i%d!==0)return;const y=ct(i);a.words.push(g?{x:u.x-T,y,text:f,size:e,anchor:"end",color:h}:{x:y,y:u.y+u.height+T+e*.6,text:f,size:e,anchor:"middle",color:h})})}if(isBar(t.type)){const n=(t.gap_width??r.gapWidth)/100,d=W?1:t.series.length,f=W?1:(t.overlap??0)/100,i=at/(Math.max(1,d-(d-1)*f)+n),y=i*(1-f),S=i+y*(d-1);t.categories.forEach((p,M)=>{const _=ct(M);let A=0,v=0;t.series.forEach((V,L)=>{const k=C(L,M);if(k===null)return;const nt=W?k>=0?A:v:0,tt=nt+k;W&&(k>=0?A=tt:v=tt);const J=q(nt),K=q(tt),st=(W?_-i/2:_-S/2+L*y)+(g&&Mt&&!W?S-i-2*L*y:0),Pt=g?{x:Math.min(J,K),y:st,width:Math.abs(K-J),height:i}:{x:st,y:Math.min(J,K),width:i,height:Math.abs(K-J)};if(a.boxes.push({...Pt,color:F(L,M),series:L,category:M}),!w)return;const wt=ht(t,x[L]?.[M]??0,0,V,t.categories[M]??""),rt=labelPositionOf(t),Q=P*.8,At=k>=0?1:-1,$t=(et,X)=>rt==="ctr"?(et+X)/2:rt==="inBase"?et+(X>et?Q:-Q):rt==="inEnd"?X-(X>et?Q:-Q):X+(X>=et?Q:-Q);g?B($t(J,K),st+i/2,wt,rt==="outEnd"?At>0?"start":"end":"middle"):B(st+i/2,$t(J,K),wt,"middle")})})}else{const n=t.categories.map(()=>0),d=t.series.map((f,i)=>{const y=[],S=[];return t.categories.forEach((p,M)=>{const _=C(i,M);if(_===null)return;const A=W?n[M]??0:0,v=A+_;W&&(n[M]=v);const V=ct(M),L=k=>g?[q(k),V]:[V,q(k)];if(y.push(L(v)),S.push(L(A)),isLine(t.type)&&w){const k=labelPositionOf(t),[nt,tt]=L(v);B(nt+(k==="r"?P:k==="l"?-P:0),tt+(k==="t"?-P:k==="b"?P:0),ht(t,x[i]?.[M]??0,0,f,t.categories[M]??""),k==="r"?"start":k==="l"?"end":"middle")}}),{series:f,s:i,points:y,base:S}});for(const{series:f,s:i,points:y,base:S}of d){const p=f.color??accentOf(i);if(isArea(t.type)&&y.length>0)a.shapes.push({d:`${lt([...y,...[...S].reverse()])} Z`,color:p,width:0,fill:p,series:i});else if(y.length>0&&(a.lines.push({d:f.smooth===!0?kt(y):lt(y),color:p,width:f.line_width??r.lineWidth,series:i}),hasMarkers(t.type)))for(const[M,_]of y)a.dots.push({x:M,y:_,r:(f.marker_size??r.marker)/2,color:p})}a.shapes.reverse()}return a}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ChartDef } from "./chart.js";
|
|
2
|
+
/**
|
|
3
|
+
* A chart's part, its numbers read from a workbook of its own laid out as
|
|
4
|
+
* chartBook lays it out: `frame` its size in points, `workbook` the
|
|
5
|
+
* relationship id of that workbook.
|
|
6
|
+
*/
|
|
7
|
+
export declare function embeddedChartXml(c: ChartDef, frame: {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
}, workbook: string, o?: {
|
|
11
|
+
frameless?: boolean;
|
|
12
|
+
}): string;
|
|
13
|
+
/** The workbook behind a chart: its categories down column A, a series a column, as python-pptx lays it out. */
|
|
14
|
+
export declare function chartBook(c: ChartDef): Uint8Array;
|
|
15
|
+
//# sourceMappingURL=embedded.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{strToU8 as w,zipSync as v}from"fflate";import{isScatter as g}from"./chart.js";import{chartSpaceXml as y}from"./chart-xml.js";const T=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
3
|
+
`,C={"&":"&","<":"<",">":">",'"':"""},k=t=>t.replace(/[&<>"]/gu,r=>C[r]??r),n=t=>t<26?String.fromCharCode(65+t):n(Math.floor(t/26)-1)+String.fromCharCode(65+t%26);export function embeddedChartXml(t,r,i,$={}){const l=t.categories.length,m=e=>n(e+1),x=g(t.type),p=(e,o)=>{const s=String((t.series[e]?.values.length??0)+1);return`Sheet1!$${n(e*2+o)}$2:$${n(e*2+o)}$${s}`};return y(t,{refs:x?{name:e=>`Sheet1!$${n(e*2+1)}$1`,categories:void 0,values:e=>p(e,1),x:e=>p(e,0)}:{name:e=>`Sheet1!$${m(e)}$1`,categories:`Sheet1!$A$2:$A$${String(l+1)}`,values:e=>`Sheet1!$${m(e)}$2:$${m(e)}$${String(l+1)}`},frame:r,...$.frameless===!0?{frameless:!0}:{},tail:`<c:externalData r:id="${k(i)}"><c:autoUpdate val="0"/></c:externalData>`})}const S="http://schemas.openxmlformats.org/spreadsheetml/2006/main",u="http://schemas.openxmlformats.org/officeDocument/2006/relationships",D=new Date(1980,0,1);export function chartBook(t){const r=(o,s)=>`<c r="${o}" t="inlineStr"><is><t>${k(s)}</t></is></c>`,i=g(t.type),$=(i?t.series.flatMap((o,s)=>[r(`${n(s*2)}1`,"X"),r(`${n(s*2+1)}1`,o.name)]):[r("A1",""),...t.series.map((o,s)=>r(`${n(s+1)}1`,o.name))]).join(""),l=(o,s)=>s==null?"":`<c r="${o}"><v>${String(s)}</v></c>`,m=Math.max(0,...t.series.map(o=>o.values.length)),x=Array.from({length:m},(o,s)=>{const a=String(s+2),f=t.series.flatMap((c,h)=>[l(`${n(h*2)}${a}`,c.x?.[s]),l(`${n(h*2+1)}${a}`,c.values[s])]);return`<row r="${a}">${f.join("")}</row>`}),p=t.categories.map((o,s)=>{const a=String(s+2),f=t.series.map((c,h)=>{const d=c.values[s];return d==null?"":`<c r="${n(h+1)}${a}"><v>${String(d)}</v></c>`});return`<row r="${a}">${r(`A${a}`,o)}${f.join("")}</row>`}),e=o=>[w(T+o),{mtime:D}];return v({"[Content_Types].xml":e('<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/></Types>'),"_rels/.rels":e(`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="${u}/officeDocument" Target="xl/workbook.xml"/></Relationships>`),"xl/workbook.xml":e(`<workbook xmlns="${S}" xmlns:r="${u}"><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets></workbook>`),"xl/_rels/workbook.xml.rels":e(`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="${u}/worksheet" Target="worksheets/sheet1.xml"/></Relationships>`),"xl/worksheets/sheet1.xml":e(`<worksheet xmlns="${S}"><sheetData><row r="1">${$}</row>${(i?x:p).join("")}</sheetData></worksheet>`)})}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ThemeColor } from "@allyhub/formats";
|
|
2
|
+
import { type ChartDef } from "./chart.js";
|
|
3
|
+
/** The Office theme's colours, as a chart with none of its own has them. */
|
|
4
|
+
export declare const OFFICE_COLORS: Readonly<Record<ThemeColor, string>>;
|
|
5
|
+
/** What a chart is drawn on, and in. */
|
|
6
|
+
export interface ChartSvgOptions {
|
|
7
|
+
/** The theme its theme colours are (accent1…): default Office's. */
|
|
8
|
+
colors?: Readonly<Record<ThemeColor, string>>;
|
|
9
|
+
/** Its ground: default white; `none` for none. */
|
|
10
|
+
paper?: string;
|
|
11
|
+
/** Its edge: default a light gray; `none` for none. */
|
|
12
|
+
edge?: string;
|
|
13
|
+
/** Its text's face, as CSS names it. */
|
|
14
|
+
font?: string;
|
|
15
|
+
/** Points to a pixel: default 0.75, 96 pixels to the inch. */
|
|
16
|
+
pointsPerPixel?: number;
|
|
17
|
+
/** What it shows, in words, for a reader that reads aloud. */
|
|
18
|
+
label?: string;
|
|
19
|
+
}
|
|
20
|
+
/** A chart as an SVG of `width` × `height` pixels, laid out in points. */
|
|
21
|
+
export declare function chartSvg(def: ChartDef, width: number, height: number, o?: ChartSvgOptions): string;
|
|
22
|
+
//# sourceMappingURL=svg.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{chartDrawing as u,colorRgb as F}from"./chart.js";export const OFFICE_COLORS={dk1:"#000000",lt1:"#FFFFFF",dk2:"#44546A",lt2:"#E7E6E6",accent1:"#4472C4",accent2:"#ED7D31",accent3:"#A5A5A5",accent4:"#FFC000",accent5:"#5B9BD5",accent6:"#70AD47",hlink:"#0563C1",folHlink:"#954F72"};const w={"&":"&","<":"<",">":">",'"':"""},i=n=>n.replace(/[&<>"]/gu,r=>w[r]??r),o=n=>String(Number(n.toFixed(3)));function k(n,r){const l=t=>{const c=t.fill===void 0?"none":r(t.fill),s=t.width>0?r(t.color):"none";return`<path d="${i(t.d)}" fill="${c}" stroke="${s}" stroke-width="${o(t.width)}" stroke-linejoin="round"/>`},e=[];for(const t of[...n.grid,...n.shapes])e.push(l(t));for(const t of[...n.boxes,...n.keys])e.push(`<rect x="${o(t.x)}" y="${o(t.y)}" width="${o(t.width)}" height="${o(t.height)}" fill="${r(t.color)}"/>`);for(const t of[...n.axes,...n.lines])e.push(l(t));for(const t of n.dots)e.push(`<circle cx="${o(t.x)}" cy="${o(t.y)}" r="${o(t.r)}" fill="${r(t.color)}"/>`);for(const t of n.words){const c=t.rotate===void 0?"":` transform="rotate(${o(t.rotate)} ${o(t.x)} ${o(t.y)})"`;e.push(`<text x="${o(t.x)}" y="${o(t.y)}" font-size="${o(t.size)}" text-anchor="${t.anchor}" dominant-baseline="central" fill="${r(t.color)}"${c}>${i(t.text)}</text>`)}return e.join("")}export function chartSvg(n,r,l,e={}){const t=e.pointsPerPixel??.75,c=r*t,s=l*t,f=e.colors??OFFICE_COLORS,h=p=>F(p,f),d=e.font??"Carlito, Calibri, Arial, sans-serif",$=e.paper??"#FFFFFF",a=e.edge??"#D9D9D9",x=e.label===void 0?"":` role="img" aria-label="${i(e.label)}"`,g=$==="none"&&a==="none"?"":`<rect x="0.375" y="0.375" width="${o(c-.75)}" height="${o(s-.75)}" fill="${i($)}" stroke="${i(a)}" stroke-width="${a==="none"?"0":"0.75"}"/>`;return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${o(c)} ${o(s)}" width="${o(r)}" height="${o(l)}" font-family="${i(d)}"${x}>${g}${k(u(n,c,s),h)}</svg>`}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allyhub/chart",
|
|
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
|
+
"sideEffects": false,
|
|
12
|
+
"private": true,
|
|
13
|
+
"license": "SEE LICENSE IN LICENSE.md"
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Where a fact was measured. Piece-level facts (the matrix) have no output, combo or format. */
|
|
2
|
+
export interface FactPlace {
|
|
3
|
+
piece: string;
|
|
4
|
+
output?: string;
|
|
5
|
+
combo?: Record<string, string>;
|
|
6
|
+
format?: string;
|
|
7
|
+
part?: string;
|
|
8
|
+
/** Film seconds. */
|
|
9
|
+
t?: number;
|
|
10
|
+
}
|
|
11
|
+
/** A fact, of a map of kinds to their data (an extension's); of any kind when none is given. */
|
|
12
|
+
export type Fact<M extends object = Record<string, unknown>> = {
|
|
13
|
+
[K in keyof M & string]: FactPlace & {
|
|
14
|
+
kind: K;
|
|
15
|
+
data: M[K];
|
|
16
|
+
};
|
|
17
|
+
}[keyof M & string];
|
|
18
|
+
/** A fact of one map's: made with what it measured, typed by its kind. */
|
|
19
|
+
export declare function factOf<M extends object, K extends keyof M & string>(kind: K, place: FactPlace, data: M[K]): Fact<M>;
|
|
20
|
+
/** The facts of one kind, typed as the list is (`Fact<DeckFactData>[]`). */
|
|
21
|
+
export declare function factsOf<F extends {
|
|
22
|
+
kind: string;
|
|
23
|
+
}, K extends F["kind"]>(facts: readonly F[], kind: K): Extract<F, {
|
|
24
|
+
kind: K;
|
|
25
|
+
}>[];
|
|
26
|
+
/** How many facts of each kind, in the order the kinds first come. */
|
|
27
|
+
export declare function countFacts(facts: readonly Fact[]): Record<string, number>;
|
|
28
|
+
/** Which facts to keep: of these kinds, of this part, between these seconds. */
|
|
29
|
+
export interface FactFilter {
|
|
30
|
+
kinds?: readonly string[] | undefined;
|
|
31
|
+
part?: string | undefined;
|
|
32
|
+
from?: number | undefined;
|
|
33
|
+
to?: number | undefined;
|
|
34
|
+
}
|
|
35
|
+
/** The facts a filter keeps; a fact without a time goes when a time is asked. */
|
|
36
|
+
export declare function filterFacts<F extends Fact>(facts: readonly F[], o: FactFilter): F[];
|
|
37
|
+
//# sourceMappingURL=fact.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export function factOf(e,n,t){return{kind:e,...n,data:t}}export function factsOf(e,n){return e.filter(t=>t.kind===n)}export function countFacts(e){const n={};for(const t of e)n[t.kind]=(n[t.kind]??0)+1;return n}export function filterFacts(e,n){return e.filter(t=>!(n.kinds?.length&&!n.kinds.includes(t.kind)||n.part!==void 0&&t.part!==n.part||(n.from!==void 0||n.to!==void 0)&&(t.t===void 0||n.from!==void 0&&t.t<n.from-1e-6||n.to!==void 0&&t.t>n.to+1e-6)))}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "error": must fix — the render breaks or a safety rule is broken;
|
|
3
|
+
* nothing is rendered until it is fixed. "warn": a suggestion — never
|
|
4
|
+
* blocks.
|
|
5
|
+
*/
|
|
6
|
+
export type ProblemLevel = "error" | "warn";
|
|
7
|
+
export type Box = [x: number, y: number, w: number, h: number];
|
|
8
|
+
export interface Problem {
|
|
9
|
+
/** Its rule's code, e.g. "AK-L002". */
|
|
10
|
+
code: string;
|
|
11
|
+
level: ProblemLevel;
|
|
12
|
+
/** What is wrong and how to fix it. */
|
|
13
|
+
message: string;
|
|
14
|
+
/** Where it was found: absent for project-level problems. */
|
|
15
|
+
piece?: string;
|
|
16
|
+
output?: string;
|
|
17
|
+
combo?: Record<string, string>;
|
|
18
|
+
format?: string;
|
|
19
|
+
/** Where inside the output. */
|
|
20
|
+
part?: string;
|
|
21
|
+
t?: number;
|
|
22
|
+
page?: number;
|
|
23
|
+
where?: {
|
|
24
|
+
file?: string;
|
|
25
|
+
line?: number;
|
|
26
|
+
selector?: string;
|
|
27
|
+
bbox?: Box;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/** A code no rule this process knows has: a mistake in the code that reports it, or in its extension's manifest. */
|
|
31
|
+
export declare class UnknownRuleError extends Error {
|
|
32
|
+
readonly code: string;
|
|
33
|
+
constructor(code: string);
|
|
34
|
+
}
|
|
35
|
+
/** A problem under a rule this process knows, at the rule's own level unless one is given. */
|
|
36
|
+
export declare function problem(code: string, message: string, extra?: Omit<Problem, "code" | "level" | "message"> & {
|
|
37
|
+
level?: ProblemLevel;
|
|
38
|
+
}): Problem;
|
|
39
|
+
export declare function countLevels(problems: readonly Problem[]): {
|
|
40
|
+
errors: number;
|
|
41
|
+
warnings: number;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=problem.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{ruleOf as l}from"./rules.js";export class UnknownRuleError extends Error{code;constructor(e){super(`${e} is not a rule's code: no rule the core or a loaded extension declares has it (an extension declares its own in contributes.rules).`),this.name="UnknownRuleError",this.code=e}}export function problem(r,e,n={}){const o=l(r);if(o===void 0)throw new UnknownRuleError(r);const{level:t,...s}=n;return{code:r,level:t??o.level,message:e,...s}}export function countLevels(r){let e=0,n=0;for(const o of r)o.level==="error"?e++:n++;return{errors:e,warnings:n}}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ProblemLevel } from "./problem.js";
|
|
2
|
+
/** A rule: its code, the level its problems take unless one is given, and what it says, for help. */
|
|
3
|
+
export interface Rule {
|
|
4
|
+
readonly code: string;
|
|
5
|
+
readonly level: ProblemLevel;
|
|
6
|
+
readonly rule: string;
|
|
7
|
+
}
|
|
8
|
+
/** A rule as this process knows it, with what declares it: an extension's id, or CORE. */
|
|
9
|
+
export interface DeclaredRule extends Rule {
|
|
10
|
+
readonly extension: string;
|
|
11
|
+
}
|
|
12
|
+
/** What declares the core's own rules. */
|
|
13
|
+
export declare const CORE = "allyhub";
|
|
14
|
+
/** The rules the core reports under. */
|
|
15
|
+
export declare const CORE_RULES: readonly Rule[];
|
|
16
|
+
/**
|
|
17
|
+
* Declares an extension's rules in this process. A code another extension
|
|
18
|
+
* (or the core) declares already is refused, each said in what this
|
|
19
|
+
* returns; the same extension declaring its code again replaces it.
|
|
20
|
+
*/
|
|
21
|
+
export declare function declareRules(extension: string, rules: readonly Rule[]): string[];
|
|
22
|
+
/** Declares rules another process knew (`declaredRules`), each by its extension. */
|
|
23
|
+
export declare function declareAll(rules: readonly DeclaredRule[]): string[];
|
|
24
|
+
/** The rule a code is, when this process knows it. */
|
|
25
|
+
export declare const ruleOf: (code: string) => DeclaredRule | undefined;
|
|
26
|
+
/** Whether a code is a rule's this process knows. */
|
|
27
|
+
export declare const isRule: (code: string) => boolean;
|
|
28
|
+
/** Every rule this process knows: the core's, then the extensions' as they were declared. */
|
|
29
|
+
export declare const declaredRules: () => DeclaredRule[];
|
|
30
|
+
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export const CORE="allyhub",CORE_RULES=[{code:"AK-M001",level:"error",rule:"The fields of video(), presentation() or defineComponent do not match the format"},{code:"AK-M002",level:"error",rule:"The project's list (allyhub.yaml) cannot be read, or names a kind not loaded or a file not there"},{code:"AK-M003",level:"error",rule:"The project's list names two pieces by one id"},{code:"AK-M004",level:"error",rule:"The project has no pieces"},{code:"AK-M006",level:"error",rule:"A messages file does not match the format"},{code:"AK-M007",level:"error",rule:"A script file does not match the format"},{code:"AK-M011",level:"error",rule:"A deck names no slides file or script, or its slides file is not there, does not match the format, or names a layout, a prop, a file or a video item the deck does not have"},{code:"AK-M012",level:"error",rule:"A sheet's code reads the clock or a random number, reaches outside the project, or does not make the same sheets twice"},{code:"AK-M016",level:"error",rule:"An item uses another item's made file that is not there: no such item in the work list, no type both kinds take, or an item using itself"},{code:"AK-B001",level:"error",rule:"Two pieces have the same id"},{code:"AK-B003",level:"error",rule:"The build made a network request"},{code:"AK-B004",level:"error",rule:"The build timed out, or its result is over the size limit"},{code:"AK-B005",level:"error",rule:"An import of a file outside the project, or of a package not declared in package.json"},{code:"AK-B006",level:"error",rule:"An import of an @allyhub/sdk entry point that does not exist"},{code:"AK-B008",level:"error",rule:"The project's @allyhub/sdk is another version than the allyhub that builds it"},{code:"AK-B009",level:"error",rule:"The project's package.json declares AllyHub, but its packages are not installed"},{code:"AK-D002",level:"error",rule:"The same frame has different pixels when drawn in order and out of order"},{code:"AK-N003",level:"error",rule:"The sandbox blocked a request at run time"},{code:"AK-A001",level:"error",rule:"A referenced media or data file does not exist"},{code:"AK-P003",level:"error",rule:"A moment did not finish drawing within the piece's seekLimit (default 30 seconds): work a layer waits for (ctx.wait) or a picture it shows never settled"},{code:"AK-R001",level:"error",rule:"An unhandled exception was thrown at run time"},{code:"AK-X001",level:"error",rule:"The matrix's slots, structures, rules or combos name something that does not exist, or a combo lacks a slot of its structure"},{code:"AK-X002",level:"error",rule:"The matrix's rules leave no combination to make, or rule out a combo matrix.combos names"},{code:"AK-X004",level:"error",rule:"Two chosen combos are the same, or more alike than the matrix's differ allows"},{code:"AK-X006",level:"error",rule:"A combo is longer than its output's maxDuration"},{code:"AK-L002",level:"warn",rule:"Text overflows the frame or is clipped"},{code:"AK-L006",level:"warn",rule:"Text is drawn in a fallback font, or in a bold or italic the font does not have"}];const r=new Map(CORE_RULES.map(e=>[e.code,{extension:CORE,...e}]));export function declareRules(e,t){const s=[];for(const o of t){const l=r.get(o.code);if(l&&l.extension!==e){s.push(`${o.code} is ${l.extension===CORE?"the core's":`${l.extension}'s`} rule already.`);continue}r.set(o.code,{extension:e,code:o.code,level:o.level,rule:o.rule})}return s}export function declareAll(e){return e.flatMap(t=>declareRules(t.extension,[t]))}export const ruleOf=e=>r.get(e),isRule=e=>r.has(e),declaredRules=()=>[...r.values()];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allyhub/diagnostics",
|
|
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
|
+
"sideEffects": false,
|
|
12
|
+
"private": true,
|
|
13
|
+
"license": "SEE LICENSE IN LICENSE.md"
|
|
14
|
+
}
|