@allyhub/sdk 0.3.0 → 0.5.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/dist/free.d.ts +2 -2
- package/dist/index.d.ts +2 -9
- package/dist/index.js +1 -1
- package/dist/module.d.ts +2 -3
- package/dist/module.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +195 -0
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
- package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +22 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +4908 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1497 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +22 -1
- package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/note-shape.d.ts +39 -0
- package/dist/node_modules/@allyhub-next/formats/dist/note-shape.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2146 -0
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +37 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/app.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -17
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -4
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +17 -24
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +165 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/runtimes.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +43 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +5 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +2 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +65 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +4 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/unpack.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +5 -1
- package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package-lock.json +67 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package.json +9 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +753 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package.json +14 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +950 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package.json +8 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +227 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +8 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +105 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +8 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +128 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +9 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +5 -24
- package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
- package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub-next/sheet/LICENSE +241 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +323 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +42 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +44 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +117 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
- package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
- package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +129 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +649 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.d.ts +18 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +165 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +11 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/check.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +146 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +109 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +4 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +21 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +34 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +275 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +58 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/path.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +181 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +43 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +3 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +63 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +72 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +35 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/package.json +14 -0
- package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +6 -5
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +180 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +6 -41
- package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +93 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +8 -9
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +10 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/render-types.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -2
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +4 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +8 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/script.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +34 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
- package/dist/parts.d.ts +2 -2
- package/dist/phone.js +1 -1
- package/dist/piece.d.ts +7 -32
- package/dist/piece.js +1 -1
- package/dist/props.d.ts +53 -10
- package/dist/sheets.d.ts +2 -0
- package/dist/sheets.js +2 -0
- package/dist/slides.d.ts +8 -0
- package/dist/slides.js +2 -0
- package/docs/README.md +3 -3
- package/docs/batches.md +2 -2
- package/docs/defaults.md +107 -3
- package/docs/docs.md +1 -1
- package/docs/project.md +6 -6
- package/docs/scenery.md +1 -1
- package/docs/sheets.md +377 -84
- package/docs/slides.md +182 -80
- package/docs/speech.md +1 -1
- package/package.json +17 -18
- package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
- package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -301
- package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -101
- package/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/runtimes.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
- package/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
- package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
- package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
- package/node_modules/@allyhub-next/runtimes/dist/unpack.js +0 -2
- package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
- package/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +0 -37
- package/node_modules/@allyhub-next/video-core/dist/slides.js +0 -2
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
- /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
- /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
- /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
- /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
- /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
- /package/{node_modules/@allyhub-next/video-core/dist/render-types.js → dist/node_modules/@allyhub-next/slides-core/dist/model.js} +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
AllyHub Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AllyHub, Inc. ("AllyHub"). All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software (the AllyHub command-line tool, its SDK, runtime and the
|
|
6
|
+
packages they depend on) is proprietary. It is not open source.
|
|
7
|
+
|
|
8
|
+
1. Permitted use. You may install and run the software, unmodified, to make,
|
|
9
|
+
check, preview and render videos and decks, including for commercial
|
|
10
|
+
purposes. What you make with it is yours.
|
|
11
|
+
|
|
12
|
+
2. Restrictions. Except as this license permits or applicable law requires,
|
|
13
|
+
you may not copy, modify, adapt, translate, sublicense, sell, rent, lease,
|
|
14
|
+
publish or otherwise distribute the software, create derivative works of
|
|
15
|
+
it, or reverse engineer, decompile or disassemble it.
|
|
16
|
+
|
|
17
|
+
3. Cloud services. AllyHub's cloud tools (sign-in, research, images, voice,
|
|
18
|
+
video) are separate services governed by AllyHub's terms of service.
|
|
19
|
+
|
|
20
|
+
4. Trademarks. This license grants no right to use the name "AllyHub" or its
|
|
21
|
+
logos.
|
|
22
|
+
|
|
23
|
+
5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
24
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
26
|
+
ALLYHUB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
|
|
28
|
+
|
|
29
|
+
6. Third-party code. Parts of the software are adapted from HyperFrames,
|
|
30
|
+
licensed under the Apache License, Version 2.0 (see NOTICE). Those parts
|
|
31
|
+
remain under that license, reproduced below, and nothing in this license
|
|
32
|
+
limits your rights under it.
|
|
33
|
+
|
|
34
|
+
7. Starter components. The starter components in the "components" folder,
|
|
35
|
+
which "allyhub add" copies into your workspace, are licensed under the MIT
|
|
36
|
+
License (see components/LICENSE): once copied, you may change, use and
|
|
37
|
+
share them freely.
|
|
38
|
+
|
|
39
|
+
--------------------------------------------------------------------------------
|
|
40
|
+
|
|
41
|
+
Apache License
|
|
42
|
+
Version 2.0, January 2004
|
|
43
|
+
http://www.apache.org/licenses/
|
|
44
|
+
|
|
45
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
46
|
+
|
|
47
|
+
1. Definitions.
|
|
48
|
+
|
|
49
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
50
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
51
|
+
|
|
52
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
53
|
+
the copyright owner that is granting the License.
|
|
54
|
+
|
|
55
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
56
|
+
other entities that control, are controlled by, or are under common
|
|
57
|
+
control with that entity. For the purposes of this definition,
|
|
58
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
59
|
+
direction or management of such entity, whether by contract or
|
|
60
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
61
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
62
|
+
|
|
63
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
64
|
+
exercising permissions granted by this License.
|
|
65
|
+
|
|
66
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
67
|
+
including but not limited to software source code, documentation
|
|
68
|
+
source, and configuration files.
|
|
69
|
+
|
|
70
|
+
"Object" form shall mean any form resulting from mechanical
|
|
71
|
+
transformation or translation of a Source form, including but
|
|
72
|
+
not limited to compiled object code, generated documentation,
|
|
73
|
+
and conversions to other media types.
|
|
74
|
+
|
|
75
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
76
|
+
Object form, made available under the License, as indicated by a
|
|
77
|
+
copyright notice that is included in or attached to the work
|
|
78
|
+
(an example is provided in the Appendix below).
|
|
79
|
+
|
|
80
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
81
|
+
form, that is based on (or derived from) the Work and for which the
|
|
82
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
83
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
84
|
+
of this License, Derivative Works shall not include works that remain
|
|
85
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
86
|
+
the Work and Derivative Works thereof.
|
|
87
|
+
|
|
88
|
+
"Contribution" shall mean any work of authorship, including
|
|
89
|
+
the original version of the Work and any modifications or additions
|
|
90
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
91
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
92
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
93
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
94
|
+
means any form of electronic, verbal, or written communication sent
|
|
95
|
+
to the Licensor or its representatives, including but not limited to
|
|
96
|
+
communication on electronic mailing lists, source code control systems,
|
|
97
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
98
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
99
|
+
excluding communication that is conspicuously marked or otherwise
|
|
100
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
101
|
+
|
|
102
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
103
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
104
|
+
subsequently incorporated within the Work.
|
|
105
|
+
|
|
106
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
107
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
108
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
109
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
110
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
111
|
+
Work and such Derivative Works in Source or Object form.
|
|
112
|
+
|
|
113
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
114
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
115
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
116
|
+
(except as stated in this section) patent license to make, have made,
|
|
117
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
118
|
+
where such license applies only to those patent claims licensable
|
|
119
|
+
by such Contributor that are necessarily infringed by their
|
|
120
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
121
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
122
|
+
institute patent litigation against any entity (including a
|
|
123
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
124
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
125
|
+
or contributory patent infringement, then any patent licenses
|
|
126
|
+
granted to You under this License for that Work shall terminate
|
|
127
|
+
as of the date such litigation is filed.
|
|
128
|
+
|
|
129
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
130
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
131
|
+
modifications, and in Source or Object form, provided that You
|
|
132
|
+
meet the following conditions:
|
|
133
|
+
|
|
134
|
+
(a) You must give any other recipients of the Work or
|
|
135
|
+
Derivative Works a copy of this License; and
|
|
136
|
+
|
|
137
|
+
(b) You must cause any modified files to carry prominent notices
|
|
138
|
+
stating that You changed the files; and
|
|
139
|
+
|
|
140
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
141
|
+
that You distribute, all copyright, patent, trademark, and
|
|
142
|
+
attribution notices from the Source form of the Work,
|
|
143
|
+
excluding those notices that do not pertain to any part of
|
|
144
|
+
the Derivative Works; and
|
|
145
|
+
|
|
146
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
147
|
+
distribution, then any Derivative Works that You distribute must
|
|
148
|
+
include a readable copy of the attribution notices contained
|
|
149
|
+
within such NOTICE file, excluding those notices that do not
|
|
150
|
+
pertain to any part of the Derivative Works, in at least one
|
|
151
|
+
of the following places: within a NOTICE text file distributed
|
|
152
|
+
as part of the Derivative Works; within the Source form or
|
|
153
|
+
documentation, if provided along with the Derivative Works; or,
|
|
154
|
+
within a display generated by the Derivative Works, if and
|
|
155
|
+
wherever such third-party notices normally appear. The contents
|
|
156
|
+
of the NOTICE file are for informational purposes only and
|
|
157
|
+
do not modify the License. You may add Your own attribution
|
|
158
|
+
notices within Derivative Works that You distribute, alongside
|
|
159
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
160
|
+
that such additional attribution notices cannot be construed
|
|
161
|
+
as modifying the License.
|
|
162
|
+
|
|
163
|
+
You may add Your own copyright statement to Your modifications and
|
|
164
|
+
may provide additional or different license terms and conditions
|
|
165
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
166
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
167
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
168
|
+
the conditions stated in this License.
|
|
169
|
+
|
|
170
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
171
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
172
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
173
|
+
this License, without any additional terms or conditions.
|
|
174
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
175
|
+
the terms of any separate license agreement you may have executed
|
|
176
|
+
with Licensor regarding such Contributions.
|
|
177
|
+
|
|
178
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
179
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
180
|
+
except as required for reasonable and customary use in describing the
|
|
181
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
182
|
+
|
|
183
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
184
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
185
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
186
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
187
|
+
implied, including, without limitation, any warranties or conditions
|
|
188
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
189
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
190
|
+
appropriateness of using or redistributing the Work and assume any
|
|
191
|
+
risks associated with Your exercise of permissions under this License.
|
|
192
|
+
|
|
193
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
194
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
195
|
+
unless required by applicable law (such as deliberate and grossly
|
|
196
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
197
|
+
liable to You for damages, including any direct, indirect, special,
|
|
198
|
+
incidental, or consequential damages of any character arising as a
|
|
199
|
+
result of this License or out of the use or inability to use the
|
|
200
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
201
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
202
|
+
other commercial damages or losses), even if such Contributor
|
|
203
|
+
has been advised of the possibility of such damages.
|
|
204
|
+
|
|
205
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
206
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
207
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
208
|
+
or other liability obligations and/or rights consistent with this
|
|
209
|
+
License. However, in accepting such obligations, You may act only
|
|
210
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
211
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
212
|
+
defend, and hold each Contributor harmless for any liability
|
|
213
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
214
|
+
of your accepting any such warranty or additional liability.
|
|
215
|
+
|
|
216
|
+
END OF TERMS AND CONDITIONS
|
|
217
|
+
|
|
218
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
219
|
+
|
|
220
|
+
To apply the Apache License to your work, attach the following
|
|
221
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
222
|
+
replaced with your own identifying information. (Don't include
|
|
223
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
224
|
+
comment syntax for the file format. We also recommend that a
|
|
225
|
+
file or class name and description of purpose be included on the
|
|
226
|
+
same "printed page" as the copyright notice for easier
|
|
227
|
+
identification within third-party archives.
|
|
228
|
+
|
|
229
|
+
Copyright [yyyy] [name of copyright owner]
|
|
230
|
+
|
|
231
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
232
|
+
you may not use this file except in compliance with the License.
|
|
233
|
+
You may obtain a copy of the License at
|
|
234
|
+
|
|
235
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
236
|
+
|
|
237
|
+
Unless required by applicable law or agreed to in writing, software
|
|
238
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
239
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
240
|
+
See the License for the specific language governing permissions and
|
|
241
|
+
limitations under the License.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Excel's grid. */
|
|
2
|
+
export declare const MAX_ROWS = 1048576;
|
|
3
|
+
export declare const MAX_COLUMNS = 16384;
|
|
4
|
+
/** A place, from 0. */
|
|
5
|
+
export interface Place {
|
|
6
|
+
row: number;
|
|
7
|
+
col: number;
|
|
8
|
+
}
|
|
9
|
+
/** A rectangle, ends included, from 0. */
|
|
10
|
+
export interface Area {
|
|
11
|
+
top: number;
|
|
12
|
+
left: number;
|
|
13
|
+
bottom: number;
|
|
14
|
+
right: number;
|
|
15
|
+
}
|
|
16
|
+
/** A column's letters: 0 is A, 26 is AA. */
|
|
17
|
+
export declare function columnLetter(col: number): string;
|
|
18
|
+
/** A column's index from its letters, in either case; undefined when it is not a column of the grid. */
|
|
19
|
+
export declare function columnIndex(letters: string): number | undefined;
|
|
20
|
+
/** A1: a place's name. */
|
|
21
|
+
export declare const cellName: (p: Place) => string;
|
|
22
|
+
/** A1:B2, or A1 for one cell. */
|
|
23
|
+
export declare function rangeName(a: Area): string;
|
|
24
|
+
/** The place an address names, `$` allowed; undefined when it is not one. */
|
|
25
|
+
export declare function readAddress(text: string): Place | undefined;
|
|
26
|
+
/** The area `A1:B2` or `A1` names, whichever way round; undefined when it is neither. */
|
|
27
|
+
export declare function readArea(text: string): Area | undefined;
|
|
28
|
+
/** Ranges apart by spaces, as Excel's `sqref`; undefined when any of them is not a range. */
|
|
29
|
+
export declare function readAreas(text: string): Area[] | undefined;
|
|
30
|
+
export declare const contains: (a: Area, row: number, col: number) => boolean;
|
|
31
|
+
export declare const overlaps: (a: Area, b: Area) => boolean;
|
|
32
|
+
//# sourceMappingURL=address.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 MAX_ROWS=1048576,MAX_COLUMNS=16384;export function columnLetter(t){let o="";for(let e=t+1;e>0;e=Math.floor((e-1)/26))o=String.fromCharCode(65+(e-1)%26)+o;return o}export function columnIndex(t){if(!/^[A-Za-z]{1,3}$/u.test(t))return;let o=0;for(const e of t.toUpperCase())o=o*26+e.charCodeAt(0)-64;return o<=16384?o-1:void 0}export const cellName=t=>`${columnLetter(t.col)}${String(t.row+1)}`;export function rangeName(t){const o=cellName({row:t.top,col:t.left});return t.top===t.bottom&&t.left===t.right?o:`${o}:${cellName({row:t.bottom,col:t.right})}`}export function readAddress(t){const o=/^\$?([A-Za-z]{1,3})\$?([1-9]\d*)$/u.exec(t.trim());if(!o)return;const e=columnIndex(o[1]??""),n=Number(o[2])-1;return e===void 0||n>=1048576?void 0:{row:n,col:e}}export function readArea(t){const[o="",e,n]=t.split(":");if(n!==void 0)return;const r=readAddress(o),i=e===void 0?r:readAddress(e);if(!(!r||!i))return{top:Math.min(r.row,i.row),left:Math.min(r.col,i.col),bottom:Math.max(r.row,i.row),right:Math.max(r.col,i.col)}}export function readAreas(t){const o=[];for(const e of t.trim().split(/\s+/u)){const n=readArea(e);if(!n)return;o.push(n)}return o}export const contains=(t,o,e)=>o>=t.top&&o<=t.bottom&&e>=t.left&&e<=t.right,overlaps=(t,o)=>t.top<=o.bottom&&o.top<=t.bottom&&t.left<=o.right&&o.left<=t.right;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface Capabilities {
|
|
2
|
+
reference: {
|
|
3
|
+
library: string;
|
|
4
|
+
version: string;
|
|
5
|
+
docs: string;
|
|
6
|
+
};
|
|
7
|
+
/** openpyxl's classes, each with the names of it the API holds. */
|
|
8
|
+
holds: Record<string, string[]>;
|
|
9
|
+
/** openpyxl's helpers the API holds. */
|
|
10
|
+
functions: string[];
|
|
11
|
+
/** Where a held name behaves differently from openpyxl's. */
|
|
12
|
+
differs: string[];
|
|
13
|
+
/** What the API adds, by class and name, and what each is. */
|
|
14
|
+
adds: Record<string, Record<string, string>>;
|
|
15
|
+
/** The worksheet functions, by where each comes from. */
|
|
16
|
+
formulas: {
|
|
17
|
+
own: string[];
|
|
18
|
+
formulajs: string[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare const HELPERS: string[];
|
|
22
|
+
export declare const CAPABILITIES: Capabilities;
|
|
23
|
+
//# sourceMappingURL=capabilities.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{publicNames as n}from"@allyhub-next/formats";import{FUNCTIONS as h}from"../calc/functions/index.js";import{AreaChart as d,BarChart as p,DataLabelList as m,DoughnutChart as c,GraphicalProperties as w,Legend as f,LineChart as u,LineProperties as y,Marker as b,NumericAxis as g,PieChart as k,Reference as _,ScatterChart as x,Scaling as C,Series as A,TextAxis as v}from"./charts.js";import{AutoFilter as S,ConditionalFormattingList as D,DataValidation as L,DataValidationList as R,DifferentialStyle as T,Rule as F}from"./rules.js";import{Alignment as N,Border as P,Color as E,Font as V,PatternFill as B,Side as I}from"./styles.js";import{Cell as j,ColumnDimension as W,DefinedName as G,DefinedNameDict as M,RowDimension as O,Table as z,TableList as H,Workbook as U,Worksheet as q}from"./workbook.js";const a={Series:{title:"A series' name in words, openpyxl's SeriesFactory argument, kept here as a field."},Workbook:{open:"Workbook.open(dir): a workbook's folder read (load_workbook(dir) is the same).",block_cells:"How many typed cells together go in a CSV file of their own: 100 unless set.",title:"The workbook's title, sheet.yaml's.",check:"wb.check(): what allyhub check would say of the workbook as it stands: a list of { file, line, message }."},Cell:{computed:"What the cell computes to, the workbook as it stands, saved or not."},Table:{key:"The column that lines rows up when two hands' changes merge."},DataValidation:{multiple:"A list's cell may hold several of its values, joined by separator: an .xlsx keeps them as text.",separator:"What joins a cell's choices: a comma and a space unless set."},ColumnDimension:{files:"Its cells name files, from the sheet's folder: true, or { separator, height }."}},X=["add_data","set_categories","append","title","legend","width","height","style","anchor","series","dataLabels","x_axis","y_axis"],J={BarChart:["type","grouping","overlap","gapWidth","varyColors"],LineChart:["grouping"],AreaChart:["grouping"],PieChart:["varyColors"],DoughnutChart:["holeSize"],ScatterChart:[]},K={Workbook:U.prototype,Worksheet:q.prototype,Cell:j.prototype,Font:V.prototype,PatternFill:B.prototype,Border:P.prototype,Side:I.prototype,Alignment:N.prototype,Color:E.prototype,Table:z.prototype,TableList:H.prototype,DefinedName:G.prototype,DefinedNameDict:M.prototype,ColumnDimension:W.prototype,RowDimension:O.prototype,ConditionalFormattingList:D.prototype,Rule:F.prototype,DifferentialStyle:T.prototype,DataValidation:L.prototype,DataValidationList:R.prototype,AutoFilter:S.prototype,BarChart:p.prototype,LineChart:u.prototype,AreaChart:d.prototype,PieChart:k.prototype,DoughnutChart:c.prototype,ScatterChart:x.prototype,Reference:_.prototype,Series:A.prototype,Legend:f.prototype,Scaling:C.prototype,TextAxis:v.prototype,NumericAxis:g.prototype,DataLabelList:m.prototype,Marker:b.prototype,GraphicalProperties:w.prototype,LineProperties:y.prototype},r=["title","scaling","majorUnit","number_format","delete","majorGridlines"],Q={Workbook:["worksheets","defined_names","data_only","path","title","block_cells"],Cell:["row","column"],Worksheet:["min_row","min_column"],Font:["name","size","bold","italic","underline","strike","color"],PatternFill:["fill_type","fgColor","bgColor"],Border:["left","right","top","bottom"],Side:["style","color"],Alignment:["horizontal","vertical","wrap_text","shrink_to_fit","indent","text_rotation"],Color:["rgb"],Table:["displayName","ref","key","autoFilter"],DefinedName:["name","attr_text"],ColumnDimension:["index"],RowDimension:["index"],Rule:["type","operator","formula","stopIfTrue","rank","percent","bottom","aboveAverage","equalAverage","text","dxf"],DifferentialStyle:["font","fill","border"],DataValidation:["type","formula1","formula2","operator","allow_blank","showDropDown","showErrorMessage","showInputMessage","errorStyle","errorTitle","error","promptTitle","prompt","sqref"],DataValidationList:["dataValidation"],AutoFilter:["ref"],...Object.fromEntries(Object.entries(J).map(([e,t])=>[e,[...X.filter(o=>!(/^(?:Pie|Doughnut)/u.test(e)&&o.endsWith("_axis"))),...t]])),Reference:["worksheet","min_col","min_row","max_col","max_row"],Series:["val","xVal","title","smooth","marker","graphicalProperties"],Legend:["position"],Scaling:["min","max","orientation"],TextAxis:r.filter(e=>e!=="majorUnit"),NumericAxis:r,DataLabelList:["showVal","showPercent","showCatName","showSerName","dLblPos"],Marker:["symbol","size"],GraphicalProperties:["solidFill","noFill","line"],LineProperties:["width","solidFill","noFill"]};export const HELPERS=["CellIsRule","ColorScaleRule","DataBarRule","FormulaRule","IconSetRule","column_index_from_string","coordinate_to_tuple","get_column_letter","range_boundaries"];const Y=()=>{const e={};for(const[t,o]of Object.entries(K)){const i=a[t]??{};e[t]=[...n(o),...Q[t]??[]].filter(l=>!Object.hasOwn(i,l)).sort()}return e},s=e=>[...h.values()].filter(t=>t.from===e).map(t=>t.name).sort();export const CAPABILITIES={reference:{library:"openpyxl",version:"3.1.5",docs:"https://openpyxl.readthedocs.io/"},holds:Y(),functions:HELPERS,differs:["A workbook is a folder, not a file: load_workbook(dir) reads sheet.yaml and its CSV files, wb.save(dir) writes them, and only what changed is written. .xlsx is not read or written yet.","A keyword argument of openpyxl's is a field of an object: new Font({ bold: true }), new Table({ displayName, ref }), new DefinedName(name, { attr_text }). Classes are made with new.","A name openpyxl has that is not held throws where it is used, naming what the class holds. ws['A1'], ws['A1:B2'], ws['A'], ws[1], wb['Sheet'], ws.tables['t'], wb.defined_names['n'], ws.column_dimensions['A'] and ws.row_dimensions[1] are held; in TypeScript ws['A1'] is typed as a Cell, so write ws['A1'].value = v (ws['A1'] = v works at run time), and wb.get_sheet_by_name(name) is typed where wb[name] is not.","Rows and columns count from 1, as openpyxl's. iter_rows, rows, columns and values give arrays, not generators.","A colour is #RRGGBB; RRGGBB and AARRGGBB are taken, the alpha left out. Theme colours are not held.","cell.value of a date is a Date (read in UTC), a formula's its text, and with load_workbook(dir, { data_only: true }) what it computes to, which openpyxl reads from a file's cache and this computes.","column_dimensions' width is Excel's unit and row_dimensions' height points, as openpyxl's; the file holds pixels.","ws.merged_cells is an array of each merged range's text.","A table's rows are its CSV file, so ws.add_table(new Table({ displayName, ref })) moves the cells of ref there; its header row names its columns. A column whose every row has one formula, moved, is written as a calculated column.","A run of cells with one formula, moved, is written as one range key, and at least wb.block_cells typed cells together in a CSV file of their own (a block).","ws.title = 'New' renames the sheet in every formula, which openpyxl leaves to you.","ws.insert_rows, delete_rows, insert_cols and delete_cols rewrite every formula of the workbook as Excel does (a reference moves, a range grows or shrinks, one to what went is #REF!), move tables, blocks, merges and looks, and take rows and columns in or out of a table's CSV file. openpyxl moves cells and leaves formulas as they were. A table's header row is not deleted unless all of the table is.","A string that reads as another value (=, 12%, 2026-01-01) stays text, as openpyxl's does: its cell is written with a leading ' unless it starts with =, which makes it a formula.","A DataValidation refuses what breaks it and shows its prompt unless showErrorMessage or showInputMessage is false, as Excel's dialog starts: openpyxl's leave both off. A list's cell keeps its blank unless allow_blank is false.","ws.auto_filter.ref and add_filter_column say what a filter keeps, and the rows it leaves out are worked out from that, never written: a file made by openpyxl hides nothing until Excel reapplies it. A table has its own, table.autoFilter. add_sort_condition is not held: sorting is the rows of the files in order.","A chart reads its cells live, whatever else is in the file: there is no cache to refresh. chart.add_data and set_categories, and Series, take a Reference or a formula's text for a table's column or a spill, as add_data('orders[total]', { title: 'Total' }) or set_categories('orders[month]'), since a Reference cannot name one.","Series is made with new Series(values, { xvalues, title, title_from_data }); openpyxl's is the SeriesFactory function.","A chart's width and height are centimetres, as openpyxl's; the file holds pixels, and anchor a cell: ws.add_chart(chart, 'E2').","A LineChart's grouping is standard; a stacked area is an AreaChart. Chart styles are kept but draw nothing, as sheet.yaml has no place for them: chart.style is only read.","ws._charts lists a sheet's charts, those read from sheet.yaml among them, as the classes above.","In a rule, a fill's bgColor paints, or its fgColor where it has none. A rule's font holds bold, italic, underline, strike and a colour; alignment and number formats in a rule are not held.","workbook((wb, { data }) => { … }), the default export of an item's sheet.ts, makes sheets with these classes, on a workbook of its own that starts with none. They are made again from the code wherever the workbook is read, never saved: wb.save throws there."],adds:a,formulas:{own:s("allyhub"),formulajs:s("formulajs")}};
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { type SheetChart, type SheetChartAxis, type SheetChartType } from "@allyhub-next/formats";
|
|
2
|
+
/** What a worksheet is to a reference. */
|
|
3
|
+
interface HasTitle {
|
|
4
|
+
title: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ReferenceOptions {
|
|
7
|
+
min_col?: number;
|
|
8
|
+
min_row?: number;
|
|
9
|
+
max_col?: number;
|
|
10
|
+
max_row?: number;
|
|
11
|
+
/** A range, Sheet!A1:B2 or A1:B2. */
|
|
12
|
+
range_string?: string;
|
|
13
|
+
}
|
|
14
|
+
/** A range of a worksheet, from 1 as openpyxl's. */
|
|
15
|
+
export declare class Reference {
|
|
16
|
+
worksheet: HasTitle | undefined;
|
|
17
|
+
min_col: number;
|
|
18
|
+
min_row: number;
|
|
19
|
+
max_col: number;
|
|
20
|
+
max_row: number;
|
|
21
|
+
constructor(worksheet: HasTitle | undefined, o: ReferenceOptions);
|
|
22
|
+
/** Its text, from a sheet: short on its own. */
|
|
23
|
+
_text(own?: string): string;
|
|
24
|
+
/** Its columns, each a Reference. */
|
|
25
|
+
cols(): Reference[];
|
|
26
|
+
/** Its rows, each a Reference. */
|
|
27
|
+
rows(): Reference[];
|
|
28
|
+
pop(): Reference;
|
|
29
|
+
}
|
|
30
|
+
/** Where a chart's numbers are: a Reference, or a formula's text such as orders[total]. */
|
|
31
|
+
export type ChartData = Reference | string;
|
|
32
|
+
/** A line's look (`a:ln`). */
|
|
33
|
+
export declare class LineProperties {
|
|
34
|
+
/** In EMU, 12,700 to the point, as openpyxl's. */
|
|
35
|
+
width: number | undefined;
|
|
36
|
+
solidFill: string | undefined;
|
|
37
|
+
noFill: boolean | undefined;
|
|
38
|
+
constructor();
|
|
39
|
+
}
|
|
40
|
+
/** A series' look (`c:spPr`). */
|
|
41
|
+
export declare class GraphicalProperties {
|
|
42
|
+
solidFill: string | undefined;
|
|
43
|
+
noFill: boolean | undefined;
|
|
44
|
+
line: LineProperties;
|
|
45
|
+
constructor();
|
|
46
|
+
}
|
|
47
|
+
/** A line's points. */
|
|
48
|
+
export declare class Marker {
|
|
49
|
+
symbol: string | undefined;
|
|
50
|
+
size: number | undefined;
|
|
51
|
+
constructor(o?: {
|
|
52
|
+
symbol?: string;
|
|
53
|
+
size?: number;
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
export interface SeriesOptions {
|
|
57
|
+
xvalues?: ChartData;
|
|
58
|
+
title?: string;
|
|
59
|
+
/** Its values' first cell is its name. */
|
|
60
|
+
title_from_data?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export declare class Series {
|
|
63
|
+
val: ChartData;
|
|
64
|
+
xVal: ChartData | undefined;
|
|
65
|
+
/** Its name in words. */
|
|
66
|
+
title: string | undefined;
|
|
67
|
+
/** The cell that names it. */
|
|
68
|
+
_titleRef: ChartData | undefined;
|
|
69
|
+
smooth: boolean | undefined;
|
|
70
|
+
marker: Marker;
|
|
71
|
+
graphicalProperties: GraphicalProperties;
|
|
72
|
+
/** Its number format. */
|
|
73
|
+
_format: string | undefined;
|
|
74
|
+
constructor(values: ChartData, o?: SeriesOptions);
|
|
75
|
+
}
|
|
76
|
+
export declare class Legend {
|
|
77
|
+
/** r, l, t or b, as openpyxl's. */
|
|
78
|
+
position: string;
|
|
79
|
+
constructor();
|
|
80
|
+
}
|
|
81
|
+
export declare class Scaling {
|
|
82
|
+
min: number | undefined;
|
|
83
|
+
max: number | undefined;
|
|
84
|
+
/** minMax or maxMin. */
|
|
85
|
+
orientation: string;
|
|
86
|
+
constructor();
|
|
87
|
+
}
|
|
88
|
+
declare class Axis {
|
|
89
|
+
title: string | undefined;
|
|
90
|
+
scaling: Scaling;
|
|
91
|
+
majorUnit: number | undefined;
|
|
92
|
+
number_format: string | undefined;
|
|
93
|
+
delete: boolean | undefined;
|
|
94
|
+
/** null leaves its gridlines out. */
|
|
95
|
+
majorGridlines: object | null | undefined;
|
|
96
|
+
_spec(): SheetChartAxis | undefined;
|
|
97
|
+
_hold(a: SheetChartAxis | undefined): void;
|
|
98
|
+
}
|
|
99
|
+
export declare class TextAxis extends Axis {
|
|
100
|
+
constructor();
|
|
101
|
+
}
|
|
102
|
+
export declare class NumericAxis extends Axis {
|
|
103
|
+
constructor();
|
|
104
|
+
}
|
|
105
|
+
export declare class DataLabelList {
|
|
106
|
+
showVal: boolean | undefined;
|
|
107
|
+
showPercent: boolean | undefined;
|
|
108
|
+
showCatName: boolean | undefined;
|
|
109
|
+
showSerName: boolean | undefined;
|
|
110
|
+
/** Excel's dLblPos: outEnd, inEnd, ctr, inBase, t, b, l, r, bestFit. */
|
|
111
|
+
dLblPos: string | undefined;
|
|
112
|
+
constructor();
|
|
113
|
+
}
|
|
114
|
+
/** What openpyxl's chart classes share. */
|
|
115
|
+
export declare abstract class ChartBase {
|
|
116
|
+
title: string | undefined;
|
|
117
|
+
/** null: no legend, as openpyxl's None. */
|
|
118
|
+
legend: Legend | null;
|
|
119
|
+
/** Centimetres, as openpyxl's. */
|
|
120
|
+
width: number;
|
|
121
|
+
height: number;
|
|
122
|
+
/** Excel's chart style; kept for openpyxl's sake, drawn by none. */
|
|
123
|
+
style: number | undefined;
|
|
124
|
+
anchor: string | undefined;
|
|
125
|
+
series: Series[];
|
|
126
|
+
dataLabels: DataLabelList | undefined;
|
|
127
|
+
x_axis: Axis;
|
|
128
|
+
y_axis: Axis;
|
|
129
|
+
/** Its categories. */
|
|
130
|
+
_labels: ChartData | undefined;
|
|
131
|
+
/** What of its entry in sheet.yaml nothing here says. */
|
|
132
|
+
_held: Partial<SheetChart>;
|
|
133
|
+
/** Its entry says no size of its own: it stays so while it keeps the one it had. */
|
|
134
|
+
_plainSize: {
|
|
135
|
+
width: number;
|
|
136
|
+
height: number;
|
|
137
|
+
} | undefined;
|
|
138
|
+
abstract _type(): SheetChartType;
|
|
139
|
+
/** Each column, or row, of a range as a series. */
|
|
140
|
+
add_data(data: ChartData, o?: {
|
|
141
|
+
titles_from_data?: boolean;
|
|
142
|
+
from_rows?: boolean;
|
|
143
|
+
title?: string;
|
|
144
|
+
}): void;
|
|
145
|
+
/** Names the categories of every series. */
|
|
146
|
+
set_categories(labels: ChartData): void;
|
|
147
|
+
append(series: Series): void;
|
|
148
|
+
/** Its entry in sheet.yaml, on a sheet. */
|
|
149
|
+
_spec(own: string): SheetChart;
|
|
150
|
+
}
|
|
151
|
+
export interface BarChartOptions {
|
|
152
|
+
/** col or bar. */
|
|
153
|
+
type?: "col" | "bar";
|
|
154
|
+
grouping?: "clustered" | "stacked" | "percentStacked";
|
|
155
|
+
}
|
|
156
|
+
export declare class BarChart extends ChartBase {
|
|
157
|
+
/** col for columns, bar for bars. */
|
|
158
|
+
type: "col" | "bar";
|
|
159
|
+
grouping: "clustered" | "stacked" | "percentStacked";
|
|
160
|
+
overlap: number | undefined;
|
|
161
|
+
gapWidth: number | undefined;
|
|
162
|
+
varyColors: boolean | undefined;
|
|
163
|
+
constructor(o?: BarChartOptions);
|
|
164
|
+
_type(): SheetChartType;
|
|
165
|
+
_spec(own: string): SheetChart;
|
|
166
|
+
}
|
|
167
|
+
export declare class LineChart extends ChartBase {
|
|
168
|
+
/** standard: a line chart has no other here. */
|
|
169
|
+
grouping: string;
|
|
170
|
+
constructor();
|
|
171
|
+
_type(): SheetChartType;
|
|
172
|
+
}
|
|
173
|
+
export declare class AreaChart extends ChartBase {
|
|
174
|
+
grouping: "standard" | "stacked" | "percentStacked";
|
|
175
|
+
constructor(o?: {
|
|
176
|
+
grouping?: AreaChart["grouping"];
|
|
177
|
+
});
|
|
178
|
+
_type(): SheetChartType;
|
|
179
|
+
}
|
|
180
|
+
export declare class PieChart extends ChartBase {
|
|
181
|
+
varyColors: boolean;
|
|
182
|
+
constructor();
|
|
183
|
+
_type(): SheetChartType;
|
|
184
|
+
_spec(own: string): SheetChart;
|
|
185
|
+
}
|
|
186
|
+
export declare class DoughnutChart extends ChartBase {
|
|
187
|
+
holeSize: number;
|
|
188
|
+
constructor();
|
|
189
|
+
_type(): SheetChartType;
|
|
190
|
+
_spec(own: string): SheetChart;
|
|
191
|
+
}
|
|
192
|
+
export declare class ScatterChart extends ChartBase {
|
|
193
|
+
x_axis: Axis;
|
|
194
|
+
constructor();
|
|
195
|
+
_type(): SheetChartType;
|
|
196
|
+
/** A smooth scatter's type says so of its series. */
|
|
197
|
+
_spec(own: string): SheetChart;
|
|
198
|
+
}
|
|
199
|
+
/** The entry sheet.yaml holds, as the class a script works with. */
|
|
200
|
+
export declare function chartOfSpec(spec: SheetChart): ChartBase;
|
|
201
|
+
/** A place a chart goes: a cell, as add_chart takes it. */
|
|
202
|
+
export declare function anchorOf(anchor: string | undefined): string | undefined;
|
|
203
|
+
export {};
|
|
204
|
+
//# sourceMappingURL=charts.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{strict as a}from"@allyhub-next/formats";import{cellName as S,rangeName as P,readAddress as L,readArea as N}from"../address.js";import{SHEET_CHART_DEFAULTS as w}from"../chart.js";import{sheetPrefix as z}from"../formula/print.js";import{HINT as o}from"./hint.js";import{colorText as E}from"./styles.js";const x=96/2.54,y=r=>Math.round(r*x),b=r=>Number((r/x).toFixed(3));function u(r,e,t){for(const s of Object.keys(e))if(!t.includes(s))throw new TypeError(`${r} takes ${t.join(", ")}; it has no ${s}. ${o}`)}export class Reference{worksheet;min_col;min_row;max_col;max_row;constructor(e,t){u("Reference",t,["min_col","min_row","max_col","max_row","range_string"]),this.worksheet=e;let s;if(t.range_string!==void 0){const c=t.range_string.lastIndexOf("!");if(s=N(t.range_string.slice(c+1).replaceAll("$","")),!s)throw new TypeError(`${t.range_string} is not a range. ${o}`)}return this.min_col=s?s.left+1:t.min_col??1,this.min_row=s?s.top+1:t.min_row??1,this.max_col=s?s.right+1:t.max_col??this.min_col,this.max_row=s?s.bottom+1:t.max_row??this.min_row,a(this,"Reference",o)}_text(e){const t={top:this.min_row-1,left:this.min_col-1,bottom:this.max_row-1,right:this.max_col-1},s=this.worksheet?.title;return`${s===void 0||s===e?"":z(s)}${P(t)}`}cols(){return Array.from({length:this.max_col-this.min_col+1},(e,t)=>new Reference(this.worksheet,{min_col:this.min_col+t,max_col:this.min_col+t,min_row:this.min_row,max_row:this.max_row}))}rows(){return Array.from({length:this.max_row-this.min_row+1},(e,t)=>new Reference(this.worksheet,{min_col:this.min_col,max_col:this.max_col,min_row:this.min_row+t,max_row:this.min_row+t}))}pop(){const e=new Reference(this.worksheet,{min_col:this.min_col,max_col:this.min_col,min_row:this.min_row,max_row:this.min_row});return this.min_row<this.max_row?this.min_row+=1:this.min_col+=1,e}}const g=(r,e)=>r===void 0?void 0:typeof r=="string"?r:r._text(e);export class LineProperties{width;solidFill;noFill;constructor(){return a(this,"LineProperties",o)}}export class GraphicalProperties{solidFill;noFill;line=new LineProperties;constructor(){return a(this,"GraphicalProperties",o)}}export class Marker{symbol;size;constructor(e={}){return u("Marker",e,["symbol","size"]),this.symbol=e.symbol,this.size=e.size,a(this,"Marker",o)}}export class Series{val;xVal;title;_titleRef;smooth;marker=new Marker;graphicalProperties=new GraphicalProperties;_format;constructor(e,t={}){if(u("Series",t,["xvalues","title","title_from_data"]),this.val=e,this.xVal=t.xvalues,this.title=t.title,t.title_from_data===!0){if(!(e instanceof Reference))throw new TypeError("title_from_data takes a Reference: a table's column names itself.");this._titleRef=e.pop()}return a(this,"Series",o)}}export class Legend{position="r";constructor(){return a(this,"Legend",o)}}export class Scaling{min;max;orientation="minMax";constructor(){return a(this,"Scaling",o)}}class k{title;scaling=new Scaling;majorUnit;number_format;delete;majorGridlines;_spec(){const e=this.scaling,t={...this.title===void 0?{}:{title:this.title},...e.min===void 0?{}:{min:e.min},...e.max===void 0?{}:{max:e.max},...this.majorUnit===void 0?{}:{major:this.majorUnit},...this.majorGridlines===null?{gridlines:!1}:{},...this.delete===!0?{visible:!1}:{},...this.number_format===void 0?{}:{format:this.number_format},...e.orientation==="maxMin"?{reverse:!0}:{}};return Object.keys(t).length===0?void 0:t}_hold(e){e&&(this.title=e.title,this.scaling.min=e.min,this.scaling.max=e.max,this.majorUnit=e.major,this.number_format=e.format,e.visible===!1&&(this.delete=!0),e.gridlines===!1&&(this.majorGridlines=null),e.reverse===!0&&(this.scaling.orientation="maxMin"))}}export class TextAxis extends k{constructor(){return super(),a(this,"TextAxis",o)}}export class NumericAxis extends k{constructor(){return super(),a(this,"NumericAxis",o)}}export class DataLabelList{showVal;showPercent;showCatName;showSerName;dLblPos;constructor(){return a(this,"DataLabelList",o)}}const A={r:"right",l:"left",t:"top",b:"bottom"},$={right:"r",left:"l",top:"t",bottom:"b"};export class ChartBase{title;legend=new Legend;width=15;height=7.5;style;anchor;series=[];dataLabels;x_axis=new TextAxis;y_axis=new NumericAxis;_labels;_held={};_plainSize;add_data(e,t={}){if(u("add_data",t,["titles_from_data","from_rows","title"]),typeof e=="string"){this.series.push(new Series(e,t.title===void 0?{}:{title:t.title}));return}for(const s of t.from_rows===!0?e.rows():e.cols())this.series.push(new Series(s,{title_from_data:t.titles_from_data===!0}))}set_categories(e){this._labels=e}append(e){this.series.push(e)}_spec(e){const t=this.dataLabels,s={category:this.x_axis._spec(),value:this.y_axis._spec()},c=this.series.map(l=>{const d=l.graphicalProperties,_=d.solidFill??d.line.solidFill,h=g(l._titleRef,e),f=g(l.xVal,e);return{values:g(l.val,e)??"",...f===void 0?{}:{x:f},...h!==void 0?{name:`=${h}`}:l.title===void 0?{}:{name:l.title},..._===void 0?{}:{color:E(_)},...l._format===void 0?{}:{format:l._format},...l.smooth===void 0?{}:{smooth:l.smooth},...d.line.width===void 0?{}:{line_width:d.line.width/12700},...l.marker.size===void 0?{}:{marker_size:l.marker.size}}}),m=g(this._labels,e),p=this.legend?A[this.legend.position]:void 0;return{...this._held,type:this._type(),at:this.anchor??"E15",...this.width===this._plainSize?.width?{}:{width:y(this.width)},...this.height===this._plainSize?.height?{}:{height:y(this.height)},...this.title===void 0?{}:{title:this.title},...m===void 0?{}:{categories:m},series:c,...p===void 0?{}:{legend:p},...t?{labels:{...t.showVal===void 0?{}:{value:t.showVal},...t.showPercent===void 0?{}:{percentage:t.showPercent},...t.showCatName===void 0?{}:{category:t.showCatName},...t.showSerName===void 0?{}:{series:t.showSerName},...t.dLblPos===void 0?{}:{position:t.dLblPos}}}:{},...s.value?{value_axis:s.value}:{},...s.category?{category_axis:s.category}:{}}}}export class BarChart extends ChartBase{type="col";grouping="clustered";overlap;gapWidth;varyColors;constructor(e={}){return super(),u("BarChart",e,["type","grouping"]),e.type&&(this.type=e.type),e.grouping&&(this.grouping=e.grouping),a(this,"BarChart",o)}_type(){const e=this.type==="bar"?"bar":"column";return this.grouping==="stacked"?`${e}-stacked`:this.grouping==="percentStacked"?`${e}-stacked-100`:`${e}-clustered`}_spec(e){return{...super._spec(e),...this.overlap===void 0?{}:{overlap:this.overlap},...this.gapWidth===void 0?{}:{gap_width:this.gapWidth},...this.varyColors===void 0?{}:{vary_by_categories:this.varyColors}}}}export class LineChart extends ChartBase{grouping="standard";constructor(){return super(),a(this,"LineChart",o)}_type(){if(this.grouping!=="standard")throw new TypeError(`A line chart here is standard, not ${this.grouping}: an AreaChart stacks. ${o}`);return this.series.some(e=>e.marker.symbol!==void 0&&e.marker.symbol!=="none")?"line-markers":"line"}}export class AreaChart extends ChartBase{grouping="standard";constructor(e={}){return super(),u("AreaChart",e,["grouping"]),e.grouping&&(this.grouping=e.grouping),a(this,"AreaChart",o)}_type(){return this.grouping==="stacked"?"area-stacked":this.grouping==="percentStacked"?"area-stacked-100":"area"}}export class PieChart extends ChartBase{varyColors=!0;constructor(){return super(),a(this,"PieChart",o)}_type(){return"pie"}_spec(e){return{...super._spec(e),...this.varyColors?{}:{vary_by_categories:!1}}}}export class DoughnutChart extends ChartBase{holeSize=50;constructor(){return super(),a(this,"DoughnutChart",o)}_type(){return"doughnut"}_spec(e){return{...super._spec(e),...this.holeSize===50?{}:{hole_size:this.holeSize}}}}export class ScatterChart extends ChartBase{x_axis=new NumericAxis;constructor(){return super(),a(this,"ScatterChart",o)}_type(){return this.series.some(e=>e.smooth===!0)?"scatter-smooth":this.series.every(e=>e.graphicalProperties.line.noFill===!0)?"scatter":"scatter-lines"}_spec(e){const t=super._spec(e);return t.type==="scatter-smooth"?{...t,series:t.series.map(s=>Object.fromEntries(Object.entries(s).filter(([c])=>c!=="smooth")))}:t}}const j=new Set(["type","at","width","height","title","categories","series","legend","labels","value_axis","category_axis","overlap","gap_width","vary_by_categories","hole_size"]);export function chartOfSpec(r){const t=(()=>{const i=r.type;if(i.startsWith("column")||i.startsWith("bar")){const n=new BarChart({type:i.startsWith("bar")?"bar":"col",grouping:i.endsWith("-100")?"percentStacked":i.endsWith("-stacked")?"stacked":"clustered"});return n.overlap=r.overlap,n.gapWidth=r.gap_width,n.varyColors=r.vary_by_categories,n}if(i==="line"||i==="line-markers")return new LineChart;if(i.startsWith("area"))return new AreaChart({grouping:i.endsWith("-100")?"percentStacked":i.endsWith("-stacked")?"stacked":"standard"});if(i==="pie"){const n=new PieChart;return r.vary_by_categories===!1&&(n.varyColors=!1),n}if(i==="doughnut"){const n=new DoughnutChart;return r.hole_size!==void 0&&(n.holeSize=r.hole_size),n}return new ScatterChart})(),{at:s,width:c,height:m,title:p,categories:l,series:d,legend:_,labels:h,value_axis:f,category_axis:v}=r,C=Object.fromEntries(Object.entries(r).filter(([i])=>!j.has(i)));if(t._held=C,t.anchor=s,t.width=b(c??w.width),t.height=b(m??w.height),t._plainSize={width:c===void 0?t.width:Number.NaN,height:m===void 0?t.height:Number.NaN},t.title=p,t._labels=l,_===void 0)t.legend=null;else{const i=new Legend;i.position=$[_],t.legend=i}if(h!==void 0&&h!==!1){const i=new DataLabelList;h===!0?i.showVal=!0:(i.showVal=h.value,i.showPercent=h.percentage,i.showCatName=h.category,i.showSerName=h.series,i.dLblPos=h.position),t.dataLabels=i}return t.x_axis._hold(v),t.y_axis._hold(f),t.series=d.map(i=>{const n=new Series(i.values,{...i.x===void 0?{}:{xvalues:i.x}});return i.name?.startsWith("=")===!0?n._titleRef=i.name.slice(1):n.title=i.name,i.color!==void 0&&(n.graphicalProperties.solidFill=i.color),i.line_width!==void 0&&(n.graphicalProperties.line.width=i.line_width*12700),n.smooth=r.type==="scatter-smooth"?!0:i.smooth,n.marker.size=i.marker_size,n._format=i.format,(r.type==="line-markers"||r.type==="scatter")&&(n.marker.symbol="circle"),r.type==="scatter"&&(n.graphicalProperties.line.noFill=!0),n}),t}export function anchorOf(r){if(r===void 0)return;const e=L(r);if(!e)throw new TypeError(`${r} is not a cell. ${o}`);return S(e)}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Workbook } from "./workbook.js";
|
|
2
|
+
import type { GeneratedSheets } from "../generated.js";
|
|
3
|
+
/** Marks what workbook() makes. */
|
|
4
|
+
export declare const WORKBOOK_BRAND = "__allyhubWorkbook";
|
|
5
|
+
export interface SheetCodeContext {
|
|
6
|
+
/** A project file, from the sheet's folder: CSV as a row object each, YAML and JSON as they are. */
|
|
7
|
+
data: (path: string) => unknown;
|
|
8
|
+
}
|
|
9
|
+
export type SheetCodeBuild = (wb: Workbook, ctx: SheetCodeContext) => unknown;
|
|
10
|
+
/** The default export of an item's sheet.ts. */
|
|
11
|
+
export interface SheetCode {
|
|
12
|
+
readonly [WORKBOOK_BRAND]: true;
|
|
13
|
+
/** Runs it. Here, in the module its classes are from, whoever calls. */
|
|
14
|
+
readonly generate: (ctx: SheetCodeContext) => GeneratedSheets;
|
|
15
|
+
}
|
|
16
|
+
export declare function isSheetCode(v: unknown): v is SheetCode;
|
|
17
|
+
/** What an item's sheet.ts exports: export default workbook((wb, { data }) => { … }). */
|
|
18
|
+
export declare function workbook(build: SheetCodeBuild): SheetCode;
|
|
19
|
+
//# sourceMappingURL=code.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{Workbook as n}from"./workbook.js";export const WORKBOOK_BRAND="__allyhubWorkbook";export function isSheetCode(o){return typeof o=="object"&&o!==null&&WORKBOOK_BRAND in o}export function workbook(o){if(typeof o!="function")throw new TypeError("An item's sheet.ts exports one function: export default workbook((wb, { data }) => { … }).");return{[WORKBOOK_BRAND]:!0,generate:e=>{const t=new n;if(t.worksheets=[],t._making=!0,o(t,e)instanceof Promise)throw new TypeError("sheet.ts's function waits for nothing: it is not async, as it has no network and reads with data().");return t._generated()}}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Alignment, Border, Color, Font, PatternFill, Side, type AlignmentOptions, type BorderOptions, type FontOptions, type PatternFillOptions, type SideOptions, } from "./styles.js";
|
|
2
|
+
export { BLOCK_CELLS, Cell, ColumnDimension, DefinedName, DefinedNameDict, RowDimension, Table, TableList, Workbook, Worksheet, column_index_from_string, coordinate_to_tuple, get_column_letter, load_workbook, range_boundaries, type CellValue, type LoadOptions, type TableInput, type TableOptions, } from "./workbook.js";
|
|
3
|
+
export { AutoFilter, CellIsRule, ColorScaleRule, ConditionalFormattingList, DataBarRule, DataValidation, DataValidationList, DifferentialStyle, FormulaRule, IconSetRule, Rule, type CellIsRuleOptions, type ColorScaleRuleOptions, type DataBarRuleOptions, type DataValidationOptions, type DifferentialStyleOptions, type FormulaRuleOptions, type RuleOptions, } from "./rules.js";
|
|
4
|
+
export { AreaChart, BarChart, ChartBase, DataLabelList, DoughnutChart, GraphicalProperties, Legend, LineChart, LineProperties, Marker, NumericAxis, PieChart, Reference, ScatterChart, Scaling, Series, TextAxis, type BarChartOptions, type ChartData, type ReferenceOptions, type SeriesOptions, } from "./charts.js";
|
|
5
|
+
export { CAPABILITIES, HELPERS, type Capabilities } from "./capabilities.js";
|
|
6
|
+
export { WORKBOOK_BRAND, isSheetCode, workbook, type SheetCode, type SheetCodeBuild, type SheetCodeContext, } from "./code.js";
|
|
7
|
+
//# sourceMappingURL=index.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{Alignment,Border,Color,Font,PatternFill,Side}from"./styles.js";export{BLOCK_CELLS,Cell,ColumnDimension,DefinedName,DefinedNameDict,RowDimension,Table,TableList,Workbook,Worksheet,column_index_from_string,coordinate_to_tuple,get_column_letter,load_workbook,range_boundaries}from"./workbook.js";export{AutoFilter,CellIsRule,ColorScaleRule,ConditionalFormattingList,DataBarRule,DataValidation,DataValidationList,DifferentialStyle,FormulaRule,IconSetRule,Rule}from"./rules.js";export{AreaChart,BarChart,ChartBase,DataLabelList,DoughnutChart,GraphicalProperties,Legend,LineChart,LineProperties,Marker,NumericAxis,PieChart,Reference,ScatterChart,Scaling,Series,TextAxis}from"./charts.js";export{CAPABILITIES,HELPERS}from"./capabilities.js";export{WORKBOOK_BRAND,isSheetCode,workbook}from"./code.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Area, Place } from "../address.js";
|
|
2
|
+
/** Places as the fewest rectangles reading rows left to right finds: runs in a row, then rows with the same run. */
|
|
3
|
+
export declare function rectangles(places: readonly Place[]): Area[];
|
|
4
|
+
//# sourceMappingURL=rectangles.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 rectangles(c){const f=[...c].sort((o,t)=>o.row-t.row||o.col-t.col),s=[];for(const o of f){const t=s[s.length-1];t?.top===o.row&&t.right===o.col-1?t.right=o.col:s.push({top:o.row,bottom:o.row,left:o.col,right:o.col})}const e=[],l=[];for(const o of s){const t=e.find(r=>r.bottom===o.top-1&&r.left===o.left&&r.right===o.right);t?t.bottom=o.bottom:e.push({...o});for(let r=e.length-1;r>=0;r--){const n=e[r];n&&n.bottom<o.top-1&&(l.push(n),e.splice(r,1))}}return[...l,...e].sort((o,t)=>o.top-t.top||o.left-t.left)}
|