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
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as t}from"zod";import{THEME_COLORS as o}from"./slides.js";const e=t.number(),s=t.union([t.enum(o),t.strictObject({theme_color:t.enum(o),brightness:t.number().min(-1).max(1)}),t.strictObject({rgb:t.string().regex(/^#?[0-9A-Fa-f]{6}$/u)})]),i=t.strictObject({left:e,top:e,width:e,height:e}),c=t.looseObject({text:t.string()}),n=t.looseObject({level:t.number().int().min(0).max(8),runs:t.array(c)}),l=t.looseObject({paragraphs:t.array(n),levels:t.array(t.looseObject({}))}),r=t.looseObject({name:t.string(),kind:t.enum(["placeholder","textbox","picture","movie","autoshape","table","chart","component"]),frame:i.optional(),placeholder:t.strictObject({type:t.string(),idx:t.number().int()}).optional(),text:l.optional(),media:t.looseObject({path:t.string(),base:t.string()}).optional(),component:t.strictObject({name:t.string(),props:t.record(t.string(),t.unknown())}).optional()}),p=t.looseObject({name:t.string(),master:t.string(),shapes:t.array(r)}),m=t.looseObject({name:t.string(),background:s,text_styles:t.strictObject({title:t.array(t.looseObject({})),body:t.array(t.looseObject({})),other:t.array(t.looseObject({}))}),shapes:t.array(r),layouts:t.array(p)}),a=t.lazy(()=>t.looseObject({type:t.string(),optional:t.boolean().optional(),of:a.optional(),fields:t.record(t.string(),a).optional(),kind:t.string().optional()})),g=t.looseObject({id:t.string(),layout:t.string(),shapes:t.array(r),text:t.record(t.string(),t.array(n)),notes:t.string().optional()});export const DeckCodeSchema=t.strictObject({slide_width:e.positive(),slide_height:e.positive(),theme:t.strictObject({name:t.string().optional(),colors:t.partialRecord(t.enum(o),t.string()).optional(),fonts:t.record(t.string(),t.string()).optional()}).optional(),masters:t.array(m),components:t.record(t.string(),t.strictObject({props:t.record(t.string(),a)})),generators:t.record(t.string(),t.union([t.array(g),t.strictObject({error:t.string(),stack:t.string().optional()})]))});
|
|
@@ -18,11 +18,13 @@ export declare const ScriptPartSchema: z.ZodObject<{
|
|
|
18
18
|
}, z.core.$strict>;
|
|
19
19
|
/**
|
|
20
20
|
* A deck's slide in its script: the words of its shapes by their names
|
|
21
|
-
* (a list is a shape's paragraphs) and its speaker
|
|
21
|
+
* (a list is a shape's paragraphs), their alternative text and its speaker
|
|
22
|
+
* notes.
|
|
22
23
|
*/
|
|
23
24
|
export declare const ScriptSlideSchema: z.ZodObject<{
|
|
24
25
|
id: z.ZodString;
|
|
25
26
|
text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
|
|
27
|
+
alt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26
28
|
notes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
27
29
|
declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
28
30
|
selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -44,6 +46,7 @@ export declare const ScriptFileSchema: z.ZodObject<{
|
|
|
44
46
|
slides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
45
47
|
id: z.ZodString;
|
|
46
48
|
text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
|
|
49
|
+
alt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
47
50
|
notes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
48
51
|
declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
49
52
|
selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{SpokenSchema as d,VariantsSchema as i}from"./messages.js";export const SCRIPT_NAME=/^[A-Za-z0-9_-]+$/u;const
|
|
2
|
+
import{z as t}from"zod";import{SpokenSchema as d,VariantsSchema as i}from"./messages.js";export const SCRIPT_NAME=/^[A-Za-z0-9_-]+$/u;const r=t.string().regex(SCRIPT_NAME,"A name is letters, digits, _ and -.");export const ScriptTextSchema=t.lazy(()=>t.union([t.string(),d,i,t.array(ScriptTextSchema),t.record(r,ScriptTextSchema)])),ScriptPartSchema=t.strictObject({id:r,say:t.union([t.string(),i]).optional(),screen:t.record(r,ScriptTextSchema).optional()}),ScriptSlideSchema=t.strictObject({id:r,text:t.record(r,ScriptTextSchema).optional(),alt:t.record(r,t.string()).optional(),notes:t.union([t.string(),i]).optional()}),ScriptFileSchema=t.strictObject({title:t.string().optional(),text:t.record(r,ScriptTextSchema).optional(),parts:t.array(ScriptPartSchema).default([]),slides:t.array(ScriptSlideSchema).default([])}).superRefine((o,s)=>{const c=new Set;o.parts.forEach((e,a)=>{c.has(e.id)&&s.addIssue({code:"custom",path:["parts",a,"id"],message:`Two parts are "${e.id}".`}),c.add(e.id)});const n=new Set;o.slides.forEach((e,a)=>{n.has(e.id)&&s.addIssue({code:"custom",path:["slides",a,"id"],message:`Two slides are "${e.id}".`}),n.add(e.id)})}),scriptFileFor=(o,s)=>`${o}/script.${s}.yaml`;export function scriptLocale(o){return/(?:^|\/)script\.([A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*)\.yaml$/u.exec(o)?.[1]}
|
|
@@ -786,6 +786,7 @@ declare const ColumnEntry: z.ZodObject<{
|
|
|
786
786
|
}, z.core.$strict>>;
|
|
787
787
|
width: z.ZodOptional<z.ZodNumber>;
|
|
788
788
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
789
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
789
790
|
}, z.core.$strict>;
|
|
790
791
|
export type SheetColumn = z.output<typeof ColumnEntry>;
|
|
791
792
|
declare const RowEntry: z.ZodObject<{
|
|
@@ -927,6 +928,7 @@ declare const RowEntry: z.ZodObject<{
|
|
|
927
928
|
}, z.core.$strict>>;
|
|
928
929
|
height: z.ZodOptional<z.ZodNumber>;
|
|
929
930
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
931
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
930
932
|
}, z.core.$strict>;
|
|
931
933
|
export type SheetRow = z.output<typeof RowEntry>;
|
|
932
934
|
/** A filter over a range of the sheet, as Excel's AutoFilter: by column letter, what each keeps. */
|
|
@@ -1605,9 +1607,9 @@ declare const Validation: z.ZodObject<{
|
|
|
1605
1607
|
list: "list";
|
|
1606
1608
|
date: "date";
|
|
1607
1609
|
custom: "custom";
|
|
1608
|
-
time: "time";
|
|
1609
1610
|
whole: "whole";
|
|
1610
1611
|
decimal: "decimal";
|
|
1612
|
+
time: "time";
|
|
1611
1613
|
textLength: "textLength";
|
|
1612
1614
|
}>;
|
|
1613
1615
|
operator: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1670,6 +1672,7 @@ export type SheetChartAxis = z.output<typeof ChartAxis>;
|
|
|
1670
1672
|
declare const Chart: z.ZodObject<{
|
|
1671
1673
|
type: z.ZodEnum<{
|
|
1672
1674
|
line: "line";
|
|
1675
|
+
pie: "pie";
|
|
1673
1676
|
"column-clustered": "column-clustered";
|
|
1674
1677
|
"column-stacked": "column-stacked";
|
|
1675
1678
|
"column-stacked-100": "column-stacked-100";
|
|
@@ -1680,7 +1683,6 @@ declare const Chart: z.ZodObject<{
|
|
|
1680
1683
|
area: "area";
|
|
1681
1684
|
"area-stacked": "area-stacked";
|
|
1682
1685
|
"area-stacked-100": "area-stacked-100";
|
|
1683
|
-
pie: "pie";
|
|
1684
1686
|
doughnut: "doughnut";
|
|
1685
1687
|
scatter: "scatter";
|
|
1686
1688
|
"scatter-lines": "scatter-lines";
|
|
@@ -1716,14 +1718,14 @@ declare const Chart: z.ZodObject<{
|
|
|
1716
1718
|
series: z.ZodOptional<z.ZodBoolean>;
|
|
1717
1719
|
format: z.ZodOptional<z.ZodString>;
|
|
1718
1720
|
position: z.ZodOptional<z.ZodEnum<{
|
|
1719
|
-
t: "t";
|
|
1720
|
-
r: "r";
|
|
1721
1721
|
l: "l";
|
|
1722
1722
|
ctr: "ctr";
|
|
1723
|
+
r: "r";
|
|
1724
|
+
t: "t";
|
|
1725
|
+
b: "b";
|
|
1723
1726
|
outEnd: "outEnd";
|
|
1724
1727
|
inEnd: "inEnd";
|
|
1725
1728
|
inBase: "inBase";
|
|
1726
|
-
b: "b";
|
|
1727
1729
|
bestFit: "bestFit";
|
|
1728
1730
|
}>>;
|
|
1729
1731
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1740,7 +1742,7 @@ declare const Chart: z.ZodObject<{
|
|
|
1740
1742
|
accent6: "accent6";
|
|
1741
1743
|
hlink: "hlink";
|
|
1742
1744
|
folHlink: "folHlink";
|
|
1743
|
-
}>, z.ZodString]>>;
|
|
1745
|
+
}>, z.ZodString, z.ZodString]>>;
|
|
1744
1746
|
}, z.core.$strict>]>>;
|
|
1745
1747
|
gap_width: z.ZodOptional<z.ZodNumber>;
|
|
1746
1748
|
overlap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1771,6 +1773,101 @@ declare const Chart: z.ZodObject<{
|
|
|
1771
1773
|
color: z.ZodOptional<z.ZodString>;
|
|
1772
1774
|
}, z.core.$strict>;
|
|
1773
1775
|
export type SheetChart = z.output<typeof Chart>;
|
|
1776
|
+
/** Excel's paper sizes people use, by their `paperSize` in a file. */
|
|
1777
|
+
export declare const SHEET_PAPERS: {
|
|
1778
|
+
readonly letter: 1;
|
|
1779
|
+
readonly tabloid: 3;
|
|
1780
|
+
readonly ledger: 4;
|
|
1781
|
+
readonly legal: 5;
|
|
1782
|
+
readonly executive: 7;
|
|
1783
|
+
readonly a3: 8;
|
|
1784
|
+
readonly a4: 9;
|
|
1785
|
+
readonly a5: 11;
|
|
1786
|
+
readonly b4: 12;
|
|
1787
|
+
readonly b5: 13;
|
|
1788
|
+
};
|
|
1789
|
+
/** A sheet's page margins where `print.margins` says nothing: Excel's Normal, in inches. */
|
|
1790
|
+
export declare const SHEET_MARGINS: {
|
|
1791
|
+
readonly left: 0.7;
|
|
1792
|
+
readonly right: 0.7;
|
|
1793
|
+
readonly top: 0.75;
|
|
1794
|
+
readonly bottom: 0.75;
|
|
1795
|
+
readonly header: 0.3;
|
|
1796
|
+
readonly footer: 0.3;
|
|
1797
|
+
};
|
|
1798
|
+
/** Who a note is by when it says no one. */
|
|
1799
|
+
export declare const SHEET_NOTE_AUTHOR = "AllyHub";
|
|
1800
|
+
declare const HeaderFooter: z.ZodObject<{
|
|
1801
|
+
left: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
center: z.ZodOptional<z.ZodString>;
|
|
1803
|
+
right: z.ZodOptional<z.ZodString>;
|
|
1804
|
+
}, z.core.$strict>;
|
|
1805
|
+
export type SheetHeaderFooter = z.output<typeof HeaderFooter>;
|
|
1806
|
+
/** How a sheet prints: Excel's Page Layout. */
|
|
1807
|
+
declare const Print: z.ZodObject<{
|
|
1808
|
+
area: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
title_rows: z.ZodOptional<z.ZodString>;
|
|
1810
|
+
title_cols: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
1812
|
+
portrait: "portrait";
|
|
1813
|
+
landscape: "landscape";
|
|
1814
|
+
}>>;
|
|
1815
|
+
paper: z.ZodOptional<z.ZodEnum<{
|
|
1816
|
+
letter: "letter";
|
|
1817
|
+
tabloid: "tabloid";
|
|
1818
|
+
ledger: "ledger";
|
|
1819
|
+
legal: "legal";
|
|
1820
|
+
executive: "executive";
|
|
1821
|
+
a3: "a3";
|
|
1822
|
+
a4: "a4";
|
|
1823
|
+
a5: "a5";
|
|
1824
|
+
b4: "b4";
|
|
1825
|
+
b5: "b5";
|
|
1826
|
+
}>>;
|
|
1827
|
+
fit: z.ZodOptional<z.ZodObject<{
|
|
1828
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1829
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1830
|
+
}, z.core.$strict>>;
|
|
1831
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
+
breaks: z.ZodOptional<z.ZodObject<{
|
|
1833
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1834
|
+
cols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1835
|
+
}, z.core.$strict>>;
|
|
1836
|
+
margins: z.ZodOptional<z.ZodObject<{
|
|
1837
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
1838
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
1839
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
1840
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
1841
|
+
header: z.ZodOptional<z.ZodNumber>;
|
|
1842
|
+
footer: z.ZodOptional<z.ZodNumber>;
|
|
1843
|
+
}, z.core.$strict>>;
|
|
1844
|
+
header: z.ZodOptional<z.ZodObject<{
|
|
1845
|
+
left: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
center: z.ZodOptional<z.ZodString>;
|
|
1847
|
+
right: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
}, z.core.$strict>>;
|
|
1849
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
1850
|
+
left: z.ZodOptional<z.ZodString>;
|
|
1851
|
+
center: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
right: z.ZodOptional<z.ZodString>;
|
|
1853
|
+
}, z.core.$strict>>;
|
|
1854
|
+
}, z.core.$strict>;
|
|
1855
|
+
export type SheetPrint = z.output<typeof Print>;
|
|
1856
|
+
/** A picture over the cells: anchored as a chart is. */
|
|
1857
|
+
declare const Picture: z.ZodObject<{
|
|
1858
|
+
file: z.ZodString;
|
|
1859
|
+
at: z.ZodString;
|
|
1860
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
1861
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
1862
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1864
|
+
}, z.core.$strict>;
|
|
1865
|
+
export type SheetPicture = z.output<typeof Picture>;
|
|
1866
|
+
declare const Note: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1867
|
+
text: z.ZodString;
|
|
1868
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
}, z.core.$strict>]>;
|
|
1870
|
+
export type SheetNote = z.output<typeof Note>;
|
|
1774
1871
|
declare const Worksheet: z.ZodObject<{
|
|
1775
1872
|
name: z.ZodString;
|
|
1776
1873
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2077,6 +2174,7 @@ declare const Worksheet: z.ZodObject<{
|
|
|
2077
2174
|
}, z.core.$strict>>;
|
|
2078
2175
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2079
2176
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2177
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
2080
2178
|
}, z.core.$strict>>>;
|
|
2081
2179
|
rows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2082
2180
|
format: z.ZodOptional<z.ZodString>;
|
|
@@ -2217,6 +2315,7 @@ declare const Worksheet: z.ZodObject<{
|
|
|
2217
2315
|
}, z.core.$strict>>;
|
|
2218
2316
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2219
2317
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2318
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
2220
2319
|
}, z.core.$strict>>>;
|
|
2221
2320
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>, z.ZodObject<{
|
|
2222
2321
|
format: z.ZodOptional<z.ZodString>;
|
|
@@ -3152,9 +3251,9 @@ declare const Worksheet: z.ZodObject<{
|
|
|
3152
3251
|
list: "list";
|
|
3153
3252
|
date: "date";
|
|
3154
3253
|
custom: "custom";
|
|
3155
|
-
time: "time";
|
|
3156
3254
|
whole: "whole";
|
|
3157
3255
|
decimal: "decimal";
|
|
3256
|
+
time: "time";
|
|
3158
3257
|
textLength: "textLength";
|
|
3159
3258
|
}>;
|
|
3160
3259
|
operator: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3192,6 +3291,7 @@ declare const Worksheet: z.ZodObject<{
|
|
|
3192
3291
|
charts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3193
3292
|
type: z.ZodEnum<{
|
|
3194
3293
|
line: "line";
|
|
3294
|
+
pie: "pie";
|
|
3195
3295
|
"column-clustered": "column-clustered";
|
|
3196
3296
|
"column-stacked": "column-stacked";
|
|
3197
3297
|
"column-stacked-100": "column-stacked-100";
|
|
@@ -3202,7 +3302,6 @@ declare const Worksheet: z.ZodObject<{
|
|
|
3202
3302
|
area: "area";
|
|
3203
3303
|
"area-stacked": "area-stacked";
|
|
3204
3304
|
"area-stacked-100": "area-stacked-100";
|
|
3205
|
-
pie: "pie";
|
|
3206
3305
|
doughnut: "doughnut";
|
|
3207
3306
|
scatter: "scatter";
|
|
3208
3307
|
"scatter-lines": "scatter-lines";
|
|
@@ -3238,14 +3337,14 @@ declare const Worksheet: z.ZodObject<{
|
|
|
3238
3337
|
series: z.ZodOptional<z.ZodBoolean>;
|
|
3239
3338
|
format: z.ZodOptional<z.ZodString>;
|
|
3240
3339
|
position: z.ZodOptional<z.ZodEnum<{
|
|
3241
|
-
t: "t";
|
|
3242
|
-
r: "r";
|
|
3243
3340
|
l: "l";
|
|
3244
3341
|
ctr: "ctr";
|
|
3342
|
+
r: "r";
|
|
3343
|
+
t: "t";
|
|
3344
|
+
b: "b";
|
|
3245
3345
|
outEnd: "outEnd";
|
|
3246
3346
|
inEnd: "inEnd";
|
|
3247
3347
|
inBase: "inBase";
|
|
3248
|
-
b: "b";
|
|
3249
3348
|
bestFit: "bestFit";
|
|
3250
3349
|
}>>;
|
|
3251
3350
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3262,7 +3361,7 @@ declare const Worksheet: z.ZodObject<{
|
|
|
3262
3361
|
accent6: "accent6";
|
|
3263
3362
|
hlink: "hlink";
|
|
3264
3363
|
folHlink: "folHlink";
|
|
3265
|
-
}>, z.ZodString]>>;
|
|
3364
|
+
}>, z.ZodString, z.ZodString]>>;
|
|
3266
3365
|
}, z.core.$strict>]>>;
|
|
3267
3366
|
gap_width: z.ZodOptional<z.ZodNumber>;
|
|
3268
3367
|
overlap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3292,6 +3391,70 @@ declare const Worksheet: z.ZodObject<{
|
|
|
3292
3391
|
title_size: z.ZodOptional<z.ZodNumber>;
|
|
3293
3392
|
color: z.ZodOptional<z.ZodString>;
|
|
3294
3393
|
}, z.core.$strict>>>;
|
|
3394
|
+
pictures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3395
|
+
file: z.ZodString;
|
|
3396
|
+
at: z.ZodString;
|
|
3397
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
3398
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
3399
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3400
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3401
|
+
}, z.core.$strict>>>;
|
|
3402
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3403
|
+
notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3404
|
+
text: z.ZodString;
|
|
3405
|
+
author: z.ZodOptional<z.ZodString>;
|
|
3406
|
+
}, z.core.$strict>]>>>;
|
|
3407
|
+
print: z.ZodOptional<z.ZodObject<{
|
|
3408
|
+
area: z.ZodOptional<z.ZodString>;
|
|
3409
|
+
title_rows: z.ZodOptional<z.ZodString>;
|
|
3410
|
+
title_cols: z.ZodOptional<z.ZodString>;
|
|
3411
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
3412
|
+
portrait: "portrait";
|
|
3413
|
+
landscape: "landscape";
|
|
3414
|
+
}>>;
|
|
3415
|
+
paper: z.ZodOptional<z.ZodEnum<{
|
|
3416
|
+
letter: "letter";
|
|
3417
|
+
tabloid: "tabloid";
|
|
3418
|
+
ledger: "ledger";
|
|
3419
|
+
legal: "legal";
|
|
3420
|
+
executive: "executive";
|
|
3421
|
+
a3: "a3";
|
|
3422
|
+
a4: "a4";
|
|
3423
|
+
a5: "a5";
|
|
3424
|
+
b4: "b4";
|
|
3425
|
+
b5: "b5";
|
|
3426
|
+
}>>;
|
|
3427
|
+
fit: z.ZodOptional<z.ZodObject<{
|
|
3428
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3429
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3430
|
+
}, z.core.$strict>>;
|
|
3431
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
3432
|
+
breaks: z.ZodOptional<z.ZodObject<{
|
|
3433
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3434
|
+
cols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3435
|
+
}, z.core.$strict>>;
|
|
3436
|
+
margins: z.ZodOptional<z.ZodObject<{
|
|
3437
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
3438
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
3439
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
3440
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
3441
|
+
header: z.ZodOptional<z.ZodNumber>;
|
|
3442
|
+
footer: z.ZodOptional<z.ZodNumber>;
|
|
3443
|
+
}, z.core.$strict>>;
|
|
3444
|
+
header: z.ZodOptional<z.ZodObject<{
|
|
3445
|
+
left: z.ZodOptional<z.ZodString>;
|
|
3446
|
+
center: z.ZodOptional<z.ZodString>;
|
|
3447
|
+
right: z.ZodOptional<z.ZodString>;
|
|
3448
|
+
}, z.core.$strict>>;
|
|
3449
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
3450
|
+
left: z.ZodOptional<z.ZodString>;
|
|
3451
|
+
center: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
right: z.ZodOptional<z.ZodString>;
|
|
3453
|
+
}, z.core.$strict>>;
|
|
3454
|
+
}, z.core.$strict>>;
|
|
3455
|
+
protect: z.ZodOptional<z.ZodBoolean>;
|
|
3456
|
+
names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>>>;
|
|
3457
|
+
hidden_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3295
3458
|
}, z.core.$strict>;
|
|
3296
3459
|
export type SheetWorksheet = z.output<typeof Worksheet>;
|
|
3297
3460
|
declare const Check: z.ZodObject<{
|
|
@@ -3303,6 +3466,7 @@ export type SheetCheck = z.output<typeof Check>;
|
|
|
3303
3466
|
export declare const SheetFileSchema: z.ZodObject<{
|
|
3304
3467
|
title: z.ZodOptional<z.ZodString>;
|
|
3305
3468
|
names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>>>;
|
|
3469
|
+
hidden_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3306
3470
|
sheets: z.ZodArray<z.ZodObject<{
|
|
3307
3471
|
name: z.ZodString;
|
|
3308
3472
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3609,6 +3773,7 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
3609
3773
|
}, z.core.$strict>>;
|
|
3610
3774
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3611
3775
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3776
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
3612
3777
|
}, z.core.$strict>>>;
|
|
3613
3778
|
rows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3614
3779
|
format: z.ZodOptional<z.ZodString>;
|
|
@@ -3749,6 +3914,7 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
3749
3914
|
}, z.core.$strict>>;
|
|
3750
3915
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3751
3916
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3917
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
3752
3918
|
}, z.core.$strict>>>;
|
|
3753
3919
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>, z.ZodObject<{
|
|
3754
3920
|
format: z.ZodOptional<z.ZodString>;
|
|
@@ -4684,9 +4850,9 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
4684
4850
|
list: "list";
|
|
4685
4851
|
date: "date";
|
|
4686
4852
|
custom: "custom";
|
|
4687
|
-
time: "time";
|
|
4688
4853
|
whole: "whole";
|
|
4689
4854
|
decimal: "decimal";
|
|
4855
|
+
time: "time";
|
|
4690
4856
|
textLength: "textLength";
|
|
4691
4857
|
}>;
|
|
4692
4858
|
operator: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4724,6 +4890,7 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
4724
4890
|
charts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4725
4891
|
type: z.ZodEnum<{
|
|
4726
4892
|
line: "line";
|
|
4893
|
+
pie: "pie";
|
|
4727
4894
|
"column-clustered": "column-clustered";
|
|
4728
4895
|
"column-stacked": "column-stacked";
|
|
4729
4896
|
"column-stacked-100": "column-stacked-100";
|
|
@@ -4734,7 +4901,6 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
4734
4901
|
area: "area";
|
|
4735
4902
|
"area-stacked": "area-stacked";
|
|
4736
4903
|
"area-stacked-100": "area-stacked-100";
|
|
4737
|
-
pie: "pie";
|
|
4738
4904
|
doughnut: "doughnut";
|
|
4739
4905
|
scatter: "scatter";
|
|
4740
4906
|
"scatter-lines": "scatter-lines";
|
|
@@ -4770,14 +4936,14 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
4770
4936
|
series: z.ZodOptional<z.ZodBoolean>;
|
|
4771
4937
|
format: z.ZodOptional<z.ZodString>;
|
|
4772
4938
|
position: z.ZodOptional<z.ZodEnum<{
|
|
4773
|
-
t: "t";
|
|
4774
|
-
r: "r";
|
|
4775
4939
|
l: "l";
|
|
4776
4940
|
ctr: "ctr";
|
|
4941
|
+
r: "r";
|
|
4942
|
+
t: "t";
|
|
4943
|
+
b: "b";
|
|
4777
4944
|
outEnd: "outEnd";
|
|
4778
4945
|
inEnd: "inEnd";
|
|
4779
4946
|
inBase: "inBase";
|
|
4780
|
-
b: "b";
|
|
4781
4947
|
bestFit: "bestFit";
|
|
4782
4948
|
}>>;
|
|
4783
4949
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4794,7 +4960,7 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
4794
4960
|
accent6: "accent6";
|
|
4795
4961
|
hlink: "hlink";
|
|
4796
4962
|
folHlink: "folHlink";
|
|
4797
|
-
}>, z.ZodString]>>;
|
|
4963
|
+
}>, z.ZodString, z.ZodString]>>;
|
|
4798
4964
|
}, z.core.$strict>]>>;
|
|
4799
4965
|
gap_width: z.ZodOptional<z.ZodNumber>;
|
|
4800
4966
|
overlap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4824,6 +4990,70 @@ export declare const SheetFileSchema: z.ZodObject<{
|
|
|
4824
4990
|
title_size: z.ZodOptional<z.ZodNumber>;
|
|
4825
4991
|
color: z.ZodOptional<z.ZodString>;
|
|
4826
4992
|
}, z.core.$strict>>>;
|
|
4993
|
+
pictures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4994
|
+
file: z.ZodString;
|
|
4995
|
+
at: z.ZodString;
|
|
4996
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
4997
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
4998
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4999
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5000
|
+
}, z.core.$strict>>>;
|
|
5001
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5002
|
+
notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5003
|
+
text: z.ZodString;
|
|
5004
|
+
author: z.ZodOptional<z.ZodString>;
|
|
5005
|
+
}, z.core.$strict>]>>>;
|
|
5006
|
+
print: z.ZodOptional<z.ZodObject<{
|
|
5007
|
+
area: z.ZodOptional<z.ZodString>;
|
|
5008
|
+
title_rows: z.ZodOptional<z.ZodString>;
|
|
5009
|
+
title_cols: z.ZodOptional<z.ZodString>;
|
|
5010
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
5011
|
+
portrait: "portrait";
|
|
5012
|
+
landscape: "landscape";
|
|
5013
|
+
}>>;
|
|
5014
|
+
paper: z.ZodOptional<z.ZodEnum<{
|
|
5015
|
+
letter: "letter";
|
|
5016
|
+
tabloid: "tabloid";
|
|
5017
|
+
ledger: "ledger";
|
|
5018
|
+
legal: "legal";
|
|
5019
|
+
executive: "executive";
|
|
5020
|
+
a3: "a3";
|
|
5021
|
+
a4: "a4";
|
|
5022
|
+
a5: "a5";
|
|
5023
|
+
b4: "b4";
|
|
5024
|
+
b5: "b5";
|
|
5025
|
+
}>>;
|
|
5026
|
+
fit: z.ZodOptional<z.ZodObject<{
|
|
5027
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5028
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5029
|
+
}, z.core.$strict>>;
|
|
5030
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
5031
|
+
breaks: z.ZodOptional<z.ZodObject<{
|
|
5032
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5033
|
+
cols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5034
|
+
}, z.core.$strict>>;
|
|
5035
|
+
margins: z.ZodOptional<z.ZodObject<{
|
|
5036
|
+
left: z.ZodOptional<z.ZodNumber>;
|
|
5037
|
+
right: z.ZodOptional<z.ZodNumber>;
|
|
5038
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
5039
|
+
bottom: z.ZodOptional<z.ZodNumber>;
|
|
5040
|
+
header: z.ZodOptional<z.ZodNumber>;
|
|
5041
|
+
footer: z.ZodOptional<z.ZodNumber>;
|
|
5042
|
+
}, z.core.$strict>>;
|
|
5043
|
+
header: z.ZodOptional<z.ZodObject<{
|
|
5044
|
+
left: z.ZodOptional<z.ZodString>;
|
|
5045
|
+
center: z.ZodOptional<z.ZodString>;
|
|
5046
|
+
right: z.ZodOptional<z.ZodString>;
|
|
5047
|
+
}, z.core.$strict>>;
|
|
5048
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
5049
|
+
left: z.ZodOptional<z.ZodString>;
|
|
5050
|
+
center: z.ZodOptional<z.ZodString>;
|
|
5051
|
+
right: z.ZodOptional<z.ZodString>;
|
|
5052
|
+
}, z.core.$strict>>;
|
|
5053
|
+
}, z.core.$strict>>;
|
|
5054
|
+
protect: z.ZodOptional<z.ZodBoolean>;
|
|
5055
|
+
names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>>>;
|
|
5056
|
+
hidden_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4827
5057
|
}, z.core.$strict>>;
|
|
4828
5058
|
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4829
5059
|
name: z.ZodString;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as
|
|
2
|
+
import{z as t}from"zod";import{CHART_LEGEND_POSITIONS as h,ChartSchema as e,SHEET_CHART_TYPES as y}from"./slides.js";export const SHEET_FILE="sheet.yaml",SHEET_DATA="data",SHEET_CODE="sheet.ts",SHEET_FILES="files",SHEET_SEPARATOR=", ",SHEET_PICTURE_HEIGHT=60;const o=t.string().regex(/^#[0-9a-fA-F]{6}$/u,"A colour is #RRGGBB.");export const SHEET_ALIGNS=["general","left","center","right","fill","justify","centerContinuous","distributed"],SHEET_VALIGNS=["top","center","bottom","justify","distributed"],SHEET_UNDERLINES=["single","double","singleAccounting","doubleAccounting"],SHEET_BORDERS=["none","thin","medium","thick","double","hair","dotted","dashed","dashDot","dashDotDot","mediumDashed","mediumDashDot","mediumDashDotDot","slantDashDot"],SHEET_PATTERNS=["solid","darkDown","darkGray","darkGrid","darkHorizontal","darkTrellis","darkUp","darkVertical","gray0625","gray125","lightDown","lightGray","lightGrid","lightHorizontal","lightTrellis","lightUp","lightVertical","mediumGray"];const l=t.strictObject({style:t.enum(SHEET_BORDERS),color:o.optional()}),m={bold:t.boolean().optional(),italic:t.boolean().optional(),underline:t.union([t.boolean(),t.enum(SHEET_UNDERLINES)]).optional(),strike:t.boolean().optional(),font:t.string().min(1).optional(),size:t.number().positive().optional(),color:o.optional(),fill:t.union([o,t.strictObject({pattern:t.enum(SHEET_PATTERNS),color:o.optional(),background:o.optional()})]).optional(),align:t.enum(SHEET_ALIGNS).optional(),valign:t.enum(SHEET_VALIGNS).optional(),wrap:t.boolean().optional(),shrink:t.boolean().optional(),indent:t.number().int().min(0).optional(),rotation:t.number().int().min(-90).max(180).optional(),border:t.strictObject({left:l.optional(),right:l.optional(),top:l.optional(),bottom:l.optional()}).optional()},a={...m,format:t.string().min(1).optional()},r=t.union([t.number(),t.boolean(),t.string(),t.null()]),E=t.strictObject({value:r.optional(),formula:t.string().min(1).optional(),name:t.string().min(1).optional(),...a}).refine(c=>c.value===void 0||c.formula===void 0,{message:"A cell has a value or a formula, not both."}),O=t.union([r,E]),f=t.strictObject({range:t.string().min(1),...a}),b=t.union([t.literal(!0),t.strictObject({separator:t.string().min(1).optional(),height:t.number().positive().optional()})]),S=t.strictObject({formula:t.string().min(1).optional(),...a,width:t.number().positive().optional(),files:b.optional()}),u=t.strictObject({values:t.array(t.string()).optional(),blanks:t.boolean().optional()}),x=t.strictObject({name:t.string().min(1),at:t.string().min(1),rows:t.string().min(1),key:t.string().min(1).optional(),style:t.string().min(1).optional(),columns:t.record(t.string(),S).optional(),filter:t.union([t.literal(!1),t.strictObject({columns:t.record(t.string(),u)})]).optional()}),j=t.strictObject({at:t.string().min(1),rows:t.string().min(1)}),T=t.strictObject({width:t.number().positive().optional(),hidden:t.boolean().optional(),level:t.number().int().min(1).max(7).optional(),...a,files:b.optional()}),_=t.strictObject({height:t.number().positive().optional(),hidden:t.boolean().optional(),level:t.number().int().min(1).max(7).optional(),...a}),v=t.strictObject({range:t.string().min(1),columns:t.record(t.string(),u).optional()});export const SHEET_OPERATORS=["between","notBetween","equal","notEqual","greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual"];const p=t.union([t.number(),t.string()]),i={bold:t.boolean().optional(),italic:t.boolean().optional(),underline:t.boolean().optional(),strike:t.boolean().optional(),color:o.optional(),fill:o.optional(),border:m.border},n={range:t.string().min(1),stop:t.boolean().optional()},s=t.strictObject({at:t.enum(["min","max","num","percent","percentile","formula"]),value:p.optional()});export const SHEET_ICONS=["3Arrows","3ArrowsGray","3Flags","3TrafficLights1","3TrafficLights2","3Signs","3Symbols","3Symbols2","4Arrows","4ArrowsGray","4RedToBlack","4Rating","4TrafficLights","5Arrows","5ArrowsGray","5Rating","5Quarters"];const w=t.discriminatedUnion("type",[t.strictObject({...n,...i,type:t.literal("cellIs"),operator:t.enum(SHEET_OPERATORS),formula:t.array(p).min(1).max(2)}),t.strictObject({...n,...i,type:t.literal("containsText"),operator:t.enum(["contains","notContains","beginsWith","endsWith"]).optional(),text:t.string()}),t.strictObject({...n,...i,type:t.enum(["duplicateValues","uniqueValues"])}),t.strictObject({...n,...i,type:t.literal("top10"),rank:t.number().int().positive(),percent:t.boolean().optional(),bottom:t.boolean().optional()}),t.strictObject({...n,...i,type:t.literal("aboveAverage"),below:t.boolean().optional(),equal:t.boolean().optional()}),t.strictObject({...n,...i,type:t.literal("expression"),formula:t.string().min(1)}),t.strictObject({...n,type:t.literal("dataBar"),color:o,min:s.optional(),max:s.optional(),show:t.boolean().optional()}),t.strictObject({...n,type:t.literal("colorScale"),stops:t.array(t.strictObject({...s.shape,color:o})).min(2).max(3)}),t.strictObject({...n,type:t.literal("iconSet"),icons:t.enum(SHEET_ICONS),stops:t.array(s).min(3).max(5).optional(),reverse:t.boolean().optional(),show:t.boolean().optional()})]);export const SHEET_VALIDATIONS=["whole","decimal","list","date","time","textLength","custom"];const A=t.strictObject({range:t.string().min(1),type:t.enum(SHEET_VALIDATIONS),operator:t.enum(SHEET_OPERATORS).optional(),formula:t.array(p).max(2).optional(),values:t.array(t.string()).optional(),multiple:t.boolean().optional(),separator:t.string().min(1).optional(),blank:t.boolean().optional(),dropdown:t.boolean().optional(),prompt:t.strictObject({title:t.string().optional(),message:t.string().optional(),show:t.boolean().optional()}).optional(),error:t.strictObject({style:t.enum(["stop","warning","information"]).optional(),title:t.string().optional(),message:t.string().optional(),show:t.boolean().optional()}).optional()}),k=t.strictObject({values:t.string().min(1),x:t.string().min(1).optional(),name:t.string().optional(),color:o.optional(),format:t.string().min(1).optional(),smooth:t.boolean().optional(),line_width:t.number().positive().optional(),marker_size:t.number().int().min(2).max(72).optional()}),g=t.strictObject({title:t.string().optional(),min:t.number().optional(),max:t.number().optional(),major:t.number().positive().optional(),gridlines:t.boolean().optional(),visible:t.boolean().optional(),format:t.string().min(1).optional(),reverse:t.boolean().optional()}),H=t.strictObject({type:t.enum(y),at:t.string().min(1),x:t.number().min(0).optional(),y:t.number().min(0).optional(),width:t.number().positive().optional(),height:t.number().positive().optional(),title:t.string().optional(),categories:t.string().min(1).optional(),series:t.array(k).min(1),legend:t.enum(h).optional(),labels:e.shape.labels,gap_width:e.shape.gap_width,overlap:e.shape.overlap,vary_by_categories:e.shape.vary_by_categories,hole_size:e.shape.hole_size,value_axis:g.optional(),category_axis:g.optional(),size:t.number().positive().optional(),title_size:t.number().positive().optional(),color:o.optional()});export const SHEET_PAPERS={letter:1,tabloid:3,ledger:4,legal:5,executive:7,a3:8,a4:9,a5:11,b4:12,b5:13},SHEET_MARGINS={left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},SHEET_NOTE_AUTHOR="AllyHub";const d=t.strictObject({left:t.string().optional(),center:t.string().optional(),right:t.string().optional()}),R=t.strictObject({area:t.string().min(1).optional(),title_rows:t.string().regex(/^\d+:\d+$/u).optional(),title_cols:t.string().regex(/^[A-Za-z]+:[A-Za-z]+$/u).optional(),orientation:t.enum(["portrait","landscape"]).optional(),paper:t.enum(Object.keys(SHEET_PAPERS)).optional(),fit:t.strictObject({width:t.number().int().min(0).optional(),height:t.number().int().min(0).optional()}).optional(),scale:t.number().int().min(10).max(400).optional(),breaks:t.strictObject({rows:t.array(t.number().int().min(2)).optional(),cols:t.array(t.string().regex(/^[A-Za-z]+$/u)).optional()}).optional(),margins:t.strictObject({left:t.number().min(0).optional(),right:t.number().min(0).optional(),top:t.number().min(0).optional(),bottom:t.number().min(0).optional(),header:t.number().min(0).optional(),footer:t.number().min(0).optional()}).optional(),header:d.optional(),footer:d.optional()}),C=t.strictObject({file:t.string().min(1),at:t.string().min(1),x:t.number().min(0).optional(),y:t.number().min(0).optional(),width:t.number().positive().optional(),height:t.number().positive().optional()}),D=t.union([t.string().min(1),t.strictObject({text:t.string().min(1),author:t.string().optional()})]),G=t.strictObject({name:t.string().min(1),hidden:t.boolean().optional(),gridlines:t.boolean().optional(),tab:o.optional(),freeze:t.string().min(1).optional(),tables:t.array(x).optional(),columns:t.record(t.string(),T).optional(),rows:t.record(t.string(),_).optional(),cells:t.record(t.string(),O).optional(),format:t.array(f).optional(),merges:t.array(t.string().min(1)).optional(),blocks:t.array(j).optional(),filter:v.optional(),conditional:t.array(w).optional(),validations:t.array(A).optional(),charts:t.array(H).optional(),pictures:t.array(C).optional(),links:t.record(t.string(),t.string().min(1)).optional(),notes:t.record(t.string(),D).optional(),print:R.optional(),protect:t.boolean().optional(),names:t.record(t.string(),r).optional(),hidden_names:t.array(t.string().min(1)).optional()}),I=t.strictObject({name:t.string().min(1),formula:t.string().min(1)});export const SheetFileSchema=t.strictObject({title:t.string().optional(),names:t.record(t.string(),r).optional(),hidden_names:t.array(t.string().min(1)).optional(),sheets:t.array(G).min(1),checks:t.array(I).optional(),scenarios:t.record(t.string(),t.record(t.string(),r)).optional()});
|