@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,366 @@
|
|
|
1
|
+
import { type SheetNote, type SheetPicture, type SheetPrint, type SheetConditional, type SheetFile, type SheetFilesColumn, type SheetTable, type SheetWorksheet } from "@allyhub/formats";
|
|
2
|
+
import { Comment, HeaderFooter, PageMargins, PageSetup, SheetProtection, type Image } from "./page.js";
|
|
3
|
+
import { Calc } from "../calc/engine.js";
|
|
4
|
+
import { type ParsedCsv } from "@allyhub/formats";
|
|
5
|
+
import type { SheetProblem } from "../file.js";
|
|
6
|
+
import { type GeneratedSheets } from "@allyhub/formats";
|
|
7
|
+
import { type StructureEdit } from "../formula/rewrite.js";
|
|
8
|
+
import { type Scalar } from "../values.js";
|
|
9
|
+
import { type CellLook, type Workbook as Model, type Worksheet as ModelSheet } from "../workbook.js";
|
|
10
|
+
import { type ChartBase } from "./charts.js";
|
|
11
|
+
import { AutoFilter, ConditionalFormattingList, DataValidationList, type DataValidation } from "./rules.js";
|
|
12
|
+
import { Alignment, Border, Font, PatternFill } from "./styles.js";
|
|
13
|
+
export type CellValue = number | string | boolean | Date | null;
|
|
14
|
+
/** A typed cell in rows and columns of at least this many cells goes in a CSV file. */
|
|
15
|
+
export declare const BLOCK_CELLS = 100;
|
|
16
|
+
export declare class Cell {
|
|
17
|
+
readonly row: number;
|
|
18
|
+
readonly column: number;
|
|
19
|
+
_ws: Worksheet;
|
|
20
|
+
_value: Scalar;
|
|
21
|
+
_formula: string | undefined;
|
|
22
|
+
_look: CellLook;
|
|
23
|
+
_changed: boolean;
|
|
24
|
+
_styled: boolean;
|
|
25
|
+
/** It holds nothing in the file yet. */
|
|
26
|
+
_fresh: boolean;
|
|
27
|
+
constructor(ws: Worksheet, row: number, column: number);
|
|
28
|
+
get parent(): Worksheet;
|
|
29
|
+
get coordinate(): string;
|
|
30
|
+
get column_letter(): string;
|
|
31
|
+
get col_idx(): number;
|
|
32
|
+
/** What it holds: a formula is its text, as openpyxl's; with data_only, what it computes to. */
|
|
33
|
+
get value(): CellValue;
|
|
34
|
+
set value(next: CellValue);
|
|
35
|
+
private _shown;
|
|
36
|
+
/** What its formula computes to, added to openpyxl's: the workbook as it stands, saved or not. */
|
|
37
|
+
get computed(): CellValue;
|
|
38
|
+
get data_type(): string;
|
|
39
|
+
get is_date(): boolean;
|
|
40
|
+
/** What it opens: an address on the web, or `#Sheet!A1`. */
|
|
41
|
+
get hyperlink(): string | undefined;
|
|
42
|
+
set hyperlink(to: string | undefined);
|
|
43
|
+
/** Its note: Excel's Note, openpyxl's Comment. */
|
|
44
|
+
get comment(): Comment | undefined;
|
|
45
|
+
set comment(note: Comment | undefined);
|
|
46
|
+
get number_format(): string;
|
|
47
|
+
set number_format(code: string);
|
|
48
|
+
private _setLook;
|
|
49
|
+
get font(): Font;
|
|
50
|
+
set font(font: Font);
|
|
51
|
+
get fill(): PatternFill;
|
|
52
|
+
set fill(fill: PatternFill);
|
|
53
|
+
get border(): Border;
|
|
54
|
+
set border(border: Border);
|
|
55
|
+
get alignment(): Alignment;
|
|
56
|
+
set alignment(alignment: Alignment);
|
|
57
|
+
get has_style(): boolean;
|
|
58
|
+
offset(row?: number, column?: number): Cell;
|
|
59
|
+
}
|
|
60
|
+
export declare class ColumnDimension {
|
|
61
|
+
readonly index: string;
|
|
62
|
+
_width: number | undefined;
|
|
63
|
+
_hidden: boolean | undefined;
|
|
64
|
+
_files: SheetFilesColumn | undefined;
|
|
65
|
+
_level: number | undefined;
|
|
66
|
+
_ws: Worksheet;
|
|
67
|
+
constructor(ws: Worksheet, letter: string);
|
|
68
|
+
/** How deep it is grouped, Excel's outline, 1 to 7. */
|
|
69
|
+
get outlineLevel(): number | undefined;
|
|
70
|
+
set outlineLevel(level: number | undefined);
|
|
71
|
+
/** Its cells name files, not an openpyxl field: true, or how they join and how tall a picture is. */
|
|
72
|
+
get files(): SheetFilesColumn | undefined;
|
|
73
|
+
set files(files: SheetFilesColumn | undefined);
|
|
74
|
+
/** In Excel's units, as openpyxl's; the file holds pixels. */
|
|
75
|
+
get width(): number | undefined;
|
|
76
|
+
set width(units: number | undefined);
|
|
77
|
+
get hidden(): boolean;
|
|
78
|
+
set hidden(hidden: boolean);
|
|
79
|
+
}
|
|
80
|
+
export declare class RowDimension {
|
|
81
|
+
readonly index: number;
|
|
82
|
+
_height: number | undefined;
|
|
83
|
+
_hidden: boolean | undefined;
|
|
84
|
+
_level: number | undefined;
|
|
85
|
+
_ws: Worksheet;
|
|
86
|
+
constructor(ws: Worksheet, row: number);
|
|
87
|
+
/** How deep it is grouped, Excel's outline, 1 to 7. */
|
|
88
|
+
get outlineLevel(): number | undefined;
|
|
89
|
+
set outlineLevel(level: number | undefined);
|
|
90
|
+
/** In points, as openpyxl's; the file holds pixels. */
|
|
91
|
+
get height(): number | undefined;
|
|
92
|
+
set height(points: number | undefined);
|
|
93
|
+
get hidden(): boolean;
|
|
94
|
+
set hidden(hidden: boolean);
|
|
95
|
+
}
|
|
96
|
+
export interface TableOptions {
|
|
97
|
+
displayName: string;
|
|
98
|
+
ref: string;
|
|
99
|
+
/** Added to openpyxl's: the column that lines rows up when two hands' changes merge. */
|
|
100
|
+
key?: string;
|
|
101
|
+
}
|
|
102
|
+
export declare class Table {
|
|
103
|
+
displayName: string;
|
|
104
|
+
ref: string;
|
|
105
|
+
key: string | undefined;
|
|
106
|
+
/** Its entry in sheet.yaml, once it has one. */
|
|
107
|
+
_spec: SheetTable | undefined;
|
|
108
|
+
/** Its filter: its buttons are there unless a script turns them off in the files. */
|
|
109
|
+
readonly autoFilter: AutoFilter;
|
|
110
|
+
constructor(o: TableOptions);
|
|
111
|
+
get name(): string;
|
|
112
|
+
}
|
|
113
|
+
export declare class TableList {
|
|
114
|
+
_items: Map<string, Table>;
|
|
115
|
+
constructor();
|
|
116
|
+
add(table: Table): void;
|
|
117
|
+
get(name: string): Table | undefined;
|
|
118
|
+
keys(): string[];
|
|
119
|
+
values(): Table[];
|
|
120
|
+
items(): [string, Table][];
|
|
121
|
+
pop(name: string): Table | undefined;
|
|
122
|
+
}
|
|
123
|
+
export declare class DefinedName {
|
|
124
|
+
readonly name: string;
|
|
125
|
+
attr_text: string;
|
|
126
|
+
constructor(name: string, o: {
|
|
127
|
+
attr_text: string;
|
|
128
|
+
});
|
|
129
|
+
get value(): string;
|
|
130
|
+
set value(text: string);
|
|
131
|
+
}
|
|
132
|
+
export declare class DefinedNameDict {
|
|
133
|
+
_items: Map<string, DefinedName>;
|
|
134
|
+
constructor();
|
|
135
|
+
add(name: DefinedName): void;
|
|
136
|
+
get(name: string): DefinedName | undefined;
|
|
137
|
+
keys(): string[];
|
|
138
|
+
values(): DefinedName[];
|
|
139
|
+
items(): [string, DefinedName][];
|
|
140
|
+
pop(name: string): DefinedName | undefined;
|
|
141
|
+
}
|
|
142
|
+
interface HeldCsv {
|
|
143
|
+
parsed: ParsedCsv | undefined;
|
|
144
|
+
rows: string[][];
|
|
145
|
+
}
|
|
146
|
+
export type TableInput = (CellValue | undefined)[] | Record<string, CellValue>;
|
|
147
|
+
export declare class Worksheet {
|
|
148
|
+
[place: `${string}${number}`]: Cell;
|
|
149
|
+
_parent: Workbook;
|
|
150
|
+
_title: string;
|
|
151
|
+
_was: string | undefined;
|
|
152
|
+
_model: ModelSheet | undefined;
|
|
153
|
+
_cells: Map<number, Cell>;
|
|
154
|
+
_columns: Map<string, ColumnDimension>;
|
|
155
|
+
_rows: Map<number, RowDimension>;
|
|
156
|
+
_tables: TableList;
|
|
157
|
+
_freeze: string | undefined;
|
|
158
|
+
_merges: string[];
|
|
159
|
+
_state: "visible" | "hidden";
|
|
160
|
+
_dimensions: boolean;
|
|
161
|
+
_lastRow: number;
|
|
162
|
+
_rules: SheetConditional[];
|
|
163
|
+
_validations: DataValidation[];
|
|
164
|
+
_filter: AutoFilter;
|
|
165
|
+
/** Its charts, openpyxl's private list. */
|
|
166
|
+
_charts: ChartBase[];
|
|
167
|
+
_print: SheetPrint;
|
|
168
|
+
_links: Record<string, string>;
|
|
169
|
+
_notes: Record<string, SheetNote>;
|
|
170
|
+
_pictures: SheetPicture[];
|
|
171
|
+
_protect: boolean;
|
|
172
|
+
constructor(parent: Workbook, title: string, model?: ModelSheet);
|
|
173
|
+
_spec(): SheetWorksheet | undefined;
|
|
174
|
+
/** What sheet.yaml says of its rules and filter. */
|
|
175
|
+
_heldRules(spec: SheetWorksheet | undefined): void;
|
|
176
|
+
private _at;
|
|
177
|
+
private _rowCells;
|
|
178
|
+
private _area;
|
|
179
|
+
get parent(): Workbook;
|
|
180
|
+
get title(): string;
|
|
181
|
+
set title(name: string);
|
|
182
|
+
get sheet_state(): "visible" | "hidden";
|
|
183
|
+
set sheet_state(state: "visible" | "hidden");
|
|
184
|
+
/** The cell at a row and a column, from 1, as openpyxl counts them. */
|
|
185
|
+
cell(row: number, column: number, value?: CellValue): Cell;
|
|
186
|
+
/** A row under the last one written. */
|
|
187
|
+
append(values: TableInput): void;
|
|
188
|
+
get max_row(): number;
|
|
189
|
+
get max_column(): number;
|
|
190
|
+
readonly min_row = 1;
|
|
191
|
+
readonly min_column = 1;
|
|
192
|
+
get dimensions(): string;
|
|
193
|
+
iter_rows(o?: {
|
|
194
|
+
min_row?: number;
|
|
195
|
+
max_row?: number;
|
|
196
|
+
min_col?: number;
|
|
197
|
+
max_col?: number;
|
|
198
|
+
values_only?: boolean;
|
|
199
|
+
}): (Cell | CellValue)[][];
|
|
200
|
+
iter_cols(o?: {
|
|
201
|
+
min_row?: number;
|
|
202
|
+
max_row?: number;
|
|
203
|
+
min_col?: number;
|
|
204
|
+
max_col?: number;
|
|
205
|
+
values_only?: boolean;
|
|
206
|
+
}): (Cell | CellValue)[][];
|
|
207
|
+
get rows(): Cell[][];
|
|
208
|
+
get columns(): Cell[][];
|
|
209
|
+
get values(): CellValue[][];
|
|
210
|
+
/** Rows put in before row `idx`, every formula that names what moved rewritten, as Excel does and openpyxl leaves to you. */
|
|
211
|
+
insert_rows(idx: number, amount?: number): void;
|
|
212
|
+
/** Rows taken out from `idx`: a reference to one is #REF!, and a range shrinks. */
|
|
213
|
+
delete_rows(idx: number, amount?: number): void;
|
|
214
|
+
/** Columns put in before column `idx`, from 1. */
|
|
215
|
+
insert_cols(idx: number, amount?: number): void;
|
|
216
|
+
/** Columns taken out from `idx`, from 1. */
|
|
217
|
+
delete_cols(idx: number, amount?: number): void;
|
|
218
|
+
merge_cells(range: string): void;
|
|
219
|
+
unmerge_cells(range: string): void;
|
|
220
|
+
/** Each merged range's text; openpyxl's is an object of them. */
|
|
221
|
+
get merged_cells(): string[];
|
|
222
|
+
get freeze_panes(): string | undefined;
|
|
223
|
+
set freeze_panes(place: string | Cell | undefined);
|
|
224
|
+
get column_dimensions(): Record<string, ColumnDimension>;
|
|
225
|
+
get row_dimensions(): Record<number, RowDimension>;
|
|
226
|
+
get tables(): TableList;
|
|
227
|
+
/** The sheet's conditional formats. */
|
|
228
|
+
get conditional_formatting(): ConditionalFormattingList;
|
|
229
|
+
get data_validations(): DataValidationList;
|
|
230
|
+
add_data_validation(data_validation: DataValidation): void;
|
|
231
|
+
/** The sheet's AutoFilter: set its ref to have one. A table has its own. */
|
|
232
|
+
get auto_filter(): AutoFilter;
|
|
233
|
+
_changed(): void;
|
|
234
|
+
/** `print`, `links`, `notes`, `pictures` and `protect` as sheet.yaml holds them. */
|
|
235
|
+
_heldPage(spec: SheetWorksheet | undefined): void;
|
|
236
|
+
get page_setup(): PageSetup;
|
|
237
|
+
get page_margins(): PageMargins;
|
|
238
|
+
get oddHeader(): HeaderFooter;
|
|
239
|
+
get oddFooter(): HeaderFooter;
|
|
240
|
+
get protection(): SheetProtection;
|
|
241
|
+
/** The range that prints. */
|
|
242
|
+
get print_area(): string | undefined;
|
|
243
|
+
set print_area(area: string | undefined);
|
|
244
|
+
/** Rows repeated on every page, as `1:2`. */
|
|
245
|
+
get print_title_rows(): string | undefined;
|
|
246
|
+
set print_title_rows(rows: string | undefined);
|
|
247
|
+
/** Columns repeated on every page, as `A:B`. */
|
|
248
|
+
get print_title_cols(): string | undefined;
|
|
249
|
+
set print_title_cols(columns: string | undefined);
|
|
250
|
+
/** A picture over the cells, at a cell: its anchor unless it says. */
|
|
251
|
+
add_image(image: Image, anchor?: string): void;
|
|
252
|
+
/** A chart at a cell: its anchor unless it says. */
|
|
253
|
+
add_chart(chart: ChartBase, anchor?: string): void;
|
|
254
|
+
add_table(table: Table): void;
|
|
255
|
+
}
|
|
256
|
+
export interface LoadOptions {
|
|
257
|
+
/** cell.value reads what a formula computes to, as openpyxl's. */
|
|
258
|
+
data_only?: boolean;
|
|
259
|
+
}
|
|
260
|
+
export declare class Workbook {
|
|
261
|
+
worksheets: Worksheet[];
|
|
262
|
+
readonly defined_names: DefinedNameDict;
|
|
263
|
+
readonly data_only: boolean;
|
|
264
|
+
/** The workbook's title, sheet.yaml's. */
|
|
265
|
+
title: string | undefined;
|
|
266
|
+
/** Its file, where it was opened or last saved. */
|
|
267
|
+
path: string | undefined;
|
|
268
|
+
/** How many typed cells together go in a CSV file of their own. */
|
|
269
|
+
block_cells: number;
|
|
270
|
+
_file: SheetFile;
|
|
271
|
+
_text: string;
|
|
272
|
+
/** sheet.yaml and the CSV files as they are on disk: what a save compares with. */
|
|
273
|
+
_disk: {
|
|
274
|
+
text: string;
|
|
275
|
+
csv: Map<string, string>;
|
|
276
|
+
};
|
|
277
|
+
_csv: Map<string, HeldCsv>;
|
|
278
|
+
_model: Model | undefined;
|
|
279
|
+
_names: Map<string, Scalar>;
|
|
280
|
+
_active: number;
|
|
281
|
+
/** Something changed since the files were last made. */
|
|
282
|
+
_pending: boolean;
|
|
283
|
+
/** It is a sheet's code's: what it makes is never saved. */
|
|
284
|
+
_making: boolean;
|
|
285
|
+
private _calc;
|
|
286
|
+
constructor(o?: LoadOptions);
|
|
287
|
+
/** A workbook read from its file. */
|
|
288
|
+
static open(path: string, o?: LoadOptions): Workbook;
|
|
289
|
+
private _read;
|
|
290
|
+
private _keepCsv;
|
|
291
|
+
private _load;
|
|
292
|
+
get active(): Worksheet;
|
|
293
|
+
set active(ws: Worksheet);
|
|
294
|
+
get sheetnames(): string[];
|
|
295
|
+
get_sheet_by_name(name: string): Worksheet | undefined;
|
|
296
|
+
index(ws: Worksheet): number;
|
|
297
|
+
create_sheet(title?: string, index?: number): Worksheet;
|
|
298
|
+
remove(ws: Worksheet): void;
|
|
299
|
+
move_sheet(ws: Worksheet, offset?: number): void;
|
|
300
|
+
_tableNamed(name: string): Table | undefined;
|
|
301
|
+
/** A sheet renamed in every formula that names it. */
|
|
302
|
+
_renameSheet(ws: Worksheet, from: string, to: string): void;
|
|
303
|
+
/** Rows or columns put in or taken out, through every file of the workbook. */
|
|
304
|
+
_restructure(edit: StructureEdit): void;
|
|
305
|
+
/** Every formula of the files after an edit of the workbook. */
|
|
306
|
+
private _rewrite;
|
|
307
|
+
private _rewriteCsv;
|
|
308
|
+
private _sheetEntry;
|
|
309
|
+
/** A new table's CSV file, beside the workbook's file, under a name no file there has. */
|
|
310
|
+
private _dataPath;
|
|
311
|
+
/** A table added since the files were read: its cells become its CSV file. */
|
|
312
|
+
private _writeNewTable;
|
|
313
|
+
/** What a column's format says needs no entry of its own in `format`. */
|
|
314
|
+
private _columnsStyled;
|
|
315
|
+
/** The formula every row of a column has, moved; undefined when they differ. */
|
|
316
|
+
private _columnFormula;
|
|
317
|
+
private _columnFormat;
|
|
318
|
+
private _held;
|
|
319
|
+
private _setCsvCell;
|
|
320
|
+
/** The record of a table's row, its file's blank lines not being rows. */
|
|
321
|
+
private _recordOf;
|
|
322
|
+
/** Where a changed cell of an existing table goes. */
|
|
323
|
+
private _writeTableCell;
|
|
324
|
+
private _movedColumn;
|
|
325
|
+
/** Writes what changed into the file objects, and reads them again. */
|
|
326
|
+
_apply(): void;
|
|
327
|
+
private _applyNames;
|
|
328
|
+
private _applySheet;
|
|
329
|
+
private _applyFilter;
|
|
330
|
+
private _applyTableFilters;
|
|
331
|
+
private _applyDimensions;
|
|
332
|
+
private _applyCells;
|
|
333
|
+
private _styleByFormat;
|
|
334
|
+
/** The cell's look as far as the file does not give it already. */
|
|
335
|
+
private _ownLook;
|
|
336
|
+
private _writeLoose;
|
|
337
|
+
/** New cells: a run of one formula is one key, many typed cells a CSV file. */
|
|
338
|
+
private _consolidate;
|
|
339
|
+
private _build;
|
|
340
|
+
/** The files as they now stand become what the next change is made over. */
|
|
341
|
+
private _rebase;
|
|
342
|
+
/** The workbook as it stands, computed. */
|
|
343
|
+
_computed(): {
|
|
344
|
+
calc: Calc;
|
|
345
|
+
model: Model;
|
|
346
|
+
};
|
|
347
|
+
/** What allyhub check would say of it as it stands, added to openpyxl's. */
|
|
348
|
+
check(): SheetProblem[];
|
|
349
|
+
/** What the sheet's code made on it: each CSV file named where it stands for no file on disk. */
|
|
350
|
+
_generated(): GeneratedSheets;
|
|
351
|
+
/**
|
|
352
|
+
* Writes its file and its CSV files beside it: where it came from, or to
|
|
353
|
+
* the file named (`finance/budget.yaml`).
|
|
354
|
+
*/
|
|
355
|
+
save(path?: string): void;
|
|
356
|
+
}
|
|
357
|
+
/** A workbook read, by its file or a folder's sheet.yaml: openpyxl's load_workbook. */
|
|
358
|
+
export declare function load_workbook(path: string, o?: LoadOptions): Workbook;
|
|
359
|
+
/** openpyxl's helpers for addresses. */
|
|
360
|
+
export declare const get_column_letter: (column: number) => string;
|
|
361
|
+
export declare function column_index_from_string(letters: string): number;
|
|
362
|
+
export declare function coordinate_to_tuple(address: string): [number, number];
|
|
363
|
+
/** (first column, first row, last column, last row), from 1. */
|
|
364
|
+
export declare function range_boundaries(range: string): [number, number, number, number];
|
|
365
|
+
export {};
|
|
366
|
+
//# 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{strict as g}from"@allyhub/formats";import{Comment as z,HeaderFooter as A,PageMargins as G,PageSetup as V,SheetProtection as Y}from"./page.js";import{columnIndex as C,columnLetter as N,cellName as E,contains as F,rangeName as x,readAddress as y,readArea as k}from"../address.js";import{Calc as q}from"../calc/engine.js";import{checkWorkbook as Q}from"../check.js";import{readCsv as X,writeCsv as Z}from"@allyhub/formats";import{GENERATED as ee}from"../generated.js";import"@allyhub/formats";import{moveFormula as te,relativeKey as se}from"../formula/move.js";import{parseFormula as M}from"../formula/parse.js";import{printFormula as B}from"../formula/print.js";import{rewriteFormula as ne}from"../formula/rewrite.js";import{isDateCode as S}from"../format.js";import{patchCsv as oe}from"../patch.js";import{CellError as W,dateOfSerial as ie,isoOfSerial as re,readTyped as j,serialOfDate as le,writeTyped as ae}from"../values.js";import{FormulaCell as he,readWorkbook as I,validName as K}from"../workbook.js";import{restructure as fe,tableShape as ce}from"../structure.js";import{patchYaml as _e}from"../write.js";import{anchorOf as ue,chartOfSpec as de}from"./charts.js";import{HINT as w}from"./hint.js";import{rectangles as T}from"./rectangles.js";import{AutoFilter as J,ConditionalFormattingList as me,DataValidationList as pe,validationOf as we,validationSpec as ge}from"./rules.js";import{alignmentLook as ke,alignmentOf as ye,borderLook as be,borderOf as ve,fillLook as xe,fillOf as $e,fontLook as Ce,fontOf as Se}from"./styles.js";const R=()=>process.getBuiltinModule("node:fs"),O=(...l)=>process.getBuiltinModule("node:path").join(...l);function H(l){if(!/\.ya?ml$/iu.test(l))throw new TypeError(`${l} is not a sheet's file: a workbook is its YAML file, wb.save('finance/budget.yaml'), load_workbook('finance/budget.yaml').`);return l}export const BLOCK_CELLS=100;const Ee=l=>Math.round(l*7+5),Te=l=>(l-5)/7,Oe=l=>l*4/3,Le=l=>l*3/4;function Ne(l,e){const t={},s=l,n=e;for(const o of new Set([...Object.keys(s),...Object.keys(n)])){const i=n[o];JSON.stringify(i??!1)!==JSON.stringify(s[o]??!1)&&(t[o]=i??!1)}return t}const p=l=>Object.keys(l).length===0,b=(l,e)=>{if(!Number.isInteger(l)||l<1)throw new RangeError(`A ${e} is a whole number from 1: ${String(l)}.`);return l},D=(l,e)=>Object.fromEntries(Object.entries(l).filter(([t])=>t!==e));export class Cell{row;column;_ws;_value;_formula=void 0;_look;_changed=!1;_styled=!1;_fresh=!1;constructor(e,t,s){this._ws=e,this.row=t,this.column=s;const n=t-1,o=s-1,i=e._model?.at(n,o);return this._value=null,i instanceof he?this._formula=i.text:i!==void 0&&(this._value=i),this._look=e._model?.lookAt(n,o)??{},this._fresh=i===void 0,g(this,"Cell",w)}get parent(){return this._ws}get coordinate(){return E({row:this.row-1,col:this.column-1})}get column_letter(){return N(this.column-1)}get col_idx(){return this.column}get value(){return this._ws.parent.data_only?this.computed:this._formula!==void 0?this._formula:this._shown(this._value)}set value(e){if(e===void 0)throw new TypeError(`${this.coordinate}: a value is not undefined.`);if(this._formula=void 0,this._changed=!0,this._ws.parent._pending=!0,e instanceof Date){if(Number.isNaN(e.getTime()))throw new TypeError(`${this.coordinate}: the date is not valid.`);this._value=le(e),S(this._look.format)||(this._look={...this._look,format:Number.isInteger(this._value)?"yyyy-mm-dd":"yyyy-mm-dd hh:mm"});return}if(typeof e=="string"&&e.length>1&&e.startsWith("=")){this._formula=e,this._value=null;return}this._value=e}_shown(e){return typeof e=="number"&&S(this._look.format)?ie(e)??e:e instanceof W?e.code:e}get computed(){const{calc:e,model:t}=this._ws.parent._computed(),s=t.sheet(this._ws.title);return s?this._shown(e.value(s,this.row-1,this.column-1)):null}get data_type(){if(this._formula!==void 0)return"f";const e=this._value;return e===null?"n":typeof e=="number"?S(this._look.format)?"d":"n":typeof e=="boolean"?"b":e instanceof W?"e":"s"}get is_date(){return this.data_type==="d"}get hyperlink(){return this._ws._links[this.coordinate]}set hyperlink(e){e===void 0?Reflect.deleteProperty(this._ws._links,this.coordinate):this._ws._links[this.coordinate]=e,this._ws._changed()}get comment(){const e=this._ws._notes[this.coordinate];if(e!==void 0)return typeof e=="string"?new z(e):new z(e.text,e.author)}set comment(e){e===void 0?Reflect.deleteProperty(this._ws._notes,this.coordinate):this._ws._notes[this.coordinate]=e._file(),this._ws._changed()}get number_format(){return this._look.format??"General"}set number_format(e){this._setLook({format:e})}_setLook(e){this._look={...this._look,...e},this._styled=!0,this._ws.parent._pending=!0}get font(){return Se(this._look)}set font(e){this._setLook(Ce(e))}get fill(){return $e(this._look)}set fill(e){this._setLook(xe(e))}get border(){return ve(this._look)}set border(e){this._setLook(be(e))}get alignment(){return ye(this._look)}set alignment(e){this._setLook(ke(e))}get has_style(){return!p(this._look)}offset(e=0,t=0){return this._ws.cell(this.row+e,this.column+t)}}export class ColumnDimension{index;_width;_hidden;_files;_level;_ws;constructor(e,t){this._ws=e,this.index=t;const s=e._spec()?.columns?.[t];return this._level=s?.level,this._width=s?.width,this._hidden=s?.hidden,this._files=s?.files,g(this,"ColumnDimension",w)}get outlineLevel(){return this._level}set outlineLevel(e){this._level=e,this._ws._dimensions=!0}get files(){return this._files}set files(e){this._files=e,this._ws._dimensions=!0}get width(){return this._width===void 0?void 0:Te(this._width)}set width(e){this._width=e===void 0?void 0:Ee(e),this._ws._dimensions=!0}get hidden(){return this._hidden??!1}set hidden(e){this._hidden=e,this._ws._dimensions=!0}}export class RowDimension{index;_height;_hidden;_level;_ws;constructor(e,t){this._ws=e,this.index=t;const s=e._spec()?.rows?.[String(t)];return this._level=s?.level,this._height=s?.height,this._hidden=s?.hidden,g(this,"RowDimension",w)}get outlineLevel(){return this._level}set outlineLevel(e){this._level=e,this._ws._dimensions=!0}get height(){return this._height===void 0?void 0:Le(this._height)}set height(e){this._height=e===void 0?void 0:Oe(e),this._ws._dimensions=!0}get hidden(){return this._hidden??!1}set hidden(e){this._hidden=e,this._ws._dimensions=!0}}export class Table{displayName;ref;key;_spec;autoFilter;constructor(e){for(const t of Object.keys(e))if(!["displayName","ref","key"].includes(t))throw new TypeError(`Table takes displayName, ref and key; it has no ${t}. ${w}`);if(!K(e.displayName))throw new TypeError(`${e.displayName} cannot be a table's name.`);if(!k(e.ref))throw new TypeError(`${e.ref} is not a range.`);return this.displayName=e.displayName,this.ref=e.ref,this.key=e.key,this.autoFilter=new J(e.ref,()=>{}),g(this,"Table",w)}get name(){return this.displayName}}export class TableList{_items=new Map;constructor(){return g(this,"TableList",w,{key:e=>this._items.get(e)})}add(e){this._items.set(e.name,e)}get(e){return this._items.get(e)}keys(){return[...this._items.keys()]}values(){return[...this._items.values()]}items(){return[...this._items.entries()]}pop(e){const t=this._items.get(e);return this._items.delete(e),t}}export class DefinedName{name;attr_text;constructor(e,t){if(!K(e))throw new TypeError(`${e} cannot be a name.`);return this.name=e,this.attr_text=t.attr_text.replace(/^=/u,""),g(this,"DefinedName",w)}get value(){return this.attr_text}set value(e){this.attr_text=e.replace(/^=/u,"")}}export class DefinedNameDict{_items=new Map;constructor(){return g(this,"DefinedNameDict",w,{key:e=>this._items.get(e),setKey:(e,t)=>t instanceof DefinedName?(this._items.set(e,t),!0):!1})}add(e){this._items.set(e.name,e)}get(e){return this._items.get(e)}keys(){return[...this._items.keys()]}values(){return[...this._items.values()]}items(){return[...this._items.entries()]}pop(e){const t=this._items.get(e);return this._items.delete(e),t}}const v=l=>{if(l._formula!==void 0)return l._formula;const e=l._value;return typeof e=="number"&&S(l._look.format)?re(e):ae(e)};function U(l){if(l._formula!==void 0)return l._formula;const e=l._value;return e===null?null:typeof e=="number"&&!S(l._look.format)||typeof e=="boolean"?e:v(l)}const Fe=l=>l.toLowerCase().replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/gu,"")||"rows";export class Worksheet{_parent;_title;_was;_model;_cells=new Map;_columns=new Map;_rows=new Map;_tables=new TableList;_freeze;_merges=[];_state="visible";_dimensions=!1;_lastRow=0;_rules=[];_validations=[];_filter;_charts=[];_print={};_links={};_notes={};_pictures=[];_protect=!1;constructor(e,t,s){if(this._parent=e,this._title=t,this._filter=new J(void 0,()=>{this._parent._pending=!0}),s){this._model=s,this._was=t,this._freeze=s.spec.freeze,this._heldPage(s.spec),this._merges=[...s.spec.merges??[]],this._state=s.spec.hidden===!0?"hidden":"visible",this._lastRow=(s.used?.bottom??-1)+1,this._heldRules(s.spec);for(const n of s.tables){const o=new Table({displayName:n.name,ref:x(n.area),...n.spec.key===void 0?{}:{key:n.spec.key}});o._spec=n.spec;const{filter:i}=n.spec;if(i)for(const[a,h]of Object.entries(i.columns)){const d=n.column(a);d&&o.autoFilter._columns.set(d.index,h)}this._tables.add(o)}}return g(this,"Worksheet",w,{index:n=>this._rowCells(n),key:n=>this._at(n),setKey:(n,o)=>{const i=y(n);return i?(this.cell(i.row+1,i.col+1).value=o,!0):!1}})}_spec(){return this._parent._file.sheets.find(e=>e.name===(this._was??this._title))}_heldRules(e){this._rules=[...e?.conditional??[]],this._validations=(e?.validations??[]).map(we),this._charts=(e?.charts??[]).map(de),this._filter.ref=e?.filter?.range,this._filter._columns.clear();const t=e?.filter?k(e.filter.range):void 0;for(const[s,n]of Object.entries(e?.filter?.columns??{})){const o=C(s);t&&o!==void 0&&this._filter._columns.set(o-t.left,n)}}_at(e){const t=y(e);if(t)return this.cell(t.row+1,t.col+1);const s=k(e);if(s)return this._area(s);const n=C(e);if(n!==void 0){const o=[];for(let i=1;i<=this.max_row;i++)o.push(this.cell(i,n+1));return o}}_rowCells(e){const t=[];for(let s=1;s<=this.max_column;s++)t.push(this.cell(e,s));return t}_area(e){const t=[];for(let s=e.top;s<=e.bottom;s++){const n=[];for(let o=e.left;o<=e.right;o++)n.push(this.cell(s+1,o+1));t.push(n)}return t}get parent(){return this._parent}get title(){return this._title}set title(e){const t=this._title;e!==t&&this._parent._renameSheet(this,t,e)}get sheet_state(){return this._state}set sheet_state(e){this._state=e}cell(e,t,s){if(e<1||t<1)throw new RangeError(`Row and column values must be at least 1: ${String(e)}, ${String(t)}.`);const n=(e-1)*16384+t-1;let o=this._cells.get(n);return o||(o=new Cell(this,e,t),this._cells.set(n,o)),s!==void 0&&(o.value=s),e>this._lastRow&&(this._lastRow=e),o}append(e){const t=this._lastRow+1,s=(n,o)=>{o!=null&&this.cell(t,n,o)};if(Array.isArray(e))e.forEach((n,o)=>{s(o+1,n)});else for(const[n,o]of Object.entries(e)){const i=/^\d+$/u.test(n)?Number(n)-1:C(n);if(i===void 0)throw new TypeError(`${n} is not a column.`);s(i+1,o)}this._lastRow=t}get max_row(){return Math.max(1,this._lastRow)}get max_column(){let e=this._model?.columnsUsed??0;for(const t of this._cells.values())(t._value!==null||t._formula!==void 0)&&t.column>e&&(e=t.column);return Math.max(1,e)}min_row=1;min_column=1;get dimensions(){return x({top:0,left:0,bottom:this.max_row-1,right:this.max_column-1})}iter_rows(e={}){const t=this._area({top:(e.min_row??1)-1,left:(e.min_col??1)-1,bottom:(e.max_row??this.max_row)-1,right:(e.max_col??this.max_column)-1});return e.values_only===!0?t.map(s=>s.map(n=>n.value)):t}iter_cols(e={}){const t=this.iter_rows(e);return(t[0]??[]).map((n,o)=>t.map(i=>i[o]))}get rows(){return this.iter_rows()}get columns(){return this.iter_cols()}get values(){return this.iter_rows({values_only:!0})}insert_rows(e,t=1){this._parent._restructure({op:"insert-rows",sheet:this._title,at:b(e,"row")-1,count:b(t,"amount")})}delete_rows(e,t=1){this._parent._restructure({op:"delete-rows",sheet:this._title,at:b(e,"row")-1,count:b(t,"amount")})}insert_cols(e,t=1){this._parent._restructure({op:"insert-columns",sheet:this._title,at:b(e,"column")-1,count:b(t,"amount")})}delete_cols(e,t=1){this._parent._restructure({op:"delete-columns",sheet:this._title,at:b(e,"column")-1,count:b(t,"amount")})}merge_cells(e){if(!k(e))throw new TypeError(`${e} is not a range.`);this._merges.includes(e)||this._merges.push(e),this._parent._pending=!0}unmerge_cells(e){this._merges=this._merges.filter(t=>t!==e),this._parent._pending=!0}get merged_cells(){return[...this._merges]}get freeze_panes(){return this._freeze}set freeze_panes(e){const t=e instanceof Cell?e.coordinate:e;if(t!==void 0&&!y(t))throw new TypeError(`${t} is not a cell.`);this._freeze=t,this._parent._pending=!0}get column_dimensions(){return new Proxy({},{get:(e,t)=>{if(typeof t!="string")return;const s=t.toUpperCase();if(C(s)===void 0)throw new TypeError(`${t} is not a column.`);let n=this._columns.get(s);return n||(n=new ColumnDimension(this,s),this._columns.set(s,n)),n}})}get row_dimensions(){return new Proxy({},{get:(e,t)=>{if(typeof t!="string"||!/^[1-9]\d*$/u.test(t))throw new TypeError(`${String(t)} is not a row.`);const s=Number(t);let n=this._rows.get(s);return n||(n=new RowDimension(this,s),this._rows.set(s,n)),n}})}get tables(){return this._tables}get conditional_formatting(){return new me(this._rules,()=>{this._parent._pending=!0})}get data_validations(){return new pe(this._validations,()=>{this._parent._pending=!0})}add_data_validation(e){this._validations.push(e),this._parent._pending=!0}get auto_filter(){return this._filter}_changed(){this._parent._pending=!0}_heldPage(e){this._print=structuredClone(e?.print??{}),this._links={...e?.links},this._notes={...e?.notes},this._pictures=[...e?.pictures??[]],this._protect=e?.protect===!0}get page_setup(){return new V(this)}get page_margins(){return new G(this)}get oddHeader(){return new A(this,"header")}get oddFooter(){return new A(this,"footer")}get protection(){return new Y(()=>this._protect,e=>{this._protect=e,this._changed()})}get print_area(){return this._print.area}set print_area(e){if(e===void 0)delete this._print.area;else if(k(e))this._print.area=e;else throw new TypeError(`${e} is not a range.`);this._changed()}get print_title_rows(){return this._print.title_rows}set print_title_rows(e){e===void 0?delete this._print.title_rows:this._print.title_rows=e,this._changed()}get print_title_cols(){return this._print.title_cols}set print_title_cols(e){e===void 0?delete this._print.title_cols:this._print.title_cols=e,this._changed()}add_image(e,t){const s=t??e.anchor??"A1";if(!y(s))throw new TypeError(`${s} is not a cell.`);this._pictures.push({file:e.path,at:s,...e.width===void 0?{}:{width:e.width},...e.height===void 0?{}:{height:e.height}}),this._changed()}add_chart(e,t){e.anchor=ue(t)??e.anchor,this._charts.push(e),this._parent._pending=!0}add_table(e){if(this._parent._tableNamed(e.name))throw new Error(`There is already a table named ${e.name}.`);this._tables.add(e),this._parent._pending=!0}}export class Workbook{worksheets=[];defined_names=new DefinedNameDict;data_only;title;path;block_cells=BLOCK_CELLS;_file={sheets:[]};_text="";_disk={text:"",csv:new Map};_csv=new Map;_model;_names=new Map;_active=0;_pending=!1;_making=!1;_calc=void 0;constructor(e={}){this.data_only=e.data_only??!1;const t=g(this,"Workbook",w,{key:s=>this.worksheets.find(n=>n.title===s),index:s=>this.worksheets[s]});return t.worksheets=[new Worksheet(t,"Sheet")],t}static open(e,t={}){const s=new Workbook(t);return s.path=H(e),s._read(s.path),s}_read(e){const{readFileSync:t}=R(),s=t(e,"utf8"),n=process.getBuiltinModule("node:path").dirname(e),o=new Map,i=a=>{try{const h=t(O(n,a),"utf8");return o.set(a,h),h}catch{return}};this._load(s,i);for(const[a,h]of o)this._keepCsv(a,h);this._disk={text:s,csv:o}}_keepCsv(e,t){const s=X(t);this._csv.set(e,{parsed:s,rows:s.records.map(n=>n.end===n.start?[]:[...n.fields])})}_load(e,t){const{workbook:s,problems:n}=I({text:e,read:t});if(!s)throw new Error(`The workbook cannot be opened: ${n.map(o=>o.message).join("; ")}`);this._text=e,this._file=structuredClone(s.file),this._model=s,this.title=s.title,this.worksheets=s.sheets.map(o=>new Worksheet(this,o.name,o));for(const o of s.names.values()){if(o.source.path?.[0]!=="names")continue;const i=o.formula?o.formula.text:o.value??null;this._names.set(o.name,i),this.defined_names.add(new DefinedName(o.name,{attr_text:String(i)}))}}get active(){const e=this.worksheets[this._active]??this.worksheets[0];if(!e)throw new Error("The workbook has no sheets.");return e}set active(e){this._active=this.worksheets.indexOf(e)}get sheetnames(){return this.worksheets.map(e=>e.title)}get_sheet_by_name(e){return this.worksheets.find(t=>t.title===e)}index(e){return this.worksheets.indexOf(e)}create_sheet(e,t){let s=e??"Sheet";for(let o=1;this.worksheets.some(i=>i.title===s);o++)s=`${e??"Sheet"}${String(o)}`;const n=new Worksheet(this,s);return this.worksheets.splice(t??this.worksheets.length,0,n),this._pending=!0,n}remove(e){this.worksheets=this.worksheets.filter(t=>t!==e),this._pending=!0}move_sheet(e,t=0){const s=this.worksheets.indexOf(e);this.worksheets.splice(s,1),this.worksheets.splice(s+t,0,e),this._pending=!0}_tableNamed(e){for(const t of this.worksheets){const s=t._tables.get(e);if(s)return s}}_renameSheet(e,t,s){if(this.worksheets.some(o=>o!==e&&o.title===s))throw new Error(`There is already a sheet named ${s}.`);this._apply(),this._rewrite({op:"rename-sheet",from:t,to:s}),e._title=s,e._was=s;const n=this._file.sheets.find(o=>o.name===t);n&&(n.name=s),this._apply()}_restructure(e){this._apply();const t=fe({file:this._file,rows:new Map([...this._csv].map(([n,o])=>[n,o.rows]))},e);if(t.refused!==void 0)throw new Error(t.refused==="table-header"?"A table's header row is not deleted: delete the table's rows, or all of it.":"That sheet is not there.");this._file=t.file;for(const[n,o]of t.rows){const i=this._csv.get(n);i&&(i.rows=o.map(a=>[...a]))}for(const n of this.worksheets){const o=this._file.sheets.find(i=>i.name===n._title);n._cells.clear(),n._columns.clear(),n._rows.clear(),n._merges=[...o?.merges??[]],n._freeze=o?.freeze,n._heldPage(o),n._heldRules(o)}const s=this._build();this._rebase(s.text,s.files);for(const n of this.worksheets){const o=this._model?.sheet(n._title);if(o){n._lastRow=(o.used?.bottom??-1)+1;for(const i of o.tables){const a=n._tables.get(i.name);a&&(a.ref=x(i.area))}}}}_rewrite(e){const t=(n,o)=>{const i=M(n);if(!i.ok)return n;const a=ne(i.node,e,o);return a===i.node?n:B(a)},{_file:s}=this;if(s.names){for(const[n,o]of Object.entries(s.names))if(typeof o=="string"&&o.startsWith("=")){const i=t(o,s.sheets[0]?.name??"");s.names[n]=i,this._names.set(n,i);const a=this.defined_names.get(n);a&&(a.attr_text=i.slice(1))}}for(const n of s.checks??[])n.formula=t(n.formula,s.sheets[0]?.name??"");for(const n of s.sheets){for(const[o,i]of Object.entries(n.cells??{}))typeof i=="string"&&i.startsWith("=")?n.cells[o]=t(i,n.name):i!==null&&typeof i=="object"&&i.formula!==void 0&&(i.formula=t(i.formula,n.name));for(const o of n.tables??[]){for(const i of Object.values(o.columns??{}))i.formula!==void 0&&(i.formula=t(i.formula,n.name));this._rewriteCsv(o.rows,n.name,t)}for(const o of n.blocks??[])this._rewriteCsv(o.rows,n.name,t)}}_rewriteCsv(e,t,s){const n=this._csv.get(e);n&&(n.rows=n.rows.map(o=>o.map(i=>j(i).formula!==void 0?s(i,t):i)))}_sheetEntry(e){const t=e._was??e._title;let s=this._file.sheets.find(n=>n.name===t);return s||(s={name:e._title},this._file.sheets.push(s)),s.name=e._title,s}_dataPath(e){const t=Fe(e);let s=`${t}.csv`;const n=this.path===void 0?void 0:process.getBuiltinModule("node:path").dirname(this.path),o=i=>this._csv.has(i)||this._file.sheets.some(a=>a.tables?.some(h=>h.rows===i)??a.blocks?.some(h=>h.rows===i))||n!==void 0&&R().existsSync(O(n,i));for(let i=2;o(s);i++)s=`${t}-${String(i)}.csv`;return s}_writeNewTable(e,t,s){const n=k(s.ref);if(!n)throw new Error(`${s.ref} is not a range.`);const o=[];for(let r=n.left;r<=n.right;r++){const c=e.cell(n.top+1,r+1).value;if(c===null||c==="")throw new Error(`Table ${s.name}'s header has no name at ${E({row:n.top,col:r})}.`);o.push(String(c))}const i={},a=[];o.forEach((r,c)=>{const f=n.left+c,_=this._columnFormula(e,n,f);_===void 0?a.push(c):i[r]={formula:_};const m=this._columnFormat(e,n,f);m!==void 0&&(i[r]={...i[r],format:m})}),this._columnsStyled(e,n);const h=[a.map(r=>o[r]??"")];for(let r=n.top+1;r<=n.bottom;r++)h.push(a.map(c=>v(e.cell(r+1,n.left+c+1))));t.cells&&(t.cells=Object.fromEntries(Object.entries(t.cells).filter(([r])=>{const c=y(r);return!c||!F(n,c.row,c.col)})));const d=this._dataPath(s.name);this._csv.set(d,{parsed:void 0,rows:h});const u={name:s.name,at:E({row:n.top,col:n.left}),rows:d,...s.key===void 0?{}:{key:s.key},...p(i)?{}:{columns:i}};(t.tables??=[]).push(u),s._spec=u}_columnsStyled(e,t){for(let s=t.left;s<=t.right;s++)for(let n=t.top+1;n<=t.bottom;n++){const o=e.cell(n+1,s+1),{format:i,...a}=this._ownLook(o);i!==void 0&&p(a)&&(o._styled=!1)}}_columnFormula(e,t,s){if(t.bottom<=t.top)return;const n=e.cell(t.top+2,s+1),o=P(n);if(o!==void 0){for(let i=t.top+2;i<=t.bottom;i++)if(P(e.cell(i+1,s+1))!==o)return;return n._formula}}_columnFormat(e,t,s){if(t.bottom<=t.top)return;const n=i=>this._ownLook(e.cell(i+1,s+1)).format,o=n(t.top+1);for(let i=t.top+2;i<=t.bottom;i++)if(n(i)!==o)return;return o}_held(e){const t=this._csv.get(e);if(!t)throw new Error(`${e} was not read.`);return t}_setCsvCell(e,t,s,n){const{rows:o}=this._held(e);for(;o.length<=t;)o.push([]);const i=o[t];if(i){for(;i.length<=s;)i.push("");i[s]=n}}_recordOf(e,t){let s=0;for(let n=0;n<t;){if(s+=1,s>=e.length)return s+t-n-1;e[s]?.length!==0&&(n+=1)}return s}_writeTableCell(e,t,s){const n=this._held(e.rows),o=n.rows[0]??[],i=s.column-1-t.left,a=this._recordOf(n.rows,s.row-1-t.top),h=Object.keys(e.columns??{}).filter(f=>!o.some(_=>_.trim().toLowerCase()===f.toLowerCase())),u=[...o.map(f=>f.trim()),...h][i];if(u===void 0)return;if(a===0){i<o.length&&(o[i]=v(s));return}const r=e.columns?.[u]?.formula;if(r!==void 0){const f=this._movedColumn(r,t,s);if(s._formula===f){const _=o.findIndex(m=>m.trim()===u);_>=0&&this._setCsvCell(e.rows,a,_,"");return}}let c=o.findIndex(f=>f.trim()===u);c<0&&(c=o.length,this._setCsvCell(e.rows,0,c,u)),this._setCsvCell(e.rows,a,c,v(s))}_movedColumn(e,t,s){const n=M(e);if(!n.ok)return e;const o=s.row-1-(t.top+1);return o===0?e:B(te(n.node,o,0))}_apply(){this.title===void 0?delete this._file.title:this._file.title=this.title;const e=new Set(this.worksheets.map(s=>s._was??s._title));this._file.sheets=this._file.sheets.filter(s=>e.has(s.name));for(const s of this.worksheets)this._applySheet(s);this._file.sheets=this.worksheets.map(s=>this._sheetEntry(s)),this._applyNames();const t=this._build();this._rebase(t.text,t.files)}_applyNames(){const e={};for(const t of this.defined_names.values()){const s=j(t.attr_text),n=this._names.get(t.name);e[t.name]=n!==void 0&&String(n).replace(/^=/u,"")===t.attr_text?n:typeof s.value=="number"||typeof s.value=="boolean"?s.value:/^"[^"]*"$/u.test(t.attr_text)?t.attr_text.slice(1,-1):`=${t.attr_text}`}p(e)?delete this._file.names:this._file.names=e}_applySheet(e){const t=this._sheetEntry(e);e._freeze===void 0?delete t.freeze:t.freeze=e._freeze,p(e._print)?delete t.print:t.print=e._print,p(e._links)?delete t.links:t.links=e._links,p(e._notes)?delete t.notes:t.notes=e._notes,e._pictures.length===0?delete t.pictures:t.pictures=e._pictures,e._protect?t.protect=!0:delete t.protect,e._merges.length===0?delete t.merges:t.merges=[...e._merges],e._state==="hidden"?t.hidden=!0:delete t.hidden,e._rules.length===0?delete t.conditional:t.conditional=[...e._rules],e._validations.length===0?delete t.validations:t.validations=e._validations.map(ge),e._charts.length===0?delete t.charts:t.charts=e._charts.map(n=>n._spec(e._title)),this._applyFilter(e,t);const s=new Set(t.tables?.map(n=>n.name.toLowerCase()));for(const n of e._tables.values())s.has(n.name.toLowerCase())||this._writeNewTable(e,t,n);this._applyTableFilters(e,t),this._applyCells(e,t),this._applyDimensions(e,t),t.cells&&p(t.cells)&&delete t.cells,t.columns&&p(t.columns)&&delete t.columns,t.rows&&p(t.rows)&&delete t.rows,t.format?.length===0&&delete t.format,t.tables?.length===0&&delete t.tables,t.blocks?.length===0&&delete t.blocks}_applyFilter(e,t){const{ref:s,_columns:n}=e._filter;if(s===void 0){delete t.filter;return}const o=k(s);if(!o)throw new TypeError(`${s} is not a range.`);const i={};for(const[a,h]of n)i[N(o.left+a)]=h;t.filter={range:s,...p(i)?{}:{columns:i}}}_applyTableFilters(e,t){for(const s of t.tables??[]){const n=e._tables.get(s.name);if(!n||n.autoFilter._columns.size===0)continue;const o=this._csv.get(s.rows)?.rows??[],i=ce(s,o)?.names??[],a={};for(const[h,d]of n.autoFilter._columns){const u=i[h];if(u===void 0)throw new RangeError(`Table ${s.name} has no column at ${String(h)}.`);a[u]=d}s.filter={columns:a}}}_applyDimensions(e,t){if(e._dimensions){for(const[s,n]of e._columns){const o={...t.columns?.[s]};n._width===void 0?delete o.width:o.width=n._width,n._hidden===void 0?delete o.hidden:o.hidden=n._hidden,n._files===void 0?delete o.files:o.files=n._files,n._level===void 0?delete o.level:o.level=n._level;const i=D(t.columns??{},s);t.columns=p(o)?i:{...i,[s]:o}}for(const[s,n]of e._rows){const o={...t.rows?.[String(s)]};n._height===void 0?delete o.height:o.height=n._height,n._hidden===void 0?delete o.hidden:o.hidden=n._hidden,n._level===void 0?delete o.level:o.level=n._level;const i=D(t.rows??{},String(s));t.rows=p(o)?i:{...i,[String(s)]:o}}e._dimensions=!1}}_applyCells(e,t){const s=(t.tables??[]).flatMap(i=>{const a=y(i.at),h=e._tables.get(i.name),d=h?k(h.ref):void 0;return a&&d?[{entry:i,area:d}]:[]}),n=(t.blocks??[]).flatMap(i=>{const a=e._model?.blocks.find(h=>h.file===i.rows);return a?[{entry:i,area:a.area}]:[]}),o=[];for(const i of e._cells.values()){if(!i._changed&&!i._styled)continue;const a=i.row-1,h=i.column-1,d=s.find(r=>F(r.area,a,h)),u=n.find(r=>F(r.area,a,h));d?(i._changed&&this._writeTableCell(d.entry,d.area,i),i._styled&&this._styleByFormat(t,i)):u?(i._changed&&this._setCsvCell(u.entry.rows,a-u.area.top,h-u.area.left,v(i)),i._styled&&this._styleByFormat(t,i)):i._fresh&&!e._model?.keys.has(a*16384+h)?o.push(i):this._writeLoose(e,t,i),i._changed=!1,i._styled=!1}this._consolidate(e,t,o),Me(t)}_styleByFormat(e,t){(e.format??=[]).push({range:t.coordinate,...this._ownLook(t)})}_ownLook(e){const t=e._ws._model?.lookAt(e.row-1,e.column-1)??{},s=Ne(t,e._look);return s.format!==void 0&&e._formula===void 0&&j(v(e)).format===s.format&&delete s.format,s}_writeLoose(e,t,s){const n=s.coordinate,o=t.cells??={},i=U(s),a=this._ownLook(s),h=o[n],u={...h!==null&&typeof h=="object"?Object.fromEntries(Object.entries(h).filter(([f])=>f!=="value"&&f!=="formula"&&f!=="name")):{},...a},r=h!==null&&typeof h=="object"&&h.name!==void 0?{name:h.name}:{},c=e._model?.at(s.row-1,s.column-1)!==void 0;if(i===null&&p(u)&&!c){t.cells=D(o,n);return}o[n]=p(u)&&p(r)?i:{...typeof i=="string"&&i.startsWith("=")?{formula:i}:i===null?{}:{value:i},...r,...u}}_consolidate(e,t,s){const n=s.filter(r=>r._value!==null||r._formula!==void 0),o=new Map;for(const r of s){const c=this._ownLook(r);if(p(c))continue;const f=JSON.stringify(c),_=o.get(f);_?_.push(r):o.set(f,[r])}const i=new Map(n.map(r=>[`${String(r.row)}:${String(r.column)}`,r])),a=r=>i.get(`${String(r.row+1)}:${String(r.col+1)}`)??e.cell(r.row+1,r.col+1),h=new Map,d=[];for(const r of n){const c={row:r.row-1,col:r.column-1},f=r._formula===void 0?void 0:P(r);if(f===void 0){d.push(c);continue}const _=h.get(f);_?_.push(c):h.set(f,[c])}const u=t.cells??={};for(const r of h.values())for(const c of T(r))u[x(c)]=a({row:c.top,col:c.left})._formula??null;for(const r of T(d))if((r.bottom-r.top+1)*(r.right-r.left+1)>=this.block_cells){const f=[];for(let m=r.top;m<=r.bottom;m++){const $=[];for(let L=r.left;L<=r.right;L++)$.push(v(a({row:m,col:L})));f.push($)}const _=this._dataPath(e._title);this._csv.set(_,{parsed:void 0,rows:f}),(t.blocks??=[]).push({at:E({row:r.top,col:r.left}),rows:_})}else for(let f=r.top;f<=r.bottom;f++)for(let _=r.left;_<=r.right;_++){const m=a({row:f,col:_});u[m.coordinate]=U(m)}for(const r of o.values()){const[c]=r;if(!c)continue;const f=this._ownLook(c),_=r.map(m=>({row:m.row-1,col:m.column-1}));for(const m of T(_))(t.format??=[]).push({range:x(m),...f})}}_build(){const e=new Map;for(const[t,s]of this._csv)e.set(t,s.parsed?oe(s.parsed,s.rows):Z(s.rows));return{text:_e(this._text,this._file),files:e}}_rebase(e,t){const{workbook:s,problems:n}=I({text:e,read:o=>t.get(o)});if(!s)throw new Error(`The workbook is not one: ${n.map(o=>o.message).join("; ")}`);this._text=e,this._file=structuredClone(s.file),this._model=s;for(const[o,i]of t)this._keepCsv(o,i);this._calc=void 0,this._pending=!1;for(const o of this.worksheets){o._was=o._title;const i=s.sheet(o._title);i&&(o._model=i);for(const a of o._cells.values())a._fresh=i?.at(a.row-1,a.column-1)===void 0}this._names=new Map;for(const o of s.names.values())o.source.path?.[0]==="names"&&this._names.set(o.name,o.formula?o.formula.text:o.value??null)}_computed(){const e=[...this.defined_names.values()];if((this._pending||e.length!==this._names.size||e.some(t=>String(this._names.get(t.name)).replace(/^=/u,"")!==t.attr_text))&&this._apply(),!this._calc){const t=this._model;if(!t)throw new Error("The workbook has no sheets.");this._calc={calc:new q(t).calculate(),model:t}}return this._calc}check(){this._apply();const{text:e,files:t}=this._build();return Q({text:e,read:s=>t.get(s)}).problems}_generated(){if(this.worksheets.length===0)return this._applyNames(),{sheets:[],csv:{},...this._file.names?{names:this._file.names}:{}};this._apply();const e=structuredClone(this._file.sheets),t=n=>`${ee}${n}`;for(const n of e){for(const o of n.tables??[])o.rows=t(o.rows);for(const o of n.blocks??[])o.rows=t(o.rows)}const s={};for(const[n,o]of this._build().files)s[t(n)]=o;return{sheets:e,csv:s,...this._file.names?{names:this._file.names}:{}}}save(e){if(this._making)throw new Error("A sheet's code makes sheets and saves nothing: what it adds to wb is what it makes.");const t=e===void 0?this.path:H(e);if(t===void 0)throw new TypeError("A new workbook is saved to a file: wb.save('finance/budget.yaml').");if(this.worksheets.length===0)throw new Error("A workbook has at least one sheet.");const{text:s,csv:n}=this._disk;this._apply();const o=new Set(this._file.sheets.flatMap(f=>[...(f.tables??[]).map(_=>_.rows),...(f.blocks??[]).map(_=>_.rows)])),i=[...this._csv.keys()].filter(f=>!o.has(f));for(const f of i)this._csv.delete(f);const{mkdirSync:a,rmSync:h,writeFileSync:d}=R(),u=process.getBuiltinModule("node:path"),r=u.dirname(t),c=e===void 0||t===this.path;a(r,{recursive:!0}),(this._text!==s||!c)&&d(t,this._text);for(const[f,_]of this._csv){const m=_.parsed?.source??"";if(c&&n.get(f)===m)continue;const $=O(r,f);a(u.dirname($),{recursive:!0}),d($,m)}if(c)for(const f of i)h(O(r,f),{force:!0});this._disk={text:this._text,csv:new Map([...this._csv].map(([f,_])=>[f,_.parsed?.source??""]))},this.path=t}}function P(l){if(l._formula===void 0)return;const e=M(l._formula);if(e.ok)return se(e.node,l.row-1,l.column-1)}function Me(l){const e=l.format;if(!e||e.length<2)return;const t=[],s=new Map;for(const n of e){const{range:o,...i}=n,a=y(o);if(!a){t.push(n);continue}const h=JSON.stringify(i),d=s.get(h);d?d.places.push(a):s.set(h,{look:i,places:[a]})}for(const{look:n,places:o}of s.values())for(const i of T(o))t.push({range:x(i),...n});l.format=t}export function load_workbook(l,e={}){return Workbook.open(l,e)}export const get_column_letter=l=>N(l-1);export function column_index_from_string(l){const e=C(l);if(e===void 0)throw new TypeError(`${l} is not a column.`);return e+1}export function coordinate_to_tuple(l){const e=y(l);if(!e)throw new TypeError(`${l} is not a cell.`);return[e.row+1,e.col+1]}export function range_boundaries(l){const e=k(l);if(!e)throw new TypeError(`${l} is not a range.`);return[e.left+1,e.top+1,e.right+1,e.bottom+1]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { SheetChart, SheetConditional, SheetFilterColumn, SheetSide, SheetValidation } from "@allyhub/formats";
|
|
2
|
+
import { type Area, type Place } from "./address.js";
|
|
3
|
+
import { Draft, type BookEdit, type EditBook } from "./edit.js";
|
|
4
|
+
import type { CellLook, Filter, Worksheet } from "./workbook.js";
|
|
5
|
+
/** Excel's Borders list. */
|
|
6
|
+
export declare const BORDER_PRESETS: readonly ["bottom", "top", "left", "right", "none", "all", "outside", "thickOutside", "bottomDouble", "thickBottom", "topBottom", "topThickBottom", "topDoubleBottom"];
|
|
7
|
+
export type BorderPreset = (typeof BORDER_PRESETS)[number];
|
|
8
|
+
type Sides = NonNullable<CellLook["border"]>;
|
|
9
|
+
/** Sides drawn on an area, in `format`: later entries win side by side. */
|
|
10
|
+
export declare function drawSides(d: Draft, sheet: Worksheet, area: Area, sides: Sides): void;
|
|
11
|
+
/** A preset of Excel's Borders list on an area. */
|
|
12
|
+
export declare function setBorders(book: EditBook, sheetName: string, area: Area, preset: BorderPreset, o?: {
|
|
13
|
+
style?: SheetSide["style"];
|
|
14
|
+
color?: string;
|
|
15
|
+
}): BookEdit;
|
|
16
|
+
/** What Format Cells' Border tab says of each side of a selection, and between its cells. */
|
|
17
|
+
export declare function setBorderSides(book: EditBook, sheetName: string, area: Area, sides: {
|
|
18
|
+
top?: SheetSide | null;
|
|
19
|
+
bottom?: SheetSide | null;
|
|
20
|
+
left?: SheetSide | null;
|
|
21
|
+
right?: SheetSide | null;
|
|
22
|
+
/** Between its rows. */
|
|
23
|
+
horizontal?: SheetSide | null;
|
|
24
|
+
/** Between its columns. */
|
|
25
|
+
vertical?: SheetSide | null;
|
|
26
|
+
}): BookEdit;
|
|
27
|
+
export type MergeHow = "center" | "across" | "cells";
|
|
28
|
+
/** Whether merging would take a value away: cells other than the first of each merge hold something. */
|
|
29
|
+
export declare function mergeLoses(sheet: Worksheet, area: Area, how: MergeHow): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Cells merged as Excel's Merge & Center, Merge Across and Merge Cells: the
|
|
32
|
+
* first value stays, in the first cell, and the others go. Tables hold no merges.
|
|
33
|
+
*/
|
|
34
|
+
export declare function mergeCells(book: EditBook, sheetName: string, area: Area, how: MergeHow): BookEdit;
|
|
35
|
+
/** Every merge that touches an area taken out. */
|
|
36
|
+
export declare function unmergeCells(book: EditBook, sheetName: string, area: Area): BookEdit;
|
|
37
|
+
/** The panes frozen above and left of a cell; nothing unfreezes them. */
|
|
38
|
+
export declare function setFreeze(book: EditBook, sheetName: string, at: Place | undefined): BookEdit;
|
|
39
|
+
/** Rows or columns hidden, or shown again. */
|
|
40
|
+
export declare function setHidden(book: EditBook, sheetName: string, what: "rows" | "columns", from: number, to: number, hidden: boolean): BookEdit;
|
|
41
|
+
/** A sheet hidden or shown; at least one stays. */
|
|
42
|
+
export declare function setSheetHidden(book: EditBook, sheetName: string, hidden: boolean): BookEdit;
|
|
43
|
+
/** A sheet's tab given a colour, or none. */
|
|
44
|
+
export declare function setTabColor(book: EditBook, sheetName: string, color: string | undefined): BookEdit;
|
|
45
|
+
/** Cmd+Shift+L: a filter on the selection's region, or off. A table's buttons go and come. */
|
|
46
|
+
export declare function toggleFilter(book: EditBook, sheetName: string, area: Area): BookEdit;
|
|
47
|
+
/** What one column of a filter keeps; nothing clears it. */
|
|
48
|
+
export declare function setFilterColumn(book: EditBook, sheetName: string, filter: Filter, col: number, keep: SheetFilterColumn | undefined): BookEdit;
|
|
49
|
+
/** Every filter of a sheet shows all its rows again. */
|
|
50
|
+
export declare function clearFilters(book: EditBook, sheetName: string): BookEdit;
|
|
51
|
+
/** A rule added, first of all, as Excel puts a new one. */
|
|
52
|
+
export declare function addConditional(book: EditBook, sheetName: string, rule: SheetConditional): BookEdit;
|
|
53
|
+
/** Conditional formats cleared from an area, or from all the sheet. */
|
|
54
|
+
export declare function clearConditional(book: EditBook, sheetName: string, area: Area | undefined): BookEdit;
|
|
55
|
+
/** The data validation of an area: what was there goes, and `rule` holds. */
|
|
56
|
+
export declare function setValidation(book: EditBook, sheetName: string, area: Area, rule: Omit<SheetValidation, "range"> | undefined): BookEdit;
|
|
57
|
+
/** A sheet's whole grid, for what covers all of it. */
|
|
58
|
+
export declare const WHOLE_SHEET: Area;
|
|
59
|
+
/** A chart put on a sheet. */
|
|
60
|
+
export declare function addChart(book: EditBook, sheetName: string, chart: SheetChart): BookEdit;
|
|
61
|
+
/** A chart changed: what `patch` says, an undefined field taken away. */
|
|
62
|
+
export declare function setChart(book: EditBook, sheetName: string, index: number, patch: {
|
|
63
|
+
[K in keyof SheetChart]?: SheetChart[K] | undefined;
|
|
64
|
+
}): BookEdit;
|
|
65
|
+
/** A chart taken off its sheet. */
|
|
66
|
+
export declare function removeChart(book: EditBook, sheetName: string, index: number): BookEdit;
|
|
67
|
+
export {};
|
|
68
|
+
//# sourceMappingURL=arrange.d.ts.map
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { SheetFile } from "@allyhub/formats";
|
|
2
|
+
import type { BookEdit } from "../edit.js";
|
|
3
|
+
import type { GeneratedSheets } from "@allyhub/formats";
|
|
4
|
+
import { type CsvRows, type Workbook } from "../workbook.js";
|
|
5
|
+
import { Calc } from "./engine.js";
|
|
6
|
+
import type { Computed } from "./remote.js";
|
|
7
|
+
/** A changed cell as plain data, which crosses postMessage. */
|
|
8
|
+
export interface CellEdit {
|
|
9
|
+
/** The sheet's place in the workbook. */
|
|
10
|
+
sheet: number;
|
|
11
|
+
row: number;
|
|
12
|
+
col: number;
|
|
13
|
+
/** What it now holds, as typed; absent: empty. */
|
|
14
|
+
input?: string;
|
|
15
|
+
/** A table's calculated column whose formula it holds again. */
|
|
16
|
+
column?: {
|
|
17
|
+
table: string;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
/** sheet.yaml's key for it now; null: it has none. */
|
|
21
|
+
key?: string | null;
|
|
22
|
+
/** The CSV record of a table's row, now. */
|
|
23
|
+
record?: {
|
|
24
|
+
table: string;
|
|
25
|
+
index: number;
|
|
26
|
+
fields: string[];
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/** An edit's changed cells, as plain data. */
|
|
30
|
+
export declare function cellEditsOf(edit: BookEdit): CellEdit[];
|
|
31
|
+
/**
|
|
32
|
+
* Changed cells put in a model and computed, or, for a replica, put in to
|
|
33
|
+
* wait for what a calculation elsewhere computes: sheet.yaml's keys, a
|
|
34
|
+
* table's records, the format a value typed implies, and the cell itself.
|
|
35
|
+
*/
|
|
36
|
+
export declare function applyCellEdits(wb: Workbook, calc: Calc, cells: readonly CellEdit[], file?: SheetFile): void;
|
|
37
|
+
/** What a workbook is opened from. */
|
|
38
|
+
export interface Opening {
|
|
39
|
+
file: SheetFile;
|
|
40
|
+
rows: readonly (readonly [string, CsvRows])[];
|
|
41
|
+
/** What RAND is seeded with. */
|
|
42
|
+
seed: string;
|
|
43
|
+
generated?: GeneratedSheets;
|
|
44
|
+
/** The scenario on show. */
|
|
45
|
+
scenario?: string;
|
|
46
|
+
}
|
|
47
|
+
/** A model made from what its files say, computing or a replica. */
|
|
48
|
+
export declare function openWorkbook(o: Opening, mode?: {
|
|
49
|
+
report?: boolean;
|
|
50
|
+
replica?: boolean;
|
|
51
|
+
}): {
|
|
52
|
+
workbook: Workbook;
|
|
53
|
+
calc: Calc;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* What a calculation elsewhere is told. Each opening starts a generation;
|
|
57
|
+
* what is said of an earlier one is left unanswered, and its answers are
|
|
58
|
+
* dropped by the page.
|
|
59
|
+
*/
|
|
60
|
+
export type CalcRequest = ({
|
|
61
|
+
kind: "open";
|
|
62
|
+
generation: number;
|
|
63
|
+
} & Opening) | {
|
|
64
|
+
kind: "cells";
|
|
65
|
+
generation: number;
|
|
66
|
+
cells: CellEdit[];
|
|
67
|
+
file?: SheetFile;
|
|
68
|
+
} | {
|
|
69
|
+
kind: "recalculate";
|
|
70
|
+
generation: number;
|
|
71
|
+
};
|
|
72
|
+
export interface CalcReply {
|
|
73
|
+
generation: number;
|
|
74
|
+
computed: Computed;
|
|
75
|
+
}
|
|
76
|
+
/** The calculation a worker runs: a request in, what it computed out. */
|
|
77
|
+
export declare class CalcServer {
|
|
78
|
+
private model;
|
|
79
|
+
private generation;
|
|
80
|
+
handle(r: CalcRequest): CalcReply | undefined;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=server.d.ts.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type ChartDef, type ChartSvgOptions } from "@allyhub/chart";
|
|
2
|
+
import type { SheetChart, SheetChartType } from "@allyhub/formats";
|
|
3
|
+
import { type Area } from "./address.js";
|
|
4
|
+
import type { Calc } from "./calc/engine.js";
|
|
5
|
+
import type { Chart, Worksheet } from "./workbook.js";
|
|
6
|
+
/** What a chart is unless it says otherwise: Excel's new chart. */
|
|
7
|
+
export declare const SHEET_CHART_DEFAULTS: {
|
|
8
|
+
/** Pixels. */
|
|
9
|
+
readonly width: 480;
|
|
10
|
+
readonly height: 288;
|
|
11
|
+
/** Points. */
|
|
12
|
+
readonly size: 9;
|
|
13
|
+
readonly titleSize: 14;
|
|
14
|
+
readonly ink: "#595959";
|
|
15
|
+
/** Pixels to the point, at 96 to the inch. */
|
|
16
|
+
readonly pixelsToPoints: 0.75;
|
|
17
|
+
};
|
|
18
|
+
/** A chart as it is drawn now: what its cells compute, from the sheet it is on. */
|
|
19
|
+
export declare function chartDef(calc: Calc, sheet: Worksheet, chart: Chart): ChartDef;
|
|
20
|
+
/** A chart's size on the sheet, pixels. */
|
|
21
|
+
export declare const chartSize: (spec: SheetChart) => {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
};
|
|
25
|
+
export type { ChartSvgOptions };
|
|
26
|
+
/** A chart as an SVG of `width` × `height` pixels: the one drawing the grid, a PDF and a picture show. */
|
|
27
|
+
export declare const chartSvg: (def: ChartDef, width: number, height: number, o?: ChartSvgOptions) => string;
|
|
28
|
+
/** Every reference a chart holds through a change. */
|
|
29
|
+
export declare function chartAfter(chart: SheetChart, again: (text: string) => string): SheetChart;
|
|
30
|
+
export type NewChart = Pick<SheetChart, "type" | "categories" | "series" | "legend" | "title">;
|
|
31
|
+
/**
|
|
32
|
+
* What a chart of a range reads, as Excel's Insert Chart lays a selection
|
|
33
|
+
* out: a first row of text names the series, a first column of text or dates
|
|
34
|
+
* is the categories, and with more columns than rows each row is a series. A
|
|
35
|
+
* scatter's first column is its places across.
|
|
36
|
+
*/
|
|
37
|
+
export declare function chartOfRange(calc: Calc, sheet: Worksheet, from: Worksheet, area: Area, type: SheetChartType): NewChart | undefined;
|
|
38
|
+
/** The range a chart reads as one (Select Data's), when its pieces make one. */
|
|
39
|
+
export declare function chartDataRange(calc: Calc, sheet: Worksheet, chart: Chart): string | undefined;
|
|
40
|
+
/** A range typed in Select Data: its sheet and area. */
|
|
41
|
+
export declare function readDataRange(calc: Calc, sheet: Worksheet, text: string): {
|
|
42
|
+
sheet: Worksheet;
|
|
43
|
+
area: Area;
|
|
44
|
+
} | undefined;
|
|
45
|
+
/** Where a chart's top left is, in pixels from the sheet's, given each row's and column's start. */
|
|
46
|
+
export declare function chartPlace(spec: SheetChart, rowTop: (row: number) => number, columnLeft: (col: number) => number): {
|
|
47
|
+
left: number;
|
|
48
|
+
top: number;
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=chart.d.ts.map
|