allyhub 0.5.0 → 0.7.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/audio-text.js +1 -1
- package/dist/commands/add.js +2 -2
- package/dist/commands/cloud-tools.js +5 -5
- package/dist/commands/dev.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +8 -8
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/common.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/render.js +1 -1
- package/dist/commands/sheet.js +7 -7
- package/dist/commands/site.js +3 -2
- package/dist/commands/skills.js +3 -3
- package/dist/commands/slides.js +2 -2
- package/dist/node_modules/@allyhub-next/audio/dist/node/index.js +1 -1
- package/dist/node_modules/@allyhub-next/audio/dist/node/master.js +1 -1
- package/dist/node_modules/@allyhub-next/audio/package.json +1 -1
- package/dist/node_modules/@allyhub-next/browser/dist/html.js +1 -1
- package/dist/node_modules/@allyhub-next/browser/package.json +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/content.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/build/dist/content.js +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/index.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/meta-worker.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/build/dist/meta-worker.js +3 -3
- package/dist/node_modules/@allyhub-next/build/dist/move-refs.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/move-refs.js +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/plugin.d.ts +12 -3
- package/dist/node_modules/@allyhub-next/build/dist/plugin.js +7 -6
- package/dist/node_modules/@allyhub-next/build/dist/prepare.d.ts +9 -5
- package/dist/node_modules/@allyhub-next/build/dist/prepare.js +2 -2
- package/dist/node_modules/@allyhub-next/build/dist/vite.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/build/dist/vite.js +2 -2
- package/dist/node_modules/@allyhub-next/build/package.json +1 -1
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +14 -5
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub-next/chart/package.json +1 -1
- package/dist/node_modules/@allyhub-next/check/dist/check.js +3 -3
- package/dist/node_modules/@allyhub-next/check/package.json +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/blobs.js +2 -0
- package/dist/node_modules/@allyhub-next/cloud/dist/call.js +4 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/hashes.js +2 -0
- package/dist/node_modules/@allyhub-next/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub-next/cloud/dist/voice.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub-next/components/package.json +1 -1
- package/dist/node_modules/@allyhub-next/components/r/caption-subtitle.json +1 -1
- package/dist/node_modules/@allyhub-next/components/src/caption-subtitle.ts +54 -16
- package/dist/node_modules/@allyhub-next/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/fonts.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/reach.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/dist/record.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub-next/doc/package.json +1 -1
- package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.js +1 -1
- package/dist/node_modules/@allyhub-next/export/dist/export.js +5 -5
- package/dist/node_modules/@allyhub-next/export/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/export/package.json +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.d.ts +205 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +4 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +248 -18
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1114 -91
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +20 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/media-type.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/formats/dist/media-type.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +625 -30
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/strict.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/zip.d.ts +17 -0
- package/dist/node_modules/@allyhub-next/formats/dist/zip.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/package.json +2 -1
- package/dist/node_modules/@allyhub-next/measure/package.json +1 -1
- package/dist/node_modules/@allyhub-next/media/dist/index.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/media/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/media/dist/sheet.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/media/dist/sheet.js +7 -7
- package/dist/node_modules/@allyhub-next/media/package.json +1 -1
- package/dist/node_modules/@allyhub-next/model/package.json +1 -1
- package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.d.ts +31 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/color.d.ts +33 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/color.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/enums.d.ts +13 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/enums.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ext.d.ts +79 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ext.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.d.ts +132 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.d.ts +4708 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +57 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/index.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/mce.d.ts +12 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/mce.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/node.d.ts +111 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/node.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ns.d.ts +45 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ns.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/opc.d.ts +48 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/opc.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/report.d.ts +45 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/report.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/xml.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/xml.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/package.json +26 -0
- package/dist/node_modules/@allyhub-next/project/dist/deck-keys.js +2 -0
- package/dist/node_modules/@allyhub-next/project/dist/deck-measure.js +2 -0
- package/dist/node_modules/@allyhub-next/project/dist/deck-pool.js +2 -0
- package/dist/node_modules/@allyhub-next/project/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/project/dist/session.js +1 -1
- package/dist/node_modules/@allyhub-next/project/dist/stills.js +2 -0
- package/dist/node_modules/@allyhub-next/project/package.json +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +338 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/account.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +12 -13
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/blobs.d.ts +35 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/blobs.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +101 -32
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +89 -5
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/open.d.ts +13 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/open.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +73 -59
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +115 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +293 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +377 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +27 -9
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +53 -14
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/package.json +2 -1
- package/dist/node_modules/@allyhub-next/registry/package.json +1 -1
- package/dist/node_modules/@allyhub-next/render/dist/doc/fonts.js +3 -2
- package/dist/node_modules/@allyhub-next/render/dist/doc/index.js +1 -1
- package/dist/node_modules/@allyhub-next/render/dist/doc/pdf.js +34 -0
- package/dist/node_modules/@allyhub-next/render/dist/doc/print.js +4 -4
- package/dist/node_modules/@allyhub-next/render/dist/exports.js +2 -2
- package/dist/node_modules/@allyhub-next/render/dist/pdf.js +2 -0
- package/dist/node_modules/@allyhub-next/render/package.json +1 -1
- package/dist/node_modules/@allyhub-next/runtime/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub-next/runtime/dist/music.js +1 -1
- package/dist/node_modules/@allyhub-next/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub-next/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +25 -5
- package/dist/node_modules/@allyhub-next/scaffold/dist/index.js +4 -4
- package/dist/node_modules/@allyhub-next/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub-next/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.js +3 -3
- package/dist/node_modules/@allyhub-next/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +83 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +40 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +9 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +5 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +60 -13
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +27 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.d.ts +16 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +18 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.d.ts +38 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.d.ts +49 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +82 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +6 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/check.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +29 -8
- package/dist/node_modules/@allyhub-next/sheet/dist/export.js +3 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +2 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +8 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/format.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +52 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/html.js +43 -11
- package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +7 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +98 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +32 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/values.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +10 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +12 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +14 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +2 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +11 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +36 -16
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +6 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +44 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +40 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +121 -44
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +50 -13
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +33 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/components.d.ts +31 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/components.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +188 -5
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +43 -21
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +3 -3
- package/dist/node_modules/@allyhub-next/slides-core/dist/identity.d.ts +17 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/identity.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/lang.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/lang.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +58 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +38 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +27 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +26 -5
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +18 -16
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +51 -53
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +27 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/values.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/values.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/code.js +4 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/index.js +3 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/names.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/script.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/chart.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/common.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/index.js +4 -0
- package/dist/{site.js → node_modules/@allyhub-next/slides-pptx/dist/read/model.js} +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/shapes.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/table.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/text.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/timing.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/component.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub-next/slides-runtime/package.json +5 -1
- package/dist/node_modules/@allyhub-next/stage/dist/graphics.js +1 -1
- package/dist/node_modules/@allyhub-next/stage/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/stage/dist/page.js +22 -12
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.js +5 -5
- package/dist/node_modules/@allyhub-next/stage/dist/server.js +1 -1
- package/dist/node_modules/@allyhub-next/stage/package.json +1 -1
- package/dist/node_modules/@allyhub-next/stage-page/dist/host.js +1 -20
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/probe.html +8 -0
- package/dist/{astro.js → node_modules/@allyhub-next/stage-page/dist/runtime/probe.js} +1 -1
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/runtime.js +79 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.html +21 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.js +3 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/viewer.html +9 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/viewer.js +3 -0
- package/dist/node_modules/@allyhub-next/stage-page/package.json +2 -3
- package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +6 -6
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +47 -8
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/marks.d.ts +14 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/marks.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/music.d.ts +2 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +11 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +2 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/script.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/source.js +2 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +10 -33
- package/dist/node_modules/@allyhub-next/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub-next/website/LICENSE +241 -0
- package/dist/node_modules/@allyhub-next/website/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/website/dist/publish.js +3 -0
- package/dist/node_modules/@allyhub-next/website/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub-next/website/dist/website.js +4 -0
- package/dist/node_modules/@allyhub-next/website/package.json +13 -0
- package/dist/text/facts-text.js +4 -4
- package/dist/works.js +1 -1
- package/editor-web/assets/calc-worker-Bz9r26p1.js +158 -0
- package/editor-web/assets/dist-0emakyZE.js +36 -0
- package/editor-web/assets/dist-B3UoDUa5.js +37 -0
- package/editor-web/assets/dist-B6KzR3pN.js +10 -0
- package/editor-web/assets/dist-Bc5iA5k1.js +1 -0
- package/editor-web/assets/dist-CTQIm8Im.js +10 -0
- package/editor-web/assets/dist-CiHNHwyq.js +2 -0
- package/editor-web/assets/dist-DNZ8PQ-E.js +224 -0
- package/editor-web/assets/index-CFt3ovRY.js +69 -0
- package/editor-web/assets/index-ujKjdu_s.css +2 -0
- package/editor-web/assets/minus-BhoPZC5P.js +1 -0
- package/editor-web/assets/react-C_-rEEBU.js +101 -0
- package/editor-web/assets/tabs-Den4gHrU.js +105 -0
- package/editor-web/assets/text-align-start-CsW4nqqL.js +1 -0
- package/editor-web/index.html +5 -5
- package/package.json +8 -14
- package/dist/astro.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/audio/dist/at-cut.d.ts +0 -52
- package/dist/node_modules/@allyhub-next/audio/dist/decode.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/audio/dist/envelope.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/audio/dist/index.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/audio/dist/master.d.ts +0 -29
- package/dist/node_modules/@allyhub-next/audio/dist/music.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/audio/dist/node/decode.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/audio/dist/node/index.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/audio/dist/node/loudness.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/audio/dist/node/master.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/audio/dist/node/measure.d.ts +0 -60
- package/dist/node_modules/@allyhub-next/audio/dist/node/mix.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/audio/dist/plan.d.ts +0 -143
- package/dist/node_modules/@allyhub-next/audio/dist/recorded.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/audio/dist/recording/chain.d.ts +0 -89
- package/dist/node_modules/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -64
- package/dist/node_modules/@allyhub-next/audio/dist/recording/fft.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/audio/dist/recording/filters.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/audio/dist/recording/fit.d.ts +0 -56
- package/dist/node_modules/@allyhub-next/audio/dist/recording/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/audio/dist/recording/measure.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/audio/dist/recording/mic.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/audio/dist/recording/noise.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/audio/dist/recording/presets.d.ts +0 -64
- package/dist/node_modules/@allyhub-next/audio/dist/recording/room.d.ts +0 -78
- package/dist/node_modules/@allyhub-next/audio/dist/recording/setup.d.ts +0 -111
- package/dist/node_modules/@allyhub-next/audio/dist/recording/vec.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/audio/dist/render.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/audio/dist/sfx.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/audio/dist/shape.d.ts +0 -118
- package/dist/node_modules/@allyhub-next/audio/dist/voice.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/browser/dist/browser.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/browser/dist/capture.d.ts +0 -61
- package/dist/node_modules/@allyhub-next/browser/dist/cdp.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/browser/dist/flags.d.ts +0 -13
- package/dist/node_modules/@allyhub-next/browser/dist/frames.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/browser/dist/html.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/browser/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/browser/dist/launch.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/browser/dist/page.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/browser/dist/server.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/check/dist/cache.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/check/dist/check.d.ts +0 -142
- package/dist/node_modules/@allyhub-next/check/dist/generated.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/check/dist/index.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/check/dist/plans.d.ts +0 -111
- package/dist/node_modules/@allyhub-next/check/dist/result.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/check/dist/scenery.d.ts +0 -23
- package/dist/node_modules/@allyhub-next/dev-server/dist/background.d.ts +0 -50
- package/dist/node_modules/@allyhub-next/dev-server/dist/card.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/dev-server/dist/exports.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/dev-server/dist/index.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/dev-server/dist/live.d.ts +0 -77
- package/dist/node_modules/@allyhub-next/dev-server/dist/mime.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/mime.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/paths.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/dev-server/dist/project.d.ts +0 -153
- package/dist/node_modules/@allyhub-next/dev-server/dist/reveal.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/dev-server/dist/server.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/dev-server/dist/sound.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/dev-server/dist/stage.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/dev-server/dist/stage.js +0 -121
- package/dist/node_modules/@allyhub-next/dev-server/dist/tools.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/dev-server/dist/validate.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/dev-server/dist/watcher.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/dev-server/dist/writer.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/export/dist/batch.d.ts +0 -70
- package/dist/node_modules/@allyhub-next/export/dist/deck-fonts.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/export/dist/export.d.ts +0 -123
- package/dist/node_modules/@allyhub-next/export/dist/index.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/export/dist/names.d.ts +0 -36
- package/dist/node_modules/@allyhub-next/measure/dist/compare.d.ts +0 -195
- package/dist/node_modules/@allyhub-next/measure/dist/contrast.d.ts +0 -14
- package/dist/node_modules/@allyhub-next/measure/dist/cut-sheet.d.ts +0 -90
- package/dist/node_modules/@allyhub-next/measure/dist/cuts.d.ts +0 -108
- package/dist/node_modules/@allyhub-next/measure/dist/facts.d.ts +0 -60
- package/dist/node_modules/@allyhub-next/measure/dist/fidelity.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/measure/dist/flat.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/measure/dist/index.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/measure/dist/loop.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/measure/dist/overlay.d.ts +0 -57
- package/dist/node_modules/@allyhub-next/measure/dist/recording-report.d.ts +0 -66
- package/dist/node_modules/@allyhub-next/measure/dist/reference/compare.d.ts +0 -118
- package/dist/node_modules/@allyhub-next/measure/dist/reference/folder.d.ts +0 -75
- package/dist/node_modules/@allyhub-next/measure/dist/reference/interpret.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/measure/dist/reference/piece.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/measure/dist/reference/sections.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/measure/dist/reference/sets.d.ts +0 -84
- package/dist/node_modules/@allyhub-next/measure/dist/reference/text.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/measure/dist/reference/video.d.ts +0 -55
- package/dist/node_modules/@allyhub-next/measure/dist/seams.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/measure/dist/sound-measures.d.ts +0 -74
- package/dist/node_modules/@allyhub-next/measure/dist/sound-report.d.ts +0 -156
- package/dist/node_modules/@allyhub-next/measure/dist/still.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/measure/dist/version-voice.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/project/dist/console.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/project/dist/digest.d.ts +0 -9
- package/dist/node_modules/@allyhub-next/project/dist/index.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/project/dist/ledger.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/project/dist/media-index.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/project/dist/page.d.ts +0 -119
- package/dist/node_modules/@allyhub-next/project/dist/says.d.ts +0 -15
- package/dist/node_modules/@allyhub-next/project/dist/scenery.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/project/dist/session.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/project/dist/stretch.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/project/dist/version.d.ts +0 -114
- package/dist/node_modules/@allyhub-next/render/dist/cap.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/render/dist/capture.d.ts +0 -78
- package/dist/node_modules/@allyhub-next/render/dist/clip.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/render/dist/composite.d.ts +0 -106
- package/dist/node_modules/@allyhub-next/render/dist/delivery.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/render/dist/doc/fonts.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/render/dist/doc/index.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/render/dist/doc/print.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/render/dist/encode.d.ts +0 -111
- package/dist/node_modules/@allyhub-next/render/dist/errors.d.ts +0 -15
- package/dist/node_modules/@allyhub-next/render/dist/exports.d.ts +0 -76
- package/dist/node_modules/@allyhub-next/render/dist/ffmpeg.d.ts +0 -75
- package/dist/node_modules/@allyhub-next/render/dist/footage.d.ts +0 -169
- package/dist/node_modules/@allyhub-next/render/dist/image.d.ts +0 -16
- package/dist/node_modules/@allyhub-next/render/dist/index.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/render/dist/junction.d.ts +0 -70
- package/dist/node_modules/@allyhub-next/render/dist/look.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/render/dist/page.d.ts +0 -186
- package/dist/node_modules/@allyhub-next/render/dist/parts.d.ts +0 -140
- package/dist/node_modules/@allyhub-next/render/dist/png.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/render/dist/pool.d.ts +0 -54
- package/dist/node_modules/@allyhub-next/render/dist/post-probe.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/render/dist/post.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/render/dist/render.d.ts +0 -151
- package/dist/node_modules/@allyhub-next/render/dist/segments.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/render/dist/sound.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/render/dist/stills.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/render/dist/tools.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/render/dist/webp.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/runtime/dist/bridge.d.ts +0 -211
- package/dist/node_modules/@allyhub-next/runtime/dist/captions.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/runtime/dist/clock.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/runtime/dist/compose.d.ts +0 -149
- package/dist/node_modules/@allyhub-next/runtime/dist/console.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/runtime/dist/contrast.d.ts +0 -13
- package/dist/node_modules/@allyhub-next/runtime/dist/embed.d.ts +0 -50
- package/dist/node_modules/@allyhub-next/runtime/dist/env.d.ts +0 -101
- package/dist/node_modules/@allyhub-next/runtime/dist/errors.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/runtime/dist/facade.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/runtime/dist/fonts.d.ts +0 -110
- package/dist/node_modules/@allyhub-next/runtime/dist/footage.d.ts +0 -52
- package/dist/node_modules/@allyhub-next/runtime/dist/frame.d.ts +0 -61
- package/dist/node_modules/@allyhub-next/runtime/dist/guards.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/runtime/dist/index.d.ts +0 -14
- package/dist/node_modules/@allyhub-next/runtime/dist/inspect.d.ts +0 -112
- package/dist/node_modules/@allyhub-next/runtime/dist/locate.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/runtime/dist/measure.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/runtime/dist/mix-plan.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/runtime/dist/music.d.ts +0 -29
- package/dist/node_modules/@allyhub-next/runtime/dist/output.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/runtime/dist/pictures.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/runtime/dist/piece.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/runtime/dist/player/clips.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/runtime/dist/player/cutout.d.ts +0 -57
- package/dist/node_modules/@allyhub-next/runtime/dist/player/player.d.ts +0 -78
- package/dist/node_modules/@allyhub-next/runtime/dist/reads.d.ts +0 -132
- package/dist/node_modules/@allyhub-next/runtime/dist/sound.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/runtime/dist/speech.d.ts +0 -107
- package/dist/node_modules/@allyhub-next/runtime/dist/stage-kit.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/runtime/dist/stage.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/runtime/dist/styles.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/runtime/dist/takes.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/runtime/dist/titles.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtime/dist/transitions.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/site/dist/assets.d.ts +0 -59
- package/dist/node_modules/@allyhub-next/site/dist/assets.js +0 -2
- package/dist/node_modules/@allyhub-next/site/dist/astro.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/site/dist/astro.js +0 -3
- package/dist/node_modules/@allyhub-next/site/dist/lockfile.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/site/dist/lockfile.js +0 -3
- package/dist/node_modules/@allyhub-next/site/dist/media.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/site/dist/media.js +0 -4
- package/dist/node_modules/@allyhub-next/site/package.json +0 -25
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/charts.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/fonts.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/index.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read.d.ts +0 -55
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/edit.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/edit.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/ink.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/stage/dist/bakes.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/stage/dist/graphics.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/stage/dist/identity.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/stage/dist/index.d.ts +0 -9
- package/dist/node_modules/@allyhub-next/stage/dist/page.d.ts +0 -87
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.d.ts +0 -69
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-solve.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/stage/dist/scenery.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/stage/dist/server.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/stage-page/dist/host.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/stage-page/dist/page.js +0 -79
- package/dist/site.d.ts +0 -2
- package/editor-web/assets/dist-Cg2PdedY.js +0 -6
- package/editor-web/assets/dist-CuW84oPe.js +0 -233
- package/editor-web/assets/dist-CxAS_vp7.js +0 -2
- package/editor-web/assets/dist-DCVaj9i1.js +0 -4
- package/editor-web/assets/dist-DGVUuVPB.js +0 -33
- package/editor-web/assets/dist-Yi3sy7Ea.js +0 -1
- package/editor-web/assets/index-B7S9RZhL.css +0 -2
- package/editor-web/assets/index-pwRfZ2Jv.js +0 -69
- package/editor-web/assets/minus-BizJdinJ.js +0 -1
- package/editor-web/assets/react-D54s6gwK.js +0 -101
- package/editor-web/assets/textarea-CvxipnGW.js +0 -105
- package/editor-web/assets/trash-2-Bq1Dt8XG.js +0 -1
- package/editor-web/assets/undo-2-Djhvu4xt.js +0 -1
- /package/dist/node_modules/@allyhub-next/{site → ooxml}/LICENSE +0 -0
|
@@ -2,7 +2,7 @@ import type { ChartLegendPosition, ChartType } from "@allyhub-next/formats";
|
|
|
2
2
|
import { ColorFormat, FillFormat } from "./api.js";
|
|
3
3
|
import type { ChartAxisDef, ChartDef, ChartLabelPosition, ChartLabelsDef, ChartSeriesDef } from "@allyhub-next/chart";
|
|
4
4
|
import type { Color } from "./model.js";
|
|
5
|
-
import { type Length } from "./units.js";
|
|
5
|
+
import { type Length, type LengthValue } from "./units.js";
|
|
6
6
|
/** The numbers a chart shows (python-pptx's `CategoryChartData`). */
|
|
7
7
|
export declare class CategoryChartData {
|
|
8
8
|
number_format: string;
|
|
@@ -18,6 +18,29 @@ export declare class CategoryChartData {
|
|
|
18
18
|
/** The series as a chart holds them. */
|
|
19
19
|
_series(): ChartSeriesDef[];
|
|
20
20
|
}
|
|
21
|
+
/** python-pptx's `XySeriesData`: a series of an XY chart, a point at a time. */
|
|
22
|
+
export declare class XySeriesData {
|
|
23
|
+
readonly points: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
}[];
|
|
27
|
+
readonly name: string;
|
|
28
|
+
constructor(name: string);
|
|
29
|
+
add_data_point(x: number, y: number): void;
|
|
30
|
+
}
|
|
31
|
+
/** python-pptx's `XyChartData`: what an XY scatter chart shows. */
|
|
32
|
+
export declare class XyChartData {
|
|
33
|
+
number_format: string;
|
|
34
|
+
private readonly list;
|
|
35
|
+
constructor(options?: {
|
|
36
|
+
number_format?: string;
|
|
37
|
+
});
|
|
38
|
+
add_series(name: string): XySeriesData;
|
|
39
|
+
/** The chart's data: an XY chart has no categories. */
|
|
40
|
+
get categories(): string[];
|
|
41
|
+
/** The series as a chart holds them. */
|
|
42
|
+
_series(): ChartSeriesDef[];
|
|
43
|
+
}
|
|
21
44
|
/** A chart's text, or its labels' (`font`). */
|
|
22
45
|
export declare class ChartFont {
|
|
23
46
|
private readonly read;
|
|
@@ -29,7 +52,7 @@ export declare class ChartFont {
|
|
|
29
52
|
size?: number;
|
|
30
53
|
color?: Color;
|
|
31
54
|
}) => void);
|
|
32
|
-
get size():
|
|
55
|
+
get size(): LengthValue | undefined;
|
|
33
56
|
set size(v: Length | undefined);
|
|
34
57
|
get color(): ColorFormat;
|
|
35
58
|
}
|
|
@@ -102,6 +125,28 @@ export declare class ChartLegend {
|
|
|
102
125
|
constructor(def: ChartDef);
|
|
103
126
|
get position(): ChartLegendPosition;
|
|
104
127
|
set position(v: ChartLegendPosition);
|
|
128
|
+
/** Whether the plot is made smaller for it (true, as python-pptx's default), or it is drawn over the plot. */
|
|
129
|
+
get include_in_layout(): boolean;
|
|
130
|
+
set include_in_layout(v: boolean);
|
|
131
|
+
}
|
|
132
|
+
/** An axis's tick labels (python-pptx's `TickLabels`): their number format. */
|
|
133
|
+
export declare class TickLabels {
|
|
134
|
+
private readonly def;
|
|
135
|
+
constructor(def: ChartAxisDef);
|
|
136
|
+
get number_format(): string;
|
|
137
|
+
set number_format(v: string);
|
|
138
|
+
}
|
|
139
|
+
/** A chart's gridlines (python-pptx's `MajorGridlines`): their line. */
|
|
140
|
+
export declare class MajorGridlines {
|
|
141
|
+
private readonly line;
|
|
142
|
+
constructor(line: ChartLine);
|
|
143
|
+
get format(): ChartFormat;
|
|
144
|
+
}
|
|
145
|
+
/** What a chart's part is drawn with (python-pptx's `ChartFormat`): its line. */
|
|
146
|
+
export declare class ChartFormat {
|
|
147
|
+
private readonly held;
|
|
148
|
+
constructor(line: ChartLine);
|
|
149
|
+
get line(): ChartLine;
|
|
105
150
|
}
|
|
106
151
|
/** A chart's axis (python-pptx's `ValueAxis`, `CategoryAxis`). */
|
|
107
152
|
export declare class ChartAxis {
|
|
@@ -120,19 +165,11 @@ export declare class ChartAxis {
|
|
|
120
165
|
get reverse_order(): boolean;
|
|
121
166
|
set reverse_order(v: boolean);
|
|
122
167
|
/** Its tick labels' format (`tick_labels.number_format`). */
|
|
123
|
-
get tick_labels():
|
|
124
|
-
number_format: string;
|
|
125
|
-
};
|
|
168
|
+
get tick_labels(): TickLabels;
|
|
126
169
|
/** Its gridlines' colour (`major_gridlines.format.line.color`). */
|
|
127
|
-
get major_gridlines():
|
|
128
|
-
format: {
|
|
129
|
-
line: ChartLine;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
170
|
+
get major_gridlines(): MajorGridlines;
|
|
132
171
|
/** Its line's colour (`format.line.color`). */
|
|
133
|
-
get format():
|
|
134
|
-
line: ChartLine;
|
|
135
|
-
};
|
|
172
|
+
get format(): ChartFormat;
|
|
136
173
|
}
|
|
137
174
|
/** A chart (python-pptx's `Chart`), in its shape's `.chart`. */
|
|
138
175
|
export declare class Chart {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{ColorFormat as
|
|
2
|
+
import{ColorFormat as h,FillFormat as l}from"./api.js";import{accentOf as f,isRound as u}from"@allyhub-next/chart";import{strict as s}from"./strict.js";import{Pt as n,length as d}from"./units.js";export class CategoryChartData{number_format;names=[];list=[];constructor(e={}){return this.number_format=e.number_format??"General",s(this,"CategoryChartData")}get categories(){return this.names}set categories(e){this.names=e.map(String)}add_category(e){this.names.push(String(e))}add_series(e,t=[],i){this.list.push({name:e,values:t.map(a=>a??null),...i===void 0?{}:{number_format:i}})}_series(){return this.list.map(e=>({...e,values:[...e.values],number_format:e.number_format??this.number_format}))}}export class XySeriesData{points=[];name;constructor(e){return this.name=e,s(this,"XySeriesData")}add_data_point(e,t){this.points.push({x:e,y:t})}}export class XyChartData{number_format;list=[];constructor(e={}){return this.number_format=e.number_format??"General",s(this,"XyChartData")}add_series(e){const t=new XySeriesData(e);return this.list.push(t),t}get categories(){return[]}_series(){return this.list.map(e=>({name:e.name,values:e.points.map(t=>t.y),x:e.points.map(t=>t.x),number_format:this.number_format}))}}const _=r=>r===void 0?void 0:r/n(1);export class ChartFont{read;write;constructor(e,t){return this.read=e,this.write=t,s(this,"ChartFont")}get size(){const e=this.read().size;return e===void 0?void 0:d(n(e))}set size(e){const t=this.read(),i=_(e);this.write({...t.color===void 0?{}:{color:t.color},...i===void 0?{}:{size:i}})}get color(){return new h(()=>this.read().color,e=>{const{size:t}=this.read();this.write({...t===void 0?{}:{size:t},...e===void 0?{}:{color:e}})})}}export class ChartLine{read;write;constructor(e,t){return this.read=e,this.write=t,s(this,"ChartLine")}get color(){return new h(this.read,this.write)}}export class ChartSeries{def;at;constructor(e,t){return this.def=e,this.at=t,s(this,"ChartSeries")}get name(){return this.def.name}get values(){return this.def.values}get marker(){const e=this.def;return s({get size(){return e.marker_size},set size(t){t===void 0?delete e.marker_size:e.marker_size=t}},"Marker")}get smooth(){return this.def.smooth===!0}set smooth(e){this.def.smooth=e}get format(){const e=this.def;return s({line:s({get width(){return e.line_width===void 0?void 0:d(n(e.line_width))},set width(t){t===void 0?delete e.line_width:e.line_width=t/n(1)}},"LineFormat"),fill:new l(()=>this.def.color??f(this.at),t=>{t!==null&&(this.def.color=t)})},"ChartFormat")}}export class DataLabels{def;constructor(e){return this.def=e,s(this,"DataLabels")}get show_value(){return this.def.show_value??!1}set show_value(e){this.def.show_value=e}get show_percentage(){return this.def.show_percentage??!1}set show_percentage(e){this.def.show_percentage=e}get show_category_name(){return this.def.show_category_name??!1}set show_category_name(e){this.def.show_category_name=e}get show_series_name(){return this.def.show_series_name??!1}set show_series_name(e){this.def.show_series_name=e}get number_format(){return this.def.number_format??"General"}set number_format(e){this.def.number_format=e}get position(){return this.def.position}set position(e){e===void 0?delete this.def.position:this.def.position=e}get font(){return new ChartFont(()=>({...this.def.size===void 0?{}:{size:this.def.size},...this.def.color===void 0?{}:{color:this.def.color}}),e=>{delete this.def.size,delete this.def.color,Object.assign(this.def,e)})}}export class ChartPlot{def;constructor(e){return this.def=e,s(this,"ChartPlot")}get categories(){return this.def.categories}get series(){return this.def.series.map((e,t)=>new ChartSeries(e,t))}get has_data_labels(){return this.def.labels!==void 0}set has_data_labels(e){e?this.def.labels??={show_value:!0}:delete this.def.labels}get data_labels(){return this.def.labels??={show_value:!0},new DataLabels(this.def.labels)}get gap_width(){return this.def.gap_width??150}set gap_width(e){this.def.gap_width=e}get overlap(){return this.def.overlap??0}set overlap(e){this.def.overlap=e}get vary_by_categories(){return this.def.vary_by_categories??u(this.def.type)}set vary_by_categories(e){this.def.vary_by_categories=e}}export class ChartLegend{def;constructor(e){return this.def=e,s(this,"ChartLegend")}get position(){return this.def.legend??"right"}set position(e){this.def.legend=e}get include_in_layout(){return this.def.legend_overlay!==!0}set include_in_layout(e){e?delete this.def.legend_overlay:this.def.legend_overlay=!0}}export class TickLabels{def;constructor(e){return this.def=e,s(this,"TickLabels")}get number_format(){return this.def.number_format??"General"}set number_format(e){this.def.number_format=e}}export class MajorGridlines{line;constructor(e){return this.line=e,s(this,"MajorGridlines")}get format(){return new ChartFormat(this.line)}}export class ChartFormat{held;constructor(e){return this.held=e,s(this,"ChartFormat")}get line(){return this.held}}export class ChartAxis{def;constructor(e){return this.def=e,s(this,"ChartAxis")}get minimum_scale(){return this.def.minimum_scale}set minimum_scale(e){e===void 0?delete this.def.minimum_scale:this.def.minimum_scale=e}get maximum_scale(){return this.def.maximum_scale}set maximum_scale(e){e===void 0?delete this.def.maximum_scale:this.def.maximum_scale=e}get major_unit(){return this.def.major_unit}set major_unit(e){e===void 0?delete this.def.major_unit:this.def.major_unit=e}get has_major_gridlines(){return this.def.has_major_gridlines??!0}set has_major_gridlines(e){this.def.has_major_gridlines=e}get visible(){return this.def.visible??!0}set visible(e){this.def.visible=e}get reverse_order(){return this.def.reverse_order??!1}set reverse_order(e){this.def.reverse_order=e}get tick_labels(){return new TickLabels(this.def)}get major_gridlines(){return new MajorGridlines(new ChartLine(()=>this.def.gridline_color,e=>{e===void 0?delete this.def.gridline_color:this.def.gridline_color=e}))}get format(){return new ChartFormat(new ChartLine(()=>this.def.line_color,e=>{e===void 0?delete this.def.line_color:this.def.line_color=e}))}}export class Chart{def;constructor(e){return this.def=e,s(this,"Chart")}get chart_type(){return this.def.type}get has_legend(){return this.def.legend!==void 0}set has_legend(e){e?this.def.legend??="right":delete this.def.legend}get legend(){return new ChartLegend(this.def)}get has_title(){return this.def.title!==void 0}set has_title(e){e?this.def.title??="":delete this.def.title}get chart_title(){const e=this.def;return s({font:s({get size(){return e.title_size===void 0?void 0:d(n(e.title_size))},set size(t){t===void 0?delete e.title_size:e.title_size=t/n(1)}},"Font"),text_frame:s({get text(){return e.title??""},set text(t){e.title=t}},"TextFrame")},"ChartTitle")}get font(){return new ChartFont(()=>({...this.def.font_size===void 0?{}:{size:this.def.font_size},...this.def.font_color===void 0?{}:{color:this.def.font_color}}),e=>{delete this.def.font_size,delete this.def.font_color,e.size!==void 0&&(this.def.font_size=e.size),e.color!==void 0&&(this.def.font_color=e.color)})}get plots(){return[new ChartPlot(this.def)]}get series(){return this.def.series.map((e,t)=>new ChartSeries(e,t))}get value_axis(){return this.def.value_axis??={},new ChartAxis(this.def.value_axis)}get category_axis(){return this.def.category_axis??={},new ChartAxis(this.def.category_axis)}replace_data(e){const t=this.def.series;this.def.categories=[...e.categories],this.def.series=e._series().map((i,a)=>{const o=t[a]?.color;return o===void 0?i:{...i,color:o}})}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{labelPositionsOf as
|
|
2
|
+
import{isScatter as j,labelPositionsOf as v}from"@allyhub-next/chart";import{colorOfFile as u,joinPath as O}from"./resolve.js";const w=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:u(e.gridline_color)},...e.line_color===void 0?{}:{line_color:u(e.line_color)}},S=e=>{if(!(e===void 0||e===!1))return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:u(e.color)}}};function $(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!="string")return;const i=e.trim();if(i==="")return null;const s=Number(i);return Number.isFinite(s)?s:void 0}export function chartOfFile(e,i){const s=S(e.labels),l=j(e.type);let a,c;const g=r=>({...r.color===void 0?{}:{color:u(r.color)},...r.format===void 0?{}:{number_format:r.format},...r.smooth===void 0?{}:{smooth:r.smooth},...r.line_width===void 0?{}:{line_width:r.line_width},...r.marker_size===void 0?{}:{marker_size:r.marker_size}});if(e.data!==void 0){let r;try{r=i.rows(e.data)}catch(t){i.problem(`${e.data} cannot be read: ${t instanceof Error?t.message:String(t)}`);return}if(!Array.isArray(r)||r.length===0){i.problem(`${e.data} holds no rows.`);return}const n=r,d=e.categories;if(typeof d!="string"){i.problem("with data, categories names its column.");return}const h=Object.keys(n[0]??{}),b=[d,...e.series.map(t=>typeof t=="string"?t:t.name)].filter(t=>!h.includes(t));if(b.length>0){i.problem(`${e.data} has no column ${b.join(", ")} (it has ${h.join(", ")}).`);return}a=n.map(t=>{const o=t[d];return typeof o=="string"||typeof o=="number"?String(o):""}),c=e.series.map(t=>{const o=typeof t=="string"?t:t.name,x=n.map((m,z)=>{const y=$(m[o]);return y===void 0?(i.problem(`${String(e.data)} row ${String(z+1)}: ${JSON.stringify(m[o])} in ${o} is not a number.`),null):y});return{name:o,values:x,...l?{x:n.map(m=>$(m[d])??null)}:{},...typeof t=="string"?{}:g(t)}})}else{if(typeof e.categories=="string"){i.problem("categories names a column, and there is no data to read.");return}if(e.categories===void 0&&!l){i.problem(`a ${e.type} chart has categories.`);return}a=e.categories??[];const r=[];for(const n of e.series){if(typeof n=="string"||!n.values){const d=typeof n=="string"?n:n.name;i.problem(`series ${d} has no values, and there is no data to read.`);return}if(l){if(n.x?.length!==n.values.length){i.problem(`series ${n.name} has an x for each of its values.`);return}}else n.values.length!==a.length&&i.problem(`series ${n.name} has ${String(n.values.length)} values for ${String(a.length)} categories.`);r.push({name:n.name,values:n.values,...l&&n.x?{x:n.x}:{},...g(n)})}c=r}const f=s?.position;f!==void 0&&!v(e.type).includes(f)&&i.problem(`a ${e.type} chart has no label position ${f}, which PowerPoint would repair (it has ${v(e.type).join(", ")||"none"}).`);const p=w(e.value_axis),_=w(e.category_axis);return{type:e.type,categories:a,series:c,...i.title===void 0?{}:{title:i.title},...e.legend===void 0?{}:{legend:e.legend},...s?{labels:s}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...p?{value_axis:p}:{},..._?{category_axis:_}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:u(e.color)},...e.data===void 0?{}:{source:O(i.base,e.data)}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export function checkDeck(
|
|
2
|
+
export function checkDeck(h,c){const s=[];for(const a of h.slides){const d=new Set;for(const e of a.shapes){if(e.level==="slide"){if(d.has(e.name)){const m=e.sources.frame.path?.replace(/\.frame$/u,"");s.push({slide:a.id,shape:e.name,...m===void 0?{}:{path:m},message:`Slide ${a.id} has two shapes named ${e.name}${e.sources.frame.from==="code"?` (its generator ${a.file.generate??""} makes them)`:""}.`})}d.add(e.name)}const i=e.media;if(!i)continue;const o=e.kind==="movie"?"video":"image",n=c.mediaKind(i.path),t={slide:a.id,shape:e.name,...e.sources.media?.path===void 0?{}:{path:e.sources.media.path}};n===void 0?s.push({...t,message:`${i.path} (shape ${e.name} of slide ${a.id}) is not in the project.`}):n!==o&&s.push({...t,message:`${i.path} (shape ${e.name} of slide ${a.id}) is ${n==="image"?"an image":`a ${n}`}, not ${o==="image"?"an image":"a video"}.`})}}return s}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { DeckDef, GeneratedSlideDef, MasterDef, PropSpec } from "./model.js";
|
|
2
|
+
import type { ThemeInput } from "./theme.js";
|
|
3
|
+
import type { Length } from "./units.js";
|
|
4
|
+
/** A component as data: the props it exposes to a person. Its layers stay code, drawn in the stage. */
|
|
5
|
+
export interface ComponentSpec {
|
|
6
|
+
props: Readonly<Record<string, PropSpec>>;
|
|
7
|
+
}
|
|
8
|
+
/** What a generator made: its slides, or why it failed. */
|
|
9
|
+
export type GeneratorOutput = GeneratedSlideDef[]
|
|
10
|
+
/** Why it failed, and where in slides.ts it threw (its stack). */
|
|
11
|
+
| {
|
|
12
|
+
error: string;
|
|
13
|
+
stack?: string;
|
|
14
|
+
};
|
|
15
|
+
export interface DeckCode {
|
|
16
|
+
slide_width: Length;
|
|
17
|
+
slide_height: Length;
|
|
18
|
+
theme?: ThemeInput;
|
|
19
|
+
masters: MasterDef[];
|
|
20
|
+
components: Record<string, ComponentSpec>;
|
|
21
|
+
generators: Record<string, GeneratorOutput>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A deck's code as data: its definition, each generator run once on `data`
|
|
25
|
+
* (a data file of the deck's folder; a generator fails as it reads one
|
|
26
|
+
* without it). Plain JSON, nothing of the code's own objects kept.
|
|
27
|
+
*/
|
|
28
|
+
export declare function deckCode(def: DeckDef, data?: (path: string) => unknown): DeckCode;
|
|
29
|
+
/** Whether a value (from another frame, a file, a worker) is a deck's code, by its schema. */
|
|
30
|
+
export declare function isDeckCode(value: unknown): value is DeckCode;
|
|
31
|
+
/** What is wrong with a value that should be a deck's code, each at its path; empty when it is one. */
|
|
32
|
+
export declare function deckCodeProblems(value: unknown): string[];
|
|
33
|
+
//# 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{DeckCodeSchema as a}from"@allyhub-next/formats";export function deckCode(e,r){const t={};for(const[o,n]of Object.entries(e.generators))try{t[o]=n.make({data:r??(()=>{throw new Error("No data here.")})})}catch(s){t[o]={error:s instanceof Error?s.message:String(s),...s instanceof Error&&s.stack!==void 0?{stack:s.stack}:{}}}const c={slide_width:e.slide_width,slide_height:e.slide_height,...e.theme===void 0?{}:{theme:e.theme},masters:e.masters,components:Object.fromEntries(Object.entries(e.components).map(([o,n])=>[o,{props:n.props}])),generators:t};return i(c)}function i(e){const r=JSON.stringify(e),t=JSON.parse(r);if(!isDeckCode(t))throw new Error("The deck's code made something that is not data.");return t}export function isDeckCode(e){return a.safeParse(e).success}export function deckCodeProblems(e){const r=a.safeParse(e);return r.success?[]:r.error.issues.map(t=>`${t.path.map(String).join(".")||"(top)"}: ${t.message}`)}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { clockOf } from "./animation.js";
|
|
2
|
+
import type { ResolvedDeck, ResolvedShape } from "./resolve.js";
|
|
3
|
+
import type { ComponentAt } from "./stage.js";
|
|
4
|
+
/**
|
|
5
|
+
* A component's seconds as the slide is edited: at its end, every animation
|
|
6
|
+
* on it played and settled, counted from the component's own entrance, or
|
|
7
|
+
* from the slide's start (after its transition) for one with none, as the
|
|
8
|
+
* stage counts them at the slide's still.
|
|
9
|
+
*/
|
|
10
|
+
export declare function componentTime(slide: Parameters<typeof clockOf>[0], shape: string,
|
|
11
|
+
/** The deck's first slide: no transition before it. */
|
|
12
|
+
first: boolean): number;
|
|
13
|
+
/** A component as the stage draws it: its props, its frame in the stage's pixels, the seconds since it came on. */
|
|
14
|
+
export declare function componentAt(shape: ResolvedShape,
|
|
15
|
+
/** Stage pixels per EMU. */
|
|
16
|
+
stage: number, t: number): ComponentAt | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* A deck's component as its slide is edited, on a stage `stageWidth` px
|
|
19
|
+
* wide: of a slide (by id) and one of its shapes; undefined for a shape
|
|
20
|
+
* that is not a component, or a slide the deck does not have.
|
|
21
|
+
*/
|
|
22
|
+
export declare function deckComponentAt(deck: Pick<ResolvedDeck, "width" | "slides">, stageWidth: number): (slide: string, shape: ResolvedShape) => ComponentAt | undefined;
|
|
23
|
+
/** A component on a slide, as it is edited. */
|
|
24
|
+
export interface DeckComponent {
|
|
25
|
+
slide: string;
|
|
26
|
+
shape: string;
|
|
27
|
+
at: ComponentAt;
|
|
28
|
+
}
|
|
29
|
+
/** Every component on a deck's slides, as each is edited, in the slides' order. */
|
|
30
|
+
export declare function deckComponents(deck: Pick<ResolvedDeck, "width" | "slides">, stageWidth: number): DeckComponent[];
|
|
31
|
+
//# sourceMappingURL=components.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{clockOf as a}from"./animation.js";export function componentTime(t,n,r){const o=a(t,r);return Math.max(0,(o.rests.at(-1)??0)-o.comesOn(n))}export function componentAt(t,n,r){if(t.component)return{name:t.component.name,props:t.component.props,width:Math.max(1,Math.round(t.frame.width*n)),height:Math.max(1,Math.round(t.frame.height*n)),t:r}}export function deckComponentAt(t,n){const r=t.width>0?n/t.width:0,o=new Map(t.slides.map(e=>[e.id,e])),i=t.slides[0]?.id;return(e,m)=>{const c=o.get(e);return c&&m.component?componentAt(m,r,componentTime(c,m.name,e===i)):void 0}}export function deckComponents(t,n){const r=deckComponentAt(t,n);return t.slides.flatMap(o=>o.shapes.flatMap(i=>{const e=r(o.id,i);return e?[{slide:o.id,shape:i.name,at:e}]:[]}))}
|
|
@@ -50,17 +50,196 @@ export declare const PP_PLACEHOLDER: {
|
|
|
50
50
|
readonly SLIDE_NUMBER: "sldNum";
|
|
51
51
|
};
|
|
52
52
|
export type PlaceholderType = (typeof PP_PLACEHOLDER)[keyof typeof PP_PLACEHOLDER];
|
|
53
|
-
/** An autoshape's preset geometry (`a:prstGeom/@prst`). */
|
|
53
|
+
/** An autoshape's preset geometry (`a:prstGeom/@prst`), python-pptx 1.0.2's MSO_SHAPE (MSO_AUTO_SHAPE_TYPE) whole; a preset it has no name for is its \`prst\`. */
|
|
54
54
|
export declare const MSO_SHAPE: {
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
55
|
+
readonly ACTION_BUTTON_BACK_OR_PREVIOUS: "actionButtonBackPrevious";
|
|
56
|
+
readonly ACTION_BUTTON_BEGINNING: "actionButtonBeginning";
|
|
57
|
+
readonly ACTION_BUTTON_CUSTOM: "actionButtonBlank";
|
|
58
|
+
readonly ACTION_BUTTON_DOCUMENT: "actionButtonDocument";
|
|
59
|
+
readonly ACTION_BUTTON_END: "actionButtonEnd";
|
|
60
|
+
readonly ACTION_BUTTON_FORWARD_OR_NEXT: "actionButtonForwardNext";
|
|
61
|
+
readonly ACTION_BUTTON_HELP: "actionButtonHelp";
|
|
62
|
+
readonly ACTION_BUTTON_HOME: "actionButtonHome";
|
|
63
|
+
readonly ACTION_BUTTON_INFORMATION: "actionButtonInformation";
|
|
64
|
+
readonly ACTION_BUTTON_MOVIE: "actionButtonMovie";
|
|
65
|
+
readonly ACTION_BUTTON_RETURN: "actionButtonReturn";
|
|
66
|
+
readonly ACTION_BUTTON_SOUND: "actionButtonSound";
|
|
67
|
+
readonly ARC: "arc";
|
|
68
|
+
readonly BALLOON: "wedgeRoundRectCallout";
|
|
69
|
+
readonly BENT_ARROW: "bentArrow";
|
|
70
|
+
readonly BENT_UP_ARROW: "bentUpArrow";
|
|
71
|
+
readonly BEVEL: "bevel";
|
|
72
|
+
readonly BLOCK_ARC: "blockArc";
|
|
73
|
+
readonly CAN: "can";
|
|
74
|
+
readonly CHART_PLUS: "chartPlus";
|
|
75
|
+
readonly CHART_STAR: "chartStar";
|
|
76
|
+
readonly CHART_X: "chartX";
|
|
77
|
+
readonly CHEVRON: "chevron";
|
|
78
|
+
readonly CHORD: "chord";
|
|
79
|
+
readonly CIRCULAR_ARROW: "circularArrow";
|
|
80
|
+
readonly CLOUD: "cloud";
|
|
81
|
+
readonly CLOUD_CALLOUT: "cloudCallout";
|
|
82
|
+
readonly CORNER: "corner";
|
|
83
|
+
readonly CORNER_TABS: "cornerTabs";
|
|
84
|
+
readonly CROSS: "plus";
|
|
85
|
+
readonly CUBE: "cube";
|
|
86
|
+
readonly CURVED_DOWN_ARROW: "curvedDownArrow";
|
|
87
|
+
readonly CURVED_DOWN_RIBBON: "ellipseRibbon";
|
|
88
|
+
readonly CURVED_LEFT_ARROW: "curvedLeftArrow";
|
|
89
|
+
readonly CURVED_RIGHT_ARROW: "curvedRightArrow";
|
|
90
|
+
readonly CURVED_UP_ARROW: "curvedUpArrow";
|
|
91
|
+
readonly CURVED_UP_RIBBON: "ellipseRibbon2";
|
|
92
|
+
readonly DECAGON: "decagon";
|
|
93
|
+
readonly DIAGONAL_STRIPE: "diagStripe";
|
|
94
|
+
readonly DIAMOND: "diamond";
|
|
95
|
+
readonly DODECAGON: "dodecagon";
|
|
96
|
+
readonly DONUT: "donut";
|
|
97
|
+
readonly DOUBLE_BRACE: "bracePair";
|
|
98
|
+
readonly DOUBLE_BRACKET: "bracketPair";
|
|
99
|
+
readonly DOUBLE_WAVE: "doubleWave";
|
|
100
|
+
readonly DOWN_ARROW: "downArrow";
|
|
101
|
+
readonly DOWN_ARROW_CALLOUT: "downArrowCallout";
|
|
102
|
+
readonly DOWN_RIBBON: "ribbon";
|
|
103
|
+
readonly EXPLOSION1: "irregularSeal1";
|
|
104
|
+
readonly EXPLOSION2: "irregularSeal2";
|
|
105
|
+
readonly FLOWCHART_ALTERNATE_PROCESS: "flowChartAlternateProcess";
|
|
106
|
+
readonly FLOWCHART_CARD: "flowChartPunchedCard";
|
|
107
|
+
readonly FLOWCHART_COLLATE: "flowChartCollate";
|
|
108
|
+
readonly FLOWCHART_CONNECTOR: "flowChartConnector";
|
|
109
|
+
readonly FLOWCHART_DATA: "flowChartInputOutput";
|
|
110
|
+
readonly FLOWCHART_DECISION: "flowChartDecision";
|
|
111
|
+
readonly FLOWCHART_DELAY: "flowChartDelay";
|
|
112
|
+
readonly FLOWCHART_DIRECT_ACCESS_STORAGE: "flowChartMagneticDrum";
|
|
113
|
+
readonly FLOWCHART_DISPLAY: "flowChartDisplay";
|
|
114
|
+
readonly FLOWCHART_DOCUMENT: "flowChartDocument";
|
|
115
|
+
readonly FLOWCHART_EXTRACT: "flowChartExtract";
|
|
116
|
+
readonly FLOWCHART_INTERNAL_STORAGE: "flowChartInternalStorage";
|
|
117
|
+
readonly FLOWCHART_MAGNETIC_DISK: "flowChartMagneticDisk";
|
|
118
|
+
readonly FLOWCHART_MANUAL_INPUT: "flowChartManualInput";
|
|
119
|
+
readonly FLOWCHART_MANUAL_OPERATION: "flowChartManualOperation";
|
|
120
|
+
readonly FLOWCHART_MERGE: "flowChartMerge";
|
|
121
|
+
readonly FLOWCHART_MULTIDOCUMENT: "flowChartMultidocument";
|
|
122
|
+
readonly FLOWCHART_OFFLINE_STORAGE: "flowChartOfflineStorage";
|
|
123
|
+
readonly FLOWCHART_OFFPAGE_CONNECTOR: "flowChartOffpageConnector";
|
|
124
|
+
readonly FLOWCHART_OR: "flowChartOr";
|
|
125
|
+
readonly FLOWCHART_PREDEFINED_PROCESS: "flowChartPredefinedProcess";
|
|
126
|
+
readonly FLOWCHART_PREPARATION: "flowChartPreparation";
|
|
127
|
+
readonly FLOWCHART_PROCESS: "flowChartProcess";
|
|
128
|
+
readonly FLOWCHART_PUNCHED_TAPE: "flowChartPunchedTape";
|
|
129
|
+
readonly FLOWCHART_SEQUENTIAL_ACCESS_STORAGE: "flowChartMagneticTape";
|
|
130
|
+
readonly FLOWCHART_SORT: "flowChartSort";
|
|
131
|
+
readonly FLOWCHART_STORED_DATA: "flowChartOnlineStorage";
|
|
132
|
+
readonly FLOWCHART_SUMMING_JUNCTION: "flowChartSummingJunction";
|
|
133
|
+
readonly FLOWCHART_TERMINATOR: "flowChartTerminator";
|
|
134
|
+
readonly FOLDED_CORNER: "foldedCorner";
|
|
135
|
+
readonly FRAME: "frame";
|
|
136
|
+
readonly FUNNEL: "funnel";
|
|
137
|
+
readonly GEAR_6: "gear6";
|
|
138
|
+
readonly GEAR_9: "gear9";
|
|
139
|
+
readonly HALF_FRAME: "halfFrame";
|
|
140
|
+
readonly HEART: "heart";
|
|
141
|
+
readonly HEPTAGON: "heptagon";
|
|
142
|
+
readonly HEXAGON: "hexagon";
|
|
143
|
+
readonly HORIZONTAL_SCROLL: "horizontalScroll";
|
|
58
144
|
readonly ISOSCELES_TRIANGLE: "triangle";
|
|
145
|
+
readonly LEFT_ARROW: "leftArrow";
|
|
146
|
+
readonly LEFT_ARROW_CALLOUT: "leftArrowCallout";
|
|
147
|
+
readonly LEFT_BRACE: "leftBrace";
|
|
148
|
+
readonly LEFT_BRACKET: "leftBracket";
|
|
149
|
+
readonly LEFT_CIRCULAR_ARROW: "leftCircularArrow";
|
|
150
|
+
readonly LEFT_RIGHT_ARROW: "leftRightArrow";
|
|
151
|
+
readonly LEFT_RIGHT_ARROW_CALLOUT: "leftRightArrowCallout";
|
|
152
|
+
readonly LEFT_RIGHT_CIRCULAR_ARROW: "leftRightCircularArrow";
|
|
153
|
+
readonly LEFT_RIGHT_RIBBON: "leftRightRibbon";
|
|
154
|
+
readonly LEFT_RIGHT_UP_ARROW: "leftRightUpArrow";
|
|
155
|
+
readonly LEFT_UP_ARROW: "leftUpArrow";
|
|
156
|
+
readonly LIGHTNING_BOLT: "lightningBolt";
|
|
157
|
+
readonly LINE_CALLOUT_1: "borderCallout1";
|
|
158
|
+
readonly LINE_CALLOUT_1_ACCENT_BAR: "accentCallout1";
|
|
159
|
+
readonly LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR: "accentBorderCallout1";
|
|
160
|
+
readonly LINE_CALLOUT_1_NO_BORDER: "callout1";
|
|
161
|
+
readonly LINE_CALLOUT_2: "borderCallout2";
|
|
162
|
+
readonly LINE_CALLOUT_2_ACCENT_BAR: "accentCallout2";
|
|
163
|
+
readonly LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR: "accentBorderCallout2";
|
|
164
|
+
readonly LINE_CALLOUT_2_NO_BORDER: "callout2";
|
|
165
|
+
readonly LINE_CALLOUT_3: "borderCallout3";
|
|
166
|
+
readonly LINE_CALLOUT_3_ACCENT_BAR: "accentCallout3";
|
|
167
|
+
readonly LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR: "accentBorderCallout3";
|
|
168
|
+
readonly LINE_CALLOUT_3_NO_BORDER: "callout3";
|
|
169
|
+
readonly LINE_CALLOUT_4: "borderCallout3";
|
|
170
|
+
readonly LINE_CALLOUT_4_ACCENT_BAR: "accentCallout3";
|
|
171
|
+
readonly LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR: "accentBorderCallout3";
|
|
172
|
+
readonly LINE_CALLOUT_4_NO_BORDER: "callout3";
|
|
173
|
+
readonly LINE_INVERSE: "lineInv";
|
|
174
|
+
readonly MATH_DIVIDE: "mathDivide";
|
|
175
|
+
readonly MATH_EQUAL: "mathEqual";
|
|
176
|
+
readonly MATH_MINUS: "mathMinus";
|
|
177
|
+
readonly MATH_MULTIPLY: "mathMultiply";
|
|
178
|
+
readonly MATH_NOT_EQUAL: "mathNotEqual";
|
|
179
|
+
readonly MATH_PLUS: "mathPlus";
|
|
180
|
+
readonly MOON: "moon";
|
|
181
|
+
readonly NON_ISOSCELES_TRAPEZOID: "nonIsoscelesTrapezoid";
|
|
182
|
+
readonly NOTCHED_RIGHT_ARROW: "notchedRightArrow";
|
|
183
|
+
readonly NO_SYMBOL: "noSmoking";
|
|
184
|
+
readonly OCTAGON: "octagon";
|
|
185
|
+
readonly OVAL: "ellipse";
|
|
186
|
+
readonly OVAL_CALLOUT: "wedgeEllipseCallout";
|
|
187
|
+
readonly PARALLELOGRAM: "parallelogram";
|
|
188
|
+
readonly PENTAGON: "homePlate";
|
|
189
|
+
readonly PIE: "pie";
|
|
190
|
+
readonly PIE_WEDGE: "pieWedge";
|
|
191
|
+
readonly PLAQUE: "plaque";
|
|
192
|
+
readonly PLAQUE_TABS: "plaqueTabs";
|
|
193
|
+
readonly QUAD_ARROW: "quadArrow";
|
|
194
|
+
readonly QUAD_ARROW_CALLOUT: "quadArrowCallout";
|
|
195
|
+
readonly RECTANGLE: "rect";
|
|
196
|
+
readonly RECTANGULAR_CALLOUT: "wedgeRectCallout";
|
|
197
|
+
readonly REGULAR_PENTAGON: "pentagon";
|
|
59
198
|
readonly RIGHT_ARROW: "rightArrow";
|
|
199
|
+
readonly RIGHT_ARROW_CALLOUT: "rightArrowCallout";
|
|
200
|
+
readonly RIGHT_BRACE: "rightBrace";
|
|
201
|
+
readonly RIGHT_BRACKET: "rightBracket";
|
|
202
|
+
readonly RIGHT_TRIANGLE: "rtTriangle";
|
|
203
|
+
readonly ROUNDED_RECTANGLE: "roundRect";
|
|
204
|
+
readonly ROUNDED_RECTANGULAR_CALLOUT: "wedgeRoundRectCallout";
|
|
205
|
+
readonly ROUND_1_RECTANGLE: "round1Rect";
|
|
206
|
+
readonly ROUND_2_DIAG_RECTANGLE: "round2DiagRect";
|
|
207
|
+
readonly ROUND_2_SAME_RECTANGLE: "round2SameRect";
|
|
208
|
+
readonly SMILEY_FACE: "smileyFace";
|
|
209
|
+
readonly SNIP_1_RECTANGLE: "snip1Rect";
|
|
210
|
+
readonly SNIP_2_DIAG_RECTANGLE: "snip2DiagRect";
|
|
211
|
+
readonly SNIP_2_SAME_RECTANGLE: "snip2SameRect";
|
|
212
|
+
readonly SNIP_ROUND_RECTANGLE: "snipRoundRect";
|
|
213
|
+
readonly SQUARE_TABS: "squareTabs";
|
|
214
|
+
readonly STAR_10_POINT: "star10";
|
|
215
|
+
readonly STAR_12_POINT: "star12";
|
|
216
|
+
readonly STAR_16_POINT: "star16";
|
|
217
|
+
readonly STAR_24_POINT: "star24";
|
|
218
|
+
readonly STAR_32_POINT: "star32";
|
|
219
|
+
readonly STAR_4_POINT: "star4";
|
|
220
|
+
readonly STAR_5_POINT: "star5";
|
|
221
|
+
readonly STAR_6_POINT: "star6";
|
|
222
|
+
readonly STAR_7_POINT: "star7";
|
|
223
|
+
readonly STAR_8_POINT: "star8";
|
|
224
|
+
readonly STRIPED_RIGHT_ARROW: "stripedRightArrow";
|
|
225
|
+
readonly SUN: "sun";
|
|
226
|
+
readonly SWOOSH_ARROW: "swooshArrow";
|
|
227
|
+
readonly TEAR: "teardrop";
|
|
228
|
+
readonly TRAPEZOID: "trapezoid";
|
|
229
|
+
readonly UP_ARROW: "upArrow";
|
|
230
|
+
readonly UP_ARROW_CALLOUT: "upArrowCallout";
|
|
231
|
+
readonly UP_DOWN_ARROW: "upDownArrow";
|
|
232
|
+
readonly UP_DOWN_ARROW_CALLOUT: "upDownArrowCallout";
|
|
233
|
+
readonly UP_RIBBON: "ribbon2";
|
|
234
|
+
readonly U_TURN_ARROW: "uturnArrow";
|
|
235
|
+
readonly VERTICAL_SCROLL: "verticalScroll";
|
|
236
|
+
readonly WAVE: "wave";
|
|
60
237
|
};
|
|
61
|
-
/** A connector's kind (`add_connector`). */
|
|
238
|
+
/** A connector's kind (`add_connector`), python-pptx's: a straight line, an elbow, a curve. */
|
|
62
239
|
export declare const MSO_CONNECTOR: {
|
|
63
240
|
readonly STRAIGHT: "line";
|
|
241
|
+
readonly ELBOW: "bentConnector3";
|
|
242
|
+
readonly CURVE: "curvedConnector3";
|
|
64
243
|
};
|
|
65
244
|
/** A line's dashes (`line.dash_style`). */
|
|
66
245
|
export declare const MSO_LINE: {
|
|
@@ -112,6 +291,9 @@ export declare const XL_CHART_TYPE: {
|
|
|
112
291
|
readonly AREA_STACKED_100: "area-stacked-100";
|
|
113
292
|
readonly PIE: "pie";
|
|
114
293
|
readonly DOUGHNUT: "doughnut";
|
|
294
|
+
readonly XY_SCATTER: "scatter";
|
|
295
|
+
readonly XY_SCATTER_LINES: "scatter-lines";
|
|
296
|
+
readonly XY_SCATTER_SMOOTH: "scatter-smooth";
|
|
115
297
|
};
|
|
116
298
|
/** Where a chart's legend is. */
|
|
117
299
|
export declare const XL_LEGEND_POSITION: {
|
|
@@ -136,6 +318,7 @@ export declare const XL_LABEL_POSITION: {
|
|
|
136
318
|
export declare const MSO_FILL: {
|
|
137
319
|
readonly SOLID: "solid";
|
|
138
320
|
readonly BACKGROUND: "background";
|
|
321
|
+
readonly GRADIENT: "gradient";
|
|
139
322
|
};
|
|
140
323
|
export type FillType = (typeof MSO_FILL)[keyof typeof MSO_FILL];
|
|
141
324
|
/** The theme's fonts as a run names them (`+mj-lt`, `+mn-lt`). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{strictEnum as
|
|
2
|
+
import{strictEnum as _}from"./strict.js";export const MSO_THEME_COLOR=_("MSO_THEME_COLOR",{DARK_1:"dk1",LIGHT_1:"lt1",DARK_2:"dk2",LIGHT_2:"lt2",ACCENT_1:"accent1",ACCENT_2:"accent2",ACCENT_3:"accent3",ACCENT_4:"accent4",ACCENT_5:"accent5",ACCENT_6:"accent6",HYPERLINK:"hlink",FOLLOWED_HYPERLINK:"folHlink",TEXT_1:"dk1",BACKGROUND_1:"lt1",TEXT_2:"dk2",BACKGROUND_2:"lt2"}),PP_ALIGN=_("PP_ALIGN",{LEFT:"l",CENTER:"ctr",RIGHT:"r",JUSTIFY:"just"}),MSO_ANCHOR=_("MSO_ANCHOR",{TOP:"t",MIDDLE:"ctr",BOTTOM:"b"}),MSO_AUTO_SIZE=_("MSO_AUTO_SIZE",{NONE:"none",SHAPE_TO_FIT_TEXT:"shape",TEXT_TO_FIT_SHAPE:"text"}),PP_PLACEHOLDER=_("PP_PLACEHOLDER",{TITLE:"title",CENTER_TITLE:"ctrTitle",SUBTITLE:"subTitle",BODY:"body",PICTURE:"pic",MEDIA_CLIP:"media",OBJECT:"obj",DATE:"dt",FOOTER:"ftr",SLIDE_NUMBER:"sldNum"}),MSO_SHAPE=_("MSO_SHAPE",{ACTION_BUTTON_BACK_OR_PREVIOUS:"actionButtonBackPrevious",ACTION_BUTTON_BEGINNING:"actionButtonBeginning",ACTION_BUTTON_CUSTOM:"actionButtonBlank",ACTION_BUTTON_DOCUMENT:"actionButtonDocument",ACTION_BUTTON_END:"actionButtonEnd",ACTION_BUTTON_FORWARD_OR_NEXT:"actionButtonForwardNext",ACTION_BUTTON_HELP:"actionButtonHelp",ACTION_BUTTON_HOME:"actionButtonHome",ACTION_BUTTON_INFORMATION:"actionButtonInformation",ACTION_BUTTON_MOVIE:"actionButtonMovie",ACTION_BUTTON_RETURN:"actionButtonReturn",ACTION_BUTTON_SOUND:"actionButtonSound",ARC:"arc",BALLOON:"wedgeRoundRectCallout",BENT_ARROW:"bentArrow",BENT_UP_ARROW:"bentUpArrow",BEVEL:"bevel",BLOCK_ARC:"blockArc",CAN:"can",CHART_PLUS:"chartPlus",CHART_STAR:"chartStar",CHART_X:"chartX",CHEVRON:"chevron",CHORD:"chord",CIRCULAR_ARROW:"circularArrow",CLOUD:"cloud",CLOUD_CALLOUT:"cloudCallout",CORNER:"corner",CORNER_TABS:"cornerTabs",CROSS:"plus",CUBE:"cube",CURVED_DOWN_ARROW:"curvedDownArrow",CURVED_DOWN_RIBBON:"ellipseRibbon",CURVED_LEFT_ARROW:"curvedLeftArrow",CURVED_RIGHT_ARROW:"curvedRightArrow",CURVED_UP_ARROW:"curvedUpArrow",CURVED_UP_RIBBON:"ellipseRibbon2",DECAGON:"decagon",DIAGONAL_STRIPE:"diagStripe",DIAMOND:"diamond",DODECAGON:"dodecagon",DONUT:"donut",DOUBLE_BRACE:"bracePair",DOUBLE_BRACKET:"bracketPair",DOUBLE_WAVE:"doubleWave",DOWN_ARROW:"downArrow",DOWN_ARROW_CALLOUT:"downArrowCallout",DOWN_RIBBON:"ribbon",EXPLOSION1:"irregularSeal1",EXPLOSION2:"irregularSeal2",FLOWCHART_ALTERNATE_PROCESS:"flowChartAlternateProcess",FLOWCHART_CARD:"flowChartPunchedCard",FLOWCHART_COLLATE:"flowChartCollate",FLOWCHART_CONNECTOR:"flowChartConnector",FLOWCHART_DATA:"flowChartInputOutput",FLOWCHART_DECISION:"flowChartDecision",FLOWCHART_DELAY:"flowChartDelay",FLOWCHART_DIRECT_ACCESS_STORAGE:"flowChartMagneticDrum",FLOWCHART_DISPLAY:"flowChartDisplay",FLOWCHART_DOCUMENT:"flowChartDocument",FLOWCHART_EXTRACT:"flowChartExtract",FLOWCHART_INTERNAL_STORAGE:"flowChartInternalStorage",FLOWCHART_MAGNETIC_DISK:"flowChartMagneticDisk",FLOWCHART_MANUAL_INPUT:"flowChartManualInput",FLOWCHART_MANUAL_OPERATION:"flowChartManualOperation",FLOWCHART_MERGE:"flowChartMerge",FLOWCHART_MULTIDOCUMENT:"flowChartMultidocument",FLOWCHART_OFFLINE_STORAGE:"flowChartOfflineStorage",FLOWCHART_OFFPAGE_CONNECTOR:"flowChartOffpageConnector",FLOWCHART_OR:"flowChartOr",FLOWCHART_PREDEFINED_PROCESS:"flowChartPredefinedProcess",FLOWCHART_PREPARATION:"flowChartPreparation",FLOWCHART_PROCESS:"flowChartProcess",FLOWCHART_PUNCHED_TAPE:"flowChartPunchedTape",FLOWCHART_SEQUENTIAL_ACCESS_STORAGE:"flowChartMagneticTape",FLOWCHART_SORT:"flowChartSort",FLOWCHART_STORED_DATA:"flowChartOnlineStorage",FLOWCHART_SUMMING_JUNCTION:"flowChartSummingJunction",FLOWCHART_TERMINATOR:"flowChartTerminator",FOLDED_CORNER:"foldedCorner",FRAME:"frame",FUNNEL:"funnel",GEAR_6:"gear6",GEAR_9:"gear9",HALF_FRAME:"halfFrame",HEART:"heart",HEPTAGON:"heptagon",HEXAGON:"hexagon",HORIZONTAL_SCROLL:"horizontalScroll",ISOSCELES_TRIANGLE:"triangle",LEFT_ARROW:"leftArrow",LEFT_ARROW_CALLOUT:"leftArrowCallout",LEFT_BRACE:"leftBrace",LEFT_BRACKET:"leftBracket",LEFT_CIRCULAR_ARROW:"leftCircularArrow",LEFT_RIGHT_ARROW:"leftRightArrow",LEFT_RIGHT_ARROW_CALLOUT:"leftRightArrowCallout",LEFT_RIGHT_CIRCULAR_ARROW:"leftRightCircularArrow",LEFT_RIGHT_RIBBON:"leftRightRibbon",LEFT_RIGHT_UP_ARROW:"leftRightUpArrow",LEFT_UP_ARROW:"leftUpArrow",LIGHTNING_BOLT:"lightningBolt",LINE_CALLOUT_1:"borderCallout1",LINE_CALLOUT_1_ACCENT_BAR:"accentCallout1",LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR:"accentBorderCallout1",LINE_CALLOUT_1_NO_BORDER:"callout1",LINE_CALLOUT_2:"borderCallout2",LINE_CALLOUT_2_ACCENT_BAR:"accentCallout2",LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR:"accentBorderCallout2",LINE_CALLOUT_2_NO_BORDER:"callout2",LINE_CALLOUT_3:"borderCallout3",LINE_CALLOUT_3_ACCENT_BAR:"accentCallout3",LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR:"accentBorderCallout3",LINE_CALLOUT_3_NO_BORDER:"callout3",LINE_CALLOUT_4:"borderCallout3",LINE_CALLOUT_4_ACCENT_BAR:"accentCallout3",LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR:"accentBorderCallout3",LINE_CALLOUT_4_NO_BORDER:"callout3",LINE_INVERSE:"lineInv",MATH_DIVIDE:"mathDivide",MATH_EQUAL:"mathEqual",MATH_MINUS:"mathMinus",MATH_MULTIPLY:"mathMultiply",MATH_NOT_EQUAL:"mathNotEqual",MATH_PLUS:"mathPlus",MOON:"moon",NON_ISOSCELES_TRAPEZOID:"nonIsoscelesTrapezoid",NOTCHED_RIGHT_ARROW:"notchedRightArrow",NO_SYMBOL:"noSmoking",OCTAGON:"octagon",OVAL:"ellipse",OVAL_CALLOUT:"wedgeEllipseCallout",PARALLELOGRAM:"parallelogram",PENTAGON:"homePlate",PIE:"pie",PIE_WEDGE:"pieWedge",PLAQUE:"plaque",PLAQUE_TABS:"plaqueTabs",QUAD_ARROW:"quadArrow",QUAD_ARROW_CALLOUT:"quadArrowCallout",RECTANGLE:"rect",RECTANGULAR_CALLOUT:"wedgeRectCallout",REGULAR_PENTAGON:"pentagon",RIGHT_ARROW:"rightArrow",RIGHT_ARROW_CALLOUT:"rightArrowCallout",RIGHT_BRACE:"rightBrace",RIGHT_BRACKET:"rightBracket",RIGHT_TRIANGLE:"rtTriangle",ROUNDED_RECTANGLE:"roundRect",ROUNDED_RECTANGULAR_CALLOUT:"wedgeRoundRectCallout",ROUND_1_RECTANGLE:"round1Rect",ROUND_2_DIAG_RECTANGLE:"round2DiagRect",ROUND_2_SAME_RECTANGLE:"round2SameRect",SMILEY_FACE:"smileyFace",SNIP_1_RECTANGLE:"snip1Rect",SNIP_2_DIAG_RECTANGLE:"snip2DiagRect",SNIP_2_SAME_RECTANGLE:"snip2SameRect",SNIP_ROUND_RECTANGLE:"snipRoundRect",SQUARE_TABS:"squareTabs",STAR_10_POINT:"star10",STAR_12_POINT:"star12",STAR_16_POINT:"star16",STAR_24_POINT:"star24",STAR_32_POINT:"star32",STAR_4_POINT:"star4",STAR_5_POINT:"star5",STAR_6_POINT:"star6",STAR_7_POINT:"star7",STAR_8_POINT:"star8",STRIPED_RIGHT_ARROW:"stripedRightArrow",SUN:"sun",SWOOSH_ARROW:"swooshArrow",TEAR:"teardrop",TRAPEZOID:"trapezoid",UP_ARROW:"upArrow",UP_ARROW_CALLOUT:"upArrowCallout",UP_DOWN_ARROW:"upDownArrow",UP_DOWN_ARROW_CALLOUT:"upDownArrowCallout",UP_RIBBON:"ribbon2",U_TURN_ARROW:"uturnArrow",VERTICAL_SCROLL:"verticalScroll",WAVE:"wave"}),MSO_CONNECTOR=_("MSO_CONNECTOR",{STRAIGHT:"line",ELBOW:"bentConnector3",CURVE:"curvedConnector3"}),MSO_LINE=_("MSO_LINE",{SOLID:"solid",SQUARE_DOT:"sysDash",ROUND_DOT:"sysDot",DASH:"dash",DASH_DOT:"dashDot",DASH_DOT_DOT:"lgDashDotDot",LONG_DASH:"lgDash",LONG_DASH_DOT:"lgDashDot"}),MSO_ARROWHEAD=_("MSO_ARROWHEAD",{NONE:"none",TRIANGLE:"triangle",OPEN:"arrow",STEALTH:"stealth",DIAMOND:"diamond",OVAL:"oval"}),MSO_SHAPE_TYPE=_("MSO_SHAPE_TYPE",{AUTO_SHAPE:"autoshape",FREEFORM:"freeform",GROUP:"group",LINE:"line",TABLE:"table",CHART:"chart",MEDIA:"movie",PICTURE:"picture",PLACEHOLDER:"placeholder",TEXT_BOX:"textbox",COMPONENT:"component"}),XL_CHART_TYPE=_("XL_CHART_TYPE",{COLUMN_CLUSTERED:"column-clustered",COLUMN_STACKED:"column-stacked",COLUMN_STACKED_100:"column-stacked-100",BAR_CLUSTERED:"bar-clustered",BAR_STACKED:"bar-stacked",BAR_STACKED_100:"bar-stacked-100",LINE:"line",LINE_MARKERS:"line-markers",AREA:"area",AREA_STACKED:"area-stacked",AREA_STACKED_100:"area-stacked-100",PIE:"pie",DOUGHNUT:"doughnut",XY_SCATTER:"scatter",XY_SCATTER_LINES:"scatter-lines",XY_SCATTER_SMOOTH:"scatter-smooth"}),XL_LEGEND_POSITION=_("XL_LEGEND_POSITION",{BOTTOM:"bottom",TOP:"top",LEFT:"left",RIGHT:"right"}),XL_LABEL_POSITION=_("XL_LABEL_POSITION",{ABOVE:"t",BELOW:"b",BEST_FIT:"bestFit",CENTER:"ctr",INSIDE_BASE:"inBase",INSIDE_END:"inEnd",LEFT:"l",OUTSIDE_END:"outEnd",RIGHT:"r"}),MSO_FILL=_("MSO_FILL",{SOLID:"solid",BACKGROUND:"background",GRADIENT:"gradient"}),THEME_FONT=_("THEME_FONT",{MAJOR:"+mj-lt",MINOR:"+mn-lt"});
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { type AnimationFile, type ShapeFile, type TransitionFile, type SlideFile, type SlidesFile } from "@allyhub-next/formats";
|
|
1
|
+
import { type AnimationFile, type BackgroundFile, type ShapeFile, type TransitionFile, type SlideFile, type SlidesFile } from "@allyhub-next/formats";
|
|
2
|
+
import { type Document } from "yaml";
|
|
2
3
|
export interface FileProblem {
|
|
3
4
|
/** Where in the file, as `slides.2.shapes.Title.frame`. */
|
|
4
5
|
path: string;
|
|
5
6
|
line?: number;
|
|
6
7
|
message: string;
|
|
7
8
|
}
|
|
8
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* slides.yaml's text read: its slides, or none when it is not the format;
|
|
11
|
+
* the slides of it that are (`readable`, every slide that is the format,
|
|
12
|
+
* the first of two of one id), so what else is wrong can be found in the
|
|
13
|
+
* same pass; every problem; and the line of any path.
|
|
14
|
+
*/
|
|
9
15
|
export declare function readSlidesFile(text: string): {
|
|
10
16
|
file?: SlidesFile;
|
|
17
|
+
/** The slides that are the format, and the line of a path in them. */
|
|
18
|
+
readable?: {
|
|
19
|
+
file: SlidesFile;
|
|
20
|
+
lineOf: (path: string) => number | undefined;
|
|
21
|
+
};
|
|
11
22
|
problems: FileProblem[];
|
|
12
23
|
lineOf: (path: string) => number | undefined;
|
|
13
24
|
};
|
|
@@ -58,6 +69,17 @@ export type SlidesEdit =
|
|
|
58
69
|
slide: string;
|
|
59
70
|
shape: string;
|
|
60
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* A shape named on the slide or not: a layout's date, footer and slide
|
|
74
|
+
* number show where slides.yaml names them (`slide-number: {}`). Shown,
|
|
75
|
+
* its entry is there, empty if it had none; not, it is taken away.
|
|
76
|
+
*/
|
|
77
|
+
| {
|
|
78
|
+
op: "show";
|
|
79
|
+
slide: string;
|
|
80
|
+
shape: string;
|
|
81
|
+
shown: boolean;
|
|
82
|
+
}
|
|
61
83
|
/** A shape's changes taken away: it is its layout's again. */
|
|
62
84
|
| {
|
|
63
85
|
op: "reset";
|
|
@@ -75,9 +97,28 @@ export type SlidesEdit =
|
|
|
75
97
|
op: "transition";
|
|
76
98
|
slide: string;
|
|
77
99
|
transition?: TransitionFile;
|
|
100
|
+
}
|
|
101
|
+
/** When a show goes on from it by itself, seconds; none takes it away. */
|
|
102
|
+
| {
|
|
103
|
+
op: "advance";
|
|
104
|
+
slide: string;
|
|
105
|
+
after?: number;
|
|
106
|
+
}
|
|
107
|
+
/** Its own background over its layout's; none takes it away. */
|
|
108
|
+
| {
|
|
109
|
+
op: "background";
|
|
110
|
+
slide: string;
|
|
111
|
+
background?: BackgroundFile;
|
|
78
112
|
};
|
|
79
113
|
/** slides.yaml's text after an edit. */
|
|
80
114
|
export declare function editSlidesFile(text: string | undefined, edit: SlidesEdit): string;
|
|
115
|
+
/**
|
|
116
|
+
* An edit made on slides.yaml's parsed document, in place: only the nodes
|
|
117
|
+
* it changes are touched, so an editor that keeps the document edits a
|
|
118
|
+
* long file in the time one slide takes. False when it changed nothing
|
|
119
|
+
* (its slide is not there).
|
|
120
|
+
*/
|
|
121
|
+
export declare function editSlidesDocument(doc: Document, edit: SlidesEdit): boolean;
|
|
81
122
|
/** An id or a name no slide or shape has yet, from a stem: `cover`, `cover-2`… */
|
|
82
123
|
export declare function freeName(taken: Iterable<string>, stem: string): string;
|
|
83
124
|
/**
|
|
@@ -87,23 +128,4 @@ export declare function freeName(taken: Iterable<string>, stem: string): string;
|
|
|
87
128
|
* another hand changed from `a`, they are `b`'s changes kept.
|
|
88
129
|
*/
|
|
89
130
|
export declare function slidesEdits(a: SlidesFile, b: SlidesFile): SlidesEdit[];
|
|
90
|
-
/** Where a person's change met another hand's: the person's stands. */
|
|
91
|
-
export interface SlidesConflict {
|
|
92
|
-
slide: string;
|
|
93
|
-
shape?: string;
|
|
94
|
-
/** The field both changed (`frame`, `text.size`, `layout`); absent when the other hand removed what the person changed. */
|
|
95
|
-
field?: string;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* A person's slides.yaml (`mine`, what the editor holds, made from
|
|
99
|
-
* `base`) merged into the file as another hand left it (`theirs`): the
|
|
100
|
-
* person's changes made over theirs, so what the other hand changed
|
|
101
|
-
* elsewhere stands, and where both changed one value the person's does,
|
|
102
|
-
* said in `conflicts`. Undefined when theirs is not a slides.yaml a merge
|
|
103
|
-
* can read: the person mends it, or the other hand does.
|
|
104
|
-
*/
|
|
105
|
-
export declare function mergeSlides(base: string, mine: SlidesFile, theirs: string): {
|
|
106
|
-
text: string;
|
|
107
|
-
conflicts: SlidesConflict[];
|
|
108
|
-
} | undefined;
|
|
109
131
|
//# sourceMappingURL=file.d.ts.map
|