@allyhub/sdk 0.7.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +149 -0
- package/NOTICE +46 -49
- package/dist/dom.d.ts +1 -209
- package/dist/dom.js +1 -1
- package/dist/image.d.ts +2 -0
- package/dist/image.js +2 -0
- package/dist/index.d.ts +1 -21
- package/dist/index.js +1 -1
- package/dist/media.d.ts +1 -5
- package/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/audio/dist/levels.d.ts +96 -0
- package/dist/node_modules/@allyhub/audio/dist/levels.js +2 -0
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.d.ts +26 -0
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/audio/package.json +17 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +33 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
- package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +206 -0
- package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
- package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
- package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +14 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +38 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +585 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/script.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +5076 -0
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +2608 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +21 -0
- package/dist/node_modules/@allyhub/formats/dist/data/website.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
- package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +27 -0
- package/dist/node_modules/@allyhub/formats/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +256 -0
- package/dist/node_modules/@allyhub/formats/dist/items.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +62 -0
- package/dist/node_modules/@allyhub/formats/dist/layout.js +5 -0
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +2745 -0
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +2 -0
- package/dist/node_modules/@allyhub/formats/package.json +15 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.d.ts +5 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/contrast.d.ts +13 -0
- package/dist/node_modules/@allyhub/image-draw/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.d.ts +112 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.d.ts +20 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.d.ts +110 -0
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/guards.d.ts +32 -0
- package/dist/node_modules/@allyhub/image-draw/dist/guards.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.d.ts +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.d.ts +113 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.d.ts +151 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.d.ts +29 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/pictures.d.ts +39 -0
- package/dist/node_modules/@allyhub/image-draw/dist/pictures.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.d.ts +52 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.d.ts +145 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.d.ts +26 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.d.ts +56 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/styles.d.ts +35 -0
- package/dist/node_modules/@allyhub/image-draw/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/tone.d.ts +53 -0
- package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
- package/dist/node_modules/@allyhub/image-measure/dist/contrast.d.ts +43 -0
- package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-measure/dist/layout.d.ts +186 -0
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
- package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.d.ts +13 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.d.ts +119 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.d.ts +210 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.d.ts +21 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.d.ts +17 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.d.ts +166 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.d.ts +6 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/messages.d.ts +40 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.d.ts +59 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/props.d.ts +124 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.d.ts +34 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.d.ts +16 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.d.ts +38 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
- package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
- package/dist/node_modules/@allyhub/measure/dist/image.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/measure/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/measure/package.json +13 -0
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +31 -0
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +2 -0
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +71 -0
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +2 -0
- package/dist/node_modules/@allyhub/ooxml/package.json +26 -0
- package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/dist/component.d.ts +70 -0
- package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
- package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
- package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
- package/dist/node_modules/@allyhub/piece/dist/gen.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
- package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
- package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
- package/dist/node_modules/@allyhub/piece/dist/page/locate.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
- package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/package.json +18 -0
- package/dist/node_modules/@allyhub/protocol/LICENSE +241 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +478 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +30 -0
- package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +119 -0
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +66 -0
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +327 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +651 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +103 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +303 -0
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
- package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +28 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
- package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +213 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +191 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +109 -0
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +297 -0
- package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +447 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
- package/dist/node_modules/@allyhub/protocol/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +524 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/protocol/package.json +14 -0
- package/dist/node_modules/@allyhub/runtimes/LICENSE +241 -0
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +10 -0
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +38 -0
- package/dist/node_modules/@allyhub/runtimes/dist/download.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +12 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +84 -0
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +73 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +4 -0
- package/dist/node_modules/@allyhub/runtimes/manifest.json +387 -0
- package/dist/node_modules/@allyhub/runtimes/package.json +18 -0
- package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
- package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
- package/dist/node_modules/@allyhub/scenery/LICENSE +241 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +166 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/scenery/package.json +13 -0
- package/dist/node_modules/@allyhub/sheet/LICENSE +241 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +204 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +19 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/code.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +83 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +170 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +117 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +366 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +68 -0
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +82 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +52 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +154 -0
- package/dist/node_modules/@allyhub/sheet/dist/export.js +5 -0
- package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +24 -0
- package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
- package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +24 -0
- package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +32 -0
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +13 -0
- package/dist/node_modules/@allyhub/sheet/dist/import.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +41 -0
- package/dist/node_modules/@allyhub/sheet/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +100 -0
- package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +98 -0
- package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +4 -0
- package/dist/node_modules/@allyhub/sheet/dist/patch.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/sdk.d.ts +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +38 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +32 -0
- package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +26 -0
- package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +324 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +53 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +51 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +159 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +40 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
- package/dist/node_modules/@allyhub/sheet/package.json +25 -0
- package/dist/node_modules/@allyhub/slides-core/LICENSE +241 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +145 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +770 -0
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +219 -0
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +33 -0
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/connect.d.ts +62 -0
- package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.d.ts +208 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +131 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +4 -0
- package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +27 -0
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +36 -0
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +58 -0
- package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +310 -0
- package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +84 -0
- package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +6 -0
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +209 -0
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +45 -0
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +3 -0
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.d.ts +18 -0
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +78 -0
- package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +7 -0
- package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +72 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +59 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/package.json +18 -0
- package/dist/node_modules/@allyhub/video-core/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +147 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +113 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.js +11 -0
- package/dist/node_modules/@allyhub/video-core/dist/check.d.ts +62 -0
- package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +77 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +163 -0
- package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +438 -0
- package/dist/node_modules/@allyhub/video-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +169 -0
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +27 -0
- package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +212 -0
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.d.ts +44 -0
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +56 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +746 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +37 -0
- package/dist/node_modules/@allyhub/video-core/dist/render-types.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +344 -0
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +185 -0
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +213 -0
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +72 -0
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +81 -0
- package/dist/node_modules/@allyhub/video-core/dist/speech.js +5 -0
- package/dist/node_modules/@allyhub/video-core/dist/stage.d.ts +52 -0
- package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +513 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +88 -0
- package/dist/node_modules/@allyhub/video-core/dist/timing.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +288 -0
- package/dist/node_modules/@allyhub/video-core/dist/transcript.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +300 -0
- package/dist/node_modules/@allyhub/video-core/dist/transition.js +2 -0
- package/dist/node_modules/@allyhub/video-core/package.json +14 -0
- package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.d.ts +22 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.d.ts +28 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.d.ts +360 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.d.ts +25 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.d.ts +225 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.d.ts +26 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.d.ts +120 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.d.ts +46 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/scenery.d.ts +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
- package/dist/scenery.d.ts +1 -1
- package/dist/scenery.js +1 -1
- package/dist/sheets.d.ts +1 -1
- package/dist/sheets.js +1 -1
- package/dist/slides.d.ts +1 -9
- package/dist/slides.js +1 -1
- package/docs/README.md +9 -7
- package/docs/batches.md +5 -5
- package/docs/contract.md +2 -2
- package/docs/defaults.md +330 -19
- package/docs/docs.md +209 -48
- package/docs/footage.md +7 -7
- package/docs/image.md +165 -0
- package/docs/layers.md +48 -13
- package/docs/modeling.md +9 -9
- package/docs/pictures.md +65 -0
- package/docs/project.md +53 -33
- package/docs/scenery.md +15 -15
- package/docs/sheets.md +27 -26
- package/docs/slides.md +74 -66
- package/docs/sound.md +3 -3
- package/docs/speech.md +8 -8
- package/docs/video.md +16 -13
- package/docs/websites.md +7 -7
- package/package.json +9 -3
- package/dist/define.d.ts +0 -85
- package/dist/define.js +0 -2
- package/dist/free.d.ts +0 -18
- package/dist/free.js +0 -2
- package/dist/input.d.ts +0 -306
- package/dist/input.js +0 -2
- package/dist/messages.d.ts +0 -40
- package/dist/module.d.ts +0 -23
- package/dist/module.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/audio/dist/levels.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/package.json +0 -17
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +0 -204
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/chart/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/chart/package.json +0 -14
- package/dist/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +0 -94
- package/dist/node_modules/@allyhub-next/formats/dist/data/comments.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +0 -590
- package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +0 -62
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -5138
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +0 -2520
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +0 -20
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +0 -23
- package/dist/node_modules/@allyhub-next/formats/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +0 -120
- package/dist/node_modules/@allyhub-next/formats/dist/items.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/layout.d.ts +0 -56
- package/dist/node_modules/@allyhub-next/formats/dist/layout.js +0 -5
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -2741
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/package.json +0 -15
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +0 -28
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +0 -2
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +0 -57
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +0 -2
- package/dist/node_modules/@allyhub-next/ooxml/package.json +0 -26
- package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +0 -338
- package/dist/node_modules/@allyhub-next/protocol/dist/account.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +0 -115
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/cli.d.ts +0 -55
- package/dist/node_modules/@allyhub-next/protocol/dist/cli.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +0 -324
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +0 -486
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +0 -101
- package/dist/node_modules/@allyhub-next/protocol/dist/files.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +0 -20
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +0 -185
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +0 -115
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +0 -293
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +0 -396
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +0 -428
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/package.json +0 -14
- package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/download.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -4
- package/dist/node_modules/@allyhub-next/runtimes/manifest.json +0 -469
- package/dist/node_modules/@allyhub-next/runtimes/package.json +0 -18
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -8
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -8
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -128
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -9
- package/dist/node_modules/@allyhub-next/scenery/dist/define.d.ts +0 -164
- package/dist/node_modules/@allyhub-next/scenery/dist/define.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery/package.json +0 -13
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +0 -204
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +0 -83
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +0 -170
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +0 -117
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +0 -362
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +0 -68
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +0 -154
- package/dist/node_modules/@allyhub-next/sheet/dist/export.js +0 -5
- package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/sheet/dist/import.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/sheet/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +0 -98
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +0 -324
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +0 -159
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/package.json +0 -21
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +0 -129
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +0 -726
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +0 -202
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +0 -131
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +0 -309
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +0 -84
- package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +0 -202
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +0 -61
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +0 -62
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/package.json +0 -14
- package/dist/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +0 -164
- package/dist/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +0 -148
- package/dist/node_modules/@allyhub-next/video-core/dist/captions.d.ts +0 -122
- package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +0 -11
- package/dist/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +0 -98
- package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +0 -77
- package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/edits.d.ts +0 -163
- package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/export.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/video-core/dist/export.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +0 -1179
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -168
- package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/formats.d.ts +0 -205
- package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/gen.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/look.d.ts +0 -66
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.d.ts +0 -558
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/media.d.ts +0 -226
- package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/messages.d.ts +0 -88
- package/dist/node_modules/@allyhub-next/video-core/dist/motion.d.ts +0 -56
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +0 -1154
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/placement.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +0 -278
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +0 -350
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +0 -180
- package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +0 -76
- package/dist/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/seams.d.ts +0 -214
- package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/video-core/dist/speech.d.ts +0 -83
- package/dist/node_modules/@allyhub-next/video-core/dist/speech.js +0 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +0 -626
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/timing.d.ts +0 -88
- package/dist/node_modules/@allyhub-next/video-core/dist/timing.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +0 -288
- package/dist/node_modules/@allyhub-next/video-core/dist/transcript.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/transition.d.ts +0 -289
- package/dist/node_modules/@allyhub-next/video-core/dist/transition.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/voice.d.ts +0 -175
- package/dist/node_modules/@allyhub-next/video-core/package.json +0 -14
- package/dist/parts.d.ts +0 -216
- package/dist/parts.js +0 -2
- package/dist/phone.d.ts +0 -26
- package/dist/phone.js +0 -2
- package/dist/piece.d.ts +0 -110
- package/dist/piece.js +0 -2
- package/dist/props.d.ts +0 -124
- package/dist/written.js +0 -2
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/formats → @allyhub/diagnostics}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/ooxml → @allyhub/formats}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
- /package/dist/node_modules/{@allyhub-next/protocol → @allyhub/image-draw}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/runtimes → @allyhub/image-measure}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/scenery → @allyhub/image-sdk}/LICENSE +0 -0
- /package/dist/{fit.d.ts → node_modules/@allyhub/image-sdk/dist/fit.d.ts} +0 -0
- /package/dist/{fit.js → node_modules/@allyhub/image-sdk/dist/fit.js} +0 -0
- /package/dist/{messages.js → node_modules/@allyhub/image-sdk/dist/messages.js} +0 -0
- /package/dist/{props.js → node_modules/@allyhub/image-sdk/dist/props.js} +0 -0
- /package/dist/{text.d.ts → node_modules/@allyhub/image-sdk/dist/text.d.ts} +0 -0
- /package/dist/{text.js → node_modules/@allyhub/image-sdk/dist/text.js} +0 -0
- /package/dist/{written.d.ts → node_modules/@allyhub/image-sdk/dist/written.d.ts} +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/measure}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/ooxml}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/anchors.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core/dist/model.js → @allyhub/piece/dist/context.js} +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/contrast.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/look.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/messages.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/source.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/voice.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core/dist/stage.js → @allyhub/slides-core/dist/model.js} +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core/dist/render-types.js → @allyhub/slides-core/dist/stage.js} +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
- /package/dist/{anim.d.ts → node_modules/@allyhub/video-sdk/dist/anim.d.ts} +0 -0
- /package/dist/{anim.js → node_modules/@allyhub/video-sdk/dist/anim.js} +0 -0
- /package/dist/{noise.d.ts → node_modules/@allyhub/video-sdk/dist/noise.d.ts} +0 -0
- /package/dist/{noise.js → node_modules/@allyhub/video-sdk/dist/noise.js} +0 -0
- /package/dist/{paths.d.ts → node_modules/@allyhub/video-sdk/dist/paths.d.ts} +0 -0
- /package/dist/{paths.js → node_modules/@allyhub/video-sdk/dist/paths.js} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { SheetFile, SheetTable } from "@allyhub/formats";
|
|
2
|
+
import { type Place } from "./address.js";
|
|
3
|
+
import { type StructureEdit } from "./formula/rewrite.js";
|
|
4
|
+
import { type CsvRows } from "./workbook.js";
|
|
5
|
+
/** A workbook's files as values. */
|
|
6
|
+
export interface BookValues {
|
|
7
|
+
file: SheetFile;
|
|
8
|
+
rows: ReadonlyMap<string, CsvRows>;
|
|
9
|
+
}
|
|
10
|
+
export interface Restructured {
|
|
11
|
+
file: SheetFile;
|
|
12
|
+
rows: Map<string, CsvRows>;
|
|
13
|
+
/** Why it could not be done; the files are as they were. */
|
|
14
|
+
refused?: RefusedEdit;
|
|
15
|
+
}
|
|
16
|
+
export type RefusedEdit = "table-header" | "last-sheet" | "no-sheet";
|
|
17
|
+
/** What a table is, from sheet.yaml and its file. */
|
|
18
|
+
export interface TableShape {
|
|
19
|
+
at: Place;
|
|
20
|
+
/** The CSV file's header, as it writes it. */
|
|
21
|
+
header: readonly string[];
|
|
22
|
+
/** Its columns' names, those in the file first. */
|
|
23
|
+
names: string[];
|
|
24
|
+
/** The record of each row. */
|
|
25
|
+
places: number[];
|
|
26
|
+
}
|
|
27
|
+
export declare function tableShape(spec: SheetTable, rows: CsvRows): TableShape | undefined;
|
|
28
|
+
/** A column's name no other in the table has: Column1, Column2… */
|
|
29
|
+
export declare function freeColumn(names: readonly string[], stem?: string): string;
|
|
30
|
+
/** A column's name made unlike the others', as Excel makes one: id, id2. */
|
|
31
|
+
export declare function uniqueColumn(names: readonly string[], name: string): string;
|
|
32
|
+
/** A table's file with columns up to `index` in it: what comes after a calculated column needs it there. */
|
|
33
|
+
export declare function withColumnsUpTo(rows: CsvRows, names: readonly string[], index: number): string[][];
|
|
34
|
+
/** A workbook's files after rows or columns are put in or taken out, or a sheet, a table's column renamed or a sheet deleted. */
|
|
35
|
+
export declare function restructure(book: BookValues, edit: StructureEdit): Restructured;
|
|
36
|
+
/** The workbook with a copy of a sheet right after it. */
|
|
37
|
+
export declare function duplicated(book: BookValues, from: string, to: string): Restructured;
|
|
38
|
+
//# sourceMappingURL=structure.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SheetSide } from "@allyhub/formats";
|
|
2
|
+
import type { CellLook, Table } from "./workbook.js";
|
|
3
|
+
/** A line of a part: Excel's border style and colour. */
|
|
4
|
+
export interface TableLine {
|
|
5
|
+
style: SheetSide["style"];
|
|
6
|
+
color: string;
|
|
7
|
+
}
|
|
8
|
+
/** One part of a table style: a fill, a font's weight and colour, its lines. */
|
|
9
|
+
export interface TablePart {
|
|
10
|
+
bold?: boolean;
|
|
11
|
+
color?: string;
|
|
12
|
+
fill?: string;
|
|
13
|
+
/** Its outer sides, and `horizontal` and `vertical`, the lines inside it. */
|
|
14
|
+
border?: Partial<Record<"left" | "right" | "top" | "bottom" | "horizontal" | "vertical", TableLine>>;
|
|
15
|
+
}
|
|
16
|
+
export interface TableStyle {
|
|
17
|
+
whole?: TablePart;
|
|
18
|
+
header?: TablePart;
|
|
19
|
+
stripe?: TablePart;
|
|
20
|
+
stripe2?: TablePart;
|
|
21
|
+
}
|
|
22
|
+
/** A table's style unless it names one, as Excel's new table. */
|
|
23
|
+
export declare const DEFAULT_TABLE_STYLE = "TableStyleMedium2";
|
|
24
|
+
/** The style a table is drawn in; undefined for `none` or a name Excel has not. */
|
|
25
|
+
export declare const tableStyleOf: (table: Table) => TableStyle | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* The look a table's style gives a cell of it, under the cell's own.
|
|
28
|
+
* `band` is which stripe the row is, counted over the rows that show
|
|
29
|
+
* (0 the first); undefined for the header.
|
|
30
|
+
*/
|
|
31
|
+
export declare function tableStyleLook(style: TableStyle, table: Table, row: number, col: number, band: number | undefined): CellLook;
|
|
32
|
+
//# sourceMappingURL=table-style.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type SheetValidation } from "@allyhub/formats";
|
|
2
|
+
import type { Calc } from "./calc/engine.js";
|
|
3
|
+
import { type Scalar } from "./values.js";
|
|
4
|
+
import { type Validation, type Workbook, type Worksheet } from "./workbook.js";
|
|
5
|
+
/** What joins the choices of a cell under a rule. */
|
|
6
|
+
export declare const separatorOf: (spec: SheetValidation) => string;
|
|
7
|
+
/** The choices a cell's text holds, under a list that allows several. */
|
|
8
|
+
export declare function choicesIn(text: string, spec: SheetValidation): string[];
|
|
9
|
+
/** A cell's text for its choices. */
|
|
10
|
+
export declare const joinChoices: (choices: readonly string[], spec: SheetValidation) => string;
|
|
11
|
+
/** A rule's list: what it spells out, or what its range holds. */
|
|
12
|
+
export declare function listValues(calc: Calc, sheet: Worksheet, rule: Validation, row: number, col: number): string[];
|
|
13
|
+
/** Whether a value passes a rule, at the place it would stand. */
|
|
14
|
+
export declare function valid(calc: Calc, sheet: Worksheet, rule: Validation, row: number, col: number, value: Scalar): boolean;
|
|
15
|
+
export interface InvalidCell {
|
|
16
|
+
sheet: string;
|
|
17
|
+
row: number;
|
|
18
|
+
col: number;
|
|
19
|
+
value: Scalar;
|
|
20
|
+
/** The range of the rule it breaks. */
|
|
21
|
+
range: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}
|
|
24
|
+
/** Every cell that breaks its sheet's data validation: facts, never problems. */
|
|
25
|
+
export declare function invalidCells(wb: Workbook, calc: Calc): InvalidCell[];
|
|
26
|
+
//# sourceMappingURL=validate.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{SHEET_SEPARATOR as y}from"@allyhub/formats";import{toBool as g}from"./calc/coerce.js";import{holds as l}from"./rules.js";import{shownValue as d}from"./format.js";import{CellError as x,Matrix as b,readTyped as C}from"./values.js";import{FormulaCell as A}from"./workbook.js";export const separatorOf=e=>e.separator??y;export function choicesIn(e,o){const i=separatorOf(o);return e.split(i.trim()===""?i:i.trim()).map(n=>n.trim()).filter(n=>n!=="")}export const joinChoices=(e,o)=>e.join(separatorOf(o));export function listValues(e,o,i,n,r){const{spec:t}=i;if(t.values)return t.values;const[s]=t.formula??[],[f]=i.formulas;if(!f)return typeof s=="string"?s.split(","):[];const u=e.evaluateAt(f,o,n,r),a=m=>d(m,void 0);return u instanceof b?u.data.map(a).filter(m=>m!==""):u===null?[]:[a(u)]}function E(e,o,i,n,r,t){const s=i.spec.formula?.[n];if(s===void 0)return null;const f=i.formulas[n];if(f){const a=e.evaluateAt(f,o,r,t);return a instanceof b?a.at(0,0):a}if(typeof s=="number")return s;const u=C(s);return u.formula===void 0?u.value:null}function H(e,o,i,n,r,t){const[s]=i.formulas;if(!s)return!0;const f=o.at(n,r),a=e.value(o,n,r)!==t&&!(f instanceof A);a&&e.change([{sheet:o,row:n,col:r,slot:t??void 0}]);const m=e.evaluateAt(s,o,n,r);a&&e.change([{sheet:o,row:n,col:r,slot:f}]);const c=m instanceof b?m.at(0,0):m;return g(c)===!0}export function valid(e,o,i,n,r,t){const{spec:s}=i;if(t===null||t==="")return s.blank!==!1;if(t instanceof x)return!1;const f=s.operator??"between",u=a=>E(e,o,i,a,n,r);switch(s.type){case"list":{const a=d(t,void 0),m=listValues(e,o,i,n,r).map(p=>p.trim()),c=p=>s.values?m.includes(p.trim()):m.some(h=>h.toLowerCase()===p.trim().toLowerCase());return s.multiple===!0?choicesIn(a,s).every(c):c(a)}case"custom":return H(e,o,i,n,r,t);case"textLength":return l(f,(typeof t=="string"?t:d(t)).length,u(0),u(1));case"whole":return typeof t=="number"&&Number.isInteger(t)&&l(f,t,u(0),u(1));case"time":return typeof t=="number"&&t>=0&&t<1&&l(f,t,u(0),u(1));default:return typeof t=="number"&&l(f,t,u(0),u(1))}}function L(e,o,i){const n=Math.min(o.right,e.columnsUsed-1);for(let r=o.left;r<=n;r++){const[t,s]=e.span(r,o.top,o.bottom);for(let f=t;f<=s;f++)e.at(f,r)!==void 0&&i(f,r)}}export function invalidCells(e,o){const i=[];for(const n of e.sheets)for(const r of n.validations)for(const t of r.areas)L(n,t,(s,f)=>{const u=o.value(n,s,f);valid(o,n,r,s,f,u)||i.push({sheet:n.name,row:s,col:f,value:u,range:r.spec.range,type:r.spec.type})});return i}
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import type { SheetChart, SheetConditional, SheetFile, SheetFilesColumn, SheetFilterColumn, SheetFormatEntry, SheetTable, SheetTableColumn, SheetValidation, SheetWorksheet } from "@allyhub/formats";
|
|
2
|
+
import { rangeName, type Area, type Place } from "./address.js";
|
|
3
|
+
import { type SheetProblem, type YamlPath } from "./file.js";
|
|
4
|
+
import { type GeneratedSheets } from "@allyhub/formats";
|
|
5
|
+
import type { Node, ParseError } from "./formula/ast.js";
|
|
6
|
+
import { CellError, type Matrix, type Scalar } from "./values.js";
|
|
7
|
+
/** Where a value is written. */
|
|
8
|
+
export interface Source {
|
|
9
|
+
/** sheet.yaml or a CSV file, from the sheet's folder. */
|
|
10
|
+
file: string;
|
|
11
|
+
/** In a CSV file. */
|
|
12
|
+
line?: number;
|
|
13
|
+
/** In sheet.yaml. */
|
|
14
|
+
path?: YamlPath;
|
|
15
|
+
}
|
|
16
|
+
/** One formula's text and tree, for every cell that holds it. */
|
|
17
|
+
export declare class SharedFormula {
|
|
18
|
+
readonly node: Node | undefined;
|
|
19
|
+
readonly error: ParseError | undefined;
|
|
20
|
+
/** What the engine learned of it: filled in once. */
|
|
21
|
+
analysis: unknown;
|
|
22
|
+
readonly text: string;
|
|
23
|
+
/** The cell it is written for. */
|
|
24
|
+
readonly row: number;
|
|
25
|
+
readonly col: number;
|
|
26
|
+
readonly source: Source;
|
|
27
|
+
constructor(text: string, row: number, col: number, source: Source);
|
|
28
|
+
}
|
|
29
|
+
/** The state of a formula cell's value: 0 fresh, 1 to compute, 2 being computed. */
|
|
30
|
+
export type CellState = 0 | 1 | 2;
|
|
31
|
+
export declare class FormulaCell {
|
|
32
|
+
value: Scalar;
|
|
33
|
+
/** Every value of an array result, the first of which is `value`. */
|
|
34
|
+
array: Matrix | undefined;
|
|
35
|
+
/** The cells its array result covers, itself first, when that is more than one. */
|
|
36
|
+
spill: Area | undefined;
|
|
37
|
+
/** The cells its array result would cover, when something stands in them: its value is #SPILL!. */
|
|
38
|
+
blocked: Area | undefined;
|
|
39
|
+
state: CellState;
|
|
40
|
+
/** The last pass that ordered it. */
|
|
41
|
+
mark: number;
|
|
42
|
+
readonly shared: SharedFormula;
|
|
43
|
+
readonly sheet: Worksheet;
|
|
44
|
+
readonly row: number;
|
|
45
|
+
readonly col: number;
|
|
46
|
+
constructor(shared: SharedFormula, sheet: Worksheet, row: number, col: number);
|
|
47
|
+
/** Its formula's tree as this cell reads it, moved from where it was written. */
|
|
48
|
+
get moved(): Node;
|
|
49
|
+
/** Its formula as this cell reads it, moved from where it was written. */
|
|
50
|
+
get text(): string;
|
|
51
|
+
}
|
|
52
|
+
export type Slot = number | string | boolean | CellError | FormulaCell;
|
|
53
|
+
export interface TableColumn {
|
|
54
|
+
name: string;
|
|
55
|
+
/** Its place in the table, from 0. */
|
|
56
|
+
index: number;
|
|
57
|
+
/** Its place in the CSV file; absent when the file has no such column. */
|
|
58
|
+
csv?: number;
|
|
59
|
+
/** A calculated column's formula. */
|
|
60
|
+
formula?: SharedFormula;
|
|
61
|
+
spec?: SheetTableColumn;
|
|
62
|
+
}
|
|
63
|
+
export declare class Table {
|
|
64
|
+
columns: TableColumn[];
|
|
65
|
+
/** The rows under its header. */
|
|
66
|
+
rows: number;
|
|
67
|
+
/** Each row's line in its CSV file. */
|
|
68
|
+
lines: number[];
|
|
69
|
+
/** Each row's record in its CSV file, the header being 0: blank lines are no rows. */
|
|
70
|
+
places: number[];
|
|
71
|
+
/** Each column's values as the CSV file writes them, by row. */
|
|
72
|
+
records: string[][];
|
|
73
|
+
readonly name: string;
|
|
74
|
+
readonly sheet: Worksheet;
|
|
75
|
+
readonly at: Place;
|
|
76
|
+
readonly file: string;
|
|
77
|
+
readonly spec: SheetTable;
|
|
78
|
+
constructor(name: string, sheet: Worksheet, at: Place, file: string, spec: SheetTable);
|
|
79
|
+
/** Its header and rows. */
|
|
80
|
+
get area(): Area;
|
|
81
|
+
/** Its rows, without its header; bottom is above top when it has none. */
|
|
82
|
+
get data(): Area;
|
|
83
|
+
column(name: string): TableColumn | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface Block {
|
|
86
|
+
area: Area;
|
|
87
|
+
file: string;
|
|
88
|
+
lines: number[];
|
|
89
|
+
}
|
|
90
|
+
/** A conditional format as the sheet holds it: its cells, and its formulas parsed. */
|
|
91
|
+
export interface Condition {
|
|
92
|
+
spec: SheetConditional;
|
|
93
|
+
areas: Area[];
|
|
94
|
+
/** Its bounds or its rule, each written for the first cell. */
|
|
95
|
+
formulas: SharedFormula[];
|
|
96
|
+
}
|
|
97
|
+
/** A data validation as the sheet holds it. */
|
|
98
|
+
export interface Validation {
|
|
99
|
+
spec: SheetValidation;
|
|
100
|
+
areas: Area[];
|
|
101
|
+
/** Its bounds that are formulas, by their place in `spec.formula`. */
|
|
102
|
+
formulas: (SharedFormula | undefined)[];
|
|
103
|
+
}
|
|
104
|
+
/** A chart's series, with where it reads from parsed. */
|
|
105
|
+
export interface ChartSeriesRefs {
|
|
106
|
+
values: SharedFormula;
|
|
107
|
+
x?: SharedFormula;
|
|
108
|
+
/** When it is named by a cell. */
|
|
109
|
+
name?: SharedFormula;
|
|
110
|
+
}
|
|
111
|
+
/** A chart as the sheet holds it: its place, and each reference parsed. */
|
|
112
|
+
export interface Chart {
|
|
113
|
+
spec: SheetChart;
|
|
114
|
+
at: Place;
|
|
115
|
+
/** Its place in `charts`. */
|
|
116
|
+
index: number;
|
|
117
|
+
categories?: SharedFormula;
|
|
118
|
+
/** When its title is a cell's. */
|
|
119
|
+
title?: SharedFormula;
|
|
120
|
+
series: ChartSeriesRefs[];
|
|
121
|
+
}
|
|
122
|
+
/** A filter of a sheet, whichever holds it. */
|
|
123
|
+
export interface Filter {
|
|
124
|
+
/** Its header row and its rows. */
|
|
125
|
+
area: Area;
|
|
126
|
+
table?: Table;
|
|
127
|
+
/** What each column keeps, by its place on the sheet. */
|
|
128
|
+
columns: Map<number, SheetFilterColumn>;
|
|
129
|
+
}
|
|
130
|
+
/** A CSV file as rows, each its fields; a line with nothing on it is a row of none. */
|
|
131
|
+
export type CsvRows = readonly (readonly string[])[];
|
|
132
|
+
interface Fill {
|
|
133
|
+
area: Area;
|
|
134
|
+
/** Its formula, or its value. */
|
|
135
|
+
shared?: SharedFormula;
|
|
136
|
+
value?: Scalar;
|
|
137
|
+
format?: string;
|
|
138
|
+
}
|
|
139
|
+
export declare const placeKey: (row: number, col: number) => number;
|
|
140
|
+
export declare class Worksheet {
|
|
141
|
+
readonly tables: Table[];
|
|
142
|
+
readonly blocks: Block[];
|
|
143
|
+
readonly merges: Area[];
|
|
144
|
+
/** The formula cells of the sheet, once its cells are made. */
|
|
145
|
+
readonly formulas: Set<FormulaCell>;
|
|
146
|
+
/** The format a typed value implies, by place: a date, a percent. */
|
|
147
|
+
readonly implied: Map<number, string>;
|
|
148
|
+
/** Single cells written in sheet.yaml, by place, with their keys. */
|
|
149
|
+
readonly keys: Map<number, string>;
|
|
150
|
+
readonly fills: Fill[];
|
|
151
|
+
/** Cells a key keeps empty inside a fill. */
|
|
152
|
+
readonly blanks: Set<number>;
|
|
153
|
+
/** Its conditional formats, the first the strongest. */
|
|
154
|
+
readonly conditions: Condition[];
|
|
155
|
+
readonly validations: Validation[];
|
|
156
|
+
/** Its AutoFilter and its tables', those with their buttons. */
|
|
157
|
+
readonly filters: Filter[];
|
|
158
|
+
/** Its charts, the last on top. */
|
|
159
|
+
readonly charts: Chart[];
|
|
160
|
+
/** Names that hold on this sheet alone, over the workbook's, in lower case. */
|
|
161
|
+
readonly names: Map<string, DefinedName>;
|
|
162
|
+
freeze: Place | undefined;
|
|
163
|
+
/** The sheet's code makes it: what is on it is not changed by hand. */
|
|
164
|
+
generated: boolean;
|
|
165
|
+
private readonly grid;
|
|
166
|
+
private expanded;
|
|
167
|
+
private lowest;
|
|
168
|
+
/** Cells an array result spills into, by place: the formula cell each is of. */
|
|
169
|
+
private readonly ghosts;
|
|
170
|
+
/** Formula cells that spill. */
|
|
171
|
+
private readonly spills;
|
|
172
|
+
/** Formula cells that would spill, and something stands in the way. */
|
|
173
|
+
private readonly stopped;
|
|
174
|
+
private reach;
|
|
175
|
+
private lookAreas;
|
|
176
|
+
readonly name: string;
|
|
177
|
+
readonly index: number;
|
|
178
|
+
spec: SheetWorksheet;
|
|
179
|
+
constructor(name: string, index: number, spec: SheetWorksheet);
|
|
180
|
+
/** What sheet.yaml says of it after an edit that moved nothing: a look, a cell's key. */
|
|
181
|
+
respec(spec: SheetWorksheet): void;
|
|
182
|
+
/** Sets a cell, as reading the files does. */
|
|
183
|
+
put(row: number, col: number, slot: Slot): void;
|
|
184
|
+
/** Changes a cell after the sheet is read. */
|
|
185
|
+
replace(row: number, col: number, slot: Slot | undefined): void;
|
|
186
|
+
/** Makes the cells its fills cover: an earlier fill never takes a cell a later one has. */
|
|
187
|
+
expand(): void;
|
|
188
|
+
at(row: number, col: number): Slot | undefined;
|
|
189
|
+
/** The formula cell a place's value spilled from; undefined at the formula cell itself. */
|
|
190
|
+
spillAt(row: number, col: number): FormulaCell | undefined;
|
|
191
|
+
/** Whether anything in an area stops a spill from `cell`: a cell of the file, another's spill aside. */
|
|
192
|
+
holds(area: Area, cell: FormulaCell): boolean;
|
|
193
|
+
/** The spills in an area. */
|
|
194
|
+
spillsIn(area: Area): FormulaCell[];
|
|
195
|
+
/** The formula cells whose spill something stands in, and that wanted cells of an area. */
|
|
196
|
+
blockedBy(area: Area): FormulaCell[];
|
|
197
|
+
/** Puts an array result on the sheet. */
|
|
198
|
+
placeSpill(cell: FormulaCell, area: Area): void;
|
|
199
|
+
/** Says a result could not be put on the sheet. */
|
|
200
|
+
blockSpill(cell: FormulaCell, area: Area): void;
|
|
201
|
+
/** Takes an array result off the sheet. How far spills reach is worked out again by `tighten`. */
|
|
202
|
+
clearSpill(cell: FormulaCell): void;
|
|
203
|
+
/** Forgets every spill, for a pass over the whole workbook. */
|
|
204
|
+
clearSpills(): void;
|
|
205
|
+
/** After a pass: how far spills reach is what they cover now. */
|
|
206
|
+
tighten(): void;
|
|
207
|
+
private spillReach;
|
|
208
|
+
/** Whether a column holds a formula. */
|
|
209
|
+
hasFormulas(col: number): boolean;
|
|
210
|
+
/** The rows of a column to read in an area: nothing below or above what it holds, or a spill reaches, is read. */
|
|
211
|
+
span(col: number, top: number, bottom: number): [number, number];
|
|
212
|
+
get columnsUsed(): number;
|
|
213
|
+
/** The last row anything is on. */
|
|
214
|
+
get lastRow(): number;
|
|
215
|
+
/** What holds anything, from A1; undefined when it holds nothing. */
|
|
216
|
+
get used(): Area | undefined;
|
|
217
|
+
tableAt(row: number, col: number): Table | undefined;
|
|
218
|
+
blockAt(row: number, col: number): Block | undefined;
|
|
219
|
+
/** What applies to areas: `format`'s entries and range keys with a look, read once. */
|
|
220
|
+
private looks;
|
|
221
|
+
/** The areas `format` and range keys give a look: cells of them have it, whatever they hold. */
|
|
222
|
+
styledAreas(): readonly {
|
|
223
|
+
area: Area;
|
|
224
|
+
entry: object;
|
|
225
|
+
}[];
|
|
226
|
+
/** The format and look that hold for a cell, from the file's less specific places to its own. */
|
|
227
|
+
lookAt(row: number, col: number): CellLook;
|
|
228
|
+
/** The merge a place is in. */
|
|
229
|
+
mergeAt(row: number, col: number): Area | undefined;
|
|
230
|
+
/** The data validation that holds for a place. */
|
|
231
|
+
validationAt(row: number, col: number): Validation | undefined;
|
|
232
|
+
/** The filter whose header a place is in. */
|
|
233
|
+
filterHeadAt(row: number, col: number): Filter | undefined;
|
|
234
|
+
/** The filter a place is in. */
|
|
235
|
+
filterAt(row: number, col: number): Filter | undefined;
|
|
236
|
+
/** A `files` column a place is in, under a table's header or a sheet's column: how it joins and draws them. */
|
|
237
|
+
filesAt(row: number, col: number): SheetFilesColumn | undefined;
|
|
238
|
+
}
|
|
239
|
+
/** What joins a `files` column's files in a cell. */
|
|
240
|
+
export declare const filesSeparator: (column: SheetFilesColumn) => string;
|
|
241
|
+
/** What a cell of a `files` column names: its text apart at the column's separator. */
|
|
242
|
+
export declare function filesIn(text: string, column: SheetFilesColumn): string[];
|
|
243
|
+
/** Every field of a cell's look, and its number format. */
|
|
244
|
+
export type CellLook = Omit<SheetFormatEntry, "range">;
|
|
245
|
+
/** A defined name: a constant, or a formula that may be a place. */
|
|
246
|
+
export interface DefinedName {
|
|
247
|
+
name: string;
|
|
248
|
+
value?: Scalar;
|
|
249
|
+
formula?: SharedFormula;
|
|
250
|
+
source: Source;
|
|
251
|
+
/** The sheet it holds on alone; absent: the workbook. */
|
|
252
|
+
sheet?: Worksheet;
|
|
253
|
+
/** Excel's Name Manager does not list it. */
|
|
254
|
+
hidden?: boolean;
|
|
255
|
+
}
|
|
256
|
+
export interface Check {
|
|
257
|
+
name: string;
|
|
258
|
+
formula: SharedFormula;
|
|
259
|
+
source: Source;
|
|
260
|
+
}
|
|
261
|
+
export declare class Workbook {
|
|
262
|
+
title: string | undefined;
|
|
263
|
+
readonly sheets: Worksheet[];
|
|
264
|
+
readonly names: Map<string, DefinedName>;
|
|
265
|
+
readonly checks: Check[];
|
|
266
|
+
private readonly bySheet;
|
|
267
|
+
private readonly byTable;
|
|
268
|
+
file: SheetFile;
|
|
269
|
+
/** What the sheet's code makes: `file` holds it too. */
|
|
270
|
+
readonly generated: GeneratedSheets | undefined;
|
|
271
|
+
/** Sheets the code makes that sheet.yaml holds: sheet.yaml's stand. */
|
|
272
|
+
ordinary: readonly string[];
|
|
273
|
+
constructor(file: SheetFile, generated?: GeneratedSheets);
|
|
274
|
+
/** sheet.yaml after an edit that changed no sheet, table or fill: the looks and the keys. */
|
|
275
|
+
respec(file: SheetFile): void;
|
|
276
|
+
sheet(name: string): Worksheet | undefined;
|
|
277
|
+
table(name: string): Table | undefined;
|
|
278
|
+
/** A defined name as a formula on `sheet` reads it: the sheet's own first, then the workbook's. */
|
|
279
|
+
name(name: string, sheet?: Worksheet): DefinedName | undefined;
|
|
280
|
+
/** Every definition of a name: the workbook's and each sheet's own. */
|
|
281
|
+
definitions(name: string): DefinedName[];
|
|
282
|
+
get tables(): Table[];
|
|
283
|
+
addSheet(sheet: Worksheet): void;
|
|
284
|
+
addTable(table: Table): void;
|
|
285
|
+
/** Where a cell's value is written. */
|
|
286
|
+
sourceOf(sheet: Worksheet, row: number, col: number): Source | undefined;
|
|
287
|
+
}
|
|
288
|
+
/** What a workbook's files are, as a reader of them needs them. */
|
|
289
|
+
export interface WorkbookFiles {
|
|
290
|
+
/** sheet.yaml's text. */
|
|
291
|
+
text: string;
|
|
292
|
+
/** A file's text, from the sheet's folder; undefined when it is not there. */
|
|
293
|
+
read: (path: string) => string | undefined;
|
|
294
|
+
/** What its code makes. */
|
|
295
|
+
generated?: GeneratedSheets | undefined;
|
|
296
|
+
/** Whether a file is there, from the sheet's folder: what a `files` column names is looked for. */
|
|
297
|
+
exists?: ((path: string) => boolean) | undefined;
|
|
298
|
+
}
|
|
299
|
+
/** A workbook's files as values: what an editor holds, with nothing to read again. */
|
|
300
|
+
export interface WorkbookValues {
|
|
301
|
+
file: SheetFile;
|
|
302
|
+
/** A CSV file's rows, from the sheet's folder; undefined when it is not there. */
|
|
303
|
+
rows: (path: string) => CsvRows | undefined;
|
|
304
|
+
/** What its code makes. */
|
|
305
|
+
generated?: GeneratedSheets | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface ReadWorkbook {
|
|
308
|
+
/** Undefined when sheet.yaml cannot be read as the format. */
|
|
309
|
+
workbook?: Workbook;
|
|
310
|
+
problems: SheetProblem[];
|
|
311
|
+
lineOf: (path: YamlPath) => number | undefined;
|
|
312
|
+
}
|
|
313
|
+
/** A fill's cells at most: more is a mistake, not a sheet. */
|
|
314
|
+
export declare const MAX_FILL_CELLS = 5000000;
|
|
315
|
+
/** Whether a text can be a defined name or a table's: not an address, nor TRUE. */
|
|
316
|
+
export declare function validName(name: string): boolean;
|
|
317
|
+
/** A chart's reference as a formula. */
|
|
318
|
+
export declare const chartFormula: (text: string) => string;
|
|
319
|
+
/** A workbook from its files, and what is wrong with them that reading can tell. */
|
|
320
|
+
export declare function readWorkbook(files: WorkbookFiles): ReadWorkbook;
|
|
321
|
+
/** A workbook from what an editor holds, with no file to read: its CSV rows as they stand. */
|
|
322
|
+
export declare function workbookOf(values: WorkbookValues): Workbook;
|
|
323
|
+
export { rangeName };
|
|
324
|
+
//# sourceMappingURL=workbook.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{SHEET_SEPARATOR as P}from"@allyhub/formats";import{MAX_ROWS as B,cellName as U,columnIndex as C,columnLetter as z,contains as y,overlaps as v,rangeName as D,readAddress as x,readArea as $,readAreas as j}from"./address.js";import{readCsv as _}from"@allyhub/formats";import{CODE as R,ENTRY as E,readSheetFile as G}from"./file.js";import{withGenerated as O}from"./generated.js";import"@allyhub/formats";import{moveFormula as H}from"./formula/move.js";import{parseFormula as X}from"./formula/parse.js";import{printFormula as Y}from"./formula/print.js";import{readTyped as A}from"./values.js";export class SharedFormula{node;error;analysis;text;row;col;source;constructor(e,t,s,n){this.text=e,this.row=t,this.col=s,this.source=n;const i=X(e);i.ok?this.node=i.node:this.error=i.error}}export class FormulaCell{value=null;array;spill;blocked;state=1;mark=0;shared;sheet;row;col;constructor(e,t,s,n){this.shared=e,this.sheet=t,this.row=s,this.col=n}get moved(){const{node:e,row:t,col:s}=this.shared;if(!e)throw new Error(`${this.shared.text} does not parse.`);return H(e,this.row-t,this.col-s)}get text(){const{node:e,text:t,row:s,col:n}=this.shared;return!e||s===this.row&&n===this.col?t:Y(this.moved)}}class Z{columns=[];firsts=[];lasts=[];formulas=[];get(e,t){return this.columns[t]?.[e]}set(e,t,s){let n=this.columns[t];n||(n=[],this.columns[t]=n,this.firsts[t]=e,this.lasts[t]=e),n[e]instanceof FormulaCell&&(this.formulas[t]=(this.formulas[t]??1)-1),s instanceof FormulaCell&&(this.formulas[t]=(this.formulas[t]??0)+1),n[e]=s,e<(this.firsts[t]??e)&&(this.firsts[t]=e),e>(this.lasts[t]??e)&&(this.lasts[t]=e)}get width(){return this.columns.length}holds(e,t,s){const n=Math.min(e.right,this.columns.length-1);for(let i=e.left;i<=n;i++){const a=this.columns[i];if(!a)continue;const r=Math.min(e.bottom,this.last(i));for(let o=Math.max(e.top,this.first(i));o<=r;o++)if(a[o]!==void 0&&!(o===t&&i===s))return!0}return!1}first(e){return this.firsts[e]??1/0}last(e){return this.lasts[e]??-1}hasFormulas(e){return(this.formulas[e]??0)>0}}export class Table{columns=[];rows=0;lines=[];places=[];records=[];name;sheet;at;file;spec;constructor(e,t,s,n,i){this.name=e,this.sheet=t,this.at=s,this.file=n,this.spec=i}get area(){return{top:this.at.row,left:this.at.col,bottom:this.at.row+this.rows,right:this.at.col+Math.max(this.columns.length,1)-1}}get data(){const e=this.area;return{...e,top:e.top+1}}column(e){const t=e.toLowerCase();return this.columns.find(s=>s.name.toLowerCase()===t)}}export const placeKey=(l,e)=>l*16384+e;function F(l,e){l.bottom=Math.max(l.bottom,e.bottom),l.right=Math.max(l.right,e.right);for(let t=e.left;t<=e.right;t++){const s=l.columns.get(t);l.columns.set(t,[Math.min(s?.[0]??e.top,e.top),Math.max(s?.[1]??e.bottom,e.bottom)])}}export class Worksheet{tables=[];blocks=[];merges=[];formulas=new Set;implied=new Map;keys=new Map;fills=[];blanks=new Set;conditions=[];validations=[];filters=[];charts=[];names=new Map;freeze;generated=!1;grid=new Z;expanded=!1;lowest=-1;ghosts=new Map;spills=new Set;stopped=new Set;reach;lookAreas;name;index;spec;constructor(e,t,s){this.name=e,this.index=t,this.spec=s}respec(e){const t=e.charts!==this.spec.charts;this.spec=e,this.lookAreas=void 0,t&&(this.charts.length=0,e.charts?.forEach((s,n)=>{const i=W(s,n,[],()=>{});i&&this.charts.push(i)}))}put(e,t,s){s instanceof FormulaCell&&this.formulas.add(s),this.grid.set(e,t,s),e>this.lowest&&(this.lowest=e)}replace(e,t,s){this.expand();const n=this.grid.get(e,t);n instanceof FormulaCell&&this.formulas.delete(n),s instanceof FormulaCell&&this.formulas.add(s),this.grid.set(e,t,s),e>this.lowest&&(this.lowest=e)}expand(){if(!this.expanded){this.expanded=!0;for(let e=this.fills.length-1;e>=0;e--){const t=this.fills[e];if(!t)continue;const{area:s,shared:n,value:i,format:a}=t;for(let r=s.top;r<=s.bottom;r++)for(let o=s.left;o<=s.right;o++)this.grid.get(r,o)===void 0&&(this.blanks.has(placeKey(r,o))||(n?this.put(r,o,new FormulaCell(n,this,r,o)):i!=null&&(this.put(r,o,i),a!==void 0&&this.implied.set(placeKey(r,o),a))))}}}at(e,t){return this.expand(),this.grid.get(e,t)}spillAt(e,t){return this.ghosts.size===0?void 0:this.ghosts.get(placeKey(e,t))}holds(e,t){return this.expand(),this.grid.holds(e,t.row,t.col)}spillsIn(e){if(this.spills.size===0)return[];if((e.bottom-e.top+1)*(e.right-e.left+1)>=this.spills.size)return[...this.spills].filter(n=>n.spill!==void 0&&v(n.spill,e));const s=new Set;for(let n=e.top;n<=e.bottom;n++)for(let i=e.left;i<=e.right;i++){const a=this.ghosts.get(placeKey(n,i));a&&s.add(a)}return[...s]}blockedBy(e){if(this.stopped.size===0)return[];const t=[];for(const s of this.stopped)s.blocked&&v(s.blocked,e)&&t.push(s);return t}placeSpill(e,t){e.spill=t,this.spills.add(e);for(let s=t.top;s<=t.bottom;s++)for(let n=t.left;n<=t.right;n++)(s!==e.row||n!==e.col)&&this.ghosts.set(placeKey(s,n),e);this.reach&&F(this.reach,t)}blockSpill(e,t){e.blocked=t,this.stopped.add(e)}clearSpill(e){const t=e.spill;if(t)for(let s=t.top;s<=t.bottom;s++)for(let n=t.left;n<=t.right;n++)this.ghosts.get(placeKey(s,n))===e&&this.ghosts.delete(placeKey(s,n));e.spill=void 0,e.blocked=void 0,this.spills.delete(e),this.stopped.delete(e)}clearSpills(){for(const e of[...this.spills,...this.stopped])e.spill=void 0,e.blocked=void 0;this.spills.clear(),this.stopped.clear(),this.ghosts.clear(),this.reach=void 0}tighten(){this.reach=void 0}spillReach(){if(this.reach)return this.reach;const e={columns:new Map,bottom:-1,right:-1};for(const{spill:t}of this.spills)t&&F(e,t);return this.reach=e,e}hasFormulas(e){return this.expand(),this.grid.hasFormulas(e)}span(e,t,s){this.expand();const n=this.grid.first(e),i=this.grid.last(e);if(this.spills.size===0)return[Math.max(t,n),Math.min(s,i)];const[a,r]=this.spillReach().columns.get(e)??[1/0,-1];return[Math.max(t,Math.min(n,a)),Math.min(s,Math.max(i,r))]}get columnsUsed(){return this.expand(),this.spills.size===0?this.grid.width:Math.max(this.grid.width,this.spillReach().right+1)}get lastRow(){return this.expand(),this.spills.size===0?this.lowest:Math.max(this.lowest,this.spillReach().bottom)}get used(){const e=this.lastRow,t=this.columnsUsed-1;return e<0||t<0?void 0:{top:0,left:0,bottom:e,right:t}}tableAt(e,t){return this.tables.find(s=>y(s.area,e,t))}blockAt(e,t){return this.blocks.find(s=>y(s.area,e,t))}looks(){if(this.lookAreas)return this.lookAreas;const e=[];for(const s of this.spec.format??[]){const n=$(s.range);n&&e.push({area:n,entry:s})}const t=[];for(const[s,n]of Object.entries(this.spec.cells??{})){if(!s.includes(":")||n===null||typeof n!="object")continue;const i=$(s);i&&t.push({area:i,entry:n})}return this.lookAreas={formats:e,ranges:t},this.lookAreas}styledAreas(){const{formats:e,ranges:t}=this.looks();return[...e,...t.filter(s=>Object.keys(s.entry).some(n=>N.has(n)))]}lookAt(e,t){const s={},n=c=>{if(c)for(const[b,w]of Object.entries(c))N.has(b)&&w!==void 0&&(s[b]=b==="border"?{...s.border,...w}:w)},i=this.implied.get(placeKey(e,t));i!==void 0&&(s.format=i);const a=this.ghosts.size===0?void 0:this.spillAt(e,t),r=a&&this.lookAt(a.row,a.col).format;r!==void 0&&(s.format=r),this.spec.columns&&n(this.spec.columns[z(t)]),this.spec.rows&&n(this.spec.rows[String(e+1)]);const o=this.tableAt(e,t);o&&e>o.at.row&&n(o.columns[t-o.at.col]?.spec);const{formats:f,ranges:h}=this.looks();for(const c of f)y(c.area,e,t)&&n(c.entry);for(const c of h)y(c.area,e,t)&&n(c.entry);const d=this.keys.get(placeKey(e,t)),g=d===void 0?void 0:this.spec.cells?.[d];if(g!==null&&typeof g=="object"&&n(g),s.border){const c=Object.entries(s.border).filter(([,b])=>b?.style!=="none");c.length===0?delete s.border:s.border=Object.fromEntries(c)}return s}mergeAt(e,t){return this.merges.find(s=>y(s,e,t))}validationAt(e,t){return this.validations.find(s=>s.areas.some(n=>y(n,e,t)))}filterHeadAt(e,t){return this.filters.find(s=>e===s.area.top&&t>=s.area.left&&t<=s.area.right)}filterAt(e,t){return this.filters.find(s=>y(s.area,e,t))}filesAt(e,t){const s=this.tableAt(e,t);if(s&&e>s.at.row){const n=s.columns[t-s.at.col]?.spec?.files;if(n!==void 0)return n}return s?.at.row===e?void 0:this.spec.columns?.[z(t)]?.files}}export const filesSeparator=l=>(typeof l=="object"?l.separator:void 0)??P;export function filesIn(l,e){const t=filesSeparator(e);return l.split(t.trim()===""?t:t.trim()).map(s=>s.trim()).filter(s=>s!=="")}const N=new Set(["bold","italic","underline","strike","font","size","color","fill","align","valign","wrap","shrink","indent","rotation","border","format"]);export class Workbook{title;sheets=[];names=new Map;checks=[];bySheet=new Map;byTable=new Map;file;generated;ordinary=[];constructor(e,t){this.file=e,this.title=e.title,this.generated=t}respec(e){this.file=O(e,this.generated).file,this.title=e.title,this.sheets.forEach(t=>{const s=e.sheets.find(n=>n.name===t.name);s&&t.respec(s)})}sheet(e){return this.bySheet.get(e.toLowerCase())}table(e){return this.byTable.get(e.toLowerCase())}name(e,t){const s=e.toLowerCase();return(t?.names.size?t.names.get(s):void 0)??this.names.get(s)}definitions(e){const t=e.toLowerCase(),s=[],n=this.names.get(t);n&&s.push(n);for(const i of this.sheets){const a=i.names.get(t);a&&s.push(a)}return s}get tables(){return[...this.byTable.values()]}addSheet(e){this.sheets.push(e),this.bySheet.set(e.name.toLowerCase(),e)}addTable(e){e.sheet.tables.push(e),this.byTable.set(e.name.toLowerCase(),e)}sourceOf(e,t,s){if(e.generated)return{file:R};const n=this.sheets.indexOf(e),i=e.tableAt(t,s);if(i){const o=i.columns[s-i.at.col],f=t-i.at.row-1,h=o?.csv!==void 0&&(i.records[f]?.[o.csv]??"")!=="";return f>=0&&o?.formula&&!h?o.formula.source:{file:i.file,line:f<0?1:i.lines[f]??1}}const a=e.blockAt(t,s);if(a)return{file:a.file,line:a.lines[t-a.area.top]??1};const r=e.keys.get(placeKey(t,s));if(r!==void 0)return{file:E,path:["sheets",n,"cells",r]};for(const o of Object.keys(e.spec.cells??{})){if(!o.includes(":"))continue;const f=$(o);if(f&&y(f,t,s))return{file:E,path:["sheets",n,"cells",o]}}}}export const MAX_FILL_CELLS=5e6;const q=/^[\p{L}_\\][\p{L}\p{N}_.\\?]*$/u;export function validName(l){return q.test(l)&&x(l)===void 0&&!/^(?:TRUE|FALSE)$/iu.test(l)&&!/^[Rr](?:\d+)?(?:[Cc]\d*)?$/u.test(l)&&!/^[Cc]\d*$/u.test(l)}const M="made",k=l=>l[0]===M?R:E;class T{problems=[];wb;read_;lineOf;own;madeNames;constructor(e,t,s,n,i){this.wb=e,this.read_=t,this.lineOf=s,this.own=n,this.madeNames=i}yaml(e,t){const s=this.lineOf(e);this.problems.push({file:k(e),...s===void 0?{}:{line:s},message:t})}sheetPath(e){return e<this.own?["sheets",e]:[M,"sheets",e-this.own]}read(){const{file:e}=this.wb;e.sheets.forEach((t,s)=>{const n=this.sheetPath(s);if(this.wb.sheet(t.name)){this.yaml([...n,"name"],`two sheets are named ${t.name}`);return}(/[\\/?*[\]:]/u.test(t.name)||t.name.length>31)&&this.yaml([...n,"name"],`${t.name} cannot be a sheet's name: at most 31 characters, none of \\ / ? * [ ] :`);const i=new Worksheet(t.name,this.wb.sheets.length,t);i.generated=s>=this.own,this.wb.addSheet(i)}),this.names();for(const[t,s]of e.sheets.entries()){const n=this.wb.sheets[t];n?.spec===s&&this.sheet(n,this.sheetPath(t))}e.checks?.forEach((t,s)=>{const n={file:E,path:["checks",s,"formula"]};this.wb.checks.push({name:t.name,formula:new SharedFormula(t.formula,0,0,n),source:n})})}names(){const{file:e}=this.wb;this.namesOf(e.names,e.hidden_names,t=>this.madeNames.has(t)?[M,"names",t]:["names",t],this.wb.names,void 0),e.sheets.forEach((t,s)=>{const n=this.wb.sheets[s];n?.spec===t&&this.namesOf(t.names,t.hidden_names,i=>[...this.sheetPath(s),"names",i],n.names,n)})}namesOf(e,t,s,n,i){const a=new Set(t?.map(r=>r.toLowerCase()));for(const[r,o]of Object.entries(e??{})){const f=s(r);if(!validName(r)){this.yaml(f,`${r} cannot be a name`);continue}const h={file:k(f),path:f},d=typeof o=="string"&&o.startsWith("=")?{name:r,formula:new SharedFormula(o,0,0,h),source:h}:{name:r,value:typeof o=="string"?A(o).value:o,source:h};i&&(d.sheet=i),a.has(r.toLowerCase())&&(d.hidden=!0),n.set(r.toLowerCase(),d)}}sheet(e,t){const{spec:s}=e;if(s.freeze!==void 0){const n=x(s.freeze);n?e.freeze=n:this.yaml([...t,"freeze"],`${s.freeze} is not a cell`)}s.tables?.forEach((n,i)=>{this.table(e,n,[...t,"tables",i])});for(const[n,i]of e.tables.entries())for(const a of e.tables.slice(n+1))v(i.area,a.area)&&this.problems.push({file:E,message:`tables ${i.name} and ${a.name} overlap on ${e.name}`});s.blocks?.forEach((n,i)=>{this.block(e,n.at,n.rows,[...t,"blocks",i])}),this.cells(e,s.cells??{},[...t,"cells"]),s.merges?.forEach((n,i)=>{const a=$(n);a?e.merges.push(a):this.yaml([...t,"merges",i],`${n} is not a range`)}),s.format?.forEach((n,i)=>{$(n.range)||this.yaml([...t,"format",i,"range"],`${n.range} is not a range`)}),s.conditional?.forEach((n,i)=>{this.condition(e,n,[...t,"conditional",i])}),s.validations?.forEach((n,i)=>{this.validation(e,n,[...t,"validations",i])}),this.filters(e,t),s.charts?.forEach((n,i)=>{this.chart(e,n,i,[...t,"charts",i])});for(const n of Object.keys(s.columns??{}))C(n)===void 0&&this.yaml([...t,"columns",n],`${n} is not a column`);for(const n of Object.keys(s.rows??{}))(!/^[1-9]\d*$/u.test(n)||Number(n)>B)&&this.yaml([...t,"rows",n],`${n} is not a row`)}chart(e,t,s,n){const i=W(t,s,n,(a,r)=>{this.yaml(a,r)});i&&e.charts.push(i)}bound(e,t,s){if(!(typeof e!="string"||!e.startsWith("=")||e.length<2))return new SharedFormula(e,t?.top??0,t?.left??0,{file:k(s),path:s})}condition(e,t,s){const n=j(t.range);if(!n){this.yaml([...s,"range"],`${t.range} is not a range`);return}const[i]=n,a=[],r=(o,f)=>{const h=this.bound(o,i,f);h&&a.push(h)};if(t.type==="expression"){const o=t.formula.startsWith("=")?t.formula:`=${t.formula}`;r(o,[...s,"formula"])}if(t.type==="cellIs"&&t.formula.forEach((o,f)=>{r(o,[...s,"formula",f])}),t.type==="dataBar")for(const o of["min","max"])r(t[o]?.value,[...s,o,"value"]);(t.type==="colorScale"||t.type==="iconSet")&&t.stops?.forEach((o,f)=>{r(o.value,[...s,"stops",f,"value"])}),e.conditions.push({spec:t,areas:n,formulas:a})}validation(e,t,s){const n=j(t.range);if(!n){this.yaml([...s,"range"],`${t.range} is not a range`);return}const i=(t.formula??[]).map((o,f)=>this.bound(o,n[0],[...s,"formula",f])),a=t.formula?.length??0,r=t.type!=="list"&&t.type!=="custom"&&(t.operator===void 0||t.operator==="between"||t.operator==="notBetween");!(t.type==="list"&&t.values!==void 0)&&a<(r?2:1)&&this.yaml(s,`a ${t.type} validation needs its bounds`),e.validations.push({spec:t,areas:n,formulas:i})}filters(e,t){const{spec:s}=e;if(s.filter){const n=[...t,"filter"],i=$(s.filter.range);if(!i)this.yaml([...n,"range"],`${s.filter.range} is not a range`);else{const a=new Map;for(const[o,f]of Object.entries(s.filter.columns??{})){const h=C(o);h===void 0||h<i.left||h>i.right?this.yaml([...n,"columns",o],`${o} is not a column of ${s.filter.range}`):a.set(h,f)}const r=e.tables.find(o=>v(o.area,i));r&&this.yaml(n,`a filter over table ${r.name}: a table has its own`),e.filters.push({area:i,columns:a})}}e.tables.forEach((n,i)=>{const{filter:a}=n.spec;if(a===!1)return;const r=new Map;for(const[o,f]of Object.entries(a?.columns??{})){const h=n.column(o);h?r.set(n.at.col+h.index,f):this.yaml([...t,"tables",i,"filter","columns",o],`table ${n.name} has no column ${o}`)}e.filters.push({area:n.area,table:n,columns:r})})}csv(e,t,s){const n=this.read_(e);return n||this.yaml(t,`${s}: ${e} is not there`),n}overlapping(e,t){const s=e.tables.find(i=>v(i.area,t));if(s)return`table ${s.name}`;const n=e.blocks.find(i=>v(i.area,t));return n?`the block of ${n.file}`:void 0}typed(e,t,s,n,i){if(n.formula!==void 0){const a=new SharedFormula(n.formula,t,s,i);e.put(t,s,new FormulaCell(a,e,t,s));return}n.value!==null&&(e.put(t,s,n.value),n.format!==void 0&&e.implied.set(placeKey(t,s),n.format))}table(e,t,s){const n=x(t.at);if(!n){this.yaml([...s,"at"],`${t.at} is not a cell`);return}if(!validName(t.name)){this.yaml([...s,"name"],`${t.name} cannot be a table's name`);return}if(this.wb.table(t.name)){this.yaml([...s,"name"],`two tables are named ${t.name}`);return}this.wb.name(t.name)&&this.yaml([...s,"name"],`${t.name} is a defined name and a table's`);const i=new Table(t.name,e,n,t.rows,t),a=this.csv(t.rows,[...s,"rows"],`table ${t.name}`),r=a?.rows??[],o=a?.lines??[],f=r[0],h=o[0]??1,d=new Set,g=f?.length===0?[""]:f??[];g.forEach((u,m)=>{const p=u.trim();p===""&&this.problems.push({file:t.rows,line:h,message:`column ${String(m+1)} has no name`}),d.has(p.toLowerCase())&&this.problems.push({file:t.rows,line:h,message:`two columns are named ${p}`}),d.add(p.toLowerCase()),i.columns.push({name:p,index:i.columns.length,csv:m})});for(const[u,m]of Object.entries(t.columns??{})){const p=i.column(u),S=p??{name:u,index:i.columns.length};p||(m.formula===void 0&&this.yaml([...s,"columns",u],`table ${t.name} has no column ${u}`),i.columns.push(S)),S.spec=m}const c=g.length;for(let u=1;u<r.length;u++){const m=r[u];if(!m||m.length===0)continue;const p=o[u]??u+1;i.places.push(u),i.records.push(m),i.lines.push(p),m.length>c&&this.problems.push({file:t.rows,line:p,message:`this row has ${String(m.length)} fields and the header ${String(c)}`})}i.rows=i.records.length;const b=this.overlapping(e,i.area);b&&this.yaml(s,`table ${t.name} overlaps ${b} on ${e.name}`),this.wb.addTable(i),this.tableKey(i,s);const w=n.row+1;i.columns.forEach(u=>{const m=n.col+u.index;e.put(n.row,m,u.name);const p=u.spec?.formula;p!==void 0&&(u.formula=new SharedFormula(p,w,m,{file:k(s),path:[...s,"columns",u.name,"formula"]}),i.rows>0&&e.fills.push({area:{top:w,left:m,bottom:w+i.rows-1,right:m},shared:u.formula})),u.csv!==void 0&&i.records.forEach((S,L)=>{this.typed(e,w+L,m,A(S[u.csv??0]??""),{file:t.rows,line:i.lines[L]??1})})})}tableKey(e,t){const{key:s}=e.spec;if(s===void 0)return;const n=e.column(s);if(n?.csv===void 0){this.yaml([...t,"key"],`table ${e.name} has no column ${s} in ${e.file}`);return}const i=new Set;e.records.forEach((a,r)=>{const o=a[n.csv??0]??"",f=e.lines[r]??1;o===""?this.problems.push({file:e.file,line:f,message:`this row has no ${s}, table ${e.name}'s key`}):i.has(o)&&this.problems.push({file:e.file,line:f,message:`two rows have the key ${o}`}),i.add(o)})}block(e,t,s,n){const i=x(t);if(!i){this.yaml([...n,"at"],`${t} is not a cell`);return}const a=this.csv(s,[...n,"rows"],"a block");if(!a)return;const r=a.rows,o=r.map((g,c)=>a.lines[c]??c+1),f=r.reduce((g,c)=>Math.max(g,c.length),1),h={top:i.row,left:i.col,bottom:i.row+Math.max(r.length,1)-1,right:i.col+f-1},d=this.overlapping(e,h);d&&this.yaml(n,`the block of ${s} overlaps ${d} on ${e.name}`),e.blocks.push({area:h,file:s,lines:o}),r.forEach((g,c)=>{g.forEach((b,w)=>{this.typed(e,i.row+c,i.col+w,A(b),{file:s,line:o[c]??c+1})})})}cells(e,t,s){const n=[];for(const[i,a]of Object.entries(t)){const r=[...s,i],o=$(i);if(!o){this.yaml(r,`${i} is not a cell or a range`);continue}const f=this.overlapping(e,o);if(f&&this.yaml(r,`${i} overlaps ${f}`),i.includes(":")){const h=(o.bottom-o.top+1)*(o.right-o.left+1);h>MAX_FILL_CELLS?this.yaml(r,`${i} is ${String(h)} cells`):this.fill(e,o,a,r)}else n.push([i,a,{row:o.top,col:o.left}])}for(const[i,a,r]of n){const o=[...s,i],f=K(a),h=placeKey(r.row,r.col);e.keys.set(h,i),f.value===null&&f.formula===void 0&&e.blanks.add(h),this.typed(e,r.row,r.col,f,{file:k(o),path:o});const d=a!==null&&typeof a=="object"?a.name:void 0;d!==void 0&&this.cellName(e,r,d,o)}}cellName(e,t,s,n){if(!validName(s)){this.yaml(n,`${s} cannot be a name`);return}if(this.wb.name(s)){this.yaml(n,`two places are named ${s}`);return}const i={file:k(n),path:n},a=U(t).replace(/^([A-Z]+)(\d+)$/u,"$$$1$$$2"),r=`='${e.name.replaceAll("'","''")}'!${a}`;this.wb.names.set(s.toLowerCase(),{name:s,formula:new SharedFormula(r,0,0,i),source:i})}fill(e,t,s,n){const i=K(s),a={file:k(n),path:n};e.fills.push(i.formula===void 0?{area:t,value:i.value,...i.format===void 0?{}:{format:i.format}}:{area:t,shared:new SharedFormula(i.formula,t.top,t.left,a)})}}function W(l,e,t,s){const n=x(l.at);if(!n){s([...t,"at"],`${l.at} is not a cell`);return}const i=(o,f)=>{const h=new SharedFormula(chartFormula(o),0,0,{file:k(f),path:f});return h.node&&!I(h.node)&&s(f,`${o} is not a range or a table's column`),h},a=(o,f)=>o?.startsWith("=")===!0?i(o,f):void 0,r=a(l.title,[...t,"title"]);return{spec:l,at:n,index:e,...l.categories===void 0?{}:{categories:i(l.categories,[...t,"categories"])},...r?{title:r}:{},series:l.series.map((o,f)=>{const h=[...t,"series",f],d=a(o.name,[...h,"name"]);return{values:i(o.values,[...h,"values"]),...o.x===void 0?{}:{x:i(o.x,[...h,"x"])},...d?{name:d}:{}}})}}export const chartFormula=l=>l.startsWith("=")?l:`=${l}`;function I(l){switch(l.kind){case"error":case"ref":case"structured":case"name":return!0;case"paren":case"postfix":return I(l.arg);case"binary":return l.op===":"||l.op===",";default:return!1}}function K(l){if(l===null)return{value:null};if(typeof l=="string")return A(l);if(typeof l!="object")return{value:l};if(l.formula!==void 0)return{value:null,formula:l.formula.startsWith("=")?l.formula:`=${l.formula}`};const{value:e}=l;return typeof e=="string"?A(e):{value:e??null}}export function readWorkbook(l){const e=G(l.text),t=r=>r[0]===M?void 0:e.lineOf(r);if(!e.file)return{problems:e.problems,lineOf:t};const s=O(e.file,l.generated),n=new Workbook(s.file,l.generated);n.ordinary=s.ordinary;const i=[],a=new T(n,r=>{const o=l.generated?.csv[r]??l.read(r);if(o===void 0)return;const f=_(o);for(const h of f.problems)i.push({file:r,line:h.line,message:h.message});return{rows:f.records.map(h=>h.end===h.start?[]:h.fields),lines:f.records.map(h=>h.line)}},t,s.own,s.names);return a.read(),{workbook:n,problems:[...i,...a.problems],lineOf:t}}export function workbookOf(l){const e=O(l.file,l.generated),t=new Workbook(e.file,l.generated);return t.ordinary=e.ordinary,new T(t,s=>{const n=l.generated?.csv[s];if(n!==void 0)return{rows:_(n).records.map(a=>a.end===a.start?[]:a.fields),lines:[]};const i=l.rows(s);return i&&{rows:i,lines:[]}},()=>{},e.own,e.names).read(),t}export{D as rangeName};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { SheetChart } from "@allyhub/formats";
|
|
2
|
+
import type { Calc } from "../calc/engine.js";
|
|
3
|
+
import type { Chart, Worksheet } from "../workbook.js";
|
|
4
|
+
import { type Tag } from "./xml.js";
|
|
5
|
+
/** A chart's part. */
|
|
6
|
+
export declare function chartPart(calc: Calc, sheet: Worksheet, chart: Chart): string;
|
|
7
|
+
/** A picture of a `files` cell in a sheet's drawing: `file` is its media part. */
|
|
8
|
+
export interface DrawnPicture {
|
|
9
|
+
row: number;
|
|
10
|
+
col: number;
|
|
11
|
+
/** How far into its cell, px. */
|
|
12
|
+
x: number;
|
|
13
|
+
/** Down it: a picture over the cells; one in a cell has none, and its row grows to hold it. */
|
|
14
|
+
y?: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
name: string;
|
|
18
|
+
/** Its file's path from the sheet's folder, kept as its description so a reader finds it again. */
|
|
19
|
+
path: string;
|
|
20
|
+
file: string;
|
|
21
|
+
bytes: Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
/** A sheet's drawing: each chart at its anchor, then each picture, by their relationships' numbers. */
|
|
24
|
+
export declare function drawingPart(charts: readonly Chart[], pictures?: readonly DrawnPicture[]): string;
|
|
25
|
+
/** What a chart reads as, before its references are named as the sheet names them. */
|
|
26
|
+
export type ReadChart = SheetChart;
|
|
27
|
+
/** A chart part as sheet.yaml writes one, or why it cannot be. */
|
|
28
|
+
export declare function readChart(root: Tag | undefined): ReadChart | string;
|
|
29
|
+
export interface Anchored {
|
|
30
|
+
/** Its relationship in the drawing's part. */
|
|
31
|
+
id: string;
|
|
32
|
+
at: {
|
|
33
|
+
row: number;
|
|
34
|
+
col: number;
|
|
35
|
+
};
|
|
36
|
+
x?: number;
|
|
37
|
+
y?: number;
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
}
|
|
41
|
+
/** A picture of a drawing: its image by relationship, and what it is called. */
|
|
42
|
+
export interface AnchoredPicture extends Anchored {
|
|
43
|
+
name?: string;
|
|
44
|
+
/** Its description: the path of the file it was, when this writer wrote it. */
|
|
45
|
+
descr?: string;
|
|
46
|
+
}
|
|
47
|
+
/** Each chart and picture of a drawing where it sits, sizes in pixels, and how many other things it holds. */
|
|
48
|
+
export declare function chartAnchors(root: Tag | undefined, columnWidth: (col: number) => number, rowHeight: (row: number) => number): {
|
|
49
|
+
anchors: Anchored[];
|
|
50
|
+
pictures: AnchoredPicture[];
|
|
51
|
+
others: number;
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=charts.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{CHART_DEFAULTS as Q,chartSpaceXml as ce}from"@allyhub/chart";import{columnLetter as Y}from"../address.js";import{Reference as Z,Union as ae}from"../calc/types.js";import{chartDef as fe,chartSize as de}from"../chart.js";import{sheetPrefix as le}from"../formula/print.js";import{HEAD as ue,attr as y,el as s,flag as ee,numberAttr as M,tag as r,tags as R,textOf as O}from"./xml.js";const he="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",me="http://schemas.openxmlformats.org/drawingml/2006/main",te="http://schemas.openxmlformats.org/drawingml/2006/chart",re="http://schemas.openxmlformats.org/officeDocument/2006/relationships",g=9525,xe=(e,t)=>`${le(e.sheet.name)}$${Y(e.left)}$${String(e.top+1)}${e.single?"":`:$${Y(e.right)}$${String(t+1)}`}`;function _(e,t,n){if(!n?.node)return;const o=e.eval(n.node,{sheet:t,row:0,col:0,dr:0,dc:0}),i=a=>xe(a,Math.min(a.bottom,Math.max(a.top,a.sheet.lastRow)));if(o instanceof Z)return i(o);if(o instanceof ae)return`(${o.parts.map(i).join(",")})`}function pe(e,t,n){if(!n?.node)return!1;const o=e.eval(n.node,{sheet:t,row:0,col:0,dr:0,dc:0});return o instanceof Z&&typeof e.value(o.sheet,o.top,o.left)=="number"}export function chartPart(e,t,n){const o=fe(e,t,n),i={name:l=>_(e,t,n.series[l]?.name),categories:_(e,t,n.categories),numeric:pe(e,t,n.categories),values:l=>_(e,t,n.series[l]?.values)??"",x:l=>_(e,t,n.series[l]?.x??n.categories)},a=_(e,t,n.title);return ce(o,{refs:i,...a===void 0?{}:{titleRef:a}})}const ge=(e,t,n)=>s("xdr:oneCellAnchor",{},s("xdr:from",{},`<xdr:col>${String(e.col)}</xdr:col>`,`<xdr:colOff>${String(Math.round(e.x*g))}</xdr:colOff>`,`<xdr:row>${String(e.row)}</xdr:row>`,`<xdr:rowOff>${String(Math.round((e.y??0)*g))}</xdr:rowOff>`),s("xdr:ext",{cx:Math.round(e.width*g),cy:Math.round(e.height*g)}),s("xdr:pic",{},s("xdr:nvPicPr",{},s("xdr:cNvPr",{id:t,name:e.name,descr:e.path}),s("xdr:cNvPicPr",{},s("a:picLocks",{noChangeAspect:!0}))),s("xdr:blipFill",{},s("a:blip",{"xmlns:r":re,"r:embed":`rId${String(n)}`}),s("a:stretch",{},s("a:fillRect"))),s("xdr:spPr",{},s("a:xfrm",{},s("a:off",{x:0,y:0}),s("a:ext",{cx:Math.round(e.width*g),cy:Math.round(e.height*g)})),s("a:prstGeom",{prst:"rect"},s("a:avLst")))),s("xdr:clientData"));export function drawingPart(e,t=[]){const n=(o,i)=>{const{width:a,height:l}=de(o.spec);return s("xdr:oneCellAnchor",{},s("xdr:from",{},`<xdr:col>${String(o.at.col)}</xdr:col>`,`<xdr:colOff>${String(Math.round((o.spec.x??0)*g))}</xdr:colOff>`,`<xdr:row>${String(o.at.row)}</xdr:row>`,`<xdr:rowOff>${String(Math.round((o.spec.y??0)*g))}</xdr:rowOff>`),s("xdr:ext",{cx:Math.round(a*g),cy:Math.round(l*g)}),s("xdr:graphicFrame",{macro:""},s("xdr:nvGraphicFramePr",{},s("xdr:cNvPr",{id:i+2,name:`Chart ${String(i+1)}`}),s("xdr:cNvGraphicFramePr")),s("xdr:xfrm",{},s("a:off",{x:0,y:0}),s("a:ext",{cx:0,cy:0})),s("a:graphic",{},s("a:graphicData",{uri:te},s("c:chart",{"xmlns:c":te,"xmlns:r":re,"r:id":`rId${String(i+1)}`})))),s("xdr:clientData"))};return ue+s("xdr:wsDr",{"xmlns:xdr":he,"xmlns:a":me},...e.map(n),...t.map((o,i)=>ge(o,e.length+i+2,e.length+i+1)))}function I(e){if(Array.isArray(e))return e.map(I).join("");if(typeof e!="object"||e===null)return"";const t=e,n=[];for(const[o,i]of Object.entries(t))o==="t"?n.push(O(i)):typeof i=="object"&&n.push(I(i));return n.join("")}const V=e=>{const t=r(e?.solidFill),n=y(r(t?.srgbClr),"val");return n!==void 0?`#${n.toUpperCase()}`:we[y(r(t?.schemeClr),"val")??""]},we={accent1:"#4472C4",accent2:"#ED7D31",accent3:"#A5A5A5",accent4:"#FFC000",accent5:"#5B9BD5",accent6:"#70AD47"},$=(e,t)=>y(r(e?.[t]),"val"),A=(e,t)=>M(r(e?.[t]),"val"),F=(e,t)=>ee(r(e?.[t]),"val");function ne(e){if(!e)return;const t=r(e.tx),n=r(t?.strRef);if(n)return`=${O(n.f)}`;const o=I(t?.rich);return o===""?void 0:o}function oe(e){if(!e)return;const t=r(e.scaling),n=r(e.numFmt),o=y(n,"formatCode"),i={},a=ne(r(e.title));a!==void 0&&(i.title=a);const l=A(t,"min"),x=A(t,"max"),u=A(e,"majorUnit");return l!==void 0&&(i.min=l),x!==void 0&&(i.max=x),u!==void 0&&u>0&&(i.major=u),F(e,"delete")===!0&&(i.visible=!1),$(t,"orientation")==="maxMin"&&(i.reverse=!0),o!==void 0&&o!=="General"&&ee(n,"sourceLinked")!==!0&&(i.format=o),i}const j=e=>{const t=r(e?.numRef)??r(e?.strRef),n=t?O(t.f):"";return n===""?void 0:n};function be(e,t){const n=j(r(e[t?"yVal":"val"]));if(n===void 0)return"its numbers are written in the chart";const o={values:n},i=r(e.tx),a=j(i);if(a!==void 0)o.name=`=${a}`;else{const d=O(i?.v);d!==""&&(o.name=d)}const l=r(e.spPr),x=r(l?.ln),u=r(e.marker),w=t||u!==void 0,c=V(l)??(w?V(x)??V(r(u?.spPr)):void 0);c!==void 0&&(o.color=c);const f=M(x,"w");if(w&&f!==void 0&&x?.noFill===void 0){const d=Number((f/12700).toFixed(2));d!==Q.lineWidth&&(o.line_width=d)}F(e,"smooth")===!0&&(o.smooth=!0);const m=A(u,"size");m!==void 0&&m!==Q.marker&&(o.marker_size=m);const v=t?j(r(e.xVal)):void 0;v!==void 0&&(o.x=v);const b=t?void 0:j(r(e.cat));return{series:o,...b===void 0?{}:{categories:b}}}function ve(e){const t=$(e,"barDir")==="bar"?"bar":"column",n=$(e,"grouping");return n==="stacked"?`${t}-stacked`:n==="percentStacked"?`${t}-stacked-100`:`${t}-clustered`}function ye(e){const t=$(e,"grouping");return t==="stacked"?"area-stacked":t==="percentStacked"?"area-stacked-100":"area"}export function readChart(e){const t=r(e?.chartSpace),n=r(t?.chart),o=r(n?.plotArea);if(!n||!o)return"it has no plot";const i=Object.entries(o).filter(([h])=>h.endsWith("Chart")),[a]=i;if(!a)return"it has no plot";if(i.length>1||Array.isArray(a[1])&&a[1].length>1)return"it combines several kinds of chart";const[l,x]=a,u=r(x);if(!u)return"it has no plot";const w=R(u.ser),c=l==="scatterChart",f=[];let m;for(const h of w){const P=be(h,c);if(typeof P=="string")return P;f.push(P.series),m??=P.categories}if(f.length===0)return"it has no series";const v=h=>r(r(h.spPr)?.ln)?.noFill!==void 0,b=h=>$(r(h.marker),"symbol")==="none",d=(()=>{switch(l){case"barChart":return ve(u);case"lineChart":return w.every(b)?"line":"line-markers";case"areaChart":return ye(u);case"pieChart":return"pie";case"doughnutChart":return"doughnut";case"scatterChart":return w.every(v)?"scatter":w.some(h=>F(h,"smooth")===!0)?"scatter-smooth":"scatter-lines";default:return}})();if(!d)return`a sheet has no ${l.replace(/Chart$/u,"")} chart`;const S=ne(r(n.title)),k=r(n.legend),C=$(k,"legendPos"),D=r(u.dLbls),p=h=>F(D,h)===!0,se=p("showVal")||p("showPercent")||p("showCatName")||p("showSerName"),H=$(D,"dLblPos"),z=A(u,"gapWidth"),W=A(u,"overlap"),E=A(u,"holeSize"),X=F(u,"varyColors"),B=d==="pie"||d==="doughnut",N={value:R(o.valAx).find((h,P,ie)=>c?P===ie.length-1:!0),category:c?R(o.valAx)[0]:r(o.catAx)??r(o.dateAx)},G=oe(N.value),T=oe(N.category);G&&N.value?.majorGridlines===void 0&&(G.gridlines=!1),T&&N.category?.majorGridlines!==void 0&&(T.gridlines=!0);const U=M(r(r(r(r(t?.txPr)?.p)?.pPr)?.defRPr),"sz"),q=h=>h&&Object.keys(h).length>0?h:void 0,J=q(G),K=q(T);return{type:d,at:"A1",...S===void 0?{}:{title:S},...m===void 0?{}:{categories:m},series:B?f.slice(0,1):f,...k?{legend:C==="b"?"bottom":C==="t"?"top":C==="l"?"left":"right"}:{},...se?{labels:{...p("showVal")?{value:!0}:{},...p("showPercent")?{percentage:!0}:{},...p("showCatName")?{category:!0}:{},...p("showSerName")?{series:!0}:{},...H===void 0?{}:{position:H}}}:{},...z===void 0||z===150?{}:{gap_width:z},...W===void 0||d.includes("stacked")?{}:{overlap:W},...E===void 0||E===50?{}:{hole_size:E},...X===!0&&l==="barChart"?{vary_by_categories:!0}:{},...X===!1&&B?{vary_by_categories:!1}:{},...J?{value_axis:J}:{},...K?{category_axis:K}:{},...U===void 0||U===900?{}:{size:U/100}}}const L=e=>Math.round(e/g);export function chartAnchors(e,t,n){const o=r(e?.wsDr),i=[],a=[];let l=0;const x=c=>({col:Number(O(c?.col)),row:Number(O(c?.row)),colOff:L(Number(O(c?.colOff))),rowOff:L(Number(O(c?.rowOff)))}),u=c=>y(r(r(r(r(c.graphicFrame)?.graphic)?.graphicData)?.chart),"id"),w=(c,f,m,v)=>{const b={at:{row:f.row,col:f.col},...f.colOff>0?{x:f.colOff}:{},...f.rowOff>0?{y:f.rowOff}:{},width:m,height:v},d=r(c.pic),S=y(r(r(d?.blipFill)?.blip),"embed");if(d&&S!==void 0){const C=r(r(d.nvPicPr)?.cNvPr),D=y(C,"name"),p=y(C,"descr");a.push({id:S,...b,...D===void 0?{}:{name:D},...p===void 0?{}:{descr:p}});return}const k=u(c);if(k===void 0){l+=1;return}i.push({id:k,...b})};for(const c of R(o?.oneCellAnchor)){const f=r(c.ext);w(c,x(r(c.from)),L(M(f,"cx")??0),L(M(f,"cy")??0))}for(const c of R(o?.twoCellAnchor)){const f=x(r(c.from)),m=x(r(c.to));let v=m.colOff-f.colOff;for(let d=f.col;d<m.col;d++)v+=t(d);let b=m.rowOff-f.rowOff;for(let d=f.row;d<m.row;d++)b+=n(d);w(c,f,v,b)}return{anchors:i,pictures:a,others:l}}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { ZipLimits } from "@allyhub/formats";
|
|
2
|
+
import type { SheetProblem } from "../file.js";
|
|
3
|
+
import { type Scalar } from "../values.js";
|
|
4
|
+
/** How far apart two numbers may be, as a share of the larger, and be the same. */
|
|
5
|
+
export declare const COMPARE_TOLERANCE = 1e-9;
|
|
6
|
+
export interface Difference {
|
|
7
|
+
sheet: string;
|
|
8
|
+
cell: string;
|
|
9
|
+
formula: string;
|
|
10
|
+
/** What the file cached. */
|
|
11
|
+
file: string | number | boolean | null;
|
|
12
|
+
engine: string | number | boolean | null;
|
|
13
|
+
}
|
|
14
|
+
export interface Compared {
|
|
15
|
+
/** Formulas carried over. */
|
|
16
|
+
formulas: number;
|
|
17
|
+
same: number;
|
|
18
|
+
/** Formulas the file holds no value for. */
|
|
19
|
+
uncached: number;
|
|
20
|
+
/** Formulas that read the clock or a random number, or what does: not compared. */
|
|
21
|
+
moving: number;
|
|
22
|
+
differences: Difference[];
|
|
23
|
+
}
|
|
24
|
+
export interface ImportedXlsx {
|
|
25
|
+
/** Paths from the sheet's folder, sheet.yaml first, and their text. */
|
|
26
|
+
files: Map<string, string>;
|
|
27
|
+
/** Pictures, from the sheet's folder: what `pictures` and `files` columns name. */
|
|
28
|
+
assets: Map<string, Uint8Array>;
|
|
29
|
+
/** What was not carried over, a line each. */
|
|
30
|
+
lost: string[];
|
|
31
|
+
/** What is wrong with the workbook as it now is. */
|
|
32
|
+
problems: SheetProblem[];
|
|
33
|
+
compared: Compared;
|
|
34
|
+
sheets: number;
|
|
35
|
+
tables: number;
|
|
36
|
+
}
|
|
37
|
+
export interface ImportOptions {
|
|
38
|
+
/** The workbook's title, when the file has none of its own. */
|
|
39
|
+
name: string;
|
|
40
|
+
/** See COMPARE_TOLERANCE. */
|
|
41
|
+
tolerance?: number;
|
|
42
|
+
/** What the file may unzip to; ZIP_LIMITS unless it says. */
|
|
43
|
+
zip?: Partial<ZipLimits>;
|
|
44
|
+
/** Whether a file is there already, by its path from the sheet's folder: a file made beside it takes another name. */
|
|
45
|
+
taken?: (path: string) => boolean;
|
|
46
|
+
}
|
|
47
|
+
/** Whether a value the engine gives is what a file cached. */
|
|
48
|
+
export declare function sameValue(a: Scalar, b: Scalar, tolerance: number): boolean;
|
|
49
|
+
/** The files of a sheet made of an Excel file's bytes, what could not be carried over and how the engine agrees with it. */
|
|
50
|
+
export declare function importXlsx(bytes: Uint8Array, o: ImportOptions): ImportedXlsx;
|
|
51
|
+
//# sourceMappingURL=import.d.ts.map
|